/*! VersionVI: 01A290089j */
function preg_quote(n){return(n+"").replace(/([\\\.\+\*\?\[\^\]\$\(\)\{\}\=\!\<\>\|\:])/g,"\\$1")}function extendEvent(n,t){t||(t={});var i=n.originalEvent?n.originalEvent:n;return $.extend({pageX:nGetPageX(t)||nGetPageX(n),pageY:nGetPageY(t)||nGetPageY(n),target:i.target,type:i.type,button:i.button,stopPropagation:i.stopPropagation,grfX:n.grfX,grfY:n.grfY,keyCode:i.keyCode,offsetX:i.offsetX,offsetY:i.offsetY,originalEvent:i.originalEvent,touches:i.touches,key:i.key,code:i.code,changedTouches:i.changedTouches,deltaY:i.deltaY,domEvent:n},t)}function _getPageX(n){return n?n.grfX?n.grfX:n.touches&&n.touches.length&&n.touches[0].pageX!==undefined?n.touches[0].pageX:n.pageX:undefined}function _getPageY(n){return n?n.grfY?n.grfY:n.touches&&n.touches.length&&n.touches[0].pageY!==undefined?n.touches[0].pageY:n.pageY:undefined}function nGetPageX(n,t){return n?_getPageX(n.originalEvent)||_getPageX(n)||t:t}function nGetPageY(n,t){return n?_getPageY(n.originalEvent)||_getPageY(n)||t:t}function nGetDeltaY(n,t){return n?n.deltaY||n.originalEvent.deltaY||(n.detail||n.originalEvent.detail||0)*40||t:t}function wbSansAccent(n){function i(n){return n.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var t={"\u009e":"z","\u0080":"C","\u0081":"U","\u0082":"e","\u0083":"a","\u0084":"a","\u0085":"a","\u0086":"a","\u0087":"c","\u0088":"e","\u0089":"e","\u008a":"S","\u008b":"i","\u008c":"i","\u008d":"i","\u008e":"A","\u008f":"A","\u0090":"e","\u0093":"o","\u0094":"o","\u0095":"o","\u0096":"u","\u0097":"u","\u0098":"y","\u0099":"O","\u009a":"s","\u009f":"Y","\u00a0":"a","\u00a1":"i","\u00a2":"o","\u00a3":"u","\u00a4":"n","\u00a5":"N","\u00c0":"A","\u00c1":"A","\u00c2":"A","\u00c3":"A","\u00c4":"A","\u00c5":"A","\u00c7":"C","\u00c8":"E","\u00c9":"E","\u00ca":"E","\u00cb":"E","\u00cc":"I","\u00cd":"I","\u00ce":"I","\u00cf":"I","\u00d0":"D","\u00d1":"N","\u00d2":"O","\u00d3":"O","\u00d4":"O","\u00d5":"O","\u00d6":"O","\u00d7":"X","\u00d8":"O","\u00d9":"U","\u00da":"U","\u00db":"U","\u00dc":"U","\u00dd":"Y","\u00e0":"a","\u00e1":"a","\u00e2":"a","\u00e3":"a","\u00e4":"a","\u00e5":"a","\u00e7":"c","\u00e8":"e","\u00e9":"e","\u00ea":"e","\u00eb":"e","\u00ec":"i","\u00ed":"i","\u00ee":"i","\u00ef":"i","\u00f1":"n","\u00f2":"o","\u00f3":"o","\u00f4":"o","\u00f5":"o","\u00f6":"o","\u00f8":"o","\u00f9":"u","\u00fa":"u","\u00fb":"u","\u00fc":"u","\u00fd":"y","\u00ff":"y"};for(sAccent in t)t.hasOwnProperty(sAccent)&&(n=n.replace(new RegExp(i(sAccent),"g"),t[sAccent]));return n}function wbAutocompleteDeclare(){function t(n){return n.split(/,\s*/)}function n(n){return t(n).pop()}$.widget("ui.autocomplete",$.ui.autocomplete,{wbAutocompleteProg:[],wbCache:{},wbOuvreAutocompleteProg:function(){var n=$(this.element),t=$(this.element).data("saisieassistee-ouvertureauto")==0;t&&n.data("saisieassistee-ouvertureauto",1);n.autocomplete("search");t&&n.data("saisieassistee-ouvertureauto",0)},wbConcatAutocompleteProg:function(n){return this.wbAutocompleteProg=this.wbAutocompleteProg.concat(n),this},wbAddAutocompleteProg:function(n,t){var i=n;return n instanceof clWDUtil.WDSaisieAssistee?i=[n.m_sValeur,n.m_sValeurMemorisee]:t!==undefined&&(i=[n,t]),this.wbAutocompleteProg=this.wbAutocompleteProg.concat([i]),this},wbRazAutocompleteProg:function(){return this.wbAutocompleteProg=[],this},_renderMenu:function(n,t){var i=getComputedStyle(this.element.get(0)),r={},u;["color","background-color"].filter(function(n){return clWDUtil.tabHTML2RVBA(i[n])[3]===0}).length&&(i={});["font","color","text-decoration","background-color"].forEach(function(n){r[n]=i[n]});n.css(r);u=this;$.each(t,function(t,i){u._renderItemData(n,i)})},_renderItem:function(t,i){var r=!1==$(this.element).hasClass("wbAutocompleteMultiple")?this.term:n(this.term);return $("
").append($("").html(i.label.replace(new RegExp("("+preg_quote(r)+")","gi"),'$1<\/span>'))).appendTo(t)},_trigger:function(n,t,i){if($(this.element).data("saisieassistee-ouvertureauto")==0&&(n=="open"||n=="close")){$(this.menu.element).hide();return}return this._super(n,t,i)},_searchTimeout:function(n){return this.options.delay=$(this.element).data("saisieassistee-delai")>0?parseInt($(this.element).data("saisieassistee-delai")):this.options.delay,this._super(n)}});wbAutocompleteInit=function(i){var u=$(document.body).data("wbAutocomplete"),r;if(u)return r=$(i),r.hasClass("wbSaisieJetonsWrap")&&(r=r.find(".wbSaisieJetonsInput").first()),r.filter(function(){if($(this).data("wbAutocompleteInit"))return!1;var t=this.className.toString().split(" "),i=t.indexOf("wbAutocomplete"),n=t[i+1];return u[n]?(u[n][0]($(this)),$(this).data("wbAutocompleteInitCallbackValeur",u[n][1]),!0):!1}).data("wbAutocompleteInit",1).bind("keydown",function(n){n.keyCode===$.ui.keyCode.TAB&&$(this).data("ui-autocomplete").menu.active&&n.preventDefault()}).bind("focus",function(){}).on("trigger.wb.saisie.jeton.cree",function(){r.autocomplete("close")}).autocomplete({classes:{"ui-autocomplete":"-webdev-bc-3 -webdev-c-13 SAI"},delay:200,minLength:0,source:function(t,i){function v(n){var r,t,u,i;if(n&&o&&!o.m_bJetonAutoriseDoublon){for(r=[],t=0;t-1};break;case 31981:r=function(n,t){return n.substr(n.length-t.length)==t};break;case 31982:r=function(n,t){return n!=t};break;case 31983:r=function(n,t){return n.substr(0,t.length)!=t};break;case 31984:r=function(n,t){return n.indexOf(t)==-1};break;case 31985:r=function(n,t){return n.substr(n.length-t.length)!=t};break;case 31986:r=function(n,t){return n>t};break;case 31987:r=function(n,t){return n>=t};break;case 31988:r=function(n,t){return n1){c["image-orientation"]="none";l=document.createElement("canvas");a=l.getContext("2d");l.style.width=l.width=f;l.style.height=l.height=e;a.save();i>4&&(l.width=e,l.style.width=e,l.height=f,l.style.height=f);switch(i){case 2:a.translate(l.width,0);a.scale(-1,1);break;case 3:a.translate(l.width,l.height);a.rotate(Math.PI);break;case 4:a.translate(0,l.height);a.scale(1,-1);break;case 5:a.rotate(.5*Math.PI);a.scale(1,-1);break;case 6:a.rotate(.5*Math.PI);a.translate(0,-l.width);break;case 7:a.rotate(.5*Math.PI);a.translate(l.height,-l.width);a.scale(-1,1);break;case 8:a.rotate(-.5*Math.PI);a.translate(-l.height,0)}a.drawImage(n,0,0);a.restore();y=l.toDataURL();c["background-image"]="url('"+y+"')"}p=(r.hasClass("wbGalerieChpRef")||u.hasClass("wbGalerieChpRef"))&&u.closest(".wbGalerie").hasClass("wbGalerieColonne");v=!1;switch(t){case eIMG_MODE.imgNavigateurCentre:c["background-size"]=f+"px "+e+"px";c["background-position"]="center center";v=!0;break;case eIMG_MODE.imgRepete:c["background-repeat"]="repeat";break;case eIMG_MODE.imgNavigateurHomothetique:c["background-size"]="contain";break;case eIMG_MODE.imgNavigateurHomothetiqueLarge:c["background-size"]="cover";break;case eIMG_MODE.imgNavigateurHomothetiqueCentre:c["background-size"]="contain";c["background-position"]="center center";break;case eIMG_MODE.imgNavigateurHomothetiqueCentreLarge:c["background-size"]="cover";c["background-position"]="center center";break;case eIMG_MODE.imgNavigateurAdapte:c["background-size"]=o?"contain":f+"px "+e+"px";v=!0;break;case eIMG_MODE.imgNavigateurAdapteCentre:c["background-size"]=o?"contain":f+"px "+e+"px";c["background-position"]="center center";v=!0;break;case eIMG_MODE.imgNavigateurAdapteLargeCentre:c["background-size"]=s?"cover":f+"px "+e+"px";c["background-position"]="center center";v=!0}v&&p&&r.css({maxHeight:e});u.css(c)};i?getOrientation(h,c):c(1,undefined)}var r,u,e,c,o,f,h,s,a;if(n.parentNode&&(nIE==0||!(nIE<9))){if(r=$(n),r.attr("data-media")&&!r.data("attrSrcOri")){r.data("wbOnRemoveDataMedia",function(){wbImgHomNav(n,t)});return}if(u=r.parent(),e=u[0],e.wbModeAffichage=t,e.bPremierAffichageDejaFait||(c=r.prop("attributes"),$(c).each(function(){var n=this.name.toLowerCase(),t=this.value;n!=="src"&&n!=="alt"&&n!=="title"&&n!=="onload"&&n.indexOf("data-")!==0&&(n==="class"&&(t+=" "+u.attr("class")),n==="style"&&(t+=";"+u.attr("style")),u.attr(this.name,t),r.removeAttr(this.name))}),u.hasClass("ancragesupref")&&(u.removeClass("ancragesupref"),r.addClass("ancragesupref")),r.css({width:"100%",height:"100%"}),e.bPremierAffichageDejaFait=!0),$(window).off("resize.wb.img.homothetique.adapte."+e.id),u.off("trigger.wb.img.homothetique.adapte"),o=r[0].naturalWidth,f=r[0].naturalHeight,t==eIMG_MODE.imgNavigateurCentre||t>=eIMG_MODE.imgNavigateurAdapte){f==0&&(h=r.clone(!1).attr("onload",""),s=h.get(0),h.css({width:"auto",height:"auto"}),h.css({visibility:"hidden",position:"fixed"}),document.body.appendChild(s),o=s.naturalWidth||s.width,f=s.naturalHeight||s.height,document.body.removeChild(s));a=f==0?1:o/f;r[0].onRecalculHomothetie=function(){function c(){l(a,v,s,h)}var i,n,t;e.bPremierRecalculHomothetieDejaFait||!r[0].nLargeurInitiale?(n=r.width(),i=u.length&&u[0].nodeType===1,t=Math.max(r.height(),i?u.height():0)):(n=r[0].nLargeurInitiale,t=r[0].nHauteurInitiale);e.bPremierRecalculHomothetieDejaFait=!0;var a=o,v=f,s=!1,h=!1;o>f?nt&&o>n&&(h=!0);r[0].loaded?c():requestAnimationFrame(c)};r[0].onRecalculHomothetie();$(window).on("resize.wb.img.homothetique.adapte."+e.id,r[0].onRecalculHomothetie);u.on("trigger.wb.img.homothetique.adapte",r[0].onRecalculHomothetie)}else l(o,f);u.css("opacity",1)}}function processImage(n,t,i,r){var n,u,f,t,e;if(typeof n=="string")n=document.getElementById(n);else if(typeof HTMLImageElement!="undefined"&&!n instanceof HTMLImageElement)return;if(u=n.naturalWidth,f=n.naturalHeight,typeof t=="string")t=document.getElementById(t);else if(typeof HTMLCanvasElement!="undefined"&&!t instanceof HTMLCanvasElement)return;(t.style.width=u+"px",t.style.height=f+"px",t.width=u,t.height=f,e=t.getContext("2d"),e.clearRect(0,0,u,f),e.drawImage(n,0,0),isNaN(i)||i<1)||(r?processCanvasRGBA(t,0,0,u,f,i):processCanvasRGB(t,0,0,u,f,i))}function getImageDataFromCanvas(n,t,i,r,u){var n,f,e;if(typeof n=="string")n=document.getElementById(n);else if(typeof HTMLCanvasElement!="undefined"&&!n instanceof HTMLCanvasElement)return;f=n.getContext("2d");try{try{e=f.getImageData(t,i,r,u)}catch(o){throw new Error("unable to access local image data: "+o);}}catch(o){throw new Error("unable to access image data: "+o);}return e}function processCanvasRGBA(n,t,i,r,u,f){if(!isNaN(f)&&!(f<1)){f|=0;var e=getImageDataFromCanvas(n,t,i,r,u);e=processImageDataRGBA(e,t,i,r,u,f);n.getContext("2d").putImageData(e,t,i)}}function processImageDataRGBA(n,t,i,r,u,f){for(var e=n.data,tt,yt,h,bt,c,kt,k,d,g,nt,st,ht,ct,lt,it,rt,ut,ft,p,w,b,s,at,ni=f+f+1,ti=r<<2,wt=r-1,dt=u-1,v=f+1,vt=v*(v+1)/2,pt=new BlurStack,o=pt,gt,l,y,et,ot,a=1;a>ot,s!=0?(s=255/s,e[c]=(k*et>>ot)*s,e[c+1]=(d*et>>ot)*s,e[c+2]=(g*et>>ot)*s):e[c]=e[c+1]=e[c+2]=0,k-=st,d-=ht,g-=ct,nt-=lt,st-=l.r,ht-=l.g,ct-=l.b,lt-=l.a,h=kt+((h=tt+f+1)>ot,s>0?(s=255/s,e[h]=(k*et>>ot)*s,e[h+1]=(d*et>>ot)*s,e[h+2]=(g*et>>ot)*s):e[h]=e[h+1]=e[h+2]=0,k-=st,d-=ht,g-=ct,nt-=lt,st-=l.r,ht-=l.g,ct-=l.b,lt-=l.a,h=tt+((h=yt+v)>st,o[c+1]=k*ot>>st,o[c+2]=d*ot>>st,b-=rt,k-=ut,d-=ft,rt-=l.r,ut-=l.g,ft-=l.b,h=yt+((h=g+f+1)>st,o[h+1]=k*ot>>st,o[h+2]=d*ot>>st,b-=rt,k-=ut,d-=ft,rt-=l.r,ut-=l.g,ft-=l.b,h=g+((h=et+a)>>0,o=arguments[1],r=o>>0,u=r<0?Math.max(t+r,0):Math.min(r,t),e=arguments[2],f=e===undefined?t:e>>0,s=f<0?Math.max(t+f,0):Math.min(f,t);u=3)){for(var animating,lastTime=0,vendors=["webkit","moz"],requestAnimationFrame=window.requestAnimationFrame,cancelAnimationFrame=window.cancelAnimationFrame;lastTime\?@\[\]^`\{\|\}~)/g,"\\\\$1")},findNextFocusable:function(n,i){var u=t(o).not(":disabled").not(":hidden").not(".wbSaisieJetonsInput").not("[tabindex=-1]").not("a[href]:empty"),e,s,f;return n[0].tagName==="INPUT"&&n[0].type==="radio"&&n[0].name!==""&&(e=r.escapeSelectorName(n[0].name),u=u.not("input[type=radio][name="+e+"]").add(n)),s=u.index(n),f=(s+i)%u.length,f<=-1&&(f=u.length+f),u.eq(f)},focusInElement:function(n){f=n.target},tryGetElementAsNonEmptyJQueryObject:function(n){try{var i=t(n);if(!!i&&i.size()!==0)return i}catch(r){}return null},getFocusedElement:function(){return r.tryGetElementAsNonEmptyJQueryObject(":focus")||r.tryGetElementAsNonEmptyJQueryObject(n.activeElement)||r.tryGetElementAsNonEmptyJQueryObject(f)||t()},emulateTabbing:function(n,t){var i=r.findNextFocusable(n,t);i.focus()},initializeAtLoad:function(){t(n).on("focusin"+e,r.focusInElement)}},u={tab:function(n,i){t.isNumeric(n)&&(i=n,n=undefined);n=n||u.getFocused();i=i||1;r.emulateTabbing(n,i)},forwardTab:function(n){return u.tab(n,1)},reverseTab:function(n){return u.tab(n,-1)},getFocused:function(){return r.getFocusedElement()}},s=function(){t.extend({emulateTab:function(n,t){return u.tab(n,t)}});t.fn.extend({emulateTab:function(n){return u.tab(this,n)}})},h=function(){s();t(r.initializeAtLoad)};h()})(document,jQuery,"EmulateTab");
/*!
* jQuery UI Touch Punch 0.2.3
*
* Copyright 2011\u20132014, Dave Furfero
* Dual licensed under the MIT or GPL Version 2 licenses.
*
* Depends:
* jquery.ui.widget.js
* jquery.ui.mouse.js
*/
(function(n){function i(n,t){if(!(n.originalEvent.touches.length>1)){n.preventDefault();var i=n.originalEvent.changedTouches[0],r=document.createEvent("MouseEvents");r.initMouseEvent(t,!0,!0,window,1,i.screenX,i.screenY,i.clientX,i.clientY,!1,!1,!1,!1,0,null);n.target.dispatchEvent(r)}}if(n.support.touch="ontouchend"in document,n.ui&&n.support.touch){var t=n.ui.mouse.prototype,u=t._mouseInit,f=t._mouseDestroy,r;t._touchStart=function(n){var t=this;!r&&t._mouseCapture(n.originalEvent.changedTouches[0])&&(r=!0,t._touchMoved=!1,i(n,"mouseover"),i(n,"mousemove"),i(n,"mousedown"))};t._touchMove=function(n){r&&(this._touchMoved=!0,i(n,"mousemove"))};t._touchEnd=function(n){r&&(i(n,"mouseup"),i(n,"mouseout"),this._touchMoved||i(n,"click"),r=!1)};t._mouseInit=function(){var t=this;t.element.bind({touchstart:n.proxy(t,"_touchStart"),touchmove:n.proxy(t,"_touchMove"),touchend:n.proxy(t,"_touchEnd")});u.call(t)};t._mouseDestroy=function(){var t=this;t.element.unbind({touchstart:n.proxy(t,"_touchStart"),touchmove:n.proxy(t,"_touchMove"),touchend:n.proxy(t,"_touchEnd")});f.call(t)}}})(jQuery);$.fn.oneOfThem=function(n,t){return this.each(function(){var i=$(this);i.one(n,function(n){t.oneOfThem?i.off(n):(t.oneOfThem=!0,t.apply(this))})})};$.fn.wbJsonParseAttr=function(n,t){try{if(t&&!this.attr(n))return undefined;try{return JSON.parse(this.attr(n))}catch(i){}return JSON.parse(this.attr(n).replace(/'/g,'"'))}catch(i){return window.clWDUtil&&{},undefined}};$.fn.wbGetClassCommencePar=function(n,t){for(var r,u=this.attr("class").split(" "),i=0;i0}).reduce(function(n,t){return Math.min(n,t)})),i=0;i-1&&(n.courant=t(document.documentElement.clientWidth));$(this).trigger("trigger.wb.cache.window");window.nHauteurPage=i.height();window.nLargeurPage=i.width()});window.addEventListener&&window===window.parent&&window.wbAgencementImpression!==!0&&function(){var t=null,i=function(){if(!t&&n&&n.bAvecPrint){t=document.createElement("iframe");t.setAttribute("id","print");t.setAttribute("style","display:none;");document.body.append(t);var i=new XMLHttpRequest;i.open("POST",clWDUtil.sGetPageAction(),!1);i.onload=function(){var h,c,l,y,a,v,u,n,e,o,f,s;if(!1==(i.readyState===4&&i.status===200)){r();return}t.contentWindow.document.write(i.responseText);t.contentWindow.wbAgencementImpression=!0;h=t.contentWindow.document.documentElement.attributes;t.contentWindow.document.documentElement.remove();c=t.contentWindow.document.createElement("html");c.innerHTML=i.responseText.trim();t.contentWindow.document.insertBefore(c,undefined);for(oAttribute in h)h.hasOwnProperty(oAttribute)&&isNaN(oAttribute)&&t.contentWindow.document.documentElement.setAttribute(oAttribute.name,oAttribute.value);for(l=t.contentWindow.document.body.querySelectorAll("*"),u=l.length-1;u>-1;u--)n=l[u],y=$(n).clone(!0,!0),n.parentNode.insertBefore(y[0],n),n.remove();for(a=t.contentWindow.document.documentElement.querySelectorAll("script"),u=0;u");if(t[0].tagName.toUpperCase()=="TABLE"){if(t.find("[data-effet-marquee=mono]").length>0)return;t=t.find("td")}t[0].tagName.toUpperCase()=="A"&&t.children().first()[0]!==undefined&&t.children().first()[0].tagName.toUpperCase()=="SPAN"&&(t=t.children().first(),t[0]!==undefined&&t[0].tagName.toUpperCase()=="SPAN"&&(t=t.children().first()));t[0].tagName.toUpperCase()=="TD"&&(t.css("line-height","0"),i.css("line-height","normal"));i.attr("scrollamount","1").attr("truespeed","1").attr("behavior",u).attr("scrolldelay",r).html(t.html()).bind("mouseleave mouseblur",function(){$(this).attr("scrolldelay",r)}).bind("mouseover mousemove",function(){$(this).attr("scrolldelay",1e8)});t.html("").append(i)});$("[data-effet-marquee=multi]").each(function(){function w(n){var r,i,t;for(n==undefined?(n=0,e.css(l,"0")):e.delay(300),r=n*-u,i=n;i<=a;++i)t={},t[l]=r+"px",e.animate(t,v,y).animate(t,i==0?0:b),r-=u;t={};t[l]="-"+p+"px";e.animate(t,v,y,w)}var t=$(this),u=parseInt(n(t,"height",t.height())),c=parseInt(n(t,"width",t.width())),v=parseInt(n(t,"effet-vitesse",1500)),b=parseInt(n(t,"effet-delai",2e3)),y=window.jQuery.ui?"easeOutExpo":"swing",l="margin-top",o=t.text()!=t.html(),i,k,r,s,h,a,p,e;if(t[0].tagName.toUpperCase()=="TABLE"){if(t.find("[data-effet-marquee=multi]").length>0)return;t=t.find("td")}if(t[0].tagName.toUpperCase()=="A")i=t,t.children().first()[0]!==undefined&&t.children().first()[0].tagName.toUpperCase()=="SPAN"&&(i=t.children().first(),i[0]!==undefined&&i[0].tagName.toUpperCase()=="SPAN"&&(i=i.children().first(),o=i.text()!=i.html(),o&&(t=i)));else if(t.children().first().attr("data-effet-marquee"))return;k=$("").css("overflow","hidden").css("display","block").css("position","relative").css("height",u).css("width",c);r=[];r=o&&t.children().first().css("display")=="block"?t.children():t.html().split(/
|\n\n/);r.length<1&&(r[0]=t.html(),r[1]=t.html());var f=$("
").css("padding","0").css("margin","0").css("overflow","hidden").css("display","block").css("position","relative").css("height",u).css("width",c);for(s=0;s").css("padding","0").css("margin","0").css("display","block").css("height",u).css("width",c).css("overflow","hidden").html(h))}a=f.children().length-1;t.html("").append(f);t.children().first().append(f.children().first().clone());p=u*(a+1);e=f.children().first();w()})}),function(n,t,i,r){var u=n(t);n.fn.lazyload=function(f){function s(t){var i=0;t.each(function(){var t=n(this);if((!e.skip_invisible||t.is(":visible"))&&!n.abovethetop(this,e)&&!n.leftofbegin(this,e))if((n.belowthefold(this,e)||n.rightoffold(this,e))&&u.height()!=0){if(++i>e.failure_limit)return!1}else t.trigger("appear"),i=0})}var o=this,h,e={threshold:100,failure_limit:0,event:"scroll",effect:"show",container:t,data_attribute:"original",skip_invisible:!0,appear:null,load:null,placeholder:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC"};return f&&n.extend(e,f),h=e.container===r||e.container===t?u:n(e.container),0===e.event.indexOf("scroll")&&h.bind(e.event,function(){return s(o)}),this.each(function(){var u=this,i=n(u),f,h;u.loaded=!1;(i.attr("src")===r||i.attr("src")===!1)&&(i.attr("data-width")!==r?(f=i.attr("data-height"),h=i.attr("data-width"),i.css("background","url("+i.attr("data-placeholder")+") center center no-repeat transparent").data("lazyloadMire",1),i.height()==0&&i.css("padding-top",f+"px"),i.css("width")==="auto"&&i.css("padding-left","100%"),i.width()==0&&i.css("padding-left",h+"px")):i.attr("data-placeholder")!==r?i.attr("src",i.attr("data-placeholder")):i.data("src")!==r?i.attr("src",i.data("src")).removeAttr("data-src"):i.attr("src",e.placeholder));i.bind("load",function(){i.data("lazyloadMire")&&(u.loaded=!1,s(i))});t.clWDUtil!==r&&clWDUtil.m_oNotificationsImagesVisibles.AddNotification(function(n,t){(!t||clWDUtil.bEstFils(i[0],t))&&i.trigger("load")});i.bind("appear",function(){var h,f,s;this.loaded||(e.appear&&(h=o.length,e.appear.call(u,h,e)),f=i.attr("data-"+e.data_attribute)==""&&i.attr("src")!=""&&i.attr("src")!=i.attr("data-src"),s=n("
").bind("load",function(){var v,y,s,h,c,l,a,b,k;if(!this.parentNode){v=Math.max(i.height(),parseInt(i.attr("data-height")));y=Math.max(i.width(),parseInt(i.attr("data-width")));i.attr("data-display-ori")===r&&i.attr("data-display-ori",i.css("display"));f||i.hide();s=f?i.attr("src"):i.attr("data-"+e.data_attribute);h=!1;
//!bSrcDejaFait && (self.style.width=="") && !$self.parent().parent().hasClass("dzSpan");
oStyleBaliseImg=u.style;var p=oStyleBaliseImg.width=="auto"||oStyleBaliseImg.width=="",w=oStyleBaliseImg.height=="auto"||oStyleBaliseImg.height=="",d=oStyleBaliseImg.width=="100%",g=oStyleBaliseImg.height=="100%";i.data("style-width")===r&&i.data("style-width",u.style.width);i.data("style-height")===r&&i.data("style-height",u.style.height);u.style.width=i.data("style-width");u.style.height=i.data("style-height");c=i.data("style-width")==""?f?u.width:this.width+"px":u.style.width;l=i.data("style-height")==""?f?u.height:this.height+"px":u.style.height;i.css("width",y);i.css("height",v);i.css("background","").css("padding-top","").css("padding-left","").data("lazyloadMire",0);i.is("img")?i.attr("src",s):i.css("background-image","url('"+s+"')");i.queue().length==0&&(u.nOpaciteInitiale=u.nOpaciteInitiale||i.css("opacity"),a=t.scrollY===0?1e3:400,i.css("opacity",0).animate({opacity:u.nOpaciteInitiale},a),t.scrollY>0&&i.css("opacity")==0&&u.src.indexOf(i.attr("src"))==-1&&i.add(i.parents(".dzSpan")).first().animate({content:1},{step:function(t){n(this).css("transform","scale("+(.8+t*.2)+")")},easing:"easeOutExpo",duration:a}));i.css("display",i.attr("data-display-ori"));i[0].loaded=u.loaded=!0;i.trigger("load");h&&t.scrollY>0&&!d?i.stop(!0,!0).animate({width:c},{duration:500,complete:function(){p&&n(this).css("width","auto")}}):i.css("width",p?"auto":c);h&&t.scrollY>0&&!g?i.stop(!0,!0).animate({height:l},{duration:500,complete:function(){w&&n(this).css("height","auto")}}):i.css("height",w?"auto":l);b=n.grep(o,function(n){return!n.loaded});o=n(b);e.load&&(k=o.length,e.load.call(u,k,e))}}),f?(i.attr("data-"+e.data_attribute,i.attr("src")),s.trigger("load")):this.tagName.toLowerCase()=="img"&&s.attr("src",i.attr("data-"+e.data_attribute)))});0!==e.event.indexOf("scroll")&&i.bind(e.event,function(){u.loaded||i.trigger("appear")})}),u.bind("resize",function(){s(o)}),u.bind("resetappear",function(){o.push($self);s(o)}),/iphone|ipod|ipad.*os 5/gi.test(navigator.appVersion)&&u.bind("pageshow",function(t){t.originalEvent&&t.originalEvent.persisted&&o.each(function(){n(this).trigger("appear")})}),n(i).ready(function(){setTimeout(function(){s(o)},20)}),this};n.belowthefold=function(i,u){var f,e=0;return u.container===r||u.container===t?f=t.nBordBasNavigateur:(f=u.container.scrollTop+n(u.container).offset().top+n(u.container).height(),e=n(u.container).offset().top),f<=(i.nPositionY||(i.nPositionY=n(i).offset().top))-u.threshold-e};n.rightoffold=function(i,u){var f,e=0;return u.container===r||u.container===t?f=t.nBordDroitNavigateur:(f=u.container.scrollLeft+n(u.container).offset().left+n(u.container).width(),e=n(u.container).offset().left),f<=(i.nPositionX||(i.nPositionX=n(i).offset().left))-u.threshold-e};n.abovethetop=function(i,u){var f,e=0;return u.container===r||u.container===t?f=t.nBordHautNavigateur:(f=u.container.scrollTop+n(u.container).offset().top,e=n(u.container).offset().top),f>=(i.nPositionY||(i.nPositionY=n(i).offset().top))+u.threshold+(i.nHauteurChamp||(i.nHauteurChamp=n(i).height()))-e};n.leftofbegin=function(i,u){var f,e=0;return u.container===r||u.container===t?f=t.nBordGaucheNavigateur:(f=u.container.scrollLeft+n(u.container).offset().left,e=n(u.container).offset().left),f>=(i.nPositionX||(i.nPositionX=n(i).offset().left))+u.threshold+(i.nLargeurChamp||(i.nLargeurChamp=n(i).height()))-e};n.inviewport=function(t,i){return!n.rightoffold(t,i)&&!n.leftofbegin(t,i)&&!n.belowthefold(t,i)&&!n.abovethetop(t,i)};n.extend(n.expr[":"],{"below-the-fold":function(t){return n.belowthefold(t,{threshold:0})},"above-the-top":function(t){return!n.belowthefold(t,{threshold:0})},"right-of-screen":function(t){return n.rightoffold(t,{threshold:0})},"left-of-screen":function(t){return!n.rightoffold(t,{threshold:0})},"in-viewport":function(t){return n.inviewport(t,{threshold:0})}})}(jQuery,window,document);$().ready(function(){function n(n,t){$(t).find("[data-original]").data("wbMediaAttrCallback",function(n,t,i,r){return i!=="data-original"?r:(n.balise[0].loaded&&(n.balise[0].loaded=!1,setTimeout(function(){n.balise.trigger("resetappear")},1)),r)}).lazyload({appear:function(){$self=$(this);$self.addClass("wb-lazy-loading")},load:function(n,t){$self=$(this);$self.addClass("wb-lazy-loaded").removeClass("wb-lazy-loading").attr("src",$self.attr("data-"+t.data_attribute))}}).bind("click mouseenter",function(){$(this).trigger("appear")})}window.clWDUtil!==undefined&&clWDUtil.m_oNotificationsAjoutHTML.AddNotification(n);n(undefined,$("body")[0])});wbAutocompleteInit=undefined;wbAutocompleteDeclare(),function(n){typeof define=="function"&&define.amd&&define.amd.jQuery?define(["jquery"],n):typeof module!="undefined"&&module.exports?n(require("jquery")):n(jQuery)}(function(n){"use strict";function ft(t){return t&&t.allowPageScroll===undefined&&(t.swipe!==undefined||t.swipeStatus!==undefined)&&(t.allowPageScroll=p),t.click!==undefined&&t.tap===undefined&&(t.tap=t.click),t||(t={}),t=n.extend({},n.fn.swipe.defaults,t),this.each(function(){var r=n(this),i=r.data(h);i||(i=new et(this,t),r.data(h,i))})}function et(ft,et){function tr(t){if(!pu()&&!(n(t.target).closest(et.excludedElements,ot).length>0)){var r=t.originalEvent?t.originalEvent:t,f,u=r.touches,e=u?u[0]:r;return(st=rt,u?ct=u.length:et.preventDefaultEvents!==!1&&t.preventDefault(),at=0,vt=null,yt=null,kt=null,lt=0,gt=0,ni=0,pt=1,bt=0,li=ku(),dr(),wi(0,e),!u||ct===et.fingers||et.fingers===l||oi()?(gi=ii(),ct==2&&(wi(1,u[1]),gt=ni=cr(ht[0].start,ht[1].start)),(et.swipeStatus||et.pinchStatus)&&(f=wt(r,st))):f=!1,f===!1)?(st=i,wt(r,st),f):(et.hold&&(ei=setTimeout(n.proxy(function(){ot.trigger("hold",[r.target]);et.hold&&(f=et.hold.call(ot,r,r.target))},this),et.longTapThreshold)),pi(!0),null)}}function ir(n){var f=n.originalEvent?n.originalEvent:n,e,h;if(st!==t&&st!==i&&!yi()){var s,r=f.touches,c=r?r[0]:f,u=gr(c);ai=ii();r&&(ct=r.length);et.hold&&clearTimeout(ei);st=o;ct==2&&(gt==0?(wi(1,r[1]),gt=ni=cr(ht[0].start,ht[1].start)):(gr(r[1]),ni=cr(ht[0].end,ht[1].end),kt=gu(ht[0].end,ht[1].end)),pt=du(gt,ni),bt=Math.abs(gt-ni));ct===et.fingers||et.fingers===l||!r||oi()?(vt=iu(u.start,u.end),yt=iu(u.last,u.end),uu(n,yt),at=nf(u.start,u.end),lt=tu(),bu(vt,at),s=wt(f,st),(!et.triggerOnTouchEnd||et.triggerOnTouchLeave)&&(e=!0,et.triggerOnTouchLeave&&(h=rf(this),e=uf(u.end,h)),!et.triggerOnTouchEnd&&e?st=fr(o):et.triggerOnTouchLeave&&!e&&(st=fr(t)),(st==i||st==t)&&wt(f,st))):(st=i,wt(f,st));s===!1&&(st=i,wt(f,st))}}function rr(n){var r=n.originalEvent?n.originalEvent:n,u=r.touches;if(u){if(u.length&&!yi())return yu(r),!0;if(u.length&&yi())return!0}return yi()&&(ct=nr),ai=ii(),lt=tu(),or()||!er()?(st=i,wt(r,st)):et.triggerOnTouchEnd||et.triggerOnTouchEnd==!1&&st===o?(et.preventDefaultEvents!==!1&&n.preventDefault(),st=t,wt(r,st)):!et.triggerOnTouchEnd&&br()?(st=t,dt(r,st,k)):st===o&&(st=i,wt(r,st)),pi(!1),null}function ui(){ct=0;ai=0;gi=0;gt=0;ni=0;pt=1;dr();pi(!1)}function ur(n){var i=n.originalEvent?n.originalEvent:n;et.triggerOnTouchLeave&&(st=fr(t),wt(i,st))}function lr(){ot.unbind(hi,tr);ot.unbind(ci,ui);ot.unbind(ki,ir);ot.unbind(di,rr);ri&&ot.unbind(ri,ur);pi(!1)}function fr(n){var r=n,f=ar(),u=er(),e=or();return!f||e?r=i:u&&n==o&&(!et.triggerOnTouchEnd||et.triggerOnTouchLeave)?r=t:!u&&n==t&&et.triggerOnTouchLeave&&(r=i),r}function wt(n,r){var u,f=n.touches;return(eu()||sr())&&(u=dt(n,r,w)),(fu()||oi())&&u!==!1&&(u=dt(n,r,b)),au()&&u!==!1?u=dt(n,r,tt):vu()&&u!==!1?u=dt(n,r,it):lu()&&u!==!1&&(u=dt(n,r,k)),r===i&&(sr()&&(u=dt(n,r,w)),oi()&&(u=dt(n,r,b)),ui(n)),r===t&&(f?f.length||ui(n):ui(n)),u}function dt(o,s,h){var c;if(h==w){if(ot.trigger("swipeStatus",[s,vt||null,at||0,lt||0,ct,ht,yt]),et.swipeStatus&&(c=et.swipeStatus.call(ot,o,s,vt||null,at||0,lt||0,ct,ht,yt),c===!1))return!1;if(s==t&&yr()){if(clearTimeout(fi),clearTimeout(ei),ot.trigger("swipe",[vt,at,lt,ct,ht,yt]),et.swipe&&(c=et.swipe.call(ot,o,vt,at,lt,ct,ht,yt),c===!1))return!1;switch(vt){case r:ot.trigger("swipeLeft",[vt,at,lt,ct,ht,yt]);et.swipeLeft&&(c=et.swipeLeft.call(ot,o,vt,at,lt,ct,ht,yt));break;case u:ot.trigger("swipeRight",[vt,at,lt,ct,ht,yt]);et.swipeRight&&(c=et.swipeRight.call(ot,o,vt,at,lt,ct,ht,yt));break;case f:ot.trigger("swipeUp",[vt,at,lt,ct,ht,yt]);et.swipeUp&&(c=et.swipeUp.call(ot,o,vt,at,lt,ct,ht,yt));break;case e:ot.trigger("swipeDown",[vt,at,lt,ct,ht,yt]);et.swipeDown&&(c=et.swipeDown.call(ot,o,vt,at,lt,ct,ht,yt))}}}if(h==b){if(ot.trigger("pinchStatus",[s,kt||null,bt||0,lt||0,ct,pt,ht]),et.pinchStatus&&(c=et.pinchStatus.call(ot,o,s,kt||null,bt||0,lt||0,ct,pt,ht),c===!1))return!1;if(s==t&&vr())switch(kt){case v:ot.trigger("pinchIn",[kt||null,bt||0,lt||0,ct,pt,ht]);et.pinchIn&&(c=et.pinchIn.call(ot,o,kt||null,bt||0,lt||0,ct,pt,ht));break;case y:ot.trigger("pinchOut",[kt||null,bt||0,lt||0,ct,pt,ht]);et.pinchOut&&(c=et.pinchOut.call(ot,o,kt||null,bt||0,lt||0,ct,pt,ht))}}return h==k?(s===i||s===t)&&(clearTimeout(fi),clearTimeout(ei),hr()&&!su()?(ti=ii(),fi=setTimeout(n.proxy(function(){ti=null;ot.trigger("tap",[o.target]);et.tap&&(c=et.tap.call(ot,o,o.target))},this),et.doubleTapThreshold)):(ti=null,ot.trigger("tap",[o.target]),et.tap&&(c=et.tap.call(ot,o,o.target)))):h==tt?(s===i||s===t)&&(clearTimeout(fi),clearTimeout(ei),ti=null,ot.trigger("doubletap",[o.target]),et.doubleTap&&(c=et.doubleTap.call(ot,o,o.target))):h==it&&(s===i||s===t)&&(clearTimeout(fi),ti=null,ot.trigger("longtap",[o.target]),et.longTap&&(c=et.longTap.call(ot,o,o.target))),c}function er(){var n=!0;return et.threshold!==null&&(n=at>=et.threshold),n}function or(){var n=!1;return et.cancelThreshold!==null&&vt!==null&&(n=nu(vt)-at>=et.cancelThreshold),n}function ru(){return et.pinchThreshold!==null?bt>=et.pinchThreshold:!0}function ar(){return et.maxTimeThreshold?lt>=et.maxTimeThreshold?!1:!0:!0}function uu(n,t){if(et.preventDefaultEvents!==!1)if(et.allowPageScroll===p)n.preventDefault();else{var i=et.allowPageScroll===nt;switch(t){case r:(et.swipeLeft&&i||!i&&et.allowPageScroll!=d)&&n.preventDefault();break;case u:(et.swipeRight&&i||!i&&et.allowPageScroll!=d)&&n.preventDefault();break;case f:(et.swipeUp&&i||!i&&et.allowPageScroll!=g)&&n.preventDefault();break;case e:(et.swipeDown&&i||!i&&et.allowPageScroll!=g)&&n.preventDefault()}}}function vr(){var n=pr(),t=wr(),i=ru();return n&&t&&i}function oi(){return!!(et.pinchStatus||et.pinchIn||et.pinchOut)}function fu(){return!!(vr()&&oi())}function yr(){var n=ar(),t=er(),i=pr(),r=wr(),u=or();return!u&&r&&i&&t&&n}function sr(){return!!(et.swipe||et.swipeStatus||et.swipeLeft||et.swipeRight||et.swipeUp||et.swipeDown)}function eu(){return!!(yr()&&sr())}function pr(){return ct===et.fingers||et.fingers===l||!c}function wr(){return ht[0].end.x!==0}function br(){return!!et.tap}function hr(){return!!et.doubleTap}function ou(){return!!et.longTap}function kr(){if(ti==null)return!1;var n=ii();return hr()&&n-ti<=et.doubleTapThreshold}function su(){return kr()}function hu(){return(ct===1||!c)&&(isNaN(at)||atet.longTapThreshold&&at=0?r:i<=360&&i>=315?r:i>=135&&i<=225?u:i>45&&i<135?e:f}function ii(){var n=new Date;return n.getTime()}function rf(t){t=n(t);var i=t.offset();return{left:i.left,right:i.left+t.outerWidth(),top:i.top,bottom:i.top+t.outerHeight()}}function uf(n,t){return n.x>t.left&&n.xt.top&&n.y<\/style>"),n.jqImgAnim=$(t[0].firstElementChild),$("head").append(n.jqStyleOptim),r=function(){var i,r;window.requestIdleCallback?cancelIdleCallback(n.timerMajKF):clearTimeout(n.timerMajKF);n.timerMajKF=undefined;i=t.outerHeight()*n.oAnimationPlancheImage.y;n.jqImgAnim.css("animation-play-state","");bIEAvec11&&n.jqImgAnim[0].src.substr(-3)==="svg"&&n.jqImgAnim.css({height:i});n.nHauteurCouranteAnimation=i;r="@keyframes "+t[0].classList[1]+"{ from { transform:translateY(0); } to { transform:translateY(-"+n.nHauteurCouranteAnimation+"px); } }";n.jqStyleOptim.html(r);n.wbImgAnimDejaInit=n.clientHeight>0},i=function(t,u,f){if(!u){if(n.timerMajKF!==undefined)window.requestIdleCallback?cancelIdleCallback(n.timerMajKF):clearTimeout(n.timerMajKF);else{if(!n.classList.contains("wbImgAnimLargeurPourcentage")&&n.wbImgAnimDejaInit){i=function(){};return}n.jqStyleOptim.html("");n.jqImgAnim.css("animation-play-state","paused")}n.timerMajKF=undefined;f?r():n.timerMajKF=window.requestIdleCallback?window.requestIdleCallback(r):setTimeout(r,1e3)}},!this.wbImgAnimDejaEcoute){this.wbImgAnimDejaEcoute=!0;clWDUtil.AttacheOnScrollResize(i);$(window).on("trigger.wb.postUpdateLayoutSuperposableEpingle.apparition.imganim",function(t,r){(!r||clWDUtil.bEstFils(n,r))&&i(t,!1,!0)})}i(!0)}})});window.clWDUtil!==undefined&&(clWDUtil.m_oNotificationsAjoutHTML&&clWDUtil.m_oNotificationsAjoutHTML.AddNotification(function(){$(window).trigger("trigger.wb.imganim.reload")}),clWDUtil.m_oNotificationsFinAJAX&&clWDUtil.m_oNotificationsFinAJAX.AddNotification(function(){$(window).trigger("trigger.wb.imganim.reload")}));eIMG_MODE.imgModeMini=eIMG_MODE.i=0;eIMG_MODE.imgNormal=++eIMG_MODE.i;eIMG_MODE.imgCentre=++eIMG_MODE.i;eIMG_MODE.imgEtire=++eIMG_MODE.i;eIMG_MODE.imgRepete=++eIMG_MODE.i;eIMG_MODE.imgHomothetique=++eIMG_MODE.i;eIMG_MODE.imgHomothetiqueCentre=++eIMG_MODE.i;eIMG_MODE.imgHomothetiqueLarge=++eIMG_MODE.i;eIMG_MODE.imgHomothetiqueCentreLarge=++eIMG_MODE.i;eIMG_MODE.imgAdapte=++eIMG_MODE.i;eIMG_MODE.imgAdapteCentre=++eIMG_MODE.i;eIMG_MODE.IMG_MODE_NAVIGATEUR_MINI_INCLUS=eIMG_MODE.imgNavigateurHomothetiqueLargeur=++eIMG_MODE.i;eIMG_MODE.imgNavigateurAdapteLargeur=++eIMG_MODE.i;eIMG_MODE.imgNavigateurHomothetiqueLargeurDebordementHauteur=++eIMG_MODE.i;eIMG_MODE.imgNavigateurAdapteLargeurDebordementHauteur=++eIMG_MODE.i;eIMG_MODE.imgNavigateurCentre=++eIMG_MODE.i;eIMG_MODE.imgNavigateurHomothetique=++eIMG_MODE.i;eIMG_MODE.imgNavigateurHomothetiqueCentre=++eIMG_MODE.i;eIMG_MODE.imgNavigateurHomothetiqueLarge=++eIMG_MODE.i;eIMG_MODE.imgNavigateurHomothetiqueCentreLarge=++eIMG_MODE.i;eIMG_MODE.imgNavigateurAdapte=++eIMG_MODE.i;eIMG_MODE.imgNavigateurAdapteCentre=++eIMG_MODE.i;eIMG_MODE.imgNavigateurAdapteLargeCentre=++eIMG_MODE.i;eIMG_MODE.imgAdapteLargeCentre=++eIMG_MODE.i;$(function(){function r(){var n=window.wbImgHomNav_DejaLoaded?window.wbImgHomNav_DejaLoaded.shift():undefined;if(!n){window.wbImgHomNav_DejaLoaded=undefined;return}wbImgHomNav(n[0],n[1],n[2]);i()-u>f?(u=i(),requestAnimationFrame(r)):r()}var t,n;if(window.wbImgHomNav_DejaLoaded){for(t=0;ti.y?(u.x=i.x,u.y=i.y+s*e,f.x=r.x-o*e,f.y=r.y):(u.x=i.x+o*e,u.y=i.y,f.x=r.x,f.y=r.y-s*e),ut(i,u,f,r,t)}function wt(){function cr(n){var t=it[n],i,r;t&&clWDUtil.oGetImageInformations&&((i=clWDUtil.oGetImageInformations(),r=!0,t.id&&(i[t.id]===undefined||i[t.id].twidth!=t.twidth||i[t.id].theight!=t.theight||i[t.id].color!=t.color)&&(u[t.id]={twidth:t.twidth,theight:t.theight,color:t.color,dataurl:t.dataurl},r=!1),t.idHD&&(i[t.idHD]===undefined||i[t.idHD].twidth!=t.iwidth||i[t.idHD].theight!=t.iheight||i[t.idHD].color!=t.color)&&(u[t.idHD]={twidth:t.iwidth,theight:t.iheight,color:i[t.idHD]&&i[t.idHD].color?i[t.idHD].color:t.color,dataurl:i[t.idHD]&&i[t.idHD].dataurl?i[t.idHD].dataurl:t.dataurl},r=!1),r)||(clWDUtil.oGetImageInformations(u),e&&clearTimeout(e),e=setTimeout(function(){NSPCS.NSAjax.ExecuteEvenementAsynchrone(_PAGE_,"",u,15,null);u={};clearTimeout(e);e=undefined},pt)))}function lr(n){return(n||!a[0].containerWidth)&&(clWDUtil.bRWD||ki[0].style.width&&ki[0].style.width!="auto"||ki.css({width:"100%"}),a[0].containerWidth=ki.width()),a[0].containerWidth}function iu(){a[0].jqCelluleGFI||$(document.body).append((a[0].jqCelluleGFI=$(document.createElement("div"))).addClass(a[0].id+"-GFI").on((bTouch?"touchstart":"click")+".wb.galerie.zoom.ferme",function(n){ri(!0);n.stopPropagation();n.preventDefault()}));var n=window._GFI_A_===!1?0:window._GFI_T_||60;if((a[0].jqCelluleGFI.css({position:"fixed",width:"100%",height:"100%",left:0,top:0,zIndex:989,pointerEvents:"",backgroundColor:"rgba(102, 102, 102, "+n/100+");"}),!wt)&&(wt=wt||kt.wbJsonParseAttr("data-wbGalerieOptions",!0),wt)){if(wt[t]){wt[t].planche&&(wt[t].planche+=" wbplanche");ai=$(document.createElement("a")).addClass("wbGalerieBoutonPrecedent padding "+(wt[t].style||"")+" "+(wt[t].surcharge||"")+" "+(wt[t].planche||"")).html("<");ai.on((bTouch?"touchstart":"click")+".wb.galerie.options.fleche.precedent",function(n){fr(!1);n.stopPropagation();n.preventDefault()});gt=gt.add(ai)}if(wt[i]){wt[i].planche&&(wt[i].planche+=" wbplanche");li=$(document.createElement("a")).addClass("wbGalerieBoutonSuivant padding "+(wt[i].style||"")+" "+(wt[i].surcharge||"")+" "+(wt[i].planche||"")).html(">");li.on((bTouch?"touchstart":"click")+".wb.galerie.options.fleche.suivant",function(n){fr(!0);n.stopPropagation();n.preventDefault()});gt=gt.add(li)}if(wt[r]){wt[r].planche&&(wt[r].planche+=" wbplanche");hr=$(document.createElement("a")).addClass("wbGalerieBoutonFermer padding "+(wt[r].style||"")+" "+(wt[r].surcharge||"")+" "+(wt[r].planche||"")).html("x");hr.on((bTouch?"touchstart":"click")+".wb.galerie.options.croix.fermer",function(n){ri(!0);n.stopPropagation();n.preventDefault()});gt=gt.add(hr)}a[0].jqCelluleGFI.after(gt)}}function ar(){var n,o,f,e,c,l,s,i,h;if(er){n={};y.each(function(){n[this.style.left]||(n[this.style.left]=[]);n[this.style.left].push($(this))});var u=[],r=0;for(var t in n)if(n.hasOwnProperty(t)){if(n[t].length0&&gi&&y.css({transition:"top "+ti+"ms,left "+ti+"ms,width "+ti+"ms,height "+ti+"ms"})}function ur(){ti>0&&gi&&y.css({transition:"none"})}function vr(){var t,r,i,n;a[0].nLargeurNavigateurDernierCalcul=undefined;t=y.eq(0);r=t.find("td.wbImpaire").first();ui=ni*parseInt(t.attr("data-width"));ui+=gr;pi=ni*parseInt(t.attr("data-height"));pi+=nu;dt.get(0)&&(i=dt.eq(0),n=i.children().first(),ut=ni*parseInt(n.attr("data-width")||n.parent().attr("data-width")||n.width()),bt=ni*parseInt(n.attr("data-height")||n.parent().attr("data-height")||n.height()),tu=i.attr("data-wbModeHomothetique"),br="1"==i.attr("data-wbExifOrientation"));dr=kt.wbJsonParseAttr("data-wbGalerieZoom",!0);ti=kt.wbGetDureeAnimation(ti);di=kt.hasClass("wbGalerieLigne");gi=!di;tr=undefined;ir=undefined;rt=undefined;yi=undefined;oi=undefined;sr=undefined;nr=undefined;ci=undefined;y.css({transition:"none"});gi&&(yi=function(n){ei();ar();n&&requestAnimationFrame(function(){window.scrollTo(0,n)})},ir=function(){ur()},tr=function(n){var i=y.eq(n),t;return ur(),i.css(i[0].oInfoTaillePositionAvantPleinEcran),t=dt.eq(n),t.css(t[0].oInfoTaillePositionAvantPleinEcran),wr(i,t),rr},rt=$.extend({init:{isResizingContainer:!0,itemSelector:".wbGalerieTd>table",isLayoutInstant:!0,isInitLayout:!0,isResizeBound:!1,transitionDuration:0}},kt.wbJsonParseAttr("data-wbGalerieColonne")),rt.nLargeurColonneVariable!==undefined?(rt.nLargeurColonneVariable=parseFloat(rt.nLargeurColonneVariable)||ui,rt.init.columnWidth=undefined,rt.init.percentPosition=!0,oi=function(){var t,i,n;if(ci!=window.nLargeurNavigateur){if(ci=window.nLargeurNavigateur,t=a.width(),rt.nLargeurColonneVariable===0){y.css({width:"auto"});return}(i=t/rt.nLargeurColonneVariable,n=parseInt(i),nr!=n)&&(nr=n,y.css({width:100/nr+"%"}))}}):rt.nNombreColonne!==undefined?(rt.nNombreColonne=parseFloat(rt.nNombreColonne),rt.init.columnWidth=undefined,y.css({width:100/rt.nNombreColonne+"%"}),rt.init.percentPosition=!0):(rt.nLargeurColonneFixe=parseFloat(rt.nLargeurColonneFixe)||ui,rt.init.columnWidth=rt.nLargeurColonneFixe,rt.init.isFitWidth=!0,rt.init.percentPosition=!1,yi=function(){ar();var n=ci;if(ci=window.nLargeurNavigateur,ci!==undefined&&n<=window.nLargeurNavigateur){ci!==window.nLargeurNavigateur&&ei();return}a.css({width:"100%"});a[0].MODE_COLONNE_MASONRY_INSTANCE.masonry("layout");ei()}))}function fr(n,t,i){var f=a[0].nIndiceRepetitionZoome;if(isNaN(f))return!1;var r=y.eq(f),h=!i,o=ht&&(!ct||t===!1),e=lt,s=n?f+1:f-1,u=s<0?undefined:y.eq(s);return!u||!u.length?(r.animate({content:1},{start:function(){this.style.animation="shakeLight 150ms ease-out"},done:function(){this.style.animation=""}}),!1):(y.stop(!0,!0),h?(r[0].nLargeurAParcourirZoomAvanceRecule=(n?1:-1)*(e?r.width():window.nLargeurNavigateur),r[0].oAnimationZoomAvanceRecule={duration:ft,start:function(){ii(!1,!0,!0);vi(u,!1);u.css({zIndex:990,transformOrigin:"center 0px"})},step:function(n){u.css({opacity:n,transform:"scale("+(e?.8+.2*n:1)+") "+(o?"translateX("+(1-n)*(this.nLargeurAParcourirZoomAvanceRecule/(e?3:1))+"px)":"")});r.css({opacity:1-n,transform:o?"translateX("+n*-this.nLargeurAParcourirZoomAvanceRecule+"px)":""})},done:function(){ri(!1,r);r.css({opacity:1,transform:""});r[0].oAnimationZoomAvanceRecule=undefined;u.css({zIndex:"",transformOrigin:""})}},t!==!1&&r.animate({content:1},r[0].oAnimationZoomAvanceRecule)):(ri(!1),ii(!1,!0,!0),vi(u,!1)),!0)}function ei(n,t){if(hi.length){if(n===undefined){for(var i=0;i0&&Math.floor(t-s)!=0;){for(o=s,h=0,r=0;r0&&e.vwidth-u[r]=1;){for(o=f,r=0;r=1){for(o=f,r=0;r0&&f<1&&(u[0]+=f),u}function kr(n,t,i,r,u,f,e,o,s,h){var a,v,y,p,w,b,c,l;if(h&&i.length===0&&n.length>0){for(a=n.length&&t.length===1,v=0;a&&v1){a=!1;break}if(a)o[0]=s,l=t[0],r=Math.min(u.nMaxHauteurLigne,s*(l.theight/l.twidth));else for(r>u.nMaxHauteurLigne&&(r=e||bt||r),c=0;c0||p>0)&&t.length>0&&p!=0)for(w=uu(y,p,t),c=0;c0;){h=!1;rt=t.shift();f.push(rt);p=0;it=0;w=0;var a=n-(ui-ut)*f.length,k=a,v=0,y=undefined,d=k,g=[],ft=[];for(e=0;e0&&e&&!v&&!!h,y=c&&!f,l=ui-ut+(n.vwidth||120),a=pi-bt+(n.vheight||n.theight||120),s={width:l,height:a,top:u.nOffsetTop,left:u.nOffsetLeft};return c&&(o={},o.x=h.left-s.left,o.y=h.top-s.top,o.sx=h.width/s.width,o.sy=h.height/s.height,s.transformOrigin="0 0",s.transform="translate("+o.x+"px, "+o.y+"px) scale("+o.sx+", "+o.sy+")"),r.css({width:n.vwidth,height:n.vheight||n.theight}),clWDUtil.bRWD&&r.css({width:""}),i.css(s),c&&(i[0].onAnimateStep=function(n){var t={x:o.x*(1-n),y:o.y*(1-n),sx:o.sx+(1-o.sx)*n,sy:o.sy+(1-o.sy)*n};this.style.transform="translate("+t.x+"px, "+t.y+"px) scale("+t.sx+", "+t.sy+")"},i[0].onAnimationStart=function(){i.animate({content:1},{duration:ti,step:i[0].onAnimateStep,done:function(){this.onAnimateStep=undefined;ei(t)}})},y&&(i.stop(!0,!0),i[0].onAnimationStart())),u.nOffsetLeft+=l,i[0].lastUpdate={item:$.extend({},n),repetition:$.extend({},s)},ei(t),a}function yr(n,t){function u(t){function s(){cr(r);n.css({backgroundColor:""});requestAnimationFrame(function(){a.hasClass("wbGaleriePleinEcranEnCours")||a.data("wbGalerieRelayoutRequis")&&a.data("wbGalerieRelayoutRequis",!ii())})}var f=this,e=dt.eq(r),o=e[0]instanceof HTMLImageElement?e[0]:e[0].firstElementChild,u;if(o.wbGalerieChpRefImgFaireOnLoad=t&&o.attributes.getNamedItem("data-original"),!t){if(u=it[r],!u.color)try{requestAnimationFrame(function(){var i=new ColorThief,t=tt?{width:42,height:Math.round(42*(f.height/f.width)),dataurl:"",quality:.92,radius:10}:undefined;try{u.color="rgb("+i.getColor(f,!1,undefined,t).join(",")+")"}catch(e){u.color="rgb(255,255,255)"}tt&&(u.dataurl=t.dataurl);n.css({opacity:1});o.wbGalerieChpRefImgCouleurFondDejaFaite=!0;cr(r)})}catch(h){}a.data("wbGalerieRelayoutRequis",!0);u=it[r];u.twidth=f.naturalWidth||f.width||ut;u.theight=f.naturalHeight||f.height||bt;br?getOrientation(i.src,function(n){if(n>4){var t=u.twidth;u.twidth=u.theight;u.theight=t}s()}):s()}}if(!a.hasClass("wbGalerieChargementVignetteImage")){var f=n.get(0),i=f instanceof HTMLImageElement?f:f.firstElementChild,e=new Image,r=t;if(i.naturalWidth&&i.naturalHeight){u.apply(i,[]);return}if(!i.src){u.apply(this,[!0]);return}e.onload=u;e.onerror=function(){u.apply(this,[!0])};e.src=i.src}}function ou(){var n=a[0].id||"___",t="wb-style-galerie-"+n;(document.getElementById(t)||$("head").append($('