{"version":3,"sources":["webpack:///./src/views/Forms/Townsville/TenancyApplicationForm.vue?31c2","webpack:///./src/views/Forms/Townsville/TenancyApplicationForm.vue","webpack:///./src/views/Forms/Townsville/TenancyApplicationForm.vue?05d2","webpack:///./src/views/Forms/Townsville/TenancyApplicationForm.vue?325f"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","office","WebsitePhotoPreview","Url","staticClass","formCtx","_e","staticRenderFns","officeId","Offices","Get","then","ctx","ClientWebsiteId","Website","Id","Items","Type","Context","Office","EnquiryTargetProfile","listingId","$route","query","undefined","push","Listing","components","Form","component"],"mappings":"uHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,OAAO,CAAEJ,EAAU,OAAE,CAACI,EAAG,eAAe,CAACE,MAAM,CAAC,MAAQN,EAAIO,OAAOC,oBAAoBC,IAAI,KAAO,OAAO,MAAQ,2BAA2B,aAAa,UAAUL,EAAG,aAAa,CAACA,EAAG,mBAAmB,CAACM,YAAY,6BAA6B,CAAEV,EAAW,QAAEI,EAAG,OAAO,CAACE,MAAM,CAAC,QAAUN,EAAIW,QAAQ,KAAO,kEAAkEX,EAAIY,MAAM,IAAI,IAAIZ,EAAIY,MAAM,IAC/eC,EAAkB,G,wHC0BD,EAArB,yG,0BACU,EAAAF,QAA0B,KAE1B,EAAAJ,OAAwB,KAHlC,gDAKE,WAAO,aACCO,EAAW,uCAEjB,OAAIC,QAAQC,IAAIF,GAAUG,MAAK,SAACV,GAC9B,EAAKA,OAASA,KAGhB,IAAMW,EAAe,CACnBC,gBAAiB,OAAOC,QAAQC,GAChCC,MAAO,CACL,CACEC,KAAMC,EAAA,KAAgBC,OACtBJ,GAAIP,GAEN,CACES,KAAMC,EAAA,KAAgBE,qBACtBL,GAAI,0CAKJM,EAAS,UAAG1B,KAAK2B,OAAOC,MAAMF,iBAArB,aAAkCG,EAE7CH,GACFT,EAAII,MAAMS,KAAK,CACbR,KAAMC,EAAA,KAAgBQ,QACtBX,GAAIM,IAIR1B,KAAKU,QAAUO,MAnCnB,GAA8D,eAAO,SAAhD,EAAgC,yBALpD,eAAU,CACTe,WAAY,CACVC,OAAA,SAGiB,WC3Bga,I,YCOjbC,EAAY,eACd,EACApC,EACAc,GACA,EACA,KACA,WACA,MAIa,aAAAsB,E","file":"js/chunk-2d22d5f8.f33add86.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Page',[(_vm.office)?[_c('SiteMasthead',{attrs:{\"image\":_vm.office.WebsitePhotoPreview.Url,\"mini\":\"true\",\"title\":\"Tenancy Application Form\",\"extra-dark\":\"true\"}}),_c('ContentRow',[_c('ContentContainer',{staticClass:\"content-container--medium\"},[(_vm.formCtx)?_c('Form',{attrs:{\"context\":_vm.formCtx,\"type\":\"Variations.ExploreProperty.Townsville.TenancyApplicationForm\"}}):_vm._e()],1)],1)]:_vm._e()],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { View } from 'client-website-ts-library/plugins';\r\nimport { API, Config } from 'client-website-ts-library/services';\r\nimport { Context, Office } from 'client-website-ts-library/types';\r\nimport { ContextItemType } from 'client-website-ts-library/types/Context';\r\nimport { Component, Mixins } from 'vue-property-decorator';\r\n\r\nimport Form from '../../../components/Forms/Form.vue';\r\n\r\n@Component({\r\n components: {\r\n Form,\r\n },\r\n})\r\nexport default class TownsvilleTenancyApplicationForm extends Mixins(View) {\r\n private formCtx: Context | null = null\r\n\r\n private office: Office | null = null\r\n\r\n mounted() {\r\n const officeId = '9b66b988-0144-43b3-a085-5a20621b01f0'; // Townsville\r\n\r\n API.Offices.Get(officeId).then((office) => {\r\n this.office = office;\r\n });\r\n\r\n const ctx: Context = {\r\n ClientWebsiteId: Config.Website.Id,\r\n Items: [\r\n {\r\n Type: ContextItemType.Office,\r\n Id: officeId,\r\n },\r\n {\r\n Type: ContextItemType.EnquiryTargetProfile,\r\n Id: '3e9cef44-ee93-4101-9bab-25834e67765a', // ExplorePropertyTownsvilleRentals\r\n },\r\n ],\r\n };\r\n\r\n const listingId = this.$route.query.listingId ?? undefined;\r\n\r\n if (listingId) {\r\n ctx.Items.push({\r\n Type: ContextItemType.Listing,\r\n Id: listingId as string,\r\n });\r\n }\r\n\r\n this.formCtx = ctx;\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!./TenancyApplicationForm.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!./TenancyApplicationForm.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TenancyApplicationForm.vue?vue&type=template&id=60a0a42a&scoped=true&\"\nimport script from \"./TenancyApplicationForm.vue?vue&type=script&lang=ts&\"\nexport * from \"./TenancyApplicationForm.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 \"60a0a42a\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}