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AA,cAAA0B,GAAA,QAAAA,EAAAA,EAAAT,eAAA,IAAAS,OAAA,EAAAA,EAAAnD,iBAAA,IAAAkD,EAAAA,EACA,EAEA,EACAvD,QAAA,WACA,OACA0D,SAAAvJ,EAAAA,EAAAwJ,kBAAA,KAAA5D,KAAA6D,KACAC,YAAA1J,EAAAA,EAAAwJ,kBACA,KAAA5D,KAAA+D,2BAEAC,WAAA,KAAA7D,cACAH,KAAA,KAAAgD,QAAAiB,YAEA,IAGAC,QAAA,eAAAC,EAAA,KACA,KAAAC,UAAA,WACAC,EAAAA,EAAAC,OAAAC,KAAAC,SAAAL,EAAAM,OAAAC,MACA,EACA,EAEAC,QAAA,CACAjF,eAAA,WACA,IAAAkF,EAAA,KAAAH,OAAAC,MAAAE,aACAC,EAAA,KAAAC,MAAAC,UAEAV,EAAAA,EAAAC,OAAAU,QAAAC,kBAAAL,GAEAhE,EAAAiE,EAAAD,EACA,ICnJ2K,I,+BCA2B,EAAe,ICQjNM,GAAY,OACd,EACAvG,EACA6B,GACA,EACA,KACA,WACA,MAMoB,oBAAX,GAAuB,EAAO0E,GAEzC,MAAeA,E","sources":["webpack://company-webapp/./src/utils/math.manager.js","webpack://company-webapp/./src/views/Home/index.vue?4750","webpack://company-webapp/./src/views/Home/index.vue","webpack://company-webapp/./src/utils/print-view-by-ref.js","webpack://company-webapp/src/views/Home/index.vue","webpack://company-webapp/./src/views/Home/index.vue?2c60","webpack://company-webapp/./src/views/Home/index.vue?91b5","webpack://company-webapp/./src/views/Home/index.vue?e158"],"sourcesContent":["import { DashInstance } from '@/store'\nimport { toFixed, toInteger, toFloat } from './number.utils'\n\nclass MathManager {\n /**\n * sumByKeys is used to sum the values of the specified keys in a list object,\n * which is assumed to be an instance variable of the class that this function is defined in.\n * The function uses the reduce method to iterate through the list object, adding the values of the specified keys\n * together and returning a new object with the summed values for those keys.\n *\n * The result is stored back in the list object and the function returns this to allow for method chaining.\n * @param {Array} items list sumed\n * @param {Array} keys list of properties keys to be summed\n * @returns new object with the sum of the last items\n */\n static sumByKeys (items = [], keys = ['quantity']) {\n if (items.length <= 0) return []\n\n const r = (acc, curr) => {\n return keys.reduce((rem, key) => {\n rem[key] = acc[key] + curr[key]\n return rem\n }, {})\n }\n\n return items.reduce((acc, curr) => ({\n ...acc,\n ...r(acc, curr)\n }))\n }\n\n /**\n * Calculates the overall conversion rate using weighted averages.\n *\n * @param {number[]} participations - An array of participation values for each category.\n * @param {number[]} rates - An array of conversion rates corresponding to each category.\n * @returns {number} - The overall weighted conversion rate.\n * @throws {Error} - If the lengths of the `participations` and `rates` arrays are not equal.\n */\n static calculateConversionRate (participations, rates) {\n if (participations.length !== rates.length) {\n throw new Error(\n 'The participation and rate arrays must have the same length.'\n )\n }\n\n if (participations.length === 0 || rates.length === 0) {\n return 0\n }\n\n let weightedSum = 0\n let totalParticipations = 0\n\n for (let i = 0; i < participations.length; i++) {\n weightedSum += participations[i] * rates[i]\n totalParticipations += participations[i]\n }\n\n return weightedSum / totalParticipations\n }\n\n /**\n * convertToMonetary is used to divide by 100 due to the amount of decimal places returned in the bff\n * api for monetary values\n * @param {number} value monetary number returned by bff api\n * @returns the value divide by 100\n */\n static convertToMonetary (value) {\n return value / 100 || 0\n }\n\n static percentageCalculator (value, total) {\n return DashInstance.commons.percentageCalculator(total, value)\n }\n\n static formatCurrencyBRL (value) {\n return DashInstance.commons.formatCurrencyBRL(value)\n }\n\n static formatCurrency (value, currency = 'BRL', lang = 'pt-BR') {\n return new Intl.NumberFormat(lang, {\n style: 'currency',\n currency\n }).format(value)\n }\n\n static convertCentsToBRL (value) {\n return DashInstance.commons.convertCentsToBRL(value)\n }\n\n static formatConversionNumber (value) {\n return DashInstance.insights.formatConversionNumber(value)\n }\n\n /**\n * Convert number in decimal number extesion\n * ex. input: 2000 - output 2.000\n * @param {Number} value\n * @returns Number\n */\n static formatNumberDecimal (value, lang = 'pt-BR') {\n return new Intl.NumberFormat(lang).format(value)\n }\n\n static numberBase (value) {\n const [coefficient, exponent] = value\n .toExponential()\n .split('e')\n .map(item => Number(item))\n\n return [coefficient, exponent]\n }\n\n static largestNumberInArray (array) {\n return array.reduce((a, b) => Math.max(a, b))\n }\n\n /**\n * @description Converts the value into a fixed float\n * @param valueToConvert the value to be converted into a fixed float\n */\n static getValue (valueToConvert, precisionValue) {\n return toFixed(toFloat(valueToConvert, 0), precisionValue)\n }\n\n /**\n * @description Validates the max value and defaults to 100 for invalid values 0, nan, -number\n * @param valuetoconvert the value to be converted into a fixed float\n */\n static getMax (valueToConvert) {\n const _max = toFloat(valueToConvert)\n return _max > 0 ? _max : 100\n }\n\n /**\n * @description Defaults to 0 for invalid values -number, NaN\n * @param precisionValue the value for the precision @default 0\n */\n static getPrecision (precisionValue = 0) {\n return Math.max(toInteger(precisionValue, 0), 0)\n }\n\n /**\n * @description Calculates the progress value, max value and precision value into the correct processed value\n * @param progressValue the value for the progress\n * @param maxValue the max value of the progress bat\n * @param precisionValue the precision value @default 0\n */\n static getProgress (progressValue, maxValue, precisionValue = 0) {\n const _precision = MathManager.getPrecision(precisionValue)\n const pow = Math.pow(10, _precision)\n return toFixed(\n (100 * pow * MathManager.getValue(progressValue)) /\n MathManager.getMax(maxValue) /\n pow,\n _precision\n )\n }\n}\n\nexport default MathManager\n","module.exports = function (Component) {\n Component.options.__i18n = Component.options.__i18n || []\n Component.options.__i18n.push('{\"pt-BR\":{\"tippy-report\":\"Clique para imprimir o relatório em pdf.\"},\"en-US\":{\"tippy-report\":\"Click to print the report in pdf.\"}}')\n delete Component.options._Ctor\n}\n","var render = function render() {\n var _vm = this,\n _c = _vm._self._c\n return _c(\n \"div\",\n { staticClass: \"home-container\" },\n [\n _c(\n \"section\",\n { staticClass: \"eu-flex eu-justify_end eu-align-items_end eu-px_2_md\" },\n [\n _c(\"date-select\", { attrs: { \"is-loading\": _vm.isLoading } }),\n _c(\n \"emd-tippy\",\n {\n staticClass: \"eu-cursor_pointer\",\n attrs: {\n id: \"tippy-report\",\n type: \"simple\",\n position: \"bottom\",\n content: _vm.$t(\"tippy-report\"),\n },\n },\n [\n _c(\n \"button\",\n {\n staticClass: \"emd-action-button eu-ml_3\",\n attrs: { type: \"button\" },\n on: { click: _vm.printDashboard },\n },\n [\n _c(\"emerald-icon\", {\n staticStyle: { width: \"16px\", height: \"16px\" },\n attrs: { icon: \"download\" },\n }),\n ],\n 1\n ),\n ]\n ),\n ],\n 1\n ),\n _vm.isLoading\n ? _c(\"onboarding-loading\")\n : _c(\n \"section\",\n { ref: \"dashboard\", staticClass: \"dashboard-container\" },\n [\n _c(\n \"div\",\n { staticClass: \"charges\" },\n [_c(\"charges\", { attrs: { data: _vm.charges } })],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"status\" },\n [\n _c(\"transaction-status\", {\n attrs: { data: _vm.status, total: _vm.totalQuantity },\n }),\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"paymentMethods\" },\n [\n _c(\"payment-methods\", {\n attrs: { data: _vm.paymentMethods },\n }),\n _c(\"brands\", { attrs: { data: _vm.brands } }),\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"paymentMethods2\" },\n [\n _c(\"acquirer\", { attrs: { data: _vm.acquirers } }),\n _c(\"refusal-codes\", {\n attrs: { data: _vm.refusalCodes, total: _vm.totalQuantity },\n }),\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"bestAccounts\" },\n [\n _c(\"conversion\", { attrs: { data: _vm.paymentMethods } }),\n _c(\"best-accounts\"),\n ],\n 1\n ),\n ]\n ),\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","import { jsPDF as JsPDF } from 'jspdf'\nimport html2canvas from 'html2canvas'\n\nconst IMG_WIDTH = 210\nconst MARGIN = 5\n\nexport default function printViewByRef (ref, docName) {\n const DATE_FORMATTED = new Intl.DateTimeFormat('pt-BR').format(new Date())\n\n html2canvas(ref, {\n backgroundColor: '#ffffff'\n }).then(function (canvas) {\n const IMG_DATA = canvas.toDataURL('image/png')\n const IMG_HEIGHT = (canvas.height * IMG_WIDTH) / canvas.width\n\n const doc = new JsPDF('p', 'mm', 'A4')\n doc.setFillColor(255, 255, 255)\n\n doc.rect(\n MARGIN,\n MARGIN,\n IMG_WIDTH - MARGIN * 2,\n IMG_HEIGHT - MARGIN * 2,\n 'F'\n )\n\n doc.addImage(\n IMG_DATA,\n 'PNG',\n MARGIN,\n MARGIN,\n IMG_WIDTH - MARGIN * 2,\n IMG_HEIGHT - MARGIN * 2,\n '',\n 'FAST'\n )\n\n doc.save(`dashboard-${docName}-${DATE_FORMATTED}.pdf`)\n })\n}\n","\n\n\n\n\n{\n \"pt-BR\": {\n \"tippy-report\": \"Clique para imprimir o relatório em pdf.\"\n },\n \"en-US\": {\n \"tippy-report\": \"Click to print the report in pdf.\"\n }\n}\n\n\n\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js\"","import mod from \"-!../../../node_modules/@intlify/vue-i18n-loader/lib/index.js!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=custom&index=0&blockType=i18n\"; export default mod; export * from \"-!../../../node_modules/@intlify/vue-i18n-loader/lib/index.js!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=custom&index=0&blockType=i18n\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=4bfd12b0&scoped=true\"\nimport script from \"./index.vue?vue&type=script&lang=js\"\nexport * from \"./index.vue?vue&type=script&lang=js\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=4bfd12b0&prod&scoped=true&lang=css\"\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 \"4bfd12b0\",\n null\n \n)\n\n/* custom blocks */\nimport block0 from \"./index.vue?vue&type=custom&index=0&blockType=i18n\"\nif (typeof block0 === 'function') block0(component)\n\nexport default component.exports"],"names":["MathManager","_classCallCheck","_createClass","key","value","items","arguments","length","undefined","keys","r","acc","curr","reduce","rem","_objectSpread","participations","rates","Error","weightedSum","totalParticipations","i","total","DashInstance","commons","percentageCalculator","formatCurrencyBRL","currency","lang","Intl","NumberFormat","style","format","convertCentsToBRL","insights","formatConversionNumber","_value$toExponential$","toExponential","split","map","item","Number","_value$toExponential$2","_slicedToArray","coefficient","exponent","array","a","b","Math","max","valueToConvert","precisionValue","toFixed","toFloat","_max","toInteger","progressValue","maxValue","_precision","getPrecision","pow","getValue","getMax","module","exports","Component","options","__i18n","push","_Ctor","render","_vm","this","_c","_self","staticClass","attrs","isLoading","id","type","position","content","$t","on","click","printDashboard","staticStyle","width","height","icon","ref","data","charges","status","totalQuantity","paymentMethods","brands","acquirers","refusalCodes","staticRenderFns","_withStripped","IMG_WIDTH","MARGIN","printViewByRef","docName","DATE_FORMATTED","DateTimeFormat","Date","html2canvas","backgroundColor","then","canvas","IMG_DATA","toDataURL","IMG_HEIGHT","doc","JsPDF","setFillColor","rect","addImage","save","concat","name","components","EmeraldIcon","EmdTippy","OnboardingLoading","DateSelect","TransactionStatus","PaymentMethods","Acquirer","Brands","RefusalCodes","BestAccounts","Conversion","Charges","computed","mapGetters","quantity","buckets","_this$data$buckets","_this$data","payment_method","_this$buckets","filter","authorized_tpv","_this$buckets2","_this$status$find$buc","_this$status$find","find","tpvLabel","convertToMonetary","tpv","ticketLabel","average_ticket_authorized","salesLabel","time_series","mounted","_this","$nextTick","Amplitude","events","view","loadView","$route","query","methods","date_filters","refDashboard","$refs","dashboard","actions","exportDataClicked","component"],"sourceRoot":""}