{"version":3,"sources":["webpack:///./src/views/Testimonials.vue","webpack:///./src/views/Testimonials.vue?94b7","webpack:///./src/views/Testimonials.vue?d829","webpack:///./src/views/Testimonials.vue?cf6d","webpack:///./node_modules/client-website-ts-library/plugins/view/index.ts"],"names":["render","_vm","this","_c","_self","_setupProxy","attrs","filter","staticRenderFns","Testimonials","Mixins","View","constructor","TestimonialFilter","Component","components","TestimonialList","component","ViewBase","Vue","prolistAnalyticsService","ServiceManager","Get","ServiceType","Analytics","headService","Require","Head","updateAnalytics","evt","obj","getAnalyticsEvent","call","getAnalyticsData","AnalyticsPageView","$route","path","name","undefined","triggerAnalyticsEvent","event","GetAll","forEach","adapter","Record","triggerCustomAnalyticsEvent","updateHead","result","head","bind","Promise","then","meta","Update","UpdateWithStatic","mounted","requestAnimationFrame","AsyncView","$on"],"mappings":"0HAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAOF,EAAG,OAAO,CAACA,EAAG,eAAe,CAACG,MAAM,CAAC,KAAO,OAAO,MAAQ,kBAAkBH,EAAG,aAAa,CAACA,EAAG,mBAAmB,CAACA,EAAG,kBAAkB,CAACG,MAAM,CAAC,OAASL,EAAIM,WAAW,IAAI,IAAI,IAE9QC,EAAkB,G,oYCUtB,IAAqBC,EAArB,cAA0CC,eAAOC,SAAjDC,c,oBACY,KAAAL,OAA4B,IAAIM,SADvBJ,EAAY,GALhCK,eAAU,CACTC,WAAY,CACVC,2BAGiBP,WCZkX,I,YCOnYQ,EAAY,eACd,EACAjB,EACAQ,GACA,EACA,KACA,KACA,MAIa,aAAAS,E,igBCJf,IAAMC,EAAN,cAAuBC,aAAvBP,c,oBACY,KAAAQ,wBAA0BC,OAAeC,IAA6BC,OAAYC,UAAW,2BAC7F,KAAAC,YAAcJ,OAAeK,QAAqBH,OAAYI,MAEjEC,kBACL,IAAIC,EAA6B,KAC7BC,EAAmC,KAED,qBAA3B5B,KAAK6B,kBACdF,EAAM3B,KAAK6B,kBAAkBC,KAAK9B,MACO,qBAA1BA,KAAK+B,mBACpBH,EAAM5B,KAAK+B,iBAAiBD,KAAK9B,OAGvB,OAAR2B,IAAcA,EAAM,IAAIK,OAAkBhC,KAAKiC,OAAOC,KAAMlC,KAAKiC,OAAOE,MAAQ,GAAIP,QAAOQ,IAE/FpC,KAAKqC,sBAAsBV,GAGtBU,sBAAsBC,GAC3BnB,OAAeoB,OAA0BlB,OAAYC,WAAWkB,QAASC,IACvEA,EAAQC,OAAOJ,KAIZK,4BAA4BL,GACI,OAAjCtC,KAAKkB,yBAAkClB,KAAKkB,wBAAwBwB,OAAOJ,GAGvEM,aACR,GAAI,SAAU5C,KAAM,CAClB,MAAM6C,EAAS7C,KAAK8C,KAAMC,KAAK/C,KAAhBA,GAEZ6C,aAAkBG,QACnBH,EAAOI,KAAMC,IACXlD,KAAKuB,YAAY4B,OAAOD,KAG1BlD,KAAKuB,YAAY4B,OAAON,QAG1B7C,KAAKuB,YAAY6B,iBAAiBpD,KAAKiC,OAAOC,QAzC9ClB,EAAQ,GADbJ,QACKI,GA+CN,IAAMP,EAAN,cAAmBO,EACVqC,UACLC,sBAAsB,KACpBtD,KAAK4C,aACL5C,KAAK0B,sBAJLjB,EAAI,GADTG,QACKH,GAUN,IAAM8C,EAAN,cAAwBvC,EACfqC,UACLrD,KAAKwD,IAAI,aAAc,KACrBF,sBAAsB,KACpBtD,KAAK4C,aACL5C,KAAK0B,wBALP6B,EAAS,GADd3C,QACK2C,I","file":"js/chunk-366ba0e4.cba0a6ff.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('Page',[_c('SiteMasthead',{attrs:{\"mini\":\"true\",\"title\":\"Testimonials\"}}),_c('ContentRow',[_c('ContentContainer',[_c('TestimonialList',{attrs:{\"filter\":_vm.filter}})],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Mixins } from 'vue-property-decorator';\nimport { TestimonialFilter } from 'client-website-ts-library/filters';\nimport { View } from 'client-website-ts-library/plugins';\n\nimport TestimonialList from '../components/Testimonials/TestimonialList.vue';\n\n@Component({\n components: {\n TestimonialList,\n },\n})\nexport default class Testimonials extends Mixins(View) {\n private filter: TestimonialFilter = new TestimonialFilter();\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-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--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-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=952735f2&\"\nimport script from \"./Testimonials.vue?vue&type=script&lang=ts&\"\nexport * from \"./Testimonials.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 Vue from \"vue\";\r\nimport { Component } from \"vue-property-decorator\";\r\nimport { AnalyticsEvent, AnalyticsEventObject, AnalyticsPageView, IAnalyticsAdapter, PROListAnalyticsAdapter } from \"../../services/Analytics\";\r\nimport { HeadService } from \"../../services/HeadService\";\r\nimport { ServiceManager, ServiceType } from \"../../services/ServiceManager\";\r\nimport { RouteMeta } from \"../meta\";\r\n\r\ninterface ViewBase {\r\n getAnalyticsEvent?(): AnalyticsEvent | null;\r\n getAnalyticsData?(): AnalyticsEventObject | null;\r\n head?(): RouteMeta | Promise | null;\r\n}\r\n\r\n@Component\r\nclass ViewBase extends Vue {\r\n protected prolistAnalyticsService = ServiceManager.Get(ServiceType.Analytics, 'PROListAnalyticsAdapter');\r\n protected headService = ServiceManager.Require(ServiceType.Head)!;\r\n\r\n public updateAnalytics() {\r\n let evt: AnalyticsEvent | null = null;\r\n let obj: AnalyticsEventObject | null = null;\r\n\r\n if (typeof this.getAnalyticsEvent !== 'undefined') {\r\n evt = this.getAnalyticsEvent.call(this);\r\n } else if(typeof this.getAnalyticsData !== 'undefined') {\r\n obj = this.getAnalyticsData.call(this);\r\n }\r\n\r\n if (evt === null) evt = new AnalyticsPageView(this.$route.path, this.$route.name || '', obj || undefined);\r\n\r\n this.triggerAnalyticsEvent(evt);\r\n }\r\n\r\n public triggerAnalyticsEvent(event: AnalyticsEvent) {\r\n ServiceManager.GetAll(ServiceType.Analytics).forEach((adapter) => {\r\n adapter.Record(event);\r\n });\r\n }\r\n\r\n public triggerCustomAnalyticsEvent(event: AnalyticsEvent) {\r\n if (this.prolistAnalyticsService !== null) this.prolistAnalyticsService.Record(event);\r\n }\r\n\r\n protected updateHead() {\r\n if ('head' in this) {\r\n const result = this.head!.bind(this)();\r\n\r\n if(result instanceof Promise) {\r\n result.then((meta: RouteMeta | null) => {\r\n this.headService.Update(meta);\r\n });\r\n } else {\r\n this.headService.Update(result as RouteMeta | null);\r\n }\r\n } else {\r\n this.headService.UpdateWithStatic(this.$route.path);\r\n }\r\n }\r\n}\r\n\r\n@Component\r\nclass View extends ViewBase {\r\n public mounted() {\r\n requestAnimationFrame(() => {\r\n this.updateHead();\r\n this.updateAnalytics();\r\n });\r\n }\r\n}\r\n\r\n@Component\r\nclass AsyncView extends ViewBase {\r\n public mounted() {\r\n this.$on('updateView', () => {\r\n requestAnimationFrame(() => {\r\n this.updateHead();\r\n this.updateAnalytics();\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport {\r\n View,\r\n AsyncView\r\n}\r\n"],"sourceRoot":""}