vendor: 6,546 bytes, lines 1-5
1/*! jQuery UI - v1.12.1 - 2017-08-11 2* http://jqueryui.com 3* Includes: keycode.js, widgets/datepicker.js 4* Copyright jQuery Foundation and other contributors; Licensed MIT */ 5!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)}(function(e){function t(){this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId="ui-datepicker-div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-datepicker-append",this._triggerClass="ui-datepicker-trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-datepicker-disabled",this._unselectableClass="ui-datepicker-unselectable",this._currentClass="ui-datepicker-current-day",this._dayOverClass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},e.extend(this._defaults,this.regional[""]),this.regional.en=e.extend(!0,{},this.regional[""]),this.regional["en-US"]=e.extend(!0,{},this.regional.en),this.dpDiv=i(e("<div id='"+this._mainDivId+"' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>"))}function i(t){var i="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return t.on("mouseout",i,function(){e(this).removeClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&e(this).removeClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&e(this).removeClass("ui-datepicker-next-hover")}).on("mouseover",i,n)}function n(){e.datepicker._isDisabledDatepicker(a.inline?a.dpDiv.parent()[0]:a.input[0])||(e(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),e(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&e(this).addClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&e(this).addClass("ui-datepicker-next-hover"))}function s(t,i){for(var n in e.extend(t,i),i)null==i[n]&&(t[n]=i[n]);return t}var a;e.ui=e.ui||{},e.ui.version="1.12.1",e.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},e.extend(e.ui,{datepicker:{version:"1.12.1"}}),e.extend(t.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(e){return s(this._defaults,e||{}),this},_attachDatepicker:function(t,i){var n,s,a;s="div"===(n=t.nodeName.toLowerCase())||"span"===n,t.id||(this.uuid+=1,t.id="dp"+this.uuid),(a=this._newInst(e(t),s)).settings=e.extend({},i||{}),"input"===n?this._connectDatepicker(t,a):s&&this._inlineDatepicker(t,a)},_newInst:function(t,n){return{id:t[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1"),input:t,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:n,dpDiv:n?i(e("<div class='"+this._inlineClass+" ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>")):this.dpDiv}},_connectDatepicker:function(t,i){var n=e(t);i.append=e([]),i.trigger=e([]),n.hasClass(this.markerClassName)||(this._attachments(n,i),n.addClass(this.markerClassName).on("keydown",this._doKeyDown).on("keypress",this._doKeyPress).on("keyup",this._doKeyUp),this._autoSize(i),e.data(t,"datepicker",i),i.settings.disabled&&this._disableDatepicker(t))},_attachments:function(t,i){var n,s,a,r=this._get(i,"appendText"),o=this._get(i,"isRTL");i.append&&i.append.remove(),r&&(i.append=e("<span class='"+this._appendClass+"'>"+r+"</span>"),t[o?"before":"after"](i.append)),t.off("focus",this._showDatepicker),i.trigger&&i.trigger.remove(),("focus"===(n=this._get(i,"showOn"))||"both"===n)&&t.on("focus",this._showDatepicker),("button"===n||"both"===n)&&(s=this._get(i,"buttonText"),a=this._get(i,"buttonImage"),i.trigger=e(this._get(i,"buttonImageOnly")?e("<img/>").addClass(this._triggerClass).attr({src:a,alt:s,title:s}):e("<button type='button'></button>").addClass(this._triggerClass).html(a?e("<img/>").attr({src:a,alt:s,title:s}):s)),t[o?"before":"after"](i.trigger),i.trigger.on("click",function(){return e.datepicker._datepickerShowing&&e.datepicker._lastInput===t[0]?e.datepicker._hideDatepicker():e.datepicker._datepickerShowing&&e.datepicker._lastInput!==t[0]?(e.datepicker._hideDatepicker(),e.datepicker._showDatepicker(t[0])):e.datepicker._showDatepicker(t[0]),!1}))},_autoSize:function(e){if(this._get(e,"autoSize")&&!e.inline){var t,i,n,s,a=new Date(2009,11,20),r=this._get(e,"dateFormat");r.match(/[DM]/)&&(t=function(e){for(i=0,n=0,s=0;e.length>s;s++)e[s].length>i&&(i=e[s].length,n=s);return n},a.setMonth(t(this._get(e,r.match(/MM/)?"monthNames":"monthNamesShort"))),a.setDate(t(this._get(e,r.match(/DD/)?"dayNames":"dayNamesShort"))+20-a.getDay())),e.input.attr("size",this._formatDate(e,a).length)}},_inlineDatepicker:function(t,i){var n=e(t);n.hasClass(this.markerClassName)||(n.addClass(this.markerClassName).append(i.dpDiv),e.data(t,"datepicker",i),this._setDate(i,this._getDefaultDate(i),!0),this._updateDatepicker(i),this._updateAlternate(i),i.settings.disabled&&this._disableDatepicker(t),i.dpDiv.css("display","block"))},_dialogDatepicker:function(t,i,n,a,r){var o,l,d,c,h,u=this._dialogInst;return u||(this.uuid+=1,o="dp"+this.uuid,this._dialogInput=e("<input type='text' id='"+o+"' style='position: absolute; top: -100px; width: 0px;'/>
5"),this._dialogInput.on("keydown",this._doKeyDown),e("body").append(this._dialogInput),(u=this._dialogInst=this._newInst(this._dialogInput,!1)).settings={},e.data(this._dialogInput[0],"datepicker",u)),s(u.settings,a||{}),i=i&&i.constructor===Date?this._formatDate(u,i):i,this._dialogInput.val(i),this._pos=r?r.length?r:[r.pageX,r.pageY]:null,this._pos||(l=document.documentElement.clientWidth,d=document.documentElement.clientHeight,c=document.documentElement.scrollLeft||document.body.scrollLeft,h=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[l/2-100+c,d/2-150+h]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),u.settings.onSelect=n,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),e.blockUI&&e.blockUI(this.dpDiv),e.data(this._dialogInput[0],"datepicker",u),this},_destroyDatepicker:function(t){var i,n=e(t),s=e.data(t,"datepicker");n.hasClass(this.markerClassName)&&(i=t.nodeName.toLowerCase(),e.removeData(t,"datepicker"),"input"===i?(s.append.remove(),s.trigger.remove(),n.removeClass(this.markerClassName).off("focus",this._showDatepicker).off("keydown",this._doKeyDown).off("keypress",this._doKeyPress).off("keyup",this._doKeyUp)):("div"===i||"span"===i)&&n.removeClass(this.markerClassName).empty(),a===s&&(a=null))},_enableDatepicker:function(t){var i,n,s=e(t),a=e.data(t,"datepicker");s.hasClass(this.markerClassName)&&("input"===(i=t.nodeName.toLowerCase())?(t.disabled=!1,a.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""})):("div"===i||"span"===i)&&((n=s.children("."+this._inlineClass)).children().removeClass("ui-state-disabled"),n.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=e.map(this._disabledInputs,function(e){return e===t?null:e}))},_disableDatepicker:function(t){var i,n,s=e(t),a=e.data(t,"datepicker");s.hasClass(this.markerClassName)&&("input"===(i=t.nodeName.toLowerCase())?(t.disabled=!0,a.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"})):("div"===i||"span"===i)&&((n=s.children("."+this._inlineClass)).children().addClass("ui-state-disabled"),n.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=e.map(this._disabledInputs,function(e){return e===t?null:e}),this._disabledInputs[this._disabledInputs.length]=t)},_isDisabledDatepicker:function(e){if(!e)return!1;for(var t=0;this._disabledInputs.length>t;t++)if(this._disabledInputs[t]===e)return!0;return!1},_getInst:function(t){try{return e.data(t,"datepicker")}catch(e){throw"Missing instance data for this datepicker"}},_optionDatepicker:function(t,i,n){var a,r,o,l,d=this._getInst(t);return 2===arguments.length&&"string"==typeof i?"defaults"===i?e.extend({},e.datepicker._defaults):d?"all"===i?e.extend({},d.settings):this._get(d,i):null:(a=i||{},"string"==typeof i&&((a={})[i]=n),void(d&&(this._curInst===d&&this._hideDatepicker(),r=this._getDateDatepicker(t,!0),o=this._getMinMaxDate(d,"min"),l=this._getMinMaxDate(d,"max"),s(d.settings,a),null!==o&&void 0!==a.dateFormat&&void 0===a.minDate&&(d.settings.minDate=this._formatDate(d,o)),null!==l&&void 0!==a.dateFormat&&void 0===a.maxDate&&(d.settings.maxDate=this._formatDate(d,l)),"disabled"in a&&(a.disabled?this._disableDatepicker(t):this._enableDatepicker(t)),this._attachments(e(t),d),this._autoSize(d),this._setDate(d,r),this._updateAlternate(d),this._updateDatepicker(d))))},_changeDatepicker:function(e,t,i){this._optionDatepicker(e,t,i)},_refreshDatepicker:function(e){var t=this._getInst(e);t&&this._updateDatepicker(t)},_setDateDatepicker:function(e,t){var i=this._getInst(e);i&&(this._setDate(i,t),this._updateDatepicker(i),this._updateAlternate(i))},_getDateDatepicker:function(e,t){var i=this._getInst(e);return i&&!i.inline&&this._setDateFromField(i,t),i?this._getDate(i):null},_doKeyDown:function(t){var i,n,s,a=e.datepicker._getInst(t.target),r=!0,o=a.dpDiv.is(".ui-datepicker-rtl");if(a._keyEvent=!0,e.datepicker._datepickerShowing)switch(t.keyCode){case 9:e.datepicker._hideDatepicker(),r=!1;break;case 13:return(s=e("td."+e.datepicker._dayOverClass+":not(."+e.datepicker._currentClass+")",a.dpDiv))[0]&&e.datepicker._selectDay(t.target,a.selectedMonth,a.selectedYear,s[0]),(i=e.datepicker._get(a,"onSelect"))?(n=e.datepicker._formatDate(a),i.apply(a.input?a.input[0]:null,[n,a])):e.datepicker._hideDatepicker(),!1;case 27:e.datepicker._hideDatepicker();break;case 33:e.datepicker._adjustDate(t.target,t.ctrlKey?-e.datepicker._get(a,"stepBigMonths"):-e.datepicker._get(a,"stepMonths"),"M");break;case 34:e.datepicker._adjustDate(t.target,t.ctrlKey?+e.datepicker._get(a,"stepBigMonths"):+e.datepicker._get(a,"stepMonths"),"M");break;case 35:(t.ctrlKey||t.metaKey)&&e.datepicker._clearDate(t.target),r=t.ctrlKey||t.metaKey;break;case 36:(t.ctrlKey||t.metaKey)&&e.datepicker._gotoToday(t.target),r=t.ctrlKey||t.metaKey;break;case 37:(t.ctrlKey||t.metaKey)&&e.datepicker._adjustDate(t.target,o?1:-1,"D"),r=t.ctrlKey||t.metaKey,t.originalEvent.altKey&&e.datepicker._adjustDate(t.target,t.ctrlKey?-e.datepicker._get(a,"stepBigMonths"):-e.datepicker._get(a,"stepMonths"),"M");break;case 38:(t.ctrlKey||t.metaKey)&&e.datepicker._adjustDate(t.target,-7,"D"),r=t.ctrlKey||t.metaKey;break;case 39:(t.ctrlKey||t.metaKey)&&e.datepicker._adjustDate(t.target,o?-1:1,"D"),r=t.ctrlKey||t.metaKey,t.originalEvent.altKey&&e.datepicker._adjustDate(t.target,t.ctrlKey?+e.datepicker._get(a,"stepBigMonths"):+e.datepicker._get(a,"stepMonths"),"M");break;case 40:(t.ctrlKey||t.metaKey)&&e.datepicker._adjustDate(t.target,7,"D"),r=t.ctrlKey||t.metaKey;break;default:r=!1}else 36===t.keyCode&&t.ctrlKey?e.datepicker._showDatepicker(this):r=!1;r&&(t.preventDefault(),t.stopPropagation())},_doKeyPress:function(t){var i,n,s=e.datepicker._getInst(t.target);return e.datepicker._get(s,"constrainInput")?(i=e.datepicker._possibleChars(e.datepicker._get(s,"dateFormat")),n=String.fromCharCode(null==t.charCode?t.keyCode:t.charCode),t.ctrlKey||t.metaKey||" ">n||!i||i.indexOf(n)>-1):void 0},_doKeyUp:function(t){var i=e.datepicker._getInst(t.target);if(i.input.val()!==i.lastVal)try{e.datepicker.parseDate(e.datepicker._get(i,"dateFormat"),i.input?i.input.val():null,e.datepicker._getFormatConfig(i))&&(e.datepicker._setDateFromField(i),e.datepicker._updateAlternate(i),e.datepicker._updateDatepicker(i))}catch(e){}return!0},_showDatepicker:function(t){var i,n,a,r,o,l,d;("input"!==(t=t.target||t).nodeName.toLowerCase()&&(t=e("input",t.parentNode)[0]),e.datepicker._isDisabledDatepicker(t)||e.datepicker._lastInput===t)||(i=e.datepicker._getInst(t),e.datepicker._curInst&&e.datepicker._curInst!==i&&(e.datepicker._curInst.dpDiv.stop(!0,!0),i&&e.datepicker._datepickerShowing&&e.datepicker._hideDatepicker(e.datepicker._curInst.input[0])),!1!==(a=(n=e.datepicker._get(i,"beforeShow"))?n.apply(t,[t,i]):{})&&(s(i.settings,a),i.lastVal=null,e.datepicker._lastInput=t,e.datepicker._setDateFromField(i),e.datepicker._inDialog&&(t.value=""),e.datepicker._pos||(e.datepicker._pos=e.datepicker._findPos(t),e.datepicker._pos[1]+=t.offsetHeight),r=!1,e(t).parents().each(function(){return!(r|="fixed"===e(this).css("position"))}),o={left:e.datepicker._pos[0],top:e.datepicker._pos[1]},e.datepicker._pos=null,i.dpDiv.empty(),i.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),e.datepicker._updateDatepicker(i),o=e.datepicker._checkOffset(i,o,r),i.dpDiv.css({position:e.datepicker._inDialog&&e.blockUI?"static":r?"fixed":"absolute",display:"none",left:o.left+"px",to
vendor: 4,567 bytes, line 5
5p:o.top+"px"}),i.inline||(l=e.datepicker._get(i,"showAnim"),d=e.datepicker._get(i,"duration"),i.dpDiv.css("z-index",function(e){for(var t,i;e.length&&e[0]!==document;){if(("absolute"===(t=e.css("position"))||"relative"===t||"fixed"===t)&&(i=parseInt(e.css("zIndex"),10),!isNaN(i)&&0!==i))return i;e=e.parent()}return 0}(e(t))+1),e.datepicker._datepickerShowing=!0,e.effects&&e.effects.effect[l]?i.dpDiv.show(l,e.datepicker._get(i,"showOptions"),d):i.dpDiv[l||"show"](l?d:null),e.datepicker._shouldFocusInput(i)&&i.input.trigger("focus"),e.datepicker._curInst=i)))},_updateDatepicker:function(t){this.maxRows=4,a=t,t.dpDiv.empty().append(this._generateHTML(t)),this._attachHandlers(t);var i,s=this._getNumberOfMonths(t),r=s[1],o=t.dpDiv.find("."+this._dayOverClass+" a");o.length>0&&n.apply(o.get(0)),t.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""),r>1&&t.dpDiv.addClass("ui-datepicker-multi-"+r).css("width",17*r+"em"),t.dpDiv[(1!==s[0]||1!==s[1]?"add":"remove")+"Class"]("ui-datepicker-multi"),t.dpDiv[(this._get(t,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl"),t===e.datepicker._curInst&&e.datepicker._datepickerShowing&&e.datepicker._shouldFocusInput(t)&&t.input.trigger("focus"),t.yearshtml&&(i=t.yearshtml,setTimeout(function(){i===t.yearshtml&&t.yearshtml&&t.dpDiv.find("select.ui-datepicker-year:first").replaceWith(t.yearshtml),i=t.yearshtml=null},0))},_shouldFocusInput:function(e){return e.input&&e.input.is(":visible")&&!e.input.is(":disabled")&&!e.input.is(":focus")},_checkOffset:function(t,i,n){var s=t.dpDiv.outerWidth(),a=t.dpDiv.outerHeight(),r=t.input?t.input.outerWidth():0,o=t.input?t.input.outerHeight():0,l=document.documentElement.clientWidth+(n?0:e(document).scrollLeft()),d=document.documentElement.clientHeight+(n?0:e(document).scrollTop());return i.left-=this._get(t,"isRTL")?s-r:0,i.left-=n&&i.left===t.input.offset().left?e(document).scrollLeft():0,i.top-=n&&i.top===t.input.offset().top+o?e(document).scrollTop():0,i.left-=Math.min(i.left,i.left+s>l&&l>s?Math.abs(i.left+s-l):0),i.top-=Math.min(i.top,i.top+a>d&&d>a?Math.abs(a+o):0),i},_findPos:function(t){for(var i,n=this._getInst(t),s=this._get(n,"isRTL");t&&("hidden"===t.type||1!==t.nodeType||e.expr.filters.hidden(t));)t=t[s?"previousSibling":"nextSibling"];return[(i=e(t).offset()).left,i.top]},_hideDatepicker:function(t){var i,n,s,a,r=this._curInst;!r||t&&r!==e.data(t,"datepicker")||this._datepickerShowing&&(i=this._get(r,"showAnim"),n=this._get(r,"duration"),s=function(){e.datepicker._tidyDialog(r)},e.effects&&(e.effects.effect[i]||e.effects[i])?r.dpDiv.hide(i,e.datepicker._get(r,"showOptions"),n,s):r.dpDiv["slideDown"===i?"slideUp":"fadeIn"===i?"fadeOut":"hide"](i?n:null,s),i||s(),this._datepickerShowing=!1,(a=this._get(r,"onClose"))&&a.apply(r.input?r.input[0]:null,[r.input?r.input.val():"",r]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),e.blockUI&&(e.unblockUI(),e("body").append(this.dpDiv))),this._inDialog=!1)},_tidyDialog:function(e){e.dpDiv.removeClass(this._dialogClass).off(".ui-datepicker-calendar")},_checkExternalClick:function(t){if(e.datepicker._curInst){var i=e(t.target),n=e.datepicker._getInst(i[0]);(i[0].id!==e.datepicker._mainDivId&&0===i.parents("#"+e.datepicker._mainDivId).length&&!i.hasClass(e.datepicker.markerClassName)&&!i.closest("."+e.datepicker._triggerClass).length&&e.datepicker._datepickerShowing&&(!e.datepicker._inDialog||!e.blockUI)||i.hasClass(e.datepicker.markerClassName)&&e.datepicker._curInst!==n)&&e.datepicker._hideDatepicker()}},_adjustDate:function(t,i,n){var s=e(t),a=this._getInst(s[0]);this._isDisabledDatepicker(s[0])||(this._adjustInstDate(a,i+("M"===n?this._get(a,"showCurrentAtPos"):0),n),this._updateDatepicker(a))},_gotoToday:function(t){var i,n=e(t),s=this._getInst(n[0]);this._get(s,"gotoCurrent")&&s.currentDay?(s.selectedDay=s.currentDay,s.drawMonth=s.selectedMonth=s.currentMonth,s.drawYear=s.selectedYear=s.currentYear):(i=new Date,s.selectedDay=i.getDate(),s.drawMonth=s.selectedMonth=i.getMonth(),s.drawYear=s.selectedYear=i.getFullYear()),this._notifyChange(s),this._adjustDate(n)},_selectMonthYear:function(t,i,n){var s=e(t),a=this._getInst(s[0]);a["selected"+("M"===n?"Month":"Year")]=a["draw"+("M"===n?"Month":"Year")]=parseInt(i.options[i.selectedIndex].value,10),this._notifyChange(a),this._adjustDate(s)},_selectDay:function(t,i,n,s){var a,r=e(t);e(s).hasClass(this._unselectableClass)||this._isDisabledDatepicker(r[0])||((a=this._getInst(r[0])).selectedDay=a.currentDay=e("a",
vendor: 5,129 bytes, line 5
5s).html(),a.selectedMonth=a.currentMonth=i,a.selectedYear=a.currentYear=n,this._selectDate(t,this._formatDate(a,a.currentDay,a.currentMonth,a.currentYear)))},_clearDate:function(t){var i=e(t);this._selectDate(i,"")},_selectDate:function(t,i){var n,s=e(t),a=this._getInst(s[0]);i=null!=i?i:this._formatDate(a),a.input&&a.input.val(i),this._updateAlternate(a),(n=this._get(a,"onSelect"))?n.apply(a.input?a.input[0]:null,[i,a]):a.input&&a.input.trigger("change"),a.inline?this._updateDatepicker(a):(this._hideDatepicker(),this._lastInput=a.input[0],"object"!=typeof a.input[0]&&a.input.trigger("focus"),this._lastInput=null)},_updateAlternate:function(t){var i,n,s,a=this._get(t,"altField");a&&(i=this._get(t,"altFormat")||this._get(t,"dateFormat"),n=this._getDate(t),s=this.formatDate(i,n,this._getFormatConfig(t)),e(a).val(s))},noWeekends:function(e){var t=e.getDay();return[t>0&&6>t,""]},iso8601Week:function(e){var t,i=new Date(e.getTime());return i.setDate(i.getDate()+4-(i.getDay()||7)),t=i.getTime(),i.setMonth(0),i.setDate(1),Math.floor(Math.round((t-i)/864e5)/7)+1},parseDate:function(t,i,n){if(null==t||null==i)throw"Invalid arguments";if(""===(i="object"==typeof i?""+i:i+""))return null;var s,a,r,o,l=0,d=(n?n.shortYearCutoff:null)||this._defaults.shortYearCutoff,c="string"!=typeof d?d:(new Date).getFullYear()%100+parseInt(d,10),h=(n?n.dayNamesShort:null)||this._defaults.dayNamesShort,u=(n?n.dayNames:null)||this._defaults.dayNames,p=(n?n.monthNamesShort:null)||this._defaults.monthNamesShort,g=(n?n.monthNames:null)||this._defaults.monthNames,f=-1,m=-1,v=-1,k=-1,_=!1,y=function(e){var i=t.length>s+1&&t.charAt(s+1)===e;return i&&s++,i},D=function(e){var t=y(e),n="@"===e?14:"!"===e?20:"y"===e&&t?4:"o"===e?3:2,s=RegExp("^\\d{"+("y"===e?n:1)+","+n+"}"),a=i.substring(l).match(s);if(!a)throw"Missing number at position "+l;return l+=a[0].length,parseInt(a[0],10)},b=function(t,n,s){var a=-1,r=e.map(y(t)?s:n,function(e,t){return[[t,e]]}).sort(function(e,t){return-(e[1].length-t[1].length)});if(e.each(r,function(e,t){var n=t[1];return i.substr(l,n.length).toLowerCase()===n.toLowerCase()?(a=t[0],l+=n.length,!1):void 0}),-1!==a)return a+1;throw"Unknown name at position "+l},w=function(){if(i.charAt(l)!==t.charAt(s))throw"Unexpected literal at position "+l;l++};for(s=0;t.length>s;s++)if(_)"'"!==t.charAt(s)||y("'")?w():_=!1;else switch(t.charAt(s)){case"d":v=D("d");break;case"D":b("D",h,u);break;case"o":k=D("o");break;case"m":m=D("m");break;case"M":m=b("M",p,g);break;case"y":f=D("y");break;case"@":f=(o=new Date(D("@"))).getFullYear(),m=o.getMonth()+1,v=o.getDate();break;case"!":f=(o=new Date((D("!")-this._ticksTo1970)/1e4)).getFullYear(),m=o.getMonth()+1,v=o.getDate();break;case"'":y("'")?w():_=!0;break;default:w()}if(i.length>l&&(r=i.substr(l),!/^\s+/.test(r)))throw"Extra/unparsed characters found in date: "+r;if(-1===f?f=(new Date).getFullYear():100>f&&(f+=(new Date).getFullYear()-(new Date).getFullYear()%100+(c>=f?0:-100)),k>-1)for(m=1,v=k;!((a=this._getDaysInMonth(f,m-1))>=v);)m++,v-=a;if((o=this._daylightSavingAdjust(new Date(f,m-1,v))).getFullYear()!==f||o.getMonth()+1!==m||o.getDate()!==v)throw"Invalid date";return o},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:864e9*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925)),formatDate:function(e,t,i){if(!t)return"";var n,s=(i?i.dayNamesShort:null)||this._defaults.dayNamesShort,a=(i?i.dayNames:null)||this._defaults.dayNames,r=(i?i.monthNamesShort:null)||this._defaults.monthNamesShort,o=(i?i.monthNames:null)||this._defaults.monthNames,l=function(t){var i=e.length>n+1&&e.charAt(n+1)===t;return i&&n++,i},d=function(e,t,i){var n=""+t;if(l(e))for(;i>n.length;)n="0"+n;return n},c=function(e,t,i,n){return l(e)?n[t]:i[t]},h="",u=!1;if(t)for(n=0;e.length>n;n++)if(u)"'"!==e.charAt(n)||l("'")?h+=e.charAt(n):u=!1;else switch(e.charAt(n)){case"d":h+=d("d",t.getDate(),2);break;case"D":h+=c("D",t.getDay(),s,a);break;case"o":h+=d("o",Math.round((new Date(t.getFullYear(),t.getMonth(),t.getDate()).getTime()-new Date(t.getFullYear(),0,0).getTime())/864e5),3);break;case"m":h+=d("m",t.getMonth()+1,2);break;case"M":h+=c("M",t.getMonth(),r,o);break;case"y":h+=l("y")?t.getFullYear():(10>t.getFullYear()%100?"0":"")+t.getFullYear()%100;break;case"@":h+=t.getTime();break;case"!":h+=1e4*t.getTime()+this._ticksTo1970;break;case"'":l("'")?h+="'":u=!0;break;default:h+=e.charAt(n)}return h},_possibleChars:function(e){var t,i="",n=!1,s=function(i){var n=e.length>t+1&&e.charAt(t+1)===i;return n&&t++,n};for(t=0;e.length>t;t++)if(n)"'"!==e.charAt(t)||s("'")?i+=e.charAt(t):n=!1;else switch(e.charAt(t)){case"d":case"m":case"y":case"@":i+="0123456789";break;case"D":case"M":return null;case"'":s("'")?i+="'":n=!0;break;default:i+=e.charAt(t)}return i},_get:function(e,t){return void 0!==e.settings[t]?e.settings[t]:this._defaults[t]},_setDateFromField:function(e,t){if(e.input.val()!==e.lastVal){var i=this._get(e,"dateFormat"),n=e.lastVal=e.input?e.input.val():null,
vendor: 2,182 bytes, line 5
5s=this._getDefaultDate(e),a=s,r=this._getFormatConfig(e);try{a=this.parseDate(i,n,r)||s}catch(e){n=t?"":n}e.selectedDay=a.getDate(),e.drawMonth=e.selectedMonth=a.getMonth(),e.drawYear=e.selectedYear=a.getFullYear(),e.currentDay=n?a.getDate():0,e.currentMonth=n?a.getMonth():0,e.currentYear=n?a.getFullYear():0,this._adjustInstDate(e)}},_getDefaultDate:function(e){return this._restrictMinMax(e,this._determineDate(e,this._get(e,"defaultDate"),new Date))},_determineDate:function(t,i,n){var s=null==i||""===i?n:"string"==typeof i?function(i){try{return e.datepicker.parseDate(e.datepicker._get(t,"dateFormat"),i,e.datepicker._getFormatConfig(t))}catch(e){}for(var n=(i.toLowerCase().match(/^c/)?e.datepicker._getDate(t):null)||new Date,s=n.getFullYear(),a=n.getMonth(),r=n.getDate(),o=/([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,l=o.exec(i);l;){switch(l[2]||"d"){case"d":case"D":r+=parseInt(l[1],10);break;case"w":case"W":r+=7*parseInt(l[1],10);break;case"m":case"M":a+=parseInt(l[1],10),r=Math.min(r,e.datepicker._getDaysInMonth(s,a));break;case"y":case"Y":s+=parseInt(l[1],10),r=Math.min(r,e.datepicker._getDaysInMonth(s,a))}l=o.exec(i)}return new Date(s,a,r)}(i):"number"==typeof i?isNaN(i)?n:function(e){var t=new Date;return t.setDate(t.getDate()+e),t}(i):new Date(i.getTime());return(s=s&&"Invalid Date"==""+s?n:s)&&(s.setHours(0),s.setMinutes(0),s.setSeconds(0),s.setMilliseconds(0)),this._daylightSavingAdjust(s)},_daylightSavingAdjust:function(e){return e?(e.setHours(e.getHours()>12?e.getHours()+2:0),e):null},_setDate:function(e,t,i){var n=!t,s=e.selectedMonth,a=e.selectedYear,r=this._restrictMinMax(e,this._determineDate(e,t,new Date));e.selectedDay=e.currentDay=r.getDate(),e.drawMonth=e.selectedMonth=e.currentMonth=r.getMonth(),e.drawYear=e.selectedYear=e.currentYear=r.getFullYear(),s===e.selectedMonth&&a===e.selectedYear||i||this._notifyChange(e),this._adjustInstDate(e),e.input&&e.input.val(n?"":this._formatDate(e))},_getDate:function(e){return!e.currentYear||e.input&&""===e.input.val()?null:this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay))},_attachHandlers:function(t){var i=this._get(t,"stepMonths"),n="#"+t.id.replace(/\\\\/g,"\\");
vendor: 4,329 bytes, line 5
5t.dpDiv.find("[data-handler]").map(function(){var t={prev:function(){e.datepicker._adjustDate(n,-i,"M")},next:function(){e.datepicker._adjustDate(n,+i,"M")},hide:function(){e.datepicker._hideDatepicker()},today:function(){e.datepicker._gotoToday(n)},selectDay:function(){return e.datepicker._selectDay(n,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1},selectMonth:function(){return e.datepicker._selectMonthYear(n,this,"M"),!1},selectYear:function(){return e.datepicker._selectMonthYear(n,this,"Y"),!1}};e(this).on(this.getAttribute("data-event"),t[this.getAttribute("data-handler")])})},_generateHTML:function(e){var t,i,n,s,a,r,o,l,d,c,h,u,p,g,f,m,v,k,_,y,D,b,w,x,S,M,C,T,I,A,Y,E,F,N,P,H,O,L,j,z=new Date,K=this._daylightSavingAdjust(new Date(z.getFullYear(),z.getMonth(),z.getDate())),W=this._get(e,"isRTL"),R=this._get(e,"showButtonPanel"),q=this._get(e,"hideIfNoPrevNext"),B=this._get(e,"navigationAsDateFormat"),U=this._getNumberOfMonths(e),V=this._get(e,"showCurrentAtPos"),X=this._get(e,"stepMonths"),J=1!==U[0]||1!==U[1],G=this._daylightSavingAdjust(e.currentDay?new Date(e.currentYear,e.currentMonth,e.currentDay):new Date(9999,9,9)),Z=this._getMinMaxDate(e,"min"),Q=this._getMinMaxDate(e,"max"),$=e.drawMonth-V,ee=e.drawYear;if(0>$&&($+=12,ee--),Q)for(t=this._daylightSavingAdjust(new Date(Q.getFullYear(),Q.getMonth()-U[0]*U[1]+1,Q.getDate())),t=Z&&Z>t?Z:t;this._daylightSavingAdjust(new Date(ee,$,1))>t;)0>--$&&($=11,ee--);for(e.drawMonth=$,e.drawYear=ee,i=this._get(e,"prevText"),i=B?this.formatDate(i,this._daylightSavingAdjust(new Date(ee,$-X,1)),this._getFormatConfig(e)):i,n=this._canAdjustMonth(e,-1,ee,$)?"<a class='ui-datepicker-prev ui-corner-all' data-handler='prev' data-event='click' title='"+i+"'><span class='ui-icon ui-icon-circle-triangle-"+(W?"e":"w")+"'>"+i+"</span></a>":q?"":"<a class='ui-datepicker-prev ui-corner-all ui-state-disabled' title='"+i+"'><span class='ui-icon ui-icon-circle-triangle-"+(W?"e":"w")+"'>"+i+"</span></a>",s=this._get(e,"nextText"),s=B?this.formatDate(s,this._daylightSavingAdjust(new Date(ee,$+X,1)),this._getFormatConfig(e)):s,a=this._canAdjustMonth(e,1,ee,$)?"<a class='ui-datepicker-next ui-corner-all' data-handler='next' data-event='click' title='"+s+"'><span class='ui-icon ui-icon-circle-triangle-"+(W?"w":"e")+"'>"+s+"</span></a>":q?"":"<a class='ui-datepicker-next ui-corner-all ui-state-disabled' title='"+s+"'><span class='ui-icon ui-icon-circle-triangle-"+(W?"w":"e")+"'>"+s+"</span></a>",r=this._get(e,"currentText"),o=this._get(e,"gotoCurrent")&&e.currentDay?G:K,r=B?this.formatDate(r,o,this._getFormatConfig(e)):r,l=e.inline?"":"<button type='button' class='ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all' data-handler='hide' data-event='click'>"+this._get(e,"closeText")+"</button>",d=R?"<div class='ui-datepicker-buttonpane ui-widget-content'>"+(W?l:"")+(this._isInRange(e,o)?"<button type='button' class='ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all' data-handler='today' data-event='click'>"+r+"</button>":"")+(W?"":l)+"</div>":"",c=parseInt(this._get(e,"firstDay"),10),c=isNaN(c)?0:c,h=this._get(e,"showWeek"),u=this._get(e,"dayNames"),p=this._get(e,"dayNamesMin"),g=this._get(e,"monthNames"),f=this._get(e,"monthNamesShort"),m=this._get(e,"beforeShowDay"),v=this._get(e,"showOtherMonths"),k=this._get(e,"selectOtherMonths"),_=this._getDefaultDate(e),y="",b=0;U[0]>b;b++){for(w="",this.maxRows=4,x=0;U[1]>x;x++){if(S=this._daylightSavingAdjust(new Date(ee,$,e.selectedDay)),M=" ui-corner-all",C="",J){if(C+="<div class='ui-datepicker-group",U[1]>1)switch(x){case 0:C+=" ui-datepicker-group-first",M=" ui-corner-"+(W?"right":"left");break;case U[1]-1:C+=" ui-datepicker-group-last",M=" ui-corner-"+(W?"left":"right");break;default:C+=" ui-datepicker-group-middle",M=""}C+="'>"}for(C+="<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix"+M+"'>"+(/all|left/.test(M)&&0===b?W?a:n:"")+(/all|right/.test(M)&&0===b?W?n:a:"")+this._generateMonthYearHeader(e,$,ee,Z,Q,b>0||x>0,g,f)+"</div><table class='ui-datepicker-calendar'><thead><tr>",T=h?"<th class='ui-datepicker-week-col'>"+this._get(e,"weekHeader")+"</th>":"",D=0;7>D;D++)T+="<th scope='col'"+((D+c+6)%7>=5?" class='ui-datepicker-week-end'":"")+"><span title='"+u[I=(D+c)%7]+"'>"+p[I]+"</span></th>";
vendor: 5,584 bytes, line 5
5for(C+=T+"</tr></thead><tbody>",A=this._getDaysInMonth(ee,$),ee===e.selectedYear&&$===e.selectedMonth&&(e.selectedDay=Math.min(e.selectedDay,A)),Y=(this._getFirstDayOfMonth(ee,$)-c+7)%7,E=Math.ceil((Y+A)/7),F=J&&this.maxRows>E?this.maxRows:E,this.maxRows=F,N=this._daylightSavingAdjust(new Date(ee,$,1-Y)),P=0;F>P;P++){for(C+="<tr>",H=h?"<td class='ui-datepicker-week-col'>"+this._get(e,"calculateWeek")(N)+"</td>":"",D=0;7>D;D++)O=m?m.apply(e.input?e.input[0]:null,[N]):[!0,""],j=(L=N.getMonth()!==$)&&!k||!O[0]||Z&&Z>N||Q&&N>Q,H+="<td class='"+((D+c+6)%7>=5?" ui-datepicker-week-end":"")+(L?" ui-datepicker-other-month":"")+(N.getTime()===S.getTime()&&$===e.selectedMonth&&e._keyEvent||_.getTime()===N.getTime()&&_.getTime()===S.getTime()?" "+this._dayOverClass:"")+(j?" "+this._unselectableClass+" ui-state-disabled":"")+(L&&!v?"":" "+O[1]+(N.getTime()===G.getTime()?" "+this._currentClass:"")+(N.getTime()===K.getTime()?" ui-datepicker-today":""))+"'"+(L&&!v||!O[2]?"":" title='"+O[2].replace(/'/g,"'")+"'")+(j?"":" data-handler='selectDay' data-event='click' data-month='"+N.getMonth()+"' data-year='"+N.getFullYear()+"'")+">"+(L&&!v?" ":j?"<span class='ui-state-default'>"+N.getDate()+"</span>":"<a class='ui-state-default"+(N.getTime()===K.getTime()?" ui-state-highlight":"")+(N.getTime()===G.getTime()?" ui-state-active":"")+(L?" ui-priority-secondary":"")+"' href='#'>"+N.getDate()+"</a>")+"</td>",N.setDate(N.getDate()+1),N=this._daylightSavingAdjust(N);C+=H+"</tr>"}++$>11&&($=0,ee++),w+=C+="</tbody></table>"+(J?"</div>"+(U[0]>0&&x===U[1]-1?"<div class='ui-datepicker-row-break'></div>":""):"")}y+=w}return y+=d,e._keyEvent=!1,y},_generateMonthYearHeader:function(e,t,i,n,s,a,r,o){var l,d,c,h,u,p,g,f,m=this._get(e,"changeMonth"),v=this._get(e,"changeYear"),k=this._get(e,"showMonthAfterYear"),_="<div class='ui-datepicker-title'>",y="";if(a||!m)y+="<span class='ui-datepicker-month'>"+r[t]+"</span>";else{for(l=n&&n.getFullYear()===i,d=s&&s.getFullYear()===i,y+="<select class='ui-datepicker-month' data-handler='selectMonth' data-event='change'>",c=0;12>c;c++)(!l||c>=n.getMonth())&&(!d||s.getMonth()>=c)&&(y+="<option value='"+c+"'"+(c===t?" selected='selected'":"")+">"+o[c]+"</option>");y+="</select>"}if(k||(_+=y+(!a&&m&&v?"":" ")),!e.yearshtml)if(e.yearshtml="",a||!v)_+="<span class='ui-datepicker-year'>"+i+"</span>";else{for(h=this._get(e,"yearRange").split(":"),u=(new Date).getFullYear(),p=function(e){var t=e.match(/c[+\-].*/)?i+parseInt(e.substring(1),10):e.match(/[+\-].*/)?u+parseInt(e,10):parseInt(e,10);return isNaN(t)?u:t},g=p(h[0]),f=Math.max(g,p(h[1]||"")),g=n?Math.max(g,n.getFullYear()):g,f=s?Math.min(f,s.getFullYear()):f,e.yearshtml+="<select class='ui-datepicker-year' data-handler='selectYear' data-event='change'>";f>=g;g++)e.yearshtml+="<option value='"+g+"'"+(g===i?" selected='selected'":"")+">"+g+"</option>";e.yearshtml+="</select>",_+=e.yearshtml,e.yearshtml=null}return _+=this._get(e,"yearSuffix"),k&&(_+=(!a&&m&&v?"":" ")+y),_+"</div>"},_adjustInstDate:function(e,t,i){var n=e.selectedYear+("Y"===i?t:0),s=e.selectedMonth+("M"===i?t:0),a=Math.min(e.selectedDay,this._getDaysInMonth(n,s))+("D"===i?t:0),r=this._restrictMinMax(e,this._daylightSavingAdjust(new Date(n,s,a)));e.selectedDay=r.getDate(),e.drawMonth=e.selectedMonth=r.getMonth(),e.drawYear=e.selectedYear=r.getFullYear(),("M"===i||"Y"===i)&&this._notifyChange(e)},_restrictMinMax:function(e,t){var i=this._getMinMaxDate(e,"min"),n=this._getMinMaxDate(e,"max"),s=i&&i>t?i:t;return n&&s>n?n:s},_notifyChange:function(e){var t=this._get(e,"onChangeMonthYear");t&&t.apply(e.input?e.input[0]:null,[e.selectedYear,e.selectedMonth+1,e])},_getNumberOfMonths:function(e){var t=this._get(e,"numberOfMonths");return null==t?[1,1]:"number"==typeof t?[1,t]:t},_getMinMaxDate:function(e,t){return this._determineDate(e,this._get(e,t+"Date"),null)},_getDaysInMonth:function(e,t){return 32-this._daylightSavingAdjust(new Date(e,t,32)).getDate()},_getFirstDayOfMonth:function(e,t){return new Date(e,t,1).getDay()},_canAdjustMonth:function(e,t,i,n){var s=this._getNumberOfMonths(e),a=this._daylightSavingAdjust(new Date(i,n+(0>t?t:s[0]*s[1]),1));return 0>t&&a.setDate(this._getDaysInMonth(a.getFullYear(),a.getMonth())),this._isInRange(e,a)},_isInRange:function(e,t){var i,n,s=this._getMinMaxDate(e,"min"),a=this._getMinMaxDate(e,"max"),r=null,o=null,l=this._get(e,"yearRange");return l&&(i=l.split(":"),n=(new Date).getFullYear(),r=parseInt(i[0],10),o=parseInt(i[1],10),i[0].match(/[+\-].*/)&&(r+=n),i[1].match(/[+\-].*/)&&(o+=n)),(!s||t.getTime()>=s.getTime())&&(!a||t.getTime()<=a.getTime())&&(!r||t.getFullYear()>=r)&&(!o||o>=t.getFullYear())},_getFormatConfig:function(e){var t=this._get(e,"shortYearCutoff");return{shortYearCutoff:t="string"!=typeof t?t:(new Date).getFullYear()%100+parseInt(t,10),dayNamesShort:this._get(e,"dayNamesShort"),dayNames:this._get(e,"dayNames"),monthNamesShort:this._get(e,"monthNamesShort"),monthNames:this._get(e,"monthNames")}},_formatDate:function(e,t,i,n){t||(e.currentDay=e.selectedDay,e.currentMonth=e.selectedMonth,e.currentYear=e.selectedYear);var s=t?"object"==typeof t?t:this._daylightSavingAdjust(new Date(n,i,t)):this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay));return this.formatDate(this._get(e,"dateFormat"),s,this._getFormatConfig(e))}}),e.fn.datepicker=function(t){if(!this.length)return this;e.datepicker.initialized||(e(document).on("mousedown",e.datepicker._checkExternalClick),e.datepicker.initialized=!0),0===e("#"+e.datepicker._mainDivId).length&&e("body").append(e.datepicker.dpDiv);
5var i=Array.prototype.slice.call(arguments,1);return"string"!=typeof t||"isDisabled"!==t&&"getDate"!==t&&"widget"!==t?"option"===t&&2===arguments.length&&"string"==typeof arguments[1]?e.datepicker["_"+t+"Datepicker"].apply(e.datepicker,[this[0]].concat(i)):this.each(function(){"string"==typeof t?e.datepicker["_"+t+"Datepicker"].apply(e.datepicker,[this].concat(i)):e.datepicker._attachDatepicker(this,t)}):e.datepicker["_"+t+"Datepicker"].apply(e.datepicker,[this[0]].concat(i))},e.datepicker=new t,e.datepicker.initialized=!1,e.datepicker.uuid=(new Date).getTime(),e.datepicker.version="1.12.1",e.datepicker}),function(e){"function"==typeof define&&define.amd?define(["../widgets/datepicker"],e):e(jQuery.datepicker)}(function(e){return e.regional.fr={closeText:"Fermer",prevText:"Précédent",nextText:"Suivant",currentText:"Aujourd'hui",monthNames:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],monthNamesShort:["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],dayNames:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],dayNamesShort:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],dayNamesMin:["D","L","M","M","J","V","S"],weekHeader:"Sem.",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.setDefaults(e.regional.fr),e.regional.fr}),function(e){var t="ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch||navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints>0,n=t?"touchstart":"mousedown",s=t?"touchmove":"mousemove",a=t?"touchend":"mouseup",r={mode:"horizontal",slideSelector:"",infiniteLoop:!0,hideControlOnEnd:!1,speed:500,easing:null,slideMargin:0,startSlide:0,randomStart:!1,captions:!1,ticker:!1,tickerHover:!1,adaptiveHeight:!1,adaptiveHeightSpeed:500,video:!1,useCSS:!0,preloadImages:"visible",responsive:!0,slideZIndex:20,wrapperClass:"bx-wrapper",touchEnabled:!0,swipeThreshold:50,touchThreshold:50,oneToOneTouch:!0,preventDefaultSwipeX:!0,preventDefaultSwipeY:!1,ariaLive:!0,ariaHidden:!0,keyboardEnabled:!1,pager:!0,pagerType:"full",pagerShortSeparator:" / ",pagerSelector:null,buildPager:null,pagerCustom:null,controls:!0,nextText:"Next",prevText:"Prev",nextSelector:null,prevSelector:null,autoControls:!1,startText:"Start",stopText:"Stop",autoControlsCombine:!1,autoControlsSelector:null,parkinson:!1,auto:!1,pause:4e3,autoStart:!0,autoDirection:"next",stopAutoOnClick:!0,autoHover:!1,autoDelay:0,autoSlideForOnePage:!1,minSlides:1,maxSlides:1,moveSlides:0,slideWidth:0,shrinkItems:!1,onSliderLoad:function(){return!0},onSlideBefore:function(){return!0},onSlideAfter:function(){return!0},onSlideNext:function(){return!0},onSlidePrev:function(){return!0},onSliderResize:function(){return!0}};e.fn.bxSlider=function(t){if(0===this.length)return this;if(this.length>1)return this.each(function(){e(this).bxSlider(t)}),this;var o={},l=this,d=e(window).width(),c=e(window).height();if(!e(l).data("bxSlider")){var h=function(){if(!e(l).data("bxSlider")){if(o.settings=e.extend({},r,t),o.settings.slideWidth=parseInt(o.settings.slideWidth),o.children=l.children(o.settings.slideSelector),o.settings.responsive){var i=o.children.eq(0),n=l.width(),s=i.width(),a=Math.floor(n/s),d=parseInt(i.css("marginRight")),c=Math.floor(n/a);if(n>o.children.length*c)return;e.extend(o.settings,{minSlides:a,maxSlides:a,slideWidth:c,slideMargin:d}),e(window).on("onviewportsuccess",function(){o.viewport.parent().is(":visible")&&l.reloadSlider(o.settings)})}o.children.length<o.settings.minSlides&&(o.settings.minSlides=o.children.length),o.children.length<o.settings.maxSlides&&(o.settings.maxSlides=o.children.length),o.settings.randomStart&&(o.settings.startSlide=Math.floor(Math.random()*o.children.length)),o.active={index:o.settings.startSlide},o.carousel=o.settings.minSlides>1||o.settings.maxSlides>1,o.minThreshold=o.settings.minSlides*o.settings.slideWidth+(o.settings.minSlides-1)*o.settings.slideMargin,o.maxThreshold=o.settings.maxSlides*o.settings.slideWidth+(o.settings.maxSlides-1)*o.settings.slideMargin,o.working=!1,o.controls={},o.interval=null,o.timeout=null,o.animProp="vertical"===o.settings.mode?"top":"left",o.usingCSS=o.settings.useCSS&&"fade"!==o.settings.mode&&function(){for(var e=document.createElement("div"),t=["WebkitPerspective","MozPerspective","OPerspective","msPerspective"],i=0;i<t.length;i++)if(void 0!==e.style[t[i]])return o.cssPrefix=t[i].replace("Perspective","").toLowerCase(),o.animProp="-"+o.cssPrefix+"-transform",!0;return!1}(),"vertical"===o.settings.mode&&(o.settings.maxSlides=o.settings.minSlides),l.data("origStyle",l.attr("style")),l.children(o.settings.slideSelector).each(function(){e(this).data("origStyle",e(this).attr("style"))}),u()}},u=function(){var t=o.children.eq(o.settings.startSlide);l.wrap('<div class="'+o.settings.wrapperClass+'"><div class="bx-viewport"></div></div>'),o.viewport=l.parent(),o.settings.ariaLive&&!o.settings.ticker&&o.viewport.attr("aria-live","polite"),o.loader=e('<div class="bx-loading" />'),o.viewport.prepend(o.loader),l.css({width:"horizontal"===o.settings.mode?1e3*o.children.length+215+"%":"auto",position:"relative"}),o.usingCSS&&o.settings.easing?l.css("-"+o.cssPrefix+"-transition-timing-function",o.settings.easing):o.settings.easing||(o.settings.easing="swing");var i=_();o.viewport.css({width:"100%",overflow:"hidden",position:"relative"}),o.viewport.parent().css({maxWidth:v()}),o.settings.pager||o.settings.controls||o.viewport.parent().css({margin:"0 auto 0px"}
vendor: 9,831 bytes, line 5
5),o.children.css({float:"horizontal"===o.settings.mode?"left":"none",listStyle:"none",position:"relative"}),o.children.css("width",k()),"horizontal"===o.settings.mode&&o.settings.slideMargin>0&&o.children.css("marginRight",o.settings.slideMargin),"vertical"===o.settings.mode&&o.settings.slideMargin>0&&o.children.css("marginBottom",o.settings.slideMargin),"fade"===o.settings.mode&&(o.children.css({position:"absolute",zIndex:0,display:"none"}),o.children.eq(o.settings.startSlide).css({zIndex:o.settings.slideZIndex,display:"block"})),o.controls.el=e('<div class="bx-controls" />'),o.settings.captions&&I(),o.active.last=o.settings.startSlide===y()-1,o.settings.video&&l.fitVids(),("all"===o.settings.preloadImages||o.settings.ticker)&&(t=o.children),o.settings.ticker?o.settings.pager=!1:(o.settings.controls&&C(),o.settings.auto&&o.settings.autoControls&&T(),o.settings.pager&&M(),(o.settings.controls||o.settings.autoControls||o.settings.pager)&&o.viewport.after(o.controls.el)),p(t,g);var n=o.children.length,s=o.settings.slideMargin+k();o.limit={},o.limit.min=-(n+i)*s,o.limit.step=n*s},p=function(t,i){var n=t.find('img:not([src=""]), iframe').length,s=0;0!==n?t.find('img:not([src=""]), iframe').each(function(){e(this).one("load error",function(){++s===n&&i()}).each(function(){this.complete&&e(this).load()})}):i()},g=function(){if(o.settings.infiniteLoop&&"fade"!==o.settings.mode&&!o.settings.ticker){var e="vertical"===o.settings.mode?o.settings.minSlides:o.settings.maxSlides,t=o.children.slice(0,e).clone(!0).addClass("bx-clone"),i=o.children.slice(-e).clone(!0).addClass("bx-clone");o.settings.ariaHidden&&(t.attr("aria-hidden",!0),i.attr("aria-hidden",!0)),l.append(t).prepend(i)}o.settings.auto?setTimeout(f,10):f()},f=function(){w(),"vertical"===o.settings.mode&&(o.settings.adaptiveHeight=!0),o.viewport.height(m()),l.redrawSlider(),o.initialized=!0,o.settings.responsive&&e(window).bind("resize",J),o.settings.auto&&o.settings.autoStart&&(y()>1||o.settings.autoSlideForOnePage)&&j(),o.settings.ticker&&z(),o.settings.pager&&P(o.settings.startSlide),o.settings.controls&&L(),o.settings.touchEnabled&&!o.settings.ticker&&R(),o.settings.keyboardEnabled&&!o.settings.ticker&&e(document).keydown(W),o.settings.onSliderLoad.call(l,o.active.index),o.loader.remove()},m=function(){var t=0,n=e();if("vertical"===o.settings.mode||o.settings.adaptiveHeight)if(o.carousel){var s=1===o.settings.moveSlides?o.active.index:o.active.index*D();for(n=o.children.eq(s),i=1;i<=o.settings.maxSlides-1;i++)n=s+i>=o.children.length?n.add(o.children.eq(i-1)):n.add(o.children.eq(s+i))}else n=o.children.eq(o.active.index);else n=o.children;return"vertical"===o.settings.mode?(n.each(function(i){t+=e(this).outerHeight()}),o.settings.slideMargin>0&&(t+=o.settings.slideMargin*(o.settings.minSlides-1))):t=Math.max.apply(Math,n.map(function(){return e(this).outerHeight(!1)}).get()),"border-box"===o.viewport.css("box-sizing")?t+=parseFloat(o.viewport.css("padding-top"))+parseFloat(o.viewport.css("padding-bottom"))+parseFloat(o.viewport.css("border-top-width"))+parseFloat(o.viewport.css("border-bottom-width")):"padding-box"===o.viewport.css("box-sizing")&&(t+=parseFloat(o.viewport.css("padding-top"))+parseFloat(o.viewport.css("padding-bottom"))),t},v=function(){var e="100%";return o.settings.slideWidth>0&&(e="horizontal"===o.settings.mode?o.settings.maxSlides*o.settings.slideWidth+(o.settings.maxSlides-1)*o.settings.slideMargin:o.settings.slideWidth),e},k=function(){var e=o.settings.slideWidth,t=o.viewport.width();if(0===o.settings.slideWidth||o.settings.slideWidth>t&&!o.carousel||"vertical"===o.settings.mode)e=t;else if(o.settings.maxSlides>1&&"horizontal"===o.settings.mode){if(t>o.maxThreshold)return e;t<o.minThreshold?e=(t-o.settings.slideMargin*(o.settings.minSlides-1))/o.settings.minSlides:o.settings.shrinkItems&&(e=Math.floor((t+o.settings.slideMargin)/Math.ceil((t+o.settings.slideMargin)/(e+o.settings.slideMargin))-o.settings.slideMargin))}return e},_=function(){var e=1,t=null;return"horizontal"===o.settings.mode&&o.settings.slideWidth>0?o.viewport.width()<o.minThreshold?e=o.settings.minSlides:o.viewport.width()>o.maxThreshold?e=o.settings.maxSlides:(t=o.children.first().width()+o.settings.slideMargin,e=Math.floor((o.viewport.width()+o.settings.slideMargin)/t)||1):"vertical"===o.settings.mode&&(e=o.settings.minSlides),e},y=function(){var e=0,t=0,i=0;if(o.settings.moveSlides>0){if(!o.settings.infiniteLoop){for(;t<o.children.length;)++e,t=i+_(),i+=o.settings.moveSlides<=_()?o.settings.moveSlides:_();return i}e=Math.ceil(o.children.length/D())}else e=Math.ceil(o.children.length/_());return e},D=function(){return o.settings.moveSlides>0&&o.settings.moveSlides<=_()?o.settings.moveSlides:_()},b=function(){if(o.usingCSS){var e=l.css(o.animProp).replace(/^matrix\(([ \d,-]*)\)$/gi,"$1").split(",");return function(e){for(var t=e[0]||null,i=1;i<e.length;i++)t=Math.min(t,e[i]);return t}(e=function(e){for(var t=0;t<e.length;t++)e[t]=parseInt(e[t]);return e}(e))}return parseInt(l.css(o.animProp))},w=function(){var e,t,i;o.children.length>o.settings.maxSlides&&o.active.last&&!o.settings.infiniteLoop?"horizontal"===o.settings.mode?(e=(t=o.children.last()).position(),x(-(e.left-(o.viewport.width()-t.outerWidth())),"reset",0)):"vertical"===o.settings.mode&&(i=o.children.length-o.settings.minSlides,e=o.children.eq(i).position(),x(-e.top,"reset",0)):(e=o.children.eq(o.active.index*D()).position(),o.active.index===y()-1&&(o.active.last=!0),void 0!==e&&("horizontal"===o.settings.mode?x(-e.left,"reset",0):"vertical"===o.settings.mode&&x(-e.top,"reset",0)))},x=function(t,i,n,s){var a,r;o.usingCSS?(r="vertical"===o.settings.mode?"translate3d(0, "+t+"px, 0)":"translate3d("+t+"px, 0, 0)",l.css("-"+o.cssPrefix+"-transition-duration",n/1e3+"s"),"slide"===i?(l.css(o.animProp,r),0!==n?l.bind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",function(t){e(t.target).is(l)&&(l.unbind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd"),clearTimeout(o.timeout),H())}):H()):"reset"===i?l.css(o.animProp,r):"ticker"===i&&(l.css("-"+o.cssPrefix+"-transition-timing-function","linear"),l.css(o.animProp,r),0!==n?l.bind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",function(t){e(t.target).is(l)&&(l.unbind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd"),x(s.resetValue,"reset",0),K())}):(x(s.resetValue,"reset",0),K()))):((a={})[o.animProp]=t,"slide"===i?l.animate(a,n,o.settings.easing,function(){H()}):"reset"===i?l.css(o.animProp,t):"ticker"===i&&l.animate(a,n,"linear",function(){x(s.resetValue,"reset",0),K()}))},S=function(){for(var t="",i="",n=y(),s=0;s<n;s++)i="",hideBullet=o.settings.responsive&&s%(o.settings.minSlides/D())!=0?" bx-pager-hidden":"",o.settings.buildPager&&e.isFunction(o.settings.buildPager)||o.settings.pagerCustom?(i=o.settings.buildPager(s),o.pagerEl.addClass("bx-custom-pager")):(i=s+1,o.pagerEl.addClass("bx-default-pager")),t+='<div class="bx-pager-item'+hideBullet+'"><a href="" data-slide-index="'+s+'" class="bx-pager-link">'+i+"</a></div>";o.pagerEl.html(t)},M=function(){o.settings.pagerCustom?o.pagerEl=e(o.settings.pagerCustom):(o.pagerEl=e('<div class="bx-pager" />'),o.settings.pagerSelector?e(o.settings.pagerSelector).html(o.pagerEl):o.controls.el.addClass("bx-has-pager").append(o.pagerEl),S()),o.pagerEl.on("click "+a,"a",N)},C=function(){o.controls.next=e('<a class="bx-next" '+(o.settings.oneLine?' style="margin-top:-50px;"':"")+' href=""><img src="/images/v4/Chevron-right.svg" alt="Droite" class="svg '+o.settings.classSpecialArrow+'"/></a>'),o.controls.prev=e('<a class="bx-prev" style="'+(o.settings.oneLine?"margin-top:-50px;":"")+(1==o.settings.arrowInside?"left:-30px;":"")+'" href=""><img src="/images/v4/Chevron-left.svg" alt="Gauche" class="svg '+o.settings.classSpecialArrow+'"/></a>'),o.controls.next.bind("click",A),o.controls.prev.bind("click",Y),o.settings.nextSelector&&e(o.settings.nextSelector).append(o.controls.next),o.settings.prevSelector&&e(o.settings.prevSelector).append(o.controls.prev),o.settings.nextSelector||o.settings.prevSelector||(o.controls.directionEl=e('<div class="bx-controls-direction" />'),o.controls.directionEl.append(o.controls.prev).append(o.controls.next),o.controls.el.addClass("bx-has-controls-direction").append(o.controls.directionEl))},T=function(){o.controls.start=e('<div class="bx-controls-auto-item"><a class="bx-start" href="">'+o.settings.startText+"</a></div>"),o.controls.stop=e('<div class="bx-controls-auto-item"><a class="bx-stop" href="">'+o.settings.stopText+"</a></div>"),o.controls.autoEl=e('<div class="bx-controls-auto" />'),o.controls.autoEl.on("click",".bx-start",E),o.controls.autoEl.on("click",".bx-stop",F),o.settings.autoControlsCombine?o.controls.autoEl.append(o.controls.start):o.controls.autoEl.append(o.controls.start).append(o.controls.stop),o.settings.autoControlsSelector?e(o.settings.autoControlsSelector).html(o.controls.autoEl):o.controls.el.addClass("bx-has-controls-auto").append(o.controls.autoEl),O(o.settings.autoStart?"stop":"start")},I=function(){o.children.each(function(t){var i=e(this).find("img:first").attr("title");void 0!==i&&(""+i).length&&e(this).append('<div class="bx-caption"><span>'+i+"</span></div>")})},A=function(e){e.preventDefault(),o.controls.el.hasClass("disabled")||(o.settings.auto&&o.settings.stopAutoOnClick&&l.stopAuto(),l.goToNextSlide(!0))},Y=function(e){e.preventDefault(),o.controls.el.hasClass("disabled")||(o.settings.auto&&o.settings.stopAutoOnClick&&l.stopAuto(),l.goToPrevSlide(!0))},E=function(e){l.startAuto(),e.preventDefault()},F=function(e){l.stopAuto(),e.preventDefault()},N=function(t){var i,n;t.preventDefault(),o.controls.el.hasClass("disabled")||(o.settings.auto&&o.settings.stopAutoOnClick&&l.stopAuto(),void 0!==(i=e(t.currentTarget)).attr("data-sli
5de-index")&&(n=parseInt(i.attr("data-slide-index")))!==o.active.index&&l.goToSlide(n,null,!0))},P=function(t){var i=o.children.length;if("short"===o.settings.pagerType)return o.settings.maxSlides>1&&(i=Math.ceil(o.children.length/o.settings.maxSlides)),void o.pagerEl.html(t+1+o.settings.pagerShortSeparator+i);o.pagerEl.find("a").removeClass("active"),o.pagerEl.each(function(i,n){var s=o.settings.responsive?t-t%(o.settings.minSlides/D()):t;e(n).find("a").eq(s).addClass("active")})},H=function(){if(o.settings.infiniteLoop){var e="";0===o.active.index?e=o.children.eq(0).position():o.active.index===y()-1&&o.carousel?e=o.children.eq((y()-1)*D()).position():o.active.index===o.children.length-1&&(e=o.children.eq(o.children.length-1).position()),e&&("horizontal"===o.settings.mode?x(-e.left,"reset",0):"vertical"===o.settings.mode&&x(-e.top,"reset",0))}o.working=!1,o.settings.onSlideAfter.call(l,o.children.eq(o.active.index),o.oldIndex,o.active.index)},O=function(e){o.settings.autoControlsCombine?o.controls.autoEl.html(o.controls[e]):(o.controls.autoEl.find("a").removeClass("active"),o.controls.autoEl.find("a:not(.bx-"+e+")").addClass("active"))},L=function(){1===y()?(o.controls.prev.addClass("disabled"),o.controls.next.addClass("disabled")):!o.settings.infiniteLoop&&o.settings.hideControlOnEnd&&(0===o.active.index?(o.controls.prev.addClass("disabled"),o.controls.next.removeClass("disabled")):o.active.index===y()-1?(o.controls.next.addClass("disabled"),o.controls.prev.removeClass("disabled")):(o.controls.prev.removeClass("disabled"),o.controls.next.removeClass("disabled")))},j=function(){if(o.settings.autoDelay>0)setTimeout(l.startAuto,o.settings.autoDelay);else l.startAuto(),e(window).focus(function(){l.startAuto()}).blur(function(){l.stopAuto()});o.settings.autoHover&&l.hover(function(){o.interval&&(l.stopAuto(!0),o.autoPaused=!0)},function(){o.autoPaused&&(l.startAuto(!0),o.autoPaused=null)})},z=function(){var t,i,n,s,a,r,d,c,h=0;"next"===o.settings.autoDirection?l.append(o.children.clone().addClass("bx-clone")):(l.prepend(o.children.clone().addClass("bx-clone")),t=o.children.first().position(),h="horizontal"===o.settings.mode?-t.left:-t.top),x(h,"reset",0),o.settings.pager=!1,o.settings.controls=!1,o.settings.autoControls=!1,o.settings.tickerHover&&(o.usingCSS?(s="horizontal"===o.settings.mode?4:5,o.viewport.hover(function(){i=l.css("-"+o.cssPrefix+"-transform"),n=parseFloat(i.split(",")[s]),x(n,"reset",0)},function(){c=0,o.children.each(function(t){c+="horizontal"===o.settings.mode?e(this).outerWidth(!0):e(this).outerHeight(!0)}),a=o.settings.speed/c,r="horizontal"===o.settings.mode?"left":"top",d=a*(c-Math.abs(parseInt(n))),K(d)})):o.viewport.hover(function(){l.stop()},function(){c=0,o.children.each(function(t){c+="horizontal"===o.settings.mode?e(this).outerWidth(!0):e(this).outerHeight(!0)}),a=o.settings.speed/c,r="horizontal"===o.settings.mode?"left":"top",d=a*(c-Math.abs(parseInt(l.css(r)))),K(d)})),K()},K=function(e){var t,i,n=e||o.settings.speed,s={left:0,top:0},a={left:0,top:0};"next"===o.settings.autoDirection?s=l.find(".bx-clone").first().position():a=o.children.first().position(),t="horizontal"===o.settings.mode?-s.left:-s.top,i="horizontal"===o.settings.mode?-a.left:-a.top,x(t,"ticker",n,{resetValue:i})},W=function(t){var i=document.activeElement.tagName.toLowerCase();if(null==new RegExp(i,["i"]).exec("input|textarea")&&function(t){var i=e(window),n={top:i.scrollTop(),left:i.scrollLeft()},s=t.offset();return n.right=n.left+i.width(),n.bottom=n.top+i.height(),s.right=s.left+t.outerWidth(),s.bottom=s.top+t.outerHeight(),!(n.right<s.left||n.left>s.right||n.bottom<s.top||n.top>s.bottom)}(l)){if(39===t.keyCode)return A(t),!1;if(37===t.keyCode)return Y(t),!1}},R=function(){o.touch={start:{x:0,y:0},latest:{x:0,y:0},velocity:{x:0,y:0},end:{x:0,y:0}},o.viewport.bind(n,B),o.viewport.on("click",".bxslider a",function(e){o.viewport.hasClass("click-disabled")&&(e.preventDefault(),o.viewport.removeClass("click-disabled"))}),o.viewport.bind("dragstart",q)},q=function(e){return e.stopPropagation(),e.preventDefault(),!1},B=function(t){if(!e(t.target).closest("ul").hasClass("megaban-html-overflow-scroll")||"none"==e("#site_mobile").css("display"))if(o.controls.el.addClass("disabled"),o.working&&!o.settings.parkinson)t.preventDefault(),o.controls.el.removeClass("disabled");else{o.touch.originalPos=l.position();var i=t.originalEvent,n=void 0!==i.changedTouches?i.changedTouches:[i];o.touch.start.x=n[0].pageX,o.touch.start.y=n[0].pageY,o.touch.latest.x=n[0].pageX,o.touch.latest.y=n[0].pageY,o.viewport.get(0).setPointerCapture&&(o.pointerId=i.pointerId,o.pointerId&&o.viewport.get(0).setPointerCapture(o.pointerId)),o.viewport.bind(s+" MSPointerMove pointermove",V),e(document).bind(a+" MSPointerUp pointerup",X),o.viewport.bind("MSPointerCancel pointercancel",U)}},U=function(t){t.preventDefault(),x(o.touch.originalPos.left,"reset",0),o.controls.el.removeClass("disabled"),o.viewport.unbind("MSPointerCancel pointercancel",U),o.viewport.unbind(s+" MSPointerMove pointermove",V),e(document).unbind(a+" MSPointerUp pointerup",X),o.viewport.get(0).releasePointerCapture&&o.pointerId&&o.viewport.get(0).releasePointerCapture(o.pointerId)},V=function(t){if(!e(t.target).closest("ul").hasClass("megaban-html-overflow-scroll")||"none"==e("#site_mobile").css("display")){var i=t.originalEvent,n=void 0!==i.changedTouches?i.changedTouches:[i],s=Math.abs(n[0].pageX-o.touch.start.x),a=Math.abs(n[0].pageY-o.touch.start.y),r=0,d=0;if(o.touch.velocity.y=o.touch.latest.y-Math.abs(n[0].pageY),o.touch.velocity.x=o.touch.latest.x-Math.abs(n[0].pageX),o.touch.latest.x=n[0].pageX,o.touch.latest.y=n[0].pageY,(o.touch.start.x!=o.touch.latest.x||o.touch.start.y!=o.touch.latest.y)&&((3*s>a&&o.settings.preventDefaultSwipeX||3*a>s&&o.settings.preventDefaultSwipeY)&&t.preventDefault(),"fade"!==o.settings.mode&&o.settings.oneToOneTouch)
5){if("horizontal"===o.settings.mode?(d=n[0].pageX-o.touch.start.x,r=o.touch.originalPos.left+d):(d=n[0].pageY-o.touch.start.y,r=o.touch.originalPos.top+d),Math.abs(d)<o.settings.touchThreshold)return;l.parent().addClass("bx-moving"),o.settings.infiniteLoop&&(r>0&&(r-=o.limit.step),r<o.limit.min&&(r+=o.limit.step)),x(r,"reset",0)}}},X=function(t){if(!e(t.target).closest("ul").hasClass("megaban-html-overflow-scroll")||"none"==e("#site_mobile").css("display")){l.parent().removeClass("bx-moving"),o.viewport.unbind(s+" MSPointerMove pointermove",V),o.controls.el.removeClass("disabled");var i,n,r,d,c=t.originalEvent,h=void 0!==c.changedTouches?c.changedTouches:[c],u=0,p=0;o.touch.end.x=h[0].pageX,o.touch.end.y=h[0].pageY,"fade"===o.settings.mode?(p=Math.abs(o.touch.start.x-o.touch.end.x))>=o.settings.swipeThreshold&&(o.touch.start.x>o.touch.end.x?l.goToNextSlide(!0):l.goToPrevSlide(!0),l.stopAuto()):("horizontal"===o.settings.mode?(p=o.touch.end.x-o.touch.start.x,u=o.touch.originalPos.left):(p=o.touch.end.y-o.touch.start.y,u=o.touch.originalPos.top),!o.settings.infiniteLoop&&(0===o.active.index&&p>0||o.active.last&&p<0)?x(u,"reset",200):Math.abs(p)>=o.settings.swipeThreshold?(Math.abs(p)>o.children.outerWidth()?(i=b(),n=null,r=null,d=null,l.children(o.settings.slideSelector).each(function(e){var t=Math.abs(this.offsetLeft+i),s=_(),a=o.children.length;(!n||n>t)&&(n=t,r=this.offsetLeft,d=o.settings.infiniteLoop?(e-s)%a:e)}),o.settings.infiniteLoop&&(d<0?(r+=o.limit.step,x(i-o.limit.step,"reset",0)):d==o.children.length&&(r-=o.limit.step,x(i+o.limit.step,"reset",0))),d=d<0?o.children.length+d:d,o.oldIndex=o.active.index,o.active.index=d,o.settings.pager&&P(d),x(-r,"reset",200),o.settings.adaptiveHeight&&o.viewport.height()!=m()&&o.viewport.animate({height:m()},o.settings.adaptiveHeightSpeed),o.settings.onSlideBefore(o.children.eq(o.active.index),o.oldIndex,o.active.index),setTimeout(function(){o.settings.onSlideAfter(o.children.eq(o.active.index),o.oldIndex,o.active.index)},200)):p<0?l.goToNextSlide():l.goToPrevSlide(),l.stopAuto()):x(u,"reset",200)),e(document).unbind(a+" MSPointerUp pointerup",X)}},J=function(t){if(o.initialized)if(o.working)window.setTimeout(J,10);else{var i=e(window).width(),n=e(window).height();d===i&&c===n||(d=i,c=n,l.redrawSlider(),o.settings.onSliderResize.call(l,o.active.index))}},G=function(e){var t=_();o.settings.ariaHidden&&!o.settings.ticker&&(o.children.attr("aria-hidden","true"),o.children.slice(e,e+t).attr("aria-hidden","false"))};return l.goToSlide=function(t,i,n){if(!o.working||o.settings.parkinson){var s,a,r,d=!0,c=0,h={left:0,top:0},u=null;if(o.oldIndex=o.active.index,o.active.index=function(e){return e<0?o.settings.infiniteLoop?y()-1:o.active.index:e>=y()?o.settings.infiniteLoop?0:o.active.index:e}(t),o.active.index!==o.oldIndex){if(o.working=!0,void 0!==(d=o.settings.onSlideBefore.call(l,o.children.eq(o.active.index),o.oldIndex,o.active.index))&&!d)return o.active.index=o.oldIndex,void(o.working=!1);if("next"===i?o.settings.onSlideNext.call(l,o.children.eq(o.active.index),o.oldIndex,o.active.index)||(d=!1):"prev"===i&&(o.settings.onSlidePrev.call(l,o.children.eq(o.active.index),o.oldIndex,o.active.index)||(d=!1)),o.active.last=o.active.index>=y()-1,(o.settings.pager||o.settings.pagerCustom)&&P(o.active.index),o.settings.controls&&L(),"fade"===o.settings.mode)o.settings.adaptiveHeight&&o.viewport.height()!==m()&&o.viewport.animate({height:m()},o.settings.adaptiveHeightSpeed),o.children.filter(":visible").fadeOut(o.settings.speed).css({zIndex:0}),o.children.eq(o.active.index).css("zIndex",o.settings.slideZIndex+1).fadeIn(o.settings.speed,function(){e(this).css("zIndex",o.settings.slideZIndex),H()});else if(o.settings.adaptiveHeight&&o.viewport.height()!==m()&&o.viewport.animate({height:m()},o.settings.adaptiveHeightSpeed),!o.settings.infiniteLoop&&o.carousel&&o.active.last?"horizontal"===o.settings.mode?(h=(u=o.children.eq(o.children.length-1)).position(),c=o.viewport.width()-u.outerWidth()):(s=o.children.length-o.settings.minSlides,h=o.children.eq(s).position()):o.carousel&&o.active.last&&"prev"===i?(a=1===o.settings.moveSlides?o.settings.maxSlides-D():(y()-1)*D()-(o.children.length-o.settings.maxSlides),h=(u=l.children(".bx-clone").eq(a)).position()):"next"===i&&0===o.active.index?(h=l.find("> .bx-clone").eq(o.settings.maxSlides).position(),o.active.last=!1):t>=0&&(r=t*parseInt(D()),h=o.children.eq(r).position()),void 0!==h){var p="horizontal"===o.settings.mode?-(h.left-c):-h.top,g="horizontal"==o.settings.mode?-o.touch.velocity.x:-o.touch.velocity.y,f=b();o.settings.infiniteLoop&&o.settings.parkinson&&(t<0?(p-=o.limit.step,x(f-o.limit.step,"reset",0)):t==o.children.length&&(p+=o.limit.step,x(f+o.limit.step,"reset",0))),f=b(),x(f+g,"reset"),f=Math.abs(f-p);var v=k(),_=o.settings.moveSlides*v||v,w=Math.abs(f)%_,S=!w||n?1:w/_;x(p,"slide",o.settings.speed*S)}else o.working=!1;o.settings.ariaHidden&&G(o.active.index*D())}}},l.goToNextSlide=function(e){if(o.settings.infiniteLoop||!o.active.last){var t=parseInt(o.active.index)+1;o.touch.velocity.x=0,o.touch.velocity.y=0,l.goToSlide(t,"next",e)}},l.goToPrevSlide=function(e){if(o.settings.infiniteLoop||0!==o.active.index){var t=parseInt(o.active.index)-1;o.touch.velocity.x=0,o.touch.velocity.y=0,l.goToSlide(t,"prev",e)}},l.startAuto=function(e){o.interval||(o.interval=setInterval(function(){"next"===o.settings.autoDirection?l.goToNextSlide(!0):l.goToPrevSlide(!0)},o.settings.pause),o.settings.autoControls&&!0!==e&&O("stop"))},l.stopAuto=function(e){o.interval&&(clearInterval(o.interval),o.interval=null,o.settings.autoControls&&!0!==e&&O("start"))},l.getCurrentSlide=function(){return o.active.index},l.getCurrentSlideElement=function(){return o.children.eq(o.active.index)},l.getSlideElement=function(e){return o.children.eq(e)},l.getSlideCount=function(){return o.children.length},l.isWorking=function(){return o.working},l.redrawSlider=function(){o.children.add(l.find(".bx-clone")).outerWidth(k()),o.viewport.css("height",m()),o.settings.ticker||w(),o.active.last&&(o.active.index=y()-1),o.active.index>=y()&&(o.active.last=!0),o.settings.pager&&!o.settings.pagerCustom&&(S(),P(o.active.index)),o.settings.ariaHidden&&G(o.active.index*D())},l.destroySlider=function(){o.initialized&&(o.initialized=!1,e(".bx-clone",this).remove(),o.children.each(function(){void 0!==e(this).data("origStyle")?e(this).attr("style",e(this).data("origStyle")):e(this).removeAttr("style")}),void 0!==e(this).data("origStyle")?this.attr("style",e(this).data("origStyle")):e(this).removeAttr("style"),e(this).unwrap().unwrap(),o.controls.el&&o.controls.el.remove(),o.controls.next&&o.controls.next.remove(),o.controls.prev&&o.controls.prev.remove(),o.pagerEl&&o.settings.controls&&!o.settings.pagerCustom&&o.pagerEl.remove(),e(".bx-caption",this).remove(),o.controls.autoEl&&o.controls.autoEl.remove(),clearInterval(o.interval),o.settings.responsive&&e(window).unbind("resize",J),o.settings.keyboardEnabled&&e(document).unbind("
5keydown",W),e(this).removeData("bxSlider"))},l.reloadSlider=function(i){void 0!==i&&(t=i),l.destroySlider(),h(),e(l).data("bxSlider",this)},h(),e(l).data("bxSlider",this),this}}}(jQuery),function(e){e.cookieBar=function(t,i){if("cookies"==t)var n="cookies";else if("set"==t)n="set";else n=!1;var s={message:" Les cookies nous permettent de personnaliser le contenu et les annonces, d'offrir des fonctionnalités relatives aux médias sociaux et d'analyser notre trafic. Nous partageons également des informations sur l'utilisation de notre site avec nos partenaires de médias sociaux, de publicité et d'analyse, qui peuvent combiner celles-ci avec d'autres informations que vous leur avez fournies ou qu'ils ont collectées lors de votre utilisation de leurs services.",acceptButton:!0,acceptText:"J'accepte",acceptFunction:function(e){"enabled"!=e&&"accepted"!=e&&(window.location=window.location.href)},declineButton:!1,declineText:"Je refuse",declineFunction:function(e){"enabled"!=e&&"accepted"!=e||(window.location=window.location.href)},policyButton:!1,policyText:"Privacy Policy",policyURL:"/privacy-policy/",autoEnable:!0,acceptOnContinue:!1,acceptOnScroll:!1,acceptAnyClick:!1,expireDays:365,renewOnVisit:!1,forceShow:!1,effect:"slide",element:"body",append:!1,fixed:!1,bottom:!1,zindex:"",domain:String(window.location.hostname),referrer:String(document.referrer)},a=(t=e.extend(s,t),new Date);a.setTime(a.getTime()+864e5*t.expireDays);var r,o,l="cb-enabled={value}; expires="+(a=a.toGMTString())+"; path=/",d="",c=document.cookie.split("; ");for(r=0;r<c.length;r++)"cb-enabled"==(o=c[r].split("="))[0]&&(d=o[1]);if(""==d&&"cookies"!=n&&t.autoEnable?(d="enabled",document.cookie=l.replace("{value}","enabled")):"accepted"!=d&&"declined"!=d||"cookies"==n||!t.renewOnVisit||(document.cookie=l.replace("{value}",d)),t.acceptOnContinue&&t.referrer.indexOf(t.domain)>=0&&-1==String(window.location.href).indexOf(t.policyURL)&&"cookies"!=n&&"set"!=n&&"accepted"!=d&&"declined"!=d&&(n="set",i="accepted"),"cookies"==n)return"enabled"==d||"accepted"==d;if("set"==n&&("accepted"==i||"declined"==i))return document.cookie=l.replace("{value}",i),"accepted"==i;var h=t.message.replace("{policy_url}",t.policyURL);if(t.acceptButton)var u='<a href="" class="cb-enable">'+t.acceptText+"</a>";else u="";if(t.declineButton)var p='<a href="" class="cb-disable">'+t.declineText+"</a>";else p="";if(t.policyButton)var g='<a href="'+t.policyURL+'" class="cb-policy">'+t.policyText+"</a>";else g="";if(t.fixed)if(t.bottom)var f=' class="fixed bottom"';else f=' class="fixed"';else f="";if(""!=t.zindex)var m=' style="z-index:'+t.zindex+';"';else m="";(t.forceShow||"enabled"==d||""==d)&&(t.append?e(t.element).append('<div id="cookie-bar"'+f+m+"><p>"+h+u+p+g+"</p></div>"):e(t.element).prepend('<div id="cookie-bar"'+f+m+"><p>"+h+u+p+g+"</p></div>"));var v=function(i){t.acceptOnScroll&&e(document).off("scroll"),"function"==typeof i&&i(d),"slide"==t.effect?e("#cookie-bar").slideUp(300,function(){e("#cookie-bar").remove()}):"fade"==t.effect?e("#cookie-bar").fadeOut(300,function(){e("#cookie-bar").remove()}):e("#cookie-bar").hide(0,function(){e("#cookie-bar").remove()}),e(document).unbind("click",_)},k=function(){document.cookie=l.replace("{value}","accepted"),v(t.acceptFunction)},_=function(t){e(t.target).hasClass("cb-policy")||k()};if(e("#cookie-bar .cb-enable").click(function(){return k(),!1}),e("#cookie-bar .cb-disable").click(function(){return function(){var e=new Date;for(e.setTime(e.getTime()-864e6),e=e.toGMTString(),c=document.cookie.split("; "),r=0;r<c.length;r++)(o=c[r].split("="))[0].indexOf("_")>=0?document.cookie=o[0]+"=0; expires="+e+"; domain="+t.domain.replace("www","")+"; path=/":document.cookie=o[0]+"=0; expires="+e+"; path=/";document.cookie=l.replace("{value}","declined"),v(t.declineFunction)}(),!1}),t.acceptOnScroll){var y,D=e(document).scrollTop();e(document).on("scroll",function(){y=e(document).scrollTop(),(y>D?y-D:D-y)>=Math.round(t.acceptOnScroll)&&k()})}t.acceptAnyClick&&e(document).bind("click",_)}}(jQuery), 6/*! 7 * headroom.js v0.9.3 - Give your page some headroom. Hide your header until you need it 8 * Copyright (c) 2016 Nick Williams - http://wicky.nillia.ms/headroom.js 9 * License: MIT 10 */ 11function(e,t){"use strict";"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?module.exports=t():e.Headroom=t()}(this,function(){"use strict";var e={bind:!!function(){}.bind,classList:"classList"in document.documentElement,rAF:!!(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame)};function t(e){this.callback=e,this.ticking=!1}function i(e){return e&&"undefined"!=typeof window&&(e===window||e.nodeType)}function n(e){if(arguments.length<=0)throw new Error("Missing arguments in extend function");var t,s,a=e||{};for(s=1;s<arguments.length;s++){var r=arguments[s]||{};for(t in r)"object"!=typeof a[t]||i(a[t])?a[t]=a[t]||r[t]:a[t]=n(a[t],r[t])}return a}function s(e,t){var i;t=n(t,s.options),this.lastKnownScrollY=0,this.elem=e,this.tolerance=(i=t.tolerance)===Object(i)?i:{down:i,up:i},this.classes=t.classes,this.offset=t.offset,this.scroller=t.scroller,this.initialised=!1,this.onPin=t.onPin,this.onUnpin=t.onUnpin,this.onTop=t.onTop,this.onNotTop=t.onNotTop,this.onBottom=t.onBottom,this.onNotBottom=t.onNotBottom}return window.requestAnimationFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame,t.prototype={constructor:t,update:function(){this.callback&&this.callback(),this.ticking=!1},requestTick:function(){this.ticking||(requestAnimationFrame(this.rafCallback||(this.rafCallback=this.update.bind(this))),this.ticking=!0)},handleEvent:function(){this.requestTick()}},s.prototype={constructor:s,init:function(){if(s.cutsTheMustard)return this.debouncer=new t(this.update.bind(this)),this.elem.classList.add(this.classes.initial),setTimeout(this.attachEvent.bind(this),100),this},destroy:function(){var e=this.classes;this.initialised=!1,this.elem.classList.remove(e.unpinned,e.pinned,e.top,e.notTop,e.initial),this.scroller.removeEventListener("scroll",this.debouncer,!1)},attachEvent:function(){this.initialised||(this.lastKnownScrollY=this.getScrollY(),this.initialised=!0,this.scroller.addEventListener("scroll",this.debouncer,!1),this.debouncer.handleEvent())},unpin:function(){var e=this.elem.classList,t=this.classes;!e.contains(t.pinned)&&e.contains(t.unpinned)||(e.add(t.unpinned),e.remove(t.pinned),this.onUnpin&&this.onUnpin.call(this))},pin:function(){var e=this.elem.classList,t=this.classes;e.contains(t.unpinned)&&(e.remove(t.unpinned),e.add(t.pinned),this.onPin&&this.onPin.call(this))},top:function(){var e=this.elem.classList,t=this.classes;e.contains(t.top)||(e.add(t.top),e.remove(t.notTop),this.onTop&&this.onTop.call(this))},notTop:function(){var e=this.elem.classList,t=this.classes;e.contains(t.notTop)||(e.add(t.notTop),e.remove(t.top),this.onNotTop&&this.onNotTop.call(this))},bottom:function(){var e=this.elem.classList,t=this.classes;e.contains(t.bottom)||(e.add(t.bottom),e.remove(t.notBottom),this.onBottom&&this.onBottom.call(this))},notBottom:function(){var e=this.elem.classList,t=this.classes;e.contains(t.notBottom)||(e.add(t.notBottom),e.remove(t.bottom),this.onNotBottom&&this.onNotBottom.call(this))},getScrollY:function(){return void 0!==this.scroller.pageYOffset?this.scroller.pageYOffset:void 0!==this.scroller.scrollTop?this.scroller.scrollTop:(document.documentElement||document.body.parentNode||document.body).scrollTop}
11,getViewportHeight:function(){return window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight},getElementPhysicalHeight:function(e){return Math.max(e.offsetHeight,e.clientHeight)},getScrollerPhysicalHeight:function(){return this.scroller===window||this.scroller===document.body?this.getViewportHeight():this.getElementPhysicalHeight(this.scroller)},getDocumentHeight:function(){var e=document.body,t=document.documentElement;return Math.max(e.scrollHeight,t.scrollHeight,e.offsetHeight,t.offsetHeight,e.clientHeight,t.clientHeight)},getElementHeight:function(e){return Math.max(e.scrollHeight,e.offsetHeight,e.clientHeight)},getScrollerHeight:function(){return this.scroller===window||this.scroller===document.body?this.getDocumentHeight():this.getElementHeight(this.scroller)},isOutOfBounds:function(e){var t=e<0,i=e+this.getScrollerPhysicalHeight()>this.getScrollerHeight();return t||i},toleranceExceeded:function(e,t){return Math.abs(e-this.lastKnownScrollY)>=this.tolerance[t]},shouldUnpin:function(e,t){var i=e>this.lastKnownScrollY,n=e>=this.offset;return i&&n&&t},shouldPin:function(e,t){var i=e<this.lastKnownScrollY,n=e<=this.offset;return i&&t||n},update:function(){var e=this.getScrollY(),t=e>this.lastKnownScrollY?"down":"up",i=this.toleranceExceeded(e,t);this.isOutOfBounds(e)||(e<=this.offset?this.top():this.notTop(),e+this.getViewportHeight()>=this.getScrollerHeight()?this.bottom():this.notBottom(),this.shouldUnpin(e,i)?this.unpin():this.shouldPin(e,i)&&this.pin(),this.lastKnownScrollY=e)}},s.options={tolerance:{up:0,down:0},offset:0,scroller:window,classes:{pinned:"headroom--pinned",unpinned:"headroom--unpinned",top:"headroom--top",notTop:"headroom--not-top",bottom:"headroom--bottom",notBottom:"headroom--not-bottom",initial:"headroom"}},s.cutsTheMustard=e.rAF&&e.bind&&e.classList,s});
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.