PageSourceSearch

https://dashboard.equalice.es/_nuxt/D0AkFVat.js

js equalice.es collected 2026-10-08 18:32:38 UTC 3,921 bytes, 1 lines download raw bytes

1import{d as I,q as M,p as D,a as E,ag as G,J as b,b as N,a4 as V,o as l,f as v,h as s,t as n,E as e,B as C,j,i as _,c as k,k as r,l as q,_ as R}from"./CByar7Lo.js";import{n as p}from"./7mkwfZKP.js";import{t as x}from"./BxMQG5wv.js";import{u as A}from"./VgwhUEnL.js";import{C as J,a as O}from"./nHGPE-I6.js";import"./C-wyfOht.js";import"./DVTLeadV.js";import"./CIH59cZB.js";import"./DunLU3It.js";import"./D2KktAqs.js";import"./BaHoYpsU.js";import"./BpM-n7Jm.js";import"./COPIz_6m.js";const T={class:"gap-responsive-tablet"},U={class:"your-investment"},X={class:"flex-col",style:{gap:"var(--gap-s)"}},z={class:"flex-col",style:{gap:"0"}},F={class:"breakdown-text"},H={class:"text-bold"},K={key:0,class:"breakdown-text"},Q={class:"flex-row vertical-align-center",style:{gap:"var(--padding-xs)"}},Y={class:"text-danger text-bold"},Z={class:"material-symbols-outlined text-primary info-icon"},ee={key:0,class:"flex-row vertical-align-bottom",style:{gap:"var(--gap-s)"}},te={class:"text-bold"},ae={class:"text-bold total-payment"},se={class:"flex-row full-width mt-3"},ne=I({__name:"CreditCardPaymentPage",setup(P){const y=M(),a=A(),B=r(0),g=r(0),u=r(0),$=r(null),i=D(),{t:h,locale:m}=E(),c=r(null),f=r(null),o=r(null),w=q(()=>{const t=a.investment?.used_balance??0;return t&&t>0?u.value-t:u.value}),S=()=>{try{return o.value&&o.value.payment_type?o.value.payment_type.split(".")[0].toLocaleLowerCase():null}catch(t){return x.error(h("common.error:"+t)),null}},L=async()=>{try{const{data:t}=await b.actionGet("/dashboard/investment/"+c.value.id+"/payment");if(t)return t}catch{x.error(h("common.error"))}};return G(async()=>{try{a.setIsLoading(!0);const{data:t}=await b.actionGet(`/dashboard/investment/slug/${y.params.slug}`);c.value=t,o.value=await L(),f.value=await S()}catch{x.error(h("common.error"))}finally{a.setIsLoading(!1)}}),N(async()=>{a.setIsLoading(!0);const t=y.params.slug,{data:d}=await b.actionGet(`/dashboard/issuance/slug/${t}/expand/asset_issuance_relational`);$.value=d.id??null,B.value=d.asset_issuance_relational?.asset_price??0,g.value=a.investment?.tokens_amount??0,u.value=a.investment?.amount??0,a.setIsLoading(!1)}),(t,d)=>{const W=V("tooltip");return l(),v("div",T,[s("h1",null,n(t.$t("invest.methodpayment_page.title")),1),s("p",U,n(t.$t("invest.methodpayment_page.your_investment")),1),s("div",X,[s("h1",null,n(e(p).formatWithCurrency(u.value>0?u.value:0,e(i).currency.symbol,void 0,e(m))),1),s("div",z,[s("span",F,[C(n(t.$t("invest.methodpayment_page.breakdown"))+": ",1),s("span",H,n(e(p).formatWithCurrency(e(a).investment?.price_per_token?e(a).investment?.price_per_token:0,e(i).currency.symbol,2,e(m)))+" X "+n(g.value>0?e(p).format(g.value,void 0,e(m)):"00.00")+" "+n(e(a).issuance?.asset?.symbol),1)]),e(i).extras.payWithBalance&&e(a).investment?.used_balance?(l(),v("span",K,[s("div",Q,[C(n(t.$t("invest.methodpayment_page.used_balance"))+": ",1),s("span",Y," - "+n(e(p).formatWithCurrency(e(a).investment?.used_balance?e(a).investment?.used_balance:0,e(i).currency.symbol,2,e(m))),1),j((l(),v("i",Z,[...d[0]||(d[0]=[C("contact_support",-1)])])),[[W,t.$t("invest.methodpayment_page.used_balance_info")]])])])):_("",!0)]),e(i).extras.payWithBalance&&e(a).investment?.used_balance?(l(),v("div",ee,[s("span",te,n(t.$t("invest.methodpayment_page.total"))+": ",1),s("span",ae,n(e(p).formatWithCurrency(w.value>0?w.value:0,e(i).currency.symbol,void 0,e(m))),1)])):_("",!0)]),s("div",se,[c.value&&o.value&&o.value.data&&f.value=="mangopay"?(l(),k(J,{key:0,investment:c.value,"data-payment":o.value},null,8,["investment","data-payment"])):_("",!0),c.value&&o.value&&f.value=="redsys"?(l(),k(O,{key:1,investment:c.value,"data-payment":o.value},null,8,["investment","data-payment"])):_("",!0)])])}}}),oe=Object.assign(R(ne,[["__scopeId","data-v-6cfc2a99"]]),{__name:"PagesInvestCreditCardPaymentPage"}),fe=I({__name:"payment-creditcard",setup(P){return(y,a)=>(l(),k(oe))}});
1export{fe as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.