{"version":3,"sources":["webpack:///./src/views/PropertiesForRent.vue?bd1c","webpack:///./src/views/PropertiesForRent.vue?5d62","webpack:///./src/views/PropertiesForRent.vue","webpack:///./src/views/PropertiesForRent.vue?5f55","webpack:///./src/views/PropertiesForRent.vue?58d8"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","source","formats","fallback","listingFilter","_e","staticClass","_v","staticRenderFns","updateFilter","propertyCategories","$route","query","ListingCategory","split","map","v","parseInt","filter","PropertyCategories","Statuses","Current","UnderContract","Categories","ResidentialRental","PageSize","OrderByStatements","CreateDateDesc","keywordOptions","keywordOpts","opt","Type","Value","Suburbs","categories","length","searchVal","find","SearchTerm","areaMin","MinFloorArea","areaMax","MaxFloorArea","priceMin","MinPrice","priceMax","MaxPrice","suburbs","isVacantPosession","IsVacant","isTenanted","IsTenanted","isStandalone","IsWholeBuilding","isStrata","components","Listings","ListingSearch","component"],"mappings":"kHAAA,yBAAgf,EAAG,G,yCCAnf,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,OAAO,CAACA,EAAG,eAAe,CAACE,MAAM,CAAC,MAAQ,iDAAiD,KAAO,OAAO,MAAQ,CAAEC,OAAQ,iCAAkCC,QAAS,CAAC,OAAQ,OAAQ,OAAQC,SAAU,UAAWL,EAAG,aAAa,CAACE,MAAM,CAAC,WAAY,IAAO,CAAEN,EAAiB,cAAEI,EAAG,WAAW,CAACE,MAAM,CAAC,OAASN,EAAIU,cAAc,gBAAiB,KAASV,EAAIW,MAAM,GAAGP,EAAG,aAAa,CAACA,EAAG,mBAAmB,CAACA,EAAG,MAAM,CAACQ,YAAY,eAAe,CAACR,EAAG,IAAI,CAACJ,EAAIa,GAAG,2GAA2GT,EAAG,MAAMJ,EAAIa,GAAG,uFAAuFT,EAAG,MAAMA,EAAG,IAAI,CAACE,MAAM,CAAC,KAAO,wCAAwC,OAAS,WAAW,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zB,EAAO0B,SAAWjD,KAAKgB,OAAOC,MAAM+B,UAChEhD,KAAKgB,OAAOC,MAAMiC,WAAU3B,EAAO4B,SAAWnD,KAAKgB,OAAOC,MAAMiC,UAChElD,KAAKgB,OAAOC,MAAMmC,UAAS7B,EAAOe,QAAWtC,KAAKgB,OAAOC,MAAMmC,QAAmBjC,MAAM,MAExFnB,KAAKgB,OAAOC,MAAMoC,oBAAmB9B,EAAO+B,UAAW,GACvDtD,KAAKgB,OAAOC,MAAMsC,aAAYhC,EAAOiC,YAAa,GAClDxD,KAAKgB,OAAOC,MAAMwC,eAAclC,EAAOmC,iBAAkB,GACzD1D,KAAKgB,OAAOC,MAAM0C,WAAUpC,EAAO+B,UAAW,GAElDtD,KAAKS,cAAgBc,MApEzB,GAA+C,eAAO,SAQpD,GADC,eAAM,iB,2BA8DN,MArEkB,EAAiB,GANrC,eAAU,CACTqC,WAAY,CACVC,WAAA,KACAC,gBAAA,SAGiB,WClCuX,I,wBCQxYC,EAAY,eACd,EACAjE,EACAe,GACA,EACA,KACA,WACA,MAIa,aAAAkD,E","file":"js/chunk-38a43024.091f0e0e.js","sourcesContent":["import mod 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!./PropertiesForRent.vue?vue&type=style&index=0&id=32614af8&scoped=true&lang=css&\"; export default mod; 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!./PropertiesForRent.vue?vue&type=style&index=0&id=32614af8&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Page',[_c('SiteMasthead',{attrs:{\"title\":\"“A dedicated team of passionate professionals”\",\"mini\":\"true\",\"image\":{ source: '/assets/images/photos/for-rent', formats: ['avif', 'webp', 'jpg'], fallback: 'jpg' }}}),_c('ContentRow',{attrs:{\"noPadding\":true}},[(_vm.listingFilter)?_c('Listings',{attrs:{\"filter\":_vm.listingFilter,\"infiniteScroll\":false}}):_vm._e()],1),_c('ContentRow',[_c('ContentContainer',[_c('div',{staticClass:\"text-center\"},[_c('p',[_vm._v(\"To apply for one of our properties, please download and complete the attached Tenancy Application Form,\"),_c('br'),_vm._v(\" and return to us at your earliest convenience, with 100 points of identification\")]),_c('br'),_c('a',{attrs:{\"href\":\"/assets/files/Tenancy-Application.pdf\",\"target\":\"_blank\"}},[_vm._v(\"Tenancy Application Form\")])])])],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\n\nimport { Component, Mixins, Watch } from 'vue-property-decorator';\nimport { ListingFilter, ListingOrderBy } from 'client-website-ts-library/filters';\nimport { View } from 'client-website-ts-library/plugins';\nimport { ListingCategory, ListingStatus, PropertyCategory } from 'client-website-ts-library/types';\nimport Listings from '../components/Listings.vue';\nimport ListingSearch from '../components/ListingSearch.vue';\n\n@Component({\n components: {\n Listings,\n ListingSearch,\n },\n})\nexport default class PropertiesForRent extends Mixins(View) {\n private listingFilter: ListingFilter | null = null;\n\n mounted() {\n this.updateFilter();\n }\n\n @Watch('$route.query')\n updateFilter() {\n let propertyCategories: PropertyCategory[] = [];\n\n if (this.$route.query.ListingCategory) {\n // eslint-disable-next-line radix\n propertyCategories = (this.$route.query.ListingCategory! as string).split(',').map((v) => parseInt(v) as PropertyCategory);\n }\n\n const filter = new ListingFilter({\n PropertyCategories: propertyCategories,\n Statuses: [\n ListingStatus.Current,\n ListingStatus.UnderContract,\n ],\n Categories: [\n ListingCategory.ResidentialRental,\n ],\n PageSize: 9,\n OrderByStatements: [\n ListingOrderBy.CreateDateDesc,\n ],\n });\n\n if (this.$route.query.keywordOptions) {\n const keywordOpts = (this.$route.query.keywordOptions as string).split('|').map((opt) => {\n const split = opt.split(':');\n\n return {\n Type: split[0],\n Value: split[1],\n };\n });\n\n filter.Suburbs = keywordOpts.filter((opt) => opt.Type === 'suburb').map((opt) => opt.Value);\n\n const categories = keywordOpts.filter((opt) => opt.Type === 'categories').map((opt) => parseInt(opt.Value, 10));\n\n if (categories.length > 0) {\n filter.PropertyCategories = categories;\n }\n\n const searchVal = keywordOpts.find((opt) => opt.Type === 'search');\n\n if (searchVal) {\n filter.SearchTerm = searchVal.Value;\n }\n }\n\n if (this.$route.query.areaMin) filter.MinFloorArea = this.$route.query.areaMin as string;\n if (this.$route.query.areaMax) filter.MaxFloorArea = this.$route.query.areaMax as string;\n\n if (this.$route.query.priceMin) filter.MinPrice = this.$route.query.priceMin as string;\n if (this.$route.query.priceMax) filter.MaxPrice = this.$route.query.priceMax as string;\n if (this.$route.query.suburbs) filter.Suburbs = (this.$route.query.suburbs as string).split('|');\n\n if (this.$route.query.isVacantPosession) filter.IsVacant = true;\n if (this.$route.query.isTenanted) filter.IsTenanted = true;\n if (this.$route.query.isStandalone) filter.IsWholeBuilding = true;\n if (this.$route.query.isStrata) filter.IsVacant = true;\n\n this.listingFilter = filter;\n }\n}\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!./PropertiesForRent.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!./PropertiesForRent.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./PropertiesForRent.vue?vue&type=template&id=32614af8&scoped=true&\"\nimport script from \"./PropertiesForRent.vue?vue&type=script&lang=ts&\"\nexport * from \"./PropertiesForRent.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./PropertiesForRent.vue?vue&type=style&index=0&id=32614af8&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 \"32614af8\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}