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Y,SACtB,KAEA/nB,EAAE,IAAM4gH,GAAWz8G,QAAQ,OAAO,WAChCnE,EAAEI,MAAMgL,SAAS,UACjBpL,EAAE,IAAM+gH,GAAa31G,SAAS,UAC9BpL,EAAE,IAAM8gH,GAAe/4F,YAAY,SACrC,GAEJ,CACF,IAEA/nB,EAAEL,QAAQgpB,QAAO,KACf,MAAMq4F,EAAkBrhH,OAAOmvB,WAAa,KAC5C9uB,EAAE,kBAAkBY,KAClB,cACAogH,EAAkBZ,EAAkBX,EAAUC,UAAY,IAE5D1/G,EAAE,eAAeY,KACf,cACAogH,EAAkBV,EAAeb,EAAUC,UAAY,IAEzD1/G,EAAE,kBAAkBY,KAClB,cACAogH,EAAkBT,EAAkBd,EAAUC,UAAY,IAE5D1/G,EAAE,+BAA+BY,KAC/B,cACAogH,EAAkBR,EAAqBf,EAAUC,UAAY,IAE/D1/G,EAAE,0BAA0BY,KAC1B,cACAogH,EAAkBP,EAAsBhB,EAAUC,UAAY,GAC/D,GAEL,sECrHA","sources":["webpack://soundrawserver/./app/javascript/admin.js","webpack://soundrawserver/./app/javascript/alert.js","webpack://soundrawserver/./app/javascript/csrf.js","webpack://soundrawserver/./app/javascript/jquery-ui.js","webpack://soundrawserver/./app/javascript/nav_menu.js","webpack://soundrawserver/./app/javascript/sign_up.js","webpack://soundrawserver/./app/javascript/toppage.js","webpack://soundrawserver/./node_modules/bootstrap/dist/js/bootstrap.js","webpack://soundrawserver/./node_modules/jquery/dist/jquery.js","webpack://soundrawserver/./node_modules/popper.js/dist/esm/popper.js","webpack://soundrawserver/./node_modules/rails-ujs/lib/assets/compiled/rails-ujs.js","webpack://soundrawserver/webpack/bootstrap","webpack://soundrawserver/webpack/runtime/compat get default export","webpack://soundrawserver/webpack/runtime/define property getters","webpack://soundrawserver/webpack/runtime/global","webpack://soundrawserver/webpack/runtime/hasOwnProperty shorthand","webpack://soundrawserver/webpack/runtime/make namespace object","webpack://soundrawserver/./app/javascript/jquery.js","webpack://soundrawserver/./app/javascript/user_agent.js","webpack://soundrawserver/./app/javascript/users.js","webpack://soundrawserver/./app/javascript/application.js"],"sourcesContent":["window.addEventListener(\"load\", function () {\n  if (location.pathname.match(/\\/admin/) == null) {\n    return;\n  }\n\n  $(\"#sort-user\").on(\"change\", function () {\n    const url = $(\"#user_sort_path\").data(\"url\");\n    const sort = $(this).val();\n    sendUserForm(url, sort);\n  });\n\n  $(\"#user-csv-btn\").on(\"click\", function () {\n    const url = $(\"#user_csv_path\").data(\"url\");\n    const sort = $(\"#sort-user\").val();\n    sendUserForm(url, sort);\n  });\n\n  function sendUserForm(url, sort) {\n    const userForm = $(\"<form>\", {\n      action: url,\n      method: \"get\",\n      hidden: true,\n    }).append(\n      $(\"<input>\", {\n        name: \"sort\",\n        value: sort,\n      }),\n    );\n    $(\"body\").append(userForm);\n    userForm.submit();\n    userForm.remove();\n  }\n\n  $(\".block-setting.pointer\").click((event) => {\n    const target = $(event.target);\n    const hiddenTarget = target.prev();\n    const count = $(`#${target.attr(\"data-instrument\")}-count-input`).val();\n\n    // そもそもファイル数が0の場合は強制なしに\n    if (count === 0) {\n      target.val(\"\");\n      hiddenTarget.val(\"\");\n      return;\n    }\n\n    // なしから0に変更\n    if (!target.val()) {\n      target.val(0);\n      hiddenTarget.val(0);\n      // 許容のfile数の最後のファイルに変更\n      // 例melodyが2個ある場合はbに変更した時\n    } else if (target.val() < count - 1) {\n      const newValue = parseInt(target.val()) + 1;\n      target.val(newValue);\n      hiddenTarget.val(newValue);\n      // なしに変更する\n    } else {\n      target.val(\"\");\n      hiddenTarget.val(\"\");\n    }\n  });\n\n  $(\".add-block\").click((event) => {\n    const target = $(event.target).attr(\"data-target\");\n    const oldIndex = parseInt(\n      $(`.${target}-block`)\n        .last()\n        .find(\"input\")\n        .first()\n        .attr(\"name\")\n        .match(/[0-9]/)[0],\n    );\n    const html = $(`.${target}-block`).last()[0].outerHTML;\n    $(`.${target}-block`).last().after(html);\n    $(`.${target}-block`)\n      .last()\n      .find(\"input\")\n      .each((i, input) => {\n        input.name = input.name.replace(/[0-9]/, oldIndex + 1);\n      });\n    $(`.${target}-block`)\n      .last()\n      .next()\n      .find(\"input\")\n      .each((i, input) => {\n        input.name = input.name.replace(/[0-9]/, oldIndex + 2);\n      });\n  });\n\n  $(\".remove-block\").click((event) => {\n    const target = $(event.target).attr(\"data-target\");\n    $(`.${target}-block`).last().remove();\n  });\n\n  $(\"#intro_fill-count-input\").on(\"input\", (event) => {\n    const count = parseInt($(event.target).val());\n    if (count === 0) {\n      $('[data-instrument=\"intro_fill\"]').val(\"\");\n    } else if (count === 1) {\n      $('[data-instrument=\"intro_fill\"]').val(\"0\");\n    }\n  });\n\n  $(\"#outro_fill-count-input\").on(\"input\", (event) => {\n    const count = parseInt($(event.target).val());\n    if (count === 0) {\n      $('[data-instrument=\"outro_fill\"]').val(\"\");\n    } else if (count === 1) {\n      $('[data-instrument=\"outro_fill\"]').val(\"0\");\n    }\n  });\n\n  if ($(\"#createAudioPackModal\").length) {\n    const promiseArray = [];\n    $(\"#t-body\")\n      .children(\"tr\")\n      .each((_index, elem) => {\n        const audioPackId = $(elem).children(\"td\").eq(1).attr(\"id\");\n        promiseArray.push(\n          // eslint-disable-next-line @typescript-eslint/no-unused-vars\n          new Promise((resolve, _reject) => {\n            $.ajax({\n              url: `audio_pack/${audioPackId}`,\n              method: \"GET\",\n            }).done((result) => {\n              const melodyCount = result.melody.length;\n              const backingCount = result.backing.length;\n              const bassCount = result.bass.length;\n              const drumCount = result.drum.length;\n              $(`#${audioPackId}`).html(\n                `Melody: ${melodyCount}/ Backing: ${backingCount}/ Bass: ${bassCount}/ Drum: ${drumCount}`,\n              );\n              resolve();\n            });\n          }),\n        );\n      });\n    Promise.all(promiseArray);\n  }\n\n  $(document).on(\"change\", \"#promotion_type\", function () {\n    const promotionType = $(this).val();\n    const numberOfUsers = $(\"#number_of_uses\");\n    const stripeRemoteId = $(\"#stripe_remote_id\");\n\n    switch (promotionType) {\n      case \"discount_coupon\":\n        numberOfUsers.attr(\"disabled\", \"disabled\");\n        numberOfUsers.removeAttr(\"required\");\n        stripeRemoteId.removeAttr(\"disabled\");\n        break;\n      case \"limited\":\n        numberOfUsers.removeAttr(\"disabled\");\n        numberOfUsers.attr(\"required\", true);\n        stripeRemoteId.attr(\"disabled\", true);\n        break;\n      case \"unlimited\":\n        numberOfUsers.attr(\"disabled\", \"disabled\");\n        numberOfUsers.removeAttr(\"required\");\n        stripeRemoteId.attr(\"disabled\", true);\n        break;\n    }\n  });\n});\n","window.addEventListener(\"load\", function () {\n  if ($(\"div.alert\").length) {\n    setTimeout(() => {\n      $(\"div.alert\").slideUp(\"slow\", () => {\n        $(\"div.alert\").remove();\n      });\n    }, 5000);\n  }\n});\n","function getCookie(name) {\n  const value = `; ${document.cookie}`;\n  const parts = value.split(`; ${name}=`);\n  if (parts.length === 2) return parts.pop().split(\";\").shift();\n}\n\ndocument.addEventListener(\"DOMContentLoaded\", function () {\n  const token = getCookie(\"csrftoken\");\n\n  // set <%= csrf_meta_tags %> equiavalent meta tags\n  $(\"<meta>\")\n    .attr(\"name\", \"csrf-param\")\n    .attr(\"content\", \"authenticity_token\")\n    .appendTo(\"head\");\n\n  $(\"<meta>\")\n    .attr(\"name\", \"csrf-token\")\n    .attr(\"content\", token)\n    .appendTo(\"head\");\n\n  // Replace form_for and form_tag authenticity_token with a cookie one\n  $(\"input[name=authenticity_token]\").val(token);\n});\n","/*! jQuery UI - v1.13.2 - 2023-11-05\n * http://jqueryui.com\n * Includes: widget.js, position.js, data.js, disable-selection.js, focusable.js, form-reset-mixin.js, jquery-patch.js, keycode.js, labels.js, scroll-parent.js, tabbable.js, unique-id.js, widgets/draggable.js, widgets/droppable.js, widgets/resizable.js, widgets/selectable.js, widgets/sortable.js, widgets/accordion.js, widgets/autocomplete.js, widgets/button.js, widgets/checkboxradio.js, widgets/controlgroup.js, widgets/datepicker.js, widgets/dialog.js, widgets/menu.js, widgets/mouse.js, widgets/progressbar.js, widgets/selectmenu.js, widgets/slider.js, widgets/spinner.js, widgets/tabs.js, widgets/tooltip.js, effect.js, effects/effect-blind.js, effects/effect-bounce.js, effects/effect-clip.js, effects/effect-drop.js, effects/effect-explode.js, effects/effect-fade.js, effects/effect-fold.js, effects/effect-highlight.js, effects/effect-puff.js, effects/effect-pulsate.js, effects/effect-scale.js, effects/effect-shake.js, effects/effect-size.js, effects/effect-slide.js, effects/effect-transfer.js\n * Copyright jQuery Foundation and other contributors; Licensed MIT */\n\n(function (factory) {\n  \"use strict\";\n\n  if (typeof define === \"function\" && define.amd) {\n    // AMD. Register as an anonymous module.\n    define([\"jquery\"], factory);\n  } else {\n    // Browser globals\n    factory(jQuery);\n  }\n})(function ($) {\n  \"use strict\";\n\n  $.ui = $.ui || {};\n\n  var version = ($.ui.version = \"1.13.2\");\n\n  /*!\n   * jQuery UI Widget 1.13.2\n   * http://jqueryui.com\n   *\n   * Copyright jQuery Foundation and other contributors\n   * Released under the MIT license.\n   * http://jquery.org/license\n   */\n\n  //>>label: Widget\n  //>>group: Core\n  //>>description: Provides a factory for creating stateful widgets with a common API.\n  //>>docs: http://api.jqueryui.com/jQuery.widget/\n  //>>demos: http://jqueryui.com/widget/\n\n  var widgetUuid = 0;\n  var widgetHasOwnProperty = Array.prototype.hasOwnProperty;\n  var widgetSlice = Array.prototype.slice;\n\n  $.cleanData = (function (orig) {\n    return function (elems) {\n      var events, elem, i;\n      for (i = 0; (elem = elems[i]) != null; i++) {\n        // Only trigger remove when necessary to save time\n        events = $._data(elem, \"events\");\n        if (events && events.remove) {\n          $(elem).triggerHandler(\"remove\");\n        }\n      }\n      orig(elems);\n    };\n  })($.cleanData);\n\n  $.widget = function (name, base, prototype) {\n    var existingConstructor, constructor, basePrototype;\n\n    // ProxiedPrototype allows the provided prototype to remain unmodified\n    // so that it can be used as a mixin for multiple widgets (#8876)\n    var proxiedPrototype = {};\n\n    var namespace = name.split(\".\")[0];\n    name = name.split(\".\")[1];\n    var fullName = namespace + \"-\" + name;\n\n    if (!prototype) {\n      prototype = base;\n      base = $.Widget;\n    }\n\n    if (Array.isArray(prototype)) {\n      prototype = $.extend.apply(null, [{}].concat(prototype));\n    }\n\n    // Create selector for plugin\n    $.expr.pseudos[fullName.toLowerCase()] = function (elem) {\n      return !!$.data(elem, fullName);\n    };\n\n    $[namespace] = $[namespace] || {};\n    existingConstructor = $[namespace][name];\n    constructor = $[namespace][name] = function (options, element) {\n      // Allow instantiation without \"new\" keyword\n      if (!this || !this._createWidget) {\n        return new constructor(options, element);\n      }\n\n      // Allow instantiation without initializing for simple inheritance\n      // must use \"new\" keyword (the code above always passes args)\n      if (arguments.length) {\n        this._createWidget(options, element);\n      }\n    };\n\n    // Extend with the existing constructor to carry over any static properties\n    $.extend(constructor, existingConstructor, {\n      version: prototype.version,\n\n      // Copy the object used to create the prototype in case we need to\n      // redefine the widget later\n      _proto: $.extend({}, prototype),\n\n      // Track widgets that inherit from this widget in case this widget is\n      // redefined after a widget inherits from it\n      _childConstructors: [],\n    });\n\n    basePrototype = new base();\n\n    // We need to make the options hash a property directly on the new instance\n    // otherwise we'll modify the options hash on the prototype that we're\n    // inheriting from\n    basePrototype.options = $.widget.extend({}, basePrototype.options);\n    $.each(prototype, function (prop, value) {\n      if (typeof value !== \"function\") {\n        proxiedPrototype[prop] = value;\n        return;\n      }\n      proxiedPrototype[prop] = (function () {\n        function _super() {\n          return base.prototype[prop].apply(this, arguments);\n        }\n\n        function _superApply(args) {\n          return base.prototype[prop].apply(this, args);\n        }\n\n        return function () {\n          var __super = this._super;\n          var __superApply = this._superApply;\n          var returnValue;\n\n          this._super = _super;\n          this._superApply = _superApply;\n\n          returnValue = value.apply(this, arguments);\n\n          this._super = __super;\n          this._superApply = __superApply;\n\n          return returnValue;\n        };\n      })();\n    });\n    constructor.prototype = $.widget.extend(\n      basePrototype,\n      {\n        // TODO: remove support for widgetEventPrefix\n        // always use the name + a colon as the prefix, e.g., draggable:start\n        // don't prefix for widgets that aren't DOM-based\n        widgetEventPrefix: existingConstructor\n          ? basePrototype.widgetEventPrefix || name\n          : name,\n      },\n      proxiedPrototype,\n      {\n        constructor: constructor,\n        namespace: namespace,\n        widgetName: name,\n        widgetFullName: fullName,\n      },\n    );\n\n    // If this widget is being redefined then we need to find all widgets that\n    // are inheriting from it and redefine all of them so that they inherit from\n    // the new version of this widget. We're essentially trying to replace one\n    // level in the prototype chain.\n    if (existingConstructor) {\n      $.each(existingConstructor._childConstructors, function (i, child) {\n        var childPrototype = child.prototype;\n\n        // Redefine the child widget using the same prototype that was\n        // originally used, but inherit from the new version of the base\n        $.widget(\n          childPrototype.namespace + \".\" + childPrototype.widgetName,\n          constructor,\n          child._proto,\n        );\n      });\n\n      // Remove the list of existing child constructors from the old constructor\n      // so the old child constructors can be garbage collected\n      delete existingConstructor._childConstructors;\n    } else {\n      base._childConstructors.push(constructor);\n    }\n\n    $.widget.bridge(name, constructor);\n\n    return constructor;\n  };\n\n  $.widget.extend = function (target) {\n    var input = widgetSlice.call(arguments, 1);\n    var inputIndex = 0;\n    var inputLength = input.length;\n    var key;\n    var value;\n\n    for (; inputIndex < inputLength; inputIndex++) {\n      for (key in input[inputIndex]) {\n        value = input[inputIndex][key];\n        if (\n          widgetHasOwnProperty.call(input[inputIndex], key) &&\n          value !== undefined\n        ) {\n          // Clone objects\n          if ($.isPlainObject(value)) {\n            target[key] = $.isPlainObject(target[key])\n              ? $.widget.extend({}, target[key], value)\n              : // Don't extend strings, arrays, etc. with objects\n                $.widget.extend({}, value);\n\n            // Copy everything else by reference\n          } else {\n            target[key] = value;\n          }\n        }\n      }\n    }\n    return target;\n  };\n\n  $.widget.bridge = function (name, object) {\n    var fullName = object.prototype.widgetFullName || name;\n    $.fn[name] = function (options) {\n      var isMethodCall = typeof options === \"string\";\n      var args = widgetSlice.call(arguments, 1);\n      var returnValue = this;\n\n      if (isMethodCall) {\n        // If this is an empty collection, we need to have the instance method\n        // return undefined instead of the jQuery instance\n        if (!this.length && options === \"instance\") {\n          returnValue = undefined;\n        } else {\n          this.each(function () {\n            var methodValue;\n            var instance = $.data(this, fullName);\n\n            if (options === \"instance\") {\n              returnValue = instance;\n              return false;\n            }\n\n            if (!instance) {\n              return $.error(\n                \"cannot call methods on \" +\n                  name +\n                  \" prior to initialization; \" +\n                  \"attempted to call method '\" +\n                  options +\n                  \"'\",\n              );\n            }\n\n            if (\n              typeof instance[options] !== \"function\" ||\n              options.charAt(0) === \"_\"\n            ) {\n              return $.error(\n                \"no such method '\" +\n                  options +\n                  \"' for \" +\n                  name +\n                  \" widget instance\",\n              );\n            }\n\n            methodValue = instance[options].apply(instance, args);\n\n            if (methodValue !== instance && methodValue !== undefined) {\n              returnValue =\n                methodValue && methodValue.jquery\n                  ? returnValue.pushStack(methodValue.get())\n                  : methodValue;\n              return false;\n            }\n          });\n        }\n      } else {\n        // Allow multiple hashes to be passed on init\n        if (args.length) {\n          options = $.widget.extend.apply(null, [options].concat(args));\n        }\n\n        this.each(function () {\n          var instance = $.data(this, fullName);\n          if (instance) {\n            instance.option(options || {});\n            if (instance._init) {\n              instance._init();\n            }\n          } else {\n            $.data(this, fullName, new object(options, this));\n          }\n        });\n      }\n\n      return returnValue;\n    };\n  };\n\n  $.Widget = function (/* options, element */) {};\n  $.Widget._childConstructors = [];\n\n  $.Widget.prototype = {\n    widgetName: \"widget\",\n    widgetEventPrefix: \"\",\n    defaultElement: \"<div>\",\n\n    options: {\n      classes: {},\n      disabled: false,\n\n      // Callbacks\n      create: null,\n    },\n\n    _createWidget: function (options, element) {\n      element = $(element || this.defaultElement || this)[0];\n      this.element = $(element);\n      this.uuid = widgetUuid++;\n      this.eventNamespace = \".\" + this.widgetName + this.uuid;\n\n      this.bindings = $();\n      this.hoverable = $();\n      this.focusable = $();\n      this.classesElementLookup = {};\n\n      if (element !== this) {\n        $.data(element, this.widgetFullName, this);\n        this._on(true, this.element, {\n          remove: function (event) {\n            if (event.target === element) {\n              this.destroy();\n            }\n          },\n        });\n        this.document = $(\n          element.style\n            ? // Element within the document\n              element.ownerDocument\n            : // Element is window or document\n              element.document || element,\n        );\n        this.window = $(\n          this.document[0].defaultView || this.document[0].parentWindow,\n        );\n      }\n\n      this.options = $.widget.extend(\n        {},\n        this.options,\n        this._getCreateOptions(),\n        options,\n      );\n\n      this._create();\n\n      if (this.options.disabled) {\n        this._setOptionDisabled(this.options.disabled);\n      }\n\n      this._trigger(\"create\", null, this._getCreateEventData());\n      this._init();\n    },\n\n    _getCreateOptions: function () {\n      return {};\n    },\n\n    _getCreateEventData: $.noop,\n\n    _create: $.noop,\n\n    _init: $.noop,\n\n    destroy: function () {\n      var that = this;\n\n      this._destroy();\n      $.each(this.classesElementLookup, function (key, value) {\n        that._removeClass(value, key);\n      });\n\n      // We can probably remove the unbind calls in 2.0\n      // all event bindings should go through this._on()\n      this.element.off(this.eventNamespace).removeData(this.widgetFullName);\n      this.widget().off(this.eventNamespace).removeAttr(\"aria-disabled\");\n\n      // Clean up events and states\n      this.bindings.off(this.eventNamespace);\n    },\n\n    _destroy: $.noop,\n\n    widget: function () {\n      return this.element;\n    },\n\n    option: function (key, value) {\n      var options = key;\n      var parts;\n      var curOption;\n      var i;\n\n      if (arguments.length === 0) {\n        // Don't return a reference to the internal hash\n        return $.widget.extend({}, this.options);\n      }\n\n      if (typeof key === \"string\") {\n        // Handle nested keys, e.g., \"foo.bar\" => { foo: { bar: ___ } }\n        options = {};\n        parts = key.split(\".\");\n        key = parts.shift();\n        if (parts.length) {\n          curOption = options[key] = $.widget.extend({}, this.options[key]);\n          for (i = 0; i < parts.length - 1; i++) {\n            curOption[parts[i]] = curOption[parts[i]] || {};\n            curOption = curOption[parts[i]];\n          }\n          key = parts.pop();\n          if (arguments.length === 1) {\n            return curOption[key] === undefined ? null : curOption[key];\n          }\n          curOption[key] = value;\n        } else {\n          if (arguments.length === 1) {\n            return this.options[key] === undefined ? null : this.options[key];\n          }\n          options[key] = value;\n        }\n      }\n\n      this._setOptions(options);\n\n      return this;\n    },\n\n    _setOptions: function (options) {\n      var key;\n\n      for (key in options) {\n        this._setOption(key, options[key]);\n      }\n\n      return this;\n    },\n\n    _setOption: function (key, value) {\n      if (key === \"classes\") {\n        this._setOptionClasses(value);\n      }\n\n      this.options[key] = value;\n\n      if (key === \"disabled\") {\n        this._setOptionDisabled(value);\n      }\n\n      return this;\n    },\n\n    _setOptionClasses: function (value) {\n      var classKey, elements, currentElements;\n\n      for (classKey in value) {\n        currentElements = this.classesElementLookup[classKey];\n        if (\n          value[classKey] === this.options.classes[classKey] ||\n          !currentElements ||\n          !currentElements.length\n        ) {\n          continue;\n        }\n\n        // We are doing this to create a new jQuery object because the _removeClass() call\n        // on the next line is going to destroy the reference to the current elements being\n        // tracked. We need to save a copy of this collection so that we can add the new classes\n        // below.\n        elements = $(currentElements.get());\n        this._removeClass(currentElements, classKey);\n\n        // We don't use _addClass() here, because that uses this.options.classes\n        // for generating the string of classes. We want to use the value passed in from\n        // _setOption(), this is the new value of the classes option which was passed to\n        // _setOption(). We pass this value directly to _classes().\n        elements.addClass(\n          this._classes({\n            element: elements,\n            keys: classKey,\n            classes: value,\n            add: true,\n          }),\n        );\n      }\n    },\n\n    _setOptionDisabled: function (value) {\n      this._toggleClass(\n        this.widget(),\n        this.widgetFullName + \"-disabled\",\n        null,\n        !!value,\n      );\n\n      // If the widget is becoming disabled, then nothing is interactive\n      if (value) {\n        this._removeClass(this.hoverable, null, \"ui-state-hover\");\n        this._removeClass(this.focusable, null, \"ui-state-focus\");\n      }\n    },\n\n    enable: function () {\n      return this._setOptions({ disabled: false });\n    },\n\n    disable: function () {\n      return this._setOptions({ disabled: true });\n    },\n\n    _classes: function (options) {\n      var full = [];\n      var that = this;\n\n      options = $.extend(\n        {\n          element: this.element,\n          classes: this.options.classes || {},\n        },\n        options,\n      );\n\n      function bindRemoveEvent() {\n        var nodesToBind = [];\n\n        options.element.each(function (_, element) {\n          var isTracked = $.map(that.classesElementLookup, function (elements) {\n            return elements;\n          }).some(function (elements) {\n            return elements.is(element);\n          });\n\n          if (!isTracked) {\n            nodesToBind.push(element);\n          }\n        });\n\n        that._on($(nodesToBind), {\n          remove: \"_untrackClassesElement\",\n        });\n      }\n\n      function processClassString(classes, checkOption) {\n        var current, i;\n        for (i = 0; i < classes.length; i++) {\n          current = that.classesElementLookup[classes[i]] || $();\n          if (options.add) {\n            bindRemoveEvent();\n            current = $(\n              $.uniqueSort(current.get().concat(options.element.get())),\n            );\n          } else {\n            current = $(current.not(options.element).get());\n          }\n          that.classesElementLookup[classes[i]] = current;\n          full.push(classes[i]);\n          if (checkOption && options.classes[classes[i]]) {\n            full.push(options.classes[classes[i]]);\n          }\n        }\n      }\n\n      if (options.keys) {\n        processClassString(options.keys.match(/\\S+/g) || [], true);\n      }\n      if (options.extra) {\n        processClassString(options.extra.match(/\\S+/g) || []);\n      }\n\n      return full.join(\" \");\n    },\n\n    _untrackClassesElement: function (event) {\n      var that = this;\n      $.each(that.classesElementLookup, function (key, value) {\n        if ($.inArray(event.target, value) !== -1) {\n          that.classesElementLookup[key] = $(value.not(event.target).get());\n        }\n      });\n\n      this._off($(event.target));\n    },\n\n    _removeClass: function (element, keys, extra) {\n      return this._toggleClass(element, keys, extra, false);\n    },\n\n    _addClass: function (element, keys, extra) {\n      return this._toggleClass(element, keys, extra, true);\n    },\n\n    _toggleClass: function (element, keys, extra, add) {\n      add = typeof add === \"boolean\" ? add : extra;\n      var shift = typeof element === \"string\" || element === null,\n        options = {\n          extra: shift ? keys : extra,\n          keys: shift ? element : keys,\n          element: shift ? this.element : element,\n          add: add,\n        };\n      options.element.toggleClass(this._classes(options), add);\n      return this;\n    },\n\n    _on: function (suppressDisabledCheck, element, handlers) {\n      var delegateElement;\n      var instance = this;\n\n      // No suppressDisabledCheck flag, shuffle arguments\n      if (typeof suppressDisabledCheck !== \"boolean\") {\n        handlers = element;\n        element = suppressDisabledCheck;\n        suppressDisabledCheck = false;\n      }\n\n      // No element argument, shuffle and use this.element\n      if (!handlers) {\n        handlers = element;\n        element = this.element;\n        delegateElement = this.widget();\n      } else {\n        element = delegateElement = $(element);\n        this.bindings = this.bindings.add(element);\n      }\n\n      $.each(handlers, function (event, handler) {\n        function handlerProxy() {\n          // Allow widgets to customize the disabled handling\n          // - disabled as an array instead of boolean\n          // - disabled class as method for disabling individual parts\n          if (\n            !suppressDisabledCheck &&\n            (instance.options.disabled === true ||\n              $(this).hasClass(\"ui-state-disabled\"))\n          ) {\n            return;\n          }\n          return (\n            typeof handler === \"string\" ? instance[handler] : handler\n          ).apply(instance, arguments);\n        }\n\n        // Copy the guid so direct unbinding works\n        if (typeof handler !== \"string\") {\n          handlerProxy.guid = handler.guid =\n            handler.guid || handlerProxy.guid || $.guid++;\n        }\n\n        var match = event.match(/^([\\w:-]*)\\s*(.*)$/);\n        var eventName = match[1] + instance.eventNamespace;\n        var selector = match[2];\n\n        if (selector) {\n          delegateElement.on(eventName, selector, handlerProxy);\n        } else {\n          element.on(eventName, handlerProxy);\n        }\n      });\n    },\n\n    _off: function (element, eventName) {\n      eventName =\n        (eventName || \"\").split(\" \").join(this.eventNamespace + \" \") +\n        this.eventNamespace;\n      element.off(eventName);\n\n      // Clear the stack to avoid memory leaks (#10056)\n      this.bindings = $(this.bindings.not(element).get());\n      this.focusable = $(this.focusable.not(element).get());\n      this.hoverable = $(this.hoverable.not(element).get());\n    },\n\n    _delay: function (handler, delay) {\n      function handlerProxy() {\n        return (\n          typeof handler === \"string\" ? instance[handler] : handler\n        ).apply(instance, arguments);\n      }\n      var instance = this;\n      return setTimeout(handlerProxy, delay || 0);\n    },\n\n    _hoverable: function (element) {\n      this.hoverable = this.hoverable.add(element);\n      this._on(element, {\n        mouseenter: function (event) {\n          this._addClass($(event.currentTarget), null, \"ui-state-hover\");\n        },\n        mouseleave: function (event) {\n          this._removeClass($(event.currentTarget), null, \"ui-state-hover\");\n        },\n      });\n    },\n\n    _focusable: function (element) {\n      this.focusable = this.focusable.add(element);\n      this._on(element, {\n        focusin: function (event) {\n          this._addClass($(event.currentTarget), null, \"ui-state-focus\");\n        },\n        focusout: function (event) {\n          this._removeClass($(event.currentTarget), null, \"ui-state-focus\");\n        },\n      });\n    },\n\n    _trigger: function (type, event, data) {\n      var prop, orig;\n      var callback = this.options[type];\n\n      data = data || {};\n      event = $.Event(event);\n      event.type = (\n        type === this.widgetEventPrefix ? type : this.widgetEventPrefix + type\n      ).toLowerCase();\n\n      // The original event may come from any element\n      // so we need to reset the target on the new event\n      event.target = this.element[0];\n\n      // Copy original event properties over to the new event\n      orig = event.originalEvent;\n      if (orig) {\n        for (prop in orig) {\n          if (!(prop in event)) {\n            event[prop] = orig[prop];\n          }\n        }\n      }\n\n      this.element.trigger(event, data);\n      return !(\n        (typeof callback === \"function\" &&\n          callback.apply(this.element[0], [event].concat(data)) === false) ||\n        event.isDefaultPrevented()\n      );\n    },\n  };\n\n  $.each({ show: \"fadeIn\", hide: \"fadeOut\" }, function (method, defaultEffect) {\n    $.Widget.prototype[\"_\" + method] = function (element, options, callback) {\n      if (typeof options === \"string\") {\n        options = { effect: options };\n      }\n\n      var hasOptions;\n      var effectName = !options\n        ? method\n        : options === true || typeof options === \"number\"\n        ? defaultEffect\n        : options.effect || defaultEffect;\n\n      options = options || {};\n      if (typeof options === \"number\") {\n        options = { duration: options };\n      } else if (options === true) {\n        options = {};\n      }\n\n      hasOptions = !$.isEmptyObject(options);\n      options.complete = callback;\n\n      if (options.delay) {\n        element.delay(options.delay);\n      }\n\n      if (hasOptions && $.effects && $.effects.effect[effectName]) {\n        element[method](options);\n      } else if (effectName !== method && element[effectName]) {\n        element[effectName](options.duration, options.easing, callback);\n      } else {\n        element.queue(function (next) {\n          $(this)[method]();\n          if (callback) {\n            callback.call(element[0]);\n          }\n          next();\n        });\n      }\n    };\n  });\n\n  var widget = $.widget;\n\n  /*!\n   * jQuery UI Position 1.13.2\n   * http://jqueryui.com\n   *\n   * Copyright jQuery Foundation and other contributors\n   * Released under the MIT license.\n   * http://jquery.org/license\n   *\n   * http://api.jqueryui.com/position/\n   */\n\n  //>>label: Position\n  //>>group: Core\n  //>>description: Positions elements relative to other elements.\n  //>>docs: http://api.jqueryui.com/position/\n  //>>demos: http://jqueryui.com/position/\n\n  (function () {\n    var cachedScrollbarWidth,\n      max = Math.max,\n      abs = Math.abs,\n      rhorizontal = /left|center|right/,\n      rvertical = /top|center|bottom/,\n      roffset = /[\\+\\-]\\d+(\\.[\\d]+)?%?/,\n      rposition = /^\\w+/,\n      rpercent = /%$/,\n      _position = $.fn.position;\n\n    function getOffsets(offsets, width, height) {\n      return [\n        parseFloat(offsets[0]) * (rpercent.test(offsets[0]) ? width / 100 : 1),\n        parseFloat(offsets[1]) * (rpercent.test(offsets[1]) ? height / 100 : 1),\n      ];\n    }\n\n    function parseCss(element, property) {\n      return parseInt($.css(element, property), 10) || 0;\n    }\n\n    function isWindow(obj) {\n      return obj != null && obj === obj.window;\n    }\n\n    function getDimensions(elem) {\n      var raw = elem[0];\n      if (raw.nodeType === 9) {\n        return {\n          width: elem.width(),\n          height: elem.height(),\n          offset: { top: 0, left: 0 },\n        };\n      }\n      if (isWindow(raw)) {\n        return {\n          width: elem.width(),\n          height: elem.height(),\n          offset: { top: elem.scrollTop(), left: elem.scrollLeft() },\n        };\n      }\n      if (raw.preventDefault) {\n        return {\n          width: 0,\n          height: 0,\n          offset: { top: raw.pageY, left: raw.pageX },\n        };\n      }\n      return {\n        width: elem.outerWidth(),\n        height: elem.outerHeight(),\n        offset: elem.offset(),\n      };\n    }\n\n    $.position = {\n      scrollbarWidth: function () {\n        if (cachedScrollbarWidth !== undefined) {\n          return cachedScrollbarWidth;\n        }\n        var w1,\n          w2,\n          div = $(\n            \"<div style=\" +\n              \"'display:block;position:absolute;width:200px;height:200px;overflow:hidden;'>\" +\n              \"<div style='height:300px;width:auto;'></div></div>\",\n          ),\n          innerDiv = div.children()[0];\n\n        $(\"body\").append(div);\n        w1 = innerDiv.offsetWidth;\n        div.css(\"overflow\", \"scroll\");\n\n        w2 = innerDiv.offsetWidth;\n\n        if (w1 === w2) {\n          w2 = div[0].clientWidth;\n        }\n\n        div.remove();\n\n        return (cachedScrollbarWidth = w1 - w2);\n      },\n      getScrollInfo: function (within) {\n        var overflowX =\n            within.isWindow || within.isDocument\n              ? \"\"\n              : within.element.css(\"overflow-x\"),\n          overflowY =\n            within.isWindow || within.isDocument\n              ? \"\"\n              : within.element.css(\"overflow-y\"),\n          hasOverflowX =\n            overflowX === \"scroll\" ||\n            (overflowX === \"auto\" &&\n              within.width < within.element[0].scrollWidth),\n          hasOverflowY =\n            overflowY === \"scroll\" ||\n            (overflowY === \"auto\" &&\n              within.height < within.element[0].scrollHeight);\n        return {\n          width: hasOverflowY ? $.position.scrollbarWidth() : 0,\n          height: hasOverflowX ? $.position.scrollbarWidth() : 0,\n        };\n      },\n      getWithinInfo: function (element) {\n        var withinElement = $(element || window),\n          isElemWindow = isWindow(withinElement[0]),\n          isDocument = !!withinElement[0] && withinElement[0].nodeType === 9,\n          hasOffset = !isElemWindow && !isDocument;\n        return {\n          element: withinElement,\n          isWindow: isElemWindow,\n          isDocument: isDocument,\n          offset: hasOffset ? $(element).offset() : { left: 0, top: 0 },\n          scrollLeft: withinElement.scrollLeft(),\n          scrollTop: withinElement.scrollTop(),\n          width: withinElement.outerWidth(),\n          height: withinElement.outerHeight(),\n        };\n      },\n    };\n\n    $.fn.position = function (options) {\n      if (!options || !options.of) {\n        return _position.apply(this, arguments);\n      }\n\n      // Make a copy, we don't want to modify arguments\n      options = $.extend({}, options);\n\n      var atOffset,\n        targetWidth,\n        targetHeight,\n        targetOffset,\n        basePosition,\n        dimensions,\n        // Make sure string options are treated as CSS selectors\n        target =\n          typeof options.of === \"string\"\n            ? $(document).find(options.of)\n            : $(options.of),\n        within = $.position.getWithinInfo(options.within),\n        scrollInfo = $.position.getScrollInfo(within),\n        collision = (options.collision || \"flip\").split(\" \"),\n        offsets = {};\n\n      dimensions = getDimensions(target);\n      if (target[0].preventDefault) {\n        // Force left top to allow flipping\n        options.at = \"left top\";\n      }\n      targetWidth = dimensions.width;\n      targetHeight = dimensions.height;\n      targetOffset = dimensions.offset;\n\n      // Clone to reuse original targetOffset later\n      basePosition = $.extend({}, targetOffset);\n\n      // Force my and at to have valid horizontal and vertical positions\n      // if a value is missing or invalid, it will be converted to center\n      $.each([\"my\", \"at\"], function () {\n        var pos = (options[this] || \"\").split(\" \"),\n          horizontalOffset,\n          verticalOffset;\n\n        if (pos.length === 1) {\n          pos = rhorizontal.test(pos[0])\n            ? pos.concat([\"center\"])\n            : rvertical.test(pos[0])\n            ? [\"center\"].concat(pos)\n            : [\"center\", \"center\"];\n        }\n        pos[0] = rhorizontal.test(pos[0]) ? pos[0] : \"center\";\n        pos[1] = rvertical.test(pos[1]) ? pos[1] : \"center\";\n\n        // Calculate offsets\n        horizontalOffset = roffset.exec(pos[0]);\n        verticalOffset = roffset.exec(pos[1]);\n        offsets[this] = [\n          horizontalOffset ? horizontalOffset[0] : 0,\n          verticalOffset ? verticalOffset[0] : 0,\n        ];\n\n        // Reduce to just the positions without the offsets\n        options[this] = [rposition.exec(pos[0])[0], rposition.exec(pos[1])[0]];\n      });\n\n      // Normalize collision option\n      if (collision.length === 1) {\n        collision[1] = collision[0];\n      }\n\n      if (options.at[0] === \"right\") {\n        basePosition.left += targetWidth;\n      } else if (options.at[0] === \"center\") {\n        basePosition.left += targetWidth / 2;\n      }\n\n      if (options.at[1] === \"bottom\") {\n        basePosition.top += targetHeight;\n      } else if (options.at[1] === \"center\") {\n        basePosition.top += targetHeight / 2;\n      }\n\n      atOffset = getOffsets(offsets.at, targetWidth, targetHeight);\n      basePosition.left += atOffset[0];\n      basePosition.top += atOffset[1];\n\n      return this.each(function () {\n        var collisionPosition,\n          using,\n          elem = $(this),\n          elemWidth = elem.outerWidth(),\n          elemHeight = elem.outerHeight(),\n          marginLeft = parseCss(this, \"marginLeft\"),\n          marginTop = parseCss(this, \"marginTop\"),\n          collisionWidth =\n            elemWidth +\n            marginLeft +\n            parseCss(this, \"marginRight\") +\n            scrollInfo.width,\n          collisionHeight =\n            elemHeight +\n            marginTop +\n            parseCss(this, \"marginBottom\") +\n            scrollInfo.height,\n          position = $.extend({}, basePosition),\n          myOffset = getOffsets(\n            offsets.my,\n            elem.outerWidth(),\n            elem.outerHeight(),\n          );\n\n        if (options.my[0] === \"right\") {\n          position.left -= elemWidth;\n        } else if (options.my[0] === \"center\") {\n          position.left -= elemWidth / 2;\n        }\n\n        if (options.my[1] === \"bottom\") {\n          position.top -= elemHeight;\n        } else if (options.my[1] === \"center\") {\n          position.top -= elemHeight / 2;\n        }\n\n        position.left += myOffset[0];\n        position.top += myOffset[1];\n\n        collisionPosition = {\n          marginLeft: marginLeft,\n          marginTop: marginTop,\n        };\n\n        $.each([\"left\", \"top\"], function (i, dir) {\n          if ($.ui.position[collision[i]]) {\n            $.ui.position[collision[i]][dir](position, {\n              targetWidth: targetWidth,\n              targetHeight: targetHeight,\n              elemWidth: elemWidth,\n              elemHeight: elemHeight,\n              collisionPosition: collisionPosition,\n              collisionWidth: collisionWidth,\n              collisionHeight: collisionHeight,\n              offset: [atOffset[0] + myOffset[0], atOffset[1] + myOffset[1]],\n              my: options.my,\n              at: options.at,\n              within: within,\n              elem: elem,\n            });\n          }\n        });\n\n        if (options.using) {\n          // Adds feedback as second argument to using callback, if present\n          using = function (props) {\n            var left = targetOffset.left - position.left,\n              right = left + targetWidth - elemWidth,\n              top = targetOffset.top - position.top,\n              bottom = top + targetHeight - elemHeight,\n              feedback = {\n                target: {\n                  element: target,\n                  left: targetOffset.left,\n                  top: targetOffset.top,\n                  width: targetWidth,\n                  height: targetHeight,\n                },\n                element: {\n                  element: elem,\n                  left: position.left,\n                  top: position.top,\n                  width: elemWidth,\n                  height: elemHeight,\n                },\n                horizontal: right < 0 ? \"left\" : left > 0 ? \"right\" : \"center\",\n                vertical: bottom < 0 ? \"top\" : top > 0 ? \"bottom\" : \"middle\",\n              };\n            if (targetWidth < elemWidth && abs(left + right) < targetWidth) {\n              feedback.horizontal = \"center\";\n            }\n            if (targetHeight < elemHeight && abs(top + bottom) < targetHeight) {\n              feedback.vertical = \"middle\";\n            }\n            if (max(abs(left), abs(right)) > max(abs(top), abs(bottom))) {\n              feedback.important = \"horizontal\";\n            } else {\n              feedback.important = \"vertical\";\n            }\n            options.using.call(this, props, feedback);\n          };\n        }\n\n        elem.offset($.extend(position, { using: using }));\n      });\n    };\n\n    $.ui.position = {\n      fit: {\n        left: function (position, data) {\n          var within = data.within,\n            withinOffset = within.isWindow\n              ? within.scrollLeft\n              : within.offset.left,\n            outerWidth = within.width,\n            collisionPosLeft =\n              position.left - data.collisionPosition.marginLeft,\n            overLeft = withinOffset - collisionPosLeft,\n            overRight =\n              collisionPosLeft +\n              data.collisionWidth -\n              outerWidth -\n              withinOffset,\n            newOverRight;\n\n          // Element is wider than within\n          if (data.collisionWidth > outerWidth) {\n            // Element is initially over the left side of within\n            if (overLeft > 0 && overRight <= 0) {\n              newOverRight =\n                position.left +\n                overLeft +\n                data.collisionWidth -\n                outerWidth -\n                withinOffset;\n              position.left += overLeft - newOverRight;\n\n              // Element is initially over right side of within\n            } else if (overRight > 0 && overLeft <= 0) {\n              position.left = withinOffset;\n\n              // Element is initially over both left and right sides of within\n            } else {\n              if (overLeft > overRight) {\n                position.left = withinOffset + outerWidth - data.collisionWidth;\n              } else {\n                position.left = withinOffset;\n              }\n            }\n\n            // Too far left -> align with left edge\n          } else if (overLeft > 0) {\n            position.left += overLeft;\n\n            // Too far right -> align with right edge\n          } else if (overRight > 0) {\n            position.left -= overRight;\n\n            // Adjust based on position and margin\n          } else {\n            position.left = max(\n              position.left - collisionPosLeft,\n              position.left,\n            );\n          }\n        },\n        top: function (position, data) {\n          var within = data.within,\n            withinOffset = within.isWindow\n              ? within.scrollTop\n              : within.offset.top,\n            outerHeight = data.within.height,\n            collisionPosTop = position.top - data.collisionPosition.marginTop,\n            overTop = withinOffset - collisionPosTop,\n            overBottom =\n              collisionPosTop +\n              data.collisionHeight -\n              outerHeight -\n              withinOffset,\n            newOverBottom;\n\n          // Element is taller than within\n          if (data.collisionHeight > outerHeight) {\n            // Element is initially over the top of within\n            if (overTop > 0 && overBottom <= 0) {\n              newOverBottom =\n                position.top +\n                overTop +\n                data.collisionHeight -\n                outerHeight -\n                withinOffset;\n              position.top += overTop - newOverBottom;\n\n              // Element is initially over bottom of within\n            } else if (overBottom > 0 && overTop <= 0) {\n              position.top = withinOffset;\n\n              // Element is initially over both top and bottom of within\n            } else {\n              if (overTop > overBottom) {\n                position.top =\n                  withinOffset + outerHeight - data.collisionHeight;\n              } else {\n                position.top = withinOffset;\n              }\n            }\n\n            // Too far up -> align with top\n          } else if (overTop > 0) {\n            position.top += overTop;\n\n            // Too far down -> align with bottom edge\n          } else if (overBottom > 0) {\n            position.top -= overBottom;\n\n            // Adjust based on position and margin\n          } else {\n            position.top = max(position.top - collisionPosTop, position.top);\n          }\n        },\n      },\n      flip: {\n        left: function (position, data) {\n          var within = data.within,\n            withinOffset = within.offset.left + within.scrollLeft,\n            outerWidth = within.width,\n            offsetLeft = within.isWindow\n              ? within.scrollLeft\n              : within.offset.left,\n            collisionPosLeft =\n              position.left - data.collisionPosition.marginLeft,\n            overLeft = collisionPosLeft - offsetLeft,\n            overRight =\n              collisionPosLeft + data.collisionWidth - outerWidth - offsetLeft,\n            myOffset =\n              data.my[0] === \"left\"\n                ? -data.elemWidth\n                : data.my[0] === \"right\"\n                ? data.elemWidth\n                : 0,\n            atOffset =\n              data.at[0] === \"left\"\n                ? data.targetWidth\n                : data.at[0] === \"right\"\n                ? -data.targetWidth\n                : 0,\n            offset = -2 * data.offset[0],\n            newOverRight,\n            newOverLeft;\n\n          if (overLeft < 0) {\n            newOverRight =\n              position.left +\n              myOffset +\n              atOffset +\n              offset +\n              data.collisionWidth -\n              outerWidth -\n              withinOffset;\n            if (newOverRight < 0 || newOverRight < abs(overLeft)) {\n              position.left += myOffset + atOffset + offset;\n            }\n          } else if (overRight > 0) {\n            newOverLeft =\n              position.left -\n              data.collisionPosition.marginLeft +\n              myOffset +\n              atOffset +\n              offset -\n              offsetLeft;\n            if (newOverLeft > 0 || abs(newOverLeft) < overRight) {\n              position.left += myOffset + atOffset + offset;\n            }\n          }\n        },\n        top: function (position, data) {\n          var within = data.within,\n            withinOffset = within.offset.top + within.scrollTop,\n            outerHeight = within.height,\n            offsetTop = within.isWindow ? within.scrollTop : within.offset.top,\n            collisionPosTop = position.top - data.collisionPosition.marginTop,\n            overTop = collisionPosTop - offsetTop,\n            overBottom =\n              collisionPosTop + data.collisionHeight - outerHeight - offsetTop,\n            top = data.my[1] === \"top\",\n            myOffset = top\n              ? -data.elemHeight\n              : data.my[1] === \"bottom\"\n              ? data.elemHeight\n              : 0,\n            atOffset =\n              data.at[1] === \"top\"\n                ? data.targetHeight\n                : data.at[1] === \"bottom\"\n                ? -data.targetHeight\n                : 0,\n            offset = -2 * data.offset[1],\n            newOverTop,\n            newOverBottom;\n          if (overTop < 0) {\n            newOverBottom =\n              position.top +\n              myOffset +\n              atOffset +\n              offset +\n              data.collisionHeight -\n              outerHeight -\n              withinOffset;\n            if (newOverBottom < 0 || newOverBottom < abs(overTop)) {\n              position.top += myOffset + atOffset + offset;\n            }\n          } else if (overBottom > 0) {\n            newOverTop =\n              position.top -\n              data.collisionPosition.marginTop +\n              myOffset +\n              atOffset +\n              offset -\n              offsetTop;\n            if (newOverTop > 0 || abs(newOverTop) < overBottom) {\n              position.top += myOffset + atOffset + offset;\n            }\n          }\n        },\n      },\n      flipfit: {\n        left: function () {\n          $.ui.position.flip.left.apply(this, arguments);\n          $.ui.position.fit.left.apply(this, arguments);\n        },\n        top: function () {\n          $.ui.position.flip.top.apply(this, arguments);\n          $.ui.position.fit.top.apply(this, arguments);\n        },\n      },\n    };\n  })();\n\n  var position = $.ui.position;\n\n  /*!\n   * jQuery UI :data 1.13.2\n   * http://jqueryui.com\n   *\n   * Copyright jQuery Foundation and other contributors\n   * Released under the MIT license.\n   * http://jquery.org/license\n   */\n\n  //>>label: :data Selector\n  //>>group: Core\n  //>>description: Selects elements which have data stored under the specified key.\n  //>>docs: http://api.jqueryui.com/data-selector/\n\n  var data = $.extend($.expr.pseudos, {\n    data: $.expr.createPseudo\n      ? $.expr.createPseudo(function (dataName) {\n          return function (elem) {\n            return !!$.data(elem, dataName);\n          };\n        })\n      : // Support: jQuery <1.8\n        function (elem, i, match) {\n          return !!$.data(elem, match[3]);\n        },\n  });\n\n  /*!\n   * jQuery UI Disable Selection 1.13.2\n   * http://jqueryui.com\n   *\n   * Copyright jQuery Foundation and other contributors\n   * Released under the MIT license.\n   * http://jquery.org/license\n   */\n\n  //>>label: disableSelection\n  //>>group: Core\n  //>>description: Disable selection of text content within the set of matched elements.\n  //>>docs: http://api.jqueryui.com/disableSelection/\n\n  // This file is deprecated\n\n  var disableSelection = $.fn.extend({\n    disableSelection: (function () {\n      var eventType =\n        \"onselectstart\" in document.createElement(\"div\")\n          ? \"selectstart\"\n          : \"mousedown\";\n\n      return function () {\n        return this.on(eventType + \".ui-disableSelection\", function (event) {\n          event.preventDefault();\n        });\n      };\n    })(),\n\n    enableSelection: function () {\n      return this.off(\".ui-disableSelection\");\n    },\n  });\n\n  /*!\n   * jQuery UI Focusable 1.13.2\n   * http://jqueryui.com\n   *\n   * Copyright jQuery Foundation and other contributors\n   * Released under the MIT license.\n   * http://jquery.org/license\n   */\n\n  //>>label: :focusable Selector\n  //>>group: Core\n  //>>description: Selects elements which can be focused.\n  //>>docs: http://api.jqueryui.com/focusable-selector/\n\n  // Selectors\n  $.ui.focusable = function (element, hasTabindex) {\n    var map,\n      mapName,\n      img,\n      focusableIfVisible,\n      fieldset,\n      nodeName = element.nodeName.toLowerCase();\n\n    if (\"area\" === nodeName) {\n      map = element.parentNode;\n      mapName = map.name;\n      if (!element.href || !mapName || map.nodeName.toLowerCase() !== \"map\") {\n        return false;\n      }\n      img = $(\"img[usemap='#\" + mapName + \"']\");\n      return img.length > 0 && img.is(\":visible\");\n    }\n\n    if (/^(input|select|textarea|button|object)$/.test(nodeName)) {\n      focusableIfVisible = !element.disabled;\n\n      if (focusableIfVisible) {\n        // Form controls within a disabled fieldset are disabled.\n        // However, controls within the fieldset's legend do not get disabled.\n        // Since controls generally aren't placed inside legends, we skip\n        // this portion of the check.\n        fieldset = $(element).closest(\"fieldset\")[0];\n        if (fieldset) {\n          focusableIfVisible = !fieldset.disabled;\n        }\n      }\n    } else if (\"a\" === nodeName) {\n      focusableIfVisible = element.href || hasTabindex;\n    } else {\n      focusableIfVisible = hasTabindex;\n    }\n\n    return (\n      focusableIfVisible && $(element).is(\":visible\") && visible($(element))\n    );\n  };\n\n  // Support: IE 8 only\n  // IE 8 doesn't resolve inherit to visible/hidden for computed values\n  function visible(element) {\n    var visibility = element.css(\"visibility\");\n    while (visibility === \"inherit\") {\n      element = element.parent();\n      visibility = element.css(\"visibility\");\n    }\n    return visibility === \"visible\";\n  }\n\n  $.extend($.expr.pseudos, {\n    focusable: function (element) {\n      return $.ui.focusable(element, $.attr(element, \"tabindex\") != null);\n    },\n  });\n\n  var focusable = $.ui.focusable;\n\n  // Support: IE8 Only\n  // IE8 does not support the form attribute and when it is supplied. It overwrites the form prop\n  // with a string, so we need to find the proper form.\n  var form = ($.fn._form = function () {\n    return typeof this[0].form === \"string\"\n      ? this.closest(\"form\")\n      : $(this[0].form);\n  });\n\n  /*!\n   * jQuery UI Form Reset Mixin 1.13.2\n   * http://jqueryui.com\n   *\n   * Copyright jQuery Foundation and other contributors\n   * Released under the MIT license.\n   * http://jquery.org/license\n   */\n\n  //>>label: Form Reset Mixin\n  //>>group: Core\n  //>>description: Refresh input widgets when their form is reset\n  //>>docs: http://api.jqueryui.com/form-reset-mixin/\n\n  var formResetMixin = ($.ui.formResetMixin = {\n    _formResetHandler: function () {\n      var form = $(this);\n\n      // Wait for the form reset to actually happen before refreshing\n      setTimeout(function () {\n        var instances = form.data(\"ui-form-reset-instances\");\n        $.each(instances, function () {\n          this.refresh();\n        });\n      });\n    },\n\n    _bindFormResetHandler: function () {\n      this.form = this.element._form();\n      if (!this.form.length) {\n        return;\n      }\n\n      var instances = this.form.data(\"ui-form-reset-instances\") || [];\n      if (!instances.length) {\n        // We don't use _on() here because we use a single event handler per form\n        this.form.on(\"reset.ui-form-reset\", this._formResetHandler);\n      }\n      instances.push(this);\n      this.form.data(\"ui-form-reset-instances\", instances);\n    },\n\n    _unbindFormResetHandler: function () {\n      if (!this.form.length) {\n        return;\n      }\n\n      var instances = this.form.data(\"ui-form-reset-instances\");\n      instances.splice($.inArray(this, instances), 1);\n      if (instances.length) {\n        this.form.data(\"ui-form-reset-instances\", instances);\n      } else {\n        this.form\n          .removeData(\"ui-form-reset-instances\")\n          .off(\"reset.ui-form-reset\");\n      }\n    },\n  });\n\n  /*!\n   * jQuery UI Support for jQuery core 1.8.x and newer 1.13.2\n   * http://jqueryui.com\n   *\n   * Copyright jQuery Foundation and other contributors\n   * Released under the MIT license.\n   * http://jquery.org/license\n   *\n   */\n\n  //>>label: jQuery 1.8+ Support\n  //>>group: Core\n  //>>description: Support version 1.8.x and newer of jQuery core\n\n  // Support: jQuery 1.9.x or older\n  // $.expr[ \":\" ] is deprecated.\n  if (!$.expr.pseudos) {\n    $.expr.pseudos = $.expr[\":\"];\n  }\n\n  // Support: jQuery 1.11.x or older\n  // $.unique has been renamed to $.uniqueSort\n  if (!$.uniqueSort) {\n    $.uniqueSort = $.unique;\n  }\n\n  // Support: jQuery 2.2.x or older.\n  // This method has been defined in jQuery 3.0.0.\n  // Code from https://github.com/jquery/jquery/blob/e539bac79e666bba95bba86d690b4e609dca2286/src/selector/escapeSelector.js\n  if (!$.escapeSelector) {\n    // CSS string/identifier serialization\n    // https://drafts.csswg.org/cssom/#common-serializing-idioms\n    var rcssescape = /([\\0-\\x1f\\x7f]|^-?\\d)|^-$|[^\\x80-\\uFFFF\\w-]/g;\n\n    var fcssescape = function (ch, asCodePoint) {\n      if (asCodePoint) {\n        // U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER\n        if (ch === \"\\0\") {\n          return \"\\uFFFD\";\n        }\n\n        // Control characters and (dependent upon position) numbers get escaped as code points\n        return (\n          ch.slice(0, -1) +\n          \"\\\\\" +\n          ch.charCodeAt(ch.length - 1).toString(16) +\n          \" \"\n        );\n      }\n\n      // Other potentially-special ASCII characters get backslash-escaped\n      return \"\\\\\" + ch;\n    };\n\n    $.escapeSelector = function (sel) {\n      return (sel + \"\").replace(rcssescape, fcssescape);\n    };\n  }\n\n  // Support: jQuery 3.4.x or older\n  // These methods have been defined in jQuery 3.5.0.\n  if (!$.fn.even || !$.fn.odd) {\n    $.fn.extend({\n      even: function () {\n        return this.filter(function (i) {\n          return i % 2 === 0;\n        });\n      },\n      odd: function () {\n        return this.filter(function (i) {\n          return i % 2 === 1;\n        });\n      },\n    });\n  }\n\n  /*!\n   * jQuery UI Keycode 1.13.2\n   * http://jqueryui.com\n   *\n   * Copyright jQuery Foundation and other contributors\n   * Released under the MIT license.\n   * http://jquery.org/license\n   */\n\n  //>>label: Keycode\n  //>>group: Core\n  //>>description: Provide keycodes as keynames\n  //>>docs: http://api.jqueryui.com/jQuery.ui.keyCode/\n\n  var keycode = ($.ui.keyCode = {\n    BACKSPACE: 8,\n    COMMA: 188,\n    DELETE: 46,\n    DOWN: 40,\n    END: 35,\n    ENTER: 13,\n    ESCAPE: 27,\n    HOME: 36,\n    LEFT: 37,\n    PAGE_DOWN: 34,\n    PAGE_UP: 33,\n    PERIOD: 190,\n    RIGHT: 39,\n    SPACE: 32,\n    TAB: 9,\n    UP: 38,\n  });\n\n  /*!\n   * jQuery UI Labels 1.13.2\n   * http://jqueryui.com\n   *\n   * Copyright jQuery Foundation and other contributors\n   * Released under the MIT license.\n   * http://jquery.org/license\n   */\n\n  //>>label: labels\n  //>>group: Core\n  //>>description: Find all the labels associated with a given input\n  //>>docs: http://api.jqueryui.com/labels/\n\n  var labels = ($.fn.labels = function () {\n    var ancestor, selector, id, labels, ancestors;\n\n    if (!this.length) {\n      return this.pushStack([]);\n    }\n\n    // Check control.labels first\n    if (this[0].labels && this[0].labels.length) {\n      return this.pushStack(this[0].labels);\n    }\n\n    // Support: IE <= 11, FF <= 37, Android <= 2.3 only\n    // Above browsers do not support control.labels. Everything below is to support them\n    // as well as document fragments. control.labels does not work on document fragments\n    labels = this.eq(0).parents(\"label\");\n\n    // Look for the label based on the id\n    id = this.attr(\"id\");\n    if (id) {\n      // We don't search against the document in case the element\n      // is disconnected from the DOM\n      ancestor = this.eq(0).parents().last();\n\n      // Get a full set of top level ancestors\n      ancestors = ancestor.add(\n        ancestor.length ? ancestor.siblings() : this.siblings(),\n      );\n\n      // Create a selector for the label based on the id\n      selector = \"label[for='\" + $.escapeSelector(id) + \"']\";\n\n      labels = labels.add(ancestors.find(selector).addBack(selector));\n    }\n\n    // Return whatever we have found for labels\n    return this.pushStack(labels);\n  });\n\n  /*!\n   * jQuery UI Scroll Parent 1.13.2\n   * http://jqueryui.com\n   *\n   * Copyright jQuery Foundation and other contributors\n   * Released under the MIT license.\n   * http://jquery.org/license\n   */\n\n  //>>label: scrollParent\n  //>>group: Core\n  //>>description: Get the closest ancestor element that is scrollable.\n  //>>docs: http://api.jqueryui.com/scrollParent/\n\n  var scrollParent = ($.fn.scrollParent = function (includeHidden) {\n    var position = this.css(\"position\"),\n      excludeStaticParent = position === \"absolute\",\n      overflowRegex = includeHidden ? /(auto|scroll|hidden)/ : /(auto|scroll)/,\n      scrollParent = this.parents()\n        .filter(function () {\n          var parent = $(this);\n          if (excludeStaticParent && parent.css(\"position\") === \"static\") {\n            return false;\n          }\n          return overflowRegex.test(\n            parent.css(\"overflow\") +\n              parent.css(\"overflow-y\") +\n              parent.css(\"overflow-x\"),\n          );\n        })\n        .eq(0);\n\n    return position === \"fixed\" || !scrollParent.length\n      ? $(this[0].ownerDocument || document)\n      : scrollParent;\n  });\n\n  /*!\n   * jQuery UI Tabbable 1.13.2\n   * http://jqueryui.com\n   *\n   * Copyright jQuery Foundation and other contributors\n   * Released under the MIT license.\n   * http://jquery.org/license\n   */\n\n  //>>label: :tabbable Selector\n  //>>group: Core\n  //>>description: Selects elements which can be tabbed to.\n  //>>docs: http://api.jqueryui.com/tabbable-selector/\n\n  var tabbable = $.extend($.expr.pseudos, {\n    tabbable: function (element) {\n      var tabIndex = $.attr(element, \"tabindex\"),\n        hasTabindex = tabIndex != null;\n      return (\n        (!hasTabindex || tabIndex >= 0) && $.ui.focusable(element, hasTabindex)\n      );\n    },\n  });\n\n  /*!\n   * jQuery UI Unique ID 1.13.2\n   * http://jqueryui.com\n   *\n   * Copyright jQuery Foundation and other contributors\n   * Released under the MIT license.\n   * http://jquery.org/license\n   */\n\n  //>>label: uniqueId\n  //>>group: Core\n  //>>description: Functions to generate and remove uniqueId's\n  //>>docs: http://api.jqueryui.com/uniqueId/\n\n  var uniqueId = $.fn.extend({\n    uniqueId: (function () {\n      var uuid = 0;\n\n      return function () {\n        return this.each(function () {\n          if (!this.id) {\n            this.id = \"ui-id-\" + ++uuid;\n          }\n        });\n      };\n    })(),\n\n    removeUniqueId: function () {\n      return this.each(function () {\n        if (/^ui-id-\\d+$/.test(this.id)) {\n          $(this).removeAttr(\"id\");\n        }\n      });\n    },\n  });\n\n  // This file is deprecated\n  var ie = ($.ui.ie = !!/msie [\\w.]+/.exec(navigator.userAgent.toLowerCase()));\n\n  /*!\n   * jQuery UI Mouse 1.13.2\n   * http://jqueryui.com\n   *\n   * Copyright jQuery Foundation and other contributors\n   * Released under the MIT license.\n   * http://jquery.org/license\n   */\n\n  //>>label: Mouse\n  //>>group: Widgets\n  //>>description: Abstracts mouse-based interactions to assist in creating certain widgets.\n  //>>docs: http://api.jqueryui.com/mouse/\n\n  var mouseHandled = false;\n  $(document).on(\"mouseup\", function () {\n    mouseHandled = false;\n  });\n\n  var widgetsMouse = $.widget(\"ui.mouse\", {\n    version: \"1.13.2\",\n    options: {\n      cancel: \"input, textarea, button, select, option\",\n      distance: 1,\n      delay: 0,\n    },\n    _mouseInit: function () {\n      var that = this;\n\n      this.element\n        .on(\"mousedown.\" + this.widgetName, function (event) {\n          return that._mouseDown(event);\n        })\n        .on(\"click.\" + this.widgetName, function (event) {\n          if (\n            true ===\n            $.data(event.target, that.widgetName + \".preventClickEvent\")\n          ) {\n            $.removeData(event.target, that.widgetName + \".preventClickEvent\");\n            event.stopImmediatePropagation();\n            return false;\n          }\n        });\n\n      this.started = false;\n    },\n\n    // TODO: make sure destroying one instance of mouse doesn't mess with\n    // other instances of mouse\n    _mouseDestroy: function () {\n      this.element.off(\".\" + this.widgetName);\n      if (this._mouseMoveDelegate) {\n        this.document\n          .off(\"mousemove.\" + this.widgetName, this._mouseMoveDelegate)\n          .off(\"mouseup.\" + this.widgetName, this._mouseUpDelegate);\n      }\n    },\n\n    _mouseDown: function (event) {\n      // don't let more than one widget handle mouseStart\n      if (mouseHandled) {\n        return;\n      }\n\n      this._mouseMoved = false;\n\n      // We may have missed mouseup (out of window)\n      if (this._mouseStarted) {\n        this._mouseUp(event);\n      }\n\n      this._mouseDownEvent = event;\n\n      var that = this,\n        btnIsLeft = event.which === 1,\n        // event.target.nodeName works around a bug in IE 8 with\n        // disabled inputs (#7620)\n        elIsCancel =\n          typeof this.options.cancel === \"string\" && event.target.nodeName\n            ? $(event.target).closest(this.options.cancel).length\n            : false;\n      if (!btnIsLeft || elIsCancel || !this._mouseCapture(event)) {\n        return true;\n      }\n\n      this.mouseDelayMet = !this.options.delay;\n      if (!this.mouseDelayMet) {\n        this._mouseDelayTimer = setTimeout(function () {\n          that.mouseDelayMet = true;\n        }, this.options.delay);\n      }\n\n      if (this._mouseDistanceMet(event) && this._mouseDelayMet(event)) {\n        this._mouseStarted = this._mouseStart(event) !== false;\n        if (!this._mouseStarted) {\n          event.preventDefault();\n          return true;\n        }\n      }\n\n      // Click event may never have fired (Gecko & Opera)\n      if (\n        true === $.data(event.target, this.widgetName + \".preventClickEvent\")\n      ) {\n        $.removeData(event.target, this.widgetName + \".preventClickEvent\");\n      }\n\n      // These delegates are required to keep context\n      this._mouseMoveDelegate = function (event) {\n        return that._mouseMove(event);\n      };\n      this._mouseUpDelegate = function (event) {\n        return that._mouseUp(event);\n      };\n\n      this.document\n        .on(\"mousemove.\" + this.widgetName, this._mouseMoveDelegate)\n        .on(\"mouseup.\" + this.widgetName, this._mouseUpDelegate);\n\n      event.preventDefault();\n\n      mouseHandled = true;\n      return true;\n    },\n\n    _mouseMove: function (event) {\n      // Only check for mouseups outside the document if you've moved inside the document\n      // at least once. This prevents the firing of mouseup in the case of IE<9, which will\n      // fire a mousemove event if content is placed under the cursor. See #7778\n      // Support: IE <9\n      if (this._mouseMoved) {\n        // IE mouseup check - mouseup happened when mouse was out of window\n        if (\n          $.ui.ie &&\n          (!document.documentMode || document.documentMode < 9) &&\n          !event.button\n        ) {\n          return this._mouseUp(event);\n\n          // Iframe mouseup check - mouseup occurred in another document\n        } else if (!event.which) {\n          // Support: Safari <=8 - 9\n          // Safari sets which to 0 if you press any of the following keys\n          // during a drag (#14461)\n          if (\n            event.originalEvent.altKey ||\n            event.originalEvent.ctrlKey ||\n            event.originalEvent.metaKey ||\n            event.originalEvent.shiftKey\n          ) {\n            this.ignoreMissingWhich = true;\n          } else if (!this.ignoreMissingWhich) {\n            return this._mouseUp(event);\n          }\n        }\n      }\n\n      if (event.which || event.button) {\n        this._mouseMoved = true;\n      }\n\n      if (this._mouseStarted) {\n        this._mouseDrag(event);\n        return event.preventDefault();\n      }\n\n      if (this._mouseDistanceMet(event) && this._mouseDelayMet(event)) {\n        this._mouseStarted =\n          this._mouseStart(this._mouseDownEvent, event) !== false;\n        if (this._mouseStarted) {\n          this._mouseDrag(event);\n        } else {\n          this._mouseUp(event);\n        }\n      }\n\n      return !this._mouseStarted;\n    },\n\n    _mouseUp: function (event) {\n      this.document\n        .off(\"mousemove.\" + this.widgetName, this._mouseMoveDelegate)\n        .off(\"mouseup.\" + this.widgetName, this._mouseUpDelegate);\n\n      if (this._mouseStarted) {\n        this._mouseStarted = false;\n\n        if (event.target === this._mouseDownEvent.target) {\n          $.data(event.target, this.widgetName + \".preventClickEvent\", true);\n        }\n\n        this._mouseStop(event);\n      }\n\n      if (this._mouseDelayTimer) {\n        clearTimeout(this._mouseDelayTimer);\n        delete this._mouseDelayTimer;\n      }\n\n      this.ignoreMissingWhich = false;\n      mouseHandled = false;\n      event.preventDefault();\n    },\n\n    _mouseDistanceMet: function (event) {\n      return (\n        Math.max(\n          Math.abs(this._mouseDownEvent.pageX - event.pageX),\n          Math.abs(this._mouseDownEvent.pageY - event.pageY),\n        ) >= this.options.distance\n      );\n    },\n\n    _mouseDelayMet: function (/* event */) {\n      return this.mouseDelayMet;\n    },\n\n    // These are placeholder methods, to be overriden by extending plugin\n    _mouseStart: function (/* event */) {},\n    _mouseDrag: function (/* event */) {},\n    _mouseStop: function (/* event */) {},\n    _mouseCapture: function (/* event */) {\n      return true;\n    },\n  });\n\n  // $.ui.plugin is deprecated. Use $.widget() extensions instead.\n  var plugin = ($.ui.plugin = {\n    add: function (module, option, set) {\n      var i,\n        proto = $.ui[module].prototype;\n      for (i in set) {\n        proto.plugins[i] = proto.plugins[i] || [];\n        proto.plugins[i].push([option, set[i]]);\n      }\n    },\n    call: function (instance, name, args, allowDisconnected) {\n      var i,\n        set = instance.plugins[name];\n\n      if (!set) {\n        return;\n      }\n\n      if (\n        !allowDisconnected &&\n        (!instance.element[0].parentNode ||\n          instance.element[0].parentNode.nodeType === 11)\n      ) {\n        return;\n      }\n\n      for (i = 0; i < set.length; i++) {\n        if (instance.options[set[i][0]]) {\n          set[i][1].apply(instance.element, args);\n        }\n      }\n    },\n  });\n\n  var safeActiveElement = ($.ui.safeActiveElement = function (document) {\n    var activeElement;\n\n    // Support: IE 9 only\n    // IE9 throws an \"Unspecified error\" accessing document.activeElement from an <iframe>\n    try {\n      activeElement = document.activeElement;\n    } catch (error) {\n      activeElement = document.body;\n    }\n\n    // Support: IE 9 - 11 only\n    // IE may return null instead of an element\n    // Interestingly, this only seems to occur when NOT in an iframe\n    if (!activeElement) {\n      activeElement = document.body;\n    }\n\n    // Support: IE 11 only\n    // IE11 returns a seemingly empty object in some cases when accessing\n    // document.activeElement from an <iframe>\n    if (!activeElement.nodeName) {\n      activeElement = document.body;\n    }\n\n    return activeElement;\n  });\n\n  var safeBlur = ($.ui.safeBlur = function (element) {\n    // Support: IE9 - 10 only\n    // If the <body> is blurred, IE will switch windows, see #9420\n    if (element && element.nodeName.toLowerCase() !== \"body\") {\n      $(element).trigger(\"blur\");\n    }\n  });\n\n  /*!\n   * jQuery UI Draggable 1.13.2\n   * http://jqueryui.com\n   *\n   * Copyright jQuery Foundation and other contributors\n   * Released under the MIT license.\n   * http://jquery.org/license\n   */\n\n  //>>label: Draggable\n  //>>group: Interactions\n  //>>description: Enables dragging functionality for any element.\n  //>>docs: http://api.jqueryui.com/draggable/\n  //>>demos: http://jqueryui.com/draggable/\n  //>>css.structure: ../../themes/base/draggable.css\n\n  $.widget(\"ui.draggable\", $.ui.mouse, {\n    version: \"1.13.2\",\n    widgetEventPrefix: \"drag\",\n    options: {\n      addClasses: true,\n      appendTo: \"parent\",\n      axis: false,\n      connectToSortable: false,\n      containment: false,\n      cursor: \"auto\",\n      cursorAt: false,\n      grid: false,\n      handle: false,\n      helper: \"original\",\n      iframeFix: false,\n      opacity: false,\n      refreshPositions: false,\n      revert: false,\n      revertDuration: 500,\n      scope: \"default\",\n      scroll: true,\n      scrollSensitivity: 20,\n      scrollSpeed: 20,\n      snap: false,\n      snapMode: \"both\",\n      snapTolerance: 20,\n      stack: false,\n      zIndex: false,\n\n      // Callbacks\n      drag: null,\n      start: null,\n      stop: null,\n    },\n    _create: function () {\n      if (this.options.helper === \"original\") {\n        this._setPositionRelative();\n      }\n      if (this.options.addClasses) {\n        this._addClass(\"ui-draggable\");\n      }\n      this._setHandleClassName();\n\n      this._mouseInit();\n    },\n\n    _setOption: function (key, value) {\n      this._super(key, value);\n      if (key === \"handle\") {\n        this._removeHandleClassName();\n        this._setHandleClassName();\n      }\n    },\n\n    _destroy: function () {\n      if ((this.helper || this.element).is(\".ui-draggable-dragging\")) {\n        this.destroyOnClear = true;\n        return;\n      }\n      this._removeHandleClassName();\n      this._mouseDestroy();\n    },\n\n    _mouseCapture: function (event) {\n      var o = this.options;\n\n      // Among others, prevent a drag on a resizable-handle\n      if (\n        this.helper ||\n        o.disabled ||\n        $(event.target).closest(\".ui-resizable-handle\").length > 0\n      ) {\n        return false;\n      }\n\n      //Quit if we're not on a valid handle\n      this.handle = this._getHandle(event);\n      if (!this.handle) {\n        return false;\n      }\n\n      this._blurActiveElement(event);\n\n      this._blockFrames(o.iframeFix === true ? \"iframe\" : o.iframeFix);\n\n      return true;\n    },\n\n    _blockFrames: function (selector) {\n      this.iframeBlocks = this.document.find(selector).map(function () {\n        var iframe = $(this);\n\n        return $(\"<div>\")\n          .css(\"position\", \"absolute\")\n          .appendTo(iframe.parent())\n          .outerWidth(iframe.outerWidth())\n          .outerHeight(iframe.outerHeight())\n          .offset(iframe.offset())[0];\n      });\n    },\n\n    _unblockFrames: function () {\n      if (this.iframeBlocks) {\n        this.iframeBlocks.remove();\n        delete this.iframeBlocks;\n      }\n    },\n\n    _blurActiveElement: function (event) {\n      var activeElement = $.ui.safeActiveElement(this.document[0]),\n        target = $(event.target);\n\n      // Don't blur if the event occurred on an element that is within\n      // the currently focused element\n      // See #10527, #12472\n      if (target.closest(activeElement).length) {\n        return;\n      }\n\n      // Blur any element that currently has focus, see #4261\n      $.ui.safeBlur(activeElement);\n    },\n\n    _mouseStart: function (event) {\n      var o = this.options;\n\n      //Create and append the visible helper\n      this.helper = this._createHelper(event);\n\n      this._addClass(this.helper, \"ui-draggable-dragging\");\n\n      //Cache the helper size\n      this._cacheHelperProportions();\n\n      //If ddmanager is used for droppables, set the global draggable\n      if ($.ui.ddmanager) {\n        $.ui.ddmanager.current = this;\n      }\n\n      /*\n       * - Position generation -\n       * This block generates everything position related - it's the core of draggables.\n       */\n\n      //Cache the margins of the original element\n      this._cacheMargins();\n\n      //Store the helper's css position\n      this.cssPosition = this.helper.css(\"position\");\n      this.scrollParent = this.helper.scrollParent(true);\n      this.offsetParent = this.helper.offsetParent();\n      this.hasFixedAncestor =\n        this.helper.parents().filter(function () {\n          return $(this).css(\"position\") === \"fixed\";\n        }).length > 0;\n\n      //The element's absolute position on the page minus margins\n      this.positionAbs = this.element.offset();\n      this._refreshOffsets(event);\n\n      //Generate the original position\n      this.originalPosition = this.position = this._generatePosition(\n        event,\n        false,\n      );\n      this.originalPageX = event.pageX;\n      this.originalPageY = event.pageY;\n\n      //Adjust the mouse offset relative to the helper if \"cursorAt\" is supplied\n      if (o.cursorAt) {\n        this._adjustOffsetFromHelper(o.cursorAt);\n      }\n\n      //Set a containment if given in the options\n      this._setContainment();\n\n      //Trigger event + callbacks\n      if (this._trigger(\"start\", event) === false) {\n        this._clear();\n        return false;\n      }\n\n      //Recache the helper size\n      this._cacheHelperProportions();\n\n      //Prepare the droppable offsets\n      if ($.ui.ddmanager && !o.dropBehaviour) {\n        $.ui.ddmanager.prepareOffsets(this, event);\n      }\n\n      // Execute the drag once - this causes the helper not to be visible before getting its\n      // correct position\n      this._mouseDrag(event, true);\n\n      // If the ddmanager is used for droppables, inform the manager that dragging has started\n      // (see #5003)\n      if ($.ui.ddmanager) {\n        $.ui.ddmanager.dragStart(this, event);\n      }\n\n      return true;\n    },\n\n    _refreshOffsets: function (event) {\n      this.offset = {\n        top: this.positionAbs.top - this.margins.top,\n        left: this.positionAbs.left - this.margins.left,\n        scroll: false,\n        parent: this._getParentOffset(),\n        relative: this._getRelativeOffset(),\n      };\n\n      this.offset.click = {\n        left: event.pageX - this.offset.left,\n        top: event.pageY - this.offset.top,\n      };\n    },\n\n    _mouseDrag: function (event, noPropagation) {\n      // reset any necessary cached properties (see #5009)\n      if (this.hasFixedAncestor) {\n        this.offset.parent = this._getParentOffset();\n      }\n\n      //Compute the helpers position\n      this.position = this._generatePosition(event, true);\n      this.positionAbs = this._convertPositionTo(\"absolute\");\n\n      //Call plugins and callbacks and use the resulting position if something is returned\n      if (!noPropagation) {\n        var ui = this._uiHash();\n        if (this._trigger(\"drag\", event, ui) === false) {\n          this._mouseUp(new $.Event(\"mouseup\", event));\n          return false;\n        }\n        this.position = ui.position;\n      }\n\n      this.helper[0].style.left = this.position.left + \"px\";\n      this.helper[0].style.top = this.position.top + \"px\";\n\n      if ($.ui.ddmanager) {\n        $.ui.ddmanager.drag(this, event);\n      }\n\n      return false;\n    },\n\n    _mouseStop: function (event) {\n      //If we are using droppables, inform the manager about the drop\n      var that = this,\n        dropped = false;\n      if ($.ui.ddmanager && !this.options.dropBehaviour) {\n        dropped = $.ui.ddmanager.drop(this, event);\n      }\n\n      //if a drop comes from outside (a sortable)\n      if (this.dropped) {\n        dropped = this.dropped;\n        this.dropped = false;\n      }\n\n      if (\n        (this.options.revert === \"invalid\" && !dropped) ||\n        (this.options.revert === \"valid\" && dropped) ||\n        this.options.revert === true ||\n        (typeof this.options.revert === \"function\" &&\n          this.options.revert.call(this.element, dropped))\n      ) {\n        $(this.helper).animate(\n          this.originalPosition,\n          parseInt(this.options.revertDuration, 10),\n          function () {\n            if (that._trigger(\"stop\", event) !== false) {\n              that._clear();\n            }\n          },\n        );\n      } else {\n        if (this._trigger(\"stop\", event) !== false) {\n          this._clear();\n        }\n      }\n\n      return false;\n    },\n\n    _mouseUp: function (event) {\n      this._unblockFrames();\n\n      // If the ddmanager is used for droppables, inform the manager that dragging has stopped\n      // (see #5003)\n      if ($.ui.ddmanager) {\n        $.ui.ddmanager.dragStop(this, event);\n      }\n\n      // Only need to focus if the event occurred on the draggable itself, see #10527\n      if (this.handleElement.is(event.target)) {\n        // The interaction is over; whether or not the click resulted in a drag,\n        // focus the element\n        this.element.trigger(\"focus\");\n      }\n\n      return $.ui.mouse.prototype._mouseUp.call(this, event);\n    },\n\n    cancel: function () {\n      if (this.helper.is(\".ui-draggable-dragging\")) {\n        this._mouseUp(new $.Event(\"mouseup\", { target: this.element[0] }));\n      } else {\n        this._clear();\n      }\n\n      return this;\n    },\n\n    _getHandle: function (event) {\n      return this.options.handle\n        ? !!$(event.target).closest(this.element.find(this.options.handle))\n            .length\n        : true;\n    },\n\n    _setHandleClassName: function () {\n      this.handleElement = this.options.handle\n        ? this.element.find(this.options.handle)\n        : this.element;\n      this._addClass(this.handleElement, \"ui-draggable-handle\");\n    },\n\n    _removeHandleClassName: function () {\n      this._removeClass(this.handleElement, \"ui-draggable-handle\");\n    },\n\n    _createHelper: function (event) {\n      var o = this.options,\n        helperIsFunction = typeof o.helper === \"function\",\n        helper = helperIsFunction\n          ? $(o.helper.apply(this.element[0], [event]))\n          : o.helper === \"clone\"\n          ? this.element.clone().removeAttr(\"id\")\n          : this.element;\n\n      if (!helper.parents(\"body\").length) {\n        helper.appendTo(\n          o.appendTo === \"parent\" ? this.element[0].parentNode : o.appendTo,\n        );\n      }\n\n      // Http://bugs.jqueryui.com/ticket/9446\n      // a helper function can return the original element\n      // which wouldn't have been set to relative in _create\n      if (helperIsFunction && helper[0] === this.element[0]) {\n        this._setPositionRelative();\n      }\n\n      if (\n        helper[0] !== this.element[0] &&\n        !/(fixed|absolute)/.test(helper.css(\"position\"))\n      ) {\n        helper.css(\"position\", \"absolute\");\n      }\n\n      return helper;\n    },\n\n    _setPositionRelative: function () {\n      if (!/^(?:r|a|f)/.test(this.element.css(\"position\"))) {\n        this.element[0].style.position = \"relative\";\n      }\n    },\n\n    _adjustOffsetFromHelper: function (obj) {\n      if (typeof obj === \"string\") {\n        obj = obj.split(\" \");\n      }\n      if (Array.isArray(obj)) {\n        obj = { left: +obj[0], top: +obj[1] || 0 };\n      }\n      if (\"left\" in obj) {\n        this.offset.click.left = obj.left + this.margins.left;\n      }\n      if (\"right\" in obj) {\n        this.offset.click.left =\n          this.helperProportions.width - obj.right + this.margins.left;\n      }\n      if (\"top\" in obj) {\n        this.offset.click.top = obj.top + this.margins.top;\n      }\n      if (\"bottom\" in obj) {\n        this.offset.click.top =\n          this.helperProportions.height - obj.bottom + this.margins.top;\n      }\n    },\n\n    _isRootNode: function (element) {\n      return (\n        /(html|body)/i.test(element.tagName) || element === this.document[0]\n      );\n    },\n\n    _getParentOffset: function () {\n      //Get the offsetParent and cache its position\n      var po = this.offsetParent.offset(),\n        document = this.document[0];\n\n      // This is a special case where we need to modify a offset calculated on start, since the\n      // following happened:\n      // 1. The position of the helper is absolute, so it's position is calculated based on the\n      // next positioned parent\n      // 2. The actual offset parent is a child of the scroll parent, and the scroll parent isn't\n      // the document, which means that the scroll is included in the initial calculation of the\n      // offset of the parent, and never recalculated upon drag\n      if (\n        this.cssPosition === \"absolute\" &&\n        this.scrollParent[0] !== document &&\n        $.contains(this.scrollParent[0], this.offsetParent[0])\n      ) {\n        po.left += this.scrollParent.scrollLeft();\n        po.top += this.scrollParent.scrollTop();\n      }\n\n      if (this._isRootNode(this.offsetParent[0])) {\n        po = { top: 0, left: 0 };\n      }\n\n      return {\n        top:\n          po.top + (parseInt(this.offsetParent.css(\"borderTopWidth\"), 10) || 0),\n        left:\n          po.left +\n          (parseInt(this.offsetParent.css(\"borderLeftWidth\"), 10) || 0),\n      };\n    },\n\n    _getRelativeOffset: function () {\n      if (this.cssPosition !== \"relative\") {\n        return { top: 0, left: 0 };\n      }\n\n      var p = this.element.position(),\n        scrollIsRootNode = this._isRootNode(this.scrollParent[0]);\n\n      return {\n        top:\n          p.top -\n          (parseInt(this.helper.css(\"top\"), 10) || 0) +\n          (!scrollIsRootNode ? this.scrollParent.scrollTop() : 0),\n        left:\n          p.left -\n          (parseInt(this.helper.css(\"left\"), 10) || 0) +\n          (!scrollIsRootNode ? this.scrollParent.scrollLeft() : 0),\n      };\n    },\n\n    _cacheMargins: function () {\n      this.margins = {\n        left: parseInt(this.element.css(\"marginLeft\"), 10) || 0,\n        top: parseInt(this.element.css(\"marginTop\"), 10) || 0,\n        right: parseInt(this.element.css(\"marginRight\"), 10) || 0,\n        bottom: parseInt(this.element.css(\"marginBottom\"), 10) || 0,\n      };\n    },\n\n    _cacheHelperProportions: function () {\n      this.helperProportions = {\n        width: this.helper.outerWidth(),\n        height: this.helper.outerHeight(),\n      };\n    },\n\n    _setContainment: function () {\n      var isUserScrollable,\n        c,\n        ce,\n        o = this.options,\n        document = this.document[0];\n\n      this.relativeContainer = null;\n\n      if (!o.containment) {\n        this.containment = null;\n        return;\n      }\n\n      if (o.containment === \"window\") {\n        this.containment = [\n          $(window).scrollLeft() -\n            this.offset.relative.left -\n            this.offset.parent.left,\n          $(window).scrollTop() -\n            this.offset.relative.top -\n            this.offset.parent.top,\n          $(window).scrollLeft() +\n            $(window).width() -\n            this.helperProportions.width -\n            this.margins.left,\n          $(window).scrollTop() +\n            ($(window).height() || document.body.parentNode.scrollHeight) -\n            this.helperProportions.height -\n            this.margins.top,\n        ];\n        return;\n      }\n\n      if (o.containment === \"document\") {\n        this.containment = [\n          0,\n          0,\n          $(document).width() -\n            this.helperProportions.width -\n            this.margins.left,\n          ($(document).height() || document.body.parentNode.scrollHeight) -\n            this.helperProportions.height -\n            this.margins.top,\n        ];\n        return;\n      }\n\n      if (o.containment.constructor === Array) {\n        this.containment = o.containment;\n        return;\n      }\n\n      if (o.containment === \"parent\") {\n        o.containment = this.helper[0].parentNode;\n      }\n\n      c = $(o.containment);\n      ce = c[0];\n\n      if (!ce) {\n        return;\n      }\n\n      isUserScrollable = /(scroll|auto)/.test(c.css(\"overflow\"));\n\n      this.containment = [\n        (parseInt(c.css(\"borderLeftWidth\"), 10) || 0) +\n          (parseInt(c.css(\"paddingLeft\"), 10) || 0),\n        (parseInt(c.css(\"borderTopWidth\"), 10) || 0) +\n          (parseInt(c.css(\"paddingTop\"), 10) || 0),\n        (isUserScrollable\n          ? Math.max(ce.scrollWidth, ce.offsetWidth)\n          : ce.offsetWidth) -\n          (parseInt(c.css(\"borderRightWidth\"), 10) || 0) -\n          (parseInt(c.css(\"paddingRight\"), 10) || 0) -\n          this.helperProportions.width -\n          this.margins.left -\n          this.margins.right,\n        (isUserScrollable\n          ? Math.max(ce.scrollHeight, ce.offsetHeight)\n          : ce.offsetHeight) -\n          (parseInt(c.css(\"borderBottomWidth\"), 10) || 0) -\n          (parseInt(c.css(\"paddingBottom\"), 10) || 0) -\n          this.helperProportions.height -\n          this.margins.top -\n          this.margins.bottom,\n      ];\n      this.relativeContainer = c;\n    },\n\n    _convertPositionTo: function (d, pos) {\n      if (!pos) {\n        pos = this.position;\n      }\n\n      var mod = d === \"absolute\" ? 1 : -1,\n        scrollIsRootNode = this._isRootNode(this.scrollParent[0]);\n\n      return {\n        top:\n          // The absolute mouse position\n          pos.top +\n          // Only for relative positioned nodes: Relative offset from element to offset parent\n          this.offset.relative.top * mod +\n          // The offsetParent's offset without borders (offset + border)\n          this.offset.parent.top * mod -\n          (this.cssPosition === \"fixed\"\n            ? -this.offset.scroll.top\n            : scrollIsRootNode\n            ? 0\n            : this.offset.scroll.top) *\n            mod,\n        left:\n          // The absolute mouse position\n          pos.left +\n          // Only for relative positioned nodes: Relative offset from element to offset parent\n          this.offset.relative.left * mod +\n          // The offsetParent's offset without borders (offset + border)\n          this.offset.parent.left * mod -\n          (this.cssPosition === \"fixed\"\n            ? -this.offset.scroll.left\n            : scrollIsRootNode\n            ? 0\n            : this.offset.scroll.left) *\n            mod,\n      };\n    },\n\n    _generatePosition: function (event, constrainPosition) {\n      var containment,\n        co,\n        top,\n        left,\n        o = this.options,\n        scrollIsRootNode = this._isRootNode(this.scrollParent[0]),\n        pageX = event.pageX,\n        pageY = event.pageY;\n\n      // Cache the scroll\n      if (!scrollIsRootNode || !this.offset.scroll) {\n        this.offset.scroll = {\n          top: this.scrollParent.scrollTop(),\n          left: this.scrollParent.scrollLeft(),\n        };\n      }\n\n      /*\n       * - Position constraining -\n       * Constrain the position to a mix of grid, containment.\n       */\n\n      // If we are not dragging yet, we won't check for options\n      if (constrainPosition) {\n        if (this.containment) {\n          if (this.relativeContainer) {\n            co = this.relativeContainer.offset();\n            containment = [\n              this.containment[0] + co.left,\n              this.containment[1] + co.top,\n              this.containment[2] + co.left,\n              this.containment[3] + co.top,\n            ];\n          } else {\n            containment = this.containment;\n          }\n\n          if (event.pageX - this.offset.click.left < containment[0]) {\n            pageX = containment[0] + this.offset.click.left;\n          }\n          if (event.pageY - this.offset.click.top < containment[1]) {\n            pageY = containment[1] + this.offset.click.top;\n          }\n          if (event.pageX - this.offset.click.left > containment[2]) {\n            pageX = containment[2] + this.offset.click.left;\n          }\n          if (event.pageY - this.offset.click.top > containment[3]) {\n            pageY = containment[3] + this.offset.click.top;\n          }\n        }\n\n        if (o.grid) {\n          //Check for grid elements set to 0 to prevent divide by 0 error causing invalid\n          // argument errors in IE (see ticket #6950)\n          top = o.grid[1]\n            ? this.originalPageY +\n              Math.round((pageY - this.originalPageY) / o.grid[1]) * o.grid[1]\n            : this.originalPageY;\n          pageY = containment\n            ? top - this.offset.click.top >= containment[1] ||\n              top - this.offset.click.top > containment[3]\n              ? top\n              : top - this.offset.click.top >= containment[1]\n              ? top - o.grid[1]\n              : top + o.grid[1]\n            : top;\n\n          left = o.grid[0]\n            ? this.originalPageX +\n              Math.round((pageX - this.originalPageX) / o.grid[0]) * o.grid[0]\n            : this.originalPageX;\n          pageX = containment\n            ? left - this.offset.click.left >= containment[0] ||\n              left - this.offset.click.left > containment[2]\n              ? left\n              : left - this.offset.click.left >= containment[0]\n              ? left - o.grid[0]\n              : left + o.grid[0]\n            : left;\n        }\n\n        if (o.axis === \"y\") {\n          pageX = this.originalPageX;\n        }\n\n        if (o.axis === \"x\") {\n          pageY = this.originalPageY;\n        }\n      }\n\n      return {\n        top:\n          // The absolute mouse position\n          pageY -\n          // Click offset (relative to the element)\n          this.offset.click.top -\n          // Only for relative positioned nodes: Relative offset from element to offset parent\n          this.offset.relative.top -\n          // The offsetParent's offset without borders (offset + border)\n          this.offset.parent.top +\n          (this.cssPosition === \"fixed\"\n            ? -this.offset.scroll.top\n            : scrollIsRootNode\n            ? 0\n            : this.offset.scroll.top),\n        left:\n          // The absolute mouse position\n          pageX -\n          // Click offset (relative to the element)\n          this.offset.click.left -\n          // Only for relative positioned nodes: Relative offset from element to offset parent\n          this.offset.relative.left -\n          // The offsetParent's offset without borders (offset + border)\n          this.offset.parent.left +\n          (this.cssPosition === \"fixed\"\n            ? -this.offset.scroll.left\n            : scrollIsRootNode\n            ? 0\n            : this.offset.scroll.left),\n      };\n    },\n\n    _clear: function () {\n      this._removeClass(this.helper, \"ui-draggable-dragging\");\n      if (this.helper[0] !== this.element[0] && !this.cancelHelperRemoval) {\n        this.helper.remove();\n      }\n      this.helper = null;\n      this.cancelHelperRemoval = false;\n      if (this.destroyOnClear) {\n        this.destroy();\n      }\n    },\n\n    // From now on bulk stuff - mainly helpers\n\n    _trigger: function (type, event, ui) {\n      ui = ui || this._uiHash();\n      $.ui.plugin.call(this, type, [event, ui, this], true);\n\n      // Absolute position and offset (see #6884 ) have to be recalculated after plugins\n      if (/^(drag|start|stop)/.test(type)) {\n        this.positionAbs = this._convertPositionTo(\"absolute\");\n        ui.offset = this.positionAbs;\n      }\n      return $.Widget.prototype._trigger.call(this, type, event, ui);\n    },\n\n    plugins: {},\n\n    _uiHash: function () {\n      return {\n        helper: this.helper,\n        position: this.position,\n        originalPosition: this.originalPosition,\n        offset: this.positionAbs,\n      };\n    },\n  });\n\n  $.ui.plugin.add(\"draggable\", \"connectToSortable\", {\n    start: function (event, ui, draggable) {\n      var uiSortable = $.extend({}, ui, {\n        item: draggable.element,\n      });\n\n      draggable.sortables = [];\n      $(draggable.options.connectToSortable).each(function () {\n        var sortable = $(this).sortable(\"instance\");\n\n        if (sortable && !sortable.options.disabled) {\n          draggable.sortables.push(sortable);\n\n          // RefreshPositions is called at drag start to refresh the containerCache\n          // which is used in drag. This ensures it's initialized and synchronized\n          // with any changes that might have happened on the page since initialization.\n          sortable.refreshPositions();\n          sortable._trigger(\"activate\", event, uiSortable);\n        }\n      });\n    },\n    stop: function (event, ui, draggable) {\n      var uiSortable = $.extend({}, ui, {\n        item: draggable.element,\n      });\n\n      draggable.cancelHelperRemoval = false;\n\n      $.each(draggable.sortables, function () {\n        var sortable = this;\n\n        if (sortable.isOver) {\n          sortable.isOver = 0;\n\n          // Allow this sortable to handle removing the helper\n          draggable.cancelHelperRemoval = true;\n          sortable.cancelHelperRemoval = false;\n\n          // Use _storedCSS To restore properties in the sortable,\n          // as this also handles revert (#9675) since the draggable\n          // may have modified them in unexpected ways (#8809)\n          sortable._storedCSS = {\n            position: sortable.placeholder.css(\"position\"),\n            top: sortable.placeholder.css(\"top\"),\n            left: sortable.placeholder.css(\"left\"),\n          };\n\n          sortable._mouseStop(event);\n\n          // Once drag has ended, the sortable should return to using\n          // its original helper, not the shared helper from draggable\n          sortable.options.helper = sortable.options._helper;\n        } else {\n          // Prevent this Sortable from removing the helper.\n          // However, don't set the draggable to remove the helper\n          // either as another connected Sortable may yet handle the removal.\n          sortable.cancelHelperRemoval = true;\n\n          sortable._trigger(\"deactivate\", event, uiSortable);\n        }\n      });\n    },\n    drag: function (event, ui, draggable) {\n      $.each(draggable.sortables, function () {\n        var innermostIntersecting = false,\n          sortable = this;\n\n        // Copy over variables that sortable's _intersectsWith uses\n        sortable.positionAbs = draggable.positionAbs;\n        sortable.helperProportions = draggable.helperProportions;\n        sortable.offset.click = draggable.offset.click;\n\n        if (sortable._intersectsWith(sortable.containerCache)) {\n          innermostIntersecting = true;\n\n          $.each(draggable.sortables, function () {\n            // Copy over variables that sortable's _intersectsWith uses\n            this.positionAbs = draggable.positionAbs;\n            this.helperProportions = draggable.helperProportions;\n            this.offset.click = draggable.offset.click;\n\n            if (\n              this !== sortable &&\n              this._intersectsWith(this.containerCache) &&\n              $.contains(sortable.element[0], this.element[0])\n            ) {\n              innermostIntersecting = false;\n            }\n\n            return innermostIntersecting;\n          });\n        }\n\n        if (innermostIntersecting) {\n          // If it intersects, we use a little isOver variable and set it once,\n          // so that the move-in stuff gets fired only once.\n          if (!sortable.isOver) {\n            sortable.isOver = 1;\n\n            // Store draggable's parent in case we need to reappend to it later.\n            draggable._parent = ui.helper.parent();\n\n            sortable.currentItem = ui.helper\n              .appendTo(sortable.element)\n              .data(\"ui-sortable-item\", true);\n\n            // Store helper option to later restore it\n            sortable.options._helper = sortable.options.helper;\n\n            sortable.options.helper = function () {\n              return ui.helper[0];\n            };\n\n            // Fire the start events of the sortable with our passed browser event,\n            // and our own helper (so it doesn't create a new one)\n            event.target = sortable.currentItem[0];\n            sortable._mouseCapture(event, true);\n            sortable._mouseStart(event, true, true);\n\n            // Because the browser event is way off the new appended portlet,\n            // modify necessary variables to reflect the changes\n            sortable.offset.click.top = draggable.offset.click.top;\n            sortable.offset.click.left = draggable.offset.click.left;\n            sortable.offset.parent.left -=\n              draggable.offset.parent.left - sortable.offset.parent.left;\n            sortable.offset.parent.top -=\n              draggable.offset.parent.top - sortable.offset.parent.top;\n\n            draggable._trigger(\"toSortable\", event);\n\n            // Inform draggable that the helper is in a valid drop zone,\n            // used solely in the revert option to handle \"valid/invalid\".\n            draggable.dropped = sortable.element;\n\n            // Need to refreshPositions of all sortables in the case that\n            // adding to one sortable changes the location of the other sortables (#9675)\n            $.each(draggable.sortables, function () {\n              this.refreshPositions();\n            });\n\n            // Hack so receive/update callbacks work (mostly)\n            draggable.currentItem = draggable.element;\n            sortable.fromOutside = draggable;\n          }\n\n          if (sortable.currentItem) {\n            sortable._mouseDrag(event);\n\n            // Copy the sortable's position because the draggable's can potentially reflect\n            // a relative position, while sortable is always absolute, which the dragged\n            // element has now become. (#8809)\n            ui.position = sortable.position;\n          }\n        } else {\n          // If it doesn't intersect with the sortable, and it intersected before,\n          // we fake the drag stop of the sortable, but make sure it doesn't remove\n          // the helper by using cancelHelperRemoval.\n          if (sortable.isOver) {\n            sortable.isOver = 0;\n            sortable.cancelHelperRemoval = true;\n\n            // Calling sortable's mouseStop would trigger a revert,\n            // so revert must be temporarily false until after mouseStop is called.\n            sortable.options._revert = sortable.options.revert;\n            sortable.options.revert = false;\n\n            sortable._trigger(\"out\", event, sortable._uiHash(sortable));\n            sortable._mouseStop(event, true);\n\n            // Restore sortable behaviors that were modfied\n            // when the draggable entered the sortable area (#9481)\n            sortable.options.revert = sortable.options._revert;\n            sortable.options.helper = sortable.options._helper;\n\n            if (sortable.placeholder) {\n              sortable.placeholder.remove();\n            }\n\n            // Restore and recalculate the draggable's offset considering the sortable\n            // may have modified them in unexpected ways. (#8809, #10669)\n            ui.helper.appendTo(draggable._parent);\n            draggable._refreshOffsets(event);\n            ui.position = draggable._generatePosition(event, true);\n\n            draggable._trigger(\"fromSortable\", event);\n\n            // Inform draggable that the helper is no longer in a valid drop zone\n            draggable.dropped = false;\n\n            // Need to refreshPositions of all sortables just in case removing\n            // from one sortable changes the location of other sortables (#9675)\n            $.each(draggable.sortables, function () {\n              this.refreshPositions();\n            });\n          }\n        }\n      });\n    },\n  });\n\n  $.ui.plugin.add(\"draggable\", \"cursor\", {\n    start: function (event, ui, instance) {\n      var t = $(\"body\"),\n        o = instance.options;\n\n      if (t.css(\"cursor\")) {\n        o._cursor = t.css(\"cursor\");\n      }\n      t.css(\"cursor\", o.cursor);\n    },\n    stop: function (event, ui, instance) {\n      var o = instance.options;\n      if (o._cursor) {\n        $(\"body\").css(\"cursor\", o._cursor);\n      }\n    },\n  });\n\n  $.ui.plugin.add(\"draggable\", \"opacity\", {\n    start: function (event, ui, instance) {\n      var t = $(ui.helper),\n        o = instance.options;\n      if (t.css(\"opacity\")) {\n        o._opacity = t.css(\"opacity\");\n      }\n      t.css(\"opacity\", o.opacity);\n    },\n    stop: function (event, ui, instance) {\n      var o = instance.options;\n      if (o._opacity) {\n        $(ui.helper).css(\"opacity\", o._opacity);\n      }\n    },\n  });\n\n  $.ui.plugin.add(\"draggable\", \"scroll\", {\n    start: function (event, ui, i) {\n      if (!i.scrollParentNotHidden) {\n        i.scrollParentNotHidden = i.helper.scrollParent(false);\n      }\n\n      if (\n        i.scrollParentNotHidden[0] !== i.document[0] &&\n        i.scrollParentNotHidden[0].tagName !== \"HTML\"\n      ) {\n        i.overflowOffset = i.scrollParentNotHidden.offset();\n      }\n    },\n    drag: function (event, ui, i) {\n      var o = i.options,\n        scrolled = false,\n        scrollParent = i.scrollParentNotHidden[0],\n        document = i.document[0];\n\n      if (scrollParent !== document && scrollParent.tagName !== \"HTML\") {\n        if (!o.axis || o.axis !== \"x\") {\n          if (\n            i.overflowOffset.top + scrollParent.offsetHeight - event.pageY <\n            o.scrollSensitivity\n          ) {\n            scrollParent.scrollTop = scrolled =\n              scrollParent.scrollTop + o.scrollSpeed;\n          } else if (event.pageY - i.overflowOffset.top < o.scrollSensitivity) {\n            scrollParent.scrollTop = scrolled =\n              scrollParent.scrollTop - o.scrollSpeed;\n          }\n        }\n\n        if (!o.axis || o.axis !== \"y\") {\n          if (\n            i.overflowOffset.left + scrollParent.offsetWidth - event.pageX <\n            o.scrollSensitivity\n          ) {\n            scrollParent.scrollLeft = scrolled =\n              scrollParent.scrollLeft + o.scrollSpeed;\n          } else if (\n            event.pageX - i.overflowOffset.left <\n            o.scrollSensitivity\n          ) {\n            scrollParent.scrollLeft = scrolled =\n              scrollParent.scrollLeft - o.scrollSpeed;\n          }\n        }\n      } else {\n        if (!o.axis || o.axis !== \"x\") {\n          if (event.pageY - $(document).scrollTop() < o.scrollSensitivity) {\n            scrolled = $(document).scrollTop(\n              $(document).scrollTop() - o.scrollSpeed,\n            );\n          } else if (\n            $(window).height() - (event.pageY - $(document).scrollTop()) <\n            o.scrollSensitivity\n          ) {\n            scrolled = $(document).scrollTop(\n              $(document).scrollTop() + o.scrollSpeed,\n            );\n          }\n        }\n\n        if (!o.axis || o.axis !== \"y\") {\n          if (event.pageX - $(document).scrollLeft() < o.scrollSensitivity) {\n            scrolled = $(document).scrollLeft(\n              $(document).scrollLeft() - o.scrollSpeed,\n            );\n          } else if (\n            $(window).width() - (event.pageX - $(document).scrollLeft()) <\n            o.scrollSensitivity\n          ) {\n            scrolled = $(document).scrollLeft(\n              $(document).scrollLeft() + o.scrollSpeed,\n            );\n          }\n        }\n      }\n\n      if (scrolled !== false && $.ui.ddmanager && !o.dropBehaviour) {\n        $.ui.ddmanager.prepareOffsets(i, event);\n      }\n    },\n  });\n\n  $.ui.plugin.add(\"draggable\", \"snap\", {\n    start: function (event, ui, i) {\n      var o = i.options;\n\n      i.snapElements = [];\n\n      $(\n        o.snap.constructor !== String\n          ? o.snap.items || \":data(ui-draggable)\"\n          : o.snap,\n      ).each(function () {\n        var $t = $(this),\n          $o = $t.offset();\n        if (this !== i.element[0]) {\n          i.snapElements.push({\n            item: this,\n            width: $t.outerWidth(),\n            height: $t.outerHeight(),\n            top: $o.top,\n            left: $o.left,\n          });\n        }\n      });\n    },\n    drag: function (event, ui, inst) {\n      var ts,\n        bs,\n        ls,\n        rs,\n        l,\n        r,\n        t,\n        b,\n        i,\n        first,\n        o = inst.options,\n        d = o.snapTolerance,\n        x1 = ui.offset.left,\n        x2 = x1 + inst.helperProportions.width,\n        y1 = ui.offset.top,\n        y2 = y1 + inst.helperProportions.height;\n\n      for (i = inst.snapElements.length - 1; i >= 0; i--) {\n        l = inst.snapElements[i].left - inst.margins.left;\n        r = l + inst.snapElements[i].width;\n        t = inst.snapElements[i].top - inst.margins.top;\n        b = t + inst.snapElements[i].height;\n\n        if (\n          x2 < l - d ||\n          x1 > r + d ||\n          y2 < t - d ||\n          y1 > b + d ||\n          !$.contains(\n            inst.snapElements[i].item.ownerDocument,\n            inst.snapElements[i].item,\n          )\n        ) {\n          if (inst.snapElements[i].snapping) {\n            if (inst.options.snap.release) {\n              inst.options.snap.release.call(\n                inst.element,\n                event,\n                $.extend(inst._uiHash(), {\n                  snapItem: inst.snapElements[i].item,\n                }),\n              );\n            }\n          }\n          inst.snapElements[i].snapping = false;\n          continue;\n        }\n\n        if (o.snapMode !== \"inner\") {\n          ts = Math.abs(t - y2) <= d;\n          bs = Math.abs(b - y1) <= d;\n          ls = Math.abs(l - x2) <= d;\n          rs = Math.abs(r - x1) <= d;\n          if (ts) {\n            ui.position.top = inst._convertPositionTo(\"relative\", {\n              top: t - inst.helperProportions.height,\n              left: 0,\n            }).top;\n          }\n          if (bs) {\n            ui.position.top = inst._convertPositionTo(\"relative\", {\n              top: b,\n              left: 0,\n            }).top;\n          }\n          if (ls) {\n            ui.position.left = inst._convertPositionTo(\"relative\", {\n              top: 0,\n              left: l - inst.helperProportions.width,\n            }).left;\n          }\n          if (rs) {\n            ui.position.left = inst._convertPositionTo(\"relative\", {\n              top: 0,\n              left: r,\n            }).left;\n          }\n        }\n\n        first = ts || bs || ls || rs;\n\n        if (o.snapMode !== \"outer\") {\n          ts = Math.abs(t - y1) <= d;\n          bs = Math.abs(b - y2) <= d;\n          ls = Math.abs(l - x1) <= d;\n          rs = Math.abs(r - x2) <= d;\n          if (ts) {\n            ui.position.top = inst._convertPositionTo(\"relative\", {\n              top: t,\n              left: 0,\n            }).top;\n          }\n          if (bs) {\n            ui.position.top = inst._convertPositionTo(\"relative\", {\n              top: b - inst.helperProportions.height,\n              left: 0,\n            }).top;\n          }\n          if (ls) {\n            ui.position.left = inst._convertPositionTo(\"relative\", {\n              top: 0,\n              left: l,\n            }).left;\n          }\n          if (rs) {\n            ui.position.left = inst._convertPositionTo(\"relative\", {\n              top: 0,\n              left: r - inst.helperProportions.width,\n            }).left;\n          }\n        }\n\n        if (!inst.snapElements[i].snapping && (ts || bs || ls || rs || first)) {\n          if (inst.options.snap.snap) {\n            inst.options.snap.snap.call(\n              inst.element,\n              event,\n              $.extend(inst._uiHash(), {\n                snapItem: inst.snapElements[i].item,\n              }),\n            );\n          }\n        }\n        inst.snapElements[i].snapping = ts || bs || ls || rs || first;\n      }\n    },\n  });\n\n  $.ui.plugin.add(\"draggable\", \"stack\", {\n    start: function (event, ui, instance) {\n      var min,\n        o = instance.options,\n        group = $.makeArray($(o.stack)).sort(function (a, b) {\n          return (\n            (parseInt($(a).css(\"zIndex\"), 10) || 0) -\n            (parseInt($(b).css(\"zIndex\"), 10) || 0)\n          );\n        });\n\n      if (!group.length) {\n        return;\n      }\n\n      min = parseInt($(group[0]).css(\"zIndex\"), 10) || 0;\n      $(group).each(function (i) {\n        $(this).css(\"zIndex\", min + i);\n      });\n      this.css(\"zIndex\", min + group.length);\n    },\n  });\n\n  $.ui.plugin.add(\"draggable\", \"zIndex\", {\n    start: function (event, ui, instance) {\n      var t = $(ui.helper),\n        o = instance.options;\n\n      if (t.css(\"zIndex\")) {\n        o._zIndex = t.css(\"zIndex\");\n      }\n      t.css(\"zIndex\", o.zIndex);\n    },\n    stop: function (event, ui, instance) {\n      var o = instance.options;\n\n      if (o._zIndex) {\n        $(ui.helper).css(\"zIndex\", o._zIndex);\n      }\n    },\n  });\n\n  var widgetsDraggable = $.ui.draggable;\n\n  /*!\n   * jQuery UI Droppable 1.13.2\n   * http://jqueryui.com\n   *\n   * Copyright jQuery Foundation and other contributors\n   * Released under the MIT license.\n   * http://jquery.org/license\n   */\n\n  //>>label: Droppable\n  //>>group: Interactions\n  //>>description: Enables drop targets for draggable elements.\n  //>>docs: http://api.jqueryui.com/droppable/\n  //>>demos: http://jqueryui.com/droppable/\n\n  $.widget(\"ui.droppable\", {\n    version: \"1.13.2\",\n    widgetEventPrefix: \"drop\",\n    options: {\n      accept: \"*\",\n      addClasses: true,\n      greedy: false,\n      scope: \"default\",\n      tolerance: \"intersect\",\n\n      // Callbacks\n      activate: null,\n      deactivate: null,\n      drop: null,\n      out: null,\n      over: null,\n    },\n    _create: function () {\n      var proportions,\n        o = this.options,\n        accept = o.accept;\n\n      this.isover = false;\n      this.isout = true;\n\n      this.accept =\n        typeof accept === \"function\"\n          ? accept\n          : function (d) {\n              return d.is(accept);\n            };\n\n      this.proportions = function (/* valueToWrite */) {\n        if (arguments.length) {\n          // Store the droppable's proportions\n          proportions = arguments[0];\n        } else {\n          // Retrieve or derive the droppable's proportions\n          return proportions\n            ? proportions\n            : (proportions = {\n                width: this.element[0].offsetWidth,\n                height: this.element[0].offsetHeight,\n              });\n        }\n      };\n\n      this._addToManager(o.scope);\n\n      if (o.addClasses) {\n        this._addClass(\"ui-droppable\");\n      }\n    },\n\n    _addToManager: function (scope) {\n      // Add the reference and positions to the manager\n      $.ui.ddmanager.droppables[scope] = $.ui.ddmanager.droppables[scope] || [];\n      $.ui.ddmanager.droppables[scope].push(this);\n    },\n\n    _splice: function (drop) {\n      var i = 0;\n      for (; i < drop.length; i++) {\n        if (drop[i] === this) {\n          drop.splice(i, 1);\n        }\n      }\n    },\n\n    _destroy: function () {\n      var drop = $.ui.ddmanager.droppables[this.options.scope];\n\n      this._splice(drop);\n    },\n\n    _setOption: function (key, value) {\n      if (key === \"accept\") {\n        this.accept =\n          typeof value === \"function\"\n            ? value\n            : function (d) {\n                return d.is(value);\n              };\n      } else if (key === \"scope\") {\n        var drop = $.ui.ddmanager.droppables[this.options.scope];\n\n        this._splice(drop);\n        this._addToManager(value);\n      }\n\n      this._super(key, value);\n    },\n\n    _activate: function (event) {\n      var draggable = $.ui.ddmanager.current;\n\n      this._addActiveClass();\n      if (draggable) {\n        this._trigger(\"activate\", event, this.ui(draggable));\n      }\n    },\n\n    _deactivate: function (event) {\n      var draggable = $.ui.ddmanager.current;\n\n      this._removeActiveClass();\n      if (draggable) {\n        this._trigger(\"deactivate\", event, this.ui(draggable));\n      }\n    },\n\n    _over: function (event) {\n      var draggable = $.ui.ddmanager.current;\n\n      // Bail if draggable and droppable are same element\n      if (\n        !draggable ||\n        (draggable.currentItem || draggable.element)[0] === this.element[0]\n      ) {\n        return;\n      }\n\n      if (\n        this.accept.call(\n          this.element[0],\n          draggable.currentItem || draggable.element,\n        )\n      ) {\n        this._addHoverClass();\n        this._trigger(\"over\", event, this.ui(draggable));\n      }\n    },\n\n    _out: function (event) {\n      var draggable = $.ui.ddmanager.current;\n\n      // Bail if draggable and droppable are same element\n      if (\n        !draggable ||\n        (draggable.currentItem || draggable.element)[0] === this.element[0]\n      ) {\n        return;\n      }\n\n      if (\n        this.accept.call(\n          this.element[0],\n          draggable.currentItem || draggable.element,\n        )\n      ) {\n        this._removeHoverClass();\n        this._trigger(\"out\", event, this.ui(draggable));\n      }\n    },\n\n    _drop: function (event, custom) {\n      var draggable = custom || $.ui.ddmanager.current,\n        childrenIntersection = false;\n\n      // Bail if draggable and droppable are same element\n      if (\n        !draggable ||\n        (draggable.currentItem || draggable.element)[0] === this.element[0]\n      ) {\n        return false;\n      }\n\n      this.element\n        .find(\":data(ui-droppable)\")\n        .not(\".ui-draggable-dragging\")\n        .each(function () {\n          var inst = $(this).droppable(\"instance\");\n          if (\n            inst.options.greedy &&\n            !inst.options.disabled &&\n            inst.options.scope === draggable.options.scope &&\n            inst.accept.call(\n              inst.element[0],\n              draggable.currentItem || draggable.element,\n            ) &&\n            $.ui.intersect(\n              draggable,\n              $.extend(inst, { offset: inst.element.offset() }),\n              inst.options.tolerance,\n              event,\n            )\n          ) {\n            childrenIntersection = true;\n            return false;\n          }\n        });\n      if (childrenIntersection) {\n        return false;\n      }\n\n      if (\n        this.accept.call(\n          this.element[0],\n          draggable.currentItem || draggable.element,\n        )\n      ) {\n        this._removeActiveClass();\n        this._removeHoverClass();\n\n        this._trigger(\"drop\", event, this.ui(draggable));\n        return this.element;\n      }\n\n      return false;\n    },\n\n    ui: function (c) {\n      return {\n        draggable: c.currentItem || c.element,\n        helper: c.helper,\n        position: c.position,\n        offset: c.positionAbs,\n      };\n    },\n\n    // Extension points just to make backcompat sane and avoid duplicating logic\n    // TODO: Remove in 1.14 along with call to it below\n    _addHoverClass: function () {\n      this._addClass(\"ui-droppable-hover\");\n    },\n\n    _removeHoverClass: function () {\n      this._removeClass(\"ui-droppable-hover\");\n    },\n\n    _addActiveClass: function () {\n      this._addClass(\"ui-droppable-active\");\n    },\n\n    _removeActiveClass: function () {\n      this._removeClass(\"ui-droppable-active\");\n    },\n  });\n\n  $.ui.intersect = (function () {\n    function isOverAxis(x, reference, size) {\n      return x >= reference && x < reference + size;\n    }\n\n    return function (draggable, droppable, toleranceMode, event) {\n      if (!droppable.offset) {\n        return false;\n      }\n\n      var x1 =\n          (draggable.positionAbs || draggable.position.absolute).left +\n          draggable.margins.left,\n        y1 =\n          (draggable.positionAbs || draggable.position.absolute).top +\n          draggable.margins.top,\n        x2 = x1 + draggable.helperProportions.width,\n        y2 = y1 + draggable.helperProportions.height,\n        l = droppable.offset.left,\n        t = droppable.offset.top,\n        r = l + droppable.proportions().width,\n        b = t + droppable.proportions().height;\n\n      switch (toleranceMode) {\n        case \"fit\":\n          return l <= x1 && x2 <= r && t <= y1 && y2 <= b;\n        case \"intersect\":\n          return (\n            l < x1 + draggable.helperProportions.width / 2 && // Right Half\n            x2 - draggable.helperProportions.width / 2 < r && // Left Half\n            t < y1 + draggable.helperProportions.height / 2 && // Bottom Half\n            y2 - draggable.helperProportions.height / 2 < b\n          ); // Top Half\n        case \"pointer\":\n          return (\n            isOverAxis(event.pageY, t, droppable.proportions().height) &&\n            isOverAxis(event.pageX, l, droppable.proportions().width)\n          );\n        case \"touch\":\n          return (\n            ((y1 >= t && y1 <= b) || // Top edge touching\n              (y2 >= t && y2 <= b) || // Bottom edge touching\n              (y1 < t && y2 > b)) && // Surrounded vertically\n            ((x1 >= l && x1 <= r) || // Left edge touching\n              (x2 >= l && x2 <= r) || // Right edge touching\n              (x1 < l && x2 > r)) // Surrounded horizontally\n          );\n        default:\n          return false;\n      }\n    };\n  })();\n\n  /*\n\tThis manager tracks offsets of draggables and droppables\n*/\n  $.ui.ddmanager = {\n    current: null,\n    droppables: { default: [] },\n    prepareOffsets: function (t, event) {\n      var i,\n        j,\n        m = $.ui.ddmanager.droppables[t.options.scope] || [],\n        type = event ? event.type : null, // workaround for #2317\n        list = (t.currentItem || t.element)\n          .find(\":data(ui-droppable)\")\n          .addBack();\n\n      droppablesLoop: for (i = 0; i < m.length; i++) {\n        // No disabled and non-accepted\n        if (\n          m[i].options.disabled ||\n          (t && !m[i].accept.call(m[i].element[0], t.currentItem || t.element))\n        ) {\n          continue;\n        }\n\n        // Filter out elements in the current dragged item\n        for (j = 0; j < list.length; j++) {\n          if (list[j] === m[i].element[0]) {\n            m[i].proportions().height = 0;\n            continue droppablesLoop;\n          }\n        }\n\n        m[i].visible = m[i].element.css(\"display\") !== \"none\";\n        if (!m[i].visible) {\n          continue;\n        }\n\n        // Activate the droppable if used directly from draggables\n        if (type === \"mousedown\") {\n          m[i]._activate.call(m[i], event);\n        }\n\n        m[i].offset = m[i].element.offset();\n        m[i].proportions({\n          width: m[i].element[0].offsetWidth,\n          height: m[i].element[0].offsetHeight,\n        });\n      }\n    },\n    drop: function (draggable, event) {\n      var dropped = false;\n\n      // Create a copy of the droppables in case the list changes during the drop (#9116)\n      $.each(\n        ($.ui.ddmanager.droppables[draggable.options.scope] || []).slice(),\n        function () {\n          if (!this.options) {\n            return;\n          }\n          if (\n            !this.options.disabled &&\n            this.visible &&\n            $.ui.intersect(draggable, this, this.options.tolerance, event)\n          ) {\n            dropped = this._drop.call(this, event) || dropped;\n          }\n\n          if (\n            !this.options.disabled &&\n            this.visible &&\n            this.accept.call(\n              this.element[0],\n              draggable.currentItem || draggable.element,\n            )\n          ) {\n            this.isout = true;\n            this.isover = false;\n            this._deactivate.call(this, event);\n          }\n        },\n      );\n      return dropped;\n    },\n    dragStart: function (draggable, event) {\n      // Listen for scrolling so that if the dragging causes scrolling the position of the\n      // droppables can be recalculated (see #5003)\n      draggable.element\n        .parentsUntil(\"body\")\n        .on(\"scroll.droppable\", function () {\n          if (!draggable.options.refreshPositions) {\n            $.ui.ddmanager.prepareOffsets(draggable, event);\n          }\n        });\n    },\n    drag: function (draggable, event) {\n      // If you have a highly dynamic page, you might try this option. It renders positions\n      // every time you move the mouse.\n      if (draggable.options.refreshPositions) {\n        $.ui.ddmanager.prepareOffsets(draggable, event);\n      }\n\n      // Run through all droppables and check their positions based on specific tolerance options\n      $.each(\n        $.ui.ddmanager.droppables[draggable.options.scope] || [],\n        function () {\n          if (this.options.disabled || this.greedyChild || !this.visible) {\n            return;\n          }\n\n          var parentInstance,\n            scope,\n            parent,\n            intersects = $.ui.intersect(\n              draggable,\n              this,\n              this.options.tolerance,\n              event,\n            ),\n            c =\n              !intersects && this.isover\n                ? \"isout\"\n                : intersects && !this.isover\n                ? \"isover\"\n                : null;\n          if (!c) {\n            return;\n          }\n\n          if (this.options.greedy) {\n            // find droppable parents with same scope\n            scope = this.options.scope;\n            parent = this.element\n              .parents(\":data(ui-droppable)\")\n              .filter(function () {\n                return $(this).droppable(\"instance\").options.scope === scope;\n              });\n\n            if (parent.length) {\n              parentInstance = $(parent[0]).droppable(\"instance\");\n              parentInstance.greedyChild = c === \"isover\";\n            }\n          }\n\n          // We just moved into a greedy child\n          if (parentInstance && c === \"isover\") {\n            parentInstance.isover = false;\n            parentInstance.isout = true;\n            parentInstance._out.call(parentInstance, event);\n          }\n\n          this[c] = true;\n          this[c === \"isout\" ? \"isover\" : \"isout\"] = false;\n          this[c === \"isover\" ? \"_over\" : \"_out\"].call(this, event);\n\n          // We just moved out of a greedy child\n          if (parentInstance && c === \"isout\") {\n            parentInstance.isout = false;\n            parentInstance.isover = true;\n            parentInstance._over.call(parentInstance, event);\n          }\n        },\n      );\n    },\n    dragStop: function (draggable, event) {\n      draggable.element.parentsUntil(\"body\").off(\"scroll.droppable\");\n\n      // Call prepareOffsets one final time since IE does not fire return scroll events when\n      // overflow was caused by drag (see #5003)\n      if (!draggable.options.refreshPositions) {\n        $.ui.ddmanager.prepareOffsets(draggable, event);\n      }\n    },\n  };\n\n  // DEPRECATED\n  // TODO: switch return back to widget declaration at top of file when this is removed\n  if ($.uiBackCompat !== false) {\n    // Backcompat for activeClass and hoverClass options\n    $.widget(\"ui.droppable\", $.ui.droppable, {\n      options: {\n        hoverClass: false,\n        activeClass: false,\n      },\n      _addActiveClass: function () {\n        this._super();\n        if (this.options.activeClass) {\n          this.element.addClass(this.options.activeClass);\n        }\n      },\n      _removeActiveClass: function () {\n        this._super();\n        if (this.options.activeClass) {\n          this.element.removeClass(this.options.activeClass);\n        }\n      },\n      _addHoverClass: function () {\n        this._super();\n        if (this.options.hoverClass) {\n          this.element.addClass(this.options.hoverClass);\n        }\n      },\n      _removeHoverClass: function () {\n        this._super();\n        if (this.options.hoverClass) {\n          this.element.removeClass(this.options.hoverClass);\n        }\n      },\n    });\n  }\n\n  var widgetsDroppable = $.ui.droppable;\n\n  /*!\n   * jQuery UI Resizable 1.13.2\n   * http://jqueryui.com\n   *\n   * Copyright jQuery Foundation and other contributors\n   * Released under the MIT license.\n   * http://jquery.org/license\n   */\n\n  //>>label: Resizable\n  //>>group: Interactions\n  //>>description: Enables resize functionality for any element.\n  //>>docs: http://api.jqueryui.com/resizable/\n  //>>demos: http://jqueryui.com/resizable/\n  //>>css.structure: ../../themes/base/core.css\n  //>>css.structure: ../../themes/base/resizable.css\n  //>>css.theme: ../../themes/base/theme.css\n\n  $.widget(\"ui.resizable\", $.ui.mouse, {\n    version: \"1.13.2\",\n    widgetEventPrefix: \"resize\",\n    options: {\n      alsoResize: false,\n      animate: false,\n      animateDuration: \"slow\",\n      animateEasing: \"swing\",\n      aspectRatio: false,\n      autoHide: false,\n      classes: {\n        \"ui-resizable-se\": \"ui-icon ui-icon-gripsmall-diagonal-se\",\n      },\n      containment: false,\n      ghost: false,\n      grid: false,\n      handles: \"e,s,se\",\n      helper: false,\n      maxHeight: null,\n      maxWidth: null,\n      minHeight: 10,\n      minWidth: 10,\n\n      // See #7960\n      zIndex: 90,\n\n      // Callbacks\n      resize: null,\n      start: null,\n      stop: null,\n    },\n\n    _num: function (value) {\n      return parseFloat(value) || 0;\n    },\n\n    _isNumber: function (value) {\n      return !isNaN(parseFloat(value));\n    },\n\n    _hasScroll: function (el, a) {\n      if ($(el).css(\"overflow\") === \"hidden\") {\n        return false;\n      }\n\n      var scroll = a && a === \"left\" ? \"scrollLeft\" : \"scrollTop\",\n        has = false;\n\n      if (el[scroll] > 0) {\n        return true;\n      }\n\n      // TODO: determine which cases actually cause this to happen\n      // if the element doesn't have the scroll set, see if it's possible to\n      // set the scroll\n      try {\n        el[scroll] = 1;\n        has = el[scroll] > 0;\n        el[scroll] = 0;\n      } catch (e) {\n        // `el` might be a string, then setting `scroll` will throw\n        // an error in strict mode; ignore it.\n      }\n      return has;\n    },\n\n    _create: function () {\n      var margins,\n        o = this.options,\n        that = this;\n      this._addClass(\"ui-resizable\");\n\n      $.extend(this, {\n        _aspectRatio: !!o.aspectRatio,\n        aspectRatio: o.aspectRatio,\n        originalElement: this.element,\n        _proportionallyResizeElements: [],\n        _helper:\n          o.helper || o.ghost || o.animate\n            ? o.helper || \"ui-resizable-helper\"\n            : null,\n      });\n\n      // Wrap the element if it cannot hold child nodes\n      if (\n        this.element[0].nodeName.match(\n          /^(canvas|textarea|input|select|button|img)$/i,\n        )\n      ) {\n        this.element.wrap(\n          $(\"<div class='ui-wrapper'></div>\").css({\n            overflow: \"hidden\",\n            position: this.element.css(\"position\"),\n            width: this.element.outerWidth(),\n            height: this.element.outerHeight(),\n            top: this.element.css(\"top\"),\n            left: this.element.css(\"left\"),\n          }),\n        );\n\n        this.element = this.element\n          .parent()\n          .data(\"ui-resizable\", this.element.resizable(\"instance\"));\n\n        this.elementIsWrapper = true;\n\n        margins = {\n          marginTop: this.originalElement.css(\"marginTop\"),\n          marginRight: this.originalElement.css(\"marginRight\"),\n          marginBottom: this.originalElement.css(\"marginBottom\"),\n          marginLeft: this.originalElement.css(\"marginLeft\"),\n        };\n\n        this.element.css(margins);\n        this.originalElement.css(\"margin\", 0);\n\n        // support: Safari\n        // Prevent Safari textarea resize\n        this.originalResizeStyle = this.originalElement.css(\"resize\");\n        this.originalElement.css(\"resize\", \"none\");\n\n        this._proportionallyResizeElements.push(\n          this.originalElement.css({\n            position: \"static\",\n            zoom: 1,\n            display: \"block\",\n          }),\n        );\n\n        // Support: IE9\n        // avoid IE jump (hard set the margin)\n        this.originalElement.css(margins);\n\n        this._proportionallyResize();\n      }\n\n      this._setupHandles();\n\n      if (o.autoHide) {\n        $(this.element)\n          .on(\"mouseenter\", function () {\n            if (o.disabled) {\n              return;\n            }\n            that._removeClass(\"ui-resizable-autohide\");\n            that._handles.show();\n          })\n          .on(\"mouseleave\", function () {\n            if (o.disabled) {\n              return;\n            }\n            if (!that.resizing) {\n              that._addClass(\"ui-resizable-autohide\");\n              that._handles.hide();\n            }\n          });\n      }\n\n      this._mouseInit();\n    },\n\n    _destroy: function () {\n      this._mouseDestroy();\n      this._addedHandles.remove();\n\n      var wrapper,\n        _destroy = function (exp) {\n          $(exp)\n            .removeData(\"resizable\")\n            .removeData(\"ui-resizable\")\n            .off(\".resizable\");\n        };\n\n      // TODO: Unwrap at same DOM position\n      if (this.elementIsWrapper) {\n        _destroy(this.element);\n        wrapper = this.element;\n        this.originalElement\n          .css({\n            position: wrapper.css(\"position\"),\n            width: wrapper.outerWidth(),\n            height: wrapper.outerHeight(),\n            top: wrapper.css(\"top\"),\n            left: wrapper.css(\"left\"),\n          })\n          .insertAfter(wrapper);\n        wrapper.remove();\n      }\n\n      this.originalElement.css(\"resize\", this.originalResizeStyle);\n      _destroy(this.originalElement);\n\n      return this;\n    },\n\n    _setOption: function (key, value) {\n      this._super(key, value);\n\n      switch (key) {\n        case \"handles\":\n          this._removeHandles();\n          this._setupHandles();\n          break;\n        case \"aspectRatio\":\n          this._aspectRatio = !!value;\n          break;\n        default:\n          break;\n      }\n    },\n\n    _setupHandles: function () {\n      var o = this.options,\n        handle,\n        i,\n        n,\n        hname,\n        axis,\n        that = this;\n      this.handles =\n        o.handles ||\n        (!$(\".ui-resizable-handle\", this.element).length\n          ? \"e,s,se\"\n          : {\n              n: \".ui-resizable-n\",\n              e: \".ui-resizable-e\",\n              s: \".ui-resizable-s\",\n              w: \".ui-resizable-w\",\n              se: \".ui-resizable-se\",\n              sw: \".ui-resizable-sw\",\n              ne: \".ui-resizable-ne\",\n              nw: \".ui-resizable-nw\",\n            });\n\n      this._handles = $();\n      this._addedHandles = $();\n      if (this.handles.constructor === String) {\n        if (this.handles === \"all\") {\n          this.handles = \"n,e,s,w,se,sw,ne,nw\";\n        }\n\n        n = this.handles.split(\",\");\n        this.handles = {};\n\n        for (i = 0; i < n.length; i++) {\n          handle = String.prototype.trim.call(n[i]);\n          hname = \"ui-resizable-\" + handle;\n          axis = $(\"<div>\");\n          this._addClass(axis, \"ui-resizable-handle \" + hname);\n\n          axis.css({ zIndex: o.zIndex });\n\n          this.handles[handle] = \".ui-resizable-\" + handle;\n          if (!this.element.children(this.handles[handle]).length) {\n            this.element.append(axis);\n            this._addedHandles = this._addedHandles.add(axis);\n          }\n        }\n      }\n\n      this._renderAxis = function (target) {\n        var i, axis, padPos, padWrapper;\n\n        target = target || this.element;\n\n        for (i in this.handles) {\n          if (this.handles[i].constructor === String) {\n            this.handles[i] = this.element\n              .children(this.handles[i])\n              .first()\n              .show();\n          } else if (this.handles[i].jquery || this.handles[i].nodeType) {\n            this.handles[i] = $(this.handles[i]);\n            this._on(this.handles[i], { mousedown: that._mouseDown });\n          }\n\n          if (\n            this.elementIsWrapper &&\n            this.originalElement[0].nodeName.match(\n              /^(textarea|input|select|button)$/i,\n            )\n          ) {\n            axis = $(this.handles[i], this.element);\n\n            padWrapper = /sw|ne|nw|se|n|s/.test(i)\n              ? axis.outerHeight()\n              : axis.outerWidth();\n\n            padPos = [\n              \"padding\",\n              /ne|nw|n/.test(i)\n                ? \"Top\"\n                : /se|sw|s/.test(i)\n                ? \"Bottom\"\n                : /^e$/.test(i)\n                ? \"Right\"\n                : \"Left\",\n            ].join(\"\");\n\n            target.css(padPos, padWrapper);\n\n            this._proportionallyResize();\n          }\n\n          this._handles = this._handles.add(this.handles[i]);\n        }\n      };\n\n      // TODO: make renderAxis a prototype function\n      this._renderAxis(this.element);\n\n      this._handles = this._handles.add(\n        this.element.find(\".ui-resizable-handle\"),\n      );\n      this._handles.disableSelection();\n\n      this._handles.on(\"mouseover\", function () {\n        if (!that.resizing) {\n          if (this.className) {\n            axis = this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i);\n          }\n          that.axis = axis && axis[1] ? axis[1] : \"se\";\n        }\n      });\n\n      if (o.autoHide) {\n        this._handles.hide();\n        this._addClass(\"ui-resizable-autohide\");\n      }\n    },\n\n    _removeHandles: function () {\n      this._addedHandles.remove();\n    },\n\n    _mouseCapture: function (event) {\n      var i,\n        handle,\n        capture = false;\n\n      for (i in this.handles) {\n        handle = $(this.handles[i])[0];\n        if (handle === event.target || $.contains(handle, event.target)) {\n          capture = true;\n        }\n      }\n\n      return !this.options.disabled && capture;\n    },\n\n    _mouseStart: function (event) {\n      var curleft,\n        curtop,\n        cursor,\n        o = this.options,\n        el = this.element;\n\n      this.resizing = true;\n\n      this._renderProxy();\n\n      curleft = this._num(this.helper.css(\"left\"));\n      curtop = this._num(this.helper.css(\"top\"));\n\n      if (o.containment) {\n        curleft += $(o.containment).scrollLeft() || 0;\n        curtop += $(o.containment).scrollTop() || 0;\n      }\n\n      this.offset = this.helper.offset();\n      this.position = { left: curleft, top: curtop };\n\n      this.size = this._helper\n        ? {\n            width: this.helper.width(),\n            height: this.helper.height(),\n          }\n        : {\n            width: el.width(),\n            height: el.height(),\n          };\n\n      this.originalSize = this._helper\n        ? {\n            width: el.outerWidth(),\n            height: el.outerHeight(),\n          }\n        : {\n            width: el.width(),\n            height: el.height(),\n          };\n\n      this.sizeDiff = {\n        width: el.outerWidth() - el.width(),\n        height: el.outerHeight() - el.height(),\n      };\n\n      this.originalPosition = { left: curleft, top: curtop };\n      this.originalMousePosition = { left: event.pageX, top: event.pageY };\n\n      this.aspectRatio =\n        typeof o.aspectRatio === \"number\"\n          ? o.aspectRatio\n          : this.originalSize.width / this.originalSize.height || 1;\n\n      cursor = $(\".ui-resizable-\" + this.axis).css(\"cursor\");\n      $(\"body\").css(\n        \"cursor\",\n        cursor === \"auto\" ? this.axis + \"-resize\" : cursor,\n      );\n\n      this._addClass(\"ui-resizable-resizing\");\n      this._propagate(\"start\", event);\n      return true;\n    },\n\n    _mouseDrag: function (event) {\n      var data,\n        props,\n        smp = this.originalMousePosition,\n        a = this.axis,\n        dx = event.pageX - smp.left || 0,\n        dy = event.pageY - smp.top || 0,\n        trigger = this._change[a];\n\n      this._updatePrevProperties();\n\n      if (!trigger) {\n        return false;\n      }\n\n      data = trigger.apply(this, [event, dx, dy]);\n\n      this._updateVirtualBoundaries(event.shiftKey);\n      if (this._aspectRatio || event.shiftKey) {\n        data = this._updateRatio(data, event);\n      }\n\n      data = this._respectSize(data, event);\n\n      this._updateCache(data);\n\n      this._propagate(\"resize\", event);\n\n      props = this._applyChanges();\n\n      if (!this._helper && this._proportionallyResizeElements.length) {\n        this._proportionallyResize();\n      }\n\n      if (!$.isEmptyObject(props)) {\n        this._updatePrevProperties();\n        this._trigger(\"resize\", event, this.ui());\n        this._applyChanges();\n      }\n\n      return false;\n    },\n\n    _mouseStop: function (event) {\n      this.resizing = false;\n      var pr,\n        ista,\n        soffseth,\n        soffsetw,\n        s,\n        left,\n        top,\n        o = this.options,\n        that = this;\n\n      if (this._helper) {\n        pr = this._proportionallyResizeElements;\n        ista = pr.length && /textarea/i.test(pr[0].nodeName);\n        soffseth =\n          ista && this._hasScroll(pr[0], \"left\") ? 0 : that.sizeDiff.height;\n        soffsetw = ista ? 0 : that.sizeDiff.width;\n\n        s = {\n          width: that.helper.width() - soffsetw,\n          height: that.helper.height() - soffseth,\n        };\n        left =\n          parseFloat(that.element.css(\"left\")) +\n            (that.position.left - that.originalPosition.left) || null;\n        top =\n          parseFloat(that.element.css(\"top\")) +\n            (that.position.top - that.originalPosition.top) || null;\n\n        if (!o.animate) {\n          this.element.css($.extend(s, { top: top, left: left }));\n        }\n\n        that.helper.height(that.size.height);\n        that.helper.width(that.size.width);\n\n        if (this._helper && !o.animate) {\n          this._proportionallyResize();\n        }\n      }\n\n      $(\"body\").css(\"cursor\", \"auto\");\n\n      this._removeClass(\"ui-resizable-resizing\");\n\n      this._propagate(\"stop\", event);\n\n      if (this._helper) {\n        this.helper.remove();\n      }\n\n      return false;\n    },\n\n    _updatePrevProperties: function () {\n      this.prevPosition = {\n        top: this.position.top,\n        left: this.position.left,\n      };\n      this.prevSize = {\n        width: this.size.width,\n        height: this.size.height,\n      };\n    },\n\n    _applyChanges: function () {\n      var props = {};\n\n      if (this.position.top !== this.prevPosition.top) {\n        props.top = this.position.top + \"px\";\n      }\n      if (this.position.left !== this.prevPosition.left) {\n        props.left = this.position.left + \"px\";\n      }\n      if (this.size.width !== this.prevSize.width) {\n        props.width = this.size.width + \"px\";\n      }\n      if (this.size.height !== this.prevSize.height) {\n        props.height = this.size.height + \"px\";\n      }\n\n      this.helper.css(props);\n\n      return props;\n    },\n\n    _updateVirtualBoundaries: function (forceAspectRatio) {\n      var pMinWidth,\n        pMaxWidth,\n        pMinHeight,\n        pMaxHeight,\n        b,\n        o = this.options;\n\n      b = {\n        minWidth: this._isNumber(o.minWidth) ? o.minWidth : 0,\n        maxWidth: this._isNumber(o.maxWidth) ? o.maxWidth : Infinity,\n        minHeight: this._isNumber(o.minHeight) ? o.minHeight : 0,\n        maxHeight: this._isNumber(o.maxHeight) ? o.maxHeight : Infinity,\n      };\n\n      if (this._aspectRatio || forceAspectRatio) {\n        pMinWidth = b.minHeight * this.aspectRatio;\n        pMinHeight = b.minWidth / this.aspectRatio;\n        pMaxWidth = b.maxHeight * this.aspectRatio;\n        pMaxHeight = b.maxWidth / this.aspectRatio;\n\n        if (pMinWidth > b.minWidth) {\n          b.minWidth = pMinWidth;\n        }\n        if (pMinHeight > b.minHeight) {\n          b.minHeight = pMinHeight;\n        }\n        if (pMaxWidth < b.maxWidth) {\n          b.maxWidth = pMaxWidth;\n        }\n        if (pMaxHeight < b.maxHeight) {\n          b.maxHeight = pMaxHeight;\n        }\n      }\n      this._vBoundaries = b;\n    },\n\n    _updateCache: function (data) {\n      this.offset = this.helper.offset();\n      if (this._isNumber(data.left)) {\n        this.position.left = data.left;\n      }\n      if (this._isNumber(data.top)) {\n        this.position.top = data.top;\n      }\n      if (this._isNumber(data.height)) {\n        this.size.height = data.height;\n      }\n      if (this._isNumber(data.width)) {\n        this.size.width = data.width;\n      }\n    },\n\n    _updateRatio: function (data) {\n      var cpos = this.position,\n        csize = this.size,\n        a = this.axis;\n\n      if (this._isNumber(data.height)) {\n        data.width = data.height * this.aspectRatio;\n      } else if (this._isNumber(data.width)) {\n        data.height = data.width / this.aspectRatio;\n      }\n\n      if (a === \"sw\") {\n        data.left = cpos.left + (csize.width - data.width);\n        data.top = null;\n      }\n      if (a === \"nw\") {\n        data.top = cpos.top + (csize.height - data.height);\n        data.left = cpos.left + (csize.width - data.width);\n      }\n\n      return data;\n    },\n\n    _respectSize: function (data) {\n      var o = this._vBoundaries,\n        a = this.axis,\n        ismaxw =\n          this._isNumber(data.width) && o.maxWidth && o.maxWidth < data.width,\n        ismaxh =\n          this._isNumber(data.height) &&\n          o.maxHeight &&\n          o.maxHeight < data.height,\n        isminw =\n          this._isNumber(data.width) && o.minWidth && o.minWidth > data.width,\n        isminh =\n          this._isNumber(data.height) &&\n          o.minHeight &&\n          o.minHeight > data.height,\n        dw = this.originalPosition.left + this.originalSize.width,\n        dh = this.originalPosition.top + this.originalSize.height,\n        cw = /sw|nw|w/.test(a),\n        ch = /nw|ne|n/.test(a);\n      if (isminw) {\n        data.width = o.minWidth;\n      }\n      if (isminh) {\n        data.height = o.minHeight;\n      }\n      if (ismaxw) {\n        data.width = o.maxWidth;\n      }\n      if (ismaxh) {\n        data.height = o.maxHeight;\n      }\n\n      if (isminw && cw) {\n        data.left = dw - o.minWidth;\n      }\n      if (ismaxw && cw) {\n        data.left = dw - o.maxWidth;\n      }\n      if (isminh && ch) {\n        data.top = dh - o.minHeight;\n      }\n      if (ismaxh && ch) {\n        data.top = dh - o.maxHeight;\n      }\n\n      // Fixing jump error on top/left - bug #2330\n      if (!data.width && !data.height && !data.left && data.top) {\n        data.top = null;\n      } else if (!data.width && !data.height && !data.top && data.left) {\n        data.left = null;\n      }\n\n      return data;\n    },\n\n    _getPaddingPlusBorderDimensions: function (element) {\n      var i = 0,\n        widths = [],\n        borders = [\n          element.css(\"borderTopWidth\"),\n          element.css(\"borderRightWidth\"),\n          element.css(\"borderBottomWidth\"),\n          element.css(\"borderLeftWidth\"),\n        ],\n        paddings = [\n          element.css(\"paddingTop\"),\n          element.css(\"paddingRight\"),\n          element.css(\"paddingBottom\"),\n          element.css(\"paddingLeft\"),\n        ];\n\n      for (; i < 4; i++) {\n        widths[i] = parseFloat(borders[i]) || 0;\n        widths[i] += parseFloat(paddings[i]) || 0;\n      }\n\n      return {\n        height: widths[0] + widths[2],\n        width: widths[1] + widths[3],\n      };\n    },\n\n    _proportionallyResize: function () {\n      if (!this._proportionallyResizeElements.length) {\n        return;\n      }\n\n      var prel,\n        i = 0,\n        element = this.helper || this.element;\n\n      for (; i < this._proportionallyResizeElements.length; i++) {\n        prel = this._proportionallyResizeElements[i];\n\n        // TODO: Seems like a bug to cache this.outerDimensions\n        // considering that we are in a loop.\n        if (!this.outerDimensions) {\n          this.outerDimensions = this._getPaddingPlusBorderDimensions(prel);\n        }\n\n        prel.css({\n          height: element.height() - this.outerDimensions.height || 0,\n          width: element.width() - this.outerDimensions.width || 0,\n        });\n      }\n    },\n\n    _renderProxy: function () {\n      var el = this.element,\n        o = this.options;\n      this.elementOffset = el.offset();\n\n      if (this._helper) {\n        this.helper =\n          this.helper || $(\"<div></div>\").css({ overflow: \"hidden\" });\n\n        this._addClass(this.helper, this._helper);\n        this.helper.css({\n          width: this.element.outerWidth(),\n          height: this.element.outerHeight(),\n          position: \"absolute\",\n          left: this.elementOffset.left + \"px\",\n          top: this.elementOffset.top + \"px\",\n          zIndex: ++o.zIndex, //TODO: Don't modify option\n        });\n\n        this.helper.appendTo(\"body\").disableSelection();\n      } else {\n        this.helper = this.element;\n      }\n    },\n\n    _change: {\n      e: function (event, dx) {\n        return { width: this.originalSize.width + dx };\n      },\n      w: function (event, dx) {\n        var cs = this.originalSize,\n          sp = this.originalPosition;\n        return { left: sp.left + dx, width: cs.width - dx };\n      },\n      n: function (event, dx, dy) {\n        var cs = this.originalSize,\n          sp = this.originalPosition;\n        return { top: sp.top + dy, height: cs.height - dy };\n      },\n      s: function (event, dx, dy) {\n        return { height: this.originalSize.height + dy };\n      },\n      se: function (event, dx, dy) {\n        return $.extend(\n          this._change.s.apply(this, arguments),\n          this._change.e.apply(this, [event, dx, dy]),\n        );\n      },\n      sw: function (event, dx, dy) {\n        return $.extend(\n          this._change.s.apply(this, arguments),\n          this._change.w.apply(this, [event, dx, dy]),\n        );\n      },\n      ne: function (event, dx, dy) {\n        return $.extend(\n          this._change.n.apply(this, arguments),\n          this._change.e.apply(this, [event, dx, dy]),\n        );\n      },\n      nw: function (event, dx, dy) {\n        return $.extend(\n          this._change.n.apply(this, arguments),\n          this._change.w.apply(this, [event, dx, dy]),\n        );\n      },\n    },\n\n    _propagate: function (n, event) {\n      $.ui.plugin.call(this, n, [event, this.ui()]);\n      if (n !== \"resize\") {\n        this._trigger(n, event, this.ui());\n      }\n    },\n\n    plugins: {},\n\n    ui: function () {\n      return {\n        originalElement: this.originalElement,\n        element: this.element,\n        helper: this.helper,\n        position: this.position,\n        size: this.size,\n        originalSize: this.originalSize,\n        originalPosition: this.originalPosition,\n      };\n    },\n  });\n\n  /*\n   * Resizable Extensions\n   */\n\n  $.ui.plugin.add(\"resizable\", \"animate\", {\n    stop: function (event) {\n      var that = $(this).resizable(\"instance\"),\n        o = that.options,\n        pr = that._proportionallyResizeElements,\n        ista = pr.length && /textarea/i.test(pr[0].nodeName),\n        soffseth =\n          ista && that._hasScroll(pr[0], \"left\") ? 0 : that.sizeDiff.height,\n        soffsetw = ista ? 0 : that.sizeDiff.width,\n        style = {\n          width: that.size.width - soffsetw,\n          height: that.size.height - soffseth,\n        },\n        left =\n          parseFloat(that.element.css(\"left\")) +\n            (that.position.left - that.originalPosition.left) || null,\n        top =\n          parseFloat(that.element.css(\"top\")) +\n            (that.position.top - that.originalPosition.top) || null;\n\n      that.element.animate(\n        $.extend(style, top && left ? { top: top, left: left } : {}),\n        {\n          duration: o.animateDuration,\n          easing: o.animateEasing,\n          step: function () {\n            var data = {\n              width: parseFloat(that.element.css(\"width\")),\n              height: parseFloat(that.element.css(\"height\")),\n              top: parseFloat(that.element.css(\"top\")),\n              left: parseFloat(that.element.css(\"left\")),\n            };\n\n            if (pr && pr.length) {\n              $(pr[0]).css({ width: data.width, height: data.height });\n            }\n\n            // Propagating resize, and updating values for each animation step\n            that._updateCache(data);\n            that._propagate(\"resize\", event);\n          },\n        },\n      );\n    },\n  });\n\n  $.ui.plugin.add(\"resizable\", \"containment\", {\n    start: function () {\n      var element,\n        p,\n        co,\n        ch,\n        cw,\n        width,\n        height,\n        that = $(this).resizable(\"instance\"),\n        o = that.options,\n        el = that.element,\n        oc = o.containment,\n        ce =\n          oc instanceof $\n            ? oc.get(0)\n            : /parent/.test(oc)\n            ? el.parent().get(0)\n            : oc;\n\n      if (!ce) {\n        return;\n      }\n\n      that.containerElement = $(ce);\n\n      if (/document/.test(oc) || oc === document) {\n        that.containerOffset = {\n          left: 0,\n          top: 0,\n        };\n        that.containerPosition = {\n          left: 0,\n          top: 0,\n        };\n\n        that.parentData = {\n          element: $(document),\n          left: 0,\n          top: 0,\n          width: $(document).width(),\n          height: $(document).height() || document.body.parentNode.scrollHeight,\n        };\n      } else {\n        element = $(ce);\n        p = [];\n        $([\"Top\", \"Right\", \"Left\", \"Bottom\"]).each(function (i, name) {\n          p[i] = that._num(element.css(\"padding\" + name));\n        });\n\n        that.containerOffset = element.offset();\n        that.containerPosition = element.position();\n        that.containerSize = {\n          height: element.innerHeight() - p[3],\n          width: element.innerWidth() - p[1],\n        };\n\n        co = that.containerOffset;\n        ch = that.containerSize.height;\n        cw = that.containerSize.width;\n        width = that._hasScroll(ce, \"left\") ? ce.scrollWidth : cw;\n        height = that._hasScroll(ce) ? ce.scrollHeight : ch;\n\n        that.parentData = {\n          element: ce,\n          left: co.left,\n          top: co.top,\n          width: width,\n          height: height,\n        };\n      }\n    },\n\n    resize: function (event) {\n      var woset,\n        hoset,\n        isParent,\n        isOffsetRelative,\n        that = $(this).resizable(\"instance\"),\n        o = that.options,\n        co = that.containerOffset,\n        cp = that.position,\n        pRatio = that._aspectRatio || event.shiftKey,\n        cop = {\n          top: 0,\n          left: 0,\n        },\n        ce = that.containerElement,\n        continueResize = true;\n\n      if (ce[0] !== document && /static/.test(ce.css(\"position\"))) {\n        cop = co;\n      }\n\n      if (cp.left < (that._helper ? co.left : 0)) {\n        that.size.width =\n          that.size.width +\n          (that._helper\n            ? that.position.left - co.left\n            : that.position.left - cop.left);\n\n        if (pRatio) {\n          that.size.height = that.size.width / that.aspectRatio;\n          continueResize = false;\n        }\n        that.position.left = o.helper ? co.left : 0;\n      }\n\n      if (cp.top < (that._helper ? co.top : 0)) {\n        that.size.height =\n          that.size.height +\n          (that._helper ? that.position.top - co.top : that.position.top);\n\n        if (pRatio) {\n          that.size.width = that.size.height * that.aspectRatio;\n          continueResize = false;\n        }\n        that.position.top = that._helper ? co.top : 0;\n      }\n\n      isParent = that.containerElement.get(0) === that.element.parent().get(0);\n      isOffsetRelative = /relative|absolute/.test(\n        that.containerElement.css(\"position\"),\n      );\n\n      if (isParent && isOffsetRelative) {\n        that.offset.left = that.parentData.left + that.position.left;\n        that.offset.top = that.parentData.top + that.position.top;\n      } else {\n        that.offset.left = that.element.offset().left;\n        that.offset.top = that.element.offset().top;\n      }\n\n      woset = Math.abs(\n        that.sizeDiff.width +\n          (that._helper\n            ? that.offset.left - cop.left\n            : that.offset.left - co.left),\n      );\n\n      hoset = Math.abs(\n        that.sizeDiff.height +\n          (that._helper ? that.offset.top - cop.top : that.offset.top - co.top),\n      );\n\n      if (woset + that.size.width >= that.parentData.width) {\n        that.size.width = that.parentData.width - woset;\n        if (pRatio) {\n          that.size.height = that.size.width / that.aspectRatio;\n          continueResize = false;\n        }\n      }\n\n      if (hoset + that.size.height >= that.parentData.height) {\n        that.size.height = that.parentData.height - hoset;\n        if (pRatio) {\n          that.size.width = that.size.height * that.aspectRatio;\n          continueResize = false;\n        }\n      }\n\n      if (!continueResize) {\n        that.position.left = that.prevPosition.left;\n        that.position.top = that.prevPosition.top;\n        that.size.width = that.prevSize.width;\n        that.size.height = that.prevSize.height;\n      }\n    },\n\n    stop: function () {\n      var that = $(this).resizable(\"instance\"),\n        o = that.options,\n        co = that.containerOffset,\n        cop = that.containerPosition,\n        ce = that.containerElement,\n        helper = $(that.helper),\n        ho = helper.offset(),\n        w = helper.outerWidth() - that.sizeDiff.width,\n        h = helper.outerHeight() - that.sizeDiff.height;\n\n      if (that._helper && !o.animate && /relative/.test(ce.css(\"position\"))) {\n        $(this).css({\n          left: ho.left - cop.left - co.left,\n          width: w,\n          height: h,\n        });\n      }\n\n      if (that._helper && !o.animate && /static/.test(ce.css(\"position\"))) {\n        $(this).css({\n          left: ho.left - cop.left - co.left,\n          width: w,\n          height: h,\n        });\n      }\n    },\n  });\n\n  $.ui.plugin.add(\"resizable\", \"alsoResize\", {\n    start: function () {\n      var that = $(this).resizable(\"instance\"),\n        o = that.options;\n\n      $(o.alsoResize).each(function () {\n        var el = $(this);\n        el.data(\"ui-resizable-alsoresize\", {\n          width: parseFloat(el.width()),\n          height: parseFloat(el.height()),\n          left: parseFloat(el.css(\"left\")),\n          top: parseFloat(el.css(\"top\")),\n        });\n      });\n    },\n\n    resize: function (event, ui) {\n      var that = $(this).resizable(\"instance\"),\n        o = that.options,\n        os = that.originalSize,\n        op = that.originalPosition,\n        delta = {\n          height: that.size.height - os.height || 0,\n          width: that.size.width - os.width || 0,\n          top: that.position.top - op.top || 0,\n          left: that.position.left - op.left || 0,\n        };\n\n      $(o.alsoResize).each(function () {\n        var el = $(this),\n          start = $(this).data(\"ui-resizable-alsoresize\"),\n          style = {},\n          css = el.parents(ui.originalElement[0]).length\n            ? [\"width\", \"height\"]\n            : [\"width\", \"height\", \"top\", \"left\"];\n\n        $.each(css, function (i, prop) {\n          var sum = (start[prop] || 0) + (delta[prop] || 0);\n          if (sum && sum >= 0) {\n            style[prop] = sum || null;\n          }\n        });\n\n        el.css(style);\n      });\n    },\n\n    stop: function () {\n      $(this).removeData(\"ui-resizable-alsoresize\");\n    },\n  });\n\n  $.ui.plugin.add(\"resizable\", \"ghost\", {\n    start: function () {\n      var that = $(this).resizable(\"instance\"),\n        cs = that.size;\n\n      that.ghost = that.originalElement.clone();\n      that.ghost.css({\n        opacity: 0.25,\n        display: \"block\",\n        position: \"relative\",\n        height: cs.height,\n        width: cs.width,\n        margin: 0,\n        left: 0,\n        top: 0,\n      });\n\n      that._addClass(that.ghost, \"ui-resizable-ghost\");\n\n      // DEPRECATED\n      // TODO: remove after 1.12\n      if ($.uiBackCompat !== false && typeof that.options.ghost === \"string\") {\n        // Ghost option\n        that.ghost.addClass(this.options.ghost);\n      }\n\n      that.ghost.appendTo(that.helper);\n    },\n\n    resize: function () {\n      var that = $(this).resizable(\"instance\");\n      if (that.ghost) {\n        that.ghost.css({\n          position: \"relative\",\n          height: that.size.height,\n          width: that.size.width,\n        });\n      }\n    },\n\n    stop: function () {\n      var that = $(this).resizable(\"instance\");\n      if (that.ghost && that.helper) {\n        that.helper.get(0).removeChild(that.ghost.get(0));\n      }\n    },\n  });\n\n  $.ui.plugin.add(\"resizable\", \"grid\", {\n    resize: function () {\n      var outerDimensions,\n        that = $(this).resizable(\"instance\"),\n        o = that.options,\n        cs = that.size,\n        os = that.originalSize,\n        op = that.originalPosition,\n        a = that.axis,\n        grid = typeof o.grid === \"number\" ? [o.grid, o.grid] : o.grid,\n        gridX = grid[0] || 1,\n        gridY = grid[1] || 1,\n        ox = Math.round((cs.width - os.width) / gridX) * gridX,\n        oy = Math.round((cs.height - os.height) / gridY) * gridY,\n        newWidth = os.width + ox,\n        newHeight = os.height + oy,\n        isMaxWidth = o.maxWidth && o.maxWidth < newWidth,\n        isMaxHeight = o.maxHeight && o.maxHeight < newHeight,\n        isMinWidth = o.minWidth && o.minWidth > newWidth,\n        isMinHeight = o.minHeight && o.minHeight > newHeight;\n\n      o.grid = grid;\n\n      if (isMinWidth) {\n        newWidth += gridX;\n      }\n      if (isMinHeight) {\n        newHeight += gridY;\n      }\n      if (isMaxWidth) {\n        newWidth -= gridX;\n      }\n      if (isMaxHeight) {\n        newHeight -= gridY;\n      }\n\n      if (/^(se|s|e)$/.test(a)) {\n        that.size.width = newWidth;\n        that.size.height = newHeight;\n      } else if (/^(ne)$/.test(a)) {\n        that.size.width = newWidth;\n        that.size.height = newHeight;\n        that.position.top = op.top - oy;\n      } else if (/^(sw)$/.test(a)) {\n        that.size.width = newWidth;\n        that.size.height = newHeight;\n        that.position.left = op.left - ox;\n      } else {\n        if (newHeight - gridY <= 0 || newWidth - gridX <= 0) {\n          outerDimensions = that._getPaddingPlusBorderDimensions(this);\n        }\n\n        if (newHeight - gridY > 0) {\n          that.size.height = newHeight;\n          that.position.top = op.top - oy;\n        } else {\n          newHeight = gridY - outerDimensions.height;\n          that.size.height = newHeight;\n          that.position.top = op.top + os.height - newHeight;\n        }\n        if (newWidth - gridX > 0) {\n          that.size.width = newWidth;\n          that.position.left = op.left - ox;\n        } else {\n          newWidth = gridX - outerDimensions.width;\n          that.size.width = newWidth;\n          that.position.left = op.left + os.width - newWidth;\n        }\n      }\n    },\n  });\n\n  var widgetsResizable = $.ui.resizable;\n\n  /*!\n   * jQuery UI Selectable 1.13.2\n   * http://jqueryui.com\n   *\n   * Copyright jQuery Foundation and other contributors\n   * Released under the MIT license.\n   * http://jquery.org/license\n   */\n\n  //>>label: Selectable\n  //>>group: Interactions\n  //>>description: Allows groups of elements to be selected with the mouse.\n  //>>docs: http://api.jqueryui.com/selectable/\n  //>>demos: http://jqueryui.com/selectable/\n  //>>css.structure: ../../themes/base/selectable.css\n\n  var widgetsSelectable = $.widget(\"ui.selectable\", $.ui.mouse, {\n    version: \"1.13.2\",\n    options: {\n      appendTo: \"body\",\n      autoRefresh: true,\n      distance: 0,\n      filter: \"*\",\n      tolerance: \"touch\",\n\n      // Callbacks\n      selected: null,\n      selecting: null,\n      start: null,\n      stop: null,\n      unselected: null,\n      unselecting: null,\n    },\n    _create: function () {\n      var that = this;\n\n      this._addClass(\"ui-selectable\");\n\n      this.dragged = false;\n\n      // Cache selectee children based on filter\n      this.refresh = function () {\n        that.elementPos = $(that.element[0]).offset();\n        that.selectees = $(that.options.filter, that.element[0]);\n        that._addClass(that.selectees, \"ui-selectee\");\n        that.selectees.each(function () {\n          var $this = $(this),\n            selecteeOffset = $this.offset(),\n            pos = {\n              left: selecteeOffset.left - that.elementPos.left,\n              top: selecteeOffset.top - that.elementPos.top,\n            };\n          $.data(this, \"selectable-item\", {\n            element: this,\n            $element: $this,\n            left: pos.left,\n            top: pos.top,\n            right: pos.left + $this.outerWidth(),\n            bottom: pos.top + $this.outerHeight(),\n            startselected: false,\n            selected: $this.hasClass(\"ui-selected\"),\n            selecting: $this.hasClass(\"ui-selecting\"),\n            unselecting: $this.hasClass(\"ui-unselecting\"),\n          });\n        });\n      };\n      this.refresh();\n\n      this._mouseInit();\n\n      this.helper = $(\"<div>\");\n      this._addClass(this.helper, \"ui-selectable-helper\");\n    },\n\n    _destroy: function () {\n      this.selectees.removeData(\"selectable-item\");\n      this._mouseDestroy();\n    },\n\n    _mouseStart: function (event) {\n      var that = this,\n        options = this.options;\n\n      this.opos = [event.pageX, event.pageY];\n      this.elementPos = $(this.element[0]).offset();\n\n      if (this.options.disabled) {\n        return;\n      }\n\n      this.selectees = $(options.filter, this.element[0]);\n\n      this._trigger(\"start\", event);\n\n      $(options.appendTo).append(this.helper);\n\n      // position helper (lasso)\n      this.helper.css({\n        left: event.pageX,\n        top: event.pageY,\n        width: 0,\n        height: 0,\n      });\n\n      if (options.autoRefresh) {\n        this.refresh();\n      }\n\n      this.selectees.filter(\".ui-selected\").each(function () {\n        var selectee = $.data(this, \"selectable-item\");\n        selectee.startselected = true;\n        if (!event.metaKey && !event.ctrlKey) {\n          that._removeClass(selectee.$element, \"ui-selected\");\n          selectee.selected = false;\n          that._addClass(selectee.$element, \"ui-unselecting\");\n          selectee.unselecting = true;\n\n          // selectable UNSELECTING callback\n          that._trigger(\"unselecting\", event, {\n            unselecting: selectee.element,\n          });\n        }\n      });\n\n      $(event.target)\n        .parents()\n        .addBack()\n        .each(function () {\n          var doSelect,\n            selectee = $.data(this, \"selectable-item\");\n          if (selectee) {\n            doSelect =\n              (!event.metaKey && !event.ctrlKey) ||\n              !selectee.$element.hasClass(\"ui-selected\");\n            that\n              ._removeClass(\n                selectee.$element,\n                doSelect ? \"ui-unselecting\" : \"ui-selected\",\n              )\n              ._addClass(\n                selectee.$element,\n                doSelect ? \"ui-selecting\" : \"ui-unselecting\",\n              );\n            selectee.unselecting = !doSelect;\n            selectee.selecting = doSelect;\n            selectee.selected = doSelect;\n\n            // selectable (UN)SELECTING callback\n            if (doSelect) {\n              that._trigger(\"selecting\", event, {\n                selecting: selectee.element,\n              });\n            } else {\n              that._trigger(\"unselecting\", event, {\n                unselecting: selectee.element,\n              });\n            }\n            return false;\n          }\n        });\n    },\n\n    _mouseDrag: function (event) {\n      this.dragged = true;\n\n      if (this.options.disabled) {\n        return;\n      }\n\n      var tmp,\n        that = this,\n        options = this.options,\n        x1 = this.opos[0],\n        y1 = this.opos[1],\n        x2 = event.pageX,\n        y2 = event.pageY;\n\n      if (x1 > x2) {\n        tmp = x2;\n        x2 = x1;\n        x1 = tmp;\n      }\n      if (y1 > y2) {\n        tmp = y2;\n        y2 = y1;\n        y1 = tmp;\n      }\n      this.helper.css({ left: x1, top: y1, width: x2 - x1, height: y2 - y1 });\n\n      this.selectees.each(function () {\n        var selectee = $.data(this, \"selectable-item\"),\n          hit = false,\n          offset = {};\n\n        //prevent helper from being selected if appendTo: selectable\n        if (!selectee || selectee.element === that.element[0]) {\n          return;\n        }\n\n        offset.left = selectee.left + that.elementPos.left;\n        offset.right = selectee.right + that.elementPos.left;\n        offset.top = selectee.top + that.elementPos.top;\n        offset.bottom = selectee.bottom + that.elementPos.top;\n\n        if (options.tolerance === \"touch\") {\n          hit = !(\n            offset.left > x2 ||\n            offset.right < x1 ||\n            offset.top > y2 ||\n            offset.bottom < y1\n          );\n        } else if (options.tolerance === \"fit\") {\n          hit =\n            offset.left > x1 &&\n            offset.right < x2 &&\n            offset.top > y1 &&\n            offset.bottom < y2;\n        }\n\n        if (hit) {\n          // SELECT\n          if (selectee.selected) {\n            that._removeClass(selectee.$element, \"ui-selected\");\n            selectee.selected = false;\n          }\n          if (selectee.unselecting) {\n            that._removeClass(selectee.$element, \"ui-unselecting\");\n            selectee.unselecting = false;\n          }\n          if (!selectee.selecting) {\n            that._addClass(selectee.$element, \"ui-selecting\");\n            selectee.selecting = true;\n\n            // selectable SELECTING callback\n            that._trigger(\"selecting\", event, {\n              selecting: selectee.element,\n            });\n          }\n        } else {\n          // UNSELECT\n          if (selectee.selecting) {\n            if ((event.metaKey || event.ctrlKey) && selectee.startselected) {\n              that._removeClass(selectee.$element, \"ui-selecting\");\n              selectee.selecting = false;\n              that._addClass(selectee.$element, \"ui-selected\");\n              selectee.selected = true;\n            } else {\n              that._removeClass(selectee.$element, \"ui-selecting\");\n              selectee.selecting = false;\n              if (selectee.startselected) {\n                that._addClass(selectee.$element, \"ui-unselecting\");\n                selectee.unselecting = true;\n              }\n\n              // selectable UNSELECTING callback\n              that._trigger(\"unselecting\", event, {\n                unselecting: selectee.element,\n              });\n            }\n          }\n          if (selectee.selected) {\n            if (!event.metaKey && !event.ctrlKey && !selectee.startselected) {\n              that._removeClass(selectee.$element, \"ui-selected\");\n              selectee.selected = false;\n\n              that._addClass(selectee.$element, \"ui-unselecting\");\n              selectee.unselecting = true;\n\n              // selectable UNSELECTING callback\n              that._trigger(\"unselecting\", event, {\n                unselecting: selectee.element,\n              });\n            }\n          }\n        }\n      });\n\n      return false;\n    },\n\n    _mouseStop: function (event) {\n      var that = this;\n\n      this.dragged = false;\n\n      $(\".ui-unselecting\", this.element[0]).each(function () {\n        var selectee = $.data(this, \"selectable-item\");\n        that._removeClass(selectee.$element, \"ui-unselecting\");\n        selectee.unselecting = false;\n        selectee.startselected = false;\n        that._trigger(\"unselected\", event, {\n          unselected: selectee.element,\n        });\n      });\n      $(\".ui-selecting\", this.element[0]).each(function () {\n        var selectee = $.data(this, \"selectable-item\");\n        that\n          ._removeClass(selectee.$element, \"ui-selecting\")\n          ._addClass(selectee.$element, \"ui-selected\");\n        selectee.selecting = false;\n        selectee.selected = true;\n        selectee.startselected = true;\n        that._trigger(\"selected\", event, {\n          selected: selectee.element,\n        });\n      });\n      this._trigger(\"stop\", event);\n\n      this.helper.remove();\n\n      return false;\n    },\n  });\n\n  /*!\n   * jQuery UI Sortable 1.13.2\n   * http://jqueryui.com\n   *\n   * Copyright jQuery Foundation and other contributors\n   * Released under the MIT license.\n   * http://jquery.org/license\n   */\n\n  //>>label: Sortable\n  //>>group: Interactions\n  //>>description: Enables items in a list to be sorted using the mouse.\n  //>>docs: http://api.jqueryui.com/sortable/\n  //>>demos: http://jqueryui.com/sortable/\n  //>>css.structure: ../../themes/base/sortable.css\n\n  var widgetsSortable = $.widget(\"ui.sortable\", $.ui.mouse, {\n    version: \"1.13.2\",\n    widgetEventPrefix: \"sort\",\n    ready: false,\n    options: {\n      appendTo: \"parent\",\n      axis: false,\n      connectWith: false,\n      containment: false,\n      cursor: \"auto\",\n      cursorAt: false,\n      dropOnEmpty: true,\n      forcePlaceholderSize: false,\n      forceHelperSize: false,\n      grid: false,\n      handle: false,\n      helper: \"original\",\n      items: \"> *\",\n      opacity: false,\n      placeholder: false,\n      revert: false,\n      scroll: true,\n      scrollSensitivity: 20,\n      scrollSpeed: 20,\n      scope: \"default\",\n      tolerance: \"intersect\",\n      zIndex: 1000,\n\n      // Callbacks\n      activate: null,\n      beforeStop: null,\n      change: null,\n      deactivate: null,\n      out: null,\n      over: null,\n      receive: null,\n      remove: null,\n      sort: null,\n      start: null,\n      stop: null,\n      update: null,\n    },\n\n    _isOverAxis: function (x, reference, size) {\n      return x >= reference && x < reference + size;\n    },\n\n    _isFloating: function (item) {\n      return (\n        /left|right/.test(item.css(\"float\")) ||\n        /inline|table-cell/.test(item.css(\"display\"))\n      );\n    },\n\n    _create: function () {\n      this.containerCache = {};\n      this._addClass(\"ui-sortable\");\n\n      //Get the items\n      this.refresh();\n\n      //Let's determine the parent's offset\n      this.offset = this.element.offset();\n\n      //Initialize mouse events for interaction\n      this._mouseInit();\n\n      this._setHandleClassName();\n\n      //We're ready to go\n      this.ready = true;\n    },\n\n    _setOption: function (key, value) {\n      this._super(key, value);\n\n      if (key === \"handle\") {\n        this._setHandleClassName();\n      }\n    },\n\n    _setHandleClassName: function () {\n      var that = this;\n      this._removeClass(\n        this.element.find(\".ui-sortable-handle\"),\n        \"ui-sortable-handle\",\n      );\n      $.each(this.items, function () {\n        that._addClass(\n          this.instance.options.handle\n            ? this.item.find(this.instance.options.handle)\n            : this.item,\n          \"ui-sortable-handle\",\n        );\n      });\n    },\n\n    _destroy: function () {\n      this._mouseDestroy();\n\n      for (var i = this.items.length - 1; i >= 0; i--) {\n        this.items[i].item.removeData(this.widgetName + \"-item\");\n      }\n\n      return this;\n    },\n\n    _mouseCapture: function (event, overrideHandle) {\n      var currentItem = null,\n        validHandle = false,\n        that = this;\n\n      if (this.reverting) {\n        return false;\n      }\n\n      if (this.options.disabled || this.options.type === \"static\") {\n        return false;\n      }\n\n      //We have to refresh the items data once first\n      this._refreshItems(event);\n\n      //Find out if the clicked node (or one of its parents) is a actual item in this.items\n      $(event.target)\n        .parents()\n        .each(function () {\n          if ($.data(this, that.widgetName + \"-item\") === that) {\n            currentItem = $(this);\n            return false;\n          }\n        });\n      if ($.data(event.target, that.widgetName + \"-item\") === that) {\n        currentItem = $(event.target);\n      }\n\n      if (!currentItem) {\n        return false;\n      }\n      if (this.options.handle && !overrideHandle) {\n        $(this.options.handle, currentItem)\n          .find(\"*\")\n          .addBack()\n          .each(function () {\n            if (this === event.target) {\n              validHandle = true;\n            }\n          });\n        if (!validHandle) {\n          return false;\n        }\n      }\n\n      this.currentItem = currentItem;\n      this._removeCurrentsFromItems();\n      return true;\n    },\n\n    _mouseStart: function (event, overrideHandle, noActivation) {\n      var i,\n        body,\n        o = this.options;\n\n      this.currentContainer = this;\n\n      //We only need to call refreshPositions, because the refreshItems call has been moved to\n      // mouseCapture\n      this.refreshPositions();\n\n      //Prepare the dragged items parent\n      this.appendTo = $(\n        o.appendTo !== \"parent\" ? o.appendTo : this.currentItem.parent(),\n      );\n\n      //Create and append the visible helper\n      this.helper = this._createHelper(event);\n\n      //Cache the helper size\n      this._cacheHelperProportions();\n\n      /*\n       * - Position generation -\n       * This block generates everything position related - it's the core of draggables.\n       */\n\n      //Cache the margins of the original element\n      this._cacheMargins();\n\n      //The element's absolute position on the page minus margins\n      this.offset = this.currentItem.offset();\n      this.offset = {\n        top: this.offset.top - this.margins.top,\n        left: this.offset.left - this.margins.left,\n      };\n\n      $.extend(this.offset, {\n        click: {\n          //Where the click happened, relative to the element\n          left: event.pageX - this.offset.left,\n          top: event.pageY - this.offset.top,\n        },\n\n        // This is a relative to absolute position minus the actual position calculation -\n        // only used for relative positioned helper\n        relative: this._getRelativeOffset(),\n      });\n\n      // After we get the helper offset, but before we get the parent offset we can\n      // change the helper's position to absolute\n      // TODO: Still need to figure out a way to make relative sorting possible\n      this.helper.css(\"position\", \"absolute\");\n      this.cssPosition = this.helper.css(\"position\");\n\n      //Adjust the mouse offset relative to the helper if \"cursorAt\" is supplied\n      if (o.cursorAt) {\n        this._adjustOffsetFromHelper(o.cursorAt);\n      }\n\n      //Cache the former DOM position\n      this.domPosition = {\n        prev: this.currentItem.prev()[0],\n        parent: this.currentItem.parent()[0],\n      };\n\n      // If the helper is not the original, hide the original so it's not playing any role during\n      // the drag, won't cause anything bad this way\n      if (this.helper[0] !== this.currentItem[0]) {\n        this.currentItem.hide();\n      }\n\n      //Create the placeholder\n      this._createPlaceholder();\n\n      //Get the next scrolling parent\n      this.scrollParent = this.placeholder.scrollParent();\n\n      $.extend(this.offset, {\n        parent: this._getParentOffset(),\n      });\n\n      //Set a containment if given in the options\n      if (o.containment) {\n        this._setContainment();\n      }\n\n      if (o.cursor && o.cursor !== \"auto\") {\n        // cursor option\n        body = this.document.find(\"body\");\n\n        // Support: IE\n        this.storedCursor = body.css(\"cursor\");\n        body.css(\"cursor\", o.cursor);\n\n        this.storedStylesheet = $(\n          \"<style>*{ cursor: \" + o.cursor + \" !important; }</style>\",\n        ).appendTo(body);\n      }\n\n      // We need to make sure to grab the zIndex before setting the\n      // opacity, because setting the opacity to anything lower than 1\n      // causes the zIndex to change from \"auto\" to 0.\n      if (o.zIndex) {\n        // zIndex option\n        if (this.helper.css(\"zIndex\")) {\n          this._storedZIndex = this.helper.css(\"zIndex\");\n        }\n        this.helper.css(\"zIndex\", o.zIndex);\n      }\n\n      if (o.opacity) {\n        // opacity option\n        if (this.helper.css(\"opacity\")) {\n          this._storedOpacity = this.helper.css(\"opacity\");\n        }\n        this.helper.css(\"opacity\", o.opacity);\n      }\n\n      //Prepare scrolling\n      if (\n        this.scrollParent[0] !== this.document[0] &&\n        this.scrollParent[0].tagName !== \"HTML\"\n      ) {\n        this.overflowOffset = this.scrollParent.offset();\n      }\n\n      //Call callbacks\n      this._trigger(\"start\", event, this._uiHash());\n\n      //Recache the helper size\n      if (!this._preserveHelperProportions) {\n        this._cacheHelperProportions();\n      }\n\n      //Post \"activate\" events to possible containers\n      if (!noActivation) {\n        for (i = this.containers.length - 1; i >= 0; i--) {\n          this.containers[i]._trigger(\"activate\", event, this._uiHash(this));\n        }\n      }\n\n      //Prepare possible droppables\n      if ($.ui.ddmanager) {\n        $.ui.ddmanager.current = this;\n      }\n\n      if ($.ui.ddmanager && !o.dropBehaviour) {\n        $.ui.ddmanager.prepareOffsets(this, event);\n      }\n\n      this.dragging = true;\n\n      this._addClass(this.helper, \"ui-sortable-helper\");\n\n      //Move the helper, if needed\n      if (!this.helper.parent().is(this.appendTo)) {\n        this.helper.detach().appendTo(this.appendTo);\n\n        //Update position\n        this.offset.parent = this._getParentOffset();\n      }\n\n      //Generate the original position\n      this.position = this.originalPosition = this._generatePosition(event);\n      this.originalPageX = event.pageX;\n      this.originalPageY = event.pageY;\n      this.lastPositionAbs = this.positionAbs =\n        this._convertPositionTo(\"absolute\");\n\n      this._mouseDrag(event);\n\n      return true;\n    },\n\n    _scroll: function (event) {\n      var o = this.options,\n        scrolled = false;\n\n      if (\n        this.scrollParent[0] !== this.document[0] &&\n        this.scrollParent[0].tagName !== \"HTML\"\n      ) {\n        if (\n          this.overflowOffset.top +\n            this.scrollParent[0].offsetHeight -\n            event.pageY <\n          o.scrollSensitivity\n        ) {\n          this.scrollParent[0].scrollTop = scrolled =\n            this.scrollParent[0].scrollTop + o.scrollSpeed;\n        } else if (\n          event.pageY - this.overflowOffset.top <\n          o.scrollSensitivity\n        ) {\n          this.scrollParent[0].scrollTop = scrolled =\n            this.scrollParent[0].scrollTop - o.scrollSpeed;\n        }\n\n        if (\n          this.overflowOffset.left +\n            this.scrollParent[0].offsetWidth -\n            event.pageX <\n          o.scrollSensitivity\n        ) {\n          this.scrollParent[0].scrollLeft = scrolled =\n            this.scrollParent[0].scrollLeft + o.scrollSpeed;\n        } else if (\n          event.pageX - this.overflowOffset.left <\n          o.scrollSensitivity\n        ) {\n          this.scrollParent[0].scrollLeft = scrolled =\n            this.scrollParent[0].scrollLeft - o.scrollSpeed;\n        }\n      } else {\n        if (event.pageY - this.document.scrollTop() < o.scrollSensitivity) {\n          scrolled = this.document.scrollTop(\n            this.document.scrollTop() - o.scrollSpeed,\n          );\n        } else if (\n          this.window.height() - (event.pageY - this.document.scrollTop()) <\n          o.scrollSensitivity\n        ) {\n          scrolled = this.document.scrollTop(\n            this.document.scrollTop() + o.scrollSpeed,\n          );\n        }\n\n        if (event.pageX - this.document.scrollLeft() < o.scrollSensitivity) {\n          scrolled = this.document.scrollLeft(\n            this.document.scrollLeft() - o.scrollSpeed,\n          );\n        } else if (\n          this.window.width() - (event.pageX - this.document.scrollLeft()) <\n          o.scrollSensitivity\n        ) {\n          scrolled = this.document.scrollLeft(\n            this.document.scrollLeft() + o.scrollSpeed,\n          );\n        }\n      }\n\n      return scrolled;\n    },\n\n    _mouseDrag: function (event) {\n      var i,\n        item,\n        itemElement,\n        intersection,\n        o = this.options;\n\n      //Compute the helpers position\n      this.position = this._generatePosition(event);\n      this.positionAbs = this._convertPositionTo(\"absolute\");\n\n      //Set the helper position\n      if (!this.options.axis || this.options.axis !== \"y\") {\n        this.helper[0].style.left = this.position.left + \"px\";\n      }\n      if (!this.options.axis || this.options.axis !== \"x\") {\n        this.helper[0].style.top = this.position.top + \"px\";\n      }\n\n      //Do scrolling\n      if (o.scroll) {\n        if (this._scroll(event) !== false) {\n          //Update item positions used in position checks\n          this._refreshItemPositions(true);\n\n          if ($.ui.ddmanager && !o.dropBehaviour) {\n            $.ui.ddmanager.prepareOffsets(this, event);\n          }\n        }\n      }\n\n      this.dragDirection = {\n        vertical: this._getDragVerticalDirection(),\n        horizontal: this._getDragHorizontalDirection(),\n      };\n\n      //Rearrange\n      for (i = this.items.length - 1; i >= 0; i--) {\n        //Cache variables and intersection, continue if no intersection\n        item = this.items[i];\n        itemElement = item.item[0];\n        intersection = this._intersectsWithPointer(item);\n        if (!intersection) {\n          continue;\n        }\n\n        // Only put the placeholder inside the current Container, skip all\n        // items from other containers. This works because when moving\n        // an item from one container to another the\n        // currentContainer is switched before the placeholder is moved.\n        //\n        // Without this, moving items in \"sub-sortables\" can cause\n        // the placeholder to jitter between the outer and inner container.\n        if (item.instance !== this.currentContainer) {\n          continue;\n        }\n\n        // Cannot intersect with itself\n        // no useless actions that have been done before\n        // no action if the item moved is the parent of the item checked\n        if (\n          itemElement !== this.currentItem[0] &&\n          this.placeholder[intersection === 1 ? \"next\" : \"prev\"]()[0] !==\n            itemElement &&\n          !$.contains(this.placeholder[0], itemElement) &&\n          (this.options.type === \"semi-dynamic\"\n            ? !$.contains(this.element[0], itemElement)\n            : true)\n        ) {\n          this.direction = intersection === 1 ? \"down\" : \"up\";\n\n          if (\n            this.options.tolerance === \"pointer\" ||\n            this._intersectsWithSides(item)\n          ) {\n            this._rearrange(event, item);\n          } else {\n            break;\n          }\n\n          this._trigger(\"change\", event, this._uiHash());\n          break;\n        }\n      }\n\n      //Post events to containers\n      this._contactContainers(event);\n\n      //Interconnect with droppables\n      if ($.ui.ddmanager) {\n        $.ui.ddmanager.drag(this, event);\n      }\n\n      //Call callbacks\n      this._trigger(\"sort\", event, this._uiHash());\n\n      this.lastPositionAbs = this.positionAbs;\n      return false;\n    },\n\n    _mouseStop: function (event, noPropagation) {\n      if (!event) {\n        return;\n      }\n\n      //If we are using droppables, inform the manager about the drop\n      if ($.ui.ddmanager && !this.options.dropBehaviour) {\n        $.ui.ddmanager.drop(this, event);\n      }\n\n      if (this.options.revert) {\n        var that = this,\n          cur = this.placeholder.offset(),\n          axis = this.options.axis,\n          animation = {};\n\n        if (!axis || axis === \"x\") {\n          animation.left =\n            cur.left -\n            this.offset.parent.left -\n            this.margins.left +\n            (this.offsetParent[0] === this.document[0].body\n              ? 0\n              : this.offsetParent[0].scrollLeft);\n        }\n        if (!axis || axis === \"y\") {\n          animation.top =\n            cur.top -\n            this.offset.parent.top -\n            this.margins.top +\n            (this.offsetParent[0] === this.document[0].body\n              ? 0\n              : this.offsetParent[0].scrollTop);\n        }\n        this.reverting = true;\n        $(this.helper).animate(\n          animation,\n          parseInt(this.options.revert, 10) || 500,\n          function () {\n            that._clear(event);\n          },\n        );\n      } else {\n        this._clear(event, noPropagation);\n      }\n\n      return false;\n    },\n\n    cancel: function () {\n      if (this.dragging) {\n        this._mouseUp(new $.Event(\"mouseup\", { target: null }));\n\n        if (this.options.helper === \"original\") {\n          this.currentItem.css(this._storedCSS);\n          this._removeClass(this.currentItem, \"ui-sortable-helper\");\n        } else {\n          this.currentItem.show();\n        }\n\n        //Post deactivating events to containers\n        for (var i = this.containers.length - 1; i >= 0; i--) {\n          this.containers[i]._trigger(\"deactivate\", null, this._uiHash(this));\n          if (this.containers[i].containerCache.over) {\n            this.containers[i]._trigger(\"out\", null, this._uiHash(this));\n            this.containers[i].containerCache.over = 0;\n          }\n        }\n      }\n\n      if (this.placeholder) {\n        //$(this.placeholder[0]).remove(); would have been the jQuery way - unfortunately,\n        // it unbinds ALL events from the original node!\n        if (this.placeholder[0].parentNode) {\n          this.placeholder[0].parentNode.removeChild(this.placeholder[0]);\n        }\n        if (\n          this.options.helper !== \"original\" &&\n          this.helper &&\n          this.helper[0].parentNode\n        ) {\n          this.helper.remove();\n        }\n\n        $.extend(this, {\n          helper: null,\n          dragging: false,\n          reverting: false,\n          _noFinalSort: null,\n        });\n\n        if (this.domPosition.prev) {\n          $(this.domPosition.prev).after(this.currentItem);\n        } else {\n          $(this.domPosition.parent).prepend(this.currentItem);\n        }\n      }\n\n      return this;\n    },\n\n    serialize: function (o) {\n      var items = this._getItemsAsjQuery(o && o.connected),\n        str = [];\n      o = o || {};\n\n      $(items).each(function () {\n        var res = ($(o.item || this).attr(o.attribute || \"id\") || \"\").match(\n          o.expression || /(.+)[\\-=_](.+)/,\n        );\n        if (res) {\n          str.push(\n            (o.key || res[1] + \"[]\") +\n              \"=\" +\n              (o.key && o.expression ? res[1] : res[2]),\n          );\n        }\n      });\n\n      if (!str.length && o.key) {\n        str.push(o.key + \"=\");\n      }\n\n      return str.join(\"&\");\n    },\n\n    toArray: function (o) {\n      var items = this._getItemsAsjQuery(o && o.connected),\n        ret = [];\n\n      o = o || {};\n\n      items.each(function () {\n        ret.push($(o.item || this).attr(o.attribute || \"id\") || \"\");\n      });\n      return ret;\n    },\n\n    /* Be careful with the following core functions */\n    _intersectsWith: function (item) {\n      var x1 = this.positionAbs.left,\n        x2 = x1 + this.helperProportions.width,\n        y1 = this.positionAbs.top,\n        y2 = y1 + this.helperProportions.height,\n        l = item.left,\n        r = l + item.width,\n        t = item.top,\n        b = t + item.height,\n        dyClick = this.offset.click.top,\n        dxClick = this.offset.click.left,\n        isOverElementHeight =\n          this.options.axis === \"x\" || (y1 + dyClick > t && y1 + dyClick < b),\n        isOverElementWidth =\n          this.options.axis === \"y\" || (x1 + dxClick > l && x1 + dxClick < r),\n        isOverElement = isOverElementHeight && isOverElementWidth;\n\n      if (\n        this.options.tolerance === \"pointer\" ||\n        this.options.forcePointerForContainers ||\n        (this.options.tolerance !== \"pointer\" &&\n          this.helperProportions[this.floating ? \"width\" : \"height\"] >\n            item[this.floating ? \"width\" : \"height\"])\n      ) {\n        return isOverElement;\n      } else {\n        return (\n          l < x1 + this.helperProportions.width / 2 && // Right Half\n          x2 - this.helperProportions.width / 2 < r && // Left Half\n          t < y1 + this.helperProportions.height / 2 && // Bottom Half\n          y2 - this.helperProportions.height / 2 < b\n        ); // Top Half\n      }\n    },\n\n    _intersectsWithPointer: function (item) {\n      var verticalDirection,\n        horizontalDirection,\n        isOverElementHeight =\n          this.options.axis === \"x\" ||\n          this._isOverAxis(\n            this.positionAbs.top + this.offset.click.top,\n            item.top,\n            item.height,\n          ),\n        isOverElementWidth =\n          this.options.axis === \"y\" ||\n          this._isOverAxis(\n            this.positionAbs.left + this.offset.click.left,\n            item.left,\n            item.width,\n          ),\n        isOverElement = isOverElementHeight && isOverElementWidth;\n\n      if (!isOverElement) {\n        return false;\n      }\n\n      verticalDirection = this.dragDirection.vertical;\n      horizontalDirection = this.dragDirection.horizontal;\n\n      return this.floating\n        ? horizontalDirection === \"right\" || verticalDirection === \"down\"\n          ? 2\n          : 1\n        : verticalDirection && (verticalDirection === \"down\" ? 2 : 1);\n    },\n\n    _intersectsWithSides: function (item) {\n      var isOverBottomHalf = this._isOverAxis(\n          this.positionAbs.top + this.offset.click.top,\n          item.top + item.height / 2,\n          item.height,\n        ),\n        isOverRightHalf = this._isOverAxis(\n          this.positionAbs.left + this.offset.click.left,\n          item.left + item.width / 2,\n          item.width,\n        ),\n        verticalDirection = this.dragDirection.vertical,\n        horizontalDirection = this.dragDirection.horizontal;\n\n      if (this.floating && horizontalDirection) {\n        return (\n          (horizontalDirection === \"right\" && isOverRightHalf) ||\n          (horizontalDirection === \"left\" && !isOverRightHalf)\n        );\n      } else {\n        return (\n          verticalDirection &&\n          ((verticalDirection === \"down\" && isOverBottomHalf) ||\n            (verticalDirection === \"up\" && !isOverBottomHalf))\n        );\n      }\n    },\n\n    _getDragVerticalDirection: function () {\n      var delta = this.positionAbs.top - this.lastPositionAbs.top;\n      return delta !== 0 && (delta > 0 ? \"down\" : \"up\");\n    },\n\n    _getDragHorizontalDirection: function () {\n      var delta = this.positionAbs.left - this.lastPositionAbs.left;\n      return delta !== 0 && (delta > 0 ? \"right\" : \"left\");\n    },\n\n    refresh: function (event) {\n      this._refreshItems(event);\n      this._setHandleClassName();\n      this.refreshPositions();\n      return this;\n    },\n\n    _connectWith: function () {\n      var options = this.options;\n      return options.connectWith.constructor === String\n        ? [options.connectWith]\n        : options.connectWith;\n    },\n\n    _getItemsAsjQuery: function (connected) {\n      var i,\n        j,\n        cur,\n        inst,\n        items = [],\n        queries = [],\n        connectWith = this._connectWith();\n\n      if (connectWith && connected) {\n        for (i = connectWith.length - 1; i >= 0; i--) {\n          cur = $(connectWith[i], this.document[0]);\n          for (j = cur.length - 1; j >= 0; j--) {\n            inst = $.data(cur[j], this.widgetFullName);\n            if (inst && inst !== this && !inst.options.disabled) {\n              queries.push([\n                typeof inst.options.items === \"function\"\n                  ? inst.options.items.call(inst.element)\n                  : $(inst.options.items, inst.element)\n                      .not(\".ui-sortable-helper\")\n                      .not(\".ui-sortable-placeholder\"),\n                inst,\n              ]);\n            }\n          }\n        }\n      }\n\n      queries.push([\n        typeof this.options.items === \"function\"\n          ? this.options.items.call(this.element, null, {\n              options: this.options,\n              item: this.currentItem,\n            })\n          : $(this.options.items, this.element)\n              .not(\".ui-sortable-helper\")\n              .not(\".ui-sortable-placeholder\"),\n        this,\n      ]);\n\n      function addItems() {\n        items.push(this);\n      }\n      for (i = queries.length - 1; i >= 0; i--) {\n        queries[i][0].each(addItems);\n      }\n\n      return $(items);\n    },\n\n    _removeCurrentsFromItems: function () {\n      var list = this.currentItem.find(\":data(\" + this.widgetName + \"-item)\");\n\n      this.items = $.grep(this.items, function (item) {\n        for (var j = 0; j < list.length; j++) {\n          if (list[j] === item.item[0]) {\n            return false;\n          }\n        }\n        return true;\n      });\n    },\n\n    _refreshItems: function (event) {\n      this.items = [];\n      this.containers = [this];\n\n      var i,\n        j,\n        cur,\n        inst,\n        targetData,\n        _queries,\n        item,\n        queriesLength,\n        items = this.items,\n        queries = [\n          [\n            typeof this.options.items === \"function\"\n              ? this.options.items.call(this.element[0], event, {\n                  item: this.currentItem,\n                })\n              : $(this.options.items, this.element),\n            this,\n          ],\n        ],\n        connectWith = this._connectWith();\n\n      //Shouldn't be run the first time through due to massive slow-down\n      if (connectWith && this.ready) {\n        for (i = connectWith.length - 1; i >= 0; i--) {\n          cur = $(connectWith[i], this.document[0]);\n          for (j = cur.length - 1; j >= 0; j--) {\n            inst = $.data(cur[j], this.widgetFullName);\n            if (inst && inst !== this && !inst.options.disabled) {\n              queries.push([\n                typeof inst.options.items === \"function\"\n                  ? inst.options.items.call(inst.element[0], event, {\n                      item: this.currentItem,\n                    })\n                  : $(inst.options.items, inst.element),\n                inst,\n              ]);\n              this.containers.push(inst);\n            }\n          }\n        }\n      }\n\n      for (i = queries.length - 1; i >= 0; i--) {\n        targetData = queries[i][1];\n        _queries = queries[i][0];\n\n        for (j = 0, queriesLength = _queries.length; j < queriesLength; j++) {\n          item = $(_queries[j]);\n\n          // Data for target checking (mouse manager)\n          item.data(this.widgetName + \"-item\", targetData);\n\n          items.push({\n            item: item,\n            instance: targetData,\n            width: 0,\n            height: 0,\n            left: 0,\n            top: 0,\n          });\n        }\n      }\n    },\n\n    _refreshItemPositions: function (fast) {\n      var i, item, t, p;\n\n      for (i = this.items.length - 1; i >= 0; i--) {\n        item = this.items[i];\n\n        //We ignore calculating positions of all connected containers when we're not over them\n        if (\n          this.currentContainer &&\n          item.instance !== this.currentContainer &&\n          item.item[0] !== this.currentItem[0]\n        ) {\n          continue;\n        }\n\n        t = this.options.toleranceElement\n          ? $(this.options.toleranceElement, item.item)\n          : item.item;\n\n        if (!fast) {\n          item.width = t.outerWidth();\n          item.height = t.outerHeight();\n        }\n\n        p = t.offset();\n        item.left = p.left;\n        item.top = p.top;\n      }\n    },\n\n    refreshPositions: function (fast) {\n      // Determine whether items are being displayed horizontally\n      this.floating = this.items.length\n        ? this.options.axis === \"x\" || this._isFloating(this.items[0].item)\n        : false;\n\n      // This has to be redone because due to the item being moved out/into the offsetParent,\n      // the offsetParent's position will change\n      if (this.offsetParent && this.helper) {\n        this.offset.parent = this._getParentOffset();\n      }\n\n      this._refreshItemPositions(fast);\n\n      var i, p;\n\n      if (this.options.custom && this.options.custom.refreshContainers) {\n        this.options.custom.refreshContainers.call(this);\n      } else {\n        for (i = this.containers.length - 1; i >= 0; i--) {\n          p = this.containers[i].element.offset();\n          this.containers[i].containerCache.left = p.left;\n          this.containers[i].containerCache.top = p.top;\n          this.containers[i].containerCache.width =\n            this.containers[i].element.outerWidth();\n          this.containers[i].containerCache.height =\n            this.containers[i].element.outerHeight();\n        }\n      }\n\n      return this;\n    },\n\n    _createPlaceholder: function (that) {\n      that = that || this;\n      var className,\n        nodeName,\n        o = that.options;\n\n      if (!o.placeholder || o.placeholder.constructor === String) {\n        className = o.placeholder;\n        nodeName = that.currentItem[0].nodeName.toLowerCase();\n        o.placeholder = {\n          element: function () {\n            var element = $(\"<\" + nodeName + \">\", that.document[0]);\n\n            that\n              ._addClass(\n                element,\n                \"ui-sortable-placeholder\",\n                className || that.currentItem[0].className,\n              )\n              ._removeClass(element, \"ui-sortable-helper\");\n\n            if (nodeName === \"tbody\") {\n              that._createTrPlaceholder(\n                that.currentItem.find(\"tr\").eq(0),\n                $(\"<tr>\", that.document[0]).appendTo(element),\n              );\n            } else if (nodeName === \"tr\") {\n              that._createTrPlaceholder(that.currentItem, element);\n            } else if (nodeName === \"img\") {\n              element.attr(\"src\", that.currentItem.attr(\"src\"));\n            }\n\n            if (!className) {\n              element.css(\"visibility\", \"hidden\");\n            }\n\n            return element;\n          },\n          update: function (container, p) {\n            // 1. If a className is set as 'placeholder option, we don't force sizes -\n            // the class is responsible for that\n            // 2. The option 'forcePlaceholderSize can be enabled to force it even if a\n            // class name is specified\n            if (className && !o.forcePlaceholderSize) {\n              return;\n            }\n\n            // If the element doesn't have a actual height or width by itself (without\n            // styles coming from a stylesheet), it receives the inline height and width\n            // from the dragged item. Or, if it's a tbody or tr, it's going to have a height\n            // anyway since we're populating them with <td>s above, but they're unlikely to\n            // be the correct height on their own if the row heights are dynamic, so we'll\n            // always assign the height of the dragged item given forcePlaceholderSize\n            // is true.\n            if (\n              !p.height() ||\n              (o.forcePlaceholderSize &&\n                (nodeName === \"tbody\" || nodeName === \"tr\"))\n            ) {\n              p.height(\n                that.currentItem.innerHeight() -\n                  parseInt(that.currentItem.css(\"paddingTop\") || 0, 10) -\n                  parseInt(that.currentItem.css(\"paddingBottom\") || 0, 10),\n              );\n            }\n            if (!p.width()) {\n              p.width(\n                that.currentItem.innerWidth() -\n                  parseInt(that.currentItem.css(\"paddingLeft\") || 0, 10) -\n                  parseInt(that.currentItem.css(\"paddingRight\") || 0, 10),\n              );\n            }\n          },\n        };\n      }\n\n      //Create the placeholder\n      that.placeholder = $(\n        o.placeholder.element.call(that.element, that.currentItem),\n      );\n\n      //Append it after the actual current item\n      that.currentItem.after(that.placeholder);\n\n      //Update the size of the placeholder (TODO: Logic to fuzzy, see line 316/317)\n      o.placeholder.update(that, that.placeholder);\n    },\n\n    _createTrPlaceholder: function (sourceTr, targetTr) {\n      var that = this;\n\n      sourceTr.children().each(function () {\n        $(\"<td>&#160;</td>\", that.document[0])\n          .attr(\"colspan\", $(this).attr(\"colspan\") || 1)\n          .appendTo(targetTr);\n      });\n    },\n\n    _contactContainers: function (event) {\n      var i,\n        j,\n        dist,\n        itemWithLeastDistance,\n        posProperty,\n        sizeProperty,\n        cur,\n        nearBottom,\n        floating,\n        axis,\n        innermostContainer = null,\n        innermostIndex = null;\n\n      // Get innermost container that intersects with item\n      for (i = this.containers.length - 1; i >= 0; i--) {\n        // Never consider a container that's located within the item itself\n        if ($.contains(this.currentItem[0], this.containers[i].element[0])) {\n          continue;\n        }\n\n        if (this._intersectsWith(this.containers[i].containerCache)) {\n          // If we've already found a container and it's more \"inner\" than this, then continue\n          if (\n            innermostContainer &&\n            $.contains(\n              this.containers[i].element[0],\n              innermostContainer.element[0],\n            )\n          ) {\n            continue;\n          }\n\n          innermostContainer = this.containers[i];\n          innermostIndex = i;\n        } else {\n          // container doesn't intersect. trigger \"out\" event if necessary\n          if (this.containers[i].containerCache.over) {\n            this.containers[i]._trigger(\"out\", event, this._uiHash(this));\n            this.containers[i].containerCache.over = 0;\n          }\n        }\n      }\n\n      // If no intersecting containers found, return\n      if (!innermostContainer) {\n        return;\n      }\n\n      // Move the item into the container if it's not there already\n      if (this.containers.length === 1) {\n        if (!this.containers[innermostIndex].containerCache.over) {\n          this.containers[innermostIndex]._trigger(\n            \"over\",\n            event,\n            this._uiHash(this),\n          );\n          this.containers[innermostIndex].containerCache.over = 1;\n        }\n      } else {\n        // When entering a new container, we will find the item with the least distance and\n        // append our item near it\n        dist = 10000;\n        itemWithLeastDistance = null;\n        floating =\n          innermostContainer.floating || this._isFloating(this.currentItem);\n        posProperty = floating ? \"left\" : \"top\";\n        sizeProperty = floating ? \"width\" : \"height\";\n        axis = floating ? \"pageX\" : \"pageY\";\n\n        for (j = this.items.length - 1; j >= 0; j--) {\n          if (\n            !$.contains(\n              this.containers[innermostIndex].element[0],\n              this.items[j].item[0],\n            )\n          ) {\n            continue;\n          }\n          if (this.items[j].item[0] === this.currentItem[0]) {\n            continue;\n          }\n\n          cur = this.items[j].item.offset()[posProperty];\n          nearBottom = false;\n          if (event[axis] - cur > this.items[j][sizeProperty] / 2) {\n            nearBottom = true;\n          }\n\n          if (Math.abs(event[axis] - cur) < dist) {\n            dist = Math.abs(event[axis] - cur);\n            itemWithLeastDistance = this.items[j];\n            this.direction = nearBottom ? \"up\" : \"down\";\n          }\n        }\n\n        //Check if dropOnEmpty is enabled\n        if (!itemWithLeastDistance && !this.options.dropOnEmpty) {\n          return;\n        }\n\n        if (this.currentContainer === this.containers[innermostIndex]) {\n          if (!this.currentContainer.containerCache.over) {\n            this.containers[innermostIndex]._trigger(\n              \"over\",\n              event,\n              this._uiHash(),\n            );\n            this.currentContainer.containerCache.over = 1;\n          }\n          return;\n        }\n\n        if (itemWithLeastDistance) {\n          this._rearrange(event, itemWithLeastDistance, null, true);\n        } else {\n          this._rearrange(\n            event,\n            null,\n            this.containers[innermostIndex].element,\n            true,\n          );\n        }\n        this._trigger(\"change\", event, this._uiHash());\n        this.containers[innermostIndex]._trigger(\n          \"change\",\n          event,\n          this._uiHash(this),\n        );\n        this.currentContainer = this.containers[innermostIndex];\n\n        //Update the placeholder\n        this.options.placeholder.update(\n          this.currentContainer,\n          this.placeholder,\n        );\n\n        //Update scrollParent\n        this.scrollParent = this.placeholder.scrollParent();\n\n        //Update overflowOffset\n        if (\n          this.scrollParent[0] !== this.document[0] &&\n          this.scrollParent[0].tagName !== \"HTML\"\n        ) {\n          this.overflowOffset = this.scrollParent.offset();\n        }\n\n        this.containers[innermostIndex]._trigger(\n          \"over\",\n          event,\n          this._uiHash(this),\n        );\n        this.containers[innermostIndex].containerCache.over = 1;\n      }\n    },\n\n    _createHelper: function (event) {\n      var o = this.options,\n        helper =\n          typeof o.helper === \"function\"\n            ? $(o.helper.apply(this.element[0], [event, this.currentItem]))\n            : o.helper === \"clone\"\n            ? this.currentItem.clone()\n            : this.currentItem;\n\n      //Add the helper to the DOM if that didn't happen already\n      if (!helper.parents(\"body\").length) {\n        this.appendTo[0].appendChild(helper[0]);\n      }\n\n      if (helper[0] === this.currentItem[0]) {\n        this._storedCSS = {\n          width: this.currentItem[0].style.width,\n          height: this.currentItem[0].style.height,\n          position: this.currentItem.css(\"position\"),\n          top: this.currentItem.css(\"top\"),\n          left: this.currentItem.css(\"left\"),\n        };\n      }\n\n      if (!helper[0].style.width || o.forceHelperSize) {\n        helper.width(this.currentItem.width());\n      }\n      if (!helper[0].style.height || o.forceHelperSize) {\n        helper.height(this.currentItem.height());\n      }\n\n      return helper;\n    },\n\n    _adjustOffsetFromHelper: function (obj) {\n      if (typeof obj === \"string\") {\n        obj = obj.split(\" \");\n      }\n      if (Array.isArray(obj)) {\n        obj = { left: +obj[0], top: +obj[1] || 0 };\n      }\n      if (\"left\" in obj) {\n        this.offset.click.left = obj.left + this.margins.left;\n      }\n      if (\"right\" in obj) {\n        this.offset.click.left =\n          this.helperProportions.width - obj.right + this.margins.left;\n      }\n      if (\"top\" in obj) {\n        this.offset.click.top = obj.top + this.margins.top;\n      }\n      if (\"bottom\" in obj) {\n        this.offset.click.top =\n          this.helperProportions.height - obj.bottom + this.margins.top;\n      }\n    },\n\n    _getParentOffset: function () {\n      //Get the offsetParent and cache its position\n      this.offsetParent = this.helper.offsetParent();\n      var po = this.offsetParent.offset();\n\n      // This is a special case where we need to modify a offset calculated on start, since the\n      // following happened:\n      // 1. The position of the helper is absolute, so it's position is calculated based on the\n      // next positioned parent\n      // 2. The actual offset parent is a child of the scroll parent, and the scroll parent isn't\n      // the document, which means that the scroll is included in the initial calculation of the\n      // offset of the parent, and never recalculated upon drag\n      if (\n        this.cssPosition === \"absolute\" &&\n        this.scrollParent[0] !== this.document[0] &&\n        $.contains(this.scrollParent[0], this.offsetParent[0])\n      ) {\n        po.left += this.scrollParent.scrollLeft();\n        po.top += this.scrollParent.scrollTop();\n      }\n\n      // This needs to be actually done for all browsers, since pageX/pageY includes this\n      // information with an ugly IE fix\n      if (\n        this.offsetParent[0] === this.document[0].body ||\n        (this.offsetParent[0].tagName &&\n          this.offsetParent[0].tagName.toLowerCase() === \"html\" &&\n          $.ui.ie)\n      ) {\n        po = { top: 0, left: 0 };\n      }\n\n      return {\n        top:\n          po.top + (parseInt(this.offsetParent.css(\"borderTopWidth\"), 10) || 0),\n        left:\n          po.left +\n          (parseInt(this.offsetParent.css(\"borderLeftWidth\"), 10) || 0),\n      };\n    },\n\n    _getRelativeOffset: function () {\n      if (this.cssPosition === \"relative\") {\n        var p = this.currentItem.position();\n        return {\n          top:\n            p.top -\n            (parseInt(this.helper.css(\"top\"), 10) || 0) +\n            this.scrollParent.scrollTop(),\n          left:\n            p.left -\n            (parseInt(this.helper.css(\"left\"), 10) || 0) +\n            this.scrollParent.scrollLeft(),\n        };\n      } else {\n        return { top: 0, left: 0 };\n      }\n    },\n\n    _cacheMargins: function () {\n      this.margins = {\n        left: parseInt(this.currentItem.css(\"marginLeft\"), 10) || 0,\n        top: parseInt(this.currentItem.css(\"marginTop\"), 10) || 0,\n      };\n    },\n\n    _cacheHelperProportions: function () {\n      this.helperProportions = {\n        width: this.helper.outerWidth(),\n        height: this.helper.outerHeight(),\n      };\n    },\n\n    _setContainment: function () {\n      var ce,\n        co,\n        over,\n        o = this.options;\n      if (o.containment === \"parent\") {\n        o.containment = this.helper[0].parentNode;\n      }\n      if (o.containment === \"document\" || o.containment === \"window\") {\n        this.containment = [\n          0 - this.offset.relative.left - this.offset.parent.left,\n          0 - this.offset.relative.top - this.offset.parent.top,\n          o.containment === \"document\"\n            ? this.document.width()\n            : this.window.width() -\n              this.helperProportions.width -\n              this.margins.left,\n          (o.containment === \"document\"\n            ? this.document.height() || document.body.parentNode.scrollHeight\n            : this.window.height() ||\n              this.document[0].body.parentNode.scrollHeight) -\n            this.helperProportions.height -\n            this.margins.top,\n        ];\n      }\n\n      if (!/^(document|window|parent)$/.test(o.containment)) {\n        ce = $(o.containment)[0];\n        co = $(o.containment).offset();\n        over = $(ce).css(\"overflow\") !== \"hidden\";\n\n        this.containment = [\n          co.left +\n            (parseInt($(ce).css(\"borderLeftWidth\"), 10) || 0) +\n            (parseInt($(ce).css(\"paddingLeft\"), 10) || 0) -\n            this.margins.left,\n          co.top +\n            (parseInt($(ce).css(\"borderTopWidth\"), 10) || 0) +\n            (parseInt($(ce).css(\"paddingTop\"), 10) || 0) -\n            this.margins.top,\n          co.left +\n            (over ? Math.max(ce.scrollWidth, ce.offsetWidth) : ce.offsetWidth) -\n            (parseInt($(ce).css(\"borderLeftWidth\"), 10) || 0) -\n            (parseInt($(ce).css(\"paddingRight\"), 10) || 0) -\n            this.helperProportions.width -\n            this.margins.left,\n          co.top +\n            (over\n              ? Math.max(ce.scrollHeight, ce.offsetHeight)\n              : ce.offsetHeight) -\n            (parseInt($(ce).css(\"borderTopWidth\"), 10) || 0) -\n            (parseInt($(ce).css(\"paddingBottom\"), 10) || 0) -\n            this.helperProportions.height -\n            this.margins.top,\n        ];\n      }\n    },\n\n    _convertPositionTo: function (d, pos) {\n      if (!pos) {\n        pos = this.position;\n      }\n      var mod = d === \"absolute\" ? 1 : -1,\n        scroll =\n          this.cssPosition === \"absolute\" &&\n          !(\n            this.scrollParent[0] !== this.document[0] &&\n            $.contains(this.scrollParent[0], this.offsetParent[0])\n          )\n            ? this.offsetParent\n            : this.scrollParent,\n        scrollIsRootNode = /(html|body)/i.test(scroll[0].tagName);\n\n      return {\n        top:\n          // The absolute mouse position\n          pos.top +\n          // Only for relative positioned nodes: Relative offset from element to offset parent\n          this.offset.relative.top * mod +\n          // The offsetParent's offset without borders (offset + border)\n          this.offset.parent.top * mod -\n          (this.cssPosition === \"fixed\"\n            ? -this.scrollParent.scrollTop()\n            : scrollIsRootNode\n            ? 0\n            : scroll.scrollTop()) *\n            mod,\n        left:\n          // The absolute mouse position\n          pos.left +\n          // Only for relative positioned nodes: Relative offset from element to offset parent\n          this.offset.relative.left * mod +\n          // The offsetParent's offset without borders (offset + border)\n          this.offset.parent.left * mod -\n          (this.cssPosition === \"fixed\"\n            ? -this.scrollParent.scrollLeft()\n            : scrollIsRootNode\n            ? 0\n            : scroll.scrollLeft()) *\n            mod,\n      };\n    },\n\n    _generatePosition: function (event) {\n      var top,\n        left,\n        o = this.options,\n        pageX = event.pageX,\n        pageY = event.pageY,\n        scroll =\n          this.cssPosition === \"absolute\" &&\n          !(\n            this.scrollParent[0] !== this.document[0] &&\n            $.contains(this.scrollParent[0], this.offsetParent[0])\n          )\n            ? this.offsetParent\n            : this.scrollParent,\n        scrollIsRootNode = /(html|body)/i.test(scroll[0].tagName);\n\n      // This is another very weird special case that only happens for relative elements:\n      // 1. If the css position is relative\n      // 2. and the scroll parent is the document or similar to the offset parent\n      // we have to refresh the relative offset during the scroll so there are no jumps\n      if (\n        this.cssPosition === \"relative\" &&\n        !(\n          this.scrollParent[0] !== this.document[0] &&\n          this.scrollParent[0] !== this.offsetParent[0]\n        )\n      ) {\n        this.offset.relative = this._getRelativeOffset();\n      }\n\n      /*\n       * - Position constraining -\n       * Constrain the position to a mix of grid, containment.\n       */\n\n      if (this.originalPosition) {\n        //If we are not dragging yet, we won't check for options\n\n        if (this.containment) {\n          if (event.pageX - this.offset.click.left < this.containment[0]) {\n            pageX = this.containment[0] + this.offset.click.left;\n          }\n          if (event.pageY - this.offset.click.top < this.containment[1]) {\n            pageY = this.containment[1] + this.offset.click.top;\n          }\n          if (event.pageX - this.offset.click.left > this.containment[2]) {\n            pageX = this.containment[2] + this.offset.click.left;\n          }\n          if (event.pageY - this.offset.click.top > this.containment[3]) {\n            pageY = this.containment[3] + this.offset.click.top;\n          }\n        }\n\n        if (o.grid) {\n          top =\n            this.originalPageY +\n            Math.round((pageY - this.originalPageY) / o.grid[1]) * o.grid[1];\n          pageY = this.containment\n            ? top - this.offset.click.top >= this.containment[1] &&\n              top - this.offset.click.top <= this.containment[3]\n              ? top\n              : top - this.offset.click.top >= this.containment[1]\n              ? top - o.grid[1]\n              : top + o.grid[1]\n            : top;\n\n          left =\n            this.originalPageX +\n            Math.round((pageX - this.originalPageX) / o.grid[0]) * o.grid[0];\n          pageX = this.containment\n            ? left - this.offset.click.left >= this.containment[0] &&\n              left - this.offset.click.left <= this.containment[2]\n              ? left\n              : left - this.offset.click.left >= this.containment[0]\n              ? left - o.grid[0]\n              : left + o.grid[0]\n            : left;\n        }\n      }\n\n      return {\n        top:\n          // The absolute mouse position\n          pageY -\n          // Click offset (relative to the element)\n          this.offset.click.top -\n          // Only for relative positioned nodes: Relative offset from element to offset parent\n          this.offset.relative.top -\n          // The offsetParent's offset without borders (offset + border)\n          this.offset.parent.top +\n          (this.cssPosition === \"fixed\"\n            ? -this.scrollParent.scrollTop()\n            : scrollIsRootNode\n            ? 0\n            : scroll.scrollTop()),\n        left:\n          // The absolute mouse position\n          pageX -\n          // Click offset (relative to the element)\n          this.offset.click.left -\n          // Only for relative positioned nodes: Relative offset from element to offset parent\n          this.offset.relative.left -\n          // The offsetParent's offset without borders (offset + border)\n          this.offset.parent.left +\n          (this.cssPosition === \"fixed\"\n            ? -this.scrollParent.scrollLeft()\n            : scrollIsRootNode\n            ? 0\n            : scroll.scrollLeft()),\n      };\n    },\n\n    _rearrange: function (event, i, a, hardRefresh) {\n      if (a) {\n        a[0].appendChild(this.placeholder[0]);\n      } else {\n        i.item[0].parentNode.insertBefore(\n          this.placeholder[0],\n          this.direction === \"down\" ? i.item[0] : i.item[0].nextSibling,\n        );\n      }\n\n      //Various things done here to improve the performance:\n      // 1. we create a setTimeout, that calls refreshPositions\n      // 2. on the instance, we have a counter variable, that get's higher after every append\n      // 3. on the local scope, we copy the counter variable, and check in the timeout,\n      // if it's still the same\n      // 4. this lets only the last addition to the timeout stack through\n      this.counter = this.counter ? ++this.counter : 1;\n      var counter = this.counter;\n\n      this._delay(function () {\n        if (counter === this.counter) {\n          //Precompute after each DOM insertion, NOT on mousemove\n          this.refreshPositions(!hardRefresh);\n        }\n      });\n    },\n\n    _clear: function (event, noPropagation) {\n      this.reverting = false;\n\n      // We delay all events that have to be triggered to after the point where the placeholder\n      // has been removed and everything else normalized again\n      var i,\n        delayedTriggers = [];\n\n      // We first have to update the dom position of the actual currentItem\n      // Note: don't do it if the current item is already removed (by a user), or it gets\n      // reappended (see #4088)\n      if (!this._noFinalSort && this.currentItem.parent().length) {\n        this.placeholder.before(this.currentItem);\n      }\n      this._noFinalSort = null;\n\n      if (this.helper[0] === this.currentItem[0]) {\n        for (i in this._storedCSS) {\n          if (\n            this._storedCSS[i] === \"auto\" ||\n            this._storedCSS[i] === \"static\"\n          ) {\n            this._storedCSS[i] = \"\";\n          }\n        }\n        this.currentItem.css(this._storedCSS);\n        this._removeClass(this.currentItem, \"ui-sortable-helper\");\n      } else {\n        this.currentItem.show();\n      }\n\n      if (this.fromOutside && !noPropagation) {\n        delayedTriggers.push(function (event) {\n          this._trigger(\"receive\", event, this._uiHash(this.fromOutside));\n        });\n      }\n      if (\n        (this.fromOutside ||\n          this.domPosition.prev !==\n            this.currentItem.prev().not(\".ui-sortable-helper\")[0] ||\n          this.domPosition.parent !== this.currentItem.parent()[0]) &&\n        !noPropagation\n      ) {\n        // Trigger update callback if the DOM position has changed\n        delayedTriggers.push(function (event) {\n          this._trigger(\"update\", event, this._uiHash());\n        });\n      }\n\n      // Check if the items Container has Changed and trigger appropriate\n      // events.\n      if (this !== this.currentContainer) {\n        if (!noPropagation) {\n          delayedTriggers.push(function (event) {\n            this._trigger(\"remove\", event, this._uiHash());\n          });\n          delayedTriggers.push(\n            function (c) {\n              return function (event) {\n                c._trigger(\"receive\", event, this._uiHash(this));\n              };\n            }.call(this, this.currentContainer),\n          );\n          delayedTriggers.push(\n            function (c) {\n              return function (event) {\n                c._trigger(\"update\", event, this._uiHash(this));\n              };\n            }.call(this, this.currentContainer),\n          );\n        }\n      }\n\n      //Post events to containers\n      function delayEvent(type, instance, container) {\n        return function (event) {\n          container._trigger(type, event, instance._uiHash(instance));\n        };\n      }\n      for (i = this.containers.length - 1; i >= 0; i--) {\n        if (!noPropagation) {\n          delayedTriggers.push(\n            delayEvent(\"deactivate\", this, this.containers[i]),\n          );\n        }\n        if (this.containers[i].containerCache.over) {\n          delayedTriggers.push(delayEvent(\"out\", this, this.containers[i]));\n          this.containers[i].containerCache.over = 0;\n        }\n      }\n\n      //Do what was originally in plugins\n      if (this.storedCursor) {\n        this.document.find(\"body\").css(\"cursor\", this.storedCursor);\n        this.storedStylesheet.remove();\n      }\n      if (this._storedOpacity) {\n        this.helper.css(\"opacity\", this._storedOpacity);\n      }\n      if (this._storedZIndex) {\n        this.helper.css(\n          \"zIndex\",\n          this._storedZIndex === \"auto\" ? \"\" : this._storedZIndex,\n        );\n      }\n\n      this.dragging = false;\n\n      if (!noPropagation) {\n        this._trigger(\"beforeStop\", event, this._uiHash());\n      }\n\n      //$(this.placeholder[0]).remove(); would have been the jQuery way - unfortunately,\n      // it unbinds ALL events from the original node!\n      this.placeholder[0].parentNode.removeChild(this.placeholder[0]);\n\n      if (!this.cancelHelperRemoval) {\n        if (this.helper[0] !== this.currentItem[0]) {\n          this.helper.remove();\n        }\n        this.helper = null;\n      }\n\n      if (!noPropagation) {\n        for (i = 0; i < delayedTriggers.length; i++) {\n          // Trigger all delayed events\n          delayedTriggers[i].call(this, event);\n        }\n        this._trigger(\"stop\", event, this._uiHash());\n      }\n\n      this.fromOutside = false;\n      return !this.cancelHelperRemoval;\n    },\n\n    _trigger: function () {\n      if ($.Widget.prototype._trigger.apply(this, arguments) === false) {\n        this.cancel();\n      }\n    },\n\n    _uiHash: function (_inst) {\n      var inst = _inst || this;\n      return {\n        helper: inst.helper,\n        placeholder: inst.placeholder || $([]),\n        position: inst.position,\n        originalPosition: inst.originalPosition,\n        offset: inst.positionAbs,\n        item: inst.currentItem,\n        sender: _inst ? _inst.element : null,\n      };\n    },\n  });\n\n  /*!\n   * jQuery UI Accordion 1.13.2\n   * http://jqueryui.com\n   *\n   * Copyright jQuery Foundation and other contributors\n   * Released under the MIT license.\n   * http://jquery.org/license\n   */\n\n  //>>label: Accordion\n  //>>group: Widgets\n  /* eslint-disable max-len */\n  //>>description: Displays collapsible content panels for presenting information in a limited amount of space.\n  /* eslint-enable max-len */\n  //>>docs: http://api.jqueryui.com/accordion/\n  //>>demos: http://jqueryui.com/accordion/\n  //>>css.structure: ../../themes/base/core.css\n  //>>css.structure: ../../themes/base/accordion.css\n  //>>css.theme: ../../themes/base/theme.css\n\n  var widgetsAccordion = $.widget(\"ui.accordion\", {\n    version: \"1.13.2\",\n    options: {\n      active: 0,\n      animate: {},\n      classes: {\n        \"ui-accordion-header\": \"ui-corner-top\",\n        \"ui-accordion-header-collapsed\": \"ui-corner-all\",\n        \"ui-accordion-content\": \"ui-corner-bottom\",\n      },\n      collapsible: false,\n      event: \"click\",\n      header: function (elem) {\n        return elem\n          .find(\"> li > :first-child\")\n          .add(elem.find(\"> :not(li)\").even());\n      },\n      heightStyle: \"auto\",\n      icons: {\n        activeHeader: \"ui-icon-triangle-1-s\",\n        header: \"ui-icon-triangle-1-e\",\n      },\n\n      // Callbacks\n      activate: null,\n      beforeActivate: null,\n    },\n\n    hideProps: {\n      borderTopWidth: \"hide\",\n      borderBottomWidth: \"hide\",\n      paddingTop: \"hide\",\n      paddingBottom: \"hide\",\n      height: \"hide\",\n    },\n\n    showProps: {\n      borderTopWidth: \"show\",\n      borderBottomWidth: \"show\",\n      paddingTop: \"show\",\n      paddingBottom: \"show\",\n      height: \"show\",\n    },\n\n    _create: function () {\n      var options = this.options;\n\n      this.prevShow = this.prevHide = $();\n      this._addClass(\"ui-accordion\", \"ui-widget ui-helper-reset\");\n      this.element.attr(\"role\", \"tablist\");\n\n      // Don't allow collapsible: false and active: false / null\n      if (\n        !options.collapsible &&\n        (options.active === false || options.active == null)\n      ) {\n        options.active = 0;\n      }\n\n      this._processPanels();\n\n      // handle negative values\n      if (options.active < 0) {\n        options.active += this.headers.length;\n      }\n      this._refresh();\n    },\n\n    _getCreateEventData: function () {\n      return {\n        header: this.active,\n        panel: !this.active.length ? $() : this.active.next(),\n      };\n    },\n\n    _createIcons: function () {\n      var icon,\n        children,\n        icons = this.options.icons;\n\n      if (icons) {\n        icon = $(\"<span>\");\n        this._addClass(\n          icon,\n          \"ui-accordion-header-icon\",\n          \"ui-icon \" + icons.header,\n        );\n        icon.prependTo(this.headers);\n        children = this.active.children(\".ui-accordion-header-icon\");\n        this._removeClass(children, icons.header)\n          ._addClass(children, null, icons.activeHeader)\n          ._addClass(this.headers, \"ui-accordion-icons\");\n      }\n    },\n\n    _destroyIcons: function () {\n      this._removeClass(this.headers, \"ui-accordion-icons\");\n      this.headers.children(\".ui-accordion-header-icon\").remove();\n    },\n\n    _destroy: function () {\n      var contents;\n\n      // Clean up main element\n      this.element.removeAttr(\"role\");\n\n      // Clean up headers\n      this.headers\n        .removeAttr(\"role aria-expanded aria-selected aria-controls tabIndex\")\n        .removeUniqueId();\n\n      this._destroyIcons();\n\n      // Clean up content panels\n      contents = this.headers\n        .next()\n        .css(\"display\", \"\")\n        .removeAttr(\"role aria-hidden aria-labelledby\")\n        .removeUniqueId();\n\n      if (this.options.heightStyle !== \"content\") {\n        contents.css(\"height\", \"\");\n      }\n    },\n\n    _setOption: function (key, value) {\n      if (key === \"active\") {\n        // _activate() will handle invalid values and update this.options\n        this._activate(value);\n        return;\n      }\n\n      if (key === \"event\") {\n        if (this.options.event) {\n          this._off(this.headers, this.options.event);\n        }\n        this._setupEvents(value);\n      }\n\n      this._super(key, value);\n\n      // Setting collapsible: false while collapsed; open first panel\n      if (key === \"collapsible\" && !value && this.options.active === false) {\n        this._activate(0);\n      }\n\n      if (key === \"icons\") {\n        this._destroyIcons();\n        if (value) {\n          this._createIcons();\n        }\n      }\n    },\n\n    _setOptionDisabled: function (value) {\n      this._super(value);\n\n      this.element.attr(\"aria-disabled\", value);\n\n      // Support: IE8 Only\n      // #5332 / #6059 - opacity doesn't cascade to positioned elements in IE\n      // so we need to add the disabled class to the headers and panels\n      this._toggleClass(null, \"ui-state-disabled\", !!value);\n      this._toggleClass(\n        this.headers.add(this.headers.next()),\n        null,\n        \"ui-state-disabled\",\n        !!value,\n      );\n    },\n\n    _keydown: function (event) {\n      if (event.altKey || event.ctrlKey) {\n        return;\n      }\n\n      var keyCode = $.ui.keyCode,\n        length = this.headers.length,\n        currentIndex = this.headers.index(event.target),\n        toFocus = false;\n\n      switch (event.keyCode) {\n        case keyCode.RIGHT:\n        case keyCode.DOWN:\n          toFocus = this.headers[(currentIndex + 1) % length];\n          break;\n        case keyCode.LEFT:\n        case keyCode.UP:\n          toFocus = this.headers[(currentIndex - 1 + length) % length];\n          break;\n        case keyCode.SPACE:\n        case keyCode.ENTER:\n          this._eventHandler(event);\n          break;\n        case keyCode.HOME:\n          toFocus = this.headers[0];\n          break;\n        case keyCode.END:\n          toFocus = this.headers[length - 1];\n          break;\n      }\n\n      if (toFocus) {\n        $(event.target).attr(\"tabIndex\", -1);\n        $(toFocus).attr(\"tabIndex\", 0);\n        $(toFocus).trigger(\"focus\");\n        event.preventDefault();\n      }\n    },\n\n    _panelKeyDown: function (event) {\n      if (event.keyCode === $.ui.keyCode.UP && event.ctrlKey) {\n        $(event.currentTarget).prev().trigger(\"focus\");\n      }\n    },\n\n    refresh: function () {\n      var options = this.options;\n      this._processPanels();\n\n      // Was collapsed or no panel\n      if (\n        (options.active === false && options.collapsible === true) ||\n        !this.headers.length\n      ) {\n        options.active = false;\n        this.active = $();\n\n        // active false only when collapsible is true\n      } else if (options.active === false) {\n        this._activate(0);\n\n        // was active, but active panel is gone\n      } else if (\n        this.active.length &&\n        !$.contains(this.element[0], this.active[0])\n      ) {\n        // all remaining panel are disabled\n        if (\n          this.headers.length === this.headers.find(\".ui-state-disabled\").length\n        ) {\n          options.active = false;\n          this.active = $();\n\n          // activate previous panel\n        } else {\n          this._activate(Math.max(0, options.active - 1));\n        }\n\n        // was active, active panel still exists\n      } else {\n        // make sure active index is correct\n        options.active = this.headers.index(this.active);\n      }\n\n      this._destroyIcons();\n\n      this._refresh();\n    },\n\n    _processPanels: function () {\n      var prevHeaders = this.headers,\n        prevPanels = this.panels;\n\n      if (typeof this.options.header === \"function\") {\n        this.headers = this.options.header(this.element);\n      } else {\n        this.headers = this.element.find(this.options.header);\n      }\n      this._addClass(\n        this.headers,\n        \"ui-accordion-header ui-accordion-header-collapsed\",\n        \"ui-state-default\",\n      );\n\n      this.panels = this.headers\n        .next()\n        .filter(\":not(.ui-accordion-content-active)\")\n        .hide();\n      this._addClass(\n        this.panels,\n        \"ui-accordion-content\",\n        \"ui-helper-reset ui-widget-content\",\n      );\n\n      // Avoid memory leaks (#10056)\n      if (prevPanels) {\n        this._off(prevHeaders.not(this.headers));\n        this._off(prevPanels.not(this.panels));\n      }\n    },\n\n    _refresh: function () {\n      var maxHeight,\n        options = this.options,\n        heightStyle = options.heightStyle,\n        parent = this.element.parent();\n\n      this.active = this._findActive(options.active);\n      this._addClass(\n        this.active,\n        \"ui-accordion-header-active\",\n        \"ui-state-active\",\n      )._removeClass(this.active, \"ui-accordion-header-collapsed\");\n      this._addClass(this.active.next(), \"ui-accordion-content-active\");\n      this.active.next().show();\n\n      this.headers\n        .attr(\"role\", \"tab\")\n        .each(function () {\n          var header = $(this),\n            headerId = header.uniqueId().attr(\"id\"),\n            panel = header.next(),\n            panelId = panel.uniqueId().attr(\"id\");\n          header.attr(\"aria-controls\", panelId);\n          panel.attr(\"aria-labelledby\", headerId);\n        })\n        .next()\n        .attr(\"role\", \"tabpanel\");\n\n      this.headers\n        .not(this.active)\n        .attr({\n          \"aria-selected\": \"false\",\n          \"aria-expanded\": \"false\",\n          tabIndex: -1,\n        })\n        .next()\n        .attr({\n          \"aria-hidden\": \"true\",\n        })\n        .hide();\n\n      // Make sure at least one header is in the tab order\n      if (!this.active.length) {\n        this.headers.eq(0).attr(\"tabIndex\", 0);\n      } else {\n        this.active\n          .attr({\n            \"aria-selected\": \"true\",\n            \"aria-expanded\": \"true\",\n            tabIndex: 0,\n          })\n          .next()\n          .attr({\n            \"aria-hidden\": \"false\",\n          });\n      }\n\n      this._createIcons();\n\n      this._setupEvents(options.event);\n\n      if (heightStyle === \"fill\") {\n        maxHeight = parent.height();\n        this.element.siblings(\":visible\").each(function () {\n          var elem = $(this),\n            position = elem.css(\"position\");\n\n          if (position === \"absolute\" || position === \"fixed\") {\n            return;\n          }\n          maxHeight -= elem.outerHeight(true);\n        });\n\n        this.headers.each(function () {\n          maxHeight -= $(this).outerHeight(true);\n        });\n\n        this.headers\n          .next()\n          .each(function () {\n            $(this).height(\n              Math.max(0, maxHeight - $(this).innerHeight() + $(this).height()),\n            );\n          })\n          .css(\"overflow\", \"auto\");\n      } else if (heightStyle === \"auto\") {\n        maxHeight = 0;\n        this.headers\n          .next()\n          .each(function () {\n            var isVisible = $(this).is(\":visible\");\n            if (!isVisible) {\n              $(this).show();\n            }\n            maxHeight = Math.max(maxHeight, $(this).css(\"height\", \"\").height());\n            if (!isVisible) {\n              $(this).hide();\n            }\n          })\n          .height(maxHeight);\n      }\n    },\n\n    _activate: function (index) {\n      var active = this._findActive(index)[0];\n\n      // Trying to activate the already active panel\n      if (active === this.active[0]) {\n        return;\n      }\n\n      // Trying to collapse, simulate a click on the currently active header\n      active = active || this.active[0];\n\n      this._eventHandler({\n        target: active,\n        currentTarget: active,\n        preventDefault: $.noop,\n      });\n    },\n\n    _findActive: function (selector) {\n      return typeof selector === \"number\" ? this.headers.eq(selector) : $();\n    },\n\n    _setupEvents: function (event) {\n      var events = {\n        keydown: \"_keydown\",\n      };\n      if (event) {\n        $.each(event.split(\" \"), function (index, eventName) {\n          events[eventName] = \"_eventHandler\";\n        });\n      }\n\n      this._off(this.headers.add(this.headers.next()));\n      this._on(this.headers, events);\n      this._on(this.headers.next(), { keydown: \"_panelKeyDown\" });\n      this._hoverable(this.headers);\n      this._focusable(this.headers);\n    },\n\n    _eventHandler: function (event) {\n      var activeChildren,\n        clickedChildren,\n        options = this.options,\n        active = this.active,\n        clicked = $(event.currentTarget),\n        clickedIsActive = clicked[0] === active[0],\n        collapsing = clickedIsActive && options.collapsible,\n        toShow = collapsing ? $() : clicked.next(),\n        toHide = active.next(),\n        eventData = {\n          oldHeader: active,\n          oldPanel: toHide,\n          newHeader: collapsing ? $() : clicked,\n          newPanel: toShow,\n        };\n\n      event.preventDefault();\n\n      if (\n        // click on active header, but not collapsible\n        (clickedIsActive && !options.collapsible) ||\n        // allow canceling activation\n        this._trigger(\"beforeActivate\", event, eventData) === false\n      ) {\n        return;\n      }\n\n      options.active = collapsing ? false : this.headers.index(clicked);\n\n      // When the call to ._toggle() comes after the class changes\n      // it causes a very odd bug in IE 8 (see #6720)\n      this.active = clickedIsActive ? $() : clicked;\n      this._toggle(eventData);\n\n      // Switch classes\n      // corner classes on the previously active header stay after the animation\n      this._removeClass(\n        active,\n        \"ui-accordion-header-active\",\n        \"ui-state-active\",\n      );\n      if (options.icons) {\n        activeChildren = active.children(\".ui-accordion-header-icon\");\n        this._removeClass(\n          activeChildren,\n          null,\n          options.icons.activeHeader,\n        )._addClass(activeChildren, null, options.icons.header);\n      }\n\n      if (!clickedIsActive) {\n        this._removeClass(clicked, \"ui-accordion-header-collapsed\")._addClass(\n          clicked,\n          \"ui-accordion-header-active\",\n          \"ui-state-active\",\n        );\n        if (options.icons) {\n          clickedChildren = clicked.children(\".ui-accordion-header-icon\");\n          this._removeClass(\n            clickedChildren,\n            null,\n            options.icons.header,\n          )._addClass(clickedChildren, null, options.icons.activeHeader);\n        }\n\n        this._addClass(clicked.next(), \"ui-accordion-content-active\");\n      }\n    },\n\n    _toggle: function (data) {\n      var toShow = data.newPanel,\n        toHide = this.prevShow.length ? this.prevShow : data.oldPanel;\n\n      // Handle activating a panel during the animation for another activation\n      this.prevShow.add(this.prevHide).stop(true, true);\n      this.prevShow = toShow;\n      this.prevHide = toHide;\n\n      if (this.options.animate) {\n        this._animate(toShow, toHide, data);\n      } else {\n        toHide.hide();\n        toShow.show();\n        this._toggleComplete(data);\n      }\n\n      toHide.attr({\n        \"aria-hidden\": \"true\",\n      });\n      toHide.prev().attr({\n        \"aria-selected\": \"false\",\n        \"aria-expanded\": \"false\",\n      });\n\n      // if we're switching panels, remove the old header from the tab order\n      // if we're opening from collapsed state, remove the previous header from the tab order\n      // if we're collapsing, then keep the collapsing header in the tab order\n      if (toShow.length && toHide.length) {\n        toHide.prev().attr({\n          tabIndex: -1,\n          \"aria-expanded\": \"false\",\n        });\n      } else if (toShow.length) {\n        this.headers\n          .filter(function () {\n            return parseInt($(this).attr(\"tabIndex\"), 10) === 0;\n          })\n          .attr(\"tabIndex\", -1);\n      }\n\n      toShow.attr(\"aria-hidden\", \"false\").prev().attr({\n        \"aria-selected\": \"true\",\n        \"aria-expanded\": \"true\",\n        tabIndex: 0,\n      });\n    },\n\n    _animate: function (toShow, toHide, data) {\n      var total,\n        easing,\n        duration,\n        that = this,\n        adjust = 0,\n        boxSizing = toShow.css(\"box-sizing\"),\n        down =\n          toShow.length && (!toHide.length || toShow.index() < toHide.index()),\n        animate = this.options.animate || {},\n        options = (down && animate.down) || animate,\n        complete = function () {\n          that._toggleComplete(data);\n        };\n\n      if (typeof options === \"number\") {\n        duration = options;\n      }\n      if (typeof options === \"string\") {\n        easing = options;\n      }\n\n      // fall back from options to animation in case of partial down settings\n      easing = easing || options.easing || animate.easing;\n      duration = duration || options.duration || animate.duration;\n\n      if (!toHide.length) {\n        return toShow.animate(this.showProps, duration, easing, complete);\n      }\n      if (!toShow.length) {\n        return toHide.animate(this.hideProps, duration, easing, complete);\n      }\n\n      total = toShow.show().outerHeight();\n      toHide.animate(this.hideProps, {\n        duration: duration,\n        easing: easing,\n        step: function (now, fx) {\n          fx.now = Math.round(now);\n        },\n      });\n      toShow.hide().animate(this.showProps, {\n        duration: duration,\n        easing: easing,\n        complete: complete,\n        step: function (now, fx) {\n          fx.now = Math.round(now);\n          if (fx.prop !== \"height\") {\n            if (boxSizing === \"content-box\") {\n              adjust += fx.now;\n            }\n          } else if (that.options.heightStyle !== \"content\") {\n            fx.now = Math.round(total - toHide.outerHeight() - adjust);\n            adjust = 0;\n          }\n        },\n      });\n    },\n\n    _toggleComplete: function (data) {\n      var toHide = data.oldPanel,\n        prev = toHide.prev();\n\n      this._removeClass(toHide, \"ui-accordion-content-active\");\n      this._removeClass(prev, \"ui-accordion-header-active\")._addClass(\n        prev,\n        \"ui-accordion-header-collapsed\",\n      );\n\n      // Work around for rendering bug in IE (#5421)\n      if (toHide.length) {\n        toHide.parent()[0].className = toHide.parent()[0].className;\n      }\n      this._trigger(\"activate\", null, data);\n    },\n  });\n\n  /*!\n   * jQuery UI Menu 1.13.2\n   * http://jqueryui.com\n   *\n   * Copyright jQuery Foundation and other contributors\n   * Released under the MIT license.\n   * http://jquery.org/license\n   */\n\n  //>>label: Menu\n  //>>group: Widgets\n  //>>description: Creates nestable menus.\n  //>>docs: http://api.jqueryui.com/menu/\n  //>>demos: http://jqueryui.com/menu/\n  //>>css.structure: ../../themes/base/core.css\n  //>>css.structure: ../../themes/base/menu.css\n  //>>css.theme: ../../themes/base/theme.css\n\n  var widgetsMenu = $.widget(\"ui.menu\", {\n    version: \"1.13.2\",\n    defaultElement: \"<ul>\",\n    delay: 300,\n    options: {\n      icons: {\n        submenu: \"ui-icon-caret-1-e\",\n      },\n      items: \"> *\",\n      menus: \"ul\",\n      position: {\n        my: \"left top\",\n        at: \"right top\",\n      },\n      role: \"menu\",\n\n      // Callbacks\n      blur: null,\n      focus: null,\n      select: null,\n    },\n\n    _create: function () {\n      this.activeMenu = this.element;\n\n      // Flag used to prevent firing of the click handler\n      // as the event bubbles up through nested menus\n      this.mouseHandled = false;\n      this.lastMousePosition = { x: null, y: null };\n      this.element.uniqueId().attr({\n        role: this.options.role,\n        tabIndex: 0,\n      });\n\n      this._addClass(\"ui-menu\", \"ui-widget ui-widget-content\");\n      this._on({\n        // Prevent focus from sticking to links inside menu after clicking\n        // them (focus should always stay on UL during navigation).\n        \"mousedown .ui-menu-item\": function (event) {\n          event.preventDefault();\n\n          this._activateItem(event);\n        },\n        \"click .ui-menu-item\": function (event) {\n          var target = $(event.target);\n          var active = $($.ui.safeActiveElement(this.document[0]));\n          if (!this.mouseHandled && target.not(\".ui-state-disabled\").length) {\n            this.select(event);\n\n            // Only set the mouseHandled flag if the event will bubble, see #9469.\n            if (!event.isPropagationStopped()) {\n              this.mouseHandled = true;\n            }\n\n            // Open submenu on click\n            if (target.has(\".ui-menu\").length) {\n              this.expand(event);\n            } else if (\n              !this.element.is(\":focus\") &&\n              active.closest(\".ui-menu\").length\n            ) {\n              // Redirect focus to the menu\n              this.element.trigger(\"focus\", [true]);\n\n              // If the active item is on the top level, let it stay active.\n              // Otherwise, blur the active item since it is no longer visible.\n              if (this.active && this.active.parents(\".ui-menu\").length === 1) {\n                clearTimeout(this.timer);\n              }\n            }\n          }\n        },\n        \"mouseenter .ui-menu-item\": \"_activateItem\",\n        \"mousemove .ui-menu-item\": \"_activateItem\",\n        mouseleave: \"collapseAll\",\n        \"mouseleave .ui-menu\": \"collapseAll\",\n        focus: function (event, keepActiveItem) {\n          // If there's already an active item, keep it active\n          // If not, activate the first item\n          var item = this.active || this._menuItems().first();\n\n          if (!keepActiveItem) {\n            this.focus(event, item);\n          }\n        },\n        blur: function (event) {\n          this._delay(function () {\n            var notContained = !$.contains(\n              this.element[0],\n              $.ui.safeActiveElement(this.document[0]),\n            );\n            if (notContained) {\n              this.collapseAll(event);\n            }\n          });\n        },\n        keydown: \"_keydown\",\n      });\n\n      this.refresh();\n\n      // Clicks outside of a menu collapse any open menus\n      this._on(this.document, {\n        click: function (event) {\n          if (this._closeOnDocumentClick(event)) {\n            this.collapseAll(event, true);\n          }\n\n          // Reset the mouseHandled flag\n          this.mouseHandled = false;\n        },\n      });\n    },\n\n    _activateItem: function (event) {\n      // Ignore mouse events while typeahead is active, see #10458.\n      // Prevents focusing the wrong item when typeahead causes a scroll while the mouse\n      // is over an item in the menu\n      if (this.previousFilter) {\n        return;\n      }\n\n      // If the mouse didn't actually move, but the page was scrolled, ignore the event (#9356)\n      if (\n        event.clientX === this.lastMousePosition.x &&\n        event.clientY === this.lastMousePosition.y\n      ) {\n        return;\n      }\n\n      this.lastMousePosition = {\n        x: event.clientX,\n        y: event.clientY,\n      };\n\n      var actualTarget = $(event.target).closest(\".ui-menu-item\"),\n        target = $(event.currentTarget);\n\n      // Ignore bubbled events on parent items, see #11641\n      if (actualTarget[0] !== target[0]) {\n        return;\n      }\n\n      // If the item is already active, there's nothing to do\n      if (target.is(\".ui-state-active\")) {\n        return;\n      }\n\n      // Remove ui-state-active class from siblings of the newly focused menu item\n      // to avoid a jump caused by adjacent elements both having a class with a border\n      this._removeClass(\n        target.siblings().children(\".ui-state-active\"),\n        null,\n        \"ui-state-active\",\n      );\n      this.focus(event, target);\n    },\n\n    _destroy: function () {\n      var items = this.element\n          .find(\".ui-menu-item\")\n          .removeAttr(\"role aria-disabled\"),\n        submenus = items\n          .children(\".ui-menu-item-wrapper\")\n          .removeUniqueId()\n          .removeAttr(\"tabIndex role aria-haspopup\");\n\n      // Destroy (sub)menus\n      this.element\n        .removeAttr(\"aria-activedescendant\")\n        .find(\".ui-menu\")\n        .addBack()\n        .removeAttr(\n          \"role aria-labelledby aria-expanded aria-hidden aria-disabled \" +\n            \"tabIndex\",\n        )\n        .removeUniqueId()\n        .show();\n\n      submenus.children().each(function () {\n        var elem = $(this);\n        if (elem.data(\"ui-menu-submenu-caret\")) {\n          elem.remove();\n        }\n      });\n    },\n\n    _keydown: function (event) {\n      var match,\n        prev,\n        character,\n        skip,\n        preventDefault = true;\n\n      switch (event.keyCode) {\n        case $.ui.keyCode.PAGE_UP:\n          this.previousPage(event);\n          break;\n        case $.ui.keyCode.PAGE_DOWN:\n          this.nextPage(event);\n          break;\n        case $.ui.keyCode.HOME:\n          this._move(\"first\", \"first\", event);\n          break;\n        case $.ui.keyCode.END:\n          this._move(\"last\", \"last\", event);\n          break;\n        case $.ui.keyCode.UP:\n          this.previous(event);\n          break;\n        case $.ui.keyCode.DOWN:\n          this.next(event);\n          break;\n        case $.ui.keyCode.LEFT:\n          this.collapse(event);\n          break;\n        case $.ui.keyCode.RIGHT:\n          if (this.active && !this.active.is(\".ui-state-disabled\")) {\n            this.expand(event);\n          }\n          break;\n        case $.ui.keyCode.ENTER:\n        case $.ui.keyCode.SPACE:\n          this._activate(event);\n          break;\n        case $.ui.keyCode.ESCAPE:\n          this.collapse(event);\n          break;\n        default:\n          preventDefault = false;\n          prev = this.previousFilter || \"\";\n          skip = false;\n\n          // Support number pad values\n          character =\n            event.keyCode >= 96 && event.keyCode <= 105\n              ? (event.keyCode - 96).toString()\n              : String.fromCharCode(event.keyCode);\n\n          clearTimeout(this.filterTimer);\n\n          if (character === prev) {\n            skip = true;\n          } else {\n            character = prev + character;\n          }\n\n          match = this._filterMenuItems(character);\n          match =\n            skip && match.index(this.active.next()) !== -1\n              ? this.active.nextAll(\".ui-menu-item\")\n              : match;\n\n          // If no matches on the current filter, reset to the last character pressed\n          // to move down the menu to the first item that starts with that character\n          if (!match.length) {\n            character = String.fromCharCode(event.keyCode);\n            match = this._filterMenuItems(character);\n          }\n\n          if (match.length) {\n            this.focus(event, match);\n            this.previousFilter = character;\n            this.filterTimer = this._delay(function () {\n              delete this.previousFilter;\n            }, 1000);\n          } else {\n            delete this.previousFilter;\n          }\n      }\n\n      if (preventDefault) {\n        event.preventDefault();\n      }\n    },\n\n    _activate: function (event) {\n      if (this.active && !this.active.is(\".ui-state-disabled\")) {\n        if (this.active.children(\"[aria-haspopup='true']\").length) {\n          this.expand(event);\n        } else {\n          this.select(event);\n        }\n      }\n    },\n\n    refresh: function () {\n      var menus,\n        items,\n        newSubmenus,\n        newItems,\n        newWrappers,\n        that = this,\n        icon = this.options.icons.submenu,\n        submenus = this.element.find(this.options.menus);\n\n      this._toggleClass(\n        \"ui-menu-icons\",\n        null,\n        !!this.element.find(\".ui-icon\").length,\n      );\n\n      // Initialize nested menus\n      newSubmenus = submenus\n        .filter(\":not(.ui-menu)\")\n        .hide()\n        .attr({\n          role: this.options.role,\n          \"aria-hidden\": \"true\",\n          \"aria-expanded\": \"false\",\n        })\n        .each(function () {\n          var menu = $(this),\n            item = menu.prev(),\n            submenuCaret = $(\"<span>\").data(\"ui-menu-submenu-caret\", true);\n\n          that._addClass(submenuCaret, \"ui-menu-icon\", \"ui-icon \" + icon);\n          item.attr(\"aria-haspopup\", \"true\").prepend(submenuCaret);\n          menu.attr(\"aria-labelledby\", item.attr(\"id\"));\n        });\n\n      this._addClass(\n        newSubmenus,\n        \"ui-menu\",\n        \"ui-widget ui-widget-content ui-front\",\n      );\n\n      menus = submenus.add(this.element);\n      items = menus.find(this.options.items);\n\n      // Initialize menu-items containing spaces and/or dashes only as dividers\n      items.not(\".ui-menu-item\").each(function () {\n        var item = $(this);\n        if (that._isDivider(item)) {\n          that._addClass(item, \"ui-menu-divider\", \"ui-widget-content\");\n        }\n      });\n\n      // Don't refresh list items that are already adapted\n      newItems = items.not(\".ui-menu-item, .ui-menu-divider\");\n      newWrappers = newItems.children().not(\".ui-menu\").uniqueId().attr({\n        tabIndex: -1,\n        role: this._itemRole(),\n      });\n      this._addClass(newItems, \"ui-menu-item\")._addClass(\n        newWrappers,\n        \"ui-menu-item-wrapper\",\n      );\n\n      // Add aria-disabled attribute to any disabled menu item\n      items.filter(\".ui-state-disabled\").attr(\"aria-disabled\", \"true\");\n\n      // If the active item has been removed, blur the menu\n      if (this.active && !$.contains(this.element[0], this.active[0])) {\n        this.blur();\n      }\n    },\n\n    _itemRole: function () {\n      return {\n        menu: \"menuitem\",\n        listbox: \"option\",\n      }[this.options.role];\n    },\n\n    _setOption: function (key, value) {\n      if (key === \"icons\") {\n        var icons = this.element.find(\".ui-menu-icon\");\n        this._removeClass(icons, null, this.options.icons.submenu)._addClass(\n          icons,\n          null,\n          value.submenu,\n        );\n      }\n      this._super(key, value);\n    },\n\n    _setOptionDisabled: function (value) {\n      this._super(value);\n\n      this.element.attr(\"aria-disabled\", String(value));\n      this._toggleClass(null, \"ui-state-disabled\", !!value);\n    },\n\n    focus: function (event, item) {\n      var nested, focused, activeParent;\n      this.blur(event, event && event.type === \"focus\");\n\n      this._scrollIntoView(item);\n\n      this.active = item.first();\n\n      focused = this.active.children(\".ui-menu-item-wrapper\");\n      this._addClass(focused, null, \"ui-state-active\");\n\n      // Only update aria-activedescendant if there's a role\n      // otherwise we assume focus is managed elsewhere\n      if (this.options.role) {\n        this.element.attr(\"aria-activedescendant\", focused.attr(\"id\"));\n      }\n\n      // Highlight active parent menu item, if any\n      activeParent = this.active\n        .parent()\n        .closest(\".ui-menu-item\")\n        .children(\".ui-menu-item-wrapper\");\n      this._addClass(activeParent, null, \"ui-state-active\");\n\n      if (event && event.type === \"keydown\") {\n        this._close();\n      } else {\n        this.timer = this._delay(function () {\n          this._close();\n        }, this.delay);\n      }\n\n      nested = item.children(\".ui-menu\");\n      if (nested.length && event && /^mouse/.test(event.type)) {\n        this._startOpening(nested);\n      }\n      this.activeMenu = item.parent();\n\n      this._trigger(\"focus\", event, { item: item });\n    },\n\n    _scrollIntoView: function (item) {\n      var borderTop, paddingTop, offset, scroll, elementHeight, itemHeight;\n      if (this._hasScroll()) {\n        borderTop =\n          parseFloat($.css(this.activeMenu[0], \"borderTopWidth\")) || 0;\n        paddingTop = parseFloat($.css(this.activeMenu[0], \"paddingTop\")) || 0;\n        offset =\n          item.offset().top -\n          this.activeMenu.offset().top -\n          borderTop -\n          paddingTop;\n        scroll = this.activeMenu.scrollTop();\n        elementHeight = this.activeMenu.height();\n        itemHeight = item.outerHeight();\n\n        if (offset < 0) {\n          this.activeMenu.scrollTop(scroll + offset);\n        } else if (offset + itemHeight > elementHeight) {\n          this.activeMenu.scrollTop(\n            scroll + offset - elementHeight + itemHeight,\n          );\n        }\n      }\n    },\n\n    blur: function (event, fromFocus) {\n      if (!fromFocus) {\n        clearTimeout(this.timer);\n      }\n\n      if (!this.active) {\n        return;\n      }\n\n      this._removeClass(\n        this.active.children(\".ui-menu-item-wrapper\"),\n        null,\n        \"ui-state-active\",\n      );\n\n      this._trigger(\"blur\", event, { item: this.active });\n      this.active = null;\n    },\n\n    _startOpening: function (submenu) {\n      clearTimeout(this.timer);\n\n      // Don't open if already open fixes a Firefox bug that caused a .5 pixel\n      // shift in the submenu position when mousing over the caret icon\n      if (submenu.attr(\"aria-hidden\") !== \"true\") {\n        return;\n      }\n\n      this.timer = this._delay(function () {\n        this._close();\n        this._open(submenu);\n      }, this.delay);\n    },\n\n    _open: function (submenu) {\n      var position = $.extend(\n        {\n          of: this.active,\n        },\n        this.options.position,\n      );\n\n      clearTimeout(this.timer);\n      this.element\n        .find(\".ui-menu\")\n        .not(submenu.parents(\".ui-menu\"))\n        .hide()\n        .attr(\"aria-hidden\", \"true\");\n\n      submenu\n        .show()\n        .removeAttr(\"aria-hidden\")\n        .attr(\"aria-expanded\", \"true\")\n        .position(position);\n    },\n\n    collapseAll: function (event, all) {\n      clearTimeout(this.timer);\n      this.timer = this._delay(\n        function () {\n          // If we were passed an event, look for the submenu that contains the event\n          var currentMenu = all\n            ? this.element\n            : $(event && event.target).closest(this.element.find(\".ui-menu\"));\n\n          // If we found no valid submenu ancestor, use the main menu to close all\n          // sub menus anyway\n          if (!currentMenu.length) {\n            currentMenu = this.element;\n          }\n\n          this._close(currentMenu);\n\n          this.blur(event);\n\n          // Work around active item staying active after menu is blurred\n          this._removeClass(\n            currentMenu.find(\".ui-state-active\"),\n            null,\n            \"ui-state-active\",\n          );\n\n          this.activeMenu = currentMenu;\n        },\n        all ? 0 : this.delay,\n      );\n    },\n\n    // With no arguments, closes the currently active menu - if nothing is active\n    // it closes all menus.  If passed an argument, it will search for menus BELOW\n    _close: function (startMenu) {\n      if (!startMenu) {\n        startMenu = this.active ? this.active.parent() : this.element;\n      }\n\n      startMenu\n        .find(\".ui-menu\")\n        .hide()\n        .attr(\"aria-hidden\", \"true\")\n        .attr(\"aria-expanded\", \"false\");\n    },\n\n    _closeOnDocumentClick: function (event) {\n      return !$(event.target).closest(\".ui-menu\").length;\n    },\n\n    _isDivider: function (item) {\n      // Match hyphen, em dash, en dash\n      return !/[^\\-\\u2014\\u2013\\s]/.test(item.text());\n    },\n\n    collapse: function (event) {\n      var newItem =\n        this.active &&\n        this.active.parent().closest(\".ui-menu-item\", this.element);\n      if (newItem && newItem.length) {\n        this._close();\n        this.focus(event, newItem);\n      }\n    },\n\n    expand: function (event) {\n      var newItem =\n        this.active &&\n        this._menuItems(this.active.children(\".ui-menu\")).first();\n\n      if (newItem && newItem.length) {\n        this._open(newItem.parent());\n\n        // Delay so Firefox will not hide activedescendant change in expanding submenu from AT\n        this._delay(function () {\n          this.focus(event, newItem);\n        });\n      }\n    },\n\n    next: function (event) {\n      this._move(\"next\", \"first\", event);\n    },\n\n    previous: function (event) {\n      this._move(\"prev\", \"last\", event);\n    },\n\n    isFirstItem: function () {\n      return this.active && !this.active.prevAll(\".ui-menu-item\").length;\n    },\n\n    isLastItem: function () {\n      return this.active && !this.active.nextAll(\".ui-menu-item\").length;\n    },\n\n    _menuItems: function (menu) {\n      return (menu || this.element)\n        .find(this.options.items)\n        .filter(\".ui-menu-item\");\n    },\n\n    _move: function (direction, filter, event) {\n      var next;\n      if (this.active) {\n        if (direction === \"first\" || direction === \"last\") {\n          next =\n            this.active[direction === \"first\" ? \"prevAll\" : \"nextAll\"](\n              \".ui-menu-item\",\n            ).last();\n        } else {\n          next = this.active[direction + \"All\"](\".ui-menu-item\").first();\n        }\n      }\n      if (!next || !next.length || !this.active) {\n        next = this._menuItems(this.activeMenu)[filter]();\n      }\n\n      this.focus(event, next);\n    },\n\n    nextPage: function (event) {\n      var item, base, height;\n\n      if (!this.active) {\n        this.next(event);\n        return;\n      }\n      if (this.isLastItem()) {\n        return;\n      }\n      if (this._hasScroll()) {\n        base = this.active.offset().top;\n        height = this.element.innerHeight();\n\n        // jQuery 3.2 doesn't include scrollbars in innerHeight, add it back.\n        if ($.fn.jquery.indexOf(\"3.2.\") === 0) {\n          height += this.element[0].offsetHeight - this.element.outerHeight();\n        }\n\n        this.active.nextAll(\".ui-menu-item\").each(function () {\n          item = $(this);\n          return item.offset().top - base - height < 0;\n        });\n\n        this.focus(event, item);\n      } else {\n        this.focus(\n          event,\n          this._menuItems(this.activeMenu)[!this.active ? \"first\" : \"last\"](),\n        );\n      }\n    },\n\n    previousPage: function (event) {\n      var item, base, height;\n      if (!this.active) {\n        this.next(event);\n        return;\n      }\n      if (this.isFirstItem()) {\n        return;\n      }\n      if (this._hasScroll()) {\n        base = this.active.offset().top;\n        height = this.element.innerHeight();\n\n        // jQuery 3.2 doesn't include scrollbars in innerHeight, add it back.\n        if ($.fn.jquery.indexOf(\"3.2.\") === 0) {\n          height += this.element[0].offsetHeight - this.element.outerHeight();\n        }\n\n        this.active.prevAll(\".ui-menu-item\").each(function () {\n          item = $(this);\n          return item.offset().top - base + height > 0;\n        });\n\n        this.focus(event, item);\n      } else {\n        this.focus(event, this._menuItems(this.activeMenu).first());\n      }\n    },\n\n    _hasScroll: function () {\n      return this.element.outerHeight() < this.element.prop(\"scrollHeight\");\n    },\n\n    select: function (event) {\n      // TODO: It should never be possible to not have an active item at this\n      // point, but the tests don't trigger mouseenter before click.\n      this.active = this.active || $(event.target).closest(\".ui-menu-item\");\n      var ui = { item: this.active };\n      if (!this.active.has(\".ui-menu\").length) {\n        this.collapseAll(event, true);\n      }\n      this._trigger(\"select\", event, ui);\n    },\n\n    _filterMenuItems: function (character) {\n      var escapedCharacter = character.replace(\n          /[\\-\\[\\]{}()*+?.,\\\\\\^$|#\\s]/g,\n          \"\\\\$&\",\n        ),\n        regex = new RegExp(\"^\" + escapedCharacter, \"i\");\n\n      return (\n        this.activeMenu\n          .find(this.options.items)\n\n          // Only match on items, not dividers or other content (#10571)\n          .filter(\".ui-menu-item\")\n          .filter(function () {\n            return regex.test(\n              String.prototype.trim.call(\n                $(this).children(\".ui-menu-item-wrapper\").text(),\n              ),\n            );\n          })\n      );\n    },\n  });\n\n  /*!\n   * jQuery UI Autocomplete 1.13.2\n   * http://jqueryui.com\n   *\n   * Copyright jQuery Foundation and other contributors\n   * Released under the MIT license.\n   * http://jquery.org/license\n   */\n\n  //>>label: Autocomplete\n  //>>group: Widgets\n  //>>description: Lists suggested words as the user is typing.\n  //>>docs: http://api.jqueryui.com/autocomplete/\n  //>>demos: http://jqueryui.com/autocomplete/\n  //>>css.structure: ../../themes/base/core.css\n  //>>css.structure: ../../themes/base/autocomplete.css\n  //>>css.theme: ../../themes/base/theme.css\n\n  $.widget(\"ui.autocomplete\", {\n    version: \"1.13.2\",\n    defaultElement: \"<input>\",\n    options: {\n      appendTo: null,\n      autoFocus: false,\n      delay: 300,\n      minLength: 1,\n      position: {\n        my: \"left top\",\n        at: \"left bottom\",\n        collision: \"none\",\n      },\n      source: null,\n\n      // Callbacks\n      change: null,\n      close: null,\n      focus: null,\n      open: null,\n      response: null,\n      search: null,\n      select: null,\n    },\n\n    requestIndex: 0,\n    pending: 0,\n    liveRegionTimer: null,\n\n    _create: function () {\n      // Some browsers only repeat keydown events, not keypress events,\n      // so we use the suppressKeyPress flag to determine if we've already\n      // handled the keydown event. #7269\n      // Unfortunately the code for & in keypress is the same as the up arrow,\n      // so we use the suppressKeyPressRepeat flag to avoid handling keypress\n      // events when we know the keydown event was used to modify the\n      // search term. #7799\n      var suppressKeyPress,\n        suppressKeyPressRepeat,\n        suppressInput,\n        nodeName = this.element[0].nodeName.toLowerCase(),\n        isTextarea = nodeName === \"textarea\",\n        isInput = nodeName === \"input\";\n\n      // Textareas are always multi-line\n      // Inputs are always single-line, even if inside a contentEditable element\n      // IE also treats inputs as contentEditable\n      // All other element types are determined by whether or not they're contentEditable\n      this.isMultiLine =\n        isTextarea || (!isInput && this._isContentEditable(this.element));\n\n      this.valueMethod = this.element[isTextarea || isInput ? \"val\" : \"text\"];\n      this.isNewMenu = true;\n\n      this._addClass(\"ui-autocomplete-input\");\n      this.element.attr(\"autocomplete\", \"off\");\n\n      this._on(this.element, {\n        keydown: function (event) {\n          if (this.element.prop(\"readOnly\")) {\n            suppressKeyPress = true;\n            suppressInput = true;\n            suppressKeyPressRepeat = true;\n            return;\n          }\n\n          suppressKeyPress = false;\n          suppressInput = false;\n          suppressKeyPressRepeat = false;\n          var keyCode = $.ui.keyCode;\n          switch (event.keyCode) {\n            case keyCode.PAGE_UP:\n              suppressKeyPress = true;\n              this._move(\"previousPage\", event);\n              break;\n            case keyCode.PAGE_DOWN:\n              suppressKeyPress = true;\n              this._move(\"nextPage\", event);\n              break;\n            case keyCode.UP:\n              suppressKeyPress = true;\n              this._keyEvent(\"previous\", event);\n              break;\n            case keyCode.DOWN:\n              suppressKeyPress = true;\n              this._keyEvent(\"next\", event);\n              break;\n            case keyCode.ENTER:\n              // when menu is open and has focus\n              if (this.menu.active) {\n                // #6055 - Opera still allows the keypress to occur\n                // which causes forms to submit\n                suppressKeyPress = true;\n                event.preventDefault();\n                this.menu.select(event);\n              }\n              break;\n            case keyCode.TAB:\n              if (this.menu.active) {\n                this.menu.select(event);\n              }\n              break;\n            case keyCode.ESCAPE:\n              if (this.menu.element.is(\":visible\")) {\n                if (!this.isMultiLine) {\n                  this._value(this.term);\n                }\n                this.close(event);\n\n                // Different browsers have different default behavior for escape\n                // Single press can mean undo or clear\n                // Double press in IE means clear the whole form\n                event.preventDefault();\n              }\n              break;\n            default:\n              suppressKeyPressRepeat = true;\n\n              // search timeout should be triggered before the input value is changed\n              this._searchTimeout(event);\n              break;\n          }\n        },\n        keypress: function (event) {\n          if (suppressKeyPress) {\n            suppressKeyPress = false;\n            if (!this.isMultiLine || this.menu.element.is(\":visible\")) {\n              event.preventDefault();\n            }\n            return;\n          }\n          if (suppressKeyPressRepeat) {\n            return;\n          }\n\n          // Replicate some key handlers to allow them to repeat in Firefox and Opera\n          var keyCode = $.ui.keyCode;\n          switch (event.keyCode) {\n            case keyCode.PAGE_UP:\n              this._move(\"previousPage\", event);\n              break;\n            case keyCode.PAGE_DOWN:\n              this._move(\"nextPage\", event);\n              break;\n            case keyCode.UP:\n              this._keyEvent(\"previous\", event);\n              break;\n            case keyCode.DOWN:\n              this._keyEvent(\"next\", event);\n              break;\n          }\n        },\n        input: function (event) {\n          if (suppressInput) {\n            suppressInput = false;\n            event.preventDefault();\n            return;\n          }\n          this._searchTimeout(event);\n        },\n        focus: function () {\n          this.selectedItem = null;\n          this.previous = this._value();\n        },\n        blur: function (event) {\n          clearTimeout(this.searching);\n          this.close(event);\n          this._change(event);\n        },\n      });\n\n      this._initSource();\n      this.menu = $(\"<ul>\")\n        .appendTo(this._appendTo())\n        .menu({\n          // disable ARIA support, the live region takes care of that\n          role: null,\n        })\n        .hide()\n\n        // Support: IE 11 only, Edge <= 14\n        // For other browsers, we preventDefault() on the mousedown event\n        // to keep the dropdown from taking focus from the input. This doesn't\n        // work for IE/Edge, causing problems with selection and scrolling (#9638)\n        // Happily, IE and Edge support an \"unselectable\" attribute that\n        // prevents an element from receiving focus, exactly what we want here.\n        .attr({\n          unselectable: \"on\",\n        })\n        .menu(\"instance\");\n\n      this._addClass(this.menu.element, \"ui-autocomplete\", \"ui-front\");\n      this._on(this.menu.element, {\n        mousedown: function (event) {\n          // Prevent moving focus out of the text field\n          event.preventDefault();\n        },\n        menufocus: function (event, ui) {\n          var label, item;\n\n          // support: Firefox\n          // Prevent accidental activation of menu items in Firefox (#7024 #9118)\n          if (this.isNewMenu) {\n            this.isNewMenu = false;\n            if (\n              event.originalEvent &&\n              /^mouse/.test(event.originalEvent.type)\n            ) {\n              this.menu.blur();\n\n              this.document.one(\"mousemove\", function () {\n                $(event.target).trigger(event.originalEvent);\n              });\n\n              return;\n            }\n          }\n\n          item = ui.item.data(\"ui-autocomplete-item\");\n          if (false !== this._trigger(\"focus\", event, { item: item })) {\n            // use value to match what will end up in the input, if it was a key event\n            if (event.originalEvent && /^key/.test(event.originalEvent.type)) {\n              this._value(item.value);\n            }\n          }\n\n          // Announce the value in the liveRegion\n          label = ui.item.attr(\"aria-label\") || item.value;\n          if (label && String.prototype.trim.call(label).length) {\n            clearTimeout(this.liveRegionTimer);\n            this.liveRegionTimer = this._delay(function () {\n              this.liveRegion.html($(\"<div>\").text(label));\n            }, 100);\n          }\n        },\n        menuselect: function (event, ui) {\n          var item = ui.item.data(\"ui-autocomplete-item\"),\n            previous = this.previous;\n\n          // Only trigger when focus was lost (click on menu)\n          if (this.element[0] !== $.ui.safeActiveElement(this.document[0])) {\n            this.element.trigger(\"focus\");\n            this.previous = previous;\n\n            // #6109 - IE triggers two focus events and the second\n            // is asynchronous, so we need to reset the previous\n            // term synchronously and asynchronously :-(\n            this._delay(function () {\n              this.previous = previous;\n              this.selectedItem = item;\n            });\n          }\n\n          if (false !== this._trigger(\"select\", event, { item: item })) {\n            this._value(item.value);\n          }\n\n          // reset the term after the select event\n          // this allows custom select handling to work properly\n          this.term = this._value();\n\n          this.close(event);\n          this.selectedItem = item;\n        },\n      });\n\n      this.liveRegion = $(\"<div>\", {\n        role: \"status\",\n        \"aria-live\": \"assertive\",\n        \"aria-relevant\": \"additions\",\n      }).appendTo(this.document[0].body);\n\n      this._addClass(this.liveRegion, null, \"ui-helper-hidden-accessible\");\n\n      // Turning off autocomplete prevents the browser from remembering the\n      // value when navigating through history, so we re-enable autocomplete\n      // if the page is unloaded before the widget is destroyed. #7790\n      this._on(this.window, {\n        beforeunload: function () {\n          this.element.removeAttr(\"autocomplete\");\n        },\n      });\n    },\n\n    _destroy: function () {\n      clearTimeout(this.searching);\n      this.element.removeAttr(\"autocomplete\");\n      this.menu.element.remove();\n      this.liveRegion.remove();\n    },\n\n    _setOption: function (key, value) {\n      this._super(key, value);\n      if (key === \"source\") {\n        this._initSource();\n      }\n      if (key === \"appendTo\") {\n        this.menu.element.appendTo(this._appendTo());\n      }\n      if (key === \"disabled\" && value && this.xhr) {\n        this.xhr.abort();\n      }\n    },\n\n    _isEventTargetInWidget: function (event) {\n      var menuElement = this.menu.element[0];\n\n      return (\n        event.target === this.element[0] ||\n        event.target === menuElement ||\n        $.contains(menuElement, event.target)\n      );\n    },\n\n    _closeOnClickOutside: function (event) {\n      if (!this._isEventTargetInWidget(event)) {\n        this.close();\n      }\n    },\n\n    _appendTo: function () {\n      var element = this.options.appendTo;\n\n      if (element) {\n        element =\n          element.jquery || element.nodeType\n            ? $(element)\n            : this.document.find(element).eq(0);\n      }\n\n      if (!element || !element[0]) {\n        element = this.element.closest(\".ui-front, dialog\");\n      }\n\n      if (!element.length) {\n        element = this.document[0].body;\n      }\n\n      return element;\n    },\n\n    _initSource: function () {\n      var array,\n        url,\n        that = this;\n      if (Array.isArray(this.options.source)) {\n        array = this.options.source;\n        this.source = function (request, response) {\n          response($.ui.autocomplete.filter(array, request.term));\n        };\n      } else if (typeof this.options.source === \"string\") {\n        url = this.options.source;\n        this.source = function (request, response) {\n          if (that.xhr) {\n            that.xhr.abort();\n          }\n          that.xhr = $.ajax({\n            url: url,\n            data: request,\n            dataType: \"json\",\n            success: function (data) {\n              response(data);\n            },\n            error: function () {\n              response([]);\n            },\n          });\n        };\n      } else {\n        this.source = this.options.source;\n      }\n    },\n\n    _searchTimeout: function (event) {\n      clearTimeout(this.searching);\n      this.searching = this._delay(function () {\n        // Search if the value has changed, or if the user retypes the same value (see #7434)\n        var equalValues = this.term === this._value(),\n          menuVisible = this.menu.element.is(\":visible\"),\n          modifierKey =\n            event.altKey || event.ctrlKey || event.metaKey || event.shiftKey;\n\n        if (!equalValues || (equalValues && !menuVisible && !modifierKey)) {\n          this.selectedItem = null;\n          this.search(null, event);\n        }\n      }, this.options.delay);\n    },\n\n    search: function (value, event) {\n      value = value != null ? value : this._value();\n\n      // Always save the actual value, not the one passed as an argument\n      this.term = this._value();\n\n      if (value.length < this.options.minLength) {\n        return this.close(event);\n      }\n\n      if (this._trigger(\"search\", event) === false) {\n        return;\n      }\n\n      return this._search(value);\n    },\n\n    _search: function (value) {\n      this.pending++;\n      this._addClass(\"ui-autocomplete-loading\");\n      this.cancelSearch = false;\n\n      this.source({ term: value }, this._response());\n    },\n\n    _response: function () {\n      var index = ++this.requestIndex;\n\n      return function (content) {\n        if (index === this.requestIndex) {\n          this.__response(content);\n        }\n\n        this.pending--;\n        if (!this.pending) {\n          this._removeClass(\"ui-autocomplete-loading\");\n        }\n      }.bind(this);\n    },\n\n    __response: function (content) {\n      if (content) {\n        content = this._normalize(content);\n      }\n      this._trigger(\"response\", null, { content: content });\n      if (\n        !this.options.disabled &&\n        content &&\n        content.length &&\n        !this.cancelSearch\n      ) {\n        this._suggest(content);\n        this._trigger(\"open\");\n      } else {\n        // use ._close() instead of .close() so we don't cancel future searches\n        this._close();\n      }\n    },\n\n    close: function (event) {\n      this.cancelSearch = true;\n      this._close(event);\n    },\n\n    _close: function (event) {\n      // Remove the handler that closes the menu on outside clicks\n      this._off(this.document, \"mousedown\");\n\n      if (this.menu.element.is(\":visible\")) {\n        this.menu.element.hide();\n        this.menu.blur();\n        this.isNewMenu = true;\n        this._trigger(\"close\", event);\n      }\n    },\n\n    _change: function (event) {\n      if (this.previous !== this._value()) {\n        this._trigger(\"change\", event, { item: this.selectedItem });\n      }\n    },\n\n    _normalize: function (items) {\n      // assume all items have the right format when the first item is complete\n      if (items.length && items[0].label && items[0].value) {\n        return items;\n      }\n      return $.map(items, function (item) {\n        if (typeof item === \"string\") {\n          return {\n            label: item,\n            value: item,\n          };\n        }\n        return $.extend({}, item, {\n          label: item.label || item.value,\n          value: item.value || item.label,\n        });\n      });\n    },\n\n    _suggest: function (items) {\n      var ul = this.menu.element.empty();\n      this._renderMenu(ul, items);\n      this.isNewMenu = true;\n      this.menu.refresh();\n\n      // Size and position menu\n      ul.show();\n      this._resizeMenu();\n      ul.position(\n        $.extend(\n          {\n            of: this.element,\n          },\n          this.options.position,\n        ),\n      );\n\n      if (this.options.autoFocus) {\n        this.menu.next();\n      }\n\n      // Listen for interactions outside of the widget (#6642)\n      this._on(this.document, {\n        mousedown: \"_closeOnClickOutside\",\n      });\n    },\n\n    _resizeMenu: function () {\n      var ul = this.menu.element;\n      ul.outerWidth(\n        Math.max(\n          // Firefox wraps long text (possibly a rounding bug)\n          // so we add 1px to avoid the wrapping (#7513)\n          ul.width(\"\").outerWidth() + 1,\n          this.element.outerWidth(),\n        ),\n      );\n    },\n\n    _renderMenu: function (ul, items) {\n      var that = this;\n      $.each(items, function (index, item) {\n        that._renderItemData(ul, item);\n      });\n    },\n\n    _renderItemData: function (ul, item) {\n      return this._renderItem(ul, item).data(\"ui-autocomplete-item\", item);\n    },\n\n    _renderItem: function (ul, item) {\n      return $(\"<li>\").append($(\"<div>\").text(item.label)).appendTo(ul);\n    },\n\n    _move: function (direction, event) {\n      if (!this.menu.element.is(\":visible\")) {\n        this.search(null, event);\n        return;\n      }\n      if (\n        (this.menu.isFirstItem() && /^previous/.test(direction)) ||\n        (this.menu.isLastItem() && /^next/.test(direction))\n      ) {\n        if (!this.isMultiLine) {\n          this._value(this.term);\n        }\n\n        this.menu.blur();\n        return;\n      }\n      this.menu[direction](event);\n    },\n\n    widget: function () {\n      return this.menu.element;\n    },\n\n    _value: function () {\n      return this.valueMethod.apply(this.element, arguments);\n    },\n\n    _keyEvent: function (keyEvent, event) {\n      if (!this.isMultiLine || this.menu.element.is(\":visible\")) {\n        this._move(keyEvent, event);\n\n        // Prevents moving cursor to beginning/end of the text field in some browsers\n        event.preventDefault();\n      }\n    },\n\n    // Support: Chrome <=50\n    // We should be able to just use this.element.prop( \"isContentEditable\" )\n    // but hidden elements always report false in Chrome.\n    // https://code.google.com/p/chromium/issues/detail?id=313082\n    _isContentEditable: function (element) {\n      if (!element.length) {\n        return false;\n      }\n\n      var editable = element.prop(\"contentEditable\");\n\n      if (editable === \"inherit\") {\n        return this._isContentEditable(element.parent());\n      }\n\n      return editable === \"true\";\n    },\n  });\n\n  $.extend($.ui.autocomplete, {\n    escapeRegex: function (value) {\n      return value.replace(/[\\-\\[\\]{}()*+?.,\\\\\\^$|#\\s]/g, \"\\\\$&\");\n    },\n    filter: function (array, term) {\n      var matcher = new RegExp($.ui.autocomplete.escapeRegex(term), \"i\");\n      return $.grep(array, function (value) {\n        return matcher.test(value.label || value.value || value);\n      });\n    },\n  });\n\n  // Live region extension, adding a `messages` option\n  // NOTE: This is an experimental API. We are still investigating\n  // a full solution for string manipulation and internationalization.\n  $.widget(\"ui.autocomplete\", $.ui.autocomplete, {\n    options: {\n      messages: {\n        noResults: \"No search results.\",\n        results: function (amount) {\n          return (\n            amount +\n            (amount > 1 ? \" results are\" : \" result is\") +\n            \" available, use up and down arrow keys to navigate.\"\n          );\n        },\n      },\n    },\n\n    __response: function (content) {\n      var message;\n      this._superApply(arguments);\n      if (this.options.disabled || this.cancelSearch) {\n        return;\n      }\n      if (content && content.length) {\n        message = this.options.messages.results(content.length);\n      } else {\n        message = this.options.messages.noResults;\n      }\n      clearTimeout(this.liveRegionTimer);\n      this.liveRegionTimer = this._delay(function () {\n        this.liveRegion.html($(\"<div>\").text(message));\n      }, 100);\n    },\n  });\n\n  var widgetsAutocomplete = $.ui.autocomplete;\n\n  /*!\n   * jQuery UI Controlgroup 1.13.2\n   * http://jqueryui.com\n   *\n   * Copyright jQuery Foundation and other contributors\n   * Released under the MIT license.\n   * http://jquery.org/license\n   */\n\n  //>>label: Controlgroup\n  //>>group: Widgets\n  //>>description: Visually groups form control widgets\n  //>>docs: http://api.jqueryui.com/controlgroup/\n  //>>demos: http://jqueryui.com/controlgroup/\n  //>>css.structure: ../../themes/base/core.css\n  //>>css.structure: ../../themes/base/controlgroup.css\n  //>>css.theme: ../../themes/base/theme.css\n\n  var controlgroupCornerRegex = /ui-corner-([a-z]){2,6}/g;\n\n  var widgetsControlgroup = $.widget(\"ui.controlgroup\", {\n    version: \"1.13.2\",\n    defaultElement: \"<div>\",\n    options: {\n      direction: \"horizontal\",\n      disabled: null,\n      onlyVisible: true,\n      items: {\n        button:\n          \"input[type=button], input[type=submit], input[type=reset], button, a\",\n        controlgroupLabel: \".ui-controlgroup-label\",\n        checkboxradio: \"input[type='checkbox'], input[type='radio']\",\n        selectmenu: \"select\",\n        spinner: \".ui-spinner-input\",\n      },\n    },\n\n    _create: function () {\n      this._enhance();\n    },\n\n    // To support the enhanced option in jQuery Mobile, we isolate DOM manipulation\n    _enhance: function () {\n      this.element.attr(\"role\", \"toolbar\");\n      this.refresh();\n    },\n\n    _destroy: function () {\n      this._callChildMethod(\"destroy\");\n      this.childWidgets.removeData(\"ui-controlgroup-data\");\n      this.element.removeAttr(\"role\");\n      if (this.options.items.controlgroupLabel) {\n        this.element\n          .find(this.options.items.controlgroupLabel)\n          .find(\".ui-controlgroup-label-contents\")\n          .contents()\n          .unwrap();\n      }\n    },\n\n    _initWidgets: function () {\n      var that = this,\n        childWidgets = [];\n\n      // First we iterate over each of the items options\n      $.each(this.options.items, function (widget, selector) {\n        var labels;\n        var options = {};\n\n        // Make sure the widget has a selector set\n        if (!selector) {\n          return;\n        }\n\n        if (widget === \"controlgroupLabel\") {\n          labels = that.element.find(selector);\n          labels.each(function () {\n            var element = $(this);\n\n            if (element.children(\".ui-controlgroup-label-contents\").length) {\n              return;\n            }\n            element\n              .contents()\n              .wrapAll(\"<span class='ui-controlgroup-label-contents'></span>\");\n          });\n          that._addClass(\n            labels,\n            null,\n            \"ui-widget ui-widget-content ui-state-default\",\n          );\n          childWidgets = childWidgets.concat(labels.get());\n          return;\n        }\n\n        // Make sure the widget actually exists\n        if (!$.fn[widget]) {\n          return;\n        }\n\n        // We assume everything is in the middle to start because we can't determine\n        // first / last elements until all enhancments are done.\n        if (that[\"_\" + widget + \"Options\"]) {\n          options = that[\"_\" + widget + \"Options\"](\"middle\");\n        } else {\n          options = { classes: {} };\n        }\n\n        // Find instances of this widget inside controlgroup and init them\n        that.element.find(selector).each(function () {\n          var element = $(this);\n          var instance = element[widget](\"instance\");\n\n          // We need to clone the default options for this type of widget to avoid\n          // polluting the variable options which has a wider scope than a single widget.\n          var instanceOptions = $.widget.extend({}, options);\n\n          // If the button is the child of a spinner ignore it\n          // TODO: Find a more generic solution\n          if (widget === \"button\" && element.parent(\".ui-spinner\").length) {\n            return;\n          }\n\n          // Create the widget if it doesn't exist\n          if (!instance) {\n            instance = element[widget]()[widget](\"instance\");\n          }\n          if (instance) {\n            instanceOptions.classes = that._resolveClassesValues(\n              instanceOptions.classes,\n              instance,\n            );\n          }\n          element[widget](instanceOptions);\n\n          // Store an instance of the controlgroup to be able to reference\n          // from the outermost element for changing options and refresh\n          var widgetElement = element[widget](\"widget\");\n          $.data(\n            widgetElement[0],\n            \"ui-controlgroup-data\",\n            instance ? instance : element[widget](\"instance\"),\n          );\n\n          childWidgets.push(widgetElement[0]);\n        });\n      });\n\n      this.childWidgets = $($.uniqueSort(childWidgets));\n      this._addClass(this.childWidgets, \"ui-controlgroup-item\");\n    },\n\n    _callChildMethod: function (method) {\n      this.childWidgets.each(function () {\n        var element = $(this),\n          data = element.data(\"ui-controlgroup-data\");\n        if (data && data[method]) {\n          data[method]();\n        }\n      });\n    },\n\n    _updateCornerClass: function (element, position) {\n      var remove =\n        \"ui-corner-top ui-corner-bottom ui-corner-left ui-corner-right ui-corner-all\";\n      var add = this._buildSimpleOptions(position, \"label\").classes.label;\n\n      this._removeClass(element, null, remove);\n      this._addClass(element, null, add);\n    },\n\n    _buildSimpleOptions: function (position, key) {\n      var direction = this.options.direction === \"vertical\";\n      var result = {\n        classes: {},\n      };\n      result.classes[key] = {\n        middle: \"\",\n        first: \"ui-corner-\" + (direction ? \"top\" : \"left\"),\n        last: \"ui-corner-\" + (direction ? \"bottom\" : \"right\"),\n        only: \"ui-corner-all\",\n      }[position];\n\n      return result;\n    },\n\n    _spinnerOptions: function (position) {\n      var options = this._buildSimpleOptions(position, \"ui-spinner\");\n\n      options.classes[\"ui-spinner-up\"] = \"\";\n      options.classes[\"ui-spinner-down\"] = \"\";\n\n      return options;\n    },\n\n    _buttonOptions: function (position) {\n      return this._buildSimpleOptions(position, \"ui-button\");\n    },\n\n    _checkboxradioOptions: function (position) {\n      return this._buildSimpleOptions(position, \"ui-checkboxradio-label\");\n    },\n\n    _selectmenuOptions: function (position) {\n      var direction = this.options.direction === \"vertical\";\n      return {\n        width: direction ? \"auto\" : false,\n        classes: {\n          middle: {\n            \"ui-selectmenu-button-open\": \"\",\n            \"ui-selectmenu-button-closed\": \"\",\n          },\n          first: {\n            \"ui-selectmenu-button-open\":\n              \"ui-corner-\" + (direction ? \"top\" : \"tl\"),\n            \"ui-selectmenu-button-closed\":\n              \"ui-corner-\" + (direction ? \"top\" : \"left\"),\n          },\n          last: {\n            \"ui-selectmenu-button-open\": direction ? \"\" : \"ui-corner-tr\",\n            \"ui-selectmenu-button-closed\":\n              \"ui-corner-\" + (direction ? \"bottom\" : \"right\"),\n          },\n          only: {\n            \"ui-selectmenu-button-open\": \"ui-corner-top\",\n            \"ui-selectmenu-button-closed\": \"ui-corner-all\",\n          },\n        }[position],\n      };\n    },\n\n    _resolveClassesValues: function (classes, instance) {\n      var result = {};\n      $.each(classes, function (key) {\n        var current = instance.options.classes[key] || \"\";\n        current = String.prototype.trim.call(\n          current.replace(controlgroupCornerRegex, \"\"),\n        );\n        result[key] = (current + \" \" + classes[key]).replace(/\\s+/g, \" \");\n      });\n      return result;\n    },\n\n    _setOption: function (key, value) {\n      if (key === \"direction\") {\n        this._removeClass(\"ui-controlgroup-\" + this.options.direction);\n      }\n\n      this._super(key, value);\n      if (key === \"disabled\") {\n        this._callChildMethod(value ? \"disable\" : \"enable\");\n        return;\n      }\n\n      this.refresh();\n    },\n\n    refresh: function () {\n      var children,\n        that = this;\n\n      this._addClass(\n        \"ui-controlgroup ui-controlgroup-\" + this.options.direction,\n      );\n\n      if (this.options.direction === \"horizontal\") {\n        this._addClass(null, \"ui-helper-clearfix\");\n      }\n      this._initWidgets();\n\n      children = this.childWidgets;\n\n      // We filter here because we need to track all childWidgets not just the visible ones\n      if (this.options.onlyVisible) {\n        children = children.filter(\":visible\");\n      }\n\n      if (children.length) {\n        // We do this last because we need to make sure all enhancment is done\n        // before determining first and last\n        $.each([\"first\", \"last\"], function (index, value) {\n          var instance = children[value]().data(\"ui-controlgroup-data\");\n\n          if (instance && that[\"_\" + instance.widgetName + \"Options\"]) {\n            var options = that[\"_\" + instance.widgetName + \"Options\"](\n              children.length === 1 ? \"only\" : value,\n            );\n            options.classes = that._resolveClassesValues(\n              options.classes,\n              instance,\n            );\n            instance.element[instance.widgetName](options);\n          } else {\n            that._updateCornerClass(children[value](), value);\n          }\n        });\n\n        // Finally call the refresh method on each of the child widgets.\n        this._callChildMethod(\"refresh\");\n      }\n    },\n  });\n\n  /*!\n   * jQuery UI Checkboxradio 1.13.2\n   * http://jqueryui.com\n   *\n   * Copyright jQuery Foundation and other contributors\n   * Released under the MIT license.\n   * http://jquery.org/license\n   */\n\n  //>>label: Checkboxradio\n  //>>group: Widgets\n  //>>description: Enhances a form with multiple themeable checkboxes or radio buttons.\n  //>>docs: http://api.jqueryui.com/checkboxradio/\n  //>>demos: http://jqueryui.com/checkboxradio/\n  //>>css.structure: ../../themes/base/core.css\n  //>>css.structure: ../../themes/base/button.css\n  //>>css.structure: ../../themes/base/checkboxradio.css\n  //>>css.theme: ../../themes/base/theme.css\n\n  $.widget(\"ui.checkboxradio\", [\n    $.ui.formResetMixin,\n    {\n      version: \"1.13.2\",\n      options: {\n        disabled: null,\n        label: null,\n        icon: true,\n        classes: {\n          \"ui-checkboxradio-label\": \"ui-corner-all\",\n          \"ui-checkboxradio-icon\": \"ui-corner-all\",\n        },\n      },\n\n      _getCreateOptions: function () {\n        var disabled, labels, labelContents;\n        var options = this._super() || {};\n\n        // We read the type here, because it makes more sense to throw a element type error first,\n        // rather then the error for lack of a label. Often if its the wrong type, it\n        // won't have a label (e.g. calling on a div, btn, etc)\n        this._readType();\n\n        labels = this.element.labels();\n\n        // If there are multiple labels, use the last one\n        this.label = $(labels[labels.length - 1]);\n        if (!this.label.length) {\n          $.error(\"No label found for checkboxradio widget\");\n        }\n\n        this.originalLabel = \"\";\n\n        // We need to get the label text but this may also need to make sure it does not contain the\n        // input itself.\n        // The label contents could be text, html, or a mix. We wrap all elements\n        // and read the wrapper's `innerHTML` to get a string representation of\n        // the label, without the input as part of it.\n        labelContents = this.label.contents().not(this.element[0]);\n\n        if (labelContents.length) {\n          this.originalLabel += labelContents\n            .clone()\n            .wrapAll(\"<div></div>\")\n            .parent()\n            .html();\n        }\n\n        // Set the label option if we found label text\n        if (this.originalLabel) {\n          options.label = this.originalLabel;\n        }\n\n        disabled = this.element[0].disabled;\n        if (disabled != null) {\n          options.disabled = disabled;\n        }\n        return options;\n      },\n\n      _create: function () {\n        var checked = this.element[0].checked;\n\n        this._bindFormResetHandler();\n\n        if (this.options.disabled == null) {\n          this.options.disabled = this.element[0].disabled;\n        }\n\n        this._setOption(\"disabled\", this.options.disabled);\n        this._addClass(\"ui-checkboxradio\", \"ui-helper-hidden-accessible\");\n        this._addClass(\n          this.label,\n          \"ui-checkboxradio-label\",\n          \"ui-button ui-widget\",\n        );\n\n        if (this.type === \"radio\") {\n          this._addClass(this.label, \"ui-checkboxradio-radio-label\");\n        }\n\n        if (this.options.label && this.options.label !== this.originalLabel) {\n          this._updateLabel();\n        } else if (this.originalLabel) {\n          this.options.label = this.originalLabel;\n        }\n\n        this._enhance();\n\n        if (checked) {\n          this._addClass(\n            this.label,\n            \"ui-checkboxradio-checked\",\n            \"ui-state-active\",\n          );\n        }\n\n        this._on({\n          change: \"_toggleClasses\",\n          focus: function () {\n            this._addClass(this.label, null, \"ui-state-focus ui-visual-focus\");\n          },\n          blur: function () {\n            this._removeClass(\n              this.label,\n              null,\n              \"ui-state-focus ui-visual-focus\",\n            );\n          },\n        });\n      },\n\n      _readType: function () {\n        var nodeName = this.element[0].nodeName.toLowerCase();\n        this.type = this.element[0].type;\n        if (nodeName !== \"input\" || !/radio|checkbox/.test(this.type)) {\n          $.error(\n            \"Can't create checkboxradio on element.nodeName=\" +\n              nodeName +\n              \" and element.type=\" +\n              this.type,\n          );\n        }\n      },\n\n      // Support jQuery Mobile enhanced option\n      _enhance: function () {\n        this._updateIcon(this.element[0].checked);\n      },\n\n      widget: function () {\n        return this.label;\n      },\n\n      _getRadioGroup: function () {\n        var group;\n        var name = this.element[0].name;\n        var nameSelector = \"input[name='\" + $.escapeSelector(name) + \"']\";\n\n        if (!name) {\n          return $([]);\n        }\n\n        if (this.form.length) {\n          group = $(this.form[0].elements).filter(nameSelector);\n        } else {\n          // Not inside a form, check all inputs that also are not inside a form\n          group = $(nameSelector).filter(function () {\n            return $(this)._form().length === 0;\n          });\n        }\n\n        return group.not(this.element);\n      },\n\n      _toggleClasses: function () {\n        var checked = this.element[0].checked;\n        this._toggleClass(\n          this.label,\n          \"ui-checkboxradio-checked\",\n          \"ui-state-active\",\n          checked,\n        );\n\n        if (this.options.icon && this.type === \"checkbox\") {\n          this._toggleClass(\n            this.icon,\n            null,\n            \"ui-icon-check ui-state-checked\",\n            checked,\n          )._toggleClass(this.icon, null, \"ui-icon-blank\", !checked);\n        }\n\n        if (this.type === \"radio\") {\n          this._getRadioGroup().each(function () {\n            var instance = $(this).checkboxradio(\"instance\");\n\n            if (instance) {\n              instance._removeClass(\n                instance.label,\n                \"ui-checkboxradio-checked\",\n                \"ui-state-active\",\n              );\n            }\n          });\n        }\n      },\n\n      _destroy: function () {\n        this._unbindFormResetHandler();\n\n        if (this.icon) {\n          this.icon.remove();\n          this.iconSpace.remove();\n        }\n      },\n\n      _setOption: function (key, value) {\n        // We don't allow the value to be set to nothing\n        if (key === \"label\" && !value) {\n          return;\n        }\n\n        this._super(key, value);\n\n        if (key === \"disabled\") {\n          this._toggleClass(this.label, null, \"ui-state-disabled\", value);\n          this.element[0].disabled = value;\n\n          // Don't refresh when setting disabled\n          return;\n        }\n        this.refresh();\n      },\n\n      _updateIcon: function (checked) {\n        var toAdd = \"ui-icon ui-icon-background \";\n\n        if (this.options.icon) {\n          if (!this.icon) {\n            this.icon = $(\"<span>\");\n            this.iconSpace = $(\"<span> </span>\");\n            this._addClass(this.iconSpace, \"ui-checkboxradio-icon-space\");\n          }\n\n          if (this.type === \"checkbox\") {\n            toAdd += checked\n              ? \"ui-icon-check ui-state-checked\"\n              : \"ui-icon-blank\";\n            this._removeClass(\n              this.icon,\n              null,\n              checked ? \"ui-icon-blank\" : \"ui-icon-check\",\n            );\n          } else {\n            toAdd += \"ui-icon-blank\";\n          }\n          this._addClass(this.icon, \"ui-checkboxradio-icon\", toAdd);\n          if (!checked) {\n            this._removeClass(\n              this.icon,\n              null,\n              \"ui-icon-check ui-state-checked\",\n            );\n          }\n          this.icon.prependTo(this.label).after(this.iconSpace);\n        } else if (this.icon !== undefined) {\n          this.icon.remove();\n          this.iconSpace.remove();\n          delete this.icon;\n        }\n      },\n\n      _updateLabel: function () {\n        // Remove the contents of the label ( minus the icon, icon space, and input )\n        var contents = this.label.contents().not(this.element[0]);\n        if (this.icon) {\n          contents = contents.not(this.icon[0]);\n        }\n        if (this.iconSpace) {\n          contents = contents.not(this.iconSpace[0]);\n        }\n        contents.remove();\n\n        this.label.append(this.options.label);\n      },\n\n      refresh: function () {\n        var checked = this.element[0].checked,\n          isDisabled = this.element[0].disabled;\n\n        this._updateIcon(checked);\n        this._toggleClass(\n          this.label,\n          \"ui-checkboxradio-checked\",\n          \"ui-state-active\",\n          checked,\n        );\n        if (this.options.label !== null) {\n          this._updateLabel();\n        }\n\n        if (isDisabled !== this.options.disabled) {\n          this._setOptions({ disabled: isDisabled });\n        }\n      },\n    },\n  ]);\n\n  var widgetsCheckboxradio = $.ui.checkboxradio;\n\n  /*!\n   * jQuery UI Button 1.13.2\n   * http://jqueryui.com\n   *\n   * Copyright jQuery Foundation and other contributors\n   * Released under the MIT license.\n   * http://jquery.org/license\n   */\n\n  //>>label: Button\n  //>>group: Widgets\n  //>>description: Enhances a form with themeable buttons.\n  //>>docs: http://api.jqueryui.com/button/\n  //>>demos: http://jqueryui.com/button/\n  //>>css.structure: ../../themes/base/core.css\n  //>>css.structure: ../../themes/base/button.css\n  //>>css.theme: ../../themes/base/theme.css\n\n  $.widget(\"ui.button\", {\n    version: \"1.13.2\",\n    defaultElement: \"<button>\",\n    options: {\n      classes: {\n        \"ui-button\": \"ui-corner-all\",\n      },\n      disabled: null,\n      icon: null,\n      iconPosition: \"beginning\",\n      label: null,\n      showLabel: true,\n    },\n\n    _getCreateOptions: function () {\n      var disabled,\n        // This is to support cases like in jQuery Mobile where the base widget does have\n        // an implementation of _getCreateOptions\n        options = this._super() || {};\n\n      this.isInput = this.element.is(\"input\");\n\n      disabled = this.element[0].disabled;\n      if (disabled != null) {\n        options.disabled = disabled;\n      }\n\n      this.originalLabel = this.isInput\n        ? this.element.val()\n        : this.element.html();\n      if (this.originalLabel) {\n        options.label = this.originalLabel;\n      }\n\n      return options;\n    },\n\n    _create: function () {\n      if (!this.option.showLabel & !this.options.icon) {\n        this.options.showLabel = true;\n      }\n\n      // We have to check the option again here even though we did in _getCreateOptions,\n      // because null may have been passed on init which would override what was set in\n      // _getCreateOptions\n      if (this.options.disabled == null) {\n        this.options.disabled = this.element[0].disabled || false;\n      }\n\n      this.hasTitle = !!this.element.attr(\"title\");\n\n      // Check to see if the label needs to be set or if its already correct\n      if (this.options.label && this.options.label !== this.originalLabel) {\n        if (this.isInput) {\n          this.element.val(this.options.label);\n        } else {\n          this.element.html(this.options.label);\n        }\n      }\n      this._addClass(\"ui-button\", \"ui-widget\");\n      this._setOption(\"disabled\", this.options.disabled);\n      this._enhance();\n\n      if (this.element.is(\"a\")) {\n        this._on({\n          keyup: function (event) {\n            if (event.keyCode === $.ui.keyCode.SPACE) {\n              event.preventDefault();\n\n              // Support: PhantomJS <= 1.9, IE 8 Only\n              // If a native click is available use it so we actually cause navigation\n              // otherwise just trigger a click event\n              if (this.element[0].click) {\n                this.element[0].click();\n              } else {\n                this.element.trigger(\"click\");\n              }\n            }\n          },\n        });\n      }\n    },\n\n    _enhance: function () {\n      if (!this.element.is(\"button\")) {\n        this.element.attr(\"role\", \"button\");\n      }\n\n      if (this.options.icon) {\n        this._updateIcon(\"icon\", this.options.icon);\n        this._updateTooltip();\n      }\n    },\n\n    _updateTooltip: function () {\n      this.title = this.element.attr(\"title\");\n\n      if (!this.options.showLabel && !this.title) {\n        this.element.attr(\"title\", this.options.label);\n      }\n    },\n\n    _updateIcon: function (option, value) {\n      var icon = option !== \"iconPosition\",\n        position = icon ? this.options.iconPosition : value,\n        displayBlock = position === \"top\" || position === \"bottom\";\n\n      // Create icon\n      if (!this.icon) {\n        this.icon = $(\"<span>\");\n\n        this._addClass(this.icon, \"ui-button-icon\", \"ui-icon\");\n\n        if (!this.options.showLabel) {\n          this._addClass(\"ui-button-icon-only\");\n        }\n      } else if (icon) {\n        // If we are updating the icon remove the old icon class\n        this._removeClass(this.icon, null, this.options.icon);\n      }\n\n      // If we are updating the icon add the new icon class\n      if (icon) {\n        this._addClass(this.icon, null, value);\n      }\n\n      this._attachIcon(position);\n\n      // If the icon is on top or bottom we need to add the ui-widget-icon-block class and remove\n      // the iconSpace if there is one.\n      if (displayBlock) {\n        this._addClass(this.icon, null, \"ui-widget-icon-block\");\n        if (this.iconSpace) {\n          this.iconSpace.remove();\n        }\n      } else {\n        // Position is beginning or end so remove the ui-widget-icon-block class and add the\n        // space if it does not exist\n        if (!this.iconSpace) {\n          this.iconSpace = $(\"<span> </span>\");\n          this._addClass(this.iconSpace, \"ui-button-icon-space\");\n        }\n        this._removeClass(this.icon, null, \"ui-wiget-icon-block\");\n        this._attachIconSpace(position);\n      }\n    },\n\n    _destroy: function () {\n      this.element.removeAttr(\"role\");\n\n      if (this.icon) {\n        this.icon.remove();\n      }\n      if (this.iconSpace) {\n        this.iconSpace.remove();\n      }\n      if (!this.hasTitle) {\n        this.element.removeAttr(\"title\");\n      }\n    },\n\n    _attachIconSpace: function (iconPosition) {\n      this.icon[/^(?:end|bottom)/.test(iconPosition) ? \"before\" : \"after\"](\n        this.iconSpace,\n      );\n    },\n\n    _attachIcon: function (iconPosition) {\n      this.element[/^(?:end|bottom)/.test(iconPosition) ? \"append\" : \"prepend\"](\n        this.icon,\n      );\n    },\n\n    _setOptions: function (options) {\n      var newShowLabel =\n          options.showLabel === undefined\n            ? this.options.showLabel\n            : options.showLabel,\n        newIcon = options.icon === undefined ? this.options.icon : options.icon;\n\n      if (!newShowLabel && !newIcon) {\n        options.showLabel = true;\n      }\n      this._super(options);\n    },\n\n    _setOption: function (key, value) {\n      if (key === \"icon\") {\n        if (value) {\n          this._updateIcon(key, value);\n        } else if (this.icon) {\n          this.icon.remove();\n          if (this.iconSpace) {\n            this.iconSpace.remove();\n          }\n        }\n      }\n\n      if (key === \"iconPosition\") {\n        this._updateIcon(key, value);\n      }\n\n      // Make sure we can't end up with a button that has neither text nor icon\n      if (key === \"showLabel\") {\n        this._toggleClass(\"ui-button-icon-only\", null, !value);\n        this._updateTooltip();\n      }\n\n      if (key === \"label\") {\n        if (this.isInput) {\n          this.element.val(value);\n        } else {\n          // If there is an icon, append it, else nothing then append the value\n          // this avoids removal of the icon when setting label text\n          this.element.html(value);\n          if (this.icon) {\n            this._attachIcon(this.options.iconPosition);\n            this._attachIconSpace(this.options.iconPosition);\n          }\n        }\n      }\n\n      this._super(key, value);\n\n      if (key === \"disabled\") {\n        this._toggleClass(null, \"ui-state-disabled\", value);\n        this.element[0].disabled = value;\n        if (value) {\n          this.element.trigger(\"blur\");\n        }\n      }\n    },\n\n    refresh: function () {\n      // Make sure to only check disabled if its an element that supports this otherwise\n      // check for the disabled class to determine state\n      var isDisabled = this.element.is(\"input, button\")\n        ? this.element[0].disabled\n        : this.element.hasClass(\"ui-button-disabled\");\n\n      if (isDisabled !== this.options.disabled) {\n        this._setOptions({ disabled: isDisabled });\n      }\n\n      this._updateTooltip();\n    },\n  });\n\n  // DEPRECATED\n  if ($.uiBackCompat !== false) {\n    // Text and Icons options\n    $.widget(\"ui.button\", $.ui.button, {\n      options: {\n        text: true,\n        icons: {\n          primary: null,\n          secondary: null,\n        },\n      },\n\n      _create: function () {\n        if (this.options.showLabel && !this.options.text) {\n          this.options.showLabel = this.options.text;\n        }\n        if (!this.options.showLabel && this.options.text) {\n          this.options.text = this.options.showLabel;\n        }\n        if (\n          !this.options.icon &&\n          (this.options.icons.primary || this.options.icons.secondary)\n        ) {\n          if (this.options.icons.primary) {\n            this.options.icon = this.options.icons.primary;\n          } else {\n            this.options.icon = this.options.icons.secondary;\n            this.options.iconPosition = \"end\";\n          }\n        } else if (this.options.icon) {\n          this.options.icons.primary = this.options.icon;\n        }\n        this._super();\n      },\n\n      _setOption: function (key, value) {\n        if (key === \"text\") {\n          this._super(\"showLabel\", value);\n          return;\n        }\n        if (key === \"showLabel\") {\n          this.options.text = value;\n        }\n        if (key === \"icon\") {\n          this.options.icons.primary = value;\n        }\n        if (key === \"icons\") {\n          if (value.primary) {\n            this._super(\"icon\", value.primary);\n            this._super(\"iconPosition\", \"beginning\");\n          } else if (value.secondary) {\n            this._super(\"icon\", value.secondary);\n            this._super(\"iconPosition\", \"end\");\n          }\n        }\n        this._superApply(arguments);\n      },\n    });\n\n    $.fn.button = (function (orig) {\n      return function (options) {\n        var isMethodCall = typeof options === \"string\";\n        var args = Array.prototype.slice.call(arguments, 1);\n        var returnValue = this;\n\n        if (isMethodCall) {\n          // If this is an empty collection, we need to have the instance method\n          // return undefined instead of the jQuery instance\n          if (!this.length && options === \"instance\") {\n            returnValue = undefined;\n          } else {\n            this.each(function () {\n              var methodValue;\n              var type = $(this).attr(\"type\");\n              var name =\n                type !== \"checkbox\" && type !== \"radio\"\n                  ? \"button\"\n                  : \"checkboxradio\";\n              var instance = $.data(this, \"ui-\" + name);\n\n              if (options === \"instance\") {\n                returnValue = instance;\n                return false;\n              }\n\n              if (!instance) {\n                return $.error(\n                  \"cannot call methods on button\" +\n                    \" prior to initialization; \" +\n                    \"attempted to call method '\" +\n                    options +\n                    \"'\",\n                );\n              }\n\n              if (\n                typeof instance[options] !== \"function\" ||\n                options.charAt(0) === \"_\"\n              ) {\n                return $.error(\n                  \"no such method '\" +\n                    options +\n                    \"' for button\" +\n                    \" widget instance\",\n                );\n              }\n\n              methodValue = instance[options].apply(instance, args);\n\n              if (methodValue !== instance && methodValue !== undefined) {\n                returnValue =\n                  methodValue && methodValue.jquery\n                    ? returnValue.pushStack(methodValue.get())\n                    : methodValue;\n                return false;\n              }\n            });\n          }\n        } else {\n          // Allow multiple hashes to be passed on init\n          if (args.length) {\n            options = $.widget.extend.apply(null, [options].concat(args));\n          }\n\n          this.each(function () {\n            var type = $(this).attr(\"type\");\n            var name =\n              type !== \"checkbox\" && type !== \"radio\"\n                ? \"button\"\n                : \"checkboxradio\";\n            var instance = $.data(this, \"ui-\" + name);\n\n            if (instance) {\n              instance.option(options || {});\n              if (instance._init) {\n                instance._init();\n              }\n            } else {\n              if (name === \"button\") {\n                orig.call($(this), options);\n                return;\n              }\n\n              $(this).checkboxradio($.extend({ icon: false }, options));\n            }\n          });\n        }\n\n        return returnValue;\n      };\n    })($.fn.button);\n\n    $.fn.buttonset = function () {\n      if (!$.ui.controlgroup) {\n        $.error(\"Controlgroup widget missing\");\n      }\n      if (\n        arguments[0] === \"option\" &&\n        arguments[1] === \"items\" &&\n        arguments[2]\n      ) {\n        return this.controlgroup.apply(this, [\n          arguments[0],\n          \"items.button\",\n          arguments[2],\n        ]);\n      }\n      if (arguments[0] === \"option\" && arguments[1] === \"items\") {\n        return this.controlgroup.apply(this, [arguments[0], \"items.button\"]);\n      }\n      if (typeof arguments[0] === \"object\" && arguments[0].items) {\n        arguments[0].items = {\n          button: arguments[0].items,\n        };\n      }\n      return this.controlgroup.apply(this, arguments);\n    };\n  }\n\n  var widgetsButton = $.ui.button;\n\n  /* eslint-disable max-len, camelcase */\n  /*!\n   * jQuery UI Datepicker 1.13.2\n   * http://jqueryui.com\n   *\n   * Copyright jQuery Foundation and other contributors\n   * Released under the MIT license.\n   * http://jquery.org/license\n   */\n\n  //>>label: Datepicker\n  //>>group: Widgets\n  //>>description: Displays a calendar from an input or inline for selecting dates.\n  //>>docs: http://api.jqueryui.com/datepicker/\n  //>>demos: http://jqueryui.com/datepicker/\n  //>>css.structure: ../../themes/base/core.css\n  //>>css.structure: ../../themes/base/datepicker.css\n  //>>css.theme: ../../themes/base/theme.css\n\n  $.extend($.ui, { datepicker: { version: \"1.13.2\" } });\n\n  var datepicker_instActive;\n\n  function datepicker_getZindex(elem) {\n    var position, value;\n    while (elem.length && elem[0] !== document) {\n      // Ignore z-index if position is set to a value where z-index is ignored by the browser\n      // This makes behavior of this function consistent across browsers\n      // WebKit always returns auto if the element is positioned\n      position = elem.css(\"position\");\n      if (\n        position === \"absolute\" ||\n        position === \"relative\" ||\n        position === \"fixed\"\n      ) {\n        // IE returns 0 when zIndex is not specified\n        // other browsers return a string\n        // we ignore the case of nested elements with an explicit value of 0\n        // <div style=\"z-index: -10;\"><div style=\"z-index: 0;\"></div></div>\n        value = parseInt(elem.css(\"zIndex\"), 10);\n        if (!isNaN(value) && value !== 0) {\n          return value;\n        }\n      }\n      elem = elem.parent();\n    }\n\n    return 0;\n  }\n\n  /* Date picker manager.\n   Use the singleton instance of this class, $.datepicker, to interact with the date picker.\n   Settings for (groups of) date pickers are maintained in an instance object,\n   allowing multiple different settings on the same page. */\n\n  function Datepicker() {\n    this._curInst = null; // The current instance in use\n    this._keyEvent = false; // If the last event was a key event\n    this._disabledInputs = []; // List of date picker inputs that have been disabled\n    this._datepickerShowing = false; // True if the popup picker is showing , false if not\n    this._inDialog = false; // True if showing within a \"dialog\", false if not\n    this._mainDivId = \"ui-datepicker-div\"; // The ID of the main datepicker division\n    this._inlineClass = \"ui-datepicker-inline\"; // The name of the inline marker class\n    this._appendClass = \"ui-datepicker-append\"; // The name of the append marker class\n    this._triggerClass = \"ui-datepicker-trigger\"; // The name of the trigger marker class\n    this._dialogClass = \"ui-datepicker-dialog\"; // The name of the dialog marker class\n    this._disableClass = \"ui-datepicker-disabled\"; // The name of the disabled covering marker class\n    this._unselectableClass = \"ui-datepicker-unselectable\"; // The name of the unselectable cell marker class\n    this._currentClass = \"ui-datepicker-current-day\"; // The name of the current day marker class\n    this._dayOverClass = \"ui-datepicker-days-cell-over\"; // The name of the day hover marker class\n    this.regional = []; // Available regional settings, indexed by language code\n    this.regional[\"\"] = {\n      // Default regional settings\n      closeText: \"Done\", // Display text for close link\n      prevText: \"Prev\", // Display text for previous month link\n      nextText: \"Next\", // Display text for next month link\n      currentText: \"Today\", // Display text for current month link\n      monthNames: [\n        \"January\",\n        \"February\",\n        \"March\",\n        \"April\",\n        \"May\",\n        \"June\",\n        \"July\",\n        \"August\",\n        \"September\",\n        \"October\",\n        \"November\",\n        \"December\",\n      ], // Names of months for drop-down and formatting\n      monthNamesShort: [\n        \"Jan\",\n        \"Feb\",\n        \"Mar\",\n        \"Apr\",\n        \"May\",\n        \"Jun\",\n        \"Jul\",\n        \"Aug\",\n        \"Sep\",\n        \"Oct\",\n        \"Nov\",\n        \"Dec\",\n      ], // For formatting\n      dayNames: [\n        \"Sunday\",\n        \"Monday\",\n        \"Tuesday\",\n        \"Wednesday\",\n        \"Thursday\",\n        \"Friday\",\n        \"Saturday\",\n      ], // For formatting\n      dayNamesShort: [\"Sun\", \"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\"], // For formatting\n      dayNamesMin: [\"Su\", \"Mo\", \"Tu\", \"We\", \"Th\", \"Fr\", \"Sa\"], // Column headings for days starting at Sunday\n      weekHeader: \"Wk\", // Column header for week of the year\n      dateFormat: \"mm/dd/yy\", // See format options on parseDate\n      firstDay: 0, // The first day of the week, Sun = 0, Mon = 1, ...\n      isRTL: false, // True if right-to-left language, false if left-to-right\n      showMonthAfterYear: false, // True if the year select precedes month, false for month then year\n      yearSuffix: \"\", // Additional text to append to the year in the month headers,\n      selectMonthLabel: \"Select month\", // Invisible label for month selector\n      selectYearLabel: \"Select year\", // Invisible label for year selector\n    };\n    this._defaults = {\n      // Global defaults for all the date picker instances\n      showOn: \"focus\", // \"focus\" for popup on focus,\n      // \"button\" for trigger button, or \"both\" for either\n      showAnim: \"fadeIn\", // Name of jQuery animation for popup\n      showOptions: {}, // Options for enhanced animations\n      defaultDate: null, // Used when field is blank: actual date,\n      // +/-number for offset from today, null for today\n      appendText: \"\", // Display text following the input box, e.g. showing the format\n      buttonText: \"...\", // Text for trigger button\n      buttonImage: \"\", // URL for trigger button image\n      buttonImageOnly: false, // True if the image appears alone, false if it appears on a button\n      hideIfNoPrevNext: false, // True to hide next/previous month links\n      // if not applicable, false to just disable them\n      navigationAsDateFormat: false, // True if date formatting applied to prev/today/next links\n      gotoCurrent: false, // True if today link goes back to current selection instead\n      changeMonth: false, // True if month can be selected directly, false if only prev/next\n      changeYear: false, // True if year can be selected directly, false if only prev/next\n      yearRange: \"c-10:c+10\", // Range of years to display in drop-down,\n      // either relative to today's year (-nn:+nn), relative to currently displayed year\n      // (c-nn:c+nn), absolute (nnnn:nnnn), or a combination of the above (nnnn:-n)\n      showOtherMonths: false, // True to show dates in other months, false to leave blank\n      selectOtherMonths: false, // True to allow selection of dates in other months, false for unselectable\n      showWeek: false, // True to show week of the year, false to not show it\n      calculateWeek: this.iso8601Week, // How to calculate the week of the year,\n      // takes a Date and returns the number of the week for it\n      shortYearCutoff: \"+10\", // Short year values < this are in the current century,\n      // > this are in the previous century,\n      // string value starting with \"+\" for current year + value\n      minDate: null, // The earliest selectable date, or null for no limit\n      maxDate: null, // The latest selectable date, or null for no limit\n      duration: \"fast\", // Duration of display/closure\n      beforeShowDay: null, // Function that takes a date and returns an array with\n      // [0] = true if selectable, false if not, [1] = custom CSS class name(s) or \"\",\n      // [2] = cell title (optional), e.g. $.datepicker.noWeekends\n      beforeShow: null, // Function that takes an input field and\n      // returns a set of custom settings for the date picker\n      onSelect: null, // Define a callback function when a date is selected\n      onChangeMonthYear: null, // Define a callback function when the month or year is changed\n      onClose: null, // Define a callback function when the datepicker is closed\n      onUpdateDatepicker: null, // Define a callback function when the datepicker is updated\n      numberOfMonths: 1, // Number of months to show at a time\n      showCurrentAtPos: 0, // The position in multipe months at which to show the current month (starting at 0)\n      stepMonths: 1, // Number of months to step back/forward\n      stepBigMonths: 12, // Number of months to step back/forward for the big links\n      altField: \"\", // Selector for an alternate field to store selected dates into\n      altFormat: \"\", // The date format to use for the alternate field\n      constrainInput: true, // The input is constrained by the current date format\n      showButtonPanel: false, // True to show button panel, false to not show it\n      autoSize: false, // True to size the input for the date format, false to leave as is\n      disabled: false, // The initial disabled state\n    };\n    $.extend(this._defaults, this.regional[\"\"]);\n    this.regional.en = $.extend(true, {}, this.regional[\"\"]);\n    this.regional[\"en-US\"] = $.extend(true, {}, this.regional.en);\n    this.dpDiv = datepicker_bindHover(\n      $(\n        \"<div id='\" +\n          this._mainDivId +\n          \"' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>\",\n      ),\n    );\n  }\n\n  $.extend(Datepicker.prototype, {\n    /* Class name added to elements to indicate already configured with a date picker. */\n    markerClassName: \"hasDatepicker\",\n\n    //Keep track of the maximum number of rows displayed (see #7043)\n    maxRows: 4,\n\n    // TODO rename to \"widget\" when switching to widget factory\n    _widgetDatepicker: function () {\n      return this.dpDiv;\n    },\n\n    /* Override the default settings for all instances of the date picker.\n     * @param  settings  object - the new settings to use as defaults (anonymous object)\n     * @return the manager object\n     */\n    setDefaults: function (settings) {\n      datepicker_extendRemove(this._defaults, settings || {});\n      return this;\n    },\n\n    /* Attach the date picker to a jQuery selection.\n     * @param  target\telement - the target input field or division or span\n     * @param  settings  object - the new settings to use for this date picker instance (anonymous)\n     */\n    _attachDatepicker: function (target, settings) {\n      var nodeName, inline, inst;\n      nodeName = target.nodeName.toLowerCase();\n      inline = nodeName === \"div\" || nodeName === \"span\";\n      if (!target.id) {\n        this.uuid += 1;\n        target.id = \"dp\" + this.uuid;\n      }\n      inst = this._newInst($(target), inline);\n      inst.settings = $.extend({}, settings || {});\n      if (nodeName === \"input\") {\n        this._connectDatepicker(target, inst);\n      } else if (inline) {\n        this._inlineDatepicker(target, inst);\n      }\n    },\n\n    /* Create a new instance object. */\n    _newInst: function (target, inline) {\n      var id = target[0].id.replace(/([^A-Za-z0-9_\\-])/g, \"\\\\\\\\$1\"); // escape jQuery meta chars\n      return {\n        id: id,\n        input: target, // associated target\n        selectedDay: 0,\n        selectedMonth: 0,\n        selectedYear: 0, // current selection\n        drawMonth: 0,\n        drawYear: 0, // month being drawn\n        inline: inline, // is datepicker inline or not\n        dpDiv: !inline\n          ? this.dpDiv // presentation div\n          : datepicker_bindHover(\n              $(\n                \"<div class='\" +\n                  this._inlineClass +\n                  \" ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>\",\n              ),\n            ),\n      };\n    },\n\n    /* Attach the date picker to an input field. */\n    _connectDatepicker: function (target, inst) {\n      var input = $(target);\n      inst.append = $([]);\n      inst.trigger = $([]);\n      if (input.hasClass(this.markerClassName)) {\n        return;\n      }\n      this._attachments(input, inst);\n      input\n        .addClass(this.markerClassName)\n        .on(\"keydown\", this._doKeyDown)\n        .on(\"keypress\", this._doKeyPress)\n        .on(\"keyup\", this._doKeyUp);\n      this._autoSize(inst);\n      $.data(target, \"datepicker\", inst);\n\n      //If disabled option is true, disable the datepicker once it has been attached to the input (see ticket #5665)\n      if (inst.settings.disabled) {\n        this._disableDatepicker(target);\n      }\n    },\n\n    /* Make attachments based on settings. */\n    _attachments: function (input, inst) {\n      var showOn,\n        buttonText,\n        buttonImage,\n        appendText = this._get(inst, \"appendText\"),\n        isRTL = this._get(inst, \"isRTL\");\n\n      if (inst.append) {\n        inst.append.remove();\n      }\n      if (appendText) {\n        inst.append = $(\"<span>\").addClass(this._appendClass).text(appendText);\n        input[isRTL ? \"before\" : \"after\"](inst.append);\n      }\n\n      input.off(\"focus\", this._showDatepicker);\n\n      if (inst.trigger) {\n        inst.trigger.remove();\n      }\n\n      showOn = this._get(inst, \"showOn\");\n      if (showOn === \"focus\" || showOn === \"both\") {\n        // pop-up date picker when in the marked field\n        input.on(\"focus\", this._showDatepicker);\n      }\n      if (showOn === \"button\" || showOn === \"both\") {\n        // pop-up date picker when button clicked\n        buttonText = this._get(inst, \"buttonText\");\n        buttonImage = this._get(inst, \"buttonImage\");\n\n        if (this._get(inst, \"buttonImageOnly\")) {\n          inst.trigger = $(\"<img>\").addClass(this._triggerClass).attr({\n            src: buttonImage,\n            alt: buttonText,\n            title: buttonText,\n          });\n        } else {\n          inst.trigger = $(\"<button type='button'>\").addClass(\n            this._triggerClass,\n          );\n          if (buttonImage) {\n            inst.trigger.html(\n              $(\"<img>\").attr({\n                src: buttonImage,\n                alt: buttonText,\n                title: buttonText,\n              }),\n            );\n          } else {\n            inst.trigger.text(buttonText);\n          }\n        }\n\n        input[isRTL ? \"before\" : \"after\"](inst.trigger);\n        inst.trigger.on(\"click\", function () {\n          if (\n            $.datepicker._datepickerShowing &&\n            $.datepicker._lastInput === input[0]\n          ) {\n            $.datepicker._hideDatepicker();\n          } else if (\n            $.datepicker._datepickerShowing &&\n            $.datepicker._lastInput !== input[0]\n          ) {\n            $.datepicker._hideDatepicker();\n            $.datepicker._showDatepicker(input[0]);\n          } else {\n            $.datepicker._showDatepicker(input[0]);\n          }\n          return false;\n        });\n      }\n    },\n\n    /* Apply the maximum length for the date format. */\n    _autoSize: function (inst) {\n      if (this._get(inst, \"autoSize\") && !inst.inline) {\n        var findMax,\n          max,\n          maxI,\n          i,\n          date = new Date(2009, 12 - 1, 20), // Ensure double digits\n          dateFormat = this._get(inst, \"dateFormat\");\n\n        if (dateFormat.match(/[DM]/)) {\n          findMax = function (names) {\n            max = 0;\n            maxI = 0;\n            for (i = 0; i < names.length; i++) {\n              if (names[i].length > max) {\n                max = names[i].length;\n                maxI = i;\n              }\n            }\n            return maxI;\n          };\n          date.setMonth(\n            findMax(\n              this._get(\n                inst,\n                dateFormat.match(/MM/) ? \"monthNames\" : \"monthNamesShort\",\n              ),\n            ),\n          );\n          date.setDate(\n            findMax(\n              this._get(\n                inst,\n                dateFormat.match(/DD/) ? \"dayNames\" : \"dayNamesShort\",\n              ),\n            ) +\n              20 -\n              date.getDay(),\n          );\n        }\n        inst.input.attr(\"size\", this._formatDate(inst, date).length);\n      }\n    },\n\n    /* Attach an inline date picker to a div. */\n    _inlineDatepicker: function (target, inst) {\n      var divSpan = $(target);\n      if (divSpan.hasClass(this.markerClassName)) {\n        return;\n      }\n      divSpan.addClass(this.markerClassName).append(inst.dpDiv);\n      $.data(target, \"datepicker\", inst);\n      this._setDate(inst, this._getDefaultDate(inst), true);\n      this._updateDatepicker(inst);\n      this._updateAlternate(inst);\n\n      //If disabled option is true, disable the datepicker before showing it (see ticket #5665)\n      if (inst.settings.disabled) {\n        this._disableDatepicker(target);\n      }\n\n      // Set display:block in place of inst.dpDiv.show() which won't work on disconnected elements\n      // http://bugs.jqueryui.com/ticket/7552 - A Datepicker created on a detached div has zero height\n      inst.dpDiv.css(\"display\", \"block\");\n    },\n\n    /* Pop-up the date picker in a \"dialog\" box.\n     * @param  input element - ignored\n     * @param  date\tstring or Date - the initial date to display\n     * @param  onSelect  function - the function to call when a date is selected\n     * @param  settings  object - update the dialog date picker instance's settings (anonymous object)\n     * @param  pos int[2] - coordinates for the dialog's position within the screen or\n     *\t\t\t\t\tevent - with x/y coordinates or\n     *\t\t\t\t\tleave empty for default (screen centre)\n     * @return the manager object\n     */\n    _dialogDatepicker: function (input, date, onSelect, settings, pos) {\n      var id,\n        browserWidth,\n        browserHeight,\n        scrollX,\n        scrollY,\n        inst = this._dialogInst; // internal instance\n\n      if (!inst) {\n        this.uuid += 1;\n        id = \"dp\" + this.uuid;\n        this._dialogInput = $(\n          \"<input type='text' id='\" +\n            id +\n            \"' style='position: absolute; top: -100px; width: 0px;'/>\",\n        );\n        this._dialogInput.on(\"keydown\", this._doKeyDown);\n        $(\"body\").append(this._dialogInput);\n        inst = this._dialogInst = this._newInst(this._dialogInput, false);\n        inst.settings = {};\n        $.data(this._dialogInput[0], \"datepicker\", inst);\n      }\n      datepicker_extendRemove(inst.settings, settings || {});\n      date =\n        date && date.constructor === Date ? this._formatDate(inst, date) : date;\n      this._dialogInput.val(date);\n\n      this._pos = pos ? (pos.length ? pos : [pos.pageX, pos.pageY]) : null;\n      if (!this._pos) {\n        browserWidth = document.documentElement.clientWidth;\n        browserHeight = document.documentElement.clientHeight;\n        scrollX =\n          document.documentElement.scrollLeft || document.body.scrollLeft;\n        scrollY = document.documentElement.scrollTop || document.body.scrollTop;\n        this._pos =\n          // should use actual width/height below\n          [browserWidth / 2 - 100 + scrollX, browserHeight / 2 - 150 + scrollY];\n      }\n\n      // Move input on screen for focus, but hidden behind dialog\n      this._dialogInput\n        .css(\"left\", this._pos[0] + 20 + \"px\")\n        .css(\"top\", this._pos[1] + \"px\");\n      inst.settings.onSelect = onSelect;\n      this._inDialog = true;\n      this.dpDiv.addClass(this._dialogClass);\n      this._showDatepicker(this._dialogInput[0]);\n      if ($.blockUI) {\n        $.blockUI(this.dpDiv);\n      }\n      $.data(this._dialogInput[0], \"datepicker\", inst);\n      return this;\n    },\n\n    /* Detach a datepicker from its control.\n     * @param  target\telement - the target input field or division or span\n     */\n    _destroyDatepicker: function (target) {\n      var nodeName,\n        $target = $(target),\n        inst = $.data(target, \"datepicker\");\n\n      if (!$target.hasClass(this.markerClassName)) {\n        return;\n      }\n\n      nodeName = target.nodeName.toLowerCase();\n      $.removeData(target, \"datepicker\");\n      if (nodeName === \"input\") {\n        inst.append.remove();\n        inst.trigger.remove();\n        $target\n          .removeClass(this.markerClassName)\n          .off(\"focus\", this._showDatepicker)\n          .off(\"keydown\", this._doKeyDown)\n          .off(\"keypress\", this._doKeyPress)\n          .off(\"keyup\", this._doKeyUp);\n      } else if (nodeName === \"div\" || nodeName === \"span\") {\n        $target.removeClass(this.markerClassName).empty();\n      }\n\n      if (datepicker_instActive === inst) {\n        datepicker_instActive = null;\n        this._curInst = null;\n      }\n    },\n\n    /* Enable the date picker to a jQuery selection.\n     * @param  target\telement - the target input field or division or span\n     */\n    _enableDatepicker: function (target) {\n      var nodeName,\n        inline,\n        $target = $(target),\n        inst = $.data(target, \"datepicker\");\n\n      if (!$target.hasClass(this.markerClassName)) {\n        return;\n      }\n\n      nodeName = target.nodeName.toLowerCase();\n      if (nodeName === \"input\") {\n        target.disabled = false;\n        inst.trigger\n          .filter(\"button\")\n          .each(function () {\n            this.disabled = false;\n          })\n          .end()\n          .filter(\"img\")\n          .css({ opacity: \"1.0\", cursor: \"\" });\n      } else if (nodeName === \"div\" || nodeName === \"span\") {\n        inline = $target.children(\".\" + this._inlineClass);\n        inline.children().removeClass(\"ui-state-disabled\");\n        inline\n          .find(\"select.ui-datepicker-month, select.ui-datepicker-year\")\n          .prop(\"disabled\", false);\n      }\n      this._disabledInputs = $.map(\n        this._disabledInputs,\n\n        // Delete entry\n        function (value) {\n          return value === target ? null : value;\n        },\n      );\n    },\n\n    /* Disable the date picker to a jQuery selection.\n     * @param  target\telement - the target input field or division or span\n     */\n    _disableDatepicker: function (target) {\n      var nodeName,\n        inline,\n        $target = $(target),\n        inst = $.data(target, \"datepicker\");\n\n      if (!$target.hasClass(this.markerClassName)) {\n        return;\n      }\n\n      nodeName = target.nodeName.toLowerCase();\n      if (nodeName === \"input\") {\n        target.disabled = true;\n        inst.trigger\n          .filter(\"button\")\n          .each(function () {\n            this.disabled = true;\n          })\n          .end()\n          .filter(\"img\")\n          .css({ opacity: \"0.5\", cursor: \"default\" });\n      } else if (nodeName === \"div\" || nodeName === \"span\") {\n        inline = $target.children(\".\" + this._inlineClass);\n        inline.children().addClass(\"ui-state-disabled\");\n        inline\n          .find(\"select.ui-datepicker-month, select.ui-datepicker-year\")\n          .prop(\"disabled\", true);\n      }\n      this._disabledInputs = $.map(\n        this._disabledInputs,\n\n        // Delete entry\n        function (value) {\n          return value === target ? null : value;\n        },\n      );\n      this._disabledInputs[this._disabledInputs.length] = target;\n    },\n\n    /* Is the first field in a jQuery collection disabled as a datepicker?\n     * @param  target\telement - the target input field or division or span\n     * @return boolean - true if disabled, false if enabled\n     */\n    _isDisabledDatepicker: function (target) {\n      if (!target) {\n        return false;\n      }\n      for (var i = 0; i < this._disabledInputs.length; i++) {\n        if (this._disabledInputs[i] === target) {\n          return true;\n        }\n      }\n      return false;\n    },\n\n    /* Retrieve the instance data for the target control.\n     * @param  target  element - the target input field or division or span\n     * @return  object - the associated instance data\n     * @throws  error if a jQuery problem getting data\n     */\n    _getInst: function (target) {\n      try {\n        return $.data(target, \"datepicker\");\n      } catch (err) {\n        throw \"Missing instance data for this datepicker\";\n      }\n    },\n\n    /* Update or retrieve the settings for a date picker attached to an input field or division.\n     * @param  target  element - the target input field or division or span\n     * @param  name\tobject - the new settings to update or\n     *\t\t\t\tstring - the name of the setting to change or retrieve,\n     *\t\t\t\twhen retrieving also \"all\" for all instance settings or\n     *\t\t\t\t\"defaults\" for all global defaults\n     * @param  value   any - the new value for the setting\n     *\t\t\t\t(omit if above is an object or to retrieve a value)\n     */\n    _optionDatepicker: function (target, name, value) {\n      var settings,\n        date,\n        minDate,\n        maxDate,\n        inst = this._getInst(target);\n\n      if (arguments.length === 2 && typeof name === \"string\") {\n        return name === \"defaults\"\n          ? $.extend({}, $.datepicker._defaults)\n          : inst\n          ? name === \"all\"\n            ? $.extend({}, inst.settings)\n            : this._get(inst, name)\n          : null;\n      }\n\n      settings = name || {};\n      if (typeof name === \"string\") {\n        settings = {};\n        settings[name] = value;\n      }\n\n      if (inst) {\n        if (this._curInst === inst) {\n          this._hideDatepicker();\n        }\n\n        date = this._getDateDatepicker(target, true);\n        minDate = this._getMinMaxDate(inst, \"min\");\n        maxDate = this._getMinMaxDate(inst, \"max\");\n        datepicker_extendRemove(inst.settings, settings);\n\n        // reformat the old minDate/maxDate values if dateFormat changes and a new minDate/maxDate isn't provided\n        if (\n          minDate !== null &&\n          settings.dateFormat !== undefined &&\n          settings.minDate === undefined\n        ) {\n          inst.settings.minDate = this._formatDate(inst, minDate);\n        }\n        if (\n          maxDate !== null &&\n          settings.dateFormat !== undefined &&\n          settings.maxDate === undefined\n        ) {\n          inst.settings.maxDate = this._formatDate(inst, maxDate);\n        }\n        if (\"disabled\" in settings) {\n          if (settings.disabled) {\n            this._disableDatepicker(target);\n          } else {\n            this._enableDatepicker(target);\n          }\n        }\n        this._attachments($(target), inst);\n        this._autoSize(inst);\n        this._setDate(inst, date);\n        this._updateAlternate(inst);\n        this._updateDatepicker(inst);\n      }\n    },\n\n    // Change method deprecated\n    _changeDatepicker: function (target, name, value) {\n      this._optionDatepicker(target, name, value);\n    },\n\n    /* Redraw the date picker attached to an input field or division.\n     * @param  target  element - the target input field or division or span\n     */\n    _refreshDatepicker: function (target) {\n      var inst = this._getInst(target);\n      if (inst) {\n        this._updateDatepicker(inst);\n      }\n    },\n\n    /* Set the dates for a jQuery selection.\n     * @param  target element - the target input field or division or span\n     * @param  date\tDate - the new date\n     */\n    _setDateDatepicker: function (target, date) {\n      var inst = this._getInst(target);\n      if (inst) {\n        this._setDate(inst, date);\n        this._updateDatepicker(inst);\n        this._updateAlternate(inst);\n      }\n    },\n\n    /* Get the date(s) for the first entry in a jQuery selection.\n     * @param  target element - the target input field or division or span\n     * @param  noDefault boolean - true if no default date is to be used\n     * @return Date - the current date\n     */\n    _getDateDatepicker: function (target, noDefault) {\n      var inst = this._getInst(target);\n      if (inst && !inst.inline) {\n        this._setDateFromField(inst, noDefault);\n      }\n      return inst ? this._getDate(inst) : null;\n    },\n\n    /* Handle keystrokes. */\n    _doKeyDown: function (event) {\n      var onSelect,\n        dateStr,\n        sel,\n        inst = $.datepicker._getInst(event.target),\n        handled = true,\n        isRTL = inst.dpDiv.is(\".ui-datepicker-rtl\");\n\n      inst._keyEvent = true;\n      if ($.datepicker._datepickerShowing) {\n        switch (event.keyCode) {\n          case 9:\n            $.datepicker._hideDatepicker();\n            handled = false;\n            break; // hide on tab out\n          case 13:\n            sel = $(\n              \"td.\" +\n                $.datepicker._dayOverClass +\n                \":not(.\" +\n                $.datepicker._currentClass +\n                \")\",\n              inst.dpDiv,\n            );\n            if (sel[0]) {\n              $.datepicker._selectDay(\n                event.target,\n                inst.selectedMonth,\n                inst.selectedYear,\n                sel[0],\n              );\n            }\n\n            onSelect = $.datepicker._get(inst, \"onSelect\");\n            if (onSelect) {\n              dateStr = $.datepicker._formatDate(inst);\n\n              // Trigger custom callback\n              onSelect.apply(inst.input ? inst.input[0] : null, [\n                dateStr,\n                inst,\n              ]);\n            } else {\n              $.datepicker._hideDatepicker();\n            }\n\n            return false; // don't submit the form\n          case 27:\n            $.datepicker._hideDatepicker();\n            break; // hide on escape\n          case 33:\n            $.datepicker._adjustDate(\n              event.target,\n              event.ctrlKey\n                ? -$.datepicker._get(inst, \"stepBigMonths\")\n                : -$.datepicker._get(inst, \"stepMonths\"),\n              \"M\",\n            );\n            break; // previous month/year on page up/+ ctrl\n          case 34:\n            $.datepicker._adjustDate(\n              event.target,\n              event.ctrlKey\n                ? +$.datepicker._get(inst, \"stepBigMonths\")\n                : +$.datepicker._get(inst, \"stepMonths\"),\n              \"M\",\n            );\n            break; // next month/year on page down/+ ctrl\n          case 35:\n            if (event.ctrlKey || event.metaKey) {\n              $.datepicker._clearDate(event.target);\n            }\n            handled = event.ctrlKey || event.metaKey;\n            break; // clear on ctrl or command +end\n          case 36:\n            if (event.ctrlKey || event.metaKey) {\n              $.datepicker._gotoToday(event.target);\n            }\n            handled = event.ctrlKey || event.metaKey;\n            break; // current on ctrl or command +home\n          case 37:\n            if (event.ctrlKey || event.metaKey) {\n              $.datepicker._adjustDate(event.target, isRTL ? +1 : -1, \"D\");\n            }\n            handled = event.ctrlKey || event.metaKey;\n\n            // -1 day on ctrl or command +left\n            if (event.originalEvent.altKey) {\n              $.datepicker._adjustDate(\n                event.target,\n                event.ctrlKey\n                  ? -$.datepicker._get(inst, \"stepBigMonths\")\n                  : -$.datepicker._get(inst, \"stepMonths\"),\n                \"M\",\n              );\n            }\n\n            // next month/year on alt +left on Mac\n            break;\n          case 38:\n            if (event.ctrlKey || event.metaKey) {\n              $.datepicker._adjustDate(event.target, -7, \"D\");\n            }\n            handled = event.ctrlKey || event.metaKey;\n            break; // -1 week on ctrl or command +up\n          case 39:\n            if (event.ctrlKey || event.metaKey) {\n              $.datepicker._adjustDate(event.target, isRTL ? -1 : +1, \"D\");\n            }\n            handled = event.ctrlKey || event.metaKey;\n\n            // +1 day on ctrl or command +right\n            if (event.originalEvent.altKey) {\n              $.datepicker._adjustDate(\n                event.target,\n                event.ctrlKey\n                  ? +$.datepicker._get(inst, \"stepBigMonths\")\n                  : +$.datepicker._get(inst, \"stepMonths\"),\n                \"M\",\n              );\n            }\n\n            // next month/year on alt +right\n            break;\n          case 40:\n            if (event.ctrlKey || event.metaKey) {\n              $.datepicker._adjustDate(event.target, +7, \"D\");\n            }\n            handled = event.ctrlKey || event.metaKey;\n            break; // +1 week on ctrl or command +down\n          default:\n            handled = false;\n        }\n      } else if (event.keyCode === 36 && event.ctrlKey) {\n        // display the date picker on ctrl+home\n        $.datepicker._showDatepicker(this);\n      } else {\n        handled = false;\n      }\n\n      if (handled) {\n        event.preventDefault();\n        event.stopPropagation();\n      }\n    },\n\n    /* Filter entered characters - based on date format. */\n    _doKeyPress: function (event) {\n      var chars,\n        chr,\n        inst = $.datepicker._getInst(event.target);\n\n      if ($.datepicker._get(inst, \"constrainInput\")) {\n        chars = $.datepicker._possibleChars(\n          $.datepicker._get(inst, \"dateFormat\"),\n        );\n        chr = String.fromCharCode(\n          event.charCode == null ? event.keyCode : event.charCode,\n        );\n        return (\n          event.ctrlKey ||\n          event.metaKey ||\n          chr < \" \" ||\n          !chars ||\n          chars.indexOf(chr) > -1\n        );\n      }\n    },\n\n    /* Synchronise manual entry and field/alternate field. */\n    _doKeyUp: function (event) {\n      var date,\n        inst = $.datepicker._getInst(event.target);\n\n      if (inst.input.val() !== inst.lastVal) {\n        try {\n          date = $.datepicker.parseDate(\n            $.datepicker._get(inst, \"dateFormat\"),\n            inst.input ? inst.input.val() : null,\n            $.datepicker._getFormatConfig(inst),\n          );\n\n          if (date) {\n            // only if valid\n            $.datepicker._setDateFromField(inst);\n            $.datepicker._updateAlternate(inst);\n            $.datepicker._updateDatepicker(inst);\n          }\n        } catch (err) {}\n      }\n      return true;\n    },\n\n    /* Pop-up the date picker for a given input field.\n     * If false returned from beforeShow event handler do not show.\n     * @param  input  element - the input field attached to the date picker or\n     *\t\t\t\t\tevent - if triggered by focus\n     */\n    _showDatepicker: function (input) {\n      input = input.target || input;\n      if (input.nodeName.toLowerCase() !== \"input\") {\n        // find from button/image trigger\n        input = $(\"input\", input.parentNode)[0];\n      }\n\n      if (\n        $.datepicker._isDisabledDatepicker(input) ||\n        $.datepicker._lastInput === input\n      ) {\n        // already here\n        return;\n      }\n\n      var inst,\n        beforeShow,\n        beforeShowSettings,\n        isFixed,\n        offset,\n        showAnim,\n        duration;\n\n      inst = $.datepicker._getInst(input);\n      if ($.datepicker._curInst && $.datepicker._curInst !== inst) {\n        $.datepicker._curInst.dpDiv.stop(true, true);\n        if (inst && $.datepicker._datepickerShowing) {\n          $.datepicker._hideDatepicker($.datepicker._curInst.input[0]);\n        }\n      }\n\n      beforeShow = $.datepicker._get(inst, \"beforeShow\");\n      beforeShowSettings = beforeShow\n        ? beforeShow.apply(input, [input, inst])\n        : {};\n      if (beforeShowSettings === false) {\n        return;\n      }\n      datepicker_extendRemove(inst.settings, beforeShowSettings);\n\n      inst.lastVal = null;\n      $.datepicker._lastInput = input;\n      $.datepicker._setDateFromField(inst);\n\n      if ($.datepicker._inDialog) {\n        // hide cursor\n        input.value = \"\";\n      }\n      if (!$.datepicker._pos) {\n        // position below input\n        $.datepicker._pos = $.datepicker._findPos(input);\n        $.datepicker._pos[1] += input.offsetHeight; // add the height\n      }\n\n      isFixed = false;\n      $(input)\n        .parents()\n        .each(function () {\n          isFixed |= $(this).css(\"position\") === \"fixed\";\n          return !isFixed;\n        });\n\n      offset = { left: $.datepicker._pos[0], top: $.datepicker._pos[1] };\n      $.datepicker._pos = null;\n\n      //to avoid flashes on Firefox\n      inst.dpDiv.empty();\n\n      // determine sizing offscreen\n      inst.dpDiv.css({\n        position: \"absolute\",\n        display: \"block\",\n        top: \"-1000px\",\n      });\n      $.datepicker._updateDatepicker(inst);\n\n      // fix width for dynamic number of date pickers\n      // and adjust position before showing\n      offset = $.datepicker._checkOffset(inst, offset, isFixed);\n      inst.dpDiv.css({\n        position:\n          $.datepicker._inDialog && $.blockUI\n            ? \"static\"\n            : isFixed\n            ? \"fixed\"\n            : \"absolute\",\n        display: \"none\",\n        left: offset.left + \"px\",\n        top: offset.top + \"px\",\n      });\n\n      if (!inst.inline) {\n        showAnim = $.datepicker._get(inst, \"showAnim\");\n        duration = $.datepicker._get(inst, \"duration\");\n        inst.dpDiv.css(\"z-index\", datepicker_getZindex($(input)) + 1);\n        $.datepicker._datepickerShowing = true;\n\n        if ($.effects && $.effects.effect[showAnim]) {\n          inst.dpDiv.show(\n            showAnim,\n            $.datepicker._get(inst, \"showOptions\"),\n            duration,\n          );\n        } else {\n          inst.dpDiv[showAnim || \"show\"](showAnim ? duration : null);\n        }\n\n        if ($.datepicker._shouldFocusInput(inst)) {\n          inst.input.trigger(\"focus\");\n        }\n\n        $.datepicker._curInst = inst;\n      }\n    },\n\n    /* Generate the date picker content. */\n    _updateDatepicker: function (inst) {\n      this.maxRows = 4; //Reset the max number of rows being displayed (see #7043)\n      datepicker_instActive = inst; // for delegate hover events\n      inst.dpDiv.empty().append(this._generateHTML(inst));\n      this._attachHandlers(inst);\n\n      var origyearshtml,\n        numMonths = this._getNumberOfMonths(inst),\n        cols = numMonths[1],\n        width = 17,\n        activeCell = inst.dpDiv.find(\".\" + this._dayOverClass + \" a\"),\n        onUpdateDatepicker = $.datepicker._get(inst, \"onUpdateDatepicker\");\n\n      if (activeCell.length > 0) {\n        datepicker_handleMouseover.apply(activeCell.get(0));\n      }\n\n      inst.dpDiv\n        .removeClass(\n          \"ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4\",\n        )\n        .width(\"\");\n      if (cols > 1) {\n        inst.dpDiv\n          .addClass(\"ui-datepicker-multi-\" + cols)\n          .css(\"width\", width * cols + \"em\");\n      }\n      inst.dpDiv[\n        (numMonths[0] !== 1 || numMonths[1] !== 1 ? \"add\" : \"remove\") + \"Class\"\n      ](\"ui-datepicker-multi\");\n      inst.dpDiv[(this._get(inst, \"isRTL\") ? \"add\" : \"remove\") + \"Class\"](\n        \"ui-datepicker-rtl\",\n      );\n\n      if (\n        inst === $.datepicker._curInst &&\n        $.datepicker._datepickerShowing &&\n        $.datepicker._shouldFocusInput(inst)\n      ) {\n        inst.input.trigger(\"focus\");\n      }\n\n      // Deffered render of the years select (to avoid flashes on Firefox)\n      if (inst.yearshtml) {\n        origyearshtml = inst.yearshtml;\n        setTimeout(function () {\n          //assure that inst.yearshtml didn't change.\n          if (origyearshtml === inst.yearshtml && inst.yearshtml) {\n            inst.dpDiv\n              .find(\"select.ui-datepicker-year\")\n              .first()\n              .replaceWith(inst.yearshtml);\n          }\n          origyearshtml = inst.yearshtml = null;\n        }, 0);\n      }\n\n      if (onUpdateDatepicker) {\n        onUpdateDatepicker.apply(inst.input ? inst.input[0] : null, [inst]);\n      }\n    },\n\n    // #6694 - don't focus the input if it's already focused\n    // this breaks the change event in IE\n    // Support: IE and jQuery <1.9\n    _shouldFocusInput: function (inst) {\n      return (\n        inst.input &&\n        inst.input.is(\":visible\") &&\n        !inst.input.is(\":disabled\") &&\n        !inst.input.is(\":focus\")\n      );\n    },\n\n    /* Check positioning to remain on screen. */\n    _checkOffset: function (inst, offset, isFixed) {\n      var dpWidth = inst.dpDiv.outerWidth(),\n        dpHeight = inst.dpDiv.outerHeight(),\n        inputWidth = inst.input ? inst.input.outerWidth() : 0,\n        inputHeight = inst.input ? inst.input.outerHeight() : 0,\n        viewWidth =\n          document.documentElement.clientWidth +\n          (isFixed ? 0 : $(document).scrollLeft()),\n        viewHeight =\n          document.documentElement.clientHeight +\n          (isFixed ? 0 : $(document).scrollTop());\n\n      offset.left -= this._get(inst, \"isRTL\") ? dpWidth - inputWidth : 0;\n      offset.left -=\n        isFixed && offset.left === inst.input.offset().left\n          ? $(document).scrollLeft()\n          : 0;\n      offset.top -=\n        isFixed && offset.top === inst.input.offset().top + inputHeight\n          ? $(document).scrollTop()\n          : 0;\n\n      // Now check if datepicker is showing outside window viewport - move to a better place if so.\n      offset.left -= Math.min(\n        offset.left,\n        offset.left + dpWidth > viewWidth && viewWidth > dpWidth\n          ? Math.abs(offset.left + dpWidth - viewWidth)\n          : 0,\n      );\n      offset.top -= Math.min(\n        offset.top,\n        offset.top + dpHeight > viewHeight && viewHeight > dpHeight\n          ? Math.abs(dpHeight + inputHeight)\n          : 0,\n      );\n\n      return offset;\n    },\n\n    /* Find an object's position on the screen. */\n    _findPos: function (obj) {\n      var position,\n        inst = this._getInst(obj),\n        isRTL = this._get(inst, \"isRTL\");\n\n      while (\n        obj &&\n        (obj.type === \"hidden\" ||\n          obj.nodeType !== 1 ||\n          $.expr.pseudos.hidden(obj))\n      ) {\n        obj = obj[isRTL ? \"previousSibling\" : \"nextSibling\"];\n      }\n\n      position = $(obj).offset();\n      return [position.left, position.top];\n    },\n\n    /* Hide the date picker from view.\n     * @param  input  element - the input field attached to the date picker\n     */\n    _hideDatepicker: function (input) {\n      var showAnim,\n        duration,\n        postProcess,\n        onClose,\n        inst = this._curInst;\n\n      if (!inst || (input && inst !== $.data(input, \"datepicker\"))) {\n        return;\n      }\n\n      if (this._datepickerShowing) {\n        showAnim = this._get(inst, \"showAnim\");\n        duration = this._get(inst, \"duration\");\n        postProcess = function () {\n          $.datepicker._tidyDialog(inst);\n        };\n\n        // DEPRECATED: after BC for 1.8.x $.effects[ showAnim ] is not needed\n        if ($.effects && ($.effects.effect[showAnim] || $.effects[showAnim])) {\n          inst.dpDiv.hide(\n            showAnim,\n            $.datepicker._get(inst, \"showOptions\"),\n            duration,\n            postProcess,\n          );\n        } else {\n          inst.dpDiv[\n            showAnim === \"slideDown\"\n              ? \"slideUp\"\n              : showAnim === \"fadeIn\"\n              ? \"fadeOut\"\n              : \"hide\"\n          ](showAnim ? duration : null, postProcess);\n        }\n\n        if (!showAnim) {\n          postProcess();\n        }\n        this._datepickerShowing = false;\n\n        onClose = this._get(inst, \"onClose\");\n        if (onClose) {\n          onClose.apply(inst.input ? inst.input[0] : null, [\n            inst.input ? inst.input.val() : \"\",\n            inst,\n          ]);\n        }\n\n        this._lastInput = null;\n        if (this._inDialog) {\n          this._dialogInput.css({\n            position: \"absolute\",\n            left: \"0\",\n            top: \"-100px\",\n          });\n          if ($.blockUI) {\n            $.unblockUI();\n            $(\"body\").append(this.dpDiv);\n          }\n        }\n        this._inDialog = false;\n      }\n    },\n\n    /* Tidy up after a dialog display. */\n    _tidyDialog: function (inst) {\n      inst.dpDiv.removeClass(this._dialogClass).off(\".ui-datepicker-calendar\");\n    },\n\n    /* Close date picker if clicked elsewhere. */\n    _checkExternalClick: function (event) {\n      if (!$.datepicker._curInst) {\n        return;\n      }\n\n      var $target = $(event.target),\n        inst = $.datepicker._getInst($target[0]);\n\n      if (\n        ($target[0].id !== $.datepicker._mainDivId &&\n          $target.parents(\"#\" + $.datepicker._mainDivId).length === 0 &&\n          !$target.hasClass($.datepicker.markerClassName) &&\n          !$target.closest(\".\" + $.datepicker._triggerClass).length &&\n          $.datepicker._datepickerShowing &&\n          !($.datepicker._inDialog && $.blockUI)) ||\n        ($target.hasClass($.datepicker.markerClassName) &&\n          $.datepicker._curInst !== inst)\n      ) {\n        $.datepicker._hideDatepicker();\n      }\n    },\n\n    /* Adjust one of the date sub-fields. */\n    _adjustDate: function (id, offset, period) {\n      var target = $(id),\n        inst = this._getInst(target[0]);\n\n      if (this._isDisabledDatepicker(target[0])) {\n        return;\n      }\n      this._adjustInstDate(inst, offset, period);\n      this._updateDatepicker(inst);\n    },\n\n    /* Action for current link. */\n    _gotoToday: function (id) {\n      var date,\n        target = $(id),\n        inst = this._getInst(target[0]);\n\n      if (this._get(inst, \"gotoCurrent\") && inst.currentDay) {\n        inst.selectedDay = inst.currentDay;\n        inst.drawMonth = inst.selectedMonth = inst.currentMonth;\n        inst.drawYear = inst.selectedYear = inst.currentYear;\n      } else {\n        date = new Date();\n        inst.selectedDay = date.getDate();\n        inst.drawMonth = inst.selectedMonth = date.getMonth();\n        inst.drawYear = inst.selectedYear = date.getFullYear();\n      }\n      this._notifyChange(inst);\n      this._adjustDate(target);\n    },\n\n    /* Action for selecting a new month/year. */\n    _selectMonthYear: function (id, select, period) {\n      var target = $(id),\n        inst = this._getInst(target[0]);\n\n      inst[\"selected\" + (period === \"M\" ? \"Month\" : \"Year\")] = inst[\n        \"draw\" + (period === \"M\" ? \"Month\" : \"Year\")\n      ] = parseInt(select.options[select.selectedIndex].value, 10);\n\n      this._notifyChange(inst);\n      this._adjustDate(target);\n    },\n\n    /* Action for selecting a day. */\n    _selectDay: function (id, month, year, td) {\n      var inst,\n        target = $(id);\n\n      if (\n        $(td).hasClass(this._unselectableClass) ||\n        this._isDisabledDatepicker(target[0])\n      ) {\n        return;\n      }\n\n      inst = this._getInst(target[0]);\n      inst.selectedDay = inst.currentDay = parseInt(\n        $(\"a\", td).attr(\"data-date\"),\n      );\n      inst.selectedMonth = inst.currentMonth = month;\n      inst.selectedYear = inst.currentYear = year;\n      this._selectDate(\n        id,\n        this._formatDate(\n          inst,\n          inst.currentDay,\n          inst.currentMonth,\n          inst.currentYear,\n        ),\n      );\n    },\n\n    /* Erase the input field and hide the date picker. */\n    _clearDate: function (id) {\n      var target = $(id);\n      this._selectDate(target, \"\");\n    },\n\n    /* Update the input field with the selected date. */\n    _selectDate: function (id, dateStr) {\n      var onSelect,\n        target = $(id),\n        inst = this._getInst(target[0]);\n\n      dateStr = dateStr != null ? dateStr : this._formatDate(inst);\n      if (inst.input) {\n        inst.input.val(dateStr);\n      }\n      this._updateAlternate(inst);\n\n      onSelect = this._get(inst, \"onSelect\");\n      if (onSelect) {\n        onSelect.apply(inst.input ? inst.input[0] : null, [dateStr, inst]); // trigger custom callback\n      } else if (inst.input) {\n        inst.input.trigger(\"change\"); // fire the change event\n      }\n\n      if (inst.inline) {\n        this._updateDatepicker(inst);\n      } else {\n        this._hideDatepicker();\n        this._lastInput = inst.input[0];\n        if (typeof inst.input[0] !== \"object\") {\n          inst.input.trigger(\"focus\"); // restore focus\n        }\n        this._lastInput = null;\n      }\n    },\n\n    /* Update any alternate field to synchronise with the main field. */\n    _updateAlternate: function (inst) {\n      var altFormat,\n        date,\n        dateStr,\n        altField = this._get(inst, \"altField\");\n\n      if (altField) {\n        // update alternate field too\n        altFormat =\n          this._get(inst, \"altFormat\") || this._get(inst, \"dateFormat\");\n        date = this._getDate(inst);\n        dateStr = this.formatDate(altFormat, date, this._getFormatConfig(inst));\n        $(document).find(altField).val(dateStr);\n      }\n    },\n\n    /* Set as beforeShowDay function to prevent selection of weekends.\n     * @param  date  Date - the date to customise\n     * @return [boolean, string] - is this date selectable?, what is its CSS class?\n     */\n    noWeekends: function (date) {\n      var day = date.getDay();\n      return [day > 0 && day < 6, \"\"];\n    },\n\n    /* Set as calculateWeek to determine the week of the year based on the ISO 8601 definition.\n     * @param  date  Date - the date to get the week for\n     * @return  number - the number of the week within the year that contains this date\n     */\n    iso8601Week: function (date) {\n      var time,\n        checkDate = new Date(date.getTime());\n\n      // Find Thursday of this week starting on Monday\n      checkDate.setDate(checkDate.getDate() + 4 - (checkDate.getDay() || 7));\n\n      time = checkDate.getTime();\n      checkDate.setMonth(0); // Compare with Jan 1\n      checkDate.setDate(1);\n      return Math.floor(Math.round((time - checkDate) / 86400000) / 7) + 1;\n    },\n\n    /* Parse a string value into a date object.\n     * See formatDate below for the possible formats.\n     *\n     * @param  format string - the expected format of the date\n     * @param  value string - the date in the above format\n     * @param  settings Object - attributes include:\n     *\t\t\t\t\tshortYearCutoff  number - the cutoff year for determining the century (optional)\n     *\t\t\t\t\tdayNamesShort\tstring[7] - abbreviated names of the days from Sunday (optional)\n     *\t\t\t\t\tdayNames\t\tstring[7] - names of the days from Sunday (optional)\n     *\t\t\t\t\tmonthNamesShort string[12] - abbreviated names of the months (optional)\n     *\t\t\t\t\tmonthNames\t\tstring[12] - names of the months (optional)\n     * @return  Date - the extracted date value or null if value is blank\n     */\n    parseDate: function (format, value, settings) {\n      if (format == null || value == null) {\n        throw \"Invalid arguments\";\n      }\n\n      value = typeof value === \"object\" ? value.toString() : value + \"\";\n      if (value === \"\") {\n        return null;\n      }\n\n      var iFormat,\n        dim,\n        extra,\n        iValue = 0,\n        shortYearCutoffTemp =\n          (settings ? settings.shortYearCutoff : null) ||\n          this._defaults.shortYearCutoff,\n        shortYearCutoff =\n          typeof shortYearCutoffTemp !== \"string\"\n            ? shortYearCutoffTemp\n            : (new Date().getFullYear() % 100) +\n              parseInt(shortYearCutoffTemp, 10),\n        dayNamesShort =\n          (settings ? settings.dayNamesShort : null) ||\n          this._defaults.dayNamesShort,\n        dayNames =\n          (settings ? settings.dayNames : null) || this._defaults.dayNames,\n        monthNamesShort =\n          (settings ? settings.monthNamesShort : null) ||\n          this._defaults.monthNamesShort,\n        monthNames =\n          (settings ? settings.monthNames : null) || this._defaults.monthNames,\n        year = -1,\n        month = -1,\n        day = -1,\n        doy = -1,\n        literal = false,\n        date,\n        // Check whether a format character is doubled\n        lookAhead = function (match) {\n          var matches =\n            iFormat + 1 < format.length && format.charAt(iFormat + 1) === match;\n          if (matches) {\n            iFormat++;\n          }\n          return matches;\n        },\n        // Extract a number from the string value\n        getNumber = function (match) {\n          var isDoubled = lookAhead(match),\n            size =\n              match === \"@\"\n                ? 14\n                : match === \"!\"\n                ? 20\n                : match === \"y\" && isDoubled\n                ? 4\n                : match === \"o\"\n                ? 3\n                : 2,\n            minSize = match === \"y\" ? size : 1,\n            digits = new RegExp(\"^\\\\d{\" + minSize + \",\" + size + \"}\"),\n            num = value.substring(iValue).match(digits);\n          if (!num) {\n            throw \"Missing number at position \" + iValue;\n          }\n          iValue += num[0].length;\n          return parseInt(num[0], 10);\n        },\n        // Extract a name from the string value and convert to an index\n        getName = function (match, shortNames, longNames) {\n          var index = -1,\n            names = $.map(\n              lookAhead(match) ? longNames : shortNames,\n              function (v, k) {\n                return [[k, v]];\n              },\n            ).sort(function (a, b) {\n              return -(a[1].length - b[1].length);\n            });\n\n          $.each(names, function (i, pair) {\n            var name = pair[1];\n            if (\n              value.substr(iValue, name.length).toLowerCase() ===\n              name.toLowerCase()\n            ) {\n              index = pair[0];\n              iValue += name.length;\n              return false;\n            }\n          });\n          if (index !== -1) {\n            return index + 1;\n          } else {\n            throw \"Unknown name at position \" + iValue;\n          }\n        },\n        // Confirm that a literal character matches the string value\n        checkLiteral = function () {\n          if (value.charAt(iValue) !== format.charAt(iFormat)) {\n            throw \"Unexpected literal at position \" + iValue;\n          }\n          iValue++;\n        };\n\n      for (iFormat = 0; iFormat < format.length; iFormat++) {\n        if (literal) {\n          if (format.charAt(iFormat) === \"'\" && !lookAhead(\"'\")) {\n            literal = false;\n          } else {\n            checkLiteral();\n          }\n        } else {\n          switch (format.charAt(iFormat)) {\n            case \"d\":\n              day = getNumber(\"d\");\n              break;\n            case \"D\":\n              getName(\"D\", dayNamesShort, dayNames);\n              break;\n            case \"o\":\n              doy = getNumber(\"o\");\n              break;\n            case \"m\":\n              month = getNumber(\"m\");\n              break;\n            case \"M\":\n              month = getName(\"M\", monthNamesShort, monthNames);\n              break;\n            case \"y\":\n              year = getNumber(\"y\");\n              break;\n            case \"@\":\n              date = new Date(getNumber(\"@\"));\n              year = date.getFullYear();\n              month = date.getMonth() + 1;\n              day = date.getDate();\n              break;\n            case \"!\":\n              date = new Date((getNumber(\"!\") - this._ticksTo1970) / 10000);\n              year = date.getFullYear();\n              month = date.getMonth() + 1;\n              day = date.getDate();\n              break;\n            case \"'\":\n              if (lookAhead(\"'\")) {\n                checkLiteral();\n              } else {\n                literal = true;\n              }\n              break;\n            default:\n              checkLiteral();\n          }\n        }\n      }\n\n      if (iValue < value.length) {\n        extra = value.substr(iValue);\n        if (!/^\\s+/.test(extra)) {\n          throw \"Extra/unparsed characters found in date: \" + extra;\n        }\n      }\n\n      if (year === -1) {\n        year = new Date().getFullYear();\n      } else if (year < 100) {\n        year +=\n          new Date().getFullYear() -\n          (new Date().getFullYear() % 100) +\n          (year <= shortYearCutoff ? 0 : -100);\n      }\n\n      if (doy > -1) {\n        month = 1;\n        day = doy;\n        do {\n          dim = this._getDaysInMonth(year, month - 1);\n          if (day <= dim) {\n            break;\n          }\n          month++;\n          day -= dim;\n        } while (true);\n      }\n\n      date = this._daylightSavingAdjust(new Date(year, month - 1, day));\n      if (\n        date.getFullYear() !== year ||\n        date.getMonth() + 1 !== month ||\n        date.getDate() !== day\n      ) {\n        throw \"Invalid date\"; // E.g. 31/02/00\n      }\n      return date;\n    },\n\n    /* Standard date formats. */\n    ATOM: \"yy-mm-dd\", // RFC 3339 (ISO 8601)\n    COOKIE: \"D, dd M yy\",\n    ISO_8601: \"yy-mm-dd\",\n    RFC_822: \"D, d M y\",\n    RFC_850: \"DD, dd-M-y\",\n    RFC_1036: \"D, d M y\",\n    RFC_1123: \"D, d M yy\",\n    RFC_2822: \"D, d M yy\",\n    RSS: \"D, d M y\", // RFC 822\n    TICKS: \"!\",\n    TIMESTAMP: \"@\",\n    W3C: \"yy-mm-dd\", // ISO 8601\n\n    _ticksTo1970:\n      ((1970 - 1) * 365 +\n        Math.floor(1970 / 4) -\n        Math.floor(1970 / 100) +\n        Math.floor(1970 / 400)) *\n      24 *\n      60 *\n      60 *\n      10000000,\n\n    /* Format a date object into a string value.\n     * The format can be combinations of the following:\n     * d  - day of month (no leading zero)\n     * dd - day of month (two digit)\n     * o  - day of year (no leading zeros)\n     * oo - day of year (three digit)\n     * D  - day name short\n     * DD - day name long\n     * m  - month of year (no leading zero)\n     * mm - month of year (two digit)\n     * M  - month name short\n     * MM - month name long\n     * y  - year (two digit)\n     * yy - year (four digit)\n     * @ - Unix timestamp (ms since 01/01/1970)\n     * ! - Windows ticks (100ns since 01/01/0001)\n     * \"...\" - literal text\n     * '' - single quote\n     *\n     * @param  format string - the desired format of the date\n     * @param  date Date - the date value to format\n     * @param  settings Object - attributes include:\n     *\t\t\t\t\tdayNamesShort\tstring[7] - abbreviated names of the days from Sunday (optional)\n     *\t\t\t\t\tdayNames\t\tstring[7] - names of the days from Sunday (optional)\n     *\t\t\t\t\tmonthNamesShort string[12] - abbreviated names of the months (optional)\n     *\t\t\t\t\tmonthNames\t\tstring[12] - names of the months (optional)\n     * @return  string - the date in the above format\n     */\n    formatDate: function (format, date, settings) {\n      if (!date) {\n        return \"\";\n      }\n\n      var iFormat,\n        dayNamesShort =\n          (settings ? settings.dayNamesShort : null) ||\n          this._defaults.dayNamesShort,\n        dayNames =\n          (settings ? settings.dayNames : null) || this._defaults.dayNames,\n        monthNamesShort =\n          (settings ? settings.monthNamesShort : null) ||\n          this._defaults.monthNamesShort,\n        monthNames =\n          (settings ? settings.monthNames : null) || this._defaults.monthNames,\n        // Check whether a format character is doubled\n        lookAhead = function (match) {\n          var matches =\n            iFormat + 1 < format.length && format.charAt(iFormat + 1) === match;\n          if (matches) {\n            iFormat++;\n          }\n          return matches;\n        },\n        // Format a number, with leading zero if necessary\n        formatNumber = function (match, value, len) {\n          var num = \"\" + value;\n          if (lookAhead(match)) {\n            while (num.length < len) {\n              num = \"0\" + num;\n            }\n          }\n          return num;\n        },\n        // Format a name, short or long as requested\n        formatName = function (match, value, shortNames, longNames) {\n          return lookAhead(match) ? longNames[value] : shortNames[value];\n        },\n        output = \"\",\n        literal = false;\n\n      if (date) {\n        for (iFormat = 0; iFormat < format.length; iFormat++) {\n          if (literal) {\n            if (format.charAt(iFormat) === \"'\" && !lookAhead(\"'\")) {\n              literal = false;\n            } else {\n              output += format.charAt(iFormat);\n            }\n          } else {\n            switch (format.charAt(iFormat)) {\n              case \"d\":\n                output += formatNumber(\"d\", date.getDate(), 2);\n                break;\n              case \"D\":\n                output += formatName(\n                  \"D\",\n                  date.getDay(),\n                  dayNamesShort,\n                  dayNames,\n                );\n                break;\n              case \"o\":\n                output += formatNumber(\n                  \"o\",\n                  Math.round(\n                    (new Date(\n                      date.getFullYear(),\n                      date.getMonth(),\n                      date.getDate(),\n                    ).getTime() -\n                      new Date(date.getFullYear(), 0, 0).getTime()) /\n                      86400000,\n                  ),\n                  3,\n                );\n                break;\n              case \"m\":\n                output += formatNumber(\"m\", date.getMonth() + 1, 2);\n                break;\n              case \"M\":\n                output += formatName(\n                  \"M\",\n                  date.getMonth(),\n                  monthNamesShort,\n                  monthNames,\n                );\n                break;\n              case \"y\":\n                output += lookAhead(\"y\")\n                  ? date.getFullYear()\n                  : (date.getFullYear() % 100 < 10 ? \"0\" : \"\") +\n                    (date.getFullYear() % 100);\n                break;\n              case \"@\":\n                output += date.getTime();\n                break;\n              case \"!\":\n                output += date.getTime() * 10000 + this._ticksTo1970;\n                break;\n              case \"'\":\n                if (lookAhead(\"'\")) {\n                  output += \"'\";\n                } else {\n                  literal = true;\n                }\n                break;\n              default:\n                output += format.charAt(iFormat);\n            }\n          }\n        }\n      }\n      return output;\n    },\n\n    /* Extract all possible characters from the date format. */\n    _possibleChars: function (format) {\n      var iFormat,\n        chars = \"\",\n        literal = false,\n        // Check whether a format character is doubled\n        lookAhead = function (match) {\n          var matches =\n            iFormat + 1 < format.length && format.charAt(iFormat + 1) === match;\n          if (matches) {\n            iFormat++;\n          }\n          return matches;\n        };\n\n      for (iFormat = 0; iFormat < format.length; iFormat++) {\n        if (literal) {\n          if (format.charAt(iFormat) === \"'\" && !lookAhead(\"'\")) {\n            literal = false;\n          } else {\n            chars += format.charAt(iFormat);\n          }\n        } else {\n          switch (format.charAt(iFormat)) {\n            case \"d\":\n            case \"m\":\n            case \"y\":\n            case \"@\":\n              chars += \"0123456789\";\n              break;\n            case \"D\":\n            case \"M\":\n              return null; // Accept anything\n            case \"'\":\n              if (lookAhead(\"'\")) {\n                chars += \"'\";\n              } else {\n                literal = true;\n              }\n              break;\n            default:\n              chars += format.charAt(iFormat);\n          }\n        }\n      }\n      return chars;\n    },\n\n    /* Get a setting value, defaulting if necessary. */\n    _get: function (inst, name) {\n      return inst.settings[name] !== undefined\n        ? inst.settings[name]\n        : this._defaults[name];\n    },\n\n    /* Parse existing date and initialise date picker. */\n    _setDateFromField: function (inst, noDefault) {\n      if (inst.input.val() === inst.lastVal) {\n        return;\n      }\n\n      var dateFormat = this._get(inst, \"dateFormat\"),\n        dates = (inst.lastVal = inst.input ? inst.input.val() : null),\n        defaultDate = this._getDefaultDate(inst),\n        date = defaultDate,\n        settings = this._getFormatConfig(inst);\n\n      try {\n        date = this.parseDate(dateFormat, dates, settings) || defaultDate;\n      } catch (event) {\n        dates = noDefault ? \"\" : dates;\n      }\n      inst.selectedDay = date.getDate();\n      inst.drawMonth = inst.selectedMonth = date.getMonth();\n      inst.drawYear = inst.selectedYear = date.getFullYear();\n      inst.currentDay = dates ? date.getDate() : 0;\n      inst.currentMonth = dates ? date.getMonth() : 0;\n      inst.currentYear = dates ? date.getFullYear() : 0;\n      this._adjustInstDate(inst);\n    },\n\n    /* Retrieve the default date shown on opening. */\n    _getDefaultDate: function (inst) {\n      return this._restrictMinMax(\n        inst,\n        this._determineDate(inst, this._get(inst, \"defaultDate\"), new Date()),\n      );\n    },\n\n    /* A date may be specified as an exact value or a relative one. */\n    _determineDate: function (inst, date, defaultDate) {\n      var offsetNumeric = function (offset) {\n          var date = new Date();\n          date.setDate(date.getDate() + offset);\n          return date;\n        },\n        offsetString = function (offset) {\n          try {\n            return $.datepicker.parseDate(\n              $.datepicker._get(inst, \"dateFormat\"),\n              offset,\n              $.datepicker._getFormatConfig(inst),\n            );\n          } catch (e) {\n            // Ignore\n          }\n\n          var date =\n              (offset.toLowerCase().match(/^c/)\n                ? $.datepicker._getDate(inst)\n                : null) || new Date(),\n            year = date.getFullYear(),\n            month = date.getMonth(),\n            day = date.getDate(),\n            pattern = /([+\\-]?[0-9]+)\\s*(d|D|w|W|m|M|y|Y)?/g,\n            matches = pattern.exec(offset);\n\n          while (matches) {\n            switch (matches[2] || \"d\") {\n              case \"d\":\n              case \"D\":\n                day += parseInt(matches[1], 10);\n                break;\n              case \"w\":\n              case \"W\":\n                day += parseInt(matches[1], 10) * 7;\n                break;\n              case \"m\":\n              case \"M\":\n                month += parseInt(matches[1], 10);\n                day = Math.min(day, $.datepicker._getDaysInMonth(year, month));\n                break;\n              case \"y\":\n              case \"Y\":\n                year += parseInt(matches[1], 10);\n                day = Math.min(day, $.datepicker._getDaysInMonth(year, month));\n                break;\n            }\n            matches = pattern.exec(offset);\n          }\n          return new Date(year, month, day);\n        },\n        newDate =\n          date == null || date === \"\"\n            ? defaultDate\n            : typeof date === \"string\"\n            ? offsetString(date)\n            : typeof date === \"number\"\n            ? isNaN(date)\n              ? defaultDate\n              : offsetNumeric(date)\n            : new Date(date.getTime());\n\n      newDate =\n        newDate && newDate.toString() === \"Invalid Date\"\n          ? defaultDate\n          : newDate;\n      if (newDate) {\n        newDate.setHours(0);\n        newDate.setMinutes(0);\n        newDate.setSeconds(0);\n        newDate.setMilliseconds(0);\n      }\n      return this._daylightSavingAdjust(newDate);\n    },\n\n    /* Handle switch to/from daylight saving.\n     * Hours may be non-zero on daylight saving cut-over:\n     * > 12 when midnight changeover, but then cannot generate\n     * midnight datetime, so jump to 1AM, otherwise reset.\n     * @param  date  (Date) the date to check\n     * @return  (Date) the corrected date\n     */\n    _daylightSavingAdjust: function (date) {\n      if (!date) {\n        return null;\n      }\n      date.setHours(date.getHours() > 12 ? date.getHours() + 2 : 0);\n      return date;\n    },\n\n    /* Set the date(s) directly. */\n    _setDate: function (inst, date, noChange) {\n      var clear = !date,\n        origMonth = inst.selectedMonth,\n        origYear = inst.selectedYear,\n        newDate = this._restrictMinMax(\n          inst,\n          this._determineDate(inst, date, new Date()),\n        );\n\n      inst.selectedDay = inst.currentDay = newDate.getDate();\n      inst.drawMonth =\n        inst.selectedMonth =\n        inst.currentMonth =\n          newDate.getMonth();\n      inst.drawYear =\n        inst.selectedYear =\n        inst.currentYear =\n          newDate.getFullYear();\n      if (\n        (origMonth !== inst.selectedMonth || origYear !== inst.selectedYear) &&\n        !noChange\n      ) {\n        this._notifyChange(inst);\n      }\n      this._adjustInstDate(inst);\n      if (inst.input) {\n        inst.input.val(clear ? \"\" : this._formatDate(inst));\n      }\n    },\n\n    /* Retrieve the date(s) directly. */\n    _getDate: function (inst) {\n      var startDate =\n        !inst.currentYear || (inst.input && inst.input.val() === \"\")\n          ? null\n          : this._daylightSavingAdjust(\n              new Date(inst.currentYear, inst.currentMonth, inst.currentDay),\n            );\n      return startDate;\n    },\n\n    /* Attach the onxxx handlers.  These are declared statically so\n     * they work with static code transformers like Caja.\n     */\n    _attachHandlers: function (inst) {\n      var stepMonths = this._get(inst, \"stepMonths\"),\n        id = \"#\" + inst.id.replace(/\\\\\\\\/g, \"\\\\\");\n      inst.dpDiv.find(\"[data-handler]\").map(function () {\n        var handler = {\n          prev: function () {\n            $.datepicker._adjustDate(id, -stepMonths, \"M\");\n          },\n          next: function () {\n            $.datepicker._adjustDate(id, +stepMonths, \"M\");\n          },\n          hide: function () {\n            $.datepicker._hideDatepicker();\n          },\n          today: function () {\n            $.datepicker._gotoToday(id);\n          },\n          selectDay: function () {\n            $.datepicker._selectDay(\n              id,\n              +this.getAttribute(\"data-month\"),\n              +this.getAttribute(\"data-year\"),\n              this,\n            );\n            return false;\n          },\n          selectMonth: function () {\n            $.datepicker._selectMonthYear(id, this, \"M\");\n            return false;\n          },\n          selectYear: function () {\n            $.datepicker._selectMonthYear(id, this, \"Y\");\n            return false;\n          },\n        };\n        $(this).on(\n          this.getAttribute(\"data-event\"),\n          handler[this.getAttribute(\"data-handler\")],\n        );\n      });\n    },\n\n    /* Generate the HTML for the current state of the date picker. */\n    _generateHTML: function (inst) {\n      var maxDraw,\n        prevText,\n        prev,\n        nextText,\n        next,\n        currentText,\n        gotoDate,\n        controls,\n        buttonPanel,\n        firstDay,\n        showWeek,\n        dayNames,\n        dayNamesMin,\n        monthNames,\n        monthNamesShort,\n        beforeShowDay,\n        showOtherMonths,\n        selectOtherMonths,\n        defaultDate,\n        html,\n        dow,\n        row,\n        group,\n        col,\n        selectedDate,\n        cornerClass,\n        calender,\n        thead,\n        day,\n        daysInMonth,\n        leadDays,\n        curRows,\n        numRows,\n        printDate,\n        dRow,\n        tbody,\n        daySettings,\n        otherMonth,\n        unselectable,\n        tempDate = new Date(),\n        today = this._daylightSavingAdjust(\n          new Date(\n            tempDate.getFullYear(),\n            tempDate.getMonth(),\n            tempDate.getDate(),\n          ),\n        ), // clear time\n        isRTL = this._get(inst, \"isRTL\"),\n        showButtonPanel = this._get(inst, \"showButtonPanel\"),\n        hideIfNoPrevNext = this._get(inst, \"hideIfNoPrevNext\"),\n        navigationAsDateFormat = this._get(inst, \"navigationAsDateFormat\"),\n        numMonths = this._getNumberOfMonths(inst),\n        showCurrentAtPos = this._get(inst, \"showCurrentAtPos\"),\n        stepMonths = this._get(inst, \"stepMonths\"),\n        isMultiMonth = numMonths[0] !== 1 || numMonths[1] !== 1,\n        currentDate = this._daylightSavingAdjust(\n          !inst.currentDay\n            ? new Date(9999, 9, 9)\n            : new Date(inst.currentYear, inst.currentMonth, inst.currentDay),\n        ),\n        minDate = this._getMinMaxDate(inst, \"min\"),\n        maxDate = this._getMinMaxDate(inst, \"max\"),\n        drawMonth = inst.drawMonth - showCurrentAtPos,\n        drawYear = inst.drawYear;\n\n      if (drawMonth < 0) {\n        drawMonth += 12;\n        drawYear--;\n      }\n      if (maxDate) {\n        maxDraw = this._daylightSavingAdjust(\n          new Date(\n            maxDate.getFullYear(),\n            maxDate.getMonth() - numMonths[0] * numMonths[1] + 1,\n            maxDate.getDate(),\n          ),\n        );\n        maxDraw = minDate && maxDraw < minDate ? minDate : maxDraw;\n        while (\n          this._daylightSavingAdjust(new Date(drawYear, drawMonth, 1)) > maxDraw\n        ) {\n          drawMonth--;\n          if (drawMonth < 0) {\n            drawMonth = 11;\n            drawYear--;\n          }\n        }\n      }\n      inst.drawMonth = drawMonth;\n      inst.drawYear = drawYear;\n\n      prevText = this._get(inst, \"prevText\");\n      prevText = !navigationAsDateFormat\n        ? prevText\n        : this.formatDate(\n            prevText,\n            this._daylightSavingAdjust(\n              new Date(drawYear, drawMonth - stepMonths, 1),\n            ),\n            this._getFormatConfig(inst),\n          );\n\n      if (this._canAdjustMonth(inst, -1, drawYear, drawMonth)) {\n        prev = $(\"<a>\")\n          .attr({\n            class: \"ui-datepicker-prev ui-corner-all\",\n            \"data-handler\": \"prev\",\n            \"data-event\": \"click\",\n            title: prevText,\n          })\n          .append(\n            $(\"<span>\")\n              .addClass(\n                \"ui-icon ui-icon-circle-triangle-\" + (isRTL ? \"e\" : \"w\"),\n              )\n              .text(prevText),\n          )[0].outerHTML;\n      } else if (hideIfNoPrevNext) {\n        prev = \"\";\n      } else {\n        prev = $(\"<a>\")\n          .attr({\n            class: \"ui-datepicker-prev ui-corner-all ui-state-disabled\",\n            title: prevText,\n          })\n          .append(\n            $(\"<span>\")\n              .addClass(\n                \"ui-icon ui-icon-circle-triangle-\" + (isRTL ? \"e\" : \"w\"),\n              )\n              .text(prevText),\n          )[0].outerHTML;\n      }\n\n      nextText = this._get(inst, \"nextText\");\n      nextText = !navigationAsDateFormat\n        ? nextText\n        : this.formatDate(\n            nextText,\n            this._daylightSavingAdjust(\n              new Date(drawYear, drawMonth + stepMonths, 1),\n            ),\n            this._getFormatConfig(inst),\n          );\n\n      if (this._canAdjustMonth(inst, +1, drawYear, drawMonth)) {\n        next = $(\"<a>\")\n          .attr({\n            class: \"ui-datepicker-next ui-corner-all\",\n            \"data-handler\": \"next\",\n            \"data-event\": \"click\",\n            title: nextText,\n          })\n          .append(\n            $(\"<span>\")\n              .addClass(\n                \"ui-icon ui-icon-circle-triangle-\" + (isRTL ? \"w\" : \"e\"),\n              )\n              .text(nextText),\n          )[0].outerHTML;\n      } else if (hideIfNoPrevNext) {\n        next = \"\";\n      } else {\n        next = $(\"<a>\")\n          .attr({\n            class: \"ui-datepicker-next ui-corner-all ui-state-disabled\",\n            title: nextText,\n          })\n          .append(\n            $(\"<span>\")\n              .attr(\n                \"class\",\n                \"ui-icon ui-icon-circle-triangle-\" + (isRTL ? \"w\" : \"e\"),\n              )\n              .text(nextText),\n          )[0].outerHTML;\n      }\n\n      currentText = this._get(inst, \"currentText\");\n      gotoDate =\n        this._get(inst, \"gotoCurrent\") && inst.currentDay ? currentDate : today;\n      currentText = !navigationAsDateFormat\n        ? currentText\n        : this.formatDate(currentText, gotoDate, this._getFormatConfig(inst));\n\n      controls = \"\";\n      if (!inst.inline) {\n        controls = $(\"<button>\")\n          .attr({\n            type: \"button\",\n            class:\n              \"ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all\",\n            \"data-handler\": \"hide\",\n            \"data-event\": \"click\",\n          })\n          .text(this._get(inst, \"closeText\"))[0].outerHTML;\n      }\n\n      buttonPanel = \"\";\n      if (showButtonPanel) {\n        buttonPanel = $(\n          \"<div class='ui-datepicker-buttonpane ui-widget-content'>\",\n        )\n          .append(isRTL ? controls : \"\")\n          .append(\n            this._isInRange(inst, gotoDate)\n              ? $(\"<button>\")\n                  .attr({\n                    type: \"button\",\n                    class:\n                      \"ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all\",\n                    \"data-handler\": \"today\",\n                    \"data-event\": \"click\",\n                  })\n                  .text(currentText)\n              : \"\",\n          )\n          .append(isRTL ? \"\" : controls)[0].outerHTML;\n      }\n\n      firstDay = parseInt(this._get(inst, \"firstDay\"), 10);\n      firstDay = isNaN(firstDay) ? 0 : firstDay;\n\n      showWeek = this._get(inst, \"showWeek\");\n      dayNames = this._get(inst, \"dayNames\");\n      dayNamesMin = this._get(inst, \"dayNamesMin\");\n      monthNames = this._get(inst, \"monthNames\");\n      monthNamesShort = this._get(inst, \"monthNamesShort\");\n      beforeShowDay = this._get(inst, \"beforeShowDay\");\n      showOtherMonths = this._get(inst, \"showOtherMonths\");\n      selectOtherMonths = this._get(inst, \"selectOtherMonths\");\n      defaultDate = this._getDefaultDate(inst);\n      html = \"\";\n\n      for (row = 0; row < numMonths[0]; row++) {\n        group = \"\";\n        this.maxRows = 4;\n        for (col = 0; col < numMonths[1]; col++) {\n          selectedDate = this._daylightSavingAdjust(\n            new Date(drawYear, drawMonth, inst.selectedDay),\n          );\n          cornerClass = \" ui-corner-all\";\n          calender = \"\";\n          if (isMultiMonth) {\n            calender += \"<div class='ui-datepicker-group\";\n            if (numMonths[1] > 1) {\n              switch (col) {\n                case 0:\n                  calender += \" ui-datepicker-group-first\";\n                  cornerClass = \" ui-corner-\" + (isRTL ? \"right\" : \"left\");\n                  break;\n                case numMonths[1] - 1:\n                  calender += \" ui-datepicker-group-last\";\n                  cornerClass = \" ui-corner-\" + (isRTL ? \"left\" : \"right\");\n                  break;\n                default:\n                  calender += \" ui-datepicker-group-middle\";\n                  cornerClass = \"\";\n                  break;\n              }\n            }\n            calender += \"'>\";\n          }\n          calender +=\n            \"<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix\" +\n            cornerClass +\n            \"'>\" +\n            (/all|left/.test(cornerClass) && row === 0\n              ? isRTL\n                ? next\n                : prev\n              : \"\") +\n            (/all|right/.test(cornerClass) && row === 0\n              ? isRTL\n                ? prev\n                : next\n              : \"\") +\n            this._generateMonthYearHeader(\n              inst,\n              drawMonth,\n              drawYear,\n              minDate,\n              maxDate,\n              row > 0 || col > 0,\n              monthNames,\n              monthNamesShort,\n            ) + // draw month headers\n            \"</div><table class='ui-datepicker-calendar'><thead>\" +\n            \"<tr>\";\n          thead = showWeek\n            ? \"<th class='ui-datepicker-week-col'>\" +\n              this._get(inst, \"weekHeader\") +\n              \"</th>\"\n            : \"\";\n          for (dow = 0; dow < 7; dow++) {\n            // days of the week\n            day = (dow + firstDay) % 7;\n            thead +=\n              \"<th scope='col'\" +\n              ((dow + firstDay + 6) % 7 >= 5\n                ? \" class='ui-datepicker-week-end'\"\n                : \"\") +\n              \">\" +\n              \"<span title='\" +\n              dayNames[day] +\n              \"'>\" +\n              dayNamesMin[day] +\n              \"</span></th>\";\n          }\n          calender += thead + \"</tr></thead><tbody>\";\n          daysInMonth = this._getDaysInMonth(drawYear, drawMonth);\n          if (\n            drawYear === inst.selectedYear &&\n            drawMonth === inst.selectedMonth\n          ) {\n            inst.selectedDay = Math.min(inst.selectedDay, daysInMonth);\n          }\n          leadDays =\n            (this._getFirstDayOfMonth(drawYear, drawMonth) - firstDay + 7) % 7;\n          curRows = Math.ceil((leadDays + daysInMonth) / 7); // calculate the number of rows to generate\n          numRows = isMultiMonth\n            ? this.maxRows > curRows\n              ? this.maxRows\n              : curRows\n            : curRows; //If multiple months, use the higher number of rows (see #7043)\n          this.maxRows = numRows;\n          printDate = this._daylightSavingAdjust(\n            new Date(drawYear, drawMonth, 1 - leadDays),\n          );\n          for (dRow = 0; dRow < numRows; dRow++) {\n            // create date picker rows\n            calender += \"<tr>\";\n            tbody = !showWeek\n              ? \"\"\n              : \"<td class='ui-datepicker-week-col'>\" +\n                this._get(inst, \"calculateWeek\")(printDate) +\n                \"</td>\";\n            for (dow = 0; dow < 7; dow++) {\n              // create date picker days\n              daySettings = beforeShowDay\n                ? beforeShowDay.apply(inst.input ? inst.input[0] : null, [\n                    printDate,\n                  ])\n                : [true, \"\"];\n              otherMonth = printDate.getMonth() !== drawMonth;\n              unselectable =\n                (otherMonth && !selectOtherMonths) ||\n                !daySettings[0] ||\n                (minDate && printDate < minDate) ||\n                (maxDate && printDate > maxDate);\n              tbody +=\n                \"<td class='\" +\n                ((dow + firstDay + 6) % 7 >= 5\n                  ? \" ui-datepicker-week-end\"\n                  : \"\") + // highlight weekends\n                (otherMonth ? \" ui-datepicker-other-month\" : \"\") + // highlight days from other months\n                ((printDate.getTime() === selectedDate.getTime() &&\n                  drawMonth === inst.selectedMonth &&\n                  inst._keyEvent) || // user pressed key\n                (defaultDate.getTime() === printDate.getTime() &&\n                  defaultDate.getTime() === selectedDate.getTime())\n                  ? // or defaultDate is current printedDate and defaultDate is selectedDate\n                    \" \" + this._dayOverClass\n                  : \"\") + // highlight selected day\n                (unselectable\n                  ? \" \" + this._unselectableClass + \" ui-state-disabled\"\n                  : \"\") + // highlight unselectable days\n                (otherMonth && !showOtherMonths\n                  ? \"\"\n                  : \" \" +\n                    daySettings[1] + // highlight custom dates\n                    (printDate.getTime() === currentDate.getTime()\n                      ? \" \" + this._currentClass\n                      : \"\") + // highlight selected day\n                    (printDate.getTime() === today.getTime()\n                      ? \" ui-datepicker-today\"\n                      : \"\")) +\n                \"'\" + // highlight today (if different)\n                ((!otherMonth || showOtherMonths) && daySettings[2]\n                  ? \" title='\" + daySettings[2].replace(/'/g, \"&#39;\") + \"'\"\n                  : \"\") + // cell title\n                (unselectable\n                  ? \"\"\n                  : \" data-handler='selectDay' data-event='click' data-month='\" +\n                    printDate.getMonth() +\n                    \"' data-year='\" +\n                    printDate.getFullYear() +\n                    \"'\") +\n                \">\" + // actions\n                (otherMonth && !showOtherMonths\n                  ? \"&#xa0;\" // display for other months\n                  : unselectable\n                  ? \"<span class='ui-state-default'>\" +\n                    printDate.getDate() +\n                    \"</span>\"\n                  : \"<a class='ui-state-default\" +\n                    (printDate.getTime() === today.getTime()\n                      ? \" ui-state-highlight\"\n                      : \"\") +\n                    (printDate.getTime() === currentDate.getTime()\n                      ? \" ui-state-active\"\n                      : \"\") + // highlight selected day\n                    (otherMonth ? \" ui-priority-secondary\" : \"\") + // distinguish dates from other months\n                    \"' href='#' aria-current='\" +\n                    (printDate.getTime() === currentDate.getTime()\n                      ? \"true\"\n                      : \"false\") + // mark date as selected for screen reader\n                    \"' data-date='\" +\n                    printDate.getDate() + // store date as data\n                    \"'>\" +\n                    printDate.getDate() +\n                    \"</a>\") +\n                \"</td>\"; // display selectable date\n              printDate.setDate(printDate.getDate() + 1);\n              printDate = this._daylightSavingAdjust(printDate);\n            }\n            calender += tbody + \"</tr>\";\n          }\n          drawMonth++;\n          if (drawMonth > 11) {\n            drawMonth = 0;\n            drawYear++;\n          }\n          calender +=\n            \"</tbody></table>\" +\n            (isMultiMonth\n              ? \"</div>\" +\n                (numMonths[0] > 0 && col === numMonths[1] - 1\n                  ? \"<div class='ui-datepicker-row-break'></div>\"\n                  : \"\")\n              : \"\");\n          group += calender;\n        }\n        html += group;\n      }\n      html += buttonPanel;\n      inst._keyEvent = false;\n      return html;\n    },\n\n    /* Generate the month and year header. */\n    _generateMonthYearHeader: function (\n      inst,\n      drawMonth,\n      drawYear,\n      minDate,\n      maxDate,\n      secondary,\n      monthNames,\n      monthNamesShort,\n    ) {\n      var inMinYear,\n        inMaxYear,\n        month,\n        years,\n        thisYear,\n        determineYear,\n        year,\n        endYear,\n        changeMonth = this._get(inst, \"changeMonth\"),\n        changeYear = this._get(inst, \"changeYear\"),\n        showMonthAfterYear = this._get(inst, \"showMonthAfterYear\"),\n        selectMonthLabel = this._get(inst, \"selectMonthLabel\"),\n        selectYearLabel = this._get(inst, \"selectYearLabel\"),\n        html = \"<div class='ui-datepicker-title'>\",\n        monthHtml = \"\";\n\n      // Month selection\n      if (secondary || !changeMonth) {\n        monthHtml +=\n          \"<span class='ui-datepicker-month'>\" +\n          monthNames[drawMonth] +\n          \"</span>\";\n      } else {\n        inMinYear = minDate && minDate.getFullYear() === drawYear;\n        inMaxYear = maxDate && maxDate.getFullYear() === drawYear;\n        monthHtml +=\n          \"<select class='ui-datepicker-month' aria-label='\" +\n          selectMonthLabel +\n          \"' data-handler='selectMonth' data-event='change'>\";\n        for (month = 0; month < 12; month++) {\n          if (\n            (!inMinYear || month >= minDate.getMonth()) &&\n            (!inMaxYear || month <= maxDate.getMonth())\n          ) {\n            monthHtml +=\n              \"<option value='\" +\n              month +\n              \"'\" +\n              (month === drawMonth ? \" selected='selected'\" : \"\") +\n              \">\" +\n              monthNamesShort[month] +\n              \"</option>\";\n          }\n        }\n        monthHtml += \"</select>\";\n      }\n\n      if (!showMonthAfterYear) {\n        html +=\n          monthHtml +\n          (secondary || !(changeMonth && changeYear) ? \"&#xa0;\" : \"\");\n      }\n\n      // Year selection\n      if (!inst.yearshtml) {\n        inst.yearshtml = \"\";\n        if (secondary || !changeYear) {\n          html += \"<span class='ui-datepicker-year'>\" + drawYear + \"</span>\";\n        } else {\n          // determine range of years to display\n          years = this._get(inst, \"yearRange\").split(\":\");\n          thisYear = new Date().getFullYear();\n          determineYear = function (value) {\n            var year = value.match(/c[+\\-].*/)\n              ? drawYear + parseInt(value.substring(1), 10)\n              : value.match(/[+\\-].*/)\n              ? thisYear + parseInt(value, 10)\n              : parseInt(value, 10);\n            return isNaN(year) ? thisYear : year;\n          };\n          year = determineYear(years[0]);\n          endYear = Math.max(year, determineYear(years[1] || \"\"));\n          year = minDate ? Math.max(year, minDate.getFullYear()) : year;\n          endYear = maxDate\n            ? Math.min(endYear, maxDate.getFullYear())\n            : endYear;\n          inst.yearshtml +=\n            \"<select class='ui-datepicker-year' aria-label='\" +\n            selectYearLabel +\n            \"' data-handler='selectYear' data-event='change'>\";\n          for (; year <= endYear; year++) {\n            inst.yearshtml +=\n              \"<option value='\" +\n              year +\n              \"'\" +\n              (year === drawYear ? \" selected='selected'\" : \"\") +\n              \">\" +\n              year +\n              \"</option>\";\n          }\n          inst.yearshtml += \"</select>\";\n\n          html += inst.yearshtml;\n          inst.yearshtml = null;\n        }\n      }\n\n      html += this._get(inst, \"yearSuffix\");\n      if (showMonthAfterYear) {\n        html +=\n          (secondary || !(changeMonth && changeYear) ? \"&#xa0;\" : \"\") +\n          monthHtml;\n      }\n      html += \"</div>\"; // Close datepicker_header\n      return html;\n    },\n\n    /* Adjust one of the date sub-fields. */\n    _adjustInstDate: function (inst, offset, period) {\n      var year = inst.selectedYear + (period === \"Y\" ? offset : 0),\n        month = inst.selectedMonth + (period === \"M\" ? offset : 0),\n        day =\n          Math.min(inst.selectedDay, this._getDaysInMonth(year, month)) +\n          (period === \"D\" ? offset : 0),\n        date = this._restrictMinMax(\n          inst,\n          this._daylightSavingAdjust(new Date(year, month, day)),\n        );\n\n      inst.selectedDay = date.getDate();\n      inst.drawMonth = inst.selectedMonth = date.getMonth();\n      inst.drawYear = inst.selectedYear = date.getFullYear();\n      if (period === \"M\" || period === \"Y\") {\n        this._notifyChange(inst);\n      }\n    },\n\n    /* Ensure a date is within any min/max bounds. */\n    _restrictMinMax: function (inst, date) {\n      var minDate = this._getMinMaxDate(inst, \"min\"),\n        maxDate = this._getMinMaxDate(inst, \"max\"),\n        newDate = minDate && date < minDate ? minDate : date;\n      return maxDate && newDate > maxDate ? maxDate : newDate;\n    },\n\n    /* Notify change of month/year. */\n    _notifyChange: function (inst) {\n      var onChange = this._get(inst, \"onChangeMonthYear\");\n      if (onChange) {\n        onChange.apply(inst.input ? inst.input[0] : null, [\n          inst.selectedYear,\n          inst.selectedMonth + 1,\n          inst,\n        ]);\n      }\n    },\n\n    /* Determine the number of months to show. */\n    _getNumberOfMonths: function (inst) {\n      var numMonths = this._get(inst, \"numberOfMonths\");\n      return numMonths == null\n        ? [1, 1]\n        : typeof numMonths === \"number\"\n        ? [1, numMonths]\n        : numMonths;\n    },\n\n    /* Determine the current maximum date - ensure no time components are set. */\n    _getMinMaxDate: function (inst, minMax) {\n      return this._determineDate(inst, this._get(inst, minMax + \"Date\"), null);\n    },\n\n    /* Find the number of days in a given month. */\n    _getDaysInMonth: function (year, month) {\n      return (\n        32 - this._daylightSavingAdjust(new Date(year, month, 32)).getDate()\n      );\n    },\n\n    /* Find the day of the week of the first of a month. */\n    _getFirstDayOfMonth: function (year, month) {\n      return new Date(year, month, 1).getDay();\n    },\n\n    /* Determines if we should allow a \"next/prev\" month display change. */\n    _canAdjustMonth: function (inst, offset, curYear, curMonth) {\n      var numMonths = this._getNumberOfMonths(inst),\n        date = this._daylightSavingAdjust(\n          new Date(\n            curYear,\n            curMonth + (offset < 0 ? offset : numMonths[0] * numMonths[1]),\n            1,\n          ),\n        );\n\n      if (offset < 0) {\n        date.setDate(this._getDaysInMonth(date.getFullYear(), date.getMonth()));\n      }\n      return this._isInRange(inst, date);\n    },\n\n    /* Is the given date in the accepted range? */\n    _isInRange: function (inst, date) {\n      var yearSplit,\n        currentYear,\n        minDate = this._getMinMaxDate(inst, \"min\"),\n        maxDate = this._getMinMaxDate(inst, \"max\"),\n        minYear = null,\n        maxYear = null,\n        years = this._get(inst, \"yearRange\");\n      if (years) {\n        yearSplit = years.split(\":\");\n        currentYear = new Date().getFullYear();\n        minYear = parseInt(yearSplit[0], 10);\n        maxYear = parseInt(yearSplit[1], 10);\n        if (yearSplit[0].match(/[+\\-].*/)) {\n          minYear += currentYear;\n        }\n        if (yearSplit[1].match(/[+\\-].*/)) {\n          maxYear += currentYear;\n        }\n      }\n\n      return (\n        (!minDate || date.getTime() >= minDate.getTime()) &&\n        (!maxDate || date.getTime() <= maxDate.getTime()) &&\n        (!minYear || date.getFullYear() >= minYear) &&\n        (!maxYear || date.getFullYear() <= maxYear)\n      );\n    },\n\n    /* Provide the configuration settings for formatting/parsing. */\n    _getFormatConfig: function (inst) {\n      var shortYearCutoff = this._get(inst, \"shortYearCutoff\");\n      shortYearCutoff =\n        typeof shortYearCutoff !== \"string\"\n          ? shortYearCutoff\n          : (new Date().getFullYear() % 100) + parseInt(shortYearCutoff, 10);\n      return {\n        shortYearCutoff: shortYearCutoff,\n        dayNamesShort: this._get(inst, \"dayNamesShort\"),\n        dayNames: this._get(inst, \"dayNames\"),\n        monthNamesShort: this._get(inst, \"monthNamesShort\"),\n        monthNames: this._get(inst, \"monthNames\"),\n      };\n    },\n\n    /* Format the given date for display. */\n    _formatDate: function (inst, day, month, year) {\n      if (!day) {\n        inst.currentDay = inst.selectedDay;\n        inst.currentMonth = inst.selectedMonth;\n        inst.currentYear = inst.selectedYear;\n      }\n      var date = day\n        ? typeof day === \"object\"\n          ? day\n          : this._daylightSavingAdjust(new Date(year, month, day))\n        : this._daylightSavingAdjust(\n            new Date(inst.currentYear, inst.currentMonth, inst.currentDay),\n          );\n      return this.formatDate(\n        this._get(inst, \"dateFormat\"),\n        date,\n        this._getFormatConfig(inst),\n      );\n    },\n  });\n\n  /*\n   * Bind hover events for datepicker elements.\n   * Done via delegate so the binding only occurs once in the lifetime of the parent div.\n   * Global datepicker_instActive, set by _updateDatepicker allows the handlers to find their way back to the active picker.\n   */\n  function datepicker_bindHover(dpDiv) {\n    var selector =\n      \"button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a\";\n    return dpDiv\n      .on(\"mouseout\", selector, function () {\n        $(this).removeClass(\"ui-state-hover\");\n        if (this.className.indexOf(\"ui-datepicker-prev\") !== -1) {\n          $(this).removeClass(\"ui-datepicker-prev-hover\");\n        }\n        if (this.className.indexOf(\"ui-datepicker-next\") !== -1) {\n          $(this).removeClass(\"ui-datepicker-next-hover\");\n        }\n      })\n      .on(\"mouseover\", selector, datepicker_handleMouseover);\n  }\n\n  function datepicker_handleMouseover() {\n    if (\n      !$.datepicker._isDisabledDatepicker(\n        datepicker_instActive.inline\n          ? datepicker_instActive.dpDiv.parent()[0]\n          : datepicker_instActive.input[0],\n      )\n    ) {\n      $(this)\n        .parents(\".ui-datepicker-calendar\")\n        .find(\"a\")\n        .removeClass(\"ui-state-hover\");\n      $(this).addClass(\"ui-state-hover\");\n      if (this.className.indexOf(\"ui-datepicker-prev\") !== -1) {\n        $(this).addClass(\"ui-datepicker-prev-hover\");\n      }\n      if (this.className.indexOf(\"ui-datepicker-next\") !== -1) {\n        $(this).addClass(\"ui-datepicker-next-hover\");\n      }\n    }\n  }\n\n  /* jQuery extend now ignores nulls! */\n  function datepicker_extendRemove(target, props) {\n    $.extend(target, props);\n    for (var name in props) {\n      if (props[name] == null) {\n        target[name] = props[name];\n      }\n    }\n    return target;\n  }\n\n  /* Invoke the datepicker functionality.\n   @param  options  string - a command, optionally followed by additional parameters or\n\t\t\t\t\tObject - settings for attaching new datepicker functionality\n   @return  jQuery object */\n  $.fn.datepicker = function (options) {\n    /* Verify an empty collection wasn't passed - Fixes #6976 */\n    if (!this.length) {\n      return this;\n    }\n\n    /* Initialise the date picker. */\n    if (!$.datepicker.initialized) {\n      $(document).on(\"mousedown\", $.datepicker._checkExternalClick);\n      $.datepicker.initialized = true;\n    }\n\n    /* Append datepicker main container to body if not exist. */\n    if ($(\"#\" + $.datepicker._mainDivId).length === 0) {\n      $(\"body\").append($.datepicker.dpDiv);\n    }\n\n    var otherArgs = Array.prototype.slice.call(arguments, 1);\n    if (\n      typeof options === \"string\" &&\n      (options === \"isDisabled\" ||\n        options === \"getDate\" ||\n        options === \"widget\")\n    ) {\n      return $.datepicker[\"_\" + options + \"Datepicker\"].apply(\n        $.datepicker,\n        [this[0]].concat(otherArgs),\n      );\n    }\n    if (\n      options === \"option\" &&\n      arguments.length === 2 &&\n      typeof arguments[1] === \"string\"\n    ) {\n      return $.datepicker[\"_\" + options + \"Datepicker\"].apply(\n        $.datepicker,\n        [this[0]].concat(otherArgs),\n      );\n    }\n    return this.each(function () {\n      if (typeof options === \"string\") {\n        $.datepicker[\"_\" + options + \"Datepicker\"].apply(\n          $.datepicker,\n          [this].concat(otherArgs),\n        );\n      } else {\n        $.datepicker._attachDatepicker(this, options);\n      }\n    });\n  };\n\n  $.datepicker = new Datepicker(); // singleton instance\n  $.datepicker.initialized = false;\n  $.datepicker.uuid = new Date().getTime();\n  $.datepicker.version = \"1.13.2\";\n\n  var widgetsDatepicker = $.datepicker;\n\n  /*!\n   * jQuery UI Dialog 1.13.2\n   * http://jqueryui.com\n   *\n   * Copyright jQuery Foundation and other contributors\n   * Released under the MIT license.\n   * http://jquery.org/license\n   */\n\n  //>>label: Dialog\n  //>>group: Widgets\n  //>>description: Displays customizable dialog windows.\n  //>>docs: http://api.jqueryui.com/dialog/\n  //>>demos: http://jqueryui.com/dialog/\n  //>>css.structure: ../../themes/base/core.css\n  //>>css.structure: ../../themes/base/dialog.css\n  //>>css.theme: ../../themes/base/theme.css\n\n  $.widget(\"ui.dialog\", {\n    version: \"1.13.2\",\n    options: {\n      appendTo: \"body\",\n      autoOpen: true,\n      buttons: [],\n      classes: {\n        \"ui-dialog\": \"ui-corner-all\",\n        \"ui-dialog-titlebar\": \"ui-corner-all\",\n      },\n      closeOnEscape: true,\n      closeText: \"Close\",\n      draggable: true,\n      hide: null,\n      height: \"auto\",\n      maxHeight: null,\n      maxWidth: null,\n      minHeight: 150,\n      minWidth: 150,\n      modal: false,\n      position: {\n        my: \"center\",\n        at: \"center\",\n        of: window,\n        collision: \"fit\",\n\n        // Ensure the titlebar is always visible\n        using: function (pos) {\n          var topOffset = $(this).css(pos).offset().top;\n          if (topOffset < 0) {\n            $(this).css(\"top\", pos.top - topOffset);\n          }\n        },\n      },\n      resizable: true,\n      show: null,\n      title: null,\n      width: 300,\n\n      // Callbacks\n      beforeClose: null,\n      close: null,\n      drag: null,\n      dragStart: null,\n      dragStop: null,\n      focus: null,\n      open: null,\n      resize: null,\n      resizeStart: null,\n      resizeStop: null,\n    },\n\n    sizeRelatedOptions: {\n      buttons: true,\n      height: true,\n      maxHeight: true,\n      maxWidth: true,\n      minHeight: true,\n      minWidth: true,\n      width: true,\n    },\n\n    resizableRelatedOptions: {\n      maxHeight: true,\n      maxWidth: true,\n      minHeight: true,\n      minWidth: true,\n    },\n\n    _create: function () {\n      this.originalCss = {\n        display: this.element[0].style.display,\n        width: this.element[0].style.width,\n        minHeight: this.element[0].style.minHeight,\n        maxHeight: this.element[0].style.maxHeight,\n        height: this.element[0].style.height,\n      };\n      this.originalPosition = {\n        parent: this.element.parent(),\n        index: this.element.parent().children().index(this.element),\n      };\n      this.originalTitle = this.element.attr(\"title\");\n      if (this.options.title == null && this.originalTitle != null) {\n        this.options.title = this.originalTitle;\n      }\n\n      // Dialogs can't be disabled\n      if (this.options.disabled) {\n        this.options.disabled = false;\n      }\n\n      this._createWrapper();\n\n      this.element.show().removeAttr(\"title\").appendTo(this.uiDialog);\n\n      this._addClass(\"ui-dialog-content\", \"ui-widget-content\");\n\n      this._createTitlebar();\n      this._createButtonPane();\n\n      if (this.options.draggable && $.fn.draggable) {\n        this._makeDraggable();\n      }\n      if (this.options.resizable && $.fn.resizable) {\n        this._makeResizable();\n      }\n\n      this._isOpen = false;\n\n      this._trackFocus();\n    },\n\n    _init: function () {\n      if (this.options.autoOpen) {\n        this.open();\n      }\n    },\n\n    _appendTo: function () {\n      var element = this.options.appendTo;\n      if (element && (element.jquery || element.nodeType)) {\n        return $(element);\n      }\n      return this.document.find(element || \"body\").eq(0);\n    },\n\n    _destroy: function () {\n      var next,\n        originalPosition = this.originalPosition;\n\n      this._untrackInstance();\n      this._destroyOverlay();\n\n      this.element\n        .removeUniqueId()\n        .css(this.originalCss)\n\n        // Without detaching first, the following becomes really slow\n        .detach();\n\n      this.uiDialog.remove();\n\n      if (this.originalTitle) {\n        this.element.attr(\"title\", this.originalTitle);\n      }\n\n      next = originalPosition.parent.children().eq(originalPosition.index);\n\n      // Don't try to place the dialog next to itself (#8613)\n      if (next.length && next[0] !== this.element[0]) {\n        next.before(this.element);\n      } else {\n        originalPosition.parent.append(this.element);\n      }\n    },\n\n    widget: function () {\n      return this.uiDialog;\n    },\n\n    disable: $.noop,\n    enable: $.noop,\n\n    close: function (event) {\n      var that = this;\n\n      if (!this._isOpen || this._trigger(\"beforeClose\", event) === false) {\n        return;\n      }\n\n      this._isOpen = false;\n      this._focusedElement = null;\n      this._destroyOverlay();\n      this._untrackInstance();\n\n      if (!this.opener.filter(\":focusable\").trigger(\"focus\").length) {\n        // Hiding a focused element doesn't trigger blur in WebKit\n        // so in case we have nothing to focus on, explicitly blur the active element\n        // https://bugs.webkit.org/show_bug.cgi?id=47182\n        $.ui.safeBlur($.ui.safeActiveElement(this.document[0]));\n      }\n\n      this._hide(this.uiDialog, this.options.hide, function () {\n        that._trigger(\"close\", event);\n      });\n    },\n\n    isOpen: function () {\n      return this._isOpen;\n    },\n\n    moveToTop: function () {\n      this._moveToTop();\n    },\n\n    _moveToTop: function (event, silent) {\n      var moved = false,\n        zIndices = this.uiDialog\n          .siblings(\".ui-front:visible\")\n          .map(function () {\n            return +$(this).css(\"z-index\");\n          })\n          .get(),\n        zIndexMax = Math.max.apply(null, zIndices);\n\n      if (zIndexMax >= +this.uiDialog.css(\"z-index\")) {\n        this.uiDialog.css(\"z-index\", zIndexMax + 1);\n        moved = true;\n      }\n\n      if (moved && !silent) {\n        this._trigger(\"focus\", event);\n      }\n      return moved;\n    },\n\n    open: function () {\n      var that = this;\n      if (this._isOpen) {\n        if (this._moveToTop()) {\n          this._focusTabbable();\n        }\n        return;\n      }\n\n      this._isOpen = true;\n      this.opener = $($.ui.safeActiveElement(this.document[0]));\n\n      this._size();\n      this._position();\n      this._createOverlay();\n      this._moveToTop(null, true);\n\n      // Ensure the overlay is moved to the top with the dialog, but only when\n      // opening. The overlay shouldn't move after the dialog is open so that\n      // modeless dialogs opened after the modal dialog stack properly.\n      if (this.overlay) {\n        this.overlay.css(\"z-index\", this.uiDialog.css(\"z-index\") - 1);\n      }\n\n      this._show(this.uiDialog, this.options.show, function () {\n        that._focusTabbable();\n        that._trigger(\"focus\");\n      });\n\n      // Track the dialog immediately upon opening in case a focus event\n      // somehow occurs outside of the dialog before an element inside the\n      // dialog is focused (#10152)\n      this._makeFocusTarget();\n\n      this._trigger(\"open\");\n    },\n\n    _focusTabbable: function () {\n      // Set focus to the first match:\n      // 1. An element that was focused previously\n      // 2. First element inside the dialog matching [autofocus]\n      // 3. Tabbable element inside the content element\n      // 4. Tabbable element inside the buttonpane\n      // 5. The close button\n      // 6. The dialog itself\n      var hasFocus = this._focusedElement;\n      if (!hasFocus) {\n        hasFocus = this.element.find(\"[autofocus]\");\n      }\n      if (!hasFocus.length) {\n        hasFocus = this.element.find(\":tabbable\");\n      }\n      if (!hasFocus.length) {\n        hasFocus = this.uiDialogButtonPane.find(\":tabbable\");\n      }\n      if (!hasFocus.length) {\n        hasFocus = this.uiDialogTitlebarClose.filter(\":tabbable\");\n      }\n      if (!hasFocus.length) {\n        hasFocus = this.uiDialog;\n      }\n      hasFocus.eq(0).trigger(\"focus\");\n    },\n\n    _restoreTabbableFocus: function () {\n      var activeElement = $.ui.safeActiveElement(this.document[0]),\n        isActive =\n          this.uiDialog[0] === activeElement ||\n          $.contains(this.uiDialog[0], activeElement);\n      if (!isActive) {\n        this._focusTabbable();\n      }\n    },\n\n    _keepFocus: function (event) {\n      event.preventDefault();\n      this._restoreTabbableFocus();\n\n      // support: IE\n      // IE <= 8 doesn't prevent moving focus even with event.preventDefault()\n      // so we check again later\n      this._delay(this._restoreTabbableFocus);\n    },\n\n    _createWrapper: function () {\n      this.uiDialog = $(\"<div>\")\n        .hide()\n        .attr({\n          // Setting tabIndex makes the div focusable\n          tabIndex: -1,\n          role: \"dialog\",\n        })\n        .appendTo(this._appendTo());\n\n      this._addClass(\n        this.uiDialog,\n        \"ui-dialog\",\n        \"ui-widget ui-widget-content ui-front\",\n      );\n      this._on(this.uiDialog, {\n        keydown: function (event) {\n          if (\n            this.options.closeOnEscape &&\n            !event.isDefaultPrevented() &&\n            event.keyCode &&\n            event.keyCode === $.ui.keyCode.ESCAPE\n          ) {\n            event.preventDefault();\n            this.close(event);\n            return;\n          }\n\n          // Prevent tabbing out of dialogs\n          if (\n            event.keyCode !== $.ui.keyCode.TAB ||\n            event.isDefaultPrevented()\n          ) {\n            return;\n          }\n          var tabbables = this.uiDialog.find(\":tabbable\"),\n            first = tabbables.first(),\n            last = tabbables.last();\n\n          if (\n            (event.target === last[0] || event.target === this.uiDialog[0]) &&\n            !event.shiftKey\n          ) {\n            this._delay(function () {\n              first.trigger(\"focus\");\n            });\n            event.preventDefault();\n          } else if (\n            (event.target === first[0] || event.target === this.uiDialog[0]) &&\n            event.shiftKey\n          ) {\n            this._delay(function () {\n              last.trigger(\"focus\");\n            });\n            event.preventDefault();\n          }\n        },\n        mousedown: function (event) {\n          if (this._moveToTop(event)) {\n            this._focusTabbable();\n          }\n        },\n      });\n\n      // We assume that any existing aria-describedby attribute means\n      // that the dialog content is marked up properly\n      // otherwise we brute force the content as the description\n      if (!this.element.find(\"[aria-describedby]\").length) {\n        this.uiDialog.attr({\n          \"aria-describedby\": this.element.uniqueId().attr(\"id\"),\n        });\n      }\n    },\n\n    _createTitlebar: function () {\n      var uiDialogTitle;\n\n      this.uiDialogTitlebar = $(\"<div>\");\n      this._addClass(\n        this.uiDialogTitlebar,\n        \"ui-dialog-titlebar\",\n        \"ui-widget-header ui-helper-clearfix\",\n      );\n      this._on(this.uiDialogTitlebar, {\n        mousedown: function (event) {\n          // Don't prevent click on close button (#8838)\n          // Focusing a dialog that is partially scrolled out of view\n          // causes the browser to scroll it into view, preventing the click event\n          if (!$(event.target).closest(\".ui-dialog-titlebar-close\")) {\n            // Dialog isn't getting focus when dragging (#8063)\n            this.uiDialog.trigger(\"focus\");\n          }\n        },\n      });\n\n      // Support: IE\n      // Use type=\"button\" to prevent enter keypresses in textboxes from closing the\n      // dialog in IE (#9312)\n      this.uiDialogTitlebarClose = $(\"<button type='button'></button>\")\n        .button({\n          label: $(\"<a>\").text(this.options.closeText).html(),\n          icon: \"ui-icon-closethick\",\n          showLabel: false,\n        })\n        .appendTo(this.uiDialogTitlebar);\n\n      this._addClass(this.uiDialogTitlebarClose, \"ui-dialog-titlebar-close\");\n      this._on(this.uiDialogTitlebarClose, {\n        click: function (event) {\n          event.preventDefault();\n          this.close(event);\n        },\n      });\n\n      uiDialogTitle = $(\"<span>\").uniqueId().prependTo(this.uiDialogTitlebar);\n      this._addClass(uiDialogTitle, \"ui-dialog-title\");\n      this._title(uiDialogTitle);\n\n      this.uiDialogTitlebar.prependTo(this.uiDialog);\n\n      this.uiDialog.attr({\n        \"aria-labelledby\": uiDialogTitle.attr(\"id\"),\n      });\n    },\n\n    _title: function (title) {\n      if (this.options.title) {\n        title.text(this.options.title);\n      } else {\n        title.html(\"&#160;\");\n      }\n    },\n\n    _createButtonPane: function () {\n      this.uiDialogButtonPane = $(\"<div>\");\n      this._addClass(\n        this.uiDialogButtonPane,\n        \"ui-dialog-buttonpane\",\n        \"ui-widget-content ui-helper-clearfix\",\n      );\n\n      this.uiButtonSet = $(\"<div>\").appendTo(this.uiDialogButtonPane);\n      this._addClass(this.uiButtonSet, \"ui-dialog-buttonset\");\n\n      this._createButtons();\n    },\n\n    _createButtons: function () {\n      var that = this,\n        buttons = this.options.buttons;\n\n      // If we already have a button pane, remove it\n      this.uiDialogButtonPane.remove();\n      this.uiButtonSet.empty();\n\n      if (\n        $.isEmptyObject(buttons) ||\n        (Array.isArray(buttons) && !buttons.length)\n      ) {\n        this._removeClass(this.uiDialog, \"ui-dialog-buttons\");\n        return;\n      }\n\n      $.each(buttons, function (name, props) {\n        var click, buttonOptions;\n        props =\n          typeof props === \"function\" ? { click: props, text: name } : props;\n\n        // Default to a non-submitting button\n        props = $.extend({ type: \"button\" }, props);\n\n        // Change the context for the click callback to be the main element\n        click = props.click;\n        buttonOptions = {\n          icon: props.icon,\n          iconPosition: props.iconPosition,\n          showLabel: props.showLabel,\n\n          // Deprecated options\n          icons: props.icons,\n          text: props.text,\n        };\n\n        delete props.click;\n        delete props.icon;\n        delete props.iconPosition;\n        delete props.showLabel;\n\n        // Deprecated options\n        delete props.icons;\n        if (typeof props.text === \"boolean\") {\n          delete props.text;\n        }\n\n        $(\"<button></button>\", props)\n          .button(buttonOptions)\n          .appendTo(that.uiButtonSet)\n          .on(\"click\", function () {\n            click.apply(that.element[0], arguments);\n          });\n      });\n      this._addClass(this.uiDialog, \"ui-dialog-buttons\");\n      this.uiDialogButtonPane.appendTo(this.uiDialog);\n    },\n\n    _makeDraggable: function () {\n      var that = this,\n        options = this.options;\n\n      function filteredUi(ui) {\n        return {\n          position: ui.position,\n          offset: ui.offset,\n        };\n      }\n\n      this.uiDialog.draggable({\n        cancel: \".ui-dialog-content, .ui-dialog-titlebar-close\",\n        handle: \".ui-dialog-titlebar\",\n        containment: \"document\",\n        start: function (event, ui) {\n          that._addClass($(this), \"ui-dialog-dragging\");\n          that._blockFrames();\n          that._trigger(\"dragStart\", event, filteredUi(ui));\n        },\n        drag: function (event, ui) {\n          that._trigger(\"drag\", event, filteredUi(ui));\n        },\n        stop: function (event, ui) {\n          var left = ui.offset.left - that.document.scrollLeft(),\n            top = ui.offset.top - that.document.scrollTop();\n\n          options.position = {\n            my: \"left top\",\n            at:\n              \"left\" +\n              (left >= 0 ? \"+\" : \"\") +\n              left +\n              \" \" +\n              \"top\" +\n              (top >= 0 ? \"+\" : \"\") +\n              top,\n            of: that.window,\n          };\n          that._removeClass($(this), \"ui-dialog-dragging\");\n          that._unblockFrames();\n          that._trigger(\"dragStop\", event, filteredUi(ui));\n        },\n      });\n    },\n\n    _makeResizable: function () {\n      var that = this,\n        options = this.options,\n        handles = options.resizable,\n        // .ui-resizable has position: relative defined in the stylesheet\n        // but dialogs have to use absolute or fixed positioning\n        position = this.uiDialog.css(\"position\"),\n        resizeHandles =\n          typeof handles === \"string\" ? handles : \"n,e,s,w,se,sw,ne,nw\";\n\n      function filteredUi(ui) {\n        return {\n          originalPosition: ui.originalPosition,\n          originalSize: ui.originalSize,\n          position: ui.position,\n          size: ui.size,\n        };\n      }\n\n      this.uiDialog\n        .resizable({\n          cancel: \".ui-dialog-content\",\n          containment: \"document\",\n          alsoResize: this.element,\n          maxWidth: options.maxWidth,\n          maxHeight: options.maxHeight,\n          minWidth: options.minWidth,\n          minHeight: this._minHeight(),\n          handles: resizeHandles,\n          start: function (event, ui) {\n            that._addClass($(this), \"ui-dialog-resizing\");\n            that._blockFrames();\n            that._trigger(\"resizeStart\", event, filteredUi(ui));\n          },\n          resize: function (event, ui) {\n            that._trigger(\"resize\", event, filteredUi(ui));\n          },\n          stop: function (event, ui) {\n            var offset = that.uiDialog.offset(),\n              left = offset.left - that.document.scrollLeft(),\n              top = offset.top - that.document.scrollTop();\n\n            options.height = that.uiDialog.height();\n            options.width = that.uiDialog.width();\n            options.position = {\n              my: \"left top\",\n              at:\n                \"left\" +\n                (left >= 0 ? \"+\" : \"\") +\n                left +\n                \" \" +\n                \"top\" +\n                (top >= 0 ? \"+\" : \"\") +\n                top,\n              of: that.window,\n            };\n            that._removeClass($(this), \"ui-dialog-resizing\");\n            that._unblockFrames();\n            that._trigger(\"resizeStop\", event, filteredUi(ui));\n          },\n        })\n        .css(\"position\", position);\n    },\n\n    _trackFocus: function () {\n      this._on(this.widget(), {\n        focusin: function (event) {\n          this._makeFocusTarget();\n          this._focusedElement = $(event.target);\n        },\n      });\n    },\n\n    _makeFocusTarget: function () {\n      this._untrackInstance();\n      this._trackingInstances().unshift(this);\n    },\n\n    _untrackInstance: function () {\n      var instances = this._trackingInstances(),\n        exists = $.inArray(this, instances);\n      if (exists !== -1) {\n        instances.splice(exists, 1);\n      }\n    },\n\n    _trackingInstances: function () {\n      var instances = this.document.data(\"ui-dialog-instances\");\n      if (!instances) {\n        instances = [];\n        this.document.data(\"ui-dialog-instances\", instances);\n      }\n      return instances;\n    },\n\n    _minHeight: function () {\n      var options = this.options;\n\n      return options.height === \"auto\"\n        ? options.minHeight\n        : Math.min(options.minHeight, options.height);\n    },\n\n    _position: function () {\n      // Need to show the dialog to get the actual offset in the position plugin\n      var isVisible = this.uiDialog.is(\":visible\");\n      if (!isVisible) {\n        this.uiDialog.show();\n      }\n      this.uiDialog.position(this.options.position);\n      if (!isVisible) {\n        this.uiDialog.hide();\n      }\n    },\n\n    _setOptions: function (options) {\n      var that = this,\n        resize = false,\n        resizableOptions = {};\n\n      $.each(options, function (key, value) {\n        that._setOption(key, value);\n\n        if (key in that.sizeRelatedOptions) {\n          resize = true;\n        }\n        if (key in that.resizableRelatedOptions) {\n          resizableOptions[key] = value;\n        }\n      });\n\n      if (resize) {\n        this._size();\n        this._position();\n      }\n      if (this.uiDialog.is(\":data(ui-resizable)\")) {\n        this.uiDialog.resizable(\"option\", resizableOptions);\n      }\n    },\n\n    _setOption: function (key, value) {\n      var isDraggable,\n        isResizable,\n        uiDialog = this.uiDialog;\n\n      if (key === \"disabled\") {\n        return;\n      }\n\n      this._super(key, value);\n\n      if (key === \"appendTo\") {\n        this.uiDialog.appendTo(this._appendTo());\n      }\n\n      if (key === \"buttons\") {\n        this._createButtons();\n      }\n\n      if (key === \"closeText\") {\n        this.uiDialogTitlebarClose.button({\n          // Ensure that we always pass a string\n          label: $(\"<a>\")\n            .text(\"\" + this.options.closeText)\n            .html(),\n        });\n      }\n\n      if (key === \"draggable\") {\n        isDraggable = uiDialog.is(\":data(ui-draggable)\");\n        if (isDraggable && !value) {\n          uiDialog.draggable(\"destroy\");\n        }\n\n        if (!isDraggable && value) {\n          this._makeDraggable();\n        }\n      }\n\n      if (key === \"position\") {\n        this._position();\n      }\n\n      if (key === \"resizable\") {\n        // currently resizable, becoming non-resizable\n        isResizable = uiDialog.is(\":data(ui-resizable)\");\n        if (isResizable && !value) {\n          uiDialog.resizable(\"destroy\");\n        }\n\n        // Currently resizable, changing handles\n        if (isResizable && typeof value === \"string\") {\n          uiDialog.resizable(\"option\", \"handles\", value);\n        }\n\n        // Currently non-resizable, becoming resizable\n        if (!isResizable && value !== false) {\n          this._makeResizable();\n        }\n      }\n\n      if (key === \"title\") {\n        this._title(this.uiDialogTitlebar.find(\".ui-dialog-title\"));\n      }\n    },\n\n    _size: function () {\n      // If the user has resized the dialog, the .ui-dialog and .ui-dialog-content\n      // divs will both have width and height set, so we need to reset them\n      var nonContentHeight,\n        minContentHeight,\n        maxContentHeight,\n        options = this.options;\n\n      // Reset content sizing\n      this.element.show().css({\n        width: \"auto\",\n        minHeight: 0,\n        maxHeight: \"none\",\n        height: 0,\n      });\n\n      if (options.minWidth > options.width) {\n        options.width = options.minWidth;\n      }\n\n      // Reset wrapper sizing\n      // determine the height of all the non-content elements\n      nonContentHeight = this.uiDialog\n        .css({\n          height: \"auto\",\n          width: options.width,\n        })\n        .outerHeight();\n      minContentHeight = Math.max(0, options.minHeight - nonContentHeight);\n      maxContentHeight =\n        typeof options.maxHeight === \"number\"\n          ? Math.max(0, options.maxHeight - nonContentHeight)\n          : \"none\";\n\n      if (options.height === \"auto\") {\n        this.element.css({\n          minHeight: minContentHeight,\n          maxHeight: maxContentHeight,\n          height: \"auto\",\n        });\n      } else {\n        this.element.height(Math.max(0, options.height - nonContentHeight));\n      }\n\n      if (this.uiDialog.is(\":data(ui-resizable)\")) {\n        this.uiDialog.resizable(\"option\", \"minHeight\", this._minHeight());\n      }\n    },\n\n    _blockFrames: function () {\n      this.iframeBlocks = this.document.find(\"iframe\").map(function () {\n        var iframe = $(this);\n\n        return $(\"<div>\")\n          .css({\n            position: \"absolute\",\n            width: iframe.outerWidth(),\n            height: iframe.outerHeight(),\n          })\n          .appendTo(iframe.parent())\n          .offset(iframe.offset())[0];\n      });\n    },\n\n    _unblockFrames: function () {\n      if (this.iframeBlocks) {\n        this.iframeBlocks.remove();\n        delete this.iframeBlocks;\n      }\n    },\n\n    _allowInteraction: function (event) {\n      if ($(event.target).closest(\".ui-dialog\").length) {\n        return true;\n      }\n\n      // TODO: Remove hack when datepicker implements\n      // the .ui-front logic (#8989)\n      return !!$(event.target).closest(\".ui-datepicker\").length;\n    },\n\n    _createOverlay: function () {\n      if (!this.options.modal) {\n        return;\n      }\n\n      var jqMinor = $.fn.jquery.substring(0, 4);\n\n      // We use a delay in case the overlay is created from an\n      // event that we're going to be cancelling (#2804)\n      var isOpening = true;\n      this._delay(function () {\n        isOpening = false;\n      });\n\n      if (!this.document.data(\"ui-dialog-overlays\")) {\n        // Prevent use of anchors and inputs\n        // This doesn't use `_on()` because it is a shared event handler\n        // across all open modal dialogs.\n        this.document.on(\n          \"focusin.ui-dialog\",\n          function (event) {\n            if (isOpening) {\n              return;\n            }\n\n            var instance = this._trackingInstances()[0];\n            if (!instance._allowInteraction(event)) {\n              event.preventDefault();\n              instance._focusTabbable();\n\n              // Support: jQuery >=3.4 <3.6 only\n              // Focus re-triggering in jQuery 3.4/3.5 makes the original element\n              // have its focus event propagated last, breaking the re-targeting.\n              // Trigger focus in a delay in addition if needed to avoid the issue\n              // See https://github.com/jquery/jquery/issues/4382\n              if (jqMinor === \"3.4.\" || jqMinor === \"3.5.\") {\n                instance._delay(instance._restoreTabbableFocus);\n              }\n            }\n          }.bind(this),\n        );\n      }\n\n      this.overlay = $(\"<div>\").appendTo(this._appendTo());\n\n      this._addClass(this.overlay, null, \"ui-widget-overlay ui-front\");\n      this._on(this.overlay, {\n        mousedown: \"_keepFocus\",\n      });\n      this.document.data(\n        \"ui-dialog-overlays\",\n        (this.document.data(\"ui-dialog-overlays\") || 0) + 1,\n      );\n    },\n\n    _destroyOverlay: function () {\n      if (!this.options.modal) {\n        return;\n      }\n\n      if (this.overlay) {\n        var overlays = this.document.data(\"ui-dialog-overlays\") - 1;\n\n        if (!overlays) {\n          this.document.off(\"focusin.ui-dialog\");\n          this.document.removeData(\"ui-dialog-overlays\");\n        } else {\n          this.document.data(\"ui-dialog-overlays\", overlays);\n        }\n\n        this.overlay.remove();\n        this.overlay = null;\n      }\n    },\n  });\n\n  // DEPRECATED\n  // TODO: switch return back to widget declaration at top of file when this is removed\n  if ($.uiBackCompat !== false) {\n    // Backcompat for dialogClass option\n    $.widget(\"ui.dialog\", $.ui.dialog, {\n      options: {\n        dialogClass: \"\",\n      },\n      _createWrapper: function () {\n        this._super();\n        this.uiDialog.addClass(this.options.dialogClass);\n      },\n      _setOption: function (key, value) {\n        if (key === \"dialogClass\") {\n          this.uiDialog.removeClass(this.options.dialogClass).addClass(value);\n        }\n        this._superApply(arguments);\n      },\n    });\n  }\n\n  var widgetsDialog = $.ui.dialog;\n\n  /*!\n   * jQuery UI Progressbar 1.13.2\n   * http://jqueryui.com\n   *\n   * Copyright jQuery Foundation and other contributors\n   * Released under the MIT license.\n   * http://jquery.org/license\n   */\n\n  //>>label: Progressbar\n  //>>group: Widgets\n  /* eslint-disable max-len */\n  //>>description: Displays a status indicator for loading state, standard percentage, and other progress indicators.\n  /* eslint-enable max-len */\n  //>>docs: http://api.jqueryui.com/progressbar/\n  //>>demos: http://jqueryui.com/progressbar/\n  //>>css.structure: ../../themes/base/core.css\n  //>>css.structure: ../../themes/base/progressbar.css\n  //>>css.theme: ../../themes/base/theme.css\n\n  var widgetsProgressbar = $.widget(\"ui.progressbar\", {\n    version: \"1.13.2\",\n    options: {\n      classes: {\n        \"ui-progressbar\": \"ui-corner-all\",\n        \"ui-progressbar-value\": \"ui-corner-left\",\n        \"ui-progressbar-complete\": \"ui-corner-right\",\n      },\n      max: 100,\n      value: 0,\n\n      change: null,\n      complete: null,\n    },\n\n    min: 0,\n\n    _create: function () {\n      // Constrain initial value\n      this.oldValue = this.options.value = this._constrainedValue();\n\n      this.element.attr({\n        // Only set static values; aria-valuenow and aria-valuemax are\n        // set inside _refreshValue()\n        role: \"progressbar\",\n        \"aria-valuemin\": this.min,\n      });\n      this._addClass(\"ui-progressbar\", \"ui-widget ui-widget-content\");\n\n      this.valueDiv = $(\"<div>\").appendTo(this.element);\n      this._addClass(this.valueDiv, \"ui-progressbar-value\", \"ui-widget-header\");\n      this._refreshValue();\n    },\n\n    _destroy: function () {\n      this.element.removeAttr(\"role aria-valuemin aria-valuemax aria-valuenow\");\n\n      this.valueDiv.remove();\n    },\n\n    value: function (newValue) {\n      if (newValue === undefined) {\n        return this.options.value;\n      }\n\n      this.options.value = this._constrainedValue(newValue);\n      this._refreshValue();\n    },\n\n    _constrainedValue: function (newValue) {\n      if (newValue === undefined) {\n        newValue = this.options.value;\n      }\n\n      this.indeterminate = newValue === false;\n\n      // Sanitize value\n      if (typeof newValue !== \"number\") {\n        newValue = 0;\n      }\n\n      return this.indeterminate\n        ? false\n        : Math.min(this.options.max, Math.max(this.min, newValue));\n    },\n\n    _setOptions: function (options) {\n      // Ensure \"value\" option is set after other values (like max)\n      var value = options.value;\n      delete options.value;\n\n      this._super(options);\n\n      this.options.value = this._constrainedValue(value);\n      this._refreshValue();\n    },\n\n    _setOption: function (key, value) {\n      if (key === \"max\") {\n        // Don't allow a max less than min\n        value = Math.max(this.min, value);\n      }\n      this._super(key, value);\n    },\n\n    _setOptionDisabled: function (value) {\n      this._super(value);\n\n      this.element.attr(\"aria-disabled\", value);\n      this._toggleClass(null, \"ui-state-disabled\", !!value);\n    },\n\n    _percentage: function () {\n      return this.indeterminate\n        ? 100\n        : (100 * (this.options.value - this.min)) /\n            (this.options.max - this.min);\n    },\n\n    _refreshValue: function () {\n      var value = this.options.value,\n        percentage = this._percentage();\n\n      this.valueDiv\n        .toggle(this.indeterminate || value > this.min)\n        .width(percentage.toFixed(0) + \"%\");\n\n      this._toggleClass(\n        this.valueDiv,\n        \"ui-progressbar-complete\",\n        null,\n        value === this.options.max,\n      )._toggleClass(\"ui-progressbar-indeterminate\", null, this.indeterminate);\n\n      if (this.indeterminate) {\n        this.element.removeAttr(\"aria-valuenow\");\n        if (!this.overlayDiv) {\n          this.overlayDiv = $(\"<div>\").appendTo(this.valueDiv);\n          this._addClass(this.overlayDiv, \"ui-progressbar-overlay\");\n        }\n      } else {\n        this.element.attr({\n          \"aria-valuemax\": this.options.max,\n          \"aria-valuenow\": value,\n        });\n        if (this.overlayDiv) {\n          this.overlayDiv.remove();\n          this.overlayDiv = null;\n        }\n      }\n\n      if (this.oldValue !== value) {\n        this.oldValue = value;\n        this._trigger(\"change\");\n      }\n      if (value === this.options.max) {\n        this._trigger(\"complete\");\n      }\n    },\n  });\n\n  /*!\n   * jQuery UI Selectmenu 1.13.2\n   * http://jqueryui.com\n   *\n   * Copyright jQuery Foundation and other contributors\n   * Released under the MIT license.\n   * http://jquery.org/license\n   */\n\n  //>>label: Selectmenu\n  //>>group: Widgets\n  /* eslint-disable max-len */\n  //>>description: Duplicates and extends the functionality of a native HTML select element, allowing it to be customizable in behavior and appearance far beyond the limitations of a native select.\n  /* eslint-enable max-len */\n  //>>docs: http://api.jqueryui.com/selectmenu/\n  //>>demos: http://jqueryui.com/selectmenu/\n  //>>css.structure: ../../themes/base/core.css\n  //>>css.structure: ../../themes/base/selectmenu.css, ../../themes/base/button.css\n  //>>css.theme: ../../themes/base/theme.css\n\n  var widgetsSelectmenu = $.widget(\"ui.selectmenu\", [\n    $.ui.formResetMixin,\n    {\n      version: \"1.13.2\",\n      defaultElement: \"<select>\",\n      options: {\n        appendTo: null,\n        classes: {\n          \"ui-selectmenu-button-open\": \"ui-corner-top\",\n          \"ui-selectmenu-button-closed\": \"ui-corner-all\",\n        },\n        disabled: null,\n        icons: {\n          button: \"ui-icon-triangle-1-s\",\n        },\n        position: {\n          my: \"left top\",\n          at: \"left bottom\",\n          collision: \"none\",\n        },\n        width: false,\n\n        // Callbacks\n        change: null,\n        close: null,\n        focus: null,\n        open: null,\n        select: null,\n      },\n\n      _create: function () {\n        var selectmenuId = this.element.uniqueId().attr(\"id\");\n        this.ids = {\n          element: selectmenuId,\n          button: selectmenuId + \"-button\",\n          menu: selectmenuId + \"-menu\",\n        };\n\n        this._drawButton();\n        this._drawMenu();\n        this._bindFormResetHandler();\n\n        this._rendered = false;\n        this.menuItems = $();\n      },\n\n      _drawButton: function () {\n        var icon,\n          that = this,\n          item = this._parseOption(\n            this.element.find(\"option:selected\"),\n            this.element[0].selectedIndex,\n          );\n\n        // Associate existing label with the new button\n        this.labels = this.element.labels().attr(\"for\", this.ids.button);\n        this._on(this.labels, {\n          click: function (event) {\n            this.button.trigger(\"focus\");\n            event.preventDefault();\n          },\n        });\n\n        // Hide original select element\n        this.element.hide();\n\n        // Create button\n        this.button = $(\"<span>\", {\n          tabindex: this.options.disabled ? -1 : 0,\n          id: this.ids.button,\n          role: \"combobox\",\n          \"aria-expanded\": \"false\",\n          \"aria-autocomplete\": \"list\",\n          \"aria-owns\": this.ids.menu,\n          \"aria-haspopup\": \"true\",\n          title: this.element.attr(\"title\"),\n        }).insertAfter(this.element);\n\n        this._addClass(\n          this.button,\n          \"ui-selectmenu-button ui-selectmenu-button-closed\",\n          \"ui-button ui-widget\",\n        );\n\n        icon = $(\"<span>\").appendTo(this.button);\n        this._addClass(\n          icon,\n          \"ui-selectmenu-icon\",\n          \"ui-icon \" + this.options.icons.button,\n        );\n        this.buttonItem = this._renderButtonItem(item).appendTo(this.button);\n\n        if (this.options.width !== false) {\n          this._resizeButton();\n        }\n\n        this._on(this.button, this._buttonEvents);\n        this.button.one(\"focusin\", function () {\n          // Delay rendering the menu items until the button receives focus.\n          // The menu may have already been rendered via a programmatic open.\n          if (!that._rendered) {\n            that._refreshMenu();\n          }\n        });\n      },\n\n      _drawMenu: function () {\n        var that = this;\n\n        // Create menu\n        this.menu = $(\"<ul>\", {\n          \"aria-hidden\": \"true\",\n          \"aria-labelledby\": this.ids.button,\n          id: this.ids.menu,\n        });\n\n        // Wrap menu\n        this.menuWrap = $(\"<div>\").append(this.menu);\n        this._addClass(this.menuWrap, \"ui-selectmenu-menu\", \"ui-front\");\n        this.menuWrap.appendTo(this._appendTo());\n\n        // Initialize menu widget\n        this.menuInstance = this.menu\n          .menu({\n            classes: {\n              \"ui-menu\": \"ui-corner-bottom\",\n            },\n            role: \"listbox\",\n            select: function (event, ui) {\n              event.preventDefault();\n\n              // Support: IE8\n              // If the item was selected via a click, the text selection\n              // will be destroyed in IE\n              that._setSelection();\n\n              that._select(ui.item.data(\"ui-selectmenu-item\"), event);\n            },\n            focus: function (event, ui) {\n              var item = ui.item.data(\"ui-selectmenu-item\");\n\n              // Prevent inital focus from firing and check if its a newly focused item\n              if (that.focusIndex != null && item.index !== that.focusIndex) {\n                that._trigger(\"focus\", event, { item: item });\n                if (!that.isOpen) {\n                  that._select(item, event);\n                }\n              }\n              that.focusIndex = item.index;\n\n              that.button.attr(\n                \"aria-activedescendant\",\n                that.menuItems.eq(item.index).attr(\"id\"),\n              );\n            },\n          })\n          .menu(\"instance\");\n\n        // Don't close the menu on mouseleave\n        this.menuInstance._off(this.menu, \"mouseleave\");\n\n        // Cancel the menu's collapseAll on document click\n        this.menuInstance._closeOnDocumentClick = function () {\n          return false;\n        };\n\n        // Selects often contain empty items, but never contain dividers\n        this.menuInstance._isDivider = function () {\n          return false;\n        };\n      },\n\n      refresh: function () {\n        this._refreshMenu();\n        this.buttonItem.replaceWith(\n          (this.buttonItem = this._renderButtonItem(\n            // Fall back to an empty object in case there are no options\n            this._getSelectedItem().data(\"ui-selectmenu-item\") || {},\n          )),\n        );\n        if (this.options.width === null) {\n          this._resizeButton();\n        }\n      },\n\n      _refreshMenu: function () {\n        var item,\n          options = this.element.find(\"option\");\n\n        this.menu.empty();\n\n        this._parseOptions(options);\n        this._renderMenu(this.menu, this.items);\n\n        this.menuInstance.refresh();\n        this.menuItems = this.menu\n          .find(\"li\")\n          .not(\".ui-selectmenu-optgroup\")\n          .find(\".ui-menu-item-wrapper\");\n\n        this._rendered = true;\n\n        if (!options.length) {\n          return;\n        }\n\n        item = this._getSelectedItem();\n\n        // Update the menu to have the correct item focused\n        this.menuInstance.focus(null, item);\n        this._setAria(item.data(\"ui-selectmenu-item\"));\n\n        // Set disabled state\n        this._setOption(\"disabled\", this.element.prop(\"disabled\"));\n      },\n\n      open: function (event) {\n        if (this.options.disabled) {\n          return;\n        }\n\n        // If this is the first time the menu is being opened, render the items\n        if (!this._rendered) {\n          this._refreshMenu();\n        } else {\n          // Menu clears focus on close, reset focus to selected item\n          this._removeClass(\n            this.menu.find(\".ui-state-active\"),\n            null,\n            \"ui-state-active\",\n          );\n          this.menuInstance.focus(null, this._getSelectedItem());\n        }\n\n        // If there are no options, don't open the menu\n        if (!this.menuItems.length) {\n          return;\n        }\n\n        this.isOpen = true;\n        this._toggleAttr();\n        this._resizeMenu();\n        this._position();\n\n        this._on(this.document, this._documentClick);\n\n        this._trigger(\"open\", event);\n      },\n\n      _position: function () {\n        this.menuWrap.position(\n          $.extend({ of: this.button }, this.options.position),\n        );\n      },\n\n      close: function (event) {\n        if (!this.isOpen) {\n          return;\n        }\n\n        this.isOpen = false;\n        this._toggleAttr();\n\n        this.range = null;\n        this._off(this.document);\n\n        this._trigger(\"close\", event);\n      },\n\n      widget: function () {\n        return this.button;\n      },\n\n      menuWidget: function () {\n        return this.menu;\n      },\n\n      _renderButtonItem: function (item) {\n        var buttonItem = $(\"<span>\");\n\n        this._setText(buttonItem, item.label);\n        this._addClass(buttonItem, \"ui-selectmenu-text\");\n\n        return buttonItem;\n      },\n\n      _renderMenu: function (ul, items) {\n        var that = this,\n          currentOptgroup = \"\";\n\n        $.each(items, function (index, item) {\n          var li;\n\n          if (item.optgroup !== currentOptgroup) {\n            li = $(\"<li>\", {\n              text: item.optgroup,\n            });\n            that._addClass(\n              li,\n              \"ui-selectmenu-optgroup\",\n              \"ui-menu-divider\" +\n                (item.element.parent(\"optgroup\").prop(\"disabled\")\n                  ? \" ui-state-disabled\"\n                  : \"\"),\n            );\n\n            li.appendTo(ul);\n\n            currentOptgroup = item.optgroup;\n          }\n\n          that._renderItemData(ul, item);\n        });\n      },\n\n      _renderItemData: function (ul, item) {\n        return this._renderItem(ul, item).data(\"ui-selectmenu-item\", item);\n      },\n\n      _renderItem: function (ul, item) {\n        var li = $(\"<li>\"),\n          wrapper = $(\"<div>\", {\n            title: item.element.attr(\"title\"),\n          });\n\n        if (item.disabled) {\n          this._addClass(li, null, \"ui-state-disabled\");\n        }\n        this._setText(wrapper, item.label);\n\n        return li.append(wrapper).appendTo(ul);\n      },\n\n      _setText: function (element, value) {\n        if (value) {\n          element.text(value);\n        } else {\n          element.html(\"&#160;\");\n        }\n      },\n\n      _move: function (direction, event) {\n        var item,\n          next,\n          filter = \".ui-menu-item\";\n\n        if (this.isOpen) {\n          item = this.menuItems.eq(this.focusIndex).parent(\"li\");\n        } else {\n          item = this.menuItems.eq(this.element[0].selectedIndex).parent(\"li\");\n          filter += \":not(.ui-state-disabled)\";\n        }\n\n        if (direction === \"first\" || direction === \"last\") {\n          next =\n            item[direction === \"first\" ? \"prevAll\" : \"nextAll\"](filter).eq(-1);\n        } else {\n          next = item[direction + \"All\"](filter).eq(0);\n        }\n\n        if (next.length) {\n          this.menuInstance.focus(event, next);\n        }\n      },\n\n      _getSelectedItem: function () {\n        return this.menuItems.eq(this.element[0].selectedIndex).parent(\"li\");\n      },\n\n      _toggle: function (event) {\n        this[this.isOpen ? \"close\" : \"open\"](event);\n      },\n\n      _setSelection: function () {\n        var selection;\n\n        if (!this.range) {\n          return;\n        }\n\n        if (window.getSelection) {\n          selection = window.getSelection();\n          selection.removeAllRanges();\n          selection.addRange(this.range);\n\n          // Support: IE8\n        } else {\n          this.range.select();\n        }\n\n        // Support: IE\n        // Setting the text selection kills the button focus in IE, but\n        // restoring the focus doesn't kill the selection.\n        this.button.trigger(\"focus\");\n      },\n\n      _documentClick: {\n        mousedown: function (event) {\n          if (!this.isOpen) {\n            return;\n          }\n\n          if (\n            !$(event.target).closest(\n              \".ui-selectmenu-menu, #\" + $.escapeSelector(this.ids.button),\n            ).length\n          ) {\n            this.close(event);\n          }\n        },\n      },\n\n      _buttonEvents: {\n        // Prevent text selection from being reset when interacting with the selectmenu (#10144)\n        mousedown: function () {\n          var selection;\n\n          if (window.getSelection) {\n            selection = window.getSelection();\n            if (selection.rangeCount) {\n              this.range = selection.getRangeAt(0);\n            }\n\n            // Support: IE8\n          } else {\n            this.range = document.selection.createRange();\n          }\n        },\n\n        click: function (event) {\n          this._setSelection();\n          this._toggle(event);\n        },\n\n        keydown: function (event) {\n          var preventDefault = true;\n          switch (event.keyCode) {\n            case $.ui.keyCode.TAB:\n            case $.ui.keyCode.ESCAPE:\n              this.close(event);\n              preventDefault = false;\n              break;\n            case $.ui.keyCode.ENTER:\n              if (this.isOpen) {\n                this._selectFocusedItem(event);\n              }\n              break;\n            case $.ui.keyCode.UP:\n              if (event.altKey) {\n                this._toggle(event);\n              } else {\n                this._move(\"prev\", event);\n              }\n              break;\n            case $.ui.keyCode.DOWN:\n              if (event.altKey) {\n                this._toggle(event);\n              } else {\n                this._move(\"next\", event);\n              }\n              break;\n            case $.ui.keyCode.SPACE:\n              if (this.isOpen) {\n                this._selectFocusedItem(event);\n              } else {\n                this._toggle(event);\n              }\n              break;\n            case $.ui.keyCode.LEFT:\n              this._move(\"prev\", event);\n              break;\n            case $.ui.keyCode.RIGHT:\n              this._move(\"next\", event);\n              break;\n            case $.ui.keyCode.HOME:\n            case $.ui.keyCode.PAGE_UP:\n              this._move(\"first\", event);\n              break;\n            case $.ui.keyCode.END:\n            case $.ui.keyCode.PAGE_DOWN:\n              this._move(\"last\", event);\n              break;\n            default:\n              this.menu.trigger(event);\n              preventDefault = false;\n          }\n\n          if (preventDefault) {\n            event.preventDefault();\n          }\n        },\n      },\n\n      _selectFocusedItem: function (event) {\n        var item = this.menuItems.eq(this.focusIndex).parent(\"li\");\n        if (!item.hasClass(\"ui-state-disabled\")) {\n          this._select(item.data(\"ui-selectmenu-item\"), event);\n        }\n      },\n\n      _select: function (item, event) {\n        var oldIndex = this.element[0].selectedIndex;\n\n        // Change native select element\n        this.element[0].selectedIndex = item.index;\n        this.buttonItem.replaceWith(\n          (this.buttonItem = this._renderButtonItem(item)),\n        );\n        this._setAria(item);\n        this._trigger(\"select\", event, { item: item });\n\n        if (item.index !== oldIndex) {\n          this._trigger(\"change\", event, { item: item });\n        }\n\n        this.close(event);\n      },\n\n      _setAria: function (item) {\n        var id = this.menuItems.eq(item.index).attr(\"id\");\n\n        this.button.attr({\n          \"aria-labelledby\": id,\n          \"aria-activedescendant\": id,\n        });\n        this.menu.attr(\"aria-activedescendant\", id);\n      },\n\n      _setOption: function (key, value) {\n        if (key === \"icons\") {\n          var icon = this.button.find(\"span.ui-icon\");\n          this._removeClass(icon, null, this.options.icons.button)._addClass(\n            icon,\n            null,\n            value.button,\n          );\n        }\n\n        this._super(key, value);\n\n        if (key === \"appendTo\") {\n          this.menuWrap.appendTo(this._appendTo());\n        }\n\n        if (key === \"width\") {\n          this._resizeButton();\n        }\n      },\n\n      _setOptionDisabled: function (value) {\n        this._super(value);\n\n        this.menuInstance.option(\"disabled\", value);\n        this.button.attr(\"aria-disabled\", value);\n        this._toggleClass(this.button, null, \"ui-state-disabled\", value);\n\n        this.element.prop(\"disabled\", value);\n        if (value) {\n          this.button.attr(\"tabindex\", -1);\n          this.close();\n        } else {\n          this.button.attr(\"tabindex\", 0);\n        }\n      },\n\n      _appendTo: function () {\n        var element = this.options.appendTo;\n\n        if (element) {\n          element =\n            element.jquery || element.nodeType\n              ? $(element)\n              : this.document.find(element).eq(0);\n        }\n\n        if (!element || !element[0]) {\n          element = this.element.closest(\".ui-front, dialog\");\n        }\n\n        if (!element.length) {\n          element = this.document[0].body;\n        }\n\n        return element;\n      },\n\n      _toggleAttr: function () {\n        this.button.attr(\"aria-expanded\", this.isOpen);\n\n        // We can't use two _toggleClass() calls here, because we need to make sure\n        // we always remove classes first and add them second, otherwise if both classes have the\n        // same theme class, it will be removed after we add it.\n        this._removeClass(\n          this.button,\n          \"ui-selectmenu-button-\" + (this.isOpen ? \"closed\" : \"open\"),\n        )\n          ._addClass(\n            this.button,\n            \"ui-selectmenu-button-\" + (this.isOpen ? \"open\" : \"closed\"),\n          )\n          ._toggleClass(this.menuWrap, \"ui-selectmenu-open\", null, this.isOpen);\n\n        this.menu.attr(\"aria-hidden\", !this.isOpen);\n      },\n\n      _resizeButton: function () {\n        var width = this.options.width;\n\n        // For `width: false`, just remove inline style and stop\n        if (width === false) {\n          this.button.css(\"width\", \"\");\n          return;\n        }\n\n        // For `width: null`, match the width of the original element\n        if (width === null) {\n          width = this.element.show().outerWidth();\n          this.element.hide();\n        }\n\n        this.button.outerWidth(width);\n      },\n\n      _resizeMenu: function () {\n        this.menu.outerWidth(\n          Math.max(\n            this.button.outerWidth(),\n\n            // Support: IE10\n            // IE10 wraps long text (possibly a rounding bug)\n            // so we add 1px to avoid the wrapping\n            this.menu.width(\"\").outerWidth() + 1,\n          ),\n        );\n      },\n\n      _getCreateOptions: function () {\n        var options = this._super();\n\n        options.disabled = this.element.prop(\"disabled\");\n\n        return options;\n      },\n\n      _parseOptions: function (options) {\n        var that = this,\n          data = [];\n        options.each(function (index, item) {\n          if (item.hidden) {\n            return;\n          }\n\n          data.push(that._parseOption($(item), index));\n        });\n        this.items = data;\n      },\n\n      _parseOption: function (option, index) {\n        var optgroup = option.parent(\"optgroup\");\n\n        return {\n          element: option,\n          index: index,\n          value: option.val(),\n          label: option.text(),\n          optgroup: optgroup.attr(\"label\") || \"\",\n          disabled: optgroup.prop(\"disabled\") || option.prop(\"disabled\"),\n        };\n      },\n\n      _destroy: function () {\n        this._unbindFormResetHandler();\n        this.menuWrap.remove();\n        this.button.remove();\n        this.element.show();\n        this.element.removeUniqueId();\n        this.labels.attr(\"for\", this.ids.element);\n      },\n    },\n  ]);\n\n  /*!\n   * jQuery UI Slider 1.13.2\n   * http://jqueryui.com\n   *\n   * Copyright jQuery Foundation and other contributors\n   * Released under the MIT license.\n   * http://jquery.org/license\n   */\n\n  //>>label: Slider\n  //>>group: Widgets\n  //>>description: Displays a flexible slider with ranges and accessibility via keyboard.\n  //>>docs: http://api.jqueryui.com/slider/\n  //>>demos: http://jqueryui.com/slider/\n  //>>css.structure: ../../themes/base/core.css\n  //>>css.structure: ../../themes/base/slider.css\n  //>>css.theme: ../../themes/base/theme.css\n\n  var widgetsSlider = $.widget(\"ui.slider\", $.ui.mouse, {\n    version: \"1.13.2\",\n    widgetEventPrefix: \"slide\",\n\n    options: {\n      animate: false,\n      classes: {\n        \"ui-slider\": \"ui-corner-all\",\n        \"ui-slider-handle\": \"ui-corner-all\",\n\n        // Note: ui-widget-header isn't the most fittingly semantic framework class for this\n        // element, but worked best visually with a variety of themes\n        \"ui-slider-range\": \"ui-corner-all ui-widget-header\",\n      },\n      distance: 0,\n      max: 100,\n      min: 0,\n      orientation: \"horizontal\",\n      range: false,\n      step: 1,\n      value: 0,\n      values: null,\n\n      // Callbacks\n      change: null,\n      slide: null,\n      start: null,\n      stop: null,\n    },\n\n    // Number of pages in a slider\n    // (how many times can you page up/down to go through the whole range)\n    numPages: 5,\n\n    _create: function () {\n      this._keySliding = false;\n      this._mouseSliding = false;\n      this._animateOff = true;\n      this._handleIndex = null;\n      this._detectOrientation();\n      this._mouseInit();\n      this._calculateNewMax();\n\n      this._addClass(\n        \"ui-slider ui-slider-\" + this.orientation,\n        \"ui-widget ui-widget-content\",\n      );\n\n      this._refresh();\n\n      this._animateOff = false;\n    },\n\n    _refresh: function () {\n      this._createRange();\n      this._createHandles();\n      this._setupEvents();\n      this._refreshValue();\n    },\n\n    _createHandles: function () {\n      var i,\n        handleCount,\n        options = this.options,\n        existingHandles = this.element.find(\".ui-slider-handle\"),\n        handle = \"<span tabindex='0'></span>\",\n        handles = [];\n\n      handleCount = (options.values && options.values.length) || 1;\n\n      if (existingHandles.length > handleCount) {\n        existingHandles.slice(handleCount).remove();\n        existingHandles = existingHandles.slice(0, handleCount);\n      }\n\n      for (i = existingHandles.length; i < handleCount; i++) {\n        handles.push(handle);\n      }\n\n      this.handles = existingHandles.add(\n        $(handles.join(\"\")).appendTo(this.element),\n      );\n\n      this._addClass(this.handles, \"ui-slider-handle\", \"ui-state-default\");\n\n      this.handle = this.handles.eq(0);\n\n      this.handles.each(function (i) {\n        $(this).data(\"ui-slider-handle-index\", i).attr(\"tabIndex\", 0);\n      });\n    },\n\n    _createRange: function () {\n      var options = this.options;\n\n      if (options.range) {\n        if (options.range === true) {\n          if (!options.values) {\n            options.values = [this._valueMin(), this._valueMin()];\n          } else if (options.values.length && options.values.length !== 2) {\n            options.values = [options.values[0], options.values[0]];\n          } else if (Array.isArray(options.values)) {\n            options.values = options.values.slice(0);\n          }\n        }\n\n        if (!this.range || !this.range.length) {\n          this.range = $(\"<div>\").appendTo(this.element);\n\n          this._addClass(this.range, \"ui-slider-range\");\n        } else {\n          this._removeClass(\n            this.range,\n            \"ui-slider-range-min ui-slider-range-max\",\n          );\n\n          // Handle range switching from true to min/max\n          this.range.css({\n            left: \"\",\n            bottom: \"\",\n          });\n        }\n        if (options.range === \"min\" || options.range === \"max\") {\n          this._addClass(this.range, \"ui-slider-range-\" + options.range);\n        }\n      } else {\n        if (this.range) {\n          this.range.remove();\n        }\n        this.range = null;\n      }\n    },\n\n    _setupEvents: function () {\n      this._off(this.handles);\n      this._on(this.handles, this._handleEvents);\n      this._hoverable(this.handles);\n      this._focusable(this.handles);\n    },\n\n    _destroy: function () {\n      this.handles.remove();\n      if (this.range) {\n        this.range.remove();\n      }\n\n      this._mouseDestroy();\n    },\n\n    _mouseCapture: function (event) {\n      var position,\n        normValue,\n        distance,\n        closestHandle,\n        index,\n        allowed,\n        offset,\n        mouseOverHandle,\n        that = this,\n        o = this.options;\n\n      if (o.disabled) {\n        return false;\n      }\n\n      this.elementSize = {\n        width: this.element.outerWidth(),\n        height: this.element.outerHeight(),\n      };\n      this.elementOffset = this.element.offset();\n\n      position = { x: event.pageX, y: event.pageY };\n      normValue = this._normValueFromMouse(position);\n      distance = this._valueMax() - this._valueMin() + 1;\n      this.handles.each(function (i) {\n        var thisDistance = Math.abs(normValue - that.values(i));\n        if (\n          distance > thisDistance ||\n          (distance === thisDistance &&\n            (i === that._lastChangedValue || that.values(i) === o.min))\n        ) {\n          distance = thisDistance;\n          closestHandle = $(this);\n          index = i;\n        }\n      });\n\n      allowed = this._start(event, index);\n      if (allowed === false) {\n        return false;\n      }\n      this._mouseSliding = true;\n\n      this._handleIndex = index;\n\n      this._addClass(closestHandle, null, \"ui-state-active\");\n      closestHandle.trigger(\"focus\");\n\n      offset = closestHandle.offset();\n      mouseOverHandle = !$(event.target)\n        .parents()\n        .addBack()\n        .is(\".ui-slider-handle\");\n      this._clickOffset = mouseOverHandle\n        ? { left: 0, top: 0 }\n        : {\n            left: event.pageX - offset.left - closestHandle.width() / 2,\n            top:\n              event.pageY -\n              offset.top -\n              closestHandle.height() / 2 -\n              (parseInt(closestHandle.css(\"borderTopWidth\"), 10) || 0) -\n              (parseInt(closestHandle.css(\"borderBottomWidth\"), 10) || 0) +\n              (parseInt(closestHandle.css(\"marginTop\"), 10) || 0),\n          };\n\n      if (!this.handles.hasClass(\"ui-state-hover\")) {\n        this._slide(event, index, normValue);\n      }\n      this._animateOff = true;\n      return true;\n    },\n\n    _mouseStart: function () {\n      return true;\n    },\n\n    _mouseDrag: function (event) {\n      var position = { x: event.pageX, y: event.pageY },\n        normValue = this._normValueFromMouse(position);\n\n      this._slide(event, this._handleIndex, normValue);\n\n      return false;\n    },\n\n    _mouseStop: function (event) {\n      this._removeClass(this.handles, null, \"ui-state-active\");\n      this._mouseSliding = false;\n\n      this._stop(event, this._handleIndex);\n      this._change(event, this._handleIndex);\n\n      this._handleIndex = null;\n      this._clickOffset = null;\n      this._animateOff = false;\n\n      return false;\n    },\n\n    _detectOrientation: function () {\n      this.orientation =\n        this.options.orientation === \"vertical\" ? \"vertical\" : \"horizontal\";\n    },\n\n    _normValueFromMouse: function (position) {\n      var pixelTotal, pixelMouse, percentMouse, valueTotal, valueMouse;\n\n      if (this.orientation === \"horizontal\") {\n        pixelTotal = this.elementSize.width;\n        pixelMouse =\n          position.x -\n          this.elementOffset.left -\n          (this._clickOffset ? this._clickOffset.left : 0);\n      } else {\n        pixelTotal = this.elementSize.height;\n        pixelMouse =\n          position.y -\n          this.elementOffset.top -\n          (this._clickOffset ? this._clickOffset.top : 0);\n      }\n\n      percentMouse = pixelMouse / pixelTotal;\n      if (percentMouse > 1) {\n        percentMouse = 1;\n      }\n      if (percentMouse < 0) {\n        percentMouse = 0;\n      }\n      if (this.orientation === \"vertical\") {\n        percentMouse = 1 - percentMouse;\n      }\n\n      valueTotal = this._valueMax() - this._valueMin();\n      valueMouse = this._valueMin() + percentMouse * valueTotal;\n\n      return this._trimAlignValue(valueMouse);\n    },\n\n    _uiHash: function (index, value, values) {\n      var uiHash = {\n        handle: this.handles[index],\n        handleIndex: index,\n        value: value !== undefined ? value : this.value(),\n      };\n\n      if (this._hasMultipleValues()) {\n        uiHash.value = value !== undefined ? value : this.values(index);\n        uiHash.values = values || this.values();\n      }\n\n      return uiHash;\n    },\n\n    _hasMultipleValues: function () {\n      return this.options.values && this.options.values.length;\n    },\n\n    _start: function (event, index) {\n      return this._trigger(\"start\", event, this._uiHash(index));\n    },\n\n    _slide: function (event, index, newVal) {\n      var allowed,\n        otherVal,\n        currentValue = this.value(),\n        newValues = this.values();\n\n      if (this._hasMultipleValues()) {\n        otherVal = this.values(index ? 0 : 1);\n        currentValue = this.values(index);\n\n        if (this.options.values.length === 2 && this.options.range === true) {\n          newVal =\n            index === 0\n              ? Math.min(otherVal, newVal)\n              : Math.max(otherVal, newVal);\n        }\n\n        newValues[index] = newVal;\n      }\n\n      if (newVal === currentValue) {\n        return;\n      }\n\n      allowed = this._trigger(\n        \"slide\",\n        event,\n        this._uiHash(index, newVal, newValues),\n      );\n\n      // A slide can be canceled by returning false from the slide callback\n      if (allowed === false) {\n        return;\n      }\n\n      if (this._hasMultipleValues()) {\n        this.values(index, newVal);\n      } else {\n        this.value(newVal);\n      }\n    },\n\n    _stop: function (event, index) {\n      this._trigger(\"stop\", event, this._uiHash(index));\n    },\n\n    _change: function (event, index) {\n      if (!this._keySliding && !this._mouseSliding) {\n        //store the last changed value index for reference when handles overlap\n        this._lastChangedValue = index;\n        this._trigger(\"change\", event, this._uiHash(index));\n      }\n    },\n\n    value: function (newValue) {\n      if (arguments.length) {\n        this.options.value = this._trimAlignValue(newValue);\n        this._refreshValue();\n        this._change(null, 0);\n        return;\n      }\n\n      return this._value();\n    },\n\n    values: function (index, newValue) {\n      var vals, newValues, i;\n\n      if (arguments.length > 1) {\n        this.options.values[index] = this._trimAlignValue(newValue);\n        this._refreshValue();\n        this._change(null, index);\n        return;\n      }\n\n      if (arguments.length) {\n        if (Array.isArray(arguments[0])) {\n          vals = this.options.values;\n          newValues = arguments[0];\n          for (i = 0; i < vals.length; i += 1) {\n            vals[i] = this._trimAlignValue(newValues[i]);\n            this._change(null, i);\n          }\n          this._refreshValue();\n        } else {\n          if (this._hasMultipleValues()) {\n            return this._values(index);\n          } else {\n            return this.value();\n          }\n        }\n      } else {\n        return this._values();\n      }\n    },\n\n    _setOption: function (key, value) {\n      var i,\n        valsLength = 0;\n\n      if (key === \"range\" && this.options.range === true) {\n        if (value === \"min\") {\n          this.options.value = this._values(0);\n          this.options.values = null;\n        } else if (value === \"max\") {\n          this.options.value = this._values(this.options.values.length - 1);\n          this.options.values = null;\n        }\n      }\n\n      if (Array.isArray(this.options.values)) {\n        valsLength = this.options.values.length;\n      }\n\n      this._super(key, value);\n\n      switch (key) {\n        case \"orientation\":\n          this._detectOrientation();\n          this._removeClass(\n            \"ui-slider-horizontal ui-slider-vertical\",\n          )._addClass(\"ui-slider-\" + this.orientation);\n          this._refreshValue();\n          if (this.options.range) {\n            this._refreshRange(value);\n          }\n\n          // Reset positioning from previous orientation\n          this.handles.css(value === \"horizontal\" ? \"bottom\" : \"left\", \"\");\n          break;\n        case \"value\":\n          this._animateOff = true;\n          this._refreshValue();\n          this._change(null, 0);\n          this._animateOff = false;\n          break;\n        case \"values\":\n          this._animateOff = true;\n          this._refreshValue();\n\n          // Start from the last handle to prevent unreachable handles (#9046)\n          for (i = valsLength - 1; i >= 0; i--) {\n            this._change(null, i);\n          }\n          this._animateOff = false;\n          break;\n        case \"step\":\n        case \"min\":\n        case \"max\":\n          this._animateOff = true;\n          this._calculateNewMax();\n          this._refreshValue();\n          this._animateOff = false;\n          break;\n        case \"range\":\n          this._animateOff = true;\n          this._refresh();\n          this._animateOff = false;\n          break;\n      }\n    },\n\n    _setOptionDisabled: function (value) {\n      this._super(value);\n\n      this._toggleClass(null, \"ui-state-disabled\", !!value);\n    },\n\n    //internal value getter\n    // _value() returns value trimmed by min and max, aligned by step\n    _value: function () {\n      var val = this.options.value;\n      val = this._trimAlignValue(val);\n\n      return val;\n    },\n\n    //internal values getter\n    // _values() returns array of values trimmed by min and max, aligned by step\n    // _values( index ) returns single value trimmed by min and max, aligned by step\n    _values: function (index) {\n      var val, vals, i;\n\n      if (arguments.length) {\n        val = this.options.values[index];\n        val = this._trimAlignValue(val);\n\n        return val;\n      } else if (this._hasMultipleValues()) {\n        // .slice() creates a copy of the array\n        // this copy gets trimmed by min and max and then returned\n        vals = this.options.values.slice();\n        for (i = 0; i < vals.length; i += 1) {\n          vals[i] = this._trimAlignValue(vals[i]);\n        }\n\n        return vals;\n      } else {\n        return [];\n      }\n    },\n\n    // Returns the step-aligned value that val is closest to, between (inclusive) min and max\n    _trimAlignValue: function (val) {\n      if (val <= this._valueMin()) {\n        return this._valueMin();\n      }\n      if (val >= this._valueMax()) {\n        return this._valueMax();\n      }\n      var step = this.options.step > 0 ? this.options.step : 1,\n        valModStep = (val - this._valueMin()) % step,\n        alignValue = val - valModStep;\n\n      if (Math.abs(valModStep) * 2 >= step) {\n        alignValue += valModStep > 0 ? step : -step;\n      }\n\n      // Since JavaScript has problems with large floats, round\n      // the final value to 5 digits after the decimal point (see #4124)\n      return parseFloat(alignValue.toFixed(5));\n    },\n\n    _calculateNewMax: function () {\n      var max = this.options.max,\n        min = this._valueMin(),\n        step = this.options.step,\n        aboveMin = Math.round((max - min) / step) * step;\n      max = aboveMin + min;\n      if (max > this.options.max) {\n        //If max is not divisible by step, rounding off may increase its value\n        max -= step;\n      }\n      this.max = parseFloat(max.toFixed(this._precision()));\n    },\n\n    _precision: function () {\n      var precision = this._precisionOf(this.options.step);\n      if (this.options.min !== null) {\n        precision = Math.max(precision, this._precisionOf(this.options.min));\n      }\n      return precision;\n    },\n\n    _precisionOf: function (num) {\n      var str = num.toString(),\n        decimal = str.indexOf(\".\");\n      return decimal === -1 ? 0 : str.length - decimal - 1;\n    },\n\n    _valueMin: function () {\n      return this.options.min;\n    },\n\n    _valueMax: function () {\n      return this.max;\n    },\n\n    _refreshRange: function (orientation) {\n      if (orientation === \"vertical\") {\n        this.range.css({ width: \"\", left: \"\" });\n      }\n      if (orientation === \"horizontal\") {\n        this.range.css({ height: \"\", bottom: \"\" });\n      }\n    },\n\n    _refreshValue: function () {\n      var lastValPercent,\n        valPercent,\n        value,\n        valueMin,\n        valueMax,\n        oRange = this.options.range,\n        o = this.options,\n        that = this,\n        animate = !this._animateOff ? o.animate : false,\n        _set = {};\n\n      if (this._hasMultipleValues()) {\n        this.handles.each(function (i) {\n          valPercent =\n            ((that.values(i) - that._valueMin()) /\n              (that._valueMax() - that._valueMin())) *\n            100;\n          _set[that.orientation === \"horizontal\" ? \"left\" : \"bottom\"] =\n            valPercent + \"%\";\n          $(this).stop(1, 1)[animate ? \"animate\" : \"css\"](_set, o.animate);\n          if (that.options.range === true) {\n            if (that.orientation === \"horizontal\") {\n              if (i === 0) {\n                that.range.stop(1, 1)[animate ? \"animate\" : \"css\"](\n                  {\n                    left: valPercent + \"%\",\n                  },\n                  o.animate,\n                );\n              }\n              if (i === 1) {\n                that.range[animate ? \"animate\" : \"css\"](\n                  {\n                    width: valPercent - lastValPercent + \"%\",\n                  },\n                  {\n                    queue: false,\n                    duration: o.animate,\n                  },\n                );\n              }\n            } else {\n              if (i === 0) {\n                that.range.stop(1, 1)[animate ? \"animate\" : \"css\"](\n                  {\n                    bottom: valPercent + \"%\",\n                  },\n                  o.animate,\n                );\n              }\n              if (i === 1) {\n                that.range[animate ? \"animate\" : \"css\"](\n                  {\n                    height: valPercent - lastValPercent + \"%\",\n                  },\n                  {\n                    queue: false,\n                    duration: o.animate,\n                  },\n                );\n              }\n            }\n          }\n          lastValPercent = valPercent;\n        });\n      } else {\n        value = this.value();\n        valueMin = this._valueMin();\n        valueMax = this._valueMax();\n        valPercent =\n          valueMax !== valueMin\n            ? ((value - valueMin) / (valueMax - valueMin)) * 100\n            : 0;\n        _set[this.orientation === \"horizontal\" ? \"left\" : \"bottom\"] =\n          valPercent + \"%\";\n        this.handle.stop(1, 1)[animate ? \"animate\" : \"css\"](_set, o.animate);\n\n        if (oRange === \"min\" && this.orientation === \"horizontal\") {\n          this.range.stop(1, 1)[animate ? \"animate\" : \"css\"](\n            {\n              width: valPercent + \"%\",\n            },\n            o.animate,\n          );\n        }\n        if (oRange === \"max\" && this.orientation === \"horizontal\") {\n          this.range.stop(1, 1)[animate ? \"animate\" : \"css\"](\n            {\n              width: 100 - valPercent + \"%\",\n            },\n            o.animate,\n          );\n        }\n        if (oRange === \"min\" && this.orientation === \"vertical\") {\n          this.range.stop(1, 1)[animate ? \"animate\" : \"css\"](\n            {\n              height: valPercent + \"%\",\n            },\n            o.animate,\n          );\n        }\n        if (oRange === \"max\" && this.orientation === \"vertical\") {\n          this.range.stop(1, 1)[animate ? \"animate\" : \"css\"](\n            {\n              height: 100 - valPercent + \"%\",\n            },\n            o.animate,\n          );\n        }\n      }\n    },\n\n    _handleEvents: {\n      keydown: function (event) {\n        var allowed,\n          curVal,\n          newVal,\n          step,\n          index = $(event.target).data(\"ui-slider-handle-index\");\n\n        switch (event.keyCode) {\n          case $.ui.keyCode.HOME:\n          case $.ui.keyCode.END:\n          case $.ui.keyCode.PAGE_UP:\n          case $.ui.keyCode.PAGE_DOWN:\n          case $.ui.keyCode.UP:\n          case $.ui.keyCode.RIGHT:\n          case $.ui.keyCode.DOWN:\n          case $.ui.keyCode.LEFT:\n            event.preventDefault();\n            if (!this._keySliding) {\n              this._keySliding = true;\n              this._addClass($(event.target), null, \"ui-state-active\");\n              allowed = this._start(event, index);\n              if (allowed === false) {\n                return;\n              }\n            }\n            break;\n        }\n\n        step = this.options.step;\n        if (this._hasMultipleValues()) {\n          curVal = newVal = this.values(index);\n        } else {\n          curVal = newVal = this.value();\n        }\n\n        switch (event.keyCode) {\n          case $.ui.keyCode.HOME:\n            newVal = this._valueMin();\n            break;\n          case $.ui.keyCode.END:\n            newVal = this._valueMax();\n            break;\n          case $.ui.keyCode.PAGE_UP:\n            newVal = this._trimAlignValue(\n              curVal + (this._valueMax() - this._valueMin()) / this.numPages,\n            );\n            break;\n          case $.ui.keyCode.PAGE_DOWN:\n            newVal = this._trimAlignValue(\n              curVal - (this._valueMax() - this._valueMin()) / this.numPages,\n            );\n            break;\n          case $.ui.keyCode.UP:\n          case $.ui.keyCode.RIGHT:\n            if (curVal === this._valueMax()) {\n              return;\n            }\n            newVal = this._trimAlignValue(curVal + step);\n            break;\n          case $.ui.keyCode.DOWN:\n          case $.ui.keyCode.LEFT:\n            if (curVal === this._valueMin()) {\n              return;\n            }\n            newVal = this._trimAlignValue(curVal - step);\n            break;\n        }\n\n        this._slide(event, index, newVal);\n      },\n      keyup: function (event) {\n        var index = $(event.target).data(\"ui-slider-handle-index\");\n\n        if (this._keySliding) {\n          this._keySliding = false;\n          this._stop(event, index);\n          this._change(event, index);\n          this._removeClass($(event.target), null, \"ui-state-active\");\n        }\n      },\n    },\n  });\n\n  /*!\n   * jQuery UI Spinner 1.13.2\n   * http://jqueryui.com\n   *\n   * Copyright jQuery Foundation and other contributors\n   * Released under the MIT license.\n   * http://jquery.org/license\n   */\n\n  //>>label: Spinner\n  //>>group: Widgets\n  //>>description: Displays buttons to easily input numbers via the keyboard or mouse.\n  //>>docs: http://api.jqueryui.com/spinner/\n  //>>demos: http://jqueryui.com/spinner/\n  //>>css.structure: ../../themes/base/core.css\n  //>>css.structure: ../../themes/base/spinner.css\n  //>>css.theme: ../../themes/base/theme.css\n\n  function spinnerModifier(fn) {\n    return function () {\n      var previous = this.element.val();\n      fn.apply(this, arguments);\n      this._refresh();\n      if (previous !== this.element.val()) {\n        this._trigger(\"change\");\n      }\n    };\n  }\n\n  $.widget(\"ui.spinner\", {\n    version: \"1.13.2\",\n    defaultElement: \"<input>\",\n    widgetEventPrefix: \"spin\",\n    options: {\n      classes: {\n        \"ui-spinner\": \"ui-corner-all\",\n        \"ui-spinner-down\": \"ui-corner-br\",\n        \"ui-spinner-up\": \"ui-corner-tr\",\n      },\n      culture: null,\n      icons: {\n        down: \"ui-icon-triangle-1-s\",\n        up: \"ui-icon-triangle-1-n\",\n      },\n      incremental: true,\n      max: null,\n      min: null,\n      numberFormat: null,\n      page: 10,\n      step: 1,\n\n      change: null,\n      spin: null,\n      start: null,\n      stop: null,\n    },\n\n    _create: function () {\n      // handle string values that need to be parsed\n      this._setOption(\"max\", this.options.max);\n      this._setOption(\"min\", this.options.min);\n      this._setOption(\"step\", this.options.step);\n\n      // Only format if there is a value, prevents the field from being marked\n      // as invalid in Firefox, see #9573.\n      if (this.value() !== \"\") {\n        // Format the value, but don't constrain.\n        this._value(this.element.val(), true);\n      }\n\n      this._draw();\n      this._on(this._events);\n      this._refresh();\n\n      // Turning off autocomplete prevents the browser from remembering the\n      // value when navigating through history, so we re-enable autocomplete\n      // if the page is unloaded before the widget is destroyed. #7790\n      this._on(this.window, {\n        beforeunload: function () {\n          this.element.removeAttr(\"autocomplete\");\n        },\n      });\n    },\n\n    _getCreateOptions: function () {\n      var options = this._super();\n      var element = this.element;\n\n      $.each([\"min\", \"max\", \"step\"], function (i, option) {\n        var value = element.attr(option);\n        if (value != null && value.length) {\n          options[option] = value;\n        }\n      });\n\n      return options;\n    },\n\n    _events: {\n      keydown: function (event) {\n        if (this._start(event) && this._keydown(event)) {\n          event.preventDefault();\n        }\n      },\n      keyup: \"_stop\",\n      focus: function () {\n        this.previous = this.element.val();\n      },\n      blur: function (event) {\n        if (this.cancelBlur) {\n          delete this.cancelBlur;\n          return;\n        }\n\n        this._stop();\n        this._refresh();\n        if (this.previous !== this.element.val()) {\n          this._trigger(\"change\", event);\n        }\n      },\n      mousewheel: function (event, delta) {\n        var activeElement = $.ui.safeActiveElement(this.document[0]);\n        var isActive = this.element[0] === activeElement;\n\n        if (!isActive || !delta) {\n          return;\n        }\n\n        if (!this.spinning && !this._start(event)) {\n          return false;\n        }\n\n        this._spin((delta > 0 ? 1 : -1) * this.options.step, event);\n        clearTimeout(this.mousewheelTimer);\n        this.mousewheelTimer = this._delay(function () {\n          if (this.spinning) {\n            this._stop(event);\n          }\n        }, 100);\n        event.preventDefault();\n      },\n      \"mousedown .ui-spinner-button\": function (event) {\n        var previous;\n\n        // We never want the buttons to have focus; whenever the user is\n        // interacting with the spinner, the focus should be on the input.\n        // If the input is focused then this.previous is properly set from\n        // when the input first received focus. If the input is not focused\n        // then we need to set this.previous based on the value before spinning.\n        previous =\n          this.element[0] === $.ui.safeActiveElement(this.document[0])\n            ? this.previous\n            : this.element.val();\n        function checkFocus() {\n          var isActive =\n            this.element[0] === $.ui.safeActiveElement(this.document[0]);\n          if (!isActive) {\n            this.element.trigger(\"focus\");\n            this.previous = previous;\n\n            // support: IE\n            // IE sets focus asynchronously, so we need to check if focus\n            // moved off of the input because the user clicked on the button.\n            this._delay(function () {\n              this.previous = previous;\n            });\n          }\n        }\n\n        // Ensure focus is on (or stays on) the text field\n        event.preventDefault();\n        checkFocus.call(this);\n\n        // Support: IE\n        // IE doesn't prevent moving focus even with event.preventDefault()\n        // so we set a flag to know when we should ignore the blur event\n        // and check (again) if focus moved off of the input.\n        this.cancelBlur = true;\n        this._delay(function () {\n          delete this.cancelBlur;\n          checkFocus.call(this);\n        });\n\n        if (this._start(event) === false) {\n          return;\n        }\n\n        this._repeat(\n          null,\n          $(event.currentTarget).hasClass(\"ui-spinner-up\") ? 1 : -1,\n          event,\n        );\n      },\n      \"mouseup .ui-spinner-button\": \"_stop\",\n      \"mouseenter .ui-spinner-button\": function (event) {\n        // button will add ui-state-active if mouse was down while mouseleave and kept down\n        if (!$(event.currentTarget).hasClass(\"ui-state-active\")) {\n          return;\n        }\n\n        if (this._start(event) === false) {\n          return false;\n        }\n        this._repeat(\n          null,\n          $(event.currentTarget).hasClass(\"ui-spinner-up\") ? 1 : -1,\n          event,\n        );\n      },\n\n      // TODO: do we really want to consider this a stop?\n      // shouldn't we just stop the repeater and wait until mouseup before\n      // we trigger the stop event?\n      \"mouseleave .ui-spinner-button\": \"_stop\",\n    },\n\n    // Support mobile enhanced option and make backcompat more sane\n    _enhance: function () {\n      this.uiSpinner = this.element\n        .attr(\"autocomplete\", \"off\")\n        .wrap(\"<span>\")\n        .parent()\n\n        // Add buttons\n        .append(\"<a></a><a></a>\");\n    },\n\n    _draw: function () {\n      this._enhance();\n\n      this._addClass(\n        this.uiSpinner,\n        \"ui-spinner\",\n        \"ui-widget ui-widget-content\",\n      );\n      this._addClass(\"ui-spinner-input\");\n\n      this.element.attr(\"role\", \"spinbutton\");\n\n      // Button bindings\n      this.buttons = this.uiSpinner\n        .children(\"a\")\n        .attr(\"tabIndex\", -1)\n        .attr(\"aria-hidden\", true)\n        .button({\n          classes: {\n            \"ui-button\": \"\",\n          },\n        });\n\n      // TODO: Right now button does not support classes this is already updated in button PR\n      this._removeClass(this.buttons, \"ui-corner-all\");\n\n      this._addClass(this.buttons.first(), \"ui-spinner-button ui-spinner-up\");\n      this._addClass(this.buttons.last(), \"ui-spinner-button ui-spinner-down\");\n      this.buttons.first().button({\n        icon: this.options.icons.up,\n        showLabel: false,\n      });\n      this.buttons.last().button({\n        icon: this.options.icons.down,\n        showLabel: false,\n      });\n\n      // IE 6 doesn't understand height: 50% for the buttons\n      // unless the wrapper has an explicit height\n      if (\n        this.buttons.height() > Math.ceil(this.uiSpinner.height() * 0.5) &&\n        this.uiSpinner.height() > 0\n      ) {\n        this.uiSpinner.height(this.uiSpinner.height());\n      }\n    },\n\n    _keydown: function (event) {\n      var options = this.options,\n        keyCode = $.ui.keyCode;\n\n      switch (event.keyCode) {\n        case keyCode.UP:\n          this._repeat(null, 1, event);\n          return true;\n        case keyCode.DOWN:\n          this._repeat(null, -1, event);\n          return true;\n        case keyCode.PAGE_UP:\n          this._repeat(null, options.page, event);\n          return true;\n        case keyCode.PAGE_DOWN:\n          this._repeat(null, -options.page, event);\n          return true;\n      }\n\n      return false;\n    },\n\n    _start: function (event) {\n      if (!this.spinning && this._trigger(\"start\", event) === false) {\n        return false;\n      }\n\n      if (!this.counter) {\n        this.counter = 1;\n      }\n      this.spinning = true;\n      return true;\n    },\n\n    _repeat: function (i, steps, event) {\n      i = i || 500;\n\n      clearTimeout(this.timer);\n      this.timer = this._delay(function () {\n        this._repeat(40, steps, event);\n      }, i);\n\n      this._spin(steps * this.options.step, event);\n    },\n\n    _spin: function (step, event) {\n      var value = this.value() || 0;\n\n      if (!this.counter) {\n        this.counter = 1;\n      }\n\n      value = this._adjustValue(value + step * this._increment(this.counter));\n\n      if (\n        !this.spinning ||\n        this._trigger(\"spin\", event, { value: value }) !== false\n      ) {\n        this._value(value);\n        this.counter++;\n      }\n    },\n\n    _increment: function (i) {\n      var incremental = this.options.incremental;\n\n      if (incremental) {\n        return typeof incremental === \"function\"\n          ? incremental(i)\n          : Math.floor(\n              (i * i * i) / 50000 - (i * i) / 500 + (17 * i) / 200 + 1,\n            );\n      }\n\n      return 1;\n    },\n\n    _precision: function () {\n      var precision = this._precisionOf(this.options.step);\n      if (this.options.min !== null) {\n        precision = Math.max(precision, this._precisionOf(this.options.min));\n      }\n      return precision;\n    },\n\n    _precisionOf: function (num) {\n      var str = num.toString(),\n        decimal = str.indexOf(\".\");\n      return decimal === -1 ? 0 : str.length - decimal - 1;\n    },\n\n    _adjustValue: function (value) {\n      var base,\n        aboveMin,\n        options = this.options;\n\n      // Make sure we're at a valid step\n      // - find out where we are relative to the base (min or 0)\n      base = options.min !== null ? options.min : 0;\n      aboveMin = value - base;\n\n      // - round to the nearest step\n      aboveMin = Math.round(aboveMin / options.step) * options.step;\n\n      // - rounding is based on 0, so adjust back to our base\n      value = base + aboveMin;\n\n      // Fix precision from bad JS floating point math\n      value = parseFloat(value.toFixed(this._precision()));\n\n      // Clamp the value\n      if (options.max !== null && value > options.max) {\n        return options.max;\n      }\n      if (options.min !== null && value < options.min) {\n        return options.min;\n      }\n\n      return value;\n    },\n\n    _stop: function (event) {\n      if (!this.spinning) {\n        return;\n      }\n\n      clearTimeout(this.timer);\n      clearTimeout(this.mousewheelTimer);\n      this.counter = 0;\n      this.spinning = false;\n      this._trigger(\"stop\", event);\n    },\n\n    _setOption: function (key, value) {\n      var prevValue, first, last;\n\n      if (key === \"culture\" || key === \"numberFormat\") {\n        prevValue = this._parse(this.element.val());\n        this.options[key] = value;\n        this.element.val(this._format(prevValue));\n        return;\n      }\n\n      if (key === \"max\" || key === \"min\" || key === \"step\") {\n        if (typeof value === \"string\") {\n          value = this._parse(value);\n        }\n      }\n      if (key === \"icons\") {\n        first = this.buttons.first().find(\".ui-icon\");\n        this._removeClass(first, null, this.options.icons.up);\n        this._addClass(first, null, value.up);\n        last = this.buttons.last().find(\".ui-icon\");\n        this._removeClass(last, null, this.options.icons.down);\n        this._addClass(last, null, value.down);\n      }\n\n      this._super(key, value);\n    },\n\n    _setOptionDisabled: function (value) {\n      this._super(value);\n\n      this._toggleClass(this.uiSpinner, null, \"ui-state-disabled\", !!value);\n      this.element.prop(\"disabled\", !!value);\n      this.buttons.button(value ? \"disable\" : \"enable\");\n    },\n\n    _setOptions: spinnerModifier(function (options) {\n      this._super(options);\n    }),\n\n    _parse: function (val) {\n      if (typeof val === \"string\" && val !== \"\") {\n        val =\n          window.Globalize && this.options.numberFormat\n            ? Globalize.parseFloat(val, 10, this.options.culture)\n            : +val;\n      }\n      return val === \"\" || isNaN(val) ? null : val;\n    },\n\n    _format: function (value) {\n      if (value === \"\") {\n        return \"\";\n      }\n      return window.Globalize && this.options.numberFormat\n        ? Globalize.format(\n            value,\n            this.options.numberFormat,\n            this.options.culture,\n          )\n        : value;\n    },\n\n    _refresh: function () {\n      this.element.attr({\n        \"aria-valuemin\": this.options.min,\n        \"aria-valuemax\": this.options.max,\n\n        // TODO: what should we do with values that can't be parsed?\n        \"aria-valuenow\": this._parse(this.element.val()),\n      });\n    },\n\n    isValid: function () {\n      var value = this.value();\n\n      // Null is invalid\n      if (value === null) {\n        return false;\n      }\n\n      // If value gets adjusted, it's invalid\n      return value === this._adjustValue(value);\n    },\n\n    // Update the value without triggering change\n    _value: function (value, allowAny) {\n      var parsed;\n      if (value !== \"\") {\n        parsed = this._parse(value);\n        if (parsed !== null) {\n          if (!allowAny) {\n            parsed = this._adjustValue(parsed);\n          }\n          value = this._format(parsed);\n        }\n      }\n      this.element.val(value);\n      this._refresh();\n    },\n\n    _destroy: function () {\n      this.element\n        .prop(\"disabled\", false)\n        .removeAttr(\n          \"autocomplete role aria-valuemin aria-valuemax aria-valuenow\",\n        );\n\n      this.uiSpinner.replaceWith(this.element);\n    },\n\n    stepUp: spinnerModifier(function (steps) {\n      this._stepUp(steps);\n    }),\n    _stepUp: function (steps) {\n      if (this._start()) {\n        this._spin((steps || 1) * this.options.step);\n        this._stop();\n      }\n    },\n\n    stepDown: spinnerModifier(function (steps) {\n      this._stepDown(steps);\n    }),\n    _stepDown: function (steps) {\n      if (this._start()) {\n        this._spin((steps || 1) * -this.options.step);\n        this._stop();\n      }\n    },\n\n    pageUp: spinnerModifier(function (pages) {\n      this._stepUp((pages || 1) * this.options.page);\n    }),\n\n    pageDown: spinnerModifier(function (pages) {\n      this._stepDown((pages || 1) * this.options.page);\n    }),\n\n    value: function (newVal) {\n      if (!arguments.length) {\n        return this._parse(this.element.val());\n      }\n      spinnerModifier(this._value).call(this, newVal);\n    },\n\n    widget: function () {\n      return this.uiSpinner;\n    },\n  });\n\n  // DEPRECATED\n  // TODO: switch return back to widget declaration at top of file when this is removed\n  if ($.uiBackCompat !== false) {\n    // Backcompat for spinner html extension points\n    $.widget(\"ui.spinner\", $.ui.spinner, {\n      _enhance: function () {\n        this.uiSpinner = this.element\n          .attr(\"autocomplete\", \"off\")\n          .wrap(this._uiSpinnerHtml())\n          .parent()\n\n          // Add buttons\n          .append(this._buttonHtml());\n      },\n      _uiSpinnerHtml: function () {\n        return \"<span>\";\n      },\n\n      _buttonHtml: function () {\n        return \"<a></a><a></a>\";\n      },\n    });\n  }\n\n  var widgetsSpinner = $.ui.spinner;\n\n  /*!\n   * jQuery UI Tabs 1.13.2\n   * http://jqueryui.com\n   *\n   * Copyright jQuery Foundation and other contributors\n   * Released under the MIT license.\n   * http://jquery.org/license\n   */\n\n  //>>label: Tabs\n  //>>group: Widgets\n  //>>description: Transforms a set of container elements into a tab structure.\n  //>>docs: http://api.jqueryui.com/tabs/\n  //>>demos: http://jqueryui.com/tabs/\n  //>>css.structure: ../../themes/base/core.css\n  //>>css.structure: ../../themes/base/tabs.css\n  //>>css.theme: ../../themes/base/theme.css\n\n  $.widget(\"ui.tabs\", {\n    version: \"1.13.2\",\n    delay: 300,\n    options: {\n      active: null,\n      classes: {\n        \"ui-tabs\": \"ui-corner-all\",\n        \"ui-tabs-nav\": \"ui-corner-all\",\n        \"ui-tabs-panel\": \"ui-corner-bottom\",\n        \"ui-tabs-tab\": \"ui-corner-top\",\n      },\n      collapsible: false,\n      event: \"click\",\n      heightStyle: \"content\",\n      hide: null,\n      show: null,\n\n      // Callbacks\n      activate: null,\n      beforeActivate: null,\n      beforeLoad: null,\n      load: null,\n    },\n\n    _isLocal: (function () {\n      var rhash = /#.*$/;\n\n      return function (anchor) {\n        var anchorUrl, locationUrl;\n\n        anchorUrl = anchor.href.replace(rhash, \"\");\n        locationUrl = location.href.replace(rhash, \"\");\n\n        // Decoding may throw an error if the URL isn't UTF-8 (#9518)\n        try {\n          anchorUrl = decodeURIComponent(anchorUrl);\n        } catch (error) {}\n        try {\n          locationUrl = decodeURIComponent(locationUrl);\n        } catch (error) {}\n\n        return anchor.hash.length > 1 && anchorUrl === locationUrl;\n      };\n    })(),\n\n    _create: function () {\n      var that = this,\n        options = this.options;\n\n      this.running = false;\n\n      this._addClass(\"ui-tabs\", \"ui-widget ui-widget-content\");\n      this._toggleClass(\"ui-tabs-collapsible\", null, options.collapsible);\n\n      this._processTabs();\n      options.active = this._initialActive();\n\n      // Take disabling tabs via class attribute from HTML\n      // into account and update option properly.\n      if (Array.isArray(options.disabled)) {\n        options.disabled = $.uniqueSort(\n          options.disabled.concat(\n            $.map(this.tabs.filter(\".ui-state-disabled\"), function (li) {\n              return that.tabs.index(li);\n            }),\n          ),\n        ).sort();\n      }\n\n      // Check for length avoids error when initializing empty list\n      if (this.options.active !== false && this.anchors.length) {\n        this.active = this._findActive(options.active);\n      } else {\n        this.active = $();\n      }\n\n      this._refresh();\n\n      if (this.active.length) {\n        this.load(options.active);\n      }\n    },\n\n    _initialActive: function () {\n      var active = this.options.active,\n        collapsible = this.options.collapsible,\n        locationHash = location.hash.substring(1);\n\n      if (active === null) {\n        // check the fragment identifier in the URL\n        if (locationHash) {\n          this.tabs.each(function (i, tab) {\n            if ($(tab).attr(\"aria-controls\") === locationHash) {\n              active = i;\n              return false;\n            }\n          });\n        }\n\n        // Check for a tab marked active via a class\n        if (active === null) {\n          active = this.tabs.index(this.tabs.filter(\".ui-tabs-active\"));\n        }\n\n        // No active tab, set to false\n        if (active === null || active === -1) {\n          active = this.tabs.length ? 0 : false;\n        }\n      }\n\n      // Handle numbers: negative, out of range\n      if (active !== false) {\n        active = this.tabs.index(this.tabs.eq(active));\n        if (active === -1) {\n          active = collapsible ? false : 0;\n        }\n      }\n\n      // Don't allow collapsible: false and active: false\n      if (!collapsible && active === false && this.anchors.length) {\n        active = 0;\n      }\n\n      return active;\n    },\n\n    _getCreateEventData: function () {\n      return {\n        tab: this.active,\n        panel: !this.active.length ? $() : this._getPanelForTab(this.active),\n      };\n    },\n\n    _tabKeydown: function (event) {\n      var focusedTab = $($.ui.safeActiveElement(this.document[0])).closest(\n          \"li\",\n        ),\n        selectedIndex = this.tabs.index(focusedTab),\n        goingForward = true;\n\n      if (this._handlePageNav(event)) {\n        return;\n      }\n\n      switch (event.keyCode) {\n        case $.ui.keyCode.RIGHT:\n        case $.ui.keyCode.DOWN:\n          selectedIndex++;\n          break;\n        case $.ui.keyCode.UP:\n        case $.ui.keyCode.LEFT:\n          goingForward = false;\n          selectedIndex--;\n          break;\n        case $.ui.keyCode.END:\n          selectedIndex = this.anchors.length - 1;\n          break;\n        case $.ui.keyCode.HOME:\n          selectedIndex = 0;\n          break;\n        case $.ui.keyCode.SPACE:\n          // Activate only, no collapsing\n          event.preventDefault();\n          clearTimeout(this.activating);\n          this._activate(selectedIndex);\n          return;\n        case $.ui.keyCode.ENTER:\n          // Toggle (cancel delayed activation, allow collapsing)\n          event.preventDefault();\n          clearTimeout(this.activating);\n\n          // Determine if we should collapse or activate\n          this._activate(\n            selectedIndex === this.options.active ? false : selectedIndex,\n          );\n          return;\n        default:\n          return;\n      }\n\n      // Focus the appropriate tab, based on which key was pressed\n      event.preventDefault();\n      clearTimeout(this.activating);\n      selectedIndex = this._focusNextTab(selectedIndex, goingForward);\n\n      // Navigating with control/command key will prevent automatic activation\n      if (!event.ctrlKey && !event.metaKey) {\n        // Update aria-selected immediately so that AT think the tab is already selected.\n        // Otherwise AT may confuse the user by stating that they need to activate the tab,\n        // but the tab will already be activated by the time the announcement finishes.\n        focusedTab.attr(\"aria-selected\", \"false\");\n        this.tabs.eq(selectedIndex).attr(\"aria-selected\", \"true\");\n\n        this.activating = this._delay(function () {\n          this.option(\"active\", selectedIndex);\n        }, this.delay);\n      }\n    },\n\n    _panelKeydown: function (event) {\n      if (this._handlePageNav(event)) {\n        return;\n      }\n\n      // Ctrl+up moves focus to the current tab\n      if (event.ctrlKey && event.keyCode === $.ui.keyCode.UP) {\n        event.preventDefault();\n        this.active.trigger(\"focus\");\n      }\n    },\n\n    // Alt+page up/down moves focus to the previous/next tab (and activates)\n    _handlePageNav: function (event) {\n      if (event.altKey && event.keyCode === $.ui.keyCode.PAGE_UP) {\n        this._activate(this._focusNextTab(this.options.active - 1, false));\n        return true;\n      }\n      if (event.altKey && event.keyCode === $.ui.keyCode.PAGE_DOWN) {\n        this._activate(this._focusNextTab(this.options.active + 1, true));\n        return true;\n      }\n    },\n\n    _findNextTab: function (index, goingForward) {\n      var lastTabIndex = this.tabs.length - 1;\n\n      function constrain() {\n        if (index > lastTabIndex) {\n          index = 0;\n        }\n        if (index < 0) {\n          index = lastTabIndex;\n        }\n        return index;\n      }\n\n      while ($.inArray(constrain(), this.options.disabled) !== -1) {\n        index = goingForward ? index + 1 : index - 1;\n      }\n\n      return index;\n    },\n\n    _focusNextTab: function (index, goingForward) {\n      index = this._findNextTab(index, goingForward);\n      this.tabs.eq(index).trigger(\"focus\");\n      return index;\n    },\n\n    _setOption: function (key, value) {\n      if (key === \"active\") {\n        // _activate() will handle invalid values and update this.options\n        this._activate(value);\n        return;\n      }\n\n      this._super(key, value);\n\n      if (key === \"collapsible\") {\n        this._toggleClass(\"ui-tabs-collapsible\", null, value);\n\n        // Setting collapsible: false while collapsed; open first panel\n        if (!value && this.options.active === false) {\n          this._activate(0);\n        }\n      }\n\n      if (key === \"event\") {\n        this._setupEvents(value);\n      }\n\n      if (key === \"heightStyle\") {\n        this._setupHeightStyle(value);\n      }\n    },\n\n    _sanitizeSelector: function (hash) {\n      return hash\n        ? hash.replace(/[!\"$%&'()*+,.\\/:;<=>?@\\[\\]\\^`{|}~]/g, \"\\\\$&\")\n        : \"\";\n    },\n\n    refresh: function () {\n      var options = this.options,\n        lis = this.tablist.children(\":has(a[href])\");\n\n      // Get disabled tabs from class attribute from HTML\n      // this will get converted to a boolean if needed in _refresh()\n      options.disabled = $.map(\n        lis.filter(\".ui-state-disabled\"),\n        function (tab) {\n          return lis.index(tab);\n        },\n      );\n\n      this._processTabs();\n\n      // Was collapsed or no tabs\n      if (options.active === false || !this.anchors.length) {\n        options.active = false;\n        this.active = $();\n\n        // was active, but active tab is gone\n      } else if (\n        this.active.length &&\n        !$.contains(this.tablist[0], this.active[0])\n      ) {\n        // all remaining tabs are disabled\n        if (this.tabs.length === options.disabled.length) {\n          options.active = false;\n          this.active = $();\n\n          // activate previous tab\n        } else {\n          this._activate(\n            this._findNextTab(Math.max(0, options.active - 1), false),\n          );\n        }\n\n        // was active, active tab still exists\n      } else {\n        // make sure active index is correct\n        options.active = this.tabs.index(this.active);\n      }\n\n      this._refresh();\n    },\n\n    _refresh: function () {\n      this._setOptionDisabled(this.options.disabled);\n      this._setupEvents(this.options.event);\n      this._setupHeightStyle(this.options.heightStyle);\n\n      this.tabs.not(this.active).attr({\n        \"aria-selected\": \"false\",\n        \"aria-expanded\": \"false\",\n        tabIndex: -1,\n      });\n      this.panels.not(this._getPanelForTab(this.active)).hide().attr({\n        \"aria-hidden\": \"true\",\n      });\n\n      // Make sure one tab is in the tab order\n      if (!this.active.length) {\n        this.tabs.eq(0).attr(\"tabIndex\", 0);\n      } else {\n        this.active.attr({\n          \"aria-selected\": \"true\",\n          \"aria-expanded\": \"true\",\n          tabIndex: 0,\n        });\n        this._addClass(this.active, \"ui-tabs-active\", \"ui-state-active\");\n        this._getPanelForTab(this.active).show().attr({\n          \"aria-hidden\": \"false\",\n        });\n      }\n    },\n\n    _processTabs: function () {\n      var that = this,\n        prevTabs = this.tabs,\n        prevAnchors = this.anchors,\n        prevPanels = this.panels;\n\n      this.tablist = this._getList().attr(\"role\", \"tablist\");\n      this._addClass(\n        this.tablist,\n        \"ui-tabs-nav\",\n        \"ui-helper-reset ui-helper-clearfix ui-widget-header\",\n      );\n\n      // Prevent users from focusing disabled tabs via click\n      this.tablist\n        .on(\"mousedown\" + this.eventNamespace, \"> li\", function (event) {\n          if ($(this).is(\".ui-state-disabled\")) {\n            event.preventDefault();\n          }\n        })\n\n        // Support: IE <9\n        // Preventing the default action in mousedown doesn't prevent IE\n        // from focusing the element, so if the anchor gets focused, blur.\n        // We don't have to worry about focusing the previously focused\n        // element since clicking on a non-focusable element should focus\n        // the body anyway.\n        .on(\"focus\" + this.eventNamespace, \".ui-tabs-anchor\", function () {\n          if ($(this).closest(\"li\").is(\".ui-state-disabled\")) {\n            this.blur();\n          }\n        });\n\n      this.tabs = this.tablist.find(\"> li:has(a[href])\").attr({\n        role: \"tab\",\n        tabIndex: -1,\n      });\n      this._addClass(this.tabs, \"ui-tabs-tab\", \"ui-state-default\");\n\n      this.anchors = this.tabs\n        .map(function () {\n          return $(\"a\", this)[0];\n        })\n        .attr({\n          tabIndex: -1,\n        });\n      this._addClass(this.anchors, \"ui-tabs-anchor\");\n\n      this.panels = $();\n\n      this.anchors.each(function (i, anchor) {\n        var selector,\n          panel,\n          panelId,\n          anchorId = $(anchor).uniqueId().attr(\"id\"),\n          tab = $(anchor).closest(\"li\"),\n          originalAriaControls = tab.attr(\"aria-controls\");\n\n        // Inline tab\n        if (that._isLocal(anchor)) {\n          selector = anchor.hash;\n          panelId = selector.substring(1);\n          panel = that.element.find(that._sanitizeSelector(selector));\n\n          // remote tab\n        } else {\n          // If the tab doesn't already have aria-controls,\n          // generate an id by using a throw-away element\n          panelId = tab.attr(\"aria-controls\") || $({}).uniqueId()[0].id;\n          selector = \"#\" + panelId;\n          panel = that.element.find(selector);\n          if (!panel.length) {\n            panel = that._createPanel(panelId);\n            panel.insertAfter(that.panels[i - 1] || that.tablist);\n          }\n          panel.attr(\"aria-live\", \"polite\");\n        }\n\n        if (panel.length) {\n          that.panels = that.panels.add(panel);\n        }\n        if (originalAriaControls) {\n          tab.data(\"ui-tabs-aria-controls\", originalAriaControls);\n        }\n        tab.attr({\n          \"aria-controls\": panelId,\n          \"aria-labelledby\": anchorId,\n        });\n        panel.attr(\"aria-labelledby\", anchorId);\n      });\n\n      this.panels.attr(\"role\", \"tabpanel\");\n      this._addClass(this.panels, \"ui-tabs-panel\", \"ui-widget-content\");\n\n      // Avoid memory leaks (#10056)\n      if (prevTabs) {\n        this._off(prevTabs.not(this.tabs));\n        this._off(prevAnchors.not(this.anchors));\n        this._off(prevPanels.not(this.panels));\n      }\n    },\n\n    // Allow overriding how to find the list for rare usage scenarios (#7715)\n    _getList: function () {\n      return this.tablist || this.element.find(\"ol, ul\").eq(0);\n    },\n\n    _createPanel: function (id) {\n      return $(\"<div>\").attr(\"id\", id).data(\"ui-tabs-destroy\", true);\n    },\n\n    _setOptionDisabled: function (disabled) {\n      var currentItem, li, i;\n\n      if (Array.isArray(disabled)) {\n        if (!disabled.length) {\n          disabled = false;\n        } else if (disabled.length === this.anchors.length) {\n          disabled = true;\n        }\n      }\n\n      // Disable tabs\n      for (i = 0; (li = this.tabs[i]); i++) {\n        currentItem = $(li);\n        if (disabled === true || $.inArray(i, disabled) !== -1) {\n          currentItem.attr(\"aria-disabled\", \"true\");\n          this._addClass(currentItem, null, \"ui-state-disabled\");\n        } else {\n          currentItem.removeAttr(\"aria-disabled\");\n          this._removeClass(currentItem, null, \"ui-state-disabled\");\n        }\n      }\n\n      this.options.disabled = disabled;\n\n      this._toggleClass(\n        this.widget(),\n        this.widgetFullName + \"-disabled\",\n        null,\n        disabled === true,\n      );\n    },\n\n    _setupEvents: function (event) {\n      var events = {};\n      if (event) {\n        $.each(event.split(\" \"), function (index, eventName) {\n          events[eventName] = \"_eventHandler\";\n        });\n      }\n\n      this._off(this.anchors.add(this.tabs).add(this.panels));\n\n      // Always prevent the default action, even when disabled\n      this._on(true, this.anchors, {\n        click: function (event) {\n          event.preventDefault();\n        },\n      });\n      this._on(this.anchors, events);\n      this._on(this.tabs, { keydown: \"_tabKeydown\" });\n      this._on(this.panels, { keydown: \"_panelKeydown\" });\n\n      this._focusable(this.tabs);\n      this._hoverable(this.tabs);\n    },\n\n    _setupHeightStyle: function (heightStyle) {\n      var maxHeight,\n        parent = this.element.parent();\n\n      if (heightStyle === \"fill\") {\n        maxHeight = parent.height();\n        maxHeight -= this.element.outerHeight() - this.element.height();\n\n        this.element.siblings(\":visible\").each(function () {\n          var elem = $(this),\n            position = elem.css(\"position\");\n\n          if (position === \"absolute\" || position === \"fixed\") {\n            return;\n          }\n          maxHeight -= elem.outerHeight(true);\n        });\n\n        this.element\n          .children()\n          .not(this.panels)\n          .each(function () {\n            maxHeight -= $(this).outerHeight(true);\n          });\n\n        this.panels\n          .each(function () {\n            $(this).height(\n              Math.max(0, maxHeight - $(this).innerHeight() + $(this).height()),\n            );\n          })\n          .css(\"overflow\", \"auto\");\n      } else if (heightStyle === \"auto\") {\n        maxHeight = 0;\n        this.panels\n          .each(function () {\n            maxHeight = Math.max(maxHeight, $(this).height(\"\").height());\n          })\n          .height(maxHeight);\n      }\n    },\n\n    _eventHandler: function (event) {\n      var options = this.options,\n        active = this.active,\n        anchor = $(event.currentTarget),\n        tab = anchor.closest(\"li\"),\n        clickedIsActive = tab[0] === active[0],\n        collapsing = clickedIsActive && options.collapsible,\n        toShow = collapsing ? $() : this._getPanelForTab(tab),\n        toHide = !active.length ? $() : this._getPanelForTab(active),\n        eventData = {\n          oldTab: active,\n          oldPanel: toHide,\n          newTab: collapsing ? $() : tab,\n          newPanel: toShow,\n        };\n\n      event.preventDefault();\n\n      if (\n        tab.hasClass(\"ui-state-disabled\") ||\n        // tab is already loading\n        tab.hasClass(\"ui-tabs-loading\") ||\n        // can't switch durning an animation\n        this.running ||\n        // click on active header, but not collapsible\n        (clickedIsActive && !options.collapsible) ||\n        // allow canceling activation\n        this._trigger(\"beforeActivate\", event, eventData) === false\n      ) {\n        return;\n      }\n\n      options.active = collapsing ? false : this.tabs.index(tab);\n\n      this.active = clickedIsActive ? $() : tab;\n      if (this.xhr) {\n        this.xhr.abort();\n      }\n\n      if (!toHide.length && !toShow.length) {\n        $.error(\"jQuery UI Tabs: Mismatching fragment identifier.\");\n      }\n\n      if (toShow.length) {\n        this.load(this.tabs.index(tab), event);\n      }\n      this._toggle(event, eventData);\n    },\n\n    // Handles show/hide for selecting tabs\n    _toggle: function (event, eventData) {\n      var that = this,\n        toShow = eventData.newPanel,\n        toHide = eventData.oldPanel;\n\n      this.running = true;\n\n      function complete() {\n        that.running = false;\n        that._trigger(\"activate\", event, eventData);\n      }\n\n      function show() {\n        that._addClass(\n          eventData.newTab.closest(\"li\"),\n          \"ui-tabs-active\",\n          \"ui-state-active\",\n        );\n\n        if (toShow.length && that.options.show) {\n          that._show(toShow, that.options.show, complete);\n        } else {\n          toShow.show();\n          complete();\n        }\n      }\n\n      // Start out by hiding, then showing, then completing\n      if (toHide.length && this.options.hide) {\n        this._hide(toHide, this.options.hide, function () {\n          that._removeClass(\n            eventData.oldTab.closest(\"li\"),\n            \"ui-tabs-active\",\n            \"ui-state-active\",\n          );\n          show();\n        });\n      } else {\n        this._removeClass(\n          eventData.oldTab.closest(\"li\"),\n          \"ui-tabs-active\",\n          \"ui-state-active\",\n        );\n        toHide.hide();\n        show();\n      }\n\n      toHide.attr(\"aria-hidden\", \"true\");\n      eventData.oldTab.attr({\n        \"aria-selected\": \"false\",\n        \"aria-expanded\": \"false\",\n      });\n\n      // If we're switching tabs, remove the old tab from the tab order.\n      // If we're opening from collapsed state, remove the previous tab from the tab order.\n      // If we're collapsing, then keep the collapsing tab in the tab order.\n      if (toShow.length && toHide.length) {\n        eventData.oldTab.attr(\"tabIndex\", -1);\n      } else if (toShow.length) {\n        this.tabs\n          .filter(function () {\n            return $(this).attr(\"tabIndex\") === 0;\n          })\n          .attr(\"tabIndex\", -1);\n      }\n\n      toShow.attr(\"aria-hidden\", \"false\");\n      eventData.newTab.attr({\n        \"aria-selected\": \"true\",\n        \"aria-expanded\": \"true\",\n        tabIndex: 0,\n      });\n    },\n\n    _activate: function (index) {\n      var anchor,\n        active = this._findActive(index);\n\n      // Trying to activate the already active panel\n      if (active[0] === this.active[0]) {\n        return;\n      }\n\n      // Trying to collapse, simulate a click on the current active header\n      if (!active.length) {\n        active = this.active;\n      }\n\n      anchor = active.find(\".ui-tabs-anchor\")[0];\n      this._eventHandler({\n        target: anchor,\n        currentTarget: anchor,\n        preventDefault: $.noop,\n      });\n    },\n\n    _findActive: function (index) {\n      return index === false ? $() : this.tabs.eq(index);\n    },\n\n    _getIndex: function (index) {\n      // meta-function to give users option to provide a href string instead of a numerical index.\n      if (typeof index === \"string\") {\n        index = this.anchors.index(\n          this.anchors.filter(\"[href$='\" + $.escapeSelector(index) + \"']\"),\n        );\n      }\n\n      return index;\n    },\n\n    _destroy: function () {\n      if (this.xhr) {\n        this.xhr.abort();\n      }\n\n      this.tablist.removeAttr(\"role\").off(this.eventNamespace);\n\n      this.anchors.removeAttr(\"role tabIndex\").removeUniqueId();\n\n      this.tabs.add(this.panels).each(function () {\n        if ($.data(this, \"ui-tabs-destroy\")) {\n          $(this).remove();\n        } else {\n          $(this).removeAttr(\n            \"role tabIndex \" +\n              \"aria-live aria-busy aria-selected aria-labelledby aria-hidden aria-expanded\",\n          );\n        }\n      });\n\n      this.tabs.each(function () {\n        var li = $(this),\n          prev = li.data(\"ui-tabs-aria-controls\");\n        if (prev) {\n          li.attr(\"aria-controls\", prev).removeData(\"ui-tabs-aria-controls\");\n        } else {\n          li.removeAttr(\"aria-controls\");\n        }\n      });\n\n      this.panels.show();\n\n      if (this.options.heightStyle !== \"content\") {\n        this.panels.css(\"height\", \"\");\n      }\n    },\n\n    enable: function (index) {\n      var disabled = this.options.disabled;\n      if (disabled === false) {\n        return;\n      }\n\n      if (index === undefined) {\n        disabled = false;\n      } else {\n        index = this._getIndex(index);\n        if (Array.isArray(disabled)) {\n          disabled = $.map(disabled, function (num) {\n            return num !== index ? num : null;\n          });\n        } else {\n          disabled = $.map(this.tabs, function (li, num) {\n            return num !== index ? num : null;\n          });\n        }\n      }\n      this._setOptionDisabled(disabled);\n    },\n\n    disable: function (index) {\n      var disabled = this.options.disabled;\n      if (disabled === true) {\n        return;\n      }\n\n      if (index === undefined) {\n        disabled = true;\n      } else {\n        index = this._getIndex(index);\n        if ($.inArray(index, disabled) !== -1) {\n          return;\n        }\n        if (Array.isArray(disabled)) {\n          disabled = $.merge([index], disabled).sort();\n        } else {\n          disabled = [index];\n        }\n      }\n      this._setOptionDisabled(disabled);\n    },\n\n    load: function (index, event) {\n      index = this._getIndex(index);\n      var that = this,\n        tab = this.tabs.eq(index),\n        anchor = tab.find(\".ui-tabs-anchor\"),\n        panel = this._getPanelForTab(tab),\n        eventData = {\n          tab: tab,\n          panel: panel,\n        },\n        complete = function (jqXHR, status) {\n          if (status === \"abort\") {\n            that.panels.stop(false, true);\n          }\n\n          that._removeClass(tab, \"ui-tabs-loading\");\n          panel.removeAttr(\"aria-busy\");\n\n          if (jqXHR === that.xhr) {\n            delete that.xhr;\n          }\n        };\n\n      // Not remote\n      if (this._isLocal(anchor[0])) {\n        return;\n      }\n\n      this.xhr = $.ajax(this._ajaxSettings(anchor, event, eventData));\n\n      // Support: jQuery <1.8\n      // jQuery <1.8 returns false if the request is canceled in beforeSend,\n      // but as of 1.8, $.ajax() always returns a jqXHR object.\n      if (this.xhr && this.xhr.statusText !== \"canceled\") {\n        this._addClass(tab, \"ui-tabs-loading\");\n        panel.attr(\"aria-busy\", \"true\");\n\n        this.xhr\n          .done(function (response, status, jqXHR) {\n            // support: jQuery <1.8\n            // http://bugs.jquery.com/ticket/11778\n            setTimeout(function () {\n              panel.html(response);\n              that._trigger(\"load\", event, eventData);\n\n              complete(jqXHR, status);\n            }, 1);\n          })\n          .fail(function (jqXHR, status) {\n            // support: jQuery <1.8\n            // http://bugs.jquery.com/ticket/11778\n            setTimeout(function () {\n              complete(jqXHR, status);\n            }, 1);\n          });\n      }\n    },\n\n    _ajaxSettings: function (anchor, event, eventData) {\n      var that = this;\n      return {\n        // Support: IE <11 only\n        // Strip any hash that exists to prevent errors with the Ajax request\n        url: anchor.attr(\"href\").replace(/#.*$/, \"\"),\n        beforeSend: function (jqXHR, settings) {\n          return that._trigger(\n            \"beforeLoad\",\n            event,\n            $.extend({ jqXHR: jqXHR, ajaxSettings: settings }, eventData),\n          );\n        },\n      };\n    },\n\n    _getPanelForTab: function (tab) {\n      var id = $(tab).attr(\"aria-controls\");\n      return this.element.find(this._sanitizeSelector(\"#\" + id));\n    },\n  });\n\n  // DEPRECATED\n  // TODO: Switch return back to widget declaration at top of file when this is removed\n  if ($.uiBackCompat !== false) {\n    // Backcompat for ui-tab class (now ui-tabs-tab)\n    $.widget(\"ui.tabs\", $.ui.tabs, {\n      _processTabs: function () {\n        this._superApply(arguments);\n        this._addClass(this.tabs, \"ui-tab\");\n      },\n    });\n  }\n\n  var widgetsTabs = $.ui.tabs;\n\n  /*!\n   * jQuery UI Tooltip 1.13.2\n   * http://jqueryui.com\n   *\n   * Copyright jQuery Foundation and other contributors\n   * Released under the MIT license.\n   * http://jquery.org/license\n   */\n\n  //>>label: Tooltip\n  //>>group: Widgets\n  //>>description: Shows additional information for any element on hover or focus.\n  //>>docs: http://api.jqueryui.com/tooltip/\n  //>>demos: http://jqueryui.com/tooltip/\n  //>>css.structure: ../../themes/base/core.css\n  //>>css.structure: ../../themes/base/tooltip.css\n  //>>css.theme: ../../themes/base/theme.css\n\n  $.widget(\"ui.tooltip\", {\n    version: \"1.13.2\",\n    options: {\n      classes: {\n        \"ui-tooltip\": \"ui-corner-all ui-widget-shadow\",\n      },\n      content: function () {\n        var title = $(this).attr(\"title\");\n\n        // Escape title, since we're going from an attribute to raw HTML\n        return $(\"<a>\").text(title).html();\n      },\n      hide: true,\n\n      // Disabled elements have inconsistent behavior across browsers (#8661)\n      items: \"[title]:not([disabled])\",\n      position: {\n        my: \"left top+15\",\n        at: \"left bottom\",\n        collision: \"flipfit flip\",\n      },\n      show: true,\n      track: false,\n\n      // Callbacks\n      close: null,\n      open: null,\n    },\n\n    _addDescribedBy: function (elem, id) {\n      var describedby = (elem.attr(\"aria-describedby\") || \"\").split(/\\s+/);\n      describedby.push(id);\n      elem\n        .data(\"ui-tooltip-id\", id)\n        .attr(\n          \"aria-describedby\",\n          String.prototype.trim.call(describedby.join(\" \")),\n        );\n    },\n\n    _removeDescribedBy: function (elem) {\n      var id = elem.data(\"ui-tooltip-id\"),\n        describedby = (elem.attr(\"aria-describedby\") || \"\").split(/\\s+/),\n        index = $.inArray(id, describedby);\n\n      if (index !== -1) {\n        describedby.splice(index, 1);\n      }\n\n      elem.removeData(\"ui-tooltip-id\");\n      describedby = String.prototype.trim.call(describedby.join(\" \"));\n      if (describedby) {\n        elem.attr(\"aria-describedby\", describedby);\n      } else {\n        elem.removeAttr(\"aria-describedby\");\n      }\n    },\n\n    _create: function () {\n      this._on({\n        mouseover: \"open\",\n        focusin: \"open\",\n      });\n\n      // IDs of generated tooltips, needed for destroy\n      this.tooltips = {};\n\n      // IDs of parent tooltips where we removed the title attribute\n      this.parents = {};\n\n      // Append the aria-live region so tooltips announce correctly\n      this.liveRegion = $(\"<div>\")\n        .attr({\n          role: \"log\",\n          \"aria-live\": \"assertive\",\n          \"aria-relevant\": \"additions\",\n        })\n        .appendTo(this.document[0].body);\n      this._addClass(this.liveRegion, null, \"ui-helper-hidden-accessible\");\n\n      this.disabledTitles = $([]);\n    },\n\n    _setOption: function (key, value) {\n      var that = this;\n\n      this._super(key, value);\n\n      if (key === \"content\") {\n        $.each(this.tooltips, function (id, tooltipData) {\n          that._updateContent(tooltipData.element);\n        });\n      }\n    },\n\n    _setOptionDisabled: function (value) {\n      this[value ? \"_disable\" : \"_enable\"]();\n    },\n\n    _disable: function () {\n      var that = this;\n\n      // Close open tooltips\n      $.each(this.tooltips, function (id, tooltipData) {\n        var event = $.Event(\"blur\");\n        event.target = event.currentTarget = tooltipData.element[0];\n        that.close(event, true);\n      });\n\n      // Remove title attributes to prevent native tooltips\n      this.disabledTitles = this.disabledTitles.add(\n        this.element\n          .find(this.options.items)\n          .addBack()\n          .filter(function () {\n            var element = $(this);\n            if (element.is(\"[title]\")) {\n              return element\n                .data(\"ui-tooltip-title\", element.attr(\"title\"))\n                .removeAttr(\"title\");\n            }\n          }),\n      );\n    },\n\n    _enable: function () {\n      // restore title attributes\n      this.disabledTitles.each(function () {\n        var element = $(this);\n        if (element.data(\"ui-tooltip-title\")) {\n          element.attr(\"title\", element.data(\"ui-tooltip-title\"));\n        }\n      });\n      this.disabledTitles = $([]);\n    },\n\n    open: function (event) {\n      var that = this,\n        target = $(event ? event.target : this.element)\n          // we need closest here due to mouseover bubbling,\n          // but always pointing at the same event target\n          .closest(this.options.items);\n\n      // No element to show a tooltip for or the tooltip is already open\n      if (!target.length || target.data(\"ui-tooltip-id\")) {\n        return;\n      }\n\n      if (target.attr(\"title\")) {\n        target.data(\"ui-tooltip-title\", target.attr(\"title\"));\n      }\n\n      target.data(\"ui-tooltip-open\", true);\n\n      // Kill parent tooltips, custom or native, for hover\n      if (event && event.type === \"mouseover\") {\n        target.parents().each(function () {\n          var parent = $(this),\n            blurEvent;\n          if (parent.data(\"ui-tooltip-open\")) {\n            blurEvent = $.Event(\"blur\");\n            blurEvent.target = blurEvent.currentTarget = this;\n            that.close(blurEvent, true);\n          }\n          if (parent.attr(\"title\")) {\n            parent.uniqueId();\n            that.parents[this.id] = {\n              element: this,\n              title: parent.attr(\"title\"),\n            };\n            parent.attr(\"title\", \"\");\n          }\n        });\n      }\n\n      this._registerCloseHandlers(event, target);\n      this._updateContent(target, event);\n    },\n\n    _updateContent: function (target, event) {\n      var content,\n        contentOption = this.options.content,\n        that = this,\n        eventType = event ? event.type : null;\n\n      if (\n        typeof contentOption === \"string\" ||\n        contentOption.nodeType ||\n        contentOption.jquery\n      ) {\n        return this._open(event, target, contentOption);\n      }\n\n      content = contentOption.call(target[0], function (response) {\n        // IE may instantly serve a cached response for ajax requests\n        // delay this call to _open so the other call to _open runs first\n        that._delay(function () {\n          // Ignore async response if tooltip was closed already\n          if (!target.data(\"ui-tooltip-open\")) {\n            return;\n          }\n\n          // JQuery creates a special event for focusin when it doesn't\n          // exist natively. To improve performance, the native event\n          // object is reused and the type is changed. Therefore, we can't\n          // rely on the type being correct after the event finished\n          // bubbling, so we set it back to the previous value. (#8740)\n          if (event) {\n            event.type = eventType;\n          }\n          this._open(event, target, response);\n        });\n      });\n      if (content) {\n        this._open(event, target, content);\n      }\n    },\n\n    _open: function (event, target, content) {\n      var tooltipData,\n        tooltip,\n        delayedShow,\n        a11yContent,\n        positionOption = $.extend({}, this.options.position);\n\n      if (!content) {\n        return;\n      }\n\n      // Content can be updated multiple times. If the tooltip already\n      // exists, then just update the content and bail.\n      tooltipData = this._find(target);\n      if (tooltipData) {\n        tooltipData.tooltip.find(\".ui-tooltip-content\").html(content);\n        return;\n      }\n\n      // If we have a title, clear it to prevent the native tooltip\n      // we have to check first to avoid defining a title if none exists\n      // (we don't want to cause an element to start matching [title])\n      //\n      // We use removeAttr only for key events, to allow IE to export the correct\n      // accessible attributes. For mouse events, set to empty string to avoid\n      // native tooltip showing up (happens only when removing inside mouseover).\n      if (target.is(\"[title]\")) {\n        if (event && event.type === \"mouseover\") {\n          target.attr(\"title\", \"\");\n        } else {\n          target.removeAttr(\"title\");\n        }\n      }\n\n      tooltipData = this._tooltip(target);\n      tooltip = tooltipData.tooltip;\n      this._addDescribedBy(target, tooltip.attr(\"id\"));\n      tooltip.find(\".ui-tooltip-content\").html(content);\n\n      // Support: Voiceover on OS X, JAWS on IE <= 9\n      // JAWS announces deletions even when aria-relevant=\"additions\"\n      // Voiceover will sometimes re-read the entire log region's contents from the beginning\n      this.liveRegion.children().hide();\n      a11yContent = $(\"<div>\").html(tooltip.find(\".ui-tooltip-content\").html());\n      a11yContent.removeAttr(\"name\").find(\"[name]\").removeAttr(\"name\");\n      a11yContent.removeAttr(\"id\").find(\"[id]\").removeAttr(\"id\");\n      a11yContent.appendTo(this.liveRegion);\n\n      function position(event) {\n        positionOption.of = event;\n        if (tooltip.is(\":hidden\")) {\n          return;\n        }\n        tooltip.position(positionOption);\n      }\n      if (this.options.track && event && /^mouse/.test(event.type)) {\n        this._on(this.document, {\n          mousemove: position,\n        });\n\n        // trigger once to override element-relative positioning\n        position(event);\n      } else {\n        tooltip.position(\n          $.extend(\n            {\n              of: target,\n            },\n            this.options.position,\n          ),\n        );\n      }\n\n      tooltip.hide();\n\n      this._show(tooltip, this.options.show);\n\n      // Handle tracking tooltips that are shown with a delay (#8644). As soon\n      // as the tooltip is visible, position the tooltip using the most recent\n      // event.\n      // Adds the check to add the timers only when both delay and track options are set (#14682)\n      if (this.options.track && this.options.show && this.options.show.delay) {\n        delayedShow = this.delayedShow = setInterval(function () {\n          if (tooltip.is(\":visible\")) {\n            position(positionOption.of);\n            clearInterval(delayedShow);\n          }\n        }, 13);\n      }\n\n      this._trigger(\"open\", event, { tooltip: tooltip });\n    },\n\n    _registerCloseHandlers: function (event, target) {\n      var events = {\n        keyup: function (event) {\n          if (event.keyCode === $.ui.keyCode.ESCAPE) {\n            var fakeEvent = $.Event(event);\n            fakeEvent.currentTarget = target[0];\n            this.close(fakeEvent, true);\n          }\n        },\n      };\n\n      // Only bind remove handler for delegated targets. Non-delegated\n      // tooltips will handle this in destroy.\n      if (target[0] !== this.element[0]) {\n        events.remove = function () {\n          var targetElement = this._find(target);\n          if (targetElement) {\n            this._removeTooltip(targetElement.tooltip);\n          }\n        };\n      }\n\n      if (!event || event.type === \"mouseover\") {\n        events.mouseleave = \"close\";\n      }\n      if (!event || event.type === \"focusin\") {\n        events.focusout = \"close\";\n      }\n      this._on(true, target, events);\n    },\n\n    close: function (event) {\n      var tooltip,\n        that = this,\n        target = $(event ? event.currentTarget : this.element),\n        tooltipData = this._find(target);\n\n      // The tooltip may already be closed\n      if (!tooltipData) {\n        // We set ui-tooltip-open immediately upon open (in open()), but only set the\n        // additional data once there's actually content to show (in _open()). So even if the\n        // tooltip doesn't have full data, we always remove ui-tooltip-open in case we're in\n        // the period between open() and _open().\n        target.removeData(\"ui-tooltip-open\");\n        return;\n      }\n\n      tooltip = tooltipData.tooltip;\n\n      // Disabling closes the tooltip, so we need to track when we're closing\n      // to avoid an infinite loop in case the tooltip becomes disabled on close\n      if (tooltipData.closing) {\n        return;\n      }\n\n      // Clear the interval for delayed tracking tooltips\n      clearInterval(this.delayedShow);\n\n      // Only set title if we had one before (see comment in _open())\n      // If the title attribute has changed since open(), don't restore\n      if (target.data(\"ui-tooltip-title\") && !target.attr(\"title\")) {\n        target.attr(\"title\", target.data(\"ui-tooltip-title\"));\n      }\n\n      this._removeDescribedBy(target);\n\n      tooltipData.hiding = true;\n      tooltip.stop(true);\n      this._hide(tooltip, this.options.hide, function () {\n        that._removeTooltip($(this));\n      });\n\n      target.removeData(\"ui-tooltip-open\");\n      this._off(target, \"mouseleave focusout keyup\");\n\n      // Remove 'remove' binding only on delegated targets\n      if (target[0] !== this.element[0]) {\n        this._off(target, \"remove\");\n      }\n      this._off(this.document, \"mousemove\");\n\n      if (event && event.type === \"mouseleave\") {\n        $.each(this.parents, function (id, parent) {\n          $(parent.element).attr(\"title\", parent.title);\n          delete that.parents[id];\n        });\n      }\n\n      tooltipData.closing = true;\n      this._trigger(\"close\", event, { tooltip: tooltip });\n      if (!tooltipData.hiding) {\n        tooltipData.closing = false;\n      }\n    },\n\n    _tooltip: function (element) {\n      var tooltip = $(\"<div>\").attr(\"role\", \"tooltip\"),\n        content = $(\"<div>\").appendTo(tooltip),\n        id = tooltip.uniqueId().attr(\"id\");\n\n      this._addClass(content, \"ui-tooltip-content\");\n      this._addClass(tooltip, \"ui-tooltip\", \"ui-widget ui-widget-content\");\n\n      tooltip.appendTo(this._appendTo(element));\n\n      return (this.tooltips[id] = {\n        element: element,\n        tooltip: tooltip,\n      });\n    },\n\n    _find: function (target) {\n      var id = target.data(\"ui-tooltip-id\");\n      return id ? this.tooltips[id] : null;\n    },\n\n    _removeTooltip: function (tooltip) {\n      // Clear the interval for delayed tracking tooltips\n      clearInterval(this.delayedShow);\n\n      tooltip.remove();\n      delete this.tooltips[tooltip.attr(\"id\")];\n    },\n\n    _appendTo: function (target) {\n      var element = target.closest(\".ui-front, dialog\");\n\n      if (!element.length) {\n        element = this.document[0].body;\n      }\n\n      return element;\n    },\n\n    _destroy: function () {\n      var that = this;\n\n      // Close open tooltips\n      $.each(this.tooltips, function (id, tooltipData) {\n        // Delegate to close method to handle common cleanup\n        var event = $.Event(\"blur\"),\n          element = tooltipData.element;\n        event.target = event.currentTarget = element[0];\n        that.close(event, true);\n\n        // Remove immediately; destroying an open tooltip doesn't use the\n        // hide animation\n        $(\"#\" + id).remove();\n\n        // Restore the title\n        if (element.data(\"ui-tooltip-title\")) {\n          // If the title attribute has changed since open(), don't restore\n          if (!element.attr(\"title\")) {\n            element.attr(\"title\", element.data(\"ui-tooltip-title\"));\n          }\n          element.removeData(\"ui-tooltip-title\");\n        }\n      });\n      this.liveRegion.remove();\n    },\n  });\n\n  // DEPRECATED\n  // TODO: Switch return back to widget declaration at top of file when this is removed\n  if ($.uiBackCompat !== false) {\n    // Backcompat for tooltipClass option\n    $.widget(\"ui.tooltip\", $.ui.tooltip, {\n      options: {\n        tooltipClass: null,\n      },\n      _tooltip: function () {\n        var tooltipData = this._superApply(arguments);\n        if (this.options.tooltipClass) {\n          tooltipData.tooltip.addClass(this.options.tooltipClass);\n        }\n        return tooltipData;\n      },\n    });\n  }\n\n  var widgetsTooltip = $.ui.tooltip;\n\n  // Create a local jQuery because jQuery Color relies on it and the\n  // global may not exist with AMD and a custom build (#10199).\n  // This module is a noop if used as a regular AMD module.\n  // eslint-disable-next-line no-unused-vars\n  var jQuery = $;\n\n  /*!\n   * jQuery Color Animations v2.2.0\n   * https://github.com/jquery/jquery-color\n   *\n   * Copyright OpenJS Foundation and other contributors\n   * Released under the MIT license.\n   * http://jquery.org/license\n   *\n   * Date: Sun May 10 09:02:36 2020 +0200\n   */\n\n  var stepHooks =\n      \"backgroundColor borderBottomColor borderLeftColor borderRightColor \" +\n      \"borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor\",\n    class2type = {},\n    toString = class2type.toString,\n    // plusequals test for += 100 -= 100\n    rplusequals = /^([\\-+])=\\s*(\\d+\\.?\\d*)/,\n    // a set of RE's that can match strings and generate color tuples.\n    stringParsers = [\n      {\n        re: /rgba?\\(\\s*(\\d{1,3})\\s*,\\s*(\\d{1,3})\\s*,\\s*(\\d{1,3})\\s*(?:,\\s*(\\d?(?:\\.\\d+)?)\\s*)?\\)/,\n        parse: function (execResult) {\n          return [execResult[1], execResult[2], execResult[3], execResult[4]];\n        },\n      },\n      {\n        re: /rgba?\\(\\s*(\\d+(?:\\.\\d+)?)\\%\\s*,\\s*(\\d+(?:\\.\\d+)?)\\%\\s*,\\s*(\\d+(?:\\.\\d+)?)\\%\\s*(?:,\\s*(\\d?(?:\\.\\d+)?)\\s*)?\\)/,\n        parse: function (execResult) {\n          return [\n            execResult[1] * 2.55,\n            execResult[2] * 2.55,\n            execResult[3] * 2.55,\n            execResult[4],\n          ];\n        },\n      },\n      {\n        // this regex ignores A-F because it's compared against an already lowercased string\n        re: /#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})?/,\n        parse: function (execResult) {\n          return [\n            parseInt(execResult[1], 16),\n            parseInt(execResult[2], 16),\n            parseInt(execResult[3], 16),\n            execResult[4] ? (parseInt(execResult[4], 16) / 255).toFixed(2) : 1,\n          ];\n        },\n      },\n      {\n        // this regex ignores A-F because it's compared against an already lowercased string\n        re: /#([a-f0-9])([a-f0-9])([a-f0-9])([a-f0-9])?/,\n        parse: function (execResult) {\n          return [\n            parseInt(execResult[1] + execResult[1], 16),\n            parseInt(execResult[2] + execResult[2], 16),\n            parseInt(execResult[3] + execResult[3], 16),\n            execResult[4]\n              ? (parseInt(execResult[4] + execResult[4], 16) / 255).toFixed(2)\n              : 1,\n          ];\n        },\n      },\n      {\n        re: /hsla?\\(\\s*(\\d+(?:\\.\\d+)?)\\s*,\\s*(\\d+(?:\\.\\d+)?)\\%\\s*,\\s*(\\d+(?:\\.\\d+)?)\\%\\s*(?:,\\s*(\\d?(?:\\.\\d+)?)\\s*)?\\)/,\n        space: \"hsla\",\n        parse: function (execResult) {\n          return [\n            execResult[1],\n            execResult[2] / 100,\n            execResult[3] / 100,\n            execResult[4],\n          ];\n        },\n      },\n    ],\n    // jQuery.Color( )\n    color = (jQuery.Color = function (color, green, blue, alpha) {\n      return new jQuery.Color.fn.parse(color, green, blue, alpha);\n    }),\n    spaces = {\n      rgba: {\n        props: {\n          red: {\n            idx: 0,\n            type: \"byte\",\n          },\n          green: {\n            idx: 1,\n            type: \"byte\",\n          },\n          blue: {\n            idx: 2,\n            type: \"byte\",\n          },\n        },\n      },\n\n      hsla: {\n        props: {\n          hue: {\n            idx: 0,\n            type: \"degrees\",\n          },\n          saturation: {\n            idx: 1,\n            type: \"percent\",\n          },\n          lightness: {\n            idx: 2,\n            type: \"percent\",\n          },\n        },\n      },\n    },\n    propTypes = {\n      byte: {\n        floor: true,\n        max: 255,\n      },\n      percent: {\n        max: 1,\n      },\n      degrees: {\n        mod: 360,\n        floor: true,\n      },\n    },\n    support = (color.support = {}),\n    // element for support tests\n    supportElem = jQuery(\"<p>\")[0],\n    // colors = jQuery.Color.names\n    colors,\n    // local aliases of functions called often\n    each = jQuery.each;\n\n  // determine rgba support immediately\n  supportElem.style.cssText = \"background-color:rgba(1,1,1,.5)\";\n  support.rgba = supportElem.style.backgroundColor.indexOf(\"rgba\") > -1;\n\n  // define cache name and alpha properties\n  // for rgba and hsla spaces\n  each(spaces, function (spaceName, space) {\n    space.cache = \"_\" + spaceName;\n    space.props.alpha = {\n      idx: 3,\n      type: \"percent\",\n      def: 1,\n    };\n  });\n\n  // Populate the class2type map\n  jQuery.each(\n    \"Boolean Number String Function Array Date RegExp Object Error Symbol\".split(\n      \" \",\n    ),\n    function (_i, name) {\n      class2type[\"[object \" + name + \"]\"] = name.toLowerCase();\n    },\n  );\n\n  function getType(obj) {\n    if (obj == null) {\n      return obj + \"\";\n    }\n\n    return typeof obj === \"object\"\n      ? class2type[toString.call(obj)] || \"object\"\n      : typeof obj;\n  }\n\n  function clamp(value, prop, allowEmpty) {\n    var type = propTypes[prop.type] || {};\n\n    if (value == null) {\n      return allowEmpty || !prop.def ? null : prop.def;\n    }\n\n    // ~~ is an short way of doing floor for positive numbers\n    value = type.floor ? ~~value : parseFloat(value);\n\n    // IE will pass in empty strings as value for alpha,\n    // which will hit this case\n    if (isNaN(value)) {\n      return prop.def;\n    }\n\n    if (type.mod) {\n      // we add mod before modding to make sure that negatives values\n      // get converted properly: -10 -> 350\n      return (value + type.mod) % type.mod;\n    }\n\n    // for now all property types without mod have min and max\n    return Math.min(type.max, Math.max(0, value));\n  }\n\n  function stringParse(string) {\n    var inst = color(),\n      rgba = (inst._rgba = []);\n\n    string = string.toLowerCase();\n\n    each(stringParsers, function (_i, parser) {\n      var parsed,\n        match = parser.re.exec(string),\n        values = match && parser.parse(match),\n        spaceName = parser.space || \"rgba\";\n\n      if (values) {\n        parsed = inst[spaceName](values);\n\n        // if this was an rgba parse the assignment might happen twice\n        // oh well....\n        inst[spaces[spaceName].cache] = parsed[spaces[spaceName].cache];\n        rgba = inst._rgba = parsed._rgba;\n\n        // exit each( stringParsers ) here because we matched\n        return false;\n      }\n    });\n\n    // Found a stringParser that handled it\n    if (rgba.length) {\n      // if this came from a parsed string, force \"transparent\" when alpha is 0\n      // chrome, (and maybe others) return \"transparent\" as rgba(0,0,0,0)\n      if (rgba.join() === \"0,0,0,0\") {\n        jQuery.extend(rgba, colors.transparent);\n      }\n      return inst;\n    }\n\n    // named colors\n    return colors[string];\n  }\n\n  color.fn = jQuery.extend(color.prototype, {\n    parse: function (red, green, blue, alpha) {\n      if (red === undefined) {\n        this._rgba = [null, null, null, null];\n        return this;\n      }\n      if (red.jquery || red.nodeType) {\n        red = jQuery(red).css(green);\n        green = undefined;\n      }\n\n      var inst = this,\n        type = getType(red),\n        rgba = (this._rgba = []);\n\n      // more than 1 argument specified - assume ( red, green, blue, alpha )\n      if (green !== undefined) {\n        red = [red, green, blue, alpha];\n        type = \"array\";\n      }\n\n      if (type === \"string\") {\n        return this.parse(stringParse(red) || colors._default);\n      }\n\n      if (type === \"array\") {\n        each(spaces.rgba.props, function (_key, prop) {\n          rgba[prop.idx] = clamp(red[prop.idx], prop);\n        });\n        return this;\n      }\n\n      if (type === \"object\") {\n        if (red instanceof color) {\n          each(spaces, function (_spaceName, space) {\n            if (red[space.cache]) {\n              inst[space.cache] = red[space.cache].slice();\n            }\n          });\n        } else {\n          each(spaces, function (_spaceName, space) {\n            var cache = space.cache;\n            each(space.props, function (key, prop) {\n              // if the cache doesn't exist, and we know how to convert\n              if (!inst[cache] && space.to) {\n                // if the value was null, we don't need to copy it\n                // if the key was alpha, we don't need to copy it either\n                if (key === \"alpha\" || red[key] == null) {\n                  return;\n                }\n                inst[cache] = space.to(inst._rgba);\n              }\n\n              // this is the only case where we allow nulls for ALL properties.\n              // call clamp with alwaysAllowEmpty\n              inst[cache][prop.idx] = clamp(red[key], prop, true);\n            });\n\n            // everything defined but alpha?\n            if (\n              inst[cache] &&\n              jQuery.inArray(null, inst[cache].slice(0, 3)) < 0\n            ) {\n              // use the default of 1\n              if (inst[cache][3] == null) {\n                inst[cache][3] = 1;\n              }\n\n              if (space.from) {\n                inst._rgba = space.from(inst[cache]);\n              }\n            }\n          });\n        }\n        return this;\n      }\n    },\n    is: function (compare) {\n      var is = color(compare),\n        same = true,\n        inst = this;\n\n      each(spaces, function (_, space) {\n        var localCache,\n          isCache = is[space.cache];\n        if (isCache) {\n          localCache =\n            inst[space.cache] || (space.to && space.to(inst._rgba)) || [];\n          each(space.props, function (_, prop) {\n            if (isCache[prop.idx] != null) {\n              same = isCache[prop.idx] === localCache[prop.idx];\n              return same;\n            }\n          });\n        }\n        return same;\n      });\n      return same;\n    },\n    _space: function () {\n      var used = [],\n        inst = this;\n      each(spaces, function (spaceName, space) {\n        if (inst[space.cache]) {\n          used.push(spaceName);\n        }\n      });\n      return used.pop();\n    },\n    transition: function (other, distance) {\n      var end = color(other),\n        spaceName = end._space(),\n        space = spaces[spaceName],\n        startColor = this.alpha() === 0 ? color(\"transparent\") : this,\n        start = startColor[space.cache] || space.to(startColor._rgba),\n        result = start.slice();\n\n      end = end[space.cache];\n      each(space.props, function (_key, prop) {\n        var index = prop.idx,\n          startValue = start[index],\n          endValue = end[index],\n          type = propTypes[prop.type] || {};\n\n        // if null, don't override start value\n        if (endValue === null) {\n          return;\n        }\n\n        // if null - use end\n        if (startValue === null) {\n          result[index] = endValue;\n        } else {\n          if (type.mod) {\n            if (endValue - startValue > type.mod / 2) {\n              startValue += type.mod;\n            } else if (startValue - endValue > type.mod / 2) {\n              startValue -= type.mod;\n            }\n          }\n          result[index] = clamp(\n            (endValue - startValue) * distance + startValue,\n            prop,\n          );\n        }\n      });\n      return this[spaceName](result);\n    },\n    blend: function (opaque) {\n      // if we are already opaque - return ourself\n      if (this._rgba[3] === 1) {\n        return this;\n      }\n\n      var rgb = this._rgba.slice(),\n        a = rgb.pop(),\n        blend = color(opaque)._rgba;\n\n      return color(\n        jQuery.map(rgb, function (v, i) {\n          return (1 - a) * blend[i] + a * v;\n        }),\n      );\n    },\n    toRgbaString: function () {\n      var prefix = \"rgba(\",\n        rgba = jQuery.map(this._rgba, function (v, i) {\n          if (v != null) {\n            return v;\n          }\n          return i > 2 ? 1 : 0;\n        });\n\n      if (rgba[3] === 1) {\n        rgba.pop();\n        prefix = \"rgb(\";\n      }\n\n      return prefix + rgba.join() + \")\";\n    },\n    toHslaString: function () {\n      var prefix = \"hsla(\",\n        hsla = jQuery.map(this.hsla(), function (v, i) {\n          if (v == null) {\n            v = i > 2 ? 1 : 0;\n          }\n\n          // catch 1 and 2\n          if (i && i < 3) {\n            v = Math.round(v * 100) + \"%\";\n          }\n          return v;\n        });\n\n      if (hsla[3] === 1) {\n        hsla.pop();\n        prefix = \"hsl(\";\n      }\n      return prefix + hsla.join() + \")\";\n    },\n    toHexString: function (includeAlpha) {\n      var rgba = this._rgba.slice(),\n        alpha = rgba.pop();\n\n      if (includeAlpha) {\n        rgba.push(~~(alpha * 255));\n      }\n\n      return (\n        \"#\" +\n        jQuery\n          .map(rgba, function (v) {\n            // default to 0 when nulls exist\n            v = (v || 0).toString(16);\n            return v.length === 1 ? \"0\" + v : v;\n          })\n          .join(\"\")\n      );\n    },\n    toString: function () {\n      return this._rgba[3] === 0 ? \"transparent\" : this.toRgbaString();\n    },\n  });\n  color.fn.parse.prototype = color.fn;\n\n  // hsla conversions adapted from:\n  // https://code.google.com/p/maashaack/source/browse/packages/graphics/trunk/src/graphics/colors/HUE2RGB.as?r=5021\n\n  function hue2rgb(p, q, h) {\n    h = (h + 1) % 1;\n    if (h * 6 < 1) {\n      return p + (q - p) * h * 6;\n    }\n    if (h * 2 < 1) {\n      return q;\n    }\n    if (h * 3 < 2) {\n      return p + (q - p) * (2 / 3 - h) * 6;\n    }\n    return p;\n  }\n\n  spaces.hsla.to = function (rgba) {\n    if (rgba[0] == null || rgba[1] == null || rgba[2] == null) {\n      return [null, null, null, rgba[3]];\n    }\n    var r = rgba[0] / 255,\n      g = rgba[1] / 255,\n      b = rgba[2] / 255,\n      a = rgba[3],\n      max = Math.max(r, g, b),\n      min = Math.min(r, g, b),\n      diff = max - min,\n      add = max + min,\n      l = add * 0.5,\n      h,\n      s;\n\n    if (min === max) {\n      h = 0;\n    } else if (r === max) {\n      h = (60 * (g - b)) / diff + 360;\n    } else if (g === max) {\n      h = (60 * (b - r)) / diff + 120;\n    } else {\n      h = (60 * (r - g)) / diff + 240;\n    }\n\n    // chroma (diff) == 0 means greyscale which, by definition, saturation = 0%\n    // otherwise, saturation is based on the ratio of chroma (diff) to lightness (add)\n    if (diff === 0) {\n      s = 0;\n    } else if (l <= 0.5) {\n      s = diff / add;\n    } else {\n      s = diff / (2 - add);\n    }\n    return [Math.round(h) % 360, s, l, a == null ? 1 : a];\n  };\n\n  spaces.hsla.from = function (hsla) {\n    if (hsla[0] == null || hsla[1] == null || hsla[2] == null) {\n      return [null, null, null, hsla[3]];\n    }\n    var h = hsla[0] / 360,\n      s = hsla[1],\n      l = hsla[2],\n      a = hsla[3],\n      q = l <= 0.5 ? l * (1 + s) : l + s - l * s,\n      p = 2 * l - q;\n\n    return [\n      Math.round(hue2rgb(p, q, h + 1 / 3) * 255),\n      Math.round(hue2rgb(p, q, h) * 255),\n      Math.round(hue2rgb(p, q, h - 1 / 3) * 255),\n      a,\n    ];\n  };\n\n  each(spaces, function (spaceName, space) {\n    var props = space.props,\n      cache = space.cache,\n      to = space.to,\n      from = space.from;\n\n    // makes rgba() and hsla()\n    color.fn[spaceName] = function (value) {\n      // generate a cache for this space if it doesn't exist\n      if (to && !this[cache]) {\n        this[cache] = to(this._rgba);\n      }\n      if (value === undefined) {\n        return this[cache].slice();\n      }\n\n      var ret,\n        type = getType(value),\n        arr = type === \"array\" || type === \"object\" ? value : arguments,\n        local = this[cache].slice();\n\n      each(props, function (key, prop) {\n        var val = arr[type === \"object\" ? key : prop.idx];\n        if (val == null) {\n          val = local[prop.idx];\n        }\n        local[prop.idx] = clamp(val, prop);\n      });\n\n      if (from) {\n        ret = color(from(local));\n        ret[cache] = local;\n        return ret;\n      } else {\n        return color(local);\n      }\n    };\n\n    // makes red() green() blue() alpha() hue() saturation() lightness()\n    each(props, function (key, prop) {\n      // alpha is included in more than one space\n      if (color.fn[key]) {\n        return;\n      }\n      color.fn[key] = function (value) {\n        var local,\n          cur,\n          match,\n          fn,\n          vtype = getType(value);\n\n        if (key === \"alpha\") {\n          fn = this._hsla ? \"hsla\" : \"rgba\";\n        } else {\n          fn = spaceName;\n        }\n        local = this[fn]();\n        cur = local[prop.idx];\n\n        if (vtype === \"undefined\") {\n          return cur;\n        }\n\n        if (vtype === \"function\") {\n          value = value.call(this, cur);\n          vtype = getType(value);\n        }\n        if (value == null && prop.empty) {\n          return this;\n        }\n        if (vtype === \"string\") {\n          match = rplusequals.exec(value);\n          if (match) {\n            value = cur + parseFloat(match[2]) * (match[1] === \"+\" ? 1 : -1);\n          }\n        }\n        local[prop.idx] = value;\n        return this[fn](local);\n      };\n    });\n  });\n\n  // add cssHook and .fx.step function for each named hook.\n  // accept a space separated string of properties\n  color.hook = function (hook) {\n    var hooks = hook.split(\" \");\n    each(hooks, function (_i, hook) {\n      jQuery.cssHooks[hook] = {\n        set: function (elem, value) {\n          var parsed,\n            curElem,\n            backgroundColor = \"\";\n\n          if (\n            value !== \"transparent\" &&\n            (getType(value) !== \"string\" || (parsed = stringParse(value)))\n          ) {\n            value = color(parsed || value);\n            if (!support.rgba && value._rgba[3] !== 1) {\n              curElem = hook === \"backgroundColor\" ? elem.parentNode : elem;\n              while (\n                (backgroundColor === \"\" || backgroundColor === \"transparent\") &&\n                curElem &&\n                curElem.style\n              ) {\n                try {\n                  backgroundColor = jQuery.css(curElem, \"backgroundColor\");\n                  curElem = curElem.parentNode;\n                } catch (e) {}\n              }\n\n              value = value.blend(\n                backgroundColor && backgroundColor !== \"transparent\"\n                  ? backgroundColor\n                  : \"_default\",\n              );\n            }\n\n            value = value.toRgbaString();\n          }\n          try {\n            elem.style[hook] = value;\n          } catch (e) {\n            // wrapped to prevent IE from throwing errors on \"invalid\" values like 'auto' or 'inherit'\n          }\n        },\n      };\n      jQuery.fx.step[hook] = function (fx) {\n        if (!fx.colorInit) {\n          fx.start = color(fx.elem, hook);\n          fx.end = color(fx.end);\n          fx.colorInit = true;\n        }\n        jQuery.cssHooks[hook].set(fx.elem, fx.start.transition(fx.end, fx.pos));\n      };\n    });\n  };\n\n  color.hook(stepHooks);\n\n  jQuery.cssHooks.borderColor = {\n    expand: function (value) {\n      var expanded = {};\n\n      each([\"Top\", \"Right\", \"Bottom\", \"Left\"], function (_i, part) {\n        expanded[\"border\" + part + \"Color\"] = value;\n      });\n      return expanded;\n    },\n  };\n\n  // Basic color names only.\n  // Usage of any of the other color names requires adding yourself or including\n  // jquery.color.svg-names.js.\n  colors = jQuery.Color.names = {\n    // 4.1. Basic color keywords\n    aqua: \"#00ffff\",\n    black: \"#000000\",\n    blue: \"#0000ff\",\n    fuchsia: \"#ff00ff\",\n    gray: \"#808080\",\n    green: \"#008000\",\n    lime: \"#00ff00\",\n    maroon: \"#800000\",\n    navy: \"#000080\",\n    olive: \"#808000\",\n    purple: \"#800080\",\n    red: \"#ff0000\",\n    silver: \"#c0c0c0\",\n    teal: \"#008080\",\n    white: \"#ffffff\",\n    yellow: \"#ffff00\",\n\n    // 4.2.3. \"transparent\" color keyword\n    transparent: [null, null, null, 0],\n\n    _default: \"#ffffff\",\n  };\n\n  /*!\n   * jQuery UI Effects 1.13.2\n   * http://jqueryui.com\n   *\n   * Copyright jQuery Foundation and other contributors\n   * Released under the MIT license.\n   * http://jquery.org/license\n   */\n\n  //>>label: Effects Core\n  //>>group: Effects\n  /* eslint-disable max-len */\n  //>>description: Extends the internal jQuery effects. Includes morphing and easing. Required by all other effects.\n  /* eslint-enable max-len */\n  //>>docs: http://api.jqueryui.com/category/effects-core/\n  //>>demos: http://jqueryui.com/effect/\n\n  var dataSpace = \"ui-effects-\",\n    dataSpaceStyle = \"ui-effects-style\",\n    dataSpaceAnimated = \"ui-effects-animated\";\n\n  $.effects = {\n    effect: {},\n  };\n\n  /******************************************************************************/\n  /****************************** CLASS ANIMATIONS ******************************/\n  /******************************************************************************/\n  (function () {\n    var classAnimationActions = [\"add\", \"remove\", \"toggle\"],\n      shorthandStyles = {\n        border: 1,\n        borderBottom: 1,\n        borderColor: 1,\n        borderLeft: 1,\n        borderRight: 1,\n        borderTop: 1,\n        borderWidth: 1,\n        margin: 1,\n        padding: 1,\n      };\n\n    $.each(\n      [\n        \"borderLeftStyle\",\n        \"borderRightStyle\",\n        \"borderBottomStyle\",\n        \"borderTopStyle\",\n      ],\n      function (_, prop) {\n        $.fx.step[prop] = function (fx) {\n          if (\n            (fx.end !== \"none\" && !fx.setAttr) ||\n            (fx.pos === 1 && !fx.setAttr)\n          ) {\n            jQuery.style(fx.elem, prop, fx.end);\n            fx.setAttr = true;\n          }\n        };\n      },\n    );\n\n    function camelCase(string) {\n      return string.replace(/-([\\da-z])/gi, function (all, letter) {\n        return letter.toUpperCase();\n      });\n    }\n\n    function getElementStyles(elem) {\n      var key,\n        len,\n        style = elem.ownerDocument.defaultView\n          ? elem.ownerDocument.defaultView.getComputedStyle(elem, null)\n          : elem.currentStyle,\n        styles = {};\n\n      if (style && style.length && style[0] && style[style[0]]) {\n        len = style.length;\n        while (len--) {\n          key = style[len];\n          if (typeof style[key] === \"string\") {\n            styles[camelCase(key)] = style[key];\n          }\n        }\n\n        // Support: Opera, IE <9\n      } else {\n        for (key in style) {\n          if (typeof style[key] === \"string\") {\n            styles[key] = style[key];\n          }\n        }\n      }\n\n      return styles;\n    }\n\n    function styleDifference(oldStyle, newStyle) {\n      var diff = {},\n        name,\n        value;\n\n      for (name in newStyle) {\n        value = newStyle[name];\n        if (oldStyle[name] !== value) {\n          if (!shorthandStyles[name]) {\n            if ($.fx.step[name] || !isNaN(parseFloat(value))) {\n              diff[name] = value;\n            }\n          }\n        }\n      }\n\n      return diff;\n    }\n\n    // Support: jQuery <1.8\n    if (!$.fn.addBack) {\n      $.fn.addBack = function (selector) {\n        return this.add(\n          selector == null ? this.prevObject : this.prevObject.filter(selector),\n        );\n      };\n    }\n\n    $.effects.animateClass = function (value, duration, easing, callback) {\n      var o = $.speed(duration, easing, callback);\n\n      return this.queue(function () {\n        var animated = $(this),\n          baseClass = animated.attr(\"class\") || \"\",\n          applyClassChange,\n          allAnimations = o.children ? animated.find(\"*\").addBack() : animated;\n\n        // Map the animated objects to store the original styles.\n        allAnimations = allAnimations.map(function () {\n          var el = $(this);\n          return {\n            el: el,\n            start: getElementStyles(this),\n          };\n        });\n\n        // Apply class change\n        applyClassChange = function () {\n          $.each(classAnimationActions, function (i, action) {\n            if (value[action]) {\n              animated[action + \"Class\"](value[action]);\n            }\n          });\n        };\n        applyClassChange();\n\n        // Map all animated objects again - calculate new styles and diff\n        allAnimations = allAnimations.map(function () {\n          this.end = getElementStyles(this.el[0]);\n          this.diff = styleDifference(this.start, this.end);\n          return this;\n        });\n\n        // Apply original class\n        animated.attr(\"class\", baseClass);\n\n        // Map all animated objects again - this time collecting a promise\n        allAnimations = allAnimations.map(function () {\n          var styleInfo = this,\n            dfd = $.Deferred(),\n            opts = $.extend({}, o, {\n              queue: false,\n              complete: function () {\n                dfd.resolve(styleInfo);\n              },\n            });\n\n          this.el.animate(this.diff, opts);\n          return dfd.promise();\n        });\n\n        // Once all animations have completed:\n        $.when.apply($, allAnimations.get()).done(function () {\n          // Set the final class\n          applyClassChange();\n\n          // For each animated element,\n          // clear all css properties that were animated\n          $.each(arguments, function () {\n            var el = this.el;\n            $.each(this.diff, function (key) {\n              el.css(key, \"\");\n            });\n          });\n\n          // This is guarnteed to be there if you use jQuery.speed()\n          // it also handles dequeuing the next anim...\n          o.complete.call(animated[0]);\n        });\n      });\n    };\n\n    $.fn.extend({\n      addClass: (function (orig) {\n        return function (classNames, speed, easing, callback) {\n          return speed\n            ? $.effects.animateClass.call(\n                this,\n                { add: classNames },\n                speed,\n                easing,\n                callback,\n              )\n            : orig.apply(this, arguments);\n        };\n      })($.fn.addClass),\n\n      removeClass: (function (orig) {\n        return function (classNames, speed, easing, callback) {\n          return arguments.length > 1\n            ? $.effects.animateClass.call(\n                this,\n                { remove: classNames },\n                speed,\n                easing,\n                callback,\n              )\n            : orig.apply(this, arguments);\n        };\n      })($.fn.removeClass),\n\n      toggleClass: (function (orig) {\n        return function (classNames, force, speed, easing, callback) {\n          if (typeof force === \"boolean\" || force === undefined) {\n            if (!speed) {\n              // Without speed parameter\n              return orig.apply(this, arguments);\n            } else {\n              return $.effects.animateClass.call(\n                this,\n                force ? { add: classNames } : { remove: classNames },\n                speed,\n                easing,\n                callback,\n              );\n            }\n          } else {\n            // Without force parameter\n            return $.effects.animateClass.call(\n              this,\n              { toggle: classNames },\n              force,\n              speed,\n              easing,\n            );\n          }\n        };\n      })($.fn.toggleClass),\n\n      switchClass: function (remove, add, speed, easing, callback) {\n        return $.effects.animateClass.call(\n          this,\n          {\n            add: add,\n            remove: remove,\n          },\n          speed,\n          easing,\n          callback,\n        );\n      },\n    });\n  })();\n\n  /******************************************************************************/\n  /*********************************** EFFECTS **********************************/\n  /******************************************************************************/\n\n  (function () {\n    if ($.expr && $.expr.pseudos && $.expr.pseudos.animated) {\n      $.expr.pseudos.animated = (function (orig) {\n        return function (elem) {\n          return !!$(elem).data(dataSpaceAnimated) || orig(elem);\n        };\n      })($.expr.pseudos.animated);\n    }\n\n    if ($.uiBackCompat !== false) {\n      $.extend($.effects, {\n        // Saves a set of properties in a data storage\n        save: function (element, set) {\n          var i = 0,\n            length = set.length;\n          for (; i < length; i++) {\n            if (set[i] !== null) {\n              element.data(dataSpace + set[i], element[0].style[set[i]]);\n            }\n          }\n        },\n\n        // Restores a set of previously saved properties from a data storage\n        restore: function (element, set) {\n          var val,\n            i = 0,\n            length = set.length;\n          for (; i < length; i++) {\n            if (set[i] !== null) {\n              val = element.data(dataSpace + set[i]);\n              element.css(set[i], val);\n            }\n          }\n        },\n\n        setMode: function (el, mode) {\n          if (mode === \"toggle\") {\n            mode = el.is(\":hidden\") ? \"show\" : \"hide\";\n          }\n          return mode;\n        },\n\n        // Wraps the element around a wrapper that copies position properties\n        createWrapper: function (element) {\n          // If the element is already wrapped, return it\n          if (element.parent().is(\".ui-effects-wrapper\")) {\n            return element.parent();\n          }\n\n          // Wrap the element\n          var props = {\n              width: element.outerWidth(true),\n              height: element.outerHeight(true),\n              float: element.css(\"float\"),\n            },\n            wrapper = $(\"<div></div>\").addClass(\"ui-effects-wrapper\").css({\n              fontSize: \"100%\",\n              background: \"transparent\",\n              border: \"none\",\n              margin: 0,\n              padding: 0,\n            }),\n            // Store the size in case width/height are defined in % - Fixes #5245\n            size = {\n              width: element.width(),\n              height: element.height(),\n            },\n            active = document.activeElement;\n\n          // Support: Firefox\n          // Firefox incorrectly exposes anonymous content\n          // https://bugzilla.mozilla.org/show_bug.cgi?id=561664\n          try {\n            // eslint-disable-next-line no-unused-expressions\n            active.id;\n          } catch (e) {\n            active = document.body;\n          }\n\n          element.wrap(wrapper);\n\n          // Fixes #7595 - Elements lose focus when wrapped.\n          if (element[0] === active || $.contains(element[0], active)) {\n            $(active).trigger(\"focus\");\n          }\n\n          // Hotfix for jQuery 1.4 since some change in wrap() seems to actually\n          // lose the reference to the wrapped element\n          wrapper = element.parent();\n\n          // Transfer positioning properties to the wrapper\n          if (element.css(\"position\") === \"static\") {\n            wrapper.css({ position: \"relative\" });\n            element.css({ position: \"relative\" });\n          } else {\n            $.extend(props, {\n              position: element.css(\"position\"),\n              zIndex: element.css(\"z-index\"),\n            });\n            $.each([\"top\", \"left\", \"bottom\", \"right\"], function (i, pos) {\n              props[pos] = element.css(pos);\n              if (isNaN(parseInt(props[pos], 10))) {\n                props[pos] = \"auto\";\n              }\n            });\n            element.css({\n              position: \"relative\",\n              top: 0,\n              left: 0,\n              right: \"auto\",\n              bottom: \"auto\",\n            });\n          }\n          element.css(size);\n\n          return wrapper.css(props).show();\n        },\n\n        removeWrapper: function (element) {\n          var active = document.activeElement;\n\n          if (element.parent().is(\".ui-effects-wrapper\")) {\n            element.parent().replaceWith(element);\n\n            // Fixes #7595 - Elements lose focus when wrapped.\n            if (element[0] === active || $.contains(element[0], active)) {\n              $(active).trigger(\"focus\");\n            }\n          }\n\n          return element;\n        },\n      });\n    }\n\n    $.extend($.effects, {\n      version: \"1.13.2\",\n\n      define: function (name, mode, effect) {\n        if (!effect) {\n          effect = mode;\n          mode = \"effect\";\n        }\n\n        $.effects.effect[name] = effect;\n        $.effects.effect[name].mode = mode;\n\n        return effect;\n      },\n\n      scaledDimensions: function (element, percent, direction) {\n        if (percent === 0) {\n          return {\n            height: 0,\n            width: 0,\n            outerHeight: 0,\n            outerWidth: 0,\n          };\n        }\n\n        var x = direction !== \"horizontal\" ? (percent || 100) / 100 : 1,\n          y = direction !== \"vertical\" ? (percent || 100) / 100 : 1;\n\n        return {\n          height: element.height() * y,\n          width: element.width() * x,\n          outerHeight: element.outerHeight() * y,\n          outerWidth: element.outerWidth() * x,\n        };\n      },\n\n      clipToBox: function (animation) {\n        return {\n          width: animation.clip.right - animation.clip.left,\n          height: animation.clip.bottom - animation.clip.top,\n          left: animation.clip.left,\n          top: animation.clip.top,\n        };\n      },\n\n      // Injects recently queued functions to be first in line (after \"inprogress\")\n      unshift: function (element, queueLength, count) {\n        var queue = element.queue();\n\n        if (queueLength > 1) {\n          queue.splice.apply(\n            queue,\n            [1, 0].concat(queue.splice(queueLength, count)),\n          );\n        }\n        element.dequeue();\n      },\n\n      saveStyle: function (element) {\n        element.data(dataSpaceStyle, element[0].style.cssText);\n      },\n\n      restoreStyle: function (element) {\n        element[0].style.cssText = element.data(dataSpaceStyle) || \"\";\n        element.removeData(dataSpaceStyle);\n      },\n\n      mode: function (element, mode) {\n        var hidden = element.is(\":hidden\");\n\n        if (mode === \"toggle\") {\n          mode = hidden ? \"show\" : \"hide\";\n        }\n        if (hidden ? mode === \"hide\" : mode === \"show\") {\n          mode = \"none\";\n        }\n        return mode;\n      },\n\n      // Translates a [top,left] array into a baseline value\n      getBaseline: function (origin, original) {\n        var y, x;\n\n        switch (origin[0]) {\n          case \"top\":\n            y = 0;\n            break;\n          case \"middle\":\n            y = 0.5;\n            break;\n          case \"bottom\":\n            y = 1;\n            break;\n          default:\n            y = origin[0] / original.height;\n        }\n\n        switch (origin[1]) {\n          case \"left\":\n            x = 0;\n            break;\n          case \"center\":\n            x = 0.5;\n            break;\n          case \"right\":\n            x = 1;\n            break;\n          default:\n            x = origin[1] / original.width;\n        }\n\n        return {\n          x: x,\n          y: y,\n        };\n      },\n\n      // Creates a placeholder element so that the original element can be made absolute\n      createPlaceholder: function (element) {\n        var placeholder,\n          cssPosition = element.css(\"position\"),\n          position = element.position();\n\n        // Lock in margins first to account for form elements, which\n        // will change margin if you explicitly set height\n        // see: http://jsfiddle.net/JZSMt/3/ https://bugs.webkit.org/show_bug.cgi?id=107380\n        // Support: Safari\n        element\n          .css({\n            marginTop: element.css(\"marginTop\"),\n            marginBottom: element.css(\"marginBottom\"),\n            marginLeft: element.css(\"marginLeft\"),\n            marginRight: element.css(\"marginRight\"),\n          })\n          .outerWidth(element.outerWidth())\n          .outerHeight(element.outerHeight());\n\n        if (/^(static|relative)/.test(cssPosition)) {\n          cssPosition = \"absolute\";\n\n          placeholder = $(\"<\" + element[0].nodeName + \">\")\n            .insertAfter(element)\n            .css({\n              // Convert inline to inline block to account for inline elements\n              // that turn to inline block based on content (like img)\n              display: /^(inline|ruby)/.test(element.css(\"display\"))\n                ? \"inline-block\"\n                : \"block\",\n              visibility: \"hidden\",\n\n              // Margins need to be set to account for margin collapse\n              marginTop: element.css(\"marginTop\"),\n              marginBottom: element.css(\"marginBottom\"),\n              marginLeft: element.css(\"marginLeft\"),\n              marginRight: element.css(\"marginRight\"),\n              float: element.css(\"float\"),\n            })\n            .outerWidth(element.outerWidth())\n            .outerHeight(element.outerHeight())\n            .addClass(\"ui-effects-placeholder\");\n\n          element.data(dataSpace + \"placeholder\", placeholder);\n        }\n\n        element.css({\n          position: cssPosition,\n          left: position.left,\n          top: position.top,\n        });\n\n        return placeholder;\n      },\n\n      removePlaceholder: function (element) {\n        var dataKey = dataSpace + \"placeholder\",\n          placeholder = element.data(dataKey);\n\n        if (placeholder) {\n          placeholder.remove();\n          element.removeData(dataKey);\n        }\n      },\n\n      // Removes a placeholder if it exists and restores\n      // properties that were modified during placeholder creation\n      cleanUp: function (element) {\n        $.effects.restoreStyle(element);\n        $.effects.removePlaceholder(element);\n      },\n\n      setTransition: function (element, list, factor, value) {\n        value = value || {};\n        $.each(list, function (i, x) {\n          var unit = element.cssUnit(x);\n          if (unit[0] > 0) {\n            value[x] = unit[0] * factor + unit[1];\n          }\n        });\n        return value;\n      },\n    });\n\n    // Return an effect options object for the given parameters:\n    function _normalizeArguments(effect, options, speed, callback) {\n      // Allow passing all options as the first parameter\n      if ($.isPlainObject(effect)) {\n        options = effect;\n        effect = effect.effect;\n      }\n\n      // Convert to an object\n      effect = { effect: effect };\n\n      // Catch (effect, null, ...)\n      if (options == null) {\n        options = {};\n      }\n\n      // Catch (effect, callback)\n      if (typeof options === \"function\") {\n        callback = options;\n        speed = null;\n        options = {};\n      }\n\n      // Catch (effect, speed, ?)\n      if (typeof options === \"number\" || $.fx.speeds[options]) {\n        callback = speed;\n        speed = options;\n        options = {};\n      }\n\n      // Catch (effect, options, callback)\n      if (typeof speed === \"function\") {\n        callback = speed;\n        speed = null;\n      }\n\n      // Add options to effect\n      if (options) {\n        $.extend(effect, options);\n      }\n\n      speed = speed || options.duration;\n      effect.duration = $.fx.off\n        ? 0\n        : typeof speed === \"number\"\n        ? speed\n        : speed in $.fx.speeds\n        ? $.fx.speeds[speed]\n        : $.fx.speeds._default;\n\n      effect.complete = callback || options.complete;\n\n      return effect;\n    }\n\n    function standardAnimationOption(option) {\n      // Valid standard speeds (nothing, number, named speed)\n      if (!option || typeof option === \"number\" || $.fx.speeds[option]) {\n        return true;\n      }\n\n      // Invalid strings - treat as \"normal\" speed\n      if (typeof option === \"string\" && !$.effects.effect[option]) {\n        return true;\n      }\n\n      // Complete callback\n      if (typeof option === \"function\") {\n        return true;\n      }\n\n      // Options hash (but not naming an effect)\n      if (typeof option === \"object\" && !option.effect) {\n        return true;\n      }\n\n      // Didn't match any standard API\n      return false;\n    }\n\n    $.fn.extend({\n      effect: function (/* effect, options, speed, callback */) {\n        var args = _normalizeArguments.apply(this, arguments),\n          effectMethod = $.effects.effect[args.effect],\n          defaultMode = effectMethod.mode,\n          queue = args.queue,\n          queueName = queue || \"fx\",\n          complete = args.complete,\n          mode = args.mode,\n          modes = [],\n          prefilter = function (next) {\n            var el = $(this),\n              normalizedMode = $.effects.mode(el, mode) || defaultMode;\n\n            // Sentinel for duck-punching the :animated pseudo-selector\n            el.data(dataSpaceAnimated, true);\n\n            // Save effect mode for later use,\n            // we can't just call $.effects.mode again later,\n            // as the .show() below destroys the initial state\n            modes.push(normalizedMode);\n\n            // See $.uiBackCompat inside of run() for removal of defaultMode in 1.14\n            if (\n              defaultMode &&\n              (normalizedMode === \"show\" ||\n                (normalizedMode === defaultMode && normalizedMode === \"hide\"))\n            ) {\n              el.show();\n            }\n\n            if (!defaultMode || normalizedMode !== \"none\") {\n              $.effects.saveStyle(el);\n            }\n\n            if (typeof next === \"function\") {\n              next();\n            }\n          };\n\n        if ($.fx.off || !effectMethod) {\n          // Delegate to the original method (e.g., .show()) if possible\n          if (mode) {\n            return this[mode](args.duration, complete);\n          } else {\n            return this.each(function () {\n              if (complete) {\n                complete.call(this);\n              }\n            });\n          }\n        }\n\n        function run(next) {\n          var elem = $(this);\n\n          function cleanup() {\n            elem.removeData(dataSpaceAnimated);\n\n            $.effects.cleanUp(elem);\n\n            if (args.mode === \"hide\") {\n              elem.hide();\n            }\n\n            done();\n          }\n\n          function done() {\n            if (typeof complete === \"function\") {\n              complete.call(elem[0]);\n            }\n\n            if (typeof next === \"function\") {\n              next();\n            }\n          }\n\n          // Override mode option on a per element basis,\n          // as toggle can be either show or hide depending on element state\n          args.mode = modes.shift();\n\n          if ($.uiBackCompat !== false && !defaultMode) {\n            if (elem.is(\":hidden\") ? mode === \"hide\" : mode === \"show\") {\n              // Call the core method to track \"olddisplay\" properly\n              elem[mode]();\n              done();\n            } else {\n              effectMethod.call(elem[0], args, done);\n            }\n          } else {\n            if (args.mode === \"none\") {\n              // Call the core method to track \"olddisplay\" properly\n              elem[mode]();\n              done();\n            } else {\n              effectMethod.call(elem[0], args, cleanup);\n            }\n          }\n        }\n\n        // Run prefilter on all elements first to ensure that\n        // any showing or hiding happens before placeholder creation,\n        // which ensures that any layout changes are correctly captured.\n        return queue === false\n          ? this.each(prefilter).each(run)\n          : this.queue(queueName, prefilter).queue(queueName, run);\n      },\n\n      show: (function (orig) {\n        return function (option) {\n          if (standardAnimationOption(option)) {\n            return orig.apply(this, arguments);\n          } else {\n            var args = _normalizeArguments.apply(this, arguments);\n            args.mode = \"show\";\n            return this.effect.call(this, args);\n          }\n        };\n      })($.fn.show),\n\n      hide: (function (orig) {\n        return function (option) {\n          if (standardAnimationOption(option)) {\n            return orig.apply(this, arguments);\n          } else {\n            var args = _normalizeArguments.apply(this, arguments);\n            args.mode = \"hide\";\n            return this.effect.call(this, args);\n          }\n        };\n      })($.fn.hide),\n\n      toggle: (function (orig) {\n        return function (option) {\n          if (standardAnimationOption(option) || typeof option === \"boolean\") {\n            return orig.apply(this, arguments);\n          } else {\n            var args = _normalizeArguments.apply(this, arguments);\n            args.mode = \"toggle\";\n            return this.effect.call(this, args);\n          }\n        };\n      })($.fn.toggle),\n\n      cssUnit: function (key) {\n        var style = this.css(key),\n          val = [];\n\n        $.each([\"em\", \"px\", \"%\", \"pt\"], function (i, unit) {\n          if (style.indexOf(unit) > 0) {\n            val = [parseFloat(style), unit];\n          }\n        });\n        return val;\n      },\n\n      cssClip: function (clipObj) {\n        if (clipObj) {\n          return this.css(\n            \"clip\",\n            \"rect(\" +\n              clipObj.top +\n              \"px \" +\n              clipObj.right +\n              \"px \" +\n              clipObj.bottom +\n              \"px \" +\n              clipObj.left +\n              \"px)\",\n          );\n        }\n        return parseClip(this.css(\"clip\"), this);\n      },\n\n      transfer: function (options, done) {\n        var element = $(this),\n          target = $(options.to),\n          targetFixed = target.css(\"position\") === \"fixed\",\n          body = $(\"body\"),\n          fixTop = targetFixed ? body.scrollTop() : 0,\n          fixLeft = targetFixed ? body.scrollLeft() : 0,\n          endPosition = target.offset(),\n          animation = {\n            top: endPosition.top - fixTop,\n            left: endPosition.left - fixLeft,\n            height: target.innerHeight(),\n            width: target.innerWidth(),\n          },\n          startPosition = element.offset(),\n          transfer = $(\"<div class='ui-effects-transfer'></div>\");\n\n        transfer\n          .appendTo(\"body\")\n          .addClass(options.className)\n          .css({\n            top: startPosition.top - fixTop,\n            left: startPosition.left - fixLeft,\n            height: element.innerHeight(),\n            width: element.innerWidth(),\n            position: targetFixed ? \"fixed\" : \"absolute\",\n          })\n          .animate(animation, options.duration, options.easing, function () {\n            transfer.remove();\n            if (typeof done === \"function\") {\n              done();\n            }\n          });\n      },\n    });\n\n    function parseClip(str, element) {\n      var outerWidth = element.outerWidth(),\n        outerHeight = element.outerHeight(),\n        clipRegex =\n          /^rect\\((-?\\d*\\.?\\d*px|-?\\d+%|auto),?\\s*(-?\\d*\\.?\\d*px|-?\\d+%|auto),?\\s*(-?\\d*\\.?\\d*px|-?\\d+%|auto),?\\s*(-?\\d*\\.?\\d*px|-?\\d+%|auto)\\)$/,\n        values = clipRegex.exec(str) || [\"\", 0, outerWidth, outerHeight, 0];\n\n      return {\n        top: parseFloat(values[1]) || 0,\n        right: values[2] === \"auto\" ? outerWidth : parseFloat(values[2]),\n        bottom: values[3] === \"auto\" ? outerHeight : parseFloat(values[3]),\n        left: parseFloat(values[4]) || 0,\n      };\n    }\n\n    $.fx.step.clip = function (fx) {\n      if (!fx.clipInit) {\n        fx.start = $(fx.elem).cssClip();\n        if (typeof fx.end === \"string\") {\n          fx.end = parseClip(fx.end, fx.elem);\n        }\n        fx.clipInit = true;\n      }\n\n      $(fx.elem).cssClip({\n        top: fx.pos * (fx.end.top - fx.start.top) + fx.start.top,\n        right: fx.pos * (fx.end.right - fx.start.right) + fx.start.right,\n        bottom: fx.pos * (fx.end.bottom - fx.start.bottom) + fx.start.bottom,\n        left: fx.pos * (fx.end.left - fx.start.left) + fx.start.left,\n      });\n    };\n  })();\n\n  /******************************************************************************/\n  /*********************************** EASING ***********************************/\n  /******************************************************************************/\n\n  (function () {\n    // Based on easing equations from Robert Penner (http://www.robertpenner.com/easing)\n\n    var baseEasings = {};\n\n    $.each([\"Quad\", \"Cubic\", \"Quart\", \"Quint\", \"Expo\"], function (i, name) {\n      baseEasings[name] = function (p) {\n        return Math.pow(p, i + 2);\n      };\n    });\n\n    $.extend(baseEasings, {\n      Sine: function (p) {\n        return 1 - Math.cos((p * Math.PI) / 2);\n      },\n      Circ: function (p) {\n        return 1 - Math.sqrt(1 - p * p);\n      },\n      Elastic: function (p) {\n        return p === 0 || p === 1\n          ? p\n          : -Math.pow(2, 8 * (p - 1)) *\n              Math.sin((((p - 1) * 80 - 7.5) * Math.PI) / 15);\n      },\n      Back: function (p) {\n        return p * p * (3 * p - 2);\n      },\n      Bounce: function (p) {\n        var pow2,\n          bounce = 4;\n\n        while (p < ((pow2 = Math.pow(2, --bounce)) - 1) / 11) {}\n        return (\n          1 / Math.pow(4, 3 - bounce) -\n          7.5625 * Math.pow((pow2 * 3 - 2) / 22 - p, 2)\n        );\n      },\n    });\n\n    $.each(baseEasings, function (name, easeIn) {\n      $.easing[\"easeIn\" + name] = easeIn;\n      $.easing[\"easeOut\" + name] = function (p) {\n        return 1 - easeIn(1 - p);\n      };\n      $.easing[\"easeInOut\" + name] = function (p) {\n        return p < 0.5 ? easeIn(p * 2) / 2 : 1 - easeIn(p * -2 + 2) / 2;\n      };\n    });\n  })();\n\n  var effect = $.effects;\n\n  /*!\n   * jQuery UI Effects Blind 1.13.2\n   * http://jqueryui.com\n   *\n   * Copyright jQuery Foundation and other contributors\n   * Released under the MIT license.\n   * http://jquery.org/license\n   */\n\n  //>>label: Blind Effect\n  //>>group: Effects\n  //>>description: Blinds the element.\n  //>>docs: http://api.jqueryui.com/blind-effect/\n  //>>demos: http://jqueryui.com/effect/\n\n  var effectsEffectBlind = $.effects.define(\n    \"blind\",\n    \"hide\",\n    function (options, done) {\n      var map = {\n          up: [\"bottom\", \"top\"],\n          vertical: [\"bottom\", \"top\"],\n          down: [\"top\", \"bottom\"],\n          left: [\"right\", \"left\"],\n          horizontal: [\"right\", \"left\"],\n          right: [\"left\", \"right\"],\n        },\n        element = $(this),\n        direction = options.direction || \"up\",\n        start = element.cssClip(),\n        animate = { clip: $.extend({}, start) },\n        placeholder = $.effects.createPlaceholder(element);\n\n      animate.clip[map[direction][0]] = animate.clip[map[direction][1]];\n\n      if (options.mode === \"show\") {\n        element.cssClip(animate.clip);\n        if (placeholder) {\n          placeholder.css($.effects.clipToBox(animate));\n        }\n\n        animate.clip = start;\n      }\n\n      if (placeholder) {\n        placeholder.animate(\n          $.effects.clipToBox(animate),\n          options.duration,\n          options.easing,\n        );\n      }\n\n      element.animate(animate, {\n        queue: false,\n        duration: options.duration,\n        easing: options.easing,\n        complete: done,\n      });\n    },\n  );\n\n  /*!\n   * jQuery UI Effects Bounce 1.13.2\n   * http://jqueryui.com\n   *\n   * Copyright jQuery Foundation and other contributors\n   * Released under the MIT license.\n   * http://jquery.org/license\n   */\n\n  //>>label: Bounce Effect\n  //>>group: Effects\n  //>>description: Bounces an element horizontally or vertically n times.\n  //>>docs: http://api.jqueryui.com/bounce-effect/\n  //>>demos: http://jqueryui.com/effect/\n\n  var effectsEffectBounce = $.effects.define(\n    \"bounce\",\n    function (options, done) {\n      var upAnim,\n        downAnim,\n        refValue,\n        element = $(this),\n        // Defaults:\n        mode = options.mode,\n        hide = mode === \"hide\",\n        show = mode === \"show\",\n        direction = options.direction || \"up\",\n        distance = options.distance,\n        times = options.times || 5,\n        // Number of internal animations\n        anims = times * 2 + (show || hide ? 1 : 0),\n        speed = options.duration / anims,\n        easing = options.easing,\n        // Utility:\n        ref = direction === \"up\" || direction === \"down\" ? \"top\" : \"left\",\n        motion = direction === \"up\" || direction === \"left\",\n        i = 0,\n        queuelen = element.queue().length;\n\n      $.effects.createPlaceholder(element);\n\n      refValue = element.css(ref);\n\n      // Default distance for the BIGGEST bounce is the outer Distance / 3\n      if (!distance) {\n        distance = element[ref === \"top\" ? \"outerHeight\" : \"outerWidth\"]() / 3;\n      }\n\n      if (show) {\n        downAnim = { opacity: 1 };\n        downAnim[ref] = refValue;\n\n        // If we are showing, force opacity 0 and set the initial position\n        // then do the \"first\" animation\n        element\n          .css(\"opacity\", 0)\n          .css(ref, motion ? -distance * 2 : distance * 2)\n          .animate(downAnim, speed, easing);\n      }\n\n      // Start at the smallest distance if we are hiding\n      if (hide) {\n        distance = distance / Math.pow(2, times - 1);\n      }\n\n      downAnim = {};\n      downAnim[ref] = refValue;\n\n      // Bounces up/down/left/right then back to 0 -- times * 2 animations happen here\n      for (; i < times; i++) {\n        upAnim = {};\n        upAnim[ref] = (motion ? \"-=\" : \"+=\") + distance;\n\n        element.animate(upAnim, speed, easing).animate(downAnim, speed, easing);\n\n        distance = hide ? distance * 2 : distance / 2;\n      }\n\n      // Last Bounce when Hiding\n      if (hide) {\n        upAnim = { opacity: 0 };\n        upAnim[ref] = (motion ? \"-=\" : \"+=\") + distance;\n\n        element.animate(upAnim, speed, easing);\n      }\n\n      element.queue(done);\n\n      $.effects.unshift(element, queuelen, anims + 1);\n    },\n  );\n\n  /*!\n   * jQuery UI Effects Clip 1.13.2\n   * http://jqueryui.com\n   *\n   * Copyright jQuery Foundation and other contributors\n   * Released under the MIT license.\n   * http://jquery.org/license\n   */\n\n  //>>label: Clip Effect\n  //>>group: Effects\n  //>>description: Clips the element on and off like an old TV.\n  //>>docs: http://api.jqueryui.com/clip-effect/\n  //>>demos: http://jqueryui.com/effect/\n\n  var effectsEffectClip = $.effects.define(\n    \"clip\",\n    \"hide\",\n    function (options, done) {\n      var start,\n        animate = {},\n        element = $(this),\n        direction = options.direction || \"vertical\",\n        both = direction === \"both\",\n        horizontal = both || direction === \"horizontal\",\n        vertical = both || direction === \"vertical\";\n\n      start = element.cssClip();\n      animate.clip = {\n        top: vertical ? (start.bottom - start.top) / 2 : start.top,\n        right: horizontal ? (start.right - start.left) / 2 : start.right,\n        bottom: vertical ? (start.bottom - start.top) / 2 : start.bottom,\n        left: horizontal ? (start.right - start.left) / 2 : start.left,\n      };\n\n      $.effects.createPlaceholder(element);\n\n      if (options.mode === \"show\") {\n        element.cssClip(animate.clip);\n        animate.clip = start;\n      }\n\n      element.animate(animate, {\n        queue: false,\n        duration: options.duration,\n        easing: options.easing,\n        complete: done,\n      });\n    },\n  );\n\n  /*!\n   * jQuery UI Effects Drop 1.13.2\n   * http://jqueryui.com\n   *\n   * Copyright jQuery Foundation and other contributors\n   * Released under the MIT license.\n   * http://jquery.org/license\n   */\n\n  //>>label: Drop Effect\n  //>>group: Effects\n  //>>description: Moves an element in one direction and hides it at the same time.\n  //>>docs: http://api.jqueryui.com/drop-effect/\n  //>>demos: http://jqueryui.com/effect/\n\n  var effectsEffectDrop = $.effects.define(\n    \"drop\",\n    \"hide\",\n    function (options, done) {\n      var distance,\n        element = $(this),\n        mode = options.mode,\n        show = mode === \"show\",\n        direction = options.direction || \"left\",\n        ref = direction === \"up\" || direction === \"down\" ? \"top\" : \"left\",\n        motion = direction === \"up\" || direction === \"left\" ? \"-=\" : \"+=\",\n        oppositeMotion = motion === \"+=\" ? \"-=\" : \"+=\",\n        animation = {\n          opacity: 0,\n        };\n\n      $.effects.createPlaceholder(element);\n\n      distance =\n        options.distance ||\n        element[ref === \"top\" ? \"outerHeight\" : \"outerWidth\"](true) / 2;\n\n      animation[ref] = motion + distance;\n\n      if (show) {\n        element.css(animation);\n\n        animation[ref] = oppositeMotion + distance;\n        animation.opacity = 1;\n      }\n\n      // Animate\n      element.animate(animation, {\n        queue: false,\n        duration: options.duration,\n        easing: options.easing,\n        complete: done,\n      });\n    },\n  );\n\n  /*!\n   * jQuery UI Effects Explode 1.13.2\n   * http://jqueryui.com\n   *\n   * Copyright jQuery Foundation and other contributors\n   * Released under the MIT license.\n   * http://jquery.org/license\n   */\n\n  //>>label: Explode Effect\n  //>>group: Effects\n  /* eslint-disable max-len */\n  //>>description: Explodes an element in all directions into n pieces. Implodes an element to its original wholeness.\n  /* eslint-enable max-len */\n  //>>docs: http://api.jqueryui.com/explode-effect/\n  //>>demos: http://jqueryui.com/effect/\n\n  var effectsEffectExplode = $.effects.define(\n    \"explode\",\n    \"hide\",\n    function (options, done) {\n      var i,\n        j,\n        left,\n        top,\n        mx,\n        my,\n        rows = options.pieces ? Math.round(Math.sqrt(options.pieces)) : 3,\n        cells = rows,\n        element = $(this),\n        mode = options.mode,\n        show = mode === \"show\",\n        // Show and then visibility:hidden the element before calculating offset\n        offset = element.show().css(\"visibility\", \"hidden\").offset(),\n        // Width and height of a piece\n        width = Math.ceil(element.outerWidth() / cells),\n        height = Math.ceil(element.outerHeight() / rows),\n        pieces = [];\n\n      // Children animate complete:\n      function childComplete() {\n        pieces.push(this);\n        if (pieces.length === rows * cells) {\n          animComplete();\n        }\n      }\n\n      // Clone the element for each row and cell.\n      for (i = 0; i < rows; i++) {\n        // ===>\n        top = offset.top + i * height;\n        my = i - (rows - 1) / 2;\n\n        for (j = 0; j < cells; j++) {\n          // |||\n          left = offset.left + j * width;\n          mx = j - (cells - 1) / 2;\n\n          // Create a clone of the now hidden main element that will be absolute positioned\n          // within a wrapper div off the -left and -top equal to size of our pieces\n          element\n            .clone()\n            .appendTo(\"body\")\n            .wrap(\"<div></div>\")\n            .css({\n              position: \"absolute\",\n              visibility: \"visible\",\n              left: -j * width,\n              top: -i * height,\n            })\n\n            // Select the wrapper - make it overflow: hidden and absolute positioned based on\n            // where the original was located +left and +top equal to the size of pieces\n            .parent()\n            .addClass(\"ui-effects-explode\")\n            .css({\n              position: \"absolute\",\n              overflow: \"hidden\",\n              width: width,\n              height: height,\n              left: left + (show ? mx * width : 0),\n              top: top + (show ? my * height : 0),\n              opacity: show ? 0 : 1,\n            })\n            .animate(\n              {\n                left: left + (show ? 0 : mx * width),\n                top: top + (show ? 0 : my * height),\n                opacity: show ? 1 : 0,\n              },\n              options.duration || 500,\n              options.easing,\n              childComplete,\n            );\n        }\n      }\n\n      function animComplete() {\n        element.css({\n          visibility: \"visible\",\n        });\n        $(pieces).remove();\n        done();\n      }\n    },\n  );\n\n  /*!\n   * jQuery UI Effects Fade 1.13.2\n   * http://jqueryui.com\n   *\n   * Copyright jQuery Foundation and other contributors\n   * Released under the MIT license.\n   * http://jquery.org/license\n   */\n\n  //>>label: Fade Effect\n  //>>group: Effects\n  //>>description: Fades the element.\n  //>>docs: http://api.jqueryui.com/fade-effect/\n  //>>demos: http://jqueryui.com/effect/\n\n  var effectsEffectFade = $.effects.define(\n    \"fade\",\n    \"toggle\",\n    function (options, done) {\n      var show = options.mode === \"show\";\n\n      $(this)\n        .css(\"opacity\", show ? 0 : 1)\n        .animate(\n          {\n            opacity: show ? 1 : 0,\n          },\n          {\n            queue: false,\n            duration: options.duration,\n            easing: options.easing,\n            complete: done,\n          },\n        );\n    },\n  );\n\n  /*!\n   * jQuery UI Effects Fold 1.13.2\n   * http://jqueryui.com\n   *\n   * Copyright jQuery Foundation and other contributors\n   * Released under the MIT license.\n   * http://jquery.org/license\n   */\n\n  //>>label: Fold Effect\n  //>>group: Effects\n  //>>description: Folds an element first horizontally and then vertically.\n  //>>docs: http://api.jqueryui.com/fold-effect/\n  //>>demos: http://jqueryui.com/effect/\n\n  var effectsEffectFold = $.effects.define(\n    \"fold\",\n    \"hide\",\n    function (options, done) {\n      // Create element\n      var element = $(this),\n        mode = options.mode,\n        show = mode === \"show\",\n        hide = mode === \"hide\",\n        size = options.size || 15,\n        percent = /([0-9]+)%/.exec(size),\n        horizFirst = !!options.horizFirst,\n        ref = horizFirst ? [\"right\", \"bottom\"] : [\"bottom\", \"right\"],\n        duration = options.duration / 2,\n        placeholder = $.effects.createPlaceholder(element),\n        start = element.cssClip(),\n        animation1 = { clip: $.extend({}, start) },\n        animation2 = { clip: $.extend({}, start) },\n        distance = [start[ref[0]], start[ref[1]]],\n        queuelen = element.queue().length;\n\n      if (percent) {\n        size = (parseInt(percent[1], 10) / 100) * distance[hide ? 0 : 1];\n      }\n      animation1.clip[ref[0]] = size;\n      animation2.clip[ref[0]] = size;\n      animation2.clip[ref[1]] = 0;\n\n      if (show) {\n        element.cssClip(animation2.clip);\n        if (placeholder) {\n          placeholder.css($.effects.clipToBox(animation2));\n        }\n\n        animation2.clip = start;\n      }\n\n      // Animate\n      element\n        .queue(function (next) {\n          if (placeholder) {\n            placeholder\n              .animate(\n                $.effects.clipToBox(animation1),\n                duration,\n                options.easing,\n              )\n              .animate(\n                $.effects.clipToBox(animation2),\n                duration,\n                options.easing,\n              );\n          }\n\n          next();\n        })\n        .animate(animation1, duration, options.easing)\n        .animate(animation2, duration, options.easing)\n        .queue(done);\n\n      $.effects.unshift(element, queuelen, 4);\n    },\n  );\n\n  /*!\n   * jQuery UI Effects Highlight 1.13.2\n   * http://jqueryui.com\n   *\n   * Copyright jQuery Foundation and other contributors\n   * Released under the MIT license.\n   * http://jquery.org/license\n   */\n\n  //>>label: Highlight Effect\n  //>>group: Effects\n  //>>description: Highlights the background of an element in a defined color for a custom duration.\n  //>>docs: http://api.jqueryui.com/highlight-effect/\n  //>>demos: http://jqueryui.com/effect/\n\n  var effectsEffectHighlight = $.effects.define(\n    \"highlight\",\n    \"show\",\n    function (options, done) {\n      var element = $(this),\n        animation = {\n          backgroundColor: element.css(\"backgroundColor\"),\n        };\n\n      if (options.mode === \"hide\") {\n        animation.opacity = 0;\n      }\n\n      $.effects.saveStyle(element);\n\n      element\n        .css({\n          backgroundImage: \"none\",\n          backgroundColor: options.color || \"#ffff99\",\n        })\n        .animate(animation, {\n          queue: false,\n          duration: options.duration,\n          easing: options.easing,\n          complete: done,\n        });\n    },\n  );\n\n  /*!\n   * jQuery UI Effects Size 1.13.2\n   * http://jqueryui.com\n   *\n   * Copyright jQuery Foundation and other contributors\n   * Released under the MIT license.\n   * http://jquery.org/license\n   */\n\n  //>>label: Size Effect\n  //>>group: Effects\n  //>>description: Resize an element to a specified width and height.\n  //>>docs: http://api.jqueryui.com/size-effect/\n  //>>demos: http://jqueryui.com/effect/\n\n  var effectsEffectSize = $.effects.define(\"size\", function (options, done) {\n    // Create element\n    var baseline,\n      factor,\n      temp,\n      element = $(this),\n      // Copy for children\n      cProps = [\"fontSize\"],\n      vProps = [\n        \"borderTopWidth\",\n        \"borderBottomWidth\",\n        \"paddingTop\",\n        \"paddingBottom\",\n      ],\n      hProps = [\n        \"borderLeftWidth\",\n        \"borderRightWidth\",\n        \"paddingLeft\",\n        \"paddingRight\",\n      ],\n      // Set options\n      mode = options.mode,\n      restore = mode !== \"effect\",\n      scale = options.scale || \"both\",\n      origin = options.origin || [\"middle\", \"center\"],\n      position = element.css(\"position\"),\n      pos = element.position(),\n      original = $.effects.scaledDimensions(element),\n      from = options.from || original,\n      to = options.to || $.effects.scaledDimensions(element, 0);\n\n    $.effects.createPlaceholder(element);\n\n    if (mode === \"show\") {\n      temp = from;\n      from = to;\n      to = temp;\n    }\n\n    // Set scaling factor\n    factor = {\n      from: {\n        y: from.height / original.height,\n        x: from.width / original.width,\n      },\n      to: {\n        y: to.height / original.height,\n        x: to.width / original.width,\n      },\n    };\n\n    // Scale the css box\n    if (scale === \"box\" || scale === \"both\") {\n      // Vertical props scaling\n      if (factor.from.y !== factor.to.y) {\n        from = $.effects.setTransition(element, vProps, factor.from.y, from);\n        to = $.effects.setTransition(element, vProps, factor.to.y, to);\n      }\n\n      // Horizontal props scaling\n      if (factor.from.x !== factor.to.x) {\n        from = $.effects.setTransition(element, hProps, factor.from.x, from);\n        to = $.effects.setTransition(element, hProps, factor.to.x, to);\n      }\n    }\n\n    // Scale the content\n    if (scale === \"content\" || scale === \"both\") {\n      // Vertical props scaling\n      if (factor.from.y !== factor.to.y) {\n        from = $.effects.setTransition(element, cProps, factor.from.y, from);\n        to = $.effects.setTransition(element, cProps, factor.to.y, to);\n      }\n    }\n\n    // Adjust the position properties based on the provided origin points\n    if (origin) {\n      baseline = $.effects.getBaseline(origin, original);\n      from.top =\n        (original.outerHeight - from.outerHeight) * baseline.y + pos.top;\n      from.left =\n        (original.outerWidth - from.outerWidth) * baseline.x + pos.left;\n      to.top = (original.outerHeight - to.outerHeight) * baseline.y + pos.top;\n      to.left = (original.outerWidth - to.outerWidth) * baseline.x + pos.left;\n    }\n    delete from.outerHeight;\n    delete from.outerWidth;\n    element.css(from);\n\n    // Animate the children if desired\n    if (scale === \"content\" || scale === \"both\") {\n      vProps = vProps.concat([\"marginTop\", \"marginBottom\"]).concat(cProps);\n      hProps = hProps.concat([\"marginLeft\", \"marginRight\"]);\n\n      // Only animate children with width attributes specified\n      // TODO: is this right? should we include anything with css width specified as well\n      element.find(\"*[width]\").each(function () {\n        var child = $(this),\n          childOriginal = $.effects.scaledDimensions(child),\n          childFrom = {\n            height: childOriginal.height * factor.from.y,\n            width: childOriginal.width * factor.from.x,\n            outerHeight: childOriginal.outerHeight * factor.from.y,\n            outerWidth: childOriginal.outerWidth * factor.from.x,\n          },\n          childTo = {\n            height: childOriginal.height * factor.to.y,\n            width: childOriginal.width * factor.to.x,\n            outerHeight: childOriginal.height * factor.to.y,\n            outerWidth: childOriginal.width * factor.to.x,\n          };\n\n        // Vertical props scaling\n        if (factor.from.y !== factor.to.y) {\n          childFrom = $.effects.setTransition(\n            child,\n            vProps,\n            factor.from.y,\n            childFrom,\n          );\n          childTo = $.effects.setTransition(\n            child,\n            vProps,\n            factor.to.y,\n            childTo,\n          );\n        }\n\n        // Horizontal props scaling\n        if (factor.from.x !== factor.to.x) {\n          childFrom = $.effects.setTransition(\n            child,\n            hProps,\n            factor.from.x,\n            childFrom,\n          );\n          childTo = $.effects.setTransition(\n            child,\n            hProps,\n            factor.to.x,\n            childTo,\n          );\n        }\n\n        if (restore) {\n          $.effects.saveStyle(child);\n        }\n\n        // Animate children\n        child.css(childFrom);\n        child.animate(childTo, options.duration, options.easing, function () {\n          // Restore children\n          if (restore) {\n            $.effects.restoreStyle(child);\n          }\n        });\n      });\n    }\n\n    // Animate\n    element.animate(to, {\n      queue: false,\n      duration: options.duration,\n      easing: options.easing,\n      complete: function () {\n        var offset = element.offset();\n\n        if (to.opacity === 0) {\n          element.css(\"opacity\", from.opacity);\n        }\n\n        if (!restore) {\n          element\n            .css(\"position\", position === \"static\" ? \"relative\" : position)\n            .offset(offset);\n\n          // Need to save style here so that automatic style restoration\n          // doesn't restore to the original styles from before the animation.\n          $.effects.saveStyle(element);\n        }\n\n        done();\n      },\n    });\n  });\n\n  /*!\n   * jQuery UI Effects Scale 1.13.2\n   * http://jqueryui.com\n   *\n   * Copyright jQuery Foundation and other contributors\n   * Released under the MIT license.\n   * http://jquery.org/license\n   */\n\n  //>>label: Scale Effect\n  //>>group: Effects\n  //>>description: Grows or shrinks an element and its content.\n  //>>docs: http://api.jqueryui.com/scale-effect/\n  //>>demos: http://jqueryui.com/effect/\n\n  var effectsEffectScale = $.effects.define(\"scale\", function (options, done) {\n    // Create element\n    var el = $(this),\n      mode = options.mode,\n      percent =\n        parseInt(options.percent, 10) ||\n        (parseInt(options.percent, 10) === 0 ? 0 : mode !== \"effect\" ? 0 : 100),\n      newOptions = $.extend(\n        true,\n        {\n          from: $.effects.scaledDimensions(el),\n          to: $.effects.scaledDimensions(\n            el,\n            percent,\n            options.direction || \"both\",\n          ),\n          origin: options.origin || [\"middle\", \"center\"],\n        },\n        options,\n      );\n\n    // Fade option to support puff\n    if (options.fade) {\n      newOptions.from.opacity = 1;\n      newOptions.to.opacity = 0;\n    }\n\n    $.effects.effect.size.call(this, newOptions, done);\n  });\n\n  /*!\n   * jQuery UI Effects Puff 1.13.2\n   * http://jqueryui.com\n   *\n   * Copyright jQuery Foundation and other contributors\n   * Released under the MIT license.\n   * http://jquery.org/license\n   */\n\n  //>>label: Puff Effect\n  //>>group: Effects\n  //>>description: Creates a puff effect by scaling the element up and hiding it at the same time.\n  //>>docs: http://api.jqueryui.com/puff-effect/\n  //>>demos: http://jqueryui.com/effect/\n\n  var effectsEffectPuff = $.effects.define(\n    \"puff\",\n    \"hide\",\n    function (options, done) {\n      var newOptions = $.extend(true, {}, options, {\n        fade: true,\n        percent: parseInt(options.percent, 10) || 150,\n      });\n\n      $.effects.effect.scale.call(this, newOptions, done);\n    },\n  );\n\n  /*!\n   * jQuery UI Effects Pulsate 1.13.2\n   * http://jqueryui.com\n   *\n   * Copyright jQuery Foundation and other contributors\n   * Released under the MIT license.\n   * http://jquery.org/license\n   */\n\n  //>>label: Pulsate Effect\n  //>>group: Effects\n  //>>description: Pulsates an element n times by changing the opacity to zero and back.\n  //>>docs: http://api.jqueryui.com/pulsate-effect/\n  //>>demos: http://jqueryui.com/effect/\n\n  var effectsEffectPulsate = $.effects.define(\n    \"pulsate\",\n    \"show\",\n    function (options, done) {\n      var element = $(this),\n        mode = options.mode,\n        show = mode === \"show\",\n        hide = mode === \"hide\",\n        showhide = show || hide,\n        // Showing or hiding leaves off the \"last\" animation\n        anims = (options.times || 5) * 2 + (showhide ? 1 : 0),\n        duration = options.duration / anims,\n        animateTo = 0,\n        i = 1,\n        queuelen = element.queue().length;\n\n      if (show || !element.is(\":visible\")) {\n        element.css(\"opacity\", 0).show();\n        animateTo = 1;\n      }\n\n      // Anims - 1 opacity \"toggles\"\n      for (; i < anims; i++) {\n        element.animate({ opacity: animateTo }, duration, options.easing);\n        animateTo = 1 - animateTo;\n      }\n\n      element.animate({ opacity: animateTo }, duration, options.easing);\n\n      element.queue(done);\n\n      $.effects.unshift(element, queuelen, anims + 1);\n    },\n  );\n\n  /*!\n   * jQuery UI Effects Shake 1.13.2\n   * http://jqueryui.com\n   *\n   * Copyright jQuery Foundation and other contributors\n   * Released under the MIT license.\n   * http://jquery.org/license\n   */\n\n  //>>label: Shake Effect\n  //>>group: Effects\n  //>>description: Shakes an element horizontally or vertically n times.\n  //>>docs: http://api.jqueryui.com/shake-effect/\n  //>>demos: http://jqueryui.com/effect/\n\n  var effectsEffectShake = $.effects.define(\"shake\", function (options, done) {\n    var i = 1,\n      element = $(this),\n      direction = options.direction || \"left\",\n      distance = options.distance || 20,\n      times = options.times || 3,\n      anims = times * 2 + 1,\n      speed = Math.round(options.duration / anims),\n      ref = direction === \"up\" || direction === \"down\" ? \"top\" : \"left\",\n      positiveMotion = direction === \"up\" || direction === \"left\",\n      animation = {},\n      animation1 = {},\n      animation2 = {},\n      queuelen = element.queue().length;\n\n    $.effects.createPlaceholder(element);\n\n    // Animation\n    animation[ref] = (positiveMotion ? \"-=\" : \"+=\") + distance;\n    animation1[ref] = (positiveMotion ? \"+=\" : \"-=\") + distance * 2;\n    animation2[ref] = (positiveMotion ? \"-=\" : \"+=\") + distance * 2;\n\n    // Animate\n    element.animate(animation, speed, options.easing);\n\n    // Shakes\n    for (; i < times; i++) {\n      element\n        .animate(animation1, speed, options.easing)\n        .animate(animation2, speed, options.easing);\n    }\n\n    element\n      .animate(animation1, speed, options.easing)\n      .animate(animation, speed / 2, options.easing)\n      .queue(done);\n\n    $.effects.unshift(element, queuelen, anims + 1);\n  });\n\n  /*!\n   * jQuery UI Effects Slide 1.13.2\n   * http://jqueryui.com\n   *\n   * Copyright jQuery Foundation and other contributors\n   * Released under the MIT license.\n   * http://jquery.org/license\n   */\n\n  //>>label: Slide Effect\n  //>>group: Effects\n  //>>description: Slides an element in and out of the viewport.\n  //>>docs: http://api.jqueryui.com/slide-effect/\n  //>>demos: http://jqueryui.com/effect/\n\n  var effectsEffectSlide = $.effects.define(\n    \"slide\",\n    \"show\",\n    function (options, done) {\n      var startClip,\n        startRef,\n        element = $(this),\n        map = {\n          up: [\"bottom\", \"top\"],\n          down: [\"top\", \"bottom\"],\n          left: [\"right\", \"left\"],\n          right: [\"left\", \"right\"],\n        },\n        mode = options.mode,\n        direction = options.direction || \"left\",\n        ref = direction === \"up\" || direction === \"down\" ? \"top\" : \"left\",\n        positiveMotion = direction === \"up\" || direction === \"left\",\n        distance =\n          options.distance ||\n          element[ref === \"top\" ? \"outerHeight\" : \"outerWidth\"](true),\n        animation = {};\n\n      $.effects.createPlaceholder(element);\n\n      startClip = element.cssClip();\n      startRef = element.position()[ref];\n\n      // Define hide animation\n      animation[ref] = (positiveMotion ? -1 : 1) * distance + startRef;\n      animation.clip = element.cssClip();\n      animation.clip[map[direction][1]] = animation.clip[map[direction][0]];\n\n      // Reverse the animation if we're showing\n      if (mode === \"show\") {\n        element.cssClip(animation.clip);\n        element.css(ref, animation[ref]);\n        animation.clip = startClip;\n        animation[ref] = startRef;\n      }\n\n      // Actually animate\n      element.animate(animation, {\n        queue: false,\n        duration: options.duration,\n        easing: options.easing,\n        complete: done,\n      });\n    },\n  );\n\n  /*!\n   * jQuery UI Effects Transfer 1.13.2\n   * http://jqueryui.com\n   *\n   * Copyright jQuery Foundation and other contributors\n   * Released under the MIT license.\n   * http://jquery.org/license\n   */\n\n  //>>label: Transfer Effect\n  //>>group: Effects\n  //>>description: Displays a transfer effect from one element to another.\n  //>>docs: http://api.jqueryui.com/transfer-effect/\n  //>>demos: http://jqueryui.com/effect/\n\n  var effect;\n  if ($.uiBackCompat !== false) {\n    effect = $.effects.define(\"transfer\", function (options, done) {\n      $(this).transfer(options, done);\n    });\n  }\n  var effectsEffectTransfer = effect;\n});\n","window.addEventListener(\"load\", function () {\n  $(document).mouseup(function (e) {\n    const container = $(\"#profile-btn, #profile-btn-mobile\");\n    if (!container.is(e.target) && container.has(e.target).length === 0) {\n      $(\"#user-menu-container\").hide();\n    }\n  });\n\n  window.addEventListener(\"resize\", () => {\n    setPanelHeight();\n  });\n\n  window.addEventListener(\"orientationchange\", () => {\n    setPanelHeight();\n  });\n\n  $(\"#toppage\").click(() => {\n    closeMenu();\n  });\n\n  /*******************************\n  ▼ Functions\n  *******************************/\n\n  const setPanelHeight = () => {\n    $(\"#header-panel-wrapper\").css(\"height\", window.innerHeight - 60);\n  };\n\n  const closeMenu = () => {\n    const closed = $(\"#header-panel-wrapper\").css(\"left\") === \"-600px\";\n    if (!closed) {\n      $(\"#menu-btn\").click();\n    }\n  };\n\n  /*******************************\n  ▼ Process\n  *******************************/\n\n  setPanelHeight();\n});\n","function activatePasswordToggler() {\n  $('input[id^=\"js-password-hide-show\"]').change(function () {\n    if ($(this).prop(\"checked\")) {\n      $(this)\n        .closest(\"form\")\n        .find('input[id^=\"js-password-input\"]')\n        .attr(\"type\", \"text\");\n    } else {\n      $(this)\n        .closest(\"form\")\n        .find('input[id^=\"js-password-input\"]')\n        .attr(\"type\", \"password\");\n    }\n  });\n}\n\nwindow.addEventListener(\"load\", function () {\n  const passwordToggler = document.getElementById(\"js-password-hide-show\");\n\n  if (passwordToggler) {\n    activatePasswordToggler();\n  }\n});\n","window.addEventListener(\"load\", function () {\n  changePaddingHeader();\n});\n\nfunction changePaddingHeader() {\n  let flag = false;\n\n  $(\"body > *:not(style, script, iframe, div.modal, link)\").each(function () {\n    if ($(this).height() > window.innerHeight) {\n      flag = true;\n    }\n  });\n\n  if (flag) {\n    $(\".tabbar-modal\")\n      // eslint-disable-next-line @typescript-eslint/no-unused-vars\n      .on(\"show.bs.modal\", function (e) {\n        if (!$(\"#header-contents-wrapper.pr-invisible-scroll\").length > 0) {\n          $(\"#header\").addClass(\"pr-invisible-scroll\");\n          $(\"body\").addClass(\"overflow-y-hidden pr-invisible-scroll\");\n        }\n      })\n      // eslint-disable-next-line @typescript-eslint/no-unused-vars\n      .on(\"hidden.bs.modal\", function (e) {\n        $(\"#header\").removeClass(\"pr-invisible-scroll\");\n        $(\"body\").removeClass(\"overflow-y-hidden pr-invisible-scroll\");\n      });\n  }\n}\n","/*!\n  * Bootstrap v4.5.0 (https://getbootstrap.com/)\n  * Copyright 2011-2020 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)\n  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n  */\n(function (global, factory) {\n  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('jquery'), require('popper.js')) :\n  typeof define === 'function' && define.amd ? define(['exports', 'jquery', 'popper.js'], factory) :\n  (global = global || self, factory(global.bootstrap = {}, global.jQuery, global.Popper));\n}(this, (function (exports, $, Popper) { 'use strict';\n\n  $ = $ && Object.prototype.hasOwnProperty.call($, 'default') ? $['default'] : $;\n  Popper = Popper && Object.prototype.hasOwnProperty.call(Popper, 'default') ? Popper['default'] : Popper;\n\n  function _defineProperties(target, props) {\n    for (var i = 0; i < props.length; i++) {\n      var descriptor = props[i];\n      descriptor.enumerable = descriptor.enumerable || false;\n      descriptor.configurable = true;\n      if (\"value\" in descriptor) descriptor.writable = true;\n      Object.defineProperty(target, descriptor.key, descriptor);\n    }\n  }\n\n  function _createClass(Constructor, protoProps, staticProps) {\n    if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n    if (staticProps) _defineProperties(Constructor, staticProps);\n    return Constructor;\n  }\n\n  function _defineProperty(obj, key, value) {\n    if (key in obj) {\n      Object.defineProperty(obj, key, {\n        value: value,\n        enumerable: true,\n        configurable: true,\n        writable: true\n      });\n    } else {\n      obj[key] = value;\n    }\n\n    return obj;\n  }\n\n  function ownKeys(object, enumerableOnly) {\n    var keys = Object.keys(object);\n\n    if (Object.getOwnPropertySymbols) {\n      var symbols = Object.getOwnPropertySymbols(object);\n      if (enumerableOnly) symbols = symbols.filter(function (sym) {\n        return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n      });\n      keys.push.apply(keys, symbols);\n    }\n\n    return keys;\n  }\n\n  function _objectSpread2(target) {\n    for (var i = 1; i < arguments.length; i++) {\n      var source = arguments[i] != null ? arguments[i] : {};\n\n      if (i % 2) {\n        ownKeys(Object(source), true).forEach(function (key) {\n          _defineProperty(target, key, source[key]);\n        });\n      } else if (Object.getOwnPropertyDescriptors) {\n        Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n      } else {\n        ownKeys(Object(source)).forEach(function (key) {\n          Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n        });\n      }\n    }\n\n    return target;\n  }\n\n  function _inheritsLoose(subClass, superClass) {\n    subClass.prototype = Object.create(superClass.prototype);\n    subClass.prototype.constructor = subClass;\n    subClass.__proto__ = superClass;\n  }\n\n  /**\n   * --------------------------------------------------------------------------\n   * Bootstrap (v4.5.0): util.js\n   * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n   * --------------------------------------------------------------------------\n   */\n  /**\n   * ------------------------------------------------------------------------\n   * Private TransitionEnd Helpers\n   * ------------------------------------------------------------------------\n   */\n\n  var TRANSITION_END = 'transitionend';\n  var MAX_UID = 1000000;\n  var MILLISECONDS_MULTIPLIER = 1000; // Shoutout AngusCroll (https://goo.gl/pxwQGp)\n\n  function toType(obj) {\n    if (obj === null || typeof obj === 'undefined') {\n      return \"\" + obj;\n    }\n\n    return {}.toString.call(obj).match(/\\s([a-z]+)/i)[1].toLowerCase();\n  }\n\n  function getSpecialTransitionEndEvent() {\n    return {\n      bindType: TRANSITION_END,\n      delegateType: TRANSITION_END,\n      handle: function handle(event) {\n        if ($(event.target).is(this)) {\n          return event.handleObj.handler.apply(this, arguments); // eslint-disable-line prefer-rest-params\n        }\n\n        return undefined;\n      }\n    };\n  }\n\n  function transitionEndEmulator(duration) {\n    var _this = this;\n\n    var called = false;\n    $(this).one(Util.TRANSITION_END, function () {\n      called = true;\n    });\n    setTimeout(function () {\n      if (!called) {\n        Util.triggerTransitionEnd(_this);\n      }\n    }, duration);\n    return this;\n  }\n\n  function setTransitionEndSupport() {\n    $.fn.emulateTransitionEnd = transitionEndEmulator;\n    $.event.special[Util.TRANSITION_END] = getSpecialTransitionEndEvent();\n  }\n  /**\n   * --------------------------------------------------------------------------\n   * Public Util Api\n   * --------------------------------------------------------------------------\n   */\n\n\n  var Util = {\n    TRANSITION_END: 'bsTransitionEnd',\n    getUID: function 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\n      return prefix;\n    },\n    getSelectorFromElement: function getSelectorFromElement(element) {\n      var selector = element.getAttribute('data-target');\n\n      if (!selector || selector === '#') {\n        var 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    getTransitionDurationFromElement: function getTransitionDurationFromElement(element) {\n      if (!element) {\n        return 0;\n      } // Get transition-duration of the element\n\n\n      var transitionDuration = $(element).css('transition-duration');\n      var transitionDelay = $(element).css('transition-delay');\n      var floatTransitionDuration = parseFloat(transitionDuration);\n      var floatTransitionDelay = parseFloat(transitionDelay); // Return 0 if element or transition duration is not found\n\n      if (!floatTransitionDuration && !floatTransitionDelay) {\n        return 0;\n      } // If multiple durations are defined, take the first\n\n\n      transitionDuration = transitionDuration.split(',')[0];\n      transitionDelay = transitionDelay.split(',')[0];\n      return (parseFloat(transitionDuration) + parseFloat(transitionDelay)) * MILLISECONDS_MULTIPLIER;\n    },\n    reflow: function reflow(element) {\n      return element.offsetHeight;\n    },\n    triggerTransitionEnd: function triggerTransitionEnd(element) {\n      $(element).trigger(TRANSITION_END);\n    },\n    // TODO: Remove in v5\n    supportsTransitionEnd: function supportsTransitionEnd() {\n      return Boolean(TRANSITION_END);\n    },\n    isElement: function isElement(obj) {\n      return (obj[0] || obj).nodeType;\n    },\n    typeCheckConfig: function typeCheckConfig(componentName, config, configTypes) {\n      for (var property in configTypes) {\n        if (Object.prototype.hasOwnProperty.call(configTypes, property)) {\n          var expectedTypes = configTypes[property];\n          var value = config[property];\n          var valueType = value && Util.isElement(value) ? 'element' : toType(value);\n\n          if (!new RegExp(expectedTypes).test(valueType)) {\n            throw new Error(componentName.toUpperCase() + \": \" + (\"Option \\\"\" + property + \"\\\" provided type \\\"\" + valueType + \"\\\" \") + (\"but expected type \\\"\" + expectedTypes + \"\\\".\"));\n          }\n        }\n      }\n    },\n    findShadowRoot: function findShadowRoot(element) {\n      if (!document.documentElement.attachShadow) {\n        return null;\n      } // Can find the shadow root otherwise it'll return the document\n\n\n      if (typeof element.getRootNode === 'function') {\n        var root = element.getRootNode();\n        return root instanceof ShadowRoot ? root : null;\n      }\n\n      if (element instanceof ShadowRoot) {\n        return element;\n      } // when we don't find a shadow root\n\n\n      if (!element.parentNode) {\n        return null;\n      }\n\n      return Util.findShadowRoot(element.parentNode);\n    },\n    jQueryDetection: function jQueryDetection() {\n      if (typeof $ === 'undefined') {\n        throw new TypeError('Bootstrap\\'s JavaScript requires jQuery. jQuery must be included before Bootstrap\\'s JavaScript.');\n      }\n\n      var version = $.fn.jquery.split(' ')[0].split('.');\n      var minMajor = 1;\n      var ltMajor = 2;\n      var minMinor = 9;\n      var minPatch = 1;\n      var 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  };\n  Util.jQueryDetection();\n  setTransitionEndSupport();\n\n  /**\n   * ------------------------------------------------------------------------\n   * Constants\n   * ------------------------------------------------------------------------\n   */\n\n  var NAME = 'alert';\n  var VERSION = '4.5.0';\n  var DATA_KEY = 'bs.alert';\n  var EVENT_KEY = \".\" + DATA_KEY;\n  var DATA_API_KEY = '.data-api';\n  var JQUERY_NO_CONFLICT = $.fn[NAME];\n  var SELECTOR_DISMISS = '[data-dismiss=\"alert\"]';\n  var EVENT_CLOSE = \"close\" + EVENT_KEY;\n  var EVENT_CLOSED = \"closed\" + EVENT_KEY;\n  var EVENT_CLICK_DATA_API = \"click\" + EVENT_KEY + DATA_API_KEY;\n  var CLASS_NAME_ALERT = 'alert';\n  var CLASS_NAME_FADE = 'fade';\n  var CLASS_NAME_SHOW = 'show';\n  /**\n   * ------------------------------------------------------------------------\n   * Class Definition\n   * ------------------------------------------------------------------------\n   */\n\n  var Alert = /*#__PURE__*/function () {\n    function Alert(element) {\n      this._element = element;\n    } // Getters\n\n\n    var _proto = Alert.prototype;\n\n    // Public\n    _proto.close = function close(element) {\n      var rootElement = this._element;\n\n      if (element) {\n        rootElement = this._getRootElement(element);\n      }\n\n      var customEvent = this._triggerCloseEvent(rootElement);\n\n      if (customEvent.isDefaultPrevented()) {\n        return;\n      }\n\n      this._removeElement(rootElement);\n    };\n\n    _proto.dispose = function dispose() {\n      $.removeData(this._element, DATA_KEY);\n      this._element = null;\n    } // Private\n    ;\n\n    _proto._getRootElement = function _getRootElement(element) {\n      var selector = Util.getSelectorFromElement(element);\n      var parent = false;\n\n      if (selector) {\n        parent = document.querySelector(selector);\n      }\n\n      if (!parent) {\n        parent = $(element).closest(\".\" + CLASS_NAME_ALERT)[0];\n      }\n\n      return parent;\n    };\n\n    _proto._triggerCloseEvent = function _triggerCloseEvent(element) {\n      var closeEvent = $.Event(EVENT_CLOSE);\n      $(element).trigger(closeEvent);\n      return closeEvent;\n    };\n\n    _proto._removeElement = function _removeElement(element) {\n      var _this = this;\n\n      $(element).removeClass(CLASS_NAME_SHOW);\n\n      if (!$(element).hasClass(CLASS_NAME_FADE)) {\n        this._destroyElement(element);\n\n        return;\n      }\n\n      var transitionDuration = Util.getTransitionDurationFromElement(element);\n      $(element).one(Util.TRANSITION_END, function (event) {\n        return _this._destroyElement(element, event);\n      }).emulateTransitionEnd(transitionDuration);\n    };\n\n    _proto._destroyElement = function _destroyElement(element) {\n      $(element).detach().trigger(EVENT_CLOSED).remove();\n    } // Static\n    ;\n\n    Alert._jQueryInterface = function _jQueryInterface(config) {\n      return this.each(function () {\n        var $element = $(this);\n        var 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    Alert._handleDismiss = function _handleDismiss(alertInstance) {\n      return function (event) {\n        if (event) {\n          event.preventDefault();\n        }\n\n        alertInstance.close(this);\n      };\n    };\n\n    _createClass(Alert, null, [{\n      key: \"VERSION\",\n      get: function get() {\n        return VERSION;\n      }\n    }]);\n\n    return Alert;\n  }();\n  /**\n   * ------------------------------------------------------------------------\n   * Data Api implementation\n   * ------------------------------------------------------------------------\n   */\n\n\n  $(document).on(EVENT_CLICK_DATA_API, SELECTOR_DISMISS, Alert._handleDismiss(new Alert()));\n  /**\n   * ------------------------------------------------------------------------\n   * jQuery\n   * ------------------------------------------------------------------------\n   */\n\n  $.fn[NAME] = Alert._jQueryInterface;\n  $.fn[NAME].Constructor = Alert;\n\n  $.fn[NAME].noConflict = function () {\n    $.fn[NAME] = JQUERY_NO_CONFLICT;\n    return Alert._jQueryInterface;\n  };\n\n  /**\n   * ------------------------------------------------------------------------\n   * Constants\n   * ------------------------------------------------------------------------\n   */\n\n  var NAME$1 = 'button';\n  var VERSION$1 = '4.5.0';\n  var DATA_KEY$1 = 'bs.button';\n  var EVENT_KEY$1 = \".\" + DATA_KEY$1;\n  var DATA_API_KEY$1 = '.data-api';\n  var JQUERY_NO_CONFLICT$1 = $.fn[NAME$1];\n  var CLASS_NAME_ACTIVE = 'active';\n  var CLASS_NAME_BUTTON = 'btn';\n  var CLASS_NAME_FOCUS = 'focus';\n  var SELECTOR_DATA_TOGGLE_CARROT = '[data-toggle^=\"button\"]';\n  var SELECTOR_DATA_TOGGLES = '[data-toggle=\"buttons\"]';\n  var SELECTOR_DATA_TOGGLE = '[data-toggle=\"button\"]';\n  var SELECTOR_DATA_TOGGLES_BUTTONS = '[data-toggle=\"buttons\"] .btn';\n  var SELECTOR_INPUT = 'input:not([type=\"hidden\"])';\n  var SELECTOR_ACTIVE = '.active';\n  var SELECTOR_BUTTON = '.btn';\n  var EVENT_CLICK_DATA_API$1 = \"click\" + EVENT_KEY$1 + DATA_API_KEY$1;\n  var EVENT_FOCUS_BLUR_DATA_API = \"focus\" + EVENT_KEY$1 + DATA_API_KEY$1 + \" \" + (\"blur\" + EVENT_KEY$1 + DATA_API_KEY$1);\n  var EVENT_LOAD_DATA_API = \"load\" + EVENT_KEY$1 + DATA_API_KEY$1;\n  /**\n   * ------------------------------------------------------------------------\n   * Class Definition\n   * ------------------------------------------------------------------------\n   */\n\n  var Button = /*#__PURE__*/function () {\n    function Button(element) {\n      this._element = element;\n    } // Getters\n\n\n    var _proto = Button.prototype;\n\n    // Public\n    _proto.toggle = function toggle() {\n      var triggerChangeEvent = true;\n      var addAriaPressed = true;\n      var rootElement = $(this._element).closest(SELECTOR_DATA_TOGGLES)[0];\n\n      if (rootElement) {\n        var input = this._element.querySelector(SELECTOR_INPUT);\n\n        if (input) {\n          if (input.type === 'radio') {\n            if (input.checked && this._element.classList.contains(CLASS_NAME_ACTIVE)) {\n              triggerChangeEvent = false;\n            } else {\n              var activeElement = rootElement.querySelector(SELECTOR_ACTIVE);\n\n              if (activeElement) {\n                $(activeElement).removeClass(CLASS_NAME_ACTIVE);\n              }\n            }\n          }\n\n          if (triggerChangeEvent) {\n            // if it's not a radio button or checkbox don't add a pointless/invalid checked property to the input\n            if (input.type === 'checkbox' || input.type === 'radio') {\n              input.checked = !this._element.classList.contains(CLASS_NAME_ACTIVE);\n            }\n\n            $(input).trigger('change');\n          }\n\n          input.focus();\n          addAriaPressed = false;\n        }\n      }\n\n      if (!(this._element.hasAttribute('disabled') || this._element.classList.contains('disabled'))) {\n        if (addAriaPressed) {\n          this._element.setAttribute('aria-pressed', !this._element.classList.contains(CLASS_NAME_ACTIVE));\n        }\n\n        if (triggerChangeEvent) {\n          $(this._element).toggleClass(CLASS_NAME_ACTIVE);\n        }\n      }\n    };\n\n    _proto.dispose = function dispose() {\n      $.removeData(this._element, DATA_KEY$1);\n      this._element = null;\n    } // Static\n    ;\n\n    Button._jQueryInterface = function _jQueryInterface(config) {\n      return this.each(function () {\n        var data = $(this).data(DATA_KEY$1);\n\n        if (!data) {\n          data = new Button(this);\n          $(this).data(DATA_KEY$1, data);\n        }\n\n        if (config === 'toggle') {\n          data[config]();\n        }\n      });\n    };\n\n    _createClass(Button, null, [{\n      key: \"VERSION\",\n      get: function get() {\n        return VERSION$1;\n      }\n    }]);\n\n    return Button;\n  }();\n  /**\n   * ------------------------------------------------------------------------\n   * Data Api implementation\n   * ------------------------------------------------------------------------\n   */\n\n\n  $(document).on(EVENT_CLICK_DATA_API$1, SELECTOR_DATA_TOGGLE_CARROT, function (event) {\n    var button = event.target;\n    var initialButton = button;\n\n    if (!$(button).hasClass(CLASS_NAME_BUTTON)) {\n      button = $(button).closest(SELECTOR_BUTTON)[0];\n    }\n\n    if (!button || button.hasAttribute('disabled') || button.classList.contains('disabled')) {\n      event.preventDefault(); // work around Firefox bug #1540995\n    } else {\n      var inputBtn = button.querySelector(SELECTOR_INPUT);\n\n      if (inputBtn && (inputBtn.hasAttribute('disabled') || inputBtn.classList.contains('disabled'))) {\n        event.preventDefault(); // work around Firefox bug #1540995\n\n        return;\n      }\n\n      if (initialButton.tagName === 'LABEL' && inputBtn && inputBtn.type === 'checkbox') {\n        event.preventDefault(); // work around event sent to label and input\n      }\n\n      Button._jQueryInterface.call($(button), 'toggle');\n    }\n  }).on(EVENT_FOCUS_BLUR_DATA_API, SELECTOR_DATA_TOGGLE_CARROT, function (event) {\n    var button = $(event.target).closest(SELECTOR_BUTTON)[0];\n    $(button).toggleClass(CLASS_NAME_FOCUS, /^focus(in)?$/.test(event.type));\n  });\n  $(window).on(EVENT_LOAD_DATA_API, function () {\n    // ensure correct active class is set to match the controls' actual values/states\n    // find all checkboxes/readio buttons inside data-toggle groups\n    var buttons = [].slice.call(document.querySelectorAll(SELECTOR_DATA_TOGGLES_BUTTONS));\n\n    for (var i = 0, len = buttons.length; i < len; i++) {\n      var button = buttons[i];\n      var input = button.querySelector(SELECTOR_INPUT);\n\n      if (input.checked || input.hasAttribute('checked')) {\n        button.classList.add(CLASS_NAME_ACTIVE);\n      } else {\n        button.classList.remove(CLASS_NAME_ACTIVE);\n      }\n    } // find all button toggles\n\n\n    buttons = [].slice.call(document.querySelectorAll(SELECTOR_DATA_TOGGLE));\n\n    for (var _i = 0, _len = buttons.length; _i < _len; _i++) {\n      var _button = buttons[_i];\n\n      if (_button.getAttribute('aria-pressed') === 'true') {\n        _button.classList.add(CLASS_NAME_ACTIVE);\n      } else {\n        _button.classList.remove(CLASS_NAME_ACTIVE);\n      }\n    }\n  });\n  /**\n   * ------------------------------------------------------------------------\n   * jQuery\n   * ------------------------------------------------------------------------\n   */\n\n  $.fn[NAME$1] = Button._jQueryInterface;\n  $.fn[NAME$1].Constructor = Button;\n\n  $.fn[NAME$1].noConflict = function () {\n    $.fn[NAME$1] = JQUERY_NO_CONFLICT$1;\n    return Button._jQueryInterface;\n  };\n\n  /**\n   * ------------------------------------------------------------------------\n   * Constants\n   * ------------------------------------------------------------------------\n   */\n\n  var NAME$2 = 'carousel';\n  var VERSION$2 = '4.5.0';\n  var DATA_KEY$2 = 'bs.carousel';\n  var EVENT_KEY$2 = \".\" + DATA_KEY$2;\n  var DATA_API_KEY$2 = '.data-api';\n  var JQUERY_NO_CONFLICT$2 = $.fn[NAME$2];\n  var ARROW_LEFT_KEYCODE = 37; // KeyboardEvent.which value for left arrow key\n\n  var ARROW_RIGHT_KEYCODE = 39; // KeyboardEvent.which value for right arrow key\n\n  var TOUCHEVENT_COMPAT_WAIT = 500; // Time for mouse compat events to fire after touch\n\n  var SWIPE_THRESHOLD = 40;\n  var Default = {\n    interval: 5000,\n    keyboard: true,\n    slide: false,\n    pause: 'hover',\n    wrap: true,\n    touch: true\n  };\n  var DefaultType = {\n    interval: '(number|boolean)',\n    keyboard: 'boolean',\n    slide: '(boolean|string)',\n    pause: '(string|boolean)',\n    wrap: 'boolean',\n    touch: 'boolean'\n  };\n  var DIRECTION_NEXT = 'next';\n  var DIRECTION_PREV = 'prev';\n  var DIRECTION_LEFT = 'left';\n  var DIRECTION_RIGHT = 'right';\n  var EVENT_SLIDE = \"slide\" + EVENT_KEY$2;\n  var EVENT_SLID = \"slid\" + EVENT_KEY$2;\n  var EVENT_KEYDOWN = \"keydown\" + EVENT_KEY$2;\n  var EVENT_MOUSEENTER = \"mouseenter\" + EVENT_KEY$2;\n  var EVENT_MOUSELEAVE = \"mouseleave\" + EVENT_KEY$2;\n  var EVENT_TOUCHSTART = \"touchstart\" + EVENT_KEY$2;\n  var EVENT_TOUCHMOVE = \"touchmove\" + EVENT_KEY$2;\n  var EVENT_TOUCHEND = \"touchend\" + EVENT_KEY$2;\n  var EVENT_POINTERDOWN = \"pointerdown\" + EVENT_KEY$2;\n  var EVENT_POINTERUP = \"pointerup\" + EVENT_KEY$2;\n  var EVENT_DRAG_START = \"dragstart\" + EVENT_KEY$2;\n  var EVENT_LOAD_DATA_API$1 = \"load\" + EVENT_KEY$2 + DATA_API_KEY$2;\n  var EVENT_CLICK_DATA_API$2 = \"click\" + EVENT_KEY$2 + DATA_API_KEY$2;\n  var CLASS_NAME_CAROUSEL = 'carousel';\n  var CLASS_NAME_ACTIVE$1 = 'active';\n  var CLASS_NAME_SLIDE = 'slide';\n  var CLASS_NAME_RIGHT = 'carousel-item-right';\n  var CLASS_NAME_LEFT = 'carousel-item-left';\n  var CLASS_NAME_NEXT = 'carousel-item-next';\n  var CLASS_NAME_PREV = 'carousel-item-prev';\n  var CLASS_NAME_POINTER_EVENT = 'pointer-event';\n  var SELECTOR_ACTIVE$1 = '.active';\n  var SELECTOR_ACTIVE_ITEM = '.active.carousel-item';\n  var SELECTOR_ITEM = '.carousel-item';\n  var SELECTOR_ITEM_IMG = '.carousel-item img';\n  var SELECTOR_NEXT_PREV = '.carousel-item-next, .carousel-item-prev';\n  var SELECTOR_INDICATORS = '.carousel-indicators';\n  var SELECTOR_DATA_SLIDE = '[data-slide], [data-slide-to]';\n  var SELECTOR_DATA_RIDE = '[data-ride=\"carousel\"]';\n  var PointerType = {\n    TOUCH: 'touch',\n    PEN: 'pen'\n  };\n  /**\n   * ------------------------------------------------------------------------\n   * Class Definition\n   * ------------------------------------------------------------------------\n   */\n\n  var Carousel = /*#__PURE__*/function () {\n    function Carousel(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      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    } // Getters\n\n\n    var _proto = Carousel.prototype;\n\n    // Public\n    _proto.next = function next() {\n      if (!this._isSliding) {\n        this._slide(DIRECTION_NEXT);\n      }\n    };\n\n    _proto.nextWhenVisible = function nextWhenVisible() {\n      // Don't call next when the page isn't visible\n      // or the carousel or its parent isn't visible\n      if (!document.hidden && $(this._element).is(':visible') && $(this._element).css('visibility') !== 'hidden') {\n        this.next();\n      }\n    };\n\n    _proto.prev = function prev() {\n      if (!this._isSliding) {\n        this._slide(DIRECTION_PREV);\n      }\n    };\n\n    _proto.pause = function pause(event) {\n      if (!event) {\n        this._isPaused = true;\n      }\n\n      if (this._element.querySelector(SELECTOR_NEXT_PREV)) {\n        Util.triggerTransitionEnd(this._element);\n        this.cycle(true);\n      }\n\n      clearInterval(this._interval);\n      this._interval = null;\n    };\n\n    _proto.cycle = function cycle(event) {\n      if (!event) {\n        this._isPaused = false;\n      }\n\n      if (this._interval) {\n        clearInterval(this._interval);\n        this._interval = null;\n      }\n\n      if (this._config.interval && !this._isPaused) {\n        this._interval = setInterval((document.visibilityState ? this.nextWhenVisible : this.next).bind(this), this._config.interval);\n      }\n    };\n\n    _proto.to = function to(index) {\n      var _this = this;\n\n      this._activeElement = this._element.querySelector(SELECTOR_ACTIVE_ITEM);\n\n      var activeIndex = this._getItemIndex(this._activeElement);\n\n      if (index > this._items.length - 1 || index < 0) {\n        return;\n      }\n\n      if (this._isSliding) {\n        $(this._element).one(EVENT_SLID, function () {\n          return _this.to(index);\n        });\n        return;\n      }\n\n      if (activeIndex === index) {\n        this.pause();\n        this.cycle();\n        return;\n      }\n\n      var direction = index > activeIndex ? DIRECTION_NEXT : DIRECTION_PREV;\n\n      this._slide(direction, this._items[index]);\n    };\n\n    _proto.dispose = function dispose() {\n      $(this._element).off(EVENT_KEY$2);\n      $.removeData(this._element, DATA_KEY$2);\n      this._items = null;\n      this._config = null;\n      this._element = null;\n      this._interval = null;\n      this._isPaused = null;\n      this._isSliding = null;\n      this._activeElement = null;\n      this._indicatorsElement = null;\n    } // Private\n    ;\n\n    _proto._getConfig = function _getConfig(config) {\n      config = _objectSpread2(_objectSpread2({}, Default), config);\n      Util.typeCheckConfig(NAME$2, config, DefaultType);\n      return config;\n    };\n\n    _proto._handleSwipe = function _handleSwipe() {\n      var absDeltax = Math.abs(this.touchDeltaX);\n\n      if (absDeltax <= SWIPE_THRESHOLD) {\n        return;\n      }\n\n      var direction = absDeltax / this.touchDeltaX;\n      this.touchDeltaX = 0; // swipe left\n\n      if (direction > 0) {\n        this.prev();\n      } // swipe right\n\n\n      if (direction < 0) {\n        this.next();\n      }\n    };\n\n    _proto._addEventListeners = function _addEventListeners() {\n      var _this2 = this;\n\n      if (this._config.keyboard) {\n        $(this._element).on(EVENT_KEYDOWN, function (event) {\n          return _this2._keydown(event);\n        });\n      }\n\n      if (this._config.pause === 'hover') {\n        $(this._element).on(EVENT_MOUSEENTER, function (event) {\n          return _this2.pause(event);\n        }).on(EVENT_MOUSELEAVE, function (event) {\n          return _this2.cycle(event);\n        });\n      }\n\n      if (this._config.touch) {\n        this._addTouchEventListeners();\n      }\n    };\n\n    _proto._addTouchEventListeners = function _addTouchEventListeners() {\n      var _this3 = this;\n\n      if (!this._touchSupported) {\n        return;\n      }\n\n      var start = function start(event) {\n        if (_this3._pointerEvent && PointerType[event.originalEvent.pointerType.toUpperCase()]) {\n          _this3.touchStartX = event.originalEvent.clientX;\n        } else if (!_this3._pointerEvent) {\n          _this3.touchStartX = event.originalEvent.touches[0].clientX;\n        }\n      };\n\n      var move = function move(event) {\n        // ensure swiping with one touch and not pinching\n        if (event.originalEvent.touches && event.originalEvent.touches.length > 1) {\n          _this3.touchDeltaX = 0;\n        } else {\n          _this3.touchDeltaX = event.originalEvent.touches[0].clientX - _this3.touchStartX;\n        }\n      };\n\n      var end = function end(event) {\n        if (_this3._pointerEvent && PointerType[event.originalEvent.pointerType.toUpperCase()]) {\n          _this3.touchDeltaX = event.originalEvent.clientX - _this3.touchStartX;\n        }\n\n        _this3._handleSwipe();\n\n        if (_this3._config.pause === 'hover') {\n          // If it's a touch-enabled device, mouseenter/leave are fired as\n          // part of the mouse compatibility events on first tap - the carousel\n          // would stop cycling until user tapped out of it;\n          // here, we listen for touchend, explicitly pause the carousel\n          // (as if it's the second time we tap on it, mouseenter compat event\n          // is NOT fired) and after a timeout (to allow for mouse compatibility\n          // events to fire) we explicitly restart cycling\n          _this3.pause();\n\n          if (_this3.touchTimeout) {\n            clearTimeout(_this3.touchTimeout);\n          }\n\n          _this3.touchTimeout = setTimeout(function (event) {\n            return _this3.cycle(event);\n          }, TOUCHEVENT_COMPAT_WAIT + _this3._config.interval);\n        }\n      };\n\n      $(this._element.querySelectorAll(SELECTOR_ITEM_IMG)).on(EVENT_DRAG_START, function (e) {\n        return e.preventDefault();\n      });\n\n      if (this._pointerEvent) {\n        $(this._element).on(EVENT_POINTERDOWN, function (event) {\n          return start(event);\n        });\n        $(this._element).on(EVENT_POINTERUP, function (event) {\n          return end(event);\n        });\n\n        this._element.classList.add(CLASS_NAME_POINTER_EVENT);\n      } else {\n        $(this._element).on(EVENT_TOUCHSTART, function (event) {\n          return start(event);\n        });\n        $(this._element).on(EVENT_TOUCHMOVE, function (event) {\n          return move(event);\n        });\n        $(this._element).on(EVENT_TOUCHEND, function (event) {\n          return end(event);\n        });\n      }\n    };\n\n    _proto._keydown = function _keydown(event) {\n      if (/input|textarea/i.test(event.target.tagName)) {\n        return;\n      }\n\n      switch (event.which) {\n        case ARROW_LEFT_KEYCODE:\n          event.preventDefault();\n          this.prev();\n          break;\n\n        case ARROW_RIGHT_KEYCODE:\n          event.preventDefault();\n          this.next();\n          break;\n      }\n    };\n\n    _proto._getItemIndex = function _getItemIndex(element) {\n      this._items = element && element.parentNode ? [].slice.call(element.parentNode.querySelectorAll(SELECTOR_ITEM)) : [];\n      return this._items.indexOf(element);\n    };\n\n    _proto._getItemByDirection = function _getItemByDirection(direction, activeElement) {\n      var isNextDirection = direction === DIRECTION_NEXT;\n      var isPrevDirection = direction === DIRECTION_PREV;\n\n      var activeIndex = this._getItemIndex(activeElement);\n\n      var lastItemIndex = this._items.length - 1;\n      var isGoingToWrap = isPrevDirection && activeIndex === 0 || isNextDirection && activeIndex === lastItemIndex;\n\n      if (isGoingToWrap && !this._config.wrap) {\n        return activeElement;\n      }\n\n      var delta = direction === DIRECTION_PREV ? -1 : 1;\n      var itemIndex = (activeIndex + delta) % this._items.length;\n      return itemIndex === -1 ? this._items[this._items.length - 1] : this._items[itemIndex];\n    };\n\n    _proto._triggerSlideEvent = function _triggerSlideEvent(relatedTarget, eventDirectionName) {\n      var targetIndex = this._getItemIndex(relatedTarget);\n\n      var fromIndex = this._getItemIndex(this._element.querySelector(SELECTOR_ACTIVE_ITEM));\n\n      var slideEvent = $.Event(EVENT_SLIDE, {\n        relatedTarget: relatedTarget,\n        direction: eventDirectionName,\n        from: fromIndex,\n        to: targetIndex\n      });\n      $(this._element).trigger(slideEvent);\n      return slideEvent;\n    };\n\n    _proto._setActiveIndicatorElement = function _setActiveIndicatorElement(element) {\n      if (this._indicatorsElement) {\n        var indicators = [].slice.call(this._indicatorsElement.querySelectorAll(SELECTOR_ACTIVE$1));\n        $(indicators).removeClass(CLASS_NAME_ACTIVE$1);\n\n        var nextIndicator = this._indicatorsElement.children[this._getItemIndex(element)];\n\n        if (nextIndicator) {\n          $(nextIndicator).addClass(CLASS_NAME_ACTIVE$1);\n        }\n      }\n    };\n\n    _proto._slide = function _slide(direction, element) {\n      var _this4 = this;\n\n      var activeElement = this._element.querySelector(SELECTOR_ACTIVE_ITEM);\n\n      var activeElementIndex = this._getItemIndex(activeElement);\n\n      var nextElement = element || activeElement && this._getItemByDirection(direction, activeElement);\n\n      var nextElementIndex = this._getItemIndex(nextElement);\n\n      var isCycling = Boolean(this._interval);\n      var directionalClassName;\n      var orderClassName;\n      var eventDirectionName;\n\n      if (direction === DIRECTION_NEXT) {\n        directionalClassName = CLASS_NAME_LEFT;\n        orderClassName = CLASS_NAME_NEXT;\n        eventDirectionName = DIRECTION_LEFT;\n      } else {\n        directionalClassName = CLASS_NAME_RIGHT;\n        orderClassName = CLASS_NAME_PREV;\n        eventDirectionName = DIRECTION_RIGHT;\n      }\n\n      if (nextElement && $(nextElement).hasClass(CLASS_NAME_ACTIVE$1)) {\n        this._isSliding = false;\n        return;\n      }\n\n      var slideEvent = this._triggerSlideEvent(nextElement, eventDirectionName);\n\n      if (slideEvent.isDefaultPrevented()) {\n        return;\n      }\n\n      if (!activeElement || !nextElement) {\n        // Some weirdness is happening, so we bail\n        return;\n      }\n\n      this._isSliding = true;\n\n      if (isCycling) {\n        this.pause();\n      }\n\n      this._setActiveIndicatorElement(nextElement);\n\n      var slidEvent = $.Event(EVENT_SLID, {\n        relatedTarget: nextElement,\n        direction: eventDirectionName,\n        from: activeElementIndex,\n        to: nextElementIndex\n      });\n\n      if ($(this._element).hasClass(CLASS_NAME_SLIDE)) {\n        $(nextElement).addClass(orderClassName);\n        Util.reflow(nextElement);\n        $(activeElement).addClass(directionalClassName);\n        $(nextElement).addClass(directionalClassName);\n        var nextElementInterval = parseInt(nextElement.getAttribute('data-interval'), 10);\n\n        if (nextElementInterval) {\n          this._config.defaultInterval = this._config.defaultInterval || this._config.interval;\n          this._config.interval = nextElementInterval;\n        } else {\n          this._config.interval = this._config.defaultInterval || this._config.interval;\n        }\n\n        var transitionDuration = Util.getTransitionDurationFromElement(activeElement);\n        $(activeElement).one(Util.TRANSITION_END, function () {\n          $(nextElement).removeClass(directionalClassName + \" \" + orderClassName).addClass(CLASS_NAME_ACTIVE$1);\n          $(activeElement).removeClass(CLASS_NAME_ACTIVE$1 + \" \" + orderClassName + \" \" + directionalClassName);\n          _this4._isSliding = false;\n          setTimeout(function () {\n            return $(_this4._element).trigger(slidEvent);\n          }, 0);\n        }).emulateTransitionEnd(transitionDuration);\n      } else {\n        $(activeElement).removeClass(CLASS_NAME_ACTIVE$1);\n        $(nextElement).addClass(CLASS_NAME_ACTIVE$1);\n        this._isSliding = false;\n        $(this._element).trigger(slidEvent);\n      }\n\n      if (isCycling) {\n        this.cycle();\n      }\n    } // Static\n    ;\n\n    Carousel._jQueryInterface = function _jQueryInterface(config) {\n      return this.each(function () {\n        var data = $(this).data(DATA_KEY$2);\n\n        var _config = _objectSpread2(_objectSpread2({}, Default), $(this).data());\n\n        if (typeof config === 'object') {\n          _config = _objectSpread2(_objectSpread2({}, _config), config);\n        }\n\n        var action = typeof config === 'string' ? config : _config.slide;\n\n        if (!data) {\n          data = new Carousel(this, _config);\n          $(this).data(DATA_KEY$2, data);\n        }\n\n        if (typeof config === 'number') {\n          data.to(config);\n        } else if (typeof action === 'string') {\n          if (typeof data[action] === 'undefined') {\n            throw new TypeError(\"No method named \\\"\" + action + \"\\\"\");\n          }\n\n          data[action]();\n        } else if (_config.interval && _config.ride) {\n          data.pause();\n          data.cycle();\n        }\n      });\n    };\n\n    Carousel._dataApiClickHandler = function _dataApiClickHandler(event) {\n      var selector = Util.getSelectorFromElement(this);\n\n      if (!selector) {\n        return;\n      }\n\n      var target = $(selector)[0];\n\n      if (!target || !$(target).hasClass(CLASS_NAME_CAROUSEL)) {\n        return;\n      }\n\n      var config = _objectSpread2(_objectSpread2({}, $(target).data()), $(this).data());\n\n      var slideIndex = this.getAttribute('data-slide-to');\n\n      if (slideIndex) {\n        config.interval = false;\n      }\n\n      Carousel._jQueryInterface.call($(target), config);\n\n      if (slideIndex) {\n        $(target).data(DATA_KEY$2).to(slideIndex);\n      }\n\n      event.preventDefault();\n    };\n\n    _createClass(Carousel, null, [{\n      key: \"VERSION\",\n      get: function get() {\n        return VERSION$2;\n      }\n    }, {\n      key: \"Default\",\n      get: function get() {\n        return Default;\n      }\n    }]);\n\n    return Carousel;\n  }();\n  /**\n   * ------------------------------------------------------------------------\n   * Data Api implementation\n   * ------------------------------------------------------------------------\n   */\n\n\n  $(document).on(EVENT_CLICK_DATA_API$2, SELECTOR_DATA_SLIDE, Carousel._dataApiClickHandler);\n  $(window).on(EVENT_LOAD_DATA_API$1, function () {\n    var carousels = [].slice.call(document.querySelectorAll(SELECTOR_DATA_RIDE));\n\n    for (var i = 0, len = carousels.length; i < len; i++) {\n      var $carousel = $(carousels[i]);\n\n      Carousel._jQueryInterface.call($carousel, $carousel.data());\n    }\n  });\n  /**\n   * ------------------------------------------------------------------------\n   * jQuery\n   * ------------------------------------------------------------------------\n   */\n\n  $.fn[NAME$2] = Carousel._jQueryInterface;\n  $.fn[NAME$2].Constructor = Carousel;\n\n  $.fn[NAME$2].noConflict = function () {\n    $.fn[NAME$2] = JQUERY_NO_CONFLICT$2;\n    return Carousel._jQueryInterface;\n  };\n\n  /**\n   * ------------------------------------------------------------------------\n   * Constants\n   * ------------------------------------------------------------------------\n   */\n\n  var NAME$3 = 'collapse';\n  var VERSION$3 = '4.5.0';\n  var DATA_KEY$3 = 'bs.collapse';\n  var EVENT_KEY$3 = \".\" + DATA_KEY$3;\n  var DATA_API_KEY$3 = '.data-api';\n  var JQUERY_NO_CONFLICT$3 = $.fn[NAME$3];\n  var Default$1 = {\n    toggle: true,\n    parent: ''\n  };\n  var DefaultType$1 = {\n    toggle: 'boolean',\n    parent: '(string|element)'\n  };\n  var EVENT_SHOW = \"show\" + EVENT_KEY$3;\n  var EVENT_SHOWN = \"shown\" + EVENT_KEY$3;\n  var EVENT_HIDE = \"hide\" + EVENT_KEY$3;\n  var EVENT_HIDDEN = \"hidden\" + EVENT_KEY$3;\n  var EVENT_CLICK_DATA_API$3 = \"click\" + EVENT_KEY$3 + DATA_API_KEY$3;\n  var CLASS_NAME_SHOW$1 = 'show';\n  var CLASS_NAME_COLLAPSE = 'collapse';\n  var CLASS_NAME_COLLAPSING = 'collapsing';\n  var CLASS_NAME_COLLAPSED = 'collapsed';\n  var DIMENSION_WIDTH = 'width';\n  var DIMENSION_HEIGHT = 'height';\n  var SELECTOR_ACTIVES = '.show, .collapsing';\n  var SELECTOR_DATA_TOGGLE$1 = '[data-toggle=\"collapse\"]';\n  /**\n   * ------------------------------------------------------------------------\n   * Class Definition\n   * ------------------------------------------------------------------------\n   */\n\n  var Collapse = /*#__PURE__*/function () {\n    function Collapse(element, config) {\n      this._isTransitioning = false;\n      this._element = element;\n      this._config = this._getConfig(config);\n      this._triggerArray = [].slice.call(document.querySelectorAll(\"[data-toggle=\\\"collapse\\\"][href=\\\"#\" + element.id + \"\\\"],\" + (\"[data-toggle=\\\"collapse\\\"][data-target=\\\"#\" + element.id + \"\\\"]\")));\n      var toggleList = [].slice.call(document.querySelectorAll(SELECTOR_DATA_TOGGLE$1));\n\n      for (var i = 0, len = toggleList.length; i < len; i++) {\n        var elem = toggleList[i];\n        var selector = Util.getSelectorFromElement(elem);\n        var filterElement = [].slice.call(document.querySelectorAll(selector)).filter(function (foundElem) {\n          return foundElem === element;\n        });\n\n        if (selector !== null && filterElement.length > 0) {\n          this._selector = selector;\n\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    } // Getters\n\n\n    var _proto = Collapse.prototype;\n\n    // Public\n    _proto.toggle = function toggle() {\n      if ($(this._element).hasClass(CLASS_NAME_SHOW$1)) {\n        this.hide();\n      } else {\n        this.show();\n      }\n    };\n\n    _proto.show = function show() {\n      var _this = this;\n\n      if (this._isTransitioning || $(this._element).hasClass(CLASS_NAME_SHOW$1)) {\n        return;\n      }\n\n      var actives;\n      var activesData;\n\n      if (this._parent) {\n        actives = [].slice.call(this._parent.querySelectorAll(SELECTOR_ACTIVES)).filter(function (elem) {\n          if (typeof _this._config.parent === 'string') {\n            return elem.getAttribute('data-parent') === _this._config.parent;\n          }\n\n          return elem.classList.contains(CLASS_NAME_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$3);\n\n        if (activesData && activesData._isTransitioning) {\n          return;\n        }\n      }\n\n      var startEvent = $.Event(EVENT_SHOW);\n      $(this._element).trigger(startEvent);\n\n      if (startEvent.isDefaultPrevented()) {\n        return;\n      }\n\n      if (actives) {\n        Collapse._jQueryInterface.call($(actives).not(this._selector), 'hide');\n\n        if (!activesData) {\n          $(actives).data(DATA_KEY$3, null);\n        }\n      }\n\n      var dimension = this._getDimension();\n\n      $(this._element).removeClass(CLASS_NAME_COLLAPSE).addClass(CLASS_NAME_COLLAPSING);\n      this._element.style[dimension] = 0;\n\n      if (this._triggerArray.length) {\n        $(this._triggerArray).removeClass(CLASS_NAME_COLLAPSED).attr('aria-expanded', true);\n      }\n\n      this.setTransitioning(true);\n\n      var complete = function complete() {\n        $(_this._element).removeClass(CLASS_NAME_COLLAPSING).addClass(CLASS_NAME_COLLAPSE + \" \" + CLASS_NAME_SHOW$1);\n        _this._element.style[dimension] = '';\n\n        _this.setTransitioning(false);\n\n        $(_this._element).trigger(EVENT_SHOWN);\n      };\n\n      var capitalizedDimension = dimension[0].toUpperCase() + dimension.slice(1);\n      var scrollSize = \"scroll\" + capitalizedDimension;\n      var transitionDuration = Util.getTransitionDurationFromElement(this._element);\n      $(this._element).one(Util.TRANSITION_END, complete).emulateTransitionEnd(transitionDuration);\n      this._element.style[dimension] = this._element[scrollSize] + \"px\";\n    };\n\n    _proto.hide = function hide() {\n      var _this2 = this;\n\n      if (this._isTransitioning || !$(this._element).hasClass(CLASS_NAME_SHOW$1)) {\n        return;\n      }\n\n      var startEvent = $.Event(EVENT_HIDE);\n      $(this._element).trigger(startEvent);\n\n      if (startEvent.isDefaultPrevented()) {\n        return;\n      }\n\n      var dimension = this._getDimension();\n\n      this._element.style[dimension] = this._element.getBoundingClientRect()[dimension] + \"px\";\n      Util.reflow(this._element);\n      $(this._element).addClass(CLASS_NAME_COLLAPSING).removeClass(CLASS_NAME_COLLAPSE + \" \" + CLASS_NAME_SHOW$1);\n      var triggerArrayLength = this._triggerArray.length;\n\n      if (triggerArrayLength > 0) {\n        for (var i = 0; i < triggerArrayLength; i++) {\n          var trigger = this._triggerArray[i];\n          var selector = Util.getSelectorFromElement(trigger);\n\n          if (selector !== null) {\n            var $elem = $([].slice.call(document.querySelectorAll(selector)));\n\n            if (!$elem.hasClass(CLASS_NAME_SHOW$1)) {\n              $(trigger).addClass(CLASS_NAME_COLLAPSED).attr('aria-expanded', false);\n            }\n          }\n        }\n      }\n\n      this.setTransitioning(true);\n\n      var complete = function complete() {\n        _this2.setTransitioning(false);\n\n        $(_this2._element).removeClass(CLASS_NAME_COLLAPSING).addClass(CLASS_NAME_COLLAPSE).trigger(EVENT_HIDDEN);\n      };\n\n      this._element.style[dimension] = '';\n      var transitionDuration = Util.getTransitionDurationFromElement(this._element);\n      $(this._element).one(Util.TRANSITION_END, complete).emulateTransitionEnd(transitionDuration);\n    };\n\n    _proto.setTransitioning = function setTransitioning(isTransitioning) {\n      this._isTransitioning = isTransitioning;\n    };\n\n    _proto.dispose = function dispose() {\n      $.removeData(this._element, DATA_KEY$3);\n      this._config = null;\n      this._parent = null;\n      this._element = null;\n      this._triggerArray = null;\n      this._isTransitioning = null;\n    } // Private\n    ;\n\n    _proto._getConfig = function _getConfig(config) {\n      config = _objectSpread2(_objectSpread2({}, Default$1), config);\n      config.toggle = Boolean(config.toggle); // Coerce string values\n\n      Util.typeCheckConfig(NAME$3, config, DefaultType$1);\n      return config;\n    };\n\n    _proto._getDimension = function _getDimension() {\n      var hasWidth = $(this._element).hasClass(DIMENSION_WIDTH);\n      return hasWidth ? DIMENSION_WIDTH : DIMENSION_HEIGHT;\n    };\n\n    _proto._getParent = function _getParent() {\n      var _this3 = this;\n\n      var parent;\n\n      if (Util.isElement(this._config.parent)) {\n        parent = this._config.parent; // It's a jQuery object\n\n        if (typeof this._config.parent.jquery !== 'undefined') {\n          parent = this._config.parent[0];\n        }\n      } else {\n        parent = document.querySelector(this._config.parent);\n      }\n\n      var selector = \"[data-toggle=\\\"collapse\\\"][data-parent=\\\"\" + this._config.parent + \"\\\"]\";\n      var children = [].slice.call(parent.querySelectorAll(selector));\n      $(children).each(function (i, element) {\n        _this3._addAriaAndCollapsedClass(Collapse._getTargetFromElement(element), [element]);\n      });\n      return parent;\n    };\n\n    _proto._addAriaAndCollapsedClass = function _addAriaAndCollapsedClass(element, triggerArray) {\n      var isOpen = $(element).hasClass(CLASS_NAME_SHOW$1);\n\n      if (triggerArray.length) {\n        $(triggerArray).toggleClass(CLASS_NAME_COLLAPSED, !isOpen).attr('aria-expanded', isOpen);\n      }\n    } // Static\n    ;\n\n    Collapse._getTargetFromElement = function _getTargetFromElement(element) {\n      var selector = Util.getSelectorFromElement(element);\n      return selector ? document.querySelector(selector) : null;\n    };\n\n    Collapse._jQueryInterface = function _jQueryInterface(config) {\n      return this.each(function () {\n        var $this = $(this);\n        var data = $this.data(DATA_KEY$3);\n\n        var _config = _objectSpread2(_objectSpread2(_objectSpread2({}, Default$1), $this.data()), typeof config === 'object' && config ? config : {});\n\n        if (!data && _config.toggle && typeof config === 'string' && /show|hide/.test(config)) {\n          _config.toggle = false;\n        }\n\n        if (!data) {\n          data = new Collapse(this, _config);\n          $this.data(DATA_KEY$3, data);\n        }\n\n        if (typeof config === 'string') {\n          if (typeof data[config] === 'undefined') {\n            throw new TypeError(\"No method named \\\"\" + config + \"\\\"\");\n          }\n\n          data[config]();\n        }\n      });\n    };\n\n    _createClass(Collapse, null, [{\n      key: \"VERSION\",\n      get: function get() {\n        return VERSION$3;\n      }\n    }, {\n      key: \"Default\",\n      get: function get() {\n        return Default$1;\n      }\n    }]);\n\n    return Collapse;\n  }();\n  /**\n   * ------------------------------------------------------------------------\n   * Data Api implementation\n   * ------------------------------------------------------------------------\n   */\n\n\n  $(document).on(EVENT_CLICK_DATA_API$3, SELECTOR_DATA_TOGGLE$1, function (event) {\n    // preventDefault only for <a> elements (which change the URL) not inside the collapsible element\n    if (event.currentTarget.tagName === 'A') {\n      event.preventDefault();\n    }\n\n    var $trigger = $(this);\n    var selector = Util.getSelectorFromElement(this);\n    var selectors = [].slice.call(document.querySelectorAll(selector));\n    $(selectors).each(function () {\n      var $target = $(this);\n      var data = $target.data(DATA_KEY$3);\n      var config = data ? 'toggle' : $trigger.data();\n\n      Collapse._jQueryInterface.call($target, config);\n    });\n  });\n  /**\n   * ------------------------------------------------------------------------\n   * jQuery\n   * ------------------------------------------------------------------------\n   */\n\n  $.fn[NAME$3] = Collapse._jQueryInterface;\n  $.fn[NAME$3].Constructor = Collapse;\n\n  $.fn[NAME$3].noConflict = function () {\n    $.fn[NAME$3] = JQUERY_NO_CONFLICT$3;\n    return Collapse._jQueryInterface;\n  };\n\n  /**\n   * ------------------------------------------------------------------------\n   * Constants\n   * ------------------------------------------------------------------------\n   */\n\n  var NAME$4 = 'dropdown';\n  var VERSION$4 = '4.5.0';\n  var DATA_KEY$4 = 'bs.dropdown';\n  var EVENT_KEY$4 = \".\" + DATA_KEY$4;\n  var DATA_API_KEY$4 = '.data-api';\n  var JQUERY_NO_CONFLICT$4 = $.fn[NAME$4];\n  var ESCAPE_KEYCODE = 27; // KeyboardEvent.which value for Escape (Esc) key\n\n  var SPACE_KEYCODE = 32; // KeyboardEvent.which value for space key\n\n  var TAB_KEYCODE = 9; // KeyboardEvent.which value for tab key\n\n  var ARROW_UP_KEYCODE = 38; // KeyboardEvent.which value for up arrow key\n\n  var ARROW_DOWN_KEYCODE = 40; // KeyboardEvent.which value for down arrow key\n\n  var RIGHT_MOUSE_BUTTON_WHICH = 3; // MouseEvent.which value for the right button (assuming a right-handed mouse)\n\n  var REGEXP_KEYDOWN = new RegExp(ARROW_UP_KEYCODE + \"|\" + ARROW_DOWN_KEYCODE + \"|\" + ESCAPE_KEYCODE);\n  var EVENT_HIDE$1 = \"hide\" + EVENT_KEY$4;\n  var EVENT_HIDDEN$1 = \"hidden\" + EVENT_KEY$4;\n  var EVENT_SHOW$1 = \"show\" + EVENT_KEY$4;\n  var EVENT_SHOWN$1 = \"shown\" + EVENT_KEY$4;\n  var EVENT_CLICK = \"click\" + EVENT_KEY$4;\n  var EVENT_CLICK_DATA_API$4 = \"click\" + EVENT_KEY$4 + DATA_API_KEY$4;\n  var EVENT_KEYDOWN_DATA_API = \"keydown\" + EVENT_KEY$4 + DATA_API_KEY$4;\n  var EVENT_KEYUP_DATA_API = \"keyup\" + EVENT_KEY$4 + DATA_API_KEY$4;\n  var CLASS_NAME_DISABLED = 'disabled';\n  var CLASS_NAME_SHOW$2 = 'show';\n  var CLASS_NAME_DROPUP = 'dropup';\n  var CLASS_NAME_DROPRIGHT = 'dropright';\n  var CLASS_NAME_DROPLEFT = 'dropleft';\n  var CLASS_NAME_MENURIGHT = 'dropdown-menu-right';\n  var CLASS_NAME_POSITION_STATIC = 'position-static';\n  var SELECTOR_DATA_TOGGLE$2 = '[data-toggle=\"dropdown\"]';\n  var SELECTOR_FORM_CHILD = '.dropdown form';\n  var SELECTOR_MENU = '.dropdown-menu';\n  var SELECTOR_NAVBAR_NAV = '.navbar-nav';\n  var SELECTOR_VISIBLE_ITEMS = '.dropdown-menu .dropdown-item:not(.disabled):not(:disabled)';\n  var PLACEMENT_TOP = 'top-start';\n  var PLACEMENT_TOPEND = 'top-end';\n  var PLACEMENT_BOTTOM = 'bottom-start';\n  var PLACEMENT_BOTTOMEND = 'bottom-end';\n  var PLACEMENT_RIGHT = 'right-start';\n  var PLACEMENT_LEFT = 'left-start';\n  var Default$2 = {\n    offset: 0,\n    flip: true,\n    boundary: 'scrollParent',\n    reference: 'toggle',\n    display: 'dynamic',\n    popperConfig: null\n  };\n  var DefaultType$2 = {\n    offset: '(number|string|function)',\n    flip: 'boolean',\n    boundary: '(string|element)',\n    reference: '(string|element)',\n    display: 'string',\n    popperConfig: '(null|object)'\n  };\n  /**\n   * ------------------------------------------------------------------------\n   * Class Definition\n   * ------------------------------------------------------------------------\n   */\n\n  var Dropdown = /*#__PURE__*/function () {\n    function Dropdown(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    } // Getters\n\n\n    var _proto = Dropdown.prototype;\n\n    // Public\n    _proto.toggle = function toggle() {\n      if (this._element.disabled || $(this._element).hasClass(CLASS_NAME_DISABLED)) {\n        return;\n      }\n\n      var isActive = $(this._menu).hasClass(CLASS_NAME_SHOW$2);\n\n      Dropdown._clearMenus();\n\n      if (isActive) {\n        return;\n      }\n\n      this.show(true);\n    };\n\n    _proto.show = function show(usePopper) {\n      if (usePopper === void 0) {\n        usePopper = false;\n      }\n\n      if (this._element.disabled || $(this._element).hasClass(CLASS_NAME_DISABLED) || $(this._menu).hasClass(CLASS_NAME_SHOW$2)) {\n        return;\n      }\n\n      var relatedTarget = {\n        relatedTarget: this._element\n      };\n      var showEvent = $.Event(EVENT_SHOW$1, relatedTarget);\n\n      var parent = Dropdown._getParentFromElement(this._element);\n\n      $(parent).trigger(showEvent);\n\n      if (showEvent.isDefaultPrevented()) {\n        return;\n      } // Disable totally Popper.js for Dropdown in Navbar\n\n\n      if (!this._inNavbar && usePopper) {\n        /**\n         * Check for Popper dependency\n         * Popper - https://popper.js.org\n         */\n        if (typeof Popper === 'undefined') {\n          throw new TypeError('Bootstrap\\'s dropdowns require Popper.js (https://popper.js.org/)');\n        }\n\n        var referenceElement = this._element;\n\n        if (this._config.reference === 'parent') {\n          referenceElement = parent;\n        } else if (Util.isElement(this._config.reference)) {\n          referenceElement = this._config.reference; // Check if it's jQuery element\n\n          if (typeof this._config.reference.jquery !== 'undefined') {\n            referenceElement = this._config.reference[0];\n          }\n        } // If boundary is not `scrollParent`, then set position to `static`\n        // to allow the menu to \"escape\" the scroll parent's boundaries\n        // https://github.com/twbs/bootstrap/issues/24251\n\n\n        if (this._config.boundary !== 'scrollParent') {\n          $(parent).addClass(CLASS_NAME_POSITION_STATIC);\n        }\n\n        this._popper = new Popper(referenceElement, this._menu, this._getPopperConfig());\n      } // If this is a touch-enabled device we add extra\n      // empty mouseover listeners to the body's immediate children;\n      // only needed because of broken event delegation on iOS\n      // https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html\n\n\n      if ('ontouchstart' in document.documentElement && $(parent).closest(SELECTOR_NAVBAR_NAV).length === 0) {\n        $(document.body).children().on('mouseover', null, $.noop);\n      }\n\n      this._element.focus();\n\n      this._element.setAttribute('aria-expanded', true);\n\n      $(this._menu).toggleClass(CLASS_NAME_SHOW$2);\n      $(parent).toggleClass(CLASS_NAME_SHOW$2).trigger($.Event(EVENT_SHOWN$1, relatedTarget));\n    };\n\n    _proto.hide = function hide() {\n      if (this._element.disabled || $(this._element).hasClass(CLASS_NAME_DISABLED) || !$(this._menu).hasClass(CLASS_NAME_SHOW$2)) {\n        return;\n      }\n\n      var relatedTarget = {\n        relatedTarget: this._element\n      };\n      var hideEvent = $.Event(EVENT_HIDE$1, relatedTarget);\n\n      var parent = Dropdown._getParentFromElement(this._element);\n\n      $(parent).trigger(hideEvent);\n\n      if (hideEvent.isDefaultPrevented()) {\n        return;\n      }\n\n      if (this._popper) {\n        this._popper.destroy();\n      }\n\n      $(this._menu).toggleClass(CLASS_NAME_SHOW$2);\n      $(parent).toggleClass(CLASS_NAME_SHOW$2).trigger($.Event(EVENT_HIDDEN$1, relatedTarget));\n    };\n\n    _proto.dispose = function dispose() {\n      $.removeData(this._element, DATA_KEY$4);\n      $(this._element).off(EVENT_KEY$4);\n      this._element = null;\n      this._menu = null;\n\n      if (this._popper !== null) {\n        this._popper.destroy();\n\n        this._popper = null;\n      }\n    };\n\n    _proto.update = function update() {\n      this._inNavbar = this._detectNavbar();\n\n      if (this._popper !== null) {\n        this._popper.scheduleUpdate();\n      }\n    } // Private\n    ;\n\n    _proto._addEventListeners = function _addEventListeners() {\n      var _this = this;\n\n      $(this._element).on(EVENT_CLICK, function (event) {\n        event.preventDefault();\n        event.stopPropagation();\n\n        _this.toggle();\n      });\n    };\n\n    _proto._getConfig = function _getConfig(config) {\n      config = _objectSpread2(_objectSpread2(_objectSpread2({}, this.constructor.Default), $(this._element).data()), config);\n      Util.typeCheckConfig(NAME$4, config, this.constructor.DefaultType);\n      return config;\n    };\n\n    _proto._getMenuElement = function _getMenuElement() {\n      if (!this._menu) {\n        var parent = Dropdown._getParentFromElement(this._element);\n\n        if (parent) {\n          this._menu = parent.querySelector(SELECTOR_MENU);\n        }\n      }\n\n      return this._menu;\n    };\n\n    _proto._getPlacement = function _getPlacement() {\n      var $parentDropdown = $(this._element.parentNode);\n      var placement = PLACEMENT_BOTTOM; // Handle dropup\n\n      if ($parentDropdown.hasClass(CLASS_NAME_DROPUP)) {\n        placement = $(this._menu).hasClass(CLASS_NAME_MENURIGHT) ? PLACEMENT_TOPEND : PLACEMENT_TOP;\n      } else if ($parentDropdown.hasClass(CLASS_NAME_DROPRIGHT)) {\n        placement = PLACEMENT_RIGHT;\n      } else if ($parentDropdown.hasClass(CLASS_NAME_DROPLEFT)) {\n        placement = PLACEMENT_LEFT;\n      } else if ($(this._menu).hasClass(CLASS_NAME_MENURIGHT)) {\n        placement = PLACEMENT_BOTTOMEND;\n      }\n\n      return placement;\n    };\n\n    _proto._detectNavbar = function _detectNavbar() {\n      return $(this._element).closest('.navbar').length > 0;\n    };\n\n    _proto._getOffset = function _getOffset() {\n      var _this2 = this;\n\n      var offset = {};\n\n      if (typeof this._config.offset === 'function') {\n        offset.fn = function (data) {\n          data.offsets = _objectSpread2(_objectSpread2({}, data.offsets), _this2._config.offset(data.offsets, _this2._element) || {});\n          return data;\n        };\n      } else {\n        offset.offset = this._config.offset;\n      }\n\n      return offset;\n    };\n\n    _proto._getPopperConfig = function _getPopperConfig() {\n      var popperConfig = {\n        placement: this._getPlacement(),\n        modifiers: {\n          offset: this._getOffset(),\n          flip: {\n            enabled: this._config.flip\n          },\n          preventOverflow: {\n            boundariesElement: this._config.boundary\n          }\n        }\n      }; // Disable Popper.js if we have a static display\n\n      if (this._config.display === 'static') {\n        popperConfig.modifiers.applyStyle = {\n          enabled: false\n        };\n      }\n\n      return _objectSpread2(_objectSpread2({}, popperConfig), this._config.popperConfig);\n    } // Static\n    ;\n\n    Dropdown._jQueryInterface = function _jQueryInterface(config) {\n      return this.each(function () {\n        var data = $(this).data(DATA_KEY$4);\n\n        var _config = typeof config === 'object' ? config : null;\n\n        if (!data) {\n          data = new Dropdown(this, _config);\n          $(this).data(DATA_KEY$4, data);\n        }\n\n        if (typeof config === 'string') {\n          if (typeof data[config] === 'undefined') {\n            throw new TypeError(\"No method named \\\"\" + config + \"\\\"\");\n          }\n\n          data[config]();\n        }\n      });\n    };\n\n    Dropdown._clearMenus = function _clearMenus(event) {\n      if (event && (event.which === RIGHT_MOUSE_BUTTON_WHICH || event.type === 'keyup' && event.which !== TAB_KEYCODE)) {\n        return;\n      }\n\n      var toggles = [].slice.call(document.querySelectorAll(SELECTOR_DATA_TOGGLE$2));\n\n      for (var i = 0, len = toggles.length; i < len; i++) {\n        var parent = Dropdown._getParentFromElement(toggles[i]);\n\n        var context = $(toggles[i]).data(DATA_KEY$4);\n        var relatedTarget = {\n          relatedTarget: toggles[i]\n        };\n\n        if (event && event.type === 'click') {\n          relatedTarget.clickEvent = event;\n        }\n\n        if (!context) {\n          continue;\n        }\n\n        var dropdownMenu = context._menu;\n\n        if (!$(parent).hasClass(CLASS_NAME_SHOW$2)) {\n          continue;\n        }\n\n        if (event && (event.type === 'click' && /input|textarea/i.test(event.target.tagName) || event.type === 'keyup' && event.which === TAB_KEYCODE) && $.contains(parent, event.target)) {\n          continue;\n        }\n\n        var hideEvent = $.Event(EVENT_HIDE$1, relatedTarget);\n        $(parent).trigger(hideEvent);\n\n        if (hideEvent.isDefaultPrevented()) {\n          continue;\n        } // If this is a touch-enabled device we remove the extra\n        // empty mouseover listeners we added for iOS support\n\n\n        if ('ontouchstart' in document.documentElement) {\n          $(document.body).children().off('mouseover', null, $.noop);\n        }\n\n        toggles[i].setAttribute('aria-expanded', 'false');\n\n        if (context._popper) {\n          context._popper.destroy();\n        }\n\n        $(dropdownMenu).removeClass(CLASS_NAME_SHOW$2);\n        $(parent).removeClass(CLASS_NAME_SHOW$2).trigger($.Event(EVENT_HIDDEN$1, relatedTarget));\n      }\n    };\n\n    Dropdown._getParentFromElement = function _getParentFromElement(element) {\n      var parent;\n      var selector = Util.getSelectorFromElement(element);\n\n      if (selector) {\n        parent = document.querySelector(selector);\n      }\n\n      return parent || element.parentNode;\n    } // eslint-disable-next-line complexity\n    ;\n\n    Dropdown._dataApiKeydownHandler = function _dataApiKeydownHandler(event) {\n      // If not input/textarea:\n      //  - And not a key in REGEXP_KEYDOWN => not a dropdown command\n      // If input/textarea:\n      //  - If space key => not a dropdown command\n      //  - If key is other than escape\n      //    - If key is not up or down => not a dropdown command\n      //    - If trigger inside the menu => not a dropdown command\n      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)) {\n        return;\n      }\n\n      if (this.disabled || $(this).hasClass(CLASS_NAME_DISABLED)) {\n        return;\n      }\n\n      var parent = Dropdown._getParentFromElement(this);\n\n      var isActive = $(parent).hasClass(CLASS_NAME_SHOW$2);\n\n      if (!isActive && event.which === ESCAPE_KEYCODE) {\n        return;\n      }\n\n      event.preventDefault();\n      event.stopPropagation();\n\n      if (!isActive || isActive && (event.which === ESCAPE_KEYCODE || event.which === SPACE_KEYCODE)) {\n        if (event.which === ESCAPE_KEYCODE) {\n          $(parent.querySelector(SELECTOR_DATA_TOGGLE$2)).trigger('focus');\n        }\n\n        $(this).trigger('click');\n        return;\n      }\n\n      var items = [].slice.call(parent.querySelectorAll(SELECTOR_VISIBLE_ITEMS)).filter(function (item) {\n        return $(item).is(':visible');\n      });\n\n      if (items.length === 0) {\n        return;\n      }\n\n      var index = items.indexOf(event.target);\n\n      if (event.which === ARROW_UP_KEYCODE && index > 0) {\n        // Up\n        index--;\n      }\n\n      if (event.which === ARROW_DOWN_KEYCODE && index < items.length - 1) {\n        // Down\n        index++;\n      }\n\n      if (index < 0) {\n        index = 0;\n      }\n\n      items[index].focus();\n    };\n\n    _createClass(Dropdown, null, [{\n      key: \"VERSION\",\n      get: function get() {\n        return VERSION$4;\n      }\n    }, {\n      key: \"Default\",\n      get: function get() {\n        return Default$2;\n      }\n    }, {\n      key: \"DefaultType\",\n      get: function get() {\n        return DefaultType$2;\n      }\n    }]);\n\n    return Dropdown;\n  }();\n  /**\n   * ------------------------------------------------------------------------\n   * Data Api implementation\n   * ------------------------------------------------------------------------\n   */\n\n\n  $(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) {\n    event.preventDefault();\n    event.stopPropagation();\n\n    Dropdown._jQueryInterface.call($(this), 'toggle');\n  }).on(EVENT_CLICK_DATA_API$4, SELECTOR_FORM_CHILD, function (e) {\n    e.stopPropagation();\n  });\n  /**\n   * ------------------------------------------------------------------------\n   * jQuery\n   * ------------------------------------------------------------------------\n   */\n\n  $.fn[NAME$4] = Dropdown._jQueryInterface;\n  $.fn[NAME$4].Constructor = Dropdown;\n\n  $.fn[NAME$4].noConflict = function () {\n    $.fn[NAME$4] = JQUERY_NO_CONFLICT$4;\n    return Dropdown._jQueryInterface;\n  };\n\n  /**\n   * ------------------------------------------------------------------------\n   * Constants\n   * ------------------------------------------------------------------------\n   */\n\n  var NAME$5 = 'modal';\n  var VERSION$5 = '4.5.0';\n  var DATA_KEY$5 = 'bs.modal';\n  var EVENT_KEY$5 = \".\" + DATA_KEY$5;\n  var DATA_API_KEY$5 = '.data-api';\n  var JQUERY_NO_CONFLICT$5 = $.fn[NAME$5];\n  var ESCAPE_KEYCODE$1 = 27; // KeyboardEvent.which value for Escape (Esc) key\n\n  var Default$3 = {\n    backdrop: true,\n    keyboard: true,\n    focus: true,\n    show: true\n  };\n  var DefaultType$3 = {\n    backdrop: '(boolean|string)',\n    keyboard: 'boolean',\n    focus: 'boolean',\n    show: 'boolean'\n  };\n  var EVENT_HIDE$2 = \"hide\" + EVENT_KEY$5;\n  var EVENT_HIDE_PREVENTED = \"hidePrevented\" + EVENT_KEY$5;\n  var EVENT_HIDDEN$2 = \"hidden\" + EVENT_KEY$5;\n  var EVENT_SHOW$2 = \"show\" + EVENT_KEY$5;\n  var EVENT_SHOWN$2 = \"shown\" + EVENT_KEY$5;\n  var EVENT_FOCUSIN = \"focusin\" + EVENT_KEY$5;\n  var EVENT_RESIZE = \"resize\" + EVENT_KEY$5;\n  var EVENT_CLICK_DISMISS = \"click.dismiss\" + EVENT_KEY$5;\n  var EVENT_KEYDOWN_DISMISS = \"keydown.dismiss\" + EVENT_KEY$5;\n  var EVENT_MOUSEUP_DISMISS = \"mouseup.dismiss\" + EVENT_KEY$5;\n  var EVENT_MOUSEDOWN_DISMISS = \"mousedown.dismiss\" + EVENT_KEY$5;\n  var EVENT_CLICK_DATA_API$5 = \"click\" + EVENT_KEY$5 + DATA_API_KEY$5;\n  var CLASS_NAME_SCROLLABLE = 'modal-dialog-scrollable';\n  var CLASS_NAME_SCROLLBAR_MEASURER = 'modal-scrollbar-measure';\n  var CLASS_NAME_BACKDROP = 'modal-backdrop';\n  var CLASS_NAME_OPEN = 'modal-open';\n  var CLASS_NAME_FADE$1 = 'fade';\n  var CLASS_NAME_SHOW$3 = 'show';\n  var CLASS_NAME_STATIC = 'modal-static';\n  var SELECTOR_DIALOG = '.modal-dialog';\n  var SELECTOR_MODAL_BODY = '.modal-body';\n  var SELECTOR_DATA_TOGGLE$3 = '[data-toggle=\"modal\"]';\n  var SELECTOR_DATA_DISMISS = '[data-dismiss=\"modal\"]';\n  var SELECTOR_FIXED_CONTENT = '.fixed-top, .fixed-bottom, .is-fixed, .sticky-top';\n  var SELECTOR_STICKY_CONTENT = '.sticky-top';\n  /**\n   * ------------------------------------------------------------------------\n   * Class Definition\n   * ------------------------------------------------------------------------\n   */\n\n  var Modal = /*#__PURE__*/function () {\n    function Modal(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    } // Getters\n\n\n    var _proto = Modal.prototype;\n\n    // Public\n    _proto.toggle = function toggle(relatedTarget) {\n      return this._isShown ? this.hide() : this.show(relatedTarget);\n    };\n\n    _proto.show = function show(relatedTarget) {\n      var _this = this;\n\n      if (this._isShown || this._isTransitioning) {\n        return;\n      }\n\n      if ($(this._element).hasClass(CLASS_NAME_FADE$1)) {\n        this._isTransitioning = true;\n      }\n\n      var showEvent = $.Event(EVENT_SHOW$2, {\n        relatedTarget: relatedTarget\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\n      this._setScrollbar();\n\n      this._adjustDialog();\n\n      this._setEscapeEvent();\n\n      this._setResizeEvent();\n\n      $(this._element).on(EVENT_CLICK_DISMISS, SELECTOR_DATA_DISMISS, function (event) {\n        return _this.hide(event);\n      });\n      $(this._dialog).on(EVENT_MOUSEDOWN_DISMISS, function () {\n        $(_this._element).one(EVENT_MOUSEUP_DISMISS, function (event) {\n          if ($(event.target).is(_this._element)) {\n            _this._ignoreBackdropClick = true;\n          }\n        });\n      });\n\n      this._showBackdrop(function () {\n        return _this._showElement(relatedTarget);\n      });\n    };\n\n    _proto.hide = function hide(event) {\n      var _this2 = this;\n\n      if (event) {\n        event.preventDefault();\n      }\n\n      if (!this._isShown || this._isTransitioning) {\n        return;\n      }\n\n      var hideEvent = $.Event(EVENT_HIDE$2);\n      $(this._element).trigger(hideEvent);\n\n      if (!this._isShown || hideEvent.isDefaultPrevented()) {\n        return;\n      }\n\n      this._isShown = false;\n      var transition = $(this._element).hasClass(CLASS_NAME_FADE$1);\n\n      if (transition) {\n        this._isTransitioning = true;\n      }\n\n      this._setEscapeEvent();\n\n      this._setResizeEvent();\n\n      $(document).off(EVENT_FOCUSIN);\n      $(this._element).removeClass(CLASS_NAME_SHOW$3);\n      $(this._element).off(EVENT_CLICK_DISMISS);\n      $(this._dialog).off(EVENT_MOUSEDOWN_DISMISS);\n\n      if (transition) {\n        var transitionDuration = Util.getTransitionDurationFromElement(this._element);\n        $(this._element).one(Util.TRANSITION_END, function (event) {\n          return _this2._hideModal(event);\n        }).emulateTransitionEnd(transitionDuration);\n      } else {\n        this._hideModal();\n      }\n    };\n\n    _proto.dispose = function dispose() {\n      [window, this._element, this._dialog].forEach(function (htmlElement) {\n        return $(htmlElement).off(EVENT_KEY$5);\n      });\n      /**\n       * `document` has 2 events `EVENT_FOCUSIN` and `EVENT_CLICK_DATA_API`\n       * Do not move `document` in `htmlElements` array\n       * It will remove `EVENT_CLICK_DATA_API` event that should remain\n       */\n\n      $(document).off(EVENT_FOCUSIN);\n      $.removeData(this._element, DATA_KEY$5);\n      this._config = null;\n      this._element = null;\n      this._dialog = null;\n      this._backdrop = null;\n      this._isShown = null;\n      this._isBodyOverflowing = null;\n      this._ignoreBackdropClick = null;\n      this._isTransitioning = null;\n      this._scrollbarWidth = null;\n    };\n\n    _proto.handleUpdate = function handleUpdate() {\n      this._adjustDialog();\n    } // Private\n    ;\n\n    _proto._getConfig = function _getConfig(config) {\n      config = _objectSpread2(_objectSpread2({}, Default$3), config);\n      Util.typeCheckConfig(NAME$5, config, DefaultType$3);\n      return config;\n    };\n\n    _proto._triggerBackdropTransition = function _triggerBackdropTransition() {\n      var _this3 = this;\n\n      if (this._config.backdrop === 'static') {\n        var hideEventPrevented = $.Event(EVENT_HIDE_PREVENTED);\n        $(this._element).trigger(hideEventPrevented);\n\n        if (hideEventPrevented.defaultPrevented) {\n          return;\n        }\n\n        this._element.classList.add(CLASS_NAME_STATIC);\n\n        var modalTransitionDuration = Util.getTransitionDurationFromElement(this._element);\n        $(this._element).one(Util.TRANSITION_END, function () {\n          _this3._element.classList.remove(CLASS_NAME_STATIC);\n        }).emulateTransitionEnd(modalTransitionDuration);\n\n        this._element.focus();\n      } else {\n        this.hide();\n      }\n    };\n\n    _proto._showElement = function _showElement(relatedTarget) {\n      var _this4 = this;\n\n      var transition = $(this._element).hasClass(CLASS_NAME_FADE$1);\n      var modalBody = this._dialog ? this._dialog.querySelector(SELECTOR_MODAL_BODY) : null;\n\n      if (!this._element.parentNode || this._element.parentNode.nodeType !== Node.ELEMENT_NODE) {\n        // Don't move modal's DOM position\n        document.body.appendChild(this._element);\n      }\n\n      this._element.style.display = 'block';\n\n      this._element.removeAttribute('aria-hidden');\n\n      this._element.setAttribute('aria-modal', true);\n\n      if ($(this._dialog).hasClass(CLASS_NAME_SCROLLABLE) && modalBody) {\n        modalBody.scrollTop = 0;\n      } else {\n        this._element.scrollTop = 0;\n      }\n\n      if (transition) {\n        Util.reflow(this._element);\n      }\n\n      $(this._element).addClass(CLASS_NAME_SHOW$3);\n\n      if (this._config.focus) {\n        this._enforceFocus();\n      }\n\n      var shownEvent = $.Event(EVENT_SHOWN$2, {\n        relatedTarget: relatedTarget\n      });\n\n      var transitionComplete = function transitionComplete() {\n        if (_this4._config.focus) {\n          _this4._element.focus();\n        }\n\n        _this4._isTransitioning = false;\n        $(_this4._element).trigger(shownEvent);\n      };\n\n      if (transition) {\n        var transitionDuration = Util.getTransitionDurationFromElement(this._dialog);\n        $(this._dialog).one(Util.TRANSITION_END, transitionComplete).emulateTransitionEnd(transitionDuration);\n      } else {\n        transitionComplete();\n      }\n    };\n\n    _proto._enforceFocus = function _enforceFocus() {\n      var _this5 = this;\n\n      $(document).off(EVENT_FOCUSIN) // Guard against infinite focus loop\n      .on(EVENT_FOCUSIN, function (event) {\n        if (document !== event.target && _this5._element !== event.target && $(_this5._element).has(event.target).length === 0) {\n          _this5._element.focus();\n        }\n      });\n    };\n\n    _proto._setEscapeEvent = function _setEscapeEvent() {\n      var _this6 = this;\n\n      if (this._isShown) {\n        $(this._element).on(EVENT_KEYDOWN_DISMISS, function (event) {\n          if (_this6._config.keyboard && event.which === ESCAPE_KEYCODE$1) {\n            event.preventDefault();\n\n            _this6.hide();\n          } else if (!_this6._config.keyboard && event.which === ESCAPE_KEYCODE$1) {\n            _this6._triggerBackdropTransition();\n          }\n        });\n      } else if (!this._isShown) {\n        $(this._element).off(EVENT_KEYDOWN_DISMISS);\n      }\n    };\n\n    _proto._setResizeEvent = function _setResizeEvent() {\n      var _this7 = this;\n\n      if (this._isShown) {\n        $(window).on(EVENT_RESIZE, function (event) {\n          return _this7.handleUpdate(event);\n        });\n      } else {\n        $(window).off(EVENT_RESIZE);\n      }\n    };\n\n    _proto._hideModal = function _hideModal() {\n      var _this8 = this;\n\n      this._element.style.display = 'none';\n\n      this._element.setAttribute('aria-hidden', true);\n\n      this._element.removeAttribute('aria-modal');\n\n      this._isTransitioning = false;\n\n      this._showBackdrop(function () {\n        $(document.body).removeClass(CLASS_NAME_OPEN);\n\n        _this8._resetAdjustments();\n\n        _this8._resetScrollbar();\n\n        $(_this8._element).trigger(EVENT_HIDDEN$2);\n      });\n    };\n\n    _proto._removeBackdrop = function _removeBackdrop() {\n      if (this._backdrop) {\n        $(this._backdrop).remove();\n        this._backdrop = null;\n      }\n    };\n\n    _proto._showBackdrop = function _showBackdrop(callback) {\n      var _this9 = this;\n\n      var animate = $(this._element).hasClass(CLASS_NAME_FADE$1) ? CLASS_NAME_FADE$1 : '';\n\n      if (this._isShown && this._config.backdrop) {\n        this._backdrop = document.createElement('div');\n        this._backdrop.className = CLASS_NAME_BACKDROP;\n\n        if (animate) {\n          this._backdrop.classList.add(animate);\n        }\n\n        $(this._backdrop).appendTo(document.body);\n        $(this._element).on(EVENT_CLICK_DISMISS, function (event) {\n          if (_this9._ignoreBackdropClick) {\n            _this9._ignoreBackdropClick = false;\n            return;\n          }\n\n          if (event.target !== event.currentTarget) {\n            return;\n          }\n\n          _this9._triggerBackdropTransition();\n        });\n\n        if (animate) {\n          Util.reflow(this._backdrop);\n        }\n\n        $(this._backdrop).addClass(CLASS_NAME_SHOW$3);\n\n        if (!callback) {\n          return;\n        }\n\n        if (!animate) {\n          callback();\n          return;\n        }\n\n        var backdropTransitionDuration = Util.getTransitionDurationFromElement(this._backdrop);\n        $(this._backdrop).one(Util.TRANSITION_END, callback).emulateTransitionEnd(backdropTransitionDuration);\n      } else if (!this._isShown && this._backdrop) {\n        $(this._backdrop).removeClass(CLASS_NAME_SHOW$3);\n\n        var callbackRemove = function callbackRemove() {\n          _this9._removeBackdrop();\n\n          if (callback) {\n            callback();\n          }\n        };\n\n        if ($(this._element).hasClass(CLASS_NAME_FADE$1)) {\n          var _backdropTransitionDuration = Util.getTransitionDurationFromElement(this._backdrop);\n\n          $(this._backdrop).one(Util.TRANSITION_END, callbackRemove).emulateTransitionEnd(_backdropTransitionDuration);\n        } else {\n          callbackRemove();\n        }\n      } else if (callback) {\n        callback();\n      }\n    } // ----------------------------------------------------------------------\n    // the following methods are used to handle overflowing modals\n    // todo (fat): these should probably be refactored out of modal.js\n    // ----------------------------------------------------------------------\n    ;\n\n    _proto._adjustDialog = function _adjustDialog() {\n      var isModalOverflowing = this._element.scrollHeight > document.documentElement.clientHeight;\n\n      if (!this._isBodyOverflowing && isModalOverflowing) {\n        this._element.style.paddingLeft = this._scrollbarWidth + \"px\";\n      }\n\n      if (this._isBodyOverflowing && !isModalOverflowing) {\n        this._element.style.paddingRight = this._scrollbarWidth + \"px\";\n      }\n    };\n\n    _proto._resetAdjustments = function _resetAdjustments() {\n      this._element.style.paddingLeft = '';\n      this._element.style.paddingRight = '';\n    };\n\n    _proto._checkScrollbar = function _checkScrollbar() {\n      var rect = document.body.getBoundingClientRect();\n      this._isBodyOverflowing = Math.round(rect.left + rect.right) < window.innerWidth;\n      this._scrollbarWidth = this._getScrollbarWidth();\n    };\n\n    _proto._setScrollbar = function _setScrollbar() {\n      var _this10 = this;\n\n      if (this._isBodyOverflowing) {\n        // Note: DOMNode.style.paddingRight returns the actual value or '' if not set\n        //   while $(DOMNode).css('padding-right') returns the calculated value or 0 if not set\n        var fixedContent = [].slice.call(document.querySelectorAll(SELECTOR_FIXED_CONTENT));\n        var stickyContent = [].slice.call(document.querySelectorAll(SELECTOR_STICKY_CONTENT)); // Adjust fixed content padding\n\n        $(fixedContent).each(function (index, element) {\n          var actualPadding = element.style.paddingRight;\n          var calculatedPadding = $(element).css('padding-right');\n          $(element).data('padding-right', actualPadding).css('padding-right', parseFloat(calculatedPadding) + _this10._scrollbarWidth + \"px\");\n        }); // Adjust sticky content margin\n\n        $(stickyContent).each(function (index, element) {\n          var actualMargin = element.style.marginRight;\n          var calculatedMargin = $(element).css('margin-right');\n          $(element).data('margin-right', actualMargin).css('margin-right', parseFloat(calculatedMargin) - _this10._scrollbarWidth + \"px\");\n        }); // Adjust body padding\n\n        var actualPadding = document.body.style.paddingRight;\n        var calculatedPadding = $(document.body).css('padding-right');\n        $(document.body).data('padding-right', actualPadding).css('padding-right', parseFloat(calculatedPadding) + this._scrollbarWidth + \"px\");\n      }\n\n      $(document.body).addClass(CLASS_NAME_OPEN);\n    };\n\n    _proto._resetScrollbar = function _resetScrollbar() {\n      // Restore fixed content padding\n      var fixedContent = [].slice.call(document.querySelectorAll(SELECTOR_FIXED_CONTENT));\n      $(fixedContent).each(function (index, element) {\n        var padding = $(element).data('padding-right');\n        $(element).removeData('padding-right');\n        element.style.paddingRight = padding ? padding : '';\n      }); // Restore sticky content\n\n      var elements = [].slice.call(document.querySelectorAll(\"\" + SELECTOR_STICKY_CONTENT));\n      $(elements).each(function (index, element) {\n        var margin = $(element).data('margin-right');\n\n        if (typeof margin !== 'undefined') {\n          $(element).css('margin-right', margin).removeData('margin-right');\n        }\n      }); // Restore body padding\n\n      var padding = $(document.body).data('padding-right');\n      $(document.body).removeData('padding-right');\n      document.body.style.paddingRight = padding ? padding : '';\n    };\n\n    _proto._getScrollbarWidth = function _getScrollbarWidth() {\n      // thx d.walsh\n      var scrollDiv = document.createElement('div');\n      scrollDiv.className = CLASS_NAME_SCROLLBAR_MEASURER;\n      document.body.appendChild(scrollDiv);\n      var scrollbarWidth = scrollDiv.getBoundingClientRect().width - scrollDiv.clientWidth;\n      document.body.removeChild(scrollDiv);\n      return scrollbarWidth;\n    } // Static\n    ;\n\n    Modal._jQueryInterface = function _jQueryInterface(config, relatedTarget) {\n      return this.each(function () {\n        var data = $(this).data(DATA_KEY$5);\n\n        var _config = _objectSpread2(_objectSpread2(_objectSpread2({}, Default$3), $(this).data()), typeof config === 'object' && config ? config : {});\n\n        if (!data) {\n          data = new Modal(this, _config);\n          $(this).data(DATA_KEY$5, data);\n        }\n\n        if (typeof config === 'string') {\n          if (typeof data[config] === 'undefined') {\n            throw new TypeError(\"No method named \\\"\" + config + \"\\\"\");\n          }\n\n          data[config](relatedTarget);\n        } else if (_config.show) {\n          data.show(relatedTarget);\n        }\n      });\n    };\n\n    _createClass(Modal, null, [{\n      key: \"VERSION\",\n      get: function get() {\n        return VERSION$5;\n      }\n    }, {\n      key: \"Default\",\n      get: function get() {\n        return Default$3;\n      }\n    }]);\n\n    return Modal;\n  }();\n  /**\n   * ------------------------------------------------------------------------\n   * Data Api implementation\n   * ------------------------------------------------------------------------\n   */\n\n\n  $(document).on(EVENT_CLICK_DATA_API$5, SELECTOR_DATA_TOGGLE$3, function (event) {\n    var _this11 = this;\n\n    var target;\n    var selector = Util.getSelectorFromElement(this);\n\n    if (selector) {\n      target = document.querySelector(selector);\n    }\n\n    var config = $(target).data(DATA_KEY$5) ? 'toggle' : _objectSpread2(_objectSpread2({}, $(target).data()), $(this).data());\n\n    if (this.tagName === 'A' || this.tagName === 'AREA') {\n      event.preventDefault();\n    }\n\n    var $target = $(target).one(EVENT_SHOW$2, function (showEvent) {\n      if (showEvent.isDefaultPrevented()) {\n        // Only register focus restorer if modal will actually get shown\n        return;\n      }\n\n      $target.one(EVENT_HIDDEN$2, function () {\n        if ($(_this11).is(':visible')) {\n          _this11.focus();\n        }\n      });\n    });\n\n    Modal._jQueryInterface.call($(target), config, this);\n  });\n  /**\n   * ------------------------------------------------------------------------\n   * jQuery\n   * ------------------------------------------------------------------------\n   */\n\n  $.fn[NAME$5] = Modal._jQueryInterface;\n  $.fn[NAME$5].Constructor = Modal;\n\n  $.fn[NAME$5].noConflict = function () {\n    $.fn[NAME$5] = JQUERY_NO_CONFLICT$5;\n    return Modal._jQueryInterface;\n  };\n\n  /**\n   * --------------------------------------------------------------------------\n   * Bootstrap (v4.5.0): tools/sanitizer.js\n   * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n   * --------------------------------------------------------------------------\n   */\n  var uriAttrs = ['background', 'cite', 'href', 'itemtype', 'longdesc', 'poster', 'src', 'xlink:href'];\n  var ARIA_ATTRIBUTE_PATTERN = /^aria-[\\w-]*$/i;\n  var 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', 'srcset', '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   * 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   */\n\n  var SAFE_URL_PATTERN = /^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/gi;\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   */\n\n  var DATA_URL_PATTERN = /^data:(?:image\\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\\/(?:mpeg|mp4|ogg|webm)|audio\\/(?:mp3|oga|ogg|opus));base64,[\\d+/a-z]+=*$/i;\n\n  function allowedAttribute(attr, allowedAttributeList) {\n    var 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    var regExp = allowedAttributeList.filter(function (attrRegex) {\n      return attrRegex instanceof RegExp;\n    }); // Check if a regular expression validates the attribute.\n\n    for (var i = 0, len = regExp.length; i < len; i++) {\n      if (attrName.match(regExp[i])) {\n        return true;\n      }\n    }\n\n    return false;\n  }\n\n  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    var domParser = new window.DOMParser();\n    var createdDocument = domParser.parseFromString(unsafeHtml, 'text/html');\n    var whitelistKeys = Object.keys(whiteList);\n    var elements = [].slice.call(createdDocument.body.querySelectorAll('*'));\n\n    var _loop = function _loop(i, len) {\n      var el = elements[i];\n      var elName = el.nodeName.toLowerCase();\n\n      if (whitelistKeys.indexOf(el.nodeName.toLowerCase()) === -1) {\n        el.parentNode.removeChild(el);\n        return \"continue\";\n      }\n\n      var attributeList = [].slice.call(el.attributes);\n      var whitelistedAttributes = [].concat(whiteList['*'] || [], whiteList[elName] || []);\n      attributeList.forEach(function (attr) {\n        if (!allowedAttribute(attr, whitelistedAttributes)) {\n          el.removeAttribute(attr.nodeName);\n        }\n      });\n    };\n\n    for (var i = 0, len = elements.length; i < len; i++) {\n      var _ret = _loop(i);\n\n      if (_ret === \"continue\") continue;\n    }\n\n    return createdDocument.body.innerHTML;\n  }\n\n  /**\n   * ------------------------------------------------------------------------\n   * Constants\n   * ------------------------------------------------------------------------\n   */\n\n  var NAME$6 = 'tooltip';\n  var VERSION$6 = '4.5.0';\n  var DATA_KEY$6 = 'bs.tooltip';\n  var EVENT_KEY$6 = \".\" + DATA_KEY$6;\n  var JQUERY_NO_CONFLICT$6 = $.fn[NAME$6];\n  var CLASS_PREFIX = 'bs-tooltip';\n  var BSCLS_PREFIX_REGEX = new RegExp(\"(^|\\\\s)\" + CLASS_PREFIX + \"\\\\S+\", 'g');\n  var DISALLOWED_ATTRIBUTES = ['sanitize', 'whiteList', 'sanitizeFn'];\n  var DefaultType$4 = {\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    popperConfig: '(null|object)'\n  };\n  var AttachmentMap = {\n    AUTO: 'auto',\n    TOP: 'top',\n    RIGHT: 'right',\n    BOTTOM: 'bottom',\n    LEFT: 'left'\n  };\n  var Default$4 = {\n    animation: true,\n    template: '<div class=\"tooltip\" role=\"tooltip\">' + '<div class=\"arrow\"></div>' + '<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    popperConfig: null\n  };\n  var HOVER_STATE_SHOW = 'show';\n  var HOVER_STATE_OUT = 'out';\n  var Event = {\n    HIDE: \"hide\" + EVENT_KEY$6,\n    HIDDEN: \"hidden\" + EVENT_KEY$6,\n    SHOW: \"show\" + EVENT_KEY$6,\n    SHOWN: \"shown\" + EVENT_KEY$6,\n    INSERTED: \"inserted\" + EVENT_KEY$6,\n    CLICK: \"click\" + EVENT_KEY$6,\n    FOCUSIN: \"focusin\" + EVENT_KEY$6,\n    FOCUSOUT: \"focusout\" + EVENT_KEY$6,\n    MOUSEENTER: \"mouseenter\" + EVENT_KEY$6,\n    MOUSELEAVE: \"mouseleave\" + EVENT_KEY$6\n  };\n  var CLASS_NAME_FADE$2 = 'fade';\n  var CLASS_NAME_SHOW$4 = 'show';\n  var SELECTOR_TOOLTIP_INNER = '.tooltip-inner';\n  var SELECTOR_ARROW = '.arrow';\n  var TRIGGER_HOVER = 'hover';\n  var TRIGGER_FOCUS = 'focus';\n  var TRIGGER_CLICK = 'click';\n  var TRIGGER_MANUAL = 'manual';\n  /**\n   * ------------------------------------------------------------------------\n   * Class Definition\n   * ------------------------------------------------------------------------\n   */\n\n  var Tooltip = /*#__PURE__*/function () {\n    function Tooltip(element, config) {\n      if (typeof Popper === 'undefined') {\n        throw new TypeError('Bootstrap\\'s tooltips require Popper.js (https://popper.js.org/)');\n      } // private\n\n\n      this._isEnabled = true;\n      this._timeout = 0;\n      this._hoverState = '';\n      this._activeTrigger = {};\n      this._popper = null; // Protected\n\n      this.element = element;\n      this.config = this._getConfig(config);\n      this.tip = null;\n\n      this._setListeners();\n    } // Getters\n\n\n    var _proto = Tooltip.prototype;\n\n    // Public\n    _proto.enable = function enable() {\n      this._isEnabled = true;\n    };\n\n    _proto.disable = function disable() {\n      this._isEnabled = false;\n    };\n\n    _proto.toggleEnabled = function toggleEnabled() {\n      this._isEnabled = !this._isEnabled;\n    };\n\n    _proto.toggle = function toggle(event) {\n      if (!this._isEnabled) {\n        return;\n      }\n\n      if (event) {\n        var dataKey = this.constructor.DATA_KEY;\n        var context = $(event.currentTarget).data(dataKey);\n\n        if (!context) {\n          context = new this.constructor(event.currentTarget, this._getDelegateConfig());\n          $(event.currentTarget).data(dataKey, context);\n        }\n\n        context._activeTrigger.click = !context._activeTrigger.click;\n\n        if (context._isWithActiveTrigger()) {\n          context._enter(null, context);\n        } else {\n          context._leave(null, context);\n        }\n      } else {\n        if ($(this.getTipElement()).hasClass(CLASS_NAME_SHOW$4)) {\n          this._leave(null, this);\n\n          return;\n        }\n\n        this._enter(null, this);\n      }\n    };\n\n    _proto.dispose = function dispose() {\n      clearTimeout(this._timeout);\n      $.removeData(this.element, this.constructor.DATA_KEY);\n      $(this.element).off(this.constructor.EVENT_KEY);\n      $(this.element).closest('.modal').off('hide.bs.modal', this._hideModalHandler);\n\n      if (this.tip) {\n        $(this.tip).remove();\n      }\n\n      this._isEnabled = null;\n      this._timeout = null;\n      this._hoverState = null;\n      this._activeTrigger = null;\n\n      if (this._popper) {\n        this._popper.destroy();\n      }\n\n      this._popper = null;\n      this.element = null;\n      this.config = null;\n      this.tip = null;\n    };\n\n    _proto.show = function show() {\n      var _this = this;\n\n      if ($(this.element).css('display') === 'none') {\n        throw new Error('Please use show on visible elements');\n      }\n\n      var showEvent = $.Event(this.constructor.Event.SHOW);\n\n      if (this.isWithContent() && this._isEnabled) {\n        $(this.element).trigger(showEvent);\n        var shadowRoot = Util.findShadowRoot(this.element);\n        var isInTheDom = $.contains(shadowRoot !== null ? shadowRoot : this.element.ownerDocument.documentElement, this.element);\n\n        if (showEvent.isDefaultPrevented() || !isInTheDom) {\n          return;\n        }\n\n        var tip = this.getTipElement();\n        var tipId = Util.getUID(this.constructor.NAME);\n        tip.setAttribute('id', tipId);\n        this.element.setAttribute('aria-describedby', tipId);\n        this.setContent();\n\n        if (this.config.animation) {\n          $(tip).addClass(CLASS_NAME_FADE$2);\n        }\n\n        var placement = typeof this.config.placement === 'function' ? this.config.placement.call(this, tip, this.element) : this.config.placement;\n\n        var attachment = this._getAttachment(placement);\n\n        this.addAttachmentClass(attachment);\n\n        var container = this._getContainer();\n\n        $(tip).data(this.constructor.DATA_KEY, this);\n\n        if (!$.contains(this.element.ownerDocument.documentElement, this.tip)) {\n          $(tip).appendTo(container);\n        }\n\n        $(this.element).trigger(this.constructor.Event.INSERTED);\n        this._popper = new Popper(this.element, tip, this._getPopperConfig(attachment));\n        $(tip).addClass(CLASS_NAME_SHOW$4); // If this is a touch-enabled device we add extra\n        // empty mouseover listeners to the body's immediate children;\n        // only needed because of broken event delegation on iOS\n        // https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html\n\n        if ('ontouchstart' in document.documentElement) {\n          $(document.body).children().on('mouseover', null, $.noop);\n        }\n\n        var complete = function complete() {\n          if (_this.config.animation) {\n            _this._fixTransition();\n          }\n\n          var prevHoverState = _this._hoverState;\n          _this._hoverState = null;\n          $(_this.element).trigger(_this.constructor.Event.SHOWN);\n\n          if (prevHoverState === HOVER_STATE_OUT) {\n            _this._leave(null, _this);\n          }\n        };\n\n        if ($(this.tip).hasClass(CLASS_NAME_FADE$2)) {\n          var transitionDuration = Util.getTransitionDurationFromElement(this.tip);\n          $(this.tip).one(Util.TRANSITION_END, complete).emulateTransitionEnd(transitionDuration);\n        } else {\n          complete();\n        }\n      }\n    };\n\n    _proto.hide = function hide(callback) {\n      var _this2 = this;\n\n      var tip = this.getTipElement();\n      var hideEvent = $.Event(this.constructor.Event.HIDE);\n\n      var complete = function complete() {\n        if (_this2._hoverState !== HOVER_STATE_SHOW && tip.parentNode) {\n          tip.parentNode.removeChild(tip);\n        }\n\n        _this2._cleanTipClass();\n\n        _this2.element.removeAttribute('aria-describedby');\n\n        $(_this2.element).trigger(_this2.constructor.Event.HIDDEN);\n\n        if (_this2._popper !== null) {\n          _this2._popper.destroy();\n        }\n\n        if (callback) {\n          callback();\n        }\n      };\n\n      $(this.element).trigger(hideEvent);\n\n      if (hideEvent.isDefaultPrevented()) {\n        return;\n      }\n\n      $(tip).removeClass(CLASS_NAME_SHOW$4); // If this is a touch-enabled device we remove the extra\n      // empty mouseover listeners we added for iOS support\n\n      if ('ontouchstart' in document.documentElement) {\n        $(document.body).children().off('mouseover', null, $.noop);\n      }\n\n      this._activeTrigger[TRIGGER_CLICK] = false;\n      this._activeTrigger[TRIGGER_FOCUS] = false;\n      this._activeTrigger[TRIGGER_HOVER] = false;\n\n      if ($(this.tip).hasClass(CLASS_NAME_FADE$2)) {\n        var transitionDuration = Util.getTransitionDurationFromElement(tip);\n        $(tip).one(Util.TRANSITION_END, complete).emulateTransitionEnd(transitionDuration);\n      } else {\n        complete();\n      }\n\n      this._hoverState = '';\n    };\n\n    _proto.update = function update() {\n      if (this._popper !== null) {\n        this._popper.scheduleUpdate();\n      }\n    } // Protected\n    ;\n\n    _proto.isWithContent = function isWithContent() {\n      return Boolean(this.getTitle());\n    };\n\n    _proto.addAttachmentClass = function addAttachmentClass(attachment) {\n      $(this.getTipElement()).addClass(CLASS_PREFIX + \"-\" + attachment);\n    };\n\n    _proto.getTipElement = function getTipElement() {\n      this.tip = this.tip || $(this.config.template)[0];\n      return this.tip;\n    };\n\n    _proto.setContent = function setContent() {\n      var tip = this.getTipElement();\n      this.setElementContent($(tip.querySelectorAll(SELECTOR_TOOLTIP_INNER)), this.getTitle());\n      $(tip).removeClass(CLASS_NAME_FADE$2 + \" \" + CLASS_NAME_SHOW$4);\n    };\n\n    _proto.setElementContent = function setElementContent($element, content) {\n      if (typeof content === 'object' && (content.nodeType || content.jquery)) {\n        // Content is a DOM node or a jQuery\n        if (this.config.html) {\n          if (!$(content).parent().is($element)) {\n            $element.empty().append(content);\n          }\n        } else {\n          $element.text($(content).text());\n        }\n\n        return;\n      }\n\n      if (this.config.html) {\n        if (this.config.sanitize) {\n          content = sanitizeHtml(content, this.config.whiteList, this.config.sanitizeFn);\n        }\n\n        $element.html(content);\n      } else {\n        $element.text(content);\n      }\n    };\n\n    _proto.getTitle = function getTitle() {\n      var title = this.element.getAttribute('data-original-title');\n\n      if (!title) {\n        title = typeof this.config.title === 'function' ? this.config.title.call(this.element) : this.config.title;\n      }\n\n      return title;\n    } // Private\n    ;\n\n    _proto._getPopperConfig = function _getPopperConfig(attachment) {\n      var _this3 = this;\n\n      var defaultBsConfig = {\n        placement: attachment,\n        modifiers: {\n          offset: this._getOffset(),\n          flip: {\n            behavior: this.config.fallbackPlacement\n          },\n          arrow: {\n            element: SELECTOR_ARROW\n          },\n          preventOverflow: {\n            boundariesElement: this.config.boundary\n          }\n        },\n        onCreate: function onCreate(data) {\n          if (data.originalPlacement !== data.placement) {\n            _this3._handlePopperPlacementChange(data);\n          }\n        },\n        onUpdate: function onUpdate(data) {\n          return _this3._handlePopperPlacementChange(data);\n        }\n      };\n      return _objectSpread2(_objectSpread2({}, defaultBsConfig), this.config.popperConfig);\n    };\n\n    _proto._getOffset = function _getOffset() {\n      var _this4 = this;\n\n      var offset = {};\n\n      if (typeof this.config.offset === 'function') {\n        offset.fn = function (data) {\n          data.offsets = _objectSpread2(_objectSpread2({}, data.offsets), _this4.config.offset(data.offsets, _this4.element) || {});\n          return data;\n        };\n      } else {\n        offset.offset = this.config.offset;\n      }\n\n      return offset;\n    };\n\n    _proto._getContainer = function _getContainer() {\n      if (this.config.container === false) {\n        return document.body;\n      }\n\n      if (Util.isElement(this.config.container)) {\n        return $(this.config.container);\n      }\n\n      return $(document).find(this.config.container);\n    };\n\n    _proto._getAttachment = function _getAttachment(placement) {\n      return AttachmentMap[placement.toUpperCase()];\n    };\n\n    _proto._setListeners = function _setListeners() {\n      var _this5 = this;\n\n      var triggers = this.config.trigger.split(' ');\n      triggers.forEach(function (trigger) {\n        if (trigger === 'click') {\n          $(_this5.element).on(_this5.constructor.Event.CLICK, _this5.config.selector, function (event) {\n            return _this5.toggle(event);\n          });\n        } else if (trigger !== TRIGGER_MANUAL) {\n          var eventIn = trigger === TRIGGER_HOVER ? _this5.constructor.Event.MOUSEENTER : _this5.constructor.Event.FOCUSIN;\n          var eventOut = trigger === TRIGGER_HOVER ? _this5.constructor.Event.MOUSELEAVE : _this5.constructor.Event.FOCUSOUT;\n          $(_this5.element).on(eventIn, _this5.config.selector, function (event) {\n            return _this5._enter(event);\n          }).on(eventOut, _this5.config.selector, function (event) {\n            return _this5._leave(event);\n          });\n        }\n      });\n\n      this._hideModalHandler = function () {\n        if (_this5.element) {\n          _this5.hide();\n        }\n      };\n\n      $(this.element).closest('.modal').on('hide.bs.modal', this._hideModalHandler);\n\n      if (this.config.selector) {\n        this.config = _objectSpread2(_objectSpread2({}, this.config), {}, {\n          trigger: 'manual',\n          selector: ''\n        });\n      } else {\n        this._fixTitle();\n      }\n    };\n\n    _proto._fixTitle = function _fixTitle() {\n      var titleType = typeof this.element.getAttribute('data-original-title');\n\n      if (this.element.getAttribute('title') || titleType !== 'string') {\n        this.element.setAttribute('data-original-title', this.element.getAttribute('title') || '');\n        this.element.setAttribute('title', '');\n      }\n    };\n\n    _proto._enter = function _enter(event, context) {\n      var dataKey = this.constructor.DATA_KEY;\n      context = context || $(event.currentTarget).data(dataKey);\n\n      if (!context) {\n        context = new this.constructor(event.currentTarget, this._getDelegateConfig());\n        $(event.currentTarget).data(dataKey, context);\n      }\n\n      if (event) {\n        context._activeTrigger[event.type === 'focusin' ? TRIGGER_FOCUS : TRIGGER_HOVER] = true;\n      }\n\n      if ($(context.getTipElement()).hasClass(CLASS_NAME_SHOW$4) || context._hoverState === HOVER_STATE_SHOW) {\n        context._hoverState = HOVER_STATE_SHOW;\n        return;\n      }\n\n      clearTimeout(context._timeout);\n      context._hoverState = HOVER_STATE_SHOW;\n\n      if (!context.config.delay || !context.config.delay.show) {\n        context.show();\n        return;\n      }\n\n      context._timeout = setTimeout(function () {\n        if (context._hoverState === HOVER_STATE_SHOW) {\n          context.show();\n        }\n      }, context.config.delay.show);\n    };\n\n    _proto._leave = function _leave(event, context) {\n      var dataKey = this.constructor.DATA_KEY;\n      context = context || $(event.currentTarget).data(dataKey);\n\n      if (!context) {\n        context = new this.constructor(event.currentTarget, this._getDelegateConfig());\n        $(event.currentTarget).data(dataKey, context);\n      }\n\n      if (event) {\n        context._activeTrigger[event.type === 'focusout' ? TRIGGER_FOCUS : TRIGGER_HOVER] = false;\n      }\n\n      if (context._isWithActiveTrigger()) {\n        return;\n      }\n\n      clearTimeout(context._timeout);\n      context._hoverState = HOVER_STATE_OUT;\n\n      if (!context.config.delay || !context.config.delay.hide) {\n        context.hide();\n        return;\n      }\n\n      context._timeout = setTimeout(function () {\n        if (context._hoverState === HOVER_STATE_OUT) {\n          context.hide();\n        }\n      }, context.config.delay.hide);\n    };\n\n    _proto._isWithActiveTrigger = function _isWithActiveTrigger() {\n      for (var trigger in this._activeTrigger) {\n        if (this._activeTrigger[trigger]) {\n          return true;\n        }\n      }\n\n      return false;\n    };\n\n    _proto._getConfig = function _getConfig(config) {\n      var dataAttributes = $(this.element).data();\n      Object.keys(dataAttributes).forEach(function (dataAttr) {\n        if (DISALLOWED_ATTRIBUTES.indexOf(dataAttr) !== -1) {\n          delete dataAttributes[dataAttr];\n        }\n      });\n      config = _objectSpread2(_objectSpread2(_objectSpread2({}, this.constructor.Default), dataAttributes), typeof config === 'object' && config ? config : {});\n\n      if (typeof config.delay === 'number') {\n        config.delay = {\n          show: config.delay,\n          hide: config.delay\n        };\n      }\n\n      if (typeof config.title === 'number') {\n        config.title = config.title.toString();\n      }\n\n      if (typeof config.content === 'number') {\n        config.content = config.content.toString();\n      }\n\n      Util.typeCheckConfig(NAME$6, config, this.constructor.DefaultType);\n\n      if (config.sanitize) {\n        config.template = sanitizeHtml(config.template, config.whiteList, config.sanitizeFn);\n      }\n\n      return config;\n    };\n\n    _proto._getDelegateConfig = function _getDelegateConfig() {\n      var config = {};\n\n      if (this.config) {\n        for (var key in this.config) {\n          if (this.constructor.Default[key] !== this.config[key]) {\n            config[key] = this.config[key];\n          }\n        }\n      }\n\n      return config;\n    };\n\n    _proto._cleanTipClass = function _cleanTipClass() {\n      var $tip = $(this.getTipElement());\n      var tabClass = $tip.attr('class').match(BSCLS_PREFIX_REGEX);\n\n      if (tabClass !== null && tabClass.length) {\n        $tip.removeClass(tabClass.join(''));\n      }\n    };\n\n    _proto._handlePopperPlacementChange = function _handlePopperPlacementChange(popperData) {\n      this.tip = popperData.instance.popper;\n\n      this._cleanTipClass();\n\n      this.addAttachmentClass(this._getAttachment(popperData.placement));\n    };\n\n    _proto._fixTransition = function _fixTransition() {\n      var tip = this.getTipElement();\n      var initConfigAnimation = this.config.animation;\n\n      if (tip.getAttribute('x-placement') !== null) {\n        return;\n      }\n\n      $(tip).removeClass(CLASS_NAME_FADE$2);\n      this.config.animation = false;\n      this.hide();\n      this.show();\n      this.config.animation = initConfigAnimation;\n    } // Static\n    ;\n\n    Tooltip._jQueryInterface = function _jQueryInterface(config) {\n      return this.each(function () {\n        var data = $(this).data(DATA_KEY$6);\n\n        var _config = typeof config === 'object' && config;\n\n        if (!data && /dispose|hide/.test(config)) {\n          return;\n        }\n\n        if (!data) {\n          data = new Tooltip(this, _config);\n          $(this).data(DATA_KEY$6, data);\n        }\n\n        if (typeof config === 'string') {\n          if (typeof data[config] === 'undefined') {\n            throw new TypeError(\"No method named \\\"\" + config + \"\\\"\");\n          }\n\n          data[config]();\n        }\n      });\n    };\n\n    _createClass(Tooltip, null, [{\n      key: \"VERSION\",\n      get: function get() {\n        return VERSION$6;\n      }\n    }, {\n      key: \"Default\",\n      get: function get() {\n        return Default$4;\n      }\n    }, {\n      key: \"NAME\",\n      get: function get() {\n        return NAME$6;\n      }\n    }, {\n      key: \"DATA_KEY\",\n      get: function get() {\n        return DATA_KEY$6;\n      }\n    }, {\n      key: \"Event\",\n      get: function get() {\n        return Event;\n      }\n    }, {\n      key: \"EVENT_KEY\",\n      get: function get() {\n        return EVENT_KEY$6;\n      }\n    }, {\n      key: \"DefaultType\",\n      get: function get() {\n        return DefaultType$4;\n      }\n    }]);\n\n    return Tooltip;\n  }();\n  /**\n   * ------------------------------------------------------------------------\n   * jQuery\n   * ------------------------------------------------------------------------\n   */\n\n\n  $.fn[NAME$6] = Tooltip._jQueryInterface;\n  $.fn[NAME$6].Constructor = Tooltip;\n\n  $.fn[NAME$6].noConflict = function () {\n    $.fn[NAME$6] = JQUERY_NO_CONFLICT$6;\n    return Tooltip._jQueryInterface;\n  };\n\n  /**\n   * ------------------------------------------------------------------------\n   * Constants\n   * ------------------------------------------------------------------------\n   */\n\n  var NAME$7 = 'popover';\n  var VERSION$7 = '4.5.0';\n  var DATA_KEY$7 = 'bs.popover';\n  var EVENT_KEY$7 = \".\" + DATA_KEY$7;\n  var JQUERY_NO_CONFLICT$7 = $.fn[NAME$7];\n  var CLASS_PREFIX$1 = 'bs-popover';\n  var BSCLS_PREFIX_REGEX$1 = new RegExp(\"(^|\\\\s)\" + CLASS_PREFIX$1 + \"\\\\S+\", 'g');\n\n  var Default$5 = _objectSpread2(_objectSpread2({}, Tooltip.Default), {}, {\n    placement: 'right',\n    trigger: 'click',\n    content: '',\n    template: '<div class=\"popover\" role=\"tooltip\">' + '<div class=\"arrow\"></div>' + '<h3 class=\"popover-header\"></h3>' + '<div class=\"popover-body\"></div></div>'\n  });\n\n  var DefaultType$5 = _objectSpread2(_objectSpread2({}, Tooltip.DefaultType), {}, {\n    content: '(string|element|function)'\n  });\n\n  var CLASS_NAME_FADE$3 = 'fade';\n  var CLASS_NAME_SHOW$5 = 'show';\n  var SELECTOR_TITLE = '.popover-header';\n  var SELECTOR_CONTENT = '.popover-body';\n  var Event$1 = {\n    HIDE: \"hide\" + EVENT_KEY$7,\n    HIDDEN: \"hidden\" + EVENT_KEY$7,\n    SHOW: \"show\" + EVENT_KEY$7,\n    SHOWN: \"shown\" + EVENT_KEY$7,\n    INSERTED: \"inserted\" + EVENT_KEY$7,\n    CLICK: \"click\" + EVENT_KEY$7,\n    FOCUSIN: \"focusin\" + EVENT_KEY$7,\n    FOCUSOUT: \"focusout\" + EVENT_KEY$7,\n    MOUSEENTER: \"mouseenter\" + EVENT_KEY$7,\n    MOUSELEAVE: \"mouseleave\" + EVENT_KEY$7\n  };\n  /**\n   * ------------------------------------------------------------------------\n   * Class Definition\n   * ------------------------------------------------------------------------\n   */\n\n  var Popover = /*#__PURE__*/function (_Tooltip) {\n    _inheritsLoose(Popover, _Tooltip);\n\n    function Popover() {\n      return _Tooltip.apply(this, arguments) || this;\n    }\n\n    var _proto = Popover.prototype;\n\n    // Overrides\n    _proto.isWithContent = function isWithContent() {\n      return this.getTitle() || this._getContent();\n    };\n\n    _proto.addAttachmentClass = function addAttachmentClass(attachment) {\n      $(this.getTipElement()).addClass(CLASS_PREFIX$1 + \"-\" + attachment);\n    };\n\n    _proto.getTipElement = function getTipElement() {\n      this.tip = this.tip || $(this.config.template)[0];\n      return this.tip;\n    };\n\n    _proto.setContent = function setContent() {\n      var $tip = $(this.getTipElement()); // We use append for html objects to maintain js events\n\n      this.setElementContent($tip.find(SELECTOR_TITLE), this.getTitle());\n\n      var content = this._getContent();\n\n      if (typeof content === 'function') {\n        content = content.call(this.element);\n      }\n\n      this.setElementContent($tip.find(SELECTOR_CONTENT), content);\n      $tip.removeClass(CLASS_NAME_FADE$3 + \" \" + CLASS_NAME_SHOW$5);\n    } // Private\n    ;\n\n    _proto._getContent = function _getContent() {\n      return this.element.getAttribute('data-content') || this.config.content;\n    };\n\n    _proto._cleanTipClass = function _cleanTipClass() {\n      var $tip = $(this.getTipElement());\n      var tabClass = $tip.attr('class').match(BSCLS_PREFIX_REGEX$1);\n\n      if (tabClass !== null && tabClass.length > 0) {\n        $tip.removeClass(tabClass.join(''));\n      }\n    } // Static\n    ;\n\n    Popover._jQueryInterface = function _jQueryInterface(config) {\n      return this.each(function () {\n        var data = $(this).data(DATA_KEY$7);\n\n        var _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$7, data);\n        }\n\n        if (typeof config === 'string') {\n          if (typeof data[config] === 'undefined') {\n            throw new TypeError(\"No method named \\\"\" + config + \"\\\"\");\n          }\n\n          data[config]();\n        }\n      });\n    };\n\n    _createClass(Popover, null, [{\n      key: \"VERSION\",\n      // Getters\n      get: function get() {\n        return VERSION$7;\n      }\n    }, {\n      key: \"Default\",\n      get: function get() {\n        return Default$5;\n      }\n    }, {\n      key: \"NAME\",\n      get: function get() {\n        return NAME$7;\n      }\n    }, {\n      key: \"DATA_KEY\",\n      get: function get() {\n        return DATA_KEY$7;\n      }\n    }, {\n      key: \"Event\",\n      get: function get() {\n        return Event$1;\n      }\n    }, {\n      key: \"EVENT_KEY\",\n      get: function get() {\n        return EVENT_KEY$7;\n      }\n    }, {\n      key: \"DefaultType\",\n      get: function get() {\n        return DefaultType$5;\n      }\n    }]);\n\n    return Popover;\n  }(Tooltip);\n  /**\n   * ------------------------------------------------------------------------\n   * jQuery\n   * ------------------------------------------------------------------------\n   */\n\n\n  $.fn[NAME$7] = Popover._jQueryInterface;\n  $.fn[NAME$7].Constructor = Popover;\n\n  $.fn[NAME$7].noConflict = function () {\n    $.fn[NAME$7] = JQUERY_NO_CONFLICT$7;\n    return Popover._jQueryInterface;\n  };\n\n  /**\n   * ------------------------------------------------------------------------\n   * Constants\n   * ------------------------------------------------------------------------\n   */\n\n  var NAME$8 = 'scrollspy';\n  var VERSION$8 = '4.5.0';\n  var DATA_KEY$8 = 'bs.scrollspy';\n  var EVENT_KEY$8 = \".\" + DATA_KEY$8;\n  var DATA_API_KEY$6 = '.data-api';\n  var JQUERY_NO_CONFLICT$8 = $.fn[NAME$8];\n  var Default$6 = {\n    offset: 10,\n    method: 'auto',\n    target: ''\n  };\n  var DefaultType$6 = {\n    offset: 'number',\n    method: 'string',\n    target: '(string|element)'\n  };\n  var EVENT_ACTIVATE = \"activate\" + EVENT_KEY$8;\n  var EVENT_SCROLL = \"scroll\" + EVENT_KEY$8;\n  var EVENT_LOAD_DATA_API$2 = \"load\" + EVENT_KEY$8 + DATA_API_KEY$6;\n  var CLASS_NAME_DROPDOWN_ITEM = 'dropdown-item';\n  var CLASS_NAME_ACTIVE$2 = 'active';\n  var SELECTOR_DATA_SPY = '[data-spy=\"scroll\"]';\n  var SELECTOR_NAV_LIST_GROUP = '.nav, .list-group';\n  var SELECTOR_NAV_LINKS = '.nav-link';\n  var SELECTOR_NAV_ITEMS = '.nav-item';\n  var SELECTOR_LIST_ITEMS = '.list-group-item';\n  var SELECTOR_DROPDOWN = '.dropdown';\n  var SELECTOR_DROPDOWN_ITEMS = '.dropdown-item';\n  var SELECTOR_DROPDOWN_TOGGLE = '.dropdown-toggle';\n  var METHOD_OFFSET = 'offset';\n  var METHOD_POSITION = 'position';\n  /**\n   * ------------------------------------------------------------------------\n   * Class Definition\n   * ------------------------------------------------------------------------\n   */\n\n  var ScrollSpy = /*#__PURE__*/function () {\n    function ScrollSpy(element, config) {\n      var _this = this;\n\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 + \",\" + (this._config.target + \" \" + SELECTOR_LIST_ITEMS + \",\") + (this._config.target + \" \" + SELECTOR_DROPDOWN_ITEMS);\n      this._offsets = [];\n      this._targets = [];\n      this._activeTarget = null;\n      this._scrollHeight = 0;\n      $(this._scrollElement).on(EVENT_SCROLL, function (event) {\n        return _this._process(event);\n      });\n      this.refresh();\n\n      this._process();\n    } // Getters\n\n\n    var _proto = ScrollSpy.prototype;\n\n    // Public\n    _proto.refresh = function refresh() {\n      var _this2 = this;\n\n      var autoMethod = this._scrollElement === this._scrollElement.window ? METHOD_OFFSET : METHOD_POSITION;\n      var offsetMethod = this._config.method === 'auto' ? autoMethod : this._config.method;\n      var offsetBase = offsetMethod === METHOD_POSITION ? this._getScrollTop() : 0;\n      this._offsets = [];\n      this._targets = [];\n      this._scrollHeight = this._getScrollHeight();\n      var targets = [].slice.call(document.querySelectorAll(this._selector));\n      targets.map(function (element) {\n        var target;\n        var targetSelector = Util.getSelectorFromElement(element);\n\n        if (targetSelector) {\n          target = document.querySelector(targetSelector);\n        }\n\n        if (target) {\n          var targetBCR = target.getBoundingClientRect();\n\n          if (targetBCR.width || targetBCR.height) {\n            // TODO (fat): remove sketch reliance on jQuery position/offset\n            return [$(target)[offsetMethod]().top + offsetBase, targetSelector];\n          }\n        }\n\n        return null;\n      }).filter(function (item) {\n        return item;\n      }).sort(function (a, b) {\n        return a[0] - b[0];\n      }).forEach(function (item) {\n        _this2._offsets.push(item[0]);\n\n        _this2._targets.push(item[1]);\n      });\n    };\n\n    _proto.dispose = function dispose() {\n      $.removeData(this._element, DATA_KEY$8);\n      $(this._scrollElement).off(EVENT_KEY$8);\n      this._element = null;\n      this._scrollElement = null;\n      this._config = null;\n      this._selector = null;\n      this._offsets = null;\n      this._targets = null;\n      this._activeTarget = null;\n      this._scrollHeight = null;\n    } // Private\n    ;\n\n    _proto._getConfig = function _getConfig(config) {\n      config = _objectSpread2(_objectSpread2({}, Default$6), typeof config === 'object' && config ? config : {});\n\n      if (typeof config.target !== 'string' && Util.isElement(config.target)) {\n        var id = $(config.target).attr('id');\n\n        if (!id) {\n          id = Util.getUID(NAME$8);\n          $(config.target).attr('id', id);\n        }\n\n        config.target = \"#\" + id;\n      }\n\n      Util.typeCheckConfig(NAME$8, config, DefaultType$6);\n      return config;\n    };\n\n    _proto._getScrollTop = function _getScrollTop() {\n      return this._scrollElement === window ? this._scrollElement.pageYOffset : this._scrollElement.scrollTop;\n    };\n\n    _proto._getScrollHeight = function _getScrollHeight() {\n      return this._scrollElement.scrollHeight || Math.max(document.body.scrollHeight, document.documentElement.scrollHeight);\n    };\n\n    _proto._getOffsetHeight = function _getOffsetHeight() {\n      return this._scrollElement === window ? window.innerHeight : this._scrollElement.getBoundingClientRect().height;\n    };\n\n    _proto._process = function _process() {\n      var scrollTop = this._getScrollTop() + this._config.offset;\n\n      var scrollHeight = this._getScrollHeight();\n\n      var maxScroll = this._config.offset + scrollHeight - this._getOffsetHeight();\n\n      if (this._scrollHeight !== scrollHeight) {\n        this.refresh();\n      }\n\n      if (scrollTop >= maxScroll) {\n        var target = this._targets[this._targets.length - 1];\n\n        if (this._activeTarget !== target) {\n          this._activate(target);\n        }\n\n        return;\n      }\n\n      if (this._activeTarget && scrollTop < this._offsets[0] && this._offsets[0] > 0) {\n        this._activeTarget = null;\n\n        this._clear();\n\n        return;\n      }\n\n      for (var i = this._offsets.length; i--;) {\n        var isActiveTarget = this._activeTarget !== this._targets[i] && scrollTop >= this._offsets[i] && (typeof this._offsets[i + 1] === 'undefined' || scrollTop < this._offsets[i + 1]);\n\n        if (isActiveTarget) {\n          this._activate(this._targets[i]);\n        }\n      }\n    };\n\n    _proto._activate = function _activate(target) {\n      this._activeTarget = target;\n\n      this._clear();\n\n      var queries = this._selector.split(',').map(function (selector) {\n        return selector + \"[data-target=\\\"\" + target + \"\\\"],\" + selector + \"[href=\\\"\" + target + \"\\\"]\";\n      });\n\n      var $link = $([].slice.call(document.querySelectorAll(queries.join(','))));\n\n      if ($link.hasClass(CLASS_NAME_DROPDOWN_ITEM)) {\n        $link.closest(SELECTOR_DROPDOWN).find(SELECTOR_DROPDOWN_TOGGLE).addClass(CLASS_NAME_ACTIVE$2);\n        $link.addClass(CLASS_NAME_ACTIVE$2);\n      } else {\n        // Set triggered link as active\n        $link.addClass(CLASS_NAME_ACTIVE$2); // Set triggered links parents as active\n        // With both <ul> and <nav> markup a parent is the previous sibling of any nav ancestor\n\n        $link.parents(SELECTOR_NAV_LIST_GROUP).prev(SELECTOR_NAV_LINKS + \", \" + SELECTOR_LIST_ITEMS).addClass(CLASS_NAME_ACTIVE$2); // Handle special case when .nav-link is inside .nav-item\n\n        $link.parents(SELECTOR_NAV_LIST_GROUP).prev(SELECTOR_NAV_ITEMS).children(SELECTOR_NAV_LINKS).addClass(CLASS_NAME_ACTIVE$2);\n      }\n\n      $(this._scrollElement).trigger(EVENT_ACTIVATE, {\n        relatedTarget: target\n      });\n    };\n\n    _proto._clear = function _clear() {\n      [].slice.call(document.querySelectorAll(this._selector)).filter(function (node) {\n        return node.classList.contains(CLASS_NAME_ACTIVE$2);\n      }).forEach(function (node) {\n        return node.classList.remove(CLASS_NAME_ACTIVE$2);\n      });\n    } // Static\n    ;\n\n    ScrollSpy._jQueryInterface = function _jQueryInterface(config) {\n      return this.each(function () {\n        var data = $(this).data(DATA_KEY$8);\n\n        var _config = typeof config === 'object' && config;\n\n        if (!data) {\n          data = new ScrollSpy(this, _config);\n          $(this).data(DATA_KEY$8, data);\n        }\n\n        if (typeof config === 'string') {\n          if (typeof data[config] === 'undefined') {\n            throw new TypeError(\"No method named \\\"\" + config + \"\\\"\");\n          }\n\n          data[config]();\n        }\n      });\n    };\n\n    _createClass(ScrollSpy, null, [{\n      key: \"VERSION\",\n      get: function get() {\n        return VERSION$8;\n      }\n    }, {\n      key: \"Default\",\n      get: function get() {\n        return Default$6;\n      }\n    }]);\n\n    return ScrollSpy;\n  }();\n  /**\n   * ------------------------------------------------------------------------\n   * Data Api implementation\n   * ------------------------------------------------------------------------\n   */\n\n\n  $(window).on(EVENT_LOAD_DATA_API$2, function () {\n    var scrollSpys = [].slice.call(document.querySelectorAll(SELECTOR_DATA_SPY));\n    var scrollSpysLength = scrollSpys.length;\n\n    for (var i = scrollSpysLength; i--;) {\n      var $spy = $(scrollSpys[i]);\n\n      ScrollSpy._jQueryInterface.call($spy, $spy.data());\n    }\n  });\n  /**\n   * ------------------------------------------------------------------------\n   * jQuery\n   * ------------------------------------------------------------------------\n   */\n\n  $.fn[NAME$8] = ScrollSpy._jQueryInterface;\n  $.fn[NAME$8].Constructor = ScrollSpy;\n\n  $.fn[NAME$8].noConflict = function () {\n    $.fn[NAME$8] = JQUERY_NO_CONFLICT$8;\n    return ScrollSpy._jQueryInterface;\n  };\n\n  /**\n   * ------------------------------------------------------------------------\n   * Constants\n   * ------------------------------------------------------------------------\n   */\n\n  var NAME$9 = 'tab';\n  var VERSION$9 = '4.5.0';\n  var DATA_KEY$9 = 'bs.tab';\n  var EVENT_KEY$9 = \".\" + DATA_KEY$9;\n  var DATA_API_KEY$7 = '.data-api';\n  var JQUERY_NO_CONFLICT$9 = $.fn[NAME$9];\n  var EVENT_HIDE$3 = \"hide\" + EVENT_KEY$9;\n  var EVENT_HIDDEN$3 = \"hidden\" + EVENT_KEY$9;\n  var EVENT_SHOW$3 = \"show\" + EVENT_KEY$9;\n  var EVENT_SHOWN$3 = \"shown\" + EVENT_KEY$9;\n  var EVENT_CLICK_DATA_API$6 = \"click\" + EVENT_KEY$9 + DATA_API_KEY$7;\n  var CLASS_NAME_DROPDOWN_MENU = 'dropdown-menu';\n  var CLASS_NAME_ACTIVE$3 = 'active';\n  var CLASS_NAME_DISABLED$1 = 'disabled';\n  var CLASS_NAME_FADE$4 = 'fade';\n  var CLASS_NAME_SHOW$6 = 'show';\n  var SELECTOR_DROPDOWN$1 = '.dropdown';\n  var SELECTOR_NAV_LIST_GROUP$1 = '.nav, .list-group';\n  var SELECTOR_ACTIVE$2 = '.active';\n  var SELECTOR_ACTIVE_UL = '> li > .active';\n  var SELECTOR_DATA_TOGGLE$4 = '[data-toggle=\"tab\"], [data-toggle=\"pill\"], [data-toggle=\"list\"]';\n  var SELECTOR_DROPDOWN_TOGGLE$1 = '.dropdown-toggle';\n  var SELECTOR_DROPDOWN_ACTIVE_CHILD = '> .dropdown-menu .active';\n  /**\n   * ------------------------------------------------------------------------\n   * Class Definition\n   * ------------------------------------------------------------------------\n   */\n\n  var Tab = /*#__PURE__*/function () {\n    function Tab(element) {\n      this._element = element;\n    } // Getters\n\n\n    var _proto = Tab.prototype;\n\n    // Public\n    _proto.show = function show() {\n      var _this = this;\n\n      if (this._element.parentNode && this._element.parentNode.nodeType === Node.ELEMENT_NODE && $(this._element).hasClass(CLASS_NAME_ACTIVE$3) || $(this._element).hasClass(CLASS_NAME_DISABLED$1)) {\n        return;\n      }\n\n      var target;\n      var previous;\n      var listElement = $(this._element).closest(SELECTOR_NAV_LIST_GROUP$1)[0];\n      var selector = Util.getSelectorFromElement(this._element);\n\n      if (listElement) {\n        var itemSelector = listElement.nodeName === 'UL' || listElement.nodeName === 'OL' ? SELECTOR_ACTIVE_UL : SELECTOR_ACTIVE$2;\n        previous = $.makeArray($(listElement).find(itemSelector));\n        previous = previous[previous.length - 1];\n      }\n\n      var hideEvent = $.Event(EVENT_HIDE$3, {\n        relatedTarget: this._element\n      });\n      var showEvent = $.Event(EVENT_SHOW$3, {\n        relatedTarget: previous\n      });\n\n      if (previous) {\n        $(previous).trigger(hideEvent);\n      }\n\n      $(this._element).trigger(showEvent);\n\n      if (showEvent.isDefaultPrevented() || hideEvent.isDefaultPrevented()) {\n        return;\n      }\n\n      if (selector) {\n        target = document.querySelector(selector);\n      }\n\n      this._activate(this._element, listElement);\n\n      var complete = function complete() {\n        var hiddenEvent = $.Event(EVENT_HIDDEN$3, {\n          relatedTarget: _this._element\n        });\n        var shownEvent = $.Event(EVENT_SHOWN$3, {\n          relatedTarget: previous\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    _proto.dispose = function dispose() {\n      $.removeData(this._element, DATA_KEY$9);\n      this._element = null;\n    } // Private\n    ;\n\n    _proto._activate = function _activate(element, container, callback) {\n      var _this2 = this;\n\n      var activeElements = container && (container.nodeName === 'UL' || container.nodeName === 'OL') ? $(container).find(SELECTOR_ACTIVE_UL) : $(container).children(SELECTOR_ACTIVE$2);\n      var active = activeElements[0];\n      var isTransitioning = callback && active && $(active).hasClass(CLASS_NAME_FADE$4);\n\n      var complete = function complete() {\n        return _this2._transitionComplete(element, active, callback);\n      };\n\n      if (active && isTransitioning) {\n        var transitionDuration = Util.getTransitionDurationFromElement(active);\n        $(active).removeClass(CLASS_NAME_SHOW$6).one(Util.TRANSITION_END, complete).emulateTransitionEnd(transitionDuration);\n      } else {\n        complete();\n      }\n    };\n\n    _proto._transitionComplete = function _transitionComplete(element, active, callback) {\n      if (active) {\n        $(active).removeClass(CLASS_NAME_ACTIVE$3);\n        var dropdownChild = $(active.parentNode).find(SELECTOR_DROPDOWN_ACTIVE_CHILD)[0];\n\n        if (dropdownChild) {\n          $(dropdownChild).removeClass(CLASS_NAME_ACTIVE$3);\n        }\n\n        if (active.getAttribute('role') === 'tab') {\n          active.setAttribute('aria-selected', false);\n        }\n      }\n\n      $(element).addClass(CLASS_NAME_ACTIVE$3);\n\n      if (element.getAttribute('role') === 'tab') {\n        element.setAttribute('aria-selected', true);\n      }\n\n      Util.reflow(element);\n\n      if (element.classList.contains(CLASS_NAME_FADE$4)) {\n        element.classList.add(CLASS_NAME_SHOW$6);\n      }\n\n      if (element.parentNode && $(element.parentNode).hasClass(CLASS_NAME_DROPDOWN_MENU)) {\n        var dropdownElement = $(element).closest(SELECTOR_DROPDOWN$1)[0];\n\n        if (dropdownElement) {\n          var dropdownToggleList = [].slice.call(dropdownElement.querySelectorAll(SELECTOR_DROPDOWN_TOGGLE$1));\n          $(dropdownToggleList).addClass(CLASS_NAME_ACTIVE$3);\n        }\n\n        element.setAttribute('aria-expanded', true);\n      }\n\n      if (callback) {\n        callback();\n      }\n    } // Static\n    ;\n\n    Tab._jQueryInterface = function _jQueryInterface(config) {\n      return this.each(function () {\n        var $this = $(this);\n        var data = $this.data(DATA_KEY$9);\n\n        if (!data) {\n          data = new Tab(this);\n          $this.data(DATA_KEY$9, data);\n        }\n\n        if (typeof config === 'string') {\n          if (typeof data[config] === 'undefined') {\n            throw new TypeError(\"No method named \\\"\" + config + \"\\\"\");\n          }\n\n          data[config]();\n        }\n      });\n    };\n\n    _createClass(Tab, null, [{\n      key: \"VERSION\",\n      get: function get() {\n        return VERSION$9;\n      }\n    }]);\n\n    return Tab;\n  }();\n  /**\n   * ------------------------------------------------------------------------\n   * Data Api implementation\n   * ------------------------------------------------------------------------\n   */\n\n\n  $(document).on(EVENT_CLICK_DATA_API$6, SELECTOR_DATA_TOGGLE$4, function (event) {\n    event.preventDefault();\n\n    Tab._jQueryInterface.call($(this), 'show');\n  });\n  /**\n   * ------------------------------------------------------------------------\n   * jQuery\n   * ------------------------------------------------------------------------\n   */\n\n  $.fn[NAME$9] = Tab._jQueryInterface;\n  $.fn[NAME$9].Constructor = Tab;\n\n  $.fn[NAME$9].noConflict = function () {\n    $.fn[NAME$9] = JQUERY_NO_CONFLICT$9;\n    return Tab._jQueryInterface;\n  };\n\n  /**\n   * ------------------------------------------------------------------------\n   * Constants\n   * ------------------------------------------------------------------------\n   */\n\n  var NAME$a = 'toast';\n  var VERSION$a = '4.5.0';\n  var DATA_KEY$a = 'bs.toast';\n  var EVENT_KEY$a = \".\" + DATA_KEY$a;\n  var JQUERY_NO_CONFLICT$a = $.fn[NAME$a];\n  var EVENT_CLICK_DISMISS$1 = \"click.dismiss\" + EVENT_KEY$a;\n  var EVENT_HIDE$4 = \"hide\" + EVENT_KEY$a;\n  var EVENT_HIDDEN$4 = \"hidden\" + EVENT_KEY$a;\n  var EVENT_SHOW$4 = \"show\" + EVENT_KEY$a;\n  var EVENT_SHOWN$4 = \"shown\" + EVENT_KEY$a;\n  var CLASS_NAME_FADE$5 = 'fade';\n  var CLASS_NAME_HIDE = 'hide';\n  var CLASS_NAME_SHOW$7 = 'show';\n  var CLASS_NAME_SHOWING = 'showing';\n  var DefaultType$7 = {\n    animation: 'boolean',\n    autohide: 'boolean',\n    delay: 'number'\n  };\n  var Default$7 = {\n    animation: true,\n    autohide: true,\n    delay: 500\n  };\n  var SELECTOR_DATA_DISMISS$1 = '[data-dismiss=\"toast\"]';\n  /**\n   * ------------------------------------------------------------------------\n   * Class Definition\n   * ------------------------------------------------------------------------\n   */\n\n  var Toast = /*#__PURE__*/function () {\n    function Toast(element, config) {\n      this._element = element;\n      this._config = this._getConfig(config);\n      this._timeout = null;\n\n      this._setListeners();\n    } // Getters\n\n\n    var _proto = Toast.prototype;\n\n    // Public\n    _proto.show = function show() {\n      var _this = this;\n\n      var showEvent = $.Event(EVENT_SHOW$4);\n      $(this._element).trigger(showEvent);\n\n      if (showEvent.isDefaultPrevented()) {\n        return;\n      }\n\n      if (this._config.animation) {\n        this._element.classList.add(CLASS_NAME_FADE$5);\n      }\n\n      var complete = function complete() {\n        _this._element.classList.remove(CLASS_NAME_SHOWING);\n\n        _this._element.classList.add(CLASS_NAME_SHOW$7);\n\n        $(_this._element).trigger(EVENT_SHOWN$4);\n\n        if (_this._config.autohide) {\n          _this._timeout = setTimeout(function () {\n            _this.hide();\n          }, _this._config.delay);\n        }\n      };\n\n      this._element.classList.remove(CLASS_NAME_HIDE);\n\n      Util.reflow(this._element);\n\n      this._element.classList.add(CLASS_NAME_SHOWING);\n\n      if (this._config.animation) {\n        var transitionDuration = Util.getTransitionDurationFromElement(this._element);\n        $(this._element).one(Util.TRANSITION_END, complete).emulateTransitionEnd(transitionDuration);\n      } else {\n        complete();\n      }\n    };\n\n    _proto.hide = function hide() {\n      if (!this._element.classList.contains(CLASS_NAME_SHOW$7)) {\n        return;\n      }\n\n      var hideEvent = $.Event(EVENT_HIDE$4);\n      $(this._element).trigger(hideEvent);\n\n      if (hideEvent.isDefaultPrevented()) {\n        return;\n      }\n\n      this._close();\n    };\n\n    _proto.dispose = function dispose() {\n      clearTimeout(this._timeout);\n      this._timeout = null;\n\n      if (this._element.classList.contains(CLASS_NAME_SHOW$7)) {\n        this._element.classList.remove(CLASS_NAME_SHOW$7);\n      }\n\n      $(this._element).off(EVENT_CLICK_DISMISS$1);\n      $.removeData(this._element, DATA_KEY$a);\n      this._element = null;\n      this._config = null;\n    } // Private\n    ;\n\n    _proto._getConfig = function _getConfig(config) {\n      config = _objectSpread2(_objectSpread2(_objectSpread2({}, Default$7), $(this._element).data()), typeof config === 'object' && config ? config : {});\n      Util.typeCheckConfig(NAME$a, config, this.constructor.DefaultType);\n      return config;\n    };\n\n    _proto._setListeners = function _setListeners() {\n      var _this2 = this;\n\n      $(this._element).on(EVENT_CLICK_DISMISS$1, SELECTOR_DATA_DISMISS$1, function () {\n        return _this2.hide();\n      });\n    };\n\n    _proto._close = function _close() {\n      var _this3 = this;\n\n      var complete = function complete() {\n        _this3._element.classList.add(CLASS_NAME_HIDE);\n\n        $(_this3._element).trigger(EVENT_HIDDEN$4);\n      };\n\n      this._element.classList.remove(CLASS_NAME_SHOW$7);\n\n      if (this._config.animation) {\n        var transitionDuration = Util.getTransitionDurationFromElement(this._element);\n        $(this._element).one(Util.TRANSITION_END, complete).emulateTransitionEnd(transitionDuration);\n      } else {\n        complete();\n      }\n    } // Static\n    ;\n\n    Toast._jQueryInterface = function _jQueryInterface(config) {\n      return this.each(function () {\n        var $element = $(this);\n        var data = $element.data(DATA_KEY$a);\n\n        var _config = typeof config === 'object' && config;\n\n        if (!data) {\n          data = new Toast(this, _config);\n          $element.data(DATA_KEY$a, data);\n        }\n\n        if (typeof config === 'string') {\n          if (typeof data[config] === 'undefined') {\n            throw new TypeError(\"No method named \\\"\" + config + \"\\\"\");\n          }\n\n          data[config](this);\n        }\n      });\n    };\n\n    _createClass(Toast, null, [{\n      key: \"VERSION\",\n      get: function get() {\n        return VERSION$a;\n      }\n    }, {\n      key: \"DefaultType\",\n      get: function get() {\n        return DefaultType$7;\n      }\n    }, {\n      key: \"Default\",\n      get: function get() {\n        return Default$7;\n      }\n    }]);\n\n    return Toast;\n  }();\n  /**\n   * ------------------------------------------------------------------------\n   * jQuery\n   * ------------------------------------------------------------------------\n   */\n\n\n  $.fn[NAME$a] = Toast._jQueryInterface;\n  $.fn[NAME$a].Constructor = Toast;\n\n  $.fn[NAME$a].noConflict = function () {\n    $.fn[NAME$a] = JQUERY_NO_CONFLICT$a;\n    return Toast._jQueryInterface;\n  };\n\n  exports.Alert = Alert;\n  exports.Button = Button;\n  exports.Carousel = Carousel;\n  exports.Collapse = Collapse;\n  exports.Dropdown = Dropdown;\n  exports.Modal = Modal;\n  exports.Popover = Popover;\n  exports.Scrollspy = ScrollSpy;\n  exports.Tab = Tab;\n  exports.Toast = Toast;\n  exports.Tooltip = Tooltip;\n  exports.Util = Util;\n\n  Object.defineProperty(exports, '__esModule', { value: true });\n\n})));\n//# sourceMappingURL=bootstrap.js.map\n","/*!\n * jQuery JavaScript Library v3.7.1\n * https://jquery.com/\n *\n * Copyright OpenJS Foundation and other contributors\n * Released under the MIT license\n * https://jquery.org/license\n *\n * Date: 2023-08-28T13:37Z\n */\n( function( global, factory ) {\n\n\t\"use strict\";\n\n\tif ( typeof module === \"object\" && typeof module.exports === \"object\" ) {\n\n\t\t// For CommonJS and CommonJS-like environments where a proper `window`\n\t\t// is present, execute the factory and get jQuery.\n\t\t// For environments that do not have a `window` with a `document`\n\t\t// (such as Node.js), expose a factory as module.exports.\n\t\t// This accentuates the need for the creation of a real `window`.\n\t\t// e.g. var jQuery = require(\"jquery\")(window);\n\t\t// See ticket trac-14549 for more info.\n\t\tmodule.exports = global.document ?\n\t\t\tfactory( global, true ) :\n\t\t\tfunction( w ) {\n\t\t\t\tif ( !w.document ) {\n\t\t\t\t\tthrow new Error( \"jQuery requires a window with a document\" );\n\t\t\t\t}\n\t\t\t\treturn factory( w );\n\t\t\t};\n\t} else {\n\t\tfactory( global );\n\t}\n\n// Pass this if window is not defined yet\n} )( typeof window !== \"undefined\" ? window : this, function( window, noGlobal ) {\n\n// Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1\n// throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode\n// arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common\n// enough that all such attempts are guarded in a try block.\n\"use strict\";\n\nvar arr = [];\n\nvar getProto = Object.getPrototypeOf;\n\nvar slice = arr.slice;\n\nvar flat = arr.flat ? function( array ) {\n\treturn arr.flat.call( array );\n} : function( array ) {\n\treturn arr.concat.apply( [], array );\n};\n\n\nvar push = arr.push;\n\nvar indexOf = arr.indexOf;\n\nvar class2type = {};\n\nvar toString = class2type.toString;\n\nvar hasOwn = class2type.hasOwnProperty;\n\nvar fnToString = hasOwn.toString;\n\nvar ObjectFunctionString = fnToString.call( Object );\n\nvar support = {};\n\nvar isFunction = function isFunction( obj ) {\n\n\t\t// Support: Chrome <=57, Firefox <=52\n\t\t// In some browsers, typeof returns \"function\" for HTML <object> elements\n\t\t// (i.e., `typeof document.createElement( \"object\" ) === \"function\"`).\n\t\t// We don't want to classify *any* DOM node as a function.\n\t\t// Support: QtWeb <=3.8.5, WebKit <=534.34, wkhtmltopdf tool <=0.12.5\n\t\t// Plus for old WebKit, typeof returns \"function\" for HTML collections\n\t\t// (e.g., `typeof document.getElementsByTagName(\"div\") === \"function\"`). (gh-4756)\n\t\treturn typeof obj === \"function\" && typeof obj.nodeType !== \"number\" &&\n\t\t\ttypeof obj.item !== \"function\";\n\t};\n\n\nvar isWindow = function isWindow( obj ) {\n\t\treturn obj != null && obj === obj.window;\n\t};\n\n\nvar document = window.document;\n\n\n\n\tvar preservedScriptAttributes = {\n\t\ttype: true,\n\t\tsrc: true,\n\t\tnonce: true,\n\t\tnoModule: true\n\t};\n\n\tfunction DOMEval( code, node, doc ) {\n\t\tdoc = doc || document;\n\n\t\tvar i, val,\n\t\t\tscript = doc.createElement( \"script\" );\n\n\t\tscript.text = code;\n\t\tif ( node ) {\n\t\t\tfor ( i in preservedScriptAttributes ) {\n\n\t\t\t\t// Support: Firefox 64+, Edge 18+\n\t\t\t\t// Some browsers don't support the \"nonce\" property on scripts.\n\t\t\t\t// On the other hand, just using `getAttribute` is not enough as\n\t\t\t\t// the `nonce` attribute is reset to an empty string whenever it\n\t\t\t\t// becomes browsing-context connected.\n\t\t\t\t// See https://github.com/whatwg/html/issues/2369\n\t\t\t\t// See https://html.spec.whatwg.org/#nonce-attributes\n\t\t\t\t// The `node.getAttribute` check was added for the sake of\n\t\t\t\t// `jQuery.globalEval` so that it can fake a nonce-containing node\n\t\t\t\t// via an object.\n\t\t\t\tval = node[ i ] || node.getAttribute && node.getAttribute( i );\n\t\t\t\tif ( val ) {\n\t\t\t\t\tscript.setAttribute( i, val );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tdoc.head.appendChild( script ).parentNode.removeChild( script );\n\t}\n\n\nfunction toType( obj ) {\n\tif ( obj == null ) {\n\t\treturn obj + \"\";\n\t}\n\n\t// Support: Android <=2.3 only (functionish RegExp)\n\treturn typeof obj === \"object\" || typeof obj === \"function\" ?\n\t\tclass2type[ toString.call( obj ) ] || \"object\" :\n\t\ttypeof obj;\n}\n/* global Symbol */\n// Defining this global in .eslintrc.json would create a danger of using the global\n// unguarded in another place, it seems safer to define global only for this module\n\n\n\nvar version = \"3.7.1\",\n\n\trhtmlSuffix = /HTML$/i,\n\n\t// Define a local copy of jQuery\n\tjQuery = function( selector, context ) {\n\n\t\t// The jQuery object is actually just the init constructor 'enhanced'\n\t\t// Need init if jQuery is called (just allow error to be thrown if not included)\n\t\treturn new jQuery.fn.init( selector, context );\n\t};\n\njQuery.fn = jQuery.prototype = {\n\n\t// The current version of jQuery being used\n\tjquery: version,\n\n\tconstructor: jQuery,\n\n\t// The default length of a jQuery object is 0\n\tlength: 0,\n\n\ttoArray: function() {\n\t\treturn slice.call( this );\n\t},\n\n\t// Get the Nth element in the matched element set OR\n\t// Get the whole matched element set as a clean array\n\tget: function( num ) {\n\n\t\t// Return all the elements in a clean array\n\t\tif ( num == null ) {\n\t\t\treturn slice.call( this );\n\t\t}\n\n\t\t// Return just the one element from the set\n\t\treturn num < 0 ? this[ num + this.length ] : this[ num ];\n\t},\n\n\t// Take an array of elements and push it onto the stack\n\t// (returning the new matched element set)\n\tpushStack: function( elems ) {\n\n\t\t// Build a new jQuery matched element set\n\t\tvar ret = jQuery.merge( this.constructor(), elems );\n\n\t\t// Add the old object onto the stack (as a reference)\n\t\tret.prevObject = this;\n\n\t\t// Return the newly-formed element set\n\t\treturn ret;\n\t},\n\n\t// Execute a callback for every element in the matched set.\n\teach: function( callback ) {\n\t\treturn jQuery.each( this, callback );\n\t},\n\n\tmap: function( callback ) {\n\t\treturn this.pushStack( jQuery.map( this, function( elem, i ) {\n\t\t\treturn callback.call( elem, i, elem );\n\t\t} ) );\n\t},\n\n\tslice: function() {\n\t\treturn this.pushStack( slice.apply( this, arguments ) );\n\t},\n\n\tfirst: function() {\n\t\treturn this.eq( 0 );\n\t},\n\n\tlast: function() {\n\t\treturn this.eq( -1 );\n\t},\n\n\teven: function() {\n\t\treturn this.pushStack( jQuery.grep( this, function( _elem, i ) {\n\t\t\treturn ( i + 1 ) % 2;\n\t\t} ) );\n\t},\n\n\todd: function() {\n\t\treturn this.pushStack( jQuery.grep( this, function( _elem, i ) {\n\t\t\treturn i % 2;\n\t\t} ) );\n\t},\n\n\teq: function( i ) {\n\t\tvar len = this.length,\n\t\t\tj = +i + ( i < 0 ? len : 0 );\n\t\treturn this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] );\n\t},\n\n\tend: function() {\n\t\treturn this.prevObject || this.constructor();\n\t},\n\n\t// For internal use only.\n\t// Behaves like an Array's method, not like a jQuery method.\n\tpush: push,\n\tsort: arr.sort,\n\tsplice: arr.splice\n};\n\njQuery.extend = jQuery.fn.extend = function() {\n\tvar options, name, src, copy, copyIsArray, clone,\n\t\ttarget = arguments[ 0 ] || {},\n\t\ti = 1,\n\t\tlength = arguments.length,\n\t\tdeep = false;\n\n\t// Handle a deep copy situation\n\tif ( typeof target === \"boolean\" ) {\n\t\tdeep = target;\n\n\t\t// Skip the boolean and the target\n\t\ttarget = arguments[ i ] || {};\n\t\ti++;\n\t}\n\n\t// Handle case when target is a string or something (possible in deep copy)\n\tif ( typeof target !== \"object\" && !isFunction( target ) ) {\n\t\ttarget = {};\n\t}\n\n\t// Extend jQuery itself if only one argument is passed\n\tif ( i === length ) {\n\t\ttarget = this;\n\t\ti--;\n\t}\n\n\tfor ( ; i < length; i++ ) {\n\n\t\t// Only deal with non-null/undefined values\n\t\tif ( ( options = arguments[ i ] ) != null ) {\n\n\t\t\t// Extend the base object\n\t\t\tfor ( name in options ) {\n\t\t\t\tcopy = options[ name ];\n\n\t\t\t\t// Prevent Object.prototype pollution\n\t\t\t\t// Prevent never-ending loop\n\t\t\t\tif ( name === \"__proto__\" || target === copy ) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\t// Recurse if we're merging plain objects or arrays\n\t\t\t\tif ( deep && copy && ( jQuery.isPlainObject( copy ) ||\n\t\t\t\t\t( copyIsArray = Array.isArray( copy ) ) ) ) {\n\t\t\t\t\tsrc = target[ name ];\n\n\t\t\t\t\t// Ensure proper type for the source value\n\t\t\t\t\tif ( copyIsArray && !Array.isArray( src ) ) {\n\t\t\t\t\t\tclone = [];\n\t\t\t\t\t} else if ( !copyIsArray && !jQuery.isPlainObject( src ) ) {\n\t\t\t\t\t\tclone = {};\n\t\t\t\t\t} else {\n\t\t\t\t\t\tclone = src;\n\t\t\t\t\t}\n\t\t\t\t\tcopyIsArray = false;\n\n\t\t\t\t\t// Never move original objects, clone them\n\t\t\t\t\ttarget[ name ] = jQuery.extend( deep, clone, copy );\n\n\t\t\t\t// Don't bring in undefined values\n\t\t\t\t} else if ( copy !== undefined ) {\n\t\t\t\t\ttarget[ name ] = copy;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// Return the modified object\n\treturn target;\n};\n\njQuery.extend( {\n\n\t// Unique for each copy of jQuery on the page\n\texpando: \"jQuery\" + ( version + Math.random() ).replace( /\\D/g, \"\" ),\n\n\t// Assume jQuery is ready without the ready module\n\tisReady: true,\n\n\terror: function( msg ) {\n\t\tthrow new Error( msg );\n\t},\n\n\tnoop: function() {},\n\n\tisPlainObject: function( obj ) {\n\t\tvar proto, Ctor;\n\n\t\t// Detect obvious negatives\n\t\t// Use toString instead of jQuery.type to catch host objects\n\t\tif ( !obj || toString.call( obj ) !== \"[object Object]\" ) {\n\t\t\treturn false;\n\t\t}\n\n\t\tproto = getProto( obj );\n\n\t\t// Objects with no prototype (e.g., `Object.create( null )`) are plain\n\t\tif ( !proto ) {\n\t\t\treturn true;\n\t\t}\n\n\t\t// Objects with prototype are plain iff they were constructed by a global Object function\n\t\tCtor = hasOwn.call( proto, \"constructor\" ) && proto.constructor;\n\t\treturn typeof Ctor === \"function\" && fnToString.call( Ctor ) === ObjectFunctionString;\n\t},\n\n\tisEmptyObject: function( obj ) {\n\t\tvar name;\n\n\t\tfor ( name in obj ) {\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t},\n\n\t// Evaluates a script in a provided context; falls back to the global one\n\t// if not specified.\n\tglobalEval: function( code, options, doc ) {\n\t\tDOMEval( code, { nonce: options && options.nonce }, doc );\n\t},\n\n\teach: function( obj, callback ) {\n\t\tvar length, i = 0;\n\n\t\tif ( isArrayLike( obj ) ) {\n\t\t\tlength = obj.length;\n\t\t\tfor ( ; i < length; i++ ) {\n\t\t\t\tif ( callback.call( obj[ i ], i, obj[ i ] ) === false ) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tfor ( i in obj ) {\n\t\t\t\tif ( callback.call( obj[ i ], i, obj[ i ] ) === false ) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn obj;\n\t},\n\n\n\t// Retrieve the text value of an array of DOM nodes\n\ttext: function( elem ) {\n\t\tvar node,\n\t\t\tret = \"\",\n\t\t\ti = 0,\n\t\t\tnodeType = elem.nodeType;\n\n\t\tif ( !nodeType ) {\n\n\t\t\t// If no nodeType, this is expected to be an array\n\t\t\twhile ( ( node = elem[ i++ ] ) ) {\n\n\t\t\t\t// Do not traverse comment nodes\n\t\t\t\tret += jQuery.text( node );\n\t\t\t}\n\t\t}\n\t\tif ( nodeType === 1 || nodeType === 11 ) {\n\t\t\treturn elem.textContent;\n\t\t}\n\t\tif ( nodeType === 9 ) {\n\t\t\treturn elem.documentElement.textContent;\n\t\t}\n\t\tif ( nodeType === 3 || nodeType === 4 ) {\n\t\t\treturn elem.nodeValue;\n\t\t}\n\n\t\t// Do not include comment or processing instruction nodes\n\n\t\treturn ret;\n\t},\n\n\t// results is for internal usage only\n\tmakeArray: function( arr, results ) {\n\t\tvar ret = results || [];\n\n\t\tif ( arr != null ) {\n\t\t\tif ( isArrayLike( Object( arr ) ) ) {\n\t\t\t\tjQuery.merge( ret,\n\t\t\t\t\ttypeof arr === \"string\" ?\n\t\t\t\t\t\t[ arr ] : arr\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tpush.call( ret, arr );\n\t\t\t}\n\t\t}\n\n\t\treturn ret;\n\t},\n\n\tinArray: function( elem, arr, i ) {\n\t\treturn arr == null ? -1 : indexOf.call( arr, elem, i );\n\t},\n\n\tisXMLDoc: function( elem ) {\n\t\tvar namespace = elem && elem.namespaceURI,\n\t\t\tdocElem = elem && ( elem.ownerDocument || elem ).documentElement;\n\n\t\t// Assume HTML when documentElement doesn't yet exist, such as inside\n\t\t// document fragments.\n\t\treturn !rhtmlSuffix.test( namespace || docElem && docElem.nodeName || \"HTML\" );\n\t},\n\n\t// Support: Android <=4.0 only, PhantomJS 1 only\n\t// push.apply(_, arraylike) throws on ancient WebKit\n\tmerge: function( first, second ) {\n\t\tvar len = +second.length,\n\t\t\tj = 0,\n\t\t\ti = first.length;\n\n\t\tfor ( ; j < len; j++ ) {\n\t\t\tfirst[ i++ ] = second[ j ];\n\t\t}\n\n\t\tfirst.length = i;\n\n\t\treturn first;\n\t},\n\n\tgrep: function( elems, callback, invert ) {\n\t\tvar callbackInverse,\n\t\t\tmatches = [],\n\t\t\ti = 0,\n\t\t\tlength = elems.length,\n\t\t\tcallbackExpect = !invert;\n\n\t\t// Go through the array, only saving the items\n\t\t// that pass the validator function\n\t\tfor ( ; i < length; i++ ) {\n\t\t\tcallbackInverse = !callback( elems[ i ], i );\n\t\t\tif ( callbackInverse !== callbackExpect ) {\n\t\t\t\tmatches.push( elems[ i ] );\n\t\t\t}\n\t\t}\n\n\t\treturn matches;\n\t},\n\n\t// arg is for internal usage only\n\tmap: function( elems, callback, arg ) {\n\t\tvar length, value,\n\t\t\ti = 0,\n\t\t\tret = [];\n\n\t\t// Go through the array, translating each of the items to their new values\n\t\tif ( isArrayLike( elems ) ) {\n\t\t\tlength = elems.length;\n\t\t\tfor ( ; i < length; i++ ) {\n\t\t\t\tvalue = callback( elems[ i ], i, arg );\n\n\t\t\t\tif ( value != null ) {\n\t\t\t\t\tret.push( value );\n\t\t\t\t}\n\t\t\t}\n\n\t\t// Go through every key on the object,\n\t\t} else {\n\t\t\tfor ( i in elems ) {\n\t\t\t\tvalue = callback( elems[ i ], i, arg );\n\n\t\t\t\tif ( value != null ) {\n\t\t\t\t\tret.push( value );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Flatten any nested arrays\n\t\treturn flat( ret );\n\t},\n\n\t// A global GUID counter for objects\n\tguid: 1,\n\n\t// jQuery.support is not used in Core but other projects attach their\n\t// properties to it so it needs to exist.\n\tsupport: support\n} );\n\nif ( typeof Symbol === \"function\" ) {\n\tjQuery.fn[ Symbol.iterator ] = arr[ Symbol.iterator ];\n}\n\n// Populate the class2type map\njQuery.each( \"Boolean Number String Function Array Date RegExp Object Error Symbol\".split( \" \" ),\n\tfunction( _i, name ) {\n\t\tclass2type[ \"[object \" + name + \"]\" ] = name.toLowerCase();\n\t} );\n\nfunction isArrayLike( obj ) {\n\n\t// Support: real iOS 8.2 only (not reproducible in simulator)\n\t// `in` check used to prevent JIT error (gh-2145)\n\t// hasOwn isn't used here due to false negatives\n\t// regarding Nodelist length in IE\n\tvar length = !!obj && \"length\" in obj && obj.length,\n\t\ttype = toType( obj );\n\n\tif ( isFunction( obj ) || isWindow( obj ) ) {\n\t\treturn false;\n\t}\n\n\treturn type === \"array\" || length === 0 ||\n\t\ttypeof length === \"number\" && length > 0 && ( length - 1 ) in obj;\n}\n\n\nfunction nodeName( elem, name ) {\n\n\treturn elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase();\n\n}\nvar pop = arr.pop;\n\n\nvar sort = arr.sort;\n\n\nvar splice = arr.splice;\n\n\nvar whitespace = \"[\\\\x20\\\\t\\\\r\\\\n\\\\f]\";\n\n\nvar rtrimCSS = new RegExp(\n\t\"^\" + whitespace + \"+|((?:^|[^\\\\\\\\])(?:\\\\\\\\.)*)\" + whitespace + \"+$\",\n\t\"g\"\n);\n\n\n\n\n// Note: an element does not contain itself\njQuery.contains = function( a, b ) {\n\tvar bup = b && b.parentNode;\n\n\treturn a === bup || !!( bup && bup.nodeType === 1 && (\n\n\t\t// Support: IE 9 - 11+\n\t\t// IE doesn't have `contains` on SVG.\n\t\ta.contains ?\n\t\t\ta.contains( bup ) :\n\t\t\ta.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16\n\t) );\n};\n\n\n\n\n// CSS string/identifier serialization\n// https://drafts.csswg.org/cssom/#common-serializing-idioms\nvar rcssescape = /([\\0-\\x1f\\x7f]|^-?\\d)|^-$|[^\\x80-\\uFFFF\\w-]/g;\n\nfunction fcssescape( ch, asCodePoint ) {\n\tif ( asCodePoint ) {\n\n\t\t// U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER\n\t\tif ( ch === \"\\0\" ) {\n\t\t\treturn \"\\uFFFD\";\n\t\t}\n\n\t\t// Control characters and (dependent upon position) numbers get escaped as code points\n\t\treturn ch.slice( 0, -1 ) + \"\\\\\" + ch.charCodeAt( ch.length - 1 ).toString( 16 ) + \" \";\n\t}\n\n\t// Other potentially-special ASCII characters get backslash-escaped\n\treturn \"\\\\\" + ch;\n}\n\njQuery.escapeSelector = function( sel ) {\n\treturn ( sel + \"\" ).replace( rcssescape, fcssescape );\n};\n\n\n\n\nvar preferredDoc = document,\n\tpushNative = push;\n\n( function() {\n\nvar i,\n\tExpr,\n\toutermostContext,\n\tsortInput,\n\thasDuplicate,\n\tpush = pushNative,\n\n\t// Local document vars\n\tdocument,\n\tdocumentElement,\n\tdocumentIsHTML,\n\trbuggyQSA,\n\tmatches,\n\n\t// Instance-specific data\n\texpando = jQuery.expando,\n\tdirruns = 0,\n\tdone = 0,\n\tclassCache = createCache(),\n\ttokenCache = createCache(),\n\tcompilerCache = createCache(),\n\tnonnativeSelectorCache = createCache(),\n\tsortOrder = function( a, b ) {\n\t\tif ( a === b ) {\n\t\t\thasDuplicate = true;\n\t\t}\n\t\treturn 0;\n\t},\n\n\tbooleans = \"checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|\" +\n\t\t\"loop|multiple|open|readonly|required|scoped\",\n\n\t// Regular expressions\n\n\t// https://www.w3.org/TR/css-syntax-3/#ident-token-diagram\n\tidentifier = \"(?:\\\\\\\\[\\\\da-fA-F]{1,6}\" + whitespace +\n\t\t\"?|\\\\\\\\[^\\\\r\\\\n\\\\f]|[\\\\w-]|[^\\0-\\\\x7f])+\",\n\n\t// Attribute selectors: https://www.w3.org/TR/selectors/#attribute-selectors\n\tattributes = \"\\\\[\" + whitespace + \"*(\" + identifier + \")(?:\" + whitespace +\n\n\t\t// Operator (capture 2)\n\t\t\"*([*^$|!~]?=)\" + whitespace +\n\n\t\t// \"Attribute values must be CSS identifiers [capture 5] or strings [capture 3 or capture 4]\"\n\t\t\"*(?:'((?:\\\\\\\\.|[^\\\\\\\\'])*)'|\\\"((?:\\\\\\\\.|[^\\\\\\\\\\\"])*)\\\"|(\" + identifier + \"))|)\" +\n\t\twhitespace + \"*\\\\]\",\n\n\tpseudos = \":(\" + identifier + \")(?:\\\\((\" +\n\n\t\t// To reduce the number of selectors needing tokenize in the preFilter, prefer arguments:\n\t\t// 1. quoted (capture 3; capture 4 or capture 5)\n\t\t\"('((?:\\\\\\\\.|[^\\\\\\\\'])*)'|\\\"((?:\\\\\\\\.|[^\\\\\\\\\\\"])*)\\\")|\" +\n\n\t\t// 2. simple (capture 6)\n\t\t\"((?:\\\\\\\\.|[^\\\\\\\\()[\\\\]]|\" + attributes + \")*)|\" +\n\n\t\t// 3. anything else (capture 2)\n\t\t\".*\" +\n\t\t\")\\\\)|)\",\n\n\t// Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter\n\trwhitespace = new RegExp( whitespace + \"+\", \"g\" ),\n\n\trcomma = new RegExp( \"^\" + whitespace + \"*,\" + whitespace + \"*\" ),\n\trleadingCombinator = new RegExp( \"^\" + whitespace + \"*([>+~]|\" + whitespace + \")\" +\n\t\twhitespace + \"*\" ),\n\trdescend = new RegExp( whitespace + \"|>\" ),\n\n\trpseudo = new RegExp( pseudos ),\n\tridentifier = new RegExp( \"^\" + identifier + \"$\" ),\n\n\tmatchExpr = {\n\t\tID: new RegExp( \"^#(\" + identifier + \")\" ),\n\t\tCLASS: new RegExp( \"^\\\\.(\" + identifier + \")\" ),\n\t\tTAG: new RegExp( \"^(\" + identifier + \"|[*])\" ),\n\t\tATTR: new RegExp( \"^\" + attributes ),\n\t\tPSEUDO: new RegExp( \"^\" + pseudos ),\n\t\tCHILD: new RegExp(\n\t\t\t\"^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\\\(\" +\n\t\t\t\twhitespace + \"*(even|odd|(([+-]|)(\\\\d*)n|)\" + whitespace + \"*(?:([+-]|)\" +\n\t\t\t\twhitespace + \"*(\\\\d+)|))\" + whitespace + \"*\\\\)|)\", \"i\" ),\n\t\tbool: new RegExp( \"^(?:\" + booleans + \")$\", \"i\" ),\n\n\t\t// For use in libraries implementing .is()\n\t\t// We use this for POS matching in `select`\n\t\tneedsContext: new RegExp( \"^\" + whitespace +\n\t\t\t\"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\\\(\" + whitespace +\n\t\t\t\"*((?:-\\\\d)?\\\\d*)\" + whitespace + \"*\\\\)|)(?=[^-]|$)\", \"i\" )\n\t},\n\n\trinputs = /^(?:input|select|textarea|button)$/i,\n\trheader = /^h\\d$/i,\n\n\t// Easily-parseable/retrievable ID or TAG or CLASS selectors\n\trquickExpr = /^(?:#([\\w-]+)|(\\w+)|\\.([\\w-]+))$/,\n\n\trsibling = /[+~]/,\n\n\t// CSS escapes\n\t// https://www.w3.org/TR/CSS21/syndata.html#escaped-characters\n\trunescape = new RegExp( \"\\\\\\\\[\\\\da-fA-F]{1,6}\" + whitespace +\n\t\t\"?|\\\\\\\\([^\\\\r\\\\n\\\\f])\", \"g\" ),\n\tfunescape = function( escape, nonHex ) {\n\t\tvar high = \"0x\" + escape.slice( 1 ) - 0x10000;\n\n\t\tif ( nonHex ) {\n\n\t\t\t// Strip the backslash prefix from a non-hex escape sequence\n\t\t\treturn nonHex;\n\t\t}\n\n\t\t// Replace a hexadecimal escape sequence with the encoded Unicode code point\n\t\t// Support: IE <=11+\n\t\t// For values outside the Basic Multilingual Plane (BMP), manually construct a\n\t\t// surrogate pair\n\t\treturn high < 0 ?\n\t\t\tString.fromCharCode( high + 0x10000 ) :\n\t\t\tString.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 );\n\t},\n\n\t// Used for iframes; see `setDocument`.\n\t// Support: IE 9 - 11+, Edge 12 - 18+\n\t// Removing the function wrapper causes a \"Permission Denied\"\n\t// error in IE/Edge.\n\tunloadHandler = function() {\n\t\tsetDocument();\n\t},\n\n\tinDisabledFieldset = addCombinator(\n\t\tfunction( elem ) {\n\t\t\treturn elem.disabled === true && nodeName( elem, \"fieldset\" );\n\t\t},\n\t\t{ dir: \"parentNode\", next: \"legend\" }\n\t);\n\n// Support: IE <=9 only\n// Accessing document.activeElement can throw unexpectedly\n// https://bugs.jquery.com/ticket/13393\nfunction safeActiveElement() {\n\ttry {\n\t\treturn document.activeElement;\n\t} catch ( err ) { }\n}\n\n// Optimize for push.apply( _, NodeList )\ntry {\n\tpush.apply(\n\t\t( arr = slice.call( preferredDoc.childNodes ) ),\n\t\tpreferredDoc.childNodes\n\t);\n\n\t// Support: Android <=4.0\n\t// Detect silently failing push.apply\n\t// eslint-disable-next-line no-unused-expressions\n\tarr[ preferredDoc.childNodes.length ].nodeType;\n} catch ( e ) {\n\tpush = {\n\t\tapply: function( target, els ) {\n\t\t\tpushNative.apply( target, slice.call( els ) );\n\t\t},\n\t\tcall: function( target ) {\n\t\t\tpushNative.apply( target, slice.call( arguments, 1 ) );\n\t\t}\n\t};\n}\n\nfunction find( selector, context, results, seed ) {\n\tvar m, i, elem, nid, match, groups, newSelector,\n\t\tnewContext = context && context.ownerDocument,\n\n\t\t// nodeType defaults to 9, since context defaults to document\n\t\tnodeType = context ? context.nodeType : 9;\n\n\tresults = results || [];\n\n\t// Return early from calls with invalid selector or context\n\tif ( typeof selector !== \"string\" || !selector ||\n\t\tnodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) {\n\n\t\treturn results;\n\t}\n\n\t// Try to shortcut find operations (as opposed to filters) in HTML documents\n\tif ( !seed ) {\n\t\tsetDocument( context );\n\t\tcontext = context || document;\n\n\t\tif ( documentIsHTML ) {\n\n\t\t\t// If the selector is sufficiently simple, try using a \"get*By*\" DOM method\n\t\t\t// (excepting DocumentFragment context, where the methods don't exist)\n\t\t\tif ( nodeType !== 11 && ( match = rquickExpr.exec( selector ) ) ) {\n\n\t\t\t\t// ID selector\n\t\t\t\tif ( ( m = match[ 1 ] ) ) {\n\n\t\t\t\t\t// Document context\n\t\t\t\t\tif ( nodeType === 9 ) {\n\t\t\t\t\t\tif ( ( elem = context.getElementById( m ) ) ) {\n\n\t\t\t\t\t\t\t// Support: IE 9 only\n\t\t\t\t\t\t\t// getElementById can match elements by name instead of ID\n\t\t\t\t\t\t\tif ( elem.id === m ) {\n\t\t\t\t\t\t\t\tpush.call( results, elem );\n\t\t\t\t\t\t\t\treturn results;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\treturn results;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t// Element context\n\t\t\t\t\t} else {\n\n\t\t\t\t\t\t// Support: IE 9 only\n\t\t\t\t\t\t// getElementById can match elements by name instead of ID\n\t\t\t\t\t\tif ( newContext && ( elem = newContext.getElementById( m ) ) &&\n\t\t\t\t\t\t\tfind.contains( context, elem ) &&\n\t\t\t\t\t\t\telem.id === m ) {\n\n\t\t\t\t\t\t\tpush.call( results, elem );\n\t\t\t\t\t\t\treturn results;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t// Type selector\n\t\t\t\t} else if ( match[ 2 ] ) {\n\t\t\t\t\tpush.apply( results, context.getElementsByTagName( selector ) );\n\t\t\t\t\treturn results;\n\n\t\t\t\t// Class selector\n\t\t\t\t} else if ( ( m = match[ 3 ] ) && context.getElementsByClassName ) {\n\t\t\t\t\tpush.apply( results, context.getElementsByClassName( m ) );\n\t\t\t\t\treturn results;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Take advantage of querySelectorAll\n\t\t\tif ( !nonnativeSelectorCache[ selector + \" \" ] &&\n\t\t\t\t( !rbuggyQSA || !rbuggyQSA.test( selector ) ) ) {\n\n\t\t\t\tnewSelector = selector;\n\t\t\t\tnewContext = context;\n\n\t\t\t\t// qSA considers elements outside a scoping root when evaluating child or\n\t\t\t\t// descendant combinators, which is not what we want.\n\t\t\t\t// In such cases, we work around the behavior by prefixing every selector in the\n\t\t\t\t// list with an ID selector referencing the scope context.\n\t\t\t\t// The technique has to be used as well when a leading combinator is used\n\t\t\t\t// as such selectors are not recognized by querySelectorAll.\n\t\t\t\t// Thanks to Andrew Dupont for this technique.\n\t\t\t\tif ( nodeType === 1 &&\n\t\t\t\t\t( rdescend.test( selector ) || rleadingCombinator.test( selector ) ) ) {\n\n\t\t\t\t\t// Expand context for sibling selectors\n\t\t\t\t\tnewContext = rsibling.test( selector ) && testContext( context.parentNode ) ||\n\t\t\t\t\t\tcontext;\n\n\t\t\t\t\t// We can use :scope instead of the ID hack if the browser\n\t\t\t\t\t// supports it & if we're not changing the context.\n\t\t\t\t\t// Support: IE 11+, Edge 17 - 18+\n\t\t\t\t\t// IE/Edge sometimes throw a \"Permission denied\" error when\n\t\t\t\t\t// strict-comparing two documents; shallow comparisons work.\n\t\t\t\t\t// eslint-disable-next-line eqeqeq\n\t\t\t\t\tif ( newContext != context || !support.scope ) {\n\n\t\t\t\t\t\t// Capture the context ID, setting it first if necessary\n\t\t\t\t\t\tif ( ( nid = context.getAttribute( \"id\" ) ) ) {\n\t\t\t\t\t\t\tnid = jQuery.escapeSelector( nid );\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tcontext.setAttribute( \"id\", ( nid = expando ) );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// Prefix every selector in the list\n\t\t\t\t\tgroups = tokenize( selector );\n\t\t\t\t\ti = groups.length;\n\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\tgroups[ i ] = ( nid ? \"#\" + nid : \":scope\" ) + \" \" +\n\t\t\t\t\t\t\ttoSelector( groups[ i ] );\n\t\t\t\t\t}\n\t\t\t\t\tnewSelector = groups.join( \",\" );\n\t\t\t\t}\n\n\t\t\t\ttry {\n\t\t\t\t\tpush.apply( results,\n\t\t\t\t\t\tnewContext.querySelectorAll( newSelector )\n\t\t\t\t\t);\n\t\t\t\t\treturn results;\n\t\t\t\t} catch ( qsaError ) {\n\t\t\t\t\tnonnativeSelectorCache( selector, true );\n\t\t\t\t} finally {\n\t\t\t\t\tif ( nid === expando ) {\n\t\t\t\t\t\tcontext.removeAttribute( \"id\" );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// All others\n\treturn select( selector.replace( rtrimCSS, \"$1\" ), context, results, seed );\n}\n\n/**\n * Create key-value caches of limited size\n * @returns {function(string, object)} Returns the Object data after storing it on itself with\n *\tproperty name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength)\n *\tdeleting the oldest entry\n */\nfunction createCache() {\n\tvar keys = [];\n\n\tfunction cache( key, value ) {\n\n\t\t// Use (key + \" \") to avoid collision with native prototype properties\n\t\t// (see https://github.com/jquery/sizzle/issues/157)\n\t\tif ( keys.push( key + \" \" ) > Expr.cacheLength ) {\n\n\t\t\t// Only keep the most recent entries\n\t\t\tdelete cache[ keys.shift() ];\n\t\t}\n\t\treturn ( cache[ key + \" \" ] = value );\n\t}\n\treturn cache;\n}\n\n/**\n * Mark a function for special use by jQuery selector module\n * @param {Function} fn The function to mark\n */\nfunction markFunction( fn ) {\n\tfn[ expando ] = true;\n\treturn fn;\n}\n\n/**\n * Support testing using an element\n * @param {Function} fn Passed the created element and returns a boolean result\n */\nfunction assert( fn ) {\n\tvar el = document.createElement( \"fieldset\" );\n\n\ttry {\n\t\treturn !!fn( el );\n\t} catch ( e ) {\n\t\treturn false;\n\t} finally {\n\n\t\t// Remove from its parent by default\n\t\tif ( el.parentNode ) {\n\t\t\tel.parentNode.removeChild( el );\n\t\t}\n\n\t\t// release memory in IE\n\t\tel = null;\n\t}\n}\n\n/**\n * Returns a function to use in pseudos for input types\n * @param {String} type\n */\nfunction createInputPseudo( type ) {\n\treturn function( elem ) {\n\t\treturn nodeName( elem, \"input\" ) && elem.type === type;\n\t};\n}\n\n/**\n * Returns a function to use in pseudos for buttons\n * @param {String} type\n */\nfunction createButtonPseudo( type ) {\n\treturn function( elem ) {\n\t\treturn ( nodeName( elem, \"input\" ) || nodeName( elem, \"button\" ) ) &&\n\t\t\telem.type === type;\n\t};\n}\n\n/**\n * Returns a function to use in pseudos for :enabled/:disabled\n * @param {Boolean} disabled true for :disabled; false for :enabled\n */\nfunction createDisabledPseudo( disabled ) {\n\n\t// Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable\n\treturn function( elem ) {\n\n\t\t// Only certain elements can match :enabled or :disabled\n\t\t// https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled\n\t\t// https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled\n\t\tif ( \"form\" in elem ) {\n\n\t\t\t// Check for inherited disabledness on relevant non-disabled elements:\n\t\t\t// * listed form-associated elements in a disabled fieldset\n\t\t\t//   https://html.spec.whatwg.org/multipage/forms.html#category-listed\n\t\t\t//   https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled\n\t\t\t// * option elements in a disabled optgroup\n\t\t\t//   https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled\n\t\t\t// All such elements have a \"form\" property.\n\t\t\tif ( elem.parentNode && elem.disabled === false ) {\n\n\t\t\t\t// Option elements defer to a parent optgroup if present\n\t\t\t\tif ( \"label\" in elem ) {\n\t\t\t\t\tif ( \"label\" in elem.parentNode ) {\n\t\t\t\t\t\treturn elem.parentNode.disabled === disabled;\n\t\t\t\t\t} else {\n\t\t\t\t\t\treturn elem.disabled === disabled;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Support: IE 6 - 11+\n\t\t\t\t// Use the isDisabled shortcut property to check for disabled fieldset ancestors\n\t\t\t\treturn elem.isDisabled === disabled ||\n\n\t\t\t\t\t// Where there is no isDisabled, check manually\n\t\t\t\t\telem.isDisabled !== !disabled &&\n\t\t\t\t\t\tinDisabledFieldset( elem ) === disabled;\n\t\t\t}\n\n\t\t\treturn elem.disabled === disabled;\n\n\t\t// Try to winnow out elements that can't be disabled before trusting the disabled property.\n\t\t// Some victims get caught in our net (label, legend, menu, track), but it shouldn't\n\t\t// even exist on them, let alone have a boolean value.\n\t\t} else if ( \"label\" in elem ) {\n\t\t\treturn elem.disabled === disabled;\n\t\t}\n\n\t\t// Remaining elements are neither :enabled nor :disabled\n\t\treturn false;\n\t};\n}\n\n/**\n * Returns a function to use in pseudos for positionals\n * @param {Function} fn\n */\nfunction createPositionalPseudo( fn ) {\n\treturn markFunction( function( argument ) {\n\t\targument = +argument;\n\t\treturn markFunction( function( seed, matches ) {\n\t\t\tvar j,\n\t\t\t\tmatchIndexes = fn( [], seed.length, argument ),\n\t\t\t\ti = matchIndexes.length;\n\n\t\t\t// Match elements found at the specified indexes\n\t\t\twhile ( i-- ) {\n\t\t\t\tif ( seed[ ( j = matchIndexes[ i ] ) ] ) {\n\t\t\t\t\tseed[ j ] = !( matches[ j ] = seed[ j ] );\n\t\t\t\t}\n\t\t\t}\n\t\t} );\n\t} );\n}\n\n/**\n * Checks a node for validity as a jQuery selector context\n * @param {Element|Object=} context\n * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value\n */\nfunction testContext( context ) {\n\treturn context && typeof context.getElementsByTagName !== \"undefined\" && context;\n}\n\n/**\n * Sets document-related variables once based on the current document\n * @param {Element|Object} [node] An element or document object to use to set the document\n * @returns {Object} Returns the current document\n */\nfunction setDocument( node ) {\n\tvar subWindow,\n\t\tdoc = node ? node.ownerDocument || node : preferredDoc;\n\n\t// Return early if doc is invalid or already selected\n\t// Support: IE 11+, Edge 17 - 18+\n\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t// two documents; shallow comparisons work.\n\t// eslint-disable-next-line eqeqeq\n\tif ( doc == document || doc.nodeType !== 9 || !doc.documentElement ) {\n\t\treturn document;\n\t}\n\n\t// Update global variables\n\tdocument = doc;\n\tdocumentElement = document.documentElement;\n\tdocumentIsHTML = !jQuery.isXMLDoc( document );\n\n\t// Support: iOS 7 only, IE 9 - 11+\n\t// Older browsers didn't support unprefixed `matches`.\n\tmatches = documentElement.matches ||\n\t\tdocumentElement.webkitMatchesSelector ||\n\t\tdocumentElement.msMatchesSelector;\n\n\t// Support: IE 9 - 11+, Edge 12 - 18+\n\t// Accessing iframe documents after unload throws \"permission denied\" errors\n\t// (see trac-13936).\n\t// Limit the fix to IE & Edge Legacy; despite Edge 15+ implementing `matches`,\n\t// all IE 9+ and Edge Legacy versions implement `msMatchesSelector` as well.\n\tif ( documentElement.msMatchesSelector &&\n\n\t\t// Support: IE 11+, Edge 17 - 18+\n\t\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t\t// two documents; shallow comparisons work.\n\t\t// eslint-disable-next-line eqeqeq\n\t\tpreferredDoc != document &&\n\t\t( subWindow = document.defaultView ) && subWindow.top !== subWindow ) {\n\n\t\t// Support: IE 9 - 11+, Edge 12 - 18+\n\t\tsubWindow.addEventListener( \"unload\", unloadHandler );\n\t}\n\n\t// Support: IE <10\n\t// Check if getElementById returns elements by name\n\t// The broken getElementById methods don't pick up programmatically-set names,\n\t// so use a roundabout getElementsByName test\n\tsupport.getById = assert( function( el ) {\n\t\tdocumentElement.appendChild( el ).id = jQuery.expando;\n\t\treturn !document.getElementsByName ||\n\t\t\t!document.getElementsByName( jQuery.expando ).length;\n\t} );\n\n\t// Support: IE 9 only\n\t// Check to see if it's possible to do matchesSelector\n\t// on a disconnected node.\n\tsupport.disconnectedMatch = assert( function( el ) {\n\t\treturn matches.call( el, \"*\" );\n\t} );\n\n\t// Support: IE 9 - 11+, Edge 12 - 18+\n\t// IE/Edge don't support the :scope pseudo-class.\n\tsupport.scope = assert( function() {\n\t\treturn document.querySelectorAll( \":scope\" );\n\t} );\n\n\t// Support: Chrome 105 - 111 only, Safari 15.4 - 16.3 only\n\t// Make sure the `:has()` argument is parsed unforgivingly.\n\t// We include `*` in the test to detect buggy implementations that are\n\t// _selectively_ forgiving (specifically when the list includes at least\n\t// one valid selector).\n\t// Note that we treat complete lack of support for `:has()` as if it were\n\t// spec-compliant support, which is fine because use of `:has()` in such\n\t// environments will fail in the qSA path and fall back to jQuery traversal\n\t// anyway.\n\tsupport.cssHas = assert( function() {\n\t\ttry {\n\t\t\tdocument.querySelector( \":has(*,:jqfake)\" );\n\t\t\treturn false;\n\t\t} catch ( e ) {\n\t\t\treturn true;\n\t\t}\n\t} );\n\n\t// ID filter and find\n\tif ( support.getById ) {\n\t\tExpr.filter.ID = function( id ) {\n\t\t\tvar attrId = id.replace( runescape, funescape );\n\t\t\treturn function( elem ) {\n\t\t\t\treturn elem.getAttribute( \"id\" ) === attrId;\n\t\t\t};\n\t\t};\n\t\tExpr.find.ID = function( id, context ) {\n\t\t\tif ( typeof context.getElementById !== \"undefined\" && documentIsHTML ) {\n\t\t\t\tvar elem = context.getElementById( id );\n\t\t\t\treturn elem ? [ elem ] : [];\n\t\t\t}\n\t\t};\n\t} else {\n\t\tExpr.filter.ID =  function( id ) {\n\t\t\tvar attrId = id.replace( runescape, funescape );\n\t\t\treturn function( elem ) {\n\t\t\t\tvar node = typeof elem.getAttributeNode !== \"undefined\" &&\n\t\t\t\t\telem.getAttributeNode( \"id\" );\n\t\t\t\treturn node && node.value === attrId;\n\t\t\t};\n\t\t};\n\n\t\t// Support: IE 6 - 7 only\n\t\t// getElementById is not reliable as a find shortcut\n\t\tExpr.find.ID = function( id, context ) {\n\t\t\tif ( typeof context.getElementById !== \"undefined\" && documentIsHTML ) {\n\t\t\t\tvar node, i, elems,\n\t\t\t\t\telem = context.getElementById( id );\n\n\t\t\t\tif ( elem ) {\n\n\t\t\t\t\t// Verify the id attribute\n\t\t\t\t\tnode = elem.getAttributeNode( \"id\" );\n\t\t\t\t\tif ( node && node.value === id ) {\n\t\t\t\t\t\treturn [ elem ];\n\t\t\t\t\t}\n\n\t\t\t\t\t// Fall back on getElementsByName\n\t\t\t\t\telems = context.getElementsByName( id );\n\t\t\t\t\ti = 0;\n\t\t\t\t\twhile ( ( elem = elems[ i++ ] ) ) {\n\t\t\t\t\t\tnode = elem.getAttributeNode( \"id\" );\n\t\t\t\t\t\tif ( node && node.value === id ) {\n\t\t\t\t\t\t\treturn [ elem ];\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn [];\n\t\t\t}\n\t\t};\n\t}\n\n\t// Tag\n\tExpr.find.TAG = function( tag, context ) {\n\t\tif ( typeof context.getElementsByTagName !== \"undefined\" ) {\n\t\t\treturn context.getElementsByTagName( tag );\n\n\t\t// DocumentFragment nodes don't have gEBTN\n\t\t} else {\n\t\t\treturn context.querySelectorAll( tag );\n\t\t}\n\t};\n\n\t// Class\n\tExpr.find.CLASS = function( className, context ) {\n\t\tif ( typeof context.getElementsByClassName !== \"undefined\" && documentIsHTML ) {\n\t\t\treturn context.getElementsByClassName( className );\n\t\t}\n\t};\n\n\t/* QSA/matchesSelector\n\t---------------------------------------------------------------------- */\n\n\t// QSA and matchesSelector support\n\n\trbuggyQSA = [];\n\n\t// Build QSA regex\n\t// Regex strategy adopted from Diego Perini\n\tassert( function( el ) {\n\n\t\tvar input;\n\n\t\tdocumentElement.appendChild( el ).innerHTML =\n\t\t\t\"<a id='\" + expando + \"' href='' disabled='disabled'></a>\" +\n\t\t\t\"<select id='\" + expando + \"-\\r\\\\' disabled='disabled'>\" +\n\t\t\t\"<option selected=''></option></select>\";\n\n\t\t// Support: iOS <=7 - 8 only\n\t\t// Boolean attributes and \"value\" are not treated correctly in some XML documents\n\t\tif ( !el.querySelectorAll( \"[selected]\" ).length ) {\n\t\t\trbuggyQSA.push( \"\\\\[\" + whitespace + \"*(?:value|\" + booleans + \")\" );\n\t\t}\n\n\t\t// Support: iOS <=7 - 8 only\n\t\tif ( !el.querySelectorAll( \"[id~=\" + expando + \"-]\" ).length ) {\n\t\t\trbuggyQSA.push( \"~=\" );\n\t\t}\n\n\t\t// Support: iOS 8 only\n\t\t// https://bugs.webkit.org/show_bug.cgi?id=136851\n\t\t// In-page `selector#id sibling-combinator selector` fails\n\t\tif ( !el.querySelectorAll( \"a#\" + expando + \"+*\" ).length ) {\n\t\t\trbuggyQSA.push( \".#.+[+~]\" );\n\t\t}\n\n\t\t// Support: Chrome <=105+, Firefox <=104+, Safari <=15.4+\n\t\t// In some of the document kinds, these selectors wouldn't work natively.\n\t\t// This is probably OK but for backwards compatibility we want to maintain\n\t\t// handling them through jQuery traversal in jQuery 3.x.\n\t\tif ( !el.querySelectorAll( \":checked\" ).length ) {\n\t\t\trbuggyQSA.push( \":checked\" );\n\t\t}\n\n\t\t// Support: Windows 8 Native Apps\n\t\t// The type and name attributes are restricted during .innerHTML assignment\n\t\tinput = document.createElement( \"input\" );\n\t\tinput.setAttribute( \"type\", \"hidden\" );\n\t\tel.appendChild( input ).setAttribute( \"name\", \"D\" );\n\n\t\t// Support: IE 9 - 11+\n\t\t// IE's :disabled selector does not pick up the children of disabled fieldsets\n\t\t// Support: Chrome <=105+, Firefox <=104+, Safari <=15.4+\n\t\t// In some of the document kinds, these selectors wouldn't work natively.\n\t\t// This is probably OK but for backwards compatibility we want to maintain\n\t\t// handling them through jQuery traversal in jQuery 3.x.\n\t\tdocumentElement.appendChild( el ).disabled = true;\n\t\tif ( el.querySelectorAll( \":disabled\" ).length !== 2 ) {\n\t\t\trbuggyQSA.push( \":enabled\", \":disabled\" );\n\t\t}\n\n\t\t// Support: IE 11+, Edge 15 - 18+\n\t\t// IE 11/Edge don't find elements on a `[name='']` query in some cases.\n\t\t// Adding a temporary attribute to the document before the selection works\n\t\t// around the issue.\n\t\t// Interestingly, IE 10 & older don't seem to have the issue.\n\t\tinput = document.createElement( \"input\" );\n\t\tinput.setAttribute( \"name\", \"\" );\n\t\tel.appendChild( input );\n\t\tif ( !el.querySelectorAll( \"[name='']\" ).length ) {\n\t\t\trbuggyQSA.push( \"\\\\[\" + whitespace + \"*name\" + whitespace + \"*=\" +\n\t\t\t\twhitespace + \"*(?:''|\\\"\\\")\" );\n\t\t}\n\t} );\n\n\tif ( !support.cssHas ) {\n\n\t\t// Support: Chrome 105 - 110+, Safari 15.4 - 16.3+\n\t\t// Our regular `try-catch` mechanism fails to detect natively-unsupported\n\t\t// pseudo-classes inside `:has()` (such as `:has(:contains(\"Foo\"))`)\n\t\t// in browsers that parse the `:has()` argument as a forgiving selector list.\n\t\t// https://drafts.csswg.org/selectors/#relational now requires the argument\n\t\t// to be parsed unforgivingly, but browsers have not yet fully adjusted.\n\t\trbuggyQSA.push( \":has\" );\n\t}\n\n\trbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join( \"|\" ) );\n\n\t/* Sorting\n\t---------------------------------------------------------------------- */\n\n\t// Document order sorting\n\tsortOrder = function( a, b ) {\n\n\t\t// Flag for duplicate removal\n\t\tif ( a === b ) {\n\t\t\thasDuplicate = true;\n\t\t\treturn 0;\n\t\t}\n\n\t\t// Sort on method existence if only one input has compareDocumentPosition\n\t\tvar compare = !a.compareDocumentPosition - !b.compareDocumentPosition;\n\t\tif ( compare ) {\n\t\t\treturn compare;\n\t\t}\n\n\t\t// Calculate position if both inputs belong to the same document\n\t\t// Support: IE 11+, Edge 17 - 18+\n\t\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t\t// two documents; shallow comparisons work.\n\t\t// eslint-disable-next-line eqeqeq\n\t\tcompare = ( a.ownerDocument || a ) == ( b.ownerDocument || b ) ?\n\t\t\ta.compareDocumentPosition( b ) :\n\n\t\t\t// Otherwise we know they are disconnected\n\t\t\t1;\n\n\t\t// Disconnected nodes\n\t\tif ( compare & 1 ||\n\t\t\t( !support.sortDetached && b.compareDocumentPosition( a ) === compare ) ) {\n\n\t\t\t// Choose the first element that is related to our preferred document\n\t\t\t// Support: IE 11+, Edge 17 - 18+\n\t\t\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t\t\t// two documents; shallow comparisons work.\n\t\t\t// eslint-disable-next-line eqeqeq\n\t\t\tif ( a === document || a.ownerDocument == preferredDoc &&\n\t\t\t\tfind.contains( preferredDoc, a ) ) {\n\t\t\t\treturn -1;\n\t\t\t}\n\n\t\t\t// Support: IE 11+, Edge 17 - 18+\n\t\t\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t\t\t// two documents; shallow comparisons work.\n\t\t\t// eslint-disable-next-line eqeqeq\n\t\t\tif ( b === document || b.ownerDocument == preferredDoc &&\n\t\t\t\tfind.contains( preferredDoc, b ) ) {\n\t\t\t\treturn 1;\n\t\t\t}\n\n\t\t\t// Maintain original order\n\t\t\treturn sortInput ?\n\t\t\t\t( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) :\n\t\t\t\t0;\n\t\t}\n\n\t\treturn compare & 4 ? -1 : 1;\n\t};\n\n\treturn document;\n}\n\nfind.matches = function( expr, elements ) {\n\treturn find( expr, null, null, elements );\n};\n\nfind.matchesSelector = function( elem, expr ) {\n\tsetDocument( elem );\n\n\tif ( documentIsHTML &&\n\t\t!nonnativeSelectorCache[ expr + \" \" ] &&\n\t\t( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) {\n\n\t\ttry {\n\t\t\tvar ret = matches.call( elem, expr );\n\n\t\t\t// IE 9's matchesSelector returns false on disconnected nodes\n\t\t\tif ( ret || support.disconnectedMatch ||\n\n\t\t\t\t\t// As well, disconnected nodes are said to be in a document\n\t\t\t\t\t// fragment in IE 9\n\t\t\t\t\telem.document && elem.document.nodeType !== 11 ) {\n\t\t\t\treturn ret;\n\t\t\t}\n\t\t} catch ( e ) {\n\t\t\tnonnativeSelectorCache( expr, true );\n\t\t}\n\t}\n\n\treturn find( expr, document, null, [ elem ] ).length > 0;\n};\n\nfind.contains = function( context, elem ) {\n\n\t// Set document vars if needed\n\t// Support: IE 11+, Edge 17 - 18+\n\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t// two documents; shallow comparisons work.\n\t// eslint-disable-next-line eqeqeq\n\tif ( ( context.ownerDocument || context ) != document ) {\n\t\tsetDocument( context );\n\t}\n\treturn jQuery.contains( context, elem );\n};\n\n\nfind.attr = function( elem, name ) {\n\n\t// Set document vars if needed\n\t// Support: IE 11+, Edge 17 - 18+\n\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t// two documents; shallow comparisons work.\n\t// eslint-disable-next-line eqeqeq\n\tif ( ( elem.ownerDocument || elem ) != document ) {\n\t\tsetDocument( elem );\n\t}\n\n\tvar fn = Expr.attrHandle[ name.toLowerCase() ],\n\n\t\t// Don't get fooled by Object.prototype properties (see trac-13807)\n\t\tval = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ?\n\t\t\tfn( elem, name, !documentIsHTML ) :\n\t\t\tundefined;\n\n\tif ( val !== undefined ) {\n\t\treturn val;\n\t}\n\n\treturn elem.getAttribute( name );\n};\n\nfind.error = function( msg ) {\n\tthrow new Error( \"Syntax error, unrecognized expression: \" + msg );\n};\n\n/**\n * Document sorting and removing duplicates\n * @param {ArrayLike} results\n */\njQuery.uniqueSort = function( results ) {\n\tvar elem,\n\t\tduplicates = [],\n\t\tj = 0,\n\t\ti = 0;\n\n\t// Unless we *know* we can detect duplicates, assume their presence\n\t//\n\t// Support: Android <=4.0+\n\t// Testing for detecting duplicates is unpredictable so instead assume we can't\n\t// depend on duplicate detection in all browsers without a stable sort.\n\thasDuplicate = !support.sortStable;\n\tsortInput = !support.sortStable && slice.call( results, 0 );\n\tsort.call( results, sortOrder );\n\n\tif ( hasDuplicate ) {\n\t\twhile ( ( elem = results[ i++ ] ) ) {\n\t\t\tif ( elem === results[ i ] ) {\n\t\t\t\tj = duplicates.push( i );\n\t\t\t}\n\t\t}\n\t\twhile ( j-- ) {\n\t\t\tsplice.call( results, duplicates[ j ], 1 );\n\t\t}\n\t}\n\n\t// Clear input after sorting to release objects\n\t// See https://github.com/jquery/sizzle/pull/225\n\tsortInput = null;\n\n\treturn results;\n};\n\njQuery.fn.uniqueSort = function() {\n\treturn this.pushStack( jQuery.uniqueSort( slice.apply( this ) ) );\n};\n\nExpr = jQuery.expr = {\n\n\t// Can be adjusted by the user\n\tcacheLength: 50,\n\n\tcreatePseudo: markFunction,\n\n\tmatch: matchExpr,\n\n\tattrHandle: {},\n\n\tfind: {},\n\n\trelative: {\n\t\t\">\": { dir: \"parentNode\", first: true },\n\t\t\" \": { dir: \"parentNode\" },\n\t\t\"+\": { dir: \"previousSibling\", first: true },\n\t\t\"~\": { dir: \"previousSibling\" }\n\t},\n\n\tpreFilter: {\n\t\tATTR: function( match ) {\n\t\t\tmatch[ 1 ] = match[ 1 ].replace( runescape, funescape );\n\n\t\t\t// Move the given value to match[3] whether quoted or unquoted\n\t\t\tmatch[ 3 ] = ( match[ 3 ] || match[ 4 ] || match[ 5 ] || \"\" )\n\t\t\t\t.replace( runescape, funescape );\n\n\t\t\tif ( match[ 2 ] === \"~=\" ) {\n\t\t\t\tmatch[ 3 ] = \" \" + match[ 3 ] + \" \";\n\t\t\t}\n\n\t\t\treturn match.slice( 0, 4 );\n\t\t},\n\n\t\tCHILD: function( match ) {\n\n\t\t\t/* matches from matchExpr[\"CHILD\"]\n\t\t\t\t1 type (only|nth|...)\n\t\t\t\t2 what (child|of-type)\n\t\t\t\t3 argument (even|odd|\\d*|\\d*n([+-]\\d+)?|...)\n\t\t\t\t4 xn-component of xn+y argument ([+-]?\\d*n|)\n\t\t\t\t5 sign of xn-component\n\t\t\t\t6 x of xn-component\n\t\t\t\t7 sign of y-component\n\t\t\t\t8 y of y-component\n\t\t\t*/\n\t\t\tmatch[ 1 ] = match[ 1 ].toLowerCase();\n\n\t\t\tif ( match[ 1 ].slice( 0, 3 ) === \"nth\" ) {\n\n\t\t\t\t// nth-* requires argument\n\t\t\t\tif ( !match[ 3 ] ) {\n\t\t\t\t\tfind.error( match[ 0 ] );\n\t\t\t\t}\n\n\t\t\t\t// numeric x and y parameters for Expr.filter.CHILD\n\t\t\t\t// remember that false/true cast respectively to 0/1\n\t\t\t\tmatch[ 4 ] = +( match[ 4 ] ?\n\t\t\t\t\tmatch[ 5 ] + ( match[ 6 ] || 1 ) :\n\t\t\t\t\t2 * ( match[ 3 ] === \"even\" || match[ 3 ] === \"odd\" )\n\t\t\t\t);\n\t\t\t\tmatch[ 5 ] = +( ( match[ 7 ] + match[ 8 ] ) || match[ 3 ] === \"odd\" );\n\n\t\t\t// other types prohibit arguments\n\t\t\t} else if ( match[ 3 ] ) {\n\t\t\t\tfind.error( match[ 0 ] );\n\t\t\t}\n\n\t\t\treturn match;\n\t\t},\n\n\t\tPSEUDO: function( match ) {\n\t\t\tvar excess,\n\t\t\t\tunquoted = !match[ 6 ] && match[ 2 ];\n\n\t\t\tif ( matchExpr.CHILD.test( match[ 0 ] ) ) {\n\t\t\t\treturn null;\n\t\t\t}\n\n\t\t\t// Accept quoted arguments as-is\n\t\t\tif ( match[ 3 ] ) {\n\t\t\t\tmatch[ 2 ] = match[ 4 ] || match[ 5 ] || \"\";\n\n\t\t\t// Strip excess characters from unquoted arguments\n\t\t\t} else if ( unquoted && rpseudo.test( unquoted ) &&\n\n\t\t\t\t// Get excess from tokenize (recursively)\n\t\t\t\t( excess = tokenize( unquoted, true ) ) &&\n\n\t\t\t\t// advance to the next closing parenthesis\n\t\t\t\t( excess = unquoted.indexOf( \")\", unquoted.length - excess ) - unquoted.length ) ) {\n\n\t\t\t\t// excess is a negative index\n\t\t\t\tmatch[ 0 ] = match[ 0 ].slice( 0, excess );\n\t\t\t\tmatch[ 2 ] = unquoted.slice( 0, excess );\n\t\t\t}\n\n\t\t\t// Return only captures needed by the pseudo filter method (type and argument)\n\t\t\treturn match.slice( 0, 3 );\n\t\t}\n\t},\n\n\tfilter: {\n\n\t\tTAG: function( nodeNameSelector ) {\n\t\t\tvar expectedNodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase();\n\t\t\treturn nodeNameSelector === \"*\" ?\n\t\t\t\tfunction() {\n\t\t\t\t\treturn true;\n\t\t\t\t} :\n\t\t\t\tfunction( elem ) {\n\t\t\t\t\treturn nodeName( elem, expectedNodeName );\n\t\t\t\t};\n\t\t},\n\n\t\tCLASS: function( className ) {\n\t\t\tvar pattern = classCache[ className + \" \" ];\n\n\t\t\treturn pattern ||\n\t\t\t\t( pattern = new RegExp( \"(^|\" + whitespace + \")\" + className +\n\t\t\t\t\t\"(\" + whitespace + \"|$)\" ) ) &&\n\t\t\t\tclassCache( className, function( elem ) {\n\t\t\t\t\treturn pattern.test(\n\t\t\t\t\t\ttypeof elem.className === \"string\" && elem.className ||\n\t\t\t\t\t\t\ttypeof elem.getAttribute !== \"undefined\" &&\n\t\t\t\t\t\t\t\telem.getAttribute( \"class\" ) ||\n\t\t\t\t\t\t\t\"\"\n\t\t\t\t\t);\n\t\t\t\t} );\n\t\t},\n\n\t\tATTR: function( name, operator, check ) {\n\t\t\treturn function( elem ) {\n\t\t\t\tvar result = find.attr( elem, name );\n\n\t\t\t\tif ( result == null ) {\n\t\t\t\t\treturn operator === \"!=\";\n\t\t\t\t}\n\t\t\t\tif ( !operator ) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\n\t\t\t\tresult += \"\";\n\n\t\t\t\tif ( operator === \"=\" ) {\n\t\t\t\t\treturn result === check;\n\t\t\t\t}\n\t\t\t\tif ( operator === \"!=\" ) {\n\t\t\t\t\treturn result !== check;\n\t\t\t\t}\n\t\t\t\tif ( operator === \"^=\" ) {\n\t\t\t\t\treturn check && result.indexOf( check ) === 0;\n\t\t\t\t}\n\t\t\t\tif ( operator === \"*=\" ) {\n\t\t\t\t\treturn check && result.indexOf( check ) > -1;\n\t\t\t\t}\n\t\t\t\tif ( operator === \"$=\" ) {\n\t\t\t\t\treturn check && result.slice( -check.length ) === check;\n\t\t\t\t}\n\t\t\t\tif ( operator === \"~=\" ) {\n\t\t\t\t\treturn ( \" \" + result.replace( rwhitespace, \" \" ) + \" \" )\n\t\t\t\t\t\t.indexOf( check ) > -1;\n\t\t\t\t}\n\t\t\t\tif ( operator === \"|=\" ) {\n\t\t\t\t\treturn result === check || result.slice( 0, check.length + 1 ) === check + \"-\";\n\t\t\t\t}\n\n\t\t\t\treturn false;\n\t\t\t};\n\t\t},\n\n\t\tCHILD: function( type, what, _argument, first, last ) {\n\t\t\tvar simple = type.slice( 0, 3 ) !== \"nth\",\n\t\t\t\tforward = type.slice( -4 ) !== \"last\",\n\t\t\t\tofType = what === \"of-type\";\n\n\t\t\treturn first === 1 && last === 0 ?\n\n\t\t\t\t// Shortcut for :nth-*(n)\n\t\t\t\tfunction( elem ) {\n\t\t\t\t\treturn !!elem.parentNode;\n\t\t\t\t} :\n\n\t\t\t\tfunction( elem, _context, xml ) {\n\t\t\t\t\tvar cache, outerCache, node, nodeIndex, start,\n\t\t\t\t\t\tdir = simple !== forward ? \"nextSibling\" : \"previousSibling\",\n\t\t\t\t\t\tparent = elem.parentNode,\n\t\t\t\t\t\tname = ofType && elem.nodeName.toLowerCase(),\n\t\t\t\t\t\tuseCache = !xml && !ofType,\n\t\t\t\t\t\tdiff = false;\n\n\t\t\t\t\tif ( parent ) {\n\n\t\t\t\t\t\t// :(first|last|only)-(child|of-type)\n\t\t\t\t\t\tif ( simple ) {\n\t\t\t\t\t\t\twhile ( dir ) {\n\t\t\t\t\t\t\t\tnode = elem;\n\t\t\t\t\t\t\t\twhile ( ( node = node[ dir ] ) ) {\n\t\t\t\t\t\t\t\t\tif ( ofType ?\n\t\t\t\t\t\t\t\t\t\tnodeName( node, name ) :\n\t\t\t\t\t\t\t\t\t\tnode.nodeType === 1 ) {\n\n\t\t\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t// Reverse direction for :only-* (if we haven't yet done so)\n\t\t\t\t\t\t\t\tstart = dir = type === \"only\" && !start && \"nextSibling\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tstart = [ forward ? parent.firstChild : parent.lastChild ];\n\n\t\t\t\t\t\t// non-xml :nth-child(...) stores cache data on `parent`\n\t\t\t\t\t\tif ( forward && useCache ) {\n\n\t\t\t\t\t\t\t// Seek `elem` from a previously-cached index\n\t\t\t\t\t\t\touterCache = parent[ expando ] || ( parent[ expando ] = {} );\n\t\t\t\t\t\t\tcache = outerCache[ type ] || [];\n\t\t\t\t\t\t\tnodeIndex = cache[ 0 ] === dirruns && cache[ 1 ];\n\t\t\t\t\t\t\tdiff = nodeIndex && cache[ 2 ];\n\t\t\t\t\t\t\tnode = nodeIndex && parent.childNodes[ nodeIndex ];\n\n\t\t\t\t\t\t\twhile ( ( node = ++nodeIndex && node && node[ dir ] ||\n\n\t\t\t\t\t\t\t\t// Fallback to seeking `elem` from the start\n\t\t\t\t\t\t\t\t( diff = nodeIndex = 0 ) || start.pop() ) ) {\n\n\t\t\t\t\t\t\t\t// When found, cache indexes on `parent` and break\n\t\t\t\t\t\t\t\tif ( node.nodeType === 1 && ++diff && node === elem ) {\n\t\t\t\t\t\t\t\t\touterCache[ type ] = [ dirruns, nodeIndex, diff ];\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t// Use previously-cached element index if available\n\t\t\t\t\t\t\tif ( useCache ) {\n\t\t\t\t\t\t\t\touterCache = elem[ expando ] || ( elem[ expando ] = {} );\n\t\t\t\t\t\t\t\tcache = outerCache[ type ] || [];\n\t\t\t\t\t\t\t\tnodeIndex = cache[ 0 ] === dirruns && cache[ 1 ];\n\t\t\t\t\t\t\t\tdiff = nodeIndex;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t// xml :nth-child(...)\n\t\t\t\t\t\t\t// or :nth-last-child(...) or :nth(-last)?-of-type(...)\n\t\t\t\t\t\t\tif ( diff === false ) {\n\n\t\t\t\t\t\t\t\t// Use the same loop as above to seek `elem` from the start\n\t\t\t\t\t\t\t\twhile ( ( node = ++nodeIndex && node && node[ dir ] ||\n\t\t\t\t\t\t\t\t\t( diff = nodeIndex = 0 ) || start.pop() ) ) {\n\n\t\t\t\t\t\t\t\t\tif ( ( ofType ?\n\t\t\t\t\t\t\t\t\t\tnodeName( node, name ) :\n\t\t\t\t\t\t\t\t\t\tnode.nodeType === 1 ) &&\n\t\t\t\t\t\t\t\t\t\t++diff ) {\n\n\t\t\t\t\t\t\t\t\t\t// Cache the index of each encountered element\n\t\t\t\t\t\t\t\t\t\tif ( useCache ) {\n\t\t\t\t\t\t\t\t\t\t\touterCache = node[ expando ] ||\n\t\t\t\t\t\t\t\t\t\t\t\t( node[ expando ] = {} );\n\t\t\t\t\t\t\t\t\t\t\touterCache[ type ] = [ dirruns, diff ];\n\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\tif ( node === elem ) {\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Incorporate the offset, then check against cycle size\n\t\t\t\t\t\tdiff -= last;\n\t\t\t\t\t\treturn diff === first || ( diff % first === 0 && diff / first >= 0 );\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t},\n\n\t\tPSEUDO: function( pseudo, argument ) {\n\n\t\t\t// pseudo-class names are case-insensitive\n\t\t\t// https://www.w3.org/TR/selectors/#pseudo-classes\n\t\t\t// Prioritize by case sensitivity in case custom pseudos are added with uppercase letters\n\t\t\t// Remember that setFilters inherits from pseudos\n\t\t\tvar args,\n\t\t\t\tfn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] ||\n\t\t\t\t\tfind.error( \"unsupported pseudo: \" + pseudo );\n\n\t\t\t// The user may use createPseudo to indicate that\n\t\t\t// arguments are needed to create the filter function\n\t\t\t// just as jQuery does\n\t\t\tif ( fn[ expando ] ) {\n\t\t\t\treturn fn( argument );\n\t\t\t}\n\n\t\t\t// But maintain support for old signatures\n\t\t\tif ( fn.length > 1 ) {\n\t\t\t\targs = [ pseudo, pseudo, \"\", argument ];\n\t\t\t\treturn Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ?\n\t\t\t\t\tmarkFunction( function( seed, matches ) {\n\t\t\t\t\t\tvar idx,\n\t\t\t\t\t\t\tmatched = fn( seed, argument ),\n\t\t\t\t\t\t\ti = matched.length;\n\t\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\t\tidx = indexOf.call( seed, matched[ i ] );\n\t\t\t\t\t\t\tseed[ idx ] = !( matches[ idx ] = matched[ i ] );\n\t\t\t\t\t\t}\n\t\t\t\t\t} ) :\n\t\t\t\t\tfunction( elem ) {\n\t\t\t\t\t\treturn fn( elem, 0, args );\n\t\t\t\t\t};\n\t\t\t}\n\n\t\t\treturn fn;\n\t\t}\n\t},\n\n\tpseudos: {\n\n\t\t// Potentially complex pseudos\n\t\tnot: markFunction( function( selector ) {\n\n\t\t\t// Trim the selector passed to compile\n\t\t\t// to avoid treating leading and trailing\n\t\t\t// spaces as combinators\n\t\t\tvar input = [],\n\t\t\t\tresults = [],\n\t\t\t\tmatcher = compile( selector.replace( rtrimCSS, \"$1\" ) );\n\n\t\t\treturn matcher[ expando ] ?\n\t\t\t\tmarkFunction( function( seed, matches, _context, xml ) {\n\t\t\t\t\tvar elem,\n\t\t\t\t\t\tunmatched = matcher( seed, null, xml, [] ),\n\t\t\t\t\t\ti = seed.length;\n\n\t\t\t\t\t// Match elements unmatched by `matcher`\n\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\tif ( ( elem = unmatched[ i ] ) ) {\n\t\t\t\t\t\t\tseed[ i ] = !( matches[ i ] = elem );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} ) :\n\t\t\t\tfunction( elem, _context, xml ) {\n\t\t\t\t\tinput[ 0 ] = elem;\n\t\t\t\t\tmatcher( input, null, xml, results );\n\n\t\t\t\t\t// Don't keep the element\n\t\t\t\t\t// (see https://github.com/jquery/sizzle/issues/299)\n\t\t\t\t\tinput[ 0 ] = null;\n\t\t\t\t\treturn !results.pop();\n\t\t\t\t};\n\t\t} ),\n\n\t\thas: markFunction( function( selector ) {\n\t\t\treturn function( elem ) {\n\t\t\t\treturn find( selector, elem ).length > 0;\n\t\t\t};\n\t\t} ),\n\n\t\tcontains: markFunction( function( text ) {\n\t\t\ttext = text.replace( runescape, funescape );\n\t\t\treturn function( elem ) {\n\t\t\t\treturn ( elem.textContent || jQuery.text( elem ) ).indexOf( text ) > -1;\n\t\t\t};\n\t\t} ),\n\n\t\t// \"Whether an element is represented by a :lang() selector\n\t\t// is based solely on the element's language value\n\t\t// being equal to the identifier C,\n\t\t// or beginning with the identifier C immediately followed by \"-\".\n\t\t// The matching of C against the element's language value is performed case-insensitively.\n\t\t// The identifier C does not have to be a valid language name.\"\n\t\t// https://www.w3.org/TR/selectors/#lang-pseudo\n\t\tlang: markFunction( function( lang ) {\n\n\t\t\t// lang value must be a valid identifier\n\t\t\tif ( !ridentifier.test( lang || \"\" ) ) {\n\t\t\t\tfind.error( \"unsupported lang: \" + lang );\n\t\t\t}\n\t\t\tlang = lang.replace( runescape, funescape ).toLowerCase();\n\t\t\treturn function( elem ) {\n\t\t\t\tvar elemLang;\n\t\t\t\tdo {\n\t\t\t\t\tif ( ( elemLang = documentIsHTML ?\n\t\t\t\t\t\telem.lang :\n\t\t\t\t\t\telem.getAttribute( \"xml:lang\" ) || elem.getAttribute( \"lang\" ) ) ) {\n\n\t\t\t\t\t\telemLang = elemLang.toLowerCase();\n\t\t\t\t\t\treturn elemLang === lang || elemLang.indexOf( lang + \"-\" ) === 0;\n\t\t\t\t\t}\n\t\t\t\t} while ( ( elem = elem.parentNode ) && elem.nodeType === 1 );\n\t\t\t\treturn false;\n\t\t\t};\n\t\t} ),\n\n\t\t// Miscellaneous\n\t\ttarget: function( elem ) {\n\t\t\tvar hash = window.location && window.location.hash;\n\t\t\treturn hash && hash.slice( 1 ) === elem.id;\n\t\t},\n\n\t\troot: function( elem ) {\n\t\t\treturn elem === documentElement;\n\t\t},\n\n\t\tfocus: function( elem ) {\n\t\t\treturn elem === safeActiveElement() &&\n\t\t\t\tdocument.hasFocus() &&\n\t\t\t\t!!( elem.type || elem.href || ~elem.tabIndex );\n\t\t},\n\n\t\t// Boolean properties\n\t\tenabled: createDisabledPseudo( false ),\n\t\tdisabled: createDisabledPseudo( true ),\n\n\t\tchecked: function( elem ) {\n\n\t\t\t// In CSS3, :checked should return both checked and selected elements\n\t\t\t// https://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked\n\t\t\treturn ( nodeName( elem, \"input\" ) && !!elem.checked ) ||\n\t\t\t\t( nodeName( elem, \"option\" ) && !!elem.selected );\n\t\t},\n\n\t\tselected: function( elem ) {\n\n\t\t\t// Support: IE <=11+\n\t\t\t// Accessing the selectedIndex property\n\t\t\t// forces the browser to treat the default option as\n\t\t\t// selected when in an optgroup.\n\t\t\tif ( elem.parentNode ) {\n\t\t\t\t// eslint-disable-next-line no-unused-expressions\n\t\t\t\telem.parentNode.selectedIndex;\n\t\t\t}\n\n\t\t\treturn elem.selected === true;\n\t\t},\n\n\t\t// Contents\n\t\tempty: function( elem ) {\n\n\t\t\t// https://www.w3.org/TR/selectors/#empty-pseudo\n\t\t\t// :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5),\n\t\t\t//   but not by others (comment: 8; processing instruction: 7; etc.)\n\t\t\t// nodeType < 6 works because attributes (2) do not appear as children\n\t\t\tfor ( elem = elem.firstChild; elem; elem = elem.nextSibling ) {\n\t\t\t\tif ( elem.nodeType < 6 ) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn true;\n\t\t},\n\n\t\tparent: function( elem ) {\n\t\t\treturn !Expr.pseudos.empty( elem );\n\t\t},\n\n\t\t// Element/input types\n\t\theader: function( elem ) {\n\t\t\treturn rheader.test( elem.nodeName );\n\t\t},\n\n\t\tinput: function( elem ) {\n\t\t\treturn rinputs.test( elem.nodeName );\n\t\t},\n\n\t\tbutton: function( elem ) {\n\t\t\treturn nodeName( elem, \"input\" ) && elem.type === \"button\" ||\n\t\t\t\tnodeName( elem, \"button\" );\n\t\t},\n\n\t\ttext: function( elem ) {\n\t\t\tvar attr;\n\t\t\treturn nodeName( elem, \"input\" ) && elem.type === \"text\" &&\n\n\t\t\t\t// Support: IE <10 only\n\t\t\t\t// New HTML5 attribute values (e.g., \"search\") appear\n\t\t\t\t// with elem.type === \"text\"\n\t\t\t\t( ( attr = elem.getAttribute( \"type\" ) ) == null ||\n\t\t\t\t\tattr.toLowerCase() === \"text\" );\n\t\t},\n\n\t\t// Position-in-collection\n\t\tfirst: createPositionalPseudo( function() {\n\t\t\treturn [ 0 ];\n\t\t} ),\n\n\t\tlast: createPositionalPseudo( function( _matchIndexes, length ) {\n\t\t\treturn [ length - 1 ];\n\t\t} ),\n\n\t\teq: createPositionalPseudo( function( _matchIndexes, length, argument ) {\n\t\t\treturn [ argument < 0 ? argument + length : argument ];\n\t\t} ),\n\n\t\teven: createPositionalPseudo( function( matchIndexes, length ) {\n\t\t\tvar i = 0;\n\t\t\tfor ( ; i < length; i += 2 ) {\n\t\t\t\tmatchIndexes.push( i );\n\t\t\t}\n\t\t\treturn matchIndexes;\n\t\t} ),\n\n\t\todd: createPositionalPseudo( function( matchIndexes, length ) {\n\t\t\tvar i = 1;\n\t\t\tfor ( ; i < length; i += 2 ) {\n\t\t\t\tmatchIndexes.push( i );\n\t\t\t}\n\t\t\treturn matchIndexes;\n\t\t} ),\n\n\t\tlt: createPositionalPseudo( function( matchIndexes, length, argument ) {\n\t\t\tvar i;\n\n\t\t\tif ( argument < 0 ) {\n\t\t\t\ti = argument + length;\n\t\t\t} else if ( argument > length ) {\n\t\t\t\ti = length;\n\t\t\t} else {\n\t\t\t\ti = argument;\n\t\t\t}\n\n\t\t\tfor ( ; --i >= 0; ) {\n\t\t\t\tmatchIndexes.push( i );\n\t\t\t}\n\t\t\treturn matchIndexes;\n\t\t} ),\n\n\t\tgt: createPositionalPseudo( function( matchIndexes, length, argument ) {\n\t\t\tvar i = argument < 0 ? argument + length : argument;\n\t\t\tfor ( ; ++i < length; ) {\n\t\t\t\tmatchIndexes.push( i );\n\t\t\t}\n\t\t\treturn matchIndexes;\n\t\t} )\n\t}\n};\n\nExpr.pseudos.nth = Expr.pseudos.eq;\n\n// Add button/input type pseudos\nfor ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) {\n\tExpr.pseudos[ i ] = createInputPseudo( i );\n}\nfor ( i in { submit: true, reset: true } ) {\n\tExpr.pseudos[ i ] = createButtonPseudo( i );\n}\n\n// Easy API for creating new setFilters\nfunction setFilters() {}\nsetFilters.prototype = Expr.filters = Expr.pseudos;\nExpr.setFilters = new setFilters();\n\nfunction tokenize( selector, parseOnly ) {\n\tvar matched, match, tokens, type,\n\t\tsoFar, groups, preFilters,\n\t\tcached = tokenCache[ selector + \" \" ];\n\n\tif ( cached ) {\n\t\treturn parseOnly ? 0 : cached.slice( 0 );\n\t}\n\n\tsoFar = selector;\n\tgroups = [];\n\tpreFilters = Expr.preFilter;\n\n\twhile ( soFar ) {\n\n\t\t// Comma and first run\n\t\tif ( !matched || ( match = rcomma.exec( soFar ) ) ) {\n\t\t\tif ( match ) {\n\n\t\t\t\t// Don't consume trailing commas as valid\n\t\t\t\tsoFar = soFar.slice( match[ 0 ].length ) || soFar;\n\t\t\t}\n\t\t\tgroups.push( ( tokens = [] ) );\n\t\t}\n\n\t\tmatched = false;\n\n\t\t// Combinators\n\t\tif ( ( match = rleadingCombinator.exec( soFar ) ) ) {\n\t\t\tmatched = match.shift();\n\t\t\ttokens.push( {\n\t\t\t\tvalue: matched,\n\n\t\t\t\t// Cast descendant combinators to space\n\t\t\t\ttype: match[ 0 ].replace( rtrimCSS, \" \" )\n\t\t\t} );\n\t\t\tsoFar = soFar.slice( matched.length );\n\t\t}\n\n\t\t// Filters\n\t\tfor ( type in Expr.filter ) {\n\t\t\tif ( ( match = matchExpr[ type ].exec( soFar ) ) && ( !preFilters[ type ] ||\n\t\t\t\t( match = preFilters[ type ]( match ) ) ) ) {\n\t\t\t\tmatched = match.shift();\n\t\t\t\ttokens.push( {\n\t\t\t\t\tvalue: matched,\n\t\t\t\t\ttype: type,\n\t\t\t\t\tmatches: match\n\t\t\t\t} );\n\t\t\t\tsoFar = soFar.slice( matched.length );\n\t\t\t}\n\t\t}\n\n\t\tif ( !matched ) {\n\t\t\tbreak;\n\t\t}\n\t}\n\n\t// Return the length of the invalid excess\n\t// if we're just parsing\n\t// Otherwise, throw an error or return tokens\n\tif ( parseOnly ) {\n\t\treturn soFar.length;\n\t}\n\n\treturn soFar ?\n\t\tfind.error( selector ) :\n\n\t\t// Cache the tokens\n\t\ttokenCache( selector, groups ).slice( 0 );\n}\n\nfunction toSelector( tokens ) {\n\tvar i = 0,\n\t\tlen = tokens.length,\n\t\tselector = \"\";\n\tfor ( ; i < len; i++ ) {\n\t\tselector += tokens[ i ].value;\n\t}\n\treturn selector;\n}\n\nfunction addCombinator( matcher, combinator, base ) {\n\tvar dir = combinator.dir,\n\t\tskip = combinator.next,\n\t\tkey = skip || dir,\n\t\tcheckNonElements = base && key === \"parentNode\",\n\t\tdoneName = done++;\n\n\treturn combinator.first ?\n\n\t\t// Check against closest ancestor/preceding element\n\t\tfunction( elem, context, xml ) {\n\t\t\twhile ( ( elem = elem[ dir ] ) ) {\n\t\t\t\tif ( elem.nodeType === 1 || checkNonElements ) {\n\t\t\t\t\treturn matcher( elem, context, xml );\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t} :\n\n\t\t// Check against all ancestor/preceding elements\n\t\tfunction( elem, context, xml ) {\n\t\t\tvar oldCache, outerCache,\n\t\t\t\tnewCache = [ dirruns, doneName ];\n\n\t\t\t// We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching\n\t\t\tif ( xml ) {\n\t\t\t\twhile ( ( elem = elem[ dir ] ) ) {\n\t\t\t\t\tif ( elem.nodeType === 1 || checkNonElements ) {\n\t\t\t\t\t\tif ( matcher( elem, context, xml ) ) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\twhile ( ( elem = elem[ dir ] ) ) {\n\t\t\t\t\tif ( elem.nodeType === 1 || checkNonElements ) {\n\t\t\t\t\t\touterCache = elem[ expando ] || ( elem[ expando ] = {} );\n\n\t\t\t\t\t\tif ( skip && nodeName( elem, skip ) ) {\n\t\t\t\t\t\t\telem = elem[ dir ] || elem;\n\t\t\t\t\t\t} else if ( ( oldCache = outerCache[ key ] ) &&\n\t\t\t\t\t\t\toldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) {\n\n\t\t\t\t\t\t\t// Assign to newCache so results back-propagate to previous elements\n\t\t\t\t\t\t\treturn ( newCache[ 2 ] = oldCache[ 2 ] );\n\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t// Reuse newcache so results back-propagate to previous elements\n\t\t\t\t\t\t\touterCache[ key ] = newCache;\n\n\t\t\t\t\t\t\t// A match means we're done; a fail means we have to keep checking\n\t\t\t\t\t\t\tif ( ( newCache[ 2 ] = matcher( elem, context, xml ) ) ) {\n\t\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t};\n}\n\nfunction elementMatcher( matchers ) {\n\treturn matchers.length > 1 ?\n\t\tfunction( elem, context, xml ) {\n\t\t\tvar i = matchers.length;\n\t\t\twhile ( i-- ) {\n\t\t\t\tif ( !matchers[ i ]( elem, context, xml ) ) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn true;\n\t\t} :\n\t\tmatchers[ 0 ];\n}\n\nfunction multipleContexts( selector, contexts, results ) {\n\tvar i = 0,\n\t\tlen = contexts.length;\n\tfor ( ; i < len; i++ ) {\n\t\tfind( selector, contexts[ i ], results );\n\t}\n\treturn results;\n}\n\nfunction condense( unmatched, map, filter, context, xml ) {\n\tvar elem,\n\t\tnewUnmatched = [],\n\t\ti = 0,\n\t\tlen = unmatched.length,\n\t\tmapped = map != null;\n\n\tfor ( ; i < len; i++ ) {\n\t\tif ( ( elem = unmatched[ i ] ) ) {\n\t\t\tif ( !filter || filter( elem, context, xml ) ) {\n\t\t\t\tnewUnmatched.push( elem );\n\t\t\t\tif ( mapped ) {\n\t\t\t\t\tmap.push( i );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn newUnmatched;\n}\n\nfunction setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) {\n\tif ( postFilter && !postFilter[ expando ] ) {\n\t\tpostFilter = setMatcher( postFilter );\n\t}\n\tif ( postFinder && !postFinder[ expando ] ) {\n\t\tpostFinder = setMatcher( postFinder, postSelector );\n\t}\n\treturn markFunction( function( seed, results, context, xml ) {\n\t\tvar temp, i, elem, matcherOut,\n\t\t\tpreMap = [],\n\t\t\tpostMap = [],\n\t\t\tpreexisting = results.length,\n\n\t\t\t// Get initial elements from seed or context\n\t\t\telems = seed ||\n\t\t\t\tmultipleContexts( selector || \"*\",\n\t\t\t\t\tcontext.nodeType ? [ context ] : context, [] ),\n\n\t\t\t// Prefilter to get matcher input, preserving a map for seed-results synchronization\n\t\t\tmatcherIn = preFilter && ( seed || !selector ) ?\n\t\t\t\tcondense( elems, preMap, preFilter, context, xml ) :\n\t\t\t\telems;\n\n\t\tif ( matcher ) {\n\n\t\t\t// If we have a postFinder, or filtered seed, or non-seed postFilter\n\t\t\t// or preexisting results,\n\t\t\tmatcherOut = postFinder || ( seed ? preFilter : preexisting || postFilter ) ?\n\n\t\t\t\t// ...intermediate processing is necessary\n\t\t\t\t[] :\n\n\t\t\t\t// ...otherwise use results directly\n\t\t\t\tresults;\n\n\t\t\t// Find primary matches\n\t\t\tmatcher( matcherIn, matcherOut, context, xml );\n\t\t} else {\n\t\t\tmatcherOut = matcherIn;\n\t\t}\n\n\t\t// Apply postFilter\n\t\tif ( postFilter ) {\n\t\t\ttemp = condense( matcherOut, postMap );\n\t\t\tpostFilter( temp, [], context, xml );\n\n\t\t\t// Un-match failing elements by moving them back to matcherIn\n\t\t\ti = temp.length;\n\t\t\twhile ( i-- ) {\n\t\t\t\tif ( ( elem = temp[ i ] ) ) {\n\t\t\t\t\tmatcherOut[ postMap[ i ] ] = !( matcherIn[ postMap[ i ] ] = elem );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif ( seed ) {\n\t\t\tif ( postFinder || preFilter ) {\n\t\t\t\tif ( postFinder ) {\n\n\t\t\t\t\t// Get the final matcherOut by condensing this intermediate into postFinder contexts\n\t\t\t\t\ttemp = [];\n\t\t\t\t\ti = matcherOut.length;\n\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\tif ( ( elem = matcherOut[ i ] ) ) {\n\n\t\t\t\t\t\t\t// Restore matcherIn since elem is not yet a final match\n\t\t\t\t\t\t\ttemp.push( ( matcherIn[ i ] = elem ) );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tpostFinder( null, ( matcherOut = [] ), temp, xml );\n\t\t\t\t}\n\n\t\t\t\t// Move matched elements from seed to results to keep them synchronized\n\t\t\t\ti = matcherOut.length;\n\t\t\t\twhile ( i-- ) {\n\t\t\t\t\tif ( ( elem = matcherOut[ i ] ) &&\n\t\t\t\t\t\t( temp = postFinder ? indexOf.call( seed, elem ) : preMap[ i ] ) > -1 ) {\n\n\t\t\t\t\t\tseed[ temp ] = !( results[ temp ] = elem );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t// Add elements to results, through postFinder if defined\n\t\t} else {\n\t\t\tmatcherOut = condense(\n\t\t\t\tmatcherOut === results ?\n\t\t\t\t\tmatcherOut.splice( preexisting, matcherOut.length ) :\n\t\t\t\t\tmatcherOut\n\t\t\t);\n\t\t\tif ( postFinder ) {\n\t\t\t\tpostFinder( null, results, matcherOut, xml );\n\t\t\t} else {\n\t\t\t\tpush.apply( results, matcherOut );\n\t\t\t}\n\t\t}\n\t} );\n}\n\nfunction matcherFromTokens( tokens ) {\n\tvar checkContext, matcher, j,\n\t\tlen = tokens.length,\n\t\tleadingRelative = Expr.relative[ tokens[ 0 ].type ],\n\t\timplicitRelative = leadingRelative || Expr.relative[ \" \" ],\n\t\ti = leadingRelative ? 1 : 0,\n\n\t\t// The foundational matcher ensures that elements are reachable from top-level context(s)\n\t\tmatchContext = addCombinator( function( elem ) {\n\t\t\treturn elem === checkContext;\n\t\t}, implicitRelative, true ),\n\t\tmatchAnyContext = addCombinator( function( elem ) {\n\t\t\treturn indexOf.call( checkContext, elem ) > -1;\n\t\t}, implicitRelative, true ),\n\t\tmatchers = [ function( elem, context, xml ) {\n\n\t\t\t// Support: IE 11+, Edge 17 - 18+\n\t\t\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t\t\t// two documents; shallow comparisons work.\n\t\t\t// eslint-disable-next-line eqeqeq\n\t\t\tvar ret = ( !leadingRelative && ( xml || context != outermostContext ) ) || (\n\t\t\t\t( checkContext = context ).nodeType ?\n\t\t\t\t\tmatchContext( elem, context, xml ) :\n\t\t\t\t\tmatchAnyContext( elem, context, xml ) );\n\n\t\t\t// Avoid hanging onto element\n\t\t\t// (see https://github.com/jquery/sizzle/issues/299)\n\t\t\tcheckContext = null;\n\t\t\treturn ret;\n\t\t} ];\n\n\tfor ( ; i < len; i++ ) {\n\t\tif ( ( matcher = Expr.relative[ tokens[ i ].type ] ) ) {\n\t\t\tmatchers = [ addCombinator( elementMatcher( matchers ), matcher ) ];\n\t\t} else {\n\t\t\tmatcher = Expr.filter[ tokens[ i ].type ].apply( null, tokens[ i ].matches );\n\n\t\t\t// Return special upon seeing a positional matcher\n\t\t\tif ( matcher[ expando ] ) {\n\n\t\t\t\t// Find the next relative operator (if any) for proper handling\n\t\t\t\tj = ++i;\n\t\t\t\tfor ( ; j < len; j++ ) {\n\t\t\t\t\tif ( Expr.relative[ tokens[ j ].type ] ) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn setMatcher(\n\t\t\t\t\ti > 1 && elementMatcher( matchers ),\n\t\t\t\t\ti > 1 && toSelector(\n\n\t\t\t\t\t\t// If the preceding token was a descendant combinator, insert an implicit any-element `*`\n\t\t\t\t\t\ttokens.slice( 0, i - 1 )\n\t\t\t\t\t\t\t.concat( { value: tokens[ i - 2 ].type === \" \" ? \"*\" : \"\" } )\n\t\t\t\t\t).replace( rtrimCSS, \"$1\" ),\n\t\t\t\t\tmatcher,\n\t\t\t\t\ti < j && matcherFromTokens( tokens.slice( i, j ) ),\n\t\t\t\t\tj < len && matcherFromTokens( ( tokens = tokens.slice( j ) ) ),\n\t\t\t\t\tj < len && toSelector( tokens )\n\t\t\t\t);\n\t\t\t}\n\t\t\tmatchers.push( matcher );\n\t\t}\n\t}\n\n\treturn elementMatcher( matchers );\n}\n\nfunction matcherFromGroupMatchers( elementMatchers, setMatchers ) {\n\tvar bySet = setMatchers.length > 0,\n\t\tbyElement = elementMatchers.length > 0,\n\t\tsuperMatcher = function( seed, context, xml, results, outermost ) {\n\t\t\tvar elem, j, matcher,\n\t\t\t\tmatchedCount = 0,\n\t\t\t\ti = \"0\",\n\t\t\t\tunmatched = seed && [],\n\t\t\t\tsetMatched = [],\n\t\t\t\tcontextBackup = outermostContext,\n\n\t\t\t\t// We must always have either seed elements or outermost context\n\t\t\t\telems = seed || byElement && Expr.find.TAG( \"*\", outermost ),\n\n\t\t\t\t// Use integer dirruns iff this is the outermost matcher\n\t\t\t\tdirrunsUnique = ( dirruns += contextBackup == null ? 1 : Math.random() || 0.1 ),\n\t\t\t\tlen = elems.length;\n\n\t\t\tif ( outermost ) {\n\n\t\t\t\t// Support: IE 11+, Edge 17 - 18+\n\t\t\t\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t\t\t\t// two documents; shallow comparisons work.\n\t\t\t\t// eslint-disable-next-line eqeqeq\n\t\t\t\toutermostContext = context == document || context || outermost;\n\t\t\t}\n\n\t\t\t// Add elements passing elementMatchers directly to results\n\t\t\t// Support: iOS <=7 - 9 only\n\t\t\t// Tolerate NodeList properties (IE: \"length\"; Safari: <number>) matching\n\t\t\t// elements by id. (see trac-14142)\n\t\t\tfor ( ; i !== len && ( elem = elems[ i ] ) != null; i++ ) {\n\t\t\t\tif ( byElement && elem ) {\n\t\t\t\t\tj = 0;\n\n\t\t\t\t\t// Support: IE 11+, Edge 17 - 18+\n\t\t\t\t\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t\t\t\t\t// two documents; shallow comparisons work.\n\t\t\t\t\t// eslint-disable-next-line eqeqeq\n\t\t\t\t\tif ( !context && elem.ownerDocument != document ) {\n\t\t\t\t\t\tsetDocument( elem );\n\t\t\t\t\t\txml = !documentIsHTML;\n\t\t\t\t\t}\n\t\t\t\t\twhile ( ( matcher = elementMatchers[ j++ ] ) ) {\n\t\t\t\t\t\tif ( matcher( elem, context || document, xml ) ) {\n\t\t\t\t\t\t\tpush.call( results, elem );\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif ( outermost ) {\n\t\t\t\t\t\tdirruns = dirrunsUnique;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Track unmatched elements for set filters\n\t\t\t\tif ( bySet ) {\n\n\t\t\t\t\t// They will have gone through all possible matchers\n\t\t\t\t\tif ( ( elem = !matcher && elem ) ) {\n\t\t\t\t\t\tmatchedCount--;\n\t\t\t\t\t}\n\n\t\t\t\t\t// Lengthen the array for every element, matched or not\n\t\t\t\t\tif ( seed ) {\n\t\t\t\t\t\tunmatched.push( elem );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// `i` is now the count of elements visited above, and adding it to `matchedCount`\n\t\t\t// makes the latter nonnegative.\n\t\t\tmatchedCount += i;\n\n\t\t\t// Apply set filters to unmatched elements\n\t\t\t// NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount`\n\t\t\t// equals `i`), unless we didn't visit _any_ elements in the above loop because we have\n\t\t\t// no element matchers and no seed.\n\t\t\t// Incrementing an initially-string \"0\" `i` allows `i` to remain a string only in that\n\t\t\t// case, which will result in a \"00\" `matchedCount` that differs from `i` but is also\n\t\t\t// numerically zero.\n\t\t\tif ( bySet && i !== matchedCount ) {\n\t\t\t\tj = 0;\n\t\t\t\twhile ( ( matcher = setMatchers[ j++ ] ) ) {\n\t\t\t\t\tmatcher( unmatched, setMatched, context, xml );\n\t\t\t\t}\n\n\t\t\t\tif ( seed ) {\n\n\t\t\t\t\t// Reintegrate element matches to eliminate the need for sorting\n\t\t\t\t\tif ( matchedCount > 0 ) {\n\t\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\t\tif ( !( unmatched[ i ] || setMatched[ i ] ) ) {\n\t\t\t\t\t\t\t\tsetMatched[ i ] = pop.call( results );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// Discard index placeholder values to get only actual matches\n\t\t\t\t\tsetMatched = condense( setMatched );\n\t\t\t\t}\n\n\t\t\t\t// Add matches to results\n\t\t\t\tpush.apply( results, setMatched );\n\n\t\t\t\t// Seedless set matches succeeding multiple successful matchers stipulate sorting\n\t\t\t\tif ( outermost && !seed && setMatched.length > 0 &&\n\t\t\t\t\t( matchedCount + setMatchers.length ) > 1 ) {\n\n\t\t\t\t\tjQuery.uniqueSort( results );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Override manipulation of globals by nested matchers\n\t\t\tif ( outermost ) {\n\t\t\t\tdirruns = dirrunsUnique;\n\t\t\t\toutermostContext = contextBackup;\n\t\t\t}\n\n\t\t\treturn unmatched;\n\t\t};\n\n\treturn bySet ?\n\t\tmarkFunction( superMatcher ) :\n\t\tsuperMatcher;\n}\n\nfunction compile( selector, match /* Internal Use Only */ ) {\n\tvar i,\n\t\tsetMatchers = [],\n\t\telementMatchers = [],\n\t\tcached = compilerCache[ selector + \" \" ];\n\n\tif ( !cached ) {\n\n\t\t// Generate a function of recursive functions that can be used to check each element\n\t\tif ( !match ) {\n\t\t\tmatch = tokenize( selector );\n\t\t}\n\t\ti = match.length;\n\t\twhile ( i-- ) {\n\t\t\tcached = matcherFromTokens( match[ i ] );\n\t\t\tif ( cached[ expando ] ) {\n\t\t\t\tsetMatchers.push( cached );\n\t\t\t} else {\n\t\t\t\telementMatchers.push( cached );\n\t\t\t}\n\t\t}\n\n\t\t// Cache the compiled function\n\t\tcached = compilerCache( selector,\n\t\t\tmatcherFromGroupMatchers( elementMatchers, setMatchers ) );\n\n\t\t// Save selector and tokenization\n\t\tcached.selector = selector;\n\t}\n\treturn cached;\n}\n\n/**\n * A low-level selection function that works with jQuery's compiled\n *  selector functions\n * @param {String|Function} selector A selector or a pre-compiled\n *  selector function built with jQuery selector compile\n * @param {Element} context\n * @param {Array} [results]\n * @param {Array} [seed] A set of elements to match against\n */\nfunction select( selector, context, results, seed ) {\n\tvar i, tokens, token, type, find,\n\t\tcompiled = typeof selector === \"function\" && selector,\n\t\tmatch = !seed && tokenize( ( selector = compiled.selector || selector ) );\n\n\tresults = results || [];\n\n\t// Try to minimize operations if there is only one selector in the list and no seed\n\t// (the latter of which guarantees us context)\n\tif ( match.length === 1 ) {\n\n\t\t// Reduce context if the leading compound selector is an ID\n\t\ttokens = match[ 0 ] = match[ 0 ].slice( 0 );\n\t\tif ( tokens.length > 2 && ( token = tokens[ 0 ] ).type === \"ID\" &&\n\t\t\t\tcontext.nodeType === 9 && documentIsHTML && Expr.relative[ tokens[ 1 ].type ] ) {\n\n\t\t\tcontext = ( Expr.find.ID(\n\t\t\t\ttoken.matches[ 0 ].replace( runescape, funescape ),\n\t\t\t\tcontext\n\t\t\t) || [] )[ 0 ];\n\t\t\tif ( !context ) {\n\t\t\t\treturn results;\n\n\t\t\t// Precompiled matchers will still verify ancestry, so step up a level\n\t\t\t} else if ( compiled ) {\n\t\t\t\tcontext = context.parentNode;\n\t\t\t}\n\n\t\t\tselector = selector.slice( tokens.shift().value.length );\n\t\t}\n\n\t\t// Fetch a seed set for right-to-left matching\n\t\ti = matchExpr.needsContext.test( selector ) ? 0 : tokens.length;\n\t\twhile ( i-- ) {\n\t\t\ttoken = tokens[ i ];\n\n\t\t\t// Abort if we hit a combinator\n\t\t\tif ( Expr.relative[ ( type = token.type ) ] ) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif ( ( find = Expr.find[ type ] ) ) {\n\n\t\t\t\t// Search, expanding context for leading sibling combinators\n\t\t\t\tif ( ( seed = find(\n\t\t\t\t\ttoken.matches[ 0 ].replace( runescape, funescape ),\n\t\t\t\t\trsibling.test( tokens[ 0 ].type ) &&\n\t\t\t\t\t\ttestContext( context.parentNode ) || context\n\t\t\t\t) ) ) {\n\n\t\t\t\t\t// If seed is empty or no tokens remain, we can return early\n\t\t\t\t\ttokens.splice( i, 1 );\n\t\t\t\t\tselector = seed.length && toSelector( tokens );\n\t\t\t\t\tif ( !selector ) {\n\t\t\t\t\t\tpush.apply( results, seed );\n\t\t\t\t\t\treturn results;\n\t\t\t\t\t}\n\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// Compile and execute a filtering function if one is not provided\n\t// Provide `match` to avoid retokenization if we modified the selector above\n\t( compiled || compile( selector, match ) )(\n\t\tseed,\n\t\tcontext,\n\t\t!documentIsHTML,\n\t\tresults,\n\t\t!context || rsibling.test( selector ) && testContext( context.parentNode ) || context\n\t);\n\treturn results;\n}\n\n// One-time assignments\n\n// Support: Android <=4.0 - 4.1+\n// Sort stability\nsupport.sortStable = expando.split( \"\" ).sort( sortOrder ).join( \"\" ) === expando;\n\n// Initialize against the default document\nsetDocument();\n\n// Support: Android <=4.0 - 4.1+\n// Detached nodes confoundingly follow *each other*\nsupport.sortDetached = assert( function( el ) {\n\n\t// Should return 1, but returns 4 (following)\n\treturn el.compareDocumentPosition( document.createElement( \"fieldset\" ) ) & 1;\n} );\n\njQuery.find = find;\n\n// Deprecated\njQuery.expr[ \":\" ] = jQuery.expr.pseudos;\njQuery.unique = jQuery.uniqueSort;\n\n// These have always been private, but they used to be documented as part of\n// Sizzle so let's maintain them for now for backwards compatibility purposes.\nfind.compile = compile;\nfind.select = select;\nfind.setDocument = setDocument;\nfind.tokenize = tokenize;\n\nfind.escape = jQuery.escapeSelector;\nfind.getText = jQuery.text;\nfind.isXML = jQuery.isXMLDoc;\nfind.selectors = jQuery.expr;\nfind.support = jQuery.support;\nfind.uniqueSort = jQuery.uniqueSort;\n\n\t/* eslint-enable */\n\n} )();\n\n\nvar dir = function( elem, dir, until ) {\n\tvar matched = [],\n\t\ttruncate = until !== undefined;\n\n\twhile ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) {\n\t\tif ( elem.nodeType === 1 ) {\n\t\t\tif ( truncate && jQuery( elem ).is( until ) ) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tmatched.push( elem );\n\t\t}\n\t}\n\treturn matched;\n};\n\n\nvar siblings = function( n, elem ) {\n\tvar matched = [];\n\n\tfor ( ; n; n = n.nextSibling ) {\n\t\tif ( n.nodeType === 1 && n !== elem ) {\n\t\t\tmatched.push( n );\n\t\t}\n\t}\n\n\treturn matched;\n};\n\n\nvar rneedsContext = jQuery.expr.match.needsContext;\n\nvar rsingleTag = ( /^<([a-z][^\\/\\0>:\\x20\\t\\r\\n\\f]*)[\\x20\\t\\r\\n\\f]*\\/?>(?:<\\/\\1>|)$/i );\n\n\n\n// Implement the identical functionality for filter and not\nfunction winnow( elements, qualifier, not ) {\n\tif ( isFunction( qualifier ) ) {\n\t\treturn jQuery.grep( elements, function( elem, i ) {\n\t\t\treturn !!qualifier.call( elem, i, elem ) !== not;\n\t\t} );\n\t}\n\n\t// Single element\n\tif ( qualifier.nodeType ) {\n\t\treturn jQuery.grep( elements, function( elem ) {\n\t\t\treturn ( elem === qualifier ) !== not;\n\t\t} );\n\t}\n\n\t// Arraylike of elements (jQuery, arguments, Array)\n\tif ( typeof qualifier !== \"string\" ) {\n\t\treturn jQuery.grep( elements, function( elem ) {\n\t\t\treturn ( indexOf.call( qualifier, elem ) > -1 ) !== not;\n\t\t} );\n\t}\n\n\t// Filtered directly for both simple and complex selectors\n\treturn jQuery.filter( qualifier, elements, not );\n}\n\njQuery.filter = function( expr, elems, not ) {\n\tvar elem = elems[ 0 ];\n\n\tif ( not ) {\n\t\texpr = \":not(\" + expr + \")\";\n\t}\n\n\tif ( elems.length === 1 && elem.nodeType === 1 ) {\n\t\treturn jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : [];\n\t}\n\n\treturn jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) {\n\t\treturn elem.nodeType === 1;\n\t} ) );\n};\n\njQuery.fn.extend( {\n\tfind: function( selector ) {\n\t\tvar i, ret,\n\t\t\tlen = this.length,\n\t\t\tself = this;\n\n\t\tif ( typeof selector !== \"string\" ) {\n\t\t\treturn this.pushStack( jQuery( selector ).filter( function() {\n\t\t\t\tfor ( i = 0; i < len; i++ ) {\n\t\t\t\t\tif ( jQuery.contains( self[ i ], this ) ) {\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} ) );\n\t\t}\n\n\t\tret = this.pushStack( [] );\n\n\t\tfor ( i = 0; i < len; i++ ) {\n\t\t\tjQuery.find( selector, self[ i ], ret );\n\t\t}\n\n\t\treturn len > 1 ? jQuery.uniqueSort( ret ) : ret;\n\t},\n\tfilter: function( selector ) {\n\t\treturn this.pushStack( winnow( this, selector || [], false ) );\n\t},\n\tnot: function( selector ) {\n\t\treturn this.pushStack( winnow( this, selector || [], true ) );\n\t},\n\tis: function( selector ) {\n\t\treturn !!winnow(\n\t\t\tthis,\n\n\t\t\t// If this is a positional/relative selector, check membership in the returned set\n\t\t\t// so $(\"p:first\").is(\"p:last\") won't return true for a doc with two \"p\".\n\t\t\ttypeof selector === \"string\" && rneedsContext.test( selector ) ?\n\t\t\t\tjQuery( selector ) :\n\t\t\t\tselector || [],\n\t\t\tfalse\n\t\t).length;\n\t}\n} );\n\n\n// Initialize a jQuery object\n\n\n// A central reference to the root jQuery(document)\nvar rootjQuery,\n\n\t// A simple way to check for HTML strings\n\t// Prioritize #id over <tag> to avoid XSS via location.hash (trac-9521)\n\t// Strict HTML recognition (trac-11290: must start with <)\n\t// Shortcut simple #id case for speed\n\trquickExpr = /^(?:\\s*(<[\\w\\W]+>)[^>]*|#([\\w-]+))$/,\n\n\tinit = jQuery.fn.init = function( selector, context, root ) {\n\t\tvar match, elem;\n\n\t\t// HANDLE: $(\"\"), $(null), $(undefined), $(false)\n\t\tif ( !selector ) {\n\t\t\treturn this;\n\t\t}\n\n\t\t// Method init() accepts an alternate rootjQuery\n\t\t// so migrate can support jQuery.sub (gh-2101)\n\t\troot = root || rootjQuery;\n\n\t\t// Handle HTML strings\n\t\tif ( typeof selector === \"string\" ) {\n\t\t\tif ( selector[ 0 ] === \"<\" &&\n\t\t\t\tselector[ selector.length - 1 ] === \">\" &&\n\t\t\t\tselector.length >= 3 ) {\n\n\t\t\t\t// Assume that strings that start and end with <> are HTML and skip the regex check\n\t\t\t\tmatch = [ null, selector, null ];\n\n\t\t\t} else {\n\t\t\t\tmatch = rquickExpr.exec( selector );\n\t\t\t}\n\n\t\t\t// Match html or make sure no context is specified for #id\n\t\t\tif ( match && ( match[ 1 ] || !context ) ) {\n\n\t\t\t\t// HANDLE: $(html) -> $(array)\n\t\t\t\tif ( match[ 1 ] ) {\n\t\t\t\t\tcontext = context instanceof jQuery ? context[ 0 ] : context;\n\n\t\t\t\t\t// Option to run scripts is true for back-compat\n\t\t\t\t\t// Intentionally let the error be thrown if parseHTML is not present\n\t\t\t\t\tjQuery.merge( this, jQuery.parseHTML(\n\t\t\t\t\t\tmatch[ 1 ],\n\t\t\t\t\t\tcontext && context.nodeType ? context.ownerDocument || context : document,\n\t\t\t\t\t\ttrue\n\t\t\t\t\t) );\n\n\t\t\t\t\t// HANDLE: $(html, props)\n\t\t\t\t\tif ( rsingleTag.test( match[ 1 ] ) && jQuery.isPlainObject( context ) ) {\n\t\t\t\t\t\tfor ( match in context ) {\n\n\t\t\t\t\t\t\t// Properties of context are called as methods if possible\n\t\t\t\t\t\t\tif ( isFunction( this[ match ] ) ) {\n\t\t\t\t\t\t\t\tthis[ match ]( context[ match ] );\n\n\t\t\t\t\t\t\t// ...and otherwise set as attributes\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tthis.attr( match, context[ match ] );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\treturn this;\n\n\t\t\t\t// HANDLE: $(#id)\n\t\t\t\t} else {\n\t\t\t\t\telem = document.getElementById( match[ 2 ] );\n\n\t\t\t\t\tif ( elem ) {\n\n\t\t\t\t\t\t// Inject the element directly into the jQuery object\n\t\t\t\t\t\tthis[ 0 ] = elem;\n\t\t\t\t\t\tthis.length = 1;\n\t\t\t\t\t}\n\t\t\t\t\treturn this;\n\t\t\t\t}\n\n\t\t\t// HANDLE: $(expr, $(...))\n\t\t\t} else if ( !context || context.jquery ) {\n\t\t\t\treturn ( context || root ).find( selector );\n\n\t\t\t// HANDLE: $(expr, context)\n\t\t\t// (which is just equivalent to: $(context).find(expr)\n\t\t\t} else {\n\t\t\t\treturn this.constructor( context ).find( selector );\n\t\t\t}\n\n\t\t// HANDLE: $(DOMElement)\n\t\t} else if ( selector.nodeType ) {\n\t\t\tthis[ 0 ] = selector;\n\t\t\tthis.length = 1;\n\t\t\treturn this;\n\n\t\t// HANDLE: $(function)\n\t\t// Shortcut for document ready\n\t\t} else if ( isFunction( selector ) ) {\n\t\t\treturn root.ready !== undefined ?\n\t\t\t\troot.ready( selector ) :\n\n\t\t\t\t// Execute immediately if ready is not present\n\t\t\t\tselector( jQuery );\n\t\t}\n\n\t\treturn jQuery.makeArray( selector, this );\n\t};\n\n// Give the init function the jQuery prototype for later instantiation\ninit.prototype = jQuery.fn;\n\n// Initialize central reference\nrootjQuery = jQuery( document );\n\n\nvar rparentsprev = /^(?:parents|prev(?:Until|All))/,\n\n\t// Methods guaranteed to produce a unique set when starting from a unique set\n\tguaranteedUnique = {\n\t\tchildren: true,\n\t\tcontents: true,\n\t\tnext: true,\n\t\tprev: true\n\t};\n\njQuery.fn.extend( {\n\thas: function( target ) {\n\t\tvar targets = jQuery( target, this ),\n\t\t\tl = targets.length;\n\n\t\treturn this.filter( function() {\n\t\t\tvar i = 0;\n\t\t\tfor ( ; i < l; i++ ) {\n\t\t\t\tif ( jQuery.contains( this, targets[ i ] ) ) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t} );\n\t},\n\n\tclosest: function( selectors, context ) {\n\t\tvar cur,\n\t\t\ti = 0,\n\t\t\tl = this.length,\n\t\t\tmatched = [],\n\t\t\ttargets = typeof selectors !== \"string\" && jQuery( selectors );\n\n\t\t// Positional selectors never match, since there's no _selection_ context\n\t\tif ( !rneedsContext.test( selectors ) ) {\n\t\t\tfor ( ; i < l; i++ ) {\n\t\t\t\tfor ( cur = this[ i ]; cur && cur !== context; cur = cur.parentNode ) {\n\n\t\t\t\t\t// Always skip document fragments\n\t\t\t\t\tif ( cur.nodeType < 11 && ( targets ?\n\t\t\t\t\t\ttargets.index( cur ) > -1 :\n\n\t\t\t\t\t\t// Don't pass non-elements to jQuery#find\n\t\t\t\t\t\tcur.nodeType === 1 &&\n\t\t\t\t\t\t\tjQuery.find.matchesSelector( cur, selectors ) ) ) {\n\n\t\t\t\t\t\tmatched.push( cur );\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn this.pushStack( matched.length > 1 ? jQuery.uniqueSort( matched ) : matched );\n\t},\n\n\t// Determine the position of an element within the set\n\tindex: function( elem ) {\n\n\t\t// No argument, return index in parent\n\t\tif ( !elem ) {\n\t\t\treturn ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1;\n\t\t}\n\n\t\t// Index in selector\n\t\tif ( typeof elem === \"string\" ) {\n\t\t\treturn indexOf.call( jQuery( elem ), this[ 0 ] );\n\t\t}\n\n\t\t// Locate the position of the desired element\n\t\treturn indexOf.call( this,\n\n\t\t\t// If it receives a jQuery object, the first element is used\n\t\t\telem.jquery ? elem[ 0 ] : elem\n\t\t);\n\t},\n\n\tadd: function( selector, context ) {\n\t\treturn this.pushStack(\n\t\t\tjQuery.uniqueSort(\n\t\t\t\tjQuery.merge( this.get(), jQuery( selector, context ) )\n\t\t\t)\n\t\t);\n\t},\n\n\taddBack: function( selector ) {\n\t\treturn this.add( selector == null ?\n\t\t\tthis.prevObject : this.prevObject.filter( selector )\n\t\t);\n\t}\n} );\n\nfunction sibling( cur, dir ) {\n\twhile ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {}\n\treturn cur;\n}\n\njQuery.each( {\n\tparent: function( elem ) {\n\t\tvar parent = elem.parentNode;\n\t\treturn parent && parent.nodeType !== 11 ? parent : null;\n\t},\n\tparents: function( elem ) {\n\t\treturn dir( elem, \"parentNode\" );\n\t},\n\tparentsUntil: function( elem, _i, until ) {\n\t\treturn dir( elem, \"parentNode\", until );\n\t},\n\tnext: function( elem ) {\n\t\treturn sibling( elem, \"nextSibling\" );\n\t},\n\tprev: function( elem ) {\n\t\treturn sibling( elem, \"previousSibling\" );\n\t},\n\tnextAll: function( elem ) {\n\t\treturn dir( elem, \"nextSibling\" );\n\t},\n\tprevAll: function( elem ) {\n\t\treturn dir( elem, \"previousSibling\" );\n\t},\n\tnextUntil: function( elem, _i, until ) {\n\t\treturn dir( elem, \"nextSibling\", until );\n\t},\n\tprevUntil: function( elem, _i, until ) {\n\t\treturn dir( elem, \"previousSibling\", until );\n\t},\n\tsiblings: function( elem ) {\n\t\treturn siblings( ( elem.parentNode || {} ).firstChild, elem );\n\t},\n\tchildren: function( elem ) {\n\t\treturn siblings( elem.firstChild );\n\t},\n\tcontents: function( elem ) {\n\t\tif ( elem.contentDocument != null &&\n\n\t\t\t// Support: IE 11+\n\t\t\t// <object> elements with no `data` attribute has an object\n\t\t\t// `contentDocument` with a `null` prototype.\n\t\t\tgetProto( elem.contentDocument ) ) {\n\n\t\t\treturn elem.contentDocument;\n\t\t}\n\n\t\t// Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only\n\t\t// Treat the template element as a regular one in browsers that\n\t\t// don't support it.\n\t\tif ( nodeName( elem, \"template\" ) ) {\n\t\t\telem = elem.content || elem;\n\t\t}\n\n\t\treturn jQuery.merge( [], elem.childNodes );\n\t}\n}, function( name, fn ) {\n\tjQuery.fn[ name ] = function( until, selector ) {\n\t\tvar matched = jQuery.map( this, fn, until );\n\n\t\tif ( name.slice( -5 ) !== \"Until\" ) {\n\t\t\tselector = until;\n\t\t}\n\n\t\tif ( selector && typeof selector === \"string\" ) {\n\t\t\tmatched = jQuery.filter( selector, matched );\n\t\t}\n\n\t\tif ( this.length > 1 ) {\n\n\t\t\t// Remove duplicates\n\t\t\tif ( !guaranteedUnique[ name ] ) {\n\t\t\t\tjQuery.uniqueSort( matched );\n\t\t\t}\n\n\t\t\t// Reverse order for parents* and prev-derivatives\n\t\t\tif ( rparentsprev.test( name ) ) {\n\t\t\t\tmatched.reverse();\n\t\t\t}\n\t\t}\n\n\t\treturn this.pushStack( matched );\n\t};\n} );\nvar rnothtmlwhite = ( /[^\\x20\\t\\r\\n\\f]+/g );\n\n\n\n// Convert String-formatted options into Object-formatted ones\nfunction createOptions( options ) {\n\tvar object = {};\n\tjQuery.each( options.match( rnothtmlwhite ) || [], function( _, flag ) {\n\t\tobject[ flag ] = true;\n\t} );\n\treturn object;\n}\n\n/*\n * Create a callback list using the following parameters:\n *\n *\toptions: an optional list of space-separated options that will change how\n *\t\t\tthe callback list behaves or a more traditional option object\n *\n * By default a callback list will act like an event callback list and can be\n * \"fired\" multiple times.\n *\n * Possible options:\n *\n *\tonce:\t\t\twill ensure the callback list can only be fired once (like a Deferred)\n *\n *\tmemory:\t\t\twill keep track of previous values and will call any callback added\n *\t\t\t\t\tafter the list has been fired right away with the latest \"memorized\"\n *\t\t\t\t\tvalues (like a Deferred)\n *\n *\tunique:\t\t\twill ensure a callback can only be added once (no duplicate in the list)\n *\n *\tstopOnFalse:\tinterrupt callings when a callback returns false\n *\n */\njQuery.Callbacks = function( options ) {\n\n\t// Convert options from String-formatted to Object-formatted if needed\n\t// (we check in cache first)\n\toptions = typeof options === \"string\" ?\n\t\tcreateOptions( options ) :\n\t\tjQuery.extend( {}, options );\n\n\tvar // Flag to know if list is currently firing\n\t\tfiring,\n\n\t\t// Last fire value for non-forgettable lists\n\t\tmemory,\n\n\t\t// Flag to know if list was already fired\n\t\tfired,\n\n\t\t// Flag to prevent firing\n\t\tlocked,\n\n\t\t// Actual callback list\n\t\tlist = [],\n\n\t\t// Queue of execution data for repeatable lists\n\t\tqueue = [],\n\n\t\t// Index of currently firing callback (modified by add/remove as needed)\n\t\tfiringIndex = -1,\n\n\t\t// Fire callbacks\n\t\tfire = function() {\n\n\t\t\t// Enforce single-firing\n\t\t\tlocked = locked || options.once;\n\n\t\t\t// Execute callbacks for all pending executions,\n\t\t\t// respecting firingIndex overrides and runtime changes\n\t\t\tfired = firing = true;\n\t\t\tfor ( ; queue.length; firingIndex = -1 ) {\n\t\t\t\tmemory = queue.shift();\n\t\t\t\twhile ( ++firingIndex < list.length ) {\n\n\t\t\t\t\t// Run callback and check for early termination\n\t\t\t\t\tif ( list[ firingIndex ].apply( memory[ 0 ], memory[ 1 ] ) === false &&\n\t\t\t\t\t\toptions.stopOnFalse ) {\n\n\t\t\t\t\t\t// Jump to end and forget the data so .add doesn't re-fire\n\t\t\t\t\t\tfiringIndex = list.length;\n\t\t\t\t\t\tmemory = false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Forget the data if we're done with it\n\t\t\tif ( !options.memory ) {\n\t\t\t\tmemory = false;\n\t\t\t}\n\n\t\t\tfiring = false;\n\n\t\t\t// Clean up if we're done firing for good\n\t\t\tif ( locked ) {\n\n\t\t\t\t// Keep an empty list if we have data for future add calls\n\t\t\t\tif ( memory ) {\n\t\t\t\t\tlist = [];\n\n\t\t\t\t// Otherwise, this object is spent\n\t\t\t\t} else {\n\t\t\t\t\tlist = \"\";\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\n\t\t// Actual Callbacks object\n\t\tself = {\n\n\t\t\t// Add a callback or a collection of callbacks to the list\n\t\t\tadd: function() {\n\t\t\t\tif ( list ) {\n\n\t\t\t\t\t// If we have memory from a past run, we should fire after adding\n\t\t\t\t\tif ( memory && !firing ) {\n\t\t\t\t\t\tfiringIndex = list.length - 1;\n\t\t\t\t\t\tqueue.push( memory );\n\t\t\t\t\t}\n\n\t\t\t\t\t( function add( args ) {\n\t\t\t\t\t\tjQuery.each( args, function( _, arg ) {\n\t\t\t\t\t\t\tif ( isFunction( arg ) ) {\n\t\t\t\t\t\t\t\tif ( !options.unique || !self.has( arg ) ) {\n\t\t\t\t\t\t\t\t\tlist.push( arg );\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else if ( arg && arg.length && toType( arg ) !== \"string\" ) {\n\n\t\t\t\t\t\t\t\t// Inspect recursively\n\t\t\t\t\t\t\t\tadd( arg );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} );\n\t\t\t\t\t} )( arguments );\n\n\t\t\t\t\tif ( memory && !firing ) {\n\t\t\t\t\t\tfire();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t},\n\n\t\t\t// Remove a callback from the list\n\t\t\tremove: function() {\n\t\t\t\tjQuery.each( arguments, function( _, arg ) {\n\t\t\t\t\tvar index;\n\t\t\t\t\twhile ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) {\n\t\t\t\t\t\tlist.splice( index, 1 );\n\n\t\t\t\t\t\t// Handle firing indexes\n\t\t\t\t\t\tif ( index <= firingIndex ) {\n\t\t\t\t\t\t\tfiringIndex--;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} );\n\t\t\t\treturn this;\n\t\t\t},\n\n\t\t\t// Check if a given callback is in the list.\n\t\t\t// If no argument is given, return whether or not list has callbacks attached.\n\t\t\thas: function( fn ) {\n\t\t\t\treturn fn ?\n\t\t\t\t\tjQuery.inArray( fn, list ) > -1 :\n\t\t\t\t\tlist.length > 0;\n\t\t\t},\n\n\t\t\t// Remove all callbacks from the list\n\t\t\tempty: function() {\n\t\t\t\tif ( list ) {\n\t\t\t\t\tlist = [];\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t},\n\n\t\t\t// Disable .fire and .add\n\t\t\t// Abort any current/pending executions\n\t\t\t// Clear all callbacks and values\n\t\t\tdisable: function() {\n\t\t\t\tlocked = queue = [];\n\t\t\t\tlist = memory = \"\";\n\t\t\t\treturn this;\n\t\t\t},\n\t\t\tdisabled: function() {\n\t\t\t\treturn !list;\n\t\t\t},\n\n\t\t\t// Disable .fire\n\t\t\t// Also disable .add unless we have memory (since it would have no effect)\n\t\t\t// Abort any pending executions\n\t\t\tlock: function() {\n\t\t\t\tlocked = queue = [];\n\t\t\t\tif ( !memory && !firing ) {\n\t\t\t\t\tlist = memory = \"\";\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t},\n\t\t\tlocked: function() {\n\t\t\t\treturn !!locked;\n\t\t\t},\n\n\t\t\t// Call all callbacks with the given context and arguments\n\t\t\tfireWith: function( context, args ) {\n\t\t\t\tif ( !locked ) {\n\t\t\t\t\targs = args || [];\n\t\t\t\t\targs = [ context, args.slice ? args.slice() : args ];\n\t\t\t\t\tqueue.push( args );\n\t\t\t\t\tif ( !firing ) {\n\t\t\t\t\t\tfire();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t},\n\n\t\t\t// Call all the callbacks with the given arguments\n\t\t\tfire: function() {\n\t\t\t\tself.fireWith( this, arguments );\n\t\t\t\treturn this;\n\t\t\t},\n\n\t\t\t// To know if the callbacks have already been called at least once\n\t\t\tfired: function() {\n\t\t\t\treturn !!fired;\n\t\t\t}\n\t\t};\n\n\treturn self;\n};\n\n\nfunction Identity( v ) {\n\treturn v;\n}\nfunction Thrower( ex ) {\n\tthrow ex;\n}\n\nfunction adoptValue( value, resolve, reject, noValue ) {\n\tvar method;\n\n\ttry {\n\n\t\t// Check for promise aspect first to privilege synchronous behavior\n\t\tif ( value && isFunction( ( method = value.promise ) ) ) {\n\t\t\tmethod.call( value ).done( resolve ).fail( reject );\n\n\t\t// Other thenables\n\t\t} else if ( value && isFunction( ( method = value.then ) ) ) {\n\t\t\tmethod.call( value, resolve, reject );\n\n\t\t// Other non-thenables\n\t\t} else {\n\n\t\t\t// Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer:\n\t\t\t// * false: [ value ].slice( 0 ) => resolve( value )\n\t\t\t// * true: [ value ].slice( 1 ) => resolve()\n\t\t\tresolve.apply( undefined, [ value ].slice( noValue ) );\n\t\t}\n\n\t// For Promises/A+, convert exceptions into rejections\n\t// Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in\n\t// Deferred#then to conditionally suppress rejection.\n\t} catch ( value ) {\n\n\t\t// Support: Android 4.0 only\n\t\t// Strict mode functions invoked without .call/.apply get global-object context\n\t\treject.apply( undefined, [ value ] );\n\t}\n}\n\njQuery.extend( {\n\n\tDeferred: function( func ) {\n\t\tvar tuples = [\n\n\t\t\t\t// action, add listener, callbacks,\n\t\t\t\t// ... .then handlers, argument index, [final state]\n\t\t\t\t[ \"notify\", \"progress\", jQuery.Callbacks( \"memory\" ),\n\t\t\t\t\tjQuery.Callbacks( \"memory\" ), 2 ],\n\t\t\t\t[ \"resolve\", \"done\", jQuery.Callbacks( \"once memory\" ),\n\t\t\t\t\tjQuery.Callbacks( \"once memory\" ), 0, \"resolved\" ],\n\t\t\t\t[ \"reject\", \"fail\", jQuery.Callbacks( \"once memory\" ),\n\t\t\t\t\tjQuery.Callbacks( \"once memory\" ), 1, \"rejected\" ]\n\t\t\t],\n\t\t\tstate = \"pending\",\n\t\t\tpromise = {\n\t\t\t\tstate: function() {\n\t\t\t\t\treturn state;\n\t\t\t\t},\n\t\t\t\talways: function() {\n\t\t\t\t\tdeferred.done( arguments ).fail( arguments );\n\t\t\t\t\treturn this;\n\t\t\t\t},\n\t\t\t\t\"catch\": function( fn ) {\n\t\t\t\t\treturn promise.then( null, fn );\n\t\t\t\t},\n\n\t\t\t\t// Keep pipe for back-compat\n\t\t\t\tpipe: function( /* fnDone, fnFail, fnProgress */ ) {\n\t\t\t\t\tvar fns = arguments;\n\n\t\t\t\t\treturn jQuery.Deferred( function( newDefer ) {\n\t\t\t\t\t\tjQuery.each( tuples, function( _i, tuple ) {\n\n\t\t\t\t\t\t\t// Map tuples (progress, done, fail) to arguments (done, fail, progress)\n\t\t\t\t\t\t\tvar fn = isFunction( fns[ tuple[ 4 ] ] ) && fns[ tuple[ 4 ] ];\n\n\t\t\t\t\t\t\t// deferred.progress(function() { bind to newDefer or newDefer.notify })\n\t\t\t\t\t\t\t// deferred.done(function() { bind to newDefer or newDefer.resolve })\n\t\t\t\t\t\t\t// deferred.fail(function() { bind to newDefer or newDefer.reject })\n\t\t\t\t\t\t\tdeferred[ tuple[ 1 ] ]( function() {\n\t\t\t\t\t\t\t\tvar returned = fn && fn.apply( this, arguments );\n\t\t\t\t\t\t\t\tif ( returned && isFunction( returned.promise ) ) {\n\t\t\t\t\t\t\t\t\treturned.promise()\n\t\t\t\t\t\t\t\t\t\t.progress( newDefer.notify )\n\t\t\t\t\t\t\t\t\t\t.done( newDefer.resolve )\n\t\t\t\t\t\t\t\t\t\t.fail( newDefer.reject );\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tnewDefer[ tuple[ 0 ] + \"With\" ](\n\t\t\t\t\t\t\t\t\t\tthis,\n\t\t\t\t\t\t\t\t\t\tfn ? [ returned ] : arguments\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t} );\n\t\t\t\t\t\tfns = null;\n\t\t\t\t\t} ).promise();\n\t\t\t\t},\n\t\t\t\tthen: function( onFulfilled, onRejected, onProgress ) {\n\t\t\t\t\tvar maxDepth = 0;\n\t\t\t\t\tfunction resolve( depth, deferred, handler, special ) {\n\t\t\t\t\t\treturn function() {\n\t\t\t\t\t\t\tvar that = this,\n\t\t\t\t\t\t\t\targs = arguments,\n\t\t\t\t\t\t\t\tmightThrow = function() {\n\t\t\t\t\t\t\t\t\tvar returned, then;\n\n\t\t\t\t\t\t\t\t\t// Support: Promises/A+ section 2.3.3.3.3\n\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-59\n\t\t\t\t\t\t\t\t\t// Ignore double-resolution attempts\n\t\t\t\t\t\t\t\t\tif ( depth < maxDepth ) {\n\t\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\treturned = handler.apply( that, args );\n\n\t\t\t\t\t\t\t\t\t// Support: Promises/A+ section 2.3.1\n\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-48\n\t\t\t\t\t\t\t\t\tif ( returned === deferred.promise() ) {\n\t\t\t\t\t\t\t\t\t\tthrow new TypeError( \"Thenable self-resolution\" );\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t// Support: Promises/A+ sections 2.3.3.1, 3.5\n\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-54\n\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-75\n\t\t\t\t\t\t\t\t\t// Retrieve `then` only once\n\t\t\t\t\t\t\t\t\tthen = returned &&\n\n\t\t\t\t\t\t\t\t\t\t// Support: Promises/A+ section 2.3.4\n\t\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-64\n\t\t\t\t\t\t\t\t\t\t// Only check objects and functions for thenability\n\t\t\t\t\t\t\t\t\t\t( typeof returned === \"object\" ||\n\t\t\t\t\t\t\t\t\t\t\ttypeof returned === \"function\" ) &&\n\t\t\t\t\t\t\t\t\t\treturned.then;\n\n\t\t\t\t\t\t\t\t\t// Handle a returned thenable\n\t\t\t\t\t\t\t\t\tif ( isFunction( then ) ) {\n\n\t\t\t\t\t\t\t\t\t\t// Special processors (notify) just wait for resolution\n\t\t\t\t\t\t\t\t\t\tif ( special ) {\n\t\t\t\t\t\t\t\t\t\t\tthen.call(\n\t\t\t\t\t\t\t\t\t\t\t\treturned,\n\t\t\t\t\t\t\t\t\t\t\t\tresolve( maxDepth, deferred, Identity, special ),\n\t\t\t\t\t\t\t\t\t\t\t\tresolve( maxDepth, deferred, Thrower, special )\n\t\t\t\t\t\t\t\t\t\t\t);\n\n\t\t\t\t\t\t\t\t\t\t// Normal processors (resolve) also hook into progress\n\t\t\t\t\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t\t\t\t\t// ...and disregard older resolution values\n\t\t\t\t\t\t\t\t\t\t\tmaxDepth++;\n\n\t\t\t\t\t\t\t\t\t\t\tthen.call(\n\t\t\t\t\t\t\t\t\t\t\t\treturned,\n\t\t\t\t\t\t\t\t\t\t\t\tresolve( maxDepth, deferred, Identity, special ),\n\t\t\t\t\t\t\t\t\t\t\t\tresolve( maxDepth, deferred, Thrower, special ),\n\t\t\t\t\t\t\t\t\t\t\t\tresolve( maxDepth, deferred, Identity,\n\t\t\t\t\t\t\t\t\t\t\t\t\tdeferred.notifyWith )\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t// Handle all other returned values\n\t\t\t\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t\t\t\t// Only substitute handlers pass on context\n\t\t\t\t\t\t\t\t\t\t// and multiple values (non-spec behavior)\n\t\t\t\t\t\t\t\t\t\tif ( handler !== Identity ) {\n\t\t\t\t\t\t\t\t\t\t\tthat = undefined;\n\t\t\t\t\t\t\t\t\t\t\targs = [ returned ];\n\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t// Process the value(s)\n\t\t\t\t\t\t\t\t\t\t// Default process is resolve\n\t\t\t\t\t\t\t\t\t\t( special || deferred.resolveWith )( that, args );\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t},\n\n\t\t\t\t\t\t\t\t// Only normal processors (resolve) catch and reject exceptions\n\t\t\t\t\t\t\t\tprocess = special ?\n\t\t\t\t\t\t\t\t\tmightThrow :\n\t\t\t\t\t\t\t\t\tfunction() {\n\t\t\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\t\t\tmightThrow();\n\t\t\t\t\t\t\t\t\t\t} catch ( e ) {\n\n\t\t\t\t\t\t\t\t\t\t\tif ( jQuery.Deferred.exceptionHook ) {\n\t\t\t\t\t\t\t\t\t\t\t\tjQuery.Deferred.exceptionHook( e,\n\t\t\t\t\t\t\t\t\t\t\t\t\tprocess.error );\n\t\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t\t// Support: Promises/A+ section 2.3.3.3.4.1\n\t\t\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-61\n\t\t\t\t\t\t\t\t\t\t\t// Ignore post-resolution exceptions\n\t\t\t\t\t\t\t\t\t\t\tif ( depth + 1 >= maxDepth ) {\n\n\t\t\t\t\t\t\t\t\t\t\t\t// Only substitute handlers pass on context\n\t\t\t\t\t\t\t\t\t\t\t\t// and multiple values (non-spec behavior)\n\t\t\t\t\t\t\t\t\t\t\t\tif ( handler !== Thrower ) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tthat = undefined;\n\t\t\t\t\t\t\t\t\t\t\t\t\targs = [ e ];\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t\t\tdeferred.rejectWith( that, args );\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t};\n\n\t\t\t\t\t\t\t// Support: Promises/A+ section 2.3.3.3.1\n\t\t\t\t\t\t\t// https://promisesaplus.com/#point-57\n\t\t\t\t\t\t\t// Re-resolve promises immediately to dodge false rejection from\n\t\t\t\t\t\t\t// subsequent errors\n\t\t\t\t\t\t\tif ( depth ) {\n\t\t\t\t\t\t\t\tprocess();\n\t\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t\t// Call an optional hook to record the error, in case of exception\n\t\t\t\t\t\t\t\t// since it's otherwise lost when execution goes async\n\t\t\t\t\t\t\t\tif ( jQuery.Deferred.getErrorHook ) {\n\t\t\t\t\t\t\t\t\tprocess.error = jQuery.Deferred.getErrorHook();\n\n\t\t\t\t\t\t\t\t// The deprecated alias of the above. While the name suggests\n\t\t\t\t\t\t\t\t// returning the stack, not an error instance, jQuery just passes\n\t\t\t\t\t\t\t\t// it directly to `console.warn` so both will work; an instance\n\t\t\t\t\t\t\t\t// just better cooperates with source maps.\n\t\t\t\t\t\t\t\t} else if ( jQuery.Deferred.getStackHook ) {\n\t\t\t\t\t\t\t\t\tprocess.error = jQuery.Deferred.getStackHook();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\twindow.setTimeout( process );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t}\n\n\t\t\t\t\treturn jQuery.Deferred( function( newDefer ) {\n\n\t\t\t\t\t\t// progress_handlers.add( ... )\n\t\t\t\t\t\ttuples[ 0 ][ 3 ].add(\n\t\t\t\t\t\t\tresolve(\n\t\t\t\t\t\t\t\t0,\n\t\t\t\t\t\t\t\tnewDefer,\n\t\t\t\t\t\t\t\tisFunction( onProgress ) ?\n\t\t\t\t\t\t\t\t\tonProgress :\n\t\t\t\t\t\t\t\t\tIdentity,\n\t\t\t\t\t\t\t\tnewDefer.notifyWith\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t);\n\n\t\t\t\t\t\t// fulfilled_handlers.add( ... )\n\t\t\t\t\t\ttuples[ 1 ][ 3 ].add(\n\t\t\t\t\t\t\tresolve(\n\t\t\t\t\t\t\t\t0,\n\t\t\t\t\t\t\t\tnewDefer,\n\t\t\t\t\t\t\t\tisFunction( onFulfilled ) ?\n\t\t\t\t\t\t\t\t\tonFulfilled :\n\t\t\t\t\t\t\t\t\tIdentity\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t);\n\n\t\t\t\t\t\t// rejected_handlers.add( ... )\n\t\t\t\t\t\ttuples[ 2 ][ 3 ].add(\n\t\t\t\t\t\t\tresolve(\n\t\t\t\t\t\t\t\t0,\n\t\t\t\t\t\t\t\tnewDefer,\n\t\t\t\t\t\t\t\tisFunction( onRejected ) ?\n\t\t\t\t\t\t\t\t\tonRejected :\n\t\t\t\t\t\t\t\t\tThrower\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t);\n\t\t\t\t\t} ).promise();\n\t\t\t\t},\n\n\t\t\t\t// Get a promise for this deferred\n\t\t\t\t// If obj is provided, the promise aspect is added to the object\n\t\t\t\tpromise: function( obj ) {\n\t\t\t\t\treturn obj != null ? jQuery.extend( obj, promise ) : promise;\n\t\t\t\t}\n\t\t\t},\n\t\t\tdeferred = {};\n\n\t\t// Add list-specific methods\n\t\tjQuery.each( tuples, function( i, tuple ) {\n\t\t\tvar list = tuple[ 2 ],\n\t\t\t\tstateString = tuple[ 5 ];\n\n\t\t\t// promise.progress = list.add\n\t\t\t// promise.done = list.add\n\t\t\t// promise.fail = list.add\n\t\t\tpromise[ tuple[ 1 ] ] = list.add;\n\n\t\t\t// Handle state\n\t\t\tif ( stateString ) {\n\t\t\t\tlist.add(\n\t\t\t\t\tfunction() {\n\n\t\t\t\t\t\t// state = \"resolved\" (i.e., fulfilled)\n\t\t\t\t\t\t// state = \"rejected\"\n\t\t\t\t\t\tstate = stateString;\n\t\t\t\t\t},\n\n\t\t\t\t\t// rejected_callbacks.disable\n\t\t\t\t\t// fulfilled_callbacks.disable\n\t\t\t\t\ttuples[ 3 - i ][ 2 ].disable,\n\n\t\t\t\t\t// rejected_handlers.disable\n\t\t\t\t\t// fulfilled_handlers.disable\n\t\t\t\t\ttuples[ 3 - i ][ 3 ].disable,\n\n\t\t\t\t\t// progress_callbacks.lock\n\t\t\t\t\ttuples[ 0 ][ 2 ].lock,\n\n\t\t\t\t\t// progress_handlers.lock\n\t\t\t\t\ttuples[ 0 ][ 3 ].lock\n\t\t\t\t);\n\t\t\t}\n\n\t\t\t// progress_handlers.fire\n\t\t\t// fulfilled_handlers.fire\n\t\t\t// rejected_handlers.fire\n\t\t\tlist.add( tuple[ 3 ].fire );\n\n\t\t\t// deferred.notify = function() { deferred.notifyWith(...) }\n\t\t\t// deferred.resolve = function() { deferred.resolveWith(...) }\n\t\t\t// deferred.reject = function() { deferred.rejectWith(...) }\n\t\t\tdeferred[ tuple[ 0 ] ] = function() {\n\t\t\t\tdeferred[ tuple[ 0 ] + \"With\" ]( this === deferred ? undefined : this, arguments );\n\t\t\t\treturn this;\n\t\t\t};\n\n\t\t\t// deferred.notifyWith = list.fireWith\n\t\t\t// deferred.resolveWith = list.fireWith\n\t\t\t// deferred.rejectWith = list.fireWith\n\t\t\tdeferred[ tuple[ 0 ] + \"With\" ] = list.fireWith;\n\t\t} );\n\n\t\t// Make the deferred a promise\n\t\tpromise.promise( deferred );\n\n\t\t// Call given func if any\n\t\tif ( func ) {\n\t\t\tfunc.call( deferred, deferred );\n\t\t}\n\n\t\t// All done!\n\t\treturn deferred;\n\t},\n\n\t// Deferred helper\n\twhen: function( singleValue ) {\n\t\tvar\n\n\t\t\t// count of uncompleted subordinates\n\t\t\tremaining = arguments.length,\n\n\t\t\t// count of unprocessed arguments\n\t\t\ti = remaining,\n\n\t\t\t// subordinate fulfillment data\n\t\t\tresolveContexts = Array( i ),\n\t\t\tresolveValues = slice.call( arguments ),\n\n\t\t\t// the primary Deferred\n\t\t\tprimary = jQuery.Deferred(),\n\n\t\t\t// subordinate callback factory\n\t\t\tupdateFunc = function( i ) {\n\t\t\t\treturn function( value ) {\n\t\t\t\t\tresolveContexts[ i ] = this;\n\t\t\t\t\tresolveValues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value;\n\t\t\t\t\tif ( !( --remaining ) ) {\n\t\t\t\t\t\tprimary.resolveWith( resolveContexts, resolveValues );\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t};\n\n\t\t// Single- and empty arguments are adopted like Promise.resolve\n\t\tif ( remaining <= 1 ) {\n\t\t\tadoptValue( singleValue, primary.done( updateFunc( i ) ).resolve, primary.reject,\n\t\t\t\t!remaining );\n\n\t\t\t// Use .then() to unwrap secondary thenables (cf. gh-3000)\n\t\t\tif ( primary.state() === \"pending\" ||\n\t\t\t\tisFunction( resolveValues[ i ] && resolveValues[ i ].then ) ) {\n\n\t\t\t\treturn primary.then();\n\t\t\t}\n\t\t}\n\n\t\t// Multiple arguments are aggregated like Promise.all array elements\n\t\twhile ( i-- ) {\n\t\t\tadoptValue( resolveValues[ i ], updateFunc( i ), primary.reject );\n\t\t}\n\n\t\treturn primary.promise();\n\t}\n} );\n\n\n// These usually indicate a programmer mistake during development,\n// warn about them ASAP rather than swallowing them by default.\nvar rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;\n\n// If `jQuery.Deferred.getErrorHook` is defined, `asyncError` is an error\n// captured before the async barrier to get the original error cause\n// which may otherwise be hidden.\njQuery.Deferred.exceptionHook = function( error, asyncError ) {\n\n\t// Support: IE 8 - 9 only\n\t// Console exists when dev tools are open, which can happen at any time\n\tif ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) {\n\t\twindow.console.warn( \"jQuery.Deferred exception: \" + error.message,\n\t\t\terror.stack, asyncError );\n\t}\n};\n\n\n\n\njQuery.readyException = function( error ) {\n\twindow.setTimeout( function() {\n\t\tthrow error;\n\t} );\n};\n\n\n\n\n// The deferred used on DOM ready\nvar readyList = jQuery.Deferred();\n\njQuery.fn.ready = function( fn ) {\n\n\treadyList\n\t\t.then( fn )\n\n\t\t// Wrap jQuery.readyException in a function so that the lookup\n\t\t// happens at the time of error handling instead of callback\n\t\t// registration.\n\t\t.catch( function( error ) {\n\t\t\tjQuery.readyException( error );\n\t\t} );\n\n\treturn this;\n};\n\njQuery.extend( {\n\n\t// Is the DOM ready to be used? Set to true once it occurs.\n\tisReady: false,\n\n\t// A counter to track how many items to wait for before\n\t// the ready event fires. See trac-6781\n\treadyWait: 1,\n\n\t// Handle when the DOM is ready\n\tready: function( wait ) {\n\n\t\t// Abort if there are pending holds or we're already ready\n\t\tif ( wait === true ? --jQuery.readyWait : jQuery.isReady ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Remember that the DOM is ready\n\t\tjQuery.isReady = true;\n\n\t\t// If a normal DOM Ready event fired, decrement, and wait if need be\n\t\tif ( wait !== true && --jQuery.readyWait > 0 ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// If there are functions bound, to execute\n\t\treadyList.resolveWith( document, [ jQuery ] );\n\t}\n} );\n\njQuery.ready.then = readyList.then;\n\n// The ready event handler and self cleanup method\nfunction completed() {\n\tdocument.removeEventListener( \"DOMContentLoaded\", completed );\n\twindow.removeEventListener( \"load\", completed );\n\tjQuery.ready();\n}\n\n// Catch cases where $(document).ready() is called\n// after the browser event has already occurred.\n// Support: IE <=9 - 10 only\n// Older IE sometimes signals \"interactive\" too soon\nif ( document.readyState === \"complete\" ||\n\t( document.readyState !== \"loading\" && !document.documentElement.doScroll ) ) {\n\n\t// Handle it asynchronously to allow scripts the opportunity to delay ready\n\twindow.setTimeout( jQuery.ready );\n\n} else {\n\n\t// Use the handy event callback\n\tdocument.addEventListener( \"DOMContentLoaded\", completed );\n\n\t// A fallback to window.onload, that will always work\n\twindow.addEventListener( \"load\", completed );\n}\n\n\n\n\n// Multifunctional method to get and set values of a collection\n// The value/s can optionally be executed if it's a function\nvar access = function( elems, fn, key, value, chainable, emptyGet, raw ) {\n\tvar i = 0,\n\t\tlen = elems.length,\n\t\tbulk = key == null;\n\n\t// Sets many values\n\tif ( toType( key ) === \"object\" ) {\n\t\tchainable = true;\n\t\tfor ( i in key ) {\n\t\t\taccess( elems, fn, i, key[ i ], true, emptyGet, raw );\n\t\t}\n\n\t// Sets one value\n\t} else if ( value !== undefined ) {\n\t\tchainable = true;\n\n\t\tif ( !isFunction( value ) ) {\n\t\t\traw = true;\n\t\t}\n\n\t\tif ( bulk ) {\n\n\t\t\t// Bulk operations run against the entire set\n\t\t\tif ( raw ) {\n\t\t\t\tfn.call( elems, value );\n\t\t\t\tfn = null;\n\n\t\t\t// ...except when executing function values\n\t\t\t} else {\n\t\t\t\tbulk = fn;\n\t\t\t\tfn = function( elem, _key, value ) {\n\t\t\t\t\treturn bulk.call( jQuery( elem ), value );\n\t\t\t\t};\n\t\t\t}\n\t\t}\n\n\t\tif ( fn ) {\n\t\t\tfor ( ; i < len; i++ ) {\n\t\t\t\tfn(\n\t\t\t\t\telems[ i ], key, raw ?\n\t\t\t\t\t\tvalue :\n\t\t\t\t\t\tvalue.call( elems[ i ], i, fn( elems[ i ], key ) )\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\t}\n\n\tif ( chainable ) {\n\t\treturn elems;\n\t}\n\n\t// Gets\n\tif ( bulk ) {\n\t\treturn fn.call( elems );\n\t}\n\n\treturn len ? fn( elems[ 0 ], key ) : emptyGet;\n};\n\n\n// Matches dashed string for camelizing\nvar rmsPrefix = /^-ms-/,\n\trdashAlpha = /-([a-z])/g;\n\n// Used by camelCase as callback to replace()\nfunction fcamelCase( _all, letter ) {\n\treturn letter.toUpperCase();\n}\n\n// Convert dashed to camelCase; used by the css and data modules\n// Support: IE <=9 - 11, Edge 12 - 15\n// Microsoft forgot to hump their vendor prefix (trac-9572)\nfunction camelCase( string ) {\n\treturn string.replace( rmsPrefix, \"ms-\" ).replace( rdashAlpha, fcamelCase );\n}\nvar acceptData = function( owner ) {\n\n\t// Accepts only:\n\t//  - Node\n\t//    - Node.ELEMENT_NODE\n\t//    - Node.DOCUMENT_NODE\n\t//  - Object\n\t//    - Any\n\treturn owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType );\n};\n\n\n\n\nfunction Data() {\n\tthis.expando = jQuery.expando + Data.uid++;\n}\n\nData.uid = 1;\n\nData.prototype = {\n\n\tcache: function( owner ) {\n\n\t\t// Check if the owner object already has a cache\n\t\tvar value = owner[ this.expando ];\n\n\t\t// If not, create one\n\t\tif ( !value ) {\n\t\t\tvalue = {};\n\n\t\t\t// We can accept data for non-element nodes in modern browsers,\n\t\t\t// but we should not, see trac-8335.\n\t\t\t// Always return an empty object.\n\t\t\tif ( acceptData( owner ) ) {\n\n\t\t\t\t// If it is a node unlikely to be stringify-ed or looped over\n\t\t\t\t// use plain assignment\n\t\t\t\tif ( owner.nodeType ) {\n\t\t\t\t\towner[ this.expando ] = value;\n\n\t\t\t\t// Otherwise secure it in a non-enumerable property\n\t\t\t\t// configurable must be true to allow the property to be\n\t\t\t\t// deleted when data is removed\n\t\t\t\t} else {\n\t\t\t\t\tObject.defineProperty( owner, this.expando, {\n\t\t\t\t\t\tvalue: value,\n\t\t\t\t\t\tconfigurable: true\n\t\t\t\t\t} );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn value;\n\t},\n\tset: function( owner, data, value ) {\n\t\tvar prop,\n\t\t\tcache = this.cache( owner );\n\n\t\t// Handle: [ owner, key, value ] args\n\t\t// Always use camelCase key (gh-2257)\n\t\tif ( typeof data === \"string\" ) {\n\t\t\tcache[ camelCase( data ) ] = value;\n\n\t\t// Handle: [ owner, { properties } ] args\n\t\t} else {\n\n\t\t\t// Copy the properties one-by-one to the cache object\n\t\t\tfor ( prop in data ) {\n\t\t\t\tcache[ camelCase( prop ) ] = data[ prop ];\n\t\t\t}\n\t\t}\n\t\treturn cache;\n\t},\n\tget: function( owner, key ) {\n\t\treturn key === undefined ?\n\t\t\tthis.cache( owner ) :\n\n\t\t\t// Always use camelCase key (gh-2257)\n\t\t\towner[ this.expando ] && owner[ this.expando ][ camelCase( key ) ];\n\t},\n\taccess: function( owner, key, value ) {\n\n\t\t// In cases where either:\n\t\t//\n\t\t//   1. No key was specified\n\t\t//   2. A string key was specified, but no value provided\n\t\t//\n\t\t// Take the \"read\" path and allow the get method to determine\n\t\t// which value to return, respectively either:\n\t\t//\n\t\t//   1. The entire cache object\n\t\t//   2. The data stored at the key\n\t\t//\n\t\tif ( key === undefined ||\n\t\t\t\t( ( key && typeof key === \"string\" ) && value === undefined ) ) {\n\n\t\t\treturn this.get( owner, key );\n\t\t}\n\n\t\t// When the key is not a string, or both a key and value\n\t\t// are specified, set or extend (existing objects) with either:\n\t\t//\n\t\t//   1. An object of properties\n\t\t//   2. A key and value\n\t\t//\n\t\tthis.set( owner, key, value );\n\n\t\t// Since the \"set\" path can have two possible entry points\n\t\t// return the expected data based on which path was taken[*]\n\t\treturn value !== undefined ? value : key;\n\t},\n\tremove: function( owner, key ) {\n\t\tvar i,\n\t\t\tcache = owner[ this.expando ];\n\n\t\tif ( cache === undefined ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ( key !== undefined ) {\n\n\t\t\t// Support array or space separated string of keys\n\t\t\tif ( Array.isArray( key ) ) {\n\n\t\t\t\t// If key is an array of keys...\n\t\t\t\t// We always set camelCase keys, so remove that.\n\t\t\t\tkey = key.map( camelCase );\n\t\t\t} else {\n\t\t\t\tkey = camelCase( key );\n\n\t\t\t\t// If a key with the spaces exists, use it.\n\t\t\t\t// Otherwise, create an array by matching non-whitespace\n\t\t\t\tkey = key in cache ?\n\t\t\t\t\t[ key ] :\n\t\t\t\t\t( key.match( rnothtmlwhite ) || [] );\n\t\t\t}\n\n\t\t\ti = key.length;\n\n\t\t\twhile ( i-- ) {\n\t\t\t\tdelete cache[ key[ i ] ];\n\t\t\t}\n\t\t}\n\n\t\t// Remove the expando if there's no more data\n\t\tif ( key === undefined || jQuery.isEmptyObject( cache ) ) {\n\n\t\t\t// Support: Chrome <=35 - 45\n\t\t\t// Webkit & Blink performance suffers when deleting properties\n\t\t\t// from DOM nodes, so set to undefined instead\n\t\t\t// https://bugs.chromium.org/p/chromium/issues/detail?id=378607 (bug restricted)\n\t\t\tif ( owner.nodeType ) {\n\t\t\t\towner[ this.expando ] = undefined;\n\t\t\t} else {\n\t\t\t\tdelete owner[ this.expando ];\n\t\t\t}\n\t\t}\n\t},\n\thasData: function( owner ) {\n\t\tvar cache = owner[ this.expando ];\n\t\treturn cache !== undefined && !jQuery.isEmptyObject( cache );\n\t}\n};\nvar dataPriv = new Data();\n\nvar dataUser = new Data();\n\n\n\n//\tImplementation Summary\n//\n//\t1. Enforce API surface and semantic compatibility with 1.9.x branch\n//\t2. Improve the module's maintainability by reducing the storage\n//\t\tpaths to a single mechanism.\n//\t3. Use the same single mechanism to support \"private\" and \"user\" data.\n//\t4. _Never_ expose \"private\" data to user code (TODO: Drop _data, _removeData)\n//\t5. Avoid exposing implementation details on user objects (eg. expando properties)\n//\t6. Provide a clear path for implementation upgrade to WeakMap in 2014\n\nvar rbrace = /^(?:\\{[\\w\\W]*\\}|\\[[\\w\\W]*\\])$/,\n\trmultiDash = /[A-Z]/g;\n\nfunction getData( data ) {\n\tif ( data === \"true\" ) {\n\t\treturn true;\n\t}\n\n\tif ( data === \"false\" ) {\n\t\treturn false;\n\t}\n\n\tif ( data === \"null\" ) {\n\t\treturn null;\n\t}\n\n\t// Only convert to a number if it doesn't change the string\n\tif ( data === +data + \"\" ) {\n\t\treturn +data;\n\t}\n\n\tif ( rbrace.test( data ) ) {\n\t\treturn JSON.parse( data );\n\t}\n\n\treturn data;\n}\n\nfunction dataAttr( elem, key, data ) {\n\tvar name;\n\n\t// If nothing was found internally, try to fetch any\n\t// data from the HTML5 data-* attribute\n\tif ( data === undefined && elem.nodeType === 1 ) {\n\t\tname = \"data-\" + key.replace( rmultiDash, \"-$&\" ).toLowerCase();\n\t\tdata = elem.getAttribute( name );\n\n\t\tif ( typeof data === \"string\" ) {\n\t\t\ttry {\n\t\t\t\tdata = getData( data );\n\t\t\t} catch ( e ) {}\n\n\t\t\t// Make sure we set the data so it isn't changed later\n\t\t\tdataUser.set( elem, key, data );\n\t\t} else {\n\t\t\tdata = undefined;\n\t\t}\n\t}\n\treturn data;\n}\n\njQuery.extend( {\n\thasData: function( elem ) {\n\t\treturn dataUser.hasData( elem ) || dataPriv.hasData( elem );\n\t},\n\n\tdata: function( elem, name, data ) {\n\t\treturn dataUser.access( elem, name, data );\n\t},\n\n\tremoveData: function( elem, name ) {\n\t\tdataUser.remove( elem, name );\n\t},\n\n\t// TODO: Now that all calls to _data and _removeData have been replaced\n\t// with direct calls to dataPriv methods, these can be deprecated.\n\t_data: function( elem, name, data ) {\n\t\treturn dataPriv.access( elem, name, data );\n\t},\n\n\t_removeData: function( elem, name ) {\n\t\tdataPriv.remove( elem, name );\n\t}\n} );\n\njQuery.fn.extend( {\n\tdata: function( key, value ) {\n\t\tvar i, name, data,\n\t\t\telem = this[ 0 ],\n\t\t\tattrs = elem && elem.attributes;\n\n\t\t// Gets all values\n\t\tif ( key === undefined ) {\n\t\t\tif ( this.length ) {\n\t\t\t\tdata = dataUser.get( elem );\n\n\t\t\t\tif ( elem.nodeType === 1 && !dataPriv.get( elem, \"hasDataAttrs\" ) ) {\n\t\t\t\t\ti = attrs.length;\n\t\t\t\t\twhile ( i-- ) {\n\n\t\t\t\t\t\t// Support: IE 11 only\n\t\t\t\t\t\t// The attrs elements can be null (trac-14894)\n\t\t\t\t\t\tif ( attrs[ i ] ) {\n\t\t\t\t\t\t\tname = attrs[ i ].name;\n\t\t\t\t\t\t\tif ( name.indexOf( \"data-\" ) === 0 ) {\n\t\t\t\t\t\t\t\tname = camelCase( name.slice( 5 ) );\n\t\t\t\t\t\t\t\tdataAttr( elem, name, data[ name ] );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tdataPriv.set( elem, \"hasDataAttrs\", true );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn data;\n\t\t}\n\n\t\t// Sets multiple values\n\t\tif ( typeof key === \"object\" ) {\n\t\t\treturn this.each( function() {\n\t\t\t\tdataUser.set( this, key );\n\t\t\t} );\n\t\t}\n\n\t\treturn access( this, function( value ) {\n\t\t\tvar data;\n\n\t\t\t// The calling jQuery object (element matches) is not empty\n\t\t\t// (and therefore has an element appears at this[ 0 ]) and the\n\t\t\t// `value` parameter was not undefined. An empty jQuery object\n\t\t\t// will result in `undefined` for elem = this[ 0 ] which will\n\t\t\t// throw an exception if an attempt to read a data cache is made.\n\t\t\tif ( elem && value === undefined ) {\n\n\t\t\t\t// Attempt to get data from the cache\n\t\t\t\t// The key will always be camelCased in Data\n\t\t\t\tdata = dataUser.get( elem, key );\n\t\t\t\tif ( data !== undefined ) {\n\t\t\t\t\treturn data;\n\t\t\t\t}\n\n\t\t\t\t// Attempt to \"discover\" the data in\n\t\t\t\t// HTML5 custom data-* attrs\n\t\t\t\tdata = dataAttr( elem, key );\n\t\t\t\tif ( data !== undefined ) {\n\t\t\t\t\treturn data;\n\t\t\t\t}\n\n\t\t\t\t// We tried really hard, but the data doesn't exist.\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// Set the data...\n\t\t\tthis.each( function() {\n\n\t\t\t\t// We always store the camelCased key\n\t\t\t\tdataUser.set( this, key, value );\n\t\t\t} );\n\t\t}, null, value, arguments.length > 1, null, true );\n\t},\n\n\tremoveData: function( key ) {\n\t\treturn this.each( function() {\n\t\t\tdataUser.remove( this, key );\n\t\t} );\n\t}\n} );\n\n\njQuery.extend( {\n\tqueue: function( elem, type, data ) {\n\t\tvar queue;\n\n\t\tif ( elem ) {\n\t\t\ttype = ( type || \"fx\" ) + \"queue\";\n\t\t\tqueue = dataPriv.get( elem, type );\n\n\t\t\t// Speed up dequeue by getting out quickly if this is just a lookup\n\t\t\tif ( data ) {\n\t\t\t\tif ( !queue || Array.isArray( data ) ) {\n\t\t\t\t\tqueue = dataPriv.access( elem, type, jQuery.makeArray( data ) );\n\t\t\t\t} else {\n\t\t\t\t\tqueue.push( data );\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn queue || [];\n\t\t}\n\t},\n\n\tdequeue: function( elem, type ) {\n\t\ttype = type || \"fx\";\n\n\t\tvar queue = jQuery.queue( elem, type ),\n\t\t\tstartLength = queue.length,\n\t\t\tfn = queue.shift(),\n\t\t\thooks = jQuery._queueHooks( elem, type ),\n\t\t\tnext = function() {\n\t\t\t\tjQuery.dequeue( elem, type );\n\t\t\t};\n\n\t\t// If the fx queue is dequeued, always remove the progress sentinel\n\t\tif ( fn === \"inprogress\" ) {\n\t\t\tfn = queue.shift();\n\t\t\tstartLength--;\n\t\t}\n\n\t\tif ( fn ) {\n\n\t\t\t// Add a progress sentinel to prevent the fx queue from being\n\t\t\t// automatically dequeued\n\t\t\tif ( type === \"fx\" ) {\n\t\t\t\tqueue.unshift( \"inprogress\" );\n\t\t\t}\n\n\t\t\t// Clear up the last queue stop function\n\t\t\tdelete hooks.stop;\n\t\t\tfn.call( elem, next, hooks );\n\t\t}\n\n\t\tif ( !startLength && hooks ) {\n\t\t\thooks.empty.fire();\n\t\t}\n\t},\n\n\t// Not public - generate a queueHooks object, or return the current one\n\t_queueHooks: function( elem, type ) {\n\t\tvar key = type + \"queueHooks\";\n\t\treturn dataPriv.get( elem, key ) || dataPriv.access( elem, key, {\n\t\t\tempty: jQuery.Callbacks( \"once memory\" ).add( function() {\n\t\t\t\tdataPriv.remove( elem, [ type + \"queue\", key ] );\n\t\t\t} )\n\t\t} );\n\t}\n} );\n\njQuery.fn.extend( {\n\tqueue: function( type, data ) {\n\t\tvar setter = 2;\n\n\t\tif ( typeof type !== \"string\" ) {\n\t\t\tdata = type;\n\t\t\ttype = \"fx\";\n\t\t\tsetter--;\n\t\t}\n\n\t\tif ( arguments.length < setter ) {\n\t\t\treturn jQuery.queue( this[ 0 ], type );\n\t\t}\n\n\t\treturn data === undefined ?\n\t\t\tthis :\n\t\t\tthis.each( function() {\n\t\t\t\tvar queue = jQuery.queue( this, type, data );\n\n\t\t\t\t// Ensure a hooks for this queue\n\t\t\t\tjQuery._queueHooks( this, type );\n\n\t\t\t\tif ( type === \"fx\" && queue[ 0 ] !== \"inprogress\" ) {\n\t\t\t\t\tjQuery.dequeue( this, type );\n\t\t\t\t}\n\t\t\t} );\n\t},\n\tdequeue: function( type ) {\n\t\treturn this.each( function() {\n\t\t\tjQuery.dequeue( this, type );\n\t\t} );\n\t},\n\tclearQueue: function( type ) {\n\t\treturn this.queue( type || \"fx\", [] );\n\t},\n\n\t// Get a promise resolved when queues of a certain type\n\t// are emptied (fx is the type by default)\n\tpromise: function( type, obj ) {\n\t\tvar tmp,\n\t\t\tcount = 1,\n\t\t\tdefer = jQuery.Deferred(),\n\t\t\telements = this,\n\t\t\ti = this.length,\n\t\t\tresolve = function() {\n\t\t\t\tif ( !( --count ) ) {\n\t\t\t\t\tdefer.resolveWith( elements, [ elements ] );\n\t\t\t\t}\n\t\t\t};\n\n\t\tif ( typeof type !== \"string\" ) {\n\t\t\tobj = type;\n\t\t\ttype = undefined;\n\t\t}\n\t\ttype = type || \"fx\";\n\n\t\twhile ( i-- ) {\n\t\t\ttmp = dataPriv.get( elements[ i ], type + \"queueHooks\" );\n\t\t\tif ( tmp && tmp.empty ) {\n\t\t\t\tcount++;\n\t\t\t\ttmp.empty.add( resolve );\n\t\t\t}\n\t\t}\n\t\tresolve();\n\t\treturn defer.promise( obj );\n\t}\n} );\nvar pnum = ( /[+-]?(?:\\d*\\.|)\\d+(?:[eE][+-]?\\d+|)/ ).source;\n\nvar rcssNum = new RegExp( \"^(?:([+-])=|)(\" + pnum + \")([a-z%]*)$\", \"i\" );\n\n\nvar cssExpand = [ \"Top\", \"Right\", \"Bottom\", \"Left\" ];\n\nvar documentElement = document.documentElement;\n\n\n\n\tvar isAttached = function( elem ) {\n\t\t\treturn jQuery.contains( elem.ownerDocument, elem );\n\t\t},\n\t\tcomposed = { composed: true };\n\n\t// Support: IE 9 - 11+, Edge 12 - 18+, iOS 10.0 - 10.2 only\n\t// Check attachment across shadow DOM boundaries when possible (gh-3504)\n\t// Support: iOS 10.0-10.2 only\n\t// Early iOS 10 versions support `attachShadow` but not `getRootNode`,\n\t// leading to errors. We need to check for `getRootNode`.\n\tif ( documentElement.getRootNode ) {\n\t\tisAttached = function( elem ) {\n\t\t\treturn jQuery.contains( elem.ownerDocument, elem ) ||\n\t\t\t\telem.getRootNode( composed ) === elem.ownerDocument;\n\t\t};\n\t}\nvar isHiddenWithinTree = function( elem, el ) {\n\n\t\t// isHiddenWithinTree might be called from jQuery#filter function;\n\t\t// in that case, element will be second argument\n\t\telem = el || elem;\n\n\t\t// Inline style trumps all\n\t\treturn elem.style.display === \"none\" ||\n\t\t\telem.style.display === \"\" &&\n\n\t\t\t// Otherwise, check computed style\n\t\t\t// Support: Firefox <=43 - 45\n\t\t\t// Disconnected elements can have computed display: none, so first confirm that elem is\n\t\t\t// in the document.\n\t\t\tisAttached( elem ) &&\n\n\t\t\tjQuery.css( elem, \"display\" ) === \"none\";\n\t};\n\n\n\nfunction adjustCSS( elem, prop, valueParts, tween ) {\n\tvar adjusted, scale,\n\t\tmaxIterations = 20,\n\t\tcurrentValue = tween ?\n\t\t\tfunction() {\n\t\t\t\treturn tween.cur();\n\t\t\t} :\n\t\t\tfunction() {\n\t\t\t\treturn jQuery.css( elem, prop, \"\" );\n\t\t\t},\n\t\tinitial = currentValue(),\n\t\tunit = valueParts && valueParts[ 3 ] || ( jQuery.cssNumber[ prop ] ? \"\" : \"px\" ),\n\n\t\t// Starting value computation is required for potential unit mismatches\n\t\tinitialInUnit = elem.nodeType &&\n\t\t\t( jQuery.cssNumber[ prop ] || unit !== \"px\" && +initial ) &&\n\t\t\trcssNum.exec( jQuery.css( elem, prop ) );\n\n\tif ( initialInUnit && initialInUnit[ 3 ] !== unit ) {\n\n\t\t// Support: Firefox <=54\n\t\t// Halve the iteration target value to prevent interference from CSS upper bounds (gh-2144)\n\t\tinitial = initial / 2;\n\n\t\t// Trust units reported by jQuery.css\n\t\tunit = unit || initialInUnit[ 3 ];\n\n\t\t// Iteratively approximate from a nonzero starting point\n\t\tinitialInUnit = +initial || 1;\n\n\t\twhile ( maxIterations-- ) {\n\n\t\t\t// Evaluate and update our best guess (doubling guesses that zero out).\n\t\t\t// Finish if the scale equals or crosses 1 (making the old*new product non-positive).\n\t\t\tjQuery.style( elem, prop, initialInUnit + unit );\n\t\t\tif ( ( 1 - scale ) * ( 1 - ( scale = currentValue() / initial || 0.5 ) ) <= 0 ) {\n\t\t\t\tmaxIterations = 0;\n\t\t\t}\n\t\t\tinitialInUnit = initialInUnit / scale;\n\n\t\t}\n\n\t\tinitialInUnit = initialInUnit * 2;\n\t\tjQuery.style( elem, prop, initialInUnit + unit );\n\n\t\t// Make sure we update the tween properties later on\n\t\tvalueParts = valueParts || [];\n\t}\n\n\tif ( valueParts ) {\n\t\tinitialInUnit = +initialInUnit || +initial || 0;\n\n\t\t// Apply relative offset (+=/-=) if specified\n\t\tadjusted = valueParts[ 1 ] ?\n\t\t\tinitialInUnit + ( valueParts[ 1 ] + 1 ) * valueParts[ 2 ] :\n\t\t\t+valueParts[ 2 ];\n\t\tif ( tween ) {\n\t\t\ttween.unit = unit;\n\t\t\ttween.start = initialInUnit;\n\t\t\ttween.end = adjusted;\n\t\t}\n\t}\n\treturn adjusted;\n}\n\n\nvar defaultDisplayMap = {};\n\nfunction getDefaultDisplay( elem ) {\n\tvar temp,\n\t\tdoc = elem.ownerDocument,\n\t\tnodeName = elem.nodeName,\n\t\tdisplay = defaultDisplayMap[ nodeName ];\n\n\tif ( display ) {\n\t\treturn display;\n\t}\n\n\ttemp = doc.body.appendChild( doc.createElement( nodeName ) );\n\tdisplay = jQuery.css( temp, \"display\" );\n\n\ttemp.parentNode.removeChild( temp );\n\n\tif ( display === \"none\" ) {\n\t\tdisplay = \"block\";\n\t}\n\tdefaultDisplayMap[ nodeName ] = display;\n\n\treturn display;\n}\n\nfunction showHide( elements, show ) {\n\tvar display, elem,\n\t\tvalues = [],\n\t\tindex = 0,\n\t\tlength = elements.length;\n\n\t// Determine new display value for elements that need to change\n\tfor ( ; index < length; index++ ) {\n\t\telem = elements[ index ];\n\t\tif ( !elem.style ) {\n\t\t\tcontinue;\n\t\t}\n\n\t\tdisplay = elem.style.display;\n\t\tif ( show ) {\n\n\t\t\t// Since we force visibility upon cascade-hidden elements, an immediate (and slow)\n\t\t\t// check is required in this first loop unless we have a nonempty display value (either\n\t\t\t// inline or about-to-be-restored)\n\t\t\tif ( display === \"none\" ) {\n\t\t\t\tvalues[ index ] = dataPriv.get( elem, \"display\" ) || null;\n\t\t\t\tif ( !values[ index ] ) {\n\t\t\t\t\telem.style.display = \"\";\n\t\t\t\t}\n\t\t\t}\n\t\t\tif ( elem.style.display === \"\" && isHiddenWithinTree( elem ) ) {\n\t\t\t\tvalues[ index ] = getDefaultDisplay( elem );\n\t\t\t}\n\t\t} else {\n\t\t\tif ( display !== \"none\" ) {\n\t\t\t\tvalues[ index ] = \"none\";\n\n\t\t\t\t// Remember what we're overwriting\n\t\t\t\tdataPriv.set( elem, \"display\", display );\n\t\t\t}\n\t\t}\n\t}\n\n\t// Set the display of the elements in a second loop to avoid constant reflow\n\tfor ( index = 0; index < length; index++ ) {\n\t\tif ( values[ index ] != null ) {\n\t\t\telements[ index ].style.display = values[ index ];\n\t\t}\n\t}\n\n\treturn elements;\n}\n\njQuery.fn.extend( {\n\tshow: function() {\n\t\treturn showHide( this, true );\n\t},\n\thide: function() {\n\t\treturn showHide( this );\n\t},\n\ttoggle: function( state ) {\n\t\tif ( typeof state === \"boolean\" ) {\n\t\t\treturn state ? this.show() : this.hide();\n\t\t}\n\n\t\treturn this.each( function() {\n\t\t\tif ( isHiddenWithinTree( this ) ) {\n\t\t\t\tjQuery( this ).show();\n\t\t\t} else {\n\t\t\t\tjQuery( this ).hide();\n\t\t\t}\n\t\t} );\n\t}\n} );\nvar rcheckableType = ( /^(?:checkbox|radio)$/i );\n\nvar rtagName = ( /<([a-z][^\\/\\0>\\x20\\t\\r\\n\\f]*)/i );\n\nvar rscriptType = ( /^$|^module$|\\/(?:java|ecma)script/i );\n\n\n\n( function() {\n\tvar fragment = document.createDocumentFragment(),\n\t\tdiv = fragment.appendChild( document.createElement( \"div\" ) ),\n\t\tinput = document.createElement( \"input\" );\n\n\t// Support: Android 4.0 - 4.3 only\n\t// Check state lost if the name is set (trac-11217)\n\t// Support: Windows Web Apps (WWA)\n\t// `name` and `type` must use .setAttribute for WWA (trac-14901)\n\tinput.setAttribute( \"type\", \"radio\" );\n\tinput.setAttribute( \"checked\", \"checked\" );\n\tinput.setAttribute( \"name\", \"t\" );\n\n\tdiv.appendChild( input );\n\n\t// Support: Android <=4.1 only\n\t// Older WebKit doesn't clone checked state correctly in fragments\n\tsupport.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked;\n\n\t// Support: IE <=11 only\n\t// Make sure textarea (and checkbox) defaultValue is properly cloned\n\tdiv.innerHTML = \"<textarea>x</textarea>\";\n\tsupport.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue;\n\n\t// Support: IE <=9 only\n\t// IE <=9 replaces <option> tags with their contents when inserted outside of\n\t// the select element.\n\tdiv.innerHTML = \"<option></option>\";\n\tsupport.option = !!div.lastChild;\n} )();\n\n\n// We have to close these tags to support XHTML (trac-13200)\nvar wrapMap = {\n\n\t// XHTML parsers do not magically insert elements in the\n\t// same way that tag soup parsers do. So we cannot shorten\n\t// this by omitting <tbody> or other required elements.\n\tthead: [ 1, \"<table>\", \"</table>\" ],\n\tcol: [ 2, \"<table><colgroup>\", \"</colgroup></table>\" ],\n\ttr: [ 2, \"<table><tbody>\", \"</tbody></table>\" ],\n\ttd: [ 3, \"<table><tbody><tr>\", \"</tr></tbody></table>\" ],\n\n\t_default: [ 0, \"\", \"\" ]\n};\n\nwrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead;\nwrapMap.th = wrapMap.td;\n\n// Support: IE <=9 only\nif ( !support.option ) {\n\twrapMap.optgroup = wrapMap.option = [ 1, \"<select multiple='multiple'>\", \"</select>\" ];\n}\n\n\nfunction getAll( context, tag ) {\n\n\t// Support: IE <=9 - 11 only\n\t// Use typeof to avoid zero-argument method invocation on host objects (trac-15151)\n\tvar ret;\n\n\tif ( typeof context.getElementsByTagName !== \"undefined\" ) {\n\t\tret = context.getElementsByTagName( tag || \"*\" );\n\n\t} else if ( typeof context.querySelectorAll !== \"undefined\" ) {\n\t\tret = context.querySelectorAll( tag || \"*\" );\n\n\t} else {\n\t\tret = [];\n\t}\n\n\tif ( tag === undefined || tag && nodeName( context, tag ) ) {\n\t\treturn jQuery.merge( [ context ], ret );\n\t}\n\n\treturn ret;\n}\n\n\n// Mark scripts as having already been evaluated\nfunction setGlobalEval( elems, refElements ) {\n\tvar i = 0,\n\t\tl = elems.length;\n\n\tfor ( ; i < l; i++ ) {\n\t\tdataPriv.set(\n\t\t\telems[ i ],\n\t\t\t\"globalEval\",\n\t\t\t!refElements || dataPriv.get( refElements[ i ], \"globalEval\" )\n\t\t);\n\t}\n}\n\n\nvar rhtml = /<|&#?\\w+;/;\n\nfunction buildFragment( elems, context, scripts, selection, ignored ) {\n\tvar elem, tmp, tag, wrap, attached, j,\n\t\tfragment = context.createDocumentFragment(),\n\t\tnodes = [],\n\t\ti = 0,\n\t\tl = elems.length;\n\n\tfor ( ; i < l; i++ ) {\n\t\telem = elems[ i ];\n\n\t\tif ( elem || elem === 0 ) {\n\n\t\t\t// Add nodes directly\n\t\t\tif ( toType( elem ) === \"object\" ) {\n\n\t\t\t\t// Support: Android <=4.0 only, PhantomJS 1 only\n\t\t\t\t// push.apply(_, arraylike) throws on ancient WebKit\n\t\t\t\tjQuery.merge( nodes, elem.nodeType ? [ elem ] : elem );\n\n\t\t\t// Convert non-html into a text node\n\t\t\t} else if ( !rhtml.test( elem ) ) {\n\t\t\t\tnodes.push( context.createTextNode( elem ) );\n\n\t\t\t// Convert html into DOM nodes\n\t\t\t} else {\n\t\t\t\ttmp = tmp || fragment.appendChild( context.createElement( \"div\" ) );\n\n\t\t\t\t// Deserialize a standard representation\n\t\t\t\ttag = ( rtagName.exec( elem ) || [ \"\", \"\" ] )[ 1 ].toLowerCase();\n\t\t\t\twrap = wrapMap[ tag ] || wrapMap._default;\n\t\t\t\ttmp.innerHTML = wrap[ 1 ] + jQuery.htmlPrefilter( elem ) + wrap[ 2 ];\n\n\t\t\t\t// Descend through wrappers to the right content\n\t\t\t\tj = wrap[ 0 ];\n\t\t\t\twhile ( j-- ) {\n\t\t\t\t\ttmp = tmp.lastChild;\n\t\t\t\t}\n\n\t\t\t\t// Support: Android <=4.0 only, PhantomJS 1 only\n\t\t\t\t// push.apply(_, arraylike) throws on ancient WebKit\n\t\t\t\tjQuery.merge( nodes, tmp.childNodes );\n\n\t\t\t\t// Remember the top-level container\n\t\t\t\ttmp = fragment.firstChild;\n\n\t\t\t\t// Ensure the created nodes are orphaned (trac-12392)\n\t\t\t\ttmp.textContent = \"\";\n\t\t\t}\n\t\t}\n\t}\n\n\t// Remove wrapper from fragment\n\tfragment.textContent = \"\";\n\n\ti = 0;\n\twhile ( ( elem = nodes[ i++ ] ) ) {\n\n\t\t// Skip elements already in the context collection (trac-4087)\n\t\tif ( selection && jQuery.inArray( elem, selection ) > -1 ) {\n\t\t\tif ( ignored ) {\n\t\t\t\tignored.push( elem );\n\t\t\t}\n\t\t\tcontinue;\n\t\t}\n\n\t\tattached = isAttached( elem );\n\n\t\t// Append to fragment\n\t\ttmp = getAll( fragment.appendChild( elem ), \"script\" );\n\n\t\t// Preserve script evaluation history\n\t\tif ( attached ) {\n\t\t\tsetGlobalEval( tmp );\n\t\t}\n\n\t\t// Capture executables\n\t\tif ( scripts ) {\n\t\t\tj = 0;\n\t\t\twhile ( ( elem = tmp[ j++ ] ) ) {\n\t\t\t\tif ( rscriptType.test( elem.type || \"\" ) ) {\n\t\t\t\t\tscripts.push( elem );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn fragment;\n}\n\n\nvar rtypenamespace = /^([^.]*)(?:\\.(.+)|)/;\n\nfunction returnTrue() {\n\treturn true;\n}\n\nfunction returnFalse() {\n\treturn false;\n}\n\nfunction on( elem, types, selector, data, fn, one ) {\n\tvar origFn, type;\n\n\t// Types can be a map of types/handlers\n\tif ( typeof types === \"object\" ) {\n\n\t\t// ( types-Object, selector, data )\n\t\tif ( typeof selector !== \"string\" ) {\n\n\t\t\t// ( types-Object, data )\n\t\t\tdata = data || selector;\n\t\t\tselector = undefined;\n\t\t}\n\t\tfor ( type in types ) {\n\t\t\ton( elem, type, selector, data, types[ type ], one );\n\t\t}\n\t\treturn elem;\n\t}\n\n\tif ( data == null && fn == null ) {\n\n\t\t// ( types, fn )\n\t\tfn = selector;\n\t\tdata = selector = undefined;\n\t} else if ( fn == null ) {\n\t\tif ( typeof selector === \"string\" ) {\n\n\t\t\t// ( types, selector, fn )\n\t\t\tfn = data;\n\t\t\tdata = undefined;\n\t\t} else {\n\n\t\t\t// ( types, data, fn )\n\t\t\tfn = data;\n\t\t\tdata = selector;\n\t\t\tselector = undefined;\n\t\t}\n\t}\n\tif ( fn === false ) {\n\t\tfn = returnFalse;\n\t} else if ( !fn ) {\n\t\treturn elem;\n\t}\n\n\tif ( one === 1 ) {\n\t\torigFn = fn;\n\t\tfn = function( event ) {\n\n\t\t\t// Can use an empty set, since event contains the info\n\t\t\tjQuery().off( event );\n\t\t\treturn origFn.apply( this, arguments );\n\t\t};\n\n\t\t// Use same guid so caller can remove using origFn\n\t\tfn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ );\n\t}\n\treturn elem.each( function() {\n\t\tjQuery.event.add( this, types, fn, data, selector );\n\t} );\n}\n\n/*\n * Helper functions for managing events -- not part of the public interface.\n * Props to Dean Edwards' addEvent library for many of the ideas.\n */\njQuery.event = {\n\n\tglobal: {},\n\n\tadd: function( elem, types, handler, data, selector ) {\n\n\t\tvar handleObjIn, eventHandle, tmp,\n\t\t\tevents, t, handleObj,\n\t\t\tspecial, handlers, type, namespaces, origType,\n\t\t\telemData = dataPriv.get( elem );\n\n\t\t// Only attach events to objects that accept data\n\t\tif ( !acceptData( elem ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Caller can pass in an object of custom data in lieu of the handler\n\t\tif ( handler.handler ) {\n\t\t\thandleObjIn = handler;\n\t\t\thandler = handleObjIn.handler;\n\t\t\tselector = handleObjIn.selector;\n\t\t}\n\n\t\t// Ensure that invalid selectors throw exceptions at attach time\n\t\t// Evaluate against documentElement in case elem is a non-element node (e.g., document)\n\t\tif ( selector ) {\n\t\t\tjQuery.find.matchesSelector( documentElement, selector );\n\t\t}\n\n\t\t// Make sure that the handler has a unique ID, used to find/remove it later\n\t\tif ( !handler.guid ) {\n\t\t\thandler.guid = jQuery.guid++;\n\t\t}\n\n\t\t// Init the element's event structure and main handler, if this is the first\n\t\tif ( !( events = elemData.events ) ) {\n\t\t\tevents = elemData.events = Object.create( null );\n\t\t}\n\t\tif ( !( eventHandle = elemData.handle ) ) {\n\t\t\teventHandle = elemData.handle = function( e ) {\n\n\t\t\t\t// Discard the second event of a jQuery.event.trigger() and\n\t\t\t\t// when an event is called after a page has unloaded\n\t\t\t\treturn typeof jQuery !== \"undefined\" && jQuery.event.triggered !== e.type ?\n\t\t\t\t\tjQuery.event.dispatch.apply( elem, arguments ) : undefined;\n\t\t\t};\n\t\t}\n\n\t\t// Handle multiple events separated by a space\n\t\ttypes = ( types || \"\" ).match( rnothtmlwhite ) || [ \"\" ];\n\t\tt = types.length;\n\t\twhile ( t-- ) {\n\t\t\ttmp = rtypenamespace.exec( types[ t ] ) || [];\n\t\t\ttype = origType = tmp[ 1 ];\n\t\t\tnamespaces = ( tmp[ 2 ] || \"\" ).split( \".\" ).sort();\n\n\t\t\t// There *must* be a type, no attaching namespace-only handlers\n\t\t\tif ( !type ) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\t// If event changes its type, use the special event handlers for the changed type\n\t\t\tspecial = jQuery.event.special[ type ] || {};\n\n\t\t\t// If selector defined, determine special event api type, otherwise given type\n\t\t\ttype = ( selector ? special.delegateType : special.bindType ) || type;\n\n\t\t\t// Update special based on newly reset type\n\t\t\tspecial = jQuery.event.special[ type ] || {};\n\n\t\t\t// handleObj is passed to all event handlers\n\t\t\thandleObj = jQuery.extend( {\n\t\t\t\ttype: type,\n\t\t\t\torigType: origType,\n\t\t\t\tdata: data,\n\t\t\t\thandler: handler,\n\t\t\t\tguid: handler.guid,\n\t\t\t\tselector: selector,\n\t\t\t\tneedsContext: selector && jQuery.expr.match.needsContext.test( selector ),\n\t\t\t\tnamespace: namespaces.join( \".\" )\n\t\t\t}, handleObjIn );\n\n\t\t\t// Init the event handler queue if we're the first\n\t\t\tif ( !( handlers = events[ type ] ) ) {\n\t\t\t\thandlers = events[ type ] = [];\n\t\t\t\thandlers.delegateCount = 0;\n\n\t\t\t\t// Only use addEventListener if the special events handler returns false\n\t\t\t\tif ( !special.setup ||\n\t\t\t\t\tspecial.setup.call( elem, data, namespaces, eventHandle ) === false ) {\n\n\t\t\t\t\tif ( elem.addEventListener ) {\n\t\t\t\t\t\telem.addEventListener( type, eventHandle );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif ( special.add ) {\n\t\t\t\tspecial.add.call( elem, handleObj );\n\n\t\t\t\tif ( !handleObj.handler.guid ) {\n\t\t\t\t\thandleObj.handler.guid = handler.guid;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Add to the element's handler list, delegates in front\n\t\t\tif ( selector ) {\n\t\t\t\thandlers.splice( handlers.delegateCount++, 0, handleObj );\n\t\t\t} else {\n\t\t\t\thandlers.push( handleObj );\n\t\t\t}\n\n\t\t\t// Keep track of which events have ever been used, for event optimization\n\t\t\tjQuery.event.global[ type ] = true;\n\t\t}\n\n\t},\n\n\t// Detach an event or set of events from an element\n\tremove: function( elem, types, handler, selector, mappedTypes ) {\n\n\t\tvar j, origCount, tmp,\n\t\t\tevents, t, handleObj,\n\t\t\tspecial, handlers, type, namespaces, origType,\n\t\t\telemData = dataPriv.hasData( elem ) && dataPriv.get( elem );\n\n\t\tif ( !elemData || !( events = elemData.events ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Once for each type.namespace in types; type may be omitted\n\t\ttypes = ( types || \"\" ).match( rnothtmlwhite ) || [ \"\" ];\n\t\tt = types.length;\n\t\twhile ( t-- ) {\n\t\t\ttmp = rtypenamespace.exec( types[ t ] ) || [];\n\t\t\ttype = origType = tmp[ 1 ];\n\t\t\tnamespaces = ( tmp[ 2 ] || \"\" ).split( \".\" ).sort();\n\n\t\t\t// Unbind all events (on this namespace, if provided) for the element\n\t\t\tif ( !type ) {\n\t\t\t\tfor ( type in events ) {\n\t\t\t\t\tjQuery.event.remove( elem, type + types[ t ], handler, selector, true );\n\t\t\t\t}\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tspecial = jQuery.event.special[ type ] || {};\n\t\t\ttype = ( selector ? special.delegateType : special.bindType ) || type;\n\t\t\thandlers = events[ type ] || [];\n\t\t\ttmp = tmp[ 2 ] &&\n\t\t\t\tnew RegExp( \"(^|\\\\.)\" + namespaces.join( \"\\\\.(?:.*\\\\.|)\" ) + \"(\\\\.|$)\" );\n\n\t\t\t// Remove matching events\n\t\t\torigCount = j = handlers.length;\n\t\t\twhile ( j-- ) {\n\t\t\t\thandleObj = handlers[ j ];\n\n\t\t\t\tif ( ( mappedTypes || origType === handleObj.origType ) &&\n\t\t\t\t\t( !handler || handler.guid === handleObj.guid ) &&\n\t\t\t\t\t( !tmp || tmp.test( handleObj.namespace ) ) &&\n\t\t\t\t\t( !selector || selector === handleObj.selector ||\n\t\t\t\t\t\tselector === \"**\" && handleObj.selector ) ) {\n\t\t\t\t\thandlers.splice( j, 1 );\n\n\t\t\t\t\tif ( handleObj.selector ) {\n\t\t\t\t\t\thandlers.delegateCount--;\n\t\t\t\t\t}\n\t\t\t\t\tif ( special.remove ) {\n\t\t\t\t\t\tspecial.remove.call( elem, handleObj );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Remove generic event handler if we removed something and no more handlers exist\n\t\t\t// (avoids potential for endless recursion during removal of special event handlers)\n\t\t\tif ( origCount && !handlers.length ) {\n\t\t\t\tif ( !special.teardown ||\n\t\t\t\t\tspecial.teardown.call( elem, namespaces, elemData.handle ) === false ) {\n\n\t\t\t\t\tjQuery.removeEvent( elem, type, elemData.handle );\n\t\t\t\t}\n\n\t\t\t\tdelete events[ type ];\n\t\t\t}\n\t\t}\n\n\t\t// Remove data and the expando if it's no longer used\n\t\tif ( jQuery.isEmptyObject( events ) ) {\n\t\t\tdataPriv.remove( elem, \"handle events\" );\n\t\t}\n\t},\n\n\tdispatch: function( nativeEvent ) {\n\n\t\tvar i, j, ret, matched, handleObj, handlerQueue,\n\t\t\targs = new Array( arguments.length ),\n\n\t\t\t// Make a writable jQuery.Event from the native event object\n\t\t\tevent = jQuery.event.fix( nativeEvent ),\n\n\t\t\thandlers = (\n\t\t\t\tdataPriv.get( this, \"events\" ) || Object.create( null )\n\t\t\t)[ event.type ] || [],\n\t\t\tspecial = jQuery.event.special[ event.type ] || {};\n\n\t\t// Use the fix-ed jQuery.Event rather than the (read-only) native event\n\t\targs[ 0 ] = event;\n\n\t\tfor ( i = 1; i < arguments.length; i++ ) {\n\t\t\targs[ i ] = arguments[ i ];\n\t\t}\n\n\t\tevent.delegateTarget = this;\n\n\t\t// Call the preDispatch hook for the mapped type, and let it bail if desired\n\t\tif ( special.preDispatch && special.preDispatch.call( this, event ) === false ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Determine handlers\n\t\thandlerQueue = jQuery.event.handlers.call( this, event, handlers );\n\n\t\t// Run delegates first; they may want to stop propagation beneath us\n\t\ti = 0;\n\t\twhile ( ( matched = handlerQueue[ i++ ] ) && !event.isPropagationStopped() ) {\n\t\t\tevent.currentTarget = matched.elem;\n\n\t\t\tj = 0;\n\t\t\twhile ( ( handleObj = matched.handlers[ j++ ] ) &&\n\t\t\t\t!event.isImmediatePropagationStopped() ) {\n\n\t\t\t\t// If the event is namespaced, then each handler is only invoked if it is\n\t\t\t\t// specially universal or its namespaces are a superset of the event's.\n\t\t\t\tif ( !event.rnamespace || handleObj.namespace === false ||\n\t\t\t\t\tevent.rnamespace.test( handleObj.namespace ) ) {\n\n\t\t\t\t\tevent.handleObj = handleObj;\n\t\t\t\t\tevent.data = handleObj.data;\n\n\t\t\t\t\tret = ( ( jQuery.event.special[ handleObj.origType ] || {} ).handle ||\n\t\t\t\t\t\thandleObj.handler ).apply( matched.elem, args );\n\n\t\t\t\t\tif ( ret !== undefined ) {\n\t\t\t\t\t\tif ( ( event.result = ret ) === false ) {\n\t\t\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\t\t\tevent.stopPropagation();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Call the postDispatch hook for the mapped type\n\t\tif ( special.postDispatch ) {\n\t\t\tspecial.postDispatch.call( this, event );\n\t\t}\n\n\t\treturn event.result;\n\t},\n\n\thandlers: function( event, handlers ) {\n\t\tvar i, handleObj, sel, matchedHandlers, matchedSelectors,\n\t\t\thandlerQueue = [],\n\t\t\tdelegateCount = handlers.delegateCount,\n\t\t\tcur = event.target;\n\n\t\t// Find delegate handlers\n\t\tif ( delegateCount &&\n\n\t\t\t// Support: IE <=9\n\t\t\t// Black-hole SVG <use> instance trees (trac-13180)\n\t\t\tcur.nodeType &&\n\n\t\t\t// Support: Firefox <=42\n\t\t\t// Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861)\n\t\t\t// https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click\n\t\t\t// Support: IE 11 only\n\t\t\t// ...but not arrow key \"clicks\" of radio inputs, which can have `button` -1 (gh-2343)\n\t\t\t!( event.type === \"click\" && event.button >= 1 ) ) {\n\n\t\t\tfor ( ; cur !== this; cur = cur.parentNode || this ) {\n\n\t\t\t\t// Don't check non-elements (trac-13208)\n\t\t\t\t// Don't process clicks on disabled elements (trac-6911, trac-8165, trac-11382, trac-11764)\n\t\t\t\tif ( cur.nodeType === 1 && !( event.type === \"click\" && cur.disabled === true ) ) {\n\t\t\t\t\tmatchedHandlers = [];\n\t\t\t\t\tmatchedSelectors = {};\n\t\t\t\t\tfor ( i = 0; i < delegateCount; i++ ) {\n\t\t\t\t\t\thandleObj = handlers[ i ];\n\n\t\t\t\t\t\t// Don't conflict with Object.prototype properties (trac-13203)\n\t\t\t\t\t\tsel = handleObj.selector + \" \";\n\n\t\t\t\t\t\tif ( matchedSelectors[ sel ] === undefined ) {\n\t\t\t\t\t\t\tmatchedSelectors[ sel ] = handleObj.needsContext ?\n\t\t\t\t\t\t\t\tjQuery( sel, this ).index( cur ) > -1 :\n\t\t\t\t\t\t\t\tjQuery.find( sel, this, null, [ cur ] ).length;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif ( matchedSelectors[ sel ] ) {\n\t\t\t\t\t\t\tmatchedHandlers.push( handleObj );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif ( matchedHandlers.length ) {\n\t\t\t\t\t\thandlerQueue.push( { elem: cur, handlers: matchedHandlers } );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Add the remaining (directly-bound) handlers\n\t\tcur = this;\n\t\tif ( delegateCount < handlers.length ) {\n\t\t\thandlerQueue.push( { elem: cur, handlers: handlers.slice( delegateCount ) } );\n\t\t}\n\n\t\treturn handlerQueue;\n\t},\n\n\taddProp: function( name, hook ) {\n\t\tObject.defineProperty( jQuery.Event.prototype, name, {\n\t\t\tenumerable: true,\n\t\t\tconfigurable: true,\n\n\t\t\tget: isFunction( hook ) ?\n\t\t\t\tfunction() {\n\t\t\t\t\tif ( this.originalEvent ) {\n\t\t\t\t\t\treturn hook( this.originalEvent );\n\t\t\t\t\t}\n\t\t\t\t} :\n\t\t\t\tfunction() {\n\t\t\t\t\tif ( this.originalEvent ) {\n\t\t\t\t\t\treturn this.originalEvent[ name ];\n\t\t\t\t\t}\n\t\t\t\t},\n\n\t\t\tset: function( value ) {\n\t\t\t\tObject.defineProperty( this, name, {\n\t\t\t\t\tenumerable: true,\n\t\t\t\t\tconfigurable: true,\n\t\t\t\t\twritable: true,\n\t\t\t\t\tvalue: value\n\t\t\t\t} );\n\t\t\t}\n\t\t} );\n\t},\n\n\tfix: function( originalEvent ) {\n\t\treturn originalEvent[ jQuery.expando ] ?\n\t\t\toriginalEvent :\n\t\t\tnew jQuery.Event( originalEvent );\n\t},\n\n\tspecial: {\n\t\tload: {\n\n\t\t\t// Prevent triggered image.load events from bubbling to window.load\n\t\t\tnoBubble: true\n\t\t},\n\t\tclick: {\n\n\t\t\t// Utilize native event to ensure correct state for checkable inputs\n\t\t\tsetup: function( data ) {\n\n\t\t\t\t// For mutual compressibility with _default, replace `this` access with a local var.\n\t\t\t\t// `|| data` is dead code meant only to preserve the variable through minification.\n\t\t\t\tvar el = this || data;\n\n\t\t\t\t// Claim the first handler\n\t\t\t\tif ( rcheckableType.test( el.type ) &&\n\t\t\t\t\tel.click && nodeName( el, \"input\" ) ) {\n\n\t\t\t\t\t// dataPriv.set( el, \"click\", ... )\n\t\t\t\t\tleverageNative( el, \"click\", true );\n\t\t\t\t}\n\n\t\t\t\t// Return false to allow normal processing in the caller\n\t\t\t\treturn false;\n\t\t\t},\n\t\t\ttrigger: function( data ) {\n\n\t\t\t\t// For mutual compressibility with _default, replace `this` access with a local var.\n\t\t\t\t// `|| data` is dead code meant only to preserve the variable through minification.\n\t\t\t\tvar el = this || data;\n\n\t\t\t\t// Force setup before triggering a click\n\t\t\t\tif ( rcheckableType.test( el.type ) &&\n\t\t\t\t\tel.click && nodeName( el, \"input\" ) ) {\n\n\t\t\t\t\tleverageNative( el, \"click\" );\n\t\t\t\t}\n\n\t\t\t\t// Return non-false to allow normal event-path propagation\n\t\t\t\treturn true;\n\t\t\t},\n\n\t\t\t// For cross-browser consistency, suppress native .click() on links\n\t\t\t// Also prevent it if we're currently inside a leveraged native-event stack\n\t\t\t_default: function( event ) {\n\t\t\t\tvar target = event.target;\n\t\t\t\treturn rcheckableType.test( target.type ) &&\n\t\t\t\t\ttarget.click && nodeName( target, \"input\" ) &&\n\t\t\t\t\tdataPriv.get( target, \"click\" ) ||\n\t\t\t\t\tnodeName( target, \"a\" );\n\t\t\t}\n\t\t},\n\n\t\tbeforeunload: {\n\t\t\tpostDispatch: function( event ) {\n\n\t\t\t\t// Support: Firefox 20+\n\t\t\t\t// Firefox doesn't alert if the returnValue field is not set.\n\t\t\t\tif ( event.result !== undefined && event.originalEvent ) {\n\t\t\t\t\tevent.originalEvent.returnValue = event.result;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n};\n\n// Ensure the presence of an event listener that handles manually-triggered\n// synthetic events by interrupting progress until reinvoked in response to\n// *native* events that it fires directly, ensuring that state changes have\n// already occurred before other listeners are invoked.\nfunction leverageNative( el, type, isSetup ) {\n\n\t// Missing `isSetup` indicates a trigger call, which must force setup through jQuery.event.add\n\tif ( !isSetup ) {\n\t\tif ( dataPriv.get( el, type ) === undefined ) {\n\t\t\tjQuery.event.add( el, type, returnTrue );\n\t\t}\n\t\treturn;\n\t}\n\n\t// Register the controller as a special universal handler for all event namespaces\n\tdataPriv.set( el, type, false );\n\tjQuery.event.add( el, type, {\n\t\tnamespace: false,\n\t\thandler: function( event ) {\n\t\t\tvar result,\n\t\t\t\tsaved = dataPriv.get( this, type );\n\n\t\t\tif ( ( event.isTrigger & 1 ) && this[ type ] ) {\n\n\t\t\t\t// Interrupt processing of the outer synthetic .trigger()ed event\n\t\t\t\tif ( !saved ) {\n\n\t\t\t\t\t// Store arguments for use when handling the inner native event\n\t\t\t\t\t// There will always be at least one argument (an event object), so this array\n\t\t\t\t\t// will not be confused with a leftover capture object.\n\t\t\t\t\tsaved = slice.call( arguments );\n\t\t\t\t\tdataPriv.set( this, type, saved );\n\n\t\t\t\t\t// Trigger the native event and capture its result\n\t\t\t\t\tthis[ type ]();\n\t\t\t\t\tresult = dataPriv.get( this, type );\n\t\t\t\t\tdataPriv.set( this, type, false );\n\n\t\t\t\t\tif ( saved !== result ) {\n\n\t\t\t\t\t\t// Cancel the outer synthetic event\n\t\t\t\t\t\tevent.stopImmediatePropagation();\n\t\t\t\t\t\tevent.preventDefault();\n\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t}\n\n\t\t\t\t// If this is an inner synthetic event for an event with a bubbling surrogate\n\t\t\t\t// (focus or blur), assume that the surrogate already propagated from triggering\n\t\t\t\t// the native event and prevent that from happening again here.\n\t\t\t\t// This technically gets the ordering wrong w.r.t. to `.trigger()` (in which the\n\t\t\t\t// bubbling surrogate propagates *after* the non-bubbling base), but that seems\n\t\t\t\t// less bad than duplication.\n\t\t\t\t} else if ( ( jQuery.event.special[ type ] || {} ).delegateType ) {\n\t\t\t\t\tevent.stopPropagation();\n\t\t\t\t}\n\n\t\t\t// If this is a native event triggered above, everything is now in order\n\t\t\t// Fire an inner synthetic event with the original arguments\n\t\t\t} else if ( saved ) {\n\n\t\t\t\t// ...and capture the result\n\t\t\t\tdataPriv.set( this, type, jQuery.event.trigger(\n\t\t\t\t\tsaved[ 0 ],\n\t\t\t\t\tsaved.slice( 1 ),\n\t\t\t\t\tthis\n\t\t\t\t) );\n\n\t\t\t\t// Abort handling of the native event by all jQuery handlers while allowing\n\t\t\t\t// native handlers on the same element to run. On target, this is achieved\n\t\t\t\t// by stopping immediate propagation just on the jQuery event. However,\n\t\t\t\t// the native event is re-wrapped by a jQuery one on each level of the\n\t\t\t\t// propagation so the only way to stop it for jQuery is to stop it for\n\t\t\t\t// everyone via native `stopPropagation()`. This is not a problem for\n\t\t\t\t// focus/blur which don't bubble, but it does also stop click on checkboxes\n\t\t\t\t// and radios. We accept this limitation.\n\t\t\t\tevent.stopPropagation();\n\t\t\t\tevent.isImmediatePropagationStopped = returnTrue;\n\t\t\t}\n\t\t}\n\t} );\n}\n\njQuery.removeEvent = function( elem, type, handle ) {\n\n\t// This \"if\" is needed for plain objects\n\tif ( elem.removeEventListener ) {\n\t\telem.removeEventListener( type, handle );\n\t}\n};\n\njQuery.Event = function( src, props ) {\n\n\t// Allow instantiation without the 'new' keyword\n\tif ( !( this instanceof jQuery.Event ) ) {\n\t\treturn new jQuery.Event( src, props );\n\t}\n\n\t// Event object\n\tif ( src && src.type ) {\n\t\tthis.originalEvent = src;\n\t\tthis.type = src.type;\n\n\t\t// Events bubbling up the document may have been marked as prevented\n\t\t// by a handler lower down the tree; reflect the correct value.\n\t\tthis.isDefaultPrevented = src.defaultPrevented ||\n\t\t\t\tsrc.defaultPrevented === undefined &&\n\n\t\t\t\t// Support: Android <=2.3 only\n\t\t\t\tsrc.returnValue === false ?\n\t\t\treturnTrue :\n\t\t\treturnFalse;\n\n\t\t// Create target properties\n\t\t// Support: Safari <=6 - 7 only\n\t\t// Target should not be a text node (trac-504, trac-13143)\n\t\tthis.target = ( src.target && src.target.nodeType === 3 ) ?\n\t\t\tsrc.target.parentNode :\n\t\t\tsrc.target;\n\n\t\tthis.currentTarget = src.currentTarget;\n\t\tthis.relatedTarget = src.relatedTarget;\n\n\t// Event type\n\t} else {\n\t\tthis.type = src;\n\t}\n\n\t// Put explicitly provided properties onto the event object\n\tif ( props ) {\n\t\tjQuery.extend( this, props );\n\t}\n\n\t// Create a timestamp if incoming event doesn't have one\n\tthis.timeStamp = src && src.timeStamp || Date.now();\n\n\t// Mark it as fixed\n\tthis[ jQuery.expando ] = true;\n};\n\n// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding\n// https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html\njQuery.Event.prototype = {\n\tconstructor: jQuery.Event,\n\tisDefaultPrevented: returnFalse,\n\tisPropagationStopped: returnFalse,\n\tisImmediatePropagationStopped: returnFalse,\n\tisSimulated: false,\n\n\tpreventDefault: function() {\n\t\tvar e = this.originalEvent;\n\n\t\tthis.isDefaultPrevented = returnTrue;\n\n\t\tif ( e && !this.isSimulated ) {\n\t\t\te.preventDefault();\n\t\t}\n\t},\n\tstopPropagation: function() {\n\t\tvar e = this.originalEvent;\n\n\t\tthis.isPropagationStopped = returnTrue;\n\n\t\tif ( e && !this.isSimulated ) {\n\t\t\te.stopPropagation();\n\t\t}\n\t},\n\tstopImmediatePropagation: function() {\n\t\tvar e = this.originalEvent;\n\n\t\tthis.isImmediatePropagationStopped = returnTrue;\n\n\t\tif ( e && !this.isSimulated ) {\n\t\t\te.stopImmediatePropagation();\n\t\t}\n\n\t\tthis.stopPropagation();\n\t}\n};\n\n// Includes all common event props including KeyEvent and MouseEvent specific props\njQuery.each( {\n\taltKey: true,\n\tbubbles: true,\n\tcancelable: true,\n\tchangedTouches: true,\n\tctrlKey: true,\n\tdetail: true,\n\teventPhase: true,\n\tmetaKey: true,\n\tpageX: true,\n\tpageY: true,\n\tshiftKey: true,\n\tview: true,\n\t\"char\": true,\n\tcode: true,\n\tcharCode: true,\n\tkey: true,\n\tkeyCode: true,\n\tbutton: true,\n\tbuttons: true,\n\tclientX: true,\n\tclientY: true,\n\toffsetX: true,\n\toffsetY: true,\n\tpointerId: true,\n\tpointerType: true,\n\tscreenX: true,\n\tscreenY: true,\n\ttargetTouches: true,\n\ttoElement: true,\n\ttouches: true,\n\twhich: true\n}, jQuery.event.addProp );\n\njQuery.each( { focus: \"focusin\", blur: \"focusout\" }, function( type, delegateType ) {\n\n\tfunction focusMappedHandler( nativeEvent ) {\n\t\tif ( document.documentMode ) {\n\n\t\t\t// Support: IE 11+\n\t\t\t// Attach a single focusin/focusout handler on the document while someone wants\n\t\t\t// focus/blur. This is because the former are synchronous in IE while the latter\n\t\t\t// are async. In other browsers, all those handlers are invoked synchronously.\n\n\t\t\t// `handle` from private data would already wrap the event, but we need\n\t\t\t// to change the `type` here.\n\t\t\tvar handle = dataPriv.get( this, \"handle\" ),\n\t\t\t\tevent = jQuery.event.fix( nativeEvent );\n\t\t\tevent.type = nativeEvent.type === \"focusin\" ? \"focus\" : \"blur\";\n\t\t\tevent.isSimulated = true;\n\n\t\t\t// First, handle focusin/focusout\n\t\t\thandle( nativeEvent );\n\n\t\t\t// ...then, handle focus/blur\n\t\t\t//\n\t\t\t// focus/blur don't bubble while focusin/focusout do; simulate the former by only\n\t\t\t// invoking the handler at the lower level.\n\t\t\tif ( event.target === event.currentTarget ) {\n\n\t\t\t\t// The setup part calls `leverageNative`, which, in turn, calls\n\t\t\t\t// `jQuery.event.add`, so event handle will already have been set\n\t\t\t\t// by this point.\n\t\t\t\thandle( event );\n\t\t\t}\n\t\t} else {\n\n\t\t\t// For non-IE browsers, attach a single capturing handler on the document\n\t\t\t// while someone wants focusin/focusout.\n\t\t\tjQuery.event.simulate( delegateType, nativeEvent.target,\n\t\t\t\tjQuery.event.fix( nativeEvent ) );\n\t\t}\n\t}\n\n\tjQuery.event.special[ type ] = {\n\n\t\t// Utilize native event if possible so blur/focus sequence is correct\n\t\tsetup: function() {\n\n\t\t\tvar attaches;\n\n\t\t\t// Claim the first handler\n\t\t\t// dataPriv.set( this, \"focus\", ... )\n\t\t\t// dataPriv.set( this, \"blur\", ... )\n\t\t\tleverageNative( this, type, true );\n\n\t\t\tif ( document.documentMode ) {\n\n\t\t\t\t// Support: IE 9 - 11+\n\t\t\t\t// We use the same native handler for focusin & focus (and focusout & blur)\n\t\t\t\t// so we need to coordinate setup & teardown parts between those events.\n\t\t\t\t// Use `delegateType` as the key as `type` is already used by `leverageNative`.\n\t\t\t\tattaches = dataPriv.get( this, delegateType );\n\t\t\t\tif ( !attaches ) {\n\t\t\t\t\tthis.addEventListener( delegateType, focusMappedHandler );\n\t\t\t\t}\n\t\t\t\tdataPriv.set( this, delegateType, ( attaches || 0 ) + 1 );\n\t\t\t} else {\n\n\t\t\t\t// Return false to allow normal processing in the caller\n\t\t\t\treturn false;\n\t\t\t}\n\t\t},\n\t\ttrigger: function() {\n\n\t\t\t// Force setup before trigger\n\t\t\tleverageNative( this, type );\n\n\t\t\t// Return non-false to allow normal event-path propagation\n\t\t\treturn true;\n\t\t},\n\n\t\tteardown: function() {\n\t\t\tvar attaches;\n\n\t\t\tif ( document.documentMode ) {\n\t\t\t\tattaches = dataPriv.get( this, delegateType ) - 1;\n\t\t\t\tif ( !attaches ) {\n\t\t\t\t\tthis.removeEventListener( delegateType, focusMappedHandler );\n\t\t\t\t\tdataPriv.remove( this, delegateType );\n\t\t\t\t} else {\n\t\t\t\t\tdataPriv.set( this, delegateType, attaches );\n\t\t\t\t}\n\t\t\t} else {\n\n\t\t\t\t// Return false to indicate standard teardown should be applied\n\t\t\t\treturn false;\n\t\t\t}\n\t\t},\n\n\t\t// Suppress native focus or blur if we're currently inside\n\t\t// a leveraged native-event stack\n\t\t_default: function( event ) {\n\t\t\treturn dataPriv.get( event.target, type );\n\t\t},\n\n\t\tdelegateType: delegateType\n\t};\n\n\t// Support: Firefox <=44\n\t// Firefox doesn't have focus(in | out) events\n\t// Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787\n\t//\n\t// Support: Chrome <=48 - 49, Safari <=9.0 - 9.1\n\t// focus(in | out) events fire after focus & blur events,\n\t// which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order\n\t// Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857\n\t//\n\t// Support: IE 9 - 11+\n\t// To preserve relative focusin/focus & focusout/blur event order guaranteed on the 3.x branch,\n\t// attach a single handler for both events in IE.\n\tjQuery.event.special[ delegateType ] = {\n\t\tsetup: function() {\n\n\t\t\t// Handle: regular nodes (via `this.ownerDocument`), window\n\t\t\t// (via `this.document`) & document (via `this`).\n\t\t\tvar doc = this.ownerDocument || this.document || this,\n\t\t\t\tdataHolder = document.documentMode ? this : doc,\n\t\t\t\tattaches = dataPriv.get( dataHolder, delegateType );\n\n\t\t\t// Support: IE 9 - 11+\n\t\t\t// We use the same native handler for focusin & focus (and focusout & blur)\n\t\t\t// so we need to coordinate setup & teardown parts between those events.\n\t\t\t// Use `delegateType` as the key as `type` is already used by `leverageNative`.\n\t\t\tif ( !attaches ) {\n\t\t\t\tif ( document.documentMode ) {\n\t\t\t\t\tthis.addEventListener( delegateType, focusMappedHandler );\n\t\t\t\t} else {\n\t\t\t\t\tdoc.addEventListener( type, focusMappedHandler, true );\n\t\t\t\t}\n\t\t\t}\n\t\t\tdataPriv.set( dataHolder, delegateType, ( attaches || 0 ) + 1 );\n\t\t},\n\t\tteardown: function() {\n\t\t\tvar doc = this.ownerDocument || this.document || this,\n\t\t\t\tdataHolder = document.documentMode ? this : doc,\n\t\t\t\tattaches = dataPriv.get( dataHolder, delegateType ) - 1;\n\n\t\t\tif ( !attaches ) {\n\t\t\t\tif ( document.documentMode ) {\n\t\t\t\t\tthis.removeEventListener( delegateType, focusMappedHandler );\n\t\t\t\t} else {\n\t\t\t\t\tdoc.removeEventListener( type, focusMappedHandler, true );\n\t\t\t\t}\n\t\t\t\tdataPriv.remove( dataHolder, delegateType );\n\t\t\t} else {\n\t\t\t\tdataPriv.set( dataHolder, delegateType, attaches );\n\t\t\t}\n\t\t}\n\t};\n} );\n\n// Create mouseenter/leave events using mouseover/out and event-time checks\n// so that event delegation works in jQuery.\n// Do the same for pointerenter/pointerleave and pointerover/pointerout\n//\n// Support: Safari 7 only\n// Safari sends mouseenter too often; see:\n// https://bugs.chromium.org/p/chromium/issues/detail?id=470258\n// for the description of the bug (it existed in older Chrome versions as well).\njQuery.each( {\n\tmouseenter: \"mouseover\",\n\tmouseleave: \"mouseout\",\n\tpointerenter: \"pointerover\",\n\tpointerleave: \"pointerout\"\n}, function( orig, fix ) {\n\tjQuery.event.special[ orig ] = {\n\t\tdelegateType: fix,\n\t\tbindType: fix,\n\n\t\thandle: function( event ) {\n\t\t\tvar ret,\n\t\t\t\ttarget = this,\n\t\t\t\trelated = event.relatedTarget,\n\t\t\t\thandleObj = event.handleObj;\n\n\t\t\t// For mouseenter/leave call the handler if related is outside the target.\n\t\t\t// NB: No relatedTarget if the mouse left/entered the browser window\n\t\t\tif ( !related || ( related !== target && !jQuery.contains( target, related ) ) ) {\n\t\t\t\tevent.type = handleObj.origType;\n\t\t\t\tret = handleObj.handler.apply( this, arguments );\n\t\t\t\tevent.type = fix;\n\t\t\t}\n\t\t\treturn ret;\n\t\t}\n\t};\n} );\n\njQuery.fn.extend( {\n\n\ton: function( types, selector, data, fn ) {\n\t\treturn on( this, types, selector, data, fn );\n\t},\n\tone: function( types, selector, data, fn ) {\n\t\treturn on( this, types, selector, data, fn, 1 );\n\t},\n\toff: function( types, selector, fn ) {\n\t\tvar handleObj, type;\n\t\tif ( types && types.preventDefault && types.handleObj ) {\n\n\t\t\t// ( event )  dispatched jQuery.Event\n\t\t\thandleObj = types.handleObj;\n\t\t\tjQuery( types.delegateTarget ).off(\n\t\t\t\thandleObj.namespace ?\n\t\t\t\t\thandleObj.origType + \".\" + handleObj.namespace :\n\t\t\t\t\thandleObj.origType,\n\t\t\t\thandleObj.selector,\n\t\t\t\thandleObj.handler\n\t\t\t);\n\t\t\treturn this;\n\t\t}\n\t\tif ( typeof types === \"object\" ) {\n\n\t\t\t// ( types-object [, selector] )\n\t\t\tfor ( type in types ) {\n\t\t\t\tthis.off( type, selector, types[ type ] );\n\t\t\t}\n\t\t\treturn this;\n\t\t}\n\t\tif ( selector === false || typeof selector === \"function\" ) {\n\n\t\t\t// ( types [, fn] )\n\t\t\tfn = selector;\n\t\t\tselector = undefined;\n\t\t}\n\t\tif ( fn === false ) {\n\t\t\tfn = returnFalse;\n\t\t}\n\t\treturn this.each( function() {\n\t\t\tjQuery.event.remove( this, types, fn, selector );\n\t\t} );\n\t}\n} );\n\n\nvar\n\n\t// Support: IE <=10 - 11, Edge 12 - 13 only\n\t// In IE/Edge using regex groups here causes severe slowdowns.\n\t// See https://connect.microsoft.com/IE/feedback/details/1736512/\n\trnoInnerhtml = /<script|<style|<link/i,\n\n\t// checked=\"checked\" or checked\n\trchecked = /checked\\s*(?:[^=]|=\\s*.checked.)/i,\n\n\trcleanScript = /^\\s*<!\\[CDATA\\[|\\]\\]>\\s*$/g;\n\n// Prefer a tbody over its parent table for containing new rows\nfunction manipulationTarget( elem, content ) {\n\tif ( nodeName( elem, \"table\" ) &&\n\t\tnodeName( content.nodeType !== 11 ? content : content.firstChild, \"tr\" ) ) {\n\n\t\treturn jQuery( elem ).children( \"tbody\" )[ 0 ] || elem;\n\t}\n\n\treturn elem;\n}\n\n// Replace/restore the type attribute of script elements for safe DOM manipulation\nfunction disableScript( elem ) {\n\telem.type = ( elem.getAttribute( \"type\" ) !== null ) + \"/\" + elem.type;\n\treturn elem;\n}\nfunction restoreScript( elem ) {\n\tif ( ( elem.type || \"\" ).slice( 0, 5 ) === \"true/\" ) {\n\t\telem.type = elem.type.slice( 5 );\n\t} else {\n\t\telem.removeAttribute( \"type\" );\n\t}\n\n\treturn elem;\n}\n\nfunction cloneCopyEvent( src, dest ) {\n\tvar i, l, type, pdataOld, udataOld, udataCur, events;\n\n\tif ( dest.nodeType !== 1 ) {\n\t\treturn;\n\t}\n\n\t// 1. Copy private data: events, handlers, etc.\n\tif ( dataPriv.hasData( src ) ) {\n\t\tpdataOld = dataPriv.get( src );\n\t\tevents = pdataOld.events;\n\n\t\tif ( events ) {\n\t\t\tdataPriv.remove( dest, \"handle events\" );\n\n\t\t\tfor ( type in events ) {\n\t\t\t\tfor ( i = 0, l = events[ type ].length; i < l; i++ ) {\n\t\t\t\t\tjQuery.event.add( dest, type, events[ type ][ i ] );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// 2. Copy user data\n\tif ( dataUser.hasData( src ) ) {\n\t\tudataOld = dataUser.access( src );\n\t\tudataCur = jQuery.extend( {}, udataOld );\n\n\t\tdataUser.set( dest, udataCur );\n\t}\n}\n\n// Fix IE bugs, see support tests\nfunction fixInput( src, dest ) {\n\tvar nodeName = dest.nodeName.toLowerCase();\n\n\t// Fails to persist the checked state of a cloned checkbox or radio button.\n\tif ( nodeName === \"input\" && rcheckableType.test( src.type ) ) {\n\t\tdest.checked = src.checked;\n\n\t// Fails to return the selected option to the default selected state when cloning options\n\t} else if ( nodeName === \"input\" || nodeName === \"textarea\" ) {\n\t\tdest.defaultValue = src.defaultValue;\n\t}\n}\n\nfunction domManip( collection, args, callback, ignored ) {\n\n\t// Flatten any nested arrays\n\targs = flat( args );\n\n\tvar fragment, first, scripts, hasScripts, node, doc,\n\t\ti = 0,\n\t\tl = collection.length,\n\t\tiNoClone = l - 1,\n\t\tvalue = args[ 0 ],\n\t\tvalueIsFunction = isFunction( value );\n\n\t// We can't cloneNode fragments that contain checked, in WebKit\n\tif ( valueIsFunction ||\n\t\t\t( l > 1 && typeof value === \"string\" &&\n\t\t\t\t!support.checkClone && rchecked.test( value ) ) ) {\n\t\treturn collection.each( function( index ) {\n\t\t\tvar self = collection.eq( index );\n\t\t\tif ( valueIsFunction ) {\n\t\t\t\targs[ 0 ] = value.call( this, index, self.html() );\n\t\t\t}\n\t\t\tdomManip( self, args, callback, ignored );\n\t\t} );\n\t}\n\n\tif ( l ) {\n\t\tfragment = buildFragment( args, collection[ 0 ].ownerDocument, false, collection, ignored );\n\t\tfirst = fragment.firstChild;\n\n\t\tif ( fragment.childNodes.length === 1 ) {\n\t\t\tfragment = first;\n\t\t}\n\n\t\t// Require either new content or an interest in ignored elements to invoke the callback\n\t\tif ( first || ignored ) {\n\t\t\tscripts = jQuery.map( getAll( fragment, \"script\" ), disableScript );\n\t\t\thasScripts = scripts.length;\n\n\t\t\t// Use the original fragment for the last item\n\t\t\t// instead of the first because it can end up\n\t\t\t// being emptied incorrectly in certain situations (trac-8070).\n\t\t\tfor ( ; i < l; i++ ) {\n\t\t\t\tnode = fragment;\n\n\t\t\t\tif ( i !== iNoClone ) {\n\t\t\t\t\tnode = jQuery.clone( node, true, true );\n\n\t\t\t\t\t// Keep references to cloned scripts for later restoration\n\t\t\t\t\tif ( hasScripts ) {\n\n\t\t\t\t\t\t// Support: Android <=4.0 only, PhantomJS 1 only\n\t\t\t\t\t\t// push.apply(_, arraylike) throws on ancient WebKit\n\t\t\t\t\t\tjQuery.merge( scripts, getAll( node, \"script\" ) );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tcallback.call( collection[ i ], node, i );\n\t\t\t}\n\n\t\t\tif ( hasScripts ) {\n\t\t\t\tdoc = scripts[ scripts.length - 1 ].ownerDocument;\n\n\t\t\t\t// Re-enable scripts\n\t\t\t\tjQuery.map( scripts, restoreScript );\n\n\t\t\t\t// Evaluate executable scripts on first document insertion\n\t\t\t\tfor ( i = 0; i < hasScripts; i++ ) {\n\t\t\t\t\tnode = scripts[ i ];\n\t\t\t\t\tif ( rscriptType.test( node.type || \"\" ) &&\n\t\t\t\t\t\t!dataPriv.access( node, \"globalEval\" ) &&\n\t\t\t\t\t\tjQuery.contains( doc, node ) ) {\n\n\t\t\t\t\t\tif ( node.src && ( node.type || \"\" ).toLowerCase()  !== \"module\" ) {\n\n\t\t\t\t\t\t\t// Optional AJAX dependency, but won't run scripts if not present\n\t\t\t\t\t\t\tif ( jQuery._evalUrl && !node.noModule ) {\n\t\t\t\t\t\t\t\tjQuery._evalUrl( node.src, {\n\t\t\t\t\t\t\t\t\tnonce: node.nonce || node.getAttribute( \"nonce\" )\n\t\t\t\t\t\t\t\t}, doc );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t// Unwrap a CDATA section containing script contents. This shouldn't be\n\t\t\t\t\t\t\t// needed as in XML documents they're already not visible when\n\t\t\t\t\t\t\t// inspecting element contents and in HTML documents they have no\n\t\t\t\t\t\t\t// meaning but we're preserving that logic for backwards compatibility.\n\t\t\t\t\t\t\t// This will be removed completely in 4.0. See gh-4904.\n\t\t\t\t\t\t\tDOMEval( node.textContent.replace( rcleanScript, \"\" ), node, doc );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn collection;\n}\n\nfunction remove( elem, selector, keepData ) {\n\tvar node,\n\t\tnodes = selector ? jQuery.filter( selector, elem ) : elem,\n\t\ti = 0;\n\n\tfor ( ; ( node = nodes[ i ] ) != null; i++ ) {\n\t\tif ( !keepData && node.nodeType === 1 ) {\n\t\t\tjQuery.cleanData( getAll( node ) );\n\t\t}\n\n\t\tif ( node.parentNode ) {\n\t\t\tif ( keepData && isAttached( node ) ) {\n\t\t\t\tsetGlobalEval( getAll( node, \"script\" ) );\n\t\t\t}\n\t\t\tnode.parentNode.removeChild( node );\n\t\t}\n\t}\n\n\treturn elem;\n}\n\njQuery.extend( {\n\thtmlPrefilter: function( html ) {\n\t\treturn html;\n\t},\n\n\tclone: function( elem, dataAndEvents, deepDataAndEvents ) {\n\t\tvar i, l, srcElements, destElements,\n\t\t\tclone = elem.cloneNode( true ),\n\t\t\tinPage = isAttached( elem );\n\n\t\t// Fix IE cloning issues\n\t\tif ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) &&\n\t\t\t\t!jQuery.isXMLDoc( elem ) ) {\n\n\t\t\t// We eschew jQuery#find here for performance reasons:\n\t\t\t// https://jsperf.com/getall-vs-sizzle/2\n\t\t\tdestElements = getAll( clone );\n\t\t\tsrcElements = getAll( elem );\n\n\t\t\tfor ( i = 0, l = srcElements.length; i < l; i++ ) {\n\t\t\t\tfixInput( srcElements[ i ], destElements[ i ] );\n\t\t\t}\n\t\t}\n\n\t\t// Copy the events from the original to the clone\n\t\tif ( dataAndEvents ) {\n\t\t\tif ( deepDataAndEvents ) {\n\t\t\t\tsrcElements = srcElements || getAll( elem );\n\t\t\t\tdestElements = destElements || getAll( clone );\n\n\t\t\t\tfor ( i = 0, l = srcElements.length; i < l; i++ ) {\n\t\t\t\t\tcloneCopyEvent( srcElements[ i ], destElements[ i ] );\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tcloneCopyEvent( elem, clone );\n\t\t\t}\n\t\t}\n\n\t\t// Preserve script evaluation history\n\t\tdestElements = getAll( clone, \"script\" );\n\t\tif ( destElements.length > 0 ) {\n\t\t\tsetGlobalEval( destElements, !inPage && getAll( elem, \"script\" ) );\n\t\t}\n\n\t\t// Return the cloned set\n\t\treturn clone;\n\t},\n\n\tcleanData: function( elems ) {\n\t\tvar data, elem, type,\n\t\t\tspecial = jQuery.event.special,\n\t\t\ti = 0;\n\n\t\tfor ( ; ( elem = elems[ i ] ) !== undefined; i++ ) {\n\t\t\tif ( acceptData( elem ) ) {\n\t\t\t\tif ( ( data = elem[ dataPriv.expando ] ) ) {\n\t\t\t\t\tif ( data.events ) {\n\t\t\t\t\t\tfor ( type in data.events ) {\n\t\t\t\t\t\t\tif ( special[ type ] ) {\n\t\t\t\t\t\t\t\tjQuery.event.remove( elem, type );\n\n\t\t\t\t\t\t\t// This is a shortcut to avoid jQuery.event.remove's overhead\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tjQuery.removeEvent( elem, type, data.handle );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// Support: Chrome <=35 - 45+\n\t\t\t\t\t// Assign undefined instead of using delete, see Data#remove\n\t\t\t\t\telem[ dataPriv.expando ] = undefined;\n\t\t\t\t}\n\t\t\t\tif ( elem[ dataUser.expando ] ) {\n\n\t\t\t\t\t// Support: Chrome <=35 - 45+\n\t\t\t\t\t// Assign undefined instead of using delete, see Data#remove\n\t\t\t\t\telem[ dataUser.expando ] = undefined;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n} );\n\njQuery.fn.extend( {\n\tdetach: function( selector ) {\n\t\treturn remove( this, selector, true );\n\t},\n\n\tremove: function( selector ) {\n\t\treturn remove( this, selector );\n\t},\n\n\ttext: function( value ) {\n\t\treturn access( this, function( value ) {\n\t\t\treturn value === undefined ?\n\t\t\t\tjQuery.text( this ) :\n\t\t\t\tthis.empty().each( function() {\n\t\t\t\t\tif ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) {\n\t\t\t\t\t\tthis.textContent = value;\n\t\t\t\t\t}\n\t\t\t\t} );\n\t\t}, null, value, arguments.length );\n\t},\n\n\tappend: function() {\n\t\treturn domManip( this, arguments, function( elem ) {\n\t\t\tif ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) {\n\t\t\t\tvar target = manipulationTarget( this, elem );\n\t\t\t\ttarget.appendChild( elem );\n\t\t\t}\n\t\t} );\n\t},\n\n\tprepend: function() {\n\t\treturn domManip( this, arguments, function( elem ) {\n\t\t\tif ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) {\n\t\t\t\tvar target = manipulationTarget( this, elem );\n\t\t\t\ttarget.insertBefore( elem, target.firstChild );\n\t\t\t}\n\t\t} );\n\t},\n\n\tbefore: function() {\n\t\treturn domManip( this, arguments, function( elem ) {\n\t\t\tif ( this.parentNode ) {\n\t\t\t\tthis.parentNode.insertBefore( elem, this );\n\t\t\t}\n\t\t} );\n\t},\n\n\tafter: function() {\n\t\treturn domManip( this, arguments, function( elem ) {\n\t\t\tif ( this.parentNode ) {\n\t\t\t\tthis.parentNode.insertBefore( elem, this.nextSibling );\n\t\t\t}\n\t\t} );\n\t},\n\n\tempty: function() {\n\t\tvar elem,\n\t\t\ti = 0;\n\n\t\tfor ( ; ( elem = this[ i ] ) != null; i++ ) {\n\t\t\tif ( elem.nodeType === 1 ) {\n\n\t\t\t\t// Prevent memory leaks\n\t\t\t\tjQuery.cleanData( getAll( elem, false ) );\n\n\t\t\t\t// Remove any remaining nodes\n\t\t\t\telem.textContent = \"\";\n\t\t\t}\n\t\t}\n\n\t\treturn this;\n\t},\n\n\tclone: function( dataAndEvents, deepDataAndEvents ) {\n\t\tdataAndEvents = dataAndEvents == null ? false : dataAndEvents;\n\t\tdeepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents;\n\n\t\treturn this.map( function() {\n\t\t\treturn jQuery.clone( this, dataAndEvents, deepDataAndEvents );\n\t\t} );\n\t},\n\n\thtml: function( value ) {\n\t\treturn access( this, function( value ) {\n\t\t\tvar elem = this[ 0 ] || {},\n\t\t\t\ti = 0,\n\t\t\t\tl = this.length;\n\n\t\t\tif ( value === undefined && elem.nodeType === 1 ) {\n\t\t\t\treturn elem.innerHTML;\n\t\t\t}\n\n\t\t\t// See if we can take a shortcut and just use innerHTML\n\t\t\tif ( typeof value === \"string\" && !rnoInnerhtml.test( value ) &&\n\t\t\t\t!wrapMap[ ( rtagName.exec( value ) || [ \"\", \"\" ] )[ 1 ].toLowerCase() ] ) {\n\n\t\t\t\tvalue = jQuery.htmlPrefilter( value );\n\n\t\t\t\ttry {\n\t\t\t\t\tfor ( ; i < l; i++ ) {\n\t\t\t\t\t\telem = this[ i ] || {};\n\n\t\t\t\t\t\t// Remove element nodes and prevent memory leaks\n\t\t\t\t\t\tif ( elem.nodeType === 1 ) {\n\t\t\t\t\t\t\tjQuery.cleanData( getAll( elem, false ) );\n\t\t\t\t\t\t\telem.innerHTML = value;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\telem = 0;\n\n\t\t\t\t// If using innerHTML throws an exception, use the fallback method\n\t\t\t\t} catch ( e ) {}\n\t\t\t}\n\n\t\t\tif ( elem ) {\n\t\t\t\tthis.empty().append( value );\n\t\t\t}\n\t\t}, null, value, arguments.length );\n\t},\n\n\treplaceWith: function() {\n\t\tvar ignored = [];\n\n\t\t// Make the changes, replacing each non-ignored context element with the new content\n\t\treturn domManip( this, arguments, function( elem ) {\n\t\t\tvar parent = this.parentNode;\n\n\t\t\tif ( jQuery.inArray( this, ignored ) < 0 ) {\n\t\t\t\tjQuery.cleanData( getAll( this ) );\n\t\t\t\tif ( parent ) {\n\t\t\t\t\tparent.replaceChild( elem, this );\n\t\t\t\t}\n\t\t\t}\n\n\t\t// Force callback invocation\n\t\t}, ignored );\n\t}\n} );\n\njQuery.each( {\n\tappendTo: \"append\",\n\tprependTo: \"prepend\",\n\tinsertBefore: \"before\",\n\tinsertAfter: \"after\",\n\treplaceAll: \"replaceWith\"\n}, function( name, original ) {\n\tjQuery.fn[ name ] = function( selector ) {\n\t\tvar elems,\n\t\t\tret = [],\n\t\t\tinsert = jQuery( selector ),\n\t\t\tlast = insert.length - 1,\n\t\t\ti = 0;\n\n\t\tfor ( ; i <= last; i++ ) {\n\t\t\telems = i === last ? this : this.clone( true );\n\t\t\tjQuery( insert[ i ] )[ original ]( elems );\n\n\t\t\t// Support: Android <=4.0 only, PhantomJS 1 only\n\t\t\t// .get() because push.apply(_, arraylike) throws on ancient WebKit\n\t\t\tpush.apply( ret, elems.get() );\n\t\t}\n\n\t\treturn this.pushStack( ret );\n\t};\n} );\nvar rnumnonpx = new RegExp( \"^(\" + pnum + \")(?!px)[a-z%]+$\", \"i\" );\n\nvar rcustomProp = /^--/;\n\n\nvar getStyles = function( elem ) {\n\n\t\t// Support: IE <=11 only, Firefox <=30 (trac-15098, trac-14150)\n\t\t// IE throws on elements created in popups\n\t\t// FF meanwhile throws on frame elements through \"defaultView.getComputedStyle\"\n\t\tvar view = elem.ownerDocument.defaultView;\n\n\t\tif ( !view || !view.opener ) {\n\t\t\tview = window;\n\t\t}\n\n\t\treturn view.getComputedStyle( elem );\n\t};\n\nvar swap = function( elem, options, callback ) {\n\tvar ret, name,\n\t\told = {};\n\n\t// Remember the old values, and insert the new ones\n\tfor ( name in options ) {\n\t\told[ name ] = elem.style[ name ];\n\t\telem.style[ name ] = options[ name ];\n\t}\n\n\tret = callback.call( elem );\n\n\t// Revert the old values\n\tfor ( name in options ) {\n\t\telem.style[ name ] = old[ name ];\n\t}\n\n\treturn ret;\n};\n\n\nvar rboxStyle = new RegExp( cssExpand.join( \"|\" ), \"i\" );\n\n\n\n( function() {\n\n\t// Executing both pixelPosition & boxSizingReliable tests require only one layout\n\t// so they're executed at the same time to save the second computation.\n\tfunction computeStyleTests() {\n\n\t\t// This is a singleton, we need to execute it only once\n\t\tif ( !div ) {\n\t\t\treturn;\n\t\t}\n\n\t\tcontainer.style.cssText = \"position:absolute;left:-11111px;width:60px;\" +\n\t\t\t\"margin-top:1px;padding:0;border:0\";\n\t\tdiv.style.cssText =\n\t\t\t\"position:relative;display:block;box-sizing:border-box;overflow:scroll;\" +\n\t\t\t\"margin:auto;border:1px;padding:1px;\" +\n\t\t\t\"width:60%;top:1%\";\n\t\tdocumentElement.appendChild( container ).appendChild( div );\n\n\t\tvar divStyle = window.getComputedStyle( div );\n\t\tpixelPositionVal = divStyle.top !== \"1%\";\n\n\t\t// Support: Android 4.0 - 4.3 only, Firefox <=3 - 44\n\t\treliableMarginLeftVal = roundPixelMeasures( divStyle.marginLeft ) === 12;\n\n\t\t// Support: Android 4.0 - 4.3 only, Safari <=9.1 - 10.1, iOS <=7.0 - 9.3\n\t\t// Some styles come back with percentage values, even though they shouldn't\n\t\tdiv.style.right = \"60%\";\n\t\tpixelBoxStylesVal = roundPixelMeasures( divStyle.right ) === 36;\n\n\t\t// Support: IE 9 - 11 only\n\t\t// Detect misreporting of content dimensions for box-sizing:border-box elements\n\t\tboxSizingReliableVal = roundPixelMeasures( divStyle.width ) === 36;\n\n\t\t// Support: IE 9 only\n\t\t// Detect overflow:scroll screwiness (gh-3699)\n\t\t// Support: Chrome <=64\n\t\t// Don't get tricked when zoom affects offsetWidth (gh-4029)\n\t\tdiv.style.position = \"absolute\";\n\t\tscrollboxSizeVal = roundPixelMeasures( div.offsetWidth / 3 ) === 12;\n\n\t\tdocumentElement.removeChild( container );\n\n\t\t// Nullify the div so it wouldn't be stored in the memory and\n\t\t// it will also be a sign that checks already performed\n\t\tdiv = null;\n\t}\n\n\tfunction roundPixelMeasures( measure ) {\n\t\treturn Math.round( parseFloat( measure ) );\n\t}\n\n\tvar pixelPositionVal, boxSizingReliableVal, scrollboxSizeVal, pixelBoxStylesVal,\n\t\treliableTrDimensionsVal, reliableMarginLeftVal,\n\t\tcontainer = document.createElement( \"div\" ),\n\t\tdiv = document.createElement( \"div\" );\n\n\t// Finish early in limited (non-browser) environments\n\tif ( !div.style ) {\n\t\treturn;\n\t}\n\n\t// Support: IE <=9 - 11 only\n\t// Style of cloned element affects source element cloned (trac-8908)\n\tdiv.style.backgroundClip = \"content-box\";\n\tdiv.cloneNode( true ).style.backgroundClip = \"\";\n\tsupport.clearCloneStyle = div.style.backgroundClip === \"content-box\";\n\n\tjQuery.extend( support, {\n\t\tboxSizingReliable: function() {\n\t\t\tcomputeStyleTests();\n\t\t\treturn boxSizingReliableVal;\n\t\t},\n\t\tpixelBoxStyles: function() {\n\t\t\tcomputeStyleTests();\n\t\t\treturn pixelBoxStylesVal;\n\t\t},\n\t\tpixelPosition: function() {\n\t\t\tcomputeStyleTests();\n\t\t\treturn pixelPositionVal;\n\t\t},\n\t\treliableMarginLeft: function() {\n\t\t\tcomputeStyleTests();\n\t\t\treturn reliableMarginLeftVal;\n\t\t},\n\t\tscrollboxSize: function() {\n\t\t\tcomputeStyleTests();\n\t\t\treturn scrollboxSizeVal;\n\t\t},\n\n\t\t// Support: IE 9 - 11+, Edge 15 - 18+\n\t\t// IE/Edge misreport `getComputedStyle` of table rows with width/height\n\t\t// set in CSS while `offset*` properties report correct values.\n\t\t// Behavior in IE 9 is more subtle than in newer versions & it passes\n\t\t// some versions of this test; make sure not to make it pass there!\n\t\t//\n\t\t// Support: Firefox 70+\n\t\t// Only Firefox includes border widths\n\t\t// in computed dimensions. (gh-4529)\n\t\treliableTrDimensions: function() {\n\t\t\tvar table, tr, trChild, trStyle;\n\t\t\tif ( reliableTrDimensionsVal == null ) {\n\t\t\t\ttable = document.createElement( \"table\" );\n\t\t\t\ttr = document.createElement( \"tr\" );\n\t\t\t\ttrChild = document.createElement( \"div\" );\n\n\t\t\t\ttable.style.cssText = \"position:absolute;left:-11111px;border-collapse:separate\";\n\t\t\t\ttr.style.cssText = \"box-sizing:content-box;border:1px solid\";\n\n\t\t\t\t// Support: Chrome 86+\n\t\t\t\t// Height set through cssText does not get applied.\n\t\t\t\t// Computed height then comes back as 0.\n\t\t\t\ttr.style.height = \"1px\";\n\t\t\t\ttrChild.style.height = \"9px\";\n\n\t\t\t\t// Support: Android 8 Chrome 86+\n\t\t\t\t// In our bodyBackground.html iframe,\n\t\t\t\t// display for all div elements is set to \"inline\",\n\t\t\t\t// which causes a problem only in Android 8 Chrome 86.\n\t\t\t\t// Ensuring the div is `display: block`\n\t\t\t\t// gets around this issue.\n\t\t\t\ttrChild.style.display = \"block\";\n\n\t\t\t\tdocumentElement\n\t\t\t\t\t.appendChild( table )\n\t\t\t\t\t.appendChild( tr )\n\t\t\t\t\t.appendChild( trChild );\n\n\t\t\t\ttrStyle = window.getComputedStyle( tr );\n\t\t\t\treliableTrDimensionsVal = ( parseInt( trStyle.height, 10 ) +\n\t\t\t\t\tparseInt( trStyle.borderTopWidth, 10 ) +\n\t\t\t\t\tparseInt( trStyle.borderBottomWidth, 10 ) ) === tr.offsetHeight;\n\n\t\t\t\tdocumentElement.removeChild( table );\n\t\t\t}\n\t\t\treturn reliableTrDimensionsVal;\n\t\t}\n\t} );\n} )();\n\n\nfunction curCSS( elem, name, computed ) {\n\tvar width, minWidth, maxWidth, ret,\n\t\tisCustomProp = rcustomProp.test( name ),\n\n\t\t// Support: Firefox 51+\n\t\t// Retrieving style before computed somehow\n\t\t// fixes an issue with getting wrong values\n\t\t// on detached elements\n\t\tstyle = elem.style;\n\n\tcomputed = computed || getStyles( elem );\n\n\t// getPropertyValue is needed for:\n\t//   .css('filter') (IE 9 only, trac-12537)\n\t//   .css('--customProperty) (gh-3144)\n\tif ( computed ) {\n\n\t\t// Support: IE <=9 - 11+\n\t\t// IE only supports `\"float\"` in `getPropertyValue`; in computed styles\n\t\t// it's only available as `\"cssFloat\"`. We no longer modify properties\n\t\t// sent to `.css()` apart from camelCasing, so we need to check both.\n\t\t// Normally, this would create difference in behavior: if\n\t\t// `getPropertyValue` returns an empty string, the value returned\n\t\t// by `.css()` would be `undefined`. This is usually the case for\n\t\t// disconnected elements. However, in IE even disconnected elements\n\t\t// with no styles return `\"none\"` for `getPropertyValue( \"float\" )`\n\t\tret = computed.getPropertyValue( name ) || computed[ name ];\n\n\t\tif ( isCustomProp && ret ) {\n\n\t\t\t// Support: Firefox 105+, Chrome <=105+\n\t\t\t// Spec requires trimming whitespace for custom properties (gh-4926).\n\t\t\t// Firefox only trims leading whitespace. Chrome just collapses\n\t\t\t// both leading & trailing whitespace to a single space.\n\t\t\t//\n\t\t\t// Fall back to `undefined` if empty string returned.\n\t\t\t// This collapses a missing definition with property defined\n\t\t\t// and set to an empty string but there's no standard API\n\t\t\t// allowing us to differentiate them without a performance penalty\n\t\t\t// and returning `undefined` aligns with older jQuery.\n\t\t\t//\n\t\t\t// rtrimCSS treats U+000D CARRIAGE RETURN and U+000C FORM FEED\n\t\t\t// as whitespace while CSS does not, but this is not a problem\n\t\t\t// because CSS preprocessing replaces them with U+000A LINE FEED\n\t\t\t// (which *is* CSS whitespace)\n\t\t\t// https://www.w3.org/TR/css-syntax-3/#input-preprocessing\n\t\t\tret = ret.replace( rtrimCSS, \"$1\" ) || undefined;\n\t\t}\n\n\t\tif ( ret === \"\" && !isAttached( elem ) ) {\n\t\t\tret = jQuery.style( elem, name );\n\t\t}\n\n\t\t// A tribute to the \"awesome hack by Dean Edwards\"\n\t\t// Android Browser returns percentage for some values,\n\t\t// but width seems to be reliably pixels.\n\t\t// This is against the CSSOM draft spec:\n\t\t// https://drafts.csswg.org/cssom/#resolved-values\n\t\tif ( !support.pixelBoxStyles() && rnumnonpx.test( ret ) && rboxStyle.test( name ) ) {\n\n\t\t\t// Remember the original values\n\t\t\twidth = style.width;\n\t\t\tminWidth = style.minWidth;\n\t\t\tmaxWidth = style.maxWidth;\n\n\t\t\t// Put in the new values to get a computed value out\n\t\t\tstyle.minWidth = style.maxWidth = style.width = ret;\n\t\t\tret = computed.width;\n\n\t\t\t// Revert the changed values\n\t\t\tstyle.width = width;\n\t\t\tstyle.minWidth = minWidth;\n\t\t\tstyle.maxWidth = maxWidth;\n\t\t}\n\t}\n\n\treturn ret !== undefined ?\n\n\t\t// Support: IE <=9 - 11 only\n\t\t// IE returns zIndex value as an integer.\n\t\tret + \"\" :\n\t\tret;\n}\n\n\nfunction addGetHookIf( conditionFn, hookFn ) {\n\n\t// Define the hook, we'll check on the first run if it's really needed.\n\treturn {\n\t\tget: function() {\n\t\t\tif ( conditionFn() ) {\n\n\t\t\t\t// Hook not needed (or it's not possible to use it due\n\t\t\t\t// to missing dependency), remove it.\n\t\t\t\tdelete this.get;\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// Hook needed; redefine it so that the support test is not executed again.\n\t\t\treturn ( this.get = hookFn ).apply( this, arguments );\n\t\t}\n\t};\n}\n\n\nvar cssPrefixes = [ \"Webkit\", \"Moz\", \"ms\" ],\n\temptyStyle = document.createElement( \"div\" ).style,\n\tvendorProps = {};\n\n// Return a vendor-prefixed property or undefined\nfunction vendorPropName( name ) {\n\n\t// Check for vendor prefixed names\n\tvar capName = name[ 0 ].toUpperCase() + name.slice( 1 ),\n\t\ti = cssPrefixes.length;\n\n\twhile ( i-- ) {\n\t\tname = cssPrefixes[ i ] + capName;\n\t\tif ( name in emptyStyle ) {\n\t\t\treturn name;\n\t\t}\n\t}\n}\n\n// Return a potentially-mapped jQuery.cssProps or vendor prefixed property\nfunction finalPropName( name ) {\n\tvar final = jQuery.cssProps[ name ] || vendorProps[ name ];\n\n\tif ( final ) {\n\t\treturn final;\n\t}\n\tif ( name in emptyStyle ) {\n\t\treturn name;\n\t}\n\treturn vendorProps[ name ] = vendorPropName( name ) || name;\n}\n\n\nvar\n\n\t// Swappable if display is none or starts with table\n\t// except \"table\", \"table-cell\", or \"table-caption\"\n\t// See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display\n\trdisplayswap = /^(none|table(?!-c[ea]).+)/,\n\tcssShow = { position: \"absolute\", visibility: \"hidden\", display: \"block\" },\n\tcssNormalTransform = {\n\t\tletterSpacing: \"0\",\n\t\tfontWeight: \"400\"\n\t};\n\nfunction setPositiveNumber( _elem, value, subtract ) {\n\n\t// Any relative (+/-) values have already been\n\t// normalized at this point\n\tvar matches = rcssNum.exec( value );\n\treturn matches ?\n\n\t\t// Guard against undefined \"subtract\", e.g., when used as in cssHooks\n\t\tMath.max( 0, matches[ 2 ] - ( subtract || 0 ) ) + ( matches[ 3 ] || \"px\" ) :\n\t\tvalue;\n}\n\nfunction boxModelAdjustment( elem, dimension, box, isBorderBox, styles, computedVal ) {\n\tvar i = dimension === \"width\" ? 1 : 0,\n\t\textra = 0,\n\t\tdelta = 0,\n\t\tmarginDelta = 0;\n\n\t// Adjustment may not be necessary\n\tif ( box === ( isBorderBox ? \"border\" : \"content\" ) ) {\n\t\treturn 0;\n\t}\n\n\tfor ( ; i < 4; i += 2 ) {\n\n\t\t// Both box models exclude margin\n\t\t// Count margin delta separately to only add it after scroll gutter adjustment.\n\t\t// This is needed to make negative margins work with `outerHeight( true )` (gh-3982).\n\t\tif ( box === \"margin\" ) {\n\t\t\tmarginDelta += jQuery.css( elem, box + cssExpand[ i ], true, styles );\n\t\t}\n\n\t\t// If we get here with a content-box, we're seeking \"padding\" or \"border\" or \"margin\"\n\t\tif ( !isBorderBox ) {\n\n\t\t\t// Add padding\n\t\t\tdelta += jQuery.css( elem, \"padding\" + cssExpand[ i ], true, styles );\n\n\t\t\t// For \"border\" or \"margin\", add border\n\t\t\tif ( box !== \"padding\" ) {\n\t\t\t\tdelta += jQuery.css( elem, \"border\" + cssExpand[ i ] + \"Width\", true, styles );\n\n\t\t\t// But still keep track of it otherwise\n\t\t\t} else {\n\t\t\t\textra += jQuery.css( elem, \"border\" + cssExpand[ i ] + \"Width\", true, styles );\n\t\t\t}\n\n\t\t// If we get here with a border-box (content + padding + border), we're seeking \"content\" or\n\t\t// \"padding\" or \"margin\"\n\t\t} else {\n\n\t\t\t// For \"content\", subtract padding\n\t\t\tif ( box === \"content\" ) {\n\t\t\t\tdelta -= jQuery.css( elem, \"padding\" + cssExpand[ i ], true, styles );\n\t\t\t}\n\n\t\t\t// For \"content\" or \"padding\", subtract border\n\t\t\tif ( box !== \"margin\" ) {\n\t\t\t\tdelta -= jQuery.css( elem, \"border\" + cssExpand[ i ] + \"Width\", true, styles );\n\t\t\t}\n\t\t}\n\t}\n\n\t// Account for positive content-box scroll gutter when requested by providing computedVal\n\tif ( !isBorderBox && computedVal >= 0 ) {\n\n\t\t// offsetWidth/offsetHeight is a rounded sum of content, padding, scroll gutter, and border\n\t\t// Assuming integer scroll gutter, subtract the rest and round down\n\t\tdelta += Math.max( 0, Math.ceil(\n\t\t\telem[ \"offset\" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] -\n\t\t\tcomputedVal -\n\t\t\tdelta -\n\t\t\textra -\n\t\t\t0.5\n\n\t\t// If offsetWidth/offsetHeight is unknown, then we can't determine content-box scroll gutter\n\t\t// Use an explicit zero to avoid NaN (gh-3964)\n\t\t) ) || 0;\n\t}\n\n\treturn delta + marginDelta;\n}\n\nfunction getWidthOrHeight( elem, dimension, extra ) {\n\n\t// Start with computed style\n\tvar styles = getStyles( elem ),\n\n\t\t// To avoid forcing a reflow, only fetch boxSizing if we need it (gh-4322).\n\t\t// Fake content-box until we know it's needed to know the true value.\n\t\tboxSizingNeeded = !support.boxSizingReliable() || extra,\n\t\tisBorderBox = boxSizingNeeded &&\n\t\t\tjQuery.css( elem, \"boxSizing\", false, styles ) === \"border-box\",\n\t\tvalueIsBorderBox = isBorderBox,\n\n\t\tval = curCSS( elem, dimension, styles ),\n\t\toffsetProp = \"offset\" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 );\n\n\t// Support: Firefox <=54\n\t// Return a confounding non-pixel value or feign ignorance, as appropriate.\n\tif ( rnumnonpx.test( val ) ) {\n\t\tif ( !extra ) {\n\t\t\treturn val;\n\t\t}\n\t\tval = \"auto\";\n\t}\n\n\n\t// Support: IE 9 - 11 only\n\t// Use offsetWidth/offsetHeight for when box sizing is unreliable.\n\t// In those cases, the computed value can be trusted to be border-box.\n\tif ( ( !support.boxSizingReliable() && isBorderBox ||\n\n\t\t// Support: IE 10 - 11+, Edge 15 - 18+\n\t\t// IE/Edge misreport `getComputedStyle` of table rows with width/height\n\t\t// set in CSS while `offset*` properties report correct values.\n\t\t// Interestingly, in some cases IE 9 doesn't suffer from this issue.\n\t\t!support.reliableTrDimensions() && nodeName( elem, \"tr\" ) ||\n\n\t\t// Fall back to offsetWidth/offsetHeight when value is \"auto\"\n\t\t// This happens for inline elements with no explicit setting (gh-3571)\n\t\tval === \"auto\" ||\n\n\t\t// Support: Android <=4.1 - 4.3 only\n\t\t// Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602)\n\t\t!parseFloat( val ) && jQuery.css( elem, \"display\", false, styles ) === \"inline\" ) &&\n\n\t\t// Make sure the element is visible & connected\n\t\telem.getClientRects().length ) {\n\n\t\tisBorderBox = jQuery.css( elem, \"boxSizing\", false, styles ) === \"border-box\";\n\n\t\t// Where available, offsetWidth/offsetHeight approximate border box dimensions.\n\t\t// Where not available (e.g., SVG), assume unreliable box-sizing and interpret the\n\t\t// retrieved value as a content box dimension.\n\t\tvalueIsBorderBox = offsetProp in elem;\n\t\tif ( valueIsBorderBox ) {\n\t\t\tval = elem[ offsetProp ];\n\t\t}\n\t}\n\n\t// Normalize \"\" and auto\n\tval = parseFloat( val ) || 0;\n\n\t// Adjust for the element's box model\n\treturn ( val +\n\t\tboxModelAdjustment(\n\t\t\telem,\n\t\t\tdimension,\n\t\t\textra || ( isBorderBox ? \"border\" : \"content\" ),\n\t\t\tvalueIsBorderBox,\n\t\t\tstyles,\n\n\t\t\t// Provide the current computed size to request scroll gutter calculation (gh-3589)\n\t\t\tval\n\t\t)\n\t) + \"px\";\n}\n\njQuery.extend( {\n\n\t// Add in style property hooks for overriding the default\n\t// behavior of getting and setting a style property\n\tcssHooks: {\n\t\topacity: {\n\t\t\tget: function( elem, computed ) {\n\t\t\t\tif ( computed ) {\n\n\t\t\t\t\t// We should always get a number back from opacity\n\t\t\t\t\tvar ret = curCSS( elem, \"opacity\" );\n\t\t\t\t\treturn ret === \"\" ? \"1\" : ret;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t},\n\n\t// Don't automatically add \"px\" to these possibly-unitless properties\n\tcssNumber: {\n\t\tanimationIterationCount: true,\n\t\taspectRatio: true,\n\t\tborderImageSlice: true,\n\t\tcolumnCount: true,\n\t\tflexGrow: true,\n\t\tflexShrink: true,\n\t\tfontWeight: true,\n\t\tgridArea: true,\n\t\tgridColumn: true,\n\t\tgridColumnEnd: true,\n\t\tgridColumnStart: true,\n\t\tgridRow: true,\n\t\tgridRowEnd: true,\n\t\tgridRowStart: true,\n\t\tlineHeight: true,\n\t\topacity: true,\n\t\torder: true,\n\t\torphans: true,\n\t\tscale: true,\n\t\twidows: true,\n\t\tzIndex: true,\n\t\tzoom: true,\n\n\t\t// SVG-related\n\t\tfillOpacity: true,\n\t\tfloodOpacity: true,\n\t\tstopOpacity: true,\n\t\tstrokeMiterlimit: true,\n\t\tstrokeOpacity: true\n\t},\n\n\t// Add in properties whose names you wish to fix before\n\t// setting or getting the value\n\tcssProps: {},\n\n\t// Get and set the style property on a DOM Node\n\tstyle: function( elem, name, value, extra ) {\n\n\t\t// Don't set styles on text and comment nodes\n\t\tif ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Make sure that we're working with the right name\n\t\tvar ret, type, hooks,\n\t\t\torigName = camelCase( name ),\n\t\t\tisCustomProp = rcustomProp.test( name ),\n\t\t\tstyle = elem.style;\n\n\t\t// Make sure that we're working with the right name. We don't\n\t\t// want to query the value if it is a CSS custom property\n\t\t// since they are user-defined.\n\t\tif ( !isCustomProp ) {\n\t\t\tname = finalPropName( origName );\n\t\t}\n\n\t\t// Gets hook for the prefixed version, then unprefixed version\n\t\thooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ];\n\n\t\t// Check if we're setting a value\n\t\tif ( value !== undefined ) {\n\t\t\ttype = typeof value;\n\n\t\t\t// Convert \"+=\" or \"-=\" to relative numbers (trac-7345)\n\t\t\tif ( type === \"string\" && ( ret = rcssNum.exec( value ) ) && ret[ 1 ] ) {\n\t\t\t\tvalue = adjustCSS( elem, name, ret );\n\n\t\t\t\t// Fixes bug trac-9237\n\t\t\t\ttype = \"number\";\n\t\t\t}\n\n\t\t\t// Make sure that null and NaN values aren't set (trac-7116)\n\t\t\tif ( value == null || value !== value ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// If a number was passed in, add the unit (except for certain CSS properties)\n\t\t\t// The isCustomProp check can be removed in jQuery 4.0 when we only auto-append\n\t\t\t// \"px\" to a few hardcoded values.\n\t\t\tif ( type === \"number\" && !isCustomProp ) {\n\t\t\t\tvalue += ret && ret[ 3 ] || ( jQuery.cssNumber[ origName ] ? \"\" : \"px\" );\n\t\t\t}\n\n\t\t\t// background-* props affect original clone's values\n\t\t\tif ( !support.clearCloneStyle && value === \"\" && name.indexOf( \"background\" ) === 0 ) {\n\t\t\t\tstyle[ name ] = \"inherit\";\n\t\t\t}\n\n\t\t\t// If a hook was provided, use that value, otherwise just set the specified value\n\t\t\tif ( !hooks || !( \"set\" in hooks ) ||\n\t\t\t\t( value = hooks.set( elem, value, extra ) ) !== undefined ) {\n\n\t\t\t\tif ( isCustomProp ) {\n\t\t\t\t\tstyle.setProperty( name, value );\n\t\t\t\t} else {\n\t\t\t\t\tstyle[ name ] = value;\n\t\t\t\t}\n\t\t\t}\n\n\t\t} else {\n\n\t\t\t// If a hook was provided get the non-computed value from there\n\t\t\tif ( hooks && \"get\" in hooks &&\n\t\t\t\t( ret = hooks.get( elem, false, extra ) ) !== undefined ) {\n\n\t\t\t\treturn ret;\n\t\t\t}\n\n\t\t\t// Otherwise just get the value from the style object\n\t\t\treturn style[ name ];\n\t\t}\n\t},\n\n\tcss: function( elem, name, extra, styles ) {\n\t\tvar val, num, hooks,\n\t\t\torigName = camelCase( name ),\n\t\t\tisCustomProp = rcustomProp.test( name );\n\n\t\t// Make sure that we're working with the right name. We don't\n\t\t// want to modify the value if it is a CSS custom property\n\t\t// since they are user-defined.\n\t\tif ( !isCustomProp ) {\n\t\t\tname = finalPropName( origName );\n\t\t}\n\n\t\t// Try prefixed name followed by the unprefixed name\n\t\thooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ];\n\n\t\t// If a hook was provided get the computed value from there\n\t\tif ( hooks && \"get\" in hooks ) {\n\t\t\tval = hooks.get( elem, true, extra );\n\t\t}\n\n\t\t// Otherwise, if a way to get the computed value exists, use that\n\t\tif ( val === undefined ) {\n\t\t\tval = curCSS( elem, name, styles );\n\t\t}\n\n\t\t// Convert \"normal\" to computed value\n\t\tif ( val === \"normal\" && name in cssNormalTransform ) {\n\t\t\tval = cssNormalTransform[ name ];\n\t\t}\n\n\t\t// Make numeric if forced or a qualifier was provided and val looks numeric\n\t\tif ( extra === \"\" || extra ) {\n\t\t\tnum = parseFloat( val );\n\t\t\treturn extra === true || isFinite( num ) ? num || 0 : val;\n\t\t}\n\n\t\treturn val;\n\t}\n} );\n\njQuery.each( [ \"height\", \"width\" ], function( _i, dimension ) {\n\tjQuery.cssHooks[ dimension ] = {\n\t\tget: function( elem, computed, extra ) {\n\t\t\tif ( computed ) {\n\n\t\t\t\t// Certain elements can have dimension info if we invisibly show them\n\t\t\t\t// but it must have a current display style that would benefit\n\t\t\t\treturn rdisplayswap.test( jQuery.css( elem, \"display\" ) ) &&\n\n\t\t\t\t\t// Support: Safari 8+\n\t\t\t\t\t// Table columns in Safari have non-zero offsetWidth & zero\n\t\t\t\t\t// getBoundingClientRect().width unless display is changed.\n\t\t\t\t\t// Support: IE <=11 only\n\t\t\t\t\t// Running getBoundingClientRect on a disconnected node\n\t\t\t\t\t// in IE throws an error.\n\t\t\t\t\t( !elem.getClientRects().length || !elem.getBoundingClientRect().width ) ?\n\t\t\t\t\tswap( elem, cssShow, function() {\n\t\t\t\t\t\treturn getWidthOrHeight( elem, dimension, extra );\n\t\t\t\t\t} ) :\n\t\t\t\t\tgetWidthOrHeight( elem, dimension, extra );\n\t\t\t}\n\t\t},\n\n\t\tset: function( elem, value, extra ) {\n\t\t\tvar matches,\n\t\t\t\tstyles = getStyles( elem ),\n\n\t\t\t\t// Only read styles.position if the test has a chance to fail\n\t\t\t\t// to avoid forcing a reflow.\n\t\t\t\tscrollboxSizeBuggy = !support.scrollboxSize() &&\n\t\t\t\t\tstyles.position === \"absolute\",\n\n\t\t\t\t// To avoid forcing a reflow, only fetch boxSizing if we need it (gh-3991)\n\t\t\t\tboxSizingNeeded = scrollboxSizeBuggy || extra,\n\t\t\t\tisBorderBox = boxSizingNeeded &&\n\t\t\t\t\tjQuery.css( elem, \"boxSizing\", false, styles ) === \"border-box\",\n\t\t\t\tsubtract = extra ?\n\t\t\t\t\tboxModelAdjustment(\n\t\t\t\t\t\telem,\n\t\t\t\t\t\tdimension,\n\t\t\t\t\t\textra,\n\t\t\t\t\t\tisBorderBox,\n\t\t\t\t\t\tstyles\n\t\t\t\t\t) :\n\t\t\t\t\t0;\n\n\t\t\t// Account for unreliable border-box dimensions by comparing offset* to computed and\n\t\t\t// faking a content-box to get border and padding (gh-3699)\n\t\t\tif ( isBorderBox && scrollboxSizeBuggy ) {\n\t\t\t\tsubtract -= Math.ceil(\n\t\t\t\t\telem[ \"offset\" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] -\n\t\t\t\t\tparseFloat( styles[ dimension ] ) -\n\t\t\t\t\tboxModelAdjustment( elem, dimension, \"border\", false, styles ) -\n\t\t\t\t\t0.5\n\t\t\t\t);\n\t\t\t}\n\n\t\t\t// Convert to pixels if value adjustment is needed\n\t\t\tif ( subtract && ( matches = rcssNum.exec( value ) ) &&\n\t\t\t\t( matches[ 3 ] || \"px\" ) !== \"px\" ) {\n\n\t\t\t\telem.style[ dimension ] = value;\n\t\t\t\tvalue = jQuery.css( elem, dimension );\n\t\t\t}\n\n\t\t\treturn setPositiveNumber( elem, value, subtract );\n\t\t}\n\t};\n} );\n\njQuery.cssHooks.marginLeft = addGetHookIf( support.reliableMarginLeft,\n\tfunction( elem, computed ) {\n\t\tif ( computed ) {\n\t\t\treturn ( parseFloat( curCSS( elem, \"marginLeft\" ) ) ||\n\t\t\t\telem.getBoundingClientRect().left -\n\t\t\t\t\tswap( elem, { marginLeft: 0 }, function() {\n\t\t\t\t\t\treturn elem.getBoundingClientRect().left;\n\t\t\t\t\t} )\n\t\t\t) + \"px\";\n\t\t}\n\t}\n);\n\n// These hooks are used by animate to expand properties\njQuery.each( {\n\tmargin: \"\",\n\tpadding: \"\",\n\tborder: \"Width\"\n}, function( prefix, suffix ) {\n\tjQuery.cssHooks[ prefix + suffix ] = {\n\t\texpand: function( value ) {\n\t\t\tvar i = 0,\n\t\t\t\texpanded = {},\n\n\t\t\t\t// Assumes a single number if not a string\n\t\t\t\tparts = typeof value === \"string\" ? value.split( \" \" ) : [ value ];\n\n\t\t\tfor ( ; i < 4; i++ ) {\n\t\t\t\texpanded[ prefix + cssExpand[ i ] + suffix ] =\n\t\t\t\t\tparts[ i ] || parts[ i - 2 ] || parts[ 0 ];\n\t\t\t}\n\n\t\t\treturn expanded;\n\t\t}\n\t};\n\n\tif ( prefix !== \"margin\" ) {\n\t\tjQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber;\n\t}\n} );\n\njQuery.fn.extend( {\n\tcss: function( name, value ) {\n\t\treturn access( this, function( elem, name, value ) {\n\t\t\tvar styles, len,\n\t\t\t\tmap = {},\n\t\t\t\ti = 0;\n\n\t\t\tif ( Array.isArray( name ) ) {\n\t\t\t\tstyles = getStyles( elem );\n\t\t\t\tlen = name.length;\n\n\t\t\t\tfor ( ; i < len; i++ ) {\n\t\t\t\t\tmap[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles );\n\t\t\t\t}\n\n\t\t\t\treturn map;\n\t\t\t}\n\n\t\t\treturn value !== undefined ?\n\t\t\t\tjQuery.style( elem, name, value ) :\n\t\t\t\tjQuery.css( elem, name );\n\t\t}, name, value, arguments.length > 1 );\n\t}\n} );\n\n\nfunction Tween( elem, options, prop, end, easing ) {\n\treturn new Tween.prototype.init( elem, options, prop, end, easing );\n}\njQuery.Tween = Tween;\n\nTween.prototype = {\n\tconstructor: Tween,\n\tinit: function( elem, options, prop, end, easing, unit ) {\n\t\tthis.elem = elem;\n\t\tthis.prop = prop;\n\t\tthis.easing = easing || jQuery.easing._default;\n\t\tthis.options = options;\n\t\tthis.start = this.now = this.cur();\n\t\tthis.end = end;\n\t\tthis.unit = unit || ( jQuery.cssNumber[ prop ] ? \"\" : \"px\" );\n\t},\n\tcur: function() {\n\t\tvar hooks = Tween.propHooks[ this.prop ];\n\n\t\treturn hooks && hooks.get ?\n\t\t\thooks.get( this ) :\n\t\t\tTween.propHooks._default.get( this );\n\t},\n\trun: function( percent ) {\n\t\tvar eased,\n\t\t\thooks = Tween.propHooks[ this.prop ];\n\n\t\tif ( this.options.duration ) {\n\t\t\tthis.pos = eased = jQuery.easing[ this.easing ](\n\t\t\t\tpercent, this.options.duration * percent, 0, 1, this.options.duration\n\t\t\t);\n\t\t} else {\n\t\t\tthis.pos = eased = percent;\n\t\t}\n\t\tthis.now = ( this.end - this.start ) * eased + this.start;\n\n\t\tif ( this.options.step ) {\n\t\t\tthis.options.step.call( this.elem, this.now, this );\n\t\t}\n\n\t\tif ( hooks && hooks.set ) {\n\t\t\thooks.set( this );\n\t\t} else {\n\t\t\tTween.propHooks._default.set( this );\n\t\t}\n\t\treturn this;\n\t}\n};\n\nTween.prototype.init.prototype = Tween.prototype;\n\nTween.propHooks = {\n\t_default: {\n\t\tget: function( tween ) {\n\t\t\tvar result;\n\n\t\t\t// Use a property on the element directly when it is not a DOM element,\n\t\t\t// or when there is no matching style property that exists.\n\t\t\tif ( tween.elem.nodeType !== 1 ||\n\t\t\t\ttween.elem[ tween.prop ] != null && tween.elem.style[ tween.prop ] == null ) {\n\t\t\t\treturn tween.elem[ tween.prop ];\n\t\t\t}\n\n\t\t\t// Passing an empty string as a 3rd parameter to .css will automatically\n\t\t\t// attempt a parseFloat and fallback to a string if the parse fails.\n\t\t\t// Simple values such as \"10px\" are parsed to Float;\n\t\t\t// complex values such as \"rotate(1rad)\" are returned as-is.\n\t\t\tresult = jQuery.css( tween.elem, tween.prop, \"\" );\n\n\t\t\t// Empty strings, null, undefined and \"auto\" are converted to 0.\n\t\t\treturn !result || result === \"auto\" ? 0 : result;\n\t\t},\n\t\tset: function( tween ) {\n\n\t\t\t// Use step hook for back compat.\n\t\t\t// Use cssHook if its there.\n\t\t\t// Use .style if available and use plain properties where available.\n\t\t\tif ( jQuery.fx.step[ tween.prop ] ) {\n\t\t\t\tjQuery.fx.step[ tween.prop ]( tween );\n\t\t\t} else if ( tween.elem.nodeType === 1 && (\n\t\t\t\tjQuery.cssHooks[ tween.prop ] ||\n\t\t\t\t\ttween.elem.style[ finalPropName( tween.prop ) ] != null ) ) {\n\t\t\t\tjQuery.style( tween.elem, tween.prop, tween.now + tween.unit );\n\t\t\t} else {\n\t\t\t\ttween.elem[ tween.prop ] = tween.now;\n\t\t\t}\n\t\t}\n\t}\n};\n\n// Support: IE <=9 only\n// Panic based approach to setting things on disconnected nodes\nTween.propHooks.scrollTop = Tween.propHooks.scrollLeft = {\n\tset: function( tween ) {\n\t\tif ( tween.elem.nodeType && tween.elem.parentNode ) {\n\t\t\ttween.elem[ tween.prop ] = tween.now;\n\t\t}\n\t}\n};\n\njQuery.easing = {\n\tlinear: function( p ) {\n\t\treturn p;\n\t},\n\tswing: function( p ) {\n\t\treturn 0.5 - Math.cos( p * Math.PI ) / 2;\n\t},\n\t_default: \"swing\"\n};\n\njQuery.fx = Tween.prototype.init;\n\n// Back compat <1.8 extension point\njQuery.fx.step = {};\n\n\n\n\nvar\n\tfxNow, inProgress,\n\trfxtypes = /^(?:toggle|show|hide)$/,\n\trrun = /queueHooks$/;\n\nfunction schedule() {\n\tif ( inProgress ) {\n\t\tif ( document.hidden === false && window.requestAnimationFrame ) {\n\t\t\twindow.requestAnimationFrame( schedule );\n\t\t} else {\n\t\t\twindow.setTimeout( schedule, jQuery.fx.interval );\n\t\t}\n\n\t\tjQuery.fx.tick();\n\t}\n}\n\n// Animations created synchronously will run synchronously\nfunction createFxNow() {\n\twindow.setTimeout( function() {\n\t\tfxNow = undefined;\n\t} );\n\treturn ( fxNow = Date.now() );\n}\n\n// Generate parameters to create a standard animation\nfunction genFx( type, includeWidth ) {\n\tvar which,\n\t\ti = 0,\n\t\tattrs = { height: type };\n\n\t// If we include width, step value is 1 to do all cssExpand values,\n\t// otherwise step value is 2 to skip over Left and Right\n\tincludeWidth = includeWidth ? 1 : 0;\n\tfor ( ; i < 4; i += 2 - includeWidth ) {\n\t\twhich = cssExpand[ i ];\n\t\tattrs[ \"margin\" + which ] = attrs[ \"padding\" + which ] = type;\n\t}\n\n\tif ( includeWidth ) {\n\t\tattrs.opacity = attrs.width = type;\n\t}\n\n\treturn attrs;\n}\n\nfunction createTween( value, prop, animation ) {\n\tvar tween,\n\t\tcollection = ( Animation.tweeners[ prop ] || [] ).concat( Animation.tweeners[ \"*\" ] ),\n\t\tindex = 0,\n\t\tlength = collection.length;\n\tfor ( ; index < length; index++ ) {\n\t\tif ( ( tween = collection[ index ].call( animation, prop, value ) ) ) {\n\n\t\t\t// We're done with this property\n\t\t\treturn tween;\n\t\t}\n\t}\n}\n\nfunction defaultPrefilter( elem, props, opts ) {\n\tvar prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display,\n\t\tisBox = \"width\" in props || \"height\" in props,\n\t\tanim = this,\n\t\torig = {},\n\t\tstyle = elem.style,\n\t\thidden = elem.nodeType && isHiddenWithinTree( elem ),\n\t\tdataShow = dataPriv.get( elem, \"fxshow\" );\n\n\t// Queue-skipping animations hijack the fx hooks\n\tif ( !opts.queue ) {\n\t\thooks = jQuery._queueHooks( elem, \"fx\" );\n\t\tif ( hooks.unqueued == null ) {\n\t\t\thooks.unqueued = 0;\n\t\t\toldfire = hooks.empty.fire;\n\t\t\thooks.empty.fire = function() {\n\t\t\t\tif ( !hooks.unqueued ) {\n\t\t\t\t\toldfire();\n\t\t\t\t}\n\t\t\t};\n\t\t}\n\t\thooks.unqueued++;\n\n\t\tanim.always( function() {\n\n\t\t\t// Ensure the complete handler is called before this completes\n\t\t\tanim.always( function() {\n\t\t\t\thooks.unqueued--;\n\t\t\t\tif ( !jQuery.queue( elem, \"fx\" ).length ) {\n\t\t\t\t\thooks.empty.fire();\n\t\t\t\t}\n\t\t\t} );\n\t\t} );\n\t}\n\n\t// Detect show/hide animations\n\tfor ( prop in props ) {\n\t\tvalue = props[ prop ];\n\t\tif ( rfxtypes.test( value ) ) {\n\t\t\tdelete props[ prop ];\n\t\t\ttoggle = toggle || value === \"toggle\";\n\t\t\tif ( value === ( hidden ? \"hide\" : \"show\" ) ) {\n\n\t\t\t\t// Pretend to be hidden if this is a \"show\" and\n\t\t\t\t// there is still data from a stopped show/hide\n\t\t\t\tif ( value === \"show\" && dataShow && dataShow[ prop ] !== undefined ) {\n\t\t\t\t\thidden = true;\n\n\t\t\t\t// Ignore all other no-op show/hide data\n\t\t\t\t} else {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}\n\t\t\torig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop );\n\t\t}\n\t}\n\n\t// Bail out if this is a no-op like .hide().hide()\n\tpropTween = !jQuery.isEmptyObject( props );\n\tif ( !propTween && jQuery.isEmptyObject( orig ) ) {\n\t\treturn;\n\t}\n\n\t// Restrict \"overflow\" and \"display\" styles during box animations\n\tif ( isBox && elem.nodeType === 1 ) {\n\n\t\t// Support: IE <=9 - 11, Edge 12 - 15\n\t\t// Record all 3 overflow attributes because IE does not infer the shorthand\n\t\t// from identically-valued overflowX and overflowY and Edge just mirrors\n\t\t// the overflowX value there.\n\t\topts.overflow = [ style.overflow, style.overflowX, style.overflowY ];\n\n\t\t// Identify a display type, preferring old show/hide data over the CSS cascade\n\t\trestoreDisplay = dataShow && dataShow.display;\n\t\tif ( restoreDisplay == null ) {\n\t\t\trestoreDisplay = dataPriv.get( elem, \"display\" );\n\t\t}\n\t\tdisplay = jQuery.css( elem, \"display\" );\n\t\tif ( display === \"none\" ) {\n\t\t\tif ( restoreDisplay ) {\n\t\t\t\tdisplay = restoreDisplay;\n\t\t\t} else {\n\n\t\t\t\t// Get nonempty value(s) by temporarily forcing visibility\n\t\t\t\tshowHide( [ elem ], true );\n\t\t\t\trestoreDisplay = elem.style.display || restoreDisplay;\n\t\t\t\tdisplay = jQuery.css( elem, \"display\" );\n\t\t\t\tshowHide( [ elem ] );\n\t\t\t}\n\t\t}\n\n\t\t// Animate inline elements as inline-block\n\t\tif ( display === \"inline\" || display === \"inline-block\" && restoreDisplay != null ) {\n\t\t\tif ( jQuery.css( elem, \"float\" ) === \"none\" ) {\n\n\t\t\t\t// Restore the original display value at the end of pure show/hide animations\n\t\t\t\tif ( !propTween ) {\n\t\t\t\t\tanim.done( function() {\n\t\t\t\t\t\tstyle.display = restoreDisplay;\n\t\t\t\t\t} );\n\t\t\t\t\tif ( restoreDisplay == null ) {\n\t\t\t\t\t\tdisplay = style.display;\n\t\t\t\t\t\trestoreDisplay = display === \"none\" ? \"\" : display;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tstyle.display = \"inline-block\";\n\t\t\t}\n\t\t}\n\t}\n\n\tif ( opts.overflow ) {\n\t\tstyle.overflow = \"hidden\";\n\t\tanim.always( function() {\n\t\t\tstyle.overflow = opts.overflow[ 0 ];\n\t\t\tstyle.overflowX = opts.overflow[ 1 ];\n\t\t\tstyle.overflowY = opts.overflow[ 2 ];\n\t\t} );\n\t}\n\n\t// Implement show/hide animations\n\tpropTween = false;\n\tfor ( prop in orig ) {\n\n\t\t// General show/hide setup for this element animation\n\t\tif ( !propTween ) {\n\t\t\tif ( dataShow ) {\n\t\t\t\tif ( \"hidden\" in dataShow ) {\n\t\t\t\t\thidden = dataShow.hidden;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tdataShow = dataPriv.access( elem, \"fxshow\", { display: restoreDisplay } );\n\t\t\t}\n\n\t\t\t// Store hidden/visible for toggle so `.stop().toggle()` \"reverses\"\n\t\t\tif ( toggle ) {\n\t\t\t\tdataShow.hidden = !hidden;\n\t\t\t}\n\n\t\t\t// Show elements before animating them\n\t\t\tif ( hidden ) {\n\t\t\t\tshowHide( [ elem ], true );\n\t\t\t}\n\n\t\t\t/* eslint-disable no-loop-func */\n\n\t\t\tanim.done( function() {\n\n\t\t\t\t/* eslint-enable no-loop-func */\n\n\t\t\t\t// The final step of a \"hide\" animation is actually hiding the element\n\t\t\t\tif ( !hidden ) {\n\t\t\t\t\tshowHide( [ elem ] );\n\t\t\t\t}\n\t\t\t\tdataPriv.remove( elem, \"fxshow\" );\n\t\t\t\tfor ( prop in orig ) {\n\t\t\t\t\tjQuery.style( elem, prop, orig[ prop ] );\n\t\t\t\t}\n\t\t\t} );\n\t\t}\n\n\t\t// Per-property setup\n\t\tpropTween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim );\n\t\tif ( !( prop in dataShow ) ) {\n\t\t\tdataShow[ prop ] = propTween.start;\n\t\t\tif ( hidden ) {\n\t\t\t\tpropTween.end = propTween.start;\n\t\t\t\tpropTween.start = 0;\n\t\t\t}\n\t\t}\n\t}\n}\n\nfunction propFilter( props, specialEasing ) {\n\tvar index, name, easing, value, hooks;\n\n\t// camelCase, specialEasing and expand cssHook pass\n\tfor ( index in props ) {\n\t\tname = camelCase( index );\n\t\teasing = specialEasing[ name ];\n\t\tvalue = props[ index ];\n\t\tif ( Array.isArray( value ) ) {\n\t\t\teasing = value[ 1 ];\n\t\t\tvalue = props[ index ] = value[ 0 ];\n\t\t}\n\n\t\tif ( index !== name ) {\n\t\t\tprops[ name ] = value;\n\t\t\tdelete props[ index ];\n\t\t}\n\n\t\thooks = jQuery.cssHooks[ name ];\n\t\tif ( hooks && \"expand\" in hooks ) {\n\t\t\tvalue = hooks.expand( value );\n\t\t\tdelete props[ name ];\n\n\t\t\t// Not quite $.extend, this won't overwrite existing keys.\n\t\t\t// Reusing 'index' because we have the correct \"name\"\n\t\t\tfor ( index in value ) {\n\t\t\t\tif ( !( index in props ) ) {\n\t\t\t\t\tprops[ index ] = value[ index ];\n\t\t\t\t\tspecialEasing[ index ] = easing;\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tspecialEasing[ name ] = easing;\n\t\t}\n\t}\n}\n\nfunction Animation( elem, properties, options ) {\n\tvar result,\n\t\tstopped,\n\t\tindex = 0,\n\t\tlength = Animation.prefilters.length,\n\t\tdeferred = jQuery.Deferred().always( function() {\n\n\t\t\t// Don't match elem in the :animated selector\n\t\t\tdelete tick.elem;\n\t\t} ),\n\t\ttick = function() {\n\t\t\tif ( stopped ) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tvar currentTime = fxNow || createFxNow(),\n\t\t\t\tremaining = Math.max( 0, animation.startTime + animation.duration - currentTime ),\n\n\t\t\t\t// Support: Android 2.3 only\n\t\t\t\t// Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (trac-12497)\n\t\t\t\ttemp = remaining / animation.duration || 0,\n\t\t\t\tpercent = 1 - temp,\n\t\t\t\tindex = 0,\n\t\t\t\tlength = animation.tweens.length;\n\n\t\t\tfor ( ; index < length; index++ ) {\n\t\t\t\tanimation.tweens[ index ].run( percent );\n\t\t\t}\n\n\t\t\tdeferred.notifyWith( elem, [ animation, percent, remaining ] );\n\n\t\t\t// If there's more to do, yield\n\t\t\tif ( percent < 1 && length ) {\n\t\t\t\treturn remaining;\n\t\t\t}\n\n\t\t\t// If this was an empty animation, synthesize a final progress notification\n\t\t\tif ( !length ) {\n\t\t\t\tdeferred.notifyWith( elem, [ animation, 1, 0 ] );\n\t\t\t}\n\n\t\t\t// Resolve the animation and report its conclusion\n\t\t\tdeferred.resolveWith( elem, [ animation ] );\n\t\t\treturn false;\n\t\t},\n\t\tanimation = deferred.promise( {\n\t\t\telem: elem,\n\t\t\tprops: jQuery.extend( {}, properties ),\n\t\t\topts: jQuery.extend( true, {\n\t\t\t\tspecialEasing: {},\n\t\t\t\teasing: jQuery.easing._default\n\t\t\t}, options ),\n\t\t\toriginalProperties: properties,\n\t\t\toriginalOptions: options,\n\t\t\tstartTime: fxNow || createFxNow(),\n\t\t\tduration: options.duration,\n\t\t\ttweens: [],\n\t\t\tcreateTween: function( prop, end ) {\n\t\t\t\tvar tween = jQuery.Tween( elem, animation.opts, prop, end,\n\t\t\t\t\tanimation.opts.specialEasing[ prop ] || animation.opts.easing );\n\t\t\t\tanimation.tweens.push( tween );\n\t\t\t\treturn tween;\n\t\t\t},\n\t\t\tstop: function( gotoEnd ) {\n\t\t\t\tvar index = 0,\n\n\t\t\t\t\t// If we are going to the end, we want to run all the tweens\n\t\t\t\t\t// otherwise we skip this part\n\t\t\t\t\tlength = gotoEnd ? animation.tweens.length : 0;\n\t\t\t\tif ( stopped ) {\n\t\t\t\t\treturn this;\n\t\t\t\t}\n\t\t\t\tstopped = true;\n\t\t\t\tfor ( ; index < length; index++ ) {\n\t\t\t\t\tanimation.tweens[ index ].run( 1 );\n\t\t\t\t}\n\n\t\t\t\t// Resolve when we played the last frame; otherwise, reject\n\t\t\t\tif ( gotoEnd ) {\n\t\t\t\t\tdeferred.notifyWith( elem, [ animation, 1, 0 ] );\n\t\t\t\t\tdeferred.resolveWith( elem, [ animation, gotoEnd ] );\n\t\t\t\t} else {\n\t\t\t\t\tdeferred.rejectWith( elem, [ animation, gotoEnd ] );\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t}\n\t\t} ),\n\t\tprops = animation.props;\n\n\tpropFilter( props, animation.opts.specialEasing );\n\n\tfor ( ; index < length; index++ ) {\n\t\tresult = Animation.prefilters[ index ].call( animation, elem, props, animation.opts );\n\t\tif ( result ) {\n\t\t\tif ( isFunction( result.stop ) ) {\n\t\t\t\tjQuery._queueHooks( animation.elem, animation.opts.queue ).stop =\n\t\t\t\t\tresult.stop.bind( result );\n\t\t\t}\n\t\t\treturn result;\n\t\t}\n\t}\n\n\tjQuery.map( props, createTween, animation );\n\n\tif ( isFunction( animation.opts.start ) ) {\n\t\tanimation.opts.start.call( elem, animation );\n\t}\n\n\t// Attach callbacks from options\n\tanimation\n\t\t.progress( animation.opts.progress )\n\t\t.done( animation.opts.done, animation.opts.complete )\n\t\t.fail( animation.opts.fail )\n\t\t.always( animation.opts.always );\n\n\tjQuery.fx.timer(\n\t\tjQuery.extend( tick, {\n\t\t\telem: elem,\n\t\t\tanim: animation,\n\t\t\tqueue: animation.opts.queue\n\t\t} )\n\t);\n\n\treturn animation;\n}\n\njQuery.Animation = jQuery.extend( Animation, {\n\n\ttweeners: {\n\t\t\"*\": [ function( prop, value ) {\n\t\t\tvar tween = this.createTween( prop, value );\n\t\t\tadjustCSS( tween.elem, prop, rcssNum.exec( value ), tween );\n\t\t\treturn tween;\n\t\t} ]\n\t},\n\n\ttweener: function( props, callback ) {\n\t\tif ( isFunction( props ) ) {\n\t\t\tcallback = props;\n\t\t\tprops = [ \"*\" ];\n\t\t} else {\n\t\t\tprops = props.match( rnothtmlwhite );\n\t\t}\n\n\t\tvar prop,\n\t\t\tindex = 0,\n\t\t\tlength = props.length;\n\n\t\tfor ( ; index < length; index++ ) {\n\t\t\tprop = props[ index ];\n\t\t\tAnimation.tweeners[ prop ] = Animation.tweeners[ prop ] || [];\n\t\t\tAnimation.tweeners[ prop ].unshift( callback );\n\t\t}\n\t},\n\n\tprefilters: [ defaultPrefilter ],\n\n\tprefilter: function( callback, prepend ) {\n\t\tif ( prepend ) {\n\t\t\tAnimation.prefilters.unshift( callback );\n\t\t} else {\n\t\t\tAnimation.prefilters.push( callback );\n\t\t}\n\t}\n} );\n\njQuery.speed = function( speed, easing, fn ) {\n\tvar opt = speed && typeof speed === \"object\" ? jQuery.extend( {}, speed ) : {\n\t\tcomplete: fn || !fn && easing ||\n\t\t\tisFunction( speed ) && speed,\n\t\tduration: speed,\n\t\teasing: fn && easing || easing && !isFunction( easing ) && easing\n\t};\n\n\t// Go to the end state if fx are off\n\tif ( jQuery.fx.off ) {\n\t\topt.duration = 0;\n\n\t} else {\n\t\tif ( typeof opt.duration !== \"number\" ) {\n\t\t\tif ( opt.duration in jQuery.fx.speeds ) {\n\t\t\t\topt.duration = jQuery.fx.speeds[ opt.duration ];\n\n\t\t\t} else {\n\t\t\t\topt.duration = jQuery.fx.speeds._default;\n\t\t\t}\n\t\t}\n\t}\n\n\t// Normalize opt.queue - true/undefined/null -> \"fx\"\n\tif ( opt.queue == null || opt.queue === true ) {\n\t\topt.queue = \"fx\";\n\t}\n\n\t// Queueing\n\topt.old = opt.complete;\n\n\topt.complete = function() {\n\t\tif ( isFunction( opt.old ) ) {\n\t\t\topt.old.call( this );\n\t\t}\n\n\t\tif ( opt.queue ) {\n\t\t\tjQuery.dequeue( this, opt.queue );\n\t\t}\n\t};\n\n\treturn opt;\n};\n\njQuery.fn.extend( {\n\tfadeTo: function( speed, to, easing, callback ) {\n\n\t\t// Show any hidden elements after setting opacity to 0\n\t\treturn this.filter( isHiddenWithinTree ).css( \"opacity\", 0 ).show()\n\n\t\t\t// Animate to the value specified\n\t\t\t.end().animate( { opacity: to }, speed, easing, callback );\n\t},\n\tanimate: function( prop, speed, easing, callback ) {\n\t\tvar empty = jQuery.isEmptyObject( prop ),\n\t\t\toptall = jQuery.speed( speed, easing, callback ),\n\t\t\tdoAnimation = function() {\n\n\t\t\t\t// Operate on a copy of prop so per-property easing won't be lost\n\t\t\t\tvar anim = Animation( this, jQuery.extend( {}, prop ), optall );\n\n\t\t\t\t// Empty animations, or finishing resolves immediately\n\t\t\t\tif ( empty || dataPriv.get( this, \"finish\" ) ) {\n\t\t\t\t\tanim.stop( true );\n\t\t\t\t}\n\t\t\t};\n\n\t\tdoAnimation.finish = doAnimation;\n\n\t\treturn empty || optall.queue === false ?\n\t\t\tthis.each( doAnimation ) :\n\t\t\tthis.queue( optall.queue, doAnimation );\n\t},\n\tstop: function( type, clearQueue, gotoEnd ) {\n\t\tvar stopQueue = function( hooks ) {\n\t\t\tvar stop = hooks.stop;\n\t\t\tdelete hooks.stop;\n\t\t\tstop( gotoEnd );\n\t\t};\n\n\t\tif ( typeof type !== \"string\" ) {\n\t\t\tgotoEnd = clearQueue;\n\t\t\tclearQueue = type;\n\t\t\ttype = undefined;\n\t\t}\n\t\tif ( clearQueue ) {\n\t\t\tthis.queue( type || \"fx\", [] );\n\t\t}\n\n\t\treturn this.each( function() {\n\t\t\tvar dequeue = true,\n\t\t\t\tindex = type != null && type + \"queueHooks\",\n\t\t\t\ttimers = jQuery.timers,\n\t\t\t\tdata = dataPriv.get( this );\n\n\t\t\tif ( index ) {\n\t\t\t\tif ( data[ index ] && data[ index ].stop ) {\n\t\t\t\t\tstopQueue( data[ index ] );\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tfor ( index in data ) {\n\t\t\t\t\tif ( data[ index ] && data[ index ].stop && rrun.test( index ) ) {\n\t\t\t\t\t\tstopQueue( data[ index ] );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor ( index = timers.length; index--; ) {\n\t\t\t\tif ( timers[ index ].elem === this &&\n\t\t\t\t\t( type == null || timers[ index ].queue === type ) ) {\n\n\t\t\t\t\ttimers[ index ].anim.stop( gotoEnd );\n\t\t\t\t\tdequeue = false;\n\t\t\t\t\ttimers.splice( index, 1 );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Start the next in the queue if the last step wasn't forced.\n\t\t\t// Timers currently will call their complete callbacks, which\n\t\t\t// will dequeue but only if they were gotoEnd.\n\t\t\tif ( dequeue || !gotoEnd ) {\n\t\t\t\tjQuery.dequeue( this, type );\n\t\t\t}\n\t\t} );\n\t},\n\tfinish: function( type ) {\n\t\tif ( type !== false ) {\n\t\t\ttype = type || \"fx\";\n\t\t}\n\t\treturn this.each( function() {\n\t\t\tvar index,\n\t\t\t\tdata = dataPriv.get( this ),\n\t\t\t\tqueue = data[ type + \"queue\" ],\n\t\t\t\thooks = data[ type + \"queueHooks\" ],\n\t\t\t\ttimers = jQuery.timers,\n\t\t\t\tlength = queue ? queue.length : 0;\n\n\t\t\t// Enable finishing flag on private data\n\t\t\tdata.finish = true;\n\n\t\t\t// Empty the queue first\n\t\t\tjQuery.queue( this, type, [] );\n\n\t\t\tif ( hooks && hooks.stop ) {\n\t\t\t\thooks.stop.call( this, true );\n\t\t\t}\n\n\t\t\t// Look for any active animations, and finish them\n\t\t\tfor ( index = timers.length; index--; ) {\n\t\t\t\tif ( timers[ index ].elem === this && timers[ index ].queue === type ) {\n\t\t\t\t\ttimers[ index ].anim.stop( true );\n\t\t\t\t\ttimers.splice( index, 1 );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Look for any animations in the old queue and finish them\n\t\t\tfor ( index = 0; index < length; index++ ) {\n\t\t\t\tif ( queue[ index ] && queue[ index ].finish ) {\n\t\t\t\t\tqueue[ index ].finish.call( this );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Turn off finishing flag\n\t\t\tdelete data.finish;\n\t\t} );\n\t}\n} );\n\njQuery.each( [ \"toggle\", \"show\", \"hide\" ], function( _i, name ) {\n\tvar cssFn = jQuery.fn[ name ];\n\tjQuery.fn[ name ] = function( speed, easing, callback ) {\n\t\treturn speed == null || typeof speed === \"boolean\" ?\n\t\t\tcssFn.apply( this, arguments ) :\n\t\t\tthis.animate( genFx( name, true ), speed, easing, callback );\n\t};\n} );\n\n// Generate shortcuts for custom animations\njQuery.each( {\n\tslideDown: genFx( \"show\" ),\n\tslideUp: genFx( \"hide\" ),\n\tslideToggle: genFx( \"toggle\" ),\n\tfadeIn: { opacity: \"show\" },\n\tfadeOut: { opacity: \"hide\" },\n\tfadeToggle: { opacity: \"toggle\" }\n}, function( name, props ) {\n\tjQuery.fn[ name ] = function( speed, easing, callback ) {\n\t\treturn this.animate( props, speed, easing, callback );\n\t};\n} );\n\njQuery.timers = [];\njQuery.fx.tick = function() {\n\tvar timer,\n\t\ti = 0,\n\t\ttimers = jQuery.timers;\n\n\tfxNow = Date.now();\n\n\tfor ( ; i < timers.length; i++ ) {\n\t\ttimer = timers[ i ];\n\n\t\t// Run the timer and safely remove it when done (allowing for external removal)\n\t\tif ( !timer() && timers[ i ] === timer ) {\n\t\t\ttimers.splice( i--, 1 );\n\t\t}\n\t}\n\n\tif ( !timers.length ) {\n\t\tjQuery.fx.stop();\n\t}\n\tfxNow = undefined;\n};\n\njQuery.fx.timer = function( timer ) {\n\tjQuery.timers.push( timer );\n\tjQuery.fx.start();\n};\n\njQuery.fx.interval = 13;\njQuery.fx.start = function() {\n\tif ( inProgress ) {\n\t\treturn;\n\t}\n\n\tinProgress = true;\n\tschedule();\n};\n\njQuery.fx.stop = function() {\n\tinProgress = null;\n};\n\njQuery.fx.speeds = {\n\tslow: 600,\n\tfast: 200,\n\n\t// Default speed\n\t_default: 400\n};\n\n\n// Based off of the plugin by Clint Helfers, with permission.\njQuery.fn.delay = function( time, type ) {\n\ttime = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time;\n\ttype = type || \"fx\";\n\n\treturn this.queue( type, function( next, hooks ) {\n\t\tvar timeout = window.setTimeout( next, time );\n\t\thooks.stop = function() {\n\t\t\twindow.clearTimeout( timeout );\n\t\t};\n\t} );\n};\n\n\n( function() {\n\tvar input = document.createElement( \"input\" ),\n\t\tselect = document.createElement( \"select\" ),\n\t\topt = select.appendChild( document.createElement( \"option\" ) );\n\n\tinput.type = \"checkbox\";\n\n\t// Support: Android <=4.3 only\n\t// Default value for a checkbox should be \"on\"\n\tsupport.checkOn = input.value !== \"\";\n\n\t// Support: IE <=11 only\n\t// Must access selectedIndex to make default options select\n\tsupport.optSelected = opt.selected;\n\n\t// Support: IE <=11 only\n\t// An input loses its value after becoming a radio\n\tinput = document.createElement( \"input\" );\n\tinput.value = \"t\";\n\tinput.type = \"radio\";\n\tsupport.radioValue = input.value === \"t\";\n} )();\n\n\nvar boolHook,\n\tattrHandle = jQuery.expr.attrHandle;\n\njQuery.fn.extend( {\n\tattr: function( name, value ) {\n\t\treturn access( this, jQuery.attr, name, value, arguments.length > 1 );\n\t},\n\n\tremoveAttr: function( name ) {\n\t\treturn this.each( function() {\n\t\t\tjQuery.removeAttr( this, name );\n\t\t} );\n\t}\n} );\n\njQuery.extend( {\n\tattr: function( elem, name, value ) {\n\t\tvar ret, hooks,\n\t\t\tnType = elem.nodeType;\n\n\t\t// Don't get/set attributes on text, comment and attribute nodes\n\t\tif ( nType === 3 || nType === 8 || nType === 2 ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Fallback to prop when attributes are not supported\n\t\tif ( typeof elem.getAttribute === \"undefined\" ) {\n\t\t\treturn jQuery.prop( elem, name, value );\n\t\t}\n\n\t\t// Attribute hooks are determined by the lowercase version\n\t\t// Grab necessary hook if one is defined\n\t\tif ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) {\n\t\t\thooks = jQuery.attrHooks[ name.toLowerCase() ] ||\n\t\t\t\t( jQuery.expr.match.bool.test( name ) ? boolHook : undefined );\n\t\t}\n\n\t\tif ( value !== undefined ) {\n\t\t\tif ( value === null ) {\n\t\t\t\tjQuery.removeAttr( elem, name );\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif ( hooks && \"set\" in hooks &&\n\t\t\t\t( ret = hooks.set( elem, value, name ) ) !== undefined ) {\n\t\t\t\treturn ret;\n\t\t\t}\n\n\t\t\telem.setAttribute( name, value + \"\" );\n\t\t\treturn value;\n\t\t}\n\n\t\tif ( hooks && \"get\" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) {\n\t\t\treturn ret;\n\t\t}\n\n\t\tret = jQuery.find.attr( elem, name );\n\n\t\t// Non-existent attributes return null, we normalize to undefined\n\t\treturn ret == null ? undefined : ret;\n\t},\n\n\tattrHooks: {\n\t\ttype: {\n\t\t\tset: function( elem, value ) {\n\t\t\t\tif ( !support.radioValue && value === \"radio\" &&\n\t\t\t\t\tnodeName( elem, \"input\" ) ) {\n\t\t\t\t\tvar val = elem.value;\n\t\t\t\t\telem.setAttribute( \"type\", value );\n\t\t\t\t\tif ( val ) {\n\t\t\t\t\t\telem.value = val;\n\t\t\t\t\t}\n\t\t\t\t\treturn value;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t},\n\n\tremoveAttr: function( elem, value ) {\n\t\tvar name,\n\t\t\ti = 0,\n\n\t\t\t// Attribute names can contain non-HTML whitespace characters\n\t\t\t// https://html.spec.whatwg.org/multipage/syntax.html#attributes-2\n\t\t\tattrNames = value && value.match( rnothtmlwhite );\n\n\t\tif ( attrNames && elem.nodeType === 1 ) {\n\t\t\twhile ( ( name = attrNames[ i++ ] ) ) {\n\t\t\t\telem.removeAttribute( name );\n\t\t\t}\n\t\t}\n\t}\n} );\n\n// Hooks for boolean attributes\nboolHook = {\n\tset: function( elem, value, name ) {\n\t\tif ( value === false ) {\n\n\t\t\t// Remove boolean attributes when set to false\n\t\t\tjQuery.removeAttr( elem, name );\n\t\t} else {\n\t\t\telem.setAttribute( name, name );\n\t\t}\n\t\treturn name;\n\t}\n};\n\njQuery.each( jQuery.expr.match.bool.source.match( /\\w+/g ), function( _i, name ) {\n\tvar getter = attrHandle[ name ] || jQuery.find.attr;\n\n\tattrHandle[ name ] = function( elem, name, isXML ) {\n\t\tvar ret, handle,\n\t\t\tlowercaseName = name.toLowerCase();\n\n\t\tif ( !isXML ) {\n\n\t\t\t// Avoid an infinite loop by temporarily removing this function from the getter\n\t\t\thandle = attrHandle[ lowercaseName ];\n\t\t\tattrHandle[ lowercaseName ] = ret;\n\t\t\tret = getter( elem, name, isXML ) != null ?\n\t\t\t\tlowercaseName :\n\t\t\t\tnull;\n\t\t\tattrHandle[ lowercaseName ] = handle;\n\t\t}\n\t\treturn ret;\n\t};\n} );\n\n\n\n\nvar rfocusable = /^(?:input|select|textarea|button)$/i,\n\trclickable = /^(?:a|area)$/i;\n\njQuery.fn.extend( {\n\tprop: function( name, value ) {\n\t\treturn access( this, jQuery.prop, name, value, arguments.length > 1 );\n\t},\n\n\tremoveProp: function( name ) {\n\t\treturn this.each( function() {\n\t\t\tdelete this[ jQuery.propFix[ name ] || name ];\n\t\t} );\n\t}\n} );\n\njQuery.extend( {\n\tprop: function( elem, name, value ) {\n\t\tvar ret, hooks,\n\t\t\tnType = elem.nodeType;\n\n\t\t// Don't get/set properties on text, comment and attribute nodes\n\t\tif ( nType === 3 || nType === 8 || nType === 2 ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) {\n\n\t\t\t// Fix name and attach hooks\n\t\t\tname = jQuery.propFix[ name ] || name;\n\t\t\thooks = jQuery.propHooks[ name ];\n\t\t}\n\n\t\tif ( value !== undefined ) {\n\t\t\tif ( hooks && \"set\" in hooks &&\n\t\t\t\t( ret = hooks.set( elem, value, name ) ) !== undefined ) {\n\t\t\t\treturn ret;\n\t\t\t}\n\n\t\t\treturn ( elem[ name ] = value );\n\t\t}\n\n\t\tif ( hooks && \"get\" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) {\n\t\t\treturn ret;\n\t\t}\n\n\t\treturn elem[ name ];\n\t},\n\n\tpropHooks: {\n\t\ttabIndex: {\n\t\t\tget: function( elem ) {\n\n\t\t\t\t// Support: IE <=9 - 11 only\n\t\t\t\t// elem.tabIndex doesn't always return the\n\t\t\t\t// correct value when it hasn't been explicitly set\n\t\t\t\t// Use proper attribute retrieval (trac-12072)\n\t\t\t\tvar tabindex = jQuery.find.attr( elem, \"tabindex\" );\n\n\t\t\t\tif ( tabindex ) {\n\t\t\t\t\treturn parseInt( tabindex, 10 );\n\t\t\t\t}\n\n\t\t\t\tif (\n\t\t\t\t\trfocusable.test( elem.nodeName ) ||\n\t\t\t\t\trclickable.test( elem.nodeName ) &&\n\t\t\t\t\telem.href\n\t\t\t\t) {\n\t\t\t\t\treturn 0;\n\t\t\t\t}\n\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t}\n\t},\n\n\tpropFix: {\n\t\t\"for\": \"htmlFor\",\n\t\t\"class\": \"className\"\n\t}\n} );\n\n// Support: IE <=11 only\n// Accessing the selectedIndex property\n// forces the browser to respect setting selected\n// on the option\n// The getter ensures a default option is selected\n// when in an optgroup\n// eslint rule \"no-unused-expressions\" is disabled for this code\n// since it considers such accessions noop\nif ( !support.optSelected ) {\n\tjQuery.propHooks.selected = {\n\t\tget: function( elem ) {\n\n\t\t\t/* eslint no-unused-expressions: \"off\" */\n\n\t\t\tvar parent = elem.parentNode;\n\t\t\tif ( parent && parent.parentNode ) {\n\t\t\t\tparent.parentNode.selectedIndex;\n\t\t\t}\n\t\t\treturn null;\n\t\t},\n\t\tset: function( elem ) {\n\n\t\t\t/* eslint no-unused-expressions: \"off\" */\n\n\t\t\tvar parent = elem.parentNode;\n\t\t\tif ( parent ) {\n\t\t\t\tparent.selectedIndex;\n\n\t\t\t\tif ( parent.parentNode ) {\n\t\t\t\t\tparent.parentNode.selectedIndex;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n}\n\njQuery.each( [\n\t\"tabIndex\",\n\t\"readOnly\",\n\t\"maxLength\",\n\t\"cellSpacing\",\n\t\"cellPadding\",\n\t\"rowSpan\",\n\t\"colSpan\",\n\t\"useMap\",\n\t\"frameBorder\",\n\t\"contentEditable\"\n], function() {\n\tjQuery.propFix[ this.toLowerCase() ] = this;\n} );\n\n\n\n\n\t// Strip and collapse whitespace according to HTML spec\n\t// https://infra.spec.whatwg.org/#strip-and-collapse-ascii-whitespace\n\tfunction stripAndCollapse( value ) {\n\t\tvar tokens = value.match( rnothtmlwhite ) || [];\n\t\treturn tokens.join( \" \" );\n\t}\n\n\nfunction getClass( elem ) {\n\treturn elem.getAttribute && elem.getAttribute( \"class\" ) || \"\";\n}\n\nfunction classesToArray( value ) {\n\tif ( Array.isArray( value ) ) {\n\t\treturn value;\n\t}\n\tif ( typeof value === \"string\" ) {\n\t\treturn value.match( rnothtmlwhite ) || [];\n\t}\n\treturn [];\n}\n\njQuery.fn.extend( {\n\taddClass: function( value ) {\n\t\tvar classNames, cur, curValue, className, i, finalValue;\n\n\t\tif ( isFunction( value ) ) {\n\t\t\treturn this.each( function( j ) {\n\t\t\t\tjQuery( this ).addClass( value.call( this, j, getClass( this ) ) );\n\t\t\t} );\n\t\t}\n\n\t\tclassNames = classesToArray( value );\n\n\t\tif ( classNames.length ) {\n\t\t\treturn this.each( function() {\n\t\t\t\tcurValue = getClass( this );\n\t\t\t\tcur = this.nodeType === 1 && ( \" \" + stripAndCollapse( curValue ) + \" \" );\n\n\t\t\t\tif ( cur ) {\n\t\t\t\t\tfor ( i = 0; i < classNames.length; i++ ) {\n\t\t\t\t\t\tclassName = classNames[ i ];\n\t\t\t\t\t\tif ( cur.indexOf( \" \" + className + \" \" ) < 0 ) {\n\t\t\t\t\t\t\tcur += className + \" \";\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// Only assign if different to avoid unneeded rendering.\n\t\t\t\t\tfinalValue = stripAndCollapse( cur );\n\t\t\t\t\tif ( curValue !== finalValue ) {\n\t\t\t\t\t\tthis.setAttribute( \"class\", finalValue );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} );\n\t\t}\n\n\t\treturn this;\n\t},\n\n\tremoveClass: function( value ) {\n\t\tvar classNames, cur, curValue, className, i, finalValue;\n\n\t\tif ( isFunction( value ) ) {\n\t\t\treturn this.each( function( j ) {\n\t\t\t\tjQuery( this ).removeClass( value.call( this, j, getClass( this ) ) );\n\t\t\t} );\n\t\t}\n\n\t\tif ( !arguments.length ) {\n\t\t\treturn this.attr( \"class\", \"\" );\n\t\t}\n\n\t\tclassNames = classesToArray( value );\n\n\t\tif ( classNames.length ) {\n\t\t\treturn this.each( function() {\n\t\t\t\tcurValue = getClass( this );\n\n\t\t\t\t// This expression is here for better compressibility (see addClass)\n\t\t\t\tcur = this.nodeType === 1 && ( \" \" + stripAndCollapse( curValue ) + \" \" );\n\n\t\t\t\tif ( cur ) {\n\t\t\t\t\tfor ( i = 0; i < classNames.length; i++ ) {\n\t\t\t\t\t\tclassName = classNames[ i ];\n\n\t\t\t\t\t\t// Remove *all* instances\n\t\t\t\t\t\twhile ( cur.indexOf( \" \" + className + \" \" ) > -1 ) {\n\t\t\t\t\t\t\tcur = cur.replace( \" \" + className + \" \", \" \" );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// Only assign if different to avoid unneeded rendering.\n\t\t\t\t\tfinalValue = stripAndCollapse( cur );\n\t\t\t\t\tif ( curValue !== finalValue ) {\n\t\t\t\t\t\tthis.setAttribute( \"class\", finalValue );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} );\n\t\t}\n\n\t\treturn this;\n\t},\n\n\ttoggleClass: function( value, stateVal ) {\n\t\tvar classNames, className, i, self,\n\t\t\ttype = typeof value,\n\t\t\tisValidValue = type === \"string\" || Array.isArray( value );\n\n\t\tif ( isFunction( value ) ) {\n\t\t\treturn this.each( function( i ) {\n\t\t\t\tjQuery( this ).toggleClass(\n\t\t\t\t\tvalue.call( this, i, getClass( this ), stateVal ),\n\t\t\t\t\tstateVal\n\t\t\t\t);\n\t\t\t} );\n\t\t}\n\n\t\tif ( typeof stateVal === \"boolean\" && isValidValue ) {\n\t\t\treturn stateVal ? this.addClass( value ) : this.removeClass( value );\n\t\t}\n\n\t\tclassNames = classesToArray( value );\n\n\t\treturn this.each( function() {\n\t\t\tif ( isValidValue ) {\n\n\t\t\t\t// Toggle individual class names\n\t\t\t\tself = jQuery( this );\n\n\t\t\t\tfor ( i = 0; i < classNames.length; i++ ) {\n\t\t\t\t\tclassName = classNames[ i ];\n\n\t\t\t\t\t// Check each className given, space separated list\n\t\t\t\t\tif ( self.hasClass( className ) ) {\n\t\t\t\t\t\tself.removeClass( className );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tself.addClass( className );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t// Toggle whole class name\n\t\t\t} else if ( value === undefined || type === \"boolean\" ) {\n\t\t\t\tclassName = getClass( this );\n\t\t\t\tif ( className ) {\n\n\t\t\t\t\t// Store className if set\n\t\t\t\t\tdataPriv.set( this, \"__className__\", className );\n\t\t\t\t}\n\n\t\t\t\t// If the element has a class name or if we're passed `false`,\n\t\t\t\t// then remove the whole classname (if there was one, the above saved it).\n\t\t\t\t// Otherwise bring back whatever was previously saved (if anything),\n\t\t\t\t// falling back to the empty string if nothing was stored.\n\t\t\t\tif ( this.setAttribute ) {\n\t\t\t\t\tthis.setAttribute( \"class\",\n\t\t\t\t\t\tclassName || value === false ?\n\t\t\t\t\t\t\t\"\" :\n\t\t\t\t\t\t\tdataPriv.get( this, \"__className__\" ) || \"\"\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t}\n\t\t} );\n\t},\n\n\thasClass: function( selector ) {\n\t\tvar className, elem,\n\t\t\ti = 0;\n\n\t\tclassName = \" \" + selector + \" \";\n\t\twhile ( ( elem = this[ i++ ] ) ) {\n\t\t\tif ( elem.nodeType === 1 &&\n\t\t\t\t( \" \" + stripAndCollapse( getClass( elem ) ) + \" \" ).indexOf( className ) > -1 ) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\n\t\treturn false;\n\t}\n} );\n\n\n\n\nvar rreturn = /\\r/g;\n\njQuery.fn.extend( {\n\tval: function( value ) {\n\t\tvar hooks, ret, valueIsFunction,\n\t\t\telem = this[ 0 ];\n\n\t\tif ( !arguments.length ) {\n\t\t\tif ( elem ) {\n\t\t\t\thooks = jQuery.valHooks[ elem.type ] ||\n\t\t\t\t\tjQuery.valHooks[ elem.nodeName.toLowerCase() ];\n\n\t\t\t\tif ( hooks &&\n\t\t\t\t\t\"get\" in hooks &&\n\t\t\t\t\t( ret = hooks.get( elem, \"value\" ) ) !== undefined\n\t\t\t\t) {\n\t\t\t\t\treturn ret;\n\t\t\t\t}\n\n\t\t\t\tret = elem.value;\n\n\t\t\t\t// Handle most common string cases\n\t\t\t\tif ( typeof ret === \"string\" ) {\n\t\t\t\t\treturn ret.replace( rreturn, \"\" );\n\t\t\t\t}\n\n\t\t\t\t// Handle cases where value is null/undef or number\n\t\t\t\treturn ret == null ? \"\" : ret;\n\t\t\t}\n\n\t\t\treturn;\n\t\t}\n\n\t\tvalueIsFunction = isFunction( value );\n\n\t\treturn this.each( function( i ) {\n\t\t\tvar val;\n\n\t\t\tif ( this.nodeType !== 1 ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif ( valueIsFunction ) {\n\t\t\t\tval = value.call( this, i, jQuery( this ).val() );\n\t\t\t} else {\n\t\t\t\tval = value;\n\t\t\t}\n\n\t\t\t// Treat null/undefined as \"\"; convert numbers to string\n\t\t\tif ( val == null ) {\n\t\t\t\tval = \"\";\n\n\t\t\t} else if ( typeof val === \"number\" ) {\n\t\t\t\tval += \"\";\n\n\t\t\t} else if ( Array.isArray( val ) ) {\n\t\t\t\tval = jQuery.map( val, function( value ) {\n\t\t\t\t\treturn value == null ? \"\" : value + \"\";\n\t\t\t\t} );\n\t\t\t}\n\n\t\t\thooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ];\n\n\t\t\t// If set returns undefined, fall back to normal setting\n\t\t\tif ( !hooks || !( \"set\" in hooks ) || hooks.set( this, val, \"value\" ) === undefined ) {\n\t\t\t\tthis.value = val;\n\t\t\t}\n\t\t} );\n\t}\n} );\n\njQuery.extend( {\n\tvalHooks: {\n\t\toption: {\n\t\t\tget: function( elem ) {\n\n\t\t\t\tvar val = jQuery.find.attr( elem, \"value\" );\n\t\t\t\treturn val != null ?\n\t\t\t\t\tval :\n\n\t\t\t\t\t// Support: IE <=10 - 11 only\n\t\t\t\t\t// option.text throws exceptions (trac-14686, trac-14858)\n\t\t\t\t\t// Strip and collapse whitespace\n\t\t\t\t\t// https://html.spec.whatwg.org/#strip-and-collapse-whitespace\n\t\t\t\t\tstripAndCollapse( jQuery.text( elem ) );\n\t\t\t}\n\t\t},\n\t\tselect: {\n\t\t\tget: function( elem ) {\n\t\t\t\tvar value, option, i,\n\t\t\t\t\toptions = elem.options,\n\t\t\t\t\tindex = elem.selectedIndex,\n\t\t\t\t\tone = elem.type === \"select-one\",\n\t\t\t\t\tvalues = one ? null : [],\n\t\t\t\t\tmax = one ? index + 1 : options.length;\n\n\t\t\t\tif ( index < 0 ) {\n\t\t\t\t\ti = max;\n\n\t\t\t\t} else {\n\t\t\t\t\ti = one ? index : 0;\n\t\t\t\t}\n\n\t\t\t\t// Loop through all the selected options\n\t\t\t\tfor ( ; i < max; i++ ) {\n\t\t\t\t\toption = options[ i ];\n\n\t\t\t\t\t// Support: IE <=9 only\n\t\t\t\t\t// IE8-9 doesn't update selected after form reset (trac-2551)\n\t\t\t\t\tif ( ( option.selected || i === index ) &&\n\n\t\t\t\t\t\t\t// Don't return options that are disabled or in a disabled optgroup\n\t\t\t\t\t\t\t!option.disabled &&\n\t\t\t\t\t\t\t( !option.parentNode.disabled ||\n\t\t\t\t\t\t\t\t!nodeName( option.parentNode, \"optgroup\" ) ) ) {\n\n\t\t\t\t\t\t// Get the specific value for the option\n\t\t\t\t\t\tvalue = jQuery( option ).val();\n\n\t\t\t\t\t\t// We don't need an array for one selects\n\t\t\t\t\t\tif ( one ) {\n\t\t\t\t\t\t\treturn value;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Multi-Selects return an array\n\t\t\t\t\t\tvalues.push( value );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn values;\n\t\t\t},\n\n\t\t\tset: function( elem, value ) {\n\t\t\t\tvar optionSet, option,\n\t\t\t\t\toptions = elem.options,\n\t\t\t\t\tvalues = jQuery.makeArray( value ),\n\t\t\t\t\ti = options.length;\n\n\t\t\t\twhile ( i-- ) {\n\t\t\t\t\toption = options[ i ];\n\n\t\t\t\t\t/* eslint-disable no-cond-assign */\n\n\t\t\t\t\tif ( option.selected =\n\t\t\t\t\t\tjQuery.inArray( jQuery.valHooks.option.get( option ), values ) > -1\n\t\t\t\t\t) {\n\t\t\t\t\t\toptionSet = true;\n\t\t\t\t\t}\n\n\t\t\t\t\t/* eslint-enable no-cond-assign */\n\t\t\t\t}\n\n\t\t\t\t// Force browsers to behave consistently when non-matching value is set\n\t\t\t\tif ( !optionSet ) {\n\t\t\t\t\telem.selectedIndex = -1;\n\t\t\t\t}\n\t\t\t\treturn values;\n\t\t\t}\n\t\t}\n\t}\n} );\n\n// Radios and checkboxes getter/setter\njQuery.each( [ \"radio\", \"checkbox\" ], function() {\n\tjQuery.valHooks[ this ] = {\n\t\tset: function( elem, value ) {\n\t\t\tif ( Array.isArray( value ) ) {\n\t\t\t\treturn ( elem.checked = jQuery.inArray( jQuery( elem ).val(), value ) > -1 );\n\t\t\t}\n\t\t}\n\t};\n\tif ( !support.checkOn ) {\n\t\tjQuery.valHooks[ this ].get = function( elem ) {\n\t\t\treturn elem.getAttribute( \"value\" ) === null ? \"on\" : elem.value;\n\t\t};\n\t}\n} );\n\n\n\n\n// Return jQuery for attributes-only inclusion\nvar location = window.location;\n\nvar nonce = { guid: Date.now() };\n\nvar rquery = ( /\\?/ );\n\n\n\n// Cross-browser xml parsing\njQuery.parseXML = function( data ) {\n\tvar xml, parserErrorElem;\n\tif ( !data || typeof data !== \"string\" ) {\n\t\treturn null;\n\t}\n\n\t// Support: IE 9 - 11 only\n\t// IE throws on parseFromString with invalid input.\n\ttry {\n\t\txml = ( new window.DOMParser() ).parseFromString( data, \"text/xml\" );\n\t} catch ( e ) {}\n\n\tparserErrorElem = xml && xml.getElementsByTagName( \"parsererror\" )[ 0 ];\n\tif ( !xml || parserErrorElem ) {\n\t\tjQuery.error( \"Invalid XML: \" + (\n\t\t\tparserErrorElem ?\n\t\t\t\tjQuery.map( parserErrorElem.childNodes, function( el ) {\n\t\t\t\t\treturn el.textContent;\n\t\t\t\t} ).join( \"\\n\" ) :\n\t\t\t\tdata\n\t\t) );\n\t}\n\treturn xml;\n};\n\n\nvar rfocusMorph = /^(?:focusinfocus|focusoutblur)$/,\n\tstopPropagationCallback = function( e ) {\n\t\te.stopPropagation();\n\t};\n\njQuery.extend( jQuery.event, {\n\n\ttrigger: function( event, data, elem, onlyHandlers ) {\n\n\t\tvar i, cur, tmp, bubbleType, ontype, handle, special, lastElement,\n\t\t\teventPath = [ elem || document ],\n\t\t\ttype = hasOwn.call( event, \"type\" ) ? event.type : event,\n\t\t\tnamespaces = hasOwn.call( event, \"namespace\" ) ? event.namespace.split( \".\" ) : [];\n\n\t\tcur = lastElement = tmp = elem = elem || document;\n\n\t\t// Don't do events on text and comment nodes\n\t\tif ( elem.nodeType === 3 || elem.nodeType === 8 ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// focus/blur morphs to focusin/out; ensure we're not firing them right now\n\t\tif ( rfocusMorph.test( type + jQuery.event.triggered ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ( type.indexOf( \".\" ) > -1 ) {\n\n\t\t\t// Namespaced trigger; create a regexp to match event type in handle()\n\t\t\tnamespaces = type.split( \".\" );\n\t\t\ttype = namespaces.shift();\n\t\t\tnamespaces.sort();\n\t\t}\n\t\tontype = type.indexOf( \":\" ) < 0 && \"on\" + type;\n\n\t\t// Caller can pass in a jQuery.Event object, Object, or just an event type string\n\t\tevent = event[ jQuery.expando ] ?\n\t\t\tevent :\n\t\t\tnew jQuery.Event( type, typeof event === \"object\" && event );\n\n\t\t// Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true)\n\t\tevent.isTrigger = onlyHandlers ? 2 : 3;\n\t\tevent.namespace = namespaces.join( \".\" );\n\t\tevent.rnamespace = event.namespace ?\n\t\t\tnew RegExp( \"(^|\\\\.)\" + namespaces.join( \"\\\\.(?:.*\\\\.|)\" ) + \"(\\\\.|$)\" ) :\n\t\t\tnull;\n\n\t\t// Clean up the event in case it is being reused\n\t\tevent.result = undefined;\n\t\tif ( !event.target ) {\n\t\t\tevent.target = elem;\n\t\t}\n\n\t\t// Clone any incoming data and prepend the event, creating the handler arg list\n\t\tdata = data == null ?\n\t\t\t[ event ] :\n\t\t\tjQuery.makeArray( data, [ event ] );\n\n\t\t// Allow special events to draw outside the lines\n\t\tspecial = jQuery.event.special[ type ] || {};\n\t\tif ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Determine event propagation path in advance, per W3C events spec (trac-9951)\n\t\t// Bubble up to document, then to window; watch for a global ownerDocument var (trac-9724)\n\t\tif ( !onlyHandlers && !special.noBubble && !isWindow( elem ) ) {\n\n\t\t\tbubbleType = special.delegateType || type;\n\t\t\tif ( !rfocusMorph.test( bubbleType + type ) ) {\n\t\t\t\tcur = cur.parentNode;\n\t\t\t}\n\t\t\tfor ( ; cur; cur = cur.parentNode ) {\n\t\t\t\teventPath.push( cur );\n\t\t\t\ttmp = cur;\n\t\t\t}\n\n\t\t\t// Only add window if we got to document (e.g., not plain obj or detached DOM)\n\t\t\tif ( tmp === ( elem.ownerDocument || document ) ) {\n\t\t\t\teventPath.push( tmp.defaultView || tmp.parentWindow || window );\n\t\t\t}\n\t\t}\n\n\t\t// Fire handlers on the event path\n\t\ti = 0;\n\t\twhile ( ( cur = eventPath[ i++ ] ) && !event.isPropagationStopped() ) {\n\t\t\tlastElement = cur;\n\t\t\tevent.type = i > 1 ?\n\t\t\t\tbubbleType :\n\t\t\t\tspecial.bindType || type;\n\n\t\t\t// jQuery handler\n\t\t\thandle = ( dataPriv.get( cur, \"events\" ) || Object.create( null ) )[ event.type ] &&\n\t\t\t\tdataPriv.get( cur, \"handle\" );\n\t\t\tif ( handle ) {\n\t\t\t\thandle.apply( cur, data );\n\t\t\t}\n\n\t\t\t// Native handler\n\t\t\thandle = ontype && cur[ ontype ];\n\t\t\tif ( handle && handle.apply && acceptData( cur ) ) {\n\t\t\t\tevent.result = handle.apply( cur, data );\n\t\t\t\tif ( event.result === false ) {\n\t\t\t\t\tevent.preventDefault();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tevent.type = type;\n\n\t\t// If nobody prevented the default action, do it now\n\t\tif ( !onlyHandlers && !event.isDefaultPrevented() ) {\n\n\t\t\tif ( ( !special._default ||\n\t\t\t\tspecial._default.apply( eventPath.pop(), data ) === false ) &&\n\t\t\t\tacceptData( elem ) ) {\n\n\t\t\t\t// Call a native DOM method on the target with the same name as the event.\n\t\t\t\t// Don't do default actions on window, that's where global variables be (trac-6170)\n\t\t\t\tif ( ontype && isFunction( elem[ type ] ) && !isWindow( elem ) ) {\n\n\t\t\t\t\t// Don't re-trigger an onFOO event when we call its FOO() method\n\t\t\t\t\ttmp = elem[ ontype ];\n\n\t\t\t\t\tif ( tmp ) {\n\t\t\t\t\t\telem[ ontype ] = null;\n\t\t\t\t\t}\n\n\t\t\t\t\t// Prevent re-triggering of the same event, since we already bubbled it above\n\t\t\t\t\tjQuery.event.triggered = type;\n\n\t\t\t\t\tif ( event.isPropagationStopped() ) {\n\t\t\t\t\t\tlastElement.addEventListener( type, stopPropagationCallback );\n\t\t\t\t\t}\n\n\t\t\t\t\telem[ type ]();\n\n\t\t\t\t\tif ( event.isPropagationStopped() ) {\n\t\t\t\t\t\tlastElement.removeEventListener( type, stopPropagationCallback );\n\t\t\t\t\t}\n\n\t\t\t\t\tjQuery.event.triggered = undefined;\n\n\t\t\t\t\tif ( tmp ) {\n\t\t\t\t\t\telem[ ontype ] = tmp;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn event.result;\n\t},\n\n\t// Piggyback on a donor event to simulate a different one\n\t// Used only for `focus(in | out)` events\n\tsimulate: function( type, elem, event ) {\n\t\tvar e = jQuery.extend(\n\t\t\tnew jQuery.Event(),\n\t\t\tevent,\n\t\t\t{\n\t\t\t\ttype: type,\n\t\t\t\tisSimulated: true\n\t\t\t}\n\t\t);\n\n\t\tjQuery.event.trigger( e, null, elem );\n\t}\n\n} );\n\njQuery.fn.extend( {\n\n\ttrigger: function( type, data ) {\n\t\treturn this.each( function() {\n\t\t\tjQuery.event.trigger( type, data, this );\n\t\t} );\n\t},\n\ttriggerHandler: function( type, data ) {\n\t\tvar elem = this[ 0 ];\n\t\tif ( elem ) {\n\t\t\treturn jQuery.event.trigger( type, data, elem, true );\n\t\t}\n\t}\n} );\n\n\nvar\n\trbracket = /\\[\\]$/,\n\trCRLF = /\\r?\\n/g,\n\trsubmitterTypes = /^(?:submit|button|image|reset|file)$/i,\n\trsubmittable = /^(?:input|select|textarea|keygen)/i;\n\nfunction buildParams( prefix, obj, traditional, add ) {\n\tvar name;\n\n\tif ( Array.isArray( obj ) ) {\n\n\t\t// Serialize array item.\n\t\tjQuery.each( obj, function( i, v ) {\n\t\t\tif ( traditional || rbracket.test( prefix ) ) {\n\n\t\t\t\t// Treat each array item as a scalar.\n\t\t\t\tadd( prefix, v );\n\n\t\t\t} else {\n\n\t\t\t\t// Item is non-scalar (array or object), encode its numeric index.\n\t\t\t\tbuildParams(\n\t\t\t\t\tprefix + \"[\" + ( typeof v === \"object\" && v != null ? i : \"\" ) + \"]\",\n\t\t\t\t\tv,\n\t\t\t\t\ttraditional,\n\t\t\t\t\tadd\n\t\t\t\t);\n\t\t\t}\n\t\t} );\n\n\t} else if ( !traditional && toType( obj ) === \"object\" ) {\n\n\t\t// Serialize object item.\n\t\tfor ( name in obj ) {\n\t\t\tbuildParams( prefix + \"[\" + name + \"]\", obj[ name ], traditional, add );\n\t\t}\n\n\t} else {\n\n\t\t// Serialize scalar item.\n\t\tadd( prefix, obj );\n\t}\n}\n\n// Serialize an array of form elements or a set of\n// key/values into a query string\njQuery.param = function( a, traditional ) {\n\tvar prefix,\n\t\ts = [],\n\t\tadd = function( key, valueOrFunction ) {\n\n\t\t\t// If value is a function, invoke it and use its return value\n\t\t\tvar value = isFunction( valueOrFunction ) ?\n\t\t\t\tvalueOrFunction() :\n\t\t\t\tvalueOrFunction;\n\n\t\t\ts[ s.length ] = encodeURIComponent( key ) + \"=\" +\n\t\t\t\tencodeURIComponent( value == null ? \"\" : value );\n\t\t};\n\n\tif ( a == null ) {\n\t\treturn \"\";\n\t}\n\n\t// If an array was passed in, assume that it is an array of form elements.\n\tif ( Array.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) {\n\n\t\t// Serialize the form elements\n\t\tjQuery.each( a, function() {\n\t\t\tadd( this.name, this.value );\n\t\t} );\n\n\t} else {\n\n\t\t// If traditional, encode the \"old\" way (the way 1.3.2 or older\n\t\t// did it), otherwise encode params recursively.\n\t\tfor ( prefix in a ) {\n\t\t\tbuildParams( prefix, a[ prefix ], traditional, add );\n\t\t}\n\t}\n\n\t// Return the resulting serialization\n\treturn s.join( \"&\" );\n};\n\njQuery.fn.extend( {\n\tserialize: function() {\n\t\treturn jQuery.param( this.serializeArray() );\n\t},\n\tserializeArray: function() {\n\t\treturn this.map( function() {\n\n\t\t\t// Can add propHook for \"elements\" to filter or add form elements\n\t\t\tvar elements = jQuery.prop( this, \"elements\" );\n\t\t\treturn elements ? jQuery.makeArray( elements ) : this;\n\t\t} ).filter( function() {\n\t\t\tvar type = this.type;\n\n\t\t\t// Use .is( \":disabled\" ) so that fieldset[disabled] works\n\t\t\treturn this.name && !jQuery( this ).is( \":disabled\" ) &&\n\t\t\t\trsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) &&\n\t\t\t\t( this.checked || !rcheckableType.test( type ) );\n\t\t} ).map( function( _i, elem ) {\n\t\t\tvar val = jQuery( this ).val();\n\n\t\t\tif ( val == null ) {\n\t\t\t\treturn null;\n\t\t\t}\n\n\t\t\tif ( Array.isArray( val ) ) {\n\t\t\t\treturn jQuery.map( val, function( val ) {\n\t\t\t\t\treturn { name: elem.name, value: val.replace( rCRLF, \"\\r\\n\" ) };\n\t\t\t\t} );\n\t\t\t}\n\n\t\t\treturn { name: elem.name, value: val.replace( rCRLF, \"\\r\\n\" ) };\n\t\t} ).get();\n\t}\n} );\n\n\nvar\n\tr20 = /%20/g,\n\trhash = /#.*$/,\n\trantiCache = /([?&])_=[^&]*/,\n\trheaders = /^(.*?):[ \\t]*([^\\r\\n]*)$/mg,\n\n\t// trac-7653, trac-8125, trac-8152: local protocol detection\n\trlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/,\n\trnoContent = /^(?:GET|HEAD)$/,\n\trprotocol = /^\\/\\//,\n\n\t/* Prefilters\n\t * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example)\n\t * 2) These are called:\n\t *    - BEFORE asking for a transport\n\t *    - AFTER param serialization (s.data is a string if s.processData is true)\n\t * 3) key is the dataType\n\t * 4) the catchall symbol \"*\" can be used\n\t * 5) execution will start with transport dataType and THEN continue down to \"*\" if needed\n\t */\n\tprefilters = {},\n\n\t/* Transports bindings\n\t * 1) key is the dataType\n\t * 2) the catchall symbol \"*\" can be used\n\t * 3) selection will start with transport dataType and THEN go to \"*\" if needed\n\t */\n\ttransports = {},\n\n\t// Avoid comment-prolog char sequence (trac-10098); must appease lint and evade compression\n\tallTypes = \"*/\".concat( \"*\" ),\n\n\t// Anchor tag for parsing the document origin\n\toriginAnchor = document.createElement( \"a\" );\n\noriginAnchor.href = location.href;\n\n// Base \"constructor\" for jQuery.ajaxPrefilter and jQuery.ajaxTransport\nfunction addToPrefiltersOrTransports( structure ) {\n\n\t// dataTypeExpression is optional and defaults to \"*\"\n\treturn function( dataTypeExpression, func ) {\n\n\t\tif ( typeof dataTypeExpression !== \"string\" ) {\n\t\t\tfunc = dataTypeExpression;\n\t\t\tdataTypeExpression = \"*\";\n\t\t}\n\n\t\tvar dataType,\n\t\t\ti = 0,\n\t\t\tdataTypes = dataTypeExpression.toLowerCase().match( rnothtmlwhite ) || [];\n\n\t\tif ( isFunction( func ) ) {\n\n\t\t\t// For each dataType in the dataTypeExpression\n\t\t\twhile ( ( dataType = dataTypes[ i++ ] ) ) {\n\n\t\t\t\t// Prepend if requested\n\t\t\t\tif ( dataType[ 0 ] === \"+\" ) {\n\t\t\t\t\tdataType = dataType.slice( 1 ) || \"*\";\n\t\t\t\t\t( structure[ dataType ] = structure[ dataType ] || [] ).unshift( func );\n\n\t\t\t\t// Otherwise append\n\t\t\t\t} else {\n\t\t\t\t\t( structure[ dataType ] = structure[ dataType ] || [] ).push( func );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n}\n\n// Base inspection function for prefilters and transports\nfunction inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) {\n\n\tvar inspected = {},\n\t\tseekingTransport = ( structure === transports );\n\n\tfunction inspect( dataType ) {\n\t\tvar selected;\n\t\tinspected[ dataType ] = true;\n\t\tjQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) {\n\t\t\tvar dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR );\n\t\t\tif ( typeof dataTypeOrTransport === \"string\" &&\n\t\t\t\t!seekingTransport && !inspected[ dataTypeOrTransport ] ) {\n\n\t\t\t\toptions.dataTypes.unshift( dataTypeOrTransport );\n\t\t\t\tinspect( dataTypeOrTransport );\n\t\t\t\treturn false;\n\t\t\t} else if ( seekingTransport ) {\n\t\t\t\treturn !( selected = dataTypeOrTransport );\n\t\t\t}\n\t\t} );\n\t\treturn selected;\n\t}\n\n\treturn inspect( options.dataTypes[ 0 ] ) || !inspected[ \"*\" ] && inspect( \"*\" );\n}\n\n// A special extend for ajax options\n// that takes \"flat\" options (not to be deep extended)\n// Fixes trac-9887\nfunction ajaxExtend( target, src ) {\n\tvar key, deep,\n\t\tflatOptions = jQuery.ajaxSettings.flatOptions || {};\n\n\tfor ( key in src ) {\n\t\tif ( src[ key ] !== undefined ) {\n\t\t\t( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ];\n\t\t}\n\t}\n\tif ( deep ) {\n\t\tjQuery.extend( true, target, deep );\n\t}\n\n\treturn target;\n}\n\n/* Handles responses to an ajax request:\n * - finds the right dataType (mediates between content-type and expected dataType)\n * - returns the corresponding response\n */\nfunction ajaxHandleResponses( s, jqXHR, responses ) {\n\n\tvar ct, type, finalDataType, firstDataType,\n\t\tcontents = s.contents,\n\t\tdataTypes = s.dataTypes;\n\n\t// Remove auto dataType and get content-type in the process\n\twhile ( dataTypes[ 0 ] === \"*\" ) {\n\t\tdataTypes.shift();\n\t\tif ( ct === undefined ) {\n\t\t\tct = s.mimeType || jqXHR.getResponseHeader( \"Content-Type\" );\n\t\t}\n\t}\n\n\t// Check if we're dealing with a known content-type\n\tif ( ct ) {\n\t\tfor ( type in contents ) {\n\t\t\tif ( contents[ type ] && contents[ type ].test( ct ) ) {\n\t\t\t\tdataTypes.unshift( type );\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\n\t// Check to see if we have a response for the expected dataType\n\tif ( dataTypes[ 0 ] in responses ) {\n\t\tfinalDataType = dataTypes[ 0 ];\n\t} else {\n\n\t\t// Try convertible dataTypes\n\t\tfor ( type in responses ) {\n\t\t\tif ( !dataTypes[ 0 ] || s.converters[ type + \" \" + dataTypes[ 0 ] ] ) {\n\t\t\t\tfinalDataType = type;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif ( !firstDataType ) {\n\t\t\t\tfirstDataType = type;\n\t\t\t}\n\t\t}\n\n\t\t// Or just use first one\n\t\tfinalDataType = finalDataType || firstDataType;\n\t}\n\n\t// If we found a dataType\n\t// We add the dataType to the list if needed\n\t// and return the corresponding response\n\tif ( finalDataType ) {\n\t\tif ( finalDataType !== dataTypes[ 0 ] ) {\n\t\t\tdataTypes.unshift( finalDataType );\n\t\t}\n\t\treturn responses[ finalDataType ];\n\t}\n}\n\n/* Chain conversions given the request and the original response\n * Also sets the responseXXX fields on the jqXHR instance\n */\nfunction ajaxConvert( s, response, jqXHR, isSuccess ) {\n\tvar conv2, current, conv, tmp, prev,\n\t\tconverters = {},\n\n\t\t// Work with a copy of dataTypes in case we need to modify it for conversion\n\t\tdataTypes = s.dataTypes.slice();\n\n\t// Create converters map with lowercased keys\n\tif ( dataTypes[ 1 ] ) {\n\t\tfor ( conv in s.converters ) {\n\t\t\tconverters[ conv.toLowerCase() ] = s.converters[ conv ];\n\t\t}\n\t}\n\n\tcurrent = dataTypes.shift();\n\n\t// Convert to each sequential dataType\n\twhile ( current ) {\n\n\t\tif ( s.responseFields[ current ] ) {\n\t\t\tjqXHR[ s.responseFields[ current ] ] = response;\n\t\t}\n\n\t\t// Apply the dataFilter if provided\n\t\tif ( !prev && isSuccess && s.dataFilter ) {\n\t\t\tresponse = s.dataFilter( response, s.dataType );\n\t\t}\n\n\t\tprev = current;\n\t\tcurrent = dataTypes.shift();\n\n\t\tif ( current ) {\n\n\t\t\t// There's only work to do if current dataType is non-auto\n\t\t\tif ( current === \"*\" ) {\n\n\t\t\t\tcurrent = prev;\n\n\t\t\t// Convert response if prev dataType is non-auto and differs from current\n\t\t\t} else if ( prev !== \"*\" && prev !== current ) {\n\n\t\t\t\t// Seek a direct converter\n\t\t\t\tconv = converters[ prev + \" \" + current ] || converters[ \"* \" + current ];\n\n\t\t\t\t// If none found, seek a pair\n\t\t\t\tif ( !conv ) {\n\t\t\t\t\tfor ( conv2 in converters ) {\n\n\t\t\t\t\t\t// If conv2 outputs current\n\t\t\t\t\t\ttmp = conv2.split( \" \" );\n\t\t\t\t\t\tif ( tmp[ 1 ] === current ) {\n\n\t\t\t\t\t\t\t// If prev can be converted to accepted input\n\t\t\t\t\t\t\tconv = converters[ prev + \" \" + tmp[ 0 ] ] ||\n\t\t\t\t\t\t\t\tconverters[ \"* \" + tmp[ 0 ] ];\n\t\t\t\t\t\t\tif ( conv ) {\n\n\t\t\t\t\t\t\t\t// Condense equivalence converters\n\t\t\t\t\t\t\t\tif ( conv === true ) {\n\t\t\t\t\t\t\t\t\tconv = converters[ conv2 ];\n\n\t\t\t\t\t\t\t\t// Otherwise, insert the intermediate dataType\n\t\t\t\t\t\t\t\t} else if ( converters[ conv2 ] !== true ) {\n\t\t\t\t\t\t\t\t\tcurrent = tmp[ 0 ];\n\t\t\t\t\t\t\t\t\tdataTypes.unshift( tmp[ 1 ] );\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Apply converter (if not an equivalence)\n\t\t\t\tif ( conv !== true ) {\n\n\t\t\t\t\t// Unless errors are allowed to bubble, catch and return them\n\t\t\t\t\tif ( conv && s.throws ) {\n\t\t\t\t\t\tresponse = conv( response );\n\t\t\t\t\t} else {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tresponse = conv( response );\n\t\t\t\t\t\t} catch ( e ) {\n\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\tstate: \"parsererror\",\n\t\t\t\t\t\t\t\terror: conv ? e : \"No conversion from \" + prev + \" to \" + current\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn { state: \"success\", data: response };\n}\n\njQuery.extend( {\n\n\t// Counter for holding the number of active queries\n\tactive: 0,\n\n\t// Last-Modified header cache for next request\n\tlastModified: {},\n\tetag: {},\n\n\tajaxSettings: {\n\t\turl: location.href,\n\t\ttype: \"GET\",\n\t\tisLocal: rlocalProtocol.test( location.protocol ),\n\t\tglobal: true,\n\t\tprocessData: true,\n\t\tasync: true,\n\t\tcontentType: \"application/x-www-form-urlencoded; charset=UTF-8\",\n\n\t\t/*\n\t\ttimeout: 0,\n\t\tdata: null,\n\t\tdataType: null,\n\t\tusername: null,\n\t\tpassword: null,\n\t\tcache: null,\n\t\tthrows: false,\n\t\ttraditional: false,\n\t\theaders: {},\n\t\t*/\n\n\t\taccepts: {\n\t\t\t\"*\": allTypes,\n\t\t\ttext: \"text/plain\",\n\t\t\thtml: \"text/html\",\n\t\t\txml: \"application/xml, text/xml\",\n\t\t\tjson: \"application/json, text/javascript\"\n\t\t},\n\n\t\tcontents: {\n\t\t\txml: /\\bxml\\b/,\n\t\t\thtml: /\\bhtml/,\n\t\t\tjson: /\\bjson\\b/\n\t\t},\n\n\t\tresponseFields: {\n\t\t\txml: \"responseXML\",\n\t\t\ttext: \"responseText\",\n\t\t\tjson: \"responseJSON\"\n\t\t},\n\n\t\t// Data converters\n\t\t// Keys separate source (or catchall \"*\") and destination types with a single space\n\t\tconverters: {\n\n\t\t\t// Convert anything to text\n\t\t\t\"* text\": String,\n\n\t\t\t// Text to html (true = no transformation)\n\t\t\t\"text html\": true,\n\n\t\t\t// Evaluate text as a json expression\n\t\t\t\"text json\": JSON.parse,\n\n\t\t\t// Parse text as xml\n\t\t\t\"text xml\": jQuery.parseXML\n\t\t},\n\n\t\t// For options that shouldn't be deep extended:\n\t\t// you can add your own custom options here if\n\t\t// and when you create one that shouldn't be\n\t\t// deep extended (see ajaxExtend)\n\t\tflatOptions: {\n\t\t\turl: true,\n\t\t\tcontext: true\n\t\t}\n\t},\n\n\t// Creates a full fledged settings object into target\n\t// with both ajaxSettings and settings fields.\n\t// If target is omitted, writes into ajaxSettings.\n\tajaxSetup: function( target, settings ) {\n\t\treturn settings ?\n\n\t\t\t// Building a settings object\n\t\t\tajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) :\n\n\t\t\t// Extending ajaxSettings\n\t\t\tajaxExtend( jQuery.ajaxSettings, target );\n\t},\n\n\tajaxPrefilter: addToPrefiltersOrTransports( prefilters ),\n\tajaxTransport: addToPrefiltersOrTransports( transports ),\n\n\t// Main method\n\tajax: function( url, options ) {\n\n\t\t// If url is an object, simulate pre-1.5 signature\n\t\tif ( typeof url === \"object\" ) {\n\t\t\toptions = url;\n\t\t\turl = undefined;\n\t\t}\n\n\t\t// Force options to be an object\n\t\toptions = options || {};\n\n\t\tvar transport,\n\n\t\t\t// URL without anti-cache param\n\t\t\tcacheURL,\n\n\t\t\t// Response headers\n\t\t\tresponseHeadersString,\n\t\t\tresponseHeaders,\n\n\t\t\t// timeout handle\n\t\t\ttimeoutTimer,\n\n\t\t\t// Url cleanup var\n\t\t\turlAnchor,\n\n\t\t\t// Request state (becomes false upon send and true upon completion)\n\t\t\tcompleted,\n\n\t\t\t// To know if global events are to be dispatched\n\t\t\tfireGlobals,\n\n\t\t\t// Loop variable\n\t\t\ti,\n\n\t\t\t// uncached part of the url\n\t\t\tuncached,\n\n\t\t\t// Create the final options object\n\t\t\ts = jQuery.ajaxSetup( {}, options ),\n\n\t\t\t// Callbacks context\n\t\t\tcallbackContext = s.context || s,\n\n\t\t\t// Context for global events is callbackContext if it is a DOM node or jQuery collection\n\t\t\tglobalEventContext = s.context &&\n\t\t\t\t( callbackContext.nodeType || callbackContext.jquery ) ?\n\t\t\t\tjQuery( callbackContext ) :\n\t\t\t\tjQuery.event,\n\n\t\t\t// Deferreds\n\t\t\tdeferred = jQuery.Deferred(),\n\t\t\tcompleteDeferred = jQuery.Callbacks( \"once memory\" ),\n\n\t\t\t// Status-dependent callbacks\n\t\t\tstatusCode = s.statusCode || {},\n\n\t\t\t// Headers (they are sent all at once)\n\t\t\trequestHeaders = {},\n\t\t\trequestHeadersNames = {},\n\n\t\t\t// Default abort message\n\t\t\tstrAbort = \"canceled\",\n\n\t\t\t// Fake xhr\n\t\t\tjqXHR = {\n\t\t\t\treadyState: 0,\n\n\t\t\t\t// Builds headers hashtable if needed\n\t\t\t\tgetResponseHeader: function( key ) {\n\t\t\t\t\tvar match;\n\t\t\t\t\tif ( completed ) {\n\t\t\t\t\t\tif ( !responseHeaders ) {\n\t\t\t\t\t\t\tresponseHeaders = {};\n\t\t\t\t\t\t\twhile ( ( match = rheaders.exec( responseHeadersString ) ) ) {\n\t\t\t\t\t\t\t\tresponseHeaders[ match[ 1 ].toLowerCase() + \" \" ] =\n\t\t\t\t\t\t\t\t\t( responseHeaders[ match[ 1 ].toLowerCase() + \" \" ] || [] )\n\t\t\t\t\t\t\t\t\t\t.concat( match[ 2 ] );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tmatch = responseHeaders[ key.toLowerCase() + \" \" ];\n\t\t\t\t\t}\n\t\t\t\t\treturn match == null ? null : match.join( \", \" );\n\t\t\t\t},\n\n\t\t\t\t// Raw string\n\t\t\t\tgetAllResponseHeaders: function() {\n\t\t\t\t\treturn completed ? responseHeadersString : null;\n\t\t\t\t},\n\n\t\t\t\t// Caches the header\n\t\t\t\tsetRequestHeader: function( name, value ) {\n\t\t\t\t\tif ( completed == null ) {\n\t\t\t\t\t\tname = requestHeadersNames[ name.toLowerCase() ] =\n\t\t\t\t\t\t\trequestHeadersNames[ name.toLowerCase() ] || name;\n\t\t\t\t\t\trequestHeaders[ name ] = value;\n\t\t\t\t\t}\n\t\t\t\t\treturn this;\n\t\t\t\t},\n\n\t\t\t\t// Overrides response content-type header\n\t\t\t\toverrideMimeType: function( type ) {\n\t\t\t\t\tif ( completed == null ) {\n\t\t\t\t\t\ts.mimeType = type;\n\t\t\t\t\t}\n\t\t\t\t\treturn this;\n\t\t\t\t},\n\n\t\t\t\t// Status-dependent callbacks\n\t\t\t\tstatusCode: function( map ) {\n\t\t\t\t\tvar code;\n\t\t\t\t\tif ( map ) {\n\t\t\t\t\t\tif ( completed ) {\n\n\t\t\t\t\t\t\t// Execute the appropriate callbacks\n\t\t\t\t\t\t\tjqXHR.always( map[ jqXHR.status ] );\n\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t// Lazy-add the new callbacks in a way that preserves old ones\n\t\t\t\t\t\t\tfor ( code in map ) {\n\t\t\t\t\t\t\t\tstatusCode[ code ] = [ statusCode[ code ], map[ code ] ];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\treturn this;\n\t\t\t\t},\n\n\t\t\t\t// Cancel the request\n\t\t\t\tabort: function( statusText ) {\n\t\t\t\t\tvar finalText = statusText || strAbort;\n\t\t\t\t\tif ( transport ) {\n\t\t\t\t\t\ttransport.abort( finalText );\n\t\t\t\t\t}\n\t\t\t\t\tdone( 0, finalText );\n\t\t\t\t\treturn this;\n\t\t\t\t}\n\t\t\t};\n\n\t\t// Attach deferreds\n\t\tdeferred.promise( jqXHR );\n\n\t\t// Add protocol if not provided (prefilters might expect it)\n\t\t// Handle falsy url in the settings object (trac-10093: consistency with old signature)\n\t\t// We also use the url parameter if available\n\t\ts.url = ( ( url || s.url || location.href ) + \"\" )\n\t\t\t.replace( rprotocol, location.protocol + \"//\" );\n\n\t\t// Alias method option to type as per ticket trac-12004\n\t\ts.type = options.method || options.type || s.method || s.type;\n\n\t\t// Extract dataTypes list\n\t\ts.dataTypes = ( s.dataType || \"*\" ).toLowerCase().match( rnothtmlwhite ) || [ \"\" ];\n\n\t\t// A cross-domain request is in order when the origin doesn't match the current origin.\n\t\tif ( s.crossDomain == null ) {\n\t\t\turlAnchor = document.createElement( \"a\" );\n\n\t\t\t// Support: IE <=8 - 11, Edge 12 - 15\n\t\t\t// IE throws exception on accessing the href property if url is malformed,\n\t\t\t// e.g. http://example.com:80x/\n\t\t\ttry {\n\t\t\t\turlAnchor.href = s.url;\n\n\t\t\t\t// Support: IE <=8 - 11 only\n\t\t\t\t// Anchor's host property isn't correctly set when s.url is relative\n\t\t\t\turlAnchor.href = urlAnchor.href;\n\t\t\t\ts.crossDomain = originAnchor.protocol + \"//\" + originAnchor.host !==\n\t\t\t\t\turlAnchor.protocol + \"//\" + urlAnchor.host;\n\t\t\t} catch ( e ) {\n\n\t\t\t\t// If there is an error parsing the URL, assume it is crossDomain,\n\t\t\t\t// it can be rejected by the transport if it is invalid\n\t\t\t\ts.crossDomain = true;\n\t\t\t}\n\t\t}\n\n\t\t// Convert data if not already a string\n\t\tif ( s.data && s.processData && typeof s.data !== \"string\" ) {\n\t\t\ts.data = jQuery.param( s.data, s.traditional );\n\t\t}\n\n\t\t// Apply prefilters\n\t\tinspectPrefiltersOrTransports( prefilters, s, options, jqXHR );\n\n\t\t// If request was aborted inside a prefilter, stop there\n\t\tif ( completed ) {\n\t\t\treturn jqXHR;\n\t\t}\n\n\t\t// We can fire global events as of now if asked to\n\t\t// Don't fire events if jQuery.event is undefined in an AMD-usage scenario (trac-15118)\n\t\tfireGlobals = jQuery.event && s.global;\n\n\t\t// Watch for a new set of requests\n\t\tif ( fireGlobals && jQuery.active++ === 0 ) {\n\t\t\tjQuery.event.trigger( \"ajaxStart\" );\n\t\t}\n\n\t\t// Uppercase the type\n\t\ts.type = s.type.toUpperCase();\n\n\t\t// Determine if request has content\n\t\ts.hasContent = !rnoContent.test( s.type );\n\n\t\t// Save the URL in case we're toying with the If-Modified-Since\n\t\t// and/or If-None-Match header later on\n\t\t// Remove hash to simplify url manipulation\n\t\tcacheURL = s.url.replace( rhash, \"\" );\n\n\t\t// More options handling for requests with no content\n\t\tif ( !s.hasContent ) {\n\n\t\t\t// Remember the hash so we can put it back\n\t\t\tuncached = s.url.slice( cacheURL.length );\n\n\t\t\t// If data is available and should be processed, append data to url\n\t\t\tif ( s.data && ( s.processData || typeof s.data === \"string\" ) ) {\n\t\t\t\tcacheURL += ( rquery.test( cacheURL ) ? \"&\" : \"?\" ) + s.data;\n\n\t\t\t\t// trac-9682: remove data so that it's not used in an eventual retry\n\t\t\t\tdelete s.data;\n\t\t\t}\n\n\t\t\t// Add or update anti-cache param if needed\n\t\t\tif ( s.cache === false ) {\n\t\t\t\tcacheURL = cacheURL.replace( rantiCache, \"$1\" );\n\t\t\t\tuncached = ( rquery.test( cacheURL ) ? \"&\" : \"?\" ) + \"_=\" + ( nonce.guid++ ) +\n\t\t\t\t\tuncached;\n\t\t\t}\n\n\t\t\t// Put hash and anti-cache on the URL that will be requested (gh-1732)\n\t\t\ts.url = cacheURL + uncached;\n\n\t\t// Change '%20' to '+' if this is encoded form body content (gh-2658)\n\t\t} else if ( s.data && s.processData &&\n\t\t\t( s.contentType || \"\" ).indexOf( \"application/x-www-form-urlencoded\" ) === 0 ) {\n\t\t\ts.data = s.data.replace( r20, \"+\" );\n\t\t}\n\n\t\t// Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.\n\t\tif ( s.ifModified ) {\n\t\t\tif ( jQuery.lastModified[ cacheURL ] ) {\n\t\t\t\tjqXHR.setRequestHeader( \"If-Modified-Since\", jQuery.lastModified[ cacheURL ] );\n\t\t\t}\n\t\t\tif ( jQuery.etag[ cacheURL ] ) {\n\t\t\t\tjqXHR.setRequestHeader( \"If-None-Match\", jQuery.etag[ cacheURL ] );\n\t\t\t}\n\t\t}\n\n\t\t// Set the correct header, if data is being sent\n\t\tif ( s.data && s.hasContent && s.contentType !== false || options.contentType ) {\n\t\t\tjqXHR.setRequestHeader( \"Content-Type\", s.contentType );\n\t\t}\n\n\t\t// Set the Accepts header for the server, depending on the dataType\n\t\tjqXHR.setRequestHeader(\n\t\t\t\"Accept\",\n\t\t\ts.dataTypes[ 0 ] && s.accepts[ s.dataTypes[ 0 ] ] ?\n\t\t\t\ts.accepts[ s.dataTypes[ 0 ] ] +\n\t\t\t\t\t( s.dataTypes[ 0 ] !== \"*\" ? \", \" + allTypes + \"; q=0.01\" : \"\" ) :\n\t\t\t\ts.accepts[ \"*\" ]\n\t\t);\n\n\t\t// Check for headers option\n\t\tfor ( i in s.headers ) {\n\t\t\tjqXHR.setRequestHeader( i, s.headers[ i ] );\n\t\t}\n\n\t\t// Allow custom headers/mimetypes and early abort\n\t\tif ( s.beforeSend &&\n\t\t\t( s.beforeSend.call( callbackContext, jqXHR, s ) === false || completed ) ) {\n\n\t\t\t// Abort if not done already and return\n\t\t\treturn jqXHR.abort();\n\t\t}\n\n\t\t// Aborting is no longer a cancellation\n\t\tstrAbort = \"abort\";\n\n\t\t// Install callbacks on deferreds\n\t\tcompleteDeferred.add( s.complete );\n\t\tjqXHR.done( s.success );\n\t\tjqXHR.fail( s.error );\n\n\t\t// Get transport\n\t\ttransport = inspectPrefiltersOrTransports( transports, s, options, jqXHR );\n\n\t\t// If no transport, we auto-abort\n\t\tif ( !transport ) {\n\t\t\tdone( -1, \"No Transport\" );\n\t\t} else {\n\t\t\tjqXHR.readyState = 1;\n\n\t\t\t// Send global event\n\t\t\tif ( fireGlobals ) {\n\t\t\t\tglobalEventContext.trigger( \"ajaxSend\", [ jqXHR, s ] );\n\t\t\t}\n\n\t\t\t// If request was aborted inside ajaxSend, stop there\n\t\t\tif ( completed ) {\n\t\t\t\treturn jqXHR;\n\t\t\t}\n\n\t\t\t// Timeout\n\t\t\tif ( s.async && s.timeout > 0 ) {\n\t\t\t\ttimeoutTimer = window.setTimeout( function() {\n\t\t\t\t\tjqXHR.abort( \"timeout\" );\n\t\t\t\t}, s.timeout );\n\t\t\t}\n\n\t\t\ttry {\n\t\t\t\tcompleted = false;\n\t\t\t\ttransport.send( requestHeaders, done );\n\t\t\t} catch ( e ) {\n\n\t\t\t\t// Rethrow post-completion exceptions\n\t\t\t\tif ( completed ) {\n\t\t\t\t\tthrow e;\n\t\t\t\t}\n\n\t\t\t\t// Propagate others as results\n\t\t\t\tdone( -1, e );\n\t\t\t}\n\t\t}\n\n\t\t// Callback for when everything is done\n\t\tfunction done( status, nativeStatusText, responses, headers ) {\n\t\t\tvar isSuccess, success, error, response, modified,\n\t\t\t\tstatusText = nativeStatusText;\n\n\t\t\t// Ignore repeat invocations\n\t\t\tif ( completed ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tcompleted = true;\n\n\t\t\t// Clear timeout if it exists\n\t\t\tif ( timeoutTimer ) {\n\t\t\t\twindow.clearTimeout( timeoutTimer );\n\t\t\t}\n\n\t\t\t// Dereference transport for early garbage collection\n\t\t\t// (no matter how long the jqXHR object will be used)\n\t\t\ttransport = undefined;\n\n\t\t\t// Cache response headers\n\t\t\tresponseHeadersString = headers || \"\";\n\n\t\t\t// Set readyState\n\t\t\tjqXHR.readyState = status > 0 ? 4 : 0;\n\n\t\t\t// Determine if successful\n\t\t\tisSuccess = status >= 200 && status < 300 || status === 304;\n\n\t\t\t// Get response data\n\t\t\tif ( responses ) {\n\t\t\t\tresponse = ajaxHandleResponses( s, jqXHR, responses );\n\t\t\t}\n\n\t\t\t// Use a noop converter for missing script but not if jsonp\n\t\t\tif ( !isSuccess &&\n\t\t\t\tjQuery.inArray( \"script\", s.dataTypes ) > -1 &&\n\t\t\t\tjQuery.inArray( \"json\", s.dataTypes ) < 0 ) {\n\t\t\t\ts.converters[ \"text script\" ] = function() {};\n\t\t\t}\n\n\t\t\t// Convert no matter what (that way responseXXX fields are always set)\n\t\t\tresponse = ajaxConvert( s, response, jqXHR, isSuccess );\n\n\t\t\t// If successful, handle type chaining\n\t\t\tif ( isSuccess ) {\n\n\t\t\t\t// Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.\n\t\t\t\tif ( s.ifModified ) {\n\t\t\t\t\tmodified = jqXHR.getResponseHeader( \"Last-Modified\" );\n\t\t\t\t\tif ( modified ) {\n\t\t\t\t\t\tjQuery.lastModified[ cacheURL ] = modified;\n\t\t\t\t\t}\n\t\t\t\t\tmodified = jqXHR.getResponseHeader( \"etag\" );\n\t\t\t\t\tif ( modified ) {\n\t\t\t\t\t\tjQuery.etag[ cacheURL ] = modified;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// if no content\n\t\t\t\tif ( status === 204 || s.type === \"HEAD\" ) {\n\t\t\t\t\tstatusText = \"nocontent\";\n\n\t\t\t\t// if not modified\n\t\t\t\t} else if ( status === 304 ) {\n\t\t\t\t\tstatusText = \"notmodified\";\n\n\t\t\t\t// If we have data, let's convert it\n\t\t\t\t} else {\n\t\t\t\t\tstatusText = response.state;\n\t\t\t\t\tsuccess = response.data;\n\t\t\t\t\terror = response.error;\n\t\t\t\t\tisSuccess = !error;\n\t\t\t\t}\n\t\t\t} else {\n\n\t\t\t\t// Extract error from statusText and normalize for non-aborts\n\t\t\t\terror = statusText;\n\t\t\t\tif ( status || !statusText ) {\n\t\t\t\t\tstatusText = \"error\";\n\t\t\t\t\tif ( status < 0 ) {\n\t\t\t\t\t\tstatus = 0;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Set data for the fake xhr object\n\t\t\tjqXHR.status = status;\n\t\t\tjqXHR.statusText = ( nativeStatusText || statusText ) + \"\";\n\n\t\t\t// Success/Error\n\t\t\tif ( isSuccess ) {\n\t\t\t\tdeferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] );\n\t\t\t} else {\n\t\t\t\tdeferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] );\n\t\t\t}\n\n\t\t\t// Status-dependent callbacks\n\t\t\tjqXHR.statusCode( statusCode );\n\t\t\tstatusCode = undefined;\n\n\t\t\tif ( fireGlobals ) {\n\t\t\t\tglobalEventContext.trigger( isSuccess ? \"ajaxSuccess\" : \"ajaxError\",\n\t\t\t\t\t[ jqXHR, s, isSuccess ? success : error ] );\n\t\t\t}\n\n\t\t\t// Complete\n\t\t\tcompleteDeferred.fireWith( callbackContext, [ jqXHR, statusText ] );\n\n\t\t\tif ( fireGlobals ) {\n\t\t\t\tglobalEventContext.trigger( \"ajaxComplete\", [ jqXHR, s ] );\n\n\t\t\t\t// Handle the global AJAX counter\n\t\t\t\tif ( !( --jQuery.active ) ) {\n\t\t\t\t\tjQuery.event.trigger( \"ajaxStop\" );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn jqXHR;\n\t},\n\n\tgetJSON: function( url, data, callback ) {\n\t\treturn jQuery.get( url, data, callback, \"json\" );\n\t},\n\n\tgetScript: function( url, callback ) {\n\t\treturn jQuery.get( url, undefined, callback, \"script\" );\n\t}\n} );\n\njQuery.each( [ \"get\", \"post\" ], function( _i, method ) {\n\tjQuery[ method ] = function( url, data, callback, type ) {\n\n\t\t// Shift arguments if data argument was omitted\n\t\tif ( isFunction( data ) ) {\n\t\t\ttype = type || callback;\n\t\t\tcallback = data;\n\t\t\tdata = undefined;\n\t\t}\n\n\t\t// The url can be an options object (which then must have .url)\n\t\treturn jQuery.ajax( jQuery.extend( {\n\t\t\turl: url,\n\t\t\ttype: method,\n\t\t\tdataType: type,\n\t\t\tdata: data,\n\t\t\tsuccess: callback\n\t\t}, jQuery.isPlainObject( url ) && url ) );\n\t};\n} );\n\njQuery.ajaxPrefilter( function( s ) {\n\tvar i;\n\tfor ( i in s.headers ) {\n\t\tif ( i.toLowerCase() === \"content-type\" ) {\n\t\t\ts.contentType = s.headers[ i ] || \"\";\n\t\t}\n\t}\n} );\n\n\njQuery._evalUrl = function( url, options, doc ) {\n\treturn jQuery.ajax( {\n\t\turl: url,\n\n\t\t// Make this explicit, since user can override this through ajaxSetup (trac-11264)\n\t\ttype: \"GET\",\n\t\tdataType: \"script\",\n\t\tcache: true,\n\t\tasync: false,\n\t\tglobal: false,\n\n\t\t// Only evaluate the response if it is successful (gh-4126)\n\t\t// dataFilter is not invoked for failure responses, so using it instead\n\t\t// of the default converter is kludgy but it works.\n\t\tconverters: {\n\t\t\t\"text script\": function() {}\n\t\t},\n\t\tdataFilter: function( response ) {\n\t\t\tjQuery.globalEval( response, options, doc );\n\t\t}\n\t} );\n};\n\n\njQuery.fn.extend( {\n\twrapAll: function( html ) {\n\t\tvar wrap;\n\n\t\tif ( this[ 0 ] ) {\n\t\t\tif ( isFunction( html ) ) {\n\t\t\t\thtml = html.call( this[ 0 ] );\n\t\t\t}\n\n\t\t\t// The elements to wrap the target around\n\t\t\twrap = jQuery( html, this[ 0 ].ownerDocument ).eq( 0 ).clone( true );\n\n\t\t\tif ( this[ 0 ].parentNode ) {\n\t\t\t\twrap.insertBefore( this[ 0 ] );\n\t\t\t}\n\n\t\t\twrap.map( function() {\n\t\t\t\tvar elem = this;\n\n\t\t\t\twhile ( elem.firstElementChild ) {\n\t\t\t\t\telem = elem.firstElementChild;\n\t\t\t\t}\n\n\t\t\t\treturn elem;\n\t\t\t} ).append( this );\n\t\t}\n\n\t\treturn this;\n\t},\n\n\twrapInner: function( html ) {\n\t\tif ( isFunction( html ) ) {\n\t\t\treturn this.each( function( i ) {\n\t\t\t\tjQuery( this ).wrapInner( html.call( this, i ) );\n\t\t\t} );\n\t\t}\n\n\t\treturn this.each( function() {\n\t\t\tvar self = jQuery( this ),\n\t\t\t\tcontents = self.contents();\n\n\t\t\tif ( contents.length ) {\n\t\t\t\tcontents.wrapAll( html );\n\n\t\t\t} else {\n\t\t\t\tself.append( html );\n\t\t\t}\n\t\t} );\n\t},\n\n\twrap: function( html ) {\n\t\tvar htmlIsFunction = isFunction( html );\n\n\t\treturn this.each( function( i ) {\n\t\t\tjQuery( this ).wrapAll( htmlIsFunction ? html.call( this, i ) : html );\n\t\t} );\n\t},\n\n\tunwrap: function( selector ) {\n\t\tthis.parent( selector ).not( \"body\" ).each( function() {\n\t\t\tjQuery( this ).replaceWith( this.childNodes );\n\t\t} );\n\t\treturn this;\n\t}\n} );\n\n\njQuery.expr.pseudos.hidden = function( elem ) {\n\treturn !jQuery.expr.pseudos.visible( elem );\n};\njQuery.expr.pseudos.visible = function( elem ) {\n\treturn !!( elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length );\n};\n\n\n\n\njQuery.ajaxSettings.xhr = function() {\n\ttry {\n\t\treturn new window.XMLHttpRequest();\n\t} catch ( e ) {}\n};\n\nvar xhrSuccessStatus = {\n\n\t\t// File protocol always yields status code 0, assume 200\n\t\t0: 200,\n\n\t\t// Support: IE <=9 only\n\t\t// trac-1450: sometimes IE returns 1223 when it should be 204\n\t\t1223: 204\n\t},\n\txhrSupported = jQuery.ajaxSettings.xhr();\n\nsupport.cors = !!xhrSupported && ( \"withCredentials\" in xhrSupported );\nsupport.ajax = xhrSupported = !!xhrSupported;\n\njQuery.ajaxTransport( function( options ) {\n\tvar callback, errorCallback;\n\n\t// Cross domain only allowed if supported through XMLHttpRequest\n\tif ( support.cors || xhrSupported && !options.crossDomain ) {\n\t\treturn {\n\t\t\tsend: function( headers, complete ) {\n\t\t\t\tvar i,\n\t\t\t\t\txhr = options.xhr();\n\n\t\t\t\txhr.open(\n\t\t\t\t\toptions.type,\n\t\t\t\t\toptions.url,\n\t\t\t\t\toptions.async,\n\t\t\t\t\toptions.username,\n\t\t\t\t\toptions.password\n\t\t\t\t);\n\n\t\t\t\t// Apply custom fields if provided\n\t\t\t\tif ( options.xhrFields ) {\n\t\t\t\t\tfor ( i in options.xhrFields ) {\n\t\t\t\t\t\txhr[ i ] = options.xhrFields[ i ];\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Override mime type if needed\n\t\t\t\tif ( options.mimeType && xhr.overrideMimeType ) {\n\t\t\t\t\txhr.overrideMimeType( options.mimeType );\n\t\t\t\t}\n\n\t\t\t\t// X-Requested-With header\n\t\t\t\t// For cross-domain requests, seeing as conditions for a preflight are\n\t\t\t\t// akin to a jigsaw puzzle, we simply never set it to be sure.\n\t\t\t\t// (it can always be set on a per-request basis or even using ajaxSetup)\n\t\t\t\t// For same-domain requests, won't change header if already provided.\n\t\t\t\tif ( !options.crossDomain && !headers[ \"X-Requested-With\" ] ) {\n\t\t\t\t\theaders[ \"X-Requested-With\" ] = \"XMLHttpRequest\";\n\t\t\t\t}\n\n\t\t\t\t// Set headers\n\t\t\t\tfor ( i in headers ) {\n\t\t\t\t\txhr.setRequestHeader( i, headers[ i ] );\n\t\t\t\t}\n\n\t\t\t\t// Callback\n\t\t\t\tcallback = function( type ) {\n\t\t\t\t\treturn function() {\n\t\t\t\t\t\tif ( callback ) {\n\t\t\t\t\t\t\tcallback = errorCallback = xhr.onload =\n\t\t\t\t\t\t\t\txhr.onerror = xhr.onabort = xhr.ontimeout =\n\t\t\t\t\t\t\t\t\txhr.onreadystatechange = null;\n\n\t\t\t\t\t\t\tif ( type === \"abort\" ) {\n\t\t\t\t\t\t\t\txhr.abort();\n\t\t\t\t\t\t\t} else if ( type === \"error\" ) {\n\n\t\t\t\t\t\t\t\t// Support: IE <=9 only\n\t\t\t\t\t\t\t\t// On a manual native abort, IE9 throws\n\t\t\t\t\t\t\t\t// errors on any property access that is not readyState\n\t\t\t\t\t\t\t\tif ( typeof xhr.status !== \"number\" ) {\n\t\t\t\t\t\t\t\t\tcomplete( 0, \"error\" );\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tcomplete(\n\n\t\t\t\t\t\t\t\t\t\t// File: protocol always yields status 0; see trac-8605, trac-14207\n\t\t\t\t\t\t\t\t\t\txhr.status,\n\t\t\t\t\t\t\t\t\t\txhr.statusText\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tcomplete(\n\t\t\t\t\t\t\t\t\txhrSuccessStatus[ xhr.status ] || xhr.status,\n\t\t\t\t\t\t\t\t\txhr.statusText,\n\n\t\t\t\t\t\t\t\t\t// Support: IE <=9 only\n\t\t\t\t\t\t\t\t\t// IE9 has no XHR2 but throws on binary (trac-11426)\n\t\t\t\t\t\t\t\t\t// For XHR2 non-text, let the caller handle it (gh-2498)\n\t\t\t\t\t\t\t\t\t( xhr.responseType || \"text\" ) !== \"text\"  ||\n\t\t\t\t\t\t\t\t\ttypeof xhr.responseText !== \"string\" ?\n\t\t\t\t\t\t\t\t\t\t{ binary: xhr.response } :\n\t\t\t\t\t\t\t\t\t\t{ text: xhr.responseText },\n\t\t\t\t\t\t\t\t\txhr.getAllResponseHeaders()\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t};\n\n\t\t\t\t// Listen to events\n\t\t\t\txhr.onload = callback();\n\t\t\t\terrorCallback = xhr.onerror = xhr.ontimeout = callback( \"error\" );\n\n\t\t\t\t// Support: IE 9 only\n\t\t\t\t// Use onreadystatechange to replace onabort\n\t\t\t\t// to handle uncaught aborts\n\t\t\t\tif ( xhr.onabort !== undefined ) {\n\t\t\t\t\txhr.onabort = errorCallback;\n\t\t\t\t} else {\n\t\t\t\t\txhr.onreadystatechange = function() {\n\n\t\t\t\t\t\t// Check readyState before timeout as it changes\n\t\t\t\t\t\tif ( xhr.readyState === 4 ) {\n\n\t\t\t\t\t\t\t// Allow onerror to be called first,\n\t\t\t\t\t\t\t// but that will not handle a native abort\n\t\t\t\t\t\t\t// Also, save errorCallback to a variable\n\t\t\t\t\t\t\t// as xhr.onerror cannot be accessed\n\t\t\t\t\t\t\twindow.setTimeout( function() {\n\t\t\t\t\t\t\t\tif ( callback ) {\n\t\t\t\t\t\t\t\t\terrorCallback();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t}\n\n\t\t\t\t// Create the abort callback\n\t\t\t\tcallback = callback( \"abort\" );\n\n\t\t\t\ttry {\n\n\t\t\t\t\t// Do send the request (this may raise an exception)\n\t\t\t\t\txhr.send( options.hasContent && options.data || null );\n\t\t\t\t} catch ( e ) {\n\n\t\t\t\t\t// trac-14683: Only rethrow if this hasn't been notified as an error yet\n\t\t\t\t\tif ( callback ) {\n\t\t\t\t\t\tthrow e;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\n\t\t\tabort: function() {\n\t\t\t\tif ( callback ) {\n\t\t\t\t\tcallback();\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t}\n} );\n\n\n\n\n// Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432)\njQuery.ajaxPrefilter( function( s ) {\n\tif ( s.crossDomain ) {\n\t\ts.contents.script = false;\n\t}\n} );\n\n// Install script dataType\njQuery.ajaxSetup( {\n\taccepts: {\n\t\tscript: \"text/javascript, application/javascript, \" +\n\t\t\t\"application/ecmascript, application/x-ecmascript\"\n\t},\n\tcontents: {\n\t\tscript: /\\b(?:java|ecma)script\\b/\n\t},\n\tconverters: {\n\t\t\"text script\": function( text ) {\n\t\t\tjQuery.globalEval( text );\n\t\t\treturn text;\n\t\t}\n\t}\n} );\n\n// Handle cache's special case and crossDomain\njQuery.ajaxPrefilter( \"script\", function( s ) {\n\tif ( s.cache === undefined ) {\n\t\ts.cache = false;\n\t}\n\tif ( s.crossDomain ) {\n\t\ts.type = \"GET\";\n\t}\n} );\n\n// Bind script tag hack transport\njQuery.ajaxTransport( \"script\", function( s ) {\n\n\t// This transport only deals with cross domain or forced-by-attrs requests\n\tif ( s.crossDomain || s.scriptAttrs ) {\n\t\tvar script, callback;\n\t\treturn {\n\t\t\tsend: function( _, complete ) {\n\t\t\t\tscript = jQuery( \"<script>\" )\n\t\t\t\t\t.attr( s.scriptAttrs || {} )\n\t\t\t\t\t.prop( { charset: s.scriptCharset, src: s.url } )\n\t\t\t\t\t.on( \"load error\", callback = function( evt ) {\n\t\t\t\t\t\tscript.remove();\n\t\t\t\t\t\tcallback = null;\n\t\t\t\t\t\tif ( evt ) {\n\t\t\t\t\t\t\tcomplete( evt.type === \"error\" ? 404 : 200, evt.type );\n\t\t\t\t\t\t}\n\t\t\t\t\t} );\n\n\t\t\t\t// Use native DOM manipulation to avoid our domManip AJAX trickery\n\t\t\t\tdocument.head.appendChild( script[ 0 ] );\n\t\t\t},\n\t\t\tabort: function() {\n\t\t\t\tif ( callback ) {\n\t\t\t\t\tcallback();\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t}\n} );\n\n\n\n\nvar oldCallbacks = [],\n\trjsonp = /(=)\\?(?=&|$)|\\?\\?/;\n\n// Default jsonp settings\njQuery.ajaxSetup( {\n\tjsonp: \"callback\",\n\tjsonpCallback: function() {\n\t\tvar callback = oldCallbacks.pop() || ( jQuery.expando + \"_\" + ( nonce.guid++ ) );\n\t\tthis[ callback ] = true;\n\t\treturn callback;\n\t}\n} );\n\n// Detect, normalize options and install callbacks for jsonp requests\njQuery.ajaxPrefilter( \"json jsonp\", function( s, originalSettings, jqXHR ) {\n\n\tvar callbackName, overwritten, responseContainer,\n\t\tjsonProp = s.jsonp !== false && ( rjsonp.test( s.url ) ?\n\t\t\t\"url\" :\n\t\t\ttypeof s.data === \"string\" &&\n\t\t\t\t( s.contentType || \"\" )\n\t\t\t\t\t.indexOf( \"application/x-www-form-urlencoded\" ) === 0 &&\n\t\t\t\trjsonp.test( s.data ) && \"data\"\n\t\t);\n\n\t// Handle iff the expected data type is \"jsonp\" or we have a parameter to set\n\tif ( jsonProp || s.dataTypes[ 0 ] === \"jsonp\" ) {\n\n\t\t// Get callback name, remembering preexisting value associated with it\n\t\tcallbackName = s.jsonpCallback = isFunction( s.jsonpCallback ) ?\n\t\t\ts.jsonpCallback() :\n\t\t\ts.jsonpCallback;\n\n\t\t// Insert callback into url or form data\n\t\tif ( jsonProp ) {\n\t\t\ts[ jsonProp ] = s[ jsonProp ].replace( rjsonp, \"$1\" + callbackName );\n\t\t} else if ( s.jsonp !== false ) {\n\t\t\ts.url += ( rquery.test( s.url ) ? \"&\" : \"?\" ) + s.jsonp + \"=\" + callbackName;\n\t\t}\n\n\t\t// Use data converter to retrieve json after script execution\n\t\ts.converters[ \"script json\" ] = function() {\n\t\t\tif ( !responseContainer ) {\n\t\t\t\tjQuery.error( callbackName + \" was not called\" );\n\t\t\t}\n\t\t\treturn responseContainer[ 0 ];\n\t\t};\n\n\t\t// Force json dataType\n\t\ts.dataTypes[ 0 ] = \"json\";\n\n\t\t// Install callback\n\t\toverwritten = window[ callbackName ];\n\t\twindow[ callbackName ] = function() {\n\t\t\tresponseContainer = arguments;\n\t\t};\n\n\t\t// Clean-up function (fires after converters)\n\t\tjqXHR.always( function() {\n\n\t\t\t// If previous value didn't exist - remove it\n\t\t\tif ( overwritten === undefined ) {\n\t\t\t\tjQuery( window ).removeProp( callbackName );\n\n\t\t\t// Otherwise restore preexisting value\n\t\t\t} else {\n\t\t\t\twindow[ callbackName ] = overwritten;\n\t\t\t}\n\n\t\t\t// Save back as free\n\t\t\tif ( s[ callbackName ] ) {\n\n\t\t\t\t// Make sure that re-using the options doesn't screw things around\n\t\t\t\ts.jsonpCallback = originalSettings.jsonpCallback;\n\n\t\t\t\t// Save the callback name for future use\n\t\t\t\toldCallbacks.push( callbackName );\n\t\t\t}\n\n\t\t\t// Call if it was a function and we have a response\n\t\t\tif ( responseContainer && isFunction( overwritten ) ) {\n\t\t\t\toverwritten( responseContainer[ 0 ] );\n\t\t\t}\n\n\t\t\tresponseContainer = overwritten = undefined;\n\t\t} );\n\n\t\t// Delegate to script\n\t\treturn \"script\";\n\t}\n} );\n\n\n\n\n// Support: Safari 8 only\n// In Safari 8 documents created via document.implementation.createHTMLDocument\n// collapse sibling forms: the second one becomes a child of the first one.\n// Because of that, this security measure has to be disabled in Safari 8.\n// https://bugs.webkit.org/show_bug.cgi?id=137337\nsupport.createHTMLDocument = ( function() {\n\tvar body = document.implementation.createHTMLDocument( \"\" ).body;\n\tbody.innerHTML = \"<form></form><form></form>\";\n\treturn body.childNodes.length === 2;\n} )();\n\n\n// Argument \"data\" should be string of html\n// context (optional): If specified, the fragment will be created in this context,\n// defaults to document\n// keepScripts (optional): If true, will include scripts passed in the html string\njQuery.parseHTML = function( data, context, keepScripts ) {\n\tif ( typeof data !== \"string\" ) {\n\t\treturn [];\n\t}\n\tif ( typeof context === \"boolean\" ) {\n\t\tkeepScripts = context;\n\t\tcontext = false;\n\t}\n\n\tvar base, parsed, scripts;\n\n\tif ( !context ) {\n\n\t\t// Stop scripts or inline event handlers from being executed immediately\n\t\t// by using document.implementation\n\t\tif ( support.createHTMLDocument ) {\n\t\t\tcontext = document.implementation.createHTMLDocument( \"\" );\n\n\t\t\t// Set the base href for the created document\n\t\t\t// so any parsed elements with URLs\n\t\t\t// are based on the document's URL (gh-2965)\n\t\t\tbase = context.createElement( \"base\" );\n\t\t\tbase.href = document.location.href;\n\t\t\tcontext.head.appendChild( base );\n\t\t} else {\n\t\t\tcontext = document;\n\t\t}\n\t}\n\n\tparsed = rsingleTag.exec( data );\n\tscripts = !keepScripts && [];\n\n\t// Single tag\n\tif ( parsed ) {\n\t\treturn [ context.createElement( parsed[ 1 ] ) ];\n\t}\n\n\tparsed = buildFragment( [ data ], context, scripts );\n\n\tif ( scripts && scripts.length ) {\n\t\tjQuery( scripts ).remove();\n\t}\n\n\treturn jQuery.merge( [], parsed.childNodes );\n};\n\n\n/**\n * Load a url into a page\n */\njQuery.fn.load = function( url, params, callback ) {\n\tvar selector, type, response,\n\t\tself = this,\n\t\toff = url.indexOf( \" \" );\n\n\tif ( off > -1 ) {\n\t\tselector = stripAndCollapse( url.slice( off ) );\n\t\turl = url.slice( 0, off );\n\t}\n\n\t// If it's a function\n\tif ( isFunction( params ) ) {\n\n\t\t// We assume that it's the callback\n\t\tcallback = params;\n\t\tparams = undefined;\n\n\t// Otherwise, build a param string\n\t} else if ( params && typeof params === \"object\" ) {\n\t\ttype = \"POST\";\n\t}\n\n\t// If we have elements to modify, make the request\n\tif ( self.length > 0 ) {\n\t\tjQuery.ajax( {\n\t\t\turl: url,\n\n\t\t\t// If \"type\" variable is undefined, then \"GET\" method will be used.\n\t\t\t// Make value of this field explicit since\n\t\t\t// user can override it through ajaxSetup method\n\t\t\ttype: type || \"GET\",\n\t\t\tdataType: \"html\",\n\t\t\tdata: params\n\t\t} ).done( function( responseText ) {\n\n\t\t\t// Save response for use in complete callback\n\t\t\tresponse = arguments;\n\n\t\t\tself.html( selector ?\n\n\t\t\t\t// If a selector was specified, locate the right elements in a dummy div\n\t\t\t\t// Exclude scripts to avoid IE 'Permission Denied' errors\n\t\t\t\tjQuery( \"<div>\" ).append( jQuery.parseHTML( responseText ) ).find( selector ) :\n\n\t\t\t\t// Otherwise use the full result\n\t\t\t\tresponseText );\n\n\t\t// If the request succeeds, this function gets \"data\", \"status\", \"jqXHR\"\n\t\t// but they are ignored because response was set above.\n\t\t// If it fails, this function gets \"jqXHR\", \"status\", \"error\"\n\t\t} ).always( callback && function( jqXHR, status ) {\n\t\t\tself.each( function() {\n\t\t\t\tcallback.apply( this, response || [ jqXHR.responseText, status, jqXHR ] );\n\t\t\t} );\n\t\t} );\n\t}\n\n\treturn this;\n};\n\n\n\n\njQuery.expr.pseudos.animated = function( elem ) {\n\treturn jQuery.grep( jQuery.timers, function( fn ) {\n\t\treturn elem === fn.elem;\n\t} ).length;\n};\n\n\n\n\njQuery.offset = {\n\tsetOffset: function( elem, options, i ) {\n\t\tvar curPosition, curLeft, curCSSTop, curTop, curOffset, curCSSLeft, calculatePosition,\n\t\t\tposition = jQuery.css( elem, \"position\" ),\n\t\t\tcurElem = jQuery( elem ),\n\t\t\tprops = {};\n\n\t\t// Set position first, in-case top/left are set even on static elem\n\t\tif ( position === \"static\" ) {\n\t\t\telem.style.position = \"relative\";\n\t\t}\n\n\t\tcurOffset = curElem.offset();\n\t\tcurCSSTop = jQuery.css( elem, \"top\" );\n\t\tcurCSSLeft = jQuery.css( elem, \"left\" );\n\t\tcalculatePosition = ( position === \"absolute\" || position === \"fixed\" ) &&\n\t\t\t( curCSSTop + curCSSLeft ).indexOf( \"auto\" ) > -1;\n\n\t\t// Need to be able to calculate position if either\n\t\t// top or left is auto and position is either absolute or fixed\n\t\tif ( calculatePosition ) {\n\t\t\tcurPosition = curElem.position();\n\t\t\tcurTop = curPosition.top;\n\t\t\tcurLeft = curPosition.left;\n\n\t\t} else {\n\t\t\tcurTop = parseFloat( curCSSTop ) || 0;\n\t\t\tcurLeft = parseFloat( curCSSLeft ) || 0;\n\t\t}\n\n\t\tif ( isFunction( options ) ) {\n\n\t\t\t// Use jQuery.extend here to allow modification of coordinates argument (gh-1848)\n\t\t\toptions = options.call( elem, i, jQuery.extend( {}, curOffset ) );\n\t\t}\n\n\t\tif ( options.top != null ) {\n\t\t\tprops.top = ( options.top - curOffset.top ) + curTop;\n\t\t}\n\t\tif ( options.left != null ) {\n\t\t\tprops.left = ( options.left - curOffset.left ) + curLeft;\n\t\t}\n\n\t\tif ( \"using\" in options ) {\n\t\t\toptions.using.call( elem, props );\n\n\t\t} else {\n\t\t\tcurElem.css( props );\n\t\t}\n\t}\n};\n\njQuery.fn.extend( {\n\n\t// offset() relates an element's border box to the document origin\n\toffset: function( options ) {\n\n\t\t// Preserve chaining for setter\n\t\tif ( arguments.length ) {\n\t\t\treturn options === undefined ?\n\t\t\t\tthis :\n\t\t\t\tthis.each( function( i ) {\n\t\t\t\t\tjQuery.offset.setOffset( this, options, i );\n\t\t\t\t} );\n\t\t}\n\n\t\tvar rect, win,\n\t\t\telem = this[ 0 ];\n\n\t\tif ( !elem ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Return zeros for disconnected and hidden (display: none) elements (gh-2310)\n\t\t// Support: IE <=11 only\n\t\t// Running getBoundingClientRect on a\n\t\t// disconnected node in IE throws an error\n\t\tif ( !elem.getClientRects().length ) {\n\t\t\treturn { top: 0, left: 0 };\n\t\t}\n\n\t\t// Get document-relative position by adding viewport scroll to viewport-relative gBCR\n\t\trect = elem.getBoundingClientRect();\n\t\twin = elem.ownerDocument.defaultView;\n\t\treturn {\n\t\t\ttop: rect.top + win.pageYOffset,\n\t\t\tleft: rect.left + win.pageXOffset\n\t\t};\n\t},\n\n\t// position() relates an element's margin box to its offset parent's padding box\n\t// This corresponds to the behavior of CSS absolute positioning\n\tposition: function() {\n\t\tif ( !this[ 0 ] ) {\n\t\t\treturn;\n\t\t}\n\n\t\tvar offsetParent, offset, doc,\n\t\t\telem = this[ 0 ],\n\t\t\tparentOffset = { top: 0, left: 0 };\n\n\t\t// position:fixed elements are offset from the viewport, which itself always has zero offset\n\t\tif ( jQuery.css( elem, \"position\" ) === \"fixed\" ) {\n\n\t\t\t// Assume position:fixed implies availability of getBoundingClientRect\n\t\t\toffset = elem.getBoundingClientRect();\n\n\t\t} else {\n\t\t\toffset = this.offset();\n\n\t\t\t// Account for the *real* offset parent, which can be the document or its root element\n\t\t\t// when a statically positioned element is identified\n\t\t\tdoc = elem.ownerDocument;\n\t\t\toffsetParent = elem.offsetParent || doc.documentElement;\n\t\t\twhile ( offsetParent &&\n\t\t\t\t( offsetParent === doc.body || offsetParent === doc.documentElement ) &&\n\t\t\t\tjQuery.css( offsetParent, \"position\" ) === \"static\" ) {\n\n\t\t\t\toffsetParent = offsetParent.parentNode;\n\t\t\t}\n\t\t\tif ( offsetParent && offsetParent !== elem && offsetParent.nodeType === 1 ) {\n\n\t\t\t\t// Incorporate borders into its offset, since they are outside its content origin\n\t\t\t\tparentOffset = jQuery( offsetParent ).offset();\n\t\t\t\tparentOffset.top += jQuery.css( offsetParent, \"borderTopWidth\", true );\n\t\t\t\tparentOffset.left += jQuery.css( offsetParent, \"borderLeftWidth\", true );\n\t\t\t}\n\t\t}\n\n\t\t// Subtract parent offsets and element margins\n\t\treturn {\n\t\t\ttop: offset.top - parentOffset.top - jQuery.css( elem, \"marginTop\", true ),\n\t\t\tleft: offset.left - parentOffset.left - jQuery.css( elem, \"marginLeft\", true )\n\t\t};\n\t},\n\n\t// This method will return documentElement in the following cases:\n\t// 1) For the element inside the iframe without offsetParent, this method will return\n\t//    documentElement of the parent window\n\t// 2) For the hidden or detached element\n\t// 3) For body or html element, i.e. in case of the html node - it will return itself\n\t//\n\t// but those exceptions were never presented as a real life use-cases\n\t// and might be considered as more preferable results.\n\t//\n\t// This logic, however, is not guaranteed and can change at any point in the future\n\toffsetParent: function() {\n\t\treturn this.map( function() {\n\t\t\tvar offsetParent = this.offsetParent;\n\n\t\t\twhile ( offsetParent && jQuery.css( offsetParent, \"position\" ) === \"static\" ) {\n\t\t\t\toffsetParent = offsetParent.offsetParent;\n\t\t\t}\n\n\t\t\treturn offsetParent || documentElement;\n\t\t} );\n\t}\n} );\n\n// Create scrollLeft and scrollTop methods\njQuery.each( { scrollLeft: \"pageXOffset\", scrollTop: \"pageYOffset\" }, function( method, prop ) {\n\tvar top = \"pageYOffset\" === prop;\n\n\tjQuery.fn[ method ] = function( val ) {\n\t\treturn access( this, function( elem, method, val ) {\n\n\t\t\t// Coalesce documents and windows\n\t\t\tvar win;\n\t\t\tif ( isWindow( elem ) ) {\n\t\t\t\twin = elem;\n\t\t\t} else if ( elem.nodeType === 9 ) {\n\t\t\t\twin = elem.defaultView;\n\t\t\t}\n\n\t\t\tif ( val === undefined ) {\n\t\t\t\treturn win ? win[ prop ] : elem[ method ];\n\t\t\t}\n\n\t\t\tif ( win ) {\n\t\t\t\twin.scrollTo(\n\t\t\t\t\t!top ? val : win.pageXOffset,\n\t\t\t\t\ttop ? val : win.pageYOffset\n\t\t\t\t);\n\n\t\t\t} else {\n\t\t\t\telem[ method ] = val;\n\t\t\t}\n\t\t}, method, val, arguments.length );\n\t};\n} );\n\n// Support: Safari <=7 - 9.1, Chrome <=37 - 49\n// Add the top/left cssHooks using jQuery.fn.position\n// Webkit bug: https://bugs.webkit.org/show_bug.cgi?id=29084\n// Blink bug: https://bugs.chromium.org/p/chromium/issues/detail?id=589347\n// getComputedStyle returns percent when specified for top/left/bottom/right;\n// rather than make the css module depend on the offset module, just check for it here\njQuery.each( [ \"top\", \"left\" ], function( _i, prop ) {\n\tjQuery.cssHooks[ prop ] = addGetHookIf( support.pixelPosition,\n\t\tfunction( elem, computed ) {\n\t\t\tif ( computed ) {\n\t\t\t\tcomputed = curCSS( elem, prop );\n\n\t\t\t\t// If curCSS returns percentage, fallback to offset\n\t\t\t\treturn rnumnonpx.test( computed ) ?\n\t\t\t\t\tjQuery( elem ).position()[ prop ] + \"px\" :\n\t\t\t\t\tcomputed;\n\t\t\t}\n\t\t}\n\t);\n} );\n\n\n// Create innerHeight, innerWidth, height, width, outerHeight and outerWidth methods\njQuery.each( { Height: \"height\", Width: \"width\" }, function( name, type ) {\n\tjQuery.each( {\n\t\tpadding: \"inner\" + name,\n\t\tcontent: type,\n\t\t\"\": \"outer\" + name\n\t}, function( defaultExtra, funcName ) {\n\n\t\t// Margin is only for outerHeight, outerWidth\n\t\tjQuery.fn[ funcName ] = function( margin, value ) {\n\t\t\tvar chainable = arguments.length && ( defaultExtra || typeof margin !== \"boolean\" ),\n\t\t\t\textra = defaultExtra || ( margin === true || value === true ? \"margin\" : \"border\" );\n\n\t\t\treturn access( this, function( elem, type, value ) {\n\t\t\t\tvar doc;\n\n\t\t\t\tif ( isWindow( elem ) ) {\n\n\t\t\t\t\t// $( window ).outerWidth/Height return w/h including scrollbars (gh-1729)\n\t\t\t\t\treturn funcName.indexOf( \"outer\" ) === 0 ?\n\t\t\t\t\t\telem[ \"inner\" + name ] :\n\t\t\t\t\t\telem.document.documentElement[ \"client\" + name ];\n\t\t\t\t}\n\n\t\t\t\t// Get document width or height\n\t\t\t\tif ( elem.nodeType === 9 ) {\n\t\t\t\t\tdoc = elem.documentElement;\n\n\t\t\t\t\t// Either scroll[Width/Height] or offset[Width/Height] or client[Width/Height],\n\t\t\t\t\t// whichever is greatest\n\t\t\t\t\treturn Math.max(\n\t\t\t\t\t\telem.body[ \"scroll\" + name ], doc[ \"scroll\" + name ],\n\t\t\t\t\t\telem.body[ \"offset\" + name ], doc[ \"offset\" + name ],\n\t\t\t\t\t\tdoc[ \"client\" + name ]\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\treturn value === undefined ?\n\n\t\t\t\t\t// Get width or height on the element, requesting but not forcing parseFloat\n\t\t\t\t\tjQuery.css( elem, type, extra ) :\n\n\t\t\t\t\t// Set width or height on the element\n\t\t\t\t\tjQuery.style( elem, type, value, extra );\n\t\t\t}, type, chainable ? margin : undefined, chainable );\n\t\t};\n\t} );\n} );\n\n\njQuery.each( [\n\t\"ajaxStart\",\n\t\"ajaxStop\",\n\t\"ajaxComplete\",\n\t\"ajaxError\",\n\t\"ajaxSuccess\",\n\t\"ajaxSend\"\n], function( _i, type ) {\n\tjQuery.fn[ type ] = function( fn ) {\n\t\treturn this.on( type, fn );\n\t};\n} );\n\n\n\n\njQuery.fn.extend( {\n\n\tbind: function( types, data, fn ) {\n\t\treturn this.on( types, null, data, fn );\n\t},\n\tunbind: function( types, fn ) {\n\t\treturn this.off( types, null, fn );\n\t},\n\n\tdelegate: function( selector, types, data, fn ) {\n\t\treturn this.on( types, selector, data, fn );\n\t},\n\tundelegate: function( selector, types, fn ) {\n\n\t\t// ( namespace ) or ( selector, types [, fn] )\n\t\treturn arguments.length === 1 ?\n\t\t\tthis.off( selector, \"**\" ) :\n\t\t\tthis.off( types, selector || \"**\", fn );\n\t},\n\n\thover: function( fnOver, fnOut ) {\n\t\treturn this\n\t\t\t.on( \"mouseenter\", fnOver )\n\t\t\t.on( \"mouseleave\", fnOut || fnOver );\n\t}\n} );\n\njQuery.each(\n\t( \"blur focus focusin focusout resize scroll click dblclick \" +\n\t\"mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave \" +\n\t\"change select submit keydown keypress keyup contextmenu\" ).split( \" \" ),\n\tfunction( _i, name ) {\n\n\t\t// Handle event binding\n\t\tjQuery.fn[ name ] = function( data, fn ) {\n\t\t\treturn arguments.length > 0 ?\n\t\t\t\tthis.on( name, null, data, fn ) :\n\t\t\t\tthis.trigger( name );\n\t\t};\n\t}\n);\n\n\n\n\n// Support: Android <=4.0 only\n// Make sure we trim BOM and NBSP\n// Require that the \"whitespace run\" starts from a non-whitespace\n// to avoid O(N^2) behavior when the engine would try matching \"\\s+$\" at each space position.\nvar rtrim = /^[\\s\\uFEFF\\xA0]+|([^\\s\\uFEFF\\xA0])[\\s\\uFEFF\\xA0]+$/g;\n\n// Bind a function to a context, optionally partially applying any\n// arguments.\n// jQuery.proxy is deprecated to promote standards (specifically Function#bind)\n// However, it is not slated for removal any time soon\njQuery.proxy = function( fn, context ) {\n\tvar tmp, args, proxy;\n\n\tif ( typeof context === \"string\" ) {\n\t\ttmp = fn[ context ];\n\t\tcontext = fn;\n\t\tfn = tmp;\n\t}\n\n\t// Quick check to determine if target is callable, in the spec\n\t// this throws a TypeError, but we will just return undefined.\n\tif ( !isFunction( fn ) ) {\n\t\treturn undefined;\n\t}\n\n\t// Simulated bind\n\targs = slice.call( arguments, 2 );\n\tproxy = function() {\n\t\treturn fn.apply( context || this, args.concat( slice.call( arguments ) ) );\n\t};\n\n\t// Set the guid of unique handler to the same of original handler, so it can be removed\n\tproxy.guid = fn.guid = fn.guid || jQuery.guid++;\n\n\treturn proxy;\n};\n\njQuery.holdReady = function( hold ) {\n\tif ( hold ) {\n\t\tjQuery.readyWait++;\n\t} else {\n\t\tjQuery.ready( true );\n\t}\n};\njQuery.isArray = Array.isArray;\njQuery.parseJSON = JSON.parse;\njQuery.nodeName = nodeName;\njQuery.isFunction = isFunction;\njQuery.isWindow = isWindow;\njQuery.camelCase = camelCase;\njQuery.type = toType;\n\njQuery.now = Date.now;\n\njQuery.isNumeric = function( obj ) {\n\n\t// As of jQuery 3.0, isNumeric is limited to\n\t// strings and numbers (primitives or objects)\n\t// that can be coerced to finite numbers (gh-2662)\n\tvar type = jQuery.type( obj );\n\treturn ( type === \"number\" || type === \"string\" ) &&\n\n\t\t// parseFloat NaNs numeric-cast false positives (\"\")\n\t\t// ...but misinterprets leading-number strings, particularly hex literals (\"0x...\")\n\t\t// subtraction forces infinities to NaN\n\t\t!isNaN( obj - parseFloat( obj ) );\n};\n\njQuery.trim = function( text ) {\n\treturn text == null ?\n\t\t\"\" :\n\t\t( text + \"\" ).replace( rtrim, \"$1\" );\n};\n\n\n\n// Register as a named AMD module, since jQuery can be concatenated with other\n// files that may use define, but not via a proper concatenation script that\n// understands anonymous AMD modules. A named AMD is safest and most robust\n// way to register. Lowercase jquery is used because AMD module names are\n// derived from file names, and jQuery is normally delivered in a lowercase\n// file name. Do this after creating the global so that if an AMD module wants\n// to call noConflict to hide this version of jQuery, it will work.\n\n// Note that for maximum portability, libraries that are not jQuery should\n// declare themselves as anonymous modules, and avoid setting a global if an\n// AMD loader is present. jQuery is a special case. For more information, see\n// https://github.com/jrburke/requirejs/wiki/Updating-existing-libraries#wiki-anon\n\nif ( typeof define === \"function\" && define.amd ) {\n\tdefine( \"jquery\", [], function() {\n\t\treturn jQuery;\n\t} );\n}\n\n\n\n\nvar\n\n\t// Map over jQuery in case of overwrite\n\t_jQuery = window.jQuery,\n\n\t// Map over the $ in case of overwrite\n\t_$ = window.$;\n\njQuery.noConflict = function( deep ) {\n\tif ( window.$ === jQuery ) {\n\t\twindow.$ = _$;\n\t}\n\n\tif ( deep && window.jQuery === jQuery ) {\n\t\twindow.jQuery = _jQuery;\n\t}\n\n\treturn jQuery;\n};\n\n// Expose jQuery and $ identifiers, even in AMD\n// (trac-7102#comment:10, https://github.com/jquery/jquery/pull/557)\n// and CommonJS for browser emulators (trac-13566)\nif ( typeof noGlobal === \"undefined\" ) {\n\twindow.jQuery = window.$ = jQuery;\n}\n\n\n\n\nreturn jQuery;\n} );\n","/**!\n * @fileOverview Kickass library to create and place poppers near their reference elements.\n * @version 1.16.1\n * @license\n * Copyright (c) 2016 Federico Zivolo and contributors\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\nvar isBrowser = typeof window !== 'undefined' && typeof document !== 'undefined' && typeof navigator !== 'undefined';\n\nvar timeoutDuration = function () {\n  var longerTimeoutBrowsers = ['Edge', 'Trident', 'Firefox'];\n  for (var i = 0; i < longerTimeoutBrowsers.length; i += 1) {\n    if (isBrowser && navigator.userAgent.indexOf(longerTimeoutBrowsers[i]) >= 0) {\n      return 1;\n    }\n  }\n  return 0;\n}();\n\nfunction microtaskDebounce(fn) {\n  var called = false;\n  return function () {\n    if (called) {\n      return;\n    }\n    called = true;\n    window.Promise.resolve().then(function () {\n      called = false;\n      fn();\n    });\n  };\n}\n\nfunction taskDebounce(fn) {\n  var scheduled = false;\n  return function () {\n    if (!scheduled) {\n      scheduled = true;\n      setTimeout(function () {\n        scheduled = false;\n        fn();\n      }, timeoutDuration);\n    }\n  };\n}\n\nvar supportsMicroTasks = isBrowser && window.Promise;\n\n/**\n* Create a debounced version of a method, that's asynchronously deferred\n* but called in the minimum time possible.\n*\n* @method\n* @memberof Popper.Utils\n* @argument {Function} fn\n* @returns {Function}\n*/\nvar debounce = supportsMicroTasks ? microtaskDebounce : taskDebounce;\n\n/**\n * Check if the given variable is a function\n * @method\n * @memberof Popper.Utils\n * @argument {Any} functionToCheck - variable to check\n * @returns {Boolean} answer to: is a function?\n */\nfunction isFunction(functionToCheck) {\n  var getType = {};\n  return functionToCheck && getType.toString.call(functionToCheck) === '[object Function]';\n}\n\n/**\n * Get CSS computed property of the given element\n * @method\n * @memberof Popper.Utils\n * @argument {Eement} element\n * @argument {String} property\n */\nfunction getStyleComputedProperty(element, property) {\n  if (element.nodeType !== 1) {\n    return [];\n  }\n  // NOTE: 1 DOM access here\n  var window = element.ownerDocument.defaultView;\n  var css = window.getComputedStyle(element, null);\n  return property ? css[property] : css;\n}\n\n/**\n * Returns the parentNode or the host of the element\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @returns {Element} parent\n */\nfunction getParentNode(element) {\n  if (element.nodeName === 'HTML') {\n    return element;\n  }\n  return element.parentNode || element.host;\n}\n\n/**\n * Returns the scrolling parent of the given element\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @returns {Element} scroll parent\n */\nfunction getScrollParent(element) {\n  // Return body, `getScroll` will take care to get the correct `scrollTop` from it\n  if (!element) {\n    return document.body;\n  }\n\n  switch (element.nodeName) {\n    case 'HTML':\n    case 'BODY':\n      return element.ownerDocument.body;\n    case '#document':\n      return element.body;\n  }\n\n  // Firefox want us to check `-x` and `-y` variations as well\n\n  var _getStyleComputedProp = getStyleComputedProperty(element),\n      overflow = _getStyleComputedProp.overflow,\n      overflowX = _getStyleComputedProp.overflowX,\n      overflowY = _getStyleComputedProp.overflowY;\n\n  if (/(auto|scroll|overlay)/.test(overflow + overflowY + overflowX)) {\n    return element;\n  }\n\n  return getScrollParent(getParentNode(element));\n}\n\n/**\n * Returns the reference node of the reference object, or the reference object itself.\n * @method\n * @memberof Popper.Utils\n * @param {Element|Object} reference - the reference element (the popper will be relative to this)\n * @returns {Element} parent\n */\nfunction getReferenceNode(reference) {\n  return reference && reference.referenceNode ? reference.referenceNode : reference;\n}\n\nvar isIE11 = isBrowser && !!(window.MSInputMethodContext && document.documentMode);\nvar isIE10 = isBrowser && /MSIE 10/.test(navigator.userAgent);\n\n/**\n * Determines if the browser is Internet Explorer\n * @method\n * @memberof Popper.Utils\n * @param {Number} version to check\n * @returns {Boolean} isIE\n */\nfunction isIE(version) {\n  if (version === 11) {\n    return isIE11;\n  }\n  if (version === 10) {\n    return isIE10;\n  }\n  return isIE11 || isIE10;\n}\n\n/**\n * Returns the offset parent of the given element\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @returns {Element} offset parent\n */\nfunction getOffsetParent(element) {\n  if (!element) {\n    return document.documentElement;\n  }\n\n  var noOffsetParent = isIE(10) ? document.body : null;\n\n  // NOTE: 1 DOM access here\n  var offsetParent = element.offsetParent || null;\n  // Skip hidden elements which don't have an offsetParent\n  while (offsetParent === noOffsetParent && element.nextElementSibling) {\n    offsetParent = (element = element.nextElementSibling).offsetParent;\n  }\n\n  var nodeName = offsetParent && offsetParent.nodeName;\n\n  if (!nodeName || nodeName === 'BODY' || nodeName === 'HTML') {\n    return element ? element.ownerDocument.documentElement : document.documentElement;\n  }\n\n  // .offsetParent will return the closest TH, TD or TABLE in case\n  // no offsetParent is present, I hate this job...\n  if (['TH', 'TD', 'TABLE'].indexOf(offsetParent.nodeName) !== -1 && getStyleComputedProperty(offsetParent, 'position') === 'static') {\n    return getOffsetParent(offsetParent);\n  }\n\n  return offsetParent;\n}\n\nfunction isOffsetContainer(element) {\n  var nodeName = element.nodeName;\n\n  if (nodeName === 'BODY') {\n    return false;\n  }\n  return nodeName === 'HTML' || getOffsetParent(element.firstElementChild) === element;\n}\n\n/**\n * Finds the root node (document, shadowDOM root) of the given element\n * @method\n * @memberof Popper.Utils\n * @argument {Element} node\n * @returns {Element} root node\n */\nfunction getRoot(node) {\n  if (node.parentNode !== null) {\n    return getRoot(node.parentNode);\n  }\n\n  return node;\n}\n\n/**\n * Finds the offset parent common to the two provided nodes\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element1\n * @argument {Element} element2\n * @returns {Element} common offset parent\n */\nfunction findCommonOffsetParent(element1, element2) {\n  // This check is needed to avoid errors in case one of the elements isn't defined for any reason\n  if (!element1 || !element1.nodeType || !element2 || !element2.nodeType) {\n    return document.documentElement;\n  }\n\n  // Here we make sure to give as \"start\" the element that comes first in the DOM\n  var order = element1.compareDocumentPosition(element2) & Node.DOCUMENT_POSITION_FOLLOWING;\n  var start = order ? element1 : element2;\n  var end = order ? element2 : element1;\n\n  // Get common ancestor container\n  var range = document.createRange();\n  range.setStart(start, 0);\n  range.setEnd(end, 0);\n  var commonAncestorContainer = range.commonAncestorContainer;\n\n  // Both nodes are inside #document\n\n  if (element1 !== commonAncestorContainer && element2 !== commonAncestorContainer || start.contains(end)) {\n    if (isOffsetContainer(commonAncestorContainer)) {\n      return commonAncestorContainer;\n    }\n\n    return getOffsetParent(commonAncestorContainer);\n  }\n\n  // one of the nodes is inside shadowDOM, find which one\n  var element1root = getRoot(element1);\n  if (element1root.host) {\n    return findCommonOffsetParent(element1root.host, element2);\n  } else {\n    return findCommonOffsetParent(element1, getRoot(element2).host);\n  }\n}\n\n/**\n * Gets the scroll value of the given element in the given side (top and left)\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @argument {String} side `top` or `left`\n * @returns {number} amount of scrolled pixels\n */\nfunction getScroll(element) {\n  var side = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'top';\n\n  var upperSide = side === 'top' ? 'scrollTop' : 'scrollLeft';\n  var nodeName = element.nodeName;\n\n  if (nodeName === 'BODY' || nodeName === 'HTML') {\n    var html = element.ownerDocument.documentElement;\n    var scrollingElement = element.ownerDocument.scrollingElement || html;\n    return scrollingElement[upperSide];\n  }\n\n  return element[upperSide];\n}\n\n/*\n * Sum or subtract the element scroll values (left and top) from a given rect object\n * @method\n * @memberof Popper.Utils\n * @param {Object} rect - Rect object you want to change\n * @param {HTMLElement} element - The element from the function reads the scroll values\n * @param {Boolean} subtract - set to true if you want to subtract the scroll values\n * @return {Object} rect - The modifier rect object\n */\nfunction includeScroll(rect, element) {\n  var subtract = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n\n  var scrollTop = getScroll(element, 'top');\n  var scrollLeft = getScroll(element, 'left');\n  var modifier = subtract ? -1 : 1;\n  rect.top += scrollTop * modifier;\n  rect.bottom += scrollTop * modifier;\n  rect.left += scrollLeft * modifier;\n  rect.right += scrollLeft * modifier;\n  return rect;\n}\n\n/*\n * Helper to detect borders of a given element\n * @method\n * @memberof Popper.Utils\n * @param {CSSStyleDeclaration} styles\n * Result of `getStyleComputedProperty` on the given element\n * @param {String} axis - `x` or `y`\n * @return {number} borders - The borders size of the given axis\n */\n\nfunction getBordersSize(styles, axis) {\n  var sideA = axis === 'x' ? 'Left' : 'Top';\n  var sideB = sideA === 'Left' ? 'Right' : 'Bottom';\n\n  return parseFloat(styles['border' + sideA + 'Width']) + parseFloat(styles['border' + sideB + 'Width']);\n}\n\nfunction getSize(axis, body, html, computedStyle) {\n  return Math.max(body['offset' + axis], body['scroll' + axis], html['client' + axis], html['offset' + axis], html['scroll' + axis], isIE(10) ? parseInt(html['offset' + axis]) + parseInt(computedStyle['margin' + (axis === 'Height' ? 'Top' : 'Left')]) + parseInt(computedStyle['margin' + (axis === 'Height' ? 'Bottom' : 'Right')]) : 0);\n}\n\nfunction getWindowSizes(document) {\n  var body = document.body;\n  var html = document.documentElement;\n  var computedStyle = isIE(10) && getComputedStyle(html);\n\n  return {\n    height: getSize('Height', body, html, computedStyle),\n    width: getSize('Width', body, html, computedStyle)\n  };\n}\n\nvar classCallCheck = function (instance, Constructor) {\n  if (!(instance instanceof Constructor)) {\n    throw new TypeError(\"Cannot call a class as a function\");\n  }\n};\n\nvar createClass = function () {\n  function defineProperties(target, props) {\n    for (var i = 0; i < props.length; i++) {\n      var descriptor = props[i];\n      descriptor.enumerable = descriptor.enumerable || false;\n      descriptor.configurable = true;\n      if (\"value\" in descriptor) descriptor.writable = true;\n      Object.defineProperty(target, descriptor.key, descriptor);\n    }\n  }\n\n  return function (Constructor, protoProps, staticProps) {\n    if (protoProps) defineProperties(Constructor.prototype, protoProps);\n    if (staticProps) defineProperties(Constructor, staticProps);\n    return Constructor;\n  };\n}();\n\n\n\n\n\nvar defineProperty = function (obj, key, value) {\n  if (key in obj) {\n    Object.defineProperty(obj, key, {\n      value: value,\n      enumerable: true,\n      configurable: true,\n      writable: true\n    });\n  } else {\n    obj[key] = value;\n  }\n\n  return obj;\n};\n\nvar _extends = Object.assign || function (target) {\n  for (var i = 1; i < arguments.length; i++) {\n    var source = arguments[i];\n\n    for (var key in source) {\n      if (Object.prototype.hasOwnProperty.call(source, key)) {\n        target[key] = source[key];\n      }\n    }\n  }\n\n  return target;\n};\n\n/**\n * Given element offsets, generate an output similar to getBoundingClientRect\n * @method\n * @memberof Popper.Utils\n * @argument {Object} offsets\n * @returns {Object} ClientRect like output\n */\nfunction getClientRect(offsets) {\n  return _extends({}, offsets, {\n    right: offsets.left + offsets.width,\n    bottom: offsets.top + offsets.height\n  });\n}\n\n/**\n * Get bounding client rect of given element\n * @method\n * @memberof Popper.Utils\n * @param {HTMLElement} element\n * @return {Object} client rect\n */\nfunction getBoundingClientRect(element) {\n  var rect = {};\n\n  // IE10 10 FIX: Please, don't ask, the element isn't\n  // considered in DOM in some circumstances...\n  // This isn't reproducible in IE10 compatibility mode of IE11\n  try {\n    if (isIE(10)) {\n      rect = element.getBoundingClientRect();\n      var scrollTop = getScroll(element, 'top');\n      var scrollLeft = getScroll(element, 'left');\n      rect.top += scrollTop;\n      rect.left += scrollLeft;\n      rect.bottom += scrollTop;\n      rect.right += scrollLeft;\n    } else {\n      rect = element.getBoundingClientRect();\n    }\n  } catch (e) {}\n\n  var result = {\n    left: rect.left,\n    top: rect.top,\n    width: rect.right - rect.left,\n    height: rect.bottom - rect.top\n  };\n\n  // subtract scrollbar size from sizes\n  var sizes = element.nodeName === 'HTML' ? getWindowSizes(element.ownerDocument) : {};\n  var width = sizes.width || element.clientWidth || result.width;\n  var height = sizes.height || element.clientHeight || result.height;\n\n  var horizScrollbar = element.offsetWidth - width;\n  var vertScrollbar = element.offsetHeight - height;\n\n  // if an hypothetical scrollbar is detected, we must be sure it's not a `border`\n  // we make this check conditional for performance reasons\n  if (horizScrollbar || vertScrollbar) {\n    var styles = getStyleComputedProperty(element);\n    horizScrollbar -= getBordersSize(styles, 'x');\n    vertScrollbar -= getBordersSize(styles, 'y');\n\n    result.width -= horizScrollbar;\n    result.height -= vertScrollbar;\n  }\n\n  return getClientRect(result);\n}\n\nfunction getOffsetRectRelativeToArbitraryNode(children, parent) {\n  var fixedPosition = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n\n  var isIE10 = isIE(10);\n  var isHTML = parent.nodeName === 'HTML';\n  var childrenRect = getBoundingClientRect(children);\n  var parentRect = getBoundingClientRect(parent);\n  var scrollParent = getScrollParent(children);\n\n  var styles = getStyleComputedProperty(parent);\n  var borderTopWidth = parseFloat(styles.borderTopWidth);\n  var borderLeftWidth = parseFloat(styles.borderLeftWidth);\n\n  // In cases where the parent is fixed, we must ignore negative scroll in offset calc\n  if (fixedPosition && isHTML) {\n    parentRect.top = Math.max(parentRect.top, 0);\n    parentRect.left = Math.max(parentRect.left, 0);\n  }\n  var offsets = getClientRect({\n    top: childrenRect.top - parentRect.top - borderTopWidth,\n    left: childrenRect.left - parentRect.left - borderLeftWidth,\n    width: childrenRect.width,\n    height: childrenRect.height\n  });\n  offsets.marginTop = 0;\n  offsets.marginLeft = 0;\n\n  // Subtract margins of documentElement in case it's being used as parent\n  // we do this only on HTML because it's the only element that behaves\n  // differently when margins are applied to it. The margins are included in\n  // the box of the documentElement, in the other cases not.\n  if (!isIE10 && isHTML) {\n    var marginTop = parseFloat(styles.marginTop);\n    var marginLeft = parseFloat(styles.marginLeft);\n\n    offsets.top -= borderTopWidth - marginTop;\n    offsets.bottom -= borderTopWidth - marginTop;\n    offsets.left -= borderLeftWidth - marginLeft;\n    offsets.right -= borderLeftWidth - marginLeft;\n\n    // Attach marginTop and marginLeft because in some circumstances we may need them\n    offsets.marginTop = marginTop;\n    offsets.marginLeft = marginLeft;\n  }\n\n  if (isIE10 && !fixedPosition ? parent.contains(scrollParent) : parent === scrollParent && scrollParent.nodeName !== 'BODY') {\n    offsets = includeScroll(offsets, parent);\n  }\n\n  return offsets;\n}\n\nfunction getViewportOffsetRectRelativeToArtbitraryNode(element) {\n  var excludeScroll = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n\n  var html = element.ownerDocument.documentElement;\n  var relativeOffset = getOffsetRectRelativeToArbitraryNode(element, html);\n  var width = Math.max(html.clientWidth, window.innerWidth || 0);\n  var height = Math.max(html.clientHeight, window.innerHeight || 0);\n\n  var scrollTop = !excludeScroll ? getScroll(html) : 0;\n  var scrollLeft = !excludeScroll ? getScroll(html, 'left') : 0;\n\n  var offset = {\n    top: scrollTop - relativeOffset.top + relativeOffset.marginTop,\n    left: scrollLeft - relativeOffset.left + relativeOffset.marginLeft,\n    width: width,\n    height: height\n  };\n\n  return getClientRect(offset);\n}\n\n/**\n * Check if the given element is fixed or is inside a fixed parent\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @argument {Element} customContainer\n * @returns {Boolean} answer to \"isFixed?\"\n */\nfunction isFixed(element) {\n  var nodeName = element.nodeName;\n  if (nodeName === 'BODY' || nodeName === 'HTML') {\n    return false;\n  }\n  if (getStyleComputedProperty(element, 'position') === 'fixed') {\n    return true;\n  }\n  var parentNode = getParentNode(element);\n  if (!parentNode) {\n    return false;\n  }\n  return isFixed(parentNode);\n}\n\n/**\n * Finds the first parent of an element that has a transformed property defined\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @returns {Element} first transformed parent or documentElement\n */\n\nfunction getFixedPositionOffsetParent(element) {\n  // This check is needed to avoid errors in case one of the elements isn't defined for any reason\n  if (!element || !element.parentElement || isIE()) {\n    return document.documentElement;\n  }\n  var el = element.parentElement;\n  while (el && getStyleComputedProperty(el, 'transform') === 'none') {\n    el = el.parentElement;\n  }\n  return el || document.documentElement;\n}\n\n/**\n * Computed the boundaries limits and return them\n * @method\n * @memberof Popper.Utils\n * @param {HTMLElement} popper\n * @param {HTMLElement} reference\n * @param {number} padding\n * @param {HTMLElement} boundariesElement - Element used to define the boundaries\n * @param {Boolean} fixedPosition - Is in fixed position mode\n * @returns {Object} Coordinates of the boundaries\n */\nfunction getBoundaries(popper, reference, padding, boundariesElement) {\n  var fixedPosition = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;\n\n  // NOTE: 1 DOM access here\n\n  var boundaries = { top: 0, left: 0 };\n  var offsetParent = fixedPosition ? getFixedPositionOffsetParent(popper) : findCommonOffsetParent(popper, getReferenceNode(reference));\n\n  // Handle viewport case\n  if (boundariesElement === 'viewport') {\n    boundaries = getViewportOffsetRectRelativeToArtbitraryNode(offsetParent, fixedPosition);\n  } else {\n    // Handle other cases based on DOM element used as boundaries\n    var boundariesNode = void 0;\n    if (boundariesElement === 'scrollParent') {\n      boundariesNode = getScrollParent(getParentNode(reference));\n      if (boundariesNode.nodeName === 'BODY') {\n        boundariesNode = popper.ownerDocument.documentElement;\n      }\n    } else if (boundariesElement === 'window') {\n      boundariesNode = popper.ownerDocument.documentElement;\n    } else {\n      boundariesNode = boundariesElement;\n    }\n\n    var offsets = getOffsetRectRelativeToArbitraryNode(boundariesNode, offsetParent, fixedPosition);\n\n    // In case of HTML, we need a different computation\n    if (boundariesNode.nodeName === 'HTML' && !isFixed(offsetParent)) {\n      var _getWindowSizes = getWindowSizes(popper.ownerDocument),\n          height = _getWindowSizes.height,\n          width = _getWindowSizes.width;\n\n      boundaries.top += offsets.top - offsets.marginTop;\n      boundaries.bottom = height + offsets.top;\n      boundaries.left += offsets.left - offsets.marginLeft;\n      boundaries.right = width + offsets.left;\n    } else {\n      // for all the other DOM elements, this one is good\n      boundaries = offsets;\n    }\n  }\n\n  // Add paddings\n  padding = padding || 0;\n  var isPaddingNumber = typeof padding === 'number';\n  boundaries.left += isPaddingNumber ? padding : padding.left || 0;\n  boundaries.top += isPaddingNumber ? padding : padding.top || 0;\n  boundaries.right -= isPaddingNumber ? padding : padding.right || 0;\n  boundaries.bottom -= isPaddingNumber ? padding : padding.bottom || 0;\n\n  return boundaries;\n}\n\nfunction getArea(_ref) {\n  var width = _ref.width,\n      height = _ref.height;\n\n  return width * height;\n}\n\n/**\n * Utility used to transform the `auto` placement to the placement with more\n * available space.\n * @method\n * @memberof Popper.Utils\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction computeAutoPlacement(placement, refRect, popper, reference, boundariesElement) {\n  var padding = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : 0;\n\n  if (placement.indexOf('auto') === -1) {\n    return placement;\n  }\n\n  var boundaries = getBoundaries(popper, reference, padding, boundariesElement);\n\n  var rects = {\n    top: {\n      width: boundaries.width,\n      height: refRect.top - boundaries.top\n    },\n    right: {\n      width: boundaries.right - refRect.right,\n      height: boundaries.height\n    },\n    bottom: {\n      width: boundaries.width,\n      height: boundaries.bottom - refRect.bottom\n    },\n    left: {\n      width: refRect.left - boundaries.left,\n      height: boundaries.height\n    }\n  };\n\n  var sortedAreas = Object.keys(rects).map(function (key) {\n    return _extends({\n      key: key\n    }, rects[key], {\n      area: getArea(rects[key])\n    });\n  }).sort(function (a, b) {\n    return b.area - a.area;\n  });\n\n  var filteredAreas = sortedAreas.filter(function (_ref2) {\n    var width = _ref2.width,\n        height = _ref2.height;\n    return width >= popper.clientWidth && height >= popper.clientHeight;\n  });\n\n  var computedPlacement = filteredAreas.length > 0 ? filteredAreas[0].key : sortedAreas[0].key;\n\n  var variation = placement.split('-')[1];\n\n  return computedPlacement + (variation ? '-' + variation : '');\n}\n\n/**\n * Get offsets to the reference element\n * @method\n * @memberof Popper.Utils\n * @param {Object} state\n * @param {Element} popper - the popper element\n * @param {Element} reference - the reference element (the popper will be relative to this)\n * @param {Element} fixedPosition - is in fixed position mode\n * @returns {Object} An object containing the offsets which will be applied to the popper\n */\nfunction getReferenceOffsets(state, popper, reference) {\n  var fixedPosition = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;\n\n  var commonOffsetParent = fixedPosition ? getFixedPositionOffsetParent(popper) : findCommonOffsetParent(popper, getReferenceNode(reference));\n  return getOffsetRectRelativeToArbitraryNode(reference, commonOffsetParent, fixedPosition);\n}\n\n/**\n * Get the outer sizes of the given element (offset size + margins)\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @returns {Object} object containing width and height properties\n */\nfunction getOuterSizes(element) {\n  var window = element.ownerDocument.defaultView;\n  var styles = window.getComputedStyle(element);\n  var x = parseFloat(styles.marginTop || 0) + parseFloat(styles.marginBottom || 0);\n  var y = parseFloat(styles.marginLeft || 0) + parseFloat(styles.marginRight || 0);\n  var result = {\n    width: element.offsetWidth + y,\n    height: element.offsetHeight + x\n  };\n  return result;\n}\n\n/**\n * Get the opposite placement of the given one\n * @method\n * @memberof Popper.Utils\n * @argument {String} placement\n * @returns {String} flipped placement\n */\nfunction getOppositePlacement(placement) {\n  var hash = { left: 'right', right: 'left', bottom: 'top', top: 'bottom' };\n  return placement.replace(/left|right|bottom|top/g, function (matched) {\n    return hash[matched];\n  });\n}\n\n/**\n * Get offsets to the popper\n * @method\n * @memberof Popper.Utils\n * @param {Object} position - CSS position the Popper will get applied\n * @param {HTMLElement} popper - the popper element\n * @param {Object} referenceOffsets - the reference offsets (the popper will be relative to this)\n * @param {String} placement - one of the valid placement options\n * @returns {Object} popperOffsets - An object containing the offsets which will be applied to the popper\n */\nfunction getPopperOffsets(popper, referenceOffsets, placement) {\n  placement = placement.split('-')[0];\n\n  // Get popper node sizes\n  var popperRect = getOuterSizes(popper);\n\n  // Add position, width and height to our offsets object\n  var popperOffsets = {\n    width: popperRect.width,\n    height: popperRect.height\n  };\n\n  // depending by the popper placement we have to compute its offsets slightly differently\n  var isHoriz = ['right', 'left'].indexOf(placement) !== -1;\n  var mainSide = isHoriz ? 'top' : 'left';\n  var secondarySide = isHoriz ? 'left' : 'top';\n  var measurement = isHoriz ? 'height' : 'width';\n  var secondaryMeasurement = !isHoriz ? 'height' : 'width';\n\n  popperOffsets[mainSide] = referenceOffsets[mainSide] + referenceOffsets[measurement] / 2 - popperRect[measurement] / 2;\n  if (placement === secondarySide) {\n    popperOffsets[secondarySide] = referenceOffsets[secondarySide] - popperRect[secondaryMeasurement];\n  } else {\n    popperOffsets[secondarySide] = referenceOffsets[getOppositePlacement(secondarySide)];\n  }\n\n  return popperOffsets;\n}\n\n/**\n * Mimics the `find` method of Array\n * @method\n * @memberof Popper.Utils\n * @argument {Array} arr\n * @argument prop\n * @argument value\n * @returns index or -1\n */\nfunction find(arr, check) {\n  // use native find if supported\n  if (Array.prototype.find) {\n    return arr.find(check);\n  }\n\n  // use `filter` to obtain the same behavior of `find`\n  return arr.filter(check)[0];\n}\n\n/**\n * Return the index of the matching object\n * @method\n * @memberof Popper.Utils\n * @argument {Array} arr\n * @argument prop\n * @argument value\n * @returns index or -1\n */\nfunction findIndex(arr, prop, value) {\n  // use native findIndex if supported\n  if (Array.prototype.findIndex) {\n    return arr.findIndex(function (cur) {\n      return cur[prop] === value;\n    });\n  }\n\n  // use `find` + `indexOf` if `findIndex` isn't supported\n  var match = find(arr, function (obj) {\n    return obj[prop] === value;\n  });\n  return arr.indexOf(match);\n}\n\n/**\n * Loop trough the list of modifiers and run them in order,\n * each of them will then edit the data object.\n * @method\n * @memberof Popper.Utils\n * @param {dataObject} data\n * @param {Array} modifiers\n * @param {String} ends - Optional modifier name used as stopper\n * @returns {dataObject}\n */\nfunction runModifiers(modifiers, data, ends) {\n  var modifiersToRun = ends === undefined ? modifiers : modifiers.slice(0, findIndex(modifiers, 'name', ends));\n\n  modifiersToRun.forEach(function (modifier) {\n    if (modifier['function']) {\n      // eslint-disable-line dot-notation\n      console.warn('`modifier.function` is deprecated, use `modifier.fn`!');\n    }\n    var fn = modifier['function'] || modifier.fn; // eslint-disable-line dot-notation\n    if (modifier.enabled && isFunction(fn)) {\n      // Add properties to offsets to make them a complete clientRect object\n      // we do this before each modifier to make sure the previous one doesn't\n      // mess with these values\n      data.offsets.popper = getClientRect(data.offsets.popper);\n      data.offsets.reference = getClientRect(data.offsets.reference);\n\n      data = fn(data, modifier);\n    }\n  });\n\n  return data;\n}\n\n/**\n * Updates the position of the popper, computing the new offsets and applying\n * the new style.<br />\n * Prefer `scheduleUpdate` over `update` because of performance reasons.\n * @method\n * @memberof Popper\n */\nfunction update() {\n  // if popper is destroyed, don't perform any further update\n  if (this.state.isDestroyed) {\n    return;\n  }\n\n  var data = {\n    instance: this,\n    styles: {},\n    arrowStyles: {},\n    attributes: {},\n    flipped: false,\n    offsets: {}\n  };\n\n  // compute reference element offsets\n  data.offsets.reference = getReferenceOffsets(this.state, this.popper, this.reference, this.options.positionFixed);\n\n  // compute auto placement, store placement inside the data object,\n  // modifiers will be able to edit `placement` if needed\n  // and refer to originalPlacement to know the original value\n  data.placement = computeAutoPlacement(this.options.placement, data.offsets.reference, this.popper, this.reference, this.options.modifiers.flip.boundariesElement, this.options.modifiers.flip.padding);\n\n  // store the computed placement inside `originalPlacement`\n  data.originalPlacement = data.placement;\n\n  data.positionFixed = this.options.positionFixed;\n\n  // compute the popper offsets\n  data.offsets.popper = getPopperOffsets(this.popper, data.offsets.reference, data.placement);\n\n  data.offsets.popper.position = this.options.positionFixed ? 'fixed' : 'absolute';\n\n  // run the modifiers\n  data = runModifiers(this.modifiers, data);\n\n  // the first `update` will call `onCreate` callback\n  // the other ones will call `onUpdate` callback\n  if (!this.state.isCreated) {\n    this.state.isCreated = true;\n    this.options.onCreate(data);\n  } else {\n    this.options.onUpdate(data);\n  }\n}\n\n/**\n * Helper used to know if the given modifier is enabled.\n * @method\n * @memberof Popper.Utils\n * @returns {Boolean}\n */\nfunction isModifierEnabled(modifiers, modifierName) {\n  return modifiers.some(function (_ref) {\n    var name = _ref.name,\n        enabled = _ref.enabled;\n    return enabled && name === modifierName;\n  });\n}\n\n/**\n * Get the prefixed supported property name\n * @method\n * @memberof Popper.Utils\n * @argument {String} property (camelCase)\n * @returns {String} prefixed property (camelCase or PascalCase, depending on the vendor prefix)\n */\nfunction getSupportedPropertyName(property) {\n  var prefixes = [false, 'ms', 'Webkit', 'Moz', 'O'];\n  var upperProp = property.charAt(0).toUpperCase() + property.slice(1);\n\n  for (var i = 0; i < prefixes.length; i++) {\n    var prefix = prefixes[i];\n    var toCheck = prefix ? '' + prefix + upperProp : property;\n    if (typeof document.body.style[toCheck] !== 'undefined') {\n      return toCheck;\n    }\n  }\n  return null;\n}\n\n/**\n * Destroys the popper.\n * @method\n * @memberof Popper\n */\nfunction destroy() {\n  this.state.isDestroyed = true;\n\n  // touch DOM only if `applyStyle` modifier is enabled\n  if (isModifierEnabled(this.modifiers, 'applyStyle')) {\n    this.popper.removeAttribute('x-placement');\n    this.popper.style.position = '';\n    this.popper.style.top = '';\n    this.popper.style.left = '';\n    this.popper.style.right = '';\n    this.popper.style.bottom = '';\n    this.popper.style.willChange = '';\n    this.popper.style[getSupportedPropertyName('transform')] = '';\n  }\n\n  this.disableEventListeners();\n\n  // remove the popper if user explicitly asked for the deletion on destroy\n  // do not use `remove` because IE11 doesn't support it\n  if (this.options.removeOnDestroy) {\n    this.popper.parentNode.removeChild(this.popper);\n  }\n  return this;\n}\n\n/**\n * Get the window associated with the element\n * @argument {Element} element\n * @returns {Window}\n */\nfunction getWindow(element) {\n  var ownerDocument = element.ownerDocument;\n  return ownerDocument ? ownerDocument.defaultView : window;\n}\n\nfunction attachToScrollParents(scrollParent, event, callback, scrollParents) {\n  var isBody = scrollParent.nodeName === 'BODY';\n  var target = isBody ? scrollParent.ownerDocument.defaultView : scrollParent;\n  target.addEventListener(event, callback, { passive: true });\n\n  if (!isBody) {\n    attachToScrollParents(getScrollParent(target.parentNode), event, callback, scrollParents);\n  }\n  scrollParents.push(target);\n}\n\n/**\n * Setup needed event listeners used to update the popper position\n * @method\n * @memberof Popper.Utils\n * @private\n */\nfunction setupEventListeners(reference, options, state, updateBound) {\n  // Resize event listener on window\n  state.updateBound = updateBound;\n  getWindow(reference).addEventListener('resize', state.updateBound, { passive: true });\n\n  // Scroll event listener on scroll parents\n  var scrollElement = getScrollParent(reference);\n  attachToScrollParents(scrollElement, 'scroll', state.updateBound, state.scrollParents);\n  state.scrollElement = scrollElement;\n  state.eventsEnabled = true;\n\n  return state;\n}\n\n/**\n * It will add resize/scroll events and start recalculating\n * position of the popper element when they are triggered.\n * @method\n * @memberof Popper\n */\nfunction enableEventListeners() {\n  if (!this.state.eventsEnabled) {\n    this.state = setupEventListeners(this.reference, this.options, this.state, this.scheduleUpdate);\n  }\n}\n\n/**\n * Remove event listeners used to update the popper position\n * @method\n * @memberof Popper.Utils\n * @private\n */\nfunction removeEventListeners(reference, state) {\n  // Remove resize event listener on window\n  getWindow(reference).removeEventListener('resize', state.updateBound);\n\n  // Remove scroll event listener on scroll parents\n  state.scrollParents.forEach(function (target) {\n    target.removeEventListener('scroll', state.updateBound);\n  });\n\n  // Reset state\n  state.updateBound = null;\n  state.scrollParents = [];\n  state.scrollElement = null;\n  state.eventsEnabled = false;\n  return state;\n}\n\n/**\n * It will remove resize/scroll events and won't recalculate popper position\n * when they are triggered. It also won't trigger `onUpdate` callback anymore,\n * unless you call `update` method manually.\n * @method\n * @memberof Popper\n */\nfunction disableEventListeners() {\n  if (this.state.eventsEnabled) {\n    cancelAnimationFrame(this.scheduleUpdate);\n    this.state = removeEventListeners(this.reference, this.state);\n  }\n}\n\n/**\n * Tells if a given input is a number\n * @method\n * @memberof Popper.Utils\n * @param {*} input to check\n * @return {Boolean}\n */\nfunction isNumeric(n) {\n  return n !== '' && !isNaN(parseFloat(n)) && isFinite(n);\n}\n\n/**\n * Set the style to the given popper\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element - Element to apply the style to\n * @argument {Object} styles\n * Object with a list of properties and values which will be applied to the element\n */\nfunction setStyles(element, styles) {\n  Object.keys(styles).forEach(function (prop) {\n    var unit = '';\n    // add unit if the value is numeric and is one of the following\n    if (['width', 'height', 'top', 'right', 'bottom', 'left'].indexOf(prop) !== -1 && isNumeric(styles[prop])) {\n      unit = 'px';\n    }\n    element.style[prop] = styles[prop] + unit;\n  });\n}\n\n/**\n * Set the attributes to the given popper\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element - Element to apply the attributes to\n * @argument {Object} styles\n * Object with a list of properties and values which will be applied to the element\n */\nfunction setAttributes(element, attributes) {\n  Object.keys(attributes).forEach(function (prop) {\n    var value = attributes[prop];\n    if (value !== false) {\n      element.setAttribute(prop, attributes[prop]);\n    } else {\n      element.removeAttribute(prop);\n    }\n  });\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Object} data.styles - List of style properties - values to apply to popper element\n * @argument {Object} data.attributes - List of attribute properties - values to apply to popper element\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The same data object\n */\nfunction applyStyle(data) {\n  // any property present in `data.styles` will be applied to the popper,\n  // in this way we can make the 3rd party modifiers add custom styles to it\n  // Be aware, modifiers could override the properties defined in the previous\n  // lines of this modifier!\n  setStyles(data.instance.popper, data.styles);\n\n  // any property present in `data.attributes` will be applied to the popper,\n  // they will be set as HTML attributes of the element\n  setAttributes(data.instance.popper, data.attributes);\n\n  // if arrowElement is defined and arrowStyles has some properties\n  if (data.arrowElement && Object.keys(data.arrowStyles).length) {\n    setStyles(data.arrowElement, data.arrowStyles);\n  }\n\n  return data;\n}\n\n/**\n * Set the x-placement attribute before everything else because it could be used\n * to add margins to the popper margins needs to be calculated to get the\n * correct popper offsets.\n * @method\n * @memberof Popper.modifiers\n * @param {HTMLElement} reference - The reference element used to position the popper\n * @param {HTMLElement} popper - The HTML element used as popper\n * @param {Object} options - Popper.js options\n */\nfunction applyStyleOnLoad(reference, popper, options, modifierOptions, state) {\n  // compute reference element offsets\n  var referenceOffsets = getReferenceOffsets(state, popper, reference, options.positionFixed);\n\n  // compute auto placement, store placement inside the data object,\n  // modifiers will be able to edit `placement` if needed\n  // and refer to originalPlacement to know the original value\n  var placement = computeAutoPlacement(options.placement, referenceOffsets, popper, reference, options.modifiers.flip.boundariesElement, options.modifiers.flip.padding);\n\n  popper.setAttribute('x-placement', placement);\n\n  // Apply `position` to popper before anything else because\n  // without the position applied we can't guarantee correct computations\n  setStyles(popper, { position: options.positionFixed ? 'fixed' : 'absolute' });\n\n  return options;\n}\n\n/**\n * @function\n * @memberof Popper.Utils\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Boolean} shouldRound - If the offsets should be rounded at all\n * @returns {Object} The popper's position offsets rounded\n *\n * The tale of pixel-perfect positioning. It's still not 100% perfect, but as\n * good as it can be within reason.\n * Discussion here: https://github.com/FezVrasta/popper.js/pull/715\n *\n * Low DPI screens cause a popper to be blurry if not using full pixels (Safari\n * as well on High DPI screens).\n *\n * Firefox prefers no rounding for positioning and does not have blurriness on\n * high DPI screens.\n *\n * Only horizontal placement and left/right values need to be considered.\n */\nfunction getRoundedOffsets(data, shouldRound) {\n  var _data$offsets = data.offsets,\n      popper = _data$offsets.popper,\n      reference = _data$offsets.reference;\n  var round = Math.round,\n      floor = Math.floor;\n\n  var noRound = function noRound(v) {\n    return v;\n  };\n\n  var referenceWidth = round(reference.width);\n  var popperWidth = round(popper.width);\n\n  var isVertical = ['left', 'right'].indexOf(data.placement) !== -1;\n  var isVariation = data.placement.indexOf('-') !== -1;\n  var sameWidthParity = referenceWidth % 2 === popperWidth % 2;\n  var bothOddWidth = referenceWidth % 2 === 1 && popperWidth % 2 === 1;\n\n  var horizontalToInteger = !shouldRound ? noRound : isVertical || isVariation || sameWidthParity ? round : floor;\n  var verticalToInteger = !shouldRound ? noRound : round;\n\n  return {\n    left: horizontalToInteger(bothOddWidth && !isVariation && shouldRound ? popper.left - 1 : popper.left),\n    top: verticalToInteger(popper.top),\n    bottom: verticalToInteger(popper.bottom),\n    right: horizontalToInteger(popper.right)\n  };\n}\n\nvar isFirefox = isBrowser && /Firefox/i.test(navigator.userAgent);\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction computeStyle(data, options) {\n  var x = options.x,\n      y = options.y;\n  var popper = data.offsets.popper;\n\n  // Remove this legacy support in Popper.js v2\n\n  var legacyGpuAccelerationOption = find(data.instance.modifiers, function (modifier) {\n    return modifier.name === 'applyStyle';\n  }).gpuAcceleration;\n  if (legacyGpuAccelerationOption !== undefined) {\n    console.warn('WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!');\n  }\n  var gpuAcceleration = legacyGpuAccelerationOption !== undefined ? legacyGpuAccelerationOption : options.gpuAcceleration;\n\n  var offsetParent = getOffsetParent(data.instance.popper);\n  var offsetParentRect = getBoundingClientRect(offsetParent);\n\n  // Styles\n  var styles = {\n    position: popper.position\n  };\n\n  var offsets = getRoundedOffsets(data, window.devicePixelRatio < 2 || !isFirefox);\n\n  var sideA = x === 'bottom' ? 'top' : 'bottom';\n  var sideB = y === 'right' ? 'left' : 'right';\n\n  // if gpuAcceleration is set to `true` and transform is supported,\n  //  we use `translate3d` to apply the position to the popper we\n  // automatically use the supported prefixed version if needed\n  var prefixedProperty = getSupportedPropertyName('transform');\n\n  // now, let's make a step back and look at this code closely (wtf?)\n  // If the content of the popper grows once it's been positioned, it\n  // may happen that the popper gets misplaced because of the new content\n  // overflowing its reference element\n  // To avoid this problem, we provide two options (x and y), which allow\n  // the consumer to define the offset origin.\n  // If we position a popper on top of a reference element, we can set\n  // `x` to `top` to make the popper grow towards its top instead of\n  // its bottom.\n  var left = void 0,\n      top = void 0;\n  if (sideA === 'bottom') {\n    // when offsetParent is <html> the positioning is relative to the bottom of the screen (excluding the scrollbar)\n    // and not the bottom of the html element\n    if (offsetParent.nodeName === 'HTML') {\n      top = -offsetParent.clientHeight + offsets.bottom;\n    } else {\n      top = -offsetParentRect.height + offsets.bottom;\n    }\n  } else {\n    top = offsets.top;\n  }\n  if (sideB === 'right') {\n    if (offsetParent.nodeName === 'HTML') {\n      left = -offsetParent.clientWidth + offsets.right;\n    } else {\n      left = -offsetParentRect.width + offsets.right;\n    }\n  } else {\n    left = offsets.left;\n  }\n  if (gpuAcceleration && prefixedProperty) {\n    styles[prefixedProperty] = 'translate3d(' + left + 'px, ' + top + 'px, 0)';\n    styles[sideA] = 0;\n    styles[sideB] = 0;\n    styles.willChange = 'transform';\n  } else {\n    // othwerise, we use the standard `top`, `left`, `bottom` and `right` properties\n    var invertTop = sideA === 'bottom' ? -1 : 1;\n    var invertLeft = sideB === 'right' ? -1 : 1;\n    styles[sideA] = top * invertTop;\n    styles[sideB] = left * invertLeft;\n    styles.willChange = sideA + ', ' + sideB;\n  }\n\n  // Attributes\n  var attributes = {\n    'x-placement': data.placement\n  };\n\n  // Update `data` attributes, styles and arrowStyles\n  data.attributes = _extends({}, attributes, data.attributes);\n  data.styles = _extends({}, styles, data.styles);\n  data.arrowStyles = _extends({}, data.offsets.arrow, data.arrowStyles);\n\n  return data;\n}\n\n/**\n * Helper used to know if the given modifier depends from another one.<br />\n * It checks if the needed modifier is listed and enabled.\n * @method\n * @memberof Popper.Utils\n * @param {Array} modifiers - list of modifiers\n * @param {String} requestingName - name of requesting modifier\n * @param {String} requestedName - name of requested modifier\n * @returns {Boolean}\n */\nfunction isModifierRequired(modifiers, requestingName, requestedName) {\n  var requesting = find(modifiers, function (_ref) {\n    var name = _ref.name;\n    return name === requestingName;\n  });\n\n  var isRequired = !!requesting && modifiers.some(function (modifier) {\n    return modifier.name === requestedName && modifier.enabled && modifier.order < requesting.order;\n  });\n\n  if (!isRequired) {\n    var _requesting = '`' + requestingName + '`';\n    var requested = '`' + requestedName + '`';\n    console.warn(requested + ' modifier is required by ' + _requesting + ' modifier in order to work, be sure to include it before ' + _requesting + '!');\n  }\n  return isRequired;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction arrow(data, options) {\n  var _data$offsets$arrow;\n\n  // arrow depends on keepTogether in order to work\n  if (!isModifierRequired(data.instance.modifiers, 'arrow', 'keepTogether')) {\n    return data;\n  }\n\n  var arrowElement = options.element;\n\n  // if arrowElement is a string, suppose it's a CSS selector\n  if (typeof arrowElement === 'string') {\n    arrowElement = data.instance.popper.querySelector(arrowElement);\n\n    // if arrowElement is not found, don't run the modifier\n    if (!arrowElement) {\n      return data;\n    }\n  } else {\n    // if the arrowElement isn't a query selector we must check that the\n    // provided DOM node is child of its popper node\n    if (!data.instance.popper.contains(arrowElement)) {\n      console.warn('WARNING: `arrow.element` must be child of its popper element!');\n      return data;\n    }\n  }\n\n  var placement = data.placement.split('-')[0];\n  var _data$offsets = data.offsets,\n      popper = _data$offsets.popper,\n      reference = _data$offsets.reference;\n\n  var isVertical = ['left', 'right'].indexOf(placement) !== -1;\n\n  var len = isVertical ? 'height' : 'width';\n  var sideCapitalized = isVertical ? 'Top' : 'Left';\n  var side = sideCapitalized.toLowerCase();\n  var altSide = isVertical ? 'left' : 'top';\n  var opSide = isVertical ? 'bottom' : 'right';\n  var arrowElementSize = getOuterSizes(arrowElement)[len];\n\n  //\n  // extends keepTogether behavior making sure the popper and its\n  // reference have enough pixels in conjunction\n  //\n\n  // top/left side\n  if (reference[opSide] - arrowElementSize < popper[side]) {\n    data.offsets.popper[side] -= popper[side] - (reference[opSide] - arrowElementSize);\n  }\n  // bottom/right side\n  if (reference[side] + arrowElementSize > popper[opSide]) {\n    data.offsets.popper[side] += reference[side] + arrowElementSize - popper[opSide];\n  }\n  data.offsets.popper = getClientRect(data.offsets.popper);\n\n  // compute center of the popper\n  var center = reference[side] + reference[len] / 2 - arrowElementSize / 2;\n\n  // Compute the sideValue using the updated popper offsets\n  // take popper margin in account because we don't have this info available\n  var css = getStyleComputedProperty(data.instance.popper);\n  var popperMarginSide = parseFloat(css['margin' + sideCapitalized]);\n  var popperBorderSide = parseFloat(css['border' + sideCapitalized + 'Width']);\n  var sideValue = center - data.offsets.popper[side] - popperMarginSide - popperBorderSide;\n\n  // prevent arrowElement from being placed not contiguously to its popper\n  sideValue = Math.max(Math.min(popper[len] - arrowElementSize, sideValue), 0);\n\n  data.arrowElement = arrowElement;\n  data.offsets.arrow = (_data$offsets$arrow = {}, defineProperty(_data$offsets$arrow, side, Math.round(sideValue)), defineProperty(_data$offsets$arrow, altSide, ''), _data$offsets$arrow);\n\n  return data;\n}\n\n/**\n * Get the opposite placement variation of the given one\n * @method\n * @memberof Popper.Utils\n * @argument {String} placement variation\n * @returns {String} flipped placement variation\n */\nfunction getOppositeVariation(variation) {\n  if (variation === 'end') {\n    return 'start';\n  } else if (variation === 'start') {\n    return 'end';\n  }\n  return variation;\n}\n\n/**\n * List of accepted placements to use as values of the `placement` option.<br />\n * Valid placements are:\n * - `auto`\n * - `top`\n * - `right`\n * - `bottom`\n * - `left`\n *\n * Each placement can have a variation from this list:\n * - `-start`\n * - `-end`\n *\n * Variations are interpreted easily if you think of them as the left to right\n * written languages. Horizontally (`top` and `bottom`), `start` is left and `end`\n * is right.<br />\n * Vertically (`left` and `right`), `start` is top and `end` is bottom.\n *\n * Some valid examples are:\n * - `top-end` (on top of reference, right aligned)\n * - `right-start` (on right of reference, top aligned)\n * - `bottom` (on bottom, centered)\n * - `auto-end` (on the side with more space available, alignment depends by placement)\n *\n * @static\n * @type {Array}\n * @enum {String}\n * @readonly\n * @method placements\n * @memberof Popper\n */\nvar placements = ['auto-start', 'auto', 'auto-end', 'top-start', 'top', 'top-end', 'right-start', 'right', 'right-end', 'bottom-end', 'bottom', 'bottom-start', 'left-end', 'left', 'left-start'];\n\n// Get rid of `auto` `auto-start` and `auto-end`\nvar validPlacements = placements.slice(3);\n\n/**\n * Given an initial placement, returns all the subsequent placements\n * clockwise (or counter-clockwise).\n *\n * @method\n * @memberof Popper.Utils\n * @argument {String} placement - A valid placement (it accepts variations)\n * @argument {Boolean} counter - Set to true to walk the placements counterclockwise\n * @returns {Array} placements including their variations\n */\nfunction clockwise(placement) {\n  var counter = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n\n  var index = validPlacements.indexOf(placement);\n  var arr = validPlacements.slice(index + 1).concat(validPlacements.slice(0, index));\n  return counter ? arr.reverse() : arr;\n}\n\nvar BEHAVIORS = {\n  FLIP: 'flip',\n  CLOCKWISE: 'clockwise',\n  COUNTERCLOCKWISE: 'counterclockwise'\n};\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction flip(data, options) {\n  // if `inner` modifier is enabled, we can't use the `flip` modifier\n  if (isModifierEnabled(data.instance.modifiers, 'inner')) {\n    return data;\n  }\n\n  if (data.flipped && data.placement === data.originalPlacement) {\n    // seems like flip is trying to loop, probably there's not enough space on any of the flippable sides\n    return data;\n  }\n\n  var boundaries = getBoundaries(data.instance.popper, data.instance.reference, options.padding, options.boundariesElement, data.positionFixed);\n\n  var placement = data.placement.split('-')[0];\n  var placementOpposite = getOppositePlacement(placement);\n  var variation = data.placement.split('-')[1] || '';\n\n  var flipOrder = [];\n\n  switch (options.behavior) {\n    case BEHAVIORS.FLIP:\n      flipOrder = [placement, placementOpposite];\n      break;\n    case BEHAVIORS.CLOCKWISE:\n      flipOrder = clockwise(placement);\n      break;\n    case BEHAVIORS.COUNTERCLOCKWISE:\n      flipOrder = clockwise(placement, true);\n      break;\n    default:\n      flipOrder = options.behavior;\n  }\n\n  flipOrder.forEach(function (step, index) {\n    if (placement !== step || flipOrder.length === index + 1) {\n      return data;\n    }\n\n    placement = data.placement.split('-')[0];\n    placementOpposite = getOppositePlacement(placement);\n\n    var popperOffsets = data.offsets.popper;\n    var refOffsets = data.offsets.reference;\n\n    // using floor because the reference offsets may contain decimals we are not going to consider here\n    var floor = Math.floor;\n    var overlapsRef = placement === 'left' && floor(popperOffsets.right) > floor(refOffsets.left) || placement === 'right' && floor(popperOffsets.left) < floor(refOffsets.right) || placement === 'top' && floor(popperOffsets.bottom) > floor(refOffsets.top) || placement === 'bottom' && floor(popperOffsets.top) < floor(refOffsets.bottom);\n\n    var overflowsLeft = floor(popperOffsets.left) < floor(boundaries.left);\n    var overflowsRight = floor(popperOffsets.right) > floor(boundaries.right);\n    var overflowsTop = floor(popperOffsets.top) < floor(boundaries.top);\n    var overflowsBottom = floor(popperOffsets.bottom) > floor(boundaries.bottom);\n\n    var overflowsBoundaries = placement === 'left' && overflowsLeft || placement === 'right' && overflowsRight || placement === 'top' && overflowsTop || placement === 'bottom' && overflowsBottom;\n\n    // flip the variation if required\n    var isVertical = ['top', 'bottom'].indexOf(placement) !== -1;\n\n    // flips variation if reference element overflows boundaries\n    var flippedVariationByRef = !!options.flipVariations && (isVertical && variation === 'start' && overflowsLeft || isVertical && variation === 'end' && overflowsRight || !isVertical && variation === 'start' && overflowsTop || !isVertical && variation === 'end' && overflowsBottom);\n\n    // flips variation if popper content overflows boundaries\n    var flippedVariationByContent = !!options.flipVariationsByContent && (isVertical && variation === 'start' && overflowsRight || isVertical && variation === 'end' && overflowsLeft || !isVertical && variation === 'start' && overflowsBottom || !isVertical && variation === 'end' && overflowsTop);\n\n    var flippedVariation = flippedVariationByRef || flippedVariationByContent;\n\n    if (overlapsRef || overflowsBoundaries || flippedVariation) {\n      // this boolean to detect any flip loop\n      data.flipped = true;\n\n      if (overlapsRef || overflowsBoundaries) {\n        placement = flipOrder[index + 1];\n      }\n\n      if (flippedVariation) {\n        variation = getOppositeVariation(variation);\n      }\n\n      data.placement = placement + (variation ? '-' + variation : '');\n\n      // this object contains `position`, we want to preserve it along with\n      // any additional property we may add in the future\n      data.offsets.popper = _extends({}, data.offsets.popper, getPopperOffsets(data.instance.popper, data.offsets.reference, data.placement));\n\n      data = runModifiers(data.instance.modifiers, data, 'flip');\n    }\n  });\n  return data;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction keepTogether(data) {\n  var _data$offsets = data.offsets,\n      popper = _data$offsets.popper,\n      reference = _data$offsets.reference;\n\n  var placement = data.placement.split('-')[0];\n  var floor = Math.floor;\n  var isVertical = ['top', 'bottom'].indexOf(placement) !== -1;\n  var side = isVertical ? 'right' : 'bottom';\n  var opSide = isVertical ? 'left' : 'top';\n  var measurement = isVertical ? 'width' : 'height';\n\n  if (popper[side] < floor(reference[opSide])) {\n    data.offsets.popper[opSide] = floor(reference[opSide]) - popper[measurement];\n  }\n  if (popper[opSide] > floor(reference[side])) {\n    data.offsets.popper[opSide] = floor(reference[side]);\n  }\n\n  return data;\n}\n\n/**\n * Converts a string containing value + unit into a px value number\n * @function\n * @memberof {modifiers~offset}\n * @private\n * @argument {String} str - Value + unit string\n * @argument {String} measurement - `height` or `width`\n * @argument {Object} popperOffsets\n * @argument {Object} referenceOffsets\n * @returns {Number|String}\n * Value in pixels, or original string if no values were extracted\n */\nfunction toValue(str, measurement, popperOffsets, referenceOffsets) {\n  // separate value from unit\n  var split = str.match(/((?:\\-|\\+)?\\d*\\.?\\d*)(.*)/);\n  var value = +split[1];\n  var unit = split[2];\n\n  // If it's not a number it's an operator, I guess\n  if (!value) {\n    return str;\n  }\n\n  if (unit.indexOf('%') === 0) {\n    var element = void 0;\n    switch (unit) {\n      case '%p':\n        element = popperOffsets;\n        break;\n      case '%':\n      case '%r':\n      default:\n        element = referenceOffsets;\n    }\n\n    var rect = getClientRect(element);\n    return rect[measurement] / 100 * value;\n  } else if (unit === 'vh' || unit === 'vw') {\n    // if is a vh or vw, we calculate the size based on the viewport\n    var size = void 0;\n    if (unit === 'vh') {\n      size = Math.max(document.documentElement.clientHeight, window.innerHeight || 0);\n    } else {\n      size = Math.max(document.documentElement.clientWidth, window.innerWidth || 0);\n    }\n    return size / 100 * value;\n  } else {\n    // if is an explicit pixel unit, we get rid of the unit and keep the value\n    // if is an implicit unit, it's px, and we return just the value\n    return value;\n  }\n}\n\n/**\n * Parse an `offset` string to extrapolate `x` and `y` numeric offsets.\n * @function\n * @memberof {modifiers~offset}\n * @private\n * @argument {String} offset\n * @argument {Object} popperOffsets\n * @argument {Object} referenceOffsets\n * @argument {String} basePlacement\n * @returns {Array} a two cells array with x and y offsets in numbers\n */\nfunction parseOffset(offset, popperOffsets, referenceOffsets, basePlacement) {\n  var offsets = [0, 0];\n\n  // Use height if placement is left or right and index is 0 otherwise use width\n  // in this way the first offset will use an axis and the second one\n  // will use the other one\n  var useHeight = ['right', 'left'].indexOf(basePlacement) !== -1;\n\n  // Split the offset string to obtain a list of values and operands\n  // The regex addresses values with the plus or minus sign in front (+10, -20, etc)\n  var fragments = offset.split(/(\\+|\\-)/).map(function (frag) {\n    return frag.trim();\n  });\n\n  // Detect if the offset string contains a pair of values or a single one\n  // they could be separated by comma or space\n  var divider = fragments.indexOf(find(fragments, function (frag) {\n    return frag.search(/,|\\s/) !== -1;\n  }));\n\n  if (fragments[divider] && fragments[divider].indexOf(',') === -1) {\n    console.warn('Offsets separated by white space(s) are deprecated, use a comma (,) instead.');\n  }\n\n  // If divider is found, we divide the list of values and operands to divide\n  // them by ofset X and Y.\n  var splitRegex = /\\s*,\\s*|\\s+/;\n  var ops = divider !== -1 ? [fragments.slice(0, divider).concat([fragments[divider].split(splitRegex)[0]]), [fragments[divider].split(splitRegex)[1]].concat(fragments.slice(divider + 1))] : [fragments];\n\n  // Convert the values with units to absolute pixels to allow our computations\n  ops = ops.map(function (op, index) {\n    // Most of the units rely on the orientation of the popper\n    var measurement = (index === 1 ? !useHeight : useHeight) ? 'height' : 'width';\n    var mergeWithPrevious = false;\n    return op\n    // This aggregates any `+` or `-` sign that aren't considered operators\n    // e.g.: 10 + +5 => [10, +, +5]\n    .reduce(function (a, b) {\n      if (a[a.length - 1] === '' && ['+', '-'].indexOf(b) !== -1) {\n        a[a.length - 1] = b;\n        mergeWithPrevious = true;\n        return a;\n      } else if (mergeWithPrevious) {\n        a[a.length - 1] += b;\n        mergeWithPrevious = false;\n        return a;\n      } else {\n        return a.concat(b);\n      }\n    }, [])\n    // Here we convert the string values into number values (in px)\n    .map(function (str) {\n      return toValue(str, measurement, popperOffsets, referenceOffsets);\n    });\n  });\n\n  // Loop trough the offsets arrays and execute the operations\n  ops.forEach(function (op, index) {\n    op.forEach(function (frag, index2) {\n      if (isNumeric(frag)) {\n        offsets[index] += frag * (op[index2 - 1] === '-' ? -1 : 1);\n      }\n    });\n  });\n  return offsets;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @argument {Number|String} options.offset=0\n * The offset value as described in the modifier description\n * @returns {Object} The data object, properly modified\n */\nfunction offset(data, _ref) {\n  var offset = _ref.offset;\n  var placement = data.placement,\n      _data$offsets = data.offsets,\n      popper = _data$offsets.popper,\n      reference = _data$offsets.reference;\n\n  var basePlacement = placement.split('-')[0];\n\n  var offsets = void 0;\n  if (isNumeric(+offset)) {\n    offsets = [+offset, 0];\n  } else {\n    offsets = parseOffset(offset, popper, reference, basePlacement);\n  }\n\n  if (basePlacement === 'left') {\n    popper.top += offsets[0];\n    popper.left -= offsets[1];\n  } else if (basePlacement === 'right') {\n    popper.top += offsets[0];\n    popper.left += offsets[1];\n  } else if (basePlacement === 'top') {\n    popper.left += offsets[0];\n    popper.top -= offsets[1];\n  } else if (basePlacement === 'bottom') {\n    popper.left += offsets[0];\n    popper.top += offsets[1];\n  }\n\n  data.popper = popper;\n  return data;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction preventOverflow(data, options) {\n  var boundariesElement = options.boundariesElement || getOffsetParent(data.instance.popper);\n\n  // If offsetParent is the reference element, we really want to\n  // go one step up and use the next offsetParent as reference to\n  // avoid to make this modifier completely useless and look like broken\n  if (data.instance.reference === boundariesElement) {\n    boundariesElement = getOffsetParent(boundariesElement);\n  }\n\n  // NOTE: DOM access here\n  // resets the popper's position so that the document size can be calculated excluding\n  // the size of the popper element itself\n  var transformProp = getSupportedPropertyName('transform');\n  var popperStyles = data.instance.popper.style; // assignment to help minification\n  var top = popperStyles.top,\n      left = popperStyles.left,\n      transform = popperStyles[transformProp];\n\n  popperStyles.top = '';\n  popperStyles.left = '';\n  popperStyles[transformProp] = '';\n\n  var boundaries = getBoundaries(data.instance.popper, data.instance.reference, options.padding, boundariesElement, data.positionFixed);\n\n  // NOTE: DOM access here\n  // restores the original style properties after the offsets have been computed\n  popperStyles.top = top;\n  popperStyles.left = left;\n  popperStyles[transformProp] = transform;\n\n  options.boundaries = boundaries;\n\n  var order = options.priority;\n  var popper = data.offsets.popper;\n\n  var check = {\n    primary: function primary(placement) {\n      var value = popper[placement];\n      if (popper[placement] < boundaries[placement] && !options.escapeWithReference) {\n        value = Math.max(popper[placement], boundaries[placement]);\n      }\n      return defineProperty({}, placement, value);\n    },\n    secondary: function secondary(placement) {\n      var mainSide = placement === 'right' ? 'left' : 'top';\n      var value = popper[mainSide];\n      if (popper[placement] > boundaries[placement] && !options.escapeWithReference) {\n        value = Math.min(popper[mainSide], boundaries[placement] - (placement === 'right' ? popper.width : popper.height));\n      }\n      return defineProperty({}, mainSide, value);\n    }\n  };\n\n  order.forEach(function (placement) {\n    var side = ['left', 'top'].indexOf(placement) !== -1 ? 'primary' : 'secondary';\n    popper = _extends({}, popper, check[side](placement));\n  });\n\n  data.offsets.popper = popper;\n\n  return data;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction shift(data) {\n  var placement = data.placement;\n  var basePlacement = placement.split('-')[0];\n  var shiftvariation = placement.split('-')[1];\n\n  // if shift shiftvariation is specified, run the modifier\n  if (shiftvariation) {\n    var _data$offsets = data.offsets,\n        reference = _data$offsets.reference,\n        popper = _data$offsets.popper;\n\n    var isVertical = ['bottom', 'top'].indexOf(basePlacement) !== -1;\n    var side = isVertical ? 'left' : 'top';\n    var measurement = isVertical ? 'width' : 'height';\n\n    var shiftOffsets = {\n      start: defineProperty({}, side, reference[side]),\n      end: defineProperty({}, side, reference[side] + reference[measurement] - popper[measurement])\n    };\n\n    data.offsets.popper = _extends({}, popper, shiftOffsets[shiftvariation]);\n  }\n\n  return data;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction hide(data) {\n  if (!isModifierRequired(data.instance.modifiers, 'hide', 'preventOverflow')) {\n    return data;\n  }\n\n  var refRect = data.offsets.reference;\n  var bound = find(data.instance.modifiers, function (modifier) {\n    return modifier.name === 'preventOverflow';\n  }).boundaries;\n\n  if (refRect.bottom < bound.top || refRect.left > bound.right || refRect.top > bound.bottom || refRect.right < bound.left) {\n    // Avoid unnecessary DOM access if visibility hasn't changed\n    if (data.hide === true) {\n      return data;\n    }\n\n    data.hide = true;\n    data.attributes['x-out-of-boundaries'] = '';\n  } else {\n    // Avoid unnecessary DOM access if visibility hasn't changed\n    if (data.hide === false) {\n      return data;\n    }\n\n    data.hide = false;\n    data.attributes['x-out-of-boundaries'] = false;\n  }\n\n  return data;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction inner(data) {\n  var placement = data.placement;\n  var basePlacement = placement.split('-')[0];\n  var _data$offsets = data.offsets,\n      popper = _data$offsets.popper,\n      reference = _data$offsets.reference;\n\n  var isHoriz = ['left', 'right'].indexOf(basePlacement) !== -1;\n\n  var subtractLength = ['top', 'left'].indexOf(basePlacement) === -1;\n\n  popper[isHoriz ? 'left' : 'top'] = reference[basePlacement] - (subtractLength ? popper[isHoriz ? 'width' : 'height'] : 0);\n\n  data.placement = getOppositePlacement(placement);\n  data.offsets.popper = getClientRect(popper);\n\n  return data;\n}\n\n/**\n * Modifier function, each modifier can have a function of this type assigned\n * to its `fn` property.<br />\n * These functions will be called on each update, this means that you must\n * make sure they are performant enough to avoid performance bottlenecks.\n *\n * @function ModifierFn\n * @argument {dataObject} data - The data object generated by `update` method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {dataObject} The data object, properly modified\n */\n\n/**\n * Modifiers are plugins used to alter the behavior of your poppers.<br />\n * Popper.js uses a set of 9 modifiers to provide all the basic functionalities\n * needed by the library.\n *\n * Usually you don't want to override the `order`, `fn` and `onLoad` props.\n * All the other properties are configurations that could be tweaked.\n * @namespace modifiers\n */\nvar modifiers = {\n  /**\n   * Modifier used to shift the popper on the start or end of its reference\n   * element.<br />\n   * It will read the variation of the `placement` property.<br />\n   * It can be one either `-end` or `-start`.\n   * @memberof modifiers\n   * @inner\n   */\n  shift: {\n    /** @prop {number} order=100 - Index used to define the order of execution */\n    order: 100,\n    /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n    enabled: true,\n    /** @prop {ModifierFn} */\n    fn: shift\n  },\n\n  /**\n   * The `offset` modifier can shift your popper on both its axis.\n   *\n   * It accepts the following units:\n   * - `px` or unit-less, interpreted as pixels\n   * - `%` or `%r`, percentage relative to the length of the reference element\n   * - `%p`, percentage relative to the length of the popper element\n   * - `vw`, CSS viewport width unit\n   * - `vh`, CSS viewport height unit\n   *\n   * For length is intended the main axis relative to the placement of the popper.<br />\n   * This means that if the placement is `top` or `bottom`, the length will be the\n   * `width`. In case of `left` or `right`, it will be the `height`.\n   *\n   * You can provide a single value (as `Number` or `String`), or a pair of values\n   * as `String` divided by a comma or one (or more) white spaces.<br />\n   * The latter is a deprecated method because it leads to confusion and will be\n   * removed in v2.<br />\n   * Additionally, it accepts additions and subtractions between different units.\n   * Note that multiplications and divisions aren't supported.\n   *\n   * Valid examples are:\n   * ```\n   * 10\n   * '10%'\n   * '10, 10'\n   * '10%, 10'\n   * '10 + 10%'\n   * '10 - 5vh + 3%'\n   * '-10px + 5vh, 5px - 6%'\n   * ```\n   * > **NB**: If you desire to apply offsets to your poppers in a way that may make them overlap\n   * > with their reference element, unfortunately, you will have to disable the `flip` modifier.\n   * > You can read more on this at this [issue](https://github.com/FezVrasta/popper.js/issues/373).\n   *\n   * @memberof modifiers\n   * @inner\n   */\n  offset: {\n    /** @prop {number} order=200 - Index used to define the order of execution */\n    order: 200,\n    /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n    enabled: true,\n    /** @prop {ModifierFn} */\n    fn: offset,\n    /** @prop {Number|String} offset=0\n     * The offset value as described in the modifier description\n     */\n    offset: 0\n  },\n\n  /**\n   * Modifier used to prevent the popper from being positioned outside the boundary.\n   *\n   * A scenario exists where the reference itself is not within the boundaries.<br />\n   * We can say it has \"escaped the boundaries\" — or just \"escaped\".<br />\n   * In this case we need to decide whether the popper should either:\n   *\n   * - detach from the reference and remain \"trapped\" in the boundaries, or\n   * - if it should ignore the boundary and \"escape with its reference\"\n   *\n   * When `escapeWithReference` is set to`true` and reference is completely\n   * outside its boundaries, the popper will overflow (or completely leave)\n   * the boundaries in order to remain attached to the edge of the reference.\n   *\n   * @memberof modifiers\n   * @inner\n   */\n  preventOverflow: {\n    /** @prop {number} order=300 - Index used to define the order of execution */\n    order: 300,\n    /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n    enabled: true,\n    /** @prop {ModifierFn} */\n    fn: preventOverflow,\n    /**\n     * @prop {Array} [priority=['left','right','top','bottom']]\n     * Popper will try to prevent overflow following these priorities by default,\n     * then, it could overflow on the left and on top of the `boundariesElement`\n     */\n    priority: ['left', 'right', 'top', 'bottom'],\n    /**\n     * @prop {number} padding=5\n     * Amount of pixel used to define a minimum distance between the boundaries\n     * and the popper. This makes sure the popper always has a little padding\n     * between the edges of its container\n     */\n    padding: 5,\n    /**\n     * @prop {String|HTMLElement} boundariesElement='scrollParent'\n     * Boundaries used by the modifier. Can be `scrollParent`, `window`,\n     * `viewport` or any DOM element.\n     */\n    boundariesElement: 'scrollParent'\n  },\n\n  /**\n   * Modifier used to make sure the reference and its popper stay near each other\n   * without leaving any gap between the two. Especially useful when the arrow is\n   * enabled and you want to ensure that it points to its reference element.\n   * It cares only about the first axis. You can still have poppers with margin\n   * between the popper and its reference element.\n   * @memberof modifiers\n   * @inner\n   */\n  keepTogether: {\n    /** @prop {number} order=400 - Index used to define the order of execution */\n    order: 400,\n    /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n    enabled: true,\n    /** @prop {ModifierFn} */\n    fn: keepTogether\n  },\n\n  /**\n   * This modifier is used to move the `arrowElement` of the popper to make\n   * sure it is positioned between the reference element and its popper element.\n   * It will read the outer size of the `arrowElement` node to detect how many\n   * pixels of conjunction are needed.\n   *\n   * It has no effect if no `arrowElement` is provided.\n   * @memberof modifiers\n   * @inner\n   */\n  arrow: {\n    /** @prop {number} order=500 - Index used to define the order of execution */\n    order: 500,\n    /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n    enabled: true,\n    /** @prop {ModifierFn} */\n    fn: arrow,\n    /** @prop {String|HTMLElement} element='[x-arrow]' - Selector or node used as arrow */\n    element: '[x-arrow]'\n  },\n\n  /**\n   * Modifier used to flip the popper's placement when it starts to overlap its\n   * reference element.\n   *\n   * Requires the `preventOverflow` modifier before it in order to work.\n   *\n   * **NOTE:** this modifier will interrupt the current update cycle and will\n   * restart it if it detects the need to flip the placement.\n   * @memberof modifiers\n   * @inner\n   */\n  flip: {\n    /** @prop {number} order=600 - Index used to define the order of execution */\n    order: 600,\n    /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n    enabled: true,\n    /** @prop {ModifierFn} */\n    fn: flip,\n    /**\n     * @prop {String|Array} behavior='flip'\n     * The behavior used to change the popper's placement. It can be one of\n     * `flip`, `clockwise`, `counterclockwise` or an array with a list of valid\n     * placements (with optional variations)\n     */\n    behavior: 'flip',\n    /**\n     * @prop {number} padding=5\n     * The popper will flip if it hits the edges of the `boundariesElement`\n     */\n    padding: 5,\n    /**\n     * @prop {String|HTMLElement} boundariesElement='viewport'\n     * The element which will define the boundaries of the popper position.\n     * The popper will never be placed outside of the defined boundaries\n     * (except if `keepTogether` is enabled)\n     */\n    boundariesElement: 'viewport',\n    /**\n     * @prop {Boolean} flipVariations=false\n     * The popper will switch placement variation between `-start` and `-end` when\n     * the reference element overlaps its boundaries.\n     *\n     * The original placement should have a set variation.\n     */\n    flipVariations: false,\n    /**\n     * @prop {Boolean} flipVariationsByContent=false\n     * The popper will switch placement variation between `-start` and `-end` when\n     * the popper element overlaps its reference boundaries.\n     *\n     * The original placement should have a set variation.\n     */\n    flipVariationsByContent: false\n  },\n\n  /**\n   * Modifier used to make the popper flow toward the inner of the reference element.\n   * By default, when this modifier is disabled, the popper will be placed outside\n   * the reference element.\n   * @memberof modifiers\n   * @inner\n   */\n  inner: {\n    /** @prop {number} order=700 - Index used to define the order of execution */\n    order: 700,\n    /** @prop {Boolean} enabled=false - Whether the modifier is enabled or not */\n    enabled: false,\n    /** @prop {ModifierFn} */\n    fn: inner\n  },\n\n  /**\n   * Modifier used to hide the popper when its reference element is outside of the\n   * popper boundaries. It will set a `x-out-of-boundaries` attribute which can\n   * be used to hide with a CSS selector the popper when its reference is\n   * out of boundaries.\n   *\n   * Requires the `preventOverflow` modifier before it in order to work.\n   * @memberof modifiers\n   * @inner\n   */\n  hide: {\n    /** @prop {number} order=800 - Index used to define the order of execution */\n    order: 800,\n    /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n    enabled: true,\n    /** @prop {ModifierFn} */\n    fn: hide\n  },\n\n  /**\n   * Computes the style that will be applied to the popper element to gets\n   * properly positioned.\n   *\n   * Note that this modifier will not touch the DOM, it just prepares the styles\n   * so that `applyStyle` modifier can apply it. This separation is useful\n   * in case you need to replace `applyStyle` with a custom implementation.\n   *\n   * This modifier has `850` as `order` value to maintain backward compatibility\n   * with previous versions of Popper.js. Expect the modifiers ordering method\n   * to change in future major versions of the library.\n   *\n   * @memberof modifiers\n   * @inner\n   */\n  computeStyle: {\n    /** @prop {number} order=850 - Index used to define the order of execution */\n    order: 850,\n    /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n    enabled: true,\n    /** @prop {ModifierFn} */\n    fn: computeStyle,\n    /**\n     * @prop {Boolean} gpuAcceleration=true\n     * If true, it uses the CSS 3D transformation to position the popper.\n     * Otherwise, it will use the `top` and `left` properties\n     */\n    gpuAcceleration: true,\n    /**\n     * @prop {string} [x='bottom']\n     * Where to anchor the X axis (`bottom` or `top`). AKA X offset origin.\n     * Change this if your popper should grow in a direction different from `bottom`\n     */\n    x: 'bottom',\n    /**\n     * @prop {string} [x='left']\n     * Where to anchor the Y axis (`left` or `right`). AKA Y offset origin.\n     * Change this if your popper should grow in a direction different from `right`\n     */\n    y: 'right'\n  },\n\n  /**\n   * Applies the computed styles to the popper element.\n   *\n   * All the DOM manipulations are limited to this modifier. This is useful in case\n   * you want to integrate Popper.js inside a framework or view library and you\n   * want to delegate all the DOM manipulations to it.\n   *\n   * Note that if you disable this modifier, you must make sure the popper element\n   * has its position set to `absolute` before Popper.js can do its work!\n   *\n   * Just disable this modifier and define your own to achieve the desired effect.\n   *\n   * @memberof modifiers\n   * @inner\n   */\n  applyStyle: {\n    /** @prop {number} order=900 - Index used to define the order of execution */\n    order: 900,\n    /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n    enabled: true,\n    /** @prop {ModifierFn} */\n    fn: applyStyle,\n    /** @prop {Function} */\n    onLoad: applyStyleOnLoad,\n    /**\n     * @deprecated since version 1.10.0, the property moved to `computeStyle` modifier\n     * @prop {Boolean} gpuAcceleration=true\n     * If true, it uses the CSS 3D transformation to position the popper.\n     * Otherwise, it will use the `top` and `left` properties\n     */\n    gpuAcceleration: undefined\n  }\n};\n\n/**\n * The `dataObject` is an object containing all the information used by Popper.js.\n * This object is passed to modifiers and to the `onCreate` and `onUpdate` callbacks.\n * @name dataObject\n * @property {Object} data.instance The Popper.js instance\n * @property {String} data.placement Placement applied to popper\n * @property {String} data.originalPlacement Placement originally defined on init\n * @property {Boolean} data.flipped True if popper has been flipped by flip modifier\n * @property {Boolean} data.hide True if the reference element is out of boundaries, useful to know when to hide the popper\n * @property {HTMLElement} data.arrowElement Node used as arrow by arrow modifier\n * @property {Object} data.styles Any CSS property defined here will be applied to the popper. It expects the JavaScript nomenclature (eg. `marginBottom`)\n * @property {Object} data.arrowStyles Any CSS property defined here will be applied to the popper arrow. It expects the JavaScript nomenclature (eg. `marginBottom`)\n * @property {Object} data.boundaries Offsets of the popper boundaries\n * @property {Object} data.offsets The measurements of popper, reference and arrow elements\n * @property {Object} data.offsets.popper `top`, `left`, `width`, `height` values\n * @property {Object} data.offsets.reference `top`, `left`, `width`, `height` values\n * @property {Object} data.offsets.arrow] `top` and `left` offsets, only one of them will be different from 0\n */\n\n/**\n * Default options provided to Popper.js constructor.<br />\n * These can be overridden using the `options` argument of Popper.js.<br />\n * To override an option, simply pass an object with the same\n * structure of the `options` object, as the 3rd argument. For example:\n * ```\n * new Popper(ref, pop, {\n *   modifiers: {\n *     preventOverflow: { enabled: false }\n *   }\n * })\n * ```\n * @type {Object}\n * @static\n * @memberof Popper\n */\nvar Defaults = {\n  /**\n   * Popper's placement.\n   * @prop {Popper.placements} placement='bottom'\n   */\n  placement: 'bottom',\n\n  /**\n   * Set this to true if you want popper to position it self in 'fixed' mode\n   * @prop {Boolean} positionFixed=false\n   */\n  positionFixed: false,\n\n  /**\n   * Whether events (resize, scroll) are initially enabled.\n   * @prop {Boolean} eventsEnabled=true\n   */\n  eventsEnabled: true,\n\n  /**\n   * Set to true if you want to automatically remove the popper when\n   * you call the `destroy` method.\n   * @prop {Boolean} removeOnDestroy=false\n   */\n  removeOnDestroy: false,\n\n  /**\n   * Callback called when the popper is created.<br />\n   * By default, it is set to no-op.<br />\n   * Access Popper.js instance with `data.instance`.\n   * @prop {onCreate}\n   */\n  onCreate: function onCreate() {},\n\n  /**\n   * Callback called when the popper is updated. This callback is not called\n   * on the initialization/creation of the popper, but only on subsequent\n   * updates.<br />\n   * By default, it is set to no-op.<br />\n   * Access Popper.js instance with `data.instance`.\n   * @prop {onUpdate}\n   */\n  onUpdate: function onUpdate() {},\n\n  /**\n   * List of modifiers used to modify the offsets before they are applied to the popper.\n   * They provide most of the functionalities of Popper.js.\n   * @prop {modifiers}\n   */\n  modifiers: modifiers\n};\n\n/**\n * @callback onCreate\n * @param {dataObject} data\n */\n\n/**\n * @callback onUpdate\n * @param {dataObject} data\n */\n\n// Utils\n// Methods\nvar Popper = function () {\n  /**\n   * Creates a new Popper.js instance.\n   * @class Popper\n   * @param {Element|referenceObject} reference - The reference element used to position the popper\n   * @param {Element} popper - The HTML / XML element used as the popper\n   * @param {Object} options - Your custom options to override the ones defined in [Defaults](#defaults)\n   * @return {Object} instance - The generated Popper.js instance\n   */\n  function Popper(reference, popper) {\n    var _this = this;\n\n    var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n    classCallCheck(this, Popper);\n\n    this.scheduleUpdate = function () {\n      return requestAnimationFrame(_this.update);\n    };\n\n    // make update() debounced, so that it only runs at most once-per-tick\n    this.update = debounce(this.update.bind(this));\n\n    // with {} we create a new object with the options inside it\n    this.options = _extends({}, Popper.Defaults, options);\n\n    // init state\n    this.state = {\n      isDestroyed: false,\n      isCreated: false,\n      scrollParents: []\n    };\n\n    // get reference and popper elements (allow jQuery wrappers)\n    this.reference = reference && reference.jquery ? reference[0] : reference;\n    this.popper = popper && popper.jquery ? popper[0] : popper;\n\n    // Deep merge modifiers options\n    this.options.modifiers = {};\n    Object.keys(_extends({}, Popper.Defaults.modifiers, options.modifiers)).forEach(function (name) {\n      _this.options.modifiers[name] = _extends({}, Popper.Defaults.modifiers[name] || {}, options.modifiers ? options.modifiers[name] : {});\n    });\n\n    // Refactoring modifiers' list (Object => Array)\n    this.modifiers = Object.keys(this.options.modifiers).map(function (name) {\n      return _extends({\n        name: name\n      }, _this.options.modifiers[name]);\n    })\n    // sort the modifiers by order\n    .sort(function (a, b) {\n      return a.order - b.order;\n    });\n\n    // modifiers have the ability to execute arbitrary code when Popper.js get inited\n    // such code is executed in the same order of its modifier\n    // they could add new properties to their options configuration\n    // BE AWARE: don't add options to `options.modifiers.name` but to `modifierOptions`!\n    this.modifiers.forEach(function (modifierOptions) {\n      if (modifierOptions.enabled && isFunction(modifierOptions.onLoad)) {\n        modifierOptions.onLoad(_this.reference, _this.popper, _this.options, modifierOptions, _this.state);\n      }\n    });\n\n    // fire the first update to position the popper in the right place\n    this.update();\n\n    var eventsEnabled = this.options.eventsEnabled;\n    if (eventsEnabled) {\n      // setup event listeners, they will take care of update the position in specific situations\n      this.enableEventListeners();\n    }\n\n    this.state.eventsEnabled = eventsEnabled;\n  }\n\n  // We can't use class properties because they don't get listed in the\n  // class prototype and break stuff like Sinon stubs\n\n\n  createClass(Popper, [{\n    key: 'update',\n    value: function update$$1() {\n      return update.call(this);\n    }\n  }, {\n    key: 'destroy',\n    value: function destroy$$1() {\n      return destroy.call(this);\n    }\n  }, {\n    key: 'enableEventListeners',\n    value: function enableEventListeners$$1() {\n      return enableEventListeners.call(this);\n    }\n  }, {\n    key: 'disableEventListeners',\n    value: function disableEventListeners$$1() {\n      return disableEventListeners.call(this);\n    }\n\n    /**\n     * Schedules an update. It will run on the next UI update available.\n     * @method scheduleUpdate\n     * @memberof Popper\n     */\n\n\n    /**\n     * Collection of utilities useful when writing custom modifiers.\n     * Starting from version 1.7, this method is available only if you\n     * include `popper-utils.js` before `popper.js`.\n     *\n     * **DEPRECATION**: This way to access PopperUtils is deprecated\n     * and will be removed in v2! Use the PopperUtils module directly instead.\n     * Due to the high instability of the methods contained in Utils, we can't\n     * guarantee them to follow semver. Use them at your own risk!\n     * @static\n     * @private\n     * @type {Object}\n     * @deprecated since version 1.8\n     * @member Utils\n     * @memberof Popper\n     */\n\n  }]);\n  return Popper;\n}();\n\n/**\n * The `referenceObject` is an object that provides an interface compatible with Popper.js\n * and lets you use it as replacement of a real DOM node.<br />\n * You can use this method to position a popper relatively to a set of coordinates\n * in case you don't have a DOM node to use as reference.\n *\n * ```\n * new Popper(referenceObject, popperNode);\n * ```\n *\n * NB: This feature isn't supported in Internet Explorer 10.\n * @name referenceObject\n * @property {Function} data.getBoundingClientRect\n * A function that returns a set of coordinates compatible with the native `getBoundingClientRect` method.\n * @property {number} data.clientWidth\n * An ES6 getter that will return the width of the virtual reference element.\n * @property {number} data.clientHeight\n * An ES6 getter that will return the height of the virtual reference element.\n */\n\n\nPopper.Utils = (typeof window !== 'undefined' ? window : global).PopperUtils;\nPopper.placements = placements;\nPopper.Defaults = Defaults;\n\nexport default Popper;\n//# sourceMappingURL=popper.js.map\n","/*\nUnobtrusive JavaScript\nhttps://github.com/rails/rails/blob/master/actionview/app/assets/javascripts\nReleased under the MIT license\n */;\n\n(function() {\n  var context = this;\n\n  (function() {\n    (function() {\n      this.Rails = {\n        linkClickSelector: 'a[data-confirm], a[data-method], a[data-remote]:not([disabled]), a[data-disable-with], a[data-disable]',\n        buttonClickSelector: {\n          selector: 'button[data-remote]:not([form]), button[data-confirm]:not([form])',\n          exclude: 'form button'\n        },\n        inputChangeSelector: 'select[data-remote], input[data-remote], textarea[data-remote]',\n        formSubmitSelector: 'form',\n        formInputClickSelector: 'form input[type=submit], form input[type=image], form button[type=submit], form button:not([type]), input[type=submit][form], input[type=image][form], button[type=submit][form], button[form]:not([type])',\n        formDisableSelector: 'input[data-disable-with]:enabled, button[data-disable-with]:enabled, textarea[data-disable-with]:enabled, input[data-disable]:enabled, button[data-disable]:enabled, textarea[data-disable]:enabled',\n        formEnableSelector: 'input[data-disable-with]:disabled, button[data-disable-with]:disabled, textarea[data-disable-with]:disabled, input[data-disable]:disabled, button[data-disable]:disabled, textarea[data-disable]:disabled',\n        fileInputSelector: 'input[name][type=file]:not([disabled])',\n        linkDisableSelector: 'a[data-disable-with], a[data-disable]',\n        buttonDisableSelector: 'button[data-remote][data-disable-with], button[data-remote][data-disable]'\n      };\n\n    }).call(this);\n  }).call(context);\n\n  var Rails = context.Rails;\n\n  (function() {\n    (function() {\n      var nonce;\n\n      nonce = null;\n\n      Rails.loadCSPNonce = function() {\n        var ref;\n        return nonce = (ref = document.querySelector(\"meta[name=csp-nonce]\")) != null ? ref.content : void 0;\n      };\n\n      Rails.cspNonce = function() {\n        return nonce != null ? nonce : Rails.loadCSPNonce();\n      };\n\n    }).call(this);\n    (function() {\n      var expando, m;\n\n      m = Element.prototype.matches || Element.prototype.matchesSelector || Element.prototype.mozMatchesSelector || Element.prototype.msMatchesSelector || Element.prototype.oMatchesSelector || Element.prototype.webkitMatchesSelector;\n\n      Rails.matches = function(element, selector) {\n        if (selector.exclude != null) {\n          return m.call(element, selector.selector) && !m.call(element, selector.exclude);\n        } else {\n          return m.call(element, selector);\n        }\n      };\n\n      expando = '_ujsData';\n\n      Rails.getData = function(element, key) {\n        var ref;\n        return (ref = element[expando]) != null ? ref[key] : void 0;\n      };\n\n      Rails.setData = function(element, key, value) {\n        if (element[expando] == null) {\n          element[expando] = {};\n        }\n        return element[expando][key] = value;\n      };\n\n      Rails.$ = function(selector) {\n        return Array.prototype.slice.call(document.querySelectorAll(selector));\n      };\n\n    }).call(this);\n    (function() {\n      var $, csrfParam, csrfToken;\n\n      $ = Rails.$;\n\n      csrfToken = Rails.csrfToken = function() {\n        var meta;\n        meta = document.querySelector('meta[name=csrf-token]');\n        return meta && meta.content;\n      };\n\n      csrfParam = Rails.csrfParam = function() {\n        var meta;\n        meta = document.querySelector('meta[name=csrf-param]');\n        return meta && meta.content;\n      };\n\n      Rails.CSRFProtection = function(xhr) {\n        var token;\n        token = csrfToken();\n        if (token != null) {\n          return xhr.setRequestHeader('X-CSRF-Token', token);\n        }\n      };\n\n      Rails.refreshCSRFTokens = function() {\n        var param, token;\n        token = csrfToken();\n        param = csrfParam();\n        if ((token != null) && (param != null)) {\n          return $('form input[name=\"' + param + '\"]').forEach(function(input) {\n            return input.value = token;\n          });\n        }\n      };\n\n    }).call(this);\n    (function() {\n      var CustomEvent, fire, matches, preventDefault;\n\n      matches = Rails.matches;\n\n      CustomEvent = window.CustomEvent;\n\n      if (typeof CustomEvent !== 'function') {\n        CustomEvent = function(event, params) {\n          var evt;\n          evt = document.createEvent('CustomEvent');\n          evt.initCustomEvent(event, params.bubbles, params.cancelable, params.detail);\n          return evt;\n        };\n        CustomEvent.prototype = window.Event.prototype;\n        preventDefault = CustomEvent.prototype.preventDefault;\n        CustomEvent.prototype.preventDefault = function() {\n          var result;\n          result = preventDefault.call(this);\n          if (this.cancelable && !this.defaultPrevented) {\n            Object.defineProperty(this, 'defaultPrevented', {\n              get: function() {\n                return true;\n              }\n            });\n          }\n          return result;\n        };\n      }\n\n      fire = Rails.fire = function(obj, name, data) {\n        var event;\n        event = new CustomEvent(name, {\n          bubbles: true,\n          cancelable: true,\n          detail: data\n        });\n        obj.dispatchEvent(event);\n        return !event.defaultPrevented;\n      };\n\n      Rails.stopEverything = function(e) {\n        fire(e.target, 'ujs:everythingStopped');\n        e.preventDefault();\n        e.stopPropagation();\n        return e.stopImmediatePropagation();\n      };\n\n      Rails.delegate = function(element, selector, eventType, handler) {\n        return element.addEventListener(eventType, function(e) {\n          var target;\n          target = e.target;\n          while (!(!(target instanceof Element) || matches(target, selector))) {\n            target = target.parentNode;\n          }\n          if (target instanceof Element && handler.call(target, e) === false) {\n            e.preventDefault();\n            return e.stopPropagation();\n          }\n        });\n      };\n\n    }).call(this);\n    (function() {\n      var AcceptHeaders, CSRFProtection, createXHR, cspNonce, fire, prepareOptions, processResponse;\n\n      cspNonce = Rails.cspNonce, CSRFProtection = Rails.CSRFProtection, fire = Rails.fire;\n\n      AcceptHeaders = {\n        '*': '*/*',\n        text: 'text/plain',\n        html: 'text/html',\n        xml: 'application/xml, text/xml',\n        json: 'application/json, text/javascript',\n        script: 'text/javascript, application/javascript, application/ecmascript, application/x-ecmascript'\n      };\n\n      Rails.ajax = function(options) {\n        var xhr;\n        options = prepareOptions(options);\n        xhr = createXHR(options, function() {\n          var ref, response;\n          response = processResponse((ref = xhr.response) != null ? ref : xhr.responseText, xhr.getResponseHeader('Content-Type'));\n          if (Math.floor(xhr.status / 100) === 2) {\n            if (typeof options.success === \"function\") {\n              options.success(response, xhr.statusText, xhr);\n            }\n          } else {\n            if (typeof options.error === \"function\") {\n              options.error(response, xhr.statusText, xhr);\n            }\n          }\n          return typeof options.complete === \"function\" ? options.complete(xhr, xhr.statusText) : void 0;\n        });\n        if ((options.beforeSend != null) && !options.beforeSend(xhr, options)) {\n          return false;\n        }\n        if (xhr.readyState === XMLHttpRequest.OPENED) {\n          return xhr.send(options.data);\n        }\n      };\n\n      prepareOptions = function(options) {\n        options.url = options.url || location.href;\n        options.type = options.type.toUpperCase();\n        if (options.type === 'GET' && options.data) {\n          if (options.url.indexOf('?') < 0) {\n            options.url += '?' + options.data;\n          } else {\n            options.url += '&' + options.data;\n          }\n        }\n        if (AcceptHeaders[options.dataType] == null) {\n          options.dataType = '*';\n        }\n        options.accept = AcceptHeaders[options.dataType];\n        if (options.dataType !== '*') {\n          options.accept += ', */*; q=0.01';\n        }\n        return options;\n      };\n\n      createXHR = function(options, done) {\n        var xhr;\n        xhr = new XMLHttpRequest();\n        xhr.open(options.type, options.url, true);\n        xhr.setRequestHeader('Accept', options.accept);\n        if (typeof options.data === 'string') {\n          xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8');\n        }\n        if (!options.crossDomain) {\n          xhr.setRequestHeader('X-Requested-With', 'XMLHttpRequest');\n          CSRFProtection(xhr);\n        }\n        xhr.withCredentials = !!options.withCredentials;\n        xhr.onreadystatechange = function() {\n          if (xhr.readyState === XMLHttpRequest.DONE) {\n            return done(xhr);\n          }\n        };\n        return xhr;\n      };\n\n      processResponse = function(response, type) {\n        var parser, script;\n        if (typeof response === 'string' && typeof type === 'string') {\n          if (type.match(/\\bjson\\b/)) {\n            try {\n              response = JSON.parse(response);\n            } catch (error) {}\n          } else if (type.match(/\\b(?:java|ecma)script\\b/)) {\n            script = document.createElement('script');\n            script.setAttribute('nonce', cspNonce());\n            script.text = response;\n            document.head.appendChild(script).parentNode.removeChild(script);\n          } else if (type.match(/\\b(xml|html|svg)\\b/)) {\n            parser = new DOMParser();\n            type = type.replace(/;.+/, '');\n            try {\n              response = parser.parseFromString(response, type);\n            } catch (error) {}\n          }\n        }\n        return response;\n      };\n\n      Rails.href = function(element) {\n        return element.href;\n      };\n\n      Rails.isCrossDomain = function(url) {\n        var e, originAnchor, urlAnchor;\n        originAnchor = document.createElement('a');\n        originAnchor.href = location.href;\n        urlAnchor = document.createElement('a');\n        try {\n          urlAnchor.href = url;\n          return !(((!urlAnchor.protocol || urlAnchor.protocol === ':') && !urlAnchor.host) || (originAnchor.protocol + '//' + originAnchor.host === urlAnchor.protocol + '//' + urlAnchor.host));\n        } catch (error) {\n          e = error;\n          return true;\n        }\n      };\n\n    }).call(this);\n    (function() {\n      var matches, toArray;\n\n      matches = Rails.matches;\n\n      toArray = function(e) {\n        return Array.prototype.slice.call(e);\n      };\n\n      Rails.serializeElement = function(element, additionalParam) {\n        var inputs, params;\n        inputs = [element];\n        if (matches(element, 'form')) {\n          inputs = toArray(element.elements);\n        }\n        params = [];\n        inputs.forEach(function(input) {\n          if (!input.name || input.disabled) {\n            return;\n          }\n          if (matches(input, 'select')) {\n            return toArray(input.options).forEach(function(option) {\n              if (option.selected) {\n                return params.push({\n                  name: input.name,\n                  value: option.value\n                });\n              }\n            });\n          } else if (input.checked || ['radio', 'checkbox', 'submit'].indexOf(input.type) === -1) {\n            return params.push({\n              name: input.name,\n              value: input.value\n            });\n          }\n        });\n        if (additionalParam) {\n          params.push(additionalParam);\n        }\n        return params.map(function(param) {\n          if (param.name != null) {\n            return (encodeURIComponent(param.name)) + \"=\" + (encodeURIComponent(param.value));\n          } else {\n            return param;\n          }\n        }).join('&');\n      };\n\n      Rails.formElements = function(form, selector) {\n        if (matches(form, 'form')) {\n          return toArray(form.elements).filter(function(el) {\n            return matches(el, selector);\n          });\n        } else {\n          return toArray(form.querySelectorAll(selector));\n        }\n      };\n\n    }).call(this);\n    (function() {\n      var allowAction, fire, stopEverything;\n\n      fire = Rails.fire, stopEverything = Rails.stopEverything;\n\n      Rails.handleConfirm = function(e) {\n        if (!allowAction(this)) {\n          return stopEverything(e);\n        }\n      };\n\n      allowAction = function(element) {\n        var answer, callback, message;\n        message = element.getAttribute('data-confirm');\n        if (!message) {\n          return true;\n        }\n        answer = false;\n        if (fire(element, 'confirm')) {\n          try {\n            answer = confirm(message);\n          } catch (error) {}\n          callback = fire(element, 'confirm:complete', [answer]);\n        }\n        return answer && callback;\n      };\n\n    }).call(this);\n    (function() {\n      var disableFormElement, disableFormElements, disableLinkElement, enableFormElement, enableFormElements, enableLinkElement, formElements, getData, matches, setData, stopEverything;\n\n      matches = Rails.matches, getData = Rails.getData, setData = Rails.setData, stopEverything = Rails.stopEverything, formElements = Rails.formElements;\n\n      Rails.handleDisabledElement = function(e) {\n        var element;\n        element = this;\n        if (element.disabled) {\n          return stopEverything(e);\n        }\n      };\n\n      Rails.enableElement = function(e) {\n        var element;\n        element = e instanceof Event ? e.target : e;\n        if (matches(element, Rails.linkDisableSelector)) {\n          return enableLinkElement(element);\n        } else if (matches(element, Rails.buttonDisableSelector) || matches(element, Rails.formEnableSelector)) {\n          return enableFormElement(element);\n        } else if (matches(element, Rails.formSubmitSelector)) {\n          return enableFormElements(element);\n        }\n      };\n\n      Rails.disableElement = function(e) {\n        var element;\n        element = e instanceof Event ? e.target : e;\n        if (matches(element, Rails.linkDisableSelector)) {\n          return disableLinkElement(element);\n        } else if (matches(element, Rails.buttonDisableSelector) || matches(element, Rails.formDisableSelector)) {\n          return disableFormElement(element);\n        } else if (matches(element, Rails.formSubmitSelector)) {\n          return disableFormElements(element);\n        }\n      };\n\n      disableLinkElement = function(element) {\n        var replacement;\n        replacement = element.getAttribute('data-disable-with');\n        if (replacement != null) {\n          setData(element, 'ujs:enable-with', element.innerHTML);\n          element.innerHTML = replacement;\n        }\n        element.addEventListener('click', stopEverything);\n        return setData(element, 'ujs:disabled', true);\n      };\n\n      enableLinkElement = function(element) {\n        var originalText;\n        originalText = getData(element, 'ujs:enable-with');\n        if (originalText != null) {\n          element.innerHTML = originalText;\n          setData(element, 'ujs:enable-with', null);\n        }\n        element.removeEventListener('click', stopEverything);\n        return setData(element, 'ujs:disabled', null);\n      };\n\n      disableFormElements = function(form) {\n        return formElements(form, Rails.formDisableSelector).forEach(disableFormElement);\n      };\n\n      disableFormElement = function(element) {\n        var replacement;\n        replacement = element.getAttribute('data-disable-with');\n        if (replacement != null) {\n          if (matches(element, 'button')) {\n            setData(element, 'ujs:enable-with', element.innerHTML);\n            element.innerHTML = replacement;\n          } else {\n            setData(element, 'ujs:enable-with', element.value);\n            element.value = replacement;\n          }\n        }\n        element.disabled = true;\n        return setData(element, 'ujs:disabled', true);\n      };\n\n      enableFormElements = function(form) {\n        return formElements(form, Rails.formEnableSelector).forEach(enableFormElement);\n      };\n\n      enableFormElement = function(element) {\n        var originalText;\n        originalText = getData(element, 'ujs:enable-with');\n        if (originalText != null) {\n          if (matches(element, 'button')) {\n            element.innerHTML = originalText;\n          } else {\n            element.value = originalText;\n          }\n          setData(element, 'ujs:enable-with', null);\n        }\n        element.disabled = false;\n        return setData(element, 'ujs:disabled', null);\n      };\n\n    }).call(this);\n    (function() {\n      var stopEverything;\n\n      stopEverything = Rails.stopEverything;\n\n      Rails.handleMethod = function(e) {\n        var csrfParam, csrfToken, form, formContent, href, link, method;\n        link = this;\n        method = link.getAttribute('data-method');\n        if (!method) {\n          return;\n        }\n        href = Rails.href(link);\n        csrfToken = Rails.csrfToken();\n        csrfParam = Rails.csrfParam();\n        form = document.createElement('form');\n        formContent = \"<input name='_method' value='\" + method + \"' type='hidden' />\";\n        if ((csrfParam != null) && (csrfToken != null) && !Rails.isCrossDomain(href)) {\n          formContent += \"<input name='\" + csrfParam + \"' value='\" + csrfToken + \"' type='hidden' />\";\n        }\n        formContent += '<input type=\"submit\" />';\n        form.method = 'post';\n        form.action = href;\n        form.target = link.target;\n        form.innerHTML = formContent;\n        form.style.display = 'none';\n        document.body.appendChild(form);\n        form.querySelector('[type=\"submit\"]').click();\n        return stopEverything(e);\n      };\n\n    }).call(this);\n    (function() {\n      var ajax, fire, getData, isCrossDomain, isRemote, matches, serializeElement, setData, stopEverything,\n        slice = [].slice;\n\n      matches = Rails.matches, getData = Rails.getData, setData = Rails.setData, fire = Rails.fire, stopEverything = Rails.stopEverything, ajax = Rails.ajax, isCrossDomain = Rails.isCrossDomain, serializeElement = Rails.serializeElement;\n\n      isRemote = function(element) {\n        var value;\n        value = element.getAttribute('data-remote');\n        return (value != null) && value !== 'false';\n      };\n\n      Rails.handleRemote = function(e) {\n        var button, data, dataType, element, method, url, withCredentials;\n        element = this;\n        if (!isRemote(element)) {\n          return true;\n        }\n        if (!fire(element, 'ajax:before')) {\n          fire(element, 'ajax:stopped');\n          return false;\n        }\n        withCredentials = element.getAttribute('data-with-credentials');\n        dataType = element.getAttribute('data-type') || 'script';\n        if (matches(element, Rails.formSubmitSelector)) {\n          button = getData(element, 'ujs:submit-button');\n          method = getData(element, 'ujs:submit-button-formmethod') || element.method;\n          url = getData(element, 'ujs:submit-button-formaction') || element.getAttribute('action') || location.href;\n          if (method.toUpperCase() === 'GET') {\n            url = url.replace(/\\?.*$/, '');\n          }\n          if (element.enctype === 'multipart/form-data') {\n            data = new FormData(element);\n            if (button != null) {\n              data.append(button.name, button.value);\n            }\n          } else {\n            data = serializeElement(element, button);\n          }\n          setData(element, 'ujs:submit-button', null);\n          setData(element, 'ujs:submit-button-formmethod', null);\n          setData(element, 'ujs:submit-button-formaction', null);\n        } else if (matches(element, Rails.buttonClickSelector) || matches(element, Rails.inputChangeSelector)) {\n          method = element.getAttribute('data-method');\n          url = element.getAttribute('data-url');\n          data = serializeElement(element, element.getAttribute('data-params'));\n        } else {\n          method = element.getAttribute('data-method');\n          url = Rails.href(element);\n          data = element.getAttribute('data-params');\n        }\n        ajax({\n          type: method || 'GET',\n          url: url,\n          data: data,\n          dataType: dataType,\n          beforeSend: function(xhr, options) {\n            if (fire(element, 'ajax:beforeSend', [xhr, options])) {\n              return fire(element, 'ajax:send', [xhr]);\n            } else {\n              fire(element, 'ajax:stopped');\n              return false;\n            }\n          },\n          success: function() {\n            var args;\n            args = 1 <= arguments.length ? slice.call(arguments, 0) : [];\n            return fire(element, 'ajax:success', args);\n          },\n          error: function() {\n            var args;\n            args = 1 <= arguments.length ? slice.call(arguments, 0) : [];\n            return fire(element, 'ajax:error', args);\n          },\n          complete: function() {\n            var args;\n            args = 1 <= arguments.length ? slice.call(arguments, 0) : [];\n            return fire(element, 'ajax:complete', args);\n          },\n          crossDomain: isCrossDomain(url),\n          withCredentials: (withCredentials != null) && withCredentials !== 'false'\n        });\n        return stopEverything(e);\n      };\n\n      Rails.formSubmitButtonClick = function(e) {\n        var button, form;\n        button = this;\n        form = button.form;\n        if (!form) {\n          return;\n        }\n        if (button.name) {\n          setData(form, 'ujs:submit-button', {\n            name: button.name,\n            value: button.value\n          });\n        }\n        setData(form, 'ujs:formnovalidate-button', button.formNoValidate);\n        setData(form, 'ujs:submit-button-formaction', button.getAttribute('formaction'));\n        return setData(form, 'ujs:submit-button-formmethod', button.getAttribute('formmethod'));\n      };\n\n      Rails.preventInsignificantClick = function(e) {\n        var data, insignificantMetaClick, link, metaClick, method, nonPrimaryMouseClick;\n        link = this;\n        method = (link.getAttribute('data-method') || 'GET').toUpperCase();\n        data = link.getAttribute('data-params');\n        metaClick = e.metaKey || e.ctrlKey;\n        insignificantMetaClick = metaClick && method === 'GET' && !data;\n        nonPrimaryMouseClick = (e.button != null) && e.button !== 0;\n        if (nonPrimaryMouseClick || insignificantMetaClick) {\n          return e.stopImmediatePropagation();\n        }\n      };\n\n    }).call(this);\n    (function() {\n      var $, CSRFProtection, delegate, disableElement, enableElement, fire, formSubmitButtonClick, getData, handleConfirm, handleDisabledElement, handleMethod, handleRemote, loadCSPNonce, preventInsignificantClick, refreshCSRFTokens;\n\n      fire = Rails.fire, delegate = Rails.delegate, getData = Rails.getData, $ = Rails.$, refreshCSRFTokens = Rails.refreshCSRFTokens, CSRFProtection = Rails.CSRFProtection, loadCSPNonce = Rails.loadCSPNonce, enableElement = Rails.enableElement, disableElement = Rails.disableElement, handleDisabledElement = Rails.handleDisabledElement, handleConfirm = Rails.handleConfirm, preventInsignificantClick = Rails.preventInsignificantClick, handleRemote = Rails.handleRemote, formSubmitButtonClick = Rails.formSubmitButtonClick, handleMethod = Rails.handleMethod;\n\n      if ((typeof jQuery !== \"undefined\" && jQuery !== null) && (jQuery.ajax != null)) {\n        if (jQuery.rails) {\n          throw new Error('If you load both jquery_ujs and rails-ujs, use rails-ujs only.');\n        }\n        jQuery.rails = Rails;\n        jQuery.ajaxPrefilter(function(options, originalOptions, xhr) {\n          if (!options.crossDomain) {\n            return CSRFProtection(xhr);\n          }\n        });\n      }\n\n      Rails.start = function() {\n        if (window._rails_loaded) {\n          throw new Error('rails-ujs has already been loaded!');\n        }\n        window.addEventListener('pageshow', function() {\n          $(Rails.formEnableSelector).forEach(function(el) {\n            if (getData(el, 'ujs:disabled')) {\n              return enableElement(el);\n            }\n          });\n          return $(Rails.linkDisableSelector).forEach(function(el) {\n            if (getData(el, 'ujs:disabled')) {\n              return enableElement(el);\n            }\n          });\n        });\n        delegate(document, Rails.linkDisableSelector, 'ajax:complete', enableElement);\n        delegate(document, Rails.linkDisableSelector, 'ajax:stopped', enableElement);\n        delegate(document, Rails.buttonDisableSelector, 'ajax:complete', enableElement);\n        delegate(document, Rails.buttonDisableSelector, 'ajax:stopped', enableElement);\n        delegate(document, Rails.linkClickSelector, 'click', preventInsignificantClick);\n        delegate(document, Rails.linkClickSelector, 'click', handleDisabledElement);\n        delegate(document, Rails.linkClickSelector, 'click', handleConfirm);\n        delegate(document, Rails.linkClickSelector, 'click', disableElement);\n        delegate(document, Rails.linkClickSelector, 'click', handleRemote);\n        delegate(document, Rails.linkClickSelector, 'click', handleMethod);\n        delegate(document, Rails.buttonClickSelector, 'click', preventInsignificantClick);\n        delegate(document, Rails.buttonClickSelector, 'click', handleDisabledElement);\n        delegate(document, Rails.buttonClickSelector, 'click', handleConfirm);\n        delegate(document, Rails.buttonClickSelector, 'click', disableElement);\n        delegate(document, Rails.buttonClickSelector, 'click', handleRemote);\n        delegate(document, Rails.inputChangeSelector, 'change', handleDisabledElement);\n        delegate(document, Rails.inputChangeSelector, 'change', handleConfirm);\n        delegate(document, Rails.inputChangeSelector, 'change', handleRemote);\n        delegate(document, Rails.formSubmitSelector, 'submit', handleDisabledElement);\n        delegate(document, Rails.formSubmitSelector, 'submit', handleConfirm);\n        delegate(document, Rails.formSubmitSelector, 'submit', handleRemote);\n        delegate(document, Rails.formSubmitSelector, 'submit', function(e) {\n          return setTimeout((function() {\n            return disableElement(e);\n          }), 13);\n        });\n        delegate(document, Rails.formSubmitSelector, 'ajax:send', disableElement);\n        delegate(document, Rails.formSubmitSelector, 'ajax:complete', enableElement);\n        delegate(document, Rails.formInputClickSelector, 'click', preventInsignificantClick);\n        delegate(document, Rails.formInputClickSelector, 'click', handleDisabledElement);\n        delegate(document, Rails.formInputClickSelector, 'click', handleConfirm);\n        delegate(document, Rails.formInputClickSelector, 'click', formSubmitButtonClick);\n        document.addEventListener('DOMContentLoaded', refreshCSRFTokens);\n        document.addEventListener('DOMContentLoaded', loadCSPNonce);\n        return window._rails_loaded = true;\n      };\n\n      if (window.Rails === Rails && fire(document, 'rails:attachBindings')) {\n        Rails.start();\n      }\n\n    }).call(this);\n  }).call(this);\n\n  if (typeof module === \"object\" && module.exports) {\n    module.exports = Rails;\n  } else if (typeof define === \"function\" && define.amd) {\n    define(Rails);\n  }\n}).call(this);\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","import jquery from \"jquery\";\nwindow.jQuery = jquery;\nwindow.$ = jquery;\n","export default class UserAgent {\n  static locale() {\n    const result =\n      window.location.pathname.match(/\\/(ja|en)/) ||\n      window.location.search.match(/locale=(ja|en)/);\n    return result === null ? \"en\" : result[result.length - 1];\n  }\n\n  static isMobile() {\n    const userAgent = window.navigator.userAgent;\n    if (\n      userAgent.indexOf(\"iPhone\") > 0 ||\n      (userAgent.indexOf(\"Android\") > 0 && userAgent.indexOf(\"Mobile\") > 0)\n    ) {\n      return true;\n    }\n    return false;\n  }\n\n  static isTablet() {\n    const userAgent = window.navigator.userAgent;\n    if (userAgent.indexOf(\"iPad\") > 0 || userAgent.indexOf(\"Android\") > 0) {\n      return true;\n    }\n    return false;\n  }\n\n  static isIpad() {\n    return !!window.navigator.userAgent.match(/iPad|Macintosh/);\n  }\n\n  static isIphone() {\n    const userAgent = window.navigator.userAgent;\n    if (userAgent.indexOf(\"iPhone\") > 0) {\n      return true;\n    }\n    return false;\n  }\n\n  static isDesktop() {\n    return !UserAgent.isMobile() && !UserAgent.isTablet();\n  }\n\n  static isSafari() {\n    return (\n      navigator.userAgent &&\n      navigator.userAgent.indexOf(\"Safari\") !== -1 &&\n      navigator.userAgent.indexOf(\"Android\") === -1 &&\n      navigator.userAgent.indexOf(\"CriOS\") === -1 &&\n      navigator.userAgent.indexOf(\"FxiOS\") === -1\n    );\n  }\n\n  static isWindows() {\n    const platform = window.navigator.platform;\n    const windowsPlatforms = [\"Win32\", \"Win64\", \"Windows\", \"WinCE\"];\n    return windowsPlatforms.indexOf(platform) !== -1;\n  }\n\n  static userStatus() {\n    // eslint-disable-next-line @typescript-eslint/no-unused-vars\n    return new Promise((resolve, reject) => {\n      $.ajax({\n        url: \"check_user_status\",\n        type: \"GET\",\n      }).done((result) => {\n        resolve(result);\n      });\n    });\n  }\n}\n","import UserAgent from \"./user_agent\";\n\nwindow.addEventListener(\"load\", function () {\n  if (!location.pathname.match(/users\\/edit/)) {\n    return;\n  }\n\n  const newUserNamePHText = {\n    en: \"New Username\",\n    ja: \"新しいユーザー名\",\n  };\n  const newEmailPHText = {\n    en: \"New Email\",\n    ja: \"新しいEmail\",\n  };\n  const newPasswordPHText = {\n    en: \"New Password\",\n    ja: \"新しいパスワード\",\n  };\n  const retypePasswordPHText = {\n    en: \"Retype New Password\",\n    ja: \"新しいパスワードを入力\",\n  };\n  const currentPasswordPHText = {\n    en: \"Current Password\",\n    ja: \"現在のパスワード\",\n  };\n\n  const cancelText = {\n    en: \"Cancel\",\n    ja: \"キャンセル\",\n  };\n  const saveText = {\n    en: \"Save\",\n    ja: \"保存\",\n  };\n\n  /**\n   * Profile Tabs\n   */\n\n  const saveCancelElement =\n    '<div class=\"w-100 my-3 d-flex flex-row-reverse align-items-center\">' +\n    `<input id=\"save-form-btn\" type=\"submit\" name=\"commit\" value=\"${\n      saveText[UserAgent.locale()]\n    }\" class=\"small py-1 px-3\" data-disable-with=\"${\n      saveText[UserAgent.locale()]\n    }\">` +\n    `<p id=\"close-form-btn\" class=\"mr-4 mr-lg-5 mb-0 small text-white\">${\n      cancelText[UserAgent.locale()]\n    }</p>` +\n    \"</div>\";\n\n  $(\".edit-profile\").on(\"click\", function () {\n    const id = $(this).attr(\"id\");\n\n    if (id === \"edit-payment-method\") {\n      $(\"#update-payment-method\").show(200).css({ \"padding-bottom\": \"5px\" });\n      return false;\n    } else if (id === \"confirm-destroy-card\") {\n      return false;\n    }\n\n    const panelName = $(this).attr(\"id\") + \"-panel\";\n    if ($(this).attr(\"id\") === \"edit-news\") {\n      const isChecked =\n        $(\"#edit-news-icon\").attr(\"src\") ===\n        \"https://cdn.soundraw.io/icons/check-circle.svg\";\n\n      $(\"#edit-news-icon\").attr(\n        \"src\",\n        isChecked\n          ? \"https://cdn.soundraw.io/icons/circle.svg\"\n          : \"https://cdn.soundraw.io/icons/check-circle.svg\",\n      );\n    }\n    if ($(this).attr(\"id\") === \"edit-news-letter-subscription\") {\n      $(\"#news-letter-subscription-status\").hide();\n      $(\"#news-letter-susbcriptions-status-panel\").show();\n      $(\"#\" + panelName).append(saveCancelElement);\n      const closeFormBtn = document.getElementById(\"close-form-btn\");\n      closeFormBtn.addEventListener(\n        \"click\",\n        function () {\n          $(\"#news-letter-susbcriptions-status-panel\").hide();\n          $(\"#news-letter-subscription-status\").show();\n          $(this)\n            .parents('[id^=\"edit-\"]')\n            .slideUp(\"400\", function () {\n              $(this).empty();\n            });\n          $(\".edit-profile:hidden\").fadeIn();\n        },\n        { once: true },\n      );\n    } else {\n      const panelIconDown = $(this).attr(\"id\") + \"-icon-down\";\n      const panelIconUp = $(this).attr(\"id\") + \"-icon-up\";\n      if ($(\"#\" + panelName).hasClass(\"d-none\")) {\n        $(\"#\" + panelName).removeClass(\"d-none\");\n        $(\".\" + panelIconUp).removeClass(\"d-none\");\n        $(\".\" + panelIconDown).addClass(\"d-none\");\n        $(\"#\" + panelName).slideDown(\"1000\", function () {\n          $(this).removeClass(\"d-none\");\n        });\n      } else {\n        $(\"#\" + panelName).slideUp(\"400\", function () {\n          $(this).addClass(\"d-none\");\n          $(\".\" + panelIconUp).addClass(\"d-none\");\n          $(\".\" + panelIconDown).removeClass(\"d-none\");\n        });\n      }\n    }\n  });\n\n  $(window).resize(() => {\n    const showPlaceHolder = window.innerWidth < 1025;\n    $(\"#user_username\").attr(\n      \"placeholder\",\n      showPlaceHolder ? newUserNamePHText[UserAgent.locale()] : \"\",\n    );\n    $(\"#user_email\").attr(\n      \"placeholder\",\n      showPlaceHolder ? newEmailPHText[UserAgent.locale()] : \"\",\n    );\n    $(\"#user_password\").attr(\n      \"placeholder\",\n      showPlaceHolder ? newPasswordPHText[UserAgent.locale()] : \"\",\n    );\n    $(\"#user_password_confirmation\").attr(\n      \"placeholder\",\n      showPlaceHolder ? retypePasswordPHText[UserAgent.locale()] : \"\",\n    );\n    $(\"#user_current_password\").attr(\n      \"placeholder\",\n      showPlaceHolder ? currentPasswordPHText[UserAgent.locale()] : \"\",\n    );\n  });\n});\n","/* eslint no-console:0 */\n// This file is automatically compiled by Webpack, along with any other files\n// present in this directory. You're encouraged to place your actual application logic in\n// a relevant structure within app/javascript and only use these pack files to reference\n// that code so it'll be compiled.\n//\n// To reference this file, add <%= javascript_include_tag 'application' %> to the appropriate\n// layout file, like app/views/layouts/application.html.erb\n\nimport \"./jquery\";\nimport \"./jquery-ui\";\nimport \"bootstrap/dist/js/bootstrap\";\nimport \"./csrf\";\nimport \"./users\";\nimport \"./alert\";\nimport \"./nav_menu\";\nimport \"./sign_up\";\nimport \"./admin\";\nimport \"./toppage\";\nimport Rails from \"rails-ujs\";\n\nRails.start();\n"],"names":["window","addEventListener","location","pathname","match","$","on","sendUserForm","data","this","val","click","event","target","hiddenTarget","prev","count","attr","newValue","parseInt","oldIndex","last","find","first","html","outerHTML","after","each","i","input","name","replace","next","remove","length","promiseArray","children","_index","elem","audioPackId","eq","push","Promise","resolve","_reject","ajax","url","method","done","result","melodyCount","melody","backingCount","backing","bassCount","bass","drumCount","drum","all","document","promotionType","numberOfUsers","stripeRemoteId","removeAttr","sort","userForm","action","hidden","append","value","submit","setTimeout","slideUp","token","parts","cookie","split","pop","shift","getCookie","appendTo","factory","ui","version","orig","eventType","widgetUuid","widgetHasOwnProperty","Array","prototype","hasOwnProperty","widgetSlice","slice","cleanData","elems","events","_data","triggerHandler","widget","base","existingConstructor","constructor","basePrototype","proxiedPrototype","namespace","fullName","Widget","isArray","extend","apply","concat","expr","pseudos","toLowerCase","options","element","_createWidget","arguments","_proto","_childConstructors","prop","_super","_superApply","args","returnValue","__super","__superApply","widgetEventPrefix","widgetName","widgetFullName","child","childPrototype","bridge","key","call","inputIndex","inputLength","undefined","isPlainObject","object","fn","isMethodCall","methodValue","instance","charAt","error","jquery","pushStack","get","option","_init","defaultElement","classes","disabled","create","uuid","eventNamespace","bindings","hoverable","focusable","classesElementLookup","_on","destroy","style","ownerDocument","defaultView","parentWindow","_getCreateOptions","_create","_setOptionDisabled","_trigger","_getCreateEventData","noop","that","_destroy","_removeClass","off","removeData","curOption","_setOptions","_setOption","_setOptionClasses","classKey","elements","currentElements","addClass","_classes","keys","add","_toggleClass","enable","disable","full","bindRemoveEvent","nodesToBind","_","map","some","is","processClassString","checkOption","current","uniqueSort","not","extra","join","_untrackClassesElement","inArray","_off","_addClass","toggleClass","suppressDisabledCheck","handlers","delegateElement","handler","handlerProxy","hasClass","guid","eventName","selector","_delay","delay","_hoverable","mouseenter","currentTarget","mouseleave","_focusable","focusin","focusout","type","callback","Event","originalEvent","trigger","isDefaultPrevented","show","hide","defaultEffect","hasOptions","effect","effectName","duration","isEmptyObject","complete","effects","easing","queue","cachedScrollbarWidth","max","Math","abs","rhorizontal","rvertical","roffset","rposition","rpercent","_position","position","getOffsets","offsets","width","height","parseFloat","test","parseCss","property","css","isWindow","obj","scrollbarWidth","w1","w2","div","innerDiv","offsetWidth","clientWidth","getScrollInfo","within","overflowX","isDocument","overflowY","hasOverflowX","scrollWidth","scrollHeight","getWithinInfo","withinElement","isElemWindow","nodeType","offset","left","top","scrollLeft","scrollTop","outerWidth","outerHeight","of","atOffset","targetWidth","targetHeight","targetOffset","basePosition","dimensions","raw","scrollInfo","collision","preventDefault","pageY","pageX","at","horizontalOffset","verticalOffset","pos","exec","collisionPosition","using","elemWidth","elemHeight","marginLeft","marginTop","collisionWidth","collisionHeight","myOffset","my","dir","props","right","bottom","feedback","horizontal","vertical","important","fit","newOverRight","withinOffset","collisionPosLeft","overLeft","overRight","newOverBottom","collisionPosTop","overTop","overBottom","flip","newOverLeft","offsetLeft","newOverTop","offsetTop","flipfit","createPseudo","dataName","disableSelection","createElement","enableSelection","hasTabindex","mapName","img","focusableIfVisible","fieldset","nodeName","parentNode","href","closest","visibility","parent","visible","_form","form","formResetMixin","_formResetHandler","instances","refresh","_bindFormResetHandler","_unbindFormResetHandler","splice","unique","escapeSelector","rcssescape","fcssescape","ch","asCodePoint","charCodeAt","toString","sel","even","odd","filter","keyCode","BACKSPACE","COMMA","DELETE","DOWN","END","ENTER","ESCAPE","HOME","LEFT","PAGE_DOWN","PAGE_UP","PERIOD","RIGHT","SPACE","TAB","UP","labels","ancestor","id","ancestors","parents","siblings","addBack","scrollParent","includeHidden","excludeStaticParent","overflowRegex","tabbable","tabIndex","uniqueId","removeUniqueId","ie","navigator","userAgent","mouseHandled","cancel","distance","_mouseInit","_mouseDown","stopImmediatePropagation","started","_mouseDestroy","_mouseMoveDelegate","_mouseUpDelegate","_mouseMoved","_mouseStarted","_mouseUp","_mouseDownEvent","btnIsLeft","which","elIsCancel","_mouseCapture","mouseDelayMet","_mouseDelayTimer","_mouseDistanceMet","_mouseDelayMet","_mouseStart","_mouseMove","documentMode","button","altKey","ctrlKey","metaKey","shiftKey","ignoreMissingWhich","_mouseDrag","_mouseStop","clearTimeout","plugin","module","set","proto","plugins","allowDisconnected","safeActiveElement","activeElement","body","safeBlur","mouse","addClasses","axis","connectToSortable","containment","cursor","cursorAt","grid","handle","helper","iframeFix","opacity","refreshPositions","revert","revertDuration","scope","scroll","scrollSensitivity","scrollSpeed","snap","snapMode","snapTolerance","stack","zIndex","drag","start","stop","_setPositionRelative","_setHandleClassName","_removeHandleClassName","destroyOnClear","o","_getHandle","_blurActiveElement","_blockFrames","iframeBlocks","iframe","_unblockFrames","_createHelper","_cacheHelperProportions","ddmanager","_cacheMargins","cssPosition","offsetParent","hasFixedAncestor","positionAbs","_refreshOffsets","originalPosition","_generatePosition","originalPageX","originalPageY","_adjustOffsetFromHelper","_setContainment","_clear","dropBehaviour","prepareOffsets","dragStart","margins","_getParentOffset","relative","_getRelativeOffset","noPropagation","_convertPositionTo","_uiHash","dropped","drop","animate","dragStop","handleElement","helperIsFunction","clone","helperProportions","_isRootNode","tagName","po","contains","p","scrollIsRootNode","isUserScrollable","c","ce","relativeContainer","offsetHeight","d","mod","constrainPosition","co","round","cancelHelperRemoval","draggable","uiSortable","item","sortables","sortable","isOver","_storedCSS","placeholder","_helper","innermostIntersecting","_intersectsWith","containerCache","_parent","currentItem","fromOutside","_revert","t","_cursor","_opacity","scrollParentNotHidden","overflowOffset","scrolled","snapElements","String","items","$t","$o","inst","ts","bs","ls","rs","l","r","b","x1","x2","y1","y2","snapping","release","snapItem","min","group","makeArray","a","_zIndex","accept","greedy","tolerance","activate","deactivate","out","over","proportions","isover","isout","_addToManager","droppables","_splice","_activate","_addActiveClass","_deactivate","_removeActiveClass","_over","_addHoverClass","_out","_removeHoverClass","_drop","custom","childrenIntersection","droppable","intersect","isOverAxis","x","reference","size","toleranceMode","absolute","default","j","m","list","droppablesLoop","parentsUntil","greedyChild","parentInstance","intersects","uiBackCompat","hoverClass","activeClass","removeClass","alsoResize","animateDuration","animateEasing","aspectRatio","autoHide","ghost","handles","maxHeight","maxWidth","minHeight","minWidth","resize","_num","_isNumber","isNaN","_hasScroll","el","has","e","_aspectRatio","originalElement","_proportionallyResizeElements","wrap","overflow","resizable","elementIsWrapper","marginRight","marginBottom","originalResizeStyle","zoom","display","_proportionallyResize","_setupHandles","_handles","resizing","_addedHandles","wrapper","exp","insertAfter","_removeHandles","n","hname","s","w","se","sw","ne","nw","trim","_renderAxis","padPos","padWrapper","mousedown","className","capture","curleft","curtop","_renderProxy","originalSize","sizeDiff","originalMousePosition","_propagate","smp","dx","dy","_change","_updatePrevProperties","_updateVirtualBoundaries","_updateRatio","_respectSize","_updateCache","_applyChanges","pr","ista","soffseth","soffsetw","prevPosition","prevSize","forceAspectRatio","pMinWidth","pMaxWidth","pMinHeight","pMaxHeight","Infinity","_vBoundaries","cpos","csize","ismaxw","ismaxh","isminw","isminh","dw","dh","cw","_getPaddingPlusBorderDimensions","widths","borders","paddings","prel","outerDimensions","elementOffset","cs","step","oc","containerElement","containerOffset","containerPosition","parentData","containerSize","innerHeight","innerWidth","woset","hoset","isParent","isOffsetRelative","cp","pRatio","cop","continueResize","ho","h","os","op","delta","sum","margin","removeChild","gridX","gridY","ox","oy","newWidth","newHeight","isMaxWidth","isMaxHeight","isMinWidth","isMinHeight","autoRefresh","selected","selecting","unselected","unselecting","dragged","elementPos","selectees","$this","selecteeOffset","$element","startselected","opos","selectee","doSelect","tmp","hit","ready","connectWith","dropOnEmpty","forcePlaceholderSize","forceHelperSize","beforeStop","change","receive","update","_isOverAxis","_isFloating","overrideHandle","validHandle","reverting","_refreshItems","_removeCurrentsFromItems","noActivation","currentContainer","domPosition","_createPlaceholder","storedCursor","storedStylesheet","_storedZIndex","_storedOpacity","_preserveHelperProportions","containers","dragging","detach","lastPositionAbs","_scroll","itemElement","intersection","_refreshItemPositions","dragDirection","_getDragVerticalDirection","_getDragHorizontalDirection","_intersectsWithPointer","direction","_intersectsWithSides","_rearrange","_contactContainers","cur","animation","_noFinalSort","prepend","serialize","_getItemsAsjQuery","connected","str","res","attribute","expression","toArray","ret","dyClick","dxClick","isOverElementHeight","isOverElementWidth","isOverElement","forcePointerForContainers","floating","verticalDirection","horizontalDirection","isOverBottomHalf","isOverRightHalf","_connectWith","queries","addItems","grep","targetData","_queries","queriesLength","fast","toleranceElement","refreshContainers","_createTrPlaceholder","container","sourceTr","targetTr","dist","itemWithLeastDistance","posProperty","sizeProperty","nearBottom","innermostContainer","innermostIndex","appendChild","hardRefresh","insertBefore","nextSibling","counter","delayedTriggers","before","delayEvent","_inst","sender","active","collapsible","header","heightStyle","icons","activeHeader","beforeActivate","hideProps","borderTopWidth","borderBottomWidth","paddingTop","paddingBottom","showProps","prevShow","prevHide","_processPanels","headers","_refresh","panel","_createIcons","icon","prependTo","_destroyIcons","contents","_setupEvents","_keydown","currentIndex","index","toFocus","_eventHandler","_panelKeyDown","prevHeaders","prevPanels","panels","_findActive","headerId","panelId","isVisible","keydown","activeChildren","clickedChildren","clicked","clickedIsActive","collapsing","toShow","toHide","eventData","oldHeader","oldPanel","newHeader","newPanel","_toggle","_animate","_toggleComplete","total","adjust","boxSizing","down","now","fx","submenu","menus","role","blur","focus","select","activeMenu","lastMousePosition","y","_activateItem","isPropagationStopped","expand","timer","keepActiveItem","_menuItems","collapseAll","_closeOnDocumentClick","previousFilter","clientX","clientY","actualTarget","submenus","character","skip","previousPage","nextPage","_move","previous","collapse","fromCharCode","filterTimer","_filterMenuItems","nextAll","newSubmenus","newItems","newWrappers","menu","submenuCaret","_isDivider","_itemRole","listbox","nested","focused","activeParent","_scrollIntoView","_close","_startOpening","borderTop","elementHeight","itemHeight","fromFocus","_open","currentMenu","startMenu","text","newItem","isFirstItem","prevAll","isLastItem","indexOf","escapedCharacter","regex","RegExp","autoFocus","minLength","source","close","open","response","search","requestIndex","pending","liveRegionTimer","suppressKeyPress","suppressKeyPressRepeat","suppressInput","isTextarea","isInput","isMultiLine","_isContentEditable","valueMethod","isNewMenu","_keyEvent","_value","term","_searchTimeout","keypress","selectedItem","searching","_initSource","_appendTo","unselectable","menufocus","label","one","liveRegion","menuselect","beforeunload","xhr","abort","_isEventTargetInWidget","menuElement","_closeOnClickOutside","array","request","autocomplete","dataType","success","equalValues","menuVisible","modifierKey","_search","cancelSearch","_response","content","__response","bind","_normalize","_suggest","ul","empty","_renderMenu","_resizeMenu","_renderItemData","_renderItem","keyEvent","editable","escapeRegex","matcher","messages","noResults","results","amount","message","datepicker_instActive","rhash","controlgroupCornerRegex","Datepicker","_curInst","_disabledInputs","_datepickerShowing","_inDialog","_mainDivId","_inlineClass","_appendClass","_triggerClass","_dialogClass","_disableClass","_unselectableClass","_currentClass","_dayOverClass","regional","closeText","prevText","nextText","currentText","monthNames","monthNamesShort","dayNames","dayNamesShort","dayNamesMin","weekHeader","dateFormat","firstDay","isRTL","showMonthAfterYear","yearSuffix","selectMonthLabel","selectYearLabel","_defaults","showOn","showAnim","showOptions","defaultDate","appendText","buttonText","buttonImage","buttonImageOnly","hideIfNoPrevNext","navigationAsDateFormat","gotoCurrent","changeMonth","changeYear","yearRange","showOtherMonths","selectOtherMonths","showWeek","calculateWeek","iso8601Week","shortYearCutoff","minDate","maxDate","beforeShowDay","beforeShow","onSelect","onChangeMonthYear","onClose","onUpdateDatepicker","numberOfMonths","showCurrentAtPos","stepMonths","stepBigMonths","altField","altFormat","constrainInput","showButtonPanel","autoSize","en","dpDiv","datepicker_bindHover","datepicker_handleMouseover","datepicker","_isDisabledDatepicker","inline","datepicker_extendRemove","spinnerModifier","onlyVisible","controlgroupLabel","checkboxradio","selectmenu","spinner","_enhance","_callChildMethod","childWidgets","unwrap","_initWidgets","wrapAll","instanceOptions","_resolveClassesValues","widgetElement","_updateCornerClass","_buildSimpleOptions","middle","only","_spinnerOptions","_buttonOptions","_checkboxradioOptions","_selectmenuOptions","labelContents","_readType","originalLabel","checked","_updateLabel","_updateIcon","_getRadioGroup","nameSelector","_toggleClasses","iconSpace","toAdd","isDisabled","iconPosition","showLabel","hasTitle","keyup","_updateTooltip","title","displayBlock","_attachIcon","_attachIconSpace","newShowLabel","newIcon","primary","secondary","buttonset","controlgroup","markerClassName","maxRows","_widgetDatepicker","setDefaults","settings","_attachDatepicker","_newInst","_connectDatepicker","_inlineDatepicker","selectedDay","selectedMonth","selectedYear","drawMonth","drawYear","_attachments","_doKeyDown","_doKeyPress","_doKeyUp","_autoSize","_disableDatepicker","_get","_showDatepicker","src","alt","_lastInput","_hideDatepicker","findMax","maxI","date","Date","names","setMonth","setDate","getDay","_formatDate","divSpan","_setDate","_getDefaultDate","_updateDatepicker","_updateAlternate","_dialogDatepicker","browserWidth","browserHeight","scrollX","scrollY","_dialogInst","_dialogInput","_pos","documentElement","clientHeight","blockUI","_destroyDatepicker","$target","_enableDatepicker","end","_getInst","err","_optionDatepicker","_getDateDatepicker","_getMinMaxDate","_changeDatepicker","_refreshDatepicker","_setDateDatepicker","noDefault","_setDateFromField","_getDate","dateStr","handled","_selectDay","_adjustDate","_clearDate","_gotoToday","stopPropagation","chars","chr","_possibleChars","charCode","lastVal","parseDate","_getFormatConfig","beforeShowSettings","isFixed","_findPos","_checkOffset","datepicker_getZindex","_shouldFocusInput","_generateHTML","_attachHandlers","origyearshtml","numMonths","_getNumberOfMonths","cols","activeCell","yearshtml","replaceWith","dpWidth","dpHeight","inputWidth","inputHeight","viewWidth","viewHeight","postProcess","_tidyDialog","unblockUI","_checkExternalClick","period","_adjustInstDate","currentDay","currentMonth","currentYear","getDate","getMonth","getFullYear","_notifyChange","_selectMonthYear","selectedIndex","month","year","td","_selectDate","formatDate","noWeekends","day","time","checkDate","getTime","floor","format","iFormat","dim","iValue","shortYearCutoffTemp","doy","literal","lookAhead","matches","getNumber","isDoubled","digits","num","substring","getName","shortNames","longNames","v","k","pair","substr","checkLiteral","_ticksTo1970","_getDaysInMonth","_daylightSavingAdjust","ATOM","COOKIE","ISO_8601","RFC_822","RFC_850","RFC_1036","RFC_1123","RFC_2822","RSS","TICKS","TIMESTAMP","W3C","formatNumber","len","formatName","output","dates","_restrictMinMax","_determineDate","newDate","pattern","offsetString","offsetNumeric","setHours","setMinutes","setSeconds","setMilliseconds","getHours","noChange","clear","origMonth","origYear","today","selectDay","getAttribute","selectMonth","selectYear","maxDraw","gotoDate","controls","buttonPanel","dow","row","col","selectedDate","cornerClass","calender","thead","daysInMonth","leadDays","curRows","numRows","printDate","dRow","tbody","daySettings","otherMonth","tempDate","isMultiMonth","currentDate","_canAdjustMonth","class","_isInRange","_generateMonthYearHeader","_getFirstDayOfMonth","ceil","inMinYear","inMaxYear","years","thisYear","determineYear","endYear","monthHtml","onChange","minMax","curYear","curMonth","yearSplit","minYear","maxYear","initialized","otherArgs","autoOpen","buttons","closeOnEscape","modal","topOffset","beforeClose","resizeStart","resizeStop","sizeRelatedOptions","resizableRelatedOptions","originalCss","originalTitle","_createWrapper","uiDialog","_createTitlebar","_createButtonPane","_makeDraggable","_makeResizable","_isOpen","_trackFocus","_untrackInstance","_destroyOverlay","_focusedElement","opener","_hide","isOpen","moveToTop","_moveToTop","silent","moved","zIndices","zIndexMax","_focusTabbable","_size","_createOverlay","overlay","_show","_makeFocusTarget","hasFocus","uiDialogButtonPane","uiDialogTitlebarClose","_restoreTabbableFocus","_keepFocus","tabbables","uiDialogTitle","uiDialogTitlebar","_title","uiButtonSet","_createButtons","buttonOptions","filteredUi","resizeHandles","_minHeight","_trackingInstances","unshift","exists","resizableOptions","isDraggable","isResizable","nonContentHeight","minContentHeight","maxContentHeight","_allowInteraction","jqMinor","isOpening","overlays","dialog","dialogClass","oldValue","_constrainedValue","valueDiv","_refreshValue","indeterminate","_percentage","percentage","toggle","toFixed","overlayDiv","selectmenuId","ids","_drawButton","_drawMenu","_rendered","menuItems","_parseOption","tabindex","buttonItem","_renderButtonItem","_resizeButton","_buttonEvents","_refreshMenu","menuWrap","menuInstance","_setSelection","_select","focusIndex","_getSelectedItem","_parseOptions","_setAria","_toggleAttr","_documentClick","range","menuWidget","_setText","currentOptgroup","li","optgroup","selection","getSelection","removeAllRanges","addRange","rangeCount","getRangeAt","createRange","_selectFocusedItem","orientation","values","slide","numPages","_keySliding","_mouseSliding","_animateOff","_handleIndex","_detectOrientation","_calculateNewMax","_createRange","_createHandles","handleCount","existingHandles","_valueMin","_handleEvents","normValue","closestHandle","mouseOverHandle","elementSize","_normValueFromMouse","_valueMax","thisDistance","_lastChangedValue","_start","_clickOffset","_slide","_stop","pixelTotal","pixelMouse","percentMouse","valueTotal","valueMouse","_trimAlignValue","uiHash","handleIndex","_hasMultipleValues","newVal","otherVal","currentValue","newValues","vals","_values","valsLength","_refreshRange","valModStep","alignValue","_precision","precision","_precisionOf","decimal","lastValPercent","valPercent","valueMin","valueMax","oRange","_set","curVal","culture","up","incremental","numberFormat","page","spin","_draw","_events","cancelBlur","mousewheel","spinning","_spin","mousewheelTimer","checkFocus","_repeat","uiSpinner","steps","_adjustValue","_increment","aboveMin","prevValue","_parse","_format","Globalize","isValid","allowAny","parsed","stepUp","_stepUp","stepDown","_stepDown","pageUp","pages","pageDown","_uiSpinnerHtml","_buttonHtml","beforeLoad","load","_isLocal","anchor","anchorUrl","locationUrl","decodeURIComponent","hash","running","_processTabs","_initialActive","tabs","anchors","locationHash","tab","_getPanelForTab","_tabKeydown","focusedTab","goingForward","_handlePageNav","activating","_focusNextTab","_panelKeydown","_findNextTab","lastTabIndex","_setupHeightStyle","_sanitizeSelector","lis","tablist","prevTabs","prevAnchors","_getList","anchorId","originalAriaControls","_createPanel","oldTab","newTab","_getIndex","merge","jqXHR","status","_ajaxSettings","statusText","fail","beforeSend","ajaxSettings","track","_addDescribedBy","describedby","_removeDescribedBy","mouseover","tooltips","disabledTitles","tooltipData","_updateContent","_disable","_enable","blurEvent","_registerCloseHandlers","contentOption","tooltip","delayedShow","a11yContent","positionOption","_find","_tooltip","mousemove","setInterval","clearInterval","fakeEvent","targetElement","_removeTooltip","closing","hiding","tooltipClass","colors","jQuery","class2type","rplusequals","stringParsers","re","parse","execResult","space","color","Color","green","blue","alpha","spaces","rgba","red","idx","hsla","hue","saturation","lightness","propTypes","byte","percent","degrees","support","supportElem","getType","clamp","allowEmpty","def","stringParse","string","_rgba","_i","parser","spaceName","cache","transparent","hue2rgb","q","cssText","backgroundColor","_default","_key","_spaceName","to","from","compare","same","localCache","isCache","_space","used","transition","other","startColor","startValue","endValue","blend","opaque","rgb","toRgbaString","prefix","toHslaString","toHexString","includeAlpha","g","diff","arr","local","vtype","_hsla","hook","hooks","cssHooks","curElem","colorInit","borderColor","expanded","part","aqua","black","fuchsia","gray","lime","maroon","navy","olive","purple","silver","teal","white","yellow","baseEasings","dataSpace","dataSpaceStyle","dataSpaceAnimated","classAnimationActions","shorthandStyles","border","borderBottom","borderLeft","borderRight","borderWidth","padding","getElementStyles","getComputedStyle","currentStyle","styles","letter","toUpperCase","setAttr","prevObject","animateClass","speed","applyClassChange","animated","baseClass","allAnimations","oldStyle","newStyle","styleDifference","styleInfo","dfd","Deferred","opts","promise","when","classNames","force","switchClass","_normalizeArguments","speeds","standardAnimationOption","parseClip","save","restore","setMode","mode","createWrapper","float","fontSize","background","removeWrapper","define","scaledDimensions","clipToBox","clip","queueLength","dequeue","saveStyle","restoreStyle","getBaseline","origin","original","createPlaceholder","removePlaceholder","dataKey","cleanUp","setTransition","factor","unit","cssUnit","effectMethod","defaultMode","queueName","modes","prefilter","normalizedMode","run","cssClip","clipObj","transfer","targetFixed","fixTop","fixLeft","endPosition","startPosition","clipInit","pow","Sine","cos","PI","Circ","sqrt","Elastic","sin","Back","Bounce","pow2","bounce","easeIn","upAnim","downAnim","refValue","times","anims","ref","motion","queuelen","both","oppositeMotion","mx","rows","pieces","cells","childComplete","horizFirst","animation1","animation2","backgroundImage","baseline","temp","cProps","vProps","hProps","scale","childOriginal","childFrom","childTo","newOptions","fade","showhide","animateTo","positiveMotion","startClip","startRef","mouseup","setPanelHeight","closeMenu","getElementById","flag","changePaddingHeader","exports","Popper","_defineProperties","descriptor","enumerable","configurable","writable","Object","defineProperty","_createClass","Constructor","protoProps","staticProps","_defineProperty","ownKeys","enumerableOnly","getOwnPropertySymbols","symbols","sym","getOwnPropertyDescriptor","_objectSpread2","forEach","getOwnPropertyDescriptors","defineProperties","TRANSITION_END","transitionEndEmulator","_this","called","Util","triggerTransitionEnd","getUID","random","getSelectorFromElement","hrefAttr","querySelector","getTransitionDurationFromElement","transitionDuration","transitionDelay","floatTransitionDuration","floatTransitionDelay","reflow","supportsTransitionEnd","Boolean","isElement","typeCheckConfig","componentName","config","configTypes","expectedTypes","valueType","Error","findShadowRoot","attachShadow","getRootNode","root","ShadowRoot","jQueryDetection","TypeError","emulateTransitionEnd","special","bindType","delegateType","handleObj","NAME","DATA_KEY","EVENT_KEY","JQUERY_NO_CONFLICT","EVENT_CLOSE","EVENT_CLOSED","EVENT_CLICK_DATA_API","Alert","_element","rootElement","_getRootElement","_triggerCloseEvent","_removeElement","dispose","closeEvent","_destroyElement","_jQueryInterface","_handleDismiss","alertInstance","noConflict","NAME$1","DATA_KEY$1","EVENT_KEY$1","DATA_API_KEY$1","JQUERY_NO_CONFLICT$1","CLASS_NAME_ACTIVE","SELECTOR_DATA_TOGGLE_CARROT","SELECTOR_INPUT","SELECTOR_BUTTON","EVENT_CLICK_DATA_API$1","EVENT_FOCUS_BLUR_DATA_API","EVENT_LOAD_DATA_API","Button","triggerChangeEvent","addAriaPressed","classList","hasAttribute","setAttribute","initialButton","inputBtn","querySelectorAll","_len","_button","NAME$2","DATA_KEY$2","EVENT_KEY$2","DATA_API_KEY$2","JQUERY_NO_CONFLICT$2","Default","interval","keyboard","pause","touch","DefaultType","DIRECTION_NEXT","DIRECTION_PREV","EVENT_SLIDE","EVENT_SLID","EVENT_KEYDOWN","EVENT_MOUSEENTER","EVENT_MOUSELEAVE","EVENT_TOUCHSTART","EVENT_TOUCHMOVE","EVENT_TOUCHEND","EVENT_POINTERDOWN","EVENT_POINTERUP","EVENT_DRAG_START","EVENT_LOAD_DATA_API$1","EVENT_CLICK_DATA_API$2","CLASS_NAME_ACTIVE$1","SELECTOR_ACTIVE_ITEM","PointerType","TOUCH","PEN","Carousel","_items","_interval","_activeElement","_isPaused","_isSliding","touchTimeout","touchStartX","touchDeltaX","_config","_getConfig","_indicatorsElement","_touchSupported","maxTouchPoints","_pointerEvent","PointerEvent","MSPointerEvent","_addEventListeners","nextWhenVisible","cycle","visibilityState","activeIndex","_getItemIndex","_handleSwipe","absDeltax","_this2","_addTouchEventListeners","_this3","pointerType","touches","move","_getItemByDirection","isNextDirection","isPrevDirection","lastItemIndex","itemIndex","_triggerSlideEvent","relatedTarget","eventDirectionName","targetIndex","fromIndex","slideEvent","_setActiveIndicatorElement","indicators","nextIndicator","directionalClassName","orderClassName","_this4","activeElementIndex","nextElement","nextElementIndex","isCycling","slidEvent","nextElementInterval","defaultInterval","ride","_dataApiClickHandler","slideIndex","carousels","$carousel","NAME$3","DATA_KEY$3","EVENT_KEY$3","JQUERY_NO_CONFLICT$3","Default$1","DefaultType$1","EVENT_SHOW","EVENT_SHOWN","EVENT_HIDE","EVENT_HIDDEN","EVENT_CLICK_DATA_API$3","CLASS_NAME_SHOW$1","CLASS_NAME_COLLAPSE","CLASS_NAME_COLLAPSING","CLASS_NAME_COLLAPSED","DIMENSION_WIDTH","SELECTOR_DATA_TOGGLE$1","Collapse","_isTransitioning","_triggerArray","toggleList","filterElement","foundElem","_selector","_getParent","_addAriaAndCollapsedClass","actives","activesData","startEvent","dimension","_getDimension","setTransitioning","scrollSize","getBoundingClientRect","triggerArrayLength","isTransitioning","_getTargetFromElement","triggerArray","$trigger","selectors","NAME$4","DATA_KEY$4","EVENT_KEY$4","DATA_API_KEY$4","JQUERY_NO_CONFLICT$4","REGEXP_KEYDOWN","ARROW_UP_KEYCODE","EVENT_HIDE$1","EVENT_HIDDEN$1","EVENT_SHOW$1","EVENT_SHOWN$1","EVENT_CLICK","EVENT_CLICK_DATA_API$4","EVENT_KEYDOWN_DATA_API","EVENT_KEYUP_DATA_API","CLASS_NAME_DISABLED","CLASS_NAME_SHOW$2","CLASS_NAME_MENURIGHT","SELECTOR_DATA_TOGGLE$2","SELECTOR_MENU","Default$2","boundary","popperConfig","DefaultType$2","Dropdown","_popper","_menu","_getMenuElement","_inNavbar","_detectNavbar","isActive","_clearMenus","usePopper","showEvent","_getParentFromElement","referenceElement","_getPopperConfig","hideEvent","scheduleUpdate","_getPlacement","$parentDropdown","placement","_getOffset","modifiers","enabled","preventOverflow","boundariesElement","applyStyle","toggles","context","clickEvent","dropdownMenu","_dataApiKeydownHandler","NAME$5","DATA_KEY$5","EVENT_KEY$5","JQUERY_NO_CONFLICT$5","Default$3","backdrop","DefaultType$3","EVENT_HIDE$2","EVENT_HIDE_PREVENTED","EVENT_HIDDEN$2","EVENT_SHOW$2","EVENT_SHOWN$2","EVENT_FOCUSIN","EVENT_RESIZE","EVENT_CLICK_DISMISS","EVENT_KEYDOWN_DISMISS","EVENT_MOUSEUP_DISMISS","EVENT_MOUSEDOWN_DISMISS","EVENT_CLICK_DATA_API$5","CLASS_NAME_OPEN","CLASS_NAME_FADE$1","CLASS_NAME_SHOW$3","CLASS_NAME_STATIC","SELECTOR_FIXED_CONTENT","SELECTOR_STICKY_CONTENT","Modal","_dialog","_backdrop","_isShown","_isBodyOverflowing","_ignoreBackdropClick","_scrollbarWidth","_checkScrollbar","_setScrollbar","_adjustDialog","_setEscapeEvent","_setResizeEvent","_showBackdrop","_showElement","_hideModal","htmlElement","handleUpdate","_triggerBackdropTransition","hideEventPrevented","defaultPrevented","modalTransitionDuration","modalBody","Node","ELEMENT_NODE","removeAttribute","_enforceFocus","shownEvent","transitionComplete","_this5","_this6","_this7","_this8","_resetAdjustments","_resetScrollbar","_removeBackdrop","_this9","backdropTransitionDuration","callbackRemove","_backdropTransitionDuration","isModalOverflowing","paddingLeft","paddingRight","rect","_getScrollbarWidth","_this10","fixedContent","stickyContent","actualPadding","calculatedPadding","actualMargin","calculatedMargin","scrollDiv","_this11","uriAttrs","SAFE_URL_PATTERN","DATA_URL_PATTERN","sanitizeHtml","unsafeHtml","whiteList","sanitizeFn","createdDocument","DOMParser","parseFromString","whitelistKeys","_loop","elName","attributeList","attributes","whitelistedAttributes","allowedAttributeList","attrName","nodeValue","regExp","attrRegex","allowedAttribute","innerHTML","NAME$6","DATA_KEY$6","EVENT_KEY$6","JQUERY_NO_CONFLICT$6","CLASS_PREFIX","BSCLS_PREFIX_REGEX","DISALLOWED_ATTRIBUTES","DefaultType$4","template","fallbackPlacement","sanitize","AttachmentMap","AUTO","TOP","BOTTOM","Default$4","area","br","code","em","hr","h1","h2","h3","h4","h5","h6","ol","pre","small","span","sub","sup","strong","u","HOVER_STATE_SHOW","HOVER_STATE_OUT","HIDE","HIDDEN","SHOW","SHOWN","INSERTED","CLICK","FOCUSIN","FOCUSOUT","MOUSEENTER","MOUSELEAVE","CLASS_NAME_FADE$2","CLASS_NAME_SHOW$4","TRIGGER_HOVER","TRIGGER_FOCUS","Tooltip","_isEnabled","_timeout","_hoverState","_activeTrigger","tip","_setListeners","toggleEnabled","_getDelegateConfig","_isWithActiveTrigger","_enter","_leave","getTipElement","_hideModalHandler","isWithContent","shadowRoot","isInTheDom","tipId","setContent","attachment","_getAttachment","addAttachmentClass","_getContainer","_fixTransition","prevHoverState","_cleanTipClass","getTitle","setElementContent","behavior","arrow","onCreate","originalPlacement","_handlePopperPlacementChange","onUpdate","eventIn","eventOut","_fixTitle","titleType","dataAttributes","dataAttr","$tip","tabClass","popperData","popper","initConfigAnimation","NAME$7","DATA_KEY$7","EVENT_KEY$7","JQUERY_NO_CONFLICT$7","CLASS_PREFIX$1","BSCLS_PREFIX_REGEX$1","Default$5","DefaultType$5","Event$1","Popover","_Tooltip","subClass","superClass","__proto__","_getContent","CLASS_NAME_FADE$3","NAME$8","DATA_KEY$8","EVENT_KEY$8","JQUERY_NO_CONFLICT$8","Default$6","DefaultType$6","EVENT_ACTIVATE","EVENT_SCROLL","EVENT_LOAD_DATA_API$2","CLASS_NAME_ACTIVE$2","SELECTOR_NAV_LIST_GROUP","SELECTOR_NAV_LINKS","SELECTOR_LIST_ITEMS","METHOD_POSITION","ScrollSpy","_scrollElement","_offsets","_targets","_activeTarget","_scrollHeight","_process","autoMethod","offsetMethod","offsetBase","_getScrollTop","_getScrollHeight","targetSelector","targetBCR","pageYOffset","_getOffsetHeight","maxScroll","$link","node","scrollSpys","$spy","NAME$9","DATA_KEY$9","EVENT_KEY$9","JQUERY_NO_CONFLICT$9","EVENT_HIDE$3","EVENT_HIDDEN$3","EVENT_SHOW$3","EVENT_SHOWN$3","EVENT_CLICK_DATA_API$6","CLASS_NAME_ACTIVE$3","CLASS_NAME_FADE$4","CLASS_NAME_SHOW$6","SELECTOR_ACTIVE$2","SELECTOR_ACTIVE_UL","Tab","listElement","itemSelector","hiddenEvent","_transitionComplete","dropdownChild","dropdownElement","dropdownToggleList","NAME$a","DATA_KEY$a","EVENT_KEY$a","JQUERY_NO_CONFLICT$a","EVENT_CLICK_DISMISS$1","EVENT_HIDE$4","EVENT_HIDDEN$4","EVENT_SHOW$4","EVENT_SHOWN$4","CLASS_NAME_HIDE","CLASS_NAME_SHOW$7","CLASS_NAME_SHOWING","DefaultType$7","autohide","Default$7","Toast","Scrollspy","global","noGlobal","getProto","getPrototypeOf","flat","hasOwn","fnToString","ObjectFunctionString","isFunction","preservedScriptAttributes","nonce","noModule","DOMEval","doc","script","head","toType","rhtmlSuffix","init","isArrayLike","_elem","copy","copyIsArray","deep","expando","isReady","msg","Ctor","globalEval","textContent","isXMLDoc","namespaceURI","docElem","second","invert","callbackExpect","arg","Symbol","iterator","whitespace","rtrimCSS","bup","compareDocumentPosition","preferredDoc","pushNative","Expr","outermostContext","sortInput","hasDuplicate","documentIsHTML","rbuggyQSA","dirruns","classCache","createCache","tokenCache","compilerCache","nonnativeSelectorCache","sortOrder","booleans","identifier","rwhitespace","rcomma","rleadingCombinator","rdescend","rpseudo","ridentifier","matchExpr","ID","CLASS","TAG","ATTR","PSEUDO","CHILD","bool","needsContext","rinputs","rheader","rquickExpr","rsibling","runescape","funescape","escape","nonHex","high","unloadHandler","setDocument","inDisabledFieldset","addCombinator","childNodes","els","seed","nid","groups","newSelector","newContext","getElementsByTagName","getElementsByClassName","testContext","tokenize","toSelector","qsaError","cacheLength","markFunction","assert","createInputPseudo","createButtonPseudo","createDisabledPseudo","createPositionalPseudo","argument","matchIndexes","subWindow","webkitMatchesSelector","msMatchesSelector","getById","getElementsByName","disconnectedMatch","cssHas","attrId","getAttributeNode","tag","sortDetached","matchesSelector","attrHandle","duplicates","sortStable","preFilter","excess","unquoted","nodeNameSelector","expectedNodeName","operator","check","what","_argument","simple","forward","ofType","_context","xml","outerCache","nodeIndex","useCache","firstChild","lastChild","pseudo","setFilters","matched","compile","unmatched","lang","elemLang","_matchIndexes","lt","gt","nth","radio","checkbox","file","password","image","reset","parseOnly","tokens","soFar","preFilters","cached","combinator","checkNonElements","doneName","oldCache","newCache","elementMatcher","matchers","condense","newUnmatched","mapped","setMatcher","postFilter","postFinder","postSelector","matcherOut","preMap","postMap","preexisting","contexts","multipleContexts","matcherIn","matcherFromTokens","checkContext","leadingRelative","implicitRelative","matchContext","matchAnyContext","setMatchers","elementMatchers","bySet","byElement","superMatcher","outermost","matchedCount","setMatched","contextBackup","dirrunsUnique","matcherFromGroupMatchers","compiled","filters","getText","isXML","until","truncate","rneedsContext","rsingleTag","winnow","qualifier","self","rootjQuery","parseHTML","rparentsprev","guaranteedUnique","sibling","targets","nextUntil","prevUntil","contentDocument","reverse","rnothtmlwhite","Identity","Thrower","ex","adoptValue","reject","noValue","then","Callbacks","createOptions","firing","memory","fired","locked","firingIndex","fire","once","stopOnFalse","lock","fireWith","func","tuples","state","always","deferred","pipe","fns","newDefer","tuple","returned","progress","notify","onFulfilled","onRejected","onProgress","maxDepth","depth","mightThrow","notifyWith","resolveWith","process","exceptionHook","rejectWith","getErrorHook","getStackHook","stateString","singleValue","remaining","resolveContexts","resolveValues","updateFunc","rerrorNames","asyncError","console","warn","readyException","readyList","completed","removeEventListener","catch","readyWait","wait","readyState","doScroll","access","chainable","emptyGet","bulk","rmsPrefix","rdashAlpha","fcamelCase","_all","camelCase","acceptData","owner","Data","uid","hasData","dataPriv","dataUser","rbrace","rmultiDash","JSON","getData","_removeData","attrs","startLength","_queueHooks","setter","clearQueue","defer","pnum","rcssNum","cssExpand","isAttached","composed","isHiddenWithinTree","adjustCSS","valueParts","tween","adjusted","maxIterations","initial","cssNumber","initialInUnit","defaultDisplayMap","getDefaultDisplay","showHide","rcheckableType","rtagName","rscriptType","createDocumentFragment","checkClone","cloneNode","noCloneChecked","defaultValue","wrapMap","tr","getAll","setGlobalEval","refElements","tfoot","colgroup","caption","th","rhtml","buildFragment","scripts","ignored","attached","fragment","nodes","htmlPrefilter","createTextNode","rtypenamespace","returnTrue","returnFalse","types","origFn","leverageNative","isSetup","saved","isTrigger","isImmediatePropagationStopped","handleObjIn","eventHandle","namespaces","origType","elemData","triggered","dispatch","delegateCount","setup","mappedTypes","origCount","teardown","removeEvent","nativeEvent","handlerQueue","fix","delegateTarget","preDispatch","rnamespace","postDispatch","matchedHandlers","matchedSelectors","addProp","noBubble","timeStamp","isSimulated","bubbles","cancelable","changedTouches","detail","eventPhase","view","offsetX","offsetY","pointerId","screenX","screenY","targetTouches","toElement","focusMappedHandler","simulate","attaches","dataHolder","pointerenter","pointerleave","related","rnoInnerhtml","rchecked","rcleanScript","manipulationTarget","disableScript","restoreScript","cloneCopyEvent","dest","udataOld","udataCur","fixInput","domManip","collection","hasScripts","iNoClone","valueIsFunction","_evalUrl","keepData","dataAndEvents","deepDataAndEvents","srcElements","destElements","inPage","replaceChild","replaceAll","insert","rnumnonpx","rcustomProp","getStyles","swap","old","rboxStyle","curCSS","computed","isCustomProp","getPropertyValue","pixelBoxStyles","addGetHookIf","conditionFn","hookFn","computeStyleTests","divStyle","pixelPositionVal","reliableMarginLeftVal","roundPixelMeasures","pixelBoxStylesVal","boxSizingReliableVal","scrollboxSizeVal","measure","reliableTrDimensionsVal","backgroundClip","clearCloneStyle","boxSizingReliable","pixelPosition","reliableMarginLeft","scrollboxSize","reliableTrDimensions","table","trChild","trStyle","cssPrefixes","emptyStyle","vendorProps","finalPropName","cssProps","capName","vendorPropName","rdisplayswap","cssShow","cssNormalTransform","letterSpacing","fontWeight","setPositiveNumber","subtract","boxModelAdjustment","box","isBorderBox","computedVal","marginDelta","getWidthOrHeight","valueIsBorderBox","offsetProp","getClientRects","Tween","animationIterationCount","borderImageSlice","columnCount","flexGrow","flexShrink","gridArea","gridColumn","gridColumnEnd","gridColumnStart","gridRow","gridRowEnd","gridRowStart","lineHeight","order","orphans","widows","fillOpacity","floodOpacity","stopOpacity","strokeMiterlimit","strokeOpacity","origName","setProperty","isFinite","scrollboxSizeBuggy","suffix","propHooks","eased","linear","swing","fxNow","inProgress","rfxtypes","rrun","schedule","requestAnimationFrame","tick","createFxNow","genFx","includeWidth","createTween","Animation","tweeners","properties","stopped","prefilters","currentTime","startTime","tweens","specialEasing","originalProperties","originalOptions","gotoEnd","propFilter","anim","tweener","oldfire","propTween","restoreDisplay","isBox","dataShow","unqueued","opt","fadeTo","optall","doAnimation","finish","stopQueue","timers","cssFn","slideDown","slideToggle","fadeIn","fadeOut","fadeToggle","slow","timeout","checkOn","optSelected","radioValue","boolHook","nType","attrHooks","attrNames","getter","lowercaseName","rfocusable","rclickable","stripAndCollapse","getClass","classesToArray","removeProp","propFix","curValue","finalValue","stateVal","isValidValue","rreturn","valHooks","optionSet","rquery","parseXML","parserErrorElem","rfocusMorph","stopPropagationCallback","onlyHandlers","bubbleType","ontype","lastElement","eventPath","rbracket","rCRLF","rsubmitterTypes","rsubmittable","buildParams","traditional","param","valueOrFunction","encodeURIComponent","serializeArray","r20","rantiCache","rheaders","rnoContent","rprotocol","transports","allTypes","originAnchor","addToPrefiltersOrTransports","structure","dataTypeExpression","dataTypes","inspectPrefiltersOrTransports","inspected","seekingTransport","inspect","prefilterOrFactory","dataTypeOrTransport","ajaxExtend","flatOptions","lastModified","etag","isLocal","protocol","processData","async","contentType","accepts","json","responseFields","converters","ajaxSetup","ajaxPrefilter","ajaxTransport","transport","cacheURL","responseHeadersString","responseHeaders","timeoutTimer","urlAnchor","fireGlobals","uncached","callbackContext","globalEventContext","completeDeferred","statusCode","requestHeaders","requestHeadersNames","strAbort","getResponseHeader","getAllResponseHeaders","setRequestHeader","overrideMimeType","mimeType","finalText","crossDomain","host","hasContent","ifModified","send","nativeStatusText","responses","isSuccess","modified","ct","finalDataType","firstDataType","ajaxHandleResponses","conv2","conv","dataFilter","throws","ajaxConvert","getJSON","getScript","firstElementChild","wrapInner","htmlIsFunction","XMLHttpRequest","xhrSuccessStatus","xhrSupported","cors","errorCallback","username","xhrFields","onload","onerror","onabort","ontimeout","onreadystatechange","responseType","responseText","binary","scriptAttrs","charset","scriptCharset","evt","oldCallbacks","rjsonp","jsonp","jsonpCallback","originalSettings","callbackName","overwritten","responseContainer","jsonProp","createHTMLDocument","implementation","keepScripts","params","setOffset","curPosition","curLeft","curCSSTop","curTop","curOffset","curCSSLeft","win","pageXOffset","parentOffset","scrollTo","Height","Width","defaultExtra","funcName","unbind","delegate","undelegate","hover","fnOver","fnOut","rtrim","proxy","holdReady","hold","parseJSON","isNumeric","_jQuery","_$","isBrowser","timeoutDuration","longerTimeoutBrowsers","debounce","scheduled","functionToCheck","getStyleComputedProperty","getParentNode","getScrollParent","_getStyleComputedProp","getReferenceNode","referenceNode","isIE11","MSInputMethodContext","isIE10","isIE","getOffsetParent","noOffsetParent","nextElementSibling","getRoot","findCommonOffsetParent","element1","element2","DOCUMENT_POSITION_FOLLOWING","setStart","setEnd","commonAncestorContainer","element1root","getScroll","upperSide","scrollingElement","getBordersSize","sideA","sideB","getSize","computedStyle","getWindowSizes","createClass","_extends","assign","getClientRect","sizes","horizScrollbar","vertScrollbar","getOffsetRectRelativeToArbitraryNode","fixedPosition","isHTML","childrenRect","parentRect","borderLeftWidth","modifier","includeScroll","getFixedPositionOffsetParent","parentElement","getBoundaries","boundaries","excludeScroll","relativeOffset","getViewportOffsetRectRelativeToArtbitraryNode","boundariesNode","_getWindowSizes","isPaddingNumber","computeAutoPlacement","refRect","rects","sortedAreas","_ref","filteredAreas","_ref2","computedPlacement","variation","getReferenceOffsets","getOuterSizes","getOppositePlacement","getPopperOffsets","referenceOffsets","popperRect","popperOffsets","isHoriz","mainSide","secondarySide","measurement","secondaryMeasurement","runModifiers","ends","findIndex","isDestroyed","arrowStyles","flipped","positionFixed","isCreated","isModifierEnabled","modifierName","getSupportedPropertyName","prefixes","upperProp","toCheck","willChange","disableEventListeners","removeOnDestroy","getWindow","attachToScrollParents","scrollParents","isBody","passive","setupEventListeners","updateBound","scrollElement","eventsEnabled","enableEventListeners","cancelAnimationFrame","setStyles","isFirefox","isModifierRequired","requestingName","requestedName","requesting","isRequired","_requesting","requested","placements","validPlacements","clockwise","Defaults","basePlacement","shiftvariation","_data$offsets","isVertical","side","shiftOffsets","useHeight","fragments","frag","divider","splitRegex","ops","mergeWithPrevious","reduce","toValue","index2","parseOffset","transformProp","popperStyles","transform","priority","escapeWithReference","keepTogether","opSide","_data$offsets$arrow","arrowElement","sideCapitalized","altSide","arrowElementSize","center","popperMarginSide","popperBorderSide","sideValue","placementOpposite","flipOrder","refOffsets","overlapsRef","overflowsLeft","overflowsRight","overflowsTop","overflowsBottom","overflowsBoundaries","flippedVariationByRef","flipVariations","flippedVariationByContent","flipVariationsByContent","flippedVariation","getOppositeVariation","inner","subtractLength","bound","computeStyle","legacyGpuAccelerationOption","gpuAcceleration","offsetParentRect","shouldRound","noRound","referenceWidth","popperWidth","isVariation","horizontalToInteger","verticalToInteger","getRoundedOffsets","devicePixelRatio","prefixedProperty","invertTop","invertLeft","onLoad","modifierOptions","classCallCheck","Utils","PopperUtils","Rails","linkClickSelector","buttonClickSelector","exclude","inputChangeSelector","formSubmitSelector","formInputClickSelector","formDisableSelector","formEnableSelector","fileInputSelector","linkDisableSelector","buttonDisableSelector","loadCSPNonce","cspNonce","Element","mozMatchesSelector","oMatchesSelector","setData","csrfParam","csrfToken","meta","CSRFProtection","refreshCSRFTokens","CustomEvent","createEvent","initCustomEvent","dispatchEvent","stopEverything","AcceptHeaders","createXHR","prepareOptions","processResponse","OPENED","withCredentials","DONE","isCrossDomain","serializeElement","additionalParam","inputs","formElements","allowAction","handleConfirm","answer","confirm","disableFormElement","disableFormElements","disableLinkElement","enableFormElement","enableFormElements","enableLinkElement","handleDisabledElement","enableElement","disableElement","replacement","originalText","handleMethod","formContent","link","isRemote","handleRemote","enctype","FormData","formSubmitButtonClick","formNoValidate","preventInsignificantClick","insignificantMetaClick","rails","_rails_loaded","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__","__esModule","definition","globalThis","Function","toStringTag","UserAgent","locale","isMobile","isTablet","isIpad","isIphone","isDesktop","isSafari","isWindows","platform","userStatus","newUserNamePHText","ja","newEmailPHText","newPasswordPHText","retypePasswordPHText","currentPasswordPHText","saveText","saveCancelElement","panelName","isChecked","panelIconDown","panelIconUp","showPlaceHolder"],"sourceRoot":""}