vendor: 62,886 bytes, lines 1-1078
1/*! 2 * Bootstrap v4.0.0-beta (https://getbootstrap.com) 3 * Copyright 2011-2017 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) 4 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 5 */ 6if ("undefined" == typeof jQuery) throw new Error("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript."); 7! function(t) { 8 var e = jQuery.fn.jquery.split(" ")[0].split("."); 9 if (e[0] < 2 && e[1] < 9 || 1 == e[0] && 9 == e[1] && e[2] < 1 || e[0] >= 4) throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0") 10}(), 11function() { 12 function t(t, e) { 13 if (!t) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); 14 return !e || "object" != typeof e && "function" != typeof e ? t : e 15 } 16 17 function e(t, e) { 18 if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function, not " + typeof e); 19 t.prototype = Object.create(e && e.prototype, { 20 constructor: { 21 value: t, 22 enumerable: !1, 23 writable: !0, 24 configurable: !0 25 } 26 }), e && (Object.setPrototypeOf ? Object.setPrototypeOf(t, e) : t.__proto__ = e) 27 } 28 29 function n(t, e) { 30 if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function") 31 } 32 var i = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(t) { 33 return typeof t 34 } : function(t) { 35 return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t 36 }, 37 o = function() { 38 function t(t, e) { 39 for (var n = 0; n < e.length; n++) { 40 var i = e[n]; 41 i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i) 42 } 43 } 44 return function(e, n, i) { 45 return n && t(e.prototype, n), i && t(e, i), e 46 } 47 }(), 48 r = function(t) { 49 function e(t) { 50 return {}.toString.call(t).match(/\s([a-zA-Z]+)/)[1].toLowerCase() 51 } 52 53 function n(t) { 54 return (t[0] || t).nodeType 55 } 56 57 function i() { 58 return { 59 bindType: s.end, 60 delegateType: s.end, 61 handle: function(e) { 62 if (t(e.target).is(this)) return e.handleObj.handler.apply(this, arguments) 63 } 64 } 65 } 66 67 function o() { 68 if (window.QUnit) return !1; 69 var t = document.createElement("bootstrap"); 70 for (var e in a) 71 if (void 0 !== t.style[e]) return { 72 end: a[e] 73 }; 74 return !1 75 } 76 77 function r(e) { 78 var n = this, 79 i = !1; 80 return t(this).one(l.TRANSITION_END, function() { 81 i = !0 82 }), setTimeout(function() { 83 i || l.triggerTransitionEnd(n) 84 }, e), this 85 } 86 var s = !1, 87 a = { 88 WebkitTransition: "webkitTransitionEnd", 89 MozTransition: "transitionend", 90 OTransition: "oTransitionEnd otransitionend", 91 transition: "transitionend" 92 }, 93 l = { 94 TRANSITION_END: "bsTransitionEnd", 95 getUID: function(t) { 96 do { 97 t += ~~(1e6 * Math.random()) 98 } while (document.getElementById(t)); 99 return t 100 }, 101 getSelectorFromElement: function(e) { 102 var n = e.getAttribute("data-target"); 103 n && "#" !== n || (n = e.getAttribute("href") || ""); 104 try { 105 return t(n).length > 0 ? n : null 106 } catch (t) { 107 return null 108 } 109 }, 110 reflow: function(t) { 111 return t.offsetHeight 112 }, 113 triggerTransitionEnd: function(e) { 114 t(e).trigger(s.end) 115 }, 116 supportsTransitionEnd: function() { 117 return Boolean(s) 118 }, 119 typeCheckConfig: function(t, i, o) { 120 for (var r in o) 121 if (o.hasOwnProperty(r)) { 122 var s = o[r], 123 a = i[r], 124 l = a && n(a) ? "element" : e(a); 125 if (!new RegExp(s).test(l)) throw new Error(t.toUpperCase() + ': Option "' + r + '" provided type "' + l + '" but expected type "' + s + '".') 126 } 127 } 128 }; 129 return s = o(), t.fn.emulateTransitionEnd = r, l.supportsTransitionEnd() && (t.event.special[l.TRANSITION_END] = i()), l 130 }(jQuery), 131 s = (function(t) { 132 var e = "htb-alert", 133 i = t.fn[e], 134 s = { 135 DISMISS: '[data-dismiss="alert"]' 136 }, 137 a = { 138 CLOSE: "htb-close.htbbs.htb-alert", 139 CLOSED: "htb-closed.htbbs.htb-alert", 140 CLICK_DATA_API: "click.htbbs.htb-alert.data-api" 141 }, 142 l = { 143 ALERT: "htb-alert", 144 FADE: "htb-fade", 145 SHOW: "htb-show" 146 }, 147 h = function() { 148 function e(t) { 149 n(this, e), this._element = t 150 } 151 return e.prototype.close = function(t) { 152 t = t || this._element; 153 var e = this._getRootElement(t); 154 this._triggerCloseEvent(e).isDefaultPrevented() || this._removeElement(e) 155 }, e.prototype.dispose = function() { 156 t.removeData(this._element, "htbbs.htb-alert"), this._element = null 157 }, e.prototype._getRootElement = function(e) { 158 var n = r.getSelectorFromElement(e), 159 i = !1; 160 return n && (i = t(n)[0]), i || (i = t(e).closest("." + l.ALERT)[0]), i 161 }, e.prototype._triggerCloseEvent = function(e) { 162 var n = t.Event(a.CLOSE); 163 return t(e).trigger(n), n 164 }, e.prototype._removeElement = function(e) { 165 var n = this; 166 t(e).removeClass(l.SHOW), r.supportsTransitionEnd() && t(e).hasClass(l.FADE) ? t(e).one(r.TRANSITION_END, function(t) { 167 return n._destroyElement(e, t) 168 }).emulateTransitionEnd(150) : this._destroyElement(e) 169 }, e.prototype._destroyElement = function(e) { 170 t(e).detach().trigger(a.CLOSED).remove() 171 }, e._jQueryInterface = function(n) { 172 return this.each(function() { 173 var i = t(this), 174 o = i.data("htbbs.htb-alert"); 175 o || (o = new e(this), i.data("htbbs.htb-alert", o)), "htb-close" === n && o[n](this) 176 }) 177 }, e._handleDismiss = function(t) { 178 return function(e) { 179 e && e.preventDefault(), t.close(this) 180 } 181 }, o(e, null, [{ 182 key: "VERSION", 183 get: function() { 184 return "4.0.0-beta" 185 } 186 }]), e 187 }(); 188 t(document).on(a.CLICK_DATA_API, s.DISMISS, h._handleDismiss(new h)), t.fn[e] = h._jQueryInterface, t.fn[e].Constructor = h, t.fn[e].noConflict = function() { 189 return t.fn[e] = i, h._jQueryInterface 190 } 191 }(jQuery), function(t) { 192 var e = "htb-button", 193 i = t.fn[e], 194 r = { 195 ACTIVE: "htb-active", 196 BUTTON: "htb-btn", 197 FOCUS: "htb-focus" 198 }, 199 s = { 200 DATA_TOGGLE_CARROT: '[data-toggle^="button"]', 201 DATA_TOGGLE: '[data-toggle="buttons"]', 202 INPUT: "input", 203 ACTIVE: ".htb-active", 204 BUTTON: ".htb-btn" 205 }, 206 a = { 207 CLICK_DATA_API: "click.htbbs.htb-button.data-api", 208 FOCUS_BLUR_DATA_API: "htb-focus.htbbs.htb-button.data-api blur.htbbs.htb-button.data-api" 209 }, 210 l = function() { 211 function e(t) { 212 n(this, e), this._element = t 213 } 214 return e.prototype.toggle = function() { 215 var e = !0, 216 n = !0, 217 i = t(this._element).closest(s.DATA_TOGGLE)[0]; 218 if (i) { 219 var o = t(this._element).find(s.INPUT)[0]; 220 if (o) { 221 if ("radio" === o.type) 222 if (o.checked && t(this._element).hasClass(r.ACTIVE)) e = !1; 223 else { 224 var a = t(i).find(s.ACTIVE)[0]; 225 a && t(a).removeClass(r.ACTIVE) 226 } 227 if (e) { 228 if (o.hasAttribute("disabled") || i.hasAttribute("disabled") || o.classList.contains("disabled") || i.classList.contains("disabled")) return; 229 o.checked = !t(this._element).hasClass(r.ACTIVE), t(o).trigger("change") 230 } 231 o.focus(), n = !1 232 } 233 } 234 n && this._element.setAttribute("aria-pressed", !t(this._element).hasClass(r.ACTIVE)), e && t(this._element).toggleClass(r.ACTIVE) 235 }, e.prototype.dispose = function() { 236 t.removeData(this._element, "htbbs.htb-button"), this._element = null 237 }, e._jQueryInterface = function(n) { 238 return this.each(function() { 239 var i = t(this).data("htbbs.htb-button"); 240 i || (i = new e(this), t(this).data("htbbs.htb-button", i)), "toggle" === n && i[n]() 241 }) 242 }, o(e, null, [{ 243 key: "VERSION", 244 get: function() { 245 return "4.0.0-beta" 246 } 247 }]), e 248 }(); 249 t(document).on(a.CLICK_DATA_API, s.DATA_TOGGLE_CARROT, function(e) { 250 e.preventDefault(); 251 var n = e.target; 252 t(n).hasClass(r.BUTTON) || (n = t(n).closest(s.BUTTON)), l._jQueryInterface.call(t(n), "toggle") 253 }).on(a.FOCUS_BLUR_DATA_API, s.DATA_TOGGLE_CARROT, function(e) { 254 var n = t(e.target).closest(s.BUTTON)[0]; 255 t(n).toggleClass(r.FOCUS, /^focus(in)?$/.test(e.type)) 256 }), t.fn[e] = l._jQueryInterface, t.fn[e].Constructor = l, t.fn[e].noConflict = function() { 257 return t.fn[e] = i, l._jQueryInterface 258 } 259 }(jQuery), function(t) { 260 var e = "htb-collapse", 261 s = "htbbs.htb-collapse", 262 a = t.fn[e], 263 l = { 264 toggle: !0, 265 parent: "" 266 }, 267 h = { 268 toggle: "boolean", 269 parent: "string" 270 }, 271 c = { 272 SHOW: "show.htbbs.htb-collapse", 273 SHOWN: "shown.htbbs.htb-collapse", 274 HIDE: "hide.htbbs.htb-collapse", 275 HIDDEN: "hidden.htbbs.htb-collapse", 276 CLICK_DATA_API: "click.htbbs.htb-collapse.data-api" 277 }, 278 u = { 279 SHOW: "htb-show", 280 COLLAPSE: "htb-collapse", 281 COLLAPSING: "htb-collapsing", 282 COLLAPSED: "htb-collapsed" 283 }, 284 d = { 285 WIDTH: "width", 286 HEIGHT: "height" 287 }, 288 f = { 289 ACTIVES: ".htb-show, .htb-collapsing", 290 DATA_TOGGLE: '[data-toggle="htbcollapse"]' 291 }, 292 p = function() { 293 function a(e, i) { 294 n(this, a), this._isTransitioning = !1, this._element = e, this._config = this._getConfig(i), this._triggerArray = t.makeArray(t('[data-toggle="collapse"][href="#' + e.id + '"],[data-toggle="collapse"][data-target="#' + e.id + '"]')); 295 for (var o = t(f.DATA_TOGGLE), s = 0; s < o.length; s++) { 296 var l = o[s], 297 h = r.getSelectorFromElement(l); 298 null !== h && t(h).filter(e).length > 0 && this._triggerArray.push(l) 299 } 300 this._parent = this._config.parent ? this._getParent() : null, this._config.parent || this._addAriaAndCollapsedClass(this._element, this._triggerArray), this._config.toggle && this.toggle() 301 } 302 return a.prototype.toggle = function() { 303 t(this._element).hasClass(u.SHOW) ? this.hide() : this.show() 304 }, a.prototype.show = function() { 305 var e = this; 306 if (!this._isTransitioning && !t(this._element).hasClass(u.SHOW)) { 307 var n = void 0, 308 i = void 0; 309 if (this._parent && ((n = t.makeArray(t(this._parent).children().children(f.ACTIVES))).length || (n = null)), !(n && (i = t(n).data(s)) && i._isTransitioning)) { 310 var o = t.Event(c.SHOW); 311 if (t(this._element).trigger(o), !o.isDefaultPrevented()) { 312 n && (a._jQueryInterface.call(t(n), "hide"), i || t(n).data(s, null)); 313 var l = this._getDimension(); 314 t(this._element).removeClass(u.COLLAPSE).addClass(u.COLLAPSING), this._element.style[l] = 0, this._triggerArray.length && t(this._triggerArray).removeClass(u.COLLAPSED).attr("aria-expanded", !0), this.setTransitioning(!0); 315 var h = function() { 316 t(e._element).removeClass(u.COLLAPSING).addClass(u.COLLAPSE).addClass(u.SHOW), e._element.style[l] = "", e.setTransitioning(!1), t(e._element).trigger(c.SHOWN) 317 }; 318 if (r.supportsTransitionEnd()) { 319 var d = "scroll" + (l[0].toUpperCase() + l.slice(1)); 320 t(this._element).one(r.TRANSITION_END, h).emulateTransitionEnd(600), this._element.style[l] = this._element[d] + "px" 321 } else h() 322 } 323 } 324 } 325 }, a.prototype.hide = function() { 326 var e = this; 327 if (!this._isTransitioning && t(this._element).hasClass(u.SHOW)) { 328 var n = t.Event(c.HIDE); 329 if (t(this._element).trigger(n), !n.isDefaultPrevented()) { 330 var i = this._getDimension(); 331 if (this._element.style[i] = this._element.getBoundingClientRect()[i] + "px", r.reflow(this._element), t(this._element).addClass(u.COLLAPSING).removeClass(u.COLLAPSE).removeClass(u.SHOW), this._triggerArray.length) 332 for (var o = 0; o < this._triggerArray.length; o++) { 333 var s = this._triggerArray[o], 334 a = r.getSelectorFromElement(s); 335 null !== a && (t(a).hasClass(u.SHOW) || t(s).addClass(u.COLLAPSED).attr("aria-expanded", !1)) 336 } 337 this.setTransitioning(!0); 338 var l = function() { 339 e.setTransitioning(!1), t(e._element).removeClass(u.COLLAPSING).addClass(u.COLLAPSE).trigger(c.HIDDEN) 340 }; 341 this._element.style[i] = "", r.supportsTransitionEnd() ? t(this._element).one(r.TRANSITION_END, l).emulateTransitionEnd(600) : l() 342 } 343 } 344 }, a.prototype.setTransitioning = function(t) { 345 this._isTransitioning = t 346 }, a.prototype.dispose = function() { 347 t.removeData(this._element, s), this._config = null, this._parent = null, this._element = null, this._triggerArray = null, this._isTransitioning = null 348 }, a.prototype._getConfig = function(n) { 349 return n = t.extend({}, l, n), n.toggle = Boolean(n.toggle), r.typeCheckConfig(e, n, h), n 350 }, a.prototype._getDimension = function() { 351 return t(this._element).hasClass(d.WIDTH) ? d.WIDTH : d.HEIGHT 352 }, a.prototype._getParent = function() { 353 var e = this, 354 n = t(this._config.parent)[0], 355 i = '[data-toggle="collapse"][data-parent="' + this._config.parent + '"]'; 356 return t(n).find(i).each(function(t, n) { 357 e._addAriaAndCollapsedClass(a._getTargetFromElement(n), [n]) 358 }), n 359 }, a.prototype._addAriaAndCollapsedClass = function(e, n) { 360 if (e) { 361 var i = t(e).hasClass(u.SHOW); 362 n.length && t(n).toggleClass(u.COLLAPSED, !i).attr("aria-expanded", i) 363 } 364 }, a._getTargetFromElement = function(e) { 365 var n = r.getSelectorFromElement(e); 366 return n ? t(n)[0] : null 367 }, a._jQueryInterface = function(e) { 368 return this.each(function() { 369 var n = t(this), 370 o = n.data(s), 371 r = t.extend({}, l, n.data(), "object" === (void 0 === e ? "undefined" : i(e)) && e); 372 if (!o && r.toggle && /show|hide/.test(e) && (r.toggle = !1), o || (o = new a(this, r), n.data(s, o)), "string" == typeof e) { 373 if (void 0 === o[e]) throw new Error('No method named "' + e + '"'); 374 o[e]() 375 } 376 }) 377 }, o(a, null, [{ 378 key: "VERSION", 379 get: function() { 380 return "4.0.0-beta" 381 } 382 }, { 383 key: "Default", 384 get: function() { 385 return l 386 } 387 }]), a 388 }(); 389 t(document).on(c.CLICK_DATA_API, f.DATA_TOGGLE, function(e) { 390 /input|textarea/i.test(e.target.tagName) || e.preventDefault(); 391 var n = t(this), 392 i = r.getSelectorFromElement(this); 393 t(i).each(function() { 394 var e = t(this), 395 i = e.data(s) ? "toggle" : n.data(); 396 p._jQueryInterface.call(e, i) 397 }) 398 }), t.fn[e] = p._jQueryInterface, t.fn[e].Constructor = p, t.fn[e].noConflict = function() { 399 return t.fn[e] = a, p._jQueryInterface 400 } 401 }(jQuery), function(t) { 402 var e = "htb-modal", 403 s = ".htbbs.htb-modal", 404 a = t.fn[e], 405 l = { 406 backdrop: !0, 407 keyboard: !0, 408 focus: !0, 409 show: !0 410 }, 411 h = { 412 backdrop: "(boolean|string)", 413 keyboard: "boolean", 414 focus: "boolean", 415 show: "boolean" 416 }, 417 c = { 418 HIDE: "hide.htbbs.htb-modal", 419 HIDDEN: "hidden.htbbs.htb-modal", 420 SHOW: "show.htbbs.htb-modal", 421 SHOWN: "shown.htbbs.htb-modal", 422 FOCUSIN: "focusin.htbbs.htb-modal", 423 RESIZE: "resize.htbbs.htb-modal", 424 CLICK_DISMISS: "click.dismiss.htbbs.htb-modal", 425 KEYDOWN_DISMISS: "keydown.dismiss.htbbs.htb-modal", 426 MOUSEUP_DISMISS: "mouseup.dismiss.htbbs.htb-modal", 427 MOUSEDOWN_DISMISS: "mousedown.dismiss.htbbs.htb-modal", 428 CLICK_DATA_API: "click.htbbs.htb-modal.data-api" 429 }, 430 u = { 431 SCROLLBAR_MEASURER: "htb-modal-scrollbar-measure", 432 BACKDROP: "htb-modal-backdrop", 433 OPEN: "htb-modal-open", 434 FADE: "htb-fade", 435 SHOW: "htb-show" 436 }, 437 d = { 438 DIALOG: ".htb-modal-dialog", 439 DATA_TOGGLE: '[data-toggle="htbmodal"]', 440 DATA_DISMISS: '[data-dismiss="modal"]', 441 FIXED_CONTENT: ".htb-fixed-top, .htb-fixed-bottom, .htb-is-fixed, .htb-sticky-top", 442 NAVBAR_TOGGLER: ".htb-navbar-toggler" 443 }, 444 f = function() { 445 function a(e, i) { 446 n(this, a), this._config = this._getConfig(i), this._element = e, this._dialog = t(e).find(d.DIALOG)[0], this._backdrop = null, this._isShown = !1, this._isBodyOverflowing = !1, this._ignoreBackdropClick = !1, this._originalBodyPadding = 0, this._scrollbarWidth = 0 447 } 448 return a.prototype.toggle = function(t) { 449 return this._isShown ? this.hide() : this.show(t) 450 }, a.prototype.show = function(e) { 451 var n = this; 452 if (!this._isTransitioning) { 453 r.supportsTransitionEnd() && t(this._element).hasClass(u.FADE) && (this._isTransitioning = !0); 454 var i = t.Event(c.SHOW, { 455 relatedTarget: e 456 }); 457 t(this._element).trigger(i), this._isShown || i.isDefaultPrevented() || (this._isShown = !0, this._checkScrollbar(), this._setScrollbar(), t(document.body).addClass(u.OPEN), this._setEscapeEvent(), this._setResizeEvent(), t(this._element).on(c.CLICK_DISMISS, d.DATA_DISMISS, function(t) { 458 return n.hide(t) 459 }), t(this._dialog).on(c.MOUSEDOWN_DISMISS, function() { 460 t(n._element).one(c.MOUSEUP_DISMISS, function(e) { 461 t(e.target).is(n._element) && (n._ignoreBackdropClick = !0) 462 }) 463 }), this._showBackdrop(function() { 464 return n._showElement(e) 465 })) 466 } 467 }, a.prototype.hide = function(e) { 468 var n = this; 469 if (e && e.preventDefault(), !this._isTransitioning && this._isShown) { 470 var i = r.supportsTransitionEnd() && t(this._element).hasClass(u.FADE); 471 i && (this._isTransitioning = !0); 472 var o = t.Event(c.HIDE); 473 t(this._element).trigger(o), this._isShown && !o.isDefaultPrevented() && (this._isShown = !1, this._setEscapeEvent(), this._setResizeEvent(), t(document).off(c.FOCUSIN), t(this._element).removeClass(u.SHOW), t(this._element).off(c.CLICK_DISMISS), t(this._dialog).off(c.MOUSEDOWN_DISMISS), i ? t(this._element).one(r.TRANSITION_END, function(t) { 474 return n._hideModal(t) 475 }).emulateTransitionEnd(300) : this._hideModal()) 476 } 477 }, a.prototype.dispose = function() { 478 t.removeData(this._element, "htbbs.htb-modal"), t(window, document, this._element, this._backdrop).off(s), this._config = null, this._element = null, this._dialog = null, this._backdrop = null, this._isShown = null, this._isBodyOverflowing = null, this._ignoreBackdropClick = null, this._scrollbarWidth = null 479 }, a.prototype.handleUpdate = function() { 480 this._adjustDialog() 481 }, a.prototype._getConfig = function(n) { 482 return n = t.extend({}, l, n), r.typeCheckConfig(e, n, h), n 483 }, a.prototype._showElement = function(e) { 484 var n = this, 485 i = r.supportsTransitionEnd() && t(this._element).hasClass(u.FADE); 486 this._element.parentNode && this._element.parentNode.nodeType === Node.ELEMENT_NODE || document.body.appendChild(this._element), this._element.style.display = "block", this._element.removeAttribute("aria-hidden"), this._element.scrollTop = 0, i && r.reflow(this._element), t(this._element).addClass(u.SHOW), this._config.focus && this._enforceFocus(); 487 var o = t.Event(c.SHOWN, { 488 relatedTarget: e 489 }), 490 s = function() { 491 n._config.focus && n._element.focus(), n._isTransitioning = !1, t(n._element).trigger(o) 492 }; 493 i ? t(this._dialog).one(r.TRANSITION_END, s).emulateTransitionEnd(300) : s() 494 }, a.prototype._enforceFocus = function() { 495 var e = this; 496 t(document).off(c.FOCUSIN).on(c.FOCUSIN, function(n) { 497 document === n.target || e._element === n.target || t(e._element).has(n.target).length || e._element.focus() 498 }) 499 }, a.prototype._setEscapeEvent = function() { 500 var e = this; 501 this._isShown && this._config.keyboard ? t(this._element).on(c.KEYDOWN_DISMISS, function(t) { 502 27 === t.which && (t.preventDefault(), e.hide()) 503 }) : this._isShown || t(this._element).off(c.KEYDOWN_DISMISS) 504 }, a.prototype._setResizeEvent = function() { 505 var e = this; 506 this._isShown ? t(window).on(c.RESIZE, function(t) { 507 return e.handleUpdate(t) 508 }) : t(window).off(c.RESIZE) 509 }, a.prototype._hideModal = function() { 510 var e = this; 511 this._element.style.display = "none", this._element.setAttribute("aria-hidden", !0), this._isTransitioning = !1, this._showBackdrop(function() { 512 t(document.body).removeClass(u.OPEN), e._resetAdjustments(), e._resetScrollbar(), t(e._element).trigger(c.HIDDEN) 513 }) 514 }, a.prototype._removeBackdrop = function() { 515 this._backdrop && (t(this._backdrop).remove(), this._backdrop = null) 516 }, a.prototype._showBackdrop = function(e) { 517 var n = this, 518 i = t(this._element).hasClass(u.FADE) ? u.FADE : ""; 519 if (this._isShown && this._config.backdrop) { 520 var o = r.supportsTransitionEnd() && i; 521 if (this._backdrop = document.createElement("div"), this._backdrop.className = u.BACKDROP, i && t(this._backdrop).addClass(i), t(this._backdrop).appendTo(document.body), t(this._element).on(c.CLICK_DISMISS, function(t) { 522 n._ignoreBackdropClick ? n._ignoreBackdropClick = !1 : t.target === t.currentTarget && ("static" === n._config.backdrop ? n._element.focus() : n.hide()) 523 }), o && r.reflow(this._backdrop), t(this._backdrop).addClass(u.SHOW), !e) return; 524 if (!o) return void e(); 525 t(this._backdrop).one(r.TRANSITION_END, e).emulateTransitionEnd(150) 526 } else if (!this._isShown && this._backdrop) { 527 t(this._backdrop).removeClass(u.SHOW); 528 var s = function() { 529 n._removeBackdrop(), e && e() 530 }; 531 r.supportsTransitionEnd() && t(this._element).hasClass(u.FADE) ? t(this._backdrop).one(r.TRANSITION_END, s).emulateTransitionEnd(150) : s() 532 } else e && e() 533 }, a.prototype._adjustDialog = function() { 534 var t = this._element.scrollHeight > document.documentElement.clientHeight; 535 !this._isBodyOverflowing && t && (this._element.style.paddingLeft = this._scrollbarWidth + "px"), this._isBodyOverflowing && !t && (this._element.style.paddingRight = this._scrollbarWidth + "px") 536 }, a.prototype._resetAdjustments = function() { 537 this._element.style.paddingLeft = "", this._element.style.paddingRight = "" 538 }, a.prototype._checkScrollbar = function() { 539 this._isBodyOverflowing = document.body.clientWidth < window.innerWidth, this._scrollbarWidth = this._getScrollbarWidth() 540 }, a.prototype._setScrollbar = function() { 541 var e = this; 542 if (this._isBodyOverflowing) { 543 t(d.FIXED_CONTENT).each(function(n, i) { 544 var o = t(i)[0].style.paddingRight, 545 r = t(i).css("padding-right"); 546 t(i).data("padding-right", o).css("padding-right", parseFloat(r) + e._scrollbarWidth + "px") 547 }), t(d.NAVBAR_TOGGLER).each(function(n, i) { 548 var o = t(i)[0].style.marginRight, 549 r = t(i).css("margin-right"); 550 t(i).data("margin-right", o).css("margin-right", parseFloat(r) + e._scrollbarWidth + "px") 551 }); 552 var n = document.body.style.paddingRight, 553 i = t("body").css("padding-right"); 554 t("body").data("padding-right", n).css("padding-right", parseFloat(i) + this._scrollbarWidth + "px") 555 } 556 }, a.prototype._resetScrollbar = function() { 557 t(d.FIXED_CONTENT).each(function(e, n) { 558 var i = t(n).data("padding-right"); 559 void 0 !== i && t(n).css("padding-right", i).removeData("padding-right") 560 }), t(d.NAVBAR_TOGGLER).each(function(e, n) { 561 var i = t(n).data("margin-right"); 562 void 0 !== i && t(n).css("margin-right", i).removeData("margin-right") 563 }); 564 var e = t("body").data("padding-right"); 565 void 0 !== e && t("body").css("padding-right", e).removeData("padding-right") 566 }, a.prototype._getScrollbarWidth = function() { 567 var t = document.createElement("div"); 568 t.className = u.SCROLLBAR_MEASURER, document.body.appendChild(t); 569 var e = t.getBoundingClientRect().width - t.clientWidth; 570 return document.body.removeChild(t), e 571 }, a._jQueryInterface = function(e, n) { 572 return this.each(function() { 573 var o = t(this).data("bs.modal"), 574 r = t.extend({}, a.Default, t(this).data(), "object" === (void 0 === e ? "undefined" : i(e)) && e); 575 if (o || (o = new a(this, r), t(this).data("bs.modal", o)), "string" == typeof e) { 576 if (void 0 === o[e]) throw new Error('No method named "' + e + '"'); 577 o[e](n) 578 } else r.show && o.show(n) 579 }) 580 }, o(a, null, [{ 581 key: "VERSION", 582 get: function() { 583 return "4.0.0-beta" 584 } 585 }, { 586 key: "Default", 587 get: function() { 588 return l 589 } 590 }]), a 591 }(); 592 t(document).on(c.CLICK_DATA_API, d.DATA_TOGGLE, function(e) { 593 var n = this, 594 i = void 0, 595 o = r.getSelectorFromElement(this); 596 o && (i = t(o)[0]); 597 var s = t(i).data("htbbs.htb-modal") ? "toggle" : t.extend({}, t(i).data(), t(this).data()); 598 "A" !== this.tagName && "AREA" !== this.tagName || e.preventDefault(); 599 var a = t(i).one(c.SHOW, function(e) { 600 e.isDefaultPrevented() || a.one(c.HIDDEN, function() { 601 t(n).is(":visible") && n.focus() 602 }) 603 }); 604 f._jQueryInterface.call(t(i), s, this) 605 }), t.fn[e] = f._jQueryInterface, t.fn[e].Constructor = f, t.fn[e].noConflict = function() { 606 return t.fn[e] = a, f._jQueryInterface 607 } 608 }(jQuery), function(t) { 609 var e = t.fn.tab, 610 i = { 611 HIDE: "hide.htbbs.htb-tab", 612 HIDDEN: "hidden.htbbs.htb-tab", 613 SHOW: "show.htbbs.htb-tab", 614 SHOWN: "shown.htbbs.htb-tab", 615 CLICK_DATA_API: "click.htbbs.htb-tab.data-api" 616 }, 617 s = { 618 DROPDOWN_MENU: "htb-dropdown-menu", 619 ACTIVE: "htb-active", 620 DISABLED: "disabled", 621 FADE: "htb-fade", 622 SHOW: "htb-show" 623 }, 624 a = { 625 DROPDOWN: ".htb-dropdown", 626 NAV_LIST_GROUP: ".htb-nav, .htb-list-group", 627 ACTIVE: ".htb-active", 628 DATA_TOGGLE: '[data-toggle="htbtab"]', 629 DROPDOWN_TOGGLE: ".htb-dropdown-toggle", 630 DROPDOWN_ACTIVE_CHILD: "> .htb-dropdown-menu .htb-active" 631 }, 632 l = function() { 633 function e(t) { 634 n(this, e), this._element = t 635 } 636 return e.prototype.show = function() { 637 var e = this; 638 if (!(this._element.parentNode && this._element.parentNode.nodeType === Node.ELEMENT_NODE && t(this._element).hasClass(s.ACTIVE) || t(this._element).hasClass(s.DISABLED))) { 639 var n = void 0, 640 o = void 0, 641 l = t(this._element).closest(a.NAV_LIST_GROUP)[0], 642 h = r.getSelectorFromElement(this._element); 643 l && (o = t.makeArray(t(l).find(a.ACTIVE)), o = o[o.length - 1]); 644 var c = t.Event(i.HIDE, { 645 relatedTarget: this._element 646 }), 647 u = t.Event(i.SHOW, { 648 relatedTarget: o 649 }); 650 if (o && t(o).trigger(c), t(this._element).trigger(u), !u.isDefaultPrevented() && !c.isDefaultPrevented()) { 651 h && (n = t(h)[0]), this._activate(this._element, l); 652 var d = function() { 653 var n = t.Event(i.HIDDEN, { 654 relatedTarget: e._element 655 }), 656 r = t.Event(i.SHOWN, { 657 relatedTarget: o 658 }); 659 t(o).trigger(n), t(e._element).trigger(r) 660 }; 661 n ? this._activate(n, n.parentNode, d) : d() 662 } 663 } 664 }, e.prototype.dispose = function() { 665 t.removeData(this._element, "bs.tab"), this._element = null 666 }, e.prototype._activate = function(e, n, i) { 667 var o = this, 668 l = t(n).find(a.ACTIVE)[0], 669 h = i && r.supportsTransitionEnd() && l && t(l).hasClass(s.FADE), 670 c = function() { 671 return o._transitionComplete(e, l, h, i) 672 }; 673 l && h ? t(l).one(r.TRANSITION_END, c).emulateTransitionEnd(150) : c(), l && t(l).removeClass(s.SHOW) 674 }, e.prototype._transitionComplete = function(e, n, i, o) { 675 if (n) { 676 t(n).removeClass(s.ACTIVE); 677 var l = t(n.parentNode).find(a.DROPDOWN_ACTIVE_CHILD)[0]; 678 l && t(l).removeClass(s.ACTIVE), n.setAttribute("aria-expanded", !1) 679 } 680 if (t(e).addClass(s.ACTIVE), e.setAttribute("aria-expanded", !0), i ? (r.reflow(e), t(e).addClass(s.SHOW)) : t(e).removeClass(s.FADE), e.parentNode && t(e.parentNode).hasClass(s.DROPDOWN_MENU)) { 681 var h = t(e).closest(a.DROPDOWN)[0]; 682 h && t(h).find(a.DROPDOWN_TOGGLE).addClass(s.ACTIVE), e.setAttribute("aria-expanded", !0) 683 } 684 o && o() 685 }, e._jQueryInterface = function(n) { 686 return this.each(function() { 687 var i = t(this), 688 o = i.data("htbbs.htb-tab"); 689 if (o || (o = new e(this), i.data("htbbs.htb-tab", o)), "string" == typeof n) { 690 if (void 0 === o[n]) throw new Error('No method named "' + n + '"'); 691 o[n]() 692 } 693 }) 694 }, o(e, null, [{ 695 key: "VERSION", 696 get: function() { 697 return "4.0.0-beta" 698 } 699 }]), e 700 }(); 701 t(document).on(i.CLICK_DATA_API, a.DATA_TOGGLE, function(e) { 702 e.preventDefault(), l._jQueryInterface.call(t(this), "show") 703 }), t.fn.tab = l._jQueryInterface, t.fn.tab.Constructor = l, t.fn.tab.noConflict = function() { 704 return t.fn.tab = e, l._jQueryInterface 705 } 706 }(jQuery), function(t) { 707 if ("undefined" == typeof Popper) throw new Error("Bootstrap tooltips require Popper.js (https://popper.js.org)"); 708 var e = "htbtooltip", 709 s = ".htbbs.htb-tooltip", 710 a = t.fn[e], 711 l = new RegExp("(^|\\s)bs-tooltip\\S+", "g"), 712 h = { 713 animation: "boolean", 714 template: "string", 715 title: "(string|element|function)", 716 trigger: "string", 717 delay: "(number|object)", 718 html: "boolean", 719 selector: "(string|boolean)", 720 placement: "(string|function)", 721 offset: "(number|string)", 722 container: "(string|element|boolean)", 723 fallbackPlacement: "(string|array)" 724 }, 725 c = { 726 AUTO: "auto", 727 TOP: "top", 728 RIGHT: "right", 729 BOTTOM: "bottom", 730 LEFT: "left" 731 }, 732 u = { 733 animation: !0, 734 template: '<div class="htb-tooltip" role="tooltip"><div class="htb-arrow"></div><div class="htb-tooltip-inner"></div></div>', 735 trigger: "hover focus", 736 title: "", 737 delay: 0, 738 html: !1, 739 selector: !1, 740 placement: "top", 741 offset: 0, 742 container: !1, 743 fallbackPlacement: "flip" 744 }, 745 d = { 746 SHOW: "show", 747 OUT: "out" 748 }, 749 f = { 750 HIDE: "hide" + s, 751 HIDDEN: "hidden" + s, 752 SHOW: "show" + s, 753 SHOWN: "shown" + s, 754 INSERTED: "inserted" + s, 755 CLICK: "click" + s, 756 FOCUSIN: "focusin" + s, 757 FOCUSOUT: "focusout" + s, 758 MOUSEENTER: "mouseenter" + s, 759 MOUSELEAVE: "mouseleave" + s 760 }, 761 p = { 762 FADE: "htb-fade", 763 SHOW: "htb-show" 764 }, 765 _ = { 766 TOOLTIP: ".htb-tooltip", 767 TOOLTIP_INNER: ".htb-tooltip-inner", 768 ARROW: ".htb-arrow" 769 }, 770 g = { 771 HOVER: "hover", 772 FOCUS: "focus", 773 CLICK: "click", 774 MANUAL: "manual" 775 }, 776 m = function() { 777 function a(t, e) { 778 n(this, a), this._isEnabled = !0, this._timeout = 0, this._hoverState = "", this._activeTrigger = {}, this._popper = null, this.element = t, this.config = this._getConfig(e), this.tip = null, this._setListeners() 779 } 780 return a.prototype.enable = function() { 781 this._isEnabled = !0 782 }, a.prototype.disable = function() { 783 this._isEnabled = !1 784 }, a.prototype.toggleEnabled = function() { 785 this._isEnabled = !this._isEnabled 786 }, a.prototype.toggle = function(e) { 787 if (e) { 788 var n = this.constructor.DATA_KEY, 789 i = t(e.currentTarget).data(n); 790 i || (i = new this.constructor(e.currentTarget, this._getDelegateConfig()), t(e.currentTarget).data(n, i)), i._activeTrigger.click = !i._activeTrigger.click, i._isWithActiveTrigger() ? i._enter(null, i) : i._leave(null, i) 791 } else { 792 if (t(this.getTipElement()).hasClass(p.SHOW)) return void this._leave(null, this); 793 this._enter(null, this) 794 } 795 }, a.prototype.dispose = function() { 796 clearTimeout(this._timeout), t.removeData(this.element, this.constructor.DATA_KEY), t(this.element).off(this.constructor.EVENT_KEY), t(this.element).closest(".htb-modal").off("hide.htbbs.htb-modal"), this.tip && t(this.tip).remove(), this._isEnabled = null, this._timeout = null, this._hoverState = null, this._activeTrigger = null, null !== this._popper && this._popper.destroy(), this._popper = null, this.element = null, this.config = null, this.tip = null 797 }, a.prototype.show = function() { 798 var e = this; 799 if ("none" === t(this.element).css("display")) throw new Error("Please use show on visible elements"); 800 var n = t.Event(this.constructor.Event.SHOW); 801 if (this.isWithContent() && this._isEnabled) { 802 t(this.element).trigger(n); 803 var i = t.contains(this.element.ownerDocument.documentElement, this.element); 804 if (n.isDefaultPrevented() || !i) return; 805 var o = this.getTipElement(), 806 s = r.getUID(this.constructor.NAME); 807 o.setAttribute("id", s), this.element.setAttribute("aria-describedby", s), this.setContent(), this.config.animation && t(o).addClass(p.FADE); 808 var l = "function" == typeof this.config.placement ? this.config.placement.call(this, o, this.element) : this.config.placement, 809 h = this._getAttachment(l); 810 this.addAttachmentClass(h); 811 var c = !1 === this.config.container ? document.body : t(this.config.container); 812 t(o).data(this.constructor.DATA_KEY, this), t.contains(this.element.ownerDocument.documentElement, this.tip) || t(o).appendTo(c), t(this.element).trigger(this.constructor.Event.INSERTED), this._popper = new Popper(this.element, o, { 813 placement: h, 814 modifiers: { 815 offset: { 816 offset: this.config.offset 817 }, 818 flip: { 819 behavior: this.config.fallbackPlacement 820 }, 821 arrow: { 822 element: _.ARROW 823 } 824 }, 825 onCreate: function(t) { 826 t.originalPlacement !== t.placement && e._handlePopperPlacementChange(t) 827 }, 828 onUpdate: function(t) { 829 e._handlePopperPlacementChange(t) 830 } 831 }), t(o).addClass(p.SHOW), "ontouchstart" in document.documentElement && t("body").children().on("mouseover", null, t.noop); 832 var u = function() { 833 e.config.animation && e._fixTransition(); 834 var n = e._hoverState; 835 e._hoverState = null, t(e.element).trigger(e.constructor.Event.SHOWN), n === d.OUT && e._leave(null, e) 836 }; 837 r.supportsTransitionEnd() && t(this.tip).hasClass(p.FADE) ? t(this.tip).one(r.TRANSITION_END, u).emulateTransitionEnd(a._TRANSITION_DURATION) : u() 838 } 839 }, a.prototype.hide = function(e) { 840 var n = this, 841 i = this.getTipElement(), 842 o = t.Event(this.constructor.Event.HIDE), 843 s = function() { 844 n._hoverState !== d.SHOW && i.parentNode && i.parentNode.removeChild(i), n._cleanTipClass(), n.element.removeAttribute("aria-describedby"), t(n.element).trigger(n.constructor.Event.HIDDEN), null !== n._popper && n._popper.destroy(), e && e() 845 }; 846 t(this.element).trigger(o), o.isDefaultPrevented() || (t(i).removeClass(p.SHOW), "ontouchstart" in document.documentElement && t("body").children().off("mouseover", null, t.noop), this._activeTrigger[g.CLICK] = !1, this._activeTrigger[g.FOCUS] = !1, this._activeTrigger[g.HOVER] = !1, r.supportsTransitionEnd() && t(this.tip).hasClass(p.FADE) ? t(i).one(r.TRANSITION_END, s).emulateTransitionEnd(150) : s(), this._hoverState = "") 847 }, a.prototype.update = function() { 848 null !== this._popper && this._popper.scheduleUpdate() 849 }, a.prototype.isWithContent = function() { 850 return Boolean(this.getTitle()) 851 }, a.prototype.addAttachmentClass = function(e) { 852 t(this.getTipElement()).addClass("bs-tooltip-" + e) 853 }, a.prototype.getTipElement = function() { 854 return this.tip = this.tip || t(this.config.template)[0] 855 }, a.prototype.setContent = function() { 856 var e = t(this.getTipElement()); 857 this.setElementContent(e.find(_.TOOLTIP_INNER), this.getTitle()), e.removeClass(p.FADE + " " + p.SHOW) 858 }, a.prototype.setElementContent = function(e, n) { 859 var o = this.config.html; 860 "object" === (void 0 === n ? "undefined" : i(n)) && (n.nodeType || n.jquery) ? o ? t(n).parent().is(e) || e.empty().append(n) : e.text(t(n).text()): e[o ? "html" : "text"](n) 861 }, a.prototype.getTitle = function() { 862 var t = this.element.getAttribute("data-original-title"); 863 return t || (t = "function" == typeof this.config.title ? this.config.title.call(this.element) : this.config.title), t 864 }, a.prototype._getAttachment = function(t) { 865 return c[t.toUpperCase()] 866 }, a.prototype._setListeners = function() { 867 var e = this; 868 this.config.trigger.split(" ").forEach(function(n) { 869 if ("click" === n) t(e.element).on(e.constructor.Event.CLICK, e.config.selector, function(t) { 870 return e.toggle(t) 871 }); 872 else if (n !== g.MANUAL) { 873 var i = n === g.HOVER ? e.constructor.Event.MOUSEENTER : e.constructor.Event.FOCUSIN, 874 o = n === g.HOVER ? e.constructor.Event.MOUSELEAVE : e.constructor.Event.FOCUSOUT; 875 t(e.element).on(i, e.config.selector, function(t) { 876 return e._enter(t) 877 }).on(o, e.config.selector, function(t) { 878 return e._leave(t) 879 }) 880 } 881 t(e.element).closest(".htb-modal").on("hide.htbbs.htb-modal", function() { 882 return e.hide() 883 }) 884 }), this.config.selector ? this.config = t.extend({}, this.config, { 885 trigger: "manual", 886 selector: "" 887 }) : this._fixTitle() 888 }, a.prototype._fixTitle = function() { 889 var t = i(this.element.getAttribute("data-original-title")); 890 (this.element.getAttribute("title") || "string" !== t) && (this.element.setAttribute("data-original-title", this.element.getAttribute("title") || ""), this.element.setAttribute("title", "")) 891 }, a.prototype._enter = function(e, n) { 892 var i = this.constructor.DATA_KEY; 893 (n = n || t(e.currentTarget).data(i)) || (n = new this.constructor(e.currentTarget, this._getDelegateConfig()), t(e.currentTarget).data(i, n)), e && (n._activeTrigger["focusin" === e.type ? g.FOCUS : g.HOVER] = !0), t(n.getTipElement()).hasClass(p.SHOW) || n._hoverState === d.SHOW ? n._hoverState = d.SHOW : (clearTimeout(n._timeout), n._hoverState = d.SHOW, n.config.delay && n.config.delay.show ? n._timeout = setTimeout(function() { 894 n._hoverState === d.SHOW && n.show() 895 }, n.config.delay.show) : n.show()) 896 }, a.prototype._leave = function(e, n) { 897 var i = this.constructor.DATA_KEY; 898 (n = n || t(e.currentTarget).data(i)) || (n = new this.constructor(e.currentTarget, this._getDelegateConfig()), t(e.currentTarget).data(i, n)), e && (n._activeTrigger["focusout" === e.type ? g.FOCUS : g.HOVER] = !1), n._isWithActiveTrigger() || (clearTimeout(n._timeout), n._hoverState = d.OUT, n.config.delay && n.config.delay.hide ? n._timeout = setTimeout(function() { 899 n._hoverState === d.OUT && n.hide() 900 }, n.config.delay.hide) : n.hide()) 901 }, a.prototype._isWithActiveTrigger = function() { 902 for (var t in this._activeTrigger) 903 if (this._activeTrigger[t]) return !0; 904 return !1 905 }, a.prototype._getConfig = function(n) { 906 return (n = t.extend({}, this.constructor.Default, t(this.element).data(), n)).delay && "number" == typeof n.delay && (n.delay = { 907 show: n.delay, 908 hide: n.delay 909 }), n.title && "number" == typeof n.title && (n.title = n.title.toString()), n.content && "number" == typeof n.content && (n.content = n.content.toString()), r.typeCheckConfig(e, n, this.constructor.DefaultType), n 910 }, a.prototype._getDelegateConfig = function() { 911 var t = {}; 912 if (this.config) 913 for (var e in this.config) this.constructor.Default[e] !== this.config[e] && (t[e] = this.config[e]); 914 return t 915 }, a.prototype._cleanTipClass = function() { 916 var e = t(this.getTipElement()), 917 n = e.attr("class").match(l); 918 null !== n && n.length > 0 && e.removeClass(n.join("")) 919 }, a.prototype._handlePopperPlacementChange = function(t) { 920 this._cleanTipClass(), this.addAttachmentClass(this._getAttachment(t.placement)) 921 }, a.prototype._fixTransition = function() { 922 var e = this.getTipElement(), 923 n = this.config.animation; 924 null === e.getAttribute("x-placement") && (t(e).removeClass(p.FADE), this.config.animation = !1, this.hide(), this.show(), this.config.animation = n) 925 }, a._jQueryInterface = function(e) { 926 return this.each(function() { 927 var n = t(this).data("htbbs.tooltip"), 928 o = "object" === (void 0 === e ? "undefined" : i(e)) && e; 929 if ((n || !/dispose|hide/.test(e)) && (n || (n = new a(this, o), t(this).data("htbbs.tooltip", n)), "string" == typeof e)) { 930 if (void 0 === n[e]) throw new Error('No method named "' + e + '"'); 931 n[e]() 932 } 933 }) 934 }, o(a, null, [{ 935 key: "VERSION", 936 get: function() { 937 return "4.0.0-beta" 938 } 939 }, { 940 key: "Default", 941 get: function() { 942 return u 943 } 944 }, { 945 key: "NAME", 946 get: function() { 947 return e 948 } 949 }, { 950 key: "DATA_KEY", 951 get: function() { 952 return "htbbs.tooltip" 953 } 954 }, { 955 key: "Event", 956 get: function() { 957 return f 958 } 959 }, { 960 key: "EVENT_KEY", 961 get: function() { 962 return s 963 } 964 }, { 965 key: "DefaultType", 966 get: function() { 967 return h 968 } 969 }]), a 970 }(); 971 return t.fn[e] = m._jQueryInterface, t.fn[e].Constructor = m, t.fn[e].noConflict = function() { 972 return t.fn[e] = a, m._jQueryInterface 973 }, m 974 }(jQuery)); 975 ! function(r) { 976 var a = "htbpopover", 977 l = ".htbbs.htb-popover", 978 h = r.fn[a], 979 c = new RegExp("(^|\\s)bs-popover\\S+", "g"), 980 u = r.extend({}, s.Default, { 981 placement: "right", 982 trigger: "click", 983 content: "", 984 template: '<div class="htb-popover" role="tooltip"><div class="htb-arrow"></div><h3 class="htb-popover-header"></h3><div class="htb-popover-body"></div></div>' 985 }), 986 d = r.extend({}, s.DefaultType, { 987 content: "(string|element|function)" 988 }), 989 f = { 990 FADE: "htb-fade", 991 SHOW: "htb-show" 992 }, 993 p = { 994 TITLE: ".htb-popover-header", 995 CONTENT: ".htb-popover-body" 996 }, 997 _ = { 998 HIDE: "hide" + l, 999 HIDDEN: "hidden" + l, 1000 SHOW: "show" + l, 1001 SHOWN: "shown" + l, 1002 INSERTED: "inserted" + l, 1003 CLICK: "click" + l, 1004 FOCUSIN: "focusin" + l, 1005 FOCUSOUT: "focusout" + l, 1006 MOUSEENTER: "mouseenter" + l, 1007 MOUSELEAVE: "mouseleave" + l 1008 }, 1009 g = function(s) { 1010 function h() { 1011 return n(this, h), t(this, s.apply(this, arguments)) 1012 } 1013 return e(h, s), h.prototype.isWithContent = function() { 1014 return this.getTitle() || this._getContent() 1015 }, h.prototype.addAttachmentClass = function(t) { 1016 r(this.getTipElement()).addClass("htb-bs-popover-" + t) 1017 }, h.prototype.getTipElement = function() { 1018 return this.tip = this.tip || r(this.config.template)[0] 1019 }, h.prototype.setContent = function() { 1020 var t = r(this.getTipElement()); 1021 this.setElementContent(t.find(p.TITLE), this.getTitle()), this.setElementContent(t.find(p.CONTENT), this._getContent()), t.removeClass(f.FADE + " " + f.SHOW) 1022 }, h.prototype._getContent = function() { 1023 return this.element.getAttribute("data-content") || ("function" == typeof this.config.content ? this.config.content.call(this.element) : this.config.content) 1024 }, h.prototype._cleanTipClass = function() { 1025 var t = r(this.getTipElement()), 1026 e = t.attr("class").match(c); 1027 null !== e && e.length > 0 && t.removeClass(e.join("")) 1028 }, h._jQueryInterface = function(t) { 1029 return this.each(function() { 1030 var e = r(this).data("htbbs.popover"), 1031 n = "object" === (void 0 === t ? "undefined" : i(t)) ? t : null; 1032 if ((e || !/destroy|hide/.test(t)) && (e || (e = new h(this, n), r(this).data("htbbs.popover", e)), "string" == typeof t)) { 1033 if (void 0 === e[t]) throw new Error('No method named "' + t + '"'); 1034 e[t]() 1035 } 1036 }) 1037 }, o(h, null, [{ 1038 key: "VERSION", 1039 get: function() { 1040 return "4.0.0-beta" 1041 } 1042 }, { 1043 key: "Default", 1044 get: function() { 1045 return u 1046 } 1047 }, { 1048 key: "NAME", 1049 get: function() { 1050 return a 1051 } 1052 }, { 1053 key: "DATA_KEY", 1054 get: function() { 1055 return "htbbs.popover" 1056 } 1057 }, { 1058 key: "Event", 1059 get: function() { 1060 return _ 1061 } 1062 }, { 1063 key: "EVENT_KEY", 1064 get: function() { 1065 return l 1066 } 1067 }, { 1068 key: "DefaultType", 1069 get: function() { 1070 return d 1071 } 1072 }]), h 1073 }(s); 1074 r.fn[a] = g._jQueryInterface, r.fn[a].Constructor = g, r.fn[a].noConflict = function() { 1075 return r.fn[a] = h, g._jQueryInterface 1076 } 1077 }(jQuery) 1078}();
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.