/*! VersionVI: 01A290089j */ function tween(n,t,i){var r=t*i+(1-i)*n;return Math.abs(r)<.1?Math.round(r*1e10)/1e10:r}function UpdatePositionRWD(n,t,i){var e,o,s,h;if((i===undefined&&(i=ANCRAGE_SUPEPINGLE_SYNC_DEFAUT),e=i?function(n){return n(),undefined}:requestAnimationFrame,!n[0].rafUpdatePositionRWD)&&n.is(":visible")&&(n[0].wbancrageattachex===undefined&&(n[0].wbancrageattachex=n.hasClass("wbancrageattachex")),n[0].ancragesupl===undefined&&(n[0].ancragesupl=n.hasClass("ancragesupl")),o=n.data("style"),s=n.attr("style"),o===undefined||o!=s)){var r=s.split(";"),u=$.wb.nGetTrancheActiveIndiceWL(),f={};n[0].oValeursCSSQuandStyleVide||(n[0].oValeursCSSQuandStyleVide=n[0].oValeursCSSQuandStyleVide=[]);n[0].oValeursCSSQuandStyleVide[u]||(h=r.indexOf("visibility:hidden")>-1,n.attr("style",h?"visibility:hidden;":""),h?(f.position=n[0].style.position,f.visibility="visible",n.attr("style","position:absolute;visibility:hidden;")):n.attr("style",""));n[0].rafUpdatePositionRWD!==undefined&&cancelAnimationFrame(n[0].rafUpdatePositionRWD);n[0].rafUpdatePositionRWD=e(function(){var c,y,o,h,s,l,i,a,v,p;if(!n[0].oValeursCSSQuandStyleVide[u])for(n[0].oValeursCSSQuandStyleVide[u]=f,o=0;o-1||s.indexOf("right")>-1),l&&s=="margin-left"&&(l=n[0].ancragesupl||!y),i=h[1].trim(),a=f[s],!l||i=="auto"){c+=s+":"+i+";";continue}(v=i.indexOf("%")>0,p=a.indexOf("%")>0,p&&v&&a==i)||(v&&(i=t.attr("data-width")*parseFloat(i)/100),i=100*(parseFloat(i)/parseInt(t.attr("data-width"),10))+"%",v&&a==i)||(c+=s+":"+i+";")}e(function(){n.attr("style",c);n.data("style",c);n[0].rafUpdatePositionRWD=undefined})})}}function UpdateLayoutSuperposableEpingle(n,t){t===undefined&&(t=ANCRAGE_SUPEPINGLE_SYNC_DEFAUT);var r=clWDUtil.bRWD,i=t?function(n){n()}:requestAnimationFrame;n&&(n=n.find(".ancragesuph, .ancragesupl, .ancragesuprwd, .ancragefixedh, .ancragefixedl, .ancragefixedrwd").add(n));(n||$(".ancragesuph, .ancragesupl, .ancragesuprwd")).each(function(){var u=$(this),o;if((n||this.bUpdateLayoutSuperposableEpingleFiltre===!1||(this.bUpdateLayoutSuperposableEpingleFiltre===undefined&&(this.bUpdateLayoutSuperposableEpingleFiltre=u.closest(".wbGalerie").length>0),this.bUpdateLayoutSuperposableEpingleFiltre!==!0))&&(this.cssPosition||(this.cssPosition=u.css("position")))!="static"&&!u.attr("data-wbParallaxeChamp")&&(!u[0].oParallaxe||!(u[0].oParallaxe.dTauxHauteur||u[0].oParallaxe.dTauxY))){var e=u.hasClass("wbchamppopup"),f=e?[]:u.siblings(".ancragesupref").add(u.siblings().not("[id^=dww]").find("#page,.ancragesupref")).first(),s=f.length?f[0].tagName.toLowerCase():undefined,h=f.length===1;h||(f=e?$(document.getElementById("page")):u.parents(".ancragesup,#page").first());f.attr("data-width")||f.attr("data-height")||(f.length&&f.get(0).tagName.toLowerCase()=="table"?f=u.parentsUntil(f).filter("[data-width]").first():f.parent().attr("data-width")!==undefined&&(f=f.parent()),f||(f=u.parents("#page").first()));r&&!e&&u.hasClass("ancragesuprwd")&&UpdatePositionRWD(u,f,t);u.hasClass("ancragesupl")&&(o=0,h?o=(s=="tr"||s=="td"?f.parents("table"):f).outerWidth()-parseInt(f.attr("data-width")):(o=e?parseInt(window.nLargeurNavigateur)-parseInt(u.attr("data-width")):f.outerWidth()-parseInt(f.attr("data-width")),e&&(o-=parseInt(u[0].style.marginLeft)+parseInt(u[0].style.marginRight))),i(function(){var n=1,t=parseInt(u.attr("data-width"))/parseInt(f.attr(e?"data-window-width":"data-width"));r&&(n=t);i(function(){u.css("width",t===1?"100%":Math.round(Math.max(parseInt(u.attr("data-min-width")||0),parseInt(u.attr("data-width"))+n*o))+"px")})}));u.hasClass("ancragesuph")&&i(function(){var n=0;h?n=(s=="tr"||s=="td"?f.parents("table"):f).outerHeight()-parseInt(f.attr("data-height")):(n=e?parseInt(window.nHauteurNavigateur)-parseInt(u.attr("data-height")):f.outerHeight()-parseInt(f.attr("data-height")),e&&(n-=parseInt(u[0].style.marginTop)+parseInt(u[0].style.marginBottom)));i(function(){u.css("height",Math.max(parseInt(u.attr("data-min-height")||0),parseInt(u.attr("data-height"))+n)+"px")})})}});(n||$(".ancragefixedh, .ancragefixedl, .ancragefixedrwd")).each(function(){var n=$(this),u;if((this.cssPosition||(this.cssPosition=n.css("position")))!="static"&&!n.attr("data-wbParallaxeChamp")&&(!n[0].oParallaxe||!(n[0].oParallaxe.dTauxHauteur||n[0].oParallaxe.dTauxY))){if(u=$("#page"),r&&n.hasClass("ancragefixedrwd")&&UpdatePositionRWD(n,u,t),n.hasClass("ancragefixedl")){var f=0,e=parseInt(n.attr("data-width"))/parseInt(u.attr("data-width")),o=1;e===1?n.css("width","100%"):i(function(){f=("x"+n.css("left")).substr(-1)=="x"||("x"+n.css("right")).substr(-1)=="x"?document.body.clientWidth-parseInt(u.attr("data-window-width")):u.outerWidth()-parseInt(u.attr("data-width"));r&&(o=e);i(function(){n.css("width",Math.max(parseInt(n.attr("data-min-width")||0),parseInt(n.attr("data-width"))+o*f)+"px")})})}n.hasClass("ancragefixedh")&&i(function(){var t=0;t=("x"+n.css("top")).substr(-1)=="x"||("x"+n.css("bottom")).substr(-1)=="x"?$(window).height()-parseInt(u.attr("data-window-height")):u.outerHeight()-parseInt(u.attr("data-height"));i(function(){n.css("height",Math.max(parseInt(n.attr("data-min-height")||0),parseInt(n.attr("data-height"))+t)+"px")})})}});$(window).trigger("trigger.wb.postUpdateLayoutSuperposableEpingle")}function wbTableZrInfiniSuiteAuPcodeApresAjax(n,t){return $("#con-"+n+",#ctz"+n).wbTableZrInfiniSuiteAuPcodeApresAjax(t)}function wbTableZoneRepeteeAjoutEnCours(n,t){return $("#con-"+n+",#ctz"+n).wbTableZoneRepeteeAjoutEnCours(t)}var fRwdInit,fNotifRecalculLayoutSuperposable,bApparitionSelonProprieteVisible;if(ANCRAGE_SUPEPINGLE_SYNC_DEFAUT=bEdge||bIEAvec11,$(function(){function f(){function u(u){var e,s,o;return u.css("position")=="fixed"?-1:(e=u.offset().top,e<=i)?(s=u.is(":visible")?u.height():0,e+s<=i)?-1:(o=u[0].querySelector(".clearfix"),o?f.apply(o):!1):(n=u,r=$(window).width(),t=e-i,!0)}function f(){var t=$(this),i=u(t),n;return i===!0?!0:i===-1?!1:(n=!1,t.nextAll(".clearfix").each(function(){return n=f.apply(this),n?!1:void 0}),n)}n=undefined;t=0;var i=window.nBordHautNavigateur!==undefined?window.nBordHautNavigateur:$(document).scrollTop();u($(document.getElementById("page")))}function o(){if(n&&r!=$(window).width()){var i=function(){$(document).scrollTop(n.offset().top-t)};window.requestAnimationFrame?requestAnimationFrame(i):setTimeout(i,1)}}var e=clWDUtil.bRWD,u,n,t,r,i;if(e){u=-1==navigator.userAgent.toLowerCase().indexOf("opera")&&-1!=navigator.appName.indexOf("Microsoft")||-1!=navigator.userAgent.indexOf("Trident/")||-1!=navigator.userAgent.toLowerCase().indexOf("edge/");u&&$("html").css("overflow-x","visible");t=0;r=0;f();i=undefined;$(window).scroll(function(){i&&clearTimeout(i);i=setTimeout(f,1e3)}).on("trigger.wb.rwd.tranche.changement",o)}}),$.wb={stackMedia:[],tabListeners:{},tabAllMediaOrdreDeDeclaration:[],nGetTrancheActiveIndiceWL:function(n){return $(window).trigger("trigger.wb.rwd.media.charge"),(n!==!1?this.stackMedia.length:this.tabAllMediaOrdreDeDeclaration.length-this.stackMedia.length)+1}},fRwdInit=!clWDUtil.bRWD||!window.matchMedia?undefined:function(n,t,i){function o(n,t){UpdateLayoutSuperposableEpingle(undefined,!0);window["trigger.wb.rwd.media.postWatchMedia.timer"]&&cancelAnimationFrame(window["trigger.wb.rwd.media.postWatchMedia.timer"]);t||(window["trigger.wb.rwd.media.postWatchMedia.timer"]=requestAnimationFrame(function(){clWDUtil.__OnScrollResize(undefined,!1)}))}function s(n,t){var u=n.replace(/ /g,""),i;for(r in $.wb.tabListeners)if($.wb.tabListeners.hasOwnProperty(r)&&r.replace(/ /g,"")==u){for(i=0;i<$.wb.tabListeners[r].length;++i)t||$.wb.stackMedia.indexOf(u)!==-1?$.wb.tabListeners[r][i].callback.apply($.wb.tabListeners[r][i],[t]):$.wb.tabListeners[r][i].fSauveOri.apply($.wb.tabListeners[r][i]);break}return r}var l=window.matchMedia,f,e,u;for($("[data-media]").each(function(){var n=$(this),t,r,i,u;if(n.attr("data-media")&&(t=n.wbJsonParseAttr("data-media"),t&&t.length!=0)){for(n.data("media",t),n.removeAttr("data-media"),r=0;r0){i[0].wbPlanSuivant=n;i[0].wbPlanSuivantOption=t;i.stop(!0,!0);return}if(!(o<1)||w){var c=i.find(".wbPlanSimple").first().parent(),ft=c.children(".wbPlanSimple").length,h=c.children(".wbPlanSimple.wbActif"),f=c.children(".wbPlanNumero"+o);if(f.hasClass("wbPlanMasque")){if(c.children(".wbPlanSimple:not(.wbPlanMasque)").length==0){if(h.hasClass("wbPlanMasque")){i[0].wbPlanSuivant=-1;h.removeClass("wbActif");i.trigger("trigger.wb.plan.action.set.debut");i.trigger("trigger.wb.plan.action.set.fin");return}return}p!==undefined&&i.wbPlanSet(p?o+1:o-1,t);return}var e=f,s=h,b=$(),nt=".wbPlanMultiple.wbPlanDans";if(nt+=i.wbGetClassCommencePar("wbPlanDe",!1),$(nt).each(function(){var n=$(this),t;if(this.wbEffetApparitionDisparition){b=b.add(n);return}if(t=n.attr("data-wbPlan"),!t){n.removeClass("wbPlan").removeClass("wbPlanMultiple");return}t.split(",").indexOf(o+"")>-1?n.hasClass("wbActif")||(e=e.add(n)):n.hasClass("wbActif")&&(s=s.add(n))}),f.length==0&&(w&&(h.wbPlanGetIndice()<=o-1?(tt=c.find(".wbPlanSimple").last().wbPlanGetIndice(),tt==o-1?(t.bSensCorrectionIncrement=!0,i.wbPlanSet(1,t)):(t.bSensCorrectionIncrement=!1,i.wbPlanSet(ft,t))):h.wbPlanGetIndice()>=o+1&&(it=c.find(".wbPlanSimple").first().wbPlanGetIndice(),it==o+1?(t.bSensCorrectionIncrement=!1,i.wbPlanSet(c.children(".wbPlanSimple").length,t)):(t.bSensCorrectionIncrement=!0,i.wbPlanSet(1,t)))),i.hasClass("wbPlanDefilementUtilisateur")||(s.removeClass("wbActif"),f=$('
<\/div>'),e=e.add(f),s.parent().append(f))),r={},l=i,i.get(0).tagName.toLowerCase()=="table"&&(l=i.add(i.children("tbody").first()).last().children("tr").children().first()),f.hasClass("wbPlanDiffere")){if(i[0].wbPlanSuivant=n,!g&&f.hasClass("wbPlanDiffereChargementEnCours"))return;if(f.children().length>0)f.removeClass("wbPlanDiffere"),s.get(0)==f.get(0)&&(s=$());else{i.addClass("wbPlanConteneurDiffereChargementEnCours");f.addClass("wbPlanDiffereChargementEnCours").wbPlanCharge(i,g,function(){var r=f,u=".wbPlanMultiple.wbPlanDans";u+=i.wbGetClassCommencePar("wbPlanDe",!1);$(u).each(function(){var n=$(this),t=n.attr("data-wbPlan");if(!t){n.removeClass("wbPlan").removeClass("wbPlanMultiple");return}t.split(",").indexOf(i[0].wbPlanSuivant+"")>-1&&(r=r.add(n))});r.removeClass("wbPlanDiffere").removeClass("wbPlanDiffereChargementEnCours");i.removeClass("wbPlanConteneurDiffereChargementEnCours");i[0].wbPlanSuivant===n&&i.wbPlanSet(n,t)});return}}else{if(f.hasClass("wbActif"))return;u=i;i.get(0).tagName.toLowerCase()=="table"&&(i.hasClass("wbPlanDefilementUtilisateur")||i.parent().hasClass("wbchamppopup")||u.attr("data-wbPlanEffet1erAffichage")||u.attr("data-wbPlanEffetDecremente")||u.attr("data-wbPlanEffet")||u.data("wbPlanEffet1erAffichage")||u.data("wbPlanEffetDecremente")||u.data("wbPlanEffet")||(u=l));a=undefined;v=undefined;h.length==0?u.attr("data-wbPlanEffet1erAffichage")?(v=u.wbJsonParseAttr("data-wbPlanEffet1erAffichage"),u.removeAttr("data-wbPlanEffet1erAffichage"),u.data("wbPlanEffet1erAffichage",v)):v=u.data("wbPlanEffet1erAffichage"):(p===!1||o-1||r.oMouvement.sNom.indexOf("-")>-1),k=undefined,et=undefined,y=i.attr("style");return y&&(y=y.replace("min-width","width").replace("min-height","height").replace("width","min-width").replace("height","min-height"),y.indexOf("height")>-1&&l[0].tagName.toLowerCase()==="td"&&l.css("height","100%")),k=function(){s.each(function(){$(this).removeClass("wbActif");window.WDChamp&&AppelMethode(WDChamp.prototype.ms_sOnDisplay,[this,!1])});clWDUtil.__OnScrollResize(undefined,!1)},i.trigger("trigger.wb.plan.action.set.debut",o),d&&d(undefined,o),s.find(".wbEffetApparitionDisparition").trigger("trigger.wb.effet.apparition.masque",r),i.each(function(){this.nLargeurAvant=i.width()+parseInt(i.css("paddingLeft"))+parseInt(i.css("paddingRight"));this.nHauteurAvant=i.height()+parseInt(i.css("paddingTop"))+parseInt(i.css("paddingBottom"))}).addClass("wbEffetEnCours").delay(r.oMouvement.dDelai||0).animate({content:1},{duration:r.oMouvement.dDuree||0,easing:"linear",start:function(){r.oAnimationAncienPlan.dDuree?e.addClass("wbPlanEffet"):k();e.each(function(){$(this).addClass("wbActif");window.WDChamp&&AppelMethode(WDChamp.prototype.ms_sOnDisplay,[this,!0])});this.nLargeurApres=Math.max(f.outerWidth(),this.bLargeurAuto?0:h.outerWidth())+parseInt(i.css("paddingLeft"))+parseInt(i.css("paddingRight"));this.nHauteurApres=Math.max(f.outerHeight(),this.bHauteurAuto?0:h.outerHeight())+parseInt(i.css("paddingTop"))+parseInt(i.css("paddingBottom"));bFF&&f.length&&f[0].style.height=="100%"&&(this.nHauteurApres=Math.max(this.nHauteurApres,f.parent().height()));r.oAnimationAncienPlan.sNom&&(s.css("animation-duration",r.oMouvement.dDuree*r.oAnimationAncienPlan.dDuree+"ms").css("animation-name",r.oAnimationAncienPlan.sNom.replace(" ",",")).addClass("animated"),r.oAnimationAncienPlan.dDelai&&s.css("animation-delay",r.oMouvement.dDuree*r.oAnimationAncienPlan.dDelai+"ms"),s.css("animation-timing-function","ease-out"));r.oAnimationNouveauPlan.sNom&&(e.css("animation-duration",r.oMouvement.dDuree*r.oAnimationNouveauPlan.dDuree+"ms").css("animation-name",r.oAnimationNouveauPlan.sNom.replace(" ",",")).addClass("animated"),r.oAnimationNouveauPlan.dDelai&&e.css("animation-delay",r.oMouvement.dDuree*r.oAnimationNouveauPlan.dDelai+"ms"),e.css("animation-timing-function","ease-out"));r.oParallax.dDuree&&f.find("div[class^=pos]>:not(div[class^=pos])").addClass("wbPlanParallax").each(function(){var n=$(this);this.wbEffetApparitionDisparition||n.find(".wbPlanParallax").length>0||n.css("transform",r.oParallax.sNom||"translateY(100px)").delay(r.oMouvement.dDuree*r.oParallax.dDelai).animate({content:1},{duration:r.oMouvement.dDuree*r.oParallax.dDuree,easing:"linear",step:function(n,t){t.b1erStepFait||(t.b1erStepFait=!0,$(this).css("transition",r.oMouvement.dDuree*r.oParallax.dDuree+"ms transform").css("transform",""),this.bPremierAffichage=!0);this.bPremierAffichage=!1},always:function(){$(this).css("transition","")}})}).removeClass("wbPlanParallax");r.sPerspective&&(i[0].tagName.toLowerCase()=="table"?i.find("td").first():i).css("perspective",r.sPerspective);f.find(".wbEffetApparitionDisparition").add(b).trigger("trigger.wb.effet.apparition.affiche")},step:function(n,t){!this.bLargeurNavigateur&&(this.nLargeurAvant!=this.nLargeurApres||this.bLargeurAuto)&&(this.style.setProperty?this.style.setProperty("width",tween(this.nLargeurAvant,this.nLargeurApres,n)+"px","important"):this.style.cssText+="width:"+tween(this.nLargeurAvant,this.nLargeurApres,n)+"px !important;");!this.bHauteurNavigateur&&(this.nHauteurAvant!=this.nHauteurApres||this.bHauteurAuto)&&(this.style.setProperty?this.style.setProperty("height",tween(this.nHauteurAvant,this.nHauteurApres,n)+"px","important"):this.style.cssText+="height:"+tween(this.nHauteurAvant,this.nHauteurApres,n)+"px !important;");t.b1erStepFait?this.bPremierAffichage&&(this.bPremierAffichage=!1,rt?(s.css("transition-timing-function","linear").css("transition-duration",r.oMouvement.dDuree/2+"ms").css("transform",ut(r.oMouvement.sNom,s)),e.css("transition-timing-function","ease").css("transition-duration",r.oMouvement.dDuree/2+"ms").css("transition-delay",r.oMouvement.dDuree/2+"ms").css("transform","")):r.oMouvement.sNom&&e.css("transition-duration",r.oMouvement.dDuree+"ms").css("transform","")):(t.b1erStepFait=!0,rt?e.css("transform",ut(r.oMouvement.sNom,e,!0)):r.oMouvement.sNom&&e.css("transform",r.oMouvement.sNom),this.bPremierAffichage=!0)},always:function(){if(this.nLargeurAvant=this.nLargeurApres=this.nHauteurAvant=this.nHauteurApres=undefined,e.add(s).css("animation-duration","").css("animation-timing-function","").css("animation-delay","").css("animation-name","").css("transition-timing-function","").css("transition-duration","").css("transition-delay","").css("transform","").removeClass("animated"),e.removeClass("wbPlanEffet"),i.css("transition","").attr("style",y).removeClass("wbEffetEnCours"),bIEAvec11&&i.hasClass("h100")?i.css("min-height",""):bIEAvec11||i[0].style.minHeight!=="100%"||i.css("height","100%").css("min-height",""),(i[0].tagName.toLowerCase()=="table"?i.find("td").first():i).css("perspective",""),k(),i[0].wbPlanSuivant===-1&&(i[0].wbPlanSuivant=undefined),i.trigger("trigger.wb.plan.action.set.fin"),i[0].wbPlanSuivant){var n=i[0].wbPlanSuivant,t=i[0].wbPlanSuivantOption;i[0].wbPlanSuivant=undefined;i[0].wbPlanSuivantOption=undefined;n!=o&&i.wbPlanSet(n,t)}}}),o}}};$.fn.wbPlanAvanceRecule=function(n,t,i){n||(n=-1);t||(t=!1);var r=this.wbPlanGet();this.wbPlanSet(r+n,{bSensCorrectionIncrement:n>0,bBoucle:t,fCallback:i})};$.fn.wbPlanGetInstance=function(){var n,i,t;return($(window).trigger("trigger.wb.plan.chargement"),n=this,n.hasClass("wbPlanConteneur"))?n:(i=n.attr("id"),i&&(t=n.find(".wbPlanDe"+i),t&&t.length))?t:n.hasClass("wbChampSupportDest")?n.find(".wbChampSupportSource").first():(n=n.closest(".wbPlanConteneur"),n.hasClass("wbPlanConteneur")?n:undefined)};$.fn.wbPlanGet=function(){var n=this.wbPlanGetInstance();return n?n[0].wbPlanSuivant||n.find(".wbPlanSimple.wbActif").not(n.find(".wbPlanConteneur .wbPlanSimple.wbActif")).wbPlanGetIndice():1};$.fn.wbPlanGetIndice=function(){var t=this,n;return t.hasClass("wbPlan")?(n=t.index()+1,t.hasClass("wbPlanNumero"+n))?n:(n=parseInt(t.wbGetClassCommencePar("wbPlanNumero",!1),10),isNaN(n))?1:n:1};$.fn.wbPlanEnAttenteAffichage=function(){var n=this.wbPlanGetInstance();!n};$(window).oneOfThem("load.wb.plan.multiplans load.wb.plan.effet.1erAffichage trigger.wb.plan.chargement",function(){if(!this.jqListePlanConteneur&&(this.jqListePlanConteneur=$(".wbPlanConteneur"),this.jqListePlanConteneur.length!=0)&&(this.jqListePlanLazy=$(),this.jqListePlanConteneur.each(function(){var n=$(this),t=".wbPlanMultiple.wbPlanDans";t+=n.wbGetClassCommencePar("wbPlanDe",!1);$(t).each(function(){var i=this,t=$(this);n.on("trigger.wb.plan.action.set.fin",function(){var i=t.attr("data-wbPlan"),r;if(!i){t.removeClass("wbPlan").removeClass("wbPlanMultiple");return}return r=n.wbPlanGet(),i.split(",").indexOf(r+"")>-1?t.hasClass("wbActif")||t.addClass("wbActif"):t.hasClass("wbActif")&&t.removeClass("wbActif"),!1}).on("trigger.wb.plan.multiplan.initdata trigger.wb.plan.action.set.debut",function(r,u){(i.oPlanMultiple=i.oPlanMultiple===undefined?t.wbJsonParseAttr("data-wbPlanMultiple",!0)||!1:i.oPlanMultiple,i.oPlanMultiple)&&(u=u||n.wbPlanGet(),i.oPlanMultiple[u])&&clWDUtil.bForEachIn(i.oPlanMultiple[u],function(n,r){return i.oPlanMultiple[u].hasOwnProperty(n)&&t.attr(n,r),!0})})});n.trigger("trigger.wb.plan.multiplan.initdata");n.filter(".wbPlanDefilementUtilisateur").on("trigger.wb.plan.action.set.fin trigger.wb.plan.action.set.debut",function(t,i){n.prev().filter("input").attr("value",i||n.wbPlanGet())});(n.attr("data-wbPlanEffet1erAffichage")||n.hasClass("wbPlanDiffere"))&&(window.jqListePlanLazy=window.jqListePlanLazy.add(n));this.bLargeurAuto=this.style.width==="auto";this.style.width||(this.bLargeurAuto=n.css("display")!=="block");this.bLargeurNavigateur=this.style.width==="100%"||this.children[0]&&this.children[0].style.width==="100%";this.bHauteurAuto=this.style.height==="auto";this.style.height||(this.bHauteurAuto=this.offsetHeight!==this.parentElement.offsetHeight);this.bHauteurNavigateur=this.style.height==="100%"||this.children[0]&&this.children[0].style.height==="100%"}),this.jqListePlanLazy.length>0)){$(window).on("scroll.wb.plan.effet.1erAffichage resize.wb.plan.effet.1erAffichage trigger.wb.plan.effet.1erAffichage",function(){this.jqListePlanLazy.filter(function(){return!$.belowthefold(this,{threshold:0,failure_limit:0,event:"scroll",container:window,skip_invisible:!0,appear:null})&&$(this).is(":visible")}).each(function(){$(this).wbPlanAffiche();window.jqListePlanLazy=window.jqListePlanLazy.not($(this));window.jqListePlanLazy.length==0&&$(window).off("scroll.wb.plan.effet.1erAffichage resize.wb.plan.effet.1erAffichage trigger.wb.plan.effet.1erAffichage")})});$(window).trigger("trigger.wb.plan.effet.1erAffichage")}});$.fn.wbDefilementSet=function(n){var t=this[0];t.oDefilement&&(t.oDefilement.bActif=!!n,t.oDefilement.bActif?t.fDefilementReprendre.apply(t):t.fDefilementMettreEnPause.apply(t))};$.fn.wbPlanOccurrenceGet=function(){var n=this.wbPlanGetInstance(),t;if(n)return t=n.find(".wbPlanSimple").first().parent(),t.children(".wbPlanSimple").length};$(window).oneOfThem("load.wb.plan.effet.defilement trigger.wb.plan.chargement",function(){$(".wbPlanConteneur.wbPlanDefilementAuto").each(function(){var n=$(this),t;if((this.oDefilement=n.wbJsonParseAttr("data-wbPlanDefilementAuto",!0),this.oDefilement)&&(n.removeAttr("data-wbPlanDefilementAuto"),this.oDefilement.nDuree)){this.oDefilement.oJauge&&(t=$(document.createElement("i")),t.addClass("wbPlanJauge").css($.extend({},{animationDuration:this.oDefilement.nDuree+"ms"},this.oDefilement.oJauge)).insertAfter($(this)),n.find(".wbPlanSimple").first().parent().append(t));this.fDefilement=function(){!n.attr("data-wbPlanEffet1erAffichage")&&$.inviewport(n[0],{threshold:100,failure_limit:0,event:"scroll",container:window,skip_invisible:!0,appear:null})&&n.is(":visible")&&n.wbPlanAvanceRecule(!0,!0,window.NSPCS?NSPCS.NSChamps.oGetChamp(n.attr("id"))._RecuperePCode(75):undefined)};this.fDefilementMettreEnPause=function(n){!this.bMiseEnPauseForcee&&n&&n.type=="mouseenter"&&(this.bMiseEnPauseForcee=!0);this.nDefilementInterval&&(clearTimeout(this.nDefilementInterval),delete this.nDefilementInterval)};this.fDefilementReprendre=function(n){this.nDefilementInterval&&(clearTimeout(this.nDefilementInterval),delete this.nDefilementInterval);this.bMiseEnPauseForcee&&n&&n.type=="mouseleave"&&(this.bMiseEnPauseForcee=!1);this.oDefilement.bActif&&!this.bMiseEnPauseForcee&&(this.nDefilementInterval=setTimeout(this.fDefilement,this.oDefilement.nDuree))};n.on("trigger.wb.plan.action.set.debut",this.fDefilementMettreEnPause).on("trigger.wb.plan.action.set.fin",this.fDefilementReprendre);n.hasClass("wbPlanDefilementPauseSurvol")&&n.hover(this.fDefilementMettreEnPause,this.fDefilementReprendre);this.oDefilement.bActif&&this.fDefilementReprendre.apply(this)}})});$.fn.wbPlanAffiche=function(){var n=this.wbPlanGetInstance();if(n){var t=n.find(".wbPlanSimple").first().parent(),i=t.children(".wbPlanSimple.wbActif"),r=n.wbPlanGet();t.attr("data-wbPlanEffet1erAffichage")&&(i.removeClass("wbActif"),t.data("wbPlanEffet1erAffichage",t.wbJsonParseAttr("data-wbPlanEffet1erAffichage")).removeAttr("data-wbPlanEffet1erAffichage"));n.wbPlanSet(r)}};$.fn.wbPlanCharge=function(n,t,i){function f(n){var t=$(n);i&&t.removeClass("wbActif");t.removeClass("wbPlanDiffere");r.replaceWith(t);clWDUtil.m_oNotificationsAjoutHTML.LanceNotifications(r.wbPlanGetInstance(),r.get(0));i&&i()}var r=this,u;if(r.hasClass("wbPlanSimple")&&n.hasClass("wbPlanConteneur")){if(t){f(t);return}u=n.hasClass("wbPlanDeMaPage")?_PAGE_.name:n.attr("id");NSPCS.NSAjax.ExecuteEvenementAsynchrone(_PAGE_,u,r.wbPlanGetIndice(),14,78)}};$.fn.wbPlanListeDejaPresent=function(){var t=this.wbPlanGetInstance(),n;if(t)return n="",t.find(".wbPlanSimple").first().parent().children(".wbPlanSimple:not(.wbPlanDiffere)").each(function(){n!=""&&(n+=";");n+=$(this).wbPlanGetIndice()}),n};$(window).oneOfThem("load.wb.plan.fondcliquable trigger.wb.plan.chargement",function(){if(this.jqListePlanFondCliquable=$(".wbPlanConteneur.wbPlanFondCliquable"),this.jqListePlanFondCliquable.length!=0)jqListePlanFondCliquable.on("click.wb.plan.fondcliquable",function(n){!$(this).hasClass("wbEffetEnCours")&&clWDUtil.bClickDansFond(n,this)&&window.NSPCS&&NSPCS.NSChamps.oGetChamp($(this).attr("id"))._RecuperePCode(0)(n)})});$.fn.wbPlanVisibleSet=function(n,t){var i=this.wbPlanGetInstance(),r;i&&(r=i.find(".wbPlanNumero"+n),t?(r.removeClass("wbPlanMasque").css("visibility",""),i.wbPlanGet()==-1&&i.wbPlanSet(n)):(r.addClass("wbPlanMasque"),r.hasClass("wbActif")&&i.wbPlanAvanceRecule(!0,!0)),i.trigger("trigger.wb.plan.visible",[n,t]))};$.fn.wbPlanVisibleGet=function(n){var t=this.wbPlanGetInstance();if(t)return!t.find(".wbPlanNumero"+n).hasClass("wbPlanMasque")};$(window).oneOfThem("load.wb.plan.defilement trigger.wb.plan.chargement",function(){function t(n,t){if(t>150)return!1;var i=n/t;return i>1.5?!0:n>100?!1:i<.5?!1:undefined}if(this.jqListePlanDefilementUtilisateurTouch=bIEAvec11?$():$(".wbPlanConteneur.wbPlanDefilementUtilisateurDrag,.wbPlanConteneur.wbPlanDefilementUtilisateurSwipe"),this.jqListePlanDefilementUtilisateurClavier=$(".wbPlanConteneur.wbPlanDefilementUtilisateurClavier"),this.jqListePlanDefilementUtilisateurTouch.length+this.jqListePlanDefilementUtilisateurClavier.length!=0){var n=250;this.jqListePlanDefilementUtilisateurTouch.each(function(){var e=undefined,i=$(this),o=undefined,u=undefined,f=undefined,r=undefined,s=undefined,h=i.hasClass("wbPlanDefilementUtilisateurDrag"),c=i.hasClass("wbPlanDefilementUtilisateurSwipe");i.on("mouseleave.wb.plan.defilement.swipe",function(){$(this).trigger("mouseup")}).swipe({fingers:1,triggerOnTouchEnd:!0,excludedElements:"label, button, input, select, textarea, .noSwipe",swipeStatus:function(l,a,v,y){function tt(n,t){r.css("transition-duration",(t/1e3).toFixed(1)+"s");var i=(n<0?"":"-")+Math.abs(n).toString();r.css("transform","translateX("+i+"px)")}function it(){i.animate({content:1},{duration:n,start:function(){tt(0,n)},always:function(){d();i.removeClass("wbEffetEnCours").css("content",0)},queue:"swipeStatus"}).dequeue("swipeStatus")}function d(){i.find(".wbPlanSuivant,.wbPlanPrecedent,.wbPlanSimple.wbActif").removeClass("wbPlanPrecedent").removeClass("wbPlanSuivant").css("transform","").css("transition","").css("left","").css("right","");i.removeClass("wbEffetEnCours").removeClass("wbGlisserEnCours").trigger("trigger.wb.plan.action.set.fin");r=undefined}var g,b,k,rt,p,w,nt,ut;if(h&&!i.queue().length)if(a=="start"){for(e=undefined,s=i.width(),i.trigger("trigger.wb.plan.action.set.debut"),o=new Date,g=i.find(".wbPlanSimple.wbActif").first(),u=g.prevAll(".wbPlanSimple:not(.wbPlanMasque)"),b=u.length-1;b>=0;--b)$(u.get(b)).css("left","-"+(b+1)+"00%");for(f=g.nextAll(".wbPlanSimple:not(.wbPlanMasque)"),k=0;k0)i.addClass("wbEffetEnCours").addClass("wbGlisserEnCours"),rt=0,v=="left"?(f&&f.length!=0||(y/=3),tt(y,rt)):v=="right"&&(u&&u.length!=0||(y/=3),tt(-y,rt));else if(a=="cancel")it();else if(a=="end")if(v=="right"||v=="left"){if(i.removeClass("wbGlisserEnCours"),p=undefined,w=r.filter(".wbActif"),w.length!=1){d();return}if(nt=Math.max(0,parseInt(Math.abs(y)/s+.66,10)),nt>0&&(p=v=="left"?$(w.nextAll(".wbPlanSuivant").get(nt-1)):$(w.prevAll(".wbPlanPrecedent").get(nt-1))),!p||p.length==0){it();return}ut=i.width()*Math.round(y/i.width()+.5)*(v=="right"?-1:1);r.css("transition",n+"ms transform").css("transform","translateX("+-ut+"px)");i.trigger("trigger.wb.plan.action.set.debut",p.wbPlanGetIndice());w.find(".wbEffetApparitionDisparition").trigger("trigger.wb.effet.apparition.masque",{swipe:1});i.animate({content:1},{duration:n,start:function(){p.find(".wbEffetApparitionDisparition").trigger("trigger.wb.effet.apparition.affiche");window.WDChamp&&AppelMethode(WDChamp.prototype.ms_sOnDisplay,[p[0],!0])},always:function(){d();p.addClass("wbActif");w.removeClass("wbActif");i.css("content",0);i.trigger("trigger.wb.plan.action.set.fin");window.WDChamp&&AppelMethode(WDChamp.prototype.ms_sOnDisplay,[w[0],!1]);window.NSPCS&&NSPCS.NSChamps.oGetChamp(i.attr("id"))._RecuperePCode(75)(l)}})}else it()}},allowPageScroll:"vertical",threshold:75,swipe:function(n,t){if(c&&(!h||e)&&(t=="left"||t=="right")){var i=$(this);t=="left"?i.wbPlanAvanceRecule(!0,!1,window.NSPCS?NSPCS.NSChamps.oGetChamp(i.attr("id"))._RecuperePCode(75):undefined):t=="right"&&i.wbPlanAvanceRecule(!1,!1,window.NSPCS?NSPCS.NSChamps.oGetChamp(i.attr("id"))._RecuperePCode(75):undefined)}}})});$(window).on("keyup.wb.plan.defilement",function(n){var t;if(n.key=="ArrowRight"||n.key=="Right")t=!0;else if(n.key=="ArrowLeft"||n.key=="Left")t=!1;else return;$(document.activeElement).filter("input,textarea,[contenteditable]").length||window.jqListePlanDefilementUtilisateurClavier.filter(function(){return $.inviewport(this,{threshold:0,failure_limit:0,event:"scroll",container:window,skip_invisible:!0,appear:null})&&$(this).is(":visible")}).each(function(){var n=$(this);n.wbPlanAvanceRecule(t,!0,window.NSPCS?NSPCS.NSChamps.oGetChamp(n.attr("id"))._RecuperePCode(75):undefined)})})}});$(window).oneOfThem("load.wb.plan.options trigger.wb.plan.chargement",function(){if(this.jqListePlanOptions=$("[data-wbPlanOptions]"),this.jqListePlanOptions.length!=0){var r=0,i=1,n=2,t=3;this.jqListePlanOptions.each(function(){var l=$(this),f=l.wbPlanGetInstance(),u,a,s,h,c,e,v,y,p,g;if(f&&f.length&&(u=l.wbJsonParseAttr("data-wbPlanOptions"),l.removeAttr("data-wbPlanOptions"),u)){if(a=f.find(".wbPlanSimple").first().parent(),s=$(),u[r],u[i]){var o=$(document.createElement("ol")).addClass("wbPlanPuces wbPlanMasque noSwipe"),w=a.children(".wbPlanSimple"),nt=w.length,tt=f.attr("id")+"_PUCES";for(h=0;h0){s=s.add(e);f.on("trigger.wb.plan.action.set.fin trigger.wb.plan.option.fleches.load trigger.wb.plan.visible",function(){if(f.wbPlanGet()===-1)e.addClass("wbPlanMasque");else{var n=f.find(".wbPlanSimple").first().parent(),t=n.children(".wbPlanSimple:not(.wbPlanMasque)").length;t>1?e.removeClass("wbPlanMasque"):e.addClass("wbPlanMasque")}})}s.length&&(p=$(document.createElement("tr")).append($(document.createElement("td"))),p.append(s),g=$(document.createElement("tfoot")).append(p),a.css("width","100%").addClass("pr").closest("table").append(g),f.trigger("trigger.wb.plan.option.load"))}})}});$.fn.wbParallaxeOptions={dTauxFond:0,dTauxY:0,dTauxHauteur:0};$.fn.wbParallaxeUpdateFond=function(){this.each(function(){var s,h;if(this.oParallaxe.dTauxFond!=0&&this.dRatioImageFond){var t=window.nBordHautNavigateur,c=window.nLargeurNavigateur,i=window.nHauteurNavigateur,k=window.nHauteurPage,l=this.nBordHautNavigateurPrecedent!==undefined&&t==this.nBordHautNavigateurPrecedent,a=this.nHauteurNavigateurPrecedent!==undefined&&i==this.nHauteurNavigateurPrecedent,v=this.nLargeurNavigateurPrecedent!==undefined&&c==this.nLargeurNavigateurPrecedent;if(this.nLargeurNavigateurPrecedent=c,this.nHauteurNavigateurPrecedent=i,this.nBordHautNavigateurPrecedent=t,!l||!a||!v){var n=this.nPositionY,y=this.nPositionX,f=this.nHauteurChamp,e=this.nLargeurChamp,o=this.dRatioImageFond;if(!(n+ft+i){this.jqBaliseCibleFond.css("backgroundPositionY",0);return}var d=f/e,r=i,u=r/o;r=i+i*(1-this.oParallaxe.dTauxFond);u=r/o;u=window.nHauteurPage))&&(r=$(this),!r.queue("wbEffetApparitionDisparition").length)){if(this.nBordHautNavigateur=window.nBordHautNavigateur,n={},t=this.oParallaxe.dTauxY*-i,t+=this.nOffsetTransformationPrecedente||0,this.nPositionY+=t-(this.nOffsetTransformationPrecedente||0),this.nOffsetTransformationPrecedente=t,n.transform=t==0?"":"translateY("+t+"px)",this.oParallaxe.dTauxHauteur>0&&(n.height=this.nHauteurChampCourante+this.oParallaxe.dTauxHauteur*i,this.nHauteurChampCourante=n.height,this.bHomothetieSelonHauteur&&(n.width="auto",n.margin="0 auto",--n.height),this.nHauteurChamp=n.height),!this.bPositionEpingle){if(this.nPositionY>window.nBordHautNavigateur+window.nHauteurNavigateur)return;if(this.nPositionY+Math.max(this.nHauteurChampMin,this.nHauteurChamp)=o.length||!(f=o.eq(e)).length)return;if(r=-1,f.find("[tabindex]").each(function(){var n=parseInt($(this).attr("tabindex"));(r==-1||(i?r>n:r<\/div>'),this.wbConteneurInfiniPageInterne.append($('
<\/svg><\/div>')),this.wbConteneurInfiniPageInterne.insertAfter(n)),this.fChargeInfiniSiBesoin=function(){n.offset().top+n.height()>t.scrollTop()&&n.offset().top+n.height()