(window.webpackJsonp=window.webpackJsonp||[]).push([[94],{323:function(t,e,n){"use strict";n(222);e.a={props:{sectionId:{type:String,required:!0},sectionData:{type:Object,required:!0},position:{type:Number,required:!0}},computed:{bgCmsResult:function(){return void 0===this.sectionData.colors||"N/A"===this.sectionData.colors.bgColor?this.bgCms:"DARK"===this.sectionData.colors.bgColor?"bg-cms-dark":"PRIMARY"===this.sectionData.colors.bgColor?"bg-cms-primary":"SECONDARY"===this.sectionData.colors.bgColor?"bg-cms-secondary":void 0},data:function(){return this.sectionData.data}}}},612:function(t,e,n){"use strict";n.r(e);n(59),n(342),n(14),n(31),n(34),n(32);var o={components:{TitleH:function(){return n.e(0).then(n.bind(null,548))},Media:function(){return n.e(1).then(n.bind(null,407))}},mixins:[n(323).a],computed:{lines:function(){var t=[[]],e=0;return this.data.images.forEach((function(image,n){n%4==0&&0!==n?(t.push([image]),e+=1):t[e].push(image)})),t}},methods:{openImage:function(image){this.$store.state.websiteFrontend.openedPopup=!0,this.$store.state.websiteFrontend.openedPopupType="GALLERY_IMAGES",this.$store.state.websiteFrontend.openedPopupData={currentIndex:this.data.images.findIndex((function(t){return t===image})),images:this.data.images}},getWidthForItemNumbers:function(t){switch(t){case 1:return 1920;case 2:return 960;case 3:return 650;case 4:return 550}}}},r=n(90),component=Object(r.a)(o,(function(){var t=this,e=t._self._c;return e("div",[t.data.hasTitle?e("div",{staticClass:"max-w-7xl w-full mx-auto pt-16 px-6 pb-4 text-center"},[e("TitleH",{class:t.getCustomTextColorOfSectionWhenIsPrimary(t.sectionData),attrs:{position:t.position,html:t.data.title}})],1):t._e(),t._v(" "),e("div",{staticClass:"transition-all duration-500 w-full mx-auto",class:{"!pt-12":!t.data.hasTitle&&t.data.hasMargin,"px-4 pt-8 pb-12 lg:px-8":t.data.hasMargin,"max-w-7xl":!1===t.data.fullSize,"columns-2":2===t.data.column,"columns-3":3===t.data.column,"columns-4":4===t.data.column,"gap-4 space-y-4 lg:gap-8 lg:space-y-8":!0===t.data.isSeparated,"gap-0 space-y-0":!1===t.data.isSeparated}},t._l(t.data.images,(function(image,n){return e("Media",{key:n,staticClass:"w-full transition-all duration-500 break-inside-avoid cursor-pointer",class:[!1===t.data.fullSize&&t.data.isSeparated||t.data.hasMargin&&t.data.isSeparated?t.roundedStyle:""],attrs:{url:image,alt:"".concat(t.data.title," n°").concat(n),transformations:{width:t.data.fullSize?Math.round(1920/t.data.column):Math.round(1300/t.data.column)}},nativeOn:{click:function(e){return t.openImage(image)}}})})),1)])}),[],!1,null,null,null);e.default=component.exports}}]);