(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[286,368],{"KHd+":function(e,n,a){"use strict";function t(e,n,a,t,s,o,i,r){var d,l="function"==typeof e?e.options:e;if(n&&(l.render=n,l.staticRenderFns=a,l._compiled=!0),t&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),i?(d=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(i)},l._ssrRegister=d):s&&(d=r?function(){s.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:s),d)if(l.functional){l._injectStyles=d;var c=l.render;l.render=function(e,n){return d.call(n),c(e,n)}}else{var u=l.beforeCreate;l.beforeCreate=u?[].concat(u,d):[d]}return{exports:e,options:l}}a.d(n,"a",(function(){return t}))},"ciR/":function(e,n,a){"use strict";a.r(n);var t=function(){var e=this.$createElement;return(this._self._c||e)("tb-w-button",{attrs:{icon:"calendar-arrow-down","icon-size":"1.125",variant:"white",modifier:"flat",href:this.downloadUrl,download:""}},[this._v("\n    "+this._s(this.$t("message.saveToCalendar"))+"\n")])};t._withStripped=!0;var s=a("L2JU"),o=a("sG1I"),i={name:"TbWEventDateCalendarDownloadButton",props:{eventDateId:{type:String,required:!0}},computed:{...Object(s.e)(["apiCredentials","language"]),downloadUrl(){var e;const n=`${null===(e=this.apiCredentials)||void 0===e?void 0:e.baseUri}/api/v1/eventDate/${this.eventDateId}/ics`,a={api_token:this.apiCredentials.apiToken,language:this.language};return Object(o.a)(n,a)}},i18n:{fallbackLocale:"de",silentFallbackWarn:"undefined"==typeof window,messages:{de:{message:{saveToCalendar:"im Kalender speichern"}},en:{message:{saveToCalendar:"save to calendar"}},fr:{message:{saveToCalendar:"enregistrer dans le calendrier"}},it:{message:{saveToCalendar:"Salva nel calendario"}},es:{message:{saveToCalendar:"Guardar en calendario"}},nl:{message:{saveToCalendar:"Opslaan in kalender"}},cs:{message:{saveToCalendar:"Uložit do kalendáře"}}}}},r=a("KHd+"),d=Object(r.a)(i,t,[],!1,null,null,null);d.options.__file="node_modules/@newland/toubiz-widget/src/components/basic/tb-w-event-date-calendar-download-button.vue";n.default=d.exports},sG1I:function(e,n,a){"use strict";function t(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const a=new URL(e);if(Object.entries(n).length)for(const[e,t]of Object.entries(n))a.searchParams.append(e,t);return a.href}a.d(n,"a",(function(){return t}))}}]);