PageSourceSearch

https://www.flombu.com/packs/js/estate_deals_show_app~landing_inde…iles_show_app-68d20f66e76bf0b033fe.chunk.js

js flombu.com collected 2026-10-06 12:36:18 UTC 4,694 bytes, 2 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{401:function(e,t,r){"use strict";var i={methods:{assignLocation:function(e){window.location.assign(e)},historyBack:function(){window.history.back()}}},n=r(406),a=r(296),o=r(14);t.a={components:{"favorite-ctrl":n.a,"through-account":a.a,"area-1-svg":o.Area1Svg,"map-marker-outline-1-svg":o.MapMarkerOutline1Svg,"calendar-range-svg":o.CalendarRangeSvg},mixins:[i],props:{record:{type:Object,required:!1},favoriteRecord:{type:Object},targetBlank:{type:Boolean,default:!1},passClick:{type:Boolean,default:!1},cardClasses:{type:String,default:""}},emits:["click","favorite:changed","favorite:create:success","favorite:delete:success"],data:function(){return{mainImgStyles:{width:"5px"}}},computed:{mainPhotoUrl:function(){return this.record.links.mainPhotoThumbUrl},title:function(){return this.record.attributes.title},address:function(){return this.record.attributes.addressSublocality1LocalityHumanVal},size:function(){return this.record.attributes.estateSizeHumanVal},sizeLabel:function(){return I18n.t("activerecord.attributes.estate_record.estate_size")},published:function(){return this.record.attributes.publishedAtHumanVal},price:function(){return this.record.attributes.priceHumanVal},url:function(){return this.record.links.showUrl},cardClassesObj:function(){return e={},t=this.cardClasses,r=!0,t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e;var e,t,r},tileEstateAccentAttrs:function(){return this.record.attributes.tileEstateAccentAttrs.slice(0,3)},saveLabel:function(){return I18n.t("shared.general.save")}},methods:{onClick:function(){this.passClick?this.$emit("click",this.record,this):this.targetBlank?this.$refs.targetBlankAnch.click():this.assignLocation(this.url)},onFavoriteChanged:function(e){this.$emit("favorite:changed",e)},onFavoriteCreateSuccess:function(e){this.$emit("favorite:create:success",e),this.onFavoriteChanged(e)},onFavoriteDeleteSuccess:function(e){this.$emit("favorite:delete:success",e),this.onFavoriteChanged(e)},onMainImgLoad:function(){var e=this;setTimeout((function(){e.mainImgStyles={width:"100%"}}),300)}}}},406:function(e,t,r){"use strict";var i=r(10),n=r(13);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){s(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var c=Object(n.a)("account").mapGetters;t.a={props:{dealRecordId:{type:[String,Number],required:!0},createPath:{type:String,required:!0},showPathTemplate:{type:String},favoriteRecord:{type:Object},autoFetch:{type:Boolean,default:!1}},emits:["delete:success","create:success"],data:function(){return{favRecord:this.favoriteRecord}},computed:o(o({},c(["renterProfile"])),{},{isActive:function(){return!!this.favRecord},iconName:function(){return this.isActive?"favorite":"favorite_border"},label:function(){return this.isActive?I18n.t("shared.general.saved"):I18n.t("shared.general.save")},showPath:function(){return this.favoriteRecord?this.favoriteRecord.links.self:this.renterProfile&&this.showPathTemplate?Object(i.b)(this.showPathTemplate,{":renter_profile_id":this.renterProfile.id,":deal_id":this.dealRecordId,":locale":document.head.lang}):void 0}}),watch:{favoriteRecord:function(e){this.favRecord=e}},methods:{onClick:function(e){this.isActive?this.destroy():this.create()},destroy:function(){var e=this;this.$newAjaxController().delete(this.favRecord.links.self).then((function(){e.$emit("delete:success",e.favRecord),e.favRecord=null}))},create:function(){var e=this;this.$newAjaxController().post(this.createPath,{favorite_deal:{deal_id:this.dealRecordId}}).then((function(t){var r=t.data.data;e.favRecord=r,e.$emit("create:success",r)}
1))}},render:function(){return this.$slots.default({iconName:this.iconName,label:this.label,onClick:this.onClick,isActive:this.isActive})},created:function(){var e=this;this.autoFetch&&!this.favoriteRecord&&this.showPath&&this.$newAjaxController().get(this.showPath).then((function(t){var r=t.data.data;e.favRecord=r}))}}}}]);
2//# sourceMappingURL=estate_deals_show_app~landing_index_app~owner_profiles_show_app-68d20f66e76bf0b033fe.chunk.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.