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ACfxK,OAAQ,KACRyK,IAAK,MAWT,OARIhK,EAAM8G,cAAgB9G,EAAM8J,cAC5BC,EAAWxK,OAAS,SACpBwK,EAAWC,IAAM,YAEjBhK,EAAM8J,aACNC,EAAWC,KAAO,eAGfD,CAAU,IAGfE,GAAyB/I,EAAAA,EAAAA,KAAS,KACpC,MAAMgJ,EAAOlK,EAAM6J,eAAiB7J,EAAM4G,KAE1C,OAAIsD,EAAKC,WAAW,KACT,GAAG7E,SAAS8E,SAASpK,EAAM6J,gBAG/BK,CAAI,IAGTG,EAAe3O,IACbgO,GAAe1J,EAAM4J,YACrBlO,EAAM4O,iBACNvB,EAAsB/I,EAAM4J,UAAqBK,EAAuBtI,OAC5E,EDNJ,MAAO,CAACP,EAAUC,MACRC,EAAAA,EAAAA,OAAcC,EAAAA,EAAAA,IAAoB,KAAKgJ,EAAAA,EAAAA,IAAY,CACzDxD,QAASsD,EACTzD,KAAMxF,EAAKwF,KACX,iBAAkBxF,EAAKwI,UACvB,oBAAqBK,EAAuBtI,OAC3CoI,EAAWpI,OAAQ,EACpB6I,EAAAA,EAAAA,IAAYpJ,EAAKqJ,OAAQ,YACxB,GAAIhL,GAET,IE/DMsC,EAAc,EAEpB,G","sources":["webpack://@sazka/kasa-loyalty/./js/app/api-connector/sazka-api/methods/kasa-apis.ts","webpack://@sazka/kasa-loyalty/./js/app/data-layer/services/wheel-campaigns.ts","webpack://@sazka/kasa-loyalty/./js/app/helpers/string-helper.ts","webpack://@sazka/kasa-loyalty/../../libs/design-system/src/smiles/ds-smile-static-types.ts","webpack://@sazka/kasa-loyalty/./js/app/shared/utils/viewport-enter.ts","webpack://@sazka/kasa-loyalty/../../libs/design-system/src/smiles/ds-smile-static.vue?6b5d","webpack://@sazka/kasa-loyalty/../../libs/design-system/src/smiles/ds-smile-static.vue","webpack://@sazka/kasa-loyalty/../../libs/design-system/src/smiles/ds-smile-static.vue?af65","webpack://@sazka/kasa-loyalty/./js/app/components/campaign/_wheel-campaign.vue?a074","webpack://@sazka/kasa-loyalty/./js/app/components/campaign/_wheel-campaign.vue","webpack://@sazka/kasa-loyalty/./js/app/components/campaign/_wheel-campaign.vue?f072","webpack://@sazka/kasa-loyalty/./js/app/mobile-apps/utils/use-webview-debug.ts","webpack://@sazka/kasa-loyalty/./js/app/mobile-apps/mobile-app-integration.ts","webpack://@sazka/kasa-loyalty/./js/app/mobile-apps/components/mobile-app-link.vue?10a9","webpack://@sazka/kasa-loyalty/./js/app/mobile-apps/components/mobile-app-link.vue","webpack://@sazka/kasa-loyalty/./js/app/mobile-apps/components/mobile-app-link.vue?09ee"],"sourcesContent":["import { httpClient } from \"../http-client\";\r\nimport { ExtraGameShopItemModel } from \"../models/extra-game-shop-item-model\";\r\nimport { HeroCard } from \"../models/hero-card\";\r\nimport { WheelCampaign } from \"../models/wheel-campaign\";\r\n\r\nexport async function getStandaloneWheelBanner(): Promise<HeroCard> {\r\n const response = await httpClient.get<HeroCard>(\"/kasa/wof/standalone-wheel-banner\");\r\n\r\n return response.data;\r\n}\r\n\r\nexport async function getExtraGamePosList(): Promise<ExtraGameShopItemModel[]> {\r\n const response = await httpClient.get<ExtraGameShopItemModel[]>(\"kasa/extra-game/pos-list\");\r\n\r\n return response.data;\r\n}\r\n\r\nexport async function getActiveWheelCampaign(): Promise<WheelCampaign> {\r\n const response = await httpClient.get<WheelCampaign>(\"kasa/wheel-campaign\");\r\n\r\n return response.data;\r\n}\r\n","type Position = \"top\" | \"middle\" | \"bottom\";\r\n\r\n// DL4.50 Spin Banner impression.\r\nexport function dataLayerSpinBannerImpression(bannerId: string, creative: string, position: Position) {\r\n dataLayer.push({\r\n event: \"action.impress.promos\",\r\n action: {\r\n impress: {\r\n promos: [\r\n {\r\n id: bannerId,\r\n name: \"sazkaklub.spin.result\",\r\n creative: creative,\r\n position: `sazkaklub.spin.result.${position}`,\r\n },\r\n ],\r\n },\r\n },\r\n });\r\n}\r\n\r\n// DL4.52 Spin Banner clicking further.\r\nexport function dataLayerSpinBannerClickingFurther(bannerId: string, creative: string, position: Position) {\r\n dataLayer.push({\r\n event: \"action.show.promos\",\r\n action: {\r\n show: {\r\n promos: [\r\n {\r\n id: bannerId,\r\n name: \"sazkaklub.spin.result\",\r\n creative: creative,\r\n position: `sazkaklub.spin.result.${position}`,\r\n },\r\n ],\r\n },\r\n },\r\n });\r\n}\r\n\r\n// DL4.60 Charity banner impression.\r\nexport function dataLayerCharityBannerImpression(bannerId: string, creative: string, position: Position) {\r\n dataLayer.push({\r\n event: \"action.impress.promos\",\r\n action: {\r\n impress: {\r\n promos: [\r\n {\r\n id: bannerId,\r\n name: \"sazkaklub.charity.banner\",\r\n creative: creative,\r\n position: `sazkaklub.charity.banner.${position}`,\r\n },\r\n ],\r\n },\r\n },\r\n });\r\n}\r\n\r\n// DL4.61 Charity banner clicks (MORE INFO click).\r\nexport function dataLayerCharityBannerClickMoreInfo() {\r\n dataLayer.push({\r\n event: \"action.clickMoreInfo.sazkaklub\",\r\n action: {\r\n clickMoreInfo: {\r\n eventProperty1: \"Charity banner\",\r\n },\r\n },\r\n });\r\n}\r\n\r\n// DL4.61 Charity banner clicks (SPIN WHEEL click).\r\nexport function dataLayerCharityBannerClickSpinWheel(bannerId: string, creative: string, position: Position) {\r\n dataLayer.push({\r\n event: \"action.show.promos\",\r\n action: {\r\n show: {\r\n promos: [\r\n {\r\n id: bannerId,\r\n name: \"sazkaklub.charity.banner\",\r\n creative: creative,\r\n position: `sazkaklub.charity.banner.${position}`,\r\n },\r\n ],\r\n },\r\n },\r\n });\r\n}\r\n","const culture = \"cs-CZ\";\r\n\r\nexport namespace StringHelper {\r\n export function toCurrencyString(amount: number) {\r\n return new Intl.NumberFormat(culture, { style: \"currency\", currency: \"CZK\", maximumSignificantDigits: 10 }).format(amount);\r\n }\r\n\r\n /** DEPRECATED ? */\r\n export function toCurrencyFormattedString(number: number, showKC = true, useNbsp = false) {\r\n let preComma, retVal;\r\n\r\n const stringReverse = function (str: string) {\r\n return str.split(\"\").reverse().join(\"\");\r\n };\r\n const ref = number.toFixed(2).split(\".\");\r\n preComma = ref[0];\r\n const postComma = ref[1];\r\n preComma = stringReverse(\r\n stringReverse(preComma)\r\n .match(/.{1,3}/g)\r\n // String.fromCharCode(160) - Non-breakable space is char 160\r\n .join(useNbsp ? String.fromCharCode(160) : \" \"),\r\n );\r\n if (postComma != \"00\") {\r\n retVal = preComma + \",\" + postComma;\r\n } else {\r\n retVal = preComma;\r\n }\r\n\r\n if (showKC) {\r\n return `${retVal}${useNbsp ? String.fromCharCode(160) : \" \"}KÄŤ`;\r\n } else {\r\n return retVal;\r\n }\r\n }\r\n\r\n export function getChanceInflection(numberOfChances?: number) {\r\n if (numberOfChances == null || numberOfChances == undefined) {\r\n return \"X šancĂ\";\r\n }\r\n let chanceInflection = \"šancĂ\";\r\n if (numberOfChances == 1) {\r\n chanceInflection = \"šanci\";\r\n } else if (numberOfChances > 1 && numberOfChances < 5) {\r\n chanceInflection = \"šance\";\r\n }\r\n\r\n return `${numberOfChances} ${chanceInflection}`;\r\n }\r\n}\r\n","export enum DsSmileStaticFaceType {\r\n DefaultSmile = \"default-smile\",\r\n BigSmile = \"big-smile\",\r\n SmileClosedEyes = \"smile-closed-eyes\",\r\n BigSmileClosedEyes = \"big-smile-closed-eyes\",\r\n Sleeping = \"sleeping\",\r\n Tongue = \"tongue\",\r\n Blink = \"blink\",\r\n Lol = \"lol\",\r\n Pogo = \"pogo\",\r\n Amazed = \"amazed\",\r\n AmazedEyebrow = \"amazed-eyebrow\",\r\n Sad = \"sad\",\r\n SadClosedEyes = \"sad-closed-eyes\",\r\n Sick = \"sick\",\r\n Hesitant = \"hesitant\",\r\n Puffy = \"puffy\",\r\n Hearts = \"hearts\",\r\n Stars = \"stars\",\r\n}\r\n\r\nexport enum DsSmileStaticFacePosition {\r\n Center = \"center\",\r\n CenterTop = \"center-up\",\r\n CenterDown = \"center-down\",\r\n LeftUp = \"left-up\",\r\n LeftDown = \"left-down\",\r\n RightUp = \"right-up\",\r\n RightDown = \"right-down\",\r\n}\r\n","export function onViewportEnter(htmlElement: HTMLElement, threshold = 0.7) {\r\n return new Promise((res) => {\r\n if (typeof IntersectionObserver != \"undefined\") {\r\n const options = {\r\n threshold: threshold,\r\n };\r\n\r\n const observer = new IntersectionObserver((entries, observer) => {\r\n entries\r\n .filter((entry) => entry.isIntersecting && entry.intersectionRatio >= threshold)\r\n .forEach((entry) => {\r\n res(entry);\r\n observer.unobserve(entry.target);\r\n });\r\n }, options);\r\n\r\n observer.observe(htmlElement);\r\n } else {\r\n res(null);\r\n }\r\n });\r\n}\r\n","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"ds-smile-static__inner\" }\nconst _hoisted_2 = { class: \"ds-smile-static__body\" }\nconst _hoisted_3 = [\"src\", \"width\", \"height\"]\nconst _hoisted_4 = [\"src\", \"width\", \"height\"]\n\nimport { computed } from \"vue\";\r\nimport { DsSmileStaticFacePosition, DsSmileStaticFaceType } from \"./ds-smile-static-types\";\r\n\r\n\nexport default /*@__PURE__*/_defineComponent({\n __name: 'ds-smile-static',\n props: {\n faceType: { default: DsSmileStaticFaceType.DefaultSmile },\n facePosition: { default: DsSmileStaticFacePosition.Center },\n withShadow: { type: Boolean, default: true },\n responsive: { type: Boolean, default: true },\n size: { default: \"default\" },\n shadowColor: { default: \"orange\" },\n width: {},\n height: {},\n isInStorybook: { type: Boolean, default: false }\n },\n setup(__props: any) {\n\r\nconst props = __props;\r\n\r\nconst resolvedBody = computed(() => {\r\n if (props.isInStorybook) return \"/images/img/design-system/smiles/smile-static/body.svg\";\r\n\r\n return \"/frontend/web/img/design-system/smiles/smile-static/body.svg\";\r\n});\r\n\r\nconst resolvedFace = computed(() => {\r\n if (props.isInStorybook)\r\n return `/images/img/design-system/smiles/smile-static/face/${props.faceType}--${props.facePosition}.svg`;\r\n\r\n return `/frontend/web/img/design-system/smiles/smile-static/faces/${props.faceType}--${props.facePosition}.svg`;\r\n});\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"ds-smile-static\", {\r\n 'ds-smile-static--with-shadow': _ctx.withShadow,\r\n 'ds-smile-static--responsive': _ctx.responsive,\r\n 'ds-smile-static--contain': _ctx.size === 'contain',\r\n }])\n }, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"img\", {\n src: resolvedBody.value,\n alt: \"Kulicnik bg\",\n class: \"ds-smile-static__bg\",\n width: _ctx.width,\n height: _ctx.height\n }, null, 8, _hoisted_3),\n _createElementVNode(\"img\", {\n src: resolvedFace.value,\n alt: \"Kulicnik bg\",\n class: \"ds-smile-static__face\",\n width: _ctx.width,\n height: _ctx.height\n }, null, 8, _hoisted_4)\n ]),\n (_ctx.withShadow)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: _normalizeClass([\"ds-smile-static__shadow\", [_ctx.shadowColor !== 'orange' && `ds-smile-static__shadow--${_ctx.shadowColor}`]])\n }, null, 2))\n : _createCommentVNode(\"\", true)\n ])\n ], 2))\n}\n}\n\n})","<template>\r\n <div\r\n class=\"ds-smile-static\"\r\n :class=\"{\r\n 'ds-smile-static--with-shadow': withShadow,\r\n 'ds-smile-static--responsive': responsive,\r\n 'ds-smile-static--contain': size === 'contain',\r\n }\"\r\n >\r\n <div class=\"ds-smile-static__inner\">\r\n <div class=\"ds-smile-static__body\">\r\n <img\r\n :src=\"resolvedBody\"\r\n alt=\"Kulicnik bg\"\r\n class=\"ds-smile-static__bg\"\r\n :width=\"width\"\r\n :height=\"height\"\r\n />\r\n <img\r\n :src=\"resolvedFace\"\r\n alt=\"Kulicnik bg\"\r\n class=\"ds-smile-static__face\"\r\n :width=\"width\"\r\n :height=\"height\"\r\n />\r\n </div>\r\n <div\r\n v-if=\"withShadow\"\r\n class=\"ds-smile-static__shadow\"\r\n :class=\"[shadowColor !== 'orange' && `ds-smile-static__shadow--${shadowColor}`]\"\r\n />\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script lang=\"ts\" setup>\r\nimport { computed } from \"vue\";\r\nimport { DsSmileStaticFacePosition, DsSmileStaticFaceType } from \"./ds-smile-static-types\";\r\n\r\nconst props = withDefaults(\r\n defineProps<{\r\n /**\r\n * Set face type\r\n */\r\n faceType?: DsSmileStaticFaceType;\r\n /**\r\n * Set face position\r\n */\r\n facePosition?: DsSmileStaticFacePosition;\r\n /**\r\n * Enable shadow under image\r\n */\r\n withShadow?: boolean;\r\n /**\r\n * Enable responsive mode\r\n */\r\n responsive?: boolean;\r\n /**\r\n * Set containment of image\r\n */\r\n size?: \"default\" | \"contain\";\r\n /**\r\n * Set shadow color\r\n */\r\n shadowColor?: \"orange\" | \"gray\" | \"black\";\r\n /**\r\n * Set width\r\n */\r\n width?: number;\r\n /**\r\n * Set height\r\n */\r\n height?: number;\r\n /**\r\n * Set SB path\r\n */\r\n isInStorybook?: boolean;\r\n }>(),\r\n {\r\n faceType: DsSmileStaticFaceType.DefaultSmile,\r\n facePosition: DsSmileStaticFacePosition.Center,\r\n withShadow: true,\r\n responsive: true,\r\n size: \"default\",\r\n shadowColor: \"orange\",\r\n isInStorybook: false,\r\n }\r\n);\r\n\r\nconst resolvedBody = computed(() => {\r\n if (props.isInStorybook) return \"/images/img/design-system/smiles/smile-static/body.svg\";\r\n\r\n return \"/frontend/web/img/design-system/smiles/smile-static/body.svg\";\r\n});\r\n\r\nconst resolvedFace = computed(() => {\r\n if (props.isInStorybook)\r\n return `/images/img/design-system/smiles/smile-static/face/${props.faceType}--${props.facePosition}.svg`;\r\n\r\n return `/frontend/web/img/design-system/smiles/smile-static/faces/${props.faceType}--${props.facePosition}.svg`;\r\n});\r\n</script>\r\n","import script from \"./ds-smile-static.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./ds-smile-static.vue?vue&type=script&lang=ts&setup=true\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, vShow as _vShow, withDirectives as _withDirectives, normalizeStyle as _normalizeStyle, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"wheel-campaign__main\" }\nconst _hoisted_2 = { class: \"wheel-campaign__main-upper\" }\nconst _hoisted_3 = { class: \"wheel-campaign__main-note\" }\nconst _hoisted_4 = { class: \"wheel-campaign__main-note-about\" }\nconst _hoisted_5 = { class: \"wheel-campaign__main-note-text\" }\nconst _hoisted_6 = [\"innerHTML\"]\nconst _hoisted_7 = { class: \"wheel-campaign__main-note-goal\" }\nconst _hoisted_8 = [\"innerHTML\"]\nconst _hoisted_9 = [\"innerHTML\"]\nconst _hoisted_10 = { class: \"wheel-campaign__progress-collected\" }\nconst _hoisted_11 = { class: \"wheel-campaign__progress-num\" }\nconst _hoisted_12 = { class: \"wheel-campaign__progress-bar\" }\nconst _hoisted_13 = { class: \"wheel-campaign__side\" }\nconst _hoisted_14 = { class: \"wheel-campaign__side-note\" }\nconst _hoisted_15 = { class: \"wheel-campaign__side-note-card\" }\nconst _hoisted_16 = { class: \"wheel-campaign__side-completed\" }\nconst _hoisted_17 = { class: \"wheel-campaign__thanks-note\" }\n\nimport { computed, reactive, ref, nextTick } from \"vue\";\r\nimport MobileAppLink from \"@/mobile-apps/components/mobile-app-link.vue\";\r\nimport gsap from \"gsap\";\r\nimport { StringHelper } from \"@/helpers/string-helper\";\r\nimport WebpImage from \"@sazka/design-system/src/image/webp-image.vue\";\r\nimport { getActiveWheelCampaign } from \"@/api-connector/sazka-api/methods/kasa-apis\";\r\nimport { WheelCampaign } from \"@/api-connector/sazka-api/models/wheel-campaign\";\r\nimport {\r\n dataLayerCharityBannerImpression,\r\n dataLayerCharityBannerClickMoreInfo,\r\n dataLayerCharityBannerClickSpinWheel,\r\n} from \"@/data-layer/services/wheel-campaigns\";\r\nimport { onViewportEnter } from \"@/shared/utils/viewport-enter\";\r\nimport DsSmileStatic from \"@sazka/design-system/src/smiles//ds-smile-static.vue\";\r\nimport {\r\n DsSmileStaticFacePosition as FacePosition,\r\n DsSmileStaticFaceType as FaceType,\r\n} from \"@sazka/design-system/src/smiles//ds-smile-static-types\";\r\nimport DsIcon from \"@sazka/design-system/src/icon/ds-icon.vue\";\r\n\r\nconst animationDuration = 1.6;\r\nconst bannerPosition = \"middle\";\r\n\r\n\nexport default /*@__PURE__*/_defineComponent({\n __name: '_wheel-campaign',\n setup(__props) {\n\r\nconst wheelCampaignRef = ref(null);\r\nconst campaignInfo = ref<WheelCampaign>(null);\r\nconst isCollectedSumInViewport = ref(false);\r\nconst collectedSumInfoRef = ref<HTMLElement>(null);\r\nconst snap = gsap.utils.snap(1);\r\n\r\nconst tweenedSum = reactive({\r\n number: 0,\r\n});\r\nconst tweenedProgress = reactive({\r\n number: 0,\r\n});\r\n\r\nconst progressBarStyle = computed(() => \"width: \" + tweenedProgress.number + \"%\");\r\nconst goalProgressPercentage = computed(() => {\r\n if (!campaignInfo.value || campaignInfo.value.currentValue == 0 || campaignInfo.value.targetValue == 0) return 0;\r\n if (campaignInfo.value.currentValue / campaignInfo.value.targetValue >= 1) return 100;\r\n return (100 * campaignInfo.value.currentValue) / campaignInfo.value.targetValue;\r\n});\r\nconst isGoalCompleted = computed(() => goalProgressPercentage.value >= 100);\r\nconst goalSumFormatted = computed(() => StringHelper.toCurrencyString(campaignInfo.value.targetValue));\r\nconst collectedSumFormatted = computed(\r\n () => StringHelper.toCurrencyString(snap(tweenedSum.number)) + (isGoalCompleted.value ? \"!\" : \"\")\r\n);\r\nconst promoText1 = computed(() =>\r\n isGoalCompleted.value ? \"ÚžasnĂ©! Pomohli jste nám vybrat\" : campaignInfo.value?.texts?.promoText1\r\n);\r\nconst faceType = computed(() => (isGoalCompleted.value ? FaceType.Stars : FaceType.Hearts));\r\nconst spinWheelButtonText = ref(\"ZatoÄŤit Kolem Ĺ tÄ›stĂ\");\r\n\r\nconst getBannerTextForDataLayer = () =>\r\n campaignInfo.value?.texts.wheelPromoText1 + \" \" + campaignInfo.value?.texts.wheelPromoText2;\r\nconst moreInfoClick = () => {\r\n dataLayerCharityBannerClickMoreInfo();\r\n};\r\nconst spinWheelClick = () => {\r\n dataLayerCharityBannerClickSpinWheel(campaignInfo.value.id.toString(), spinWheelButtonText.value, bannerPosition);\r\n};\r\n\r\nconst setupActiveCampaign = async () => {\r\n try {\r\n campaignInfo.value = await getActiveWheelCampaign();\r\n } catch (error) {\r\n console.log(\"activeCampaign\", error);\r\n }\r\n\r\n if (campaignInfo.value) {\r\n nextTick(() => {\r\n const hash = window.location.hash.substring(1);\r\n if (hash == \"dobrokolo\") {\r\n wheelCampaignRef.value.scrollIntoView(true);\r\n }\r\n\r\n onViewportEnter(collectedSumInfoRef.value).then(() => {\r\n isCollectedSumInViewport.value = true;\r\n gsap.to(tweenedSum, { duration: animationDuration, number: campaignInfo.value.currentValue ?? 0 });\r\n gsap.to(tweenedProgress, { duration: animationDuration, number: goalProgressPercentage.value });\r\n\r\n setTimeout(() => {\r\n dataLayerCharityBannerImpression(\r\n campaignInfo.value.id.toString(),\r\n getBannerTextForDataLayer(),\r\n bannerPosition\r\n );\r\n }, 0);\r\n });\r\n });\r\n }\r\n};\r\n\r\nsetupActiveCampaign();\r\n\nreturn (_ctx: any,_cache: any) => {\n return (campaignInfo.value)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: \"wheel-campaign\",\n ref_key: \"wheelCampaignRef\",\n ref: wheelCampaignRef\n }, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(DsSmileStatic, {\n faceType: faceType.value,\n facePosition: _unref(FacePosition).RightDown,\n responsive: false,\n class: \"wheel-campaign__main-note-smile\"\n }, null, 8, [\"faceType\", \"facePosition\"]),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"span\", { innerHTML: promoText1.value }, null, 8, _hoisted_6),\n _cache[2] || (_cache[2] = _createTextVNode()),\n _createElementVNode(\"span\", _hoisted_7, _toDisplayString(goalSumFormatted.value), 1),\n _cache[3] || (_cache[3] = _createTextVNode()),\n _createElementVNode(\"span\", {\n innerHTML: campaignInfo.value.texts?.promoText2\n }, null, 8, _hoisted_8),\n _cache[4] || (_cache[4] = _createTextVNode()),\n _createElementVNode(\"span\", {\n class: \"wheel-campaign__main-note-bold\",\n innerHTML: campaignInfo.value.texts?.promoText3\n }, null, 8, _hoisted_9),\n _cache[5] || (_cache[5] = _createTextVNode(\". \"))\n ]),\n _createVNode(MobileAppLink, {\n href: campaignInfo.value.texts?.promoLink,\n openInNewTab: true,\n class: \"wheel-campaign__main-note-link\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (moreInfoClick()))\n }, {\n default: _withCtx(() => [\n _cache[6] || (_cache[6] = _createTextVNode(\" VĂce informacĂ \")),\n _createVNode(DsIcon, {\n name: \"help-thin\",\n swapBreakpoint: \"sm2\"\n })\n ]),\n _: 1\n }, 8, [\"href\"])\n ])\n ])\n ]),\n _createElementVNode(\"div\", {\n class: \"wheel-campaign__main-lower\",\n ref_key: \"collectedSumInfoRef\",\n ref: collectedSumInfoRef\n }, [\n _withDirectives(_createElementVNode(\"div\", _hoisted_10, [\n _cache[7] || (_cache[7] = _createElementVNode(\"span\", { class: \"wheel-campaign__progress-text\" }, \" JiĹľ jsme vybrali \", -1)),\n _createElementVNode(\"span\", _hoisted_11, _toDisplayString(collectedSumFormatted.value), 1)\n ], 512), [\n [_vShow, isCollectedSumInViewport.value]\n ]),\n _createElementVNode(\"div\", _hoisted_12, [\n _createElementVNode(\"div\", {\n class: \"wheel-campaign__progress-fill\",\n style: _normalizeStyle(progressBarStyle.value)\n }, null, 4)\n ])\n ], 512)\n ]),\n _withDirectives(_createElementVNode(\"div\", _hoisted_13, [\n _createElementVNode(\"div\", _hoisted_14, [\n _createElementVNode(\"div\", _hoisted_15, [\n _createVNode(WebpImage, {\n class: \"wheel-campaign__side-note-coin\",\n src: \"/frontend/kasa-loyalty/img/widgets/wheel-campaign/Coin.png\",\n alt: \"zlatá mince\"\n }),\n _cache[8] || (_cache[8] = _createElementVNode(\"div\", { class: \"wheel-campaign__side-note-text\" }, \"Za kaĹľdĂ© vaše zatoÄŤenĂ vÄ›nuje Sazka 1 KÄŤ.\", -1))\n ]),\n _createVNode(MobileAppLink, {\n href: \"/sazka-klub/zatocte-si-kolem\",\n class: \"wheel-campaign__side-note-link\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (spinWheelClick()))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(spinWheelButtonText.value) + \" \", 1),\n _createVNode(DsIcon, {\n name: \"arrow-right-thin\",\n swapBreakpoint: \"md\"\n })\n ]),\n _: 1\n })\n ]),\n _createVNode(WebpImage, {\n class: \"wheel-campaign__side-wheel\",\n src: \"/frontend/kasa-loyalty/img/widgets/wheel-campaign/campaign-wheel.png\",\n alt: \"kolo štÄ›stĂ\"\n })\n ], 512), [\n [_vShow, !isGoalCompleted.value]\n ]),\n _withDirectives(_createElementVNode(\"div\", _hoisted_16, [\n _createElementVNode(\"div\", _hoisted_17, [\n _cache[9] || (_cache[9] = _createElementVNode(\"span\", { class: \"wheel-campaign__thanks-note-text\" }, \"DÄ›kujeme! \", -1)),\n _createVNode(WebpImage, {\n class: \"wheel-campaign__thanks-note-heart\",\n src: \"/frontend/kasa-loyalty/img/widgets/wheel-campaign/Heart.png\",\n alt: \"emoji srdce\"\n })\n ])\n ], 512), [\n [_vShow, isGoalCompleted.value]\n ])\n ], 512))\n : _createCommentVNode(\"\", true)\n}\n}\n\n})","<template>\r\n <div v-if=\"campaignInfo\" class=\"wheel-campaign\" ref=\"wheelCampaignRef\">\r\n <div class=\"wheel-campaign__main\">\r\n <div class=\"wheel-campaign__main-upper\">\r\n <div class=\"wheel-campaign__main-note\">\r\n <DsSmileStatic\r\n :faceType=\"faceType\"\r\n :facePosition=\"FacePosition.RightDown\"\r\n :responsive=\"false\"\r\n class=\"wheel-campaign__main-note-smile\"\r\n ></DsSmileStatic>\r\n <div class=\"wheel-campaign__main-note-about\">\r\n <div class=\"wheel-campaign__main-note-text\">\r\n <span v-html=\"promoText1\"></span> <span class=\"wheel-campaign__main-note-goal\">{{\r\n goalSumFormatted\r\n }}</span\r\n > <span v-html=\"campaignInfo.texts?.promoText2\"></span> <span\r\n class=\"wheel-campaign__main-note-bold\"\r\n v-html=\"campaignInfo.texts?.promoText3\"\r\n ></span\r\n >.\r\n </div>\r\n <MobileAppLink\r\n :href=\"campaignInfo.texts?.promoLink\"\r\n :openInNewTab=\"true\"\r\n class=\"wheel-campaign__main-note-link\"\r\n @click=\"moreInfoClick()\"\r\n >\r\n VĂce informacĂ\r\n <DsIcon name=\"help-thin\" swapBreakpoint=\"sm2\"></DsIcon>\r\n </MobileAppLink>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div class=\"wheel-campaign__main-lower\" ref=\"collectedSumInfoRef\">\r\n <div class=\"wheel-campaign__progress-collected\" v-show=\"isCollectedSumInViewport\">\r\n <span class=\"wheel-campaign__progress-text\"> JiĹľ jsme vybrali </span>\r\n <span class=\"wheel-campaign__progress-num\">\r\n {{ collectedSumFormatted }}\r\n </span>\r\n </div>\r\n <div class=\"wheel-campaign__progress-bar\">\r\n <div class=\"wheel-campaign__progress-fill\" :style=\"progressBarStyle\"></div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div class=\"wheel-campaign__side\" v-show=\"!isGoalCompleted\">\r\n <div class=\"wheel-campaign__side-note\">\r\n <div class=\"wheel-campaign__side-note-card\">\r\n <webpImage\r\n class=\"wheel-campaign__side-note-coin\"\r\n src=\"/frontend/kasa-loyalty/img/widgets/wheel-campaign/Coin.png\"\r\n alt=\"zlatá mince\"\r\n >\r\n </webpImage>\r\n <div class=\"wheel-campaign__side-note-text\">Za kaĹľdĂ© vaše zatoÄŤenĂ vÄ›nuje Sazka 1 KÄŤ.</div>\r\n </div>\r\n <MobileAppLink\r\n href=\"/sazka-klub/zatocte-si-kolem\"\r\n class=\"wheel-campaign__side-note-link\"\r\n @click=\"spinWheelClick()\"\r\n >\r\n {{ spinWheelButtonText }}\r\n <DsIcon name=\"arrow-right-thin\" swapBreakpoint=\"md\"></DsIcon>\r\n </MobileAppLink>\r\n </div>\r\n\r\n <webpImage\r\n class=\"wheel-campaign__side-wheel\"\r\n src=\"/frontend/kasa-loyalty/img/widgets/wheel-campaign/campaign-wheel.png\"\r\n alt=\"kolo štÄ›stĂ\"\r\n >\r\n </webpImage>\r\n </div>\r\n\r\n <div class=\"wheel-campaign__side-completed\" v-show=\"isGoalCompleted\">\r\n <div class=\"wheel-campaign__thanks-note\">\r\n <span class=\"wheel-campaign__thanks-note-text\">DÄ›kujeme! </span>\r\n <webpImage\r\n class=\"wheel-campaign__thanks-note-heart\"\r\n src=\"/frontend/kasa-loyalty/img/widgets/wheel-campaign/Heart.png\"\r\n alt=\"emoji srdce\"\r\n >\r\n </webpImage>\r\n </div>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\nimport { computed, reactive, ref, nextTick } from \"vue\";\r\nimport MobileAppLink from \"@/mobile-apps/components/mobile-app-link.vue\";\r\nimport gsap from \"gsap\";\r\nimport { StringHelper } from \"@/helpers/string-helper\";\r\nimport WebpImage from \"@sazka/design-system/src/image/webp-image.vue\";\r\nimport { getActiveWheelCampaign } from \"@/api-connector/sazka-api/methods/kasa-apis\";\r\nimport { WheelCampaign } from \"@/api-connector/sazka-api/models/wheel-campaign\";\r\nimport {\r\n dataLayerCharityBannerImpression,\r\n dataLayerCharityBannerClickMoreInfo,\r\n dataLayerCharityBannerClickSpinWheel,\r\n} from \"@/data-layer/services/wheel-campaigns\";\r\nimport { onViewportEnter } from \"@/shared/utils/viewport-enter\";\r\nimport DsSmileStatic from \"@sazka/design-system/src/smiles//ds-smile-static.vue\";\r\nimport {\r\n DsSmileStaticFacePosition as FacePosition,\r\n DsSmileStaticFaceType as FaceType,\r\n} from \"@sazka/design-system/src/smiles//ds-smile-static-types\";\r\nimport DsIcon from \"@sazka/design-system/src/icon/ds-icon.vue\";\r\n\r\nconst animationDuration = 1.6;\r\nconst bannerPosition = \"middle\";\r\n\r\nconst wheelCampaignRef = ref(null);\r\nconst campaignInfo = ref<WheelCampaign>(null);\r\nconst isCollectedSumInViewport = ref(false);\r\nconst collectedSumInfoRef = ref<HTMLElement>(null);\r\nconst snap = gsap.utils.snap(1);\r\n\r\nconst tweenedSum = reactive({\r\n number: 0,\r\n});\r\nconst tweenedProgress = reactive({\r\n number: 0,\r\n});\r\n\r\nconst progressBarStyle = computed(() => \"width: \" + tweenedProgress.number + \"%\");\r\nconst goalProgressPercentage = computed(() => {\r\n if (!campaignInfo.value || campaignInfo.value.currentValue == 0 || campaignInfo.value.targetValue == 0) return 0;\r\n if (campaignInfo.value.currentValue / campaignInfo.value.targetValue >= 1) return 100;\r\n return (100 * campaignInfo.value.currentValue) / campaignInfo.value.targetValue;\r\n});\r\nconst isGoalCompleted = computed(() => goalProgressPercentage.value >= 100);\r\nconst goalSumFormatted = computed(() => StringHelper.toCurrencyString(campaignInfo.value.targetValue));\r\nconst collectedSumFormatted = computed(\r\n () => StringHelper.toCurrencyString(snap(tweenedSum.number)) + (isGoalCompleted.value ? \"!\" : \"\")\r\n);\r\nconst promoText1 = computed(() =>\r\n isGoalCompleted.value ? \"ÚžasnĂ©! Pomohli jste nám vybrat\" : campaignInfo.value?.texts?.promoText1\r\n);\r\nconst faceType = computed(() => (isGoalCompleted.value ? FaceType.Stars : FaceType.Hearts));\r\nconst spinWheelButtonText = ref(\"ZatoÄŤit Kolem Ĺ tÄ›stĂ\");\r\n\r\nconst getBannerTextForDataLayer = () =>\r\n campaignInfo.value?.texts.wheelPromoText1 + \" \" + campaignInfo.value?.texts.wheelPromoText2;\r\nconst moreInfoClick = () => {\r\n dataLayerCharityBannerClickMoreInfo();\r\n};\r\nconst spinWheelClick = () => {\r\n dataLayerCharityBannerClickSpinWheel(campaignInfo.value.id.toString(), spinWheelButtonText.value, bannerPosition);\r\n};\r\n\r\nconst setupActiveCampaign = async () => {\r\n try {\r\n campaignInfo.value = await getActiveWheelCampaign();\r\n } catch (error) {\r\n console.log(\"activeCampaign\", error);\r\n }\r\n\r\n if (campaignInfo.value) {\r\n nextTick(() => {\r\n const hash = window.location.hash.substring(1);\r\n if (hash == \"dobrokolo\") {\r\n wheelCampaignRef.value.scrollIntoView(true);\r\n }\r\n\r\n onViewportEnter(collectedSumInfoRef.value).then(() => {\r\n isCollectedSumInViewport.value = true;\r\n gsap.to(tweenedSum, { duration: animationDuration, number: campaignInfo.value.currentValue ?? 0 });\r\n gsap.to(tweenedProgress, { duration: animationDuration, number: goalProgressPercentage.value });\r\n\r\n setTimeout(() => {\r\n dataLayerCharityBannerImpression(\r\n campaignInfo.value.id.toString(),\r\n getBannerTextForDataLayer(),\r\n bannerPosition\r\n );\r\n }, 0);\r\n });\r\n });\r\n }\r\n};\r\n\r\nsetupActiveCampaign();\r\n</script>\r\n","import script from \"./_wheel-campaign.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./_wheel-campaign.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { ref } from \"vue\";\r\n\r\nconst webViewDebugModeOn = ref(false);\r\n\r\nconst initWebviewDebugMode = (): void => {\r\n try {\r\n if (environment.env == \"Production\") {\r\n return;\r\n }\r\n\r\n // Create debug button\r\n const debugBtn = document.createElement(\"button\");\r\n debugBtn.className = \"webview-debug\";\r\n debugBtn.onclick = () => {\r\n webViewDebugModeOn.value = !webViewDebugModeOn.value;\r\n $(\".webview-debug__mode\").toggleClass(\"webview-debug__mode--active\");\r\n };\r\n\r\n debugBtn.insertAdjacentHTML(\r\n \"beforeend\",\r\n '<span>WebView Debug</span> <span class=\"webview-debug__mode\">Active</span>'\r\n );\r\n document.querySelector(\"main\").appendChild(debugBtn);\r\n } catch (e) {\r\n console.error(`WebView Debug Mode Initialiazation Failed: ${e}`);\r\n }\r\n};\r\n\r\nconst showEventAlert = (interfaceName: string, methodName: string, argument: string): void => {\r\n try {\r\n if (!webViewDebugModeOn.value) return;\r\n\r\n const eventMessage =\r\n argument !== null && argument !== undefined\r\n ? `Interface ${interfaceName}; method ${methodName}('${argument}')`\r\n : `Interface ${interfaceName}; method ${methodName}()`;\r\n confirm(eventMessage);\r\n } catch (e) {\r\n console.error(`Show Alert For WebView Debug Mode Failed: ${e}`);\r\n }\r\n};\r\n\r\nexport default function useWebviewDebugMode() {\r\n return {\r\n showEventAlert,\r\n initWebviewDebugMode,\r\n };\r\n}\r\n","export type MobileAppMethodName =\r\n | \"goToDeepLink\"\r\n | \"openLinkBrowser\"\r\n | \"openInBrowser\"\r\n | \"showChat\"\r\n | \"openPdf\"\r\n | \"refreshBalance\";\r\n\r\ntype MobileAppInterfaceName = \"generalIntegration\";\r\n\r\nimport useWebviewDebugMode from \"./utils/use-webview-debug\";\r\nconst { initWebviewDebugMode, showEventAlert } = useWebviewDebugMode();\r\n\r\nexport function triggerMobileAppEvent(\r\n methodName: MobileAppMethodName,\r\n argument?: string,\r\n interfaceName?: MobileAppInterfaceName\r\n): void;\r\nexport function triggerMobileAppEvent(\r\n methodName: string,\r\n argument?: string,\r\n interfaceName?: MobileAppInterfaceName\r\n): void;\r\nexport function triggerMobileAppEvent(\r\n methodName: string,\r\n argument?: string,\r\n interfaceName: MobileAppInterfaceName = \"generalIntegration\"\r\n): void {\r\n const anyWindow = window as any;\r\n\r\n // for iOS WebKit\r\n if (typeof anyWindow.webkit !== \"undefined\") {\r\n showEventAlert(interfaceName, methodName, argument);\r\n argument !== null && argument !== undefined\r\n ? anyWindow.webkit.messageHandlers[interfaceName].postMessage(\r\n JSON.stringify({ type: methodName, parameters: argument })\r\n )\r\n : anyWindow.webkit.messageHandlers[interfaceName]?.postMessage(JSON.stringify({ type: methodName }));\r\n }\r\n\r\n // for Android WebView\r\n const androindInterface = anyWindow[interfaceName];\r\n if (androindInterface && androindInterface.hasOwnProperty(methodName)) {\r\n showEventAlert(interfaceName, methodName, argument);\r\n argument !== null && argument !== undefined\r\n ? androindInterface[methodName](argument)\r\n : androindInterface[methodName]();\r\n }\r\n}\r\n\r\nfunction initAutoMobileAppEvents() {\r\n document.querySelectorAll(\"[data-app-event]:not([data-app-event=''])\").forEach((item) => {\r\n item.addEventListener(\"click\", (e) => {\r\n e.preventDefault();\r\n const eventName = (e.currentTarget as HTMLElement).getAttribute(\"data-app-event\");\r\n const argument = (e.currentTarget as HTMLElement).getAttribute(\"data-app-argument\");\r\n\r\n triggerMobileAppEvent(eventName, argument);\r\n });\r\n });\r\n}\r\n\r\nexport const isMobileApp = environment.isInAppView || false;\r\n\r\nexport function initMobileAppFeatures() {\r\n if (isMobileApp) {\r\n initWebviewDebugMode();\r\n initAutoMobileAppEvents();\r\n }\r\n}\r\n","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, mergeProps as _mergeProps, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = [\"href\", \"data-app-event\", \"data-app-argument\"]\n\nimport { computed } from \"vue\";\r\nimport { triggerMobileAppEvent, MobileAppMethodName, isMobileApp } from \"@/mobile-apps/mobile-app-integration\";\r\n\r\n\nexport default /*@__PURE__*/_defineComponent({\n __name: 'mobile-app-link',\n props: {\n href: {},\n eventName: {},\n eventArgument: {},\n openInNewTab: { type: Boolean },\n isExternal: { type: Boolean }\n },\n setup(__props: any) {\n\r\nconst props = __props;\r\n\r\nconst attributes = computed(() => {\r\n const attributes = {\r\n target: null,\r\n rel: null,\r\n };\r\n\r\n if (props.openInNewTab || props.isExternal) {\r\n attributes.target = \"_blank\";\r\n attributes.rel = \"noopener\";\r\n }\r\n if (props.isExternal) {\r\n attributes.rel += \" noreferrer\";\r\n }\r\n\r\n return attributes;\r\n});\r\n\r\nconst eventArgumentFormatted = computed(() => {\r\n const link = props.eventArgument || props.href;\r\n\r\n if (link.startsWith(\"/\")) {\r\n return `${location.origin}${props.eventArgument}`;\r\n }\r\n\r\n return link;\r\n});\r\n\r\nconst handleClick = (event: Event) => {\r\n if (isMobileApp && props.eventName) {\r\n event.preventDefault();\r\n triggerMobileAppEvent(props.eventName as string, eventArgumentFormatted.value);\r\n }\r\n};\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"a\", _mergeProps({\n onClick: handleClick,\n href: _ctx.href,\n \"data-app-event\": _ctx.eventName,\n \"data-app-argument\": eventArgumentFormatted.value\n }, attributes.value), [\n _renderSlot(_ctx.$slots, \"default\")\n ], 16, _hoisted_1))\n}\n}\n\n})","<template>\r\n <a\r\n @click=\"handleClick\"\r\n :href=\"href\"\r\n :data-app-event=\"eventName\"\r\n :data-app-argument=\"eventArgumentFormatted\"\r\n v-bind=\"attributes\"\r\n ><slot></slot\r\n ></a>\r\n</template>\r\n\r\n<script lang=\"ts\" setup>\r\nimport { computed } from \"vue\";\r\nimport { triggerMobileAppEvent, MobileAppMethodName, isMobileApp } from \"@/mobile-apps/mobile-app-integration\";\r\n\r\nconst props = defineProps<{\r\n href: string;\r\n eventName?: MobileAppMethodName | Omit<string, MobileAppMethodName>;\r\n eventArgument?: string;\r\n\r\n /**\r\n * For links in ours web - e.g. pages, pdf documents...\r\n */\r\n openInNewTab?: boolean;\r\n\r\n /**\r\n * For external links that link outside of our website\r\n */\r\n isExternal?: boolean;\r\n}>();\r\n\r\nconst attributes = computed(() => {\r\n const attributes = {\r\n target: null,\r\n rel: null,\r\n };\r\n\r\n if (props.openInNewTab || props.isExternal) {\r\n attributes.target = \"_blank\";\r\n attributes.rel = \"noopener\";\r\n }\r\n if (props.isExternal) {\r\n attributes.rel += \" noreferrer\";\r\n }\r\n\r\n return attributes;\r\n});\r\n\r\nconst eventArgumentFormatted = computed(() => {\r\n const link = props.eventArgument || props.href;\r\n\r\n if (link.startsWith(\"/\")) {\r\n return `${location.origin}${props.eventArgument}`;\r\n }\r\n\r\n return link;\r\n});\r\n\r\nconst handleClick = (event: Event) => {\r\n if (isMobileApp && props.eventName) {\r\n event.preventDefault();\r\n triggerMobileAppEvent(props.eventName as string, eventArgumentFormatted.value);\r\n }\r\n};\r\n</script>\r\n","import script from \"./mobile-app-link.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./mobile-app-link.vue?vue&type=script&lang=ts&setup=true\"\n\nconst __exports__ = script;\n\nexport default __exports__"],"names":["async","getStandaloneWheelBanner","response","httpClient","get","data","getExtraGamePosList","getActiveWheelCampaign","dataLayerSpinBannerImpression","bannerId","creative","position","dataLayer","push","event","action","impress","promos","id","name","dataLayerSpinBannerClickingFurther","show","dataLayerCharityBannerImpression","dataLayerCharityBannerClickMoreInfo","clickMoreInfo","eventProperty1","dataLayerCharityBannerClickSpinWheel","culture","StringHelper","toCurrencyString","amount","Intl","NumberFormat","style","currency","maximumSignificantDigits","format","toCurrencyFormattedString","number","showKC","useNbsp","preComma","retVal","stringReverse","str","split","reverse","join","ref","toFixed","postComma","match","String","fromCharCode","getChanceInflection","numberOfChances","undefined","chanceInflection","DsSmileStaticFaceType","DsSmileStaticFacePosition","onViewportEnter","htmlElement","threshold","Promise","res","IntersectionObserver","options","observer","entries","filter","entry","isIntersecting","intersectionRatio","forEach","unobserve","target","observe","_hoisted_1","class","_hoisted_2","_hoisted_3","_hoisted_4","_defineComponent","__name","props","faceType","default","DefaultSmile","facePosition","Center","withShadow","type","Boolean","responsive","size","shadowColor","width","height","isInStorybook","setup","__props","resolvedBody","computed","resolvedFace","_ctx","_cache","_openBlock","_createElementBlock","_normalizeClass","_createElementVNode","src","value","alt","key","_createCommentVNode","__exports__","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","_hoisted_17","animationDuration","bannerPosition","wheelCampaignRef","campaignInfo","isCollectedSumInViewport","collectedSumInfoRef","snap","gsap","utils","tweenedSum","reactive","tweenedProgress","progressBarStyle","goalProgressPercentage","currentValue","targetValue","isGoalCompleted","goalSumFormatted","collectedSumFormatted","promoText1","_campaignInfo$value","texts","FaceType","Stars","Hearts","spinWheelButtonText","getBannerTextForDataLayer","_campaignInfo$value2","_campaignInfo$value3","wheelPromoText1","wheelPromoText2","moreInfoClick","spinWheelClick","toString","setupActiveCampaign","error","console","log","nextTick","hash","window","location","substring","scrollIntoView","then","to","duration","setTimeout","_campaignInfo$value$t","_campaignInfo$value$t2","_campaignInfo$value$t3","ref_key","_createVNode","DsSmileStatic","_unref","FacePosition","RightDown","innerHTML","_createTextVNode","_toDisplayString","promoText2","promoText3","MobileAppLink","href","promoLink","openInNewTab","onClick","$event","_withCtx","DsIcon","swapBreakpoint","_","_withDirectives","_vShow","_normalizeStyle","WebpImage","webViewDebugModeOn","initWebviewDebugMode","environment","env","debugBtn","document","createElement","className","onclick","$","toggleClass","insertAdjacentHTML","querySelector","appendChild","e","showEventAlert","interfaceName","methodName","argument","eventMessage","confirm","useWebviewDebugMode","triggerMobileAppEvent","anyWindow","_anyWindow$webkit$mes","webkit","messageHandlers","postMessage","JSON","stringify","parameters","androindInterface","hasOwnProperty","isMobileApp","isInAppView","eventName","eventArgument","isExternal","attributes","rel","eventArgumentFormatted","link","startsWith","origin","handleClick","preventDefault","_mergeProps","_renderSlot","$slots"],"sourceRoot":""}