1if(!function(c,u,h){var p,f,g,m,N,F,q,W,v,w,y,x,U,V,r,e,o,a,Q,K,b,$,C,T,_,k,S,I,E,O,J,z,s,i={html:!1,photo:!1,iframe:!1,inline:!1,transition:"elastic",speed:300,fadeOut:300,width:!1,initialWidth:"600",innerWidth:!1,maxWidth:!1,height:!1,initialHeight:"450",innerHeight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,opacity:.9,preloading:!0,className:!1,overlayClose:!0,escKey:!0,arrowKey:!0,top:!1,bottom:!1,left:!1,right:!1,fixed:!1,data:void 0,closeButton:!0,fastIframe:!0,open:!1,reposition:!0,loop:!0,slideshow:!1,slideshowAuto:!0,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",photoRegex:/\.(gif|png|jp(e|g|eg)|bmp|ico|webp|jxr|svg)((#|\?).*)?$/i,retinaImage:!1,retinaUrl:!1,retinaSuffix:"@2x.$1",current:"image {current} of {total}",previous:"previous",next:"next",close:"close",xhrError:"This content failed to load.",imgError:"This image failed to load.",returnFocus:!0,trapFocus:!0,onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,rel:function(){return this.rel},href:function(){return c(this).attr("href")},title:function(){return this.title},createImg:function(){var n=new Image,e=c(this).data("cbox-img-attrs");return"object"==typeof e&&c.each(e,function(e,t){n[e]=t}),n},createIframe:function(){var n=u.createElement("iframe"),e=c(this).data("cbox-iframe-attrs");return"object"==typeof e&&c.each(e,function(e,t){n[e]=t}),"frameBorder"in n&&(n.frameBorder=0),"allowTransparency"in n&&(n.allowTransparency="true"),n.name=(new Date).getTime(),n.allowFullscreen=!0,n}},H="colorbox",D="cbox",R=D+"Element",G=D+"_open",Y=D+"_load",l=D+"_complete",d=D+"_cleanup",X=D+"_closed",Z=D+"_purge",j=c("<a/>"),M="div",ee=0,te={};function L(e,t,n){e=u.createElement(e);return t&&(e.id=D+t),n&&(e.style.cssText=n),c(e)}function ne(){return h.innerHeight||c(h).height()}function ie(e,n){n!==Object(n)&&(n={}),this.cache={},this.el=e,this.value=function(e){var t;return void 0===this.cache[e]&&(void 0!==(t=c(this.el).attr("data-cbox-"+e))?this.cache[e]=t:void 0!==n[e]?this.cache[e]=n[e]:void 0!==i[e]&&(this.cache[e]=i[e])),this.cache[e]},this.get=function(e){e=this.value(e);return c.isFunction(e)?e.call(this.el,this):e}}function se(e){var t=v.length,e=(k+e)%t;return e<0?t+e:e}function A(e,t){return Math.round((/%/.test(e)?("x"===t?w.width():ne())/100:1)*parseInt(e,10))}function oe(e,t){return e.get("photo")||e.get("photoRegex").test(t)}function ae(e,t){return e.get("retinaUrl")&&1<h.devicePixelRatio?t.replace(e.get("photoRegex"),e.get("retinaSuffix")):t}function re(e){"contains"in f[0]&&!f[0].contains(e.target)&&e.target!==p[0]&&(e.stopPropagation(),f.focus())}function P(e){P.str!==e&&(f.add(p).removeClass(P.str).addClass(e),P.str=e)}function B(e){c(u).trigger(e),j.triggerHandler(e)}t=D+"Slideshow_",ce="click."+D;var le,de,t,ce,ue=function(){le?b.get("slideshow")||(j.unbind(d,ge),ge()):b.get("slideshow")&&v[1]&&(le=!0,j.one(d,ge),(b.get("slideshowAuto")?pe:fe)(),e.show())};function n(){clearTimeout(de)}function he(){(b.get("loop")||v[k+1])&&(n(),de=setTimeout(z.next,b.get("slideshowSpeed")))}function pe(){e.html(b.get("slideshowStop")).unbind(ce).one(ce,fe),j.bind(l,he).bind(Y,n),f.removeClass(t+"off").addClass(t+"on")}function fe(){n(),j.unbind(l,he).unbind(Y,n),e.html(b.get("slideshowStart")).unbind(ce).one(ce,function(){z.next(),pe()}),f.removeClass(t+"on").addClass(t+"off")}function ge(){le=!1,e.hide(),n(),j.unbind(l,he).unbind(Y,n),f.removeClass(t+"off "+t+"on")}function me(e){var t,n,i,s,o,a,r,l,d;O||(n=c(e).data(H),b=new ie(e,n),d=b.get("rel"),k=0,d&&!1!==d&&"nofollow"!==d?(v=c("."+R).filter(function(){return new ie(this,c.data(this,H)).get("rel")===d}),-1===(k=v.index(b.el))&&(v=v.add(b.el),k=v.length-1)):v=c(b.el),I||(I=E=!0,P(b.get("className")),f.css({visibility:"hidden",display:"block",opacity:""}),y=L(M,"LoadedContent","width:0; height:0; overflow:hidden; visibility:hidden"),m.css({width:"",height:""}).append(y),$=N.height()+W.height()+m.outerHeight(!0)-m.height(),C=F.width()+q.width()+m.outerWidth(!0)-m.width(),T=y.outerHeight(!0),_=y.outerWidth(!0),e=A(b.get("initialWidth"),"x"),n=A(b.get("initialHeight"),"y"),i=b.get("maxWidth"),t=b.get("maxHeight"),b.w=Math.max((!1!==i?Math.min(e,A(i,"x")):e)-_-C,0),b.h=Math.max((!1!==t?Math.min(n,A(t,"y")):n)-T-$,0),y.css({width:"",height:b.h}
1),z.position(),B(G),b.get("onOpen"),K.add(V).hide(),f.focus(),b.get("trapFocus")&&u.addEventListener&&(u.addEventListener("focus",re,!0),j.one(X,function(){u.removeEventListener("focus",re,!0)})),b.get("returnFocus")&&j.one(X,function(){c(b.el).focus()})),i=parseFloat(b.get("opacity")),p.css({opacity:i==i?i:"",cursor:b.get("overlayClose")?"pointer":"",visibility:"visible"}).show(),b.get("closeButton")?Q.html(b.get("close")).appendTo(m):Q.appendTo("<div/>"),r=z.prep,l=++ee,S=!(E=!0),B(Z),B(Y),b.get("onLoad"),b.h=b.get("height")?A(b.get("height"),"y")-T-$:b.get("innerHeight")&&A(b.get("innerHeight"),"y"),b.w=b.get("width")?A(b.get("width"),"x")-_-C:b.get("innerWidth")&&A(b.get("innerWidth"),"x"),b.mw=b.w,b.mh=b.h,b.get("maxWidth")&&(b.mw=A(b.get("maxWidth"),"x")-_-C,b.mw=b.w&&b.w<b.mw?b.w:b.mw),b.get("maxHeight")&&(b.mh=A(b.get("maxHeight"),"y")-T-$,b.mh=b.h&&b.h<b.mh?b.h:b.mh),e=b.get("href"),J=setTimeout(function(){U.show()},100),b.get("inline")?(s=c(e).eq(0),a=c("<div>").hide().insertBefore(s),j.one(Z,function(){a.replaceWith(s)}),r(s)):b.get("iframe")?r(" "):b.get("html")?r(b.get("html")):oe(b,e)?(e=ae(b,e),S=b.get("createImg"),c(S).addClass(D+"Photo").bind("error."+D,function(){r(L(M,"Error").html(b.get("imgError")))}).one("load",function(){l===ee&&setTimeout(function(){var e;b.get("retinaImage")&&1<h.devicePixelRatio&&(S.height=S.height/h.devicePixelRatio,S.width=S.width/h.devicePixelRatio),b.get("scalePhotos")&&(o=function(){S.height-=S.height*e,S.width-=S.width*e},b.mw&&S.width>b.mw&&(e=(S.width-b.mw)/S.width,o()),b.mh)&&S.height>b.mh&&(e=(S.height-b.mh)/S.height,o()),b.h&&(S.style.marginTop=Math.max(b.mh-S.height,0)/2+"px"),v[1]&&(b.get("loop")||v[k+1])&&(S.style.cursor="pointer",c(S).bind("click."+D,function(){z.next()})),S.style.width=S.width+"px",S.style.height=S.height+"px",r(S)},1)}),S.src=e):e&&x.load(e,b.get("data"),function(e,t){l===ee&&r("error"===t?L(M,"Error").html(b.get("xhrError")):c(this).contents())}))}function ve(){f||(s=!1,w=c(h),f=L(M).attr({id:H,class:!1===c.support.opacity?D+"IE":"",role:"dialog",tabindex:"-1"}).hide(),p=L(M,"Overlay").hide(),U=c([L(M,"LoadingOverlay")[0],L(M,"LoadingGraphic")[0]]),g=L(M,"Wrapper"),m=L(M,"Content").append(V=L(M,"Title"),r=L(M,"Current"),a=c('<button type="button"/>').attr({id:D+"Previous"}),o=c('<button type="button"/>').attr({id:D+"Next"}),e=c('<button type="button"/>').attr({id:D+"Slideshow"}),U),Q=c('<button type="button"/>').attr({id:D+"Close"}),g.append(L(M).append(L(M,"TopLeft"),N=L(M,"TopCenter"),L(M,"TopRight")),L(M,!1,"clear:left").append(F=L(M,"MiddleLeft"),m,q=L(M,"MiddleRight")),L(M,!1,"clear:left").append(L(M,"BottomLeft"),W=L(M,"BottomCenter"),L(M,"BottomRight"))).find("div div").css({float:"left"}),x=L(M,!1,"position:absolute; width:9999px; visibility:hidden; display:none; max-width:none;"),K=o.add(a).add(r).add(e)),u.body&&!f.parent().length&&c(u.body).append(p,f.append(g,x))}c[H]||(c(ve),(z=c.fn[H]=c[H]=function(t,e){var n=this;return t=t||{},c.isFunction(n)&&(n=c("<a/>"),t.open=!0),n[0]&&(ve(),f)&&(s||(s=!0,o.on("click",function(){z.next()}),a.on("click",function(){z.prev()}),Q.on("click",function(){z.close()}),p.on("click",function(){b.get("overlayClose")&&z.close()}),c(u).on("keydown."+D,function(e){var t=e.keyCode;I&&b.get("escKey")&&27===t&&(e.preventDefault(),z.close()),I&&b.get("arrowKey")&&v[1]&&!e.altKey&&(37===t?(e.preventDefault(),a.click()):39===t&&(e.preventDefault(),o.click()))}),c.isFunction(c.fn.on)?c(u).on("click."+D,"."+R,i):c("."+R).on("click."+D,i)),1)&&(e&&(t.onComplete=e),n.each(function(){var e=c.data(this,H)||{};c.data(this,H,c.extend(e,t))}).addClass(R),new ie(n[0],t).get("open")&&me(n[0])),n;function i(e){1<e.which||e.shiftKey||e.altKey||e.metaKey||e.ctrlKey||(e.preventDefault(),me(this))}}).position=function(t,e){var n,i,s,o,a=0,r=0,l=f.offset();function d(){N[0].style.width=W[0].style.width=m[0].style.width=parseInt(f[0].style.width,10)-C+"px",m[0].style.height=F[0].style.height=q[0].style.height=parseInt(f[0].style.height,10)-$+"px"}w.unbind("resize."+D),f.css({top:-9e4,left:-9e4}),i=w.scrollTop(),s=w.scrollLeft(),b.get("fixed")?(l.top-=i,l.left-=s,f.css({position:"fixed"})):(a=i,r=s,f.css({position:"absolute"})),!1!==b.get("right")?r+=Math.max(w.width()-b.w-_-C-A(b.get("right"),"x"),0):!1!==b.get("left")?r+=A(b.get("left"),"x"):r+=Math.round(Math.max(w.width()-b.w-_-C,0)/2),!1!==b.get("bottom")?a+=Math.max(ne()-b.h-T-$-A(b.get("bottom"),"y"),0):!1!==b.get("top")?a+=A(b.get("top"),"y"):a+=Math.round(Math.max(ne()-b.h-T-$,0)/2),f.css({top:l.top,left
1:l.left,visibility:"visible"}),g[0].style.width=g[0].style.height="9999px",n={width:b.w+_+C,height:b.h+T+$,top:a,left:r},t&&(o=0,c.each(n,function(e){n[e]!==te[e]&&(o=t)}),t=o),te=n,t||f.css(n),f.dequeue().animate(n,{duration:t||0,complete:function(){d(),E=!1,g[0].style.width=b.w+_+C+"px",g[0].style.height=b.h+T+$+"px",b.get("reposition")&&setTimeout(function(){w.bind("resize."+D,z.position)},1),c.isFunction(e)&&e()},step:d})},z.resize=function(e){var t;I&&((e=e||{}).width&&(b.w=A(e.width,"x")-_-C),e.innerWidth&&(b.w=A(e.innerWidth,"x")),y.css({width:b.w}),e.height&&(b.h=A(e.height,"y")-T-$),e.innerHeight&&(b.h=A(e.innerHeight,"y")),e.innerHeight||e.height||(t=y.scrollTop(),y.css({height:"auto"}),b.h=y.height()),y.css({height:b.h}),t&&y.scrollTop(t),z.position("none"===b.get("transition")?0:b.get("speed")))},z.prep=function(e){var t,s;I&&(s="none"===b.get("transition")?0:b.get("speed"),y.remove(),(y=L(M,"LoadedContent").append(e)).hide().appendTo(x.show()).css({width:(b.w=b.w||y.width(),b.w=b.mw&&b.mw<b.w?b.mw:b.w,b.w),overflow:b.get("scrolling")?"auto":"hidden"}).css({height:(b.h=b.h||y.height(),b.h=b.mh&&b.mh<b.h?b.mh:b.h,b.h)}).prependTo(m),x.hide(),c(S).css({float:"none"}),P(b.get("className")),t=function(){var e,t,n=v.length;function i(){!1===c.support.opacity&&f[0].style.removeAttribute("filter")}I&&(t=function(){clearTimeout(J),U.hide(),B(l),b.get("onComplete")},V.html(b.get("title")).show(),y.show(),1<n?("string"==typeof b.get("current")&&r.html(b.get("current").replace("{current}",k+1).replace("{total}",n)).show(),o[b.get("loop")||k<n-1?"show":"hide"]().html(b.get("next")),a[b.get("loop")||k?"show":"hide"]().html(b.get("previous")),ue(),b.get("preloading")&&c.each([se(-1),se(1)],function(){var e=v[this],e=new ie(e,c.data(e,H)),t=e.get("href");t&&oe(e,t)&&(t=ae(e,t),u.createElement("img").src=t)})):K.hide(),b.get("iframe")?(e=b.get("createIframe"),b.get("scrolling")||(e.scrolling="no"),c(e).attr({src:b.get("href"),class:D+"Iframe"}).one("load",t).appendTo(y),j.one(Z,function(){e.src="//about:blank"}),b.get("fastIframe")&&c(e).trigger("load")):t(),"fade"===b.get("transition")?f.fadeTo(s,1,i):i())},"fade"===b.get("transition")?f.fadeTo(s,0,function(){z.position(0,t)}):z.position(s,t))},z.next=function(){!E&&v[1]&&(b.get("loop")||v[k+1])&&(k=se(1),me(v[k]))},z.prev=function(){!E&&v[1]&&(b.get("loop")||k)&&(k=se(-1),me(v[k])
1)},z.close=function(){I&&!O&&(I=!(O=!0),B(d),b.get("onCleanup"),w.unbind("."+D),p.fadeTo(b.get("fadeOut")||0,0),f.stop().fadeTo(b.get("fadeOut")||0,0,function(){f.hide(),p.hide(),B(Z),y.remove(),setTimeout(function(){O=!1,B(X),b.get("onClosed")},1)}))},z.remove=function(){f&&(f.stop(),c[H].close(),f.stop(!1,!0).remove(),p.remove(),O=!1,f=null,c("."+R).removeData(H).removeClass(R),c(u).unbind("click."+D).unbind("keydown."+D))},z.element=function(){return c(b.el)},z.settings=i)}(jQuery,document,window),!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports&&"function"==typeof require?e(require("jquery")):e(jQuery)}(function(p){var n={escapeRegExChars:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},createNode:function(e){var t=document.createElement("div");return t.className=e,t.style.position="absolute",t.style.display="none",t}},i=27,s=9,o=13,a=38,r=39,l=40;function d(e,t){function n(){}var i=this,s={ajaxSettings:{},autoSelectFirst:!1,appendTo:document.body,serviceUrl:null,lookup:null,onSelect:null,width:"auto",minChars:1,deferRequestBy:600,params:{},formatResult:d.formatResult,delimiter:null,zIndex:9999,type:"GET",noCache:!1,onSearchStart:n,onSearchComplete:n,onSearchError:n,containerClass:"autocomplete-suggestions",tabDisabled:!1,dataType:"text",currentRequest:null,triggerSelectOnValidInput:!0,preventBadQueries:!1,lookupFilter:function(e,t,n){return-1!==e.value.toLowerCase().indexOf(n)},paramName:"query",transformResult:function(e){return"string"==typeof e?p.parseJSON(e):e},showNoSuggestionNotice:!1,noSuggestionNotice:"No results",orientation:"bottom",forceFixPosition:!1};i.element=e,i.el=p(e),i.suggestions=[],i.badQueries=[],i.selectedIndex=-1,i.currentValue=i.element.value,i.intervalId=0,i.cachedResponse={},i.onChangeInterval=null,i.onChange=null,i.isLocal=!1,i.suggestionsContainer=null,i.noSuggestionsContainer=null,i.options=p.extend({},s,t),i.classes={selected:"autocomplete-selected",suggestion:"autocomplete-suggestion"},i.hint=null,i.hintValue="",i.selection=null,i.initialize(),i.setOptions(t)}d.utils=n,(p.Autocomplete=d).formatResult=function(e,t){t="("+n.escapeRegExChars(t)+")";return e.value.replace(new RegExp(t,"gi"),"<strong>$1</strong>")},d.prototype={killerFn:null,initialize:function(){var e,t=this,n="."+t.classes.suggestion,i=t.classes.selected,s=t.options;t.element.setAttribute("autocomplete","off"),t.killerFn=function(e){0===p(e.target).closest("."+t.options.containerClass).length&&(t.killSuggestions(),t.disableKillerFn())},t.noSuggestionsContainer=p('<div class="autocomplete-no-suggestion"></div>').html(this.options.noSuggestionNotice).get(0),t.suggestionsContainer=d.utils.createNode(s.containerClass),(e=p(t.suggestionsContainer)).appendTo(s.appendTo),"auto"!==s.width&&e.width(s.width),e.on("mouseover.autocomplete",n,function(){t.activate(p(this).data("index"))}),e.on("mouseout.autocomplete",function(){t.selectedIndex=-1,e.children("."+i).removeClass(i)}),e.on("click.autocomplete",n,function(){t.select(p(this).data("index"))}),t.fixPositionCapture=function(){t.visible&&t.fixPosition()},p(window).on("resize.autocomplete",t.fixPositionCapture),t.el.on("keydown.autocomplete",function(e){t.onKeyPress(e)}),t.el.on("keyup.autocomplete",function(e){t.onKeyUp(e)}),t.el.on("blur.autocomplete",function(){t.onBlur()}),t.el.on("focus.autocomplete",function(){t.onFocus()}),t.el.on("change.autocomplete",function(e){t.onKeyUp(e)})},onFocus:function(){this.fixPosition(),this.options.minChars<=this.el.val().length&&this.onValueChange()},onBlur:function(){this.enableKillerFn()},setOptions:function(e){var t=this,n=t.options;p.extend(n,e),t.isLocal=p.isArray(n.lookup),t.isLocal&&(n.lookup=t.verifySuggestionsFormat(n.lookup)),n.orientation=t.validateOrientation(n.orientation,"bottom"),p(t.suggestionsContainer).css({"max-height":n.maxHeight+"px",width:n.width+"px","z-index":n.zIndex})},clearCache:function(){this.cachedResponse={},this.badQueries=[]},clear:function(){this.clearCache(),this.currentValue="",this.suggestions=[]},disable:function(){this.disabled=!0,clearInterval(this.onChangeInterval),this.currentRequest&&this.currentRequest.abort()},enable:function(){this.disabled=!1},fixPosition:function(){var e,t,n,i,s,o,a,r,l=this,d=p(l.suggestionsContainer),c=d.parent().get(0);c!==document.body&&!l.options.forceFixPosition||(o=l.options.orientation,e=d.outerHeight(),t=l.el.outerHeight(),n={top:(r=l.el.offset()).top,left
1:r.left},"auto"==o&&(a=p(window).height(),i=-(s=p(window).scrollTop())+r.top-e,s=s+a-(r.top+t+e),o=Math.max(i,s)===i?"top":"bottom"),n.top+="top"===o?-e:t,c!==document.body&&(a=d.css("opacity"),l.visible||d.css("opacity",0).show(),r=d.offsetParent().offset(),n.top-=r.top,n.left-=r.left,l.visible||d.css("opacity",a).hide()),"auto"===l.options.width&&(n.width=l.el.outerWidth()-2+"px"),d.css(n))},enableKillerFn:function(){p(document).on("click.autocomplete",this.killerFn)},disableKillerFn:function(){p(document).off("click.autocomplete",this.killerFn)},killSuggestions:function(){var e=this;e.stopKillSuggestions(),e.intervalId=window.setInterval(function(){e.hide(),e.stopKillSuggestions()},50)},stopKillSuggestions:function(){window.clearInterval(this.intervalId)},isCursorAtEnd:function(){var e=this.el.val().length,t=this.element.selectionStart;return"number"==typeof t?t===e:!document.selection||((t=document.selection.createRange()).moveStart("character",-e),e===t.text.length)},onKeyPress:function(e){var t=this;if(t.disabled||t.visible||e.which!==l||!t.currentValue){if(!t.disabled&&t.visible){switch(e.which){case i:t.el.val(t.currentValue),t.hide();break;case r:if(t.hint&&t.options.onHint&&t.isCursorAtEnd()){t.selectHint();break}return;case s:if(t.hint&&t.options.onHint)return void t.selectHint();case o:if(-1===t.selectedIndex)return void t.hide();if(t.select(t.selectedIndex),e.which===s&&!1===t.options.tabDisabled)return;break;case a:t.moveUp();break;case l:t.moveDown();break;default:return}e.stopImmediatePropagation(),e.preventDefault()}}else t.suggest()},onKeyUp:function(e){var t=this;if(!t.disabled){switch(e.which){case a:case l:return}clearInterval(t.onChangeInterval),t.currentValue!==t.el.val()&&(t.findBestHint(),0<t.options.deferRequestBy?t.onChangeInterval=setInterval(function(){t.onValueChange()},t.options.deferRequestBy):t.onValueChange())}},onValueChange:function(){var e=this,t=e.options,n=e.el.val(),i=e.getQuery(n);e.selection&&e.currentValue!==i&&(e.selection=null,(t.onInvalidateSelection||p.noop).call(e.element)),clearInterval(e.onChangeInterval),e.currentValue=n,e.selectedIndex=-1,t.triggerSelectOnValidInput&&-1!==(n=e.findSuggestionIndex(i))?e.select(n):i.length<t.minChars?e.hide():e.getSuggestions(i)},findSuggestionIndex:function(e){var n=-1,i=e.toLowerCase();return p.each(this.suggestions,function(e,t){if(t.value.toLowerCase()===i)return n=e,!1}),n},getQuery:function(e){var t=this.options.delimiter;return t?(t=e.split(t),p.trim(t[t.length-1])):e},getSuggestionsLocal:function(t){var e=this.options,n=t.toLowerCase(),i=e.lookupFilter,s=parseInt(e.lookupLimit,10),e={suggestions:p.grep(e.lookup,function(e){return i(e,t,n)})};return s&&e.suggestions.length>s&&(e.suggestions=e.suggestions.slice(0,s)),e},getSuggestions:function(i){var e,t,n,s=this,o=s.options,a=o.serviceUrl;o.params[o.paramName]=i,e=o.ignoreParams?null:o.params,!1!==o.onSearchStart.call(s.element,o.params)&&((n=s.isLocal?s.getSuggestionsLocal(i):(p.isFunction(a)&&(a=a.call(s.element,i)),t=a+"?"+p.param(e||{}),s.cachedResponse[t]))&&p.isArray(n.suggestions)?(s.suggestions=n.suggestions,s.suggest(),o.onSearchComplete.call(s.element,i,n.suggestions)):s.isBadQuery(i)?o.onSearchComplete.call(s.element,i,[]):(s.currentRequest&&s.currentRequest.abort(),n={url:a,data:e,type:o.type,dataType:o.dataType},p.extend(n,o.ajaxSettings),s.currentRequest=p.ajax(n).done(function(e){s.currentRequest=null,e=o.transformResult(e),s.processResponse(e,i,t),o.onSearchComplete.call(s.element,i,e.suggestions)}).fail(function(e,t,n){o.onSearchError.call(s.element,i,e,t,n)})))},isBadQuery:function(e){if(this.options.preventBadQueries)for(var t=this.badQueries,n=t.length;n--;)if(0===e.indexOf(t[n]))return!0;return!1},hide:function(){var e=this;e.visible=!1,e.selectedIndex=-1,clearInterval(e.onChangeInterval),p(e.suggestionsContainer).hide(),e.signalHint(null)},suggest:function(){var e,t,n,i,s,o,a,r,l,d,c,u,h;0===this.suggestions.length?this.options.showNoSuggestionNotice?this.noSuggestions():this.hide():(t=(e=this).options,n=t.groupBy,i=t.formatResult,s=e.getQuery(e.currentValue),o=e.classes.suggestion,a=e.classes.selected,r=p(e.suggestionsContainer),l=p(e.n
1oSuggestionsContainer),d=t.beforeRender,c="",t.triggerSelectOnValidInput&&-1!==(h=e.findSuggestionIndex(s))?e.select(h):(p.each(e.suggestions,function(e,t){n&&(c+=function(e){e=e.data[n];return u===e?"":'<div class="autocomplete-group"><strong>'+(u=e)+"</strong></div>"}(t)),c+='<div class="'+o+'" data-index="'+e+'">'+i(t,s)+"</div>"}),this.adjustContainerWidth(),l.detach(),r.html(c),t.autoSelectFirst&&(e.selectedIndex=0,r.children().first().addClass(a)),p.isFunction(d)&&d.call(e.element,r),e.fixPosition(),r.show(),e.visible=!0,e.findBestHint()))},noSuggestions:function(){var e=p(this.suggestionsContainer),t=p(this.noSuggestionsContainer);this.adjustContainerWidth(),t.detach(),e.empty(),e.append(t),this.fixPosition(),e.show(),this.visible=!0},adjustContainerWidth:function(){var e=this.options,t=p(this.suggestionsContainer);"auto"===e.width&&(e=this.el.outerWidth()-2,t.width(0<e?e:300))},findBestHint:function(){var i=this.el.val().toLowerCase(),s=null;i&&(p.each(this.suggestions,function(e,t){var n=0===t.value.toLowerCase().indexOf(i);return n&&(s=t),!n}),this.signalHint(s))},signalHint:function(e){var t="",n=this;e&&(t=n.currentValue+e.value.substr(n.currentValue.length)),n.hintValue!==t&&(n.hintValue=t,n.hint=e,(this.options.onHint||p.noop)(t))},verifySuggestionsFormat:function(e){return e.length&&"string"==typeof e[0]?p.map(e,function(e){return{value:e,data:null}}):e},validateOrientation:function(e,t){return e=p.trim(e||"").toLowerCase(),e=-1===p.inArray(e,["auto","bottom","top"])?t:e},processResponse:function(e,t,n){var i=this,s=i.options;e.suggestions=i.verifySuggestionsFormat(e.suggestions),s.noCache||(i.cachedResponse[n]=e,s.preventBadQueries&&0===e.suggestions.length&&i.badQueries.push(t)),t===i.getQuery(i.currentValue)&&(i.suggestions=e.suggestions,i.suggest())},activate:function(e){var t=this,n=t.classes.selected,i=p(t.suggestionsContainer),s=i.find("."+t.classes.suggestion);return i.find("."+n).removeClass(n),t.selectedIndex=e,-1!==t.selectedIndex&&s.length>t.selectedIndex?(i=s.get(t.selectedIndex),p(i).addClass(n),i):null},selectHint:function(){var e=p.inArray(this.hint,this.suggestions);this.select(e)},select:function(e){this.hide(),this.onSelect(e)},moveUp:function(){var e=this;-1!==e.selectedIndex&&(0===e.selectedIndex?(p(e.suggestionsContainer).children().first().removeClass(e.classes.selected),e.selectedIndex=-1,e.el.val(e.currentValue),e.findBestHint()):e.adjustScroll(e.selectedIndex-1))},moveDown:function(){this.selectedIndex!==this.suggestions.length-1&&this.adjustScroll(this.selectedIndex+1)},adjustScroll:function(e){var t,n,i,s=this,o=s.activate(e);o&&(t=p(o).outerHeight(),o=o.offsetTop,i=(n=p(s.suggestionsContainer).scrollTop())+s.options.maxHeight-t,o<n?p(s.suggestionsContainer).scrollTop(o):i<o&&p(s.suggestionsContainer).scrollTop(o-s.options.maxHeight+t),s.el.val(s.getValue(s.suggestions[e].value)),s.signalHint(null))},onSelect:function(e){var t=this,n=t.options.onSelect,e=t.suggestions[e];t.currentValue=t.getValue(e.value),t.currentValue!==t.el.val()&&t.el.val(t.currentValue),t.signalHint(null),t.suggestions=[],t.selection=e,p.isFunction(n)&&n.call(t.element,e)},getValue:function(e){var t,n=this.options.delimiter;return!n||1===(n=(t=this.currentValue).split(n)).length?e:t.substr(0,t.length-n[n.length-1].length)+e},dispose:function(){this.el.off(".autocomplete").removeData("autocomplete"),this.disableKillerFn(),p(window).off("resize.autocomplete",this.fixPositionCapture),p(this.suggestionsContainer).remove()}},p.fn.autocomplete=p.fn.devbridgeAutocomplete=function(n,i){var s="autocomplete";return 0===arguments.length?this.first().data(s):this.each(function(){var e=p(this),t=e.data(s);"string"==typeof n?t&&"function"==typeof t[n]&&t[n](i):(t&&t.dispose&&t.dispose(),t=new d(this,n),e.data(s,t))})}}),"undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");function dwDebug(){var e;if(this.nav=(navigator&&navigator.userAgent||"").toLowerCase(),-1!==this.nav.indexOf("msie")&&null!==(e=this.nav.match(/msie (\d+)\./))&&e[1]<=6&&(this.enabled=!1),this.enabled)try{onerror=this.onError}catch(e){}}!function(){var e=jQuery.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1||3<e[0])throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")}(),function(d){function c(e,t){this.$element=d(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=t,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("key
1down.bs.carousel",d.proxy(this.keydown,this)),"hover"!=this.options.pause||"ontouchstart"in document.documentElement||this.$element.on("mouseenter.bs.carousel",d.proxy(this.pause,this)).on("mouseleave.bs.carousel",d.proxy(this.cycle,this))}function s(s){return this.each(function(){var e=d(this),t=e.data("bs.carousel"),n=d.extend({},c.DEFAULTS,e.data(),"object"==typeof s&&s),i="string"==typeof s?s:n.slide;t||e.data("bs.carousel",t=new c(this,n)),"number"==typeof s?t.to(s):i?t[i]():n.interval&&t.pause().cycle()})}c.VERSION="3.4.1",c.TRANSITION_DURATION=600,c.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},c.prototype.keydown=function(e){if(!/input|textarea/i.test(e.target.tagName)){switch(e.which){case 37:this.prev();break;case 39:this.next();break;default:return}e.preventDefault()}},c.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(d.proxy(this.next,this),this.options.interval)),this},c.prototype.getItemIndex=function(e){return this.$items=e.parent().children(".item"),this.$items.index(e||this.$active)},c.prototype.getItemForDirection=function(e,t){var n=this.getItemIndex(t);return("prev"==e&&0===n||"next"==e&&n==this.$items.length-1)&&!this.options.wrap?t:(t=(n+("prev"==e?-1:1))%this.$items.length,this.$items.eq(t))},c.prototype.to=function(e){var t=this,n=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(e>this.$items.length-1||e<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){t.to(e)}):n==e?this.pause().cycle():this.slide(n<e?"next":"prev",this.$items.eq(e))},c.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&d.support.transition&&(this.$element.trigger(d.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},c.prototype.next=function(){if(!this.sliding)return this.slide("next")},c.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},c.prototype.slide=function(e,t){var n,i,s,o=this.$element.find(".item.active"),a=t||this.getItemForDirection(e,o),t=this.interval,r="next"==e?"left":"right",l=this;return a.hasClass("active")?this.sliding=!1:(n=a[0],i=d.Event("slide.bs.carousel",{relatedTarget:n,direction:r}),this.$element.trigger(i),i.isDefaultPrevented()?void 0:(this.sliding=!0,t&&this.pause(),this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),i=d(this.$indicators.children()[this.getItemIndex(a)]))&&i.addClass("active"),s=d.Event("slid.bs.carousel",{relatedTarget:n,direction:r}),d.support.transition&&this.$element.hasClass("slide")?(a.addClass(e),"object"==typeof a&&a.length&&a[0].offsetWidth,o.addClass(r),a.addClass(r),o.one("bsTransitionEnd",function(){a.removeClass([e,r].join(" ")).addClass("active"),o.removeClass(["active",r].join(" ")),l.sliding=!1,setTimeout(function(){l.$element.trigger(s)},0)}).emulateTransitionEnd(c.TRANSITION_DURATION)):(o.removeClass("active"),a.addClass("active"),this.sliding=!1,this.$element.trigger(s)),t&&this.cycle(),this))};function e(e){var t,n=d(this),i=(i=n.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,""),i=n.attr("data-target")||i;(i=d(document).find(i)).hasClass("carousel")&&(t=d.extend({},i.data(),n.data()),(n=n.attr("data-slide-to"))&&(t.interval=!1),s.call(i,t),n&&i.data("bs.carousel").to(n),e.preventDefault())}var t=d.fn.carousel;d.fn.carousel=s,d.fn.carousel.Constructor=c,d.fn.carousel.noConflict=function(){return d.fn.carousel=t,this};d(document).on("click.bs.carousel.data-api","[data-slide]",e).on("click.bs.carousel.data-api","[data-slide-to]",e),d(window).on("load",function(){d('[data-ride="carousel"]').each(function(){var e=d(this);s.call(e,e.data())})})}(jQuery),function(s){function i(e){s(e).on("click.bs.dropdown",this.toggle)}var o='[data-toggle="dropdown"]';function a(e){var t=e.attr("data-target"),t="#"!==(t=t||(t=e.attr("href"))&&/#[A-Za-z]/.test(t)&&t.replace(/.*(?=#[^\s]*$)/,""))?s(document).find(t):null;return t&&t.length?t:e.parent()}function r(i){i&&3===i.which||(s(".dropdown-backdrop").remove(),s(o).each(function(){var e=s(this),t=a(e),n={relatedTarget:this};!t.hasClass("open")||i&&"click"==i.type&&/input|textarea/i.test(i.target.tagName)&&s.contains(t[0],i.target)||(t.trigger(i=s.Event("hide.bs.dropdown",n)),i.isDefaultPrevented())||(e.attr("aria-expanded","fal
1se"),t.removeClass("open").trigger(s.Event("hidden.bs.dropdown",n)))}))}i.VERSION="3.4.1",i.prototype.toggle=function(e){var t=s(this);if(!t.is(".disabled, :disabled")){var n=a(t),i=n.hasClass("open");if(r(),!i){"ontouchstart"in document.documentElement&&!n.closest(".navbar-nav").length&&s(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(s(this)).on("click",r);i={relatedTarget:this};if(n.trigger(e=s.Event("show.bs.dropdown",i)),e.isDefaultPrevented())return;t.trigger("focus").attr("aria-expanded","true"),n.toggleClass("open").trigger(s.Event("shown.bs.dropdown",i))}return!1}},i.prototype.keydown=function(e){if(/(38|40|27|32)/.test(e.which)&&!/input|textarea/i.test(e.target.tagName)){var t=s(this);if(e.preventDefault(),e.stopPropagation(),!t.is(".disabled, :disabled")){var n=a(t),i=n.hasClass("open");if(!i&&27!=e.which||i&&27==e.which)return 27==e.which&&n.find(o).trigger("focus"),t.trigger("click");i=n.find(".dropdown-menu li:not(.disabled):visible a");i.length&&(t=i.index(e.target),38==e.which&&0<t&&t--,40==e.which&&t<i.length-1&&t++,i.eq(t=~t?t:0).trigger("focus"))}}};var e=s.fn.dropdown;s.fn.dropdown=function(n){return this.each(function(){var e=s(this),t=e.data("bs.dropdown");t||e.data("bs.dropdown",t=new i(this)),"string"==typeof n&&t[n].call(e)})},s.fn.dropdown.Constructor=i,s.fn.dropdown.noConflict=function(){return s.fn.dropdown=e,this},s(document).on("click.bs.dropdown.data-api",r).on("click.bs.dropdown.data-api",".dropdown form",function(e){e.stopPropagation()}).on("click.bs.dropdown.data-api",o,i.prototype.toggle).on("keydown.bs.dropdown.data-api",o,i.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",i.prototype.keydown)}(jQuery),function(s){function o(e,t){this.$element=s(e),this.options=s.extend({},o.DEFAULTS,t),this.$trigger=s('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()}function n(e){e=e.attr("data-target")||(e=e.attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,"");return s(document).find(e)}function a(i){return this.each(function(){var e=s(this),t=e.data("bs.collapse"),n=s.extend({},o.DEFAULTS,e.data(),"object"==typeof i&&i);!t&&n.toggle&&/show|hide/.test(i)&&(n.toggle=!1),t||e.data("bs.collapse",t=new o(this,n)),"string"==typeof i&&t[i]()})}o.VERSION="3.4.1",o.TRANSITION_DURATION=350,o.DEFAULTS={toggle:!0},o.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},o.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var e=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(e&&e.length&&(i=e.data("bs.collapse"))&&i.transitioning)){var t=s.Event("show.bs.collapse");if(this.$element.trigger(t),!t.isDefaultPrevented()){e&&e.length&&(a.call(e,"hide"),i||e.data("bs.collapse",null));var n=this.dimension(),t=(this.$element.removeClass("collapse").addClass("collapsing")[n](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1,function(){this.$element.removeClass("collapsing").addClass("collapse in")[n](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")});if(!s.support.transition)return t.call(this);var i=s.camelCase(["scroll",n].join("-"));this.$element.one("bsTransitionEnd",s.proxy(t,this)).emulateTransitionEnd(o.TRANSITION_DURATION)[n](this.$element[0][i])}}}},o.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var e=s.Event("hide.bs.collapse");if(this.$element.trigger(e),!e.isDefaultPrevented()){var e=this.dimension(),t=(this.$element[e](this.$element[e]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1,function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")});if(!s.support.transition)return t.call(this);this.$element[e](0).one("bsTransitionEnd",s.proxy(t,this)).emulateTransitionEnd(o.TRANSITION_DURATION)}}},o.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},o.prototype.getParent=function(){return s(document).find(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(s.proxy(function(e,t){t=s(t);this.addAriaAndCollapsedClass(n(t),t)},this)).end()},o.prototype.addAriaAndCollapsedClass=function(e,t){var n=e.hasClass("in");e.attr("aria-expanded",n),t.toggleClass("collapsed",!n).attr("aria-expanded",n)};var e=s.fn.collapse;s.fn.collapse=a,s.fn.collapse.Constructor=o,s.fn.collapse.noConflict=function(){return s.fn.collapse=e,this},s(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(e){var t=s(this),e=(t.attr("data-target")||e.preventDefault(),n(t)),t=e.data("bs.collapse")?"toggle":t.data();a.call(e,t)})}(jQuery),function(i){i.fn.emulateTransitionEnd=function(e){var t=!1,n=this;i(this).one("bsTransitionEnd",function(){t=!0});return setTimeout(function(){t||i(n).trigger(i.support.transition.end)},e),this},i(function(){i.support.transition=function(){var e,t=document.createElement("bootstrap"),n={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(e in n)if(void 0!==t.style[e])return{end:n[e]};return!1}(),i.support.transition&&(i.event.special.bsTransitionEnd={bindType:i.support.transition.end,delegateType:i.support.transition.end,handle:function(e){if(i(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}})})}(jQuery),function(a,e){var r,l,t,n,i,d,s,o,c,u,h,p,f,g,m,v,w,y,x,b,$;"function"==typeof a.createEvent&&(s=function(e){var t=e.toLowerCase();return navigator.msPointerEnabled?"MS"+e:!!window.PointerEvent&&t},i=function(e){return"on"+e in window&&e},r={useJquery:!e.IGNORE_JQUERY&&"undefined"!=typeof jQuery,swipeThreshold:e.
1SWIPE_THRESHOLD||100,tapThreshold:e.TAP_THRESHOLD||150,dbltapThreshold:e.DBL_TAP_THRESHOLD||200,longtapThreshold:e.LONG_TAP_THRESHOLD||1e3,tapPrecision:e.TAP_PRECISION/2||30,justTouchEvents:e.JUST_ON_TOUCH_DEVICES},l=!1,t=i("touchstart")||s("PointerDown"),n=i("touchend")||s("PointerUp"),i=i("touchmove")||s("PointerMove"),d=function(e){return!e.pointerId||void 0===f||e.pointerId===f},o=function(e){var t=Boolean(e.targetTouches&&e.targetTouches.length);switch(!0){case Boolean(e.target.touches):return e.target.touches[0];case t&&void 0!==e.targetTouches[0].pageX:return e.targetTouches[0];case t&&Boolean(e.targetTouches[0].touches):return e.targetTouches[0].touches[0];default:return e}},c=function(e){return 1<(e.targetTouches||e.target.touches||[]).length},u=function(){return(new Date).getTime()},h=function(e,t,n,i){var s=a.createEvent("Event");if(s.originalEvent=n,(i=i||{}).x=g,i.y=m,r.useJquery&&(s=jQuery.Event(t,{originalEvent:n}),jQuery(e).trigger(s,i)),s.initEvent){for(var o in i)s[o]=i[o];s.initEvent(t,!0,!0),e.dispatchEvent(s)}for(;e;)e["on"+t]&&e["on"+t](s),e=e.parentNode},p=0,(s=function(e,t,n){for(var i=t.split(" "),s=i.length;s--;)e.addEventListener(i[s],n,!1)})(a,t+(r.justTouchEvents?"":" mousedown"),function(e){var t;!d(e)||c(e)||(f=e.pointerId,"mousedown"!==e.type&&(l=!0),"mousedown"===e.type&&l)||(t=o(e),v=g=t.pageX,w=m=t.pageY,$=setTimeout(function(){h(e.target,"longtap",e),x=e.target},r.longtapThreshold),y=u(),p++)}),s(a,n+(r.justTouchEvents?"":" mouseup"),function(e){if(d(e)&&!c(e))if(f=void 0,"mouseup"===e.type&&l)l=!1;else{var t=[],n=u(),i=w-m,s=v-g;if(clearTimeout(b),clearTimeout($),s<=-r.swipeThreshold&&t.push("swiperight"),s>=r.swipeThreshold&&t.push("swipeleft"),i<=-r.swipeThreshold&&t.push("swipedown"),i>=r.swipeThreshold&&t.push("swipeup"),t.length){for(var o=0;o<t.length;o++)h(e.target,t[o],e,{distance:{x:Math.abs(s),y:Math.abs(i)}});p=0}else v>=g-r.tapPrecision&&v<=g+r.tapPrecision&&w>=m-r.tapPrecision&&w<=m+r.tapPrecision&&0<=y+r.tapThreshold-n&&(h(e.target,2<=p&&x===e.target?"dbltap":"tap",e),x=e.target),b=setTimeout(function(){p=0},r.dbltapThreshold)}}),s(a,i+(r.justTouchEvents?"":" mousemove"),function(e){!d(e)||"mousemove"===e.type&&l||(e=o(e),g=e.pageX,m=e.pageY)}),e.tocca=function(e){for(var t in e)r[t]=e[t];return r})}(document,window),dwDebug.prototype.nav="",dwDebug.prototype.enabled="undefined"==typeof _x_||!_x_.ignoreDebug,dwDebug.prototype.onError=function(e,t,n,i){var s,o=[],a=new Image,r="",l=document.currentScript||!1,d=document.getElementsByTagName("script");i=i||"_";try{if("-"!==n){if(0!==t.indexOf(document.location.protocol+"//"+document.location.host))return!1;for(s in o={load:{v:n=n.toString(),s:"Error loading script"},gat:{v:e,s:"_gat"},ga:{v:e,s:"GA_google"},gs:{v:e,s:"GS_google"},fbframe:{v:e,s:"Blocked a frame with origin",n:"iphone"},classlist:{v:e,s:"classList",n:"safari"},pubstack:{v:e,s:"before a method",n:"mac os"},rv11:{v:e,s:"Erreur de syntaxe",n:"rv:11"}})if(-1!==o[s].v.indexOf(o[s].s)&&(void 0===o[s].n||-1!==dwDebug.nav.indexOf(o[s].n)))return!1}if(e=(e.stack||e.message||e)+", "+t+"@"+n+":"+i,l)l.src?e+=", script="+l.src+"@"+n+":"+i:e+=", script="+l.innerText;else for(s in d)d[s].src&&-1===d[s].src.indexOf(document.location.host)&&-1===d[s].src.indexOf("google")&&(e+=", src="+d[s].src);r="https://www.dugwood.com/_?e="+encodeURIComponent(e),a.src=r.substring(0,4e3)}catch(e){dwDebug.dev&&"undefined"!=typeof console&&console.log(e)}return!(onerror=function(){return!1})};var dwDebug=new dwDebug,_dwEvents={size:"md",scrolls:[],scrollTimer:!1,scrollTimeout:500,scrollToLazy:0,scrollTop:0,scrollPreviousTop:0,scrollBottom:0,fastScrolls:[],fastScrollTimer:!1,fastScrollTimeout:50,resizes:[],resizeTimer:!1,resizeTimeout:500,addScroll:function(e,t,n){(n?this.fastScrolls:this.scrolls).push(function(){e[t]()})},addResize:function(e,t){this.resizes.push(function(){e[t]()})},scrollOnce:function(e){var t=_dwEvents;if(e="number"==typeof e?e:0,t.scrollPreviousTop=t.scrollTop,t.scrollTop=$(window).scrollTop(),t.scrollBottom=$(window).height()+t.scrollTop,t.scrollToLazy=t.scrollBottom+500,t.scrolls.length&&!t.scrollTimer){if(-1===e)return void t.scroll();t.scrollTimer=setTimeout(t.scroll,e||t.scrollTimeout)}t.fastScrolls.length&&!t.fastScrollTimer&&(-1===e?t.fastScroll():t.fastScrollTimer=setTimeout(t.fastScroll,e||t.fastScrollTimeout))},resizeOnce:function(e){var t=_dwEvents;e="number"==typeof e?e:0,t.scrollBottom=$(window).height()+t.scrollTop,t.resizes.length&&(-1===e?t.resize():(t.resizeTimer&&clearTimeout(t.resizeTimer),t.resizeTimer=setTimeout(t.resize,e||t.resizeTimeout)))},scroll:function(){var e,t=_dwEvents;for(e in t.scrolls)t.scrolls[e]();t.scrollTimer=!1},fastScroll:function(){var e,t=_dwEvents;for(e in t.fastScrolls)t.fastScrolls[e]();t.fastScrollTimer=!1},resize:function(){var e,t=_dwEvents;for(e in t.resizes)t.resizes[e]()},responsive:function(){$("#detect-visible-xs").is(":visible")?_dwEvents.size="xs":$
1("#detect-visible-sm").is(":visible")?_dwEvents.size="sm":$("#detect-visible-lg").is(":visible")?_dwEvents.size="lg":_dwEvents.size="md"}},_dwSliders=(_dwEvents.addResize(_dwEvents,"responsive"),$(window).on("scroll",_dwEvents.scrollOnce),$(window).on("resize",_dwEvents.resizeOnce),$(document).ready(function(){_dwEvents.responsive(),_dwEvents.scrollOnce(),_dwEvents.resizeOnce(0)}),{id:1,delay:4e3,sliders:{},getInnerSlider:function(e){return e.find(".inner-slider:visible").first()},init:function(){var i=_dwSliders,e=$(this).attr("data-slider")||"",t=$(this).find(".slider-part").first(),n=_dwSliders.getInnerSlider(t);if(_dwSliders.getInnerWidth(n)&&t.width()&&!t.attr("id")){var s="vsnr-sliders-"+i.id++,o=(t.attr("id",s),i.sliders[s]={id:s,fade:-1!==e.indexOf("fade"),auto:-1!==e.indexOf("auto"),destroy:-1!==e.indexOf("destroy"),timer:!1,position:1,fixed:-1!==e.indexOf("fixed"),fixedWidth:0,count:0,arrows:-1!==e.indexOf("fade")||-1!==e.indexOf("arrows"),jwstopper:-1!==e.indexOf("auto"),slider:t,inner:n},i.sliders[s]);if(i.computeCount(o),!(o.count<=1)){if(o.fade&&(o.slider.css("position","relative"),o.inner.css("position","absolute")),-1!==e.indexOf("dots")){o.dots="dots-"+s;var a=$("<span>").addClass("dots");-1!==e.indexOf("bottomdots")?a.addClass("bottom-dots"):a.addClass("top-dots");for(var r=1;r<=o.count;r++)a.append($("<a>").attr("href","#").addClass(1===r?"active":"").on("click",l(s,r)).append($("<span>")));$(this).append(a)}n="arrows";-1!==e.indexOf("outside")&&(n+=" arrow-outside"),-1!==e.indexOf("white")&&(n+=" arrow-white"),$(this).append($("<a>").addClass(n+" arrow-previous").attr("href","#").on("click",l(s,"previous")).append($("<span>"))),$(this).append($("<a>").addClass(n+" arrow-next").attr("href","#").on("click",l(s,"next")).append($("<span>"))),o.arrows||$(this).find("a.arrow-previous").hide(),o.count<=1&&$(this).find("a.arrow-next").hide(),t.on("swipeleft",function(){i.slide($(this).attr("id"),"next")}).on("swiperight",function(){i.slide($(this).attr("id"),"previous")}).on("selectstart",function(){return!1}),o.auto&&(t.on("mouseenter",function(){clearTimeout(o.timer)}),t.on("mouseleave",function(){clearTimeout(o.timer),o.auto&&(o.timer=setTimeout(function(){i.slide(s,"next",!0)},i.delay))}),o.timer=setTimeout(function(){i.slide(s,"next",!0)},i.delay))}}function l(t,n){return function(e){return e.stopPropagation(),i.slide(t,n),!1}}},slide:function(e,t,n){if("object"==typeof e){var i=$(e).closest(".slider-part").attr("id").match(/^vsnr-sliders-(\d+)$/);if(!i||!i[1])return!1;e="vsnr-sliders-"+(parseInt(i[1])+1)}var s,o=_dwSliders.sliders[e];return n=n||!1,"current"===t?clearTimeout(o.timer):!n&&o.auto&&(clearTimeout(o.timer),o.auto=!1),o.destroy?(o.destroy=!1,$(o.inner).children(".slides").first().remove(),this.slide(e,"current")):(o.inner.is(":visible")&&(_dwSliders.computeCount(o),o.count?(o.position=Math.min(o.position,o.count),"next"===t?o.position>=o.count?o.position=1:o.position++:"previous"===t&&(o.position<=1?o.position=o.count:o.position--),s=Math.ceil(Math.max(0,Math.min((o.fixed&&"xs"===_dwEvents.size?o.fixedWidth:o.slider.width())*(o.position-1),o.inner.width()-o.slider.width()))),o.fade?"current"===t?(o.inner.css("left",-1*s+"px"),_dwSliders.after(o)):o.slider.fadeOut(800,function(){o.inner.css("left",-1*s+"px"),o.slider.fadeIn(1e3,function(){_dwSliders.after(o)})}):"current"===t?(o.inner.css("scrollLeft",s+"px"),_dwSliders.after(o)):o.slider.animate({scrollLeft:s},800,"swing",function(){_dwSliders.after(o)})):o.slider.parent().parent().parent().remove()),!1)},after:function(e){var t=e.slider.parent();1<e.count&&(1<e.position||e.arrows)?t.find("a.arrow-previous").show():t.find("a.arrow-previous").hide(),1<e.count&&(e.position<e.count||e.arrows)?t.find("a.arrow-next").show():t.find("a.arrow-next").hide(),e.dots&&(t.find("span.dots a").removeClass("active"),t.find("span.dots a:nth-child("+e.position+")").addClass("active")),e.count<=1&&(e.auto=!1),e.auto&&(e.timer=setTimeout(function(){_dwSliders.slide(e.id,"next",!0)},_dwSliders.delay))},computeCount:function(e){e.count=Math.ceil(_dwSliders.getInnerWidth(e.inner)/e.slider.width())},getInnerWidth:function(e){var t=0;return $(e).children().each(function(){t+=$(this).width()}),t},disableAuto:function(){for(var e in _dwSliders.sliders)_dwSliders.sliders[e].auto=!1,_dwSliders.sliders[e].jwstopper=!1},resize:function(){var e,t;for(e in _dwSliders.sliders)(t=_dwSliders.getInnerSlider(_dwSliders.sliders[e].slider)).attr("class")!==_dwSliders.sliders[e].inner.attr("class")&&(_dwSliders.sliders[e].inner=t,_dwSliders.slide(e,0))}}),_dwLazy=($(document).ready(function(){$(".slider").each(_dwSliders.init)}),_dwEvents.addResize(_dwSliders,"resize"),{new:[],ready:[],waiting:0,id:0,refresh:!1,timer:!1,cdn:0,update:function(){var e,t,n,i,s,o=_dwLazy,a=!1;for(o.timer=!1,$("img.lazy").each(function(){var e;$(this)[0].complete?(e=$(this).attr("id")||"lazy-"+("0"+$(this).attr("data-lazy")).slice(-2)+"-"+("00000"+o.id++).slice(-6),$(this).removeClass("lazy").attr("data-lazy",null).attr("id",e),o.cdn||(o.cdn=-1!==document.location.href.indexOf("print-to-pdf")?2:1),2===o.cdn&&$(this).attr("data-src",$(this).attr("data-src").replace(/cdn\./,"www.")),o.new.push("#"+e)):o.timer||(o.timer=setTimeout(o.update,200))}),n="#lazy-"+_dwEvents.size+"-",e=0;e<o.new.length;
1e++)$(o.new[e]).length?!$(o.new[e]).is(":visible")&&0!==o.new[e].indexOf(n)||(t=o.new.splice(e,1),e--,o.ready.push([t[0],$(t[0]).offset().top]),o.ready.sort()):(o.new.splice(e,1),e--);for(e=0;e<o.ready.length&&!(o.ready[e][1]<_dwEvents.scrollToLazy&&(t=o.ready.splice(e,1),e--,(s=$(t[0][0])).length)&&(i="data-src",s.on("load",o.loaded).attr("src",s.attr(i)).attr(i,null),a||s.offset().top===t[0][1]||(a=!0),o.refresh=!0,30<o.waiting++));e++);if(a)for(e=0;e<o.ready.length;e++)(s=$(o.ready[e][0])).length&&(o.ready[e][1]=s.offset().top)},loaded:function(){var e=_dwLazy;e.waiting--<=10&&e.refresh&&(e.refresh=!1,e.timer||(e.timer=setTimeout(e.update,200)))}}),_mobileSearch=(_dwEvents.addResize(_dwLazy,"update"),_dwEvents.addScroll(_dwLazy,"update"),$(document).ready(function(){var t="",s=!1;function n(e,t){var n,i;s||(n=$(t).attr("href"),t=$(t).text().toLowerCase().replace(/[^a-z0-9]+/g,"-"),(i=n.match(/\/([0-9]+)-/))&&i[1]&&(n=i[1]),_eventTracker.send("navigate",{source:e,responsive:_dwEvents.size,url:n,text:t}),s=!0)}$(".navbar-header a").on("click",function(){n("logo",this)}),$("#sticky-footer a").on("click",function(){n("footer",this)}),$("#header-banner a").on("click",function(){n("banner",this)}),$(".home-present-links a").on("click",function(){n("now",this)}),$("#main-nav").on("show.bs.collapse",function(){_mobileSearch.update("menu",!0)}).on("hidden.bs.collapse",function(){_mobileSearch.update("menu",!1)}),$("#main-nav a").on("click",function(){if($(this).parent().find("li").length)return!0;n("menu",this)}),$("li.dropdown").on("hide.bs.dropdown",function(e){if($(this).attr("id")===t){if(e.relatedTarget)return n("menu",e.relatedTarget),document.location.href=$(e.relatedTarget).attr("href"),!1}else $(this).removeClass("add-close")}).on("click",function(){"from-span"===t||$(this).hasClass("add-close")||(t=$(this).attr("id"),$(this).addClass("add-close")),"from-span"===t&&(t="")}),$("li.dropdown span.close").on("click",function(){$(this).parent().parent().removeClass("add-close"),t="from-span"}),_dwEvents.addScroll({small:!1,onScroll:function(){0<_dwEvents.scrollTop?this.small||(this.small=!0,$("body").addClass("s-menu")):this.small&&(this.small=!1,$("body").removeClass("s-menu"))}},"onScroll",!0)}),{menu:!1,search:!1,toggle:function(){this.search?($("#mobile-search").slideUp(),this.update("search",!1)):($("#mobile-search").slideDown(),$("#mobile-search input").first().trigger("focus"),this.update("search",!0))},update:function(e,t){"search"===e?(this.search=t)&&this.menu&&$("#main-nav").collapse("hide"):"menu"===e&&(this.menu=t)&&this.search&&this.toggle(),this.search||this.menu?($("body").addClass("mobile-fixed"),$("#habillage").css({overflow:"hidden",height:Math.max($("#main-nav").height(),$(window).height()-$("#main-nav").height())})):($("body").removeClass("mobile-fixed"),$("#habillage").css({overflow:"auto",height:"auto"}))}}),_fakeSlider={init:function(e,t,n){e=$(e),n=n||0;var t=Math.floor((e.closest("table").parent().width()-60)/t),i=e.find("td, th").length-2;e.attr("data-slice",t).attr("data-start",Math.max(0,Math.min(n,i-t))).attr("data-count",i),this.move(e.find("a"),0)},move:function(e,t){var e=$(e).closest("tr"),n=parseInt(e.attr("data-slice")),i=parseInt(e.attr("data-start")),s=parseInt(e.attr("data-count")),o=0;return t<0&&(i=Math.max(0,i-n)),0<t&&(i=Math.max(0,Math.min(s-n,i+n))),e.attr("data-start",i),e.find("td").each(function(){$(this).hasClass("arrow")?$(this).css("visibility",s<=n||0===o&&0===i||0<o&&i===s-n?"hidden":"visible"):(i<=o&&o<i+n?$(this).show():$(this).hide(),o++)}),!1}};function truncateCarousel(e){_dwLazy.update();e=$(e).find(".carousel-inner div.active .carousel-caption span").first();e.attr("data-html")||e.attr("data-html",e.html()),e.hasClass("truncated")||(e.html(e.attr("data-html")),e.truncate({multiline:!0}),e.addClass("truncated"))}!function(c){function u(e,t,n,i,s,o,a,r){function l(e){o.text(e),o[r?"prepend":"append"](a)}var d,c=r?(d=0===i?"":n.slice(-i),n.slice(-s)):(d=n.slice(0,i),n.slice(0,s));return t<o.html(a)[e]()?0:(l(c),c=o[e](),l(d),c<o[e]()?s:(c=parseInt((i+s)/2,10),l(d=r?n.slice(-c):n.slice(0,c)),o[e]()===t?c:(o[e]()>t?s=c-1:i=c+1,u(e,t,n,i,s,o,a,r))))}c.fn.truncate=function(o){o&&o.center&&!o.side&&(o.side="center",delete o.center),o&&!/^(left|right|center)$/.test(o.side)&&delete o.side;var a,r,l,d;return(o=c.extend({width:"auto",token:"…",side:"right",addclass:!1,addtitle:!1,multiline:!1,assumeSameStyle:!1},o)).assumeSameStyle&&(r=c(this[0]),a={fontFamily:r.css("fontFamily"),fontSize:r.css("fontSize"),fontStyle:r.css("fontStyle"),fontWeight:r.css("fontWeight"),"font-variant":r.css("font-variant"),"text-indent":r.css("text-indent"),"line-height":r.css("line-height"),"text-transform":r.css("text-transform"),"letter-spacing":r.css("letter-spacing"),"word-spacing":r.css("word-spacing"),display:"none"},l=c("<span/>").css(a).appendTo("body")),this.each(function(){r=c(this),d=r.text(),o.assumeSameStyle?l.text(d):(a={fontFamily:r.css("fontFamily"),fontSize:r.css("fontSize"),fontStyle:r.css("fontStyle"),fontWeight:r.css("fontWeight"),"font-variant":r.css("font-variant"),"text-indent":r.css("text-indent"),"line-height":r.css("line-height"),"text-transform":r.css("text-transform"),"letter-spacing":r.css("letter-spacing"),"word-spacing":r.css("word-spacing"),display:"none"},l=c("<span/>").css(a).text(d).appendTo("body"));var e,t,n=l.width(),i=parseInt(o.width,10)||r.width(),s="width",n=o.multiline?(l.width(r.width()),s="height",t=l.height(),r.height()+1):(t=n,i),i={before:"",after:""};n<t&&(l.text(""),"left"===o.side?(e=u(s,n,d,0,d.length,l,o.token,!0),i.after=d.slice(-1*e)):"center"===o.side?(e=u(s,n=parseInt(n/2,10)-1,d,0,d.length,l,o.token,!1),t=u(s,n,d,0,d.length,l,"",!0),i.before=d.slice(0,e),i.after=d.slice(-1*t)):"right"===o.side&&(e=u(s,n,d,0,d.length,l,o.token,!1),i.before=d.slice(0,e)),o.addclass&&r.addClass(o.addclass),o.addtitle&&r.attr("title",d),i.before=l.text(i.before).html(),i.after=l.text(i.after).html(),r.empty().html(i.before+o.token+i.after)),o.assumeSameStyle||l.remove()})}}(jQuery),$(document).ready(function(){if(_x_.c.push(function(){_x_.consents.add(function(){$(".carousel").carousel("cycle")})}),$(".carousel .carousel-caption").length&&($(".carousel").on("slid.bs.carousel",function(){truncateCarousel(this)}),truncateCarousel($(".carousel").first()),$(window).on("resize",function(){$(".carousel .carousel-caption span").removeClass("truncated")})),$(".carousel").length){$(".carousel").on("slide.bs.carousel",function(){setTimeout(_dwLazy.update,100)}).on("slid.bs.carousel",_dwLazy.update).on("swipeleft",function(){$(this).carousel("next")}).on("swiperight",function(){$(this).carousel("prev")}).on("selectstart",function(){return!1});var e=0,t=["xs","sm","md","lg","carousel"],n="xs"===_dwEvents.size?"100%":"95%",i=JSON.parse(_defaultCBox);for(i.maxWidth=n,i.maxHeight=n;e<t.length;e++)i.rel="cb-"+t[e],$(".colorbox-"+t[e]).colorbox(i)}});var _dataCounter={hits:{},timer:0,queue:[],match:"",location:"",init:function(){var e=_dataCounter,t=(document.referrer||"-").replace(/https?:../,"");e.match=t.match(/(articles|guides)\/(\d+)-/)||[0,0,0],e.location=t.split("/")},handle:function(e,t){var n=_dataCounter,i=parseInt(e[0]||0),s=parseInt(e[1]||0),o=parseInt(e[2]||0),e=parseInt(e[3]||0);if(i&&o){if(!t){if(n.hits["_"+o])return;n.hits["_"+o]=!0}n.location||n.init(),10===i&&(t=document.location.hash,n.match[2]?(s=parseInt(n.match[2]),i=11,-1!==t.indexOf("native")&&(i=16)):i=-1!==t.indexOf("hcarousel")?12:-1!==t.indexOf("ccarousel")?13:-1!==t.indexOf("search")?17:n.location[0]===document.location.hostname?""===n.location[1]?14:3===n.location.length?15:18:19),n.queue.push(""+s+i+"|"+o+"-"+e),n.timer||(n.timer=setTimeout(n.sendQueue,3e3))}},sendQueue:function(){var e=_dataCounter;(new Image).src="https://cnt.sortir.com/counter.campaigns?"+e.queue.join("|"),e.queue=[],e.timer=0},track:function(n){var i=_dataCounter;
1$(n.selector).each(function(){var e=$(this).attr("href")||"",t=e.indexOf(n.domain+"/");0===e.indexOf("http")&&(-1===t||20<t)&&$(this).attr("target","_blank").attr("data-ctrack",($(this).closest("#practical-info").length?82:81)+"|"+n.article+"|"+n.article+"|"+n.language).on("click",i.pushTrack)})},pushTrack:function(e){var e=$(e.currentTarget),t=(e.attr("data-ctrack")||"").split("|")||[];4===t.length&&(_dataCounter.handle(t,!0),e.attr("data-ctrack",""))}},_recaptcha=($(document).ready(function(){$("a[data-counter]").each(function(){_dataCounter.handle($(this).attr("data-counter").split(":"))})}),{key:"6Ld-BZQmAAAAAEmMfhl_IhOfZqp-h95yXMxP7v9Z",script:"https://www.google.com/recaptcha/api.js?",api:!1,ready:!1,buttons:[],init:function(e){var t=_recaptcha,e=$(e).closest("form").first(),n=e.attr("id");if(!n||e.attr("data-recaptcha"))return!0;e.attr("data-recaptcha",1),t.api||(t.api=!0,addAsync(t.script+"render=explicit&onload=_rcEnable")),t.buttons.push({form:e,id:n}),t.enable(!0)},enable:function(e){var t,n=_recaptcha;return e||(n.ready=!0),!!n.ready&&!!(t=n.buttons.pop())&&(t.form.find("button").prop("disabled","").attr("id",t.id+"Button"),void grecaptcha.render(t.id+"Button",{action:t.id,sitekey:n.key,callback:function(){t.form.submit()}}))}}),_rcEnable=_recaptcha.enable,_progress=(!function(){var e,t,n=(document&&document.documentElement?document.documentElement.clientWidth:0)||window.innerWidth||screen.width;375<=n||(e=document.getElementsByTagName("head")[0].querySelector("meta[name=viewport]")||!1)&&(t=(e.getAttribute("content")||"").replace(/[, ]*initial-scale=[0-9.]*/,""),e.setAttribute("content",t+", initial-scale="+(n/375).toFixed(8)))}(),{text:!1,visible:!1,element:!1,quarters:[],percent:-1,fixed:!1,init:function(e){var t=_progress,n=document.location.pathname.split("/");if(t.text=$(e).first(),!t.text.length)return!1;n.pop(),n.pop(),t.element=$('<div class="progress-bar"><div><div class="q"></div><div class="q"></div><div class="q"></div><div class="q"></div><div class="c"></div><a href="'+n.join("/")+'" onclick="_progress.close();">â</a></div></div>'),$("body").append(t.element),t.element.find("div.q").each(function(){var e=90*t.quarters.length;t.quarters.push({r:e,R:90+e,c:"rotate("+(e-90)+"deg) skew(SKEWdeg)",l:-1,q:$(this)})}),_dwEvents.addScroll(t,"scroll")},scroll:function(){var e,t,n,i,s,o,a,r=_progress,l=0;if("xs"!==_dwEvents.size||!r.element)return r.hide();if("fixed"===$("#header-menu").css("position")?r.fixed||(r.fixed=!0,r.element.addClass("fixed")):r.fixed&&(r.fixed=!1,r.element.removeClass("fixed")),(s=$(window).scrollTop())<(o=r.text.offset().top))return r.hide();if(a=o+r.text.height()-$(window).height(),l=Math.min(100,Math.ceil((s-o)/(a-o)*100)),r.percent===l)return!0;for(5<Math.abs(r.percent-l)&&(l=r.percent+(0<r.percent-l?-5:5),setTimeout(r.scroll,50)),e=360*(r.percent=l)/100,n=0;n<4;n++)e<=(i=r.quarters[n]).R?(t=90,e>=i.r&&(t+=i.r-e)):t=0,i.l!==t&&(i.l=t,i.q.css("transform",i.c.replace(/SKEW/,t)));r.visible||(r.element.show(),r.visible=!0)},hide:function(){var e=_progress;return e.visible&&(e.visible=!1),e.element&&e.element.hide(),!0},close:function(){return trackReaders.sendTracker("close"),!(_progress.element=!1)}}),_countdown={elements:[],delay:1e4,init:function(){var t=_countdown;
1$("div[data-countdown]").each(function(){var e=$(this).attr("data-text")||"";e&&(-1!==e.indexOf("[")?(t.elements.push({element:$(this),text:e,timestamp:parseInt($(this).attr("data-countdown"))}),-1!==e.indexOf("[seconds]")&&(t.delay=1e3)):$(this).text(e))}),t.elements.length&&t.run()},run:function(){for(var e,t,n=_countdown,i=0,s="",o=Math.ceil((new Date).getTime()/1e3),a=0;i<n.elements.length;i++)s=(e=n.elements[i]).text,a=((a=Math.max(0,e.timestamp-o))-(t=a%60))/60,s=(s=s.replace("[seconds]",t)).replace("[minutes]",t=a%60),a=((a=(a-t)/60)-(t=a%24))/24,s=(s=s.replace("[hours]",t)).replace("[days]",a),e.element.text(s);setTimeout(n.run,n.delay)}};function addAsync(e,t){var n=document.createElement("script"),i=document.getElementsByTagName("head")[0];n.type="text/javascript",0===e.indexOf("//")&&(e="https:"+e),n.src=e,n.async=!0,t&&t.onload&&(n.onload=t.onload),i.appendChild(n)}function createCookie(e,t,n,i,s){var o="",a=new Date;n&&0!==n&&(n<0?a.setTime(0):a.setTime(a.getTime()+Math.ceil(86400*n*1e3)),o="; expires="+a.toGMTString()),i=i||"/",""!==(s=s||"")&&(s="; domain="+s),document.cookie=e+"="+encodeURIComponent(t)+o+"; path="+i+s}function readCookie(e){var t,n=e+"=",i=document.cookie.split(";");for(t in i)if(i[t]&&"string"==typeof i[t]&&(i[t]=i[t].replace(/^ +/,""),0===i[t].indexOf(n)))return decodeURIComponent(i[t].substring(n.length,i[t].length));return null}function eraseCookie(e,t,n){createCookie(e,"",-1,t,n)}var _defaultCBox=JSON.stringify({maxWidth:"95%",maxHeight:"95%",opacity:.7,current:"Image {current} of {total}",previous:"Previous",next:"Next",close:"Close"}),_cstCB={ready:!1,f:[],add:function(e){var t=_cstCB;t.f.push(e),t.ready&&t.run()},run:function(){var e,t=_cstCB;for(t.ready=!0;t.f.length;)"string"==typeof(e=t.f.shift())?addAsync(e):e()}},WonderPush=[];function gtag(){dataLayer.push(arguments)}window.dataLayer=window.dataLayer||[];var _eventTracker={send:function(t,n){return _cstCB.add(function(){if(void 0!==n.url){var e=n.url.match(/^https?:\/\/([^/]+)(\/[^?]+)(\?.*)?/);if(e&&e[1])switch(e[1]){case"www.fnacspectacles.com":n.url="fnac:"+e[2];break;case document.location.hostname:n.url=e[2]}}gtag("event",t,n)}),!0}},translationHandler=(_ga&&_ga[0]&&_cstCB.add(function(){var e=_x_.b?"adblock":"adultcontent"===_x_.target?"noads":"ads";addAsync("https://www.googletagmanager.com/gtag/js?id="+_ga[0]),addAsync("https://www.googletagmanager.com/gtag/js?id="+_ga[1]),gtag("js",new Date),gtag("config",_ga[0],{content_group:e}),gtag("config",_ga[1],{content_group:e}),3<=_ga.length&&0===_ga[2].indexOf("https")&&(window.gtmLayer=[{"gtm.start":(new Date).getTime(),event:"gtm.js"}],addAsync(_ga[2]+"&l=gtmLayer")),"paris"===_domKeyword&&(addAsync("https://cdn.by.wonderpush.com/sdk/1.1/wonderpush-loader.min.js"),WonderPush.push(["init",{webKey:"b1a5d029d4dec0709e46168dc67ebaf359f0f4c48ed6bec7cb62e5a1701706eb",optInOptions:{externalBoxMessage:"Nous aimerions vous envoyer des notifications",externalBoxExampleTitle:"Notification exemple",externalBoxExampleMessage:"Ceci est un exemple de notification",externalBoxDisclaimer:"Vous pouvez vous désinscrire à n'importe quel moment.",externalBoxProcessingMessage:"Inscription en cours...",externalBoxSuccessMessage:"Merci de vous être inscrit !",externalBoxFailureMessage:"Désolé, un problème est survenu.",externalBoxTooLongHint:"Mauvaise connexion ou navigation privée ?",externalBoxCloseHint:"Fermer",modalBoxMessage:"Recevez désormais nos news en temps réel.<br/>Vous pouvez vous désinscrire à n'importe quel moment.",modalBoxButton:"J'ai compris !"},plugins:{geojs:{}}}]))}),{months:["","January","February","March","April","May","June","July","August","September","October","November","December"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],ranges:{from:"from",to:"to",fromHour:"from",toHour:"to",startingHour:"starting from"},getMonth:function(e){return e=parseInt(e),this.months[e]},getDay:function(e,t){return e=parseInt(e),(t=t||!1)?this.days[e].substring(0,2):this.days[e]},getRange:function(e){return this.ranges[e]}}),_agenda={title:"",dates:"",url:"",today:{},init:function(e,t,n,i,s,o){this.title=e,this.dates=t,this.url=n,this.today=[parseInt(i),parseInt(s),parseInt(o)],this.redraw(parseInt(i),parseInt(s))},getDayCell:function(e,t,n){return n?"<td"+(e===this.today[0]&&t===this.today[1]&&n===this.today[2]?' class="active"':"")+'><a href="'+this.url.replace(/YEAR/g,e).replace(/MONTH/g,("0"+t).slice(-2)).replace(/DAY/g,("0"+n).slice(-2))+'">'+n+"</a></td>":"<td> </td>"},redraw:function(e,t){var n,i=translationHandler,s=(t<1&&(e--,t+=12),12<t&&(e++,t-=12),$("#"+this.title).html('<a href="#" onclick="return _agenda.redraw('+e+", "+(t-1)+');"><<</a> '+i.getMonth(t)+" "+e+' <a href="#" onclick="return _agenda.redraw('+e+", "+(t+1)+');">>></a>'),"en"===_language?0:1),o="<table>";o+="<tr>";for(var a=0;a<7;a++)7<=(n=s+a)&&(n-=7),o+="<th>"+i.getDay(n,!0).substring(0,1)+("vi"===_language?0===n?"N":n+1:"")+"</th>";o+="</tr>";for(var r,l=new Date(e+"-"+("0"+t).slice(-2)+"-01"),d=[];l&&l.getDay()!==s;)d.push(this.getDayCell(e,t,l.getDate())),l.setDate(l.getDate()+1);if(0<d.length)for(;d.length<7;)d.unshift(this.getDayCell(e,t,0));for(o+="<tr>"+d.join("")+"</tr>";;){for(d=[],r=1,a=0;a<7;a++)0!==r?(r=l.getDate(),d.push(this.getDayCell(e,t,l.getDate()))):d.push(this.getDayCell(0,0,0)),0!==r&&(l.setDate(l.getDate()+1),l.getMonth()!==t-1)&&(r=0);if(o+="<tr>"+d.join("")+"</tr>",0===r)break}return o+="</table>",$("#"+this.dates).html(o),!1}},handleFormTimeout=0;function handleForm(i,s){return s=s||!1,$(i).children("div.form-message").first().hide(),$.ajax({type:$(i).attr("method").toUpperCase(),url:$(i).attr("action"),data:$(i).serialize(),dataType:"json",success:function(e){var t=$(i).find("div.form-message").first(),n=e.result.resize||!1;t.html(e.message).removeClass("alert-info").removeClass("alert-warning").addClass("alert-"+("ok"===e.success?"info":"warning")).show(),n&&"colorbox"===n&&$.colorbox.resize(),handleFormTimeout&&clearTimeout(handleFormTimeout),handleFormTimeout=setTimeout(function(){t.hide()},8e3),s&&s()}}),!1}var _loginHandler={isLogged:function(){return-1!==document.cookie.indexOf("sapprodU=")},test:function(){if(!this.isLogged())return!1;var e=["ajax","test-login"];(0<=document.location.href.indexOf("www.sortiraparis.com")||0<=document.location.href.indexOf(".sortir.com"))&&"fr"!==_language&&e.unshift(_language),e.unshift(""),$.ajax({type:"GET",url:e.join("/"),dataType:"html",success:function(e){-1!==e.indexOf("<")&&$(".login-data").html(e)}})},login:function(e){var t=e.href,n=$(e).attr("data-target")||document.location.pathname+document.location.search;return this.isLogged()?t=n:(-1===t.indexOf("?")?t+="?":t+="&",t+="target="+encodeURIComponent(n)),e.href=t,!0}},_mapHandler={parameters:{},keyword:"",init:function(e){var t=this.parameters[e.keyword]=e;$("#"+t.id).css("height",Math.max(0===(t.height+"").indexOf("#")?$(t.height).height():t.height,100)+"px"),"google"===t.type?(1<t.markers.length&&(t.js=!0),$("#"+t.id+" a").on("click",function(){return _eventTracker.send("map",{action:"clicked",responsive:_dwEvents.size}),_mapHandler.show(e.keyword),!1})):t.show(e.keyword)},show:function(e){var t=_mapHandler,n=t.parameters[e],i=$("#"+n.id),s="";t.keyword=e,s="google"===n.type?n.js?"https://maps.googleapis.com/ma
1ps/api/js?key=AIzaSyAJEacgEgSJIGP_kyjopBbis01feBUkwgg&loading=async&libraries=marker&callback=_mapHandler.callback":"https://www.google.com/maps/embed/v1/place?key=AIzaSyC127wKAqCdgUP8yat5GUTYA5H6LM46Tug&q="+t.getCenter(n,-1,"flat")+"&zoom="+n.zoom:"https://beta.vizity.io/map/"+parseInt(n.type)+"/embed",n.js?(i.html(""),addAsync(s)):i.html("").append('<iframe src="'+s+'" width="'+i.width()+'" height="'+i.height()+'" frameborder="0" allowfullscreen allow="geolocation"></iframe>')},getCenter:function(e,t,n){for(var i,s=0,o=0,a=0,r={min:-1,max:-1,zoom:14},l=0;l<e.markers.length;l++)(t<0||l===t)&&(s+=i=e.markers[l].l,o+=e.markers[l].L,"zoom"===n&&(r.min<0?(r.min=i,r.max=i):(r.min=Math.min(r.min,i),r.max=Math.max(r.max,i))),a++);return 1<a&&(s/=a,o/=a),"flat"===n?s+","+o:"zoom"===n?(r.zoom=Math.max(10,r.zoom-Math.floor(37*(r.max-r.min)*2)),{mapId:"sapMap",center:{lat:s,lng:o},zoom:r.zoom}):{mapId:"sapMap",lat:s,lng:o}},callback:function(){for(var e,t,n=_mapHandler,i=n.parameters[n.keyword],s=0,o=new google.maps.Map(document.getElementById(i.id),n.getCenter(i,-1,"zoom"));s<i.markers.length;s++)e=i.markers[s],(t=new google.maps.marker.AdvancedMarkerElement({map:o,position:n.getCenter(i,s),title:e.U||e.u}))._infowindow=new google.maps.InfoWindow({content:"<div>"+e.t+(e.u?'<br/><a href="'+e.u+'" target="_blank">'+(e.U||e.u)+"</a>":"")+"</div>"}),t.addListener("gmp-click",n.showWindow)},showWindow:function(){this._infowindow&&this._infowindow.open({anchor:this,map:this.map,shouldFocus:!1})}},_agendaHandler={dates:[],html:[],index:0,visible:!1,init:function(e){for(var t,n=0,i=-1,s=new Date,o=100*s.getFullYear()+s.getMonth()+1,a=0,r=!1;a<e.length;a++)(t=100*e[a].year+e[a].month)!==n&&(this.dates[++i]=[],o<=t)&&!r&&(this.index=i,r=!0),n=t,this.dates[i].push(e[a]);r||(this.index=i)},toggle:function(e){if(!(e=e||"")&&this.visible)this.visible=!1,$("#agenda-tooltip").hide();else{if("previous"===e&&this.hasPrevious()&&this.index--,"next"===e&&this.hasNext()&&this.index++,this.visible=!0,!this.html[this.index]){var t,n,i,s=this.dates[this.index];for(this.html[this.index]="",n=0;n<s.length;n++){for(t=new Date(s[n].month+"/"+s[n].day+"/"+s[n].year).getDay(),this.html[this.index]+='<li><span class="'+(0===t||6===t?"weekend":"week")+(s[n].hours.length?" double":"")+'">'+translationHandler.getDay(t)+" "+s[n].day+"</span>",i=0;i<s[n].hours.length;i++)s[n].hours[i].end?this.html[this.index]+='<span class="double">'+translationHandler.getRange("fromHour")+" "+s[n].hours[i].start+" "+translationHandler.getRange("toHour")+" "+s[n].hours[i].end+"</span>":this.html[this.index]+='<span class="double">'+translationHandler.getRange("startingHour")+" "+s[n].hours[i].start+"</span>";this.html[this.index]+="</li>"}}$("#agenda-dates").html(this.html[this.index]),$("#agenda-tooltip .date").html(translationHandler.getMonth(this.dates[this.index][0].month)+" "+this.dates[this.index][0].year),this.hasPrevious()?$("#agenda-tooltip .previous").show():$("#agenda-tooltip .previous").hide(),this.hasNext()?$("#agenda-tooltip .next").show():$("#agenda-tooltip .next").hide(),$("#agenda-tooltip").show()}return!1},hasNext:function(){return this.dates.length-1>this.index},hasPrevious:function(){return 0<this.index}},_messages={show:function(){var e=readCookie("sapprodUM"),t=JSON.parse(_defaultCBox);e&&(t.width="500px",t.height="50px",t.html='<div class="text-center">'+e+"</div>",$.colorbox(t),createCookie("sapprodUM","",0,"/",".sortiraparis.com"))}},_calendar={select:function(e){return $(".category-calendar .slider").hide(),$(".category-calendar .header a").removeClass("selected"),$("#category-header-"+e).addClass("selected"),$("#calendar-"+e).show().each(_dwSliders.init),_dwLazy.update(),!1}},trackReaders={start:!1,end:!1,timeout:!1,trackers:{loaded:!1,reading:!1,read:!1},init:function(e,t){this.start=$("#"+e),this.end=$("#"+t),this.sendTracker("loaded"),$(window).on("scroll",function(){trackReaders.timeout&&clearTimeout(trackReaders.timeout),setTimeout(trackReaders.check,200)})},check:function(){var e=trackReaders.start.offset().top,t=trackReaders.end.offset().top,n=$(window).height()+$(window).scrollTop();e<n&&trackReaders.sendTracker("reading"),t<n&&trackReaders.sendTracker("read")},sendTracker:function(e){if(!trackReaders.trackers[e]){_eventTracker.send("article",{progress:e});var t,n=!1;for(t in trackReaders.trackers)trackReaders.trackers[t]||(n=!0);n||clearTimeout(trackReaders.timeout)}trackReaders.trackers[e]=!0}},trackMenus={trackers:{},sendTracker:function(e){trackMenus.trackers[e]||_eventTracker.send("menu",{url:e}),trackMenus.trackers[e]=!0}},_cinemaHandler={texts:{},distance:5,entry:{},zip:0,location:"",lat:0,lon:0,geo:!1,init:function(e){var t=_cinemaHandler;t.texts=e,$('div.theater input[name="zip"]').autocomplete({serviceUrl:["","ajax","autocomplete"].join("/")+"?field=zip",triggerSelectOnValidInput:!1,onSelect:function(e){t.lat=e.data.lat,t.lon=e.data.lon,t.zip=e.data.zip,t.location=e.data.name,t.entry=t.get($(this)),t.update(
1)}})},get:function(e){return{element:e=$(e).closest(".movie"),movie:parseInt(e.attr("data-movie")||0),theater:parseInt(e.attr("data-theater")||0)}},set:function(e){var t=_cinemaHandler;return t.entry=t.get(e),t.update(),!1},update:function(){var f=_cinemaHandler;return f.entry.movie&&$.ajax({type:"GET",url:["","ajax","theater"].join("/"),data:{distance:f.distance,zip:f.zip,lat:f.lat,lon:f.lon,movie:f.entry.movie,theater:f.entry.theater},dataType:"json",success:function(e){var t,n,i,s,o,a,r=f.entry.theater?"theater":"movie",l=e.result&&e.result.showtimes||{},d=e.result&&e.result.cinemas||{},c="",e=f.entry.element.find(".results"),u=$("<table/>").append("<tr>"),h=u.find("tr").first(),p=$('<div class="showtimes"/>');for(i in e.find("em, div, table").remove(),h.append('<td class="arrow"><a href="#" onclick="return _fakeSlider.move(this, -1);"><</a></td>'),l)if(c=c||i,t=new Date(i),n=translationHandler.getDay(t.getDay(),!0)+"<br/>"+t.getDate()+"<br/>"+translationHandler.getMonth(t.getMonth()+1).substring(0,3),"movie"==r)for(s in h.append('<td class="showdate-'+i+'"><a href="#" onclick="return _cinemaHandler.select(this, \''+i+"');\">"+n+"</a></td>"),l[i]){for(o in a=$('<div class="showdate-'+i+'">').append('<span class="distance">'+d[s].d+' km</span><span class="cinema">'+d[s].n+'</span><br/><span class="address">'+d[s].a+", "+d[s].c+"</span><br/>"),l[i][s])a.append('<span class="hours">'+l[i][s][o].h+" "+l[i][s][o].v+"</span>");p.append(a)}else{for(s in l[i])for(o in l[i][s])n+='<br/><span class="hours">'+l[i][s][o].h+" "+l[i][s][o].v+"</span>";h.append('<td class="showdate-'+i+'"><div>'+n+"</div></td>")}return h.append('<td class="arrow"><a href="#" onclick="return _fakeSlider.move(this, 1);">></a></td>'),h.children("td").length<=2?(e.html("<em>"+f.texts.noresults+"</em>").removeClass("hidden"),!1):(e.find(".showtimes div").hide(),e.append(u).append(p).removeClass("hidden").show(),"movie"==r?(e.append('<em><a href="#" onclick="_cinemaHandler.distance += 5;
1 return _cinemaHandler.update();">'+f.texts.enlarge.replace("__D__",f.distance+5)+"</a></em>"),_fakeSlider.init(h,50)):_fakeSlider.init(h,120),_cinemaHandler.select(f.entry.element,c))}}),!1},select:function(e,t){var n=_cinemaHandler;return n.entry=n.get(e),(e=n.entry.element).find(".showtimes div").hide(),e.find(".showtimes div.showdate-"+t).show(),e.find("td").removeClass("selected"),e.find("td.showdate-"+t).addClass("selected"),!1},locate:function(e){return this.entry=this.get(e),!this.geo&&navigator.geolocation?navigator.geolocation.getCurrentPosition(this.setPosition,this.update):this.update(),!1},setPosition:function(e){var t=_cinemaHandler;t.lat=e.coords.latitude,t.lon=e.coords.longitude,t.geo=!0,t.update()},submit:function(e){var t=_cinemaHandler;return t.entry=t.get(e),t.update(),!1},hide:function(e){return $(e).parent().hide(),!1}},_feed={types:{live:!0,hits:!0,donors:!0},load:function(){var e=["ajax","feed"];(0<=document.location.href.indexOf("www.sortiraparis.com")||0<=document.location.href.indexOf(".sortir.com"))&&"fr"!==_language&&e.unshift(_language),e.unshift(""),$.ajax({type:"GET",url:e.join("/"),success:function(e){var t,n,i,s,o,a,r,l=_feed,d=$("#current-feed").attr("data-more").replace(/'/g,'"'),c=$("#current-feed").attr("data-know").replace(/'/g,'"'),u="",h=$("#current-feed").attr("data-day").replace(/'/g,'"'),p="",f="";for(r in l.types)if(t=e&&e.result&&e.result[r]||[],i=[],(s=$("#current-feed div."+r)).length){for(a="",o=s.attr("data-format").replace(/'/g,'"'),u="donors"===r?c:"live"===r?d:"",n=0;n<t.length;n++)t[n].day&&p!==t[n].day&&(p=t[n].day,i.push(h.replace("HIDDEN",a).replace("DAY",p))),i.push(o.replace("HIDDEN",a).replace("HOUR",t[n].hour).replace("URL",t[n].url).replace("TITLE",t[n].title)),4===n&&-1!==u.indexOf("<a")&&(a="hidden",i.push(u.replace(/<a([^>]+)>/,'<a class="button"$1><span><span> </span></span>')));i.length?(f=f||r,s.html(i.join(""))):$("#current-feed a."+r).remove()}else $("#current-feed a."+r).remove();l.select(f)}})},select:function(e){var t=_feed;if(e){for(var n in t.types)$("#current-feed div."+n).hide(),$("#current-feed a."+n).removeClass("selected");$("#current-feed").removeClass("hidden"),$("#current-feed div."+e).show(),$("#current-feed a."+e).addClass("selected")}return!1},more:function(e){return(e=$(e).closest("div")).parent().find(".hidden").removeClass("hidden"),e.remove(),!1}},_popover={show:function(e,t){var n=_popover,i=JSON.parse(_defaultCBox),s={};switch(i.iframe=!0,n.parameters={debug:-1!==document.location.hash.indexOf("debug")},e){case"prim":n.parameters.arrival=t,n.parameters.button="Open in new window",i.width="300px",i.height="100px",i.href="/resources/prim/1756037492.html",s={prim:"arrival"};break;case"acceslibre":n.parameters.key=t.url,i.width="500px",i.height="500px",i.href="/resources/acceslibre/1721656340.html",s={token:t.url}}return i.href&&(s&&_eventTracker.send(e,s),$.colorbox(i)),!1},parameters:{}},_fbPixel={loaded:!1,add:function(e){var t,n=_fbPixel,i=0;if(!e.length)return!1;for(n.loaded||(window.fbq||(t=window.fbq=function(){t.callMethod?t.callMethod.apply(t,arguments):t.queue.push(arguments)},window._fbq||(window._fbq=t),(t.push=t).loaded=!0,t.version="2.0",t.queue=[]),addAsync("//connect.facebook.net/en_US/fbevents.js"),n.loaded=!0);i<e.length;i++)window.fbq("init",e[i]),window.fbq("trackSingle",e[i],"PageView")}};$(document).ready(function(){$(".colorbox").colorbox(JSON.parse(_defaultCBox)),_loginHandler.test(),_cstCB.add(function(){(new Image).src="https://pixel.dugwood.com/online.gif?host=paris",-1!==document.cookie.indexOf("sapprodU=")&&((new Image).src="https://pixel.dugwood.com/online.gif?host=parism")}),-1!==document.cookie.indexOf("BackendUser=1")&&addAsync("/resources/admin-tools/1688377806.js"),_messages.show(),_countdown.init(),$("head").find('link[rel="alternate"]').each(function(){var e=$
1(this).attr("hreflang"),t=$(this).attr("href");e&&t&&$("#header .flag-"+e).attr("href",t)})});
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.