1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7813],{44820:function(i,l,e){e.r(l),e.d(l,{RenderBlocksGallery:function(){return c},fetchAdditionalData:function(){return r}});var t=e(94043),n=e(53198),o=e(9145),a=e(34046),d=e(41706);let r=async(i,l)=>{let e={translations:await (0,a.y)()};if("experience"===i.source&&l.dynamicParams.experience){let i=await (0,o.jl6)(l.dynamicParams.experience,l.defaultLang);i&&(e.experience=i)}else if("experience"===i.source&&l.dynamicParams.offer){let i=await (0,o.pG5)(l.dynamicParams.offer,l.defaultLang);i&&(e.offer=i)}else if("experience"===i.source&&l.dynamicParams.pass){let i=await (0,o.CZp)(l.dynamicParams.pass,l.defaultLang);i&&(e.pass=i)}return{data:e,dictionary:{}}},u=(i,l)=>{var e,t;let n=(0,o.t2Y)(i.push),{lang:a,defaultLang:d}=l,r=(0,o.j3t)(null==n?void 0:n.data,a,d);return n&&r&&r.price?{prices:[{price:parseFloat(r.price),textAfter:(null==r?void 0:r.price_text_after)||"",textBefore:(null==r?void 0:r.price_text_before)||"",promo:r.promo?parseFloat(r.promo):void 0}],title:r.title||"",tags:[r.label||""],featuresList:null==n?void 0:null===(t=n.options)||void 0===t?void 0:null===(e=t.map(i=>{let l=(0,o.t2Y)(i.options_id),e=(0,o.j3t)(null==l?void 0:l.data,a,d);return e?{icon:(0,o.z7X)(null==l?void 0:l.picto,a,d),name:e.name||""}:null}))||void 0===e?void 0:e.filter(o.k11),cta:(0,o.pK9)(n.link,l,{position:"product",activityUid:(0,o.S6v)(i)})||void 0}:void 0},v=(i,l)=>{var e;let{lang:t,defaultLang:n}=l;return(null==i?void 0:null===(e=i.map(i=>{let l=(0,o.t2Y)(i.options_id),e=(0,o.j3t)(null==l?void 0:l.data,t,n);return e?{icon:(0,o.z7X)(null==l?void 0:l.picto,t,n),name:e.name||""}:null}))||void 0===e?void 0:e.filter(o.k11))||[]},s=(i,l)=>{var e,t;let{lang:n,defaultLang:a}=l,d=null===(t=i.links)||void 0===t?void 0:null===(e=t.map(i=>(0,o.t2Y)(i.links_id)))||void 0===e?void 0:e.find(i=>(null==i?void 0:i.source)==="reservation_popin"),r=v(i.options,l),u=d?(0,o.j3t)(d.data,n,a):void 0,s=(0,o.pK9)(d,l,{position:"content"})||void 0;if(s||(null==r?void 0:r.length)||(null==u?void 0:u.title))return{title:"",description:(null==u?void 0:u.title)||void 0,featuresList:(null==r?void 0:r.length)?r:void 0,prices:[],tags:[],cta:s}},p=(i,l,e,t,n,a)=>{var r,v,p,c;let{lang:f,defaultLang:m}=l,_=(0,o.j3t)(i.data,f,m),g=(0,o.j3t)(null==e?void 0:e.data,f,m),k=(0,o.j3t)(null==t?void 0:t.data,f,m),j=(0,o.j3t)(null==n?void 0:n.data,f,m),y=(0,o.j3t)(null==t?void 0:t.data_price,f,m),x=(0,o.j3t)(null==n?void 0:n.data_price,f,m),h=e||t||n,P=g||k||j,b=y||x,L=h&&e?(0,d.AF)(e,f):h?h.gallery:i.items;return{title:h?"":(null==_?void 0:_.title)||"",description:h?(null==P?void 0:P.description)||"":(null==_?void 0:_.description)||"",media:(null==L?void 0:L.map(i=>{let l=(0,o.t2Y)(i.directus_files_id);if(!l)return null;let e=(0,o.JPQ)(l,f,m);if(e)return{type:"video",media:e};let t=(0,o.z7X)(l,f,m);return t?{type:"image",media:t}:null}).filter(o.k11))||[],link:(0,o.pK9)(i.link,l,{position:e||t||n?"product":"content",activityUid:(0,o.S6v)(e,t,n)})||void 0,awards:null==e?void 0:null===(v=e.labels)||void 0===v?void 0:null===(r=v.map(i=>{var e;let t=(0,o.j3t)(null===(e=(0,o.t2Y)((0,o.t2Y)(i.labels_id)))||void 0===e?void 0:e.data,f,m);return(0,o.z7X)((null==t?void 0:t.logo_black)||(null==t?void 0:t.logo),l.lang,l.defaultLang)||null}))||void 0===r?void 0:r.filter(o.k11),linkedImages:null===(c=i.links)||void 0===c?void 0:null===(p=c.map(i=>{let e=(0,o.t2Y)(i.links_id);if(!e||"reservation_popin"===e.source)return null;let t=(0,o.Wgj)(e,l);if(!t)return null;let n=t.image||t.icon,a=(0,o.j3t)(e.data,f,m);return n||"openInfoPopin"===t.specialAction?{image:n||{src:"",alt:(null==a?void 0:a.title)||""},link:t,info:(null==a?void 0:a.description)||void 0}:null}))||void 0===p?void 0:p.filter(o.k11),priceCard:e?u(e,l):t?(0,o.fVl)(t,l):n?(0,o.CBK)(n,l):s(i,l),codePromo:(null==b?void 0:b.promocode)?"Code: ".concat(b.promocode):void 0,seeAllLabel:(0,o.hRD)(a,"see_all",l.lang,l.defaultLang,"Voir la galerie"),mirrorMode:!!i.display_mirror_mode}},c=i=>{let{block:l,pageContext:e,additionalData:{experience:a,offer:d,pass:r,translations:u}}=i;return(0,t.jsx)(n.jh,{...p(l,e,a,d,r,u),anchor:(0,o.BqG)(l,e)})};l.default=c}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.