1import{b as E,e as N,p as V,a as $,K as H,o as O,n as q,l as n,q as a,t as s,r as w,A as D,B as m,s as t,a3 as j,U as G,v as l,aN as Q,L as M,x as i,W as _,X as x,Y as T,G as z,C as Y}from"./CMwFZUZT.js";import{_ as K}from"./DGkJj3oP.js";import{g as W}from"./DUBlRKuA.js";import{u as X}from"./Cg9_Vyay.js";import"./BBGPwSPU.js";import"./1JYALcgl.js";import"./D2rjhyfX.js";import"./Do82p9_g.js";import"./wfRsUPcO.js";import"./B2OzgLfY.js";import"./CsHrhhNf.js";import"./0wMA0TKU.js";import"./DmCmLhDV.js";import"./B2Wh1NRa.js";import"./B2_Oxs18.js";import"./CUaXiLgQ.js";import"./CEh2XSUn.js";import"./Ccc9mzQ8.js";import"./C3NxzlT3.js";import"./a9uAt6B3.js";import"./DZnzp5Nc.js";import"./D21XxUhN.js";import"./AQPIlYSg.js";import"./DLL0uD8t.js";import"./JtkcKBmU.js";const J={class:"px-4 pt-4 md:pt-6 pb-15 md:pb-20"},Z={class:"w-full max-w-wrapper-lg mx-auto"},ee={key:0,class:"bg-semantic-surface-container-variant p-4 md:p-6 shadow-[0px_2px_8px_2px_#391B641A,0px_1px_2px_0px_#391B644D] rounded-t-xl"},te={class:"w-full max-w-[49.85625rem] mx-auto flex flex-col md:flex-row gap-4 md:gap-8"},se={class:"flex flex-auto gap-4 items-center justify-center md:justify-normal"},ne={class:"flex flex-col gap-2"},ae={class:"font-bold text-semantic-sizing-body-lg"},le={class:"text-base-font-size-sm flex flex-wrap gap-y-1 gap-x-2 md:gap-x-4 items-center"},oe={class:"text-semantic-sizing-headline-lg font-semibold"},ie={class:"text-xs md:text-sm"},re={class:"font-bold"},ue={class:"w-full md:max-w-[300px] lg:max-w-[22rem] flex items-center"},ce={key:1,class:"w-full max-w-wrapper-sm mx-auto py-6 md:pt-10 flex flex-col gap-6 md:gap-10"},de={key:0},pe={class:"flex flex-row items-center flex-wrap font-bold gap-x-[0.375rem] mb-2"},me={class:"text-2xl"},_e={class:"text-semantic-sizing-label-lg text-base-neutral-700"},fe={key:0,class:"text-semantic-sizing-headline-sm font-semibold mb-2 md:mb-4"},ye=["innerHTML"],ge={colspan:"2",class:"bg-semantic-primary-variant-light text-semantic-sizing-headline-sm text-semantic-primary-on-light text-center py-3 font-semibold"},be={key:0,class:"font-normal text-semantic-sizing-body-sm"},xe={key:0},he={colspan:"2",class:"bg-base-lavender-400 text-semantic-sizing-headline-sm text-semantic-primary-on-light font-semibold px-4 py-2"},ve={key:0},ke={key:0},we={colspan:"2",class:"bg-base-lavender-400 text-semantic-sizing-headline-sm text-semantic-primary-on-light font-semibold px-4 py-2"},De={class:"px-4 py-2 font-normal w-1/2 border-r border-r-semantic-surface-container-lowest"},ze={key:0,class:"block text-semantic-sizing-body-sm"},Ce={class:"px-4 py-2 w-1/2 break-word"},Fe=["innerHTML"],Pe={class:"px-4 py-2 font-normal w-1/2 border-r border-r-semantic-surface-container-lowest"},Se={key:0,class:"block text-semantic-sizing-body-sm"},qe={class:"px-4 py-2 w-1/2"},Me=["innerHTML"],Te={key:1},Le={class:"flex flex-col gap-2 md:gap-4"},Be={key:0,class:"text-semantic-sizing-headline-sm font-semibold"},Ue={key:1,class:"block"},Ie=["href"],Ae=["href"],Re={class:"flex flex-col gap-2 md:gap-4"},Ee={key:0,class:"text-semantic-sizing-headline-sm font-semibold"},Ne={key:1,class:"text-semantic-sizing-body"},mt={__name:"plan-details",setup(Ve){const f=E(),y=N();W({title:"Energy Quote Results Plan Details - Compare Club",ogTitle:"Energy Quote Results Plan Details - Compare Club",ogUrl:"https://compareclub.com.au/energy/quotes-results/plan-details/",ogImage:"",ogType:""},V(f));const{devices:C}=$(),g=X(),{getLeadDetails:L,getCurrentPlanDetails:e}=H(g),B=z(()=>L.value?.fuel_type==="Dual"),U=z(()=>{const u=[{title:"Tariff & Rates",rows:e.value?.rates.filter(d=>d.name!=="Solar")||[]},...e.value?.rates.some(d=>d.name==="Solar")?[{title:"Solar",rows:e.value?.rates.filter(d=>d.name==="Solar")||[]}]:[]];u.push({title:"Billing & Payment Options",rows:[{label:"Delivery",value:e.value?.billingOptions},{label:"Payment Method",value:e.value?.paymentOptions}]});const o=e.value?.config.find(d=>d.key==="ol_data_plan_details_fee")?.value||{},c=[];return e.value?.connectionFees&&c.push({label:"Connection Fees",value:e.value.connectionFees}),e.value?.disconnectionFee&&c.push({label:"Disconnection Fees",value:e.value.disconnectionFee}),o?.latePaymentFee&&c.push({label:"Late Payment Fee",value:o.latePaymentFee}),o?.paymentProcessingFee&&c.push({label:"Payment Processing Fee",value:o.paymentProcessingFee}),o?.meterworksAdminFee&&c.push({label:"Meterworks Admin Fee",value:o.meterworksAdminFee}),u.push({title:"Fees",rows:[...c]}),u}),F=z(()=>e.value?.config.find(u=>u.key==="ol_plan_details_fee_disclaimer")?.value??null),P=Y(null);O(async()=>{await q(),f.query.uuid||y.push({path:"/"}),f.query.plan_uid||y.push({name:"energy-quotes-results",query:{uuid:f.query.uuid}}),e.value?.id||y.push({name:"energy-quotes-results",query:{uuid:f.query.uuid}})});async function I(){await g.selectPlan(e.value,e.value.planType),q().then(()=>{B.value?y.push({name:"energy-quotes-results",query:{uuid:f.query.uuid}}):S()})}function S(u=!1){u?g.submitPlans():P.value?.lifeSupportAnalysis()}return(u,o)=>{const c=j,d=G,A=K;return n(),a("div",J,[s("div",Z,[w(c,{"icon-direction":"left",size:"small",theme:"tertiary",type:"button",class:"mb-4","has-icon-left":"",onClick:o[0]||(o[0]=p=>t(y).push({name:"energy-quotes-results",query:{uuid:t(f).query.uuid}}))},{default:D(()=>[...o[2]||(o[2]=[m(" Back to comparison ",-1)])]),_:1}),t(e)?.id?(n(),a("div",ee,[s("div",te,[s("div",se,[w(d,{src:t(e).logo,alt:"Energy Plan Logo",class:"wh-18 md:wh-20 object-contain aspect-square"},null,8,["src"]),s("div",ne,[s("p",ae,l(t(e).planName),1),s("div",le,[s("p",oe,l(("prependCurrency"in u?u.prependCurrency:t(Q))(t(e).cost.amount)),1),s("div",ie,[s("p",re," / "+l(t(e).cost.period),1),s("p",null,l(t(e).cost.description),1)])])])]),s("div",ue,[t(e).status?(n(),M(c,{key:0,size:"base",class:"w-full",full:t(C).isMobile.value,onClick:I},{default:D(()=>[...o[3]||(o[3]=[m(" Select Plan ",-1)])]),_:1},8,["full"])):i("",!0),t(e).status?i("",!0):(n(),M(c,{key:1,size:"base",class:"w-full mb-2",type:"button",to:"tel:1300 836 816",full:t
1(C).isMobile.value},{default:D(()=>[...o[4]||(o[4]=[m(" Call Us ",-1)])]),_:1},8,["full"]))])])])):i("",!0),t(e)?.id?(n(),a("div",ce,[t(e).discount.percentage?(n(),a("div",de,[s("p",pe,[s("span",me,l(t(e).discount.percentage),1),m(" "+l(t(e).discount.description),1)]),s("p",_e,l(t(e).discount.details),1)])):i("",!0),s("div",null,[t(e).planInfo?(n(),a("p",fe," Plan Information ")):i("",!0),s("div",{class:"plan-info-container",innerHTML:t(e).planInfo},null,8,ye)]),(n(!0),a(_,null,x(t(U),p=>(n(),a("table",{key:p.title,class:"w-full overflow-hidden rounded-lg text-center"},[s("thead",null,[s("tr",null,[s("th",ge,[m(l(p.title)+" ",1),["Tariff & Rates","Fees"].includes(p.title)?(n(),a("em",be," (Incl GST) ")):i("",!0)])])]),s("tbody",null,[(n(!0),a(_,null,x(p.rows,(r,h)=>(n(),a(_,{key:r.season},[r.name&&!["All Year","Solar"].includes(r.name)?(n(),a("tr",xe,[s("td",he,[m(l(r.name)+" ",1),r.startDate&&r.endDate?(n(),a("span",ve," ("+l(t(g).handleSeasonDate(r.startDate))+" - "+l(t(g).handleSeasonDate(r.endDate))+") ",1)):i("",!0)])])):i("",!0),(n(!0),a(_,null,x(r.rates,(v,R)=>(n(),a(_,{key:R},[v.title&&v.title!=="Solar"&&p.rows?.length===1?(n(),a("tr",ke,[s("td",we,l(v.title),1)])):i("",!0),(n(!0),a(_,null,x(v.rates,(b,k)=>(n(),a("tr",{key:k,class:T([{"bg-semantic-surface-container-lowest":k%2===0,"bg-semantic-surface-container-low":k%2!==0},"text-semantic-sizing-body"])},[s("td",De,[m(l(b.label)+" ",1),b.timing?(n(),a("span",ze,l(b.timing),1)):i("",!0)]),s("td",Ce,[s("p",{innerHTML:`${b.value} ${b.unit}`},null,8,Fe)])],2))),128))],64))),128)),r.rates?i("",!0):(n(),a("tr",{key:1,class:T([{"bg-semantic-surface-container-lowest":h%2===0,"bg-semantic-surface-container-low":h%2!==0},"text-semantic-sizing-body"])},[s("td",Pe,[m(l(r.label)+" ",1),r.timing?(n(),a("span",Se,l(r.timing),1)):i("",!0)]),s("td",qe,[s("p",{innerHTML:r.value},null,8,Me),m(" "+l(r.unit),1)])],2))],64))),128))])]))),128)),t(F)?(n(),a("p",Te," Disclaimer: "+l(t(F)),1)):i("",!0),s("div",Le,[t(e).bpidUrl||t(e).bpidUrls?(n(),a("p",Be," Basic Plan Information ")):i("",!0),t(e).bpidUrl||t(e).bpidUrls?(n(),a("div",Ue,[t(e).bpidUrl?(n(),a("a",{key:0,href:t(e).bpidUrl,target:"_blank",class:"text-semantic-sizing-body font-bold text-semantic-secondary-default underline not-last:mb-2"}," BPID/VEFS Link ",8,Ie)):t(e).bpidUrls&&Object.keys(t(e).bpidUrls).length?(n(!0),a(_,{key:1},x(t(e).bpidUrls,(p,r,h)=>(n(),a(_,{key:h},[s("a",{href:p,target:"_blank",class:"text-semantic-sizing-body font-bold text-semantic-secondary-default underline not-last:mb-2"}," BPID/VEFS "+l(r),9,Ae),o[5]||(o[5]=s("br",null,null,-1))],64))),128)):i("",!0)])):i("",!0)]),s("div",Re,[t(e).about_retailer?(n(),a("p",Ee," About Retailer ")):i("",!0),t(e).about_retailer?(n(),a("p",Ne,l(t(e).about_retailer),1)):i("",!0)])])):i("",!0),w(A,{ref_key:"lifeSupportModal",ref:P,onContinue:o[1]||(o[1]=p=>S(!0))},null,512)])])}}};export{mt as default}; 2//# sourceMappingURL=BhcKcaKq.js.map
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.