try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="fecb5e50-5bbd-4b0e-8579-496eb6477de6",e._sentryDebugIdIdentifier="sentry-dbid-fecb5e50-5bbd-4b0e-8579-496eb6477de6")}catch(e){}{let e="undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:{};e.SENTRY_RELEASE={id:"558896"}}(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["preloadChunk-ButtonsApp"],{"08ad":function(e,t,s){"use strict";s("50ac")},"50ac":function(e,t,s){},5975:function(e,t,s){"use strict";s("4de4"),s("caad"),s("d81d"),s("14d9"),s("e9f5"),s("910d"),s("2532");var n=s("be92"),i=s("d373"),a=s("10ba");const o=["ios","android"];t["a"]={computed:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Object(n["f"])(i["a"].bottomSheet,["getOpenedBottomSheets"])),Object(n["f"])(i["a"].breakpoints,["isMobileOrTablet"])),Object(n["f"])(i["a"].cmsConfig,["getAppLinks","getDomainWebView"])),Object(n["f"])(i["a"].player,["getLanguageForUrl"])),{isNotAndroid(){return"android"!==a["a"].osName.toLowerCase()},iosLink(){return"Mac OS"===a["a"].osName&&this.getAppLinks.macOs?this.getAppLinks.macOs:this.getAppLinks.iOs},isDownloadAppPage(){return this.$route.path.includes(this.getAppLinks.android)},mappedSystems(){const e=this.isDownloadAppPage?this.getAppLinks.androidApp:`${this.getLanguageForUrl}${this.getAppLinks.android}`;return this.getDomainWebView?[]:o.map(t=>({name:t,link:"ios"===t&&(this.isNotAndroid||this.isDownloadAppPage)?this.iosLink:e}))},systems(){return this.mappedSystems.filter(({name:e})=>e===a["a"].osName.toLowerCase())}}),methods:{handleClick(e){var t;this.$bus.emit("stories-buttons-app-click",e.name),this.gtmElement&&this.$analytics.clickEvent({button:""+this.gtmElement,option:e.name}),"ios"===e.name&&this.isNotAndroid||this.isDownloadAppPage?window.open(e.link):(this.$router.push(e.link).catch(()=>({})),this.$emit("click-handler"),(null===(t=this.getOpenedBottomSheets)||void 0===t?void 0:t.length)&&this.isMobileOrTablet&&this.$bus.emit("close-menu-burger-bottom-sheets"))}}}},7827:function(e,t,s){"use strict";s.r(t);var n=s("f2bf");const i={key:0,class:"buttons-app nav-list"},a={class:"buttons-app__list"},o=["href","onClick"],l={class:"buttons-app__item-icon-wr"},r=["src","alt"],c={class:"buttons-app__item-info"},d=["innerHTML"];function b(e,t,s,b,p,u){return u.isButtonsVisible?(Object(n["openBlock"])(),Object(n["createElementBlock"])("nav",i,[Object(n["createElementVNode"])("ul",a,[(Object(n["openBlock"])(!0),Object(n["createElementBlock"])(n["Fragment"],null,Object(n["renderList"])(u.systemsForButtons,i=>(Object(n["openBlock"])(),Object(n["createElementBlock"])("li",{key:i.name,class:Object(n["normalizeClass"])(["buttons-app__item",u.className(i.name)])},[Object(n["createElementVNode"])("a",{href:i.link,class:Object(n["normalizeClass"])(["buttons-app__link nav-link btn btn--border-animated","btn--"+s.type]),onClick:Object(n["withModifiers"])(t=>e.handleClick(i),["prevent"])},[t[0]||(t[0]=Object(n["createElementVNode"])("span",{class:"btn__border-hover"},null,-1)),t[1]||(t[1]=Object(n["createTextVNode"])()),Object(n["createElementVNode"])("div",l,[Object(n["createElementVNode"])("img",{class:"buttons-app__item-icon",src:u.changeImg(i.name),alt:i.name},null,8,r)]),t[2]||(t[2]=Object(n["createTextVNode"])()),Object(n["createElementVNode"])("div",c,[Object(n["createElementVNode"])("div",{class:"buttons-app__item-text",innerHTML:u.changeText(i.name)},null,8,d)])],10,o)],2))),128))])])):Object(n["createCommentVNode"])("",!0)}var p=s("f3f3"),u=(s("caad"),s("be92")),m=s("d373"),h=s("5975"),g={name:"buttons-app",mixins:[h["a"]],props:{type:{type:String,default:"black",validator(e){return["black","grey","color","secondary","secondary-transparent"].includes(e)}},size:{type:String,default:"m",validator(e){return["s","m","l","big"].includes(e)}},gtmElement:{type:String,default:""},allButtonsVisibleOnMobile:{type:Boolean,default:!1}},computed:Object(p["a"])(Object(p["a"])(Object(p["a"])(Object(p["a"])({},Object(u["f"])(m["a"].cmsConfig,["getDomainWebView"])),Object(u["f"])(m["a"].player,["isPlayerAuthorized"])),Object(u["f"])(m["a"].breakpoints,["isMobileOrTablet"])),{},{isButtonsVisible(){return!this.isBigButton||!this.getDomainWebView&&this.systemsForButtons.length},isBigButton(){return"big"===this.size},systemsForButtons(){return!this.isMobileOrTablet||this.allButtonsVisibleOnMobile?this.mappedSystems:this.systems}}),methods:{className(e){return["buttons-app__item--type-"+this.type,"buttons-app__item--size-"+this.size,"buttons-app__item--"+e,{"buttons-app__item--auth":this.isPlayerAuthorized}]},changeImg(e){const t=this.isBigButton?"svg":"webp";return`/img/download-app/${e}_logo_app.${t}`},changeText(e){const t=this.isBigButton?"app_download":e+"_download";return this.isMobileOrTablet?this.$t("buttons_app."+t):e}}},f=(s("08ad"),s("6b0d")),O=s.n(f);const y=O()(g,[["render",b]]);t["default"]=y}}]); //# sourceMappingURL=preloadChunk-ButtonsApp.5cbba560.js.map