{"version":3,"sources":["webpack:///./src/views/Testimonials.vue?f776","webpack:///./src/views/Testimonials.vue","webpack:///./src/views/Testimonials.vue?5e90","webpack:///./src/views/Testimonials.vue?c819","webpack:///./node_modules/client-website-ts-library/plugins/view/index.ts"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","filter","staticRenderFns","components","TestimonialList","component","prolistAnalyticsService","ServiceManager","Get","Analytics","headService","Require","Head","evt","obj","getAnalyticsEvent","call","getAnalyticsData","$route","path","name","undefined","triggerAnalyticsEvent","event","GetAll","forEach","adapter","Record","result","head","bind","Promise","then","meta","Update","UpdateWithStatic","requestAnimationFrame","updateHead","updateAnalytics","$on"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,OAAO,CAACA,EAAG,eAAe,CAACE,MAAM,CAAC,KAAO,OAAO,MAAQ,kBAAkBF,EAAG,aAAa,CAACA,EAAG,mBAAmB,CAACA,EAAG,kBAAkB,CAACE,MAAM,CAAC,OAASN,EAAIO,WAAW,IAAI,IAAI,IAC9QC,EAAkB,G,4GCsBD,EAArB,yG,0BACY,EAAAD,OAA4B,IAAI,OAD5C,YAA0C,eAAO,SAA5B,EAAY,yBALhC,eAAU,CACTE,WAAY,CACVC,kBAAA,SAGiB,WCvBkX,I,YCOnYC,EAAY,eACd,EACAZ,EACAS,GACA,EACA,KACA,KACA,MAIa,aAAAG,E,ypBCJT,EAAN,yG,0BACY,EAAAC,wBAA0BC,EAAA,KAAeC,IAA6B,OAAYC,UAAW,2BAC7F,EAAAC,YAAcH,EAAA,KAAeI,QAAqB,OAAYC,MAF1E,mEAKI,IAAIC,EAA6B,KAC7BC,EAAmC,KAED,qBAA3BnB,KAAKoB,kBACdF,EAAMlB,KAAKoB,kBAAkBC,KAAKrB,MACO,qBAA1BA,KAAKsB,mBACpBH,EAAMnB,KAAKsB,iBAAiBD,KAAKrB,OAGvB,OAARkB,IAAcA,EAAM,IAAIJ,EAAA,KAAkBd,KAAKuB,OAAOC,KAAMxB,KAAKuB,OAAOE,MAAQ,GAAIN,QAAOO,IAE/F1B,KAAK2B,sBAAsBT,KAhB/B,4CAmB+BU,GAC3BhB,EAAA,KAAeiB,OAA0B,OAAYf,WAAWgB,SAAQ,SAACC,GACvEA,EAAQC,OAAOJ,QArBrB,kDAyBqCA,GACI,OAAjC5B,KAAKW,yBAAkCX,KAAKW,wBAAwBqB,OAAOJ,KA1BnF,mCA6BsB,WAClB,GAAI,SAAU5B,KAAM,CAClB,IAAMiC,EAASjC,KAAKkC,KAAMC,KAAKnC,KAAhBA,GAEZiC,aAAkBG,QACnBH,EAAOI,MAAK,SAACC,GACX,EAAKvB,YAAYwB,OAAOD,MAG1BtC,KAAKe,YAAYwB,OAAON,QAG1BjC,KAAKe,YAAYyB,iBAAiBxC,KAAKuB,OAAOC,UAzCpD,GAAuB,cAAjB,EAAQ,GADb,QACK,GA+CN,IAAM,EAAN,oLACgB,WACZiB,uBAAsB,WACpB,EAAKC,aACL,EAAKC,yBAJX,GAAmB,GAAb,EAAI,GADT,QACK,GAUN,IAAM,EAAN,oLACgB,WACZ3C,KAAK4C,IAAI,cAAc,WACrBH,uBAAsB,WACpB,EAAKC,aACL,EAAKC,4BALb,GAAwB,GAAlB,EAAS,GADd,QACK,I","file":"js/chunk-41ed960e.ffea6981.js","sourcesContent":["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('TestimonialList',{attrs:{\"filter\":_vm.filter}})],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\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--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=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":""}