(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[426,446,447,448],{"KHd+":function(e,n,t){"use strict";function i(e,n,t,i,s,o,a,r){var p,d="function"==typeof e?e.options:e;if(n&&(d.render=n,d.staticRenderFns=t,d._compiled=!0),i&&(d.functional=!0),o&&(d._scopeId="data-v-"+o),a?(p=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),s&&s.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},d._ssrRegister=p):s&&(p=r?function(){s.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:s),p)if(d.functional){d._injectStyles=p;var l=d.render;d.render=function(e,n){return p.call(n),l(e,n)}}else{var c=d.beforeCreate;d.beforeCreate=c?[].concat(c,p):[p]}return{exports:e,options:d}}t.d(n,"a",(function(){return i}))},fW6N:function(e,n,t){"use strict";t.r(n);var i=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",[t("tb-w-section",{directives:[{name:"show",rawName:"v-show",value:!e.loaderSuspense,expression:"!loaderSuspense"}],attrs:{"no-container":e.noSectionSpacing,"no-spacing":e.noSectionSpacing}},[t("skeleton-loader",{attrs:{width:"18rem",height:"2.5rem",animation:"fade",type:"rect",radius:6,rounded:!0}}),e._v(" "),t("skeleton-loader",{staticClass:"mt-4",attrs:{width:"100%",height:"45rem",animation:"fade",type:"rect",radius:6,rounded:!0}})],1),e._v(" "),t("transition",{attrs:{name:"fade"}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.loaderSuspense,expression:"loaderSuspense"}]},[e.openingTimes?t("tb-w-section",{staticClass:"tb-w-article-detail-opening-times-section",attrs:{"no-container":e.noSectionSpacing,"no-spacing":e.noSectionSpacing},scopedSlots:e._u([{key:"content",fn:function(){var n;return[t("tb-w-opening-times-parser",{attrs:{"opening-times-format":"toubizV1","opening-times-definition":e.openingTimes},scopedSlots:e._u([{key:"default",fn:function(n){return[t("div",["live"===e.type?t("div",{staticClass:"text-left max-w-sm inline-flex"},[t("tb-w-opening-times-line-preview",{attrs:{"opening-times":n.openingTimes,"for-date-and-time":new Date}})],1):e._e(),e._v(" "),t("tb-w-article-detail-opening-times",{class:{"mt-6":"live"===e.type},attrs:{"opening-times":n.openingTimes}})],1)]}}],null,!1,629698687)}),e._v(" "),null!==(n=e.openingTimes)&&void 0!==n&&n.description?t("div",{staticClass:"mt-8 text-base rte tb-w-article-detail-opening-times-description",domProps:{innerHTML:e._s(e.openingTimes.description)}}):e._e()]},proxy:!0}],null,!1,3302787100)},[e._v("\n                "+e._s(e.$t("message.hoursOfOperation"))+"\n\n                ")]):e._e()],1)])],1)};i._withStripped=!0;var s={name:"OpeningtimesOverview",props:{id:{type:String,required:!0},type:{type:String,default:"overview",validator:e=>["live","overview"].includes(e)},noSectionSpacing:{type:Boolean,default:!1}},data:()=>({openingTimes:null,date:(new Date).toISOString().substr(0,10),loaderSuspense:!1}),computed:{},methods:{async fetchOpeningTimes(){this.openingTimes=null;try{const e=await this.articleRepository.fetch(this.id+"/openingTimes",{language:this.$store.state.language});this.openingTimes=e.payload}catch(e){console.error(e)}}},watch:{openingTimes(){this.openingTimes&&setTimeout(()=>{this.loaderSuspense=!0},300)},id:{immediate:!0,handler(e){this.fetchOpeningTimes(e)}}},i18n:{fallbackLocale:"de",silentFallbackWarn:"undefined"==typeof window,messages:{de:{message:{hoursOfOperation:"Öffnungszeiten"}},en:{message:{hoursOfOperation:"Hours of operation"}},fr:{message:{hoursOfOperation:"Heures d'ouverture"}},it:{message:{hoursOfOperation:"Orari di apertura"}},es:{message:{hoursOfOperation:"Horario de apertura"}},nl:{message:{hoursOfOperation:"Openingstijden"}},cs:{message:{hoursOfOperation:"hodiny operace"}}}}},o=t("KHd+"),a=Object(o.a)(s,i,[],!1,null,null,null);n.default=a.exports}}]);