(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[339],{"KHd+":function(t,n,e){"use strict";function o(t,n,e,o,i,a,s,r){var d,l="function"==typeof t?t.options:t;if(n&&(l.render=n,l.staticRenderFns=e,l._compiled=!0),o&&(l.functional=!0),a&&(l._scopeId="data-v-"+a),s?(d=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(s)},l._ssrRegister=d):i&&(d=r?function(){i.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:i),d)if(l.functional){l._injectStyles=d;var c=l.render;l.render=function(t,n){return d.call(n),c(t,n)}}else{var _=l.beforeCreate;l.beforeCreate=_?[].concat(_,d):[d]}return{exports:t,options:l}}e.d(n,"a",(function(){return o}))},sL2Y:function(t,n,e){"use strict";e.r(n);var o=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"tb-w-download relative"},[e("tb-w-button",{staticClass:"tb-w-download__link",attrs:{download:t.name,target:"_blank",icon:"download",variant:"ghost",disabled:t.loading},on:{click:t.download}},[t._v("\n        "+t._s(t.name)+"\n\n        "),e("span",{staticClass:"ml-1"},[t._v("("+t._s(t.format)+")")])])],1)};o._withStripped=!0;var i=e("dd3m"),a={name:"TbWTrackDownload",props:{articleId:{type:String,required:!0},format:{type:String,required:!0},name:{type:String,required:!0}},data:()=>({loading:!1}),methods:{async download(){this.loading||(this.loading=!0,await this.getRepository(i.b.TRACK_FILE).fetch(this.articleId,this.format,this.name),this.loading=!1)}}},s=e("KHd+"),r=Object(s.a)(a,o,[],!1,null,null,null);n.default=r.exports}}]);