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AAEW,EAAa3C,KACrCD,EAAoBQ,EAAEP,GAAY2C,EAAY3C,IAGhD,GAAG4C,EAAS,IAAIlC,EAASkC,EAAQ7C,EAClC,CAEA,IADG2C,GAA4BA,EAA2BxD,GACrD8B,EAAIL,EAASM,OAAQD,IACzBwB,EAAU7B,EAASK,GAChBjB,EAAoBiC,EAAEO,EAAiBC,IAAYD,EAAgBC,IACrED,EAAgBC,GAAS,KAE1BD,EAAgBC,GAAW,EAE5B,OAAOzC,EAAoBU,EAAEC,EAAO,EAGjCqC,EAAqBC,WAAsC,0BAAIA,WAAsC,2BAAK,GAC9GD,EAAmB9E,QAAQwE,EAAqBtJ,KAAK,KAAM,IAC3D4J,EAAmBE,KAAOR,EAAqBtJ,KAAK,KAAM4J,EAAmBE,KAAK9J,KAAK4J,QC7CvF,IAAIG,EAAsBnD,EAAoBU,OAAEP,EAAW,CAAC,IAAI,MAAM,IAAOH,EAAoB,OACjGmD,EAAsBnD,EAAoBU,EAAEyC","sources":["webpack://vodafoneziggo/webpack/runtime/chunk loaded","webpack://vodafoneziggo/./cartridges/app_vodafone_ziggo/cartridge/client/default/js/components/VZSpinner.js","webpack://vodafoneziggo/./cartridges/app_vodafone_ziggo/cartridge/client/default/js/youtube.js","webpack://vodafoneziggo/webpack/bootstrap","webpack://vodafoneziggo/webpack/runtime/amd options","webpack://vodafoneziggo/webpack/runtime/compat get default export","webpack://vodafoneziggo/webpack/runtime/define property getters","webpack://vodafoneziggo/webpack/runtime/hasOwnProperty shorthand","webpack://vodafoneziggo/webpack/runtime/jsonp chunk loading","webpack://vodafoneziggo/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};","'use strict';\n\nimport Lottie from 'lottie-web/build/player/lottie_light.min';\nconst redSpinnerData = require('./spinners/spinner_animation_min.json');\n\n/**\n * @class VZSpinner\n * @param {HTMLElement} [parent] - Parent element for the spinner to be added in.\n * @description\n * Creates a VZ-Spinner component\n *\n * @example\n * \n *
\n *
\n *
\n *
\n */\nclass VZSpinner extends HTMLElement {\n constructor(parentEl) {\n super();\n\n this.showing = false;\n this.stop = this.stop.bind(this);\n this.veil = null;\n\n const parentElement = parentEl || document.body;\n const location = parentElement.tagName === 'IMG' ? parentElement.parentElement : parentElement;\n location.appendChild(this);\n\n this.lottie = Lottie.loadAnimation({\n container: this.veil.querySelector('.spinner'),\n renderer: 'svg',\n loop: true,\n autoplay: false,\n animationData: redSpinnerData\n });\n }\n\n /**\n * @public\n * @param {string} [msg] - A message to be shown below the spinner.\n * @returns {Promise} promise\n */\n start(msg) {\n return new Promise((resolve) => {\n if (this.showing) resolve();\n const parentPosition = window.getComputedStyle(this.parentElement).getPropertyValue('position');\n\n if (parentPosition === 'static') {\n if (this.parentElement.tagName !== 'BODY') {\n this.parentElement.style.position = 'relative';\n }\n this.parentElement.classList.add('veiled');\n }\n\n if (msg) {\n this.veil.insertAdjacentHTML('beforeend', `
${msg}
`);\n }\n\n this.showing = true;\n setTimeout(() => {\n if (this.showing) {\n this.lottie?.play();\n this.veil.classList.add('show');\n }\n resolve();\n }, 500);\n });\n }\n\n /**\n * @public\n * @returns {Promise} promise\n */\n stop() {\n return new Promise((resolve) => {\n if (!this.showing) resolve();\n if (this.parentElement.classList.contains('veiled')) {\n this.parentElement.style.position = '';\n this.parentElement.classList.remove('veiled');\n }\n\n const content = this.veil.querySelector('.content');\n if (content) content.remove();\n this.veil.classList.remove('show');\n this.showing = false;\n this.lottie?.stop();\n resolve();\n });\n }\n\n connectedCallback() {\n this.innerHTML = `\n
\n
\n
\n
\n `;\n\n this.veil = this.querySelector('.veil');\n this.veil.addEventListener('click', (evt) => evt.stopPropagation());\n }\n}\n\nwindow.VZSpinner = window.customElements.get('vz-spinner') || VZSpinner;\nexport default window.VZSpinner;\n\nif (!window.customElements.get('vz-spinner')) {\n window.customElements.define('vz-spinner', VZSpinner);\n}\n","'use strict';\n\nimport Spinner from 'Components/VZSpinner';\n\nconst template = document.createElement('template');\ntemplate.innerHTML = `\n \n \n
\n
\n
\n
\n \n
\n`;\n\n/**\n * @private loadYouTubeAPI\n */\nfunction loadYouTubeAPI() {\n if (window.onYouTubeIframeAPIReady) return;\n const tag = document.createElement('script');\n tag.src = 'https://www.youtube.com/iframe_api';\n tag.defer = true;\n const firstScriptTag = document.getElementsByTagName('script')[0];\n firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);\n /* global YT */\n}\n\n/**\n * @export\n * @class YouTube\n * @extends {HTMLElement}\n *\n * @example\n * \n */\nexport default class VZYoutube extends HTMLElement {\n constructor() {\n super();\n this.attachShadow({ mode: 'open' });\n this.shadowRoot.appendChild(template.content.cloneNode(true));\n\n if (this.getAttribute('poster')) {\n this.shadowRoot.querySelector('.video-card').setAttribute('style', `background-image: url('${this.getAttribute('poster')}');`);\n }\n }\n\n connectedCallback() {\n this.playerOptions = {\n videoId: this.getAttribute('id'),\n playerVars: {\n origin: 'location.origin',\n autoplay: this.getAttribute('autoplay'),\n mute: this.getAttribute('autoplay'),\n controls: this.getAttribute('controls'),\n previewSeconds: this.getAttribute('preview-seconds')\n },\n events: {\n onReady: this.onReady.bind(this),\n onStateChange: this.onStateChange.bind(this),\n onError: this.onError.bind(this)\n }\n };\n\n if (window.onYouTubeIframeAPIReady && YT) {\n this.initPlayer();\n } else {\n loadYouTubeAPI();\n window.onYouTubeIframeAPIReady = () => [...document.querySelectorAll('vz-video')].forEach((video) => video.initPlayer());\n }\n }\n\n initPlayer() {\n const container = this.shadowRoot.querySelector('.video-card').firstElementChild;\n this.player = new YT.Player(container, this.playerOptions);\n\n this.player.setSize(this.parentElement.offsetWidth, this.parentElement.offsetHeight);\n this.player.playerOptions = this.playerOptions;\n this.spinner = new Spinner();\n this.playButton = null;\n\n const sibling = this.closest('.js-video-container')?.nextElementSibling;\n\n if (sibling && sibling.classList.contains('js-playbutton-container')) {\n this.playButton = sibling;\n this.playButton.addEventListener('click', this.playVideo.bind(this));\n }\n window.addEventListener('popstate', this.player.stopVideo);\n }\n\n onStateChange(event) {\n // If the video is starting for the first time:\n // pause video after X seconds if previewSeconds is defined\n if (event.data === YT.PlayerState.UNSTARTED && this.player.playerOptions.playerVars.previewSeconds) {\n setTimeout(() => {\n if ('pauseVideo' in this.player && !this.player.userInit) {\n this.player.pauseVideo();\n }\n }, this.player.playerOptions.playerVars.previewSeconds * 1000);\n\n // Make the video visible\n } else if (event.data === YT.PlayerState.PLAYING) {\n this.spinner.stop();\n this.shadowRoot.querySelector('iframe').classList.remove('d-none');\n if (this.playButton) this.playButton.classList.add('d-none');\n }\n\n // Show poster after pause or end\n if ((event.data === YT.PlayerState.PAUSED || event.data === YT.PlayerState.ENDED) && this.hasAttribute('poster')) {\n this.shadowRoot.querySelector('iframe').classList.add('d-none');\n if (this.playButton) this.playButton.classList.remove('d-none');\n }\n\n // Allow restart when ended\n if (event.data === YT.PlayerState.ENDED && this.hasAttribute('restart-label')) {\n this.playButton.classList.add('restart');\n this.playButton.textContent = this.getAttribute('restart-label');\n }\n }\n\n onReady() {\n // Video must be \"unavailable\"\n if (this.player.getDuration() === 0) {\n if (this.playButton) {\n this.playButton.remove();\n }\n } else if (this.player.playerOptions.autoplay === 1) {\n this.player.playVideo();\n }\n }\n\n onError() {\n if (this.playButton) {\n this.playButton.remove();\n }\n this.player.destroy();\n }\n\n playVideo() {\n this.spinner.start();\n this.playButton.classList.add('d-none');\n this.player.userInit = true;\n this.player.playVideo();\n }\n}\n\nif (!window.customElements.get('vz-video')) {\n window.customElements.define('vz-video', VZYoutube);\n}\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","__webpack_require__.amdO = {};","// 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))","// 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\t610: 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 = globalThis[\"webpackChunkvodafoneziggo\"] = globalThis[\"webpackChunkvodafoneziggo\"] || [];\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\nvar __webpack_exports__ = __webpack_require__.O(undefined, [661,139], () => (__webpack_require__(253)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["deferred","redSpinnerData","require","VZSpinner","HTMLElement","constructor","parentEl","super","this","showing","stop","bind","veil","parentElement","document","body","tagName","appendChild","lottie","Lottie","container","querySelector","renderer","loop","autoplay","animationData","start","msg","Promise","resolve","window","getComputedStyle","getPropertyValue","style","position","classList","add","insertAdjacentHTML","setTimeout","play","contains","remove","content","connectedCallback","innerHTML","addEventListener","evt","stopPropagation","customElements","get","define","template","createElement","Math","random","Date","now","toString","replace","VZYoutube","attachShadow","mode","shadowRoot","cloneNode","getAttribute","setAttribute","playerOptions","videoId","playerVars","origin","mute","controls","previewSeconds","events","onReady","onStateChange","onError","onYouTubeIframeAPIReady","YT","initPlayer","tag","src","defer","firstScriptTag","getElementsByTagName","parentNode","insertBefore","loadYouTubeAPI","querySelectorAll","forEach","video","firstElementChild","player","Player","setSize","offsetWidth","offsetHeight","spinner","Spinner","playButton","sibling","closest","nextElementSibling","playVideo","stopVideo","event","data","PlayerState","UNSTARTED","userInit","pauseVideo","PLAYING","PAUSED","ENDED","hasAttribute","textContent","getDuration","destroy","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","__webpack_modules__","call","m","amdO","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","obj","prop","prototype","hasOwnProperty","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","id","chunkLoadingGlobal","globalThis","push","__webpack_exports__"],"sourceRoot":""}