{"version":3,"sources":["webpack:///./src/views/AgentProfile.vue?7c1c","webpack:///./src/components/Listings.vue?2c7c","webpack:///./src/components/Testimonials/TestimonialItem.vue?2d49","webpack:///./node_modules/vue-observe-visibility/dist/vue-observe-visibility.esm.js","webpack:///./node_modules/client-website-ts-library/types/Forms/FormConstructorData.ts","webpack:///./node_modules/client-website-ts-library/types/Forms/FormField.ts","webpack:///./node_modules/client-website-ts-library/types/Forms/FormValue.ts","webpack:///./src/views/AgentProfile.vue?3e98","webpack:///./src/components/Testimonials/TestimonialList.vue?7726","webpack:///./src/components/Testimonials/TestimonialItem.vue?25d4","webpack:///./src/components/Testimonials/TestimonialItem.vue","webpack:///./src/components/Testimonials/TestimonialItem.vue?3f95","webpack:///./src/components/Testimonials/TestimonialItem.vue?5da5","webpack:///./src/components/Testimonials/TestimonialList.vue","webpack:///./src/components/Testimonials/TestimonialList.vue?aba9","webpack:///./src/components/Testimonials/TestimonialList.vue?bc13","webpack:///./src/views/AgentProfile.vue","webpack:///./src/views/AgentProfile.vue?b8fd","webpack:///./src/views/AgentProfile.vue?dc75","webpack:///./src/components/Listings.vue?5d37","webpack:///./src/components/Listings.vue","webpack:///./src/components/Listings.vue?5b1e","webpack:///./src/components/Listings.vue?c557"],"names":["_typeof","obj","Symbol","iterator","constructor","prototype","_classCallCheck","instance","Constructor","TypeError","_defineProperties","target","props","i","length","descriptor","enumerable","configurable","writable","Object","defineProperty","key","_createClass","protoProps","staticProps","_toConsumableArray","arr","_arrayWithoutHoles","_iterableToArray","_nonIterableSpread","Array","isArray","arr2","iter","toString","call","from","processOptions","value","options","callback","throttle","delay","timeout","lastState","currentArgs","arguments","undefined","throttled","state","_len","args","_key","leading","apply","concat","clearTimeout","setTimeout","_clear","deepEqual","val1","val2","VisibilityState","el","vnode","this","observer","frozen","createObserver","_this","destroyObserver","result","entry","once","_ref","throttleOptions","_leading","oldResult","IntersectionObserver","entries","intersectingEntry","find","e","isIntersecting","intersectionRatio","threshold","intersection","context","$nextTick","observe","disconnect","get","bind","_ref2","console","warn","_vue_visibilityState","update","_ref3","oldValue","unbind","ObserveVisibility","install","Vue","directive","plugin","version","GlobalVue","window","global","use","FormConstructorData","items","ClientWebsiteId","Config","Website","Id","Items","FormFieldType","FormValue","Key","Value","render","_vm","_h","$createElement","_c","_self","attrs","profile","FullName","Position","staticClass","Photo","Large","Url","_e","_v","_s","Office","OfficeName","OfficePhone","MobilePhone","formData","AboutAgent","FirstName","charAt","toLowerCase","currentListingFilter","on","$event","hasCurrentListings","staticStyle","Slug","hasSoldListings","soldListingFilter","testimonialFilter","hasTestimonials","mapSettings","staticRenderFns","_l","testimonial","Description","ClientName","Suburb","TestimonialItem","__decorate","Prop","Component","component","TestimonialList","testimonials","loading","mounted","API","Testimonials","Search","filter","then","$emit","required","components","Map","AgentProfile","Mixins","AsyncView","listingFilter","resolveId","id","$route","params","updateAgent","Slugs","Resolve","resolved","Type","stripHtml","html","document","createElement","innerHTML","innerText","head","about","substring","title","description","image","Preview","Profiles","Get","_this$profile$Office","ListingFilter","SearchLevel","WebsiteLevel","Profile","SearchGuid","Statuses","ListingStatus","Current","UnderContract","OrderByStatements","ListingOrderBy","CreateDateDesc","PageSize","ContextItemType","EnquiryTargetProfile","Sold","Leased","LastUpdatedDateDesc","TestimonialFilter","TestimonialOrderBy","MapSettings","Zoom","Interactive","Padding","Markers","Title","FranchiseName","Address","AddressLine1","AddressLine2","Coordinate","getAnalyticsData","AnalyticsEventObject","FromProfile","Listings","Loader","Form","TestimonialCycler","listings","fullWidth","listing","noListingsText","infiniteScroll","more","directives","name","rawName","loadMore","expression","errored","filterUpdateDebounce","load","Promise","resolve","reject","data","Pages","Page","push","Count","catch","ex","handleFilterParamsUpdated","default","Watch","ListingCard"],"mappings":"yIAAA,W,oFCAA,W,oCCAA,W,qCCAA,qBAASA,EAAQC,GAWf,OATED,EADoB,oBAAXE,QAAoD,kBAApBA,OAAOC,SACtC,SAAUF,GAClB,cAAcA,GAGN,SAAUA,GAClB,OAAO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F,EAAKI,SAEtCC,MAAMN,KAIbP,WACMlM,KAAK2G,UAET3G,KAAKgH,OAAO4F,MAAQ,EAEpB5M,KAAKsM,OAAOrF,KAAK,KACfjH,KAAK2G,SAAU,KAInB3E,SACEhC,KAAKyL,SAAW,GAChBzL,KAAK8L,MAAO,EACZ9L,KAAK2G,SAAU,EAEf3G,KAAKsM,OACFrF,KAAK,KACJjH,KAAK2G,SAAU,IAEhBoG,MAAOC,IACNhN,KAAKkH,MAAM,QAAS8F,KAI1BpG,UACE5G,KAAKgC,SAOPiL,4BACEjN,KAAK2G,SAAU,EACf3G,KAAKyL,SAAW,GAEhBlM,aAAaS,KAAKqM,sBAElBrM,KAAKqM,qBAAuB1J,OAAOnD,WAAW,KAC5CQ,KAAK2G,SAAU,EAEf3G,KAAKgC,UACJ,OAjFLqE,EAAA,CADCC,kB,6BAIDD,EAAA,CADCC,eAAK,CAAE4G,SAAS,K,qCAIjB7G,EAAA,CADCC,eAAK,CAAE4G,QAAS,wB,qCAIjB7G,EAAA,CADCC,eAAK,CAAE4G,SAAS,K,gCA+DjB7G,EAAA,CAFC8G,eAAM,kBACNA,eAAM,oB,8CAxEY9B,EAAQhF,EAAA,CAT5BE,eAAU,CACTa,WAAY,CACVgG,mBACA9B,eAEFS,WAAY,CACV,qBAAsB3J,WAGLiJ,WCrC8W,I,wBCQ/X7E,EAAY,eACd,EACA/C,EACAqC,GACA,EACA,KACA,WACA,MAIa,OAAAU,E","file":"js/chunk-5c9e00f7.579bebb1.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!./AgentProfile.vue?vue&type=style&index=0&id=e88eabe2&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!./Listings.vue?vue&type=style&index=0&id=7161b506&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!./TestimonialItem.vue?vue&type=style&index=0&id=11bc2e46&scoped=true&lang=css&\"","function _typeof(obj) {\n if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n _typeof = function (obj) {\n return typeof obj;\n };\n } else {\n _typeof = function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n }\n\n return _typeof(obj);\n}\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nfunction _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n}\n\nfunction _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n return Constructor;\n}\n\nfunction _toConsumableArray(arr) {\n return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread();\n}\n\nfunction _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) {\n for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];\n\n return arr2;\n }\n}\n\nfunction _iterableToArray(iter) {\n if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === \"[object Arguments]\") return Array.from(iter);\n}\n\nfunction _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance\");\n}\n\nfunction processOptions(value) {\n var options;\n\n if (typeof value === 'function') {\n // Simple options (callback-only)\n options = {\n callback: value\n };\n } else {\n // Options object\n options = value;\n }\n\n return options;\n}\nfunction throttle(callback, delay) {\n var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n var timeout;\n var lastState;\n var currentArgs;\n\n var throttled = function throttled(state) {\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n currentArgs = args;\n if (timeout && state === lastState) return;\n var leading = options.leading;\n\n if (typeof leading === 'function') {\n leading = leading(state, lastState);\n }\n\n if ((!timeout || state !== lastState) && leading) {\n callback.apply(void 0, [state].concat(_toConsumableArray(currentArgs)));\n }\n\n lastState = state;\n clearTimeout(timeout);\n timeout = setTimeout(function () {\n callback.apply(void 0, [state].concat(_toConsumableArray(currentArgs)));\n timeout = 0;\n }, delay);\n };\n\n throttled._clear = function () {\n clearTimeout(timeout);\n timeout = null;\n };\n\n return throttled;\n}\nfunction deepEqual(val1, val2) {\n if (val1 === val2) return true;\n\n if (_typeof(val1) === 'object') {\n for (var key in val1) {\n if (!deepEqual(val1[key], val2[key])) {\n return false;\n }\n }\n\n return true;\n }\n\n return false;\n}\n\nvar VisibilityState =\n/*#__PURE__*/\nfunction () {\n function VisibilityState(el, options, vnode) {\n _classCallCheck(this, VisibilityState);\n\n this.el = el;\n this.observer = null;\n this.frozen = false;\n this.createObserver(options, vnode);\n }\n\n _createClass(VisibilityState, [{\n key: \"createObserver\",\n value: function createObserver(options, vnode) {\n var _this = this;\n\n if (this.observer) {\n this.destroyObserver();\n }\n\n if (this.frozen) return;\n this.options = processOptions(options);\n\n this.callback = function (result, entry) {\n _this.options.callback(result, entry);\n\n if (result && _this.options.once) {\n _this.frozen = true;\n\n _this.destroyObserver();\n }\n }; // Throttle\n\n\n if (this.callback && this.options.throttle) {\n var _ref = this.options.throttleOptions || {},\n _leading = _ref.leading;\n\n this.callback = throttle(this.callback, this.options.throttle, {\n leading: function leading(state) {\n return _leading === 'both' || _leading === 'visible' && state || _leading === 'hidden' && !state;\n }\n });\n }\n\n this.oldResult = undefined;\n this.observer = new IntersectionObserver(function (entries) {\n var entry = entries[0];\n\n if (entries.length > 1) {\n var intersectingEntry = entries.find(function (e) {\n return e.isIntersecting;\n });\n\n if (intersectingEntry) {\n entry = intersectingEntry;\n }\n }\n\n if (_this.callback) {\n // Use isIntersecting if possible because browsers can report isIntersecting as true, but intersectionRatio as 0, when something very slowly enters the viewport.\n var result = entry.isIntersecting && entry.intersectionRatio >= _this.threshold;\n if (result === _this.oldResult) return;\n _this.oldResult = result;\n\n _this.callback(result, entry);\n }\n }, this.options.intersection); // Wait for the element to be in document\n\n vnode.context.$nextTick(function () {\n if (_this.observer) {\n _this.observer.observe(_this.el);\n }\n });\n }\n }, {\n key: \"destroyObserver\",\n value: function destroyObserver() {\n if (this.observer) {\n this.observer.disconnect();\n this.observer = null;\n } // Cancel throttled call\n\n\n if (this.callback && this.callback._clear) {\n this.callback._clear();\n\n this.callback = null;\n }\n }\n }, {\n key: \"threshold\",\n get: function get() {\n return this.options.intersection && this.options.intersection.threshold || 0;\n }\n }]);\n\n return VisibilityState;\n}();\n\nfunction bind(el, _ref2, vnode) {\n var value = _ref2.value;\n if (!value) return;\n\n if (typeof IntersectionObserver === 'undefined') {\n console.warn('[vue-observe-visibility] IntersectionObserver API is not available in your browser. Please install this polyfill: https://github.com/w3c/IntersectionObserver/tree/master/polyfill');\n } else {\n var state = new VisibilityState(el, value, vnode);\n el._vue_visibilityState = state;\n }\n}\n\nfunction update(el, _ref3, vnode) {\n var value = _ref3.value,\n oldValue = _ref3.oldValue;\n if (deepEqual(value, oldValue)) return;\n var state = el._vue_visibilityState;\n\n if (!value) {\n unbind(el);\n return;\n }\n\n if (state) {\n state.createObserver(value, vnode);\n } else {\n bind(el, {\n value: value\n }, vnode);\n }\n}\n\nfunction unbind(el) {\n var state = el._vue_visibilityState;\n\n if (state) {\n state.destroyObserver();\n delete el._vue_visibilityState;\n }\n}\n\nvar ObserveVisibility = {\n bind: bind,\n update: update,\n unbind: unbind\n};\n\nfunction install(Vue) {\n Vue.directive('observe-visibility', ObserveVisibility);\n /* -- Add more components here -- */\n}\n/* -- Plugin definition & Auto-install -- */\n\n/* You shouldn't have to modify the code below */\n// Plugin\n\nvar plugin = {\n // eslint-disable-next-line no-undef\n version: \"0.4.6\",\n install: install\n};\n\nvar GlobalVue = null;\n\nif (typeof window !== 'undefined') {\n GlobalVue = window.Vue;\n} else if (typeof global !== 'undefined') {\n GlobalVue = global.Vue;\n}\n\nif (GlobalVue) {\n GlobalVue.use(plugin);\n}\n\nexport default plugin;\nexport { ObserveVisibility, install };\n","import { Config } from \"../../services/Config\";\r\nimport { ContextItem } from \"../Context\";\r\n\r\nclass FormConstructorData {\r\n public ClientWebsiteId: string = Config.Website.Id;\r\n public Items: ContextItem[];\r\n\r\n constructor(items?: ContextItem[]) {\r\n this.Items = items || [];\r\n }\r\n}\r\n\r\nexport { FormConstructorData }\r\n","import { FormFieldLayoutOptions } from \"./FormFieldLayoutOptions\";\r\n\r\nenum FormFieldType\r\n{\r\n Text,\r\n Email,\r\n Tel,\r\n Dropdown,\r\n Textarea,\r\n VideoUpload,\r\n FileUpload,\r\n MultiFileUploader,\r\n StaticText,\r\n Date,\r\n Signature,\r\n GraphicalPDF\r\n}\r\n\r\ninterface FormField {\r\n FieldId: string;\r\n SectionId: string;\r\n Type: FormFieldType;\r\n TypeName: string;\r\n Key: string;\r\n Label: string;\r\n Placeholder: string;\r\n LayoutOptions: FormFieldLayoutOptions;\r\n Required: boolean;\r\n \r\n}\r\n\r\nexport { FormField, FormFieldType }\r\n","import { PDFFieldData } from \"./FieldTypes/PDFFieldData\";\r\nimport { PDFKeyValuePair } from \"./FieldTypes/IFormField\";\r\n\r\nclass FormValue {\r\n Key: string;\r\n Value: string | PDFFieldData | Blob | Blob[] | PDFKeyValuePair | (string | PDFKeyValuePair)[] | number | null;\r\n\r\n constructor(key: string, value: string | PDFFieldData | Blob | Blob[] | PDFKeyValuePair | (string | PDFKeyValuePair)[] | number | null) {\r\n this.Key = key;\r\n this.Value = value;\r\n }\r\n}\r\n\r\nexport { FormValue }\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Page',[(_vm.profile)?[_c('SiteMasthead',{attrs:{\"title\":_vm.profile.FullName,\"subtitle\":_vm.profile.Position,\"mini\":\"true\"}}),_c('ContentRow',[_c('ContentContainer',[_c('div',{staticClass:\"agent-profile__grid\"},[_c('div',{staticClass:\"agent-profile__photo agent-profile__column\"},[(_vm.profile.Photo)?_c('LazyImage',{attrs:{\"image\":_vm.profile.Photo.Large.Url}}):_vm._e()],1),_c('div',{staticClass:\"agent-profile__contact-details agent-profile__column\"},[_c('p',{staticClass:\"agent-profile__position\"},[_vm._v(_vm._s(_vm.profile.Office.OfficeName))]),_c('a',{staticClass:\"agent-profile__contact-method-link agent-profile__phone\",attrs:{\"href\":'tel:' + _vm.profile.OfficePhone}},[_vm._v(\"P. \"+_vm._s(_vm.profile.OfficePhone))]),(_vm.profile.MobilePhone)?_c('a',{staticClass:\"agent-profile__contact-method-link agent-profile__phone\",attrs:{\"href\":'tel:' + _vm.profile.MobilePhone}},[_vm._v(\"M. \"+_vm._s(_vm.profile.MobilePhone))]):_vm._e(),_c('p',[_vm._v(\"Send Me a Message\")]),_c('div',{staticClass:\"agent-profile__contact-arrow\"},[_c('Icon',{attrs:{\"icon\":\"right-arrow-forward\",\"colour\":\"white\"}})],1)]),_c('div',{staticClass:\"agent-profile__contact-form agent-profile__column\"},[(_vm.formData)?_c('Form',{attrs:{\"type\":\"Generic.WebsiteContactForm\",\"context\":_vm.formData}}):_vm._e()],1)])])],1),_c('ContentRow',[_c('div',{staticClass:\"agent-profile__about-content-row\"},[_c('div',{staticClass:\"agent-profile__about-content-overlay\"}),_c('ContentContainer',{staticClass:\"agent-profile__about-content-container\"},[_c('h3',{staticClass:\"agent-profile__about-heading\"},[_vm._v(\"About Me\")]),(_vm.profile.AboutAgent)?_c('div',[_c('RichText',{attrs:{\"content\":_vm.profile.AboutAgent}})],1):_c('div',[_vm._v(_vm._s(_vm.profile.FullName)+\" is a professional representing Explore Property \"+_vm._s(_vm.profile.Office.OfficeName)+\". If you'd like to discuss your property with \"+_vm._s(_vm.profile.FullName)+\", please use the above contact form.\")])])],1)]),(_vm.hasCurrentListings)?_c('ContentRow',[_c('ContentContainer',[_c('SectionTitle',[_vm._v(_vm._s(_vm.profile.FirstName)+_vm._s(_vm.profile.FirstName.charAt(_vm.profile.FirstName.length - 1).toLowerCase() === 's' ? \"'\" : \"'s\")+\" Listings\")]),_c('Deferrable',{attrs:{\"delay\":\"50\"}},[_c('div',[_c('Listings',{attrs:{\"filter\":_vm.currentListingFilter,\"infinite-scroll\":false},on:{\"got_listing_count\":function($event){_vm.hasCurrentListings = $event > 0}}}),_c('div',{staticClass:\"center-text\",staticStyle:{\"margin-top\":\"var(--gutter)\"}},[_c('LinkButton',{attrs:{\"href\":'/people/' + _vm.profile.Slug + '/properties'}},[_vm._v(\"View More\")])],1)],1)])],1)],1):_vm._e(),(_vm.hasSoldListings && _vm.profile.Id !== '345c5574-905f-4f8f-bcf7-0fb2d68aa050')?_c('ContentRow',[_c('ContentContainer',[_c('SectionTitle',[_vm._v(_vm._s(_vm.profile.FirstName)+_vm._s(_vm.profile.FirstName.charAt(_vm.profile.FirstName.length - 1).toLowerCase() === 's' ? \"'\" : \"'s\")+\" Recently Sold & Leased Listings\")]),_c('Deferrable',{attrs:{\"delay\":\"50\"}},[_c('div',[_c('Listings',{attrs:{\"filter\":_vm.soldListingFilter,\"infinite-scroll\":false},on:{\"got_listing_count\":function($event){_vm.hasSoldListings = $event > 0}}}),_c('div',{staticClass:\"center-text\",staticStyle:{\"margin-top\":\"var(--gutter)\"}},[_c('LinkButton',{attrs:{\"href\":'/people/' + _vm.profile.Slug + '/properties/sold'}},[_vm._v(\"View More\")])],1)],1)])],1)],1):_vm._e(),(_vm.hasTestimonials)?_c('ContentRow',[_c('ContentContainer',[_c('SectionTitle',[_vm._v(_vm._s(_vm.profile.FirstName)+_vm._s(_vm.profile.FirstName.charAt(_vm.profile.FirstName.length - 1).toLowerCase() === 's' ? \"'\" : \"'s\")+\" Testimonials\")]),_c('TestimonialCycler',{attrs:{\"filter\":_vm.testimonialFilter},on:{\"got_testimonial_count\":function($event){_vm.hasTestimonials = $event > 0}}})],1)],1):_vm._e(),(_vm.mapSettings)?_c('Deferrable',[_c('Map',{staticClass:\"office__map\",attrs:{\"settings\":_vm.mapSettings}})],1):_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('div',{staticClass:\"testimonial-list\"},[(_vm.loading)?_c('Loader',{attrs:{\"loading\":\"true\"}}):(_vm.testimonials)?_vm._l((_vm.testimonials),function(testimonial){return _c('TestimonialItem',{key:testimonial.Id,attrs:{\"testimonial\":testimonial}})}):_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('article',{staticClass:\"testimonial\"},[_c('blockquote',[_c('RichText',{staticClass:\"testimonial__content\",attrs:{\"content\":_vm.testimonial.Description}})],1),_c('div',{staticClass:\"testimonial__author\"},[_vm._v(_vm._s(_vm.testimonial.ClientName)+_vm._s(_vm.testimonial.Suburb ? (\", \" + (_vm.testimonial.Suburb)) : ''))])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Prop } from 'vue-property-decorator';\r\nimport { Testimonial } from 'client-website-ts-library/types';\r\n\r\n@Component\r\nexport default class TestimonialItem extends Vue {\r\n @Prop()\r\n private readonly testimonial!: Testimonial;\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!./TestimonialItem.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!./TestimonialItem.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TestimonialItem.vue?vue&type=template&id=11bc2e46&scoped=true&\"\nimport script from \"./TestimonialItem.vue?vue&type=script&lang=ts&\"\nexport * from \"./TestimonialItem.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./TestimonialItem.vue?vue&type=style&index=0&id=11bc2e46&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 \"11bc2e46\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Prop } from 'vue-property-decorator';\r\nimport { TestimonialFilter } from 'client-website-ts-library/filters';\r\nimport { Testimonial } from 'client-website-ts-library/types';\r\nimport { API } from 'client-website-ts-library/services';\r\n\r\nimport TestimonialItem from './TestimonialItem.vue';\r\n\r\n@Component({\r\n components: {\r\n TestimonialItem,\r\n },\r\n})\r\nexport default class TestimonialList extends Vue {\r\n @Prop({ required: true })\r\n private readonly filter!: TestimonialFilter;\r\n\r\n private testimonials: Testimonial[] | null = null;\r\n\r\n private loading = true;\r\n\r\n mounted() {\r\n API.Testimonials.Search(this.filter).then((testimonials) => {\r\n this.testimonials = testimonials;\r\n this.loading = false;\r\n\r\n this.$emit('got_testimonial_count', testimonials.length);\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!./TestimonialList.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!./TestimonialList.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TestimonialList.vue?vue&type=template&id=13ffdb54&scoped=true&\"\nimport script from \"./TestimonialList.vue?vue&type=script&lang=ts&\"\nexport * from \"./TestimonialList.vue?vue&type=script&lang=ts&\"\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 \"13ffdb54\",\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\r\nimport { Component, Mixins } from 'vue-property-decorator';\r\nimport { Profile, ListingStatus, WebsiteLevel, MapSettings } from 'client-website-ts-library/types';\r\nimport { API } from 'client-website-ts-library/services';\r\nimport { ListingFilter, ListingOrderBy, TestimonialFilter, TestimonialOrderBy } from 'client-website-ts-library/filters';\r\nimport { AsyncView, RouteMeta } from 'client-website-ts-library/plugins';\r\nimport { FormConstructorData } from 'client-website-ts-library/types/Forms';\r\nimport { ContextItemType } from 'client-website-ts-library/types/Context';\r\nimport TestimonialCycler from '@/components/Testimonials/TestimonialCycler.vue';\r\n\r\nimport Listings from '@/components/Listings.vue';\r\nimport TestimonialList from '@/components/Testimonials/TestimonialList.vue';\r\nimport Loader from '@/components/UI/Loader.vue';\r\n\r\nimport { AnalyticsEventObject } from 'client-website-ts-library/services/Analytics';\r\nimport Form from '@/components/Forms/Form.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 Listings,\r\n TestimonialList,\r\n Loader,\r\n Form,\r\n Map,\r\n TestimonialCycler,\r\n },\r\n})\r\nexport default class AgentProfile extends Mixins(AsyncView) {\r\n private profile: Profile | null = null;\r\n\r\n private listingFilter: ListingFilter | null = null;\r\n\r\n private currentListingFilter: ListingFilter | null = null;\r\n\r\n private soldListingFilter: ListingFilter | null = null;\r\n\r\n private testimonialFilter: TestimonialFilter | null = null;\r\n\r\n private hasSoldListings = true;\r\n\r\n private hasCurrentListings = true;\r\n\r\n private hasTestimonials = true;\r\n\r\n private mapSettings: MapSettings | null = null;\r\n\r\n private formData: FormConstructorData | null = null;\r\n\r\n resolveId() {\r\n const { id } = this.$route.params;\r\n\r\n if (id.length === 36) {\r\n // If the ID is 36 long we'll treat it as a guid\r\n this.updateAgent(id);\r\n } else {\r\n API.Slugs.Resolve(id).then((resolved) => {\r\n if (resolved.Type === 'Profile') {\r\n this.updateAgent(resolved.Id);\r\n }\r\n });\r\n }\r\n }\r\n\r\n stripHtml(html: string): string {\r\n const el = document.createElement('div');\r\n\r\n el.innerHTML = html;\r\n\r\n return el.innerText;\r\n }\r\n\r\n head(): RouteMeta | null {\r\n if (this.profile === null) return null;\r\n\r\n let about = this.stripHtml(this.profile.AboutAgent);\r\n\r\n if (about.length > 156) {\r\n about = `${about.substring(0, 156)}...`;\r\n }\r\n\r\n return {\r\n title: `${this.profile.FullName} - ${this.profile.Position}`,\r\n description: about,\r\n image: this.profile.Photo ? this.profile.Photo.Preview.Url : undefined,\r\n };\r\n }\r\n\r\n updateAgent(id: string) {\r\n API.Profiles.Get(id, true).then((profile) => {\r\n this.profile = profile;\r\n\r\n this.$emit('updateView');\r\n\r\n this.currentListingFilter = new ListingFilter({\r\n SearchLevel: WebsiteLevel.Profile,\r\n SearchGuid: this.profile!.Id,\r\n Statuses: [ListingStatus.Current, ListingStatus.UnderContract],\r\n OrderByStatements: [ListingOrderBy.CreateDateDesc],\r\n PageSize: 6,\r\n });\r\n\r\n this.formData = new FormConstructorData([\r\n {\r\n Type: ContextItemType.EnquiryTargetProfile,\r\n Id: this.profile!.Id,\r\n },\r\n ]);\r\n\r\n this.soldListingFilter = new ListingFilter({\r\n SearchLevel: WebsiteLevel.Profile,\r\n SearchGuid: this.profile!.Id,\r\n Statuses: [ListingStatus.Sold, ListingStatus.Leased],\r\n OrderByStatements: [ListingOrderBy.LastUpdatedDateDesc],\r\n PageSize: 6,\r\n });\r\n\r\n this.testimonialFilter = new TestimonialFilter({\r\n SearchLevel: WebsiteLevel.Profile,\r\n SearchGuid: this.profile!.Id,\r\n OrderByStatements: [TestimonialOrderBy.CreateDateDesc],\r\n });\r\n\r\n this.mapSettings = new MapSettings({\r\n Zoom: 20,\r\n Interactive: false,\r\n Padding: 80,\r\n Markers: [\r\n {\r\n Title: `${this.profile.Office.FranchiseName} ${this.profile.Office.OfficeName}`,\r\n Address: `${this.profile.Office.AddressLine1} ${this.profile.Office?.AddressLine2}`,\r\n Coordinate: this.profile.Office.Coordinate,\r\n },\r\n ],\r\n });\r\n });\r\n }\r\n\r\n mounted() {\r\n this.resolveId();\r\n }\r\n\r\n getAnalyticsData(): AnalyticsEventObject | null {\r\n if (this.profile === null) return null;\r\n\r\n return AnalyticsEventObject.FromProfile(this.profile);\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!./AgentProfile.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!./AgentProfile.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./AgentProfile.vue?vue&type=template&id=e88eabe2&scoped=true&\"\nimport script from \"./AgentProfile.vue?vue&type=script&lang=ts&\"\nexport * from \"./AgentProfile.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./AgentProfile.vue?vue&type=style&index=0&id=e88eabe2&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 \"e88eabe2\",\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('section',{staticClass:\"listings\"},[(_vm.listings.length)?_c('Cards',{staticClass:\"cards--listings\",attrs:{\"per-row\":_vm.fullWidth ? 4 : 3}},_vm._l((_vm.listings),function(listing){return _c('ListingCard',{key:listing.Id,attrs:{\"listing\":listing}})}),1):(!_vm.loading)?_c('div',{staticClass:\"listings__no-listings\"},[_vm._v(\" \"+_vm._s(_vm.noListingsText)+\" \")]):_vm._e(),_c('Loader',{staticClass:\"listings__loader\",attrs:{\"loading\":_vm.loading}}),(_vm.infiniteScroll && _vm.more)?_c('div',{directives:[{name:\"observe-visibility\",rawName:\"v-observe-visibility\",value:({ callback: _vm.loadMore, throttle: 1000, threshold: 0.5 }),expression:\"{ callback: loadMore, throttle: 1000, threshold: 0.5 }\"}],staticClass:\"listings__visibility-checker\"}):(_vm.more)?_c('div',{staticClass:\"center-text\"},[_c('Button',{on:{\"click\":_vm.loadMore}},[_vm._v(\"Load More\")])],1):_vm._e()],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\r\nimport { ObserveVisibility } from 'vue-observe-visibility';\r\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator';\r\nimport { ListingFilter } from 'client-website-ts-library/filters/ListingFilter';\r\nimport { Listing } from 'client-website-ts-library/types/Listing';\r\nimport { API } from 'client-website-ts-library/services';\r\n\r\nimport ListingCard from './ListingCard.vue';\r\nimport Loader from './UI/Loader.vue';\r\n\r\n@Component({\r\n components: {\r\n ListingCard,\r\n Loader,\r\n },\r\n directives: {\r\n 'observe-visibility': ObserveVisibility,\r\n },\r\n})\r\nexport default class Listings extends Vue {\r\n @Prop()\r\n private readonly filter!: ListingFilter;\r\n\r\n @Prop({ default: true })\r\n private readonly infiniteScroll!: boolean;\r\n\r\n @Prop({ default: 'No listings found.' })\r\n private readonly noListingsText!: string;\r\n\r\n @Prop({ default: false })\r\n private readonly fullWidth!: boolean;\r\n\r\n private loading = false;\r\n\r\n private errored = false;\r\n\r\n private listings: Listing[] = [];\r\n\r\n private more = true;\r\n\r\n load(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.loading || !this.more) resolve(false);\r\n\r\n this.loading = true;\r\n\r\n API.Listings.Search(this.filter)\r\n .then((data) => {\r\n this.more = data.Pages > this.filter.Page;\r\n\r\n this.listings.push(...data.Items);\r\n\r\n resolve(true);\r\n\r\n this.$emit('got_listing_count', data.Count);\r\n })\r\n .catch(reject);\r\n });\r\n }\r\n\r\n loadMore(): void {\r\n if (this.loading) return;\r\n\r\n this.filter.Page += 1;\r\n\r\n this.load().then(() => {\r\n this.loading = false;\r\n });\r\n }\r\n\r\n update(): void {\r\n this.listings = [];\r\n this.more = true;\r\n this.loading = false;\r\n\r\n this.load()\r\n .then(() => {\r\n this.loading = false;\r\n })\r\n .catch((ex) => {\r\n this.$emit('error', ex);\r\n });\r\n }\r\n\r\n mounted() {\r\n this.update();\r\n }\r\n\r\n private filterUpdateDebounce: number | undefined = undefined;\r\n\r\n @Watch('filter.Suburbs')\r\n @Watch('filter.SearchId')\r\n handleFilterParamsUpdated(): void {\r\n this.loading = true;\r\n this.listings = [];\r\n\r\n clearTimeout(this.filterUpdateDebounce);\r\n\r\n this.filterUpdateDebounce = window.setTimeout(() => {\r\n this.loading = false;\r\n\r\n this.update();\r\n }, 2000);\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!./Listings.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!./Listings.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Listings.vue?vue&type=template&id=7161b506&scoped=true&\"\nimport script from \"./Listings.vue?vue&type=script&lang=ts&\"\nexport * from \"./Listings.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Listings.vue?vue&type=style&index=0&id=7161b506&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 \"7161b506\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}