[Frontend] Cookie 調整 12 小時有效期限
This commit is contained in:
		
							parent
							
								
									3e49ef1943
								
							
						
					
					
						commit
						f0b228c0b6
					
				@ -23,25 +23,18 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
    <div class="col-sm-12 col-xl-7">
 | 
					    <div class="col-sm-12 col-xl-6">
 | 
				
			||||||
 | 
					        <div id="forgeViewer"></div>
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
</div>
 | 
					</div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
<script>
 | 
					<script>
 | 
				
			||||||
    var allDevList = [];  //全設備清單
 | 
					    var allDevList = [];  //全設備清單
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    $(function () {
 | 
					    $(function () {
 | 
				
			||||||
        getFloDevList();
 | 
					        getFloDevList();
 | 
				
			||||||
        setLightColor();
 | 
					        setLightColor();
 | 
				
			||||||
 | 
					        show3DModel();
 | 
				
			||||||
 | 
					 | 
				
			||||||
    })
 | 
					    })
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    //baja 訂閱設備
 | 
					    //baja 訂閱設備
 | 
				
			||||||
@ -169,5 +162,9 @@
 | 
				
			|||||||
        return strHtml;
 | 
					        return strHtml;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    function show3DModel() {
 | 
				
			||||||
 | 
					        launchViewer("dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6dnNjb2RlX2ZvcmdlX3Rlc3QvJUUzJTgwJTkwQVJDJUUzJTgwJTkxQjFGXzIwMjJfMTJfMDQubndj", (viewer, nodeIds) => {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        });
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
</script>
 | 
					</script>
 | 
				
			||||||
@ -2374,7 +2374,7 @@ License: You must have a valid license purchased only from wrapbootstrap.com (li
 | 
				
			|||||||
                        }
 | 
					                        }
 | 
				
			||||||
                        else {
 | 
					                        else {
 | 
				
			||||||
                            /*toast_ok(rel.msg);*/
 | 
					                            /*toast_ok(rel.msg);*/
 | 
				
			||||||
                            cookies.create("JWT-Authorization", rel.data.token);
 | 
					                            cookies.create("JWT-Authorization", rel.data.token, 12 * 60 * 60 * 1000);
 | 
				
			||||||
                            isValidLogin();
 | 
					                            isValidLogin();
 | 
				
			||||||
                        }
 | 
					                        }
 | 
				
			||||||
                    },
 | 
					                    },
 | 
				
			||||||
 | 
				
			|||||||
