(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[119],{uyfZ:function(t,i,e){"use strict";e.r(i);var s=function(){var t=this.$createElement;return(this._self._c||t)("img",{directives:[{name:"lazy",rawName:"v-lazy",value:{src:this.src,loading:this.dataUrl,error:this.dataUrl},expression:"{\n        src: src,\n        loading: dataUrl,\n        error: dataUrl,\n    }"}],style:this.style,attrs:{alt:this.alt}})};s._withStripped=!0;var h=e("yDqr"),n={props:{src:{type:String,required:!0},colors:{type:Object,default:null},width:{type:Number,default:null},height:{type:Number,default:null},ratio:{type:Number,default:null},alt:{type:String,default:""}},data:()=>({dataUrl:null,dimensions:{width:null,height:null}}),created(){this.colors&&(this.dataUrl=Object(h.lazyLoadPreviewDataUrl)(this.colors)),this.dimensions.width=this.width,this.dimensions.height=this.height,this.ratio&&this.width&&!this.height&&(this.dimensions.height=this.width/this.ratio),this.ratio&&!this.width&&this.height&&(this.dimensions.width=this.height*this.ratio)},computed:{style(){const t={};return this.dimensions.width&&(t.width=this.dimensions.width+"px"),this.dimensions.height&&(t.height=this.dimensions.height+"px"),t}}},l=e("KHd+"),a=Object(l.a)(n,s,[],!1,null,null,null);a.options.__file="node_modules/@newland/toubiz-widget/src/components/basic/tb-lazyloaded-image.vue";i.default=a.exports}}]);