(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[245],{Fe69:function(t,e,n){"use strict";function s(t,e){const n=(new Date).setHours(...t.split(":"));return((new Date).setHours(...e.split(":"))-n)/6e4}function i(t){const e={days:0,hours:0,minutes:0};return e.days=Math.floor(t/1440),e.hours=Math.floor(t/60%24),e.minutes=t%60,e}function u(t){let e=!1;t<0&&(t=Math.abs(t),e=!0);let n=t/1e3,s=parseInt(n/3600,10);n=parseInt(n%3600,10);let i=parseInt(n/60,10),u=s.toString().padStart(2,"0"),o=i.toString().padStart(2,"0");return e?`-${u}:${o}`:`+${u}:${o}`}n.d(e,"b",(function(){return s})),n.d(e,"a",(function(){return i})),n.d(e,"c",(function(){return u}))},"KHd+":function(t,e,n){"use strict";function s(t,e,n,s,i,u,o,r){var a,d="function"==typeof t?t.options:t;if(e&&(d.render=e,d.staticRenderFns=n,d._compiled=!0),s&&(d.functional=!0),u&&(d._scopeId="data-v-"+u),o?(a=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__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},d._ssrRegister=a):i&&(a=r?function(){i.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:i),a)if(d.functional){d._injectStyles=a;var h=d.render;d.render=function(t,e){return a.call(e),h(t,e)}}else{var c=d.beforeCreate;d.beforeCreate=c?[].concat(c,a):[a]}return{exports:t,options:d}}n.d(e,"a",(function(){return s}))},Khfw:function(t,e,n){"use strict";n.r(e);var s=n("Fe69"),i={props:{duration:{type:Number,required:!0}},computed:{durationObject(){return Object(s.a)(this.duration)}},render(t){const e=[];return this.durationObject.days&&(e.push(this.durationObject.days),e.push(this.durationObject.days>1?this.$t("message.days"):this.$t("message.day"))),this.durationObject.hours&&(e.push(this.durationObject.hours),e.push(this.durationObject.hours>1?this.$t("message.hours"):this.$t("message.hour"))),this.durationObject.minutes&&(e.push(this.durationObject.minutes),e.push(this.durationObject.minutes>1?this.$t("message.minutes"):this.$t("message.minute"))),t("span",{attrs:{class:"tb-w-duration"}},e.join(" "))},i18n:{fallbackLocale:"de",silentFallbackWarn:"undefined"==typeof window,messages:{de:{message:{day:"Tag",days:"Tage",hour:"Stunde",hours:"Stunden",minute:"Minute",minutes:"Minuten"}},en:{message:{day:"day",days:"days",hour:"hour",hours:"hours",minute:"minute",minutes:"minutes"}},fr:{message:{day:"jour",days:"jours",hour:"heure",hours:"heures",minute:"minute",minutes:"minutes"}},it:{message:{day:"giorno",days:"giorni",hour:"ora",hours:"ore",minute:"minuto",minutes:"minuti"}},es:{message:{day:"día",days:"días",hour:"hora",hours:"horas",minute:"minuto",minutes:"minutos"}},nl:{message:{day:"dag",days:"dagen",hour:"uur",hours:"uren",minute:"minuut",minutes:"minuten"}},cs:{message:{day:"den",days:"dny",hour:"hodina",hours:"hodiny",minute:"minuta",minutes:"minuty"}}}}},u=n("KHd+"),o=Object(u.a)(i,void 0,void 0,!1,null,null,null);o.options.__file="node_modules/@newland/toubiz-widget/src/components/basic/tb-w-duration.vue";e.default=o.exports}}]);