{"version":3,"sources":["webpack:///./src/components/Calculators/HomeLoanCalculator.vue?c880","webpack:///./src/views/ListingDetails.vue?445e","webpack:///./src/components/InspectionCard.vue?d467","webpack:///./src/components/InspectionCard.vue","webpack:///./src/components/InspectionCard.vue?09f0","webpack:///./src/components/InspectionCard.vue?0654","webpack:///./src/components/ListingAgentProfile.vue?f441","webpack:///./src/components/ListingAgentProfile.vue","webpack:///./src/components/ListingAgentProfile.vue?0c7a","webpack:///./src/components/ListingAgentProfile.vue?5960","webpack:///./src/views/ListingDetails.vue","webpack:///./src/views/ListingDetails.vue?fcc8","webpack:///./src/views/ListingDetails.vue?04f9","webpack:///./src/components/InspectionCard.vue?20fd","webpack:///./src/components/Calculators/HomeLoanCalculator.vue?570b","webpack:///./src/components/Calculators/HomeLoanCalculator.vue","webpack:///./src/components/Calculators/HomeLoanCalculator.vue?9c60","webpack:///./src/components/Calculators/HomeLoanCalculator.vue?a795","webpack:///./src/views/ListingDetails.vue?fba2","webpack:///./src/components/ListingAgentProfile.vue?1c75","webpack:///./src/views/ListingDetails.vue?f87f"],"names":["render","_vm","this","_h","$createElement","_c","_self","cyclerItems","staticClass","attrs","isMobile","cyclerBreakpoints","on","handleVideoViewed","_e","_v","_s","listing","Address","FullAddress","MethodOfSale","Auction","Date","DayName","ShortName","dayOfMonthSuffix","MonthName","Time","LongName","Price","Features","pluralise","Bedrooms","Bathrooms","Parking","Total","Area","Land","Header","domProps","HtmlWebDescription","FeatureList","_l","feature","key","InspectionTimes","inspection","StartDate","Files","length","ExternalLinks","file","Url","Type","Label","link","Domain","isCurrent","isSale","formData","handleContactFormSubmitted","virtualTour","$event","virtualTourShown","Id","Status","PropertyType","formattedDateAvailable","BondPrice","NumericPrice","mapSettings","EmbedId","staticRenderFns","handleClicked","inspectionTime","StartDateInfo","DayOfMonth","EndDateInfo","Listings","GetOpenHomeICS","EndDate","then","ics","fileParts","VCalContent","blob","Blob","type","url","URL","createObjectURL","a","document","createElement","style","display","body","appendChild","href","download","MicroAddress","click","setTimeout","window","revokeObjectURL","remove","component","agent","Photo","FullName","Position","MobilePhone","handlePhoneClicked","FirstName","profile","tmp","innerHTML","AboutAgent","text","innerText","substring","analyticsService","Get","Analytics","evt","CallAgentClicked","FromProfile","Realtime","Record","Map","breakpoint","settings","slidesToShow","listingId","Promise","resolve","reject","Context","Listing","Images","map","img","ItemCycler","EmbeddedContent","forEach","item","Youtube","Vimeo","splice","DisplayAddress","Markers","Coordinate","Coordinates","Title","$emit","catch","Log","Error","dayOfMoth","guidTest","idParam","$route","params","id","test","loadListing","split","Slugs","Resolve","resolvedSlug","Slug","$router","replace","push","parts","UnitNumber","StreetNumber","join","Suburb","State","PostCode","DateAvailable","now","dateAvailable","getDate","getMonth","getFullYear","toString","substr","tour","find","content","VirtualTour","Agents","agents","last","pop","number","singular","plural","title","description","Introduction","image","Preview","undefined","FromListing","triggerCustomAnalyticsEvent","ListingVideoViewed","ContactFormSubmit","GetInspectRealEstateData","ireData","open","alert","path","query","components","InspectionCard","ListingAgentProfile","Form","HomeLoanCalculator","loading","staticStyle","hideAmount","directives","name","rawName","value","expression","target","composing","principal","calculate","depositAmount","_m","loanTerm","interestRate","result","amount","needsLMI","Calculators","GetHomeLoanConfig","config","InterestRate","rate","repayments","monthly","Math","max","ceil","toLocaleString","default","Loader"],"mappings":"kHAAA,W,2CCAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,OAAO,CAAEJ,EAAW,QAAE,CAAEA,EAAIM,YAAkB,OAAEF,EAAG,MAAM,CAACG,YAAY,gCAAgC,CAACH,EAAG,aAAa,CAACG,YAAY,0BAA0BC,MAAM,CAAC,OAAQ,EAAK,QAAUR,EAAIM,YAAY,MAAQ,IAAK,MAAQN,EAAIS,SAAW,EAAI,IAAI,MAAQ,OAAO,QAAUT,EAAIS,SAAS,MAAO,EAAK,WAAaT,EAAIU,kBAAkB,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Y,EAAKO,OAEjB,EAAAL,cAA8B,GAAd,EAAKK,OAErB,EAAAH,SAAW,GAEX,EAAAC,aAAe,EAEf,EAAAf,SAAU,EAEV,EAAAgB,OAAS,GAET,EAAAE,UAAW,EAnBrB,gDAqBE,WAAO,WACL,OAAIC,YAAYC,oBAAoBhK,MAAK,SAACiK,GACxC,EAAKN,aAAeM,EAAOC,aAE3B,EAAKtB,SAAU,EAEf,EAAKW,iBA3BX,uBA+BE,WACE,IAAMY,EAAQlP,KAAK0O,aAAe,GAAM,IAClCS,EAA6B,GAAhBnP,KAAKyO,SAElBJ,EAAYrO,KAAKqO,UAAYrO,KAAKuO,cAExCvO,KAAK6O,SAAW7O,KAAKuO,cAAgBvO,KAAKqO,UAAY,GAEtD,IAAMe,EAAUC,KAAKC,IAAI,EAAGjB,IAAc,SAAC,EAAIa,EAASC,GAAa,IAAMD,EAAO,SAAC,EAAIA,EAASC,MAEhGnP,KAAK2O,OAAL,WAAkBU,KAAKE,KAAKH,GAASI,sBAzCzC,GAAgD,QAE9C,GADC,kB,iCAID,GADC,eAAK,CAAEC,QAAS,O,6BAJE,EAAkB,GALtC,eAAU,CACTnC,WAAY,CACVoC,SAAA,SAGiB,WCxD0Y,I,wBCQ3ZlJ,EAAY,eACd,EACA1G,EACAwE,GACA,EACA,KACA,WACA,MAIa,OAAAkC,E,6CCnBf,W,oCCAA,W,gFCAA,W","file":"js/chunk-e82efe28.9553b104.js","sourcesContent":["export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HomeLoanCalculator.vue?vue&type=style&index=0&id=11dd9252&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Page',[(_vm.listing)?[(_vm.cyclerItems.length)?_c('div',{staticClass:\"listing__image-carousel-wrap\"},[_c('ItemCycler',{staticClass:\"listing__image-carousel\",attrs:{\"inset\":true,\"objects\":_vm.cyclerItems,\"speed\":1000,\"items\":_vm.isMobile ? 1 : 1.5,\"touch\":\"true\",\"center\":!_vm.isMobile,\"loop\":true,\"responsive\":_vm.cyclerBreakpoints,\"force-height\":true},on:{\"viewVideo\":_vm.handleVideoViewed}})],1):_vm._e(),_c('div',{staticClass:\"listing-info-bar\"},[_c('ContentContainer',{staticClass:\"listing-info-bar__row\"},[_c('div',{staticClass:\"listing-info-bar__items\"},[_c('div',{staticClass:\"listing-info-bar__item\"},[_c('div',{staticClass:\"listing-main-info\"},[_c('div',{staticClass:\"listing-main-info__item\"},[_c('Heading',{staticClass:\"listing-info-bar__address\",attrs:{\"level\":\"h2\"}},[_vm._v(_vm._s(_vm.listing.Address.FullAddress))]),(_vm.listing.MethodOfSale === 'Auction')?_c('Heading',{staticClass:\"listing-info-bar__price\",attrs:{\"level\":\"h5\"}},[_vm._v(\" \"+_vm._s((\"\" + ('Auction ' + _vm.listing.Auction.Date.DayName.ShortName + ' ' + this.dayOfMonthSuffix + ' of ' + _vm.listing.Auction.Date.MonthName.ShortName + ' at ' + _vm.listing.Auction.Date.Time.LongName)))+\" \")]):(_vm.listing.Price.DisplayPrice)?_c('Heading',{staticClass:\"listing-info-bar__price\",attrs:{\"level\":\"h5\"}},[_vm._v(\" \"+_vm._s(_vm.listing.Price.Price)+\" \")]):_vm._e()],1)])]),_c('div',{staticClass:\"listing-info-bar__item\"},[_c('ul',{staticClass:\"listing-meta\"},[(_vm.listing.Features.Bedrooms)?_c('li',[_c('Icon',{attrs:{\"icon\":\"bed\",\"colour\":\"white\"}}),_vm._v(\" \"+_vm._s(_vm.pluralise(_vm.listing.Features.Bedrooms, 'Bed'))+\" \")],1):_vm._e(),(_vm.listing.Features.Bathrooms)?_c('li',[_c('Icon',{attrs:{\"icon\":\"bath\",\"colour\":\"white\"}}),_vm._v(\" \"+_vm._s(_vm.pluralise(_vm.listing.Features.Bathrooms, 'Bath'))+\" \")],1):_vm._e(),(_vm.listing.Features.Parking.Total)?_c('li',[_c('Icon',{attrs:{\"icon\":\"car\",\"colour\":\"white\"}}),_vm._v(\" \"+_vm._s(_vm.pluralise(_vm.listing.Features.Parking.Total, 'Car'))+\" \")],1):_vm._e(),(_vm.listing.Features.Area.Land)?_c('li',[_c('Icon',{attrs:{\"icon\":\"crop-button\",\"colour\":\"white\"}}),_vm._v(\" \"+_vm._s(_vm.listing.Features.Area.Land)+\" Sq. M \")],1):_vm._e()])])])])],1),_c('div',{staticClass:\"listing__wrap\"},[_c('ContentContainer',[_c('Row',{attrs:{\"vertical-align\":\"flex-start\",\"horizontal-align\":\"center\"}},[_c('Column',{attrs:{\"width\":\"9\"}},[_c('div',{staticClass:\"listing__body__section\"},[_c('h1',{staticClass:\"listing__heading\"},[_vm._v(_vm._s(_vm.listing.Header))]),_c('div',{staticClass:\"listing__description\",domProps:{\"innerHTML\":_vm._s(_vm.listing.HtmlWebDescription)}})]),(_vm.listing.Features.FeatureList.length)?_c('div',{staticClass:\"listing__body__section\"},[_c('h4',{staticClass:\"listing__body__section__title\"},[_vm._v(\"Features\")]),_c('ul',{staticClass:\"listing__features\"},_vm._l((_vm.listing.Features.FeatureList),function(feature){return _c('li',{key:feature},[_vm._v(_vm._s(feature))])}),0)]):_vm._e(),(_vm.listing.InspectionTimes.length)?_c('div',{staticClass:\"listing__body__section\"},[_c('h4',{staticClass:\"listing__body__section__title\"},[_vm._v(\"Inspections\")]),_c('Cards',{attrs:{\"h-align\":\"flex-start\"}},_vm._l((_vm.listing.InspectionTimes),function(inspection){return _c('InspectionCard',{key:inspection.StartDate,attrs:{\"pectionCard\":\"\",\"listing\":_vm.listing,\"inspection-time\":inspection}})}),1)],1):_vm._e(),(_vm.listing.Files.length || _vm.listing.ExternalLinks.length)?_c('div',{staticClass:\"listing__body__section\"},[_c('h4',{staticClass:\"listing__body__section__title\"},[_vm._v(\"Attachments\")]),_c('ul',{staticClass:\"listing__attachments\"},[_vm._l((_vm.listing.Files),function(file){return _c('li',{key:file.Url},[_c('a',{staticClass:\"attachment__item\",attrs:{\"href\":file.Url,\"target\":\"_blank\"}},[_c('Icon',{staticClass:\"attachment__icon\",attrs:{\"icon\":file.Type === 2 ? 'floorplan' : 'attachment-clip'}}),_c('span',{staticClass:\"attachment__label\"},[_vm._v(\" \"+_vm._s(file.Label)+\" \")])],1)])}),_vm._l((_vm.listing.ExternalLinks),function(link){return _c('li',{key:link.Url},[_c('a',{staticClass:\"attachment__item\",attrs:{\"href\":link.Url,\"target\":\"_blank\"}},[_c('Icon',{staticClass:\"attachment__icon\",attrs:{\"icon\":\"link-button\"}}),_c('span',{staticClass:\"attachment__label\"},[_vm._v(\" \"+_vm._s(link.Domain)+\" \")])],1)])})],2)]):_vm._e(),(_vm.isCurrent || _vm.isSale)?_c('div',{staticClass:\"listing__body__section\"},[_c('h4',{staticClass:\"listing__body__section__title\"},[_vm._v(\"Get in Touch\")]),_c('Deferrable',[(_vm.formData)?_c('Form',{attrs:{\"type\":\"Listing.BasicListingContactForm\",\"context\":_vm.formData},on:{\"submitted\":_vm.handleContactFormSubmitted}}):_vm._e()],1)],1):_vm._e()]),_c('Column',{attrs:{\"width\":\"3\",\"md-width\":\"12\"}},[(_vm.virtualTour || (_vm.isCurrent && (_vm.isSale || _vm.listing.MethodOfSale === 'Lease')))?_c('div',{staticClass:\"listing__body__section\"},[(_vm.virtualTour)?_c('Button',{staticClass:\"listing-extra-btn\",attrs:{\"block\":\"true\",\"icon\":\"360-degree\"},on:{\"click\":function($event){_vm.virtualTourShown = true}}},[_vm._v(\" Virtual Tour \")]):_vm._e(),(_vm.isCurrent && _vm.isSale)?_c('LinkButton',{staticClass:\"listing-extra-btn\",attrs:{\"block\":\"true\",\"href\":'/listings/' + _vm.listing.Id + '/make-an-offer'}},[_vm._v(\" Make an Offer \")]):_vm._e()],1):_vm._e(),(_vm.listing.MethodOfSale === 'Lease' && _vm.listing.Status === 'Current')?_c('div',{staticClass:\"listing__body__section\"},[_c('h4',{staticClass:\"listing__body__section__title\"},[_vm._v(\"Details\")]),_c('ul',{staticClass:\"listing__meta\"},[_c('li',{staticClass:\"listing__meta__item\"},[_c('span',{staticClass:\"listing__meta__item__key\"},[_vm._v(\"Property Type:\")]),_c('span',{staticClass:\"listing__meta__item__value\"},[_vm._v(_vm._s(_vm.listing.PropertyType))])]),_c('li',{staticClass:\"listing__meta__item\"},[_c('span',{staticClass:\"listing__meta__item__key\"},[_vm._v(\"Available Date:\")]),_c('span',{staticClass:\"listing__meta__item__value\"},[_vm._v(_vm._s(_vm.formattedDateAvailable))])]),_c('li',{staticClass:\"listing__meta__item\"},[_c('span',{staticClass:\"listing__meta__item__key\"},[_vm._v(\"Bond:\")]),_c('span',{staticClass:\"listing__meta__item__value\"},[_vm._v(_vm._s(_vm.listing.Price.BondPrice))])])])]):_vm._e(),_c('div',{staticClass:\"listing__body__section\"},[_c('ListingAgentProfile',{attrs:{\"listing\":_vm.listing}})],1),(_vm.listing.MethodOfSale != 'Lease')?_c('div',{staticClass:\"listing__body__section\"},[_c('div',{staticClass:\"listing__calculator-link\"},[_c('a',{attrs:{\"href\":\"/Calculators\",\"target\":\"_blank\"}},[_vm._v(\"Queensland Country \"),_c('br'),_vm._v(\" Calculator Click Here\")])])]):_vm._e(),(_vm.listing.Price.NumericPrice && (_vm.listing.MethodOfSale === 'Sale' || _vm.listing.MethodOfSale === 'For Sale'))?_c('div',{staticClass:\"listing__body__section\"},[_c('HomeLoanCalculator',{attrs:{\"hide-amount\":\"true\",\"amount\":_vm.listing.Price.NumericPrice}})],1):_vm._e()])],1)],1)],1),(_vm.mapSettings)?_c('Deferrable',[_c('Map',{staticClass:\"listing__map\",attrs:{\"settings\":_vm.mapSettings}})],1):_vm._e(),(_vm.virtualTour)?[_c('transition',{attrs:{\"name\":\"fade\"}},[(_vm.virtualTourShown)?_c('div',{staticClass:\"virtual-tour\"},[_c('div',{staticClass:\"virtual-tour__nav\"},[_c('Button',{staticClass:\"virtual-tour__nav__btn\",on:{\"click\":function($event){_vm.virtualTourShown = false}}},[_vm._v(\"Exit Virtual Tour\")])],1),_c('iframe',{staticClass:\"virtual-tour__frame\",attrs:{\"src\":_vm.virtualTour.EmbedId,\"frameborder\":\"0\",\"referrerpolicy\":\"no-referrer-when-downgrade\",\"allowfullscreen\":\"true\"}})]):_vm._e()])]:_vm._e()]:_vm._e()],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Card',{staticClass:\"card--inspection-time\",on:{\"click\":_vm.handleClicked}},[_c('div',{staticClass:\"inspection-time__body\"},[_c('div',{staticClass:\"inspection-time__date\"},[_c('span',{staticClass:\"inspection-time__date__month\"},[_vm._v(_vm._s(_vm.inspectionTime.StartDateInfo.MonthName.ShortName))]),_c('span',{staticClass:\"inspection-time__date__day\"},[_vm._v(_vm._s(_vm.inspectionTime.StartDateInfo.DayOfMonth))])]),_c('div',{staticClass:\"inspection-time__details\"},[_c('span',{staticClass:\"inspection-time__details__day-name\"},[_vm._v(_vm._s(_vm.inspectionTime.StartDateInfo.DayName.LongName))]),_c('span',{staticClass:\"inspection-time__details__time\"},[_vm._v(_vm._s(_vm.inspectionTime.StartDateInfo.Time.LongName)+\" — \"+_vm._s(_vm.inspectionTime.EndDateInfo.Time.LongName))])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Prop } from 'vue-property-decorator';\r\nimport { InspectionTime, Listing } from 'client-website-ts-library/types';\r\nimport { API } from 'client-website-ts-library/services';\r\n\r\n@Component\r\nexport default class InspectionCard extends Vue {\r\n @Prop()\r\n private readonly inspectionTime!: InspectionTime;\r\n\r\n @Prop()\r\n private readonly listing!: Listing;\r\n\r\n handleClicked() {\r\n API.Listings.GetOpenHomeICS(this.listing.Id, this.inspectionTime.StartDate, this.inspectionTime.EndDate).then((ics) => {\r\n const fileParts = [ics.VCalContent];\r\n const blob = new Blob(fileParts, { type: 'text/calendar' });\r\n const url = URL.createObjectURL(blob);\r\n\r\n const a = document.createElement('a');\r\n a.style.display = 'none';\r\n document.body.appendChild(a);\r\n\r\n a.href = url;\r\n a.download = `${this.listing.Address.MicroAddress}.ics`;\r\n a.click();\r\n\r\n setTimeout(() => {\r\n window.URL.revokeObjectURL(url);\r\n a.remove();\r\n }, 10);\r\n });\r\n }\r\n}\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InspectionCard.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InspectionCard.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./InspectionCard.vue?vue&type=template&id=1681944e&scoped=true&\"\nimport script from \"./InspectionCard.vue?vue&type=script&lang=ts&\"\nexport * from \"./InspectionCard.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./InspectionCard.vue?vue&type=style&index=0&id=1681944e&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1681944e\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"agent-profiles\"},_vm._l((_vm.listing.Agents),function(agent){return _c('Card',{key:agent.Id,staticClass:\"listing-agent-profile\"},[_c('LazyImage',{staticClass:\"listing-agent-profile__image\",attrs:{\"image\":agent.Photo}}),_c('div',{staticClass:\"listing-agent-profile__body\"},[_c('Heading',{staticClass:\"listing-agent-profile__moniker\",attrs:{\"level\":\"h4\"}},[_c('span',{staticClass:\"listing-agent-profile__name\"},[_vm._v(_vm._s(agent.FullName))]),_c('span',{staticClass:\"listing-agent-profile__position\"},[_vm._v(_vm._s(agent.Position))])]),_c('ButtonGroup',{staticClass:\"listing-agent-profile__buttons\",attrs:{\"grow\":\"true\"}},[(agent.MobilePhone)?_c('LinkButton',{attrs:{\"href\":'tel:' + agent.MobilePhone,\"external\":true,\"target\":\"_self\",\"background-colour\":\"var(--brand-secondary)\"},on:{\"clicked\":function($event){return _vm.handlePhoneClicked(agent)}}},[_vm._v(\"Call \"+_vm._s(agent.FirstName))]):_vm._e()],1)],1)],1)}),1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Prop } from 'vue-property-decorator';\r\nimport { Listing, Profile } from 'client-website-ts-library/types';\r\nimport { ServiceManager, ServiceType } from 'client-website-ts-library/services';\r\nimport { AnalyticsEvent, AnalyticsEventObject, AnalyticsEventType, IAnalyticsAdapter, AnalyticsEventPriority } from 'client-website-ts-library/services/Analytics';\r\n\r\n@Component\r\nexport default class ListingAgentProfile extends Vue {\r\n @Prop()\r\n private readonly listing!: Listing;\r\n\r\n private getShortAgentProfile(profile: Profile): string {\r\n const tmp = document.createElement('div');\r\n\r\n tmp.innerHTML = profile.AboutAgent;\r\n\r\n const text = tmp.innerText;\r\n\r\n return text.length < 120 ? text : `${tmp.innerText.substring(0, 100)}...`;\r\n }\r\n\r\n handlePhoneClicked(profile: Profile) {\r\n const analyticsService = ServiceManager.Get(ServiceType.Analytics, 'PROListAnalyticsAdapter');\r\n\r\n const evt = new AnalyticsEvent(AnalyticsEventType.CallAgentClicked, AnalyticsEventObject.FromProfile(profile), AnalyticsEventPriority.Realtime);\r\n\r\n analyticsService!.Record(evt);\r\n }\r\n}\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ListingAgentProfile.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ListingAgentProfile.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ListingAgentProfile.vue?vue&type=template&id=31d78c84&scoped=true&\"\nimport script from \"./ListingAgentProfile.vue?vue&type=script&lang=ts&\"\nexport * from \"./ListingAgentProfile.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./ListingAgentProfile.vue?vue&type=style&index=0&id=31d78c84&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"31d78c84\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Mixins } from 'vue-property-decorator';\r\nimport { Listing, MapSettings } from 'client-website-ts-library/types';\r\nimport { ItemCyclerSlide, ItemCyclerReiszableImageSlide, ItemCyclerEmbeddableSlide } from '@/app_code/ItemCycler';\r\nimport { CarouselBreakpoint } from '@/app_code/CarouselBreakpoint';\r\nimport { API, Logger, LogLevel } from 'client-website-ts-library/services';\r\nimport { EmbeddedContent, EmbeddedContentType } from 'client-website-ts-library/types/EmbeddedContent/EmbeddedContent';\r\nimport { FormConstructorData } from 'client-website-ts-library/types/Forms';\r\nimport { ContextItemType } from 'client-website-ts-library/types/Context';\r\nimport { AsyncView, RouteMeta } from 'client-website-ts-library/plugins';\r\n\r\nimport ItemCycler from '@/components/Cycler/ItemCycler.vue';\r\nimport InspectionCard from '@/components/InspectionCard.vue';\r\nimport ListingAgentProfile from '@/components/ListingAgentProfile.vue';\r\nimport Form from '@/components/Forms/Form.vue';\r\nimport { AnalyticsEvent, AnalyticsEventObject, AnalyticsEventType } from 'client-website-ts-library/services/Analytics';\r\nimport HomeLoanCalculator from '@/components/Calculators/HomeLoanCalculator.vue';\r\n\r\nconst Map = () => import('client-website-ts-library/components/Map/Map.vue');\r\n\r\n@Component({\r\n components: {\r\n ItemCycler,\r\n InspectionCard,\r\n Map,\r\n ListingAgentProfile,\r\n Form,\r\n HomeLoanCalculator,\r\n },\r\n})\r\nexport default class ListingDetails extends Mixins(AsyncView) {\r\n private listing: Listing | null = null;\r\n\r\n private mapSettings?: MapSettings;\r\n\r\n private isMobile = false;\r\n\r\n private cyclerItems: ItemCyclerSlide[] = [];\r\n\r\n private cyclerBreakpoints: CarouselBreakpoint[] = [\r\n {\r\n breakpoint: 0,\r\n settings: {\r\n slidesToShow: 1,\r\n },\r\n },\r\n {\r\n breakpoint: 768,\r\n settings: {\r\n slidesToShow: 2,\r\n },\r\n },\r\n ];\r\n\r\n private formData: FormConstructorData | null = null;\r\n\r\n private virtualTourShown = false;\r\n\r\n loadListing(listingId: string): Promise {\r\n return new Promise((resolve, reject) => {\r\n API.Listings.Get(listingId)\r\n .then((listing) => {\r\n this.listing = listing;\r\n\r\n this.formData = new FormConstructorData([\r\n {\r\n Type: ContextItemType.Listing,\r\n Id: this.listing.Id,\r\n },\r\n ]);\r\n\r\n this.cyclerItems = listing.Images.map((img) => new ItemCyclerReiszableImageSlide(img));\r\n\r\n listing.EmbeddedContent.forEach((item) => {\r\n if (item.Type === EmbeddedContentType.Youtube || item.Type === EmbeddedContentType.Vimeo) {\r\n this.cyclerItems.splice(1, 0, new ItemCyclerEmbeddableSlide(item));\r\n }\r\n });\r\n\r\n if (listing.Address.DisplayAddress) {\r\n this.mapSettings = new MapSettings({\r\n Markers: [\r\n {\r\n Coordinate: listing.Address.Coordinates,\r\n Title: listing.Address.MicroAddress,\r\n },\r\n ],\r\n });\r\n }\r\n\r\n resolve(listing);\r\n\r\n this.$emit('updateView');\r\n })\r\n .catch(() => {\r\n Logger.Log(LogLevel.Error, 'Failed to load listing');\r\n reject();\r\n });\r\n });\r\n }\r\n\r\n private get dayOfMonthSuffix(): string {\r\n if (this.listing) {\r\n const dayOfMoth = this.listing.Auction.Date.DayOfMonth;\r\n\r\n if (dayOfMoth > 3 && dayOfMoth < 21) return `${dayOfMoth}th`;\r\n switch (dayOfMoth % 10) {\r\n case 1: return `${dayOfMoth}st`;\r\n case 2: return `${dayOfMoth}nd`;\r\n case 3: return `${dayOfMoth}rd`;\r\n default: return `${dayOfMoth}th`;\r\n }\r\n }\r\n return '';\r\n }\r\n\r\n created() {\r\n const guidTest = /[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/;\r\n\r\n const idParam = this.$route.params.id;\r\n\r\n if (guidTest.test(idParam)) {\r\n this.loadListing(idParam.split('&')[0]);\r\n } else {\r\n API.Slugs.Resolve(idParam)\r\n .then((resolvedSlug) => {\r\n if (resolvedSlug.Type === 'Listing') {\r\n this.loadListing(resolvedSlug.Id).then((listing) => {\r\n if (idParam !== listing.Slug) {\r\n this.$router.replace(`/listings/${listing.Slug}`);\r\n }\r\n });\r\n } else {\r\n this.$router.push('/listing-not-found');\r\n }\r\n })\r\n .catch(() => {\r\n this.$router.push('/listing-not-found');\r\n });\r\n }\r\n }\r\n\r\n get isCurrent(): boolean {\r\n return this.listing!.Status === 'Current' || this.listing!.Status === 'Under Contract';\r\n }\r\n\r\n get isSale(): boolean {\r\n return this.listing!.MethodOfSale === 'Sale' || this.listing!.MethodOfSale === 'For Sale' || this.listing!.MethodOfSale === 'Auction';\r\n }\r\n\r\n get formattedAddressLine1(): string {\r\n const parts = [];\r\n\r\n if (this.listing === null) return '';\r\n\r\n if (this.listing.Address.UnitNumber) {\r\n parts.push(`${this.listing.Address.UnitNumber} / ${this.listing.Address.StreetNumber}`);\r\n } else {\r\n parts.push(this.listing.Address.StreetNumber);\r\n }\r\n\r\n parts.push(this.listing.Address.Address);\r\n\r\n return parts.join(' ');\r\n }\r\n\r\n get formattedAddressLine2(): string {\r\n if (this.listing === null) return '';\r\n\r\n return `${this.listing.Address.Suburb}, ${this.listing.Address.State} ${this.listing.Address.PostCode}`;\r\n }\r\n\r\n get formattedDateAvailable(): string {\r\n if (!this.listing!.DateAvailable) return 'now';\r\n\r\n const now = new Date();\r\n const dateAvailable = new Date(this.listing!.DateAvailable);\r\n\r\n if (dateAvailable <= now) return 'now';\r\n\r\n return `${dateAvailable.getDate()}/${dateAvailable.getMonth() + 1}/${dateAvailable\r\n .getFullYear()\r\n .toString()\r\n .substr(2, 2)}`;\r\n }\r\n\r\n get virtualTour(): EmbeddedContent | null {\r\n if (this.listing === null) return null;\r\n\r\n const tour = this.listing.EmbeddedContent.find((content) => content.Type === EmbeddedContentType.VirtualTour);\r\n\r\n return tour || null;\r\n }\r\n\r\n get sellingAgents(): string {\r\n if (this.isCurrent || this.listing === null) return '';\r\n\r\n if (this.listing.Agents.length === 1) return this.listing.Agents[0].FullName;\r\n\r\n const agents = [...this.listing.Agents];\r\n\r\n const last = agents.pop();\r\n\r\n return `${agents.map((a) => a.FullName).join(', ')} & ${last?.FullName}`;\r\n }\r\n\r\n pluralise(number: number, singular: string, plural?: string): string {\r\n // eslint-disable-next-line no-nested-ternary\r\n return `${number} ${number === 1 ? singular : plural == null ? `${singular}s` : plural}`;\r\n }\r\n\r\n public head(): RouteMeta {\r\n return {\r\n title: this.listing!.Address.DisplayAddress ? this.listing!.Address.MicroAddress : this.listing!.Header,\r\n description: this.listing!.Introduction,\r\n image: this.listing!.Images.length ? this.listing!.Images[0].Preview.Url : undefined,\r\n };\r\n }\r\n\r\n public getAnalyticsData(): AnalyticsEventObject | null {\r\n if (this.listing === null) return null;\r\n\r\n return AnalyticsEventObject.FromListing(this.listing);\r\n }\r\n\r\n handleVideoViewed() {\r\n this.triggerCustomAnalyticsEvent(new AnalyticsEvent(AnalyticsEventType.ListingVideoViewed, AnalyticsEventObject.FromListing(this.listing!)));\r\n }\r\n\r\n handleContactFormSubmitted() {\r\n this.triggerCustomAnalyticsEvent(new AnalyticsEvent(AnalyticsEventType.ContactFormSubmit, AnalyticsEventObject.FromListing(this.listing!)));\r\n }\r\n\r\n handleIREClicked() {\r\n API.Listings.GetInspectRealEstateData(this.listing!.Id)\r\n .then((ireData) => {\r\n window.open(ireData.Url, '_blank');\r\n })\r\n .catch(() => {\r\n // eslint-disable-next-line no-alert\r\n alert('There was an error processing your request. Please try again later.');\r\n });\r\n }\r\n\r\n handleApplyClicked() {\r\n this.$router.push({ path: '/tenancy-application/', query: { listingId: this.listing?.Id } });\r\n }\r\n}\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ListingDetails.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ListingDetails.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ListingDetails.vue?vue&type=template&id=51de3d2d&scoped=true&\"\nimport script from \"./ListingDetails.vue?vue&type=script&lang=ts&\"\nexport * from \"./ListingDetails.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./ListingDetails.vue?vue&type=style&index=0&id=51de3d2d&scoped=true&lang=css&\"\nimport style1 from \"./ListingDetails.vue?vue&type=style&index=1&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"51de3d2d\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InspectionCard.vue?vue&type=style&index=0&id=1681944e&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"home-loan-calculator\"},[_c('transition',{attrs:{\"name\":\"fade\"}},[(_vm.loading)?_c('div',{staticClass:\"home-loan-calculator__loading\"},[_c('Loader',{attrs:{\"loading\":_vm.loading}})],1):_vm._e()]),_c('div',{staticClass:\"home-loan-calculator__fields\",staticStyle:{\"--underline-inactive\":\"#eee\"}},[(!_vm.hideAmount)?_c('div',{staticClass:\"form-field\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.principal),expression:\"principal\"}],staticClass:\"form-field__input form-field__input--has-value\",attrs:{\"type\":\"number\",\"step\":\"1\",\"min\":\"50000\",\"placeholder\":\"E.g. 500,000\"},domProps:{\"value\":(_vm.principal)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.principal=$event.target.value},_vm.calculate]}}),_c('label',{staticClass:\"form-field__label\"},[_vm._v(\"Property Price ($)\")])]):_vm._e(),_c('div',{staticClass:\"form-field\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.depositAmount),expression:\"depositAmount\"}],staticClass:\"form-field__input form-field__input--has-value\",attrs:{\"type\":\"number\",\"step\":\"1\",\"min\":\"0\",\"placeholder\":\"E.g. 100,000\"},domProps:{\"value\":(_vm.depositAmount)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.depositAmount=$event.target.value},_vm.calculate]}}),_c('label',{staticClass:\"form-field__label\"},[_vm._v(\"Deposit Amount ($)\")])]),(_vm.needsLMI)?_c('div',{staticClass:\"alert\"},[_c('Icon',{staticClass:\"alert__icon\",attrs:{\"icon\":\"info\",\"colour\":\"white\"}}),_vm._m(0)],1):_vm._e(),_c('div',{staticClass:\"form-field\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.loanTerm),expression:\"loanTerm\"}],staticClass:\"form-field__input form-field__input--has-value\",attrs:{\"type\":\"number\",\"step\":\"1\",\"min\":\"1\",\"placeholder\":\"E.g. 30\"},domProps:{\"value\":(_vm.loanTerm)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.loanTerm=$event.target.value},_vm.calculate]}}),_c('label',{staticClass:\"form-field__label\"},[_vm._v(\"Loan Term (years)\")])]),_c('div',{staticClass:\"form-field\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.interestRate),expression:\"interestRate\"}],staticClass:\"form-field__input form-field__input--has-value\",attrs:{\"type\":\"number\",\"step\":\"0.01\",\"min\":\"0.01\",\"placeholder\":\"E.g. 2.9\"},domProps:{\"value\":(_vm.interestRate)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.interestRate=$event.target.value},_vm.calculate]}}),_c('label',{staticClass:\"form-field__label\"},[_vm._v(\"Interest Rate (% PA)\")])])]),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.result.length),expression:\"result.length\"}],staticClass:\"home-loan-calculator__result\"},[_c('div',{staticClass:\"home-loan-calculator__result__value\"},[_c('div',{staticClass:\"home-loan-calculator__result__value__content\"},[_vm._v(_vm._s(_vm.result))]),_c('div',{staticClass:\"home-loan-calculator__result__value__unit\"},[_vm._v(\"per month est.\")])])])],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',{staticClass:\"alert__content\"},[_vm._v(\" Based on your deposit amount, you may need to take out \"),_c('a',{attrs:{\"href\":\"https://moneysmart.gov.au/glossary/lenders-mortgage-insurance-lmi\",\"target\":\"_blank\",\"rel\":\"nofollow\"}},[_vm._v(\"LMI\")]),_vm._v(\". \")])}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { API } from 'client-website-ts-library/services';\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\nimport Loader from '../UI/Loader.vue';\r\n\r\n@Component({\r\n components: {\r\n Loader,\r\n },\r\n})\r\nexport default class HomeLoanCalculator extends Vue {\r\n @Prop()\r\n private readonly hideAmount!: boolean;\r\n\r\n @Prop({ default: 500000 })\r\n private readonly amount!: number;\r\n\r\n private principal = this.amount;\r\n\r\n private depositAmount = this.amount * 0.2;\r\n\r\n private loanTerm = 30;\r\n\r\n private interestRate = 0;\r\n\r\n private loading = true;\r\n\r\n private result = '';\r\n\r\n private needsLMI = false;\r\n\r\n mounted() {\r\n API.Calculators.GetHomeLoanConfig().then((config) => {\r\n this.interestRate = config.InterestRate;\r\n\r\n this.loading = false;\r\n\r\n this.calculate();\r\n });\r\n }\r\n\r\n calculate() {\r\n const rate = (this.interestRate / 12) / 100;\r\n const repayments = this.loanTerm * 12;\r\n\r\n const principal = this.principal - this.depositAmount;\r\n\r\n this.needsLMI = this.depositAmount / this.principal < 0.2;\r\n\r\n const monthly = Math.max(0, principal / (((1 + rate) ** repayments - 1) / (rate * (1 + rate) ** repayments)));\r\n\r\n this.result = `$${Math.ceil(monthly).toLocaleString()}`;\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HomeLoanCalculator.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HomeLoanCalculator.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./HomeLoanCalculator.vue?vue&type=template&id=11dd9252&scoped=true&\"\nimport script from \"./HomeLoanCalculator.vue?vue&type=script&lang=ts&\"\nexport * from \"./HomeLoanCalculator.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./HomeLoanCalculator.vue?vue&type=style&index=0&id=11dd9252&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"11dd9252\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ListingDetails.vue?vue&type=style&index=0&id=51de3d2d&scoped=true&lang=css&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ListingAgentProfile.vue?vue&type=style&index=0&id=31d78c84&scoped=true&lang=css&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ListingDetails.vue?vue&type=style&index=1&lang=css&\""],"sourceRoot":""}