{"version":3,"sources":["webpack:///./src/components/Layout/Masonry.vue?3554","webpack:///./src/views/BlogDetails.vue?4b8e","webpack:///./src/views/BlogDetails.vue","webpack:///./src/views/BlogDetails.vue?f82f","webpack:///./src/views/BlogDetails.vue?68d3","webpack:///./src/components/Layout/Masonry.vue?5869","webpack:///./src/views/BlogDetails.vue?6b75","webpack:///./src/components/Blogs.vue?ca10","webpack:///./src/components/Layout/Masonry.vue?ef58","webpack:///./src/components/Layout/Masonry.vue","webpack:///./src/components/Layout/Masonry.vue?bcce","webpack:///./src/components/Layout/Masonry.vue?5deb","webpack:///./src/components/Blogs.vue","webpack:///./src/components/Blogs.vue?883c","webpack:///./src/components/Blogs.vue?909e","webpack:///./src/views/BlogDetails.vue?bb7c","webpack:///./src/components/Blogs.vue?8d9e"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","blog","Paragraph1","attrs","_v","_s","Title","Subtitle","Images","length","Preview","Url","undefined","_e","Paragraph2","filter","staticStyle","staticRenderFns","summary","infobox","SearchLevel","Office","SearchGuid","API","WebsiteId","Types","Estate","Invest","Landlord","Market","Promotions","Social","blogId","$route","params","id","Blogs","Get","then","$emit","html","limit","tmp","document","createElement","innerHTML","text","innerText","substring","title","description","stripHtml","image","err","status","$router","push","path","query","next","components","InquiryForm","Featured","component","directives","name","rawName","value","hideFirstBlog","expression","_l","posts","slice","key","Id","loading","style","columns","width","gap","_t","default","Promise","resolve","reject","Search","data","b","Type","Suburb","catch","load","required","Masonry"],"mappings":"kHAAA,W,yCCAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,OAAO,CAAEJ,EAAQ,KAAEI,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAAyB,IAAvBN,EAAIO,KAAKC,WAAkBJ,EAAG,aAAa,CAACK,MAAM,CAAC,WAAY,IAAO,CAACL,EAAG,mBAAmB,CAACA,EAAG,MA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iD,OAAO,EAAKtE,QAAQuB,MAAK,SAACgD,GAClC,EAAKf,MAAQe,EAAKvE,QAAO,SAACwE,GAAD,OAAOA,EAAEC,OAAS,OAASC,UAEpD,EAAKd,SAAU,KACde,MAAMN,QArBf,qBAyBE,WACEzF,KAAKgG,SA1BT,iCA8BE,WACEhG,KAAKgG,WA/BT,GAAmC,QAEjC,yBADC,eAAK,CAAEC,UAAU,K,6BAIlB,yBADC,eAAK,CAAEX,SAAS,K,oCA0BjB,yBADC,eAAM,W,kCAGN,MAhCkB,EAAK,yBALzB,eAAU,CACTrB,WAAY,CACViC,QAAA,MAGiB,WCjD2W,ICQ5X,G,UAAY,eACd,EACApG,EACAwB,GACA,EACA,KACA,WACA,OAIa,S,6CCnBf,W,kCCAA,W","file":"js/chunk-6012fce2.38beb41a.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!./Masonry.vue?vue&type=style&index=1&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Page',[(_vm.blog)?_c('div',{staticClass:\"blog-details\"},[(_vm.blog.Paragraph1 != '')?_c('ContentRow',{attrs:{\"noPadding\":true}},[_c('ContentContainer',[_c('div',{staticClass:\"blog-heading\"},[_c('h1',[_vm._v(_vm._s(_vm.blog.Title))]),_c('h2',[_vm._v(_vm._s(_vm.blog.Subtitle))])]),_c('LazyImage',{staticClass:\"blog__image\",attrs:{\"image\":_vm.blog.Images.length >= 1 ? _vm.blog.Images[0].Preview.Url : undefined}})],1)],1):_vm._e(),(_vm.blog.Paragraph1 != '')?_c('ContentRow',[_c('ContentContainer',{staticClass:\"content-container--narrow\"},[_c('RichText',{attrs:{\"content\":_vm.blog.Paragraph1}})],1)],1):_vm._e(),(_vm.blog.Paragraph2 != '')?_c('ContentRow',[_c('ContentContainer',{staticClass:\"content-container--narrow\"},[_c('LazyImage',{staticClass:\"blog__image\",attrs:{\"image\":_vm.blog.Images.length >= 2 ? _vm.blog.Images[1].Preview.Url : undefined}}),_c('RichText',{attrs:{\"content\":_vm.blog.Paragraph2}})],1)],1):_vm._e(),_c('ContentRow',[_c('ContentContainer',[_c('div',{staticClass:\"continue-reading\"},[_c('h1',[_vm._v(\"Continue Reading\")])]),_c('Blogs',{attrs:{\"hideFirstBlog\":true,\"filter\":_vm.filter}})],1)],1),_c('ContentRow',{staticStyle:{\"padding-bottom\":\"20px\"},attrs:{\"noPadding\":true}},[_c('ContentContainer',{staticClass:\"content-container--center\"},[_c('InquiryForm')],1)],1),_c('Featured')],1):_vm._e()])}\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\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 { Config, API } from 'client-website-ts-library/services';\r\nimport Featured from '@/components/Featured.vue';\r\nimport InquiryForm from '@/components/InquiryForm.vue';\r\nimport { AsyncView, RouteMeta } from 'client-website-ts-library/plugins';\r\nimport { Blog, WebsiteLevel, BlogType } from 'client-website-ts-library/types';\r\nimport { BlogFilter } from 'client-website-ts-library/filters';\r\nimport { Component, Mixins } from 'vue-property-decorator';\r\nimport Blogs from '../components/Blogs.vue';\r\n\r\n@Component({\r\n components: {\r\n InquiryForm,\r\n Featured,\r\n Blogs,\r\n },\r\n})\r\nexport default class BlogDetails extends Mixins(AsyncView) {\r\n public blog: Blog | null = null;\r\n\r\n public summary: any | null = null;\r\n\r\n public infobox: any | null = null;\r\n\r\n public filter = new BlogFilter({\r\n SearchLevel: WebsiteLevel.Office,\r\n SearchGuid: Config.API.WebsiteId,\r\n Types: [BlogType.Estate, BlogType.Invest, BlogType.Landlord, BlogType.Market, BlogType.Promotions, BlogType.Social],\r\n });\r\n\r\n mounted() {\r\n const blogId = this.$route.params.id;\r\n\r\n API.Blogs.Get(blogId).then((blog) => {\r\n this.blog = blog;\r\n this.$emit('updateView');\r\n });\r\n }\r\n\r\n stripHtml(html: string, limit: number): string {\r\n const tmp = document.createElement('div');\r\n\r\n tmp.innerHTML = html;\r\n\r\n const text = tmp.innerText;\r\n\r\n return text.length < (limit * 1.2) ? text : `${tmp.innerText.substring(0, limit)}...`;\r\n }\r\n\r\n public head(): RouteMeta {\r\n return {\r\n title: `${this.blog?.Title} - ${this.blog?.Subtitle}`,\r\n description: this.stripHtml(this.blog?.Paragraph1 ?? '', 100),\r\n image: this.blog?.Images.length ? this.blog?.Images[0].Preview.Url : undefined,\r\n };\r\n }\r\n\r\n handleError(err: Response) {\r\n if (err.status === 403) {\r\n this.$router.push({\r\n path: '/blogs',\r\n query: {\r\n next: `/blogs/${this.$route.params.id}`,\r\n },\r\n });\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!./BlogDetails.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!./BlogDetails.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./BlogDetails.vue?vue&type=template&id=317b77c2&scoped=true&\"\nimport script from \"./BlogDetails.vue?vue&type=script&lang=ts&\"\nexport * from \"./BlogDetails.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./BlogDetails.vue?vue&type=style&index=0&id=317b77c2&scoped=true&lang=css&\"\nimport style1 from \"./BlogDetails.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 \"317b77c2\",\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!./Masonry.vue?vue&type=style&index=0&id=36d5f888&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!./BlogDetails.vue?vue&type=style&index=1&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{staticClass:\"blog\"},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.hideFirstBlog),expression:\"!hideFirstBlog\"}]},_vm._l((_vm.posts.slice(0, 1)),function(blog){return _c('Card',{key:blog.Id,staticClass:\"card--blog\",attrs:{\"href\":'/blogs/' + blog.Id}},[_c('div',{staticClass:\"card-blog__image-container-top\"},[(blog.Images.length)?_c('img',{staticClass:\"card-blog__image-top\",attrs:{\"src\":blog.Images[0].Preview.Url}}):_vm._e(),_c('img',{staticClass:\"card-blog__corner-image-right\",attrs:{\"src\":\"/assets/images/right-side-blog-corner.svg\",\"alt\":\"\"}}),_c('div',{staticClass:\"card--blog__body-top\"},[_c('div',{staticClass:\"card--blog__body_content\"},[_c('h3',{staticClass:\"card--blog__title-top\"},[_vm._v(_vm._s(blog.Title))]),_c('h4',{staticClass:\"card--blog__subtitle-top\"},[_vm._v(_vm._s(blog.Subtitle))])])])])])}),1),_c('Cards',_vm._l((_vm.posts),function(blog){return _c('Card',{key:blog.Id,staticClass:\"card--blog\",attrs:{\"href\":'/blogs/' + blog.Id}},[_c('div',{staticClass:\"card-blog__image-container\"},[(blog.Images.length)?_c('img',{staticClass:\"card-blog__image\",attrs:{\"src\":blog.Images[0].Preview.Url}}):_vm._e(),_c('img',{staticClass:\"card-blog__corner-image\",attrs:{\"src\":\"/assets/images/left-side-blog-corner.png\",\"alt\":\"\"}})]),_c('div',{staticClass:\"card--blog__body\"},[_c('div',{staticClass:\"card--blog__header\"},[_c('h3',{staticClass:\"card--blog__title\"},[_vm._v(_vm._s(blog.Title))]),_c('img',{staticClass:\"card--blog__icon\",attrs:{\"src\":\"/assets/images/arrow-top-right-green.svg\"}})]),_c('h4',{staticClass:\"card--blog__subtitle\"},[_vm._v(_vm._s(blog.Subtitle))])])])}),1),_c('Loader',{attrs:{\"loading\":_vm.loading}})],1)}\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:\"masonry\",style:({'--masonry-cols': _vm.columns, '--masonry-width': _vm.width, '--masonry-gap': _vm.gap})},[_vm._t(\"default\")],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\r\nimport { Component, Vue, Prop } from 'vue-property-decorator';\r\n\r\n@Component\r\nexport default class Masonry extends Vue {\r\n @Prop({ default: 3 })\r\n private readonly columns!: number;\r\n\r\n @Prop({ default: '300px' })\r\n private readonly width!: string;\r\n\r\n @Prop({ default: 'var(--gutter)' })\r\n private readonly gap!: string;\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!./Masonry.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!./Masonry.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Masonry.vue?vue&type=template&id=36d5f888&scoped=true&\"\nimport script from \"./Masonry.vue?vue&type=script&lang=ts&\"\nexport * from \"./Masonry.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Masonry.vue?vue&type=style&index=0&id=36d5f888&scoped=true&lang=css&\"\nimport style1 from \"./Masonry.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 \"36d5f888\",\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\r\nimport { BlogFilter } from 'client-website-ts-library/filters';\r\nimport { Blog, BlogType } from 'client-website-ts-library/types';\r\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\r\nimport { API } from 'client-website-ts-library/services';\r\n\r\nimport Masonry from './Layout/Masonry.vue';\r\nimport Cards from './Layout/Cards.vue';\r\n\r\n@Component({\r\n components: {\r\n Masonry,\r\n },\r\n})\r\nexport default class Blogs extends Vue {\r\n @Prop({ required: true })\r\n public filter!: BlogFilter;\r\n\r\n @Prop({ default: false })\r\n public hideFirstBlog!: boolean;\r\n\r\n public loading = false;\r\n\r\n public posts: Blog[] = [];\r\n\r\n public load(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.loading) resolve(false);\r\n\r\n this.loading = true;\r\n\r\n API.Blogs.Search(this.filter).then((data) => {\r\n this.posts = data.filter((b) => b.Type !== BlogType.Suburb);\r\n\r\n this.loading = false;\r\n }).catch(reject);\r\n });\r\n }\r\n\r\n mounted() {\r\n this.load();\r\n }\r\n\r\n @Watch('filter')\r\n handleFilterChanged() {\r\n this.load();\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!./Blogs.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!./Blogs.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Blogs.vue?vue&type=template&id=0165260e&scoped=true&\"\nimport script from \"./Blogs.vue?vue&type=script&lang=ts&\"\nexport * from \"./Blogs.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Blogs.vue?vue&type=style&index=0&id=0165260e&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 \"0165260e\",\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!./BlogDetails.vue?vue&type=style&index=0&id=317b77c2&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!./Blogs.vue?vue&type=style&index=0&id=0165260e&scoped=true&lang=css&\""],"sourceRoot":""}