(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[225],{"E4I/":function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"tb-w-visitor-channeling-access h-full"},[i("tb-w-visitor-channeling-card",{class:{"cursor-pointer hover:shadow-md":null!==t.ticketRequired},nativeOn:{click:function(e){null!==t.ticketRequired&&t.onClick()}},scopedSlots:t._u([{key:"title",fn:function(){return[null===t.ticketRequired?[t._v("\n                Tickets\n            ")]:t.ticketRequired?[t._v("\n                Ticket"),i("br"),t._v("\n                erforderlich\n            ")]:t.ticketRequired?t._e():[t._v("\n                Kein Ticket"),i("br"),t._v("\n                erforderlich\n            ")]]},proxy:!0},{key:"content",fn:function(){return[i("tb-w-icon",{attrs:{icon:t.ticketIcon,size:"3"}})]},proxy:!0}])}),t._v(" "),null!==t.ticketRequired?i("tb-w-modal",{attrs:{show:t.displayModal,width:"medium",height:"content"},on:{close:function(e){t.displayModal=!1}}},[i("div",{staticClass:"flex justify-center"},[i("tb-w-icon",{staticClass:"mr-4 ",attrs:{icon:t.ticketIcon,size:"3"}}),t._v(" "),t.ticketRequired?i("div",[i("h3",{staticClass:"text-xl my-2"},[t._v("\n                    Für den Zutritt ist ein gültiges Ticket erforderlich.\n                ")]),t._v(" "),t.bookingInfo?[t.bookingInfo.information?i("div",{staticClass:"mt-4 rte",domProps:{innerHTML:t._s(t.bookingInfo.information)}}):t._e(),t._v(" "),t.bookingInfo.url?i("a",{staticClass:"mt-3 text-link-500 flex items-center",attrs:{href:t.bookingInfo.url,target:"_blank"}},[i("tb-w-icon",{staticClass:"mr-1",attrs:{icon:"external-link",size:"1"}}),t._v("\n                        Tickets kaufen\n                    ")],1):t._e(),t._v(" "),t.bookingInfo.hotlineInformation||t.bookingInfo.hotline?[i("hr",{staticClass:"my-4"}),t._v(" "),i("h3",{staticClass:"text-lg"},[t._v("\n                            Ticket-Hotline\n                        ")]),t._v(" "),t.bookingInfo.hotlineInformation?i("div",{staticClass:"mt-3 rte",domProps:{innerHTML:t._s(t.bookingInfo.hotlineInformation)}}):t._e(),t._v(" "),t.bookingInfo.hotline?i("a",{staticClass:"text-link-500 font-semibold mt-3",attrs:{href:"tel:"+t.bookingInfo.hotline}},[t._v("\n                            "+t._s(t.bookingInfo.hotline)+"\n                        ")]):t._e()]:t._e()]:t._e()],2):t.ticketRequired?t._e():i("h3",[t._v("\n                Für den Zutritt ist kein Ticket erforderlich.\n            ")])],1)]):t._e()],1)};n._withStripped=!0;var o=i("L2JU"),s={name:"TbVisitorChannelingTicket",props:{ticketRequired:{type:Boolean,default:null},bookingInfo:{type:Object,default:null}},data:()=>({displayModal:!1}),computed:{...Object(o.d)(["areaNotices"]),ticketIcon(){switch(this.ticketRequired){case!1:return"ticket-not-required";case!0:return"ticket-required";default:return"ticket-question-mark"}}},methods:{onClick(){this.displayModal=!0}}},r=i("KHd+"),l=Object(r.a)(s,n,[],!1,null,null,null);l.options.__file="node_modules/@newland/toubiz-widget/src/components/visitor-channeling/tb-w-visitor-channeling-ticket.vue";e.default=l.exports}}]);