/*! jQuery UI - v1.13.3 - 2024-05-24 * https://jqueryui.com * Includes: widget.js, position.js, data.js, disable-selection.js, focusable.js, form-reset-mixin.js, jquery-patch.js, keycode.js, labels.js, scroll-parent.js, tabbable.js, unique-id.js, widgets/datepicker.js * Copyright OpenJS Foundation and other contributors; Licensed MIT */ !function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(J){"use strict";J.ui=J.ui||{};J.ui.version="1.13.3";var s,a,w,b,n,r,o,l,c,i,d=0,h=Array.prototype.hasOwnProperty,u=Array.prototype.slice;J.cleanData=(s=J.cleanData,function(t){for(var e,i,a=0;null!=(i=t[a]);a++)(e=J._data(i,"events"))&&e.remove&&J(i).triggerHandler("remove");s(t)}),J.widget=function(t,i,e){var a,s,n,r={},o=t.split(".")[0],l=o+"-"+(t=t.split(".")[1]);return e||(e=i,i=J.Widget),Array.isArray(e)&&(e=J.extend.apply(null,[{}].concat(e))),J.expr.pseudos[l.toLowerCase()]=function(t){return!!J.data(t,l)},J[o]=J[o]||{},a=J[o][t],s=J[o][t]=function(t,e){if(!this||!this._createWidget)return new s(t,e);arguments.length&&this._createWidget(t,e)},J.extend(s,a,{version:e.version,_proto:J.extend({},e),_childConstructors:[]}),(n=new i).options=J.widget.extend({},n.options),J.each(e,function(e,a){function s(){return i.prototype[e].apply(this,arguments)}function n(t){return i.prototype[e].apply(this,t)}r[e]="function"!=typeof a?a:function(){var t,e=this._super,i=this._superApply;return this._super=s,this._superApply=n,t=a.apply(this,arguments),this._super=e,this._superApply=i,t}}),s.prototype=J.widget.extend(n,{widgetEventPrefix:a&&n.widgetEventPrefix||t},r,{constructor:s,namespace:o,widgetName:t,widgetFullName:l}),a?(J.each(a._childConstructors,function(t,e){var i=e.prototype;J.widget(i.namespace+"."+i.widgetName,s,e._proto)}),delete a._childConstructors):i._childConstructors.push(s),J.widget.bridge(t,s),s},J.widget.extend=function(t){for(var e,i,a=u.call(arguments,1),s=0,n=a.length;s",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,e){e=J(e||this.defaultElement||this)[0],this.element=J(e),this.uuid=d++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=J(),this.hoverable=J(),this.focusable=J(),this.classesElementLookup={},e!==this&&(J.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=J(e.style?e.ownerDocument:e.document||e),this.window=J(this.document[0].defaultView||this.document[0].parentWindow)),this.options=J.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:J.noop,_create:J.noop,_init:J.noop,destroy:function(){var i=this;this._destroy(),J.each(this.classesElementLookup,function(t,e){i._removeClass(e,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:J.noop,widget:function(){return this.element},option:function(t,e){var i,a,s,n=t;if(0===arguments.length)return J.widget.extend({},this.options);if("string"==typeof t)if(n={},t=(i=t.split(".")).shift(),i.length){for(a=n[t]=J.widget.extend({},this.options[t]),s=0;s
")).children()[0],J("body").append(e),t=i.offsetWidth,e.css("overflow","scroll"),t===(i=i.offsetWidth)&&(i=e[0].clientWidth),e.remove(),a=t-i)},getScrollInfo:function(t){var e=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),i=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),e="scroll"===e||"auto"===e&&t.widthw(b(a),b(s))?n.important="horizontal":n.important="vertical",h.using.call(this,t,n)}),r.offset(J.extend(c,{using:t}))})):i.apply(this,arguments)},J.ui.position={fit:{left:function(t,e){var i,a=e.within,s=a.isWindow?a.scrollLeft:a.offset.left,a=a.width,n=t.left-e.collisionPosition.marginLeft,r=s-n,o=n+e.collisionWidth-a-s;e.collisionWidth>a?0s?0"))}function m(t){var e="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return t.on("mouseout",e,function(){J(this).removeClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&J(this).removeClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&J(this).removeClass("ui-datepicker-next-hover")}).on("mouseover",e,k)}function k(){J.datepicker._isDisabledDatepicker((f.inline?f.dpDiv.parent():f.input)[0])||(J(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),J(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&J(this).addClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&J(this).addClass("ui-datepicker-next-hover"))}function y(t,e){for(var i in J.extend(t,e),e)null==e[i]&&(t[i]=e[i])}J.extend(J.ui,{datepicker:{version:"1.13.3"}}),J.extend(_.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(t){return y(this._defaults,t||{}),this},_attachDatepicker:function(t,e){var i,a=t.nodeName.toLowerCase(),s="div"===a||"span"===a;t.id||(this.uuid+=1,t.id="dp"+this.uuid),(i=this._newInst(J(t),s)).settings=J.extend({},e||{}),"input"===a?this._connectDatepicker(t,i):s&&this._inlineDatepicker(t,i)},_newInst:function(t,e){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:e,dpDiv:e?m(J("
")):this.dpDiv}},_connectDatepicker:function(t,e){var i=J(t);e.append=J([]),e.trigger=J([]),i.hasClass(this.markerClassName)||(this._attachments(i,e),i.addClass(this.markerClassName).on("keydown",this._doKeyDown).on("keypress",this._doKeyPress).on("keyup",this._doKeyUp),this._autoSize(e),J.data(t,"datepicker",e),e.settings.disabled&&this._disableDatepicker(t))},_attachments:function(t,e){var i,a=this._get(e,"appendText"),s=this._get(e,"isRTL");e.append&&e.append.remove(),a&&(e.append=J("").addClass(this._appendClass).text(a),t[s?"before":"after"](e.append)),t.off("focus",this._showDatepicker),e.trigger&&e.trigger.remove(),"focus"!==(a=this._get(e,"showOn"))&&"both"!==a||t.on("focus",this._showDatepicker),"button"!==a&&"both"!==a||(a=this._get(e,"buttonText"),i=this._get(e,"buttonImage"),this._get(e,"buttonImageOnly")?e.trigger=J("").addClass(this._triggerClass).attr({src:i,alt:a,title:a}):(e.trigger=J("