{"version":3,"sources":["webpack:///./src/components/Testimonials/TestimonialCards.vue?7a09","webpack:///./src/components/Testimonials/TestimonialCards.vue","webpack:///./src/components/Testimonials/TestimonialCards.vue?cbe7","webpack:///./src/components/Testimonials/TestimonialCards.vue?8702","webpack:///./node_modules/client-website-ts-library/filters/BlogFilter.ts","webpack:///./node_modules/client-website-ts-library/filters/ListingFilter.ts","webpack:///./node_modules/client-website-ts-library/filters/TestimonialFilter.ts","webpack:///./node_modules/client-website-ts-library/filters/ProfileFilter.ts","webpack:///./src/views/Testimonials.vue?ea94","webpack:///./src/components/GoogleReviews.vue?18e9","webpack:///./src/components/GoogleReviews.vue","webpack:///./src/components/GoogleReviews.vue?d12e","webpack:///./src/components/GoogleReviews.vue?e75a","webpack:///./src/views/Testimonials.vue","webpack:///./src/views/Testimonials.vue?5e90","webpack:///./src/views/Testimonials.vue?c819","webpack:///./src/components/Testimonials/TestimonialCard.vue?47ef","webpack:///./src/views/Testimonials.vue?fdfb","webpack:///./src/components/Testimonials/TestimonialCard.vue?5b4c","webpack:///./src/components/Testimonials/TestimonialCard.vue","webpack:///./src/components/Testimonials/TestimonialCard.vue?2db9","webpack:///./src/components/Testimonials/TestimonialCard.vue?c3dc","webpack:///./src/components/GoogleReviews.vue?0242"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","_l","testimonial","key","Id","attrs","staticRenderFns","testimonials","updateTestimonials","Testimonials","Search","filter","then","$emit","length","deep","components","TestimonialCard","component","BlogOrderBy","ListingOrderBy","TestimonialOrderBy","init","SearchLevel","Config","API","WebsiteLevel","SearchGuid","WebsiteId","Suburb","Tag","Types","OrderByStatements","Object","assign","SearchGuids","Page","PageSize","ExcludeConjunctionalListings","IsHighlightListing","IsFeatured","IsPROListFeatured","HaveInspections","PropertyId","Estate","Categories","Statuses","PropertyTypes","PropertyCategories","PropertySubCategories","MethodsOfSale","AddressString","LotNumber","UnitNumber","StreetNumber","Suburbs","BoundsNorth","BoundsEast","BoundsSouth","BoundsWest","MinBedrooms","MinBathrooms","MinParking","MinFloorArea","MaxFloorArea","MinLandArea","MaxLandArea","MinPrice","MaxPrice","MinSoldPrice","MaxSoldPrice","IsStrata","IsFreehold","IsTenanted","IsVacant","IsWholeBuilding","reviews","url","response","fetch","method","mode","headers","json","console","log","alert","error","cyclerItems","t","Video","map","TestimonialCards","ItemCycler","GoogleReviews","_v","_s","cleanedContent","on","$event","showTestimonial","staticStyle","ClientName","Address","formattedAddress","_e","hideTestimonial","popupActive","cleanContent","parts","push","join","el","document","createElement","innerHTML","Description","innerText"],"mappings":"kHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,QAAQ,CAACE,YAAY,qBAAqBN,EAAIO,GAAIP,EAAgB,cAAE,SAASQ,GAAa,OAAOJ,EAAG,kBAAkB,CAACK,IAAID,EAAYE,GAAGC,MAAM,CAAC,YAAcH,QAAiB,IAC/QI,EAAkB,G,gDCiBtB,IAAqB,EAArB,cAA8C,OAA9C,c,oBACU,KAAAC,aAA8B,GAKtC,UACEZ,KAAKa,qBAIP,qBACE,OAAIC,aAAaC,OAAOf,KAAKgB,QAAQ,GAAMC,KAAML,IAC/CZ,KAAKY,aAAeA,EAEpBZ,KAAKkB,MAAM,wBAAyBN,EAAaO,QAEjDnB,KAAKkB,MAAM,mBAAoBN,OAbnC,yBADC,kB,6BAQD,yBADC,eAAM,SAAU,CAAEQ,MAAM,K,iCASxB,MAnBkB,EAAgB,yBALpC,eAAU,CACTC,WAAY,CACVC,kBAAA,SAGiB,WClBwY,I,YCOzZC,EAAY,eACd,EACAzB,EACAa,GACA,EACA,KACA,KACA,MAIa,OAAAY,E,sRCdVC,ECCAC,ECFAC,E,aFCL,SAAKF,GACD,oCACA,sCAEA,wBACA,0BAEA,4BACA,+BARJ,CAAKA,MAAW,KAWhB,MAAM,EAWJ,YAAYG,GAVZ,KAAAC,YAA4BC,EAA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OAHIlH,KAAKO,YAAYqG,SAASM,EAAMC,KAAKnH,KAAKO,YAAYqG,SACtD5G,KAAKO,YAAY2B,QAAQgF,EAAMC,KAAKnH,KAAKO,YAAY2B,QAElDgF,EAAME,KAAK,MAIpB,eACE,MAAMC,EAAKC,SAASC,cAAc,OAElCF,EAAGG,UAAYxH,KAAKO,YAAYkH,YAEhCzH,KAAKsG,eAAiBe,EAAGK,UAK3B,kBACE1H,KAAKgH,aAAc,EAGrB,kBACEhH,KAAKgH,aAAc,IAjCrB,yBADC,kB,kCAmBD,yBADC,eAAM,gB,2BAON,MA1BkB,EAAe,yBADnC,QACoB,WChDuY,I,wBCQxZzF,EAAY,eACd,EACAzB,EACAa,GACA,EACA,KACA,WACA,MAIa,OAAAY,E,2CCnBf,yBAA4e,EAAG","file":"js/chunk-3fdd898e.5c5f094e.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Cards',{staticClass:\"testimonial-cards\"},_vm._l((_vm.testimonials),function(testimonial){return _c('TestimonialCard',{key:testimonial.Id,attrs:{\"testimonial\":testimonial}})}),1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\r\nimport { TestimonialFilter } from 'client-website-ts-library/filters';\r\nimport { API } from 'client-website-ts-library/services';\r\nimport { Testimonial } from 'client-website-ts-library/types';\r\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\r\nimport TestimonialCard from './TestimonialCard.vue';\r\n\r\n@Component({\r\n components: {\r\n TestimonialCard,\r\n },\r\n})\r\nexport default class TestimonialCards extends Vue {\r\n private testimonials: Testimonial[] = [];\r\n\r\n @Prop()\r\n private readonly filter!: TestimonialFilter;\r\n\r\n mounted() {\r\n this.updateTestimonials();\r\n }\r\n\r\n @Watch('filter', { deep: true })\r\n updateTestimonials() {\r\n API.Testimonials.Search(this.filter, true).then((testimonials) => {\r\n this.testimonials = testimonials;\r\n\r\n this.$emit('got_testimonial_count', testimonials.length);\r\n\r\n this.$emit('got_testimonials', testimonials);\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!./TestimonialCards.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!./TestimonialCards.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TestimonialCards.vue?vue&type=template&id=eb6269b6&\"\nimport script from \"./TestimonialCards.vue?vue&type=script&lang=ts&\"\nexport * from \"./TestimonialCards.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 null,\n null\n \n)\n\nexport default component.exports","import { WebsiteLevel } from \"../types/WebsiteConfig\";\r\nimport { Config } from \"../services/Config\";\r\nimport { BlogType } from '../types/Blog';\r\n\r\nenum BlogOrderBy {\r\n CreateDateAsc = \"CreateDate:Asc\",\r\n CreateDateDesc = \"CreateDate:Desc\",\r\n\r\n TypeAsc = \"Type:Asc\",\r\n TypeDesc = \"Type:Desc\",\r\n\r\n SuburbAsc = \"Suburb:Asc\",\r\n SuburbDesc = \"Suburb:Desc\"\r\n}\r\n\r\nclass BlogFilter {\r\n SearchLevel: WebsiteLevel = Config.API.WebsiteLevel;\r\n SearchGuid: string = Config.API.WebsiteId;\r\n \r\n Suburb: string | null = '';\r\n Tag: string | null = '';\r\n\r\n Types: BlogType[] = [];\r\n\r\n OrderByStatements: BlogOrderBy[] = [];\r\n\r\n constructor(init?: Partial) {\r\n if(init) Object.assign(this, init);\r\n }\r\n}\r\n\r\nexport { BlogFilter, BlogOrderBy }\r\n","import { WebsiteLevel } from \"../types/WebsiteConfig\"\r\nimport { ListingCategory, ListingStatus, PropertyType, PropertyCategory, PropertySubCategory, MethodOfSale } from \"../types/Listing\";\r\nimport { Config } from \"../services/Config\";\r\nimport { OrderByStatement } from \"../types\";\r\n\r\nenum ListingOrderBy {\r\n SoldDateAsc = \"SoldDate:Asc\",\r\n SoldDateDesc = \"SoldDate:Desc\",\r\n\r\n CreateDateAsc = \"CreateDate:Asc\",\r\n CreateDateDesc = \"CreateDate:Desc\",\r\n\r\n SalePriceAsc = \"SalePrice:Asc\",\r\n SalePriceDesc = \"SalePrice:Desc\",\r\n\r\n SoldPriceAsc = \"SoldPrice:Asc\",\r\n SoldPriceDesc = \"SoldPrice:Desc\",\r\n\r\n SuburbAsc = \"Suburb:Asc\",\r\n SuburbDesc = \"Suburb:Desc\",\r\n\r\n LastUpdatedDateAsc = \"LastUpdatedDate:Asc\",\r\n LastUpdatedDateDesc = \"LastUpdatedDate:Desc\"\r\n}\r\n\r\nclass ListingFilter {\r\n SearchLevel: WebsiteLevel = Config.API.WebsiteLevel;\r\n SearchGuid: string = Config.API.WebsiteId;\r\n SearchGuids: string[] = [];\r\n\r\n Page: number = 1;\r\n PageSize: number = 10;\r\n\r\n ExcludeConjunctionalListings: boolean = false;\r\n IsHighlightListing: boolean = false;\r\n IsFeatured: boolean = false;\r\n IsPROListFeatured: boolean = false;\r\n HaveInspections: boolean = false;\r\n \r\n PropertyId: string | string = '';\r\n Estate: string | string = '';\r\n\r\n Categories: ListingCategory[] = [];\r\n Statuses: ListingStatus[] = [];\r\n PropertyTypes: PropertyType[] = [];\r\n PropertyCategories: PropertyCategory[] = [];\r\n PropertySubCategories: PropertySubCategory[] = [];\r\n MethodsOfSale: MethodOfSale[] = [];\r\n\r\n AddressString: string | string = '';\r\n LotNumber: string | string = '';\r\n UnitNumber: string | string = '';\r\n StreetNumber: string | string = '';\r\n Suburbs: string[] = [];\r\n\r\n BoundsNorth: number | string = '';\r\n BoundsEast: number | string = '';\r\n BoundsSouth: number | string = '';\r\n BoundsWest: number | string = '';\r\n\r\n OrderByStatements: ListingOrderBy[] | OrderByStatement[] = [];\r\n\r\n MinBedrooms: number | string = '';\r\n MinBathrooms: number | string = '';\r\n MinParking: number | string = '';\r\n\r\n MinFloorArea: number | string = '';\r\n MaxFloorArea: number | string = '';\r\n\r\n MinLandArea: number | string = '';\r\n MaxLandArea: number | string = '';\r\n\r\n MinPrice: number | string = '';\r\n MaxPrice: number | string = '';\r\n\r\n MinSoldPrice: number | string = '';\r\n MaxSoldPrice: number | string = '';\r\n\r\n IsHomeAndLandPackage?: boolean;\r\n\r\n SearchTerm?: string;\r\n\r\n IsStrata: boolean = false;\r\n IsFreehold: boolean = false;\r\n IsTenanted: boolean = false;\r\n IsVacant: boolean = false;\r\n IsWholeBuilding: boolean = false;\r\n\r\n constructor(init?: Partial) {\r\n if(init) Object.assign(this, init);\r\n }\r\n}\r\n\r\nexport { ListingFilter, ListingOrderBy }\r\n","import { WebsiteLevel } from \"../types/WebsiteConfig\";\r\nimport { Config } from \"../services/Config\";\r\n\r\nenum TestimonialOrderBy {\r\n CreateDateAsc = \"CreateDate:Asc\",\r\n CreateDateDesc = \"CreateDate:Desc\"\r\n}\r\n\r\nclass TestimonialFilter {\r\n SearchLevel: WebsiteLevel = Config.API.WebsiteLevel;\r\n SearchGuid: string = Config.API.WebsiteId;\r\n OrderByStatements: TestimonialOrderBy[] = [];\r\n SearchGuids: string[] = [];\r\n\r\n constructor(init?: Partial) {\r\n if(init) Object.assign(this, init);\r\n }\r\n}\r\n\r\nexport { TestimonialFilter, TestimonialOrderBy }\r\n","import { WebsiteLevel } from \"../types/WebsiteConfig\";\r\nimport { Config } from \"../services/Config\";\r\n\r\nclass ProfileFilter {\r\n SearchLevel: WebsiteLevel = Config.API.WebsiteLevel;\r\n SearchGuid: string = Config.API.WebsiteId;\r\n SearchGuids: string[] = [];\r\n\r\n constructor(init?: Partial) {\r\n if(init) Object.assign(this, init);\r\n }\r\n}\r\n\r\nexport { ProfileFilter }\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Page',[_c('SiteMasthead',{attrs:{\"mini\":\"true\",\"title\":\"Testimonials\"}}),_c('ContentRow',[_c('ContentContainer',[_c('div',{staticClass:\"elfsight-app-97b0595c-9ffc-4b4a-a3dd-995811b071a0\"})])],1)],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('section',{staticClass:\"review-section\",attrs:{\"id\":\"serverResponse\"}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Client } from 'client-website-ts-library/services';\r\nimport { APIRequest, APIRequestMethod } from 'client-website-ts-library/services/API/APIRequest';\r\nimport { Component, Vue } from 'vue-property-decorator';\r\n\r\n@Component\r\nexport default class GoogleReviews extends Vue {\r\n private reviews: GoogleReview[] = [];;\r\n\r\n mounted() {\r\n // Client.Request(new APIRequest(APIRequestMethod.GET, '/api/testimonials/location/ChIJ8-UY_49meGkR20LMiN6dMO4'));\r\n\r\n // this.GetReviews('https://maps.googleapis.com/maps/api/place/details/json?place_id=ChIJ8-UY_49meGkR20LMiN6dMO4&fields=name,rating,formatted_phone_number,reviews&key=AIzaSyA2dAxiqy0WguFJIt4r6-VyVqvUTmAuXLA').then((data) => console.log(data));\r\n }\r\n\r\n async GetReviews(url: string) {\r\n const response = await fetch(url, {\r\n method: 'GET',\r\n mode: 'no-cors',\r\n headers: {\r\n 'Content-Type': 'application/json',\r\n 'Access-Control-Allow-Origin': '*',\r\n 'Access-Control-Allow-Methods': 'GET, POST, PUT, DELETE, PATCH, OPTIONS',\r\n 'Access-Control-Allow-Headers': 'X-Requested-With, content-type, Authorization',\r\n },\r\n });\r\n return response.json(); // get JSON from the response\r\n }\r\n\r\n async created() {\r\n // Simple GET request using fetch\r\n // const response = await fetch('https://maps.googleapis.com/maps/api/place/details/json?place_id=ChIJ8-UY_49meGkR20LMiN6dMO4&fields=name,rating,formatted_phone_number,reviews&key=AIzaSyA2dAxiqy0WguFJIt4r6-VyVqvUTmAuXLA');\r\n // const data = await response.json();\r\n // this.reviews = data.total;\r\n }\r\n\r\n async getData() {\r\n try {\r\n console.log(11111111111111111111111111111111111111111111111111111111111111111111);\r\n const response = await fetch(\r\n 'https://maps.googleapis.com/maps/api/place/details/json?place_id=ChIJ8-UY_49meGkR20LMiN6dMO4&fields=name,rating,formatted_phone_number,reviews&key=AIzaSyA2dAxiqy0WguFJIt4r6-VyVqvUTmAuXLA',\r\n );\r\n console.log(2222222222222222222222222222222222222222222222222222222222222222);\r\n alert(response);\r\n } catch (error) {\r\n console.log(error);\r\n }\r\n }\r\n}\r\n\r\ninterface GoogleReview {\r\n author_name: string;\r\n author_url: string;\r\n profile_photo_url: string;\r\n rating: string;\r\n relative_time_description: string;\r\n text: string;\r\n time: 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!./GoogleReviews.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!./GoogleReviews.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./GoogleReviews.vue?vue&type=template&id=5a6a686c&scoped=true&\"\nimport script from \"./GoogleReviews.vue?vue&type=script&lang=ts&\"\nexport * from \"./GoogleReviews.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./GoogleReviews.vue?vue&type=style&index=0&id=5a6a686c&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 \"5a6a686c\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Mixins } from 'vue-property-decorator';\r\nimport { TestimonialFilter } from 'client-website-ts-library/filters';\r\nimport { View } from 'client-website-ts-library/plugins';\r\n\r\nimport TestimonialCards from '@/components/Testimonials/TestimonialCards.vue';\r\nimport ItemCycler from '@/components/Cycler/ItemCycler.vue';\r\nimport { ItemCyclerEmbeddableSlide, ItemCyclerSlide } from '@/app_code/ItemCycler';\r\nimport { EmbeddedContentType } from 'client-website-ts-library/types/EmbeddedContent/EmbeddedContent';\r\nimport { Testimonial } from 'client-website-ts-library/types';\r\nimport GoogleReviews from '@/components/GoogleReviews.vue';\r\n\r\n@Component({\r\n components: {\r\n TestimonialCards,\r\n ItemCycler,\r\n GoogleReviews,\r\n },\r\n})\r\nexport default class Testimonials extends Mixins(View) {\r\n private filter: TestimonialFilter = new TestimonialFilter();\r\n\r\n private cyclerItems: ItemCyclerSlide[] = [];\r\n\r\n handleGotTestimonials(testimonials: Testimonial[]) {\r\n this.cyclerItems = testimonials.filter((t) => t.Video !== null).map((t) => new ItemCyclerEmbeddableSlide(t.Video!));\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!./Testimonials.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!./Testimonials.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Testimonials.vue?vue&type=template&id=02f659d7&scoped=true&\"\nimport script from \"./Testimonials.vue?vue&type=script&lang=ts&\"\nexport * from \"./Testimonials.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Testimonials.vue?vue&type=style&index=0&id=02f659d7&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 \"02f659d7\",\n null\n \n)\n\nexport default component.exports","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!./TestimonialCard.vue?vue&type=style&index=0&id=43e1483e&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!./TestimonialCard.vue?vue&type=style&index=0&id=43e1483e&scoped=true&lang=css&\"","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!./Testimonials.vue?vue&type=style&index=0&id=02f659d7&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!./Testimonials.vue?vue&type=style&index=0&id=02f659d7&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"card card--testimonial\"},[_c('div',{staticClass:\"testimonial__content\"},[_vm._v(\" \"+_vm._s(_vm.cleanedContent)+\" \")]),(_vm.cleanedContent.length > 110)?_c('button',{staticClass:\"testimonial__read-more\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.showTestimonial()}}},[_vm._v(\"Read More\")]):_c('div',{staticStyle:{\"flex-grow\":\"1\"}}),_c('div',{staticClass:\"testimonial__attribution\"},[_c('h5',{staticClass:\"testimonial__customer\"},[_vm._v(_vm._s(_vm.testimonial.ClientName))]),(_vm.testimonial.Address || _vm.testimonial.Suburb)?_c('h6',{staticClass:\"testimonial__address\"},[_vm._v(\" \"+_vm._s(_vm.formattedAddress)+\" \")]):_vm._e()]),(_vm.popupActive)?[_c('portal',{attrs:{\"to\":\"overlays\"}},[_c('div',{staticClass:\"testimonial-popup-wrap\"},[_c('div',{staticClass:\"testimonial-popup-abyss\",on:{\"click\":function($event){return _vm.hideTestimonial()}}}),_c('div',{staticClass:\"testtimonial-popup__window\"},[_c('button',{staticClass:\"testimonial-close\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.hideTestimonial()}}},[_c('Icon',{attrs:{\"icon\":\"close-button\"}})],1),_c('div',{staticClass:\"testimonial-popup__content\"},[_vm._v(\" \"+_vm._s(_vm.cleanedContent)+\" \")]),_c('div',{staticClass:\"testimonial__attribution\"},[_c('h5',{staticClass:\"testimonial__customer\"},[_vm._v(_vm._s(_vm.testimonial.ClientName))]),(_vm.testimonial.Address || _vm.testimonial.Suburb)?_c('h6',{staticClass:\"testimonial__address\"},[_vm._v(\" \"+_vm._s(_vm.formattedAddress)+\" \")]):_vm._e()])])])])]:_vm._e()],2)}\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\r\nimport { Testimonial } from 'client-website-ts-library/types';\r\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\r\n\r\n@Component\r\nexport default class TestimonialCard extends Vue {\r\n @Prop()\r\n private readonly testimonial!: Testimonial;\r\n\r\n private cleanedContent = ''\r\n\r\n mounted() {\r\n this.cleanContent();\r\n }\r\n\r\n get formattedAddress(): string {\r\n const parts = [];\r\n\r\n if (this.testimonial.Address) parts.push(this.testimonial.Address);\r\n if (this.testimonial.Suburb) parts.push(this.testimonial.Suburb);\r\n\r\n return parts.join(', ');\r\n }\r\n\r\n @Watch('testimonial')\r\n cleanContent(): void {\r\n const el = document.createElement('div');\r\n\r\n el.innerHTML = this.testimonial.Description;\r\n\r\n this.cleanedContent = el.innerText;\r\n }\r\n\r\n popupActive = false\r\n\r\n showTestimonial(): void {\r\n this.popupActive = true;\r\n }\r\n\r\n hideTestimonial(): void {\r\n this.popupActive = false;\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!./TestimonialCard.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!./TestimonialCard.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TestimonialCard.vue?vue&type=template&id=43e1483e&scoped=true&\"\nimport script from \"./TestimonialCard.vue?vue&type=script&lang=ts&\"\nexport * from \"./TestimonialCard.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./TestimonialCard.vue?vue&type=style&index=0&id=43e1483e&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 \"43e1483e\",\n null\n \n)\n\nexport default component.exports","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!./GoogleReviews.vue?vue&type=style&index=0&id=5a6a686c&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!./GoogleReviews.vue?vue&type=style&index=0&id=5a6a686c&scoped=true&lang=css&\""],"sourceRoot":""}