(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[300],{"7yoQ":function(t,n,e){"use strict";(function(t){e.d(n,"b",(function(){return r})),e.d(n,"a",(function(){return i}));var o=e("6dQ1");function r(n){return Object(o.b)()?t.from(n,"utf-8").toString("base64"):btoa(n)}function i(n){return Object(o.b)()?t.from(n,"base64").toString("utf-8"):atob(n)}}).call(this,e("tjlA").Buffer)},"KHd+":function(t,n,e){"use strict";function o(t,n,e,o,r,i,s,a){var c,l="function"==typeof t?t.options:t;if(n&&(l.render=n,l.staticRenderFns=e,l._compiled=!0),o&&(l.functional=!0),i&&(l._scopeId="data-v-"+i),s?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},l._ssrRegister=c):r&&(c=a?function(){r.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:r),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(t,n){return c.call(n),u(t,n)}}else{var f=l.beforeCreate;l.beforeCreate=f?[].concat(f,c):[c]}return{exports:t,options:l}}e.d(n,"a",(function(){return o}))},L7nb:function(t,n,e){"use strict";e.r(n),e.d(n,"lazyLoadPreviewDataUrl",(function(){return c}));var o=function(){var t=this.$createElement;return(this._self._c||t)("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",preserveAspectRatio:"none"},domProps:{innerHTML:this._s(this.svg)}})};o._withStripped=!0;var r=e("7yoQ");function i(t,n,e,o){return`\n    <radialGradient id="${t}" cx="${n}" cy="${e}" r="1">\n        <stop offset="0" stop-color="${o}" stop-opacity="1" />\n        <stop offset="100%" stop-color="${o}" stop-opacity="0" />\n    </radialGradient>\n`}function s(t){return`\n    <rect x="0" y="0" width="100" height="100" fill="url('#${t}')" />\n`}function a(t){const n=Math.random().toString(26).substr(2);return`\n    ${i(`lazy-${n}-topleft`,0,0,t.topleft)}\n    ${i(`lazy-${n}-topright`,1,0,t.topright)}\n    ${i(`lazy-${n}-bottomleft`,0,1,t.bottomleft)}\n    ${i(`lazy-${n}-bottomright`,1,1,t.bottomright)}\n    ${i(`lazy-${n}-center`,.5,.5,t.center)}\n\n    ${s(`lazy-${n}-topleft`)}\n    ${s(`lazy-${n}-topright`)}\n    ${s(`lazy-${n}-bottomleft`)}\n    ${s(`lazy-${n}-bottomright`)}\n    ${s(`lazy-${n}-center`)}\n`}function c(t){if(!l(t))return"";const n=`\n        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none">\n            ${a(t)}\n        </svg>\n    `.trim().replace(/\s+/g," ");return"data:image/svg+xml;base64,"+Object(r.b)(n)}function l(t){const n=["topleft","topright","bottomleft","bottomright","center"],e=[];for(const o of n)t[o]||e.push(o);return!(e.length>0)||(console.warn(`\n        The following colors must be provided: [${n.join(",")}]\n        but the following were not given: [${e.join(",")}]\n    `),!1)}var u={name:"TbWLazyloadPreview",props:{colors:{type:Object,required:!0,validator:l}},data:()=>({svg:""}),watch:{colors:{deep:!0,immediate:!0,handler(t){this.svg=a(t)}}}},f=e("KHd+"),p=Object(f.a)(u,o,[],!1,null,null,null);n.default=p.exports}}]);