i.getMaxZoom()&&s>1)&&(this._zoom=i._limitZoom(this._zoom)),"center"===i.options.touchZoom){if(this._center=this._startLatLng,1===s)return}else{var r=n._add(o)._divideBy(2)._subtract(this._centerPoint);if(1===s&&0===r.x&&0===r.y)return;this._center=i.unproject(i.project(this._pinchStartLatLng,this._zoom).subtract(r),this._zoom)}this._moved||(i._moveStart(!0,!1),this._moved=!0),g(this._animRequest);var a=e(i._move,i,this._center,this._zoom,{pinch:!0,round:!1});this._animRequest=f(a,this,!0),Pt(t)}},_onTouchEnd:function(){this._moved&&this._zooming?(this._zooming=!1,g(this._animRequest),ft(document,"touchmove",this._onTouchMove),ft(document,"touchend",this._onTouchEnd),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))):this._zooming=!1}});be.addInitHook("addHandler","touchZoom",Zn),be.BoxZoom=bn,be.DoubleClickZoom=Tn,be.Drag=zn,be.Keyboard=Mn,be.ScrollWheelZoom=Cn,be.Tap=Sn,be.TouchZoom=Zn,Object.freeze=ti,t.version="1.3.4",t.Control=Te,t.control=ze,t.Browser=Qi,t.Evented=ci,t.Mixin=Ae,t.Util=ui,t.Class=v,t.Handler=Ee,t.extend=i,t.bind=e,t.stamp=n,t.setOptions=l,t.DomEvent=Pe,t.DomUtil=ve,t.PosAnimation=Le,t.Draggable=Re,t.LineUtil=Ne,t.PolyUtil=De,t.Point=x,t.point=w,t.Bounds=P,t.bounds=b,t.Transformation=S,t.transformation=Z,t.Projection=He,t.LatLng=M,t.latLng=C,t.LatLngBounds=T,t.latLngBounds=z,t.CRS=di,t.GeoJSON=sn,t.geoJSON=Xt,t.geoJson=an,t.Layer=qe,t.LayerGroup=Ge,t.layerGroup=function(t,i){return new Ge(t,i)},t.FeatureGroup=Ke,t.featureGroup=function(t){return new Ke(t)},t.ImageOverlay=hn,t.imageOverlay=function(t,i,e){return new hn(t,i,e)},t.VideoOverlay=un,t.videoOverlay=function(t,i,e){return new un(t,i,e)},t.DivOverlay=ln,t.Popup=cn,t.popup=function(t,i){return new cn(t,i)},t.Tooltip=_n,t.tooltip=function(t,i){return new _n(t,i)},t.Icon=Ye,t.icon=function(t){return new Ye(t)},t.DivIcon=dn,t.divIcon=function(t){return new dn(t)},t.Marker=$e,t.marker=function(t,i){return new $e(t,i)},t.TileLayer=mn,t.tileLayer=Jt,t.GridLayer=pn,t.gridLayer=function(t){return new pn(t)},t.SVG=Pn,t.svg=Qt,t.Renderer=gn,t.Canvas=vn,t.canvas=$t,t.Path=Qe,t.CircleMarker=tn,t.circleMarker=function(t,i){return new tn(t,i)},t.Circle=en,t.circle=function(t,i,e){return new en(t,i,e)},t.Polyline=nn,t.polyline=function(t,i){return new nn(t,i)},t.Polygon=on,t.polygon=function(t,i){return new on(t,i)},t.Rectangle=Ln,t.rectangle=function(t,i){return new Ln(t,i)},t.Map=be,t.map=function(t,i){return new be(t,i)};var En=window.L;t.noConflict=function(){return window.L=En,this},window.L=t});}(jQuery));(function($){var moduleParams={"txtLoading":"Loading...","mobileOn":false,"caisseOn":false,"bookingsOn":true,"isAjaxRequest":false};document.querySelector('body').addEventListener('click',(e)=>{if(!e.target)return true;const $trigger=e.target.closest('a[href="#clickandcollectPopup_overlay"]');if(null!==$trigger){e.preventDefault();const $popupOverlay=document.querySelector('#clickandcollectPopup_overlay'),$popupContent=document.querySelector('#clickandcollectPopup_content');if(null!==$popupOverlay){let divTxtLoading=document.createElement('div');divTxtLoading.className='textLoading';divTxtLoading.innerHTML=moduleParams.txtLoading;if(undefined==$popupContent.childNodes[0]){$popupContent.appendChild(divTxtLoading);}
$popupOverlay.style.visibility='visible';let request=new XMLHttpRequest();request.open('GET','ajax.php?page=magasins&action=loadPopup&redirectUrl='+btoa(window.location.href)+($trigger.dataset.poid?'&poid='+$trigger.dataset.poid:'')+($trigger.dataset.packv13?'&packv13='+$trigger.dataset.packv13:'')+($trigger.dataset.cartid?'&cartid='+$trigger.dataset.cartid:''),true);request.onload=function(){if(request.status>=200&&request.status<400){$popupContent.innerHTML=this.response;if(null!==document.querySelector('#clickandcollectAjaxJS')){const script=document.querySelector('#clickandcollectAjaxJS_script'),src=document.querySelector('#clickandcollectAjaxJS').value;if(null!==script){document.querySelector('body').removeChild(script);}
const s=document.createElement('script');s.id='clickandcollectAjaxJS_script';s.src=src;document.querySelector('body').appendChild(s);}}}
request.send();}}else if('clickandcollectPopup_close'===e.target.id){e.preventDefault();document.querySelector('#clickandcollectPopup_overlay').style.visibility='hidden';}});}(jQuery));(function($){var moduleParams={"markupMode":"div","autoSwitchDevice":true,"mobileStatus":true,"mobileIsV16":true,"languagesCode":"en","pwaEnabled":false,"isSnapchatiOs":0,"httpServer":"","compatibleBrowsersVersions":{"Windows":{"firefox":74,"chrome":80,"opera":67,"edge":80,"explorer":-1},"Apple":{"firefox":74,"chrome":80,"opera":67,"safari":14}},"browsersNames":{"firefox":"Mozilla Firefox","chrome":"Google Chrome","explorer":"Internet Explorer","opera":"Opera","edge":"Microsoft Edge","safari":"Apple Safari"},"obsoleteBrowserText":"We have detected that your Internet browser (%s) is not up to date, not all site features may be accessible.<\/div>","mobileOn":false,"caisseOn":false,"bookingsOn":true,"isAjaxRequest":false};var jQueryUnveil=jQuery().unveil;const obfuscation=cssClass=>{let classObfuscation=document.getElementsByClassName(cssClass)
if(classObfuscation){for(let i=0;i{let link=classObfuscation[i].getAttribute("data-obfLink")
if(event.ctrlKey){let newWindow=window.open(decodeURIComponent(window.atob(link)),'_blank')
newWindow.focus()}else if('#'===decodeURIComponent(window.atob(link)).charAt(0)){return false}else if(3===event.which){return false}else{document.location.href=decodeURIComponent(window.atob(link))}})
classObfuscation[i].style.cursor="pointer"}}}
obfuscation("obfLink")
function lazyLoad(){};if(!moduleParams.mobileOn){$('marquee.defilante-smooth').marquee().mouseover(function(){$(this).trigger('stop');}).mouseout(function(){$(this).trigger('start');}).mousemove(function(event){if($(this).data('drag')==true){this.scrollLeft=$(this).data('scrollX')+($(this).data('x')-event.clientX);}}).mousedown(function(event){$(this).data('drag',true).data('x',event.clientX).data('scrollX',this.scrollLeft);}).mouseup(function(){$(this).data('drag',false);});}
CaptchaCallback=function(){$('.g-recaptcha').each(function(){var $this=$(this);grecaptcha.render(this,{'sitekey':$this.data('sitekey'),'stoken':$this.data('stoken')});});};recaptchaV2CurrentIndex=0;CaptchaV2Submit=function(token){var $form=$('#recaptcha_'+recaptchaV2CurrentIndex).closest('form');$form.find('input[name="g-recaptcha-response"]').val(token);if($form.data('error')!==1)$form.submit();}
CaptchaV2Callback=function(){$('.g-recaptcha').closest('form').submit(function(){var $form=$(this);recaptchaV2CurrentIndex=$form.find('.g-recaptcha').data('index');if($form.find('input[name="g-recaptcha-response"]').val()!=''){return true;}
grecaptcha.execute(recaptchaV2CurrentIndex);return false;});}
if(moduleParams.autoSwitchDevice&&moduleParams.mobileStatus&&moduleParams.mobileIsV16&&$.browser.desktop){function checkWidth(){if((window.innerWidth<768&&!moduleParams.mobileOn)||(window.innerWidth>=768&&moduleParams.mobileOn)){$(window).unbind('resize');$.get("/ajax.php?page=switchDevice",function(){}).done(function(){$('HTML').css({'background-image':'url("/images/loading.gif")','background-repeat':'no-repeat','background-position':'center center','background-color':'white!important','height':'100%'});$('BODY').fadeOut('slow');}).always(function(){setTimeout(function(){location.reload(true);},400);});}}
$(window).resize(checkWidth);$(window).trigger('resize');}
if(moduleParams.mobileOn&&moduleParams.pwaEnabled){if('serviceWorker'in navigator){navigator.serviceWorker.register('pwa-service-worker.js',{scope:'/'}).then(function(registration){}).catch(function(error){console.log('Service worker registration failed, error:',error);});}}
if(moduleParams.isSnapchatiOs){function getCookie(cname){var name=cname+"=";var decodedCookie=decodeURIComponent(document.cookie);var ca=decodedCookie.split(';');for(var i=0;i{mutations.forEach(mutation=>{let obsfucate=mutation.type=='childList';let nodes=Array.prototype.slice.call(mutation.addedNodes);nodes.forEach(node=>{if(node instanceof HTMLElement&&node.innerHTML.includes('"liste_produits_produits_v16_article"')){obsfucate=true;}});if(obsfucate)obfuscation('obfLink');})})
let divProduits=document.querySelector('.core_content_mid')
if(typeof(divProduits)!='undefined'&&divProduits!=null){obfuscationObserver.observe(divProduits,{childList:true,subtree:true,attributes:false,characterData:false,})}
let cartTooltip=document.getElementById('cart-tooltip-container');if(typeof(cartTooltip)!='undefined'&&cartTooltip!=null){obfuscationObserver.observe(cartTooltip,{childList:true,subtree:true,attributes:false,characterData:false,})}
(function(){if(typeof moduleParams.compatibleBrowsersVersions!=='object'||typeof moduleParams.browsersNames!=='object')return;if(typeof moduleParams.obsoleteBrowserText!=='string'||moduleParams.obsoleteBrowserText==='')return;if(typeof navigator.platform!=='string'||navigator.platform==='')return;if(typeof navigator.userAgent!=='string'||navigator.userAgent==='')return;let os=null;let macosPlatforms=['Macintosh','MacIntel','MacPPC','Mac68K'];let windowsPlatforms=['Win32','Win64','Windows','WinCE'];if(windowsPlatforms.indexOf(navigator.platform)!==-1){os='Windows';}else if(macosPlatforms.indexOf(navigator.platform)!==-1){os='Apple';}
if(os===null||typeof moduleParams.compatibleBrowsersVersions[os]==='undefined')return;let userAgentSplit=navigator.userAgent.toLocaleLowerCase().split(' ');let codesToSearch={'edge':'edg','chrome':'chrome','firefox':'firefox','safari':'safari','explorer':'trident',};let browserName=null;let browserVersion=null;for(let codeKey in codesToSearch){for(let i=0;i-1){browserName=codeKey;let browserData=userAgentSplit[i].split('/');if(typeof browserData[1]!=='undefined')browserVersion=parseInt(browserData[1]);break;}}
if(browserName!==null)break;}
if(browserName===null||browserVersion===null);if(typeof moduleParams.compatibleBrowsersVersions[os][browserName]==='undefined'||typeof moduleParams.browsersNames[browserName]=='undefined')return;if(moduleParams.compatibleBrowsersVersions[os][browserName]<0||browserVersion0){window.onload=function(){FrontUtil.windowOnLoadFunctions.forEach(onLoadFunction=>{if(typeof onLoadFunction==='function')onLoadFunction.call()})}}}(jQuery));