vendor: 6,445 bytes, lines 1-106
1/*! jQuery UI - v1.12.1 - 2017-01-12 2* http://jqueryui.com 3* Includes: widget.js, position.js, keycode.js, unique-id.js, widgets/mouse.js, widgets/slider.js, widgets/tooltip.js 4* Copyright jQuery Foundation and other contributors; Licensed MIT */ 5 6(function (t) { 7 "function" == typeof define && define.amd ? define(["jquery"], t) : t(jQuery) 8})(function (t) { 9 t(document).ready(function() 10 { 11 12 t.ui = t.ui || {}, t.ui.version = "1.12.1"; 13 var e = 0, i = Array.prototype.slice; 14 t.cleanData = function (e) { 15 return function (i) { 16 var s, n, o; 17 for (o = 0; null != (n = i[o]); o++) try { 18 s = t._data(n, "events"), s && s.remove && t(n).triggerHandler("remove") 19 } catch (a) { 20 } 21 e(i) 22 } 23 }(t.cleanData), t.widget = function (e, i, s) { 24 var n, o, a, r = {}, l = e.split(".")[0]; 25 e = e.split(".")[1]; 26 var h = l + "-" + e; 27 return s || (s = i, i = t.Widget), t.isArray(s) && (s = t.extend.apply(null, [{}].concat(s))), t.expr[":"][h.toLowerCase()] = function (e) { 28 return !!t.data(e, h) 29 }, t[l] = t[l] || {}, n = t[l][e], o = t[l][e] = function (t, e) { 30 return this._createWidget ? (arguments.length && this._createWidget(t, e), void 0) : new o(t, e) 31 }, t.extend(o, n, { 32 version: s.version, 33 _proto: t.extend({}, s), 34 _childConstructors: [] 35 }), a = new i, a.options = t.widget.extend({}, a.options), t.each(s, function (e, s) { 36 return t.isFunction(s) ? (r[e] = function () { 37 function t() { 38 return i.prototype[e].apply(this, arguments) 39 } 40 41 function n(t) { 42 return i.prototype[e].apply(this, t) 43 } 44 45 return function () { 46 var e, i = this._super, o = this._superApply; 47 return this._super = t, this._superApply = n, e = s.apply(this, arguments), this._super = i, this._superApply = o, e 48 } 49 }(), void 0) : (r[e] = s, void 0) 50 }), o.prototype = t.widget.extend(a, {widgetEventPrefix: n ? a.widgetEventPrefix || e : e}, r, { 51 constructor: o, 52 namespace: l, 53 widgetName: e, 54 widgetFullName: h 55 }), n ? (t.each(n._childConstructors, function (e, i) { 56 var s = i.prototype; 57 t.widget(s.namespace + "." + s.widgetName, o, i._proto) 58 }), delete n._childConstructors) : i._childConstructors.push(o), t.widget.bridge(e, o), o 59 }, t.widget.extend = function (e) { 60 for (var s, n, o = i.call(arguments, 1), a = 0, r = o.length; r > a; a++) for (s in o[a]) n = o[a][s], o[a].hasOwnProperty(s) && void 0 !== n && (e[s] = t.isPlainObject(n) ? t.isPlainObject(e[s]) ? t.widget.extend({}, e[s], n) : t.widget.extend({}, n) : n); 61 return e 62 }, t.widget.bridge = function (e, s) { 63 var n = s.prototype.widgetFullName || e; 64 t.fn[e] = function (o) { 65 var a = "string" == typeof o, r = i.call(arguments, 1), l = this; 66 return a ? this.length || "instance" !== o ? this.each(function () { 67 var i, s = t.data(this, n); 68 return "instance" === o ? (l = s, !1) : s ? t.isFunction(s[o]) && "_" !== o.charAt(0) ? (i = s[o].apply(s, r), i !== s && void 0 !== i ? (l = i && i.jquery ? l.pushStack(i.get()) : i, !1) : void 0) : t.error("no such method '" + o + "' for " + e + " widget instance") : t.error("cannot call methods on " + e + " prior to initialization; " + "attempted to call method '" + o + "'") 69 }) : l = void 0 : (r.length && (o = t.widget.extend.apply(null, [o].concat(r))), this.each(function () { 70 var e = t.data(this, n); 71 e ? (e.option(o || {}), e._init && e._init()) : t.data(this, n, new s(o, this)) 72 })), l 73 } 74 }, t.Widget = function () { 75 }, t.Widget._childConstructors = [], t.Widget.prototype = { 76 widgetName: "widget", 77 widgetEventPrefix: "", 78 defaultElement: "<div>", 79 options: {classes: {}, disabled: !1, create: null}, 80 _createWidget: function (i, s) { 81 s = t(s || this.defaultElement || this)[0], this.element = t(s), this.uuid = e++, 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, { 82 remove: function (t) { 83 t.target === s && this.destroy() 84 } 85 }), 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(), i), this._create(), this.options.disabled && this._setOptionDisabled(this.options.disabled), this._trigger("create", null, this._getCreateEventData()), this._init() 86 }, 87 _getCreateOptions: function () { 88 return {} 89 }, 90 _getCreateEventData: t.noop, 91 _create: t.noop, 92 _init: t.noop, 93 destroy: function () { 94 var e = this; 95 this._destroy(), t.each(this.classesElementLookup, function (t, i) { 96 e._removeClass(i, t) 97 }), this.element.off(this.eventNamespace).removeData(this.widgetFullName), this.widget().off(this.eventNamespace).removeAttr("aria-disabled"), this.bindings.off(this.eventNamespace) 98 }, 99 _destroy: t.noop, 100 widget: function () { 101 return this.element 102 }, 103 option: function (e, i) { 104 var s, n, o, a = e; 105 if (0 === arguments.length) return t.widget.extend({}, this.options); 106 if ("string" == typeof e) if (a = {}, s = e.split("."), e = s.shift(), s.length) {
vendor: 17,400 bytes, lines 107-385
107 for (n = a[e] = t.widget.extend({}, this.options[e]), o = 0; s.length - 1 > o; o++) n[s[o]] = n[s[o]] || {}, n = n[s[o]]; 108 if (e = s.pop(), 1 === arguments.length) return void 0 === n[e] ? null : n[e]; 109 n[e] = i 110 } else { 111 if (1 === arguments.length) return void 0 === this.options[e] ? null : this.options[e]; 112 a[e] = i 113 } 114 return this._setOptions(a), this 115 }, 116 _setOptions: function (t) { 117 var e; 118 for (e in t) this._setOption(e, t[e]); 119 return this 120 }, 121 _setOption: function (t, e) { 122 return "classes" === t && this._setOptionClasses(e), this.options[t] = e, "disabled" === t && this._setOptionDisabled(e), this 123 }, 124 _setOptionClasses: function (e) { 125 var i, s, n; 126 for (i in e) n = this.classesElementLookup[i], e[i] !== this.options.classes[i] && n && n.length && (s = t(n.get()), this._removeClass(n, i), s.addClass(this._classes({ 127 element: s, 128 keys: i, 129 classes: e, 130 add: !0 131 }))) 132 }, 133 _setOptionDisabled: function (t) { 134 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")) 135 }, 136 enable: function () { 137 return this._setOptions({disabled: !1}) 138 }, 139 disable: function () { 140 return this._setOptions({disabled: !0}) 141 }, 142 _classes: function (e) { 143 function i(i, o) { 144 var a, r; 145 for (r = 0; i.length > r; r++) a = n.classesElementLookup[i[r]] || t(), a = e.add ? t(t.unique(a.get().concat(e.element.get()))) : t(a.not(e.element).get()), n.classesElementLookup[i[r]] = a, s.push(i[r]), o && e.classes[i[r]] && s.push(e.classes[i[r]]) 146 } 147 148 var s = [], n = this; 149 return e = t.extend({ 150 element: this.element, 151 classes: this.options.classes || {} 152 }, e), this._on(e.element, {remove: "_untrackClassesElement"}), e.keys && i(e.keys.match(/\S+/g) || [], !0), e.extra && i(e.extra.match(/\S+/g) || []), s.join(" ") 153 }, 154 _untrackClassesElement: function (e) { 155 var i = this; 156 t.each(i.classesElementLookup, function (s, n) { 157 -1 !== t.inArray(e.target, n) && (i.classesElementLookup[s] = t(n.not(e.target).get())) 158 }) 159 }, 160 _removeClass: function (t, e, i) { 161 return this._toggleClass(t, e, i, !1) 162 }, 163 _addClass: function (t, e, i) { 164 return this._toggleClass(t, e, i, !0) 165 }, 166 _toggleClass: function (t, e, i, s) { 167 s = "boolean" == typeof s ? s : i; 168 var n = "string" == typeof t || null === t, 169 o = {extra: n ? e : i, keys: n ? t : e, element: n ? this.element : t, add: s}; 170 return o.element.toggleClass(this._classes(o), s), this 171 }, 172 _on: function (e, i, s) { 173 var n, o = this; 174 "boolean" != typeof e && (s = i, i = e, e = !1), s ? (i = n = t(i), this.bindings = this.bindings.add(i)) : (s = i, i = this.element, n = this.widget()), t.each(s, function (s, a) { 175 function r() { 176 return e || o.options.disabled !== !0 && !t(this).hasClass("ui-state-disabled") ? ("string" == typeof a ? o[a] : a).apply(o, arguments) : void 0 177 } 178 179 "string" != typeof a && (r.guid = a.guid = a.guid || r.guid || t.guid++); 180 var l = s.match(/^([\w:-]*)\s*(.*)$/), h = l[1] + o.eventNamespace, c = l[2]; 181 c ? n.on(h, c, r) : i.on(h, r) 182 }) 183 }, 184 _off: function (e, i) { 185 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()) 186 }, 187 _delay: function (t, e) { 188 function i() { 189 return ("string" == typeof t ? s[t] : t).apply(s, arguments) 190 } 191 192 var s = this; 193 return setTimeout(i, e || 0) 194 }, 195 _hoverable: function (e) { 196 this.hoverable = this.hoverable.add(e), this._on(e, { 197 mouseenter: function (e) { 198 this._addClass(t(e.currentTarget), null, "ui-state-hover") 199 }, mouseleave: function (e) { 200 this._removeClass(t(e.currentTarget), null, "ui-state-hover") 201 } 202 }) 203 }, 204 _focusable: function (e) { 205 this.focusable = this.focusable.add(e), this._on(e, { 206 focusin: function (e) { 207 this._addClass(t(e.currentTarget), null, "ui-state-focus") 208 }, focusout: function (e) { 209 this._removeClass(t(e.currentTarget), null, "ui-state-focus") 210 } 211 }) 212 }, 213 _trigger: function (e, i, s) { 214 var n, o, a = this.options[e]; 215 if (s = s || {}, i = t.Event(i), i.type = (e === this.widgetEventPrefix ? e : this.widgetEventPrefix + e).toLowerCase(), i.target = this.element[0], o = i.originalEvent) for (n in o) n in i || (i[n] = o[n]); 216 return this.element.trigger(i, s), !(t.isFunction(a) && a.apply(this.element[0], [i].concat(s)) === !1 || i.isDefaultPrevented()) 217 } 218 }, t.each({show: "fadeIn", hide: "fadeOut"}, function (e, i) { 219 t.Widget.prototype["_" + e] = function (s, n, o) { 220 "string" == typeof n && (n = {effect: n}); 221 var a, r = n ? n === !0 || "number" == typeof n ? i : n.effect || i : e; 222 n = n || {}, "number" == typeof n && (n = {duration: n}), a = !t.isEmptyObject(n), n.complete = o, n.delay && s.delay(n.delay), a && t.effects && t.effects.effect[r] ? s[e](n) : r !== e && s[r] ? s[r](n.duration, n.easing, o) : s.queue(function (i) { 223 t(this)[e](), o && o.call(s[0]), i() 224 }) 225 } 226 }), t.widget, function () { 227 function e(t, e, i) { 228 return [parseFloat(t[0]) * (u.test(t[0]) ? e / 100 : 1), parseFloat(t[1]) * (u.test(t[1]) ? i / 100 : 1)] 229 } 230 231 function i(e, i) { 232 return parseInt(t.css(e, i), 10) || 0 233 } 234 235 function s(e) { 236 var i = e[0]; 237 return 9 === i.nodeType ? { 238 width: e.width(), 239 height: e.height(), 240 offset: {top: 0, left: 0} 241 } : t.isWindow(i) ? { 242 width: e.width(), 243 height: e.height(), 244 offset: {top: e.scrollTop(), left: e.scrollLeft()} 245 } : i.preventDefault ? { 246 width: 0, 247 height: 0, 248 offset: {top: i.pageY, left: i.pageX} 249 } : {width: e.outerWidth(), height: e.outerHeight(), offset: e.offset()} 250 } 251 252 var n, o = Math.max, a = Math.abs, r = /left|center|right/, l = /top|center|bottom/, 253 h = /[\+\-]\d+(\.[\d]+)?%?/, c = /^\w+/, u = /%$/, d = t.fn.position; 254 t.position = { 255 scrollbarWidth: function () { 256 if (void 0 !== n) return n; 257 var e, i, 258 s = t("<div style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"), 259 o = s.children()[0]; 260 return t("body").append(s), e = o.offsetWidth, s.css("overflow", "scroll"), i = o.offsetWidth, e === i && (i = s[0].clientWidth), s.remove(), n = e - i 261 }, getScrollInfo: function (e) { 262 var i = e.isWindow || e.isDocument ? "" : e.element.css("overflow-x"), 263 s = e.isWindow || e.isDocument ? "" : e.element.css("overflow-y"), 264 n = "scroll" === i || "auto" === i && e.width < e.element[0].scrollWidth, 265 o = "scroll" === s || "auto" === s && e.height < e.element[0].scrollHeight; 266 return {width: o ? t.position.scrollbarWidth() : 0, height: n ? t.position.scrollbarWidth() : 0} 267 }, getWithinInfo: function (e) { 268 var i = t(e || window), s = t.isWindow(i[0]), n = !!i[0] && 9 === i[0].nodeType, o = !s && !n; 269 return { 270 element: i, 271 isWindow: s, 272 isDocument: n, 273 offset: o ? t(e).offset() : {left: 0, top: 0}, 274 scrollLeft: i.scrollLeft(), 275 scrollTop: i.scrollTop(), 276 width: i.outerWidth(), 277 height: i.outerHeight() 278 } 279 } 280 }, t.fn.position = function (n) { 281 if (!n || !n.of) return d.apply(this, arguments); 282 n = t.extend({}, n); 283 var u, p, f, g, m, _, v = t(n.of), b = t.position.getWithinInfo(n.within), 284 y = t.position.getScrollInfo(b), 285 w = (n.collision || "flip").split(" "), k = {}; 286 return _ = s(v), v[0].preventDefault && (n.at = "left top"), p = _.width, f = _.height, g = _.offset, m = t.extend({}, g), t.each(["my", "at"], function () { 287 var t, e, i = (n[this] || "").split(" "); 288 1 === i.length && (i = r.test(i[0]) ? i.concat(["center"]) : l.test(i[0]) ? ["center"].concat(i) : ["center", "center"]), i[0] = r.test(i[0]) ? i[0] : "center", i[1] = l.test(i[1]) ? i[1] : "center", t = h.exec(i[0]), e = h.exec(i[1]), k[this] = [t ? t[0] : 0, e ? e[0] : 0], n[this] = [c.exec(i[0])[0], c.exec(i[1])[0]] 289 }), 1 === w.length && (w[1] = w[0]), "right" === n.at[0] ? m.left += p : "center" === n.at[0] && (m.left += p / 2), "bottom" === n.at[1] ? m.top += f : "center" === n.at[1] && (m.top += f / 2), u = e(k.at, p, f), m.left += u[0], m.top += u[1], this.each(function () { 290 var s, r, l = t(this), h = l.outerWidth(), c = l.outerHeight(), d = i(this, "marginLeft"), 291 _ = i(this, "marginTop"), x = h + d + i(this, "marginRight") + y.width, 292 C = c + _ + i(this, "marginBottom") + y.height, D = t.extend({}, m), 293 T = e(k.my, l.outerWidth(), l.outerHeight()); 294 "right" === n.my[0] ? D.left -= h : "center" === n.my[0] && (D.left -= h / 2), "bottom" === n.my[1] ? D.top -= c : "center" === n.my[1] && (D.top -= c / 2), D.left += T[0], D.top += T[1], s = { 295 marginLeft: d, 296 marginTop: _ 297 }, t.each(["left", "top"], function (e, i) { 298 t.ui.position[w[e]] && t.ui.position[w[e]][i](D, { 299 targetWidth: p, 300 targetHeight: f, 301 elemWidth: h, 302 elemHeight: c, 303 collisionPosition: s, 304 collisionWidth: x, 305 collisionHeight: C, 306 offset: [u[0] + T[0], u[1] + T[1]], 307 my: n.my, 308 at: n.at, 309 within: b, 310 elem: l 311 }) 312 }), n.using && (r = function (t) { 313 var e = g.left - D.left, i = e + p - h, s = g.top - D.top, r = s + f - c, u = { 314 target: {element: v, left: g.left, top: g.top, width: p, height: f}, 315 element: {element: l, left: D.left, top: D.top, width: h, height: c}, 316 horizontal: 0 > i ? "left" : e > 0 ? "right" : "center", 317 vertical: 0 > r ? "top" : s > 0 ? "bottom" : "middle" 318 }; 319 h > p && p > a(e + i) && (u.horizontal = "center"), c > f && f > a(s + r) && (u.vertical = "middle"), u.important = o(a(e), a(i)) > o(a(s), a(r)) ? "horizontal" : "vertical", n.using.call(this, t, u) 320 }), l.offset(t.extend(D, {using: r})) 321 }) 322 }, t.ui.position = { 323 fit: { 324 left: function (t, e) { 325 var i, s = e.within, n = s.isWindow ? s.scrollLeft : s.offset.left, a = s.width, 326 r = t.left - e.collisionPosition.marginLeft, l = n - r, h = r + e.collisionWidth - a - n; 327 e.collisionWidth > a ? l > 0 && 0 >= h ? (i = t.left + l + e.collisionWidth - a - n, t.left += l - i) : t.left = h > 0 && 0 >= l ? n : l > h ? n + a - e.collisionWidth : n : l > 0 ? t.left += l : h > 0 ? t.left -= h : t.left = o(t.left - r, t.left) 328 }, top: function (t, e) { 329 var i, s = e.within, n = s.isWindow ? s.scrollTop : s.offset.top, a = e.within.height, 330 r = t.top - e.collisionPosition.marginTop, l = n - r, h = r + e.collisionHeight - a - n; 331 e.collisionHeight > a ? l > 0 && 0 >= h ? (i = t.top + l + e.collisionHeight - a - n, t.top += l - i) : t.top = h > 0 && 0 >= l ? n : l > h ? n + a - e.collisionHeight : n : l > 0 ? t.top += l : h > 0 ? t.top -= h : t.top = o(t.top - r, t.top) 332 } 333 }, flip: { 334 left: function (t, e) { 335 var i, s, n = e.within, o = n.offset.left + n.scrollLeft, r = n.width, 336 l = n.isWindow ? n.scrollLeft : n.offset.left, h = t.left - e.collisionPosition.marginLeft, 337 c = h - l, u = h + e.collisionWidth - r - l, 338 d = "left" === e.my[0] ? -e.elemWidth : "right" === e.my[0] ? e.elemWidth : 0, 339 p = "left" === e.at[0] ? e.targetWidth : "right" === e.at[0] ? -e.targetWidth : 0, 340 f = -2 * e.offset[0]; 341 0 > c ? (i = t.left + d + p + f + e.collisionWidth - r - o, (0 > i || a(c) > i) && (t.left += d + p + f)) : u > 0 && (s = t.left - e.collisionPosition.marginLeft + d + p + f - l, (s > 0 || u > a(s)) && (t.left += d + p + f)) 342 }, top: function (t, e) { 343 var i, s, n = e.within, o = n.offset.top + n.scrollTop, r = n.height, 344 l = n.isWindow ? n.scrollTop : n.offset.top, h = t.top - e.collisionPosition.marginTop, 345 c = h - l, u = h + e.collisionHeight - r - l, d = "top" === e.my[1], 346 p = d ? -e.elemHeight : "bottom" === e.my[1] ? e.elemHeight : 0, 347 f = "top" === e.at[1] ? e.targetHeight : "bottom" === e.at[1] ? -e.targetHeight : 0, 348 g = -2 * e.offset[1]; 349 0 > c ? (s = t.top + p + f + g + e.collisionHeight - r - o, (0 > s || a(c) > s) && (t.top += p + f + g)) : u > 0 && (i = t.top - e.collisionPosition.marginTop + p + f + g - l, (i > 0 || u > a(i)) && (t.top += p + f + g)) 350 } 351 }, flipfit: { 352 left: function () { 353 t.ui.position.flip.left.apply(this, arguments), t.ui.position.fit.left.apply(this, arguments) 354 }, top: function () { 355 t.ui.position.flip.top.apply(this, arguments), t.ui.position.fit.top.apply(this, arguments) 356 } 357 } 358 } 359 }(), t.ui.position, t.ui.keyCode = { 360 BACKSPACE: 8, 361 COMMA: 188, 362 DELETE: 46, 363 DOWN: 40, 364 END: 35, 365 ENTER: 13, 366 ESCAPE: 27, 367 HOME: 36, 368 LEFT: 37, 369 PAGE_DOWN: 34, 370 PAGE_UP: 33, 371 PERIOD: 190, 372 RIGHT: 39, 373 SPACE: 32, 374 TAB: 9, 375 UP: 38 376 }, t.fn.extend({ 377 uniqueId: function () { 378 var t = 0; 379 return function () { 380 return this.each(function () { 381 this.id || (this.id = "ui-id-" + ++t) 382 }) 383 } 384 }(), removeUniqueId: function () { 385 return this.each(function () {
vendor: 6,131 bytes, lines 386-480
386 /^ui-id-\d+$/.test(this.id) && t(this).removeAttr("id") 387 }) 388 } 389 }), t.ui.ie = !!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()); 390 var s = !1; 391 t(document).on("mouseup", function () { 392 s = !1 393 }), t.widget("ui.mouse", { 394 version: "1.12.1", 395 options: {cancel: "input, textarea, button, select, option", distance: 1, delay: 0}, 396 _mouseInit: function () { 397 var e = this; 398 this.element.on("mousedown." + this.widgetName, function (t) { 399 return e._mouseDown(t) 400 }).on("click." + this.widgetName, function (i) { 401 return !0 === t.data(i.target, e.widgetName + ".preventClickEvent") ? (t.removeData(i.target, e.widgetName + ".preventClickEvent"), i.stopImmediatePropagation(), !1) : void 0 402 }), this.started = !1 403 }, 404 _mouseDestroy: function () { 405 this.element.off("." + this.widgetName), this._mouseMoveDelegate && this.document.off("mousemove." + this.widgetName, this._mouseMoveDelegate).off("mouseup." + this.widgetName, this._mouseUpDelegate) 406 }, 407 _mouseDown: function (e) { 408 if (!s) { 409 this._mouseMoved = !1, this._mouseStarted && this._mouseUp(e), this._mouseDownEvent = e; 410 var i = this, n = 1 === e.which, 411 o = "string" == typeof this.options.cancel && e.target.nodeName ? t(e.target).closest(this.options.cancel).length : !1; 412 return n && !o && this._mouseCapture(e) ? (this.mouseDelayMet = !this.options.delay, this.mouseDelayMet || (this._mouseDelayTimer = setTimeout(function () { 413 i.mouseDelayMet = !0 414 }, this.options.delay)), this._mouseDistanceMet(e) && this._mouseDelayMet(e) && (this._mouseStarted = this._mouseStart(e) !== !1, !this._mouseStarted) ? (e.preventDefault(), !0) : (!0 === t.data(e.target, this.widgetName + ".preventClickEvent") && t.removeData(e.target, this.widgetName + ".preventClickEvent"), this._mouseMoveDelegate = function (t) { 415 return i._mouseMove(t) 416 }, this._mouseUpDelegate = function (t) { 417 return i._mouseUp(t) 418 }, this.document.on("mousemove." + this.widgetName, this._mouseMoveDelegate).on("mouseup." + this.widgetName, this._mouseUpDelegate), e.preventDefault(), s = !0, !0)) : !0 419 } 420 }, 421 _mouseMove: function (e) { 422 if (this._mouseMoved) { 423 if (t.ui.ie && (!document.documentMode || 9 > document.documentMode) && !e.button) return this._mouseUp(e); 424 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) 425 } 426 return (e.which || e.button) && (this._mouseMoved = !0), this._mouseStarted ? (this._mouseDrag(e), e.preventDefault()) : (this._mouseDistanceMet(e) && this._mouseDelayMet(e) && (this._mouseStarted = this._mouseStart(this._mouseDownEvent, e) !== !1, this._mouseStarted ? this._mouseDrag(e) : this._mouseUp(e)), !this._mouseStarted) 427 }, 428 _mouseUp: function (e) { 429 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, s = !1, e.preventDefault() 430 }, 431 _mouseDistanceMet: function (t) { 432 return Math.max(Math.abs(this._mouseDownEvent.pageX - t.pageX), Math.abs(this._mouseDownEvent.pageY - t.pageY)) >= this.options.distance 433 }, 434 _mouseDelayMet: function () { 435 return this.mouseDelayMet 436 }, 437 _mouseStart: function () { 438 }, 439 _mouseDrag: function () { 440 }, 441 _mouseStop: function () { 442 }, 443 _mouseCapture: function () { 444 return !0 445 } 446 }), t.widget("ui.slider", t.ui.mouse, { 447 version: "1.12.1", 448 widgetEventPrefix: "slide", 449 options: { 450 animate: !1, 451 classes: { 452 "ui-slider": "ui-corner-all", 453 "ui-slider-handle": "ui-corner-all", 454 "ui-slider-range": "ui-corner-all ui-widget-header" 455 }, 456 distance: 0, 457 max: 100, 458 min: 0, 459 orientation: "horizontal", 460 range: !1, 461 step: 1, 462 value: 0, 463 values: null, 464 change: null, 465 slide: null, 466 start: null, 467 stop: null 468 }, 469 numPages: 5, 470 _create: function () { 471 this._keySliding = !1, this._mouseSliding = !1, this._animateOff = !0, this._handleIndex = null, this._detectOrientation(), this._mouseInit(), this._calculateNewMax(), this._addClass("ui-slider ui-slider-" + this.orientation, "ui-widget ui-widget-content"), this._refresh(), this._animateOff = !1 472 }, 473 _refresh: function () { 474 this._createRange(), this._createHandles(), this._setupEvents(), this._refreshValue() 475 }, 476 _createHandles: function () { 477 var e, i, s = this.options, n = this.element.find(".ui-slider-handle"), 478 o = "<span tabindex='0'></span>", 479 a = []; 480 for (i = s.values && s.values.length || 1, n.length >
vendor: 5,083 bytes, lines 480-545
480 i && (n.slice(i).remove(), n = n.slice(0, i)), e = n.length; i > e; e++) a.push(o); 481 this.handles = n.add(t(a.join("")).appendTo(this.element)), this._addClass(this.handles, "ui-slider-handle", "ui-state-default"), this.handle = this.handles.eq(0), this.handles.each(function (e) { 482 t(this).data("ui-slider-handle-index", e).attr("tabIndex", 0) 483 }) 484 }, 485 _createRange: function () { 486 var e = this.options; 487 e.range ? (e.range === !0 && (e.values ? e.values.length && 2 !== e.values.length ? e.values = [e.values[0], e.values[0]] : t.isArray(e.values) && (e.values = e.values.slice(0)) : e.values = [this._valueMin(), this._valueMin()]), this.range && this.range.length ? (this._removeClass(this.range, "ui-slider-range-min ui-slider-range-max"), this.range.css({ 488 left: "", 489 bottom: "" 490 })) : (this.range = t("<div>").appendTo(this.element), this._addClass(this.range, "ui-slider-range")), ("min" === e.range || "max" === e.range) && this._addClass(this.range, "ui-slider-range-" + e.range)) : (this.range && this.range.remove(), this.range = null) 491 }, 492 _setupEvents: function () { 493 this._off(this.handles), this._on(this.handles, this._handleEvents), this._hoverable(this.handles), this._focusable(this.handles) 494 }, 495 _destroy: function () { 496 this.handles.remove(), this.range && this.range.remove(), this._mouseDestroy() 497 }, 498 _mouseCapture: function (e) { 499 var i, s, n, o, a, r, l, h, c = this, u = this.options; 500 return u.disabled ? !1 : (this.elementSize = { 501 width: this.element.outerWidth(), 502 height: this.element.outerHeight() 503 }, this.elementOffset = this.element.offset(), i = { 504 x: e.pageX, 505 y: e.pageY 506 }, s = this._normValueFromMouse(i), n = this._valueMax() - this._valueMin() + 1, this.handles.each(function (e) { 507 var i = Math.abs(s - c.values(e)); 508 (n > i || n === i && (e === c._lastChangedValue || c.values(e) === u.min)) && (n = i, o = t(this), a = e) 509 }), r = this._start(e, a), r === !1 ? !1 : (this._mouseSliding = !0, this._handleIndex = a, this._addClass(o, null, "ui-state-active"), o.trigger("focus"), l = o.offset(), h = !t(e.target).parents().addBack().is(".ui-slider-handle"), this._clickOffset = h ? { 510 left: 0, 511 top: 0 512 } : { 513 left: e.pageX - l.left - o.width() / 2, 514 top: e.pageY - l.top - o.height() / 2 - (parseInt(o.css("borderTopWidth"), 10) || 0) - (parseInt(o.css("borderBottomWidth"), 10) || 0) + (parseInt(o.css("marginTop"), 10) || 0) 515 }, this.handles.hasClass("ui-state-hover") || this._slide(e, a, s), this._animateOff = !0, !0)) 516 }, 517 _mouseStart: function () { 518 return !0 519 }, 520 _mouseDrag: function (t) { 521 var e = {x: t.pageX, y: t.pageY}, i = this._normValueFromMouse(e); 522 return this._slide(t, this._handleIndex, i), !1 523 }, 524 _mouseStop: function (t) { 525 return this._removeClass(this.handles, null, "ui-state-active"), this._mouseSliding = !1, this._stop(t, this._handleIndex), this._change(t, this._handleIndex), this._handleIndex = null, this._clickOffset = null, this._animateOff = !1, !1 526 }, 527 _detectOrientation: function () { 528 this.orientation = "vertical" === this.options.orientation ? "vertical" : "horizontal" 529 }, 530 _normValueFromMouse: function (t) { 531 var e, i, s, n, o; 532 return "horizontal" === this.orientation ? (e = this.elementSize.width, i = t.x - this.elementOffset.left - (this._clickOffset ? this._clickOffset.left : 0)) : (e = this.elementSize.height, i = t.y - this.elementOffset.top - (this._clickOffset ? this._clickOffset.top : 0)), s = i / e, s > 1 && (s = 1), 0 > s && (s = 0), "vertical" === this.orientation && (s = 1 - s), n = this._valueMax() - this._valueMin(), o = this._valueMin() + s * n, this._trimAlignValue(o) 533 }, 534 _uiHash: function (t, e, i) { 535 var s = {handle: this.handles[t], handleIndex: t, value: void 0 !== e ? e : this.value()}; 536 return this._hasMultipleValues() && (s.value = void 0 !== e ? e : this.values(t), s.values = i || this.values()), s 537 }, 538 _hasMultipleValues: function () { 539 return this.options.values && this.options.values.length 540 }, 541 _start: function (t, e) { 542 return this._trigger("start", t, this._uiHash(e)) 543 }, 544 _slide: function (t, e, i) { 545 var s, n, o = this.value(), a = this.values();
vendor: 17,424 bytes, lines 546-795
546 this._hasMultipleValues() && (n = this.values(e ? 0 : 1), o = this.values(e), 2 === this.options.values.length && this.options.range === !0 && (i = 0 === e ? Math.min(n, i) : Math.max(n, i)), a[e] = i), i !== o && (s = this._trigger("slide", t, this._uiHash(e, i, a)), s !== !1 && (this._hasMultipleValues() ? this.values(e, i) : this.value(i))) 547 }, 548 _stop: function (t, e) { 549 this._trigger("stop", t, this._uiHash(e)) 550 }, 551 _change: function (t, e) { 552 this._keySliding || this._mouseSliding || (this._lastChangedValue = e, this._trigger("change", t, this._uiHash(e))) 553 }, 554 value: function (t) { 555 return arguments.length ? (this.options.value = this._trimAlignValue(t), this._refreshValue(), this._change(null, 0), void 0) : this._value() 556 }, 557 values: function (e, i) { 558 var s, n, o; 559 if (arguments.length > 1) return this.options.values[e] = this._trimAlignValue(i), this._refreshValue(), this._change(null, e), void 0; 560 if (!arguments.length) return this._values(); 561 if (!t.isArray(arguments[0])) return this._hasMultipleValues() ? this._values(e) : this.value(); 562 for (s = this.options.values, n = arguments[0], o = 0; s.length > o; o += 1) s[o] = this._trimAlignValue(n[o]), this._change(null, o); 563 this._refreshValue() 564 }, 565 _setOption: function (e, i) { 566 var s, n = 0; 567 switch ("range" === e && this.options.range === !0 && ("min" === i ? (this.options.value = this._values(0), this.options.values = null) : "max" === i && (this.options.value = this._values(this.options.values.length - 1), this.options.values = null)), t.isArray(this.options.values) && (n = this.options.values.length), this._super(e, i), e) { 568 case"orientation": 569 this._detectOrientation(), this._removeClass("ui-slider-horizontal ui-slider-vertical")._addClass("ui-slider-" + this.orientation), this._refreshValue(), this.options.range && this._refreshRange(i), this.handles.css("horizontal" === i ? "bottom" : "left", ""); 570 break; 571 case"value": 572 this._animateOff = !0, this._refreshValue(), this._change(null, 0), this._animateOff = !1; 573 break; 574 case"values": 575 for (this._animateOff = !0, this._refreshValue(), s = n - 1; s >= 0; s--) this._change(null, s); 576 this._animateOff = !1; 577 break; 578 case"step": 579 case"min": 580 case"max": 581 this._animateOff = !0, this._calculateNewMax(), this._refreshValue(), this._animateOff = !1; 582 break; 583 case"range": 584 this._animateOff = !0, this._refresh(), this._animateOff = !1 585 } 586 }, 587 _setOptionDisabled: function (t) { 588 this._super(t), this._toggleClass(null, "ui-state-disabled", !!t) 589 }, 590 _value: function () { 591 var t = this.options.value; 592 return t = this._trimAlignValue(t) 593 }, 594 _values: function (t) { 595 var e, i, s; 596 if (arguments.length) return e = this.options.values[t], e = this._trimAlignValue(e); 597 if (this._hasMultipleValues()) { 598 for (i = this.options.values.slice(), s = 0; i.length > s; s += 1) i[s] = this._trimAlignValue(i[s]); 599 return i 600 } 601 return [] 602 }, 603 _trimAlignValue: function (t) { 604 if (this._valueMin() >= t) return this._valueMin(); 605 if (t >= this._valueMax()) return this._valueMax(); 606 var e = this.options.step > 0 ? this.options.step : 1, i = (t - this._valueMin()) % e, s = t - i; 607 return 2 * Math.abs(i) >= e && (s += i > 0 ? e : -e), parseFloat(s.toFixed(5)) 608 }, 609 _calculateNewMax: function () { 610 var t = this.options.max, e = this._valueMin(), i = this.options.step, s = Math.round((t - e) / i) * i; 611 t = s + e, t > this.options.max && (t -= i), this.max = parseFloat(t.toFixed(this._precision())) 612 }, 613 _precision: function () { 614 var t = this._precisionOf(this.options.step); 615 return null !== this.options.min && (t = Math.max(t, this._precisionOf(this.options.min))), t 616 }, 617 _precisionOf: function (t) { 618 var e = "" + t, i = e.indexOf("."); 619 return -1 === i ? 0 : e.length - i - 1 620 }, 621 _valueMin: function () { 622 return this.options.min 623 }, 624 _valueMax: function () { 625 return this.max 626 }, 627 _refreshRange: function (t) { 628 "vertical" === t && this.range.css({width: "", left: ""}), "horizontal" === t && this.range.css({ 629 height: "", 630 bottom: "" 631 }) 632 }, 633 _refreshValue: function () { 634 var e, i, s, n, o, a = this.options.range, r = this.options, l = this, 635 h = this._animateOff ? !1 : r.animate, c = {}; 636 this._hasMultipleValues() ? this.handles.each(function (s) { 637 i = 100 * ((l.values(s) - l._valueMin()) / (l._valueMax() - l._valueMin())), c["horizontal" === l.orientation ? "left" : "bottom"] = i + "%", t(this).stop(1, 1)[h ? "animate" : "css"](c, r.animate), l.options.range === !0 && ("horizontal" === l.orientation ? (0 === s && l.range.stop(1, 1)[h ? "animate" : "css"]({left: i + "%"}, r.animate), 1 === s && l.range[h ? "animate" : "css"]({width: i - e + "%"}, { 638 queue: !1, 639 duration: r.animate 640 })) : (0 === s && l.range.stop(1, 1)[h ? "animate" : "css"]({bottom: i + "%"}, r.animate), 1 === s && l.range[h ? "animate" : "css"]({height: i - e + "%"}, { 641 queue: !1, 642 duration: r.animate 643 }))), e = i 644 }) : (s = this.value(), n = this._valueMin(), o = this._valueMax(), i = o !== n ? 100 * ((s - n) / (o - n)) : 0, c["horizontal" === this.orientation ? "left" : "bottom"] = i + "%", this.handle.stop(1, 1)[h ? "animate" : "css"](c, r.animate), "min" === a && "horizontal" === this.orientation && this.range.stop(1, 1)[h ? "animate" : "css"]({width: i + "%"}, r.animate), "max" === a && "horizontal" === this.orientation && this.range.stop(1, 1)[h ? "animate" : "css"]({width: 100 - i + "%"}, r.animate), "min" === a && "vertical" === this.orientation && this.range.stop(1, 1)[h ? "animate" : "css"]({height: i + "%"}, r.animate), "max" === a && "vertical" === this.orientation && this.range.stop(1, 1)[h ? "animate" : "css"]({height: 100 - i + "%"}, r.animate)) 645 }, 646 _handleEvents: { 647 keydown: function (e) { 648 var i, s, n, o, a = t(e.target).data("ui-slider-handle-index"); 649 switch (e.keyCode) { 650 case t.ui.keyCode.HOME: 651 case t.ui.keyCode.END: 652 case t.ui.keyCode.PAGE_UP: 653 case t.ui.keyCode.PAGE_DOWN: 654 case t.ui.keyCode.UP: 655 case t.ui.keyCode.RIGHT: 656 case t.ui.keyCode.DOWN: 657 case t.ui.keyCode.LEFT: 658 if (e.preventDefault(), !this._keySliding && (this._keySliding = !0, this._addClass(t(e.target), null, "ui-state-active"), i = this._start(e, a), i === !1)) return 659 } 660 switch (o = this.options.step, s = n = this._hasMultipleValues() ? this.values(a) : this.value(), e.keyCode) { 661 case t.ui.keyCode.HOME: 662 n = this._valueMin(); 663 break; 664 case t.ui.keyCode.END: 665 n = this._valueMax(); 666 break; 667 case t.ui.keyCode.PAGE_UP: 668 n = this._trimAlignValue(s + (this._valueMax() - this._valueMin()) / this.numPages); 669 break; 670 case t.ui.keyCode.PAGE_DOWN: 671 n = this._trimAlignValue(s - (this._valueMax() - this._valueMin()) / this.numPages); 672 break; 673 case t.ui.keyCode.UP: 674 case t.ui.keyCode.RIGHT: 675 if (s === this._valueMax()) return; 676 n = this._trimAlignValue(s + o); 677 break; 678 case t.ui.keyCode.DOWN: 679 case t.ui.keyCode.LEFT: 680 if (s === this._valueMin()) return; 681 n = this._trimAlignValue(s - o) 682 } 683 this._slide(e, a, n) 684 }, keyup: function (e) { 685 var i = t(e.target).data("ui-slider-handle-index"); 686 this._keySliding && (this._keySliding = !1, this._stop(e, i), this._change(e, i), this._removeClass(t(e.target), null, "ui-state-active")) 687 } 688 } 689 }), t.widget("ui.tooltip", { 690 version: "1.12.1", options: { 691 classes: {"ui-tooltip": "ui-corner-all ui-widget-shadow"}, 692 content: function () { 693 var e = t(this).attr("title") || ""; 694 return t("<a>").text(e).html() 695 }, 696 hide: !0, 697 items: "[title]:not([disabled])", 698 position: {my: "left top+15", at: "left bottom", collision: "flipfit flip"}, 699 show: !0, 700 track: !1, 701 close: null, 702 open: null 703 }, _addDescribedBy: function (e, i) { 704 var s = (e.attr("aria-describedby") || "").split(/\s+/); 705 s.push(i), e.data("ui-tooltip-id", i).attr("aria-describedby", t.trim(s.join(" "))) 706 }, _removeDescribedBy: function (e) { 707 var i = e.data("ui-tooltip-id"), s = (e.attr("aria-describedby") || "").split(/\s+/), 708 n = t.inArray(i, s); 709 -1 !== n && s.splice(n, 1), e.removeData("ui-tooltip-id"), s = t.trim(s.join(" ")), s ? e.attr("aria-describedby", s) : e.removeAttr("aria-describedby") 710 }, _create: function () { 711 this._on({ 712 mouseover: "open", 713 focusin: "open" 714 }), this.tooltips = {}, this.parents = {}, this.liveRegion = t("<div>").attr({ 715 role: "log", 716 "aria-live": "assertive", 717 "aria-relevant": "additions" 718 }).appendTo(this.document[0].body), this._addClass(this.liveRegion, null, "ui-helper-hidden-accessible"), this.disabledTitles = t([]) 719 }, _setOption: function (e, i) { 720 var s = this; 721 this._super(e, i), "content" === e && t.each(this.tooltips, function (t, e) { 722 s._updateContent(e.element) 723 }) 724 }, _setOptionDisabled: function (t) { 725 this[t ? "_disable" : "_enable"]() 726 }, _disable: function () { 727 var e = this; 728 t.each(this.tooltips, function (i, s) { 729 var n = t.Event("blur"); 730 n.target = n.currentTarget = s.element[0], e.close(n, !0) 731 }), this.disabledTitles = this.disabledTitles.add(this.element.find(this.options.items).addBack().filter(function () { 732 var e = t(this); 733 return e.is("[title]") ? e.data("ui-tooltip-title", e.attr("title")).removeAttr("title") : void 0 734 })) 735 }, _enable: function () { 736 this.disabledTitles.each(function () { 737 var e = t(this); 738 e.data("ui-tooltip-title") && e.attr("title", e.data("ui-tooltip-title")) 739 }), this.disabledTitles = t([]) 740 }, open: function (e) { 741 var i = this, s = t(e ? e.target : this.element).closest(this.options.items); 742 s.length && !s.data("ui-tooltip-id") && (s.attr("title") && s.data("ui-tooltip-title", s.attr("title")), s.data("ui-tooltip-open", !0), e && "mouseover" === e.type && s.parents().each(function () { 743 var e, s = t(this); 744 s.data("ui-tooltip-open") && (e = t.Event("blur"), e.target = e.currentTarget = this, i.close(e, !0)), s.attr("title") && (s.uniqueId(), i.parents[this.id] = { 745 element: this, 746 title: s.attr("title") 747 }, s.attr("title", "")) 748 }), this._registerCloseHandlers(e, s), this._updateContent(s, e)) 749 }, _updateContent: function (t, e) { 750 var i, s = this.options.content, n = this, o = e ? e.type : null; 751 return "string" == typeof s || s.nodeType || s.jquery ? this._open(e, t, s) : (i = s.call(t[0], function (i) { 752 n._delay(function () { 753 t.data("ui-tooltip-open") && (e && (e.type = o), this._open(e, t, i)) 754 }) 755 }), i && this._open(e, t, i), void 0) 756 }, _open: function (e, i, s) { 757 function n(t) { 758 h.of = t, a.is(":hidden") || a.position(h) 759 } 760 761 var o, a, r, l, h = t.extend({}, this.options.position); 762 if (s) { 763 if (o = this._find(i)) return o.tooltip.find(".ui-tooltip-content").html(s), void 0; 764 i.is("[title]") && (e && "mouseover" === e.type ? i.attr("title", "") : i.removeAttr("title")), o = this._tooltip(i), a = o.tooltip, this._addDescribedBy(i, a.attr("id")), a.find(".ui-tooltip-content").html(s), this.liveRegion.children().hide(), l = t("<div>").html(a.find(".ui-tooltip-content").html()), l.removeAttr("name").find("[name]").removeAttr("name"), l.removeAttr("id").find("[id]").removeAttr("id"), l.appendTo(this.liveRegion), this.options.track && e && /^mouse/.test(e.type) ? (this._on(this.document, {mousemove: n}), n(e)) : a.position(t.extend({of: i}, this.options.position)), a.hide(), this._show(a, this.options.show), this.options.track && this.options.show && this.options.show.delay && (r = this.delayedShow = setInterval(function () { 765 a.is(":visible") && (n(h.of), clearInterval(r)) 766 }, t.fx.interval)), this._trigger("open", e, {tooltip: a}) 767 } 768 }, _registerCloseHandlers: function (e, i) { 769 var s = { 770 keyup: function (e) { 771 if (e.keyCode === t.ui.keyCode.ESCAPE) { 772 var s = t.Event(e); 773 s.currentTarget = i[0], this.close(s, !0) 774 } 775 } 776 }; 777 i[0] !== this.element[0] && (s.remove = function () { 778 this._removeTooltip(this._find(i).tooltip) 779 }), e && "mouseover" !== e.type || (s.mouseleave = "close"), e && "focusin" !== e.type || (s.focusout = "close"), this._on(!0, i, s) 780 }, close: function (e) { 781 var i, s = this, n = t(e ? e.currentTarget : this.element), o = this._find(n); 782 return o ? (i = o.tooltip, o.closing || (clearInterval(this.delayedShow), n.data("ui-tooltip-title") && !n.attr("title") && n.attr("title", n.data("ui-tooltip-title")), this._removeDescribedBy(n), o.hiding = !0, i.stop(!0), this._hide(i, this.options.hide, function () { 783 s._removeTooltip(t(this)) 784 }), n.removeData("ui-tooltip-open"), this._off(n, "mouseleave focusout keyup"), n[0] !== this.element[0] && this._off(n, "remove"), this._off(this.document, "mousemove"), e && "mouseleave" === e.type && t.each(this.parents, function (e, i) { 785 t(i.element).attr("title", i.title), delete s.parents[e] 786 }), o.closing = !0, this._trigger("close", e, {tooltip: i}), o.hiding || (o.closing = !1)), void 0) : (n.removeData("ui-tooltip-open"), void 0) 787 }, _tooltip: function (e) { 788 var i = t("<div>").attr("role", "tooltip"), s = t("<div>").appendTo(i), n = i.uniqueId().attr("id"); 789 return this._addClass(s, "ui-tooltip-content"), this._addClass(i, "ui-tooltip", "ui-widget ui-widget-content"), i.appendTo(this._appendTo(e)), this.tooltips[n] = { 790 element: e, 791 tooltip: i 792 } 793 }, _find: function (t) { 794 var e = t.data("ui-tooltip-id"); 795 return e ? this.tooltips[e]
vendor: 1,124 bytes, lines 795-816
795: null 796 }, _removeTooltip: function (t) { 797 t.remove(), delete this.tooltips[t.attr("id")] 798 }, _appendTo: function (t) { 799 var e = t.closest(".ui-front, dialog"); 800 return e.length || (e = this.document[0].body), e 801 }, _destroy: function () { 802 var e = this; 803 t.each(this.tooltips, function (i, s) { 804 var n = t.Event("blur"), o = s.element; 805 n.target = n.currentTarget = o[0], e.close(n, !0), t("#" + i).remove(), o.data("ui-tooltip-title") && (o.attr("title") || o.attr("title", o.data("ui-tooltip-title")), o.removeData("ui-tooltip-title")) 806 }), this.liveRegion.remove() 807 } 808 }), t.uiBackCompat !== !1 && t.widget("ui.tooltip", t.ui.tooltip, { 809 options: {tooltipClass: null}, 810 _tooltip: function () { 811 var t = this._superApply(arguments); 812 return this.options.tooltipClass && t.tooltip.addClass(this.options.tooltipClass), t 813 } 814 }), t.ui.tooltip 815 }); 816});
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.