{"version":3,"sources":["webpack:///./src/components/ProfileCard.vue?3594","webpack:///./src/components/ProfileCard.vue","webpack:///./src/components/ProfileCard.vue?89b7","webpack:///./src/components/ProfileCard.vue?7d3e","webpack:///./src/components/Common/RichTextToggle.vue?b826","webpack:///./src/components/Common/RichTextToggle.vue","webpack:///./src/components/Common/RichTextToggle.vue?0185","webpack:///./src/components/Common/RichTextToggle.vue?4026","webpack:///./src/components/ProfileCard.vue?4a6c","webpack:///./src/views/ListingDetails.vue?3384","webpack:///./src/components/InspectionCard.vue?c223","webpack:///./src/components/InspectionCard.vue","webpack:///./src/components/InspectionCard.vue?09f0","webpack:///./src/components/InspectionCard.vue?0654","webpack:///./src/components/ListingAgentProfile.vue?116b","webpack:///./src/components/ListingAgentProfile.vue","webpack:///./src/components/ListingAgentProfile.vue?0c7a","webpack:///./src/components/ListingAgentProfile.vue?5960","webpack:///./src/views/ListingDetails.vue","webpack:///./src/views/ListingDetails.vue?fcc8","webpack:///./src/views/ListingDetails.vue?04f9","webpack:///./src/components/ListingAgentProfile.vue?d2e5","webpack:///./src/components/InspectionCard.vue?20fd","webpack:///./src/components/Common/RichTextToggle.vue?671a","webpack:///./node_modules/client-website-ts-library/types/Forms/FormConstructorData.ts","webpack:///./node_modules/client-website-ts-library/types/Forms/FormField.ts","webpack:///./node_modules/client-website-ts-library/types/Forms/FormValue.ts","webpack:///./src/views/ListingDetails.vue?53f4"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","profile","Slug","Photo","_v","_s","FullName","getAgentPostion","Office","OfficeName","staticRenderFns","displayType","console","log","DisplayType","Agent","PersonalAssistant","PropertyManager","CommercialAgent","Principal","component","class","toggled","countLines","showlines","style","domProps","content","on","toggle","_e","split","length","required","default","cyclerItems","isMobile","cyclerBreakpoints","handleVideoViewed","isCurrent","listing","Status","Agents","sellingAgents","Header","formattedAddressLine1","formattedAddressLine2","replaceWebDescriptionBreaksWithParagraphs","Features","FeatureList","_l","feature","key","InspectionTimes","inspection","StartDate","methodOfSale","MethodOfSale","Auction","Date","DayName","LongName","DayOfMonth","MonthName","Year","Time","Address","Price","PropertyType","formattedDateAvailable","BondPrice","Bedrooms","Bathrooms","Parking","Total","Area","TotalBuilding","Land","Id","getOffice","$event","virtualTourShown","alert","ExternalLinks","link","index","Url","Files","file","Type","Label","isSale","formData","handleContactFormSubmitted","mapSettings","virtualTour","EmbedId","handleClicked","inspectionTime","StartDateInfo","ShortName","EndDateInfo","Listings","GetOpenHomeICS","EndDate","then","ics","fileParts","VCalContent","blob","Blob","type","url","URL","createObjectURL","a","document","createElement","display","body","appendChild","href","download","MicroAddress","click","setTimeout","window","revokeObjectURL","remove","agent","tmp","innerHTML","AboutAgent","text","innerText","substring","analyticsService","Get","Analytics","evt","CallAgentClicked","FromProfile","Realtime","Record","components","ProfileCard","Map","breakpoint","settings","slidesToShow","str","arr","HtmlWebDescription","lid","$route","params","id","indexOf","Context","Listing","Images","map","img","ItemCycler","EmbeddedContent","forEach","item","Youtube","Vimeo","splice","DisplayAddress","Markers","Coordinate","Coordinates","Title","$emit","location","hash","catch","Log","Error","parts","UnitNumber","push","StreetNumber","join","Suburb","State","PostCode","DateAvailable","now","dateAvailable","getDate","getMonth","getFullYear","toString","substr","tour","find","VirtualTour","agents","last","pop","number","singular","plural","title","description","Introduction","image","Preview","undefined","FromListing","triggerCustomAnalyticsEvent","ListingVideoViewed","ContactFormSubmit","GetInspectRealEstateData","ireData","isSafari","test","navigator","userAgent","open","InspectionCard","ListingAgentProfile","Form","RichTextToggle","items","ClientWebsiteId","Config","Website","Items","FormFieldType","FormValue","value","Key","Value"],"mappings":"2IAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,OAAO,CAACE,YAAY,gBAAgBC,MAAM,CAAC,KAAO,aAAeP,EAAIQ,QAAQC,OAAO,CAACL,EAAG,MAAM,CAACE,YAAY,uBAAuB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AK2N,4BAA4B,IAAI3E,EAAA,KAAeA,EAAA,KAAmB6E,kBAAmB7E,EAAA,KAAqB0E,YAAY1N,KAAK8C,WAGlI,mBACE5B,QAAQC,IAAI,sBAEZ,OAAIyF,SAASkH,yBAAyB9N,KAAK8C,QAASsC,IAAI2B,KAAMgH,IAC5D,MAAMC,EAAW,iCAAiCC,KAAKC,UAAUC,WAEjEjN,QAAQC,IAAI6M,EAAUE,UAAUC,WAE5BH,EACF5F,OAAOkD,SAASvD,KAAOgG,EAAQnI,IAE/BwC,OAAOgG,KAAKL,EAAQnI,IAAK,YAE1B4F,MAAM,KAEPhG,MAAM,2EAlOS,EAAc,GAVlC,eAAU,CACT8D,WAAY,CACVmB,WAAA,OACA4D,eAAA,EACA7E,MACA8E,oBAAA,EACAC,OAAA,KACAC,iBAAA,SAGiB,WClPoX,ICQrY,G,UAAY,eACd,EACA1O,EACAkB,GACA,EACA,KACA,WACA,OAIa,e,oECnBf,yBAAkf,EAAG,G,2DCArf,yBAA6e,EAAG,G,oCCAhf,yBAAue,EAAG,G,wHCG1e,MAAM,EAIJ,YAAYyN,GAHL,KAAAC,gBAA0BC,EAAA,KAAOC,QAAQxJ,GAI9CpF,KAAK6O,MAAQJ,GAAS,I,ICNrBK,E,WAAL,SAAKA,GAED,sBACA,wBACA,oBACA,8BACA,8BACA,oCACA,kCACA,gDACA,kCACA,sBACA,iCACA,wCAbJ,CAAKA,MAAa,K,wCCClB,MAAMC,EAIF,YAAYrL,EAAasL,GACrBhP,KAAKiP,IAAMvL,EACX1D,KAAKkP,MAAQF,K,gFCTrB,yBAA6e,EAAG,G","file":"js/chunk-9b28da14.d73fe26d.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Card',{staticClass:\"card--profile\",attrs:{\"href\":'/profiles/' + _vm.profile.Slug}},[_c('div',{staticClass:\"profile-card__image\"},[(_vm.profile.Photo)?_c('LazyImage',{attrs:{\"image\":_vm.profile.Photo,\"preview-width\":375,\"thumb-width\":100}}):_c('LazyImage',{attrs:{\"image\":'/assets/images/brand/logo-icon.svg',\"preview-width\":375,\"thumb-width\":100}}),_c('span',[_vm._v(\"View Agent\")])],1),_c('div',{staticClass:\"profile-card__details\"},[_c('h3',{staticClass:\"profile-card__details__name\"},[_vm._v(_vm._s(_vm.profile.FullName))]),_c('h4',{staticClass:\"profile-card__details__position\"},[_vm._v(\" \"+_vm._s(_vm.getAgentPostion())+\" \"),_c('span',{staticClass:\"orange pipe\"},[_vm._v(\"|\")]),_vm._v(\" \"+_vm._s(_vm.profile.Office.OfficeName)+\" \")])])])}\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\nimport { Component, Vue, Prop } from 'vue-property-decorator';\nimport { Profile, WebsiteProfileDisplayType } from 'client-website-ts-library/types/Profile';\n\n@Component\nexport default class ProfileCard extends Vue {\n @Prop()\n private readonly profile!: Profile;\n\n getAgentPostion(): string {\n if (this.profile === null) return '';\n let displayType: string;\n console.log(this.profile.FullName);\n switch (this.profile.DisplayType) {\n case WebsiteProfileDisplayType.Agent:\n displayType = 'Agent';\n break;\n case WebsiteProfileDisplayType.PersonalAssistant:\n displayType = 'Assistant';\n break;\n case WebsiteProfileDisplayType.PropertyManager:\n displayType = 'PM';\n break;\n case WebsiteProfileDisplayType.CommercialAgent:\n displayType = 'Agent';\n break;\n case WebsiteProfileDisplayType.Principal:\n displayType = 'Principal';\n break;\n default:\n displayType = 'Agent';\n break;\n }\n\n return displayType;\n }\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!./ProfileCard.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!./ProfileCard.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ProfileCard.vue?vue&type=template&id=0de92562&scoped=true&\"\nimport script from \"./ProfileCard.vue?vue&type=script&lang=ts&\"\nexport * from \"./ProfileCard.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./ProfileCard.vue?vue&type=style&index=0&id=0de92562&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 \"0de92562\",\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',[_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\nimport { Component, Vue, Prop } from 'vue-property-decorator';\n\n@Component\nexport default class RichTextToggle extends Vue {\n @Prop({ required: true })\n private readonly content!: string;\n\n @Prop({ default: 5 })\n private readonly showlines!: number;\n\n private toggled = false;\n\n countLines(): number {\n return this.content!.split('

').length;\n }\n\n toggle() {\n this.toggled = !this.toggled;\n }\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!./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=7c1a376f&\"\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!./ProfileCard.vue?vue&type=style&index=0&id=0de92562&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!./ProfileCard.vue?vue&type=style&index=0&id=0de92562&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Page',[(_vm.listing)?[_c('SiteMasthead',{attrs:{\"title\":\"\",\"none\":\"true\"}}),(_vm.cyclerItems.length)?_c('div',{staticClass:\"listing__image-carousel-wrap\"},[_c('ItemCycler',{staticClass:\"listing__image-carousel\",attrs:{\"inset\":true,\"objects\":_vm.cyclerItems,\"speed\":1000,\"items\":_vm.isMobile ? 1 : 1.5,\"touch\":\"true\",\"center\":!_vm.isMobile,\"loop\":true,\"responsive\":_vm.cyclerBreakpoints,\"force-height\":true},on:{\"viewVideo\":_vm.handleVideoViewed}})],1):_vm._e(),(!_vm.isCurrent)?_c('div',{staticClass:\"listing-info-bar__off-market\"},[_c('ContentContainer',{staticClass:\"listing-info-bar__row\"},[_vm._v(\" \"+_vm._s(_vm.listing.Status)+\" \"),(_vm.listing.Agents.length)?[_vm._v(\" by \"+_vm._s(_vm.sellingAgents)+\" \")]:_vm._e()],2)],1):_vm._e(),_c('ContentRow',[_c('ContentContainer',[_c('Row',{attrs:{\"verticalAlign\":''}},[_c('Column',{attrs:{\"width\":\"8\",\"mdWidth\":\"12\",\"smWidth\":\"12\"}},[_c('div',{staticClass:\"listing__body__section\"},[_c('h1',{staticClass:\"listing__heading\"},[_vm._v(_vm._s(_vm.listing.Header))]),_c('Heading',{staticClass:\"listing-info-bar__address\",attrs:{\"level\":\"h2\"}},[_vm._v(\" \"+_vm._s(_vm.formattedAddressLine1)+\" \"),_c('br'),_vm._v(\" \"+_vm._s(_vm.formattedAddressLine2)+\" \")]),_c('RichTextToggle',{attrs:{\"content\":_vm.replaceWebDescriptionBreaksWithParagraphs()}})],1),(_vm.listing.Features.FeatureList.length)?_c('div',{staticClass:\"listing__body__section\"},[_c('h4',{staticClass:\"listing__body__section__title\"},[_vm._v(\"Features\")]),_c('ul',{staticClass:\"listing__features\"},_vm._l((_vm.listing.Features.FeatureList),function(feature){return _c('li',{key:feature},[_vm._v(_vm._s(feature))])}),0)]):_vm._e(),(_vm.listing.InspectionTimes.length)?_c('div',{staticClass:\"listing__body__section\"},[_c('h4',{staticClass:\"listing__body__section__title\"},[_vm._v(\"Inspection Times\")]),_c('Cards',{attrs:{\"h-align\":\"flex-start\"}},_vm._l((_vm.listing.InspectionTimes),function(inspection){return _c('InspectionCard',{key:inspection.StartDate,attrs:{\"pectionCard\":\"\",\"listing\":_vm.listing,\"inspection-time\":inspection}})}),1)],1):_vm._e()]),_c('Column',{attrs:{\"width\":\"1\",\"mdWidth\":\"12\",\"smWidth\":\"12\"}},[_c('hr',{staticClass:\"line\"})]),_c('Column',{attrs:{\"width\":\"3\",\"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',{staticClass:\"contact-method\"},[_c('Heading',{staticClass:\"beyond-infinity listing-method-of-sale\",attrs:{\"level\":\"h5\"}},[_vm._v(_vm._s(_vm.methodOfSale()))])],1),(_vm.listing.MethodOfSale === 'Auction')?_c('li',[_c('span',[_vm._v(_vm._s(_vm.listing.Auction.Date.DayName.LongName)+\" \"+_vm._s(_vm.listing.Auction.Date.DayOfMonth)+\" \"+_vm._s(_vm.listing.Auction.Date.MonthName.LongName)+\" \"+_vm._s(_vm.listing.Auction.Date.Year.LongName)+\" \"),_c('br'),_vm._v(\" at \"+_vm._s(_vm.listing.Auction.Date.Time.LongName))])]):_vm._e(),(_vm.listing.MethodOfSale === 'Auction')?_c('li',[_c('span',[_vm._v(_vm._s(_vm.listing.Auction.Address))])]):_vm._e(),_c('li',{staticClass:\"contact-method\"},[(_vm.listing.Price.Price && _vm.listing.MethodOfSale !== 'Auction')?_c('Heading',{staticClass:\"listing-info-bar__price\",attrs:{\"level\":\"h5\"}},[_vm._v(_vm._s(_vm.listing.Price.Price))]):_c('Heading',{staticClass:\"listing-info-bar__price\",attrs:{\"level\":\"h5\"}},[_vm._v(\"Contact Agent\")])],1),(_vm.listing.MethodOfSale === 'Lease' && _vm.listing.Status === 'Current')?_c('li',{staticClass:\"contact-method\"},[_c('span',[_vm._v(\"Property Type: \"+_vm._s(_vm.listing.PropertyType))])]):_vm._e(),(_vm.listing.MethodOfSale === 'Lease' && _vm.listing.Status === 'Current')?_c('li',{staticClass:\"contact-method\"},[_c('span',[_vm._v(\"Available Date: \"+_vm._s(_vm.formattedDateAvailable))])]):_vm._e(),(_vm.listing.MethodOfSale === 'Lease' && _vm.listing.Status === 'Current')?_c('li',{staticClass:\"contact-method\"},[_c('span',[_vm._v(\"Bond: \"+_vm._s(_vm.listing.Price.BondPrice))])]):_vm._e(),_c('li',{staticClass:\"contact-method__spacer\"}),_c('li',{staticClass:\"contact-method\"},[_c('div',{staticClass:\"listing-info-bar__item\"},[_c('ul',{staticClass:\"listing-meta\"},[(_vm.listing.Features.Bedrooms)?_c('li',[_c('Icon',{attrs:{\"icon\":\"bed\",\"colour\":\"\"}}),_c('span',{staticClass:\"listing-meta--text\"},[_vm._v(_vm._s(_vm.listing.Features.Bedrooms))])],1):_vm._e(),(_vm.listing.Features.Bathrooms)?_c('li',[_c('Icon',{attrs:{\"icon\":\"bath\",\"colour\":\"\"}}),_c('span',{staticClass:\"listing-meta--text\"},[_vm._v(_vm._s(_vm.listing.Features.Bathrooms))])],1):_vm._e(),(_vm.listing.Features.Parking.Total)?_c('li',[_c('Icon',{attrs:{\"icon\":\"car\",\"colour\":\"\"}}),_c('span',{staticClass:\"listing-meta--text\"},[_vm._v(_vm._s(_vm.listing.Features.Parking.Total))])],1):_vm._e()])])]),_c('li',[_c('div',{staticClass:\"listing-info-bar__item\"},[_c('ul',{staticClass:\"listing-meta\"},[(_vm.listing.Features.Area.TotalBuilding && (_vm.listing.PropertyType == 'Unit' || _vm.listing.PropertyType == 'Appartment'))?_c('li',[_c('Icon',{attrs:{\"icon\":\"crop-button\",\"colour\":\"\"}}),_c('span',{staticClass:\"listing-meta--text\"},[_vm._v(_vm._s(_vm.listing.Features.Area.TotalBuilding)+\" Sq. M\")])],1):(_vm.listing.Features.Area.Land)?_c('li',[_c('Icon',{attrs:{\"icon\":\"crop-button\",\"colour\":\"\"}}),_c('span',{staticClass:\"listing-meta--text\"},[_vm._v(_vm._s(_vm.listing.Features.Area.Land)+\" Sq. M\")])],1):_vm._e()])])]),_c('li',{staticClass:\"contact-method__spacer\"}),_c('li',{staticClass:\"contact-method\"},[_c('Row',[_c('Column',{attrs:{\"width\":\"6\",\"mdWidth\":\"12\",\"smWidth\":\"12\"}},[(_vm.listing.MethodOfSale !== 'Lease')?_c('LinkButton',{staticClass:\"office-button\",attrs:{\"width\":'120px',\"padding\":'0.5em',\"href\":'/listings/' + _vm.listing.Id + '/make-an-offer',\"margin\":false,\"backgroundColour\":'var(--brand-secondary)',\"colour\":'#FFF',\"border\":'solid 2px var(--brand-secondary)'}},[_vm._v(\" Make an Offer \")]):(_vm.getOffice().Id == '91b553f9-7cbc-4697-bf7d-d70714b674a4' || _vm.getOffice().Id == '29d9080e-165e-4372-afc4-374f5b90fdde')?_c('LinkButton',{staticClass:\"office-button\",attrs:{\"width\":'120px',\"padding\":'0.5em',\"href\":'/assets/files/tenancy-application-cairns-property-office-city-rentals.pdf',\"external\":true,\"margin\":false,\"backgroundColour\":'var(--brand-secondary)',\"colour\":'#FFF',\"border\":'solid 2px var(--brand-secondary)'}},[_vm._v(\" Apply Now \")]):_c('LinkButton',{staticClass:\"office-button\",attrs:{\"width\":'120px',\"padding\":'0.5em',\"href\":'/assets/files/tenancy-application-cairns-property-office-redlynch-rentals.pdf',\"external\":true,\"margin\":false,\"backgroundColour\":'var(--brand-secondary)',\"colour\":'#FFF',\"border\":'solid 2px var(--brand-secondary)'}},[_vm._v(\" Apply Now \")])],1),(_vm.virtualTour)?_c('Column',{attrs:{\"width\":\"6\",\"mdWidth\":\"12\",\"smWidth\":\"12\"}},[_c('LinkButton',{staticClass:\"office-button\",attrs:{\"width\":'120px',\"padding\":'0.5em',\"margin\":false,\"backgroundColour\":'var(--brand-primary)',\"colour\":'#FFF',\"border\":'solid 2px var(--brand-primary)'},on:{\"clicked\":function($event){_vm.virtualTourShown = true; _vm.alert('asdsda');}}},[_vm._v(\" Virtual Tour \")])],1):_vm._e()],1)],1),(_vm.listing.ExternalLinks.length > 0)?_c('li',{staticClass:\"contact-method\"},[_c('Row',_vm._l((_vm.listing.ExternalLinks),function(link,index){return _c('Column',{key:link.Url,attrs:{\"width\":\"6\",\"mdWidth\":\"12\",\"smWidth\":\"12\"}},[_c('LinkButton',{staticClass:\"office-button\",attrs:{\"width\":'120px',\"padding\":'0.5em',\"href\":link.Url,\"external\":true,\"margin\":false,\"backgroundColour\":'var(--brand-primary)',\"colour\":'#FFF',\"border\":'solid 2px var(--brand-primary)'}},[_vm._v(\" External Link \"+_vm._s(index + 1)+\" \")])],1)}),1)],1):_vm._e(),(_vm.listing.Files.length > 0)?_c('li',{staticClass:\"contact-method\"},_vm._l((_vm.listing.Files),function(file,index){return _c('LinkButton',{key:file.Url,staticClass:\"office-button\",attrs:{\"width\":'120px',\"padding\":'0.5em',\"href\":file.Url,\"external\":true,\"margin\":false,\"backgroundColour\":'var(--brand-primary)',\"colour\":'#FFF',\"border\":'solid 2px var(--brand-primary)'}},[(file.Type === 2)?_c('span',[_vm._v(\"Floor Plan \"+_vm._s(index + 1))]):_vm._e(),(file.Type === 1)?_c('span',[_vm._v(_vm._s(file.Label))]):_vm._e()])}),1):_vm._e()])])])])],1)],1)],1),_c('div',{staticClass:\"listing__wrap\"},[_c('ContentContainer',[_c('Row',{attrs:{\"vertical-align\":\"flex-start\",\"horizontal-align\":\"center\"}},[_c('Column',{attrs:{\"width\":\"8\"}},[(_vm.isCurrent || _vm.isSale)?_c('div',{staticClass:\"listing__body__section\"},[_c('Deferrable',[(_vm.formData)?_c('Form',{attrs:{\"type\":\"Listing.BasicListingContactForm\",\"context\":_vm.formData},on:{\"submitted\":_vm.handleContactFormSubmitted}}):_vm._e()],1)],1):_vm._e()]),_c('Column',{attrs:{\"width\":\"4\",\"md-width\":\"12\"}},[_c('div',{staticClass:\"listing__body__section\"},[_c('ListingAgentProfile',{attrs:{\"listing\":_vm.listing}})],1)])],1)],1)],1),(_vm.mapSettings)?_c('Deferrable',[_c('Map',{staticClass:\"listing__map\",attrs:{\"settings\":_vm.mapSettings}})],1):_vm._e(),(_vm.virtualTour)?[_c('transition',{attrs:{\"name\":\"fade\"}},[(_vm.virtualTourShown)?_c('div',{staticClass:\"virtual-tour\"},[_c('div',{staticClass:\"virtual-tour__nav\"},[_c('Button',{staticClass:\"virtual-tour__nav__btn\",on:{\"click\":function($event){_vm.virtualTourShown = false}}},[_vm._v(\"Exit Virtual Tour\")])],1),_c('iframe',{staticClass:\"virtual-tour__frame\",attrs:{\"src\":_vm.virtualTour.EmbedId,\"frameborder\":\"0\",\"referrerpolicy\":\"no-referrer-when-downgrade\",\"allowfullscreen\":\"true\"}})]):_vm._e()])]:_vm._e()]:_vm._e()],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Card',{staticClass:\"card--inspection-time\",on:{\"click\":_vm.handleClicked}},[_c('div',{staticClass:\"inspection-time__body\"},[_c('div',{staticClass:\"inspection-time__date\"},[_c('span',{staticClass:\"inspection-time__date__month\"},[_vm._v(_vm._s(_vm.inspectionTime.StartDateInfo.MonthName.ShortName))]),_c('span',{staticClass:\"inspection-time__date__day\"},[_vm._v(_vm._s(_vm.inspectionTime.StartDateInfo.DayOfMonth))])]),_c('div',{staticClass:\"inspection-time__details\"},[_c('span',{staticClass:\"inspection-time__details__day-name\"},[_vm._v(_vm._s(_vm.inspectionTime.StartDateInfo.DayName.LongName))]),_c('span',{staticClass:\"inspection-time__details__time\"},[_vm._v(_vm._s(_vm.inspectionTime.StartDateInfo.Time.LongName)+\" — \"+_vm._s(_vm.inspectionTime.EndDateInfo.Time.LongName))])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Prop } from 'vue-property-decorator';\nimport { InspectionTime, Listing } from 'client-website-ts-library/types';\nimport { API } from 'client-website-ts-library/services';\n\n@Component\nexport default class InspectionCard extends Vue {\n @Prop()\n private readonly inspectionTime!: InspectionTime;\n\n @Prop()\n private readonly listing!: Listing;\n\n handleClicked() {\n API.Listings.GetOpenHomeICS(this.listing.Id, this.inspectionTime.StartDate, this.inspectionTime.EndDate).then((ics) => {\n const fileParts = [ics.VCalContent];\n const blob = new Blob(fileParts, { type: 'text/calendar' });\n const url = URL.createObjectURL(blob);\n\n const a = document.createElement('a');\n a.style.display = 'none';\n document.body.appendChild(a);\n\n a.href = url;\n a.download = `${this.listing.Address.MicroAddress}.ics`;\n a.click();\n\n setTimeout(() => {\n window.URL.revokeObjectURL(url);\n a.remove();\n }, 10);\n });\n }\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!./InspectionCard.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!./InspectionCard.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./InspectionCard.vue?vue&type=template&id=1681944e&scoped=true&\"\nimport script from \"./InspectionCard.vue?vue&type=script&lang=ts&\"\nexport * from \"./InspectionCard.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./InspectionCard.vue?vue&type=style&index=0&id=1681944e&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 \"1681944e\",\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:\"agent-profiles\"},_vm._l((_vm.listing.Agents),function(agent){return _c('div',{key:agent.Id},[_c('ProfileCard',{attrs:{\"profile\":agent}})],1)}),0)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\nimport { Component, Vue, Prop } from 'vue-property-decorator';\nimport { Listing, Profile } from 'client-website-ts-library/types';\nimport { ServiceManager, ServiceType } from 'client-website-ts-library/services';\nimport { AnalyticsEvent, AnalyticsEventObject, AnalyticsEventType, IAnalyticsAdapter, AnalyticsEventPriority } from 'client-website-ts-library/services/Analytics';\nimport ProfileCard from './ProfileCard.vue';\n\n@Component({\n components: {\n ProfileCard,\n },\n})\nexport default class ListingAgentProfile extends Vue {\n @Prop()\n private readonly listing!: Listing;\n\n private getShortAgentProfile(profile: Profile): string {\n const tmp = document.createElement('div');\n\n tmp.innerHTML = profile.AboutAgent;\n\n const text = tmp.innerText;\n\n return text.length < 120 ? text : `${tmp.innerText.substring(0, 100)}...`;\n }\n\n handlePhoneClicked(profile: Profile) {\n const analyticsService = ServiceManager.Get(ServiceType.Analytics, 'PROListAnalyticsAdapter');\n\n const evt = new AnalyticsEvent(AnalyticsEventType.CallAgentClicked, AnalyticsEventObject.FromProfile(profile), AnalyticsEventPriority.Realtime);\n\n analyticsService!.Record(evt);\n }\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!./ListingAgentProfile.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!./ListingAgentProfile.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ListingAgentProfile.vue?vue&type=template&id=c5180804&scoped=true&\"\nimport script from \"./ListingAgentProfile.vue?vue&type=script&lang=ts&\"\nexport * from \"./ListingAgentProfile.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./ListingAgentProfile.vue?vue&type=style&index=0&id=c5180804&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 \"c5180804\",\n null\n \n)\n\nexport default component.exports","\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\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\nimport { Component, Mixins } from 'vue-property-decorator';\nimport { Listing, MapSettings, Office, Profile } from 'client-website-ts-library/types';\nimport { ItemCyclerSlide, ItemCyclerReiszableImageSlide, ItemCyclerEmbeddableSlide } from '@/app_code/ItemCycler';\nimport { CarouselBreakpoint } from '@/app_code/CarouselBreakpoint';\nimport { API, Logger, LogLevel } from 'client-website-ts-library/services';\nimport { EmbeddedContent, EmbeddedContentType } from 'client-website-ts-library/types/EmbeddedContent/EmbeddedContent';\nimport { FormConstructorData } from 'client-website-ts-library/types/Forms';\nimport { ContextItemType } from 'client-website-ts-library/types/Context';\nimport { AsyncView, RouteMeta } from 'client-website-ts-library/plugins';\n\nimport ItemCycler from '@/components/Cycler/ItemCycler.vue';\nimport InspectionCard from '@/components/InspectionCard.vue';\nimport ListingAgentProfile from '@/components/ListingAgentProfile.vue';\nimport Form from '@/components/Forms/Form.vue';\nimport { AnalyticsEvent, AnalyticsEventObject, AnalyticsEventType } from 'client-website-ts-library/services/Analytics';\nimport RichTextToggle from '@/components/Common/RichTextToggle.vue';\n\nconst Map = () => import('client-website-ts-library/components/Map/Map.vue');\n\n@Component({\n components: {\n ItemCycler,\n InspectionCard,\n Map,\n ListingAgentProfile,\n Form,\n RichTextToggle,\n },\n})\nexport default class ListingDetails extends Mixins(AsyncView) {\n private listing: Listing | null = null;\n\n private mapSettings?: MapSettings;\n\n private isMobile = false;\n\n private cyclerItems: ItemCyclerSlide[] = [];\n\n private cyclerBreakpoints: CarouselBreakpoint[] = [\n {\n breakpoint: 0,\n settings: {\n slidesToShow: 1,\n },\n },\n {\n breakpoint: 768,\n settings: {\n slidesToShow: 2,\n },\n },\n ];\n\n private formData: FormConstructorData | null = null;\n\n private virtualTourShown = false;\n\n replaceWebDescriptionBreaksWithParagraphs(): string {\n let str = '';\n const arr = this.listing!.HtmlWebDescription.split('
');\n\n for (let index = 0; index < arr.length; index += 1) {\n if (arr[index] !== '') {\n str += (`

${arr[index]}

`);\n } else {\n str += ('

 

');\n }\n }\n\n return str;\n }\n\n created() {\n let lid = this.$route.params.id;\n\n if (lid.indexOf('&') !== -1) {\n lid = lid.split('&')[0];\n }\n\n API.Listings.Get(lid).then((listing) => {\n this.listing = listing;\n\n this.formData = new FormConstructorData([\n {\n Type: ContextItemType.Listing,\n Id: this.listing.Id,\n },\n ]);\n\n this.cyclerItems = listing.Images.map((img) => new ItemCyclerReiszableImageSlide(img, 0.6666));\n\n listing.EmbeddedContent.forEach((item) => {\n if (item.Type === EmbeddedContentType.Youtube || item.Type === EmbeddedContentType.Vimeo) {\n this.cyclerItems.splice(1, 0, new ItemCyclerEmbeddableSlide(item));\n }\n });\n\n if (listing.Address.DisplayAddress) {\n this.mapSettings = new MapSettings({\n Markers: [\n {\n Coordinate: listing.Address.Coordinates,\n Title: listing.Address.MicroAddress,\n },\n ],\n });\n }\n\n this.$emit('updateView');\n\n if (window.location.hash === '#virtualtour' && this.virtualTour != null) {\n this.virtualTourShown = true;\n }\n }).catch(() => {\n Logger.Log(LogLevel.Error, 'Failed to load listing');\n });\n }\n\n getOffice(): Office | null {\n let office: Office;\n if (this.listing!.Agents.length > 0) {\n return this.listing!.Agents[0].Office;\n }\n\n return null;\n }\n\n methodOfSale(): string {\n let methodOfSale = '';\n switch (this.listing!.MethodOfSale) {\n case 'Sale':\n methodOfSale = 'For Sale';\n break;\n case 'Lease':\n methodOfSale = 'For Lease';\n break;\n default:\n methodOfSale = this.listing!.MethodOfSale;\n break;\n }\n\n if (this.listing!.Status === 'Under Contract') {\n methodOfSale = 'Under Contract';\n }\n\n if (this.listing!.Status === 'Sold') {\n methodOfSale = 'Sold';\n }\n\n return methodOfSale;\n }\n\n get isCurrent(): boolean {\n return this.listing!.Status === 'Current' || this.listing!.Status === 'Under Contract';\n }\n\n get isSale(): boolean {\n return this.listing!.MethodOfSale === 'Sale' || this.listing!.MethodOfSale === 'For Sale' || this.listing!.MethodOfSale === 'Auction';\n }\n\n get formattedAddressLine1(): string {\n const parts = [];\n\n if (this.listing === null) return '';\n\n if (this.listing.Address.UnitNumber) {\n parts.push(`${this.listing.Address.UnitNumber} / ${this.listing.Address.StreetNumber}`);\n } else {\n parts.push(this.listing.Address.StreetNumber);\n }\n\n parts.push(this.listing.Address.Address);\n\n return parts.join(' ');\n }\n\n get formattedAddressLine2(): string {\n if (this.listing === null) return '';\n\n return `${this.listing.Address.Suburb}, ${this.listing.Address.State} ${this.listing.Address.PostCode}`;\n }\n\n get formattedDateAvailable(): string {\n if (!this.listing!.DateAvailable) return 'now';\n\n const now = new Date();\n const dateAvailable = new Date(this.listing!.DateAvailable);\n\n if (dateAvailable <= now) return 'now';\n\n return `${dateAvailable.getDate()}/${(dateAvailable.getMonth() + 1)}/${dateAvailable.getFullYear().toString().substr(2, 2)}`;\n }\n\n get virtualTour(): EmbeddedContent | null {\n if (this.listing === null) return null;\n\n const tour = this.listing.EmbeddedContent.find((content) => content.Type === EmbeddedContentType.VirtualTour);\n\n return tour || null;\n }\n\n get sellingAgents(): string {\n if (this.isCurrent || this.listing === null) return '';\n\n if (this.listing.Agents.length === 1) return this.listing.Agents[0].FullName;\n\n const agents = [...this.listing.Agents];\n\n const last = agents.pop();\n\n return `${agents.map((a) => a.FullName).join(', ')} & ${last?.FullName}`;\n }\n\n pluralise(number: number, singular: string, plural?: string): string {\n // eslint-disable-next-line no-nested-ternary\n return `${number} ${(number === 1 ? singular : plural == null ? `${singular}s` : plural)}`;\n }\n\n public head(): RouteMeta {\n return {\n title: this.listing!.Address.DisplayAddress ? this.listing!.Address.MicroAddress : this.listing!.Header,\n description: this.listing!.Introduction,\n image: this.listing!.Images.length ? this.listing!.Images[0].Preview.Url : undefined,\n };\n }\n\n public getAnalyticsData(): AnalyticsEventObject | null {\n if (this.listing === null) return null;\n\n return AnalyticsEventObject.FromListing(this.listing);\n }\n\n handleVideoViewed() {\n this.triggerCustomAnalyticsEvent(new AnalyticsEvent(AnalyticsEventType.ListingVideoViewed, AnalyticsEventObject.FromListing(this.listing!)));\n }\n\n handleContactFormSubmitted() {\n this.triggerCustomAnalyticsEvent(new AnalyticsEvent(AnalyticsEventType.ContactFormSubmit, AnalyticsEventObject.FromListing(this.listing!)));\n }\n\n handleIREClicked() {\n console.log('IRE Button Clicked');\n\n API.Listings.GetInspectRealEstateData(this.listing!.Id).then((ireData) => {\n const isSafari = /^((?!chrome|android).)*safari/i.test(navigator.userAgent);\n\n console.log(isSafari, navigator.userAgent);\n\n if (isSafari) {\n window.location.href = ireData.Url;\n } else {\n window.open(ireData.Url, '_blank');\n }\n }).catch(() => {\n // eslint-disable-next-line no-alert\n alert('There was an error processing your request. Please try again later.');\n });\n }\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!./ListingDetails.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!./ListingDetails.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ListingDetails.vue?vue&type=template&id=3081f778&scoped=true&\"\nimport script from \"./ListingDetails.vue?vue&type=script&lang=ts&\"\nexport * from \"./ListingDetails.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./ListingDetails.vue?vue&type=style&index=0&id=3081f778&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 \"3081f778\",\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!./ListingAgentProfile.vue?vue&type=style&index=0&id=c5180804&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!./ListingAgentProfile.vue?vue&type=style&index=0&id=c5180804&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!./InspectionCard.vue?vue&type=style&index=0&id=1681944e&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!./InspectionCard.vue?vue&type=style&index=0&id=1681944e&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 { Config } from \"../../services/Config\";\r\nimport { ContextItem } from \"../Context\";\r\n\r\nclass FormConstructorData {\r\n public ClientWebsiteId: string = Config.Website.Id;\r\n public Items: ContextItem[];\r\n\r\n constructor(items?: ContextItem[]) {\r\n this.Items = items || [];\r\n }\r\n}\r\n\r\nexport { FormConstructorData }\r\n","import { FormFieldLayoutOptions } from \"./FormFieldLayoutOptions\";\r\n\r\nenum FormFieldType\r\n{\r\n Text,\r\n Email,\r\n Tel,\r\n Dropdown,\r\n Textarea,\r\n VideoUpload,\r\n FileUpload,\r\n MultiFileUploader,\r\n StaticText,\r\n Date,\r\n Signature,\r\n GraphicalPDF\r\n}\r\n\r\ninterface FormField {\r\n FieldId: string;\r\n SectionId: string;\r\n Type: FormFieldType;\r\n TypeName: string;\r\n Key: string;\r\n Label: string;\r\n Placeholder: string;\r\n LayoutOptions: FormFieldLayoutOptions;\r\n Required: boolean;\r\n \r\n}\r\n\r\nexport { FormField, FormFieldType }\r\n","import { PDFFieldData } from \"./FieldTypes/PDFFieldData\";\r\nimport { PDFKeyValuePair } from \"./FieldTypes/IFormField\";\r\n\r\nclass FormValue {\r\n Key: string;\r\n Value: string | PDFFieldData | Blob | Blob[] | PDFKeyValuePair | (string | PDFKeyValuePair)[] | number | null;\r\n\r\n constructor(key: string, value: string | PDFFieldData | Blob | Blob[] | PDFKeyValuePair | (string | PDFKeyValuePair)[] | number | null) {\r\n this.Key = key;\r\n this.Value = value;\r\n }\r\n}\r\n\r\nexport { FormValue }\r\n","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!./ListingDetails.vue?vue&type=style&index=0&id=3081f778&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!./ListingDetails.vue?vue&type=style&index=0&id=3081f778&scoped=true&lang=css&\""],"sourceRoot":""}