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GAC1C,GAA0B,mBAAfA,GAA4C,OAAfA,EACtC,MAAM,IAAItO,UAAU,sDAEtBqO,EAASvT,UAAYlC,OAAO2V,OAAOD,GAAcA,EAAWxT,UAAW,CACrEiL,YAAa,CACXpN,MAAO0V,EACPrV,UAAU,EACVD,cAAc,KAGlBH,OAAOC,eAAewV,EAAU,YAAa,CAC3CrV,UAAU,IAERsV,IAAY,OAAeD,EAAUC,EAC3C,mPCde,SAASE,EAA2BrU,EAAMoB,GACvD,GAAIA,IAA2B,YAAlB,OAAQA,IAAsC,mBAATA,GAChD,OAAOA,EACF,QAAa,IAATA,EACT,MAAM,IAAIyE,UAAU,4DAEtB,OAAO,OAAsB7F,EAC/B","sources":["webpack:///../node_modules/pp-react-l10n/dist/pp-react-l10n.esm.js","webpack:///../node_modules/@paypalcorp/helpcomponents-alert/dist/@paypalcorp/helpcomponents-alert.esm.js","webpack:///../node_modules/@babel/runtime/helpers/esm/inherits.js","webpack:///../node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js"],"sourcesContent":["import React from 'react';\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nfunction _objectSpread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n var ownKeys = Object.keys(source);\n\n if (typeof Object.getOwnPropertySymbols === 'function') {\n ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) {\n return Object.getOwnPropertyDescriptor(source, sym).enumerable;\n }));\n }\n\n ownKeys.forEach(function (key) {\n _defineProperty(target, key, source[key]);\n });\n }\n\n return target;\n}\n\nfunction _slicedToArray(arr, i) {\n return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest();\n}\n\nfunction _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}\n\nfunction _iterableToArrayLimit(arr, i) {\n var _arr = [];\n var _n = true;\n var _d = false;\n var _e = undefined;\n\n try {\n for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n _arr.push(_s.value);\n\n if (i && _arr.length === i) break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i[\"return\"] != null) _i[\"return\"]();\n } finally {\n if (_d) throw _e;\n }\n }\n\n return _arr;\n}\n\nfunction _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance\");\n}\n\nvar commonjsGlobal = typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};\n\n/**\n * lodash (Custom Build) \n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright jQuery Foundation and other contributors \n * Released under MIT license \n * Based on Underscore.js 1.8.3 \n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/** Used to match HTML entities and HTML characters. */\nvar reUnescapedHtml = /[&<>\"'`]/g,\n reHasUnescapedHtml = RegExp(reUnescapedHtml.source);\n\n/** Used to map characters to HTML entities. */\nvar htmlEscapes = {\n '&': '&',\n '<': '<',\n '>': '>',\n '\"': '"',\n \"'\": ''',\n '`': '`'\n};\n\n/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\n/**\n * The base implementation of `_.propertyOf` without support for deep paths.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Function} Returns the new accessor function.\n */\nfunction basePropertyOf(object) {\n return function(key) {\n return object == null ? undefined : object[key];\n };\n}\n\n/**\n * Used by `_.escape` to convert characters to HTML entities.\n *\n * @private\n * @param {string} chr The matched character to escape.\n * @returns {string} Returns the escaped character.\n */\nvar escapeHtmlChar = basePropertyOf(htmlEscapes);\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar Symbol$1 = root.Symbol;\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol$1 ? Symbol$1.prototype : undefined,\n symbolToString = symbolProto ? symbolProto.toString : undefined;\n\n/**\n * The base implementation of `_.toString` which doesn't convert nullish\n * values to empty strings.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n */\nfunction baseToString(value) {\n // Exit early for strings to avoid a performance hit in some environments.\n if (typeof value == 'string') {\n return value;\n }\n if (isSymbol(value)) {\n return symbolToString ? symbolToString.call(value) : '';\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return !!value && typeof value == 'object';\n}\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && objectToString.call(value) == symbolTag);\n}\n\n/**\n * Converts `value` to a string. An empty string is returned for `null`\n * and `undefined` values. The sign of `-0` is preserved.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n * @example\n *\n * _.toString(null);\n * // => ''\n *\n * _.toString(-0);\n * // => '-0'\n *\n * _.toString([1, 2, 3]);\n * // => '1,2,3'\n */\nfunction toString(value) {\n return value == null ? '' : baseToString(value);\n}\n\n/**\n * Converts the characters \"&\", \"<\", \">\", '\"', \"'\", and \"\\`\" in `string` to\n * their corresponding HTML entities.\n *\n * **Note:** No other characters are escaped. To escape additional\n * characters use a third-party library like [_he_](https://mths.be/he).\n *\n * Though the \">\" character is escaped for symmetry, characters like\n * \">\" and \"/\" don't need escaping in HTML and have no special meaning\n * unless they're part of a tag or unquoted attribute value. See\n * [Mathias Bynens's article](https://mathiasbynens.be/notes/ambiguous-ampersands)\n * (under \"semi-related fun fact\") for more details.\n *\n * Backticks are escaped because in IE < 9, they can break out of\n * attribute values or HTML comments. See [#59](https://html5sec.org/#59),\n * [#102](https://html5sec.org/#102), [#108](https://html5sec.org/#108), and\n * [#133](https://html5sec.org/#133) of the\n * [HTML5 Security Cheatsheet](https://html5sec.org/) for more details.\n *\n * When working with HTML you should always\n * [quote attribute values](http://wonko.com/post/html-escaping) to reduce\n * XSS vectors.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category String\n * @param {string} [string=''] The string to escape.\n * @returns {string} Returns the escaped string.\n * @example\n *\n * _.escape('fred, barney, & pebbles');\n * // => 'fred, barney, & pebbles'\n */\nfunction escape(string) {\n string = toString(string);\n return (string && reHasUnescapedHtml.test(string))\n ? string.replace(reUnescapedHtml, escapeHtmlChar)\n : string;\n}\n\nvar lodash_escape = escape;\n\nvar oget = function (obj, path, def) {\n var res = path\n .replace(/\\[/g, '.')\n .replace(/\\]/g, '')\n .replace(/^\\./, '')\n .split('.')\n .reduce(function (prev, curr) {\n return prev && prev[curr]\n }, obj);\n\n return (res === undefined)\n ? def\n : res;\n};\n\nfunction logger(type) {\n /* istanbul ignore next */\n if (process.env.NODE_ENV !== 'production' && (typeof window !== 'undefined' && window.console || typeof global !== 'undefined' && global.console)) {\n var _console;\n\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n // eslint-disable-next-line no-console\n (_console = console)[type].apply(_console, ['[pp-react-l10n]'].concat(args));\n }\n}\n\nvar log = logger.bind(null, 'log');\nlog.warn = logger.bind(null, 'warn');\nlog.error = logger.bind(null, 'error');\nlog.info = logger.bind(null, 'info');\n\n// this singleton allows content to be loaded asynchronously\n// while still allowing content getters to be initialized\n// and use the global content after content has loaded\nvar globalContent = {};\n\n// this allows you to specify that no warnings should be displayed until\n// the init function has been called\nvar status = {\n complete: false,\n logWarnings: true\n};\n\nfunction postponeWarnings() {\n status.logWarnings = false;\n}\n\nfunction setComplete() {\n status.complete = true;\n status.logWarnings = true;\n}\n\n/* istanbul ignore next */\n\nvar ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator || '@@iterator';\n\nvar onContentMissingNoop = function () {};\n\nfunction getContent() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var path = options.path,\n _options$content = options.content,\n content = _options$content === void 0 ? {} : _options$content,\n _options$onContentMis = options.onContentMissing,\n onContentMissing = _options$onContentMis === void 0 ? onContentMissingNoop : _options$onContentMis;\n\n if (!path) {\n return getCurriedGetContent(options);\n }\n\n var retrievedContent = oget(content, path);\n\n if (!retrievedContent) {\n onContentMissing(options);\n return getCurriedGetContent(options);\n } else if (Array.isArray(retrievedContent)) {\n return retrievedContent.map(function (c) {\n return getReactContent(c, options);\n });\n } else if (typeof retrievedContent !== 'string') {\n return getCurriedGetContent(options);\n }\n\n return getReactContent(retrievedContent, options);\n}\n\nfunction getCurriedGetContent(options) {\n // this function is the one folks will use most of the time.\n // it has a bit nicer API because most of the time people will\n // only be passing the `path` and `data` so those have been\n // put at param1 and param2, then the rest of the options are\n // in param3.\n function ppReactL10nGetContent(path, data) {\n var incomingOptions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n return getContent(_objectSpread({}, options, incomingOptions, {\n // manually merge these things\n content: _objectSpread({}, globalContent, options.content, incomingOptions.content),\n path: [options.path, path].filter(Boolean).join('.'),\n data: _objectSpread({}, options.data, incomingOptions.data, data)\n }));\n }\n\n var pathAsString = options.path === '' ? '' : \"{\".concat(String(options.path), \"}\");\n // flow doesn't like assigning toString on the function...\n // $FlowIgnore\n Object.assign(ppReactL10nGetContent, _defineProperty({\n html: function (path, data) {\n var incomingOptions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n return ppReactL10nGetContent(path, data, _objectSpread({\n useHTML: true\n }, incomingOptions));\n },\n // these methods ensure that things don't break\n // when there's a typo or the content doesn't load.\n toString: function () {\n return pathAsString;\n } // this is here as an error case.\n // if the developer attempts to render a content getter, react will\n // render with this iterator, so we can log an error and have it\n // render the pathAsString instead\n\n }, ITERATOR_SYMBOL, function () {\n var timesCalled = 0;\n var resultAtPath = oget(options.content, options.path);\n\n if (status.logWarnings) {\n log.error('An attempt was made to render a content getter function.', // eslint-disable-next-line no-nested-ternary\n !options.path ? 'This is because no path was provided' : resultAtPath ? \"This is because the content at path \\\"\".concat(String(options.path), \"\\\" is not a string\") : \"This is because there is no content at the path \\\"\".concat(String(options.path), \"\\\"\"), {\n resultAtPath: resultAtPath,\n options: options\n });\n }\n\n return {\n next: function next() {\n return {\n done: timesCalled++ > 0,\n value: pathAsString\n };\n }\n };\n })); // prevent app from crashing when expecting content to be an array\n // but there is a typo or the content failed to load\n\n Object.getOwnPropertyNames(Array.prototype).forEach(function (method) {\n // flow doesn't like this for some reason...\n // $FlowIgnore\n if (Array.prototype[method].bind) {\n ppReactL10nGetContent[method] = Array.prototype[method].bind([pathAsString]);\n }\n });\n return ppReactL10nGetContent;\n}\n/**\n * Transforms a content string into a react compatible array\n * of with strings and react components.\n *\n * @param contentString i.e. 'I want to go see a {movie} at the theatre!'\n * @param options i.e. { data: { movie: } }\n * @return ['I want to go to see a ', , ' at the theatre!']\n */\n\n\nfunction getReactContent(contentString, options) {\n if (status.logWarnings && typeof options.useHTML !== 'boolean' && process.env.NODE_ENV !== 'production' && Boolean(true) && // using require here to avoid it getting bundled\n // even though it should get tree-shaken anyway...\n // it didn't appear to get tree-shaken so... 🙃\n require('is-html')(contentString)) {\n log.warn(\"The content at the path \\\"\".concat(String(options.path), \"\\\" appears to have HTML.\"), 'If it is, set the option `useHTML` to `true`.', 'If it is not, then you can silence this warning by explicitly setting `useHTML` to `false`', {\n contentString: contentString,\n content: options.content\n });\n }\n\n var interpolatedContent = contentString.split(/({.*?})/).map(function (chunk, index) {\n if (index % 2 === 1) {\n var _ref = chunk.match(/^{(.*)}$/)\n /* istanbul ignore next: paranoid check */\n || [],\n _ref2 = _slicedToArray(_ref, 2),\n key = _ref2[1];\n\n var val = oget(options.data, key);\n\n if (options.useHTML && React.isValidElement(val)) {\n throw new Error('[pp-react-l10n]: cannot pass react elements as data when useHTML is true.');\n }\n\n var escaped = options.useHTML ? lodash_escape(val) : val;\n return keyifyReactElements(escaped);\n }\n\n return chunk;\n });\n var shouldJoinContent = interpolatedContent.every(function (chunk) {\n return typeof chunk === 'string' || typeof chunk === 'number' || !chunk;\n });\n var joinedContent = shouldJoinContent ? interpolatedContent.join('') : interpolatedContent;\n\n if (options.useHTML && typeof joinedContent === 'string') {\n return innerHTML(joinedContent);\n }\n\n return joinedContent;\n}\n/**\n * This function is intended to take React components that are used in translations and add a `key` to them if needed\n * This is to prevent React from logging an error because in normal cases you would need a `key` for React to keep track\n * of the components in the array. We don't need this optimization for our l10n stuff, so we don't really need the\n * `key` in these components.\n *\n * This function dynamically adds a key to the component by making a clone of the component and adding a unique key to\n * it. This adds overhead. React doesn't log the warning when process.env.NODE_ENV === 'production'. So we likewise will\n * skip cloning the component in the same scenario. This should remove any issues regarding performance.\n *\n * @param {*} component the component to check (can be a String as well, which will be skipped)\n * @return {*} the cloned component/same thing you called this with depending on what was passed\n */\n\n\nfunction keyifyReactElements(component) {\n if (process.env.NODE_ENV !== 'production' && component && typeof component !== 'string' && component.key === null) {\n return React.cloneElement(component, {\n key: Math.random()\n });\n }\n\n return component;\n}\n\nfunction innerHTML(__html) {\n return React.createElement('span', {\n key: __html,\n dangerouslySetInnerHTML: {\n __html: __html\n }\n });\n}\n\nvar internalGetContent;\n\nfunction getContentFacade() {\n if (!status.complete) {\n if (status.logWarnings) {\n throw new Error(\"[pp-react-l10n]: must be initialized before an attempt is made at getting content. If you're loading content asynchronously, you can disable this by calling the postponeWarnings function. In this case, make certain to rerender your application after you've initialized pp-react-l10n to avoid issues with components not displaying content.\");\n }\n\n return getContent(_objectSpread({\n path: arguments.length <= 0 ? undefined : arguments[0],\n content: {},\n onContentMissing: logContentMissing\n }, arguments.length <= 1 ? undefined : arguments[1]));\n } // $FlowIgnore flow isn't smart enough to know that this is a GetContentFn\n\n\n return internalGetContent.apply(void 0, arguments);\n}\n\nfunction init() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n // I'd prefer to destructure options in the parameter list, but flow had a hard time with that... No idea why\n var content = options.content,\n _options$contentNode = options.contentNode,\n contentNode = _options$contentNode === void 0 ? content ? null : document.getElementById('l10n-content') : _options$contentNode,\n _options$onContentMis = options.onContentMissing,\n onContentMissing = _options$onContentMis === void 0 ? logContentMissing : _options$onContentMis;\n\n if (content && contentNode) {\n log.error('INIT:error', 'You passed `content` and `contentNode`. You should only pass one. Using `content`.');\n }\n\n content = content ? content : getContentFromNode(contentNode); // $FlowIgnore flow isn't smart enough to know that by not passing path, it'll return a GetContentFn\n\n internalGetContent = getContent({\n content: content,\n onContentMissing: onContentMissing\n });\n setComplete();\n Object.assign(globalContent, content);\n}\n\nfunction getContentFromNode(node) {\n var content = {};\n\n if (!node || !node.innerHTML) {\n if (!node) {\n log.error('INIT:error', 'The `contentNode` does not exist.', \"If you're using the default, make sure that the #l10n-content node is on the page\", \"If you're doing something custom, make sure the node you're passing exists before calling this.\");\n } else {\n log.error('INIT:error The `contentNode` you provided has no content:', node);\n }\n } else {\n try {\n content = JSON.parse(node.innerHTML);\n log.info('INIT:parsed:content', content);\n } catch (e) {\n log.info('INIT:parsed:content:error', e); // ignore error. Maybe we should rethrow it?\n }\n }\n\n return content;\n}\n\nfunction logContentMissing(_ref) {\n var path = _ref.path,\n content = _ref.content;\n\n if (status.logWarnings) {\n log.warn(\"missing content for path \\\"\".concat(String(path), \"\\\" with the content:\"), content);\n }\n}\n\nvar version = String(\"2.1.0\");\n\nexport default getContentFacade;\nexport { init, logContentMissing, getContent, version, postponeWarnings };\n","import { PAYPAL_THEME } from '@paypalcorp/pp-react-theme';\nimport _defineProperty from '@babel/runtime/helpers/esm/defineProperty';\nimport _slicedToArray from '@babel/runtime/helpers/esm/slicedToArray';\nimport React, { useState, useEffect } from 'react';\nimport { ThemeProvider } from '@emotion/react';\nimport PropTypes from 'prop-types';\nimport { getContent } from 'pp-react-l10n';\nimport _asyncToGenerator from '@babel/runtime/helpers/esm/asyncToGenerator';\nimport _regeneratorRuntime from '@babel/runtime/regenerator';\nimport _typeof from '@babel/runtime/helpers/esm/typeof';\nimport _classCallCheck from '@babel/runtime/helpers/esm/classCallCheck';\nimport _createClass from '@babel/runtime/helpers/esm/createClass';\nimport _inherits from '@babel/runtime/helpers/esm/inherits';\nimport _possibleConstructorReturn from '@babel/runtime/helpers/esm/possibleConstructorReturn';\nimport _getPrototypeOf from '@babel/runtime/helpers/esm/getPrototypeOf';\nimport { Dialog } from '@paypalcorp/pp-react-modal';\nimport { Alert as Alert$1 } from '@paypalcorp/pp-react-alert';\nimport { Link } from '@paypalcorp/pp-react-links';\nimport { LoadingSpinner } from '@paypalcorp/pp-react-loading-spinner';\nimport { Card } from '@paypalcorp/pp-react-card';\nimport '../__generated__/styles/alerts.css';\n\n// //https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/onreadystatechange\nvar getData = /*#__PURE__*/function () {\n var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(url) {\n var config,\n method,\n req,\n response,\n _args = arguments;\n return _regeneratorRuntime.wrap(function (_context) {\n while (1) switch (_context.prev = _context.next) {\n case 0:\n config = _args.length > 1 && _args[1] !== undefined ? _args[1] : {};\n method = config.method || 'GET';\n _context.prev = 2;\n req = new XMLHttpRequest();\n req.open(method, url, true);\n req.withCredentials = config.withCredentials || false;\n _context.next = 8;\n return new Promise(function (resolve, reject) {\n req.onreadystatechange = function () {\n if (req.readyState === 4) {\n if (req.status >= 200 && req.status < 300) {\n var result = JSON.parse(req.response || req.responseText);\n resolve(result);\n } else {\n reject(\"HTTP Error: \".concat(req.status));\n }\n }\n };\n req.addEventListener('error', function (event) {\n reject(event);\n });\n req.send();\n });\n case 8:\n response = _context.sent;\n return _context.abrupt(\"return\", {\n data: response\n });\n case 12:\n _context.prev = 12;\n _context.t0 = _context[\"catch\"](2);\n return _context.abrupt(\"return\", Promise.reject(_context.t0));\n case 15:\n case \"end\":\n return _context.stop();\n }\n }, _callee, null, [[2, 12]]);\n }));\n return function () {\n return _ref.apply(this, arguments);\n };\n}();\n\n/**\n * method to validate is empty.\n * @param value\n * @returns {boolean}\n */\nvar isEmpty = function (value) {\n return value === null || _typeof(value) === 'object' && Object.keys(value).length === 0 || typeof value === 'string' && value.trim().length === 0;\n};\n\n/**\n * Deep clone to remove the reference of the object.\n * @param data\n * @returns {*}\n */\nvar deepClone = function (data) {\n try {\n return JSON.parse(JSON.stringify(data));\n } catch (e) {\n return data;\n }\n};\n\n/**\n * Get corresponding directionality.\n * 1) First get the direction from html element where this component is loaded\n * 2) If no dir attribute value is found on html element then get the directionality from service response configs object.\n * 3) default fallback to ltr\n *\n * @param responseData\n * @returns {string}\n */\nvar getDirectionality = function (data) {\n try {\n var htmlEl = document.getElementsByTagName('html');\n var __htmlDir = htmlEl[0].dir;\n if (!isEmpty(__htmlDir)) {\n return __htmlDir;\n }\n var config = data && (data.info || data.config);\n if (config && config.directionality) {\n return config.directionality;\n }\n return 'ltr';\n } catch (e) {\n return 'ltr';\n }\n};\n\n// ------- Session storage ----------------------\n\n// Save data to sessionStorage\nvar setDataInSession = function (key, value) {\n sessionStorage.setItem(key, JSON.stringify(value));\n};\n\n// Get saved data from sessionStorage\nvar getDataFromSession = function (key) {\n return JSON.parse(sessionStorage.getItem(key));\n};\n\n// --------End of session storage ---------------\n\nfunction ownKeys$3(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread$3(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$3(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$3(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nvar defaultOptions = {\n pgrp: 'main:help:components',\n page: 'main:help:components',\n comp: 'helpComponents'\n};\nvar analyticsObject = function () {\n try {\n return window && window.PAYPAL && window.PAYPAL.analytics;\n } catch (e) {\n return {};\n }\n};\n\n// Get FPTI otions\nvar getFPTIOptions = function (fptiOptions, eventType) {\n var fpti = window && window.fpti ? deepClone(window.fpti) : {};\n\n // clearing out error props in case they exist\n fpti.erpg = undefined;\n fpti.erfd = undefined;\n fpti.eccd = undefined;\n\n // Merge client passed fptiOptions with fpti object.\n fpti = _objectSpread$3(_objectSpread$3({}, fpti), fptiOptions);\n\n // TODO :: This logic needs to be revisited.\n // FPTI options passed through props\n\n if (isEmpty(fpti.page) || isEmpty(fpti.pgrp)) {\n fpti.page = defaultOptions.page;\n fpti.pgrp = defaultOptions.pgrp;\n }\n\n // Resetting to empty string for not to set link/pgln,phlk for ac events.\n fpti.link = '';\n fpti.pgln = '';\n fpti.pglk = '';\n\n // For click events\n if (fptiOptions.link) {\n fpti.link = fptiOptions.link;\n fpti.pgln = \"\".concat(fpti.page, \"|\").concat(fptiOptions.link);\n fpti.pglk = \"\".concat(fpti.pgrp, \"|\").concat(fptiOptions.link);\n }\n\n // Add event name to FPTI object\n fpti.event_name = '';\n if (fptiOptions.event_name) {\n fpti.event_name = fptiOptions.event_name;\n }\n\n // component name priority - fpti options props/analytics window object/default fallback\n if (isEmpty(fpti.comp)) {\n fpti.comp = defaultOptions.comp;\n }\n // Set event Type\n fpti.e = eventType ? eventType : 'ac'; // default activity event\n\n return fpti;\n};\n\n/**\n * @description\n *\n * Logs click metrics\n * @param {Object} fptiOptions\n * @property {String} options.data.page - Page name if not provided derived from the base page\n * @property {String} options.data.pgrp - Page group if not provided derived from the base page\n * e.g. var options = {data: {page:'page_name', pgrp: 'page_group_name'} }\n */\n//https://github.paypal.com/pages/Tracking-R/client-side-instrumentation/react.html#/links?_k=flh93g\nvar recordClickEvent = function (fptiOptions) {\n if (analyticsObject()) {\n var options = getFPTIOptions(fptiOptions, 'cl');\n window.PAYPAL.analytics.Analytics.prototype.recordClick({\n data: options\n });\n }\n};\n\n// Error tracking\n// https://github.paypal.com/pages/Tracking-R/client-side-instrumentation/#record_error\nvar recordErrorEvent = function (error) {\n if (window.PAYPAL && window.PAYPAL.trackJSError) {\n window.PAYPAL.trackJSError(error);\n }\n};\n\n// Record Activity Events\nvar recordEvent = function (fptiOptions) {\n if (analyticsObject()) {\n var options = getFPTIOptions(fptiOptions, 'ac');\n window.PAYPAL.analytics.Analytics.prototype.recordEvent(options.event_name, {\n data: options\n });\n }\n};\n\n// FPTI Prop Type\nvar FPTI_OBJECT = {\n page: PropTypes.string.isRequired,\n pgrp: PropTypes.string.isRequired,\n comp: PropTypes.string\n};\n\nvar sizes = {\n SMALL: 'sm',\n MEDIUM: 'md',\n LARGE: 'lg'\n};\nvar spinnerTypes = {\n SHIMMER: 'shimmer',\n LOADER: 'loader'\n};\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function () { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\nvar ErrorBoundary = /*#__PURE__*/function (_React$Component) {\n _inherits(ErrorBoundary, _React$Component);\n var _super = _createSuper(ErrorBoundary);\n function ErrorBoundary(props) {\n var _this;\n _classCallCheck(this, ErrorBoundary);\n _this = _super.call(this, props);\n _this.state = {\n error: null,\n errorInfo: null\n };\n return _this;\n }\n _createClass(ErrorBoundary, [{\n key: \"componentDidCatch\",\n value: function componentDidCatch(err, errorInfo) {\n this.setState({\n err: err,\n errorInfo: errorInfo\n });\n if (typeof this.props.cbOnError === 'function') {\n // Callback function to track errors.\n this.props.cbOnError(err, errorInfo);\n }\n }\n }, {\n key: \"render\",\n value: function render() {\n if (!this.state.error) {\n // render any custom fallback UI\n return this.props.children;\n }\n if (this.props.suppressError) {\n return /*#__PURE__*/React.createElement(\"div\", null);\n }\n return /*#__PURE__*/React.createElement(\"h1\", null, 'Something went wrong in loading the widget.');\n }\n }]);\n return ErrorBoundary;\n}(React.Component);\nErrorBoundary.propTypes = {\n suppressError: PropTypes.bool.isRequired,\n children: PropTypes.node,\n cbOnError: PropTypes.func.isRequired // callback function on error.\n};\n\nfunction ownKeys$2(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread$2(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$2(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$2(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction HcDialog(props) {\n var dialogState = props.dialogState,\n setDialogState = props.setDialogState,\n parseContent = props.parseContent,\n getHTMLElement = props.getHTMLElement,\n fptiOptions = props.fptiOptions,\n handleRemoveAlert = props.handleRemoveAlert,\n pageName = props.pageName,\n componentName = props.componentName;\n var handleDialogClose = function (e) {\n e.stopPropagation();\n var alertCloseFptiOptions = _objectSpread$2(_objectSpread$2({}, fptiOptions), {}, {\n comp: componentName,\n link: \"alert|\".concat(dialogState.dialogAlert.messageType, \"|alert-dialog|close-button|clicked\"),\n page: fptiOptions.page + \"-dialog\",\n event_name: \"hc_alert_closed_in_alert_dialog_\".concat(pageName)\n });\n recordClickEvent(alertCloseFptiOptions);\n handleRemoveAlert(dialogState.dialogAlert.docid);\n setDialogState(_objectSpread$2(_objectSpread$2({}, dialogState), {}, {\n dialogIsOpen: false,\n dialogAlert: {}\n }));\n };\n return /*#__PURE__*/React.createElement(\"div\", null, /*#__PURE__*/React.createElement(Dialog, {\n onClose: function onClose(e) {\n return handleDialogClose(e);\n },\n isOpen: dialogState.dialogIsOpen,\n className: \"hc_alert__message--dialog\",\n \"data-testid\": \"hc-alert-full-message-dialog\",\n style: {\n marginLeft: 'auto',\n marginRight: 'auto'\n }\n }, function renderDialogMessage() {\n if (Object.keys(dialogState.dialogAlert).length !== 0) {\n var innerHTML = getHTMLElement({\n message: dialogState.dialogAlert.message,\n useHTML: true\n });\n return /*#__PURE__*/React.createElement(\"div\", {\n ref: function ref(el) {\n return parseContent(el, dialogState.dialogAlert.messageType, true);\n }\n }, innerHTML);\n }\n return null;\n }()));\n}\nHcDialog.propTypes = {\n getHTMLElement: PropTypes.func.isRequired,\n handleRemoveAlert: PropTypes.func.isRequired,\n parseContent: PropTypes.func.isRequired,\n dialogState: PropTypes.object.isRequired,\n fptiOptions: PropTypes.shape(FPTI_OBJECT).isRequired,\n setDialogState: PropTypes.func.isRequired,\n pageName: PropTypes.string.isRequired,\n componentName: PropTypes.string.isRequired\n};\n\nfunction ownKeys$1(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread$1(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nvar alertTypeMapping = {\n critical: 'error',\n warning: 'warning',\n info: 'info'\n};\nfunction Alert(props) {\n var alertData = props.alertData,\n getHTMLElement = props.getHTMLElement,\n handleRemoveAlert = props.handleRemoveAlert,\n parseContent = props.parseContent,\n metaData = props.metaData,\n fptiOptions = props.fptiOptions,\n setDialogState = props.setDialogState,\n pageName = props.pageName,\n componentName = props.componentName;\n var _useState = useState({\n height: window.innerHeight,\n width: window.innerWidth\n }),\n _useState2 = _slicedToArray(_useState, 2);\n _useState2[0];\n var setDimensions = _useState2[1];\n var handleResize = function () {\n setDimensions({\n height: window.innerHeight,\n width: window.innerWidth\n });\n };\n useEffect(function () {\n window.addEventListener('resize', handleResize);\n return function () {\n window.removeEventListener('resize', handleResize);\n };\n }, []);\n var handleReadMoreClick = function (e, alert) {\n e.stopPropagation();\n recordClickEvent(_objectSpread$1(_objectSpread$1({}, fptiOptions), {}, {\n comp: componentName,\n link: \"alert|\".concat(alert.messageType, \"|read-more|clicked\"),\n event_name: \"hc_alert_read_more_clicked_in_\".concat(pageName, \"_page\")\n }));\n setDialogState({\n dialogIsOpen: true,\n dialogAlert: alert\n });\n recordEvent(_objectSpread$1(_objectSpread$1({}, fptiOptions), {}, {\n comp: componentName,\n page: fptiOptions.page + \"-dialog\",\n event_name: \"hc_\".concat(alert.messageType, \"_alert_dialog_shown_in_\").concat(pageName, \"_page\")\n }));\n };\n var handleOnClickClose = function (e, alert) {\n e.stopPropagation();\n var alertCloseFptiOptions = _objectSpread$1(_objectSpread$1({}, fptiOptions), {}, {\n comp: componentName,\n link: \"alert|\".concat(alert.messageType, \"|close-button|clicked\"),\n event_name: \"hc_alert_closed_in_\".concat(pageName, \"_page\")\n });\n recordClickEvent(alertCloseFptiOptions);\n handleRemoveAlert(alert.docid);\n };\n return /*#__PURE__*/React.createElement(\"div\", null, /*#__PURE__*/React.createElement(Alert$1, {\n \"data-testid\": \"hc-alert-\".concat(alertData.messageType),\n id: alertData.docid,\n type: alertTypeMapping[alertData.messageType],\n className: \"hc_alert\",\n closeButton: {\n 'aria-label': 'dismiss alert',\n onClick: function onClick(e) {\n return handleOnClickClose(e, alertData);\n }\n }\n }, function renderAlertMessage(alert) {\n var message = alert.message;\n var innerHTML = getHTMLElement({\n message: message,\n useHTML: true\n });\n return message ? /*#__PURE__*/React.createElement(\"div\", {\n className: \"hc_alert__message\",\n id: \"alert-message-\".concat(alert.docid),\n ref: function ref(el) {\n return parseContent(el, alert.messageType, false);\n }\n }, innerHTML) : null;\n }(alertData), function renderReadMore(alert) {\n var isInverse = alert.messageType === 'critical' || false;\n var ele = document.getElementById(\"alert-message-\".concat(alert.docid));\n if (ele !== null && ele.scrollHeight > ele.clientHeight) {\n return /*#__PURE__*/React.createElement(\"span\", null, \"...\", /*#__PURE__*/React.createElement(Link, {\n inverse: isInverse,\n secondary: !isInverse,\n onClick: function onClick(e) {\n return handleReadMoreClick(e, alert);\n }\n }, metaData.readMoreLabel));\n }\n return null;\n }(alertData)));\n}\nAlert.propTypes = {\n alertData: PropTypes.object.isRequired,\n getHTMLElement: PropTypes.func.isRequired,\n handleRemoveAlert: PropTypes.func.isRequired,\n parseContent: PropTypes.func.isRequired,\n metaData: PropTypes.object.isRequired,\n fptiOptions: PropTypes.shape(FPTI_OBJECT).isRequired,\n setDialogState: PropTypes.func.isRequired,\n pageName: PropTypes.string.isRequired,\n componentName: PropTypes.string.isRequired\n};\n\nfunction Loader(props) {\n var spinnerType = props.spinnerType,\n spinnerSize = props.spinnerSize,\n customLoaderStyle = props.customLoaderStyle;\n return function renderLoader() {\n // Shimmer loader\n var customStyle;\n if (spinnerType === spinnerTypes.SHIMMER) {\n customStyle = customLoaderStyle || {\n height: '12rem',\n width: '100%'\n };\n return /*#__PURE__*/React.createElement(\"div\", {\n style: customStyle\n }, /*#__PURE__*/React.createElement(Card, {\n isLoading: true\n }));\n }\n\n // Spinning loader\n\n customStyle = customLoaderStyle || {\n display: 'flex',\n justifyContent: 'center'\n };\n return /*#__PURE__*/React.createElement(\"div\", {\n style: customStyle\n }, /*#__PURE__*/React.createElement(LoadingSpinner, {\n screenReaderText: \"loading\",\n size: spinnerSize\n }));\n }();\n}\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nvar ALERTS_SESSION_KEY = 'hc-alerts';\nvar getAlertsApiUrl = function (pageName) {\n return \"/smarthelp/api/hc-web-alerts?pageName=\".concat(pageName);\n};\nvar AlertsContainer = function (props) {\n var fptiOptions = props.fptiOptions,\n suppressError = props.suppressError,\n componentName = props.componentName,\n pageName = props.pageName,\n devData = props.devData,\n devMode = props.devMode,\n spinnerType = props.spinnerType,\n customLoaderStyle = props.customLoaderStyle,\n spinnerSize = props.spinnerSize;\n\n // State\n var _useState = useState({\n info: {\n directionality: 'ltr'\n },\n alertContent: [],\n listenerForContentLink: false,\n metaData: {}\n }),\n _useState2 = _slicedToArray(_useState, 2),\n alertsState = _useState2[0],\n setAlertsState = _useState2[1];\n var _useState3 = useState({\n dialogIsOpen: false,\n dialogAlert: {},\n listenerForContentLink: false\n }),\n _useState4 = _slicedToArray(_useState3, 2),\n dialogState = _useState4[0],\n setDialogState = _useState4[1];\n var _useState5 = useState(true),\n _useState6 = _slicedToArray(_useState5, 2),\n isLoading = _useState6[0],\n setIsLoading = _useState6[1]; // For loader purpose\n\n // Using L10N html to replace dangerouslySetInnerHTML\n var getHTMLElement = function (options) {\n return getContent({\n content: {\n innerMessage: options.message\n },\n path: 'innerMessage',\n useHTML: options.useHTML || false\n });\n };\n\n // fire fpti ac event for each alert shown on the page\n var handleFPTIsForAlertsShown = function (alerts) {\n if (Array.isArray(alerts) && alerts.length > 0) {\n alerts.forEach(function (alert) {\n var fptiData = _objectSpread(_objectSpread({}, fptiOptions), {}, {\n comp: componentName,\n event_name: \"hc_alert_\".concat(alert.messageType, \"_shown_in_\").concat(pageName, \"_page\")\n });\n recordEvent(fptiData);\n });\n }\n };\n\n // Filter all the alerts which are closed in that session.\n var filterAlertsBySession = function (alerts) {\n var alertsInSession = getDataFromSession(ALERTS_SESSION_KEY);\n if (alertsInSession) {\n return alerts.filter(function (alert) {\n return !alertsInSession.includes(alert.docid);\n });\n }\n return alerts;\n };\n\n // Function to set/update final data in state\n var setDataInState = function (responseData) {\n var webAlerts = responseData.webAlerts || [];\n webAlerts = filterAlertsBySession(webAlerts);\n handleFPTIsForAlertsShown(webAlerts);\n return setAlertsState(_objectSpread(_objectSpread({}, alertsState), {}, {\n info: _objectSpread(_objectSpread({}, responseData.info), {}, {\n directionality: getDirectionality(responseData)\n }),\n alertContent: webAlerts,\n metaData: responseData.metaData\n }));\n };\n\n // Service Call\n var getAlertsContent = function () {\n setIsLoading(true);\n getData(getAlertsApiUrl(pageName)).then(function (response) {\n var data = response.data;\n setDataInState(data);\n setIsLoading(false);\n }).catch(function () {\n var errorFPTIOptions = _objectSpread(_objectSpread({}, fptiOptions), {}, {\n comp: componentName,\n event_name: \"hc_alert_service_error\"\n });\n recordEvent(errorFPTIOptions);\n setAlertsState(_objectSpread(_objectSpread({}, alertsState), {}, {\n alertContent: []\n }));\n setIsLoading(false);\n });\n };\n\n /* eslint-disable react-hooks/exhaustive-deps */\n useEffect(function () {\n var timeoutId;\n if (devMode) {\n timeoutId = setTimeout(function () {\n setDataInState(devData);\n setIsLoading(false);\n }, 2000);\n } else {\n getAlertsContent();\n window.dispatchEvent(new Event('resize'));\n }\n\n // Return a cleanup function that clears the timeout\n return function () {\n clearTimeout(timeoutId);\n };\n }, []);\n\n // When any links in the Alert content is clicked\n var handleAlertLinkClick = function (e, link, messageType, isDialogClick) {\n var href = link.getAttribute('href');\n var isDialog = isDialogClick ? '-dialog' : '';\n\n // Broken link tracking\n if (!href) {\n e.preventDefault();\n recordClickEvent(_objectSpread(_objectSpread({}, fptiOptions), {}, {\n comp: componentName,\n page: fptiOptions.page,\n link: \"alert|\".concat(messageType, \"|content-link|broken-link|clicked\"),\n event_name: \"hc_alert_content_broken_link_clicked_in_\".concat(pageName, \"_page\")\n }));\n } else {\n var formattedLink = \"alert|\".concat(messageType, \"|content-link|clicked|\").concat(href);\n if (isDialog) {\n formattedLink = \"alert|\".concat(messageType, \"|content-link|alert-dialog|clicked|\").concat(href);\n }\n recordClickEvent(_objectSpread(_objectSpread({}, fptiOptions), {}, {\n comp: componentName,\n page: (fptiOptions.page + isDialog).trim(),\n link: formattedLink,\n event_name: \"hc_alert_content_link_clicked_in_\".concat(pageName, \"_page\")\n }));\n }\n };\n\n // add event listener for links in alert content\n var addListenerForContentLinks = function (contentLinks, messageType, isDialogClick) {\n Array.from(contentLinks).forEach(function (link) {\n link.addEventListener('click', function (e) {\n return handleAlertLinkClick(e, link, messageType, isDialogClick);\n });\n });\n };\n\n // check if we should add click listener to avoid duplicate fpti\n var shouldAddListener = function (contentLinks, isDialogContent, messageType) {\n // check for normal alert content\n if (contentLinks.length > 0 && !alertsState.listenerForContentLink && !isDialogContent) {\n setAlertsState(_objectSpread(_objectSpread({}, alertsState), {}, {\n listenerForContentLink: true\n }));\n addListenerForContentLinks(contentLinks, messageType, false);\n }\n\n // check for dialog content\n if (contentLinks.length > 0 && Object.keys(dialogState.dialogAlert).length !== 0 && isDialogContent && !dialogState.listenerForContentLink) {\n setDialogState(_objectSpread(_objectSpread({}, dialogState), {}, {\n listenerForContentLink: true\n }));\n addListenerForContentLinks(contentLinks, messageType, true);\n }\n };\n\n // Parsing the links in alert content\n var parseContent = function (content, messageType, isDialogContent) {\n // Adding setTimeout on top as tag element is not picked immediately safari and IE versions\n setTimeout(function () {\n if (!content) {\n return;\n }\n var contentLinks = content.querySelectorAll('a[href]');\n // determine if we need to add click event lisener\n shouldAddListener(contentLinks, isDialogContent, messageType);\n });\n };\n\n // store docid in the session when user clicks on close button\n var removeAlertToTheUser = function (docid) {\n var closedAlertsInSession = getDataFromSession(ALERTS_SESSION_KEY) || [];\n closedAlertsInSession.push(docid);\n setDataInSession(ALERTS_SESSION_KEY, closedAlertsInSession);\n setAlertsState(_objectSpread(_objectSpread({}, alertsState), {}, {\n alertContent: filterAlertsBySession(alertsState.alertContent)\n }));\n };\n var renderAlerts = function () {\n return alertsState.alertContent.map(function (alert) {\n return /*#__PURE__*/React.createElement(Alert, {\n alertData: alert,\n key: alert.docid,\n getHTMLElement: getHTMLElement,\n handleRemoveAlert: removeAlertToTheUser,\n parseContent: parseContent,\n metaData: alertsState.metaData,\n info: alertsState.info,\n fptiOptions: fptiOptions,\n setDialogState: setDialogState,\n pageName: pageName,\n componentName: componentName\n });\n });\n };\n return /*#__PURE__*/React.createElement(ErrorBoundary, {\n suppressError: suppressError,\n cbOnError: function handleErrorBoundaryCatch(error) {\n var finalFPTIOptions = _objectSpread(_objectSpread({}, fptiOptions), {}, {\n comp: componentName,\n event_name: 'hc_alert_error_component_loading'\n });\n recordErrorEvent(error);\n recordEvent(finalFPTIOptions);\n }\n }, /*#__PURE__*/React.createElement(ThemeProvider, {\n theme: PAYPAL_THEME\n }, function renderHcAlerts() {\n if (isLoading) {\n return /*#__PURE__*/React.createElement(Loader, {\n spinnerSize: spinnerSize,\n spinnerType: spinnerType,\n customLoaderStyle: customLoaderStyle\n });\n }\n if (Array.isArray(alertsState.alertContent) && alertsState.alertContent.length > 0) {\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"hc_alerts__container\",\n \"data-testid\": \"hc-alerts-container\",\n dir: alertsState.info.directionality\n }, /*#__PURE__*/React.createElement(HcDialog, {\n dialogState: dialogState,\n setDialogState: setDialogState,\n parseContent: parseContent,\n getHTMLElement: getHTMLElement,\n fptiOptions: fptiOptions,\n handleRemoveAlert: removeAlertToTheUser,\n pageName: pageName,\n componentName: componentName\n }), renderAlerts());\n }\n return null;\n }()));\n};\nAlertsContainer.propTypes = {\n suppressError: PropTypes.bool,\n componentName: PropTypes.string.isRequired,\n fptiOptions: PropTypes.shape(FPTI_OBJECT).isRequired,\n pageName: PropTypes.string.isRequired,\n spinnerType: PropTypes.oneOf([spinnerTypes.SHIMMER, spinnerTypes.LOADER]),\n spinnerSize: PropTypes.string,\n customLoaderStyle: PropTypes.shape({}),\n // development/github pages purpose only\n devMode: PropTypes.bool,\n devData: PropTypes.shape({})\n};\nAlertsContainer.defaultProps = {\n suppressError: true,\n devMode: false,\n devData: {},\n spinnerSize: sizes.LARGE,\n spinnerType: spinnerTypes.SHIMMER\n};\n\nexport { AlertsContainer as HcAlert };\n","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}"],"names":["_defineProperty","obj","key","value","Object","defineProperty","enumerable","configurable","writable","_objectSpread","target","i","arguments","length","source","ownKeys","keys","getOwnPropertySymbols","concat","filter","sym","getOwnPropertyDescriptor","forEach","object","commonjsGlobal","window","g","self","reUnescapedHtml","reHasUnescapedHtml","RegExp","freeGlobal","freeSelf","root","Function","escapeHtmlChar","undefined","objectToString","prototype","toString","Symbol$1","Symbol","symbolProto","symbolToString","lodash_escape","string","isObjectLike","call","isSymbol","result","baseToString","test","replace","oget","path","def","res","split","reduce","prev","curr","logger","type","log","bind","warn","error","info","globalContent","complete","logWarnings","ITERATOR_SYMBOL","iterator","onContentMissingNoop","getContent","options","_options$content","content","_options$onContentMis","onContentMissing","getCurriedGetContent","retrievedContent","Array","isArray","map","c","getReactContent","ppReactL10nGetContent","data","incomingOptions","Boolean","join","pathAsString","String","assign","html","useHTML","timesCalled","resultAtPath","next","done","getOwnPropertyNames","method","contentString","__html","interpolatedContent","chunk","index","arr","match","_arrayWithHoles","_arr","_n","_d","_e","_s","_i","push","err","_iterableToArrayLimit","TypeError","_nonIterableRest","val","Error","joinedContent","every","dangerouslySetInnerHTML","getData","_ref","_callee","url","config","req","response","_args","_context","XMLHttpRequest","open","withCredentials","Promise","resolve","reject","onreadystatechange","readyState","status","JSON","parse","responseText","addEventListener","event","send","sent","abrupt","t0","stop","apply","this","isEmpty","trim","getDirectionality","__htmlDir","document","getElementsByTagName","dir","directionality","e","getDataFromSession","sessionStorage","getItem","ownKeys$3","enumerableOnly","symbols","_objectSpread$3","getOwnPropertyDescriptors","defineProperties","analyticsObject","PAYPAL","analytics","getFPTIOptions","fptiOptions","eventType","fpti","stringify","deepClone","erpg","erfd","eccd","page","pgrp","link","pgln","pglk","event_name","comp","recordClickEvent","Analytics","recordClick","recordEvent","FPTI_OBJECT","spinnerTypes","SHIMMER","LOADER","ErrorBoundary","_React$Component","Derived","hasNativeReflectConstruct","_super","Reflect","construct","sham","Proxy","valueOf","_isNativeReflectConstruct","Super","NewTarget","constructor","props","_this","state","errorInfo","setState","cbOnError","suppressError","children","ownKeys$2","_objectSpread$2","HcDialog","dialogState","setDialogState","parseContent","getHTMLElement","handleRemoveAlert","pageName","componentName","onClose","stopPropagation","alertCloseFptiOptions","dialogAlert","messageType","docid","dialogIsOpen","handleDialogClose","isOpen","className","style","marginLeft","marginRight","innerHTML","message","ref","el","ownKeys$1","_objectSpread$1","propTypes","isRequired","alertTypeMapping","critical","warning","Alert","alertData","metaData","_useState","useState","height","innerHeight","width","innerWidth","_useState2","alert","isInverse","ele","setDimensions","handleResize","useEffect","removeEventListener","id","closeButton","onClick","handleOnClickClose","getElementById","scrollHeight","clientHeight","inverse","secondary","handleReadMoreClick","readMoreLabel","Loader","customStyle","spinnerType","spinnerSize","customLoaderStyle","isLoading","display","justifyContent","screenReaderText","size","ALERTS_SESSION_KEY","AlertsContainer","devData","devMode","alertContent","listenerForContentLink","alertsState","setAlertsState","_useState3","_useState4","_useState5","_useState6","setIsLoading","innerMessage","filterAlertsBySession","alerts","alertsInSession","includes","setDataInState","responseData","webAlerts","fptiData","timeoutId","setTimeout","getAlertsApiUrl","then","catch","errorFPTIOptions","dispatchEvent","Event","clearTimeout","addListenerForContentLinks","contentLinks","isDialogClick","from","href","getAttribute","isDialog","formattedLink","preventDefault","handleAlertLinkClick","isDialogContent","shouldAddListener","querySelectorAll","removeAlertToTheUser","closedAlertsInSession","setItem","finalFPTIOptions","trackJSError","recordErrorEvent","theme","defaultProps","_inherits","subClass","superClass","create","_possibleConstructorReturn"],"sourceRoot":""}