{"version":3,"sources":["webpack:///./src/app/modules/marketplace/components/products/card/marketplace-card-portfolio-new.component.vue?f3a0","webpack:///./src/app/modules/testing/pages/testing.vue","webpack:///./src/app/modules/marketplace/components/products/card/marketplace-card-portfolio-new.component.vue","webpack:///src/app/modules/marketplace/components/products/card/marketplace-card-portfolio-new.component.vue","webpack:///./src/app/modules/marketplace/components/products/card/marketplace-card-portfolio-new.component.vue?a259","webpack:///./src/app/modules/marketplace/components/products/card/marketplace-card-portfolio-new.component.vue?6c0c","webpack:///src/app/modules/testing/pages/testing.vue","webpack:///./src/app/modules/testing/pages/testing.vue?cb9f","webpack:///./src/app/modules/testing/pages/testing.vue?e36a"],"names":["render","_vm","this","_c","_self","staticClass","_v","attrs","data","strategies","staticRenderFns","product","partner_badge","partnerInfo","directives","name","rawName","value","arrow","theme","expression","partner_name","strategy","strategy_tier","$route","_e","partner_institution","strategy_name","_s","addButton","marketplace_status","textTooltip","disableAdd","nativeOn","$event","preventDefault","stopPropagation","subscription","placement","class","strategy_risk","replaceAll","colorStatus","strategy_style","config","ui_theme","strategy_id","chartOptions","height","width","min_volume","min_capital","tr_perc_return","toFixed","max_loss","domProps","$icons","red_alert_sm","visualization","kebab","use","CanvasRenderer","PieChart","TitleComponent","TooltipComponent","LegendComponent","components","VChart","Favorite","MarketplaceAddComponent","CardPortfolio","TierIconComponent","OntickBrokerLogoComponent","props","type","Object","favorite","Boolean","default","chart","dark","computed","mapState","accountTypes","state","mapGetters","getSelectedAccount","getColors","methods","tooltip","appendToBody","trigger","series","radius","center","avoidLabelOverlap","itemStyle","borderRadius","color","dataIndex","label","show","position","emphasis","labelLine","translate","val","abbreviate","arr","split","initials","map","item","charAt","join","toUpperCase","transition","tl","TimelineLite","set","top","left","ease","Quart","easeIn","to","Quint","easeInOut","force3D","transformOrigin","right","Power4","borderWidth","scaleX","boxShadow","includes","product_listed","trackSubscription","res","$api","post","$endpoint","ADD_MARKETPLACE_STRATEGY","product_id","account_id","$swal","title","text","$filters","capitalize","msg","icon","iconHtml","swal_success","timer","timerProgressBar","$router","push","path","err","console","error","$emit","account_type","ADD_EXTENSION_STRATEGY","action","params","extension_group","confirmPaymentFree","parseInt","license_price_id","FREE_PAYMENTS","then","$gtm","trackEvent","event","category","selectedAccount","broker_name","account_number","noninteraction","percentageConvert","parseFloat","toLocaleString","minimumFractionDigits","colorType","types","TRADE_FOLLOW","LONG_SHORT","PORTFOLIO","status","tooltips","ADDED","HIDDEN","component","MarketplaceCardPortfolioNewComponent","MarketplaceCardComponent","input","response","product_name","product_type","extension_id","strategy_symbol","strategy_is_premium","test","worker","sendMessage","created","EventBus","$on","e"],"mappings":"yIAAA,W,yCCAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,UAAU,CAACE,YAAY,kCAAkC,CAACF,EAAG,KAAK,CAACE,YAAY,oCAAoC,CAACJ,EAAIK,GAAG,kBAAkBH,EAAG,MAAM,CAACE,YAAY,iCAAiC,CAACF,EAAG,uCAAuC,CAACI,MAAM,CAAC,QAAUN,EAAIO,KAAK,SAAWP,EAAIO,KAAKC,WAAW,MAAMN,EAAG,2BAA2B,CAACI,MAAM,CAAC,QAAUN,EAAIO,KAAK,SAAWP,EAAIO,KAAKC,WAAW,OAAO,MAEhdC,EAAkB,G,YCFlBV,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,2PAA2P,CAACF,EAAG,MAAM,CAACE,YAAY,6BAA6B,CAACF,EAAG,MAAM,CAACE,YAAY,SAAS,CAACF,EAAG,IAAI,CAACE,YAAY,6DAA6D,CAACJ,EAAIK,GAAG,eAAeH,EAAG,KAAK,CAACE,YAAY,+BAA+B,CAAEJ,EAAIU,QAAQC,eAAiBX,EAAIY,YAAaV,EAAG,MAAM,CAACW,WAAW,CAAC,CAACC,KAAK,QAAQC,QAAQ,UAAUC,MAAO,CAAEC,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Z,ICOvZ,EAAY,eACd,EACAlN,EACAU,GACA,EACA,KACA,KACA,MAIa,e","file":"js/chunk-afd7a60a.c7195370.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/cli-service/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/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./marketplace-card-portfolio-new.component.vue?vue&type=style&index=0&id=bcbe075a&prod&lang=scss&scoped=true\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('section',{staticClass:\"flex w-full flex-col gap-6 p-6\"},[_c('h1',{staticClass:\"text-4xl font-bold text-gray-300\"},[_vm._v(\"Testing page\")]),_c('div',{staticClass:\"grid w-full grid-cols-4 gap-4\"},[_c('MarketplaceCardPortfolioNewComponent',{attrs:{\"product\":_vm.data,\"strategy\":_vm.data.strategies[0]}}),_c('MarketplaceCardComponent',{attrs:{\"product\":_vm.data,\"strategy\":_vm.data.strategies[0]}})],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"border-ontick-steel-300 dark:border-ontick-carbon-500 dark:bg-ontick-graphite-500 relative transform cursor-pointer space-y-3 overflow-hidden rounded-xl border-2 bg-gray-50 py-5 pb-2 transition-all duration-200 hover:-translate-y-1 hover:scale-105\"},[_c('div',{staticClass:\"flex justify-between px-4\"},[_c('div',{staticClass:\"w-5/6\"},[_c('p',{staticClass:\"text-ontick-steel-400 truncate text-sm dark:text-gray-400\"},[_vm._v(\"Portfólio\")]),_c('dt',{staticClass:\"flex items-center space-x-2\"},[(_vm.product.partner_badge || _vm.partnerInfo)?_c('img',{directives:[{name:\"tippy\",rawName:\"v-tippy\",value:({ arrow: true, theme: 'green' }),expression:\"{ arrow: true, theme: 'green' }\"}],staticClass:\"h-5 w-5\",attrs:{\"src\":_vm.product.partner_badge || _vm.partnerInfo.partner_badge,\"alt\":_vm.product.partner_name || _vm.partnerInfo.partner_name,\"content\":_vm.product.partner_name || _vm.partnerInfo.partner_name}}):(_vm.strategy.strategy_tier && _vm.strategy.strategy_tier !== 'NO_TIER' && _vm.$route.name !== 'Analistas XP')?_c('tier-icon-component',{attrs:{\"tier\":_vm.strategy.strategy_tier}}):_vm._e(),(_vm.$route.name === 'Analistas XP')?_c('ontick-broker-logo-component',{attrs:{\"broker\":_vm.product.partner_institution}}):_vm._e(),_c('h3',{directives:[{name:\"tippy\",rawName:\"v-tippy\",value:({ arrow: true, theme: 'green' }),expression:\"{ arrow: true, theme: 'green' }\"}],staticClass:\"text-ontick-carbon-900 truncate text-2xl font-semibold dark:text-gray-300\",attrs:{\"content\":_vm.strategy.strategy_name}},[_vm._v(\" \"+_vm._s(_vm.strategy.strategy_name || _vm.strategy)+\" \")])],1)]),(_vm.addButton)?_c('marketplace-add-component',{attrs:{\"status\":_vm.strategy.marketplace_status,\"label\":_vm.textTooltip(_vm.strategy.marketplace_status),\"disableAdd\":_vm.disableAdd},nativeOn:{\"click\":function($event){$event.preventDefault();$event.stopPropagation();return _vm.subscription()}}}):_vm._e()],1),_c('div',{staticClass:\"chart-line-marketplace\"},[_c('div',{staticClass:\"flex space-x-2 px-4\"},[_c('div',{directives:[{name:\"tippy\",rawName:\"v-tippy\",value:({ arrow: true, theme: 'green', placement: 'bottom' }),expression:\"{ arrow: true, theme: 'green', placement: 'bottom' }\"}],staticClass:\"rounded border px-3 py-1 text-xs\",class:_vm.strategy.strategy_risk == 'BAIXO'\n ? 'border-ontick-green-600'\n : _vm.strategy.strategy_risk == 'MEDIO'\n ? 'border-ontick-yellow-600'\n : 'border-ontick-red-600 ',attrs:{\"content\":`Risco: ${_vm.strategy.strategy_risk}`}},[_c('span',{class:_vm.strategy.strategy_risk == 'BAIXO'\n ? 'text-ontick-green-600'\n : _vm.strategy.strategy_risk == 'MEDIO'\n ? 'text-ontick-yellow-600'\n : 'text-ontick-red-600 '},[_vm._v(\" \"+_vm._s(_vm.strategy.strategy_risk.replaceAll(\"_\", \" \").replaceAll(\"E\", \"É\"))+\" \")])]),_c('div',{directives:[{name:\"tippy\",rawName:\"v-tippy\",value:({ arrow: true, theme: 'green', placement: 'bottom' }),expression:\"{ arrow: true, theme: 'green', placement: 'bottom' }\"}],staticClass:\"whitespace-nowrap rounded px-3 py-1 text-xs\",class:_vm.colorStatus(_vm.strategy.strategy_style),attrs:{\"content\":`Modo de operação: ${_vm.strategy.strategy_style.replaceAll('_', ' ')}`}},[_vm._v(\" \"+_vm._s(_vm.strategy.strategy_style.replaceAll(\"_\", \" \"))+\" \")])]),_c('div',{staticClass:\"h-[128px] w-full\"},[_c('img',{staticClass:\"h-full w-full\",class:[{ 'contrast-200 saturate-200': _vm.config.ui_theme === 'LIGHT' }],attrs:{\"src\":`https://ontick-estrategias.s3.sa-east-1.amazonaws.com/${_vm.strategy.strategy_id}.png`,\"alt\":`Curva de capital da estratégia ${_vm.strategy.strategy_name}`,\"loading\":\"lazy\"}}),_c('div',{staticClass:\"absolute top-1/2 right-0 flex h-[120px] w-[120px] -translate-y-1/2 transform items-center justify-center\"},[_c('VChart',{staticClass:\"chart\",attrs:{\"option\":_vm.chartOptions(),\"autoresize\":\"\",\"init-options\":{ height: 120, width: 120 }}})],1)])]),_c('div',{staticClass:\"flex items-center sm:col-span-2 sm:flex\"},[_c('div',{staticClass:\"col-span-2 grid flex-grow grid-cols-4 gap-1 px-1 py-1 text-center\"},[_c('div',{directives:[{name:\"tippy\",rawName:\"v-tippy\",value:({ arrow: true, theme: 'green' }),expression:\"{ arrow: true, theme: 'green' }\"}],attrs:{\"content\":\"Volume mínimo\"}},[_c('dd',{staticClass:\"text-ontick-carbon-900 text-xs font-semibold lining-nums dark:font-medium dark:text-gray-300\"},[_vm._v(\" \"+_vm._s(_vm.strategy.min_volume)+\" \")]),_c('dt',{staticClass:\"text-ontick-steel-400 truncate text-xs font-normal dark:text-gray-400\"},[_vm._v(\"Volume\")])]),_c('div',{directives:[{name:\"tippy\",rawName:\"v-tippy\",value:({ arrow: true, theme: 'green' }),expression:\"{ arrow: true, theme: 'green' }\"}],attrs:{\"content\":\"Capital recomendado\"}},[_c('dd',{staticClass:\"text-ontick-carbon-900 text-xs font-semibold lining-nums dark:font-medium dark:text-gray-300\"},[_vm._v(\" R$\"+_vm._s(_vm.strategy.min_capital)+\" \")]),_c('dt',{staticClass:\"text-ontick-steel-400 truncate text-xs font-normal dark:text-gray-400\"},[_vm._v(\"Capital\")])]),_c('div',{directives:[{name:\"tippy\",rawName:\"v-tippy\",value:({ arrow: true, theme: 'green' }),expression:\"{ arrow: true, theme: 'green' }\"}],attrs:{\"content\":\"Retorno acumulado\"}},[_c('dd',{staticClass:\"text-ontick-green-700 dark:text-ontick-green-600 text-xs font-semibold lining-nums dark:font-medium\"},[_vm._v(\" \"+_vm._s(_vm.strategy.tr_perc_return.toFixed(2))+\"% \")]),_c('dt',{staticClass:\"text-ontick-steel-400 truncate text-xs font-normal dark:text-gray-400\"},[_vm._v(\"Retorno\")])]),_c('div',{directives:[{name:\"tippy\",rawName:\"v-tippy\",value:({\n arrow: true,\n theme: _vm.strategy.max_loss === 0 ? 'red' : 'green',\n }),expression:\"{\\n arrow: true,\\n theme: strategy.max_loss === 0 ? 'red' : 'green',\\n }\"}],attrs:{\"content\":_vm.strategy.max_loss === 0 ? 'Estratégia sem limite de perda configurado' : 'Perda máxima diária'}},[_c('dd',{staticClass:\"text-ontick-red-700 dark:text-ontick-red-600 flex items-center justify-center text-xs font-semibold lining-nums dark:font-medium\"},[(_vm.strategy.max_loss)?_c('span',[_vm._v(\" R$\"+_vm._s(_vm.strategy.max_loss)+\" \")]):_c('span',{staticClass:\"flex items-center space-x-1\",attrs:{\"content\":\"\"}},[_c('span',[_vm._v(\" N/D \")]),_c('i',{domProps:{\"innerHTML\":_vm._s(_vm.$icons.red_alert_sm)}})])]),_c('dt',{staticClass:\"text-ontick-steel-400 truncate text-xs font-normal dark:text-gray-400\"},[_vm._v(\"Perda máx.\")])])]),_c('button',{directives:[{name:\"tippy\",rawName:\"v-tippy\",value:({ arrow: true, theme: 'green' }),expression:\"{ arrow: true, theme: 'green' }\"}],staticClass:\"pr-4 text-gray-400\",class:_vm.visualization ? 'hidden' : '',attrs:{\"content\":\"Ver detalhes\"}},[_c('i',{domProps:{\"innerHTML\":_vm._s(_vm.$icons.kebab)}})])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\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/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./marketplace-card-portfolio-new.component.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/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./marketplace-card-portfolio-new.component.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./marketplace-card-portfolio-new.component.vue?vue&type=template&id=bcbe075a&scoped=true\"\nimport script from \"./marketplace-card-portfolio-new.component.vue?vue&type=script&lang=js\"\nexport * from \"./marketplace-card-portfolio-new.component.vue?vue&type=script&lang=js\"\nimport style0 from \"./marketplace-card-portfolio-new.component.vue?vue&type=style&index=0&id=bcbe075a&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"bcbe075a\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\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/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./testing.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/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./testing.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./testing.vue?vue&type=template&id=23d86f70\"\nimport script from \"./testing.vue?vue&type=script&lang=js\"\nexport * from \"./testing.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/@vue/cli-service/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":""}