@ -197,10 +197,10 @@ class CookieHelper {
 | 
				
			|||||||
    *  @author Darren Chen
 | 
					    *  @author Darren Chen
 | 
				
			||||||
    *  @date   2018/07/24
 | 
					    *  @date   2018/07/24
 | 
				
			||||||
    */
 | 
					    */
 | 
				
			||||||
    create = function (name, value) {
 | 
					    create = function (name, value, time = 2 * 24 * 60 * 60 * 1000) {
 | 
				
			||||||
        let expires = new Date();
 | 
					        let expires = new Date();
 | 
				
			||||||
        //有效時間保存 2 天 2*24*60*60*1000
 | 
					        //有效時間保存 2 天 2*24*60*60*1000
 | 
				
			||||||
        expires.setTime(expires.getTime() + 172800000);
 | 
					        expires.setTime(expires.getTime() + time);
 | 
				
			||||||
        document.cookie = name + "=" + escape(value) + ";expires=" + expires.toGMTString();
 | 
					        document.cookie = name + "=" + escape(value) + ";expires=" + expires.toGMTString();
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    /* @deprecated since version 0.1 
 | 
					    /* @deprecated since version 0.1 
 | 
				
			||||||
 | 
				
			|||||||
@ -21265,418 +21265,418 @@ return Popper;
 | 
				
			|||||||
   * ------------------------------------------------------------------------
 | 
					   * ------------------------------------------------------------------------
 | 
				
			||||||
   */
 | 
					   */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  var Dropdown = /*#__PURE__*/function () {
 | 
					  //var Dropdown = /*#__PURE__*/function () {
 | 
				
			||||||
    function Dropdown(element, config) {
 | 
					  //  function Dropdown(element, config) {
 | 
				
			||||||
      this._element = element;
 | 
					  //    this._element = element;
 | 
				
			||||||
      this._popper = null;
 | 
					  //    this._popper = null;
 | 
				
			||||||
      this._config = this._getConfig(config);
 | 
					  //    this._config = this._getConfig(config);
 | 
				
			||||||
      this._menu = this._getMenuElement();
 | 
					  //    this._menu = this._getMenuElement();
 | 
				
			||||||
      this._inNavbar = this._detectNavbar();
 | 
					  //    this._inNavbar = this._detectNavbar();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      this._addEventListeners();
 | 
					  //    this._addEventListeners();
 | 
				
			||||||
    } // Getters
 | 
					  //  } // Getters
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    var _proto = Dropdown.prototype;
 | 
					  //  var _proto = Dropdown.prototype;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // Public
 | 
					  //  // Public
 | 
				
			||||||
    _proto.toggle = function toggle() {
 | 
					  //  _proto.toggle = function toggle() {
 | 
				
			||||||
      if (this._element.disabled || $(this._element).hasClass(CLASS_NAME_DISABLED)) {
 | 
					  //    if (this._element.disabled || $(this._element).hasClass(CLASS_NAME_DISABLED)) {
 | 
				
			||||||
        return;
 | 
					  //      return;
 | 
				
			||||||
      }
 | 
					  //    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      var isActive = $(this._menu).hasClass(CLASS_NAME_SHOW$2);
 | 
					  //    var isActive = $(this._menu).hasClass(CLASS_NAME_SHOW$2);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      Dropdown._clearMenus();
 | 
					  //    Dropdown._clearMenus();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      if (isActive) {
 | 
					  //    if (isActive) {
 | 
				
			||||||
        return;
 | 
					  //      return;
 | 
				
			||||||
      }
 | 
					  //    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      this.show(true);
 | 
					  //    this.show(true);
 | 
				
			||||||
    };
 | 
					  //  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    _proto.show = function show(usePopper) {
 | 
					  //  _proto.show = function show(usePopper) {
 | 
				
			||||||
      if (usePopper === void 0) {
 | 
					  //    if (usePopper === void 0) {
 | 
				
			||||||
        usePopper = false;
 | 
					  //      usePopper = false;
 | 
				
			||||||
      }
 | 
					  //    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      if (this._element.disabled || $(this._element).hasClass(CLASS_NAME_DISABLED) || $(this._menu).hasClass(CLASS_NAME_SHOW$2)) {
 | 
					  //    if (this._element.disabled || $(this._element).hasClass(CLASS_NAME_DISABLED) || $(this._menu).hasClass(CLASS_NAME_SHOW$2)) {
 | 
				
			||||||
        return;
 | 
					  //      return;
 | 
				
			||||||
      }
 | 
					  //    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      var relatedTarget = {
 | 
					  //    var relatedTarget = {
 | 
				
			||||||
        relatedTarget: this._element
 | 
					  //      relatedTarget: this._element
 | 
				
			||||||
      };
 | 
					  //    };
 | 
				
			||||||
      var showEvent = $.Event(EVENT_SHOW$1, relatedTarget);
 | 
					  //    var showEvent = $.Event(EVENT_SHOW$1, relatedTarget);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      var parent = Dropdown._getParentFromElement(this._element);
 | 
					  //    var parent = Dropdown._getParentFromElement(this._element);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      $(parent).trigger(showEvent);
 | 
					  //    $(parent).trigger(showEvent);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      if (showEvent.isDefaultPrevented()) {
 | 
					  //    if (showEvent.isDefaultPrevented()) {
 | 
				
			||||||
        return;
 | 
					  //      return;
 | 
				
			||||||
      } // Disable totally Popper.js for Dropdown in Navbar
 | 
					  //    } // Disable totally Popper.js for Dropdown in Navbar
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      if (!this._inNavbar && usePopper) {
 | 
					  //    if (!this._inNavbar && usePopper) {
 | 
				
			||||||
        /**
 | 
					  //      /**
 | 
				
			||||||
         * Check for Popper dependency
 | 
					  //       * Check for Popper dependency
 | 
				
			||||||
         * Popper - https://popper.js.org
 | 
					  //       * Popper - https://popper.js.org
 | 
				
			||||||
         */
 | 
					  //       */
 | 
				
			||||||
        if (typeof Popper === 'undefined') {
 | 
					  //      if (typeof Popper === 'undefined') {
 | 
				
			||||||
          throw new TypeError('Bootstrap\'s dropdowns require Popper.js (https://popper.js.org/)');
 | 
					  //        throw new TypeError('Bootstrap\'s dropdowns require Popper.js (https://popper.js.org/)');
 | 
				
			||||||
        }
 | 
					  //      }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        var referenceElement = this._element;
 | 
					  //      var referenceElement = this._element;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if (this._config.reference === 'parent') {
 | 
					  //      if (this._config.reference === 'parent') {
 | 
				
			||||||
          referenceElement = parent;
 | 
					  //        referenceElement = parent;
 | 
				
			||||||
        } else if (Util.isElement(this._config.reference)) {
 | 
					  //      } else if (Util.isElement(this._config.reference)) {
 | 
				
			||||||
          referenceElement = this._config.reference; // Check if it's jQuery element
 | 
					  //        referenceElement = this._config.reference; // Check if it's jQuery element
 | 
				
			||||||
 | 
					
 | 
				
			||||||
          if (typeof this._config.reference.jquery !== 'undefined') {
 | 
					  //        if (typeof this._config.reference.jquery !== 'undefined') {
 | 
				
			||||||
            referenceElement = this._config.reference[0];
 | 
					  //          referenceElement = this._config.reference[0];
 | 
				
			||||||
          }
 | 
					  //        }
 | 
				
			||||||
        } // If boundary is not `scrollParent`, then set position to `static`
 | 
					  //      } // If boundary is not `scrollParent`, then set position to `static`
 | 
				
			||||||
        // to allow the menu to "escape" the scroll parent's boundaries
 | 
					  //      // to allow the menu to "escape" the scroll parent's boundaries
 | 
				
			||||||
        // https://github.com/twbs/bootstrap/issues/24251
 | 
					  //      // https://github.com/twbs/bootstrap/issues/24251
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if (this._config.boundary !== 'scrollParent') {
 | 
					  //      if (this._config.boundary !== 'scrollParent') {
 | 
				
			||||||
          $(parent).addClass(CLASS_NAME_POSITION_STATIC);
 | 
					  //        $(parent).addClass(CLASS_NAME_POSITION_STATIC);
 | 
				
			||||||
        }
 | 
					  //      }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        this._popper = new Popper(referenceElement, this._menu, this._getPopperConfig());
 | 
					  //      this._popper = new Popper(referenceElement, this._menu, this._getPopperConfig());
 | 
				
			||||||
      } // If this is a touch-enabled device we add extra
 | 
					  //    } // If this is a touch-enabled device we add extra
 | 
				
			||||||
      // empty mouseover listeners to the body's immediate children;
 | 
					  //    // empty mouseover listeners to the body's immediate children;
 | 
				
			||||||
      // only needed because of broken event delegation on iOS
 | 
					  //    // only needed because of broken event delegation on iOS
 | 
				
			||||||
      // https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html
 | 
					  //    // https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      if ('ontouchstart' in document.documentElement && $(parent).closest(SELECTOR_NAVBAR_NAV).length === 0) {
 | 
					  //    if ('ontouchstart' in document.documentElement && $(parent).closest(SELECTOR_NAVBAR_NAV).length === 0) {
 | 
				
			||||||
        $(document.body).children().on('mouseover', null, $.noop);
 | 
					  //      $(document.body).children().on('mouseover', null, $.noop);
 | 
				
			||||||
      }
 | 
					  //    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      this._element.focus();
 | 
					  //    this._element.focus();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      this._element.setAttribute('aria-expanded', true);
 | 
					  //    this._element.setAttribute('aria-expanded', true);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      $(this._menu).toggleClass(CLASS_NAME_SHOW$2);
 | 
					  //    $(this._menu).toggleClass(CLASS_NAME_SHOW$2);
 | 
				
			||||||
      $(parent).toggleClass(CLASS_NAME_SHOW$2).trigger($.Event(EVENT_SHOWN$1, relatedTarget));
 | 
					  //    $(parent).toggleClass(CLASS_NAME_SHOW$2).trigger($.Event(EVENT_SHOWN$1, relatedTarget));
 | 
				
			||||||
    };
 | 
					  //  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    _proto.hide = function hide() {
 | 
					  //  _proto.hide = function hide() {
 | 
				
			||||||
      if (this._element.disabled || $(this._element).hasClass(CLASS_NAME_DISABLED) || !$(this._menu).hasClass(CLASS_NAME_SHOW$2)) {
 | 
					  //    if (this._element.disabled || $(this._element).hasClass(CLASS_NAME_DISABLED) || !$(this._menu).hasClass(CLASS_NAME_SHOW$2)) {
 | 
				
			||||||
        return;
 | 
					  //      return;
 | 
				
			||||||
      }
 | 
					  //    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      var relatedTarget = {
 | 
					  //    var relatedTarget = {
 | 
				
			||||||
        relatedTarget: this._element
 | 
					  //      relatedTarget: this._element
 | 
				
			||||||
      };
 | 
					  //    };
 | 
				
			||||||
      var hideEvent = $.Event(EVENT_HIDE$1, relatedTarget);
 | 
					  //    var hideEvent = $.Event(EVENT_HIDE$1, relatedTarget);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      var parent = Dropdown._getParentFromElement(this._element);
 | 
					  //    var parent = Dropdown._getParentFromElement(this._element);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      $(parent).trigger(hideEvent);
 | 
					  //    $(parent).trigger(hideEvent);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      if (hideEvent.isDefaultPrevented()) {
 | 
					  //    if (hideEvent.isDefaultPrevented()) {
 | 
				
			||||||
        return;
 | 
					  //      return;
 | 
				
			||||||
      }
 | 
					  //    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      if (this._popper) {
 | 
					  //    if (this._popper) {
 | 
				
			||||||
        this._popper.destroy();
 | 
					  //      this._popper.destroy();
 | 
				
			||||||
      }
 | 
					  //    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      $(this._menu).toggleClass(CLASS_NAME_SHOW$2);
 | 
					  //    $(this._menu).toggleClass(CLASS_NAME_SHOW$2);
 | 
				
			||||||
      $(parent).toggleClass(CLASS_NAME_SHOW$2).trigger($.Event(EVENT_HIDDEN$1, relatedTarget));
 | 
					  //    $(parent).toggleClass(CLASS_NAME_SHOW$2).trigger($.Event(EVENT_HIDDEN$1, relatedTarget));
 | 
				
			||||||
    };
 | 
					  //  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    _proto.dispose = function dispose() {
 | 
					  //  _proto.dispose = function dispose() {
 | 
				
			||||||
      $.removeData(this._element, DATA_KEY$4);
 | 
					  //    $.removeData(this._element, DATA_KEY$4);
 | 
				
			||||||
      $(this._element).off(EVENT_KEY$4);
 | 
					  //    $(this._element).off(EVENT_KEY$4);
 | 
				
			||||||
      this._element = null;
 | 
					  //    this._element = null;
 | 
				
			||||||
      this._menu = null;
 | 
					  //    this._menu = null;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      if (this._popper !== null) {
 | 
					  //    if (this._popper !== null) {
 | 
				
			||||||
        this._popper.destroy();
 | 
					  //      this._popper.destroy();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        this._popper = null;
 | 
					  //      this._popper = null;
 | 
				
			||||||
      }
 | 
					  //    }
 | 
				
			||||||
    };
 | 
					  //  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    _proto.update = function update() {
 | 
					  //  _proto.update = function update() {
 | 
				
			||||||
      this._inNavbar = this._detectNavbar();
 | 
					  //    this._inNavbar = this._detectNavbar();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      if (this._popper !== null) {
 | 
					  //    if (this._popper !== null) {
 | 
				
			||||||
        this._popper.scheduleUpdate();
 | 
					  //      this._popper.scheduleUpdate();
 | 
				
			||||||
      }
 | 
					  //    }
 | 
				
			||||||
    } // Private
 | 
					  //  } // Private
 | 
				
			||||||
    ;
 | 
					  //  ;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    _proto._addEventListeners = function _addEventListeners() {
 | 
					  //  _proto._addEventListeners = function _addEventListeners() {
 | 
				
			||||||
      var _this = this;
 | 
					  //    var _this = this;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      $(this._element).on(EVENT_CLICK, function (event) {
 | 
					  //    $(this._element).on(EVENT_CLICK, function (event) {
 | 
				
			||||||
        event.preventDefault();
 | 
					  //      event.preventDefault();
 | 
				
			||||||
        event.stopPropagation();
 | 
					  //      event.stopPropagation();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        _this.toggle();
 | 
					  //      _this.toggle();
 | 
				
			||||||
      });
 | 
					  //    });
 | 
				
			||||||
    };
 | 
					  //  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    _proto._getConfig = function _getConfig(config) {
 | 
					  //  _proto._getConfig = function _getConfig(config) {
 | 
				
			||||||
      config = _objectSpread2(_objectSpread2(_objectSpread2({}, this.constructor.Default), $(this._element).data()), config);
 | 
					  //    config = _objectSpread2(_objectSpread2(_objectSpread2({}, this.constructor.Default), $(this._element).data()), config);
 | 
				
			||||||
      Util.typeCheckConfig(NAME$4, config, this.constructor.DefaultType);
 | 
					  //    Util.typeCheckConfig(NAME$4, config, this.constructor.DefaultType);
 | 
				
			||||||
      return config;
 | 
					  //    return config;
 | 
				
			||||||
    };
 | 
					  //  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    _proto._getMenuElement = function _getMenuElement() {
 | 
					  //  _proto._getMenuElement = function _getMenuElement() {
 | 
				
			||||||
      if (!this._menu) {
 | 
					  //    if (!this._menu) {
 | 
				
			||||||
        var parent = Dropdown._getParentFromElement(this._element);
 | 
					  //      var parent = Dropdown._getParentFromElement(this._element);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if (parent) {
 | 
					  //      if (parent) {
 | 
				
			||||||
          this._menu = parent.querySelector(SELECTOR_MENU);
 | 
					  //        this._menu = parent.querySelector(SELECTOR_MENU);
 | 
				
			||||||
        }
 | 
					  //      }
 | 
				
			||||||
      }
 | 
					  //    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      return this._menu;
 | 
					  //    return this._menu;
 | 
				
			||||||
    };
 | 
					  //  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    _proto._getPlacement = function _getPlacement() {
 | 
					  //  _proto._getPlacement = function _getPlacement() {
 | 
				
			||||||
      var $parentDropdown = $(this._element.parentNode);
 | 
					  //    var $parentDropdown = $(this._element.parentNode);
 | 
				
			||||||
      var placement = PLACEMENT_BOTTOM; // Handle dropup
 | 
					  //    var placement = PLACEMENT_BOTTOM; // Handle dropup
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      if ($parentDropdown.hasClass(CLASS_NAME_DROPUP)) {
 | 
					  //    if ($parentDropdown.hasClass(CLASS_NAME_DROPUP)) {
 | 
				
			||||||
        placement = $(this._menu).hasClass(CLASS_NAME_MENURIGHT) ? PLACEMENT_TOPEND : PLACEMENT_TOP;
 | 
					  //      placement = $(this._menu).hasClass(CLASS_NAME_MENURIGHT) ? PLACEMENT_TOPEND : PLACEMENT_TOP;
 | 
				
			||||||
      } else if ($parentDropdown.hasClass(CLASS_NAME_DROPRIGHT)) {
 | 
					  //    } else if ($parentDropdown.hasClass(CLASS_NAME_DROPRIGHT)) {
 | 
				
			||||||
        placement = PLACEMENT_RIGHT;
 | 
					  //      placement = PLACEMENT_RIGHT;
 | 
				
			||||||
      } else if ($parentDropdown.hasClass(CLASS_NAME_DROPLEFT)) {
 | 
					  //    } else if ($parentDropdown.hasClass(CLASS_NAME_DROPLEFT)) {
 | 
				
			||||||
        placement = PLACEMENT_LEFT;
 | 
					  //      placement = PLACEMENT_LEFT;
 | 
				
			||||||
      } else if ($(this._menu).hasClass(CLASS_NAME_MENURIGHT)) {
 | 
					  //    } else if ($(this._menu).hasClass(CLASS_NAME_MENURIGHT)) {
 | 
				
			||||||
        placement = PLACEMENT_BOTTOMEND;
 | 
					  //      placement = PLACEMENT_BOTTOMEND;
 | 
				
			||||||
      }
 | 
					  //    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      return placement;
 | 
					  //    return placement;
 | 
				
			||||||
    };
 | 
					  //  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    _proto._detectNavbar = function _detectNavbar() {
 | 
					  //  _proto._detectNavbar = function _detectNavbar() {
 | 
				
			||||||
      return $(this._element).closest('.navbar').length > 0;
 | 
					  //    return $(this._element).closest('.navbar').length > 0;
 | 
				
			||||||
    };
 | 
					  //  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    _proto._getOffset = function _getOffset() {
 | 
					  //  _proto._getOffset = function _getOffset() {
 | 
				
			||||||
      var _this2 = this;
 | 
					  //    var _this2 = this;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      var offset = {};
 | 
					  //    var offset = {};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      if (typeof this._config.offset === 'function') {
 | 
					  //    if (typeof this._config.offset === 'function') {
 | 
				
			||||||
        offset.fn = function (data) {
 | 
					  //      offset.fn = function (data) {
 | 
				
			||||||
          data.offsets = _objectSpread2(_objectSpread2({}, data.offsets), _this2._config.offset(data.offsets, _this2._element) || {});
 | 
					  //        data.offsets = _objectSpread2(_objectSpread2({}, data.offsets), _this2._config.offset(data.offsets, _this2._element) || {});
 | 
				
			||||||
          return data;
 | 
					  //        return data;
 | 
				
			||||||
        };
 | 
					  //      };
 | 
				
			||||||
      } else {
 | 
					  //    } else {
 | 
				
			||||||
        offset.offset = this._config.offset;
 | 
					  //      offset.offset = this._config.offset;
 | 
				
			||||||
      }
 | 
					  //    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      return offset;
 | 
					  //    return offset;
 | 
				
			||||||
    };
 | 
					  //  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    _proto._getPopperConfig = function _getPopperConfig() {
 | 
					  //  _proto._getPopperConfig = function _getPopperConfig() {
 | 
				
			||||||
      var popperConfig = {
 | 
					  //    var popperConfig = {
 | 
				
			||||||
        placement: this._getPlacement(),
 | 
					  //      placement: this._getPlacement(),
 | 
				
			||||||
        modifiers: {
 | 
					  //      modifiers: {
 | 
				
			||||||
          offset: this._getOffset(),
 | 
					  //        offset: this._getOffset(),
 | 
				
			||||||
          flip: {
 | 
					  //        flip: {
 | 
				
			||||||
            enabled: this._config.flip
 | 
					  //          enabled: this._config.flip
 | 
				
			||||||
          },
 | 
					  //        },
 | 
				
			||||||
          preventOverflow: {
 | 
					  //        preventOverflow: {
 | 
				
			||||||
            boundariesElement: this._config.boundary
 | 
					  //          boundariesElement: this._config.boundary
 | 
				
			||||||
          }
 | 
					  //        }
 | 
				
			||||||
        }
 | 
					  //      }
 | 
				
			||||||
      }; // Disable Popper.js if we have a static display
 | 
					  //    }; // Disable Popper.js if we have a static display
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      if (this._config.display === 'static') {
 | 
					  //    if (this._config.display === 'static') {
 | 
				
			||||||
        popperConfig.modifiers.applyStyle = {
 | 
					  //      popperConfig.modifiers.applyStyle = {
 | 
				
			||||||
          enabled: false
 | 
					  //        enabled: false
 | 
				
			||||||
        };
 | 
					  //      };
 | 
				
			||||||
      }
 | 
					  //    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      return _objectSpread2(_objectSpread2({}, popperConfig), this._config.popperConfig);
 | 
					  //    return _objectSpread2(_objectSpread2({}, popperConfig), this._config.popperConfig);
 | 
				
			||||||
    } // Static
 | 
					  //  } // Static
 | 
				
			||||||
    ;
 | 
					  //  ;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    Dropdown._jQueryInterface = function _jQueryInterface(config) {
 | 
					  //  Dropdown._jQueryInterface = function _jQueryInterface(config) {
 | 
				
			||||||
      return this.each(function () {
 | 
					  //    return this.each(function () {
 | 
				
			||||||
        var data = $(this).data(DATA_KEY$4);
 | 
					  //      var data = $(this).data(DATA_KEY$4);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        var _config = typeof config === 'object' ? config : null;
 | 
					  //      var _config = typeof config === 'object' ? config : null;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if (!data) {
 | 
					  //      if (!data) {
 | 
				
			||||||
          data = new Dropdown(this, _config);
 | 
					  //        data = new Dropdown(this, _config);
 | 
				
			||||||
          $(this).data(DATA_KEY$4, data);
 | 
					  //        $(this).data(DATA_KEY$4, data);
 | 
				
			||||||
        }
 | 
					  //      }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if (typeof config === 'string') {
 | 
					  //      if (typeof config === 'string') {
 | 
				
			||||||
          if (typeof data[config] === 'undefined') {
 | 
					  //        if (typeof data[config] === 'undefined') {
 | 
				
			||||||
            throw new TypeError("No method named \"" + config + "\"");
 | 
					  //          throw new TypeError("No method named \"" + config + "\"");
 | 
				
			||||||
          }
 | 
					  //        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
          data[config]();
 | 
					  //        data[config]();
 | 
				
			||||||
        }
 | 
					  //      }
 | 
				
			||||||
      });
 | 
					  //    });
 | 
				
			||||||
    };
 | 
					  //  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    Dropdown._clearMenus = function _clearMenus(event) {
 | 
					  //  Dropdown._clearMenus = function _clearMenus(event) {
 | 
				
			||||||
      if (event && (event.which === RIGHT_MOUSE_BUTTON_WHICH || event.type === 'keyup' && event.which !== TAB_KEYCODE)) {
 | 
					  //    if (event && (event.which === RIGHT_MOUSE_BUTTON_WHICH || event.type === 'keyup' && event.which !== TAB_KEYCODE)) {
 | 
				
			||||||
        return;
 | 
					  //      return;
 | 
				
			||||||
      }
 | 
					  //    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      var toggles = [].slice.call(document.querySelectorAll(SELECTOR_DATA_TOGGLE$2));
 | 
					  //    var toggles = [].slice.call(document.querySelectorAll(SELECTOR_DATA_TOGGLE$2));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      for (var i = 0, len = toggles.length; i < len; i++) {
 | 
					  //    for (var i = 0, len = toggles.length; i < len; i++) {
 | 
				
			||||||
        var parent = Dropdown._getParentFromElement(toggles[i]);
 | 
					  //      var parent = Dropdown._getParentFromElement(toggles[i]);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        var context = $(toggles[i]).data(DATA_KEY$4);
 | 
					  //      var context = $(toggles[i]).data(DATA_KEY$4);
 | 
				
			||||||
        var relatedTarget = {
 | 
					  //      var relatedTarget = {
 | 
				
			||||||
          relatedTarget: toggles[i]
 | 
					  //        relatedTarget: toggles[i]
 | 
				
			||||||
        };
 | 
					  //      };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if (event && event.type === 'click') {
 | 
					  //      if (event && event.type === 'click') {
 | 
				
			||||||
          relatedTarget.clickEvent = event;
 | 
					  //        relatedTarget.clickEvent = event;
 | 
				
			||||||
        }
 | 
					  //      }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if (!context) {
 | 
					  //      if (!context) {
 | 
				
			||||||
          continue;
 | 
					  //        continue;
 | 
				
			||||||
        }
 | 
					  //      }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        var dropdownMenu = context._menu;
 | 
					  //      var dropdownMenu = context._menu;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if (!$(parent).hasClass(CLASS_NAME_SHOW$2)) {
 | 
					  //      if (!$(parent).hasClass(CLASS_NAME_SHOW$2)) {
 | 
				
			||||||
          continue;
 | 
					  //        continue;
 | 
				
			||||||
        }
 | 
					  //      }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if (event && (event.type === 'click' && /input|textarea/i.test(event.target.tagName) || event.type === 'keyup' && event.which === TAB_KEYCODE) && $.contains(parent, event.target)) {
 | 
					  //      if (event && (event.type === 'click' && /input|textarea/i.test(event.target.tagName) || event.type === 'keyup' && event.which === TAB_KEYCODE) && $.contains(parent, event.target)) {
 | 
				
			||||||
          continue;
 | 
					  //        continue;
 | 
				
			||||||
        }
 | 
					  //      }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        var hideEvent = $.Event(EVENT_HIDE$1, relatedTarget);
 | 
					  //      var hideEvent = $.Event(EVENT_HIDE$1, relatedTarget);
 | 
				
			||||||
        $(parent).trigger(hideEvent);
 | 
					  //      $(parent).trigger(hideEvent);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if (hideEvent.isDefaultPrevented()) {
 | 
					  //      if (hideEvent.isDefaultPrevented()) {
 | 
				
			||||||
          continue;
 | 
					  //        continue;
 | 
				
			||||||
        } // If this is a touch-enabled device we remove the extra
 | 
					  //      } // If this is a touch-enabled device we remove the extra
 | 
				
			||||||
        // empty mouseover listeners we added for iOS support
 | 
					  //      // empty mouseover listeners we added for iOS support
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if ('ontouchstart' in document.documentElement) {
 | 
					  //      if ('ontouchstart' in document.documentElement) {
 | 
				
			||||||
          $(document.body).children().off('mouseover', null, $.noop);
 | 
					  //        $(document.body).children().off('mouseover', null, $.noop);
 | 
				
			||||||
        }
 | 
					  //      }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        toggles[i].setAttribute('aria-expanded', 'false');
 | 
					  //      toggles[i].setAttribute('aria-expanded', 'false');
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if (context._popper) {
 | 
					  //      if (context._popper) {
 | 
				
			||||||
          context._popper.destroy();
 | 
					  //        context._popper.destroy();
 | 
				
			||||||
        }
 | 
					  //      }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        $(dropdownMenu).removeClass(CLASS_NAME_SHOW$2);
 | 
					  //      $(dropdownMenu).removeClass(CLASS_NAME_SHOW$2);
 | 
				
			||||||
        $(parent).removeClass(CLASS_NAME_SHOW$2).trigger($.Event(EVENT_HIDDEN$1, relatedTarget));
 | 
					  //      $(parent).removeClass(CLASS_NAME_SHOW$2).trigger($.Event(EVENT_HIDDEN$1, relatedTarget));
 | 
				
			||||||
      }
 | 
					  //    }
 | 
				
			||||||
    };
 | 
					  //  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    Dropdown._getParentFromElement = function _getParentFromElement(element) {
 | 
					  //  Dropdown._getParentFromElement = function _getParentFromElement(element) {
 | 
				
			||||||
      var parent;
 | 
					  //    var parent;
 | 
				
			||||||
      var selector = Util.getSelectorFromElement(element);
 | 
					  //    var selector = Util.getSelectorFromElement(element);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      if (selector) {
 | 
					  //    if (selector) {
 | 
				
			||||||
        parent = document.querySelector(selector);
 | 
					  //      parent = document.querySelector(selector);
 | 
				
			||||||
      }
 | 
					  //    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      return parent || element.parentNode;
 | 
					  //    return parent || element.parentNode;
 | 
				
			||||||
    } // eslint-disable-next-line complexity
 | 
					  //  } // eslint-disable-next-line complexity
 | 
				
			||||||
    ;
 | 
					  //  ;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    Dropdown._dataApiKeydownHandler = function _dataApiKeydownHandler(event) {
 | 
					  //  Dropdown._dataApiKeydownHandler = function _dataApiKeydownHandler(event) {
 | 
				
			||||||
      // If not input/textarea:
 | 
					  //    // If not input/textarea:
 | 
				
			||||||
      //  - And not a key in REGEXP_KEYDOWN => not a dropdown command
 | 
					  //    //  - And not a key in REGEXP_KEYDOWN => not a dropdown command
 | 
				
			||||||
      // If input/textarea:
 | 
					  //    // If input/textarea:
 | 
				
			||||||
      //  - If space key => not a dropdown command
 | 
					  //    //  - If space key => not a dropdown command
 | 
				
			||||||
      //  - If key is other than escape
 | 
					  //    //  - If key is other than escape
 | 
				
			||||||
      //    - If key is not up or down => not a dropdown command
 | 
					  //    //    - If key is not up or down => not a dropdown command
 | 
				
			||||||
      //    - If trigger inside the menu => not a dropdown command
 | 
					  //    //    - If trigger inside the menu => not a dropdown command
 | 
				
			||||||
      if (/input|textarea/i.test(event.target.tagName) ? event.which === SPACE_KEYCODE || event.which !== ESCAPE_KEYCODE && (event.which !== ARROW_DOWN_KEYCODE && event.which !== ARROW_UP_KEYCODE || $(event.target).closest(SELECTOR_MENU).length) : !REGEXP_KEYDOWN.test(event.which)) {
 | 
					  //    if (/input|textarea/i.test(event.target.tagName) ? event.which === SPACE_KEYCODE || event.which !== ESCAPE_KEYCODE && (event.which !== ARROW_DOWN_KEYCODE && event.which !== ARROW_UP_KEYCODE || $(event.target).closest(SELECTOR_MENU).length) : !REGEXP_KEYDOWN.test(event.which)) {
 | 
				
			||||||
        return;
 | 
					  //      return;
 | 
				
			||||||
      }
 | 
					  //    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      if (this.disabled || $(this).hasClass(CLASS_NAME_DISABLED)) {
 | 
					  //    if (this.disabled || $(this).hasClass(CLASS_NAME_DISABLED)) {
 | 
				
			||||||
        return;
 | 
					  //      return;
 | 
				
			||||||
      }
 | 
					  //    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      var parent = Dropdown._getParentFromElement(this);
 | 
					  //    var parent = Dropdown._getParentFromElement(this);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      var isActive = $(parent).hasClass(CLASS_NAME_SHOW$2);
 | 
					  //    var isActive = $(parent).hasClass(CLASS_NAME_SHOW$2);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      if (!isActive && event.which === ESCAPE_KEYCODE) {
 | 
					  //    if (!isActive && event.which === ESCAPE_KEYCODE) {
 | 
				
			||||||
        return;
 | 
					  //      return;
 | 
				
			||||||
      }
 | 
					  //    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      event.preventDefault();
 | 
					  //    event.preventDefault();
 | 
				
			||||||
      event.stopPropagation();
 | 
					  //    event.stopPropagation();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      if (!isActive || isActive && (event.which === ESCAPE_KEYCODE || event.which === SPACE_KEYCODE)) {
 | 
					  //    if (!isActive || isActive && (event.which === ESCAPE_KEYCODE || event.which === SPACE_KEYCODE)) {
 | 
				
			||||||
        if (event.which === ESCAPE_KEYCODE) {
 | 
					  //      if (event.which === ESCAPE_KEYCODE) {
 | 
				
			||||||
          $(parent.querySelector(SELECTOR_DATA_TOGGLE$2)).trigger('focus');
 | 
					  //        $(parent.querySelector(SELECTOR_DATA_TOGGLE$2)).trigger('focus');
 | 
				
			||||||
        }
 | 
					  //      }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        $(this).trigger('click');
 | 
					  //      $(this).trigger('click');
 | 
				
			||||||
        return;
 | 
					  //      return;
 | 
				
			||||||
      }
 | 
					  //    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      var items = [].slice.call(parent.querySelectorAll(SELECTOR_VISIBLE_ITEMS)).filter(function (item) {
 | 
					  //    var items = [].slice.call(parent.querySelectorAll(SELECTOR_VISIBLE_ITEMS)).filter(function (item) {
 | 
				
			||||||
        return $(item).is(':visible');
 | 
					  //      return $(item).is(':visible');
 | 
				
			||||||
      });
 | 
					  //    });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      if (items.length === 0) {
 | 
					  //    if (items.length === 0) {
 | 
				
			||||||
        return;
 | 
					  //      return;
 | 
				
			||||||
      }
 | 
					  //    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      var index = items.indexOf(event.target);
 | 
					  //    var index = items.indexOf(event.target);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      if (event.which === ARROW_UP_KEYCODE && index > 0) {
 | 
					  //    if (event.which === ARROW_UP_KEYCODE && index > 0) {
 | 
				
			||||||
        // Up
 | 
					  //      // Up
 | 
				
			||||||
        index--;
 | 
					  //      index--;
 | 
				
			||||||
      }
 | 
					  //    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      if (event.which === ARROW_DOWN_KEYCODE && index < items.length - 1) {
 | 
					  //    if (event.which === ARROW_DOWN_KEYCODE && index < items.length - 1) {
 | 
				
			||||||
        // Down
 | 
					  //      // Down
 | 
				
			||||||
        index++;
 | 
					  //      index++;
 | 
				
			||||||
      }
 | 
					  //    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      if (index < 0) {
 | 
					  //    if (index < 0) {
 | 
				
			||||||
        index = 0;
 | 
					  //      index = 0;
 | 
				
			||||||
      }
 | 
					  //    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      items[index].focus();
 | 
					  //    items[index].focus();
 | 
				
			||||||
    };
 | 
					  //  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    _createClass(Dropdown, null, [{
 | 
					  //  _createClass(Dropdown, null, [{
 | 
				
			||||||
      key: "VERSION",
 | 
					  //    key: "VERSION",
 | 
				
			||||||
      get: function get() {
 | 
					  //    get: function get() {
 | 
				
			||||||
        return VERSION$4;
 | 
					  //      return VERSION$4;
 | 
				
			||||||
      }
 | 
					  //    }
 | 
				
			||||||
    }, {
 | 
					  //  }, {
 | 
				
			||||||
      key: "Default",
 | 
					  //    key: "Default",
 | 
				
			||||||
      get: function get() {
 | 
					  //    get: function get() {
 | 
				
			||||||
        return Default$2;
 | 
					  //      return Default$2;
 | 
				
			||||||
      }
 | 
					  //    }
 | 
				
			||||||
    }, {
 | 
					  //  }, {
 | 
				
			||||||
      key: "DefaultType",
 | 
					  //    key: "DefaultType",
 | 
				
			||||||
      get: function get() {
 | 
					  //    get: function get() {
 | 
				
			||||||
        return DefaultType$2;
 | 
					  //      return DefaultType$2;
 | 
				
			||||||
      }
 | 
					  //    }
 | 
				
			||||||
    }]);
 | 
					  //  }]);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    return Dropdown;
 | 
					  //  return Dropdown;
 | 
				
			||||||
  }();
 | 
					  //}();
 | 
				
			||||||
  /**
 | 
					  /**
 | 
				
			||||||
   * ------------------------------------------------------------------------
 | 
					   * ------------------------------------------------------------------------
 | 
				
			||||||
   * Data Api implementation
 | 
					   * Data Api implementation
 | 
				
			||||||
@ -21684,27 +21684,27 @@ return Popper;
 | 
				
			|||||||
   */
 | 
					   */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  $(document).on(EVENT_KEYDOWN_DATA_API, SELECTOR_DATA_TOGGLE$2, Dropdown._dataApiKeydownHandler).on(EVENT_KEYDOWN_DATA_API, SELECTOR_MENU, Dropdown._dataApiKeydownHandler).on(EVENT_CLICK_DATA_API$4 + " " + EVENT_KEYUP_DATA_API, Dropdown._clearMenus).on(EVENT_CLICK_DATA_API$4, SELECTOR_DATA_TOGGLE$2, function (event) {
 | 
					  //$(document).on(EVENT_KEYDOWN_DATA_API, SELECTOR_DATA_TOGGLE$2, Dropdown._dataApiKeydownHandler).on(EVENT_KEYDOWN_DATA_API, SELECTOR_MENU, Dropdown._dataApiKeydownHandler).on(EVENT_CLICK_DATA_API$4 + " " + EVENT_KEYUP_DATA_API, Dropdown._clearMenus).on(EVENT_CLICK_DATA_API$4, SELECTOR_DATA_TOGGLE$2, function (event) {
 | 
				
			||||||
    event.preventDefault();
 | 
					  //  event.preventDefault();
 | 
				
			||||||
    event.stopPropagation();
 | 
					  //  event.stopPropagation();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    Dropdown._jQueryInterface.call($(this), 'toggle');
 | 
					  //  Dropdown._jQueryInterface.call($(this), 'toggle');
 | 
				
			||||||
  }).on(EVENT_CLICK_DATA_API$4, SELECTOR_FORM_CHILD, function (e) {
 | 
					  //}).on(EVENT_CLICK_DATA_API$4, SELECTOR_FORM_CHILD, function (e) {
 | 
				
			||||||
    e.stopPropagation();
 | 
					  //  e.stopPropagation();
 | 
				
			||||||
  });
 | 
					  //});
 | 
				
			||||||
  /**
 | 
					  /**
 | 
				
			||||||
   * ------------------------------------------------------------------------
 | 
					   * ------------------------------------------------------------------------
 | 
				
			||||||
   * jQuery
 | 
					   * jQuery
 | 
				
			||||||
   * ------------------------------------------------------------------------
 | 
					   * ------------------------------------------------------------------------
 | 
				
			||||||
   */
 | 
					   */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  $.fn[NAME$4] = Dropdown._jQueryInterface;
 | 
					  //$.fn[NAME$4] = Dropdown._jQueryInterface;
 | 
				
			||||||
  $.fn[NAME$4].Constructor = Dropdown;
 | 
					  //$.fn[NAME$4].Constructor = Dropdown;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  $.fn[NAME$4].noConflict = function () {
 | 
					  //$.fn[NAME$4].noConflict = function () {
 | 
				
			||||||
    $.fn[NAME$4] = JQUERY_NO_CONFLICT$4;
 | 
					  //  $.fn[NAME$4] = JQUERY_NO_CONFLICT$4;
 | 
				
			||||||
    return Dropdown._jQueryInterface;
 | 
					  //  return Dropdown._jQueryInterface;
 | 
				
			||||||
  };
 | 
					  //};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  /**
 | 
					  /**
 | 
				
			||||||
   * ------------------------------------------------------------------------
 | 
					   * ------------------------------------------------------------------------
 | 
				
			||||||
@ -22259,37 +22259,37 @@ return Popper;
 | 
				
			|||||||
  // */
 | 
					  // */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  //$(document).on(EVENT_CLICK_DATA_API$5, SELECTOR_DATA_TOGGLE$3, function (event) {
 | 
					  $(document).on(EVENT_CLICK_DATA_API$5, SELECTOR_DATA_TOGGLE$3, function (event) {
 | 
				
			||||||
  //  var _this11 = this;
 | 
					    var _this11 = this;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  //  var target;
 | 
					    var target;
 | 
				
			||||||
  //  var selector = Util.getSelectorFromElement(this);
 | 
					    var selector = Util.getSelectorFromElement(this);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  //  if (selector) {
 | 
					    if (selector) {
 | 
				
			||||||
  //    target = document.querySelector(selector);
 | 
					      target = document.querySelector(selector);
 | 
				
			||||||
  //  }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  //  var config = $(target).data(DATA_KEY$5) ? 'toggle' : _objectSpread2(_objectSpread2({}, $(target).data()), $(this).data());
 | 
					    var config = $(target).data(DATA_KEY$5) ? 'toggle' : _objectSpread2(_objectSpread2({}, $(target).data()), $(this).data());
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  //  if (this.tagName === 'A' || this.tagName === 'AREA') {
 | 
					    if (this.tagName === 'A' || this.tagName === 'AREA') {
 | 
				
			||||||
  //    event.preventDefault();
 | 
					      event.preventDefault();
 | 
				
			||||||
  //  }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  //  var $target = $(target).one(EVENT_SHOW$2, function (showEvent) {
 | 
					    var $target = $(target).one(EVENT_SHOW$2, function (showEvent) {
 | 
				
			||||||
  //    if (showEvent.isDefaultPrevented()) {
 | 
					      if (showEvent.isDefaultPrevented()) {
 | 
				
			||||||
  //      // Only register focus restorer if modal will actually get shown
 | 
					        // Only register focus restorer if modal will actually get shown
 | 
				
			||||||
  //      return;
 | 
					        return;
 | 
				
			||||||
  //    }
 | 
					      }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  //    $target.one(EVENT_HIDDEN$2, function () {
 | 
					      $target.one(EVENT_HIDDEN$2, function () {
 | 
				
			||||||
  //      if ($(_this11).is(':visible')) {
 | 
					        if ($(_this11).is(':visible')) {
 | 
				
			||||||
  //        _this11.focus();
 | 
					          _this11.focus();
 | 
				
			||||||
  //      }
 | 
					        }
 | 
				
			||||||
  //    });
 | 
					      });
 | 
				
			||||||
  //  });
 | 
					    });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  //  Modal._jQueryInterface.call($(target), config, this);
 | 
					  //  Modal._jQueryInterface.call($(target), config, this);
 | 
				
			||||||
  //});
 | 
					  });
 | 
				
			||||||
  ///**
 | 
					  ///**
 | 
				
			||||||
  // * ------------------------------------------------------------------------
 | 
					  // * ------------------------------------------------------------------------
 | 
				
			||||||
  // * jQuery
 | 
					  // * jQuery
 | 
				
			||||||
@ -24051,8 +24051,8 @@ return Popper;
 | 
				
			|||||||
  exports.Button = Button;
 | 
					  exports.Button = Button;
 | 
				
			||||||
  exports.Carousel = Carousel;
 | 
					  exports.Carousel = Carousel;
 | 
				
			||||||
  exports.Collapse = Collapse;
 | 
					  exports.Collapse = Collapse;
 | 
				
			||||||
  exports.Dropdown = Dropdown;
 | 
					  /*exports.Dropdown = Dropdown;*/
 | 
				
			||||||
  exports.Modal = Modal;
 | 
					  /*exports.Modal = Modal;*/
 | 
				
			||||||
  exports.Popover = Popover;
 | 
					  exports.Popover = Popover;
 | 
				
			||||||
  exports.Scrollspy = ScrollSpy;
 | 
					  exports.Scrollspy = ScrollSpy;
 | 
				
			||||||
  exports.Tab = Tab;
 | 
					  exports.Tab = Tab;
 | 
				
			||||||
 | 
				
			|||||||
@ -232,7 +232,7 @@
 | 
				
			|||||||
                }
 | 
					                }
 | 
				
			||||||
                else {
 | 
					                else {
 | 
				
			||||||
                    toast_ok(rel.msg);
 | 
					                    toast_ok(rel.msg);
 | 
				
			||||||
                    cookies.create("JWT-Authorization", rel.data.token);
 | 
					                    cookies.create("JWT-Authorization", rel.data.token, 12 * 60 * 60 * 1000);
 | 
				
			||||||
                    location.href = "index.html";
 | 
					                    location.href = "index.html";
 | 
				
			||||||
                    return;
 | 
					                    return;
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user