{"version":3,"sources":["webpack:///./src/components/Testimonials/TestimonialCards.vue?0d9c","webpack:///./src/components/Testimonials/TestimonialCards.vue","webpack:///./src/components/Testimonials/TestimonialCards.vue?cbe7","webpack:///./src/components/Testimonials/TestimonialCards.vue?8702","webpack:///./src/components/Testimonials/TestimonialCards.vue?d386","webpack:///./src/components/Common/RichTextToggle.vue?7348","webpack:///./src/components/Common/RichTextToggle.vue","webpack:///./src/components/Common/RichTextToggle.vue?0185","webpack:///./src/components/Common/RichTextToggle.vue?4026","webpack:///./src/components/Testimonials/TestimonialCard.vue?bb65","webpack:///./src/components/Testimonials/TestimonialCycler.vue?f011","webpack:///./src/components/Testimonials/TestimonialCycler.vue","webpack:///./src/components/Testimonials/TestimonialCycler.vue?45ab","webpack:///./src/components/Testimonials/TestimonialCycler.vue?86b1","webpack:///./src/views/AgentProfile.vue?b94c","webpack:///./src/components/Common/RichTextToggle.vue?671a","webpack:///./src/components/Testimonials/TestimonialCycler.vue?cdd7","webpack:///./src/views/AgentProfile.vue?fdf6","webpack:///./src/views/AgentProfile.vue","webpack:///./src/views/AgentProfile.vue?b8fd","webpack:///./src/views/AgentProfile.vue?dc75","webpack:///./src/components/Testimonials/TestimonialCard.vue?7e7a","webpack:///./src/components/Testimonials/TestimonialCard.vue","webpack:///./src/components/Testimonials/TestimonialCard.vue?2db9","webpack:///./src/components/Testimonials/TestimonialCard.vue?c3dc"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","_l","testimonial","key","Id","attrs","hasAgentName","hasAgentPhotos","hasReadMoreButton","testimonialCount","on","loadMore","_v","_e","staticRenderFns","testimonials","updateTestimonials","Testimonials","Search","filter","then","length","displayLimit","slice","$emit","default","deep","components","TestimonialCard","component","class","toggled","countLines","showlines","style","domProps","_s","content","toggle","split","required","breakpoints","breakpoint","settings","slidesToShow","sort","Math","random","Cycler","CyclerItem","TestimonialCards","profile","CoverPhoto","Large","Url","source","formats","fallback","Photo","MobilePhone","OfficePhone","Email","Office","AddressLine1","AddressLine2","FacebookUrl","FacebookHandle","InstagramUrl","InstagramHandle","TwitterUrl","TwitterHandle","LinkedInUrl","LinkedInHandle","isPropertyManage","WebsiteVideoLink","FirstName","LastName","$event","jumpTo","FullName","Position","AboutAgent","charAt","toLowerCase","currentListingFilter","hasCurrentListings","staticStyle","soldListingFilter","hasSoldListings","testimonialFilter","hasTestimonials","id","$route","params","updateAgent","Slugs","Resolve","resolved","Type","html","el","document","createElement","innerHTML","innerText","about","stripHtml","substring","title","description","image","Preview","undefined","Profiles","Get","SearchLevel","Profile","SearchGuid","Statuses","Current","UnderContract","OrderByStatements","CreateDateDesc","PageSize","Sold","SoldDateDesc","resolveId","displayType","DisplayType","Agent","PersonalAssistant","PropertyManager","CommercialAgent","Principal","Analytics","FromProfile","anchor","window","location","href","Listings","TestimonialCycler","Loader","RichTextToggle","hasExtraHeight","Thumbs","cleanedContent","showTestimonial","ClientName","Address","Suburb","formattedAddress","hideTestimonial","getYouTubeId","Image","popupActive","cleanContent","parts","push","join","Description","videoId","VideoLink","ampersandPosition","indexOf"],"mappings":"kHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,QAAQ,CAACE,YAAY,qBAAqB,CAACN,EAAIO,GAAIP,EAAgB,cAAE,SAASQ,GAAa,OAAOJ,EAAG,kBAAkB,CAACK,IAAID,EAAYE,GAAGC,MAAM,CAAC,aAAeX,EAAIY,aAAa,eAAiBZ,EAAIa,eAAe,kBAAoBb,EAAIc,kBAAkB,YAAcN,QAAkBR,EAAIe,iBAAmB,EAAGX,EAAG,MAAM,CAACE,YAAY,eAAe,CAACF,EAAG,SAAS,CAACY,GAAG,CAAC,MAAQhB,EAAIiB,WAAW,CAACjB,EAAIkB,GAAG,gBAAgB,GAAGlB,EAAImB,MAAM,IAC5gBC,EAAkB,G,gDCoBtB,IAAqB,EAArB,cAA8C,OAA9C,c,oBACU,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K,aAAc,EAGrB,eACE,IAAIM,EAAUtK,KAAKO,YAAYgK,UAAU3H,MAAM,MAAM,GACrD,MAAM4H,EAAoBF,EAAQG,QAAQ,KAI1C,OAH2B,IAAvBD,IACFF,EAAUA,EAAQtD,UAAU,EAAGwD,IAE1BF,IAzDT,yBADC,kB,kCAID,yBADC,eAAK,CAAExI,SAAS,K,wCAIjB,yBADC,eAAK,CAAEA,SAAS,K,qCAIjB,yBADC,eAAK,CAAEA,SAAS,K,0CAIjB,yBADC,eAAK,CAAEA,SAAS,K,mCAIjB,yBADC,eAAK,CAAEA,SAAS,K,qCAmBjB,yBADC,eAAM,gB,2BAON,MAzCkB,EAAe,yBADnC,QACoB,WCxDuY,I,wBCQxZI,EAAY,eACd,EACApC,EACAqB,GACA,EACA,KACA,WACA,MAIa,OAAAe,E","file":"js/chunk-36b7bfa2.1588245f.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:{\"hasAgentName\":_vm.hasAgentName,\"hasAgentPhotos\":_vm.hasAgentPhotos,\"hasReadMoreButton\":_vm.hasReadMoreButton,\"testimonial\":testimonial}})}),(_vm.testimonialCount > 9)?_c('div',{staticClass:\"center-text\"},[_c('Button',{on:{\"click\":_vm.loadMore}},[_vm._v(\"Load More\")])],1):_vm._e()],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\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 @Prop({ default: true })\r\n private readonly hasReadMoreButton!: boolean;\r\n\r\n @Prop({ default: true })\r\n private readonly hasAgentPhotos!: boolean;\r\n\r\n @Prop({ default: true })\r\n private readonly hasAgentName!: boolean;\r\n\r\n @Prop({ default: 0 })\r\n private displayLimit!: number;\r\n\r\n private testimonialCount = 0;\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.testimonialCount = testimonials.length;\r\n if (this.displayLimit === 0) {\r\n this.testimonials = testimonials;\r\n } else {\r\n this.testimonials = testimonials.slice(0, this.displayLimit);\r\n }\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 loadMore() {\r\n API.Testimonials.Search(this.filter, true).then((testimonials) => {\r\n if (this.displayLimit === 0) {\r\n this.testimonials = testimonials;\r\n } else {\r\n this.testimonials = testimonials.slice(0, this.displayLimit += 9);\r\n }\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=10a10e0e&scoped=true&\"\nimport script from \"./TestimonialCards.vue?vue&type=script&lang=ts&\"\nexport * from \"./TestimonialCards.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./TestimonialCards.vue?vue&type=style&index=0&id=10a10e0e&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 \"10a10e0e\",\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!./TestimonialCards.vue?vue&type=style&index=0&id=10a10e0e&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!./TestimonialCards.vue?vue&type=style&index=0&id=10a10e0e&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"rich-text\",class:{'rich-text--toggled': _vm.toggled, 'rich-text--read-more': _vm.countLines() > _vm.showlines },style:({'--rich-text-lines': _vm.showlines}),domProps:{\"innerHTML\":_vm._s(_vm.content)}}),(_vm.countLines() > _vm.showlines)?_c('a',{staticClass:\"rich-text__toggle\",on:{\"click\":_vm.toggle}},[_vm._v(_vm._s(_vm.toggled ? 'READ LESS' : 'READ MORE'))]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\r\nimport { Component, Vue, Prop } from 'vue-property-decorator';\r\n\r\n@Component\r\nexport default class RichTextToggle extends Vue {\r\n @Prop({ required: true })\r\n private readonly content!: string;\r\n\r\n @Prop({ default: 5 })\r\n private readonly showlines!: number;\r\n\r\n private toggled = false;\r\n\r\n countLines(): number {\r\n return this.content!.split('

').length;\r\n }\r\n\r\n toggle() {\r\n this.toggled = !this.toggled;\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!./RichTextToggle.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!./RichTextToggle.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./RichTextToggle.vue?vue&type=template&id=1e8fea98&\"\nimport script from \"./RichTextToggle.vue?vue&type=script&lang=ts&\"\nexport * from \"./RichTextToggle.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./RichTextToggle.vue?vue&type=style&index=0&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 null,\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=80ca154c&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=80ca154c&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.testimonials.length > 3)?_c('div',{staticClass:\"testimonial-cycler\"},[_c('Deferrable',{attrs:{\"delay\":\"50\"}},[(_vm.testimonials.length)?_c('Cycler',{attrs:{\"chevronColor\":\"red\",\"navOutside\":true,\"autoAdvance\":true,\"autoAdvanceInterval\":5000,\"items\":\"3\",\"center\":true,\"loop\":true,\"hideNav\":true,\"responsive\":_vm.breakpoints}},_vm._l((_vm.testimonials),function(testimonial){return _c('CyclerItem',{key:testimonial.Id,staticClass:\"testimonial-cycler__item\"},[_c('TestimonialCard',{staticClass:\"testimonial-cycler__card\",attrs:{\"seeMoreTestimonials\":true,\"hasAgentName\":_vm.hasAgentName,\"hasAgentPhotos\":_vm.hasAgentPhotos,\"hasReadMoreButton\":_vm.hasReadMoreButton,\"testimonial\":testimonial}})],1)}),1):_vm._e()],1)],1):_c('div',{staticClass:\"testimonial-cards\"},[_c('ContentContainer',[_c('TestimonialCards',{attrs:{\"hasAgentName\":_vm.hasAgentName,\"hasAgentPhotos\":_vm.hasAgentPhotos,\"hasReadMoreButton\":_vm.hasReadMoreButton,\"filter\":_vm.filter}})],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\n\n\n\r\nimport { Vue, Component, Prop, Watch } from 'vue-property-decorator';\r\n\r\nimport { Testimonial } from 'client-website-ts-library/types';\r\nimport { TestimonialFilter } from 'client-website-ts-library/filters';\r\nimport { API } from 'client-website-ts-library/services';\r\n\r\nimport { CarouselBreakpoint } from '@/app_code/CarouselBreakpoint';\r\n\r\nimport TestimonialCards from '@/components/Testimonials/TestimonialCards.vue';\r\nimport Cycler from '../Cycler/Cycler.vue';\r\nimport CyclerItem from '../Cycler/CyclerItem.vue';\r\nimport TestimonialCard from './TestimonialCard.vue';\r\n\r\n@Component({\r\n components: {\r\n Cycler,\r\n CyclerItem,\r\n TestimonialCard,\r\n TestimonialCards,\r\n },\r\n})\r\nexport default class TestimonialCycler extends Vue {\r\n private testimonials: Testimonial[] = [];\r\n\r\n @Prop({ default: true })\r\n private readonly hasReadMoreButton!: boolean;\r\n\r\n @Prop({ default: true })\r\n private readonly hasAgentPhotos!: boolean;\r\n\r\n @Prop({ default: true })\r\n private readonly hasAgentName!: boolean;\r\n\r\n private breakpoints: 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 breakpoint: 1120,\r\n settings: {\r\n slidesToShow: 3,\r\n },\r\n },\r\n ];\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.sort(() => Math.random() - 0.5);\r\n this.$emit('got_testimonial_count', testimonials.length);\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!./TestimonialCycler.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!./TestimonialCycler.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TestimonialCycler.vue?vue&type=template&id=1373072c&scoped=true&\"\nimport script from \"./TestimonialCycler.vue?vue&type=script&lang=ts&\"\nexport * from \"./TestimonialCycler.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./TestimonialCycler.vue?vue&type=style&index=0&id=1373072c&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 \"1373072c\",\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!./AgentProfile.vue?vue&type=style&index=0&id=ec9adc0e&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!./AgentProfile.vue?vue&type=style&index=0&id=ec9adc0e&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!./RichTextToggle.vue?vue&type=style&index=0&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!./RichTextToggle.vue?vue&type=style&index=0&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!./TestimonialCycler.vue?vue&type=style&index=0&id=1373072c&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!./TestimonialCycler.vue?vue&type=style&index=0&id=1373072c&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Page',{staticClass:\"page--agent-profile\"},[(_vm.profile)?[(_vm.profile.CoverPhoto)?_c('SiteMasthead',{attrs:{\"image\":_vm.profile.CoverPhoto.Large.Url,\"relative-content\":true,\"darken\":false,\"medium\":true}}):_c('SiteMasthead',{attrs:{\"image\":{ source: '/assets/images/profile-bg', formats: ['jpg'], fallback: 'jpg' },\"relative-content\":true,\"darken\":false,\"medium\":true}}),_c('ContentRow',[_c('ContentContainer',{class:'content-container--medium'},[_c('div',{staticClass:\"margin\"},[_c('Row',{attrs:{\"verticalAlign\":''}},[_c('Column',{attrs:{\"width\":\"4\",\"mdWidth\":\"12\",\"smWidth\":\"12\"}},[_c('div',{staticClass:\"agent-profile__header stuck\"},[_c('div',{staticClass:\"agent-profile__header__details\"},[_c('ul',{staticClass:\"agent-profile__contact\"},[_c('li',[_c('div',{staticClass:\"agent-profile__header__image\"},[(_vm.profile.Photo)?_c('LazyImage',{staticClass:\"agent-profile__img\",attrs:{\"image\":_vm.profile.Photo,\"thumb-width\":100,\"preview-width\":375}}):_c('LazyImage',{staticClass:\"agent-profile__img\",attrs:{\"image\":'/assets/images/brand/logo-icon.svg',\"thumb-width\":100,\"preview-width\":375}})],1)]),(_vm.profile.MobilePhone)?_c('li',{staticClass:\"contact-method\"},[_c('a',{attrs:{\"href\":'tel:' + _vm.profile.MobilePhone}},[_c('span',{staticClass:\"contact-method__label\"},[_vm._v(\"M.\")]),_vm._v(_vm._s(_vm.profile.MobilePhone)+\" \")])]):_vm._e(),(_vm.profile.OfficePhone)?_c('li',{staticClass:\"contact-method\"},[_c('a',{attrs:{\"href\":'tel:' + _vm.profile.OfficePhone}},[_c('span',{staticClass:\"contact-method__label\"},[_vm._v(\"P.\")]),_vm._v(_vm._s(_vm.profile.OfficePhone)+\" \")])]):_vm._e(),(_vm.profile.Email)?_c('li',{staticClass:\"contact-method\"},[_c('a',{attrs:{\"href\":'mailto:' + _vm.profile.Email}},[_c('span',{staticClass:\"contact-method__label\"},[_vm._v(\"E.\")]),_vm._v(_vm._s(_vm.profile.Email)+\" \")])]):_vm._e(),(_vm.profile.Email)?_c('li',{staticClass:\"contact-method\"},[_c('span',{staticClass:\"contact-method__label\"},[_vm._v(\"O.\")]),_vm._v(\" \"+_vm._s(_vm.profile.Office.AddressLine1)+\" \"),_c('br'),_vm._v(\" \"+_vm._s(_vm.profile.Office.AddressLine2)+\" \")]):_vm._e(),(_vm.profile.FacebookUrl)?_c('li',{staticClass:\"contact-method\"},[_c('a',{attrs:{\"href\":_vm.profile.FacebookUrl,\"target\":\"_blank\"}},[_c('span',{staticClass:\"contact-method__label\"},[_c('Icon',{attrs:{\"icon\":'facebook-logo',\"colour\":'orange',\"justifyContent\":false}})],1),(_vm.profile.FacebookHandle)?_c('span',[_vm._v(_vm._s(_vm.profile.FacebookHandle))]):_c('span',[_vm._v(\"Facebook\")])])]):_vm._e(),(_vm.profile.InstagramUrl)?_c('li',{staticClass:\"contact-method\"},[_c('a',{attrs:{\"href\":_vm.profile.InstagramUrl,\"target\":\"_blank\"}},[_c('span',{staticClass:\"contact-method__label\"},[_c('Icon',{attrs:{\"icon\":'instagram-logo',\"colour\":'orange',\"justifyContent\":false}})],1),(_vm.profile.InstagramHandle)?_c('span',[_vm._v(_vm._s(_vm.profile.InstagramHandle))]):_c('span',[_vm._v(\"Instagram\")])])]):_vm._e(),(_vm.profile.TwitterUrl)?_c('li',{staticClass:\"contact-method\"},[_c('a',{attrs:{\"href\":_vm.profile.TwitterUrl,\"target\":\"_blank\"}},[_c('span',{staticClass:\"contact-method__label\"},[_c('Icon',{attrs:{\"icon\":'twitter-logo',\"colour\":'orange',\"justifyContent\":false}})],1),(_vm.profile.TwitterHandle)?_c('span',[_vm._v(_vm._s(_vm.profile.TwitterHandle))]):_c('span',[_vm._v(\"Twitter\")])])]):_vm._e(),(_vm.profile)?_c('li',{staticClass:\"contact-method\"},[_c('a',{attrs:{\"href\":_vm.profile.LinkedInUrl,\"target\":\"_blank\"}},[_c('span',{staticClass:\"contact-method__label\"},[_c('Icon',{attrs:{\"icon\":'linkedin-logo',\"colour\":'orange',\"justifyContent\":false}})],1),(_vm.profile.LinkedInHandle)?_c('span',[_vm._v(_vm._s(_vm.profile.LinkedInHandle))]):_c('span',[_vm._v(\"LinkedIn\")])])]):_vm._e(),_c('li',{staticClass:\"contact-method contact-method__spacer\"}),(!_vm.isPropertyManage() && _vm.profile.WebsiteVideoLink)?_c('li',{staticClass:\"contact-method contact-method__spacer\"},[_c('LinkButton',{staticClass:\"office-button\",attrs:{\"width\":'120px',\"padding\":'0.5em',\"href\":_vm.profile.WebsiteVideoLink,\"margin\":false,\"external\":true,\"backgroundColour\":'var(--brand-secondary)',\"colour\":'#FFF',\"border\":'solid 2px var(--brand-secondary)'}},[_vm._v(\" Agent Video \")])],1):_vm._e(),(!_vm.isPropertyManage())?_c('li',{staticClass:\"contact-method contact-method__spacer\"},[_c('LinkButton',{staticClass:\"office-button\",attrs:{\"width\":'120px',\"padding\":'0.5em',\"href\":'/profiles/' + _vm.profile.FirstName + _vm.profile.LastName + '/appraisal',\"margin\":false,\"backgroundColour\":'var(--brand-primary)',\"colour\":'#FFF',\"border\":'solid 2px var(--brand-primary)'}},[_vm._v(\" Appraisal \")])],1):_vm._e(),_c('li',{staticClass:\"contact-method contact-method__spacer\"},[_c('LinkButton',{staticClass:\"office-button\",attrs:{\"width\":'120px',\"padding\":'0.5em',\"margin\":false,\"shadow\":true,\"backgroundColour\":'#FFF',\"colour\":'var(--brand-secondary)',\"border\":''},on:{\"clicked\":function($event){return _vm.jumpTo('testimonals')}}},[_vm._v(\" Testimonials \")])],1),_c('li')])])])]),_c('Column',{attrs:{\"width\":\"1\",\"mdWidth\":\"12\",\"smWidth\":\"12\"}},[_c('hr',{staticClass:\"line\"})]),_c('Column',{attrs:{\"width\":\"7\",\"mdWidth\":\"12\",\"smWidth\":\"12\"}},[_c('h1',{staticClass:\"agent-profile__name\"},[_vm._v(_vm._s(_vm.profile.FullName))]),_c('h2',{staticClass:\"agent-profile__position\"},[_vm._v(\" \"+_vm._s(_vm.profile.Position))]),_c('div',[_c('RichTextToggle',{attrs:{\"showlines\":6,\"content\":_vm.profile.AboutAgent}})],1)])],1)],1)])],1),(_vm.hasCurrentListings)?_c('ContentRow',{attrs:{\"backgroundColour\":'var(--brand--grey)'}},[_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\")+\" \"),_c('span',{staticClass:\"beyond-infinity\"},[_vm._v(\"Listings\")])]),_c('Deferrable',{attrs:{\"delay\":\"0\"}},[_c('div',[_c('Listings',{attrs:{\"filter\":_vm.currentListingFilter,\"infinite-scroll\":false,\"allowLoadMore\":true},on:{\"got_listing_count\":function($event){_vm.hasCurrentListings = $event > 0}}}),_c('div',{staticClass:\"center-text\",staticStyle:{\"margin-top\":\"var(--gutter)\"}})],1)])],1)],1):_vm._e(),(_vm.hasSoldListings)?_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\")+\" \"),_c('span',{staticClass:\"beyond-infinity\"},[_vm._v(\"Recently Sold Listings\")])]),_c('Deferrable',{attrs:{\"delay\":\"0\"}},[_c('div',[_c('Listings',{attrs:{\"filter\":_vm.soldListingFilter,\"infinite-scroll\":false,\"allowLoadMore\":true},on:{\"got_listing_count\":function($event){_vm.hasSoldListings = $event > 0}}}),_c('div',{staticClass:\"center-text\",staticStyle:{\"margin-top\":\"var(--gutter)\"}})],1)])],1)],1):_vm._e(),(_vm.hasTestimonials)?_c('ContentRow',{attrs:{\"id\":\"testimonals\",\"backgroundColour\":'var(--brand--grey)'}},[_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\")+\" \"),_c('span',{staticClass:\"beyond-infinity\"},[_vm._v(\"Testimonials\")])]),_c('TestimonialCards',{attrs:{\"displayLimit\":9,\"hasAgentName\":false,\"hasAgentPhotos\":false,\"hasReadMoreButton\":true,\"filter\":_vm.testimonialFilter},on:{\"got_testimonial_count\":function($event){_vm.hasTestimonials = $event > 0}}})],1)],1):_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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\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, WebsiteProfileDisplayType } 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\n\r\nimport Masthead from '@/components/Common/Masthead.vue';\r\nimport Listings from '@/components/Listings.vue';\r\nimport TestimonialCycler from '@/components/Testimonials/TestimonialCycler.vue';\r\nimport Loader from '@/components/UI/Loader.vue';\r\n\r\nimport { AnalyticsEventObject } from 'client-website-ts-library/services/Analytics';\r\nimport RichTextToggle from '@/components/Common/RichTextToggle.vue';\r\nimport TestimonialCards from '@/components/Testimonials/TestimonialCards.vue';\r\n\r\n@Component({\r\n components: {\r\n Listings,\r\n TestimonialCycler,\r\n Loader,\r\n RichTextToggle,\r\n TestimonialCards,\r\n },\r\n})\r\nexport default class AgentProfile extends Mixins(AsyncView) {\r\n private profile: Profile | 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 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\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 this.$emit('updateView');\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.soldListingFilter = new ListingFilter({\r\n SearchLevel: WebsiteLevel.Profile,\r\n SearchGuid: this.profile!.Id,\r\n Statuses: [ListingStatus.Sold],\r\n OrderByStatements: [ListingOrderBy.SoldDateDesc],\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 }\r\n\r\n mounted() {\r\n this.resolveId();\r\n }\r\n\r\n isPropertyManage(): boolean {\r\n if (this.profile === null) return false;\r\n let displayType: boolean;\r\n\r\n switch (this.profile.DisplayType) {\r\n case WebsiteProfileDisplayType.Agent:\r\n displayType = false;\r\n break;\r\n case WebsiteProfileDisplayType.PersonalAssistant:\r\n displayType = false;\r\n break;\r\n case WebsiteProfileDisplayType.PropertyManager:\r\n displayType = true;\r\n break;\r\n case WebsiteProfileDisplayType.CommercialAgent:\r\n displayType = false;\r\n break;\r\n case WebsiteProfileDisplayType.Principal:\r\n displayType = false;\r\n break;\r\n default:\r\n displayType = false;\r\n break;\r\n }\r\n\r\n return displayType;\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 jumpTo(anchor: string) {\r\n window.location.href = `#${anchor}`;\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=ec9adc0e&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=ec9adc0e&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 \"ec9adc0e\",\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:\"card card--testimonial\",class:{ 'testimonial__extra-height': _vm.hasExtraHeight }},[_c('div',{staticClass:\"testimonial__agent\"},[(_vm.testimonial.Profile.Photo && _vm.hasAgentPhotos)?_c('img',{staticClass:\"testimonial__agent__image\",attrs:{\"src\":_vm.testimonial.Profile.Photo.Thumbs.Url}}):_vm._e(),(_vm.hasAgentName)?_c('h5',[_vm._v(_vm._s((\"\" + (_vm.testimonial.Profile.FirstName + ' ' + _vm.testimonial.Profile.LastName))))]):_vm._e()]),_c('blockquote',[_c('div',{staticClass:\"testimonial__content\"},[_vm._v(\" \"+_vm._s(_vm.cleanedContent)+\" \")]),(_vm.cleanedContent.length > 110 && _vm.hasReadMoreButton)?_c('button',{staticClass:\"testimonial__read-more\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.showTestimonial()}}},[_vm._v(\"READ MORE\")]):_vm._e()]),_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.seeMoreTestimonials)?_c('LinkButton',{staticClass:\"testimonial__read-more\",attrs:{\"type\":\"button\",\"href\":\"/testimonials\"}},[_vm._v(\"SEE MORE TESTIMONIALS\")]):_vm._e()],1),(_vm.testimonial.VideoLink)?_c('AR',{attrs:{\"ratio\":\"0.5625\"}},[_c('iframe',{staticClass:\"embeddable__frame\",attrs:{\"src\":(\"https://www.youtube.com/embed/\" + (_vm.getYouTubeId())),\"frameborder\":\"0\",\"allowtransparency\":\"true\",\"allowfullscreen\":\"\"}})]):(_vm.testimonial.Image)?_c('img',{staticClass:\"testimonial__image\",attrs:{\"src\":_vm.testimonial.Image.Preview.Url}}):_vm._e()],1)])])]:_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\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 @Prop({ default: true })\r\n private readonly hasReadMoreButton!: boolean;\r\n\r\n @Prop({ default: false })\r\n private readonly hasAgentPhotos!: boolean;\r\n\r\n @Prop({ default: false })\r\n private readonly seeMoreTestimonials!: boolean;\r\n\r\n @Prop({ default: false })\r\n private readonly hasAgentName!: boolean;\r\n\r\n @Prop({ default: false })\r\n private readonly hasExtraHeight!: boolean;\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 getYouTubeId() {\r\n let videoId = this.testimonial.VideoLink.split('v=')[1];\r\n const ampersandPosition = videoId.indexOf('&');\r\n if (ampersandPosition !== -1) {\r\n videoId = videoId.substring(0, ampersandPosition);\r\n }\r\n return videoId;\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=80ca154c&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=80ca154c&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 \"80ca154c\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}