(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([["poi-opening-times-basic"],{LYwA:function(e,n,i){"use strict";i.r(n);var t=i("+1KV");const o={legacy:t.d,"legacy-attraction":t.c,toubizV1:t.e};var s={name:"TbOpeningTimesParser",render(){if(!this.$scopedSlots.default)return null;const e=this.$scopedSlots.default({openingTimes:this.openingTimes});return e?(e.length>1&&console.warn("tb-opening-times-parser must have a default slot that renders at most a single element."),e[0]||null):null},props:{openingTimesDefinition:{type:Object,required:!0},openingTimesFormat:{type:String,required:!0,validator:function(e){return-1!==Object.keys(o).indexOf(e)||(console.warn(`openingTimesFormat must be one of ${Object.keys(o).join(", ")}. ${e} is not allowed.`),!1)}}},computed:{openingTimes(){if(!this.openingTimesDefinition)return null;const e=(new(0,o[this.openingTimesFormat])).parse(this.openingTimesDefinition);return e&&0!==e.times.length?e:null}}},r=i("KHd+"),l=Object(r.a)(s,void 0,void 0,!1,null,null,null);n.default=l.exports}}]);