PageSourceSearch

https://samorzad.gov.pl/scripts/vendors/jquery-ui-1.12.1.min.js

js samorzad.gov.pl collected 2026-10-09 22:41:31 UTC 91,580 bytes, 1,810 lines download raw bytes

1"use strict";
2
3function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
4
5/*! jQuery UI - v1.12.1 - 2020-11-03
6* http://jqueryui.com
7* Includes: widget.js, data.js, keycode.js, scroll-parent.js, widgets/draggable.js, widgets/datepicker.js, widgets/mouse.js
8* Copyright jQuery Foundation and other contributors; Licensed MIT */
9!function (t) {
10  "function" == typeof define && define.amd ? define(["jquery"], t) : t(jQuery);
11}(function (t) {
12  t.ui = t.ui || {};
13  t.ui.version = "1.12.1";
14  /*!
15   * jQuery UI Widget 1.12.1
16   * http://jqueryui.com
17   *
18   * Copyright jQuery Foundation and other contributors
19   * Released under the MIT license.
20   * http://jquery.org/license
21   */
22
23  var e,
24      i = 0,
25      s = Array.prototype.slice;
26  t.cleanData = (e = t.cleanData, function (i) {
27    var s, a, n;
28
29    for (n = 0; null != (a = i[n]); n++) {
30      try {
31        (s = t._data(a, "events")) && s.remove && t(a).triggerHandler("remove");
32      } catch (t) {}
33    }
34
35    e(i);
36  }), t.widget = function (e, i, s) {
37    var a,
38        n,
39        r,
40        o = {},
41        l = e.split(".")[0],
42        h = l + "-" + (e = e.split(".")[1]);
43    return s || (s = i, i = t.Widget), t.isArray(s) && (s = t.extend.apply(null, [{}].concat(s))), t.expr[":"][h.toLowerCase()] = function (e) {
44      return !!t.data(e, h);
45    }, t[l] = t[l] || {}, a = t[l][e], n = t[l][e] = function (t, e) {
46      if (!this._createWidget) return new n(t, e);
47      arguments.length && this._createWidget(t, e);
48    }, t.extend(n, a, {
49      version: s.version,
50      _proto: t.extend({}, s),
51      _childConstructors: []
52    }), (r = new i()).options = t.widget.extend({}, r.options), t.each(s, function (e, s) {
53      t.isFunction(s) ? o[e] = function () {
54        function t() {
55          return i.prototype[e].apply(this, arguments);
56        }
57
58        function a(t) {
59          return i.prototype[e].apply(this, t);
60        }
61
62        return function () {
63          var e,
64              i = this._super,
65              n = this._superApply;
66          return this._super = t, this._superApply = a, e = s.apply(this, arguments), this._super = i, this._superApply = n, e;
67        };
68      }
vendor: 9,916 bytes, lines 68-304
68() : o[e] = s;
69    }), n.prototype = t.widget.extend(r, {
70      widgetEventPrefix: a && r.widgetEventPrefix || e
71    }, o, {
72      constructor: n,
73      namespace: l,
74      widgetName: e,
75      widgetFullName: h
76    }), a ? (t.each(a._childConstructors, function (e, i) {
77      var s = i.prototype;
78      t.widget(s.namespace + "." + s.widgetName, n, i._proto);
79    }), delete a._childConstructors) : i._childConstructors.push(n), t.widget.bridge(e, n), n;
80  }, t.widget.extend = function (e) {
81    for (var i, a, n = s.call(arguments, 1), r = 0, o = n.length; r < o; r++) {
82      for (i in n[r]) {
83        a = n[r][i], n[r].hasOwnProperty(i) && void 0 !== a && (t.isPlainObject(a) ? e[i] = t.isPlainObject(e[i]) ? t.widget.extend({}, e[i], a) : t.widget.extend({}, a) : e[i] = a);
84      }
85    }
86
87    return e;
88  }, t.widget.bridge = function (e, i) {
89    var a = i.prototype.widgetFullName || e;
90
91    t.fn[e] = function (n) {
92      var r = "string" == typeof n,
93          o = s.call(arguments, 1),
94          l = this;
95      return r ? this.length || "instance" !== n ? this.each(function () {
96        var i,
97            s = t.data(this, a);
98        return "instance" === n ? (l = s, !1) : s ? t.isFunction(s[n]) && "_" !== n.charAt(0) ? (i = s[n].apply(s, o)) !== s && void 0 !== i ? (l = i && i.jquery ? l.pushStack(i.get()) : i, !1) : void 0 : t.error("no such method '" + n + "' for " + e + " widget instance") : t.error("cannot call methods on " + e + " prior to initialization; attempted to call method '" + n + "'");
99      }) : l = void 0 : (o.length && (n = t.widget.extend.apply(null, [n].concat(o))), this.each(function () {
100        var e = t.data(this, a);
101        e ? (e.option(n || {}), e._init && e._init()) : t.data(this, a, new i(n, this));
102      })), l;
103    };
104  }, t.Widget = function () {}, t.Widget._childConstructors = [], t.Widget.prototype = {
105    widgetName: "widget",
106    widgetEventPrefix: "",
107    defaultElement: "<div>",
108    options: {
109      classes: {},
110      disabled: !1,
111      create: null
112    },
113    _createWidget: function _createWidget(e, s) {
114      s = t(s || this.defaultElement || this)[0], this.element = t(s), this.uuid = i++, this.eventNamespace = "." + this.widgetName + this.uuid, this.bindings = t(), this.hoverable = t(), this.focusable = t(), this.classesElementLookup = {}, s !== this && (t.data(s, this.widgetFullName, this), this._on(!0, this.element, {
115        remove: function remove(t) {
116          t.target === s && this.destroy();
117        }
118      }), this.document = t(s.style ? s.ownerDocument : s.document || s), this.window = t(this.document[0].defaultView || this.document[0].parentWindow)), this.options = t.widget.extend({}, this.options, this._getCreateOptions(), e), this._create(), this.options.disabled && this._setOptionDisabled(this.options.disabled), this._trigger("create", null, this._getCreateEventData()), this._init();
119    },
120    _getCreateOptions: function _getCreateOptions() {
121      return {};
122    },
123    _getCreateEventData: t.noop,
124    _create: t.noop,
125    _init: t.noop,
126    destroy: function destroy() {
127      var e = this;
128      this._destroy(), t.each(this.classesElementLookup, function (t, i) {
129        e._removeClass(i, t);
130      }), this.element.off(this.eventNamespace).removeData(this.widgetFullName), this.widget().off(this.eventNamespace).removeAttr("aria-disabled"), this.bindings.off(this.eventNamespace);
131    },
132    _destroy: t.noop,
133    widget: function widget() {
134      return this.element;
135    },
136    option: function option(e, i) {
137      var s,
138          a,
139          n,
140          r = e;
141      if (0 === arguments.length) return t.widget.extend({}, this.options);
142      if ("string" == typeof e) if (r = {}, e = (s = e.split(".")).shift(), s.length) {
143        for (a = r[e] = t.widget.extend({}, this.options[e]), n = 0; n < s.length - 1; n++) {
144          a[s[n]] = a[s[n]] || {}, a = a[s[n]];
145        }
146
147        if (e = s.pop(), 1 === arguments.length) return void 0 === a[e] ? null : a[e];
148        a[e] = i;
149      } else {
150        if (1 === arguments.length) return void 0 === this.options[e] ? null : this.options[e];
151        r[e] = i;
152      }
153      return this._setOptions(r), this;
154    },
155    _setOptions: function _setOptions(t) {
156      var e;
157
158      for (e in t) {
159        this._setOption(e, t[e]);
160      }
161
162      return this;
163    },
164    _setOption: function _setOption(t, e) {
165      return "classes" === t && this._setOptionClasses(e), this.options[t] = e, "disabled" === t && this._setOptionDisabled(e), this;
166    },
167    _setOptionClasses: function _setOptionClasses(e) {
168      var i, s, a;
169
170      for (i in e) {
171        a = this.classesElementLookup[i], e[i] !== this.options.classes[i] && a && a.length && (s = t(a.get()), this._removeClass(a, i), s.addClass(this._classes({
172          element: s,
173          keys: i,
174          classes: e,
175          add: !0
176        })));
177      }
178    },
179    _setOptionDisabled: function _setOptionDisabled(t) {
180      this._toggleClass(this.widget(), this.widgetFullName + "-disabled", null, !!t), t && (this._removeClass(this.hoverable, null, "ui-state-hover"), this._removeClass(this.focusable, null, "ui-state-focus"));
181    },
182    enable: function enable() {
183      return this._setOptions({
184        disabled: !1
185      });
186    },
187    disable: function disable() {
188      return this._setOptions({
189        disabled: !0
190      });
191    },
192    _classes: function _classes(e) {
193      var i = [],
194          s = this;
195
196      function a(a, n) {
197        var r, o;
198
199        for (o = 0; o < a.length; o++) {
200          r = s.classesElementLookup[a[o]] || t(), r = e.add ? t(t.unique(r.get().concat(e.element.get()))) : t(r.not(e.element).get()), s.classesElementLookup[a[o]] = r, i.push(a[o]), n && e.classes[a[o]] && i.push(e.classes[a[o]]);
201        }
202      }
203
204      return e = t.extend({
205        element: this.element,
206        classes: this.options.classes || {}
207      }, e), this._on(e.element, {
208        remove: "_untrackClassesElement"
209      }), e.keys && a(e.keys.match(/\S+/g) || [], !0), e.extra && a(e.extra.match(/\S+/g) || []), i.join(" ");
210    },
211    _untrackClassesElement: function _untrackClassesElement(e) {
212      var i = this;
213      t.each(i.classesElementLookup, function (s, a) {
214        -1 !== t.inArray(e.target, a) && (i.classesElementLookup[s] = t(a.not(e.target).get()));
215      });
216    },
217    _removeClass: function _removeClass(t, e, i) {
218      return this._toggleClass(t, e, i, !1);
219    },
220    _addClass: function _addClass(t, e, i) {
221      return this._toggleClass(t, e, i, !0);
222    },
223    _toggleClass: function _toggleClass(t, e, i, s) {
224      s = "boolean" == typeof s ? s : i;
225      var a = "string" == typeof t || null === t,
226          n = {
227        extra: a ? e : i,
228        keys: a ? t : e,
229        element: a ? this.element : t,
230        add: s
231      };
232      return n.element.toggleClass(this._classes(n), s), this;
233    },
234    _on: function _on(e, i, s) {
235      var a,
236          n = this;
237      "boolean" != typeof e && (s = i, i = e, e = !1), s ? (i = a = t(i), this.bindings = this.bindings.add(i)) : (s = i, i = this.element, a = this.widget()), t.each(s, function (s, r) {
238        function o() {
239          if (e || !0 !== n.options.disabled && !t(this).hasClass("ui-state-disabled")) return ("string" == typeof r ? n[r] : r).apply(n, arguments);
240        }
241
242        "string" != typeof r && (o.guid = r.guid = r.guid || o.guid || t.guid++);
243        var l = s.match(/^([\w:-]*)\s*(.*)$/),
244            h = l[1] + n.eventNamespace,
245            c = l[2];
246        c ? a.on(h, c, o) : i.on(h, o);
247      });
248    },
249    _off: function _off(e, i) {
250      i = (i || "").split(" ").join(this.eventNamespace + " ") + this.eventNamespace, e.off(i).off(i), this.bindings = t(this.bindings.not(e).get()), this.focusable = t(this.focusable.not(e).get()), this.hoverable = t(this.hoverable.not(e).get());
251    },
252    _delay: function _delay(t, e) {
253      var i = this;
254      return setTimeout(function () {
255        return ("string" == typeof t ? i[t] : t).apply(i, arguments);
256      }, e || 0);
257    },
258    _hoverable: function _hoverable(e) {
259      this.hoverable = this.hoverable.add(e), this._on(e, {
260        mouseenter: function mouseenter(e) {
261          this._addClass(t(e.currentTarget), null, "ui-state-hover");
262        },
263        mouseleave: function mouseleave(e) {
264          this._removeClass(t(e.currentTarget), null, "ui-state-hover");
265        }
266      });
267    },
268    _focusable: function _focusable(e) {
269      this.focusable = this.focusable.add(e), this._on(e, {
270        focusin: function focusin(e) {
271          this._addClass(t(e.currentTarget), null, "ui-state-focus");
272        },
273        focusout: function focusout(e) {
274          this._removeClass(t(e.currentTarget), null, "ui-state-focus");
275        }
276      });
277    },
278    _trigger: function _trigger(e, i, s) {
279      var a,
280          n,
281          r = this.options[e];
282      if (s = s || {}, (i = t.Event(i)).type = (e === this.widgetEventPrefix ? e : this.widgetEventPrefix + e).toLowerCase(), i.target = this.element[0], n = i.originalEvent) for (a in n) {
283        a in i || (i[a] = n[a]);
284      }
285      return this.element.trigger(i, s), !(t.isFunction(r) && !1 === r.apply(this.element[0], [i].concat(s)) || i.isDefaultPrevented());
286    }
287  }, t.each({
288    show: "fadeIn",
289    hide: "fadeOut"
290  }, function (e, i) {
291    t.Widget.prototype["_" + e] = function (s, a, n) {
292      var r;
293      "string" == typeof a && (a = {
294        effect: a
295      });
296      var o = a ? !0 === a || "number" == typeof a ? i : a.effect || i : e;
297      "number" == typeof (a = a || {}) && (a = {
298        duration: a
299      }), r = !t.isEmptyObject(a), a.complete = n, a.delay && s.delay(a.delay), r && t.effects && t.effects.effect[o] ? s[e](a) : o !== e && s[o] ? s[o](a.duration, a.easing, n) : s.queue(function (i) {
300        t(this)[e](), n && n.call(s[0]), i();
301      });
302    };
303  });
304  t.widget, t.extend(t.expr[":"], {
vendor: 13,768 bytes, lines 305-577
305    data: t.expr.createPseudo ? t.expr.createPseudo(function (e) {
306      return function (i) {
307        return !!t.data(i, e);
308      };
309    }) : function (e, i, s) {
310      return !!t.data(e, s[3]);
311    }
312  }), t.ui.keyCode = {
313    BACKSPACE: 8,
314    COMMA: 188,
315    DELETE: 46,
316    DOWN: 40,
317    END: 35,
318    ENTER: 13,
319    ESCAPE: 27,
320    HOME: 36,
321    LEFT: 37,
322    PAGE_DOWN: 34,
323    PAGE_UP: 33,
324    PERIOD: 190,
325    RIGHT: 39,
326    SPACE: 32,
327    TAB: 9,
328    UP: 38
329  }, t.fn.scrollParent = function (e) {
330    var i = this.css("position"),
331        s = "absolute" === i,
332        a = e ? /(auto|scroll|hidden)/ : /(auto|scroll)/,
333        n = this.parents().filter(function () {
334      var e = t(this);
335      return (!s || "static" !== e.css("position")) && a.test(e.css("overflow") + e.css("overflow-y") + e.css("overflow-x"));
336    }).eq(0);
337    return "fixed" !== i && n.length ? n : t(this[0].ownerDocument || document);
338  }, t.ui.ie = !!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase());
339  /*!
340   * jQuery UI :data 1.12.1
341   * http://jqueryui.com
342   *
343   * Copyright jQuery Foundation and other contributors
344   * Released under the MIT license.
345   * http://jquery.org/license
346   */
347
348  var a = !1;
349  t(document).on("mouseup", function () {
350    a = !1;
351  });
352  t.widget("ui.mouse", {
353    version: "1.12.1",
354    options: {
355      cancel: "input, textarea, button, select, option",
356      distance: 1,
357      delay: 0
358    },
359    _mouseInit: function _mouseInit() {
360      var e = this;
361      this.element.on("mousedown." + this.widgetName, function (t) {
362        return e._mouseDown(t);
363      }).on("click." + this.widgetName, function (i) {
364        if (!0 === t.data(i.target, e.widgetName + ".preventClickEvent")) return t.removeData(i.target, e.widgetName + ".preventClickEvent"), i.stopImmediatePropagation(), !1;
365      }), this.started = !1;
366    },
367    _mouseDestroy: function _mouseDestroy() {
368      this.element.off("." + this.widgetName), this._mouseMoveDelegate && this.document.off("mousemove." + this.widgetName, this._mouseMoveDelegate).off("mouseup." + this.widgetName, this._mouseUpDelegate);
369    },
370    _mouseDown: function _mouseDown(e) {
371      if (!a) {
372        this._mouseMoved = !1, this._mouseStarted && this._mouseUp(e), this._mouseDownEvent = e;
373        var i = this,
374            s = 1 === e.which,
375            n = !("string" != typeof this.options.cancel || !e.target.nodeName) && t(e.target).closest(this.options.cancel).length;
376        return !(s && !n && this._mouseCapture(e)) || (this.mouseDelayMet = !this.options.delay, this.mouseDelayMet || (this._mouseDelayTimer = setTimeout(function () {
377          i.mouseDelayMet = !0;
378        }, this.options.delay)), this._mouseDistanceMet(e) && this._mouseDelayMet(e) && (this._mouseStarted = !1 !== this._mouseStart(e), !this._mouseStarted) ? (e.preventDefault(), !0) : (!0 === t.data(e.target, this.widgetName + ".preventClickEvent") && t.removeData(e.target, this.widgetName + ".preventClickEvent"), this._mouseMoveDelegate = function (t) {
379          return i._mouseMove(t);
380        }, this._mouseUpDelegate = function (t) {
381          return i._mouseUp(t);
382        }, this.document.on("mousemove." + this.widgetName, this._mouseMoveDelegate).on("mouseup." + this.widgetName, this._mouseUpDelegate), e.preventDefault(), a = !0, !0));
383      }
384    },
385    _mouseMove: function _mouseMove(e) {
386      if (this._mouseMoved) {
387        if (t.ui.ie && (!document.documentMode || document.documentMode < 9) && !e.button) return this._mouseUp(e);
388        if (!e.which) if (e.originalEvent.altKey || e.originalEvent.ctrlKey || e.originalEvent.metaKey || e.originalEvent.shiftKey) this.ignoreMissingWhich = !0;else if (!this.ignoreMissingWhich) return this._mouseUp(e);
389      }
390
391      return (e.which || e.button) && (this._mouseMoved = !0), this._mouseStarted ? (this._mouseDrag(e), e.preventDefault()) : (this._mouseDistanceMet(e) && this._mouseDelayMet(e) && (this._mouseStarted = !1 !== this._mouseStart(this._mouseDownEvent, e), this._mouseStarted ? this._mouseDrag(e) : this._mouseUp(e)), !this._mouseStarted);
392    },
393    _mouseUp: function _mouseUp(e) {
394      this.document.off("mousemove." + this.widgetName, this._mouseMoveDelegate).off("mouseup." + this.widgetName, this._mouseUpDelegate), this._mouseStarted && (this._mouseStarted = !1, e.target === this._mouseDownEvent.target && t.data(e.target, this.widgetName + ".preventClickEvent", !0), this._mouseStop(e)), this._mouseDelayTimer && (clearTimeout(this._mouseDelayTimer), delete this._mouseDelayTimer), this.ignoreMissingWhich = !1, a = !1, e.preventDefault();
395    },
396    _mouseDistanceMet: function _mouseDistanceMet(t) {
397      return Math.max(Math.abs(this._mouseDownEvent.pageX - t.pageX), Math.abs(this._mouseDownEvent.pageY - t.pageY)) >= this.options.distance;
398    },
399    _mouseDelayMet: function _mouseDelayMet() {
400      return this.mouseDelayMet;
401    },
402    _mouseStart: function _mouseStart() {},
403    _mouseDrag: function _mouseDrag() {},
404    _mouseStop: function _mouseStop() {},
405    _mouseCapture: function _mouseCapture() {
406      return !0;
407    }
408  }), t.ui.plugin = {
409    add: function add(e, i, s) {
410      var a,
411          n = t.ui[e].prototype;
412
413      for (a in s) {
414        n.plugins[a] = n.plugins[a] || [], n.plugins[a].push([i, s[a]]);
415      }
416    },
417    call: function call(t, e, i, s) {
418      var a,
419          n = t.plugins[e];
420      if (n && (s || t.element[0].parentNode && 11 !== t.element[0].parentNode.nodeType)) for (a = 0; a < n.length; a++) {
421        t.options[n[a][0]] && n[a][1].apply(t.element, i);
422      }
423    }
424  }, t.ui.safeActiveElement = function (t) {
425    var e;
426
427    try {
428      e = t.activeElement;
429    } catch (i) {
430      e = t.body;
431    }
432
433    return e || (e = t.body), e.nodeName || (e = t.body), e;
434  }, t.ui.safeBlur = function (e) {
435    e && "body" !== e.nodeName.toLowerCase() && t(e).trigger("blur");
436  };
437  /*!
438   * jQuery UI Draggable 1.12.1
439   * http://jqueryui.com
440   *
441   * Copyright jQuery Foundation and other contributors
442   * Released under the MIT license.
443   * http://jquery.org/license
444   */
445
446  t.widget("ui.draggable", t.ui.mouse, {
447    version: "1.12.1",
448    widgetEventPrefix: "drag",
449    options: {
450      addClasses: !0,
451      appendTo: "parent",
452      axis: !1,
453      connectToSortable: !1,
454      containment: !1,
455      cursor: "auto",
456      cursorAt: !1,
457      grid: !1,
458      handle: !1,
459      helper: "original",
460      iframeFix: !1,
461      opacity: !1,
462      refreshPositions: !1,
463      revert: !1,
464      revertDuration: 500,
465      scope: "default",
466      scroll: !0,
467      scrollSensitivity: 20,
468      scrollSpeed: 20,
469      snap: !1,
470      snapMode: "both",
471      snapTolerance: 20,
472      stack: !1,
473      zIndex: !1,
474      drag: null,
475      start: null,
476      stop: null
477    },
478    _create: function _create() {
479      "original" === this.options.helper && this._setPositionRelative(), this.options.addClasses && this._addClass("ui-draggable"), this._setHandleClassName(), this._mouseInit();
480    },
481    _setOption: function _setOption(t, e) {
482      this._super(t, e), "handle" === t && (this._removeHandleClassName(), this._setHandleClassName());
483    },
484    _destroy: function _destroy() {
485      (this.helper || this.element).is(".ui-draggable-dragging") ? this.destroyOnClear = !0 : (this._removeHandleClassName(), this._mouseDestroy());
486    },
487    _mouseCapture: function _mouseCapture(e) {
488      var i = this.options;
489      return !(this.helper || i.disabled || t(e.target).closest(".ui-resizable-handle").length > 0) && (this.handle = this._getHandle(e), !!this.handle && (this._blurActiveElement(e), this._blockFrames(!0 === i.iframeFix ? "iframe" : i.iframeFix), !0));
490    },
491    _blockFrames: function _blockFrames(e) {
492      this.iframeBlocks = this.document.find(e).map(function () {
493        var e = t(this);
494        return t("<div>").css("position", "absolute").appendTo(e.parent()).outerWidth(e.outerWidth()).outerHeight(e.outerHeight()).offset(e.offset())[0];
495      });
496    },
497    _unblockFrames: function _unblockFrames() {
498      this.iframeBlocks && (this.iframeBlocks.remove(), delete this.iframeBlocks);
499    },
500    _blurActiveElement: function _blurActiveElement(e) {
501      var i = t.ui.safeActiveElement(this.document[0]);
502      t(e.target).closest(i).length || t.ui.safeBlur(i);
503    },
504    _mouseStart: function _mouseStart(e) {
505      var i = this.options;
506      return this.helper = this._createHelper(e), this._addClass(this.helper, "ui-draggable-dragging"), this._cacheHelperProportions(), t.ui.ddmanager && (t.ui.ddmanager.current = this), this._cacheMargins(), this.cssPosition = this.helper.css("position"), this.scrollParent = this.helper.scrollParent(!0), this.offsetParent = this.helper.offsetParent(), this.hasFixedAncestor = this.helper.parents().filter(function () {
507        return "fixed" === t(this).css("position");
508      }).length > 0, this.positionAbs = this.element.offset(), this._refreshOffsets(e), this.originalPosition = this.position = this._generatePosition(e, !1), this.originalPageX = e.pageX, this.originalPageY = e.pageY, i.cursorAt && this._adjustOffsetFromHelper(i.cursorAt), this._setContainment(), !1 === this._trigger("start", e) ? (this._clear(), !1) : (this._cacheHelperProportions(), t.ui.ddmanager && !i.dropBehaviour && t.ui.ddmanager.prepareOffsets(this, e), this._mouseDrag(e, !0), t.ui.ddmanager && t.ui.ddmanager.dragStart(this, e), !0);
509    },
510    _refreshOffsets: function _refreshOffsets(t) {
511      this.offset = {
512        top: this.positionAbs.top - this.margins.top,
513        left: this.positionAbs.left - this.margins.left,
514        scroll: !1,
515        parent: this._getParentOffset(),
516        relative: this._getRelativeOffset()
517      }, this.offset.click = {
518        left: t.pageX - this.offset.left,
519        top: t.pageY - this.offset.top
520      };
521    },
522    _mouseDrag: function _mouseDrag(e, i) {
523      if (this.hasFixedAncestor && (this.offset.parent = this._getParentOffset()), this.position = this._generatePosition(e, !0), this.positionAbs = this._convertPositionTo("absolute"), !i) {
524        var s = this._uiHash();
525
526        if (!1 === this._trigger("drag", e, s)) return this._mouseUp(new t.Event("mouseup", e)), !1;
527        this.position = s.position;
528      }
529
530      return this.helper[0].style.left = this.position.left + "px", this.helper[0].style.top = this.position.top + "px", t.ui.ddmanager && t.ui.ddmanager.drag(this, e), !1;
531    },
532    _mouseStop: function _mouseStop(e) {
533      var i = this,
534          s = !1;
535      return t.ui.ddmanager && !this.options.dropBehaviour && (s = t.ui.ddmanager.drop(this, e)), this.dropped && (s = this.dropped, this.dropped = !1), "invalid" === this.options.revert && !s || "valid" === this.options.revert && s || !0 === this.options.revert || t.isFunction(this.options.revert) && this.options.revert.call(this.element, s) ? t(this.helper).animate(this.originalPosition, parseInt(this.options.revertDuration, 10), function () {
536        !1 !== i._trigger("stop", e) && i._clear();
537      }) : !1 !== this._trigger("stop", e) && this._clear(), !1;
538    },
539    _mouseUp: function _mouseUp(e) {
540      return this._unblockFrames(), t.ui.ddmanager && t.ui.ddmanager.dragStop(this, e), this.handleElement.is(e.target) && this.element.trigger("focus"), t.ui.mouse.prototype._mouseUp.call(this, e);
541    },
542    cancel: function cancel() {
543      return this.helper.is(".ui-draggable-dragging") ? this._mouseUp(new t.Event("mouseup", {
544        target: this.element[0]
545      })) : this._clear(), this;
546    },
547    _getHandle: function _getHandle(e) {
548      return !this.options.handle || !!t(e.target).closest(this.element.find(this.options.handle)).length;
549    },
550    _setHandleClassName: function _setHandleClassName() {
551      this.handleElement = this.options.handle ? this.element.find(this.options.handle) : this.element, this._addClass(this.handleElement, "ui-draggable-handle");
552    },
553    _removeHandleClassName: function _removeHandleClassName() {
554      this._removeClass(this.handleElement, "ui-draggable-handle");
555    },
556    _createHelper: function _createHelper(e) {
557      var i = this.options,
558          s = t.isFunction(i.helper),
559          a = s ? t(i.helper.apply(this.element[0], [e])) : "clone" === i.helper ? this.element.clone().removeAttr("id") : this.element;
560      return a.parents("body").length || a.appendTo("parent" === i.appendTo ? this.element[0].parentNode : i.appendTo), s && a[0] === this.element[0] && this._setPositionRelative(), a[0] === this.element[0] || /(fixed|absolute)/.test(a.css("position")) || a.css("position", "absolute"), a;
561    },
562    _setPositionRelative: function _setPositionRelative() {
563      /^(?:r|a|f)/.test(this.element.css("position")) || (this.element[0].style.position = "relative");
564    },
565    _adjustOffsetFromHelper: function _adjustOffsetFromHelper(e) {
566      "string" == typeof e && (e = e.split(" ")), t.isArray(e) && (e = {
567        left: +e[0],
568        top: +e[1] || 0
569      }), "left" in e && (this.offset.click.left = e.left + this.margins.left), "right" in e && (this.offset.click.left = this.helperProportions.width - e.right + this.margins.left), "top" in e && (this.offset.click.top = e.top + this.margins.top), "bottom" in e && (this.offset.click.top = this.helperProportions.height - e.bottom + this.margins.top);
570    },
571    _isRootNode: function _isRootNode(t) {
572      return /(html|body)/i.test(t.tagName) || t === this.document[0];
573    },
574    _getParentOffset: function _getParentOffset() {
575      var e = this.offsetParent.offset(),
576          i = this.document[0];
577      return "absolute" === this.cssPosition && this.scrollParent[0] !== i && t.contains(this.scrollParent[0], this.offsetParent[0]) && (e.left += this.scrollParent.scrollLeft(), e.top += this.scrollParent.scrollTop()), this._isRo
vendor: 4,897 bytes, lines 577-645
577otNode(this.offsetParent[0]) && (e = {
578        top: 0,
579        left: 0
580      }), {
581        top: e.top + (parseInt(this.offsetParent.css("borderTopWidth"), 10) || 0),
582        left: e.left + (parseInt(this.offsetParent.css("borderLeftWidth"), 10) || 0)
583      };
584    },
585    _getRelativeOffset: function _getRelativeOffset() {
586      if ("relative" !== this.cssPosition) return {
587        top: 0,
588        left: 0
589      };
590
591      var t = this.element.position(),
592          e = this._isRootNode(this.scrollParent[0]);
593
594      return {
595        top: t.top - (parseInt(this.helper.css("top"), 10) || 0) + (e ? 0 : this.scrollParent.scrollTop()),
596        left: t.left - (parseInt(this.helper.css("left"), 10) || 0) + (e ? 0 : this.scrollParent.scrollLeft())
597      };
598    },
599    _cacheMargins: function _cacheMargins() {
600      this.margins = {
601        left: parseInt(this.element.css("marginLeft"), 10) || 0,
602        top: parseInt(this.element.css("marginTop"), 10) || 0,
603        right: parseInt(this.element.css("marginRight"), 10) || 0,
604        bottom: parseInt(this.element.css("marginBottom"), 10) || 0
605      };
606    },
607    _cacheHelperProportions: function _cacheHelperProportions() {
608      this.helperProportions = {
609        width: this.helper.outerWidth(),
610        height: this.helper.outerHeight()
611      };
612    },
613    _setContainment: function _setContainment() {
614      var e,
615          i,
616          s,
617          a = this.options,
618          n = this.document[0];
619      this.relativeContainer = null, a.containment ? "window" !== a.containment ? "document" !== a.containment ? a.containment.constructor !== Array ? ("parent" === a.containment && (a.containment = this.helper[0].parentNode), (s = (i = t(a.containment))[0]) && (e = /(scroll|auto)/.test(i.css("overflow")), this.containment = [(parseInt(i.css("borderLeftWidth"), 10) || 0) + (parseInt(i.css("paddingLeft"), 10) || 0), (parseInt(i.css("borderTopWidth"), 10) || 0) + (parseInt(i.css("paddingTop"), 10) || 0), (e ? Math.max(s.scrollWidth, s.offsetWidth) : s.offsetWidth) - (parseInt(i.css("borderRightWidth"), 10) || 0) - (parseInt(i.css("paddingRight"), 10) || 0) - this.helperProportions.width - this.margins.left - this.margins.right, (e ? Math.max(s.scrollHeight, s.offsetHeight) : s.offsetHeight) - (parseInt(i.css("borderBottomWidth"), 10) || 0) - (parseInt(i.css("paddingBottom"), 10) || 0) - this.helperProportions.height - this.margins.top - this.margins.bottom], this.relativeContainer = i)) : this.containment = a.containment : this.containment = [0, 0, t(n).width() - this.helperProportions.width - this.margins.left, (t(n).height() || n.body.parentNode.scrollHeight) - this.helperProportions.height - this.margins.top] : this.containment = [t(window).scrollLeft() - this.offset.relative.left - this.offset.parent.left, t(window).scrollTop() - this.offset.relative.top - this.offset.parent.top, t(window).scrollLeft() + t(window).width() - this.helperProportions.width - this.margins.left, t(window).scrollTop() + (t(window).height() || n.body.parentNode.scrollHeight) - this.helperProportions.height - this.margins.top] : this.containment = null;
620    },
621    _convertPositionTo: function _convertPositionTo(t, e) {
622      e || (e = this.position);
623
624      var i = "absolute" === t ? 1 : -1,
625          s = this._isRootNode(this.scrollParent[0]);
626
627      return {
628        top: e.top + this.offset.relative.top * i + this.offset.parent.top * i - ("fixed" === this.cssPosition ? -this.offset.scroll.top : s ? 0 : this.offset.scroll.top) * i,
629        left: e.left + this.offset.relative.left * i + this.offset.parent.left * i - ("fixed" === this.cssPosition ? -this.offset.scroll.left : s ? 0 : this.offset.scroll.left) * i
630      };
631    },
632    _generatePosition: function _generatePosition(t, e) {
633      var i,
634          s,
635          a,
636          n,
637          r = this.options,
638          o = this._isRootNode(this.scrollParent[0]),
639          l = t.pageX,
640          h = t.pageY;
641
642      return o && this.offset.scroll || (this.offset.scroll = {
643        top: this.scrollParent.scrollTop(),
644        left: this.scrollParent.scrollLeft()
645      }), e && (this.containment && (this.relativeContainer ? (s = this.relativeContainer.offset(), i = [this.containment[0] + s.left, this.containment[1] + s.top, this.containment[2] + s.left, this.containment[3] + s.top]) : i = this.containment, t.pageX - this.offset.click.left < i[0] && (l = i[0] + this.offset.click.left), t.pageY - this.offset.click.top < i[1] && (h = i[1] + this.offset.click.top), t.pageX - this.offset.click.left > i[2] && (l = i[2] + this.offset.click.left), t.pageY - this.offset.click.top > i[3] && (h = i[3] + this.offset.click.top)), r.grid && (a = r.grid[1] ? this.originalPageY + Math.round((h - this.originalPageY) / r.grid[1]) * r.grid[1] : this.originalPageY, h = i ? a - this.offset.click.top >= i[1] || a - this.offset.click.top > i[3] ? a : a - this.offset.click.top >
vendor: 1,227 bytes, lines 645-654
645= i[1] ? a - r.grid[1] : a + r.grid[1] : a, n = r.grid[0] ? this.originalPageX + Math.round((l - this.originalPageX) / r.grid[0]) * r.grid[0] : this.originalPageX, l = i ? n - this.offset.click.left >= i[0] || n - this.offset.click.left > i[2] ? n : n - this.offset.click.left >= i[0] ? n - r.grid[0] : n + r.grid[0] : n), "y" === r.axis && (l = this.originalPageX), "x" === r.axis && (h = this.originalPageY)), {
646        top: h - this.offset.click.top - this.offset.relative.top - this.offset.parent.top + ("fixed" === this.cssPosition ? -this.offset.scroll.top : o ? 0 : this.offset.scroll.top),
647        left: l - this.offset.click.left - this.offset.relative.left - this.offset.parent.left + ("fixed" === this.cssPosition ? -this.offset.scroll.left : o ? 0 : this.offset.scroll.left)
648      };
649    },
650    _clear: function _clear() {
651      this._removeClass(this.helper, "ui-draggable-dragging"), this.helper[0] === this.element[0] || this.cancelHelperRemoval || this.helper.remove(), this.helper = null, this.cancelHelperRemoval = !1, this.destroyOnClear && this.destroy();
652    },
653    _trigger: function _trigger(e, i, s) {
654      return s = s || this._uiHash(), t.ui.plugin.call(this, e, [i, s, this], !0), /^(drag|start|stop
vendor: 17,554 bytes, lines 654-991
654)/.test(e) && (this.positionAbs = this._convertPositionTo("absolute"), s.offset = this.positionAbs), t.Widget.prototype._trigger.call(this, e, i, s);
655    },
656    plugins: {},
657    _uiHash: function _uiHash() {
658      return {
659        helper: this.helper,
660        position: this.position,
661        originalPosition: this.originalPosition,
662        offset: this.positionAbs
663      };
664    }
665  }), t.ui.plugin.add("draggable", "connectToSortable", {
666    start: function start(e, i, s) {
667      var a = t.extend({}, i, {
668        item: s.element
669      });
670      s.sortables = [], t(s.options.connectToSortable).each(function () {
671        var i = t(this).sortable("instance");
672        i && !i.options.disabled && (s.sortables.push(i), i.refreshPositions(), i._trigger("activate", e, a));
673      });
674    },
675    stop: function stop(e, i, s) {
676      var a = t.extend({}, i, {
677        item: s.element
678      });
679      s.cancelHelperRemoval = !1, t.each(s.sortables, function () {
680        this.isOver ? (this.isOver = 0, s.cancelHelperRemoval = !0, this.cancelHelperRemoval = !1, this._storedCSS = {
681          position: this.placeholder.css("position"),
682          top: this.placeholder.css("top"),
683          left: this.placeholder.css("left")
684        }, this._mouseStop(e), this.options.helper = this.options._helper) : (this.cancelHelperRemoval = !0, this._trigger("deactivate", e, a));
685      });
686    },
687    drag: function drag(e, i, s) {
688      t.each(s.sortables, function () {
689        var a = !1,
690            n = this;
691        n.positionAbs = s.positionAbs, n.helperProportions = s.helperProportions, n.offset.click = s.offset.click, n._intersectsWith(n.containerCache) && (a = !0, t.each(s.sortables, function () {
692          return this.positionAbs = s.positionAbs, this.helperProportions = s.helperProportions, this.offset.click = s.offset.click, this !== n && this._intersectsWith(this.containerCache) && t.contains(n.element[0], this.element[0]) && (a = !1), a;
693        })), a ? (n.isOver || (n.isOver = 1, s._parent = i.helper.parent(), n.currentItem = i.helper.appendTo(n.element).data("ui-sortable-item", !0), n.options._helper = n.options.helper, n.options.helper = function () {
694          return i.helper[0];
695        }, e.target = n.currentItem[0], n._mouseCapture(e, !0), n._mouseStart(e, !0, !0), n.offset.click.top = s.offset.click.top, n.offset.click.left = s.offset.click.left, n.offset.parent.left -= s.offset.parent.left - n.offset.parent.left, n.offset.parent.top -= s.offset.parent.top - n.offset.parent.top, s._trigger("toSortable", e), s.dropped = n.element, t.each(s.sortables, function () {
696          this.refreshPositions();
697        }), s.currentItem = s.element, n.fromOutside = s), n.currentItem && (n._mouseDrag(e), i.position = n.position)) : n.isOver && (n.isOver = 0, n.cancelHelperRemoval = !0, n.options._revert = n.options.revert, n.options.revert = !1, n._trigger("out", e, n._uiHash(n)), n._mouseStop(e, !0), n.options.revert = n.options._revert, n.options.helper = n.options._helper, n.placeholder && n.placeholder.remove(), i.helper.appendTo(s._parent), s._refreshOffsets(e), i.position = s._generatePosition(e, !0), s._trigger("fromSortable", e), s.dropped = !1, t.each(s.sortables, function () {
698          this.refreshPositions();
699        }));
700      });
701    }
702  }), t.ui.plugin.add("draggable", "cursor", {
703    start: function start(e, i, s) {
704      var a = t("body"),
705          n = s.options;
706      a.css("cursor") && (n._cursor = a.css("cursor")), a.css("cursor", n.cursor);
707    },
708    stop: function stop(e, i, s) {
709      var a = s.options;
710      a._cursor && t("body").css("cursor", a._cursor);
711    }
712  }), t.ui.plugin.add("draggable", "opacity", {
713    start: function start(e, i, s) {
714      var a = t(i.helper),
715          n = s.options;
716      a.css("opacity") && (n._opacity = a.css("opacity")), a.css("opacity", n.opacity);
717    },
718    stop: function stop(e, i, s) {
719      var a = s.options;
720      a._opacity && t(i.helper).css("opacity", a._opacity);
721    }
722  }), t.ui.plugin.add("draggable", "scroll", {
723    start: function start(t, e, i) {
724      i.scrollParentNotHidden || (i.scrollParentNotHidden = i.helper.scrollParent(!1)), i.scrollParentNotHidden[0] !== i.document[0] && "HTML" !== i.scrollParentNotHidden[0].tagName && (i.overflowOffset = i.scrollParentNotHidden.offset());
725    },
726    drag: function drag(e, i, s) {
727      var a = s.options,
728          n = !1,
729          r = s.scrollParentNotHidden[0],
730          o = s.document[0];
731      r !== o && "HTML" !== r.tagName ? (a.axis && "x" === a.axis || (s.overflowOffset.top + r.offsetHeight - e.pageY < a.scrollSensitivity ? r.scrollTop = n = r.scrollTop + a.scrollSpeed : e.pageY - s.overflowOffset.top < a.scrollSensitivity && (r.scrollTop = n = r.scrollTop - a.scrollSpeed)), a.axis && "y" === a.axis || (s.overflowOffset.left + r.offsetWidth - e.pageX < a.scrollSensitivity ? r.scrollLeft = n = r.scrollLeft + a.scrollSpeed : e.pageX - s.overflowOffset.left < a.scrollSensitivity && (r.scrollLeft = n = r.scrollLeft - a.scrollSpeed))) : (a.axis && "x" === a.axis || (e.pageY - t(o).scrollTop() < a.scrollSensitivity ? n = t(o).scrollTop(t(o).scrollTop() - a.scrollSpeed) : t(window).height() - (e.pageY - t(o).scrollTop()) < a.scrollSensitivity && (n = t(o).scrollTop(t(o).scrollTop() + a.scrollSpeed))), a.axis && "y" === a.axis || (e.pageX - t(o).scrollLeft() < a.scrollSensitivity ? n = t(o).scrollLeft(t(o).scrollLeft() - a.scrollSpeed) : t(window).width() - (e.pageX - t(o).scrollLeft()) < a.scrollSensitivity && (n = t(o).scrollLeft(t(o).scrollLeft() + a.scrollSpeed)))), !1 !== n && t.ui.ddmanager && !a.dropBehaviour && t.ui.ddmanager.prepareOffsets(s, e);
732    }
733  }), t.ui.plugin.add("draggable", "snap", {
734    start: function start(e, i, s) {
735      var a = s.options;
736      s.snapElements = [], t(a.snap.constructor !== String ? a.snap.items || ":data(ui-draggable)" : a.snap).each(function () {
737        var e = t(this),
738            i = e.offset();
739        this !== s.element[0] && s.snapElements.push({
740          item: this,
741          width: e.outerWidth(),
742          height: e.outerHeight(),
743          top: i.top,
744          left: i.left
745        });
746      });
747    },
748    drag: function drag(e, i, s) {
749      var a,
750          n,
751          r,
752          o,
753          l,
754          h,
755          c,
756          d,
757          p,
758          u,
759          f = s.options,
760          g = f.snapTolerance,
761          m = i.offset.left,
762          _ = m + s.helperProportions.width,
763          v = i.offset.top,
764          k = v + s.helperProportions.height;
765
766      for (p = s.snapElements.length - 1; p >= 0; p--) {
767        h = (l = s.snapElements[p].left - s.margins.left) + s.snapElements[p].width, d = (c = s.snapElements[p].top - s.margins.top) + s.snapElements[p].height, _ < l - g || m > h + g || k < c - g || v > d + g || !t.contains(s.snapElements[p].item.ownerDocument, s.snapElements[p].item) ? (s.snapElements[p].snapping && s.options.snap.release && s.options.snap.release.call(s.element, e, t.extend(s._uiHash(), {
768          snapItem: s.snapElements[p].item
769        })), s.snapElements[p].snapping = !1) : ("inner" !== f.snapMode && (a = Math.abs(c - k) <= g, n = Math.abs(d - v) <= g, r = Math.abs(l - _) <= g, o = Math.abs(h - m) <= g, a && (i.position.top = s._convertPositionTo("relative", {
770          top: c - s.helperProportions.height,
771          left: 0
772        }).top), n && (i.position.top = s._convertPositionTo("relative", {
773          top: d,
774          left: 0
775        }).top), r && (i.position.left = s._convertPositionTo("relative", {
776          top: 0,
777          left: l - s.helperProportions.width
778        }).left), o && (i.position.left = s._convertPositionTo("relative", {
779          top: 0,
780          left: h
781        }).left)), u = a || n || r || o, "outer" !== f.snapMode && (a = Math.abs(c - v) <= g, n = Math.abs(d - k) <= g, r = Math.abs(l - m) <= g, o = Math.abs(h - _) <= g, a && (i.position.top = s._convertPositionTo("relative", {
782          top: c,
783          left: 0
784        }).top), n && (i.position.top = s._convertPositionTo("relative", {
785          top: d - s.helperProportions.height,
786          left: 0
787        }).top), r && (i.position.left = s._convertPositionTo("relative", {
788          top: 0,
789          left: l
790        }).left), o && (i.position.left = s._convertPositionTo("relative", {
791          top: 0,
792          left: h - s.helperProportions.width
793        }).left)), !s.snapElements[p].snapping && (a || n || r || o || u) && s.options.snap.snap && s.options.snap.snap.call(s.element, e, t.extend(s._uiHash(), {
794          snapItem: s.snapElements[p].item
795        })), s.snapElements[p].snapping = a || n || r || o || u);
796      }
797    }
798  }), t.ui.plugin.add("draggable", "stack", {
799    start: function start(e, i, s) {
800      var a,
801          n = s.options,
802          r = t.makeArray(t(n.stack)).sort(function (e, i) {
803        return (parseInt(t(e).css("zIndex"), 10) || 0) - (parseInt(t(i).css("zIndex"), 10) || 0);
804      });
805      r.length && (a = parseInt(t(r[0]).css("zIndex"), 10) || 0, t(r).each(function (e) {
806        t(this).css("zIndex", a + e);
807      }), this.css("zIndex", a + r.length));
808    }
809  }), t.ui.plugin.add("draggable", "zIndex", {
810    start: function start(e, i, s) {
811      var a = t(i.helper),
812          n = s.options;
813      a.css("zIndex") && (n._zIndex = a.css("zIndex")), a.css("zIndex", n.zIndex);
814    },
815    stop: function stop(e, i, s) {
816      var a = s.options;
817      a._zIndex && t(i.helper).css("zIndex", a._zIndex);
818    }
819  });
820  var n;
821  /*!
822   * jQuery UI Datepicker 1.12.1
823   * http://jqueryui.com
824   *
825   * Copyright jQuery Foundation and other contributors
826   * Released under the MIT license.
827   * http://jquery.org/license
828   */
829
830  t.ui.draggable;
831
832  function r() {
833    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[""] = {
834      closeText: "Done",
835      prevText: "Prev",
836      nextText: "Next",
837      currentText: "Today",
838      monthNames: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
839      monthNamesShort: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
840      dayNames: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
841      dayNamesShort: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
842      dayNamesMin: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
843      weekHeader: "Wk",
844      dateFormat: "mm/dd/yy",
845      firstDay: 0,
846      isRTL: !1,
847      showMonthAfterYear: !1,
848      yearSuffix: ""
849    }, this._defaults = {
850      showOn: "focus",
851      showAnim: "fadeIn",
852      showOptions: {},
853      defaultDate: null,
854      appendText: "",
855      buttonText: "...",
856      buttonImage: "",
857      buttonImageOnly: !1,
858      hideIfNoPrevNext: !1,
859      navigationAsDateFormat: !1,
860      gotoCurrent: !1,
861      changeMonth: !1,
862      changeYear: !1,
863      yearRange: "c-10:c+10",
864      showOtherMonths: !1,
865      selectOtherMonths: !1,
866      showWeek: !1,
867      calculateWeek: this.iso8601Week,
868      shortYearCutoff: "+10",
869      minDate: null,
870      maxDate: null,
871      duration: "fast",
872      beforeShowDay: null,
873      beforeShow: null,
874      onSelect: null,
875      onChangeMonthYear: null,
876      onClose: null,
877      numberOfMonths: 1,
878      showCurrentAtPos: 0,
879      stepMonths: 1,
880      stepBigMonths: 12,
881      altField: "",
882      altFormat: "",
883      constrainInput: !0,
884      showButtonPanel: !1,
885      autoSize: !1,
886      disabled: !1
887    }, t.extend(this._defaults, this.regional[""]), this.regional.en = t.extend(!0, {}, this.regional[""]), this.regional["en-US"] = t.extend(!0, {}, this.regional.en), this.dpDiv = o(t("<div id='" + this._mainDivId + "' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>"));
888  }
889
890  function o(e) {
891    var i = "button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";
892    return e.on("mouseout", i, function () {
893      t(this).removeClass("ui-state-hover"), -1 !== this.className.indexOf("ui-datepicker-prev") && t(this).removeClass("ui-datepicker-prev-hover"), -1 !== this.className.indexOf("ui-datepicker-next") && t(this).removeClass("ui-datepicker-next-hover");
894    }).on("mouseover", i, l);
895  }
896
897  function l() {
898    t.datepicker._isDisabledDatepicker(n.inline ? n.dpDiv.parent()[0] : n.input[0]) || (t(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"), t(this).addClass("ui-state-hover"), -1 !== this.className.indexOf("ui-datepicker-prev") && t(this).addClass("ui-datepicker-prev-hover"), -1 !== this.className.indexOf("ui-datepicker-next") && t(this).addClass("ui-datepicker-next-hover"));
899  }
900
901  function h(e, i) {
902    for (var s in t.extend(e, i), i) {
903      null == i[s] && (e[s] = i[s]);
904    }
905
906    return e;
907  }
908
909  t.extend(t.ui, {
910    datepicker: {
911      version: "1.12.1"
912    }
913  }), t.extend(r.prototype, {
914    markerClassName: "hasDatepicker",
915    maxRows: 4,
916    _widgetDatepicker: function _widgetDatepicker() {
917      return this.dpDiv;
918    },
919    setDefaults: function setDefaults(t) {
920      return h(this._defaults, t || {}), this;
921    },
922    _attachDatepicker: function _attachDatepicker(e, i) {
923      var s, a, n;
924      a = "div" === (s = e.nodeName.toLowerCase()) || "span" === s, e.id || (this.uuid += 1, e.id = "dp" + this.uuid), (n = this._newInst(t(e), a)).settings = t.extend({}, i || {}), "input" === s ? this._connectDatepicker(e, n) : a && this._inlineDatepicker(e, n);
925    },
926    _newInst: function _newInst(e, i) {
927      return {
928        id: e[0].id.replace(/([^A-Za-z0-9_\-])/g, "\\\\$1"),
929        input: e,
930        selectedDay: 0,
931        selectedMonth: 0,
932        selectedYear: 0,
933        drawMonth: 0,
934        drawYear: 0,
935        inline: i,
936        dpDiv: i ? o(t("<div class='" + this._inlineClass + " ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>")) : this.dpDiv
937      };
938    },
939    _connectDatepicker: function _connectDatepicker(e, i) {
940      var s = t(e);
941      i.append = t([]), i.trigger = t([]), s.hasClass(this.markerClassName) || (this._attachments(s, i), s.addClass(this.markerClassName).on("keydown", this._doKeyDown).on("keypress", this._doKeyPress).on("keyup", this._doKeyUp), this._autoSize(i), t.data(e, "datepicker", i), i.settings.disabled && this._disableDatepicker(e));
942    },
943    _attachments: function _attachments(e, i) {
944      var s,
945          a,
946          n,
947          r = this._get(i, "appendText"),
948          o = this._get(i, "isRTL");
949
950      i.append && i.append.remove(), r && (i.append = t("<span class='" + this._appendClass + "'>" + r + "</span>"), e[o ? "before" : "after"](i.append)), e.off("focus", this._showDatepicker), i.trigger && i.trigger.remove(), "focus" !== (s = this._get(i, "showOn")) && "both" !== s || e.on("focus", this._showDatepicker), "button" !== s && "both" !== s || (a = this._get(i, "buttonText"), n = this._get(i, "buttonImage"), i.trigger = t(this._get(i, "buttonImageOnly") ? t("<img/>").addClass(this._triggerClass).attr({
951        src: n,
952        alt: a,
953        title: a
954      }) : t("<button type='button'></button>").addClass(this._triggerClass).html(n ? t("<img/>").attr({
955        src: n,
956        alt: a,
957        title: a
958      }) : a)), e[o ? "before" : "after"](i.trigger), i.trigger.on("click", function () {
959        return t.datepicker._datepickerShowing && t.datepicker._lastInput === e[0] ? t.datepicker._hideDatepicker() : t.datepicker._datepickerShowing && t.datepicker._lastInput !== e[0] ? (t.datepicker._hideDatepicker(), t.datepicker._showDatepicker(e[0])) : t.datepicker._showDatepicker(e[0]), !1;
960      }));
961    },
962    _autoSize: function _autoSize(t) {
963      if (this._get(t, "autoSize") && !t.inline) {
964        var e,
965            i,
966            s,
967            a,
968            n = new Date(2009, 11, 20),
969            r = this._get(t, "dateFormat");
970
971        r.match(/[DM]/) && (e = function e(t) {
972          for (i = 0, s = 0, a = 0; a < t.length; a++) {
973            t[a].length > i && (i = t[a].length, s = a);
974          }
975
976          return s;
977        }, n.setMonth(e(this._get(t, r.match(/MM/) ? "monthNames" : "monthNamesShort"))), n.setDate(e(this._get(t, r.match(/DD/) ? "dayNames" : "dayNamesShort")) + 20 - n.getDay())), t.input.attr("size", this._formatDate(t, n).length);
978      }
979    },
980    _inlineDatepicker: function _inlineDatepicker(e, i) {
981      var s = t(e);
982      s.hasClass(this.markerClassName) || (s.addClass(this.markerClassName).append(i.dpDiv), t.data(e, "datepicker", i), this._setDate(i, this._getDefaultDate(i), !0), this._updateDatepicker(i), this._updateAlternate(i), i.settings.disabled && this._disableDatepicker(e), i.dpDiv.css("display", "block"));
983    },
984    _dialogDatepicker: function _dialogDatepicker(e, i, s, a, n) {
985      var r,
986          o,
987          l,
988          c,
989          d,
990          p = this._dialogInst;
991      return p || (this.uuid += 1, r = "dp" + this.uuid, this._dialogInput = t("<input type='text' id='" + r + "' style='position: absolute; top: -100px; width: 0px;'/>
991"), this._dialogInput.on("keydown", this._doKeyDown), t("body").append(this._dialogInput), (p = this._dialogInst = this._newInst(this._dialogInput, !1)).settings = {}, t.data(this._dialogInput[0], "datepicker", p)), h(p.settings, a || {}), i = i && i.constructor === Date ? this._formatDate(p, i) : i, this._dialogInput.val(i), this._pos = n ? n.length ? n : [n.pageX, n.pageY] : null, this._pos || (o = document.documentElement.clientWidth, l = document.documentElement.clientHeight, c = document.documentElement.scrollLeft || document.body.scrollLeft, d = document.documentElement.scrollTop || document.body.scrollTop, this._pos = [o / 2 - 100 + c, l / 2 - 150 + d]), this._dialogInput.css("left", this._pos[0] + 20 + "px").css("top", this._pos[1] + "px"), p.settings.onSelect = s, this._inDialog = !0, this.dpDiv.addClass(this._dialogClass), this._showDatepicker(this._dialogInput[0]), t.blockUI && t.blockUI(this.dpDiv), t.data(this._dialogInput[0], "datepicker", p), this;
992    },
993    _destroyDatepicker: function _destroyDatepicker(e) {
994      var i,
995          s = t(e),
996          a = t.data(e, "datepicker");
vendor: 7,029 bytes, lines 997-1140
997      s.hasClass(this.markerClassName) && (i = e.nodeName.toLowerCase(), t.removeData(e, "datepicker"), "input" === i ? (a.append.remove(), a.trigger.remove(), s.removeClass(this.markerClassName).off("focus", this._showDatepicker).off("keydown", this._doKeyDown).off("keypress", this._doKeyPress).off("keyup", this._doKeyUp)) : "div" !== i && "span" !== i || s.removeClass(this.markerClassName).empty(), n === a && (n = null));
998    },
999    _enableDatepicker: function _enableDatepicker(e) {
1000      var i,
1001          s,
1002          a = t(e),
1003          n = t.data(e, "datepicker");
1004      a.hasClass(this.markerClassName) && ("input" === (i = e.nodeName.toLowerCase()) ? (e.disabled = !1, n.trigger.filter("button").each(function () {
1005        this.disabled = !1;
1006      }).end().filter("img").css({
1007        opacity: "1.0",
1008        cursor: ""
1009      })) : "div" !== i && "span" !== i || ((s = a.children("." + this._inlineClass)).children().removeClass("ui-state-disabled"), s.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled", !1)), this._disabledInputs = t.map(this._disabledInputs, function (t) {
1010        return t === e ? null : t;
1011      }));
1012    },
1013    _disableDatepicker: function _disableDatepicker(e) {
1014      var i,
1015          s,
1016          a = t(e),
1017          n = t.data(e, "datepicker");
1018      a.hasClass(this.markerClassName) && ("input" === (i = e.nodeName.toLowerCase()) ? (e.disabled = !0, n.trigger.filter("button").each(function () {
1019        this.disabled = !0;
1020      }).end().filter("img").css({
1021        opacity: "0.5",
1022        cursor: "default"
1023      })) : "div" !== i && "span" !== i || ((s = a.children("." + this._inlineClass)).children().addClass("ui-state-disabled"), s.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled", !0)), this._disabledInputs = t.map(this._disabledInputs, function (t) {
1024        return t === e ? null : t;
1025      }), this._disabledInputs[this._disabledInputs.length] = e);
1026    },
1027    _isDisabledDatepicker: function _isDisabledDatepicker(t) {
1028      if (!t) return !1;
1029
1030      for (var e = 0; e < this._disabledInputs.length; e++) {
1031        if (this._disabledInputs[e] === t) return !0;
1032      }
1033
1034      return !1;
1035    },
1036    _getInst: function _getInst(e) {
1037      try {
1038        return t.data(e, "datepicker");
1039      } catch (t) {
1040        throw "Missing instance data for this datepicker";
1041      }
1042    },
1043    _optionDatepicker: function _optionDatepicker(e, i, s) {
1044      var a,
1045          n,
1046          r,
1047          o,
1048          l = this._getInst(e);
1049
1050      if (2 === arguments.length && "string" == typeof i) return "defaults" === i ? t.extend({}, t.datepicker._defaults) : l ? "all" === i ? t.extend({}, l.settings) : this._get(l, i) : null;
1051      a = i || {}, "string" == typeof i && ((a = {})[i] = s), l && (this._curInst === l && this._hideDatepicker(), n = this._getDateDatepicker(e, !0), r = this._getMinMaxDate(l, "min"), o = this._getMinMaxDate(l, "max"), h(l.settings, a), null !== r && void 0 !== a.dateFormat && void 0 === a.minDate && (l.settings.minDate = this._formatDate(l, r)), null !== o && void 0 !== a.dateFormat && void 0 === a.maxDate && (l.settings.maxDate = this._formatDate(l, o)), "disabled" in a && (a.disabled ? this._disableDatepicker(e) : this._enableDatepicker(e)), this._attachments(t(e), l), this._autoSize(l), this._setDate(l, n), this._updateAlternate(l), this._updateDatepicker(l));
1052    },
1053    _changeDatepicker: function _changeDatepicker(t, e, i) {
1054      this._optionDatepicker(t, e, i);
1055    },
1056    _refreshDatepicker: function _refreshDatepicker(t) {
1057      var e = this._getInst(t);
1058
1059      e && this._updateDatepicker(e);
1060    },
1061    _setDateDatepicker: function _setDateDatepicker(t, e) {
1062      var i = this._getInst(t);
1063
1064      i && (this._setDate(i, e), this._updateDatepicker(i), this._updateAlternate(i));
1065    },
1066    _getDateDatepicker: function _getDateDatepicker(t, e) {
1067      var i = this._getInst(t);
1068
1069      return i && !i.inline && this._setDateFromField(i, e), i ? this._getDate(i) : null;
1070    },
1071    _doKeyDown: function _doKeyDown(e) {
1072      var i,
1073          s,
1074          a,
1075          n = t.datepicker._getInst(e.target),
1076          r = !0,
1077          o = n.dpDiv.is(".ui-datepicker-rtl");
1078
1079      if (n._keyEvent = !0, t.datepicker._datepickerShowing) switch (e.keyCode) {
1080        case 9:
1081          t.datepicker._hideDatepicker(), r = !1;
1082          break;
1083
1084        case 13:
1085          return (a = t("td." + t.datepicker._dayOverClass + ":not(." + t.datepicker._currentClass + ")", n.dpDiv))[0] && t.datepicker._selectDay(e.target, n.selectedMonth, n.selectedYear, a[0]), (i = t.datepicker._get(n, "onSelect")) ? (s = t.datepicker._formatDate(n), i.apply(n.input ? n.input[0] : null, [s, n])) : t.datepicker._hideDatepicker(), !1;
1086
1087        case 27:
1088          t.datepicker._hideDatepicker();
1089
1090          break;
1091
1092        case 33:
1093          t.datepicker._adjustDate(e.target, e.ctrlKey ? -t.datepicker._get(n, "stepBigMonths") : -t.datepicker._get(n, "stepMonths"), "M");
1094
1095          break;
1096
1097        case 34:
1098          t.datepicker._adjustDate(e.target, e.ctrlKey ? +t.datepicker._get(n, "stepBigMonths") : +t.datepicker._get(n, "stepMonths"), "M");
1099
1100          break;
1101
1102        case 35:
1103          (e.ctrlKey || e.metaKey) && t.datepicker._clearDate(e.target), r = e.ctrlKey || e.metaKey;
1104          break;
1105
1106        case 36:
1107          (e.ctrlKey || e.metaKey) && t.datepicker._gotoToday(e.target), r = e.ctrlKey || e.metaKey;
1108          break;
1109
1110        case 37:
1111          (e.ctrlKey || e.metaKey) && t.datepicker._adjustDate(e.target, o ? 1 : -1, "D"), r = e.ctrlKey || e.metaKey, e.originalEvent.altKey && t.datepicker._adjustDate(e.target, e.ctrlKey ? -t.datepicker._get(n, "stepBigMonths") : -t.datepicker._get(n, "stepMonths"), "M");
1112          break;
1113
1114        case 38:
1115          (e.ctrlKey || e.metaKey) && t.datepicker._adjustDate(e.target, -7, "D"), r = e.ctrlKey || e.metaKey;
1116          break;
1117
1118        case 39:
1119          (e.ctrlKey || e.metaKey) && t.datepicker._adjustDate(e.target, o ? -1 : 1, "D"), r = e.ctrlKey || e.metaKey, e.originalEvent.altKey && t.datepicker._adjustDate(e.target, e.ctrlKey ? +t.datepicker._get(n, "stepBigMonths") : +t.datepicker._get(n, "stepMonths"), "M");
1120          break;
1121
1122        case 40:
1123          (e.ctrlKey || e.metaKey) && t.datepicker._adjustDate(e.target, 7, "D"), r = e.ctrlKey || e.metaKey;
1124          break;
1125
1126        default:
1127          r = !1;
1128      } else 36 === e.keyCode && e.ctrlKey ? t.datepicker._showDatepicker(this) : r = !1;
1129      r && (e.preventDefault(), e.stopPropagation());
1130    },
1131    _doKeyPress: function _doKeyPress(e) {
1132      var i,
1133          s,
1134          a = t.datepicker._getInst(e.target);
1135
1136      if (t.datepicker._get(a, "constrainInput")) return i = t.datepicker._possibleChars(t.datepicker._get(a, "dateFormat")), s = String.fromCharCode(null == e.charCode ? e.keyCode : e.charCode), e.ctrlKey || e.metaKey || s < " " || !i || i.indexOf(s) > -1;
1137    },
1138    _doKeyUp: function _doKeyUp(e) {
1139      var i = t.datepicker._getInst(e.target);
1140
vendor: 8,776 bytes, lines 1141-1270
1141      if (i.input.val() !== i.lastVal) try {
1142        t.datepicker.parseDate(t.datepicker._get(i, "dateFormat"), i.input ? i.input.val() : null, t.datepicker._getFormatConfig(i)) && (t.datepicker._setDateFromField(i), t.datepicker._updateAlternate(i), t.datepicker._updateDatepicker(i));
1143      } catch (t) {}
1144      return !0;
1145    },
1146    _showDatepicker: function _showDatepicker(e) {
1147      var i, s, a, n, r, o, l;
1148      ("input" !== (e = e.target || e).nodeName.toLowerCase() && (e = t("input", e.parentNode)[0]), t.datepicker._isDisabledDatepicker(e) || t.datepicker._lastInput === e) || (i = t.datepicker._getInst(e), t.datepicker._curInst && t.datepicker._curInst !== i && (t.datepicker._curInst.dpDiv.stop(!0, !0), i && t.datepicker._datepickerShowing && t.datepicker._hideDatepicker(t.datepicker._curInst.input[0])), !1 !== (a = (s = t.datepicker._get(i, "beforeShow")) ? s.apply(e, [e, i]) : {}) && (h(i.settings, a), i.lastVal = null, t.datepicker._lastInput = e, t.datepicker._setDateFromField(i), t.datepicker._inDialog && (e.value = ""), t.datepicker._pos || (t.datepicker._pos = t.datepicker._findPos(e), t.datepicker._pos[1] += e.offsetHeight), n = !1, t(e).parents().each(function () {
1149        return !(n |= "fixed" === t(this).css("position"));
1150      }), r = {
1151        left: t.datepicker._pos[0],
1152        top: t.datepicker._pos[1]
1153      }, t.datepicker._pos = null, i.dpDiv.empty(), i.dpDiv.css({
1154        position: "absolute",
1155        display: "block",
1156        top: "-1000px"
1157      }), t.datepicker._updateDatepicker(i), r = t.datepicker._checkOffset(i, r, n), i.dpDiv.css({
1158        position: t.datepicker._inDialog && t.blockUI ? "static" : n ? "fixed" : "absolute",
1159        display: "none",
1160        left: r.left + "px",
1161        top: r.top + "px"
1162      }), i.inline || (o = t.datepicker._get(i, "showAnim"), l = t.datepicker._get(i, "duration"), i.dpDiv.css("z-index", function (t) {
1163        for (var e, i; t.length && t[0] !== document;) {
1164          if (("absolute" === (e = t.css("position")) || "relative" === e || "fixed" === e) && (i = parseInt(t.css("zIndex"), 10), !isNaN(i) && 0 !== i)) return i;
1165          t = t.parent();
1166        }
1167
1168        return 0;
1169      }(t(e)) + 1), t.datepicker._datepickerShowing = !0, t.effects && t.effects.effect[o] ? i.dpDiv.show(o, t.datepicker._get(i, "showOptions"), l) : i.dpDiv[o || "show"](o ? l : null), t.datepicker._shouldFocusInput(i) && i.input.trigger("focus"), t.datepicker._curInst = i)));
1170    },
1171    _updateDatepicker: function _updateDatepicker(e) {
1172      this.maxRows = 4, n = e, e.dpDiv.empty().append(this._generateHTML(e)), this._attachHandlers(e);
1173
1174      var i,
1175          s = this._getNumberOfMonths(e),
1176          a = s[1],
1177          r = e.dpDiv.find("." + this._dayOverClass + " a");
1178
1179      r.length > 0 && l.apply(r.get(0)), e.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""), a > 1 && e.dpDiv.addClass("ui-datepicker-multi-" + a).css("width", 17 * a + "em"), e.dpDiv[(1 !== s[0] || 1 !== s[1] ? "add" : "remove") + "Class"]("ui-datepicker-multi"), e.dpDiv[(this._get(e, "isRTL") ? "add" : "remove") + "Class"]("ui-datepicker-rtl"), e === t.datepicker._curInst && t.datepicker._datepickerShowing && t.datepicker._shouldFocusInput(e) && e.input.trigger("focus"), e.yearshtml && (i = e.yearshtml, setTimeout(function () {
1180        i === e.yearshtml && e.yearshtml && e.dpDiv.find("select.ui-datepicker-year:first").replaceWith(e.yearshtml), i = e.yearshtml = null;
1181      }, 0));
1182    },
1183    _shouldFocusInput: function _shouldFocusInput(t) {
1184      return t.input && t.input.is(":visible") && !t.input.is(":disabled") && !t.input.is(":focus");
1185    },
1186    _checkOffset: function _checkOffset(e, i, s) {
1187      var a = e.dpDiv.outerWidth(),
1188          n = e.dpDiv.outerHeight(),
1189          r = e.input ? e.input.outerWidth() : 0,
1190          o = e.input ? e.input.outerHeight() : 0,
1191          l = document.documentElement.clientWidth + (s ? 0 : t(document).scrollLeft()),
1192          h = document.documentElement.clientHeight + (s ? 0 : t(document).scrollTop());
1193      return i.left -= this._get(e, "isRTL") ? a - r : 0, i.left -= s && i.left === e.input.offset().left ? t(document).scrollLeft() : 0, i.top -= s && i.top === e.input.offset().top + o ? t(document).scrollTop() : 0, i.left -= Math.min(i.left, i.left + a > l && l > a ? Math.abs(i.left + a - l) : 0), i.top -= Math.min(i.top, i.top + n > h && h > n ? Math.abs(n + o) : 0), i;
1194    },
1195    _findPos: function _findPos(e) {
1196      for (var i, s = this._getInst(e), a = this._get(s, "isRTL"); e && ("hidden" === e.type || 1 !== e.nodeType || t.expr.filters.hidden(e));) {
1197        e = e[a ? "previousSibling" : "nextSibling"];
1198      }
1199
1200      return [(i = t(e).offset()).left, i.top];
1201    },
1202    _hideDatepicker: function _hideDatepicker(e) {
1203      var i,
1204          s,
1205          a,
1206          n,
1207          r = this._curInst;
1208      !r || e && r !== t.data(e, "datepicker") || this._datepickerShowing && (i = this._get(r, "showAnim"), s = this._get(r, "duration"), a = function a() {
1209        t.datepicker._tidyDialog(r);
1210      }, t.effects && (t.effects.effect[i] || t.effects[i]) ? r.dpDiv.hide(i, t.datepicker._get(r, "showOptions"), s, a) : r.dpDiv["slideDown" === i ? "slideUp" : "fadeIn" === i ? "fadeOut" : "hide"](i ? s : null, a), i || a(), this._datepickerShowing = !1, (n = this._get(r, "onClose")) && n.apply(r.input ? r.input[0] : null, [r.input ? r.input.val() : "", r]), this._lastInput = null, this._inDialog && (this._dialogInput.css({
1211        position: "absolute",
1212        left: "0",
1213        top: "-100px"
1214      }), t.blockUI && (t.unblockUI(), t("body").append(this.dpDiv))), this._inDialog = !1);
1215    },
1216    _tidyDialog: function _tidyDialog(t) {
1217      t.dpDiv.removeClass(this._dialogClass).off(".ui-datepicker-calendar");
1218    },
1219    _checkExternalClick: function _checkExternalClick(e) {
1220      if (t.datepicker._curInst) {
1221        var i = t(e.target),
1222            s = t.datepicker._getInst(i[0]);
1223
1224        (i[0].id === t.datepicker._mainDivId || 0 !== i.parents("#" + t.datepicker._mainDivId).length || i.hasClass(t.datepicker.markerClassName) || i.closest("." + t.datepicker._triggerClass).length || !t.datepicker._datepickerShowing || t.datepicker._inDialog && t.blockUI) && (!i.hasClass(t.datepicker.markerClassName) || t.datepicker._curInst === s) || t.datepicker._hideDatepicker();
1225      }
1226    },
1227    _adjustDate: function _adjustDate(e, i, s) {
1228      var a = t(e),
1229          n = this._getInst(a[0]);
1230
1231      this._isDisabledDatepicker(a[0]) || (this._adjustInstDate(n, i + ("M" === s ? this._get(n, "showCurrentAtPos") : 0), s), this._updateDatepicker(n));
1232    },
1233    _gotoToday: function _gotoToday(e) {
1234      var i,
1235          s = t(e),
1236          a = this._getInst(s[0]);
1237
1238      this._get(a, "gotoCurrent") && a.currentDay ? (a.selectedDay = a.currentDay, a.drawMonth = a.selectedMonth = a.currentMonth, a.drawYear = a.selectedYear = a.currentYear) : (i = new Date(), a.selectedDay = i.getDate(), a.drawMonth = a.selectedMonth = i.getMonth(), a.drawYear = a.selectedYear = i.getFullYear()), this._notifyChange(a), this._adjustDate(s);
1239    },
1240    _selectMonthYear: function _selectMonthYear(e, i, s) {
1241      var a = t(e),
1242          n = this._getInst(a[0]);
1243
1244      n["selected" + ("M" === s ? "Month" : "Year")] = n["draw" + ("M" === s ? "Month" : "Year")] = parseInt(i.options[i.selectedIndex].value, 10), this._notifyChange(n), this._adjustDate(a);
1245    },
1246    _selectDay: function _selectDay(e, i, s, a) {
1247      var n,
1248          r = t(e);
1249      t(a).hasClass(this._unselectableClass) || this._isDisabledDatepicker(r[0]) || ((n = this._getInst(r[0])).selectedDay = n.currentDay = t("a", a).html(), n.selectedMonth = n.currentMonth = i, n.selectedYear = n.currentYear = s, this._selectDate(e, this._formatDate(n, n.currentDay, n.currentMonth, n.currentYear)));
1250    },
1251    _clearDate: function _clearDate(e) {
1252      var i = t(e);
1253
1254      this._selectDate(i, "");
1255    },
1256    _selectDate: function _selectDate(e, i) {
1257      var s,
1258          a = t(e),
1259          n = this._getInst(a[0]);
1260
1261      i = null != i ? i : this._formatDate(n), n.input && n.input.val(i), this._updateAlternate(n), (s = this._get(n, "onSelect")) ? s.apply(n.input ? n.input[0] : null, [i, n]) : n.input && n.input.trigger("change"), n.inline ? this._updateDatepicker(n) : (this._hideDatepicker(), this._lastInput = n.input[0], "object" != _typeof(n.input[0]) && n.input.trigger("focus"), this._lastInput = null);
1262    },
1263    _updateAlternate: function _updateAlternate(e) {
1264      var i,
1265          s,
1266          a,
1267          n = this._get(e, "altField");
1268
1269      n && (i = this._get(e, "altFormat") || this._get(e, "dateFormat"), s = this._getDate(e), a = this.formatDate(i, s, this._getFormatConfig(e)), t(n).val(a));
1270    },
vendor: 5,997 bytes, lines 1271-1452
1271    noWeekends: function noWeekends(t) {
1272      var e = t.getDay();
1273      return [e > 0 && e < 6, ""];
1274    },
1275    iso8601Week: function iso8601Week(t) {
1276      var e,
1277          i = new Date(t.getTime());
1278      return i.setDate(i.getDate() + 4 - (i.getDay() || 7)), e = i.getTime(), i.setMonth(0), i.setDate(1), Math.floor(Math.round((e - i) / 864e5) / 7) + 1;
1279    },
1280    parseDate: function parseDate(e, i, s) {
1281      if (null == e || null == i) throw "Invalid arguments";
1282      if ("" === (i = "object" == _typeof(i) ? i.toString() : i + "")) return null;
1283
1284      var a,
1285          n,
1286          r,
1287          o,
1288          l = 0,
1289          h = (s ? s.shortYearCutoff : null) || this._defaults.shortYearCutoff,
1290          c = "string" != typeof h ? h : new Date().getFullYear() % 100 + parseInt(h, 10),
1291          d = (s ? s.dayNamesShort : null) || this._defaults.dayNamesShort,
1292          p = (s ? s.dayNames : null) || this._defaults.dayNames,
1293          u = (s ? s.monthNamesShort : null) || this._defaults.monthNamesShort,
1294          f = (s ? s.monthNames : null) || this._defaults.monthNames,
1295          g = -1,
1296          m = -1,
1297          _ = -1,
1298          v = -1,
1299          k = !1,
1300          y = function y(t) {
1301        var i = a + 1 < e.length && e.charAt(a + 1) === t;
1302        return i && a++, i;
1303      },
1304          D = function D(t) {
1305        var e = y(t),
1306            s = "@" === t ? 14 : "!" === t ? 20 : "y" === t && e ? 4 : "o" === t ? 3 : 2,
1307            a = new RegExp("^\\d{" + ("y" === t ? s : 1) + "," + s + "}"),
1308            n = i.substring(l).match(a);
1309        if (!n) throw "Missing number at position " + l;
1310        return l += n[0].length, parseInt(n[0], 10);
1311      },
1312          b = function b(e, s, a) {
1313        var n = -1,
1314            r = t.map(y(e) ? a : s, function (t, e) {
1315          return [[e, t]];
1316        }).sort(function (t, e) {
1317          return -(t[1].length - e[1].length);
1318        });
1319        if (t.each(r, function (t, e) {
1320          var s = e[1];
1321          if (i.substr(l, s.length).toLowerCase() === s.toLowerCase()) return n = e[0], l += s.length, !1;
1322        }), -1 !== n) return n + 1;
1323        throw "Unknown name at position " + l;
1324      },
1325          w = function w() {
1326        if (i.charAt(l) !== e.charAt(a)) throw "Unexpected literal at position " + l;
1327        l++;
1328      };
1329
1330      for (a = 0; a < e.length; a++) {
1331        if (k) "'" !== e.charAt(a) || y("'") ? w() : k = !1;else switch (e.charAt(a)) {
1332          case "d":
1333            _ = D("d");
1334            break;
1335
1336          case "D":
1337            b("D", d, p);
1338            break;
1339
1340          case "o":
1341            v = D("o");
1342            break;
1343
1344          case "m":
1345            m = D("m");
1346            break;
1347
1348          case "M":
1349            m = b("M", u, f);
1350            break;
1351
1352          case "y":
1353            g = D("y");
1354            break;
1355
1356          case "@":
1357            g = (o = new Date(D("@"))).getFullYear(), m = o.getMonth() + 1, _ = o.getDate();
1358            break;
1359
1360          case "!":
1361            g = (o = new Date((D("!") - this._ticksTo1970) / 1e4)).getFullYear(), m = o.getMonth() + 1, _ = o.getDate();
1362            break;
1363
1364          case "'":
1365            y("'") ? w() : k = !0;
1366            break;
1367
1368          default:
1369            w();
1370        }
1371      }
1372
1373      if (l < i.length && (r = i.substr(l), !/^\s+/.test(r))) throw "Extra/unparsed characters found in date: " + r;
1374      if (-1 === g ? g = new Date().getFullYear() : g < 100 && (g += new Date().getFullYear() - new Date().getFullYear() % 100 + (g <= c ? 0 : -100)), v > -1) for (m = 1, _ = v;;) {
1375        if (_ <= (n = this._getDaysInMonth(g, m - 1))) break;
1376        m++, _ -= n;
1377      }
1378      if ((o = this._daylightSavingAdjust(new Date(g, m - 1, _))).getFullYear() !== g || o.getMonth() + 1 !== m || o.getDate() !== _) throw "Invalid date";
1379      return o;
1380    },
1381    ATOM: "yy-mm-dd",
1382    COOKIE: "D, dd M yy",
1383    ISO_8601: "yy-mm-dd",
1384    RFC_822: "D, d M y",
1385    RFC_850: "DD, dd-M-y",
1386    RFC_1036: "D, d M y",
1387    RFC_1123: "D, d M yy",
1388    RFC_2822: "D, d M yy",
1389    RSS: "D, d M y",
1390    TICKS: "!",
1391    TIMESTAMP: "@",
1392    W3C: "yy-mm-dd",
1393    _ticksTo1970: 24 * (718685 + Math.floor(492.5) - Math.floor(19.7) + Math.floor(4.925)) * 60 * 60 * 1e7,
1394    formatDate: function formatDate(t, e, i) {
1395      if (!e) return "";
1396
1397      var s,
1398          a = (i ? i.dayNamesShort : null) || this._defaults.dayNamesShort,
1399          n = (i ? i.dayNames : null) || this._defaults.dayNames,
1400          r = (i ? i.monthNamesShort : null) || this._defaults.monthNamesShort,
1401          o = (i ? i.monthNames : null) || this._defaults.monthNames,
1402          l = function l(e) {
1403        var i = s + 1 < t.length && t.charAt(s + 1) === e;
1404        return i && s++, i;
1405      },
1406          h = function h(t, e, i) {
1407        var s = "" + e;
1408        if (l(t)) for (; s.length < i;) {
1409          s = "0" + s;
1410        }
1411        return s;
1412      },
1413          c = function c(t, e, i, s) {
1414        return l(t) ? s[e] : i[e];
1415      },
1416          d = "",
1417          p = !1;
1418
1419      if (e) for (s = 0; s < t.length; s++) {
1420        if (p) "'" !== t.charAt(s) || l("'") ? d += t.charAt(s) : p = !1;else switch (t.charAt(s)) {
1421          case "d":
1422            d += h("d", e.getDate(), 2);
1423            break;
1424
1425          case "D":
1426            d += c("D", e.getDay(), a, n);
1427            break;
1428
1429          case "o":
1430            d += h("o", Math.round((new Date(e.getFullYear(), e.getMonth(), e.getDate()).getTime() - new Date(e.getFullYear(), 0, 0).getTime()) / 864e5), 3);
1431            break;
1432
1433          case "m":
1434            d += h("m", e.getMonth() + 1, 2);
1435            break;
1436
1437          case "M":
1438            d += c("M", e.getMonth(), r, o);
1439            break;
1440
1441          case "y":
1442            d += l("y") ? e.getFullYear() : (e.getFullYear() % 100 < 10 ? "0" : "") + e.getFullYear() % 100;
1443            break;
1444
1445          case "@":
1446            d += e.getTime();
1447            break;
1448
1449          case "!":
1450            d += 1e4 * e.getTime() + this._ticksTo1970;
1451            break;
1452
1453          case "'":
1454            l("'") ? d += "'" : p = !0;
1455            break;
1456
1457          default:
1458            d += t.charAt(s);
1459        }
1460      }
1461      return d;
1462    },
1463    _possibleChars: function _possibleChars(t) {
1464      var e,
1465          i = "",
1466          s = !1,
1467          a = function a(i) {
1468        var s = e + 1 < t.length && t.charAt(e + 1) === i;
1469        return s && e++, s;
1470      };
1471
1472      for (e = 0; e < t.length; e++) {
1473        if (s) "'" !== t.charAt(e) || a("'") ? i += t.charAt(e) : s = !1;else switch (t.charAt(e)) {
1474          case "d":
1475          case "m":
1476          case "y":
1477          case "@":
1478            i += "0123456789";
1479            break;
1480
1481          case "D":
1482          case "M":
1483            return null;
1484
1485          case "'":
1486            a("'") ? i += "'" : s = !0;
1487            break;
1488
1489          default:
1490            i += t.charAt(e);
1491        }
1492      }
1493
1494      return i;
1495    },
1496    _get: function _get(t, e) {
1497      return void 0 !== t.settings[e] ? t.settings[e] : this._defaults[e];
1498    },
1499    _setDateFromField: function _setDateFromField(t, e) {
1500      if (t.input.val() !== t.lastVal) {
1501        var i = this._get(t, "dateFormat"),
1502            s = t.lastVal = t.input ? t.input.val() : null,
1503            a = this._getDefaultDate(t),
1504            n = a,
1505            r = this._getFormatConfig(t);
1506
1507        try {
1508          n = this.parseDate(i, s, r) || a;
1509        } catch (t) {
1510          s = e ? "" : s;
1511        }
1512
1513        t.selectedDay = n.getDate(), t.drawMonth = t.selectedMonth = n.getMonth(), t.drawYear = t.selectedYear = n.getFullYear(), t.currentDay = s ? n.getDate() : 0, t.currentMonth = s ? n.getMonth() : 0, t.currentYear = s ? n.getFullYear() : 0, this._adjustInstDate(t);
1514      }
1515    },
1516    _getDefaultDate: function _getDefaultDate(t) {
1517      return this._restrictMinMax(t, this._determineDate(t, this._get(t, "defaultDate"), new Date()));
1518    },
1519    _determineDate: function _determineDate(e, i, s) {
1520      var a = null == i || "" === i ? s : "string" == typeof i ? function (i) {
1521        try {
1522          return t.datepicker.parseDate(t.datepicker._get(e, "dateFormat"), i, t.datepicker._getFormatConfig(e));
1523        } catch (t) {}
1524
1525        for (var s = (i.toLowerCase().match(/^c/) ? t.datepicker._getDate(e) : null) || new Date(), a = s.getFullYear(), n = s.getMonth(), r = s.getDate(), o = /([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g, l = o.exec(i); l;) {
1526          switch (l[2] || "d") {
1527            case "d":
1528            case "D":
1529              r += parseInt(l[1], 10);
1530              break;
1531
1532            case "w":
1533            case "W":
1534              r += 7 * parseInt(l[1], 10);
1535              break;
1536
1537            case "m":
1538            case "M":
1539              n += parseInt(l[1], 10), r = Math.min(r, t.datepicker._getDaysInMonth(a, n));
1540              break;
1541
1542            case "y":
1543            case "Y":
1544              a += parseInt(l[1], 10), r = Math.min(r, t.datepicker._getDaysInMonth(a, n));
1545          }
1546
1547          l = o.exec(i);
1548        }
1549
1550        return new Date(a, n, r);
1551      }(i) : "number" == typeof i ? isNaN(i) ? s : function (t) {
1552        var e = new Date();
1553        return e.setDate(e.getDate() + t), e;
1554      }(i) : new Date(i.getTime());
1555      return (a = a && "Invalid Date" === a.toString() ? s : a) && (a.setHours(0), a.setMinutes(0), a.setSeconds(0), a.setMilliseconds(0)), this._daylightSavingAdjust(a);
1556    },
1557    _daylightSavingAdjust: function _daylightSavingAdjust(t) {
1558      return t ? (t.setHours(t.getHours() > 12 ? t.getHours() + 2 : 0), t) : null;
1559    },
1560    _setDate: function _setDate(t, e, i) {
1561      var s = !e,
1562          a = t.selectedMonth,
1563          n = t.selectedYear,
1564          r = this._restrictMinMax(t, this._determineDate(t, e, new Date()));
1565
1566      t.selectedDay = t.currentDay = r.getDate(), t.drawMonth = t.selectedMonth = t.currentMonth = r.getMonth(), t.drawYear = t.selectedYear = t.currentYear = r.getFullYear(), a === t.selectedMonth && n === t.selectedYear || i || this._notifyChange(t), this._adjustInstDate(t), t.input && t.input.val(s ? "" : this._formatDate(t));
1567    },
1568    _getDate: function _getDate(t) {
1569      return !t.currentYear || t.input && "" === t.input.val() ? null : this._daylightSavingAdjust(new Date(t.currentYear, t.currentMonth, t.currentDay));
1570    },
1571    _attachHandlers: function _attachHandlers(e) {
1572      var i = this._get(e, "stepMonths"),
1573          s = "#" + e.id.replace(/\\\\/g, "\\");
1574
vendor: 4,523 bytes, lines 1575-1662
1575      e.dpDiv.find("[data-handler]").map(function () {
1576        var e = {
1577          prev: function prev() {
1578            t.datepicker._adjustDate(s, -i, "M");
1579          },
1580          next: function next() {
1581            t.datepicker._adjustDate(s, +i, "M");
1582          },
1583          hide: function hide() {
1584            t.datepicker._hideDatepicker();
1585          },
1586          today: function today() {
1587            t.datepicker._gotoToday(s);
1588          },
1589          selectDay: function selectDay() {
1590            return t.datepicker._selectDay(s, +this.getAttribute("data-month"), +this.getAttribute("data-year"), this), !1;
1591          },
1592          selectMonth: function selectMonth() {
1593            return t.datepicker._selectMonthYear(s, this, "M"), !1;
1594          },
1595          selectYear: function selectYear() {
1596            return t.datepicker._selectMonthYear(s, this, "Y"), !1;
1597          }
1598        };
1599        t(this).on(this.getAttribute("data-event"), e[this.getAttribute("data-handler")]);
1600      });
1601    },
1602    _generateHTML: function _generateHTML(t) {
1603      var e,
1604          i,
1605          s,
1606          a,
1607          n,
1608          r,
1609          o,
1610          l,
1611          h,
1612          c,
1613          d,
1614          p,
1615          u,
1616          f,
1617          g,
1618          m,
1619          _,
1620          v,
1621          k,
1622          y,
1623          D,
1624          b,
1625          w,
1626          M,
1627          C,
1628          x,
1629          I,
1630          N,
1631          S,
1632          P,
1633          T,
1634          A,
1635          Y,
1636          F,
1637          E,
1638          O,
1639          H,
1640          L,
1641          j,
1642          K = new Date(),
1643          W = this._daylightSavingAdjust(new Date(K.getFullYear(), K.getMonth(), K.getDate())),
1644          R = this._get(t, "isRTL"),
1645          z = this._get(t, "showButtonPanel"),
1646          U = this._get(t, "hideIfNoPrevNext"),
1647          B = this._get(t, "navigationAsDateFormat"),
1648          X = this._getNumberOfMonths(t),
1649          J = this._get(t, "showCurrentAtPos"),
1650          q = this._get(t, "stepMonths"),
1651          V = 1 !== X[0] || 1 !== X[1],
1652          G = this._daylightSavingAdjust(t.currentDay ? new Date(t.currentYear, t.currentMonth, t.currentDay) : new Date(9999, 9, 9)),
1653          $ = this._getMinMaxDate(t, "min"),
1654          Q = this._getMinMaxDate(t, "max"),
1655          Z = t.drawMonth - J,
1656          tt = t.drawYear;
1657
1658      if (Z < 0 && (Z += 12, tt--), Q) for (e = this._daylightSavingAdjust(new Date(Q.getFullYear(), Q.getMonth() - X[0] * X[1] + 1, Q.getDate())), e = $ && e < $ ? $ : e; this._daylightSavingAdjust(new Date(tt, Z, 1)) > e;) {
1659        --Z < 0 && (Z = 11, tt--);
1660      }
1661
1662      for (t.drawMonth = Z, t.drawYear = tt, i = this._get(t, "prevText"), i = B ? this.formatDate(i, this._daylightSavingAdjust(new Date(tt, Z - q, 1)), this._getFormatConfig(t)) : i, s = this._canAdjustMonth(t, -1, tt, Z) ? "<a class='ui-datepicker-prev ui-corner-all' data-handler='prev' data-event='click' title='" + i + "'><span class='ui-icon ui-icon-circle-triangle-" + (R ? "e" : "w") + "'>" + i + "</span></a>" : U ? "" : "<a class='ui-datepicker-prev ui-corner-all ui-state-disabled' title='" + i + "'><span class='ui-icon ui-icon-circle-triangle-" + (R ? "e" : "w") + "'>" + i + "</span></a>", a = this._get(t, "nextText"), a = B ? this.formatDate(a, this._daylightSavingAdjust(new Date(tt, Z + q, 1)), this._getFormatConfig(t)) : a, n = this._canAdjustMonth(t, 1, tt, Z) ? "<a class='ui-datepicker-next ui-corner-all' data-handler='next' data-event='click' title='" + a + "'><span class='ui-icon ui-icon-circle-triangle-" + (R ? "w" : "e") + "'>" + a + "</span></a>" : U ? "" : "<a class='ui-datepicker-next ui-corner-all ui-state-disabled' title='" + a + "'><span class='ui-icon ui-icon-circle-triangle-" + (R ? "w" : "e") + "'>" + a + "</span></a>", r = this._get(t, "currentText"), o = this._get(t, "gotoCurrent") && t.currentDay ? G : W, r = B ? this.formatDate(r, o, this._getFormatConfig(t)) : r, l = t.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(t, "closeText") + "</button>", h = z ? "<div class='ui-datepicker-buttonpane ui-widget-content'>" + (R ? l : "") + (this._isInRange(t, 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>" : "") + (R ? "" : l) + "</div>" : "", c = parseInt(this._get(t, "firstDay"), 10), c = isNaN(c) ? 0 : c, d = this._get(t, "showWeek"), p 
vendor: 5,043 bytes, lines 1662-1724
1662= this._get(t, "dayNames"), u = this._get(t, "dayNamesMin"), f = this._get(t, "monthNames"), g = this._get(t, "monthNamesShort"), m = this._get(t, "beforeShowDay"), _ = this._get(t, "showOtherMonths"), v = this._get(t, "selectOtherMonths"), k = this._getDefaultDate(t), y = "", b = 0; b < X[0]; b++) {
1663        for (w = "", this.maxRows = 4, M = 0; M < X[1]; M++) {
1664          if (C = this._daylightSavingAdjust(new Date(tt, Z, t.selectedDay)), x = " ui-corner-all", I = "", V) {
1665            if (I += "<div class='ui-datepicker-group", X[1] > 1) switch (M) {
1666              case 0:
1667                I += " ui-datepicker-group-first", x = " ui-corner-" + (R ? "right" : "left");
1668                break;
1669
1670              case X[1] - 1:
1671                I += " ui-datepicker-group-last", x = " ui-corner-" + (R ? "left" : "right");
1672                break;
1673
1674              default:
1675                I += " ui-datepicker-group-middle", x = "";
1676            }
1677            I += "'>";
1678          }
1679
1680          for (I += "<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix" + x + "'>" + (/all|left/.test(x) && 0 === b ? R ? n : s : "") + (/all|right/.test(x) && 0 === b ? R ? s : n : "") + this._generateMonthYearHeader(t, Z, tt, $, Q, b > 0 || M > 0, f, g) + "</div><table class='ui-datepicker-calendar'><thead><tr>", N = d ? "<th class='ui-datepicker-week-col'>" + this._get(t, "weekHeader") + "</th>" : "", D = 0; D < 7; D++) {
1681            N += "<th scope='col'" + ((D + c + 6) % 7 >= 5 ? " class='ui-datepicker-week-end'" : "") + "><span title='" + p[S = (D + c) % 7] + "'>" + u[S] + "</span></th>";
1682          }
1683
1684          for (I += N + "</tr></thead><tbody>", P = this._getDaysInMonth(tt, Z), tt === t.selectedYear && Z === t.selectedMonth && (t.selectedDay = Math.min(t.selectedDay, P)), T = (this._getFirstDayOfMonth(tt, Z) - c + 7) % 7, A = Math.ceil((T + P) / 7), Y = V && this.maxRows > A ? this.maxRows : A, this.maxRows = Y, F = this._daylightSavingAdjust(new Date(tt, Z, 1 - T)), E = 0; E < Y; E++) {
1685            for (I += "<tr>", O = d ? "<td class='ui-datepicker-week-col'>" + this._get(t, "calculateWeek")(F) + "</td>" : "", D = 0; D < 7; D++) {
1686              H = m ? m.apply(t.input ? t.input[0] : null, [F]) : [!0, ""], j = (L = F.getMonth() !== Z) && !v || !H[0] || $ && F < $ || Q && F > Q, O += "<td class='" + ((D + c + 6) % 7 >= 5 ? " ui-datepicker-week-end" : "") + (L ? " ui-datepicker-other-month" : "") + (F.getTime() === C.getTime() && Z === t.selectedMonth && t._keyEvent || k.getTime() === F.getTime() && k.getTime() === C.getTime() ? " " + this._dayOverClass : "") + (j ? " " + this._unselectableClass + " ui-state-disabled" : "") + (L && !_ ? "" : " " + H[1] + (F.getTime() === G.getTime() ? " " + this._currentClass : "") + (F.getTime() === W.getTime() ? " ui-datepicker-today" : "")) + "'" + (L && !_ || !H[2] ? "" : " title='" + H[2].replace(/'/g, "&#39;") + "'") + (j ? "" : " data-handler='selectDay' data-event='click' data-month='" + F.getMonth() + "' data-year='" + F.getFullYear() + "'") + ">" + (L && !_ ? "&#xa0;" : j ? "<span class='ui-state-default'>" + F.getDate() + "</span>" : "<a class='ui-state-default" + (F.getTime() === W.getTime() ? " ui-state-highlight" : "") + (F.getTime() === G.getTime() ? " ui-state-active" : "") + (L ? " ui-priority-secondary" : "") + "' href='#'>" + F.getDate() + "</a>") + "</td>", F.setDate(F.getDate() + 1), F = this._daylightSavingAdjust(F);
1687            }
1688
1689            I += O + "</tr>";
1690          }
1691
1692          ++Z > 11 && (Z = 0, tt++), w += I += "</tbody></table>" + (V ? "</div>" + (X[0] > 0 && M === X[1] - 1 ? "<div class='ui-datepicker-row-break'></div>" : "") : "");
1693        }
1694
1695        y += w;
1696      }
1697
1698      return y += h, t._keyEvent = !1, y;
1699    },
1700    _generateMonthYearHeader: function _generateMonthYearHeader(t, e, i, s, a, n, r, o) {
1701      var l,
1702          h,
1703          c,
1704          d,
1705          p,
1706          u,
1707          f,
1708          g,
1709          m = this._get(t, "changeMonth"),
1710          _ = this._get(t, "changeYear"),
1711          v = this._get(t, "showMonthAfterYear"),
1712          k = "<div class='ui-datepicker-title'>",
1713          y = "";
1714
1715      if (n || !m) y += "<span class='ui-datepicker-month'>" + r[e] + "</span>";else {
1716        for (l = s && s.getFullYear() === i, h = a && a.getFullYear() === i, y += "<select class='ui-datepicker-month' data-handler='selectMonth' data-event='change'>", c = 0; c < 12; c++) {
1717          (!l || c >= s.getMonth()) && (!h || c <= a.getMonth()) && (y += "<option value='" + c + "'" + (c === e ? " selected='selected'" : "") + ">" + o[c] + "</option>");
1718        }
1719
1720        y += "</select>";
1721      }
1722      if (v || (k += y + (!n && m && _ ? "" : "&#xa0;")), !t.yearshtml) if (t.yearshtml = "", n || !_) k += "<span class='ui-datepicker-year'>" + i + "</span>";else {
1723        for (d = this._get(t, "yearRange").split(":"), p = new Date().getFullYear(), f = (u = function u(t) {
1724          var e = t.match(/c[+\-].*/) ? i + parseInt(t.substring(1), 10) : t.match(/[+\-].*/) ? p + parseInt(t, 10) : parseInt(t, 10);
1725          return isNaN(e) ? p : e;
1726        })(d[0]), g = Math.max(f, u(d[1] || "")), f = s ? Math.max(f, s.getFullYear()) : f, g = a ? Math.min(g, a.getFullYear()) : g, t.yearshtml += "<select class='ui-datepicker-year' data-handler='selectYear' data-event='change'>"; f <= g; f++) {
1727          t.yearshtml += "<option value='" + f + "'" + (f === i ? " selected='selected'" : "") + ">" + f + "</option>";
1728        }
1729
1730        t.yearshtml += "</select>", k += t.yearshtml, t.yearshtml = null;
1731      }
1732      return k += this._get(t, "yearSuffix"), v && (k += (!n && m && _ ? "" : "&#xa0;") + y), k += "</div>";
1733    },
1734    _adjustInstDate: function _adjustInstDate(t, e, i) {
1735      var s = t.selectedYear + ("Y" === i ? e : 0),
1736          a = t.selectedMonth + ("M" === i ? e : 0),
1737          n = Math.min(t.selectedDay, this._getDaysInMonth(s, a)) + ("D" === i ? e : 0),
1738          r = this._restrictMinMax(t, this._daylightSavingAdjust(new Date(s, a, n)));
1739
1740      t.selectedDay = r.getDate(), t.drawMonth = t.selectedMonth = r.getMonth(), t.drawYear = t.selectedYear = r.getFullYear(), "M" !== i && "Y" !== i || this._notifyChange(t);
1741    },
1742    _restrictMinMax: function _restrictMinMax(t, e) {
1743      var i = this._getMinMaxDate(t, "min"),
1744          s = this._getMinMaxDate(t, "max"),
1745          a = i && e < i ? i : e;
1746
1747      return s && a > s ? s : a;
1748    },
1749    _notifyChange: function _notifyChange(t) {
1750      var e = this._get(t, "onChangeMonthYear");
1751
1752      e && e.apply(t.input ? t.input[0] : null, [t.selectedYear, t.selectedMonth + 1, t]);
1753    },
1754    _getNumberOfMonths: function _getNumberOfMonths(t) {
1755      var e = this._get(t, "numberOfMonths");
1756
1757      return null == e ? [1, 1] : "number" == typeof e ? [1, e] : e;
1758    },
1759    _getMinMaxDate: function _getMinMaxDate(t, e) {
1760      return this._determineDate(t, this._get(t, e + "Date"), null);
1761    },
1762    _getDaysInMonth: function _getDaysInMonth(t, e) {
1763      return 32 - this._daylightSavingAdjust(new Date(t, e, 32)).getDate();
1764    },
1765    _getFirstDayOfMonth: function _getFirstDayOfMonth(t, e) {
1766      return new Date(t, e, 1).getDay();
1767    },
1768    _canAdjustMonth: function _canAdjustMonth(t, e, i, s) {
1769      var a = this._getNumberOfMonths(t),
1770          n = this._daylightSavingAdjust(new Date(i, s + (e < 0 ? e : a[0] * a[1]), 1));
1771
1772      return e < 0 && n.setDate(this._getDaysInMonth(n.getFullYear(), n.getMonth())), this._isInRange(t, n);
1773    },
1774    _isInRange: function _isInRange(t, e) {
1775      var i,
1776          s,
1777          a = this._getMinMaxDate(t, "min"),
1778          n = this._getMinMaxDate(t, "max"),
1779          r = null,
1780          o = null,
1781          l = this._get(t, "yearRange");
1782
1783      return l && (i = l.split(":"), s = new Date().getFullYear(), r = parseInt(i[0], 10), o = parseInt(i[1], 10), i[0].match(/[+\-].*/) && (r += s), i[1].match(/[+\-].*/) && (o += s)), (!a || e.getTime() >= a.getTime()) && (!n || e.getTime() <= n.getTime()) && (!r || e.getFullYear() >= r) && (!o || e.getFullYear() <= o);
1784    },
1785    _getFormatConfig: function _getFormatConfig(t) {
1786      var e = this._get(t, "shortYearCutoff");
1787
1788      return {
1789        shortYearCutoff: e = "string" != typeof e ? e : new Date().getFullYear() % 100 + parseInt(e, 10),
1790        dayNamesShort: this._get(t, "dayNamesShort"),
1791        dayNames: this._get(t, "dayNames"),
1792        monthNamesShort: this._get(t, "monthNamesShort"),
1793        monthNames: this._get(t, "monthNames")
1794      };
1795    },
1796    _formatDate: function _formatDate(t, e, i, s) {
1797      e || (t.currentDay = t.selectedDay, t.currentMonth = t.selectedMonth, t.currentYear = t.selectedYear);
1798      var a = e ? "object" == _typeof(e) ? e : this._daylightSavingAdjust(new Date(s, i, e)) : this._daylightSavingAdjust(new Date(t.currentYear, t.currentMonth, t.currentDay));
1799      return this.formatDate(this._get(t, "dateFormat"), a, this._getFormatConfig(t));
1800    }
1801  }), t.fn.datepicker = function (e) {
1802    if (!this.length) return this;
1803    t.datepicker.initialized || (t(document).on("mousedown", t.datepicker._checkExternalClick), t.datepicker.initialized = !0), 0 === t("#" + t.datepicker._mainDivId).length && t("body").append(t.datepicker.dpDiv);
1804    var i = Array.prototype.slice.call(arguments, 1);
1805    return "string" != typeof e || "isDisabled" !== e && "getDate" !== e && "widget" !== e ? "option" === e && 2 === arguments.length && "string" == typeof arguments[1] ? t.datepicker["_" + e + "Datepicker"].apply(t.datepicker, [this[0]].concat(i)) : this.each(function () {
1806      "string" == typeof e ? t.datepicker["_" + e + "Datepicker"].apply(t.datepicker, [this].concat(i)) : t.datepicker._attachDatepicker(this, e);
1807    }) : t.datepicker["_" + e + "Datepicker"].apply(t.datepicker, [this[0]].concat(i));
1808  }, t.datepicker = new r(), t.datepicker.initialized = !1, t.datepicker.uuid = new Date().getTime(), t.datepicker.version = "1.12.1";
1809  t.datepicker;
1810});

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.