1!function (t, e) { 2 "object" == typeof exports && "undefined" != typeof module ? e(exports, require("jquery")) : "function" == typeof define && define.amd ? define(["exports", "jquery"], e) : e((t = t || self).bootstrap = {}, t.jQuery) 3}(this, function (t, p) { 4 "use strict"; 5 6 function i(t, e) { 7 for (var n = 0; n < e.length; n++) { 8 var i = e[n]; 9 i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i) 10 } 11 } 12 13 function r(t, e, n) { 14 return e && i(t.prototype, e), n && i(t, n), t 15 } 16 17 function s(o) { 18 for (var t = 1; t < arguments.length; t++) { 19 var r = null != arguments[t] ? arguments[t] : {}, e = Object.keys(r); 20 "function" == typeof Object.getOwnPropertySymbols && (e = e.concat(Object.getOwnPropertySymbols(r).filter(function (t) { 21 return Object.getOwnPropertyDescriptor(r, t).enumerable 22 }))), e.forEach(function (t) { 23 var e, n, i; 24 e = o, i = r[n = t], n in e ? Object.defineProperty(e, n, { 25 value: i, 26 enumerable: !0, 27 configurable: !0, 28 writable: !0 29 }) : e[n] = i 30 }) 31 } 32 return o 33 } 34 35 p = p && p.hasOwnProperty("default") ? p.default : p; 36 var e = "transitionend"; 37 var m = { 38 TRANSITION_END: "bsTransitionEnd", getUID: function (t) { 39 for (; t += ~~(1e6 * Math.random()), document.getElementById(t);) ; 40 return t 41 }, getSelectorFromElement: function (t) { 42 var e = t.getAttribute("data-target"); 43 if (!e || "#" === e) { 44 var n = t.getAttribute("href"); 45 e = n && "#" !== n ? n.trim() : "" 46 } 47 try { 48 return document.querySelector(e) ? e : null 49 } catch (t) { 50 return null 51 } 52 }, getTransitionDurationFromElement: function (t) { 53 if (!t) return 0; 54 var e = p(t).css("transition-duration"), n = p(t).css("transition-delay"), i = parseFloat(e), 55 o = parseFloat(n); 56 return i || o ? (e = e.split(",")[0], n = n.split(",")[0], 1e3 * (parseFloat(e) + parseFloat(n))) : 0 57 }, reflow: function (t) { 58 return t.offsetHeight 59 }, triggerTransitionEnd: function (t) { 60 p(t).trigger(e) 61 }, supportsTransitionEnd: function () { 62 return Boolean(e) 63 }, isElement: function (t) { 64 return (t[0] || t).nodeType 65 }, typeCheckConfig: function (t, e, n) { 66 for (var i in n) if (Object.prototype.hasOwnProperty.call(n, i)) { 67 var o = n[i], r = e[i], 68 s = r && m.isElement(r) ? "element" : (a = r, {}.toString.call(a).match(/\s([a-z]+)/i)[1].toLowerCase()); 69 if (!new RegExp(o).test(s)) throw new Error(t.toUpperCase() + ': Option "' + i + '" provided type "' + s + '" but expected type "' + o + '".') 70 } 71 var a 72 }, findShadowRoot: function (t) { 73 if (!document.documentElement.attachShadow) return null; 74 if ("function" != typeof t.getRootNode) return t instanceof ShadowRoot ? t : t.parentNode ? m.findShadowRoot(t.parentNode) : null; 75 var e = t.getRootNode(); 76 return e instanceof ShadowRoot ? e : null 77 } 78 }; 79 p.fn.emulateTransitionEnd = function (t) { 80 var e = this, n = !1; 81 return p(this).one(m.TRANSITION_END, function () { 82 n = !0 83 }), setTimeout(function () { 84 n || m.triggerTransitionEnd(e) 85 }, t), this 86 }, p.event.special[m.TRANSITION_END] = { 87 bindType: e, delegateType: e, handle: function (t) { 88 if (p(t.target).is(this)) return t.handleObj.handler.apply(this, arguments) 89 } 90 }; 91 var n, o = "alert", a = "bs.alert", l = "." + a, c = p.fn[o], 92 h = {CLOSE: "close" + l, CLOSED: "closed" + l, CLICK_DATA_API: "click" + l + ".data-api"}, 93 u = ((n = f.prototype).close = function (t) { 94 var e = this._element; 95 t && (e = this._getRootElement(t)), this._triggerCloseEvent(e).isDefaultPrevented() || this._removeElement(e) 96 }, n.dispose = function () { 97 p.removeData(this._element, a), this._element = null 98 }, n._getRootElement = function (t) { 99 var e = m.getSelectorFromElement(t), n = !1; 100 return e && (n = document.querySelector(e)), n || (n = p(t).closest(".alert")[0]), n 101 }, n._triggerCloseEvent = function (t) { 102 var e = p.Event(h.CLOSE); 103 return p(t).trigger(e), e 104 }, n._removeElement = function (e) { 105 var n = this; 106 if (p(e).removeClass("show"), p(e).hasClass("fade")) { 107 var t = m.getTransitionDurationFromElement(e); 108 p(e).one(m.TRANSITION_END, function (t) { 109 return n._destroyElement(e, t) 110 }).emulateTransitionEnd(t) 111 } else this._destroyElement(e) 112 }, n._destroyElement = function (t) { 113 p(t).detach().trigger(h.CLOSED).remove() 114 }, f._jQueryInterface = function (n) { 115 return this.each(function () { 116 var t = p(this), e = t.data(a); 117 e || (e = new f(this), t.data(a, e)), "close" === n && e[n](this) 118 }) 119 }, f._handleDismiss = function (e) { 120 return function (t) { 121 t && t.preventDefault(), e.close(this) 122 } 123 }, r(f, null, [{ 124 key: "VERSION", get: function () { 125 return "4.3.1" 126 } 127 }]), f); 128 129 function f(t) { 130 this._element = t 131 } 132 133 p(document).on(h.CLICK_DATA_API, '[data-dismiss="alert"]', u._handleDismiss(new u)), p.fn[o] = u._jQueryInterface, p.fn[o].Constructor = u, p.fn[o].noConflict = function () { 134 return p.fn[o] = c, u._jQueryInterface 135 }; 136 var d, g = "button", _ = "bs.button", v = "." + _, y = ".data-api", E = p.fn[g], b = "active", 137 w = '[data-toggle^="button"]', C = ".btn", 138 T = {CLICK_DATA_API: "click" + v + y, FOCUS_BLUR_DATA_API: "focus" + v + y + " blur" + v + y}, 139 S = ((d = D.prototype).toggle = function () { 140 var t = !0, e = !0, n = p(this._element).closest('[data-toggle="buttons"]')[0]; 141 if (n) { 142 var i = this._element.querySelector('input:not([type="hidden"])'); 143 if (i) { 144 if ("radio" === i.type) if (i.checked && this._element.classList.contains(b)) t = !1; else { 145 var o = n.querySelector(".active"); 146 o && p(o).removeClass(b) 147 } 148 if (t) { 149 if (i.hasAttribute("disabled") || n.hasAttribute("disabled") || i.classList.contains("disabled") || n.classList.contains("disabled")) return; 150 i.checked = !this._element.classList.contains(b), p(i).trigger("change") 151 } 152 i.focus(), e = !1 153 } 154 } 155 e && this._element.setAttribute("aria-pressed", !this._element.classList.contains(b)), t && p(this._element).toggleClass(b) 156 }, d.dispose = function () { 157 p.removeData(this._element, _), this._element = null 158 }, D._jQueryInterface = function (e) { 159 return this.each(function () { 160 var t = p(this).data(_); 161 t || (t = new D(this), p(this).data(_, t)), "toggle" === e && t[e]() 162 }) 163 }, r(D, null, [{ 164 key: "VERSION", get: function () { 165 return "4.3.1" 166 } 167 }]), D); 168 169 function D(t) { 170 this._element = t 171 } 172 173 p(document).on(T.CLICK_DATA_API, w, function (t) { 174 t.preventDefault(); 175 var e = t.target; 176 p(e).hasClass("btn") || (e = p(e).closest(C)), S._jQueryInterface.call(p(e), "toggle") 177 }).on(T.FOCUS_BLUR_DATA_API, w, function (t) { 178 var e = p(t.target).closest(C)[0]; 179 p(e).toggleClass("focus", /^focus(in)?$/.test(t.type)) 180 }), p.fn[g] = S._jQueryInterface, p.fn[g].Constructor = S, p.fn[g].noConflict = function () { 181 return p.fn[g] = E, S._jQueryInterface 182 }; 183 var I, A = "carousel", O = "bs.carousel", N = "." + O, k = ".data-api", L = p.fn[A], 184 x = {interval: 5e3, keyboard: !0, slide: !1, pause: "hover", wrap: !0, touch: !0}, P = { 185 interval: "(number|boolean)", 186 keyboard: "boolean", 187 slide: "(boolean|string)", 188 pause: "(string|boolean)", 189 wrap: "boolean", 190 touch: "boolean" 191 }, H = "next", j = "prev", R = { 192 SLIDE: "slide" + N, 193 SLID: "slid" + N, 194 KEYDOWN: "keydown" + N, 195 MOUSEENTER: "mouseenter" + N, 196 MOUSELEAVE: "mouseleave" + N, 197 TOUCHSTART: "touchstart" + N, 198 TOUCHMOVE: "touchmove" + N, 199 TOUCHEND: "touchend" + N, 200 POINTERDOWN: "pointerdown" + N, 201 POINTERUP: "pointerup" + N, 202 DRAG_START: "dragstart" + N, 203 LOAD_DATA_API: "load" + N + k, 204 CLICK_DATA_API: "click" + N + k 205 }, F = "active", M = ".active.carousel-item", W = {TOUCH: "touch", PEN: "pen"}, 206 U = ((I = B.prototype).next = function () { 207 this._isSliding || this._slide(H) 208 }, I.nextWhenVisible = function () { 209 !document.hidden && p(this._element).is(":visible") && "hidden" !== p(this._element).css("visibility") && this.next() 210 }, I.prev = function () { 211 this._isSliding || this._slide(j) 212 }, I.pause = function (t) { 213 t || (this._isPaused = !0), this._element.querySelector(".carousel-item-next, .carousel-item-prev") && (m.triggerTransitionEnd(this._element), this.cycle(!0)), clearInterval(this._interval), this._interval = null 214 }, I.cycle = function (t) { 215 t || (this._isPaused = !1), this._interval && (clearInterval(this._interval), this._interval = null), this._config.interval && !this._isPaused && (this._interval = setInterval((document.visibilityState ? this.nextWhenVisible : this.next).bind(this), this._config.interval)) 216 }, I.to = function (t) { 217 var e = this; 218 this._activeElement = this._element.querySelector(M); 219 var n = this._getItemIndex(this._activeElement); 220 if (!(t > this._items.length - 1 || t < 0)) if (this._isSliding) p(this._element).one(R.SLID, function () { 221 return e.to(t) 222 }); else { 223 if (n === t) return this.pause(), void this.cycle(); 224 var i = n < t ? H : j; 225 this._slide(i, this._items[t]) 226 } 227 }, I.dispose = function () { 228 p(this._element).off(N), p.removeData(this._element, O), this._items = null, this._config = null, this._element = null, this._interval = null, this._isPaused = null, this._isSliding = null, this._activeElement = null, this._indicatorsElement = null 229 }, I._getConfig = function (t) { 230 return t = s({}, x, t), m.typeCheckConfig(A, t, P), t 231 }, I._handleSwipe = function () { 232 var t = Math.abs(this.touchDeltaX); 233 if (!(t <= 40)) { 234 var e = t / this.touchDeltaX; 235 0 < e && this.prev(), e < 0 && this.next() 236 } 237 }, I._addEventListeners = function () { 238 var e = this; 239 this._config.keyboard && p(this._element).on(R.KEYDOWN, function (t) { 240 return e._keydown(t) 241 }), "hover" === this._config.pause && p(this._element).on(R.MOUSEENTER, function (t) { 242 return e.pause(t) 243 }).on(R.MOUSELEAVE, function (t) { 244 return e.cycle(t) 245 }), this._config.touch && this._addTouchEventListeners() 246 }, I._addTouchEventListeners = function () { 247 var n = this; 248 if (this._touchSupported) { 249 var e = function (t) { 250 n._pointerEvent && W[t.originalEvent.pointerType.toUpperCase()] ? n.touchStartX = t.originalEvent.clientX : n._pointerEvent || (n.touchStartX = t.originalEvent.touches[0].clientX) 251 }, i = function (t) { 252 n._pointerEvent && W[t.originalEvent.pointerType.toUpperCase()] && (n.touchDeltaX = t.originalEvent.clientX - n.touchStartX), n._handleSwipe(), "hover" === n._config.pause && (n.pause(), n.touchTimeout && clearTimeout(n.touchTimeout), n.touchTimeout = setTimeout(function (t) { 253 return n.cycle(t) 254 }, 500 + n._config.interval)) 255 }; 256 p(this._element.querySelectorAll(".carousel-item img")).on(R.DRAG_START, function (t) { 257 return t.preventDefault() 258 }), this._pointerEvent ? (p(this._element).on(R.POINTERDOWN, function (t) { 259 return e(t) 260 }), p(this._element).on(R.POINTERUP, function (t) { 261 return i(t) 262 }), this._element.classList.add("pointer-event")) : (p(this._element).on(R.TOUCHSTART, function (t) { 263 return e(t) 264 }), p(this._element).on(R.TOUCHMOVE, function (t) { 265 var e; 266 (e = t).originalEvent.touches && 1 < e.originalEvent.touches.length ? n.touchDeltaX = 0 : n.touchDeltaX = e.originalEvent.touches[0].clientX - n.touchStartX 267 }), p(this._element).on(R.TOUCHEND, function (t) { 268 return i(t) 269 })) 270 } 271 }, I._keydown = function (t) { 272 if (!/input|textarea/i.test(t.target.tagName)) switch (t.which) { 273 case 37: 274 t.preventDefault(), this.prev(); 275 break; 276 case 39: 277 t.preventDefault(), this.next() 278 } 279 }, I._getItemIndex = function (t) { 280 return this._items = t && t.parentNode ? [].slice.call(t.parentNode.querySelectorAll(".carousel-item")) : [], this._items.indexOf(t) 281 }, I._getItemByDirection = function (t, e) { 282 var n = t === H, i = t === j, o = this._getItemIndex(e), r = this._items.length - 1; 283 if ((i && 0 === o || n && o === r) && !this._config.wrap) return e; 284 var s = (o + (t === j ? -1 : 1)) % this._items.length; 285 return -1 == s ? this._items[this._items.length - 1] : this._items[s] 286 }, I._triggerSlideEvent = function (t, e) { 287 var n = this._getItemIndex(t), i = this._getItemIndex(this._element.querySelector(M)), 288 o = p.Event(R.SLIDE, {relatedTarget: t, direction: e, from: i, to: n}); 289 return p(this._element).trigger(o), o 290 }, I._setActiveIndicatorElement = function (t) { 291 if (this._indicatorsElement) { 292 var e = [].slice.call(this._indicatorsElement.querySelectorAll(".active")); 293 p(e).removeClass(F); 294 var n = this._indicatorsElement.children[this._getItemIndex(t)]; 295 n && p(n).addClass(F) 296 } 297 }, I._slide = function (t, e) { 298 var n, i, o, r = this, s = this._element.querySelector(M), a = this._getItemIndex(s), 299 l = e || s && this._getItemByDirection(t, s), c = this._getItemIndex(l), h = Boolean(this._interval); 300 if (o = t === H ? (n = "carousel-item-left", i = "carousel-item-next", "left") : (n = "carousel-item-right", i = "carousel-item-prev", "right"), l && p(l).hasClass(F)) this._isSliding = !1; else if (!this._triggerSlideEvent(l, o).isDefaultPrevented() && s && l) { 301 this._isSliding = !0, h && this.pause(), this._setActiveIndicatorElement(l); 302 var u = p.Event(R.SLID, {relatedTarget: l, direction: o, from: a, to: c}); 303 if (p(this._element).hasClass("slide")) { 304 p(l).addClass(i), m.reflow(l), p(s).addClass(n), p(l).addClass(n); 305 var f = parseInt(l.getAttribute("data-interval"), 10); 306 this._config.interval = f ? (this._config.defaultInterval = this._config.defaultInterval || this._config.interval, f) : this._config.defaultInt
306erval || this._config.interval; 307 var d = m.getTransitionDurationFromElement(s); 308 p(s).one(m.TRANSITION_END, function () { 309 p(l).removeClass(n + " " + i).addClass(F), p(s).removeClass(F + " " + i + " " + n), r._isSliding = !1, setTimeout(function () { 310 return p(r._element).trigger(u) 311 }, 0) 312 }).emulateTransitionEnd(d) 313 } else p(s).removeClass(F), p(l).addClass(F), this._isSliding = !1, p(this._element).trigger(u); 314 h && this.cycle() 315 } 316 }, B._jQueryInterface = function (i) { 317 return this.each(function () { 318 var t = p(this).data(O), e = s({}, x, p(this).data()); 319 "object" == typeof i && (e = s({}, e, i)); 320 var n = "string" == typeof i ? i : e.slide; 321 if (t || (t = new B(this, e), p(this).data(O, t)), "number" == typeof i) t.to(i); else if ("string" == typeof n) { 322 if (void 0 === t[n]) throw new TypeError('No method named "' + n + '"'); 323 t[n]() 324 } else e.interval && e.ride && (t.pause(), t.cycle()) 325 }) 326 }, B._dataApiClickHandler = function (t) { 327 var e = m.getSelectorFromElement(this); 328 if (e) { 329 var n = p(e)[0]; 330 if (n && p(n).hasClass("carousel")) { 331 var i = s({}, p(n).data(), p(this).data()), o = this.getAttribute("data-slide-to"); 332 o && (i.interval = !1), B._jQueryInterface.call(p(n), i), o && p(n).data(O).to(o), t.preventDefault() 333 } 334 } 335 }, r(B, null, [{ 336 key: "VERSION", get: function () { 337 return "4.3.1" 338 } 339 }, { 340 key: "Default", get: function () { 341 return x 342 } 343 }]), B); 344 345 function B(t, e) { 346 this._items = null, this._interval = null, this._activeElement = null, this._isPaused = !1, this._isSliding = !1, this.touchTimeout = null, this.touchStartX = 0, this.touchDeltaX = 0, this._config = this._getConfig(e), this._element = t, this._indicatorsElement = this._element.querySelector(".carousel-indicators"), this._touchSupported = "ontouchstart" in document.documentElement || 0 < navigator.maxTouchPoints, this._pointerEvent = Boolean(window.PointerEvent || window.MSPointerEvent), this._addEventListeners() 347 } 348 349 p(document).on(R.CLICK_DATA_API, "[data-slide], [data-slide-to]", U._dataApiClickHandler), p(window).on(R.LOAD_DATA_API, function () { 350 for (var t = [].slice.call(document.querySelectorAll('[data-ride="carousel"]')), e = 0, n = t.length; e < n; e++) { 351 var i = p(t[e]); 352 U._jQueryInterface.call(i, i.data()) 353 } 354 }), p.fn[A] = U._jQueryInterface, p.fn[A].Constructor = U, p.fn[A].noConflict = function () { 355 return p.fn[A] = L, U._jQueryInterface 356 }; 357 var q, K = "collapse", Q = "bs.collapse", V = "." + Q, Y = p.fn[K], z = {toggle: !0, parent: ""}, 358 X = {toggle: "boolean", parent: "(string|element)"}, G = { 359 SHOW: "show" + V, 360 SHOWN: "shown" + V, 361 HIDE: "hide" + V, 362 HIDDEN: "hidden" + V, 363 CLICK_DATA_API: "click" + V + ".data-api" 364 }, $ = "show", J = "collapse", Z = "collapsing", tt = "collapsed", et = '[data-toggle="collapse"]', 365 nt = ((q = it.prototype).toggle = function () { 366 p(this._element).hasClass($) ? this.hide() : this.show() 367 }, q.show = function () { 368 var t, e, n = this; 369 if (!(this._isTransitioning || p(this._element).hasClass($) || (this._parent && 0 === (t = [].slice.call(this._parent.querySelectorAll(".show, .collapsing")).filter(function (t) { 370 return "string" == typeof n._config.parent ? t.getAttribute("data-parent") === n._config.parent : t.classList.contains(J) 371 })).length && (t = null), t && (e = p(t).not(this._selector).data(Q)) && e._isTransitioning))) { 372 var i = p.Event(G.SHOW); 373 if (p(this._element).trigger(i), !i.isDefaultPrevented()) { 374 t && (it._jQueryInterface.call(p(t).not(this._selector), "hide"), e || p(t).data(Q, null)); 375 var o = this._getDimension(); 376 p(this._element).removeClass(J).addClass(Z), this._element.style[o] = 0, this._triggerArray.length && p(this._triggerArray).removeClass(tt).attr("aria-expanded", !0), this.setTransitioning(!0); 377 var r = "scroll" + (o[0].toUpperCase() + o.slice(1)), 378 s = m.getTransitionDurationFromElement(this._element); 379 p(this._element).one(m.TRANSITION_END, function () { 380 p(n._element).removeClass(Z).addClass(J).addClass($), n._element.style[o] = "", n.setTransitioning(!1), p(n._element).trigger(G.SHOWN) 381 }).emulateTransitionEnd(s), this._element.style[o] = this._element[r] + "px" 382 } 383 } 384 }, q.hide = function () { 385 var t = this; 386 if (!this._isTransitioning && p(this._element).hasClass($)) { 387 var e = p.Event(G.HIDE); 388 if (p(this._element).trigger(e), !e.isDefaultPrevented()) { 389 var n = this._getDimension(); 390 this._element.style[n] = this._element.getBoundingClientRect()[n] + "px", m.reflow(this._element), p(this._element).addClass(Z).removeClass(J).removeClass($); 391 var i = this._triggerArray.length; 392 if (0 < i) for (var o = 0; o < i; o++) { 393 var r = this._triggerArray[o], s = m.getSelectorFromElement(r); 394 null !== s && (p([].slice.call(document.querySelectorAll(s))).hasClass($) || p(r).addClass(tt).attr("aria-expanded", !1)) 395 } 396 this.setTransitioning(!0), this._element.style[n] = ""; 397 var a = m.getTransitionDurationFromElement(this._element); 398 p(this._element).one(m.TRANSITION_END, function () { 399 t.setTransitioning(!1), p(t._element).removeClass(Z).addClass(J).trigger(G.HIDDEN) 400 }).emulateTransitionEnd(a) 401 } 402 } 403 }, q.setTransitioning = function (t) { 404 this._isTransitioning = t 405 }, q.dispose = function () { 406 p.removeData(this._element, Q), this._config = null, this._parent = null, this._element = null, this._triggerArray = null, this._isTransitioning = null 407 }, q._getConfig = function (t) { 408 return (t = s({}, z, t)).toggle = Boolean(t.toggle), m.typeCheckConfig(K, t, X), t 409 }, q._getDimension = function () { 410 return p(this._element).hasClass("width") ? "width" : "height" 411 }, q._getParent = function () { 412 var t, n = this; 413 m.isElement(this._config.parent) ? (t = this._config.parent, void 0 !== this._config.parent.jquery && (t = this._config.parent[0])) : t = document.querySelector(this._config.parent); 414 var e = '[data-toggle="collapse"][data-parent="' + this._config.parent + '"]', 415 i = [].slice.call(t.querySelectorAll(e)); 416 return p(i).each(function (t, e) { 417 n._addAriaAndCollapsedClass(it._getTargetFromElement(e), [e]) 418 }), t 419 }, q._addAriaAndCollapsedClass = function (t, e) { 420 var n = p(t).hasClass($); 421 e.length && p(e).toggleClass(tt, !n).attr("aria-expanded", n) 422 }, it._getTargetFromElement = function (t) { 423 var e = m.getSelectorFromElement(t); 424 return e ? document.querySelector(e) : null 425 }, it._jQueryInterface = function (i) { 426 return this.each(function () { 427 var t = p(this), e = t.data(Q), n = s({}, z, t.data(), "object" == typeof i && i ? i : {}); 428 if (!e && n.toggle && /show|hide/.test(i) && (n.toggle = !1), e || (e = new it(this, n), t.data(Q, e)), "string" == typeof i) { 429 if (void 0 === e[i]) throw new TypeError('No method n
429amed "' + i + '"'); 430 e[i]() 431 } 432 }) 433 }, r(it, null, [{ 434 key: "VERSION", get: function () { 435 return "4.3.1" 436 } 437 }, { 438 key: "Default", get: function () { 439 return z 440 } 441 }]), it); 442 443 function it(e, t) { 444 this._isTransitioning = !1, this._element = e, this._config = this._getConfig(t), this._triggerArray = [].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#' + e.id + '"],[data-toggle="collapse"][data-target="#' + e.id + '"]')); 445 for (var n = [].slice.call(document.querySelectorAll(et)), i = 0, o = n.length; i < o; i++) { 446 var r = n[i], s = m.getSelectorFromElement(r), 447 a = [].slice.call(document.querySelectorAll(s)).filter(function (t) { 448 return t === e 449 }); 450 null !== s && 0 < a.length && (this._selector = s, this._triggerArray.push(r)) 451 } 452 this._parent = this._config.parent ? this._getParent() : null, this._config.parent || this._addAriaAndCollapsedClass(this._element, this._triggerArray), this._config.toggle && this.toggle() 453 } 454 455 p(document).on(G.CLICK_DATA_API, et, function (t) { 456 "A" === t.currentTarget.tagName && t.preventDefault(); 457 var n = p(this), e = m.getSelectorFromElement(this), i = [].slice.call(document.querySelectorAll(e)); 458 p(i).each(function () { 459 var t = p(this), e = t.data(Q) ? "toggle" : n.data(); 460 nt._jQueryInterface.call(t, e) 461 }) 462 }), p.fn[K] = nt._jQueryInterface, p.fn[K].Constructor = nt, p.fn[K].noConflict = function () { 463 return p.fn[K] = Y, nt._jQueryInterface 464 }; 465 for (var ot = "undefined" != typeof window && "undefined" != typeof document, rt = ["Edge", "Trident", "Firefox"], st = 0, at = 0; at < rt.length; at += 1) if (ot && 0 <= navigator.userAgent.indexOf(rt[at])) { 466 st = 1; 467 break 468 } 469 var lt = ot && window.Promise ? function (t) { 470 var e = !1; 471 return function () { 472 e || (e = !0, window.Promise.resolve().then(function () { 473 e = !1, t() 474 })) 475 } 476 } : function (t) { 477 var e = !1; 478 return function () { 479 e || (e = !0, setTimeout(function () { 480 e = !1, t() 481 }, st)) 482 } 483 }; 484 485 function ct(t) { 486 return t && "[object Function]" === {}.toString.call(t) 487 } 488 489 function ht(t, e) { 490 if (1 !== t.nodeType) return []; 491 var n = t.ownerDocument.defaultView.getComputedStyle(t, null); 492 return e ? n[e] : n 493 } 494 495 function ut(t) { 496 return "HTML" === t.nodeName ? t : t.parentNode || t.host 497 } 498 499 function ft(t) { 500 if (!t) return document.body; 501 switch (t.nodeName) { 502 case"HTML": 503 case"BODY": 504 return t.ownerDocument.body; 505 case"#document": 506 return t.body 507 } 508 var e = ht(t), n = e.overflow, i = e.overflowX, o = e.overflowY; 509 return /(auto|scroll|overlay)/.test(n + o + i) ? t : ft(ut(t)) 510 } 511 512 var dt = ot && !(!window.MSInputMethodContext || !document.documentMode), 513 pt = ot && /MSIE 10/.test(navigator.userAgent); 514 515 function mt(t) { 516 return 11 === t ? dt : 10 === t ? pt : dt || pt 517 } 518 519 function gt(t) { 520 if (!t) return document.documentElement; 521 for (var e = mt(10) ? document.body : null, n = t.offsetParent || null; n === e && t.nextElementSibling;) n = (t = t.nextElementSibling).offsetParent; 522 var i = n && n.nodeName; 523 return i && "BODY" !== i && "HTML" !== i ? -1 !== ["TH", "TD", "TABLE"].indexOf(n.nodeName) && "static" === ht(n, "position") ? gt(n) : n : t ? t.ownerDocument.documentElement : document.documentElement 524 } 525 526 function _t(t) { 527 return null !== t.parentNode ? _t(t.parentNode) : t 528 } 529 530 function vt(t, e) { 531 if (!(t && t.nodeType && e && e.nodeType)) return document.documentElement; 532 var n = t.compareDocumentPosition(e) & Node.DOCUMENT_POSITION_FOLLOWING, i = n ? t : e, o = n ? e : t, 533 r = document.createRange(); 534 r.setStart(i, 0), r.setEnd(o, 0); 535 var s, a, l = r.commonAncestorContainer; 536 if (t !== l && e !== l || i.contains(o)) return "BODY" === (a = (s = l).nodeName) || "HTML" !== a && gt(s.firstElementChild) !== s ? gt(l) : l; 537 var c = _t(t); 538 return c.host ? vt(c.host, e) : vt(t, _t(e).host) 539 } 540 541 function yt(t) { 542 var e = "top" === (1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : "top") ? "scrollTop" : "scrollLeft", 543 n = t.nodeName; 544 if ("BODY" !== n && "HTML" !== n) return t[e]; 545 var i = t.ownerDocument.documentElement; 546 return (t.ownerDocument.scrollingElement || i)[e] 547 } 548 549 function Et(t, e) { 550 var n = "x" === e ? "Left" : "Top", i = "Left" == n ? "Right" : "Bottom"; 551 return parseFloat(t["border" + n + "Width"], 10) + parseFloat(t["border" + i + "Width"], 10) 552 } 553 554 function bt(t, e, n, i) { 555 return Math.max(e["offset" + t], e["scroll" + t], n["client" + t], n["offset" + t], n["scroll" + t], mt(10) ? parseInt(n["offset" + t]) + parseInt(i["margin" + ("Height" === t ? "Top" : "Left")]) + parseInt(i["margin" + ("Height" === t ? "Bottom" : "Right")]) : 0) 556 } 557 558 function wt(t) { 559 var e = t.body, n = t.documentElement, i = mt(10) && getComputedStyle(n); 560 return {height: bt("Height", e, n, i), width: bt("Width", e, n, i)} 561 } 562 563 function Ct(t, e, n) { 564 return e in t ? Object.defineProperty(t, e, { 565 value: n, 566 enumerable: !0, 567 configurable: !0, 568 writable: !0 569 }) : t[e] = n, t 570 } 571 572 var Tt = function (t, e, n) { 573 return e && Dt(t.prototype, e), n && Dt(t, n), t 574 }, St = Object.assign || function (t) { 575 for (var e = 1; e < arguments.length; e++) { 576 var n = arguments[e]; 577 for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (t[i] = n[i]) 578 } 579 return t 580 }; 581 582 function Dt(t, e) { 583 for (var n = 0; n < e.length; n++) { 584 var i = e[n]; 585 i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i) 586 } 587 } 588 589 function It(t) { 590 return St({}, t, {right: t.left + t.width, bottom: t.top + t.height}) 591 } 592 593 function At(t) { 594 var e = {}; 595 try { 596 if (mt(10)) { 597 e = t.getBoundingClientRect(); 598 var n = yt(t, "top"), i = yt(t, "left"); 599 e.top += n, e.left += i, e.bottom += n, e.right += i 600 } else e = t.getBoundingClientRect() 601 } catch (t) { 602 } 603 var o = {left: e.left, top: e.top, width: e.right - e.left, height: e.bottom - e.top}, 604 r = "HTML" === t.nodeName ? wt(t.ownerDocument) : {}, s = r.width || t.clientWidth || o.right - o.left, 605 a = r.height || t.clientHeight || o.bottom - o.top, l = t.offsetWidth - s, c = t.offsetHeight - a; 606 if (l || c) { 607 var h = ht(t); 608 l -= Et(h, "x"), c -= Et(h, "y"), o.width -= l, o.height -= c 609 } 610 return It(o) 611 } 612 613 function Ot(t, e) { 614 var n = 2 < arguments.length && void 0 !== arguments[2] && arguments[2], i = mt(10), o = "HTML" === e.
vendor: 6,315 bytes, lines 614-753
614nodeName, 615 r = At(t), s = At(e), a = ft(t), l = ht(e), c = parseFloat(l.borderTopWidth, 10), 616 h = parseFloat(l.borderLeftWidth, 10); 617 n && o && (s.top = Math.max(s.top, 0), s.left = Math.max(s.left, 0)); 618 var u = It({top: r.top - s.top - c, left: r.left - s.left - h, width: r.width, height: r.height}); 619 if (u.marginTop = 0, u.marginLeft = 0, !i && o) { 620 var f = parseFloat(l.marginTop, 10), d = parseFloat(l.marginLeft, 10); 621 u.top -= c - f, u.bottom -= c - f, u.left -= h - d, u.right -= h - d, u.marginTop = f, u.marginLeft = d 622 } 623 return (i && !n ? e.contains(a) : e === a && "BODY" !== a.nodeName) && (u = function (t, e) { 624 var n = 2 < arguments.length && void 0 !== arguments[2] && arguments[2], i = yt(e, "top"), 625 o = yt(e, "left"), r = n ? -1 : 1; 626 return t.top += i * r, t.bottom += i * r, t.left += o * r, t.right += o * r, t 627 }(u, e)), u 628 } 629 630 function Nt(t) { 631 if (!t || !t.parentElement || mt()) return document.documentElement; 632 for (var e = t.parentElement; e && "none" === ht(e, "transform");) e = e.parentElement; 633 return e || document.documentElement 634 } 635 636 function kt(t, e, n, i) { 637 var o = 4 < arguments.length && void 0 !== arguments[4] && arguments[4], r = {top: 0, left: 0}, 638 s = o ? Nt(t) : vt(t, e); 639 if ("viewport" === i) r = function (t) { 640 var e = 1 < arguments.length && void 0 !== arguments[1] && arguments[1], 641 n = t.ownerDocument.documentElement, i = Ot(t, n), o = Math.max(n.clientWidth, window.innerWidth || 0), 642 r = Math.max(n.clientHeight, window.innerHeight || 0), s = e ? 0 : yt(n), a = e ? 0 : yt(n, "left"); 643 return It({top: s - i.top + i.marginTop, left: a - i.left + i.marginLeft, width: o, height: r}) 644 }(s, o); else { 645 var a = void 0; 646 "scrollParent" === i ? "BODY" === (a = ft(ut(e))).nodeName && (a = t.ownerDocument.documentElement) : a = "window" === i ? t.ownerDocument.documentElement : i; 647 var l = Ot(a, s, o); 648 if ("HTML" !== a.nodeName || function t(e) { 649 var n = e.nodeName; 650 if ("BODY" === n || "HTML" === n) return !1; 651 if ("fixed" === ht(e, "position")) return !0; 652 var i = ut(e); 653 return !!i && t(i) 654 }(s)) r = l; else { 655 var c = wt(t.ownerDocument), h = c.height, u = c.width; 656 r.top += l.top - l.marginTop, r.bottom = h + l.top, r.left += l.left - l.marginLeft, r.right = u + l.left 657 } 658 } 659 var f = "number" == typeof (n = n || 0); 660 return r.left += f ? n : n.left || 0, r.top += f ? n : n.top || 0, r.right -= f ? n : n.right || 0, r.bottom -= f ? n : n.bottom || 0, r 661 } 662 663 function Lt(t, e, i, n, o) { 664 var r = 5 < arguments.length && void 0 !== arguments[5] ? arguments[5] : 0; 665 if (-1 === t.indexOf("auto")) return t; 666 var s = kt(i, n, r, o), a = { 667 top: {width: s.width, height: e.top - s.top}, 668 right: {width: s.right - e.right, height: s.height}, 669 bottom: {width: s.width, height: s.bottom - e.bottom}, 670 left: {width: e.left - s.left, height: s.height} 671 }, l = Object.keys(a).map(function (t) { 672 return St({key: t}, a[t], {area: (e = a[t], e.width * e.height)}); 673 var e 674 }).sort(function (t, e) { 675 return e.area - t.area 676 }), c = l.filter(function (t) { 677 var e = t.width, n = t.height; 678 return e >= i.clientWidth && n >= i.clientHeight 679 }), h = 0 < c.length ? c[0].key : l[0].key, u = t.split("-")[1]; 680 return h + (u ? "-" + u : "") 681 } 682 683 function xt(t, e, n) { 684 var i = 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null; 685 return Ot(n, i ? Nt(e) : vt(e, n), i) 686 } 687 688 function Pt(t) { 689 var e = t.ownerDocument.defaultView.getComputedStyle(t), 690 n = parseFloat(e.marginTop || 0) + parseFloat(e.marginBottom || 0), 691 i = parseFloat(e.marginLeft || 0) + parseFloat(e.marginRight || 0); 692 return {width: t.offsetWidth + i, height: t.offsetHeight + n} 693 } 694 695 function Ht(t) { 696 var e = {left: "right", right: "left", bottom: "top", top: "bottom"}; 697 return t.replace(/left|right|bottom|top/g, function (t) { 698 return e[t] 699 }) 700 } 701 702 function jt(t, e, n) { 703 n = n.split("-")[0]; 704 var i = Pt(t), o = {width: i.width, height: i.height}, r = -1 !== ["right", "left"].indexOf(n), 705 s = r ? "top" : "left", a = r ? "left" : "top", l = r ? "height" : "width", c = r ? "width" : "height"; 706 return o[s] = e[s] + e[l] / 2 - i[l] / 2, o[a] = n === a ? e[a] - i[c] : e[Ht(a)], o 707 } 708 709 function Rt(t, e) { 710 return Array.prototype.find ? t.find(e) : t.filter(e)[0] 711 } 712 713 function Ft(t, n, e) { 714 return (void 0 === e ? t : t.slice(0, function (t, e, n) { 715 if (Array.prototype.findIndex) return t.findIndex(function (t) { 716 return t.name === n 717 }); 718 var i = Rt(t, function (t) { 719 return t.name === n 720 }); 721 return t.indexOf(i) 722 }(t, 0, e))).forEach(function (t) { 723 t.function && console.warn("`modifier.function` is deprecated, use `modifier.fn`!"); 724 var e = t.function || t.fn; 725 t.enabled && ct(e) && (n.offsets.popper = It(n.offsets.popper), n.offsets.reference = It(n.offsets.reference), n = e(n, t)) 726 }), n 727 } 728 729 function Mt(t, n) { 730 return t.some(function (t) { 731 var e = t.name; 732 return t.enabled && e === n 733 }) 734 } 735 736 function Wt(t) { 737 for (var e = [!1, "ms", "Webkit", "Moz", "O"], n = t.charAt(0).toUpperCase() + t.slice(1), i = 0; i < e.length; i++) { 738 var o = e[i], r = o ? "" + o + n : t; 739 if (void 0 !== document.body.style[r]) return r 740 } 741 return null 742 } 743 744 function Ut(t) { 745 var e = t.ownerDocument; 746 return e ? e.defaultView : window 747 } 748 749 function Bt(t) { 750 return "" !== t && !isNaN(parseFloat(t)) && isFinite(t) 751 } 752 753 function qt(n, i) {
vendor: 4,570 bytes, lines 754-835
754 Object.keys(i).forEach(function (t) { 755 var e = ""; 756 -1 !== ["width", "height", "top", "right", "bottom", "left"].indexOf(t) && Bt(i[t]) && (e = "px"), n.style[t] = i[t] + e 757 }) 758 } 759 760 var Kt = ot && /Firefox/i.test(navigator.userAgent); 761 762 function Qt(t, e, n) { 763 var i = Rt(t, function (t) { 764 return t.name === e 765 }), o = !!i && t.some(function (t) { 766 return t.name === n && t.enabled && t.order < i.order 767 }); 768 if (!o) { 769 var r = "`" + e + "`", s = "`" + n + "`"; 770 console.warn(s + " modifier is required by " + r + " modifier in order to work, be sure to include it before " + r + "!") 771 } 772 return o 773 } 774 775 var Vt = ["auto-start", "auto", "auto-end", "top-start", "top", "top-end", "right-start", "right", "right-end", "bottom-end", "bottom", "bottom-start", "left-end", "left", "left-start"], 776 Yt = Vt.slice(3); 777 778 function zt(t) { 779 var e = 1 < arguments.length && void 0 !== arguments[1] && arguments[1], n = Yt.indexOf(t), 780 i = Yt.slice(n + 1).concat(Yt.slice(0, n)); 781 return e ? i.reverse() : i 782 } 783 784 var Xt = { 785 placement: "bottom", positionFixed: !1, eventsEnabled: !0, removeOnDestroy: !1, onCreate: function () { 786 }, onUpdate: function () { 787 }, modifiers: { 788 shift: { 789 order: 100, enabled: !0, fn: function (t) { 790 var e = t.placement, n = e.split("-")[0], i = e.split("-")[1]; 791 if (i) { 792 var o = t.offsets, r = o.reference, s = o.popper, a = -1 !== ["bottom", "top"].indexOf(n), 793 l = a ? "left" : "top", c = a ? "width" : "height", 794 h = {start: Ct({}, l, r[l]), end: Ct({}, l, r[l] + r[c] - s[c])}; 795 t.offsets.popper = St({}, s, h[i]) 796 } 797 return t 798 } 799 }, offset: { 800 order: 200, enabled: !0, fn: function (t, e) { 801 var n, i = e.offset, o = t.placement, r = t.offsets, s = r.popper, a = r.reference, 802 l = o.split("-")[0]; 803 return n = Bt(+i) ? [+i, 0] : function (t, o, r, e) { 804 var s = [0, 0], a = -1 !== ["right", "left"].indexOf(e), 805 n = t.split(/(\+|\-)/).map(function (t) { 806 return t.trim() 807 }), i = n.indexOf(Rt(n, function (t) { 808 return -1 !== t.search(/,|\s/) 809 })); 810 n[i] && -1 === n[i].indexOf(",") && console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead."); 811 var l = /\s*,\s*|\s+/, 812 c = -1 !== i ? [n.slice(0, i).concat([n[i].split(l)[0]]), [n[i].split(l)[1]].concat(n.slice(i + 1))] : [n]; 813 return (c = c.map(function (t, e) { 814 var n = (1 === e ? !a : a) ? "height" : "width", i = !1; 815 return t.reduce(function (t, e) { 816 return "" === t[t.length - 1] && -1 !== ["+", "-"].indexOf(e) ? (t[t.length - 1] = e, i = !0, t) : i ? (t[t.length - 1] += e, i = !1, t) : t.concat(e) 817 }, []).map(function (t) { 818 return function (t, e, n, i) { 819 var o = t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/), r = +o[1], s = o[2]; 820 if (!r) return t; 821 if (0 !== s.indexOf("%")) return "vh" !== s && "vw" !== s ? r : ("vh" === s ? Math.max(document.documentElement.clientHeight, window.innerHeight || 0) : Math.max(document.documentElement.clientWidth, window.innerWidth || 0)) / 100 * r; 822 var a = void 0; 823 switch (s) { 824 case"%p": 825 a = n; 826 break; 827 case"%": 828 case"%r": 829 default: 830 a = i 831 } 832 return It(a)[e] / 100 * r 833 }(t, n, o, r) 834 }) 835 }
vendor: 4,992 bytes, lines 835-905
835)).forEach(function (n, i) { 836 n.forEach(function (t, e) { 837 Bt(t) && (s[i] += t * ("-" === n[e - 1] ? -1 : 1)) 838 }) 839 }), s 840 }(i, s, a, l), "left" === l ? (s.top += n[0], s.left -= n[1]) : "right" === l ? (s.top += n[0], s.left += n[1]) : "top" === l ? (s.left += n[0], s.top -= n[1]) : "bottom" === l && (s.left += n[0], s.top += n[1]), t.popper = s, t 841 }, offset: 0 842 }, preventOverflow: { 843 order: 300, enabled: !0, fn: function (t, i) { 844 var e = i.boundariesElement || gt(t.instance.popper); 845 t.instance.reference === e && (e = gt(e)); 846 var n = Wt("transform"), o = t.instance.popper.style, r = o.top, s = o.left, a = o[n]; 847 o.top = "", o.left = "", o[n] = ""; 848 var l = kt(t.instance.popper, t.instance.reference, i.padding, e, t.positionFixed); 849 o.top = r, o.left = s, o[n] = a, i.boundaries = l; 850 var c = i.priority, h = t.offsets.popper, u = { 851 primary: function (t) { 852 var e = h[t]; 853 return h[t] < l[t] && !i.escapeWithReference && (e = Math.max(h[t], l[t])), Ct({}, t, e) 854 }, secondary: function (t) { 855 var e = "right" === t ? "left" : "top", n = h[e]; 856 return h[t] > l[t] && !i.escapeWithReference && (n = Math.min(h[e], l[t] - ("right" === t ? h.width : h.height))), Ct({}, e, n) 857 } 858 }; 859 return c.forEach(function (t) { 860 var e = -1 !== ["left", "top"].indexOf(t) ? "primary" : "secondary"; 861 h = St({}, h, u[e](t)) 862 }), t.offsets.popper = h, t 863 }, priority: ["left", "right", "top", "bottom"], padding: 5, boundariesElement: "scrollParent" 864 }, keepTogether: { 865 order: 400, enabled: !0, fn: function (t) { 866 var e = t.offsets, n = e.popper, i = e.reference, o = t.placement.split("-")[0], r = Math.floor, 867 s = -1 !== ["top", "bottom"].indexOf(o), a = s ? "right" : "bottom", l = s ? "left" : "top", 868 c = s ? "width" : "height"; 869 return n[a] < r(i[l]) && (t.offsets.popper[l] = r(i[l]) - n[c]), n[l] > r(i[a]) && (t.offsets.popper[l] = r(i[a])), t 870 } 871 }, arrow: { 872 order: 500, enabled: !0, fn: function (t, e) { 873 var n; 874 if (!Qt(t.instance.modifiers, "arrow", "keepTogether")) return t; 875 var i = e.element; 876 if ("string" == typeof i) { 877 if (!(i = t.instance.popper.querySelector(i))) return t 878 } else if (!t.instance.popper.contains(i)) return console.warn("WARNING: `arrow.element` must be child of its popper element!"), t; 879 var o = t.placement.split("-")[0], r = t.offsets, s = r.popper, a = r.reference, 880 l = -1 !== ["left", "right"].indexOf(o), c = l ? "height" : "width", h = l ? "Top" : "Left", 881 u = h.toLowerCase(), f = l ? "left" : "top", d = l ? "bottom" : "right", p = Pt(i)[c]; 882 a[d] - p < s[u] && (t.offsets.popper[u] -= s[u] - (a[d] - p)), a[u] + p > s[d] && (t.offsets.popper[u] += a[u] + p - s[d]), t.offsets.popper = It(t.offsets.popper); 883 var m = a[u] + a[c] / 2 - p / 2, g = ht(t.instance.popper), _ = parseFloat(g["margin" + h], 10), 884 v = parseFloat(g["border" + h + "Width"], 10), y = m - t.offsets.popper[u] - _ - v; 885 return y = Math.max(Math.min(s[c] - p, y), 0), t.arrowElement = i, t.offsets.arrow = (Ct(n = {}, u, Math.round(y)), Ct(n, f, ""), n), t 886 }, element: "[x-arrow]" 887 }, flip: { 888 order: 600, enabled: !0, fn: function (p, m) { 889 if (Mt(p.instance.modifiers, "inner")) return p; 890 if (p.flipped && p.placement === p.originalPlacement) return p; 891 var g = kt(p.instance.popper, p.instance.reference, m.padding, m.boundariesElement, p.positionFixed), 892 _ = p.placement.split("-")[0], v = Ht(_), y = p.placement.split("-")[1] || "", E = []; 893 switch (m.behavior) { 894 case"flip": 895 E = [_, v]; 896 break; 897 case"clockwise": 898 E = zt(_); 899 break; 900 case"counterclockwise": 901 E = zt(_, !0); 902 break; 903 default: 904 E = m.behavior 905 }
vendor: 5,245 bytes, lines 906-967
906 return E.forEach(function (t, e) { 907 if (_ !== t || E.length === e + 1) return p; 908 _ = p.placement.split("-")[0], v = Ht(_); 909 var n, i = p.offsets.popper, o = p.offsets.reference, r = Math.floor, 910 s = "left" === _ && r(i.right) > r(o.left) || "right" === _ && r(i.left) < r(o.right) || "top" === _ && r(i.bottom) > r(o.top) || "bottom" === _ && r(i.top) < r(o.bottom), 911 a = r(i.left) < r(g.left), l = r(i.right) > r(g.right), c = r(i.top) < r(g.top), 912 h = r(i.bottom) > r(g.bottom), 913 u = "left" === _ && a || "right" === _ && l || "top" === _ && c || "bottom" === _ && h, 914 f = -1 !== ["top", "bottom"].indexOf(_), 915 d = !!m.flipVariations && (f && "start" === y && a || f && "end" === y && l || !f && "start" === y && c || !f && "end" === y && h); 916 (s || u || d) && (p.flipped = !0, (s || u) && (_ = E[e + 1]), d && (y = "end" === (n = y) ? "start" : "start" === n ? "end" : n), p.placement = _ + (y ? "-" + y : ""), p.offsets.popper = St({}, p.offsets.popper, jt(p.instance.popper, p.offsets.reference, p.placement)), p = Ft(p.instance.modifiers, p, "flip")) 917 }), p 918 }, behavior: "flip", padding: 5, boundariesElement: "viewport" 919 }, inner: { 920 order: 700, enabled: !1, fn: function (t) { 921 var e = t.placement, n = e.split("-")[0], i = t.offsets, o = i.popper, r = i.reference, 922 s = -1 !== ["left", "right"].indexOf(n), a = -1 === ["top", "left"].indexOf(n); 923 return o[s ? "left" : "top"] = r[n] - (a ? o[s ? "width" : "height"] : 0), t.placement = Ht(e), t.offsets.popper = It(o), t 924 } 925 }, hide: { 926 order: 800, enabled: !0, fn: function (t) { 927 if (!Qt(t.instance.modifiers, "hide", "preventOverflow")) return t; 928 var e = t.offsets.reference, n = Rt(t.instance.modifiers, function (t) { 929 return "preventOverflow" === t.name 930 }).boundaries; 931 if (e.bottom < n.top || e.left > n.right || e.top > n.bottom || e.right < n.left) { 932 if (!0 === t.hide) return t; 933 t.hide = !0, t.attributes["x-out-of-boundaries"] = "" 934 } else { 935 if (!1 === t.hide) return t; 936 t.hide = !1, t.attributes["x-out-of-boundaries"] = !1 937 } 938 return t 939 } 940 }, computeStyle: { 941 order: 850, enabled: !0, fn: function (t, e) { 942 var n = e.x, i = e.y, o = t.offsets.popper, r = Rt(t.instance.modifiers, function (t) { 943 return "applyStyle" === t.name 944 }).gpuAcceleration; 945 void 0 !== r && console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!"); 946 var s, a, l, c, h, u, f, d, p, m, g, _, v, y, E, b, w = void 0 !== r ? r : e.gpuAcceleration, 947 C = gt(t.instance.popper), T = At(C), S = {position: o.position}, 948 D = (s = t, a = window.devicePixelRatio < 2 || !Kt, c = (l = s.offsets).popper, h = l.reference, u = Math.round, f = Math.floor, d = function (t) { 949 return t 950 }, p = u(h.width), m = u(c.width), g = -1 !== ["left", "right"].indexOf(s.placement), _ = -1 !== s.placement.indexOf("-"), y = a ? u : d, { 951 left: (v = a ? g || _ || p % 2 == m % 2 ? u : f : d)(p % 2 == 1 && m % 2 == 1 && !_ && a ? c.left - 1 : c.left), 952 top: y(c.top), 953 bottom: y(c.bottom), 954 right: v(c.right) 955 }), I = "bottom" === n ? "top" : "bottom", A = "right" === i ? "left" : "right", 956 O = Wt("transform"); 957 if (b = "bottom" == I ? "HTML" === C.nodeName ? -C.clientHeight + D.bottom : -T.height + D.bottom : D.top, E = "right" == A ? "HTML" === C.nodeName ? -C.clientWidth + D.right : -T.width + D.right : D.left, w && O) S[O] = "translate3d(" + E + "px, " + b + "px, 0)", S[I] = 0, S[A] = 0, S.willChange = "transform"; else { 958 var N = "bottom" == I ? -1 : 1, k = "right" == A ? -1 : 1; 959 S[I] = b * N, S[A] = E * k, S.willChange = I + ", " + A 960 } 961 var L = {"x-placement": t.placement}; 962 return t.attributes = St({}, L, t.attributes), t.styles = St({}, S, t.styles), t.arrowStyles = St({}, t.offsets.arrow, t.arrowStyles), t 963 }, gpuAcceleration: !0, x: "bottom", y: "right" 964 }, applyStyle: { 965 order: 900, enabled: !0, fn: function (t) { 966 var e, n; 967 return qt(t.instance.popper, t.styles), e = t.instance.popper, n = t.attributes, Object.keys(n).forEac
vendor: 4,274 bytes, lines 967-1026
967h(function (t) { 968 !1 !== n[t] ? e.setAttribute(t, n[t]) : e.removeAttribute(t) 969 }), t.arrowElement && Object.keys(t.arrowStyles).length && qt(t.arrowElement, t.arrowStyles), t 970 }, onLoad: function (t, e, n, i, o) { 971 var r = xt(o, e, t, n.positionFixed), 972 s = Lt(n.placement, r, e, t, n.modifiers.flip.boundariesElement, n.modifiers.flip.padding); 973 return e.setAttribute("x-placement", s), qt(e, {position: n.positionFixed ? "fixed" : "absolute"}), n 974 }, gpuAcceleration: void 0 975 } 976 } 977 }, Gt = (Tt($t, [{ 978 key: "update", value: function () { 979 return function () { 980 if (!this.state.isDestroyed) { 981 var t = {instance: this, styles: {}, arrowStyles: {}, attributes: {}, flipped: !1, offsets: {}}; 982 t.offsets.reference = xt(this.state, this.popper, this.reference, this.options.positionFixed), t.placement = Lt(this.options.placement, t.offsets.reference, this.popper, this.reference, this.options.modifiers.flip.boundariesElement, this.options.modifiers.flip.padding), t.originalPlacement = t.placement, t.positionFixed = this.options.positionFixed, t.offsets.popper = jt(this.popper, t.offsets.reference, t.placement), t.offsets.popper.position = this.options.positionFixed ? "fixed" : "absolute", t = Ft(this.modifiers, t), this.state.isCreated ? this.options.onUpdate(t) : (this.state.isCreated = !0, this.options.onCreate(t)) 983 } 984 }.call(this) 985 } 986 }, { 987 key: "destroy", value: function () { 988 return function () { 989 return this.state.isDestroyed = !0, Mt(this.modifiers, "applyStyle") && (this.popper.removeAttribute("x-placement"), this.popper.style.position = "", this.popper.style.top = "", this.popper.style.left = "", this.popper.style.right = "", this.popper.style.bottom = "", this.popper.style.willChange = "", this.popper.style[Wt("transform")] = ""), this.disableEventListeners(), this.options.removeOnDestroy && this.popper.parentNode.removeChild(this.popper), this 990 }.call(this) 991 } 992 }, { 993 key: "enableEventListeners", value: function () { 994 return function () { 995 this.state.eventsEnabled || (this.state = function (t, e, n, i) { 996 n.updateBound = i, Ut(t).addEventListener("resize", n.updateBound, {passive: !0}); 997 var o = ft(t); 998 return function t(e, n, i, o) { 999 var r = "BODY" === e.nodeName, s = r ? e.ownerDocument.defaultView : e; 1000 s.addEventListener(n, i, {passive: !0}), r || t(ft(s.parentNode), n, i, o), o.push(s) 1001 }(o, "scroll", n.updateBound, n.scrollParents), n.scrollElement = o, n.eventsEnabled = !0, n 1002 }(this.reference, this.options, this.state, this.scheduleUpdate)) 1003 }.call(this) 1004 } 1005 }, { 1006 key: "disableEventListeners", value: function () { 1007 return function () { 1008 var t, e; 1009 this.state.eventsEnabled && (cancelAnimationFrame(this.scheduleUpdate), this.state = (t = this.reference, e = this.state, Ut(t).removeEventListener("resize", e.updateBound), e.scrollParents.forEach(function (t) { 1010 t.removeEventListener("scroll", e.updateBound) 1011 }), e.updateBound = null, e.scrollParents = [], e.scrollElement = null, e.eventsEnabled = !1, e)) 1012 }.call(this) 1013 } 1014 }]), $t); 1015 1016 function $t(t, e) { 1017 var n = this, i = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : {}; 1018 !function (t, e) { 1019 if (!(t instanceof $t)) throw new TypeError("Cannot call a class as a function") 1020 }(this), this.scheduleUpdate = function () { 1021 return requestAnimationFrame(n.update) 1022 }, this.update = lt(this.update.bind(this)), this.options = St({}, $t.Defaults, i), this.state = { 1023 isDestroyed: !1, 1024 isCreated: !1, 1025 scrollParents: [] 1026 }, this.reference = t && t.jquery ? t[0] : t, this.popper = e && e.jquery ? e[0] : e, this.options.modifiers = {}, Object.keys(St({}
1026, $t.Defaults.modifiers, i.modifiers)).forEach(function (t) { 1027 n.options.modifiers[t] = St({}, $t.Defaults.modifiers[t] || {}, i.modifiers ? i.modifiers[t] : {}) 1028 }), this.modifiers = Object.keys(this.options.modifiers).map(function (t) { 1029 return St({name: t}, n.options.modifiers[t]) 1030 }).sort(function (t, e) { 1031 return t.order - e.order 1032 }), this.modifiers.forEach(function (t) { 1033 t.enabled && ct(t.onLoad) && t.onLoad(n.reference, n.popper, n.options, t, n.state) 1034 }), this.update(); 1035 var o = this.options.eventsEnabled; 1036 o && this.enableEventListeners(), this.state.eventsEnabled = o 1037 } 1038 1039 Gt.Utils = ("undefined" != typeof window ? window : global).PopperUtils, Gt.placements = Vt, Gt.Defaults = Xt; 1040 var Jt, Zt = "dropdown", te = "bs.dropdown", ee = "." + te, ne = ".data-api", ie = p.fn[Zt], 1041 oe = new RegExp("38|40|27"), re = { 1042 HIDE: "hide" + ee, 1043 HIDDEN: "hidden" + ee, 1044 SHOW: "show" + ee, 1045 SHOWN: "shown" + ee, 1046 CLICK: "click" + ee, 1047 CLICK_DATA_API: "click" + ee + ne, 1048 KEYDOWN_DATA_API: "keydown" + ee + ne, 1049 KEYUP_DATA_API: "keyup" + ee + ne 1050 }, se = "disabled", ae = "show", le = "dropdown-menu-right", ce = '[data-toggle="dropdown"]', he = ".dropdown-menu", 1051 ue = {offset: 0, flip: !0, boundary: "scrollParent", reference: "toggle", display: "dynamic"}, fe = { 1052 offset: "(number|string|function)", 1053 flip: "boolean", 1054 boundary: "(string|element)", 1055 reference: "(string|element)", 1056 display: "string" 1057 }, de = ((Jt = pe.prototype).toggle = function () { 1058 if (!this._element.disabled && !p(this._element).hasClass(se)) { 1059 var t = pe._getParentFromElement(this._element), e = p(this._menu).hasClass(ae); 1060 if (pe._clearMenus(), !e) { 1061 var n = {relatedTarget: this._element}, i = p.Event(re.SHOW, n); 1062 if (p(t).trigger(i), !i.isDefaultPrevented()) { 1063 if (!this._inNavbar) { 1064 if (void 0 === Gt) throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)"); 1065 var o = this._element; 1066 "parent" === this._config.reference ? o = t : m.isElement(this._config.reference) && (o = this._config.reference, void 0 !== this._config.reference.jquery && (o = this._config.reference[0])), "scrollParent" !== this._config.boundary && p(t).addClass("position-static"), this._popper = new Gt(o, this._menu, this._getPopperConfig()) 1067 } 1068 "ontouchstart" in document.documentElement && 0 === p(t).closest(".navbar-nav").length && p(document.body).children().on("mouseover", null, p.noop), this._element.focus(), this._element.setAttribute("aria-expanded", !0), p(this._menu).toggleClass(ae), p(t).toggleClass(ae).trigger(p.Event(re.SHOWN, n)) 1069 } 1070 } 1071 } 1072 }, Jt.show = function () { 1073 if (!(this._element.disabled || p(this._element).hasClass(se) || p(this._menu).hasClass(ae))) { 1074 var t = {relatedTarget: this._element}, e = p.Event(re.SHOW, t), 1075 n = pe._getParentFromElement(this._element); 1076 p(n).trigger(e), e.isDefaultPrevented() || (p(this._menu).toggleClass(ae), p(n).toggleClass(ae).trigger(p.Event(re.SHOWN, t))) 1077 } 1078 }, Jt.hide = function () { 1079 if (!this._element.disabled && !p(this._element).hasClass(se) && p(this._menu).hasClass(ae)) { 1080 var t = {relatedTarget: this._element}, e = p.Event(re.HIDE, t), 1081 n = pe._getParentFromElement(this._element); 1082 p(n).trigger(e), e.isDefaultPrevented() || (p(this._menu).toggleClass(ae), p(n).toggleClass(ae).trigger(p.Event(re.HIDDEN, t))) 1083 } 1084 }, Jt.dispose = function () { 1085 p.removeData(this._element, te), p(this._element).off(ee), this._element = null, (this._menu = null) !== this._popper && (this._popper.destroy(), this._popper = null) 1086 }, Jt.update = function () { 1087 this._inNavbar = this._detectNavbar(), null !== this._popper && this._popper.scheduleUpdate() 1088 }, Jt._addEventListeners = function () { 1089 var e = this; 1090 p(this._element).on(re.CLICK, function (t) { 1091 t.preventDefault(), t.stopPropagation(), e.toggle(
1091) 1092 }) 1093 }, Jt._getConfig = function (t) { 1094 return t = s({}, this.constructor.Default, p(this._element).data(), t), m.typeCheckConfig(Zt, t, this.constructor.DefaultType), t 1095 }, Jt._getMenuElement = function () { 1096 if (!this._menu) { 1097 var t = pe._getParentFromElement(this._element); 1098 t && (this._menu = t.querySelector(he)) 1099 } 1100 return this._menu 1101 }, Jt._getPlacement = function () { 1102 var t = p(this._element.parentNode), e = "bottom-start"; 1103 return t.hasClass("dropup") ? (e = "top-start", p(this._menu).hasClass(le) && (e = "top-end")) : t.hasClass("dropright") ? e = "right-start" : t.hasClass("dropleft") ? e = "left-start" : p(this._menu).hasClass(le) && (e = "bottom-end"), e 1104 }, Jt._detectNavbar = function () { 1105 return 0 < p(this._element).closest(".navbar").length 1106 }, Jt._getOffset = function () { 1107 var e = this, t = {}; 1108 return "function" == typeof this._config.offset ? t.fn = function (t) { 1109 return t.offsets = s({}, t.offsets, e._config.offset(t.offsets, e._element) || {}), t 1110 } : t.offset = this._config.offset, t 1111 }, Jt._getPopperConfig = function () { 1112 var t = { 1113 placement: this._getPlacement(), 1114 modifiers: { 1115 offset: this._getOffset(), 1116 flip: {enabled: this._config.flip}, 1117 preventOverflow: {boundariesElement: this._config.boundary} 1118 } 1119 }; 1120 return "static" === this._config.display && (t.modifiers.applyStyle = {enabled: !1}), t 1121 }, pe._jQueryInterface = function (e) { 1122 return this.each(function () { 1123 var t = p(this).data(te); 1124 if (t || (t = new pe(this, "object" == typeof e ? e : null), p(this).data(te, t)), "string" == typeof e) { 1125 if (void 0 === t[e]) throw new TypeError('No method named "' + e + '"'); 1126 t[e]() 1127 } 1128 }) 1129 }, pe._clearMenus = function (t) { 1130 if (!t || 3 !== t.which && ("keyup" !== t.type || 9 === t.which)) for (var e = [].slice.call(document.querySelectorAll(ce)), n = 0, i = e.length; n < i; n++) { 1131 var o = pe._getParentFromElement(e[n]), r = p(e[n]).data(te), s = {relatedTarget: e[n]}; 1132 if (t && "click" === t.type && (s.clickEvent = t), r) { 1133 var a = r._menu; 1134 if (p(o).hasClass(ae) && !(t && ("click" === t.type && /input|textarea/i.test(t.target.tagName) || "keyup" === t.type && 9 === t.which) && p.contains(o, t.target))) { 1135 var l = p.Event(re.HIDE, s); 1136 p(o).trigger(l), l.isDefaultPrevented() || ("ontouchstart" in document.documentElement && p(document.body).children().off("mouseover", null, p.noop), e[n].setAttribute("aria-expanded", "false"), p(a).removeClass(ae), p(o).removeClass(ae).trigger(p.Event(re.HIDDEN, s))) 1137 } 1138 } 1139 } 1140 }, pe._getParentFromElement = function (t) { 1141 var e, n = m.getSelectorFromElement(t); 1142 return n && (e = document.querySelector(n)), e || t.parentNode 1143 }, pe._dataApiKeydownHandler = function (t) { 1144 if ((/input|textarea/i.test(t.target.tagName) ? !(32 === t.which || 27 !== t.which && (40 !== t.which && 38 !== t.which || p(t.target).closest(he).length)) : oe.test(t.which)) && (t.preventDefault(), t.stopPropagation(), !this.disabled && !p(this).hasClass(se))) { 1145 var e = pe._getParentFromElement(this), n = p(e).hasClass(ae); 1146 if (n && (!n || 27 !== t.which && 32 !== t.which)) { 1147 var i = [].slice.call(e.querySelectorAll(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)")); 1148 if (0 !== i.length) { 1149 var o = i.indexOf(t.target); 1150 38 === t.which && 0 < o && o--, 40 === t.which && o < i.length - 1 && o++, o < 0 && (o = 0), i[o].focus() 1151 } 1152 } else { 1153 if (27 === t.which) { 1154 var r = e.querySelector(ce); 1155 p(r).trigger("focus") 1156 } 1157 p(this).trigger("click") 1158 } 1159 } 1160 }, r(pe, null, [{ 1161 key: "VERSION", get: function () { 1162 return "4.3.1" 1163 } 1164 }, { 1165 key: "Default", get: function () { 1166 return ue 1167 } 1168 }, { 1169 key: "DefaultType", get: function () { 1170 return fe 1171 } 1172 }]), pe); 1173 1174 function pe(t, e) { 1175 this._element = t, this._popper = null, this._config = this._getConfig(e), this._menu = this._getMenuElement(), this._inNavbar = this._detectNavbar(), this._addEventListeners() 1176 } 1177 1178 p(document).on(re.KEYDOWN_DATA_API, ce, de._dataApiKeydownHandler).on(re.KEYDOWN_DATA_API, he, de._dataApiKeydownHandler).on(re.CLICK_DATA_API + " " + re.KEYUP_DATA_API, de._clearMenus).on(re.CLICK_DATA_API, ce, function (t) { 1179 t.preventDefault(), t.stopPropagation(), de._jQueryInterface.call(p(this), "toggle") 1180 }).on(re.CLICK_DATA_API, ".dropdown form", function (t) { 1181 t.stopPropagation() 1182 }), p.fn[Zt] = de._jQueryInterface, p.fn[Zt].Constructor = de, p.fn[Zt].noConflict = function () { 1183 return p.fn[Zt] = ie, de._jQueryInterface 1184 }; 1185 var me, ge = "modal", _e = "bs.modal", ve = "." + _e, ye = p.fn[ge], 1186 Ee = {backdrop: !0, keyboard: !0, focus: !0, show: !0}, 1187 be = {backdrop: "(boolean|string)", keyboard: "boolean", focus: "boolean", show: "boolean"}, we = { 1188 HIDE: "hide" + ve, 1189 HIDDEN: "hidden" + ve, 1190 SHOW: "show" + ve, 1191 SHOWN: "shown" + ve, 1192 FOCUSIN: "focusin" + ve, 1193 RESIZE: "resize" + ve, 1194 CLICK_DISMISS: "click.dismiss" + ve, 1195 KEYDOWN_DISMISS: "keydown.dismiss" + ve, 1196 MOUSEUP_DISMISS: "mouseup.dismiss" + ve, 1197 MOUSEDOWN_DISMISS: "mousedown.dismiss" + ve, 1198 CLICK_DATA_API: "click" + ve + ".data-api" 1199 }
1199, Ce = "modal-open", Te = "fade", Se = "show", De = ".fixed-top, .fixed-bottom, .is-fixed, .sticky-top", 1200 Ie = ".sticky-top", Ae = ((me = Oe.prototype).toggle = function (t) { 1201 return this._isShown ? this.hide() : this.show(t) 1202 }, me.show = function (t) { 1203 var e = this; 1204 if (!this._isShown && !this._isTransitioning) { 1205 p(this._element).hasClass(Te) && (this._isTransitioning = !0); 1206 var n = p.Event(we.SHOW, {relatedTarget: t}); 1207 p(this._element).trigger(n), this._isShown || n.isDefaultPrevented() || (this._isShown = !0, this._checkScrollbar(), this._setScrollbar(), this._adjustDialog(), this._setEscapeEvent(), this._setResizeEvent(), p(this._element).on(we.CLICK_DISMISS, '[data-dismiss="modal"]', function (t) { 1208 return e.hide(t) 1209 }), p(this._dialog).on(we.MOUSEDOWN_DISMISS, function () { 1210 p(e._element).one(we.MOUSEUP_DISMISS, function (t) { 1211 p(t.target).is(e._element) && (e._ignoreBackdropClick = !0) 1212 }) 1213 }), this._showBackdrop(function () { 1214 return e._showElement(t) 1215 })) 1216 } 1217 }, me.hide = function (t) { 1218 var e = this; 1219 if (t && t.preventDefault(), this._isShown && !this._isTransitioning) { 1220 var n = p.Event(we.HIDE); 1221 if (p(this._element).trigger(n), this._isShown && !n.isDefaultPrevented()) { 1222 this._isShown = !1; 1223 var i = p(this._element).hasClass(Te); 1224 if (i && (this._isTransitioning = !0), this._setEscapeEvent(), this._setResizeEvent(), p(document).off(we.FOCUSIN), p(this._element).removeClass(Se), p(this._element).off(we.CLICK_DISMISS), p(this._dialog).off(we.MOUSEDOWN_DISMISS), i) { 1225 var o = m.getTransitionDurationFromElement(this._element); 1226 p(this._element).one(m.TRANSITION_END, function (t) { 1227 return e._hideModal(t) 1228 }).emulateTransitionEnd(o) 1229 } else this._hideModal() 1230 } 1231 } 1232 }, me.dispose = function () { 1233 [window, this._element, this._dialog].forEach(function (t) { 1234 return p(t).off(ve) 1235 }), p(document).off(we.FOCUSIN), p.removeData(this._element, _e), this._config = null, this._element = null, this._dialog = null, this._backdrop = null, this._isShown = null, this._isBodyOverflowing = null, this._ignoreBackdropClick = null, this._isTransitioning = null, this._scrollbarWidth = null 1236 }, me.handleUpdate = function () { 1237 this._adjustDialog() 1238 }, me._getConfig = function (t) { 1239 return t = s({}, Ee, t), m.typeCheckConfig(ge, t, be), t 1240 }, me._showElement = function (t) { 1241 var e = this, n = p(this._element).hasClass(Te); 1242 1243 function i() { 1244 e._config.focus && e._element.focus(), e._isTransitioning = !1, p(e._element).trigger(o) 1245 } 1246 1247 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.setAttribute("aria-modal", !0), p(this._dialog).hasClass("modal-dialog-scrollable") ? this._dialog.querySelector(".modal-body").scrollTop = 0 : this._element.scrollTop = 0, n && m.reflow(this._element), p(this._element).addClass(Se), this._config.focus && this._enforceFocus(); 1248 var o = p.Event(we.SHOWN, {relatedTarget: t}); 1249 if (n) { 1250 var r = m.getTransitionDurationFromElement(this._dialog); 1251 p(this._dialog).one(m.TRANSITION_END, i).emulateTransitionEnd(r) 1252 } else i() 1253 }, me._enforceFocus = function () { 1254 var e = this; 1255 p(document).off(we.FOCUSIN).on(we.FOCUSIN, function (t) { 1256 document !== t.target && e._element !== t.target && 0 === p(e._element).has(t.target).length && e._element.focus() 1257 }) 1258 }, me._setEscapeEvent = function () { 1259 var e = this; 1260 this._isShown && this._config.keyboard ? p(this._element).on(we.KEYDOWN_DISMISS, function (t) { 1261 27 === t.which && (t.preventDefault(), e.hide()) 1262 }) : this._isShown || p(this._element).off(we.KEYDOWN_DISMISS) 1263 }, me._setResizeEvent = function () { 1264 var e = this; 1265 this._isShown ? p(window).on(we.RESIZE, function (t) { 1266 return e.handleUpdate(t) 1267 }) : p(window).off(we.RESIZE) 1268 }, me._hideModal = function () { 1269 var t = this; 1270 this._element.style.display = "none", this._element.setAttribute("aria-hidden", !0), this._element.removeAttribute("aria-modal"), this._isTransitioning = !1, this._showBackdrop(function () { 1271 p(document.body).removeClass(Ce), t._resetAdjustments(), t._resetScrollbar(), p(t._element).trigger(we.HIDDEN) 1272 }) 1273 }, me._removeBackdrop = function () { 1274 this._backdrop && (p(this._backdrop).remove(), this._backdrop = null) 1275 }, me._showBackdrop = function (t) { 1276 var e = this, n = p(this._element).hasClass(Te) ? Te : ""; 1277 if (this._isShown && this._config.backdrop) { 1278 if (this._backdrop = document.createElement("div"), this._backdrop.className = "modal
1278-backdrop", n && this._backdrop.classList.add(n), p(this._backdrop).appendTo(document.body), p(this._element).on(we.CLICK_DISMISS, function (t) { 1279 e._ignoreBackdropClick ? e._ignoreBackdropClick = !1 : t.target === t.currentTarget && ("static" === e._config.backdrop ? e._element.focus() : e.hide()) 1280 }), n && m.reflow(this._backdrop), p(this._backdrop).addClass(Se), !t) return; 1281 if (!n) return void t(); 1282 var i = m.getTransitionDurationFromElement(this._backdrop); 1283 p(this._backdrop).one(m.TRANSITION_END, t).emulateTransitionEnd(i) 1284 } else if (!this._isShown && this._backdrop) { 1285 p(this._backdrop).removeClass(Se); 1286 var o = function () { 1287 e._removeBackdrop(), t && t() 1288 }; 1289 if (p(this._element).hasClass(Te)) { 1290 var r = m.getTransitionDurationFromElement(this._backdrop); 1291 p(this._backdrop).one(m.TRANSITION_END, o).emulateTransitionEnd(r) 1292 } else o() 1293 } else t && t() 1294 }, me._adjustDialog = function () { 1295 var t = this._element.scrollHeight > document.documentElement.clientHeight; 1296 !this._isBodyOverflowing && t && (this._element.style.paddingLeft = this._scrollbarWidth + "px"), this._isBodyOverflowing && !t && (this._element.style.paddingRight = this._scrollbarWidth + "px") 1297 }, me._resetAdjustments = function () { 1298 this._element.style.paddingLeft = "", this._element.style.paddingRight = "" 1299 }, me._checkScrollbar = function () { 1300 var t = document.body.getBoundingClientRect(); 1301 this._isBodyOverflowing = t.left + t.right < window.innerWidth, this._scrollbarWidth = this._getScrollbarWidth() 1302 }, me._setScrollbar = function () { 1303 var o = this; 1304 if (this._isBodyOverflowing) { 1305 var t = [].slice.call(document.querySelectorAll(De)), e = [].slice.call(document.querySelectorAll(Ie)); 1306 p(t).each(function (t, e) { 1307 var n = e.style.paddingRight, i = p(e).css("padding-right"); 1308 p(e).data("padding-right", n).css("padding-right", parseFloat(i) + o._scrollbarWidth + "px") 1309 }), p(e).each(function (t, e) { 1310 var n = e.style.marginRight, i = p(e).css("margin-right"); 1311 p(e).data("margin-right", n).css("margin-right", parseFloat(i) - o._scrollbarWidth + "px") 1312 }); 1313 var n = document.body.style.paddingRight, i = p(document.body).css("padding-right"); 1314 p(document.body).data("padding-right", n).css("padding-right", parseFloat(i) + this._scrollbarWidth + "px") 1315 } 1316 p(document.body).addClass(Ce) 1317 }, me._resetScrollbar = function () { 1318 var t = [].slice.call(document.querySelectorAll(De)); 1319 p(t).each(function (t, e) { 1320 var n = p(e).data("padding-right"); 1321 p(e).removeData("padding-right"), e.style.paddingRight = n || "" 1322 }); 1323 var e = [].slice.call(document.querySelectorAll(Ie)); 1324 p(e).each(function (t, e) { 1325 var n = p(e).data("margin-right"); 1326 void 0 !== n && p(e).css("margin-right", n).removeData("margin-right") 1327 }); 1328 var n = p(document.body).data("padding-right"); 1329 p(document.body).removeData("padding-right"), document.body.style.paddingRight = n || "" 1330 }, me._getScrollbarWidth = function () { 1331 var t = document.createElement("div"); 1332 t.className = "modal-scrollbar-measure", document.body.appendChild(t); 1333 var e = t.getBoundingClientRect().width - t.clientWidth; 1334 return document.body.removeChild(t), e 1335 }, Oe._jQueryInterface = function (n, i) { 1336 return this.each(function () { 1337 var t = p(this).data(_e), e = s({}, Ee, p(this).data(), "object" == typeof n && n ? n : {}); 1338 if (t || (t = new Oe(this, e), p(this).data(_e, t)), "string" == typeof n) { 1339 if (void 0 === t[n]) throw new TypeError('No method n
1339amed "' + n + '"'); 1340 t[n](i) 1341 } else e.show && t.show(i) 1342 }) 1343 }, r(Oe, null, [{ 1344 key: "VERSION", get: function () { 1345 return "4.3.1" 1346 } 1347 }, { 1348 key: "Default", get: function () { 1349 return Ee 1350 } 1351 }]), Oe); 1352 1353 function Oe(t, e) { 1354 this._config = this._getConfig(e), this._element = t, this._dialog = t.querySelector(".modal-dialog"), this._backdrop = null, this._isShown = !1, this._isBodyOverflowing = !1, this._ignoreBackdropClick = !1, this._isTransitioning = !1, this._scrollbarWidth = 0 1355 } 1356 1357 p(document).on(we.CLICK_DATA_API, '[data-toggle="modal"]', function (t) { 1358 var e, n = this, i = m.getSelectorFromElement(this); 1359 i && (e = document.querySelector(i)); 1360 var o = p(e).data(_e) ? "toggle" : s({}, p(e).data(), p(this).data()); 1361 "A" !== this.tagName && "AREA" !== this.tagName || t.preventDefault(); 1362 var r = p(e).one(we.SHOW, function (t) { 1363 t.isDefaultPrevented() || r.one(we.HIDDEN, function () { 1364 p(n).is(":visible") && n.focus() 1365 }) 1366 }); 1367 Ae._jQueryInterface.call(p(e), o, this) 1368 }), p.fn[ge] = Ae._jQueryInterface, p.fn[ge].Constructor = Ae, p.fn[ge].noConflict = function () { 1369 return p.fn[ge] = ye, Ae._jQueryInterface 1370 }; 1371 var Ne = ["background", "cite", "href", "itemtype", "longdesc", "poster", "src", "xlink:href"], 1372 ke = /^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi, 1373 Le = /^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i; 1374 1375 function xe(t, s, e) { 1376 if (0 === t.length) return t; 1377 if (e && "function" == typeof e) return e(t); 1378 for (var n = (new window.DOMParser).parseFromString(t, "text/html"), a = Object.keys(s), l = [].slice.call(n.body.querySelectorAll("*")), i = function (t, e) { 1379 var n = l[t], i = n.nodeName.toLowerCase(); 1380 if (-1 === a.indexOf(n.nodeName.toLowerCase())) return n.parentNode.removeChild(n), "continue"; 1381 var o = [].slice.call(n.attributes), r = [].concat(s["*"] || [], s[i] || []); 1382 o.forEach(function (t) { 1383 !function (t, e) { 1384 var n = t.nodeName.toLowerCase(); 1385 if (-1 !== e.indexOf(n)) return -1 === Ne.indexOf(n) || Boolean(t.nodeValue.match(ke) || t.nodeValue.match(Le)); 1386 for (var i = e.filter(function (t) { 1387 return t instanceof RegExp 1388 }), o = 0, r = i.length; o < r; o++) if (n.match(i[o])) return !0; 1389 return !1 1390 }(t, r) && n.removeAttribute(t.nodeName) 1391 }) 1392 }, o = 0, r = l.length; o < r; o++) i(o); 1393 return n.body.innerHTML 1394 } 1395 1396 var Pe, He = "tooltip", je = "bs.tooltip", Re = "." + je, Fe = p.fn[He], Me = "bs-tooltip", 1397 We = new RegExp("(^|\\s)" + Me + "\\S+", "g"), Ue = ["sanitize", "whiteList", "sanitizeFn"], Be = { 1398 animation: "boolean", 1399 template: "string", 1400 title: "(string|element|function)", 1401 trigger: "string", 1402 delay: "(number|object)", 1403 html: "boolean", 1404 selector: "(string|boolean)", 1405 placement: "(string|function)", 1406 offset: "(number|string|function)", 1407 container: "(string|element|boolean)", 1408 fallbackPlacement: "(string|array)", 1409 boundary: "(string|element)", 1410 sanitize: "boolean", 1411 sanitizeFn: "(null|function)", 1412 whiteList: "object" 1413 }, qe = {AUTO: "auto", TOP: "top", RIGHT: "right", BOTTOM: "bottom", LEFT: "left"}, Ke = { 1414 animation: !0, 1415 template: '<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>', 1416 trigger: "hover focus", 1417 title: "", 1418 delay: 0, 1419 html: !1, 1420 selector: !1, 1421 placement: "top", 1422 offset: 0, 1423 container: !1, 1424 fallbackPlacement: "flip", 1425 boundary: "scrollParent", 1426 sanitize: !0, 1427 sanitizeFn: null, 1428 whiteList: { 1429 "*": ["class", "dir", "id", "lang", "role", /^aria-[\w-]*$/i], 1430 a: ["target", "href", "title", "rel"], 1431 area: [], 1432 b: [], 1433 br: [], 1434 col: [], 1435 code: [], 1436 div: [], 1437 em: [], 1438 hr: [], 1439 h1: [], 1440 h2: [], 1441 h3: [], 1442 h4: [], 1443 h5: [], 1444 h6: [], 1445 i: [], 1446 img: ["src", "alt", "title", "width", "height"], 1447 li: [], 1448 ol: [], 1449 p: [], 1450 pre: [], 1451 s: [], 1452 small: [], 1453 span: [], 1454 sub: [], 1455 sup: [], 1456 strong: [], 1457 u: [], 1458 ul: [] 1459 } 1460 }, Qe = "show", Ve = { 1461 HIDE: "hide" + Re, 1462 HIDDEN: "hidden" + Re, 1463 SHOW: "show" + Re, 1464 SHOWN: "shown" + Re, 1465 INSERTED: "inserted" + Re, 1466 CLICK: "click" + Re, 1467 FOCUSIN: "focusin" + Re, 1468 FOCUSOUT: "focusout" + Re, 1469 MOUSEENTER: "mouseenter" + Re, 1470 MOUSELEAVE: "mouseleave" + Re 1471 }, Ye = "fade", ze = "show", Xe = "hover", Ge = "focus", $e = ((Pe = Je.prototype).enable = function () { 1472 this._isEnabled = !0 1473 }, Pe.disable = function () { 1474 this._isEnabled = !1 1475 }, Pe.toggleEnabled = function () { 1476 this._isEnabled = !this._isEnabled 1477 }, Pe.toggle = function (t) { 1478 if (this._isEnabled) if (t) { 1479 var e = this.constructor.DATA_KEY, n = p(t.currentTarget).data(e); 1480 n || (n = new this.constructor(t.currentTarget, this._getDelegateConfig()), p(t.currentTarget).data(e, n)), n._activeTrigger.click = !n._activeTrigger.click, n._isWithActiveTrigger() ? n._enter(null, n) : n._leave(null, n) 1481 } else { 1482 if (p(this.getTipElement()).hasClass(ze)) return void this._leave(null, this); 1483 this._enter(null, this) 1484 } 1485 }, Pe.dispose = function () { 1486 clearTimeout(this._timeout), p.removeData(this.element, this.constructor.DATA_KEY), p(this.element).off(this.constructor.EVENT_KEY), p(this.element).closest(".modal").off("hide.bs.modal"), this.tip && p(this.tip).remove(), this._isEnabled = null, this._timeout = null, this._hoverState = null, (this._activeTrigger = null) !== this._popper && this._popper.destroy(), this._popper = null, this.element = null, this.config = null, this.tip = null 1487 }, Pe.show = function () { 1488 var e = this; 1489 if ("none" === p(this.element).css("display")) throw new Error("Please use show on visible elements"); 1490 var t = p.Event(this.constructor.Event.SHOW); 1491 if (this.isWithContent() && this._isEnabled) { 1492 p(this.element).trigger(t); 1493 var n = m.findShadowRoot(this.element), 1494 i = p.contains(null !== n ? n : this.element.ownerDocument.documentElement, this.element); 1495 if (t.isDefaultPrevented() || !i) return; 1496 var o = this.getTipElement(), r = m.getUID(this.constructor.NAME); 1497 o.setAttribute("id", r), this.element.setAttribute("aria-describedby", r), this.setContent(), this.config.animation && p(o).addClass(Ye); 1498 var s = "function" == typeof this.config.placement ? this.config.placement.call(this, o, this.element) : this.config.placement, 1499 a = this._getAttachment(s); 1500 this.addAttachmentClass(a); 1501 var l = this._getContainer(); 1502 p(o).data(this.constructor.DATA_KEY, this), p.contains(this.element.ownerDocument.documentElement, this.tip) || p(o).appendTo(l), p(this.element).trigger(this.constructor.Event.INSERTED), this._popper = new Gt(this.element, o, { 1503 placement: a, 1504 modifiers: { 1505 offset: this._getOffset(), 1506 flip: {behavior: this.config.fallbackPlacement}, 1507 arrow: {element: ".arrow"}, 1508 preventOverflow: {boundariesElement: this.config.boun
1508dary} 1509 }, 1510 onCreate: function (t) { 1511 t.originalPlacement !== t.placement && e._handlePopperPlacementChange(t) 1512 }, 1513 onUpdate: function (t) { 1514 return e._handlePopperPlacementChange(t) 1515 } 1516 }), p(o).addClass(ze), "ontouchstart" in document.documentElement && p(document.body).children().on("mouseover", null, p.noop); 1517 var c = function () { 1518 e.config.animation && e._fixTransition(); 1519 var t = e._hoverState; 1520 e._hoverState = null, p(e.element).trigger(e.constructor.Event.SHOWN), "out" === t && e._leave(null, e) 1521 }; 1522 if (p(this.tip).hasClass(Ye)) { 1523 var h = m.getTransitionDurationFromElement(this.tip); 1524 p(this.tip).one(m.TRANSITION_END, c).emulateTransitionEnd(h) 1525 } else c() 1526 } 1527 }, Pe.hide = function (t) { 1528 function e() { 1529 n._hoverState !== Qe && i.parentNode && i.parentNode.removeChild(i), n._cleanTipClass(), n.element.removeAttribute("aria-describedby"), p(n.element).trigger(n.constructor.Event.HIDDEN), null !== n._popper && n._popper.destroy(), t && t() 1530 } 1531 1532 var n = this, i = this.getTipElement(), o = p.Event(this.constructor.Event.HIDE); 1533 if (p(this.element).trigger(o), !o.isDefaultPrevented()) { 1534 if (p(i).removeClass(ze), "ontouchstart" in document.documentElement && p(document.body).children().off("mouseover", null, p.noop), this._activeTrigger.click = !1, this._activeTrigger[Ge] = !1, this._activeTrigger[Xe] = !1, p(this.tip).hasClass(Ye)) { 1535 var r = m.getTransitionDurationFromElement(i); 1536 p(i).one(m.TRANSITION_END, e).emulateTransitionEnd(r) 1537 } else e(); 1538 this._hoverState = "" 1539 } 1540 }, Pe.update = function () { 1541 null !== this._popper && this._popper.scheduleUpdate() 1542 }, Pe.isWithContent = function () { 1543 return Boolean(this.getTitle()) 1544 }, Pe.addAttachmentClass = function (t) { 1545 p(this.getTipElement()).addClass(Me + "-" + t) 1546 }, Pe.getTipElement = function () { 1547 return this.tip = this.tip || p(this.config.template)[0], this.tip 1548 }, Pe.setContent = function () { 1549 var t = this.getTipElement(); 1550 this.setElementContent(p(t.querySelectorAll(".tooltip-inner")), this.getTitle()), p(t).removeClass(Ye + " " + ze) 1551 }, Pe.setElementContent = function (t, e) { 1552 "object" != typeof e || !e.nodeType && !e.jquery ? this.config.html ? (this.config.sanitize && (e = xe(e, this.config.whiteList, this.config.sanitizeFn)), t.html(e)) : t.text(e) : this.config.html ? p(e).parent().is(t) || t.empty().append(e) : t.text(p(e).text()) 1553 }, Pe.getTitle = function () { 1554 var t = this.element.getAttribute("data-original-title"); 1555 return t || (t = "function" == typeof this.config.title ? this.config.title.call(this.element) : this.config.title), t 1556 }, Pe._getOffset = function () { 1557 var e = this, t = {}; 1558 return "function" == typeof this.config.offset ? t.fn = function (t) { 1559 return t.offsets = s({}, t.offsets, e.config.offset(t.offsets, e.element) || {}), t 1560 } : t.offset = this.config.offset, t 1561 }, Pe._getContainer = function () { 1562 return !1 === this.config.container ? document.body : m.isElement(this.config.container) ? p(this.config.container) : p(document).find(this.config.container) 1563 }, Pe._getAttachment = function (t) { 1564 return qe[t.toUpperCase()] 1565 }, Pe._setListeners = function () { 1566 var i = this; 1567 this.config.trigger.split(" ").forEach(function (t) { 1568 if ("click" === t) p(i.element).on(i.constructor.Event.CLICK, i.config.selector, function (t) { 1569 return i.toggle(t) 1570 }); else if ("manual" !== t) { 1571 var e = t === Xe ? i.constructor.Event.MOUSEENTER : i.constructor.Event.FOCUSIN, 1572 n = t === Xe ? i.constructor.Event.MOUSELEAVE : i.constructor.Event.FOCUSOUT; 1573 p(i.element).on(e, i.config.selector, function (t) { 1574 return i._enter(t) 1575 }).on(n, i.config.selector, function (t) { 1576 return i._leave(t) 1577 }) 1578 } 1579 }), p(this.element).closest(".modal").on("hide.bs.modal", function () { 1580 i.element && i.hide() 1581 }), this.config.selector ? this.config = s({}, this.config, { 1582 trigger: "manual", 1583 selector: "" 1584 }) : this._fixTitle() 1585 }, Pe._fixTitle = function () { 1586 var t = typeof this.element.getAttribute("data-original-title"); 1587 !this.element.getAttribute("title") && "string" == t || (this.element.setAttribute("data-original-title", this.element.getAttribute("title") || ""), this.element.setAttribute("title", "")) 1588 }, Pe._enter = function (t, e) { 1589 var n = this.constructor.DATA_KEY; 1590 (e = e || p(t.currentTarget).data(n)) || (e = new this.constructor(t.currentTarget, this._getDelegateConfig()), p(t.currentTarget).data(n, e)), t && (e._activeTrigger["focusin" === t.type ? Ge : Xe] = !0), p(e.getTipElement()).hasClass(ze) || e._hoverState === Qe ? e._hoverState = Qe : (clearTimeout(e._timeout), e._hoverState = Qe, e.config.delay && e.config.delay.show ? e._timeout = setTimeout(function () { 1591 e._hoverState === Qe && e.show() 1592 }, e.config.delay.show) : e.show()) 1593 }, Pe._leave = function (t, e) { 1594 var n = this.constructor.DATA_KEY; 1595 (e = e || p(t.currentTarget).data(n)) || (e = new this.constructor(t.currentTarget, this._getDelegateConfig()), p(t.currentTarget).data(n, e)), t && (e._activeTrigger["focusout" === t.type ? Ge : Xe] = !1), e._isWithActiveTrigger() || (clearTimeout(e._timeout), e._hoverState = "out", e.config.delay && e.config.delay.hide ? e._timeout = setTimeout(function () { 1596 "out" === e._hoverState && e.hide() 1597 }, e.config.delay.hide) : e.hide()) 1598 }, Pe._isWithActiveTrigger = function () { 1599 for (var t in this._activeTrigger) if (this._activeTrigger[t]) return !0; 1600 return !1 1601 }, Pe._getConfig = function (t) { 1602 var e = p(this.element).data(); 1603 return Object.keys(e).forEach(function (t) { 1604 -1 !== Ue.indexOf(t) && delete e[t] 1605 }), "number" == typeof (t = s({}, this.constructor.Default, e, "object" == typeof t && t ? t : {})).delay && (t.delay = { 1606 show: t.delay, 1607 hide: t.delay 1608 }), "number" == typeof t.title && (t.title = t.title.toString()), "number" == typeof t.content && (t.content = t.content.toString()), m.typeCheckConfig(He, t, this.constructor.DefaultType), t.sanitize && (t.template = xe(t.template, t.whiteList, t.sanitizeFn)), t 1609 }, Pe._getDelegateConfig = function () { 1610 var t = {}; 1611 if (this.config) for (var e in this.config) this.constructor.Default[e] !== this.config[e] && (t[e] = this.config[e]); 1612 return t 1613 }, Pe._cleanTipClass = function () { 1614 var t = p(this.getTipElement()), e = t.attr("class").match(We); 1615 null !== e && e.length && t.removeClass(e.join("")) 1616 }, Pe._handlePopperPlacementChange = function (t) { 1617 var e = t.instance; 1618 this.tip = e.popper, this._cleanTipClass(), this.addAttachmentClass(this._getAttachment(t.placement)) 1619 }, Pe._fixTransition = function () { 1620 var t = this.getTipElement(), e = this.config.animation; 1621 null === t.getAttribute("x-placement") && (p(t).removeClass(Ye), this.config.animation = !1, this.hide(), this.show(), this.config.animation = e) 1622 }, Je._jQueryInterface = function (n) { 1623 return this.each(function () { 1624 var t = p(this).data(je), e = "object" == typeof n && n; 1625 if ((t || !/dispose|hide/.test(n)) && (t || (t = new Je(this, e), p(this).data(je, t)), "string" == typeof n)) { 1626 if (void 0 === t[n]) throw new TypeError('No method n
1626amed "' + n + '"'); 1627 t[n]() 1628 } 1629 }) 1630 }, r(Je, null, [{ 1631 key: "VERSION", get: function () { 1632 return "4.3.1" 1633 } 1634 }, { 1635 key: "Default", get: function () { 1636 return Ke 1637 } 1638 }, { 1639 key: "NAME", get: function () { 1640 return He 1641 } 1642 }, { 1643 key: "DATA_KEY", get: function () { 1644 return je 1645 } 1646 }, { 1647 key: "Event", get: function () { 1648 return Ve 1649 } 1650 }, { 1651 key: "EVENT_KEY", get: function () { 1652 return Re 1653 } 1654 }, { 1655 key: "DefaultType", get: function () { 1656 return Be 1657 } 1658 }]), Je); 1659 1660 function Je(t, e) { 1661 if (void 0 === Gt) throw new TypeError("Bootstrap's tooltips require Popper.js (https://popper.js.org/)"); 1662 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() 1663 } 1664 1665 p.fn[He] = $e._jQueryInterface, p.fn[He].Constructor = $e, p.fn[He].noConflict = function () { 1666 return p.fn[He] = Fe, $e._jQueryInterface 1667 }; 1668 var Ze = "popover", tn = "bs.popover", en = "." + tn, nn = p.fn[Ze], on = "bs-popover", 1669 rn = new RegExp("(^|\\s)" + on + "\\S+", "g"), sn = s({}, $e.Default, { 1670 placement: "right", 1671 trigger: "click", 1672 content: "", 1673 template: '<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>' 1674 }), an = s({}, $e.DefaultType, {content: "(string|element|function)"}), ln = { 1675 HIDE: "hide" + en, 1676 HIDDEN: "hidden" + en, 1677 SHOW: "show" + en, 1678 SHOWN: "shown" + en, 1679 INSERTED: "inserted" + en, 1680 CLICK: "click" + en, 1681 FOCUSIN: "focusin" + en, 1682 FOCUSOUT: "focusout" + en, 1683 MOUSEENTER: "mouseenter" + en, 1684 MOUSELEAVE: "mouseleave" + en 1685 }, cn = function (t) { 1686 var e, n; 1687 1688 function i() { 1689 return t.apply(this, arguments) || this 1690 } 1691 1692 n = t, (e = i).prototype = Object.create(n.prototype), (e.prototype.constructor = e).__proto__ = n; 1693 var o = i.prototype; 1694 return o.isWithContent = function () { 1695 return this.getTitle() || this._getContent() 1696 }, o.addAttachmentClass = function (t) { 1697 p(this.getTipElement()).addClass(on + "-" + t) 1698 }, o.getTipElement = function () { 1699 return this.tip = this.tip || p(this.config.template)[0], this.tip 1700 }, o.setContent = function () { 1701 var t = p(this.getTipElement()); 1702 this.setElementContent(t.find(".popover-header"), this.getTitle()); 1703 var e = this._getContent(); 1704 "function" == typeof e && (e = e.call(this.element)), this.setElementContent(t.find(".popover-body"), e), t.removeClass("fade show") 1705 }, o._getContent = function () { 1706 return this.element.getAttribute("data-content") || this.config.content 1707 }, o._cleanTipClass = function () { 1708 var t = p(this.getTipElement()), e = t.attr("class").match(rn); 1709 null !== e && 0 < e.length && t.removeClass(e.join("")) 1710 }, i._jQueryInterface = function (n) { 1711 return this.each(function () { 1712 var t = p(this).data(tn), e = "object" == typeof n ? n : null; 1713 if ((t || !/dispose|hide/.test(n)) && (t || (t = new i(this, e), p(this).data(tn, t)), "string" == typeof n)) { 1714 if (void 0 === t[n]) throw new TypeError('No method named "' + n + '"'); 1715 t[n]() 1716 } 1717 }) 1718 }, r(i, null, [{ 1719 key: "VERSION", get: function () { 1720 return "4.3.1" 1721 } 1722 }, { 1723 key: "Default", get: function () { 1724 return sn 1725 } 1726 }, { 1727 key: "NAME", get: function () { 1728 return Ze 1729 } 1730 }, { 1731 key: "DATA_KEY", get: function () { 1732 return tn 1733 } 1734 }, { 1735 key: "Event", get: function () { 1736 return ln 1737 } 1738 }, { 1739 key: "EVENT_KEY", get: function () { 1740 return en 1741 } 1742 }, { 1743 key: "DefaultType", get: function () { 1744 return an 1745 } 1746 }]), i 1747 }($e); 1748 p.fn[Ze] = cn._jQueryInterface, p.fn[Ze].Constructor = cn, p.fn[Ze].noConflict = function () { 1749 return p.fn[Ze] = nn, cn._jQueryInterface 1750 }; 1751 var hn, un = "scrollspy", fn = "bs.scrollspy", dn = "." + fn, pn = p.fn[un], 1752 mn = {offset: 10, method: "auto", target: ""}, 1753 gn = {offset: "number", method: "string", target: "(string|element)"}, 1754 _n = {ACTIVATE: "activate" + dn, SCROLL: "scroll" + dn, LOAD_DATA_API: "load" + dn + ".data-api"}, 1755 vn = "active", yn = ".nav, .list-group", En = ".nav-link", bn = ".list-group-item", wn = "position", 1756 Cn = ((hn = Tn.prototype).refresh = function () { 1757 var e = this, t = this._scrollElement === this._scrollElement.window ? "offset" : wn, 1758 o = "auto" === this._config.method ? t : this._config.method, r = o === wn ? this._getScrollTop() : 0; 1759 this._offsets = [], this._targets = [], this._scrollHeight = this._getScrollHeight(), [].slice.call(document.querySelectorAll(this._selector)).map(function (t) { 1760 var e, n = m.getSelectorFromElement(t); 1761 if (n && (e = document.querySelector(n)), e) { 1762 var i = e.getBoundingClientRect(); 1763 if (i.width || i.height) return [p(e)[o]().top + r, n] 1764 } 1765 return null 1766 }).filter(function (t) { 1767 return t 1768 }).sort(function (t, e) { 1769 return t[0] - e[0] 1770 }
1770).forEach(function (t) { 1771 e._offsets.push(t[0]), e._targets.push(t[1]) 1772 }) 1773 }, hn.dispose = function () { 1774 p.removeData(this._element, fn), p(this._scrollElement).off(dn), this._element = null, this._scrollElement = null, this._config = null, this._selector = null, this._offsets = null, this._targets = null, this._activeTarget = null, this._scrollHeight = null 1775 }, hn._getConfig = function (t) { 1776 if ("string" != typeof (t = s({}, mn, "object" == typeof t && t ? t : {})).target) { 1777 var e = p(t.target).attr("id"); 1778 e || (e = m.getUID(un), p(t.target).attr("id", e)), t.target = "#" + e 1779 } 1780 return m.typeCheckConfig(un, t, gn), t 1781 }, hn._getScrollTop = function () { 1782 return this._scrollElement === window ? this._scrollElement.pageYOffset : this._scrollElement.scrollTop 1783 }, hn._getScrollHeight = function () { 1784 return this._scrollElement.scrollHeight || Math.max(document.body.scrollHeight, document.documentElement.scrollHeight) 1785 }, hn._getOffsetHeight = function () { 1786 return this._scrollElement === window ? window.innerHeight : this._scrollElement.getBoundingClientRect().height 1787 }, hn._process = function () { 1788 var t = this._getScrollTop() + this._config.offset, e = this._getScrollHeight(), 1789 n = this._config.offset + e - this._getOffsetHeight(); 1790 if (this._scrollHeight !== e && this.refresh(), n <= t) { 1791 var i = this._targets[this._targets.length - 1]; 1792 this._activeTarget !== i && this._activate(i) 1793 } else { 1794 if (this._activeTarget && t < this._offsets[0] && 0 < this._offsets[0]) return this._activeTarget = null, void this._clear(); 1795 for (var o = this._offsets.length; o--;) this._activeTarget !== this._targets[o] && t >= this._offsets[o] && (void 0 === this._offsets[o + 1] || t < this._offsets[o + 1]) && this._activate(this._targets[o]) 1796 } 1797 }, hn._activate = function (e) { 1798 this._activeTarget = e, this._clear(); 1799 var t = this._selector.split(",").map(function (t) { 1800 return t + '[data-target="' + e + '"],' + t + '[href="' + e + '"]' 1801 }), n = p([].slice.call(document.querySelectorAll(t.join(",")))); 1802 n.hasClass("dropdown-item") ? (n.closest(".dropdown").find(".dropdown-toggle").addClass(vn), n.addClass(vn)) : (n.addClass(vn), n.parents(yn).prev(En + ", " + bn).addClass(vn), n.parents(yn).prev(".nav-item").children(En).addClass(vn)), p(this._scrollElement).trigger(_n.ACTIVATE, {relatedTarget: e}) 1803 }, hn._clear = function () { 1804 [].slice.call(document.querySelectorAll(this._selector)).filter(function (t) { 1805 return t.classList.contains(vn) 1806 }
1806).forEach(function (t) { 1807 return t.classList.remove(vn) 1808 }) 1809 }, Tn._jQueryInterface = function (e) { 1810 return this.each(function () { 1811 var t = p(this).data(fn); 1812 if (t || (t = new Tn(this, "object" == typeof e && e), p(this).data(fn, t)), "string" == typeof e) { 1813 if (void 0 === t[e]) throw new TypeError('No method named "' + e + '"'); 1814 t[e]() 1815 } 1816 }) 1817 }, r(Tn, null, [{ 1818 key: "VERSION", get: function () { 1819 return "4.3.1" 1820 } 1821 }, { 1822 key: "Default", get: function () { 1823 return mn 1824 } 1825 }]), Tn); 1826 1827 function Tn(t, e) { 1828 var n = this; 1829 this._element = t, this._scrollElement = "BODY" === t.tagName ? window : t, this._config = this._getConfig(e), this._selector = this._config.target + " " + En + "," + this._config.target + " " + bn + "," + this._config.target + " .dropdown-item", this._offsets = [], this._targets = [], this._activeTarget = null, this._scrollHeight = 0, p(this._scrollElement).on(_n.SCROLL, function (t) { 1830 return n._process(t) 1831 }), this.refresh(), this._process() 1832 } 1833 1834 p(window).on(_n.LOAD_DATA_API, function () { 1835 for (var t = [].slice.call(document.querySelectorAll('[data-spy="scroll"]')), e = t.length; e--;) { 1836 var n = p(t[e]); 1837 Cn._jQueryInterface.call(n, n.data()) 1838 } 1839 }), p.fn[un] = Cn._jQueryInterface, p.fn[un].Constructor = Cn, p.fn[un].noConflict = function () { 1840 return p.fn[un] = pn, Cn._jQueryInterface 1841 }; 1842 var Sn, Dn = "bs.tab", In = "." + Dn, An = p.fn.tab, On = { 1843 HIDE: "hide" + In, 1844 HIDDEN: "hidden" + In, 1845 SHOW: "show" + In, 1846 SHOWN: "shown" + In, 1847 CLICK_DATA_API: "click" + In + ".data-api" 1848 }, Nn = "active", kn = ".active", Ln = "> li > .active", xn = ((Sn = Pn.prototype).show = function () { 1849 var n = this; 1850 if (!(this._element.parentNode && this._element.parentNode.nodeType === Node.ELEMENT_NODE && p(this._element).hasClass(Nn) || p(this._element).hasClass("disabled"))) { 1851 var t, i, e = p(this._element).closest(".nav, .list-group")[0], o = m.getSelectorFromElement(this._element); 1852 if (e) { 1853 var r = "UL" === e.nodeName || "OL" === e.nodeName ? Ln : kn; 1854 i = (i = p.makeArray(p(e).find(r)))[i.length - 1] 1855 } 1856 var s = p.Event(On.HIDE, {relatedTarget: this._element}), a = p.Event(On.SHOW, {relatedTarget: i}); 1857 if (i && p(i).trigger(s), p(this._element).trigger(a), !a.isDefaultPrevented() && !s.isDefaultPrevented()) { 1858 o && (t = document.querySelector(o)), this._activate(this._element, e); 1859 var l = function () { 1860 var t = p.Event(On.HIDDEN, {relatedTarget: n._element}), e = p.Event(On.SHOWN, {relatedTarget: i}); 1861 p(i).trigger(t), p(n._element).trigger(e) 1862 }; 1863 t ? this._activate(t, t.parentNode, l) : l() 1864 } 1865 } 1866 }, Sn.dispose = function () { 1867 p.removeData(this._element, Dn), this._element = null 1868 }, Sn._activate = function (t, e, n) { 1869 function i() { 1870 return o._transitionComplete(t, r, n) 1871 } 1872 1873 var o = this, r = (!e || "UL" !== e.nodeName && "OL" !== e.nodeName ? p(e).children(kn) : p(e).find(Ln))[0], 1874 s = n && r && p(r).hasClass("fade"); 1875 if (r && s) { 1876 var a = m.getTransitionDurationFromElement(r); 1877 p(r).removeClass("show").one(m.TRANSITION_END, i).emulateTransitionEnd(a) 1878 } else i() 1879 }, Sn._transitionComplete = function (t, e, n) { 1880 if (e) { 1881 p(e).removeClass(Nn); 1882 var i = p(e.parentNode).find("> .dropdown-menu .active")[0]; 1883 i && p(i).removeClass(Nn), "tab" === e.getAttribute("role") && e.setAttribute("aria-selected", !1) 1884 } 1885 if (p(t).addClass(Nn), "tab" === t.getAttribute("role") && t.setAttribute("aria-selected", !0), m.reflow(t), t.classList.contains("fade") && t.classList.add("show"), t.parentNode && p(t.parentNode).hasClass("dropdown-menu")) { 1886 var o = p(t).closest(".dropdown")[0]; 1887 if (o) { 1888 var r = [].slice.call(o.querySelectorAll(".dropdown-toggle")); 1889 p(r).addClass(Nn) 1890 } 1891 t.setAttribute("aria-expanded", !0) 1892 } 1893 n && n() 1894 }, Pn._jQueryInterface = function (n) { 1895 return this.each(function () { 1896 var t = p(this), e = t.data(Dn); 1897 if (e || (e = new Pn(this), t.data(Dn, e)), "string" == typeof n) { 1898 if (void 0 === e[n]) throw new TypeError('No method n
1898amed "' + n + '"'); 1899 e[n]() 1900 } 1901 }) 1902 }, r(Pn, null, [{ 1903 key: "VERSION", get: function () { 1904 return "4.3.1" 1905 } 1906 }]), Pn); 1907 1908 function Pn(t) { 1909 this._element = t 1910 } 1911 1912 p(document).on(On.CLICK_DATA_API, '[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]', function (t) { 1913 t.preventDefault(), xn._jQueryInterface.call(p(this), "show") 1914 }), p.fn.tab = xn._jQueryInterface, p.fn.tab.Constructor = xn, p.fn.tab.noConflict = function () { 1915 return p.fn.tab = An, xn._jQueryInterface 1916 }; 1917 var Hn, jn = "toast", Rn = "bs.toast", Fn = "." + Rn, Mn = p.fn[jn], Wn = { 1918 CLICK_DISMISS: "click.dismiss" + Fn, 1919 HIDE: "hide" + Fn, 1920 HIDDEN: "hidden" + Fn, 1921 SHOW: "show" + Fn, 1922 SHOWN: "shown" + Fn 1923 }, Un = "show", Bn = "showing", qn = {animation: "boolean", autohide: "boolean", delay: "number"}, 1924 Kn = {animation: !0, autohide: !0, delay: 500}, Qn = ((Hn = Vn.prototype).show = function () { 1925 var t = this; 1926 1927 function e() { 1928 t._element.classList.remove(Bn), t._element.classList.add(Un), p(t._element).trigger(Wn.SHOWN), t._config.autohide && t.hide() 1929 } 1930 1931 if (p(this._element).trigger(Wn.SHOW), this._config.animation && this._element.classList.add("fade"), this._element.classList.remove("hide"), this._element.classList.add(Bn), this._config.animation) { 1932 var n = m.getTransitionDurationFromElement(this._element); 1933 p(this._element).one(m.TRANSITION_END, e).emulateTransitionEnd(n) 1934 } else e() 1935 }, Hn.hide = function (t) { 1936 var e = this; 1937 this._element.classList.contains(Un) && (p(this._element).trigger(Wn.HIDE), t ? this._close() : this._timeout = setTimeout(function () { 1938 e._close() 1939 }, this._config.delay)) 1940 }, Hn.dispose = function () { 1941 clearTimeout(this._timeout), this._timeout = null, this._element.classList.contains(Un) && this._element.classList.remove(Un), p(this._element).off(Wn.CLICK_DISMISS), p.removeData(this._element, Rn), this._element = null, this._config = null 1942 }, Hn._getConfig = function (t) { 1943 return t = s({}, Kn, p(this._element).data(), "object" == typeof t && t ? t : {}), m.typeCheckConfig(jn, t, this.constructor.DefaultType), t 1944 }, Hn._setListeners = function () { 1945 var t = this; 1946 p(this._element).on(Wn.CLICK_DISMISS, '[data-dismiss="toast"]', function () { 1947 return t.hide(!0) 1948 }) 1949 }, Hn._close = function () { 1950 function t() { 1951 e._element.classList.add("hide"), p(e._element).trigger(Wn.HIDDEN) 1952 } 1953 1954 var e = this; 1955 if (this._element.classList.remove(Un), this._config.animation) { 1956 var n = m.getTransitionDurationFromElement(this._element); 1957 p(this._element).one(m.TRANSITION_END, t).emulateTransitionEnd(n) 1958 } else t() 1959 }, Vn._jQueryInterface = function (n) { 1960 return this.each(function () { 1961 var t = p(this), e = t.data(Rn); 1962 if (e || (e = new Vn(this, "object" == typeof n && n), t.data(Rn, e)), "string" == typeof n) { 1963 if (void 0 === e[n]) throw new TypeError('No method named "' + n + '"'); 1964 e[n](this) 1965 } 1966 }) 1967 }, r(Vn, null, [{ 1968 key: "VERSION", get: function () { 1969 return "4.3.1" 1970 } 1971 }, { 1972 key: "DefaultType", get: function () { 1973 return qn 1974 } 1975 }, { 1976 key: "Default", get: function () { 1977 return Kn 1978 } 1979 }]), Vn); 1980 1981 function Vn(t, e) { 1982 this._element = t, this._config = this._getConfig(e), this._timeout = null, this._setListeners() 1983 } 1984 1985 p.fn[jn] = Qn._jQueryInterface, p.fn[jn].Constructor = Qn, p.fn[jn].noConflict = function () { 1986 return p.fn[jn] = Mn, Qn._jQueryInterface 1987 }, function () { 1988 if (void 0 === p) throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript."); 1989 var t = p.fn.jquery.split(" ")[0].split("."); 1990 if (t[0] < 2 && t[1] < 9 || 1 === t[0] && 9 === t[1] && t[2] < 1 || 4 <= t[0]) throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0") 1991 }(), t.Util = m, t.Alert = u, t.Button = S, t.Carousel = U, t.Collapse = nt, t.Dropdown = de, t.Modal = Ae, t.Popover = cn, t.Scrollspy = Cn, t.Tab = xn, t.Toast = Qn, t.Tooltip = $e, Object.defineProperty(t, "__esModule", {value: !0}) 1992});
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.