(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-19336cc9"],{"0583":function(e,t,n){"use strict";var i=n("52ab"),a=n("ebea");t["a"]={data:function(){return{palette:[],scope:".brand-themes-template-box",paletteRef:"paletteDefinitions",styleElement:null}},methods:{getPaletteColors:i["getPaletteColors"],updatePalette:function(e){this.palette=this.getPaletteColors(e),this.generatePaletteCSS()},generatePaletteCSS:function(e){var t=e?this.getPaletteColors(e):this.palette,n=this.getStyleElement();Object(a["r"])(n,t,this.scope)},getStyleElement:function(){if(this.styleElement)return this.styleElement;var e=this.$refs[this.paletteRef];return this.styleElement=Object(a["k"])(e,"custom-colors"),this.styleElement}}}},39542:function(e,t){var n=function(){return{useCaseCollectionId:"64b93c2949a22f0028c7aab0",image:"advanced-tactics/headline-ab-testing.png",content:"https://www.optimonk.com/tactics/landing-page-headlines-with-different-value-propositions/",selectType:"start-DC-campaign"}},i=function(){return[{name:{en:"A/B test your website headline",hu:"A/B teszteld weboldalad címsorát"},targeting:{en:"Improve the conversion rate of your landing pages by A/B testing different headlines with different value propositions and finding the best one for your audience.",hu:"Növeld a landoló odalak konverziós arányát azáltal, hogy A/B teszteled a különböző címsorokat különböző értékajánlatokkal, és találd meg a közönség számára legmegfelelőbbet."},image:"advanced-tactics/headline-ab-testing.png",content:"https://www.optimonk.com/tactics/landing-page-headlines-with-different-value-propositions/"},{name:{en:"A/B test your website headline",hu:"A/B teszteld weboldalad címsorát"},targeting:{en:"Improve the conversion rate of your landing pages by A/B testing different headlines with different value propositions and finding the best one for your audience.",hu:"Növeld a landoló odalak konverziós arányát azáltal, hogy A/B teszteled a különböző címsorokat különböző értékajánlatokkal, és találd meg a közönség számára legmegfelelőbbet."},image:"advanced-tactics/headline-ab-testing.png",content:"https://www.optimonk.com/tactics/landing-page-headlines-with-different-value-propositions/"},{name:{en:"A/B test your website headline",hu:"A/B teszteld weboldalad címsorát"},targeting:{en:"Improve the conversion rate of your landing pages by A/B testing different headlines with different value propositions and finding the best one for your audience.",hu:"Növeld a landoló odalak konverziós arányát azáltal, hogy A/B teszteled a különböző címsorokat különböző értékajánlatokkal, és találd meg a közönség számára legmegfelelőbbet."},image:"advanced-tactics/headline-ab-testing.png",content:"https://www.optimonk.com/tactics/landing-page-headlines-with-different-value-propositions/"},{name:{en:"A/B test your website headline",hu:"A/B teszteld weboldalad címsorát"},targeting:{en:"Improve the conversion rate of your landing pages by A/B testing different headlines with different value propositions and finding the best one for your audience.",hu:"Növeld a landoló odalak konverziós arányát azáltal, hogy A/B teszteled a különböző címsorokat különböző értékajánlatokkal, és találd meg a közönség számára legmegfelelőbbet."},image:"advanced-tactics/headline-ab-testing.png",content:"https://www.optimonk.com/tactics/landing-page-headlines-with-different-value-propositions/"}]};e.exports={getAbTestTactic:n,getAdvancedTactics:i}},"4a37":function(e,t,n){"use strict";n("8d0d"),n("868d"),n("c78b");var i=n("de79"),a=(n("df26"),n("79c4")),s=n("39542"),r=n("ea14"),o=n.n(r),c={DC:"start-DC-campaign"};t["a"]={data:function(){return{preparedFixTactic:null}},computed:{getFixTacticOptions:function(){return{selectTypes:[c.DC]}},getFixTactic:function(){return this.preparedFixTactic}},methods:{hasSelectHandlerForFixTactic:function(e){return(null===e||void 0===e?void 0:e.selectType)&&this.getFixTacticOptions.selectTypes.includes(e.selectType)},selectFixTactic:function(){var e,t=null===(e=this.getFixTactic)||void 0===e?void 0:e.selectType;t&&t===c.DC&&this.$emit("createDynamicContent")},prepareFixTactic:function(){var e=this;return Object(a["a"])(regeneratorRuntime.mark((function t(){var n,a,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=Object(s["getAbTestTactic"])(),n.hasSelectHandler=e.hasSelectHandlerForFixTactic(n),n.useCaseCollectionId){t.next=5;break}return e.preparedFixTactic=Object(i["a"])(Object(i["a"])({},n),{},{_id:n.useCaseCollectionId}),t.abrupt("return");case 5:return a=n.useCaseCollectionId,t.next=8,e.getTacticData(a);case 8:if(r=t.sent,null!==r&&void 0!==r&&r.name){t.next=11;break}return t.abrupt("return");case 11:e.preparedFixTactic=Object(i["a"])(Object(i["a"])(Object(i["a"])({},n),r||{}),{},{_id:n.useCaseCollectionId});case 12:case"end":return t.stop()}}),t)})))()},getTacticData:function(e){var t=this;return Object(a["a"])(regeneratorRuntime.mark((function n(){var i,a;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,t.$apollo.query({query:o.a,variables:{id:e}});case 3:return i=n.sent,a=i.data.useCase,n.abrupt("return",a);case 8:return n.prev=8,n.t0=n["catch"](0),n.abrupt("return",null);case 11:case"end":return n.stop()}}),n,null,[[0,8]])})))()}}}},"51b0e":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"template-chooser-recommendations"},[n("div",{staticClass:"row justify-content-between align-items-center mb-6"},[n("div",{staticClass:"col"},[n("om-heading",{staticClass:"font-size-3",attrs:{h3:""}},[e._v(e._s(e.$t("recommendedUseCases")))])],1),e.tacticRecommendationLink?n("div",{staticClass:"col-auto"},[n("om-link",{staticClass:"text-nowrap",attrs:{primary:"",withIconRight:"","data-track-property":"change:moreRecommendation"},on:{click:function(t){return e.onSeeAll(e.tacticRecommendationLink)}}},[e._v(e._s(e.$t("templateChooser.moreRecommendation")))])],1):e._e()]),e.isLoading?n("Skeleton",{attrs:{rows:1,cols:3}}):n("div",{staticClass:"row recommendation-tactics"},[e._l(e.items,(function(t,i){return[n("tactic-card",{key:t._id,attrs:{dimensions:e.boxDimensions,useCase:t,customThemes:e.userThemes,baseThemes:e.themes.base,index:i,showcase:""},on:{observable:function(t){return e.addObservable(t.$el)},inited:e.updateDimensions,contentLoaded:e.onContentLoaded}})]}))],2)],1)},a=[],s=(n("2d6d"),n("841a"),n("cfce"),n("33ef"),n("e416"),n("868d"),n("ef1f"),n("df26"),n("79c4")),r=n("de79"),o=n("9ce4"),c=n("9179"),d=n("4a37"),l=n("317a"),u=n("e8c8"),h=n("de98"),m=n("e0eb"),f=n("695a"),v=n("f6d8"),p=50,b={name:"Recommendations",components:{Skeleton:function(){return n.e("chunk-e81c3b9e").then(n.bind(null,"bdf3"))},TacticCard:function(){return n.e("chunk-491ff4da").then(n.bind(null,"70fd"))}},mixins:[d["a"],v["a"],f["a"],l["a"],u["a"],h["a"]],data:function(){return{fixTactic:null,useCasesLoaded:!1,themesLoaded:!1,checkTimes:0,themesInterval:null}},computed:Object(r["a"])(Object(r["a"])({},Object(o["d"])(["wizardPreferences","getRecommendedTactics"])),{},{preferredBaseThemeId:function(){var e;return null===(e=this.wizardPreferences)||void 0===e?void 0:e.customThemeId},preferredThemeId:function(){var e,t,n;return(null===(e=this.themes)||void 0===e||null===(t=e.user)||void 0===t||null===(n=t[0])||void 0===n?void 0:n.sourceTheme)||this.preferredBaseThemeId},useCases:function(){var e=this;return(this.getRecommendedTactics||[]).filter((function(t){var n=t.templates;return n.some((function(t){t._id;var n=t.theme;return n===e.preferredBaseThemeName}))}))},preferredBaseThemeName:function(){var e,t,n,i=this,a=null===(e=this.themes)||void 0===e||null===(t=e.base)||void 0===t?void 0:t.find((function(e){var t=e._id;return t===i.preferredThemeId}));return null!==(n=null===a||void 0===a?void 0:a.name)&&void 0!==n?n:"Essential"},items:function(){return(this.useCases||[]).slice(0,3)},tacticRecommendationLink:function(){var e,t,n;return{name:"tactics_recommendation",query:{customTheme:(null===(e=this.themes)||void 0===e||null===(t=e.user)||void 0===t||null===(n=t[0])||void 0===n?void 0:n._id)||this.preferredBaseThemeId,theme:this.preferredBaseThemeName}}},userThemes:function(){var e,t,n;return null===(e=this.themes)||void 0===e||null===(t=e.user)||void 0===t||null===(n=t.map)||void 0===n?void 0:n.call(t,(function(e){return e.themeKit.id=e._id,e.themeKit.source=null===e||void 0===e?void 0:e.sourceTheme,e}))},isLoading:function(){return!this.useCasesLoaded||!this.themesLoaded}}),watch:{themes:{handler:function(e){var t;null!==e&&void 0!==e&&null!==(t=e.base)&&void 0!==t&&t.length?(this.themesInterval&&clearInterval(this.themesInterval),this.themesLoaded=!0):this.setupThemesChecker()},deep:!0,immediate:!0},useCases:{handler:function(e){null!==e&&void 0!==e&&e.length&&(this.useCasesLoaded=!0)},deep:!0,immediate:!0},isLoading:{handler:function(e){e&&this.$emit("loaded")},immediate:!0}},created:function(){this.initiate()},mounted:function(){this.checkTimes=0},methods:Object(r["a"])(Object(r["a"])({},Object(o["c"])(["fetchRecommendedTactics"])),{},{setupThemesChecker:function(){var e=this;this.themesInterval=setInterval((function(){var t;e.checkTimes++,e.themesLoaded=!(null===(t=e.themes)||void 0===t||!t.base),e.checkTimes>p&&(clearInterval(e.themesInterval),e.themesLoaded||(Object(c["a"])("recommendationNoThemes",{userId:Object(m["k"])()}),e.themesLoaded=!0))}),250)},initiate:function(){var e=this;return Object(s["a"])(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.prepareFixTactic();case 2:if(null!==(n=e.getRecommendedTactics)&&void 0!==n&&n.length){t.next=7;break}return t.next=5,e.fetchRecommendedTactics();case 5:t.next=9;break;case 7:e.useCasesLoaded=!0,e.$emit("loaded");case 9:case"end":return t.stop()}}),t)})))()},onSeeAll:function(e){this.$emit("track",{component:"Recommended for you",setting:"show"}),this.$router.push(e)}})},g=b,k=n("d802"),w=Object(k["a"])(g,i,a,!1,null,null,null);t["default"]=w.exports},de98:function(e,t,n){"use strict";var i=n("de79"),a=n("771a"),s=n("9ce4");t["a"]={data:function(){return{foundDimensions:!1,ssrBoxSelector:".template-thumbnail-box",boxDimensions:{width:null,height:null},frameRequested:!1}},computed:Object(i["a"])(Object(i["a"])({},Object(s["d"])(["accountFeatures"])),{},{isTemplatesWithSsr:function(){return Object(a["K"])(this.accountFeatures)},isChooserWithSsr:function(){return Object(a["w"])(this.accountFeatures)},isCampaignsWithSsr:function(){return Object(a["v"])(this.accountFeatures)},isModalsWithSsr:function(){return Object(a["C"])(this.accountFeatures)}}),mounted:function(){window.addEventListener("resize",this.handleResize)},beforeDestroy:function(){window.removeEventListener("resize",this.handleResize)},methods:{updateDimensions:function(e){var t=e||{},n=t.selector,i=void 0!==n&&n,a=t.property,s=void 0===a?"boxDimensions":a,r=t.updateGuard,o=void 0===r?"foundDimensions":r;if(!this[o]){var c=document.querySelector(i||this.ssrBoxSelector);if(c){var d=c.getBoundingClientRect(),l=d.width,u=d.height;this[s]={width:l,height:u},this[o]=!0}}},handleResize:function(){var e=this;this.frameRequested||(window.requestAnimationFrame((function(){e.foundDimensions=!1,e.updateDimensions(),e.frameRequested=!1})),this.frameRequested=!0)}}}},e8c8:function(e,t,n){"use strict";n("8f0b"),n("ef1f"),n("2ea2"),n("f3b8"),n("fa8c"),n("918c");t["a"]={props:{rootMargin:{type:String}},data:function(){return{intersectionRoot:null,intersectionObserverRootMargin:"0px",intersectionObserver:null,observed:new Set}},computed:{ioRootMargin:function(){return this.rootMargin||this.intersectionObserverRootMargin}},methods:{initIntersectionObserver:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.intersectionObserver=new IntersectionObserver((function(t){t.forEach((function(t){e.handleIntersection(t)}))}),{root:this.intersectionRoot||document.body,rootMargin:this.ioRootMargin}),t.forEach((function(t){e.observed.add(t),e.intersectionObserver.observe(t)}))},handleIntersection:function(e){var t=e.target&&e.target.__comp__;t&&this.isObservableComponent(t)&&(e.isIntersecting?t.onIntersecting():t.onNotIntersecting())},isObservableComponent:function(e){return e.onIntersecting&&e.onNotIntersecting},addObservable:function(e){this.intersectionObserver||this.initIntersectionObserver(),this.observed.has(e)||(this.observed.add(e),this.intersectionObserver.observe(e))}}}},ea14:function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetTacticBaseData"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NamedType",name:{kind:"Name",value:"ID"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"useCase"},name:{kind:"Name",value:"getTacticBaseData"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[]}]}}],loc:{start:0,end:75}};n.loc.source={body:"query GetTacticBaseData($id: ID) {\n  useCase: getTacticBaseData(id: $id)\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var c=o;o=new Set,c.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["GetTacticBaseData"]=r(n,"GetTacticBaseData")},f6d8:function(e,t,n){"use strict";t["a"]={props:{cache:{type:[Array,Object],default:null}},methods:{updateCache:function(e){this.$emit("updateCache",e)}}}}}]);
//# sourceMappingURL=chunk-19336cc9.96935d6f.js.map