PageSourceSearch

https://app.assetinsight.com/assets/PlanDetails-smH6et68.js

js assetinsight.com collected 2026-10-09 16:56:41 UTC 4,850 bytes, 1 lines download raw bytes

1import{r as e}from"./rolldown-runtime-DAXXjFlN.js";import{C as t,D as n,Dt as r,E as i,Gt as a,J as o,M as s,S as c,W as l,nt as u,t as d,w as f,x as p}from"./_plugin-vue_export-helper-C8jQ2jT0.js";import"./apollo-DCqY1Tcx.js";import{r as m}from"./mixins-plPjp0d8.js";import{n as h}from"./ContentBlock-DBdI5qV4.js";import{t as g}from"./VRow-CRM-Ijfo.js";import{t as _}from"./VCol-CHN3VPA7.js";import{t as v}from"./Divider-CoAJjRSc.js";import{t as y}from"./index.es-BHUF5Kwn.js";import{t as b}from"./VBtn-_UnzUaqC.js";var x=e({default:()=>I});s(),r();var S={name:`PlanDetails`,components:{BasicBlock:h,Divider:v,FontAwesomeIcon:y},mixins:[m],computed:{planUsers(){return this.users>3?this.users-3:0},basePlan(){return this.subscription?this.subscription.plan:{}},paymentEstimate(){return this.basePlan?this.basePlan.base_price:0}},data(){return{paymentMethod:null,subscription:null,users:1}},methods:{cancelSubscription(){this.$emit(`change-component`,component)},changeComponent(e){this.$emit(`change-component`,e)},minusUsers(){--this.users},plusUsers(){++this.users}},mounted(){this.getUser().then(e=>(this.$set(this,`subscription`,e.subscription),!0))}},C={class:`text-title-large font-weight-light`},w={class:`text-body-medium font-weight-light text-grey pt-1`},T={key:0},E={key:1},D={key:2},O={key:3},k={key:0,class:`px-0 py-2 text-body-medium font-weight-light`},A={key:1,class:`px-0 py-2 text-body-medium font-weight-light`},j={class:`px-2 text-body-large`},M={key:0},N={key:1},P={key:0};function F(e,r,s,d,m,h){let v=o(`divider`),y=o(`font-awesome-icon`),x=o(`basic-block`);return l(),c(x,{fill:``,class:`rounded`},{default:u(()=>[n(g,{"no-gutters":``},{default:u(()=>[n(_,{cols:`12`,class:`pa-12`},{default:u(()=>[n(g,{justify:`space-between`,"no-gutters":``},{default:u(()=>[n(_,null,{default:u(()=>[...r[4]||=[p(`div`,{class:`text-headline-small font-weight-light`},` Subscription Details `,-1)]]),_:1})]),_:1})]),_:1}),n(v,{full:``}),n(_,{cols:`12`,class:`py-6 px-12`},{default:u(()=>[n(g,{justify:`space-between`,"no-gutters":``},{default:u(()=>[n(_,{cols:`12`,class:`pt-4 pb-6`},{default:u(()=>[n(g,{align:`center`,justify:`space-between`,"no-gutters":``},{default:u(()=>[p(`div`,null,[p(`div`,C,a(h.basePlan?h.basePlan.product_name:`Free Community`)+` - `+a(h.basePlan?h.basePlan.months:1)+` Months `+a(m.subscription&&m.subscription.trial_ends_at?`(Trial)`:``),1),p(`div`,w,[h.basePlan&&h.basePlan.product_name===`Staff`||m.subscription&&m.subscription.trial_ends_at?(l(),f(`span`,T,` Free `)):h.basePlan?(l(),f(`span`,E,a(h.basePlan.base_price|e.currency),1)):(l(),f(`span`,D,a(0|e.currency),1)),h.basePlan&&h.basePlan.product_name!==`Staff`&&m.subscription&&!m.subscription.trial_ends_at&&h.planUsers?(l(),f(`span`,O,` + `+a(h.basePlan&&h.basePlan.month==12?500*h.planUsers:50*h.planUsers|e.currency)+` (`+a(h.planUsers)+` Additional Users) `,1)):t(``,!0)])]),p(`div`,null,[n(b,{color:`white`,class:`text-primary`,onClick:r[0]||=e=>h.changeComponent(`PlanSelection`)},{default:u(()=>[...r[5]||=[i(` Change Plan `,-1)]]),_:1})])]),_:1})]),_:1}),h.basePlan&&h.basePlan.product_name!==`Staff`?(l(),c(_,{key:0,cols:`12`,class:`pt-4 pb-6`},{default:u(()=>[r[7]||=p(`div`,{class:`text-body-small font-weight-bold text-uppercase pb-2`},` Users `,-1),h.basePlan&&h.basePlan.product_name===`Staff`?(l(),f(`div`,k,` Staff Accounts do not permit additional users `)):m.subscription&&m.subscription.trial_ends_at?(l(),f(`div`,A,` Trials do not permit additional users `)):(l(),c(g,{key:2,align:`center`,class:`px-0 py-2 text-body-medium font-weight-light`,justify:`space-between`,"no-gutters":``},{default:u(()=>[r[6]||=p(`div`,null,`Number of Users`,-1),p(`div`,null,[p(`span`,{class:`pointer bg-grey-lighten-3 pa-1 text-grey text-darken-3`,onClick:r[1]||=(...e)=>h.minusUsers&&h.minusUsers(...e)},[n(y,{icon:`minus`,size:`sm`})]),p(`span`,j,a(m.users),1),p(`span`,{class:`pointer bg-grey-lighten-3 pa-1 text-grey text-darken-3`,onClick:r[2]||=(...e)=>h.plusUsers&&h.plusUsers(...e)},[n(y,{icon:`plus`,size:`sm`})])])]),_:1}))]),_:1})):t(``,!0),n(_,{cols:`12`,class:`pt-4 pb-6`},{default:u(()=>[r[8]||=p(`div`,{class:`text-body-small font-weight-bold text-uppercase pb-2`},` Renewal `,-1),n(g,{align:`center`,class:`py-2 text-body-medium font-weight-light`,justify:`space-between`,"no-gutters":``},{default:u(()=>[p(`div`,null,[!m.subscription||!m.subscription.renewal_date?(l(),f(`span`,M,` Your plan does not need to be renewed `)):(l(),f(`span`,N,` Your subscription will renew on `+
1a(m.subscription.renewal_date),1))]),h.basePlan.product_name!==`Staff`&&m.subscription&&!m.subscription.trial_ends_at?(l(),f(`div`,P,[p(`span`,{class:`pointer error--text`,onClick:r[3]||=e=>h.changeComponent(`Unsubscribe`)},` Cancel Subscription `)])):t(``,!0)]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})}var I=d(S,[[`render`,F]]);export{x as n,I as t};

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.