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BC,KAAkC,4BAAIA,KAAkC,6BAAK,GACtGD,EAAmBE,QAAQR,EAAqBS,KAAK,KAAM,IAC3DH,EAAmBI,KAAOV,EAAqBS,KAAK,KAAMH,EAAmBI,KAAKD,KAAKH,G,KC7CvFnD,EAAoBS,OAAEN,EAAW,CAAC,MAAM,IAAOH,EAAoB,OACnE,IAAIwD,EAAsBxD,EAAoBS,OAAEN,EAAW,CAAC,MAAM,IAAOH,EAAoB,OAC7FwD,EAAsBxD,EAAoBS,EAAE+C,E","sources":["webpack://McKessonFronend/webpack/runtime/chunk loaded","webpack://McKessonFronend/./Ontada/js/theme.js","webpack://McKessonFronend/webpack/bootstrap","webpack://McKessonFronend/webpack/runtime/compat get default export","webpack://McKessonFronend/webpack/runtime/define property getters","webpack://McKessonFronend/webpack/runtime/hasOwnProperty shorthand","webpack://McKessonFronend/webpack/runtime/make namespace object","webpack://McKessonFronend/webpack/runtime/jsonp chunk loading","webpack://McKessonFronend/webpack/startup"],"sourcesContent":["var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// Vendor Imports\r\nimport jQuery from 'jquery';\r\nimport * as bootstrap from 'bootstrap'; // import 'bootstrap';\r\n\r\n\r\n\r\n(function ($, bs) {\r\n console.group('Ontada theme.js');\r\n console.log('jQuery', $);\r\n console.log('Bootstrap', bs);\r\n console.groupEnd();\r\n\r\n\r\n // Add toggle grid block component javascript\r\n const setupToggleGridComponentBlock = () => {\r\n const $cards = $('.ontada-card');\r\n\r\n const setToggledBlock = (ele) => {\r\n const $ele = $(ele)\r\n const textColor = $ele.data(\"toggled-textcolor\")\r\n const onBgColor = $ele.data(\"toggled-bgcolor\")\r\n const offBgColor = $ele.data(\"initial-bgcolor\")\r\n $ele.find(\".toggled-text\").addClass(\"show\")\r\n $ele.find(\".toggled-text\").show();\r\n $ele.find(\".initial-text\").hide();\r\n $ele.addClass(textColor)\r\n $ele.addClass(onBgColor)\r\n $ele.removeClass(offBgColor)\r\n }\r\n\r\n const setUntoggledBlock = (ele) => {\r\n const $ele = $(ele)\r\n const textColor = $ele.data(\"toggled-textcolor\")\r\n const onBgColor = $ele.data(\"toggled-bgcolor\")\r\n const offBgColor = $ele.data(\"initial-bgcolor\")\r\n $ele.find(\".toggled-text\").removeClass(\"show\")\r\n $ele.find(\".toggled-text\").hide();\r\n $ele.find(\".initial-text\").show();\r\n $ele.removeClass(textColor)\r\n $ele.removeClass(onBgColor)\r\n $ele.addClass(offBgColor)\r\n }\r\n\r\n $cards.hover(\r\n function () {\r\n setToggledBlock(this)\r\n },\r\n function () {\r\n setUntoggledBlock(this)\r\n\r\n }\r\n )\r\n // Mobile\r\n $cards.on('click focus', function () {\r\n setToggledBlock(this)\r\n }).on('blur', function () {\r\n setUntoggledBlock(this)\r\n\r\n })\r\n }\r\n setupToggleGridComponentBlock();\r\n\r\n $(document).ready(() => updateComponentHeight())\r\n $(window).on('resize', () => updateComponentHeight());\r\n\r\n function updateComponentHeight() {\r\n\r\n var spreadHighest = (parent, selector) => {\r\n var highest = 0;\r\n var elements = parent.find(selector)\r\n elements.each(function () {\r\n var height = $(this).height();\r\n if (height > highest) {\r\n highest = height;\r\n }\r\n });\r\n elements.height(highest);\r\n };\r\n\r\n var parent = $('.redesigned-content-block');\r\n spreadHighest(parent, '.segment-layout-column .redesigned-content-block-eyebrow');\r\n spreadHighest(parent, '.segment-layout-column .title');\r\n }\r\n \r\n\r\n})(jQuery, bootstrap);\r\n\r\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t505: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkMcKessonFronend\"] = self[\"webpackChunkMcKessonFronend\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\n__webpack_require__.O(undefined, [736], () => (__webpack_require__(693)))\nvar __webpack_exports__ = __webpack_require__.O(undefined, [736], () => (__webpack_require__(738)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["deferred","$","bs","console","group","log","groupEnd","updateComponentHeight","spreadHighest","parent","selector","highest","elements","find","each","height","this","$cards","setToggledBlock","ele","$ele","textColor","data","onBgColor","offBgColor","addClass","show","hide","removeClass","setUntoggledBlock","hover","on","setupToggleGridComponentBlock","document","ready","window","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","__webpack_modules__","call","m","O","result","chunkIds","fn","priority","notFulfilled","Infinity","i","length","fulfilled","j","Object","keys","every","key","splice","r","n","getter","__esModule","d","a","definition","o","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","Symbol","toStringTag","value","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","id","chunkLoadingGlobal","self","forEach","bind","push","__webpack_exports__"],"sourceRoot":""}