{"version":3,"sources":["webpack:///./src/views/Highlights.vue?70d7","webpack:///./src/views/scores/growth/overview/Index.vue?de1d","webpack:///./src/views/scores/growth/overview/Revenue.vue?2006","webpack:///src/views/scores/growth/overview/Revenue.vue","webpack:///./src/views/scores/growth/overview/Revenue.vue","webpack:///./src/views/scores/growth/overview/Revenue.vue?2412","webpack:///./src/views/scores/growth/overview/Transaction.vue?f05b","webpack:///src/views/scores/growth/overview/Transaction.vue","webpack:///./src/views/scores/growth/overview/Transaction.vue","webpack:///./src/views/scores/growth/overview/Transaction.vue?e2af","webpack:///src/views/scores/growth/overview/DailyTrend.vue","webpack:///./src/views/scores/growth/overview/DailyTrend.vue?7abd","webpack:///./src/views/scores/growth/overview/DailyTrend.vue","webpack:///./src/views/scores/growth/overview/DailyTrend.vue?e949","webpack:///src/views/scores/growth/overview/TransactionMetrics.vue","webpack:///./src/views/scores/growth/overview/TransactionMetrics.vue?b386","webpack:///./src/views/scores/growth/overview/TransactionMetrics.vue","webpack:///./src/views/scores/growth/overview/TransactionMetrics.vue?266c","webpack:///src/views/scores/growth/overview/RevenueMetrics.vue","webpack:///./src/views/scores/growth/overview/RevenueMetrics.vue?4eb6","webpack:///./src/views/scores/growth/overview/RevenueMetrics.vue","webpack:///./src/views/scores/growth/overview/RevenueMetrics.vue?3c69","webpack:///src/views/scores/growth/overview/MainScore.vue","webpack:///./src/views/scores/growth/overview/MainScore.vue?b46f","webpack:///./src/views/scores/growth/overview/MainScore.vue","webpack:///./src/views/scores/growth/overview/MainScore.vue?0e08","webpack:///src/views/scores/growth/overview/CostRevenueTrend.vue","webpack:///./src/views/scores/growth/overview/CostRevenueTrend.vue?5dfe","webpack:///./src/views/scores/growth/overview/CostRevenueTrend.vue","webpack:///./src/views/scores/growth/overview/CostRevenueTrend.vue?f5c6","webpack:///src/views/scores/growth/overview/CostRevenuePlatform.vue","webpack:///./src/views/scores/growth/overview/CostRevenuePlatform.vue?0bc2","webpack:///./src/views/scores/growth/overview/CostRevenuePlatform.vue","webpack:///./src/views/scores/growth/overview/CostRevenuePlatform.vue?42b2","webpack:///src/views/scores/growth/overview/Index.vue","webpack:///./src/views/scores/growth/overview/Index.vue?9d3c","webpack:///./src/views/scores/growth/overview/Index.vue","webpack:///./src/assets/images/uploads/highlights-ai-icon.svg","webpack:///./src/views/Highlights.vue?af48","webpack:///src/views/Highlights.vue","webpack:///./src/views/Highlights.vue?7e54","webpack:///./src/views/Highlights.vue"],"names":["components","BCard","BCardHeader","BCardTitle","BCardBody","BRow","BCol","BProgress","props","transactionData","type","Object","required","data","crumbs","text","active","methods","kFormatter","component","_vm","this","_h","$createElement","_c","_self","attrs","_v","staticClass","_s","planned","realized","progress","revenueData","$","JQuery","trendData","computed","apexChatData","defaultOps","$store","getters","customOps","annotations","yaxis","y","avgScore","label","xaxis","categories","keys","web","labels","formatter","val","title","extend","series","name","values","growth","app","chartOptions","BFormRadioGroup","BTable","BButton","directives","VBTooltip","Ripple","transactionMetrics","selectedRadio","optionsRadio","value","fields","key","items","tooltip","show","cvr","company_avg","percent","companyAverage","variant","changeVariant","industry_avg","industryAverage","cpa","tpa2c","cos","model","callback","$$v","expression","scopedSlots","_u","fn","rawName","modifiers","class","revenueMetrics","BCollapse","AnimatedNumber","VBToggle","growthScore","formatToPrice","Number","toFixed","costTrend","revenueTrend","changeHorizontalTitle","changeTitle","costByPlatform","customersPie","getSeries","changingTitle","cost","revenue","transaction","noDataTemp","Loading","CostRevenuePlatform","CostRevenueTrend","RevenueMetrics","TransactionMetrics","DailyTrend","Transaction","Campaign","MainScore","Revenue","Highlights","FiltersV2","noData","recData","currentKey","filterParams","params","$http","get","brand_id","brand","adin_id","campaign","event_name","event","then","catch","e","getMetrics","_e","campaignCard","growthScoreTrend","tblTransaction","tblRevenue","staticRenderFns","module","exports","VuePerfectScrollbar","perfectScrollbarSettings","maxScrollbarLength","wheelPropagation","highlightList","loading","watch","handler","oldVal","getHighlightList","deep","created","getIcon","aiIcon","processHighlights","highlights","result","forEach","item","newItem","id","content","replace","source","push","getBrandName","seoBrand","getCampaignName","pageName","$route","brandName","campaignName","res","err","copyFunc","el","document","createElement","body","appendChild","select","execCommand","removeChild","m","length","staticStyle","ref","_l","on","$event"],"mappings":"4GAAA,W,kECAA,I,wHCA6X,ECoD9W,CACfA,WAAA,CACAC,UACAC,gBACAC,eACAC,cACAC,SACAC,SACAC,eAEAC,MAAA,CACAC,gBAAA,CACAC,KAAAC,OACAC,cAGAC,UACA,CACAC,OAAA,CACA,CACAC,KAAA,aAEA,CACAA,KAAA,YAEA,CACAA,KAAA,eACAC,cAKAC,QAAA,CACAC,iB,YC9EIC,EAAY,YACd,GCRW,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,SAAS,CAACE,MAAM,CAAC,UAAU,KAAK,CAACF,EAAG,gBAAgB,CAACA,EAAG,eAAe,CAACJ,EAAIO,GAAG,kBAAkB,GAAGH,EAAG,cAAc,CAACA,EAAG,MAAM,CAACI,YAAY,eAAe,CAACJ,EAAG,MAAM,CAACA,EAAG,KAAK,CAACI,YAAY,2BAA2B,CAACR,EAAIO,GAAG,IAAIP,EAAIS,GAAGT,EAAIF,WAAWE,EAAIX,gBAAgBqB,UAAU,OAAON,EAAG,OAAO,CAACI,YAAY,0BAA0B,CAACR,EAAIO,GAAG,iBAAiBH,EAAG,MAAM,CAACI,YAAY,QAAQ,CAACJ,EAAG,KAAK,CAACI,YAAY,2BAA2B,CAACR,EAAIO,GAAG,IAAIP,EAAIS,GAAGT,EAAIF,WAAWE,EAAIX,gBAAgBsB,WAAW,OAAOP,EAAG,OAAO,CAACI,YAAY,0BAA0B,CAACR,EAAIO,GAAG,oBAAoBH,EAAG,MAAM,CAACI,YAAY,oBAAoB,CAACJ,EAAG,QAAQ,CAACI,YAAY,gBAAgB,CAACJ,EAAG,QAAQ,CAACA,EAAG,MAAM,CAACI,YAAY,kBAAkB,CAACJ,EAAG,KAA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AM,CAACI,YAAY,cAAcR,EAAIuL,GAAIvL,EAAiB,wBAAW0J,GAAM,OAAOtJ,EAAG,IAAI,CAACkD,IAAIoG,EAAKE,GAAGpJ,YAAY,OAAOF,MAAM,CAAC,KAAO,sBAAsBkL,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOzL,EAAI0K,SAAShB,EAAKG,QAAQA,IAAI,CAACzJ,EAAG,MAAM,CAACI,YAAY,YAAYF,MAAM,CAAC,IAAMN,EAAIoJ,QAAQM,EAAKK,WAAW/J,EAAIO,GAAG,KAAKP,EAAIO,GAAG,IAAIP,EAAIS,GAAGiJ,EAAKG,SAAS,MAAO,IAAE,MAAM,IAAI,EAAE,GACr+C,IGUpBxB,EAEA,KACA,KACA,MAIa,IAAAtI,E","file":"js/chunk-289d7e73.3ea15dfe.js","sourcesContent":["export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Highlights.vue?vue&type=style&index=0&id=1e2772b3&prod&lang=scss\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',[_c('filtersV2',{attrs:{\"name\":\"growthWithEvent\",\"get-metrics\":_vm.getMetrics}}),(_vm.noData)?_c('no-data-temp'):_vm._e(),(_vm.recData !== null)?_c('span',{key:_vm.currentKey},[_c('b-row',{staticClass:\"match-height\"},[_c('b-col',{attrs:{\"lg\":\"4\",\"sm\":\"12\"}},[_c('campaign',{attrs:{\"campaign-data\":_vm.recData.campaignCard}})],1),_c('b-col',{attrs:{\"lg\":\"4\",\"sm\":\"12\"}},[_c('transaction',{attrs:{\"transaction-data\":_vm.recData.transaction}})],1),_c('b-col',{attrs:{\"lg\":\"4\",\"sm\":\"12\"}},[_c('revenue',{attrs:{\"revenue-data\":_vm.recData.revenue}})],1)],1),_c('b-row',{staticClass:\"match-height\"},[_c('b-col',{attrs:{\"lg\":\"9\",\"md\":\"12\"}},[_c('daily-trend',{attrs:{\"trend-data\":_vm.recData.growthScoreTrend}})],1),_c('b-col',{attrs:{\"lg\":\"3\",\"sm\":\"12\"}},[_c('main-score',{attrs:{\"growth-score\":_vm.recData.growthScore}})],1)],1),_c('b-row',{staticClass:\"match-height\"},[_c('b-col',{attrs:{\"lg\":\"8\"}},[_c('cost-revenue-trend',{attrs:{\"cost-trend\":_vm.recData.costTrend,\"revenue-trend\":_vm.recData.revenueTrend}})],1),_c('b-col',{attrs:{\"lg\":\"4\"}},[_c('cost-revenue-platform',{attrs:{\"cost-by-platform\":_vm.recData.costByPlatform}})],1)],1),_c('b-row',{staticClass:\"match-height\"},[_c('b-col',{attrs:{\"lg\":\"6\"}},[_c('transaction-metrics',{attrs:{\"transaction-metrics\":_vm.recData.tblTransaction}})],1),_c('b-col',{attrs:{\"lg\":\"6\"}},[_c('revenue-metrics',{attrs:{\"revenue-metrics\":_vm.recData.tblRevenue}})],1)],1),_c('b-row',[_c('b-col',[_c('highlights',{attrs:{\"params\":_vm.filterParams}})],1)],1)],1):_vm._e(),(_vm.recData === null && !_vm.noData)?_c('span',[_c('loading')],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Revenue.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Revenue.vue?vue&type=script&lang=js\"","<template>\n  <b-card no-body>\n    <b-card-header>\n      <b-card-title>Transaction</b-card-title>\n    </b-card-header>\n    <b-card-body>\n      <div class=\"mb-2 d-flex\">\n        <div>\n          <h4 class=\"font-weight-bolder mb-0\">\n            {{ kFormatter(transactionData.planned) }}\n          </h4>\n          <span class=\"gold font-small-3 mb-0\">\n            Planned\n          </span>\n        </div>\n        <div class=\"ml-5\">\n          <h4 class=\"font-weight-bolder mb-0\">\n            {{ kFormatter(transactionData.realized) }}\n          </h4>\n          <span class=\"gold font-small-3 mb-0\">\n            Realized\n          </span>\n        </div>\n      </div>\n      <div class=\"progress-wrapper\">\n        <b-row\n          class=\"match-height\"\n        >\n          <b-col>\n            <div class=\"progress-title\">\n              <h6>\n                Planned / Realized\n              </h6>\n              <span>{{ transactionData.progress }} %</span>\n            </div>\n            <b-progress\n              :value=\"transactionData.progress\"\n              max=\"100\"\n              height=\"7px\"\n            />\n          </b-col>\n        </b-row>\n      </div>\n    </b-card-body>\n  </b-card>\n</template>\n<script>\nimport {\n  BCard, BRow, BCol, BProgress, BCardHeader, BCardTitle, BCardBody\n} from 'bootstrap-vue'\nimport {kFormatter} from \"../../../../@core/utils/filter\";\n\nexport default {\n  components: {\n    BCard,\n    BCardHeader,\n    BCardTitle,\n    BCardBody,\n    BRow,\n    BCol,\n    BProgress\n  },\n  props:{\n    transactionData: {\n      type: Object,\n      required: true\n    }\n  },\n  data () {\n    return {\n      crumbs: [\n        {\n          text: 'Dashboard'\n        },\n        {\n          text: 'Overview'\n        },\n        {\n          text: 'Brand2 Mobil',\n          active: true\n        }\n      ]\n    }\n  },\n  methods: {\n    kFormatter\n  },\n\n}\n</script>\n\n<style lang=\"scss\">\n\n</style>\n","import { render, staticRenderFns } from \"./Revenue.vue?vue&type=template&id=61801d47\"\nimport script from \"./Revenue.vue?vue&type=script&lang=js\"\nexport * from \"./Revenue.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-card',{attrs:{\"no-body\":\"\"}},[_c('b-card-header',[_c('b-card-title',[_vm._v(\"Transaction\")])],1),_c('b-card-body',[_c('div',{staticClass:\"mb-2 d-flex\"},[_c('div',[_c('h4',{staticClass:\"font-weight-bolder mb-0\"},[_vm._v(\" \"+_vm._s(_vm.kFormatter(_vm.transactionData.planned))+\" \")]),_c('span',{staticClass:\"gold font-small-3 mb-0\"},[_vm._v(\" Planned \")])]),_c('div',{staticClass:\"ml-5\"},[_c('h4',{staticClass:\"font-weight-bolder mb-0\"},[_vm._v(\" \"+_vm._s(_vm.kFormatter(_vm.transactionData.realized))+\" \")]),_c('span',{staticClass:\"gold font-small-3 mb-0\"},[_vm._v(\" Realized \")])])]),_c('div',{staticClass:\"progress-wrapper\"},[_c('b-row',{staticClass:\"match-height\"},[_c('b-col',[_c('div',{staticClass:\"progress-title\"},[_c('h6',[_vm._v(\" Planned / Realized \")]),_c('span',[_vm._v(_vm._s(_vm.transactionData.progress)+\" %\")])]),_c('b-progress',{attrs:{\"value\":_vm.transactionData.progress,\"max\":\"100\",\"height\":\"7px\"}})],1)],1)],1)])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Transaction.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Transaction.vue?vue&type=script&lang=js\"","<template>\n  <b-card no-body>\n    <b-card-header>\n      <b-card-title>Revenue</b-card-title>\n    </b-card-header>\n    <b-card-body>\n      <div class=\"mb-2 d-flex\">\n        <div>\n          <h4 class=\"font-weight-bolder mb-0\">\n            {{ kFormatter(revenueData.planned) }}\n          </h4>\n          <span class=\"gold font-small-3 mb-0\">\n            Planned\n          </span>\n        </div>\n        <div class=\"ml-5\">\n          <h4 class=\"font-weight-bolder mb-0\">\n            {{ kFormatter(revenueData.realized) }}\n          </h4>\n          <span class=\"gold font-small-3 mb-0\">\n            Realized\n          </span>\n        </div>\n      </div>\n      <div class=\"progress-wrapper\">\n        <b-row\n          class=\"match-height\"\n        >\n          <b-col>\n            <div class=\"progress-title\">\n              <h6>\n                Realized\n              </h6>\n              <span>{{ revenueData.progress }} %</span>\n            </div>\n            <b-progress\n              :value=\"revenueData.progress\"\n              max=\"100\"\n              height=\"7px\"\n            />\n          </b-col>\n        </b-row>\n      </div>\n    </b-card-body>\n  </b-card>\n</template>\n<script>\nimport {\n  BCard, BRow, BCol, BProgress, BCardHeader, BCardTitle, BCardBody\n} from 'bootstrap-vue'\nimport {kFormatter} from \"@core/utils/filter\";\n\nexport default {\n  components: {\n    BCard,\n    BCardHeader,\n    BCardTitle,\n    BCardBody,\n    BRow,\n    BCol,\n    BProgress\n  },\n  props: {\n    revenueData: {\n      type: Object,\n      required: true\n    }\n  },\n  data () {\n    return {\n      crumbs: [\n        {\n          text: 'Dashboard'\n        },\n        {\n          text: 'Overview'\n        },\n        {\n          text: 'Brand2 Mobil',\n          active: true\n        }\n      ]\n    }\n  },\n  methods: {\n    kFormatter\n  }\n}\n</script>\n\n<style lang=\"scss\">\n\n</style>\n","import { render, staticRenderFns } from \"./Transaction.vue?vue&type=template&id=30ee9234\"\nimport script from \"./Transaction.vue?vue&type=script&lang=js\"\nexport * from \"./Transaction.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-card',{attrs:{\"no-body\":\"\"}},[_c('b-card-header',[_c('b-card-title',[_vm._v(\"Revenue\")])],1),_c('b-card-body',[_c('div',{staticClass:\"mb-2 d-flex\"},[_c('div',[_c('h4',{staticClass:\"font-weight-bolder mb-0\"},[_vm._v(\" \"+_vm._s(_vm.kFormatter(_vm.revenueData.planned))+\" \")]),_c('span',{staticClass:\"gold font-small-3 mb-0\"},[_vm._v(\" Planned \")])]),_c('div',{staticClass:\"ml-5\"},[_c('h4',{staticClass:\"font-weight-bolder mb-0\"},[_vm._v(\" \"+_vm._s(_vm.kFormatter(_vm.revenueData.realized))+\" \")]),_c('span',{staticClass:\"gold font-small-3 mb-0\"},[_vm._v(\" Realized \")])])]),_c('div',{staticClass:\"progress-wrapper\"},[_c('b-row',{staticClass:\"match-height\"},[_c('b-col',[_c('div',{staticClass:\"progress-title\"},[_c('h6',[_vm._v(\" Realized \")]),_c('span',[_vm._v(_vm._s(_vm.revenueData.progress)+\" %\")])]),_c('b-progress',{attrs:{\"value\":_vm.revenueData.progress,\"max\":\"100\",\"height\":\"7px\"}})],1)],1)],1)])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n  <b-card no-body>\n    <b-card-header>\n      <b-card-title>\n        Growth Score Trend\n      </b-card-title>\n    </b-card-header>\n\n    <b-card-body>\n      <vue-apex-charts\n        type=\"line\"\n        height=\"350\"\n        :options=\"apexChatData.chartOptions\"\n        :series=\"apexChatData.series\"\n        class=\"legend-padding\"\n      />\n    </b-card-body>\n  </b-card>\n</template>\n\n<script>\nimport {\n  BCard, BCardHeader, BCardBody, BCardTitle\n} from 'bootstrap-vue'\nimport JQuery from 'jquery'\nimport { kFormatter } from '@core/utils/filter'\n\nconst $ = JQuery\n\nexport default {\n  components: {\n    BCard,\n    BCardHeader,\n    BCardBody,\n    BCardTitle,\n  },\n  props: {\n    trendData: {\n      type: Object,\n      required: true\n    }\n  },\n  data () {\n    return {\n    }\n  },\n  computed: {\n    apexChatData () {\n      const defaultOps = this.$store.getters['chart/getOptsMultiLineChart']\n      const customOps = {\n        annotations: {\n          yaxis: [\n            {\n              y: this.trendData.avgScore,\n              label: {\n                text: 'Avg. Score'\n              }\n            }\n          ]\n        },\n        xaxis: {\n          categories: Object.keys(this.trendData.web),\n        },\n        yaxis: {\n          labels: {\n            formatter: val => this.kFormatter(val)\n          },\n          title: {\n            text: 'Score trend'\n          }\n        }\n      }\n\n      $.extend(true, customOps, defaultOps)\n      return {\n        series: [\n          {\n            name: 'Growth',\n            data: Object.values(this.trendData.growth)\n          },\n          {\n            name: 'App',\n            data: Object.values(this.trendData.app)\n          },\n          {\n            name: 'Web',\n            data: Object.values(this.trendData.web)\n          }\n        ],\n        chartOptions: customOps\n      }\n    }\n  },\n  methods: {\n    kFormatter\n  }\n}\n\n</script>\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DailyTrend.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DailyTrend.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./DailyTrend.vue?vue&type=template&id=13e8fec6\"\nimport script from \"./DailyTrend.vue?vue&type=script&lang=js\"\nexport * from \"./DailyTrend.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-card',{attrs:{\"no-body\":\"\"}},[_c('b-card-header',[_c('b-card-title',[_vm._v(\" Growth Score Trend \")])],1),_c('b-card-body',[_c('vue-apex-charts',{staticClass:\"legend-padding\",attrs:{\"type\":\"line\",\"height\":\"350\",\"options\":_vm.apexChatData.chartOptions,\"series\":_vm.apexChatData.series}})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n  <div>\n    <div class=\"my-2\">\n      <b-form-radio-group\n        id=\"btn-radios-1\"\n        v-model=\"selectedRadio\"\n        button-variant=\"primary\"\n        :options=\"optionsRadio\"\n        buttons\n        name=\"radios-btn-default\"\n        size=\"sm\"\n        class=\"w-50\"\n      />\n    </div>\n    <b-table\n      responsive=\"sm\"\n      :items=\"items\"\n      :fields=\"fields\"\n      class=\"metric-table card\"\n      borderless\n    >\n      <template #cell(name)=\"data\">\n        <h4 class=\"metric-title\">\n          {{ data.value.name }}\n          <b-button\n            v-b-tooltip.hover.bottom=\"data.value.tooltip\"\n            v-b-tooltip.hover.v-secondary\n            variant=\"flat-secondary\"\n            class=\"btn-icon rounded-circle\"\n            :class=\"data.value.show\"\n          >\n            <feather-icon\n              icon=\"InfoIcon\"\n              size=\"14\"\n            />\n          </b-button>\n        </h4>\n      </template>\n      <template #cell(realized)=\"data\">\n        <h4 class=\"metric-title\">\n          {{ data.value.value }}\n        </h4>\n      </template>\n      <template #cell(company_avg)=\"data\">\n        <h4\n          class=\"metric-title\"\n          :class=\"data.value.variant\"\n        >\n          {{ data.value.percent }}\n        </h4>\n      </template>\n      <template #cell(industry_avg)=\"data\">\n        <h4\n          class=\"metric-title\"\n          :class=\"data.value.variant\"\n        >\n          {{ data.value.percent }}\n        </h4>\n      </template>\n    </b-table>\n  </div>\n</template>\n\n<script>\nimport {\n  BCard, BCardBody, BCardHeader, BCardTitle, BTable, BButton, VBTooltip, BFormRadioGroup\n} from 'bootstrap-vue'\nimport Ripple from 'vue-ripple-directive'\n\nexport default {\n  components: {\n    BFormRadioGroup,\n    BCard,\n    BCardHeader,\n    BCardTitle,\n    BCardBody,\n    BTable,\n    BButton\n  },\n  directives: {\n    'b-tooltip': VBTooltip,\n    Ripple\n  },\n  props: {\n    transactionMetrics: {\n      type: Object,\n      required: true\n    }\n  },\n  data () {\n    return {\n      selectedRadio: 'web',\n      optionsRadio: [\n        { text: 'Web', value: 'web' },\n        { text: 'App', value: 'app' }\n      ],\n      fields: [\n        // A column that needs custom formatting\n        {\n          key: 'name',\n          label: 'Transaction Metrics'\n        },\n        {\n          key: 'realized',\n          label: 'Realized'\n        },\n        {\n          key: 'company_avg',\n          label: 'Company Average'\n        },\n        {\n          key: 'industry_avg',\n          label: 'Industry Average'\n        }\n      ],\n      items: [\n        {\n          name: { name: 'CR', tooltip: 'Conversion Rate', show: '' },\n          realized: { value: this.transactionMetrics.realized.cvr  },\n          company_avg: {\n            percent: this.transactionMetrics.companyAverage.cvr,\n            variant: this.changeVariant()\n          },\n          industry_avg: {\n            percent: this.transactionMetrics.industryAverage.cvr,\n            variant: this.changeVariant(this.transactionMetrics.industryAverage.cvr)\n          }\n        },\n        {\n          name: { name: 'CPA', tooltip: 'Cost per Acquisition', show: '' },\n          realized: { value: this.transactionMetrics.realized.cpa  },\n          company_avg: {\n            percent: this.transactionMetrics.companyAverage.cpa,\n            variant: this.changeVariant(this.transactionMetrics.companyAverage.cpa)\n          },\n          industry_avg: {\n            percent: this.transactionMetrics.industryAverage.cpa,\n            variant: this.changeVariant(this.transactionMetrics.industryAverage.cpa)\n          }\n        },\n        {\n          name: { name: 'TPA2C', tooltip: 'Transaction per Add to Cart', show: '' },\n          realized: { value: this.transactionMetrics.realized.tpa2c },\n          company_avg: {\n            percent: this.transactionMetrics.companyAverage.tpa2c,\n            variant: this.changeVariant(this.transactionMetrics.companyAverage.tpa2c)\n          },\n          industry_avg: {\n            percent: this.transactionMetrics.industryAverage.tpa2c,\n            variant: this.changeVariant(this.transactionMetrics.industryAverage.tpa2c)\n          }\n        },\n        {\n          name: { name: 'COS', tooltip: 'Cost of Sale', show: '' },\n          realized: { value: this.transactionMetrics.realized.cos  },\n          company_avg: {\n            percent: this.transactionMetrics.companyAverage.cos,\n            variant: this.changeVariant(this.transactionMetrics.companyAverage.cos)\n          },\n          industry_avg: {\n            percent: this.transactionMetrics.industryAverage.cos,\n            variant: this.changeVariant(this.transactionMetrics.industryAverage.cos)\n          }\n        }\n      ]\n    }\n  },\n  methods: {\n    changeVariant(value) {\n      if(value  > 0) {\n        return 'text-success'\n      } else if (value < 0) {\n        return 'text-danger'\n      } else {\n        return ''\n      }\n    }\n  }\n}\n</script>\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionMetrics.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionMetrics.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./TransactionMetrics.vue?vue&type=template&id=3d1e0f9e\"\nimport script from \"./TransactionMetrics.vue?vue&type=script&lang=js\"\nexport * from \"./TransactionMetrics.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"my-2\"},[_c('b-form-radio-group',{staticClass:\"w-50\",attrs:{\"id\":\"btn-radios-1\",\"button-variant\":\"primary\",\"options\":_vm.optionsRadio,\"buttons\":\"\",\"name\":\"radios-btn-default\",\"size\":\"sm\"},model:{value:(_vm.selectedRadio),callback:function ($$v) {_vm.selectedRadio=$$v},expression:\"selectedRadio\"}})],1),_c('b-table',{staticClass:\"metric-table card\",attrs:{\"responsive\":\"sm\",\"items\":_vm.items,\"fields\":_vm.fields,\"borderless\":\"\"},scopedSlots:_vm._u([{key:\"cell(name)\",fn:function(data){return [_c('h4',{staticClass:\"metric-title\"},[_vm._v(\" \"+_vm._s(data.value.name)+\" \"),_c('b-button',{directives:[{name:\"b-tooltip\",rawName:\"v-b-tooltip.hover.bottom\",value:(data.value.tooltip),expression:\"data.value.tooltip\",modifiers:{\"hover\":true,\"bottom\":true}},{name:\"b-tooltip\",rawName:\"v-b-tooltip.hover.v-secondary\",modifiers:{\"hover\":true,\"v-secondary\":true}}],staticClass:\"btn-icon rounded-circle\",class:data.value.show,attrs:{\"variant\":\"flat-secondary\"}},[_c('feather-icon',{attrs:{\"icon\":\"InfoIcon\",\"size\":\"14\"}})],1)],1)]}},{key:\"cell(realized)\",fn:function(data){return [_c('h4',{staticClass:\"metric-title\"},[_vm._v(\" \"+_vm._s(data.value.value)+\" \")])]}},{key:\"cell(company_avg)\",fn:function(data){return [_c('h4',{staticClass:\"metric-title\",class:data.value.variant},[_vm._v(\" \"+_vm._s(data.value.percent)+\" \")])]}},{key:\"cell(industry_avg)\",fn:function(data){return [_c('h4',{staticClass:\"metric-title\",class:data.value.variant},[_vm._v(\" \"+_vm._s(data.value.percent)+\" \")])]}}])})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n  <div>\n    <div class=\"my-2\">\n      <b-form-radio-group\n        id=\"btn-radios-1\"\n        v-model=\"selectedRadio\"\n        button-variant=\"primary\"\n        :options=\"optionsRadio\"\n        buttons\n        name=\"radios-btn-default\"\n        size=\"sm\"\n        class=\"w-50\"\n      />\n    </div>\n    <b-table\n      responsive=\"sm\"\n      :items=\"items\"\n      :fields=\"fields\"\n      class=\"metric-table card\"\n      borderless\n    >\n      <template #cell(name)=\"data\">\n        <h4 class=\"metric-title\">\n          {{ data.value.name }}\n          <b-button\n            v-b-tooltip.hover.bottom=\"data.value.tooltip\"\n            v-b-tooltip.hover.v-secondary\n            variant=\"flat-secondary\"\n            class=\"btn-icon rounded-circle\"\n            :class=\"data.value.show\"\n          >\n            <feather-icon\n              icon=\"InfoIcon\"\n              size=\"14\"\n            />\n          </b-button>\n        </h4>\n      </template>\n      <template #cell(realized)=\"data\">\n        <h4 class=\"metric-title\">\n          {{ data.value.value }}\n        </h4>\n      </template>\n      <template #cell(company_avg)=\"data\">\n        <h4\n          class=\"metric-title\"\n          :class=\"data.value.variant\"\n        >\n          {{ data.value.percent }}\n        </h4>\n      </template>\n      <template #cell(industry_avg)=\"data\">\n        <h4\n          class=\"metric-title\"\n          :class=\"data.value.variant\"\n        >\n          {{ data.value.percent }}\n        </h4>\n      </template>\n    </b-table>\n  </div>\n</template>\n\n<script>\nimport {\n  BCard, BCardBody, BCardHeader, BCardTitle, BTable, BButton, VBTooltip, BFormRadioGroup\n} from 'bootstrap-vue'\nimport Ripple from 'vue-ripple-directive'\n\nexport default {\n  components: {\n    BFormRadioGroup,\n    BCard,\n    BCardHeader,\n    BCardTitle,\n    BCardBody,\n    BTable,\n    BButton\n  },\n  directives: {\n    'b-tooltip': VBTooltip,\n    Ripple\n  },\n  props: {\n    revenueMetrics: {\n      type: Object,\n      required: true\n    }\n  },\n  data () {\n    return {\n      selectedRadio: 'web',\n      optionsRadio: [\n        { text: 'Web', value: 'web' },\n        { text: 'App', value: 'app' }\n      ],\n      fields: [\n        // A column that needs custom formatting\n        {\n          key: 'name',\n          label: 'Revenue Metrics'\n        },\n        {\n          key: 'realized',\n          label: 'Realized'\n        },\n        {\n          key: 'company_avg',\n          label: 'Company Average'\n        },\n        {\n          key: 'industry_avg',\n          label: 'Industry Average'\n        }\n      ],\n      items: [\n        {\n          name: { name: 'AOV', tooltip: 'Average Order Value', show: '' },\n          realized: { value: this.revenueMetrics.realized.cvr  },\n          company_avg: {\n            percent: this.revenueMetrics.companyAverage.cvr,\n            variant: this.changeVariant(this.revenueMetrics.companyAverage.cvr)\n          },\n          industry_avg: {\n            percent: this.revenueMetrics.industryAverage.cvr,\n            variant: this.changeVariant(this.revenueMetrics.industryAverage.cvr)\n          }\n        },\n        {\n          name: { name: 'RPS', tooltip: 'Revenue per Session', show: '' },\n          realized: { value: this.revenueMetrics.realized.cpa },\n          company_avg: {\n            percent: this.revenueMetrics.companyAverage.cpa,\n            variant: this.changeVariant(this.revenueMetrics.companyAverage.cpa)\n          },\n          industry_avg: {\n            percent: this.revenueMetrics.industryAverage.cpa,\n            variant: this.changeVariant(this.revenueMetrics.industryAverage.cpa)\n          }\n        },\n        {\n          name: { name: 'ROAS', tooltip: 'Returning on Ad Spending', show: '' },\n          realized: { value: this.revenueMetrics.realized.tpa2c },\n          company_avg: {\n            percent: this.revenueMetrics.companyAverage.tpa2c,\n            variant: this.changeVariant(this.revenueMetrics.companyAverage.tpa2c)\n          },\n          industry_avg: {\n            percent: this.revenueMetrics.industryAverage.tpa2c,\n            variant: this.changeVariant(this.revenueMetrics.industryAverage.tpa2c)\n          }\n        },\n        {\n          name: { name: 'ROI', tooltip: 'Return on Investment', show: '' },\n          realized: { value: this.revenueMetrics.realized.cos },\n          company_avg: {\n            percent: this.revenueMetrics.companyAverage.cos,\n            variant: this.changeVariant(this.revenueMetrics.companyAverage.cos)\n          },\n          industry_avg: {\n            percent: this.revenueMetrics.industryAverage.cos,\n            variant: this.changeVariant(this.revenueMetrics.industryAverage.cos)\n          }\n        }\n      ]\n    }\n  },\n  methods: {\n    changeVariant(value) {\n      if(value  > 0) {\n        return 'text-success'\n      } else if (value < 0) {\n        return 'text-danger'\n      } else {\n        return ''\n      }\n    }\n  }\n}\n</script>\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RevenueMetrics.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RevenueMetrics.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./RevenueMetrics.vue?vue&type=template&id=a666a036\"\nimport script from \"./RevenueMetrics.vue?vue&type=script&lang=js\"\nexport * from \"./RevenueMetrics.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"my-2\"},[_c('b-form-radio-group',{staticClass:\"w-50\",attrs:{\"id\":\"btn-radios-1\",\"button-variant\":\"primary\",\"options\":_vm.optionsRadio,\"buttons\":\"\",\"name\":\"radios-btn-default\",\"size\":\"sm\"},model:{value:(_vm.selectedRadio),callback:function ($$v) {_vm.selectedRadio=$$v},expression:\"selectedRadio\"}})],1),_c('b-table',{staticClass:\"metric-table card\",attrs:{\"responsive\":\"sm\",\"items\":_vm.items,\"fields\":_vm.fields,\"borderless\":\"\"},scopedSlots:_vm._u([{key:\"cell(name)\",fn:function(data){return [_c('h4',{staticClass:\"metric-title\"},[_vm._v(\" \"+_vm._s(data.value.name)+\" \"),_c('b-button',{directives:[{name:\"b-tooltip\",rawName:\"v-b-tooltip.hover.bottom\",value:(data.value.tooltip),expression:\"data.value.tooltip\",modifiers:{\"hover\":true,\"bottom\":true}},{name:\"b-tooltip\",rawName:\"v-b-tooltip.hover.v-secondary\",modifiers:{\"hover\":true,\"v-secondary\":true}}],staticClass:\"btn-icon rounded-circle\",class:data.value.show,attrs:{\"variant\":\"flat-secondary\"}},[_c('feather-icon',{attrs:{\"icon\":\"InfoIcon\",\"size\":\"14\"}})],1)],1)]}},{key:\"cell(realized)\",fn:function(data){return [_c('h4',{staticClass:\"metric-title\"},[_vm._v(\" \"+_vm._s(data.value.value)+\" \")])]}},{key:\"cell(company_avg)\",fn:function(data){return [_c('h4',{staticClass:\"metric-title\",class:data.value.variant},[_vm._v(\" \"+_vm._s(data.value.percent)+\" \")])]}},{key:\"cell(industry_avg)\",fn:function(data){return [_c('h4',{staticClass:\"metric-title\",class:data.value.variant},[_vm._v(\" \"+_vm._s(data.value.percent)+\" \")])]}}])})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n  <b-card\n    no-body\n    class=\"efficiency-score p-0\"\n  >\n    <div class=\"cw adin-gradient\">\n      <div class=\"efficiency-wrapper\">\n        <h4>Growth Score</h4>\n        <div class=\"score-wrapper\">\n          <span>\n            <animated-number\n              :format-value=\"formatToPrice\"\n              :value=\"growthScore.growth\"\n            />\n          </span>\n        </div>\n        <div class=\"text-center w-100 text-secondary\">\n          <b-row class=\"mt-2\">\n            <b-col cols=\"6\">\n              <h5>Web</h5>\n              <h2 class=\"font-weight-bolder text-secondary\">\n                {{ growthScore.web }}\n              </h2>\n            </b-col>\n            <b-col cols=\"6\">\n              <h5>App</h5>\n              <h2 class=\"font-weight-bolder text-secondary\">\n                {{ growthScore.app }}\n              </h2>\n            </b-col>\n          </b-row>\n        </div>\n      </div>\n    </div>\n  </b-card>\n</template>\n\n<script>\n/* eslint-disable global-require */\nimport {BRow, BCol, BCard, BButton, BCollapse, VBToggle} from \"bootstrap-vue\";\nimport AnimatedNumber from \"animated-number-vue\";\nimport Ripple from \"vue-ripple-directive\";\n\nexport default {\n  components: {\n    BCollapse,\n    BButton,\n    BRow,\n    BCol,\n    BCard,\n    AnimatedNumber\n  },\n  directives: {\n    'b-toggle': VBToggle,\n    Ripple\n  },\n  props: {\n    growthScore: {\n      type: Object,\n      required: true\n    }\n  },\n  methods: {\n    formatToPrice(value) {\n      return `${Number(value).toFixed(0)}`;\n    },\n  },\n};\n</script>\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainScore.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainScore.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./MainScore.vue?vue&type=template&id=4746e470\"\nimport script from \"./MainScore.vue?vue&type=script&lang=js\"\nexport * from \"./MainScore.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-card',{staticClass:\"efficiency-score p-0\",attrs:{\"no-body\":\"\"}},[_c('div',{staticClass:\"cw adin-gradient\"},[_c('div',{staticClass:\"efficiency-wrapper\"},[_c('h4',[_vm._v(\"Growth Score\")]),_c('div',{staticClass:\"score-wrapper\"},[_c('span',[_c('animated-number',{attrs:{\"format-value\":_vm.formatToPrice,\"value\":_vm.growthScore.growth}})],1)]),_c('div',{staticClass:\"text-center w-100 text-secondary\"},[_c('b-row',{staticClass:\"mt-2\"},[_c('b-col',{attrs:{\"cols\":\"6\"}},[_c('h5',[_vm._v(\"Web\")]),_c('h2',{staticClass:\"font-weight-bolder text-secondary\"},[_vm._v(\" \"+_vm._s(_vm.growthScore.web)+\" \")])]),_c('b-col',{attrs:{\"cols\":\"6\"}},[_c('h5',[_vm._v(\"App\")]),_c('h2',{staticClass:\"font-weight-bolder text-secondary\"},[_vm._v(\" \"+_vm._s(_vm.growthScore.app)+\" \")])])],1)],1)])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n  <b-card no-body>\n    <b-card-header>\n      <b-card-title>\n        {{ changeTitle() }}\n      </b-card-title>\n      <div class=\"d-flex align-items-center\">\n        <b-form-radio-group\n          id=\"btn-radios-1\"\n          v-model=\"selectedRadio\"\n          button-variant=\"primary\"\n          :options=\"optionsRadio\"\n          buttons\n          name=\"radios-btn-default\"\n          size=\"sm\"\n        />\n      </div>\n    </b-card-header>\n\n    <b-card-body>\n      <vue-apex-charts\n        type=\"line\"\n        height=\"350\"\n        :options=\"apexChatData.chartOptions\"\n        :series=\"apexChatData.series\"\n      />\n    </b-card-body>\n  </b-card>\n</template>\n\n<script>\nimport {\n  BCard, BCardHeader, BCardBody, BCardTitle, BFormRadioGroup\n} from 'bootstrap-vue'\nimport JQuery from 'jquery'\nimport {kFormatter} from \"@core/utils/filter\";\n\nconst $ = JQuery\n\n\nexport default {\n  components: {\n    BCard,\n    BCardHeader,\n    BCardBody,\n    BCardTitle,\n    BFormRadioGroup,\n  },\n  props: {\n    costTrend: {\n      type: Object,\n      required:true\n    },\n    revenueTrend: {\n      type: Object,\n      required: true\n    }\n  },\n  data () {\n    return {\n      selectedRadio: 'cost&transaction',\n      optionsRadio: [\n        { text: 'Cost & Transaction', value: 'cost&transaction' },\n        { text: 'Cost & Revenue ', value: 'cost&revenue' }\n      ],\n    }\n  },\n  computed: {\n    apexChatData() {\n      const defaultOps = this.$store.getters['chart/getOptsLineBarChart']\n      const customOps = {\n        yaxis: [{\n          title: {\n            text: 'Cost'\n          },\n        },{\n          title: {\n            text: this.changeHorizontalTitle()\n          }\n        }]\n      }\n\n      $.extend(true, customOps, defaultOps)\n      return {\n        series: [{\n          name: 'Cost',\n          type: 'column',\n          data: [10, 20, 30, 60, 50, 25, 35, 45]\n        }, {\n          name: this.changeHorizontalTitle(),\n          type: 'line',\n          data: [10, 20, 30, 60, 50, 25, 35, 45]\n        }],\n        chartOptions: customOps,\n      }\n    },\n  },\n  methods: {\n    kFormatter,\n    // addingTl (value) {\n    //   return value + '₺'\n    // },\n    changeTitle () {\n      if (this.selectedRadio === 'cost&transaction') {\n        return 'Cost & Transaction Trend'\n      } else if (this.selectedRadio === 'cost&revenue') {\n        return 'Cost & Revenue Trend'\n      } else {\n        return ''\n      }\n      },\n      changeHorizontalTitle (){\n        if (this.selectedRadio === 'cost&transaction') {\n          return 'Transaction'\n        } else if (this.selectedRadio === 'cost&revenue') {\n          return 'Revenue'\n        } else {\n          return ''\n        }\n      }\n    }\n}\n\n</script>\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CostRevenueTrend.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CostRevenueTrend.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./CostRevenueTrend.vue?vue&type=template&id=011a33f6\"\nimport script from \"./CostRevenueTrend.vue?vue&type=script&lang=js\"\nexport * from \"./CostRevenueTrend.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-card',{attrs:{\"no-body\":\"\"}},[_c('b-card-header',[_c('b-card-title',[_vm._v(\" \"+_vm._s(_vm.changeTitle())+\" \")]),_c('div',{staticClass:\"d-flex align-items-center\"},[_c('b-form-radio-group',{attrs:{\"id\":\"btn-radios-1\",\"button-variant\":\"primary\",\"options\":_vm.optionsRadio,\"buttons\":\"\",\"name\":\"radios-btn-default\",\"size\":\"sm\"},model:{value:(_vm.selectedRadio),callback:function ($$v) {_vm.selectedRadio=$$v},expression:\"selectedRadio\"}})],1)],1),_c('b-card-body',[_c('vue-apex-charts',{attrs:{\"type\":\"line\",\"height\":\"350\",\"options\":_vm.apexChatData.chartOptions,\"series\":_vm.apexChatData.series}})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n  <b-card no-body>\n    <b-card-header>\n      <b-card-title> {{ changingTitle() }}</b-card-title>\n    </b-card-header>\n    <b-card-body>\n      <div class=\"mb-2\">\n        <b-form-radio-group\n          id=\"btn-radios-1\"\n          v-model=\"selectedRadio\"\n          button-variant=\"primary\"\n          :options=\"optionsRadio\"\n          buttons\n          name=\"radios-btn-default\"\n          size=\"sm\"\n          class=\"w-100\"\n        />\n      </div>\n      <vue-apex-charts\n        type=\"pie\"\n        height=\"330\"\n        class=\"mt-2 mb-1\"\n        :options=\"customersPie.chartOptions\"\n        :series=\"customersPie.series\"\n      />\n    </b-card-body>\n  </b-card>\n</template>\n\n<script>\nimport {\n  BCard,\n  BCardBody,\n  BCardHeader,\n  BCardTitle,\n  BFormRadioGroup,\n} from \"bootstrap-vue\";\nimport JQuery from \"jquery\";\n\nconst $ = JQuery;\nexport default {\n  components: {\n    BFormRadioGroup,\n    BCard,\n    BCardBody,\n    BCardHeader,\n    BCardTitle,\n  },\n  props: {\n    costByPlatform: {\n      type: Object,\n      required: true\n    }\n  },\n  data () {\n    return {\n      selectedRadio: 'cost',\n      optionsRadio: [\n        { text: 'Cost', value: 'cost' },\n        { text: 'Revenue', value: 'revenue' },\n        { text: 'Transaction', value: 'transaction' }\n      ]\n    }\n  },\n  computed: {\n    customersPie() {\n      const defaultOps = this.$store.getters[\"chart/getOptsPieChart\"];\n      const customOps = {\n        labels: [\"Web\", \"iOS\", \"Android\"],\n      };\n      $.extend(true, customOps, defaultOps);\n      return {\n        series: this.getSeries(),\n        chartOptions: customOps,\n      };\n    },\n  },\n   methods: {\n     changingTitle() {\n       if (this.selectedRadio === 'cost') {\n         return 'Cost by Platform'\n       } else if (this.selectedRadio === 'revenue') {\n         return 'Revenue by Platform'\n       } else if (this.selectedRadio === 'transaction') {\n         return 'Transaction by Platform'\n       }\n     },\n     getSeries() {\n       if(this.selectedRadio === 'cost') {\n         return Object.values(this.costByPlatform.cost)\n       } else if (this.selectedRadio === 'revenue') {\n         return Object.values(this.costByPlatform.revenue)\n       } else if (this.selectedRadio === 'transaction') {\n         return Object.values(this.costByPlatform.transaction)\n       }\n     }\n   }\n}\n</script>\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CostRevenuePlatform.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CostRevenuePlatform.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./CostRevenuePlatform.vue?vue&type=template&id=80546426\"\nimport script from \"./CostRevenuePlatform.vue?vue&type=script&lang=js\"\nexport * from \"./CostRevenuePlatform.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-card',{attrs:{\"no-body\":\"\"}},[_c('b-card-header',[_c('b-card-title',[_vm._v(\" \"+_vm._s(_vm.changingTitle()))])],1),_c('b-card-body',[_c('div',{staticClass:\"mb-2\"},[_c('b-form-radio-group',{staticClass:\"w-100\",attrs:{\"id\":\"btn-radios-1\",\"button-variant\":\"primary\",\"options\":_vm.optionsRadio,\"buttons\":\"\",\"name\":\"radios-btn-default\",\"size\":\"sm\"},model:{value:(_vm.selectedRadio),callback:function ($$v) {_vm.selectedRadio=$$v},expression:\"selectedRadio\"}})],1),_c('vue-apex-charts',{staticClass:\"mt-2 mb-1\",attrs:{\"type\":\"pie\",\"height\":\"330\",\"options\":_vm.customersPie.chartOptions,\"series\":_vm.customersPie.series}})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n  <section>\n    <filtersV2 \n      name=\"growthWithEvent\"\n      :get-metrics=\"getMetrics\"\n    />\n    <no-data-temp v-if=\"noData\" />\n    <span\n      v-if=\"recData !== null\"\n      :key=\"currentKey\"\n    >\n      <b-row class=\"match-height\">\n        <b-col\n          lg=\"4\"\n          sm=\"12\"\n        >\n          <campaign :campaign-data=\"recData.campaignCard\" />\n        </b-col>\n        <b-col\n          lg=\"4\"\n          sm=\"12\"\n        >\n          <transaction :transaction-data=\"recData.transaction\" />\n        </b-col>\n\n        <b-col\n          lg=\"4\"\n          sm=\"12\"\n        >\n          <revenue :revenue-data=\"recData.revenue\" />\n        </b-col>\n      </b-row>\n      <b-row class=\"match-height\">\n        <b-col\n          lg=\"9\"\n          md=\"12\"\n        >\n          <daily-trend :trend-data=\"recData.growthScoreTrend\" />\n        </b-col>\n        <b-col\n          lg=\"3\"\n          sm=\"12\"\n        >\n          <main-score :growth-score=\"recData.growthScore\" />\n        </b-col>\n      </b-row>\n      <b-row class=\"match-height\">\n        <b-col lg=\"8\">\n          <cost-revenue-trend\n            :cost-trend=\"recData.costTrend\"\n            :revenue-trend=\"recData.revenueTrend\"\n          />\n        </b-col>\n        <b-col lg=\"4\">\n          <cost-revenue-platform :cost-by-platform=\"recData.costByPlatform\" />\n        </b-col>\n      </b-row>\n      <b-row class=\"match-height\">\n        <b-col lg=\"6\">\n          <transaction-metrics :transaction-metrics=\"recData.tblTransaction\" />\n        </b-col>\n        <b-col lg=\"6\">\n          <revenue-metrics :revenue-metrics=\"recData.tblRevenue\" />\n        </b-col>\n      </b-row>\n      <b-row>\n        <b-col>\n          <highlights :params=\"filterParams\" />\n        </b-col>\n      </b-row>\n    </span>\n    <span v-if=\"recData === null && !noData\">\n      <loading />\n    </span>\n  </section>\n</template>\n\n<script>\nimport { BRow, BCol } from \"bootstrap-vue\";\nimport Filters from \"@/views/Filters.vue\";\nimport Campaign from '@/views/scores/Campaign.vue'\nimport Transaction from \"./Revenue.vue\";\nimport Revenue from \"./Transaction.vue\";\nimport DailyTrend from \"./DailyTrend.vue\";\nimport Highlights from \"@/views/Highlights.vue\";\nimport TransactionMetrics from \"./TransactionMetrics.vue\";\nimport RevenueMetrics from \"./RevenueMetrics.vue\";\nimport MainScore from \"./MainScore.vue\";\nimport CostRevenueTrend from \"./CostRevenueTrend.vue\";\nimport CostRevenuePlatform from \"./CostRevenuePlatform.vue\";\nimport Loading from \"@/views/Loading.vue\";\nimport noDataTemp from \"@/views/NoDataTemp.vue\";\nimport FiltersV2 from \"@/views/FiltersV2.vue\";\n\nexport default {\n  components: {\n    noDataTemp,\n    Loading,\n    CostRevenuePlatform,\n    CostRevenueTrend,\n    RevenueMetrics,\n    TransactionMetrics,\n    DailyTrend,\n    Transaction,\n    Campaign,\n    MainScore,\n    Revenue,\n    Highlights,\n    FiltersV2,\n    BRow,\n    BCol,\n  },\n  data () {\n    return {\n      noData: false,\n      recData: null,\n      currentKey: 0,\n      filterParams: undefined\n    }\n  },\n  methods: {\n    async getMetrics(params) {\n      this.filterParams = params\n      await this.$http.get(\n          'score/growth/overview', {\n            params: {\n              brand_id: params.brand.value,\n              adin_id: params.campaign.value,\n              event_name: params.event.value\n            },\n          },\n      ).then(({ data }) => {\n        this.recData = data\n        this.noData = false\n      }).catch(e => {\n        this.noData = true\n      })\n    },\n  }\n};\n</script>\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Index.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Index.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Index.vue?vue&type=template&id=14e3ad7d\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\nexport default component.exports","module.exports = __webpack_public_path__ + \"img/highlights-ai-icon.6cf56891.svg\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-card',{attrs:{\"no-body\":\"\"}},[((_vm.highlightList.length === 0) && (_vm.loading === false) )?_c('b-card-body',[_c('h1',{staticClass:\"mt-3 text-muted text-center\"},[_vm._v(\" Highlights \")]),_c('h5',{staticClass:\"mb-2 text-muted text-center\"},[_vm._v(\" No Available Highlights \")]),_c('b-row',{staticClass:\"demo-highlight text-center mb-3\"},[_c('b-col',[_c('span',{staticClass:\"p-1 mr-1\",staticStyle:{\"font-size\":\"36px\"}},[_vm._v(\"🚀\")]),_c('span',{staticClass:\"p-1 mr-1\",staticStyle:{\"font-size\":\"36px\"}},[_vm._v(\"👍\")]),_c('span',{staticClass:\"p-1 mr-1\",staticStyle:{\"font-size\":\"36px\"}},[_vm._v(\"🥰\")]),_c('span',{staticClass:\"p-1\",staticStyle:{\"font-size\":\"36px\"}},[_vm._v(\"😔\")])])],1)],1):(_vm.loading === true)?_c('b-card-body',[_c('loading')],1):_c('b-card-body',[_c('h4',{staticClass:\"mb-1\"},[_vm._v(\" Highlights \"),_c('br'),_c('small',{staticClass:\"text-muted\"},[_vm._v(\"Click on a row, if you want to copy a highlight.\")])]),_c('vue-perfect-scrollbar',{ref:\"refChatLogPS\",staticClass:\"highlight-scroll\",attrs:{\"settings\":_vm.perfectScrollbarSettings}},[_c('div',{staticClass:\"highlights\"},_vm._l((_vm.highlightList),function(item){return _c('a',{key:item.id,staticClass:\"item\",attrs:{\"href\":\"javascript:void(0)\"},on:{\"click\":function($event){return _vm.copyFunc(item.content)}}},[_c('img',{staticClass:\"icon mr-1\",attrs:{\"src\":_vm.getIcon(item.source)}}),_vm._v(\" \"),_vm._v(\" \"+_vm._s(item.content)+\" \")])}),0)])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n  <b-card no-body>\n    <!-- No Available  -->\n    <b-card-body v-if=\"(highlightList.length === 0) && (loading === false) \">\n      <h1 class=\"mt-3 text-muted text-center\">\n        Highlights\n      </h1>\n      <h5 class=\"mb-2 text-muted text-center\">\n        No Available Highlights\n      </h5>\n      <b-row class=\"demo-highlight text-center mb-3\">\n        <b-col>\n          <span\n            class=\"p-1 mr-1\"\n            style=\"font-size: 36px;\"\n          >🚀</span>\n          <span\n            class=\"p-1 mr-1\"\n            style=\"font-size: 36px;\"\n          >👍</span>\n          <span\n            class=\"p-1 mr-1\"\n            style=\"font-size: 36px;\"\n          >🥰</span>\n          <span\n            class=\"p-1\"\n            style=\"font-size: 36px;\"\n          >😔</span>\n        </b-col>\n      </b-row>\n    </b-card-body>\n    <!-- Loading -->\n    <b-card-body v-else-if=\"loading === true\">\n      <loading />\n    </b-card-body>\n    <!-- Show Highlight List-->\n    <b-card-body v-else>\n      <h4 class=\"mb-1\">\n        Highlights <br>\n        <small class=\"text-muted\">Click on a row, if you want to copy a highlight.</small>\n      </h4>\n      <vue-perfect-scrollbar\n        ref=\"refChatLogPS\"\n        :settings=\"perfectScrollbarSettings\"\n        class=\"highlight-scroll\"\n      >\n        <div class=\"highlights\">\n          <a\n            v-for=\"item in highlightList\"\n            :key=\"item.id\"\n            href=\"javascript:void(0)\"\n            class=\"item\"\n            @click=\"copyFunc(item.content)\"\n          >\n            <img\n              :src=\"getIcon(item.source)\"\n              class=\"icon mr-1\"\n            > <!-- Burada img etiketi kullanılıyor -->\n            {{ item.content }}\n          </a>\n        </div>\n      </vue-perfect-scrollbar>\n    </b-card-body>\n  </b-card>\n</template>\n\n<script>\nimport {\n  BCard, BRow, BCol, BCardHeader, BCardTitle, BCardBody, BBadge, BButton\n} from 'bootstrap-vue'\n\nimport VuePerfectScrollbar from 'vue-perfect-scrollbar'\nimport Loading from '@/views/Loading.vue'\nimport aiIcon from '@/assets/images/uploads/highlights-ai-icon.svg'\n\n\nexport default {\n  components: {\n    Loading,\n    BCard,\n    BCol,\n    BRow,\n    BCardBody,\n    BButton,\n\n    // 3rd party\n    VuePerfectScrollbar\n  },\n  props: {\n    params : {\n      type: Object,\n    required: true\n    }\n  },\n  data () {\n    return {\n      perfectScrollbarSettings: {\n        maxScrollbarLength: 150,\n        wheelPropagation: false\n      },\n      highlightList: [],\n      loading: true\n    }\n  },\n  watch: {\n    params: {\n      handler: function (val, oldVal) {\n         this.getHighlightList()\n      },\n      deep: true\n    }\n  },\n  created () {\n    this.getHighlightList()\n  },\n  methods: {\n    getIcon(value){\n      if (value === 1){\n        return aiIcon\n      } else if (value === 0) {\n        return \"UserIcon\"\n      } else {\n        return \"HeartIcon\"\n\n      }\n    },\n    processHighlights (highlights) {\n      const result = []\n      highlights.forEach((item) => {\n        const newItem = {\n          id: item.id,\n          content: item.content.replace(/\\\\n/g, '<br/>'),\n          source: item.source\n        }\n        result.push(newItem)\n      })\n      return result\n    },\n    getBrandName(){\n      if (this.params.brand &&this.params.brand.value === \"undefined\"){\n        return \"All Brands\"\n      } else if (this.params.seoBrand && this.params.seoBrand.value === \"undefined\") {\n        return \"All Brands\"\n      } else if (this.params.seoBrand && this.params.seoBrand.value !== \"undefined\") {\n        return this.params.seoBrand.value\n      } else {\n        return this.params.brand.value\n      }\n    },\n    getCampaignName(){\n      if (typeof this.params.campaign !== \"undefined\" && typeof this.params.campaign.title !== \"undefined\"){\n        return this.params.campaign.title\n      } else {\n        return \"All Campaign\"\n      }\n    },\n    getHighlightList() {\n  this.loading = true;\n  console.log(\"start\")\n  this.$http.get('highlights/get', {\n    params: {\n      pageName: this.$route.name,\n      brandName: this.getBrandName(),\n      campaignName: this.getCampaignName()\n    }\n  })\n  .then((res) => {\n    this.highlightList = this.processHighlights(res.data);\n    this.loading = false;\n    console.log(\"then\")\n  })\n  .catch((err) => {\n    console.error('HTTP request failed:', err);\n    this.loading = false;\n    console.log(\"catch\")\n  });\n},\n\n    copyFunc(text) {\n      const el = document.createElement('textarea');\n      el.value = text;\n      document.body.appendChild(el);\n      el.select();\n      document.execCommand('copy');\n      document.body.removeChild(el);\n    }\n  }\n}\n</script>\n<style lang=\"scss\">\n.highlights a img {\n  width: 20px;\n}\n.highlight-scroll{\n  max-height: 235px;\n}\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Highlights.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Highlights.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Highlights.vue?vue&type=template&id=1e2772b3\"\nimport script from \"./Highlights.vue?vue&type=script&lang=js\"\nexport * from \"./Highlights.vue?vue&type=script&lang=js\"\nimport style0 from \"./Highlights.vue?vue&type=style&index=0&id=1e2772b3&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\nexport default component.exports"],"sourceRoot":""}