PageSourceSearch

https://compareclub.com.au/_nuxt/t0oD0ega.js

js compareclub.com.au collected 2026-09-28 09:13:48 UTC 41,597 bytes, 2 lines download raw bytes

1import{C as b,l as E,q as U,r as P,s as n,t as p,x as j,L as oe,A as I,$ as ve,z as ft,a3 as De,B as N,v as Re,bw as yt,O as gt,bm as _t,bn as vt,a1 as bt,cc as ht,b as xt,e as wt,h as kt,a2 as St,K as Ct,p as Mt,o as Pt,m as At,a6 as Nt,Y as Vt,W as Et,aj as Tt,G as L,I as Bt,aD as Ne,a7 as Dt,ae as Rt,aC as Ut,aE as It,n as $t}from"./CMwFZUZT.js";import{_ as qt}from"./DrLJdblh.js";import{_ as zt}from"./DkDiYzuc.js";import Gt from"./C0eRPtrh.js";import{_ as Lt}from"./CdbFN4L3.js";import{_ as Ft}from"./BBGPwSPU.js";import{_ as Ot}from"./DVRvS1Ib.js";import{a as Qt}from"./Bbp6cHIe.js";import{_ as jt}from"./5IGl18vq.js";import{_ as Wt}from"./DMQiat58.js";import{a as ye}from"./BB5x1VHI.js";import{h as Ht}from"./CI_HZIPN.js";import{K as Yt}from"./DvFlaW5r.js";import{u as Kt}from"./BHpUykXI.js";import{u as Zt}from"./Cg9_Vyay.js";import{g as Jt}from"./DUBlRKuA.js";import{g as Xt}from"./DiJlYobT.js";import"./CpRyE6Kl.js";import"./ztL1ZIU0.js";import"./0wMA0TKU.js";import"./DlYqOrHm.js";import"./CKQlza8f.js";import"./B2hzgH7e.js";import"./B3nvKfDn.js";import"./BS9qk49H.js";import"./KbiTKfkP.js";import"./MJOylZnZ.js";import"./BP1dvt8l.js";import"./D2rjhyfX.js";import"./CbALKcEw.js";import"./CpyLssEo.js";import"./1JYALcgl.js";import"./Do82p9_g.js";import"./wfRsUPcO.js";import"./ByZBYvf6.js";import"./Bl5fQGX_.js";import"./DX27wEk4.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";import"./DmCmLhDV.js";import"./B2Wh1NRa.js";function Ve(s){const a=String(s??"").toUpperCase().replace(/[^A-Z0-9]/g,"");return a.length===11&&/\d$/.test(a)?a.slice(0,10):a}function Ue(s){return{houseNumber:s?.apartment||"",streetNumber:s?.streetNumber||"",streetName:s?.streetName||"",streetType:s?.streetType||"",suburb:s?.suburb||"",stateCode:s?.state||"",postcode:s?.postcode||"",lotNumber:s?.lotNumber||"",unitType:s?.unitType||"",unitNumber:s?.unitNumber||"",msatStreetNumber:s?.msatStreetNumber||"",msatStreetNumberSuffix:s?.msatStreetNumberSuffix||"",msatStreetName:s?.msatStreetName||"",filterToRequestedPremises:!0}}function Ie(s){const a=s?.msat_uid||"";if(s?.address_not_found)return{kind:"not-found",msatUid:"",options:[]};const u=Array.isArray(s?.addresses)?s.addresses:[];if(u.length){const c=u.map(l=>({label:l.address,value:l.nmi}));return{kind:c.length===1?"single":"choice",msatUid:a,options:c}}return s?.status===1?{kind:"bound",msatUid:a,options:[]}:{kind:"none",msatUid:"",options:[]}}function $e(s){return{msat_uid:s?.msat_uid||"",has_comparison:s?.status===1,msat_status:s?.status===1}}function ne(s={}){return{msat_uid:"",has_comparison:!1,msat_status:!1,selected_nmi:"",...s}}async function ie({nmi:s,msatUid:a,addressline:u=""}){try{const c=await $fetch("/api/energy/confirm-msat-address",{method:"POST",body:{nmi:s,msat_uid:a}}).then(l=>l?.data);return c?.status!==1?ne({addressline:u}):{msat_uid:c?.msat_uid||a,has_comparison:!0,msat_status:!0,selected_nmi:s,addressline:u}}catch{return ne({addressline:u})}}const es=["data-testid"],ts={key:0,class:"flex items-center gap-2 mt-2 text-sm text-semantic-surface-on-surface-variant"},ss=Object.assign({name:"V2MoleculesDashboardMsatAddressLookup"},{__name:"V2MoleculesDashboardMsatAddressLookup",props:{modelValue:{type:Object,default:null},placeholder:{type:String,default:"Enter address"},label:{type:String,default:"Address"},enableMsat:{type:Boolean,default:!0},errorMessage:{type:String,default:""},dataTestid:{type:String,default:""}},emits:["update:modelValue","update","msat-resolved","msat-choice-required"],setup(s,{expose:a,emit:u}){const c=s,l=u,i=b(!1),m=b(c.modelValue?.placeId||"");function f(v){if(!v||typeof v=="string"){l("update:modelValue",null);return}const y=v?.placeId||"",T=!!(v?.streetName||v?.suburb),k=c.modelValue?.msat_uid?{msat_uid:c.modelValue.msat_uid,msat_status:c.modelValue.msat_status,selected_nmi:c.modelValue.selected_nmi,has_comparison:c.modelValue.has_comparison}:{},x=y&&y===m.value,z=x&&!!c.modelValue?.msat_status&&!!c.modelValue?.addressline;l("update:modelValue",{...k,...v,...z?{addressline:c.modelValue.addressline}:{}}),y&&T&&!x&&(m.value=y,_(v))}function S(){l("update")}function w(){m.value=""}async function _(v){if(v){i.value=!0,l("update:modelValue",{...v,msat_uid:"",msat_status:!1,selected_nmi:""});try{const y=await $fetch("/api/energy/msat-address",{method:"POST",body:Ue(v)}).then(z=>z?.data),{kind:T,msatUid:k,options:x}=Ie(y);if(T==="not-found"){l("msat-resolved",ne({address_not_found:!0}));return}if(T==="choice"){l("msat-choice-required",{options:x,msatUid:k});return}if(T==="single"){l("msat-resolved",await ie({nmi:x[0].value,msatUid:k,addressline:x[0].label}));return}l("msat-resolved",$e(y))}catch{l("msat-resolved",ne())}finally{i.value=!1}}}return a({resetPlaceLock:w}),(v,y)=>{const T=zt;return E(),U("div",{"data-testid":s.dataTestid},[P(T,{"model-value":s.modelValue,placeholder:s.placeholder,label:s.label,"split-street-name":!0,"hide-dropdown-icon":!0,"preview-selected":!1,"prerender-selected-option":!0,"error-message":s.errorMessage,"required-address-fields":[],disabled:n(i),"onUpdate:modelValue":f,onUpdate:S}
1,null,8,["model-value","placeholder","label","error-message","disabled"]),n(i)?(E(),U("div",ts,[...y[0]||(y[0]=[p("svg",{class:"animate-spin h-4 w-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[p("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),p("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"})],-1),p("span",null,"Verifying address...",-1)])])):j("",!0)],8,es)}}}),as={class:"h-52 overflow-y-auto"},rs={class:"w-full flex justify-center"},os=Object.assign({name:"V2MoleculesDashboardMsatAddressPicker"},{__name:"V2MoleculesDashboardMsatAddressPicker",props:{options:{type:Array,default:()=>[]},msatUid:{type:String,default:""},dataTestid:{type:String,default:""}},emits:["confirm","back"],setup(s,{expose:a,emit:u}){const c=s,l=u,i=b(null),m=b(""),f=b(""),S=b(!1);function w(){m.value="",f.value="",i.value?.toggle(!0)}function _(){i.value?.toggle(!1)}function v(){_(),l("back")}async function y(){if(!m.value){f.value="Please select one option";return}f.value="",S.value=!0;const T=c.options.find(k=>k.value===m.value)?.label||"";try{const k=await ie({nmi:m.value,msatUid:c.msatUid,addressline:T});_(),l("confirm",k)}finally{S.value=!1}}return a({open:w,close:_}),(T,k)=>{const x=Gt,z=De,W=Lt;return E(),oe(W,{ref_key:"msatModalRef",ref:i,"data-testid":s.dataTestid,"card-class":"max-w-[40.875rem] p-8 md:w-[30.1875rem]","overlay-clickable":!1,"enable-close-icon":!1,size:"large"},{default:I(()=>[p("button",{type:"button","data-testid":"msat-address-picker-back-btn",class:"inline-flex items-center gap-1 text-sm font-semibold text-semantic-secondary-default mb-3",onClick:v}," ← Back "),k[2]||(k[2]=p("p",{class:"font-bold text-lg max-md:text-base mb-2"},"Verify your address",-1)),p("form",{class:"flex flex-col gap-y-3",onSubmit:ve(y,["prevent"])},[k[1]||(k[1]=p("p",{class:"text-sm"}," To ensure the accuracy of your address, please select one of the following options ",-1)),p("div",as,[P(x,{modelValue:n(m),"onUpdate:modelValue":k[0]||(k[0]=h=>ft(m)?m.value=h:null),name:"msatAddresses",type:"radio",ticker:"circle",options:s.options,"error-message":n(f),"no-box":"","no-box-gap":"mx-2 my-1",theme:"tertiary"},null,8,["modelValue","options","error-message"])]),p("div",rs,[P(z,{type:"submit",size:"large",theme:"primary",full:"","data-testid":"msat-address-picker-confirm-btn",disabled:n(S)},{default:I(()=>[N(Re(n(S)?"Confirming...":"Confirm Address"),1)]),_:1},8,["disabled"])])],32)]),_:1},8,["data-testid"])}}}),ns=yt("energyQuickCompare",{state:()=>({vaultId:"",form:{},source:"dashboard"}),getters:{hasFormState(){return!gt(this.form)}},actions:{setQuickCompareForm(s,a){this.vaultId=String(s||""),this.form=a||{},this.source="dashboard"},getQuickCompareForm(s){const a=String(s||"");return!this.hasFormState||this.vaultId!==a?null:this.form},resetQuickCompareForm(){this.vaultId="",this.form={},this.source="dashboard"}}});function is(){const s=b(0),a=b(!1);async function u(i,{preferredNmi:m=""}={}){const f=++s.value;if(!i)return{status:"unresolved"};a.value=!0;try{const S=await $fetch("/api/energy/msat-address",{method:"POST",body:Ue(i)}).then(y=>y?.data),{kind:w,msatUid:_,options:v}=Ie(S);if(f!==s.value)return{status:"unresolved",stale:!0};if(w==="not-found")return{status:"not-found",address:i};if(w==="choice")return await c({address:i,options:v,msatUid:_,preferredNmi:m,token:f});if(w==="single"){const y=await ie({nmi:v[0].value,msatUid:_,addressline:v[0].label});return f!==s.value?{status:"unresolved",stale:!0}:y.msat_status?{status:"bound",address:i,...y}:{status:"unresolved",address:i}}return w==="bound"?{status:"bound",address:i,...$e(S)}:{status:"unresolved",address:i}}catch{return{status:"unresolved",address:i}}finally{f===s.value&&(a.value=!1)}}async function c({address:i,options:m,msatUid:f,preferredNmi:S,token:w}){const _=Ve(S),v=_?m.find(y=>Ve(y.value)===_):null;if(v){const y=await ie({nmi:v.value,msatUid:f,addressline:v.label});if(w!==s.value)return{status:"unresolved",stale:!0};if(y.msat_status)return{status:"bound",disambiguatedBy:"vault-nmi",address:i,...y}}return{status:"ambiguous",address:i,options:m,msatUid:f}}function l(){s.value++,a.value=!1}return{resolve:u,cancel:l,isResolving:a}}function ge(s){return!!(s&&typeof s=="object"&&(s.addressline||s.streetName))}function ls(s){return!!(s?.msat_uid&&s?.msat_status)}function Ee({hasVault:s=!1,vaultPayload:a=null,profileSource:u=null}={}){if(s&&ge(a?.address))return{source:"vault-address",address:a.address};const c=u?.energy_details?.primary_energy_address;return ge(c)?{source:"profile-energy",address:c}:ge(u?.address)?{source:"profile-root",address:u.address}:null}function us({hasVault:s=!1,vaultPayload:a=null}={}){return s?String(a?.nmi_number||"").trim():""}const be=5e3,J="__ccEnergyEnrichmentMapsReady";let X=null;function re(){return typeof window<"u"&&typeof window.google<"u"&&!!window.google?.maps?.places}function Te(s){if(re())return Promise.resolve();if(X)return X;const u=document.querySelector('script[src*="maps.googleapis.com"]')?new Promise((c,l)=>{const i=vt(()=>{re()&&(clearInterval(i),c())},100);setTimeout(()=>{clearInterval(i),re()?c():l(new Error("Google Maps loading timeout"))},be)}):new Promise((c,l)=>{if(!s){l(new Error("Google Places API key is not configured"));return}const i=setTimeout(()=>{window[J]=()=>{},l(new Error("Google Maps script load timeout"))},be);window[J]=()=>{clearTimeout(i),delete window[J],re()?c():l(new Error("Google Maps Places library failed to initialize"))};
1const m=document.createElement("script");m.setAttribute("src",`https://maps.googleapis.com/maps/api/js?key=${s}&libraries=places&loading=async&callback=${J}`),m.setAttribute("async",""),m.setAttribute("defer",""),m.onerror=()=>{clearTimeout(i),delete window[J],l(new Error("Failed to load Google Maps script"))},document.head.appendChild(m)});return X=u,u.catch(()=>{X===u&&(X=null)}),u}function cs(){return typeof crypto<"u"&&typeof crypto.randomUUID=="function"?crypto.randomUUID():`${Date.now()}-${Math.random().toString(36).slice(2)}`}function ds(){if(_t.isNativePlatform()){const a=cs();return{suggest:u=>$fetch("/api/google/places/autocomplete",{method:"POST",body:{input:u,sessionToken:a}}),details:u=>$fetch("/api/google/places/details",{query:{placeId:u,sessionToken:a}})}}const{googlePlacesApiKey:s}=Xt();return{async suggest(a){return await Te(s),window.google.maps.places.AutocompleteSuggestion.fetchAutocompleteSuggestions({input:a,includedRegionCodes:["AU"],includedPrimaryTypes:["geocode"]})},async details(a){await Te(s);const u=new window.google.maps.places.Place({id:a});return await u.fetchFields({fields:["formattedAddress","addressComponents"]}),u}}}function ps(s){const a=String(s?.addressline||"").trim(),u=a.toUpperCase(),c=[s?.state,s?.postcode].map(l=>String(l||"").trim()).filter(l=>l&&!u.includes(l.toUpperCase()));return[a,...c].filter(Boolean).join(" ")}function ms(s){const a={streetNumber:"",streetName:"",streetNameExcludedType:"",streetType:"",msatStreetNumber:"",msatStreetNumberSuffix:"",msatStreetName:"",suburb:"",state:"",postcode:"",country:"",apartment:"",houseNumber:"",unitType:"",unitNumber:"",lotNumber:"",floor:"",floorNumber:""};return(Array.isArray(s?.addressComponents)?s.addressComponents:[]).forEach(c=>{const l=Array.isArray(c?.types)?c.types:[],i=c?.longText||"",m=c?.shortText||"";if(l.includes("subpremise")){a.apartment=i,a.houseNumber=i;const f=i.split(" ").filter(Boolean),S=f[0]?.toLowerCase()??"";if(f.length>1&&S==="lot")a.lotNumber=f.slice(1).join(" ");else{const w=f.length>1?f[0]:"",_=f.length>1?f.slice(1).join(" "):i;S==="level"?(a.floor=w,a.floorNumber=_):(a.unitType=w,a.unitNumber=_)}}if(l.includes("street_number")){a.streetNumber=i;const f=i.match(/^(\d+)(?:-\d+)?\s*([A-Za-z]+)?$/);a.msatStreetNumber=f?f[1]:i,a.msatStreetNumberSuffix=f&&f[2]||""}if(l.includes("route")&&i){const[f,S]=i.split(/ (?=[^ ]+$)/);a.msatStreetName=i.split(" ").slice(0,-1).join(" "),a.streetName=f||"",a.streetNameExcludedType=f||"",a.streetType=S||""}l.includes("locality")&&(a.suburb=i),l.includes("administrative_area_level_1")&&(a.state=m),l.includes("country")&&(a.country=m),l.includes("postal_code")&&(a.postcode=i)}),a}function qe(s){return s.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Be(s,a){const u=String(a||"").trim();return u?new RegExp(`(^|[^0-9A-Z])${qe(u)}($|[^0-9A-Z])`,"i").test(String(s||"")):!1}function fs(s,a){if(!a?.streetNumber||!a?.streetName||a.country&&a.country!=="AU")return!1;const u=String(s?.state||"").trim().toUpperCase();if(u&&u!==String(a.state||"").trim().toUpperCase())return!1;const c=String(s?.postcode||"").trim();if(c&&c!==String(a.postcode||"").trim())return!1;const l=s?.addressline||"",i=c?l.replace(new RegExp(`(^|[^0-9])${qe(c)}($|[^0-9])`,"g"),"$1 $2"):l;return Be(i,a.streetNumber)&&Be(l,a.streetNameExcludedType||a.streetName)}function ys(s,a){let u;const c=new Promise(l=>{u=setTimeout(()=>l(null),a)});return Promise.race([s,c]).finally(()=>clearTimeout(u))}async function gs(s,a){const u=ps(s);if(u.length<3)return null;const l=(await a.suggest(u))?.suggestions?.[0]?.placePrediction?.placeId;if(!l)return null;const i=ms(await a.details(l));if(!fs(s,i))return null;const m={...i};return delete m.country,{...s,...m,addressline:s.addressline,state:s.state||m.state,postcode:s.postcode||m.postcode}}async function _s(s,{transport:a,timeoutMs:u=be}={}){if(!s?.addressline)return null;try{return await ys(gs(s,a||ds()),u)}catch{return null}}const vs={class:"min-h-[100dvh] bg-semantic-surface-default"},bs={key:0,class:"bg-semantic-surface-default h-full mx-auto max-w-content lg:w-9/12 xl:w-8/12 md:p-6 p-4"}
1,hs={key:1,class:"max-w-[31.25rem] mx-auto px-4 py-10 text-center text-semantic-surface-on-surface"},xs={key:2,class:"min-h-[80dvh] bg-white w-full text-semantic-primary-default flex pb-[env(safe-area-inset-bottom)]"},ws={key:3,class:"flex flex-col h-full"},ks={class:"bg-semantic-surface-default h-full"},Ss={class:"bg-semantic-surface-default h-full mx-auto max-w-content lg:w-9/12 xl:w-8/12 md:p-6 p-4"},Cs={class:"mb-6 address"},Ms={key:0},Ps={class:"text-semantic-sizing-body text-semantic-surface-on-surface"},As={class:"mb-6 fuel-type"},Ns={key:0,class:"mb-6 electricity-retailer"},Vs={key:1,class:"mb-6 gas-retailer"},Es={class:"mb-6 account-type"},Ts={class:"mb-6 sales-type"},Bs={class:"mb-6 life-support"},Ds={class:"mb-6 phone"},Rs={class:"mt-6 text-center text-[12px] leading-5 text-semantic-surface-on-surface-variant"},Us={class:"text-semantic-surface-on-surface-variant text-semantic-sizing-label"},Is={class:"text-center"},_e="step1",Da=Object.assign({name:"DashboardQuickCompareEnergyPage"},{__name:"[[uuid]]",setup(s){const a=bt(),u=ht(),c=L(()=>(u.getDashboardCards||[]).find(t=>t.category==="campaign")??null),l=()=>{const t=c.value?.disclaimer_url;t&&Ne(t,"_blank")},i=xt(),m=wt(),f=kt(),S=L(()=>{const t=c.value?.utm_term;return t?i.query.utm_term===t:!1}),w=St(),_=Kt(),v=Zt(),y=ns(),{leadParams:T}=Ct(_);Jt({title:"Energy Quick Compare - Compare Club",ogTitle:"Energy Quick Compare - Compare Club",description:"We make it quick and easy for Australians to get more value for money on their biggest household expenses.",ogDescription:"We make it quick and easy for Australians to get more value for money on their biggest household expenses.",ogUrl:"https://compareclub.com.au/dashboard/quick-compare/energy/",ogImage:"",ogType:"corporate"},Mt(i));const k=L(()=>String(i.params.uuid||"")),x=L(()=>!!k.value),z=b(!1),W=b(!1),h=b(!1),le=b(null),ee=b(null),D=b(!1),$=b(""),F=b([]),O=b(""),Q=b(!1),H=b(!1),he=b(null),G=b({msat_uid:"",selected_nmi:"",msat_status:!1,has_comparison:!1}),ze=[{label:"Electricity",value:"Electricity",image:"/icons/energy/quick-compare/electricity.svg",imageWidth:33,imageHeight:33},{label:"Gas",value:"Gas",image:"/icons/energy/quick-compare/gas.svg",imageWidth:33,imageHeight:33}],Ge=[{label:"Home",value:"Residential",image:"/icons/energy/quick-compare/home.svg",imageWidth:33,imageHeight:33},{label:"Business",value:"SME",image:"/icons/energy/quick-compare/business.svg",imageWidth:33,imageHeight:33}],Le=[{label:"Yes",value:"Move In",image:"/icons/energy/quick-compare/check-circle.svg",imageWidth:33,imageHeight:33},{label:"No",value:"Better Deal",image:"/icons/energy/quick-compare/close-circle.svg",imageWidth:33,imageHeight:33}],Fe=[{label:"Yes",value:"Yes",image:"/icons/energy/quick-compare/check-circle.svg",imageWidth:33,imageHeight:33},{label:"No",value:"No",image:"/icons/energy/quick-compare/close-circle.svg",imageWidth:33,imageHeight:33}],xe=b([]),we=b([]),A=Bt({fuel_type:"",electricity_retailer:"",gas_retailer:"",account_type:"",sales_type:"",life_support:"",phone:""}),r=b({step1:{addressDisplay:"",address:{},fuel_type:"",fuel_type_selections:[],sales_type:"",account_type:"",life_support:"",phone:""}}),Y=L(()=>f.getProduct),K=L(()=>Y.value?.payload||{}),Oe=L(()=>r.value.step1.fuel_type!=="Gas"&&r.value.step1.account_type==="Residential"),{resolve:Qe,cancel:je}=is();Pt(async()=>{u.getDashboardCards?.length||u.fetchCoreActions(),x.value?(y.vaultId&&y.vaultId!==k.value&&y.resetQuickCompareForm(),lt()):(r.value.step1.phone=String(Pe()).trim(),at(),await Ke())});async function We(){let t=r.value.step1.address;if(r.value.step1.fuel_type==="Gas"||ls(t)||H.value)return!0;if(!String(t?.streetNumber||"").trim()){const d=await _s(t);d&&(r.value.step1.address=d,t=d)}const e=await Qe(t,{preferredNmi:us({hasVault:x.value,vaultPayload:he.value||K.value})});return H.value=!0,e.status==="bound"?(ke(e),!0):e.status==="ambiguous"?He(e):!0}async function He({options:t,msatUid:e}){if(F.value=t,O.value=e,Q.value=!0,h.value=!1,await $t(),!ee.value)return h.value=!0,!0;const d=new Promise(g=>{ue=g});ee.value.open();const o=await d;return o&&(h.value=!0),o}let ue=null;function ce(t){const e=ue;ue=null,e?.(t)}function de(){G.value={msat_uid:"",selected_nmi:"",msat_status:!1,has_comparison:!1},r.value.step1.address&&(r.value.step1.address={...r.value.step1.address,msat_uid:"",msat_status:!1,selected_nmi:"",has_comparison:!1})}function ke(t){G.value={msat_uid:t.msat_uid||"",selected_nmi:t.selected_nmi||"",msat_status:!!t.msat_status,has_comparison:!!t.has_comparison},r.value.step1.address={...r.value.step1.address||{},...t.addressline?{addressline:t.addressline}:{},msat_uid:t.msat_uid||"",msat_status:!!t.msat_status,selected_nmi:t.selected_nmi||"",has_comparison:!!t.has_comparison},r.value.step1.addressDisplay=r.value.step1.address.addressline||"",F.value=[],O.value="",Q.value=!1,D.value=!1,$.value=""}function Se(){if(y.resetQuickCompareForm(),window.history.length>1){m.back();return}m.push("/dashboard/")}function Ye(){const t=r.value.step1.fuel_type_selections;t.length===2?r.value.step1.fuel_type="Electricity & Gas":t.length===1?r.value.step1.fuel_type=t[0]:r.value.step1.fuel_type="",V("fuel_type")}async function Ke(){try{_.currentRetailers&&typeof _.currentRetailers=="object"&&Object.keys(_.currentRetailers).length>0||await _.getCurrentRetailers();const e=[...Object.keys(_.currentRetailers)];e.length&&(xe.value=e,we.value=e)}catch{}}function pe(t){return t&&typeof t=="object"?{...t,addressline:t.addressline||Ze(t)}:typeof t=="string"&&t.length?{addressline:t,state:K.value.state||"",postcode:K.value.postcode||"",suburb:K.value.suburb||""}:null}function Ze(t){return[t?.unitNumber,t?.streetNumber,t?.streetName,t?.suburb,t?.state,t?.postcode].filter(
1Boolean).join(", ")}function Je(t){return t==="Electricity & Gas"||t==="Dual"?"Dual":t==="Gas"?"Gas":"Electricity"}function Ce(t){return t==="Move In"?"Move In":"Better Deal"}function Xe(t){return t==="SME"||t==="Business"?"SME":"Residential"}function te(t){const e=String(t||"").trim().toLowerCase();return e==="own"||e==="owner"||e==="owned"?"Own":e==="rent"||e==="renter"||e==="tenant"?"Rent":""}function et({vaultPayload:t,energyDetails:e}){return te(t?.property_type)||te(t?.property_ownership)||te(e?.property_type)||te(e?.property_ownership)||""}function Me(){return w.getUserProfile?.profile||w.getUserProfile||{}}function tt(){return w.getUserProfile?.email||""}function Pe(){const t=w.getUserProfile?.phone_number||"";return t.includes("*")?"":t}function st(){const t=w.getUserProfile;return t?.full_name||`${t?.given_name||""} ${t?.family_name||""}`.trim()}function me(){return Me()?.energy_details||{}}function at(){const t=me(),e=se(t.has_life_support);e&&(r.value.step1.life_support=e),t.is_business_account===!0?r.value.step1.account_type="SME":t.is_business_account===!1&&(r.value.step1.account_type="Residential"),t.comparison_intent&&(r.value.step1.sales_type=Ce(t.comparison_intent));const d=t.primary_energy_address;if(d?.addressline){const o=pe(d);r.value.step1.address=o,r.value.step1.addressDisplay=o?.addressline||d.addressline,o?.msat_uid&&o?.msat_status&&(G.value={msat_uid:o.msat_uid,selected_nmi:o.selected_nmi||"",msat_status:!0,has_comparison:o.has_comparison||!1}),D.value=!1,$.value=""}else D.value=!0}function rt(t){D.value&&(Q.value||(r.value.step1.address=t))}function fe(){r.value.step1.address&&(r.value.step1.addressDisplay=r.value.step1.address.addressline||""),r.value.step1.address?.addressline&&($.value="")}function ot(){de(),F.value=[],O.value="",Q.value=!1,H.value=!1,le.value?.resetPlaceLock(),D.value=!1,fe(),ce(!1)}function nt({options:t,msatUid:e}){t?.length&&(F.value=t,O.value=e,Q.value=!0,ee.value?.open())}function it(){je(),D.value=!0,$.value="",H.value=!1,de()}function Ae(t){if(H.value=!0,t.msat_status){ke(t),ce(!0);return}de(),t.addressline&&(r.value.step1.address={...r.value.step1.address||{},addressline:t.addressline}),F.value=[],O.value="",Q.value=!1,D.value=!1,fe(),le.value?.resetPlaceLock(),ce(!0)}async function lt(){W.value=!1;try{const t=w.profile({},!0).catch(()=>{}),e=await f.show(i.params.uuid);if(e.vertical!==At.VERTICAL_ID.ENERGY){m.replace("/dashboard/");return}he.value=e.payload||{};let d=Ee({hasVault:!0,vaultPayload:e.payload});d||(await t,d=Ee({hasVault:!0,vaultPayload:e.payload,profileSource:Me()})),r.value.step1.address=pe(d?.address||e.payload?.address),r.value.step1.addressDisplay=r.value.step1.address?.addressline||"";const o=r.value.step1.address,g=o&&!!o.msat_uid&&!!o.msat_status;g?(r.value.step1.addressDisplay=o.addressline||"",D.value=!o.addressline):o?.addressline||(r.value.step1.address={},r.value.step1.addressDisplay="",D.value=!0),r.value.step1.fuel_type=Je(e.payload?.product_type),r.value.step1.sales_type=Ce(e.payload?.sales_type),r.value.step1.account_type=Xe(e.payload?.account_type),await t,r.value.step1.life_support=e.payload?.life_support==="Yes"||e.payload?.life_support==="No"?e.payload.life_support:se(me().has_life_support)||"";const C=e.payload?.phone||"",R=Pe();r.value.step1.phone=String(C||R).trim(),!g&&o?.addressline&&(r.value.step1.address=o,r.value.step1.addressDisplay=o.addressline,D.value=!1,$.value="")}catch{W.value=!0}}function V(t){const e=r.value[_e],d=e?.[t];if(t==="phone"){const g=ye(String(d||""));A.phone=g?"":"Please enter a valid phone number";return}if(t==="address"||t==="addressDisplay"){$.value=e?.address?.addressline?"":"Please enter an address";return}if(t==="electricity_retailer"||t==="gas_retailer"){const g=!!d;A[t]=g?"":`Please select a ${t==="electricity_retailer"?"electricity":"gas"} retailer.`;return}const o=!!d;A[t]=o?"":"Please select one option"}function ut(){const t=r.value[_e];if(V("address"),V("sales_type"),V("account_type"),V("life_support"),V("phone"),x.value)return!!t.address?.addressline&&!!t.sales_type&&!!t.account_type&&!!t.life_support&&ye(String(t.phone||""));V("fuel_type");const e=t.fuel_type,d=e==="Electricity"||e==="Dual"||e==="Electricity & Gas",o=e==="Gas"||e==="Dual"||e==="Electricity & Gas";return d&&V("electricity_retailer"),o&&V("gas_retailer"),!!t.address?.addressline&&!!e&&(!d||!!t.electricity_retailer)&&(!o||!!t.gas_retailer)&&!!t.sales_type&&!!t.account_type&&!!t.life_support&&ye(String(t.phone||""))}function ct(){const t=st(),e=tt(),d=me(),o=x.value?K.value:{},g=r.value[_e],C=pe(g.address),R=g.fuel_type,q=g.electricity_retailer||"",Z=g.gas_retailer||"",B=R==="Electricity & Gas"?"Dual":R,ae=et({vaultPayload:o,energyDetails:d});
1return{full_name:t,email:e,phone:String(g.phone||"").trim(),fuel_type:B,electricity_retailer:B==="Electricity"||B==="Dual"?q:"",gas_retailer:B==="Gas"||B==="Dual"?Z:"",sales_type:g.sales_type,account_type:g.account_type,life_support:g.life_support,address:C,postcode:{suburb:C?.suburb||"",state:C?.state||"",postcode:C?.postcode||""},property_type:ae,business_name:o.business_name||"",msat_uid:G.value.msat_uid||C?.msat_uid||"",selected_nmi:G.value.selected_nmi||C?.selected_nmi||"",msat_status:B==="Gas"?!0:!!(G.value.msat_status||C?.msat_status),has_comparison:G.value.has_comparison||C?.has_comparison||!1,source_payload:{electricity_retailer:q||o.electricity_retailer||(typeof o.retailer=="string"?o.retailer:o.retailer?.electricity_retailer||o.retailer?.name||null),gas_retailer:Z||o.gas_retailer||(typeof o.retailer=="string"?o.retailer:o.retailer?.gas_retailer||o.retailer?.name||null),monthly_bill:o.monthly_bill||"",payment_frequency:o.payment_frequency||"",energy_usage:o.energy_usage||"",solar:o.solar||"",property_type:ae},profile_meta:{has_life_support:x.value&&o.life_support!==void 0?o.life_support==="Yes":d.has_life_support,is_business_account:x.value&&o.account_type?o.account_type==="SME"||o.account_type==="Business":d.is_business_account,has_solar:x.value&&o.solar!==void 0?o.solar==="true"||o.solar===!0:d.has_solar,comparison_intent:x.value&&o.sales_type||d.comparison_intent,primary_energy_address:x.value?o.address||d.primary_energy_address||null:d.primary_energy_address||null},source_vault:{id:Y.value?.id||null,vertical:Y.value?.vertical||4,payload:Y.value?.payload||{}},clubplus_enquiry:!0,clubplus_enquiry_origin:"comparemypolicy_online",lead_source:"comparemypolicy_online",utm_term:i.query.utm_term||""}}function se(t){return t===!0?"Yes":t===!1?"No":""}function dt(t){const e=t?.address||t?.profile_meta?.primary_energy_address||{},d=t?.source_payload||{},o={vertical:4,product_type:t.fuel_type,monthly_bill:d.monthly_bill||void 0,payment_frequency:d.payment_frequency||void 0,energy_usage:d.energy_usage||void 0,account_type:t.account_type||void 0,sales_type:t.sales_type||t.profile_meta?.comparison_intent||void 0,property_type:t.property_type||d.property_type||void 0,life_support:t.life_support||se(t.profile_meta?.has_life_support)||void 0,solar:d.solar||se(t.profile_meta?.has_solar)||void 0,phone:String(t.phone||"").trim()||void 0,completion_source:"manual",address:{streetNumber:e.streetNumber||"",streetName:e.streetName||"",streetType:e.streetType||"",suburb:e.suburb||"",state:e.state||"",postcode:e.postcode||"",country:e.country||"AU",addressline:e.addressline||"",msat_uid:e.msat_uid||t.msat_uid||"",selected_nmi:e.selected_nmi||t.selected_nmi||"",msat_status:e.msat_status??t.msat_status??!1,has_comparison:e.has_comparison||t.has_comparison||!1}};return Object.fromEntries(Object.entries(o).filter(([,g])=>g==null||g===""?!1:typeof g=="object"&&!Array.isArray(g)?Object.values(g).some(C=>C!=null&&C!==""):!0))}async function pt(){if(!ut()){Ht({address:{errorMessage:$.value},fuel_type:{errorMessage:A.fuel_type},electricity_retailer:{errorMessage:A.electricity_retailer},gas_retailer:{errorMessage:A.gas_retailer},account_type:{errorMessage:A.account_type},sales_type:{errorMessage:A.sales_type},life_support:{errorMessage:A.life_support},phone:{errorMessage:A.phone}},300,["errorMessage"]);return}if(h.value=!0,!await We()){h.value=!1;return}const t=ct();if(!t){h.value=!1;return}x.value?(y.setQuickCompareForm(k.value,t),_.form=t):_.form={step1:t},mt(t)}async function mt(t){try{let e;const d=await Dt(Yt.energyComparison),o=d?"/dashboard/quick-compare/energy/thank-you":"/dashboard/quick-compare/energy/no-results";if(x.value){const g=await v.saveQuickCompareProfile(k.value,dt(t)),C=Y.value?.id;if(e=(await f.createLeadFromVault({vaultId:C,params:{clubplus_enquiry:!0,clubplus_enquiry_origin:"comparemypolicy_online",lead_source:"comparemypolicy_online"}}))?.comparison_lead_uuid,!e)throw new Error("Missing comparison lead uuid from response");if(y.resetQuickCompareForm(),t.fuel_type!=="Gas"){const q=g?.payload?.address||{};if(!!!q.msat_uid||Number(q.msat_status)!==1){h.value=!1,m.replace(o);return}}}else{if(t.fuel_type!=="Gas"&&(!!!t.msat_uid||!t.msat_status)){h.value=!1,m.replace(o);return}if(e=(await _.createLead({...T.value,vertical:"Energy"},!0))?.lead_uuid,!e)throw new Error("Missing lead uuid from response");if(t.account_type==="SME"||t.account_type==="Business"){h.value=!1,m.replace(o);return}}if(Rt("quickQuoteData",JSON.stringify(T.value)),d){h.value=!1,m.replace("/dashboard/quick-compare/energy/thank-you");return}if(Ut()){await Ne(It(`/energy/quotes-results/?uuid=${e}&source=clubplus-dashboard`),"_blank"),h.value=!1,m.replace("/dashboard/");return}m.replace({path:"/energy/quotes-results/",query:{uuid:e,source:"clubplus-dashboard"}})}catch{h.value=!1,m.replace(noResultPath)}}return(t,e)=>{const d=De,o=qt,g=ss,C=os,R=Ft,q=Ot,Z=Qt,B=Tt,ae=jt;return E(),U("div",vs,[n(z)?(E(),U("div",bs,[...e[13]||(e[13]=[Nt('<div class="h-5 w-16 bg-semantic-surface-container rounded mb-6 animate-pulse"></div><div class="w-full max-w-[32rem] mx-auto px-4 py-6 lg:p-8 rounded-2xl border border-semantic-surface-container bg-semantic-surface-container-lowest animate-pulse"><div class="h-4 w-3/4 mx-auto bg-semantic-surface-container rounded mb-2"></div><div class="h-4 w-1/2 mx-auto bg-semantic-surface-container rounded mb-6"></div><div class="h-4 w-28 bg-semantic-surface-container rounded mb-2"></div><div class="h-12 bg-semantic-surface-container rounded-lg mb-6"></div><div class="h-4 w-48 bg-semantic-surface-container rounded mb-2"></div><div class="flex gap-3 mb-6"><div class="h-20 flex-1 bg-semantic-surface-container rounded-lg"></div><div class="h-20 flex-1 bg-semantic-surface-container rounded-lg"></div></div><div class="h-4 w-44 bg-semantic-surface-container rounded mb-2"></div><div class="flex gap-3 mb-6"><div class="h-20 flex-1 bg-semantic-surface-container rounded-lg"></div><div class="h-20 flex-1 bg-semantic-surface-container rounded-lg"></div></div><div class="h-4 w-52 bg-semantic-surface-container rounded mb-2"></div><div class="flex gap-3 mb-6"><div class="h-20 flex-1 bg-semantic-surface-container rounded-lg"></div><div class="h-20 flex-1 bg-semantic-surface-container rounded-lg"></div></div><div class="h-4 w-64 bg-semantic-surface-container rounded mb-2"></div><div class="flex gap-3 mb-6"><div class="h-20 flex-1 bg-semantic-surface-container rounded-lg"></div><div class="h-20 flex-1 bg-semantic-surface-container rounded-lg"></div></div><div class="h-4 w-28 bg-semantic-surface-container rounded mb-2"></div><div class="h-12 bg-semantic-surface-container rounded-lg mb-6"></div><div class="h-12 bg-semantic-surface-container rounded-full"></div></div>',2)])])):n(W)?(E(),U("div",hs,[e[15]||(e[15]=p("p",{class:"text-semantic-sizing-headline-sm font-semibold mb-2"},"Unable to load this product",-1)),e[16]||(e[16]=p("p",{class:"text-semantic-sizing-body mb-6"},"Please head back to your dashboard and try again.",-1)),P(d,{full:"",size:"small",theme:"primary",onClick:Se},{default:I(()=>[...e[14]||(e[14]=[N(" Back ",-1)])]),_:1})])):n(h)?(E(),U("div",xs,[...e[17]||(e[17]=[p("div",{class:"text-center m-auto px-4"},[p("img",{src:Wt,alt:"Preparing your energy comparison",class:"m-auto max-h-[20rem] mb-10"}),p("p",{class:"text-semantic-sizing-headline-sm font-semibold mb-2"}," Finding the best energy plans for you "),p("p",{class:"text-semantic-sizing-body-sm"}," Comparing prices from a range of energy providers ")],-1)])])):(E(),U("div",ws,[p("div",ks,[p("div",Ss,[P(d,{
1class:Vt([{hidden:n(a)},"mb-10"]),"has-icon-left":"","icon-direction":"left",size:"small",theme:"tertiary",onClick:Se},{default:I(()=>[...e[18]||(e[18]=[p("span",{class:"block"},"Back",-1)])]),_:1},8,["class"]),n(S)?(E(),oe(o,{key:0,variant:"energy",card:n(c),"show-cta":!1,class:"mb-6 w-full max-w-[32rem] mx-auto"},null,8,["card"])):j("",!0),p("form",{class:"w-full max-w-[32rem] mx-auto px-4 py-6 lg:p-8 rounded-2xl border border-semantic-surface-container bg-semantic-surface-container-lowest",onSubmit:ve(pt,["prevent"])},[e[30]||(e[30]=p("p",{class:"text-center text-semantic-sizing-body text-semantic-surface-on-surface mb-6"}," Please answer a few final questions so we can provide you with more accurate results. ",-1)),p("div",Cs,[e[19]||(e[19]=p("p",{class:"font-bold text-semantic-sizing-body-sm text-semantic-surface-on-surface mb-2"},"Service Address",-1)),!n(D)&&n(r).step1.address?.addressline?(E(),U("div",Ms,[p("p",Ps,[N(Re(n(r).step1.addressDisplay)+" ",1),p("button",{type:"button",class:"text-semantic-secondary-default font-semibold text-sm underline ml-2 inline","data-testid":"energy-quick-compare-change-address-btn",onClick:it}," Change ")])])):(E(),oe(g,{key:1,ref_key:"msatLookupRef",ref:le,"model-value":n(r).step1.address,"data-testid":"energy-quick-compare-address-lookup","enable-msat":n(Oe),"error-message":n($),"onUpdate:modelValue":rt,onUpdate:fe,onMsatResolved:Ae,onMsatChoiceRequired:nt},null,8,["model-value","enable-msat","error-message"])),P(C,{ref_key:"msatPickerRef",ref:ee,"data-testid":"energy-quick-compare-address-picker",options:n(F),"msat-uid":n(O),onConfirm:Ae,onBack:ot},null,8,["options","msat-uid"])]),n(x)?j("",!0):(E(),U(Et,{key:0},[p("div",As,[e[20]||(e[20]=p("p",{class:"font-bold text-semantic-sizing-body-sm text-semantic-surface-on-surface mb-2"},"What are you looking to compare?",-1)),P(R,{modelValue:n(r).step1.fuel_type_selections,"onUpdate:modelValue":e[0]||(e[0]=M=>n(r).step1.fuel_type_selections=M),name:"fuel_type",type:"checkbox",ticker:"square",cols:2,"mobile-cols":2,direction:"row","image-position":"top",size:"extraSmall","list-wrapper-class":"[&_li>input]:!absolute [&_li>input]:!w-0 [&_li>input]:!h-0 [&>li]:!py-4 [&>li]:!px-5",options:ze,"error-message":n(A).fuel_type,"error-tooltip":"","check-value-error":"",disabled:n(h),onUpdate:Ye},null,8,["modelValue","error-message","disabled"])]),n(r).step1.fuel_type==="Electricity"||n(r).step1.fuel_type==="Electricity & Gas"||n(r).step1.fuel_type==="Dual"?(E(),U("div",Ns,[e[21]||(e[21]=p("p",{class:"font-bold text-semantic-sizing-body-sm text-semantic-surface-on-surface mb-1"},"Electricity retailer",-1)),e[22]||(e[22]=p("p",{class:"text-sm text-semantic-surface-on-surface mb-2"},"Begin typing your provider name and select the appropriate option from the dropdown list.",-1)),P(q,{modelValue:n(r).step1.electricity_retailer,"onUpdate:modelValue":e[1]||(e[1]=M=>n(r).step1.electricity_retailer=M),name:"electricity_retailer",autocomplete:"off",searchable:"",label:"Select Electricity Retailer","data-arr":n(xe),"error-message":n(A).electricity_retailer,disabled:n(h),onInput:e[2]||(e[2]=M=>V("electricity_retailer"))},null,8,["modelValue","data-arr","error-message","disabled"])])):j("",!0),n(r).step1.fuel_type==="Gas"||n(r).step1.fuel_type==="Electricity & Gas"||n(r).step1.fuel_type==="Dual"?(E(),U("div",Vs,[e[23]||(e[23]=p("p",{class:"font-bold text-semantic-sizing-body-sm text-semantic-surface-on-surface mb-1"},"Gas retailer",-1)),e[24]||(e[24]=p("p",{class:"text-sm text-semantic-surface-on-surface mb-2"},"Begin typing your provider name and select the appropriate option from the dropdown list.",-1)),P(q,{modelValue:n(r).step1.gas_retailer,"onUpdate:modelValue":e[3]||(e[3]=M=>n(r).step1.gas_retailer=M),name:"gas_retailer",autocomplete:"off",searchable:"",label:"Select Gas Retailer","data-arr":n(we),"error-message":n(A).gas_retailer,disabled:n(h),onInput:e[4]||(e[4]=M=>V("gas_retailer"))},null,8,["modelValue","data-arr","error-message","disabled"])])):j("",!0)],64)),p("div",Es,[e[25]||(e[25]=p("p",{class:"font-bold text-semantic-sizing-body-sm text-semantic-surface-on-surface mb-2"},"What type of property do you have?",-1)),P(R,{modelValue:n(r).step1.account_type,"onUpdate:modelValue":e[5]||(e[5]=M=>n(r).step1.account_type=M),name:"account_type",type:"radio",ticker:"none",cols:2,"mobile-cols":2,direction:"row","image-position":"top",size:"extraSmall","list-wrapper-class":"[&>li]:!py-4 [&>li]:!px-5",options:Ge,"error-message":n(A).account_type,"error-tooltip":"","check-value-error":"",disabled:n(h),onUpdate:e[6]||(e[6]=M=>V("account_type"))},null,8,["modelValue","error-message","disabled"])]),p("div",Ts,[e[26]||(e[26]=p("p",{class:"font-bold text-semantic-sizing-body-sm text-semantic-surface-on-surface mb-2"},"Are you moving into this property?",-1)),P(R,{modelValue:n(r).step1.sales_type,"onUpdate:modelValue":e[7]||
1(e[7]=M=>n(r).step1.sales_type=M),name:"sales_type",type:"radio",ticker:"none",cols:2,"mobile-cols":2,direction:"row","image-position":"top",size:"extraSmall","list-wrapper-class":"[&>li]:!py-4 [&>li]:!px-5",options:Le,"error-message":n(A).sales_type,"error-tooltip":"","check-value-error":"",disabled:n(h),onUpdate:e[8]||(e[8]=M=>V("sales_type"))},null,8,["modelValue","error-message","disabled"])]),p("div",Bs,[e[27]||(e[27]=p("p",{class:"font-bold text-semantic-sizing-body-sm text-semantic-surface-on-surface mb-2"},"Do you have any kind of medical equipment at your property for life support?",-1)),P(R,{modelValue:n(r).step1.life_support,"onUpdate:modelValue":e[9]||(e[9]=M=>n(r).step1.life_support=M),name:"life_support",type:"radio",ticker:"none",cols:2,"mobile-cols":2,direction:"row","image-position":"top",size:"extraSmall","list-wrapper-class":"[&>li]:!py-4 [&>li]:!px-5",options:Fe,"error-message":n(A).life_support,"error-tooltip":"","check-value-error":"",disabled:n(h),onUpdate:e[10]||(e[10]=M=>V("life_support"))},null,8,["modelValue","error-message","disabled"])]),p("div",Ds,[e[28]||(e[28]=p("p",{class:"font-bold text-semantic-sizing-body-sm text-semantic-surface-on-surface mb-2"},"Phone Number",-1)),P(Z,{modelValue:n(r).step1.phone,"onUpdate:modelValue":e[11]||(e[11]=M=>n(r).step1.phone=M),name:"phone",type:"text","model-type":"number",placeholder:"Phone number",maxlength:10,"error-message":n(A).phone,disabled:n(h),onUpdate:e[12]||(e[12]=M=>V("phone"))},null,8,["modelValue","error-message","disabled"])]),P(d,{id:"dashboard-quick-compare-energy-submit",type:"submit",size:"large",theme:"primary",full:"",disabled:n(h)},{default:I(()=>[...e[29]||(e[29]=[N(" Quick Compare ",-1)])]),_:1},8,["disabled"])],32),p("p",Rs,[e[36]||(e[36]=N(" By clicking 'Quick Compare', I acknowledge that I have read and agree to the ",-1)),P(B,{to:"/terms-of-use/",target:"_blank",class:"underline font-[700]"},{default:I(()=>[...e[31]||(e[31]=[N("Terms of Use",-1)])]),_:1}),e[37]||(e[37]=N(", the ",-1)),P(B,{to:"/privacy-policy/",target:"_blank",class:"underline font-[700]"},{default:I(()=>[...e[32]||(e[32]=[N("Privacy Policy",-1)])]),_:1}),e[38]||(e[38]=N(" and the ",-1)),P(B,{to:"/collection-notice/",target:"_blank",class:"underline font-[700]"},{default:I(()=>[...e[33]||(e[33]=[N("Collection Notice",-1)])]),_:1}),e[39]||(e[39]=N(". I confirm that Compare Club or your commercial partner Zembl may contact me about the services I have requested. ",-1)),P(B,{to:"/",target:"_blank",class:"underline font-[700]"},{default:I(()=>[...e[34]||(e[34]=[N("Compareclub.com.au",-1)])]),_:1}),e[40]||(e[40]=N(" is an online energy comparison service and is owned and operated by Compare Club Australia Pty Ltd (ACN: 634 600 007). Compare Club doesn't compare all products from all retailers and not all products are available to all customers. Please consider the individual product terms and conditions carefully to ensure the product is right for you. Compare Club's comparison service is completely free for our customers. We are paid a one-off fee from our ",-1)),P(B,{to:"/energy/companies/?lid=",target:"_blank",class:"underline font-[700]"},{default:I(()=>[...e[35]||(e[35]=[N("panel of providers",-1)])]),_:1}),e[41]||(e[41]=N(" if you switch providers or plans with us. ",-1))]),n(S)?(E(),oe(ae,{key:1,class:"!bg-semantic-util-transparent !p-0","content-class":"max-w-wrapper-xl","is-card":!1},{description:I(()=>[p("div",Us,[p("p",Is,[e[42]||(e[42]=N(" *Terms and conditions apply. Please see ",-1)),p("a",{href:"#",class:"underline font-bold",onClick:ve(l,["prevent"])},"terms and conditions page "),e[43]||(e[43]=N("for more information. ",-1))])])]),_:1})):j("",!0)])])]))])}}});export{Da as default};
2//# sourceMappingURL=t0oD0ega.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.