(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[420],{"KHd+":function(t,e,i){"use strict";function s(t,e,i,s,n,a,o,r){var l,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=i,c._compiled=!0),s&&(c.functional=!0),a&&(c._scopeId="data-v-"+a),o?(l=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__),n&&n.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},c._ssrRegister=l):n&&(l=r?function(){n.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:n),l)if(c.functional){c._injectStyles=l;var d=c.render;c.render=function(t,e){return l.call(e),d(t,e)}}else{var p=c.beforeCreate;c.beforeCreate=p?[].concat(p,l):[l]}return{exports:t,options:c}}i.d(e,"a",(function(){return s}))},hjiu:function(t,e,i){"use strict";i.r(e);var s=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.display===t.displayTypes.GRID?i("tb-w-article-list",{staticClass:"tb-w-section mx-auto max-w-6xl",attrs:{articles:t.items,"follow-links":""}}):t.display===t.displayTypes.SLIDER?i("tb-w-standalone-slider",{attrs:{type:t.itemTypes.ARTICLE,items:t.items,"follow-links":"","no-section-spacing":t.noSectionSpacing}}):t._e()};s._withStripped=!0;var n=i("4/cP"),a=i("xBaG");const o={GRID:"grid",SLIDER:"slider"};var r={name:"StandaloneArticleList",computed:{...Object(a.e)(["language"]),itemTypes:()=>n.a},props:{ids:{type:Array,required:!0},display:{type:String,default:o.GRID},noSectionSpacing:{type:Boolean,default:!1}},data:()=>({items:[],displayTypes:o}),async created(){await this.getItems()},methods:{...Object(a.d)("globalList",["SET_LOADING"]),async getItems(){const t={filter:{id:this.ids},sorting:{property:"idFilter"},include:["articleTypeAttributes","awards","capacity","classifications","mainImage","openingTimes","tourStages","geometry","snowReports","externalIds","channelContext"],language:this.language};await this.articleRepository.list(t).then(t=>this.items=t.payload),this.SET_LOADING(!1)}}},l=i("KHd+"),c=Object(l.a)(r,s,[],!1,null,null,null);e.default=c.exports}}]);