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A8C,GAAY,EAAAoF,CAAA,cAAE,CAAAE,CAAkB,CAAgBzD,gBAAA,CAAAA,CAAA,MAC9C3E,CAAQ,CAAA8C,GAAA,EAAA0B,CAAA,UAAE,CAAAE,CAAkB,CAAgBC,gBAAA,CAAAA,CAAA,OAIjF,KAX6E3E,CAAA,CAAA8C,GAAA,EAAAlC,CAAA,CAAAkO,EAAA,cAC5E,CAYF,EAEuBF,EAAA,CAAA1O,CAAA,CAAAgE,EAAA,CAAA0D,GAAA,CAAAxD,UAAA,eAKnB,cAAM,GAAA2F,EAAA,GAAAhE,CAAA,CAAA8B,EAAA,iBAAAnN,CAAA,CAAAC,CAAA,CAAAC,CAAA,GC9IsC,CAAAoB,OAAA,CAAApB,CAAA,oBAAAF,CAAA,GCAf,CAAAsB,OAAA,qoBAAApB,CAAA,IAAAmU,CAAA,+CAAAnU,CAAA,CAAAA,CAAA,CAAA2M,CAAA,SAAAyH,IAAA,CAAApU,CAAA,CAAAmU,CAAA","sources":["webpack://_N_E/./node_modules/@ndhoule/each/index.js","webpack://_N_E/./node_modules/@ndhoule/keys/index.js","webpack://_N_E/./node_modules/@ndhoule/map/index.js","webpack://_N_E/./node_modules/@segment/snippet/dist/max.template.js","webpack://_N_E/./node_modules/@segment/snippet/dist/min.template.js","webpack://_N_E/./node_modules/@segment/snippet/lib/index.js","webpack://_N_E/./node_modules/jwt-decode/build/jwt-decode.esm.js","webpack://_N_E/?4806","webpack://_N_E/./pages/mvpd/components/SearchInput/index.tsx","webpack://_N_E/./pages/mvpd/components/ProviderSearchList/index.tsx","webpack://_N_E/./pages/mvpd/components/ProviderButton/index.tsx","webpack://_N_E/./pages/mvpd/components/TopProviders/index.tsx","webpack://_N_E/./pages/mvpd/index.page.tsx","webpack://_N_E/./node_modules/next/router.js","webpack://_N_E/./images/global/clearButton.png","webpack://_N_E/"],"sourcesContent":["'use strict';\n\n/*\n * Module dependencies.\n */\n\nvar keys = require('@ndhoule/keys');\n\nvar objToString = Object.prototype.toString;\n\n/**\n * Tests if a value is a number.\n *\n * @name isNumber\n * @api private\n * @param {*} val The value to test.\n * @return {boolean} Returns `true` if `val` is a number, otherwise `false`.\n */\n// TODO: Move to library\nvar isNumber = function isNumber(val) {\n var type = typeof val;\n return type === 'number' || (type === 'object' && objToString.call(val) === '[object Number]');\n};\n\n/**\n * Tests if a value is an array.\n *\n * @name isArray\n * @api private\n * @param {*} val The value to test.\n * @return {boolean} Returns `true` if the value is an array, otherwise `false`.\n */\n// TODO: Move to library\nvar isArray = typeof Array.isArray === 'function' ? Array.isArray : function isArray(val) {\n return objToString.call(val) === '[object Array]';\n};\n\n/**\n * Tests if a value is array-like. Array-like means the value is not a function and has a numeric\n * `.length` property.\n *\n * @name isArrayLike\n * @api private\n * @param {*} val\n * @return {boolean}\n */\n// TODO: Move to library\nvar isArrayLike = function isArrayLike(val) {\n return val != null && (isArray(val) || (val !== 'function' && isNumber(val.length)));\n};\n\n/**\n * Internal implementation of `each`. Works on arrays and array-like data structures.\n *\n * @name arrayEach\n * @api private\n * @param {Function(value, key, collection)} iterator The function to invoke per iteration.\n * @param {Array} array The array(-like) structure to iterate over.\n * @return {undefined}\n */\nvar arrayEach = function arrayEach(iterator, array) {\n for (var i = 0; i < array.length; i += 1) {\n // Break iteration early if `iterator` returns `false`\n if (iterator(array[i], i, array) === false) {\n break;\n }\n }\n};\n\n/**\n * Internal implementation of `each`. Works on objects.\n *\n * @name baseEach\n * @api private\n * @param {Function(value, key, collection)} iterator The function to invoke per iteration.\n * @param {Object} object The object to iterate over.\n * @return {undefined}\n */\nvar baseEach = function baseEach(iterator, object) {\n var ks = keys(object);\n\n for (var i = 0; i < ks.length; i += 1) {\n // Break iteration early if `iterator` returns `false`\n if (iterator(object[ks[i]], ks[i], object) === false) {\n break;\n }\n }\n};\n\n/**\n * Iterate over an input collection, invoking an `iterator` function for each element in the\n * collection and passing to it three arguments: `(value, index, collection)`. The `iterator`\n * function can end iteration early by returning `false`.\n *\n * @name each\n * @api public\n * @param {Function(value, key, collection)} iterator The function to invoke per iteration.\n * @param {Array|Object|string} collection The collection to iterate over.\n * @return {undefined} Because `each` is run only for side effects, always returns `undefined`.\n * @example\n * var log = console.log.bind(console);\n *\n * each(log, ['a', 'b', 'c']);\n * //-> 'a', 0, ['a', 'b', 'c']\n * //-> 'b', 1, ['a', 'b', 'c']\n * //-> 'c', 2, ['a', 'b', 'c']\n * //=> undefined\n *\n * each(log, 'tim');\n * //-> 't', 2, 'tim'\n * //-> 'i', 1, 'tim'\n * //-> 'm', 0, 'tim'\n * //=> undefined\n *\n * // Note: Iteration order not guaranteed across environments\n * each(log, { name: 'tim', occupation: 'enchanter' });\n * //-> 'tim', 'name', { name: 'tim', occupation: 'enchanter' }\n * //-> 'enchanter', 'occupation', { name: 'tim', occupation: 'enchanter' }\n * //=> undefined\n */\nvar each = function each(iterator, collection) {\n return (isArrayLike(collection) ? arrayEach : baseEach).call(this, iterator, collection);\n};\n\n/*\n * Exports.\n */\n\nmodule.exports = each;\n","'use strict';\n\nvar hop = Object.prototype.hasOwnProperty;\nvar strCharAt = String.prototype.charAt;\nvar toStr = Object.prototype.toString;\n\n/**\n * Returns the character at a given index.\n *\n * @param {string} str\n * @param {number} index\n * @return {string|undefined}\n */\n// TODO: Move to a library\nvar charAt = function(str, index) {\n return strCharAt.call(str, index);\n};\n\n/**\n * hasOwnProperty, wrapped as a function.\n *\n * @name has\n * @api private\n * @param {*} context\n * @param {string|number} prop\n * @return {boolean}\n */\n\n// TODO: Move to a library\nvar has = function has(context, prop) {\n return hop.call(context, prop);\n};\n\n/**\n * Returns true if a value is a string, otherwise false.\n *\n * @name isString\n * @api private\n * @param {*} val\n * @return {boolean}\n */\n\n// TODO: Move to a library\nvar isString = function isString(val) {\n return toStr.call(val) === '[object String]';\n};\n\n/**\n * Returns true if a value is array-like, otherwise false. Array-like means a\n * value is not null, undefined, or a function, and has a numeric `length`\n * property.\n *\n * @name isArrayLike\n * @api private\n * @param {*} val\n * @return {boolean}\n */\n// TODO: Move to a library\nvar isArrayLike = function isArrayLike(val) {\n return val != null && (typeof val !== 'function' && typeof val.length === 'number');\n};\n\n\n/**\n * indexKeys\n *\n * @name indexKeys\n * @api private\n * @param {} target\n * @param {Function} pred\n * @return {Array}\n */\nvar indexKeys = function indexKeys(target, pred) {\n pred = pred || has;\n\n var results = [];\n\n for (var i = 0, len = target.length; i < len; i += 1) {\n if (pred(target, i)) {\n results.push(String(i));\n }\n }\n\n return results;\n};\n\n/**\n * Returns an array of an object's owned keys.\n *\n * @name objectKeys\n * @api private\n * @param {*} target\n * @param {Function} pred Predicate function used to include/exclude values from\n * the resulting array.\n * @return {Array}\n */\nvar objectKeys = function objectKeys(target, pred) {\n pred = pred || has;\n\n var results = [];\n\n for (var key in target) {\n if (pred(target, key)) {\n results.push(String(key));\n }\n }\n\n return results;\n};\n\n/**\n * Creates an array composed of all keys on the input object. Ignores any non-enumerable properties.\n * More permissive than the native `Object.keys` function (non-objects will not throw errors).\n *\n * @name keys\n * @api public\n * @category Object\n * @param {Object} source The value to retrieve keys from.\n * @return {Array} An array containing all the input `source`'s keys.\n * @example\n * keys({ likes: 'avocado', hates: 'pineapple' });\n * //=> ['likes', 'pineapple'];\n *\n * // Ignores non-enumerable properties\n * var hasHiddenKey = { name: 'Tim' };\n * Object.defineProperty(hasHiddenKey, 'hidden', {\n * value: 'i am not enumerable!',\n * enumerable: false\n * })\n * keys(hasHiddenKey);\n * //=> ['name'];\n *\n * // Works on arrays\n * keys(['a', 'b', 'c']);\n * //=> ['0', '1', '2']\n *\n * // Skips unpopulated indices in sparse arrays\n * var arr = [1];\n * arr[4] = 4;\n * keys(arr);\n * //=> ['0', '4']\n */\nvar keys = function keys(source) {\n if (source == null) {\n return [];\n }\n\n // IE6-8 compatibility (string)\n if (isString(source)) {\n return indexKeys(source, charAt);\n }\n\n // IE6-8 compatibility (arguments)\n if (isArrayLike(source)) {\n return indexKeys(source, has);\n }\n\n return objectKeys(source);\n};\n\n/*\n * Exports.\n */\n\nmodule.exports = keys;\n","'use strict';\n\n/*\n * Module dependencies.\n */\n\nvar each = require('@ndhoule/each');\n\n/**\n * Produce a new array by passing each value in the input `collection` through a transformative\n * `iterator` function. The `iterator` function is passed three arguments:\n * `(value, index, collection)`.\n *\n * @name map\n * @api public\n * @param {Function} iterator The transformer function to invoke per iteration.\n * @param {Array} collection The collection to iterate over.\n * @return {Array} A new array containing the results of each `iterator` invocation.\n * @example\n * var square = function(x) { return x * x; };\n *\n * map(square, [1, 2, 3]);\n * //=> [1, 4, 9]\n */\nvar map = function map(iterator, collection) {\n if (typeof iterator !== 'function') {\n throw new TypeError('Expected a function but received a ' + typeof iterator);\n }\n\n var result = [];\n\n each(function(val, i, collection) {\n result.push(iterator(val, i, collection));\n }, collection);\n\n return result;\n};\n\n/*\n * Exports.\n */\n\nmodule.exports = map;\n","module.exports=function(settings) {\nvar __t, __p = '';\n__p += '(function(){\\n\\n // Create a queue, but don\\'t obliterate an existing one!\\n var analytics = window.analytics = window.analytics || [];\\n\\n // If the real analytics.js is already on the page return.\\n if (analytics.initialize) return;\\n\\n // If the snippet was invoked already show an error.\\n if (analytics.invoked) {\\n if (window.console && console.error) {\\n console.error(\\'Segment snippet included twice.\\');\\n }\\n return;\\n }\\n\\n // Invoked flag, to make sure the snippet\\n // is never invoked twice.\\n analytics.invoked = true;\\n\\n // A list of the methods in Analytics.js to stub.\\n analytics.methods = [\\n \\'trackSubmit\\',\\n \\'trackClick\\',\\n \\'trackLink\\',\\n \\'trackForm\\',\\n \\'pageview\\',\\n \\'identify\\',\\n \\'reset\\',\\n \\'group\\',\\n \\'track\\',\\n \\'ready\\',\\n \\'alias\\',\\n \\'debug\\',\\n \\'page\\',\\n \\'once\\',\\n \\'off\\',\\n \\'on\\',\\n \\'addSourceMiddleware\\',\\n \\'addIntegrationMiddleware\\',\\n \\'setAnonymousId\\',\\n \\'addDestinationMiddleware\\'\\n ];\\n\\n // Define a factory to create stubs. These are placeholders\\n // for methods in Analytics.js so that you never have to wait\\n // for it to load to actually record data. The `method` is\\n // stored as the first argument, so we can replay the data.\\n analytics.factory = function(method){\\n return function(){\\n var args = Array.prototype.slice.call(arguments);\\n args.unshift(method);\\n analytics.push(args);\\n return analytics;\\n };\\n };\\n\\n // For each of our methods, generate a queueing stub.\\n for (var i = 0; i < analytics.methods.length; i++) {\\n var key = analytics.methods[i];\\n analytics[key] = analytics.factory(key);\\n }\\n\\n // Define a method to load Analytics.js from our CDN,\\n // and that will be sure to only ever load it once.\\n analytics.load = function(key, options){\\n // Create an async script element based on your key.\\n var script = document.createElement(\\'script\\');\\n script.type = \\'text/javascript\\';\\n script.async = true;\\n script.src = \"https://' +\n((__t = ( settings.host )) == null ? '' : __t) +\n'' +\n((__t = ( settings.ajsPath )) == null ? '' : __t) +\n'\";\\n\\n // Insert our script next to the first script element.\\n var first = document.getElementsByTagName(\\'script\\')[0];\\n first.parentNode.insertBefore(script, first);\\n analytics._loadOptions = options;\\n };\\n analytics._writeKey = \\'' +\n((__t = ( settings.apiKey )) == null ? '' : __t) +\n'\\';\\n\\n ' +\n((__t = ( settings.optionalCDN )) == null ? '' : __t) +\n'\\n\\n // Add a version to keep track of what\\'s in the wild.\\n analytics.SNIPPET_VERSION = \\'4.15.3\\';\\n\\n // Load Analytics.js with your key, which will automatically\\n // load the tools you\\'ve enabled for your account. Boosh!\\n ' +\n((__t = ( settings.load )) == null ? '' : __t) +\n'\\n\\n // Make the first page call to load the integrations. If\\n // you\\'d like to manually name or tag the page, edit or\\n // move this call however you\\'d like.\\n ' +\n((__t = ( settings.page )) == null ? '' : __t) +\n'\\n})();\\n';\nreturn __p\n}","module.exports=function(settings) {\nvar __t, __p = '';\n__p += '!function(){var analytics=window.analytics=window.analytics||[];if(!analytics.initialize)if(analytics.invoked)window.console&&console.error&&console.error(\"Segment snippet included twice.\");else{analytics.invoked=!0;analytics.methods=[\"trackSubmit\",\"trackClick\",\"trackLink\",\"trackForm\",\"pageview\",\"identify\",\"reset\",\"group\",\"track\",\"ready\",\"alias\",\"debug\",\"page\",\"once\",\"off\",\"on\",\"addSourceMiddleware\",\"addIntegrationMiddleware\",\"setAnonymousId\",\"addDestinationMiddleware\"];analytics.factory=function(e){return function(){var t=Array.prototype.slice.call(arguments);t.unshift(e);analytics.push(t);return analytics}};for(var e=0;e>(-2*a&6)):0)o=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\".indexOf(o);return c};function t(e){var t=e.replace(/-/g,\"+\").replace(/_/g,\"/\");switch(t.length%4){case 0:break;case 2:t+=\"==\";break;case 3:t+=\"=\";break;default:throw\"Illegal base64url string!\"}try{return function(e){return decodeURIComponent(r(e).replace(/(.)/g,(function(e,r){var t=r.charCodeAt(0).toString(16).toUpperCase();return t.length<2&&(t=\"0\"+t),\"%\"+t})))}(t)}catch(e){return r(t)}}function n(e){this.message=e}function o(e,r){if(\"string\"!=typeof e)throw new n(\"Invalid token specified\");var o=!0===(r=r||{}).header?0:1;try{return JSON.parse(t(e.split(\".\")[o]))}catch(e){throw new n(\"Invalid token specified: \"+e.message)}}n.prototype=new Error,n.prototype.name=\"InvalidTokenError\";export default o;export{n as InvalidTokenError};\n//# sourceMappingURL=jwt-decode.esm.js.map\n","\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/mvpd\",\n function () {\n return require(\"private-next-pages/mvpd/index.page.tsx\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/mvpd\"])\n });\n }\n ","import React, { useRef } from 'react';\nimport styled from 'styled-components';\nimport color from 'styles/colors';\nimport { handleTrackEvent, Events } from 'lib/analytics/trackCalls';\nimport { ROUTE_MVPD } from 'constants/index';\nimport { Image, Icons } from 'components/common';\nimport clearButton from 'images/global/clearButton.png';\nimport { ProviderSearchListElementsText } from '../ProviderSearchList';\n\nexport type Props = {\n searchQuery: string;\n setSearchQuery: (s: string) => void;\n setFilteredList: (p: never[]) => void;\n handleChange: (e: React.ChangeEvent) => void;\n setIsFocusedTrue: () => void;\n setIsFocusedFalse: () => void;\n isFocused: boolean;\n};\n\nconst handleSearchProviderInputClick = () => {\n handleTrackEvent({\n eventName: Events.BUTTON_LINK_SELECTED,\n props: {\n page_item_title: ProviderSearchListElementsText.searchAllProvidersInput,\n page_destination_url: window.location.origin + ROUTE_MVPD,\n },\n });\n};\n\nconst SearchInput = ({\n setFilteredList,\n searchQuery,\n handleChange,\n setSearchQuery,\n setIsFocusedTrue,\n setIsFocusedFalse,\n isFocused,\n}: Props): JSX.Element | null => {\n const searchInput = useRef(null);\n\n return (\n <>\n
\n
\n {\n handleChange(e);\n }}\n className=\"search\"\n type=\"text\"\n value={searchQuery}\n ref={searchInput}\n onFocus={setIsFocusedTrue}\n onKeyPress={(e) => {\n e.key === 'Enter' && e.preventDefault();\n }}\n onClick={handleSearchProviderInputClick}\n />\n {isFocused && (\n
\n {\n setIsFocusedFalse();\n setFilteredList([]);\n setSearchQuery('');\n }}\n src={clearButton}\n alt=\"Close button\"\n />\n
\n )}\n {!isFocused && (\n
\n <>\n
\n \n
\n {ProviderSearchListElementsText.searchAllProvidersInput}\n \n
\n )}\n
\n
\n \n );\n};\n\nexport default React.memo(SearchInput);\n\nconst Form = styled.form`\n display: flex;\n align-items: center;\n justify-content: center;\n background: rgba(255, 255, 255, 0.05);\n border-radius: 3px;\n border: 1px solid rgba(255, 255, 255, 0.1);\n height: 50px;\n width: calc(100vw - 45px);\n max-width: 330px;\n position: relative;\n margin: 20px auto 0;\n input:focus {\n outline: none;\n }\n .searchWrap {\n display: flex;\n height: inherit;\n justify-content: center;\n align-items: center;\n }\n\n .search {\n background: 0 0;\n border: none;\n font-family: 'Graphik', sans-serif;\n width: calc(100% - 60px);\n height: 30px;\n margin-right: 40px;\n line-height: 30px;\n letter-spacing: 0;\n font-weight: 400;\n color: ${color.white};\n font-size: 14px;\n }\n\n .closeWrap {\n position: absolute;\n right: 15px;\n bottom: 10px;\n .close {\n display: none;\n position: absolute;\n height: 18px;\n width: 18px;\n top: 16px;\n right: 16px;\n border: none;\n outline: 0;\n cursor: pointer;\n }\n }\n\n .searchMag {\n svg {\n opacity: 0.5;\n margin-right: 0.5rem;\n width: 17px;\n }\n }\n\n .searchPlaceholder {\n width: 100%;\n position: absolute;\n font-family: 'Graphik', sans-serif;\n display: flex;\n align-items: center;\n justify-content: center;\n margin: 0 auto;\n pointer-events: none;\n span {\n color: ${color.white};\n font-family: 'Graphik', sans-serif;\n font-size: 14px;\n font-weight: 500;\n height: 30px;\n letter-spacing: 0;\n line-height: 30px;\n }\n }\n`;\n","import React, { useState } from 'react';\nimport styled from 'styled-components';\nimport { useBoolean } from 'lib/hooks';\nimport { MemberEntity } from 'model/api/GetMvpds';\nimport { handleTrackEvent, Events } from 'lib/analytics/trackCalls';\nimport SearchInput from '../SearchInput';\n\nexport enum ProviderSearchListElementsText {\n searchAllProvidersInput = 'Search All Providers',\n dontHaveProviderLink = `I don't have a TV Provider`,\n noProvidersFoundText = 'No providers found',\n}\n\nexport type Props = {\n mvpdList: MemberEntity[] | null | undefined;\n handleMVPDSelect: (adobePassId: string) => void;\n};\n\nconst LINKS = {\n goWatchLink: 'https://www.foxsports.com/gowatch',\n};\n\nconst ProviderSearchList = ({ mvpdList = [], handleMVPDSelect }: Props): JSX.Element | null => {\n const [filteredList, setFilteredList] = useState(null);\n const [searchQuery, setSearchQuery] = useState('');\n const {\n value: isFocused,\n setTrue: setIsFocusedTrue,\n setFalse: setIsFocusedFalse,\n } = useBoolean(false);\n\n const handleChange = (e: { target: { value: string }; preventDefault(): void }) => {\n e.preventDefault();\n setSearchQuery(e.target.value);\n const filteredMvpds: MemberEntity[] | null | undefined = mvpdList?.filter(\n (mvpd) => mvpd.name.toLowerCase().search(e.target.value.toLowerCase()) !== -1,\n );\n setFilteredList(filteredMvpds);\n };\n\n const handleDontHaveProviderClick = () => {\n handleTrackEvent({\n eventName: Events.BUTTON_LINK_SELECTED,\n props: {\n page_item_title: ProviderSearchListElementsText.dontHaveProviderLink,\n page_destination_url: LINKS.goWatchLink,\n },\n });\n };\n\n if (!mvpdList?.length) return null;\n\n return (\n \n {mvpdList && (\n <>\n \n \n {isFocused && filteredList?.length === 0 && (\n
{ProviderSearchListElementsText.noProvidersFoundText}
\n )}\n {/*
\n \n {ProviderSearchListElementsText.dontHaveProviderLink}\n \n
*/}\n \n )}\n
\n );\n};\n\nexport default React.memo(ProviderSearchList);\n\nconst Search = styled.section`\n .providerList {\n max-width: 330px;\n margin: 0 auto;\n padding: 2rem 0 0 1rem;\n a {\n cursor: pointer;\n }\n li {\n margin: 0;\n display: block;\n width: 100%;\n max-width: 668px;\n height: 48px;\n text-align: left;\n }\n }\n\n .noResults {\n color: $Alto;\n font-family: Graphik, sans-serif;\n font-size: 18px;\n padding-left: 15px;\n font-style: italic;\n font-weight: 400;\n height: 50px;\n letter-spacing: -0.29px;\n line-height: 50px;\n width: 330px;\n text-align: left;\n margin: 0 auto;\n }\n .notFoundContainer {\n margin-bottom: 20px;\n font-size: 14px;\n font-weight: 400;\n height: 20px;\n letter-spacing: 0;\n line-height: 20px;\n text-align: center;\n width: 100%;\n position: relative;\n display: flex;\n justify-content: center;\n color: $white;\n font-family: Graphik, sans-serif;\n .notFoundLink {\n color: $white;\n text-decoration: none;\n opacity: 0.7;\n }\n }\n`;\n","import React from 'react';\nimport styled from 'styled-components';\nimport color from 'styles/colors';\nimport { respondTo } from 'styles/helper';\nimport { fadein } from 'styles/animations';\nimport Image from 'components/common/Image';\nimport Link from 'components/common/Link';\n\nexport type Props = {\n provider: string;\n url: string;\n link?: string;\n handleMVPDSelect?: () => void;\n};\n\nconst ProviderButton = ({ provider, url, handleMVPDSelect, link = '' }: Props): JSX.Element => {\n const parser = document.createElement('a');\n parser.href = url;\n return (\n \n );\n};\n\nexport default ProviderButton;\n\nconst Button = styled.button`\n position: relative;\n display: flex;\n width: 100%;\n height: 80px;\n max-height: 80px;\n align-items: center;\n justify-content: center;\n padding: 0;\n margin: 0;\n transition: all ease 300ms;\n cursor: pointer;\n ${respondTo.bp_767`\n height: 100px;\n max-height: 100px;\n `}\n img {\n width: 100%;\n max-width: calc((100vw - 10px - 60px) / 4);\n ${respondTo.bp_767`\n max-width: calc(100% - 85px);\n `}\n }\n &:hover {\n transform: scale(1.05);\n transition: all ease 300ms;\n }\n &:not(:hover):not(:active) {\n border: 1px solid ${color.white10};\n background: ${color.white05};\n border-radius: 3px;\n }\n &:hover:not(.inactive),\n &:active:not(.inactive) {\n background-color: ${color.white};\n color: ${color.black};\n border: none;\n img {\n filter: grayscale(1) invert(1);\n }\n }\n`;\n\nconst ImageContainer = styled.div`\n ${fadein};\n img {\n object-fit: contain;\n }\n`;\n","import React from 'react';\nimport styled from 'styled-components';\nimport { respondTo } from 'styles/helper';\nimport { MemberEntity } from 'model/api/GetMvpds';\nimport Loader from 'components/common/Loader';\nimport ProviderButton from '../ProviderButton';\n\nexport type Props = {\n topProviders: MemberEntity[] | undefined;\n handleMVPDSelect: (adobePassId: string) => void;\n};\n\nconst TopProviders = ({ topProviders = [], handleMVPDSelect }: Props): JSX.Element => {\n if (!topProviders.length) return ;\n let className;\n if (topProviders.length === 1) {\n className = 'isSingle';\n }\n return (\n \n {topProviders?.map((item) => {\n const { logos, provider, id, adobePassId } = item;\n return (\n handleMVPDSelect(adobePassId)}\n key={id}\n provider={provider}\n url={logos?.[1]?.url || ''}\n />\n );\n })}\n \n );\n};\n\nexport default TopProviders;\n\nconst Grid = styled.section`\n position: relative;\n display: grid;\n width: 100%;\n margin-bottom: 0;\n gap: 10px;\n grid-template: repeat(5, minMax(0, 80px)) / repeat(2, 1fr);\n ${respondTo.bp_768`\n grid-template: 100px / 160px;\n width: 670px;\n grid-template: repeat(2, 100px) / repeat(5, 1fr);\n `}\n &.returning-provider-logo {\n align-content: center;\n justify-content: center;\n margin-bottom: 40px;\n grid-template: 80px / 150px;\n ${respondTo.bp_768`\n grid-template: 100px / 160px;\n `}\n }\n &.isSingle {\n grid-template: 1fr / 1fr;\n width: 160px;\n }\n`;\n","import React, { useContext, useEffect, useState } from 'react';\nimport styled from 'styled-components';\nimport { useCookies } from 'react-cookie';\nimport { useRouter } from 'next/router';\nimport jwtDecode, { JwtPayload } from 'jwt-decode';\nimport { MemberEntity, GetMvpds } from 'model/api/GetMvpds';\nimport { useFlowManager } from 'lib/hooks';\nimport { setConfigToProfile, tokenValid } from 'lib/utils/helper';\nimport { MVPDLoginResponse, Profile } from 'lib/types/profileType';\nimport { profileConfig } from 'lib/utils/configs';\nimport { logError } from 'lib/utils/logReportHelper';\nimport { AppContext } from 'context/GlobalContextProvider';\nimport { setFlowStage } from 'context/state/reducer';\nimport { Messages, Loader, SEO } from 'components/common';\nimport ProviderSearchList from './components/ProviderSearchList';\nimport TopProviders from './components/TopProviders';\nimport { fadein } from 'styles/animations';\n\nimport {\n ACCOUNT_COOKIE_NAME_FOX,\n COOKIE_CODE_INFO,\n FLOW_STAGE_MVPD_AUTH,\n FLOW_STAGE_MVPD_SELECT,\n ROUTE_HOME,\n ROUTE_SUCCESS,\n PREVIEW_PASS_5_MVPD,\n PREVIEW_PASS_60_MVPD,\n} from 'constants/index';\n\nexport type Props = {\n profile: Profile;\n};\n\nconst MVPDPage = ({ profile }: Props): JSX.Element => {\n const { dispatch } = useContext(AppContext);\n const [cookies] = useCookies([ACCOUNT_COOKIE_NAME_FOX, COOKIE_CODE_INFO]);\n const router = useRouter();\n const [mvpdList, setMvpdList] = useState([] as MemberEntity[]);\n const selectedMvpdId = cookies[COOKIE_CODE_INFO]?.selectedMvpdId || undefined;\n const selectedProvider =\n mvpdList?.filter((mvpd) => {\n return mvpd?.code === selectedMvpdId || mvpd?.adobePassId === selectedMvpdId;\n }) ?? [];\n const showAll = selectedProvider?.length === 0;\n const topTen = mvpdList?.slice(0, 10);\n const topProviders: MemberEntity[] | undefined = showAll ? topTen : selectedProvider;\n const { isNoCodeOrAccount, isAnonymous, accessToken } = useFlowManager();\n\n useEffect(() => {\n router?.prefetch(ROUTE_HOME);\n }, [router]);\n\n useEffect(() => {\n if (isNoCodeOrAccount) {\n router?.push(ROUTE_HOME);\n }\n }, [cookies, isNoCodeOrAccount, router]);\n\n useEffect(() => {\n if (!profile?.getMvpds) return;\n\n const fetchMvpds = async (val: number) => {\n try {\n const response: GetMvpds = await profile?.getMvpds?.({ itemsPerPage: val });\n const { member } = response;\n setMvpdList(\n member?.filter(\n (mvpd) =>\n mvpd.adobePassId !== PREVIEW_PASS_5_MVPD && mvpd.adobePassId !== PREVIEW_PASS_60_MVPD,\n ),\n );\n } catch (error) {\n const responseError = 'Account RegCode Error';\n logError(error, { name: responseError });\n return error;\n }\n };\n fetchMvpds(999);\n dispatch(setFlowStage(FLOW_STAGE_MVPD_SELECT));\n\n return () => {\n setMvpdList([] as MemberEntity[]);\n };\n }, [dispatch, profile]);\n\n const handleMVPDSelect = (adobePassId: string): void => {\n let updatedProfile;\n\n const getMvpdLink = async (adobePassId: string, regCode: string) => {\n if (!adobePassId) return;\n\n try {\n updatedProfile = (await setConfigToProfile(profile, {\n appName: profileConfig.appName,\n appVersion: profileConfig.appVersion,\n accessToken: isAnonymous ? accessToken : cookies[ACCOUNT_COOKIE_NAME_FOX]?.accessToken,\n })) as Profile;\n\n const getTokenTTL = jwtDecode(cookies[ACCOUNT_COOKIE_NAME_FOX]?.accessToken);\n\n const redirectUrl = `${window.location.origin}${ROUTE_SUCCESS}`;\n\n if (tokenValid(getTokenTTL)) {\n const response = await updatedProfile?.mvpdLogin?.({\n regCode,\n mvpdId: adobePassId,\n redirectUrl,\n });\n dispatch(setFlowStage(FLOW_STAGE_MVPD_AUTH));\n const { authenticateUrl } = response as MVPDLoginResponse;\n await router.push(`${authenticateUrl}`);\n }\n } catch (error) {\n const responseError = 'Error Updating Profile Account';\n logError(error, { name: responseError });\n await router.push(ROUTE_HOME);\n }\n };\n\n getMvpdLink(adobePassId, cookies[COOKIE_CODE_INFO]?.code);\n };\n\n if (isNoCodeOrAccount || !mvpdList || !topProviders) return ;\n return (\n <>\n \n \n \n \n \n \n \n ) as JSX.Element;\n};\n\nexport default MVPDPage;\n\nconst MVPD = styled.div`\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: flex-start;\n ${fadein};\n`;\n","module.exports = require('./dist/client/router')\n","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAEqADAAQAAAABAAAAEgAAAACaqbJVAAABMUlEQVQ4Ea2US27CQBBE7ZBkxTU4Btk4F+AfZQESyqmsbLKJBKfwMTgFG1gBwrwaZmDccQKWUlKpP9Nd0y0zJEkNyrLMYA5XcOMpX7mspqWaoqgDC3gLqulUu33EQReubylE56rtVsRIaJImIkFPPdfJCO5ZJzRbW7ipyL7aE+I3OIM7GHDA+YA6s8geUBtX9jwH7TRNv3AncA8P8J3cJ/YZWkwSpPVZLXS7uwA7gCN1YnswnpLQYaVD/U7qsCfpBLxIn7hORL0brfYXjtFhCz+N4tgtf1tNN/dUiR3CvvfH+Frbwq2W2yzxLGrUirGwvpxFrtWWajJQ45zcN3yET3BBbordQouFS1BQ2CsaxMVFlab/eSJSROwFNnlvPx9tGM1Pds+aqrk+1iBgLUWN/9hOkyZGRsghSyUAAAAASUVORK5CYII=\"","(self[\"webpackChunk_N_E\"] = self[\"webpackChunk_N_E\"] || []).push([[139],{\n\n/***/ 1075:\n/***/ (function(module, __unused_webpack_exports, __webpack_require__) {\n\n\"use strict\";\n\n\n/*\n * Module dependencies.\n */\n\nvar keys = __webpack_require__(4331);\n\nvar objToString = Object.prototype.toString;\n\n/**\n * Tests if a value is a number.\n *\n * @name isNumber\n * @api private\n * @param {*} val The value to test.\n * @return {boolean} Returns `true` if `val` is a number, otherwise `false`.\n */\n// TODO: Move to library\nvar isNumber = function isNumber(val) {\n var type = typeof val;\n return type === 'number' || (type === 'object' && objToString.call(val) === '[object Number]');\n};\n\n/**\n * Tests if a value is an array.\n *\n * @name isArray\n * @api private\n * @param {*} val The value to test.\n * @return {boolean} Returns `true` if the value is an array, otherwise `false`.\n */\n// TODO: Move to library\nvar isArray = typeof Array.isArray === 'function' ? Array.isArray : function isArray(val) {\n return objToString.call(val) === '[object Array]';\n};\n\n/**\n * Tests if a value is array-like. Array-like means the value is not a function and has a numeric\n * `.length` property.\n *\n * @name isArrayLike\n * @api private\n * @param {*} val\n * @return {boolean}\n */\n// TODO: Move to library\nvar isArrayLike = function isArrayLike(val) {\n return val != null && (isArray(val) || (val !== 'function' && isNumber(val.length)));\n};\n\n/**\n * Internal implementation of `each`. Works on arrays and array-like data structures.\n *\n * @name arrayEach\n * @api private\n * @param {Function(value, key, collection)} iterator The function to invoke per iteration.\n * @param {Array} array The array(-like) structure to iterate over.\n * @return {undefined}\n */\nvar arrayEach = function arrayEach(iterator, array) {\n for (var i = 0; i < array.length; i += 1) {\n // Break iteration early if `iterator` returns `false`\n if (iterator(array[i], i, array) === false) {\n break;\n }\n }\n};\n\n/**\n * Internal implementation of `each`. Works on objects.\n *\n * @name baseEach\n * @api private\n * @param {Function(value, key, collection)} iterator The function to invoke per iteration.\n * @param {Object} object The object to iterate over.\n * @return {undefined}\n */\nvar baseEach = function baseEach(iterator, object) {\n var ks = keys(object);\n\n for (var i = 0; i < ks.length; i += 1) {\n // Break iteration early if `iterator` returns `false`\n if (iterator(object[ks[i]], ks[i], object) === false) {\n break;\n }\n }\n};\n\n/**\n * Iterate over an input collection, invoking an `iterator` function for each element in the\n * collection and passing to it three arguments: `(value, index, collection)`. The `iterator`\n * function can end iteration early by returning `false`.\n *\n * @name each\n * @api public\n * @param {Function(value, key, collection)} iterator The function to invoke per iteration.\n * @param {Array|Object|string} collection The collection to iterate over.\n * @return {undefined} Because `each` is run only for side effects, always returns `undefined`.\n * @example\n * var log = console.log.bind(console);\n *\n * each(log, ['a', 'b', 'c']);\n * //-> 'a', 0, ['a', 'b', 'c']\n * //-> 'b', 1, ['a', 'b', 'c']\n * //-> 'c', 2, ['a', 'b', 'c']\n * //=> undefined\n *\n * each(log, 'tim');\n * //-> 't', 2, 'tim'\n * //-> 'i', 1, 'tim'\n * //-> 'm', 0, 'tim'\n * //=> undefined\n *\n * // Note: Iteration order not guaranteed across environments\n * each(log, { name: 'tim', occupation: 'enchanter' });\n * //-> 'tim', 'name', { name: 'tim', occupation: 'enchanter' }\n * //-> 'enchanter', 'occupation', { name: 'tim', occupation: 'enchanter' }\n * //=> undefined\n */\nvar each = function each(iterator, collection) {\n return (isArrayLike(collection) ? arrayEach : baseEach).call(this, iterator, collection);\n};\n\n/*\n * Exports.\n */\n\nmodule.exports = each;\n\n\n/***/ }),\n\n/***/ 4331:\n/***/ (function(module) {\n\n\"use strict\";\n\n\nvar hop = Object.prototype.hasOwnProperty;\nvar strCharAt = String.prototype.charAt;\nvar toStr = Object.prototype.toString;\n\n/**\n * Returns the character at a given index.\n *\n * @param {string} str\n * @param {number} index\n * @return {string|undefined}\n */\n// TODO: Move to a library\nvar charAt = function(str, index) {\n return strCharAt.call(str, index);\n};\n\n/**\n * hasOwnProperty, wrapped as a function.\n *\n * @name has\n * @api private\n * @param {*} context\n * @param {string|number} prop\n * @return {boolean}\n */\n\n// TODO: Move to a library\nvar has = function has(context, prop) {\n return hop.call(context, prop);\n};\n\n/**\n * Returns true if a value is a string, otherwise false.\n *\n * @name isString\n * @api private\n * @param {*} val\n * @return {boolean}\n */\n\n// TODO: Move to a library\nvar isString = function isString(val) {\n return toStr.call(val) === '[object String]';\n};\n\n/**\n * Returns true if a value is array-like, otherwise false. Array-like means a\n * value is not null, undefined, or a function, and has a numeric `length`\n * property.\n *\n * @name isArrayLike\n * @api private\n * @param {*} val\n * @return {boolean}\n */\n// TODO: Move to a library\nvar isArrayLike = function isArrayLike(val) {\n return val != null && (typeof val !== 'function' && typeof val.length === 'number');\n};\n\n\n/**\n * indexKeys\n *\n * @name indexKeys\n * @api private\n * @param {} target\n * @param {Function} pred\n * @return {Array}\n */\nvar indexKeys = function indexKeys(target, pred) {\n pred = pred || has;\n\n var results = [];\n\n for (var i = 0, len = target.length; i < len; i += 1) {\n if (pred(target, i)) {\n results.push(String(i));\n }\n }\n\n return results;\n};\n\n/**\n * Returns an array of an object's owned keys.\n *\n * @name objectKeys\n * @api private\n * @param {*} target\n * @param {Function} pred Predicate function used to include/exclude values from\n * the resulting array.\n * @return {Array}\n */\nvar objectKeys = function objectKeys(target, pred) {\n pred = pred || has;\n\n var results = [];\n\n for (var key in target) {\n if (pred(target, key)) {\n results.push(String(key));\n }\n }\n\n return results;\n};\n\n/**\n * Creates an array composed of all keys on the input object. Ignores any non-enumerable properties.\n * More permissive than the native `Object.keys` function (non-objects will not throw errors).\n *\n * @name keys\n * @api public\n * @category Object\n * @param {Object} source The value to retrieve keys from.\n * @return {Array} An array containing all the input `source`'s keys.\n * @example\n * keys({ likes: 'avocado', hates: 'pineapple' });\n * //=> ['likes', 'pineapple'];\n *\n * // Ignores non-enumerable properties\n * var hasHiddenKey = { name: 'Tim' };\n * Object.defineProperty(hasHiddenKey, 'hidden', {\n * value: 'i am not enumerable!',\n * enumerable: false\n * })\n * keys(hasHiddenKey);\n * //=> ['name'];\n *\n * // Works on arrays\n * keys(['a', 'b', 'c']);\n * //=> ['0', '1', '2']\n *\n * // Skips unpopulated indices in sparse arrays\n * var arr = [1];\n * arr[4] = 4;\n * keys(arr);\n * //=> ['0', '4']\n */\nvar keys = function keys(source) {\n if (source == null) {\n return [];\n }\n\n // IE6-8 compatibility (string)\n if (isString(source)) {\n return indexKeys(source, charAt);\n }\n\n // IE6-8 compatibility (arguments)\n if (isArrayLike(source)) {\n return indexKeys(source, has);\n }\n\n return objectKeys(source);\n};\n\n/*\n * Exports.\n */\n\nmodule.exports = keys;\n\n\n/***/ }),\n\n/***/ 8580:\n/***/ (function(module, __unused_webpack_exports, __webpack_require__) {\n\n\"use strict\";\n\n\n/*\n * Module dependencies.\n */\n\nvar each = __webpack_require__(1075);\n\n/**\n * Produce a new array by passing each value in the input `collection` through a transformative\n * `iterator` function. The `iterator` function is passed three arguments:\n * `(value, index, collection)`.\n *\n * @name map\n * @api public\n * @param {Function} iterator The transformer function to invoke per iteration.\n * @param {Array} collection The collection to iterate over.\n * @return {Array} A new array containing the results of each `iterator` invocation.\n * @example\n * var square = function(x) { return x * x; };\n *\n * map(square, [1, 2, 3]);\n * //=> [1, 4, 9]\n */\nvar map = function map(iterator, collection) {\n if (typeof iterator !== 'function') {\n throw new TypeError('Expected a function but received a ' + typeof iterator);\n }\n\n var result = [];\n\n each(function(val, i, collection) {\n result.push(iterator(val, i, collection));\n }, collection);\n\n return result;\n};\n\n/*\n * Exports.\n */\n\nmodule.exports = map;\n\n\n/***/ }),\n\n/***/ 8235:\n/***/ (function(module) {\n\nmodule.exports=function(settings) {\nvar __t, __p = '';\n__p += '(function(){\\n\\n // Create a queue, but don\\'t obliterate an existing one!\\n var analytics = window.analytics = window.analytics || [];\\n\\n // If the real analytics.js is already on the page return.\\n if (analytics.initialize) return;\\n\\n // If the snippet was invoked already show an error.\\n if (analytics.invoked) {\\n if (window.console && console.error) {\\n console.error(\\'Segment snippet included twice.\\');\\n }\\n return;\\n }\\n\\n // Invoked flag, to make sure the snippet\\n // is never invoked twice.\\n analytics.invoked = true;\\n\\n // A list of the methods in Analytics.js to stub.\\n analytics.methods = [\\n \\'trackSubmit\\',\\n \\'trackClick\\',\\n \\'trackLink\\',\\n \\'trackForm\\',\\n \\'pageview\\',\\n \\'identify\\',\\n \\'reset\\',\\n \\'group\\',\\n \\'track\\',\\n \\'ready\\',\\n \\'alias\\',\\n \\'debug\\',\\n \\'page\\',\\n \\'once\\',\\n \\'off\\',\\n \\'on\\',\\n \\'addSourceMiddleware\\',\\n \\'addIntegrationMiddleware\\',\\n \\'setAnonymousId\\',\\n \\'addDestinationMiddleware\\'\\n ];\\n\\n // Define a factory to create stubs. These are placeholders\\n // for methods in Analytics.js so that you never have to wait\\n // for it to load to actually record data. The `method` is\\n // stored as the first argument, so we can replay the data.\\n analytics.factory = function(method){\\n return function(){\\n var args = Array.prototype.slice.call(arguments);\\n args.unshift(method);\\n analytics.push(args);\\n return analytics;\\n };\\n };\\n\\n // For each of our methods, generate a queueing stub.\\n for (var i = 0; i < analytics.methods.length; i++) {\\n var key = analytics.methods[i];\\n analytics[key] = analytics.factory(key);\\n }\\n\\n // Define a method to load Analytics.js from our CDN,\\n // and that will be sure to only ever load it once.\\n analytics.load = function(key, options){\\n // Create an async script element based on your key.\\n var script = document.createElement(\\'script\\');\\n script.type = \\'text/javascript\\';\\n script.async = true;\\n script.src = \"https://' +\n((__t = ( settings.host )) == null ? '' : __t) +\n'' +\n((__t = ( settings.ajsPath )) == null ? '' : __t) +\n'\";\\n\\n // Insert our script next to the first script element.\\n var first = document.getElementsByTagName(\\'script\\')[0];\\n first.parentNode.insertBefore(script, first);\\n analytics._loadOptions = options;\\n };\\n analytics._writeKey = \\'' +\n((__t = ( settings.apiKey )) == null ? '' : __t) +\n'\\';\\n\\n ' +\n((__t = ( settings.optionalCDN )) == null ? '' : __t) +\n'\\n\\n // Add a version to keep track of what\\'s in the wild.\\n analytics.SNIPPET_VERSION = \\'4.15.3\\';\\n\\n // Load Analytics.js with your key, which will automatically\\n // load the tools you\\'ve enabled for your account. Boosh!\\n ' +\n((__t = ( settings.load )) == null ? '' : __t) +\n'\\n\\n // Make the first page call to load the integrations. If\\n // you\\'d like to manually name or tag the page, edit or\\n // move this call however you\\'d like.\\n ' +\n((__t = ( settings.page )) == null ? '' : __t) +\n'\\n})();\\n';\nreturn __p\n}\n\n/***/ }),\n\n/***/ 5334:\n/***/ (function(module) {\n\nmodule.exports=function(settings) {\nvar __t, __p = '';\n__p += '!function(){var analytics=window.analytics=window.analytics||[];if(!analytics.initialize)if(analytics.invoked)window.console&&console.error&&console.error(\"Segment snippet included twice.\");else{analytics.invoked=!0;analytics.methods=[\"trackSubmit\",\"trackClick\",\"trackLink\",\"trackForm\",\"pageview\",\"identify\",\"reset\",\"group\",\"track\",\"ready\",\"alias\",\"debug\",\"page\",\"once\",\"off\",\"on\",\"addSourceMiddleware\",\"addIntegrationMiddleware\",\"setAnonymousId\",\"addDestinationMiddleware\"];analytics.factory=function(e){return function(){var t=Array.prototype.slice.call(arguments);t.unshift(e);analytics.push(t);return analytics}};for(var e=0;e>(-2*a&6)):0)o=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\".indexOf(o);return c};function t(e){var t=e.replace(/-/g,\"+\").replace(/_/g,\"/\");switch(t.length%4){case 0:break;case 2:t+=\"==\";break;case 3:t+=\"=\";break;default:throw\"Illegal base64url string!\"}try{return function(e){return decodeURIComponent(r(e).replace(/(.)/g,(function(e,r){var t=r.charCodeAt(0).toString(16).toUpperCase();return t.length<2&&(t=\"0\"+t),\"%\"+t})))}(t)}catch(e){return r(t)}}function n(e){this.message=e}function o(e,r){if(\"string\"!=typeof e)throw new n(\"Invalid token specified\");var o=!0===(r=r||{}).header?0:1;try{return JSON.parse(t(e.split(\".\")[o]))}catch(e){throw new n(\"Invalid token specified: \"+e.message)}}n.prototype=new Error,n.prototype.name=\"InvalidTokenError\";/* harmony default export */ __webpack_exports__[\"default\"] = (o);\n//# sourceMappingURL=jwt-decode.esm.js.map\n\n\n/***/ }),\n\n/***/ 3790:\n/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {\n\n\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/mvpd\",\n function () {\n return __webpack_require__(2289);\n }\n ]);\n if(false) {}\n \n\n/***/ }),\n\n/***/ 2289:\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n// ESM COMPAT FLAG\n__webpack_require__.r(__webpack_exports__);\n\n// EXPORTS\n__webpack_require__.d(__webpack_exports__, {\n \"default\": function() { return /* binding */ index_page; }\n});\n\n// EXTERNAL MODULE: ./node_modules/next/dist/compiled/regenerator-runtime/runtime.js\nvar runtime = __webpack_require__(4051);\nvar runtime_default = /*#__PURE__*/__webpack_require__.n(runtime);\n// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js\nvar jsx_runtime = __webpack_require__(5893);\n// EXTERNAL MODULE: ./node_modules/react/index.js\nvar react = __webpack_require__(7294);\n// EXTERNAL MODULE: ./node_modules/styled-components/dist/styled-components.browser.esm.js + 4 modules\nvar styled_components_browser_esm = __webpack_require__(7379);\n// EXTERNAL MODULE: ./node_modules/react-cookie/es6/useCookies.js + 1 modules\nvar useCookies = __webpack_require__(708);\n// EXTERNAL MODULE: ./node_modules/next/router.js\nvar next_router = __webpack_require__(1163);\n// EXTERNAL MODULE: ./node_modules/jwt-decode/build/jwt-decode.esm.js\nvar jwt_decode_esm = __webpack_require__(6245);\n// EXTERNAL MODULE: ./lib/hooks/index.ts + 6 modules\nvar hooks = __webpack_require__(8113);\n// EXTERNAL MODULE: ./lib/utils/helper.ts\nvar helper = __webpack_require__(9981);\n// EXTERNAL MODULE: ./lib/utils/configs.ts\nvar configs = __webpack_require__(2670);\n// EXTERNAL MODULE: ./lib/utils/logReportHelper.ts\nvar logReportHelper = __webpack_require__(1184);\n// EXTERNAL MODULE: ./context/GlobalContextProvider.tsx\nvar GlobalContextProvider = __webpack_require__(1387);\n// EXTERNAL MODULE: ./context/state/reducer.ts + 1 modules\nvar reducer = __webpack_require__(2807);\n// EXTERNAL MODULE: ./components/common/index.tsx + 5 modules\nvar common = __webpack_require__(8761);\n// EXTERNAL MODULE: ./lib/analytics/trackCalls.ts + 4 modules\nvar trackCalls = __webpack_require__(2896);\n// EXTERNAL MODULE: ./styles/colors.ts\nvar colors = __webpack_require__(2317);\n// EXTERNAL MODULE: ./constants/index.ts\nvar constants = __webpack_require__(1407);\n// EXTERNAL MODULE: ./images/global/clearButton.png\nvar clearButton = __webpack_require__(659);\nvar clearButton_default = /*#__PURE__*/__webpack_require__.n(clearButton);\n;// CONCATENATED MODULE: ./pages/mvpd/components/SearchInput/index.tsx\n\n\n\n\n\n\n\n\n\nfunction _taggedTemplateLiteral(strings, raw) {\n if (!raw) {\n raw = strings.slice(0);\n }\n return Object.freeze(Object.defineProperties(strings, {\n raw: {\n value: Object.freeze(raw)\n }\n }));\n}\nfunction _templateObject() {\n var data = _taggedTemplateLiteral([\n \"\\n display: flex;\\n align-items: center;\\n justify-content: center;\\n background: rgba(255, 255, 255, 0.05);\\n border-radius: 3px;\\n border: 1px solid rgba(255, 255, 255, 0.1);\\n height: 50px;\\n width: calc(100vw - 45px);\\n max-width: 330px;\\n position: relative;\\n margin: 20px auto 0;\\n input:focus {\\n outline: none;\\n }\\n .searchWrap {\\n display: flex;\\n height: inherit;\\n justify-content: center;\\n align-items: center;\\n }\\n\\n .search {\\n background: 0 0;\\n border: none;\\n font-family: 'Graphik', sans-serif;\\n width: calc(100% - 60px);\\n height: 30px;\\n margin-right: 40px;\\n line-height: 30px;\\n letter-spacing: 0;\\n font-weight: 400;\\n color: \",\n \";\\n font-size: 14px;\\n }\\n\\n .closeWrap {\\n position: absolute;\\n right: 15px;\\n bottom: 10px;\\n .close {\\n display: none;\\n position: absolute;\\n height: 18px;\\n width: 18px;\\n top: 16px;\\n right: 16px;\\n border: none;\\n outline: 0;\\n cursor: pointer;\\n }\\n }\\n\\n .searchMag {\\n svg {\\n opacity: 0.5;\\n margin-right: 0.5rem;\\n width: 17px;\\n }\\n }\\n\\n .searchPlaceholder {\\n width: 100%;\\n position: absolute;\\n font-family: 'Graphik', sans-serif;\\n display: flex;\\n align-items: center;\\n justify-content: center;\\n margin: 0 auto;\\n pointer-events: none;\\n span {\\n color: \",\n \";\\n font-family: 'Graphik', sans-serif;\\n font-size: 14px;\\n font-weight: 500;\\n height: 30px;\\n letter-spacing: 0;\\n line-height: 30px;\\n }\\n }\\n\"\n ]);\n _templateObject = function _templateObject() {\n return data;\n };\n return data;\n}\nvar handleSearchProviderInputClick = function() {\n (0,trackCalls/* handleTrackEvent */.GV)({\n eventName: trackCalls/* Events.BUTTON_LINK_SELECTED */.zW.BUTTON_LINK_SELECTED,\n props: {\n page_item_title: ProviderSearchListElementsText.searchAllProvidersInput,\n page_destination_url: window.location.origin + constants/* ROUTE_MVPD */.W3\n }\n });\n};\nvar SearchInput = function(param) {\n var setFilteredList = param.setFilteredList, searchQuery = param.searchQuery, handleChange = param.handleChange, setSearchQuery = param.setSearchQuery, setIsFocusedTrue = param.setIsFocusedTrue, setIsFocusedFalse = param.setIsFocusedFalse, isFocused = param.isFocused;\n var searchInput = (0,react.useRef)(null);\n return(/*#__PURE__*/ (0,jsx_runtime.jsx)(jsx_runtime.Fragment, {\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(Form, {\n children: /*#__PURE__*/ (0,jsx_runtime.jsxs)(\"div\", {\n className: \"searchWrap\",\n children: [\n /*#__PURE__*/ (0,jsx_runtime.jsx)(\"input\", {\n onChange: function(e) {\n handleChange(e);\n },\n className: \"search\",\n type: \"text\",\n value: searchQuery,\n ref: searchInput,\n onFocus: setIsFocusedTrue,\n onKeyPress: function(e) {\n e.key === 'Enter' && e.preventDefault();\n },\n onClick: handleSearchProviderInputClick\n }),\n isFocused && /*#__PURE__*/ (0,jsx_runtime.jsx)(\"div\", {\n className: \"closeWrap\",\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(common/* Image */.Ee, {\n width: 18,\n height: 18,\n className: \"close\",\n onClick: function() {\n setIsFocusedFalse();\n setFilteredList([]);\n setSearchQuery('');\n },\n src: (clearButton_default()),\n alt: \"Close button\"\n })\n }),\n !isFocused && /*#__PURE__*/ (0,jsx_runtime.jsx)(\"div\", {\n className: \"searchPlaceholder\",\n children: /*#__PURE__*/ (0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {\n children: [\n /*#__PURE__*/ (0,jsx_runtime.jsx)(\"div\", {\n className: \"searchMag\",\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(common/* Icons.SearchIcon */.PJ.W1, {})\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(\"span\", {\n children: ProviderSearchListElementsText.searchAllProvidersInput\n })\n ]\n })\n })\n ]\n })\n })\n }));\n};\n/* harmony default export */ var components_SearchInput = (/*#__PURE__*/react.memo(SearchInput));\nvar Form = styled_components_browser_esm/* default.form.withConfig */.ZP.form.withConfig({\n componentId: \"sc-e8ccefd6-0\"\n})(_templateObject(), colors/* default.white */.Z.white, colors/* default.white */.Z.white);\n\n;// CONCATENATED MODULE: ./pages/mvpd/components/ProviderSearchList/index.tsx\n\n\n\n\n\n\nfunction ProviderSearchList_taggedTemplateLiteral(strings, raw) {\n if (!raw) {\n raw = strings.slice(0);\n }\n return Object.freeze(Object.defineProperties(strings, {\n raw: {\n value: Object.freeze(raw)\n }\n }));\n}\nfunction ProviderSearchList_templateObject() {\n var data = ProviderSearchList_taggedTemplateLiteral([\n \"\\n .providerList {\\n max-width: 330px;\\n margin: 0 auto;\\n padding: 2rem 0 0 1rem;\\n a {\\n cursor: pointer;\\n }\\n li {\\n margin: 0;\\n display: block;\\n width: 100%;\\n max-width: 668px;\\n height: 48px;\\n text-align: left;\\n }\\n }\\n\\n .noResults {\\n color: $Alto;\\n font-family: Graphik, sans-serif;\\n font-size: 18px;\\n padding-left: 15px;\\n font-style: italic;\\n font-weight: 400;\\n height: 50px;\\n letter-spacing: -0.29px;\\n line-height: 50px;\\n width: 330px;\\n text-align: left;\\n margin: 0 auto;\\n }\\n .notFoundContainer {\\n margin-bottom: 20px;\\n font-size: 14px;\\n font-weight: 400;\\n height: 20px;\\n letter-spacing: 0;\\n line-height: 20px;\\n text-align: center;\\n width: 100%;\\n position: relative;\\n display: flex;\\n justify-content: center;\\n color: $white;\\n font-family: Graphik, sans-serif;\\n .notFoundLink {\\n color: $white;\\n text-decoration: none;\\n opacity: 0.7;\\n }\\n }\\n\"\n ]);\n ProviderSearchList_templateObject = function _templateObject() {\n return data;\n };\n return data;\n}\nvar ProviderSearchListElementsText;\n(function(ProviderSearchListElementsText) {\n ProviderSearchListElementsText[\"searchAllProvidersInput\"] = 'Search All Providers';\n ProviderSearchListElementsText[\"dontHaveProviderLink\"] = \"I don't have a TV Provider\";\n ProviderSearchListElementsText[\"noProvidersFoundText\"] = 'No providers found';\n})(ProviderSearchListElementsText || (ProviderSearchListElementsText = {}));\nvar LINKS = {\n goWatchLink: 'https://www.foxsports.com/gowatch'\n};\nvar ProviderSearchList = function(param) {\n var _mvpdList = param.mvpdList, mvpdList = _mvpdList === void 0 ? [] : _mvpdList, handleMVPDSelect = param.handleMVPDSelect;\n var ref = (0,react.useState)(null), filteredList = ref[0], setFilteredList = ref[1];\n var ref1 = (0,react.useState)(''), searchQuery = ref1[0], setSearchQuery = ref1[1];\n var ref2 = (0,hooks/* useBoolean */.kt)(false), isFocused = ref2.value, setIsFocusedTrue = ref2.setTrue, setIsFocusedFalse = ref2.setFalse;\n var handleChange = function(e) {\n e.preventDefault();\n setSearchQuery(e.target.value);\n var filteredMvpds = mvpdList === null || mvpdList === void 0 ? void 0 : mvpdList.filter(function(mvpd) {\n return mvpd.name.toLowerCase().search(e.target.value.toLowerCase()) !== -1;\n });\n setFilteredList(filteredMvpds);\n };\n var handleDontHaveProviderClick = function() {\n (0,trackCalls/* handleTrackEvent */.GV)({\n eventName: trackCalls/* Events.BUTTON_LINK_SELECTED */.zW.BUTTON_LINK_SELECTED,\n props: {\n page_item_title: ProviderSearchListElementsText.dontHaveProviderLink,\n page_destination_url: LINKS.goWatchLink\n }\n });\n };\n if (!(mvpdList === null || mvpdList === void 0 ? void 0 : mvpdList.length)) return null;\n return(/*#__PURE__*/ (0,jsx_runtime.jsx)(Search, {\n children: mvpdList && /*#__PURE__*/ (0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {\n children: [\n /*#__PURE__*/ (0,jsx_runtime.jsx)(components_SearchInput, {\n searchQuery: searchQuery,\n setFilteredList: setFilteredList,\n setSearchQuery: setSearchQuery,\n handleChange: handleChange,\n setIsFocusedTrue: setIsFocusedTrue,\n setIsFocusedFalse: setIsFocusedFalse,\n isFocused: isFocused\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(\"ul\", {\n className: \"providerList\",\n children: isFocused && (filteredList === null || filteredList === void 0 ? void 0 : filteredList.map(function(mvpd) {\n var id = mvpd.id, adobePassId = mvpd.adobePassId, name = mvpd.name;\n return(/*#__PURE__*/ (0,jsx_runtime.jsx)(\"li\", {\n \"data-adobepassid\": adobePassId,\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(\"a\", {\n onClick: function() {\n return handleMVPDSelect(adobePassId);\n },\n children: name\n })\n }, id));\n }))\n }),\n isFocused && (filteredList === null || filteredList === void 0 ? void 0 : filteredList.length) === 0 && /*#__PURE__*/ (0,jsx_runtime.jsx)(\"div\", {\n className: \"noResults\",\n children: ProviderSearchListElementsText.noProvidersFoundText\n })\n ]\n })\n }));\n};\n/* harmony default export */ var components_ProviderSearchList = (/*#__PURE__*/react.memo(ProviderSearchList));\nvar Search = styled_components_browser_esm/* default.section.withConfig */.ZP.section.withConfig({\n componentId: \"sc-f2a54945-0\"\n})(ProviderSearchList_templateObject());\n\n// EXTERNAL MODULE: ./styles/helper.ts + 1 modules\nvar styles_helper = __webpack_require__(9900);\n// EXTERNAL MODULE: ./components/common/Loader/index.tsx\nvar Loader = __webpack_require__(2304);\n// EXTERNAL MODULE: ./styles/animations.ts\nvar animations = __webpack_require__(3167);\n// EXTERNAL MODULE: ./components/common/Image/index.tsx\nvar Image = __webpack_require__(313);\n// EXTERNAL MODULE: ./components/common/Link/index.tsx\nvar Link = __webpack_require__(6754);\n;// CONCATENATED MODULE: ./pages/mvpd/components/ProviderButton/index.tsx\n\n\n\n\n\n\n\n\nfunction ProviderButton_taggedTemplateLiteral(strings, raw) {\n if (!raw) {\n raw = strings.slice(0);\n }\n return Object.freeze(Object.defineProperties(strings, {\n raw: {\n value: Object.freeze(raw)\n }\n }));\n}\nfunction ProviderButton_templateObject() {\n var data = ProviderButton_taggedTemplateLiteral([\n \"\\n height: 100px;\\n max-height: 100px;\\n \"\n ]);\n ProviderButton_templateObject = function _templateObject() {\n return data;\n };\n return data;\n}\nfunction _templateObject1() {\n var data = ProviderButton_taggedTemplateLiteral([\n \"\\n max-width: calc(100% - 85px);\\n \"\n ]);\n _templateObject1 = function _templateObject1() {\n return data;\n };\n return data;\n}\nfunction _templateObject2() {\n var data = ProviderButton_taggedTemplateLiteral([\n \"\\n position: relative;\\n display: flex;\\n width: 100%;\\n height: 80px;\\n max-height: 80px;\\n align-items: center;\\n justify-content: center;\\n padding: 0;\\n margin: 0;\\n transition: all ease 300ms;\\n cursor: pointer;\\n \",\n \"\\n img {\\n width: 100%;\\n max-width: calc((100vw - 10px - 60px) / 4);\\n \",\n \"\\n }\\n &:hover {\\n transform: scale(1.05);\\n transition: all ease 300ms;\\n }\\n &:not(:hover):not(:active) {\\n border: 1px solid \",\n \";\\n background: \",\n \";\\n border-radius: 3px;\\n }\\n &:hover:not(.inactive),\\n &:active:not(.inactive) {\\n background-color: \",\n \";\\n color: \",\n \";\\n border: none;\\n img {\\n filter: grayscale(1) invert(1);\\n }\\n }\\n\"\n ]);\n _templateObject2 = function _templateObject2() {\n return data;\n };\n return data;\n}\nfunction _templateObject3() {\n var data = ProviderButton_taggedTemplateLiteral([\n \"\\n \",\n \";\\n img {\\n object-fit: contain;\\n }\\n\"\n ]);\n _templateObject3 = function _templateObject3() {\n return data;\n };\n return data;\n}\nvar ProviderButton = function(param) {\n var provider = param.provider, url = param.url, handleMVPDSelect = param.handleMVPDSelect, _link = param.link, link = _link === void 0 ? '' : _link;\n var parser = document.createElement('a');\n parser.href = url;\n return(/*#__PURE__*/ (0,jsx_runtime.jsx)(Button, {\n onClick: handleMVPDSelect,\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(Link/* default */.Z, {\n passHref: true,\n href: link,\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(ImageContainer, {\n children: /*#__PURE__*/ (0,jsx_runtime.jsx)(Image/* default */.Z, {\n src: parser.pathname,\n alt: provider,\n width: 85,\n height: 30,\n quality: 65,\n className: \"image\",\n priority: true\n })\n })\n })\n }));\n};\n/* harmony default export */ var components_ProviderButton = (ProviderButton);\nvar Button = styled_components_browser_esm/* default.button.withConfig */.ZP.button.withConfig({\n componentId: \"sc-d470d7b4-0\"\n})(_templateObject2(), styles_helper/* respondTo.bp_767 */.s.bp_767(ProviderButton_templateObject()), styles_helper/* respondTo.bp_767 */.s.bp_767(_templateObject1()), colors/* default.white10 */.Z.white10, colors/* default.white05 */.Z.white05, colors/* default.white */.Z.white, colors/* default.black */.Z.black);\nvar ImageContainer = styled_components_browser_esm/* default.div.withConfig */.ZP.div.withConfig({\n componentId: \"sc-d470d7b4-1\"\n})(_templateObject3(), animations/* fadein */.jF);\n\n;// CONCATENATED MODULE: ./pages/mvpd/components/TopProviders/index.tsx\n\n\n\n\n\n\nfunction TopProviders_taggedTemplateLiteral(strings, raw) {\n if (!raw) {\n raw = strings.slice(0);\n }\n return Object.freeze(Object.defineProperties(strings, {\n raw: {\n value: Object.freeze(raw)\n }\n }));\n}\nfunction TopProviders_templateObject() {\n var data = TopProviders_taggedTemplateLiteral([\n \"\\n grid-template: 100px / 160px;\\n width: 670px;\\n grid-template: repeat(2, 100px) / repeat(5, 1fr);\\n \"\n ]);\n TopProviders_templateObject = function _templateObject() {\n return data;\n };\n return data;\n}\nfunction TopProviders_templateObject1() {\n var data = TopProviders_taggedTemplateLiteral([\n \"\\n grid-template: 100px / 160px;\\n \"\n ]);\n TopProviders_templateObject1 = function _templateObject1() {\n return data;\n };\n return data;\n}\nfunction TopProviders_templateObject2() {\n var data = TopProviders_taggedTemplateLiteral([\n \"\\n position: relative;\\n display: grid;\\n width: 100%;\\n margin-bottom: 0;\\n gap: 10px;\\n grid-template: repeat(5, minMax(0, 80px)) / repeat(2, 1fr);\\n \",\n \"\\n &.returning-provider-logo {\\n align-content: center;\\n justify-content: center;\\n margin-bottom: 40px;\\n grid-template: 80px / 150px;\\n \",\n \"\\n }\\n &.isSingle {\\n grid-template: 1fr / 1fr;\\n width: 160px;\\n }\\n\"\n ]);\n TopProviders_templateObject2 = function _templateObject2() {\n return data;\n };\n return data;\n}\nvar TopProviders = function(param) {\n var _topProviders = param.topProviders, topProviders = _topProviders === void 0 ? [] : _topProviders, handleMVPDSelect = param.handleMVPDSelect;\n if (!topProviders.length) return(/*#__PURE__*/ (0,jsx_runtime.jsx)(Loader/* default */.Z, {\n abCenter: true\n }));\n var className;\n if (topProviders.length === 1) {\n className = 'isSingle';\n }\n return(/*#__PURE__*/ (0,jsx_runtime.jsx)(Grid, {\n role: \"presentation\",\n \"data-testid\": \"custom-element\",\n className: className,\n children: topProviders === null || topProviders === void 0 ? void 0 : topProviders.map(function(item) {\n var ref;\n var logos = item.logos, provider = item.provider, id = item.id, adobePassId = item.adobePassId;\n return(/*#__PURE__*/ (0,jsx_runtime.jsx)(components_ProviderButton, {\n handleMVPDSelect: function() {\n return handleMVPDSelect(adobePassId);\n },\n provider: provider,\n url: (logos === null || logos === void 0 ? void 0 : (ref = logos[1]) === null || ref === void 0 ? void 0 : ref.url) || ''\n }, id));\n })\n }));\n};\n/* harmony default export */ var components_TopProviders = (TopProviders);\nvar Grid = styled_components_browser_esm/* default.section.withConfig */.ZP.section.withConfig({\n componentId: \"sc-9e71e3a0-0\"\n})(TopProviders_templateObject2(), styles_helper/* respondTo.bp_768 */.s.bp_768(TopProviders_templateObject()), styles_helper/* respondTo.bp_768 */.s.bp_768(TopProviders_templateObject1()));\n\n;// CONCATENATED MODULE: ./pages/mvpd/index.page.tsx\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction _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}\nfunction _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}\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}\nfunction _asyncToGenerator(fn) {\n return function() {\n var self = this, 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}\nfunction _iterableToArrayLimit(arr, i) {\n var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"];\n if (_i == null) return;\n var _arr = [];\n var _n = true;\n var _d = false;\n var _s, _e;\n try {\n for(_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true){\n _arr.push(_s.value);\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 return _arr;\n}\nfunction _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}\nfunction _slicedToArray(arr, i) {\n return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();\n}\nfunction index_page_taggedTemplateLiteral(strings, raw) {\n if (!raw) {\n raw = strings.slice(0);\n }\n return Object.freeze(Object.defineProperties(strings, {\n raw: {\n value: Object.freeze(raw)\n }\n }));\n}\nfunction _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return _arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(n);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);\n}\nfunction index_page_templateObject() {\n var data = index_page_taggedTemplateLiteral([\n \"\\n display: flex;\\n flex-direction: column;\\n align-items: center;\\n justify-content: flex-start;\\n \",\n \";\\n\"\n ]);\n index_page_templateObject = function _templateObject() {\n return data;\n };\n return data;\n}\nvar MVPDPage = function(param) {\n var profile = param.profile;\n var ref5;\n var dispatch = (0,react.useContext)(GlobalContextProvider/* AppContext */.I).dispatch;\n var ref1 = _slicedToArray((0,useCookies/* default */.Z)([\n constants/* ACCOUNT_COOKIE_NAME_FOX */.EO,\n constants/* COOKIE_CODE_INFO */.r5\n ]), 1), cookies = ref1[0];\n var router = (0,next_router.useRouter)();\n var ref2 = (0,react.useState)([]), mvpdList = ref2[0], setMvpdList = ref2[1];\n var selectedMvpdId = ((ref5 = cookies[constants/* COOKIE_CODE_INFO */.r5]) === null || ref5 === void 0 ? void 0 : ref5.selectedMvpdId) || undefined;\n var ref3;\n var selectedProvider = (ref3 = mvpdList === null || mvpdList === void 0 ? void 0 : mvpdList.filter(function(mvpd) {\n return (mvpd === null || mvpd === void 0 ? void 0 : mvpd.code) === selectedMvpdId || (mvpd === null || mvpd === void 0 ? void 0 : mvpd.adobePassId) === selectedMvpdId;\n })) !== null && ref3 !== void 0 ? ref3 : [];\n var showAll = (selectedProvider === null || selectedProvider === void 0 ? void 0 : selectedProvider.length) === 0;\n var topTen = mvpdList === null || mvpdList === void 0 ? void 0 : mvpdList.slice(0, 10);\n var topProviders = showAll ? topTen : selectedProvider;\n var ref4 = (0,hooks/* useFlowManager */.ix)(), isNoCodeOrAccount = ref4.isNoCodeOrAccount, isAnonymous = ref4.isAnonymous, accessToken = ref4.accessToken;\n (0,react.useEffect)(function() {\n router === null || router === void 0 ? void 0 : router.prefetch(constants/* ROUTE_HOME */.XX);\n }, [\n router\n ]);\n (0,react.useEffect)(function() {\n if (isNoCodeOrAccount) {\n router === null || router === void 0 ? void 0 : router.push(constants/* ROUTE_HOME */.XX);\n }\n }, [\n cookies,\n isNoCodeOrAccount,\n router\n ]);\n (0,react.useEffect)(function() {\n if (!(profile === null || profile === void 0 ? void 0 : profile.getMvpds)) return;\n var fetchMvpds = function() {\n var _ref = _asyncToGenerator(runtime_default().mark(function _callee(val) {\n var ref, response, member, responseError;\n return runtime_default().wrap(function _callee$(_ctx) {\n while(1)switch(_ctx.prev = _ctx.next){\n case 0:\n _ctx.prev = 0;\n ;\n _ctx.next = 4;\n return profile === null || profile === void 0 ? void 0 : (ref = profile.getMvpds) === null || ref === void 0 ? void 0 : ref.call(profile, {\n itemsPerPage: val\n });\n case 4:\n response = _ctx.sent;\n member = response.member;\n setMvpdList(member === null || member === void 0 ? void 0 : member.filter(function(mvpd) {\n return mvpd.adobePassId !== constants/* PREVIEW_PASS_5_MVPD */.ME && mvpd.adobePassId !== constants/* PREVIEW_PASS_60_MVPD */.hn;\n }));\n _ctx.next = 14;\n break;\n case 9:\n _ctx.prev = 9;\n _ctx.t0 = _ctx[\"catch\"](0);\n responseError = 'Account RegCode Error';\n (0,logReportHelper/* logError */.H)(_ctx.t0, {\n name: responseError\n });\n return _ctx.abrupt(\"return\", _ctx.t0);\n case 14:\n case \"end\":\n return _ctx.stop();\n }\n }, _callee, null, [\n [\n 0,\n 9\n ]\n ]);\n }));\n return function fetchMvpds(val) {\n return _ref.apply(this, arguments);\n };\n }();\n fetchMvpds(999);\n dispatch((0,reducer/* setFlowStage */.Kc)(constants/* FLOW_STAGE_MVPD_SELECT */.Vr));\n return function() {\n setMvpdList([]);\n };\n }, [\n dispatch,\n profile\n ]);\n var handleMVPDSelect = function(adobePassId1) {\n var ref8;\n var updatedProfile;\n var getMvpdLink = function() {\n var _ref = _asyncToGenerator(runtime_default().mark(function _callee(adobePassId, regCode) {\n var ref, ref6, getTokenTTL, redirectUrl, ref7, response, authenticateUrl, responseError;\n return runtime_default().wrap(function _callee$(_ctx) {\n while(1)switch(_ctx.prev = _ctx.next){\n case 0:\n if (adobePassId) {\n _ctx.next = 2;\n break;\n }\n return _ctx.abrupt(\"return\");\n case 2:\n _ctx.prev = 2;\n ;\n _ctx.next = 6;\n return (0,helper.setConfigToProfile)(profile, {\n appName: configs/* profileConfig.appName */.Vc.appName,\n appVersion: configs/* profileConfig.appVersion */.Vc.appVersion,\n accessToken: isAnonymous ? accessToken : (ref = cookies[constants/* ACCOUNT_COOKIE_NAME_FOX */.EO]) === null || ref === void 0 ? void 0 : ref.accessToken\n });\n case 6:\n updatedProfile = _ctx.sent;\n getTokenTTL = (0,jwt_decode_esm[\"default\"])((ref6 = cookies[constants/* ACCOUNT_COOKIE_NAME_FOX */.EO]) === null || ref6 === void 0 ? void 0 : ref6.accessToken);\n redirectUrl = \"\".concat(window.location.origin).concat(constants/* ROUTE_SUCCESS */.VU);\n if (!(0,helper.tokenValid)(getTokenTTL)) {\n _ctx.next = 18;\n break;\n }\n ;\n _ctx.next = 13;\n return updatedProfile === null || updatedProfile === void 0 ? void 0 : (ref7 = updatedProfile.mvpdLogin) === null || ref7 === void 0 ? void 0 : ref7.call(updatedProfile, {\n regCode: regCode,\n mvpdId: adobePassId,\n redirectUrl: redirectUrl\n });\n case 13:\n response = _ctx.sent;\n dispatch((0,reducer/* setFlowStage */.Kc)(constants/* FLOW_STAGE_MVPD_AUTH */.xg));\n authenticateUrl = response.authenticateUrl;\n _ctx.next = 18;\n return router.push(\"\".concat(authenticateUrl));\n case 18:\n _ctx.next = 26;\n break;\n case 20:\n _ctx.prev = 20;\n _ctx.t0 = _ctx[\"catch\"](2);\n responseError = 'Error Updating Profile Account';\n (0,logReportHelper/* logError */.H)(_ctx.t0, {\n name: responseError\n });\n _ctx.next = 26;\n return router.push(constants/* ROUTE_HOME */.XX);\n case 26:\n case \"end\":\n return _ctx.stop();\n }\n }, _callee, null, [\n [\n 2,\n 20\n ]\n ]);\n }));\n return function getMvpdLink(adobePassId, regCode) {\n return _ref.apply(this, arguments);\n };\n }();\n getMvpdLink(adobePassId1, (ref8 = cookies[constants/* COOKIE_CODE_INFO */.r5]) === null || ref8 === void 0 ? void 0 : ref8.code);\n };\n if (isNoCodeOrAccount || !mvpdList || !topProviders) return(/*#__PURE__*/ (0,jsx_runtime.jsx)(common/* Loader */.aN, {\n abCenter: true\n }));\n return(/*#__PURE__*/ (0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {\n children: [\n /*#__PURE__*/ (0,jsx_runtime.jsx)(common/* SEO */.HJ, {\n title: \"MVPD\"\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsxs)(MVPD, {\n children: [\n /*#__PURE__*/ (0,jsx_runtime.jsx)(common/* Messages */.Vm, {}),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(components_TopProviders, {\n topProviders: topProviders,\n handleMVPDSelect: handleMVPDSelect\n }),\n /*#__PURE__*/ (0,jsx_runtime.jsx)(components_ProviderSearchList, {\n mvpdList: mvpdList,\n handleMVPDSelect: handleMVPDSelect\n })\n ]\n })\n ]\n }));\n};\n/* harmony default export */ var index_page = (MVPDPage);\nvar MVPD = styled_components_browser_esm/* default.div.withConfig */.ZP.div.withConfig({\n componentId: \"sc-447e3e7e-0\"\n})(index_page_templateObject(), animations/* fadein */.jF);\n\n\n/***/ }),\n\n/***/ 1163:\n/***/ (function(module, __unused_webpack_exports, __webpack_require__) {\n\nmodule.exports = __webpack_require__(387)\n\n\n/***/ }),\n\n/***/ 659:\n/***/ (function(module) {\n\nmodule.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAEqADAAQAAAABAAAAEgAAAACaqbJVAAABMUlEQVQ4Ea2US27CQBBE7ZBkxTU4Btk4F+AfZQESyqmsbLKJBKfwMTgFG1gBwrwaZmDccQKWUlKpP9Nd0y0zJEkNyrLMYA5XcOMpX7mspqWaoqgDC3gLqulUu33EQReubylE56rtVsRIaJImIkFPPdfJCO5ZJzRbW7ipyL7aE+I3OIM7GHDA+YA6s8geUBtX9jwH7TRNv3AncA8P8J3cJ/YZWkwSpPVZLXS7uwA7gCN1YnswnpLQYaVD/U7qsCfpBLxIn7hORL0brfYXjtFhCz+N4tgtf1tNN/dUiR3CvvfH+Frbwq2W2yzxLGrUirGwvpxFrtWWajJQ45zcN3yET3BBbordQouFS1BQ2CsaxMVFlab/eSJSROwFNnlvPx9tGM1Pds+aqrk+1iBgLUWN/9hOkyZGRsghSyUAAAAASUVORK5CYII=\"\n\n/***/ })\n\n},\n/******/ function(__webpack_require__) { // webpackRuntimeModules\n/******/ var __webpack_exec__ = function(moduleId) { return __webpack_require__(__webpack_require__.s = moduleId); }\n/******/ __webpack_require__.O(0, [130,782,896,774,888,179], function() { return __webpack_exec__(3790); });\n/******/ var __webpack_exports__ = __webpack_require__.O();\n/******/ _N_E = __webpack_exports__;\n/******/ }\n]);"],"names":["self","push","module","__unused_webpack_exports","__webpack_require__","keys","objToString","Object","prototype","toString","isNumber","val","type","call","isArray","Array","arrayEach","iterator","array","i","length","baseEach","object","ks","exports","collection","hop","hasOwnProperty","strCharAt","String","charAt","toStr","str","index","has","context","prop","indexKeys","target","pred","results","len","objectKeys","key","source","each","TypeError","result","settings","__t","__p","host","ajsPath","apiKey","optionalCDN","load","page","__unused_webpack_module","__webpack_exports__","e","message","r","d","n","Error","name","window","atob","bind","t","replace","o","a","c","fromCharCode","indexOf","header","JSON","parse","decodeURIComponent","charCodeAt","toUpperCase","split","__NEXT_P","index_page","ProviderSearchListElementsText","runtime","runtime_default","jsx_runtime","react","styled_components_browser_esm","useCookies","next_router","jwt_decode_esm","hooks","helper","configs","logReportHelper","GlobalContextProvider","reducer","common","trackCalls","colors","constants","clearButton","clearButton_default","_templateObject","strings","raw","data","slice","freeze","defineProperties","handleSearchProviderInputClick","GV","zW","BUTTON_LINK_SELECTED","props","searchAllProvidersInput","page_destination_url","location","origin","W3","SearchInput","param","setFilteredList","searchQuery","handleChange","setSearchQuery","setIsFocusedTrue","setIsFocusedFalse","isFocused","searchInput","useRef","jsx","Fragment","Form","jsxs","children","className","value","ref","onFocus","onKeyPress","preventDefault","onClick","Ee","height","src","alt","PJ","W1","components_SearchInput","memo","ZP","form","withConfig","Z","white","ProviderSearchList_templateObject","components_ProviderSearchList","_mvpdList","mvpdList","handleMVPDSelect","useState","filteredList","ref1","ref2","kt","setTrue","setFalse","Search","filter","mvpd","toLowerCase","search","map","id","adobePassId","noProvidersFoundText","section","styles_helper","Loader","animations","Image","Link","ProviderButton_taggedTemplateLiteral","ProviderButton_templateObject","_templateObject1","_templateObject2","_templateObject3","components_ProviderButton","provider","url","_link","link","parser","document","createElement","href","Button","ImageContainer","pathname","width","quality","priority","button","s","bp_767","white10","white05","black","div","jF","TopProviders_taggedTemplateLiteral","TopProviders_templateObject","TopProviders_templateObject1","TopProviders_templateObject2","components_TopProviders","_topProviders","topProviders","Grid","item","logos","bp_768","_arrayLikeToArray","arr","arr2","asyncGeneratorStep","gen","resolve","reject","_next","_throw","arg","info","error","done","Promise","then","_asyncToGenerator","fn","args","arguments","apply","err","undefined","index_page_templateObject","ref5","ref3","profile","dispatch","useContext","I","cookies","EO","r5","_s","_e","_i","Symbol","_arr","_n","_d","next","minLen","constructor","from","test","router","useRouter","setMvpdList","selectedMvpdId","selectedProvider","code","showAll","topTen","ref4","ix","isNoCodeOrAccount","isAnonymous","accessToken","useEffect","prefetch","XX","getMvpds","_ref","mark","_callee","response","member","responseError","wrap","_ctx","prev","sent","ME","hn","t0","H","abrupt","stop","Kc","Vr","adobePassId1","ref8","updatedProfile","regCode","ref6","getTokenTTL","redirectUrl","ref7","authenticateUrl","setConfigToProfile","Vc","appName","appVersion","concat","VU","tokenValid","mvpdLogin","mvpdId","xg","HJ","MVPD","Vm","aN","O","_N_E"],"sourceRoot":""}