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iBAAfd,IAAAC,EAYM,MAZNqB,GAYM,CAVLC,EASsBC,EAAA,CATD,IAAI,cAClB,YAAaV,EAAA,GAAG,aAAa,qBAC7B,UAAW,GACZ,KAAK,OACJ,oBAAmBM,EAAiB,kBACpC,SAAQrB,EAAY,aACpB,QAAOqB,EAA0B,uCACvC,IACyB,CADsBA,EAAA,kBAAkB,YAAjEL,EACyBU,EAAA,OAAd,KAAK,oGAIVX,EAAE,GAAC,cAAc,cAAgBA,EAAE,GAAC,cAAc,aAAa,QADvEd,IAAAC,EAaM,MAbNyB,GAaM,QATLzB,EAQY0B,EAAA,KAAAC,EAPwBd,KAAG,cAAc,aAAY,CAApDe,EAAaC,SAD1Bf,EAQYgB,EAAA,CANN,IAAKD,EACN,KAAK,KACL,KAAK,SACL,QAAQ,oBACP,KAAMD,EAAY,kCACvB,IAAyB,CAAtBG,EAAAC,EAAAJ,EAAY,OAAO,qFC1ErBK,EAAkB,SAAS,eAAe,mBAAmB,EAEnE,GAAIA,EAAiB,CACpB,MAAMC,EAAMC,EAAU,CACrB,KAAM,qBACN,EACDD,EAAI,IAAIE,CAAK,EACTF,EAAA,UAAU,oBAAqBG,EAAe,EAClDH,EAAI,UAAU,8BAA+BI,EAC5C,IAAAC,EAAA,IAAM,OAAO,uCAAmE,6DAChF,EACDL,EAAI,UAAU,6BAA8BI,EAC3C,IAAAC,EAAA,IAAM,OAAO,sCAAkE,mFAC/E,EACDL,EAAI,UAAU,6BAA8BI,EAC3C,IAAAC,EAAA,IAAM,OAAO,uCAAuE,kEACpF,EACDC,EAAkBN,CAAG,EACrBA,EAAI,MAAMD,CAAe,CAC1B","names":["_sfc_main","params","embedTemplate","youtubeVideoUrl","embedParams","m","newValue","oldValue","track_content_engagement","tag","firstScriptTag","player","$options","_openBlock","_createElementBlock","_hoisted_1","_createElementVNode","$data","args","GlobalSearchField","GlobalSearchAutoSuggestDropDownList","VideoElement","DsButton","DsText","SendCampaignIdCtaButton","globalSearchAutosuggestResultsMixin","_normalizeClass","$props","_createBlock","_component_video_element","_component_ds_text","_hoisted_7","_renderSlot","_ctx","_component_send_campaign_id_cta_button","_hoisted_8","_createVNode","_component_global_search_field","_component_global_search_autoSuggest_dropDown_list","_hoisted_9","_Fragment","_renderList","keywordItem","index","_component_ds_button","_createTextVNode","_toDisplayString","heroBannerBlock","app","createApp","store","HeroBannerBlock","defineAsyncComponent","__vitePreload","initFormKitSchema"],"ignoreList":[],"sources":["../../../../Coloplast.UI/src/shared/components/VideoElements/videoElement.vue","../../../../Coloplast.UI/Features/HeroBanner/Views/HeroBannerBlock/heroBannerBlock.vue","../../../../Coloplast.UI/Features/HeroBanner/Views/HeroBannerBlock/heroBannerBlock-entry.ts"],"sourcesContent":["<template>\r\n\t<div v-if=\"embedUrl\"\r\n\t\t class=\"c-hero-banner-block__media c-hero-banner-block__media--video\">\r\n\t\t<iframe\r\n\t\t\t\tref=\"heroVideo\"\r\n\t\t\t\tclass=\"c-hero-banner-block__iframe\"\r\n\t\t\t\ttitle=\"video\"\r\n\t\t\t\t:data-src=\"embedUrl\"\r\n\t\t\t\t:allow=\"[ isVimeo ? 'autoplay' : 'autoplay; accelerometer; encrypted-media; gyroscope' ]\"\r\n\t\t\t\tautoplay\r\n\t\t\t\t:src=\"embedUrl\"\r\n\t\t\t\t>\r\n\t\t</iframe>\r\n\t    <button v-if=\"!videoIsPlaying\"\r\n\t\t\t\ttype=\"button\"\r\n\t\t\t\tclass=\"c-hero-banner-block__button --play\"\r\n\t\t\t\tref=\"playButton\"\r\n\t\t\t\t@click=\"playVideo\">\r\n\t\t</button>\r\n\r\n\t\t<button v-else\r\n\t\t\t\ttype=\"button\"\r\n\t\t\t\tclass=\"c-hero-banner-block__button --pause\"\r\n\t\t\t\t@click=\"pauseVideo()\">\r\n\t\t</button>\r\n\t</div>\r\n</template>\r\n\r\n<script>\r\n\timport { youtubeVideoUrl } from 'shared/services/urlTypeService';\r\n\timport { track_content_engagement } from 'shared/services/tracking/contentTrackingService';\r\n\r\n\texport default {\r\n\t\tname: 'video-element',\r\n\t\tprops: {\r\n\t\t\tvideoUrl: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\trequired: false,\r\n\t\t\t},\r\n\t\t\theadline: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: '',\r\n\t\t\t}\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tvideoIsPlaying: false,\r\n\t\t\t}\r\n\t\t},\r\n\t\tcomputed: {\r\n\t\t\tisVimeo() {\r\n\t\t\t\treturn this.videoUrl.indexOf('vimeo.com') != -1;\r\n\t\t\t},\r\n\t\t\tvimeoVideoParams() {\r\n\t\t\t\tlet params = '?autoplay=1&muted=1&controls=0&api=1&title=0&byline=0&portrait=0&sidedock=0&playsinline=1&autopip=none&pip=none&byline=0&responsive=1';\r\n\t\t\t\tif (!window.marketingPermissions) {\r\n\t\t\t\t\tparams += '&dnt=true';\r\n\t\t\t\t}\r\n\t\t\t\treturn params;\r\n\t\t\t},\r\n\t\t\tembedUrl() {\r\n\t\t\t\tconst\r\n\t\t\t\t\tembedTemplate = this.isVimeo ? 'https://player.vimeo.com/video/' : youtubeVideoUrl(),\r\n\t\t\t\t\tembedParams = this.isVimeo ? this.vimeoVideoParams : '?fs=0&modestbranding=0&cc_load_policy=0&controls=0&iv_load_policy=3&enablejsapi=1&version=3&playsinline=1&autoplay=1&mute=1';\r\n\t\t\t\tif (this.embedVideoId)\r\n\t\t\t\t\treturn embedTemplate + this.embedVideoId + embedParams;\r\n\t\t\t\telse\r\n\t\t\t\t\treturn null;\r\n\t\t\t},\r\n\t\t\tembedVideoId() {\r\n\t\t\t\tif (this.videoUrl) {\r\n\t\t\t\t\tif (!this.isVimeo) {\r\n\t\t\t\t\t\tconst m = /watch\\?v=([^\\&$]*)/.exec(this.videoUrl);\r\n\t\t\t\t\t\tif (m) {\r\n\t\t\t\t\t\t\treturn m[1];\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse {\r\n\t\t\t\t\t\tconst m = this.videoUrl.split('/');\r\n\t\t\t\t\t\tif (m) {\r\n\t\t\t\t\t\t\treturn m[m.length - 1];\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t},\r\n\t\twatch: {\r\n\t\t\tvideoIsPlaying(newValue, oldValue) {\r\n\t\t\t\tif (oldValue === false && newValue === true) {\r\n\t\t\t\t\ttrack_content_engagement('video', 'start', this.headline || 'no_data', this.videoUrl);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\t\tmounted() {\r\n\t\t\tlet tag = document.createElement('script');\r\n\t\t\ttag.id = this.isVimeo ? 'iframe-vimeo' : 'iframe-youtube';\r\n\t\t\ttag.src = this.isVimeo ? 'https://player.vimeo.com/api/player.js' : 'https://www.youtube.com/iframe_api';\r\n\t\t\ttag.type = 'text/javascript';\r\n\t\t\ttag.async = true;\r\n\t\t\tconst firstScriptTag = document.getElementsByTagName('script')[0];\r\n\t\t\tfirstScriptTag.parentNode.insertBefore(tag, firstScriptTag);\r\n\r\n\t\t\ttag.addEventListener('load', () => {\r\n\t\t\t\tthis.$nextTick(() => {\r\n\t\t\t\t\tconst player = this.$refs.heroVideo;\r\n\t\t\t\t\tif (!this.isVimeo) {\r\n\t\t\t\t\t\twindow.onYouTubePlayerAPIReady = () => {\r\n\t\t\t\t\t\t\tthis.videoPlayer = new YT.Player(player, {\r\n\t\t\t\t\t\t\t\tevents: {\r\n\t\t\t\t\t\t\t\t\t'onReady': () => {\r\n\t\t\t\t\t\t\t\t\t\tthis.videoIsPlaying = true;\r\n\t\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse {\r\n\t\t\t\t\t\tthis.videoPlayer = new Vimeo.Player(player);\r\n\t\t\t\t\t\tthis.videoPlayer.on('loaded', () => {\r\n\t\t\t\t\t\t\tthis.videoIsPlaying = true;\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t\tthis.videoPlayer.on('ended', () => {\r\n\t\t\t\t\t\t\tthis.videoIsPlaying = false;\r\n\t\t\t\t\t\t\tthis.videoPlayer.setCurrentTime(0);\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t});\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tplayVideo() {\r\n\t\t\t\tthis.videoIsPlaying = !this.videoIsPlaying;\r\n\t\t\t\tif (!this.isVimeo) {\r\n\t\t\t\t\tthis.videoPlayer.playVideo();\r\n\t\t\t\t}\r\n\t\t\t\telse {\r\n\t\t\t\t\tthis.videoPlayer.play();\r\n\t\t\t\t}\r\n\t\t\t\ttrack_content_engagement('video', 'start', this.headline || 'no_data', this.videoUrl);\r\n\t\t\t},\r\n\t\t\tpauseVideo() {\r\n\t\t\t\tthis.videoIsPlaying = !this.videoIsPlaying;\r\n\t\t\t\tif (!this.isVimeo) {\r\n\t\t\t\t\tthis.videoPlayer.pauseVideo();\r\n\t\t\t\t}\r\n\t\t\t\telse {\r\n\t\t\t\t\tthis.videoPlayer.pause();\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t},\r\n\t}\r\n</script>\r\n","<template>\r\n\t<section class=\"c-hero-banner-block\" :class=\"{'c-hero-banner-block__keywords' : flag === 'keywords'}\">\r\n\t\t<picture\r\n\t\t\t\t v-if=\"!vm.CurrentBlock.VideoUrl && vm.BaseViewModel.DesktopImageUrl\"\r\n\t\t\t\t class=\"c-hero-banner-block__media\"\r\n\t\t\t\t >\r\n\t\t\t<source\r\n\t\t\t\t\tv-if=\"vm.BaseViewModel.MobileImageUrl\"\r\n\t\t\t\t\tmedia=\"(max-width: 767px)\"\r\n\t\t\t\t\t:srcset=\"vm.BaseViewModel.MobileImageUrl\" />\r\n\t\t\t<img :src=\"vm.BaseViewModel.DesktopImageUrl\"\r\n\t\t\t\t :alt=\"vm.CurrentBlock.ImageAltText || vm.CurrentBlock.HeadingTextLineOne\"\r\n\t\t\t\t class=\"c-hero-banner-block__image\" />\r\n\t\t</picture>\r\n\t\t<video-element\r\n\t\t\tv-else-if=\"vm.CurrentBlock.VideoUrl\"\r\n\t\t\t:video-url=\"vm.CurrentBlock.VideoUrl\"\r\n\t\t\t:headline=\"vm.CurrentBlock.HeadingTextLineTwo\"\r\n\t\t/>\r\n\t\t<div class=\"c-hero-banner-block__content\" :class=\"{'--keyword' : flag === 'keywords'}\">\r\n\t\t\t<h2 v-if=\"vm.CurrentBlock.HeadingTextLineOne\"\r\n\t\t\t\tclass=\"c-hero-banner-block__heading-secondary\"\r\n\t\t\t\tv-html=\"vm.CurrentBlock.HeadingTextLineOne\">\r\n\t\t\t</h2>\r\n\t\t\t<h1 v-if=\"vm.CurrentBlock.HeadingTextLineTwo\"\r\n\t\t\t\tclass=\"c-hero-banner-block__heading-primary\"\r\n\t\t\t\tv-html=\"vm.CurrentBlock.HeadingTextLineTwo\">\r\n\t\t\t</h1>\r\n\t\t\t<p\r\n\t\t\t   v-if=\"vm.CurrentBlock.ContentTypeText\"\r\n\t\t\t   v-html =\"vm.CurrentBlock.ContentTypeText\"\r\n\t\t\t   class=\"c-hero-banner-block__heading-secondary c-hero-banner-block__heading-text\"\r\n\t\t\t   >\r\n\t\t\t</p>\r\n\t\t\t<ds-text\r\n\t\t\t\tv-if=\"vm.CurrentBlock.SubheadlineText\"\r\n\t\t\t\ttext-type=\"heading-lg\"\r\n\t\t\t\ttext-style=\"regular\"\r\n\t\t\t\tclass=\"c-hero-banner-block__subheadline\"\r\n\t\t\t>\r\n\t\t\t\t{{ vm.CurrentBlock.SubheadlineText }}\r\n\t\t\t</ds-text>\r\n\r\n\t\t\t<div class=\"c-hero-banner-block__button-wrapper\"\r\n\t\t\t\t v-if=\"vm.CurrentBlock.CtaButtonLink && vm.CurrentBlock.CtaButtonText\">\r\n\r\n\t\t\t\t<template v-if=\"vm.BaseViewModel.IsFormPresented\">\r\n\t\t\t\t\t<slot name=\"cta-with-popup\" />\r\n\t\t\t\t</template>\r\n\t\t\t\t<template v-else>\r\n\t\t\t\t\t<send-campaign-id-cta-button\r\n\t\t\t\t\t\t\t\t\t\t\t:vm=\"vm\"\r\n\t\t\t\t\t\t\t\t\t\t\t:is-inline-layout=\"isInlineLayout\"\r\n\t\t\t\t\t\t\t\t\t\t\t:variant=\"flag === 'cta' ? 'secondary-neutral' : 'primary'\"\r\n\t\t\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t</template>\r\n\t\t\t</div>\r\n\t\t\t<div v-if=\"flag === 'search'\"\r\n\t\t\t\t class=\"c-hero-banner-block__search\">\r\n\t\t\t\t<global-search-field ref=\"searchField\"\r\n\t\t\t\t\t\t\t\t\t :placeholder=\"vm.CurrentBlock.SearchBarPlaceholder\"\r\n\t\t\t\t\t\t\t\t\t :autofocus=\"false\"\r\n\t\t\t\t\t\t\t\t\t flag=\"hero\"\r\n\t\t\t\t\t\t\t\t\t @autosuggestsearch=\"autoSuggestSearch\"\r\n\t\t\t\t\t\t\t\t\t @search=\"handleSearch\"\r\n\t\t\t\t\t\t\t\t\t @reset=\"cancelAutosuggestionSearch\">\r\n\t\t\t\t\t<global-search-autoSuggest-dropDown-list v-if=\"localSearchPhrase.length\"\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t flag=\"hero\" />\r\n\t\t\t\t</global-search-field>\r\n\t\t\t</div>\r\n\t\t\t<div\r\n\t\t\t\t v-if=\"vm.BaseViewModel.KeywordLinks && vm.BaseViewModel.KeywordLinks.length\"\r\n\t\t\t\t class=\"c-hero-banner-block__keywords\"\r\n\t\t\t\t >\r\n\t\t\t\t<ds-button\r\n\t\t\t\t\t\t   v-for=\"(keywordItem, index) in vm.BaseViewModel.KeywordLinks\"\r\n\t\t\t\t\t\t   :key=\"index\"\r\n\t\t\t\t\t\t   size=\"sm\"\r\n\t\t\t\t\t\t   type=\"button\"\r\n\t\t\t\t\t\t   variant=\"secondary-neutral\"\r\n\t\t\t\t\t\t   :href=\"keywordItem.ContentLibraryPageUrl\">\r\n\t\t\t\t\t{{ keywordItem.Keyword }}\r\n\t\t\t\t</ds-button>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t</section>\r\n</template>\r\n\r\n<script>\r\n\timport globalSearchAutosuggestResultsMixin from 'shared/mixins/globalSearchAutosuggestResultsMixin.js';\r\n\timport GlobalSearchField from 'shared/components/globalSearch/globalSearchField.vue';\r\n\timport GlobalSearchAutoSuggestDropDownList from 'shared/components/globalSearch/globalSearchAutosuggestDropDownList.vue';\r\n\timport VideoElement from 'shared/components/VideoElements/videoElement.vue';\r\n\timport { DsButton, DsText } from '@coloplast/design-system';\r\n\timport SendCampaignIdCtaButton from 'shared/components/actionButtonWithCTA/SendCampaignIdCtaButton.vue';\r\n\r\n\texport default {\r\n\t\tname: 'hero-banner-block',\r\n\t\tcomponents: {\r\n\t\t\tGlobalSearchField,\r\n\t\t\tGlobalSearchAutoSuggestDropDownList,\r\n\t\t\tVideoElement,\r\n\t\t\tDsButton,\r\n\t\t\tDsText,\r\n\t\t\tSendCampaignIdCtaButton,\r\n\t\t},\r\n\t\tmixins: [globalSearchAutosuggestResultsMixin],\r\n\t\tprops: {\r\n\t\t\tvm: Object,\r\n\t\t\tflag: String,\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\thandleSearch() {\r\n\t\t\t\tthis.executeSearch();\r\n\t\t\t},\r\n\t\t},\r\n\t};\r\n</script>\r\n","import { createApp, defineAsyncComponent } from 'vue';\r\nimport store from 'shared/store';\r\nimport HeroBannerBlock from './heroBannerBlock.vue';\r\nimport './c-hero-banner-block.scss';\r\n\r\nimport { initFormKitSchema } from 'shared/utils/initFormKitSchema';\r\n\r\nconst heroBannerBlock = document.getElementById('hero-banner-block');\r\n\r\nif (heroBannerBlock) {\r\n\tconst app = createApp({\r\n\t\tname: 'HeroBannerBlockApp',\r\n\t});\r\n\tapp.use(store);\r\n\tapp.component('hero-banner-block', HeroBannerBlock);\r\n\tapp.component('send-campaign-id-cta-button', defineAsyncComponent(\r\n\t\t() => import('shared/components/actionButtonWithCTA/SendCampaignIdCtaButton.vue')\r\n\t));\r\n\tapp.component('cta-button-with-popup-form', defineAsyncComponent(\r\n\t\t() => import('shared/components/actionButtonWithCTA/CtaButtonWithPopupForm.vue')\r\n\t));\r\n\tapp.component('form-kit-builder-container', defineAsyncComponent(\r\n\t\t() => import('shared/components/FormKitBuilderContainer/FormKitBuilderContainer.vue')\r\n\t));\r\n\tinitFormKitSchema(app);\r\n\tapp.mount(heroBannerBlock);\r\n}"],"file":"feature-heroBannerBlock-46aRvUDb.js"}