diff --git a/README.md b/README.md index 5f28eee..69704a0 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ rmp-vast is used and maintained by [Radiant Media Player](https://www.radiantmed - [AdVerifications OM Web SDK](#adverifications-om-web-sdk) - [SIMID support (BETA)](#simid-support) - [VPAID support (DEPRECATED)](#vpaid-support) -- [HLS creatives support](#hls-creatives-support) +- [HLS creatives support (BETA)](#hls-creatives-support) - [Autoplay support](#autoplay-support) - [Fullscreen management](#fullscreen-management) - [Pre, mid and post rolls](#pre-mid-and-post-rolls) @@ -105,7 +105,8 @@ This example can be found live at https://www.radiantmediaplayer.com/rmp-vast/ap - Industry Icons (image/iframe/HTML) - VAST 4.2 Macros - AdVerifications (OM Web SDK) -- VPAID 1 and 2 JavaScript deprecated +- SIMID BETA +- VPAID 1 and 2 JavaScript DEPRECATED - Outstream ads - Ad Pods - Audio Ads (MP3/M4A/HLS where natively supported) in HTML5 video @@ -113,7 +114,6 @@ This example can be found live at https://www.radiantmediaplayer.com/rmp-vast/ap ### Currently unsupported features -- SIMID (PR welcome) - VMAP [Back to documentation sections](#documentation-sections) @@ -138,19 +138,19 @@ This example can be found live at https://www.radiantmediaplayer.com/rmp-vast/ap Desktop means Windows 7+, macOS 10.11+, Linux (latest LTS Ubuntu). -#### WebViews (mobile apps built with Ionic, Cordova) +#### WebViews (Ionic, Cordova, WebView) - Android 5+ - iOS 12+ (WKWebView) With the announcement of Apple in december 2019, to remove support for UIWebView API by end 2020, we only support WKWebView API for iOS apps built with Cordova, Ionic or WebView. [See this blog post](https://www.radiantmediaplayer.com/blog/updating-ios-apps-for-wkwebview.html) to help you update to WKWebView API. -#### Smart TV & OTT +#### Smart TV & OTT (Native web, Cordova or WebView) - Samsung Tizen 3+ apps - LG webOS 3+ apps - Electron 6+ apps -- Xbox One, Xbox Series S, Xbox Series X - UWP apps +- Android TV 9+ apps with Cordova or WebView - Fire TV apps (Web Apps and Hybrid Apps) with fireOS 6+ [Back to documentation sections](#documentation-sections) @@ -236,14 +236,14 @@ Once rmp-vast is loaded on your page you can create a new rmp-vast instance as f - `params.showControlsForVastPlayer: Boolean` Shows VAST player HTML5 default video controls. Default: false. - `params.vastXmlInput: Boolean` Instead of a VAST URI, we provide directly to rmp-vast VAST XML. Default: false. See test/spec/inlineLinearSpec/raw-xml-input.html for an example. - `params.enableSimid: Boolean` Enables SIMID support or not. This feature is currently in BETA. Default: false. - - `params.enableVpaid: Boolean` Enables VPAID support or not. Default: true. + - `params.enableVpaid: Boolean` Enables VPAID support or not. Default: true. DEPRECATED. - `params.vpaidSettings: Object` information required to properly display VPAID creatives - note that it is up to the parent application of rmp-vast to provide those informations - below values are default (see test/spec/vpaidSpec/ for examples): - `params.vpaidSettings.width: Number` Default: 640. - `params.vpaidSettings.height: Number` Default: 360. - `params.vpaidSettings.viewMode: String` Default: 'normal'. Can be 'fullscreen' as well. - `params.vpaidSettings.desiredBitrate: Number` Default: 500. In kbps. - - `params.useHlsJS: Boolean` Enables rendering of HLS creatives with hls.js in rmp-vast. Default: false. - - `params.debugHlsJS: Boolean` Enables debugging of HLS creatives with hls.js in rmp-vast. Default: false. + - `params.useHlsJS: Boolean` Enables rendering of HLS creatives with hls.js in rmp-vast. Default: false. BETA feature. + - `params.debugHlsJS: Boolean` Enables debugging of HLS creatives with hls.js in rmp-vast. Default: false. BETA feature. - `params.forceUseContentPlayerForAds: Boolean` Forces player to use content player for ads - on Apple devices we may have a need to set useContentPlayerForAds differently based on content playback type (native vs. MSE playback). Default: false. - `params.omidSupport: Boolean` Enables OMID (OM Web SDK) support in rmp-vast. Default: false. Refer to the [AdVerifications OM Web SDK](#adverifications-om-web-sdk) section for more information. - `params.omidAllowedVendors: Array` List of allowed vendors for ad verification. Vendors not listed will be rejected. Default: []. @@ -453,7 +453,7 @@ The following methods provide context information for the rmp-vast instance: ## Companion ads support We support StaticResource, IFrameResource and HTMLResource in Companion tags. -We also support AltText, CompanionClickThrough, CompanionClickTracking, TrackingEvents tags in Companion tags. We support "required" attribute for CompanionAds tag as well as "adSlotID" attribute for Companion tag. We also support CompanionAds in wrappers/redirects (The CompanionAds nearer to the final linear creative will be selected). +We also support AltText, CompanionClickThrough, CompanionClickTracking, TrackingEvents tags in Companion tags. We support "required" attribute for CompanionAds tag as well as "adSlotId" attribute for Companion tag. We also support CompanionAds in wrappers/redirects (The CompanionAds nearer to the final linear creative will be selected). See ./test/spec/companionSpec/ for examples of implementation. @@ -463,7 +463,7 @@ The following methods must be queried when the `adstarted` event fires for the m ```javascript { - adSlotID: "RMPSLOTID-1", + adSlotId: "RMPSLOTID-1", altText: "Radiant Media Player logo", companionClickThroughUrl: "https://www.radiantmediaplayer.com", companionClickTrackingUrl: "https://www.radiantmediaplayer.com/vast/tags/ping.gif?creativeType=companion&type=companionClickTracking", @@ -536,7 +536,8 @@ Current VPAID support limitations: ## HLS creatives support -This is a BETA feature, please open a GitHub issue if you spot anything. +### This is a BETA feature - open an issue for bugs and improvements + With rmp-vast 5.2.0 we now support linear creatives in HLS format on all supported devices for rmp-vast. This is made possible thanks to the [hls.js project](https://github.com/video-dev/hls.js). Make sure to add ./externals/hls/hls.min.js to your page and enable this feature with `useHlsJS: true` setting. See ./test/spec/inlineLinearSpec/hls-creative.html for an example. [Back to documentation sections](#documentation-sections) diff --git a/dist/rmp-vast.js b/dist/rmp-vast.js index d4ec46d..b91da90 100644 --- a/dist/rmp-vast.js +++ b/dist/rmp-vast.js @@ -516,6 +516,23 @@ module.exports = function (it) { }; +/***/ }), + +/***/ 1337: +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +var isPrototypeOf = __webpack_require__(7046); +var method = __webpack_require__(9335); + +var StringPrototype = String.prototype; + +module.exports = function (it) { + var own = it.padStart; + return typeof it == 'string' || it === StringPrototype + || (isPrototypeOf(StringPrototype, it) && own === StringPrototype.padStart) ? method : own; +}; + + /***/ }), /***/ 3993: @@ -842,6 +859,17 @@ var entryVirtual = __webpack_require__(5703); module.exports = entryVirtual('String').includes; +/***/ }), + +/***/ 9335: +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +__webpack_require__(2075); +var entryVirtual = __webpack_require__(5703); + +module.exports = entryVirtual('String').padStart; + + /***/ }), /***/ 3269: @@ -5048,6 +5076,84 @@ module.exports = { }; +/***/ }), + +/***/ 4887: +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +// https://github.com/zloirock/core-js/issues/280 +var userAgent = __webpack_require__(2861); + +module.exports = /Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(userAgent); + + +/***/ }), + +/***/ 6930: +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +// https://github.com/tc39/proposal-string-pad-start-end +var uncurryThis = __webpack_require__(5329); +var toLength = __webpack_require__(3057); +var toString = __webpack_require__(5803); +var $repeat = __webpack_require__(6178); +var requireObjectCoercible = __webpack_require__(8219); + +var repeat = uncurryThis($repeat); +var stringSlice = uncurryThis(''.slice); +var ceil = Math.ceil; + +// `String.prototype.{ padStart, padEnd }` methods implementation +var createMethod = function (IS_END) { + return function ($this, maxLength, fillString) { + var S = toString(requireObjectCoercible($this)); + var intMaxLength = toLength(maxLength); + var stringLength = S.length; + var fillStr = fillString === undefined ? ' ' : toString(fillString); + var fillLen, stringFiller; + if (intMaxLength <= stringLength || fillStr == '') return S; + fillLen = intMaxLength - stringLength; + stringFiller = repeat(fillStr, ceil(fillLen / fillStr.length)); + if (stringFiller.length > fillLen) stringFiller = stringSlice(stringFiller, 0, fillLen); + return IS_END ? S + stringFiller : stringFiller + S; + }; +}; + +module.exports = { + // `String.prototype.padStart` method + // https://tc39.es/ecma262/#sec-string.prototype.padstart + start: createMethod(false), + // `String.prototype.padEnd` method + // https://tc39.es/ecma262/#sec-string.prototype.padend + end: createMethod(true) +}; + + +/***/ }), + +/***/ 6178: +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var toIntegerOrInfinity = __webpack_require__(2435); +var toString = __webpack_require__(5803); +var requireObjectCoercible = __webpack_require__(8219); + +var $RangeError = RangeError; + +// `String.prototype.repeat` method implementation +// https://tc39.es/ecma262/#sec-string.prototype.repeat +module.exports = function repeat(count) { + var str = toString(requireObjectCoercible(this)); + var result = ''; + var n = toIntegerOrInfinity(count); + if (n < 0 || n == Infinity) throw $RangeError('Wrong number of repetitions'); + for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) result += str; + return result; +}; + + /***/ }), /***/ 3093: @@ -7498,6 +7604,26 @@ defineIterator(String, 'String', function (iterated) { }); +/***/ }), + +/***/ 2075: +/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + +var $ = __webpack_require__(6887); +var $padStart = (__webpack_require__(6930).start); +var WEBKIT_BUG = __webpack_require__(4887); + +// `String.prototype.padStart` method +// https://tc39.es/ecma262/#sec-string.prototype.padstart +$({ target: 'String', proto: true, forced: WEBKIT_BUG }, { + padStart: function padStart(maxLength /* , fillString = ' ' */) { + return $padStart(this, maxLength, arguments.length > 1 ? arguments[1] : undefined); + } +}); + + /***/ }), /***/ 4761: @@ -8487,6 +8613,16 @@ var parent = __webpack_require__(8287); module.exports = parent; +/***/ }), + +/***/ 8906: +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +var parent = __webpack_require__(1337); + +module.exports = parent; + + /***/ }), /***/ 2759: @@ -9196,6 +9332,13 @@ module.exports = __webpack_require__(1798); /***/ }), +/***/ 9982: +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +module.exports = __webpack_require__(8906); + +/***/ }), + /***/ 4282: /***/ (function(module, __unused_webpack_exports, __webpack_require__) { @@ -9946,7 +10089,7 @@ function fetch(input, init) { xhr.ontimeout = function() { setTimeout(function() { - reject(new TypeError('Network request failed')) + reject(new TypeError('Network request timed out')) }, 0) } @@ -10022,6 +10165,7 @@ if (!g.fetch) { g.Request = Request g.Response = Response } + }(); // This entry need to be wrapped in an IIFE because it need to be in strict mode. !function() { @@ -14428,8 +14572,8 @@ LINEAR.parse = function (icons, adParameters, mediaFiles) { } // check for AdParameters tag in case we have a VPAID creative this.adParametersData = ''; - if (adParameters !== null) { - this.adParametersData = adParameters; + if (adParameters && adParameters.value) { + this.adParametersData = adParameters.value; } var mediaFileItems = []; for (var i = 0; i < mediaFiles.length; i++) { @@ -15128,7 +15272,7 @@ var Utils = /*#__PURE__*/function () { omidRunValidationScript: false, omidAutoplay: false, partnerName: 'rmp-vast', - partnerVersion: "12.0.0" + partnerVersion: "13.0.0" }; this.params = defaultParams; if (inputParams && _typeof(inputParams) === 'object') { @@ -16079,14 +16223,13 @@ function createCompanionAd() { expandedWidth: creativeAttributes.expandedWidth || null, expandedHeight: creativeAttributes.expandedHeight || null, apiFramework: creativeAttributes.apiFramework || null, - adSlotID: creativeAttributes.adSlotID || null, + adSlotId: creativeAttributes.adSlotId || null, pxratio: creativeAttributes.pxratio || '1', renderingMode: creativeAttributes.renderingMode || 'default', staticResources: [], htmlResources: [], iframeResources: [], adParameters: null, - xmlEncoded: null, altText: null, companionClickThroughURLTemplate: null, companionClickTrackingURLTemplates: [], @@ -16136,6 +16279,9 @@ var trim_default = /*#__PURE__*/__webpack_require__.n(trim); // EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-names.js var get_own_property_names = __webpack_require__(3750); var get_own_property_names_default = /*#__PURE__*/__webpack_require__.n(get_own_property_names); +// EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs3/core-js-stable/instance/pad-start.js +var pad_start = __webpack_require__(9982); +var pad_start_default = /*#__PURE__*/__webpack_require__.n(pad_start); ;// CONCATENATED MODULE: ./src/assets/@dailymotion/vast-client/src/util/macros.js var supportedMacros = ['ADCATEGORIES', 'ADCOUNT', 'ADPLAYHEAD', 'ADSERVINGID', 'ADTYPE', 'APIFRAMEWORKS', 'APPBUNDLE', 'ASSETURI', 'BLOCKEDADCATEGORIES', 'BREAKMAXADLENGTH', 'BREAKMAXADS', 'BREAKMAXDURATION', 'BREAKMINADLENGTH', 'BREAKMINDURATION', 'BREAKPOSITION', 'CLICKPOS', 'CLICKTYPE', 'CLIENTUA', 'CONTENTID', 'CONTENTPLAYHEAD', // @deprecated VAST 4.1 @@ -16149,6 +16295,7 @@ var supportedMacros = ['ADCATEGORIES', 'ADCOUNT', 'ADPLAYHEAD', 'ADSERVINGID', ' + function track(URLTemplates, macros, options) { var URLs = resolveURLTemplates(URLTemplates, macros, options); URLs.forEach(function (URL) { @@ -16178,7 +16325,7 @@ function resolveURLTemplates(URLTemplates) { } // Calc random/time based macros - macros['CACHEBUSTING'] = leftpad(Math.round(Math.random() * 1.0e8).toString()); + macros['CACHEBUSTING'] = addLeadingZeros(Math.round(Math.random() * 1.0e8)); macros['TIMESTAMP'] = new Date().toISOString(); // RANDOM/random is not defined in VAST 3/4 as a valid macro tho it's used by some adServer (Auditude) @@ -16257,6 +16404,29 @@ function extractURLsFromTemplates(URLTemplates) { return URLTemplates; } +/** + * Filter URLTemplates elements to keep only valid and safe URL templates. + * To be valid, urls should: + * - have the same protocol as the client + * or + * - be protocol-relative urls + * + * @param {Array} URLTemplates - A Array of string/object containing urls templates. + */ +function filterValidUrlTemplates(URLTemplates) { + if (Array.isArray(URLTemplates)) { + return filter_default()(URLTemplates).call(URLTemplates, function (urlTemplate) { + var url = urlTemplate.hasOwnProperty('url') ? urlTemplate.url : urlTemplate; + return isValidUrl(url); + }); + } + return isValidUrl(URLTemplates); +} +function isValidUrl(url) { + var regex = /^(https?:\/\/|\/\/)/; + return regex.test(url); +} + /** * Returns a boolean after checking if the object exists in the array. * true - if the object exists, false otherwise @@ -16303,25 +16473,19 @@ function encodeURIComponentRFC3986(str) { return "%".concat(c.charCodeAt(0).toString(16)); }); } -function leftpad(input) { - var len = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 8; - var str = String(input); - if (str.length < len) { - var _context; - return map_default()(_context = range(0, len - str.length, false)).call(_context, function () { - return '0'; - }).join('') + str; - } - return str; -} -function range(left, right, inclusive) { - var result = []; - var ascending = left < right; - var end = !inclusive ? right : ascending ? right + 1 : right - 1; - for (var i = left; ascending ? i < end : i > end; ascending ? i++ : i--) { - result.push(i); - } - return result; + +/** + * Return a string of the input number with leading zeros defined by the length param + * + * @param {Number} input - number to convert + * @param {Number} length - length of the desired string + * + * @return {String} + */ +function addLeadingZeros(input) { + var _context; + var length = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 8; + return pad_start_default()(_context = input.toString()).call(_context, length, '0'); } function isNumeric(n) { return !isNaN(parse_float_default()(n)) && isFinite(n); @@ -16353,19 +16517,32 @@ function joinArrayOfUniqueTemplateObjs() { return res; }, []); } + +/** + * Check if a provided value is a valid time value according to the IAB definition + * Check if a provided value is a valid time value according to the IAB definition: Must be a positive number or -1. + * if not implemented by ad unit or -2 if value is unknown. + * @param {Number} time + * + * @return {Boolean} + */ +function isValidTimeValue(time) { + return Number.isFinite(time) && time >= -2; +} var util = { track: track, resolveURLTemplates: resolveURLTemplates, extractURLsFromTemplates: extractURLsFromTemplates, + filterValidUrlTemplates: filterValidUrlTemplates, containsTemplateObject: containsTemplateObject, isTemplateObjectEqual: isTemplateObjectEqual, encodeURIComponentRFC3986: encodeURIComponentRFC3986, replaceUrlMacros: replaceUrlMacros, - leftpad: leftpad, - range: range, isNumeric: isNumeric, flatten: flatten, - joinArrayOfUniqueTemplateObjs: joinArrayOfUniqueTemplateObjs + joinArrayOfUniqueTemplateObjs: joinArrayOfUniqueTemplateObjs, + isValidTimeValue: isValidTimeValue, + addLeadingZeros: addLeadingZeros }; ;// CONCATENATED MODULE: ./src/assets/@dailymotion/vast-client/src/parser/parser_utils.js @@ -16579,7 +16756,7 @@ function assignAttributes(attributes, verificationObject) { * @return {void} */ function mergeWrapperAdData(unwrappedAd, wrapper) { - var _context5, _context6, _context7, _context9; + var _context5, _context6, _context7, _context9, _wrapper$creatives; unwrappedAd.errorURLTemplates = concat_default()(_context5 = wrapper.errorURLTemplates).call(_context5, unwrappedAd.errorURLTemplates); unwrappedAd.impressionURLTemplates = concat_default()(_context6 = wrapper.impressionURLTemplates).call(_context6, unwrappedAd.impressionURLTemplates); unwrappedAd.extensions = concat_default()(_context7 = wrapper.extensions).call(_context7, unwrappedAd.extensions); @@ -16655,6 +16832,20 @@ function mergeWrapperAdData(unwrappedAd, wrapper) { var _context14; unwrappedAd.blockedAdCategories = concat_default()(_context14 = unwrappedAd.blockedAdCategories).call(_context14, wrapper.blockedAdCategories); } + + // Merge Wrapper's creatives containing icon elements + if ((_wrapper$creatives = wrapper.creatives) !== null && _wrapper$creatives !== void 0 && _wrapper$creatives.length) { + var _context15; + // As specified by VAST specs, wrapper should not contain any mediafiles + var wrapperCreativesWithIconsNode = filter_default()(_context15 = wrapper.creatives).call(_context15, function (creative) { + var _creative$icons; + return ((_creative$icons = creative.icons) === null || _creative$icons === void 0 ? void 0 : _creative$icons.length) && !creative.mediaFiles.length; + }); + if (wrapperCreativesWithIconsNode.length) { + var _context16; + unwrappedAd.creatives = concat_default()(_context16 = unwrappedAd.creatives).call(_context16, wrapperCreativesWithIconsNode); + } + } } var parserUtils = { childByName: childByName, @@ -16732,8 +16923,10 @@ function parseCreativeCompanion(creativeElement, creativeAttributes) { companionAd.companionClickThroughURLTemplate = parserUtils.parseNodeText(parserUtils.childByName(companionResource, 'CompanionClickThrough')) || null; var adParametersElement = parserUtils.childByName(companionResource, 'AdParameters'); if (adParametersElement) { - companionAd.adParameters = parserUtils.parseNodeText(adParametersElement); - companionAd.xmlEncoded = adParametersElement.getAttribute('xmlEncoded') || null; + companionAd.adParameters = { + value: parserUtils.parseNodeText(adParametersElement), + xmlEncoded: adParametersElement.getAttribute('xmlEncoded') || null + }; } return companionAd; }); @@ -16798,7 +16991,8 @@ function createIcon() { pxratio: '1', iconClickThroughURLTemplate: null, iconClickTrackingURLTemplates: [], - iconViewTrackingURLTemplate: null + iconViewTrackingURLTemplate: null, + iconClickFallbackImages: [] }; } ;// CONCATENATED MODULE: ./src/assets/@dailymotion/vast-client/src/interactive_creative_file.js @@ -16907,7 +17101,10 @@ function parseCreativeLinear(creativeElement, creativeAttributes) { } var adParamsElement = parserUtils.childByName(creativeElement, 'AdParameters'); if (adParamsElement) { - creative.adParameters = parserUtils.parseNodeText(adParamsElement); + creative.adParameters = { + value: parserUtils.parseNodeText(adParamsElement), + xmlEncoded: adParamsElement.getAttribute('xmlEncoded') || null + }; } parserUtils.childrenByName(creativeElement, 'TrackingEvents').forEach(function (trackingEventsElement) { parserUtils.childrenByName(trackingEventsElement, 'Tracking').forEach(function (trackingElement) { @@ -17052,6 +17249,16 @@ function parseIcon(iconElement) { url: parserUtils.parseNodeText(iconClickTrackingElement) }); }); + var iconClickFallbackImagesElement = parserUtils.childByName(iconClicksElement, 'IconClickFallbackImages'); + if (iconClickFallbackImagesElement) { + parserUtils.childrenByName(iconClickFallbackImagesElement, 'IconClickFallbackImage').forEach(function (iconClickFallbackImageElement) { + icon.iconClickFallbackImages.push({ + url: parserUtils.parseNodeText(iconClickFallbackImageElement) || null, + width: iconClickFallbackImageElement.getAttribute('width') || null, + height: iconClickFallbackImageElement.getAttribute('height') || null + }); + }); + } } icon.iconViewTrackingURLTemplate = parserUtils.parseNodeText(parserUtils.childByName(iconElement, 'IconViewTracking')); return icon; @@ -17200,7 +17407,10 @@ function parseCreativeNonLinear(creativeElement, creativeAttributes) { }); var adParamsElement = parserUtils.childByName(nonlinearResource, 'AdParameters'); if (adParamsElement) { - nonlinearAd.adParameters = parserUtils.parseNodeText(adParamsElement); + nonlinearAd.adParameters = { + value: parserUtils.parseNodeText(adParamsElement), + xmlEncoded: adParamsElement.getAttribute('xmlEncoded') || null + }; } nonlinearAd.nonlinearClickThroughURLTemplate = parserUtils.parseNodeText(parserUtils.childByName(nonlinearResource, 'NonLinearClickThrough')); parserUtils.childrenByName(nonlinearResource, 'NonLinearClickTracking').forEach(function (clickTrackingElement) { @@ -17610,6 +17820,7 @@ var parserVerification = { + /** * This module provides methods to parse a VAST Ad Element. */ @@ -17763,7 +17974,10 @@ function parseAdElement(adTypeElement, emit) { }; break; case 'Survey': - ad.survey = parserUtils.parseNodeText(node); + ad.survey = { + value: parserUtils.parseNodeText(node), + type: node.getAttribute('type') || null + }; break; case 'BlockedAdCategories': ad.blockedAdCategories.push({ @@ -17926,24 +18140,18 @@ function _parseAdVerificationsFromExtensions(extensions) { * @return {Object} viewableImpression - The viewableImpression object */ function _parseViewableImpression(viewableImpressionNode) { - var viewableImpression = {}; - viewableImpression.id = viewableImpressionNode.getAttribute('id') || null; - var viewableImpressionChildNodes = viewableImpressionNode.childNodes; - for (var viewableImpressionElementKey in viewableImpressionChildNodes) { - var viewableImpressionElement = viewableImpressionChildNodes[viewableImpressionElementKey]; - var viewableImpressionNodeName = viewableImpressionElement.nodeName; - var viewableImpressionNodeValue = parserUtils.parseNodeText(viewableImpressionElement); - if (viewableImpressionNodeName !== 'Viewable' && viewableImpressionNodeName !== 'NotViewable' && viewableImpressionNodeName !== 'ViewUndetermined' || !viewableImpressionNodeValue) { - continue; - } else { - var viewableImpressionNodeNameLower = viewableImpressionNodeName.toLowerCase(); - if (!Array.isArray(viewableImpression[viewableImpressionNodeNameLower])) { - viewableImpression[viewableImpressionNodeNameLower] = []; - } - viewableImpression[viewableImpressionNodeNameLower].push(viewableImpressionNodeValue); - } - } - return viewableImpression; + var _context4, _context5, _context6; + var regroupNodesUrl = function regroupNodesUrl(urls, node) { + var url = parserUtils.parseNodeText(node); + url && urls.push(url); + return urls; + }; + return { + id: viewableImpressionNode.getAttribute('id') || null, + viewable: reduce_default()(_context4 = parserUtils.childrenByName(viewableImpressionNode, 'Viewable')).call(_context4, regroupNodesUrl, []), + notViewable: reduce_default()(_context5 = parserUtils.childrenByName(viewableImpressionNode, 'NotViewable')).call(_context5, regroupNodesUrl, []), + viewUndetermined: reduce_default()(_context6 = parserUtils.childrenByName(viewableImpressionNode, 'ViewUndetermined')).call(_context6, regroupNodesUrl, []) + }; } ;// CONCATENATED MODULE: ./src/assets/@dailymotion/vast-client/src/util/event_emitter.js @@ -18017,7 +18225,7 @@ var EventEmitter = /*#__PURE__*/function () { * Synchronously calls each of the handlers registered for the named event, * in the order they were registered, passing the supplied arguments to each. * @param {String} event - * @param {any[]} args + * @param {...any} args list of arguments that will be used by the event handler * @returns {Boolean} true if the event had handlers, false otherwise. */ }, { @@ -18273,7 +18481,6 @@ var updateEstimatedBitrate = function updateEstimatedBitrate(byteLength, duratio - var DEFAULT_MAX_WRAPPER_DEPTH = 10; var DEFAULT_EVENT_DATA = { ERRORCODE: 900, @@ -18298,7 +18505,6 @@ var VASTParser = /*#__PURE__*/function (_EventEmitter) { _classCallCheck(this, VASTParser); _this = _super.call(this); _this.remainingAds = []; - _this.parentURLs = []; _this.errorURLTemplates = []; _this.rootErrorURLTemplates = []; _this.maxWrapperDepth = null; @@ -18414,7 +18620,6 @@ var VASTParser = /*#__PURE__*/function (_EventEmitter) { _this2.URLTemplateFilters.forEach(function (filter) { url = filter(url); }); - _this2.parentURLs.push(url); var timeBeforeGet = Date.now(); _this2.emit('VAST-resolving', { url: url, @@ -18459,7 +18664,6 @@ var VASTParser = /*#__PURE__*/function (_EventEmitter) { withCredentials: options.withCredentials }; this.maxWrapperDepth = options.wrapperLimit || DEFAULT_MAX_WRAPPER_DEPTH; - this.parentURLs = []; this.parsingOptions = { allowMultipleAds: options.allowMultipleAds }; @@ -18485,7 +18689,6 @@ var VASTParser = /*#__PURE__*/function (_EventEmitter) { } var ads = all ? util.flatten(this.remainingAds) : this.remainingAds.shift(); this.errorURLTemplates = []; - this.parentURLs = []; return this.resolveAds(ads, { wrapperDepth: 0, url: this.rootURL @@ -18768,7 +18971,7 @@ var VASTParser = /*#__PURE__*/function (_EventEmitter) { value: function resolveWrappers(ad, wrapperDepth, previousUrl) { var _this7 = this; return new (core_js_stable_promise_default())(function (resolve) { - var _context3, _this7$parsingOptions; + var _this7$parsingOptions; // Going one level deeper in the wrapper chain wrapperDepth++; // We already have a resolved VAST ad, no need to resolve wrapper @@ -18776,7 +18979,7 @@ var VASTParser = /*#__PURE__*/function (_EventEmitter) { delete ad.nextWrapperURL; return resolve(ad); } - if (wrapperDepth >= _this7.maxWrapperDepth || index_of_default()(_context3 = _this7.parentURLs).call(_context3, ad.nextWrapperURL) !== -1) { + if (wrapperDepth >= _this7.maxWrapperDepth) { // Wrapper limit reached, as defined by the video player. // Too many Wrapper responses have been received with no InLine response. ad.errorCode = 302; @@ -18850,8 +19053,8 @@ var VASTParser = /*#__PURE__*/function (_EventEmitter) { // but no creative was found var ad = vastResponse.ads[index]; if (ad.errorCode || ad.creatives.length === 0) { - var _context4, _context5; - this.trackVastError(concat_default()(_context4 = ad.errorURLTemplates).call(_context4, vastResponse.errorURLTemplates), { + var _context3, _context4; + this.trackVastError(concat_default()(_context3 = ad.errorURLTemplates).call(_context3, vastResponse.errorURLTemplates), { ERRORCODE: ad.errorCode || 303 }, { ERRORMESSAGE: ad.errorMessage || '' @@ -18860,7 +19063,7 @@ var VASTParser = /*#__PURE__*/function (_EventEmitter) { }, { system: ad.system }); - splice_default()(_context5 = vastResponse.ads).call(_context5, index, 1); + splice_default()(_context4 = vastResponse.ads).call(_context4, index, 1); } } } @@ -19407,8 +19610,8 @@ var RmpVast = /*#__PURE__*/function () { if (companion.altText) { newCompanionAds.altText = companion.altText; } - if (companion.adSlotID) { - newCompanionAds.adSlotID = companion.adSlotID; + if (companion.adSlotId) { + newCompanionAds.adSlotId = companion.adSlotId; } newCompanionAds.trackingEventsUrls = []; if (companion.trackingEvents && companion.trackingEvents.creativeView) { @@ -19483,16 +19686,16 @@ var RmpVast = /*#__PURE__*/function () { }); }); } - if (viewableImpression.notviewable.length > 0) { - viewableImpression.notviewable.forEach(function (url) { + if (viewableImpression.notViewable.length > 0) { + viewableImpression.notViewable.forEach(function (url) { _this7.trackingTags.push({ event: 'notviewable', url: url }); }); } - if (viewableImpression.viewundetermined.length > 0) { - viewableImpression.viewundetermined.forEach(function (url) { + if (viewableImpression.viewUndetermined.length > 0) { + viewableImpression.viewUndetermined.forEach(function (url) { _this7.trackingTags.push({ event: 'viewundetermined', url: url @@ -19668,9 +19871,11 @@ var RmpVast = /*#__PURE__*/function () { if (creative.interactiveCreativeFile && /simid/i.test(creative.interactiveCreativeFile.apiFramework) && /text\/html/i.test(creative.interactiveCreativeFile.type)) { _this8.creative.simid = { fileURL: creative.interactiveCreativeFile.fileURL, - variableDuration: creative.interactiveCreativeFile.variableDuration, - adParameters: creative.adParameters + variableDuration: creative.interactiveCreativeFile.variableDuration }; + if (creative.adParameters && creative.adParameters.value) { + _this8.creative.simid.adParameters = creative.adParameters.value; + } } _this8._addTrackingEvents(creative.trackingEvents); linear.parse.call(_this8, creative.icons, creative.adParameters, creative.mediaFiles); @@ -20237,7 +20442,10 @@ var RmpVast = /*#__PURE__*/function () { if (this.ad && this.ad.survey) { return this.ad.survey; } - return ''; + return { + value: '', + type: '' + }; } /** @@ -20526,7 +20734,7 @@ var RmpVast = /*#__PURE__*/function () { * @param {number} inputWidth * @param {number} inputHeight * @typedef {object} Companion - * @property {string} adSlotID + * @property {string} adSlotId * @property {string} altText * @property {string} companionClickThroughUrl * @property {string} companionClickTrackingUrl diff --git a/dist/rmp-vast.js.map b/dist/rmp-vast.js.map index 44c4d3e..691bf5a 100644 --- a/dist/rmp-vast.js.map +++ b/dist/rmp-vast.js.map @@ -1 +1 @@ -{"version":3,"file":"rmp-vast.js","mappings":";;;;;;AAAA,aAAa,mBAAO,CAAC,IAAyB;;AAE9C;;;;;;;;ACFA,aAAa,mBAAO,CAAC,IAA6B;;AAElD;;;;;;;;ACFA,aAAa,mBAAO,CAAC,IAA+B;;AAEpD;;;;;;;;ACFA,aAAa,mBAAO,CAAC,IAA4B;;AAEjD;;;;;;;;ACFA,aAAa,mBAAO,CAAC,IAAgC;;AAErD;;;;;;;;ACFA,aAAa,mBAAO,CAAC,IAA4B;;AAEjD;;;;;;;;ACFA,aAAa,mBAAO,CAAC,IAA+B;;AAEpD;;;;;;;;ACFA,aAAa,mBAAO,CAAC,IAA6B;;AAElD;;;;;;;;ACFA,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AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,qCAAqC;AAC/C;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA,UAAU,gBAAgB;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7CA,sBAAsB,mBAAO,CAAC,IAAgC;AAC9D,sBAAsB,mBAAO,CAAC,IAAgC;AAC9D,wBAAwB,mBAAO,CAAC,GAAmC;;AAEnE,sBAAsB,mBAAmB;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,WAAW,gBAAgB;AACjC;AACA,MAAM;AACN;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/BA,WAAW,mBAAO,CAAC,IAAoC;AACvD,kBAAkB,mBAAO,CAAC,IAAoC;AAC9D,oBAAoB,mBAAO,CAAC,IAA6B;AACzD,eAAe,mBAAO,CAAC,IAAwB;AAC/C,wBAAwB,mBAAO,CAAC,GAAmC;AACnE,yBAAyB,mBAAO,CAAC,IAAmC;;AAEpE;;AAEA,sBAAsB,kEAAkE;AACxF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,gBAAgB;AAC1B;AACA;AACA;AACA,4CAA4C;AAC5C;AACA,4CAA4C;AAC5C,4CAA4C;AAC5C,4CAA4C;AAC5C,4CAA4C;AAC5C,UAAU;AACV,4CAA4C;AAC5C,4CAA4C;AAC5C;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACxEa;AACb;AACA,YAAY,mBAAO,CAAC,IAA6B;AACjD,sBAAsB,mBAAO,CAAC,IAAgC;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iBAAiB,mBAAO,CAAC,IAA0B;AACnD,iBAAiB,mBAAO,CAAC,IAA0B;AACnD,sBAAsB,mBAAO,CAAC,IAAgC;;AAE9D;AACA;;AAEA;AACA,iDAAiD,mBAAmB;;AAEpE;AACA;AACA;AACA;AACA,IAAI,gBAAgB;AACpB;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC5Ba;AACb,aAAa,mBAAO,CAAC,IAA4B;AACjD,4BAA4B,mBAAO,CAAC,IAAuC;AAC3E,qBAAqB,mBAAO,CAAC,IAA+B;AAC5D,WAAW,mBAAO,CAAC,IAAoC;AACvD,iBAAiB,mBAAO,CAAC,IAA0B;AACnD,wBAAwB,mBAAO,CAAC,IAAmC;AACnE,cAAc,mBAAO,CAAC,IAAsB;AAC5C,qBAAqB,mBAAO,CAAC,IAA8B;AAC3D,6BAA6B,mBAAO,CAAC,IAAwC;AAC7E,iBAAiB,mBAAO,CAAC,IAA0B;AACnD,kBAAkB,mBAAO,CAAC,IAA0B;AACpD,cAAc,mCAAiD;AAC/D,0BAA0B,mBAAO,CAAC,IAA6B;;AAE/D;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,yEAAyE,gCAAgC;AACzG,KAAK;;AAEL;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gCAAgC,OAAO;AACvC;AACA;AACA;;AAEA;AACA,YAAY,UAAU;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,YAAY,UAAU;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV,OAAO;AACP,YAAY,UAAU;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,YAAY,SAAS;AACrB;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,UAAU,UAAU,aAAa,mCAAmC;AACpE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL,UAAU,UAAU;AACpB;AACA;AACA;AACA;AACA;;;;;;;;;AC9Ma;AACb,QAAQ,mBAAO,CAAC,IAAqB;AACrC,aAAa,mBAAO,CAAC,IAAqB;AAC1C,6BAA6B,mBAAO,CAAC,IAAgC;AACrE,YAAY,mBAAO,CAAC,IAAoB;AACxC,kCAAkC,mBAAO,CAAC,IAA6C;AACvF,cAAc,mBAAO,CAAC,IAAsB;AAC5C,iBAAiB,mBAAO,CAAC,IAA0B;AACnD,iBAAiB,mBAAO,CAAC,IAA0B;AACnD,eAAe,mBAAO,CAAC,GAAwB;AAC/C,qBAAqB,mBAAO,CAAC,GAAgC;AAC7D,qBAAqB,6BAAgD;AACrE,cAAc,mCAA+C;AAC7D,kBAAkB,mBAAO,CAAC,IAA0B;AACpD,0BAA0B,mBAAO,CAAC,IAA6B;;AAE/D;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,oEAAoE,2CAA2C;AAC/G;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA,OAAO;AAC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F,eAAe,mBAAO,CAAC,IAAwB;AAC/C,oBAAoB,mBAAO,CAAC,IAA6B;;AAEzD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,+BAA+B,MAAM,2BAA2B;AAChE;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,GAAG,KAAK,MAAM;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8CAA8C,eAAe;AAC7D,mBAAmB,0CAA0C;AAC7D,CAAC,sCAAsC;AACvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ,EAAE;;;;;;;;ACxDF;AACA,eAAe,mBAAO,CAAC,IAAwB;AAC/C,6BAA6B,mBAAO,CAAC,IAAuC;AAC5E,kBAAkB,mBAAO,CAAC,IAA4B;AACtD,iBAAiB,mBAAO,CAAC,IAA0B;AACnD,WAAW,mBAAO,CAAC,IAAmB;AACtC,4BAA4B,mBAAO,CAAC,IAAsC;AAC1E,gBAAgB,mBAAO,CAAC,IAAyB;;AAEjD;AACA;AACA;AACA;AACA;;AAEA,qCAAqC;;AAErC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,0BAA0B;AAC1B;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,gBAAgB;AACpB;AACA;AACA;AACA;AACA,kDAAkD;AAClD;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;;;;;;;;AClFA,kBAAkB,mBAAO,CAAC,IAA0B;AACpD,8BAA8B,mBAAO,CAAC,IAAsC;AAC5E,2BAA2B,mBAAO,CAAC,IAAqC;AACxE,eAAe,mBAAO,CAAC,IAAwB;AAC/C,sBAAsB,mBAAO,CAAC,IAA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A;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;ACnHA,0BAA0B,mBAAO,CAAC,IAAqC;;AAEvE;AACA;;AAEA;AACA;AACA,6DAA6D;AAC7D;AACA;AACA;AACA;;;;;;;;ACXA;AACA,oBAAoB,mBAAO,CAAC,IAA6B;AACzD,6BAA6B,mBAAO,CAAC,IAAuC;;AAE5E;AACA;AACA;;;;;;;;ACNA,YAAY,mBAAO,CAAC,IAAyB;;AAE7C;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACRA,0BAA0B,mBAAO,CAAC,IAAqC;;AAEvE;;AAEA;AACA;AACA;AACA,kFAAkF;AAClF;;;;;;;;ACRA,6BAA6B,mBAAO,CAAC,IAAuC;;AAE5E;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;ACRA,WAAW,mBAAO,CAAC,IAA4B;AAC/C,eAAe,mBAAO,CAAC,GAAwB;AAC/C,eAAe,mBAAO,CAAC,IAAwB;AAC/C,gBAAgB,mBAAO,CAAC,IAAyB;AACjD,0BAA0B,mBAAO,CAAC,IAAoC;AACtE,sBAAsB,mBAAO,CAAC,IAAgC;;AAE9D;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A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7D,iBAAiB,mBAAO,CAAC,IAA0B;AACnD,gBAAgB,mBAAO,CAAC,IAAyB;AACjD,iBAAiB,mBAAO,CAAC,IAA0B;AACnD,eAAe,mBAAO,CAAC,GAAwB;AAC/C,iBAAiB,mBAAO,CAAC,IAA0B;AACnD,yBAAyB,mBAAO,CAAC,GAAkC;AACnE,WAAW,+BAAgC;AAC3C,gBAAgB,mBAAO,CAAC,IAAwB;AAChD,uBAAuB,mBAAO,CAAC,IAAiC;AAChE,cAAc,mBAAO,CAAC,CAAsB;AAC5C,YAAY,mBAAO,CAAC,IAAoB;AACxC,0BAA0B,mBAAO,CAAC,IAA6B;AAC/D,+BAA+B,mBAAO,CAAC,IAAyC;AAChF,kCAAkC,mBAAO,CAAC,IAA4C;AACtF,iCAAiC,mBAAO,CAAC,IAAqC;;AAE9E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCAAiC;AACjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA,QAAQ;AACR,MAAM;AACN,IAAI;AACJ;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,eAAe;AACnB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV,OAAO;AACP;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA,OAAO;AACP,MAAM;AACN;AACA;AACA;AACA;AACA,IAAI;AACJ,qBAAqB,aAAa;AAClC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA,OAAO,IAAI,cAAc;AACzB;;AAEA;AACA;AACA;AACA,MAAM,gBAAgB;;AAEtB;AACA;AACA;AACA;AACA;AACA;;AAEA,IAAI,iFAAiF;AACrF;AACA,CAAC;;AAED;AACA;;;;;;;;;AC/Ra;AACb,QAAQ,mBAAO,CAAC,IAAqB;AACrC,cAAc,mBAAO,CAAC,IAAsB;AAC5C,+BAA+B,mBAAO,CAAC,IAAyC;AAChF,YAAY,mBAAO,CAAC,IAAoB;AACxC,iBAAiB,mBAAO,CAAC,GAA2B;AACpD,iBAAiB,mBAAO,CAAC,IAA0B;AACnD,yBAAyB,mBAAO,CAAC,GAAkC;AACnE,qBAAqB,mBAAO,CAAC,IAA8B;AAC3D,oBAAoB,mBAAO,CAAC,IAA8B;;AAE1D;;AAEA;AACA;AACA;AACA,2CAA2C,oBAAoB,eAAe,gBAAgB,aAAa;AAC3G,CAAC;;AAED;AACA;AACA,IAAI,iEAAiE;AACrE;AACA;AACA;AACA;AACA;AACA,iEAAiE,WAAW;AAC5E,QAAQ;AACR;AACA,iEAAiE,UAAU;AAC3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aAAa,kBAAkB,MAAM,qBAAqB;AAC1lY;AACA,sDAAe,uBAAuB,EAAC;;;;;;;;;ACP1B;;AAEb;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,qDAAqD;AACrD;AACA;AACA,gDAAgD;AAChD;AACA;AACA,qFAAqF;AACrF;AACA;AACA;AACA,qBAAqB;AACrB;AACA;AACA,qBAAqB;AACrB;AACA;AACA,qBAAqB;AACrB;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sBAAsB,iBAAiB;AACvC;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,qBAAqB;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV,sFAAsF,qBAAqB;AAC3G;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV,iDAAiD,qBAAqB;AACtE;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV,sDAAsD,qBAAqB;AAC3E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpFa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uDAAuD,cAAc;AACrE;AACA;AACA;AACA;AACA;;;;;;;;ACfa;;AAEb;AACA;AACA;AACA,kBAAkB,wBAAwB;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB,iBAAiB;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB,4BAA4B;AAChD;AACA;AACA;AACA;AACA;AACA,qBAAqB,6BAA6B;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACnFa;;AAEb;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACjCa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACTa;;AAEb;AACA;AACA,cAAc,KAAwC,GAAG,sBAAiB,GAAG,CAAI;AACjF;AACA;AACA;AACA;AACA;;;;;;;;ACTa;;AAEb;AACA;AACA;AACA;AACA,kDAAkD;AAClD;AACA;AACA,0CAA0C;AAC1C;AACA;AACA;AACA,iFAAiF;AACjF;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,aAAa;AACb;AACA;AACA,aAAa;AACb;AACA;AACA;AACA,yDAAyD;AACzD;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,kCAAkC;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5Da;;AAEb;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACbA,0CAA0D;;;;;;;ACA1D,0CAA+D;;;;;;;ACA/D,0CAA+D;;;;;;;ACA/D,0CAA6D;;;;;;;ACA7D,0CAAiE;;;;;;;ACAjE,0CAAiE;;;;;;;ACAjE,0CAA6D;;;;;;;ACA7D,0CAAsE;;;;;;;ACAtE,0CAA4D;;;;;;;ACA5D,0CAA+D;;;;;;;ACA/D,0CAA8D;;;;;;;ACA9D,0CAA6D;;;;;;;ACA7D,0CAA+D;;;;;;;ACA/D,0CAAoE;;;;;;;ACApE,0CAA6D;;;;;;;ACA7D,0CAA8D;;;;;;;ACA9D,0CAAmD;;;;;;;ACAnD,0CAA6D;;;;;;;ACA7D,0CAA6E;;;;;;;ACA7E,0CAA2D;;;;;;;ACA3D,0CAA6D;;;;;;;ACA7D,0CAA2D;;;;;;;ACA3D,0CAAyD;;;;;;;ACAzD,0CAAuD;;;;;;UCAvD;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;WCtBA;WACA;WACA;WACA,eAAe,4BAA4B;WAC3C,eAAe;WACf,iCAAiC,WAAW;WAC5C;WACA;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA;;;;;WCPA;WACA;WACA;WACA;WACA,GAAG;WACH;WACA;WACA,CAAC;;;;;WCPD,8CAA8C;;;;;WCA9C;;;;;;;;;;ACAA;AACA;AACA;AACA;AACA;AACA,UAAU,qBAAM,oBAAoB,qBAAM;AAC1C;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEO;AACP;;AAEA;AACA;AACA;AACA,KAAK;AACL,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,IAAI;AACJ;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,kBAAkB,iBAAiB;AACnC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA,MAAM;AACN;AACA,MAAM;AACN;AACA,MAAM;AACN;AACA,MAAM;AACN;AACA;AACA;AACA,MAAM;AACN;AACA,MAAM;AACN;AACA;;AAEA;AACA;AACA,qDAAqD;AACrD,QAAQ;AACR;AACA,QAAQ;AACR,4EAA4E;AAC5E;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,QAAQ;AACR;AACA,QAAQ;AACR;AACA,QAAQ;AACR;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA,MAAM;AACN;AACA,MAAM;AACN;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,MAAM;AACN;AACA,MAAM;AACN;AACA,MAAM;AACN;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEO;AACP;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,4BAA4B,qBAAqB;AACjD;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;;AAEO;AACP;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA,qCAAqC,4BAA4B;AACjE;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA,6BAA6B,0BAA0B,eAAe;AACtE;;AAEO;AACP;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEO;AACP;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;;AAEA;;AAEA;AACA;AACA,MAAM;AACN;AACA;;AAEA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA,OAAO;AACP,MAAM;AACN;AACA;AACA,OAAO;AACP;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;AACH;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA,C;;;;;;;;;;;;;;;;AChoB4D;AACY;AACzD;AACf;;AAEA,wCAAwC,MAAO,uBAAuB,QAAgB;AACtF;AACA,IAAI;AACJ,qCAAqC,MAAO,sBAAsB,MAAO,UAAU,gBAAiB;AACpG,GAAG;AACH;;;;;;;;;;;;;;;;;;;;ACVkC;AACmD;AACzB;AACQ;AACkB;AACJ;AACP;AACW;AACxB;AACmB;AACJ;AAC9D;AACf,gBAAgB;AAChB;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA,QAAQ,eAAsB;AAC9B;AACA,KAAK;AACL,6BAA6B,MAAO,GAAG,MAAO,KAAK;AACnD;AACA;AACA;AACA;AACA,WAAW,eAAsB;AACjC;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,aAAa;AACb,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,MAAc;AACxB;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,UAAU,gBAAsB;AAChC;AACA;AACA,uEAAuE,MAAc;AACrF;AACA;AACA,IAAI,QAAwB;AAC5B;AACA;AACA,OAAO;AACP,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gCAAgC,OAAO;AACvC;AACA,SAAS;AACT;AACA,SAAS;AACT;AACA,SAAS;AACT;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oCAAoC;AACpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0DAA0D;AAC1D;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uFAAuF,IAAqB;AAC5G;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK,GAAG,QAAwB;AAChC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,eAAe;AAClC;AACA;AACA;AACA;AACA;AACA,wBAAwB,OAAO;AAC/B;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH,WAAW,gBAAsB,GAAG,gBAAsB,+HAA+H,MAAc;AACvM,GAAG;AACH;AACA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH,yBAAyB,OAAQ;AACjC;AACA;AACA;AACA,KAAK;AACL,GAAG;AACH;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;AACA,qBAAqB,IAAqB;AAC1C,WAAW,OAAwB;AACnC,aAAa,SAAS;AACtB;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,8IAA8I,QAAwB,wIAAwI,KAAsB;AACpU,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,+CAA+C,QAAQ;AACvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,+CAA+C,QAAQ;AACvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,KAAK;AACL;AACA,+CAA+C,QAAQ;AACvD;AACA;AACA;AACA,KAAK;AACL;AACA,+CAA+C,QAAQ;AACvD;AACA;AACA;AACA;AAC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AAM;MACf;;MAEA;MACA;MACA,IAAI,OAAOrf,SAAS,CAACif,UAAU,KAAK,WAAW,EAAE;QAC/C,OAAO;UACLK,QAAQ,EAAE,CAAC,CAAC;UACZC,cAAc,EAAE;QAClB,CAAC;MACH;;MAEA;MACA,OAAO;QACLD,QAAQ,EAAE,IAAI,CAACJ,qBAAqB,CAAC,CAAC;QACtCK,cAAc,EAAE,IAAI,CAACP,kBAAkB,CAAC;MAC1C,CAAC;IACH;EAAC;EAAA,OAAAD,aAAA;AAAA;;;AC/GkE;AACtD;AACf,MAAM,QAAc;AACpB;;ACH4D;AACkB;AACH;AAC5D;AACf,mDAAmD,MAAO,IAAI,mBAAkB;AAChF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ,YAAY,gCAAgC,IAAqB,uCAAuC;AAChH,MAAM;AACN;AACA,MAAM;AACN;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;;AC7Be;AACf;AACA;;ACFiD;AACY;AACY;AACtB;AACpC;AACf,SAAS,eAAc,SAAS,qBAAoB,YAAY,2BAA0B,YAAY,gBAAe;AACrH;;ACN4D;AACkB;AACT;AACI;AAC1D;AACf,kBAAkB,MAAO,oBAAoB,mBAAkB;AAC/D;AACA,QAAQ,QAAc,aAAa,2BAA0B;AAC7D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACtDA;AACA;AACA;AACA;AACA;AACoC;AACpC;;AAEA,IAAMU,eAAe,GAAG;EACtBC,cAAc,EAAE,eAAe;EAC/BC,OAAO,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X,IAAI,IAAI,CAAC7R,SAAS,IAAI,IAAI,CAAC2J,OAAO,EAAE;QAClCmD,KAAK,CAAC+E,UAAU,CAAC9a,IAAI,CAAC,IAAI,CAAC;MAC7B;IACF;;IAEA;AACF;AACA;EAFE;IAAAb,GAAA;IAAAC,KAAA,EAGA,SAAAyX,cAAA,EAAgB;MACd,IAAI,IAAI,CAAC5N,SAAS,IAAI,IAAI,CAAC2J,OAAO,EAAE;QAClCmD,KAAK,CAACc,aAAa,CAAC7W,IAAI,CAAC,IAAI,CAAC;MAChC;MACA,OAAO,KAAK;IACd;;IAEA;AACF;AACA;EAFE;IAAAb,GAAA;IAAAC,KAAA,EAGA,SAAA6oD,qBAAA,EAAuB;MACrB,IAAI,IAAI,CAACh/C,SAAS,IAAI,IAAI,CAAC2J,OAAO,EAAE;QAClCmD,KAAK,CAACiB,eAAe,CAAChX,IAAI,CAAC,IAAI,CAAC;MAClC;MACA,OAAO,EAAE;IACX;EAAC;EAAA,OAAAkgD,OAAA;AAAA","sources":["webpack://RmpVast/./node_modules/core-js-pure/actual/array/from.js","webpack://RmpVast/./node_modules/core-js-pure/actual/array/is-array.js","webpack://RmpVast/./node_modules/core-js-pure/actual/get-iterator-method.js","webpack://RmpVast/./node_modules/core-js-pure/actual/instance/bind.js","webpack://RmpVast/./node_modules/core-js-pure/actual/instance/for-each.js","webpack://RmpVast/./node_modules/core-js-pure/actual/instance/push.js","webpack://RmpVast/./node_modules/core-js-pure/actual/instance/reverse.js","webpack://RmpVast/./node_modules/core-js-pure/actual/instance/slice.js","webpack://RmpVast/./node_modules/core-js-pure/actual/object/create.js","webpack://RmpVast/./node_modules/core-js-pure/actual/object/define-property.js","webpack://RmpVast/./node_modules/core-js-pure/actual/object/get-prototype-of.js","webpack://RmpVast/./node_modules/core-js-pure/actual/object/set-prototype-of.js","webpack://RmpVast/./node_modules/core-js-pure/actual/promise/index.js","webpack://RmpVast/./node_modules/core-js-pure/actual/reflect/construct.js","webpack://RmpVast/./node_modules/core-js-pure/actual/symbol/index.js","webpack://RmpVast/./node_modules/core-js-pure/actual/symbol/iterator.js","webpack://RmpVast/./node_modules/core-js-pure/actual/symbol/to-primitive.js","webpack://RmpVast/./node_modules/core-js-pure/es/array/from.js","webpack://RmpVast/./node_modules/core-js-pure/es/array/is-array.js","webpack://RmpVast/./node_modules/core-js-pure/es/array/virtual/concat.js","webpack://RmpVast/./node_modules/core-js-pure/es/array/virtual/filter.js","webpack://RmpVast/./node_modules/core-js-pure/es/array/virtual/find.js","webpack://RmpVast/./node_modules/core-js-pure/es/array/virtual/for-each.js","webpack://RmpVast/./node_modules/core-js-pure/es/array/virtual/includes.js","webpack://RmpVast/./node_modules/core-js-pure/es/array/virtual/index-of.js","webpack://RmpVast/./node_modules/core-js-pure/es/array/virtual/keys.js","webpack://RmpVast/./node_modules/core-js-pure/es/array/virtual/last-index-of.js","webpack://RmpVast/./node_modules/core-js-pure/es/array/virtual/map.js","webpack://RmpVast/./node_modules/core-js-pure/es/array/virtual/push.js","webpack://RmpVast/./node_modules/core-js-pure/es/array/virtual/reduce.js","webpack://RmpVast/./node_modules/core-js-pure/es/array/virtual/reverse.js","webpack://RmpVast/./node_modules/core-js-pure/es/array/virtual/slice.js","webpack://RmpVast/./node_modules/core-js-pure/es/array/virtual/sort.js","webpack://RmpVast/./node_modules/core-js-pure/es/array/virtual/splice.js","webpack://RmpVast/./node_modules/core-js-pure/es/function/virtual/bind.js","webpack://RmpVast/./node_modules/core-js-pure/es/get-iterator-method.js","webpack://RmpVast/./node_modules/core-js-pure/es/instance/bind.js","webpack://RmpVast/./node_modules/core-js-pure/es/instance/concat.js","webpack://RmpVast/./node_modules/core-js-pure/es/instance/filter.js","webpack://RmpVast/./node_modules/core-js-pure/es/instance/find.js","webpack://RmpVast/./node_modules/core-js-pure/es/instance/includes.js","webpack://RmpVast/./node_modules/core-js-pure/es/instance/index-of.js","webpack://RmpVast/./node_modules/core-js-pure/es/instance/last-index-of.js","webpack://RmpVast/./node_modules/core-js-pure/es/instance/map.js","webpack://RmpVast/./node_modules/core-js-pure/es/instance/push.js","webpack://RmpVast/./node_modules/core-js-pure/es/instance/reduce.js","webpack://RmpVast/./node_modules/core-js-pure/es/instance/reverse.js","webpack://RmpVast/./node_modules/core-js-pure/es/instance/slice.js","webpack://RmpVast/./node_modules/core-js-pure/es/instance/sort.js","webpack://RmpVast/./node_modules/core-js-pure/es/instance/splice.js","webpack://RmpVast/./node_modules/core-js-pure/es/instance/starts-with.js","webpack://RmpVast/./node_modules/core-js-pure/es/instance/trim.js","webpack://RmpVast/./node_modules/core-js-pure/es/json/stringify.js","webpack://RmpVast/./node_modules/core-js-pure/es/map/index.js","webpack://RmpVast/./node_modules/core-js-pure/es/object/assign.js","webpack://RmpVast/./node_modules/core-js-pure/es/object/create.js","webpack://RmpVast/./node_modules/core-js-pure/es/object/define-property.js","webpack://RmpVast/./node_modules/core-js-pure/es/object/get-own-property-names.js","webpack://RmpVast/./node_modules/core-js-pure/es/object/get-prototype-of.js","webpack://RmpVast/./node_modules/core-js-pure/es/object/keys.js","webpack://RmpVast/./node_modules/core-js-pure/es/object/set-prototype-of.js","webpack://RmpVast/./node_modules/core-js-pure/es/object/values.js","webpack://RmpVast/./node_modules/core-js-pure/es/parse-float.js","webpack://RmpVast/./node_modules/core-js-pure/es/parse-int.js","webpack://RmpVast/./node_modules/core-js-pure/es/promise/index.js","webpack://RmpVast/./node_modules/core-js-pure/es/reflect/construct.js","webpack://RmpVast/./node_modules/core-js-pure/es/string/virtual/includes.js","webpack://RmpVast/./node_modules/core-js-pure/es/string/virtual/starts-with.js","webpack://RmpVast/./node_modules/core-js-pure/es/string/virtual/trim.js","webpack://RmpVast/./node_modules/core-js-pure/es/symbol/index.js","webpack://RmpVast/./node_modules/core-js-pure/es/symbol/iterator.js","webpack://RmpVast/./node_modules/core-js-pure/es/symbol/to-primitive.js","webpack://RmpVast/./node_modules/core-js-pure/full/array/from.js","webpack://RmpVast/./node_modules/core-js-pure/full/array/is-array.js","webpack://RmpVast/./node_modules/core-js-pure/full/get-iterator-method.js","webpack://RmpVast/./node_modules/core-js-pure/full/instance/bind.js","webpack://RmpVast/./node_modules/core-js-pure/full/instance/for-each.js","webpack://RmpVast/./node_modules/core-js-pure/full/instance/push.js","webpack://RmpVast/./node_modules/core-js-pure/full/instance/reverse.js","webpack://RmpVast/./node_modules/core-js-pure/full/instance/slice.js","webpack://RmpVast/./node_modules/core-js-pure/full/object/create.js","webpack://RmpVast/./node_modules/core-js-pure/full/object/define-property.js","webpack://RmpVast/./node_modules/core-js-pure/full/object/get-prototype-of.js","webpack://RmpVast/./node_modules/core-js-pure/full/object/set-prototype-of.js","webpack://RmpVast/./node_modules/core-js-pure/full/promise/index.js","webpack://RmpVast/./node_modules/core-js-pure/full/reflect/construct.js","webpack://RmpVast/./node_modules/core-js-pure/full/symbol/index.js","webpack://RmpVast/./node_modules/core-js-pure/full/symbol/iterator.js","webpack://RmpVast/./node_modules/core-js-pure/full/symbol/to-primitive.js","webpack://RmpVast/./node_modules/core-js-pure/internals/a-callable.js","webpack://RmpVast/./node_modules/core-js-pure/internals/a-constructor.js","webpack://RmpVast/./node_modules/core-js-pure/internals/a-possible-prototype.js","webpack://RmpVast/./node_modules/core-js-pure/internals/add-to-unscopables.js","webpack://RmpVast/./node_modules/core-js-pure/internals/an-instance.js","webpack://RmpVast/./node_modules/core-js-pure/internals/an-object.js","webpack://RmpVast/./node_modules/core-js-pure/internals/array-buffer-non-extensible.js","webpack://RmpVast/./node_modules/core-js-pure/internals/array-for-each.js","webpack://RmpVast/./node_modules/core-js-pure/internals/array-from.js","webpack://RmpVast/./node_modules/core-js-pure/internals/array-includes.js","webpack://RmpVast/./node_modules/core-js-pure/internals/array-iteration.js","webpack://RmpVast/./node_modules/core-js-pure/internals/array-last-index-of.js","webpack://RmpVast/./node_modules/core-js-pure/internals/array-method-has-species-support.js","webpack://RmpVast/./node_modules/core-js-pure/internals/array-method-is-strict.js","webpack://RmpVast/./node_modules/core-js-pure/internals/array-reduce.js","webpack://RmpVast/./node_modules/core-js-pure/internals/array-set-length.js","webpack://RmpVast/./node_modules/core-js-pure/internals/array-slice-simple.js","webpack://RmpVast/./node_modules/core-js-pure/internals/array-slice.js","webpack://RmpVast/./node_modules/core-js-pure/internals/array-sort.js","webpack://RmpVast/./node_modules/core-js-pure/internals/array-species-constructor.js","webpack://RmpVast/./node_modules/core-js-pure/internals/array-species-create.js","webpack://RmpVast/./node_modules/core-js-pure/internals/call-with-safe-iteration-closing.js","webpack://RmpVast/./node_modules/core-js-pure/internals/check-correctness-of-iteration.js","webpack://RmpVast/./node_modules/core-js-pure/internals/classof-raw.js","webpack://RmpVast/./node_modules/core-js-pure/internals/classof.js","webpack://RmpVast/./node_modules/core-js-pure/internals/collection-strong.js","webpack://RmpVast/./node_modules/core-js-pure/internals/collection.js","webpack://RmpVast/./node_modules/core-js-pure/internals/copy-constructor-properties.js","webpack://RmpVast/./node_modules/core-js-pure/internals/correct-is-regexp-logic.js","webpack://RmpVast/./node_modules/core-js-pure/internals/correct-prototype-getter.js","webpack://RmpVast/./node_modules/core-js-pure/internals/create-iter-result-object.js","webpack://RmpVast/./node_modules/core-js-pure/internals/create-non-enumerable-property.js","webpack://RmpVast/./node_modules/core-js-pure/internals/create-property-descriptor.js","webpack://RmpVast/./node_modules/core-js-pure/internals/create-property.js","webpack://RmpVast/./node_modules/core-js-pure/internals/define-built-in-accessor.js","webpack://RmpVast/./node_modules/core-js-pure/internals/define-built-in.js","webpack://RmpVast/./node_modules/core-js-pure/internals/define-built-ins.js","webpack://RmpVast/./node_modules/core-js-pure/internals/define-global-property.js","webpack://RmpVast/./node_modules/core-js-pure/internals/delete-property-or-throw.js","webpack://RmpVast/./node_modules/core-js-pure/internals/descriptors.js","webpack://RmpVast/./node_modules/core-js-pure/internals/document-all.js","webpack://RmpVast/./node_modules/core-js-pure/internals/document-create-element.js","webpack://RmpVast/./node_modules/core-js-pure/internals/does-not-exceed-safe-integer.js","webpack://RmpVast/./node_modules/core-js-pure/internals/dom-iterables.js","webpack://RmpVast/./node_modules/core-js-pure/internals/engine-ff-version.js","webpack://RmpVast/./node_modules/core-js-pure/internals/engine-is-browser.js","webpack://RmpVast/./node_modules/core-js-pure/internals/engine-is-deno.js","webpack://RmpVast/./node_modules/core-js-pure/internals/engine-is-ie-or-edge.js","webpack://RmpVast/./node_modules/core-js-pure/internals/engine-is-ios-pebble.js","webpack://RmpVast/./node_modules/core-js-pure/internals/engine-is-ios.js","webpack://RmpVast/./node_modules/core-js-pure/internals/engine-is-node.js","webpack://RmpVast/./node_modules/core-js-pure/internals/engine-is-webos-webkit.js","webpack://RmpVast/./node_modules/core-js-pure/internals/engine-user-agent.js","webpack://RmpVast/./node_modules/core-js-pure/internals/engine-v8-version.js","webpack://RmpVast/./node_modules/core-js-pure/internals/engine-webkit-version.js","webpack://RmpVast/./node_modules/core-js-pure/internals/entry-virtual.js","webpack://RmpVast/./node_modules/core-js-pure/internals/enum-bug-keys.js","webpack://RmpVast/./node_modules/core-js-pure/internals/error-stack-clear.js","webpack://RmpVast/./node_modules/core-js-pure/internals/error-stack-install.js","webpack://RmpVast/./node_modules/core-js-pure/internals/error-stack-installable.js","webpack://RmpVast/./node_modules/core-js-pure/internals/export.js","webpack://RmpVast/./node_modules/core-js-pure/internals/fails.js","webpack://RmpVast/./node_modules/core-js-pure/internals/freezing.js","webpack://RmpVast/./node_modules/core-js-pure/internals/function-apply.js","webpack://RmpVast/./node_modules/core-js-pure/internals/function-bind-context.js","webpack://RmpVast/./node_modules/core-js-pure/internals/function-bind-native.js","webpack://RmpVast/./node_modules/core-js-pure/internals/function-bind.js","webpack://RmpVast/./node_modules/core-js-pure/internals/function-call.js","webpack://RmpVast/./node_modules/core-js-pure/internals/function-name.js","webpack://RmpVast/./node_modules/core-js-pure/internals/function-uncurry-this-accessor.js","webpack://RmpVast/./node_modules/core-js-pure/internals/function-uncurry-this-clause.js","webpack://RmpVast/./node_modules/core-js-pure/internals/function-uncurry-this.js","webpack://RmpVast/./node_modules/core-js-pure/internals/get-built-in.js","webpack://RmpVast/./node_modules/core-js-pure/internals/get-iterator-method.js","webpack://RmpVast/./node_modules/core-js-pure/internals/get-iterator.js","webpack://RmpVast/./node_modules/core-js-pure/internals/get-json-replacer-function.js","webpack://RmpVast/./node_modules/core-js-pure/internals/get-method.js","webpack://RmpVast/./node_modules/core-js-pure/internals/global.js","webpack://RmpVast/./node_modules/core-js-pure/internals/has-own-property.js","webpack://RmpVast/./node_modules/core-js-pure/internals/hidden-keys.js","webpack://RmpVast/./node_modules/core-js-pure/internals/host-report-errors.js","webpack://RmpVast/./node_modules/core-js-pure/internals/html.js","webpack://RmpVast/./node_modules/core-js-pure/internals/ie8-dom-define.js","webpack://RmpVast/./node_modules/core-js-pure/internals/indexed-object.js","webpack://RmpVast/./node_modules/core-js-pure/internals/inspect-source.js","webpack://RmpVast/./node_modules/core-js-pure/internals/install-error-cause.js","webpack://RmpVast/./node_modules/core-js-pure/internals/internal-metadata.js","webpack://RmpVast/./node_modules/core-js-pure/internals/internal-state.js","webpack://RmpVast/./node_modules/core-js-pure/internals/is-array-iterator-method.js","webpack://RmpVast/./node_modules/core-js-pure/internals/is-array.js","webpack://RmpVast/./node_modules/core-js-pure/internals/is-callable.js","webpack://RmpVast/./node_modules/core-js-pure/internals/is-constructor.js","webpack://RmpVast/./node_modules/core-js-pure/internals/is-forced.js","webpack://RmpVast/./node_modules/core-js-pure/internals/is-null-or-undefined.js","webpack://RmpVast/./node_modules/core-js-pure/internals/is-object.js","webpack://RmpVast/./node_modules/core-js-pure/internals/is-pure.js","webpack://RmpVast/./node_modules/core-js-pure/internals/is-regexp.js","webpack://RmpVast/./node_modules/core-js-pure/internals/is-symbol.js","webpack://RmpVast/./node_modules/core-js-pure/internals/iterate.js","webpack://RmpVast/./node_modules/core-js-pure/internals/iterator-close.js","webpack://RmpVast/./node_modules/core-js-pure/internals/iterator-create-constructor.js","webpack://RmpVast/./node_modules/core-js-pure/internals/iterator-define.js","webpack://RmpVast/./node_modules/core-js-pure/internals/iterators-core.js","webpack://RmpVast/./node_modules/core-js-pure/internals/iterators.js","webpack://RmpVast/./node_modules/core-js-pure/internals/length-of-array-like.js","webpack://RmpVast/./node_modules/core-js-pure/internals/math-trunc.js","webpack://RmpVast/./node_modules/core-js-pure/internals/microtask.js","webpack://RmpVast/./node_modules/core-js-pure/internals/new-promise-capability.js","webpack://RmpVast/./node_modules/core-js-pure/internals/normalize-string-argument.js","webpack://RmpVast/./node_modules/core-js-pure/internals/not-a-regexp.js","webpack://RmpVast/./node_modules/core-js-pure/internals/number-parse-float.js","webpack://RmpVast/./node_modules/core-js-pure/internals/number-parse-int.js","webpack://RmpVast/./node_modules/core-js-pure/internals/object-assign.js","webpack://RmpVast/./node_modules/core-js-pure/internals/object-create.js","webpack://RmpVast/./node_modules/core-js-pure/internals/object-define-properties.js","webpack://RmpVast/./node_modules/core-js-pure/internals/object-define-property.js","webpack://RmpVast/./node_modules/core-js-pure/internals/object-get-own-property-descriptor.js","webpack://RmpVast/./node_modules/core-js-pure/internals/object-get-own-property-names-external.js","webpack://RmpVast/./node_modules/core-js-pure/internals/object-get-own-property-names.js","webpack://RmpVast/./node_modules/core-js-pure/internals/object-get-own-property-symbols.js","webpack://RmpVast/./node_modules/core-js-pure/internals/object-get-prototype-of.js","webpack://RmpVast/./node_modules/core-js-pure/internals/object-is-extensible.js","webpack://RmpVast/./node_modules/core-js-pure/internals/object-is-prototype-of.js","webpack://RmpVast/./node_modules/core-js-pure/internals/object-keys-internal.js","webpack://RmpVast/./node_modules/core-js-pure/internals/object-keys.js","webpack://RmpVast/./node_modules/core-js-pure/internals/object-property-is-enumerable.js","webpack://RmpVast/./node_modules/core-js-pure/internals/object-set-prototype-of.js","webpack://RmpVast/./node_modules/core-js-pure/internals/object-to-array.js","webpack://RmpVast/./node_modules/core-js-pure/internals/object-to-string.js","webpack://RmpVast/./node_modules/core-js-pure/internals/ordinary-to-primitive.js","webpack://RmpVast/./node_modules/core-js-pure/internals/own-keys.js","webpack://RmpVast/./node_modules/core-js-pure/internals/path.js","webpack://RmpVast/./node_modules/core-js-pure/internals/perform.js","webpack://RmpVast/./node_modules/core-js-pure/internals/promise-constructor-detection.js","webpack://RmpVast/./node_modules/core-js-pure/internals/promise-native-constructor.js","webpack://RmpVast/./node_modules/core-js-pure/internals/promise-resolve.js","webpack://RmpVast/./node_modules/core-js-pure/internals/promise-statics-incorrect-iteration.js","webpack://RmpVast/./node_modules/core-js-pure/internals/queue.js","webpack://RmpVast/./node_modules/core-js-pure/internals/require-object-coercible.js","webpack://RmpVast/./node_modules/core-js-pure/internals/set-species.js","webpack://RmpVast/./node_modules/core-js-pure/internals/set-to-string-tag.js","webpack://RmpVast/./node_modules/core-js-pure/internals/shared-key.js","webpack://RmpVast/./node_modules/core-js-pure/internals/shared-store.js","webpack://RmpVast/./node_modules/core-js-pure/internals/shared.js","webpack://RmpVast/./node_modules/core-js-pure/internals/species-constructor.js","webpack://RmpVast/./node_modules/core-js-pure/internals/string-multibyte.js","webpack://RmpVast/./node_modules/core-js-pure/internals/string-trim-forced.js","webpack://RmpVast/./node_modules/core-js-pure/internals/string-trim.js","webpack://RmpVast/./node_modules/core-js-pure/internals/symbol-constructor-detection.js","webpack://RmpVast/./node_modules/core-js-pure/internals/symbol-define-to-primitive.js","webpack://RmpVast/./node_modules/core-js-pure/internals/symbol-registry-detection.js","webpack://RmpVast/./node_modules/core-js-pure/internals/task.js","webpack://RmpVast/./node_modules/core-js-pure/internals/to-absolute-index.js","webpack://RmpVast/./node_modules/core-js-pure/internals/to-indexed-object.js","webpack://RmpVast/./node_modules/core-js-pure/internals/to-integer-or-infinity.js","webpack://RmpVast/./node_modules/core-js-pure/internals/to-length.js","webpack://RmpVast/./node_modules/core-js-pure/internals/to-object.js","webpack://RmpVast/./node_modules/core-js-pure/internals/to-primitive.js","webpack://RmpVast/./node_modules/core-js-pure/internals/to-property-key.js","webpack://RmpVast/./node_modules/core-js-pure/internals/to-string-tag-support.js","webpack://RmpVast/./node_modules/core-js-pure/internals/to-string.js","webpack://RmpVast/./node_modules/core-js-pure/internals/try-to-string.js","webpack://RmpVast/./node_modules/core-js-pure/internals/uid.js","webpack://RmpVast/./node_modules/core-js-pure/internals/use-symbol-as-uid.js","webpack://RmpVast/./node_modules/core-js-pure/internals/v8-prototype-define-bug.js","webpack://RmpVast/./node_modules/core-js-pure/internals/validate-arguments-length.js","webpack://RmpVast/./node_modules/core-js-pure/internals/weak-map-basic-detection.js","webpack://RmpVast/./node_modules/core-js-pure/internals/well-known-symbol-define.js","webpack://RmpVast/./node_modules/core-js-pure/internals/well-known-symbol-wrapped.js","webpack://RmpVast/./node_modules/core-js-pure/internals/well-known-symbol.js","webpack://RmpVast/./node_modules/core-js-pure/internals/whitespaces.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.aggregate-error.constructor.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.aggregate-error.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.array.concat.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.array.filter.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.array.find.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.array.for-each.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.array.from.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.array.includes.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.array.index-of.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.array.is-array.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.array.iterator.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.array.last-index-of.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.array.map.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.array.push.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.array.reduce.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.array.reverse.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.array.slice.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.array.sort.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.array.splice.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.date.to-primitive.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.function.bind.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.json.stringify.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.json.to-string-tag.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.map.constructor.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.map.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.math.to-string-tag.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.object.assign.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.object.create.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.object.define-property.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.object.get-own-property-names.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.object.get-own-property-symbols.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.object.get-prototype-of.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.object.keys.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.object.set-prototype-of.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.object.to-string.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.object.values.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.parse-float.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.parse-int.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.promise.all-settled.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.promise.all.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.promise.any.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.promise.catch.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.promise.constructor.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.promise.finally.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.promise.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.promise.race.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.promise.reject.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.promise.resolve.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.reflect.construct.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.reflect.to-string-tag.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.string.includes.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.string.iterator.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.string.starts-with.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.string.trim.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.symbol.async-iterator.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.symbol.constructor.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.symbol.description.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.symbol.for.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.symbol.has-instance.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.symbol.is-concat-spreadable.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.symbol.iterator.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.symbol.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.symbol.key-for.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.symbol.match-all.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.symbol.match.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.symbol.replace.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.symbol.search.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.symbol.species.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.symbol.split.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.symbol.to-primitive.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.symbol.to-string-tag.js","webpack://RmpVast/./node_modules/core-js-pure/modules/es.symbol.unscopables.js","webpack://RmpVast/./node_modules/core-js-pure/modules/esnext.aggregate-error.js","webpack://RmpVast/./node_modules/core-js-pure/modules/esnext.promise.all-settled.js","webpack://RmpVast/./node_modules/core-js-pure/modules/esnext.promise.any.js","webpack://RmpVast/./node_modules/core-js-pure/modules/esnext.promise.try.js","webpack://RmpVast/./node_modules/core-js-pure/modules/esnext.symbol.async-dispose.js","webpack://RmpVast/./node_modules/core-js-pure/modules/esnext.symbol.dispose.js","webpack://RmpVast/./node_modules/core-js-pure/modules/esnext.symbol.is-registered.js","webpack://RmpVast/./node_modules/core-js-pure/modules/esnext.symbol.is-well-known.js","webpack://RmpVast/./node_modules/core-js-pure/modules/esnext.symbol.matcher.js","webpack://RmpVast/./node_modules/core-js-pure/modules/esnext.symbol.metadata-key.js","webpack://RmpVast/./node_modules/core-js-pure/modules/esnext.symbol.metadata.js","webpack://RmpVast/./node_modules/core-js-pure/modules/esnext.symbol.observable.js","webpack://RmpVast/./node_modules/core-js-pure/modules/esnext.symbol.pattern-match.js","webpack://RmpVast/./node_modules/core-js-pure/modules/esnext.symbol.replace-all.js","webpack://RmpVast/./node_modules/core-js-pure/modules/web.dom-collections.iterator.js","webpack://RmpVast/./node_modules/core-js-pure/stable/array/from.js","webpack://RmpVast/./node_modules/core-js-pure/stable/array/is-array.js","webpack://RmpVast/./node_modules/core-js-pure/stable/array/virtual/for-each.js","webpack://RmpVast/./node_modules/core-js-pure/stable/array/virtual/keys.js","webpack://RmpVast/./node_modules/core-js-pure/stable/get-iterator-method.js","webpack://RmpVast/./node_modules/core-js-pure/stable/instance/bind.js","webpack://RmpVast/./node_modules/core-js-pure/stable/instance/concat.js","webpack://RmpVast/./node_modules/core-js-pure/stable/instance/filter.js","webpack://RmpVast/./node_modules/core-js-pure/stable/instance/find.js","webpack://RmpVast/./node_modules/core-js-pure/stable/instance/for-each.js","webpack://RmpVast/./node_modules/core-js-pure/stable/instance/includes.js","webpack://RmpVast/./node_modules/core-js-pure/stable/instance/index-of.js","webpack://RmpVast/./node_modules/core-js-pure/stable/instance/keys.js","webpack://RmpVast/./node_modules/core-js-pure/stable/instance/last-index-of.js","webpack://RmpVast/./node_modules/core-js-pure/stable/instance/map.js","webpack://RmpVast/./node_modules/core-js-pure/stable/instance/push.js","webpack://RmpVast/./node_modules/core-js-pure/stable/instance/reduce.js","webpack://RmpVast/./node_modules/core-js-pure/stable/instance/reverse.js","webpack://RmpVast/./node_modules/core-js-pure/stable/instance/slice.js","webpack://RmpVast/./node_modules/core-js-pure/stable/instance/sort.js","webpack://RmpVast/./node_modules/core-js-pure/stable/instance/splice.js","webpack://RmpVast/./node_modules/core-js-pure/stable/instance/starts-with.js","webpack://RmpVast/./node_modules/core-js-pure/stable/instance/trim.js","webpack://RmpVast/./node_modules/core-js-pure/stable/json/stringify.js","webpack://RmpVast/./node_modules/core-js-pure/stable/map/index.js","webpack://RmpVast/./node_modules/core-js-pure/stable/object/assign.js","webpack://RmpVast/./node_modules/core-js-pure/stable/object/create.js","webpack://RmpVast/./node_modules/core-js-pure/stable/object/define-property.js","webpack://RmpVast/./node_modules/core-js-pure/stable/object/get-own-property-names.js","webpack://RmpVast/./node_modules/core-js-pure/stable/object/get-prototype-of.js","webpack://RmpVast/./node_modules/core-js-pure/stable/object/keys.js","webpack://RmpVast/./node_modules/core-js-pure/stable/object/set-prototype-of.js","webpack://RmpVast/./node_modules/core-js-pure/stable/object/values.js","webpack://RmpVast/./node_modules/core-js-pure/stable/parse-float.js","webpack://RmpVast/./node_modules/core-js-pure/stable/parse-int.js","webpack://RmpVast/./node_modules/core-js-pure/stable/promise/index.js","webpack://RmpVast/./node_modules/core-js-pure/stable/reflect/construct.js","webpack://RmpVast/./node_modules/core-js-pure/stable/symbol/index.js","webpack://RmpVast/./node_modules/core-js-pure/stable/symbol/iterator.js","webpack://RmpVast/./node_modules/core-js-pure/stable/symbol/to-primitive.js","webpack://RmpVast/./src/less/rmp-vast.less","webpack://RmpVast/./node_modules/css-loader/dist/runtime/api.js","webpack://RmpVast/./node_modules/css-loader/dist/runtime/sourceMaps.js","webpack://RmpVast/./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack://RmpVast/./node_modules/style-loader/dist/runtime/insertBySelector.js","webpack://RmpVast/./node_modules/style-loader/dist/runtime/insertStyleElement.js","webpack://RmpVast/./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js","webpack://RmpVast/./node_modules/style-loader/dist/runtime/styleDomAPI.js","webpack://RmpVast/./node_modules/style-loader/dist/runtime/styleTagTransform.js","webpack://RmpVast/./node_modules/@babel/runtime-corejs3/core-js-stable/array/from.js","webpack://RmpVast/./node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js","webpack://RmpVast/./node_modules/@babel/runtime-corejs3/core-js-stable/instance/filter.js","webpack://RmpVast/./node_modules/@babel/runtime-corejs3/core-js-stable/instance/find.js","webpack://RmpVast/./node_modules/@babel/runtime-corejs3/core-js-stable/instance/includes.js","webpack://RmpVast/./node_modules/@babel/runtime-corejs3/core-js-stable/instance/index-of.js","webpack://RmpVast/./node_modules/@babel/runtime-corejs3/core-js-stable/instance/keys.js","webpack://RmpVast/./node_modules/@babel/runtime-corejs3/core-js-stable/instance/last-index-of.js","webpack://RmpVast/./node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js","webpack://RmpVast/./node_modules/@babel/runtime-corejs3/core-js-stable/instance/reduce.js","webpack://RmpVast/./node_modules/@babel/runtime-corejs3/core-js-stable/instance/slice.js","webpack://RmpVast/./node_modules/@babel/runtime-corejs3/core-js-stable/instance/sort.js","webpack://RmpVast/./node_modules/@babel/runtime-corejs3/core-js-stable/instance/splice.js","webpack://RmpVast/./node_modules/@babel/runtime-corejs3/core-js-stable/instance/starts-with.js","webpack://RmpVast/./node_modules/@babel/runtime-corejs3/core-js-stable/instance/trim.js","webpack://RmpVast/./node_modules/@babel/runtime-corejs3/core-js-stable/json/stringify.js","webpack://RmpVast/./node_modules/@babel/runtime-corejs3/core-js-stable/map.js","webpack://RmpVast/./node_modules/@babel/runtime-corejs3/core-js-stable/object/assign.js","webpack://RmpVast/./node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-names.js","webpack://RmpVast/./node_modules/@babel/runtime-corejs3/core-js-stable/object/keys.js","webpack://RmpVast/./node_modules/@babel/runtime-corejs3/core-js-stable/object/values.js","webpack://RmpVast/./node_modules/@babel/runtime-corejs3/core-js-stable/parse-float.js","webpack://RmpVast/./node_modules/@babel/runtime-corejs3/core-js-stable/parse-int.js","webpack://RmpVast/./node_modules/@babel/runtime-corejs3/core-js-stable/promise.js","webpack://RmpVast/webpack/bootstrap","webpack://RmpVast/webpack/runtime/compat get default export","webpack://RmpVast/webpack/runtime/define property getters","webpack://RmpVast/webpack/runtime/global","webpack://RmpVast/webpack/runtime/hasOwnProperty shorthand","webpack://RmpVast/webpack/runtime/nonce","webpack://RmpVast/./node_modules/whatwg-fetch/fetch.js","webpack://RmpVast/./node_modules/@babel/runtime-corejs3/helpers/esm/typeof.js","webpack://RmpVast/./node_modules/@babel/runtime-corejs3/helpers/esm/regeneratorRuntime.js","webpack://RmpVast/./node_modules/@babel/runtime-corejs3/helpers/esm/asyncToGenerator.js","webpack://RmpVast/./node_modules/@babel/runtime-corejs3/helpers/esm/classCallCheck.js","webpack://RmpVast/./node_modules/@babel/runtime-corejs3/helpers/esm/toPrimitive.js","webpack://RmpVast/./node_modules/@babel/runtime-corejs3/helpers/esm/toPropertyKey.js","webpack://RmpVast/./node_modules/@babel/runtime-corejs3/helpers/esm/createClass.js","webpack://RmpVast/./src/js/framework/fw.js","webpack://RmpVast/./src/js/framework/env.js","webpack://RmpVast/./src/js/players/content-player.js","webpack://RmpVast/./node_modules/@babel/runtime-corejs3/helpers/esm/arrayLikeToArray.js","webpack://RmpVast/./node_modules/@babel/runtime-corejs3/helpers/esm/arrayWithoutHoles.js","webpack://RmpVast/./node_modules/@babel/runtime-corejs3/helpers/esm/iterableToArray.js","webpack://RmpVast/./node_modules/@babel/runtime-corejs3/helpers/esm/unsupportedIterableToArray.js","webpack://RmpVast/./node_modules/@babel/runtime-corejs3/helpers/esm/nonIterableSpread.js","webpack://RmpVast/./node_modules/@babel/runtime-corejs3/helpers/esm/toConsumableArray.js","webpack://RmpVast/./src/js/tracking/tracking-events.js","webpack://RmpVast/./src/js/creatives/icons.js","webpack://RmpVast/./src/js/players/vpaid.js","webpack://RmpVast/./src/js/creatives/non-linear.js","webpack://RmpVast/./src/assets/rmp-connection/rmp-connection.js","webpack://RmpVast/./node_modules/@babel/runtime-corejs3/helpers/esm/arrayWithHoles.js","webpack://RmpVast/./node_modules/@babel/runtime-corejs3/helpers/esm/iterableToArrayLimit.js","webpack://RmpVast/./node_modules/@babel/runtime-corejs3/helpers/esm/nonIterableRest.js","webpack://RmpVast/./node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js","webpack://RmpVast/./node_modules/@babel/runtime-corejs3/helpers/esm/createForOfIteratorHelper.js","webpack://RmpVast/./src/js/players/simid/simid_protocol.js","webpack://RmpVast/./src/js/players/simid/simid_player.js","webpack://RmpVast/./src/js/creatives/linear.js","webpack://RmpVast/./src/js/players/vast-player.js","webpack://RmpVast/./src/js/framework/utils.js","webpack://RmpVast/./src/js/verification/omsdk.js","webpack://RmpVast/./src/js/framework/dispatcher-event.js","webpack://RmpVast/./src/assets/@dailymotion/vast-client/src/util/storage.js","webpack://RmpVast/./node_modules/@babel/runtime-corejs3/helpers/esm/setPrototypeOf.js","webpack://RmpVast/./node_modules/@babel/runtime-corejs3/helpers/esm/inherits.js","webpack://RmpVast/./node_modules/@babel/runtime-corejs3/helpers/esm/getPrototypeOf.js","webpack://RmpVast/./node_modules/@babel/runtime-corejs3/helpers/esm/isNativeReflectConstruct.js","webpack://RmpVast/./node_modules/@babel/runtime-corejs3/helpers/esm/assertThisInitialized.js","webpack://RmpVast/./node_modules/@babel/runtime-corejs3/helpers/esm/possibleConstructorReturn.js","webpack://RmpVast/./node_modules/@babel/runtime-corejs3/helpers/esm/createSuper.js","webpack://RmpVast/./src/assets/@dailymotion/vast-client/src/ad.js","webpack://RmpVast/./src/assets/@dailymotion/vast-client/src/ad_verification.js","webpack://RmpVast/./src/assets/@dailymotion/vast-client/src/companion_ad.js","webpack://RmpVast/./src/assets/@dailymotion/vast-client/src/creative/creative.js","webpack://RmpVast/./src/assets/@dailymotion/vast-client/src/creative/creative_companion.js","webpack://RmpVast/./src/assets/@dailymotion/vast-client/src/util/macros.js","webpack://RmpVast/./src/assets/@dailymotion/vast-client/src/util/util.js","webpack://RmpVast/./src/assets/@dailymotion/vast-client/src/parser/parser_utils.js","webpack://RmpVast/./src/assets/@dailymotion/vast-client/src/parser/creative_companion_parser.js","webpack://RmpVast/./src/assets/@dailymotion/vast-client/src/creative/creative_linear.js","webpack://RmpVast/./src/assets/@dailymotion/vast-client/src/closed_caption_file.js","webpack://RmpVast/./src/assets/@dailymotion/vast-client/src/icon.js","webpack://RmpVast/./src/assets/@dailymotion/vast-client/src/interactive_creative_file.js","webpack://RmpVast/./src/assets/@dailymotion/vast-client/src/media_file.js","webpack://RmpVast/./src/assets/@dailymotion/vast-client/src/mezzanine.js","webpack://RmpVast/./src/assets/@dailymotion/vast-client/src/parser/creative_linear_parser.js","webpack://RmpVast/./src/assets/@dailymotion/vast-client/src/creative/creative_non_linear.js","webpack://RmpVast/./src/assets/@dailymotion/vast-client/src/non_linear_ad.js","webpack://RmpVast/./src/assets/@dailymotion/vast-client/src/parser/creative_non_linear_parser.js","webpack://RmpVast/./src/assets/@dailymotion/vast-client/src/extension.js","webpack://RmpVast/./src/assets/@dailymotion/vast-client/src/parser/extensions_parser.js","webpack://RmpVast/./src/assets/@dailymotion/vast-client/src/parser/creatives_parser.js","webpack://RmpVast/./src/assets/@dailymotion/vast-client/src/util/requiredValues.js","webpack://RmpVast/./src/assets/@dailymotion/vast-client/src/parser/parser_verification.js","webpack://RmpVast/./src/assets/@dailymotion/vast-client/src/parser/ad_parser.js","webpack://RmpVast/./src/assets/@dailymotion/vast-client/src/util/event_emitter.js","webpack://RmpVast/./src/assets/@dailymotion/vast-client/src/urlhandlers/mock_node_url_handler.js","webpack://RmpVast/./src/assets/@dailymotion/vast-client/src/urlhandlers/consts.js","webpack://RmpVast/./src/assets/@dailymotion/vast-client/src/urlhandlers/xhr_url_handler.js","webpack://RmpVast/./src/assets/@dailymotion/vast-client/src/url_handler.js","webpack://RmpVast/./src/assets/@dailymotion/vast-client/src/vast_response.js","webpack://RmpVast/./src/assets/@dailymotion/vast-client/src/parser/bitrate.js","webpack://RmpVast/./src/assets/@dailymotion/vast-client/src/parser/vast_parser.js","webpack://RmpVast/./src/assets/@dailymotion/vast-client/src/vast_client.js","webpack://RmpVast/./src/less/rmp-vast.less?ba2e","webpack://RmpVast/./src/js/index.js"],"sourcesContent":["var parent = require('../../stable/array/from');\n\nmodule.exports = parent;\n","var parent = require('../../stable/array/is-array');\n\nmodule.exports = parent;\n","var parent = require('../stable/get-iterator-method');\n\nmodule.exports = parent;\n","var parent = require('../../stable/instance/bind');\n\nmodule.exports = parent;\n","var parent = require('../../stable/instance/for-each');\n\nmodule.exports = parent;\n","var parent = require('../../stable/instance/push');\n\nmodule.exports = parent;\n","var parent = require('../../stable/instance/reverse');\n\nmodule.exports = parent;\n","var parent = require('../../stable/instance/slice');\n\nmodule.exports = parent;\n","var parent = require('../../stable/object/create');\n\nmodule.exports = parent;\n","var parent = require('../../stable/object/define-property');\n\nmodule.exports = parent;\n","var parent = require('../../stable/object/get-prototype-of');\n\nmodule.exports = parent;\n","var parent = require('../../stable/object/set-prototype-of');\n\nmodule.exports = parent;\n","var parent = require('../../stable/promise');\n\nmodule.exports = parent;\n","var parent = require('../../stable/reflect/construct');\n\nmodule.exports = parent;\n","var parent = require('../../stable/symbol');\n\nrequire('../../modules/esnext.symbol.dispose');\n\nmodule.exports = parent;\n","var parent = require('../../stable/symbol/iterator');\n\nmodule.exports = parent;\n","var parent = require('../../stable/symbol/to-primitive');\n\nmodule.exports = parent;\n","require('../../modules/es.string.iterator');\nrequire('../../modules/es.array.from');\nvar path = require('../../internals/path');\n\nmodule.exports = path.Array.from;\n","require('../../modules/es.array.is-array');\nvar path = require('../../internals/path');\n\nmodule.exports = path.Array.isArray;\n","require('../../../modules/es.array.concat');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('Array').concat;\n","require('../../../modules/es.array.filter');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('Array').filter;\n","require('../../../modules/es.array.find');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('Array').find;\n","require('../../../modules/es.array.for-each');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('Array').forEach;\n","require('../../../modules/es.array.includes');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('Array').includes;\n","require('../../../modules/es.array.index-of');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('Array').indexOf;\n","require('../../../modules/es.array.iterator');\nrequire('../../../modules/es.object.to-string');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('Array').keys;\n","require('../../../modules/es.array.last-index-of');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('Array').lastIndexOf;\n","require('../../../modules/es.array.map');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('Array').map;\n","require('../../../modules/es.array.push');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('Array').push;\n","require('../../../modules/es.array.reduce');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('Array').reduce;\n","require('../../../modules/es.array.reverse');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('Array').reverse;\n","require('../../../modules/es.array.slice');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('Array').slice;\n","require('../../../modules/es.array.sort');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('Array').sort;\n","require('../../../modules/es.array.splice');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('Array').splice;\n","require('../../../modules/es.function.bind');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('Function').bind;\n","require('../modules/es.array.iterator');\nrequire('../modules/es.string.iterator');\nvar getIteratorMethod = require('../internals/get-iterator-method');\n\nmodule.exports = getIteratorMethod;\n","var isPrototypeOf = require('../../internals/object-is-prototype-of');\nvar method = require('../function/virtual/bind');\n\nvar FunctionPrototype = Function.prototype;\n\nmodule.exports = function (it) {\n var own = it.bind;\n return it === FunctionPrototype || (isPrototypeOf(FunctionPrototype, it) && own === FunctionPrototype.bind) ? method : own;\n};\n","var isPrototypeOf = require('../../internals/object-is-prototype-of');\nvar method = require('../array/virtual/concat');\n\nvar ArrayPrototype = Array.prototype;\n\nmodule.exports = function (it) {\n var own = it.concat;\n return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.concat) ? method : own;\n};\n","var isPrototypeOf = require('../../internals/object-is-prototype-of');\nvar method = require('../array/virtual/filter');\n\nvar ArrayPrototype = Array.prototype;\n\nmodule.exports = function (it) {\n var own = it.filter;\n return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.filter) ? method : own;\n};\n","var isPrototypeOf = require('../../internals/object-is-prototype-of');\nvar method = require('../array/virtual/find');\n\nvar ArrayPrototype = Array.prototype;\n\nmodule.exports = function (it) {\n var own = it.find;\n return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.find) ? method : own;\n};\n","var isPrototypeOf = require('../../internals/object-is-prototype-of');\nvar arrayMethod = require('../array/virtual/includes');\nvar stringMethod = require('../string/virtual/includes');\n\nvar ArrayPrototype = Array.prototype;\nvar StringPrototype = String.prototype;\n\nmodule.exports = function (it) {\n var own = it.includes;\n if (it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.includes)) return arrayMethod;\n if (typeof it == 'string' || it === StringPrototype || (isPrototypeOf(StringPrototype, it) && own === StringPrototype.includes)) {\n return stringMethod;\n } return own;\n};\n","var isPrototypeOf = require('../../internals/object-is-prototype-of');\nvar method = require('../array/virtual/index-of');\n\nvar ArrayPrototype = Array.prototype;\n\nmodule.exports = function (it) {\n var own = it.indexOf;\n return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.indexOf) ? method : own;\n};\n","var isPrototypeOf = require('../../internals/object-is-prototype-of');\nvar method = require('../array/virtual/last-index-of');\n\nvar ArrayPrototype = Array.prototype;\n\nmodule.exports = function (it) {\n var own = it.lastIndexOf;\n return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.lastIndexOf) ? method : own;\n};\n","var isPrototypeOf = require('../../internals/object-is-prototype-of');\nvar method = require('../array/virtual/map');\n\nvar ArrayPrototype = Array.prototype;\n\nmodule.exports = function (it) {\n var own = it.map;\n return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.map) ? method : own;\n};\n","var isPrototypeOf = require('../../internals/object-is-prototype-of');\nvar method = require('../array/virtual/push');\n\nvar ArrayPrototype = Array.prototype;\n\nmodule.exports = function (it) {\n var own = it.push;\n return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.push) ? method : own;\n};\n","var isPrototypeOf = require('../../internals/object-is-prototype-of');\nvar method = require('../array/virtual/reduce');\n\nvar ArrayPrototype = Array.prototype;\n\nmodule.exports = function (it) {\n var own = it.reduce;\n return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.reduce) ? method : own;\n};\n","var isPrototypeOf = require('../../internals/object-is-prototype-of');\nvar method = require('../array/virtual/reverse');\n\nvar ArrayPrototype = Array.prototype;\n\nmodule.exports = function (it) {\n var own = it.reverse;\n return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.reverse) ? method : own;\n};\n","var isPrototypeOf = require('../../internals/object-is-prototype-of');\nvar method = require('../array/virtual/slice');\n\nvar ArrayPrototype = Array.prototype;\n\nmodule.exports = function (it) {\n var own = it.slice;\n return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.slice) ? method : own;\n};\n","var isPrototypeOf = require('../../internals/object-is-prototype-of');\nvar method = require('../array/virtual/sort');\n\nvar ArrayPrototype = Array.prototype;\n\nmodule.exports = function (it) {\n var own = it.sort;\n return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.sort) ? method : own;\n};\n","var isPrototypeOf = require('../../internals/object-is-prototype-of');\nvar method = require('../array/virtual/splice');\n\nvar ArrayPrototype = Array.prototype;\n\nmodule.exports = function (it) {\n var own = it.splice;\n return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.splice) ? method : own;\n};\n","var isPrototypeOf = require('../../internals/object-is-prototype-of');\nvar method = require('../string/virtual/starts-with');\n\nvar StringPrototype = String.prototype;\n\nmodule.exports = function (it) {\n var own = it.startsWith;\n return typeof it == 'string' || it === StringPrototype\n || (isPrototypeOf(StringPrototype, it) && own === StringPrototype.startsWith) ? method : own;\n};\n","var isPrototypeOf = require('../../internals/object-is-prototype-of');\nvar method = require('../string/virtual/trim');\n\nvar StringPrototype = String.prototype;\n\nmodule.exports = function (it) {\n var own = it.trim;\n return typeof it == 'string' || it === StringPrototype\n || (isPrototypeOf(StringPrototype, it) && own === StringPrototype.trim) ? method : own;\n};\n","require('../../modules/es.json.stringify');\nvar path = require('../../internals/path');\nvar apply = require('../../internals/function-apply');\n\n// eslint-disable-next-line es/no-json -- safe\nif (!path.JSON) path.JSON = { stringify: JSON.stringify };\n\n// eslint-disable-next-line no-unused-vars -- required for `.length`\nmodule.exports = function stringify(it, replacer, space) {\n return apply(path.JSON.stringify, null, arguments);\n};\n","require('../../modules/es.array.iterator');\nrequire('../../modules/es.map');\nrequire('../../modules/es.object.to-string');\nrequire('../../modules/es.string.iterator');\nvar path = require('../../internals/path');\n\nmodule.exports = path.Map;\n","require('../../modules/es.object.assign');\nvar path = require('../../internals/path');\n\nmodule.exports = path.Object.assign;\n","require('../../modules/es.object.create');\nvar path = require('../../internals/path');\n\nvar Object = path.Object;\n\nmodule.exports = function create(P, D) {\n return Object.create(P, D);\n};\n","require('../../modules/es.object.define-property');\nvar path = require('../../internals/path');\n\nvar Object = path.Object;\n\nvar defineProperty = module.exports = function defineProperty(it, key, desc) {\n return Object.defineProperty(it, key, desc);\n};\n\nif (Object.defineProperty.sham) defineProperty.sham = true;\n","require('../../modules/es.object.get-own-property-names');\nvar path = require('../../internals/path');\n\nvar Object = path.Object;\n\nmodule.exports = function getOwnPropertyNames(it) {\n return Object.getOwnPropertyNames(it);\n};\n","require('../../modules/es.object.get-prototype-of');\nvar path = require('../../internals/path');\n\nmodule.exports = path.Object.getPrototypeOf;\n","require('../../modules/es.object.keys');\nvar path = require('../../internals/path');\n\nmodule.exports = path.Object.keys;\n","require('../../modules/es.object.set-prototype-of');\nvar path = require('../../internals/path');\n\nmodule.exports = path.Object.setPrototypeOf;\n","require('../../modules/es.object.values');\nvar path = require('../../internals/path');\n\nmodule.exports = path.Object.values;\n","require('../modules/es.parse-float');\nvar path = require('../internals/path');\n\nmodule.exports = path.parseFloat;\n","require('../modules/es.parse-int');\nvar path = require('../internals/path');\n\nmodule.exports = path.parseInt;\n","require('../../modules/es.aggregate-error');\nrequire('../../modules/es.array.iterator');\nrequire('../../modules/es.object.to-string');\nrequire('../../modules/es.promise');\nrequire('../../modules/es.promise.all-settled');\nrequire('../../modules/es.promise.any');\nrequire('../../modules/es.promise.finally');\nrequire('../../modules/es.string.iterator');\nvar path = require('../../internals/path');\n\nmodule.exports = path.Promise;\n","require('../../modules/es.reflect.construct');\nvar path = require('../../internals/path');\n\nmodule.exports = path.Reflect.construct;\n","require('../../../modules/es.string.includes');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('String').includes;\n","require('../../../modules/es.string.starts-with');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('String').startsWith;\n","require('../../../modules/es.string.trim');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('String').trim;\n","require('../../modules/es.array.concat');\nrequire('../../modules/es.object.to-string');\nrequire('../../modules/es.symbol');\nrequire('../../modules/es.symbol.async-iterator');\nrequire('../../modules/es.symbol.description');\nrequire('../../modules/es.symbol.has-instance');\nrequire('../../modules/es.symbol.is-concat-spreadable');\nrequire('../../modules/es.symbol.iterator');\nrequire('../../modules/es.symbol.match');\nrequire('../../modules/es.symbol.match-all');\nrequire('../../modules/es.symbol.replace');\nrequire('../../modules/es.symbol.search');\nrequire('../../modules/es.symbol.species');\nrequire('../../modules/es.symbol.split');\nrequire('../../modules/es.symbol.to-primitive');\nrequire('../../modules/es.symbol.to-string-tag');\nrequire('../../modules/es.symbol.unscopables');\nrequire('../../modules/es.json.to-string-tag');\nrequire('../../modules/es.math.to-string-tag');\nrequire('../../modules/es.reflect.to-string-tag');\nvar path = require('../../internals/path');\n\nmodule.exports = path.Symbol;\n","require('../../modules/es.array.iterator');\nrequire('../../modules/es.object.to-string');\nrequire('../../modules/es.string.iterator');\nrequire('../../modules/es.symbol.iterator');\nvar WrappedWellKnownSymbolModule = require('../../internals/well-known-symbol-wrapped');\n\nmodule.exports = WrappedWellKnownSymbolModule.f('iterator');\n","require('../../modules/es.date.to-primitive');\nrequire('../../modules/es.symbol.to-primitive');\nvar WrappedWellKnownSymbolModule = require('../../internals/well-known-symbol-wrapped');\n\nmodule.exports = WrappedWellKnownSymbolModule.f('toPrimitive');\n","var parent = require('../../actual/array/from');\n\nmodule.exports = parent;\n","var parent = require('../../actual/array/is-array');\n\nmodule.exports = parent;\n","var parent = require('../actual/get-iterator-method');\n\nmodule.exports = parent;\n","var parent = require('../../actual/instance/bind');\n\nmodule.exports = parent;\n","var parent = require('../../actual/instance/for-each');\n\nmodule.exports = parent;\n","var parent = require('../../actual/instance/push');\n\nmodule.exports = parent;\n","var parent = require('../../actual/instance/reverse');\n\nmodule.exports = parent;\n","var parent = require('../../actual/instance/slice');\n\nmodule.exports = parent;\n","var parent = require('../../actual/object/create');\n\nmodule.exports = parent;\n","var parent = require('../../actual/object/define-property');\n\nmodule.exports = parent;\n","var parent = require('../../actual/object/get-prototype-of');\n\nmodule.exports = parent;\n","var parent = require('../../actual/object/set-prototype-of');\n\nmodule.exports = parent;\n","var parent = require('../../actual/promise');\nrequire('../../modules/esnext.aggregate-error');\n// TODO: Remove from `core-js@4`\nrequire('../../modules/esnext.promise.all-settled');\nrequire('../../modules/esnext.promise.try');\nrequire('../../modules/esnext.promise.any');\n\nmodule.exports = parent;\n","var parent = require('../../actual/reflect/construct');\n\nmodule.exports = parent;\n","var parent = require('../../actual/symbol');\nrequire('../../modules/esnext.symbol.async-dispose');\nrequire('../../modules/esnext.symbol.is-registered');\nrequire('../../modules/esnext.symbol.is-well-known');\nrequire('../../modules/esnext.symbol.matcher');\nrequire('../../modules/esnext.symbol.metadata-key');\nrequire('../../modules/esnext.symbol.observable');\n// TODO: Remove from `core-js@4`\nrequire('../../modules/esnext.symbol.metadata');\nrequire('../../modules/esnext.symbol.pattern-match');\nrequire('../../modules/esnext.symbol.replace-all');\n\nmodule.exports = parent;\n","var parent = require('../../actual/symbol/iterator');\n\nmodule.exports = parent;\n","var parent = require('../../actual/symbol/to-primitive');\n\nmodule.exports = parent;\n","var isCallable = require('../internals/is-callable');\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\n// `Assert: IsCallable(argument) is true`\nmodule.exports = function (argument) {\n if (isCallable(argument)) return argument;\n throw $TypeError(tryToString(argument) + ' is not a function');\n};\n","var isConstructor = require('../internals/is-constructor');\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\n// `Assert: IsConstructor(argument) is true`\nmodule.exports = function (argument) {\n if (isConstructor(argument)) return argument;\n throw $TypeError(tryToString(argument) + ' is not a constructor');\n};\n","var isCallable = require('../internals/is-callable');\n\nvar $String = String;\nvar $TypeError = TypeError;\n\nmodule.exports = function (argument) {\n if (typeof argument == 'object' || isCallable(argument)) return argument;\n throw $TypeError(\"Can't set \" + $String(argument) + ' as a prototype');\n};\n","module.exports = function () { /* empty */ };\n","var isPrototypeOf = require('../internals/object-is-prototype-of');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (it, Prototype) {\n if (isPrototypeOf(Prototype, it)) return it;\n throw $TypeError('Incorrect invocation');\n};\n","var isObject = require('../internals/is-object');\n\nvar $String = String;\nvar $TypeError = TypeError;\n\n// `Assert: Type(argument) is Object`\nmodule.exports = function (argument) {\n if (isObject(argument)) return argument;\n throw $TypeError($String(argument) + ' is not an object');\n};\n","// FF26- bug: ArrayBuffers are non-extensible, but Object.isExtensible does not report it\nvar fails = require('../internals/fails');\n\nmodule.exports = fails(function () {\n if (typeof ArrayBuffer == 'function') {\n var buffer = new ArrayBuffer(8);\n // eslint-disable-next-line es/no-object-isextensible, es/no-object-defineproperty -- safe\n if (Object.isExtensible(buffer)) Object.defineProperty(buffer, 'a', { value: 8 });\n }\n});\n","'use strict';\nvar $forEach = require('../internals/array-iteration').forEach;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar STRICT_METHOD = arrayMethodIsStrict('forEach');\n\n// `Array.prototype.forEach` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.foreach\nmodule.exports = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) {\n return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n// eslint-disable-next-line es/no-array-prototype-foreach -- safe\n} : [].forEach;\n","'use strict';\nvar bind = require('../internals/function-bind-context');\nvar call = require('../internals/function-call');\nvar toObject = require('../internals/to-object');\nvar callWithSafeIterationClosing = require('../internals/call-with-safe-iteration-closing');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar isConstructor = require('../internals/is-constructor');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar createProperty = require('../internals/create-property');\nvar getIterator = require('../internals/get-iterator');\nvar getIteratorMethod = require('../internals/get-iterator-method');\n\nvar $Array = Array;\n\n// `Array.from` method implementation\n// https://tc39.es/ecma262/#sec-array.from\nmodule.exports = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {\n var O = toObject(arrayLike);\n var IS_CONSTRUCTOR = isConstructor(this);\n var argumentsLength = arguments.length;\n var mapfn = argumentsLength > 1 ? arguments[1] : undefined;\n var mapping = mapfn !== undefined;\n if (mapping) mapfn = bind(mapfn, argumentsLength > 2 ? arguments[2] : undefined);\n var iteratorMethod = getIteratorMethod(O);\n var index = 0;\n var length, result, step, iterator, next, value;\n // if the target is not iterable or it's an array with the default iterator - use a simple case\n if (iteratorMethod && !(this === $Array && isArrayIteratorMethod(iteratorMethod))) {\n iterator = getIterator(O, iteratorMethod);\n next = iterator.next;\n result = IS_CONSTRUCTOR ? new this() : [];\n for (;!(step = call(next, iterator)).done; index++) {\n value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value;\n createProperty(result, index, value);\n }\n } else {\n length = lengthOfArrayLike(O);\n result = IS_CONSTRUCTOR ? new this(length) : $Array(length);\n for (;length > index; index++) {\n value = mapping ? mapfn(O[index], index) : O[index];\n createProperty(result, index, value);\n }\n }\n result.length = index;\n return result;\n};\n","var toIndexedObject = require('../internals/to-indexed-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIndexedObject($this);\n var length = lengthOfArrayLike(O);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare -- NaN check\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare -- NaN check\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) {\n if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.includes` method\n // https://tc39.es/ecma262/#sec-array.prototype.includes\n includes: createMethod(true),\n // `Array.prototype.indexOf` method\n // https://tc39.es/ecma262/#sec-array.prototype.indexof\n indexOf: createMethod(false)\n};\n","var bind = require('../internals/function-bind-context');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar IndexedObject = require('../internals/indexed-object');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar arraySpeciesCreate = require('../internals/array-species-create');\n\nvar push = uncurryThis([].push);\n\n// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation\nvar createMethod = function (TYPE) {\n var IS_MAP = TYPE == 1;\n var IS_FILTER = TYPE == 2;\n var IS_SOME = TYPE == 3;\n var IS_EVERY = TYPE == 4;\n var IS_FIND_INDEX = TYPE == 6;\n var IS_FILTER_REJECT = TYPE == 7;\n var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;\n return function ($this, callbackfn, that, specificCreate) {\n var O = toObject($this);\n var self = IndexedObject(O);\n var boundFunction = bind(callbackfn, that);\n var length = lengthOfArrayLike(self);\n var index = 0;\n var create = specificCreate || arraySpeciesCreate;\n var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;\n var value, result;\n for (;length > index; index++) if (NO_HOLES || index in self) {\n value = self[index];\n result = boundFunction(value, index, O);\n if (TYPE) {\n if (IS_MAP) target[index] = result; // map\n else if (result) switch (TYPE) {\n case 3: return true; // some\n case 5: return value; // find\n case 6: return index; // findIndex\n case 2: push(target, value); // filter\n } else switch (TYPE) {\n case 4: return false; // every\n case 7: push(target, value); // filterReject\n }\n }\n }\n return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.forEach` method\n // https://tc39.es/ecma262/#sec-array.prototype.foreach\n forEach: createMethod(0),\n // `Array.prototype.map` method\n // https://tc39.es/ecma262/#sec-array.prototype.map\n map: createMethod(1),\n // `Array.prototype.filter` method\n // https://tc39.es/ecma262/#sec-array.prototype.filter\n filter: createMethod(2),\n // `Array.prototype.some` method\n // https://tc39.es/ecma262/#sec-array.prototype.some\n some: createMethod(3),\n // `Array.prototype.every` method\n // https://tc39.es/ecma262/#sec-array.prototype.every\n every: createMethod(4),\n // `Array.prototype.find` method\n // https://tc39.es/ecma262/#sec-array.prototype.find\n find: createMethod(5),\n // `Array.prototype.findIndex` method\n // https://tc39.es/ecma262/#sec-array.prototype.findIndex\n findIndex: createMethod(6),\n // `Array.prototype.filterReject` method\n // https://github.com/tc39/proposal-array-filtering\n filterReject: createMethod(7)\n};\n","'use strict';\n/* eslint-disable es/no-array-prototype-lastindexof -- safe */\nvar apply = require('../internals/function-apply');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar min = Math.min;\nvar $lastIndexOf = [].lastIndexOf;\nvar NEGATIVE_ZERO = !!$lastIndexOf && 1 / [1].lastIndexOf(1, -0) < 0;\nvar STRICT_METHOD = arrayMethodIsStrict('lastIndexOf');\nvar FORCED = NEGATIVE_ZERO || !STRICT_METHOD;\n\n// `Array.prototype.lastIndexOf` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.lastindexof\nmodule.exports = FORCED ? function lastIndexOf(searchElement /* , fromIndex = @[*-1] */) {\n // convert -0 to +0\n if (NEGATIVE_ZERO) return apply($lastIndexOf, this, arguments) || 0;\n var O = toIndexedObject(this);\n var length = lengthOfArrayLike(O);\n var index = length - 1;\n if (arguments.length > 1) index = min(index, toIntegerOrInfinity(arguments[1]));\n if (index < 0) index = length + index;\n for (;index >= 0; index--) if (index in O && O[index] === searchElement) return index || 0;\n return -1;\n} : $lastIndexOf;\n","var fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar SPECIES = wellKnownSymbol('species');\n\nmodule.exports = function (METHOD_NAME) {\n // We can't use this feature detection in V8 since it causes\n // deoptimization and serious performance degradation\n // https://github.com/zloirock/core-js/issues/677\n return V8_VERSION >= 51 || !fails(function () {\n var array = [];\n var constructor = array.constructor = {};\n constructor[SPECIES] = function () {\n return { foo: 1 };\n };\n return array[METHOD_NAME](Boolean).foo !== 1;\n });\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = function (METHOD_NAME, argument) {\n var method = [][METHOD_NAME];\n return !!method && fails(function () {\n // eslint-disable-next-line no-useless-call -- required for testing\n method.call(null, argument || function () { return 1; }, 1);\n });\n};\n","var aCallable = require('../internals/a-callable');\nvar toObject = require('../internals/to-object');\nvar IndexedObject = require('../internals/indexed-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\nvar $TypeError = TypeError;\n\n// `Array.prototype.{ reduce, reduceRight }` methods implementation\nvar createMethod = function (IS_RIGHT) {\n return function (that, callbackfn, argumentsLength, memo) {\n aCallable(callbackfn);\n var O = toObject(that);\n var self = IndexedObject(O);\n var length = lengthOfArrayLike(O);\n var index = IS_RIGHT ? length - 1 : 0;\n var i = IS_RIGHT ? -1 : 1;\n if (argumentsLength < 2) while (true) {\n if (index in self) {\n memo = self[index];\n index += i;\n break;\n }\n index += i;\n if (IS_RIGHT ? index < 0 : length <= index) {\n throw $TypeError('Reduce of empty array with no initial value');\n }\n }\n for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {\n memo = callbackfn(memo, self[index], index, O);\n }\n return memo;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.reduce` method\n // https://tc39.es/ecma262/#sec-array.prototype.reduce\n left: createMethod(false),\n // `Array.prototype.reduceRight` method\n // https://tc39.es/ecma262/#sec-array.prototype.reduceright\n right: createMethod(true)\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar isArray = require('../internals/is-array');\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Safari < 13 does not throw an error in this case\nvar SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {\n // makes no sense without proper strict mode support\n if (this !== undefined) return true;\n try {\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty([], 'length', { writable: false }).length = 1;\n } catch (error) {\n return error instanceof TypeError;\n }\n}();\n\nmodule.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {\n if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {\n throw $TypeError('Cannot set read only .length');\n } return O.length = length;\n} : function (O, length) {\n return O.length = length;\n};\n","var toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar createProperty = require('../internals/create-property');\n\nvar $Array = Array;\nvar max = Math.max;\n\nmodule.exports = function (O, start, end) {\n var length = lengthOfArrayLike(O);\n var k = toAbsoluteIndex(start, length);\n var fin = toAbsoluteIndex(end === undefined ? length : end, length);\n var result = $Array(max(fin - k, 0));\n for (var n = 0; k < fin; k++, n++) createProperty(result, n, O[k]);\n result.length = n;\n return result;\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis([].slice);\n","var arraySlice = require('../internals/array-slice-simple');\n\nvar floor = Math.floor;\n\nvar mergeSort = function (array, comparefn) {\n var length = array.length;\n var middle = floor(length / 2);\n return length < 8 ? insertionSort(array, comparefn) : merge(\n array,\n mergeSort(arraySlice(array, 0, middle), comparefn),\n mergeSort(arraySlice(array, middle), comparefn),\n comparefn\n );\n};\n\nvar insertionSort = function (array, comparefn) {\n var length = array.length;\n var i = 1;\n var element, j;\n\n while (i < length) {\n j = i;\n element = array[i];\n while (j && comparefn(array[j - 1], element) > 0) {\n array[j] = array[--j];\n }\n if (j !== i++) array[j] = element;\n } return array;\n};\n\nvar merge = function (array, left, right, comparefn) {\n var llength = left.length;\n var rlength = right.length;\n var lindex = 0;\n var rindex = 0;\n\n while (lindex < llength || rindex < rlength) {\n array[lindex + rindex] = (lindex < llength && rindex < rlength)\n ? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++]\n : lindex < llength ? left[lindex++] : right[rindex++];\n } return array;\n};\n\nmodule.exports = mergeSort;\n","var isArray = require('../internals/is-array');\nvar isConstructor = require('../internals/is-constructor');\nvar isObject = require('../internals/is-object');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\nvar $Array = Array;\n\n// a part of `ArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#sec-arrayspeciescreate\nmodule.exports = function (originalArray) {\n var C;\n if (isArray(originalArray)) {\n C = originalArray.constructor;\n // cross-realm fallback\n if (isConstructor(C) && (C === $Array || isArray(C.prototype))) C = undefined;\n else if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n } return C === undefined ? $Array : C;\n};\n","var arraySpeciesConstructor = require('../internals/array-species-constructor');\n\n// `ArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#sec-arrayspeciescreate\nmodule.exports = function (originalArray, length) {\n return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);\n};\n","var anObject = require('../internals/an-object');\nvar iteratorClose = require('../internals/iterator-close');\n\n// call something on iterator step with safe closing on error\nmodule.exports = function (iterator, fn, value, ENTRIES) {\n try {\n return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value);\n } catch (error) {\n iteratorClose(iterator, 'throw', error);\n }\n};\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar SAFE_CLOSING = false;\n\ntry {\n var called = 0;\n var iteratorWithReturn = {\n next: function () {\n return { done: !!called++ };\n },\n 'return': function () {\n SAFE_CLOSING = true;\n }\n };\n iteratorWithReturn[ITERATOR] = function () {\n return this;\n };\n // eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing\n Array.from(iteratorWithReturn, function () { throw 2; });\n} catch (error) { /* empty */ }\n\nmodule.exports = function (exec, SKIP_CLOSING) {\n if (!SKIP_CLOSING && !SAFE_CLOSING) return false;\n var ITERATION_SUPPORT = false;\n try {\n var object = {};\n object[ITERATOR] = function () {\n return {\n next: function () {\n return { done: ITERATION_SUPPORT = true };\n }\n };\n };\n exec(object);\n } catch (error) { /* empty */ }\n return ITERATION_SUPPORT;\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nvar toString = uncurryThis({}.toString);\nvar stringSlice = uncurryThis(''.slice);\n\nmodule.exports = function (it) {\n return stringSlice(toString(it), 8, -1);\n};\n","var TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar isCallable = require('../internals/is-callable');\nvar classofRaw = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar $Object = Object;\n\n// ES3 wrong here\nvar CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (error) { /* empty */ }\n};\n\n// getting tag from ES6+ `Object.prototype.toString`\nmodule.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {\n var O, tag, result;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag\n // builtinTag case\n : CORRECT_ARGUMENTS ? classofRaw(O)\n // ES3 arguments fallback\n : (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result;\n};\n","'use strict';\nvar create = require('../internals/object-create');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar defineBuiltIns = require('../internals/define-built-ins');\nvar bind = require('../internals/function-bind-context');\nvar anInstance = require('../internals/an-instance');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar iterate = require('../internals/iterate');\nvar defineIterator = require('../internals/iterator-define');\nvar createIterResultObject = require('../internals/create-iter-result-object');\nvar setSpecies = require('../internals/set-species');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fastKey = require('../internals/internal-metadata').fastKey;\nvar InternalStateModule = require('../internals/internal-state');\n\nvar setInternalState = InternalStateModule.set;\nvar internalStateGetterFor = InternalStateModule.getterFor;\n\nmodule.exports = {\n getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) {\n var Constructor = wrapper(function (that, iterable) {\n anInstance(that, Prototype);\n setInternalState(that, {\n type: CONSTRUCTOR_NAME,\n index: create(null),\n first: undefined,\n last: undefined,\n size: 0\n });\n if (!DESCRIPTORS) that.size = 0;\n if (!isNullOrUndefined(iterable)) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });\n });\n\n var Prototype = Constructor.prototype;\n\n var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);\n\n var define = function (that, key, value) {\n var state = getInternalState(that);\n var entry = getEntry(that, key);\n var previous, index;\n // change existing entry\n if (entry) {\n entry.value = value;\n // create new entry\n } else {\n state.last = entry = {\n index: index = fastKey(key, true),\n key: key,\n value: value,\n previous: previous = state.last,\n next: undefined,\n removed: false\n };\n if (!state.first) state.first = entry;\n if (previous) previous.next = entry;\n if (DESCRIPTORS) state.size++;\n else that.size++;\n // add to index\n if (index !== 'F') state.index[index] = entry;\n } return that;\n };\n\n var getEntry = function (that, key) {\n var state = getInternalState(that);\n // fast case\n var index = fastKey(key);\n var entry;\n if (index !== 'F') return state.index[index];\n // frozen object case\n for (entry = state.first; entry; entry = entry.next) {\n if (entry.key == key) return entry;\n }\n };\n\n defineBuiltIns(Prototype, {\n // `{ Map, Set }.prototype.clear()` methods\n // https://tc39.es/ecma262/#sec-map.prototype.clear\n // https://tc39.es/ecma262/#sec-set.prototype.clear\n clear: function clear() {\n var that = this;\n var state = getInternalState(that);\n var data = state.index;\n var entry = state.first;\n while (entry) {\n entry.removed = true;\n if (entry.previous) entry.previous = entry.previous.next = undefined;\n delete data[entry.index];\n entry = entry.next;\n }\n state.first = state.last = undefined;\n if (DESCRIPTORS) state.size = 0;\n else that.size = 0;\n },\n // `{ Map, Set }.prototype.delete(key)` methods\n // https://tc39.es/ecma262/#sec-map.prototype.delete\n // https://tc39.es/ecma262/#sec-set.prototype.delete\n 'delete': function (key) {\n var that = this;\n var state = getInternalState(that);\n var entry = getEntry(that, key);\n if (entry) {\n var next = entry.next;\n var prev = entry.previous;\n delete state.index[entry.index];\n entry.removed = true;\n if (prev) prev.next = next;\n if (next) next.previous = prev;\n if (state.first == entry) state.first = next;\n if (state.last == entry) state.last = prev;\n if (DESCRIPTORS) state.size--;\n else that.size--;\n } return !!entry;\n },\n // `{ Map, Set }.prototype.forEach(callbackfn, thisArg = undefined)` methods\n // https://tc39.es/ecma262/#sec-map.prototype.foreach\n // https://tc39.es/ecma262/#sec-set.prototype.foreach\n forEach: function forEach(callbackfn /* , that = undefined */) {\n var state = getInternalState(this);\n var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n var entry;\n while (entry = entry ? entry.next : state.first) {\n boundFunction(entry.value, entry.key, this);\n // revert to the last existing entry\n while (entry && entry.removed) entry = entry.previous;\n }\n },\n // `{ Map, Set}.prototype.has(key)` methods\n // https://tc39.es/ecma262/#sec-map.prototype.has\n // https://tc39.es/ecma262/#sec-set.prototype.has\n has: function has(key) {\n return !!getEntry(this, key);\n }\n });\n\n defineBuiltIns(Prototype, IS_MAP ? {\n // `Map.prototype.get(key)` method\n // https://tc39.es/ecma262/#sec-map.prototype.get\n get: function get(key) {\n var entry = getEntry(this, key);\n return entry && entry.value;\n },\n // `Map.prototype.set(key, value)` method\n // https://tc39.es/ecma262/#sec-map.prototype.set\n set: function set(key, value) {\n return define(this, key === 0 ? 0 : key, value);\n }\n } : {\n // `Set.prototype.add(value)` method\n // https://tc39.es/ecma262/#sec-set.prototype.add\n add: function add(value) {\n return define(this, value = value === 0 ? 0 : value, value);\n }\n });\n if (DESCRIPTORS) defineBuiltInAccessor(Prototype, 'size', {\n configurable: true,\n get: function () {\n return getInternalState(this).size;\n }\n });\n return Constructor;\n },\n setStrong: function (Constructor, CONSTRUCTOR_NAME, IS_MAP) {\n var ITERATOR_NAME = CONSTRUCTOR_NAME + ' Iterator';\n var getInternalCollectionState = internalStateGetterFor(CONSTRUCTOR_NAME);\n var getInternalIteratorState = internalStateGetterFor(ITERATOR_NAME);\n // `{ Map, Set }.prototype.{ keys, values, entries, @@iterator }()` methods\n // https://tc39.es/ecma262/#sec-map.prototype.entries\n // https://tc39.es/ecma262/#sec-map.prototype.keys\n // https://tc39.es/ecma262/#sec-map.prototype.values\n // https://tc39.es/ecma262/#sec-map.prototype-@@iterator\n // https://tc39.es/ecma262/#sec-set.prototype.entries\n // https://tc39.es/ecma262/#sec-set.prototype.keys\n // https://tc39.es/ecma262/#sec-set.prototype.values\n // https://tc39.es/ecma262/#sec-set.prototype-@@iterator\n defineIterator(Constructor, CONSTRUCTOR_NAME, function (iterated, kind) {\n setInternalState(this, {\n type: ITERATOR_NAME,\n target: iterated,\n state: getInternalCollectionState(iterated),\n kind: kind,\n last: undefined\n });\n }, function () {\n var state = getInternalIteratorState(this);\n var kind = state.kind;\n var entry = state.last;\n // revert to the last existing entry\n while (entry && entry.removed) entry = entry.previous;\n // get next entry\n if (!state.target || !(state.last = entry = entry ? entry.next : state.state.first)) {\n // or finish the iteration\n state.target = undefined;\n return createIterResultObject(undefined, true);\n }\n // return step by kind\n if (kind == 'keys') return createIterResultObject(entry.key, false);\n if (kind == 'values') return createIterResultObject(entry.value, false);\n return createIterResultObject([entry.key, entry.value], false);\n }, IS_MAP ? 'entries' : 'values', !IS_MAP, true);\n\n // `{ Map, Set }.prototype[@@species]` accessors\n // https://tc39.es/ecma262/#sec-get-map-@@species\n // https://tc39.es/ecma262/#sec-get-set-@@species\n setSpecies(CONSTRUCTOR_NAME);\n }\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar InternalMetadataModule = require('../internals/internal-metadata');\nvar fails = require('../internals/fails');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar iterate = require('../internals/iterate');\nvar anInstance = require('../internals/an-instance');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar defineProperty = require('../internals/object-define-property').f;\nvar forEach = require('../internals/array-iteration').forEach;\nvar DESCRIPTORS = require('../internals/descriptors');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar setInternalState = InternalStateModule.set;\nvar internalStateGetterFor = InternalStateModule.getterFor;\n\nmodule.exports = function (CONSTRUCTOR_NAME, wrapper, common) {\n var IS_MAP = CONSTRUCTOR_NAME.indexOf('Map') !== -1;\n var IS_WEAK = CONSTRUCTOR_NAME.indexOf('Weak') !== -1;\n var ADDER = IS_MAP ? 'set' : 'add';\n var NativeConstructor = global[CONSTRUCTOR_NAME];\n var NativePrototype = NativeConstructor && NativeConstructor.prototype;\n var exported = {};\n var Constructor;\n\n if (!DESCRIPTORS || !isCallable(NativeConstructor)\n || !(IS_WEAK || NativePrototype.forEach && !fails(function () { new NativeConstructor().entries().next(); }))\n ) {\n // create collection constructor\n Constructor = common.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER);\n InternalMetadataModule.enable();\n } else {\n Constructor = wrapper(function (target, iterable) {\n setInternalState(anInstance(target, Prototype), {\n type: CONSTRUCTOR_NAME,\n collection: new NativeConstructor()\n });\n if (iterable != undefined) iterate(iterable, target[ADDER], { that: target, AS_ENTRIES: IS_MAP });\n });\n\n var Prototype = Constructor.prototype;\n\n var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);\n\n forEach(['add', 'clear', 'delete', 'forEach', 'get', 'has', 'set', 'keys', 'values', 'entries'], function (KEY) {\n var IS_ADDER = KEY == 'add' || KEY == 'set';\n if (KEY in NativePrototype && !(IS_WEAK && KEY == 'clear')) {\n createNonEnumerableProperty(Prototype, KEY, function (a, b) {\n var collection = getInternalState(this).collection;\n if (!IS_ADDER && IS_WEAK && !isObject(a)) return KEY == 'get' ? undefined : false;\n var result = collection[KEY](a === 0 ? 0 : a, b);\n return IS_ADDER ? this : result;\n });\n }\n });\n\n IS_WEAK || defineProperty(Prototype, 'size', {\n configurable: true,\n get: function () {\n return getInternalState(this).collection.size;\n }\n });\n }\n\n setToStringTag(Constructor, CONSTRUCTOR_NAME, false, true);\n\n exported[CONSTRUCTOR_NAME] = Constructor;\n $({ global: true, forced: true }, exported);\n\n if (!IS_WEAK) common.setStrong(Constructor, CONSTRUCTOR_NAME, IS_MAP);\n\n return Constructor;\n};\n","var hasOwn = require('../internals/has-own-property');\nvar ownKeys = require('../internals/own-keys');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\n\nmodule.exports = function (target, source, exceptions) {\n var keys = ownKeys(source);\n var defineProperty = definePropertyModule.f;\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {\n defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n }\n }\n};\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\n\nmodule.exports = function (METHOD_NAME) {\n var regexp = /./;\n try {\n '/./'[METHOD_NAME](regexp);\n } catch (error1) {\n try {\n regexp[MATCH] = false;\n return '/./'[METHOD_NAME](regexp);\n } catch (error2) { /* empty */ }\n } return false;\n};\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n function F() { /* empty */ }\n F.prototype.constructor = null;\n // eslint-disable-next-line es/no-object-getprototypeof -- required for testing\n return Object.getPrototypeOf(new F()) !== F.prototype;\n});\n","// `CreateIterResultObject` abstract operation\n// https://tc39.es/ecma262/#sec-createiterresultobject\nmodule.exports = function (value, done) {\n return { value: value, done: done };\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = DESCRIPTORS ? function (object, key, value) {\n return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","'use strict';\nvar toPropertyKey = require('../internals/to-property-key');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = function (object, key, value) {\n var propertyKey = toPropertyKey(key);\n if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));\n else object[propertyKey] = value;\n};\n","var defineProperty = require('../internals/object-define-property');\n\nmodule.exports = function (target, name, descriptor) {\n return defineProperty.f(target, name, descriptor);\n};\n","var createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nmodule.exports = function (target, key, value, options) {\n if (options && options.enumerable) target[key] = value;\n else createNonEnumerableProperty(target, key, value);\n return target;\n};\n","var defineBuiltIn = require('../internals/define-built-in');\n\nmodule.exports = function (target, src, options) {\n for (var key in src) {\n if (options && options.unsafe && target[key]) target[key] = src[key];\n else defineBuiltIn(target, key, src[key], options);\n } return target;\n};\n","var global = require('../internals/global');\n\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\n\nmodule.exports = function (key, value) {\n try {\n defineProperty(global, key, { value: value, configurable: true, writable: true });\n } catch (error) {\n global[key] = value;\n } return value;\n};\n","'use strict';\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (O, P) {\n if (!delete O[P]) throw $TypeError('Cannot delete property ' + tryToString(P) + ' of ' + tryToString(O));\n};\n","var fails = require('../internals/fails');\n\n// Detect IE8's incomplete defineProperty implementation\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;\n});\n","var documentAll = typeof document == 'object' && document.all;\n\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot\n// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing\nvar IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;\n\nmodule.exports = {\n all: documentAll,\n IS_HTMLDDA: IS_HTMLDDA\n};\n","var global = require('../internals/global');\nvar isObject = require('../internals/is-object');\n\nvar document = global.document;\n// typeof document.createElement is 'object' in old IE\nvar EXISTS = isObject(document) && isObject(document.createElement);\n\nmodule.exports = function (it) {\n return EXISTS ? document.createElement(it) : {};\n};\n","var $TypeError = TypeError;\nvar MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991\n\nmodule.exports = function (it) {\n if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');\n return it;\n};\n","// iterable DOM collections\n// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods\nmodule.exports = {\n CSSRuleList: 0,\n CSSStyleDeclaration: 0,\n CSSValueList: 0,\n ClientRectList: 0,\n DOMRectList: 0,\n DOMStringList: 0,\n DOMTokenList: 1,\n DataTransferItemList: 0,\n FileList: 0,\n HTMLAllCollection: 0,\n HTMLCollection: 0,\n HTMLFormElement: 0,\n HTMLSelectElement: 0,\n MediaList: 0,\n MimeTypeArray: 0,\n NamedNodeMap: 0,\n NodeList: 1,\n PaintRequestList: 0,\n Plugin: 0,\n PluginArray: 0,\n SVGLengthList: 0,\n SVGNumberList: 0,\n SVGPathSegList: 0,\n SVGPointList: 0,\n SVGStringList: 0,\n SVGTransformList: 0,\n SourceBufferList: 0,\n StyleSheetList: 0,\n TextTrackCueList: 0,\n TextTrackList: 0,\n TouchList: 0\n};\n","var userAgent = require('../internals/engine-user-agent');\n\nvar firefox = userAgent.match(/firefox\\/(\\d+)/i);\n\nmodule.exports = !!firefox && +firefox[1];\n","var IS_DENO = require('../internals/engine-is-deno');\nvar IS_NODE = require('../internals/engine-is-node');\n\nmodule.exports = !IS_DENO && !IS_NODE\n && typeof window == 'object'\n && typeof document == 'object';\n","/* global Deno -- Deno case */\nmodule.exports = typeof Deno == 'object' && Deno && typeof Deno.version == 'object';\n","var UA = require('../internals/engine-user-agent');\n\nmodule.exports = /MSIE|Trident/.test(UA);\n","var userAgent = require('../internals/engine-user-agent');\n\nmodule.exports = /ipad|iphone|ipod/i.test(userAgent) && typeof Pebble != 'undefined';\n","var userAgent = require('../internals/engine-user-agent');\n\n// eslint-disable-next-line redos/no-vulnerable -- safe\nmodule.exports = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent);\n","var classof = require('../internals/classof-raw');\n\nmodule.exports = typeof process != 'undefined' && classof(process) == 'process';\n","var userAgent = require('../internals/engine-user-agent');\n\nmodule.exports = /web0s(?!.*chrome)/i.test(userAgent);\n","module.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || '';\n","var global = require('../internals/global');\nvar userAgent = require('../internals/engine-user-agent');\n\nvar process = global.process;\nvar Deno = global.Deno;\nvar versions = process && process.versions || Deno && Deno.version;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n match = v8.split('.');\n // in old Chrome, versions of V8 isn't V8 = Chrome / 10\n // but their correct versions are not interesting for us\n version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);\n}\n\n// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`\n// so check `userAgent` even if `.v8` exists, but 0\nif (!version && userAgent) {\n match = userAgent.match(/Edge\\/(\\d+)/);\n if (!match || match[1] >= 74) {\n match = userAgent.match(/Chrome\\/(\\d+)/);\n if (match) version = +match[1];\n }\n}\n\nmodule.exports = version;\n","var userAgent = require('../internals/engine-user-agent');\n\nvar webkit = userAgent.match(/AppleWebKit\\/(\\d+)\\./);\n\nmodule.exports = !!webkit && +webkit[1];\n","var path = require('../internals/path');\n\nmodule.exports = function (CONSTRUCTOR) {\n return path[CONSTRUCTOR + 'Prototype'];\n};\n","// IE8- don't enum bug keys\nmodule.exports = [\n 'constructor',\n 'hasOwnProperty',\n 'isPrototypeOf',\n 'propertyIsEnumerable',\n 'toLocaleString',\n 'toString',\n 'valueOf'\n];\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nvar $Error = Error;\nvar replace = uncurryThis(''.replace);\n\nvar TEST = (function (arg) { return String($Error(arg).stack); })('zxcasd');\n// eslint-disable-next-line redos/no-vulnerable -- safe\nvar V8_OR_CHAKRA_STACK_ENTRY = /\\n\\s*at [^:]*:[^\\n]*/;\nvar IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST);\n\nmodule.exports = function (stack, dropEntries) {\n if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string' && !$Error.prepareStackTrace) {\n while (dropEntries--) stack = replace(stack, V8_OR_CHAKRA_STACK_ENTRY, '');\n } return stack;\n};\n","var createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar clearErrorStack = require('../internals/error-stack-clear');\nvar ERROR_STACK_INSTALLABLE = require('../internals/error-stack-installable');\n\n// non-standard V8\nvar captureStackTrace = Error.captureStackTrace;\n\nmodule.exports = function (error, C, stack, dropEntries) {\n if (ERROR_STACK_INSTALLABLE) {\n if (captureStackTrace) captureStackTrace(error, C);\n else createNonEnumerableProperty(error, 'stack', clearErrorStack(stack, dropEntries));\n }\n};\n","var fails = require('../internals/fails');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = !fails(function () {\n var error = Error('a');\n if (!('stack' in error)) return true;\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty(error, 'stack', createPropertyDescriptor(1, 7));\n return error.stack !== 7;\n});\n","'use strict';\nvar global = require('../internals/global');\nvar apply = require('../internals/function-apply');\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar isCallable = require('../internals/is-callable');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar isForced = require('../internals/is-forced');\nvar path = require('../internals/path');\nvar bind = require('../internals/function-bind-context');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar hasOwn = require('../internals/has-own-property');\n\nvar wrapConstructor = function (NativeConstructor) {\n var Wrapper = function (a, b, c) {\n if (this instanceof Wrapper) {\n switch (arguments.length) {\n case 0: return new NativeConstructor();\n case 1: return new NativeConstructor(a);\n case 2: return new NativeConstructor(a, b);\n } return new NativeConstructor(a, b, c);\n } return apply(NativeConstructor, this, arguments);\n };\n Wrapper.prototype = NativeConstructor.prototype;\n return Wrapper;\n};\n\n/*\n options.target - name of the target object\n options.global - target is the global object\n options.stat - export as static methods of target\n options.proto - export as prototype methods of target\n options.real - real prototype method for the `pure` version\n options.forced - export even if the native feature is available\n options.bind - bind methods to the target, required for the `pure` version\n options.wrap - wrap constructors to preventing global pollution, required for the `pure` version\n options.unsafe - use the simple assignment of property instead of delete + defineProperty\n options.sham - add a flag to not completely full polyfills\n options.enumerable - export as enumerable property\n options.dontCallGetSet - prevent calling a getter on target\n options.name - the .name of the function if it does not match the key\n*/\nmodule.exports = function (options, source) {\n var TARGET = options.target;\n var GLOBAL = options.global;\n var STATIC = options.stat;\n var PROTO = options.proto;\n\n var nativeSource = GLOBAL ? global : STATIC ? global[TARGET] : (global[TARGET] || {}).prototype;\n\n var target = GLOBAL ? path : path[TARGET] || createNonEnumerableProperty(path, TARGET, {})[TARGET];\n var targetPrototype = target.prototype;\n\n var FORCED, USE_NATIVE, VIRTUAL_PROTOTYPE;\n var key, sourceProperty, targetProperty, nativeProperty, resultProperty, descriptor;\n\n for (key in source) {\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n // contains in native\n USE_NATIVE = !FORCED && nativeSource && hasOwn(nativeSource, key);\n\n targetProperty = target[key];\n\n if (USE_NATIVE) if (options.dontCallGetSet) {\n descriptor = getOwnPropertyDescriptor(nativeSource, key);\n nativeProperty = descriptor && descriptor.value;\n } else nativeProperty = nativeSource[key];\n\n // export native or implementation\n sourceProperty = (USE_NATIVE && nativeProperty) ? nativeProperty : source[key];\n\n if (USE_NATIVE && typeof targetProperty == typeof sourceProperty) continue;\n\n // bind methods to global for calling from export context\n if (options.bind && USE_NATIVE) resultProperty = bind(sourceProperty, global);\n // wrap global constructors for prevent changes in this version\n else if (options.wrap && USE_NATIVE) resultProperty = wrapConstructor(sourceProperty);\n // make static versions for prototype methods\n else if (PROTO && isCallable(sourceProperty)) resultProperty = uncurryThis(sourceProperty);\n // default case\n else resultProperty = sourceProperty;\n\n // add a flag to not completely full polyfills\n if (options.sham || (sourceProperty && sourceProperty.sham) || (targetProperty && targetProperty.sham)) {\n createNonEnumerableProperty(resultProperty, 'sham', true);\n }\n\n createNonEnumerableProperty(target, key, resultProperty);\n\n if (PROTO) {\n VIRTUAL_PROTOTYPE = TARGET + 'Prototype';\n if (!hasOwn(path, VIRTUAL_PROTOTYPE)) {\n createNonEnumerableProperty(path, VIRTUAL_PROTOTYPE, {});\n }\n // export virtual prototype methods\n createNonEnumerableProperty(path[VIRTUAL_PROTOTYPE], key, sourceProperty);\n // export real prototype methods\n if (options.real && targetPrototype && (FORCED || !targetPrototype[key])) {\n createNonEnumerableProperty(targetPrototype, key, sourceProperty);\n }\n }\n }\n};\n","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (error) {\n return true;\n }\n};\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-object-isextensible, es/no-object-preventextensions -- required for testing\n return Object.isExtensible(Object.preventExtensions({}));\n});\n","var NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar apply = FunctionPrototype.apply;\nvar call = FunctionPrototype.call;\n\n// eslint-disable-next-line es/no-reflect -- safe\nmodule.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {\n return call.apply(apply, arguments);\n});\n","var uncurryThis = require('../internals/function-uncurry-this-clause');\nvar aCallable = require('../internals/a-callable');\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar bind = uncurryThis(uncurryThis.bind);\n\n// optional / simple context binding\nmodule.exports = function (fn, that) {\n aCallable(fn);\n return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-function-prototype-bind -- safe\n var test = (function () { /* empty */ }).bind();\n // eslint-disable-next-line no-prototype-builtins -- safe\n return typeof test != 'function' || test.hasOwnProperty('prototype');\n});\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\nvar isObject = require('../internals/is-object');\nvar hasOwn = require('../internals/has-own-property');\nvar arraySlice = require('../internals/array-slice');\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar $Function = Function;\nvar concat = uncurryThis([].concat);\nvar join = uncurryThis([].join);\nvar factories = {};\n\nvar construct = function (C, argsLength, args) {\n if (!hasOwn(factories, argsLength)) {\n for (var list = [], i = 0; i < argsLength; i++) list[i] = 'a[' + i + ']';\n factories[argsLength] = $Function('C,a', 'return new C(' + join(list, ',') + ')');\n } return factories[argsLength](C, args);\n};\n\n// `Function.prototype.bind` method implementation\n// https://tc39.es/ecma262/#sec-function.prototype.bind\n// eslint-disable-next-line es/no-function-prototype-bind -- detection\nmodule.exports = NATIVE_BIND ? $Function.bind : function bind(that /* , ...args */) {\n var F = aCallable(this);\n var Prototype = F.prototype;\n var partArgs = arraySlice(arguments, 1);\n var boundFunction = function bound(/* args... */) {\n var args = concat(partArgs, arraySlice(arguments));\n return this instanceof boundFunction ? construct(F, args.length, args) : F.apply(that, args);\n };\n if (isObject(Prototype)) boundFunction.prototype = Prototype;\n return boundFunction;\n};\n","var NATIVE_BIND = require('../internals/function-bind-native');\n\nvar call = Function.prototype.call;\n\nmodule.exports = NATIVE_BIND ? call.bind(call) : function () {\n return call.apply(call, arguments);\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar hasOwn = require('../internals/has-own-property');\n\nvar FunctionPrototype = Function.prototype;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;\n\nvar EXISTS = hasOwn(FunctionPrototype, 'name');\n// additional protection from minified / mangled / dropped function names\nvar PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';\nvar CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));\n\nmodule.exports = {\n EXISTS: EXISTS,\n PROPER: PROPER,\n CONFIGURABLE: CONFIGURABLE\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\n\nmodule.exports = function (object, key, method) {\n try {\n // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\n return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));\n } catch (error) { /* empty */ }\n};\n","var classofRaw = require('../internals/classof-raw');\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = function (fn) {\n // Nashorn bug:\n // https://github.com/zloirock/core-js/issues/1128\n // https://github.com/zloirock/core-js/issues/1130\n if (classofRaw(fn) === 'Function') return uncurryThis(fn);\n};\n","var NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar call = FunctionPrototype.call;\nvar uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);\n\nmodule.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {\n return function () {\n return call.apply(fn, arguments);\n };\n};\n","var path = require('../internals/path');\nvar global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar aFunction = function (variable) {\n return isCallable(variable) ? variable : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global[namespace])\n : path[namespace] && path[namespace][method] || global[namespace] && global[namespace][method];\n};\n","var classof = require('../internals/classof');\nvar getMethod = require('../internals/get-method');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar Iterators = require('../internals/iterators');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\n\nmodule.exports = function (it) {\n if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR)\n || getMethod(it, '@@iterator')\n || Iterators[classof(it)];\n};\n","var call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar tryToString = require('../internals/try-to-string');\nvar getIteratorMethod = require('../internals/get-iterator-method');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (argument, usingIterator) {\n var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;\n if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument));\n throw $TypeError(tryToString(argument) + ' is not iterable');\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar isArray = require('../internals/is-array');\nvar isCallable = require('../internals/is-callable');\nvar classof = require('../internals/classof-raw');\nvar toString = require('../internals/to-string');\n\nvar push = uncurryThis([].push);\n\nmodule.exports = function (replacer) {\n if (isCallable(replacer)) return replacer;\n if (!isArray(replacer)) return;\n var rawLength = replacer.length;\n var keys = [];\n for (var i = 0; i < rawLength; i++) {\n var element = replacer[i];\n if (typeof element == 'string') push(keys, element);\n else if (typeof element == 'number' || classof(element) == 'Number' || classof(element) == 'String') push(keys, toString(element));\n }\n var keysLength = keys.length;\n var root = true;\n return function (key, value) {\n if (root) {\n root = false;\n return value;\n }\n if (isArray(this)) return value;\n for (var j = 0; j < keysLength; j++) if (keys[j] === key) return value;\n };\n};\n","var aCallable = require('../internals/a-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\n\n// `GetMethod` abstract operation\n// https://tc39.es/ecma262/#sec-getmethod\nmodule.exports = function (V, P) {\n var func = V[P];\n return isNullOrUndefined(func) ? undefined : aCallable(func);\n};\n","var check = function (it) {\n return it && it.Math == Math && it;\n};\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nmodule.exports =\n // eslint-disable-next-line es/no-global-this -- safe\n check(typeof globalThis == 'object' && globalThis) ||\n check(typeof window == 'object' && window) ||\n // eslint-disable-next-line no-restricted-globals -- safe\n check(typeof self == 'object' && self) ||\n check(typeof global == 'object' && global) ||\n // eslint-disable-next-line no-new-func -- fallback\n (function () { return this; })() || this || Function('return this')();\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar hasOwnProperty = uncurryThis({}.hasOwnProperty);\n\n// `HasOwnProperty` abstract operation\n// https://tc39.es/ecma262/#sec-hasownproperty\n// eslint-disable-next-line es/no-object-hasown -- safe\nmodule.exports = Object.hasOwn || function hasOwn(it, key) {\n return hasOwnProperty(toObject(it), key);\n};\n","module.exports = {};\n","module.exports = function (a, b) {\n try {\n // eslint-disable-next-line no-console -- safe\n arguments.length == 1 ? console.error(a) : console.error(a, b);\n } catch (error) { /* empty */ }\n};\n","var getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('document', 'documentElement');\n","var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar createElement = require('../internals/document-create-element');\n\n// Thanks to IE8 for its funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(createElement('div'), 'a', {\n get: function () { return 7; }\n }).a != 7;\n});\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar classof = require('../internals/classof-raw');\n\nvar $Object = Object;\nvar split = uncurryThis(''.split);\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nmodule.exports = fails(function () {\n // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n // eslint-disable-next-line no-prototype-builtins -- safe\n return !$Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n return classof(it) == 'String' ? split(it, '') : $Object(it);\n} : $Object;\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar isCallable = require('../internals/is-callable');\nvar store = require('../internals/shared-store');\n\nvar functionToString = uncurryThis(Function.toString);\n\n// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper\nif (!isCallable(store.inspectSource)) {\n store.inspectSource = function (it) {\n return functionToString(it);\n };\n}\n\nmodule.exports = store.inspectSource;\n","var isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\n// `InstallErrorCause` abstract operation\n// https://tc39.es/proposal-error-cause/#sec-errorobjects-install-error-cause\nmodule.exports = function (O, options) {\n if (isObject(options) && 'cause' in options) {\n createNonEnumerableProperty(O, 'cause', options.cause);\n }\n};\n","var $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar isObject = require('../internals/is-object');\nvar hasOwn = require('../internals/has-own-property');\nvar defineProperty = require('../internals/object-define-property').f;\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertyNamesExternalModule = require('../internals/object-get-own-property-names-external');\nvar isExtensible = require('../internals/object-is-extensible');\nvar uid = require('../internals/uid');\nvar FREEZING = require('../internals/freezing');\n\nvar REQUIRED = false;\nvar METADATA = uid('meta');\nvar id = 0;\n\nvar setMetadata = function (it) {\n defineProperty(it, METADATA, { value: {\n objectID: 'O' + id++, // object ID\n weakData: {} // weak collections IDs\n } });\n};\n\nvar fastKey = function (it, create) {\n // return a primitive with prefix\n if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if (!hasOwn(it, METADATA)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return 'F';\n // not necessary to add metadata\n if (!create) return 'E';\n // add missing metadata\n setMetadata(it);\n // return object ID\n } return it[METADATA].objectID;\n};\n\nvar getWeakData = function (it, create) {\n if (!hasOwn(it, METADATA)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return true;\n // not necessary to add metadata\n if (!create) return false;\n // add missing metadata\n setMetadata(it);\n // return the store of weak collections IDs\n } return it[METADATA].weakData;\n};\n\n// add metadata on freeze-family methods calling\nvar onFreeze = function (it) {\n if (FREEZING && REQUIRED && isExtensible(it) && !hasOwn(it, METADATA)) setMetadata(it);\n return it;\n};\n\nvar enable = function () {\n meta.enable = function () { /* empty */ };\n REQUIRED = true;\n var getOwnPropertyNames = getOwnPropertyNamesModule.f;\n var splice = uncurryThis([].splice);\n var test = {};\n test[METADATA] = 1;\n\n // prevent exposing of metadata key\n if (getOwnPropertyNames(test).length) {\n getOwnPropertyNamesModule.f = function (it) {\n var result = getOwnPropertyNames(it);\n for (var i = 0, length = result.length; i < length; i++) {\n if (result[i] === METADATA) {\n splice(result, i, 1);\n break;\n }\n } return result;\n };\n\n $({ target: 'Object', stat: true, forced: true }, {\n getOwnPropertyNames: getOwnPropertyNamesExternalModule.f\n });\n }\n};\n\nvar meta = module.exports = {\n enable: enable,\n fastKey: fastKey,\n getWeakData: getWeakData,\n onFreeze: onFreeze\n};\n\nhiddenKeys[METADATA] = true;\n","var NATIVE_WEAK_MAP = require('../internals/weak-map-basic-detection');\nvar global = require('../internals/global');\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar hasOwn = require('../internals/has-own-property');\nvar shared = require('../internals/shared-store');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar OBJECT_ALREADY_INITIALIZED = 'Object already initialized';\nvar TypeError = global.TypeError;\nvar WeakMap = global.WeakMap;\nvar set, get, has;\n\nvar enforce = function (it) {\n return has(it) ? get(it) : set(it, {});\n};\n\nvar getterFor = function (TYPE) {\n return function (it) {\n var state;\n if (!isObject(it) || (state = get(it)).type !== TYPE) {\n throw TypeError('Incompatible receiver, ' + TYPE + ' required');\n } return state;\n };\n};\n\nif (NATIVE_WEAK_MAP || shared.state) {\n var store = shared.state || (shared.state = new WeakMap());\n /* eslint-disable no-self-assign -- prototype methods protection */\n store.get = store.get;\n store.has = store.has;\n store.set = store.set;\n /* eslint-enable no-self-assign -- prototype methods protection */\n set = function (it, metadata) {\n if (store.has(it)) throw TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n store.set(it, metadata);\n return metadata;\n };\n get = function (it) {\n return store.get(it) || {};\n };\n has = function (it) {\n return store.has(it);\n };\n} else {\n var STATE = sharedKey('state');\n hiddenKeys[STATE] = true;\n set = function (it, metadata) {\n if (hasOwn(it, STATE)) throw TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n createNonEnumerableProperty(it, STATE, metadata);\n return metadata;\n };\n get = function (it) {\n return hasOwn(it, STATE) ? it[STATE] : {};\n };\n has = function (it) {\n return hasOwn(it, STATE);\n };\n}\n\nmodule.exports = {\n set: set,\n get: get,\n has: has,\n enforce: enforce,\n getterFor: getterFor\n};\n","var wellKnownSymbol = require('../internals/well-known-symbol');\nvar Iterators = require('../internals/iterators');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar ArrayPrototype = Array.prototype;\n\n// check on default Array iterator\nmodule.exports = function (it) {\n return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);\n};\n","var classof = require('../internals/classof-raw');\n\n// `IsArray` abstract operation\n// https://tc39.es/ecma262/#sec-isarray\n// eslint-disable-next-line es/no-array-isarray -- safe\nmodule.exports = Array.isArray || function isArray(argument) {\n return classof(argument) == 'Array';\n};\n","var $documentAll = require('../internals/document-all');\n\nvar documentAll = $documentAll.all;\n\n// `IsCallable` abstract operation\n// https://tc39.es/ecma262/#sec-iscallable\nmodule.exports = $documentAll.IS_HTMLDDA ? function (argument) {\n return typeof argument == 'function' || argument === documentAll;\n} : function (argument) {\n return typeof argument == 'function';\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar classof = require('../internals/classof');\nvar getBuiltIn = require('../internals/get-built-in');\nvar inspectSource = require('../internals/inspect-source');\n\nvar noop = function () { /* empty */ };\nvar empty = [];\nvar construct = getBuiltIn('Reflect', 'construct');\nvar constructorRegExp = /^\\s*(?:class|function)\\b/;\nvar exec = uncurryThis(constructorRegExp.exec);\nvar INCORRECT_TO_STRING = !constructorRegExp.exec(noop);\n\nvar isConstructorModern = function isConstructor(argument) {\n if (!isCallable(argument)) return false;\n try {\n construct(noop, empty, argument);\n return true;\n } catch (error) {\n return false;\n }\n};\n\nvar isConstructorLegacy = function isConstructor(argument) {\n if (!isCallable(argument)) return false;\n switch (classof(argument)) {\n case 'AsyncFunction':\n case 'GeneratorFunction':\n case 'AsyncGeneratorFunction': return false;\n }\n try {\n // we can't check .prototype since constructors produced by .bind haven't it\n // `Function#toString` throws on some built-it function in some legacy engines\n // (for example, `DOMQuad` and similar in FF41-)\n return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));\n } catch (error) {\n return true;\n }\n};\n\nisConstructorLegacy.sham = true;\n\n// `IsConstructor` abstract operation\n// https://tc39.es/ecma262/#sec-isconstructor\nmodule.exports = !construct || fails(function () {\n var called;\n return isConstructorModern(isConstructorModern.call)\n || !isConstructorModern(Object)\n || !isConstructorModern(function () { called = true; })\n || called;\n}) ? isConstructorLegacy : isConstructorModern;\n","var fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\n\nvar replacement = /#|\\.prototype\\./;\n\nvar isForced = function (feature, detection) {\n var value = data[normalize(feature)];\n return value == POLYFILL ? true\n : value == NATIVE ? false\n : isCallable(detection) ? fails(detection)\n : !!detection;\n};\n\nvar normalize = isForced.normalize = function (string) {\n return String(string).replace(replacement, '.').toLowerCase();\n};\n\nvar data = isForced.data = {};\nvar NATIVE = isForced.NATIVE = 'N';\nvar POLYFILL = isForced.POLYFILL = 'P';\n\nmodule.exports = isForced;\n","// we can't use just `it == null` since of `document.all` special case\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec\nmodule.exports = function (it) {\n return it === null || it === undefined;\n};\n","var isCallable = require('../internals/is-callable');\nvar $documentAll = require('../internals/document-all');\n\nvar documentAll = $documentAll.all;\n\nmodule.exports = $documentAll.IS_HTMLDDA ? function (it) {\n return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll;\n} : function (it) {\n return typeof it == 'object' ? it !== null : isCallable(it);\n};\n","module.exports = true;\n","var isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\n\n// `IsRegExp` abstract operation\n// https://tc39.es/ecma262/#sec-isregexp\nmodule.exports = function (it) {\n var isRegExp;\n return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) == 'RegExp');\n};\n","var getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar $Object = Object;\n\nmodule.exports = USE_SYMBOL_AS_UID ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n var $Symbol = getBuiltIn('Symbol');\n return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));\n};\n","var bind = require('../internals/function-bind-context');\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar tryToString = require('../internals/try-to-string');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar getIterator = require('../internals/get-iterator');\nvar getIteratorMethod = require('../internals/get-iterator-method');\nvar iteratorClose = require('../internals/iterator-close');\n\nvar $TypeError = TypeError;\n\nvar Result = function (stopped, result) {\n this.stopped = stopped;\n this.result = result;\n};\n\nvar ResultPrototype = Result.prototype;\n\nmodule.exports = function (iterable, unboundFunction, options) {\n var that = options && options.that;\n var AS_ENTRIES = !!(options && options.AS_ENTRIES);\n var IS_RECORD = !!(options && options.IS_RECORD);\n var IS_ITERATOR = !!(options && options.IS_ITERATOR);\n var INTERRUPTED = !!(options && options.INTERRUPTED);\n var fn = bind(unboundFunction, that);\n var iterator, iterFn, index, length, result, next, step;\n\n var stop = function (condition) {\n if (iterator) iteratorClose(iterator, 'normal', condition);\n return new Result(true, condition);\n };\n\n var callFn = function (value) {\n if (AS_ENTRIES) {\n anObject(value);\n return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);\n } return INTERRUPTED ? fn(value, stop) : fn(value);\n };\n\n if (IS_RECORD) {\n iterator = iterable.iterator;\n } else if (IS_ITERATOR) {\n iterator = iterable;\n } else {\n iterFn = getIteratorMethod(iterable);\n if (!iterFn) throw $TypeError(tryToString(iterable) + ' is not iterable');\n // optimisation for array iterators\n if (isArrayIteratorMethod(iterFn)) {\n for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {\n result = callFn(iterable[index]);\n if (result && isPrototypeOf(ResultPrototype, result)) return result;\n } return new Result(false);\n }\n iterator = getIterator(iterable, iterFn);\n }\n\n next = IS_RECORD ? iterable.next : iterator.next;\n while (!(step = call(next, iterator)).done) {\n try {\n result = callFn(step.value);\n } catch (error) {\n iteratorClose(iterator, 'throw', error);\n }\n if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;\n } return new Result(false);\n};\n","var call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar getMethod = require('../internals/get-method');\n\nmodule.exports = function (iterator, kind, value) {\n var innerResult, innerError;\n anObject(iterator);\n try {\n innerResult = getMethod(iterator, 'return');\n if (!innerResult) {\n if (kind === 'throw') throw value;\n return value;\n }\n innerResult = call(innerResult, iterator);\n } catch (error) {\n innerError = true;\n innerResult = error;\n }\n if (kind === 'throw') throw value;\n if (innerError) throw innerResult;\n anObject(innerResult);\n return value;\n};\n","'use strict';\nvar IteratorPrototype = require('../internals/iterators-core').IteratorPrototype;\nvar create = require('../internals/object-create');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar Iterators = require('../internals/iterators');\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {\n var TO_STRING_TAG = NAME + ' Iterator';\n IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });\n setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true);\n Iterators[TO_STRING_TAG] = returnThis;\n return IteratorConstructor;\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar IS_PURE = require('../internals/is-pure');\nvar FunctionName = require('../internals/function-name');\nvar isCallable = require('../internals/is-callable');\nvar createIteratorConstructor = require('../internals/iterator-create-constructor');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar Iterators = require('../internals/iterators');\nvar IteratorsCore = require('../internals/iterators-core');\n\nvar PROPER_FUNCTION_NAME = FunctionName.PROPER;\nvar CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;\nvar IteratorPrototype = IteratorsCore.IteratorPrototype;\nvar BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;\nvar ITERATOR = wellKnownSymbol('iterator');\nvar KEYS = 'keys';\nvar VALUES = 'values';\nvar ENTRIES = 'entries';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {\n createIteratorConstructor(IteratorConstructor, NAME, next);\n\n var getIterationMethod = function (KIND) {\n if (KIND === DEFAULT && defaultIterator) return defaultIterator;\n if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND];\n switch (KIND) {\n case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };\n case VALUES: return function values() { return new IteratorConstructor(this, KIND); };\n case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };\n } return function () { return new IteratorConstructor(this); };\n };\n\n var TO_STRING_TAG = NAME + ' Iterator';\n var INCORRECT_VALUES_NAME = false;\n var IterablePrototype = Iterable.prototype;\n var nativeIterator = IterablePrototype[ITERATOR]\n || IterablePrototype['@@iterator']\n || DEFAULT && IterablePrototype[DEFAULT];\n var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);\n var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;\n var CurrentIteratorPrototype, methods, KEY;\n\n // fix native\n if (anyNativeIterator) {\n CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));\n if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {\n if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {\n if (setPrototypeOf) {\n setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);\n } else if (!isCallable(CurrentIteratorPrototype[ITERATOR])) {\n defineBuiltIn(CurrentIteratorPrototype, ITERATOR, returnThis);\n }\n }\n // Set @@toStringTag to native iterators\n setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true);\n if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis;\n }\n }\n\n // fix Array.prototype.{ values, @@iterator }.name in V8 / FF\n if (PROPER_FUNCTION_NAME && DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) {\n if (!IS_PURE && CONFIGURABLE_FUNCTION_NAME) {\n createNonEnumerableProperty(IterablePrototype, 'name', VALUES);\n } else {\n INCORRECT_VALUES_NAME = true;\n defaultIterator = function values() { return call(nativeIterator, this); };\n }\n }\n\n // export additional methods\n if (DEFAULT) {\n methods = {\n values: getIterationMethod(VALUES),\n keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),\n entries: getIterationMethod(ENTRIES)\n };\n if (FORCED) for (KEY in methods) {\n if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {\n defineBuiltIn(IterablePrototype, KEY, methods[KEY]);\n }\n } else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);\n }\n\n // define iterator\n if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) {\n defineBuiltIn(IterablePrototype, ITERATOR, defaultIterator, { name: DEFAULT });\n }\n Iterators[NAME] = defaultIterator;\n\n return methods;\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar create = require('../internals/object-create');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar BUGGY_SAFARI_ITERATORS = false;\n\n// `%IteratorPrototype%` object\n// https://tc39.es/ecma262/#sec-%iteratorprototype%-object\nvar IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;\n\n/* eslint-disable es/no-array-prototype-keys -- safe */\nif ([].keys) {\n arrayIterator = [].keys();\n // Safari 8 has buggy iterators w/o `next`\n if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;\n else {\n PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));\n if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;\n }\n}\n\nvar NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype) || fails(function () {\n var test = {};\n // FF44- legacy iterators case\n return IteratorPrototype[ITERATOR].call(test) !== test;\n});\n\nif (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {};\nelse if (IS_PURE) IteratorPrototype = create(IteratorPrototype);\n\n// `%IteratorPrototype%[@@iterator]()` method\n// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator\nif (!isCallable(IteratorPrototype[ITERATOR])) {\n defineBuiltIn(IteratorPrototype, ITERATOR, function () {\n return this;\n });\n}\n\nmodule.exports = {\n IteratorPrototype: IteratorPrototype,\n BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS\n};\n","module.exports = {};\n","var toLength = require('../internals/to-length');\n\n// `LengthOfArrayLike` abstract operation\n// https://tc39.es/ecma262/#sec-lengthofarraylike\nmodule.exports = function (obj) {\n return toLength(obj.length);\n};\n","var ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `Math.trunc` method\n// https://tc39.es/ecma262/#sec-math.trunc\n// eslint-disable-next-line es/no-math-trunc -- safe\nmodule.exports = Math.trunc || function trunc(x) {\n var n = +x;\n return (n > 0 ? floor : ceil)(n);\n};\n","var global = require('../internals/global');\nvar bind = require('../internals/function-bind-context');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar macrotask = require('../internals/task').set;\nvar Queue = require('../internals/queue');\nvar IS_IOS = require('../internals/engine-is-ios');\nvar IS_IOS_PEBBLE = require('../internals/engine-is-ios-pebble');\nvar IS_WEBOS_WEBKIT = require('../internals/engine-is-webos-webkit');\nvar IS_NODE = require('../internals/engine-is-node');\n\nvar MutationObserver = global.MutationObserver || global.WebKitMutationObserver;\nvar document = global.document;\nvar process = global.process;\nvar Promise = global.Promise;\n// Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`\nvar queueMicrotaskDescriptor = getOwnPropertyDescriptor(global, 'queueMicrotask');\nvar microtask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;\nvar notify, toggle, node, promise, then;\n\n// modern engines have queueMicrotask method\nif (!microtask) {\n var queue = new Queue();\n\n var flush = function () {\n var parent, fn;\n if (IS_NODE && (parent = process.domain)) parent.exit();\n while (fn = queue.get()) try {\n fn();\n } catch (error) {\n if (queue.head) notify();\n throw error;\n }\n if (parent) parent.enter();\n };\n\n // browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339\n // also except WebOS Webkit https://github.com/zloirock/core-js/issues/898\n if (!IS_IOS && !IS_NODE && !IS_WEBOS_WEBKIT && MutationObserver && document) {\n toggle = true;\n node = document.createTextNode('');\n new MutationObserver(flush).observe(node, { characterData: true });\n notify = function () {\n node.data = toggle = !toggle;\n };\n // environments with maybe non-completely correct, but existent Promise\n } else if (!IS_IOS_PEBBLE && Promise && Promise.resolve) {\n // Promise.resolve without an argument throws an error in LG WebOS 2\n promise = Promise.resolve(undefined);\n // workaround of WebKit ~ iOS Safari 10.1 bug\n promise.constructor = Promise;\n then = bind(promise.then, promise);\n notify = function () {\n then(flush);\n };\n // Node.js without promises\n } else if (IS_NODE) {\n notify = function () {\n process.nextTick(flush);\n };\n // for other environments - macrotask based on:\n // - setImmediate\n // - MessageChannel\n // - window.postMessage\n // - onreadystatechange\n // - setTimeout\n } else {\n // `webpack` dev server bug on IE global methods - use bind(fn, global)\n macrotask = bind(macrotask, global);\n notify = function () {\n macrotask(flush);\n };\n }\n\n microtask = function (fn) {\n if (!queue.head) notify();\n queue.add(fn);\n };\n}\n\nmodule.exports = microtask;\n","'use strict';\nvar aCallable = require('../internals/a-callable');\n\nvar $TypeError = TypeError;\n\nvar PromiseCapability = function (C) {\n var resolve, reject;\n this.promise = new C(function ($$resolve, $$reject) {\n if (resolve !== undefined || reject !== undefined) throw $TypeError('Bad Promise constructor');\n resolve = $$resolve;\n reject = $$reject;\n });\n this.resolve = aCallable(resolve);\n this.reject = aCallable(reject);\n};\n\n// `NewPromiseCapability` abstract operation\n// https://tc39.es/ecma262/#sec-newpromisecapability\nmodule.exports.f = function (C) {\n return new PromiseCapability(C);\n};\n","var toString = require('../internals/to-string');\n\nmodule.exports = function (argument, $default) {\n return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument);\n};\n","var isRegExp = require('../internals/is-regexp');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (it) {\n if (isRegExp(it)) {\n throw $TypeError(\"The method doesn't accept regular expressions\");\n } return it;\n};\n","var global = require('../internals/global');\nvar fails = require('../internals/fails');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toString = require('../internals/to-string');\nvar trim = require('../internals/string-trim').trim;\nvar whitespaces = require('../internals/whitespaces');\n\nvar charAt = uncurryThis(''.charAt);\nvar $parseFloat = global.parseFloat;\nvar Symbol = global.Symbol;\nvar ITERATOR = Symbol && Symbol.iterator;\nvar FORCED = 1 / $parseFloat(whitespaces + '-0') !== -Infinity\n // MS Edge 18- broken with boxed symbols\n || (ITERATOR && !fails(function () { $parseFloat(Object(ITERATOR)); }));\n\n// `parseFloat` method\n// https://tc39.es/ecma262/#sec-parsefloat-string\nmodule.exports = FORCED ? function parseFloat(string) {\n var trimmedString = trim(toString(string));\n var result = $parseFloat(trimmedString);\n return result === 0 && charAt(trimmedString, 0) == '-' ? -0 : result;\n} : $parseFloat;\n","var global = require('../internals/global');\nvar fails = require('../internals/fails');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toString = require('../internals/to-string');\nvar trim = require('../internals/string-trim').trim;\nvar whitespaces = require('../internals/whitespaces');\n\nvar $parseInt = global.parseInt;\nvar Symbol = global.Symbol;\nvar ITERATOR = Symbol && Symbol.iterator;\nvar hex = /^[+-]?0x/i;\nvar exec = uncurryThis(hex.exec);\nvar FORCED = $parseInt(whitespaces + '08') !== 8 || $parseInt(whitespaces + '0x16') !== 22\n // MS Edge 18- broken with boxed symbols\n || (ITERATOR && !fails(function () { $parseInt(Object(ITERATOR)); }));\n\n// `parseInt` method\n// https://tc39.es/ecma262/#sec-parseint-string-radix\nmodule.exports = FORCED ? function parseInt(string, radix) {\n var S = trim(toString(string));\n return $parseInt(S, (radix >>> 0) || (exec(hex, S) ? 16 : 10));\n} : $parseInt;\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar call = require('../internals/function-call');\nvar fails = require('../internals/fails');\nvar objectKeys = require('../internals/object-keys');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar toObject = require('../internals/to-object');\nvar IndexedObject = require('../internals/indexed-object');\n\n// eslint-disable-next-line es/no-object-assign -- safe\nvar $assign = Object.assign;\n// eslint-disable-next-line es/no-object-defineproperty -- required for testing\nvar defineProperty = Object.defineProperty;\nvar concat = uncurryThis([].concat);\n\n// `Object.assign` method\n// https://tc39.es/ecma262/#sec-object.assign\nmodule.exports = !$assign || fails(function () {\n // should have correct order of operations (Edge bug)\n if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {\n enumerable: true,\n get: function () {\n defineProperty(this, 'b', {\n value: 3,\n enumerable: false\n });\n }\n }), { b: 2 })).b !== 1) return true;\n // should work with symbols and should have deterministic property order (V8 bug)\n var A = {};\n var B = {};\n // eslint-disable-next-line es/no-symbol -- safe\n var symbol = Symbol();\n var alphabet = 'abcdefghijklmnopqrst';\n A[symbol] = 7;\n alphabet.split('').forEach(function (chr) { B[chr] = chr; });\n return $assign({}, A)[symbol] != 7 || objectKeys($assign({}, B)).join('') != alphabet;\n}) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`\n var T = toObject(target);\n var argumentsLength = arguments.length;\n var index = 1;\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n var propertyIsEnumerable = propertyIsEnumerableModule.f;\n while (argumentsLength > index) {\n var S = IndexedObject(arguments[index++]);\n var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);\n var length = keys.length;\n var j = 0;\n var key;\n while (length > j) {\n key = keys[j++];\n if (!DESCRIPTORS || call(propertyIsEnumerable, S, key)) T[key] = S[key];\n }\n } return T;\n} : $assign;\n","/* global ActiveXObject -- old IE, WSH */\nvar anObject = require('../internals/an-object');\nvar definePropertiesModule = require('../internals/object-define-properties');\nvar enumBugKeys = require('../internals/enum-bug-keys');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar html = require('../internals/html');\nvar documentCreateElement = require('../internals/document-create-element');\nvar sharedKey = require('../internals/shared-key');\n\nvar GT = '>';\nvar LT = '<';\nvar PROTOTYPE = 'prototype';\nvar SCRIPT = 'script';\nvar IE_PROTO = sharedKey('IE_PROTO');\n\nvar EmptyConstructor = function () { /* empty */ };\n\nvar scriptTag = function (content) {\n return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;\n};\n\n// Create object with fake `null` prototype: use ActiveX Object with cleared prototype\nvar NullProtoObjectViaActiveX = function (activeXDocument) {\n activeXDocument.write(scriptTag(''));\n activeXDocument.close();\n var temp = activeXDocument.parentWindow.Object;\n activeXDocument = null; // avoid memory leak\n return temp;\n};\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar NullProtoObjectViaIFrame = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = documentCreateElement('iframe');\n var JS = 'java' + SCRIPT + ':';\n var iframeDocument;\n iframe.style.display = 'none';\n html.appendChild(iframe);\n // https://github.com/zloirock/core-js/issues/475\n iframe.src = String(JS);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(scriptTag('document.F=Object'));\n iframeDocument.close();\n return iframeDocument.F;\n};\n\n// Check for document.domain and active x support\n// No need to use active x approach when document.domain is not set\n// see https://github.com/es-shims/es5-shim/issues/150\n// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346\n// avoid IE GC bug\nvar activeXDocument;\nvar NullProtoObject = function () {\n try {\n activeXDocument = new ActiveXObject('htmlfile');\n } catch (error) { /* ignore */ }\n NullProtoObject = typeof document != 'undefined'\n ? document.domain && activeXDocument\n ? NullProtoObjectViaActiveX(activeXDocument) // old IE\n : NullProtoObjectViaIFrame()\n : NullProtoObjectViaActiveX(activeXDocument); // WSH\n var length = enumBugKeys.length;\n while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];\n return NullProtoObject();\n};\n\nhiddenKeys[IE_PROTO] = true;\n\n// `Object.create` method\n// https://tc39.es/ecma262/#sec-object.create\n// eslint-disable-next-line es/no-object-create -- safe\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n EmptyConstructor[PROTOTYPE] = anObject(O);\n result = new EmptyConstructor();\n EmptyConstructor[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = NullProtoObject();\n return Properties === undefined ? result : definePropertiesModule.f(result, Properties);\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar definePropertyModule = require('../internals/object-define-property');\nvar anObject = require('../internals/an-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar objectKeys = require('../internals/object-keys');\n\n// `Object.defineProperties` method\n// https://tc39.es/ecma262/#sec-object.defineproperties\n// eslint-disable-next-line es/no-object-defineproperties -- safe\nexports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var props = toIndexedObject(Properties);\n var keys = objectKeys(Properties);\n var length = keys.length;\n var index = 0;\n var key;\n while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);\n return O;\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar anObject = require('../internals/an-object');\nvar toPropertyKey = require('../internals/to-property-key');\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar $defineProperty = Object.defineProperty;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar ENUMERABLE = 'enumerable';\nvar CONFIGURABLE = 'configurable';\nvar WRITABLE = 'writable';\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {\n var current = $getOwnPropertyDescriptor(O, P);\n if (current && current[WRITABLE]) {\n O[P] = Attributes.value;\n Attributes = {\n configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],\n enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],\n writable: false\n };\n }\n } return $defineProperty(O, P, Attributes);\n} : $defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return $defineProperty(O, P, Attributes);\n } catch (error) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw $TypeError('Accessors not supported');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar call = require('../internals/function-call');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar hasOwn = require('../internals/has-own-property');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\n\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor\nexports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n O = toIndexedObject(O);\n P = toPropertyKey(P);\n if (IE8_DOM_DEFINE) try {\n return $getOwnPropertyDescriptor(O, P);\n } catch (error) { /* empty */ }\n if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);\n};\n","/* eslint-disable es/no-object-getownpropertynames -- safe */\nvar classof = require('../internals/classof-raw');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar $getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar arraySlice = require('../internals/array-slice-simple');\n\nvar windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames\n ? Object.getOwnPropertyNames(window) : [];\n\nvar getWindowNames = function (it) {\n try {\n return $getOwnPropertyNames(it);\n } catch (error) {\n return arraySlice(windowNames);\n }\n};\n\n// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\nmodule.exports.f = function getOwnPropertyNames(it) {\n return windowNames && classof(it) == 'Window'\n ? getWindowNames(it)\n : $getOwnPropertyNames(toIndexedObject(it));\n};\n","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n// eslint-disable-next-line es/no-object-getownpropertynames -- safe\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return internalObjectKeys(O, hiddenKeys);\n};\n","// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe\nexports.f = Object.getOwnPropertySymbols;\n","var hasOwn = require('../internals/has-own-property');\nvar isCallable = require('../internals/is-callable');\nvar toObject = require('../internals/to-object');\nvar sharedKey = require('../internals/shared-key');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\nvar IE_PROTO = sharedKey('IE_PROTO');\nvar $Object = Object;\nvar ObjectPrototype = $Object.prototype;\n\n// `Object.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.getprototypeof\n// eslint-disable-next-line es/no-object-getprototypeof -- safe\nmodule.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {\n var object = toObject(O);\n if (hasOwn(object, IE_PROTO)) return object[IE_PROTO];\n var constructor = object.constructor;\n if (isCallable(constructor) && object instanceof constructor) {\n return constructor.prototype;\n } return object instanceof $Object ? ObjectPrototype : null;\n};\n","var fails = require('../internals/fails');\nvar isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar ARRAY_BUFFER_NON_EXTENSIBLE = require('../internals/array-buffer-non-extensible');\n\n// eslint-disable-next-line es/no-object-isextensible -- safe\nvar $isExtensible = Object.isExtensible;\nvar FAILS_ON_PRIMITIVES = fails(function () { $isExtensible(1); });\n\n// `Object.isExtensible` method\n// https://tc39.es/ecma262/#sec-object.isextensible\nmodule.exports = (FAILS_ON_PRIMITIVES || ARRAY_BUFFER_NON_EXTENSIBLE) ? function isExtensible(it) {\n if (!isObject(it)) return false;\n if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) == 'ArrayBuffer') return false;\n return $isExtensible ? $isExtensible(it) : true;\n} : $isExtensible;\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis({}.isPrototypeOf);\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar hasOwn = require('../internals/has-own-property');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar indexOf = require('../internals/array-includes').indexOf;\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar push = uncurryThis([].push);\n\nmodule.exports = function (object, names) {\n var O = toIndexedObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (hasOwn(O, key = names[i++])) {\n ~indexOf(result, key) || push(result, key);\n }\n return result;\n};\n","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\n// eslint-disable-next-line es/no-object-keys -- safe\nmodule.exports = Object.keys || function keys(O) {\n return internalObjectKeys(O, enumBugKeys);\n};\n","'use strict';\nvar $propertyIsEnumerable = {}.propertyIsEnumerable;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Nashorn ~ JDK8 bug\nvar NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);\n\n// `Object.prototype.propertyIsEnumerable` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable\nexports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\n var descriptor = getOwnPropertyDescriptor(this, V);\n return !!descriptor && descriptor.enumerable;\n} : $propertyIsEnumerable;\n","/* eslint-disable no-proto -- safe */\nvar uncurryThisAccessor = require('../internals/function-uncurry-this-accessor');\nvar anObject = require('../internals/an-object');\nvar aPossiblePrototype = require('../internals/a-possible-prototype');\n\n// `Object.setPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.setprototypeof\n// Works with __proto__ only. Old v8 can't work with null proto objects.\n// eslint-disable-next-line es/no-object-setprototypeof -- safe\nmodule.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {\n var CORRECT_SETTER = false;\n var test = {};\n var setter;\n try {\n setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set');\n setter(test, []);\n CORRECT_SETTER = test instanceof Array;\n } catch (error) { /* empty */ }\n return function setPrototypeOf(O, proto) {\n anObject(O);\n aPossiblePrototype(proto);\n if (CORRECT_SETTER) setter(O, proto);\n else O.__proto__ = proto;\n return O;\n };\n}() : undefined);\n","var DESCRIPTORS = require('../internals/descriptors');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar objectKeys = require('../internals/object-keys');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar $propertyIsEnumerable = require('../internals/object-property-is-enumerable').f;\n\nvar propertyIsEnumerable = uncurryThis($propertyIsEnumerable);\nvar push = uncurryThis([].push);\n\n// `Object.{ entries, values }` methods implementation\nvar createMethod = function (TO_ENTRIES) {\n return function (it) {\n var O = toIndexedObject(it);\n var keys = objectKeys(O);\n var length = keys.length;\n var i = 0;\n var result = [];\n var key;\n while (length > i) {\n key = keys[i++];\n if (!DESCRIPTORS || propertyIsEnumerable(O, key)) {\n push(result, TO_ENTRIES ? [key, O[key]] : O[key]);\n }\n }\n return result;\n };\n};\n\nmodule.exports = {\n // `Object.entries` method\n // https://tc39.es/ecma262/#sec-object.entries\n entries: createMethod(true),\n // `Object.values` method\n // https://tc39.es/ecma262/#sec-object.values\n values: createMethod(false)\n};\n","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar classof = require('../internals/classof');\n\n// `Object.prototype.toString` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.tostring\nmodule.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() {\n return '[object ' + classof(this) + ']';\n};\n","var call = require('../internals/function-call');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\n\nvar $TypeError = TypeError;\n\n// `OrdinaryToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-ordinarytoprimitive\nmodule.exports = function (input, pref) {\n var fn, val;\n if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;\n if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n throw $TypeError(\"Can't convert object to primitive value\");\n};\n","var getBuiltIn = require('../internals/get-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar anObject = require('../internals/an-object');\n\nvar concat = uncurryThis([].concat);\n\n// all object keys, includes non-enumerable and symbols\nmodule.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\n var keys = getOwnPropertyNamesModule.f(anObject(it));\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;\n};\n","module.exports = {};\n","module.exports = function (exec) {\n try {\n return { error: false, value: exec() };\n } catch (error) {\n return { error: true, value: error };\n }\n};\n","var global = require('../internals/global');\nvar NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar isCallable = require('../internals/is-callable');\nvar isForced = require('../internals/is-forced');\nvar inspectSource = require('../internals/inspect-source');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_BROWSER = require('../internals/engine-is-browser');\nvar IS_DENO = require('../internals/engine-is-deno');\nvar IS_PURE = require('../internals/is-pure');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;\nvar SPECIES = wellKnownSymbol('species');\nvar SUBCLASSING = false;\nvar NATIVE_PROMISE_REJECTION_EVENT = isCallable(global.PromiseRejectionEvent);\n\nvar FORCED_PROMISE_CONSTRUCTOR = isForced('Promise', function () {\n var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor);\n var GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(NativePromiseConstructor);\n // V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables\n // https://bugs.chromium.org/p/chromium/issues/detail?id=830565\n // We can't detect it synchronously, so just check versions\n if (!GLOBAL_CORE_JS_PROMISE && V8_VERSION === 66) return true;\n // We need Promise#{ catch, finally } in the pure version for preventing prototype pollution\n if (IS_PURE && !(NativePromisePrototype['catch'] && NativePromisePrototype['finally'])) return true;\n // We can't use @@species feature detection in V8 since it causes\n // deoptimization and performance degradation\n // https://github.com/zloirock/core-js/issues/679\n if (!V8_VERSION || V8_VERSION < 51 || !/native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) {\n // Detect correctness of subclassing with @@species support\n var promise = new NativePromiseConstructor(function (resolve) { resolve(1); });\n var FakePromise = function (exec) {\n exec(function () { /* empty */ }, function () { /* empty */ });\n };\n var constructor = promise.constructor = {};\n constructor[SPECIES] = FakePromise;\n SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise;\n if (!SUBCLASSING) return true;\n // Unhandled rejections tracking support, NodeJS Promise without it fails @@species test\n } return !GLOBAL_CORE_JS_PROMISE && (IS_BROWSER || IS_DENO) && !NATIVE_PROMISE_REJECTION_EVENT;\n});\n\nmodule.exports = {\n CONSTRUCTOR: FORCED_PROMISE_CONSTRUCTOR,\n REJECTION_EVENT: NATIVE_PROMISE_REJECTION_EVENT,\n SUBCLASSING: SUBCLASSING\n};\n","var global = require('../internals/global');\n\nmodule.exports = global.Promise;\n","var anObject = require('../internals/an-object');\nvar isObject = require('../internals/is-object');\nvar newPromiseCapability = require('../internals/new-promise-capability');\n\nmodule.exports = function (C, x) {\n anObject(C);\n if (isObject(x) && x.constructor === C) return x;\n var promiseCapability = newPromiseCapability.f(C);\n var resolve = promiseCapability.resolve;\n resolve(x);\n return promiseCapability.promise;\n};\n","var NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\nvar FORCED_PROMISE_CONSTRUCTOR = require('../internals/promise-constructor-detection').CONSTRUCTOR;\n\nmodule.exports = FORCED_PROMISE_CONSTRUCTOR || !checkCorrectnessOfIteration(function (iterable) {\n NativePromiseConstructor.all(iterable).then(undefined, function () { /* empty */ });\n});\n","var Queue = function () {\n this.head = null;\n this.tail = null;\n};\n\nQueue.prototype = {\n add: function (item) {\n var entry = { item: item, next: null };\n var tail = this.tail;\n if (tail) tail.next = entry;\n else this.head = entry;\n this.tail = entry;\n },\n get: function () {\n var entry = this.head;\n if (entry) {\n var next = this.head = entry.next;\n if (next === null) this.tail = null;\n return entry.item;\n }\n }\n};\n\nmodule.exports = Queue;\n","var isNullOrUndefined = require('../internals/is-null-or-undefined');\n\nvar $TypeError = TypeError;\n\n// `RequireObjectCoercible` abstract operation\n// https://tc39.es/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n if (isNullOrUndefined(it)) throw $TypeError(\"Can't call method on \" + it);\n return it;\n};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar DESCRIPTORS = require('../internals/descriptors');\n\nvar SPECIES = wellKnownSymbol('species');\n\nmodule.exports = function (CONSTRUCTOR_NAME) {\n var Constructor = getBuiltIn(CONSTRUCTOR_NAME);\n\n if (DESCRIPTORS && Constructor && !Constructor[SPECIES]) {\n defineBuiltInAccessor(Constructor, SPECIES, {\n configurable: true,\n get: function () { return this; }\n });\n }\n};\n","var TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar defineProperty = require('../internals/object-define-property').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar hasOwn = require('../internals/has-own-property');\nvar toString = require('../internals/object-to-string');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\n\nmodule.exports = function (it, TAG, STATIC, SET_METHOD) {\n if (it) {\n var target = STATIC ? it : it.prototype;\n if (!hasOwn(target, TO_STRING_TAG)) {\n defineProperty(target, TO_STRING_TAG, { configurable: true, value: TAG });\n }\n if (SET_METHOD && !TO_STRING_TAG_SUPPORT) {\n createNonEnumerableProperty(target, 'toString', toString);\n }\n }\n};\n","var shared = require('../internals/shared');\nvar uid = require('../internals/uid');\n\nvar keys = shared('keys');\n\nmodule.exports = function (key) {\n return keys[key] || (keys[key] = uid(key));\n};\n","var global = require('../internals/global');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || defineGlobalProperty(SHARED, {});\n\nmodule.exports = store;\n","var IS_PURE = require('../internals/is-pure');\nvar store = require('../internals/shared-store');\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: '3.30.2',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',\n license: 'https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE',\n source: 'https://github.com/zloirock/core-js'\n});\n","var anObject = require('../internals/an-object');\nvar aConstructor = require('../internals/a-constructor');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\n\n// `SpeciesConstructor` abstract operation\n// https://tc39.es/ecma262/#sec-speciesconstructor\nmodule.exports = function (O, defaultConstructor) {\n var C = anObject(O).constructor;\n var S;\n return C === undefined || isNullOrUndefined(S = anObject(C)[SPECIES]) ? defaultConstructor : aConstructor(S);\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar charAt = uncurryThis(''.charAt);\nvar charCodeAt = uncurryThis(''.charCodeAt);\nvar stringSlice = uncurryThis(''.slice);\n\nvar createMethod = function (CONVERT_TO_STRING) {\n return function ($this, pos) {\n var S = toString(requireObjectCoercible($this));\n var position = toIntegerOrInfinity(pos);\n var size = S.length;\n var first, second;\n if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;\n first = charCodeAt(S, position);\n return first < 0xD800 || first > 0xDBFF || position + 1 === size\n || (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF\n ? CONVERT_TO_STRING\n ? charAt(S, position)\n : first\n : CONVERT_TO_STRING\n ? stringSlice(S, position, position + 2)\n : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;\n };\n};\n\nmodule.exports = {\n // `String.prototype.codePointAt` method\n // https://tc39.es/ecma262/#sec-string.prototype.codepointat\n codeAt: createMethod(false),\n // `String.prototype.at` method\n // https://github.com/mathiasbynens/String.prototype.at\n charAt: createMethod(true)\n};\n","var PROPER_FUNCTION_NAME = require('../internals/function-name').PROPER;\nvar fails = require('../internals/fails');\nvar whitespaces = require('../internals/whitespaces');\n\nvar non = '\\u200B\\u0085\\u180E';\n\n// check that a method works with the correct list\n// of whitespaces and has a correct name\nmodule.exports = function (METHOD_NAME) {\n return fails(function () {\n return !!whitespaces[METHOD_NAME]()\n || non[METHOD_NAME]() !== non\n || (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME);\n });\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toString = require('../internals/to-string');\nvar whitespaces = require('../internals/whitespaces');\n\nvar replace = uncurryThis(''.replace);\nvar ltrim = RegExp('^[' + whitespaces + ']+');\nvar rtrim = RegExp('(^|[^' + whitespaces + '])[' + whitespaces + ']+$');\n\n// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation\nvar createMethod = function (TYPE) {\n return function ($this) {\n var string = toString(requireObjectCoercible($this));\n if (TYPE & 1) string = replace(string, ltrim, '');\n if (TYPE & 2) string = replace(string, rtrim, '$1');\n return string;\n };\n};\n\nmodule.exports = {\n // `String.prototype.{ trimLeft, trimStart }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimstart\n start: createMethod(1),\n // `String.prototype.{ trimRight, trimEnd }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimend\n end: createMethod(2),\n // `String.prototype.trim` method\n // https://tc39.es/ecma262/#sec-string.prototype.trim\n trim: createMethod(3)\n};\n","/* eslint-disable es/no-symbol -- required for testing */\nvar V8_VERSION = require('../internals/engine-v8-version');\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\n\nvar $String = global.String;\n\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n var symbol = Symbol();\n // Chrome 38 Symbol has incorrect toString conversion\n // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances\n // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,\n // of course, fail.\n return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||\n // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances\n !Symbol.sham && V8_VERSION && V8_VERSION < 41;\n});\n","var call = require('../internals/function-call');\nvar getBuiltIn = require('../internals/get-built-in');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar defineBuiltIn = require('../internals/define-built-in');\n\nmodule.exports = function () {\n var Symbol = getBuiltIn('Symbol');\n var SymbolPrototype = Symbol && Symbol.prototype;\n var valueOf = SymbolPrototype && SymbolPrototype.valueOf;\n var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\n if (SymbolPrototype && !SymbolPrototype[TO_PRIMITIVE]) {\n // `Symbol.prototype[@@toPrimitive]` method\n // https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive\n // eslint-disable-next-line no-unused-vars -- required for .length\n defineBuiltIn(SymbolPrototype, TO_PRIMITIVE, function (hint) {\n return call(valueOf, this);\n }, { arity: 1 });\n }\n};\n","var NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\n\n/* eslint-disable es/no-symbol -- safe */\nmodule.exports = NATIVE_SYMBOL && !!Symbol['for'] && !!Symbol.keyFor;\n","var global = require('../internals/global');\nvar apply = require('../internals/function-apply');\nvar bind = require('../internals/function-bind-context');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar fails = require('../internals/fails');\nvar html = require('../internals/html');\nvar arraySlice = require('../internals/array-slice');\nvar createElement = require('../internals/document-create-element');\nvar validateArgumentsLength = require('../internals/validate-arguments-length');\nvar IS_IOS = require('../internals/engine-is-ios');\nvar IS_NODE = require('../internals/engine-is-node');\n\nvar set = global.setImmediate;\nvar clear = global.clearImmediate;\nvar process = global.process;\nvar Dispatch = global.Dispatch;\nvar Function = global.Function;\nvar MessageChannel = global.MessageChannel;\nvar String = global.String;\nvar counter = 0;\nvar queue = {};\nvar ONREADYSTATECHANGE = 'onreadystatechange';\nvar $location, defer, channel, port;\n\nfails(function () {\n // Deno throws a ReferenceError on `location` access without `--location` flag\n $location = global.location;\n});\n\nvar run = function (id) {\n if (hasOwn(queue, id)) {\n var fn = queue[id];\n delete queue[id];\n fn();\n }\n};\n\nvar runner = function (id) {\n return function () {\n run(id);\n };\n};\n\nvar eventListener = function (event) {\n run(event.data);\n};\n\nvar globalPostMessageDefer = function (id) {\n // old engines have not location.origin\n global.postMessage(String(id), $location.protocol + '//' + $location.host);\n};\n\n// Node.js 0.9+ & IE10+ has setImmediate, otherwise:\nif (!set || !clear) {\n set = function setImmediate(handler) {\n validateArgumentsLength(arguments.length, 1);\n var fn = isCallable(handler) ? handler : Function(handler);\n var args = arraySlice(arguments, 1);\n queue[++counter] = function () {\n apply(fn, undefined, args);\n };\n defer(counter);\n return counter;\n };\n clear = function clearImmediate(id) {\n delete queue[id];\n };\n // Node.js 0.8-\n if (IS_NODE) {\n defer = function (id) {\n process.nextTick(runner(id));\n };\n // Sphere (JS game engine) Dispatch API\n } else if (Dispatch && Dispatch.now) {\n defer = function (id) {\n Dispatch.now(runner(id));\n };\n // Browsers with MessageChannel, includes WebWorkers\n // except iOS - https://github.com/zloirock/core-js/issues/624\n } else if (MessageChannel && !IS_IOS) {\n channel = new MessageChannel();\n port = channel.port2;\n channel.port1.onmessage = eventListener;\n defer = bind(port.postMessage, port);\n // Browsers with postMessage, skip WebWorkers\n // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'\n } else if (\n global.addEventListener &&\n isCallable(global.postMessage) &&\n !global.importScripts &&\n $location && $location.protocol !== 'file:' &&\n !fails(globalPostMessageDefer)\n ) {\n defer = globalPostMessageDefer;\n global.addEventListener('message', eventListener, false);\n // IE8-\n } else if (ONREADYSTATECHANGE in createElement('script')) {\n defer = function (id) {\n html.appendChild(createElement('script'))[ONREADYSTATECHANGE] = function () {\n html.removeChild(this);\n run(id);\n };\n };\n // Rest old browsers\n } else {\n defer = function (id) {\n setTimeout(runner(id), 0);\n };\n }\n}\n\nmodule.exports = {\n set: set,\n clear: clear\n};\n","var toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n var integer = toIntegerOrInfinity(index);\n return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n","// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = require('../internals/indexed-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nmodule.exports = function (it) {\n return IndexedObject(requireObjectCoercible(it));\n};\n","var trunc = require('../internals/math-trunc');\n\n// `ToIntegerOrInfinity` abstract operation\n// https://tc39.es/ecma262/#sec-tointegerorinfinity\nmodule.exports = function (argument) {\n var number = +argument;\n // eslint-disable-next-line no-self-compare -- NaN check\n return number !== number || number === 0 ? 0 : trunc(number);\n};\n","var toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.es/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n","var requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar $Object = Object;\n\n// `ToObject` abstract operation\n// https://tc39.es/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n return $Object(requireObjectCoercible(argument));\n};\n","var call = require('../internals/function-call');\nvar isObject = require('../internals/is-object');\nvar isSymbol = require('../internals/is-symbol');\nvar getMethod = require('../internals/get-method');\nvar ordinaryToPrimitive = require('../internals/ordinary-to-primitive');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar $TypeError = TypeError;\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\n// `ToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-toprimitive\nmodule.exports = function (input, pref) {\n if (!isObject(input) || isSymbol(input)) return input;\n var exoticToPrim = getMethod(input, TO_PRIMITIVE);\n var result;\n if (exoticToPrim) {\n if (pref === undefined) pref = 'default';\n result = call(exoticToPrim, input, pref);\n if (!isObject(result) || isSymbol(result)) return result;\n throw $TypeError(\"Can't convert object to primitive value\");\n }\n if (pref === undefined) pref = 'number';\n return ordinaryToPrimitive(input, pref);\n};\n","var toPrimitive = require('../internals/to-primitive');\nvar isSymbol = require('../internals/is-symbol');\n\n// `ToPropertyKey` abstract operation\n// https://tc39.es/ecma262/#sec-topropertykey\nmodule.exports = function (argument) {\n var key = toPrimitive(argument, 'string');\n return isSymbol(key) ? key : key + '';\n};\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar test = {};\n\ntest[TO_STRING_TAG] = 'z';\n\nmodule.exports = String(test) === '[object z]';\n","var classof = require('../internals/classof');\n\nvar $String = String;\n\nmodule.exports = function (argument) {\n if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');\n return $String(argument);\n};\n","var $String = String;\n\nmodule.exports = function (argument) {\n try {\n return $String(argument);\n } catch (error) {\n return 'Object';\n }\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nvar id = 0;\nvar postfix = Math.random();\nvar toString = uncurryThis(1.0.toString);\n\nmodule.exports = function (key) {\n return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);\n};\n","/* eslint-disable es/no-symbol -- required for testing */\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\n\nmodule.exports = NATIVE_SYMBOL\n && !Symbol.sham\n && typeof Symbol.iterator == 'symbol';\n","var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\n\n// V8 ~ Chrome 36-\n// https://bugs.chromium.org/p/v8/issues/detail?id=3334\nmodule.exports = DESCRIPTORS && fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(function () { /* empty */ }, 'prototype', {\n value: 42,\n writable: false\n }).prototype != 42;\n});\n","var $TypeError = TypeError;\n\nmodule.exports = function (passed, required) {\n if (passed < required) throw $TypeError('Not enough arguments');\n return passed;\n};\n","var global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar WeakMap = global.WeakMap;\n\nmodule.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));\n","var path = require('../internals/path');\nvar hasOwn = require('../internals/has-own-property');\nvar wrappedWellKnownSymbolModule = require('../internals/well-known-symbol-wrapped');\nvar defineProperty = require('../internals/object-define-property').f;\n\nmodule.exports = function (NAME) {\n var Symbol = path.Symbol || (path.Symbol = {});\n if (!hasOwn(Symbol, NAME)) defineProperty(Symbol, NAME, {\n value: wrappedWellKnownSymbolModule.f(NAME)\n });\n};\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nexports.f = wellKnownSymbol;\n","var global = require('../internals/global');\nvar shared = require('../internals/shared');\nvar hasOwn = require('../internals/has-own-property');\nvar uid = require('../internals/uid');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar Symbol = global.Symbol;\nvar WellKnownSymbolsStore = shared('wks');\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!hasOwn(WellKnownSymbolsStore, name)) {\n WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)\n ? Symbol[name]\n : createWellKnownSymbol('Symbol.' + name);\n } return WellKnownSymbolsStore[name];\n};\n","// a string of all valid unicode whitespaces\nmodule.exports = '\\u0009\\u000A\\u000B\\u000C\\u000D\\u0020\\u00A0\\u1680\\u2000\\u2001\\u2002' +\n '\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF';\n","'use strict';\nvar $ = require('../internals/export');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar create = require('../internals/object-create');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar installErrorCause = require('../internals/install-error-cause');\nvar installErrorStack = require('../internals/error-stack-install');\nvar iterate = require('../internals/iterate');\nvar normalizeStringArgument = require('../internals/normalize-string-argument');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar $Error = Error;\nvar push = [].push;\n\nvar $AggregateError = function AggregateError(errors, message /* , options */) {\n var isInstance = isPrototypeOf(AggregateErrorPrototype, this);\n var that;\n if (setPrototypeOf) {\n that = setPrototypeOf($Error(), isInstance ? getPrototypeOf(this) : AggregateErrorPrototype);\n } else {\n that = isInstance ? this : create(AggregateErrorPrototype);\n createNonEnumerableProperty(that, TO_STRING_TAG, 'Error');\n }\n if (message !== undefined) createNonEnumerableProperty(that, 'message', normalizeStringArgument(message));\n installErrorStack(that, $AggregateError, that.stack, 1);\n if (arguments.length > 2) installErrorCause(that, arguments[2]);\n var errorsArray = [];\n iterate(errors, push, { that: errorsArray });\n createNonEnumerableProperty(that, 'errors', errorsArray);\n return that;\n};\n\nif (setPrototypeOf) setPrototypeOf($AggregateError, $Error);\nelse copyConstructorProperties($AggregateError, $Error, { name: true });\n\nvar AggregateErrorPrototype = $AggregateError.prototype = create($Error.prototype, {\n constructor: createPropertyDescriptor(1, $AggregateError),\n message: createPropertyDescriptor(1, ''),\n name: createPropertyDescriptor(1, 'AggregateError')\n});\n\n// `AggregateError` constructor\n// https://tc39.es/ecma262/#sec-aggregate-error-constructor\n$({ global: true, constructor: true, arity: 2 }, {\n AggregateError: $AggregateError\n});\n","// TODO: Remove this module from `core-js@4` since it's replaced to module below\nrequire('../modules/es.aggregate-error.constructor');\n","'use strict';\nvar $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar isArray = require('../internals/is-array');\nvar isObject = require('../internals/is-object');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar doesNotExceedSafeInteger = require('../internals/does-not-exceed-safe-integer');\nvar createProperty = require('../internals/create-property');\nvar arraySpeciesCreate = require('../internals/array-species-create');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');\n\n// We can't use this feature detection in V8 since it causes\n// deoptimization and serious performance degradation\n// https://github.com/zloirock/core-js/issues/679\nvar IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () {\n var array = [];\n array[IS_CONCAT_SPREADABLE] = false;\n return array.concat()[0] !== array;\n});\n\nvar isConcatSpreadable = function (O) {\n if (!isObject(O)) return false;\n var spreadable = O[IS_CONCAT_SPREADABLE];\n return spreadable !== undefined ? !!spreadable : isArray(O);\n};\n\nvar FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !arrayMethodHasSpeciesSupport('concat');\n\n// `Array.prototype.concat` method\n// https://tc39.es/ecma262/#sec-array.prototype.concat\n// with adding support of @@isConcatSpreadable and @@species\n$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n concat: function concat(arg) {\n var O = toObject(this);\n var A = arraySpeciesCreate(O, 0);\n var n = 0;\n var i, k, length, len, E;\n for (i = -1, length = arguments.length; i < length; i++) {\n E = i === -1 ? O : arguments[i];\n if (isConcatSpreadable(E)) {\n len = lengthOfArrayLike(E);\n doesNotExceedSafeInteger(n + len);\n for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);\n } else {\n doesNotExceedSafeInteger(n + 1);\n createProperty(A, n++, E);\n }\n }\n A.length = n;\n return A;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $filter = require('../internals/array-iteration').filter;\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');\n\n// `Array.prototype.filter` method\n// https://tc39.es/ecma262/#sec-array.prototype.filter\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n filter: function filter(callbackfn /* , thisArg */) {\n return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $find = require('../internals/array-iteration').find;\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\nvar FIND = 'find';\nvar SKIPS_HOLES = true;\n\n// Shouldn't skip holes\n// eslint-disable-next-line es/no-array-prototype-find -- testing\nif (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; });\n\n// `Array.prototype.find` method\n// https://tc39.es/ecma262/#sec-array.prototype.find\n$({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {\n find: function find(callbackfn /* , that = undefined */) {\n return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables(FIND);\n","'use strict';\nvar $ = require('../internals/export');\nvar forEach = require('../internals/array-for-each');\n\n// `Array.prototype.forEach` method\n// https://tc39.es/ecma262/#sec-array.prototype.foreach\n// eslint-disable-next-line es/no-array-prototype-foreach -- safe\n$({ target: 'Array', proto: true, forced: [].forEach != forEach }, {\n forEach: forEach\n});\n","var $ = require('../internals/export');\nvar from = require('../internals/array-from');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\n\nvar INCORRECT_ITERATION = !checkCorrectnessOfIteration(function (iterable) {\n // eslint-disable-next-line es/no-array-from -- required for testing\n Array.from(iterable);\n});\n\n// `Array.from` method\n// https://tc39.es/ecma262/#sec-array.from\n$({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, {\n from: from\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $includes = require('../internals/array-includes').includes;\nvar fails = require('../internals/fails');\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// FF99+ bug\nvar BROKEN_ON_SPARSE = fails(function () {\n // eslint-disable-next-line es/no-array-prototype-includes -- detection\n return !Array(1).includes();\n});\n\n// `Array.prototype.includes` method\n// https://tc39.es/ecma262/#sec-array.prototype.includes\n$({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {\n includes: function includes(el /* , fromIndex = 0 */) {\n return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('includes');\n","'use strict';\n/* eslint-disable es/no-array-prototype-indexof -- required for testing */\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar $indexOf = require('../internals/array-includes').indexOf;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar nativeIndexOf = uncurryThis([].indexOf);\n\nvar NEGATIVE_ZERO = !!nativeIndexOf && 1 / nativeIndexOf([1], 1, -0) < 0;\nvar FORCED = NEGATIVE_ZERO || !arrayMethodIsStrict('indexOf');\n\n// `Array.prototype.indexOf` method\n// https://tc39.es/ecma262/#sec-array.prototype.indexof\n$({ target: 'Array', proto: true, forced: FORCED }, {\n indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {\n var fromIndex = arguments.length > 1 ? arguments[1] : undefined;\n return NEGATIVE_ZERO\n // convert -0 to +0\n ? nativeIndexOf(this, searchElement, fromIndex) || 0\n : $indexOf(this, searchElement, fromIndex);\n }\n});\n","var $ = require('../internals/export');\nvar isArray = require('../internals/is-array');\n\n// `Array.isArray` method\n// https://tc39.es/ecma262/#sec-array.isarray\n$({ target: 'Array', stat: true }, {\n isArray: isArray\n});\n","'use strict';\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar addToUnscopables = require('../internals/add-to-unscopables');\nvar Iterators = require('../internals/iterators');\nvar InternalStateModule = require('../internals/internal-state');\nvar defineProperty = require('../internals/object-define-property').f;\nvar defineIterator = require('../internals/iterator-define');\nvar createIterResultObject = require('../internals/create-iter-result-object');\nvar IS_PURE = require('../internals/is-pure');\nvar DESCRIPTORS = require('../internals/descriptors');\n\nvar ARRAY_ITERATOR = 'Array Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);\n\n// `Array.prototype.entries` method\n// https://tc39.es/ecma262/#sec-array.prototype.entries\n// `Array.prototype.keys` method\n// https://tc39.es/ecma262/#sec-array.prototype.keys\n// `Array.prototype.values` method\n// https://tc39.es/ecma262/#sec-array.prototype.values\n// `Array.prototype[@@iterator]` method\n// https://tc39.es/ecma262/#sec-array.prototype-@@iterator\n// `CreateArrayIterator` internal method\n// https://tc39.es/ecma262/#sec-createarrayiterator\nmodule.exports = defineIterator(Array, 'Array', function (iterated, kind) {\n setInternalState(this, {\n type: ARRAY_ITERATOR,\n target: toIndexedObject(iterated), // target\n index: 0, // next index\n kind: kind // kind\n });\n// `%ArrayIteratorPrototype%.next` method\n// https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next\n}, function () {\n var state = getInternalState(this);\n var target = state.target;\n var kind = state.kind;\n var index = state.index++;\n if (!target || index >= target.length) {\n state.target = undefined;\n return createIterResultObject(undefined, true);\n }\n if (kind == 'keys') return createIterResultObject(index, false);\n if (kind == 'values') return createIterResultObject(target[index], false);\n return createIterResultObject([index, target[index]], false);\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values%\n// https://tc39.es/ecma262/#sec-createunmappedargumentsobject\n// https://tc39.es/ecma262/#sec-createmappedargumentsobject\nvar values = Iterators.Arguments = Iterators.Array;\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n\n// V8 ~ Chrome 45- bug\nif (!IS_PURE && DESCRIPTORS && values.name !== 'values') try {\n defineProperty(values, 'name', { value: 'values' });\n} catch (error) { /* empty */ }\n","var $ = require('../internals/export');\nvar lastIndexOf = require('../internals/array-last-index-of');\n\n// `Array.prototype.lastIndexOf` method\n// https://tc39.es/ecma262/#sec-array.prototype.lastindexof\n// eslint-disable-next-line es/no-array-prototype-lastindexof -- required for testing\n$({ target: 'Array', proto: true, forced: lastIndexOf !== [].lastIndexOf }, {\n lastIndexOf: lastIndexOf\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $map = require('../internals/array-iteration').map;\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map');\n\n// `Array.prototype.map` method\n// https://tc39.es/ecma262/#sec-array.prototype.map\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n map: function map(callbackfn /* , thisArg */) {\n return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar setArrayLength = require('../internals/array-set-length');\nvar doesNotExceedSafeInteger = require('../internals/does-not-exceed-safe-integer');\nvar fails = require('../internals/fails');\n\nvar INCORRECT_TO_LENGTH = fails(function () {\n return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;\n});\n\n// V8 and Safari <= 15.4, FF < 23 throws InternalError\n// https://bugs.chromium.org/p/v8/issues/detail?id=12681\nvar properErrorOnNonWritableLength = function () {\n try {\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty([], 'length', { writable: false }).push();\n } catch (error) {\n return error instanceof TypeError;\n }\n};\n\nvar FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();\n\n// `Array.prototype.push` method\n// https://tc39.es/ecma262/#sec-array.prototype.push\n$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n push: function push(item) {\n var O = toObject(this);\n var len = lengthOfArrayLike(O);\n var argCount = arguments.length;\n doesNotExceedSafeInteger(len + argCount);\n for (var i = 0; i < argCount; i++) {\n O[len] = arguments[i];\n len++;\n }\n setArrayLength(O, len);\n return len;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $reduce = require('../internals/array-reduce').left;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar CHROME_VERSION = require('../internals/engine-v8-version');\nvar IS_NODE = require('../internals/engine-is-node');\n\n// Chrome 80-82 has a critical bug\n// https://bugs.chromium.org/p/chromium/issues/detail?id=1049982\nvar CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83;\nvar FORCED = CHROME_BUG || !arrayMethodIsStrict('reduce');\n\n// `Array.prototype.reduce` method\n// https://tc39.es/ecma262/#sec-array.prototype.reduce\n$({ target: 'Array', proto: true, forced: FORCED }, {\n reduce: function reduce(callbackfn /* , initialValue */) {\n var length = arguments.length;\n return $reduce(this, callbackfn, length, length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isArray = require('../internals/is-array');\n\nvar nativeReverse = uncurryThis([].reverse);\nvar test = [1, 2];\n\n// `Array.prototype.reverse` method\n// https://tc39.es/ecma262/#sec-array.prototype.reverse\n// fix for Safari 12.0 bug\n// https://bugs.webkit.org/show_bug.cgi?id=188794\n$({ target: 'Array', proto: true, forced: String(test) === String(test.reverse()) }, {\n reverse: function reverse() {\n // eslint-disable-next-line no-self-assign -- dirty hack\n if (isArray(this)) this.length = this.length;\n return nativeReverse(this);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar isArray = require('../internals/is-array');\nvar isConstructor = require('../internals/is-constructor');\nvar isObject = require('../internals/is-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar createProperty = require('../internals/create-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar nativeSlice = require('../internals/array-slice');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('slice');\n\nvar SPECIES = wellKnownSymbol('species');\nvar $Array = Array;\nvar max = Math.max;\n\n// `Array.prototype.slice` method\n// https://tc39.es/ecma262/#sec-array.prototype.slice\n// fallback for not array-like ES3 strings and DOM objects\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n slice: function slice(start, end) {\n var O = toIndexedObject(this);\n var length = lengthOfArrayLike(O);\n var k = toAbsoluteIndex(start, length);\n var fin = toAbsoluteIndex(end === undefined ? length : end, length);\n // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible\n var Constructor, result, n;\n if (isArray(O)) {\n Constructor = O.constructor;\n // cross-realm fallback\n if (isConstructor(Constructor) && (Constructor === $Array || isArray(Constructor.prototype))) {\n Constructor = undefined;\n } else if (isObject(Constructor)) {\n Constructor = Constructor[SPECIES];\n if (Constructor === null) Constructor = undefined;\n }\n if (Constructor === $Array || Constructor === undefined) {\n return nativeSlice(O, k, fin);\n }\n }\n result = new (Constructor === undefined ? $Array : Constructor)(max(fin - k, 0));\n for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]);\n result.length = n;\n return result;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar deletePropertyOrThrow = require('../internals/delete-property-or-throw');\nvar toString = require('../internals/to-string');\nvar fails = require('../internals/fails');\nvar internalSort = require('../internals/array-sort');\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar FF = require('../internals/engine-ff-version');\nvar IE_OR_EDGE = require('../internals/engine-is-ie-or-edge');\nvar V8 = require('../internals/engine-v8-version');\nvar WEBKIT = require('../internals/engine-webkit-version');\n\nvar test = [];\nvar nativeSort = uncurryThis(test.sort);\nvar push = uncurryThis(test.push);\n\n// IE8-\nvar FAILS_ON_UNDEFINED = fails(function () {\n test.sort(undefined);\n});\n// V8 bug\nvar FAILS_ON_NULL = fails(function () {\n test.sort(null);\n});\n// Old WebKit\nvar STRICT_METHOD = arrayMethodIsStrict('sort');\n\nvar STABLE_SORT = !fails(function () {\n // feature detection can be too slow, so check engines versions\n if (V8) return V8 < 70;\n if (FF && FF > 3) return;\n if (IE_OR_EDGE) return true;\n if (WEBKIT) return WEBKIT < 603;\n\n var result = '';\n var code, chr, value, index;\n\n // generate an array with more 512 elements (Chakra and old V8 fails only in this case)\n for (code = 65; code < 76; code++) {\n chr = String.fromCharCode(code);\n\n switch (code) {\n case 66: case 69: case 70: case 72: value = 3; break;\n case 68: case 71: value = 4; break;\n default: value = 2;\n }\n\n for (index = 0; index < 47; index++) {\n test.push({ k: chr + index, v: value });\n }\n }\n\n test.sort(function (a, b) { return b.v - a.v; });\n\n for (index = 0; index < test.length; index++) {\n chr = test[index].k.charAt(0);\n if (result.charAt(result.length - 1) !== chr) result += chr;\n }\n\n return result !== 'DGBEFHACIJK';\n});\n\nvar FORCED = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD || !STABLE_SORT;\n\nvar getSortCompare = function (comparefn) {\n return function (x, y) {\n if (y === undefined) return -1;\n if (x === undefined) return 1;\n if (comparefn !== undefined) return +comparefn(x, y) || 0;\n return toString(x) > toString(y) ? 1 : -1;\n };\n};\n\n// `Array.prototype.sort` method\n// https://tc39.es/ecma262/#sec-array.prototype.sort\n$({ target: 'Array', proto: true, forced: FORCED }, {\n sort: function sort(comparefn) {\n if (comparefn !== undefined) aCallable(comparefn);\n\n var array = toObject(this);\n\n if (STABLE_SORT) return comparefn === undefined ? nativeSort(array) : nativeSort(array, comparefn);\n\n var items = [];\n var arrayLength = lengthOfArrayLike(array);\n var itemsLength, index;\n\n for (index = 0; index < arrayLength; index++) {\n if (index in array) push(items, array[index]);\n }\n\n internalSort(items, getSortCompare(comparefn));\n\n itemsLength = lengthOfArrayLike(items);\n index = 0;\n\n while (index < itemsLength) array[index] = items[index++];\n while (index < arrayLength) deletePropertyOrThrow(array, index++);\n\n return array;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar toObject = require('../internals/to-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar setArrayLength = require('../internals/array-set-length');\nvar doesNotExceedSafeInteger = require('../internals/does-not-exceed-safe-integer');\nvar arraySpeciesCreate = require('../internals/array-species-create');\nvar createProperty = require('../internals/create-property');\nvar deletePropertyOrThrow = require('../internals/delete-property-or-throw');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('splice');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// `Array.prototype.splice` method\n// https://tc39.es/ecma262/#sec-array.prototype.splice\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n splice: function splice(start, deleteCount /* , ...items */) {\n var O = toObject(this);\n var len = lengthOfArrayLike(O);\n var actualStart = toAbsoluteIndex(start, len);\n var argumentsLength = arguments.length;\n var insertCount, actualDeleteCount, A, k, from, to;\n if (argumentsLength === 0) {\n insertCount = actualDeleteCount = 0;\n } else if (argumentsLength === 1) {\n insertCount = 0;\n actualDeleteCount = len - actualStart;\n } else {\n insertCount = argumentsLength - 2;\n actualDeleteCount = min(max(toIntegerOrInfinity(deleteCount), 0), len - actualStart);\n }\n doesNotExceedSafeInteger(len + insertCount - actualDeleteCount);\n A = arraySpeciesCreate(O, actualDeleteCount);\n for (k = 0; k < actualDeleteCount; k++) {\n from = actualStart + k;\n if (from in O) createProperty(A, k, O[from]);\n }\n A.length = actualDeleteCount;\n if (insertCount < actualDeleteCount) {\n for (k = actualStart; k < len - actualDeleteCount; k++) {\n from = k + actualDeleteCount;\n to = k + insertCount;\n if (from in O) O[to] = O[from];\n else deletePropertyOrThrow(O, to);\n }\n for (k = len; k > len - actualDeleteCount + insertCount; k--) deletePropertyOrThrow(O, k - 1);\n } else if (insertCount > actualDeleteCount) {\n for (k = len - actualDeleteCount; k > actualStart; k--) {\n from = k + actualDeleteCount - 1;\n to = k + insertCount - 1;\n if (from in O) O[to] = O[from];\n else deletePropertyOrThrow(O, to);\n }\n }\n for (k = 0; k < insertCount; k++) {\n O[k + actualStart] = arguments[k + 2];\n }\n setArrayLength(O, len - actualDeleteCount + insertCount);\n return A;\n }\n});\n","// empty\n","// TODO: Remove from `core-js@4`\nvar $ = require('../internals/export');\nvar bind = require('../internals/function-bind');\n\n// `Function.prototype.bind` method\n// https://tc39.es/ecma262/#sec-function.prototype.bind\n// eslint-disable-next-line es/no-function-prototype-bind -- detection\n$({ target: 'Function', proto: true, forced: Function.bind !== bind }, {\n bind: bind\n});\n","var $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar apply = require('../internals/function-apply');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar isSymbol = require('../internals/is-symbol');\nvar arraySlice = require('../internals/array-slice');\nvar getReplacerFunction = require('../internals/get-json-replacer-function');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\n\nvar $String = String;\nvar $stringify = getBuiltIn('JSON', 'stringify');\nvar exec = uncurryThis(/./.exec);\nvar charAt = uncurryThis(''.charAt);\nvar charCodeAt = uncurryThis(''.charCodeAt);\nvar replace = uncurryThis(''.replace);\nvar numberToString = uncurryThis(1.0.toString);\n\nvar tester = /[\\uD800-\\uDFFF]/g;\nvar low = /^[\\uD800-\\uDBFF]$/;\nvar hi = /^[\\uDC00-\\uDFFF]$/;\n\nvar WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL || fails(function () {\n var symbol = getBuiltIn('Symbol')();\n // MS Edge converts symbol values to JSON as {}\n return $stringify([symbol]) != '[null]'\n // WebKit converts symbol values to JSON as null\n || $stringify({ a: symbol }) != '{}'\n // V8 throws on boxed symbols\n || $stringify(Object(symbol)) != '{}';\n});\n\n// https://github.com/tc39/proposal-well-formed-stringify\nvar ILL_FORMED_UNICODE = fails(function () {\n return $stringify('\\uDF06\\uD834') !== '\"\\\\udf06\\\\ud834\"'\n || $stringify('\\uDEAD') !== '\"\\\\udead\"';\n});\n\nvar stringifyWithSymbolsFix = function (it, replacer) {\n var args = arraySlice(arguments);\n var $replacer = getReplacerFunction(replacer);\n if (!isCallable($replacer) && (it === undefined || isSymbol(it))) return; // IE8 returns string on undefined\n args[1] = function (key, value) {\n // some old implementations (like WebKit) could pass numbers as keys\n if (isCallable($replacer)) value = call($replacer, this, $String(key), value);\n if (!isSymbol(value)) return value;\n };\n return apply($stringify, null, args);\n};\n\nvar fixIllFormed = function (match, offset, string) {\n var prev = charAt(string, offset - 1);\n var next = charAt(string, offset + 1);\n if ((exec(low, match) && !exec(hi, next)) || (exec(hi, match) && !exec(low, prev))) {\n return '\\\\u' + numberToString(charCodeAt(match, 0), 16);\n } return match;\n};\n\nif ($stringify) {\n // `JSON.stringify` method\n // https://tc39.es/ecma262/#sec-json.stringify\n $({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n stringify: function stringify(it, replacer, space) {\n var args = arraySlice(arguments);\n var result = apply(WRONG_SYMBOLS_CONVERSION ? stringifyWithSymbolsFix : $stringify, null, args);\n return ILL_FORMED_UNICODE && typeof result == 'string' ? replace(result, tester, fixIllFormed) : result;\n }\n });\n}\n","var global = require('../internals/global');\nvar setToStringTag = require('../internals/set-to-string-tag');\n\n// JSON[@@toStringTag] property\n// https://tc39.es/ecma262/#sec-json-@@tostringtag\nsetToStringTag(global.JSON, 'JSON', true);\n","'use strict';\nvar collection = require('../internals/collection');\nvar collectionStrong = require('../internals/collection-strong');\n\n// `Map` constructor\n// https://tc39.es/ecma262/#sec-map-objects\ncollection('Map', function (init) {\n return function Map() { return init(this, arguments.length ? arguments[0] : undefined); };\n}, collectionStrong);\n","// TODO: Remove this module from `core-js@4` since it's replaced to module below\nrequire('../modules/es.map.constructor');\n","// empty\n","var $ = require('../internals/export');\nvar assign = require('../internals/object-assign');\n\n// `Object.assign` method\n// https://tc39.es/ecma262/#sec-object.assign\n// eslint-disable-next-line es/no-object-assign -- required for testing\n$({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {\n assign: assign\n});\n","// TODO: Remove from `core-js@4`\nvar $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar create = require('../internals/object-create');\n\n// `Object.create` method\n// https://tc39.es/ecma262/#sec-object.create\n$({ target: 'Object', stat: true, sham: !DESCRIPTORS }, {\n create: create\n});\n","var $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar defineProperty = require('../internals/object-define-property').f;\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\n// eslint-disable-next-line es/no-object-defineproperty -- safe\n$({ target: 'Object', stat: true, forced: Object.defineProperty !== defineProperty, sham: !DESCRIPTORS }, {\n defineProperty: defineProperty\n});\n","var $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar getOwnPropertyNames = require('../internals/object-get-own-property-names-external').f;\n\n// eslint-disable-next-line es/no-object-getownpropertynames -- required for testing\nvar FAILS_ON_PRIMITIVES = fails(function () { return !Object.getOwnPropertyNames(1); });\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {\n getOwnPropertyNames: getOwnPropertyNames\n});\n","var $ = require('../internals/export');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\nvar fails = require('../internals/fails');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar toObject = require('../internals/to-object');\n\n// V8 ~ Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives\n// https://bugs.chromium.org/p/v8/issues/detail?id=3443\nvar FORCED = !NATIVE_SYMBOL || fails(function () { getOwnPropertySymbolsModule.f(1); });\n\n// `Object.getOwnPropertySymbols` method\n// https://tc39.es/ecma262/#sec-object.getownpropertysymbols\n$({ target: 'Object', stat: true, forced: FORCED }, {\n getOwnPropertySymbols: function getOwnPropertySymbols(it) {\n var $getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return $getOwnPropertySymbols ? $getOwnPropertySymbols(toObject(it)) : [];\n }\n});\n","var $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar toObject = require('../internals/to-object');\nvar nativeGetPrototypeOf = require('../internals/object-get-prototype-of');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\nvar FAILS_ON_PRIMITIVES = fails(function () { nativeGetPrototypeOf(1); });\n\n// `Object.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.getprototypeof\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !CORRECT_PROTOTYPE_GETTER }, {\n getPrototypeOf: function getPrototypeOf(it) {\n return nativeGetPrototypeOf(toObject(it));\n }\n});\n\n","var $ = require('../internals/export');\nvar toObject = require('../internals/to-object');\nvar nativeKeys = require('../internals/object-keys');\nvar fails = require('../internals/fails');\n\nvar FAILS_ON_PRIMITIVES = fails(function () { nativeKeys(1); });\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {\n keys: function keys(it) {\n return nativeKeys(toObject(it));\n }\n});\n","var $ = require('../internals/export');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\n\n// `Object.setPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.setprototypeof\n$({ target: 'Object', stat: true }, {\n setPrototypeOf: setPrototypeOf\n});\n","// empty\n","var $ = require('../internals/export');\nvar $values = require('../internals/object-to-array').values;\n\n// `Object.values` method\n// https://tc39.es/ecma262/#sec-object.values\n$({ target: 'Object', stat: true }, {\n values: function values(O) {\n return $values(O);\n }\n});\n","var $ = require('../internals/export');\nvar $parseFloat = require('../internals/number-parse-float');\n\n// `parseFloat` method\n// https://tc39.es/ecma262/#sec-parsefloat-string\n$({ global: true, forced: parseFloat != $parseFloat }, {\n parseFloat: $parseFloat\n});\n","var $ = require('../internals/export');\nvar $parseInt = require('../internals/number-parse-int');\n\n// `parseInt` method\n// https://tc39.es/ecma262/#sec-parseint-string-radix\n$({ global: true, forced: parseInt != $parseInt }, {\n parseInt: $parseInt\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar perform = require('../internals/perform');\nvar iterate = require('../internals/iterate');\nvar PROMISE_STATICS_INCORRECT_ITERATION = require('../internals/promise-statics-incorrect-iteration');\n\n// `Promise.allSettled` method\n// https://tc39.es/ecma262/#sec-promise.allsettled\n$({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {\n allSettled: function allSettled(iterable) {\n var C = this;\n var capability = newPromiseCapabilityModule.f(C);\n var resolve = capability.resolve;\n var reject = capability.reject;\n var result = perform(function () {\n var promiseResolve = aCallable(C.resolve);\n var values = [];\n var counter = 0;\n var remaining = 1;\n iterate(iterable, function (promise) {\n var index = counter++;\n var alreadyCalled = false;\n remaining++;\n call(promiseResolve, C, promise).then(function (value) {\n if (alreadyCalled) return;\n alreadyCalled = true;\n values[index] = { status: 'fulfilled', value: value };\n --remaining || resolve(values);\n }, function (error) {\n if (alreadyCalled) return;\n alreadyCalled = true;\n values[index] = { status: 'rejected', reason: error };\n --remaining || resolve(values);\n });\n });\n --remaining || resolve(values);\n });\n if (result.error) reject(result.value);\n return capability.promise;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar perform = require('../internals/perform');\nvar iterate = require('../internals/iterate');\nvar PROMISE_STATICS_INCORRECT_ITERATION = require('../internals/promise-statics-incorrect-iteration');\n\n// `Promise.all` method\n// https://tc39.es/ecma262/#sec-promise.all\n$({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {\n all: function all(iterable) {\n var C = this;\n var capability = newPromiseCapabilityModule.f(C);\n var resolve = capability.resolve;\n var reject = capability.reject;\n var result = perform(function () {\n var $promiseResolve = aCallable(C.resolve);\n var values = [];\n var counter = 0;\n var remaining = 1;\n iterate(iterable, function (promise) {\n var index = counter++;\n var alreadyCalled = false;\n remaining++;\n call($promiseResolve, C, promise).then(function (value) {\n if (alreadyCalled) return;\n alreadyCalled = true;\n values[index] = value;\n --remaining || resolve(values);\n }, reject);\n });\n --remaining || resolve(values);\n });\n if (result.error) reject(result.value);\n return capability.promise;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar getBuiltIn = require('../internals/get-built-in');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar perform = require('../internals/perform');\nvar iterate = require('../internals/iterate');\nvar PROMISE_STATICS_INCORRECT_ITERATION = require('../internals/promise-statics-incorrect-iteration');\n\nvar PROMISE_ANY_ERROR = 'No one promise resolved';\n\n// `Promise.any` method\n// https://tc39.es/ecma262/#sec-promise.any\n$({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {\n any: function any(iterable) {\n var C = this;\n var AggregateError = getBuiltIn('AggregateError');\n var capability = newPromiseCapabilityModule.f(C);\n var resolve = capability.resolve;\n var reject = capability.reject;\n var result = perform(function () {\n var promiseResolve = aCallable(C.resolve);\n var errors = [];\n var counter = 0;\n var remaining = 1;\n var alreadyResolved = false;\n iterate(iterable, function (promise) {\n var index = counter++;\n var alreadyRejected = false;\n remaining++;\n call(promiseResolve, C, promise).then(function (value) {\n if (alreadyRejected || alreadyResolved) return;\n alreadyResolved = true;\n resolve(value);\n }, function (error) {\n if (alreadyRejected || alreadyResolved) return;\n alreadyRejected = true;\n errors[index] = error;\n --remaining || reject(new AggregateError(errors, PROMISE_ANY_ERROR));\n });\n });\n --remaining || reject(new AggregateError(errors, PROMISE_ANY_ERROR));\n });\n if (result.error) reject(result.value);\n return capability.promise;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar FORCED_PROMISE_CONSTRUCTOR = require('../internals/promise-constructor-detection').CONSTRUCTOR;\nvar NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar defineBuiltIn = require('../internals/define-built-in');\n\nvar NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;\n\n// `Promise.prototype.catch` method\n// https://tc39.es/ecma262/#sec-promise.prototype.catch\n$({ target: 'Promise', proto: true, forced: FORCED_PROMISE_CONSTRUCTOR, real: true }, {\n 'catch': function (onRejected) {\n return this.then(undefined, onRejected);\n }\n});\n\n// makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then`\nif (!IS_PURE && isCallable(NativePromiseConstructor)) {\n var method = getBuiltIn('Promise').prototype['catch'];\n if (NativePromisePrototype['catch'] !== method) {\n defineBuiltIn(NativePromisePrototype, 'catch', method, { unsafe: true });\n }\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar IS_NODE = require('../internals/engine-is-node');\nvar global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar setSpecies = require('../internals/set-species');\nvar aCallable = require('../internals/a-callable');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar anInstance = require('../internals/an-instance');\nvar speciesConstructor = require('../internals/species-constructor');\nvar task = require('../internals/task').set;\nvar microtask = require('../internals/microtask');\nvar hostReportErrors = require('../internals/host-report-errors');\nvar perform = require('../internals/perform');\nvar Queue = require('../internals/queue');\nvar InternalStateModule = require('../internals/internal-state');\nvar NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar PromiseConstructorDetection = require('../internals/promise-constructor-detection');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\n\nvar PROMISE = 'Promise';\nvar FORCED_PROMISE_CONSTRUCTOR = PromiseConstructorDetection.CONSTRUCTOR;\nvar NATIVE_PROMISE_REJECTION_EVENT = PromiseConstructorDetection.REJECTION_EVENT;\nvar NATIVE_PROMISE_SUBCLASSING = PromiseConstructorDetection.SUBCLASSING;\nvar getInternalPromiseState = InternalStateModule.getterFor(PROMISE);\nvar setInternalState = InternalStateModule.set;\nvar NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;\nvar PromiseConstructor = NativePromiseConstructor;\nvar PromisePrototype = NativePromisePrototype;\nvar TypeError = global.TypeError;\nvar document = global.document;\nvar process = global.process;\nvar newPromiseCapability = newPromiseCapabilityModule.f;\nvar newGenericPromiseCapability = newPromiseCapability;\n\nvar DISPATCH_EVENT = !!(document && document.createEvent && global.dispatchEvent);\nvar UNHANDLED_REJECTION = 'unhandledrejection';\nvar REJECTION_HANDLED = 'rejectionhandled';\nvar PENDING = 0;\nvar FULFILLED = 1;\nvar REJECTED = 2;\nvar HANDLED = 1;\nvar UNHANDLED = 2;\n\nvar Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;\n\n// helpers\nvar isThenable = function (it) {\n var then;\n return isObject(it) && isCallable(then = it.then) ? then : false;\n};\n\nvar callReaction = function (reaction, state) {\n var value = state.value;\n var ok = state.state == FULFILLED;\n var handler = ok ? reaction.ok : reaction.fail;\n var resolve = reaction.resolve;\n var reject = reaction.reject;\n var domain = reaction.domain;\n var result, then, exited;\n try {\n if (handler) {\n if (!ok) {\n if (state.rejection === UNHANDLED) onHandleUnhandled(state);\n state.rejection = HANDLED;\n }\n if (handler === true) result = value;\n else {\n if (domain) domain.enter();\n result = handler(value); // can throw\n if (domain) {\n domain.exit();\n exited = true;\n }\n }\n if (result === reaction.promise) {\n reject(TypeError('Promise-chain cycle'));\n } else if (then = isThenable(result)) {\n call(then, result, resolve, reject);\n } else resolve(result);\n } else reject(value);\n } catch (error) {\n if (domain && !exited) domain.exit();\n reject(error);\n }\n};\n\nvar notify = function (state, isReject) {\n if (state.notified) return;\n state.notified = true;\n microtask(function () {\n var reactions = state.reactions;\n var reaction;\n while (reaction = reactions.get()) {\n callReaction(reaction, state);\n }\n state.notified = false;\n if (isReject && !state.rejection) onUnhandled(state);\n });\n};\n\nvar dispatchEvent = function (name, promise, reason) {\n var event, handler;\n if (DISPATCH_EVENT) {\n event = document.createEvent('Event');\n event.promise = promise;\n event.reason = reason;\n event.initEvent(name, false, true);\n global.dispatchEvent(event);\n } else event = { promise: promise, reason: reason };\n if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global['on' + name])) handler(event);\n else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);\n};\n\nvar onUnhandled = function (state) {\n call(task, global, function () {\n var promise = state.facade;\n var value = state.value;\n var IS_UNHANDLED = isUnhandled(state);\n var result;\n if (IS_UNHANDLED) {\n result = perform(function () {\n if (IS_NODE) {\n process.emit('unhandledRejection', value, promise);\n } else dispatchEvent(UNHANDLED_REJECTION, promise, value);\n });\n // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should\n state.rejection = IS_NODE || isUnhandled(state) ? UNHANDLED : HANDLED;\n if (result.error) throw result.value;\n }\n });\n};\n\nvar isUnhandled = function (state) {\n return state.rejection !== HANDLED && !state.parent;\n};\n\nvar onHandleUnhandled = function (state) {\n call(task, global, function () {\n var promise = state.facade;\n if (IS_NODE) {\n process.emit('rejectionHandled', promise);\n } else dispatchEvent(REJECTION_HANDLED, promise, state.value);\n });\n};\n\nvar bind = function (fn, state, unwrap) {\n return function (value) {\n fn(state, value, unwrap);\n };\n};\n\nvar internalReject = function (state, value, unwrap) {\n if (state.done) return;\n state.done = true;\n if (unwrap) state = unwrap;\n state.value = value;\n state.state = REJECTED;\n notify(state, true);\n};\n\nvar internalResolve = function (state, value, unwrap) {\n if (state.done) return;\n state.done = true;\n if (unwrap) state = unwrap;\n try {\n if (state.facade === value) throw TypeError(\"Promise can't be resolved itself\");\n var then = isThenable(value);\n if (then) {\n microtask(function () {\n var wrapper = { done: false };\n try {\n call(then, value,\n bind(internalResolve, wrapper, state),\n bind(internalReject, wrapper, state)\n );\n } catch (error) {\n internalReject(wrapper, error, state);\n }\n });\n } else {\n state.value = value;\n state.state = FULFILLED;\n notify(state, false);\n }\n } catch (error) {\n internalReject({ done: false }, error, state);\n }\n};\n\n// constructor polyfill\nif (FORCED_PROMISE_CONSTRUCTOR) {\n // 25.4.3.1 Promise(executor)\n PromiseConstructor = function Promise(executor) {\n anInstance(this, PromisePrototype);\n aCallable(executor);\n call(Internal, this);\n var state = getInternalPromiseState(this);\n try {\n executor(bind(internalResolve, state), bind(internalReject, state));\n } catch (error) {\n internalReject(state, error);\n }\n };\n\n PromisePrototype = PromiseConstructor.prototype;\n\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n Internal = function Promise(executor) {\n setInternalState(this, {\n type: PROMISE,\n done: false,\n notified: false,\n parent: false,\n reactions: new Queue(),\n rejection: false,\n state: PENDING,\n value: undefined\n });\n };\n\n // `Promise.prototype.then` method\n // https://tc39.es/ecma262/#sec-promise.prototype.then\n Internal.prototype = defineBuiltIn(PromisePrototype, 'then', function then(onFulfilled, onRejected) {\n var state = getInternalPromiseState(this);\n var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor));\n state.parent = true;\n reaction.ok = isCallable(onFulfilled) ? onFulfilled : true;\n reaction.fail = isCallable(onRejected) && onRejected;\n reaction.domain = IS_NODE ? process.domain : undefined;\n if (state.state == PENDING) state.reactions.add(reaction);\n else microtask(function () {\n callReaction(reaction, state);\n });\n return reaction.promise;\n });\n\n OwnPromiseCapability = function () {\n var promise = new Internal();\n var state = getInternalPromiseState(promise);\n this.promise = promise;\n this.resolve = bind(internalResolve, state);\n this.reject = bind(internalReject, state);\n };\n\n newPromiseCapabilityModule.f = newPromiseCapability = function (C) {\n return C === PromiseConstructor || C === PromiseWrapper\n ? new OwnPromiseCapability(C)\n : newGenericPromiseCapability(C);\n };\n\n if (!IS_PURE && isCallable(NativePromiseConstructor) && NativePromisePrototype !== Object.prototype) {\n nativeThen = NativePromisePrototype.then;\n\n if (!NATIVE_PROMISE_SUBCLASSING) {\n // make `Promise#then` return a polyfilled `Promise` for native promise-based APIs\n defineBuiltIn(NativePromisePrototype, 'then', function then(onFulfilled, onRejected) {\n var that = this;\n return new PromiseConstructor(function (resolve, reject) {\n call(nativeThen, that, resolve, reject);\n }).then(onFulfilled, onRejected);\n // https://github.com/zloirock/core-js/issues/640\n }, { unsafe: true });\n }\n\n // make `.constructor === Promise` work for native promise-based APIs\n try {\n delete NativePromisePrototype.constructor;\n } catch (error) { /* empty */ }\n\n // make `instanceof Promise` work for native promise-based APIs\n if (setPrototypeOf) {\n setPrototypeOf(NativePromisePrototype, PromisePrototype);\n }\n }\n}\n\n$({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {\n Promise: PromiseConstructor\n});\n\nsetToStringTag(PromiseConstructor, PROMISE, false, true);\nsetSpecies(PROMISE);\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar fails = require('../internals/fails');\nvar getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar speciesConstructor = require('../internals/species-constructor');\nvar promiseResolve = require('../internals/promise-resolve');\nvar defineBuiltIn = require('../internals/define-built-in');\n\nvar NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;\n\n// Safari bug https://bugs.webkit.org/show_bug.cgi?id=200829\nvar NON_GENERIC = !!NativePromiseConstructor && fails(function () {\n // eslint-disable-next-line unicorn/no-thenable -- required for testing\n NativePromisePrototype['finally'].call({ then: function () { /* empty */ } }, function () { /* empty */ });\n});\n\n// `Promise.prototype.finally` method\n// https://tc39.es/ecma262/#sec-promise.prototype.finally\n$({ target: 'Promise', proto: true, real: true, forced: NON_GENERIC }, {\n 'finally': function (onFinally) {\n var C = speciesConstructor(this, getBuiltIn('Promise'));\n var isFunction = isCallable(onFinally);\n return this.then(\n isFunction ? function (x) {\n return promiseResolve(C, onFinally()).then(function () { return x; });\n } : onFinally,\n isFunction ? function (e) {\n return promiseResolve(C, onFinally()).then(function () { throw e; });\n } : onFinally\n );\n }\n});\n\n// makes sure that native promise-based APIs `Promise#finally` properly works with patched `Promise#then`\nif (!IS_PURE && isCallable(NativePromiseConstructor)) {\n var method = getBuiltIn('Promise').prototype['finally'];\n if (NativePromisePrototype['finally'] !== method) {\n defineBuiltIn(NativePromisePrototype, 'finally', method, { unsafe: true });\n }\n}\n","// TODO: Remove this module from `core-js@4` since it's split to modules listed below\nrequire('../modules/es.promise.constructor');\nrequire('../modules/es.promise.all');\nrequire('../modules/es.promise.catch');\nrequire('../modules/es.promise.race');\nrequire('../modules/es.promise.reject');\nrequire('../modules/es.promise.resolve');\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar perform = require('../internals/perform');\nvar iterate = require('../internals/iterate');\nvar PROMISE_STATICS_INCORRECT_ITERATION = require('../internals/promise-statics-incorrect-iteration');\n\n// `Promise.race` method\n// https://tc39.es/ecma262/#sec-promise.race\n$({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {\n race: function race(iterable) {\n var C = this;\n var capability = newPromiseCapabilityModule.f(C);\n var reject = capability.reject;\n var result = perform(function () {\n var $promiseResolve = aCallable(C.resolve);\n iterate(iterable, function (promise) {\n call($promiseResolve, C, promise).then(capability.resolve, reject);\n });\n });\n if (result.error) reject(result.value);\n return capability.promise;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar FORCED_PROMISE_CONSTRUCTOR = require('../internals/promise-constructor-detection').CONSTRUCTOR;\n\n// `Promise.reject` method\n// https://tc39.es/ecma262/#sec-promise.reject\n$({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {\n reject: function reject(r) {\n var capability = newPromiseCapabilityModule.f(this);\n call(capability.reject, undefined, r);\n return capability.promise;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar IS_PURE = require('../internals/is-pure');\nvar NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar FORCED_PROMISE_CONSTRUCTOR = require('../internals/promise-constructor-detection').CONSTRUCTOR;\nvar promiseResolve = require('../internals/promise-resolve');\n\nvar PromiseConstructorWrapper = getBuiltIn('Promise');\nvar CHECK_WRAPPER = IS_PURE && !FORCED_PROMISE_CONSTRUCTOR;\n\n// `Promise.resolve` method\n// https://tc39.es/ecma262/#sec-promise.resolve\n$({ target: 'Promise', stat: true, forced: IS_PURE || FORCED_PROMISE_CONSTRUCTOR }, {\n resolve: function resolve(x) {\n return promiseResolve(CHECK_WRAPPER && this === PromiseConstructorWrapper ? NativePromiseConstructor : this, x);\n }\n});\n","var $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar apply = require('../internals/function-apply');\nvar bind = require('../internals/function-bind');\nvar aConstructor = require('../internals/a-constructor');\nvar anObject = require('../internals/an-object');\nvar isObject = require('../internals/is-object');\nvar create = require('../internals/object-create');\nvar fails = require('../internals/fails');\n\nvar nativeConstruct = getBuiltIn('Reflect', 'construct');\nvar ObjectPrototype = Object.prototype;\nvar push = [].push;\n\n// `Reflect.construct` method\n// https://tc39.es/ecma262/#sec-reflect.construct\n// MS Edge supports only 2 arguments and argumentsList argument is optional\n// FF Nightly sets third argument as `new.target`, but does not create `this` from it\nvar NEW_TARGET_BUG = fails(function () {\n function F() { /* empty */ }\n return !(nativeConstruct(function () { /* empty */ }, [], F) instanceof F);\n});\n\nvar ARGS_BUG = !fails(function () {\n nativeConstruct(function () { /* empty */ });\n});\n\nvar FORCED = NEW_TARGET_BUG || ARGS_BUG;\n\n$({ target: 'Reflect', stat: true, forced: FORCED, sham: FORCED }, {\n construct: function construct(Target, args /* , newTarget */) {\n aConstructor(Target);\n anObject(args);\n var newTarget = arguments.length < 3 ? Target : aConstructor(arguments[2]);\n if (ARGS_BUG && !NEW_TARGET_BUG) return nativeConstruct(Target, args, newTarget);\n if (Target == newTarget) {\n // w/o altered newTarget, optimization for 0-4 arguments\n switch (args.length) {\n case 0: return new Target();\n case 1: return new Target(args[0]);\n case 2: return new Target(args[0], args[1]);\n case 3: return new Target(args[0], args[1], args[2]);\n case 4: return new Target(args[0], args[1], args[2], args[3]);\n }\n // w/o altered newTarget, lot of arguments case\n var $args = [null];\n apply(push, $args, args);\n return new (apply(bind, Target, $args))();\n }\n // with altered newTarget, not support built-in constructors\n var proto = newTarget.prototype;\n var instance = create(isObject(proto) ? proto : ObjectPrototype);\n var result = apply(Target, instance, args);\n return isObject(result) ? result : instance;\n }\n});\n","// empty\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar notARegExp = require('../internals/not-a-regexp');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toString = require('../internals/to-string');\nvar correctIsRegExpLogic = require('../internals/correct-is-regexp-logic');\n\nvar stringIndexOf = uncurryThis(''.indexOf);\n\n// `String.prototype.includes` method\n// https://tc39.es/ecma262/#sec-string.prototype.includes\n$({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {\n includes: function includes(searchString /* , position = 0 */) {\n return !!~stringIndexOf(\n toString(requireObjectCoercible(this)),\n toString(notARegExp(searchString)),\n arguments.length > 1 ? arguments[1] : undefined\n );\n }\n});\n","'use strict';\nvar charAt = require('../internals/string-multibyte').charAt;\nvar toString = require('../internals/to-string');\nvar InternalStateModule = require('../internals/internal-state');\nvar defineIterator = require('../internals/iterator-define');\nvar createIterResultObject = require('../internals/create-iter-result-object');\n\nvar STRING_ITERATOR = 'String Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(STRING_ITERATOR);\n\n// `String.prototype[@@iterator]` method\n// https://tc39.es/ecma262/#sec-string.prototype-@@iterator\ndefineIterator(String, 'String', function (iterated) {\n setInternalState(this, {\n type: STRING_ITERATOR,\n string: toString(iterated),\n index: 0\n });\n// `%StringIteratorPrototype%.next` method\n// https://tc39.es/ecma262/#sec-%stringiteratorprototype%.next\n}, function next() {\n var state = getInternalState(this);\n var string = state.string;\n var index = state.index;\n var point;\n if (index >= string.length) return createIterResultObject(undefined, true);\n point = charAt(string, index);\n state.index += point.length;\n return createIterResultObject(point, false);\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar notARegExp = require('../internals/not-a-regexp');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar correctIsRegExpLogic = require('../internals/correct-is-regexp-logic');\nvar IS_PURE = require('../internals/is-pure');\n\n// eslint-disable-next-line es/no-string-prototype-startswith -- safe\nvar nativeStartsWith = uncurryThis(''.startsWith);\nvar stringSlice = uncurryThis(''.slice);\nvar min = Math.min;\n\nvar CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('startsWith');\n// https://github.com/zloirock/core-js/pull/702\nvar MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {\n var descriptor = getOwnPropertyDescriptor(String.prototype, 'startsWith');\n return descriptor && !descriptor.writable;\n}();\n\n// `String.prototype.startsWith` method\n// https://tc39.es/ecma262/#sec-string.prototype.startswith\n$({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {\n startsWith: function startsWith(searchString /* , position = 0 */) {\n var that = toString(requireObjectCoercible(this));\n notARegExp(searchString);\n var index = toLength(min(arguments.length > 1 ? arguments[1] : undefined, that.length));\n var search = toString(searchString);\n return nativeStartsWith\n ? nativeStartsWith(that, search, index)\n : stringSlice(that, index, index + search.length) === search;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $trim = require('../internals/string-trim').trim;\nvar forcedStringTrimMethod = require('../internals/string-trim-forced');\n\n// `String.prototype.trim` method\n// https://tc39.es/ecma262/#sec-string.prototype.trim\n$({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {\n trim: function trim() {\n return $trim(this);\n }\n});\n","var defineWellKnownSymbol = require('../internals/well-known-symbol-define');\n\n// `Symbol.asyncIterator` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.asynciterator\ndefineWellKnownSymbol('asyncIterator');\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar IS_PURE = require('../internals/is-pure');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\nvar fails = require('../internals/fails');\nvar hasOwn = require('../internals/has-own-property');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar anObject = require('../internals/an-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar $toString = require('../internals/to-string');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar nativeObjectCreate = require('../internals/object-create');\nvar objectKeys = require('../internals/object-keys');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertyNamesExternal = require('../internals/object-get-own-property-names-external');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\nvar definePropertiesModule = require('../internals/object-define-properties');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar shared = require('../internals/shared');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar uid = require('../internals/uid');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar wrappedWellKnownSymbolModule = require('../internals/well-known-symbol-wrapped');\nvar defineWellKnownSymbol = require('../internals/well-known-symbol-define');\nvar defineSymbolToPrimitive = require('../internals/symbol-define-to-primitive');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar InternalStateModule = require('../internals/internal-state');\nvar $forEach = require('../internals/array-iteration').forEach;\n\nvar HIDDEN = sharedKey('hidden');\nvar SYMBOL = 'Symbol';\nvar PROTOTYPE = 'prototype';\n\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(SYMBOL);\n\nvar ObjectPrototype = Object[PROTOTYPE];\nvar $Symbol = global.Symbol;\nvar SymbolPrototype = $Symbol && $Symbol[PROTOTYPE];\nvar TypeError = global.TypeError;\nvar QObject = global.QObject;\nvar nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\nvar nativeDefineProperty = definePropertyModule.f;\nvar nativeGetOwnPropertyNames = getOwnPropertyNamesExternal.f;\nvar nativePropertyIsEnumerable = propertyIsEnumerableModule.f;\nvar push = uncurryThis([].push);\n\nvar AllSymbols = shared('symbols');\nvar ObjectPrototypeSymbols = shared('op-symbols');\nvar WellKnownSymbolsStore = shared('wks');\n\n// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173\nvar USE_SETTER = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;\n\n// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687\nvar setSymbolDescriptor = DESCRIPTORS && fails(function () {\n return nativeObjectCreate(nativeDefineProperty({}, 'a', {\n get: function () { return nativeDefineProperty(this, 'a', { value: 7 }).a; }\n })).a != 7;\n}) ? function (O, P, Attributes) {\n var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor(ObjectPrototype, P);\n if (ObjectPrototypeDescriptor) delete ObjectPrototype[P];\n nativeDefineProperty(O, P, Attributes);\n if (ObjectPrototypeDescriptor && O !== ObjectPrototype) {\n nativeDefineProperty(ObjectPrototype, P, ObjectPrototypeDescriptor);\n }\n} : nativeDefineProperty;\n\nvar wrap = function (tag, description) {\n var symbol = AllSymbols[tag] = nativeObjectCreate(SymbolPrototype);\n setInternalState(symbol, {\n type: SYMBOL,\n tag: tag,\n description: description\n });\n if (!DESCRIPTORS) symbol.description = description;\n return symbol;\n};\n\nvar $defineProperty = function defineProperty(O, P, Attributes) {\n if (O === ObjectPrototype) $defineProperty(ObjectPrototypeSymbols, P, Attributes);\n anObject(O);\n var key = toPropertyKey(P);\n anObject(Attributes);\n if (hasOwn(AllSymbols, key)) {\n if (!Attributes.enumerable) {\n if (!hasOwn(O, HIDDEN)) nativeDefineProperty(O, HIDDEN, createPropertyDescriptor(1, {}));\n O[HIDDEN][key] = true;\n } else {\n if (hasOwn(O, HIDDEN) && O[HIDDEN][key]) O[HIDDEN][key] = false;\n Attributes = nativeObjectCreate(Attributes, { enumerable: createPropertyDescriptor(0, false) });\n } return setSymbolDescriptor(O, key, Attributes);\n } return nativeDefineProperty(O, key, Attributes);\n};\n\nvar $defineProperties = function defineProperties(O, Properties) {\n anObject(O);\n var properties = toIndexedObject(Properties);\n var keys = objectKeys(properties).concat($getOwnPropertySymbols(properties));\n $forEach(keys, function (key) {\n if (!DESCRIPTORS || call($propertyIsEnumerable, properties, key)) $defineProperty(O, key, properties[key]);\n });\n return O;\n};\n\nvar $create = function create(O, Properties) {\n return Properties === undefined ? nativeObjectCreate(O) : $defineProperties(nativeObjectCreate(O), Properties);\n};\n\nvar $propertyIsEnumerable = function propertyIsEnumerable(V) {\n var P = toPropertyKey(V);\n var enumerable = call(nativePropertyIsEnumerable, this, P);\n if (this === ObjectPrototype && hasOwn(AllSymbols, P) && !hasOwn(ObjectPrototypeSymbols, P)) return false;\n return enumerable || !hasOwn(this, P) || !hasOwn(AllSymbols, P) || hasOwn(this, HIDDEN) && this[HIDDEN][P]\n ? enumerable : true;\n};\n\nvar $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(O, P) {\n var it = toIndexedObject(O);\n var key = toPropertyKey(P);\n if (it === ObjectPrototype && hasOwn(AllSymbols, key) && !hasOwn(ObjectPrototypeSymbols, key)) return;\n var descriptor = nativeGetOwnPropertyDescriptor(it, key);\n if (descriptor && hasOwn(AllSymbols, key) && !(hasOwn(it, HIDDEN) && it[HIDDEN][key])) {\n descriptor.enumerable = true;\n }\n return descriptor;\n};\n\nvar $getOwnPropertyNames = function getOwnPropertyNames(O) {\n var names = nativeGetOwnPropertyNames(toIndexedObject(O));\n var result = [];\n $forEach(names, function (key) {\n if (!hasOwn(AllSymbols, key) && !hasOwn(hiddenKeys, key)) push(result, key);\n });\n return result;\n};\n\nvar $getOwnPropertySymbols = function (O) {\n var IS_OBJECT_PROTOTYPE = O === ObjectPrototype;\n var names = nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE ? ObjectPrototypeSymbols : toIndexedObject(O));\n var result = [];\n $forEach(names, function (key) {\n if (hasOwn(AllSymbols, key) && (!IS_OBJECT_PROTOTYPE || hasOwn(ObjectPrototype, key))) {\n push(result, AllSymbols[key]);\n }\n });\n return result;\n};\n\n// `Symbol` constructor\n// https://tc39.es/ecma262/#sec-symbol-constructor\nif (!NATIVE_SYMBOL) {\n $Symbol = function Symbol() {\n if (isPrototypeOf(SymbolPrototype, this)) throw TypeError('Symbol is not a constructor');\n var description = !arguments.length || arguments[0] === undefined ? undefined : $toString(arguments[0]);\n var tag = uid(description);\n var setter = function (value) {\n if (this === ObjectPrototype) call(setter, ObjectPrototypeSymbols, value);\n if (hasOwn(this, HIDDEN) && hasOwn(this[HIDDEN], tag)) this[HIDDEN][tag] = false;\n setSymbolDescriptor(this, tag, createPropertyDescriptor(1, value));\n };\n if (DESCRIPTORS && USE_SETTER) setSymbolDescriptor(ObjectPrototype, tag, { configurable: true, set: setter });\n return wrap(tag, description);\n };\n\n SymbolPrototype = $Symbol[PROTOTYPE];\n\n defineBuiltIn(SymbolPrototype, 'toString', function toString() {\n return getInternalState(this).tag;\n });\n\n defineBuiltIn($Symbol, 'withoutSetter', function (description) {\n return wrap(uid(description), description);\n });\n\n propertyIsEnumerableModule.f = $propertyIsEnumerable;\n definePropertyModule.f = $defineProperty;\n definePropertiesModule.f = $defineProperties;\n getOwnPropertyDescriptorModule.f = $getOwnPropertyDescriptor;\n getOwnPropertyNamesModule.f = getOwnPropertyNamesExternal.f = $getOwnPropertyNames;\n getOwnPropertySymbolsModule.f = $getOwnPropertySymbols;\n\n wrappedWellKnownSymbolModule.f = function (name) {\n return wrap(wellKnownSymbol(name), name);\n };\n\n if (DESCRIPTORS) {\n // https://github.com/tc39/proposal-Symbol-description\n defineBuiltInAccessor(SymbolPrototype, 'description', {\n configurable: true,\n get: function description() {\n return getInternalState(this).description;\n }\n });\n if (!IS_PURE) {\n defineBuiltIn(ObjectPrototype, 'propertyIsEnumerable', $propertyIsEnumerable, { unsafe: true });\n }\n }\n}\n\n$({ global: true, constructor: true, wrap: true, forced: !NATIVE_SYMBOL, sham: !NATIVE_SYMBOL }, {\n Symbol: $Symbol\n});\n\n$forEach(objectKeys(WellKnownSymbolsStore), function (name) {\n defineWellKnownSymbol(name);\n});\n\n$({ target: SYMBOL, stat: true, forced: !NATIVE_SYMBOL }, {\n useSetter: function () { USE_SETTER = true; },\n useSimple: function () { USE_SETTER = false; }\n});\n\n$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL, sham: !DESCRIPTORS }, {\n // `Object.create` method\n // https://tc39.es/ecma262/#sec-object.create\n create: $create,\n // `Object.defineProperty` method\n // https://tc39.es/ecma262/#sec-object.defineproperty\n defineProperty: $defineProperty,\n // `Object.defineProperties` method\n // https://tc39.es/ecma262/#sec-object.defineproperties\n defineProperties: $defineProperties,\n // `Object.getOwnPropertyDescriptor` method\n // https://tc39.es/ecma262/#sec-object.getownpropertydescriptors\n getOwnPropertyDescriptor: $getOwnPropertyDescriptor\n});\n\n$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL }, {\n // `Object.getOwnPropertyNames` method\n // https://tc39.es/ecma262/#sec-object.getownpropertynames\n getOwnPropertyNames: $getOwnPropertyNames\n});\n\n// `Symbol.prototype[@@toPrimitive]` method\n// https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive\ndefineSymbolToPrimitive();\n\n// `Symbol.prototype[@@toStringTag]` property\n// https://tc39.es/ecma262/#sec-symbol.prototype-@@tostringtag\nsetToStringTag($Symbol, SYMBOL);\n\nhiddenKeys[HIDDEN] = true;\n","// empty\n","var $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar hasOwn = require('../internals/has-own-property');\nvar toString = require('../internals/to-string');\nvar shared = require('../internals/shared');\nvar NATIVE_SYMBOL_REGISTRY = require('../internals/symbol-registry-detection');\n\nvar StringToSymbolRegistry = shared('string-to-symbol-registry');\nvar SymbolToStringRegistry = shared('symbol-to-string-registry');\n\n// `Symbol.for` method\n// https://tc39.es/ecma262/#sec-symbol.for\n$({ target: 'Symbol', stat: true, forced: !NATIVE_SYMBOL_REGISTRY }, {\n 'for': function (key) {\n var string = toString(key);\n if (hasOwn(StringToSymbolRegistry, string)) return StringToSymbolRegistry[string];\n var symbol = getBuiltIn('Symbol')(string);\n StringToSymbolRegistry[string] = symbol;\n SymbolToStringRegistry[symbol] = string;\n return symbol;\n }\n});\n","var defineWellKnownSymbol = require('../internals/well-known-symbol-define');\n\n// `Symbol.hasInstance` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.hasinstance\ndefineWellKnownSymbol('hasInstance');\n","var defineWellKnownSymbol = require('../internals/well-known-symbol-define');\n\n// `Symbol.isConcatSpreadable` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.isconcatspreadable\ndefineWellKnownSymbol('isConcatSpreadable');\n","var defineWellKnownSymbol = require('../internals/well-known-symbol-define');\n\n// `Symbol.iterator` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.iterator\ndefineWellKnownSymbol('iterator');\n","// TODO: Remove this module from `core-js@4` since it's split to modules listed below\nrequire('../modules/es.symbol.constructor');\nrequire('../modules/es.symbol.for');\nrequire('../modules/es.symbol.key-for');\nrequire('../modules/es.json.stringify');\nrequire('../modules/es.object.get-own-property-symbols');\n","var $ = require('../internals/export');\nvar hasOwn = require('../internals/has-own-property');\nvar isSymbol = require('../internals/is-symbol');\nvar tryToString = require('../internals/try-to-string');\nvar shared = require('../internals/shared');\nvar NATIVE_SYMBOL_REGISTRY = require('../internals/symbol-registry-detection');\n\nvar SymbolToStringRegistry = shared('symbol-to-string-registry');\n\n// `Symbol.keyFor` method\n// https://tc39.es/ecma262/#sec-symbol.keyfor\n$({ target: 'Symbol', stat: true, forced: !NATIVE_SYMBOL_REGISTRY }, {\n keyFor: function keyFor(sym) {\n if (!isSymbol(sym)) throw TypeError(tryToString(sym) + ' is not a symbol');\n if (hasOwn(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym];\n }\n});\n","var defineWellKnownSymbol = require('../internals/well-known-symbol-define');\n\n// `Symbol.matchAll` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.matchall\ndefineWellKnownSymbol('matchAll');\n","var defineWellKnownSymbol = require('../internals/well-known-symbol-define');\n\n// `Symbol.match` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.match\ndefineWellKnownSymbol('match');\n","var defineWellKnownSymbol = require('../internals/well-known-symbol-define');\n\n// `Symbol.replace` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.replace\ndefineWellKnownSymbol('replace');\n","var defineWellKnownSymbol = require('../internals/well-known-symbol-define');\n\n// `Symbol.search` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.search\ndefineWellKnownSymbol('search');\n","var defineWellKnownSymbol = require('../internals/well-known-symbol-define');\n\n// `Symbol.species` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.species\ndefineWellKnownSymbol('species');\n","var defineWellKnownSymbol = require('../internals/well-known-symbol-define');\n\n// `Symbol.split` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.split\ndefineWellKnownSymbol('split');\n","var defineWellKnownSymbol = require('../internals/well-known-symbol-define');\nvar defineSymbolToPrimitive = require('../internals/symbol-define-to-primitive');\n\n// `Symbol.toPrimitive` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.toprimitive\ndefineWellKnownSymbol('toPrimitive');\n\n// `Symbol.prototype[@@toPrimitive]` method\n// https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive\ndefineSymbolToPrimitive();\n","var getBuiltIn = require('../internals/get-built-in');\nvar defineWellKnownSymbol = require('../internals/well-known-symbol-define');\nvar setToStringTag = require('../internals/set-to-string-tag');\n\n// `Symbol.toStringTag` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.tostringtag\ndefineWellKnownSymbol('toStringTag');\n\n// `Symbol.prototype[@@toStringTag]` property\n// https://tc39.es/ecma262/#sec-symbol.prototype-@@tostringtag\nsetToStringTag(getBuiltIn('Symbol'), 'Symbol');\n","var defineWellKnownSymbol = require('../internals/well-known-symbol-define');\n\n// `Symbol.unscopables` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.unscopables\ndefineWellKnownSymbol('unscopables');\n","// TODO: Remove from `core-js@4`\nrequire('../modules/es.aggregate-error');\n","// TODO: Remove from `core-js@4`\nrequire('../modules/es.promise.all-settled.js');\n","// TODO: Remove from `core-js@4`\nrequire('../modules/es.promise.any');\n","'use strict';\n// TODO: Remove from `core-js@4`\nvar $ = require('../internals/export');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar perform = require('../internals/perform');\n\n// `Promise.try` method\n// https://github.com/tc39/proposal-promise-try\n$({ target: 'Promise', stat: true, forced: true }, {\n 'try': function (callbackfn) {\n var promiseCapability = newPromiseCapabilityModule.f(this);\n var result = perform(callbackfn);\n (result.error ? promiseCapability.reject : promiseCapability.resolve)(result.value);\n return promiseCapability.promise;\n }\n});\n","var defineWellKnownSymbol = require('../internals/well-known-symbol-define');\n\n// `Symbol.asyncDispose` well-known symbol\n// https://github.com/tc39/proposal-async-explicit-resource-management\ndefineWellKnownSymbol('asyncDispose');\n","var defineWellKnownSymbol = require('../internals/well-known-symbol-define');\n\n// `Symbol.dispose` well-known symbol\n// https://github.com/tc39/proposal-explicit-resource-management\ndefineWellKnownSymbol('dispose');\n","var $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar Symbol = getBuiltIn('Symbol');\nvar keyFor = Symbol.keyFor;\nvar thisSymbolValue = uncurryThis(Symbol.prototype.valueOf);\n\n// `Symbol.isRegistered` method\n// https://tc39.es/proposal-symbol-predicates/#sec-symbol-isregistered\n$({ target: 'Symbol', stat: true }, {\n isRegistered: function isRegistered(value) {\n try {\n return keyFor(thisSymbolValue(value)) !== undefined;\n } catch (error) {\n return false;\n }\n }\n});\n","var $ = require('../internals/export');\nvar shared = require('../internals/shared');\nvar getBuiltIn = require('../internals/get-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isSymbol = require('../internals/is-symbol');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar Symbol = getBuiltIn('Symbol');\nvar $isWellKnown = Symbol.isWellKnown;\nvar getOwnPropertyNames = getBuiltIn('Object', 'getOwnPropertyNames');\nvar thisSymbolValue = uncurryThis(Symbol.prototype.valueOf);\nvar WellKnownSymbolsStore = shared('wks');\n\nfor (var i = 0, symbolKeys = getOwnPropertyNames(Symbol), symbolKeysLength = symbolKeys.length; i < symbolKeysLength; i++) {\n // some old engines throws on access to some keys like `arguments` or `caller`\n try {\n var symbolKey = symbolKeys[i];\n if (isSymbol(Symbol[symbolKey])) wellKnownSymbol(symbolKey);\n } catch (error) { /* empty */ }\n}\n\n// `Symbol.isWellKnown` method\n// https://tc39.es/proposal-symbol-predicates/#sec-symbol-iswellknown\n// We should patch it for newly added well-known symbols. If it's not required, this module just will not be injected\n$({ target: 'Symbol', stat: true, forced: true }, {\n isWellKnown: function isWellKnown(value) {\n if ($isWellKnown && $isWellKnown(value)) return true;\n try {\n var symbol = thisSymbolValue(value);\n for (var j = 0, keys = getOwnPropertyNames(WellKnownSymbolsStore), keysLength = keys.length; j < keysLength; j++) {\n if (WellKnownSymbolsStore[keys[j]] == symbol) return true;\n }\n } catch (error) { /* empty */ }\n return false;\n }\n});\n","var defineWellKnownSymbol = require('../internals/well-known-symbol-define');\n\n// `Symbol.matcher` well-known symbol\n// https://github.com/tc39/proposal-pattern-matching\ndefineWellKnownSymbol('matcher');\n","var defineWellKnownSymbol = require('../internals/well-known-symbol-define');\n\n// `Symbol.metadataKey` well-known symbol\n// https://github.com/tc39/proposal-decorator-metadata\ndefineWellKnownSymbol('metadataKey');\n","// TODO: Remove from `core-js@4`\nvar defineWellKnownSymbol = require('../internals/well-known-symbol-define');\n\n// `Symbol.metadata` well-known symbol\n// https://github.com/tc39/proposal-decorators\ndefineWellKnownSymbol('metadata');\n","var defineWellKnownSymbol = require('../internals/well-known-symbol-define');\n\n// `Symbol.observable` well-known symbol\n// https://github.com/tc39/proposal-observable\ndefineWellKnownSymbol('observable');\n","// TODO: remove from `core-js@4`\nvar defineWellKnownSymbol = require('../internals/well-known-symbol-define');\n\n// `Symbol.patternMatch` well-known symbol\n// https://github.com/tc39/proposal-pattern-matching\ndefineWellKnownSymbol('patternMatch');\n","// TODO: remove from `core-js@4`\nvar defineWellKnownSymbol = require('../internals/well-known-symbol-define');\n\ndefineWellKnownSymbol('replaceAll');\n","require('../modules/es.array.iterator');\nvar DOMIterables = require('../internals/dom-iterables');\nvar global = require('../internals/global');\nvar classof = require('../internals/classof');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar Iterators = require('../internals/iterators');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\n\nfor (var COLLECTION_NAME in DOMIterables) {\n var Collection = global[COLLECTION_NAME];\n var CollectionPrototype = Collection && Collection.prototype;\n if (CollectionPrototype && classof(CollectionPrototype) !== TO_STRING_TAG) {\n createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME);\n }\n Iterators[COLLECTION_NAME] = Iterators.Array;\n}\n","var parent = require('../../es/array/from');\n\nmodule.exports = parent;\n","var parent = require('../../es/array/is-array');\n\nmodule.exports = parent;\n","var parent = require('../../../es/array/virtual/for-each');\n\nmodule.exports = parent;\n","var parent = require('../../../es/array/virtual/keys');\n\nmodule.exports = parent;\n","var parent = require('../es/get-iterator-method');\nrequire('../modules/web.dom-collections.iterator');\n\nmodule.exports = parent;\n","var parent = require('../../es/instance/bind');\n\nmodule.exports = parent;\n","var parent = require('../../es/instance/concat');\n\nmodule.exports = parent;\n","var parent = require('../../es/instance/filter');\n\nmodule.exports = parent;\n","var parent = require('../../es/instance/find');\n\nmodule.exports = parent;\n","require('../../modules/web.dom-collections.iterator');\nvar classof = require('../../internals/classof');\nvar hasOwn = require('../../internals/has-own-property');\nvar isPrototypeOf = require('../../internals/object-is-prototype-of');\nvar method = require('../array/virtual/for-each');\n\nvar ArrayPrototype = Array.prototype;\n\nvar DOMIterables = {\n DOMTokenList: true,\n NodeList: true\n};\n\nmodule.exports = function (it) {\n var own = it.forEach;\n return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.forEach)\n || hasOwn(DOMIterables, classof(it)) ? method : own;\n};\n","var parent = require('../../es/instance/includes');\n\nmodule.exports = parent;\n","var parent = require('../../es/instance/index-of');\n\nmodule.exports = parent;\n","require('../../modules/web.dom-collections.iterator');\nvar classof = require('../../internals/classof');\nvar hasOwn = require('../../internals/has-own-property');\nvar isPrototypeOf = require('../../internals/object-is-prototype-of');\nvar method = require('../array/virtual/keys');\n\nvar ArrayPrototype = Array.prototype;\n\nvar DOMIterables = {\n DOMTokenList: true,\n NodeList: true\n};\n\nmodule.exports = function (it) {\n var own = it.keys;\n return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.keys)\n || hasOwn(DOMIterables, classof(it)) ? method : own;\n};\n","var parent = require('../../es/instance/last-index-of');\n\nmodule.exports = parent;\n","var parent = require('../../es/instance/map');\n\nmodule.exports = parent;\n","var parent = require('../../es/instance/push');\n\nmodule.exports = parent;\n","var parent = require('../../es/instance/reduce');\n\nmodule.exports = parent;\n","var parent = require('../../es/instance/reverse');\n\nmodule.exports = parent;\n","var parent = require('../../es/instance/slice');\n\nmodule.exports = parent;\n","var parent = require('../../es/instance/sort');\n\nmodule.exports = parent;\n","var parent = require('../../es/instance/splice');\n\nmodule.exports = parent;\n","var parent = require('../../es/instance/starts-with');\n\nmodule.exports = parent;\n","var parent = require('../../es/instance/trim');\n\nmodule.exports = parent;\n","var parent = require('../../es/json/stringify');\n\nmodule.exports = parent;\n","var parent = require('../../es/map');\nrequire('../../modules/web.dom-collections.iterator');\n\nmodule.exports = parent;\n","var parent = require('../../es/object/assign');\n\nmodule.exports = parent;\n","var parent = require('../../es/object/create');\n\nmodule.exports = parent;\n","var parent = require('../../es/object/define-property');\n\nmodule.exports = parent;\n","var parent = require('../../es/object/get-own-property-names');\n\nmodule.exports = parent;\n","var parent = require('../../es/object/get-prototype-of');\n\nmodule.exports = parent;\n","var parent = require('../../es/object/keys');\n\nmodule.exports = parent;\n","var parent = require('../../es/object/set-prototype-of');\n\nmodule.exports = parent;\n","var parent = require('../../es/object/values');\n\nmodule.exports = parent;\n","var parent = require('../es/parse-float');\n\nmodule.exports = parent;\n","var parent = require('../es/parse-int');\n\nmodule.exports = parent;\n","var parent = require('../../es/promise');\nrequire('../../modules/web.dom-collections.iterator');\n\nmodule.exports = parent;\n","var parent = require('../../es/reflect/construct');\n\nmodule.exports = parent;\n","var parent = require('../../es/symbol');\nrequire('../../modules/web.dom-collections.iterator');\n\nmodule.exports = parent;\n","var parent = require('../../es/symbol/iterator');\nrequire('../../modules/web.dom-collections.iterator');\n\nmodule.exports = parent;\n","var parent = require('../../es/symbol/to-primitive');\n\nmodule.exports = parent;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"@charset \\\"UTF-8\\\";\\n.rmp-container {\\n position: relative;\\n text-align: center;\\n outline: none;\\n background: #000000;\\n padding: 0;\\n border: none;\\n display: block;\\n font-size: 14px;\\n max-width: none;\\n max-height: none;\\n overflow: hidden;\\n line-height: 1;\\n box-sizing: border-box;\\n font-family: Arial, Helvetica, sans-serif;\\n}\\n.rmp-container * {\\n box-sizing: border-box;\\n}\\n.rmp-video,\\n.rmp-content {\\n width: 100%;\\n height: 100%;\\n position: absolute;\\n left: 0;\\n top: 0;\\n margin: 0;\\n padding: 0;\\n outline: none;\\n display: block;\\n}\\n.rmp-ad-container {\\n position: absolute;\\n top: 0;\\n left: 0;\\n margin: 0;\\n padding: 0;\\n width: 100%;\\n height: 100%;\\n outline: none;\\n display: block;\\n text-align: initial;\\n}\\n.rmp-fullscreen-on {\\n position: fixed !important;\\n width: 100% !important;\\n height: 100% !important;\\n background: #000000 !important;\\n overflow: hidden !important;\\n z-index: 9999 !important;\\n top: 0;\\n left: 0;\\n}\\n.rmp-vpaid-container {\\n position: absolute;\\n top: 0;\\n left: 0;\\n margin: 0;\\n padding: 0;\\n width: 100%;\\n height: 100%;\\n outline: none;\\n display: block;\\n text-align: initial;\\n}\\n.rmp-ad-vast-video-player {\\n width: 100%;\\n height: 100%;\\n position: absolute;\\n left: 0;\\n top: 0;\\n margin: 0;\\n padding: 0;\\n outline: none;\\n display: block;\\n cursor: pointer;\\n}\\n.rmp-ad-container-icons {\\n position: absolute;\\n display: block;\\n cursor: pointer;\\n}\\n.rmp-ad-container-skip {\\n position: absolute;\\n right: 0;\\n bottom: 44px;\\n width: 160px;\\n height: 40px;\\n line-height: 38px;\\n text-align: center;\\n cursor: pointer;\\n background-color: #333;\\n border: 1px solid #333;\\n transition-property: border-color;\\n transition-duration: 0.4s;\\n transition-timing-function: ease-in;\\n}\\n.rmp-ad-container-skip:hover {\\n border-color: #000000;\\n}\\n.rmp-ad-container-skip-waiting {\\n width: 100%;\\n position: absolute;\\n padding: 0 2px;\\n color: #cfcfcf;\\n white-space: nowrap;\\n overflow: hidden;\\n text-overflow: ellipsis;\\n}\\n.rmp-ad-container-skip-message {\\n width: 65%;\\n position: absolute;\\n left: 5%;\\n color: #ffffff;\\n white-space: nowrap;\\n overflow: hidden;\\n text-overflow: ellipsis;\\n}\\n.rmp-ad-container-skip-icon {\\n position: absolute;\\n left: 75%;\\n width: 20%;\\n background-image: url(\\\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAQJJREFUeNpi/P//PwMUNADxXyBuZsAPcoA4CIjfA/EuIJ4JFgUZBMU3/kNAMZIYNnz8PwIcgokzIdl0A0r3AHEbHhf9RGJ/hjGQDWJFYlcC8SQgZibgzf/YDEIHuUC8CIi58ahhJMYgEIgC4mVALIFNMzIgZBAI+AHxRiCWRfcOqQaBgBkQrwRiMSB+iE0BCwPxwBKIDwLxH0pcBAMPkKOcXIPmALEnED+lxKDJQJwKZUuQa1AVEOch8f+SE9hZQDydGCcjG/QPif0H6pUF+LIFriwCy1dvgTgChyEMaPmPBZuLVKA2RALxbjy+IGjQCiD+RcAQEFgF9fpHIN4GEwQIMACnXWgupdnzwwAAAABJRU5ErkJggg==\\\");\\n height: 100%;\\n background-repeat: no-repeat;\\n background-position: center;\\n opacity: 0.7;\\n transition-property: opacity;\\n transition-duration: 0.4s;\\n transition-timing-function: ease-in;\\n}\\n.rmp-ad-container-skip:hover .rmp-ad-container-skip-icon {\\n opacity: 1;\\n}\\n.rmp-ad-non-linear-container {\\n position: absolute;\\n text-align: center;\\n left: 50%;\\n bottom: 0;\\n transform: translate(-50%, 0);\\n}\\n.rmp-ad-non-linear-anchor:link,\\n.rmp-ad-non-linear-anchor:visited,\\n.rmp-ad-non-linear-anchor:hover,\\n.rmp-ad-non-linear-anchor:active {\\n text-decoration: none;\\n}\\n.rmp-ad-non-linear-creative {\\n position: relative;\\n cursor: pointer;\\n text-align: center;\\n width: 100%;\\n height: 100%;\\n bottom: 0;\\n}\\n.rmp-ad-non-linear-close {\\n right: 0;\\n top: 0;\\n position: absolute;\\n cursor: pointer;\\n width: 20px;\\n height: 20px;\\n background-color: #000000;\\n background-image: url(\\\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHdJREFUeNqUk9EKwCAIRaX9/9MgEAZ9amsPsWVXdxV8Ec+B1Ep/o40UMuuEpK/RMvAUnEZysfAIlYRkg5/6tyGSQNgKPIkLIwGSuLAn8CSKeovgOMiaMKtKPQENjB5i1Pi7xkoMzD0kBg5PmYVnqv1MGXiT3AIMACNQPFnn5xfHAAAAAElFTkSuQmCC\\\");\\n background-size: cover;\\n border: 4px solid #000000;\\n}\\n.rmp-ad-click-ui-mobile {\\n border: 2px solid #ffffff;\\n background: rgba(0, 0, 0, 0.4);\\n color: #ffffff;\\n display: block;\\n position: absolute;\\n right: 8px;\\n top: 8px;\\n font-size: 18px;\\n width: 112px;\\n height: 34px;\\n text-decoration: none;\\n text-align: center;\\n line-height: 30px;\\n box-shadow: 0 0 2px rgba(0, 0, 0, 0.6);\\n}\\n.rmp-ad-click-ui-mobile:visited,\\n.rmp-ad-click-ui-mobile:hover,\\n.rmp-ad-click-ui-mobile:active {\\n color: #ffffff;\\n text-decoration: none;\\n}\\n.rmp-linear-simid-creative {\\n position: absolute;\\n top: 0;\\n border-width: 0;\\n width: 100%;\\n height: 100%;\\n}\\n.overlayed {\\n position: absolute;\\n top: 0;\\n width: 640px;\\n height: 480px;\\n}\\n.content {\\n width: 640px;\\n height: 480px;\\n}\\n.hidden {\\n display: none;\\n}\\n\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/less/rmp-vast.less\"],\"names\":[],\"mappings\":\"AAAA,gBAAS;AA0BT;EACE,kBAAA;EACA,kBAAA;EACA,aAAA;EACA,mBAAA;EACA,UAAA;EACA,YAAA;EACA,cAAA;EACA,eAAA;EACA,eAAA;EACA,gBAAA;EACA,gBAAA;EACA,cAAA;EACA,sBAAA;EACA,yCAAA;AAxBF;AA2BA;EACE,sBAAA;AAzBF;AA4BA;;EAEE,WAAA;EACA,YAAA;EACA,kBAAA;EACA,OAAA;EACA,MAAA;EACA,SAAA;EACA,UAAA;EACA,aAAA;EACA,cAAA;AA1BF;AA6BA;EACE,kBAAA;EACA,MAAA;EACA,OAAA;EACA,SAAA;EACA,UAAA;EACA,WAAA;EACA,YAAA;EACA,aAAA;EACA,cAAA;EACA,mBAAA;AA3BF;AA8BA;EACE,0BAAA;EACA,sBAAA;EACA,uBAAA;EACA,8BAAA;EACA,2BAAA;EACA,wBAAA;EACA,MAAA;EACA,OAAA;AA5BF;AAgCA;EACE,kBAAA;EACA,MAAA;EACA,OAAA;EACA,SAAA;EACA,UAAA;EACA,WAAA;EACA,YAAA;EACA,aAAA;EACA,cAAA;EACA,mBAAA;AA9BF;AAiCA;EACE,WAAA;EACA,YAAA;EACA,kBAAA;EACA,OAAA;EACA,MAAA;EACA,SAAA;EACA,UAAA;EACA,aAAA;EACA,cAAA;EACA,eAAA;AA/BF;AAkCA;EACE,kBAAA;EACA,cAAA;EACA,eAAA;AAhCF;AAmCA;EACE,kBAAA;EACA,QAAA;EACA,YAAA;EACA,YAAA;EACA,YAAA;EACA,iBAAA;EACA,kBAAA;EACA,eAAA;EACA,sBAAA;EACA,sBAAA;EAjHA,iCAAA;EACA,yBAAA;EACA,mCAAA;AAiFF;AAkCA;EACE,qBAAA;AAhCF;AAmCA;EACE,WAAA;EACA,kBAAA;EACA,cAAA;EACA,cAAA;EAvHA,mBAAA;EACA,gBAAA;EACA,uBAAA;AAuFF;AAkCA;EACE,UAAA;EACA,kBAAA;EACA,QAAA;EACA,cAAA;EA/HA,mBAAA;EACA,gBAAA;EACA,uBAAA;AAgGF;AAiCA;EACE,kBAAA;EACA,SAAA;EACA,UAAA;EACA,ugBAAA;EACA,YAAA;EACA,4BAAA;EACA,2BAAA;EACA,YAAA;EAjJA,4BAAA;EACA,yBAAA;EACA,mCAAA;AAmHF;AAgCA;EACE,UAAA;AA9BF;AAiCA;EACE,kBAAA;EACA,kBAAA;EACA,SAAA;EACA,SAAA;EACA,6BAAA;AA/BF;AAkCA;;;;EAIE,qBAAA;AAhCF;AAmCA;EACE,kBAAA;EACA,eAAA;EACA,kBAAA;EACA,WAAA;EACA,YAAA;EACA,SAAA;AAjCF;AAoCA;EACE,QAAA;EACA,MAAA;EACA,kBAAA;EACA,eAAA;EACA,WAAA;EACA,YAAA;EACA,yBAAA;EACA,2UAAA;EACA,sBAAA;EACA,yBAAA;AAlCF;AAqCA;EACE,yBAAA;EACA,8BAAA;EACA,cAAA;EACA,cAAA;EACA,kBAAA;EACA,UAAA;EACA,QAAA;EACA,eAAA;EACA,YAAA;EACA,YAAA;EACA,qBAAA;EACA,kBAAA;EACA,iBAAA;EACA,sCAAA;AAnCF;AAsCA;;;EAGE,cAAA;EACA,qBAAA;AApCF;AAuCA;EACE,kBAAA;EACA,MAAA;EACA,eAAA;EACA,WAAA;EACA,YAAA;AArCF;AAwCA;EACE,kBAAA;EACA,MAAA;EACA,YAAA;EACA,aAAA;AAtCF;AAyCA;EACE,YAAA;EACA,aAAA;AAvCF;AA0CA;EACE,aAAA;AAxCF\",\"sourcesContent\":[\"@charset \\\"UTF-8\\\";\\n\\n// colors\\n@black: rgba(0, 0, 0, 1);\\n@grey: #333;\\n@light-grey: #cfcfcf;\\n@white: rgba(255, 255, 255, 1);\\n@shadow-1: rgba(0, 0, 0, 0.8);\\n@shadow-2: rgba(0, 0, 0, 0.6);\\n@shadow-3: rgba(0, 0, 0, 0.5);\\n@shadow-4: rgba(0, 0, 0, 0.4);\\n\\n// mixins\\n.transition(@property: background; @duration: 0.4s; @timing: ease-in) {\\n transition-property: @property;\\n transition-duration: @duration;\\n transition-timing-function: @timing;\\n}\\n\\n.text-ellipsis() {\\n white-space: nowrap;\\n overflow: hidden;\\n text-overflow: ellipsis;\\n}\\n\\n// shared CSS with RMP\\n.rmp-container {\\n position: relative;\\n text-align: center;\\n outline: none;\\n background: @black;\\n padding: 0;\\n border: none;\\n display: block;\\n font-size: 14px;\\n max-width: none;\\n max-height: none;\\n overflow: hidden;\\n line-height: 1;\\n box-sizing: border-box;\\n font-family: Arial, Helvetica, sans-serif;\\n}\\n\\n.rmp-container * {\\n box-sizing: border-box;\\n}\\n\\n.rmp-video,\\n.rmp-content {\\n width: 100%;\\n height: 100%;\\n position: absolute;\\n left: 0;\\n top: 0;\\n margin: 0;\\n padding: 0;\\n outline: none;\\n display: block;\\n}\\n\\n.rmp-ad-container {\\n position: absolute;\\n top: 0;\\n left: 0;\\n margin: 0;\\n padding: 0;\\n width: 100%;\\n height: 100%;\\n outline: none;\\n display: block;\\n text-align: initial;\\n}\\n\\n.rmp-fullscreen-on {\\n position: fixed !important;\\n width: 100% !important;\\n height: 100% !important;\\n background: @black !important;\\n overflow: hidden !important;\\n z-index: 9999 !important;\\n top: 0;\\n left: 0;\\n}\\n\\n// specific CSS to rmp-vast\\n.rmp-vpaid-container {\\n position: absolute;\\n top: 0;\\n left: 0;\\n margin: 0;\\n padding: 0;\\n width: 100%;\\n height: 100%;\\n outline: none;\\n display: block;\\n text-align: initial;\\n}\\n\\n.rmp-ad-vast-video-player {\\n width: 100%;\\n height: 100%;\\n position: absolute;\\n left: 0;\\n top: 0;\\n margin: 0;\\n padding: 0;\\n outline: none;\\n display: block;\\n cursor: pointer;\\n}\\n\\n.rmp-ad-container-icons {\\n position: absolute;\\n display: block;\\n cursor: pointer;\\n}\\n\\n.rmp-ad-container-skip {\\n position: absolute;\\n right: 0;\\n bottom: 44px;\\n width: 160px;\\n height: 40px;\\n line-height: 38px;\\n text-align: center;\\n cursor: pointer;\\n background-color: @grey;\\n border: 1px solid @grey;\\n .transition(border-color, 0.4s);\\n}\\n\\n.rmp-ad-container-skip:hover {\\n border-color: @black;\\n}\\n\\n.rmp-ad-container-skip-waiting {\\n width: 100%;\\n position: absolute;\\n padding: 0 2px;\\n color: @light-grey;\\n .text-ellipsis();\\n}\\n\\n.rmp-ad-container-skip-message {\\n width: 65%;\\n position: absolute;\\n left: 5%;\\n color: @white;\\n .text-ellipsis();\\n}\\n\\n.rmp-ad-container-skip-icon {\\n position: absolute;\\n left: 75%;\\n width: 20%;\\n background-image: url(\\\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAQJJREFUeNpi/P//PwMUNADxXyBuZsAPcoA4CIjfA/EuIJ4JFgUZBMU3/kNAMZIYNnz8PwIcgokzIdl0A0r3AHEbHhf9RGJ/hjGQDWJFYlcC8SQgZibgzf/YDEIHuUC8CIi58ahhJMYgEIgC4mVALIFNMzIgZBAI+AHxRiCWRfcOqQaBgBkQrwRiMSB+iE0BCwPxwBKIDwLxH0pcBAMPkKOcXIPmALEnED+lxKDJQJwKZUuQa1AVEOch8f+SE9hZQDydGCcjG/QPif0H6pUF+LIFriwCy1dvgTgChyEMaPmPBZuLVKA2RALxbjy+IGjQCiD+RcAQEFgF9fpHIN4GEwQIMACnXWgupdnzwwAAAABJRU5ErkJggg==\\\");\\n height: 100%;\\n background-repeat: no-repeat;\\n background-position: center;\\n opacity: 0.7;\\n .transition(opacity, 0.4s);\\n}\\n\\n.rmp-ad-container-skip:hover .rmp-ad-container-skip-icon {\\n opacity: 1;\\n}\\n\\n.rmp-ad-non-linear-container {\\n position: absolute;\\n text-align: center;\\n left: 50%;\\n bottom: 0;\\n transform: translate(-50%, 0);\\n}\\n\\n.rmp-ad-non-linear-anchor:link,\\n.rmp-ad-non-linear-anchor:visited,\\n.rmp-ad-non-linear-anchor:hover,\\n.rmp-ad-non-linear-anchor:active {\\n text-decoration: none;\\n}\\n\\n.rmp-ad-non-linear-creative {\\n position: relative;\\n cursor: pointer;\\n text-align: center;\\n width: 100%;\\n height: 100%;\\n bottom: 0;\\n}\\n\\n.rmp-ad-non-linear-close {\\n right: 0;\\n top: 0;\\n position: absolute;\\n cursor: pointer;\\n width: 20px;\\n height: 20px;\\n background-color: @black;\\n background-image: url(\\\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHdJREFUeNqUk9EKwCAIRaX9/9MgEAZ9amsPsWVXdxV8Ec+B1Ep/o40UMuuEpK/RMvAUnEZysfAIlYRkg5/6tyGSQNgKPIkLIwGSuLAn8CSKeovgOMiaMKtKPQENjB5i1Pi7xkoMzD0kBg5PmYVnqv1MGXiT3AIMACNQPFnn5xfHAAAAAElFTkSuQmCC\\\");\\n background-size: cover;\\n border: 4px solid @black;\\n}\\n\\n.rmp-ad-click-ui-mobile {\\n border: 2px solid @white;\\n background: @shadow-4;\\n color: @white;\\n display: block;\\n position: absolute;\\n right: 8px;\\n top: 8px;\\n font-size: 18px;\\n width: 112px;\\n height: 34px;\\n text-decoration: none;\\n text-align: center;\\n line-height: 30px;\\n box-shadow: 0 0 2px @shadow-2;\\n}\\n\\n.rmp-ad-click-ui-mobile:visited,\\n.rmp-ad-click-ui-mobile:hover,\\n.rmp-ad-click-ui-mobile:active {\\n color: @white;\\n text-decoration: none;\\n}\\n\\n.rmp-linear-simid-creative {\\n position: absolute;\\n top: 0;\\n border-width: 0;\\n width: 100%;\\n height: 100%;\\n}\\n\\n.overlayed {\\n position: absolute;\\n top: 0;\\n width: 640px;\\n height: 480px;\\n}\\n\\n.content {\\n width: 640px;\\n height: 480px;\\n}\\n\\n.hidden {\\n display: none;\\n} \\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\nmodule.exports = function (cssWithMappingToString) {\n var list = [];\n\n // return the list of modules as css string\n list.toString = function toString() {\n return this.map(function (item) {\n var content = \"\";\n var needLayer = typeof item[5] !== \"undefined\";\n if (item[4]) {\n content += \"@supports (\".concat(item[4], \") {\");\n }\n if (item[2]) {\n content += \"@media \".concat(item[2], \" {\");\n }\n if (needLayer) {\n content += \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\");\n }\n content += cssWithMappingToString(item);\n if (needLayer) {\n content += \"}\";\n }\n if (item[2]) {\n content += \"}\";\n }\n if (item[4]) {\n content += \"}\";\n }\n return content;\n }).join(\"\");\n };\n\n // import a list of modules into the list\n list.i = function i(modules, media, dedupe, supports, layer) {\n if (typeof modules === \"string\") {\n modules = [[null, modules, undefined]];\n }\n var alreadyImportedModules = {};\n if (dedupe) {\n for (var k = 0; k < this.length; k++) {\n var id = this[k][0];\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n for (var _k = 0; _k < modules.length; _k++) {\n var item = [].concat(modules[_k]);\n if (dedupe && alreadyImportedModules[item[0]]) {\n continue;\n }\n if (typeof layer !== \"undefined\") {\n if (typeof item[5] === \"undefined\") {\n item[5] = layer;\n } else {\n item[1] = \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\").concat(item[1], \"}\");\n item[5] = layer;\n }\n }\n if (media) {\n if (!item[2]) {\n item[2] = media;\n } else {\n item[1] = \"@media \".concat(item[2], \" {\").concat(item[1], \"}\");\n item[2] = media;\n }\n }\n if (supports) {\n if (!item[4]) {\n item[4] = \"\".concat(supports);\n } else {\n item[1] = \"@supports (\".concat(item[4], \") {\").concat(item[1], \"}\");\n item[4] = supports;\n }\n }\n list.push(item);\n }\n };\n return list;\n};","\"use strict\";\n\nmodule.exports = function (item) {\n var content = item[1];\n var cssMapping = item[3];\n if (!cssMapping) {\n return content;\n }\n if (typeof btoa === \"function\") {\n var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(cssMapping))));\n var data = \"sourceMappingURL=data:application/json;charset=utf-8;base64,\".concat(base64);\n var sourceMapping = \"/*# \".concat(data, \" */\");\n return [content].concat([sourceMapping]).join(\"\\n\");\n }\n return [content].join(\"\\n\");\n};","\"use strict\";\n\nvar stylesInDOM = [];\nfunction getIndexByIdentifier(identifier) {\n var result = -1;\n for (var i = 0; i < stylesInDOM.length; i++) {\n if (stylesInDOM[i].identifier === identifier) {\n result = i;\n break;\n }\n }\n return result;\n}\nfunction modulesToDom(list, options) {\n var idCountMap = {};\n var identifiers = [];\n for (var i = 0; i < list.length; i++) {\n var item = list[i];\n var id = options.base ? item[0] + options.base : item[0];\n var count = idCountMap[id] || 0;\n var identifier = \"\".concat(id, \" \").concat(count);\n idCountMap[id] = count + 1;\n var indexByIdentifier = getIndexByIdentifier(identifier);\n var obj = {\n css: item[1],\n media: item[2],\n sourceMap: item[3],\n supports: item[4],\n layer: item[5]\n };\n if (indexByIdentifier !== -1) {\n stylesInDOM[indexByIdentifier].references++;\n stylesInDOM[indexByIdentifier].updater(obj);\n } else {\n var updater = addElementStyle(obj, options);\n options.byIndex = i;\n stylesInDOM.splice(i, 0, {\n identifier: identifier,\n updater: updater,\n references: 1\n });\n }\n identifiers.push(identifier);\n }\n return identifiers;\n}\nfunction addElementStyle(obj, options) {\n var api = options.domAPI(options);\n api.update(obj);\n var updater = function updater(newObj) {\n if (newObj) {\n if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {\n return;\n }\n api.update(obj = newObj);\n } else {\n api.remove();\n }\n };\n return updater;\n}\nmodule.exports = function (list, options) {\n options = options || {};\n list = list || [];\n var lastIdentifiers = modulesToDom(list, options);\n return function update(newList) {\n newList = newList || [];\n for (var i = 0; i < lastIdentifiers.length; i++) {\n var identifier = lastIdentifiers[i];\n var index = getIndexByIdentifier(identifier);\n stylesInDOM[index].references--;\n }\n var newLastIdentifiers = modulesToDom(newList, options);\n for (var _i = 0; _i < lastIdentifiers.length; _i++) {\n var _identifier = lastIdentifiers[_i];\n var _index = getIndexByIdentifier(_identifier);\n if (stylesInDOM[_index].references === 0) {\n stylesInDOM[_index].updater();\n stylesInDOM.splice(_index, 1);\n }\n }\n lastIdentifiers = newLastIdentifiers;\n };\n};","\"use strict\";\n\nvar memo = {};\n\n/* istanbul ignore next */\nfunction getTarget(target) {\n if (typeof memo[target] === \"undefined\") {\n var styleTarget = document.querySelector(target);\n\n // Special case to return head of iframe instead of iframe itself\n if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {\n try {\n // This will throw an exception if access to iframe is blocked\n // due to cross-origin restrictions\n styleTarget = styleTarget.contentDocument.head;\n } catch (e) {\n // istanbul ignore next\n styleTarget = null;\n }\n }\n memo[target] = styleTarget;\n }\n return memo[target];\n}\n\n/* istanbul ignore next */\nfunction insertBySelector(insert, style) {\n var target = getTarget(insert);\n if (!target) {\n throw new Error(\"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\");\n }\n target.appendChild(style);\n}\nmodule.exports = insertBySelector;","\"use strict\";\n\n/* istanbul ignore next */\nfunction insertStyleElement(options) {\n var element = document.createElement(\"style\");\n options.setAttributes(element, options.attributes);\n options.insert(element, options.options);\n return element;\n}\nmodule.exports = insertStyleElement;","\"use strict\";\n\n/* istanbul ignore next */\nfunction setAttributesWithoutAttributes(styleElement) {\n var nonce = typeof __webpack_nonce__ !== \"undefined\" ? __webpack_nonce__ : null;\n if (nonce) {\n styleElement.setAttribute(\"nonce\", nonce);\n }\n}\nmodule.exports = setAttributesWithoutAttributes;","\"use strict\";\n\n/* istanbul ignore next */\nfunction apply(styleElement, options, obj) {\n var css = \"\";\n if (obj.supports) {\n css += \"@supports (\".concat(obj.supports, \") {\");\n }\n if (obj.media) {\n css += \"@media \".concat(obj.media, \" {\");\n }\n var needLayer = typeof obj.layer !== \"undefined\";\n if (needLayer) {\n css += \"@layer\".concat(obj.layer.length > 0 ? \" \".concat(obj.layer) : \"\", \" {\");\n }\n css += obj.css;\n if (needLayer) {\n css += \"}\";\n }\n if (obj.media) {\n css += \"}\";\n }\n if (obj.supports) {\n css += \"}\";\n }\n var sourceMap = obj.sourceMap;\n if (sourceMap && typeof btoa !== \"undefined\") {\n css += \"\\n/*# sourceMappingURL=data:application/json;base64,\".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), \" */\");\n }\n\n // For old IE\n /* istanbul ignore if */\n options.styleTagTransform(css, styleElement, options.options);\n}\nfunction removeStyleElement(styleElement) {\n // istanbul ignore if\n if (styleElement.parentNode === null) {\n return false;\n }\n styleElement.parentNode.removeChild(styleElement);\n}\n\n/* istanbul ignore next */\nfunction domAPI(options) {\n if (typeof document === \"undefined\") {\n return {\n update: function update() {},\n remove: function remove() {}\n };\n }\n var styleElement = options.insertStyleElement(options);\n return {\n update: function update(obj) {\n apply(styleElement, options, obj);\n },\n remove: function remove() {\n removeStyleElement(styleElement);\n }\n };\n}\nmodule.exports = domAPI;","\"use strict\";\n\n/* istanbul ignore next */\nfunction styleTagTransform(css, styleElement) {\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = css;\n } else {\n while (styleElement.firstChild) {\n styleElement.removeChild(styleElement.firstChild);\n }\n styleElement.appendChild(document.createTextNode(css));\n }\n}\nmodule.exports = styleTagTransform;","module.exports = require(\"core-js-pure/stable/array/from\");","module.exports = require(\"core-js-pure/stable/instance/concat\");","module.exports = require(\"core-js-pure/stable/instance/filter\");","module.exports = require(\"core-js-pure/stable/instance/find\");","module.exports = require(\"core-js-pure/stable/instance/includes\");","module.exports = require(\"core-js-pure/stable/instance/index-of\");","module.exports = require(\"core-js-pure/stable/instance/keys\");","module.exports = require(\"core-js-pure/stable/instance/last-index-of\");","module.exports = require(\"core-js-pure/stable/instance/map\");","module.exports = require(\"core-js-pure/stable/instance/reduce\");","module.exports = require(\"core-js-pure/stable/instance/slice\");","module.exports = require(\"core-js-pure/stable/instance/sort\");","module.exports = require(\"core-js-pure/stable/instance/splice\");","module.exports = require(\"core-js-pure/stable/instance/starts-with\");","module.exports = require(\"core-js-pure/stable/instance/trim\");","module.exports = require(\"core-js-pure/stable/json/stringify\");","module.exports = require(\"core-js-pure/stable/map\");","module.exports = require(\"core-js-pure/stable/object/assign\");","module.exports = require(\"core-js-pure/stable/object/get-own-property-names\");","module.exports = require(\"core-js-pure/stable/object/keys\");","module.exports = require(\"core-js-pure/stable/object/values\");","module.exports = require(\"core-js-pure/stable/parse-float\");","module.exports = require(\"core-js-pure/stable/parse-int\");","module.exports = require(\"core-js-pure/stable/promise\");","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","__webpack_require__.nc = undefined;","/* eslint-disable no-prototype-builtins */\nvar g =\n (typeof globalThis !== 'undefined' && globalThis) ||\n (typeof self !== 'undefined' && self) ||\n // eslint-disable-next-line no-undef\n (typeof global !== 'undefined' && global) ||\n {}\n\nvar support = {\n searchParams: 'URLSearchParams' in g,\n iterable: 'Symbol' in g && 'iterator' in Symbol,\n blob:\n 'FileReader' in g &&\n 'Blob' in g &&\n (function() {\n try {\n new Blob()\n return true\n } catch (e) {\n return false\n }\n })(),\n formData: 'FormData' in g,\n arrayBuffer: 'ArrayBuffer' in g\n}\n\nfunction isDataView(obj) {\n return obj && DataView.prototype.isPrototypeOf(obj)\n}\n\nif (support.arrayBuffer) {\n var viewClasses = [\n '[object Int8Array]',\n '[object Uint8Array]',\n '[object Uint8ClampedArray]',\n '[object Int16Array]',\n '[object Uint16Array]',\n '[object Int32Array]',\n '[object Uint32Array]',\n '[object Float32Array]',\n '[object Float64Array]'\n ]\n\n var isArrayBufferView =\n ArrayBuffer.isView ||\n function(obj) {\n return obj && viewClasses.indexOf(Object.prototype.toString.call(obj)) > -1\n }\n}\n\nfunction normalizeName(name) {\n if (typeof name !== 'string') {\n name = String(name)\n }\n if (/[^a-z0-9\\-#$%&'*+.^_`|~!]/i.test(name) || name === '') {\n throw new TypeError('Invalid character in header field name: \"' + name + '\"')\n }\n return name.toLowerCase()\n}\n\nfunction normalizeValue(value) {\n if (typeof value !== 'string') {\n value = String(value)\n }\n return value\n}\n\n// Build a destructive iterator for the value list\nfunction iteratorFor(items) {\n var iterator = {\n next: function() {\n var value = items.shift()\n return {done: value === undefined, value: value}\n }\n }\n\n if (support.iterable) {\n iterator[Symbol.iterator] = function() {\n return iterator\n }\n }\n\n return iterator\n}\n\nexport function Headers(headers) {\n this.map = {}\n\n if (headers instanceof Headers) {\n headers.forEach(function(value, name) {\n this.append(name, value)\n }, this)\n } else if (Array.isArray(headers)) {\n headers.forEach(function(header) {\n if (header.length != 2) {\n throw new TypeError('Headers constructor: expected name/value pair to be length 2, found' + header.length)\n }\n this.append(header[0], header[1])\n }, this)\n } else if (headers) {\n Object.getOwnPropertyNames(headers).forEach(function(name) {\n this.append(name, headers[name])\n }, this)\n }\n}\n\nHeaders.prototype.append = function(name, value) {\n name = normalizeName(name)\n value = normalizeValue(value)\n var oldValue = this.map[name]\n this.map[name] = oldValue ? oldValue + ', ' + value : value\n}\n\nHeaders.prototype['delete'] = function(name) {\n delete this.map[normalizeName(name)]\n}\n\nHeaders.prototype.get = function(name) {\n name = normalizeName(name)\n return this.has(name) ? this.map[name] : null\n}\n\nHeaders.prototype.has = function(name) {\n return this.map.hasOwnProperty(normalizeName(name))\n}\n\nHeaders.prototype.set = function(name, value) {\n this.map[normalizeName(name)] = normalizeValue(value)\n}\n\nHeaders.prototype.forEach = function(callback, thisArg) {\n for (var name in this.map) {\n if (this.map.hasOwnProperty(name)) {\n callback.call(thisArg, this.map[name], name, this)\n }\n }\n}\n\nHeaders.prototype.keys = function() {\n var items = []\n this.forEach(function(value, name) {\n items.push(name)\n })\n return iteratorFor(items)\n}\n\nHeaders.prototype.values = function() {\n var items = []\n this.forEach(function(value) {\n items.push(value)\n })\n return iteratorFor(items)\n}\n\nHeaders.prototype.entries = function() {\n var items = []\n this.forEach(function(value, name) {\n items.push([name, value])\n })\n return iteratorFor(items)\n}\n\nif (support.iterable) {\n Headers.prototype[Symbol.iterator] = Headers.prototype.entries\n}\n\nfunction consumed(body) {\n if (body._noBody) return\n if (body.bodyUsed) {\n return Promise.reject(new TypeError('Already read'))\n }\n body.bodyUsed = true\n}\n\nfunction fileReaderReady(reader) {\n return new Promise(function(resolve, reject) {\n reader.onload = function() {\n resolve(reader.result)\n }\n reader.onerror = function() {\n reject(reader.error)\n }\n })\n}\n\nfunction readBlobAsArrayBuffer(blob) {\n var reader = new FileReader()\n var promise = fileReaderReady(reader)\n reader.readAsArrayBuffer(blob)\n return promise\n}\n\nfunction readBlobAsText(blob) {\n var reader = new FileReader()\n var promise = fileReaderReady(reader)\n var match = /charset=([A-Za-z0-9_-]+)/.exec(blob.type)\n var encoding = match ? match[1] : 'utf-8'\n reader.readAsText(blob, encoding)\n return promise\n}\n\nfunction readArrayBufferAsText(buf) {\n var view = new Uint8Array(buf)\n var chars = new Array(view.length)\n\n for (var i = 0; i < view.length; i++) {\n chars[i] = String.fromCharCode(view[i])\n }\n return chars.join('')\n}\n\nfunction bufferClone(buf) {\n if (buf.slice) {\n return buf.slice(0)\n } else {\n var view = new Uint8Array(buf.byteLength)\n view.set(new Uint8Array(buf))\n return view.buffer\n }\n}\n\nfunction Body() {\n this.bodyUsed = false\n\n this._initBody = function(body) {\n /*\n fetch-mock wraps the Response object in an ES6 Proxy to\n provide useful test harness features such as flush. However, on\n ES5 browsers without fetch or Proxy support pollyfills must be used;\n the proxy-pollyfill is unable to proxy an attribute unless it exists\n on the object before the Proxy is created. This change ensures\n Response.bodyUsed exists on the instance, while maintaining the\n semantic of setting Request.bodyUsed in the constructor before\n _initBody is called.\n */\n // eslint-disable-next-line no-self-assign\n this.bodyUsed = this.bodyUsed\n this._bodyInit = body\n if (!body) {\n this._noBody = true;\n this._bodyText = ''\n } else if (typeof body === 'string') {\n this._bodyText = body\n } else if (support.blob && Blob.prototype.isPrototypeOf(body)) {\n this._bodyBlob = body\n } else if (support.formData && FormData.prototype.isPrototypeOf(body)) {\n this._bodyFormData = body\n } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {\n this._bodyText = body.toString()\n } else if (support.arrayBuffer && support.blob && isDataView(body)) {\n this._bodyArrayBuffer = bufferClone(body.buffer)\n // IE 10-11 can't handle a DataView body.\n this._bodyInit = new Blob([this._bodyArrayBuffer])\n } else if (support.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(body) || isArrayBufferView(body))) {\n this._bodyArrayBuffer = bufferClone(body)\n } else {\n this._bodyText = body = Object.prototype.toString.call(body)\n }\n\n if (!this.headers.get('content-type')) {\n if (typeof body === 'string') {\n this.headers.set('content-type', 'text/plain;charset=UTF-8')\n } else if (this._bodyBlob && this._bodyBlob.type) {\n this.headers.set('content-type', this._bodyBlob.type)\n } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {\n this.headers.set('content-type', 'application/x-www-form-urlencoded;charset=UTF-8')\n }\n }\n }\n\n if (support.blob) {\n this.blob = function() {\n var rejected = consumed(this)\n if (rejected) {\n return rejected\n }\n\n if (this._bodyBlob) {\n return Promise.resolve(this._bodyBlob)\n } else if (this._bodyArrayBuffer) {\n return Promise.resolve(new Blob([this._bodyArrayBuffer]))\n } else if (this._bodyFormData) {\n throw new Error('could not read FormData body as blob')\n } else {\n return Promise.resolve(new Blob([this._bodyText]))\n }\n }\n }\n\n this.arrayBuffer = function() {\n if (this._bodyArrayBuffer) {\n var isConsumed = consumed(this)\n if (isConsumed) {\n return isConsumed\n } else if (ArrayBuffer.isView(this._bodyArrayBuffer)) {\n return Promise.resolve(\n this._bodyArrayBuffer.buffer.slice(\n this._bodyArrayBuffer.byteOffset,\n this._bodyArrayBuffer.byteOffset + this._bodyArrayBuffer.byteLength\n )\n )\n } else {\n return Promise.resolve(this._bodyArrayBuffer)\n }\n } else if (support.blob) {\n return this.blob().then(readBlobAsArrayBuffer)\n } else {\n throw new Error('could not read as ArrayBuffer')\n }\n }\n\n this.text = function() {\n var rejected = consumed(this)\n if (rejected) {\n return rejected\n }\n\n if (this._bodyBlob) {\n return readBlobAsText(this._bodyBlob)\n } else if (this._bodyArrayBuffer) {\n return Promise.resolve(readArrayBufferAsText(this._bodyArrayBuffer))\n } else if (this._bodyFormData) {\n throw new Error('could not read FormData body as text')\n } else {\n return Promise.resolve(this._bodyText)\n }\n }\n\n if (support.formData) {\n this.formData = function() {\n return this.text().then(decode)\n }\n }\n\n this.json = function() {\n return this.text().then(JSON.parse)\n }\n\n return this\n}\n\n// HTTP methods whose capitalization should be normalized\nvar methods = ['CONNECT', 'DELETE', 'GET', 'HEAD', 'OPTIONS', 'PATCH', 'POST', 'PUT', 'TRACE']\n\nfunction normalizeMethod(method) {\n var upcased = method.toUpperCase()\n return methods.indexOf(upcased) > -1 ? upcased : method\n}\n\nexport function Request(input, options) {\n if (!(this instanceof Request)) {\n throw new TypeError('Please use the \"new\" operator, this DOM object constructor cannot be called as a function.')\n }\n\n options = options || {}\n var body = options.body\n\n if (input instanceof Request) {\n if (input.bodyUsed) {\n throw new TypeError('Already read')\n }\n this.url = input.url\n this.credentials = input.credentials\n if (!options.headers) {\n this.headers = new Headers(input.headers)\n }\n this.method = input.method\n this.mode = input.mode\n this.signal = input.signal\n if (!body && input._bodyInit != null) {\n body = input._bodyInit\n input.bodyUsed = true\n }\n } else {\n this.url = String(input)\n }\n\n this.credentials = options.credentials || this.credentials || 'same-origin'\n if (options.headers || !this.headers) {\n this.headers = new Headers(options.headers)\n }\n this.method = normalizeMethod(options.method || this.method || 'GET')\n this.mode = options.mode || this.mode || null\n this.signal = options.signal || this.signal || (function () {\n if ('AbortController' in g) {\n var ctrl = new AbortController();\n return ctrl.signal;\n }\n }());\n this.referrer = null\n\n if ((this.method === 'GET' || this.method === 'HEAD') && body) {\n throw new TypeError('Body not allowed for GET or HEAD requests')\n }\n this._initBody(body)\n\n if (this.method === 'GET' || this.method === 'HEAD') {\n if (options.cache === 'no-store' || options.cache === 'no-cache') {\n // Search for a '_' parameter in the query string\n var reParamSearch = /([?&])_=[^&]*/\n if (reParamSearch.test(this.url)) {\n // If it already exists then set the value with the current time\n this.url = this.url.replace(reParamSearch, '$1_=' + new Date().getTime())\n } else {\n // Otherwise add a new '_' parameter to the end with the current time\n var reQueryString = /\\?/\n this.url += (reQueryString.test(this.url) ? '&' : '?') + '_=' + new Date().getTime()\n }\n }\n }\n}\n\nRequest.prototype.clone = function() {\n return new Request(this, {body: this._bodyInit})\n}\n\nfunction decode(body) {\n var form = new FormData()\n body\n .trim()\n .split('&')\n .forEach(function(bytes) {\n if (bytes) {\n var split = bytes.split('=')\n var name = split.shift().replace(/\\+/g, ' ')\n var value = split.join('=').replace(/\\+/g, ' ')\n form.append(decodeURIComponent(name), decodeURIComponent(value))\n }\n })\n return form\n}\n\nfunction parseHeaders(rawHeaders) {\n var headers = new Headers()\n // Replace instances of \\r\\n and \\n followed by at least one space or horizontal tab with a space\n // https://tools.ietf.org/html/rfc7230#section-3.2\n var preProcessedHeaders = rawHeaders.replace(/\\r?\\n[\\t ]+/g, ' ')\n // Avoiding split via regex to work around a common IE11 bug with the core-js 3.6.0 regex polyfill\n // https://github.com/github/fetch/issues/748\n // https://github.com/zloirock/core-js/issues/751\n preProcessedHeaders\n .split('\\r')\n .map(function(header) {\n return header.indexOf('\\n') === 0 ? header.substr(1, header.length) : header\n })\n .forEach(function(line) {\n var parts = line.split(':')\n var key = parts.shift().trim()\n if (key) {\n var value = parts.join(':').trim()\n try {\n headers.append(key, value)\n } catch (error) {\n console.warn('Response ' + error.message)\n }\n }\n })\n return headers\n}\n\nBody.call(Request.prototype)\n\nexport function Response(bodyInit, options) {\n if (!(this instanceof Response)) {\n throw new TypeError('Please use the \"new\" operator, this DOM object constructor cannot be called as a function.')\n }\n if (!options) {\n options = {}\n }\n\n this.type = 'default'\n this.status = options.status === undefined ? 200 : options.status\n if (this.status < 200 || this.status > 599) {\n throw new RangeError(\"Failed to construct 'Response': The status provided (0) is outside the range [200, 599].\")\n }\n this.ok = this.status >= 200 && this.status < 300\n this.statusText = options.statusText === undefined ? '' : '' + options.statusText\n this.headers = new Headers(options.headers)\n this.url = options.url || ''\n this._initBody(bodyInit)\n}\n\nBody.call(Response.prototype)\n\nResponse.prototype.clone = function() {\n return new Response(this._bodyInit, {\n status: this.status,\n statusText: this.statusText,\n headers: new Headers(this.headers),\n url: this.url\n })\n}\n\nResponse.error = function() {\n var response = new Response(null, {status: 200, statusText: ''})\n response.status = 0\n response.type = 'error'\n return response\n}\n\nvar redirectStatuses = [301, 302, 303, 307, 308]\n\nResponse.redirect = function(url, status) {\n if (redirectStatuses.indexOf(status) === -1) {\n throw new RangeError('Invalid status code')\n }\n\n return new Response(null, {status: status, headers: {location: url}})\n}\n\nexport var DOMException = g.DOMException\ntry {\n new DOMException()\n} catch (err) {\n DOMException = function(message, name) {\n this.message = message\n this.name = name\n var error = Error(message)\n this.stack = error.stack\n }\n DOMException.prototype = Object.create(Error.prototype)\n DOMException.prototype.constructor = DOMException\n}\n\nexport function fetch(input, init) {\n return new Promise(function(resolve, reject) {\n var request = new Request(input, init)\n\n if (request.signal && request.signal.aborted) {\n return reject(new DOMException('Aborted', 'AbortError'))\n }\n\n var xhr = new XMLHttpRequest()\n\n function abortXhr() {\n xhr.abort()\n }\n\n xhr.onload = function() {\n var options = {\n statusText: xhr.statusText,\n headers: parseHeaders(xhr.getAllResponseHeaders() || '')\n }\n // This check if specifically for when a user fetches a file locally from the file system\n // Only if the status is out of a normal range\n if (request.url.startsWith('file://') && (xhr.status < 200 || xhr.status > 599)) {\n options.status = 200;\n } else {\n options.status = xhr.status;\n }\n options.url = 'responseURL' in xhr ? xhr.responseURL : options.headers.get('X-Request-URL')\n var body = 'response' in xhr ? xhr.response : xhr.responseText\n setTimeout(function() {\n resolve(new Response(body, options))\n }, 0)\n }\n\n xhr.onerror = function() {\n setTimeout(function() {\n reject(new TypeError('Network request failed'))\n }, 0)\n }\n\n xhr.ontimeout = function() {\n setTimeout(function() {\n reject(new TypeError('Network request failed'))\n }, 0)\n }\n\n xhr.onabort = function() {\n setTimeout(function() {\n reject(new DOMException('Aborted', 'AbortError'))\n }, 0)\n }\n\n function fixUrl(url) {\n try {\n return url === '' && g.location.href ? g.location.href : url\n } catch (e) {\n return url\n }\n }\n\n xhr.open(request.method, fixUrl(request.url), true)\n\n if (request.credentials === 'include') {\n xhr.withCredentials = true\n } else if (request.credentials === 'omit') {\n xhr.withCredentials = false\n }\n\n if ('responseType' in xhr) {\n if (support.blob) {\n xhr.responseType = 'blob'\n } else if (\n support.arrayBuffer\n ) {\n xhr.responseType = 'arraybuffer'\n }\n }\n\n if (init && typeof init.headers === 'object' && !(init.headers instanceof Headers || (g.Headers && init.headers instanceof g.Headers))) {\n var names = [];\n Object.getOwnPropertyNames(init.headers).forEach(function(name) {\n names.push(normalizeName(name))\n xhr.setRequestHeader(name, normalizeValue(init.headers[name]))\n })\n request.headers.forEach(function(value, name) {\n if (names.indexOf(name) === -1) {\n xhr.setRequestHeader(name, value)\n }\n })\n } else {\n request.headers.forEach(function(value, name) {\n xhr.setRequestHeader(name, value)\n })\n }\n\n if (request.signal) {\n request.signal.addEventListener('abort', abortXhr)\n\n xhr.onreadystatechange = function() {\n // DONE (success or failure)\n if (xhr.readyState === 4) {\n request.signal.removeEventListener('abort', abortXhr)\n }\n }\n }\n\n xhr.send(typeof request._bodyInit === 'undefined' ? null : request._bodyInit)\n })\n}\n\nfetch.polyfill = true\n\nif (!g.fetch) {\n g.fetch = fetch\n g.Headers = Headers\n g.Request = Request\n g.Response = Response\n}","import _Symbol from \"core-js-pure/features/symbol/index.js\";\nimport _Symbol$iterator from \"core-js-pure/features/symbol/iterator.js\";\nexport default function _typeof(o) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof _Symbol && \"symbol\" == typeof _Symbol$iterator ? function (o) {\n return typeof o;\n } : function (o) {\n return o && \"function\" == typeof _Symbol && o.constructor === _Symbol && o !== _Symbol.prototype ? \"symbol\" : typeof o;\n }, _typeof(o);\n}","import _typeof from \"./typeof.js\";\nimport _Object$defineProperty from \"core-js-pure/features/object/define-property.js\";\nimport _Symbol from \"core-js-pure/features/symbol/index.js\";\nimport _Object$create from \"core-js-pure/features/object/create.js\";\nimport _Object$getPrototypeOf from \"core-js-pure/features/object/get-prototype-of.js\";\nimport _forEachInstanceProperty from \"core-js-pure/features/instance/for-each.js\";\nimport _pushInstanceProperty from \"core-js-pure/features/instance/push.js\";\nimport _Object$setPrototypeOf from \"core-js-pure/features/object/set-prototype-of.js\";\nimport _Promise from \"core-js-pure/features/promise/index.js\";\nimport _reverseInstanceProperty from \"core-js-pure/features/instance/reverse.js\";\nimport _sliceInstanceProperty from \"core-js-pure/features/instance/slice.js\";\nexport default function _regeneratorRuntime() {\n \"use strict\"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */\n _regeneratorRuntime = function _regeneratorRuntime() {\n return e;\n };\n var t,\n e = {},\n r = Object.prototype,\n n = r.hasOwnProperty,\n o = _Object$defineProperty || function (t, e, r) {\n t[e] = r.value;\n },\n i = \"function\" == typeof _Symbol ? _Symbol : {},\n a = i.iterator || \"@@iterator\",\n c = i.asyncIterator || \"@@asyncIterator\",\n u = i.toStringTag || \"@@toStringTag\";\n function define(t, e, r) {\n return _Object$defineProperty(t, e, {\n value: r,\n enumerable: !0,\n configurable: !0,\n writable: !0\n }), t[e];\n }\n try {\n define({}, \"\");\n } catch (t) {\n define = function define(t, e, r) {\n return t[e] = r;\n };\n }\n function wrap(t, e, r, n) {\n var i = e && e.prototype instanceof Generator ? e : Generator,\n a = _Object$create(i.prototype),\n c = new Context(n || []);\n return o(a, \"_invoke\", {\n value: makeInvokeMethod(t, r, c)\n }), a;\n }\n function tryCatch(t, e, r) {\n try {\n return {\n type: \"normal\",\n arg: t.call(e, r)\n };\n } catch (t) {\n return {\n type: \"throw\",\n arg: t\n };\n }\n }\n e.wrap = wrap;\n var h = \"suspendedStart\",\n l = \"suspendedYield\",\n f = \"executing\",\n s = \"completed\",\n y = {};\n function Generator() {}\n function GeneratorFunction() {}\n function GeneratorFunctionPrototype() {}\n var p = {};\n define(p, a, function () {\n return this;\n });\n var d = _Object$getPrototypeOf,\n v = d && d(d(values([])));\n v && v !== r && n.call(v, a) && (p = v);\n var g = GeneratorFunctionPrototype.prototype = Generator.prototype = _Object$create(p);\n function defineIteratorMethods(t) {\n var _context;\n _forEachInstanceProperty(_context = [\"next\", \"throw\", \"return\"]).call(_context, function (e) {\n define(t, e, function (t) {\n return this._invoke(e, t);\n });\n });\n }\n function AsyncIterator(t, e) {\n function invoke(r, o, i, a) {\n var c = tryCatch(t[r], t, o);\n if (\"throw\" !== c.type) {\n var u = c.arg,\n h = u.value;\n return h && \"object\" == _typeof(h) && n.call(h, \"__await\") ? e.resolve(h.__await).then(function (t) {\n invoke(\"next\", t, i, a);\n }, function (t) {\n invoke(\"throw\", t, i, a);\n }) : e.resolve(h).then(function (t) {\n u.value = t, i(u);\n }, function (t) {\n return invoke(\"throw\", t, i, a);\n });\n }\n a(c.arg);\n }\n var r;\n o(this, \"_invoke\", {\n value: function value(t, n) {\n function callInvokeWithMethodAndArg() {\n return new e(function (e, r) {\n invoke(t, n, e, r);\n });\n }\n return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();\n }\n });\n }\n function makeInvokeMethod(e, r, n) {\n var o = h;\n return function (i, a) {\n if (o === f) throw new Error(\"Generator is already running\");\n if (o === s) {\n if (\"throw\" === i) throw a;\n return {\n value: t,\n done: !0\n };\n }\n for (n.method = i, n.arg = a;;) {\n var c = n.delegate;\n if (c) {\n var u = maybeInvokeDelegate(c, n);\n if (u) {\n if (u === y) continue;\n return u;\n }\n }\n if (\"next\" === n.method) n.sent = n._sent = n.arg;else if (\"throw\" === n.method) {\n if (o === h) throw o = s, n.arg;\n n.dispatchException(n.arg);\n } else \"return\" === n.method && n.abrupt(\"return\", n.arg);\n o = f;\n var p = tryCatch(e, r, n);\n if (\"normal\" === p.type) {\n if (o = n.done ? s : l, p.arg === y) continue;\n return {\n value: p.arg,\n done: n.done\n };\n }\n \"throw\" === p.type && (o = s, n.method = \"throw\", n.arg = p.arg);\n }\n };\n }\n function maybeInvokeDelegate(e, r) {\n var n = r.method,\n o = e.iterator[n];\n if (o === t) return r.delegate = null, \"throw\" === n && e.iterator[\"return\"] && (r.method = \"return\", r.arg = t, maybeInvokeDelegate(e, r), \"throw\" === r.method) || \"return\" !== n && (r.method = \"throw\", r.arg = new TypeError(\"The iterator does not provide a '\" + n + \"' method\")), y;\n var i = tryCatch(o, e.iterator, r.arg);\n if (\"throw\" === i.type) return r.method = \"throw\", r.arg = i.arg, r.delegate = null, y;\n var a = i.arg;\n return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, \"return\" !== r.method && (r.method = \"next\", r.arg = t), r.delegate = null, y) : a : (r.method = \"throw\", r.arg = new TypeError(\"iterator result is not an object\"), r.delegate = null, y);\n }\n function pushTryEntry(t) {\n var _context2;\n var e = {\n tryLoc: t[0]\n };\n 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), _pushInstanceProperty(_context2 = this.tryEntries).call(_context2, e);\n }\n function resetTryEntry(t) {\n var e = t.completion || {};\n e.type = \"normal\", delete e.arg, t.completion = e;\n }\n function Context(t) {\n this.tryEntries = [{\n tryLoc: \"root\"\n }], _forEachInstanceProperty(t).call(t, pushTryEntry, this), this.reset(!0);\n }\n function values(e) {\n if (e || \"\" === e) {\n var r = e[a];\n if (r) return r.call(e);\n if (\"function\" == typeof e.next) return e;\n if (!isNaN(e.length)) {\n var o = -1,\n i = function next() {\n for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;\n return next.value = t, next.done = !0, next;\n };\n return i.next = i;\n }\n }\n throw new TypeError(_typeof(e) + \" is not iterable\");\n }\n return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, \"constructor\", {\n value: GeneratorFunctionPrototype,\n configurable: !0\n }), o(GeneratorFunctionPrototype, \"constructor\", {\n value: GeneratorFunction,\n configurable: !0\n }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, \"GeneratorFunction\"), e.isGeneratorFunction = function (t) {\n var e = \"function\" == typeof t && t.constructor;\n return !!e && (e === GeneratorFunction || \"GeneratorFunction\" === (e.displayName || e.name));\n }, e.mark = function (t) {\n return _Object$setPrototypeOf ? _Object$setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, \"GeneratorFunction\")), t.prototype = _Object$create(g), t;\n }, e.awrap = function (t) {\n return {\n __await: t\n };\n }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {\n return this;\n }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {\n void 0 === i && (i = _Promise);\n var a = new AsyncIterator(wrap(t, r, n, o), i);\n return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {\n return t.done ? t.value : a.next();\n });\n }, defineIteratorMethods(g), define(g, u, \"Generator\"), define(g, a, function () {\n return this;\n }), define(g, \"toString\", function () {\n return \"[object Generator]\";\n }), e.keys = function (t) {\n var e = Object(t),\n r = [];\n for (var n in e) _pushInstanceProperty(r).call(r, n);\n return _reverseInstanceProperty(r).call(r), function next() {\n for (; r.length;) {\n var t = r.pop();\n if (t in e) return next.value = t, next.done = !1, next;\n }\n return next.done = !0, next;\n };\n }, e.values = values, Context.prototype = {\n constructor: Context,\n reset: function reset(e) {\n var _context3;\n if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = \"next\", this.arg = t, _forEachInstanceProperty(_context3 = this.tryEntries).call(_context3, resetTryEntry), !e) for (var r in this) \"t\" === r.charAt(0) && n.call(this, r) && !isNaN(+_sliceInstanceProperty(r).call(r, 1)) && (this[r] = t);\n },\n stop: function stop() {\n this.done = !0;\n var t = this.tryEntries[0].completion;\n if (\"throw\" === t.type) throw t.arg;\n return this.rval;\n },\n dispatchException: function dispatchException(e) {\n if (this.done) throw e;\n var r = this;\n function handle(n, o) {\n return a.type = \"throw\", a.arg = e, r.next = n, o && (r.method = \"next\", r.arg = t), !!o;\n }\n for (var o = this.tryEntries.length - 1; o >= 0; --o) {\n var i = this.tryEntries[o],\n a = i.completion;\n if (\"root\" === i.tryLoc) return handle(\"end\");\n if (i.tryLoc <= this.prev) {\n var c = n.call(i, \"catchLoc\"),\n u = n.call(i, \"finallyLoc\");\n if (c && u) {\n if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);\n if (this.prev < i.finallyLoc) return handle(i.finallyLoc);\n } else if (c) {\n if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);\n } else {\n if (!u) throw new Error(\"try statement without catch or finally\");\n if (this.prev < i.finallyLoc) return handle(i.finallyLoc);\n }\n }\n }\n },\n abrupt: function abrupt(t, e) {\n for (var r = this.tryEntries.length - 1; r >= 0; --r) {\n var o = this.tryEntries[r];\n if (o.tryLoc <= this.prev && n.call(o, \"finallyLoc\") && this.prev < o.finallyLoc) {\n var i = o;\n break;\n }\n }\n i && (\"break\" === t || \"continue\" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);\n var a = i ? i.completion : {};\n return a.type = t, a.arg = e, i ? (this.method = \"next\", this.next = i.finallyLoc, y) : this.complete(a);\n },\n complete: function complete(t, e) {\n if (\"throw\" === t.type) throw t.arg;\n return \"break\" === t.type || \"continue\" === t.type ? this.next = t.arg : \"return\" === t.type ? (this.rval = this.arg = t.arg, this.method = \"return\", this.next = \"end\") : \"normal\" === t.type && e && (this.next = e), y;\n },\n finish: function finish(t) {\n for (var e = this.tryEntries.length - 1; e >= 0; --e) {\n var r = this.tryEntries[e];\n if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;\n }\n },\n \"catch\": function _catch(t) {\n for (var e = this.tryEntries.length - 1; e >= 0; --e) {\n var r = this.tryEntries[e];\n if (r.tryLoc === t) {\n var n = r.completion;\n if (\"throw\" === n.type) {\n var o = n.arg;\n resetTryEntry(r);\n }\n return o;\n }\n }\n throw new Error(\"illegal catch attempt\");\n },\n delegateYield: function delegateYield(e, r, n) {\n return this.delegate = {\n iterator: values(e),\n resultName: r,\n nextLoc: n\n }, \"next\" === this.method && (this.arg = t), y;\n }\n }, e;\n}","import _Promise from \"core-js-pure/features/promise/index.js\";\nfunction asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {\n try {\n var info = gen[key](arg);\n var value = info.value;\n } catch (error) {\n reject(error);\n return;\n }\n if (info.done) {\n resolve(value);\n } else {\n _Promise.resolve(value).then(_next, _throw);\n }\n}\nexport default function _asyncToGenerator(fn) {\n return function () {\n var self = this,\n args = arguments;\n return new _Promise(function (resolve, reject) {\n var gen = fn.apply(self, args);\n function _next(value) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value);\n }\n function _throw(err) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err);\n }\n _next(undefined);\n });\n };\n}","export default function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}","import _typeof from \"./typeof.js\";\nimport _Symbol$toPrimitive from \"core-js-pure/features/symbol/to-primitive.js\";\nexport default function _toPrimitive(input, hint) {\n if (_typeof(input) !== \"object\" || input === null) return input;\n var prim = input[_Symbol$toPrimitive];\n if (prim !== undefined) {\n var res = prim.call(input, hint || \"default\");\n if (_typeof(res) !== \"object\") return res;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (hint === \"string\" ? String : Number)(input);\n}","import _typeof from \"./typeof.js\";\nimport toPrimitive from \"./toPrimitive.js\";\nexport default function _toPropertyKey(arg) {\n var key = toPrimitive(arg, \"string\");\n return _typeof(key) === \"symbol\" ? key : String(key);\n}","import _Object$defineProperty from \"core-js-pure/features/object/define-property.js\";\nimport toPropertyKey from \"./toPropertyKey.js\";\nfunction _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n _Object$defineProperty(target, toPropertyKey(descriptor.key), descriptor);\n }\n}\nexport default function _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n _Object$defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n}","export default class FW {\n\n static _getStyleAttributeData(element, style) {\n let styleAttributeData = 0;\n if (element && typeof window.getComputedStyle === 'function') {\n const cs = window.getComputedStyle(element, null);\n if (cs) {\n styleAttributeData = cs.getPropertyValue(style);\n styleAttributeData = styleAttributeData.toString().toLowerCase();\n }\n }\n styleAttributeData = styleAttributeData.toString();\n if (styleAttributeData.indexOf('px') > -1) {\n styleAttributeData = styleAttributeData.replace('px', '');\n }\n return parseFloat(styleAttributeData);\n }\n\n static nullFn() {\n return null;\n }\n\n static createSyntheticEvent(eventName, element) {\n let event;\n if (element) {\n try {\n event = new Event(eventName);\n element.dispatchEvent(event);\n } catch (e) {\n console.warn(e);\n }\n }\n }\n\n static setStyle(element, styleObject) {\n if (element && typeof styleObject === 'object') {\n const keys = Object.keys(styleObject);\n keys.forEach(key => {\n element.style[key] = styleObject[key];\n });\n }\n }\n\n static getWidth(element) {\n if (element) {\n if (FW.isNumber(element.offsetWidth) && element.offsetWidth !== 0) {\n return element.offsetWidth;\n } else {\n return FW._getStyleAttributeData(element, 'width');\n }\n }\n return 0;\n }\n\n static getHeight(element) {\n if (element) {\n if (FW.isNumber(element.offsetHeight) && element.offsetHeight !== 0) {\n return element.offsetHeight;\n } else {\n return FW._getStyleAttributeData(element, 'height');\n }\n }\n return 0;\n }\n\n static show(element) {\n if (element) {\n element.style.display = 'block';\n }\n }\n\n static hide(element) {\n if (element) {\n element.style.display = 'none';\n }\n }\n\n static removeElement(element) {\n if (element && element.parentNode) {\n try {\n element.parentNode.removeChild(element);\n } catch (e) {\n console.warn(e);\n }\n }\n }\n\n static isEmptyObject(obj) {\n if (obj && typeof obj === 'object' && Object.keys(obj).length === 0) {\n return true;\n }\n return false;\n }\n\n static get consoleStyle() {\n return 'color: white; background-color: #00ACC1; padding:1px 3px; border-radius: 3px; margin-right: 7px';\n }\n\n static get consoleStyle2() {\n return 'color: white; background-color: #FB8C00; padding:1px 3px; border-radius: 3px; margin-right: 7px';\n }\n\n static get consolePrepend2() {\n const CLASSIC_LOG_PATTERN = /(edge|xbox|msie|trident)/i;\n if (navigator && navigator.userAgent && CLASSIC_LOG_PATTERN.test(navigator.userAgent)) {\n // browsers with no console log styling capabilities\n return 'om-sdk-manager:';\n }\n return 'om-sdk-manager%c';\n }\n\n\n static get consolePrepend() {\n const CLASSIC_LOG_PATTERN = /(edge|xbox|msie|trident)/i;\n if (navigator && navigator.userAgent && CLASSIC_LOG_PATTERN.test(navigator.userAgent)) {\n // browsers with no console log styling capabilities\n return 'RMP-VAST:';\n }\n return '%crmp-vast%c';\n }\n\n static logVideoEvents(video, type) {\n const events = [\n 'loadstart',\n 'durationchange',\n 'playing',\n 'waiting',\n 'loadedmetadata',\n 'loadeddata',\n 'canplay',\n 'canplaythrough'\n ];\n events.forEach((value) => {\n video.addEventListener(value, (e) => {\n if (e && e.type) {\n console.log(`${FW.consolePrepend} ${type} player event ${e.type}`, FW.consoleStyle, '');\n }\n });\n });\n }\n\n static isNumber(n) {\n if (typeof n === 'number' && Number.isFinite(n)) {\n return true;\n }\n return false;\n }\n\n static openWindow(link) {\n try {\n // I would like to use named window here to have better performance like \n // window.open(link, 'rmpVastAdPageArea'); but focus is not set on updated window with such approach\n // in MS Edge and FF - so _blank it is\n window.open(link, '_blank');\n } catch (e) {\n console.warn(e);\n }\n }\n\n static ajax(url, timeout, withCredentials) {\n return new Promise((resolve, reject) => {\n const xhr = new XMLHttpRequest();\n xhr.open('GET', url, true);\n xhr.timeout = timeout;\n if (withCredentials) {\n xhr.withCredentials = true;\n }\n xhr.onloadend = function () {\n if (typeof xhr.status === 'number' && xhr.status >= 200 && xhr.status < 300) {\n resolve('XMLHttpRequest request succeeded');\n } else {\n reject('XMLHttpRequest wrong status code: ' + xhr.status);\n }\n };\n xhr.ontimeout = function () {\n reject('XMLHttpRequest timeout');\n };\n xhr.send(null);\n });\n }\n\n\n}\n","import FW from './fw';\n\nconst TEST_VIDEO = document.createElement('video');\n\nconst IOS_PATTERN = /(ipad|iphone|ipod)/i;\nconst IOS_VERSION_PATTERN = /os\\s+(\\d+)_/i;\n\nconst MACOS_PATTERN = /(macintosh|mac\\s+os)/i;\nconst MACOS_VERSION_PATTERN = /mac\\s+os\\s+x\\s+(\\d+)_(\\d+)/i;\n\nconst SAFARI_PATTERN = /safari\\/[.0-9]*/i;\nconst SAFARI_VERSION_PATTERN = /version\\/(\\d+)\\./i;\nconst NO_SAFARI_PATTERN = /(chrome|chromium|android|crios|fxios)/i;\n\nconst MAC_PLATFORM_PATTERN = /macintel/i;\n\nconst ANDROID_PATTERN = /android/i;\nconst ANDROID_VERSION_PATTERN = /android\\s*(\\d+)\\./i;\n\n/*const FIREFOX_PATTERN = /firefox\\//i;\nconst SEAMONKEY_PATTERN = /seamonkey\\//i;*/\n\nexport default class ENV {\n\n static _filterVersion(pattern) {\n if (navigator.userAgent) {\n const versionArray = navigator.userAgent.match(pattern);\n if (Array.isArray(versionArray) && typeof versionArray[1] !== 'undefined') {\n return parseInt(versionArray[1], 10);\n }\n }\n return -1;\n }\n\n static get hasTouchEvents() {\n if (typeof window.ontouchstart !== 'undefined' ||\n (window.DocumentTouch && document instanceof window.DocumentTouch)) {\n return true;\n }\n return false;\n }\n\n static get userAgent() {\n if (navigator.userAgent) {\n return navigator.userAgent;\n }\n return null;\n }\n\n static get devicePixelRatio() {\n let pixelRatio = 1;\n if (FW.isNumber(window.devicePixelRatio) && window.devicePixelRatio > 1) {\n pixelRatio = window.devicePixelRatio;\n }\n return pixelRatio;\n }\n\n static get maxTouchPoints() {\n if (typeof navigator.maxTouchPoints === 'number') {\n return navigator.maxTouchPoints;\n }\n return -1;\n }\n\n static get isIos() {\n let support = [false, -1];\n if (IOS_PATTERN.test(ENV.userAgent) && ENV.hasTouchEvents) {\n support = [true, ENV._filterVersion(IOS_VERSION_PATTERN)];\n }\n return support;\n }\n\n static get isIpadOS() {\n if (!ENV.isIos[0] && ENV.hasTouchEvents && MAC_PLATFORM_PATTERN.test(navigator.platform) && ENV.devicePixelRatio > 1 &&\n ENV.maxTouchPoints > 1) {\n return true;\n }\n return false;\n }\n\n static get isMacOS() {\n let isMacOS = false;\n let macOSXMinorVersion = -1;\n if (!ENV.isIos[0] && !ENV.isIpadOS && MACOS_PATTERN.test(ENV.userAgent)) {\n isMacOS = true;\n macOSXMinorVersion = ENV._filterVersion(MACOS_VERSION_PATTERN, true);\n }\n return [isMacOS, macOSXMinorVersion];\n }\n\n static get isSafari() {\n let isSafari = false;\n let safariVersion = -1;\n if (SAFARI_PATTERN.test(ENV.userAgent) && !NO_SAFARI_PATTERN.test(ENV.userAgent)) {\n isSafari = true;\n safariVersion = ENV._filterVersion(SAFARI_VERSION_PATTERN);\n }\n return [isSafari, safariVersion];\n }\n\n static get isMacOSSafari() {\n return ENV.isMacOS[0] && ENV.isSafari[0];\n }\n\n static get isAndroid() {\n let support = [false, -1];\n if (!ENV.isIos[0] && ENV.hasTouchEvents && ANDROID_PATTERN.test(ENV.userAgent)) {\n support = [true, ENV._filterVersion(ANDROID_VERSION_PATTERN)];\n }\n return support;\n }\n\n /*// from https://developer.mozilla.org/en-US/docs/Web/HTTP/Browser_detection_using_the_user_agent\n static get isFirefox() {\n if (FIREFOX_PATTERN.test(ENV.userAgent) && !SEAMONKEY_PATTERN.test(ENV.userAgent)) {\n return true;\n }\n return false;\n }*/\n\n static get isMobile() {\n if (ENV.isIos[0] || ENV.isAndroid[0] || ENV.isIpadOS) {\n return true;\n }\n return false;\n }\n\n static get hasNativeFullscreenSupport() {\n const doc = document.documentElement;\n if (doc) {\n if (typeof doc.requestFullscreen !== 'undefined' ||\n typeof doc.webkitRequestFullscreen !== 'undefined' ||\n typeof doc.mozRequestFullScreen !== 'undefined' ||\n typeof doc.msRequestFullscreen !== 'undefined' ||\n typeof TEST_VIDEO.webkitEnterFullscreen !== 'undefined') {\n return true;\n }\n }\n return false;\n }\n\n static checkCanPlayType(type, codec) {\n if (TEST_VIDEO.canPlayType !== 'undefined') {\n if (type && codec) {\n const canPlayType = TEST_VIDEO.canPlayType(type + '; codecs=\"' + codec + '\"');\n if (canPlayType !== '') {\n return true;\n }\n } else if (type && !codec) {\n const canPlayType = TEST_VIDEO.canPlayType(type);\n if (canPlayType !== '') {\n return true;\n }\n }\n }\n return false;\n }\n\n}\n","import FW from '../framework/fw';\nimport Utils from '../framework/utils';\n\nconst CONTENT_PLAYER = {};\n\nCONTENT_PLAYER.play = function (firstContentPlayerPlayRequest) {\n if (this.contentPlayer && this.contentPlayer.paused) {\n Utils.playPromise.call(this, 'content', firstContentPlayerPlayRequest);\n }\n};\n\nCONTENT_PLAYER.pause = function () {\n if (this.contentPlayer && !this.contentPlayer.paused) {\n this.contentPlayer.pause();\n }\n};\n\nCONTENT_PLAYER.setVolume = function (level) {\n if (this.contentPlayer) {\n this.contentPlayer.volume = level;\n }\n};\n\nCONTENT_PLAYER.getVolume = function () {\n if (this.contentPlayer) {\n return this.contentPlayer.volume;\n }\n return -1;\n};\n\nCONTENT_PLAYER.getMute = function () {\n if (this.contentPlayer) {\n return this.contentPlayer.muted;\n }\n return false;\n};\n\nCONTENT_PLAYER.setMute = function (muted) {\n if (this.contentPlayer) {\n if (muted && !this.contentPlayer.muted) {\n this.contentPlayer.muted = true;\n } else if (!muted && this.contentPlayer.muted) {\n this.contentPlayer.muted = false;\n }\n }\n};\n\nCONTENT_PLAYER.getDuration = function () {\n if (this.contentPlayer) {\n const duration = this.contentPlayer.duration;\n if (FW.isNumber(duration)) {\n return Math.round(duration * 1000);\n }\n }\n return -1;\n};\n\nCONTENT_PLAYER.getCurrentTime = function () {\n if (this.contentPlayer) {\n const currentTime = this.contentPlayer.currentTime;\n if (FW.isNumber(currentTime)) {\n return Math.round(currentTime * 1000);\n }\n }\n return -1;\n};\n\nCONTENT_PLAYER.seekTo = function (msSeek) {\n if (!FW.isNumber(msSeek)) {\n return;\n }\n if (msSeek >= 0 && this.contentPlayer) {\n const seekValue = Math.round((msSeek / 1000) * 100) / 100;\n this.contentPlayer.currentTime = seekValue;\n }\n};\n\nCONTENT_PLAYER.preventSeekingForCustomPlayback = function () {\n // after much poking it appears we cannot rely on seek events for iOS to \n // set this up reliably - so interval it is\n if (this.contentPlayer) {\n this.antiSeekLogicInterval = setInterval(() => {\n if (this.creative.isLinear && this.adOnStage) {\n const diff = Math.abs(this.customPlaybackCurrentTime - this.contentPlayer.currentTime);\n if (diff > 1) {\n this.contentPlayer.currentTime = this.customPlaybackCurrentTime;\n }\n this.customPlaybackCurrentTime = this.contentPlayer.currentTime;\n }\n }, 200);\n }\n};\n\nexport default CONTENT_PLAYER;\n","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","import _Array$isArray from \"core-js-pure/features/array/is-array.js\";\nimport arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (_Array$isArray(arr)) return arrayLikeToArray(arr);\n}","import _Symbol from \"core-js-pure/features/symbol/index.js\";\nimport _getIteratorMethod from \"core-js-pure/features/get-iterator-method.js\";\nimport _Array$from from \"core-js-pure/features/array/from.js\";\nexport default function _iterableToArray(iter) {\n if (typeof _Symbol !== \"undefined\" && _getIteratorMethod(iter) != null || iter[\"@@iterator\"] != null) return _Array$from(iter);\n}","import _sliceInstanceProperty from \"core-js-pure/features/instance/slice.js\";\nimport _Array$from from \"core-js-pure/features/array/from.js\";\nimport arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _unsupportedIterableToArray(o, minLen) {\n var _context;\n if (!o) return;\n if (typeof o === \"string\") return arrayLikeToArray(o, minLen);\n var n = _sliceInstanceProperty(_context = Object.prototype.toString.call(o)).call(_context, 8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return _Array$from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);\n}","export default function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import ENV from '../framework/env';\nimport FW from '../framework/fw';\nimport Utils from '../framework/utils';\nimport VAST_PLAYER from '../players/vast-player';\nimport CONTENT_PLAYER from '../players/content-player';\n\nconst TRACKING_EVENTS = {};\n\nconst MEDIA_MIME = [\n 'video/webm',\n 'video/mp4',\n 'video/ogg',\n 'video/3gpp',\n 'application/vnd.apple.mpegurl',\n 'application/dash+xml'\n];\n\nconst _dispatch = function (event) {\n console.log(`${FW.consolePrepend} ping tracking for ${event} VAST event`, FW.consoleStyle, '');\n\n // filter trackers - may return multiple urls for same event as allowed by VAST spec\n const trackers = this.trackingTags.filter((value) => {\n return event === value.event;\n });\n // send ping for each valid tracker\n if (trackers.length > 0) {\n trackers.forEach((element) => {\n TRACKING_EVENTS.pingURI.call(this, element.url);\n });\n }\n};\n\nTRACKING_EVENTS.dispatch = function (event) {\n if (Array.isArray(event)) {\n event.forEach(currentEvent => {\n _dispatch.call(this, currentEvent);\n });\n } else {\n _dispatch.call(this, event);\n }\n};\n\nconst _vastReadableTime = function (time) {\n if (FW.isNumber(time) && time >= 0) {\n let seconds = 0;\n let minutes = 0;\n let hours = 0;\n let ms = Math.floor(time % 1000);\n if (ms === 0) {\n ms = '000';\n } else if (ms < 10) {\n ms = '00' + ms;\n } else if (ms < 100) {\n ms = '0' + ms;\n } else {\n ms = ms.toString();\n }\n seconds = Math.floor(time * 1.0 / 1000);\n if (seconds > 59) {\n minutes = Math.floor(seconds * 1.0 / 60);\n seconds = seconds - (minutes * 60);\n }\n if (seconds === 0) {\n seconds = '00';\n } else if (seconds < 10) {\n seconds = '0' + seconds;\n } else {\n seconds = seconds.toString();\n }\n if (minutes > 59) {\n hours = Math.floor(minutes * 1.0 / 60);\n minutes = minutes - (hours * 60);\n }\n if (minutes === 0) {\n minutes = '00';\n } else if (minutes < 10) {\n minutes = '0' + minutes;\n } else {\n minutes = minutes.toString();\n }\n if (hours === 0) {\n hours = '00';\n } else if (hours < 10) {\n hours = '0' + hours;\n } else {\n if (hours > 23) {\n hours = '00';\n } else {\n hours = hours.toString();\n }\n }\n return hours + ':' + minutes + ':' + seconds + '.' + ms;\n } else {\n return '00:00:00.000';\n }\n};\n\nconst _generateCacheBusting = function () {\n let text = '';\n const possible = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';\n for (let i = 0; i < 8; i++) {\n text += possible.charAt(Math.floor(Math.random() * possible.length));\n }\n return text;\n};\n\nTRACKING_EVENTS.replaceMacros = function (url, trackingPixels) {\n const pattern0 = /\\[.+?\\]/i;\n if (!pattern0.test(url)) {\n return url;\n }\n let finalString = url;\n // Marking Macro Values as Unknown or Unavailable \n const pattern8 = /\\[(ADCOUNT|TRANSACTIONID|PLACEMENTTYPE|BREAKMAXDURATION|BREAKMINDURATION|BREAKMAXADS|BREAKMINADLENGTH|BREAKMAXADLENGTH|IFA|IFATYPE|CLIENTUA|SERVERUA|DEVICEIP|APPBUNDLE|EXTENSIONS|VERIFICATIONVENDORS|OMIDPARTNER|INVENTORYSTATE|CONTENTID|LATLONG)\\]/gi;\n if (pattern8.test(finalString)) {\n finalString = finalString.replace(pattern8, '-1');\n }\n const pattern8bis = /\\[(CONTENTURI|CLICKPOS)\\]/gi;\n if (pattern8bis.test(finalString)) {\n finalString = finalString.replace(pattern8bis, '-2');\n }\n // available macros\n const pattern1 = /\\[TIMESTAMP\\]/gi;\n const date = (new Date()).toISOString();\n if (pattern1.test(finalString)) {\n finalString = finalString.replace(pattern1, encodeURIComponent(date));\n }\n const pattern2 = /\\[CACHEBUSTING\\]/gi;\n if (pattern2.test(finalString)) {\n finalString = finalString.replace(pattern2, _generateCacheBusting());\n }\n\n const pattern3 = /\\[(CONTENTPLAYHEAD|MEDIAPLAYHEAD)\\]/gi;\n let currentContentTime = CONTENT_PLAYER.getCurrentTime.call(this);\n if (pattern3.test(finalString) && currentContentTime > -1) {\n finalString = finalString.replace(pattern3, encodeURIComponent(_vastReadableTime(currentContentTime)));\n }\n const pattern5 = /\\[BREAKPOSITION\\]/gi;\n const duration = VAST_PLAYER.getDuration.call(this);\n if (pattern5.test(finalString)) {\n if (currentContentTime === 0) {\n finalString = finalString.replace(pattern5, '1');\n } else if (currentContentTime > 0 && currentContentTime < duration) {\n finalString = finalString.replace(pattern5, '2');\n } else {\n finalString = finalString.replace(pattern5, '3');\n }\n }\n const pattern9 = /\\[ADTYPE\\]/gi;\n if (pattern9.test(finalString) && this.ad.adType) {\n finalString = finalString.replace(pattern9, encodeURIComponent(this.ad.adType));\n }\n const pattern11 = /\\[DEVICEUA\\]/gi;\n if (pattern11.test(finalString) && ENV.userAgent) {\n finalString = finalString.replace(\n pattern11,\n encodeURIComponent(ENV.userAgent)\n );\n }\n const pattern11bis = /\\[SERVERSIDE\\]/gi;\n if (pattern11bis.test(finalString) && ENV.userAgent) {\n finalString = finalString.replace(\n pattern11bis,\n '0'\n );\n }\n const pattern13 = /\\[DOMAIN\\]/gi;\n if (pattern13.test(finalString) && window.location.hostname) {\n finalString = finalString.replace(\n pattern13,\n encodeURIComponent(window.location.hostname)\n );\n }\n const pattern14 = /\\[PAGEURL\\]/gi;\n if (pattern14.test(finalString) && window.location.href) {\n finalString = finalString.replace(\n pattern14,\n encodeURIComponent(window.location.href)\n );\n }\n const pattern18 = /\\[PLAYERCAPABILITIES\\]/gi;\n if (pattern18.test(finalString)) {\n finalString = finalString.replace(\n pattern18, 'skip,mute,autoplay,mautoplay,fullscreen,icon'\n );\n }\n const pattern19 = /\\[CLICKTYPE\\]/gi;\n if (pattern19.test(finalString)) {\n let clickType = '1';\n if (ENV.isMobile) {\n clickType = '2';\n }\n finalString = finalString.replace(pattern19, clickType);\n }\n const pattern21 = /\\[PLAYERSIZE\\]/gi;\n if (pattern21.test(finalString)) {\n const width = parseInt(FW.getWidth(this.container));\n const height = parseInt(FW.getHeight(this.container));\n finalString = finalString.replace(\n pattern21, encodeURIComponent(width.toString() + ',' + height.toString())\n );\n }\n if (trackingPixels) {\n const pattern4 = /\\[ADPLAYHEAD\\]/gi;\n const currentVastTime = VAST_PLAYER.getCurrentTime.call(this);\n if (pattern4.test(finalString) && currentVastTime > -1) {\n finalString = finalString.replace(pattern4, encodeURIComponent(_vastReadableTime(currentVastTime)));\n }\n const pattern10 = /\\[UNIVERSALADID\\]/gi;\n if (pattern10.test(finalString) && this.creative.universalAdIds.length > 0) {\n let universalAdIdString = '';\n this.creative.universalAdIds.forEach((universalAdId, index) => {\n if (index !== 0 || index !== this.creative.universalAdIds.length - 1) {\n universalAdIdString += ',';\n }\n universalAdIdString += universalAdId.idRegistry + ' ' + universalAdId.value;\n });\n finalString = finalString.replace(\n pattern10,\n encodeURIComponent(universalAdIdString)\n );\n }\n const pattern22 = /\\[ASSETURI\\]/gi;\n const assetUri = this.getAdMediaUrl();\n if (pattern22.test(finalString) && typeof assetUri === 'string' && assetUri !== '') {\n finalString = finalString.replace(pattern22, encodeURIComponent(assetUri));\n }\n const pattern23 = /\\[PODSEQUENCE\\]/gi;\n if (pattern23.test(finalString) && this.ad.sequence) {\n finalString = finalString.replace(pattern23, encodeURIComponent((this.ad.sequence).toString()));\n }\n const pattern24 = /\\[ADSERVINGID\\]/gi;\n if (pattern24.test(finalString) && this.ad.adServingId) {\n finalString = finalString.replace(pattern24, encodeURIComponent(this.ad.adServingId));\n }\n } else {\n const pattern6 = /\\[ADCATEGORIES\\]/gi;\n if (pattern6.test(finalString) && this.ad.categories.length > 0) {\n const categories = this.ad.categories.map(categorie => categorie.value).join(',');\n finalString = finalString.replace(pattern6, encodeURIComponent(categories));\n }\n const pattern7 = /\\[BLOCKEDADCATEGORIES\\]/gi;\n if (pattern7.test(finalString) && this.ad.blockedAdCategories.length > 0) {\n const blockedAdCategories = this.ad.blockedAdCategories.map(blockedAdCategories => blockedAdCategories.value).join(',');\n finalString = finalString.replace(pattern7, encodeURIComponent(blockedAdCategories));\n }\n const pattern15 = /\\[VASTVERSIONS\\]/gi;\n if (pattern15.test(finalString)) {\n finalString = finalString.replace(\n pattern15, '2,3,5,6,7,8,11,12,13,14'\n );\n }\n const pattern16 = /\\[APIFRAMEWORKS\\]/gi;\n if (pattern16.test(finalString)) {\n finalString = finalString.replace(\n pattern16, '2'\n );\n }\n const pattern17 = /\\[MEDIAMIME\\]/gi;\n if (pattern17.test(finalString)) {\n let mimeTyepString = '';\n MEDIA_MIME.forEach((value) => {\n if (ENV.checkCanPlayType(value)) {\n mimeTyepString += value + ',';\n }\n });\n if (mimeTyepString) {\n mimeTyepString = mimeTyepString.slice(0, -1);\n finalString = finalString.replace(pattern17, encodeURIComponent(mimeTyepString));\n }\n }\n const pattern20 = /\\[PLAYERSTATE\\]/gi;\n if (pattern20.test(finalString)) {\n let playerState = '';\n const muted = CONTENT_PLAYER.getMute();\n if (muted) {\n playerState += 'muted';\n }\n const fullscreen = this.getFullscreen();\n if (fullscreen) {\n if (playerState) {\n playerState += ',';\n }\n playerState += 'fullscreen';\n }\n finalString = finalString.replace(pattern20, playerState);\n }\n }\n const pattern25 = /\\[LIMITADTRACKING\\]/gi;\n if (pattern25.test(finalString) && this.regulationsInfo.limitAdTracking) {\n finalString = finalString.replace(pattern25, encodeURIComponent(this.regulationsInfo.limitAdTracking));\n }\n const pattern26 = /\\[REGULATIONS\\]/gi;\n if (pattern26.test(finalString) && this.regulationsInfo.regulations) {\n finalString = finalString.replace(pattern26, encodeURIComponent(this.regulationsInfo.regulations));\n }\n const pattern27 = /\\[GDPRCONSENT\\]/gi;\n if (pattern27.test(finalString) && this.regulationsInfo.gdprConsent) {\n finalString = finalString.replace(pattern27, encodeURIComponent(this.regulationsInfo.gdprConsent));\n }\n return finalString;\n};\n\nconst _ping = function (url) {\n // we expect an image format for the tracker (generally a 1px GIF/PNG/JPG/AVIF) or JavaScript as \n // those are the most common format in the industry \n // other format may produce errors and the related tracker may not be requested properly\n const jsPattern = /\\.js$/i;\n if (jsPattern.test(url)) {\n const script = document.createElement('script');\n script.src = url;\n try {\n document.head.appendChild(script);\n } catch (error) {\n console.warn(error);\n document.body.appendChild(script);\n }\n } else {\n FW.ajax(url, this.params.ajaxTimeout, false, 'GET').\n then(() => {\n console.log(`${FW.consolePrepend} VAST tracker successfully loaded ${url}`, FW.consoleStyle, '');\n }).catch((error) => {\n console.log(`${FW.consolePrepend} VAST tracker failed loading ${url} with error ${error}`, FW.consoleStyle, '');\n });\n /* old way of doing it but browsers 304 cache requests when url is requested multiple times\n let img = new Image();\n img.addEventListener('load', () => {\n console.log(`${FW.consolePrepend} VAST tracker successfully loaded ${url}`, FW.consoleStyle, '');\n img = null;\n });\n img.addEventListener('error', () => {\n console.log(`${FW.consolePrepend} VAST tracker failed loading ${url}`, FW.consoleStyle, '');\n img = null;\n });\n img.src = url;\n */\n }\n};\n\nTRACKING_EVENTS.pingURI = function (url) {\n const trackingUrl = TRACKING_EVENTS.replaceMacros.call(this, url, true);\n _ping.call(this, trackingUrl);\n};\n\nTRACKING_EVENTS.error = function (errorCode) {\n // for each Error tag within an InLine or chain of Wrapper ping error URL\n let errorTags = this.adErrorTags;\n if (errorCode === 303 && this.vastErrorTags.length > 0) {\n // here we ping vastErrorTags with error code 303 according to spec\n // concat array thus\n errorTags = [...errorTags, ...this.vastErrorTags];\n }\n if (errorTags.length > 0) {\n errorTags.forEach(errorTag => {\n if (errorTag.url) {\n let errorUrl = errorTag.url;\n const errorRegExp = /\\[ERRORCODE\\]/gi;\n if (errorRegExp.test(errorUrl) && FW.isNumber(errorCode) && errorCode > 0 && errorCode < 1000) {\n errorUrl = errorUrl.replace(errorRegExp, errorCode);\n }\n _ping.call(this, errorUrl);\n }\n });\n }\n};\n\nconst _onVolumeChange = function () {\n if (this.vastPlayer.muted || this.vastPlayer.volume === 0) {\n Utils.createApiEvent.call(this, 'advolumemuted');\n TRACKING_EVENTS.dispatch.call(this, 'mute');\n this.vastPlayerMuted = true;\n } else {\n if (this.vastPlayerMuted) {\n TRACKING_EVENTS.dispatch.call(this, 'unmute');\n this.vastPlayerMuted = false;\n }\n }\n Utils.createApiEvent.call(this, 'advolumechanged');\n};\n\nconst _onTimeupdate = function () {\n this.vastPlayerCurrentTime = VAST_PLAYER.getCurrentTime.call(this);\n if (this.vastPlayerCurrentTime > 0) {\n if (this.vastPlayerDuration > 0 && this.vastPlayerDuration > this.vastPlayerCurrentTime) {\n if (this.vastPlayerCurrentTime >= this.vastPlayerDuration * 0.25 && !this.firstQuartileEventFired) {\n this.firstQuartileEventFired = true;\n Utils.createApiEvent.call(this, 'adfirstquartile');\n TRACKING_EVENTS.dispatch.call(this, 'firstQuartile');\n } else if (this.vastPlayerCurrentTime >= this.vastPlayerDuration * 0.5 && !this.midpointEventFired) {\n this.midpointEventFired = true;\n Utils.createApiEvent.call(this, 'admidpoint');\n TRACKING_EVENTS.dispatch.call(this, 'midpoint');\n } else if (this.vastPlayerCurrentTime >= this.vastPlayerDuration * 0.75 && !this.thirdQuartileEventFired) {\n this.thirdQuartileEventFired = true;\n Utils.createApiEvent.call(this, 'adthirdquartile');\n TRACKING_EVENTS.dispatch.call(this, 'thirdQuartile');\n }\n }\n // progress event\n if (this.progressEvents.length > 0) {\n if (this.vastPlayerCurrentTime > this.progressEvents[0].time) {\n const filterProgressEvent = this.progressEvents.filter(progressEvent => {\n return progressEvent.time === this.progressEvents[0].time;\n });\n filterProgressEvent.forEach(progressEvent => {\n if (progressEvent.url) {\n TRACKING_EVENTS.pingURI.call(this, progressEvent.url);\n }\n });\n this.progressEvents.shift();\n Utils.createApiEvent.call(this, 'adprogress');\n }\n }\n }\n};\n\nconst _onPause = function () {\n if (!this.vastPlayerPaused) {\n this.vastPlayerPaused = true;\n const currentTime = this.vastPlayer.currentTime;\n const currentDuration = this.vastPlayer.duration;\n // we have reached end of linear creative - a HTML5 video pause event may fire just before ended event\n // in this case we ignore the adpaused event as adcomplete prevails\n if (currentTime === currentDuration) {\n return;\n }\n Utils.createApiEvent.call(this, 'adpaused');\n TRACKING_EVENTS.dispatch.call(this, 'pause');\n }\n};\n\nconst _onPlay = function () {\n if (this.vastPlayerPaused) {\n this.vastPlayerPaused = false;\n Utils.createApiEvent.call(this, 'adresumed');\n TRACKING_EVENTS.dispatch.call(this, 'resume');\n }\n};\n\nconst _onPlaying = function () {\n this.vastPlayer.removeEventListener('playing', this.onPlaying);\n Utils.createApiEvent.call(this, ['adimpression', 'adstarted']);\n TRACKING_EVENTS.dispatch.call(this, ['impression', 'creativeView', 'start']);\n};\n\nconst _onEnded = function () {\n this.vastPlayer.removeEventListener('ended', this.onEnded);\n Utils.createApiEvent.call(this, 'adcomplete');\n TRACKING_EVENTS.dispatch.call(this, 'complete');\n VAST_PLAYER.resumeContent.call(this);\n};\n\nTRACKING_EVENTS.wire = function () {\n // we filter through all HTML5 video events and create new VAST events \n if (this.vastPlayer && this.creative.isLinear && !this.isVPAID) {\n this.onPause = _onPause.bind(this);\n this.vastPlayer.addEventListener('pause', this.onPause);\n this.onPlay = _onPlay.bind(this);\n this.vastPlayer.addEventListener('play', this.onPlay);\n\n this.onPlaying = _onPlaying.bind(this);\n this.vastPlayer.addEventListener('playing', this.onPlaying);\n\n this.onEnded = _onEnded.bind(this);\n this.vastPlayer.addEventListener('ended', this.onEnded);\n\n this.onVolumeChange = _onVolumeChange.bind(this);\n this.vastPlayer.addEventListener('volumechange', this.onVolumeChange);\n\n this.onTimeupdate = _onTimeupdate.bind(this);\n this.vastPlayer.addEventListener('timeupdate', this.onTimeupdate);\n }\n};\n\nexport default TRACKING_EVENTS;\n","import FW from '../framework/fw';\nimport TRACKING_EVENTS from '../tracking/tracking-events';\n\nconst ICONS = {};\n\nICONS.destroy = function () {\n console.log(`${FW.consolePrepend} Start destroying icons`, FW.consoleStyle, '');\n\n const icons = this.adContainer.querySelectorAll('.rmp-ad-container-icons');\n if (icons.length > 0) {\n icons.forEach(icon => {\n FW.removeElement(icon);\n });\n }\n};\n\nICONS.parse = function (icons) {\n console.log(`${FW.consolePrepend} Start parsing for icons`, FW.consoleStyle, '');\n\n for (let i = 0; i < icons.length; i++) {\n const currentIcon = icons[i];\n const program = currentIcon.program;\n if (program === null) {\n continue;\n }\n const width = currentIcon.width;\n const height = currentIcon.height;\n const xPosition = currentIcon.xPosition;\n const yPosition = currentIcon.yPosition;\n if (width <= 0 || height <= 0 || xPosition < 0 || yPosition < 0) {\n continue;\n }\n const staticResourceUrl = currentIcon.staticResource;\n const iframeResourceUrl = currentIcon.iframeResource;\n const htmlResource = currentIcon.htmlResource;\n // we only support StaticResource (HTMLResource not supported)\n if (staticResourceUrl === null && iframeResourceUrl === null && htmlResource === null) {\n continue;\n }\n const iconData = {\n program: program,\n width: width,\n height: height,\n xPosition: xPosition,\n yPosition: yPosition,\n staticResourceUrl: staticResourceUrl,\n iframeResourceUrl: iframeResourceUrl,\n htmlContent: htmlResource\n };\n iconData.iconViewTrackingUrl = currentIcon.iconViewTrackingURLTemplate;\n iconData.iconClickThroughUrl = currentIcon.iconClickThroughURLTemplate;\n iconData.iconClickTrackingUrls = currentIcon.iconClickTrackingURLTemplates;\n this.iconsData.push(iconData);\n }\n\n console.log(`${FW.consolePrepend} Validated parsed icons follows`, FW.consoleStyle, '');\n console.log(this.iconsData);\n};\n\nconst _onIconClickThrough = function (index, event) {\n if (event) {\n event.stopPropagation();\n if (event.type === 'touchend') {\n event.preventDefault();\n }\n }\n FW.openWindow(this.iconsData[index].iconClickThroughUrl);\n // send trackers if any for IconClickTracking\n const iconClickTrackingUrls = this.iconsData[index].iconClickTrackingUrls;\n if (iconClickTrackingUrls.length > 0) {\n iconClickTrackingUrls.forEach((tracking) => {\n if (tracking.url) {\n TRACKING_EVENTS.pingURI.call(this, tracking.url);\n }\n });\n }\n};\n\nconst _onIconLoadPingTracking = function (index) {\n console.log(`${FW.consolePrepend} IconViewTracking for icon at index ${index}`, FW.consoleStyle, '');\n TRACKING_EVENTS.pingURI.call(this, this.iconsData[index].iconViewTrackingUrl);\n};\n\nconst _onPlayingAppendIcons = function () {\n console.log(`${FW.consolePrepend} playing states has been reached - append icons`, FW.consoleStyle, '');\n\n this.vastPlayer.removeEventListener('playing', this.onPlayingAppendIcons);\n this.iconsData.forEach((iconData, index) => {\n let icon;\n let src;\n if (iconData.staticResourceUrl) {\n icon = document.createElement('img');\n src = iconData.staticResourceUrl;\n } else if (iconData.iframeResourceUrl || iconData.htmlContent) {\n icon = document.createElement('iframe');\n icon.sandbox = 'allow-scripts allow-same-origin';\n if (iconData.htmlContent) {\n src = iconData.htmlContent;\n } else {\n src = iconData.iframeResourceUrl;\n }\n FW.setStyle(\n icon,\n {\n border: 'none',\n overflow: 'hidden'\n }\n );\n icon.setAttribute('scrolling', 'no');\n icon.setAttribute('allow', 'autoplay; fullscreen; picture-in-picture; xr-spatial-tracking; encrypted-media');\n icon.setAttribute('sandbox', 'allow-scripts allow-presentation allow-same-origin');\n }\n icon.className = 'rmp-ad-container-icons';\n FW.setStyle(\n icon,\n {\n width: parseInt(iconData.width) + 'px',\n height: parseInt(iconData.height) + 'px'\n }\n );\n const xPosition = iconData.xPosition;\n if (xPosition === 'left') {\n icon.style.left = '0px';\n } else if (xPosition === 'right') {\n icon.style.right = '0px';\n } else if (parseInt(xPosition) >= 0) {\n icon.style.left = xPosition + 'px';\n } else {\n icon.style.left = '0px';\n }\n const yPosition = iconData.yPosition;\n if (yPosition === 'top') {\n icon.style.top = '0px';\n } else if (xPosition === 'bottom') {\n icon.style.bottom = '0px';\n } else if (parseInt(yPosition) >= 0) {\n icon.style.top = yPosition + 'px';\n } else {\n icon.style.top = '0px';\n }\n if (iconData.iconViewTrackingUrl) {\n icon.onload = _onIconLoadPingTracking.bind(this, index);\n }\n if (iconData.iconClickThroughUrl) {\n icon.addEventListener('touchend', _onIconClickThrough.bind(this, index));\n icon.addEventListener('click', _onIconClickThrough.bind(this, index));\n }\n if (iconData.htmlContent) {\n icon.srcdoc = src;\n } else {\n icon.src = src;\n }\n\n console.log(`${FW.consolePrepend} Selected icon details follow`, FW.consoleStyle, '');\n console.log(icon);\n\n this.adContainer.appendChild(icon);\n });\n};\n\nICONS.append = function () {\n this.onPlayingAppendIcons = _onPlayingAppendIcons.bind(this);\n // as per VAST 3 spec only append icon when ad starts playing\n this.vastPlayer.addEventListener('playing', this.onPlayingAppendIcons);\n};\n\nexport default ICONS;\n","import FW from '../framework/fw';\nimport Utils from '../framework/utils';\nimport VAST_PLAYER from '../players/vast-player';\nimport ICONS from '../creatives/icons';\nimport TRACKING_EVENTS from '../tracking/tracking-events';\nimport CONTENT_PLAYER from '../players/content-player';\n\nconst VPAID = {};\n\n// vpaidCreative getters\n\nVPAID.getAdWidth = function () {\n if (this.vpaidCreative && typeof this.vpaidCreative.getAdWidth === 'function') {\n return this.vpaidCreative.getAdWidth();\n }\n return -1;\n};\n\nVPAID.getAdHeight = function () {\n if (this.vpaidCreative && typeof this.vpaidCreative.getAdHeight === 'function') {\n return this.vpaidCreative.getAdHeight();\n }\n return -1;\n};\n\nVPAID.getAdDuration = function () {\n if (this.vpaidCreative) {\n if (typeof this.vpaidCreative.getAdDuration === 'function') {\n return this.vpaidCreative.getAdDuration();\n } else if (this.vpaid1AdDuration > -1) {\n return this.vpaid1AdDuration;\n }\n }\n return -1;\n};\n\nVPAID.getAdRemainingTime = function () {\n if (this.vpaidRemainingTime >= 0) {\n return this.vpaidRemainingTime;\n }\n return -1;\n};\n\nVPAID.getCreativeUrl = function () {\n if (this.vpaidCreativeUrl) {\n return this.vpaidCreativeUrl;\n }\n return '';\n};\n\nVPAID.getVpaidCreative = function () {\n return this.vpaidCreative;\n};\n\nVPAID.getAdVolume = function () {\n if (this.vpaidCreative && typeof this.vpaidCreative.getAdVolume === 'function') {\n return this.vpaidCreative.getAdVolume();\n }\n return null;\n};\n\nVPAID.getAdPaused = function () {\n return this.vpaidPaused;\n};\n\nVPAID.getAdExpanded = function () {\n if (this.vpaidCreative && typeof this.vpaidCreative.getAdExpanded === 'function') {\n return this.vpaidCreative.getAdExpanded();\n }\n return false;\n};\n\nVPAID.getAdSkippableState = function () {\n if (this.vpaidCreative && typeof this.vpaidCreative.getAdSkippableState === 'function') {\n return this.vpaidCreative.getAdSkippableState();\n }\n return false;\n};\n\nVPAID.getAdIcons = function () {\n if (this.vpaidCreative && typeof this.vpaidCreative.getAdIcons === 'function') {\n return this.vpaidCreative.getAdIcons();\n }\n return null;\n};\n\nVPAID.getAdCompanions = function () {\n if (this.vpaidCreative && typeof this.vpaidCreative.getAdCompanions === 'function') {\n return this.vpaidCreative.getAdCompanions();\n }\n return '';\n};\n\n\n// VPAID creative events\nconst _onAdLoaded = function () {\n this.vpaidAdLoaded = true;\n if (!this.vpaidCreative) {\n return;\n }\n if (this.initAdTimeout) {\n clearTimeout(this.initAdTimeout);\n }\n if (this.vpaidCallbacks.AdLoaded) {\n this.vpaidCreative.unsubscribe(this.vpaidCallbacks.AdLoaded, 'AdLoaded');\n }\n // when we call startAd we expect AdStarted event to follow closely\n // otherwise we need to resume content\n this.startAdTimeout = setTimeout(() => {\n if (!this.vpaidAdStarted) {\n VAST_PLAYER.resumeContent.call(this);\n }\n this.vpaidAdStarted = false;\n }, this.params.creativeLoadTimeout);\n this.adOnStage = true;\n this.vpaidCreative.startAd();\n Utils.createApiEvent.call(this, 'adloaded');\n TRACKING_EVENTS.dispatch.call(this, 'loaded');\n};\n\nconst _onAdStarted = function () {\n this.vpaidAdStarted = true;\n if (!this.vpaidCreative) {\n return;\n }\n if (this.startAdTimeout) {\n clearTimeout(this.startAdTimeout);\n }\n if (this.vpaidCallbacks.AdStarted) {\n this.vpaidCreative.unsubscribe(this.vpaidCallbacks.AdStarted, 'AdStarted');\n }\n // update duration for VPAID 1.*\n if (this.vpaidVersion === 1) {\n this.vpaid1AdDuration = VPAID.getAdRemainingTime.call(this);\n }\n // append icons - if VPAID does not handle them\n if (!VPAID.getAdIcons.call(this) && !this.useContentPlayerForAds && this.iconsData.length > 0) {\n ICONS.append.call(this);\n }\n if (typeof this.vpaidCreative.getAdLinear === 'function') {\n this.creative.isLinear = this.vpaidCreative.getAdLinear();\n }\n TRACKING_EVENTS.dispatch.call(this, 'creativeView');\n};\n\nconst _onAdStopped = function () {\n console.log(`${FW.consolePrepend} VPAID AdStopped event`, FW.consoleStyle, '');\n\n if (this.adStoppedTimeout) {\n clearTimeout(this.adStoppedTimeout);\n }\n VAST_PLAYER.resumeContent.call(this);\n};\n\nconst _onAdSkipped = function () {\n if (this.adSkippedTimeout) {\n clearTimeout(this.adSkippedTimeout);\n }\n Utils.createApiEvent.call(this, 'adskipped');\n TRACKING_EVENTS.dispatch.call(this, 'skip');\n};\n\nconst _onAdSkippableStateChange = function () {\n Utils.createApiEvent.call(this, 'adskippablestatechanged');\n};\n\nconst _onAdDurationChange = function () {\n if (this.vpaidCreative && typeof this.vpaidCreative.getAdRemainingTime === 'function') {\n const remainingTime = this.vpaidCreative.getAdRemainingTime();\n if (remainingTime >= 0) {\n this.vpaidRemainingTime = remainingTime;\n }\n // AdRemainingTimeChange is deprecated in VPAID 2\n // instead we use setInterval\n clearInterval(this.vpaidAdRemainingTimeInterval);\n this.vpaidAdRemainingTimeInterval = setInterval(() => {\n const remainingTime = this.vpaidCreative.getAdRemainingTime();\n if (remainingTime >= 0) {\n this.vpaidRemainingTime = remainingTime;\n }\n }, 200);\n Utils.createApiEvent.call(this, 'addurationchange');\n }\n};\n\nconst _onAdVolumeChange = function () {\n const newVolume = VPAID.getAdVolume.call(this);\n if (newVolume === null) {\n return;\n }\n if (this.vpaidCurrentVolume > 0 && newVolume === 0) {\n TRACKING_EVENTS.dispatch.call(this, 'mute');\n } else if (this.vpaidCurrentVolume === 0 && newVolume > 0) {\n TRACKING_EVENTS.dispatch.call(this, 'unmute');\n }\n this.vpaidCurrentVolume = newVolume;\n Utils.createApiEvent.call(this, 'advolumechanged');\n};\n\nconst _onAdImpression = function () {\n Utils.createApiEvent.call(this, 'adimpression');\n TRACKING_EVENTS.dispatch.call(this, 'impression');\n};\n\nconst _onAdVideoStart = function () {\n this.vpaidPaused = false;\n let newVolume = VPAID.getAdVolume.call(this);\n if (newVolume === null) {\n newVolume = 1;\n }\n this.vpaidCurrentVolume = newVolume;\n Utils.createApiEvent.call(this, 'adstarted');\n TRACKING_EVENTS.dispatch.call(this, 'start');\n};\n\nconst _onAdVideoFirstQuartile = function () {\n Utils.createApiEvent.call(this, 'adfirstquartile');\n TRACKING_EVENTS.dispatch.call(this, 'firstQuartile');\n};\n\nconst _onAdVideoMidpoint = function () {\n Utils.createApiEvent.call(this, 'admidpoint');\n TRACKING_EVENTS.dispatch.call(this, 'midpoint');\n};\n\nconst _onAdVideoThirdQuartile = function () {\n Utils.createApiEvent.call(this, 'adthirdquartile');\n TRACKING_EVENTS.dispatch.call(this, 'thirdQuartile');\n};\n\nconst _onAdVideoComplete = function () {\n Utils.createApiEvent.call(this, 'adcomplete');\n TRACKING_EVENTS.dispatch.call(this, 'complete');\n};\n\nconst _onAdClickThru = function (url, id, playerHandles) {\n Utils.createApiEvent.call(this, 'adclick');\n TRACKING_EVENTS.dispatch.call(this, 'clickthrough');\n if (typeof playerHandles !== 'boolean') {\n return;\n }\n if (!playerHandles) {\n return;\n } else {\n let destUrl;\n if (url) {\n destUrl = url;\n } else if (this.creative.clickThroughUrl) {\n destUrl = this.creative.clickThroughUrl;\n }\n if (destUrl) {\n // for getClickThroughUrl API method\n this.creative.clickThroughUrl = destUrl;\n FW.openWindow(this.creative.clickThroughUrl);\n }\n }\n};\n\nconst _onAdPaused = function () {\n this.vpaidPaused = true;\n Utils.createApiEvent.call(this, 'adpaused');\n TRACKING_EVENTS.dispatch.call(this, 'pause');\n};\n\nconst _onAdPlaying = function () {\n this.vpaidPaused = false;\n Utils.createApiEvent.call(this, 'adresumed');\n TRACKING_EVENTS.dispatch.call(this, 'resume');\n};\n\nconst _onAdLog = function (message) {\n console.log(`${FW.consolePrepend} VPAID AdLog event ${message}`, FW.consoleStyle, '');\n};\n\nconst _onAdError = function (message) {\n console.log(`${FW.consolePrepend} VPAID AdError event ${message}`, FW.consoleStyle, '');\n\n Utils.processVastErrors.call(this, 901, true);\n};\n\nconst _onAdInteraction = function () {\n Utils.createApiEvent.call(this, 'adinteraction');\n};\n\nconst _onAdUserAcceptInvitation = function () {\n Utils.createApiEvent.call(this, 'aduseracceptinvitation');\n TRACKING_EVENTS.dispatch.call(this, 'acceptInvitation');\n};\n\nconst _onAdUserMinimize = function () {\n Utils.createApiEvent.call(this, 'adcollapse');\n TRACKING_EVENTS.dispatch.call(this, ['collapse', 'adCollapse']);\n};\n\nconst _onAdUserClose = function () {\n Utils.createApiEvent.call(this, 'adclosed');\n TRACKING_EVENTS.dispatch.call(this, 'close');\n};\n\nconst _onAdSizeChange = function () {\n Utils.createApiEvent.call(this, 'adsizechange');\n};\n\nconst _onAdLinearChange = function () {\n if (this.vpaidCreative && typeof this.vpaidCreative.getAdLinear === 'function') {\n this.creative.isLinear = this.vpaidCreative.getAdLinear();\n Utils.createApiEvent.call(this, 'adlinearchange');\n }\n};\n\nconst _onAdExpandedChange = function () {\n Utils.createApiEvent.call(this, 'adexpandedchange');\n};\n\nconst _onAdRemainingTimeChange = function () {\n if (this.vpaidCreative && typeof this.vpaidCreative.getAdRemainingTime === 'function') {\n const remainingTime = this.vpaidCreative.getAdRemainingTime();\n if (remainingTime >= 0) {\n this.vpaidRemainingTime = remainingTime;\n }\n Utils.createApiEvent.call(this, 'adremainingtimechange');\n }\n};\n\n// vpaidCreative methods\nVPAID.resizeAd = function (width, height, viewMode) {\n if (!this.vpaidCreative) {\n return;\n }\n if (!FW.isNumber(width) || !FW.isNumber(height) || typeof viewMode !== 'string') {\n return;\n }\n if (width <= 0 || height <= 0) {\n return;\n }\n let validViewMode = 'normal';\n if (viewMode === 'fullscreen') {\n validViewMode = viewMode;\n }\n\n console.log(\n `${FW.consolePrepend} VPAID resizeAd with width ${width}, height ${height}, viewMode ${viewMode}`,\n FW.consoleStyle,\n ''\n );\n\n this.vpaidCreative.resizeAd(width, height, validViewMode);\n};\n\nVPAID.stopAd = function () {\n if (!this.vpaidCreative) {\n return;\n }\n\n console.log(`${FW.consolePrepend} stopAd`, FW.consoleStyle, '');\n\n // when stopAd is called we need to check a \n // AdStopped event follows\n this.adStoppedTimeout = setTimeout(() => {\n _onAdStopped.call(this);\n }, this.params.creativeLoadTimeout);\n this.vpaidCreative.stopAd();\n};\n\nVPAID.pauseAd = function () {\n console.log(`${FW.consolePrepend} pauseAd`, FW.consoleStyle, '');\n\n if (this.vpaidCreative && !this.vpaidPaused) {\n this.vpaidCreative.pauseAd();\n }\n};\n\nVPAID.resumeAd = function () {\n console.log(`${FW.consolePrepend} resumeAd`, FW.consoleStyle, '');\n\n if (this.vpaidCreative && this.vpaidPaused) {\n this.vpaidCreative.resumeAd();\n }\n};\n\nVPAID.expandAd = function () {\n if (this.vpaidCreative) {\n this.vpaidCreative.expandAd();\n }\n};\n\nVPAID.collapseAd = function () {\n if (this.vpaidCreative) {\n this.vpaidCreative.collapseAd();\n }\n};\n\nVPAID.skipAd = function () {\n if (!this.vpaidCreative) {\n return;\n }\n // when skipAd is called we need to check a \n // AdSkipped event follows\n this.adSkippedTimeout = setTimeout(() => {\n _onAdStopped.call(this);\n }, this.params.creativeLoadTimeout);\n this.vpaidCreative.skipAd();\n};\n\nVPAID.setAdVolume = function (volume) {\n if (this.vpaidCreative && FW.isNumber(volume) && volume >= 0 && volume <= 1 &&\n typeof this.vpaidCreative.setAdVolume === 'function') {\n this.vpaidCreative.setAdVolume(volume);\n }\n};\n\nconst _setCallbacksForCreative = function () {\n if (!this.vpaidCreative) {\n return;\n }\n this.vpaidCallbacks = {\n AdLoaded: _onAdLoaded.bind(this),\n AdStarted: _onAdStarted.bind(this),\n AdStopped: _onAdStopped.bind(this),\n AdSkipped: _onAdSkipped.bind(this),\n AdSkippableStateChange: _onAdSkippableStateChange.bind(this),\n AdDurationChange: _onAdDurationChange.bind(this),\n AdVolumeChange: _onAdVolumeChange.bind(this),\n AdImpression: _onAdImpression.bind(this),\n AdVideoStart: _onAdVideoStart.bind(this),\n AdVideoFirstQuartile: _onAdVideoFirstQuartile.bind(this),\n AdVideoMidpoint: _onAdVideoMidpoint.bind(this),\n AdVideoThirdQuartile: _onAdVideoThirdQuartile.bind(this),\n AdVideoComplete: _onAdVideoComplete.bind(this),\n AdClickThru: _onAdClickThru.bind(this),\n AdPaused: _onAdPaused.bind(this),\n AdPlaying: _onAdPlaying.bind(this),\n AdLog: _onAdLog.bind(this),\n AdError: _onAdError.bind(this),\n AdInteraction: _onAdInteraction.bind(this),\n AdUserAcceptInvitation: _onAdUserAcceptInvitation.bind(this),\n AdUserMinimize: _onAdUserMinimize.bind(this),\n AdUserClose: _onAdUserClose.bind(this),\n AdSizeChange: _onAdSizeChange.bind(this),\n AdLinearChange: _onAdLinearChange.bind(this),\n AdExpandedChange: _onAdExpandedChange.bind(this),\n AdRemainingTimeChange: _onAdRemainingTimeChange.bind(this)\n };\n // Looping through the object and registering each of the callbacks with the creative\n const callbacksKeys = Object.keys(this.vpaidCallbacks);\n callbacksKeys.forEach(key => {\n this.vpaidCreative.subscribe(this.vpaidCallbacks[key], key);\n });\n};\n\nconst _unsetCallbacksForCreative = function () {\n if (!this.vpaidCreative) {\n return;\n }\n // Looping through the object and registering each of the callbacks with the creative\n const callbacksKeys = Object.keys(this.vpaidCallbacks);\n callbacksKeys.forEach(key => {\n this.vpaidCreative.unsubscribe(this.vpaidCallbacks[key], key);\n });\n};\n\nconst _isValidVPAID = function (creative) {\n if (typeof creative.initAd === 'function' &&\n typeof creative.startAd === 'function' &&\n typeof creative.stopAd === 'function' &&\n typeof creative.skipAd === 'function' &&\n typeof creative.resizeAd === 'function' &&\n typeof creative.pauseAd === 'function' &&\n typeof creative.resumeAd === 'function' &&\n typeof creative.expandAd === 'function' &&\n typeof creative.collapseAd === 'function' &&\n typeof creative.subscribe === 'function' &&\n typeof creative.unsubscribe === 'function') {\n return true;\n }\n return false;\n};\n\nconst _onVPAIDAvailable = function () {\n if (this.vpaidAvailableInterval) {\n clearInterval(this.vpaidAvailableInterval);\n }\n if (this.vpaidLoadTimeout) {\n clearTimeout(this.vpaidLoadTimeout);\n }\n this.vpaidCreative = this.vpaidIframe.contentWindow.getVPAIDAd();\n if (this.vpaidCreative && typeof this.vpaidCreative.handshakeVersion === 'function') {\n // we need to insure handshakeVersion return\n let vpaidVersion;\n try {\n vpaidVersion = this.vpaidCreative.handshakeVersion('2.0');\n } catch (error) {\n console.warn(error);\n console.log(`${FW.consolePrepend} could not validate VPAID ad unit handshakeVersion`, FW.consoleStyle, '');\n\n Utils.processVastErrors.call(this, 901, true);\n return;\n }\n this.vpaidVersion = parseInt(vpaidVersion);\n if (this.vpaidVersion < 1) {\n console.log(`${FW.consolePrepend} unsupported VPAID version - exit`, FW.consoleStyle, '');\n\n Utils.processVastErrors.call(this, 901, true);\n return;\n }\n if (!_isValidVPAID(this.vpaidCreative)) {\n //The VPAID creative doesn't conform to the VPAID spec\n console.log(`${FW.consolePrepend} VPAID creative does not conform to VPAID spec - exit`, FW.consoleStyle, '');\n\n Utils.processVastErrors.call(this, 901, true);\n return;\n }\n // wire callback for VPAID events\n _setCallbacksForCreative.call(this);\n // wire tracking events for VAST pings\n TRACKING_EVENTS.wire.call(this);\n const creativeData = {};\n creativeData.AdParameters = this.adParametersData;\n\n console.log(`${FW.consolePrepend} VPAID AdParameters follow`, FW.consoleStyle, '');\n console.log(this.adParametersData);\n\n FW.show(this.adContainer);\n FW.show(this.vastPlayer);\n const environmentVars = {};\n // we create a new slot for VPAID creative - using adContainer can cause some VPAID to ill-render\n // from spec:\n // The 'environmentVars' object contains a reference, 'slot', to the HTML element\n // on the page in which the ad is to be rendered. The ad unit essentially gets\n // control of that element. \n this.vpaidSlot = document.createElement('div');\n this.vpaidSlot.className = 'rmp-vpaid-container';\n this.adContainer.appendChild(this.vpaidSlot);\n environmentVars.slot = this.vpaidSlot;\n environmentVars.videoSlot = this.vastPlayer;\n // we assume we can autoplay (or at least muted autoplay) because this.vastPlayer \n // has been init\n environmentVars.videoSlotCanAutoPlay = true;\n // when we call initAd we expect AdLoaded event to follow closely\n // if not we need to resume content\n this.initAdTimeout = setTimeout(() => {\n if (!this.vpaidAdLoaded) {\n console.log(`${FW.consolePrepend} initAdTimeout`, FW.consoleStyle, '');\n\n VAST_PLAYER.resumeContent.call(this);\n }\n this.vpaidAdLoaded = false;\n }, this.params.creativeLoadTimeout * 10);\n\n console.log(`${FW.consolePrepend} calling initAd on VPAID creative now`, FW.consoleStyle, '');\n\n this.vpaidCreative.initAd(\n this.initialWidth,\n this.initialHeight,\n this.initialViewMode,\n this.desiredBitrate,\n creativeData,\n environmentVars\n );\n }\n};\n\nconst _onJSVPAIDLoaded = function () {\n console.log(`${FW.consolePrepend} VPAID JS loaded`, FW.consoleStyle, '');\n\n const iframeWindow = this.vpaidIframe.contentWindow;\n if (typeof iframeWindow.getVPAIDAd === 'function') {\n _onVPAIDAvailable.call(this);\n } else {\n this.vpaidAvailableInterval = setInterval(() => {\n if (typeof iframeWindow.getVPAIDAd === 'function') {\n _onVPAIDAvailable.call(this);\n }\n }, 100);\n }\n this.vpaidScript.onload = null;\n this.vpaidScript.onerror = null;\n};\n\nconst _onJSVPAIDError = function () {\n console.log(`${FW.consolePrepend} VPAID JS error loading`, FW.consoleStyle, '');\n\n Utils.processVastErrors.call(this, 901, true);\n this.vpaidScript.onload = null;\n this.vpaidScript.onerror = null;\n};\n\nVPAID.loadCreative = function (creativeUrl, vpaidSettings) {\n this.initialWidth = vpaidSettings.width;\n this.initialHeight = vpaidSettings.height;\n this.initialViewMode = vpaidSettings.viewMode;\n this.desiredBitrate = vpaidSettings.desiredBitrate;\n this.vpaidCreativeUrl = creativeUrl;\n if (!this.vastPlayer) {\n if (this.useContentPlayerForAds) {\n this.vastPlayer = this.contentPlayer;\n } else {\n // we use existing rmp-ad-vast-video-player as it is already \n // available and initialized (no need for user interaction)\n let existingVastPlayer = null;\n if (this.adContainer) {\n existingVastPlayer = this.adContainer.querySelector('.rmp-ad-vast-video-player');\n }\n if (existingVastPlayer === null) {\n Utils.processVastErrors.call(this, 900, true);\n return;\n }\n this.vastPlayer = existingVastPlayer;\n }\n }\n // pause content player\n CONTENT_PLAYER.pause.call(this);\n // create FiF \n this.vpaidIframe = document.createElement('iframe');\n this.vpaidIframe.sandbox = 'allow-scripts allow-same-origin';\n this.vpaidIframe.id = 'vpaid-frame';\n // do not use display: none;\n // https://bugzilla.mozilla.org/show_bug.cgi?id=548397\n FW.setStyle(this.vpaidIframe, { visibility: 'hidden', width: '0px', height: '0px', border: 'none' });\n // this is to adhere to Best Practices for Rich Media Ads \n // in Asynchronous Ad Environments http://www.iab.net/media/file/rich_media_ajax_best_practices.pdf\n const src = 'about:blank';\n // ... however this does not work in Firefox (onload is never reached)\n // https://bugzilla.mozilla.org/show_bug.cgi?id=444165\n // about:self also causes protocol mis-match issues with iframes in iOS/macOS Safari\n // ... TL;DR iframes are troubles\n //let src = 'about:self';\n /*if (ENV.isFirefox || this.useContentPlayerForAds) {\n src = '';\n }*/\n // see https://bugs.chromium.org/p/chromium/issues/detail?id=1220186 about:self no longer works\n // we use about:blank instead but this is still under review\n // since about:blank seems to work in our testing cross browsers and is what is \n // recommended on the web \n // (see https://stackoverflow.com/questions/5946607/is-an-empty-iframe-src-valid/5946631) we now use about:blank\n this.vpaidIframe.onload = function () {\n console.log(`${FW.consolePrepend} vpaidIframe.onload`, FW.consoleStyle, '');\n if (!this.vpaidIframe.contentWindow || !this.vpaidIframe.contentWindow.document ||\n !this.vpaidIframe.contentWindow.document.body) {\n // PING error and resume content\n\n Utils.processVastErrors.call(this, 901, true);\n return;\n }\n const iframeWindow = this.vpaidIframe.contentWindow;\n const iframeDocument = iframeWindow.document;\n const iframeBody = iframeDocument.body;\n this.vpaidScript = iframeDocument.createElement('script');\n\n this.vpaidLoadTimeout = setTimeout(() => {\n console.log(\n `${FW.consolePrepend} could not load VPAID JS Creative or getVPAIDAd in iframeWindow - resume content`,\n FW.consoleStyle,\n ''\n );\n\n this.vpaidScript.onload = null;\n this.vpaidScript.onerror = null;\n VAST_PLAYER.resumeContent.call(this);\n }, this.params.creativeLoadTimeout);\n this.vpaidScript.onload = _onJSVPAIDLoaded.bind(this);\n this.vpaidScript.onerror = _onJSVPAIDError.bind(this);\n iframeBody.appendChild(this.vpaidScript);\n this.vpaidScript.src = this.vpaidCreativeUrl;\n }.bind(this);\n\n this.vpaidIframe.src = src;\n this.adContainer.appendChild(this.vpaidIframe);\n};\n\nVPAID.destroy = function () {\n console.log(`${FW.consolePrepend} destroy VPAID dependencies`, FW.consoleStyle, '');\n\n if (this.vpaidAvailableInterval) {\n clearInterval(this.vpaidAvailableInterval);\n }\n if (this.vpaidAdRemainingTimeInterval) {\n clearInterval(this.vpaidAdRemainingTimeInterval);\n }\n if (this.vpaidLoadTimeout) {\n clearTimeout(this.vpaidLoadTimeout);\n }\n if (this.initAdTimeout) {\n clearTimeout(this.initAdTimeout);\n }\n if (this.startAdTimeout) {\n clearTimeout(this.startAdTimeout);\n }\n _unsetCallbacksForCreative.call(this);\n if (this.vpaidScript) {\n this.vpaidScript.onload = null;\n this.vpaidScript.onerror = null;\n }\n if (this.vpaidSlot) {\n FW.removeElement(this.vpaidSlot);\n }\n if (this.vpaidIframe) {\n FW.removeElement(this.vpaidIframe);\n }\n};\n\nexport default VPAID;\n","import FW from '../framework/fw';\nimport ENV from '../framework/env';\nimport Utils from '../framework/utils';\nimport VAST_PLAYER from '../players/vast-player';\nimport CONTENT_PLAYER from '../players/content-player';\nimport TRACKING_EVENTS from '../tracking/tracking-events';\n\nconst NON_LINEAR = {};\n\nconst _onNonLinearLoadError = function () {\n Utils.processVastErrors.call(this, 502, true);\n};\n\nconst _onNonLinearLoadSuccess = function () {\n console.log(\n `${FW.consolePrepend} success loading non-linear creative at ${this.creative.mediaUrl}`,\n FW.consoleStyle,\n ''\n );\n\n this.adOnStage = true;\n Utils.createApiEvent.call(this, ['adloaded', 'adimpression', 'adstarted']);\n TRACKING_EVENTS.dispatch.call(this, ['impression', 'creativeView', 'start', 'loaded']);\n};\n\nconst _onNonLinearClickThrough = function (event) {\n try {\n if (event) {\n event.stopPropagation();\n }\n this.pause();\n Utils.createApiEvent.call(this, 'adclick');\n TRACKING_EVENTS.dispatch.call(this, 'clickthrough');\n } catch (e) {\n console.warn(e);\n }\n};\n\nconst _onClickCloseNonLinear = function (event) {\n if (event) {\n event.stopPropagation();\n if (event.type === 'touchend') {\n event.preventDefault();\n }\n }\n FW.setStyle(this.nonLinearContainer, { display: 'none' });\n Utils.createApiEvent.call(this, 'adclosed');\n TRACKING_EVENTS.dispatch.call(this, 'close');\n};\n\nconst _appendCloseButton = function () {\n this.nonLinearClose = document.createElement('div');\n this.nonLinearClose.className = 'rmp-ad-non-linear-close';\n Utils.makeButtonAccessible(this.nonLinearClose, this.params.labels.closeAd);\n if (this.nonLinearMinSuggestedDuration > 0) {\n FW.setStyle(this.nonLinearClose, { display: 'none' });\n setTimeout(() => {\n FW.setStyle(this.nonLinearClose, { display: 'block' });\n }, this.nonLinearMinSuggestedDuration * 1000);\n } else {\n FW.setStyle(this.nonLinearClose, { display: 'block' });\n }\n this.onClickCloseNonLinear = _onClickCloseNonLinear.bind(this);\n this.nonLinearClose.addEventListener('touchend', this.onClickCloseNonLinear);\n this.nonLinearClose.addEventListener('click', this.onClickCloseNonLinear);\n this.nonLinearContainer.appendChild(this.nonLinearClose);\n};\n\nNON_LINEAR.update = function () {\n // non-linear ad container\n this.nonLinearContainer = document.createElement('div');\n this.nonLinearContainer.className = 'rmp-ad-non-linear-container';\n FW.setStyle(this.nonLinearContainer, {\n width: (this.creative.width).toString() + 'px',\n height: (this.creative.height).toString() + 'px'\n });\n // a tag to handle click - a tag is best for WebView support\n this.nonLinearATag = document.createElement('a');\n this.nonLinearATag.className = 'rmp-ad-non-linear-anchor';\n if (this.creative.clickThroughUrl) {\n this.nonLinearATag.href = this.creative.clickThroughUrl;\n this.nonLinearATag.target = '_blank';\n this.onNonLinearClickThrough = _onNonLinearClickThrough.bind(this);\n if (ENV.isMobile) {\n this.nonLinearATag.addEventListener('touchend', this.onNonLinearClickThrough);\n } else {\n this.nonLinearATag.addEventListener('click', this.onNonLinearClickThrough);\n }\n }\n // non-linear creative image\n if (this.creative.nonLinearType === 'image') {\n this.nonLinearInnerElement = document.createElement('img');\n } else {\n this.nonLinearInnerElement = document.createElement('iframe');\n this.nonLinearInnerElement.sandbox = 'allow-scripts allow-same-origin';\n FW.setStyle(\n this.nonLinearInnerElement,\n {\n border: 'none',\n overflow: 'hidden'\n }\n );\n this.nonLinearInnerElement.setAttribute('allow', 'autoplay; fullscreen; picture-in-picture; xr-spatial-tracking; encrypted-media');\n this.nonLinearInnerElement.setAttribute('scrolling', 'no');\n this.nonLinearInnerElement.setAttribute('sandbox', 'allow-scripts allow-presentation allow-same-origin');\n }\n this.nonLinearInnerElement.className = 'rmp-ad-non-linear-creative';\n this.onNonLinearLoadError = _onNonLinearLoadError.bind(this);\n this.nonLinearInnerElement.addEventListener('error', this.onNonLinearLoadError);\n this.onNonLinearLoadSuccess = _onNonLinearLoadSuccess.bind(this);\n this.nonLinearInnerElement.addEventListener('load', this.onNonLinearLoadSuccess);\n if (this.creative.nonLinearType === 'html') {\n this.nonLinearInnerElement.srcdoc = this.creative.mediaUrl;\n } else {\n this.nonLinearInnerElement.src = this.creative.mediaUrl;\n }\n // append to adContainer\n this.nonLinearATag.appendChild(this.nonLinearInnerElement);\n this.nonLinearContainer.appendChild(this.nonLinearATag);\n this.adContainer.appendChild(this.nonLinearContainer);\n // display a close button when non-linear ad has reached minSuggestedDuration\n _appendCloseButton.call(this);\n FW.show(this.adContainer);\n CONTENT_PLAYER.play.call(this, this.firstContentPlayerPlayRequest);\n if (this.firstContentPlayerPlayRequest) {\n this.firstContentPlayerPlayRequest = false;\n }\n};\n\nNON_LINEAR.parse = function (variations) {\n console.log(`${FW.consolePrepend} non-linear creatives follow`, FW.consoleStyle, '');\n console.log(variations);\n\n let isDimensionError = false;\n let currentVariation;\n // The video player should poll each element to determine \n // which creative is offered in a format the video player can support.\n for (let i = 0; i < variations.length; i++) {\n isDimensionError = false;\n currentVariation = variations[i];\n let width = currentVariation.width;\n let height = currentVariation.height;\n // width/height attribute is required\n if (width <= 0) {\n width = 300;\n }\n if (height <= 0) {\n height = 44;\n }\n // if width of non-linear creative does not fit within current player container width \n // we should skip this creative\n if (width > FW.getWidth(this.container) || height > FW.getHeight(this.container)) {\n isDimensionError = true;\n continue;\n }\n // get minSuggestedDuration (optional)\n this.nonLinearMinSuggestedDuration = currentVariation.minSuggestedDuration;\n const staticResource = currentVariation.staticResource;\n const iframeResource = currentVariation.iframeResource;\n const htmlResource = currentVariation.htmlResource;\n // we have a valid NonLinear/StaticResource with supported creativeType - we break\n if (staticResource !== null || iframeResource !== null || htmlResource !== null) {\n if (staticResource) {\n this.creative.mediaUrl = staticResource;\n this.creative.nonLinearType = 'image';\n } else if (iframeResource) {\n this.creative.mediaUrl = iframeResource;\n this.creative.nonLinearType = 'iframe';\n } else if (htmlResource) {\n this.creative.mediaUrl = htmlResource;\n this.creative.nonLinearType = 'html';\n }\n this.creative.width = width;\n this.creative.height = height;\n this.creative.type = currentVariation.type;\n\n console.log(`${FW.consolePrepend} selected non-linear creative`, FW.consoleStyle, '');\n console.log(this.creative);\n break;\n }\n }\n // if not supported NonLinear type ping for error\n if (!this.creative.mediaUrl || isDimensionError) {\n let vastErrorCode = 503;\n if (isDimensionError) {\n vastErrorCode = 501;\n }\n Utils.processVastErrors.call(this, vastErrorCode, true);\n return;\n }\n this.creative.clickThroughUrl = currentVariation.nonlinearClickThroughURLTemplate;\n if (currentVariation.nonlinearClickTrackingURLTemplates.length > 0) {\n currentVariation.nonlinearClickTrackingURLTemplates.forEach(nonlinearClickTrackingURLTemplate => {\n if (nonlinearClickTrackingURLTemplate.url) {\n this.trackingTags.push({\n event: 'clickthrough',\n url: nonlinearClickTrackingURLTemplate.url\n });\n }\n });\n }\n VAST_PLAYER.append.call(this);\n};\n\nexport default NON_LINEAR;\n","/**\n * @license Copyright (c) 2015-2022 Radiant Media Player | https://www.radiantmediaplayer.com\n * rmp-connection 2.0.0 | https://github.com/radiantmediaplayer/rmp-connection\n * rmp-connection is released under MIT | https://github.com/radiantmediaplayer/rmp-connection/blob/master/LICENSE\n */\n\n/**\n * The class to instantiate RmpConnection\n * @export\n * @class RmpConnection\n*/\nexport default class RmpConnection {\n\n /**\n * @constructor\n */\n constructor() { }\n\n /**\n * @private\n */\n _getConnectionType() {\n if (typeof navigator.connection.type === 'string' && navigator.connection.type !== '') {\n switch (navigator.connection.type) {\n case 'ethernet':\n return 'ethernet';\n case 'wifi':\n case 'wimax':\n return 'wifi';\n case 'bluetooth':\n case 'cellular':\n return 'cellular';\n case 'none':\n return 'none';\n default:\n break;\n }\n }\n return 'unknown';\n }\n\n /**\n * @private\n */\n _getBandwidthEstimate() {\n if (typeof navigator.connection.downlink === 'number' && navigator.connection.downlink > 0) {\n return navigator.connection.downlink;\n } else if (typeof navigator.connection.effectiveType === 'string' && navigator.connection.effectiveType !== '') {\n switch (navigator.connection.effectiveType) {\n case 'slow-2g':\n return 0.025;\n case '2g':\n return 0.035;\n case '3g':\n return 0.35;\n case '4g':\n return 1.4;\n default:\n break;\n }\n } else if (typeof navigator.connection.type === 'string' && navigator.connection.type !== '') {\n switch (navigator.connection.type) {\n case 'ethernet':\n case 'wifi':\n case 'wimax':\n return 1.4;\n case 'bluetooth':\n case 'cellular':\n return 0.35;\n case 'none':\n return -1;\n default:\n break;\n }\n }\n return 0.025;\n }\n\n /** \n * @typedef {object} BandwidthData\n * @property {number} estimate\n * @property {string} connectionType\n * @return {BandwidthData}\n */\n get bandwidthData() {\n\n // default return values\n const result = {\n estimate: -1,\n connectionType: 'none'\n };\n\n // we are offline - exit\n if (typeof navigator.onLine !== 'undefined' && !navigator.onLine) {\n return result;\n }\n\n // we do not have navigator.connection - exit\n // for support see https://caniuse.com/#feat=netinfo - works everywhere but in Safari && Firefox \n if (typeof navigator.connection === 'undefined') {\n return {\n estimate: -1,\n connectionType: 'unknown'\n };\n }\n\n // we return our internal values\n return {\n estimate: this._getBandwidthEstimate(),\n connectionType: this._getConnectionType()\n };\n }\n}","import _Array$isArray from \"core-js-pure/features/array/is-array.js\";\nexport default function _arrayWithHoles(arr) {\n if (_Array$isArray(arr)) return arr;\n}","import _Symbol from \"core-js-pure/features/symbol/index.js\";\nimport _getIteratorMethod from \"core-js-pure/features/get-iterator-method.js\";\nimport _pushInstanceProperty from \"core-js-pure/features/instance/push.js\";\nexport default function _iterableToArrayLimit(r, l) {\n var t = null == r ? null : \"undefined\" != typeof _Symbol && _getIteratorMethod(r) || r[\"@@iterator\"];\n if (null != t) {\n var e,\n n,\n i,\n u,\n a = [],\n f = !0,\n o = !1;\n try {\n if (i = (t = t.call(r)).next, 0 === l) {\n if (Object(t) !== t) return;\n f = !1;\n } else for (; !(f = (e = i.call(t)).done) && (_pushInstanceProperty(a).call(a, e.value), a.length !== l); f = !0);\n } catch (r) {\n o = !0, n = r;\n } finally {\n try {\n if (!f && null != t[\"return\"] && (u = t[\"return\"](), Object(u) !== u)) return;\n } finally {\n if (o) throw n;\n }\n }\n return a;\n }\n}","export default function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","import arrayWithHoles from \"./arrayWithHoles.js\";\nimport iterableToArrayLimit from \"./iterableToArrayLimit.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableRest from \"./nonIterableRest.js\";\nexport default function _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}","import _Symbol from \"core-js-pure/features/symbol/index.js\";\nimport _getIteratorMethod from \"core-js-pure/features/get-iterator-method.js\";\nimport _Array$isArray from \"core-js-pure/features/array/is-array.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nexport default function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof _Symbol !== \"undefined\" && _getIteratorMethod(o) || o[\"@@iterator\"];\n if (!it) {\n if (_Array$isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n}","/**\n * Contains logic for sending mesages between the SIMID creative and the player.\n * Note: Some browsers do not support promises and a more complete implementation\n * should consider using a polyfill.\n */\nimport FW from '../../framework/fw';\n/** Contains all constants common across SIMID */\n\nconst ProtocolMessage = {\n CREATE_SESSION: 'createSession',\n RESOLVE: 'resolve',\n REJECT: 'reject'\n};\n\nconst MediaMessage = {\n DURATION_CHANGE: 'Media:durationchange',\n ENDED: 'Media:ended',\n ERROR: 'Media:error',\n PAUSE: 'Media:pause',\n PLAY: 'Media:play',\n PLAYING: 'Media:playing',\n SEEKED: 'Media:seeked',\n SEEKING: 'Media:seeking',\n TIME_UPDATE: 'Media:timeupdate',\n VOLUME_CHANGE: 'Media:volumechange',\n};\n\nconst PlayerMessage = {\n RESIZE: 'Player:resize',\n INIT: 'Player:init',\n LOG: 'Player:log',\n START_CREATIVE: 'Player:startCreative',\n AD_SKIPPED: 'Player:adSkipped',\n AD_STOPPED: 'Player:adStopped',\n FATAL_ERROR: 'Player:fatalError',\n};\n\n/** Messages from the creative */\nconst CreativeMessage = {\n CLICK_THRU: 'Creative:clickThru',\n EXPAND_NONLINEAR: 'Creative:expandNonlinear',\n COLLAPSE_NONLINEAR: 'Creative:collapseNonlinear',\n FATAL_ERROR: 'Creative:fatalError',\n GET_MEDIA_STATE: 'Creative:getMediaState',\n LOG: 'Creative:log',\n REQUEST_FULL_SCREEN: 'Creative:requestFullScreen',\n REQUEST_SKIP: 'Creative:requestSkip',\n REQUEST_STOP: 'Creative:requestStop',\n REQUEST_PAUSE: 'Creative:requestPause',\n REQUEST_PLAY: 'Creative:requestPlay',\n REQUEST_RESIZE: 'Creative:requestResize',\n REQUEST_VOLUME: 'Creative:requestVolume',\n REQUEST_TRACKING: 'Creative:reportTracking',\n REQUEST_CHANGE_AD_DURATION: 'Creative:requestChangeAdDuration'\n};\n\n/**\n * These messages require a response (either resolve or reject).\n * All other messages do not require a response and are information only.\n */\nconst EventsThatRequireResponse = [\n CreativeMessage.GET_MEDIA_STATE,\n CreativeMessage.REQUEST_VIDEO_LOCATION,\n CreativeMessage.READY,\n CreativeMessage.CLICK_THRU,\n CreativeMessage.REQUEST_SKIP,\n CreativeMessage.REQUEST_STOP,\n CreativeMessage.REQUEST_PAUSE,\n CreativeMessage.REQUEST_PLAY,\n CreativeMessage.REQUEST_FULL_SCREEN,\n CreativeMessage.REQUEST_VOLUME,\n CreativeMessage.REQUEST_RESIZE,\n CreativeMessage.REQUEST_CHANGE_AD_DURATION,\n CreativeMessage.REPORT_TRACKING,\n PlayerMessage.INIT,\n PlayerMessage.START_CREATIVE,\n PlayerMessage.AD_SKIPPED,\n PlayerMessage.AD_STOPPED,\n PlayerMessage.FATAL_ERROR,\n ProtocolMessage.CREATE_SESSION,\n];\n\n// A list of errors the creative might send to the player.\nconst CreativeErrorCode = {\n UNSPECIFIED: 1100,\n CANNOT_LOAD_RESOURCE: 1101,\n PLAYBACK_AREA_UNUSABLE: 1102,\n INCORRECT_VERSION: 1103,\n TECHNICAL_ERROR: 1104,\n EXPAND_NOT_POSSIBLE: 1105,\n PAUSE_NOT_HONORED: 1106,\n PLAYMODE_NOT_ADEQUATE: 1107,\n CREATIVE_INTERNAL_ERROR: 1108,\n DEVICE_NOT_SUPPORTED: 1109,\n MESSAGES_NOT_FOLLOWING_SPEC: 1110,\n PLAYER_RESPONSE_TIMEOUT: 1111,\n};\n\n// A list of errors the player might send to the creative.\nconst PlayerErrorCode = {\n UNSPECIFIED: 1200,\n WRONG_VERSION: 1201,\n UNSUPPORTED_TIME: 1202,\n UNSUPPORTED_FUNCTIONALITY_REQUEST: 1203,\n UNSUPPORTED_ACTIONS: 1204,\n POSTMESSAGE_CHANNEL_OVERLOADED: 1205,\n VIDEO_COULD_NOT_LOAD: 1206,\n VIDEO_TIME_OUT: 1207,\n RESPONSE_TIMEOUT: 1208,\n MEDIA_NOT_SUPPORTED: 1209,\n SPEC_NOT_FOLLOWED_ON_INIT: 1210,\n SPEC_NOT_FOLLOWED_ON_MESSAGES: 1211,\n};\n\n// A list of reasons a player could stop the ad.\nconst StopCode = {\n UNSPECIFIED: 0,\n USER_INITIATED: 1,\n MEDIA_PLAYBACK_COMPLETE: 2,\n PLAYER_INITATED: 3,\n CREATIVE_INITIATED: 4,\n NON_LINEAR_DURATION_COMPLETE: 5,\n};\n\n\nclass SimidProtocol {\n\n constructor() {\n /*\n * A map of messsage type to an array of callbacks.\n * @private {Map>}\n */\n this.listeners_ = {};\n\n /*\n * The session ID for this protocol.\n * @private {String}\n */\n this.sessionId_ = '';\n\n /**\n * The next message ID to use when sending a message.\n * @private {number}\n */\n this.nextMessageId_ = 1;\n\n /**\n * The window where the message should be posted to.\n * @private {!Element}\n */\n this.target_ = window.parent;\n\n this.resolutionListeners_ = {};\n\n window.addEventListener('message', this.receiveMessage.bind(this), false);\n }\n\n /* Reverts this protocol to its original state */\n reset() {\n this.listeners_ = {};\n this.sessionId_ = '';\n this.nextMessageId_ = 1;\n // TODO: Perhaps we should reject all associated promises.\n this.resolutionListeners_ = {};\n }\n\n /**\n * Sends a message using post message. Returns a promise\n * that will resolve or reject after the message receives a response.\n * @param {string} messageType The name of the message\n * @param {?Object} messageArgs The arguments for the message, may be null.\n * @return {!Promise} Promise that will be fulfilled when client resolves or rejects.\n */\n sendMessage(messageType, messageArgs) {\n // Incrementing between messages keeps each message id unique.\n const messageId = this.nextMessageId_++;\n // Only create session does not need to be in the SIMID name space\n // because it is part of the protocol.\n const nameSpacedMessage =\n messageType == ProtocolMessage.CREATE_SESSION ?\n messageType : 'SIMID:' + messageType;\n // The message object as defined by the SIMID spec.\n const message = {\n 'sessionId': this.sessionId_,\n 'messageId': messageId,\n 'type': nameSpacedMessage,\n 'timestamp': Date.now(),\n 'args': messageArgs\n };\n\n if (EventsThatRequireResponse.includes(messageType)) {\n // If the message requires a callback this code will set\n // up a promise that will call resolve or reject with its parameters.\n return new Promise((resolve, reject) => {\n this.addResolveRejectListener_(messageId, resolve, reject);\n this.target_.postMessage(JSON.stringify(message), '*');\n });\n }\n // A default promise will just resolve immediately.\n // It is assumed no one would listen to these promises, but if they do\n // it will \"just work\".\n return new Promise((resolve) => {\n this.target_.postMessage(JSON.stringify(message), '*');\n resolve();\n });\n }\n\n /**\n * Adds a listener for a given message.\n */\n addListener(messageType, callback) {\n if (!this.listeners_[messageType]) {\n this.listeners_[messageType] = [callback];\n } else {\n this.listeners_[messageType].push(callback);\n }\n }\n\n /**\n * Sets up a listener for resolve/reject messages.\n * @private\n */\n addResolveRejectListener_(messageId, resolve, reject) {\n const listener = (data) => {\n const type = data['type'];\n const args = data['args']['value'];\n if (type == 'resolve') {\n resolve(args);\n } else if (type == 'reject') {\n reject(args);\n }\n };\n this.resolutionListeners_[messageId] = listener.bind(this);\n }\n\n /**\n * Recieves messages from either the player or creative.\n */\n receiveMessage(event) {\n if (!event || !event.data) {\n return;\n }\n let data;\n try {\n data = JSON.parse(event.data);\n } catch (e) {\n console.log(`${FW.consolePrepend} receiveMessage failed at decoding message`, FW.consoleStyle, '');\n console.log(e);\n return;\n }\n if (!data) {\n // If there is no data in the event this is not a SIMID message.\n return;\n }\n const sessionId = data['sessionId'];\n\n const type = data['type'];\n // A sessionId is valid in one of two cases:\n // 1. It is not set and the message type is createSession.\n // 2. The session ids match exactly.\n const isCreatingSession = this.sessionId_ == '' && type == ProtocolMessage.CREATE_SESSION;\n const isSessionIdMatch = this.sessionId_ == sessionId;\n const validSessionId = isCreatingSession || isSessionIdMatch;\n\n if (!validSessionId || type == null) {\n // Ignore invalid messages.\n return;\n }\n\n // There are 2 types of messages to handle:\n // 1. Protocol messages (like resolve, reject and createSession)\n // 2. Messages starting with SIMID:\n // All other messages are ignored.\n if (Object.values(ProtocolMessage).includes(type)) {\n this.handleProtocolMessage_(data);\n } else if (type.startsWith('SIMID:')) {\n // Remove SIMID: from the front of the message so we can compare them with the map.\n const specificType = type.substr(6);\n const listeners = this.listeners_[specificType];\n if (listeners) {\n listeners.forEach((listener) => listener(data));\n }\n }\n }\n\n /**\n * Handles incoming messages specifically for the protocol\n * @param {!Object} data Data passed back from the message\n * @private\n */\n handleProtocolMessage_(data) {\n const type = data['type'];\n let listeners, args, correlatingId, resolutionFunction;\n switch (type) {\n case ProtocolMessage.CREATE_SESSION:\n this.sessionId_ = data['sessionId'];\n this.resolve(data);\n listeners = this.listeners_[type];\n if (listeners) {\n // calls each of the listeners with the data.\n listeners.forEach((listener) => listener(data));\n }\n break;\n case ProtocolMessage.RESOLVE:\n // intentional fallthrough\n case ProtocolMessage.REJECT:\n args = data['args'];\n correlatingId = args['messageId'];\n resolutionFunction = this.resolutionListeners_[correlatingId];\n if (resolutionFunction) {\n // If the listener exists call it once only.\n resolutionFunction(data);\n delete this.resolutionListeners_[correlatingId];\n }\n break;\n }\n }\n\n\n /**\n * Resolves an incoming message.\n * @param {!Object} incomingMessage the message that is being resolved.\n * @param {!Object} outgoingArgs Any arguments that are part of the resolution.\n */\n resolve(incomingMessage, outgoingArgs) {\n const messageId = this.nextMessageId_++;\n const resolveMessageArgs = {\n 'messageId': incomingMessage['messageId'],\n 'value': outgoingArgs,\n };\n const message = {\n 'sessionId': this.sessionId_,\n 'messageId': messageId,\n 'type': ProtocolMessage.RESOLVE,\n 'timestamp': Date.now(),\n 'args': resolveMessageArgs\n };\n this.target_.postMessage(JSON.stringify(message), '*');\n }\n\n /**\n * Rejects an incoming message.\n * @param {!Object} incomingMessage the message that is being resolved.\n * @param {!Object} outgoingArgs Any arguments that are part of the resolution.\n */\n reject(incomingMessage, outgoingArgs) {\n const messageId = this.nextMessageId_++;\n const rejectMessageArgs = {\n 'messageId': incomingMessage['messageId'],\n 'value': outgoingArgs,\n };\n const message = {\n 'sessionId': this.sessionId_,\n 'messageId': messageId,\n 'type': ProtocolMessage.REJECT,\n 'timestamp': Date.now(),\n 'args': rejectMessageArgs\n };\n this.target_.postMessage(JSON.stringify(message), '*');\n }\n\n /**\n * Creates a new session.\n * @param {String} sessionId\n * @return {!Promise} The promise from the create session message.\n */\n createSession() {\n const sessionCreationResolved = () => {\n console.log(`${FW.consolePrepend} SIMID: Session created`, FW.consoleStyle, '');\n };\n const sessionCreationRejected = () => {\n // If this ever happens, it may be impossible for the ad\n // to ever communicate with the player.\n console.log(`${FW.consolePrepend} SIMID: Session creation was rejected`, FW.consoleStyle, '');\n };\n this.generateSessionId_();\n this.sendMessage(ProtocolMessage.CREATE_SESSION).then(\n sessionCreationResolved, sessionCreationRejected);\n }\n\n /**\n * Sets the session ID, this should only be used on session creation.\n * @private\n */\n generateSessionId_() {\n // This function generates a random v4 UUID. In a v4 UUID, of the format\n // xxxxxxxx-xxxx-Mxxx-Nxxx-xxxxxxxxxxxx, all bits are selected randomly,\n // except the bits of 'M', which must be equal to 4, and 'N', whose first 2\n // most significant bits must be set to 10b. So in total only 122 of the 128\n // bits are random. See\n // https://en.wikipedia.org/wiki/Universally_unique_identifier for more.\n\n // crypto.getRandomValues is preferred over crypto.randomUUID since it\n // supports much older browsers including IE, and doesn't require a secure\n // context.\n\n // Create 128 random bits (8-bit * 16).\n const random16Uint8s = new Uint8Array(16);\n window.crypto.getRandomValues(random16Uint8s);\n // Split each 8-bit int into two 4-bit ints (4-bit * 32).\n const random32Uint4s = Array.from(Array(32).keys()).map(index => {\n const isEven = index % 2 == 0;\n const randomUint8 = random16Uint8s[Math.floor(index / 2)];\n // Pick the high 4 bits for even indices, the low 4 bits for odd.\n return isEven ? (randomUint8 >> 4) : (randomUint8 & 15);\n });\n\n // Fix the 12th digit to 4 for the UUID version.\n random32Uint4s[12] = 4;\n // Fix the 16th digit's 2 high bits to 10b for UUID variant 1.\n random32Uint4s[16] = 0b1000 | (random32Uint4s[16] & 0b0011);\n\n const hexDigits = random32Uint4s.map(v => v.toString(16));\n const uuidComponents = [\n hexDigits.slice(0, 8).join(''),\n hexDigits.slice(8, 12).join(''),\n hexDigits.slice(12, 16).join(''),\n hexDigits.slice(16, 20).join(''),\n hexDigits.slice(20).join(''),\n ];\n const uuid = uuidComponents.join('-');\n this.sessionId_ = uuid;\n }\n\n setMessageTarget(target) {\n this.target_ = target;\n }\n}\n\nexport {\n SimidProtocol,\n ProtocolMessage,\n MediaMessage,\n PlayerMessage,\n CreativeMessage,\n CreativeErrorCode,\n PlayerErrorCode,\n StopCode\n};\n","// TODO\n// Check fullscreen management\n// Check common error and error code reporting\n// Add non-linear support\n// Check mid-post-roll/adpod support\n// Evalaute iOS support\n\nimport {\n SimidProtocol,\n ProtocolMessage,\n MediaMessage,\n PlayerMessage,\n CreativeMessage,\n CreativeErrorCode,\n PlayerErrorCode,\n StopCode\n} from './simid_protocol';\n\n\nimport Utils from '../../framework/utils';\nimport FW from '../../framework/fw';\nimport VAST_PLAYER from '../vast-player';\nimport TRACKING_EVENTS from '../../tracking/tracking-events';\n\nconst NO_REQUESTED_DURATION = 0;\nconst UNLIMITED_DURATION = -2;\n\n/** \n * All the logic for a simple SIMID player\n */\nexport default class SimidPlayer {\n\n /**\n * Sets up the creative iframe and starts listening for messages\n * from the creative.\n */\n constructor(isLinearAd,\n simidData,\n url,\n adId,\n creativeId,\n adServingId,\n clickThroughUrl,\n rmpVast) {\n /**\n * The protocol for sending and receiving messages.\n * @protected {!SimidProtocol}\n */\n this.simidProtocol = new SimidProtocol();\n\n this.addListeners_();\n\n this.rmpVast_ = rmpVast;\n this.simidData_ = simidData;\n this.adContainer_ = this.rmpVast_.adContainer;\n this.playerDiv_ = this.rmpVast_.contentWrapper;\n this.vastPlayerUrl_ = url;\n this.adParameters_ = simidData.adParameters;\n this.adId_ = adId;\n this.creativeId_ = creativeId;\n this.adServingId_ = adServingId;\n this.clickThroughUrl_ = clickThroughUrl;\n\n\n /**\n * A reference to the video player on the players main page\n * @private {!Element}\n */\n this.contentVideoElement_ = this.rmpVast_.contentPlayer;\n\n /**\n * A reference to a video player for playing ads.\n * @private {!Element}\n */\n this.adVideoElement_ = this.rmpVast_.vastPlayer;\n\n /**\n * A reference to the iframe holding the SIMID creative.\n * @private {?Element}\n */\n this.simidIframe_ = null;\n\n /**\n * A reference to the promise returned when initialization was called.\n * @private {?Promise}\n */\n this.initializationPromise_ = null;\n\n /**\n * A map of events tracked on the ad video element.\n * @private {!Map}\n */\n this.adVideoTrackingEvents_ = new Map();\n\n /**\n * A map of events tracked on the content video element.\n * @private {!Map}\n */\n this.contentVideoTrackingEvents_ = new Map();\n\n /**\n * A boolean indicating what type of creative ad is.\n * @const @private {boolean}\n */\n this.isLinearAd_ = isLinearAd;\n\n /**\n * A number indicating when the non linear ad started.\n * @private {?number}\n */\n this.nonLinearStartTime_ = null;\n\n /**\n * The duration requested by the ad.\n * @private {number}\n */\n this.requestedDuration_ = NO_REQUESTED_DURATION;\n\n /**\n * Resolution function for the session created message\n * @private {?Function}\n */\n this.resolveSessionCreatedPromise_ = null;\n\n /**\n * A promise that resolves once the creative creates a session.\n * @private {!Promise}\n */\n this.sessionCreatedPromise_ = new Promise((resolve) => {\n this.resolveSessionCreatedPromise_ = resolve;\n });\n\n /**\n * Resolution function for the ad being initialized.\n * @private {?Function}\n */\n this.resolveInitializationPromise_ = null;\n\n /**\n * Reject function for the ad being initialized.\n * @private {?Function}\n */\n this.rejectInitializationPromise_ = null;\n\n /**\n * An object containing the resized nonlinear creative's dimensions.\n * @private {?Object}\n */\n this.nonLinearDimensions_ = null;\n\n /** The unique ID for the interval used to compares the requested change \n * duration and the current ad time.\n * @private {number}\n */\n this.durationInterval_ = null;\n\n /**\n * A promise that resolves once the creative responds to initialization with resolve.\n * @private {!Promise}\n */\n this.initializationPromise_ = new Promise((resolve, reject) => {\n this.resolveInitializationPromise_ = resolve;\n this.rejectInitializationPromise_ = reject;\n });\n\n\n this.trackEventsOnAdVideoElement_();\n this.trackEventsOnContentVideoElement_();\n this.hideAdPlayer_();\n console.log(`${FW.consolePrepend} SIMID: player created`, FW.consoleStyle, '');\n }\n\n /**\n * Initializes an ad. This should be called before an ad plays.\n * Creates an iframe with the creative in it, then uses a promise\n * to call init on the creative as soon as the creative initializes\n * a session.\n */\n initializeAd() {\n if (!this.isLinearAd_ && !this.isValidDimensions_(this.getNonlinearDimensions_())) {\n console.log(`${FW.consolePrepend} SIMID: Unable to play a non-linear ad with dimensions bigger than the player. Please modify dimensions to a smaller size.`, FW.consoleStyle, '');\n return;\n }\n\n // After the iframe is created the player will wait until the ad\n // initializes the communication channel. Then it will call\n // sendInitMessage.\n this.simidIframe_ = this.createSimidIframe_();\n\n if (!this.isLinearAd_) {\n this.displayNonlinearCreative_();\n }\n\n this.requestDuration_ = NO_REQUESTED_DURATION;\n\n // Prepare for the case that init fails before sending\n // the init message. Initialization failing means abandoning\n // the ad.\n this.initializationPromise_.catch((e) => {\n this.onAdInitializedFailed_(e);\n });\n\n // Using a promise means that the init message will\n // send as soon as the session is created. If the session\n // is already created this will send the init message immediately.\n this.sessionCreatedPromise_.then(() => {\n this.sendInitMessage_();\n });\n console.log(`${FW.consolePrepend} SIMID: initializeAd`, FW.consoleStyle, '');\n }\n\n /**\n * Plays a SIMID creative once it has responded to the initialize ad message.\n */\n playAd() {\n\n // This example waits for the ad to be initialized, before playing video.\n // NOTE: Not all players will wait for session creation and initialization\n // before they start playback.\n this.initializationPromise_.then(() => {\n this.startCreativePlayback_();\n }).catch(e => {\n console.log(`${FW.consolePrepend} SIMID: playAd failed with following error`, FW.consoleStyle, '');\n console.log(e);\n });\n }\n\n /** Plays the video ad element. */\n playAdVideo() {\n this.adVideoElement_.play();\n }\n\n /**\n * Sets up an iframe for holding the simid element.\n *\n * @return {!Element} The iframe where the simid element lives.\n * @private\n */\n createSimidIframe_() {\n const simidIframe = document.createElement('iframe');\n simidIframe.style.display = 'none';\n // The target of the player to send messages to is the newly\n // created iframe.\n this.playerDiv_.appendChild(simidIframe);\n\n if (this.isLinearAd_) {\n // Set up css to overlay the SIMID iframe over the entire video creative\n // only if linear. Non-linear ads will have dimension inputs for placement\n simidIframe.classList.add('rmp-linear-simid-creative');\n }\n\n this.simidProtocol.setMessageTarget(simidIframe.contentWindow);\n simidIframe.setAttribute('allowFullScreen', '');\n simidIframe.setAttribute('allow', 'geolocation');\n simidIframe.src = this.simidData_.fileURL;\n return simidIframe;\n }\n\n /**\n * Listens to all relevant messages from the SIMID add.\n * @private\n */\n addListeners_() {\n this.simidProtocol.addListener(ProtocolMessage.CREATE_SESSION, this.onSessionCreated_.bind(this));\n this.simidProtocol.addListener(CreativeMessage.REQUEST_FULL_SCREEN, this.onRequestFullScreen.bind(this));\n this.simidProtocol.addListener(CreativeMessage.REQUEST_PLAY, this.onRequestPlay.bind(this));\n this.simidProtocol.addListener(CreativeMessage.REQUEST_PAUSE, this.onRequestPause.bind(this));\n this.simidProtocol.addListener(CreativeMessage.FATAL_ERROR, this.onCreativeFatalError.bind(this));\n this.simidProtocol.addListener(CreativeMessage.REQUEST_SKIP, this.onRequestSkip.bind(this));\n this.simidProtocol.addListener(CreativeMessage.REQUEST_STOP, this.onRequestStop.bind(this));\n this.simidProtocol.addListener(CreativeMessage.REQUEST_CHANGE_AD_DURATION,\n this.onRequestChangeAdDuration.bind(this));\n this.simidProtocol.addListener(CreativeMessage.GET_MEDIA_STATE, this.onGetMediaState.bind(this));\n this.simidProtocol.addListener(CreativeMessage.LOG, this.onReceiveCreativeLog.bind(this));\n this.simidProtocol.addListener(CreativeMessage.EXPAND_NONLINEAR, this.onExpandResize.bind(this));\n this.simidProtocol.addListener(CreativeMessage.COLLAPSE_NONLINEAR, this.onCollapse.bind(this));\n this.simidProtocol.addListener(CreativeMessage.REQUEST_RESIZE, this.onRequestResize.bind(this));\n }\n\n /**\n * Resolves the session created promise.\n * @private\n */\n onSessionCreated_() {\n // Anything that must happen after the session is created can now happen\n // since this promise is resolved.\n this.resolveSessionCreatedPromise_();\n }\n\n /**\n * Destroys the existing simid iframe.\n * @private\n */\n destroySimidIframe_() {\n if (this.simidIframe_) {\n this.simidIframe_.remove();\n this.simidIframe_ = null;\n this.simidProtocol.reset();\n }\n for (let [key, func] of this.adVideoTrackingEvents_) {\n this.adVideoElement_.removeEventListener(key, func, true);\n }\n for (let [key, func] of this.contentVideoTrackingEvents_) {\n this.contentVideoElement_.removeEventListener(key, func, true);\n }\n this.adVideoTrackingEvents_.clear();\n this.contentVideoTrackingEvents_.clear();\n }\n\n /**\n * Returns the full dimensions of an element within the player div.\n * @private\n * @return {!Object}\n */\n getFullDimensions_(elem) {\n const videoRect = elem.getBoundingClientRect();\n\n return {\n 'x': 0,\n 'y': 0,\n 'width': videoRect.width,\n 'height': videoRect.height,\n };\n }\n\n /**\n * Checks whether the input dimensions are valid and fit in the player window.\n * @private\n * @param {!Object} dimensions A dimension that contains x, y, width & height fields.\n * @return {boolean}\n */\n isValidDimensions_(dimensions) {\n const playerRect = this.playerDiv_.getBoundingClientRect();\n\n const heightFits = parseInt(dimensions.y) + parseInt(dimensions.height) <= parseInt(playerRect.height);\n const widthFits = parseInt(dimensions.x) + parseInt(dimensions.width) <= parseInt(playerRect.width);\n\n return heightFits && widthFits;\n }\n\n /**\n * Returns the specified dimensions of the non-linear creative.\n * @private\n * @return {!Object}\n */\n getNonlinearDimensions_() {\n if (this.nonLinearDimensions_) {\n return this.nonLinearDimensions_;\n }\n let newDimensions = {};\n newDimensions.x = document.getElementById('x_val').value;\n newDimensions.y = document.getElementById('y_val').value;\n newDimensions.width = document.getElementById('width').value;\n newDimensions.height = document.getElementById('height').value;\n return newDimensions;\n }\n\n /** \n * Validates and displays the non-linear creative.\n * @private\n */\n displayNonlinearCreative_() {\n const newDimensions = this.getNonlinearDimensions_();\n\n if (!this.isValidDimensions_(newDimensions)) {\n console.log(`${FW.consolePrepend} SIMID: Unable to play a non-linear ad with dimensions bigger than the player. Please modify dimensions to a smaller size.`, FW.consoleStyle, '');\n return;\n } else {\n this.setSimidIframeDimensions_(newDimensions);\n this.simidIframe_.style.position = 'absolute';\n\n this.contentVideoElement_.play();\n\n const nonLinearDuration = document.getElementById('duration').value;\n this.requestedDuration_ = nonLinearDuration;\n }\n }\n\n /**\n * Changes the simid iframe dimensions to the given dimensions.\n * @private\n * @param {!Object} resizeDimensions A dimension that contains an x,y,width & height fields.\n */\n setSimidIframeDimensions_(resizeDimensions) {\n this.simidIframe_.style.height = resizeDimensions.height;\n this.simidIframe_.style.width = resizeDimensions.width;\n this.simidIframe_.style.left = `${resizeDimensions.x}px`;\n this.simidIframe_.style.top = `${resizeDimensions.y}px`;\n }\n\n /** \n * The creative wants to expand the ad.\n * @param {!Object} incomingMessage Message sent from the creative to the player\n */\n onExpandResize(incomingMessage) {\n if (this.isLinearAd_) {\n const errorMessage = {\n errorCode: CreativeErrorCode.EXPAND_NOT_POSSIBLE,\n message: 'Linear resize not yet supported.'\n };\n this.simidProtocol.reject(incomingMessage, errorMessage);\n console.log(`${FW.consolePrepend} SIMID: ${errorMessage.message}`, FW.consoleStyle, '');\n\n\n } else {\n const fullDimensions = this.getFullDimensions_(this.contentVideoElement_);\n this.setSimidIframeDimensions_(fullDimensions);\n\n this.contentVideoElement_.pause();\n this.simidProtocol.resolve(incomingMessage);\n }\n }\n\n /** \n * The creative wants to collapse the ad. \n * @param {!Object} incomingMessage Message sent from the creative to the player\n */\n onCollapse(incomingMessage) {\n const newDimensions = this.getNonlinearDimensions_();\n\n if (this.isLinearAd_) {\n const errorMessage = {\n message: 'Cannot collapse linear ads.'\n };\n this.simidProtocol.reject(incomingMessage, errorMessage);\n console.log(`${FW.consolePrepend} SIMID: ${errorMessage.message}`, FW.consoleStyle, '');\n\n } else if (!this.isValidDimensions_(newDimensions)) {\n const errorMessage = {\n message: 'Unable to collapse to dimensions bigger than the player. Please modify dimensions to a smaller size.'\n };\n this.simidProtocol.reject(incomingMessage, errorMessage);\n console.log(`${FW.consolePrepend} SIMID: ${errorMessage.message}`, FW.consoleStyle, '');\n\n } else {\n this.setSimidIframeDimensions_(newDimensions);\n this.simidIframe_.style.position = 'absolute';\n\n this.contentVideoElement_.play();\n this.simidProtocol.resolve(incomingMessage);\n }\n }\n\n /**\n * The creative wants to resize the ad.\n * @param {!Object} incomingMessage Message sent from the creative to the player.\n */\n onRequestResize(incomingMessage) {\n if (this.isLinearAd_) {\n const errorMessage = {\n errorCode: CreativeErrorCode.EXPAND_NOT_POSSIBLE,\n message: 'Linear resize not yet supported.'\n };\n this.simidProtocol.reject(incomingMessage, errorMessage);\n console.log(`${FW.consolePrepend} SIMID: ${errorMessage.message}`, FW.consoleStyle, '');\n\n } else if (!this.isValidDimensions_(incomingMessage.args.creativeDimensions)) {\n const errorMessage = {\n errorCode: CreativeErrorCode.EXPAND_NOT_POSSIBLE,\n message: 'Unable to resize a non-linear ad with dimensions bigger than the player. Please modify dimensions to a smaller size.'\n };\n this.simidProtocol.reject(incomingMessage, errorMessage);\n console.log(`${FW.consolePrepend} SIMID: ${errorMessage.message}`, FW.consoleStyle, '');\n\n } else {\n this.nonLinearDimensions_ = incomingMessage.args.creativeDimensions;\n this.setSimidIframeDimensions_(incomingMessage.args.creativeDimensions);\n this.simidProtocol.resolve(incomingMessage);\n }\n }\n\n /**\n * Initializes the SIMID creative with all data it needs.\n * @private\n */\n sendInitMessage_() {\n const videoDimensions = this.getFullDimensions_(this.contentVideoElement_);\n // Since the creative starts as hidden it will take on the\n // video element dimensions, so tell the ad about those dimensions.\n const creativeDimensions = this.isLinearAd_ ?\n this.getFullDimensions_(this.contentVideoElement_) :\n this.getNonlinearDimensions_();\n\n const environmentData = {\n 'videoDimensions': videoDimensions,\n 'creativeDimensions': creativeDimensions,\n 'fullscreen': false,\n 'fullscreenAllowed': true,\n 'variableDurationAllowed': true,\n 'skippableState': 'adHandles', // This player does not render a skip button.\n 'siteUrl': document.location.host,\n 'appId': '', // This is not relevant on desktop\n 'useragent': window.navigator.userAgent, // This should be filled in for sdks and players\n 'deviceId': '', // This should be filled in on mobile\n 'muted': this.adVideoElement_.muted,\n 'volume': this.adVideoElement_.volume\n };\n\n const creativeData = {\n 'adParameters': this.adParameters_,\n // These values should be populated from the VAST response.\n 'adId': this.adId_,\n 'creativeId': this.creativeId_,\n 'adServingId': this.adServingId_,\n 'clickThroughUrl': this.clickThroughUrl_\n };\n\n if (!this.isLinearAd_) {\n creativeData['duration'] = document.getElementById('duration').value;\n }\n\n const initMessage = {\n 'environmentData': environmentData,\n 'creativeData': creativeData\n };\n const initPromise = this.simidProtocol.sendMessage(\n PlayerMessage.INIT, initMessage);\n initPromise.then((args) => {\n this.resolveInitializationPromise_(args);\n }).catch((args) => {\n this.rejectInitializationPromise_(args);\n });\n }\n\n /**\n * Called once the creative responds positively to being initialized.\n * @private\n */\n startCreativePlayback_() {\n // Once the ad is successfully initialized it can start.\n // If the ad is not visible it must be made visible here.\n this.showSimidIFrame_();\n\n if (this.isLinearAd_) {\n this.playLinearVideoAd_();\n } else {\n this.nonLinearStartTime_ = this.contentVideoElement_.currentTime;\n this.contentVideoElement_.play();\n }\n\n this.simidProtocol.sendMessage(PlayerMessage.START_CREATIVE);\n // TODO: handle creative rejecting startCreative message.\n }\n\n /** \n * Pauses content video and plays linear ad.\n * @private \n */\n playLinearVideoAd_() {\n this.contentVideoElement_.pause();\n this.showAdPlayer_();\n this.adVideoElement_.src = this.vastPlayerUrl_;\n // we need this extra load for Chrome data saver mode in mobile or desktop\n this.adVideoElement_.load();\n this.adVideoElement_.play();\n }\n\n /**\n * Called if the creative responds with reject after the player\n * initializes the ad.\n * @param {!Object} data\n * @private\n */\n onAdInitializedFailed_(data) {\n const errorData = JSON.stringify(data);\n console.log(`${FW.consolePrepend} SIMID: Ad init failed. ${errorData}`, FW.consoleStyle, '');\n this.destroyIframeAndResumeContent_(true, errorData.errorCode);\n }\n\n /** @private */\n hideSimidIFrame_() {\n this.simidIframe_.style.display = 'none';\n }\n\n /** @private */\n showSimidIFrame_() {\n this.simidIframe_.style.display = 'block';\n }\n\n /** @private */\n showAdPlayer_() {\n // show the ad video element\n this.adVideoElement_.style.display = 'block';\n this.adContainer_.style.display = 'block';\n }\n\n /** @private */\n hideAdPlayer_() {\n // Unload the video\n this.adVideoElement_.style.display = 'none';\n this.adContainer_.style.display = 'none';\n }\n\n /**\n * Tracks the events on the ad video element specified by the simid spec\n * @private\n */\n trackEventsOnAdVideoElement_() {\n this.adVideoTrackingEvents_.set('durationchange', () => {\n this.simidProtocol.sendMessage(MediaMessage.DURATION_CHANGE,\n { 'duration': this.adVideoElement_.duration });\n });\n this.adVideoTrackingEvents_.set('ended', this.videoComplete.bind(this));\n this.adVideoTrackingEvents_.set('error', () => {\n this.simidProtocol.sendMessage(MediaMessage.ERROR,\n {\n 'error': '', // TODO fill in these values correctly\n 'message': ''\n });\n });\n this.adVideoTrackingEvents_.set('pause', () => {\n this.simidProtocol.sendMessage(MediaMessage.PAUSE);\n });\n this.adVideoTrackingEvents_.set('play', () => {\n this.simidProtocol.sendMessage(MediaMessage.PLAY);\n });\n this.adVideoTrackingEvents_.set('playing', () => {\n this.simidProtocol.sendMessage(MediaMessage.PLAYING);\n });\n this.adVideoTrackingEvents_.set('seeked', () => {\n this.simidProtocol.sendMessage(MediaMessage.SEEKED);\n });\n this.adVideoTrackingEvents_.set('seeking', () => {\n this.simidProtocol.sendMessage(MediaMessage.SEEKING);\n });\n this.adVideoTrackingEvents_.set('timeupdate', () => {\n this.simidProtocol.sendMessage(MediaMessage.TIME_UPDATE,\n { 'currentTime': this.adVideoElement_.currentTime });\n this.compareAdAndRequestedDurations_();\n });\n this.adVideoTrackingEvents_.set('volumechange', () => {\n this.simidProtocol.sendMessage(MediaMessage.VOLUME_CHANGE,\n { 'volume': this.adVideoElement_.volume });\n });\n\n for (let [key, func] of this.adVideoTrackingEvents_) {\n this.adVideoElement_.addEventListener(key, func, true);\n }\n }\n\n /**\n * Tracks the events on the content video element.\n * @private\n */\n trackEventsOnContentVideoElement_() {\n this.contentVideoTrackingEvents_.set('timeupdate', () => {\n if (this.nonLinearStartTime_ !== null &&\n (this.contentVideoElement_.currentTime - this.nonLinearStartTime_ > this.requestedDuration_)) {\n this.stopAd(StopCode.NON_LINEAR_DURATION_COMPLETE);\n }\n });\n\n for (let [key, func] of this.contentVideoTrackingEvents_) {\n this.contentVideoElement_.addEventListener(key, func, true);\n }\n }\n\n /**\n * Stops the ad and destroys the ad iframe.\n * @param {StopCode} reason The reason the ad will stop.\n */\n stopAd(reason = StopCode.PLAYER_INITATED, error, errorCode) {\n // The iframe is only hidden on ad stoppage. The ad might still request\n // tracking pixels before it is cleaned up.\n if (this.simidIframe_) {\n this.hideSimidIFrame_();\n /*const closeMessage = {\n 'code': reason,\n };*/\n // Wait for the SIMID creative to acknowledge stop and then clean\n // up the iframe.\n console.log(`${FW.consolePrepend} SIMID: stopAd ${reason}`, FW.consoleStyle, '');\n this.simidProtocol.sendMessage(PlayerMessage.AD_STOPPED)\n .then(() => this.destroyIframeAndResumeContent_(error, errorCode));\n }\n }\n\n /**\n * Skips the ad and destroys the ad iframe.\n */\n skipAd() {\n // The iframe is only hidden on ad skipped. The ad might still request\n // tracking pixels before it is cleaned up.\n this.hideSimidIFrame_();\n // Wait for the SIMID creative to acknowledge skip and then clean\n // up the iframe.\n this.simidProtocol.sendMessage(PlayerMessage.AD_SKIPPED)\n .then(() => this.destroyIframeAndResumeContent_());\n }\n\n /**\n * Removes the simid ad entirely and resumes video playback.\n * @private\n */\n destroyIframeAndResumeContent_(error, errorCode) {\n //this.hideAdPlayer_();\n //this.adVideoElement_.src = '';\n this.destroySimidIframe_();\n //this.contentVideoElement_.play();\n if (error) {\n Utils.processVastErrors.call(this.rmpVast_, errorCode, true);\n } else {\n VAST_PLAYER.resumeContent.call(this.rmpVast_);\n }\n }\n\n /** The creative wants to go full screen. */\n onRequestFullScreen(incomingMessage) {\n // The spec currently says to only request fullscreen for the iframe.\n let promise = null;\n if (this.simidIframe_.requestFullscreen) {\n promise = this.simidIframe_.requestFullscreen();\n } else if (this.simidIframe_.mozRequestFullScreen) {\n // Our tests indicate firefox will probably not respect the request.\n promise = this.simidIframe_.mozRequestFullScreen();\n } else if (this.simidIframe_.webkitRequestFullscreen) {\n promise = this.simidIframe_.webkitRequestFullscreen();\n } else if (this.simidIframe_.msRequestFullscreen) {\n // Our tests indicate IE will probably not respect the request.\n promise = this.simidIframe_.msRequestFullscreen();\n }\n if (promise) {\n promise.then(() => this.simidProtocol.resolve(incomingMessage));\n } else {\n // TODO: Many browsers are not returning promises but are still\n // going full screen. Assuming resolve (bad).\n this.simidProtocol.resolve(incomingMessage);\n }\n }\n\n /** The creative wants to play video. */\n onRequestPlay(incomingMessage) {\n if (this.isLinearAd_) {\n this.adVideoElement_.play()\n .then(() => this.simidProtocol.resolve(incomingMessage))\n .catch(() => {\n const errorMessage = {\n errorCode: PlayerErrorCode.VIDEO_COULD_NOT_LOAD,\n message: 'The SIMID media could not be loaded.'\n };\n this.simidProtocol.reject(incomingMessage, errorMessage);\n });\n } else {\n const errorMessage = {\n errorCode: CreativeErrorCode.PLAYBACK_AREA_UNUSABLE,\n message: 'Non linear ads do not play video.'\n };\n this.simidProtocol.reject(incomingMessage, errorMessage);\n }\n }\n\n /** The creative wants to pause video. */\n onRequestPause(incomingMessage) {\n this.adVideoElement_.pause();\n this.simidProtocol.resolve(incomingMessage);\n }\n\n /** Pauses the video ad element. */\n pauseAd() {\n this.adVideoElement_.pause();\n }\n\n /** The creative wants to stop with a fatal error. */\n onCreativeFatalError(incomingMessage) {\n this.simidProtocol.resolve(incomingMessage);\n this.stopAd(StopCode.CREATIVE_INITIATED, true, 1100);\n }\n\n /** The creative wants to skip this ad. */\n onRequestSkip(incomingMessage) {\n this.simidProtocol.resolve(incomingMessage);\n this.skipAd();\n }\n\n /** The creative wants to stop the ad early. */\n onRequestStop(incomingMessage) {\n this.simidProtocol.resolve(incomingMessage);\n this.stopAd(StopCode.CREATIVE_INITIATED);\n }\n\n /**\n * The player must implement sending tracking pixels from the creative.\n * This sample implementation does not show how to send tracking pixels or\n * replace macros. That should be done using the players standard workflow.\n */\n onReportTracking(incomingMessage) {\n const requestedUrlArray = incomingMessage.args['trackingUrls'];\n requestedUrlArray.forEach(url => {\n TRACKING_EVENTS.pingURI.call(this, url);\n });\n\n console.log(`${FW.consolePrepend} SIMID: The creative has asked for the player to ping ${requestedUrlArray}`, FW.consoleStyle, '');\n }\n\n /**\n * Called when video playback is complete.\n * @private\n */\n videoComplete() {\n this.simidProtocol.sendMessage(MediaMessage.ENDED);\n\n if (this.requestedDuration_ == NO_REQUESTED_DURATION) {\n this.stopAd(StopCode.MEDIA_PLAYBACK_COMPLETE);\n }\n\n //If the request duration is longer than the ad duration, the ad extends for the requested amount of time\n else if (this.requestedDuration_ != UNLIMITED_DURATION) {\n const durationChangeMs = (this.requestedDuration_ - this.adVideoElement_.duration) * 1000;\n setTimeout(() => {\n this.stopAd(StopCode.CREATIVE_INITIATED);\n }, durationChangeMs);\n }\n }\n\n /**\n * Called when creative requests a change in duration of ad.\n * @private\n */\n onRequestChangeAdDuration(incomingMessage) {\n const newRequestedDuration = incomingMessage.args['duration'];\n if (newRequestedDuration != UNLIMITED_DURATION && newRequestedDuration < 0) {\n const durationErrorMessage = {\n errorCode: PlayerErrorCode.UNSUPPORTED_TIME,\n message: 'A negative duration is not valid.'\n };\n this.simidProtocol.reject(incomingMessage, durationErrorMessage);\n }\n else {\n this.requestedDuration_ = newRequestedDuration;\n //If requested duration is any other acceptable value\n this.compareAdAndRequestedDurations_();\n this.simidProtocol.resolve(incomingMessage);\n }\n }\n\n /**\n * Compares the duration of the ad with the requested change duration.\n * If request duration is the same as the ad duration, ad ends as normal.\n * If request duration is unlimited, ad stays on screen until user closes ad.\n * If request duration is shorter, the ad stops early. \n * @private\n */\n compareAdAndRequestedDurations_() {\n if (this.requestedDuration_ == NO_REQUESTED_DURATION ||\n this.requestedDuration_ == UNLIMITED_DURATION) {\n //Note: Users can end the ad with unlimited duration with\n // the close ad button on the player\n return;\n }\n else if (this.adVideoElement_.currentTime >= this.requestedDuration_) {\n //Creative requested a duration shorter than the ad\n this.stopAd(StopCode.CREATIVE_INITATED);\n }\n }\n\n onGetMediaState(incomingMessage) {\n const mediaState = {\n 'currentSrc': this.adVideoElement_.currentSrc,\n 'currentTime': this.adVideoElement_.currentTime,\n 'duration': this.adVideoElement_.duration,\n 'ended': this.adVideoElement_.ended,\n 'muted': this.adVideoElement_.muted,\n 'paused': this.adVideoElement_.paused,\n 'volume': this.adVideoElement_.volume,\n 'fullscreen': this.adVideoElement_.fullscreen,\n };\n this.simidProtocol.resolve(incomingMessage, mediaState);\n }\n\n onReceiveCreativeLog(incomingMessage) {\n const logMessage = incomingMessage.args['message'];\n console.log(`${FW.consolePrepend} SIMID: Received message from creative: ${logMessage}`, FW.consoleStyle, '');\n }\n\n sendLog(outgoingMessage) {\n const logMessage = {\n 'message': outgoingMessage,\n };\n this.simidProtocol.sendMessage(PlayerMessage.LOG, logMessage);\n }\n}\n","import FW from '../framework/fw';\nimport ENV from '../framework/env';\nimport Utils from '../framework/utils';\nimport TRACKING_EVENTS from '../tracking/tracking-events';\nimport VAST_PLAYER from '../players/vast-player';\nimport VPAID from '../players/vpaid';\nimport ICONS from './icons';\nimport RmpConnection from '../../assets/rmp-connection/rmp-connection';\nimport SimidPlayer from '../players/simid/simid_player';\n\nconst LINEAR = {};\n\nconst VPAID_PATTERN = /vpaid/i;\nconst JS_PATTERN = /\\/javascript/i;\nconst HTML5_MEDIA_ERROR_TYPES = [\n 'MEDIA_ERR_CUSTOM',\n 'MEDIA_ERR_ABORTED',\n 'MEDIA_ERR_NETWORK',\n 'MEDIA_ERR_DECODE',\n 'MEDIA_ERR_SRC_NOT_SUPPORTED',\n 'MEDIA_ERR_ENCRYPTED'\n];\nconst COMMON_VIDEO_FORMATS = [\n 'video/webm',\n 'video/mp4',\n 'video/ogg',\n 'video/3gpp'\n];\n\nconst _onDurationChange = function () {\n this.vastPlayerDuration = VAST_PLAYER.getDuration.call(this);\n Utils.createApiEvent.call(this, 'addurationchange');\n // progress event\n if (this.vastPlayerDuration === -1) {\n return;\n }\n const keys = Object.keys(this.creative.trackingEvents);\n keys.forEach((eventName) => {\n if (/progress-/i.test(eventName)) {\n const time = eventName.split('-');\n const time_2 = time[1];\n if (/%/i.test(time_2)) {\n let timePerCent = time_2.slice(0, -1);\n timePerCent = (this.vastPlayerDuration * parseFloat(timePerCent)) / 100;\n const trackingUrls = this.creative.trackingEvents[eventName];\n trackingUrls.forEach(url => {\n this.progressEvents.push({\n time: timePerCent,\n url: url\n });\n });\n } else {\n const trackingUrls = this.creative.trackingEvents[eventName];\n trackingUrls.forEach(url => {\n this.progressEvents.push({\n time: parseFloat(time_2) * 1000,\n url: url\n });\n });\n }\n }\n });\n // sort progress time ascending\n if (this.progressEvents.length > 0) {\n this.progressEvents.sort(function (a, b) {\n return a.time - b.time;\n });\n }\n};\n\nconst _onLoadedmetadataPlay = function () {\n clearTimeout(this.creativeLoadTimeoutCallback);\n // adjust volume to make sure content player volume matches vast player volume\n if (this.vastPlayer) {\n if (this.vastPlayer.volume !== this.contentPlayer.volume) {\n this.vastPlayer.volume = this.contentPlayer.volume;\n }\n if (this.contentPlayer.muted) {\n this.vastPlayer.muted = true;\n } else {\n this.vastPlayer.muted = false;\n }\n }\n // show ad container holding vast player\n FW.show(this.adContainer);\n FW.show(this.vastPlayer);\n this.adOnStage = true;\n // play VAST player\n VAST_PLAYER.play.call(this, this.firstVastPlayerPlayRequest);\n if (this.firstVastPlayerPlayRequest) {\n this.firstVastPlayerPlayRequest = false;\n }\n Utils.createApiEvent.call(this, 'adloaded');\n TRACKING_EVENTS.dispatch.call(this, 'loaded');\n};\n\nconst _onClickThrough = function (event) {\n if (event) {\n event.stopPropagation();\n }\n if (!ENV.isMobile) {\n\n console.log(\n `${FW.consolePrepend} Opening clickthrough URL at ${this.creative.clickThroughUrl}`,\n FW.consoleStyle,\n ''\n );\n\n FW.openWindow(this.creative.clickThroughUrl);\n }\n this.pause();\n Utils.createApiEvent.call(this, 'adclick');\n TRACKING_EVENTS.dispatch.call(this, 'clickthrough');\n};\n\nconst _onPlaybackError = function (event) {\n // https://www.w3.org/TR/html50/embedded-content-0.html#mediaerror\n // MEDIA_ERR_SRC_NOT_SUPPORTED is sign of fatal error\n // other errors may produce non-fatal error in the browser so we do not \n // act upon them\n if (event && event.target) {\n const videoElement = event.target;\n if (videoElement.error && FW.isNumber(videoElement.error.code)) {\n const errorCode = videoElement.error.code;\n let errorMessage = '';\n if (typeof videoElement.error.message === 'string') {\n errorMessage = videoElement.error.message;\n }\n\n console.log(\n `${FW.consolePrepend} Error on video element with code ${errorCode.toString()} and message ${errorMessage}`,\n FW.consoleStyle,\n ''\n );\n console.log(\n `${FW.consolePrepend} error type is ${HTML5_MEDIA_ERROR_TYPES[errorCode] ? HTML5_MEDIA_ERROR_TYPES[errorCode] : 'unknown type'}`,\n FW.consoleStyle,\n ''\n );\n\n // EDIA_ERR_SRC_NOT_SUPPORTED (numeric value 4)\n if (errorCode === 4) {\n Utils.processVastErrors.call(this, 401, true);\n }\n }\n }\n};\n\nconst _appendClickUIOnMobile = function () {\n // we create a tag rather than using window.open \n // because it works better in standalone mode and WebView\n this.clickUIOnMobile = document.createElement('a');\n this.clickUIOnMobile.className = 'rmp-ad-click-ui-mobile';\n this.clickUIOnMobile.textContent = this.params.labels.textForClickUIOnMobile;\n this.clickUIOnMobile.addEventListener('touchend', this.onClickThrough);\n this.clickUIOnMobile.href = this.creative.clickThroughUrl;\n this.clickUIOnMobile.target = '_blank';\n this.adContainer.appendChild(this.clickUIOnMobile);\n};\n\nconst _onContextMenu = function (event) {\n if (event) {\n event.stopPropagation();\n event.preventDefault();\n }\n};\n\nconst _setCanBeSkippedUI = function () {\n FW.setStyle(this.skipWaiting, { display: 'none' });\n FW.setStyle(this.skipMessage, { display: 'block' });\n FW.setStyle(this.skipIcon, { display: 'block' });\n};\n\nconst _updateWaitingForCanBeSkippedUI = function (delta) {\n if (Math.round(delta) > 0) {\n this.skipWaiting.textContent = this.params.labels.skipMessage + ' ' + Math.round(delta) + 's';\n }\n};\n\nconst _onTimeupdateCheckSkip = function () {\n if (this.skipButton.style.display === 'none') {\n FW.setStyle(this.skipButton, { display: 'block' });\n }\n this.vastPlayerCurrentTime = this.vastPlayer.currentTime;\n if (FW.isNumber(this.vastPlayerCurrentTime) && this.vastPlayerCurrentTime > 0) {\n if (this.vastPlayerCurrentTime >= this.creative.skipoffset) {\n this.vastPlayer.removeEventListener('timeupdate', this.onTimeupdateCheckSkip);\n _setCanBeSkippedUI.call(this);\n this.skippableAdCanBeSkipped = true;\n Utils.createApiEvent.call(this, 'adskippablestatechanged');\n } else if (this.creative.skipoffset - this.vastPlayerCurrentTime > 0) {\n _updateWaitingForCanBeSkippedUI.call(this, this.creative.skipoffset - this.vastPlayerCurrentTime);\n }\n }\n};\n\nconst _onClickSkip = function (event) {\n if (event) {\n event.stopPropagation();\n if (event.type === 'touchend') {\n event.preventDefault();\n }\n }\n if (this.skippableAdCanBeSkipped) {\n // create API event \n Utils.createApiEvent.call(this, 'adskipped');\n // request ping for skip event\n TRACKING_EVENTS.dispatch.call(this, 'skip');\n // resume content\n VAST_PLAYER.resumeContent.call(this);\n }\n};\n\nconst _appendSkip = function () {\n this.skipButton = document.createElement('div');\n this.skipButton.className = 'rmp-ad-container-skip';\n FW.setStyle(this.skipButton, { display: 'none' });\n Utils.makeButtonAccessible(this.skipButton, this.params.labels.skipMessage);\n\n this.skipWaiting = document.createElement('div');\n this.skipWaiting.className = 'rmp-ad-container-skip-waiting';\n _updateWaitingForCanBeSkippedUI.call(this, this.creative.skipoffset);\n FW.setStyle(this.skipWaiting, { display: 'block' });\n\n this.skipMessage = document.createElement('div');\n this.skipMessage.className = 'rmp-ad-container-skip-message';\n this.skipMessage.textContent = this.params.labels.skipMessage;\n FW.setStyle(this.skipMessage, { display: 'none' });\n\n this.skipIcon = document.createElement('div');\n this.skipIcon.className = 'rmp-ad-container-skip-icon';\n FW.setStyle(this.skipIcon, { display: 'none' });\n\n this.onClickSkip = _onClickSkip.bind(this);\n this.skipButton.addEventListener('click', this.onClickSkip);\n this.skipButton.addEventListener('touchend', this.onClickSkip);\n this.skipButton.appendChild(this.skipWaiting);\n this.skipButton.appendChild(this.skipMessage);\n this.skipButton.appendChild(this.skipIcon);\n this.adContainer.appendChild(this.skipButton);\n this.onTimeupdateCheckSkip = _onTimeupdateCheckSkip.bind(this);\n this.vastPlayer.addEventListener('timeupdate', this.onTimeupdateCheckSkip);\n};\n\nconst _onHlsJSError = function (event, data) {\n if (data.fatal) {\n switch (data.type) {\n case Hls.ErrorTypes.NETWORK_ERROR:\n // try to recover network error\n this.hlsJS[this.hlsJSIndex].startLoad();\n break;\n case Hls.ErrorTypes.MEDIA_ERROR:\n this.hlsJS[this.hlsJSIndex].recoverMediaError();\n break;\n default:\n Utils.processVastErrors.call(this, 900, true);\n break;\n }\n }\n};\n\nLINEAR.update = function (url, type) {\n console.log(\n `${FW.consolePrepend} update vast player for linear creative of type ${type} located at ${url}`,\n FW.consoleStyle,\n ''\n );\n\n this.onDurationChange = _onDurationChange.bind(this);\n this.vastPlayer.addEventListener('durationchange', this.onDurationChange, { once: true });\n\n // when creative is loaded play it \n this.onLoadedmetadataPlay = _onLoadedmetadataPlay.bind(this);\n this.vastPlayer.addEventListener('loadedmetadata', this.onLoadedmetadataPlay, { once: true });\n\n // prevent built in menu to show on right click\n this.onContextMenu = _onContextMenu.bind(this);\n this.vastPlayer.addEventListener('contextmenu', this.onContextMenu);\n\n this.onPlaybackError = _onPlaybackError.bind(this);\n\n // start creativeLoadTimeout\n this.creativeLoadTimeoutCallback = setTimeout(() => {\n Utils.processVastErrors.call(this, 402, true);\n }, this.params.creativeLoadTimeout);\n // load ad asset\n if (this.useContentPlayerForAds) {\n this.contentPlayer.addEventListener('error', this.onPlaybackError);\n this.contentPlayer.src = url;\n } else {\n if (this.params.useHlsJS && type === 'application/vnd.apple.mpegurl' && typeof window.Hls !== 'undefined' &&\n Hls.isSupported()) {\n this.readingHlsJS = true;\n const hlsJSConfig = {\n autoStartLoad: true,\n debug: this.params.debugHlsJS,\n capLevelToPlayerSize: true,\n testBandwidth: true,\n progressive: false,\n lowLatencyMode: false,\n enableWebVTT: false,\n enableIMSC1: false,\n enableCEA708Captions: false\n };\n this.hlsJS[this.hlsJSIndex] = new Hls(hlsJSConfig);\n this.hlsJS[this.hlsJSIndex].on(Hls.Events.ERROR, _onHlsJSError.bind(this));\n this.hlsJS[this.hlsJSIndex].loadSource(url);\n this.hlsJS[this.hlsJSIndex].attachMedia(this.vastPlayer);\n } else {\n if (typeof this.creative.simid === 'undefined' || (this.creative.simid && !this.params.enableSimid)) {\n this.vastPlayer.addEventListener('error', this.onPlaybackError);\n this.vastPlayer.src = url;\n // we need this extra load for Chrome data saver mode in mobile or desktop\n this.vastPlayer.load();\n } else {\n if (this.simidPlayer) {\n this.simidPlayer.stopAd();\n }\n this.simidPlayer = new SimidPlayer(\n this.creative.isLinear,\n this.creative.simid,\n url,\n this.creative.adId,\n this.creative.id,\n this.ad.adServingId,\n this.creative.clickThroughUrl,\n this\n );\n this.simidPlayer.initializeAd();\n this.simidPlayer.playAd();\n }\n }\n }\n\n // clickthrough interaction\n this.onClickThrough = _onClickThrough.bind(this);\n if (this.creative.clickThroughUrl) {\n if (ENV.isMobile) {\n _appendClickUIOnMobile.call(this);\n } else {\n this.vastPlayer.addEventListener('click', this.onClickThrough);\n }\n }\n\n // skippable - only where vast player is different from \n // content player\n if (this.creative.isSkippableAd) {\n _appendSkip.call(this);\n }\n};\n\nLINEAR.parse = function (icons, adParameters, mediaFiles) {\n if (icons.length > 0) {\n ICONS.parse.call(this, icons);\n }\n // check for AdParameters tag in case we have a VPAID creative\n this.adParametersData = '';\n if (adParameters !== null) {\n this.adParametersData = adParameters;\n }\n let mediaFileItems = [];\n for (let i = 0; i < mediaFiles.length; i++) {\n const currentMediaFile = mediaFiles[i];\n const mediaFileValue = currentMediaFile.fileURL;\n const type = currentMediaFile.mimeType;\n if (mediaFileValue === null || type === null) {\n continue;\n }\n const newMediaFileItem = {};\n newMediaFileItem.url = mediaFileValue;\n newMediaFileItem.type = type;\n if (currentMediaFile.codec !== null) {\n newMediaFileItem.codec = currentMediaFile.codec;\n }\n // check for potential VPAID - we have a VPAID JS - we break\n // for VPAID we may not have a width, height or delivery\n if (this.params.enableVpaid && currentMediaFile.apiFramework &&\n VPAID_PATTERN.test(currentMediaFile.apiFramework) && JS_PATTERN.test(type)) {\n\n console.log(`${FW.consolePrepend} VPAID creative detected`, FW.consoleStyle, '');\n\n mediaFileItems = [newMediaFileItem];\n this.isVPAID = true;\n break;\n }\n newMediaFileItem.width = currentMediaFile.width;\n newMediaFileItem.height = currentMediaFile.height;\n newMediaFileItem.bitrate = currentMediaFile.bitrate;\n mediaFileItems.push(newMediaFileItem);\n }\n // we support HLS; MP4; WebM: VPAID so let us fecth for those\n const creatives = [];\n for (let j = 0; j < mediaFileItems.length; j++) {\n const currentMediaFileItem = mediaFileItems[j];\n const type = currentMediaFileItem.type;\n const url = currentMediaFileItem.url;\n if (this.isVPAID && url) {\n VPAID.loadCreative.call(this, url, this.params.vpaidSettings);\n this.creative.type = type;\n return;\n }\n // we have HLS > use hls.js where no native support for HLS is available or native HLS otherwise (Apple devices mainly)\n if (type === 'application/vnd.apple.mpegurl' &&\n (ENV.checkCanPlayType(type) ||\n (typeof window.Hls !== 'undefined' && Hls.isSupported()))) {\n VAST_PLAYER.append.call(this, url, type);\n this.creative.type = type;\n return;\n }\n // we have DASH and DASH is natively supported > use DASH\n if (ENV.checkCanPlayType('application/dash+xml')) {\n VAST_PLAYER.append.call(this, url, type);\n this.creative.type = type;\n return;\n }\n // we gather MP4, WebM, OGG and remaining files\n creatives.push(currentMediaFileItem);\n }\n let retainedCreatives = [];\n // first we check for the common formats below ... \n const __filterCommonCreatives = function (i, creative) {\n if (creative.codec && creative.type === COMMON_VIDEO_FORMATS[i]) {\n return ENV.checkCanPlayType(creative.type, creative.codec);\n } else if (creative.type === COMMON_VIDEO_FORMATS[i]) {\n return ENV.checkCanPlayType(creative.type);\n }\n return false;\n };\n for (let k = 0; k < COMMON_VIDEO_FORMATS.length; k++) {\n retainedCreatives = creatives.filter(__filterCommonCreatives.bind(null, k));\n if (retainedCreatives.length > 0) {\n break;\n }\n }\n // ... if none of the common format work, then we check for exotic format\n // first we check for those with codec information as it provides more accurate support indication ...\n if (retainedCreatives.length === 0) {\n const __filterCodecCreatives = function (codec, type, creative) {\n return creative.codec === codec && creative.type === type;\n };\n creatives.forEach(creative => {\n if (creative.codec && creative.type && ENV.checkCanPlayType(creative.type, creative.codec)) {\n retainedCreatives = creatives.filter(__filterCodecCreatives.bind(null, creative.codec, creative.type));\n }\n });\n }\n // ... if codec information are not available then we go first type matching\n if (retainedCreatives.length === 0) {\n const __filterTypeCreatives = function (type, creative) {\n return creative.type === type;\n };\n creatives.forEach(creative => {\n if (creative.type && ENV.checkCanPlayType(creative.type)) {\n retainedCreatives = creatives.filter(__filterTypeCreatives.bind(null, creative.type));\n }\n });\n }\n\n // still no match for supported format - we exit\n if (retainedCreatives.length === 0) {\n // None of the MediaFile provided are supported by the player\n Utils.processVastErrors.call(this, 403, true);\n return;\n }\n\n // sort supported creatives by width\n retainedCreatives.sort((a, b) => {\n return a.width - b.width;\n });\n\n console.log(`${FW.consolePrepend} available linear creative follows`, FW.consoleStyle, '');\n console.log(retainedCreatives);\n\n // we have files matching device capabilities\n // select the best one based on player current width\n let finalCreative;\n let validCreativesByWidth = [];\n let validCreativesByBitrate = [];\n if (retainedCreatives.length > 1) {\n const containerWidth = FW.getWidth(this.container) * ENV.devicePixelRatio;\n const containerHeight = FW.getHeight(this.container) * ENV.devicePixelRatio;\n if (containerWidth > 0 && containerHeight > 0) {\n validCreativesByWidth = retainedCreatives.filter((creative) => {\n return containerWidth >= creative.width && containerHeight >= creative.height;\n });\n }\n\n console.log(`${FW.consolePrepend} validCreativesByWidth follow`, FW.consoleStyle, '');\n console.log(validCreativesByWidth);\n\n // if no match by size \n if (validCreativesByWidth.length === 0) {\n validCreativesByWidth = [retainedCreatives[0]];\n }\n\n // filter by bitrate to provide best quality\n const rmpConnection = new RmpConnection();\n let availableBandwidth = rmpConnection.bandwidthData.estimate;\n\n console.log(`${FW.consolePrepend} availableBandwidth is ${availableBandwidth} Mbps`, FW.consoleStyle, '');\n\n if (availableBandwidth > -1 && validCreativesByWidth.length > 1) {\n // sort supported creatives by bitrates\n validCreativesByWidth.sort((a, b) => {\n return a.bitrate - b.bitrate;\n });\n // convert to kbps\n availableBandwidth = Math.round(availableBandwidth * 1000);\n validCreativesByBitrate = validCreativesByWidth.filter((creative) => {\n return availableBandwidth >= creative.bitrate;\n });\n\n console.log(`${FW.consolePrepend} validCreativesByBitrate follow`, FW.consoleStyle, '');\n console.log(validCreativesByBitrate);\n\n // pick max available bitrate\n finalCreative = validCreativesByBitrate[validCreativesByBitrate.length - 1];\n }\n }\n\n // if no match by bitrate \n if (!finalCreative) {\n if (validCreativesByWidth.length > 0) {\n finalCreative = validCreativesByWidth[validCreativesByWidth.length - 1];\n } else {\n retainedCreatives.sort((a, b) => {\n return a.bitrate - b.bitrate;\n });\n finalCreative = retainedCreatives[retainedCreatives.length - 1];\n }\n }\n\n console.log(`${FW.consolePrepend} selected linear creative follows`, FW.consoleStyle, '');\n console.log(finalCreative);\n\n this.creative.mediaUrl = finalCreative.url;\n this.creative.height = finalCreative.height;\n this.creative.width = finalCreative.width;\n this.creative.type = finalCreative.type;\n VAST_PLAYER.append.call(this, finalCreative.url, finalCreative.type);\n};\n\nexport default LINEAR;\n","import FW from '../framework/fw';\nimport ENV from '../framework/env';\nimport Utils from '../framework/utils';\nimport CONTENT_PLAYER from '../players/content-player';\nimport VPAID from '../players/vpaid';\nimport ICONS from '../creatives/icons';\nimport TRACKING_EVENTS from '../tracking/tracking-events';\nimport NON_LINEAR from '../creatives/non-linear';\nimport LINEAR from '../creatives/linear';\n\nconst VAST_PLAYER = {};\n\nconst _unwireVastPlayerEvents = function () {\n console.log(`${FW.consolePrepend} reset - unwireVastPlayerEvents`, FW.consoleStyle, '');\n\n if (this.nonLinearContainer) {\n this.nonLinearInnerElement.removeEventListener('load', this.onNonLinearLoadSuccess);\n this.nonLinearInnerElement.removeEventListener('error', this.onNonLinearLoadError);\n this.nonLinearATag.removeEventListener('click', this.onNonLinearClickThrough);\n this.nonLinearATag.removeEventListener('touchend', this.onNonLinearClickThrough);\n this.nonLinearClose.removeEventListener('click', this.onClickCloseNonLinear);\n this.nonLinearClose.removeEventListener('touchend', this.onClickCloseNonLinear);\n this.trackingTags.forEach(trackingTag => {\n this.nonLinearContainer.removeEventListener(trackingTag.event, this.onEventPingTracking);\n });\n }\n if (this.vastPlayer) {\n this.vastPlayer.removeEventListener('error', this.onPlaybackError);\n // vastPlayer content pause/resume events\n this.vastPlayer.removeEventListener('durationchange', this.onDurationChange);\n this.vastPlayer.removeEventListener('loadedmetadata', this.onLoadedmetadataPlay);\n this.vastPlayer.removeEventListener('contextmenu', this.onContextMenu);\n // unwire HTML5 video events\n this.vastPlayer.removeEventListener('pause', this.onPause);\n this.vastPlayer.removeEventListener('play', this.onPlay);\n this.vastPlayer.removeEventListener('playing', this.onPlaying);\n this.vastPlayer.removeEventListener('ended', this.onEnded);\n this.vastPlayer.removeEventListener('volumechange', this.onVolumeChange);\n this.vastPlayer.removeEventListener('timeupdate', this.onTimeupdate);\n\n // unwire HTML5 VAST events\n this.trackingTags.forEach(trackingTag => {\n this.vastPlayer.removeEventListener(trackingTag.event, this.onEventPingTracking);\n });\n // remove clicktrough handling\n this.vastPlayer.removeEventListener('click', this.onClickThrough);\n this.vastPlayer.removeEventListener('playing', this.onPlayingAppendIcons);\n // skip\n this.vastPlayer.removeEventListener('timeupdate', this.onTimeupdateCheckSkip);\n }\n if (this.skipButton) {\n this.skipButton.removeEventListener('click', this.onClickSkip);\n this.skipButton.removeEventListener('touchend', this.onClickSkip);\n }\n // click UI on mobile\n if (this.clickUIOnMobile) {\n this.clickUIOnMobile.removeEventListener('touchend', this.onClickThrough);\n }\n if (this.contentPlayer) {\n this.contentPlayer.removeEventListener('error', this.onPlaybackError);\n }\n};\n\nVAST_PLAYER.destroy = function () {\n console.log(`${FW.consolePrepend} start destroying vast player`, FW.consoleStyle, '');\n\n // destroy icons if any \n if (this.iconsData.length > 0) {\n ICONS.destroy.call(this);\n }\n if (this.isVPAID) {\n VPAID.destroy.call(this);\n }\n // unwire events\n _unwireVastPlayerEvents.call(this);\n // remove clickUI on mobile\n if (this.clickUIOnMobile) {\n FW.removeElement(this.clickUIOnMobile);\n }\n if (this.creative.isSkippableAd) {\n FW.removeElement(this.skipButton);\n }\n // hide rmp-ad-container\n FW.hide(this.adContainer);\n // unwire anti-seek logic (iOS)\n clearInterval(this.antiSeekLogicInterval);\n // reset creativeLoadTimeout\n clearTimeout(this.creativeLoadTimeoutCallback);\n if (this.useContentPlayerForAds) {\n if (!this.params.outstream) {\n if (this.nonLinearContainer) {\n FW.removeElement(this.nonLinearContainer);\n } else {\n // when content is restored we need to seek to previously known currentTime\n // this must happen on playing event\n // the below is some hack I come up with because Safari is confused with \n // what it is asked to do when post roll come into play\n if (this.currentContentCurrentTime > 4000) {\n this.needsSeekAdjust = true;\n if (this.contentPlayerCompleted) {\n this.needsSeekAdjust = false;\n }\n if (!this.seekAdjustAttached) {\n this.seekAdjustAttached = true;\n this.contentPlayer.addEventListener('playing', () => {\n if (this.needsSeekAdjust) {\n this.needsSeekAdjust = false;\n CONTENT_PLAYER.seekTo.call(this, this.currentContentCurrentTime);\n }\n });\n }\n }\n\n console.log(\n `${FW.consolePrepend} recovering content ${this.currentContentSrc} at time ${this.currentContentCurrentTime}`,\n FW.consoleStyle,\n ''\n );\n\n this.contentPlayer.src = this.currentContentSrc;\n }\n } else {\n // specific handling for outstream ad === flush buffer and do not attempt to resume content\n try {\n if (this.contentPlayer) {\n this.contentPlayer.pause();\n // empty buffer\n this.contentPlayer.removeAttribute('src');\n this.contentPlayer.load();\n\n console.log(`${FW.consolePrepend} flushing contentPlayer buffer after outstream ad`, FW.consoleStyle, '');\n }\n } catch (error) {\n console.warn(error);\n }\n }\n } else {\n // flush vastPlayer\n try {\n if (this.vastPlayer) {\n this.vastPlayer.pause();\n if (this.readingHlsJS) {\n this.readingHlsJS = false;\n this.hlsJS[this.hlsJSIndex].destroy();\n this.hlsJSIndex++;\n } else {\n // empty buffer\n this.vastPlayer.removeAttribute('src');\n this.vastPlayer.load();\n }\n FW.hide(this.vastPlayer);\n\n console.log(`${FW.consolePrepend} flushing vastPlayer buffer after ad`, FW.consoleStyle, '');\n }\n if (this.nonLinearContainer) {\n FW.removeElement(this.nonLinearContainer);\n }\n } catch (error) {\n console.warn(error);\n }\n }\n Utils.resetVariablesForNewLoadAds.call(this);\n Utils.createApiEvent.call(this, 'addestroyed');\n};\n\nVAST_PLAYER.init = function () {\n this.adContainer = document.createElement('div');\n this.adContainer.className = 'rmp-ad-container';\n this.contentWrapper.appendChild(this.adContainer);\n FW.hide(this.adContainer);\n if (!this.useContentPlayerForAds) {\n this.vastPlayer = document.createElement('video');\n FW.logVideoEvents(this.vastPlayer, 'vast');\n // disable casting of video ads for Android\n if (ENV.isAndroid[0] && typeof this.vastPlayer.disableRemotePlayback !== 'undefined') {\n this.vastPlayer.disableRemotePlayback = true;\n }\n this.vastPlayer.className = 'rmp-ad-vast-video-player';\n if (this.params.showControlsForVastPlayer) {\n this.vastPlayer.controls = true;\n } else {\n this.vastPlayer.controls = false;\n }\n\n // this.contentPlayer.muted may not be set because of a bug in some version of Chromium\n if (this.contentPlayer.hasAttribute('muted')) {\n this.contentPlayer.muted = true;\n }\n if (this.contentPlayer.muted) {\n this.vastPlayer.muted = true;\n }\n // black poster based 64 png\n this.vastPlayer.poster = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNk+A8AAQUBAScY42YAAAAASUVORK5CYII=';\n // note to myself: we use setAttribute for non-standard attribute (instead of . notation)\n this.vastPlayer.setAttribute('x-webkit-airplay', 'allow');\n if (typeof this.contentPlayer.playsInline === 'boolean' && this.contentPlayer.playsInline) {\n this.vastPlayer.playsInline = true;\n }\n this.vastPlayer.defaultPlaybackRate = 1;\n // append to rmp-ad-container\n FW.hide(this.vastPlayer);\n this.adContainer.appendChild(this.vastPlayer);\n } else {\n this.vastPlayer = this.contentPlayer;\n }\n // we track ended state for content player\n this.contentPlayer.addEventListener('ended', () => {\n if (this.adOnStage) {\n return;\n }\n this.contentPlayerCompleted = true;\n });\n // we need to preload as much creative data as possible\n // also on macOS and iOS Safari we need to force preload to avoid \n // playback issues\n this.vastPlayer.preload = 'auto';\n // we need to init the vast player video tag\n // according to https://developers.google.com/interactive-media-ads/docs/sdks/html5/mobile_video\n // to initialize the content element, a call to the load() method is sufficient.\n if (ENV.isMobile) {\n // on Android both this.contentPlayer (to resume content)\n // and this.vastPlayer (to start ads) needs to be init\n // on iOS only init this.vastPlayer (as same as this.contentPlayer)\n if (!this.useContentPlayerForAds) {\n this.contentPlayer.load();\n }\n this.vastPlayer.load();\n } else {\n // due to autoplay being blocked on macOS Safari 11+\n // we also need to init player on this browser\n // this also work on previous version of Safari\n if (this.useContentPlayerForAds) {\n this.vastPlayer.load();\n }\n }\n this.rmpVastInitialized = true;\n};\n\nVAST_PLAYER.append = function (url, type) {\n // in case loadAds is called several times - rmpVastInitialized is already true\n // but we still need to locate the vastPlayer\n if (!this.vastPlayer) {\n if (this.useContentPlayerForAds) {\n this.vastPlayer = this.contentPlayer;\n } else {\n // we use existing rmp-ad-vast-video-player as it is already \n // available and initialized (no need for user interaction)\n let existingVastPlayer = null;\n if (this.adContainer) {\n existingVastPlayer = this.adContainer.querySelector('.rmp-ad-vast-video-player');\n }\n if (existingVastPlayer === null) {\n Utils.processVastErrors.call(this, 900, true);\n return;\n }\n this.vastPlayer = existingVastPlayer;\n }\n }\n CONTENT_PLAYER.pause.call(this);\n if (!this.creative.isLinear) {\n // we do not display non-linear ads with outstream ad \n // they won't fit the format\n if (this.params.outstream) {\n\n console.log(\n `${FW.consolePrepend} non-linear creative detected for outstream ad mode - discarding creative`,\n FW.consoleStyle,\n ''\n );\n\n Utils.processVastErrors.call(this, 201, true);\n return;\n } else {\n NON_LINEAR.update.call(this);\n }\n } else {\n if (url && type) {\n LINEAR.update.call(this, url, type);\n }\n }\n // wire tracking events\n TRACKING_EVENTS.wire.call(this);\n\n // append icons - only where vast player is different from \n // content player\n if (!this.useContentPlayerForAds && this.iconsData.length > 0) {\n ICONS.append.call(this);\n }\n};\n\nVAST_PLAYER.setVolume = function (level) {\n if (this.vastPlayer) {\n this.vastPlayer.volume = level;\n }\n};\n\nVAST_PLAYER.getVolume = function () {\n if (this.vastPlayer) {\n return this.vastPlayer.volume;\n }\n return -1;\n};\n\nVAST_PLAYER.setMute = function (muted) {\n if (this.vastPlayer) {\n if (muted && !this.vastPlayer.muted) {\n this.vastPlayer.muted = true;\n } else if (!muted && this.vastPlayer.muted) {\n this.vastPlayer.muted = false;\n }\n }\n};\n\nVAST_PLAYER.getMute = function () {\n if (this.vastPlayer) {\n return this.vastPlayer.muted;\n }\n return false;\n};\n\nVAST_PLAYER.play = function (firstVastPlayerPlayRequest) {\n if (this.vastPlayer && this.vastPlayer.paused) {\n Utils.playPromise.call(this, 'vast', firstVastPlayerPlayRequest);\n }\n};\n\nVAST_PLAYER.pause = function () {\n if (this.vastPlayer && !this.vastPlayer.paused) {\n this.vastPlayer.pause();\n }\n};\n\nVAST_PLAYER.getDuration = function () {\n if (this.vastPlayer) {\n const duration = this.vastPlayer.duration;\n if (FW.isNumber(duration)) {\n return Math.round(duration * 1000);\n }\n }\n return -1;\n};\n\nVAST_PLAYER.getCurrentTime = function () {\n if (this.vastPlayer) {\n const currentTime = this.vastPlayer.currentTime;\n if (FW.isNumber(currentTime)) {\n return Math.round(currentTime * 1000);\n }\n }\n return -1;\n};\n\nVAST_PLAYER.resumeContent = function () {\n\n console.log(`${FW.consolePrepend} VAST_PLAYER.resumeContent requested`, FW.consoleStyle, '');\n\n VAST_PLAYER.destroy.call(this);\n this.readingHlsJS = false;\n // if this.contentPlayerCompleted = true - we are in a post-roll situation\n // in that case we must not resume content once the post-roll has completed\n // you can use setContentPlayerCompleted/getContentPlayerCompleted to support \n // custom use-cases when dynamically changing source for content\n // no need to resume content for outstream ads\n if (!this.contentPlayerCompleted && !this.params.outstream) {\n console.log(\n `${FW.consolePrepend} CONTENT_PLAYER.play requested after VAST_PLAYER.resumeContent`,\n FW.consoleStyle,\n ''\n );\n CONTENT_PLAYER.play.call(this);\n }\n this.contentPlayerCompleted = false;\n};\n\nexport default VAST_PLAYER;\n","import FW from './fw';\nimport ENV from './env';\nimport VAST_PLAYER from '../players/vast-player';\nimport TRACKING_EVENTS from '../tracking/tracking-events';\n\n// Indicates that the error was encountered when the ad was being loaded. \n// Possible causes: there was no response from the ad server, malformed ad response was returned ...\n// 300, 301, 302, 303, 304 Wrapper errors are managed in ast-client-js\nconst LOAD_ERROR_LIST = [\n 303,\n 900,\n 1001\n];\n\n// Indicates that the error was encountered after the ad loaded, during ad play. \n// Possible causes: ad assets could not be loaded, etc.\nconst PLAY_ERROR_LIST = [\n 201, 204, 205,\n 400, 401, 402, 403,\n 501, 502, 503,\n 603,\n 901,\n 1002\n];\n\nconst VAST_ERRORS_LIST = [{\n code: 201,\n description: 'Video player expecting different linearity.'\n}, {\n code: 204,\n description: 'Ad category was required but not provided.'\n}, {\n code: 205,\n description: 'Inline Category violates Wrapper BlockedAdCategories.'\n}, {\n code: 303,\n description: 'No VAST response after one or more Wrappers.'\n}, {\n code: 400,\n description: 'General Linear error. Video player is unable to display the Linear Ad.'\n}, {\n code: 401,\n description: 'File not found. Unable to find Linear/MediaFile from URI.'\n}, {\n code: 402,\n description: 'Timeout of MediaFile URI.'\n}, {\n code: 403,\n description: 'Couldn\\'t find MediaFile that is supported by this video player, based on the attributes of the MediaFile element.'\n}, {\n code: 501,\n description: 'Unable to display NonLinear Ad because creative dimensions do not align with creative display area (i.e. creative dimension too large).'\n}, {\n code: 502,\n description: 'Unable to fetch NonLinearAds/NonLinear resource.'\n}, {\n code: 503,\n description: 'Couldn\\'t find NonLinear resource with supported type.'\n}, {\n code: 603,\n description: 'Unable to fetch CompanionAds/Companion resource.'\n}, {\n code: 900,\n description: 'Undefined Error.'\n}, {\n code: 901,\n description: 'General VPAID error.'\n}, {\n code: 1001,\n description: 'Invalid input for loadAds method'\n}, {\n code: 1002,\n description: 'Required DOMParser API is not available'\n}, {\n code: 1100,\n description: 'SIMID error: UNSPECIFIED_CREATIVE_ERROR'\n}, {\n code: 1101,\n description: 'SIMID error: CANNOT_LOAD_RESOURCE'\n}, {\n code: 1102,\n description: 'SIMID error: PLAYBACK_AREA_UNUSABLE'\n}, {\n code: 1103,\n description: 'SIMID error: INCORRECT_VERSION'\n}, {\n code: 1104,\n description: 'SIMID error: TECHNICAL_ERROR'\n}, {\n code: 1105,\n description: 'SIMID error: EXPAND_NOT_POSSIBLE'\n}, {\n code: 1106,\n description: 'SIMID error: PAUSE_NOT_HONORED'\n}, {\n code: 1107,\n description: 'SIMID error: PLAYMODE_NOT_ADEQUATE'\n}, {\n code: 1108,\n description: 'SIMID error: CREATIVE_INTERNAL_ERROR'\n}, {\n code: 1109,\n description: 'SIMID error: DEVICE_NOT_SUPPORTED'\n}, {\n code: 1110,\n description: 'SIMID error: MESSAGES_NOT_FOLLOWING_SPEC'\n}, {\n code: 1111,\n description: 'SIMID error: PLAYER_RESPONSE_TIMEOUT'\n}, {\n code: 1200,\n description: 'SIMID error: UNSPECIFIED_PLAYER_ERROR'\n}, {\n code: 1201,\n description: 'SIMID error: WRONG_VERSION'\n}, {\n code: 1202,\n description: 'SIMID error: UNSUPPORTED_TIME'\n}, {\n code: 1203,\n description: 'SIMID error: UNSUPPORTED_FUNCTIONALITY_REQUEST'\n}, {\n code: 1204,\n description: 'SIMID error: UNSUPPORTED_ACTIONS'\n}, {\n code: 1205,\n description: 'SIMID error: POSTMESSAGE_CHANNEL_OVERLOADED'\n}, {\n code: 1206,\n description: 'SIMID error: VIDEO_COULD_NOT_LOAD'\n}, {\n code: 1207,\n description: 'SIMID error: VIDEO_TIME_OUT'\n}, {\n code: 1208,\n description: 'SIMID error: RESPONSE_TIMEOUT'\n}, {\n code: 1209,\n description: 'SIMID error: MEDIA_NOT_SUPPORTED'\n}, {\n code: 1210,\n description: 'SIMID error: SPEC_NOT_FOLLOWED_ON_INIT'\n}, {\n code: 1211,\n description: 'SIMID error: SPEC_NOT_FOLLOWED_ON_MESSAGES'\n}];\n\nexport default class Utils {\n\n static filterParams(inputParams) {\n const defaultParams = {\n ajaxTimeout: 5000,\n creativeLoadTimeout: 8000,\n ajaxWithCredentials: false,\n maxNumRedirects: 4,\n labels: {\n skipMessage: 'Skip ad',\n closeAd: 'Close ad',\n textForClickUIOnMobile: 'Learn more'\n },\n outstream: false,\n showControlsForVastPlayer: false,\n vastXmlInput: false,\n enableVpaid: true,\n enableSimid: false,\n vpaidSettings: {\n width: 640,\n height: 360,\n viewMode: 'normal',\n desiredBitrate: 500\n },\n useHlsJS: false,\n debugHlsJS: false,\n forceUseContentPlayerForAds: false,\n // OM SDK params\n omidSupport: false,\n omidAllowedVendors: [],\n omidUnderEvaluation: false,\n omidRunValidationScript: false,\n omidAutoplay: false,\n partnerName: 'rmp-vast',\n partnerVersion: RMP_VAST_VERSION\n };\n this.params = defaultParams;\n if (inputParams && typeof inputParams === 'object') {\n const keys = Object.keys(inputParams);\n keys.forEach(key => {\n if (typeof inputParams[key] === typeof this.params[key]) {\n if ((FW.isNumber(inputParams[key]) && inputParams[key] > 0) || typeof inputParams[key] !== 'number') {\n if (key === 'vpaidSettings') {\n if (FW.isNumber(inputParams.vpaidSettings.width) && inputParams.vpaidSettings.width > 0) {\n this.params.vpaidSettings.width = inputParams.vpaidSettings.width;\n }\n if (FW.isNumber(inputParams.vpaidSettings.height) && inputParams.vpaidSettings.height > 0) {\n this.params.vpaidSettings.height = inputParams.vpaidSettings.height;\n }\n if (typeof inputParams.vpaidSettings.viewMode === 'string' && inputParams.vpaidSettings.viewMode === 'fullscreen') {\n this.params.vpaidSettings.viewMode = inputParams.vpaidSettings.viewMode;\n }\n if (FW.isNumber(inputParams.vpaidSettings.desiredBitrate) && inputParams.vpaidSettings.desiredBitrate > 0) {\n this.params.vpaidSettings.desiredBitrate = inputParams.vpaidSettings.desiredBitrate;\n }\n } else {\n this.params[key] = inputParams[key];\n }\n }\n }\n });\n }\n }\n\n static createApiEvent(event) {\n // adloaded, addurationchange, adclick, adimpression, adstarted, \n // adtagloaded, adtagstartloading, adpaused, adresumed \n // advolumemuted, advolumechanged, adcomplete, adskipped, \n // adskippablestatechanged, adclosed\n // adfirstquartile, admidpoint, adthirdquartile, aderror, \n // addestroyed\n // adlinearchange, adexpandedchange, adremainingtimechange \n // adinteraction, adsizechange\n if (Array.isArray(event)) {\n event.forEach(currentEvent => {\n if (currentEvent) {\n console.log(currentEvent);\n this.dispatch(currentEvent);\n }\n });\n } else if (event) {\n console.log(event);\n this.dispatch(event);\n }\n }\n\n static playPromise(whichPlayer, firstPlayerPlayRequest) {\n let targetPlayer;\n switch (whichPlayer) {\n case 'content':\n targetPlayer = this.contentPlayer;\n break;\n case 'vast':\n targetPlayer = this.vastPlayer;\n break;\n default:\n break;\n }\n if (targetPlayer) {\n const playPromise = targetPlayer.play();\n // most modern browsers support play as a Promise\n // this lets us handle autoplay rejection \n // https://developers.google.com/web/updates/2016/03/play-returns-promise\n if (playPromise !== undefined) {\n playPromise.then(() => {\n\n console.log(\n `${FW.consolePrepend} playPromise on ${whichPlayer} player has succeeded`,\n FW.consoleStyle,\n ''\n );\n\n if (firstPlayerPlayRequest) {\n Utils.createApiEvent.call(this, 'adinitialplayrequestsucceeded');\n }\n }).catch(error => {\n console.warn(error);\n\n if (firstPlayerPlayRequest && whichPlayer === 'vast' && this.creative.isLinear) {\n console.log(\n `${FW.consolePrepend} initial play promise on VAST player has been rejected`,\n FW.consoleStyle,\n ''\n );\n\n Utils.processVastErrors.call(this, 400, true);\n Utils.createApiEvent.call(this, 'adinitialplayrequestfailed');\n } else if (firstPlayerPlayRequest && whichPlayer === 'content' && !this.creative.isLinear) {\n console.log(\n `${FW.consolePrepend} initial play promise on content player has been rejected`,\n FW.consoleStyle,\n ''\n );\n\n Utils.createApiEvent.call(this, 'adinitialplayrequestfailed');\n } else {\n console.log(\n `${FW.consolePrepend} playPromise on ${whichPlayer} player has been rejected`,\n FW.consoleStyle,\n ''\n );\n }\n });\n }\n }\n }\n\n static makeButtonAccessible(element, ariaLabel) {\n // make skip button accessible\n element.tabIndex = 0;\n element.setAttribute('role', 'button');\n element.addEventListener('keyup', (event) => {\n const code = event.which;\n // 13 = Return, 32 = Space\n if ((code === 13) || (code === 32)) {\n event.stopPropagation();\n event.preventDefault();\n FW.createSyntheticEvent('click', element);\n }\n });\n if (ariaLabel) {\n element.setAttribute('aria-label', ariaLabel);\n }\n }\n\n static initInstanceVariables() {\n this.adContainer = null;\n this.rmpVastInitialized = false;\n this.useContentPlayerForAds = false;\n this.contentPlayerCompleted = false;\n this.currentContentSrc = '';\n this.currentContentCurrentTime = -1;\n this.needsSeekAdjust = false;\n this.seekAdjustAttached = false;\n this.firstVastPlayerPlayRequest = true;\n this.firstContentPlayerPlayRequest = true;\n this.params = {};\n this.events = {};\n this.onFullscreenchange = FW.nullFn;\n this.contentWrapper = null;\n this.contentPlayer = null;\n this.id = null;\n this.container = null;\n this.isInFullscreen = false;\n // adpod\n this.adPod = false;\n this.adPodLength = 0;\n this.adSequence = 0;\n // on iOS we use content player to play ads\n // to avoid issues related to fullscreen management and autoplay\n // as fullscreen on iOS is handled by the default OS player\n if (ENV.isIos[0]) {\n this.useContentPlayerForAds = true;\n console.log(`${FW.consolePrepend} vast player will be content player`, FW.consoleStyle, '');\n }\n }\n\n static resetVariablesForNewLoadAds() {\n this.off('adstarted', this.attachViewableObserver);\n // init internal methods \n this.onLoadedmetadataPlay = FW.nullFn;\n this.onPlaybackError = FW.nullFn;\n // init internal tracking events methods\n this.onPause = FW.nullFn;\n this.onPlay = FW.nullFn;\n this.onPlaying = FW.nullFn;\n this.onEnded = FW.nullFn;\n this.onVolumeChange = FW.nullFn;\n this.onTimeupdate = FW.nullFn;\n this.onEventPingTracking = FW.nullFn;\n this.onClickThrough = FW.nullFn;\n this.onPlayingAppendIcons = FW.nullFn;\n this.onDurationChange = FW.nullFn;\n this.onTimeupdateCheckSkip = FW.nullFn;\n this.onClickSkip = FW.nullFn;\n this.onNonLinearLoadSuccess = FW.nullFn;\n this.onNonLinearLoadError = FW.nullFn;\n this.onNonLinearClickThrough = FW.nullFn;\n this.onContextMenu = FW.nullFn;\n // init internal variables\n this.adTagUrl = '';\n this.vastPlayer = null;\n this.vpaidSlot = null;\n this.trackingTags = [];\n this.vastErrorTags = [];\n this.adErrorTags = [];\n this.vastPlayerMuted = false;\n this.vastPlayerDuration = -1;\n this.vastPlayerCurrentTime = -1;\n this.firstQuartileEventFired = false;\n this.midpointEventFired = false;\n this.thirdQuartileEventFired = false;\n this.vastPlayerPaused = false;\n this.vastErrorCode = -1;\n this.adErrorType = '';\n this.vastErrorMessage = '';\n this.adOnStage = false;\n // hls.js\n this.hlsJS = [];\n this.hlsJSIndex = 0;\n this.readingHlsJS = false;\n // VAST ICONS\n this.iconsData = [];\n // players\n this.clickUIOnMobile = null;\n this.customPlaybackCurrentTime = 0;\n this.antiSeekLogicInterval = null;\n this.creativeLoadTimeoutCallback = null;\n // VAST 4\n this.ad = {};\n this.creative = {};\n this.attachViewableObserver = null;\n this.viewableObserver = null;\n this.viewablePreviousRatio = 0.5;\n this.regulationsInfo = {};\n this.requireCategory = false;\n // skip\n this.progressEvents = [];\n this.skipButton = null;\n this.skipWaiting = null;\n this.skipMessage = null;\n this.skipIcon = null;\n this.skippableAdCanBeSkipped = false;\n // non linear\n this.nonLinearContainer = null;\n this.nonLinearATag = null;\n this.nonLinearInnerElement = null;\n this.onClickCloseNonLinear = FW.nullFn;\n this.nonLinearMinSuggestedDuration = 0;\n // companion ads\n this.validCompanionAds = [];\n this.companionAdsRequiredAttribute = '';\n this.companionAdsList = [];\n // VPAID\n this.isVPAID = false;\n this.vpaidCreative = null;\n this.vpaidScript = null;\n this.vpaidIframe = null;\n this.vpaidLoadTimeout = null;\n this.initAdTimeout = null;\n this.startAdTimeout = null;\n this.vpaidAvailableInterval = null;\n this.adStoppedTimeout = null;\n this.adSkippedTimeout = null;\n this.adParametersData = '';\n this.vpaidCurrentVolume = 1;\n this.vpaidPaused = true;\n this.vpaidCreativeUrl = '';\n this.vpaidAdRemainingTimeInterval = null;\n this.vpaidRemainingTime = -1;\n this.vpaidVersion = -1;\n this.vpaid1AdDuration = -1;\n this.initialWidth = 640;\n this.initialHeight = 360;\n this.initialViewMode = 'normal';\n this.desiredBitrate = 500;\n this.vpaidAdLoaded = false;\n this.vpaidAdStarted = false;\n this.vpaidCallbacks = {};\n // SIMID\n this.simidPlayer = null;\n }\n\n // attach fullscreen states\n // this assumes we have a polyfill for fullscreenchange event \n // see app/js/app.js\n // we need this to handle VAST fullscreen events\n static _onFullscreenchange(event) {\n if (event && event.type) {\n console.log(`${FW.consolePrepend} event is ${event.type}`, FW.consoleStyle, '');\n\n if (event.type === 'fullscreenchange') {\n if (this.isInFullscreen) {\n this.isInFullscreen = false;\n if (this.adOnStage && this.creative.isLinear) {\n TRACKING_EVENTS.dispatch.call(this, ['exitFullscreen', 'playerCollapse']);\n }\n } else {\n this.isInFullscreen = true;\n if (this.adOnStage && this.creative.isLinear) {\n TRACKING_EVENTS.dispatch.call(this, ['fullscreen', 'playerExpand']);\n }\n }\n } else if (event.type === 'webkitbeginfullscreen') {\n // iOS uses webkitbeginfullscreen\n if (this.adOnStage && this.creative.isLinear) {\n TRACKING_EVENTS.dispatch.call(this, ['fullscreen', 'playerExpand']);\n }\n this.isInFullscreen = true;\n } else if (event.type === 'webkitendfullscreen') {\n // iOS uses webkitendfullscreen\n if (this.adOnStage && this.creative.isLinear) {\n TRACKING_EVENTS.dispatch.call(this, ['exitFullscreen', 'playerCollapse']);\n }\n this.isInFullscreen = false;\n }\n }\n }\n\n static handleFullscreen() {\n // if we have native fullscreen support we handle fullscreen events\n if (ENV.hasNativeFullscreenSupport) {\n this.onFullscreenchange = Utils._onFullscreenchange.bind(this);\n // for our beloved iOS \n if (ENV.isIos[0]) {\n this.contentPlayer.addEventListener('webkitbeginfullscreen', this.onFullscreenchange);\n this.contentPlayer.addEventListener('webkitendfullscreen', this.onFullscreenchange);\n } else {\n document.addEventListener('fullscreenchange', this.onFullscreenchange);\n }\n }\n }\n\n static _updateVastError(errorCode) {\n const error = VAST_ERRORS_LIST.filter((value) => {\n return value.code === errorCode;\n });\n if (error.length > 0) {\n this.vastErrorCode = error[0].code;\n this.vastErrorMessage = error[0].description;\n } else {\n this.vastErrorCode = -1;\n this.vastErrorMessage = 'Error getting VAST error';\n }\n if (this.vastErrorCode > -1) {\n if (LOAD_ERROR_LIST.indexOf(this.vastErrorCode) > -1) {\n this.adErrorType = 'adLoadError';\n } else if (PLAY_ERROR_LIST.indexOf(this.vastErrorCode) > -1) {\n this.adErrorType = 'adPlayError';\n }\n }\n\n console.log(`${FW.consolePrepend} VAST error code is ${this.vastErrorCode}`, FW.consoleStyle, '');\n console.log(`${FW.consolePrepend} VAST error message is ${this.vastErrorMessage}`, FW.consoleStyle, '');\n console.log(`${FW.consolePrepend} Ad error type is ${this.adErrorType}`, FW.consoleStyle, '');\n }\n\n static processVastErrors(errorCode, ping) {\n if (ping) {\n TRACKING_EVENTS.error.call(this, errorCode);\n }\n Utils._updateVastError.call(this, errorCode);\n Utils.createApiEvent.call(this, 'aderror');\n VAST_PLAYER.resumeContent.call(this);\n }\n}\n","import FW from '../framework/fw';\nimport TRACKING_EVENTS from '../tracking/tracking-events';\n\nconst VIDEO_EVENT_TYPES = [\n 'error',\n 'loadeddata',\n 'pause',\n 'play',\n 'timeupdate',\n 'volumechange',\n 'click',\n];\n\nconst CONTENT_URL = document.location.href;\n// we support Access Modes Creative Access a.k.a full (we do not support Domain Access for now)\nconst ACCESS_MODE = 'full';\nconst OMSDK_SERVICE_WINDOW = window.top;\n\nclass OmSdkManager {\n\n constructor(adVerifications, contentPlayer, vastPlayer, params, isSkippableAd, skipTimeOffset) {\n this.adEvents = null;\n this.mediaEvents = null;\n this.adSession = null;\n this.VastProperties = null;\n this.lastVideoTime = -1;\n this.contentPlayer = contentPlayer;\n this.vastPlayer = vastPlayer;\n this.adVerifications = adVerifications;\n this.params = params;\n this.isSkippableAd = isSkippableAd;\n this.skipTimeOffset = skipTimeOffset;\n this.onFullscreenChange = null;\n\n console.log(\n `${FW.consolePrepend}${FW.consolePrepend2} create new class Instance`,\n FW.consoleStyle,\n FW.consoleStyle2,\n ''\n );\n }\n\n init() {\n // handle VAST player events\n VIDEO_EVENT_TYPES.forEach((eventType) => {\n this.vastPlayer.addEventListener(\n eventType,\n (event) => this._vastPlayerDidDispatchEvent(event)\n );\n });\n // handle fullscreenchange \n this.onFullscreenChange = this._onFullscreenChange.bind(this);\n document.addEventListener('fullscreenchange', this.onFullscreenChange);\n // Service Script To incorporate omweb-v1.js, use a + diff --git a/test/spec/simidSpec/simid-survey.html b/test/spec/simidSpec/simid-survey.html new file mode 100644 index 0000000..8527d1d --- /dev/null +++ b/test/spec/simidSpec/simid-survey.html @@ -0,0 +1,36 @@ + + + + + + + simid-survey + + + + + + + + + + + + + + + + +
+
+ +
+
+
+

To pass test answer the survey questions.

+ + + + + \ No newline at end of file diff --git a/test/spec/simidSpec/spec/simid-survey.js b/test/spec/simidSpec/spec/simid-survey.js new file mode 100644 index 0000000..9ef9204 --- /dev/null +++ b/test/spec/simidSpec/spec/simid-survey.js @@ -0,0 +1,78 @@ +const ADTAG = 'https://www.radiantmediaplayer.com/vast/tags/simid-survey.xml'; + +// official test tags from https://github.com/InteractiveAdvertisingBureau/SIMID +//ADTAG = 'https://www.radiantmediaplayer.com/vast/tags/simid.xml'; +//ADTAG = 'https://www.radiantmediaplayer.com/vast/tags/simid-error-interactive-creative-file.xml'; +//ADTAG = 'https://www.radiantmediaplayer.com/vast/tags/simid-survey.xml'; +//ADTAG = 'https://www.radiantmediaplayer.com/vast/tags/simid-selector.xml'; +//ADTAG = 'https://www.radiantmediaplayer.com/vast/tags/simid-error-interactive-media-file.xml'; +//ADTAG = 'https://www.radiantmediaplayer.com/vast/tags/simid-extender.xml'; +//ADTAG = 'https://www.radiantmediaplayer.com/vast/tags/simid-map.xml'; +//ADTAG = 'https://www.radiantmediaplayer.com/vast/tags/simid-non-linear.xml'; + +describe('Test for simid-survey', function () { + + const id = 'rmp'; + const container = document.getElementById(id); + const video = document.querySelector('.rmp-video'); + const params = { + enableSimid: true + }; + const rmpVast = new RmpVast(id, params); + const env = rmpVast.getEnvironment(); + video.muted = true; + if (env.isAndroid[0] || env.isIos[0]) { + container.style.width = '320px'; + container.style.height = '180px'; + } + const title = document.getElementsByTagName('title')[0]; + + it('should load and play simid-survey', function (done) { + let validSteps = 0; + + const _incrementAndLog = function (event) { + validSteps++; + if (event && event.type) { + console.log(event.type); + } + }; + + rmpVast.on('adloaded', function (e) { + _incrementAndLog(e); + }); + rmpVast.on('addurationchange', function (e) { + _incrementAndLog(e); + }); + rmpVast.on('adstarted', function (e) { + if (env.isAndroid[0] || env.isIos[0]) { + rmpVast.resizeAd(320, 180, 'normal'); + } + _incrementAndLog(e); + }); + rmpVast.on('adtagstartloading', function (e) { + _incrementAndLog(e); + }); + rmpVast.on('adtagloaded', function (e) { + _incrementAndLog(e); + }); + rmpVast.on('addestroyed', function (e) { + _incrementAndLog(e); + let timeupdateCount = 0; + video.addEventListener('timeupdate', function (e) { + timeupdateCount++; + if (timeupdateCount === 5) { + _incrementAndLog(e); + if (validSteps === 7) { + expect(validSteps).toBe(7); + title.textContent = 'Test completed'; + done(); + } + } + }); + }); + + rmpVast.loadAds(ADTAG); + }); + + +}); diff --git a/types/assets/@dailymotion/vast-client/src/companion_ad.d.ts b/types/assets/@dailymotion/vast-client/src/companion_ad.d.ts index 3bd10d1..f7f5228 100644 --- a/types/assets/@dailymotion/vast-client/src/companion_ad.d.ts +++ b/types/assets/@dailymotion/vast-client/src/companion_ad.d.ts @@ -8,14 +8,13 @@ export function createCompanionAd(creativeAttributes?: {}): { expandedWidth: any; expandedHeight: any; apiFramework: any; - adSlotID: any; + adSlotId: any; pxratio: any; renderingMode: any; staticResources: any[]; htmlResources: any[]; iframeResources: any[]; adParameters: any; - xmlEncoded: any; altText: any; companionClickThroughURLTemplate: any; companionClickTrackingURLTemplates: any[]; diff --git a/types/assets/@dailymotion/vast-client/src/companion_ad.d.ts.map b/types/assets/@dailymotion/vast-client/src/companion_ad.d.ts.map index 06ee7ad..b445b3d 100644 --- a/types/assets/@dailymotion/vast-client/src/companion_ad.d.ts.map +++ b/types/assets/@dailymotion/vast-client/src/companion_ad.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"companion_ad.d.ts","sourceRoot":"","sources":["../../../../../src/assets/@dailymotion/vast-client/src/companion_ad.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;EAwBC;AAED,gDAEC"} \ No newline at end of file +{"version":3,"file":"companion_ad.d.ts","sourceRoot":"","sources":["../../../../../src/assets/@dailymotion/vast-client/src/companion_ad.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;EAuBC;AAED,gDAEC"} \ No newline at end of file diff --git a/types/assets/@dailymotion/vast-client/src/icon.d.ts b/types/assets/@dailymotion/vast-client/src/icon.d.ts index f059675..f54154b 100644 --- a/types/assets/@dailymotion/vast-client/src/icon.d.ts +++ b/types/assets/@dailymotion/vast-client/src/icon.d.ts @@ -15,5 +15,6 @@ export function createIcon(): { iconClickThroughURLTemplate: any; iconClickTrackingURLTemplates: any[]; iconViewTrackingURLTemplate: any; + iconClickFallbackImages: any[]; }; //# sourceMappingURL=icon.d.ts.map \ No newline at end of file diff --git a/types/assets/@dailymotion/vast-client/src/icon.d.ts.map b/types/assets/@dailymotion/vast-client/src/icon.d.ts.map index cd1cfd6..6725ce4 100644 --- a/types/assets/@dailymotion/vast-client/src/icon.d.ts.map +++ b/types/assets/@dailymotion/vast-client/src/icon.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../../../../src/assets/@dailymotion/vast-client/src/icon.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;EAmBC"} \ No newline at end of file +{"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../../../../src/assets/@dailymotion/vast-client/src/icon.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;EAoBC"} \ No newline at end of file diff --git a/types/assets/@dailymotion/vast-client/src/parser/ad_parser.d.ts.map b/types/assets/@dailymotion/vast-client/src/parser/ad_parser.d.ts.map index 4e467cc..eb84022 100644 --- a/types/assets/@dailymotion/vast-client/src/parser/ad_parser.d.ts.map +++ b/types/assets/@dailymotion/vast-client/src/parser/ad_parser.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ad_parser.d.ts","sourceRoot":"","sources":["../../../../../../src/assets/@dailymotion/vast-client/src/parser/ad_parser.js"],"names":[],"mappings":"AAOA;;GAEG;AAEH;;;;;;;GAOG;AACH,+GAFY,MAAO,SAAS,CAmC3B;AAyPD;;;;GAIG;AACH,6DAFY,UAAa,CAiDxB;AAED;;;;GAIG;AACH,gEAHY,MAAM,IAAI,CAAC,GACX,UAAa,CAqBxB;AAED;;;;GAIG;AACH,2EAgCC"} \ No newline at end of file +{"version":3,"file":"ad_parser.d.ts","sourceRoot":"","sources":["../../../../../../src/assets/@dailymotion/vast-client/src/parser/ad_parser.js"],"names":[],"mappings":"AAOA;;GAEG;AAEH;;;;;;;GAOG;AACH,+GAFY,MAAO,SAAS,CAmC3B;AA4PD;;;;GAIG;AACH,6DAFY,UAAa,CAiDxB;AAED;;;;GAIG;AACH,gEAHY,MAAM,IAAI,CAAC,GACX,UAAa,CAqBxB;AAED;;;;GAIG;AACH,2EAkBC"} \ No newline at end of file diff --git a/types/assets/@dailymotion/vast-client/src/parser/creative_linear_parser.d.ts.map b/types/assets/@dailymotion/vast-client/src/parser/creative_linear_parser.d.ts.map index 2341ad2..1cbd6dd 100644 --- a/types/assets/@dailymotion/vast-client/src/parser/creative_linear_parser.d.ts.map +++ b/types/assets/@dailymotion/vast-client/src/parser/creative_linear_parser.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"creative_linear_parser.d.ts","sourceRoot":"","sources":["../../../../../../src/assets/@dailymotion/vast-client/src/parser/creative_linear_parser.js"],"names":[],"mappings":"AAQA;;GAEG;AAEH;;;;;GAKG;AACH,8EAHY,GAAG,OAoLd"} \ No newline at end of file +{"version":3,"file":"creative_linear_parser.d.ts","sourceRoot":"","sources":["../../../../../../src/assets/@dailymotion/vast-client/src/parser/creative_linear_parser.js"],"names":[],"mappings":"AAQA;;GAEG;AAEH;;;;;GAKG;AACH,8EAHY,GAAG,OAuLd"} \ No newline at end of file diff --git a/types/assets/@dailymotion/vast-client/src/parser/creative_non_linear_parser.d.ts.map b/types/assets/@dailymotion/vast-client/src/parser/creative_non_linear_parser.d.ts.map index 4ceecb4..437922c 100644 --- a/types/assets/@dailymotion/vast-client/src/parser/creative_non_linear_parser.d.ts.map +++ b/types/assets/@dailymotion/vast-client/src/parser/creative_non_linear_parser.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"creative_non_linear_parser.d.ts","sourceRoot":"","sources":["../../../../../../src/assets/@dailymotion/vast-client/src/parser/creative_non_linear_parser.js"],"names":[],"mappings":"AAIA;;GAEG;AAEH;;;;;GAKG;AACH,wDAJY,GAAG,sBACH,GAAG,OA4Fd"} \ No newline at end of file +{"version":3,"file":"creative_non_linear_parser.d.ts","sourceRoot":"","sources":["../../../../../../src/assets/@dailymotion/vast-client/src/parser/creative_non_linear_parser.js"],"names":[],"mappings":"AAIA;;GAEG;AAEH;;;;;GAKG;AACH,wDAJY,GAAG,sBACH,GAAG,OA+Fd"} \ No newline at end of file diff --git a/types/assets/@dailymotion/vast-client/src/parser/parser_utils.d.ts b/types/assets/@dailymotion/vast-client/src/parser/parser_utils.d.ts index e6647e0..97e9f3f 100644 --- a/types/assets/@dailymotion/vast-client/src/parser/parser_utils.d.ts +++ b/types/assets/@dailymotion/vast-client/src/parser/parser_utils.d.ts @@ -1,3 +1,9 @@ +/** + * Parses a String duration into a Number. + * @param {String} durationString - The dureation represented as a string. + * @return {Number} + */ +export function parseDuration(durationString: string): number; export namespace parserUtils { export { childByName }; export { childrenByName }; @@ -61,12 +67,6 @@ declare function copyNodeAttribute(attributeName: string, nodeSource: any, nodeD * @returns {Object} */ declare function parseAttributes(element: Element): any; -/** - * Parses a String duration into a Number. - * @param {String} durationString - The dureation represented as a string. - * @return {Number} - */ -declare function parseDuration(durationString: string): number; /** * Splits an Array of ads into an Array of Arrays of ads. * Each subarray contains either one ad or multiple ads (an AdPod) diff --git a/types/assets/@dailymotion/vast-client/src/parser/parser_utils.d.ts.map b/types/assets/@dailymotion/vast-client/src/parser/parser_utils.d.ts.map index 747f10c..2da9822 100644 --- a/types/assets/@dailymotion/vast-client/src/parser/parser_utils.d.ts.map +++ b/types/assets/@dailymotion/vast-client/src/parser/parser_utils.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"parser_utils.d.ts","sourceRoot":"","sources":["../../../../../../src/assets/@dailymotion/vast-client/src/parser/parser_utils.js"],"names":[],"mappings":";;;;;;;;;;;;;AAEA;;GAEG;AAEH;;;;;GAKG;AACH,mCAJY,IAAI,iBAEJ,MAAO,SAAS,CAY3B;AAED;;;;;GAKG;AACH,sCAJY,IAAI,uBAgBf;AAED;;;;;GAKG;AACH,wFAiBC;AAED;;;;GAIG;AACH,8DAEC;AAED;;;;GAIG;AACH,kDAEC;AAED;;;;;GAKG;AACH,uGAKC;AAED;;;;;GAKG;AACH,0CAHW,OAAO,OAUjB;AAED;;;;GAIG;AACH,+DAiCC;AAED;;;;;GAKG;AACH,8CA0BC;AAED;;;;GAIG;AACH,kFAmBC;AAED;;;;;GAKG;AACH,mEAFY,IAAI,CAyHf"} \ No newline at end of file +{"version":3,"file":"parser_utils.d.ts","sourceRoot":"","sources":["../../../../../../src/assets/@dailymotion/vast-client/src/parser/parser_utils.js"],"names":[],"mappings":"AAmHA;;;;GAIG;AACH,8DAiCC;;;;;;;;;;;;;;AAvJD;;GAEG;AAEH;;;;;GAKG;AACH,mCAJY,IAAI,iBAEJ,MAAO,SAAS,CAY3B;AAED;;;;;GAKG;AACH,sCAJY,IAAI,uBAgBf;AAED;;;;;GAKG;AACH,wFAiBC;AAED;;;;GAIG;AACH,8DAEC;AAED;;;;GAIG;AACH,kDAEC;AAED;;;;;GAKG;AACH,uGAKC;AAED;;;;;GAKG;AACH,0CAHW,OAAO,OAUjB;AA0CD;;;;;GAKG;AACH,8CA0BC;AAED;;;;GAIG;AACH,kFAmBC;AAED;;;;;GAKG;AACH,mEAFY,IAAI,CAsIf"} \ No newline at end of file diff --git a/types/assets/@dailymotion/vast-client/src/parser/vast_parser.d.ts b/types/assets/@dailymotion/vast-client/src/parser/vast_parser.d.ts index ade1a76..d219de3 100644 --- a/types/assets/@dailymotion/vast-client/src/parser/vast_parser.d.ts +++ b/types/assets/@dailymotion/vast-client/src/parser/vast_parser.d.ts @@ -6,7 +6,6 @@ */ export class VASTParser extends EventEmitter { remainingAds: any[]; - parentURLs: any[]; errorURLTemplates: any[]; rootErrorURLTemplates: any[]; maxWrapperDepth: any; diff --git a/types/assets/@dailymotion/vast-client/src/parser/vast_parser.d.ts.map b/types/assets/@dailymotion/vast-client/src/parser/vast_parser.d.ts.map index dfd051d..41eaf65 100644 --- a/types/assets/@dailymotion/vast-client/src/parser/vast_parser.d.ts.map +++ b/types/assets/@dailymotion/vast-client/src/parser/vast_parser.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"vast_parser.d.ts","sourceRoot":"","sources":["../../../../../../src/assets/@dailymotion/vast-client/src/parser/vast_parser.js"],"names":[],"mappings":"AAeA;;;;;GAKG;AACH;IAQI,oBAAsB;IACtB,kBAAoB;IACpB,yBAA2B;IAC3B,6BAA+B;IAC/B,qBAA2B;IAC3B,0BAA4B;IAC5B,oBAAyB;IACzB,mBAAwB;IAG1B;;;;OAIG;IACH,wCAFY,IAAI,CAMf;IAED;;;OAGG;IACH,2BAFY,IAAI,CAIf;IAED;;;OAGG;IACH,kCAEC;IAED;;;OAGG;IACH,2BAFY,IAAI,CAIf;IAED;;;;;;;OAOG;IACH,mEAFY,IAAI,CAQf;IAED;;;OAGG;IACH,8BAEC;IAED;;;OAGG;IACH,8BAEC;IAED;;;;;;;;;;OAUG;IACH,mGA8CC;IAED;;;OAGG;IACH,uCAeC;IAJC,gBAAiB;IACjB,gBAAwE;IACxE,iBAAuB;IAIzB;;;;OAIG;IACH,4CAmBC;IAED;;;;;;;;;OASG;IACH,0DAkBC;IAED;;;;;;;;;OASG;IACH,qDAQC;IAED;;;;OAIG;IACH,mCASC;IAED;;;;;;;;;OASG;IACH,uHAkFC;IAED;;;;;;;;;OASG;IACH,kKAyDC;IAED;;;;;;OAMG;IACH,8EA6BC;IAED;;;;;;;OAOG;IACH,kFAwEC;IAED;;;OAGG;IACH,kDA0BC;CACF;6BA/kB4B,uBAAuB"} \ No newline at end of file +{"version":3,"file":"vast_parser.d.ts","sourceRoot":"","sources":["../../../../../../src/assets/@dailymotion/vast-client/src/parser/vast_parser.js"],"names":[],"mappings":"AAeA;;;;;GAKG;AACH;IAQI,oBAAsB;IACtB,yBAA2B;IAC3B,6BAA+B;IAC/B,qBAA2B;IAC3B,0BAA4B;IAC5B,oBAAyB;IACzB,mBAAwB;IAG1B;;;;OAIG;IACH,wCAFY,IAAI,CAMf;IAED;;;OAGG;IACH,2BAFY,IAAI,CAIf;IAED;;;OAGG;IACH,kCAEC;IAED;;;OAGG;IACH,2BAFY,IAAI,CAIf;IAED;;;;;;;OAOG;IACH,mEAFY,IAAI,CAQf;IAED;;;OAGG;IACH,8BAEC;IAED;;;OAGG;IACH,8BAEC;IAED;;;;;;;;;;OAUG;IACH,mGA6CC;IAED;;;OAGG;IACH,uCAcC;IAJC,gBAAiB;IACjB,gBAAwE;IACxE,iBAAuB;IAIzB;;;;OAIG;IACH,4CAkBC;IAED;;;;;;;;;OASG;IACH,0DAkBC;IAED;;;;;;;;;OASG;IACH,qDAQC;IAED;;;;OAIG;IACH,mCASC;IAED;;;;;;;;;OASG;IACH,uHAkFC;IAED;;;;;;;;;OASG;IACH,kKAyDC;IAED;;;;;;OAMG;IACH,8EA4BC;IAED;;;;;;;OAOG;IACH,kFAoEC;IAED;;;OAGG;IACH,kDA0BC;CACF;6BAtkB4B,uBAAuB"} \ No newline at end of file diff --git a/types/assets/@dailymotion/vast-client/src/util/event_emitter.d.ts b/types/assets/@dailymotion/vast-client/src/util/event_emitter.d.ts index 2edb31d..373c1e1 100644 --- a/types/assets/@dailymotion/vast-client/src/util/event_emitter.d.ts +++ b/types/assets/@dailymotion/vast-client/src/util/event_emitter.d.ts @@ -29,7 +29,7 @@ export class EventEmitter { * Synchronously calls each of the handlers registered for the named event, * in the order they were registered, passing the supplied arguments to each. * @param {String} event - * @param {any[]} args + * @param {...any} args list of arguments that will be used by the event handler * @returns {Boolean} true if the event had handlers, false otherwise. */ emit(event: string, ...args: any[]): boolean; diff --git a/types/assets/@dailymotion/vast-client/src/util/event_emitter.d.ts.map b/types/assets/@dailymotion/vast-client/src/util/event_emitter.d.ts.map index f1a8276..7ef3d6c 100644 --- a/types/assets/@dailymotion/vast-client/src/util/event_emitter.d.ts.map +++ b/types/assets/@dailymotion/vast-client/src/util/event_emitter.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"event_emitter.d.ts","sourceRoot":"","sources":["../../../../../../src/assets/@dailymotion/vast-client/src/util/event_emitter.js"],"names":[],"mappings":"AAAA;IAEI,iBAAmB;IAGrB;;;;;;;;OAQG;IACH,sCAFa,YAAY,CAmBxB;IAED;;;;;;OAMG;IACH,wCAFa,YAAY,CAIxB;IAED;;;;;OAKG;IACH,uCAFa,YAAY,CAQxB;IAED;;;;;;OAMG;IACH,6BAHY,GAAG,EAAE,WAgBhB;IAED;;;;OAIG;IACH,mCAFa,YAAY,CAUxB;IAED;;;;OAIG;IACH,qCAEC;IAED;;;;OAIG;IACH,0BAFa,UAAU,CAStB;IAED;;;OAGG;IACH,cAFa,QAAQ,CAIpB;CACF"} \ No newline at end of file +{"version":3,"file":"event_emitter.d.ts","sourceRoot":"","sources":["../../../../../../src/assets/@dailymotion/vast-client/src/util/event_emitter.js"],"names":[],"mappings":"AAAA;IAEI,iBAAmB;IAGrB;;;;;;;;OAQG;IACH,sCAFa,YAAY,CAmBxB;IAED;;;;;;OAMG;IACH,wCAFa,YAAY,CAIxB;IAED;;;;;OAKG;IACH,uCAFa,YAAY,CAQxB;IAED;;;;;;OAMG;IACH,6BAHe,GAAG,aAgBjB;IAED;;;;OAIG;IACH,mCAFa,YAAY,CAUxB;IAED;;;;OAIG;IACH,qCAEC;IAED;;;;OAIG;IACH,0BAFa,UAAU,CAStB;IAED;;;OAGG;IACH,cAFa,QAAQ,CAIpB;CACF"} \ No newline at end of file diff --git a/types/assets/@dailymotion/vast-client/src/util/util.d.ts b/types/assets/@dailymotion/vast-client/src/util/util.d.ts index 23995b1..3322d16 100644 --- a/types/assets/@dailymotion/vast-client/src/util/util.d.ts +++ b/types/assets/@dailymotion/vast-client/src/util/util.d.ts @@ -2,15 +2,16 @@ export namespace util { export { track }; export { resolveURLTemplates }; export { extractURLsFromTemplates }; + export { filterValidUrlTemplates }; export { containsTemplateObject }; export { isTemplateObjectEqual }; export { encodeURIComponentRFC3986 }; export { replaceUrlMacros }; - export { leftpad }; - export { range }; export { isNumeric }; export { flatten }; export { joinArrayOfUniqueTemplateObjs }; + export { isValidTimeValue }; + export { addLeadingZeros }; } declare function track(URLTemplates: any, macros: any, options: any): void; /** @@ -30,6 +31,16 @@ declare function resolveURLTemplates(URLTemplates: any[], macros?: any, options? * @param {Array|String} URLTemplates - An array|string of url templates. */ declare function extractURLsFromTemplates(URLTemplates: any[] | string): string | any[]; +/** + * Filter URLTemplates elements to keep only valid and safe URL templates. + * To be valid, urls should: + * - have the same protocol as the client + * or + * - be protocol-relative urls + * + * @param {Array} URLTemplates - A Array of string/object containing urls templates. + */ +declare function filterValidUrlTemplates(URLTemplates: any[]): boolean | any[]; /** * Returns a boolean after checking if the object exists in the array. * true - if the object exists, false otherwise @@ -56,8 +67,6 @@ declare function encodeURIComponentRFC3986(str: any): string; * @param {Object} macros - Object of macros to be replaced in the tracking calls */ declare function replaceUrlMacros(url: string, macros: any): string; -declare function leftpad(input: any, len?: number): string; -declare function range(left: any, right: any, inclusive: any): any[]; declare function isNumeric(n: any): boolean; declare function flatten(arr: any): any; /** @@ -69,5 +78,23 @@ declare function flatten(arr: any): any; * @return {Array} */ declare function joinArrayOfUniqueTemplateObjs(arr1?: any[], arr2?: any[]): any[]; +/** + * Check if a provided value is a valid time value according to the IAB definition + * Check if a provided value is a valid time value according to the IAB definition: Must be a positive number or -1. + * if not implemented by ad unit or -2 if value is unknown. + * @param {Number} time + * + * @return {Boolean} + */ +declare function isValidTimeValue(time: number): boolean; +/** + * Return a string of the input number with leading zeros defined by the length param + * + * @param {Number} input - number to convert + * @param {Number} length - length of the desired string + * + * @return {String} + */ +declare function addLeadingZeros(input: number, length?: number): string; export {}; //# sourceMappingURL=util.d.ts.map \ No newline at end of file diff --git a/types/assets/@dailymotion/vast-client/src/util/util.d.ts.map b/types/assets/@dailymotion/vast-client/src/util/util.d.ts.map index 506ca5d..4c6c93f 100644 --- a/types/assets/@dailymotion/vast-client/src/util/util.d.ts.map +++ b/types/assets/@dailymotion/vast-client/src/util/util.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../../../../src/assets/@dailymotion/vast-client/src/util/util.js"],"names":[],"mappings":";;;;;;;;;;;;;;AAEA,2EASC;AAED;;;;;;GAMG;AACH,iGAmCC;AAsDD;;;;;;;GAOG;AACH,wDAFW,cAAY,kBAWtB;AAED;;;;;;GAMG;AACH,wEAOC;AAED;;;;;;GAMG;AACH,sEAgBC;AAGD,6DAKC;AAtHD;;;;;;;GAOG;AACH,oEAuBC;AAyFD,2DAUC;AAED,qEASC;AAED,4CAEC;AAED,wCAMC;AAED;;;;;;;GAOG;AACH,kFAWC"} \ No newline at end of file +{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../../../../src/assets/@dailymotion/vast-client/src/util/util.js"],"names":[],"mappings":";;;;;;;;;;;;;;;AAEA,2EASC;AAED;;;;;;GAMG;AACH,iGAiCC;AAsDD;;;;;;;GAOG;AACH,wDAFW,cAAY,kBAWtB;AAED;;;;;;;;GAQG;AACH,+EAQC;AAOD;;;;;;GAMG;AACH,wEAOC;AAED;;;;;;GAMG;AACH,sEAgBC;AAGD,6DAKC;AA9ID;;;;;;;GAOG;AACH,oEAuBC;AA6HD,4CAEC;AAED,wCAMC;AAED;;;;;;;GAOG;AACH,kFAWC;AAED;;;;;;;GAOG;AACH,yDAEC;AAvDD;;;;;;;GAOG;AACH,yEAEC"} \ No newline at end of file diff --git a/types/js/index.d.ts b/types/js/index.d.ts index 83d2c2f..f1de9e4 100644 --- a/types/js/index.d.ts +++ b/types/js/index.d.ts @@ -362,7 +362,7 @@ export default class RmpVast { * @param {number} inputWidth * @param {number} inputHeight * @typedef {object} Companion - * @property {string} adSlotID + * @property {string} adSlotId * @property {string} altText * @property {string} companionClickThroughUrl * @property {string} companionClickTrackingUrl @@ -373,7 +373,7 @@ export default class RmpVast { * @return {Companion[]} */ getCompanionAdsList(inputWidth: number, inputHeight: number): { - adSlotID: string; + adSlotId: string; altText: string; companionClickThroughUrl: string; companionClickTrackingUrl: string; diff --git a/types/js/index.d.ts.map b/types/js/index.d.ts.map index fa63580..5078a04 100644 --- a/types/js/index.d.ts.map +++ b/types/js/index.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/js/index.js"],"names":[],"mappings":"AAsBA;;;;EAIE;AACF;IAEE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2CG;IACH,gBA1CW,MAAM;;;;;sBAWH,MAAM;;;;;8BAEN,MAAM;;;;;8BAEN,OAAO;;;;;0BAEP,MAAM;;;;oBAEN,OAAO;;;;oCACP,OAAO;;;;uBACP,OAAO;;;;sBACP,OAAO;;;;;;oBApBP,MAAM;qBACN,MAAM;uBACN,MAAM;6BACN,MAAM;;;;;mBAoBN,OAAO;;;;qBACP,OAAO;;;;sCACP,OAAO;;;;sBACP,OAAO;;;;;6BACP,MAAM,EAAE;;;;8BAER,OAAO;;;;;;uBACP,OAAO;;;;sBAGP,MAAM;;;;yBACN,MAAM;;;;;;0BA7BN,MAAM;sBACN,MAAM;qCACN,MAAM;;OAwEnB;IAhCC,WAAY;IACZ,uBAAiD;IAKjD,wBAAkE;IAClE,uBAA+D;IAoB7D,gCAAkC;IAS5B,oBAAY,MAAM,QAAQ,MAAM,GAAK,IAAI,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