You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
750 lines
248 KiB
750 lines
248 KiB
5 years ago
|
{
|
||
|
"version": 3,
|
||
|
"file": "bootstrap.js",
|
||
|
"sources": [
|
||
|
"../../js/src/util.js",
|
||
|
"../../js/src/alert.js",
|
||
|
"../../js/src/button.js",
|
||
|
"../../js/src/carousel.js",
|
||
|
"../../js/src/collapse.js",
|
||
|
"../../js/src/dropdown.js",
|
||
|
"../../js/src/modal.js",
|
||
|
"../../js/src/tools/sanitizer.js",
|
||
|
"../../js/src/tooltip.js",
|
||
|
"../../js/src/popover.js",
|
||
|
"../../js/src/scrollspy.js",
|
||
|
"../../js/src/tab.js",
|
||
|
"../../js/src/toast.js",
|
||
|
"../../js/src/index.js"
|
||
|
],
|
||
|
"sourcesContent": [
|
||
|
"/**\n * --------------------------------------------------------------------------\n * Bootstrap (v4.3.1): util.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport $ from 'jquery'\n\n/**\n * ------------------------------------------------------------------------\n * Private TransitionEnd Helpers\n * ------------------------------------------------------------------------\n */\n\nconst TRANSITION_END = 'transitionend'\nconst MAX_UID = 1000000\nconst MILLISECONDS_MULTIPLIER = 1000\n\n// Shoutout AngusCroll (https://goo.gl/pxwQGp)\nfunction toType(obj) {\n return {}.toString.call(obj).match(/\\s([a-z]+)/i)[1].toLowerCase()\n}\n\nfunction getSpecialTransitionEndEvent() {\n return {\n bindType: TRANSITION_END,\n delegateType: TRANSITION_END,\n handle(event) {\n if ($(event.target).is(this)) {\n return event.handleObj.handler.apply(this, arguments) // eslint-disable-line prefer-rest-params\n }\n return undefined // eslint-disable-line no-undefined\n }\n }\n}\n\nfunction transitionEndEmulator(duration) {\n let called = false\n\n $(this).one(Util.TRANSITION_END, () => {\n called = true\n })\n\n setTimeout(() => {\n if (!called) {\n Util.triggerTransitionEnd(this)\n }\n }, duration)\n\n return this\n}\n\nfunction setTransitionEndSupport() {\n $.fn.emulateTransitionEnd = transitionEndEmulator\n $.event.special[Util.TRANSITION_END] = getSpecialTransitionEndEvent()\n}\n\n/**\n * --------------------------------------------------------------------------\n * Public Util Api\n * --------------------------------------------------------------------------\n */\n\nconst Util = {\n\n TRANSITION_END: 'bsTransitionEnd',\n\n getUID(prefix) {\n do {\n // eslint-disable-next-line no-bitwise\n prefix += ~~(Math.random() * MAX_UID) // \"~~\" acts like a faster Math.floor() here\n } while (document.getElementById(prefix))\n return prefix\n },\n\n getSelectorFromElement(element) {\n let selector = element.getAttribute('data-target')\n\n if (!selector || selector === '#') {\n const hrefAttr = element.getAttribute('href')\n selector = hrefAttr && hrefAttr !== '#' ? hrefAttr.trim() : ''\n }\n\n try {\n return document.querySelector(selector) ? selector : null\n } catch (err) {\n return null\n }\n },\n\n getTransitionDurationFromElement(element) {\n if (!element) {\n return 0\n }\n\n // Get transition-duration of the element\n let transitionDuration = $(element).css('transition-duration')\n let transitionDelay = $(element).css('transition-delay')\n\n const floatTransitionDuration = parseFloat(transitionDuration)\n const floatTransitionDelay = parseFloat(transitionDelay)\n\n // Return 0 if element or transition duration is not found\n if (!floatTransitionDuration && !floatTransitionDelay) {\n return 0\n }\n\n // If multiple durations are defined, take the first\n transitionDuration = transitionDuration.split(',')[0]\n transitionDelay = transitionDelay.split(',')[0]\n\n return (parseFloat(transitionDuration) + parseFloat(transitionDelay)) * MILLISECONDS_MULTIPLIER\n },\n\n reflow(element) {\n return element.offsetHeight\n },\n\n triggerTransitionEnd(element) {\n $(element).trigger(TRANSITION_END)\n },\n\n // TODO: Remove in v5\n supportsTransitionEnd() {\n return Boolean(TRANSITION_END)\n },\n\n isElement(obj) {\n return (obj[0] || obj).nodeType\n },\n\n typeCheckConfig(componentName, config, configTypes) {\n for (const property in configTypes) {\n if (Object.prototype.hasOwnProperty.call(configTypes, property)) {\n const expectedTypes = configTypes[property]\n const value = config[property]\n const valueType = value && Util.isElement(value)\n ? 'element' : toType(value)\n\n if (!new RegExp(expectedTypes).test(valueType)) {\n throw new Error(\n `${componentN
|
||
|
"/**\n * --------------------------------------------------------------------------\n * Bootstrap (v4.3.1): alert.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport $ from 'jquery'\nimport Util from './util'\n\n/**\n * ------------------------------------------------------------------------\n * Constants\n * ------------------------------------------------------------------------\n */\n\nconst NAME = 'alert'\nconst VERSION = '4.3.1'\nconst DATA_KEY = 'bs.alert'\nconst EVENT_KEY = `.${DATA_KEY}`\nconst DATA_API_KEY = '.data-api'\nconst JQUERY_NO_CONFLICT = $.fn[NAME]\n\nconst Selector = {\n DISMISS : '[data-dismiss=\"alert\"]'\n}\n\nconst Event = {\n CLOSE : `close${EVENT_KEY}`,\n CLOSED : `closed${EVENT_KEY}`,\n CLICK_DATA_API : `click${EVENT_KEY}${DATA_API_KEY}`\n}\n\nconst ClassName = {\n ALERT : 'alert',\n FADE : 'fade',\n SHOW : 'show'\n}\n\n/**\n * ------------------------------------------------------------------------\n * Class Definition\n * ------------------------------------------------------------------------\n */\n\nclass Alert {\n constructor(element) {\n this._element = element\n }\n\n // Getters\n\n static get VERSION() {\n return VERSION\n }\n\n // Public\n\n close(element) {\n let rootElement = this._element\n if (element) {\n rootElement = this._getRootElement(element)\n }\n\n const customEvent = this._triggerCloseEvent(rootElement)\n\n if (customEvent.isDefaultPrevented()) {\n return\n }\n\n this._removeElement(rootElement)\n }\n\n dispose() {\n $.removeData(this._element, DATA_KEY)\n this._element = null\n }\n\n // Private\n\n _getRootElement(element) {\n const selector = Util.getSelectorFromElement(element)\n let parent = false\n\n if (selector) {\n parent = document.querySelector(selector)\n }\n\n if (!parent) {\n parent = $(element).closest(`.${ClassName.ALERT}`)[0]\n }\n\n return parent\n }\n\n _triggerCloseEvent(element) {\n const closeEvent = $.Event(Event.CLOSE)\n\n $(element).trigger(closeEvent)\n return closeEvent\n }\n\n _removeElement(element) {\n $(element).removeClass(ClassName.SHOW)\n\n if (!$(element).hasClass(ClassName.FADE)) {\n this._destroyElement(element)\n return\n }\n\n const transitionDuration = Util.getTransitionDurationFromElement(element)\n\n $(element)\n .one(Util.TRANSITION_END, (event) => this._destroyElement(element, event))\n .emulateTransitionEnd(transitionDuration)\n }\n\n _destroyElement(element) {\n $(element)\n .detach()\n .trigger(Event.CLOSED)\n .remove()\n }\n\n // Static\n\n static _jQueryInterface(config) {\n return this.each(function () {\n const $element = $(this)\n let data = $element.data(DATA_KEY)\n\n if (!data) {\n data = new Alert(this)\n $element.data(DATA_KEY, data)\n }\n\n if (config === 'close') {\n data[config](this)\n }\n })\n }\n\n static _handleDismiss(alertInstance) {\n return function (event) {\n if (event) {\n event.preventDefault()\n }\n\n alertInstance.close(this)\n }\n }\n}\n\n/**\n * ------------------------------------------------------------------------\n * Data Api implementation\n * ------------------------------------------------------------------------\n */\n\n$(document).on(\n Event.CLICK_DATA_API,\n Selector.DISMISS,\n Alert._handleDismiss(new Alert())\n)\n\n/**\n * ------------------------------------------------------------------------\n * jQuery\n * ------------------------------------------------------------------------\n */\n\n$.fn[NAME] = Alert._jQueryInterface\n$.fn[NAME].Constructor = Alert\n$.fn[NAME].noConflict = () => {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return Alert._jQueryInterface\n}\n\nexport default Alert\n",
|
||
|
"/**\n * --------------------------------------------------------------------------\n * Bootstrap (v4.3.1): button.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport $ from 'jquery'\n\n/**\n * ------------------------------------------------------------------------\n * Constants\n * ------------------------------------------------------------------------\n */\n\nconst NAME = 'button'\nconst VERSION = '4.3.1'\nconst DATA_KEY = 'bs.button'\nconst EVENT_KEY = `.${DATA_KEY}`\nconst DATA_API_KEY = '.data-api'\nconst JQUERY_NO_CONFLICT = $.fn[NAME]\n\nconst ClassName = {\n ACTIVE : 'active',\n BUTTON : 'btn',\n FOCUS : 'focus'\n}\n\nconst Selector = {\n DATA_TOGGLE_CARROT : '[data-toggle^=\"button\"]',\n DATA_TOGGLE : '[data-toggle=\"buttons\"]',\n INPUT : 'input:not([type=\"hidden\"])',\n ACTIVE : '.active',\n BUTTON : '.btn'\n}\n\nconst Event = {\n CLICK_DATA_API : `click${EVENT_KEY}${DATA_API_KEY}`,\n FOCUS_BLUR_DATA_API : `focus${EVENT_KEY}${DATA_API_KEY} ` +\n `blur${EVENT_KEY}${DATA_API_KEY}`\n}\n\n/**\n * ------------------------------------------------------------------------\n * Class Definition\n * ------------------------------------------------------------------------\n */\n\nclass Button {\n constructor(element) {\n this._element = element\n }\n\n // Getters\n\n static get VERSION() {\n return VERSION\n }\n\n // Public\n\n toggle() {\n let triggerChangeEvent = true\n let addAriaPressed = true\n const rootElement = $(this._element).closest(\n Selector.DATA_TOGGLE\n )[0]\n\n if (rootElement) {\n const input = this._element.querySelector(Selector.INPUT)\n\n if (input) {\n if (input.type === 'radio') {\n if (input.checked &&\n this._element.classList.contains(ClassName.ACTIVE)) {\n triggerChangeEvent = false\n } else {\n const activeElement = rootElement.querySelector(Selector.ACTIVE)\n\n if (activeElement) {\n $(activeElement).removeClass(ClassName.ACTIVE)\n }\n }\n }\n\n if (triggerChangeEvent) {\n if (input.hasAttribute('disabled') ||\n rootElement.hasAttribute('disabled') ||\n input.classList.contains('disabled') ||\n rootElement.classList.contains('disabled')) {\n return\n }\n input.checked = !this._element.classList.contains(ClassName.ACTIVE)\n $(input).trigger('change')\n }\n\n input.focus()\n addAriaPressed = false\n }\n }\n\n if (addAriaPressed) {\n this._element.setAttribute('aria-pressed',\n !this._element.classList.contains(ClassName.ACTIVE))\n }\n\n if (triggerChangeEvent) {\n $(this._element).toggleClass(ClassName.ACTIVE)\n }\n }\n\n dispose() {\n $.removeData(this._element, DATA_KEY)\n this._element = null\n }\n\n // Static\n\n static _jQueryInterface(config) {\n return this.each(function () {\n let data = $(this).data(DATA_KEY)\n\n if (!data) {\n data = new Button(this)\n $(this).data(DATA_KEY, data)\n }\n\n if (config === 'toggle') {\n data[config]()\n }\n })\n }\n}\n\n/**\n * ------------------------------------------------------------------------\n * Data Api implementation\n * ------------------------------------------------------------------------\n */\n\n$(document)\n .on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE_CARROT, (event) => {\n event.preventDefault()\n\n let button = event.target\n\n if (!$(button).hasClass(ClassName.BUTTON)) {\n button = $(button).closest(Selector.BUTTON)\n }\n\n Button._jQueryInterface.call($(button), 'toggle')\n })\n .on(Event.FOCUS_BLUR_DATA_API, Selector.DATA_TOGGLE_CARROT, (event) => {\n const button = $(event.target).c
|
||
|
"/**\n * --------------------------------------------------------------------------\n * Bootstrap (v4.3.1): carousel.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport $ from 'jquery'\nimport Util from './util'\n\n/**\n * ------------------------------------------------------------------------\n * Constants\n * ------------------------------------------------------------------------\n */\n\nconst NAME = 'carousel'\nconst VERSION = '4.3.1'\nconst DATA_KEY = 'bs.carousel'\nconst EVENT_KEY = `.${DATA_KEY}`\nconst DATA_API_KEY = '.data-api'\nconst JQUERY_NO_CONFLICT = $.fn[NAME]\nconst ARROW_LEFT_KEYCODE = 37 // KeyboardEvent.which value for left arrow key\nconst ARROW_RIGHT_KEYCODE = 39 // KeyboardEvent.which value for right arrow key\nconst TOUCHEVENT_COMPAT_WAIT = 500 // Time for mouse compat events to fire after touch\nconst SWIPE_THRESHOLD = 40\n\nconst Default = {\n interval : 5000,\n keyboard : true,\n slide : false,\n pause : 'hover',\n wrap : true,\n touch : true\n}\n\nconst DefaultType = {\n interval : '(number|boolean)',\n keyboard : 'boolean',\n slide : '(boolean|string)',\n pause : '(string|boolean)',\n wrap : 'boolean',\n touch : 'boolean'\n}\n\nconst Direction = {\n NEXT : 'next',\n PREV : 'prev',\n LEFT : 'left',\n RIGHT : 'right'\n}\n\nconst Event = {\n SLIDE : `slide${EVENT_KEY}`,\n SLID : `slid${EVENT_KEY}`,\n KEYDOWN : `keydown${EVENT_KEY}`,\n MOUSEENTER : `mouseenter${EVENT_KEY}`,\n MOUSELEAVE : `mouseleave${EVENT_KEY}`,\n TOUCHSTART : `touchstart${EVENT_KEY}`,\n TOUCHMOVE : `touchmove${EVENT_KEY}`,\n TOUCHEND : `touchend${EVENT_KEY}`,\n POINTERDOWN : `pointerdown${EVENT_KEY}`,\n POINTERUP : `pointerup${EVENT_KEY}`,\n DRAG_START : `dragstart${EVENT_KEY}`,\n LOAD_DATA_API : `load${EVENT_KEY}${DATA_API_KEY}`,\n CLICK_DATA_API : `click${EVENT_KEY}${DATA_API_KEY}`\n}\n\nconst ClassName = {\n CAROUSEL : 'carousel',\n ACTIVE : 'active',\n SLIDE : 'slide',\n RIGHT : 'carousel-item-right',\n LEFT : 'carousel-item-left',\n NEXT : 'carousel-item-next',\n PREV : 'carousel-item-prev',\n ITEM : 'carousel-item',\n POINTER_EVENT : 'pointer-event'\n}\n\nconst Selector = {\n ACTIVE : '.active',\n ACTIVE_ITEM : '.active.carousel-item',\n ITEM : '.carousel-item',\n ITEM_IMG : '.carousel-item img',\n NEXT_PREV : '.carousel-item-next, .carousel-item-prev',\n INDICATORS : '.carousel-indicators',\n DATA_SLIDE : '[data-slide], [data-slide-to]',\n DATA_RIDE : '[data-ride=\"carousel\"]'\n}\n\nconst PointerType = {\n TOUCH : 'touch',\n PEN : 'pen'\n}\n\n/**\n * ------------------------------------------------------------------------\n * Class Definition\n * ------------------------------------------------------------------------\n */\nclass Carousel {\n constructor(element, config) {\n this._items = null\n this._interval = null\n this._activeElement = null\n this._isPaused = false\n this._isSliding = false\n this.touchTimeout = null\n this.touchStartX = 0\n this.touchDeltaX = 0\n\n this._config = this._getConfig(config)\n this._element = element\n this._indicatorsElement = this._element.querySelector(Selector.INDICATORS)\n this._touchSupported = 'ontouchstart' in document.documentElement || navigator.maxTouchPoints > 0\n this._pointerEvent = Boolean(window.PointerEvent || window.MSPointerEvent)\n\n this._addEventListeners()\n }\n\n // Getters\n\n static get VERSION() {\n return VERSION\n }\n\n static get Default() {\n return Default\n }\n\n // Public\n\n next() {\n if (!this._isSliding) {\n this._slide(Direction.NEXT)\n }\n }\n\n nextWhenVisible() {\n //
|
||
|
"/**\n * --------------------------------------------------------------------------\n * Bootstrap (v4.3.1): collapse.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport $ from 'jquery'\nimport Util from './util'\n\n/**\n * ------------------------------------------------------------------------\n * Constants\n * ------------------------------------------------------------------------\n */\n\nconst NAME = 'collapse'\nconst VERSION = '4.3.1'\nconst DATA_KEY = 'bs.collapse'\nconst EVENT_KEY = `.${DATA_KEY}`\nconst DATA_API_KEY = '.data-api'\nconst JQUERY_NO_CONFLICT = $.fn[NAME]\n\nconst Default = {\n toggle : true,\n parent : ''\n}\n\nconst DefaultType = {\n toggle : 'boolean',\n parent : '(string|element)'\n}\n\nconst Event = {\n SHOW : `show${EVENT_KEY}`,\n SHOWN : `shown${EVENT_KEY}`,\n HIDE : `hide${EVENT_KEY}`,\n HIDDEN : `hidden${EVENT_KEY}`,\n CLICK_DATA_API : `click${EVENT_KEY}${DATA_API_KEY}`\n}\n\nconst ClassName = {\n SHOW : 'show',\n COLLAPSE : 'collapse',\n COLLAPSING : 'collapsing',\n COLLAPSED : 'collapsed'\n}\n\nconst Dimension = {\n WIDTH : 'width',\n HEIGHT : 'height'\n}\n\nconst Selector = {\n ACTIVES : '.show, .collapsing',\n DATA_TOGGLE : '[data-toggle=\"collapse\"]'\n}\n\n/**\n * ------------------------------------------------------------------------\n * Class Definition\n * ------------------------------------------------------------------------\n */\n\nclass Collapse {\n constructor(element, config) {\n this._isTransitioning = false\n this._element = element\n this._config = this._getConfig(config)\n this._triggerArray = [].slice.call(document.querySelectorAll(\n `[data-toggle=\"collapse\"][href=\"#${element.id}\"],` +\n `[data-toggle=\"collapse\"][data-target=\"#${element.id}\"]`\n ))\n\n const toggleList = [].slice.call(document.querySelectorAll(Selector.DATA_TOGGLE))\n for (let i = 0, len = toggleList.length; i < len; i++) {\n const elem = toggleList[i]\n const selector = Util.getSelectorFromElement(elem)\n const filterElement = [].slice.call(document.querySelectorAll(selector))\n .filter((foundElem) => foundElem === element)\n\n if (selector !== null && filterElement.length > 0) {\n this._selector = selector\n this._triggerArray.push(elem)\n }\n }\n\n this._parent = this._config.parent ? this._getParent() : null\n\n if (!this._config.parent) {\n this._addAriaAndCollapsedClass(this._element, this._triggerArray)\n }\n\n if (this._config.toggle) {\n this.toggle()\n }\n }\n\n // Getters\n\n static get VERSION() {\n return VERSION\n }\n\n static get Default() {\n return Default\n }\n\n // Public\n\n toggle() {\n if ($(this._element).hasClass(ClassName.SHOW)) {\n this.hide()\n } else {\n this.show()\n }\n }\n\n show() {\n if (this._isTransitioning ||\n $(this._element).hasClass(ClassName.SHOW)) {\n return\n }\n\n let actives\n let activesData\n\n if (this._parent) {\n actives = [].slice.call(this._parent.querySelectorAll(Selector.ACTIVES))\n .filter((elem) => {\n if (typeof this._config.parent === 'string') {\n return elem.getAttribute('data-parent') === this._config.parent\n }\n\n return elem.classList.contains(ClassName.COLLAPSE)\n })\n\n if (actives.length === 0) {\n actives = null\n }\n }\n\n if (actives) {\n activesData = $(actives).not(this._selector).data(DATA_KEY)\n if (activesData && activesData._isTransitioning) {\n return\n }\n }\n\n const startEvent = $.Event(Event.SHOW)\n $(this._element).trigger(startEvent)\n if (startEvent.isDefaultPrevented()) {\n return\n }\n\n if (actives) {\n Collapse._jQueryInterface.call($(actives).not(th
|
||
|
"/**\n * --------------------------------------------------------------------------\n * Bootstrap (v4.3.1): dropdown.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport $ from 'jquery'\nimport Popper from 'popper.js'\nimport Util from './util'\n\n/**\n * ------------------------------------------------------------------------\n * Constants\n * ------------------------------------------------------------------------\n */\n\nconst NAME = 'dropdown'\nconst VERSION = '4.3.1'\nconst DATA_KEY = 'bs.dropdown'\nconst EVENT_KEY = `.${DATA_KEY}`\nconst DATA_API_KEY = '.data-api'\nconst JQUERY_NO_CONFLICT = $.fn[NAME]\nconst ESCAPE_KEYCODE = 27 // KeyboardEvent.which value for Escape (Esc) key\nconst SPACE_KEYCODE = 32 // KeyboardEvent.which value for space key\nconst TAB_KEYCODE = 9 // KeyboardEvent.which value for tab key\nconst ARROW_UP_KEYCODE = 38 // KeyboardEvent.which value for up arrow key\nconst ARROW_DOWN_KEYCODE = 40 // KeyboardEvent.which value for down arrow key\nconst RIGHT_MOUSE_BUTTON_WHICH = 3 // MouseEvent.which value for the right button (assuming a right-handed mouse)\nconst REGEXP_KEYDOWN = new RegExp(`${ARROW_UP_KEYCODE}|${ARROW_DOWN_KEYCODE}|${ESCAPE_KEYCODE}`)\n\nconst Event = {\n HIDE : `hide${EVENT_KEY}`,\n HIDDEN : `hidden${EVENT_KEY}`,\n SHOW : `show${EVENT_KEY}`,\n SHOWN : `shown${EVENT_KEY}`,\n CLICK : `click${EVENT_KEY}`,\n CLICK_DATA_API : `click${EVENT_KEY}${DATA_API_KEY}`,\n KEYDOWN_DATA_API : `keydown${EVENT_KEY}${DATA_API_KEY}`,\n KEYUP_DATA_API : `keyup${EVENT_KEY}${DATA_API_KEY}`\n}\n\nconst ClassName = {\n DISABLED : 'disabled',\n SHOW : 'show',\n DROPUP : 'dropup',\n DROPRIGHT : 'dropright',\n DROPLEFT : 'dropleft',\n MENURIGHT : 'dropdown-menu-right',\n MENULEFT : 'dropdown-menu-left',\n POSITION_STATIC : 'position-static'\n}\n\nconst Selector = {\n DATA_TOGGLE : '[data-toggle=\"dropdown\"]',\n FORM_CHILD : '.dropdown form',\n MENU : '.dropdown-menu',\n NAVBAR_NAV : '.navbar-nav',\n VISIBLE_ITEMS : '.dropdown-menu .dropdown-item:not(.disabled):not(:disabled)'\n}\n\nconst AttachmentMap = {\n TOP : 'top-start',\n TOPEND : 'top-end',\n BOTTOM : 'bottom-start',\n BOTTOMEND : 'bottom-end',\n RIGHT : 'right-start',\n RIGHTEND : 'right-end',\n LEFT : 'left-start',\n LEFTEND : 'left-end'\n}\n\nconst Default = {\n offset : 0,\n flip : true,\n boundary : 'scrollParent',\n reference : 'toggle',\n display : 'dynamic'\n}\n\nconst DefaultType = {\n offset : '(number|string|function)',\n flip : 'boolean',\n boundary : '(string|element)',\n reference : '(string|element)',\n display : 'string'\n}\n\n/**\n * ------------------------------------------------------------------------\n * Class Definition\n * ------------------------------------------------------------------------\n */\n\nclass Dropdown {\n constructor(element, config) {\n this._element = element\n this._popper = null\n this._config = this._getConfig(config)\n this._menu = this._getMenuElement()\n this._inNavbar = this._detectNavbar()\n\n this._addEventListeners()\n }\n\n // Getters\n\n static get VERSION() {\n return VERSION\n }\n\n static get Default() {\n return Default\n }\n\n static get DefaultType() {\n return DefaultType\n }\n\n // Public\n\n toggle() {\n if (this._element.disabled || $(this._element).hasClass(ClassName.DISABLED)) {\n return\n }\n\n const parent = Dropdown._getParentFromElement(this._element)\n const isActive = $(this._menu).hasClass(ClassName.SHOW)\n\n Dropdown._clearMenus()\n\n if (isActive) {\n return\n }\n\n const relatedTarget = {\n relatedTarget: this._
|
||
|
"/**\n * --------------------------------------------------------------------------\n * Bootstrap (v4.3.1): modal.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport $ from 'jquery'\nimport Util from './util'\n\n/**\n * ------------------------------------------------------------------------\n * Constants\n * ------------------------------------------------------------------------\n */\n\nconst NAME = 'modal'\nconst VERSION = '4.3.1'\nconst DATA_KEY = 'bs.modal'\nconst EVENT_KEY = `.${DATA_KEY}`\nconst DATA_API_KEY = '.data-api'\nconst JQUERY_NO_CONFLICT = $.fn[NAME]\nconst ESCAPE_KEYCODE = 27 // KeyboardEvent.which value for Escape (Esc) key\n\nconst Default = {\n backdrop : true,\n keyboard : true,\n focus : true,\n show : true\n}\n\nconst DefaultType = {\n backdrop : '(boolean|string)',\n keyboard : 'boolean',\n focus : 'boolean',\n show : 'boolean'\n}\n\nconst Event = {\n HIDE : `hide${EVENT_KEY}`,\n HIDDEN : `hidden${EVENT_KEY}`,\n SHOW : `show${EVENT_KEY}`,\n SHOWN : `shown${EVENT_KEY}`,\n FOCUSIN : `focusin${EVENT_KEY}`,\n RESIZE : `resize${EVENT_KEY}`,\n CLICK_DISMISS : `click.dismiss${EVENT_KEY}`,\n KEYDOWN_DISMISS : `keydown.dismiss${EVENT_KEY}`,\n MOUSEUP_DISMISS : `mouseup.dismiss${EVENT_KEY}`,\n MOUSEDOWN_DISMISS : `mousedown.dismiss${EVENT_KEY}`,\n CLICK_DATA_API : `click${EVENT_KEY}${DATA_API_KEY}`\n}\n\nconst ClassName = {\n SCROLLABLE : 'modal-dialog-scrollable',\n SCROLLBAR_MEASURER : 'modal-scrollbar-measure',\n BACKDROP : 'modal-backdrop',\n OPEN : 'modal-open',\n FADE : 'fade',\n SHOW : 'show'\n}\n\nconst Selector = {\n DIALOG : '.modal-dialog',\n MODAL_BODY : '.modal-body',\n DATA_TOGGLE : '[data-toggle=\"modal\"]',\n DATA_DISMISS : '[data-dismiss=\"modal\"]',\n FIXED_CONTENT : '.fixed-top, .fixed-bottom, .is-fixed, .sticky-top',\n STICKY_CONTENT : '.sticky-top'\n}\n\n/**\n * ------------------------------------------------------------------------\n * Class Definition\n * ------------------------------------------------------------------------\n */\n\nclass Modal {\n constructor(element, config) {\n this._config = this._getConfig(config)\n this._element = element\n this._dialog = element.querySelector(Selector.DIALOG)\n this._backdrop = null\n this._isShown = false\n this._isBodyOverflowing = false\n this._ignoreBackdropClick = false\n this._isTransitioning = false\n this._scrollbarWidth = 0\n }\n\n // Getters\n\n static get VERSION() {\n return VERSION\n }\n\n static get Default() {\n return Default\n }\n\n // Public\n\n toggle(relatedTarget) {\n return this._isShown ? this.hide() : this.show(relatedTarget)\n }\n\n show(relatedTarget) {\n if (this._isShown || this._isTransitioning) {\n return\n }\n\n if ($(this._element).hasClass(ClassName.FADE)) {\n this._isTransitioning = true\n }\n\n const showEvent = $.Event(Event.SHOW, {\n relatedTarget\n })\n\n $(this._element).trigger(showEvent)\n\n if (this._isShown || showEvent.isDefaultPrevented()) {\n return\n }\n\n this._isShown = true\n\n this._checkScrollbar()\n this._setScrollbar()\n\n this._adjustDialog()\n\n this._setEscapeEvent()\n this._setResizeEvent()\n\n $(this._element).on(\n Event.CLICK_DISMISS,\n Selector.DATA_DISMISS,\n (event) => this.hide(event)\n )\n\n $(this._dialog).on(Event.MOUSEDOWN_DISMISS, () => {\n $(this._element).one(Event.MOUSEUP_DISMISS, (event) => {\n if ($(event.target).is(this._element)) {\n this._ignoreBackdropClick = true\n }\n })\n })\n\n this._showBackdrop(() => this._showElement(relatedTarget))\n
|
||
|
"/**\n * --------------------------------------------------------------------------\n * Bootstrap (v4.3.1): tools/sanitizer.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nconst uriAttrs = [\n 'background',\n 'cite',\n 'href',\n 'itemtype',\n 'longdesc',\n 'poster',\n 'src',\n 'xlink:href'\n]\n\nconst ARIA_ATTRIBUTE_PATTERN = /^aria-[\\w-]*$/i\n\nexport const DefaultWhitelist = {\n // Global attributes allowed on any supplied element below.\n '*': ['class', 'dir', 'id', 'lang', 'role', ARIA_ATTRIBUTE_PATTERN],\n a: ['target', 'href', 'title', 'rel'],\n area: [],\n b: [],\n br: [],\n col: [],\n code: [],\n div: [],\n em: [],\n hr: [],\n h1: [],\n h2: [],\n h3: [],\n h4: [],\n h5: [],\n h6: [],\n i: [],\n img: ['src', 'alt', 'title', 'width', 'height'],\n li: [],\n ol: [],\n p: [],\n pre: [],\n s: [],\n small: [],\n span: [],\n sub: [],\n sup: [],\n strong: [],\n u: [],\n ul: []\n}\n\n/**\n * A pattern that recognizes a commonly useful subset of URLs that are safe.\n *\n * Shoutout to Angular 7 https://github.com/angular/angular/blob/7.2.4/packages/core/src/sanitization/url_sanitizer.ts\n */\nconst SAFE_URL_PATTERN = /^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi\n\n/**\n * A pattern that matches safe data URLs. Only matches image, video and audio types.\n *\n * Shoutout to Angular 7 https://github.com/angular/angular/blob/7.2.4/packages/core/src/sanitization/url_sanitizer.ts\n */\nconst DATA_URL_PATTERN = /^data:(?:image\\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\\/(?:mpeg|mp4|ogg|webm)|audio\\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i\n\nfunction allowedAttribute(attr, allowedAttributeList) {\n const attrName = attr.nodeName.toLowerCase()\n\n if (allowedAttributeList.indexOf(attrName) !== -1) {\n if (uriAttrs.indexOf(attrName) !== -1) {\n return Boolean(attr.nodeValue.match(SAFE_URL_PATTERN) || attr.nodeValue.match(DATA_URL_PATTERN))\n }\n\n return true\n }\n\n const regExp = allowedAttributeList.filter((attrRegex) => attrRegex instanceof RegExp)\n\n // Check if a regular expression validates the attribute.\n for (let i = 0, l = regExp.length; i < l; i++) {\n if (attrName.match(regExp[i])) {\n return true\n }\n }\n\n return false\n}\n\nexport function sanitizeHtml(unsafeHtml, whiteList, sanitizeFn) {\n if (unsafeHtml.length === 0) {\n return unsafeHtml\n }\n\n if (sanitizeFn && typeof sanitizeFn === 'function') {\n return sanitizeFn(unsafeHtml)\n }\n\n const domParser = new window.DOMParser()\n const createdDocument = domParser.parseFromString(unsafeHtml, 'text/html')\n const whitelistKeys = Object.keys(whiteList)\n const elements = [].slice.call(createdDocument.body.querySelectorAll('*'))\n\n for (let i = 0, len = elements.length; i < len; i++) {\n const el = elements[i]\n const elName = el.nodeName.toLowerCase()\n\n if (whitelistKeys.indexOf(el.nodeName.toLowerCase()) === -1) {\n el.parentNode.removeChild(el)\n\n continue\n }\n\n const attributeList = [].slice.call(el.attributes)\n const whitelistedAttributes = [].concat(whiteList['*'] || [], whiteList[elName] || [])\n\n attributeList.forEach((attr) => {\n if (!allowedAttribute(attr, whitelistedAttributes)) {\n el.removeAttribute(attr.nodeName)\n }\n })\n }\n\n return createdDocument.body.innerHTML\n}\n",
|
||
|
"/**\n * --------------------------------------------------------------------------\n * Bootstrap (v4.3.1): tooltip.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport {\n DefaultWhitelist,\n sanitizeHtml\n} from './tools/sanitizer'\nimport $ from 'jquery'\nimport Popper from 'popper.js'\nimport Util from './util'\n\n/**\n * ------------------------------------------------------------------------\n * Constants\n * ------------------------------------------------------------------------\n */\n\nconst NAME = 'tooltip'\nconst VERSION = '4.3.1'\nconst DATA_KEY = 'bs.tooltip'\nconst EVENT_KEY = `.${DATA_KEY}`\nconst JQUERY_NO_CONFLICT = $.fn[NAME]\nconst CLASS_PREFIX = 'bs-tooltip'\nconst BSCLS_PREFIX_REGEX = new RegExp(`(^|\\\\s)${CLASS_PREFIX}\\\\S+`, 'g')\nconst DISALLOWED_ATTRIBUTES = ['sanitize', 'whiteList', 'sanitizeFn']\n\nconst DefaultType = {\n animation : 'boolean',\n template : 'string',\n title : '(string|element|function)',\n trigger : 'string',\n delay : '(number|object)',\n html : 'boolean',\n selector : '(string|boolean)',\n placement : '(string|function)',\n offset : '(number|string|function)',\n container : '(string|element|boolean)',\n fallbackPlacement : '(string|array)',\n boundary : '(string|element)',\n sanitize : 'boolean',\n sanitizeFn : '(null|function)',\n whiteList : 'object'\n}\n\nconst AttachmentMap = {\n AUTO : 'auto',\n TOP : 'top',\n RIGHT : 'right',\n BOTTOM : 'bottom',\n LEFT : 'left'\n}\n\nconst Default = {\n animation : true,\n template : '<div class=\"tooltip\" role=\"tooltip\">' +\n '<div class=\"arrow\"></div>' +\n '<div class=\"tooltip-inner\"></div></div>',\n trigger : 'hover focus',\n title : '',\n delay : 0,\n html : false,\n selector : false,\n placement : 'top',\n offset : 0,\n container : false,\n fallbackPlacement : 'flip',\n boundary : 'scrollParent',\n sanitize : true,\n sanitizeFn : null,\n whiteList : DefaultWhitelist\n}\n\nconst HoverState = {\n SHOW : 'show',\n OUT : 'out'\n}\n\nconst Event = {\n HIDE : `hide${EVENT_KEY}`,\n HIDDEN : `hidden${EVENT_KEY}`,\n SHOW : `show${EVENT_KEY}`,\n SHOWN : `shown${EVENT_KEY}`,\n INSERTED : `inserted${EVENT_KEY}`,\n CLICK : `click${EVENT_KEY}`,\n FOCUSIN : `focusin${EVENT_KEY}`,\n FOCUSOUT : `focusout${EVENT_KEY}`,\n MOUSEENTER : `mouseenter${EVENT_KEY}`,\n MOUSELEAVE : `mouseleave${EVENT_KEY}`\n}\n\nconst ClassName = {\n FADE : 'fade',\n SHOW : 'show'\n}\n\nconst Selector = {\n TOOLTIP : '.tooltip',\n TOOLTIP_INNER : '.tooltip-inner',\n ARROW : '.arrow'\n}\n\nconst Trigger = {\n HOVER : 'hover',\n FOCUS : 'focus',\n CLICK : 'click',\n MANUAL : 'manual'\n}\n\n\n/**\n * ------------------------------------------------------------------------\n * Class Definition\n * ------------------------------------------------------------------------\n */\n\nclass Tooltip {\n constructor(element, config) {\n /**\n * Check for Popper dependency\n * Popper - https://popper.js.org\n */\n if (typeof Popper === 'undefined') {\n throw new TypeError('Bootstrap\\'s tooltips require Popper.js (https://popper.js.org/)')\n }\n\n // private\n this._isEnabled = true\n this._timeout = 0\n this._hoverState = ''\n this._activeTrigger = {}\n this._popper = null\n\n // Protected\n this.element = element\n this.config = this._getConfig(config)\n this.tip = null\n\n this._setListeners()\n }\n\n // Getters\n\n static get VERSION() {\n return VERSION\n }\n\n static get D
|
||
|
"/**\n * --------------------------------------------------------------------------\n * Bootstrap (v4.3.1): popover.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport $ from 'jquery'\nimport Tooltip from './tooltip'\n\n/**\n * ------------------------------------------------------------------------\n * Constants\n * ------------------------------------------------------------------------\n */\n\nconst NAME = 'popover'\nconst VERSION = '4.3.1'\nconst DATA_KEY = 'bs.popover'\nconst EVENT_KEY = `.${DATA_KEY}`\nconst JQUERY_NO_CONFLICT = $.fn[NAME]\nconst CLASS_PREFIX = 'bs-popover'\nconst BSCLS_PREFIX_REGEX = new RegExp(`(^|\\\\s)${CLASS_PREFIX}\\\\S+`, 'g')\n\nconst Default = {\n ...Tooltip.Default,\n placement : 'right',\n trigger : 'click',\n content : '',\n template : '<div class=\"popover\" role=\"tooltip\">' +\n '<div class=\"arrow\"></div>' +\n '<h3 class=\"popover-header\"></h3>' +\n '<div class=\"popover-body\"></div></div>'\n}\n\nconst DefaultType = {\n ...Tooltip.DefaultType,\n content : '(string|element|function)'\n}\n\nconst ClassName = {\n FADE : 'fade',\n SHOW : 'show'\n}\n\nconst Selector = {\n TITLE : '.popover-header',\n CONTENT : '.popover-body'\n}\n\nconst Event = {\n HIDE : `hide${EVENT_KEY}`,\n HIDDEN : `hidden${EVENT_KEY}`,\n SHOW : `show${EVENT_KEY}`,\n SHOWN : `shown${EVENT_KEY}`,\n INSERTED : `inserted${EVENT_KEY}`,\n CLICK : `click${EVENT_KEY}`,\n FOCUSIN : `focusin${EVENT_KEY}`,\n FOCUSOUT : `focusout${EVENT_KEY}`,\n MOUSEENTER : `mouseenter${EVENT_KEY}`,\n MOUSELEAVE : `mouseleave${EVENT_KEY}`\n}\n\n/**\n * ------------------------------------------------------------------------\n * Class Definition\n * ------------------------------------------------------------------------\n */\n\nclass Popover extends Tooltip {\n // Getters\n\n static get VERSION() {\n return VERSION\n }\n\n static get Default() {\n return Default\n }\n\n static get NAME() {\n return NAME\n }\n\n static get DATA_KEY() {\n return DATA_KEY\n }\n\n static get Event() {\n return Event\n }\n\n static get EVENT_KEY() {\n return EVENT_KEY\n }\n\n static get DefaultType() {\n return DefaultType\n }\n\n // Overrides\n\n isWithContent() {\n return this.getTitle() || this._getContent()\n }\n\n addAttachmentClass(attachment) {\n $(this.getTipElement()).addClass(`${CLASS_PREFIX}-${attachment}`)\n }\n\n getTipElement() {\n this.tip = this.tip || $(this.config.template)[0]\n return this.tip\n }\n\n setContent() {\n const $tip = $(this.getTipElement())\n\n // We use append for html objects to maintain js events\n this.setElementContent($tip.find(Selector.TITLE), this.getTitle())\n let content = this._getContent()\n if (typeof content === 'function') {\n content = content.call(this.element)\n }\n this.setElementContent($tip.find(Selector.CONTENT), content)\n\n $tip.removeClass(`${ClassName.FADE} ${ClassName.SHOW}`)\n }\n\n // Private\n\n _getContent() {\n return this.element.getAttribute('data-content') ||\n this.config.content\n }\n\n _cleanTipClass() {\n const $tip = $(this.getTipElement())\n const tabClass = $tip.attr('class').match(BSCLS_PREFIX_REGEX)\n if (tabClass !== null && tabClass.length > 0) {\n $tip.removeClass(tabClass.join(''))\n }\n }\n\n // Static\n\n static _jQueryInterface(config) {\n return this.each(function () {\n let data = $(this).data(DATA_KEY)\n const _config = typeof config === 'object' ? config : null\n\n if (!data && /dispose|hide/.test(config)) {\n return\n }\n\n if (!data) {\n data = new Popover(this, _config)\n $(this).data(DATA_KEY, data)\n }\n\n if (typeof config === 'string') {\n if (typeof data[config] === 'undefined') {\n throw new Type
|
||
|
"/**\n * --------------------------------------------------------------------------\n * Bootstrap (v4.3.1): scrollspy.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport $ from 'jquery'\nimport Util from './util'\n\n/**\n * ------------------------------------------------------------------------\n * Constants\n * ------------------------------------------------------------------------\n */\n\nconst NAME = 'scrollspy'\nconst VERSION = '4.3.1'\nconst DATA_KEY = 'bs.scrollspy'\nconst EVENT_KEY = `.${DATA_KEY}`\nconst DATA_API_KEY = '.data-api'\nconst JQUERY_NO_CONFLICT = $.fn[NAME]\n\nconst Default = {\n offset : 10,\n method : 'auto',\n target : ''\n}\n\nconst DefaultType = {\n offset : 'number',\n method : 'string',\n target : '(string|element)'\n}\n\nconst Event = {\n ACTIVATE : `activate${EVENT_KEY}`,\n SCROLL : `scroll${EVENT_KEY}`,\n LOAD_DATA_API : `load${EVENT_KEY}${DATA_API_KEY}`\n}\n\nconst ClassName = {\n DROPDOWN_ITEM : 'dropdown-item',\n DROPDOWN_MENU : 'dropdown-menu',\n ACTIVE : 'active'\n}\n\nconst Selector = {\n DATA_SPY : '[data-spy=\"scroll\"]',\n ACTIVE : '.active',\n NAV_LIST_GROUP : '.nav, .list-group',\n NAV_LINKS : '.nav-link',\n NAV_ITEMS : '.nav-item',\n LIST_ITEMS : '.list-group-item',\n DROPDOWN : '.dropdown',\n DROPDOWN_ITEMS : '.dropdown-item',\n DROPDOWN_TOGGLE : '.dropdown-toggle'\n}\n\nconst OffsetMethod = {\n OFFSET : 'offset',\n POSITION : 'position'\n}\n\n/**\n * ------------------------------------------------------------------------\n * Class Definition\n * ------------------------------------------------------------------------\n */\n\nclass ScrollSpy {\n constructor(element, config) {\n this._element = element\n this._scrollElement = element.tagName === 'BODY' ? window : element\n this._config = this._getConfig(config)\n this._selector = `${this._config.target} ${Selector.NAV_LINKS},` +\n `${this._config.target} ${Selector.LIST_ITEMS},` +\n `${this._config.target} ${Selector.DROPDOWN_ITEMS}`\n this._offsets = []\n this._targets = []\n this._activeTarget = null\n this._scrollHeight = 0\n\n $(this._scrollElement).on(Event.SCROLL, (event) => this._process(event))\n\n this.refresh()\n this._process()\n }\n\n // Getters\n\n static get VERSION() {\n return VERSION\n }\n\n static get Default() {\n return Default\n }\n\n // Public\n\n refresh() {\n const autoMethod = this._scrollElement === this._scrollElement.window\n ? OffsetMethod.OFFSET : OffsetMethod.POSITION\n\n const offsetMethod = this._config.method === 'auto'\n ? autoMethod : this._config.method\n\n const offsetBase = offsetMethod === OffsetMethod.POSITION\n ? this._getScrollTop() : 0\n\n this._offsets = []\n this._targets = []\n\n this._scrollHeight = this._getScrollHeight()\n\n const targets = [].slice.call(document.querySelectorAll(this._selector))\n\n targets\n .map((element) => {\n let target\n const targetSelector = Util.getSelectorFromElement(element)\n\n if (targetSelector) {\n target = document.querySelector(targetSelector)\n }\n\n if (target) {\n const targetBCR = target.getBoundingClientRect()\n if (targetBCR.width || targetBCR.height) {\n // TODO (fat): remove sketch reliance on jQuery position/offset\n return [\n $(target)[offsetMethod]().top + offsetBase,\n targetSelector\n ]\n }\n }\n return null\n })\n .filter((item) => item)\n .sort((a, b) => a[0] - b[0])\n .forEach((item) => {\n this._offsets.push(item[0])\n this._targets.push(item[1])\n })\n }\n\n dispose() {\n $.removeData(this._element, DATA_KEY)\
|
||
|
"/**\n * --------------------------------------------------------------------------\n * Bootstrap (v4.3.1): tab.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport $ from 'jquery'\nimport Util from './util'\n\n/**\n * ------------------------------------------------------------------------\n * Constants\n * ------------------------------------------------------------------------\n */\n\nconst NAME = 'tab'\nconst VERSION = '4.3.1'\nconst DATA_KEY = 'bs.tab'\nconst EVENT_KEY = `.${DATA_KEY}`\nconst DATA_API_KEY = '.data-api'\nconst JQUERY_NO_CONFLICT = $.fn[NAME]\n\nconst Event = {\n HIDE : `hide${EVENT_KEY}`,\n HIDDEN : `hidden${EVENT_KEY}`,\n SHOW : `show${EVENT_KEY}`,\n SHOWN : `shown${EVENT_KEY}`,\n CLICK_DATA_API : `click${EVENT_KEY}${DATA_API_KEY}`\n}\n\nconst ClassName = {\n DROPDOWN_MENU : 'dropdown-menu',\n ACTIVE : 'active',\n DISABLED : 'disabled',\n FADE : 'fade',\n SHOW : 'show'\n}\n\nconst Selector = {\n DROPDOWN : '.dropdown',\n NAV_LIST_GROUP : '.nav, .list-group',\n ACTIVE : '.active',\n ACTIVE_UL : '> li > .active',\n DATA_TOGGLE : '[data-toggle=\"tab\"], [data-toggle=\"pill\"], [data-toggle=\"list\"]',\n DROPDOWN_TOGGLE : '.dropdown-toggle',\n DROPDOWN_ACTIVE_CHILD : '> .dropdown-menu .active'\n}\n\n/**\n * ------------------------------------------------------------------------\n * Class Definition\n * ------------------------------------------------------------------------\n */\n\nclass Tab {\n constructor(element) {\n this._element = element\n }\n\n // Getters\n\n static get VERSION() {\n return VERSION\n }\n\n // Public\n\n show() {\n if (this._element.parentNode &&\n this._element.parentNode.nodeType === Node.ELEMENT_NODE &&\n $(this._element).hasClass(ClassName.ACTIVE) ||\n $(this._element).hasClass(ClassName.DISABLED)) {\n return\n }\n\n let target\n let previous\n const listElement = $(this._element).closest(Selector.NAV_LIST_GROUP)[0]\n const selector = Util.getSelectorFromElement(this._element)\n\n if (listElement) {\n const itemSelector = listElement.nodeName === 'UL' || listElement.nodeName === 'OL' ? Selector.ACTIVE_UL : Selector.ACTIVE\n previous = $.makeArray($(listElement).find(itemSelector))\n previous = previous[previous.length - 1]\n }\n\n const hideEvent = $.Event(Event.HIDE, {\n relatedTarget: this._element\n })\n\n const showEvent = $.Event(Event.SHOW, {\n relatedTarget: previous\n })\n\n if (previous) {\n $(previous).trigger(hideEvent)\n }\n\n $(this._element).trigger(showEvent)\n\n if (showEvent.isDefaultPrevented() ||\n hideEvent.isDefaultPrevented()) {\n return\n }\n\n if (selector) {\n target = document.querySelector(selector)\n }\n\n this._activate(\n this._element,\n listElement\n )\n\n const complete = () => {\n const hiddenEvent = $.Event(Event.HIDDEN, {\n relatedTarget: this._element\n })\n\n const shownEvent = $.Event(Event.SHOWN, {\n relatedTarget: previous\n })\n\n $(previous).trigger(hiddenEvent)\n $(this._element).trigger(shownEvent)\n }\n\n if (target) {\n this._activate(target, target.parentNode, complete)\n } else {\n complete()\n }\n }\n\n dispose() {\n $.removeData(this._element, DATA_KEY)\n this._element = null\n }\n\n // Private\n\n _activate(element, container, callback) {\n const activeElements = container && (container.nodeName === 'UL' || container.nodeName === 'OL')\n ? $(container).find(Selector.ACTIVE_UL)\n : $(container).children(Selector.ACTIVE)\n\n const active = activeElements[0]\n const isTransitioning = callback && (active && $(active).hasClass(ClassName.FADE))\n const com
|
||
|
"/**\n * --------------------------------------------------------------------------\n * Bootstrap (v4.3.1): toast.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport $ from 'jquery'\nimport Util from './util'\n\n/**\n * ------------------------------------------------------------------------\n * Constants\n * ------------------------------------------------------------------------\n */\n\nconst NAME = 'toast'\nconst VERSION = '4.3.1'\nconst DATA_KEY = 'bs.toast'\nconst EVENT_KEY = `.${DATA_KEY}`\nconst JQUERY_NO_CONFLICT = $.fn[NAME]\n\nconst Event = {\n CLICK_DISMISS : `click.dismiss${EVENT_KEY}`,\n HIDE : `hide${EVENT_KEY}`,\n HIDDEN : `hidden${EVENT_KEY}`,\n SHOW : `show${EVENT_KEY}`,\n SHOWN : `shown${EVENT_KEY}`\n}\n\nconst ClassName = {\n FADE : 'fade',\n HIDE : 'hide',\n SHOW : 'show',\n SHOWING : 'showing'\n}\n\nconst DefaultType = {\n animation : 'boolean',\n autohide : 'boolean',\n delay : 'number'\n}\n\nconst Default = {\n animation : true,\n autohide : true,\n delay : 500\n}\n\nconst Selector = {\n DATA_DISMISS : '[data-dismiss=\"toast\"]'\n}\n\n/**\n * ------------------------------------------------------------------------\n * Class Definition\n * ------------------------------------------------------------------------\n */\n\nclass Toast {\n constructor(element, config) {\n this._element = element\n this._config = this._getConfig(config)\n this._timeout = null\n this._setListeners()\n }\n\n // Getters\n\n static get VERSION() {\n return VERSION\n }\n\n static get DefaultType() {\n return DefaultType\n }\n\n static get Default() {\n return Default\n }\n\n // Public\n\n show() {\n $(this._element).trigger(Event.SHOW)\n\n if (this._config.animation) {\n this._element.classList.add(ClassName.FADE)\n }\n\n const complete = () => {\n this._element.classList.remove(ClassName.SHOWING)\n this._element.classList.add(ClassName.SHOW)\n\n $(this._element).trigger(Event.SHOWN)\n\n if (this._config.autohide) {\n this.hide()\n }\n }\n\n this._element.classList.remove(ClassName.HIDE)\n this._element.classList.add(ClassName.SHOWING)\n if (this._config.animation) {\n const transitionDuration = Util.getTransitionDurationFromElement(this._element)\n\n $(this._element)\n .one(Util.TRANSITION_END, complete)\n .emulateTransitionEnd(transitionDuration)\n } else {\n complete()\n }\n }\n\n hide(withoutTimeout) {\n if (!this._element.classList.contains(ClassName.SHOW)) {\n return\n }\n\n $(this._element).trigger(Event.HIDE)\n\n if (withoutTimeout) {\n this._close()\n } else {\n this._timeout = setTimeout(() => {\n this._close()\n }, this._config.delay)\n }\n }\n\n dispose() {\n clearTimeout(this._timeout)\n this._timeout = null\n\n if (this._element.classList.contains(ClassName.SHOW)) {\n this._element.classList.remove(ClassName.SHOW)\n }\n\n $(this._element).off(Event.CLICK_DISMISS)\n\n $.removeData(this._element, DATA_KEY)\n this._element = null\n this._config = null\n }\n\n // Private\n\n _getConfig(config) {\n config = {\n ...Default,\n ...$(this._element).data(),\n ...typeof config === 'object' && config ? config : {}\n }\n\n Util.typeCheckConfig(\n NAME,\n config,\n this.constructor.DefaultType\n )\n\n return config\n }\n\n _setListeners() {\n $(this._element).on(\n Event.CLICK_DISMISS,\n Selector.DATA_DISMISS,\n () => this.hide(true)\n )\n }\n\n _close() {\n const complete = () => {\n this._element.classList.add(ClassName.HIDE)\n $(this._element).trigger(Event.HIDDEN)\n }\n\n this._element.classList.remove(ClassName.SHOW)\n if (this._config.animation) {\n const transitionDuration = Util.g
|
||
|
"import $ from 'jquery'\nimport Alert from './alert'\nimport Button from './button'\nimport Carousel from './carousel'\nimport Collapse from './collapse'\nimport Dropdown from './dropdown'\nimport Modal from './modal'\nimport Popover from './popover'\nimport Scrollspy from './scrollspy'\nimport Tab from './tab'\nimport Toast from './toast'\nimport Tooltip from './tooltip'\nimport Util from './util'\n\n/**\n * --------------------------------------------------------------------------\n * Bootstrap (v4.3.1): index.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * --------------------------------------------------------------------------\n */\n\n(() => {\n if (typeof $ === 'undefined') {\n throw new TypeError('Bootstrap\\'s JavaScript requires jQuery. jQuery must be included before Bootstrap\\'s JavaScript.')\n }\n\n const version = $.fn.jquery.split(' ')[0].split('.')\n const minMajor = 1\n const ltMajor = 2\n const minMinor = 9\n const minPatch = 1\n const maxMajor = 4\n\n if (version[0] < ltMajor && version[1] < minMinor || version[0] === minMajor && version[1] === minMinor && version[2] < minPatch || version[0] >= maxMajor) {\n throw new Error('Bootstrap\\'s JavaScript requires at least jQuery v1.9.1 but less than v4.0.0')\n }\n})()\n\nexport {\n Util,\n Alert,\n Button,\n Carousel,\n Collapse,\n Dropdown,\n Modal,\n Popover,\n Scrollspy,\n Tab,\n Toast,\n Tooltip\n}\n"
|
||
|
],
|
||
|
"names": [
|
||
|
"TRANSITION_END",
|
||
|
"MAX_UID",
|
||
|
"MILLISECONDS_MULTIPLIER",
|
||
|
"toType",
|
||
|
"obj",
|
||
|
"toString",
|
||
|
"call",
|
||
|
"match",
|
||
|
"toLowerCase",
|
||
|
"getSpecialTransitionEndEvent",
|
||
|
"bindType",
|
||
|
"delegateType",
|
||
|
"handle",
|
||
|
"event",
|
||
|
"$",
|
||
|
"target",
|
||
|
"is",
|
||
|
"handleObj",
|
||
|
"handler",
|
||
|
"apply",
|
||
|
"arguments",
|
||
|
"undefined",
|
||
|
"transitionEndEmulator",
|
||
|
"duration",
|
||
|
"called",
|
||
|
"one",
|
||
|
"Util",
|
||
|
"setTimeout",
|
||
|
"triggerTransitionEnd",
|
||
|
"setTransitionEndSupport",
|
||
|
"fn",
|
||
|
"emulateTransitionEnd",
|
||
|
"special",
|
||
|
"getUID",
|
||
|
"prefix",
|
||
|
"Math",
|
||
|
"random",
|
||
|
"document",
|
||
|
"getElementById",
|
||
|
"getSelectorFromElement",
|
||
|
"element",
|
||
|
"selector",
|
||
|
"getAttribute",
|
||
|
"hrefAttr",
|
||
|
"trim",
|
||
|
"querySelector",
|
||
|
"err",
|
||
|
"getTransitionDurationFromElement",
|
||
|
"transitionDuration",
|
||
|
"css",
|
||
|
"transitionDelay",
|
||
|
"floatTransitionDuration",
|
||
|
"parseFloat",
|
||
|
"floatTransitionDelay",
|
||
|
"split",
|
||
|
"reflow",
|
||
|
"offsetHeight",
|
||
|
"trigger",
|
||
|
"supportsTransitionEnd",
|
||
|
"Boolean",
|
||
|
"isElement",
|
||
|
"nodeType",
|
||
|
"typeCheckConfig",
|
||
|
"componentName",
|
||
|
"config",
|
||
|
"configTypes",
|
||
|
"property",
|
||
|
"Object",
|
||
|
"prototype",
|
||
|
"hasOwnProperty",
|
||
|
"expectedTypes",
|
||
|
"value",
|
||
|
"valueType",
|
||
|
"RegExp",
|
||
|
"test",
|
||
|
"Error",
|
||
|
"toUpperCase",
|
||
|
"findShadowRoot",
|
||
|
"documentElement",
|
||
|
"attachShadow",
|
||
|
"getRootNode",
|
||
|
"root",
|
||
|
"ShadowRoot",
|
||
|
"parentNode",
|
||
|
"NAME",
|
||
|
"VERSION",
|
||
|
"DATA_KEY",
|
||
|
"EVENT_KEY",
|
||
|
"DATA_API_KEY",
|
||
|
"JQUERY_NO_CONFLICT",
|
||
|
"Selector",
|
||
|
"DISMISS",
|
||
|
"Event",
|
||
|
"CLOSE",
|
||
|
"CLOSED",
|
||
|
"CLICK_DATA_API",
|
||
|
"ClassName",
|
||
|
"ALERT",
|
||
|
"FADE",
|
||
|
"SHOW",
|
||
|
"Alert",
|
||
|
"_element",
|
||
|
"close",
|
||
|
"rootElement",
|
||
|
"_getRootElement",
|
||
|
"customEvent",
|
||
|
"_triggerCloseEvent",
|
||
|
"isDefaultPrevented",
|
||
|
"_removeElement",
|
||
|
"dispose",
|
||
|
"removeData",
|
||
|
"parent",
|
||
|
"closest",
|
||
|
"closeEvent",
|
||
|
"removeClass",
|
||
|
"hasClass",
|
||
|
"_destroyElement",
|
||
|
"detach",
|
||
|
"remove",
|
||
|
"_jQueryInterface",
|
||
|
"each",
|
||
|
"$element",
|
||
|
"data",
|
||
|
"_handleDismiss",
|
||
|
"alertInstance",
|
||
|
"preventDefault",
|
||
|
"on",
|
||
|
"Constructor",
|
||
|
"noConflict",
|
||
|
"ACTIVE",
|
||
|
"BUTTON",
|
||
|
"FOCUS",
|
||
|
"DATA_TOGGLE_CARROT",
|
||
|
"DATA_TOGGLE",
|
||
|
"INPUT",
|
||
|
"FOCUS_BLUR_DATA_API",
|
||
|
"Button",
|
||
|
"toggle",
|
||
|
"triggerChangeEvent",
|
||
|
"addAriaPressed",
|
||
|
"input",
|
||
|
"type",
|
||
|
"checked",
|
||
|
"classList",
|
||
|
"contains",
|
||
|
"activeElement",
|
||
|
"hasAttribute",
|
||
|
"focus",
|
||
|
"setAttribute",
|
||
|
"toggleClass",
|
||
|
"button",
|
||
|
"ARROW_LEFT_KEYCODE",
|
||
|
"ARROW_RIGHT_KEYCODE",
|
||
|
"TOUCHEVENT_COMPAT_WAIT",
|
||
|
"SWIPE_THRESHOLD",
|
||
|
"Default",
|
||
|
"interval",
|
||
|
"keyboard",
|
||
|
"slide",
|
||
|
"pause",
|
||
|
"wrap",
|
||
|
"touch",
|
||
|
"DefaultType",
|
||
|
"Direction",
|
||
|
"NEXT",
|
||
|
"PREV",
|
||
|
"LEFT",
|
||
|
"RIGHT",
|
||
|
"SLIDE",
|
||
|
"SLID",
|
||
|
"KEYDOWN",
|
||
|
"MOUSEENTER",
|
||
|
"MOUSELEAVE",
|
||
|
"TOUCHSTART",
|
||
|
"TOUCHMOVE",
|
||
|
"TOUCHEND",
|
||
|
"POINTERDOWN",
|
||
|
"POINTERUP",
|
||
|
"DRAG_START",
|
||
|
"LOAD_DATA_API",
|
||
|
"CAROUSEL",
|
||
|
"ITEM",
|
||
|
"POINTER_EVENT",
|
||
|
"ACTIVE_ITEM",
|
||
|
"ITEM_IMG",
|
||
|
"NEXT_PREV",
|
||
|
"INDICATORS",
|
||
|
"DATA_SLIDE",
|
||
|
"DATA_RIDE",
|
||
|
"PointerType",
|
||
|
"TOUCH",
|
||
|
"PEN",
|
||
|
"Carousel",
|
||
|
"_items",
|
||
|
"_interval",
|
||
|
"_activeElement",
|
||
|
"_isPaused",
|
||
|
"_isSliding",
|
||
|
"touchTimeout",
|
||
|
"touchStartX",
|
||
|
"touchDeltaX",
|
||
|
"_config",
|
||
|
"_getConfig",
|
||
|
"_indicatorsElement",
|
||
|
"_touchSupported",
|
||
|
"navigator",
|
||
|
"maxTouchPoints",
|
||
|
"_pointerEvent",
|
||
|
"window",
|
||
|
"PointerEvent",
|
||
|
"MSPointerEvent",
|
||
|
"_addEventListeners",
|
||
|
"next",
|
||
|
"_slide",
|
||
|
"nextWhenVisible",
|
||
|
"hidden",
|
||
|
"prev",
|
||
|
"cycle",
|
||
|
"clearInterval",
|
||
|
"setInterval",
|
||
|
"visibilityState",
|
||
|
"bind",
|
||
|
"to",
|
||
|
"index",
|
||
|
"activeIndex",
|
||
|
"_getItemIndex",
|
||
|
"length",
|
||
|
"direction",
|
||
|
"off",
|
||
|
"_handleSwipe",
|
||
|
"absDeltax",
|
||
|
"abs",
|
||
|
"_keydown",
|
||
|
"_addTouchEventListeners",
|
||
|
"start",
|
||
|
"originalEvent",
|
||
|
"pointerType",
|
||
|
"clientX",
|
||
|
"touches",
|
||
|
"move",
|
||
|
"end",
|
||
|
"clearTimeout",
|
||
|
"querySelectorAll",
|
||
|
"e",
|
||
|
"add",
|
||
|
"tagName",
|
||
|
"which",
|
||
|
"slice",
|
||
|
"indexOf",
|
||
|
"_getItemByDirection",
|
||
|
"isNextDirection",
|
||
|
"isPrevDirection",
|
||
|
"lastItemIndex",
|
||
|
"isGoingToWrap",
|
||
|
"delta",
|
||
|
"itemIndex",
|
||
|
"_triggerSlideEvent",
|
||
|
"relatedTarget",
|
||
|
"eventDirectionName",
|
||
|
"targetIndex",
|
||
|
"fromIndex",
|
||
|
"slideEvent",
|
||
|
"from",
|
||
|
"_setActiveIndicatorElement",
|
||
|
"indicators",
|
||
|
"nextIndicator",
|
||
|
"children",
|
||
|
"addClass",
|
||
|
"activeElementIndex",
|
||
|
"nextElement",
|
||
|
"nextElementIndex",
|
||
|
"isCycling",
|
||
|
"directionalClassName",
|
||
|
"orderClassName",
|
||
|
"slidEvent",
|
||
|
"nextElementInterval",
|
||
|
"parseInt",
|
||
|
"defaultInterval",
|
||
|
"action",
|
||
|
"TypeError",
|
||
|
"ride",
|
||
|
"_dataApiClickHandler",
|
||
|
"slideIndex",
|
||
|
"carousels",
|
||
|
"i",
|
||
|
"len",
|
||
|
"$carousel",
|
||
|
"SHOWN",
|
||
|
"HIDE",
|
||
|
"HIDDEN",
|
||
|
"COLLAPSE",
|
||
|
"COLLAPSING",
|
||
|
"COLLAPSED",
|
||
|
"Dimension",
|
||
|
"WIDTH",
|
||
|
"HEIGHT",
|
||
|
"ACTIVES",
|
||
|
"Collapse",
|
||
|
"_isTransitioning",
|
||
|
"_triggerArray",
|
||
|
"id",
|
||
|
"toggleList",
|
||
|
"elem",
|
||
|
"filterElement",
|
||
|
"filter",
|
||
|
"foundElem",
|
||
|
"_selector",
|
||
|
"push",
|
||
|
"_parent",
|
||
|
"_getParent",
|
||
|
"_addAriaAndCollapsedClass",
|
||
|
"hide",
|
||
|
"show",
|
||
|
"actives",
|
||
|
"activesData",
|
||
|
"not",
|
||
|
"startEvent",
|
||
|
"dimension",
|
||
|
"_getDimension",
|
||
|
"style",
|
||
|
"attr",
|
||
|
"setTransitioning",
|
||
|
"complete",
|
||
|
"capitalizedDimension",
|
||
|
"scrollSize",
|
||
|
"getBoundingClientRect",
|
||
|
"triggerArrayLength",
|
||
|
"$elem",
|
||
|
"isTransitioning",
|
||
|
"hasWidth",
|
||
|
"jquery",
|
||
|
"_getTargetFromElement",
|
||
|
"triggerArray",
|
||
|
"isOpen",
|
||
|
"$this",
|
||
|
"currentTarget",
|
||
|
"$trigger",
|
||
|
"selectors",
|
||
|
"$target",
|
||
|
"ESCAPE_KEYCODE",
|
||
|
"SPACE_KEYCODE",
|
||
|
"TAB_KEYCODE",
|
||
|
"ARROW_UP_KEYCODE",
|
||
|
"ARROW_DOWN_KEYCODE",
|
||
|
"RIGHT_MOUSE_BUTTON_WHICH",
|
||
|
"REGEXP_KEYDOWN",
|
||
|
"CLICK",
|
||
|
"KEYDOWN_DATA_API",
|
||
|
"KEYUP_DATA_API",
|
||
|
"DISABLED",
|
||
|
"DROPUP",
|
||
|
"DROPRIGHT",
|
||
|
"DROPLEFT",
|
||
|
"MENURIGHT",
|
||
|
"MENULEFT",
|
||
|
"POSITION_STATIC",
|
||
|
"FORM_CHILD",
|
||
|
"MENU",
|
||
|
"NAVBAR_NAV",
|
||
|
"VISIBLE_ITEMS",
|
||
|
"AttachmentMap",
|
||
|
"TOP",
|
||
|
"TOPEND",
|
||
|
"BOTTOM",
|
||
|
"BOTTOMEND",
|
||
|
"RIGHTEND",
|
||
|
"LEFTEND",
|
||
|
"offset",
|
||
|
"flip",
|
||
|
"boundary",
|
||
|
"reference",
|
||
|
"display",
|
||
|
"Dropdown",
|
||
|
"_popper",
|
||
|
"_menu",
|
||
|
"_getMenuElement",
|
||
|
"_inNavbar",
|
||
|
"_detectNavbar",
|
||
|
"disabled",
|
||
|
"_getParentFromElement",
|
||
|
"isActive",
|
||
|
"_clearMenus",
|
||
|
"showEvent",
|
||
|
"Popper",
|
||
|
"referenceElement",
|
||
|
"_getPopperConfig",
|
||
|
"body",
|
||
|
"noop",
|
||
|
"hideEvent",
|
||
|
"destroy",
|
||
|
"update",
|
||
|
"scheduleUpdate",
|
||
|
"stopPropagation",
|
||
|
"constructor",
|
||
|
"_getPlacement",
|
||
|
"$parentDropdown",
|
||
|
"placement",
|
||
|
"_getOffset",
|
||
|
"offsets",
|
||
|
"popperConfig",
|
||
|
"modifiers",
|
||
|
"enabled",
|
||
|
"preventOverflow",
|
||
|
"boundariesElement",
|
||
|
"applyStyle",
|
||
|
"toggles",
|
||
|
"context",
|
||
|
"clickEvent",
|
||
|
"dropdownMenu",
|
||
|
"_dataApiKeydownHandler",
|
||
|
"items",
|
||
|
"backdrop",
|
||
|
"FOCUSIN",
|
||
|
"RESIZE",
|
||
|
"CLICK_DISMISS",
|
||
|
"KEYDOWN_DISMISS",
|
||
|
"MOUSEUP_DISMISS",
|
||
|
"MOUSEDOWN_DISMISS",
|
||
|
"SCROLLABLE",
|
||
|
"SCROLLBAR_MEASURER",
|
||
|
"BACKDROP",
|
||
|
"OPEN",
|
||
|
"DIALOG",
|
||
|
"MODAL_BODY",
|
||
|
"DATA_DISMISS",
|
||
|
"FIXED_CONTENT",
|
||
|
"STICKY_CONTENT",
|
||
|
"Modal",
|
||
|
"_dialog",
|
||
|
"_backdrop",
|
||
|
"_isShown",
|
||
|
"_isBodyOverflowing",
|
||
|
"_ignoreBackdropClick",
|
||
|
"_scrollbarWidth",
|
||
|
"_checkScrollbar",
|
||
|
"_setScrollbar",
|
||
|
"_adjustDialog",
|
||
|
"_setEscapeEvent",
|
||
|
"_setResizeEvent",
|
||
|
"_showBackdrop",
|
||
|
"_showElement",
|
||
|
"transition",
|
||
|
"_hideModal",
|
||
|
"forEach",
|
||
|
"htmlElement",
|
||
|
"handleUpdate",
|
||
|
"Node",
|
||
|
"ELEMENT_NODE",
|
||
|
"appendChild",
|
||
|
"removeAttribute",
|
||
|
"scrollTop",
|
||
|
"_enforceFocus",
|
||
|
"shownEvent",
|
||
|
"transitionComplete",
|
||
|
"has",
|
||
|
"_resetAdjustments",
|
||
|
"_resetScrollbar",
|
||
|
"_removeBackdrop",
|
||
|
"callback",
|
||
|
"animate",
|
||
|
"createElement",
|
||
|
"className",
|
||
|
"appendTo",
|
||
|
"backdropTransitionDuration",
|
||
|
"callbackRemove",
|
||
|
"isModalOverflowing",
|
||
|
"scrollHeight",
|
||
|
"clientHeight",
|
||
|
"paddingLeft",
|
||
|
"paddingRight",
|
||
|
"rect",
|
||
|
"left",
|
||
|
"right",
|
||
|
"innerWidth",
|
||
|
"_getScrollbarWidth",
|
||
|
"fixedContent",
|
||
|
"stickyContent",
|
||
|
"actualPadding",
|
||
|
"calculatedPadding",
|
||
|
"actualMargin",
|
||
|
"marginRight",
|
||
|
"calculatedMargin",
|
||
|
"padding",
|
||
|
"elements",
|
||
|
"margin",
|
||
|
"scrollDiv",
|
||
|
"scrollbarWidth",
|
||
|
"width",
|
||
|
"clientWidth",
|
||
|
"removeChild",
|
||
|
"uriAttrs",
|
||
|
"ARIA_ATTRIBUTE_PATTERN",
|
||
|
"DefaultWhitelist",
|
||
|
"a",
|
||
|
"area",
|
||
|
"b",
|
||
|
"br",
|
||
|
"col",
|
||
|
"code",
|
||
|
"div",
|
||
|
"em",
|
||
|
"hr",
|
||
|
"h1",
|
||
|
"h2",
|
||
|
"h3",
|
||
|
"h4",
|
||
|
"h5",
|
||
|
"h6",
|
||
|
"img",
|
||
|
"li",
|
||
|
"ol",
|
||
|
"p",
|
||
|
"pre",
|
||
|
"s",
|
||
|
"small",
|
||
|
"span",
|
||
|
"sub",
|
||
|
"sup",
|
||
|
"strong",
|
||
|
"u",
|
||
|
"ul",
|
||
|
"SAFE_URL_PATTERN",
|
||
|
"DATA_URL_PATTERN",
|
||
|
"allowedAttribute",
|
||
|
"allowedAttributeList",
|
||
|
"attrName",
|
||
|
"nodeName",
|
||
|
"nodeValue",
|
||
|
"regExp",
|
||
|
"attrRegex",
|
||
|
"l",
|
||
|
"sanitizeHtml",
|
||
|
"unsafeHtml",
|
||
|
"whiteList",
|
||
|
"sanitizeFn",
|
||
|
"domParser",
|
||
|
"DOMParser",
|
||
|
"createdDocument",
|
||
|
"parseFromString",
|
||
|
"whitelistKeys",
|
||
|
"keys",
|
||
|
"el",
|
||
|
"elName",
|
||
|
"attributeList",
|
||
|
"attributes",
|
||
|
"whitelistedAttributes",
|
||
|
"concat",
|
||
|
"innerHTML",
|
||
|
"CLASS_PREFIX",
|
||
|
"BSCLS_PREFIX_REGEX",
|
||
|
"DISALLOWED_ATTRIBUTES",
|
||
|
"animation",
|
||
|
"template",
|
||
|
"title",
|
||
|
"delay",
|
||
|
"html",
|
||
|
"container",
|
||
|
"fallbackPlacement",
|
||
|
"sanitize",
|
||
|
"AUTO",
|
||
|
"HoverState",
|
||
|
"OUT",
|
||
|
"INSERTED",
|
||
|
"FOCUSOUT",
|
||
|
"TOOLTIP",
|
||
|
"TOOLTIP_INNER",
|
||
|
"ARROW",
|
||
|
"Trigger",
|
||
|
"HOVER",
|
||
|
"MANUAL",
|
||
|
"Tooltip",
|
||
|
"_isEnabled",
|
||
|
"_timeout",
|
||
|
"_hoverState",
|
||
|
"_activeTrigger",
|
||
|
"tip",
|
||
|
"_setListeners",
|
||
|
"enable",
|
||
|
"disable",
|
||
|
"toggleEnabled",
|
||
|
"dataKey",
|
||
|
"_getDelegateConfig",
|
||
|
"click",
|
||
|
"_isWithActiveTrigger",
|
||
|
"_enter",
|
||
|
"_leave",
|
||
|
"getTipElement",
|
||
|
"isWithContent",
|
||
|
"shadowRoot",
|
||
|
"isInTheDom",
|
||
|
"ownerDocument",
|
||
|
"tipId",
|
||
|
"setContent",
|
||
|
"attachment",
|
||
|
"_getAttachment",
|
||
|
"addAttachmentClass",
|
||
|
"_getContainer",
|
||
|
"behavior",
|
||
|
"arrow",
|
||
|
"onCreate",
|
||
|
"originalPlacement",
|
||
|
"_handlePopperPlacementChange",
|
||
|
"onUpdate",
|
||
|
"_fixTransition",
|
||
|
"prevHoverState",
|
||
|
"_cleanTipClass",
|
||
|
"getTitle",
|
||
|
"setElementContent",
|
||
|
"content",
|
||
|
"empty",
|
||
|
"append",
|
||
|
"text",
|
||
|
"find",
|
||
|
"triggers",
|
||
|
"eventIn",
|
||
|
"eventOut",
|
||
|
"_fixTitle",
|
||
|
"titleType",
|
||
|
"dataAttributes",
|
||
|
"dataAttr",
|
||
|
"key",
|
||
|
"$tip",
|
||
|
"tabClass",
|
||
|
"join",
|
||
|
"popperData",
|
||
|
"popperInstance",
|
||
|
"instance",
|
||
|
"popper",
|
||
|
"initConfigAnimation",
|
||
|
"TITLE",
|
||
|
"CONTENT",
|
||
|
"Popover",
|
||
|
"_getContent",
|
||
|
"method",
|
||
|
"ACTIVATE",
|
||
|
"SCROLL",
|
||
|
"DROPDOWN_ITEM",
|
||
|
"DROPDOWN_MENU",
|
||
|
"DATA_SPY",
|
||
|
"NAV_LIST_GROUP",
|
||
|
"NAV_LINKS",
|
||
|
"NAV_ITEMS",
|
||
|
"LIST_ITEMS",
|
||
|
"DROPDOWN",
|
||
|
"DROPDOWN_ITEMS",
|
||
|
"DROPDOWN_TOGGLE",
|
||
|
"OffsetMethod",
|
||
|
"OFFSET",
|
||
|
"POSITION",
|
||
|
"ScrollSpy",
|
||
|
"_scrollElement",
|
||
|
"_offsets",
|
||
|
"_targets",
|
||
|
"_activeTarget",
|
||
|
"_scrollHeight",
|
||
|
"_process",
|
||
|
"refresh",
|
||
|
"autoMethod",
|
||
|
"offsetMethod",
|
||
|
"offsetBase",
|
||
|
"_getScrollTop",
|
||
|
"_getScrollHeight",
|
||
|
"targets",
|
||
|
"map",
|
||
|
"targetSelector",
|
||
|
"targetBCR",
|
||
|
"height",
|
||
|
"top",
|
||
|
"item",
|
||
|
"sort",
|
||
|
"pageYOffset",
|
||
|
"max",
|
||
|
"_getOffsetHeight",
|
||
|
"innerHeight",
|
||
|
"maxScroll",
|
||
|
"_activate",
|
||
|
"_clear",
|
||
|
"offsetLength",
|
||
|
"isActiveTarget",
|
||
|
"queries",
|
||
|
"$link",
|
||
|
"parents",
|
||
|
"node",
|
||
|
"scrollSpys",
|
||
|
"scrollSpysLength",
|
||
|
"$spy",
|
||
|
"ACTIVE_UL",
|
||
|
"DROPDOWN_ACTIVE_CHILD",
|
||
|
"Tab",
|
||
|
"previous",
|
||
|
"listElement",
|
||
|
"itemSelector",
|
||
|
"makeArray",
|
||
|
"hiddenEvent",
|
||
|
"activeElements",
|
||
|
"active",
|
||
|
"_transitionComplete",
|
||
|
"dropdownChild",
|
||
|
"dropdownElement",
|
||
|
"dropdownToggleList",
|
||
|
"SHOWING",
|
||
|
"autohide",
|
||
|
"Toast",
|
||
|
"withoutTimeout",
|
||
|
"_close",
|
||
|
"version",
|
||
|
"minMajor",
|
||
|
"ltMajor",
|
||
|
"minMinor",
|
||
|
"minPatch",
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