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aC,aAAc,GAC5C,EAAIl8D,EAAYjD,SAAS,IAAKO,EAASP,SAxC5B,CAAC,CA2Cb,EAAEG,KAAKC,OAEW,oBAAXZ,OAAyB,oBAAAC,EAASD,QAAQ4/D,mCAAqC,WACrF,IAAIz/D,EAAS,CACXC,QAAS,CAAC,GAERA,EAAUD,EAAOC,QAqHrB,OAjHAC,OAAOC,eAAeF,EAAS,aAAc,CAC3CG,OAAO,IAGTk/C,mCAEAW,mCAEAG,mCAEAM,mCAEAS,mCAEAnM,mCAEAT,mCAEAL,mCAEAS,mCAEArsC,mCAEA06B,mCAEA8f,mCAEAI,mCAEAI,mCAEA7D,mCAEAsE,mCAEAC,mCAEAY,mCAEAE,mCAEAkD,mCAEA1b,mCAEAwgB,mCAEA1gC,mCAEA6gC,mCAEAhpB,mCAEAvrB,mCAEAwB,mCAEA8gC,mCAEAgT,mCAEAvJ,mCAEAl6C,mCAEA6jD,mCAEAyB,mCAEAE,mCAEAv5C,mCAEAwwB,mCAEAgpB,mCAEAC,mCAEA8B,mCAEAoB,mCAEAO,mCAEAI,mCAEAC,mCAEAI,mCAEAE,mCAEAG,mCAEAE,mCAEAnoC,mCAEAqtC,mCAEAE,mCAEAE,mCAEAsB,mCAEA6D,mCAEAl/D,EAAQI,QAAUR,OAAOikC,IACzB9jC,EAAOC,QAAUA,EAAiB,QAE3BD,EAAOC,OACf,EAAEO,KAAKC","sources":["webpack:///./node_modules/@atlassian/aui/dist/aui/js/aui.js"],"sourcesContent":["/*!\n * @atlassian/aui - Atlassian User Interface Framework\n * @version v5.10.1\n * @link https://docs.atlassian.com/aui/latest/\n * @license Apache-2.0\n * @author Atlassian Pty Ltd.\n */\n// src/js/aui/jquery.js\n(typeof window === 'undefined' ? global : window).__d931c30d7068216ce2c2064d08fd424c = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  \"use strict\";\n  \n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = window.jQuery || window.Zepto;\n  module.exports = exports['default'];\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/create-element.js\n(typeof window === 'undefined' ? global : window).__175b17b398f7d3e1f6beaa15cef1cc5c = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n      value: true\n  });\n  \n  var _jquery = __d931c30d7068216ce2c2064d08fd424c;\n  \n  var _jquery2 = _interopRequireDefault(_jquery);\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  function createElement() {\n      var res = null;\n  \n      if (arguments.length && typeof arguments[0] === 'string') {\n          res = (0, _jquery2.default)(document.createElement(arguments[0]));\n  \n          if (arguments.length === 2) {\n              res.html(arguments[1]);\n          }\n      }\n  \n      //We can't use the deprecate module or we will introduce a circular dependency\n      if (typeof console !== 'undefined' && console.warn) {\n          console.warn('AJS\\'s create element functionality has been deprecated since 5.9.0.\\nNo alternative will be provided.\\nUse document.createElement() or jQuery.parseHTML(), or preferably use a templating library.');\n      }\n  \n      return res;\n  }\n  \n  exports.default = createElement;\n  module.exports = exports['default'];\n  \n  return module.exports;\n}).call(this);\n// node_modules/object-assign/index.js\n(typeof window === 'undefined' ? global : window).__471157d7c1d049efb22b06d386a52f64 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  /* eslint-disable no-unused-vars */\n  var hasOwnProperty = Object.prototype.hasOwnProperty;\n  var propIsEnumerable = Object.prototype.propertyIsEnumerable;\n  \n  function toObject(val) {\n  \tif (val === null || val === undefined) {\n  \t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n  \t}\n  \n  \treturn Object(val);\n  }\n  \n  module.exports = Object.assign || function (target, source) {\n  \tvar from;\n  \tvar to = toObject(target);\n  \tvar symbols;\n  \n  \tfor (var s = 1; s < arguments.length; s++) {\n  \t\tfrom = Object(arguments[s]);\n  \n  \t\tfor (var key in from) {\n  \t\t\tif (hasOwnProperty.call(from, key)) {\n  \t\t\t\tto[key] = from[key];\n  \t\t\t}\n  \t\t}\n  \n  \t\tif (Object.getOwnPropertySymbols) {\n  \t\t\tsymbols = Object.getOwnPropertySymbols(from);\n  \t\t\tfor (var i = 0; i < symbols.length; i++) {\n  \t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n  \t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n  \t\t\t\t}\n  \t\t\t}\n  \t\t}\n  \t}\n  \n  \treturn to;\n  };\n  \n  \n  return module.exports;\n}).call(this);\n// src/js/aui/internal/globalize.js\n(typeof window === 'undefined' ? global : window).__58c75a0e7e2cf47e300bc2f2ecec24a2 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n      value: true\n  });\n  \n  exports.default = function (name, value) {\n      window[NAMESPACE] = (0, _objectAssign2.default)(_createElement2.default, window[NAMESPACE]);\n  \n      return window[NAMESPACE][name] = value;\n  };\n  \n  var _createElement = __175b17b398f7d3e1f6beaa15cef1cc5c;\n  \n  var _createElement2 = _interopRequireDefault(_createElement);\n  \n  var _objectAssign = __471157d7c1d049efb22b06d386a52f64;\n  \n  var _objectAssign2 = _interopRequireDefault(_objectAssign);\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  var NAMESPACE = 'AJS';\n  \n  module.exports = exports['default'];\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/internal/deprecation.js\n(typeof window === 'undefined' ? global : window).__2283e259423cbf11e76a3bf5e9e47933 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n      value: true\n  });\n  exports.getMessageLogger = exports.propertyDeprecationSupported = exports.obj = exports.prop = exports.css = exports.construct = exports.fn = undefined;\n  \n  var _jquery = __d931c30d7068216ce2c2064d08fd424c;\n  \n  var _jquery2 = _interopRequireDefault(_jquery);\n  \n  var _globalize = __58c75a0e7e2cf47e300bc2f2ecec24a2;\n  \n  var _globalize2 = _interopRequireDefault(_globalize);\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  var has = Object.prototype.hasOwnProperty;\n  var deprecationCalls = [];\n  var deprecatedSelectorMap = [];\n  \n  function toSentenceCase(str) {\n      str += '';\n  \n      if (!str) {\n          return '';\n      }\n  \n      return str.charAt(0).toUpperCase() + str.substring(1);\n  }\n  \n  function getDeprecatedLocation(printFrameOffset) {\n      var err = new Error();\n      var stack = err.stack || err.stacktrace;\n      var stackMessage = stack && stack.replace(/^Error\\n/, '') || '';\n  \n      if (stackMessage) {\n          stackMessage = stackMessage.split('\\n');\n          return stackMessage[printFrameOffset + 2];\n      }\n      return stackMessage;\n  }\n  \n  function logger() {\n      if (typeof console !== 'undefined' && console.warn) {\n          Function.prototype.apply.call(console.warn, console, arguments);\n      }\n  }\n  \n  /**\n   * Return a function that logs a deprecation warning to the console the first time it is called from a certain location.\n   * It will also print the stack frame of the calling function.\n   *\n   * @param {string} displayName the name of the thing being deprecated\n   * @param {object} options\n   * @param {string} options.removeInVersion the version this will be removed in\n   * @param {string} options.alternativeName the name of an alternative to use\n   * @param {string} options.sinceVersion the version this has been deprecated since\n   * @param {string} options.extraInfo extra information to be printed at the end of the deprecation log\n   * @param {string} options.extraObject an extra object that will be printed at the end\n   * @param {string} options.deprecationType type of the deprecation to append to the start of the deprecation message. e.g. JS or CSS\n   * @return {Function} that logs the warning and stack frame of the calling function. Takes in an optional parameter for the offset of\n   * the stack frame to print, the default is 0. For example, 0 will log it for the line of the calling function,\n   * -1 will print the location the logger was called from\n   */\n  function getShowDeprecationMessage(displayName, options) {\n      // This can be used internally to pas in a showmessage fn\n      if (typeof displayName === 'function') {\n          return displayName;\n      }\n  \n      var called = false;\n      options = options || {};\n  \n      return function (printFrameOffset) {\n          var deprecatedLocation = getDeprecatedLocation(printFrameOffset ? printFrameOffset : 1) || '';\n          // Only log once if the stack frame doesn't exist to avoid spamming the console/test output\n          if (!called || deprecationCalls.indexOf(deprecatedLocation) === -1) {\n              deprecationCalls.push(deprecatedLocation);\n  \n              called = true;\n  \n              var deprecationType = options.deprecationType + ' ' || '';\n  \n              var message = 'DEPRECATED ' + deprecationType + '- ' + toSentenceCase(displayName) + ' has been deprecated' + (options.sinceVersion ? ' since ' + options.sinceVersion : '') + ' and will be removed in ' + (options.removeInVersion || 'a future release') + '.';\n  \n              if (options.alternativeName) {\n                  message += ' Use ' + options.alternativeName + ' instead. ';\n              }\n  \n              if (options.extraInfo) {\n                  message += ' ' + options.extraInfo;\n              }\n  \n              if (deprecatedLocation === '') {\n                  deprecatedLocation = ' \\n ' + 'No stack trace of the deprecated usage is available in your current browser.';\n              } else {\n                  deprecatedLocation = ' \\n ' + deprecatedLocation;\n              }\n  \n              if (options.extraObject) {\n                  message += '\\n';\n                  logger(message, options.extraObject, deprecatedLocation);\n              } else {\n                  logger(message, deprecatedLocation);\n              }\n          }\n      };\n  }\n  \n  function logCssDeprecation(selectorMap, newNode) {\n      var displayName = selectorMap.options.displayName;\n      displayName = displayName ? ' (' + displayName + ')' : '';\n  \n      var options = _jquery2.default.extend({\n          deprecationType: 'CSS',\n          extraObject: newNode\n      }, selectorMap.options);\n  \n      getShowDeprecationMessage('\\'' + selectorMap.selector + '\\' pattern' + displayName, options)();\n  }\n  \n  /**\n  * Returns a wrapped version of the function that logs a deprecation warning when the function is used.\n  * @param {Function} fn the fn to wrap\n  * @param {string} displayName the name of the fn to be displayed in the message\n  * @param {string} options.removeInVersion the version this will be removed in\n  * @param {string} options.alternativeName the name of an alternative to use\n  * @param {string} options.sinceVersion the version this has been deprecated since\n  * @param {string} options.extraInfo extra information to be printed at the end of the deprecation log\n  * @return {Function} wrapping the original function\n  */\n  function deprecateFunctionExpression(fn, displayName, options) {\n      options = options || {};\n      options.deprecationType = options.deprecationType || 'JS';\n  \n      var showDeprecationMessage = getShowDeprecationMessage(displayName || fn.name || 'this function', options);\n      return function () {\n          showDeprecationMessage();\n          return fn.apply(this, arguments);\n      };\n  }\n  \n  /**\n  * Returns a wrapped version of the constructor that logs a deprecation warning when the constructor is instantiated.\n  * @param {Function} constructorFn the constructor function to wrap\n  * @param {string} displayName the name of the fn to be displayed in the message\n  * @param {string} options.removeInVersion the version this will be removed in\n  * @param {string} options.alternativeName the name of an alternative to use\n  * @param {string} options.sinceVersion the version this has been deprecated since\n  * @param {string} options.extraInfo extra information to be printed at the end of the deprecation log\n  * @return {Function} wrapping the original function\n  */\n  function deprecateConstructor(constructorFn, displayName, options) {\n      options = options || {};\n      options.deprecationType = options.deprecationType || 'JS';\n  \n      var deprecatedConstructor = deprecateFunctionExpression(constructorFn, displayName, options);\n      deprecatedConstructor.prototype = constructorFn.prototype;\n      _jquery2.default.extend(deprecatedConstructor, constructorFn); //copy static methods across;\n  \n      return deprecatedConstructor;\n  }\n  \n  var supportsProperties = false;\n  try {\n      if (Object.defineProperty) {\n          Object.defineProperty({}, 'blam', { get: function get() {}, set: function set() {} });\n          exports.propertyDeprecationSupported = supportsProperties = true;\n      }\n  } catch (e) {}\n  /* IE8 doesn't support on non-DOM elements */\n  \n  \n  /**\n  * Wraps a \"value\" object property in a deprecation warning in browsers supporting Object.defineProperty\n  * @param {Object} obj the object containing the property\n  * @param {string} prop the name of the property to deprecate\n  * @param {string} options.removeInVersion the version this will be removed in\n  * @param {string} options.displayName the display name of the property to deprecate (optional, will fall back to the property name)\n  * @param {string} options.alternativeName the name of an alternative to use\n  * @param {string} options.sinceVersion the version this has been deprecated since\n  * @param {string} options.extraInfo extra information to be printed at the end of the deprecation log\n  */\n  function deprecateValueProperty(obj, prop, options) {\n      if (supportsProperties) {\n          var oldVal = obj[prop];\n          options = options || {};\n          options.deprecationType = options.deprecationType || 'JS';\n  \n          var displayNameOrShowMessageFn = options.displayName || prop;\n          var showDeprecationMessage = getShowDeprecationMessage(displayNameOrShowMessageFn, options);\n          Object.defineProperty(obj, prop, {\n              get: function get() {\n                  showDeprecationMessage();\n                  return oldVal;\n              },\n              set: function set(val) {\n                  oldVal = val;\n                  showDeprecationMessage();\n                  return val;\n              }\n          });\n      }\n  }\n  \n  /**\n  * Wraps an object property in a deprecation warning, if possible. functions will always log warnings, but other\n  * types of properties will only log in browsers supporting Object.defineProperty\n  * @param {Object} obj the object containing the property\n  * @param {string} prop the name of the property to deprecate\n  * @param {string} options.removeInVersion the version this will be removed in\n  * @param {string} options.displayName the display name of the property to deprecate (optional, will fall back to the property name)\n  * @param {string} options.alternativeName the name of an alternative to use\n  * @param {string} options.sinceVersion the version this has been deprecated since\n  * @param {string} options.extraInfo extra information to be printed at the end of the deprecation log\n  */\n  function deprecateObjectProperty(obj, prop, options) {\n      if (typeof obj[prop] === 'function') {\n          options = options || {};\n          options.deprecationType = options.deprecationType || 'JS';\n  \n          var displayNameOrShowMessageFn = options.displayName || prop;\n          obj[prop] = deprecateFunctionExpression(obj[prop], displayNameOrShowMessageFn, options);\n      } else {\n          deprecateValueProperty(obj, prop, options);\n      }\n  }\n  \n  /**\n  * Wraps all an objects properties in a deprecation warning, if possible. functions will always log warnings, but other\n  * types of properties will only log in browsers supporting Object.defineProperty\n  * @param {Object} obj the object to be wrapped\n  * @param {string} objDisplayPrefix the object's prefix to be used in logs\n  * @param {string} options.removeInVersion the version this will be removed in\n  * @param {string} options.alternativeNamePrefix the name of another object to prefix the deprecated objects properties with\n  * @param {string} options.sinceVersion the version this has been deprecated since\n  * @param {string} options.extraInfo extra information to be printed at the end of the deprecation log\n  */\n  function deprecateAllProperties(obj, objDisplayPrefix, options) {\n      options = options || {};\n      for (var attr in obj) {\n          if (has.call(obj, attr)) {\n              options.deprecationType = options.deprecationType || 'JS';\n              options.displayName = objDisplayPrefix + attr;\n              options.alternativeName = options.alternativeNamePrefix && options.alternativeNamePrefix + attr;\n              deprecateObjectProperty(obj, attr, _jquery2.default.extend({}, options));\n          }\n      }\n  }\n  \n  function matchesSelector(el, selector) {\n      return (el.matches || el.msMatchesSelector || el.webkitMatchesSelector || el.mozMatchesSelector || el.oMatchesSelector).call(el, selector);\n  }\n  \n  function handleAddingSelector(options) {\n      return function (selector) {\n          var selectorMap = {\n              selector: selector,\n              options: options || {}\n          };\n  \n          deprecatedSelectorMap.push(selectorMap);\n  \n          // Search if matches have already been added\n          var matches = document.querySelectorAll(selector);\n          for (var i = 0; i < matches.length; i++) {\n              logCssDeprecation(selectorMap, matches[i]);\n          }\n      };\n  }\n  \n  /**\n  * Return a function that logs a deprecation warning to the console the first time it is called from a certain location.\n  * It will also print the stack frame of the calling function.\n  *\n  * @param {string|Array} selectors a selector or list of selectors that match deprecated markup\n  * @param {object} options\n  * @param {string} options.displayName a name describing these selectors\n  * @param {string} options.alternativeName the name of an alternative to use\n  * @param {string} options.removeInVersion the version these will be removed in\n  * @param {string} options.sinceVersion the version these have been deprecated since\n  * @param {string} options.extraInfo extra information to be printed at the end of the deprecation log\n  */\n  function deprecateCSS(selectors, options) {\n      if (!window.MutationObserver) {\n          logger('CSS could not be deprecated as Mutation Observer was not found.');\n          return;\n      }\n  \n      if (typeof selectors === 'string') {\n          selectors = [selectors];\n      }\n  \n      selectors.forEach(handleAddingSelector(options));\n  }\n  \n  function testAndHandleDeprecation(newNode) {\n      return function (selectorMap) {\n          if (matchesSelector(newNode, selectorMap.selector)) {\n              logCssDeprecation(selectorMap, newNode);\n          }\n      };\n  }\n  \n  if (window.MutationObserver) {\n      var observer = new MutationObserver(function (mutations) {\n          mutations.forEach(function (mutation) {\n              // TODO - should this also look at class changes, if possible?\n              var addedNodes = mutation.addedNodes;\n  \n              for (var i = 0; i < addedNodes.length; i++) {\n                  var newNode = addedNodes[i];\n                  if (newNode.nodeType === 1) {\n                      deprecatedSelectorMap.forEach(testAndHandleDeprecation(newNode));\n                  }\n              }\n          });\n      });\n  \n      var config = {\n          childList: true,\n          subtree: true\n      };\n  \n      observer.observe(document, config);\n  }\n  \n  var deprecate = {\n      fn: deprecateFunctionExpression,\n      construct: deprecateConstructor,\n      css: deprecateCSS,\n      prop: deprecateObjectProperty,\n      obj: deprecateAllProperties,\n      propertyDeprecationSupported: supportsProperties,\n      getMessageLogger: getShowDeprecationMessage\n  };\n  \n  (0, _globalize2.default)('deprecate', deprecate);\n  \n  exports.fn = deprecateFunctionExpression;\n  exports.construct = deprecateConstructor;\n  exports.css = deprecateCSS;\n  exports.prop = deprecateObjectProperty;\n  exports.obj = deprecateAllProperties;\n  exports.propertyDeprecationSupported = supportsProperties;\n  exports.getMessageLogger = getShowDeprecationMessage;\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/internal/amdify.js\n(typeof window === 'undefined' ? global : window).__be45a6ea1a54cc6fd0d790c9af8bc7fe = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n      value: true\n  });\n  \n  exports.default = function (name, fn) {\n      if (window.define) {\n          var alias = window.define;\n          alias(name, [], function () {\n              return fn;\n          });\n      }\n      return fn;\n  };\n  \n  module.exports = exports['default'];\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/internal/log.js\n(typeof window === 'undefined' ? global : window).__16a4a3246fcb7206cb3ce72a302f68ce = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n      value: true\n  });\n  exports.error = exports.warn = exports.log = undefined;\n  \n  var _globalize = __58c75a0e7e2cf47e300bc2f2ecec24a2;\n  \n  var _globalize2 = _interopRequireDefault(_globalize);\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  function polyfillConsole(prop) {\n      return function () {\n          if (typeof console !== 'undefined' && console[prop]) {\n              Function.prototype.apply.call(console[prop], console, arguments);\n          }\n      };\n  }\n  \n  var log = polyfillConsole('log');\n  var warn = polyfillConsole('warn');\n  var error = polyfillConsole('error');\n  \n  (0, _globalize2.default)('error', error);\n  (0, _globalize2.default)('log', log);\n  (0, _globalize2.default)('warn', warn);\n  \n  exports.log = log;\n  exports.warn = warn;\n  exports.error = error;\n  \n  return module.exports;\n}).call(this);\n// node_modules/css.escape/css.escape.js\n(typeof window === 'undefined' ? global : window).__ef17407a7820235f8c767aa4952c72b2 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  var defineDependencies = {\n    \"module\": module,\n    \"exports\": exports\n  };\n  var define = function defineReplacementWrapper(generatedModuleName) {\n    return function defineReplacement(name, deps, func) {\n      var root = (typeof window === 'undefined' ? global : window);\n      var defineGlobal = root.define;\n      var rval;\n      var type;\n  \n      func = [func, deps, name].filter(function (cur) {\n        return typeof cur === 'function';\n      })[0];\n      deps = [deps, name, []].filter(Array.isArray)[0];\n      rval = func.apply(null, deps.map(function (value) {\n        return defineDependencies[value];\n      }));\n      type = typeof rval;\n  \n      // Support existing AMD libs.\n      if (typeof defineGlobal === 'function') {\n        // Almond always expects a name so resolve one (#29).\n        defineGlobal(typeof name === 'string' ? name : generatedModuleName, deps, func);\n      }\n  \n      // Some processors like Babel don't check to make sure that the module value\n      // is not a primitive before calling Object.defineProperty() on it. We ensure\n      // it is an instance so that it can.\n      if (type === 'string') {\n        rval = String(rval);\n      } else if (type === 'number') {\n        rval = Number(rval);\n      } else if (type === 'boolean') {\n        rval = Boolean(rval);\n      }\n  \n      // Reset the exports to the defined module. This is how we convert AMD to\n      // CommonJS and ensures both can either co-exist, or be used separately. We\n      // only set it if it is not defined because there is no object representation\n      // of undefined, thus calling Object.defineProperty() on it would fail.\n      if (rval !== undefined) {\n        exports = module.exports = rval;\n      }\n    };\n  }(\"__ef17407a7820235f8c767aa4952c72b2\");\n  define.amd = true;\n  \n  /*! https://mths.be/cssescape v1.5.0 by @mathias | MIT license */\n  ;(function(root, factory) {\n  \t// https://github.com/umdjs/umd/blob/master/returnExports.js\n  \tif (typeof exports == 'object') {\n  \t\t// For Node.js.\n  \t\tmodule.exports = factory(root);\n  \t} else if (typeof define == 'function' && define.amd) {\n  \t\t// For AMD. Register as an anonymous module.\n  \t\tdefine([], factory.bind(root, root));\n  \t} else {\n  \t\t// For browser globals (not exposing the function separately).\n  \t\tfactory(root);\n  \t}\n  }(typeof global != 'undefined' ? global : this, function(root) {\n  \n  \tif (root.CSS && root.CSS.escape) {\n  \t\treturn root.CSS.escape;\n  \t}\n  \n  \t// https://drafts.csswg.org/cssom/#serialize-an-identifier\n  \tvar cssEscape = function(value) {\n  \t\tvar string = String(value);\n  \t\tvar length = string.length;\n  \t\tvar index = -1;\n  \t\tvar codeUnit;\n  \t\tvar result = '';\n  \t\tvar firstCodeUnit = string.charCodeAt(0);\n  \t\twhile (++index < length) {\n  \t\t\tcodeUnit = string.charCodeAt(index);\n  \t\t\t// Note: there’s no need to special-case astral symbols, surrogate\n  \t\t\t// pairs, or lone surrogates.\n  \n  \t\t\t// If the character is NULL (U+0000), then the REPLACEMENT CHARACTER\n  \t\t\t// (U+FFFD).\n  \t\t\tif (codeUnit == 0x0000) {\n  \t\t\t\tresult += '\\uFFFD';\n  \t\t\t\tcontinue;\n  \t\t\t}\n  \n  \t\t\tif (\n  \t\t\t\t// If the character is in the range [\\1-\\1F] (U+0001 to U+001F) or is\n  \t\t\t\t// U+007F, […]\n  \t\t\t\t(codeUnit >= 0x0001 && codeUnit <= 0x001F) || codeUnit == 0x007F ||\n  \t\t\t\t// If the character is the first character and is in the range [0-9]\n  \t\t\t\t// (U+0030 to U+0039), […]\n  \t\t\t\t(index == 0 && codeUnit >= 0x0030 && codeUnit <= 0x0039) ||\n  \t\t\t\t// If the character is the second character and is in the range [0-9]\n  \t\t\t\t// (U+0030 to U+0039) and the first character is a `-` (U+002D), […]\n  \t\t\t\t(\n  \t\t\t\t\tindex == 1 &&\n  \t\t\t\t\tcodeUnit >= 0x0030 && codeUnit <= 0x0039 &&\n  \t\t\t\t\tfirstCodeUnit == 0x002D\n  \t\t\t\t)\n  \t\t\t) {\n  \t\t\t\t// https://drafts.csswg.org/cssom/#escape-a-character-as-code-point\n  \t\t\t\tresult += '\\\\' + codeUnit.toString(16) + ' ';\n  \t\t\t\tcontinue;\n  \t\t\t}\n  \n  \t\t\tif (\n  \t\t\t\t// If the character is the first character and is a `-` (U+002D), and\n  \t\t\t\t// there is no second character, […]\n  \t\t\t\tindex == 0 &&\n  \t\t\t\tlength == 1 &&\n  \t\t\t\tcodeUnit == 0x002D\n  \t\t\t) {\n  \t\t\t\tresult += '\\\\' + string.charAt(index);\n  \t\t\t\tcontinue;\n  \t\t\t}\n  \n  \t\t\t// If the character is not handled by one of the above rules and is\n  \t\t\t// greater than or equal to U+0080, is `-` (U+002D) or `_` (U+005F), or\n  \t\t\t// is in one of the ranges [0-9] (U+0030 to U+0039), [A-Z] (U+0041 to\n  \t\t\t// U+005A), or [a-z] (U+0061 to U+007A), […]\n  \t\t\tif (\n  \t\t\t\tcodeUnit >= 0x0080 ||\n  \t\t\t\tcodeUnit == 0x002D ||\n  \t\t\t\tcodeUnit == 0x005F ||\n  \t\t\t\tcodeUnit >= 0x0030 && codeUnit <= 0x0039 ||\n  \t\t\t\tcodeUnit >= 0x0041 && codeUnit <= 0x005A ||\n  \t\t\t\tcodeUnit >= 0x0061 && codeUnit <= 0x007A\n  \t\t\t) {\n  \t\t\t\t// the character itself\n  \t\t\t\tresult += string.charAt(index);\n  \t\t\t\tcontinue;\n  \t\t\t}\n  \n  \t\t\t// Otherwise, the escaped character.\n  \t\t\t// https://drafts.csswg.org/cssom/#escape-a-character\n  \t\t\tresult += '\\\\' + string.charAt(index);\n  \n  \t\t}\n  \t\treturn result;\n  \t};\n  \n  \tif (!root.CSS) {\n  \t\troot.CSS = {};\n  \t}\n  \n  \troot.CSS.escape = cssEscape;\n  \treturn cssEscape;\n  \n  }));\n  \n  \n  return module.exports;\n}).call(this);\n// src/js/aui/inline-dialog.js\n(typeof window === 'undefined' ? global : window).__f0d050f6be514a79908e04eed705533e = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  /*global Raphael: true */\n  /*jshint quotmark:false, eqeqeq:false, strict:false */\n  \n  Object.defineProperty(exports, \"__esModule\", {\n      value: true\n  });\n  \n  var _jquery = __d931c30d7068216ce2c2064d08fd424c;\n  \n  var _jquery2 = _interopRequireDefault(_jquery);\n  \n  var _deprecation = __2283e259423cbf11e76a3bf5e9e47933;\n  \n  var deprecate = _interopRequireWildcard(_deprecation);\n  \n  var _log = __16a4a3246fcb7206cb3ce72a302f68ce;\n  \n  var logger = _interopRequireWildcard(_log);\n  \n  var _globalize = __58c75a0e7e2cf47e300bc2f2ecec24a2;\n  \n  var _globalize2 = _interopRequireDefault(_globalize);\n  \n  var _css = __ef17407a7820235f8c767aa4952c72b2;\n  \n  var _css2 = _interopRequireDefault(_css);\n  \n  function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  /**\n   * Creates a new inline dialog.\n   *\n   * @param items jQuery object - the items that trigger the display of this popup when the user mouses over.\n   * @param identifier A unique identifier for this popup. This should be unique across all popups on the page and a valid CSS class.\n   * @param url The URL to retrieve popup contents.\n   * @param options Custom options to change default behaviour. See InlineDialog.opts for default values and valid options.\n   */\n  function InlineDialog(items, identifier, url, options) {\n      options = options || [];\n  \n      if (options.hasOwnProperty('getArrowAttributes')) {\n          getArrowAttributesDeprecationLogger();\n      }\n  \n      if (options.hasOwnProperty('getArrowPath')) {\n          getArrowPathDeprecationLogger();\n          if (options.hasOwnProperty('gravity')) {\n              getArrowPathWithGravityDeprecationLogger();\n          }\n      }\n  \n      if (options.hasOwnProperty('onTop')) {\n          onTopDeprecationLogger();\n          if (options.onTop && options.gravity === undefined) {\n              options.gravity = 's';\n          }\n      }\n  \n      // attempt to generate a random identifier if it doesn't exist\n      if (typeof identifier === 'undefined') {\n          identifier = String(Math.random()).replace('.', '');\n  \n          // if the generated supplied identifier already exists when combined with the prefixes we'll be using, then bail\n          if ((0, _jquery2.default)('#inline-dialog-' + identifier + ', #arrow-' + identifier + ', #inline-dialog-shim-' + identifier).length) {\n              throw 'GENERATED_IDENTIFIER_NOT_UNIQUE';\n          }\n      }\n  \n      var escapedIdentifier = (0, _css2.default)(identifier);\n  \n      var opts = _jquery2.default.extend(false, InlineDialog.opts, options);\n      if (opts.gravity === 'w') {\n          // TODO Once support for gravity: 'e' is added, it should also\n          //      transpose the defaults for offsetX and offsetY.\n          opts.offsetX = options.offsetX === undefined ? 10 : options.offsetX;\n          opts.offsetY = options.offsetY === undefined ? 0 : options.offsetY;\n      }\n      var renderAsSVG = function renderAsSVG() {\n          return window.Raphael && options && (options.getArrowPath || options.getArrowAttributes);\n      };\n  \n      var hash;\n      var hideDelayTimer;\n      var showTimer;\n      var beingShown = false;\n      var shouldShow = false;\n      var contentLoaded = false;\n      var mousePosition;\n      var targetPosition;\n      var popup = (0, _jquery2.default)('<div id=\"inline-dialog-' + identifier + '\" class=\"aui-inline-dialog\"><div class=\"aui-inline-dialog-contents contents\"></div><div id=\"arrow-' + identifier + '\" class=\"aui-inline-dialog-arrow arrow\"></div></div>');\n  \n      var arrow = (0, _jquery2.default)('#arrow-' + escapedIdentifier, popup);\n      var contents = popup.find('.contents');\n  \n      if (!renderAsSVG()) {\n          popup.find('.aui-inline-dialog-arrow').addClass('aui-css-arrow');\n      }\n  \n      if (!opts.displayShadow) {\n          contents.addClass('aui-inline-dialog-no-shadow');\n      }\n  \n      if (opts.autoWidth) {\n          contents.addClass('aui-inline-dialog-auto-width');\n      } else {\n          contents.width(opts.width);\n      }\n  \n      contents.on({\n          mouseenter: function mouseenter() {\n              clearTimeout(hideDelayTimer);\n              popup.unbind('mouseenter');\n          },\n          mouseleave: function mouseleave() {\n              hidePopup();\n          }\n      });\n  \n      var getHash = function getHash() {\n          if (!hash) {\n              hash = {\n                  popup: popup,\n                  hide: function hide() {\n                      hidePopup(0);\n                  },\n                  id: identifier,\n                  show: function show() {\n                      showPopup();\n                  },\n                  persistent: opts.persistent ? true : false,\n                  reset: function reset() {\n  \n                      function drawPopup(popup, positions) {\n                          //Position the popup using the left and right parameters\n                          popup.css(positions.popupCss);\n  \n                          if (renderAsSVG()) {\n                              //special adjustment for downards raphael arrow\n                              if (positions.gravity === 's') {\n                                  positions.arrowCss.top -= _jquery2.default.browser.msie ? 10 : 9;\n                              }\n  \n                              if (!popup.arrowCanvas) {\n                                  popup.arrowCanvas = Raphael('arrow-' + escapedIdentifier, 16, 16); //create canvas using arrow element\n                              }\n                              var getArrowPath = opts.getArrowPath;\n                              var arrowPath = _jquery2.default.isFunction(getArrowPath) ? getArrowPath(positions) : getArrowPath;\n                              //draw the arrow\n                              popup.arrowCanvas.path(arrowPath).attr(opts.getArrowAttributes());\n                          } else {\n                              arrow.removeClass('aui-bottom-arrow aui-left-arrow aui-right-arrow');\n                              if (positions.gravity === 's' && !arrow.hasClass('aui-bottom-arrow')) {\n                                  arrow.addClass('aui-bottom-arrow');\n                              } else if (positions.gravity === 'w') {\n                                  arrow.addClass('aui-left-arrow');\n                              } else if (positions.gravity === 'e') {\n                                  arrow.addClass('aui-right-arrow');\n                              }\n                              // Default styles are for 'n' gravity.\n                          }\n  \n                          arrow.css(positions.arrowCss);\n                      }\n  \n                      //DRAW POPUP\n                      var viewportHeight = (0, _jquery2.default)(window).height();\n                      var popupMaxHeight = Math.round(viewportHeight * 0.75);\n                      popup.children('.aui-inline-dialog-contents').css('max-height', popupMaxHeight);\n  \n                      var positions = opts.calculatePositions(popup, targetPosition, mousePosition, opts);\n                      if (positions.hasOwnProperty('displayAbove')) {\n                          displayAboveDeprecationLogger();\n                          positions.gravity = positions.displayAbove ? 's' : 'n';\n                      }\n  \n                      drawPopup(popup, positions);\n  \n                      // reset position of popup box\n                      popup.fadeIn(opts.fadeTime, function () {\n                          // once the animation is complete, set the tracker variables\n                          // beingShown = false; // is this necessary? Maybe only the shouldShow will have to be reset?\n                      });\n  \n                      if (_jquery2.default.browser.msie && ~~_jquery2.default.browser.version < 10) {\n                          // iframeShim, prepend if it doesnt exist\n                          var jQueryCache = (0, _jquery2.default)('#inline-dialog-shim-' + escapedIdentifier);\n                          if (!jQueryCache.length) {\n                              (0, _jquery2.default)(popup).prepend((0, _jquery2.default)('<iframe class = \"inline-dialog-shim\" id=\"inline-dialog-shim-' + identifier + '\" frameBorder=\"0\" src=\"javascript:false;\"></iframe>'));\n                          }\n                          // adjust height and width of shim according to the popup\n                          jQueryCache.css({\n                              width: contents.outerWidth(),\n                              height: contents.outerHeight()\n                          });\n                      }\n                  }\n              };\n          }\n          return hash;\n      };\n  \n      var showPopup = function showPopup() {\n          if (popup.is(':visible')) {\n              return;\n          }\n          showTimer = setTimeout(function () {\n              if (!contentLoaded || !shouldShow) {\n                  return;\n              }\n              opts.addActiveClass && (0, _jquery2.default)(items).addClass('active');\n              beingShown = true;\n              if (!opts.persistent) {\n                  bindHideEvents();\n              }\n              InlineDialog.current = getHash();\n              (0, _jquery2.default)(document).trigger('showLayer', ['inlineDialog', getHash()]);\n              // retrieve the position of the click target. The offsets might be different for different types of targets and therefore\n              // either have to be customisable or we will have to be smarter about calculating the padding and elements around it\n  \n              getHash().reset();\n          }, opts.showDelay);\n      };\n  \n      var hidePopup = function hidePopup(delay) {\n          // do not auto hide the popup if persistent is set as true\n          if (typeof delay === 'undefined' && opts.persistent) {\n              return;\n          }\n          if (typeof popup.get(0)._datePickerPopup !== 'undefined') {\n              // AUI-2696 - This inline dialog is host to a date picker... so we shouldn't close it.\n              return;\n          }\n  \n          shouldShow = false;\n          // only exectute the below if the popup is currently being shown\n          // and the arbitrator callback gives us the green light\n          if (beingShown && opts.preHideCallback.call(popup[0].popup)) {\n              delay = delay == null ? opts.hideDelay : delay;\n              clearTimeout(hideDelayTimer);\n              clearTimeout(showTimer);\n              // store the timer so that it can be cleared in the mouseenter if required\n              //disable auto-hide if user passes null for hideDelay\n              if (delay != null) {\n                  hideDelayTimer = setTimeout(function () {\n                      unbindHideEvents();\n                      opts.addActiveClass && (0, _jquery2.default)(items).removeClass('active');\n                      popup.fadeOut(opts.fadeTime, function () {\n                          opts.hideCallback.call(popup[0].popup);\n                      });\n                      //If there's a raphael arrow remove it properly\n                      if (popup.arrowCanvas) {\n                          popup.arrowCanvas.remove();\n                          popup.arrowCanvas = null;\n                      }\n                      beingShown = false;\n                      shouldShow = false;\n                      (0, _jquery2.default)(document).trigger('hideLayer', ['inlineDialog', getHash()]);\n                      InlineDialog.current = null;\n                      if (!opts.cacheContent) {\n                          //if not caching the content, then reset the\n                          //flags to false so as to reload the content\n                          //on next mouse hover.\n                          contentLoaded = false;\n                          contentLoading = false;\n                      }\n                  }, delay);\n              }\n          }\n      };\n  \n      // the trigger is the jquery element that is triggering the popup (i.e., the element that the mousemove event is bound to)\n      var initPopup = function initPopup(e, trigger) {\n          var $trigger = (0, _jquery2.default)(trigger);\n  \n          opts.upfrontCallback.call({\n              popup: popup,\n              hide: function hide() {\n                  hidePopup(0);\n              },\n              id: identifier,\n              show: function show() {\n                  showPopup();\n              }\n          });\n  \n          popup.each(function () {\n              if (typeof this.popup !== 'undefined') {\n                  this.popup.hide();\n              }\n          });\n  \n          //Close all other popups if neccessary\n          if (opts.closeOthers) {\n              (0, _jquery2.default)('.aui-inline-dialog').each(function () {\n                  !this.popup.persistent && this.popup.hide();\n              });\n          }\n  \n          //handle programmatic showing where there is no event\n          targetPosition = { target: $trigger };\n          if (!e) {\n              mousePosition = { x: $trigger.offset().left, y: $trigger.offset().top };\n          } else {\n              mousePosition = { x: e.pageX, y: e.pageY };\n          }\n  \n          if (!beingShown) {\n              clearTimeout(showTimer);\n          }\n          shouldShow = true;\n          var doShowPopup = function doShowPopup() {\n              contentLoading = false;\n              contentLoaded = true;\n              opts.initCallback.call({\n                  popup: popup,\n                  hide: function hide() {\n                      hidePopup(0);\n                  },\n                  id: identifier,\n                  show: function show() {\n                      showPopup();\n                  }\n              });\n              showPopup();\n          };\n          // lazy load popup contents\n          if (!contentLoading) {\n              contentLoading = true;\n              if (_jquery2.default.isFunction(url)) {\n                  // If the passed in URL is a function, execute it. Otherwise simply load the content.\n                  url(contents, trigger, doShowPopup);\n              } else {\n                  //Retrive response from server\n                  _jquery2.default.get(url, function (data, status, xhr) {\n                      //Load HTML contents into the popup\n                      contents.html(opts.responseHandler(data, status, xhr));\n                      //Show the popup\n                      contentLoaded = true;\n                      opts.initCallback.call({\n                          popup: popup,\n                          hide: function hide() {\n                              hidePopup(0);\n                          },\n                          id: identifier,\n                          show: function show() {\n                              showPopup();\n                          }\n                      });\n                      showPopup();\n                  });\n              }\n          }\n          // stops the hide event if we move from the trigger to the popup element\n          clearTimeout(hideDelayTimer);\n          // don't trigger the animation again if we're being shown\n          if (!beingShown) {\n              showPopup();\n          }\n          return false;\n      };\n  \n      popup[0].popup = getHash();\n  \n      var contentLoading = false;\n      var added = false;\n      var appendPopup = function appendPopup() {\n          if (!added) {\n              (0, _jquery2.default)(opts.container).append(popup);\n              added = true;\n          }\n      };\n      var $items = (0, _jquery2.default)(items);\n  \n      if (opts.onHover) {\n          if (opts.useLiveEvents) {\n              // We're using .on() to emulate the behaviour of .live() here. on() requires the jQuery object to have\n              // a selector - this is actually how .live() is implemented in jQuery 1.7+.\n              // Note that .selector is deleted in jQuery 1.9+.\n              // This means that jQuery objects created by selection eg $(\".my-class-selector\") will work, but\n              // object created by DOM parsing eg $(\"<div class='.my-class'></div>\") will not work.\n              // Ideally we should throw an error if the $items has no selector but that is backwards incompatible,\n              // so we warn and do a no-op - this emulates the behaviour of live() but has the added warning.\n              if ($items.selector) {\n                  (0, _jquery2.default)(document).on('mouseenter', $items.selector, function (e) {\n                      appendPopup();\n                      initPopup(e, this);\n                  }).on('mouseleave', $items.selector, function () {\n                      hidePopup();\n                  });\n              } else {\n                  logger.log('Warning: inline dialog trigger elements must have a jQuery selector when the useLiveEvents option is enabled.');\n              }\n          } else {\n              $items.on({\n                  mouseenter: function mouseenter(e) {\n                      appendPopup();\n                      initPopup(e, this);\n                  },\n                  mouseleave: function mouseleave() {\n                      hidePopup();\n                  }\n              });\n          }\n      } else {\n          if (!opts.noBind) {\n              //Check if the noBind option is turned on\n              if (opts.useLiveEvents) {\n                  // See above for why we filter by .selector\n                  if ($items.selector) {\n                      (0, _jquery2.default)(document).on('click', $items.selector, function (e) {\n                          appendPopup();\n                          if (shouldCloseOnTriggerClick()) {\n                              popup.hide();\n                          } else {\n                              initPopup(e, this);\n                          }\n                          return false;\n                      }).on('mouseleave', $items.selector, function () {\n                          hidePopup();\n                      });\n                  } else {\n                      logger.log('Warning: inline dialog trigger elements must have a jQuery selector when the useLiveEvents option is enabled.');\n                  }\n              } else {\n                  $items.on('click', function (e) {\n                      appendPopup();\n                      if (shouldCloseOnTriggerClick()) {\n                          popup.hide();\n                      } else {\n                          initPopup(e, this);\n                      }\n                      return false;\n                  }).on('mouseleave', function () {\n                      hidePopup();\n                  });\n              }\n          }\n      }\n  \n      var shouldCloseOnTriggerClick = function shouldCloseOnTriggerClick() {\n          return beingShown && opts.closeOnTriggerClick;\n      };\n  \n      var bindHideEvents = function bindHideEvents() {\n          bindHideOnExternalClick();\n          bindHideOnEscPressed();\n      };\n  \n      var unbindHideEvents = function unbindHideEvents() {\n          unbindHideOnExternalClick();\n          unbindHideOnEscPressed();\n      };\n  \n      // Be defensive and make sure that we haven't already bound the event\n      var hasBoundOnExternalClick = false;\n      var externalClickNamespace = identifier + '.inline-dialog-check';\n  \n      /**\n       * Catch click events on the body to see if the click target occurs outside of this popup\n       * If it does, the popup will be hidden\n       */\n      var bindHideOnExternalClick = function bindHideOnExternalClick() {\n          if (!hasBoundOnExternalClick) {\n              (0, _jquery2.default)('body').bind('click.' + externalClickNamespace, function (e) {\n                  var $target = (0, _jquery2.default)(e.target);\n                  // hide the popup if the target of the event is not in the dialog\n                  if ($target.closest('#inline-dialog-' + escapedIdentifier + ' .contents').length === 0) {\n                      hidePopup(0);\n                  }\n              });\n              hasBoundOnExternalClick = true;\n          }\n      };\n  \n      var unbindHideOnExternalClick = function unbindHideOnExternalClick() {\n          if (hasBoundOnExternalClick) {\n              (0, _jquery2.default)('body').unbind('click.' + externalClickNamespace);\n          }\n          hasBoundOnExternalClick = false;\n      };\n  \n      var onKeydown = function onKeydown(e) {\n          if (e.keyCode === 27) {\n              hidePopup(0);\n          }\n      };\n  \n      var bindHideOnEscPressed = function bindHideOnEscPressed() {\n          (0, _jquery2.default)(document).on('keydown', onKeydown);\n      };\n  \n      var unbindHideOnEscPressed = function unbindHideOnEscPressed() {\n          (0, _jquery2.default)(document).off('keydown', onKeydown);\n      };\n  \n      /**\n       * Show the inline dialog.\n       * @method show\n       */\n      popup.show = function (e, trigger) {\n          if (e) {\n              e.stopPropagation();\n          }\n          appendPopup();\n          if (opts.noBind && !(items && items.length)) {\n              initPopup(e, trigger === undefined ? e.target : trigger);\n          } else {\n              initPopup(e, items);\n          }\n      };\n      /**\n       * Hide the inline dialog.\n       * @method hide\n       */\n      popup.hide = function () {\n          hidePopup(0);\n      };\n      /**\n       * Repositions the inline dialog if being shown.\n       * @method refresh\n       */\n      popup.refresh = function () {\n          if (beingShown) {\n              getHash().reset();\n          }\n      };\n  \n      popup.getOptions = function () {\n          return opts;\n      };\n  \n      return popup;\n  }\n  \n  function dimensionsOf(el) {\n      var $el = (0, _jquery2.default)(el);\n      var offset = _jquery2.default.extend({ left: 0, top: 0 }, $el.offset());\n      return {\n          left: offset.left,\n          top: offset.top,\n          width: $el.outerWidth(),\n          height: $el.outerHeight()\n      };\n  }\n  \n  function getDimensions(popup, targetPosition, mousePosition, opts) {\n      var offsetX = _jquery2.default.isFunction(opts.offsetX) ? opts.offsetX(popup, targetPosition, mousePosition, opts) : opts.offsetX;\n      var offsetY = _jquery2.default.isFunction(opts.offsetY) ? opts.offsetY(popup, targetPosition, mousePosition, opts) : opts.offsetY;\n      var arrowOffsetX = _jquery2.default.isFunction(opts.arrowOffsetX) ? opts.arrowOffsetX(popup, targetPosition, mousePosition, opts) : opts.arrowOffsetX;\n      var arrowOffsetY = _jquery2.default.isFunction(opts.arrowOffsetY) ? opts.arrowOffsetY(popup, targetPosition, mousePosition, opts) : opts.arrowOffsetY;\n  \n      // Support positioning inside a scroll container other than <body>\n      var isConstrainedScroll = opts.container.toLowerCase() !== 'body';\n      var $scrollContainer = (0, _jquery2.default)(opts.container);\n      var $scrollWindow = isConstrainedScroll ? (0, _jquery2.default)(opts.container).parent() : (0, _jquery2.default)(window);\n      var scrollContainerOffset = isConstrainedScroll ? $scrollContainer.offset() : { left: 0, top: 0 };\n      var scrollWindowOffset = isConstrainedScroll ? $scrollWindow.offset() : { left: 0, top: 0 };\n  \n      var trigger = targetPosition.target;\n      var triggerOffset = trigger.offset();\n      // Support SVG elements as triggers\n      // TODO Should calculateNorthSouthPositions also try getBBox()?\n      var triggerBBox = trigger[0].getBBox && trigger[0].getBBox();\n  \n      return {\n          // determines how close to the edge the dialog needs to be before it is considered offscreen\n          screenPadding: 10,\n          // Min distance arrow needs to be from the edge of the dialog\n          arrowMargin: 5,\n          window: {\n              top: scrollWindowOffset.top,\n              left: scrollWindowOffset.left,\n              scrollTop: $scrollWindow.scrollTop(),\n              scrollLeft: $scrollWindow.scrollLeft(),\n              width: $scrollWindow.width(),\n              height: $scrollWindow.height()\n          },\n          scrollContainer: {\n              width: $scrollContainer.width(),\n              height: $scrollContainer.height()\n          },\n          // Position of the trigger is relative to the scroll container\n          trigger: {\n              top: triggerOffset.top - scrollContainerOffset.top,\n              left: triggerOffset.left - scrollContainerOffset.left,\n              width: triggerBBox ? triggerBBox.width : trigger.outerWidth(),\n              height: triggerBBox ? triggerBBox.height : trigger.outerHeight()\n          },\n          dialog: {\n              width: popup.width(),\n              height: popup.height(),\n              offset: {\n                  top: offsetY,\n                  left: offsetX\n              }\n          },\n          arrow: {\n              height: popup.find('.arrow').outerHeight(),\n              offset: {\n                  top: arrowOffsetY,\n                  left: arrowOffsetX\n              }\n          }\n      };\n  }\n  \n  function calculateWestPositions(popup, targetPosition, mousePosition, opts) {\n      var dimensions = getDimensions(popup, targetPosition, mousePosition, opts);\n      var screenPadding = dimensions.screenPadding;\n      var win = dimensions.window;\n      var trigger = dimensions.trigger;\n      var dialog = dimensions.dialog;\n      var arrow = dimensions.arrow;\n      var scrollContainer = dimensions.scrollContainer;\n  \n      var triggerScrollOffset = {\n          top: trigger.top - win.scrollTop,\n          left: trigger.left - win.scrollLeft\n      };\n  \n      // Halves - because the browser doesn't do sub-pixel positioning, we need to consistently floor\n      // all decimal values or you can get 1px jumps in arrow positioning when the dialog's height changes.\n      var halfTriggerHeight = Math.floor(trigger.height / 2);\n      var halfPopupHeight = Math.floor(dialog.height / 2);\n      var halfArrowHeight = Math.floor(arrow.height / 2);\n  \n      // Figure out where to position the dialog, preferring the right (gravity: 'w').\n      var spaceOnLeft = triggerScrollOffset.left - dialog.offset.left - screenPadding;\n  \n      // This implementation may not be suitable for horizontally scrolling containers\n      var spaceOnRight = scrollContainer.width - triggerScrollOffset.left - trigger.width - dialog.offset.left - screenPadding;\n  \n      var enoughSpaceOnLeft = spaceOnLeft >= dialog.width;\n      var enoughSpaceOnRight = spaceOnRight >= dialog.width;\n      var gravity = !enoughSpaceOnRight && enoughSpaceOnLeft ? 'e' : 'w';\n  \n      // Screen padding needs to be adjusted if the arrow would extend into it\n      var arrowScreenTop = triggerScrollOffset.top + halfTriggerHeight - halfArrowHeight;\n      var arrowScreenBottom = win.height - arrowScreenTop - arrow.height;\n      screenPadding = Math.min(screenPadding, arrowScreenTop - dimensions.arrowMargin);\n      screenPadding = Math.min(screenPadding, arrowScreenBottom - dimensions.arrowMargin);\n  \n      // Figure out if the dialog needs to be adjusted up or down to fit on the screen\n      var middleOfTrigger = triggerScrollOffset.top + halfTriggerHeight;\n      var spaceAboveMiddleOfTrigger = Math.max(middleOfTrigger - screenPadding, 0);\n      var spaceBelowMiddleOfTrigger = Math.max(win.height - middleOfTrigger - screenPadding, 0);\n  \n      var isOverflowingAbove = halfPopupHeight - dialog.offset.top > spaceAboveMiddleOfTrigger;\n      var isOverflowingBelow = halfPopupHeight + dialog.offset.top > spaceBelowMiddleOfTrigger;\n  \n      var popupCss;\n      var arrowCss;\n      if (isOverflowingAbove) {\n          popupCss = {\n              top: win.scrollTop + screenPadding,\n              left: gravity === 'w' ? trigger.left + trigger.width + dialog.offset.left : trigger.left - dialog.width - dialog.offset.left\n          };\n          arrowCss = {\n              top: trigger.top + halfTriggerHeight - (popupCss.top + halfArrowHeight)\n          };\n      } else if (isOverflowingBelow) {\n          popupCss = {\n              top: win.scrollTop + win.height - dialog.height - screenPadding,\n              left: gravity === 'w' ? trigger.left + trigger.width + dialog.offset.left : trigger.left - dialog.width - dialog.offset.left\n          };\n          arrowCss = {\n              top: trigger.top + halfTriggerHeight - (popupCss.top + halfArrowHeight)\n          };\n      } else {\n          popupCss = {\n              top: trigger.top + halfTriggerHeight - halfPopupHeight + dialog.offset.top,\n              left: gravity === 'w' ? trigger.left + trigger.width + dialog.offset.left : trigger.left - dialog.width - dialog.offset.left\n          };\n          arrowCss = {\n              top: halfPopupHeight - halfArrowHeight + arrow.offset.top\n          };\n      }\n  \n      return {\n          gravity: gravity,\n          popupCss: popupCss,\n          arrowCss: arrowCss\n      };\n  }\n  \n  function calculateNorthSouthPositions(popup, targetPosition, mousePosition, opts) {\n      var offsetX = _jquery2.default.isFunction(opts.offsetX) ? opts.offsetX(popup, targetPosition, mousePosition, opts) : opts.offsetX;\n      var offsetY = _jquery2.default.isFunction(opts.offsetY) ? opts.offsetY(popup, targetPosition, mousePosition, opts) : opts.offsetY;\n      var arrowOffsetX = _jquery2.default.isFunction(opts.arrowOffsetX) ? opts.arrowOffsetX(popup, targetPosition, mousePosition, opts) : opts.arrowOffsetX;\n  \n      var viewportDimensions = dimensionsOf(window);\n      var targetDimensions = dimensionsOf(targetPosition.target);\n      var popupDimensions = dimensionsOf(popup);\n      var arrowDimensions = dimensionsOf(popup.find('.aui-inline-dialog-arrow'));\n  \n      var middleOfTrigger = targetDimensions.left + targetDimensions.width / 2; //The absolute x position of the middle of the Trigger\n      var bottomOfViewablePage = (window.pageYOffset || document.documentElement.scrollTop) + viewportDimensions.height;\n      var SCREEN_PADDING = 10; //determines how close to the edge the dialog needs to be before it is considered offscreen\n  \n      // Set popup's position (within the viewport)\n      popupDimensions.top = targetDimensions.top + targetDimensions.height + ~~offsetY;\n      popupDimensions.left = targetDimensions.left + ~~offsetX;\n  \n      // Calculate if the popup would render off the side of the viewport\n      var diff = viewportDimensions.width - (popupDimensions.left + popupDimensions.width + SCREEN_PADDING);\n  \n      // Set arrow's position (within the popup)\n      arrowDimensions.left = middleOfTrigger - popupDimensions.left + ~~arrowOffsetX;\n      // TODO arrowDimensions.top should also use arrowOffsetY.\n      arrowDimensions.top = -(arrowDimensions.height / 2);\n  \n      // Check whether the popup should display above or below the trigger\n      var enoughRoomAbove = targetDimensions.top > popupDimensions.height;\n      var enoughRoomBelow = popupDimensions.top + popupDimensions.height < bottomOfViewablePage;\n      var displayAbove = !enoughRoomBelow && enoughRoomAbove || enoughRoomAbove && opts.gravity === 's';\n  \n      if (displayAbove) {\n          popupDimensions.top = targetDimensions.top - popupDimensions.height - arrowDimensions.height / 2;\n          arrowDimensions.top = popupDimensions.height;\n      }\n  \n      // Check if the popup should show up relative to the mouse\n      if (opts.isRelativeToMouse) {\n          if (diff < 0) {\n              popupDimensions.right = SCREEN_PADDING;\n              popupDimensions.left = 'auto';\n              // TODO Why doesn't arrowDimentions.left here use arrowOffsetX?\n              arrowDimensions.left = mousePosition.x - (viewportDimensions.width - popupDimensions.width);\n          } else {\n              popupDimensions.left = mousePosition.x - 20;\n              // TODO Why doesn't arrowDimentions.left here use arrowOffsetX?\n              arrowDimensions.left = mousePosition.x - popupDimensions.left;\n          }\n      } else {\n          if (diff < 0) {\n              popupDimensions.right = SCREEN_PADDING;\n              popupDimensions.left = 'auto';\n  \n              var popupRightEdge = viewportDimensions.width - popupDimensions.right;\n              var popupLeftEdge = popupRightEdge - popupDimensions.width;\n  \n              //arrow's position must be relative to the popup's position and not of the screen.\n              arrowDimensions.right = 'auto';\n              // TODO Why doesn't arrowDimentions.left here use arrowOffsetX?\n              arrowDimensions.left = middleOfTrigger - popupLeftEdge - arrowDimensions.width / 2;\n          } else if (popupDimensions.width <= targetDimensions.width / 2) {\n              // TODO Why doesn't arrowDimentions.left here use arrowOffsetX?\n              arrowDimensions.left = popupDimensions.width / 2;\n              popupDimensions.left = middleOfTrigger - popupDimensions.width / 2;\n          }\n      }\n      return {\n          gravity: displayAbove ? 's' : 'n',\n          displayAbove: displayAbove, // Replaced with gravity but remains for backward compatibility.\n          popupCss: {\n              left: popupDimensions.left,\n              top: popupDimensions.top,\n              right: popupDimensions.right\n          },\n          arrowCss: {\n              left: arrowDimensions.left,\n              top: arrowDimensions.top,\n              right: arrowDimensions.right\n          }\n      };\n  }\n  \n  InlineDialog.opts = {\n      onTop: false,\n      responseHandler: function responseHandler(data) {\n          //assume data is html\n          return data;\n      },\n      closeOthers: true,\n      isRelativeToMouse: false,\n      addActiveClass: true, // if false, signifies that the triggers should not have the \"active\" class applied\n      onHover: false,\n      useLiveEvents: false,\n      noBind: false,\n      fadeTime: 100,\n      persistent: false,\n      hideDelay: 10000,\n      showDelay: 0,\n      width: 300,\n      offsetX: 0,\n      offsetY: 10,\n      arrowOffsetX: 0,\n      arrowOffsetY: 0,\n      container: 'body',\n      cacheContent: true,\n      displayShadow: true,\n      autoWidth: false,\n      gravity: 'n',\n      closeOnTriggerClick: false,\n      preHideCallback: function preHideCallback() {\n          return true;\n      },\n      hideCallback: function hideCallback() {}, // if defined, this method will be exected after the popup has been faded out.\n      initCallback: function initCallback() {}, // A function called after the popup contents are loaded. `this` will be the popup jQuery object, and the first argument is the popup identifier.\n      upfrontCallback: function upfrontCallback() {}, // A function called before the popup contents are loaded. `this` will be the popup jQuery object, and the first argument is the popup identifier.\n      /**\n       * Returns an object with the following attributes:\n       *      popupCss css attributes to apply on the popup element\n       *      arrowCss css attributes to apply on the arrow element\n       *\n       * @param popup\n       * @param targetPosition position of the target element\n       * @param mousePosition current mouse position\n       * @param opts options\n       */\n      calculatePositions: function calculatePositions(popup, targetPosition, mousePosition, opts) {\n          opts = opts || {};\n          var algorithm = opts.gravity === 'w' ? calculateWestPositions : calculateNorthSouthPositions;\n          return algorithm(popup, targetPosition, mousePosition, opts);\n      },\n      getArrowPath: function getArrowPath(positions) {\n          if (positions.gravity === 's') {\n              return 'M0,8L8,16,16,8';\n          } else {\n              return 'M0,8L8,0,16,8';\n          }\n      },\n      getArrowAttributes: function getArrowAttributes() {\n          return {\n              fill: '#fff',\n              stroke: '#ccc'\n          };\n      }\n  };\n  \n  // Deprecations\n  // ------------\n  \n  InlineDialog = deprecate.construct(InlineDialog, 'Inline dialog constructor', {\n      alternativeName: 'inline dialog 2'\n  });\n  \n  var displayAboveDeprecationLogger = deprecate.getMessageLogger('displayAbove', '[remove version]', {\n      alternativeName: 'gravity',\n      extraInfo: 'See https://ecosystem.atlassian.net/browse/AUI-2197.'\n  });\n  \n  var onTopDeprecationLogger = deprecate.getMessageLogger('onTop', '[remove version]', {\n      alternativeName: 'gravity',\n      extraInfo: 'See https://ecosystem.atlassian.net/browse/AUI-2197.'\n  });\n  \n  var getArrowAttributesDeprecationLogger = deprecate.getMessageLogger('getArrowAttributes', '[remove version]', {\n      extraInfo: 'See https://ecosystem.atlassian.net/browse/AUI-1362.'\n  });\n  \n  var getArrowPathDeprecationLogger = deprecate.getMessageLogger('getArrowPath', '[remove version]', {\n      extraInfo: 'See https://ecosystem.atlassian.net/browse/AUI-1362.'\n  });\n  \n  var getArrowPathWithGravityDeprecationLogger = deprecate.getMessageLogger('getArrowPath does not support gravity', '[remove version]', {\n      extraInfo: 'See https://ecosystem.atlassian.net/browse/AUI-2197.'\n  });\n  \n  // Exporting\n  // ---------\n  \n  (0, _globalize2.default)('InlineDialog', InlineDialog);\n  \n  exports.default = InlineDialog;\n  module.exports = exports['default'];\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/key-code.js\n(typeof window === 'undefined' ? global : window).__0feafabcd51357b770acdddb85e8e6f3 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n      value: true\n  });\n  \n  var _globalize = __58c75a0e7e2cf47e300bc2f2ecec24a2;\n  \n  var _globalize2 = _interopRequireDefault(_globalize);\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  var keyCode = {\n      ALT: 18,\n      BACKSPACE: 8,\n      CAPS_LOCK: 20,\n      COMMA: 188,\n      COMMAND: 91,\n  \n      // cmd\n      COMMAND_LEFT: 91,\n      COMMAND_RIGHT: 93,\n      LEFT_SQUARE_BRACKET: 91, //This is 91 for keypress and 219 for keydown/keyup\n      CONTROL: 17,\n      DELETE: 46,\n      DOWN: 40,\n      END: 35,\n      ENTER: 13,\n      ESCAPE: 27,\n      HOME: 36,\n      INSERT: 45,\n      LEFT: 37,\n  \n      // right cmd\n      MENU: 93,\n      NUMPAD_ADD: 107,\n      NUMPAD_DECIMAL: 110,\n      NUMPAD_DIVIDE: 111,\n      NUMPAD_ENTER: 108,\n      NUMPAD_MULTIPLY: 106,\n      NUMPAD_SUBTRACT: 109,\n      PAGE_DOWN: 34,\n      PAGE_UP: 33,\n      PERIOD: 190,\n      RIGHT: 39,\n      SHIFT: 16,\n      SPACE: 32,\n      TAB: 9,\n      UP: 38,\n  \n      // cmd\n      WINDOWS: 91\n  };\n  \n  (0, _globalize2.default)('keyCode', keyCode);\n  \n  exports.default = keyCode;\n  module.exports = exports['default'];\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/format.js\n(typeof window === 'undefined' ? global : window).__bd950d9487bdce968e9f27772530b69d = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n      value: true\n  });\n  \n  var _globalize = __58c75a0e7e2cf47e300bc2f2ecec24a2;\n  \n  var _globalize2 = _interopRequireDefault(_globalize);\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  /**\n   * Replaces tokens in a string with arguments, similar to Java's MessageFormat.\n   * Tokens are in the form {0}, {1}, {2}, etc.\n   *\n   * This version also provides support for simple choice formats (excluding floating point numbers) of the form\n   * {0,choice,0#0 issues|1#1 issue|1<{0,number} issues}\n   *\n   * Number format is currently not implemented, tokens of the form {0,number} will simply be printed as {0}\n   *\n   * @method format\n   * @param message the message to replace tokens in\n   * @param arg (optional) replacement value for token {0}, with subsequent arguments being {1}, etc.\n   * @return {String} the message with the tokens replaced\n   * @usage formatString(\"This is a {0} test\", \"simple\");\n   */\n  function formatString(message) {\n      var apos = /'(?!')/g,\n          // founds \"'\", but not \"''\"\n      simpleFormat = /^\\d+$/,\n          numberFormat = /^(\\d+),number$/,\n          // TODO: incomplete, as doesn't support floating point numbers\n      choiceFormat = /^(\\d+)\\,choice\\,(.+)/,\n          choicePart = /^(\\d+)([#<])(.+)/; // TODO: does not work for floating point numbers!\n      // we are caching RegExps, so will not spend time on recreating them on each call\n  \n      // formats a value, currently choice and simple replacement are implemented, proper\n      var getParamValue = function getParamValue(format, args) {\n          // simple substitute\n          /*jshint boss:true */\n          var res = '',\n              match;\n          if (match = format.match(simpleFormat)) {\n              // TODO: heavy guns for checking whether format is a simple number...\n              res = args.length > ++format ? args[format] : ''; // use the argument as is, or use '' if not found\n          }\n  \n          // number format\n          else if (match = format.match(numberFormat)) {\n                  // TODO: doesn't actually format the number...\n                  res = args.length > ++match[1] ? args[match[1]] : '';\n              }\n  \n              // choice format\n              else if (match = format.match(choiceFormat)) {\n                      // format: \"0,choice,0#0 issues|1#1 issue|1<{0,number} issues\"\n                      // match[0]: \"0,choice,0#0 issues|1#1 issue|1<{0,number} issues\"\n                      // match[1]: \"0\"\n                      // match[2]: \"0#0 issues|1#1 issue|1<{0,number} issues\"\n  \n                      // get the argument value we base the choice on\n                      var value = args.length > ++match[1] ? args[match[1]] : null;\n                      if (value !== null) {\n                          // go through all options, checking against the number, according to following formula,\n                          // if X < the first entry then the first entry is returned, if X > last entry, the last entry is returned\n                          //\n                          //    X matches j if and only if limit[j] <= X < limit[j+1]\n                          //\n                          var options = match[2].split('|');\n  \n                          var prevOptionValue = null; // holds last passed option\n                          for (var i = 0; i < options.length; i++) {\n                              // option: \"0#0 issues\"\n                              // part[0]: \"0#0 issues\"\n                              // part[1]: \"0\"\n                              // part[2]: \"#\"\n                              // part[3]\" \"0 issues\";\n                              var parts = options[i].match(choicePart);\n  \n                              // if value is smaller, we take the previous value, or the current if no previous exists\n                              var argValue = parseInt(parts[1], 10);\n                              if (value < argValue) {\n                                  if (prevOptionValue) {\n                                      res = prevOptionValue;\n                                      break;\n                                  } else {\n                                      res = parts[3];\n                                      break;\n                                  }\n                              }\n                              // if value is equal the condition, and the match is equality match we accept it\n                              if (value == argValue && parts[2] == '#') {\n                                  res = parts[3];\n                                  break;\n                              } else {}\n                              // value is greater the condition, fall through to next iteration\n  \n  \n                              // check whether we are the last option, in which case accept it even if the option does not match\n                              if (i == options.length - 1) {\n                                  res = parts[3];\n                              }\n  \n                              // retain current option\n                              prevOptionValue = parts[3];\n                          }\n  \n                          // run result through format, as the parts might contain substitutes themselves\n                          var formatArgs = [res].concat(Array.prototype.slice.call(args, 1));\n                          res = formatString.apply(null, formatArgs);\n                      }\n                  }\n          return res;\n      };\n  \n      // drop in replacement for the token regex\n      // splits the message to return the next accurance of a i18n placeholder.\n      // Does not use regexps as we need to support nested placeholders\n      // text between single ticks ' are ignored\n      var _performTokenRegex = function _performTokenRegex(message) {\n          var tick = false,\n              openIndex = -1,\n              openCount = 0;\n          for (var i = 0; i < message.length; i++) {\n              // handle ticks\n              var c = message.charAt(i);\n              if (c == \"'\") {\n                  // toggle\n                  tick = !tick;\n              }\n              // skip if we are between ticks\n              if (tick) {\n                  continue;\n              }\n              // check open brackets\n              if (c === '{') {\n                  if (openCount === 0) {\n                      openIndex = i;\n                  }\n                  openCount++;\n              } else if (c === '}') {\n                  if (openCount > 0) {\n                      openCount--;\n                      if (openCount === 0) {\n                          // we found a bracket match - generate the result array (\n                          var match = [];\n                          match.push(message.substring(0, i + 1)); // from begin to match\n                          match.push(message.substring(0, openIndex)); // everything until match start\n                          match.push(message.substring(openIndex + 1, i)); // matched content\n                          return match;\n                      }\n                  }\n              }\n          }\n          return null;\n      };\n  \n      var _formatString = function _formatString(message) {\n          var args = arguments;\n          var res = '';\n  \n          if (!message) {\n              return res;\n          }\n  \n          var match = _performTokenRegex(message);\n  \n          while (match) {\n              // reduce message to string after match\n              message = message.substring(match[0].length);\n  \n              // add value before match to result\n              res += match[1].replace(apos, '');\n  \n              // add formatted parameter\n              res += getParamValue(match[2], args);\n  \n              // check for next match\n              match = _performTokenRegex(message); //message.match(token);\n          }\n          // add remaining message to result\n          res += message.replace(apos, '');\n          return res;\n      };\n  \n      return _formatString.apply(null, arguments);\n  }\n  \n  (0, _globalize2.default)('format', formatString);\n  \n  exports.default = formatString;\n  module.exports = exports['default'];\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/internal/i18n/aui.js\n(typeof window === 'undefined' ? global : window).__d5c03870984f4048482fb344419ef109 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n      value: true\n  });\n  exports.default = {\n      'aui.dropdown.async.error': 'Error loading dropdown',\n      'aui.dropdown.async.loading': 'Loading dropdown',\n      'aui.words.add': 'Add',\n      'aui.words.update': 'Update',\n      'aui.words.delete': 'Delete',\n      'aui.words.remove': 'Remove',\n      'aui.words.cancel': 'Cancel',\n      'aui.words.loading': 'Loading',\n      'aui.words.close': 'Close',\n      'aui.enter.value': 'Enter value',\n      'aui.words.more': 'More',\n      'aui.words.moreitem': 'More…',\n      'aui.keyboard.shortcut.type.x': \"Type ''{0}''\",\n      'aui.keyboard.shortcut.then.x': \"then ''{0}''\",\n      'aui.keyboard.shortcut.or.x': \"OR ''{0}''\",\n      'aui.sidebar.expand.tooltip': 'Expand sidebar ( [ )',\n      'aui.sidebar.collapse.tooltip': 'Collapse sidebar ( [ )',\n      'aui.validation.message.maxlength': 'Must be fewer than or equal to {0} characters',\n      'aui.validation.message.minlength': 'Must be greater than or equal to {0} characters',\n      'aui.validation.message.exactlength': 'Must be exactly {0} characters',\n      'aui.validation.message.matchingfield': '{0} and {1} do not match.',\n      'aui.validation.message.matchingfield-novalue': 'These fields do not match.',\n      'aui.validation.message.doesnotcontain': 'Do not include the phrase {0} in this field',\n      'aui.validation.message.pattern': 'This field does not match the required format',\n      'aui.validation.message.required': 'This is a required field',\n      'aui.validation.message.validnumber': 'Please enter a valid number',\n      'aui.validation.message.min': 'Enter a value greater than {0}',\n      'aui.validation.message.max': 'Enter a value less than {0}',\n      'aui.validation.message.dateformat': 'Enter a valid date',\n      'aui.validation.message.minchecked': 'Tick at least {0,choice,0#0 checkboxes|1#1 checkbox|1<{0,number} checkboxes}.',\n      'aui.validation.message.maxchecked': 'Tick at most {0,choice,0#0 checkboxes|1#1 checkbox|1<{0,number} checkboxes}.',\n      'aui.checkboxmultiselect.clear.selected': 'Clear selected items',\n      'aui.select.no.suggestions': 'No suggestions',\n      'aui.select.new.suggestions': 'New suggestions added. Please use the up and down arrows to select.',\n      'aui.select.new.value': 'new value',\n      'aui.toggle.on': 'On',\n      'aui.toggle.off': 'Off',\n      'ajs.datepicker.localisations.day-names.sunday': 'Sunday',\n      'ajs.datepicker.localisations.day-names.monday': 'Monday',\n      'ajs.datepicker.localisations.day-names.tuesday': 'Tuesday',\n      'ajs.datepicker.localisations.day-names.wednesday': 'Wednesday',\n      'ajs.datepicker.localisations.day-names.thursday': 'Thursday',\n      'ajs.datepicker.localisations.day-names.friday': 'Friday',\n      'ajs.datepicker.localisations.day-names.saturday': 'Saturday',\n      'ajs.datepicker.localisations.day-names-min.sunday': 'Sun',\n      'ajs.datepicker.localisations.day-names-min.monday': 'Mon',\n      'ajs.datepicker.localisations.day-names-min.tuesday': 'Tue',\n      'ajs.datepicker.localisations.day-names-min.wednesday': 'Wed',\n      'ajs.datepicker.localisations.day-names-min.thursday': 'Thu',\n      'ajs.datepicker.localisations.day-names-min.friday': 'Fri',\n      'ajs.datepicker.localisations.day-names-min.saturday': 'Sat',\n      'ajs.datepicker.localisations.first-day': 0,\n      'ajs.datepicker.localisations.is-RTL': false,\n      'ajs.datepicker.localisations.month-names.january': 'January',\n      'ajs.datepicker.localisations.month-names.february': 'February',\n      'ajs.datepicker.localisations.month-names.march': 'March',\n      'ajs.datepicker.localisations.month-names.april': 'April',\n      'ajs.datepicker.localisations.month-names.may': 'May',\n      'ajs.datepicker.localisations.month-names.june': 'June',\n      'ajs.datepicker.localisations.month-names.july': 'July',\n      'ajs.datepicker.localisations.month-names.august': 'August',\n      'ajs.datepicker.localisations.month-names.september': 'September',\n      'ajs.datepicker.localisations.month-names.october': 'October',\n      'ajs.datepicker.localisations.month-names.november': 'November',\n      'ajs.datepicker.localisations.month-names.december': 'December',\n      'ajs.datepicker.localisations.show-month-after-year': false,\n      'ajs.datepicker.localisations.year-suffix': null\n  };\n  module.exports = exports['default'];\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/i18n.js\n(typeof window === 'undefined' ? global : window).__2a8f02ddf948a2241e4b1ac8618d2015 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n      value: true\n  });\n  \n  var _format = __bd950d9487bdce968e9f27772530b69d;\n  \n  var _format2 = _interopRequireDefault(_format);\n  \n  var _globalize = __58c75a0e7e2cf47e300bc2f2ecec24a2;\n  \n  var _globalize2 = _interopRequireDefault(_globalize);\n  \n  var _aui = __d5c03870984f4048482fb344419ef109;\n  \n  var _aui2 = _interopRequireDefault(_aui);\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  /**\n   * Returns the value defined in AJS.I18n.keys for the given key. If AJS.I18n.keys does not exist, or if the given key does not exist,\n   * the key is returned - this could occur in plugin mode if the I18n transform is not performed;\n   * or in flatpack mode if the i18n JS file is not loaded.\n   */\n  var i18n = {\n      keys: _aui2.default,\n      getText: function getText(key) {\n          var params = Array.prototype.slice.call(arguments, 1);\n  \n          if (Object.prototype.hasOwnProperty.call(this.keys, key)) {\n              return _format2.default.apply(null, [this.keys[key]].concat(params));\n          }\n  \n          return key;\n      }\n  };\n  \n  (0, _globalize2.default)('I18n', i18n);\n  \n  exports.default = i18n;\n  module.exports = exports['default'];\n  \n  return module.exports;\n}).call(this);\n// node_modules/skatejs/lib/constants.js\n(typeof window === 'undefined' ? global : window).__2c9dc182341fb237ca310976aed7ad2d = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  var defineDependencies = {\n    \"module\": module,\n    \"exports\": exports\n  };\n  var define = function defineReplacementWrapper(generatedModuleName) {\n    return function defineReplacement(name, deps, func) {\n      var root = (typeof window === 'undefined' ? global : window);\n      var defineGlobal = root.define;\n      var rval;\n      var type;\n  \n      func = [func, deps, name].filter(function (cur) {\n        return typeof cur === 'function';\n      })[0];\n      deps = [deps, name, []].filter(Array.isArray)[0];\n      rval = func.apply(null, deps.map(function (value) {\n        return defineDependencies[value];\n      }));\n      type = typeof rval;\n  \n      // Support existing AMD libs.\n      if (typeof defineGlobal === 'function') {\n        // Almond always expects a name so resolve one (#29).\n        defineGlobal(typeof name === 'string' ? name : generatedModuleName, deps, func);\n      }\n  \n      // Some processors like Babel don't check to make sure that the module value\n      // is not a primitive before calling Object.defineProperty() on it. We ensure\n      // it is an instance so that it can.\n      if (type === 'string') {\n        rval = String(rval);\n      } else if (type === 'number') {\n        rval = Number(rval);\n      } else if (type === 'boolean') {\n        rval = Boolean(rval);\n      }\n  \n      // Reset the exports to the defined module. This is how we convert AMD to\n      // CommonJS and ensures both can either co-exist, or be used separately. We\n      // only set it if it is not defined because there is no object representation\n      // of undefined, thus calling Object.defineProperty() on it would fail.\n      if (rval !== undefined) {\n        exports = module.exports = rval;\n      }\n    };\n  }(\"__2c9dc182341fb237ca310976aed7ad2d\");\n  define.amd = true;\n  \n  (function (factory) {\n    if (typeof define === \"function\" && define.amd) {\n      define([\"exports\"], factory);\n    } else if (typeof exports !== \"undefined\") {\n      factory(exports);\n    }\n  })(function (exports) {\n  \n    Object.defineProperty(exports, \"__esModule\", {\n      value: true\n    });\n  \n    var ATTR_IGNORE = \"data-skate-ignore\";\n    exports.ATTR_IGNORE = ATTR_IGNORE;\n    var TYPE_ATTRIBUTE = \"a\";\n    exports.TYPE_ATTRIBUTE = TYPE_ATTRIBUTE;\n    var TYPE_CLASSNAME = \"c\";\n    exports.TYPE_CLASSNAME = TYPE_CLASSNAME;\n    var TYPE_ELEMENT = \"t\";\n    exports.TYPE_ELEMENT = TYPE_ELEMENT;\n  });\n  \n  return module.exports;\n}).call(this);\n// node_modules/skatejs/lib/version.js\n(typeof window === 'undefined' ? global : window).__75b027db26271601fe05f33fb5030fe4 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  var defineDependencies = {\n    \"module\": module,\n    \"exports\": exports\n  };\n  var define = function defineReplacementWrapper(generatedModuleName) {\n    return function defineReplacement(name, deps, func) {\n      var root = (typeof window === 'undefined' ? global : window);\n      var defineGlobal = root.define;\n      var rval;\n      var type;\n  \n      func = [func, deps, name].filter(function (cur) {\n        return typeof cur === 'function';\n      })[0];\n      deps = [deps, name, []].filter(Array.isArray)[0];\n      rval = func.apply(null, deps.map(function (value) {\n        return defineDependencies[value];\n      }));\n      type = typeof rval;\n  \n      // Support existing AMD libs.\n      if (typeof defineGlobal === 'function') {\n        // Almond always expects a name so resolve one (#29).\n        defineGlobal(typeof name === 'string' ? name : generatedModuleName, deps, func);\n      }\n  \n      // Some processors like Babel don't check to make sure that the module value\n      // is not a primitive before calling Object.defineProperty() on it. We ensure\n      // it is an instance so that it can.\n      if (type === 'string') {\n        rval = String(rval);\n      } else if (type === 'number') {\n        rval = Number(rval);\n      } else if (type === 'boolean') {\n        rval = Boolean(rval);\n      }\n  \n      // Reset the exports to the defined module. This is how we convert AMD to\n      // CommonJS and ensures both can either co-exist, or be used separately. We\n      // only set it if it is not defined because there is no object representation\n      // of undefined, thus calling Object.defineProperty() on it would fail.\n      if (rval !== undefined) {\n        exports = module.exports = rval;\n      }\n    };\n  }(\"__75b027db26271601fe05f33fb5030fe4\");\n  define.amd = true;\n  \n  (function (factory) {\n    if (typeof define === \"function\" && define.amd) {\n      define([\"exports\", \"module\"], factory);\n    } else if (typeof exports !== \"undefined\" && typeof module !== \"undefined\") {\n      factory(exports, module);\n    }\n  })(function (exports, module) {\n  \n    module.exports = \"0.13.17\";\n  });\n  \n  return module.exports;\n}).call(this);\n// node_modules/skatejs/lib/globals.js\n(typeof window === 'undefined' ? global : window).__8bc71ed19ec0ce2834517b5458e2e84b = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  var defineDependencies = {\n    \"module\": module,\n    \"exports\": exports,\n    \"./version\": __75b027db26271601fe05f33fb5030fe4,\n    \"./version\": __75b027db26271601fe05f33fb5030fe4\n  };\n  var define = function defineReplacementWrapper(generatedModuleName) {\n    return function defineReplacement(name, deps, func) {\n      var root = (typeof window === 'undefined' ? global : window);\n      var defineGlobal = root.define;\n      var rval;\n      var type;\n  \n      func = [func, deps, name].filter(function (cur) {\n        return typeof cur === 'function';\n      })[0];\n      deps = [deps, name, []].filter(Array.isArray)[0];\n      rval = func.apply(null, deps.map(function (value) {\n        return defineDependencies[value];\n      }));\n      type = typeof rval;\n  \n      // Support existing AMD libs.\n      if (typeof defineGlobal === 'function') {\n        // Almond always expects a name so resolve one (#29).\n        defineGlobal(typeof name === 'string' ? name : generatedModuleName, deps, func);\n      }\n  \n      // Some processors like Babel don't check to make sure that the module value\n      // is not a primitive before calling Object.defineProperty() on it. We ensure\n      // it is an instance so that it can.\n      if (type === 'string') {\n        rval = String(rval);\n      } else if (type === 'number') {\n        rval = Number(rval);\n      } else if (type === 'boolean') {\n        rval = Boolean(rval);\n      }\n  \n      // Reset the exports to the defined module. This is how we convert AMD to\n      // CommonJS and ensures both can either co-exist, or be used separately. We\n      // only set it if it is not defined because there is no object representation\n      // of undefined, thus calling Object.defineProperty() on it would fail.\n      if (rval !== undefined) {\n        exports = module.exports = rval;\n      }\n    };\n  }(\"__8bc71ed19ec0ce2834517b5458e2e84b\");\n  define.amd = true;\n  \n  (function (factory) {\n    if (typeof define === \"function\" && define.amd) {\n      define([\"exports\", \"module\", \"./version\"], factory);\n    } else if (typeof exports !== \"undefined\" && typeof module !== \"undefined\") {\n      factory(exports, module, __75b027db26271601fe05f33fb5030fe4);\n    }\n  })(function (exports, module, _version) {\n  \n    var _interopRequire = function (obj) { return obj && obj.__esModule ? obj[\"default\"] : obj; };\n  \n    var version = _interopRequire(_version);\n  \n    var VERSION = \"__skate_\" + version.replace(/[^\\w]/g, \"_\");\n  \n    if (!window[VERSION]) {\n      window[VERSION] = {\n        observer: undefined,\n        registry: {}\n      };\n    }\n  \n    module.exports = window[VERSION];\n  });\n  \n  return module.exports;\n}).call(this);\n// node_modules/skatejs/lib/data.js\n(typeof window === 'undefined' ? global : window).__a0d35c59e61d7149bc2998c67586d197 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  var defineDependencies = {\n    \"module\": module,\n    \"exports\": exports\n  };\n  var define = function defineReplacementWrapper(generatedModuleName) {\n    return function defineReplacement(name, deps, func) {\n      var root = (typeof window === 'undefined' ? global : window);\n      var defineGlobal = root.define;\n      var rval;\n      var type;\n  \n      func = [func, deps, name].filter(function (cur) {\n        return typeof cur === 'function';\n      })[0];\n      deps = [deps, name, []].filter(Array.isArray)[0];\n      rval = func.apply(null, deps.map(function (value) {\n        return defineDependencies[value];\n      }));\n      type = typeof rval;\n  \n      // Support existing AMD libs.\n      if (typeof defineGlobal === 'function') {\n        // Almond always expects a name so resolve one (#29).\n        defineGlobal(typeof name === 'string' ? name : generatedModuleName, deps, func);\n      }\n  \n      // Some processors like Babel don't check to make sure that the module value\n      // is not a primitive before calling Object.defineProperty() on it. We ensure\n      // it is an instance so that it can.\n      if (type === 'string') {\n        rval = String(rval);\n      } else if (type === 'number') {\n        rval = Number(rval);\n      } else if (type === 'boolean') {\n        rval = Boolean(rval);\n      }\n  \n      // Reset the exports to the defined module. This is how we convert AMD to\n      // CommonJS and ensures both can either co-exist, or be used separately. We\n      // only set it if it is not defined because there is no object representation\n      // of undefined, thus calling Object.defineProperty() on it would fail.\n      if (rval !== undefined) {\n        exports = module.exports = rval;\n      }\n    };\n  }(\"__a0d35c59e61d7149bc2998c67586d197\");\n  define.amd = true;\n  \n  (function (factory) {\n    if (typeof define === \"function\" && define.amd) {\n      define([\"exports\", \"module\"], factory);\n    } else if (typeof exports !== \"undefined\" && typeof module !== \"undefined\") {\n      factory(exports, module);\n    }\n  })(function (exports, module) {\n  \n    module.exports = function (element) {\n      var namespace = arguments[1] === undefined ? \"\" : arguments[1];\n  \n      var data = element.__SKATE_DATA || (element.__SKATE_DATA = {});\n      return namespace && (data[namespace] || (data[namespace] = {})) || data;\n    };\n  });\n  \n  return module.exports;\n}).call(this);\n// node_modules/skatejs/lib/mutation-observer.js\n(typeof window === 'undefined' ? global : window).__025c363097a2f7f13b7d0423fac84b8b = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  var defineDependencies = {\n    \"module\": module,\n    \"exports\": exports\n  };\n  var define = function defineReplacementWrapper(generatedModuleName) {\n    return function defineReplacement(name, deps, func) {\n      var root = (typeof window === 'undefined' ? global : window);\n      var defineGlobal = root.define;\n      var rval;\n      var type;\n  \n      func = [func, deps, name].filter(function (cur) {\n        return typeof cur === 'function';\n      })[0];\n      deps = [deps, name, []].filter(Array.isArray)[0];\n      rval = func.apply(null, deps.map(function (value) {\n        return defineDependencies[value];\n      }));\n      type = typeof rval;\n  \n      // Support existing AMD libs.\n      if (typeof defineGlobal === 'function') {\n        // Almond always expects a name so resolve one (#29).\n        defineGlobal(typeof name === 'string' ? name : generatedModuleName, deps, func);\n      }\n  \n      // Some processors like Babel don't check to make sure that the module value\n      // is not a primitive before calling Object.defineProperty() on it. We ensure\n      // it is an instance so that it can.\n      if (type === 'string') {\n        rval = String(rval);\n      } else if (type === 'number') {\n        rval = Number(rval);\n      } else if (type === 'boolean') {\n        rval = Boolean(rval);\n      }\n  \n      // Reset the exports to the defined module. This is how we convert AMD to\n      // CommonJS and ensures both can either co-exist, or be used separately. We\n      // only set it if it is not defined because there is no object representation\n      // of undefined, thus calling Object.defineProperty() on it would fail.\n      if (rval !== undefined) {\n        exports = module.exports = rval;\n      }\n    };\n  }(\"__025c363097a2f7f13b7d0423fac84b8b\");\n  define.amd = true;\n  \n  (function (factory) {\n    if (typeof define === \"function\" && define.amd) {\n      define([\"exports\"], factory);\n    } else if (typeof exports !== \"undefined\") {\n      factory(exports);\n    }\n  })(function (exports) {\n  \n    (function (self) {\n      // Atlassian: added IIFE\n      /**\n       * @license\n       * Copyright (c) 2014 The Polymer Project Authors. All rights reserved.\n       * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt\n       * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt\n       * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt\n       * Code distributed by Google as part of the polymer project is also\n       * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt\n       */\n      // @version 0.7.15\n      if (typeof WeakMap === \"undefined\") {\n        (function () {\n          var defineProperty = Object.defineProperty;\n          var counter = Date.now() % 1000000000;\n          var WeakMap = function WeakMap() {\n            this.name = \"__st\" + (Math.random() * 1000000000 >>> 0) + (counter++ + \"__\");\n          };\n          WeakMap.prototype = {\n            set: function set(key, value) {\n              var entry = key[this.name];\n              if (entry && entry[0] === key) entry[1] = value;else defineProperty(key, this.name, {\n                value: [key, value],\n                writable: true\n              });\n              return this;\n            },\n            get: function get(key) {\n              var entry;\n              return (entry = key[this.name]) && entry[0] === key ? entry[1] : undefined;\n            },\n            \"delete\": function _delete(key) {\n              var entry = key[this.name];\n              if (!entry || entry[0] !== key) {\n                return false;\n              }entry[0] = entry[1] = undefined;\n              return true;\n            },\n            has: function has(key) {\n              var entry = key[this.name];\n              if (!entry) {\n                return false;\n              }return entry[0] === key;\n            }\n          };\n          window.WeakMap = WeakMap;\n        })();\n      }\n  \n      (function (global) {\n        if (global.JsMutationObserver) {\n          return;\n        }\n        var registrationsTable = new WeakMap();\n        var setImmediate;\n        if (/Trident|Edge/.test(navigator.userAgent)) {\n          setImmediate = setTimeout;\n        } else if (window.setImmediate) {\n          setImmediate = window.setImmediate;\n        } else {\n          var setImmediateQueue = [];\n          var sentinel = String(Math.random());\n          window.addEventListener(\"message\", function (e) {\n            if (e.data === sentinel) {\n              var queue = setImmediateQueue;\n              setImmediateQueue = [];\n              queue.forEach(function (func) {\n                func();\n              });\n            }\n          });\n          setImmediate = function (func) {\n            setImmediateQueue.push(func);\n            window.postMessage(sentinel, \"*\");\n          };\n        }\n        var isScheduled = false;\n        var scheduledObservers = [];\n        function scheduleCallback(observer) {\n          scheduledObservers.push(observer);\n          if (!isScheduled) {\n            isScheduled = true;\n            setImmediate(dispatchCallbacks);\n          }\n        }\n        function wrapIfNeeded(node) {\n          return window.ShadowDOMPolyfill && window.ShadowDOMPolyfill.wrapIfNeeded(node) || node;\n        }\n        function dispatchCallbacks() {\n          isScheduled = false;\n          var observers = scheduledObservers;\n          scheduledObservers = [];\n          observers.sort(function (o1, o2) {\n            return o1.uid_ - o2.uid_;\n          });\n          var anyNonEmpty = false;\n          observers.forEach(function (observer) {\n            var queue = observer.takeRecords();\n            removeTransientObserversFor(observer);\n            if (queue.length) {\n              observer.callback_(queue, observer);\n              anyNonEmpty = true;\n            }\n          });\n          if (anyNonEmpty) dispatchCallbacks();\n        }\n        function removeTransientObserversFor(observer) {\n          observer.nodes_.forEach(function (node) {\n            var registrations = registrationsTable.get(node);\n            if (!registrations) return;\n            registrations.forEach(function (registration) {\n              if (registration.observer === observer) registration.removeTransientObservers();\n            });\n          });\n        }\n        function forEachAncestorAndObserverEnqueueRecord(target, callback) {\n          for (var node = target; node; node = node.parentNode) {\n            var registrations = registrationsTable.get(node);\n            if (registrations) {\n              for (var j = 0; j < registrations.length; j++) {\n                var registration = registrations[j];\n                var options = registration.options;\n                if (node !== target && !options.subtree) continue;\n                var record = callback(options);\n                if (record) registration.enqueue(record);\n              }\n            }\n          }\n        }\n        var uidCounter = 0;\n        function JsMutationObserver(callback) {\n          this.callback_ = callback;\n          this.nodes_ = [];\n          this.records_ = [];\n          this.uid_ = ++uidCounter;\n        }\n        JsMutationObserver.prototype = {\n          observe: function observe(target, options) {\n            target = wrapIfNeeded(target);\n            if (!options.childList && !options.attributes && !options.characterData || options.attributeOldValue && !options.attributes || options.attributeFilter && options.attributeFilter.length && !options.attributes || options.characterDataOldValue && !options.characterData) {\n              throw new SyntaxError();\n            }\n            var registrations = registrationsTable.get(target);\n            if (!registrations) registrationsTable.set(target, registrations = []);\n            var registration;\n            for (var i = 0; i < registrations.length; i++) {\n              if (registrations[i].observer === this) {\n                registration = registrations[i];\n                registration.removeListeners();\n                registration.options = options;\n                break;\n              }\n            }\n            if (!registration) {\n              registration = new Registration(this, target, options);\n              registrations.push(registration);\n              this.nodes_.push(target);\n            }\n            registration.addListeners();\n          },\n          disconnect: function disconnect() {\n            this.nodes_.forEach(function (node) {\n              var registrations = registrationsTable.get(node);\n              for (var i = 0; i < registrations.length; i++) {\n                var registration = registrations[i];\n                if (registration.observer === this) {\n                  registration.removeListeners();\n                  registrations.splice(i, 1);\n                  break;\n                }\n              }\n            }, this);\n            this.records_ = [];\n          },\n          takeRecords: function takeRecords() {\n            var copyOfRecords = this.records_;\n            this.records_ = [];\n            return copyOfRecords;\n          }\n        };\n        function MutationRecord(type, target) {\n          this.type = type;\n          this.target = target;\n          this.addedNodes = [];\n          this.removedNodes = [];\n          this.previousSibling = null;\n          this.nextSibling = null;\n          this.attributeName = null;\n          this.attributeNamespace = null;\n          this.oldValue = null;\n        }\n        function copyMutationRecord(original) {\n          var record = new MutationRecord(original.type, original.target);\n          record.addedNodes = original.addedNodes.slice();\n          record.removedNodes = original.removedNodes.slice();\n          record.previousSibling = original.previousSibling;\n          record.nextSibling = original.nextSibling;\n          record.attributeName = original.attributeName;\n          record.attributeNamespace = original.attributeNamespace;\n          record.oldValue = original.oldValue;\n          return record;\n        }\n        var currentRecord, recordWithOldValue;\n        function getRecord(type, target) {\n          return currentRecord = new MutationRecord(type, target);\n        }\n        function getRecordWithOldValue(oldValue) {\n          if (recordWithOldValue) {\n            return recordWithOldValue;\n          }recordWithOldValue = copyMutationRecord(currentRecord);\n          recordWithOldValue.oldValue = oldValue;\n          return recordWithOldValue;\n        }\n        function clearRecords() {\n          currentRecord = recordWithOldValue = undefined;\n        }\n        function recordRepresentsCurrentMutation(record) {\n          return record === recordWithOldValue || record === currentRecord;\n        }\n        function selectRecord(lastRecord, newRecord) {\n          if (lastRecord === newRecord) {\n            return lastRecord;\n          }if (recordWithOldValue && recordRepresentsCurrentMutation(lastRecord)) {\n            return recordWithOldValue;\n          }return null;\n        }\n        function Registration(observer, target, options) {\n          this.observer = observer;\n          this.target = target;\n          this.options = options;\n          this.transientObservedNodes = [];\n        }\n        Registration.prototype = {\n          enqueue: function enqueue(record) {\n            var records = this.observer.records_;\n            var length = records.length;\n            if (records.length > 0) {\n              var lastRecord = records[length - 1];\n              var recordToReplaceLast = selectRecord(lastRecord, record);\n              if (recordToReplaceLast) {\n                records[length - 1] = recordToReplaceLast;\n                return;\n              }\n            } else {\n              scheduleCallback(this.observer);\n            }\n            records[length] = record;\n          },\n          addListeners: function addListeners() {\n            this.addListeners_(this.target);\n          },\n          addListeners_: function addListeners_(node) {\n            var options = this.options;\n            if (options.attributes) node.addEventListener(\"DOMAttrModified\", this, true);\n            if (options.characterData) node.addEventListener(\"DOMCharacterDataModified\", this, true);\n            if (options.childList) node.addEventListener(\"DOMNodeInserted\", this, true);\n            if (options.childList || options.subtree) node.addEventListener(\"DOMNodeRemoved\", this, true);\n          },\n          removeListeners: function removeListeners() {\n            this.removeListeners_(this.target);\n          },\n          removeListeners_: function removeListeners_(node) {\n            var options = this.options;\n            if (options.attributes) node.removeEventListener(\"DOMAttrModified\", this, true);\n            if (options.characterData) node.removeEventListener(\"DOMCharacterDataModified\", this, true);\n            if (options.childList) node.removeEventListener(\"DOMNodeInserted\", this, true);\n            if (options.childList || options.subtree) node.removeEventListener(\"DOMNodeRemoved\", this, true);\n          },\n          addTransientObserver: function addTransientObserver(node) {\n            if (node === this.target) {\n              return;\n            }this.addListeners_(node);\n            this.transientObservedNodes.push(node);\n            var registrations = registrationsTable.get(node);\n            if (!registrations) registrationsTable.set(node, registrations = []);\n            registrations.push(this);\n          },\n          removeTransientObservers: function removeTransientObservers() {\n            var transientObservedNodes = this.transientObservedNodes;\n            this.transientObservedNodes = [];\n            transientObservedNodes.forEach(function (node) {\n              this.removeListeners_(node);\n              var registrations = registrationsTable.get(node);\n              for (var i = 0; i < registrations.length; i++) {\n                if (registrations[i] === this) {\n                  registrations.splice(i, 1);\n                  break;\n                }\n              }\n            }, this);\n          },\n          handleEvent: function handleEvent(e) {\n            e.stopImmediatePropagation();\n            switch (e.type) {\n              case \"DOMAttrModified\":\n                var name = e.attrName;\n                var namespace = e.relatedNode.namespaceURI;\n                var target = e.target;\n                var record = new getRecord(\"attributes\", target);\n                record.attributeName = name;\n                record.attributeNamespace = namespace;\n                var oldValue = e.attrChange === MutationEvent.ADDITION ? null : e.prevValue;\n                forEachAncestorAndObserverEnqueueRecord(target, function (options) {\n                  if (!options.attributes) return;\n                  if (options.attributeFilter && options.attributeFilter.length && options.attributeFilter.indexOf(name) === -1 && options.attributeFilter.indexOf(namespace) === -1) {\n                    return;\n                  }\n                  if (options.attributeOldValue) return getRecordWithOldValue(oldValue);\n                  return record;\n                });\n                break;\n  \n              case \"DOMCharacterDataModified\":\n                var target = e.target;\n                var record = getRecord(\"characterData\", target);\n                var oldValue = e.prevValue;\n                forEachAncestorAndObserverEnqueueRecord(target, function (options) {\n                  if (!options.characterData) return;\n                  if (options.characterDataOldValue) return getRecordWithOldValue(oldValue);\n                  return record;\n                });\n                break;\n  \n              case \"DOMNodeRemoved\":\n                this.addTransientObserver(e.target);\n  \n              case \"DOMNodeInserted\":\n                var changedNode = e.target;\n                var addedNodes, removedNodes;\n                if (e.type === \"DOMNodeInserted\") {\n                  addedNodes = [changedNode];\n                  removedNodes = [];\n                } else {\n                  addedNodes = [];\n                  removedNodes = [changedNode];\n                }\n                var previousSibling = changedNode.previousSibling;\n                var nextSibling = changedNode.nextSibling;\n                var record = getRecord(\"childList\", e.target.parentNode);\n                record.addedNodes = addedNodes;\n                record.removedNodes = removedNodes;\n                record.previousSibling = previousSibling;\n                record.nextSibling = nextSibling;\n                forEachAncestorAndObserverEnqueueRecord(e.relatedNode, function (options) {\n                  if (!options.childList) return;\n                  return record;\n                });\n            }\n            clearRecords();\n          }\n        };\n        global.JsMutationObserver = JsMutationObserver;\n        if (!global.MutationObserver) {\n          global.MutationObserver = JsMutationObserver;\n          JsMutationObserver._isPolyfilled = true;\n        }\n      })(self);\n    })(window); // Atlassian: added IIFE\n  });\n  \n  return module.exports;\n}).call(this);\n// node_modules/skatejs/lib/utils.js\n(typeof window === 'undefined' ? global : window).__1d4e16d14c2f0b3a31f544dc3542afc3 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  var defineDependencies = {\n    \"module\": module,\n    \"exports\": exports,\n    \"./constants\": __2c9dc182341fb237ca310976aed7ad2d,\n    \"./constants\": __2c9dc182341fb237ca310976aed7ad2d\n  };\n  var define = function defineReplacementWrapper(generatedModuleName) {\n    return function defineReplacement(name, deps, func) {\n      var root = (typeof window === 'undefined' ? global : window);\n      var defineGlobal = root.define;\n      var rval;\n      var type;\n  \n      func = [func, deps, name].filter(function (cur) {\n        return typeof cur === 'function';\n      })[0];\n      deps = [deps, name, []].filter(Array.isArray)[0];\n      rval = func.apply(null, deps.map(function (value) {\n        return defineDependencies[value];\n      }));\n      type = typeof rval;\n  \n      // Support existing AMD libs.\n      if (typeof defineGlobal === 'function') {\n        // Almond always expects a name so resolve one (#29).\n        defineGlobal(typeof name === 'string' ? name : generatedModuleName, deps, func);\n      }\n  \n      // Some processors like Babel don't check to make sure that the module value\n      // is not a primitive before calling Object.defineProperty() on it. We ensure\n      // it is an instance so that it can.\n      if (type === 'string') {\n        rval = String(rval);\n      } else if (type === 'number') {\n        rval = Number(rval);\n      } else if (type === 'boolean') {\n        rval = Boolean(rval);\n      }\n  \n      // Reset the exports to the defined module. This is how we convert AMD to\n      // CommonJS and ensures both can either co-exist, or be used separately. We\n      // only set it if it is not defined because there is no object representation\n      // of undefined, thus calling Object.defineProperty() on it would fail.\n      if (rval !== undefined) {\n        exports = module.exports = rval;\n      }\n    };\n  }(\"__1d4e16d14c2f0b3a31f544dc3542afc3\");\n  define.amd = true;\n  \n  (function (factory) {\n    if (typeof define === \"function\" && define.amd) {\n      define([\"exports\", \"./constants\"], factory);\n    } else if (typeof exports !== \"undefined\") {\n      factory(exports, __2c9dc182341fb237ca310976aed7ad2d);\n    }\n  })(function (exports, _constants) {\n  \n    /**\n     * Checks {}.hasOwnProperty in a safe way.\n     *\n     * @param {Object} obj The object the property is on.\n     * @param {String} key The object key to check.\n     *\n     * @returns {Boolean}\n     */\n  \n    exports.hasOwn = hasOwn;\n  \n    /**\n     * Camel-cases the specified string.\n     *\n     * @param {String} str The string to camel-case.\n     *\n     * @returns {String}\n     */\n    exports.camelCase = camelCase;\n  \n    /**\n     * Returns whether or not the source element contains the target element.\n     * This is for browsers that don't support Element.prototype.contains on an\n     * HTMLUnknownElement.\n     *\n     * @param {HTMLElement} source The source element.\n     * @param {HTMLElement} target The target element.\n     *\n     * @returns {Boolean}\n     */\n    exports.elementContains = elementContains;\n  \n    /**\n     * Returns a function that will prevent more than one call in a single clock\n     * tick.\n     *\n     * @param {Function} fn The function to call.\n     *\n     * @returns {Function}\n     */\n    exports.debounce = debounce;\n  \n    /**\n     * Returns whether or not the specified element has been selectively ignored.\n     *\n     * @param {Element} element The element to check and traverse up from.\n     *\n     * @returns {Boolean}\n     */\n    exports.getClosestIgnoredElement = getClosestIgnoredElement;\n  \n    /**\n     * Merges the second argument into the first.\n     *\n     * @param {Object} child The object to merge into.\n     * @param {Object} parent The object to merge from.\n     * @param {Boolean} overwrite Whether or not to overwrite properties on the child.\n     *\n     * @returns {Object} Returns the child object.\n     */\n    exports.inherit = inherit;\n  \n    /**\n     * Traverses an object checking hasOwnProperty.\n     *\n     * @param {Object} obj The object to traverse.\n     * @param {Function} fn The function to call for each item in the object.\n     *\n     * @returns {undefined}\n     */\n    exports.objEach = objEach;\n    exports.supportsNativeCustomElements = supportsNativeCustomElements;\n    exports.isValidNativeCustomElementName = isValidNativeCustomElementName;\n    Object.defineProperty(exports, \"__esModule\", {\n      value: true\n    });\n  \n    var ATTR_IGNORE = _constants.ATTR_IGNORE;\n    var elementPrototype = window.HTMLElement.prototype;\n    exports.elementPrototype = elementPrototype;\n    var elementPrototypeContains = elementPrototype.contains;\n    function hasOwn(obj, key) {\n      return Object.prototype.hasOwnProperty.call(obj, key);\n    }\n  \n    function camelCase(str) {\n      return str.split(/-/g).map(function (str, index) {\n        return index === 0 ? str : str[0].toUpperCase() + str.substring(1);\n      }).join(\"\");\n    }\n  \n    function elementContains(source, target) {\n      // The document element does not have the contains method in IE.\n      if (source === document && !source.contains) {\n        return document.head.contains(target) || document.body.contains(target);\n      }\n  \n      return source.contains ? source.contains(target) : elementPrototypeContains.call(source, target);\n    }\n  \n    function debounce(fn) {\n      var called = false;\n  \n      return function () {\n        if (!called) {\n          called = true;\n          setTimeout(function () {\n            called = false;\n            fn();\n          }, 1);\n        }\n      };\n    }\n  \n    function getClosestIgnoredElement(element) {\n      var parent = element;\n  \n      // e.g. document doesn't have a function hasAttribute; no need to go further up\n      while (parent instanceof Element) {\n        if (parent.hasAttribute(ATTR_IGNORE)) {\n          return parent;\n        }\n  \n        parent = parent.parentNode;\n      }\n    }\n  \n    function inherit(child, parent, overwrite) {\n      var names = Object.getOwnPropertyNames(parent);\n      var namesLen = names.length;\n  \n      for (var a = 0; a < namesLen; a++) {\n        var name = names[a];\n  \n        if (overwrite || child[name] === undefined) {\n          var desc = Object.getOwnPropertyDescriptor(parent, name);\n          var shouldDefineProps = desc.get || desc.set || !desc.writable || !desc.enumerable || !desc.configurable;\n  \n          if (shouldDefineProps) {\n            Object.defineProperty(child, name, desc);\n          } else {\n            child[name] = parent[name];\n          }\n        }\n      }\n  \n      return child;\n    }\n  \n    function objEach(obj, fn) {\n      for (var a in obj) {\n        if (hasOwn(obj, a)) {\n          fn(obj[a], a);\n        }\n      }\n    }\n  \n    function supportsNativeCustomElements() {\n      return typeof document.registerElement === \"function\";\n    }\n  \n    function isValidNativeCustomElementName(name) {\n      return name.indexOf(\"-\") > 0;\n    }\n  });\n  \n  return module.exports;\n}).call(this);\n// node_modules/skatejs/lib/registry.js\n(typeof window === 'undefined' ? global : window).__96a2c1693c2eba3e0663bf6b406a1002 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  var defineDependencies = {\n    \"module\": module,\n    \"exports\": exports,\n    \"./constants\": __2c9dc182341fb237ca310976aed7ad2d,\n    \"./globals\": __8bc71ed19ec0ce2834517b5458e2e84b,\n    \"./utils\": __1d4e16d14c2f0b3a31f544dc3542afc3,\n    \"./constants\": __2c9dc182341fb237ca310976aed7ad2d,\n    \"./globals\": __8bc71ed19ec0ce2834517b5458e2e84b,\n    \"./utils\": __1d4e16d14c2f0b3a31f544dc3542afc3\n  };\n  var define = function defineReplacementWrapper(generatedModuleName) {\n    return function defineReplacement(name, deps, func) {\n      var root = (typeof window === 'undefined' ? global : window);\n      var defineGlobal = root.define;\n      var rval;\n      var type;\n  \n      func = [func, deps, name].filter(function (cur) {\n        return typeof cur === 'function';\n      })[0];\n      deps = [deps, name, []].filter(Array.isArray)[0];\n      rval = func.apply(null, deps.map(function (value) {\n        return defineDependencies[value];\n      }));\n      type = typeof rval;\n  \n      // Support existing AMD libs.\n      if (typeof defineGlobal === 'function') {\n        // Almond always expects a name so resolve one (#29).\n        defineGlobal(typeof name === 'string' ? name : generatedModuleName, deps, func);\n      }\n  \n      // Some processors like Babel don't check to make sure that the module value\n      // is not a primitive before calling Object.defineProperty() on it. We ensure\n      // it is an instance so that it can.\n      if (type === 'string') {\n        rval = String(rval);\n      } else if (type === 'number') {\n        rval = Number(rval);\n      } else if (type === 'boolean') {\n        rval = Boolean(rval);\n      }\n  \n      // Reset the exports to the defined module. This is how we convert AMD to\n      // CommonJS and ensures both can either co-exist, or be used separately. We\n      // only set it if it is not defined because there is no object representation\n      // of undefined, thus calling Object.defineProperty() on it would fail.\n      if (rval !== undefined) {\n        exports = module.exports = rval;\n      }\n    };\n  }(\"__96a2c1693c2eba3e0663bf6b406a1002\");\n  define.amd = true;\n  \n  (function (factory) {\n    if (typeof define === \"function\" && define.amd) {\n      define([\"exports\", \"module\", \"./constants\", \"./globals\", \"./utils\"], factory);\n    } else if (typeof exports !== \"undefined\" && typeof module !== \"undefined\") {\n      factory(exports, module, __2c9dc182341fb237ca310976aed7ad2d, __8bc71ed19ec0ce2834517b5458e2e84b, __1d4e16d14c2f0b3a31f544dc3542afc3);\n    }\n  })(function (exports, module, _constants, _globals, _utils) {\n  \n    var _interopRequire = function (obj) { return obj && obj.__esModule ? obj[\"default\"] : obj; };\n  \n    var TYPE_ATTRIBUTE = _constants.TYPE_ATTRIBUTE;\n    var TYPE_CLASSNAME = _constants.TYPE_CLASSNAME;\n    var TYPE_ELEMENT = _constants.TYPE_ELEMENT;\n  \n    var globals = _interopRequire(_globals);\n  \n    var hasOwn = _utils.hasOwn;\n    var isValidNativeCustomElementName = _utils.isValidNativeCustomElementName;\n    var supportsNativeCustomElements = _utils.supportsNativeCustomElements;\n  \n    /**\n     * Returns the class list for the specified element.\n     *\n     * @param {Element} element The element to get the class list for.\n     *\n     * @returns {ClassList | Array}\n     */\n    function getClassList(element) {\n      var classList = element.classList;\n  \n      if (classList) {\n        return classList;\n      }\n  \n      var attrs = element.attributes;\n  \n      return attrs[\"class\"] && attrs[\"class\"].nodeValue.split(/\\s+/) || [];\n    }\n  \n    module.exports = {\n      clear: function clear() {\n        globals.registry = {};\n        return this;\n      },\n  \n      get: function get(id) {\n        return hasOwn(globals.registry, id) && globals.registry[id];\n      },\n  \n      getForElement: function getForElement(element) {\n        var attrs = element.attributes;\n        var attrsLen = attrs.length;\n        var definitions = [];\n        var isAttr = attrs.is;\n        var isAttrValue = isAttr && (isAttr.value || isAttr.nodeValue);\n  \n        // Using localName as fallback for edge cases when processing <object> tag that is used\n        // as inteface to NPAPI plugin.\n        var tag = (element.tagName || element.localName).toLowerCase();\n        var isAttrOrTag = isAttrValue || tag;\n        var definition;\n        var tagToExtend;\n  \n        if (this.isType(isAttrOrTag, TYPE_ELEMENT)) {\n          definition = globals.registry[isAttrOrTag];\n          tagToExtend = definition[\"extends\"];\n  \n          if (isAttrValue) {\n            if (tag === tagToExtend) {\n              definitions.push(definition);\n            }\n          } else if (!tagToExtend) {\n            definitions.push(definition);\n          }\n        }\n  \n        for (var a = 0; a < attrsLen; a++) {\n          var attr = attrs[a].nodeName;\n  \n          if (this.isType(attr, TYPE_ATTRIBUTE)) {\n            definition = globals.registry[attr];\n            tagToExtend = definition[\"extends\"];\n  \n            if (!tagToExtend || tag === tagToExtend) {\n              definitions.push(definition);\n            }\n          }\n        }\n  \n        var classList = getClassList(element);\n        var classListLen = classList.length;\n  \n        for (var b = 0; b < classListLen; b++) {\n          var className = classList[b];\n  \n          if (this.isType(className, TYPE_CLASSNAME)) {\n            definition = globals.registry[className];\n            tagToExtend = definition[\"extends\"];\n  \n            if (!tagToExtend || tag === tagToExtend) {\n              definitions.push(definition);\n            }\n          }\n        }\n  \n        return definitions;\n      },\n  \n      isType: function isType(id, type) {\n        var def = this.get(id);\n        return def && def.type === type;\n      },\n  \n      isNativeCustomElement: function isNativeCustomElement(id) {\n        return supportsNativeCustomElements() && this.isType(id, TYPE_ELEMENT) && isValidNativeCustomElementName(id);\n      },\n  \n      set: function set(id, definition) {\n        if (hasOwn(globals.registry, id)) {\n          throw new Error(\"A component definition of type \\\"\" + definition.type + \"\\\" with the ID of \\\"\" + id + \"\\\" already exists.\");\n        }\n  \n        globals.registry[id] = definition;\n  \n        return this;\n      }\n    };\n  });\n  \n  return module.exports;\n}).call(this);\n// node_modules/skatejs/lib/lifecycle.js\n(typeof window === 'undefined' ? global : window).__4ba7c10fedd0d411bd04cbcf784295b0 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  var defineDependencies = {\n    \"module\": module,\n    \"exports\": exports,\n    \"./constants\": __2c9dc182341fb237ca310976aed7ad2d,\n    \"./data\": __a0d35c59e61d7149bc2998c67586d197,\n    \"./mutation-observer\": __025c363097a2f7f13b7d0423fac84b8b,\n    \"./registry\": __96a2c1693c2eba3e0663bf6b406a1002,\n    \"./utils\": __1d4e16d14c2f0b3a31f544dc3542afc3,\n    \"./constants\": __2c9dc182341fb237ca310976aed7ad2d,\n    \"./data\": __a0d35c59e61d7149bc2998c67586d197,\n    \"./mutation-observer\": __025c363097a2f7f13b7d0423fac84b8b,\n    \"./registry\": __96a2c1693c2eba3e0663bf6b406a1002,\n    \"./utils\": __1d4e16d14c2f0b3a31f544dc3542afc3\n  };\n  var define = function defineReplacementWrapper(generatedModuleName) {\n    return function defineReplacement(name, deps, func) {\n      var root = (typeof window === 'undefined' ? global : window);\n      var defineGlobal = root.define;\n      var rval;\n      var type;\n  \n      func = [func, deps, name].filter(function (cur) {\n        return typeof cur === 'function';\n      })[0];\n      deps = [deps, name, []].filter(Array.isArray)[0];\n      rval = func.apply(null, deps.map(function (value) {\n        return defineDependencies[value];\n      }));\n      type = typeof rval;\n  \n      // Support existing AMD libs.\n      if (typeof defineGlobal === 'function') {\n        // Almond always expects a name so resolve one (#29).\n        defineGlobal(typeof name === 'string' ? name : generatedModuleName, deps, func);\n      }\n  \n      // Some processors like Babel don't check to make sure that the module value\n      // is not a primitive before calling Object.defineProperty() on it. We ensure\n      // it is an instance so that it can.\n      if (type === 'string') {\n        rval = String(rval);\n      } else if (type === 'number') {\n        rval = Number(rval);\n      } else if (type === 'boolean') {\n        rval = Boolean(rval);\n      }\n  \n      // Reset the exports to the defined module. This is how we convert AMD to\n      // CommonJS and ensures both can either co-exist, or be used separately. We\n      // only set it if it is not defined because there is no object representation\n      // of undefined, thus calling Object.defineProperty() on it would fail.\n      if (rval !== undefined) {\n        exports = module.exports = rval;\n      }\n    };\n  }(\"__4ba7c10fedd0d411bd04cbcf784295b0\");\n  define.amd = true;\n  \n  (function (factory) {\n    if (typeof define === \"function\" && define.amd) {\n      define([\"exports\", \"./constants\", \"./data\", \"./mutation-observer\", \"./registry\", \"./utils\"], factory);\n    } else if (typeof exports !== \"undefined\") {\n      factory(exports, __2c9dc182341fb237ca310976aed7ad2d, __a0d35c59e61d7149bc2998c67586d197, __025c363097a2f7f13b7d0423fac84b8b, __96a2c1693c2eba3e0663bf6b406a1002, __1d4e16d14c2f0b3a31f544dc3542afc3);\n    }\n  })(function (exports, _constants, _data, _mutationObserver, _registry, _utils) {\n  \n    var _interopRequire = function (obj) { return obj && obj.__esModule ? obj[\"default\"] : obj; };\n  \n    Object.defineProperty(exports, \"__esModule\", {\n      value: true\n    });\n  \n    var ATTR_IGNORE = _constants.ATTR_IGNORE;\n  \n    var data = _interopRequire(_data);\n  \n    var registry = _interopRequire(_registry);\n  \n    var camelCase = _utils.camelCase;\n    var elementContains = _utils.elementContains;\n    var hasOwn = _utils.hasOwn;\n    var inherit = _utils.inherit;\n    var objEach = _utils.objEach;\n    var Node = window.Node;\n    //jshint ignore:line\n    var elProto = window.HTMLElement.prototype;\n    var nativeMatchesSelector = elProto.matches || elProto.msMatchesSelector || elProto.webkitMatchesSelector || elProto.mozMatchesSelector || elProto.oMatchesSelector;\n    // Only IE9 has this msMatchesSelector bug, but best to detect it.\n    var hasNativeMatchesSelectorDetattachedBug = !nativeMatchesSelector.call(document.createElement(\"div\"), \"div\");\n    var matchesSelector = function matchesSelector(element, selector) {\n      if (hasNativeMatchesSelectorDetattachedBug) {\n        var clone = element.cloneNode();\n        document.createElement(\"div\").appendChild(clone);\n        return nativeMatchesSelector.call(clone, selector);\n      }\n      return nativeMatchesSelector.call(element, selector);\n    };\n  \n    // Edge has a bug where oldValue is sent as null instead of the true oldValue\n    // when an element attribute is removed. Bug raised at\n    // https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/7711883/\n    var needsAttributeOldValueCaching = /Edge/.test(navigator.userAgent);\n  \n    /**\n     * Parses an event definition and returns information about it.\n     *\n     * @param {String} e The event to parse.\n     *\n     * @returns {Object]}\n     */\n    function parseEvent(e) {\n      var parts = e.split(\" \");\n      return {\n        name: parts.shift(),\n        delegate: parts.join(\" \")\n      };\n    }\n  \n    /**\n     * Sets the defined attributes to their default values, if specified.\n     *\n     * @param {Element} target The web component element.\n     * @param {Object} component The web component definition.\n     *\n     * @returns {undefined}\n     */\n    function initAttributes(target, component) {\n      var componentAttributes = component.attributes;\n  \n      if (typeof componentAttributes !== \"object\") {\n        return;\n      }\n  \n      for (var attribute in componentAttributes) {\n        if (hasOwn(componentAttributes, attribute) && hasOwn(componentAttributes[attribute], \"value\") && !target.hasAttribute(attribute)) {\n          var value = componentAttributes[attribute].value;\n          value = typeof value === \"function\" ? value(target) : value;\n          target.setAttribute(attribute, value);\n        }\n      }\n    }\n  \n    /**\n     * Defines a property that proxies the specified attribute.\n     *\n     * @param {Element} target The web component element.\n     * @param {String} attribute The attribute name to proxy.\n     *\n     * @returns {undefined}\n     */\n    function defineAttributeProperty(target, attribute, property) {\n      Object.defineProperty(target, property, {\n        get: function get() {\n          return this.getAttribute(attribute);\n        },\n        set: function set(value) {\n          if (value === undefined) {\n            this.removeAttribute(attribute);\n          } else {\n            this.setAttribute(attribute, value);\n          }\n        }\n      });\n    }\n  \n    /**\n     * Adds links from attributes to properties.\n     *\n     * @param {Element} target The web component element.\n     * @param {Object} component The web component definition.\n     *\n     * @returns {undefined}\n     */\n    function addAttributeToPropertyLinks(target, component) {\n      var componentAttributes = component.attributes;\n  \n      if (typeof componentAttributes !== \"object\") {\n        return;\n      }\n  \n      for (var attribute in componentAttributes) {\n        var property = camelCase(attribute);\n        if (hasOwn(componentAttributes, attribute) && !hasOwn(target, property)) {\n          defineAttributeProperty(target, attribute, property);\n        }\n      }\n    }\n  \n    function triggerAttributeChanged(target, component, mutationData) {\n      var callback;\n      var type;\n      var name = mutationData.name;\n      var newValue = mutationData.newValue;\n  \n      var cachedAttributeOldValues;\n      if (needsAttributeOldValueCaching) {\n        cachedAttributeOldValues = data(target, \"cachedAttributeOldValues\");\n      }\n  \n      // Read the old attribute value from cache if needed, otherwise use native oldValue\n      var oldValue = needsAttributeOldValueCaching && hasOwn(cachedAttributeOldValues, name) ? cachedAttributeOldValues[name] : mutationData.oldValue;\n  \n      var newValueIsString = typeof newValue === \"string\";\n      var oldValueIsString = typeof oldValue === \"string\";\n      var attrs = component.attributes;\n      var specific = attrs && attrs[name];\n  \n      if (!oldValueIsString && newValueIsString) {\n        type = \"created\";\n      } else if (oldValueIsString && newValueIsString) {\n        type = \"updated\";\n      } else if (oldValueIsString && !newValueIsString) {\n        type = \"removed\";\n      }\n  \n      if (needsAttributeOldValueCaching) {\n        if (type === \"removed\") {\n          delete cachedAttributeOldValues[name];\n        } else {\n          cachedAttributeOldValues[name] = newValue;\n        }\n      }\n  \n      if (specific && typeof specific[type] === \"function\") {\n        callback = specific[type];\n      } else if (specific && typeof specific.fallback === \"function\") {\n        callback = specific.fallback;\n      } else if (typeof specific === \"function\") {\n        callback = specific;\n      } else if (typeof attrs === \"function\") {\n        callback = attrs;\n      }\n  \n      // Ensure values are null if undefined.\n      newValue = newValue === undefined ? null : newValue;\n      oldValue = oldValue === undefined ? null : oldValue;\n  \n      // There may still not be a callback.\n      if (callback) {\n        callback(target, {\n          type: type,\n          name: name,\n          newValue: newValue,\n          oldValue: oldValue\n        });\n      }\n    }\n  \n    function triggerAttributesCreated(target, component) {\n      var a;\n      var attrs = target.attributes;\n      var attrsCopy = [];\n      var attrsLen = attrs.length;\n  \n      for (a = 0; a < attrsLen; a++) {\n        attrsCopy.push(attrs[a]);\n      }\n  \n      // In default web components, attribute changes aren't triggered for\n      // attributes that already exist on an element when it is bound. This sucks\n      // when you want to reuse and separate code for attributes away from your\n      // lifecycle callbacks. Skate will initialise each attribute by calling the\n      // created callback for the attributes that already exist on the element.\n      for (a = 0; a < attrsLen; a++) {\n        var attr = attrsCopy[a];\n        triggerAttributeChanged(target, component, {\n          name: attr.nodeName,\n          newValue: attr.value || attr.nodeValue\n        });\n      }\n    }\n  \n    function addAttributeListeners(target, component) {\n      var attrs = target.attributes;\n  \n      if (!component.attributes || registry.isNativeCustomElement(component.id)) {\n        return;\n      }\n  \n      var observer = new window.MutationObserver(function (mutations) {\n        mutations.forEach(function (mutation) {\n          var name = mutation.attributeName;\n          var attr = attrs[name];\n  \n          triggerAttributeChanged(target, component, {\n            name: name,\n            newValue: attr && (attr.value || attr.nodeValue),\n            oldValue: mutation.oldValue\n          });\n        });\n      });\n  \n      observer.observe(target, {\n        attributes: true,\n        attributeOldValue: true\n      });\n    }\n  \n    /**\n     * Binds event listeners for the specified event handlers.\n     *\n     * @param {Element} target The component element.\n     * @param {Object} component The component data.\n     *\n     * @returns {undefined}\n     */\n    function addEventListeners(target, component) {\n      if (typeof component.events !== \"object\") {\n        return;\n      }\n  \n      function makeHandler(handler, delegate) {\n        return function (e) {\n          // If we're not delegating, trigger directly on the component element.\n          if (!delegate) {\n            return handler(target, e, target);\n          }\n  \n          // If we're delegating, but the target doesn't match, then we've have\n          // to go up the tree until we find a matching ancestor or stop at the\n          // component element, or document. If a matching ancestor is found, the\n          // handler is triggered on it.\n          var current = e.target;\n  \n          while (current && current !== document && current !== target.parentNode) {\n            if (matchesSelector(current, delegate)) {\n              return handler(target, e, current);\n            }\n  \n            current = current.parentNode;\n          }\n        };\n      }\n  \n      objEach(component.events, function (handler, name) {\n        var evt = parseEvent(name);\n        var useCapture = !!evt.delegate && (evt.name === \"blur\" || evt.name === \"focus\");\n        target.addEventListener(evt.name, makeHandler(handler, evt.delegate), useCapture);\n      });\n    }\n  \n    /**\n     * Triggers the created lifecycle callback.\n     *\n     * @param {Element} target The component element.\n     * @param {Object} component The component data.\n     *\n     * @returns {undefined}\n     */\n    function triggerCreated(target, component) {\n      var targetData = data(target, component.id);\n  \n      if (targetData.created) {\n        return;\n      }\n  \n      targetData.created = true;\n  \n      // TODO: This doesn't need to happen if using native.\n      inherit(target, component.prototype, true);\n  \n      // We use the unresolved / resolved attributes to flag whether or not the\n      // element has been templated or not.\n      if (component.template && !target.hasAttribute(component.resolvedAttribute)) {\n        component.template(target);\n      }\n  \n      target.removeAttribute(component.unresolvedAttribute);\n      target.setAttribute(component.resolvedAttribute, \"\");\n      addEventListeners(target, component);\n      addAttributeListeners(target, component);\n      addAttributeToPropertyLinks(target, component);\n      initAttributes(target, component);\n      triggerAttributesCreated(target, component);\n  \n      if (component.created) {\n        component.created(target);\n      }\n    }\n  \n    /**\n     * Triggers the attached lifecycle callback.\n     *\n     * @param {Element} target The component element.\n     * @param {Object} component The component data.\n     *\n     * @returns {undefined}\n     */\n    function triggerAttached(target, component) {\n      var targetData = data(target, component.id);\n  \n      if (targetData.attached) {\n        return;\n      }\n  \n      if (!elementContains(document, target)) {\n        return;\n      }\n  \n      targetData.attached = true;\n  \n      if (component.attached) {\n        component.attached(target);\n      }\n  \n      targetData.detached = false;\n    }\n  \n    /**\n     * Triggers the detached lifecycle callback.\n     *\n     * @param {Element} target The component element.\n     * @param {Object} component The component data.\n     *\n     * @returns {undefined}\n     */\n    function triggerDetached(target, component) {\n      var targetData = data(target, component.id);\n  \n      if (targetData.detached) {\n        return;\n      }\n  \n      targetData.detached = true;\n  \n      if (component.detached) {\n        component.detached(target);\n      }\n  \n      targetData.attached = false;\n    }\n  \n    /**\n     * Triggers the entire element lifecycle if it's not being ignored.\n     *\n     * @param {Element} target The component element.\n     * @param {Object} component The component data.\n     *\n     * @returns {undefined}\n     */\n    function triggerLifecycle(target, component) {\n      triggerCreated(target, component);\n      triggerAttached(target, component);\n    }\n  \n    /**\n     * Initialises a set of elements.\n     *\n     * @param {DOMNodeList | Array} elements A traversable set of elements.\n     *\n     * @returns {undefined}\n     */\n    function initElements(elements) {\n      // [CATION] Don't cache elements length! Components initialization could append nodes\n      // as siblings (see label's element behaviour for example) and this could lead to problems with\n      // components placed at the end of processing childNodes because they will change they index\n      // position and get out of cached value range.\n      for (var a = 0; a < elements.length; a++) {\n        var element = elements[a];\n  \n        if (element.nodeType !== Node.ELEMENT_NODE || element.attributes[ATTR_IGNORE]) {\n          continue;\n        }\n  \n        var currentNodeDefinitions = registry.getForElement(element);\n        var currentNodeDefinitionsLength = currentNodeDefinitions.length;\n  \n        for (var b = 0; b < currentNodeDefinitionsLength; b++) {\n          triggerLifecycle(element, currentNodeDefinitions[b]);\n        }\n  \n        // When <object> tag is used to expose NPAPI api to js may have different behaviour then other\n        // tags. One of those differences is that it's childNodes can be undefined.\n        var elementChildNodes = element.childNodes || [];\n        var elementChildNodesLen = elementChildNodes.length;\n  \n        if (elementChildNodesLen) {\n          initElements(elementChildNodes);\n        }\n      }\n    }\n  \n    /**\n     * Triggers the remove lifecycle callback on all of the elements.\n     *\n     * @param {DOMNodeList} elements The elements to trigger the remove lifecycle\n     * callback on.\n     *\n     * @returns {undefined}\n     */\n    function removeElements(elements) {\n      // Don't cache `childNodes` length. For more info see description in `initElements` function.\n      for (var a = 0; a < elements.length; a++) {\n        var element = elements[a];\n  \n        if (element.nodeType !== Node.ELEMENT_NODE) {\n          continue;\n        }\n  \n        removeElements(element.childNodes);\n  \n        var definitions = registry.getForElement(element);\n        var definitionsLen = definitions.length;\n  \n        for (var b = 0; b < definitionsLen; b++) {\n          triggerDetached(element, definitions[b]);\n        }\n      }\n    }\n  \n    exports.initElements = initElements;\n    exports.removeElements = removeElements;\n    exports.triggerAttached = triggerAttached;\n    exports.triggerAttributeChanged = triggerAttributeChanged;\n    exports.triggerCreated = triggerCreated;\n    exports.triggerDetached = triggerDetached;\n  });\n  \n  return module.exports;\n}).call(this);\n// node_modules/skatejs/lib/fix-ie-innerhtml.js\n(typeof window === 'undefined' ? global : window).__4ea71ec7ae49587e3c05e4da6b76ce0c = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  var defineDependencies = {\n    \"module\": module,\n    \"exports\": exports\n  };\n  var define = function defineReplacementWrapper(generatedModuleName) {\n    return function defineReplacement(name, deps, func) {\n      var root = (typeof window === 'undefined' ? global : window);\n      var defineGlobal = root.define;\n      var rval;\n      var type;\n  \n      func = [func, deps, name].filter(function (cur) {\n        return typeof cur === 'function';\n      })[0];\n      deps = [deps, name, []].filter(Array.isArray)[0];\n      rval = func.apply(null, deps.map(function (value) {\n        return defineDependencies[value];\n      }));\n      type = typeof rval;\n  \n      // Support existing AMD libs.\n      if (typeof defineGlobal === 'function') {\n        // Almond always expects a name so resolve one (#29).\n        defineGlobal(typeof name === 'string' ? name : generatedModuleName, deps, func);\n      }\n  \n      // Some processors like Babel don't check to make sure that the module value\n      // is not a primitive before calling Object.defineProperty() on it. We ensure\n      // it is an instance so that it can.\n      if (type === 'string') {\n        rval = String(rval);\n      } else if (type === 'number') {\n        rval = Number(rval);\n      } else if (type === 'boolean') {\n        rval = Boolean(rval);\n      }\n  \n      // Reset the exports to the defined module. This is how we convert AMD to\n      // CommonJS and ensures both can either co-exist, or be used separately. We\n      // only set it if it is not defined because there is no object representation\n      // of undefined, thus calling Object.defineProperty() on it would fail.\n      if (rval !== undefined) {\n        exports = module.exports = rval;\n      }\n    };\n  }(\"__4ea71ec7ae49587e3c05e4da6b76ce0c\");\n  define.amd = true;\n  \n  (function (factory) {\n    if (typeof define === \"function\" && define.amd) {\n      define([\"exports\"], factory);\n    } else if (typeof exports !== \"undefined\") {\n      factory(exports);\n    }\n  })(function (exports) {\n  \n    var isIeUntil10 = /MSIE/.test(navigator.userAgent);\n    var isIe11 = /Trident/.test(navigator.userAgent);\n    var isIe = isIeUntil10 || isIe11;\n    var elementPrototype = window.HTMLElement.prototype;\n  \n    // ! This walkTree method differs from the implementation in ../../utils/walk-tree\n    // It invokes the callback only for the children, not the passed node and the second parameter to the callback is the parent node\n    function walkTree(node, cb) {\n      var childNodes = node.childNodes;\n  \n      if (!childNodes) {\n        return;\n      }\n  \n      var childNodesLen = childNodes.length;\n  \n      for (var a = 0; a < childNodesLen; a++) {\n        var childNode = childNodes[a];\n        cb(childNode, node);\n        walkTree(childNode, cb);\n      }\n    }\n  \n    function fixInnerHTML() {\n      var originalInnerHTML = Object.getOwnPropertyDescriptor(elementPrototype, \"innerHTML\");\n  \n      var get = function get() {\n        return originalInnerHTML.get.call(this);\n      };\n      get._hasBeenEnhanced = true;\n  \n      // This redefines the innerHTML property so that we can ensure that events\n      // are properly triggered.\n      Object.defineProperty(elementPrototype, \"innerHTML\", {\n        get: get,\n        set: function set(html) {\n          walkTree(this, function (node, parentNode) {\n            var mutationEvent = document.createEvent(\"MutationEvent\");\n            mutationEvent.initMutationEvent(\"DOMNodeRemoved\", true, false, parentNode, null, null, null, null);\n            node.dispatchEvent(mutationEvent);\n          });\n          originalInnerHTML.set.call(this, html);\n        }\n      });\n    }\n  \n    if (isIe) {\n      // IE 9-11\n      var propertyDescriptor = Object.getOwnPropertyDescriptor(elementPrototype, \"innerHTML\");\n      var hasBeenEnhanced = !!propertyDescriptor && propertyDescriptor.get._hasBeenEnhanced;\n  \n      if (!hasBeenEnhanced) {\n        if (isIe11) {\n          // IE11's native MutationObserver needs some help as well :()\n          window.MutationObserver = window.JsMutationObserver || window.MutationObserver;\n        }\n  \n        fixInnerHTML();\n      }\n    }\n  });\n  \n  return module.exports;\n}).call(this);\n// node_modules/skatejs/lib/document-observer.js\n(typeof window === 'undefined' ? global : window).__0d5819e52d9c60b11b4f6b06acdd5443 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  var defineDependencies = {\n    \"module\": module,\n    \"exports\": exports,\n    \"./globals\": __8bc71ed19ec0ce2834517b5458e2e84b,\n    \"./lifecycle\": __4ba7c10fedd0d411bd04cbcf784295b0,\n    \"./mutation-observer\": __025c363097a2f7f13b7d0423fac84b8b,\n    \"./fix-ie-innerhtml\": __4ea71ec7ae49587e3c05e4da6b76ce0c,\n    \"./utils\": __1d4e16d14c2f0b3a31f544dc3542afc3,\n    \"./globals\": __8bc71ed19ec0ce2834517b5458e2e84b,\n    \"./lifecycle\": __4ba7c10fedd0d411bd04cbcf784295b0,\n    \"./mutation-observer\": __025c363097a2f7f13b7d0423fac84b8b,\n    \"./fix-ie-innerhtml\": __4ea71ec7ae49587e3c05e4da6b76ce0c,\n    \"./utils\": __1d4e16d14c2f0b3a31f544dc3542afc3\n  };\n  var define = function defineReplacementWrapper(generatedModuleName) {\n    return function defineReplacement(name, deps, func) {\n      var root = (typeof window === 'undefined' ? global : window);\n      var defineGlobal = root.define;\n      var rval;\n      var type;\n  \n      func = [func, deps, name].filter(function (cur) {\n        return typeof cur === 'function';\n      })[0];\n      deps = [deps, name, []].filter(Array.isArray)[0];\n      rval = func.apply(null, deps.map(function (value) {\n        return defineDependencies[value];\n      }));\n      type = typeof rval;\n  \n      // Support existing AMD libs.\n      if (typeof defineGlobal === 'function') {\n        // Almond always expects a name so resolve one (#29).\n        defineGlobal(typeof name === 'string' ? name : generatedModuleName, deps, func);\n      }\n  \n      // Some processors like Babel don't check to make sure that the module value\n      // is not a primitive before calling Object.defineProperty() on it. We ensure\n      // it is an instance so that it can.\n      if (type === 'string') {\n        rval = String(rval);\n      } else if (type === 'number') {\n        rval = Number(rval);\n      } else if (type === 'boolean') {\n        rval = Boolean(rval);\n      }\n  \n      // Reset the exports to the defined module. This is how we convert AMD to\n      // CommonJS and ensures both can either co-exist, or be used separately. We\n      // only set it if it is not defined because there is no object representation\n      // of undefined, thus calling Object.defineProperty() on it would fail.\n      if (rval !== undefined) {\n        exports = module.exports = rval;\n      }\n    };\n  }(\"__0d5819e52d9c60b11b4f6b06acdd5443\");\n  define.amd = true;\n  \n  (function (factory) {\n    if (typeof define === \"function\" && define.amd) {\n      define([\"exports\", \"module\", \"./globals\", \"./lifecycle\", \"./mutation-observer\", \"./fix-ie-innerhtml\", \"./utils\"], factory);\n    } else if (typeof exports !== \"undefined\" && typeof module !== \"undefined\") {\n      factory(exports, module, __8bc71ed19ec0ce2834517b5458e2e84b, __4ba7c10fedd0d411bd04cbcf784295b0, __025c363097a2f7f13b7d0423fac84b8b, __4ea71ec7ae49587e3c05e4da6b76ce0c, __1d4e16d14c2f0b3a31f544dc3542afc3);\n    }\n  })(function (exports, module, _globals, _lifecycle, _mutationObserver, _fixIeInnerhtml, _utils) {\n  \n    var _interopRequire = function (obj) { return obj && obj.__esModule ? obj[\"default\"] : obj; };\n  \n    var globals = _interopRequire(_globals);\n  \n    var initElements = _lifecycle.initElements;\n    var removeElements = _lifecycle.removeElements;\n    var getClosestIgnoredElement = _utils.getClosestIgnoredElement;\n  \n    /**\n     * The document observer handler.\n     *\n     * @param {Array} mutations The mutations to handle.\n     *\n     * @returns {undefined}\n     */\n    function documentObserverHandler(mutations) {\n      var mutationsLen = mutations.length;\n  \n      for (var a = 0; a < mutationsLen; a++) {\n        var mutation = mutations[a];\n        var addedNodes = mutation.addedNodes;\n        var removedNodes = mutation.removedNodes;\n  \n        // Since siblings are batched together, we check the first node's parent\n        // node to see if it is ignored. If it is then we don't process any added\n        // nodes. This prevents having to check every node.\n        if (addedNodes && addedNodes.length && !getClosestIgnoredElement(addedNodes[0].parentNode)) {\n          initElements(addedNodes);\n        }\n  \n        // We can't check batched nodes here because they won't have a parent node.\n        if (removedNodes && removedNodes.length) {\n          removeElements(removedNodes);\n        }\n      }\n    }\n  \n    /**\n     * Creates a new mutation observer for listening to Skate definitions for the\n     * document.\n     *\n     * @param {Element} root The element to observe.\n     *\n     * @returns {MutationObserver}\n     */\n    function createDocumentObserver() {\n      var observer = new window.MutationObserver(documentObserverHandler);\n  \n      // Observe after the DOM content has loaded.\n      observer.observe(document, {\n        childList: true,\n        subtree: true\n      });\n  \n      return observer;\n    }\n  \n    module.exports = {\n      register: function register(fixIe) {\n        // IE has issues with reporting removedNodes correctly. See the polyfill for\n        // details. If we fix IE, we must also re-define the document observer.\n        if (fixIe) {\n          this.unregister();\n        }\n  \n        if (!globals.observer) {\n          globals.observer = createDocumentObserver();\n        }\n  \n        return this;\n      },\n  \n      unregister: function unregister() {\n        if (globals.observer) {\n          globals.observer.disconnect();\n          globals.observer = undefined;\n        }\n  \n        return this;\n      }\n    };\n  });\n  \n  return module.exports;\n}).call(this);\n// node_modules/skatejs/lib/skate.js\n(typeof window === 'undefined' ? global : window).__e550acc8a8e1f22e3a66277a9c04b02b = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  var defineDependencies = {\n    \"module\": module,\n    \"exports\": exports,\n    \"./constants\": __2c9dc182341fb237ca310976aed7ad2d,\n    \"./document-observer\": __0d5819e52d9c60b11b4f6b06acdd5443,\n    \"./lifecycle\": __4ba7c10fedd0d411bd04cbcf784295b0,\n    \"./registry\": __96a2c1693c2eba3e0663bf6b406a1002,\n    \"./utils\": __1d4e16d14c2f0b3a31f544dc3542afc3,\n    \"./version\": __75b027db26271601fe05f33fb5030fe4,\n    \"./constants\": __2c9dc182341fb237ca310976aed7ad2d,\n    \"./document-observer\": __0d5819e52d9c60b11b4f6b06acdd5443,\n    \"./lifecycle\": __4ba7c10fedd0d411bd04cbcf784295b0,\n    \"./registry\": __96a2c1693c2eba3e0663bf6b406a1002,\n    \"./utils\": __1d4e16d14c2f0b3a31f544dc3542afc3,\n    \"./version\": __75b027db26271601fe05f33fb5030fe4\n  };\n  var define = function defineReplacementWrapper(generatedModuleName) {\n    return function defineReplacement(name, deps, func) {\n      var root = (typeof window === 'undefined' ? global : window);\n      var defineGlobal = root.define;\n      var rval;\n      var type;\n  \n      func = [func, deps, name].filter(function (cur) {\n        return typeof cur === 'function';\n      })[0];\n      deps = [deps, name, []].filter(Array.isArray)[0];\n      rval = func.apply(null, deps.map(function (value) {\n        return defineDependencies[value];\n      }));\n      type = typeof rval;\n  \n      // Support existing AMD libs.\n      if (typeof defineGlobal === 'function') {\n        // Almond always expects a name so resolve one (#29).\n        defineGlobal(typeof name === 'string' ? name : generatedModuleName, deps, func);\n      }\n  \n      // Some processors like Babel don't check to make sure that the module value\n      // is not a primitive before calling Object.defineProperty() on it. We ensure\n      // it is an instance so that it can.\n      if (type === 'string') {\n        rval = String(rval);\n      } else if (type === 'number') {\n        rval = Number(rval);\n      } else if (type === 'boolean') {\n        rval = Boolean(rval);\n      }\n  \n      // Reset the exports to the defined module. This is how we convert AMD to\n      // CommonJS and ensures both can either co-exist, or be used separately. We\n      // only set it if it is not defined because there is no object representation\n      // of undefined, thus calling Object.defineProperty() on it would fail.\n      if (rval !== undefined) {\n        exports = module.exports = rval;\n      }\n    };\n  }(\"__e550acc8a8e1f22e3a66277a9c04b02b\");\n  define.amd = true;\n  \n  (function (factory) {\n    if (typeof define === \"function\" && define.amd) {\n      define([\"exports\", \"module\", \"./constants\", \"./document-observer\", \"./lifecycle\", \"./registry\", \"./utils\", \"./version\"], factory);\n    } else if (typeof exports !== \"undefined\" && typeof module !== \"undefined\") {\n      factory(exports, module, __2c9dc182341fb237ca310976aed7ad2d, __0d5819e52d9c60b11b4f6b06acdd5443, __4ba7c10fedd0d411bd04cbcf784295b0, __96a2c1693c2eba3e0663bf6b406a1002, __1d4e16d14c2f0b3a31f544dc3542afc3, __75b027db26271601fe05f33fb5030fe4);\n    }\n  })(function (exports, module, _constants, _documentObserver, _lifecycle, _registry, _utils, _version) {\n  \n    var _interopRequire = function (obj) { return obj && obj.__esModule ? obj[\"default\"] : obj; };\n  \n    var TYPE_ATTRIBUTE = _constants.TYPE_ATTRIBUTE;\n    var TYPE_CLASSNAME = _constants.TYPE_CLASSNAME;\n    var TYPE_ELEMENT = _constants.TYPE_ELEMENT;\n  \n    var documentObserver = _interopRequire(_documentObserver);\n  \n    var triggerCreated = _lifecycle.triggerCreated;\n    var triggerAttached = _lifecycle.triggerAttached;\n    var triggerDetached = _lifecycle.triggerDetached;\n    var triggerAttributeChanged = _lifecycle.triggerAttributeChanged;\n    var initElements = _lifecycle.initElements;\n  \n    var registry = _interopRequire(_registry);\n  \n    var debounce = _utils.debounce;\n    var inherit = _utils.inherit;\n  \n    var version = _interopRequire(_version);\n  \n    var HTMLElement = window.HTMLElement; //jshint ignore:line\n  \n    // IE <= 10 can fire \"interactive\" too early (#243).\n    var isOldIE = !!document.attachEvent; // attachEvent was removed in IE11.\n  \n    function isReady() {\n      if (isOldIE) {\n        return document.readyState === \"complete\";\n      } else {\n        return document.readyState === \"interactive\" || document.readyState === \"complete\";\n      }\n    }\n  \n    /**\n     * Initialises all valid elements in the document. Ensures that it does not\n     * happen more than once in the same execution, and that it happens after the DOM is ready.\n     *\n     * @returns {undefined}\n     */\n    var initDocument = debounce(function () {\n      var initialiseSkateElementsOnDomLoad = function initialiseSkateElementsOnDomLoad() {\n        initElements(document.documentElement.childNodes);\n      };\n      if (isReady()) {\n        initialiseSkateElementsOnDomLoad();\n      } else {\n        if (isOldIE) {\n          window.addEventListener(\"load\", initialiseSkateElementsOnDomLoad);\n        } else {\n          document.addEventListener(\"DOMContentLoaded\", initialiseSkateElementsOnDomLoad);\n        }\n      }\n    });\n  \n    /**\n     * Creates a constructor for the specified definition.\n     *\n     * @param {Object} definition The definition information to use for generating the constructor.\n     *\n     * @returns {Function} The element constructor.\n     */\n    function makeElementConstructor(definition) {\n      function CustomElement() {\n        var element;\n        var tagToExtend = definition[\"extends\"];\n        var definitionId = definition.id;\n  \n        if (tagToExtend) {\n          element = document.createElement(tagToExtend);\n          element.setAttribute(\"is\", definitionId);\n        } else {\n          element = document.createElement(definitionId);\n        }\n  \n        // Ensure the definition prototype is up to date with the element's\n        // prototype. This ensures that overwriting the element prototype still\n        // works.\n        definition.prototype = CustomElement.prototype;\n  \n        // If they use the constructor we don't have to wait until it's attached.\n        triggerCreated(element, definition);\n  \n        return element;\n      }\n  \n      // This allows modifications to the element prototype propagate to the\n      // definition prototype.\n      CustomElement.prototype = definition.prototype;\n  \n      return CustomElement;\n    }\n  \n    // Public API\n    // ----------\n  \n    /**\n     * Creates a listener for the specified definition.\n     *\n     * @param {String} id The ID of the definition.\n     * @param {Object | Function} definition The definition definition.\n     *\n     * @returns {Function} Constructor that returns a custom element.\n     */\n    function skate(id, definition) {\n      // Just in case the definition is shared, we duplicate it so that internal\n      // modifications to the original aren't shared.\n      definition = inherit({}, definition);\n      definition = inherit(definition, skate.defaults);\n      definition.id = id;\n  \n      registry.set(id, definition);\n  \n      if (registry.isNativeCustomElement(id)) {\n        var elementPrototype = definition[\"extends\"] ? document.createElement(definition[\"extends\"]).constructor.prototype : HTMLElement.prototype;\n  \n        if (!elementPrototype.isPrototypeOf(definition.prototype)) {\n          definition.prototype = inherit(Object.create(elementPrototype), definition.prototype, true);\n        }\n  \n        var options = {\n          prototype: inherit(definition.prototype, {\n            createdCallback: function createdCallback() {\n              triggerCreated(this, definition);\n            },\n            attachedCallback: function attachedCallback() {\n              triggerAttached(this, definition);\n            },\n            detachedCallback: function detachedCallback() {\n              triggerDetached(this, definition);\n            },\n            attributeChangedCallback: function attributeChangedCallback(name, oldValue, newValue) {\n              triggerAttributeChanged(this, definition, {\n                name: name,\n                oldValue: oldValue,\n                newValue: newValue\n              });\n            }\n          })\n        };\n  \n        if (definition[\"extends\"]) {\n          options[\"extends\"] = definition[\"extends\"];\n        }\n  \n        return document.registerElement(id, options);\n      }\n  \n      initDocument();\n      documentObserver.register(!!definition.detached);\n  \n      if (registry.isType(id, TYPE_ELEMENT)) {\n        return makeElementConstructor(definition);\n      }\n    }\n  \n    /**\n     * Synchronously initialises the specified element or elements and descendants.\n     *\n     * @param {Mixed} nodes The node, or nodes to initialise. Can be anything:\n     *                      jQuery, DOMNodeList, DOMNode, selector etc.\n     *\n     * @returns {skate}\n     */\n    skate.init = function (nodes) {\n      var nodesToUse = nodes;\n  \n      if (!nodes) {\n        return nodes;\n      }\n  \n      if (typeof nodes === \"string\") {\n        nodesToUse = nodes = document.querySelectorAll(nodes);\n      } else if (nodes instanceof HTMLElement) {\n        nodesToUse = [nodes];\n      }\n  \n      initElements(nodesToUse);\n  \n      return nodes;\n    };\n  \n    // Restriction type constants.\n    skate.type = {\n      ATTRIBUTE: TYPE_ATTRIBUTE,\n      CLASSNAME: TYPE_CLASSNAME,\n      ELEMENT: TYPE_ELEMENT\n    };\n  \n    // Makes checking the version easy when debugging.\n    skate.version = version;\n  \n    /**\n     * The default options for a definition.\n     *\n     * @var {Object}\n     */\n    skate.defaults = {\n      // Attribute lifecycle callback or callbacks.\n      attributes: undefined,\n  \n      // The events to manage the binding and unbinding of during the definition's\n      // lifecycle.\n      events: undefined,\n  \n      // Restricts a particular definition to binding explicitly to an element with\n      // a tag name that matches the specified value.\n      \"extends\": undefined,\n  \n      // The ID of the definition. This is automatically set in the `skate()`\n      // function.\n      id: \"\",\n  \n      // Properties and methods to add to each element.\n      prototype: {},\n  \n      // The attribute name to add after calling the created() callback.\n      resolvedAttribute: \"resolved\",\n  \n      // The template to replace the content of the element with.\n      template: undefined,\n  \n      // The type of bindings to allow.\n      type: TYPE_ELEMENT,\n  \n      // The attribute name to remove after calling the created() callback.\n      unresolvedAttribute: \"unresolved\"\n    };\n  \n    // Exporting\n    // ---------\n  \n    var previousSkate = window.skate;\n    skate.noConflict = function () {\n      window.skate = previousSkate;\n      return skate;\n    };\n  \n    // Global\n    window.skate = skate;\n  \n    // ES6\n    module.exports = skate;\n  });\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/internal/skate.js\n(typeof window === 'undefined' ? global : window).__0e8fe5f46f722f07c64d1f183c324dd8 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  \n  var _skatejs = __e550acc8a8e1f22e3a66277a9c04b02b;\n  \n  var _skatejs2 = _interopRequireDefault(_skatejs);\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  var auiSkate = _skatejs2.default.noConflict();\n  \n  exports.default = auiSkate;\n  module.exports = exports['default'];\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/internal/animation.js\n(typeof window === 'undefined' ? global : window).__f6a37357e17b1533fdd5dde2eaedcc72 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  /**\n   * Force a re-compute of the style of an element.\n   *\n   * This is useful for CSS transitions and animations that need computed style changes to occur.\n   * CSS transitions will fire when the computed value of the property they are transitioning changes.\n   * This may not occur if the style changes get batched into one style change event by the browser.\n   * We can force the browser to recognise the two different computed values by calling this function when we want it\n   * to recompute the styles.\n   *\n   * For example, consider a transition on the opacity property.\n   *\n   * With recomputeStyle:\n   * $parent.append($el); //opacity=0\n   * recomputeStyle($el);\n   * $el.addClass('visible'); //opacity=1\n   * //Browser calculates value of opacity=0, and then transitions it to opacity=1\n   *\n   * Without recomputeStyle:\n   * $parent.append($el); //opacity=0\n   * $el.addClass('visible'); //opacity=1\n   * //Browser calculates value of opacity=1 but no transition\n   *\n   * @param el The DOM or jQuery element for which style should be recomputed\n   */\n  \n  Object.defineProperty(exports, \"__esModule\", {\n      value: true\n  });\n  function recomputeStyle(el) {\n      el = el.length ? el[0] : el;\n      window.getComputedStyle(el, null).getPropertyValue('left');\n  }\n  \n  exports.recomputeStyle = recomputeStyle;\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/escape-html.js\n(typeof window === 'undefined' ? global : window).__f67372a9abf9e9f1700fa6a6e3b7d8cf = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n      value: true\n  });\n  \n  var _globalize = __58c75a0e7e2cf47e300bc2f2ecec24a2;\n  \n  var _globalize2 = _interopRequireDefault(_globalize);\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  function escapeHtml(str) {\n      return str.replace(/[&\"'<>`]/g, function (str) {\n          var special = {\n              '<': '&lt;',\n              '>': '&gt;',\n              '&': '&amp;',\n              '\\'': '&#39;',\n              '`': '&#96;'\n          };\n  \n          if (typeof special[str] === 'string') {\n              return special[str];\n          }\n  \n          return '&quot;';\n      });\n  }\n  \n  (0, _globalize2.default)('escapeHtml', escapeHtml);\n  \n  exports.default = escapeHtml;\n  module.exports = exports['default'];\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/template.js\n(typeof window === 'undefined' ? global : window).__3773bbd056232d2fe3825056a334a52f = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n      value: true\n  });\n  \n  var _jquery = __d931c30d7068216ce2c2064d08fd424c;\n  \n  var _jquery2 = _interopRequireDefault(_jquery);\n  \n  var _escapeHtml = __f67372a9abf9e9f1700fa6a6e3b7d8cf;\n  \n  var _escapeHtml2 = _interopRequireDefault(_escapeHtml);\n  \n  var _globalize = __58c75a0e7e2cf47e300bc2f2ecec24a2;\n  \n  var _globalize2 = _interopRequireDefault(_globalize);\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  /**\n   * Creates an object with methods for template support.\n   *\n   * See <a href=\"http://confluence.atlassian.com/display/AUI/AJS.template\">CAC Documentation</a>.\n   *\n   * @constructor\n   * @class template\n   * @namespace AJS\n   */\n  var template = function ($) {\n      var tokenRegex = /\\{([^\\}]+)\\}/g; // matches \"{xxxxx}\"\n      var objNotationRegex = /(?:(?:^|\\.)(.+?)(?=\\[|\\.|$|\\()|\\[('|\")(.+?)\\2\\])(\\(\\))?/g; // matches \".xxxxx\" or \"[\"xxxxx\"]\" to run over object properties\n  \n      // internal function\n      // parses \"{xxxxx}\" and returns actual value from the given object that matches the expression\n      var replacer = function replacer(all, key, obj, isHTML) {\n          var res = obj;\n          key.replace(objNotationRegex, function (all, name, quote, quotedName, isFunc) {\n              name = name || quotedName;\n              if (res) {\n                  if (name + ':html' in res) {\n                      res = res[name + ':html'];\n                      isHTML = true;\n                  } else if (name in res) {\n                      res = res[name];\n                  }\n                  if (isFunc && typeof res === 'function') {\n                      res = res();\n                  }\n              }\n          });\n  \n          // if not found restore original value\n          if (res == null || res === obj) {\n              res = all;\n          }\n  \n          res = String(res);\n  \n          if (!isHTML) {\n              res = T.escape(res);\n          }\n  \n          return res;\n      };\n      /**\n       * Replaces tokens in the template with corresponding values without HTML escaping\n       * @method fillHtml\n       * @param obj {Object} to populate the template with\n       * @return {Object} the template object\n       */\n      var fillHtml = function fillHtml(obj) {\n          this.template = this.template.replace(tokenRegex, function (all, key) {\n              return replacer(all, key, obj, true);\n          });\n          return this;\n      };\n      /**\n       * Replaces tokens in the template with corresponding values with HTML escaping\n       * @method fill\n       * @param obj {Object} to populate the template with\n       * @return {Object} the template object\n       */\n      var fill = function fill(obj) {\n          this.template = this.template.replace(tokenRegex, function (all, key) {\n              return replacer(all, key, obj);\n          });\n          return this;\n      };\n      /**\n       * Returns the current templated string.\n       * @method toString\n       * @return {String} the current template\n       */\n      var toString = function toString() {\n          return this.template;\n      };\n  \n      // internal function\n      var T = function T(s) {\n          function res() {\n              return res.template;\n          }\n  \n          /**\n           * The current templated string\n           * @property template\n           */\n          res.template = String(s);\n          res.toString = res.valueOf = toString;\n          res.fill = fill;\n          res.fillHtml = fillHtml;\n          return res;\n      };\n      var cache = {};\n      var count = [];\n  \n      var findScripts = function findScripts(title) {\n          return $('script').filter(function () {\n              return this.getAttribute('title') === title;\n          });\n      };\n  \n      // returns template taken form the script tag with given title. Type agnostic, but better put type=\"text/x-template\"\n      T.load = function (title) {\n          title = String(title);\n          if (!cache.hasOwnProperty(title)) {\n              if (count.length >= 1e3) {\n                  delete cache[count.shift()]; // enforce maximum cache size\n              }\n              count.push(title);\n              cache[title] = findScripts(title)[0].text;\n          }\n          return this(cache[title]);\n      };\n  \n      // escape HTML dangerous characters\n      T.escape = _escapeHtml2.default;\n  \n      return T;\n  }(_jquery2.default);\n  \n  (0, _globalize2.default)('template', template);\n  \n  exports.default = template;\n  module.exports = exports['default'];\n  \n  return module.exports;\n}).call(this);\n// node_modules/skatejs-template-html/dist/template-html.js\n(typeof window === 'undefined' ? global : window).__16b630aaa86c62c7ef629cfa7bab499e = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  var defineDependencies = {\n    \"module\": module,\n    \"exports\": exports\n  };\n  var define = function defineReplacementWrapper(generatedModuleName) {\n    return function defineReplacement(name, deps, func) {\n      var root = (typeof window === 'undefined' ? global : window);\n      var defineGlobal = root.define;\n      var rval;\n      var type;\n  \n      func = [func, deps, name].filter(function (cur) {\n        return typeof cur === 'function';\n      })[0];\n      deps = [deps, name, []].filter(Array.isArray)[0];\n      rval = func.apply(null, deps.map(function (value) {\n        return defineDependencies[value];\n      }));\n      type = typeof rval;\n  \n      // Support existing AMD libs.\n      if (typeof defineGlobal === 'function') {\n        // Almond always expects a name so resolve one (#29).\n        defineGlobal(typeof name === 'string' ? name : generatedModuleName, deps, func);\n      }\n  \n      // Some processors like Babel don't check to make sure that the module value\n      // is not a primitive before calling Object.defineProperty() on it. We ensure\n      // it is an instance so that it can.\n      if (type === 'string') {\n        rval = String(rval);\n      } else if (type === 'number') {\n        rval = Number(rval);\n      } else if (type === 'boolean') {\n        rval = Boolean(rval);\n      }\n  \n      // Reset the exports to the defined module. This is how we convert AMD to\n      // CommonJS and ensures both can either co-exist, or be used separately. We\n      // only set it if it is not defined because there is no object representation\n      // of undefined, thus calling Object.defineProperty() on it would fail.\n      if (rval !== undefined) {\n        exports = module.exports = rval;\n      }\n    };\n  }(\"__16b630aaa86c62c7ef629cfa7bab499e\");\n  define.amd = true;\n  \n  (function () {\n  \n    var DocumentFragment = window.DocumentFragment;\n    var elProto = window.HTMLElement.prototype;\n    var matchesSelector = (\n      elProto.matches ||\n      elProto.msMatchesSelector ||\n      elProto.webkitMatchesSelector ||\n      elProto.mozMatchesSelector ||\n      elProto.oMatchesSelector\n    );\n  \n    function getData (element, name) {\n      if (element.__SKATE_TEMPLATE_HTML_DATA) {\n        return element.__SKATE_TEMPLATE_HTML_DATA[name];\n      }\n    }\n  \n    function setData (element, name, value) {\n      if (!element.__SKATE_TEMPLATE_HTML_DATA) {\n        element.__SKATE_TEMPLATE_HTML_DATA = {};\n      }\n  \n      element.__SKATE_TEMPLATE_HTML_DATA[name] = value;\n  \n      return element;\n    }\n  \n    function createFragmentFromString (domString) {\n      var specialMap = {\n        caption: 'table',\n        dd: 'dl',\n        dt: 'dl',\n        li: 'ul',\n        tbody: 'table',\n        td: 'tr',\n        thead: 'table',\n        tr: 'tbody'\n      };\n  \n      var tag = domString.match(/\\s*<([^\\s>]+)/);\n      var div = document.createElement(tag && specialMap[tag[1]] || 'div');\n  \n      div.innerHTML = domString;\n  \n      return createFragmentFromNodeList(div.childNodes);\n    }\n  \n    function createFragmentFromNodeList (nodeList) {\n      var frag = document.createDocumentFragment();\n  \n      while (nodeList && nodeList.length) {\n        frag.appendChild(nodeList[0]);\n      }\n  \n      return frag;\n    }\n  \n    function getNodesBetween (startNode, endNode) {\n      var nodes = [];\n      var nextNode = startNode.nextSibling;\n  \n      while (nextNode !== endNode) {\n        nodes.push(nextNode);\n        nextNode = nextNode.nextSibling;\n      }\n  \n      return nodes;\n    }\n  \n    function findChildrenMatchingSelector (sourceNode, selector) {\n      if (selector) {\n        var found = sourceNode.querySelectorAll(selector);\n        var foundLength = found.length;\n        var filtered = [];\n  \n        for (var a = 0; a < foundLength; a++) {\n          var node = found[a];\n  \n          if (node.parentNode === sourceNode) {\n            filtered.push(node);\n          }\n        }\n  \n        return filtered;\n      }\n  \n      return [].slice.call(sourceNode.childNodes) || [];\n    }\n  \n    function htmlTemplateParentWrapper (element) {\n      var contentNodes = getData(element, 'content');\n      var contentNodesLen = contentNodes.length;\n  \n      return {\n        childNodes: {\n          get: function () {\n            var nodes = [];\n  \n            for (var a = 0; a < contentNodesLen; a++) {\n              var contentNode = contentNodes[a];\n  \n              if (contentNode.isDefault) {\n                continue;\n              }\n  \n              nodes = nodes.concat(getNodesBetween(contentNode.startNode, contentNode.endNode));\n            }\n  \n            return nodes;\n          }\n        },\n  \n        firstChild: {\n          get: function () {\n            var childNodes = this.childNodes;\n            return childNodes.length && childNodes[0] || null;\n          }\n        },\n  \n        innerHTML: {\n          get: function () {\n            var html = '';\n            var childNodes = this.childNodes;\n            var childNodesLen = childNodes.length;\n  \n            for (var a = 0; a < childNodesLen; a++) {\n              var childNode = childNodes[a];\n              html += childNode.outerHTML || childNode.textContent;\n            }\n  \n            return html;\n          },\n          set: function (html) {\n            var targetFragment = createFragmentFromString(html);\n  \n            for (var a = 0; a < contentNodesLen; a++) {\n              var contentNode = contentNodes[a];\n              var childNodes = getNodesBetween(contentNode.startNode, contentNode.endNode);\n  \n              // Remove all nodes (including default content).\n              for (var b = 0; b < childNodes.length; b++) {\n                var childNode = childNodes[b];\n                childNode.parentNode.removeChild(childNode);\n              }\n  \n              var foundNodes = findChildrenMatchingSelector(targetFragment, contentNode.selector);\n  \n              // Add any matched nodes from the given HTML.\n              for (var c = 0; c < foundNodes.length; c++) {\n                contentNode.container.insertBefore(foundNodes[c], contentNode.endNode);\n              }\n  \n              // If no nodes were found, set the default content.\n              if (foundNodes.length) {\n                removeDefaultContent(contentNode);\n              } else {\n                addDefaultContent(contentNode);\n              }\n            }\n          }\n        },\n  \n        lastChild: {\n          get: function () {\n            for (var a = contentNodesLen - 1; a > -1; a--) {\n              var contentNode = contentNodes[a];\n  \n              if (contentNode.isDefault) {\n                continue;\n              }\n  \n              var childNodes = this.childNodes;\n              var childNodesLen = childNodes.length;\n  \n              return childNodes[childNodesLen - 1];\n            }\n  \n            return null;\n          }\n        },\n  \n        outerHTML: {\n          get: function () {\n            var name = this.tagName.toLowerCase();\n            var html = '<' + name;\n            var attrs = this.attributes;\n  \n            if (attrs) {\n              var attrsLength = attrs.length;\n  \n              for (var a = 0; a < attrsLength; a++) {\n                var attr = attrs[a];\n                html += ' ' + attr.nodeName + '=\"' + attr.nodeValue + '\"';\n              }\n            }\n  \n            html += '>';\n            html += this.innerHTML;\n            html += '</' + name + '>';\n  \n            return html;\n          }\n        },\n  \n        textContent: {\n          get: function () {\n            var textContent = '';\n            var childNodes = this.childNodes;\n            var childNodesLength = this.childNodes.length;\n  \n            for (var a = 0; a < childNodesLength; a++) {\n              textContent += childNodes[a].textContent;\n            }\n  \n            return textContent;\n          },\n          set: function (textContent) {\n            var acceptsTextContent;\n  \n            // Removes all nodes (including default content).\n            this.innerHTML = '';\n  \n            // Find the first content node without a selector.\n            for (var a = 0; a < contentNodesLen; a++) {\n              var contentNode = contentNodes[a];\n  \n              if (!contentNode.selector) {\n                acceptsTextContent = contentNode;\n                break;\n              }\n            }\n  \n            // There may be no content nodes that accept text content.\n            if (acceptsTextContent) {\n              if (textContent) {\n                removeDefaultContent(acceptsTextContent);\n                acceptsTextContent.container.insertBefore(document.createTextNode(textContent), acceptsTextContent.endNode);\n              } else {\n                addDefaultContent(acceptsTextContent);\n              }\n            }\n          }\n        },\n  \n        appendChild: {\n          value: function (node) {\n            if (node instanceof DocumentFragment) {\n              var fragChildNodes = node.childNodes;\n  \n              [].slice.call(fragChildNodes).forEach(function (node) {\n                this.appendChild(node);\n              }.bind(this));\n  \n              return this;\n            }\n  \n            for (var b = 0; b < contentNodesLen; b++) {\n              var contentNode = contentNodes[b];\n              var contentSelector = contentNode.selector;\n  \n              if (!contentSelector || node instanceof window.HTMLElement && matchesSelector.call(node, contentSelector)) {\n                removeDefaultContent(contentNode);\n                contentNode.endNode.parentNode.insertBefore(node, contentNode.endNode);\n                break;\n              }\n            }\n  \n            return this;\n          }\n        },\n  \n        insertAdjacentHTML: {\n          value: function (where, html) {\n            if (where === 'afterbegin') {\n              this.insertBefore(createFragmentFromString(html), this.childNodes[0]);\n            } else if (where === 'beforeend') {\n              this.appendChild(createFragmentFromString(html));\n            } else {\n              element.insertAdjacentHTML(where, html);\n            }\n  \n            return this;\n          }\n        },\n  \n        insertBefore: {\n          value: function (node, referenceNode) {\n            // If no reference node is supplied, we append. This also means that we\n            // don't need to add / remove any default content because either there\n            // aren't any nodes or appendChild will handle it.\n            if (!referenceNode) {\n              return this.appendChild(node);\n            }\n  \n            // Handle document fragments.\n            if (node instanceof DocumentFragment) {\n              var fragChildNodes = node.childNodes;\n  \n              if (fragChildNodes) {\n                var fragChildNodesLength = fragChildNodes.length;\n  \n                for (var a = 0; a < fragChildNodesLength; a++) {\n                  this.insertBefore(fragChildNodes[a], referenceNode);\n                }\n              }\n  \n              return this;\n            }\n  \n            var hasFoundReferenceNode = false;\n  \n            // There's no reason to handle default content add / remove because:\n            // 1. If no reference node is supplied, appendChild handles it.\n            // 2. If a reference node is supplied, there already is content.\n            // 3. If a reference node is invalid, an exception is thrown, but also\n            //    it's state would not change even if it wasn't.\n            mainLoop:\n            for (var b = 0; b < contentNodesLen; b++) {\n              var contentNode = contentNodes[b];\n              var betweenNodes = getNodesBetween(contentNode.startNode, contentNode.endNode);\n              var betweenNodesLen = betweenNodes.length;\n  \n              for (var c = 0; c < betweenNodesLen; c++) {\n                var betweenNode = betweenNodes[c];\n  \n                if (betweenNode === referenceNode) {\n                  hasFoundReferenceNode = true;\n                }\n  \n                if (hasFoundReferenceNode) {\n                  var selector = contentNode.selector;\n  \n                  if (!selector || matchesSelector.call(node, selector)) {\n                    betweenNode.parentNode.insertBefore(node, betweenNode);\n                    break mainLoop;\n                  }\n                }\n              }\n            }\n  \n            // If no reference node was found as a child node of the element we must\n            // throw an error. This works for both no child nodes, or if the\n            // reference wasn't found to be a child node.\n            if (!hasFoundReferenceNode) {\n              throw new Error('DOMException 8: The node before which the new node is to be inserted is not a child of this node.');\n            }\n  \n            return node;\n          }\n        },\n  \n        removeChild: {\n          value: function (childNode) {\n            var removed = false;\n  \n            for (var a = 0; a < contentNodesLen; a++) {\n              var contentNode = contentNodes[a];\n  \n              if (contentNode.container === childNode.parentNode) {\n                contentNode.container.removeChild(childNode);\n                removed = true;\n                break;\n              }\n  \n              if (contentNode.startNode.nextSibling === contentNode.endNode) {\n                addDefaultContent(contentNode);\n              }\n            }\n  \n            if (!removed) {\n              throw new Error('DOMException 8: The node in which you are trying to remove is not a child of this node.');\n            }\n  \n            return childNode;\n          }\n        },\n  \n        replaceChild: {\n          value: function (newChild, oldChild) {\n            for (var a = 0; a < contentNodesLen; a++) {\n              var contentNode = contentNodes[a];\n  \n              if (contentNode.container === oldChild.parentNode) {\n                contentNode.container.replaceChild(newChild, oldChild);\n                break;\n              }\n            }\n  \n            return this;\n          }\n        }\n      };\n    }\n  \n    function addDefaultContent (content) {\n      var nodes = content.defaultNodes;\n      var nodesLen = nodes.length;\n  \n      for (var a = 0; a < nodesLen; a++) {\n        content.container.insertBefore(nodes[a], content.endNode);\n      }\n  \n      content.isDefault = true;\n    }\n  \n    function removeDefaultContent (content) {\n      var nodes = content.defaultNodes;\n      var nodesLen = nodes.length;\n  \n      for (var a = 0; a < nodesLen; a++) {\n        var node = nodes[a];\n        node.parentNode.removeChild(node);\n      }\n  \n      content.isDefault = false;\n    }\n  \n    function createProxyProperty (node, name) {\n      return {\n        get: function () {\n          var value = node[name];\n  \n          if (typeof value === 'function') {\n            return value.bind(node);\n          }\n  \n          return value;\n        },\n  \n        set: function (value) {\n          node[name] = value;\n        }\n      };\n    }\n  \n    function wrapNodeWith (node, wrapper) {\n      var wrapped = {};\n  \n      for (var name in node) {\n        var inWrapper = name in wrapper;\n  \n        if (inWrapper) {\n          Object.defineProperty(wrapped, name, wrapper[name]);\n        } else {\n          Object.defineProperty(wrapped, name, createProxyProperty(node, name));\n        }\n      }\n  \n      return wrapped;\n    }\n  \n    function cacheContentData (node) {\n      var contentNodes = node.getElementsByTagName('content');\n      var contentNodesLen = contentNodes && contentNodes.length;\n  \n      if (contentNodesLen) {\n        var contentData = [];\n  \n        while (contentNodes.length) {\n          var contentNode = contentNodes[0];\n          var parentNode = contentNode.parentNode;\n          var selector = contentNode.getAttribute('select');\n          var startNode = document.createComment(' content ');\n          var endNode = document.createComment(' /content ');\n  \n          contentData.push({\n            container: parentNode,\n            contentNode: contentNode,\n            defaultNodes: [].slice.call(contentNode.childNodes),\n            endNode: endNode,\n            isDefault: true,\n            selector: selector,\n            startNode: startNode\n          });\n  \n          parentNode.replaceChild(endNode, contentNode);\n          parentNode.insertBefore(startNode, endNode);\n  \n          // Cache data in the comment that can be read if no content information\n          // is cached. This allows seamless server-side rendering.\n          startNode.textContent += JSON.stringify({\n            defaultContent: contentNode.innerHTML,\n            selector: selector\n          }) + ' ';\n        }\n  \n        setData(node, 'content', contentData);\n      }\n    }\n  \n  \n  \n    // Content Parser\n    // --------------\n  \n    function parseCommentNode (node) {\n      var data;\n      var matches = node.textContent.match(/^ (\\/?)content (.*)/i);\n  \n      if (matches) {\n        if (matches[2]) {\n          try {\n            data = JSON.parse(matches[2]);\n          } catch (e) {\n            throw new Error('Unable to parse content comment data: \"' + e + '\" in \"<!--' + node.textContent + '-->\".');\n          }\n        }\n  \n        return {\n          data: data || {\n            defaultContent: undefined,\n            isDefault: undefined,\n            selector: undefined\n          },\n          type: matches[1] ? 'close' : 'open'\n        };\n      }\n    }\n  \n    function parseNodeForContent (node) {\n      var a;\n      var childNodes = node.childNodes;\n      var childNodesLen = childNodes.length;\n      var contentDatas = [];\n      var lastContentNode;\n  \n      for (a = 0; a < childNodesLen; a++) {\n        var childNode = childNodes[a];\n  \n        if (childNode.nodeType === 8) {\n          var contentInfo = parseCommentNode(childNode);\n  \n          if (contentInfo) {\n            if (contentInfo.type === 'open') {\n              if (lastContentNode) {\n                throw new Error('Cannot have an opening content placeholder after another content placeholder at the same level in the DOM tree: \"' + childNode.textContent + '\" in \"' + childNode.parentNode.innerHTML + '\".');\n              }\n  \n              lastContentNode = {\n                container: childNode.parentNode,\n                contentNode: childNode,\n                defaultNodes: contentInfo.data.defaultContent && createFragmentFromString(contentInfo.data.defaultContent).childNodes || [],\n                isDefault: contentInfo.data.isDefault,\n                selector: contentInfo.data.selector,\n                startNode: childNode\n              };\n            } else if (contentInfo.type === 'close') {\n              if (!lastContentNode) {\n                throw new Error('Unmatched closing content placeholder: \"' + childNode.textContent + '\" in \"' + childNode.parentNode.innerHTML + '\".');\n              }\n  \n              lastContentNode.endNode = childNode;\n              contentDatas.push(lastContentNode);\n              lastContentNode = undefined;\n            }\n          }\n        } else {\n          contentDatas = contentDatas.concat(parseNodeForContent(childNode));\n        }\n      }\n  \n      return contentDatas;\n    }\n  \n  \n  \n    // Public API\n    // ----------\n  \n    function skateTemplateHtml () {\n      var template = [].slice.call(arguments).join('');\n  \n      return function (target) {\n        var frag = createFragmentFromNodeList(target.childNodes);\n  \n        target.innerHTML = template;\n        cacheContentData(target);\n  \n        if (frag.childNodes.length) {\n          skateTemplateHtml.wrap(target).appendChild(frag);\n        }\n      };\n    }\n  \n    skateTemplateHtml.wrap = function (node) {\n      if (!getData(node, 'content')) {\n        setData(node, 'content', parseNodeForContent(node));\n      }\n  \n      return wrapNodeWith(node, htmlTemplateParentWrapper(node));\n    };\n  \n  \n  \n    // Exporting\n    // ---------\n  \n    // Global.\n    window.skateTemplateHtml = skateTemplateHtml;\n  \n    // AMD.\n    if (typeof define === 'function') {\n      define(function () {\n        return skateTemplateHtml;\n      });\n    }\n  \n    // CommonJS.\n    if (typeof module === 'object') {\n      module.exports = skateTemplateHtml;\n    }\n  })();\n  \n  \n  return module.exports;\n}).call(this);\n// src/js/aui/debounce.js\n(typeof window === 'undefined' ? global : window).__a88708332bdd48d86dc8763c3bd0bc46 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n      value: true\n  });\n  exports.default = debounce;\n  exports.debounceImmediate = debounceImmediate;\n  \n  var _globalize = __58c75a0e7e2cf47e300bc2f2ecec24a2;\n  \n  var _globalize2 = _interopRequireDefault(_globalize);\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  function debounce(func, wait) {\n      var timeout;\n      var result;\n  \n      return function () {\n          var args = arguments;\n          var context = this;\n          var later = function later() {\n              result = func.apply(context, args);\n              context = args = null;\n          };\n  \n          clearTimeout(timeout);\n          timeout = setTimeout(later, wait);\n  \n          return result;\n      };\n  }\n  \n  (0, _globalize2.default)('debounce', debounce);\n  \n  function debounceImmediate(func, wait) {\n      var timeout = null;\n      var result;\n  \n      return function () {\n          var context = this;\n          var args = arguments;\n          var later = function later() {\n              timeout = context = args = null;\n          };\n  \n          if (timeout === null) {\n              result = func.apply(context, args);\n          }\n  \n          clearTimeout(timeout);\n          timeout = setTimeout(later, wait);\n  \n          return result;\n      };\n  }\n  \n  (0, _globalize2.default)('debounceImmediate', debounceImmediate);\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/internal/browser.js\n(typeof window === 'undefined' ? global : window).__466c2e541a6c6b09f234ffadf1e444d5 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n      value: true\n  });\n  exports.supportsCalc = supportsCalc;\n  exports.supportsRequestAnimationFrame = supportsRequestAnimationFrame;\n  exports.supportsVoiceOver = supportsVoiceOver;\n  \n  var _jquery = __d931c30d7068216ce2c2064d08fd424c;\n  \n  var _jquery2 = _interopRequireDefault(_jquery);\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  var supportsCalc = null;\n  var isMacOSX = /Mac OS X/.test(navigator.userAgent);\n  \n  function supportsCalc() {\n      if (supportsCalc === null) {\n          var $d = (0, _jquery2.default)('<div style=\"height: 10px; height: -webkit-calc(20px + 0); height: calc(20px);\"></div>');\n          exports.supportsCalc = supportsCalc = 20 === $d.appendTo(document.documentElement).height();\n          $d.remove();\n      }\n  \n      return supportsCalc;\n  }\n  \n  function supportsRequestAnimationFrame() {\n      return !!window.requestAnimationFrame;\n  }\n  \n  function supportsVoiceOver() {\n      return isMacOSX;\n  }\n  \n  return module.exports;\n}).call(this);\n// node_modules/tether/tether.js\n(typeof window === 'undefined' ? global : window).__0795207011f2f4b69e9b236d5df42885 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  var defineDependencies = {\n    \"module\": module,\n    \"exports\": exports\n  };\n  var define = function defineReplacementWrapper(generatedModuleName) {\n    return function defineReplacement(name, deps, func) {\n      var root = (typeof window === 'undefined' ? global : window);\n      var defineGlobal = root.define;\n      var rval;\n      var type;\n  \n      func = [func, deps, name].filter(function (cur) {\n        return typeof cur === 'function';\n      })[0];\n      deps = [deps, name, []].filter(Array.isArray)[0];\n      rval = func.apply(null, deps.map(function (value) {\n        return defineDependencies[value];\n      }));\n      type = typeof rval;\n  \n      // Support existing AMD libs.\n      if (typeof defineGlobal === 'function') {\n        // Almond always expects a name so resolve one (#29).\n        defineGlobal(typeof name === 'string' ? name : generatedModuleName, deps, func);\n      }\n  \n      // Some processors like Babel don't check to make sure that the module value\n      // is not a primitive before calling Object.defineProperty() on it. We ensure\n      // it is an instance so that it can.\n      if (type === 'string') {\n        rval = String(rval);\n      } else if (type === 'number') {\n        rval = Number(rval);\n      } else if (type === 'boolean') {\n        rval = Boolean(rval);\n      }\n  \n      // Reset the exports to the defined module. This is how we convert AMD to\n      // CommonJS and ensures both can either co-exist, or be used separately. We\n      // only set it if it is not defined because there is no object representation\n      // of undefined, thus calling Object.defineProperty() on it would fail.\n      if (rval !== undefined) {\n        exports = module.exports = rval;\n      }\n    };\n  }(\"__0795207011f2f4b69e9b236d5df42885\");\n  define.amd = true;\n  \n  /*! tether 0.6.5 */\n  (function(root) {\n  \t(function() {\n    var Evented, addClass, defer, deferred, extend, flush, getBounds, getOffsetParent, getOrigin, getScrollBarSize, getScrollParent, hasClass, node, removeClass, uniqueId, updateClasses, zeroPosCache,\n      __hasProp = {}.hasOwnProperty,\n      __indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; },\n      __slice = [].slice;\n  \n    if (this.Tether == null) {\n      this.Tether = {\n        modules: []\n      };\n    }\n  \n    getScrollParent = function(el) {\n      var parent, position, scrollParent, style, _ref;\n      position = getComputedStyle(el).position;\n      if (position === 'fixed') {\n        return el;\n      }\n      scrollParent = void 0;\n      parent = el;\n      while (parent = parent.parentNode) {\n        try {\n          style = getComputedStyle(parent);\n        } catch (_error) {}\n        if (style == null) {\n          return parent;\n        }\n        if (/(auto|scroll)/.test(style['overflow'] + style['overflow-y'] + style['overflow-x'])) {\n          if (position !== 'absolute' || ((_ref = style['position']) === 'relative' || _ref === 'absolute' || _ref === 'fixed')) {\n            return parent;\n          }\n        }\n      }\n      return document.body;\n    };\n  \n    uniqueId = (function() {\n      var id;\n      id = 0;\n      return function() {\n        return id++;\n      };\n    })();\n  \n    zeroPosCache = {};\n  \n    getOrigin = function(doc) {\n      var id, k, node, v, _ref;\n      node = doc._tetherZeroElement;\n      if (node == null) {\n        node = doc.createElement('div');\n        node.setAttribute('data-tether-id', uniqueId());\n        extend(node.style, {\n          top: 0,\n          left: 0,\n          position: 'absolute'\n        });\n        doc.body.appendChild(node);\n        doc._tetherZeroElement = node;\n      }\n      id = node.getAttribute('data-tether-id');\n      if (zeroPosCache[id] == null) {\n        zeroPosCache[id] = {};\n        _ref = node.getBoundingClientRect();\n        for (k in _ref) {\n          v = _ref[k];\n          zeroPosCache[id][k] = v;\n        }\n        defer(function() {\n          return zeroPosCache[id] = void 0;\n        });\n      }\n      return zeroPosCache[id];\n    };\n  \n    node = null;\n  \n    getBounds = function(el) {\n      var box, doc, docEl, k, origin, v, _ref;\n      if (el === document) {\n        doc = document;\n        el = document.documentElement;\n      } else {\n        doc = el.ownerDocument;\n      }\n      docEl = doc.documentElement;\n      box = {};\n      _ref = el.getBoundingClientRect();\n      for (k in _ref) {\n        v = _ref[k];\n        box[k] = v;\n      }\n      origin = getOrigin(doc);\n      box.top -= origin.top;\n      box.left -= origin.left;\n      if (box.width == null) {\n        box.width = document.body.scrollWidth - box.left - box.right;\n      }\n      if (box.height == null) {\n        box.height = document.body.scrollHeight - box.top - box.bottom;\n      }\n      box.top = box.top - docEl.clientTop;\n      box.left = box.left - docEl.clientLeft;\n      box.right = doc.body.clientWidth - box.width - box.left;\n      box.bottom = doc.body.clientHeight - box.height - box.top;\n      return box;\n    };\n  \n    getOffsetParent = function(el) {\n      return el.offsetParent || document.documentElement;\n    };\n  \n    getScrollBarSize = function() {\n      var inner, outer, width, widthContained, widthScroll;\n      inner = document.createElement('div');\n      inner.style.width = '100%';\n      inner.style.height = '200px';\n      outer = document.createElement('div');\n      extend(outer.style, {\n        position: 'absolute',\n        top: 0,\n        left: 0,\n        pointerEvents: 'none',\n        visibility: 'hidden',\n        width: '200px',\n        height: '150px',\n        overflow: 'hidden'\n      });\n      outer.appendChild(inner);\n      document.body.appendChild(outer);\n      widthContained = inner.offsetWidth;\n      outer.style.overflow = 'scroll';\n      widthScroll = inner.offsetWidth;\n      if (widthContained === widthScroll) {\n        widthScroll = outer.clientWidth;\n      }\n      document.body.removeChild(outer);\n      width = widthContained - widthScroll;\n      return {\n        width: width,\n        height: width\n      };\n    };\n  \n    extend = function(out) {\n      var args, key, obj, val, _i, _len, _ref;\n      if (out == null) {\n        out = {};\n      }\n      args = [];\n      Array.prototype.push.apply(args, arguments);\n      _ref = args.slice(1);\n      for (_i = 0, _len = _ref.length; _i < _len; _i++) {\n        obj = _ref[_i];\n        if (obj) {\n          for (key in obj) {\n            if (!__hasProp.call(obj, key)) continue;\n            val = obj[key];\n            out[key] = val;\n          }\n        }\n      }\n      return out;\n    };\n  \n    removeClass = function(el, name) {\n      var cls, _i, _len, _ref, _results;\n      if (el.classList != null) {\n        _ref = name.split(' ');\n        _results = [];\n        for (_i = 0, _len = _ref.length; _i < _len; _i++) {\n          cls = _ref[_i];\n          if (cls.trim()) {\n            _results.push(el.classList.remove(cls));\n          }\n        }\n        return _results;\n      } else {\n        return el.className = el.className.replace(new RegExp(\"(^| )\" + (name.split(' ').join('|')) + \"( |$)\", 'gi'), ' ');\n      }\n    };\n  \n    addClass = function(el, name) {\n      var cls, _i, _len, _ref, _results;\n      if (el.classList != null) {\n        _ref = name.split(' ');\n        _results = [];\n        for (_i = 0, _len = _ref.length; _i < _len; _i++) {\n          cls = _ref[_i];\n          if (cls.trim()) {\n            _results.push(el.classList.add(cls));\n          }\n        }\n        return _results;\n      } else {\n        removeClass(el, name);\n        return el.className += \" \" + name;\n      }\n    };\n  \n    hasClass = function(el, name) {\n      if (el.classList != null) {\n        return el.classList.contains(name);\n      } else {\n        return new RegExp(\"(^| )\" + name + \"( |$)\", 'gi').test(el.className);\n      }\n    };\n  \n    updateClasses = function(el, add, all) {\n      var cls, _i, _j, _len, _len1, _results;\n      for (_i = 0, _len = all.length; _i < _len; _i++) {\n        cls = all[_i];\n        if (__indexOf.call(add, cls) < 0) {\n          if (hasClass(el, cls)) {\n            removeClass(el, cls);\n          }\n        }\n      }\n      _results = [];\n      for (_j = 0, _len1 = add.length; _j < _len1; _j++) {\n        cls = add[_j];\n        if (!hasClass(el, cls)) {\n          _results.push(addClass(el, cls));\n        } else {\n          _results.push(void 0);\n        }\n      }\n      return _results;\n    };\n  \n    deferred = [];\n  \n    defer = function(fn) {\n      return deferred.push(fn);\n    };\n  \n    flush = function() {\n      var fn, _results;\n      _results = [];\n      while (fn = deferred.pop()) {\n        _results.push(fn());\n      }\n      return _results;\n    };\n  \n    Evented = (function() {\n      function Evented() {}\n  \n      Evented.prototype.on = function(event, handler, ctx, once) {\n        var _base;\n        if (once == null) {\n          once = false;\n        }\n        if (this.bindings == null) {\n          this.bindings = {};\n        }\n        if ((_base = this.bindings)[event] == null) {\n          _base[event] = [];\n        }\n        return this.bindings[event].push({\n          handler: handler,\n          ctx: ctx,\n          once: once\n        });\n      };\n  \n      Evented.prototype.once = function(event, handler, ctx) {\n        return this.on(event, handler, ctx, true);\n      };\n  \n      Evented.prototype.off = function(event, handler) {\n        var i, _ref, _results;\n        if (((_ref = this.bindings) != null ? _ref[event] : void 0) == null) {\n          return;\n        }\n        if (handler == null) {\n          return delete this.bindings[event];\n        } else {\n          i = 0;\n          _results = [];\n          while (i < this.bindings[event].length) {\n            if (this.bindings[event][i].handler === handler) {\n              _results.push(this.bindings[event].splice(i, 1));\n            } else {\n              _results.push(i++);\n            }\n          }\n          return _results;\n        }\n      };\n  \n      Evented.prototype.trigger = function() {\n        var args, ctx, event, handler, i, once, _ref, _ref1, _results;\n        event = arguments[0], args = 2 <= arguments.length ? __slice.call(arguments, 1) : [];\n        if ((_ref = this.bindings) != null ? _ref[event] : void 0) {\n          i = 0;\n          _results = [];\n          while (i < this.bindings[event].length) {\n            _ref1 = this.bindings[event][i], handler = _ref1.handler, ctx = _ref1.ctx, once = _ref1.once;\n            handler.apply(ctx != null ? ctx : this, args);\n            if (once) {\n              _results.push(this.bindings[event].splice(i, 1));\n            } else {\n              _results.push(i++);\n            }\n          }\n          return _results;\n        }\n      };\n  \n      return Evented;\n  \n    })();\n  \n    this.Tether.Utils = {\n      getScrollParent: getScrollParent,\n      getBounds: getBounds,\n      getOffsetParent: getOffsetParent,\n      extend: extend,\n      addClass: addClass,\n      removeClass: removeClass,\n      hasClass: hasClass,\n      updateClasses: updateClasses,\n      defer: defer,\n      flush: flush,\n      uniqueId: uniqueId,\n      Evented: Evented,\n      getScrollBarSize: getScrollBarSize\n    };\n  \n  }).call(this);\n  \n  (function() {\n    var MIRROR_LR, MIRROR_TB, OFFSET_MAP, Tether, addClass, addOffset, attachmentToOffset, autoToFixedAttachment, defer, extend, flush, getBounds, getOffsetParent, getOuterSize, getScrollBarSize, getScrollParent, getSize, now, offsetToPx, parseAttachment, parseOffset, position, removeClass, tethers, transformKey, updateClasses, within, _Tether, _ref,\n      __slice = [].slice,\n      __bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; };\n  \n    if (this.Tether == null) {\n      throw new Error(\"You must include the utils.js file before tether.js\");\n    }\n  \n    Tether = this.Tether;\n  \n    _ref = Tether.Utils, getScrollParent = _ref.getScrollParent, getSize = _ref.getSize, getOuterSize = _ref.getOuterSize, getBounds = _ref.getBounds, getOffsetParent = _ref.getOffsetParent, extend = _ref.extend, addClass = _ref.addClass, removeClass = _ref.removeClass, updateClasses = _ref.updateClasses, defer = _ref.defer, flush = _ref.flush, getScrollBarSize = _ref.getScrollBarSize;\n  \n    within = function(a, b, diff) {\n      if (diff == null) {\n        diff = 1;\n      }\n      return (a + diff >= b && b >= a - diff);\n    };\n  \n    transformKey = (function() {\n      var el, key, _i, _len, _ref1;\n      el = document.createElement('div');\n      _ref1 = ['transform', 'webkitTransform', 'OTransform', 'MozTransform', 'msTransform'];\n      for (_i = 0, _len = _ref1.length; _i < _len; _i++) {\n        key = _ref1[_i];\n        if (el.style[key] !== void 0) {\n          return key;\n        }\n      }\n    })();\n  \n    tethers = [];\n  \n    position = function() {\n      var tether, _i, _len;\n      for (_i = 0, _len = tethers.length; _i < _len; _i++) {\n        tether = tethers[_i];\n        tether.position(false);\n      }\n      return flush();\n    };\n  \n    now = function() {\n      var _ref1;\n      return (_ref1 = typeof performance !== \"undefined\" && performance !== null ? typeof performance.now === \"function\" ? performance.now() : void 0 : void 0) != null ? _ref1 : +(new Date);\n    };\n  \n    (function() {\n      var event, lastCall, lastDuration, pendingTimeout, tick, _i, _len, _ref1, _results;\n      lastCall = null;\n      lastDuration = null;\n      pendingTimeout = null;\n      tick = function() {\n        if ((lastDuration != null) && lastDuration > 16) {\n          lastDuration = Math.min(lastDuration - 16, 250);\n          pendingTimeout = setTimeout(tick, 250);\n          return;\n        }\n        if ((lastCall != null) && (now() - lastCall) < 10) {\n          return;\n        }\n        if (pendingTimeout != null) {\n          clearTimeout(pendingTimeout);\n          pendingTimeout = null;\n        }\n        lastCall = now();\n        position();\n        return lastDuration = now() - lastCall;\n      };\n      _ref1 = ['resize', 'scroll', 'touchmove'];\n      _results = [];\n      for (_i = 0, _len = _ref1.length; _i < _len; _i++) {\n        event = _ref1[_i];\n        _results.push(window.addEventListener(event, tick));\n      }\n      return _results;\n    })();\n  \n    MIRROR_LR = {\n      center: 'center',\n      left: 'right',\n      right: 'left'\n    };\n  \n    MIRROR_TB = {\n      middle: 'middle',\n      top: 'bottom',\n      bottom: 'top'\n    };\n  \n    OFFSET_MAP = {\n      top: 0,\n      left: 0,\n      middle: '50%',\n      center: '50%',\n      bottom: '100%',\n      right: '100%'\n    };\n  \n    autoToFixedAttachment = function(attachment, relativeToAttachment) {\n      var left, top;\n      left = attachment.left, top = attachment.top;\n      if (left === 'auto') {\n        left = MIRROR_LR[relativeToAttachment.left];\n      }\n      if (top === 'auto') {\n        top = MIRROR_TB[relativeToAttachment.top];\n      }\n      return {\n        left: left,\n        top: top\n      };\n    };\n  \n    attachmentToOffset = function(attachment) {\n      var _ref1, _ref2;\n      return {\n        left: (_ref1 = OFFSET_MAP[attachment.left]) != null ? _ref1 : attachment.left,\n        top: (_ref2 = OFFSET_MAP[attachment.top]) != null ? _ref2 : attachment.top\n      };\n    };\n  \n    addOffset = function() {\n      var left, offsets, out, top, _i, _len, _ref1;\n      offsets = 1 <= arguments.length ? __slice.call(arguments, 0) : [];\n      out = {\n        top: 0,\n        left: 0\n      };\n      for (_i = 0, _len = offsets.length; _i < _len; _i++) {\n        _ref1 = offsets[_i], top = _ref1.top, left = _ref1.left;\n        if (typeof top === 'string') {\n          top = parseFloat(top, 10);\n        }\n        if (typeof left === 'string') {\n          left = parseFloat(left, 10);\n        }\n        out.top += top;\n        out.left += left;\n      }\n      return out;\n    };\n  \n    offsetToPx = function(offset, size) {\n      if (typeof offset.left === 'string' && offset.left.indexOf('%') !== -1) {\n        offset.left = parseFloat(offset.left, 10) / 100 * size.width;\n      }\n      if (typeof offset.top === 'string' && offset.top.indexOf('%') !== -1) {\n        offset.top = parseFloat(offset.top, 10) / 100 * size.height;\n      }\n      return offset;\n    };\n  \n    parseAttachment = parseOffset = function(value) {\n      var left, top, _ref1;\n      _ref1 = value.split(' '), top = _ref1[0], left = _ref1[1];\n      return {\n        top: top,\n        left: left\n      };\n    };\n  \n    _Tether = (function() {\n      _Tether.modules = [];\n  \n      function _Tether(options) {\n        this.position = __bind(this.position, this);\n        var module, _i, _len, _ref1, _ref2;\n        tethers.push(this);\n        this.history = [];\n        this.setOptions(options, false);\n        _ref1 = Tether.modules;\n        for (_i = 0, _len = _ref1.length; _i < _len; _i++) {\n          module = _ref1[_i];\n          if ((_ref2 = module.initialize) != null) {\n            _ref2.call(this);\n          }\n        }\n        this.position();\n      }\n  \n      _Tether.prototype.getClass = function(key) {\n        var _ref1, _ref2;\n        if ((_ref1 = this.options.classes) != null ? _ref1[key] : void 0) {\n          return this.options.classes[key];\n        } else if (((_ref2 = this.options.classes) != null ? _ref2[key] : void 0) !== false) {\n          if (this.options.classPrefix) {\n            return \"\" + this.options.classPrefix + \"-\" + key;\n          } else {\n            return key;\n          }\n        } else {\n          return '';\n        }\n      };\n  \n      _Tether.prototype.setOptions = function(options, position) {\n        var defaults, key, _i, _len, _ref1, _ref2;\n        this.options = options;\n        if (position == null) {\n          position = true;\n        }\n        defaults = {\n          offset: '0 0',\n          targetOffset: '0 0',\n          targetAttachment: 'auto auto',\n          classPrefix: 'tether'\n        };\n        this.options = extend(defaults, this.options);\n        _ref1 = this.options, this.element = _ref1.element, this.target = _ref1.target, this.targetModifier = _ref1.targetModifier;\n        if (this.target === 'viewport') {\n          this.target = document.body;\n          this.targetModifier = 'visible';\n        } else if (this.target === 'scroll-handle') {\n          this.target = document.body;\n          this.targetModifier = 'scroll-handle';\n        }\n        _ref2 = ['element', 'target'];\n        for (_i = 0, _len = _ref2.length; _i < _len; _i++) {\n          key = _ref2[_i];\n          if (this[key] == null) {\n            throw new Error(\"Tether Error: Both element and target must be defined\");\n          }\n          if (this[key].jquery != null) {\n            this[key] = this[key][0];\n          } else if (typeof this[key] === 'string') {\n            this[key] = document.querySelector(this[key]);\n          }\n        }\n        addClass(this.element, this.getClass('element'));\n        addClass(this.target, this.getClass('target'));\n        if (!this.options.attachment) {\n          throw new Error(\"Tether Error: You must provide an attachment\");\n        }\n        this.targetAttachment = parseAttachment(this.options.targetAttachment);\n        this.attachment = parseAttachment(this.options.attachment);\n        this.offset = parseOffset(this.options.offset);\n        this.targetOffset = parseOffset(this.options.targetOffset);\n        if (this.scrollParent != null) {\n          this.disable();\n        }\n        if (this.targetModifier === 'scroll-handle') {\n          this.scrollParent = this.target;\n        } else {\n          this.scrollParent = getScrollParent(this.target);\n        }\n        if (this.options.enabled !== false) {\n          return this.enable(position);\n        }\n      };\n  \n      _Tether.prototype.getTargetBounds = function() {\n        var bounds, fitAdj, hasBottomScroll, height, out, scrollBottom, scrollPercentage, style, target;\n        if (this.targetModifier != null) {\n          switch (this.targetModifier) {\n            case 'visible':\n              if (this.target === document.body) {\n                return {\n                  top: pageYOffset,\n                  left: pageXOffset,\n                  height: innerHeight,\n                  width: innerWidth\n                };\n              } else {\n                bounds = getBounds(this.target);\n                out = {\n                  height: bounds.height,\n                  width: bounds.width,\n                  top: bounds.top,\n                  left: bounds.left\n                };\n                out.height = Math.min(out.height, bounds.height - (pageYOffset - bounds.top));\n                out.height = Math.min(out.height, bounds.height - ((bounds.top + bounds.height) - (pageYOffset + innerHeight)));\n                out.height = Math.min(innerHeight, out.height);\n                out.height -= 2;\n                out.width = Math.min(out.width, bounds.width - (pageXOffset - bounds.left));\n                out.width = Math.min(out.width, bounds.width - ((bounds.left + bounds.width) - (pageXOffset + innerWidth)));\n                out.width = Math.min(innerWidth, out.width);\n                out.width -= 2;\n                if (out.top < pageYOffset) {\n                  out.top = pageYOffset;\n                }\n                if (out.left < pageXOffset) {\n                  out.left = pageXOffset;\n                }\n                return out;\n              }\n              break;\n            case 'scroll-handle':\n              target = this.target;\n              if (target === document.body) {\n                target = document.documentElement;\n                bounds = {\n                  left: pageXOffset,\n                  top: pageYOffset,\n                  height: innerHeight,\n                  width: innerWidth\n                };\n              } else {\n                bounds = getBounds(target);\n              }\n              style = getComputedStyle(target);\n              hasBottomScroll = target.scrollWidth > target.clientWidth || 'scroll' === [style.overflow, style.overflowX] || this.target !== document.body;\n              scrollBottom = 0;\n              if (hasBottomScroll) {\n                scrollBottom = 15;\n              }\n              height = bounds.height - parseFloat(style.borderTopWidth) - parseFloat(style.borderBottomWidth) - scrollBottom;\n              out = {\n                width: 15,\n                height: height * 0.975 * (height / target.scrollHeight),\n                left: bounds.left + bounds.width - parseFloat(style.borderLeftWidth) - 15\n              };\n              fitAdj = 0;\n              if (height < 408 && this.target === document.body) {\n                fitAdj = -0.00011 * Math.pow(height, 2) - 0.00727 * height + 22.58;\n              }\n              if (this.target !== document.body) {\n                out.height = Math.max(out.height, 24);\n              }\n              scrollPercentage = this.target.scrollTop / (target.scrollHeight - height);\n              out.top = scrollPercentage * (height - out.height - fitAdj) + bounds.top + parseFloat(style.borderTopWidth);\n              if (this.target === document.body) {\n                out.height = Math.max(out.height, 24);\n              }\n              return out;\n          }\n        } else {\n          return getBounds(this.target);\n        }\n      };\n  \n      _Tether.prototype.clearCache = function() {\n        return this._cache = {};\n      };\n  \n      _Tether.prototype.cache = function(k, getter) {\n        if (this._cache == null) {\n          this._cache = {};\n        }\n        if (this._cache[k] == null) {\n          this._cache[k] = getter.call(this);\n        }\n        return this._cache[k];\n      };\n  \n      _Tether.prototype.enable = function(position) {\n        if (position == null) {\n          position = true;\n        }\n        addClass(this.target, this.getClass('enabled'));\n        addClass(this.element, this.getClass('enabled'));\n        this.enabled = true;\n        if (this.scrollParent !== document) {\n          this.scrollParent.addEventListener('scroll', this.position);\n        }\n        if (position) {\n          return this.position();\n        }\n      };\n  \n      _Tether.prototype.disable = function() {\n        removeClass(this.target, this.getClass('enabled'));\n        removeClass(this.element, this.getClass('enabled'));\n        this.enabled = false;\n        if (this.scrollParent != null) {\n          return this.scrollParent.removeEventListener('scroll', this.position);\n        }\n      };\n  \n      _Tether.prototype.destroy = function() {\n        var i, tether, _i, _len, _results;\n        this.disable();\n        _results = [];\n        for (i = _i = 0, _len = tethers.length; _i < _len; i = ++_i) {\n          tether = tethers[i];\n          if (tether === this) {\n            tethers.splice(i, 1);\n            break;\n          } else {\n            _results.push(void 0);\n          }\n        }\n        return _results;\n      };\n  \n      _Tether.prototype.updateAttachClasses = function(elementAttach, targetAttach) {\n        var add, all, side, sides, _i, _j, _len, _len1, _ref1,\n          _this = this;\n        if (elementAttach == null) {\n          elementAttach = this.attachment;\n        }\n        if (targetAttach == null) {\n          targetAttach = this.targetAttachment;\n        }\n        sides = ['left', 'top', 'bottom', 'right', 'middle', 'center'];\n        if ((_ref1 = this._addAttachClasses) != null ? _ref1.length : void 0) {\n          this._addAttachClasses.splice(0, this._addAttachClasses.length);\n        }\n        add = this._addAttachClasses != null ? this._addAttachClasses : this._addAttachClasses = [];\n        if (elementAttach.top) {\n          add.push(\"\" + (this.getClass('element-attached')) + \"-\" + elementAttach.top);\n        }\n        if (elementAttach.left) {\n          add.push(\"\" + (this.getClass('element-attached')) + \"-\" + elementAttach.left);\n        }\n        if (targetAttach.top) {\n          add.push(\"\" + (this.getClass('target-attached')) + \"-\" + targetAttach.top);\n        }\n        if (targetAttach.left) {\n          add.push(\"\" + (this.getClass('target-attached')) + \"-\" + targetAttach.left);\n        }\n        all = [];\n        for (_i = 0, _len = sides.length; _i < _len; _i++) {\n          side = sides[_i];\n          all.push(\"\" + (this.getClass('element-attached')) + \"-\" + side);\n        }\n        for (_j = 0, _len1 = sides.length; _j < _len1; _j++) {\n          side = sides[_j];\n          all.push(\"\" + (this.getClass('target-attached')) + \"-\" + side);\n        }\n        return defer(function() {\n          if (_this._addAttachClasses == null) {\n            return;\n          }\n          updateClasses(_this.element, _this._addAttachClasses, all);\n          updateClasses(_this.target, _this._addAttachClasses, all);\n          return _this._addAttachClasses = void 0;\n        });\n      };\n  \n      _Tether.prototype.position = function(flushChanges) {\n        var elementPos, elementStyle, height, left, manualOffset, manualTargetOffset, module, next, offset, offsetBorder, offsetParent, offsetParentSize, offsetParentStyle, offsetPosition, ret, scrollLeft, scrollTop, scrollbarSize, side, targetAttachment, targetOffset, targetPos, targetSize, top, width, _i, _j, _len, _len1, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6,\n          _this = this;\n        if (flushChanges == null) {\n          flushChanges = true;\n        }\n        if (!this.enabled) {\n          return;\n        }\n        this.clearCache();\n        targetAttachment = autoToFixedAttachment(this.targetAttachment, this.attachment);\n        this.updateAttachClasses(this.attachment, targetAttachment);\n        elementPos = this.cache('element-bounds', function() {\n          return getBounds(_this.element);\n        });\n        width = elementPos.width, height = elementPos.height;\n        if (width === 0 && height === 0 && (this.lastSize != null)) {\n          _ref1 = this.lastSize, width = _ref1.width, height = _ref1.height;\n        } else {\n          this.lastSize = {\n            width: width,\n            height: height\n          };\n        }\n        targetSize = targetPos = this.cache('target-bounds', function() {\n          return _this.getTargetBounds();\n        });\n        offset = offsetToPx(attachmentToOffset(this.attachment), {\n          width: width,\n          height: height\n        });\n        targetOffset = offsetToPx(attachmentToOffset(targetAttachment), targetSize);\n        manualOffset = offsetToPx(this.offset, {\n          width: width,\n          height: height\n        });\n        manualTargetOffset = offsetToPx(this.targetOffset, targetSize);\n        offset = addOffset(offset, manualOffset);\n        targetOffset = addOffset(targetOffset, manualTargetOffset);\n        left = targetPos.left + targetOffset.left - offset.left;\n        top = targetPos.top + targetOffset.top - offset.top;\n        _ref2 = Tether.modules;\n        for (_i = 0, _len = _ref2.length; _i < _len; _i++) {\n          module = _ref2[_i];\n          ret = module.position.call(this, {\n            left: left,\n            top: top,\n            targetAttachment: targetAttachment,\n            targetPos: targetPos,\n            attachment: this.attachment,\n            elementPos: elementPos,\n            offset: offset,\n            targetOffset: targetOffset,\n            manualOffset: manualOffset,\n            manualTargetOffset: manualTargetOffset,\n            scrollbarSize: scrollbarSize\n          });\n          if ((ret == null) || typeof ret !== 'object') {\n            continue;\n          } else if (ret === false) {\n            return false;\n          } else {\n            top = ret.top, left = ret.left;\n          }\n        }\n        next = {\n          page: {\n            top: top,\n            left: left\n          },\n          viewport: {\n            top: top - pageYOffset,\n            bottom: pageYOffset - top - height + innerHeight,\n            left: left - pageXOffset,\n            right: pageXOffset - left - width + innerWidth\n          }\n        };\n        if (document.body.scrollWidth > window.innerWidth) {\n          scrollbarSize = this.cache('scrollbar-size', getScrollBarSize);\n          next.viewport.bottom -= scrollbarSize.height;\n        }\n        if (document.body.scrollHeight > window.innerHeight) {\n          scrollbarSize = this.cache('scrollbar-size', getScrollBarSize);\n          next.viewport.right -= scrollbarSize.width;\n        }\n        if (((_ref3 = document.body.style.position) !== '' && _ref3 !== 'static') || ((_ref4 = document.body.parentElement.style.position) !== '' && _ref4 !== 'static')) {\n          next.page.bottom = document.body.scrollHeight - top - height;\n          next.page.right = document.body.scrollWidth - left - width;\n        }\n        if (((_ref5 = this.options.optimizations) != null ? _ref5.moveElement : void 0) !== false && (this.targetModifier == null)) {\n          offsetParent = this.cache('target-offsetparent', function() {\n            return getOffsetParent(_this.target);\n          });\n          offsetPosition = this.cache('target-offsetparent-bounds', function() {\n            return getBounds(offsetParent);\n          });\n          offsetParentStyle = getComputedStyle(offsetParent);\n          elementStyle = getComputedStyle(this.element);\n          offsetParentSize = offsetPosition;\n          offsetBorder = {};\n          _ref6 = ['Top', 'Left', 'Bottom', 'Right'];\n          for (_j = 0, _len1 = _ref6.length; _j < _len1; _j++) {\n            side = _ref6[_j];\n            offsetBorder[side.toLowerCase()] = parseFloat(offsetParentStyle[\"border\" + side + \"Width\"]);\n          }\n          offsetPosition.right = document.body.scrollWidth - offsetPosition.left - offsetParentSize.width + offsetBorder.right;\n          offsetPosition.bottom = document.body.scrollHeight - offsetPosition.top - offsetParentSize.height + offsetBorder.bottom;\n          if (next.page.top >= (offsetPosition.top + offsetBorder.top) && next.page.bottom >= offsetPosition.bottom) {\n            if (next.page.left >= (offsetPosition.left + offsetBorder.left) && next.page.right >= offsetPosition.right) {\n              scrollTop = offsetParent.scrollTop;\n              scrollLeft = offsetParent.scrollLeft;\n              next.offset = {\n                top: next.page.top - offsetPosition.top + scrollTop - offsetBorder.top,\n                left: next.page.left - offsetPosition.left + scrollLeft - offsetBorder.left\n              };\n            }\n          }\n        }\n        this.move(next);\n        this.history.unshift(next);\n        if (this.history.length > 3) {\n          this.history.pop();\n        }\n        if (flushChanges) {\n          flush();\n        }\n        return true;\n      };\n  \n      _Tether.prototype.move = function(position) {\n        var css, elVal, found, key, moved, offsetParent, point, same, transcribe, type, val, write, writeCSS, _i, _len, _ref1, _ref2,\n          _this = this;\n        if (this.element.parentNode == null) {\n          return;\n        }\n        same = {};\n        for (type in position) {\n          same[type] = {};\n          for (key in position[type]) {\n            found = false;\n            _ref1 = this.history;\n            for (_i = 0, _len = _ref1.length; _i < _len; _i++) {\n              point = _ref1[_i];\n              if (!within((_ref2 = point[type]) != null ? _ref2[key] : void 0, position[type][key])) {\n                found = true;\n                break;\n              }\n            }\n            if (!found) {\n              same[type][key] = true;\n            }\n          }\n        }\n        css = {\n          top: '',\n          left: '',\n          right: '',\n          bottom: ''\n        };\n        transcribe = function(same, pos) {\n          var xPos, yPos, _ref3;\n          if (((_ref3 = _this.options.optimizations) != null ? _ref3.gpu : void 0) !== false) {\n            if (same.top) {\n              css.top = 0;\n              yPos = pos.top;\n            } else {\n              css.bottom = 0;\n              yPos = -pos.bottom;\n            }\n            if (same.left) {\n              css.left = 0;\n              xPos = pos.left;\n            } else {\n              css.right = 0;\n              xPos = -pos.right;\n            }\n            css[transformKey] = \"translateX(\" + (Math.round(xPos)) + \"px) translateY(\" + (Math.round(yPos)) + \"px)\";\n            if (transformKey !== 'msTransform') {\n              return css[transformKey] += \" translateZ(0)\";\n            }\n          } else {\n            if (same.top) {\n              css.top = \"\" + pos.top + \"px\";\n            } else {\n              css.bottom = \"\" + pos.bottom + \"px\";\n            }\n            if (same.left) {\n              return css.left = \"\" + pos.left + \"px\";\n            } else {\n              return css.right = \"\" + pos.right + \"px\";\n            }\n          }\n        };\n        moved = false;\n        if ((same.page.top || same.page.bottom) && (same.page.left || same.page.right)) {\n          css.position = 'absolute';\n          transcribe(same.page, position.page);\n        } else if ((same.viewport.top || same.viewport.bottom) && (same.viewport.left || same.viewport.right)) {\n          css.position = 'fixed';\n          transcribe(same.viewport, position.viewport);\n        } else if ((same.offset != null) && same.offset.top && same.offset.left) {\n          css.position = 'absolute';\n          offsetParent = this.cache('target-offsetparent', function() {\n            return getOffsetParent(_this.target);\n          });\n          if (getOffsetParent(this.element) !== offsetParent) {\n            defer(function() {\n              _this.element.parentNode.removeChild(_this.element);\n              return offsetParent.appendChild(_this.element);\n            });\n          }\n          transcribe(same.offset, position.offset);\n          moved = true;\n        } else {\n          css.position = 'absolute';\n          transcribe({\n            top: true,\n            left: true\n          }, position.page);\n        }\n        if (!moved && this.element.parentNode.tagName !== 'BODY') {\n          this.element.parentNode.removeChild(this.element);\n          document.body.appendChild(this.element);\n        }\n        writeCSS = {};\n        write = false;\n        for (key in css) {\n          val = css[key];\n          elVal = this.element.style[key];\n          if (elVal !== '' && val !== '' && (key === 'top' || key === 'left' || key === 'bottom' || key === 'right')) {\n            elVal = parseFloat(elVal);\n            val = parseFloat(val);\n          }\n          if (elVal !== val) {\n            write = true;\n            writeCSS[key] = css[key];\n          }\n        }\n        if (write) {\n          return defer(function() {\n            return extend(_this.element.style, writeCSS);\n          });\n        }\n      };\n  \n      return _Tether;\n  \n    })();\n  \n    Tether.position = position;\n  \n    this.Tether = extend(_Tether, Tether);\n  \n  }).call(this);\n  \n  (function() {\n    var BOUNDS_FORMAT, MIRROR_ATTACH, defer, extend, getBoundingRect, getBounds, getOuterSize, getSize, updateClasses, _ref,\n      __indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; };\n  \n    _ref = this.Tether.Utils, getOuterSize = _ref.getOuterSize, getBounds = _ref.getBounds, getSize = _ref.getSize, extend = _ref.extend, updateClasses = _ref.updateClasses, defer = _ref.defer;\n  \n    MIRROR_ATTACH = {\n      left: 'right',\n      right: 'left',\n      top: 'bottom',\n      bottom: 'top',\n      middle: 'middle'\n    };\n  \n    BOUNDS_FORMAT = ['left', 'top', 'right', 'bottom'];\n  \n    getBoundingRect = function(tether, to) {\n      var i, pos, side, size, style, _i, _len;\n      if (to === 'scrollParent') {\n        to = tether.scrollParent;\n      } else if (to === 'window') {\n        to = [pageXOffset, pageYOffset, innerWidth + pageXOffset, innerHeight + pageYOffset];\n      }\n      if (to === document) {\n        to = to.documentElement;\n      }\n      if (to.nodeType != null) {\n        pos = size = getBounds(to);\n        style = getComputedStyle(to);\n        to = [pos.left, pos.top, size.width + pos.left, size.height + pos.top];\n        for (i = _i = 0, _len = BOUNDS_FORMAT.length; _i < _len; i = ++_i) {\n          side = BOUNDS_FORMAT[i];\n          side = side[0].toUpperCase() + side.substr(1);\n          if (side === 'Top' || side === 'Left') {\n            to[i] += parseFloat(style[\"border\" + side + \"Width\"]);\n          } else {\n            to[i] -= parseFloat(style[\"border\" + side + \"Width\"]);\n          }\n        }\n      }\n      return to;\n    };\n  \n    this.Tether.modules.push({\n      position: function(_arg) {\n        var addClasses, allClasses, attachment, bounds, changeAttachX, changeAttachY, cls, constraint, eAttachment, height, left, oob, oobClass, p, pin, pinned, pinnedClass, removeClass, side, tAttachment, targetAttachment, targetHeight, targetSize, targetWidth, to, top, width, _i, _j, _k, _l, _len, _len1, _len2, _len3, _len4, _len5, _m, _n, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8,\n          _this = this;\n        top = _arg.top, left = _arg.left, targetAttachment = _arg.targetAttachment;\n        if (!this.options.constraints) {\n          return true;\n        }\n        removeClass = function(prefix) {\n          var side, _i, _len, _results;\n          _this.removeClass(prefix);\n          _results = [];\n          for (_i = 0, _len = BOUNDS_FORMAT.length; _i < _len; _i++) {\n            side = BOUNDS_FORMAT[_i];\n            _results.push(_this.removeClass(\"\" + prefix + \"-\" + side));\n          }\n          return _results;\n        };\n        _ref1 = this.cache('element-bounds', function() {\n          return getBounds(_this.element);\n        }), height = _ref1.height, width = _ref1.width;\n        if (width === 0 && height === 0 && (this.lastSize != null)) {\n          _ref2 = this.lastSize, width = _ref2.width, height = _ref2.height;\n        }\n        targetSize = this.cache('target-bounds', function() {\n          return _this.getTargetBounds();\n        });\n        targetHeight = targetSize.height;\n        targetWidth = targetSize.width;\n        tAttachment = {};\n        eAttachment = {};\n        allClasses = [this.getClass('pinned'), this.getClass('out-of-bounds')];\n        _ref3 = this.options.constraints;\n        for (_i = 0, _len = _ref3.length; _i < _len; _i++) {\n          constraint = _ref3[_i];\n          if (constraint.outOfBoundsClass) {\n            allClasses.push(constraint.outOfBoundsClass);\n          }\n          if (constraint.pinnedClass) {\n            allClasses.push(constraint.pinnedClass);\n          }\n        }\n        for (_j = 0, _len1 = allClasses.length; _j < _len1; _j++) {\n          cls = allClasses[_j];\n          _ref4 = ['left', 'top', 'right', 'bottom'];\n          for (_k = 0, _len2 = _ref4.length; _k < _len2; _k++) {\n            side = _ref4[_k];\n            allClasses.push(\"\" + cls + \"-\" + side);\n          }\n        }\n        addClasses = [];\n        tAttachment = extend({}, targetAttachment);\n        eAttachment = extend({}, this.attachment);\n        _ref5 = this.options.constraints;\n        for (_l = 0, _len3 = _ref5.length; _l < _len3; _l++) {\n          constraint = _ref5[_l];\n          to = constraint.to, attachment = constraint.attachment, pin = constraint.pin;\n          if (attachment == null) {\n            attachment = '';\n          }\n          if (__indexOf.call(attachment, ' ') >= 0) {\n            _ref6 = attachment.split(' '), changeAttachY = _ref6[0], changeAttachX = _ref6[1];\n          } else {\n            changeAttachX = changeAttachY = attachment;\n          }\n          bounds = getBoundingRect(this, to);\n          if (changeAttachY === 'target' || changeAttachY === 'both') {\n            if (top < bounds[1] && tAttachment.top === 'top') {\n              top += targetHeight;\n              tAttachment.top = 'bottom';\n            }\n            if (top + height > bounds[3] && tAttachment.top === 'bottom') {\n              top -= targetHeight;\n              tAttachment.top = 'top';\n            }\n          }\n          if (changeAttachY === 'together') {\n            if (top < bounds[1] && tAttachment.top === 'top') {\n              if (eAttachment.top === 'bottom') {\n                top += targetHeight;\n                tAttachment.top = 'bottom';\n                top += height;\n                eAttachment.top = 'top';\n              } else if (eAttachment.top === 'top') {\n                top += targetHeight;\n                tAttachment.top = 'bottom';\n                top -= height;\n                eAttachment.top = 'bottom';\n              }\n            }\n            if (top + height > bounds[3] && tAttachment.top === 'bottom') {\n              if (eAttachment.top === 'top') {\n                top -= targetHeight;\n                tAttachment.top = 'top';\n                top -= height;\n                eAttachment.top = 'bottom';\n              } else if (eAttachment.top === 'bottom') {\n                top -= targetHeight;\n                tAttachment.top = 'top';\n                top += height;\n                eAttachment.top = 'top';\n              }\n            }\n            if (tAttachment.top === 'middle') {\n              if (top + height > bounds[3] && eAttachment.top === 'top') {\n                top -= height;\n                eAttachment.top = 'bottom';\n              } else if (top < bounds[1] && eAttachment.top === 'bottom') {\n                top += height;\n                eAttachment.top = 'top';\n              }\n            }\n          }\n          if (changeAttachX === 'target' || changeAttachX === 'both') {\n            if (left < bounds[0] && tAttachment.left === 'left') {\n              left += targetWidth;\n              tAttachment.left = 'right';\n            }\n            if (left + width > bounds[2] && tAttachment.left === 'right') {\n              left -= targetWidth;\n              tAttachment.left = 'left';\n            }\n          }\n          if (changeAttachX === 'together') {\n            if (left < bounds[0] && tAttachment.left === 'left') {\n              if (eAttachment.left === 'right') {\n                left += targetWidth;\n                tAttachment.left = 'right';\n                left += width;\n                eAttachment.left = 'left';\n              } else if (eAttachment.left === 'left') {\n                left += targetWidth;\n                tAttachment.left = 'right';\n                left -= width;\n                eAttachment.left = 'right';\n              }\n            } else if (left + width > bounds[2] && tAttachment.left === 'right') {\n              if (eAttachment.left === 'left') {\n                left -= targetWidth;\n                tAttachment.left = 'left';\n                left -= width;\n                eAttachment.left = 'right';\n              } else if (eAttachment.left === 'right') {\n                left -= targetWidth;\n                tAttachment.left = 'left';\n                left += width;\n                eAttachment.left = 'left';\n              }\n            } else if (tAttachment.left === 'center') {\n              if (left + width > bounds[2] && eAttachment.left === 'left') {\n                left -= width;\n                eAttachment.left = 'right';\n              } else if (left < bounds[0] && eAttachment.left === 'right') {\n                left += width;\n                eAttachment.left = 'left';\n              }\n            }\n          }\n          if (changeAttachY === 'element' || changeAttachY === 'both') {\n            if (top < bounds[1] && eAttachment.top === 'bottom') {\n              top += height;\n              eAttachment.top = 'top';\n            }\n            if (top + height > bounds[3] && eAttachment.top === 'top') {\n              top -= height;\n              eAttachment.top = 'bottom';\n            }\n          }\n          if (changeAttachX === 'element' || changeAttachX === 'both') {\n            if (left < bounds[0] && eAttachment.left === 'right') {\n              left += width;\n              eAttachment.left = 'left';\n            }\n            if (left + width > bounds[2] && eAttachment.left === 'left') {\n              left -= width;\n              eAttachment.left = 'right';\n            }\n          }\n          if (typeof pin === 'string') {\n            pin = (function() {\n              var _len4, _m, _ref7, _results;\n              _ref7 = pin.split(',');\n              _results = [];\n              for (_m = 0, _len4 = _ref7.length; _m < _len4; _m++) {\n                p = _ref7[_m];\n                _results.push(p.trim());\n              }\n              return _results;\n            })();\n          } else if (pin === true) {\n            pin = ['top', 'left', 'right', 'bottom'];\n          }\n          pin || (pin = []);\n          pinned = [];\n          oob = [];\n          if (top < bounds[1]) {\n            if (__indexOf.call(pin, 'top') >= 0) {\n              top = bounds[1];\n              pinned.push('top');\n            } else {\n              oob.push('top');\n            }\n          }\n          if (top + height > bounds[3]) {\n            if (__indexOf.call(pin, 'bottom') >= 0) {\n              top = bounds[3] - height;\n              pinned.push('bottom');\n            } else {\n              oob.push('bottom');\n            }\n          }\n          if (left < bounds[0]) {\n            if (__indexOf.call(pin, 'left') >= 0) {\n              left = bounds[0];\n              pinned.push('left');\n            } else {\n              oob.push('left');\n            }\n          }\n          if (left + width > bounds[2]) {\n            if (__indexOf.call(pin, 'right') >= 0) {\n              left = bounds[2] - width;\n              pinned.push('right');\n            } else {\n              oob.push('right');\n            }\n          }\n          if (pinned.length) {\n            pinnedClass = (_ref7 = this.options.pinnedClass) != null ? _ref7 : this.getClass('pinned');\n            addClasses.push(pinnedClass);\n            for (_m = 0, _len4 = pinned.length; _m < _len4; _m++) {\n              side = pinned[_m];\n              addClasses.push(\"\" + pinnedClass + \"-\" + side);\n            }\n          }\n          if (oob.length) {\n            oobClass = (_ref8 = this.options.outOfBoundsClass) != null ? _ref8 : this.getClass('out-of-bounds');\n            addClasses.push(oobClass);\n            for (_n = 0, _len5 = oob.length; _n < _len5; _n++) {\n              side = oob[_n];\n              addClasses.push(\"\" + oobClass + \"-\" + side);\n            }\n          }\n          if (__indexOf.call(pinned, 'left') >= 0 || __indexOf.call(pinned, 'right') >= 0) {\n            eAttachment.left = tAttachment.left = false;\n          }\n          if (__indexOf.call(pinned, 'top') >= 0 || __indexOf.call(pinned, 'bottom') >= 0) {\n            eAttachment.top = tAttachment.top = false;\n          }\n          if (tAttachment.top !== targetAttachment.top || tAttachment.left !== targetAttachment.left || eAttachment.top !== this.attachment.top || eAttachment.left !== this.attachment.left) {\n            this.updateAttachClasses(eAttachment, tAttachment);\n          }\n        }\n        defer(function() {\n          updateClasses(_this.target, addClasses, allClasses);\n          return updateClasses(_this.element, addClasses, allClasses);\n        });\n        return {\n          top: top,\n          left: left\n        };\n      }\n    });\n  \n  }).call(this);\n  \n  (function() {\n    var defer, getBounds, updateClasses, _ref;\n  \n    _ref = this.Tether.Utils, getBounds = _ref.getBounds, updateClasses = _ref.updateClasses, defer = _ref.defer;\n  \n    this.Tether.modules.push({\n      position: function(_arg) {\n        var abutted, addClasses, allClasses, bottom, height, left, right, side, sides, targetPos, top, width, _i, _j, _k, _l, _len, _len1, _len2, _len3, _ref1, _ref2, _ref3, _ref4, _ref5,\n          _this = this;\n        top = _arg.top, left = _arg.left;\n        _ref1 = this.cache('element-bounds', function() {\n          return getBounds(_this.element);\n        }), height = _ref1.height, width = _ref1.width;\n        targetPos = this.getTargetBounds();\n        bottom = top + height;\n        right = left + width;\n        abutted = [];\n        if (top <= targetPos.bottom && bottom >= targetPos.top) {\n          _ref2 = ['left', 'right'];\n          for (_i = 0, _len = _ref2.length; _i < _len; _i++) {\n            side = _ref2[_i];\n            if ((_ref3 = targetPos[side]) === left || _ref3 === right) {\n              abutted.push(side);\n            }\n          }\n        }\n        if (left <= targetPos.right && right >= targetPos.left) {\n          _ref4 = ['top', 'bottom'];\n          for (_j = 0, _len1 = _ref4.length; _j < _len1; _j++) {\n            side = _ref4[_j];\n            if ((_ref5 = targetPos[side]) === top || _ref5 === bottom) {\n              abutted.push(side);\n            }\n          }\n        }\n        allClasses = [];\n        addClasses = [];\n        sides = ['left', 'top', 'right', 'bottom'];\n        allClasses.push(this.getClass('abutted'));\n        for (_k = 0, _len2 = sides.length; _k < _len2; _k++) {\n          side = sides[_k];\n          allClasses.push(\"\" + (this.getClass('abutted')) + \"-\" + side);\n        }\n        if (abutted.length) {\n          addClasses.push(this.getClass('abutted'));\n        }\n        for (_l = 0, _len3 = abutted.length; _l < _len3; _l++) {\n          side = abutted[_l];\n          addClasses.push(\"\" + (this.getClass('abutted')) + \"-\" + side);\n        }\n        defer(function() {\n          updateClasses(_this.target, addClasses, allClasses);\n          return updateClasses(_this.element, addClasses, allClasses);\n        });\n        return true;\n      }\n    });\n  \n  }).call(this);\n  \n  (function() {\n    this.Tether.modules.push({\n      position: function(_arg) {\n        var left, result, shift, shiftLeft, shiftTop, top, _ref;\n        top = _arg.top, left = _arg.left;\n        if (!this.options.shift) {\n          return;\n        }\n        result = function(val) {\n          if (typeof val === 'function') {\n            return val.call(this, {\n              top: top,\n              left: left\n            });\n          } else {\n            return val;\n          }\n        };\n        shift = result(this.options.shift);\n        if (typeof shift === 'string') {\n          shift = shift.split(' ');\n          shift[1] || (shift[1] = shift[0]);\n          shiftTop = shift[0], shiftLeft = shift[1];\n          shiftTop = parseFloat(shiftTop, 10);\n          shiftLeft = parseFloat(shiftLeft, 10);\n        } else {\n          _ref = [shift.top, shift.left], shiftTop = _ref[0], shiftLeft = _ref[1];\n        }\n        top += shiftTop;\n        left += shiftLeft;\n        return {\n          top: top,\n          left: left\n        };\n      }\n    });\n  \n  }).call(this);\n  \n  \n  \troot.Tether = this.Tether;\n  \n  \tif (typeof define === 'function') {\n  \t\tdefine([],function() {\n  \t\t\treturn root.Tether;\n  \t\t});\n  \t} else if (typeof exports === 'object') {\n  \t\tmodule.exports = root.Tether;\n  \t}\n  }(this));\n  \n  \n  return module.exports;\n}).call(this);\n// src/js/aui/internal/alignment.js\n(typeof window === 'undefined' ? global : window).__1c8b45ce15e2aedaf2079a51e1071300 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n      value: true\n  });\n  \n  var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"]) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }; }();\n  \n  var _tether = __0795207011f2f4b69e9b236d5df42885;\n  \n  var _tether2 = _interopRequireDefault(_tether);\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  var ATTR_ALIGNMENT = 'alignment';\n  var ATTR_ALIGNMENT_STATIC = 'alignment-static';\n  var ATTR_CONTAINER = 'alignment-container';\n  var CLASS_PREFIX_ALIGNMENT = 'aui-alignment';\n  var CLASS_PREFIX_SIDE = 'aui-alignment-side-';\n  var CLASS_PREFIX_SNAP = 'aui-alignment-snap-';\n  var DEFAULT_ATTACHMENT = 'right middle';\n  var attachmentMap = {\n      'top left': { el: 'bottom left', target: 'top left' },\n      'top center': { el: 'bottom center', target: 'top center' },\n      'top right': { el: 'bottom right', target: 'top right' },\n      'right top': { el: 'top left', target: 'top right' },\n      'right middle': { el: 'middle left', target: 'middle right' },\n      'right bottom': { el: 'bottom left', target: 'bottom right' },\n      'bottom left': { el: 'top left', target: 'bottom left' },\n      'bottom center': { el: 'top center', target: 'bottom center' },\n      'bottom right': { el: 'top right', target: 'bottom right' },\n      'left top': { el: 'top right', target: 'top left' },\n      'left middle': { el: 'middle right', target: 'middle left' },\n      'left bottom': { el: 'bottom right', target: 'bottom left' },\n      'submenu left': { el: 'top left', target: 'top right' },\n      'submenu right': { el: 'top right', target: 'top left' }\n  };\n  \n  function hasClass(element, className) {\n      return (' ' + element.className + ' ').indexOf(' ' + className + ' ') !== -1;\n  }\n  \n  function addAlignmentClasses(element, side, snap) {\n      var sideClass = CLASS_PREFIX_SIDE + side;\n      var snapClass = CLASS_PREFIX_SNAP + snap;\n  \n      if (!hasClass(element, sideClass)) {\n          element.className += ' ' + sideClass;\n      }\n  \n      if (!hasClass(element, snapClass)) {\n          element.className += ' ' + snapClass;\n      }\n  }\n  \n  function getAttribute(element, name) {\n      return element.getAttribute(name) || element.getAttribute('data-aui-' + name);\n  }\n  \n  function hasAttribute(element, name) {\n      return element.hasAttribute(name) || element.hasAttribute('data-aui-' + name);\n  }\n  \n  function getAlignment(element) {\n      var _split = (getAttribute(element, ATTR_ALIGNMENT) || DEFAULT_ATTACHMENT).split(' ');\n  \n      var _split2 = _slicedToArray(_split, 2);\n  \n      var side = _split2[0];\n      var snap = _split2[1];\n  \n      return {\n          side: side,\n          snap: snap\n      };\n  }\n  \n  function getContainer(element) {\n      var container = getAttribute(element, ATTR_CONTAINER) || window;\n  \n      if (typeof container === 'string') {\n          container = document.querySelector(container);\n      }\n  \n      return container;\n  }\n  \n  function calculateBestAlignmentSnap(target, container) {\n      var snap = 'left';\n  \n      if (!container || container === window || container === document) {\n          container = document.documentElement;\n      }\n  \n      if (container && container.nodeType && container.nodeType === Node.ELEMENT_NODE) {\n          var containerBounds = container.getBoundingClientRect();\n          var targetBounds = target.getBoundingClientRect();\n  \n          if (targetBounds.left > containerBounds.right / 2) {\n              snap = 'right';\n          }\n      }\n  \n      return snap;\n  }\n  \n  function getAttachment(side, snap) {\n      return attachmentMap[side + ' ' + snap] || attachmentMap[DEFAULT_ATTACHMENT];\n  }\n  \n  function Alignment(element, target) {\n      var container = getContainer(element);\n      var alignment = getAlignment(element);\n  \n      if (!alignment.snap || alignment.snap === 'auto') {\n          alignment.snap = calculateBestAlignmentSnap(target, container);\n      }\n  \n      var attachment = getAttachment(alignment.side, alignment.snap);\n      var isStaticallyAligned = hasAttribute(element, ATTR_ALIGNMENT_STATIC);\n      var tether = new _tether2.default({\n          enabled: false,\n          element: element,\n          target: target,\n          attachment: attachment.el,\n          targetAttachment: attachment.target,\n          classPrefix: CLASS_PREFIX_ALIGNMENT,\n          constraints: [{\n              // Try and keep the element on page\n              to: container === window ? 'window' : container,\n              attachment: isStaticallyAligned === true ? 'none' : 'together'\n          }]\n      });\n  \n      addAlignmentClasses(element, alignment.side, alignment.snap);\n  \n      this._auiTether = tether;\n  }\n  \n  Alignment.prototype = {\n      /**\n       * Stops aligning and cleans up.\n       *\n       * @returns {Alignment}\n       */\n      destroy: function destroy() {\n          this._auiTether.destroy();\n          return this;\n      },\n  \n      /**\n       * Disables alignment.\n       *\n       * @returns {Alignment}\n       */\n      disable: function disable() {\n          this._auiTether.disable();\n          return this;\n      },\n  \n      /**\n       * Enables alignment.\n       *\n       * @returns {Alignment}\n       */\n      enable: function enable() {\n          this._auiTether.enable();\n          return this;\n      }\n  };\n  \n  exports.default = Alignment;\n  module.exports = exports['default'];\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/polyfills/custom-event.js\n(typeof window === 'undefined' ? global : window).__751cf3000e6bd63337afe446f5edef9b = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n      value: true\n  });\n  var CustomEvent = void 0;\n  \n  (function () {\n      if (window.CustomEvent) {\n          // Some browsers don't support constructable custom events yet.\n          try {\n              var ce = new window.CustomEvent('name', {\n                  bubbles: false,\n                  cancelable: true,\n                  detail: {\n                      x: 'y'\n                  }\n              });\n              ce.preventDefault();\n              if (ce.defaultPrevented !== true) {\n                  throw new Error('Could not prevent default');\n              }\n              if (ce.type !== 'name') {\n                  throw new Error('Could not set custom name');\n              }\n              if (ce.detail.x !== 'y') {\n                  throw new Error('Could not set detail');\n              }\n  \n              CustomEvent = window.CustomEvent;\n              return;\n          } catch (e) {\n              // polyfill it\n          }\n      }\n  \n      /**\n       * @type CustomEvent\n       * @param {String} event - the name of the event.\n       * @param {Object} [params] - optional configuration of the custom event.\n       * @param {Boolean} [params.cancelable=false] - A boolean indicating whether the event is cancelable (i.e., can call preventDefault and set the defaultPrevented property).\n       * @param {Boolean} [params.bubbles=false] - A boolean indicating whether the event bubbles up through the DOM or not.\n       * @param {Boolean} [params.detail] - The data passed when initializing the event.\n       * @extends Event\n       * @returns {Event}\n       * @constructor\n       */\n      CustomEvent = function CustomEvent(event, params) {\n          params = params || { bubbles: false, cancelable: false, detail: undefined };\n  \n          var evt = document.createEvent('CustomEvent');\n  \n          evt.initCustomEvent(event, !!params.bubbles, !!params.cancelable, params.detail);\n          var origPrevent = evt.preventDefault;\n          evt.preventDefault = function () {\n              origPrevent.call(this);\n              try {\n                  Object.defineProperty(this, 'defaultPrevented', {\n                      get: function get() {\n                          return true;\n                      }\n                  });\n              } catch (e) {\n                  this.defaultPrevented = true;\n              }\n          };\n  \n          return evt;\n      };\n  \n      CustomEvent.prototype = window.Event.prototype;\n  })();\n  \n  exports.default = CustomEvent;\n  module.exports = exports['default'];\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/blanket.js\n(typeof window === 'undefined' ? global : window).__8d75e3189f1d32604b3708bf37c70c74 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n      value: true\n  });\n  exports.undim = exports.dim = undefined;\n  \n  var _deprecation = __2283e259423cbf11e76a3bf5e9e47933;\n  \n  var _animation = __f6a37357e17b1533fdd5dde2eaedcc72;\n  \n  var _createElement = __175b17b398f7d3e1f6beaa15cef1cc5c;\n  \n  var _createElement2 = _interopRequireDefault(_createElement);\n  \n  var _globalize = __58c75a0e7e2cf47e300bc2f2ecec24a2;\n  \n  var _globalize2 = _interopRequireDefault(_globalize);\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  var overflowEl;\n  var _hiddenByAui = [];\n  \n  /**\n   * Dims the screen using a blanket div\n   * @param useShim deprecated, it is calculated by dim() now\n   */\n  function dim(useShim, zIndex) {\n  \n      //if we're blanketing the page it means we want to hide the whatever is under the blanket from the screen readers as well\n      function hasAriaHidden(element) {\n          return element.getAttribute('aria-hidden') ? true : false;\n      }\n  \n      function isAuiLayer(element) {\n          return element.className.match(/\\baui-layer\\b/) ? true : false;\n      }\n  \n      Array.prototype.forEach.call(document.body.children, function (element) {\n          if (!hasAriaHidden(element) && !isAuiLayer(element)) {\n              element.setAttribute('aria-hidden', 'true');\n              _hiddenByAui.push(element);\n          }\n      });\n  \n      if (!overflowEl) {\n          overflowEl = document.body;\n      }\n  \n      if (useShim === true) {\n          useShimDeprecationLogger();\n      }\n  \n      var isBlanketShowing = !!dim.$dim && dim.$dim.attr('aria-hidden') === 'false';\n  \n      if (!!dim.$dim) {\n          dim.$dim.remove();\n          dim.$dim = null;\n      }\n  \n      dim.$dim = (0, _createElement2.default)('div').addClass('aui-blanket');\n      dim.$dim.attr('tabindex', '0'); //required, or the last element's focusout event will go to the browser\n      dim.$dim.appendTo(document.body);\n  \n      if (!isBlanketShowing) {\n          //recompute after insertion and before setting aria-hidden=false to ensure we calculate a difference in\n          //computed styles\n          (0, _animation.recomputeStyle)(dim.$dim);\n  \n          AJS.dim.cachedOverflow = {\n              overflow: overflowEl.style.overflow,\n              overflowX: overflowEl.style.overflowX,\n              overflowY: overflowEl.style.overflowY\n          };\n  \n          overflowEl.style.overflowX = 'hidden';\n          overflowEl.style.overflowY = 'hidden';\n          overflowEl.style.overflow = 'hidden';\n      }\n  \n      dim.$dim.attr('aria-hidden', 'false');\n  \n      if (zIndex) {\n          dim.$dim.css({ zIndex: zIndex });\n      }\n  \n      return dim.$dim;\n  }\n  \n  /**\n   * Removes semitransparent DIV\n   * @see dim\n   */\n  function undim() {\n      _hiddenByAui.forEach(function (element) {\n          element.removeAttribute('aria-hidden');\n      });\n  \n      _hiddenByAui = [];\n  \n      if (dim.$dim) {\n          dim.$dim.attr('aria-hidden', 'true');\n  \n          if (overflowEl) {\n              overflowEl.style.overflow = AJS.dim.cachedOverflow.overflow;\n              overflowEl.style.overflowX = AJS.dim.cachedOverflow.overflowX;\n              overflowEl.style.overflowY = AJS.dim.cachedOverflow.overflowY;\n          }\n      }\n  }\n  \n  var useShimDeprecationLogger = (0, _deprecation.getMessageLogger)('useShim', {\n      extraInfo: 'useShim has no alternative as it is now calculated by dim().'\n  });\n  \n  (0, _globalize2.default)('dim', dim);\n  (0, _globalize2.default)('undim', undim);\n  \n  exports.dim = dim;\n  exports.undim = undim;\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/focus-manager.js\n(typeof window === 'undefined' ? global : window).__ca43ba0d134cfb1533e4fbfec995cb33 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n      value: true\n  });\n  \n  var _jquery = __d931c30d7068216ce2c2064d08fd424c;\n  \n  var _jquery2 = _interopRequireDefault(_jquery);\n  \n  var _globalize = __58c75a0e7e2cf47e300bc2f2ecec24a2;\n  \n  var _globalize2 = _interopRequireDefault(_globalize);\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  (function initSelectors() {\n      /*\n      :tabbable and :focusable functions from jQuery UI v 1.10.4\n      renamed to :aui-tabbable and :aui-focusable to not clash with jquery-ui if it's included.\n      Code modified slightly to be compatible with jQuery < 1.8\n      .addBack() replaced with .andSelf()\n      $.curCSS() replaced with $.css()\n       */\n      function visible(element) {\n          return _jquery2.default.css(element, 'visibility') === 'visible';\n      }\n  \n      function focusable(element, isTabIndexNotNaN) {\n          var nodeName = element.nodeName.toLowerCase();\n  \n          if (nodeName === 'aui-select') {\n              return true;\n          }\n  \n          if (nodeName === 'area') {\n              var map = element.parentNode;\n              var mapName = map.name;\n              var imageMap = (0, _jquery2.default)('img[usemap=#' + mapName + ']').get();\n  \n              if (!element.href || !mapName || map.nodeName.toLowerCase() !== 'map') {\n                  return false;\n              }\n              return imageMap && visible(imageMap);\n          }\n          var isFormElement = /input|select|textarea|button|object/.test(nodeName);\n          var isAnchor = nodeName === 'a';\n          var isAnchorTabbable = element.href || isTabIndexNotNaN;\n  \n          return (isFormElement ? !element.disabled : isAnchor ? isAnchorTabbable : isTabIndexNotNaN) && visible(element);\n      }\n  \n      function tabbable(element) {\n          var tabIndex = _jquery2.default.attr(element, 'tabindex'),\n              isTabIndexNaN = isNaN(tabIndex);\n          var hasTabIndex = isTabIndexNaN || tabIndex >= 0;\n  \n          return hasTabIndex && focusable(element, !isTabIndexNaN);\n      }\n  \n      _jquery2.default.extend(_jquery2.default.expr[':'], {\n          'aui-focusable': function auiFocusable(element) {\n              return focusable(element, !isNaN(_jquery2.default.attr(element, 'tabindex')));\n          },\n  \n          'aui-tabbable': tabbable\n      });\n  })();\n  \n  var RESTORE_FOCUS_DATA_KEY = '_aui-focus-restore';\n  function FocusManager() {\n      this._focusTrapStack = [];\n      (0, _jquery2.default)(document).on('focusout', { focusTrapStack: this._focusTrapStack }, focusTrapHandler);\n  }\n  FocusManager.defaultFocusSelector = ':aui-tabbable';\n  FocusManager.prototype.enter = function ($el) {\n      // remember focus on old element\n      $el.data(RESTORE_FOCUS_DATA_KEY, (0, _jquery2.default)(document.activeElement));\n  \n      // focus on new selector\n      if ($el.attr('data-aui-focus') !== 'false') {\n          var focusSelector = $el.attr('data-aui-focus-selector') || FocusManager.defaultFocusSelector;\n          var $focusEl = $el.is(focusSelector) ? $el : $el.find(focusSelector);\n          $focusEl.first().focus();\n      }\n  \n      if (elementTrapsFocus($el)) {\n          trapFocus($el, this._focusTrapStack);\n      }\n  };\n  \n  function trapFocus($el, focusTrapStack) {\n      focusTrapStack.push($el);\n  }\n  \n  function untrapFocus(focusTrapStack) {\n      focusTrapStack.pop();\n  }\n  \n  function elementTrapsFocus($el) {\n      return $el.is('.aui-dialog2');\n  }\n  \n  FocusManager.prototype.exit = function ($el) {\n      if (elementTrapsFocus($el)) {\n          untrapFocus(this._focusTrapStack);\n      }\n  \n      // AUI-1059: remove focus from the active element when dialog is hidden\n      var activeElement = document.activeElement;\n      if ($el[0] === activeElement || $el.has(activeElement).length) {\n          (0, _jquery2.default)(activeElement).blur();\n      }\n  \n      var $restoreFocus = $el.data(RESTORE_FOCUS_DATA_KEY);\n      if ($restoreFocus && $restoreFocus.length) {\n          $el.removeData(RESTORE_FOCUS_DATA_KEY);\n          $restoreFocus.focus();\n      }\n  };\n  \n  function focusTrapHandler(event) {\n      var focusTrapStack = event.data.focusTrapStack;\n  \n      if (!event.relatedTarget) {\n          //Does not work in firefox, see https://bugzilla.mozilla.org/show_bug.cgi?id=687787\n          return;\n      }\n  \n      if (focusTrapStack.length === 0) {\n          return;\n      }\n  \n      var $focusTrapElement = focusTrapStack[focusTrapStack.length - 1];\n  \n      var focusOrigin = event.target;\n      var focusTo = event.relatedTarget;\n  \n      var $tabbableElements = $focusTrapElement.find(':aui-tabbable');\n      var $firstTabbableElement = (0, _jquery2.default)($tabbableElements.first());\n      var $lastTabbableElement = (0, _jquery2.default)($tabbableElements.last());\n  \n      var elementContainsOrigin = $focusTrapElement.has(focusTo).length === 0;\n      var focusLeavingElement = elementContainsOrigin && focusTo;\n      if (focusLeavingElement) {\n          if ($firstTabbableElement.is(focusOrigin)) {\n              $lastTabbableElement.focus();\n          } else if ($lastTabbableElement.is(focusOrigin)) {\n              $firstTabbableElement.focus();\n          }\n      }\n  }\n  \n  FocusManager.global = new FocusManager();\n  \n  (0, _globalize2.default)('FocusManager', FocusManager);\n  \n  exports.default = FocusManager;\n  module.exports = exports['default'];\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/internal/widget.js\n(typeof window === 'undefined' ? global : window).__3c371c7383bcae3d89fbc3cf8cbdc2ff = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n      value: true\n  });\n  \n  exports.default = function (name, Ctor) {\n      var dataAttr = '_aui-widget-' + name;\n      return function (selectorOrOptions, maybeOptions) {\n          var selector;\n          var options;\n          if (_jquery2.default.isPlainObject(selectorOrOptions)) {\n              options = selectorOrOptions;\n          } else {\n              selector = selectorOrOptions;\n              options = maybeOptions;\n          }\n  \n          var $el = selector && (0, _jquery2.default)(selector);\n  \n          var widget;\n          if (!$el || !$el.data(dataAttr)) {\n              widget = new Ctor($el, options || {});\n              $el = widget.$el;\n              $el.data(dataAttr, widget);\n          } else {\n              widget = $el.data(dataAttr);\n              // options are discarded if $el has already been constructed\n          }\n  \n          return widget;\n      };\n  };\n  \n  var _jquery = __d931c30d7068216ce2c2064d08fd424c;\n  \n  var _jquery2 = _interopRequireDefault(_jquery);\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  module.exports = exports['default'];\n  \n  /**\n   * @param {string} name The name of the widget to use in any messaging.\n   * @param {function(new:{ $el: jQuery }, ?jQuery, ?Object)} Ctor\n   *     A constructor which will only ever be called with \"new\". It must take a JQuery object as the first\n   *     parameter, or generate one if not provided. The second parameter will be a configuration object.\n   *     The returned object must have an $el property and a setOptions function.\n   * @constructor\n   */\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/layer.js\n(typeof window === 'undefined' ? global : window).__e0d3e833c519cf116c3cdd59e52f030e = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n      value: true\n  });\n  \n  var _jquery = __d931c30d7068216ce2c2064d08fd424c;\n  \n  var _jquery2 = _interopRequireDefault(_jquery);\n  \n  var _blanket = __8d75e3189f1d32604b3708bf37c70c74;\n  \n  var _focusManager = __ca43ba0d134cfb1533e4fbfec995cb33;\n  \n  var _focusManager2 = _interopRequireDefault(_focusManager);\n  \n  var _globalize = __58c75a0e7e2cf47e300bc2f2ecec24a2;\n  \n  var _globalize2 = _interopRequireDefault(_globalize);\n  \n  var _keyCode = __0feafabcd51357b770acdddb85e8e6f3;\n  \n  var _keyCode2 = _interopRequireDefault(_keyCode);\n  \n  var _widget = __3c371c7383bcae3d89fbc3cf8cbdc2ff;\n  \n  var _widget2 = _interopRequireDefault(_widget);\n  \n  var _customEvent = __751cf3000e6bd63337afe446f5edef9b;\n  \n  var _customEvent2 = _interopRequireDefault(_customEvent);\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  var EVENT_PREFIX = '_aui-internal-layer-';\n  var GLOBAL_EVENT_PREFIX = '_aui-internal-layer-global-';\n  var LAYER_EVENT_PREFIX = 'aui-layer-';\n  var AUI_EVENT_PREFIX = 'aui-';\n  var $doc = (0, _jquery2.default)(document);\n  \n  // AUI-3708 - Abstracted to reflect code implemented upstream.\n  function isTransitioning(el, prop) {\n      var transition = window.getComputedStyle(el).transitionProperty;\n      return transition ? transition.indexOf(prop) > -1 : false;\n  }\n  \n  function onTransitionEnd(el, prop, func, once) {\n      function handler(e) {\n          if (prop !== e.propertyName) {\n              return;\n          }\n  \n          func.call(el);\n  \n          if (once) {\n              el.removeEventListener('transitionend', handler);\n          }\n      }\n  \n      if (isTransitioning(el, prop)) {\n          el.addEventListener('transitionend', handler);\n      } else {\n          func.call(el);\n      }\n  }\n  \n  function oneTransitionEnd(el, prop, func) {\n      onTransitionEnd(el, prop, func, true);\n  }\n  // end AUI-3708\n  \n  function ariaHide($el) {\n      $el.attr('aria-hidden', 'true');\n  }\n  \n  function ariaShow($el) {\n      $el.attr('aria-hidden', 'false');\n  }\n  \n  /**\n  * @return {bool} Returns false if at least one of the event handlers called .preventDefault(). Returns true otherwise.\n  */\n  function triggerEvent($el, deprecatedName, newNativeName) {\n      var e1 = _jquery2.default.Event(EVENT_PREFIX + deprecatedName);\n      var e2 = _jquery2.default.Event(GLOBAL_EVENT_PREFIX + deprecatedName);\n      // TODO: Remove this 'aui-layer-' prefixed event once it is no longer used by inline dialog and dialog2.\n      var nativeEvent = new _customEvent2.default(LAYER_EVENT_PREFIX + newNativeName, {\n          bubbles: true,\n          cancelable: true\n      });\n      var nativeEvent2 = new _customEvent2.default(AUI_EVENT_PREFIX + newNativeName, {\n          bubbles: true,\n          cancelable: true\n      });\n  \n      $el.trigger(e1);\n      $el.trigger(e2, [$el]);\n      $el[0].dispatchEvent(nativeEvent);\n      $el[0].dispatchEvent(nativeEvent2);\n  \n      return !e1.isDefaultPrevented() && !e2.isDefaultPrevented() && !nativeEvent.defaultPrevented && !nativeEvent2.defaultPrevented;\n  }\n  \n  function Layer(selector) {\n      this.$el = (0, _jquery2.default)(selector || '<div class=\"aui-layer\" aria-hidden=\"true\"></div>');\n      this.$el.addClass('aui-layer');\n  }\n  \n  Layer.prototype = {\n      /**\n       * Returns the layer below the current layer if it exists.\n       *\n       * @returns {jQuery | undefined}\n       */\n      below: function below() {\n          return LayerManager.global.item(LayerManager.global.indexOf(this.$el) - 1);\n      },\n  \n      /**\n       * Returns the layer above the current layer if it exists.\n       *\n       * @returns {jQuery | undefined}\n       */\n      above: function above() {\n          return LayerManager.global.item(LayerManager.global.indexOf(this.$el) + 1);\n      },\n  \n      /**\n       * Sets the width and height of the layer.\n       *\n       * @param {Integer} width The width to set.\n       * @param {Integer} height The height to set.\n       *\n       * @returns {Layer}\n       */\n      changeSize: function changeSize(width, height) {\n          this.$el.css('width', width);\n          this.$el.css('height', height === 'content' ? '' : height);\n          return this;\n      },\n  \n      /**\n       * Binds a layer event.\n       *\n       * @param {String} event The event name to listen to.\n       * @param {Function} fn The event handler.\n       *\n       * @returns {Layer}\n       */\n      on: function on(event, fn) {\n          this.$el.on(EVENT_PREFIX + event, fn);\n          return this;\n      },\n  \n      /**\n       * Unbinds a layer event.\n       *\n       * @param {String} event The event name to unbind=.\n       * @param {Function} fn Optional. The event handler.\n       *\n       * @returns {Layer}\n       */\n      off: function off(event, fn) {\n          this.$el.off(EVENT_PREFIX + event, fn);\n          return this;\n      },\n  \n      /**\n       * Shows the layer.\n       *\n       * @returns {Layer}\n       */\n      show: function show() {\n          if (this.isVisible()) {\n              ariaShow(this.$el);\n              return this;\n          }\n  \n          if (!triggerEvent(this.$el, 'beforeShow', 'show')) {\n              return this;\n          }\n  \n          // AUI-3708\n          // Ensures that the display property is removed if it's been added\n          // during hiding.\n          if (this.$el.css('display') === 'none') {\n              this.$el.css('display', '');\n          }\n  \n          LayerManager.global.push(this.$el);\n  \n          return this;\n      },\n  \n      /**\n       * Hides the layer.\n       *\n       * @returns {Layer}\n       */\n      hide: function hide() {\n          if (!this.isVisible()) {\n              ariaHide(this.$el);\n              return this;\n          }\n  \n          if (!triggerEvent(this.$el, 'beforeHide', 'hide')) {\n              return this;\n          }\n  \n          // AUI-3708\n          var thisLayer = this;\n          oneTransitionEnd(this.$el.get(0), 'opacity', function () {\n              if (!thisLayer.isVisible()) {\n                  this.style.display = 'none';\n              }\n          });\n  \n          LayerManager.global.popUntil(this.$el);\n  \n          return this;\n      },\n  \n      /**\n       * Checks to see if the layer is visible.\n       *\n       * @returns {Boolean}\n       */\n      isVisible: function isVisible() {\n          return this.$el.attr('aria-hidden') === 'false';\n      },\n  \n      /**\n       * Removes the layer and cleans up internal state.\n       *\n       * @returns {undefined}\n       */\n      remove: function remove() {\n          this.hide();\n          this.$el.remove();\n          this.$el = null;\n      },\n  \n      /**\n       * Returns whether or not the layer is blanketed.\n       *\n       * @returns {Boolean}\n       */\n      isBlanketed: function isBlanketed() {\n          return this.$el.attr('data-aui-blanketed') === 'true';\n      },\n  \n      /**\n       * Returns whether or not the layer is persistent.\n       *\n       * @returns {Boolean}\n       */\n      isPersistent: function isPersistent() {\n          var modal = this.$el.attr('modal') || this.$el.attr('data-aui-modal');\n          var isPersistent = this.$el[0].hasAttribute('persistent');\n  \n          return modal === 'true' || isPersistent;\n      },\n  \n      _hideLayer: function _hideLayer(triggerBeforeEvents) {\n          if (this.isPersistent() || this.isBlanketed()) {\n              _focusManager2.default.global.exit(this.$el);\n          }\n  \n          if (triggerBeforeEvents) {\n              triggerEvent(this.$el, 'beforeHide', 'hide');\n          }\n  \n          this.$el.attr('aria-hidden', 'true');\n          this.$el.css('z-index', this.$el.data('_aui-layer-cached-z-index') || '');\n          this.$el.data('_aui-layer-cached-z-index', '');\n          this.$el.trigger(EVENT_PREFIX + 'hide');\n          this.$el.trigger(GLOBAL_EVENT_PREFIX + 'hide', [this.$el]);\n      },\n  \n      _showLayer: function _showLayer(zIndex) {\n          if (!this.$el.parent().is('body')) {\n              this.$el.appendTo(document.body);\n          }\n  \n          this.$el.data('_aui-layer-cached-z-index', this.$el.css('z-index'));\n          this.$el.css('z-index', zIndex);\n          this.$el.attr('aria-hidden', 'false');\n  \n          if (this.isPersistent() || this.isBlanketed()) {\n              _focusManager2.default.global.enter(this.$el);\n          }\n  \n          this.$el.trigger(EVENT_PREFIX + 'show');\n          this.$el.trigger(GLOBAL_EVENT_PREFIX + 'show', [this.$el]);\n      }\n  };\n  \n  var createLayer = (0, _widget2.default)('layer', Layer);\n  \n  createLayer.on = function (eventName, selector, fn) {\n      $doc.on(GLOBAL_EVENT_PREFIX + eventName, selector, fn);\n      return this;\n  };\n  \n  createLayer.off = function (eventName, selector, fn) {\n      $doc.off(GLOBAL_EVENT_PREFIX + eventName, selector, fn);\n      return this;\n  };\n  \n  // Layer Manager\n  // -------------\n  \n  /**\n   * Manages layers.\n   *\n   * There is a single global layer manager.\n   * Additional instances can be created however this should generally only be used in tests.\n   *\n   * Layers are added by the push($el) method. Layers are removed by the\n   * popUntil($el) method.\n   *\n   * popUntil's contract is that it pops all layers above & including the given\n   * layer. This is used to support popping multiple layers.\n   * Say we were showing a dropdown inside an inline dialog inside a dialog - we\n   * have a stack of dialog layer, inline dialog layer, then dropdown layer. Calling\n   * popUntil(dialog.$el) would hide all layers above & including the dialog.\n   */\n  \n  function getTrigger($layer) {\n      return (0, _jquery2.default)('[aria-controls=\"' + $layer.attr('id') + '\"]');\n  }\n  \n  function hasTrigger($layer) {\n      return getTrigger($layer).length > 0;\n  }\n  \n  function topIndexWhere(layerArr, fn) {\n      var i = layerArr.length;\n  \n      while (i--) {\n          if (fn(layerArr[i])) {\n              return i;\n          }\n      }\n  \n      return -1;\n  }\n  \n  function layerIndex(layerArr, $el) {\n      return topIndexWhere(layerArr, function ($layer) {\n          return $layer[0] === $el[0];\n      });\n  }\n  \n  function topBlanketedIndex(layerArr) {\n      return topIndexWhere(layerArr, function ($layer) {\n          return createLayer($layer).isBlanketed();\n      });\n  }\n  \n  function nextZIndex(layerArr) {\n      var _nextZIndex;\n  \n      if (layerArr.length) {\n          var $topEl = layerArr[layerArr.length - 1];\n          var zIndex = parseInt($topEl.css('z-index'), 10);\n          _nextZIndex = (isNaN(zIndex) ? 0 : zIndex) + 100;\n      } else {\n          _nextZIndex = 0;\n      }\n  \n      return Math.max(3000, _nextZIndex);\n  }\n  \n  function updateBlanket(stack, oldBlanketIndex) {\n      var newTopBlanketedIndex = topBlanketedIndex(stack);\n  \n      if (oldBlanketIndex !== newTopBlanketedIndex) {\n          if (newTopBlanketedIndex > -1) {\n              (0, _blanket.dim)(false, stack[newTopBlanketedIndex].css('z-index') - 20);\n          } else {\n              (0, _blanket.undim)();\n          }\n      }\n  }\n  \n  function popLayers(stack, stopIndex, forceClosePersistent) {\n      if (stopIndex < 0) {\n          return;\n      }\n  \n      for (var a = stack.length - 1; a >= stopIndex; a--) {\n          var $layer = stack[a];\n          var layer = createLayer($layer);\n  \n          if (forceClosePersistent || !layer.isPersistent()) {\n              layer._hideLayer(true);\n              stack.splice(a, 1);\n          }\n      }\n  }\n  \n  function getParentLayer($childLayer) {\n      var $layerTrigger = getTrigger($childLayer);\n  \n      if ($layerTrigger.length > 0) {\n          return $layerTrigger.closest('.aui-layer');\n      }\n  }\n  \n  function LayerManager() {\n      this._stack = [];\n  }\n  \n  LayerManager.prototype = {\n      /**\n      * Pushes a layer onto the stack. The same element cannot be opened as a layer multiple times - if the given\n      * element is already an open layer, this method throws an exception.\n      *\n      * @param {HTMLElement | String | jQuery} element  The element to push onto the stack.\n      *\n      * @returns {LayerManager}\n      */\n      push: function push(element) {\n          var $el = element instanceof _jquery2.default ? element : (0, _jquery2.default)(element);\n          if (layerIndex(this._stack, $el) >= 0) {\n              throw new Error('The given element is already an active layer.');\n          }\n  \n          this.popLayersBeside($el);\n  \n          var layer = createLayer($el);\n          var zIndex = nextZIndex(this._stack);\n  \n          layer._showLayer(zIndex);\n  \n          if (layer.isBlanketed()) {\n              (0, _blanket.dim)(false, zIndex - 20);\n          }\n  \n          this._stack.push($el);\n  \n          return this;\n      },\n  \n      popLayersBeside: function popLayersBeside(element) {\n          var $layer = element instanceof _jquery2.default ? element : (0, _jquery2.default)(element);\n          if (!hasTrigger($layer)) {\n              // We can't find this layer's trigger, we will pop all non-persistent until a blanket or the document\n              var blanketedIndex = topBlanketedIndex(this._stack);\n              popLayers(this._stack, ++blanketedIndex, false);\n              return;\n          }\n  \n          var $parentLayer = getParentLayer($layer);\n          if ($parentLayer) {\n              var parentIndex = this.indexOf($parentLayer);\n              popLayers(this._stack, ++parentIndex, false);\n          } else {\n              popLayers(this._stack, 0, false);\n          }\n      },\n  \n      /**\n      * Returns the index of the specified layer in the layer stack.\n      *\n      * @param {HTMLElement | String | jQuery} element  The element to find in the stack.\n      *\n      * @returns {Number} the (zero-based) index of the element, or -1 if not in the stack.\n      */\n      indexOf: function indexOf(element) {\n          return layerIndex(this._stack, (0, _jquery2.default)(element));\n      },\n  \n      /**\n      * Returns the item at the particular index or false.\n      *\n      * @param {Number} index The index of the element to get.\n      *\n      * @returns {jQuery | Boolean}\n      */\n      item: function item(index) {\n          return this._stack[index];\n      },\n  \n      /**\n      * Hides all layers in the stack.\n      *\n      * @returns {LayerManager}\n      */\n      hideAll: function hideAll() {\n          this._stack.reverse().forEach(function (element) {\n              var layer = createLayer(element);\n              if (layer.isBlanketed() || layer.isPersistent()) {\n                  return;\n              }\n              layer.hide();\n          });\n  \n          return this;\n      },\n  \n      /**\n      * Gets the previous layer below the given layer, which is non modal and non persistent. If it finds a blanketed layer on the way\n      * it returns it regardless if it is modal or not\n      *\n      * @param {HTMLElement | String | jQuery} element layer to start the search from.\n      *\n      * @returns {jQuery | null} the next matching layer or null if none found.\n      */\n      getNextLowerNonPersistentOrBlanketedLayer: function getNextLowerNonPersistentOrBlanketedLayer(element) {\n          var $el = element instanceof _jquery2.default ? element : (0, _jquery2.default)(element);\n          var index = layerIndex(this._stack, $el);\n  \n          if (index < 0) {\n              return null;\n          }\n  \n          var $nextEl;\n          index--;\n          while (index >= 0) {\n              $nextEl = this._stack[index];\n              var layer = createLayer($nextEl);\n  \n              if (!layer.isPersistent() || layer.isBlanketed()) {\n                  return $nextEl;\n              }\n              index--;\n          }\n  \n          return null;\n      },\n  \n      /**\n      * Gets the next layer which is neither modal or blanketed, from the given layer.\n      *\n      * @param {HTMLElement | String | jQuery} element layer to start the search from.\n      *\n      * @returns {jQuery | null} the next non modal non blanketed layer or null if none found.\n      */\n      getNextHigherNonPeristentAndNonBlanketedLayer: function getNextHigherNonPeristentAndNonBlanketedLayer(element) {\n          var $el = element instanceof _jquery2.default ? element : (0, _jquery2.default)(element);\n          var index = layerIndex(this._stack, $el);\n  \n          if (index < 0) {\n              return null;\n          }\n  \n          var $nextEl;\n          index++;\n          while (index < this._stack.length) {\n              $nextEl = this._stack[index];\n              var layer = createLayer($nextEl);\n  \n              if (!(layer.isPersistent() || layer.isBlanketed())) {\n                  return $nextEl;\n              }\n              index++;\n          }\n  \n          return null;\n      },\n  \n      /**\n      * Removes all non-modal layers above & including the given element. If the given element is not an active layer, this method\n      * is a no-op. The given element will be removed regardless of whether or not it is modal.\n      *\n      * @param {HTMLElement | String | jQuery} element layer to pop.\n      *\n      * @returns {jQuery} The last layer that was popped, or null if no layer matching the given $el was found.\n      */\n      popUntil: function popUntil(element) {\n          var $el = element instanceof _jquery2.default ? element : (0, _jquery2.default)(element);\n          var index = layerIndex(this._stack, $el);\n  \n          if (index === -1) {\n              return null;\n          }\n  \n          var oldTopBlanketedIndex = topBlanketedIndex(this._stack);\n  \n          // Removes all layers above the current one.\n          popLayers(this._stack, index + 1, createLayer($el).isBlanketed());\n  \n          // Removes the current layer.\n          createLayer($el)._hideLayer();\n          this._stack.splice(index, 1);\n  \n          updateBlanket(this._stack, oldTopBlanketedIndex);\n  \n          return $el;\n      },\n  \n      /**\n      * Gets the top layer, if it exists.\n      *\n      * @returns The layer on top of the stack, if it exists, otherwise null.\n      */\n      getTopLayer: function getTopLayer() {\n          if (!this._stack.length) {\n              return null;\n          }\n  \n          var $topLayer = this._stack[this._stack.length - 1];\n  \n          return $topLayer;\n      },\n  \n      /**\n      * Pops the top layer, if it exists and it is non modal and non persistent.\n      *\n      * @returns The layer that was popped, if it was popped.\n      */\n      popTopIfNonPersistent: function popTopIfNonPersistent() {\n          var $topLayer = this.getTopLayer();\n          var layer = createLayer($topLayer);\n  \n          if (!$topLayer || layer.isPersistent()) {\n              return null;\n          }\n  \n          return this.popUntil($topLayer);\n      },\n  \n      /**\n      * Pops all layers above and including the top blanketed layer. If layers exist but none are blanketed, this method\n      * does nothing.\n      *\n      * @returns The blanketed layer that was popped, if it exists, otherwise null.\n      */\n      popUntilTopBlanketed: function popUntilTopBlanketed() {\n          var i = topBlanketedIndex(this._stack);\n  \n          if (i < 0) {\n              return null;\n          }\n  \n          var $topBlanketedLayer = this._stack[i];\n          var layer = createLayer($topBlanketedLayer);\n  \n          if (layer.isPersistent()) {\n              // We can't pop the blanketed layer, only the things ontop\n              var $next = this.getNextHigherNonPeristentAndNonBlanketedLayer($topBlanketedLayer);\n              if ($next) {\n                  var stopIndex = layerIndex(this._stack, $next);\n                  popLayers(this._stack, stopIndex, true);\n                  return $next;\n              }\n              return null;\n          }\n  \n          popLayers(this._stack, i, true);\n          updateBlanket(this._stack, i);\n          return $topBlanketedLayer;\n      },\n  \n      /**\n      * Pops all layers above and including the top persistent layer. If layers exist but none are persistent, this method\n      * does nothing.\n      */\n      popUntilTopPersistent: function popUntilTopPersistent() {\n          var $toPop = LayerManager.global.getTopLayer();\n          if (!$toPop) {\n              return;\n          }\n  \n          var stopIndex;\n          var oldTopBlanketedIndex = topBlanketedIndex(this._stack);\n  \n          var toPop = createLayer($toPop);\n          if (toPop.isPersistent()) {\n              if (toPop.isBlanketed()) {\n                  return;\n              } else {\n                  // Get the closest non modal layer below, stop at the first blanketed layer though, we don't want to pop below that\n                  $toPop = LayerManager.global.getNextLowerNonPersistentOrBlanketedLayer($toPop);\n                  toPop = createLayer($toPop);\n  \n                  if ($toPop && !toPop.isPersistent()) {\n                      stopIndex = layerIndex(this._stack, $toPop);\n                      popLayers(this._stack, stopIndex, true);\n                      updateBlanket(this._stack, oldTopBlanketedIndex);\n                  } else {\n                      // Here we have a blanketed persistent layer\n                      return;\n                  }\n              }\n          } else {\n              stopIndex = layerIndex(this._stack, $toPop);\n              popLayers(this._stack, stopIndex, true);\n              updateBlanket(this._stack, oldTopBlanketedIndex);\n          }\n      }\n  };\n  \n  // LayerManager.global\n  // -------------------\n  \n  function initCloseLayerOnEscPress() {\n      $doc.on('keydown', function (e) {\n          if (e.keyCode === _keyCode2.default.ESCAPE) {\n              LayerManager.global.popUntilTopPersistent();\n              e.preventDefault();\n          }\n      });\n  }\n  \n  function initCloseLayerOnBlanketClick() {\n      $doc.on('click', '.aui-blanket', function (e) {\n          if (LayerManager.global.popUntilTopBlanketed()) {\n              e.preventDefault();\n          }\n      });\n  }\n  \n  function hasLayer($trigger) {\n      if (!$trigger.length) {\n          return false;\n      }\n  \n      var layer = document.getElementById($trigger.attr('aria-controls'));\n      return LayerManager.global.indexOf(layer) > -1;\n  }\n  \n  // If it's a click on a trigger, do nothing.\n  // If it's a click on a layer, close all layers above.\n  // Otherwise, close all layers.\n  function initCloseLayerOnOuterClick() {\n      $doc.on('click', function (e) {\n          var $target = (0, _jquery2.default)(e.target);\n          if ($target.closest('.aui-blanket').length) {\n              return;\n          }\n  \n          var $trigger = $target.closest('[aria-controls]');\n          var $layer = $target.closest('.aui-layer');\n          if (!$layer.length && !hasLayer($trigger)) {\n              LayerManager.global.hideAll();\n              return;\n          }\n  \n          // Triggers take precedence over layers\n          if (hasLayer($trigger)) {\n              return;\n          }\n  \n          if ($layer.length) {\n              // We dont want to explicitly call close on a modal dialog if it happens to be next.\n              // All blanketed layers should be below us, as otherwise the blanket should have caught the click.\n              // We make sure we dont close a blanketed one explicitly as a hack, this is to fix the problem arising\n              // from dialog2 triggers inside dialog2's having no aria controls, where the dialog2 that was just\n              // opened would be closed instantly\n              var $next = LayerManager.global.getNextHigherNonPeristentAndNonBlanketedLayer($layer);\n  \n              if ($next) {\n                  createLayer($next).hide();\n              }\n          }\n      });\n  }\n  \n  initCloseLayerOnEscPress();\n  initCloseLayerOnBlanketClick();\n  initCloseLayerOnOuterClick();\n  \n  LayerManager.global = new LayerManager();\n  createLayer.Manager = LayerManager;\n  \n  (0, _globalize2.default)('layer', createLayer);\n  \n  exports.default = createLayer;\n  module.exports = exports['default'];\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/internal/state.js\n(typeof window === 'undefined' ? global : window).__0dd0fdb33ed7640afe4a12f58deb4456 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n      value: true\n  });\n  function state(element) {\n      return {\n          /**\n           * sets an internal state on a component element\n           * @param element the element to which the state will be added\n           * @param stateName the name of the state\n           * @param stateValue the value that the state will be changed to\n           */\n          set: function set(stateName, stateValue) {\n              if (element._state === undefined) {\n                  element._state = {};\n              }\n  \n              element._state[stateName] = stateValue;\n          },\n  \n          /**\n           * gets an internal state on a component element\n           * @param element the element to which the state will be added\n           * @param stateName the name of the state\n           */\n          get: function get(stateName) {\n              if (element._state) {\n                  return element._state[stateName];\n              }\n          }\n      };\n  }\n  \n  exports.default = state;\n  module.exports = exports['default'];\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/dropdown2.js\n(typeof window === 'undefined' ? global : window).__fbf8552025aec9d643c7c2e8651ac871 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  __2a8f02ddf948a2241e4b1ac8618d2015;\n  \n  var _jquery = __d931c30d7068216ce2c2064d08fd424c;\n  \n  var _jquery2 = _interopRequireDefault(_jquery);\n  \n  var _skatejsTemplateHtml = __16b630aaa86c62c7ef629cfa7bab499e;\n  \n  var _skatejsTemplateHtml2 = _interopRequireDefault(_skatejsTemplateHtml);\n  \n  var _deprecation = __2283e259423cbf11e76a3bf5e9e47933;\n  \n  var deprecate = _interopRequireWildcard(_deprecation);\n  \n  var _log = __16a4a3246fcb7206cb3ce72a302f68ce;\n  \n  var logger = _interopRequireWildcard(_log);\n  \n  var _debounce = __a88708332bdd48d86dc8763c3bd0bc46;\n  \n  var _browser = __466c2e541a6c6b09f234ffadf1e444d5;\n  \n  var _alignment = __1c8b45ce15e2aedaf2079a51e1071300;\n  \n  var _alignment2 = _interopRequireDefault(_alignment);\n  \n  var _customEvent = __751cf3000e6bd63337afe446f5edef9b;\n  \n  var _customEvent2 = _interopRequireDefault(_customEvent);\n  \n  var _keyCode = __0feafabcd51357b770acdddb85e8e6f3;\n  \n  var _keyCode2 = _interopRequireDefault(_keyCode);\n  \n  var _layer = __e0d3e833c519cf116c3cdd59e52f030e;\n  \n  var _layer2 = _interopRequireDefault(_layer);\n  \n  var _state = __0dd0fdb33ed7640afe4a12f58deb4456;\n  \n  var _state2 = _interopRequireDefault(_state);\n  \n  var _skate = __0e8fe5f46f722f07c64d1f183c324dd8;\n  \n  var _skate2 = _interopRequireDefault(_skate);\n  \n  function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  function isChecked(el) {\n      return (0, _jquery2.default)(el).is('.checked, .aui-dropdown2-checked, [aria-checked=\"true\"]');\n  }\n  \n  function getTrigger(control) {\n      return control._triggeringElement || document.querySelector('[aria-controls=\"' + control.id + '\"]');\n  }\n  \n  function doIfTrigger(triggerable, callback) {\n      var trigger = getTrigger(triggerable);\n  \n      if (trigger) {\n          callback(trigger);\n      }\n  }\n  \n  function setDropdownTriggerActiveState(trigger, isActive) {\n      var $trigger = (0, _jquery2.default)(trigger);\n  \n      if (isActive) {\n          $trigger.attr('aria-expanded', 'true');\n          $trigger.addClass('active aui-dropdown2-active');\n      } else {\n          $trigger.attr('aria-expanded', 'false');\n          $trigger.removeClass('active aui-dropdown2-active');\n      }\n  }\n  \n  // LOADING STATES\n  var UNLOADED = 'unloaded';\n  var LOADING = 'loading';\n  var ERROR = 'error';\n  var SUCCESS = 'success';\n  \n  // ASYNC DROPDOWN FUNCTIONS\n  \n  function makeAsyncDropdownContents(json) {\n      var dropdownContents = json.map(function makeSection(sectionData) {\n          var sectionItemsHtml = sectionData.items.map(function makeSectionItem(itemData) {\n              function makeBooleanAttribute(attr) {\n                  return itemData[attr] ? attr + ' =\"true\"' : '';\n              }\n  \n              function makeAttribute(attr) {\n                  return itemData[attr] ? attr + '=\"' + itemData[attr] + '\"' : '';\n              }\n  \n              var tagName = 'aui-item-' + itemData.type;\n              var itemHtml = '\\n                <' + tagName + ' ' + makeAttribute('for') + ' ' + makeAttribute('href') + ' ' + makeBooleanAttribute('interactive') + '\\n                    ' + makeBooleanAttribute('checked') + ' ' + makeBooleanAttribute('disabled') + ' ' + makeBooleanAttribute('hidden') + '>\\n                    ' + itemData.content + '\\n                </' + tagName + '>';\n  \n              return itemHtml;\n          }).join('');\n  \n          var sectionAttributes = sectionData.label ? 'label=\"' + sectionData.label + '\"' : '';\n          var sectionHtml = '\\n            <aui-section ' + sectionAttributes + '>\\n                ' + sectionItemsHtml + '\\n            </aui-section>';\n  \n          return sectionHtml;\n      }).join('\\n');\n  \n      return dropdownContents;\n  }\n  \n  function setDropdownContents(dropdown, json) {\n      (0, _state2.default)(dropdown).set('loading-state', SUCCESS);\n      _skatejsTemplateHtml2.default.wrap(dropdown).innerHTML = makeAsyncDropdownContents(json);\n      _skate2.default.init(dropdown);\n  }\n  \n  function setDropdownErrorState(dropdown) {\n      (0, _state2.default)(dropdown).set('loading-state', ERROR);\n      (0, _state2.default)(dropdown).set('hasErrorBeenShown', dropdown.isVisible());\n      _skatejsTemplateHtml2.default.wrap(dropdown).innerHTML = '\\n        <div class=\"aui-message aui-message-error aui-dropdown-error\">\\n            <p>' + AJS.I18n.getText('aui.dropdown.async.error') + '</p>\\n        </div>\\n    ';\n  }\n  \n  function setDropdownLoadingState(dropdown) {\n      (0, _state2.default)(dropdown).set('loading-state', LOADING);\n      (0, _state2.default)(dropdown).set('hasErrorBeenShown', false);\n  \n      doIfTrigger(dropdown, function (trigger) {\n          trigger.setAttribute('aria-busy', 'true');\n      });\n  \n      _skatejsTemplateHtml2.default.wrap(dropdown).innerHTML = '\\n        <div class=\"aui-dropdown-loading\">\\n            <span class=\"spinner\"></span> ' + AJS.I18n.getText('aui.dropdown.async.loading') + '\\n        </div>\\n    ';\n      (0, _jquery2.default)(dropdown).find('.spinner').spin();\n  }\n  \n  function setDropdownLoaded(dropdown) {\n      doIfTrigger(dropdown, function (trigger) {\n          trigger.setAttribute('aria-busy', 'false');\n      });\n  }\n  \n  function loadContentsIfAsync(dropdown) {\n      if (!dropdown.src || (0, _state2.default)(dropdown).get('loading-state') === LOADING) {\n          return;\n      }\n  \n      setDropdownLoadingState(dropdown);\n  \n      _jquery2.default.ajax(dropdown.src).done(function (json, status, xhr) {\n          var isValidStatus = xhr.status === 200;\n          if (isValidStatus) {\n              setDropdownContents(dropdown, json);\n          } else {\n              setDropdownErrorState(dropdown);\n          }\n      }).fail(function () {\n          setDropdownErrorState(dropdown);\n      }).always(function () {\n          setDropdownLoaded(dropdown);\n      });\n  }\n  \n  function loadContentWhenMouseEnterTrigger(dropdown) {\n      var isDropdownUnloaded = (0, _state2.default)(dropdown).get('loading-state') === UNLOADED;\n      var hasCurrentErrorBeenShown = (0, _state2.default)(dropdown).get('hasErrorBeenShown');\n      if (isDropdownUnloaded || hasCurrentErrorBeenShown && !dropdown.isVisible()) {\n          loadContentsIfAsync(dropdown);\n      }\n  }\n  \n  function loadContentWhenMenuShown(dropdown) {\n      var isDropdownUnloaded = (0, _state2.default)(dropdown).get('loading-state') === UNLOADED;\n      var hasCurrentErrorBeenShown = (0, _state2.default)(dropdown).get('hasErrorBeenShown');\n      if (isDropdownUnloaded || hasCurrentErrorBeenShown) {\n          loadContentsIfAsync(dropdown);\n      }\n      if ((0, _state2.default)(dropdown).get('loading-state') === ERROR) {\n          (0, _state2.default)(dropdown).set('hasErrorBeenShown', true);\n      }\n  }\n  \n  // The dropdown's trigger\n  // ----------------------\n  \n  function triggerCreated(trigger) {\n      var dropdownID = trigger.getAttribute('aria-controls');\n  \n      if (!dropdownID) {\n          dropdownID = trigger.getAttribute('aria-owns');\n  \n          if (!dropdownID) {\n              logger.error('Dropdown triggers need either a \"aria-owns\" or \"aria-controls\" attribute');\n          } else {\n              trigger.removeAttribute('aria-owns');\n              trigger.setAttribute('aria-controls', dropdownID);\n          }\n      }\n  \n      trigger.setAttribute('aria-haspopup', true);\n      trigger.setAttribute('aria-expanded', false);\n  \n      var shouldSetHref = trigger.nodeName === 'A' && !trigger.href;\n      if (shouldSetHref) {\n          trigger.setAttribute('href', '#' + dropdownID);\n      }\n  \n      function handleIt(e) {\n          e.preventDefault();\n  \n          if (!trigger.isEnabled()) {\n              return;\n          }\n  \n          var dropdown = document.getElementById(dropdownID);\n  \n          // AUI-4271 - Maintains legacy integration with parent elements.\n          var $trigger = (0, _jquery2.default)(trigger);\n          if ($trigger.parent().hasClass('aui-buttons')) {\n              dropdown.classList.add('aui-dropdown2-in-buttons');\n          }\n          if ($trigger.parents().hasClass('aui-header')) {\n              dropdown.classList.add('aui-dropdown2-in-header');\n          }\n  \n          dropdown.toggle(e);\n          dropdown.isSubmenu = trigger.hasSubmenu();\n  \n          return dropdown;\n      }\n  \n      function handleMouseEnter(e) {\n          e.preventDefault();\n  \n          if (!trigger.isEnabled()) {\n              return;\n          }\n  \n          var dropdown = document.getElementById(dropdownID);\n          loadContentWhenMouseEnterTrigger(dropdown);\n  \n          if (trigger.hasSubmenu()) {\n              dropdown.show(e);\n              dropdown.isSubmenu = trigger.hasSubmenu();\n          }\n  \n          return dropdown;\n      }\n  \n      function handleKeydown(e) {\n          var normalInvoke = e.keyCode === _keyCode2.default.ENTER || e.keyCode === _keyCode2.default.SPACE;\n          var submenuInvoke = e.keyCode === _keyCode2.default.RIGHT && trigger.hasSubmenu();\n          var rootMenuInvoke = (e.keyCode === _keyCode2.default.UP || e.keyCode === _keyCode2.default.DOWN) && !trigger.hasSubmenu();\n  \n          if (normalInvoke || submenuInvoke || rootMenuInvoke) {\n              var dropdown = handleIt(e);\n  \n              if (dropdown) {\n                  dropdown.focusItem(0);\n              }\n          }\n      }\n  \n      (0, _jquery2.default)(trigger).on('aui-button-invoke', handleIt).on('click', handleIt).on('keydown', handleKeydown).on('mouseenter', handleMouseEnter);\n  }\n  \n  var triggerPrototype = {\n      disable: function disable() {\n          this.setAttribute('aria-disabled', 'true');\n      },\n  \n      enable: function enable() {\n          this.setAttribute('aria-disabled', 'false');\n      },\n  \n      isEnabled: function isEnabled() {\n          return this.getAttribute('aria-disabled') !== 'true';\n      },\n  \n      hasSubmenu: function hasSubmenu() {\n          var triggerClasses = (this.className || '').split(/\\s+/);\n          return triggerClasses.indexOf('aui-dropdown2-sub-trigger') !== -1;\n      }\n  };\n  \n  (0, _skate2.default)('aui-dropdown2-trigger', {\n      type: _skate2.default.type.CLASSNAME,\n      created: triggerCreated,\n      prototype: triggerPrototype\n  });\n  \n  //To remove at a later date. Some dropdown triggers initialise lazily, so we need to listen for mousedown\n  //and synchronously init before the click event is fired.\n  //TODO: delete in AUI 6.0.0, see AUI-2868\n  function bindLazyTriggerInitialisation() {\n      (0, _jquery2.default)(document).on('mousedown', '.aui-dropdown2-trigger', function () {\n          var isElementSkated = this.hasAttribute('resolved');\n          if (!isElementSkated) {\n              _skate2.default.init(this);\n              var lazyDeprecate = deprecate.getMessageLogger('Dropdown2 lazy initialisation', {\n                  removeInVersion: '6.0.0',\n                  alternativeName: 'initialisation on DOM insertion',\n                  sinceVersion: '5.8.0',\n                  extraInfo: 'Dropdown2 triggers should have all necessary attributes on DOM insertion',\n                  deprecationType: 'JS'\n              });\n              lazyDeprecate();\n          }\n      });\n  }\n  \n  bindLazyTriggerInitialisation();\n  \n  (0, _skate2.default)('aui-dropdown2-sub-trigger', {\n      type: _skate2.default.type.CLASSNAME,\n      created: function created(trigger) {\n          trigger.className += ' aui-dropdown2-trigger';\n          _skate2.default.init(trigger);\n      }\n  });\n  \n  // Dropdown trigger groups\n  // -----------------------\n  \n  (0, _jquery2.default)(document).on('mouseenter', '.aui-dropdown2-trigger-group a, .aui-dropdown2-trigger-group button', function (e) {\n      var $item = (0, _jquery2.default)(e.currentTarget);\n  \n      if ($item.is('.aui-dropdown2-active')) {\n          return; // No point doing anything if we're hovering over the already-active item trigger.\n      }\n  \n      if ($item.closest('.aui-dropdown2').size()) {\n          return; // We don't want to deal with dropdown items, just the potential triggers in the group.\n      }\n  \n      var $triggerGroup = $item.closest('.aui-dropdown2-trigger-group');\n  \n      var $groupActiveTrigger = $triggerGroup.find('.aui-dropdown2-active');\n      if ($groupActiveTrigger.size() && $item.is('.aui-dropdown2-trigger')) {\n          $groupActiveTrigger.blur(); // Remove focus from the previously opened menu.\n          $item.trigger('aui-button-invoke'); // Open this trigger's menu.\n          e.preventDefault();\n      }\n  \n      var $groupFocusedTrigger = $triggerGroup.find(':focus');\n      if ($groupFocusedTrigger.size() && $item.is('.aui-dropdown2-trigger')) {\n          $groupFocusedTrigger.blur();\n      }\n  });\n  \n  // Dropdown items\n  // --------------\n  \n  function getDropdownItems(dropdown, filter) {\n      return (0, _jquery2.default)(dropdown).find([\n      // Legacy markup.\n      '> ul > li', '> .aui-dropdown2-section > ul > li',\n      // Accessible markup.\n      '> div[role] > .aui-dropdown2-section > div[role=\"group\"] > ul[role] > li[role]',\n      // Web component.\n      'aui-item-link', 'aui-item-checkbox', 'aui-item-radio'].join(', ')).filter(filter).children('a, button, [role=\"checkbox\"], [role=\"menuitemcheckbox\"], [role=\"radio\"], [role=\"menuitemradio\"]');\n  }\n  \n  function getAllDropdownItems(dropdown) {\n      return getDropdownItems(dropdown, function () {\n          return true;\n      });\n  }\n  \n  function getVisibleDropdownItems(dropdown) {\n      return getDropdownItems(dropdown, function () {\n          return this.className.indexOf('hidden') === -1 && !this.hasAttribute('hidden');\n      });\n  }\n  \n  function amendDropdownItem(item) {\n      var $item = (0, _jquery2.default)(item);\n  \n      $item.attr('tabindex', '-1');\n  \n      /**\n       * Honouring the documentation.\n       * @link https://docs.atlassian.com/aui/latest/docs/dropdown2.html\n       */\n      if ($item.hasClass('aui-dropdown2-disabled') || $item.parent().hasClass('aui-dropdown2-hidden')) {\n          $item.attr('aria-disabled', true);\n      }\n  }\n  \n  function amendDropdownContent(dropdown) {\n      // Add assistive semantics to each dropdown item\n      getAllDropdownItems(dropdown).each(function () {\n          amendDropdownItem(this);\n      });\n  }\n  \n  /**\n   * Honours behaviour for code written using only the legacy class names.\n   * To maintain old behaviour (i.e., remove the 'hidden' class and the item will become un-hidden)\n   * whilst allowing our code to only depend on the new classes, we need to\n   * keep the state of the DOM in sync with legacy classes.\n   *\n   * Calling this function will add the new namespaced classes to elements with legacy names.\n   * @returns {Function} a function to remove the new namespaced classes, only from the elements they were added to.\n   */\n  function migrateAndSyncLegacyClassNames(dropdown) {\n      var $dropdown = (0, _jquery2.default)(dropdown);\n  \n      // Migrate away from legacy class names\n      var $hiddens = $dropdown.find('.hidden').addClass('aui-dropdown2-hidden');\n      var $disableds = $dropdown.find('.disabled').addClass('aui-dropdown2-disabled');\n      var $interactives = $dropdown.find('.interactive').addClass('aui-dropdown2-interactive');\n  \n      return function revertToOriginalMarkup() {\n          $hiddens.removeClass('aui-dropdown2-hidden');\n          $disableds.removeClass('aui-dropdown2-disabled');\n          $interactives.removeClass('aui-dropdown2-interactive');\n      };\n  }\n  \n  // The Dropdown itself\n  // -------------------\n  \n  function setLayerAlignment(dropdown, trigger) {\n      var hasSubmenu = trigger && trigger.hasSubmenu && trigger.hasSubmenu();\n      var hasSubmenuAlignment = dropdown.getAttribute('data-aui-alignment') === 'submenu auto';\n  \n      if (!hasSubmenu && hasSubmenuAlignment) {\n          restorePreviousAlignment(dropdown);\n      }\n      var hasAnyAlignment = dropdown.hasAttribute('data-aui-alignment');\n  \n      if (hasSubmenu && !hasSubmenuAlignment) {\n          saveCurrentAlignment(dropdown);\n          dropdown.setAttribute('data-aui-alignment', 'submenu auto');\n          dropdown.setAttribute('data-aui-alignment-static', true);\n      } else if (!hasAnyAlignment) {\n          dropdown.setAttribute('data-aui-alignment', 'bottom auto');\n          dropdown.setAttribute('data-aui-alignment-static', true);\n      }\n  \n      if (dropdown._auiAlignment) {\n          dropdown._auiAlignment.destroy();\n      }\n  \n      dropdown._auiAlignment = new _alignment2.default(dropdown, trigger);\n  \n      dropdown._auiAlignment.enable();\n  }\n  \n  function saveCurrentAlignment(dropdown) {\n      var $dropdown = (0, _jquery2.default)(dropdown);\n      if (dropdown.hasAttribute('data-aui-alignment')) {\n          $dropdown.data('previous-data-aui-alignment', dropdown.getAttribute('data-aui-alignment'));\n      }\n      $dropdown.data('had-data-aui-alignment-static', dropdown.hasAttribute('data-aui-alignment-static'));\n  }\n  \n  function restorePreviousAlignment(dropdown) {\n      var $dropdown = (0, _jquery2.default)(dropdown);\n  \n      var previousAlignment = $dropdown.data('previous-data-aui-alignment');\n      if (previousAlignment) {\n          dropdown.setAttribute('data-aui-alignment', previousAlignment);\n      } else {\n          dropdown.removeAttribute('data-aui-alignment');\n      }\n      $dropdown.removeData('previous-data-aui-alignment');\n  \n      if (!$dropdown.data('had-data-aui-alignment-static')) {\n          dropdown.removeAttribute('data-aui-alignment-static');\n      }\n      $dropdown.removeData('had-data-aui-alignment-static');\n  }\n  \n  function getDropdownHideLocation(dropdown, trigger) {\n      var possibleHome = trigger.getAttribute('data-dropdown2-hide-location');\n      return document.getElementById(possibleHome) || dropdown.parentNode;\n  }\n  \n  var keyboardClose = false;\n  function keyboardCloseDetected() {\n      keyboardClose = true;\n  }\n  \n  function wasProbablyClosedViaKeyboard() {\n      var result = keyboardClose === true;\n      keyboardClose = false;\n      return result;\n  }\n  \n  function bindDropdownBehaviourToLayer(dropdown) {\n      (0, _layer2.default)(dropdown);\n  \n      dropdown.addEventListener('aui-layer-show', function () {\n          (0, _jquery2.default)(dropdown).trigger('aui-dropdown2-show');\n  \n          dropdown._syncClasses = migrateAndSyncLegacyClassNames(dropdown);\n  \n          amendDropdownContent(this);\n  \n          doIfTrigger(dropdown, function (trigger) {\n              setDropdownTriggerActiveState(trigger, true);\n              dropdown._returnTo = getDropdownHideLocation(dropdown, trigger);\n          });\n      });\n  \n      dropdown.addEventListener('aui-layer-hide', function () {\n          (0, _jquery2.default)(dropdown).trigger('aui-dropdown2-hide');\n  \n          if (dropdown._syncClasses) {\n              dropdown._syncClasses();\n              delete dropdown._syncClasses;\n          }\n  \n          if (dropdown._auiAlignment) {\n              dropdown._auiAlignment.disable();\n              dropdown._auiAlignment.destroy();\n          }\n  \n          if (dropdown._returnTo) {\n              if (dropdown.parentNode && dropdown.parentNode !== dropdown._returnTo) {\n                  dropdown._returnTo.appendChild(dropdown);\n              }\n          }\n  \n          (0, _jquery2.default)(dropdown).removeClass('aui-dropdown2-in-buttons');\n  \n          getVisibleDropdownItems(dropdown).removeClass('active aui-dropdown2-active');\n  \n          doIfTrigger(dropdown, function (trigger) {\n              if (wasProbablyClosedViaKeyboard()) {\n                  trigger.focus();\n                  setDropdownTriggerActiveState(trigger, trigger.hasSubmenu && trigger.hasSubmenu());\n              } else {\n                  setDropdownTriggerActiveState(trigger, false);\n              }\n          });\n  \n          // Gets set by submenu trigger invocation. Bad coupling point?\n          delete dropdown.isSubmenu;\n          dropdown._triggeringElement = null;\n      });\n  }\n  \n  function bindItemInteractionBehaviourToDropdown(dropdown) {\n      var $dropdown = (0, _jquery2.default)(dropdown);\n  \n      $dropdown.on('keydown', function (e) {\n          if (e.keyCode === _keyCode2.default.DOWN) {\n              dropdown.focusNext();\n              e.preventDefault();\n          } else if (e.keyCode === _keyCode2.default.UP) {\n              dropdown.focusPrevious();\n              e.preventDefault();\n          } else if (e.keyCode === _keyCode2.default.LEFT) {\n              if (dropdown.isSubmenu) {\n                  keyboardCloseDetected();\n                  dropdown.hide(e);\n                  e.preventDefault();\n              }\n          } else if (e.keyCode === _keyCode2.default.ESCAPE) {\n              // The closing will be handled by the LayerManager!\n              keyboardCloseDetected();\n          } else if (e.keyCode === _keyCode2.default.TAB) {\n              keyboardCloseDetected();\n              dropdown.hide(e);\n          }\n      });\n  \n      var hideIfNotSubmenuAndNotInteractive = function hideIfNotSubmenuAndNotInteractive(e) {\n          var $item = (0, _jquery2.default)(e.currentTarget);\n  \n          if ($item.attr('aria-disabled') === 'true') {\n              e.preventDefault();\n              return;\n          }\n  \n          var isSubmenuTrigger = e.currentTarget.hasSubmenu && e.currentTarget.hasSubmenu();\n          if (!isSubmenuTrigger && !$item.is('.aui-dropdown2-interactive')) {\n  \n              var theMenu = dropdown;\n              do {\n                  var dd = (0, _layer2.default)(theMenu);\n                  theMenu = (0, _layer2.default)(theMenu).below();\n                  if (dd.$el.is('.aui-dropdown2')) {\n                      dd.hide(e);\n                  }\n              } while (theMenu);\n          }\n      };\n  \n      $dropdown.on('click keydown', 'a, button, [role=\"menuitem\"], [role=\"menuitemcheckbox\"], [role=\"checkbox\"], [role=\"menuitemradio\"], [role=\"radio\"]', function (e) {\n          var item = e.currentTarget;\n          var $item = (0, _jquery2.default)(item);\n          var eventKeyCode = e.keyCode;\n          var isEnter = eventKeyCode === _keyCode2.default.ENTER;\n          var isSpace = eventKeyCode === _keyCode2.default.SPACE;\n  \n          // AUI-4283: Accessibility - need to ignore enter on links/buttons so\n          // that the dropdown remains visible to allow the click event to eventually fire.\n          var itemIgnoresEnter = isEnter && $item.is('a[href], button');\n  \n          if (!itemIgnoresEnter && (e.type === 'click' || isEnter || isSpace)) {\n              hideIfNotSubmenuAndNotInteractive(e);\n          }\n      });\n  \n      // close a submenus when the mouse moves over items other than its trigger\n      $dropdown.on('mouseenter', 'a, button, [role=\"menuitem\"], [role=\"menuitemcheckbox\"], [role=\"checkbox\"], [role=\"menuitemradio\"], [role=\"radio\"]', function (e) {\n          var item = e.currentTarget;\n          var hasSubmenu = item.hasSubmenu && item.hasSubmenu();\n  \n          if (!e.isDefaultPrevented() && !hasSubmenu) {\n              var maybeALayer = (0, _layer2.default)(dropdown).above();\n  \n              if (maybeALayer) {\n                  (0, _layer2.default)(maybeALayer).hide();\n              }\n          }\n      });\n  }\n  \n  (0, _jquery2.default)(window).on('resize', (0, _debounce.debounceImmediate)(function () {\n      (0, _jquery2.default)('.aui-dropdown2').each(function (index, dropdown) {\n          _skate2.default.init(dropdown);\n          if (dropdown.isVisible()) {\n              dropdown.hide();\n          }\n      });\n  }, 1000));\n  \n  // Dropdowns\n  // ---------\n  \n  function dropdownCreated(dropdown) {\n      var $dropdown = (0, _jquery2.default)(dropdown);\n  \n      $dropdown.addClass('aui-dropdown2');\n  \n      // swap the inner div to presentation as application is only needed for Windows\n      if ((0, _browser.supportsVoiceOver)()) {\n          $dropdown.find('> div[role=\"application\"]').attr('role', 'presentation');\n      }\n  \n      if (dropdown.hasAttribute('data-container')) {\n          $dropdown.attr('data-aui-alignment-container', $dropdown.attr('data-container'));\n          $dropdown.removeAttr('data-container');\n      }\n  \n      bindDropdownBehaviourToLayer(dropdown);\n      bindItemInteractionBehaviourToDropdown(dropdown);\n      dropdown.hide();\n  \n      (0, _jquery2.default)(dropdown).delegate('.aui-dropdown2-checkbox:not(.disabled):not(.aui-dropdown2-disabled)', 'click keydown', function (e) {\n          if (e.type === 'click' || e.keyCode === _keyCode2.default.ENTER || e.keyCode === _keyCode2.default.SPACE) {\n              var checkbox = this;\n              if (e.isDefaultPrevented()) {\n                  return;\n              }\n              if (checkbox.isInteractive()) {\n                  e.preventDefault();\n              }\n              if (checkbox.isEnabled()) {\n                  // toggle the checked state\n                  if (checkbox.isChecked()) {\n                      checkbox.uncheck();\n                  } else {\n                      checkbox.check();\n                  }\n              }\n          }\n      });\n  \n      (0, _jquery2.default)(dropdown).delegate('.aui-dropdown2-radio:not(.checked):not(.aui-dropdown2-checked):not(.disabled):not(.aui-dropdown2-disabled)', 'click keydown', function (e) {\n          if (e.type === 'click' || e.keyCode === _keyCode2.default.ENTER || e.keyCode === _keyCode2.default.SPACE) {\n              var radio = this;\n              if (e.isDefaultPrevented()) {\n                  return;\n              }\n              if (radio.isInteractive()) {\n                  e.preventDefault();\n              }\n  \n              var $radio = (0, _jquery2.default)(this);\n              if (this.isEnabled() && this.isChecked() === false) {\n                  // toggle the checked state\n                  $radio.closest('ul,[role=group]').find('.aui-dropdown2-checked').not(this).each(function () {\n                      this.uncheck();\n                  });\n                  radio.check();\n              }\n          }\n      });\n  }\n  \n  var dropdownPrototype = {\n      /**\n       * Toggles the visibility of the dropdown menu\n       */\n      toggle: function toggle(e) {\n          if (this.isVisible()) {\n              this.hide(e);\n          } else {\n              this.show(e);\n          }\n      },\n  \n      /**\n       * Explicitly shows the menu\n       *\n       * @returns {HTMLElement}\n       */\n      show: function show(e) {\n          if (e && e.currentTarget && e.currentTarget.classList.contains('aui-dropdown2-trigger')) {\n              this._triggeringElement = e.currentTarget;\n          }\n          (0, _layer2.default)(this).show();\n  \n          var dropdown = this;\n          doIfTrigger(dropdown, function (trigger) {\n              setLayerAlignment(dropdown, trigger);\n          });\n  \n          return this;\n      },\n  \n      /**\n       * Explicitly hides the menu\n       *\n       * @returns {HTMLElement}\n       */\n      hide: function hide() {\n          (0, _layer2.default)(this).hide();\n          return this;\n      },\n  \n      /**\n       * Shifts explicit focus to the next available item in the menu\n       *\n       * @returns {undefined}\n       */\n      focusNext: function focusNext() {\n          var $items = getVisibleDropdownItems(this);\n          var selected = document.activeElement;\n          var idx;\n  \n          if ($items.last()[0] !== selected) {\n              idx = $items.toArray().indexOf(selected);\n              this.focusItem($items.get(idx + 1));\n          }\n      },\n  \n      /**\n       * Shifts explicit focus to the previous available item in the menu\n       *\n       * @returns {undefined}\n       */\n      focusPrevious: function focusPrevious() {\n          var $items = getVisibleDropdownItems(this);\n          var selected = document.activeElement;\n          var idx;\n  \n          if ($items.first()[0] !== selected) {\n              idx = $items.toArray().indexOf(selected);\n              this.focusItem($items.get(idx - 1));\n          }\n      },\n  \n      /**\n       * Shifts explicit focus to the menu item matching the index param\n       */\n      focusItem: function focusItem(item) {\n          var $items = getVisibleDropdownItems(this);\n          var $item;\n          if (typeof item === 'number') {\n              item = $items.get(item);\n          }\n          $item = (0, _jquery2.default)(item);\n          $item.focus();\n          $items.removeClass('active aui-dropdown2-active');\n          $item.addClass('active aui-dropdown2-active');\n      },\n  \n      /**\n       * Checks whether or not the menu is currently displayed\n       *\n       * @returns {Boolean}\n       */\n      isVisible: function isVisible() {\n          return (0, _layer2.default)(this).isVisible();\n      }\n  };\n  \n  // Web component API for dropdowns\n  // -------------------------------\n  \n  var disabledAttributeHandler = {\n      created: function created(element) {\n          var a = element.children[0];\n          a.setAttribute('aria-disabled', 'true');\n          a.className += ' aui-dropdown2-disabled';\n      },\n      removed: function removed(element) {\n          var a = element.children[0];\n          a.setAttribute('aria-disabled', 'false');\n          (0, _jquery2.default)(a).removeClass('aui-dropdown2-disabled');\n      }\n  };\n  \n  var interactiveAttributeHandler = {\n      created: function created(element) {\n          var a = element.children[0];\n          a.className += ' aui-dropdown2-interactive';\n      },\n      removed: function removed(element) {\n          var a = element.children[0];\n          (0, _jquery2.default)(a).removeClass('aui-dropdown2-interactive');\n      }\n  };\n  \n  var checkedAttributeHandler = {\n      created: function created(element) {\n          var a = element.children[0];\n          (0, _jquery2.default)(a).addClass('checked aui-dropdown2-checked');\n          a.setAttribute('aria-checked', true);\n          element.dispatchEvent(new _customEvent2.default('change', { bubbles: true }));\n      },\n      removed: function removed(element) {\n          var a = element.children[0];\n          (0, _jquery2.default)(a).removeClass('checked aui-dropdown2-checked');\n          a.setAttribute('aria-checked', false);\n          element.dispatchEvent(new _customEvent2.default('change', { bubbles: true }));\n      }\n  };\n  \n  var hiddenAttributeHandler = {\n      created: function created(element) {\n          disabledAttributeHandler.created(element);\n      },\n      removed: function removed(element) {\n          disabledAttributeHandler.removed(element);\n      }\n  };\n  \n  (0, _skate2.default)('aui-item-link', {\n      template: (0, _skatejsTemplateHtml2.default)('<a role=\"menuitem\" tabindex=\"-1\"><content></content></a>'),\n      attributes: {\n          disabled: disabledAttributeHandler,\n          interactive: interactiveAttributeHandler,\n          hidden: hiddenAttributeHandler,\n          href: {\n              created: function created(element, change) {\n                  var a = element.children[0];\n                  a.setAttribute('href', change.newValue);\n              },\n              updated: function updated(element, change) {\n                  var a = element.children[0];\n                  a.setAttribute('href', change.newValue);\n              },\n              removed: function removed(element) {\n                  var a = element.children[0];\n                  a.removeAttribute('href');\n              }\n          },\n          for: {\n              created: function created(element) {\n                  var anchor = element.children[0];\n                  anchor.setAttribute('aria-controls', element.getAttribute('for'));\n                  (0, _jquery2.default)(anchor).addClass('aui-dropdown2-sub-trigger');\n              },\n              updated: function updated(element) {\n                  var anchor = element.children[0];\n                  anchor.setAttribute('aria-controls', element.getAttribute('for'));\n              },\n              removed: function removed(element) {\n                  var anchor = element.children[0];\n                  anchor.removeAttribute('aria-controls');\n                  (0, _jquery2.default)(anchor).removeClass('aui-dropdown2-sub-trigger');\n              }\n          }\n      }\n  });\n  \n  (0, _skate2.default)('aui-item-checkbox', {\n      template: (0, _skatejsTemplateHtml2.default)('<span role=\"checkbox\" class=\"aui-dropdown2-checkbox\" tabindex=\"-1\"><content></content></span>'),\n      attributes: {\n          disabled: disabledAttributeHandler,\n          interactive: interactiveAttributeHandler,\n          checked: checkedAttributeHandler,\n          hidden: hiddenAttributeHandler\n      }\n  });\n  \n  (0, _skate2.default)('aui-item-radio', {\n      template: (0, _skatejsTemplateHtml2.default)('<span role=\"radio\" class=\"aui-dropdown2-radio\" tabindex=\"-1\"><content></content></span>'),\n      attributes: {\n          disabled: disabledAttributeHandler,\n          interactive: interactiveAttributeHandler,\n          checked: checkedAttributeHandler,\n          hidden: hiddenAttributeHandler\n      }\n  });\n  \n  (0, _skate2.default)('aui-section', {\n      template: (0, _skatejsTemplateHtml2.default)('\\n        <strong aria-role=\"presentation\" class=\"aui-dropdown2-heading\"></strong>\\n        <div role=\"group\">\\n            <content></content>\\n        </div>\\n    '),\n      attributes: {\n          label: function label(element, data) {\n              var headingElement = element.children[0];\n              var groupElement = element.children[1];\n              headingElement.textContent = data.newValue;\n              groupElement.setAttribute('aria-label', data.newValue);\n          }\n      },\n      created: function created(element) {\n          element.className += ' aui-dropdown2-section';\n          element.setAttribute('role', 'presentation');\n      }\n  });\n  \n  (0, _skate2.default)('aui-dropdown-menu', {\n      template: (0, _skatejsTemplateHtml2.default)('\\n        <div role=\"application\">\\n            <content></content>\\n        </div>\\n    '),\n      created: function created(dropdown) {\n          dropdown.setAttribute('role', 'menu');\n          dropdown.className = 'aui-dropdown2 aui-style-default aui-layer';\n          (0, _state2.default)(dropdown).set('loading-state', UNLOADED);\n          // Now skate the .aui-dropdown2 behaviour.\n          _skate2.default.init(dropdown);\n      },\n      attributes: {\n          src: {}\n      },\n      prototype: dropdownPrototype,\n      events: {\n          'aui-layer-show': loadContentWhenMenuShown\n      }\n  });\n  \n  // Legacy dropdown inits\n  // ---------------------\n  \n  (0, _skate2.default)('aui-dropdown2', {\n      type: _skate2.default.type.CLASSNAME,\n      created: dropdownCreated,\n      prototype: dropdownPrototype\n  });\n  \n  (0, _skate2.default)('data-aui-dropdown2', {\n      type: _skate2.default.type.ATTRIBUTE,\n      created: dropdownCreated,\n      prototype: dropdownPrototype\n  });\n  \n  // Checkboxes and radios\n  // ---------------------\n  \n  (0, _skate2.default)('aui-dropdown2-checkbox', {\n      type: _skate2.default.type.CLASSNAME,\n  \n      created: function created(checkbox) {\n          var checked = isChecked(checkbox);\n          if (checked) {\n              (0, _jquery2.default)(checkbox).addClass('checked aui-dropdown2-checked');\n          }\n          checkbox.setAttribute('aria-checked', checked);\n          checkbox.setAttribute('tabindex', '0');\n  \n          // swap from menuitemcheckbox to just plain checkbox for VoiceOver\n          if ((0, _browser.supportsVoiceOver)()) {\n              checkbox.setAttribute('role', 'checkbox');\n          }\n      },\n  \n      prototype: {\n          isEnabled: function isEnabled() {\n              return !(this.getAttribute('aria-disabled') !== null && this.getAttribute('aria-disabled') === 'true');\n          },\n  \n          isChecked: function isChecked() {\n              return this.getAttribute('aria-checked') !== null && this.getAttribute('aria-checked') === 'true';\n          },\n  \n          isInteractive: function isInteractive() {\n              return (0, _jquery2.default)(this).hasClass('aui-dropdown2-interactive');\n          },\n  \n          uncheck: function uncheck() {\n              if (this.parentNode.tagName.toLowerCase() === 'aui-item-checkbox') {\n                  this.parentNode.removeAttribute('checked');\n              }\n              this.setAttribute('aria-checked', 'false');\n              (0, _jquery2.default)(this).removeClass('checked aui-dropdown2-checked');\n              (0, _jquery2.default)(this).trigger('aui-dropdown2-item-uncheck');\n          },\n  \n          check: function check() {\n              if (this.parentNode.tagName.toLowerCase() === 'aui-item-checkbox') {\n                  this.parentNode.setAttribute('checked', '');\n              }\n              this.setAttribute('aria-checked', 'true');\n              (0, _jquery2.default)(this).addClass('checked aui-dropdown2-checked');\n              (0, _jquery2.default)(this).trigger('aui-dropdown2-item-check');\n          }\n      }\n  });\n  \n  (0, _skate2.default)('aui-dropdown2-radio', {\n      type: _skate2.default.type.CLASSNAME,\n  \n      created: function created(radio) {\n          // add a dash of ARIA\n          var checked = isChecked(radio);\n          if (checked) {\n              (0, _jquery2.default)(radio).addClass('checked aui-dropdown2-checked');\n          }\n          radio.setAttribute('aria-checked', checked);\n          radio.setAttribute('tabindex', '0');\n  \n          // swap from menuitemradio to just plain radio for VoiceOver\n          if ((0, _browser.supportsVoiceOver)()) {\n              radio.setAttribute('role', 'radio');\n          }\n      },\n  \n      prototype: {\n          isEnabled: function isEnabled() {\n              return !(this.getAttribute('aria-disabled') !== null && this.getAttribute('aria-disabled') === 'true');\n          },\n  \n          isChecked: function isChecked() {\n              return this.getAttribute('aria-checked') !== null && this.getAttribute('aria-checked') === 'true';\n          },\n  \n          isInteractive: function isInteractive() {\n              return (0, _jquery2.default)(this).hasClass('aui-dropdown2-interactive');\n          },\n  \n          uncheck: function uncheck() {\n              if (this.parentNode.tagName.toLowerCase() === 'aui-item-radio') {\n                  this.parentNode.removeAttribute('checked');\n              }\n              this.setAttribute('aria-checked', 'false');\n              (0, _jquery2.default)(this).removeClass('checked aui-dropdown2-checked');\n              (0, _jquery2.default)(this).trigger('aui-dropdown2-item-uncheck');\n          },\n  \n          check: function check() {\n              if (this.parentNode.tagName.toLowerCase() === 'aui-item-radio') {\n                  this.parentNode.setAttribute('checked', '');\n              }\n              this.setAttribute('aria-checked', 'true');\n              (0, _jquery2.default)(this).addClass('checked aui-dropdown2-checked');\n              (0, _jquery2.default)(this).trigger('aui-dropdown2-item-check');\n          }\n      }\n  });\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/internal/enforcer.js\n(typeof window === 'undefined' ? global : window).__fcef6c85f04d040b520e6625d1397941 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n      value: true\n  });\n  \n  var _log = __16a4a3246fcb7206cb3ce72a302f68ce;\n  \n  var logger = _interopRequireWildcard(_log);\n  \n  function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n  \n  function enforcer(element) {\n  \n      function attributeExists(attributeName) {\n          var errorMessage = attributeName + ' wasn\\'t defined';\n  \n          return satisfiesRules(function () {\n              return element.hasAttribute(attributeName);\n          }, errorMessage);\n      }\n  \n      function refersTo(attributeName) {\n  \n          if (!attributeExists(attributeName, element)) {\n              return false;\n          }\n  \n          var desiredId = element.getAttribute(attributeName);\n          var errorMessage = 'an element with id set to \"' + desiredId + '\" was not found';\n  \n          return satisfiesRules(function () {\n              return document.getElementById(desiredId);\n          }, errorMessage);\n      }\n  \n      function ariaControls() {\n          return refersTo('aria-controls');\n      }\n  \n      function ariaOwns() {\n          return refersTo('aria-owns');\n      }\n  \n      function satisfiesRules(predicate, message) {\n          if (!predicate()) {\n              if (element) {\n                  logger.error(message, element);\n              } else {\n                  logger.error(message);\n              }\n              return false;\n          }\n          return true;\n      }\n  \n      return {\n          attributeExists: attributeExists,\n          refersTo: refersTo,\n          satisfiesRules: satisfiesRules,\n          ariaControls: ariaControls,\n          ariaOwns: ariaOwns\n      };\n  }\n  \n  exports.default = enforcer;\n  module.exports = exports['default'];\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/events.js\n(typeof window === 'undefined' ? global : window).__447bfcc202d6ec6c1f91299e76dbd27c = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n      value: true\n  });\n  exports.triggerEvtForInst = exports.triggerEvt = exports.bindEvt = undefined;\n  \n  var _jquery = __d931c30d7068216ce2c2064d08fd424c;\n  \n  var _jquery2 = _interopRequireDefault(_jquery);\n  \n  var _deprecation = __2283e259423cbf11e76a3bf5e9e47933;\n  \n  var deprecate = _interopRequireWildcard(_deprecation);\n  \n  var _createElement = __175b17b398f7d3e1f6beaa15cef1cc5c;\n  \n  var _createElement2 = _interopRequireDefault(_createElement);\n  \n  var _globalize = __58c75a0e7e2cf47e300bc2f2ecec24a2;\n  \n  var _globalize2 = _interopRequireDefault(_globalize);\n  \n  function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  /**\n   * Triggers a custom event on the AJS object\n   *\n   * @param {String} name - name of event\n   * @param {Array} args - args for event handler\n   */\n  function triggerEvt(name, args) {\n      (0, _jquery2.default)(_createElement2.default).trigger(name, args);\n  }\n  \n  /**\n   * Binds handler to the AJS object\n   *\n   * @param {String} name\n   * @param {Function} func\n   */\n  function bindEvt(name, func) {\n      (0, _jquery2.default)(_createElement2.default).bind(name, func);\n  }\n  \n  /**\n   * Some generic error handling that fires event in multiple contexts\n   * - on AJS object\n   * - on Instance\n   * - on AJS object with prefixed id.\n   *\n   * @param evt\n   * @param inst\n   * @param args\n   */\n  function triggerEvtForInst(evt, inst, args) {\n      (0, _jquery2.default)(inst).trigger(evt, args);\n      triggerEvt(evt, args);\n      if (inst.id) {\n          triggerEvt(inst.id + '-' + evt, args);\n      }\n  }\n  \n  exports.bindEvt = bindEvt = deprecate.fn(bindEvt, 'bindEvt', {\n      sinceVersion: '5.8.0'\n  });\n  \n  exports.triggerEvt = triggerEvt = deprecate.fn(triggerEvt, 'triggerEvt', {\n      sinceVersion: '5.8.0'\n  });\n  \n  exports.triggerEvtForInst = triggerEvtForInst = deprecate.fn(triggerEvtForInst, 'triggerEvtForInst', {\n      sinceVersion: '5.8.0'\n  });\n  \n  (0, _globalize2.default)('bindEvt', bindEvt);\n  (0, _globalize2.default)('triggerEvt', triggerEvt);\n  (0, _globalize2.default)('triggerEvtForInst', triggerEvtForInst);\n  \n  exports.bindEvt = bindEvt;\n  exports.triggerEvt = triggerEvt;\n  exports.triggerEvtForInst = triggerEvtForInst;\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/event.js\n(typeof window === 'undefined' ? global : window).__875a82019c1985082ea8398b0bab6b13 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n      value: true\n  });\n  exports.trigger = exports.unbind = exports.bind = undefined;\n  \n  var _jquery = __d931c30d7068216ce2c2064d08fd424c;\n  \n  var _jquery2 = _interopRequireDefault(_jquery);\n  \n  var _log = __16a4a3246fcb7206cb3ce72a302f68ce;\n  \n  var logger = _interopRequireWildcard(_log);\n  \n  var _globalize = __58c75a0e7e2cf47e300bc2f2ecec24a2;\n  \n  var _globalize2 = _interopRequireDefault(_globalize);\n  \n  function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  /**\n   * Binds events to the window object. See jQuery bind documentation for more\n   * details. Exceptions are caught and logged.\n   */\n  function bind(eventType, eventData, handler) {\n      try {\n          if (typeof handler === 'function') {\n              return (0, _jquery2.default)(window).bind(eventType, eventData, handler);\n          } else {\n              return (0, _jquery2.default)(window).bind(eventType, eventData);\n          }\n      } catch (e) {\n          logger.log('error while binding: ' + e.message);\n      }\n  }\n  \n  /**\n   * Unbinds event handlers from the window object. See jQuery unbind\n   * documentation for more details. Exceptions are caught and logged.\n   */\n  function unbind(eventType, handler) {\n      try {\n          return (0, _jquery2.default)(window).unbind(eventType, handler);\n      } catch (e) {\n          logger.log('error while unbinding: ' + e.message);\n      }\n  }\n  \n  /**\n   * Triggers events on the window object. See jQuery trigger documentation for\n   * more details. Exceptions are caught and logged.\n   */\n  function trigger(eventType, extraParameters) {\n      try {\n          return (0, _jquery2.default)(window).trigger(eventType, extraParameters);\n      } catch (e) {\n          logger.log('error while triggering: ' + e.message);\n      }\n  }\n  \n  (0, _globalize2.default)('bind', bind);\n  (0, _globalize2.default)('trigger', trigger);\n  (0, _globalize2.default)('unbind', unbind);\n  \n  exports.bind = bind;\n  exports.unbind = unbind;\n  exports.trigger = trigger;\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/forms.js\n(typeof window === 'undefined' ? global : window).__53511dbc7f31c5368321fcfdc2eef091 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n      value: true\n  });\n  exports.inlineHelp = exports.enable = undefined;\n  \n  var _jquery = __d931c30d7068216ce2c2064d08fd424c;\n  \n  var _jquery2 = _interopRequireDefault(_jquery);\n  \n  var _globalize = __58c75a0e7e2cf47e300bc2f2ecec24a2;\n  \n  var _globalize2 = _interopRequireDefault(_globalize);\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  /**\n   * Enables the specified form element.\n   *\n   * @param {Element} el The element to enable.\n   * @param {Boolean} b The flag setting enabled / disabled.\n   *\n   * @returns {jQuery}\n   */\n  function enable(el, b) {\n      var $el = (0, _jquery2.default)(el);\n  \n      if (typeof b === 'undefined') {\n          b = true;\n      }\n  \n      return $el.each(function () {\n          this.disabled = !b;\n      });\n  }\n  \n  /**\n   * Forms: Inline Help - toggles visibility of inline help content.\n   *\n   * @method inlineHelp\n   * @namespace AJS\n   * @for AJS\n   */\n  function inlineHelp() {\n      (0, _jquery2.default)('.icon-inline-help').click(function () {\n          var $t = (0, _jquery2.default)(this).siblings('.field-help');\n          if ($t.hasClass('hidden')) {\n              $t.removeClass('hidden');\n          } else {\n              $t.addClass('hidden');\n          }\n      });\n  }\n  \n  (0, _globalize2.default)('enable', enable);\n  (0, _globalize2.default)('inlineHelp', inlineHelp);\n  \n  exports.enable = enable;\n  exports.inlineHelp = inlineHelp;\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/dialog.js\n(typeof window === 'undefined' ? global : window).__629e244af2a4d0f7896df9c6eda85934 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n      value: true\n  });\n  exports.popup = exports.Dialog = undefined;\n  \n  var _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol ? \"symbol\" : typeof obj; }; // can't \"use strict\"\n  \n  var _jquery = __d931c30d7068216ce2c2064d08fd424c;\n  \n  var _jquery2 = _interopRequireDefault(_jquery);\n  \n  var _log = __16a4a3246fcb7206cb3ce72a302f68ce;\n  \n  var logger = _interopRequireWildcard(_log);\n  \n  var _deprecation = __2283e259423cbf11e76a3bf5e9e47933;\n  \n  var deprecate = _interopRequireWildcard(_deprecation);\n  \n  var _event = __875a82019c1985082ea8398b0bab6b13;\n  \n  var _blanket = __8d75e3189f1d32604b3708bf37c70c74;\n  \n  var _forms = __53511dbc7f31c5368321fcfdc2eef091;\n  \n  var _createElement = __175b17b398f7d3e1f6beaa15cef1cc5c;\n  \n  var _createElement2 = _interopRequireDefault(_createElement);\n  \n  var _globalize = __58c75a0e7e2cf47e300bc2f2ecec24a2;\n  \n  var _globalize2 = _interopRequireDefault(_globalize);\n  \n  function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  /**\n   * Creates a generic popup that will be displayed in the center of the screen with a\n   * grey blanket in the background.\n   * Usage:\n   * <pre>\n   * createPopup({\n   *     width: 800,\n   *     height: 400,\n   *     id: \"my-dialog\"\n   * });\n   * </pre>\n   * @param options {object} [optional] Permitted options and defaults are as follows:\n   * width (800), height (600), keypressListener (closes dialog on ESC).\n  */\n  function createPopup(options) {\n      var defaults = {\n          width: 800,\n          height: 600,\n          closeOnOutsideClick: false,\n          keypressListener: function keypressListener(e) {\n              if (e.keyCode === 27 && popup.is(':visible')) {\n                  res.hide();\n              }\n          }\n      };\n      // for backwards-compatibility\n      if ((typeof options === 'undefined' ? 'undefined' : _typeof(options)) != 'object') {\n          options = {\n              width: arguments[0],\n              height: arguments[1],\n              id: arguments[2]\n          };\n          options = _jquery2.default.extend({}, options, arguments[3]);\n      }\n      options = _jquery2.default.extend({}, defaults, options);\n      var popup = (0, _createElement2.default)('div').addClass('aui-popup');\n  \n      if (options.id) {\n          popup.attr('id', options.id);\n      }\n      //find the highest z-index on the page to ensure any new popup that is shown is shown on top\n      var highestZIndex = 3000;\n      (0, _jquery2.default)('.aui-dialog').each(function () {\n          var currentPopup = (0, _jquery2.default)(this);\n          highestZIndex = currentPopup.css('z-index') > highestZIndex ? currentPopup.css('z-index') : highestZIndex;\n      });\n  \n      var applySize = function _applySize(width, height) {\n          options.width = width = width || options.width;\n          options.height = height = height || options.height;\n  \n          popup.css({\n              marginTop: -Math.round(height / 2) + 'px',\n              marginLeft: -Math.round(width / 2) + 'px',\n              width: width,\n              height: height,\n              'z-index': parseInt(highestZIndex, 10) + 2 //+ 2 so that the shadow can be shown on +1 (underneath the popup but above everything else)\n          });\n          return _applySize;\n      }(options.width, options.height);\n  \n      (0, _jquery2.default)('body').append(popup);\n  \n      popup.hide();\n      (0, _forms.enable)(popup);\n  \n      /**\n       * Popup object\n       * @class Popup\n       * @static\n      */\n  \n      //blanket for reference further down\n      var blanket = (0, _jquery2.default)('.aui-blanket'),\n          focusItem = function focusItem(selector, element) {\n          var item = (0, _jquery2.default)(selector, element);\n          if (item.length) {\n              item.focus();\n              return true;\n          }\n          return false;\n      },\n  \n      // we try and place focus, in the configured element or by looking for the first input\n      // in page body, then button panel and finally page menu.\n      focusDialog = function focusDialog(element) {\n          if ((0, _jquery2.default)('.dialog-page-body', element).find(':focus').length !== 0) {\n              return;\n          }\n          if (options.focusSelector) {\n              return focusItem(options.focusSelector, element);\n          }\n          var defaultFocusSelector = ':input:visible:enabled:first';\n          if (focusItem(defaultFocusSelector, (0, _jquery2.default)('.dialog-page-body', element))) return;\n          if (focusItem(defaultFocusSelector, (0, _jquery2.default)('.dialog-button-panel', element))) return;\n  \n          focusItem(defaultFocusSelector, (0, _jquery2.default)('.dialog-page-menu', element));\n      };\n  \n      var res = {\n  \n          changeSize: function changeSize(w, h) {\n              if (w && w != options.width || h && h != options.height) {\n                  applySize(w, h);\n              }\n              this.show();\n          },\n  \n          /**\n           * Shows the popup\n           * @method show\n          */\n          show: function show() {\n  \n              var show = function show() {\n                  (0, _jquery2.default)(document).off('keydown', options.keypressListener).on('keydown', options.keypressListener);\n                  (0, _blanket.dim)();\n                  blanket = (0, _jquery2.default)('.aui-blanket');\n                  if (blanket.size() != 0 && options.closeOnOutsideClick) {\n                      blanket.click(function () {\n                          if (popup.is(':visible')) {\n                              res.hide();\n                          }\n                      });\n                  }\n                  popup.show();\n  \n                  createPopup.current = this;\n                  focusDialog(popup);\n                  (0, _jquery2.default)(document).trigger('showLayer', ['popup', this]);\n              };\n              show.call(this);\n              this.show = show;\n          },\n          /**\n           * Hides the popup.\n           * @method hide\n          */\n          hide: function hide() {\n              (0, _jquery2.default)(document).unbind('keydown', options.keypressListener);\n              blanket.unbind();\n              this.element.hide();\n  \n              //only undim if no other dialogs are visible\n              if ((0, _jquery2.default)('.aui-dialog:visible').size() == 0) {\n                  (0, _blanket.undim)();\n              }\n  \n              // AUI-1059: remove focus from the active element when dialog is hidden\n              var activeElement = document.activeElement;\n              if (this.element.has(activeElement).length) {\n                  activeElement.blur();\n              }\n  \n              (0, _jquery2.default)(document).trigger('hideLayer', ['popup', this]);\n              createPopup.current = null;\n              this.enable();\n          },\n          /**\n           * jQuery object, representing popup DOM element\n           * @property element\n          */\n          element: popup,\n          /**\n           * Removes popup elements from the DOM\n           * @method remove\n          */\n          remove: function remove() {\n              popup.remove();\n              this.element = null;\n          },\n          /**\n           * disables the popup\n           * @method disable\n          */\n          disable: function disable() {\n              if (!this.disabled) {\n                  this.popupBlanket = (0, _jquery2.default)(\"<div class='dialog-blanket'> </div>\").css({\n                      height: popup.height(),\n                      width: popup.width()\n                  });\n                  popup.append(this.popupBlanket);\n                  this.disabled = true;\n              }\n          },\n          /**\n           * enables the popup if it is disabled\n           * @method enable\n          */\n          enable: function enable() {\n              if (this.disabled) {\n                  this.disabled = false;\n                  this.popupBlanket.remove();\n                  this.popupBlanket = null;\n              }\n          }\n      };\n  \n      return res;\n  };\n  \n  // Scoping function\n  var Dialog = function () {\n      /**\n       * @class Button\n       * @constructor Button\n       * @param page {number} page id\n       * @param label {string} button label\n       * @param onclick {function} [optional] click event handler\n       * @param className {string} [optional] class name\n       * @private\n      */\n      function Button(page, label, onclick, className) {\n          if (!page.buttonpanel) {\n              page.addButtonPanel();\n          }\n          this.page = page;\n          this.onclick = onclick;\n          this._onclick = function (e) {\n              return onclick.call(this, page.dialog, page, e) === true;\n          };\n          this.item = (0, _createElement2.default)('button', label).addClass('button-panel-button');\n          if (className) {\n              this.item.addClass(className);\n          }\n          if (typeof onclick == 'function') {\n              this.item.click(this._onclick);\n          }\n          page.buttonpanel.append(this.item);\n          this.id = page.button.length;\n          page.button[this.id] = this;\n      }\n  \n      /**\n       * @class Link\n       * @constructor Link\n       * @param page {number} page id\n       * @param label {string} button label\n       * @param onclick {function} [optional] click event handler\n       * @param className {string} [optional] class name\n       * @private\n      */\n      function Link(page, label, onclick, className, url) {\n          if (!page.buttonpanel) {\n              page.addButtonPanel();\n          }\n  \n          //if no url is given use # as default\n          if (!url) {\n              url = '#';\n          }\n  \n          this.page = page;\n          this.onclick = onclick;\n          this._onclick = function (e) {\n              return onclick.call(this, page.dialog, page, e) === true;\n          };\n          this.item = (0, _createElement2.default)('a', label).attr('href', url).addClass('button-panel-link');\n          if (className) {\n              this.item.addClass(className);\n          }\n          if (typeof onclick == 'function') {\n              this.item.click(this._onclick);\n          }\n          page.buttonpanel.append(this.item);\n          this.id = page.button.length;\n          page.button[this.id] = this;\n      }\n  \n      function itemMove(leftOrRight, target) {\n          var dir = leftOrRight == 'left' ? -1 : 1;\n          return function (step) {\n              var dtarget = this.page[target];\n              if (this.id != (dir == 1 ? dtarget.length - 1 : 0)) {\n                  dir *= step || 1;\n                  dtarget[this.id + dir].item[dir < 0 ? 'before' : 'after'](this.item);\n                  dtarget.splice(this.id, 1);\n                  dtarget.splice(this.id + dir, 0, this);\n                  for (var i = 0, ii = dtarget.length; i < ii; i++) {\n                      if (target == 'panel' && this.page.curtab == dtarget[i].id) {\n                          this.page.curtab = i;\n                      }\n                      dtarget[i].id = i;\n                  }\n              }\n              return this;\n          };\n      }\n      function itemRemove(target) {\n          return function () {\n              this.page[target].splice(this.id, 1);\n              for (var i = 0, ii = this.page[target].length; i < ii; i++) {\n                  this.page[target][i].id = i;\n              }\n              this.item.remove();\n          };\n      }\n      /**\n       * Moves item left in the hierarchy\n       * @method moveUp\n       * @method moveLeft\n       * @param step {number} how many items to move, default is 1\n       * @return {object} button\n      */\n      Button.prototype.moveUp = Button.prototype.moveLeft = itemMove('left', 'button');\n      /**\n       * Moves item right in the hierarchy\n       * @method moveDown\n       * @method moveRight\n       * @param step {number} how many items to move, default is 1\n       * @return {object} button\n      */\n      Button.prototype.moveDown = Button.prototype.moveRight = itemMove('right', 'button');\n      /**\n       * Removes item\n       * @method remove\n      */\n      Button.prototype.remove = itemRemove('button');\n  \n      /**\n       * Getter and setter for label\n       * @method label\n       * @param label {string} [optional] label of the button\n       * @return {string} label, if nothing is passed in\n       * @return {object} jQuery button object, if label is passed in\n      */\n      Button.prototype.html = function (label) {\n          return this.item.html(label);\n      };\n      /**\n       * Getter and setter of onclick event handler\n       * @method onclick\n       * @param onclick {function} [optional] new event handler, that is going to replace the old one\n       * @return {function} existing event handler if new one is undefined\n      */\n      Button.prototype.onclick = function (onclick) {\n          if (typeof onclick == 'undefined') {\n              return this.onclick;\n          } else {\n              this.item.unbind('click', this._onclick);\n              this._onclick = function (e) {\n                  return onclick.call(this, page.dialog, page, e) === true;\n              };\n              if (typeof onclick == 'function') {\n                  this.item.click(this._onclick);\n              }\n          }\n      };\n  \n      var DEFAULT_PADDING = 20;\n  \n      /**\n       * Class for panels\n       * @class Panel\n       * @constructor\n       * @param page {number} page id\n       * @param title {string} panel title\n       * @param reference {string} or {object} jQuery object or selector for the contents of the Panel\n       * @param className {string} [optional] HTML class name\n       * @param panelButtonId {string} the unique id that will be put on the button element for this panel.\n       * @private\n      */\n      var Panel = function Panel(page, title, reference, className, panelButtonId) {\n          if (!(reference instanceof _jquery2.default)) {\n              reference = (0, _jquery2.default)(reference);\n          }\n  \n          this.dialog = page.dialog;\n          this.page = page;\n          this.id = page.panel.length;\n          this.button = (0, _createElement2.default)('button').html(title).addClass('item-button');\n  \n          if (panelButtonId) {\n              this.button[0].id = panelButtonId;\n          }\n  \n          this.item = (0, _createElement2.default)('li').append(this.button).addClass('page-menu-item');\n          this.body = (0, _createElement2.default)('div').append(reference).addClass('dialog-panel-body').css('height', page.dialog.height + 'px');\n          this.padding = DEFAULT_PADDING;\n          if (className) {\n              this.body.addClass(className);\n          }\n          var i = page.panel.length,\n              tab = this;\n          page.menu.append(this.item);\n          page.body.append(this.body);\n          page.panel[i] = this;\n          var onclick = function onclick() {\n              var cur;\n              if (page.curtab + 1) {\n                  cur = page.panel[page.curtab];\n                  cur.body.hide();\n                  cur.item.removeClass('selected');\n                  typeof cur.onblur == 'function' && cur.onblur();\n              }\n              page.curtab = tab.id;\n              tab.body.show();\n              tab.item.addClass('selected');\n              typeof tab.onselect == 'function' && tab.onselect();\n              typeof page.ontabchange == 'function' && page.ontabchange(tab, cur);\n          };\n          if (!this.button.click) {\n              logger.log('atlassian-dialog:Panel:constructor - this.button.click false');\n              this.button.onclick = onclick;\n          } else {\n              this.button.click(onclick);\n          }\n          onclick();\n          if (i == 0) {\n              page.menu.css('display', 'none'); // don't use jQuery hide()\n          } else {\n              page.menu.show();\n          }\n      };\n      /**\n       * Selects current panel\n       * @method select\n      */\n      Panel.prototype.select = function () {\n          this.button.click();\n      };\n      /**\n       * Moves item left in the hierarchy\n       * @method moveUp\n       * @method moveLeft\n       * @param step {number} how many items to move, default is 1\n       * @return {object} panel\n      */\n      Panel.prototype.moveUp = Panel.prototype.moveLeft = itemMove('left', 'panel');\n      /**\n       * Moves item right in the hierarchy\n       * @method moveDown\n       * @method moveRight\n       * @param step {number} how many items to move, default is 1\n       * @return {object} panel\n      */\n      Panel.prototype.moveDown = Panel.prototype.moveRight = itemMove('right', 'panel');\n      /**\n       * Removes item\n       * @method remove\n      */\n      Panel.prototype.remove = itemRemove('panel');\n      /**\n       * Getter and setter of inner HTML of the panel\n       * @method html\n       * @param html {string} HTML source to set up\n       * @return {object} panel\n       * @return {string} current HTML source\n      */\n      Panel.prototype.html = function (html) {\n          if (html) {\n              this.body.html(html);\n              return this;\n          } else {\n              return this.body.html();\n          }\n      };\n      /**\n       * This method gives you ability to overwrite default padding value. Use it with caution.\n       * @method setPadding\n       * @param padding {number} padding in pixels\n       * @return {object} panel\n       * @see DEFAULT_PADDING\n      */\n      Panel.prototype.setPadding = function (padding) {\n          if (!isNaN(+padding)) {\n              this.body.css('padding', +padding);\n              this.padding = +padding;\n              this.page.recalcSize();\n          }\n          return this;\n      };\n  \n      var HEADER_HEIGHT = 56;\n      var BUTTONS_HEIGHT = 51;\n      var MIN_DIALOG_VERTICAL_BUFFER = 50;\n  \n      /**\n       * Class for pages\n       * @class Page\n       * @constructor\n       * @param dialog {object} dialog object\n       * @param className {string} [optional] HTML class name\n       * @private\n      */\n      var Page = function Page(dialog, className) {\n          this.dialog = dialog;\n          this.id = dialog.page.length;\n          this.element = (0, _createElement2.default)('div').addClass('dialog-components');\n          this.body = (0, _createElement2.default)('div').addClass('dialog-page-body');\n          this.menu = (0, _createElement2.default)('ul').addClass('dialog-page-menu').css('height', dialog.height + 'px');\n          this.body.append(this.menu);\n          this.curtab;\n          this.panel = [];\n          this.button = [];\n          if (className) {\n              this.body.addClass(className);\n          }\n          dialog.popup.element.append(this.element.append(this.menu).append(this.body));\n          dialog.page[dialog.page.length] = this;\n      };\n  \n      /**\n       * Size updater for contents of the page. For internal use\n       * @method recalcSize\n      */\n      Page.prototype.recalcSize = function () {\n          var headerHeight = this.header ? HEADER_HEIGHT : 0;\n          var buttonHeight = this.buttonpanel ? BUTTONS_HEIGHT : 0;\n          for (var i = this.panel.length; i--;) {\n              var dialogComponentsHeight = this.dialog.height - headerHeight - buttonHeight;\n              this.panel[i].body.css('height', dialogComponentsHeight);\n              this.menu.css('height', dialogComponentsHeight);\n          }\n      };\n  \n      /**\n       * Adds a button panel to the bottom of dialog\n       * @method addButtonPanel\n       */\n      Page.prototype.addButtonPanel = function () {\n          this.buttonpanel = (0, _createElement2.default)('div').addClass('dialog-button-panel');\n          this.element.append(this.buttonpanel);\n      };\n  \n      /**\n       * Method for adding new panel to the page\n       * @method addPanel\n       * @param title {string} panel title\n       * @param reference {string} or {object} jQuery object or selector for the contents of the Panel\n       * @param className {string} [optional] HTML class name\n       * @param panelButtonId {string} [optional] The unique id for the panel's button.\n       * @return {object} the page\n      */\n      Page.prototype.addPanel = function (title, reference, className, panelButtonId) {\n          new Panel(this, title, reference, className, panelButtonId);\n          this.recalcSize();\n          return this;\n      };\n      /**\n       * Method for adding header to the page\n       * @method addHeader\n       * @param title {string} panel title\n       * @param className {string} [optional] CSS class name\n       * @return {object} the page\n      */\n      Page.prototype.addHeader = function (title, className) {\n          if (this.header) {\n              this.header.remove();\n          }\n          this.header = (0, _createElement2.default)('h2').text(title || '').addClass('dialog-title');\n          className && this.header.addClass(className);\n          this.element.prepend(this.header);\n          this.recalcSize();\n          return this;\n      };\n      /**\n       * Method for adding new button to the page\n       * @method addButton\n       * @param label {string} button label\n       * @param onclick {function} [optional] click event handler\n       * @param className {string} [optional] class name\n       * @return {object} the page\n      */\n      Page.prototype.addButton = function (label, onclick, className) {\n          new Button(this, label, onclick, className);\n          this.recalcSize();\n          return this;\n      };\n      /**\n       * Method for adding new link to the page\n       * @method addLink\n       * @param label {string} button label\n       * @param onclick {function} [optional] click event handler\n       * @param className {string} [optional] class name\n       * @return {object} the page\n      */\n      Page.prototype.addLink = function (label, onclick, className, url) {\n          new Link(this, label, onclick, className, url);\n          this.recalcSize();\n          return this;\n      };\n  \n      /**\n       * Selects corresponding panel\n       * @method gotoPanel\n       * @param panel {object} panel object\n       * @param panel {number} id of the panel\n      */\n      Page.prototype.gotoPanel = function (panel) {\n          this.panel[panel.id || panel].select();\n      };\n      /**\n       * Returns current panel on the page\n       * @method getCurrentPanel\n       * @return panel {object} the panel\n      */\n      Page.prototype.getCurrentPanel = function () {\n          return this.panel[this.curtab];\n      };\n      /**\n       * Hides the page\n       * @method hide\n      */\n      Page.prototype.hide = function () {\n          this.element.hide();\n      };\n      /**\n       * Shows the page, if it was hidden\n       * @method show\n      */\n      Page.prototype.show = function () {\n          this.element.show();\n      };\n      /**\n       * Removes the page\n       * @method remove\n      */\n      Page.prototype.remove = function () {\n          this.element.remove();\n      };\n  \n      /**\n       * Constructor for a Dialog. A Dialog is a popup which consists of Pages, where each Page can consist of Panels,\n       * Buttons and a Header. The dialog must be constructed in page order as it has a current page state. For example,\n       * calling addButton() will add a button to the 'current' page.\n       * <p>\n       * By default, a new Dialog will have one page. If there are multiple Panels on a Page, a\n       * menu is displayed on the left side of the dialog.\n       * </p>\n       * Usage:\n       * <pre>\n       * var dialog = new Dialog(860, 530);\n       * dialog.addHeader(\"Insert Macro\")\n       * .addPanel(\"All\", \"&lt;p&gt;&lt;/p&gt;\")\n       * .addPanel(\"Some\", \"&lt;p&gt;&lt;/p&gt;\")\n       * .addButton(\"Next\", function (dialog) {dialog.nextPage();})\n       * .addButton(\"Cancel\", function (dialog) {dialog.hide();});\n       *\n       * dialog.addPage()\n       * .addButton(\"Cancel\", function (dialog) {dialog.hide();});\n       *\n       * somebutton.click(function () {dialog.show();});\n       * </pre>\n       * @class Dialog\n       * @constructor\n       * @param width {number} dialog width in pixels, or an object containing the Dialog parameters\n       * @param height {number} dialog height in pixels\n       * @param id {number} [optional] dialog id\n      */\n      function Dialog(width, height, id) {\n          var options = {};\n          if (!+width) {\n              options = Object(width);\n              width = options.width;\n              height = options.height;\n              id = options.id;\n          }\n          this.height = height || 480;\n          this.width = width || 640;\n          this.id = id;\n          options = _jquery2.default.extend({}, options, {\n              width: this.width,\n              height: this.height,\n              id: this.id\n          });\n          this.popup = createPopup(options);\n  \n          this.popup.element.addClass('aui-dialog');\n          this.page = [];\n          this.curpage = 0;\n  \n          new Page(this);\n      };\n  \n      /**\n       * Method for adding header to the current page\n       * @method addHeader\n       * @param title {string} panel title\n       * @param className {string} [optional] HTML class name\n       * @return {object} the dialog\n      */\n      Dialog.prototype.addHeader = function (title, className) {\n          this.page[this.curpage].addHeader(title, className);\n          return this;\n      };\n      /**\n       * Method for adding new button to the current page\n       * @method addButton\n       * @param label {string} button label\n       * @param onclick {function} [optional] click event handler\n       * @param className {string} [optional] class name\n       * @return {object} the dialog\n      */\n      Dialog.prototype.addButton = function (label, onclick, className) {\n          this.page[this.curpage].addButton(label, onclick, className);\n          return this;\n      };\n  \n      /**\n       * Method for adding new link to the current page\n       * @method addButton\n       * @param label {string} link label\n       * @param onclick {function} [optional] click event handler\n       * @param className {string} [optional] class name\n       * @return {object} the dialog\n      */\n      Dialog.prototype.addLink = function (label, onclick, className, url) {\n          this.page[this.curpage].addLink(label, onclick, className, url);\n          return this;\n      };\n  \n      /**\n      * Method for adding a submit button to the current page\n      * @method addSubmit\n      * @param label {string} link label\n      * @param onclick {function} [optional] click event handler\n      * @return {object} the dialog\n      */\n      Dialog.prototype.addSubmit = function (label, onclick) {\n          this.page[this.curpage].addButton(label, onclick, 'button-panel-submit-button');\n          return this;\n      };\n  \n      /**\n      * Method for adding a cancel link to the current page\n      * @method addCancel\n      * @param label {string} link label\n      * @param onclick {function} [optional] click event handler\n      * @return {object} the dialog\n      */\n      Dialog.prototype.addCancel = function (label, onclick) {\n          this.page[this.curpage].addLink(label, onclick, 'button-panel-cancel-link');\n          return this;\n      };\n  \n      /**\n       * Method for adding new button panel to the current page\n       * @return {object} the dialog\n      */\n      Dialog.prototype.addButtonPanel = function () {\n          this.page[this.curpage].addButtonPanel();\n          return this;\n      };\n  \n      /**\n       * Method for adding new panel to the current page.\n       * @method addPanel\n       * @param title {string} panel title\n       * @param reference {string} or {object} jQuery object or selector for the contents of the Panel\n       * @param className {string} [optional] HTML class name\n       * @param panelButtonId {String} [optional] The unique id for the panel's button.\n       * @return {object} the dialog\n      */\n      Dialog.prototype.addPanel = function (title, reference, className, panelButtonId) {\n          this.page[this.curpage].addPanel(title, reference, className, panelButtonId);\n          return this;\n      };\n      /**\n       * Adds a new page to the dialog and sets the new page as the current page\n       * @method addPage\n       * @param className {string} [optional] HTML class name\n       * @return {object} the dialog\n      */\n      Dialog.prototype.addPage = function (className) {\n          new Page(this, className);\n          this.page[this.curpage].hide();\n          this.curpage = this.page.length - 1;\n          return this;\n      };\n      /**\n       * Making next page in hierarchy visible and active\n       * @method nextPage\n       * @return {object} the dialog\n      */\n      Dialog.prototype.nextPage = function () {\n          this.page[this.curpage++].hide();\n          if (this.curpage >= this.page.length) {\n              this.curpage = 0;\n          }\n          this.page[this.curpage].show();\n          return this;\n      };\n      /**\n       * Making previous page in hierarchy visible and active\n       * @method prevPage\n       * @return {object} the dialog\n      */\n      Dialog.prototype.prevPage = function () {\n          this.page[this.curpage--].hide();\n          if (this.curpage < 0) {\n              this.curpage = this.page.length - 1;\n          }\n          this.page[this.curpage].show();\n          return this;\n      };\n      /**\n       * Making specified page visible and active\n       * @method gotoPage\n       * @param num {number} page id\n       * @return {object} the dialog\n      */\n      Dialog.prototype.gotoPage = function (num) {\n          this.page[this.curpage].hide();\n          this.curpage = num;\n          if (this.curpage < 0) {\n              this.curpage = this.page.length - 1;\n          } else if (this.curpage >= this.page.length) {\n              this.curpage = 0;\n          }\n          this.page[this.curpage].show();\n          return this;\n      };\n      /**\n       * Returns specified panel at the current page\n       * @method getPanel\n       * @param pageorpanelId {number} page id or panel id\n       * @param panelId {number} panel id\n       * @return {object} the internal Panel object\n      */\n      Dialog.prototype.getPanel = function (pageorpanelId, panelId) {\n          var pageid = panelId == null ? this.curpage : pageorpanelId;\n          if (panelId == null) {\n              panelId = pageorpanelId;\n          }\n          return this.page[pageid].panel[panelId];\n      };\n      /**\n       * Returns specified page\n       * @method getPage\n       * @param pageid {number} page id\n       * @return {object} the internal Page Object\n      */\n      Dialog.prototype.getPage = function (pageid) {\n          return this.page[pageid];\n      };\n      /**\n       * Returns current panel at the current page\n       * @method getCurrentPanel\n       * @return {object} the internal Panel object\n      */\n      Dialog.prototype.getCurrentPanel = function () {\n          return this.page[this.curpage].getCurrentPanel();\n      };\n  \n      /**\n       * Selects corresponding panel\n       * @method gotoPanel\n       * @param pageorpanel {object} panel object or page object\n       * @param panel {object} panel object\n       * @param panel {number} id of the panel\n      */\n      Dialog.prototype.gotoPanel = function (pageorpanel, panel) {\n          if (panel != null) {\n              var pageid = pageorpanel.id || pageorpanel;\n              this.gotoPage(pageid);\n          }\n          this.page[this.curpage].gotoPanel(typeof panel == 'undefined' ? pageorpanel : panel);\n      };\n  \n      /**\n       * Shows the dialog, if it is not visible\n       * @method show\n       * @return {object} the dialog\n      */\n      Dialog.prototype.show = function () {\n          this.popup.show();\n          (0, _event.trigger)('show.dialog', { dialog: this });\n          return this;\n      };\n      /**\n       * Hides the dialog, if it was visible\n       * @method hide\n       * @return {object} the dialog\n      */\n      Dialog.prototype.hide = function () {\n          this.popup.hide();\n          (0, _event.trigger)('hide.dialog', { dialog: this });\n          return this;\n      };\n      /**\n       * Removes the dialog elements from the DOM\n       * @method remove\n      */\n      Dialog.prototype.remove = function () {\n          this.popup.hide();\n          this.popup.remove();\n          (0, _event.trigger)('remove.dialog', { dialog: this });\n      };\n      /**\n       * Disables the dialog if enabled\n       * @method disable\n      */\n      Dialog.prototype.disable = function () {\n          this.popup.disable();\n          return this;\n      };\n      /**\n       * Enables the dialog if disabled\n       * @method disable\n      */\n      Dialog.prototype.enable = function () {\n          this.popup.enable();\n          return this;\n      };\n      /**\n       * Gets set of items depending on query\n       * @method get\n       * @param query {string} query to search for panels, pages, headers or buttons\n       * e.g.\n       *      '#Name' will find all dialog components with the given name such as panels and buttons, etc\n       *      'panel#Name' will find only panels with the given name\n       *      'panel#\"Foo bar\"' will find only panels with given name\n       *      'panel:3' will find the third panel\n       */\n      Dialog.prototype.get = function (query) {\n          var coll = [],\n              dialog = this;\n          var nameExp = '#([^\"][^ ]*|\"[^\"]*\")'; // a name is a hash followed by either a bare word or quoted string\n          var indexExp = ':(\\\\d+)'; // an index is a colon followed by some digits\n          var typeExp = 'page|panel|button|header'; // one of the allowed types\n          var selectorExp = '(?:' + // a selector is either ...\n          '(' + typeExp + ')(?:' + nameExp + '|' + indexExp + ')?' + // a type optionally followed by either #name or :index\n          '|' + nameExp + // or just a #name\n          ')';\n          var queryRE = new RegExp('(?:^|,)' + // a comma or at the start of the line\n          '\\\\s*' + selectorExp + // optional space and a selector\n          '(?:\\\\s+' + selectorExp + ')?' + // optionally, followed by some space and a second selector\n          '\\\\s*(?=,|$)', 'ig'); // followed by, but not including, a comma or the end of the string\n          (query + '').replace(queryRE, function (all, name, title, id, justtitle, name2, title2, id2, justtitle2) {\n              name = name && name.toLowerCase();\n              var pages = [];\n              if (name == 'page' && dialog.page[id]) {\n                  pages.push(dialog.page[id]);\n                  name = name2;\n                  name = name && name.toLowerCase();\n                  title = title2;\n                  id = id2;\n                  justtitle = justtitle2;\n              } else {\n                  pages = dialog.page;\n              }\n              title = title && (title + '').replace(/\"/g, '');\n              title2 = title2 && (title2 + '').replace(/\"/g, '');\n              justtitle = justtitle && (justtitle + '').replace(/\"/g, '');\n              justtitle2 = justtitle2 && (justtitle2 + '').replace(/\"/g, '');\n              if (name || justtitle) {\n                  for (var i = pages.length; i--;) {\n                      if (justtitle || name == 'panel' && (title || !title && id == null)) {\n                          for (var j = pages[i].panel.length; j--;) {\n                              if (pages[i].panel[j].button.html() == justtitle || pages[i].panel[j].button.html() == title || name == 'panel' && !title && id == null) {\n                                  coll.push(pages[i].panel[j]);\n                              }\n                          }\n                      }\n                      if (justtitle || name == 'button' && (title || !title && id == null)) {\n                          for (var j = pages[i].button.length; j--;) {\n                              if (pages[i].button[j].item.html() == justtitle || pages[i].button[j].item.html() == title || name == 'button' && !title && id == null) {\n                                  coll.push(pages[i].button[j]);\n                              }\n                          }\n                      }\n                      if (pages[i][name] && pages[i][name][id]) {\n                          coll.push(pages[i][name][id]);\n                      }\n                      if (name == 'header' && pages[i].header) {\n                          coll.push(pages[i].header);\n                      }\n                  }\n              } else {\n                  coll = coll.concat(pages);\n              }\n          });\n          var res = {\n              length: coll.length\n          };\n          for (var i = coll.length; i--;) {\n              res[i] = coll[i];\n              for (var method in coll[i]) {\n                  if (!(method in res)) {\n                      (function (m) {\n                          res[m] = function () {\n                              for (var j = this.length; j--;) {\n                                  if (typeof this[j][m] == 'function') {\n                                      this[j][m].apply(this[j], arguments);\n                                  }\n                              }\n                          };\n                      })(method);\n                  }\n              }\n          }\n          return res;\n      };\n  \n      /**\n       * Updates height of panels, to contain content without the need for scroll bars.\n       *\n       * @method updateHeight\n       */\n      Dialog.prototype.updateHeight = function () {\n          var height = 0;\n          var maxDialogHeight = (0, _jquery2.default)(window).height() - HEADER_HEIGHT - BUTTONS_HEIGHT - MIN_DIALOG_VERTICAL_BUFFER * 2;\n          for (var i = 0; this.getPanel(i); i++) {\n              if (this.getPanel(i).body.css({ height: 'auto', display: 'block' }).outerHeight() > height) {\n                  height = Math.min(maxDialogHeight, this.getPanel(i).body.outerHeight());\n              }\n              if (i !== this.page[this.curpage].curtab) {\n                  this.getPanel(i).body.css({ display: 'none' });\n              }\n          }\n          for (i = 0; this.getPanel(i); i++) {\n              this.getPanel(i).body.css({ height: height || this.height });\n          }\n          this.page[0].menu.height(height);\n          this.height = height + HEADER_HEIGHT + BUTTONS_HEIGHT + 1;\n          this.popup.changeSize(undefined, this.height);\n      };\n  \n      /**\n       * Returns whether the dialog has been resized to it's maximum height (has been capped by the viewport height and vertical buffer).\n       *\n       * @method isMaximised\n       */\n      Dialog.prototype.isMaximised = function () {\n          return this.popup.element.outerHeight() >= (0, _jquery2.default)(window).height() - MIN_DIALOG_VERTICAL_BUFFER * 2;\n      };\n  \n      /**\n       * Returns the current panel.\n       * @deprecated Since 3.0.1 Use getCurrentPanel() instead.\n       */\n      Dialog.prototype.getCurPanel = function () {\n          return this.getPanel(this.page[this.curpage].curtab);\n      };\n  \n      /**\n       * Returns the current button panel.\n       * @deprecated Since 3.0.1 Use get() instead.\n       */\n      Dialog.prototype.getCurPanelButton = function () {\n          return this.getCurPanel().button;\n      };\n  \n      return Dialog;\n  }();\n  \n  exports.Dialog = Dialog = deprecate.construct(Dialog, 'Dialog constructor', {\n      alternativeName: 'Dialog2'\n  });\n  \n  exports.popup = createPopup = deprecate.construct(createPopup, 'Dialog popup constructor', {\n      alternatveName: 'Dialog2'\n  });\n  \n  (0, _globalize2.default)('Dialog', Dialog);\n  (0, _globalize2.default)('popup', createPopup);\n  \n  exports.Dialog = Dialog;\n  exports.popup = createPopup;\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/unique-id.js\n(typeof window === 'undefined' ? global : window).__5a7881cf02ab93624b2d44b3514c2d6a = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n      value: true\n  });\n  \n  var _globalize = __58c75a0e7e2cf47e300bc2f2ecec24a2;\n  \n  var _globalize2 = _interopRequireDefault(_globalize);\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  var uniqueID;\n  var uniqueIDstring;\n  var uniqueIDcounter = 0;\n  \n  /**\n   * Generate a unique ID string, checking the ID is not present in the DOM before\n   * returning. Note uniqueID, uniqueIDstring, uniqueIDcounter = 0; set at top of\n   * file.\n   *\n   * @param {String} prefix String to prepend to ID instead of default AUI prefix.\n   *\n   * @returns {String}\n   */\n  function generateUniqueId(prefix) {\n      uniqueID = uniqueIDcounter++ + '';\n      uniqueIDstring = prefix ? prefix + uniqueID : 'aui-uid-' + uniqueID;\n  \n      if (!document.getElementById(uniqueIDstring)) {\n          return uniqueIDstring;\n      } else {\n          uniqueIDstring = uniqueIDstring + '-' + new Date().getTime();\n  \n          if (!document.getElementById(uniqueIDstring)) {\n              return uniqueIDstring;\n          } else {\n              throw new Error('Timestamped fallback ID \"' + uniqueIDstring + '\" exists.');\n          }\n      }\n  }\n  \n  (0, _globalize2.default)('id', generateUniqueId);\n  \n  exports.default = generateUniqueId;\n  module.exports = exports['default'];\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/internal/attributes.js\n(typeof window === 'undefined' ? global : window).__47153a78b0936470f7ca1127e29a148c = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n      value: true\n  });\n  exports.computeBooleanValue = computeBooleanValue;\n  exports.setBooleanAttribute = setBooleanAttribute;\n  exports.computeEnumValue = computeEnumValue;\n  exports.setEnumAttribute = setEnumAttribute;\n  /**\n   * Like el.hasAttribute(attr) but designed for use within a skate attribute\n   * change handler where you only have access to change.oldValue.\n   */\n  function computeBooleanValue(attrValue) {\n      return attrValue !== null;\n  }\n  \n  function setBooleanAttribute(el, attr, newValue) {\n      if (newValue) {\n          el.setAttribute(attr, '');\n      } else {\n          el.removeAttribute(attr);\n      }\n  }\n  \n  function computeEnumValue(enumOptions, value) {\n      var matchesEnumValue = function matchesEnumValue(enumValue) {\n          return enumValue.toLowerCase() === value.toLowerCase();\n      };\n  \n      var isMissing = value === null;\n      var isInvalid = !isMissing && !enumOptions.values.filter(matchesEnumValue).length;\n  \n      if (isMissing) {\n          if (enumOptions.hasOwnProperty('missingDefault')) {\n              return enumOptions.missingDefault;\n          }\n          return null;\n      }\n  \n      if (isInvalid) {\n          if (enumOptions.hasOwnProperty('invalidDefault')) {\n              return enumOptions.invalidDefault;\n          } else if (enumOptions.hasOwnProperty('missingDefault')) {\n              return enumOptions.missingDefault;\n          }\n          return null;\n      }\n  \n      return enumOptions.values.length ? enumOptions.values.filter(matchesEnumValue)[0] : null;\n  }\n  \n  function setEnumAttribute(el, enumOptions, newValue) {\n      el.setAttribute(enumOptions.attribute, newValue);\n  }\n  \n  /**\n   * Helper functions useful for implementing reflected boolean and enumerated\n   * attributes and properties.\n   *\n   * @see https://html.spec.whatwg.org/multipage/infrastructure.html#reflecting-content-attributes-in-idl-attributes\n   * @see https://html.spec.whatwg.org/multipage/infrastructure.html#boolean-attribute\n   * @see https://html.spec.whatwg.org/multipage/infrastructure.html#enumerated-attribute\n   */\n  exports.default = {\n      computeBooleanValue: computeBooleanValue,\n      setBooleanAttribute: setBooleanAttribute,\n  \n      computeEnumValue: computeEnumValue,\n      setEnumAttribute: setEnumAttribute\n  };\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/internal/header/create-header.js\n(typeof window === 'undefined' ? global : window).__d22fbd253c421021dd510fb3c4fcd828 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n      value: true\n  });\n  \n  var _jquery = __d931c30d7068216ce2c2064d08fd424c;\n  \n  var _jquery2 = _interopRequireDefault(_jquery);\n  \n  var _customEvent = __751cf3000e6bd63337afe446f5edef9b;\n  \n  var _customEvent2 = _interopRequireDefault(_customEvent);\n  \n  var _debounce = __a88708332bdd48d86dc8763c3bd0bc46;\n  \n  var _debounce2 = _interopRequireDefault(_debounce);\n  \n  var _i18n = __2a8f02ddf948a2241e4b1ac8618d2015;\n  \n  var _i18n2 = _interopRequireDefault(_i18n);\n  \n  var _skate = __0e8fe5f46f722f07c64d1f183c324dd8;\n  \n  var _skate2 = _interopRequireDefault(_skate);\n  \n  var _skatejsTemplateHtml = __16b630aaa86c62c7ef629cfa7bab499e;\n  \n  var _skatejsTemplateHtml2 = _interopRequireDefault(_skatejsTemplateHtml);\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  var $window = (0, _jquery2.default)(window);\n  \n  function Header(element) {\n      var that = this;\n  \n      this.element = element;\n      this.$element = (0, _jquery2.default)(element);\n      this.index = (0, _jquery2.default)('aui-header, .aui-header').index(element);\n      this.$secondaryNav = this.$element.find('.aui-header-secondary .aui-nav').first();\n      this.menuItems = [];\n      this.totalWidth = 0;\n      this.$moreMenu = undefined;\n      this.rightMostNavItemIndex = undefined;\n      this.$applicationLogo = this.$element.find('#logo');\n      this.moreMenuWidth = 0;\n      this.primaryButtonsWidth = 0;\n  \n      // to cache the selector and give .find convenience\n      this.$headerFind = function () {\n          var $header = (0, _jquery2.default)(that.$element[0].querySelector('.aui-header-primary'));\n  \n          return function (selector) {\n              return $header.find(selector);\n          };\n      }();\n  }\n  \n  Header.prototype = {\n      init: function init() {\n          var that = this;\n  \n          this.element.setAttribute('data-aui-responsive', 'true');\n          this.$headerFind('.aui-button').parent().each(function () {\n              that.primaryButtonsWidth += (0, _jquery2.default)(this).outerWidth(true);\n          });\n  \n          // remember the widths of all the menu items\n          this.$headerFind('.aui-nav > li > a:not(.aui-button)').each(function () {\n              var $this = (0, _jquery2.default)(this).parent();\n              var outerWidth = $this.outerWidth(true);\n  \n              that.totalWidth += outerWidth;\n              that.menuItems.push({\n                  $element: $this,\n                  outerWidth: outerWidth\n              });\n          });\n  \n          /** The zero based index of the right-most visible nav menu item. */\n          this.rightMostNavItemIndex = this.menuItems.length - 1;\n  \n          $window.on('resize', this._resizeHandler = (0, _debounce2.default)(function () {\n              that.constructResponsiveDropdown();\n          }, 100));\n  \n          // So that the header logo doesn't mess things up. (size is unknown before the image loads)\n          var $logoImg = this.$applicationLogo.find('img');\n  \n          if ($logoImg.length !== 0) {\n              $logoImg.attr('data-aui-responsive-header-index', this.index);\n              $logoImg.load(function () {\n                  that.constructResponsiveDropdown();\n              });\n          }\n  \n          this.constructResponsiveDropdown();\n  \n          // show the aui nav (hidden via css on load)\n          this.$headerFind('.aui-nav').css('width', 'auto');\n      },\n  \n      destroy: function destroy() {\n          $window.off('resize', this._resizeHandler);\n      },\n  \n      // calculate widths based on the current state of the page\n      calculateAvailableWidth: function calculateAvailableWidth() {\n          // if there is no secondary nav, use the right of the screen as the boundary instead\n          var rightMostBoundary = this.$secondaryNav.is(':visible') ? this.$secondaryNav.offset().left : this.$element.outerWidth();\n  \n          // the right most side of the primary nav, this is assumed to exists if this code is running\n          var primaryNavRight = this.$applicationLogo.offset().left + this.$applicationLogo.outerWidth(true) + this.primaryButtonsWidth;\n  \n          return rightMostBoundary - primaryNavRight;\n      },\n  \n      showResponsiveDropdown: function showResponsiveDropdown() {\n          if (this.$moreMenu === undefined) {\n              this.$moreMenu = this.createResponsiveDropdownTrigger();\n          }\n          this.$moreMenu.css('display', '');\n      },\n  \n      hideResponsiveDropdown: function hideResponsiveDropdown() {\n          if (this.$moreMenu !== undefined) {\n              this.$moreMenu.css('display', 'none');\n          }\n      },\n  \n      constructResponsiveDropdown: function constructResponsiveDropdown() {\n          if (!this.menuItems.length) {\n              return;\n          }\n  \n          var remainingWidth;\n          var availableWidth = this.calculateAvailableWidth(this.$element, this.primaryButtonsWidth);\n  \n          if (availableWidth > this.totalWidth) {\n              this.showAll();\n          } else {\n              this.showResponsiveDropdown();\n              remainingWidth = availableWidth - this.moreMenuWidth;\n  \n              // Figure out how many nav menu items fit into the available space.\n              var newRightMostNavItemIndex = -1;\n              while (remainingWidth - this.menuItems[newRightMostNavItemIndex + 1].outerWidth >= 0) {\n                  remainingWidth -= this.menuItems[newRightMostNavItemIndex + 1].outerWidth;\n                  newRightMostNavItemIndex++;\n              }\n  \n              if (newRightMostNavItemIndex < this.rightMostNavItemIndex) {\n                  this.moveToResponsiveDropdown(this.rightMostNavItemIndex - newRightMostNavItemIndex);\n              } else if (this.rightMostNavItemIndex < newRightMostNavItemIndex) {\n                  this.moveOutOfResponsiveDropdown(newRightMostNavItemIndex - this.rightMostNavItemIndex);\n              }\n          }\n      },\n  \n      // creates the trigger and content elements for the show more dropdown\n      createResponsiveDropdownTrigger: function createResponsiveDropdownTrigger() {\n          var moreNavItemEl = document.createElement('li');\n          var dropdownEl = document.createElement('aui-dropdown-menu');\n          dropdownEl.id = 'aui-responsive-header-dropdown-' + this.index;\n          _skate2.default.init(dropdownEl);\n  \n          var dropdownSectionEl = document.createElement('aui-section');\n          dropdownSectionEl.id = 'aui-responsive-header-dropdown-list-' + this.index;\n          _skate2.default.init(dropdownSectionEl);\n  \n          _skatejsTemplateHtml2.default.wrap(dropdownEl).appendChild(dropdownSectionEl);\n  \n          var triggerEl = createTriggerAndAssociate(dropdownEl);\n          moreNavItemEl.appendChild(triggerEl);\n          moreNavItemEl.appendChild(dropdownEl);\n  \n          // Append the More menu before any primary buttons.\n          if (this.primaryButtonsWidth === 0) {\n              this.$headerFind('.aui-nav').append(moreNavItemEl);\n          } else {\n              this.$headerFind('.aui-nav > li > .aui-button:first').parent().before(moreNavItemEl);\n          }\n  \n          this.moreMenuWidth = (0, _jquery2.default)(moreNavItemEl).outerWidth(true);\n          return (0, _jquery2.default)(moreNavItemEl);\n      },\n  \n      // function that handles moving items out of the show more menu into the app header\n      moveOutOfResponsiveDropdown: function moveOutOfResponsiveDropdown(numItems) {\n          if (numItems <= 0) {\n              return;\n          }\n  \n          var $moreDropdown = (0, _jquery2.default)('#aui-responsive-header-dropdown-' + this.index);\n  \n          // Move items (working top-to-bottom) from the more menu into the nav bar.\n          var leftMostIndexToMove = this.rightMostNavItemIndex + 1;\n          var rightMostIndexToMove = this.rightMostNavItemIndex + numItems;\n          for (var i = leftMostIndexToMove; i <= rightMostIndexToMove; i++) {\n              var $navItem = this.menuItems[i].$element;\n              var $navItemTrigger = $navItem.children('a');\n              var $navItemDropdown = (0, _jquery2.default)('#' + $navItemTrigger.attr('aria-controls'));\n  \n              if ($navItemTrigger.attr('aria-controls')) {\n                  $navItemDropdown.removeClass('aui-dropdown2-sub-menu');\n                  $navItem.append($navItemDropdown);\n              }\n  \n              $moreDropdown.find('aui-item-link:first').remove();\n              $navItem.insertBefore(this.$moreMenu);\n          }\n  \n          this.rightMostNavItemIndex += numItems;\n      },\n  \n      // function that handles moving items into the show more menu\n      moveToResponsiveDropdown: function moveToResponsiveDropdown(numItems) {\n          if (numItems <= 0) {\n              return;\n          }\n  \n          var moreDropdownSectionEl = _skatejsTemplateHtml2.default.wrap(this.$moreMenu[0].querySelector('aui-section'));\n  \n          // Move items (working right-to-left) from the nav bar to the more menu.\n          var rightMostIndexToMove = this.rightMostNavItemIndex;\n          var leftMostIndexToMove = this.rightMostNavItemIndex - numItems + 1;\n          for (var i = rightMostIndexToMove; i >= leftMostIndexToMove; i--) {\n              var $navItem = this.menuItems[i].$element;\n              var $navItemTrigger = $navItem.children('a');\n              var $navItemDropdown = (0, _jquery2.default)('#' + $navItemTrigger.attr('aria-controls'));\n  \n              var moreDropdownItemEl = document.createElement('aui-item-link');\n              moreDropdownItemEl.setAttribute('href', $navItemTrigger.attr('href'));\n              if ($navItemTrigger.attr('aria-controls')) {\n                  moreDropdownItemEl.setAttribute('for', $navItemTrigger.attr('aria-controls'));\n                  $navItemDropdown.addClass('aui-dropdown2-sub-menu');\n                  $navItemDropdown.appendTo('body');\n              }\n              _skate2.default.init(moreDropdownItemEl);\n              _skatejsTemplateHtml2.default.wrap(moreDropdownItemEl).textContent = $navItemTrigger.text();\n  \n              $navItem.detach();\n              moreDropdownSectionEl.insertBefore(moreDropdownItemEl, moreDropdownSectionEl.firstChild);\n              this.element.dispatchEvent(new _customEvent2.default('aui-responsive-menu-item-created', {\n                  bubbles: true,\n                  detail: {\n                      originalItem: $navItem[0],\n                      newItem: moreDropdownItemEl\n                  }\n              }));\n          }\n  \n          this.rightMostNavItemIndex -= numItems;\n      },\n  \n      // function that handles show everything\n      showAll: function showAll() {\n          this.moveOutOfResponsiveDropdown(this.menuItems.length - 1 - this.rightMostNavItemIndex);\n          this.hideResponsiveDropdown();\n      }\n  };\n  \n  function createTriggerAndAssociate(dropdown) {\n      var trigger = document.createElement('a');\n      trigger.setAttribute('class', 'aui-dropdown2-trigger');\n      trigger.setAttribute('href', '#');\n      trigger.id = dropdown.id + '-trigger';\n      trigger.setAttribute('aria-controls', dropdown.id);\n      trigger.innerHTML = _i18n2.default.getText('aui.words.more');\n  \n      return trigger;\n  }\n  \n  /**\n   * Initialise a Header, or return an existing Header for an element.\n   */\n  function createHeader(element) {\n      var header = element._header;\n      if (!(header instanceof Header)) {\n          header = new Header(element);\n          header.init();\n          element._header = header;\n      }\n      return header;\n  }\n  \n  exports.default = createHeader;\n  module.exports = exports['default'];\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/polyfills/console.js\n(typeof window === 'undefined' ? global : window).__c6f401bb9a25a2ae6832f3f26eb011c2 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  /**\n   * AUI-2773\n   *\n   * The following shim for console is deprecated and to be removed in AUI 6.\n   * We shouldn't be creating console.log if it doesn't exist; instead, we should avoid using it directly.\n   * @start deprecated\n   */\n  \n  if (typeof window.console === 'undefined') {\n      window.console = {\n          messages: [],\n  \n          log: function log(text) {\n              this.messages.push(text);\n          },\n  \n          show: function show() {\n              alert(this.messages.join('\\n'));\n              this.messages = [];\n          }\n      };\n  } else {\n      // Firebug console - show not required to do anything.\n      window.console.show = function () {};\n  }\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/binder.js\n(typeof window === 'undefined' ? global : window).__6ede8169f9be4e62c02de0eba77c2604 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n      value: true\n  });\n  \n  var _jquery = __d931c30d7068216ce2c2064d08fd424c;\n  \n  var _jquery2 = _interopRequireDefault(_jquery);\n  \n  var _deprecation = __2283e259423cbf11e76a3bf5e9e47933;\n  \n  var deprecate = _interopRequireWildcard(_deprecation);\n  \n  var _log = __16a4a3246fcb7206cb3ce72a302f68ce;\n  \n  var logger = _interopRequireWildcard(_log);\n  \n  var _globalize = __58c75a0e7e2cf47e300bc2f2ecec24a2;\n  \n  var _globalize2 = _interopRequireDefault(_globalize);\n  \n  function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  /**\n   * Support for markup based binder components. Binder components must be objects with the following \"interface\":\n   *\n   * <pre>\n   * {\n   *   selector: \"input.foo\",\n   *   run: function(element) {\n   *      //do stuff on given element\n   *   }\n   * }\n   * </pre>\n   */\n  var Binder = function () {\n  \n      var binders = {};\n  \n      return {\n          /**\n           * Runs all the binder components for the given scope, or the document body if none specified.\n           *\n           * @method runBinders\n           * @param scope {Element} element scope to run the binders in\n           */\n          runBinders: function runBinders(scope) {\n              if (_jquery2.default.isEmptyObject(binders)) {\n                  logger.log('No binders to run');\n                  return;\n              }\n  \n              scope = scope || document.body;\n  \n              (0, _jquery2.default)('*:not(link, script)', scope).each(function (i, element) {\n                  var $element = (0, _jquery2.default)(element);\n                  _jquery2.default.each(binders, function (id, binder) {\n                      if (!$element.data(id) && $element.is(binder.selector)) {\n                          logger.log('Running binder component: ' + id + ' on element ' + element);\n                          $element.data(id, true); // so we don't bind to the same element again later\n                          binder.run(element);\n                      }\n                  });\n              });\n          },\n  \n          /**\n           * Register a binder component with the given id.\n           * @method register\n           */\n          register: function register(id, binder) {\n              binders[id] = binder;\n          },\n  \n          /**\n           * Unregister a binder component for the given id.\n           * @method unregister\n           */\n          unregister: function unregister(id) {\n              binders[id] = null;\n          }\n      };\n  }();\n  \n  Binder = deprecate.construct(Binder, 'Binder', {\n      sinceVersion: '5.8.0'\n  });\n  \n  (0, _globalize2.default)('Binder', Binder);\n  \n  exports.default = Binder;\n  module.exports = exports['default'];\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/binders/placeholder.js\n(typeof window === 'undefined' ? global : window).__30fbe22791ea03daf99f33e1ce2ca08e = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  var _jquery = __d931c30d7068216ce2c2064d08fd424c;\n  \n  var _jquery2 = _interopRequireDefault(_jquery);\n  \n  var _binder = __6ede8169f9be4e62c02de0eba77c2604;\n  \n  var _binder2 = _interopRequireDefault(_binder);\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  (function () {\n      // browser supports placeholder, no need to do anything\n      var temp = document.createElement('input');\n  \n      if ('placeholder' in temp) {\n          return;\n      }\n  \n      /**\n       * Displays default text in the input field when its value is empty.\n       * If the browser supports placeholder input attributes (HTML5), then\n       * we skip this component.\n       *\n       * Usage:\n       * <pre>\n       * &lt;input placeholder='Some default text'&gt;\n       * </pre>\n       *\n       * Events thrown: reset.placeholder\n       */\n      _binder2.default.register('placeholder', {\n          selector: 'input[placeholder]',\n          run: function run(element) {\n              var $this = (0, _jquery2.default)(element);\n              var applyDefaultText = function applyDefaultText() {\n                  if (!_jquery2.default.trim($this.val()).length) {\n                      $this.val($this.attr('placeholder')).addClass('placeholder-shown').trigger('reset.placeholder');\n                  }\n              };\n  \n              applyDefaultText();\n              $this.blur(applyDefaultText).focus(function () {\n                  if ($this.hasClass('placeholder-shown')) {\n                      $this.val('').removeClass('placeholder-shown');\n                  }\n              });\n          }\n      });\n  })();\n  \n  return module.exports;\n}).call(this);\n// src/js/jquery/jquery.os.js\n(typeof window === 'undefined' ? global : window).__6a9b502487fbae1d2961796af3334b52 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  jQuery.os = {};\n  (function () {\n      var platform = navigator.platform.toLowerCase();\n      jQuery.os.windows = platform.indexOf('win') != -1;\n      jQuery.os.mac = platform.indexOf('mac') != -1;\n      jQuery.os.linux = platform.indexOf('linux') != -1;\n  })();\n  \n  return module.exports;\n}).call(this);\n// src/js/jquery/jquery.moveto.js\n(typeof window === 'undefined' ? global : window).__fad3cd5b79ca2d86da268a98487f781c = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  /**\n   *\n   * @module Controls\n   * @requires AJS, jQuery\n   */\n  \n  /**\n   * If not visible, moves the scroll position of the screen to the element\n   *\n   * <pre>\n   * <strong>Usage:</strong>\n   * jQuery(\"li.item\").moveTo();\n   * </pre>\n   *\n   * This plugin also supports options as an argument.  The options\n   * that can be defined are:\n   * <ul>\n   * <li>transition - if set to true will cause a smooth scrolling transition (false by default)</li>\n   * <li>scrollOffset - defines an offset to scroll past the element to view in pixels such that\n   * all of it can be viewed (35 pixels by default)</li>\n   * </ul>\n   *\n   * @class moveTo\n   * @constuctor moveTo\n   * @namespace jQuery.fn\n   * @param {Object} options\n   */\n  jQuery.fn.moveTo = function (options) {\n      var defaults = {\n          transition: false,\n          scrollOffset: 35\n      };\n  \n      var opts = jQuery.extend(defaults, options),\n          instance = this,\n          topOffset = instance.offset().top,\n          scrollTarget;\n  \n      if ((jQuery(window).scrollTop() + jQuery(window).height() - this.outerHeight() < topOffset || jQuery(window).scrollTop() + opts.scrollOffset > topOffset) && jQuery(window).height() > opts.scrollOffset) {\n  \n          if (jQuery(window).scrollTop() + opts.scrollOffset > topOffset) {\n              //move up\n              scrollTarget = topOffset - (jQuery(window).height() - this.outerHeight()) + opts.scrollOffset;\n          } else {\n              //move down\n              scrollTarget = topOffset - opts.scrollOffset;\n          }\n  \n          if (!jQuery.fn.moveTo.animating && opts.transition) {\n              jQuery(document).trigger('moveToStarted', this);\n              jQuery.fn.moveTo.animating = true;\n              jQuery('html,body').animate({\n                  scrollTop: scrollTarget\n              }, 1000, function () {\n                  jQuery(document).trigger('moveToFinished', instance);\n                  delete jQuery.fn.moveTo.animating;\n              });\n              return this;\n          } else {\n              var jQueryCache = jQuery('html, body');\n              if (jQueryCache.is(':animated')) {\n                  jQueryCache.stop();\n                  delete jQuery.fn.moveTo.animating;\n              }\n  \n              jQuery(document).trigger('moveToStarted');\n              jQuery(window).scrollTop(scrollTarget);\n              //need to put a slight timeout for the moveToFinished event such that recipients of this event\n              //have time to act on it.\n              setTimeout(function () {\n                  jQuery(document).trigger('moveToFinished', instance);\n              }, 100);\n              return this;\n          }\n      }\n      jQuery(document).trigger('moveToFinished', this);\n      return this;\n  };\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/cookie.js\n(typeof window === 'undefined' ? global : window).__3fcb39a355d5dec47f8f6a73d7fe66f2 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n      value: true\n  });\n  exports.save = exports.read = exports.erase = undefined;\n  \n  var _deprecation = __2283e259423cbf11e76a3bf5e9e47933;\n  \n  var deprecate = _interopRequireWildcard(_deprecation);\n  \n  var _globalize = __58c75a0e7e2cf47e300bc2f2ecec24a2;\n  \n  var _globalize2 = _interopRequireDefault(_globalize);\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n  \n  var COOKIE_NAME = 'AJS.conglomerate.cookie';\n  var UNESCAPE_COOKIE_REGEX = /(\\\\|^\"|\"$)/g;\n  var CONSECUTIVE_PIPE_CHARS_REGEX = /\\|\\|+/g;\n  var ANY_QUOTE_REGEX = /\"/g;\n  var REGEX_SPECIAL_CHARS = /[.*+?|^$()[\\]{\\\\]/g;\n  \n  function regexEscape(str) {\n      return str.replace(REGEX_SPECIAL_CHARS, '\\\\$&');\n  }\n  \n  function getValueFromConglomerate(name, cookieValue) {\n      // A null cookieValue is just the first time through so create it.\n      cookieValue = cookieValue || '';\n      var reg = new RegExp(regexEscape(name) + '=([^|]+)');\n      var res = cookieValue.match(reg);\n      return res && res[1];\n  }\n  \n  // Either append or replace the value in the cookie string/\n  function addOrAppendToValue(name, value, cookieValue) {\n      // A cookie name follows after any amount of white space mixed with any amount of '|' characters.\n      // A cookie value is preceded by '=', then anything except for '|'.\n      var reg = new RegExp('(\\\\s|\\\\|)*\\\\b' + regexEscape(name) + '=[^|]*[|]*');\n  \n      cookieValue = cookieValue || '';\n      cookieValue = cookieValue.replace(reg, '|');\n  \n      if (value !== '') {\n          var pair = name + '=' + value;\n          if (cookieValue.length + pair.length < 4020) {\n              cookieValue += '|' + pair;\n          }\n      }\n  \n      return cookieValue.replace(CONSECUTIVE_PIPE_CHARS_REGEX, '|');\n  }\n  \n  function unescapeCookieValue(name) {\n      return name.replace(UNESCAPE_COOKIE_REGEX, '');\n  }\n  \n  function getCookieValue(name) {\n      var reg = new RegExp('\\\\b' + regexEscape(name) + '=((?:[^\\\\\\\\;]+|\\\\\\\\.)*)(?:;|$)');\n      var res = document.cookie.match(reg);\n      return res && unescapeCookieValue(res[1]);\n  }\n  \n  function saveCookie(name, value, days) {\n      var ex = '';\n      var d;\n      var quotedValue = '\"' + value.replace(ANY_QUOTE_REGEX, '\\\\\"') + '\"';\n  \n      if (days) {\n          d = new Date();\n          d.setTime(+d + days * 24 * 60 * 60 * 1000);\n          ex = '; expires=' + d.toGMTString();\n      }\n  \n      document.cookie = name + '=' + quotedValue + ex + ';path=/';\n  }\n  \n  /**\n   * Save a cookie.\n   * @param name {String} name of cookie\n   * @param value {String} value of cookie\n   * @param expires {Number} number of days before cookie expires\n   */\n  function save(name, value, expires) {\n      var cookieValue = getCookieValue(COOKIE_NAME);\n      cookieValue = addOrAppendToValue(name, value, cookieValue);\n      saveCookie(COOKIE_NAME, cookieValue, expires || 365);\n  }\n  \n  /**\n   * Get the value of a cookie.\n   * @param name {String} name of cookie to read\n   * @param defaultValue {String} the default value of the cookie to return if not found\n   */\n  function read(name, defaultValue) {\n      var cookieValue = getCookieValue(COOKIE_NAME);\n      var value = getValueFromConglomerate(name, cookieValue);\n      if (value != null) {\n          return value;\n      }\n      return defaultValue;\n  }\n  \n  /**\n   * Remove the given cookie.\n   * @param name {String} the name of the cookie to remove\n   */\n  function erase(name) {\n      save(name, '');\n  }\n  \n  var cookie = {\n      erase: erase,\n      read: read,\n      save: save\n  };\n  \n  (0, _globalize2.default)('cookie', cookie);\n  (0, _globalize2.default)('Cookie', cookie);\n  \n  deprecate.prop(AJS, 'Cookie', {\n      alternativeName: 'cookie',\n      sinceVersion: '5.8.0'\n  });\n  \n  exports.erase = erase;\n  exports.read = read;\n  exports.save = save;\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/firebug.js\n(typeof window === 'undefined' ? global : window).__6c6934f2ccca0caf3cf11e8746f5645c = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n      value: true\n  });\n  exports.warnAboutFirebug = exports.firebug = undefined;\n  \n  var _jquery = __d931c30d7068216ce2c2064d08fd424c;\n  \n  var _jquery2 = _interopRequireDefault(_jquery);\n  \n  var _deprecation = __2283e259423cbf11e76a3bf5e9e47933;\n  \n  var deprecate = _interopRequireWildcard(_deprecation);\n  \n  var _globalize = __58c75a0e7e2cf47e300bc2f2ecec24a2;\n  \n  var _globalize2 = _interopRequireDefault(_globalize);\n  \n  function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  /**\n   * Does nothing because legacy code.\n   *\n   * @returns {undefined}\n   */\n  function warnAboutFirebug() {}\n  \n  /**\n   * Includes firebug lite for debugging in IE. Especially in IE.\n   *\n   * @returns {undefined}\n   */\n  function firebug() {\n      var script = (0, _jquery2.default)(document.createElement('script'));\n  \n      script.attr('src', 'https://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js');\n      (0, _jquery2.default)('head').append(script);\n  \n      (function () {\n          if (window.firebug) {\n              firebug.init();\n          } else {\n              setTimeout(firebug, 0);\n          }\n      })();\n  }\n  \n  exports.firebug = firebug = deprecate.fn(firebug, 'firebug', {\n      sinceVersion: '5.1.0'\n  });\n  \n  exports.warnAboutFirebug = warnAboutFirebug = deprecate.fn(warnAboutFirebug, 'warnAboutFirebug', {\n      sinceVersion: '5.8.0'\n  });\n  \n  (0, _globalize2.default)('firebug', firebug);\n  (0, _globalize2.default)('warnAboutFirebug', warnAboutFirebug);\n  \n  exports.firebug = firebug;\n  exports.warnAboutFirebug = warnAboutFirebug;\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/internal/add-id.js\n(typeof window === 'undefined' ? global : window).__5422cfe9eb65aaaa835927a04af284e3 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n      value: true\n  });\n  \n  var _jquery = __d931c30d7068216ce2c2064d08fd424c;\n  \n  var _jquery2 = _interopRequireDefault(_jquery);\n  \n  var _globalize = __58c75a0e7e2cf47e300bc2f2ecec24a2;\n  \n  var _globalize2 = _interopRequireDefault(_globalize);\n  \n  var _uniqueId = __5a7881cf02ab93624b2d44b3514c2d6a;\n  \n  var _uniqueId2 = _interopRequireDefault(_uniqueId);\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  /**\n   * Apply a unique ID to the element. Preserves ID if the element already has one.\n   *\n   * @param {Element} el Selector to find target element.\n   * @param {string} prefix Optional. String to prepend to ID instead of default AUI prefix.\n   *\n   * @returns {undefined}\n   */\n  function addId(el, prefix) {\n      var element = (0, _jquery2.default)(el);\n      var addprefix = prefix || false;\n  \n      element.each(function () {\n          var $el = (0, _jquery2.default)(this);\n  \n          if (!$el.attr('id')) {\n              $el.attr('id', (0, _uniqueId2.default)(addprefix));\n          }\n      });\n  }\n  \n  (0, _globalize2.default)('_addID', addId);\n  \n  exports.default = addId;\n  module.exports = exports['default'];\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/alphanum.js\n(typeof window === 'undefined' ? global : window).__2a0e2adfb91b56f526cdb86e13372e65 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n      value: true\n  });\n  \n  var _globalize = __58c75a0e7e2cf47e300bc2f2ecec24a2;\n  \n  var _globalize2 = _interopRequireDefault(_globalize);\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  /**\n   * Compare two strings in alphanumeric way\n   * @method alphanum\n   * @param {String} a first string to compare\n   * @param {String} b second string to compare\n   * @return {Number(-1|0|1)} -1 if a < b, 0 if a = b, 1 if a > b\n   */\n  function alphanum(a, b) {\n      a = (a + '').toLowerCase();\n      b = (b + '').toLowerCase();\n  \n      var chunks = /(\\d+|\\D+)/g;\n      var am = a.match(chunks);\n      var bm = b.match(chunks);\n      var len = Math.max(am.length, bm.length);\n  \n      for (var i = 0; i < len; i++) {\n          if (i === am.length) {\n              return -1;\n          }\n  \n          if (i === bm.length) {\n              return 1;\n          }\n  \n          var ad = parseInt(am[i], 10) + '';\n          var bd = parseInt(bm[i], 10) + '';\n  \n          if (ad === am[i] && bd === bm[i] && ad !== bd) {\n              return (ad - bd) / Math.abs(ad - bd);\n          }\n  \n          if ((ad !== am[i] || bd !== bm[i]) && am[i] !== bm[i]) {\n              return am[i] < bm[i] ? -1 : 1;\n          }\n      }\n  \n      return 0;\n  }\n  \n  (0, _globalize2.default)('alphanum', alphanum);\n  \n  exports.default = alphanum;\n  module.exports = exports['default'];\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/clone.js\n(typeof window === 'undefined' ? global : window).__7690e994cac74191c8db4484f3bd2980 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  \n  var _jquery = __d931c30d7068216ce2c2064d08fd424c;\n  \n  var _jquery2 = _interopRequireDefault(_jquery);\n  \n  var _globalize = __58c75a0e7e2cf47e300bc2f2ecec24a2;\n  \n  var _globalize2 = _interopRequireDefault(_globalize);\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  /**\n   * Clones the element specified by the selector and removes the id attribute.\n   *\n   * @param {String} selector A jQuery selector\n   */\n  function clone(selector) {\n    return (0, _jquery2.default)(selector).clone().removeAttr('id');\n  }\n  \n  (0, _globalize2.default)('clone', clone);\n  \n  exports.default = clone;\n  module.exports = exports['default'];\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/contain-dropdown.js\n(typeof window === 'undefined' ? global : window).__97406c63b1b07b94c737edda86fc9384 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n      value: true\n  });\n  \n  var _jquery = __d931c30d7068216ce2c2064d08fd424c;\n  \n  var _jquery2 = _interopRequireDefault(_jquery);\n  \n  var _globalize = __58c75a0e7e2cf47e300bc2f2ecec24a2;\n  \n  var _globalize2 = _interopRequireDefault(_globalize);\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  function containDropdown(dropdown, containerSelector, dynamic) {\n      function getDropdownOffset() {\n          return dropdown.$.offset().top - (0, _jquery2.default)(containerSelector).offset().top;\n      }\n  \n      var container;\n      var ddOffset;\n      var availableArea;\n      var shadowOffset = 25;\n  \n      if (dropdown.$.parents(containerSelector).length !== -1) {\n          container = (0, _jquery2.default)(containerSelector);\n          ddOffset = getDropdownOffset();\n          shadowOffset = 30;\n          availableArea = container.outerHeight() - ddOffset - shadowOffset;\n  \n          if (availableArea <= parseInt(dropdown.$.attr('scrollHeight'), 10)) {\n              containDropdown.containHeight(dropdown, availableArea);\n          } else if (dynamic) {\n              containDropdown.releaseContainment(dropdown);\n          }\n          dropdown.reset();\n      }\n  };\n  \n  containDropdown.containHeight = function (dropdown, availableArea) {\n      dropdown.$.css({\n          height: availableArea\n      });\n      if (dropdown.$.css('overflowY') !== 'scroll') {\n          dropdown.$.css({\n              width: 15 + dropdown.$.attr('scrollWidth'),\n              overflowY: 'scroll',\n              overflowX: 'hidden'\n          });\n      }\n  };\n  \n  containDropdown.releaseContainment = function (dropdown) {\n      dropdown.$.css({\n          height: '',\n          width: '',\n          overflowY: '',\n          overflowX: ''\n      });\n  };\n  \n  (0, _globalize2.default)('containDropdown', containDropdown);\n  \n  exports.default = containDropdown;\n  module.exports = exports['default'];\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/index-of.js\n(typeof window === 'undefined' ? global : window).__dc2f5041f7af19dd5fb1e15f145aaf52 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n      value: true\n  });\n  \n  var _globalize = __58c75a0e7e2cf47e300bc2f2ecec24a2;\n  \n  var _globalize2 = _interopRequireDefault(_globalize);\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  /**\n   * Finds the index of an element in the array.\n   *\n   * @param {Array} The array being searched.\n   * @param {Mixed} item Element which will be searched for.\n   * @param {Integer} fromIndex The index from which the item will be searched. Negative values will search from the end of the array.\n   *\n   * @returns {Integer}\n   */\n  function indexOf(array, item, fromIndex) {\n      var length = array.length;\n  \n      if (!fromIndex) {\n          fromIndex = 0;\n      } else if (fromIndex < 0) {\n          fromIndex = Math.max(0, length + fromIndex);\n      }\n  \n      for (var i = fromIndex; i < length; i++) {\n          if (array[i] === item) {\n              return i;\n          }\n      }\n  \n      return -1;\n  }\n  \n  (0, _globalize2.default)('indexOf', indexOf);\n  \n  exports.default = indexOf;\n  module.exports = exports['default'];\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/contains.js\n(typeof window === 'undefined' ? global : window).__b84c8e24a388d865c6af879ebb8e3811 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  \n  var _globalize = __58c75a0e7e2cf47e300bc2f2ecec24a2;\n  \n  var _globalize2 = _interopRequireDefault(_globalize);\n  \n  var _indexOf = __dc2f5041f7af19dd5fb1e15f145aaf52;\n  \n  var _indexOf2 = _interopRequireDefault(_indexOf);\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  /**\n   * Looks for an element inside the array.\n   *\n   * @param {Array} array The array being searched.\n   * @param {Array} item The current item.\n   *\n   * @return {Boolean}\n   */\n  function contains(array, item) {\n    return (0, _indexOf2.default)(array, item) > -1;\n  }\n  \n  (0, _globalize2.default)('contains', contains);\n  \n  exports.default = contains;\n  module.exports = exports['default'];\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/draw-logo.js\n(typeof window === 'undefined' ? global : window).__2a0a2b3864d33b55978fef541952f7f5 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n      value: true\n  });\n  \n  var _jquery = __d931c30d7068216ce2c2064d08fd424c;\n  \n  var _jquery2 = _interopRequireDefault(_jquery);\n  \n  var _deprecation = __2283e259423cbf11e76a3bf5e9e47933;\n  \n  var _globalize = __58c75a0e7e2cf47e300bc2f2ecec24a2;\n  \n  var _globalize2 = _interopRequireDefault(_globalize);\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  function drawLogo(options) {\n      var scale = options.scaleFactor || 1;\n      var fill = options.fill || '#fff';\n      var stroke = options.stroke || '#000';\n      var width = 400 * scale;\n      var height = 40 * scale;\n      var strokeWidth = options.strokeWidth || 1;\n      var containerID = options.containerID || '.aui-logo';\n  \n      if (!(0, _jquery2.default)('.aui-logo').length) {\n          (0, _jquery2.default)('body').append('<div id=\"aui-logo\" class=\"aui-logo\"><div>');\n      }\n  \n      var logoCanvas = Raphael(containerID, width + 50 * scale, height + 100 * scale);\n      var logo = logoCanvas.path('M 0,0 c 3.5433333,-4.7243333 7.0866667,-9.4486667 10.63,-14.173 -14.173,0 -28.346,0 -42.519,0 C -35.432667,-9.4486667 -38.976333,-4.7243333 -42.52,0 -28.346667,0 -14.173333,0 0,0 z m 277.031,28.346 c -14.17367,0 -28.34733,0 -42.521,0 C 245.14,14.173 255.77,0 266.4,-14.173 c -14.17267,0 -28.34533,0 -42.518,0 C 213.25167,0 202.62133,14.173 191.991,28.346 c -14.17333,0 -28.34667,0 -42.52,0 14.17333,-18.8976667 28.34667,-37.7953333 42.52,-56.693 -7.08667,-9.448667 -14.17333,-18.897333 -21.26,-28.346 -14.173,0 -28.346,0 -42.519,0 7.08667,9.448667 14.17333,18.897333 21.26,28.346 -14.17333,18.8976667 -28.34667,37.7953333 -42.52,56.693 -14.173333,0 -28.346667,0 -42.52,0 10.63,-14.173 21.26,-28.346 31.89,-42.519 -14.390333,0 -28.780667,0 -43.171,0 C 42.520733,1.330715e-4 31.889933,14.174867 21.26,28.347 c -42.520624,6.24e-4 -85.039187,-8.13e-4 -127.559,-0.001 11.220667,-14.961 22.441333,-29.922 33.662,-44.883 -6.496,-8.661 -12.992,-17.322 -19.488,-25.983 5.905333,0 11.810667,0 17.716,0 -10.63,-14.173333 -21.26,-28.346667 -31.89,-42.52 14.173333,0 28.346667,0 42.52,0 10.63,14.173333 21.26,28.346667 31.89,42.52 14.173333,0 28.3466667,0 42.52,0 -10.63,-14.173333 -21.26,-28.346667 -31.89,-42.52 14.1733333,0 28.3466667,0 42.52,0 10.63,14.173333 21.26,28.346667 31.89,42.52 14.390333,0 28.780667,0 43.171,0 -10.63,-14.173333 -21.26,-28.346667 -31.89,-42.52 42.51967,0 85.03933,0 127.559,0 10.63033,14.173333 21.26067,28.346667 31.891,42.52 14.17267,0 28.34533,0 42.518,0 -10.63,-14.173333 -21.26,-28.346667 -31.89,-42.52 14.17367,0 28.34733,0 42.521,0 14.17333,18.897667 28.34667,37.795333 42.52,56.693 -14.17333,18.8976667 -28.34667,37.7953333 -42.52,56.693 z');\n  \n      logo.scale(scale, -scale, 0, 0);\n      logo.translate(120 * scale, height);\n      logo.attr('fill', fill);\n      logo.attr('stroke', stroke);\n      logo.attr('stroke-width', strokeWidth);\n  }\n  \n  drawLogo = (0, _deprecation.fn)(drawLogo, 'drawLogo', {\n      sinceVersion: '5.1.0'\n  });\n  \n  (0, _globalize2.default)('drawLogo', drawLogo);\n  \n  exports.default = drawLogo;\n  module.exports = exports['default'];\n  \n  return module.exports;\n}).call(this);\n// src/js-vendor/jquery/plugins/jquery.aop.js\n(typeof window === 'undefined' ? global : window).__63cf05a740a3080daa5b8a107d263ae2 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  /**\n  * jQuery AOP - jQuery plugin to add features of aspect-oriented programming (AOP) to jQuery.\n  * http://jquery-aop.googlecode.com/\n  *\n  * Licensed under the MIT license:\n  * http://www.opensource.org/licenses/mit-license.php\n  *\n  * Version: 1.3\n  *\n  * Cross-frame type detection based on Daniel Steigerwald's code (http://daniel.steigerwald.cz)\n  * http://gist.github.com/204554\n  *\n  */\n  \n  (function() {\n  \n  \tvar _after\t\t\t= 1;\n  \tvar _afterThrow\t\t= 2;\n  \tvar _afterFinally\t= 3;\n  \tvar _before\t\t\t= 4;\n  \tvar _around\t\t\t= 5;\n  \tvar _intro\t\t\t= 6;\n  \tvar _regexEnabled = true;\n  \tvar _arguments = 'arguments';\n  \tvar _undef = 'undefined';\n  \n  \tvar getType = (function() {\n  \n  \t\tvar toString = Object.prototype.toString,\n  \t\t\ttoStrings = {},\n  \t\t\tnodeTypes = { 1: 'element', 3: 'textnode', 9: 'document', 11: 'fragment' },\n  \t\t\ttypes = 'Arguments Array Boolean Date Document Element Error Fragment Function NodeList Null Number Object RegExp String TextNode Undefined Window'.split(' ');\n  \n  \t\tfor (var i = types.length; i--; ) {\n  \t\t\tvar type = types[i], constructor = window[type];\n  \t\t\tif (constructor) {\n  \t\t\t\ttry { toStrings[toString.call(new constructor)] = type.toLowerCase(); }\n  \t\t\t\tcatch (e) { }\n  \t\t\t}\n  \t\t}\n  \n  \t\treturn function(item) {\n  \t\t\treturn item == null && (item === undefined ? _undef : 'null') ||\n  \t\t\t\titem.nodeType && nodeTypes[item.nodeType] ||\n  \t\t\t\ttypeof item.length == 'number' && (\n  \t\t\t\t\titem.callee && _arguments ||\n  \t\t\t\t\titem.alert && 'window' ||\n  \t\t\t\t\titem.item && 'nodelist') ||\n  \t\t\t\ttoStrings[toString.call(item)];\n  \t\t};\n  \n  \t})();\n  \n  \tvar isFunc = function(obj) { return getType(obj) == 'function'; };\n  \n  \t/**\n  \t * Private weaving function.\n  \t */\n  \tvar weaveOne = function(source, method, advice) {\n  \n  \t\tvar old = source[method];\n  \n  \t\t// Work-around IE6/7 behavior on some native method that return object instances\n  \t\tif (advice.type != _intro && !isFunc(old)) {\n  \t\t\tvar oldObject = old;\n  \t\t\told = function() {\n  \t\t\t\tvar code = arguments.length > 0 ? _arguments + '[0]' : '';\n  \n  \t\t\t\tfor (var i=1;i<arguments.length;i++) {\n  \t\t\t\t\tcode += ',' + _arguments + '[' + i + ']';\n  \t\t\t\t}\n  \n  \t\t\t\treturn eval('oldObject(' + code + ');');\n  \t\t\t};\n  \t\t}\n  \n  \t\tvar aspect;\n  \t\tif (advice.type == _after || advice.type == _afterThrow || advice.type == _afterFinally)\n  \t\t\taspect = function() {\n  \t\t\t\tvar returnValue, exceptionThrown = null;\n  \n  \t\t\t\ttry {\n  \t\t\t\t\treturnValue = old.apply(this, arguments);\n  \t\t\t\t} catch (e) {\n  \t\t\t\t\texceptionThrown = e;\n  \t\t\t\t}\n  \n  \t\t\t\tif (advice.type == _after)\n  \t\t\t\t\tif (exceptionThrown == null)\n  \t\t\t\t\t\treturnValue = advice.value.apply(this, [returnValue, method]);\n  \t\t\t\t\telse\n  \t\t\t\t\t\tthrow exceptionThrown;\n  \t\t\t\telse if (advice.type == _afterThrow && exceptionThrown != null)\n  \t\t\t\t\treturnValue = advice.value.apply(this, [exceptionThrown, method]);\n  \t\t\t\telse if (advice.type == _afterFinally)\n  \t\t\t\t\treturnValue = advice.value.apply(this, [returnValue, exceptionThrown, method]);\n  \n  \t\t\t\treturn returnValue;\n  \t\t\t};\n  \t\telse if (advice.type == _before)\n  \t\t\taspect = function() {\n  \t\t\t\tadvice.value.apply(this, [arguments, method]);\n  \t\t\t\treturn old.apply(this, arguments);\n  \t\t\t};\n  \t\telse if (advice.type == _intro)\n  \t\t\taspect = function() {\n  \t\t\t\treturn advice.value.apply(this, arguments);\n  \t\t\t};\n  \t\telse if (advice.type == _around) {\n  \t\t\taspect = function() {\n  \t\t\t\tvar invocation = { object: this, args: Array.prototype.slice.call(arguments) };\n  \t\t\t\treturn advice.value.apply(invocation.object, [{ arguments: invocation.args, method: method, proceed :\n  \t\t\t\t\tfunction() {\n  \t\t\t\t\t\treturn old.apply(invocation.object, invocation.args);\n  \t\t\t\t\t}\n  \t\t\t\t}] );\n  \t\t\t};\n  \t\t}\n  \n  \t\taspect.unweave = function() {\n  \t\t\tsource[method] = old;\n  \t\t\tpointcut = source = aspect = old = null;\n  \t\t};\n  \n  \t\tsource[method] = aspect;\n  \n  \t\treturn aspect;\n  \n  \t};\n  \n  \t/**\n  \t * Private method search\n  \t */\n  \tvar search = function(source, pointcut, advice) {\n  \n  \t\tvar methods = [];\n  \n  \t\tfor (var method in source) {\n  \n  \t\t\tvar item = null;\n  \n  \t\t\t// Ignore exceptions during method retrival\n  \t\t\ttry {\n  \t\t\t\titem = source[method];\n  \t\t\t}\n  \t\t\tcatch (e) { }\n  \n  \t\t\tif (item != null && method.match(pointcut.method) && isFunc(item))\n  \t\t\t\tmethods[methods.length] = { source: source, method: method, advice: advice };\n  \n  \t\t}\n  \n  \t\treturn methods;\n  \t};\n  \n  \t/**\n  \t * Private weaver and pointcut parser.\n  \t */\n  \tvar weave = function(pointcut, advice) {\n  \n  \t\tvar source = typeof(pointcut.target.prototype) != _undef ? pointcut.target.prototype : pointcut.target;\n  \t\tvar advices = [];\n  \n  \t\t// If it's not an introduction and no method was found, try with regex...\n  \t\tif (advice.type != _intro && typeof(source[pointcut.method]) == _undef) {\n  \n  \t\t\t// First try directly on target\n  \t\t\tvar methods = search(pointcut.target, pointcut, advice);\n  \n  \t\t\t// No method found, re-try directly on prototype\n  \t\t\tif (methods.length == 0)\n  \t\t\t\tmethods = search(source, pointcut, advice);\n  \n  \t\t\tfor (var i in methods)\n  \t\t\t\tadvices[advices.length] = weaveOne(methods[i].source, methods[i].method, methods[i].advice);\n  \n  \t\t}\n  \t\telse\n  \t\t{\n  \t\t\t// Return as an array of one element\n  \t\t\tadvices[0] = weaveOne(source, pointcut.method, advice);\n  \t\t}\n  \n  \t\treturn _regexEnabled ? advices : advices[0];\n  \n  \t};\n  \n  \tjQuery.aop =\n  \t{\n  \t\t/**\n  \t\t * Creates an advice after the defined point-cut. The advice will be executed after the point-cut method\n  \t\t * has completed execution successfully, and will receive one parameter with the result of the execution.\n  \t\t * This function returns an array of weaved aspects (Function).\n  \t\t *\n  \t\t * @example jQuery.aop.after( {target: window, method: 'MyGlobalMethod'}, function(result) {\n  \t\t *                alert('Returned: ' + result);\n  \t\t *                return result;\n  \t\t *          } );\n  \t\t * @result Array<Function>\n  \t\t *\n  \t\t * @example jQuery.aop.after( {target: String, method: 'indexOf'}, function(index) {\n  \t\t *                alert('Result found at: ' + index + ' on:' + this);\n  \t\t *                return index;\n  \t\t *          } );\n  \t\t * @result Array<Function>\n  \t\t *\n  \t\t * @name after\n  \t\t * @param Map pointcut Definition of the point-cut to apply the advice. A point-cut is the definition of the object/s and method/s to be weaved.\n  \t\t * @option Object target Target object to be weaved.\n  \t\t * @option String method Name of the function to be weaved. Regex are supported, but not on built-in objects.\n  \t\t * @param Function advice Function containing the code that will get called after the execution of the point-cut. It receives one parameter\n  \t\t *                        with the result of the point-cut's execution. The function can choose to return this same value or a different one.\n  \t\t *\n  \t\t * @type Array<Function>\n  \t\t * @cat Plugins/General\n  \t\t */\n  \t\tafter : function(pointcut, advice)\n  \t\t{\n  \t\t\treturn weave( pointcut, { type: _after, value: advice } );\n  \t\t},\n  \n  \t\t/**\n  \t\t * Creates an advice after the defined point-cut only for unhandled exceptions. The advice will be executed\n  \t\t * after the point-cut method only if the execution failed and an exception has been thrown. It will receive one\n  \t\t * parameter with the exception thrown by the point-cut method.\n  \t\t * This function returns an array of weaved aspects (Function).\n  \t\t *\n  \t\t * @example jQuery.aop.afterThrow( {target: String, method: 'indexOf'}, function(exception) {\n  \t\t *                alert('Unhandled exception: ' + exception);\n  \t\t *                return -1;\n  \t\t *          } );\n  \t\t * @result Array<Function>\n  \t\t *\n  \t\t * @example jQuery.aop.afterThrow( {target: calculator, method: 'Calculate'}, function(exception) {\n  \t\t *                console.log('Unhandled exception: ' + exception);\n  \t\t *                throw exception;\n  \t\t *          } );\n  \t\t * @result Array<Function>\n  \t\t *\n  \t\t * @name afterThrow\n  \t\t * @param Map pointcut Definition of the point-cut to apply the advice. A point-cut is the definition of the object/s and method/s to be weaved.\n  \t\t * @option Object target Target object to be weaved.\n  \t\t * @option String method Name of the function to be weaved. Regex are supported, but not on built-in objects.\n  \t\t * @param Function advice Function containing the code that will get called after the execution of the point-cut. It receives one parameter\n  \t\t *                        with the exception thrown by the point-cut method.\n  \t\t *\n  \t\t * @type Array<Function>\n  \t\t * @cat Plugins/General\n  \t\t */\n  \t\tafterThrow : function(pointcut, advice)\n  \t\t{\n  \t\t\treturn weave( pointcut, { type: _afterThrow, value: advice } );\n  \t\t},\n  \n  \t\t/**\n  \t\t * Creates an advice after the defined point-cut. The advice will be executed after the point-cut method\n  \t\t * regardless of its success or failure, and it will receive two parameters: one with the\n  \t\t * result of a successful execution or null, and another one with the exception thrown or null.\n  \t\t * This function returns an array of weaved aspects (Function).\n  \t\t *\n  \t\t * @example jQuery.aop.afterFinally( {target: window, method: 'MyGlobalMethod'}, function(result, exception) {\n  \t\t *                if (exception == null)\n  \t\t *                    return 'Returned: ' + result;\n  \t\t *                else\n  \t\t *                    return 'Unhandled exception: ' + exception;\n  \t\t *          } );\n  \t\t * @result Array<Function>\n  \t\t *\n  \t\t * @name afterFinally\n  \t\t * @param Map pointcut Definition of the point-cut to apply the advice. A point-cut is the definition of the object/s and method/s to be weaved.\n  \t\t * @option Object target Target object to be weaved.\n  \t\t * @option String method Name of the function to be weaved. Regex are supported, but not on built-in objects.\n  \t\t * @param Function advice Function containing the code that will get called after the execution of the point-cut regardless of its success or failure.\n  \t\t *                        It receives two parameters, the first one with the result of a successful execution or null, and the second one with the\n  \t\t *                        exception or null.\n  \t\t *\n  \t\t * @type Array<Function>\n  \t\t * @cat Plugins/General\n  \t\t */\n  \t\tafterFinally : function(pointcut, advice)\n  \t\t{\n  \t\t\treturn weave( pointcut, { type: _afterFinally, value: advice } );\n  \t\t},\n  \n  \n  \t\t/**\n  \t\t * Creates an advice before the defined point-cut. The advice will be executed before the point-cut method\n  \t\t * but cannot modify the behavior of the method, or prevent its execution.\n  \t\t * This function returns an array of weaved aspects (Function).\n  \t\t *\n  \t\t * @example jQuery.aop.before( {target: window, method: 'MyGlobalMethod'}, function() {\n  \t\t *                alert('About to execute MyGlobalMethod');\n  \t\t *          } );\n  \t\t * @result Array<Function>\n  \t\t *\n  \t\t * @example jQuery.aop.before( {target: String, method: 'indexOf'}, function(index) {\n  \t\t *                alert('About to execute String.indexOf on: ' + this);\n  \t\t *          } );\n  \t\t * @result Array<Function>\n  \t\t *\n  \t\t * @name before\n  \t\t * @param Map pointcut Definition of the point-cut to apply the advice. A point-cut is the definition of the object/s and method/s to be weaved.\n  \t\t * @option Object target Target object to be weaved.\n  \t\t * @option String method Name of the function to be weaved. Regex are supported, but not on built-in objects.\n  \t\t * @param Function advice Function containing the code that will get called before the execution of the point-cut.\n  \t\t *\n  \t\t * @type Array<Function>\n  \t\t * @cat Plugins/General\n  \t\t */\n  \t\tbefore : function(pointcut, advice)\n  \t\t{\n  \t\t\treturn weave( pointcut, { type: _before, value: advice } );\n  \t\t},\n  \n  \n  \t\t/**\n  \t\t * Creates an advice 'around' the defined point-cut. This type of advice can control the point-cut method execution by calling\n  \t\t * the functions '.proceed()' on the 'invocation' object, and also, can modify the arguments collection before sending them to the function call.\n  \t\t * This function returns an array of weaved aspects (Function).\n  \t\t *\n  \t\t * @example jQuery.aop.around( {target: window, method: 'MyGlobalMethod'}, function(invocation) {\n  \t\t *                alert('# of Arguments: ' + invocation.arguments.length);\n  \t\t *                return invocation.proceed();\n  \t\t *          } );\n  \t\t * @result Array<Function>\n  \t\t *\n  \t\t * @example jQuery.aop.around( {target: String, method: 'indexOf'}, function(invocation) {\n  \t\t *                alert('Searching: ' + invocation.arguments[0] + ' on: ' + this);\n  \t\t *                return invocation.proceed();\n  \t\t *          } );\n  \t\t * @result Array<Function>\n  \t\t *\n  \t\t * @example jQuery.aop.around( {target: window, method: /Get(\\d+)/}, function(invocation) {\n  \t\t *                alert('Executing ' + invocation.method);\n  \t\t *                return invocation.proceed();\n  \t\t *          } );\n  \t\t * @desc Matches all global methods starting with 'Get' and followed by a number.\n  \t\t * @result Array<Function>\n  \t\t *\n  \t\t *\n  \t\t * @name around\n  \t\t * @param Map pointcut Definition of the point-cut to apply the advice. A point-cut is the definition of the object/s and method/s to be weaved.\n  \t\t * @option Object target Target object to be weaved.\n  \t\t * @option String method Name of the function to be weaved. Regex are supported, but not on built-in objects.\n  \t\t * @param Function advice Function containing the code that will get called around the execution of the point-cut. This advice will be called with one\n  \t\t *                        argument containing one function '.proceed()', the collection of arguments '.arguments', and the matched method name '.method'.\n  \t\t *\n  \t\t * @type Array<Function>\n  \t\t * @cat Plugins/General\n  \t\t */\n  \t\taround : function(pointcut, advice)\n  \t\t{\n  \t\t\treturn weave( pointcut, { type: _around, value: advice } );\n  \t\t},\n  \n  \t\t/**\n  \t\t * Creates an introduction on the defined point-cut. This type of advice replaces any existing methods with the same\n  \t\t * name. To restore them, just unweave it.\n  \t\t * This function returns an array with only one weaved aspect (Function).\n  \t\t *\n  \t\t * @example jQuery.aop.introduction( {target: window, method: 'MyGlobalMethod'}, function(result) {\n  \t\t *                alert('Returned: ' + result);\n  \t\t *          } );\n  \t\t * @result Array<Function>\n  \t\t *\n  \t\t * @example jQuery.aop.introduction( {target: String, method: 'log'}, function() {\n  \t\t *                alert('Console: ' + this);\n  \t\t *          } );\n  \t\t * @result Array<Function>\n  \t\t *\n  \t\t * @name introduction\n  \t\t * @param Map pointcut Definition of the point-cut to apply the advice. A point-cut is the definition of the object/s and method/s to be weaved.\n  \t\t * @option Object target Target object to be weaved.\n  \t\t * @option String method Name of the function to be weaved.\n  \t\t * @param Function advice Function containing the code that will be executed on the point-cut.\n  \t\t *\n  \t\t * @type Array<Function>\n  \t\t * @cat Plugins/General\n  \t\t */\n  \t\tintroduction : function(pointcut, advice)\n  \t\t{\n  \t\t\treturn weave( pointcut, { type: _intro, value: advice } );\n  \t\t},\n  \n  \t\t/**\n  \t\t * Configures global options.\n  \t\t *\n  \t\t * @name setup\n  \t\t * @param Map settings Configuration options.\n  \t\t * @option Boolean regexMatch Enables/disables regex matching of method names.\n  \t\t *\n  \t\t * @example jQuery.aop.setup( { regexMatch: false } );\n  \t\t * @desc Disable regex matching.\n  \t\t *\n  \t\t * @type Void\n  \t\t * @cat Plugins/General\n  \t\t */\n  \t\tsetup: function(settings)\n  \t\t{\n  \t\t\t_regexEnabled = settings.regexMatch;\n  \t\t}\n  \t};\n  \n  })();\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/drop-down.js\n(typeof window === 'undefined' ? global : window).__5740ea7e6dc9b0f9dd7e58be86dc9431 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n      value: true\n  });\n  \n  var _jquery = __d931c30d7068216ce2c2064d08fd424c;\n  \n  var _jquery2 = _interopRequireDefault(_jquery);\n  \n  __63cf05a740a3080daa5b8a107d263ae2;\n  \n  var _deprecation = __2283e259423cbf11e76a3bf5e9e47933;\n  \n  var deprecate = _interopRequireWildcard(_deprecation);\n  \n  var _log = __16a4a3246fcb7206cb3ce72a302f68ce;\n  \n  var logger = _interopRequireWildcard(_log);\n  \n  var _createElement = __175b17b398f7d3e1f6beaa15cef1cc5c;\n  \n  var _createElement2 = _interopRequireDefault(_createElement);\n  \n  var _globalize = __58c75a0e7e2cf47e300bc2f2ecec24a2;\n  \n  var _globalize2 = _interopRequireDefault(_globalize);\n  \n  function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  /**\n   * Displays a drop down, typically used for menus.\n   *\n   * @param obj {jQuery Object|String|Array} object to populate the drop down from.\n   * @param usroptions optional dropdown configuration. Supported properties are:\n   * <li>alignment - \"left\" or \"right\" alignment of the drop down</li>\n   * <li>escapeHandler - function to handle on escape key presses</li>\n   * <li>activeClass - class name to be added to drop down items when 'active' ie. hover over</li>\n   * <li>selectionHandler - function to handle when drop down items are selected on</li>\n   * <li>hideHandler - function to handle when the drop down is hidden</li>\n   * When an object of type Array is passed in, you can also configure:\n   * <li>isHiddenByDefault - set to true if you would like to hide the drop down on initialisation</li>\n   * <li>displayHandler - function to display text in the drop down</li>\n   * <li>useDisabled - If set to true, the dropdown will not appear if a class of disabled is added to aui-dd-parent</li>\n   *\n   * @returns {Array} an array of jQuery objects, referring to the drop down container elements\n   */\n  function dropDown(obj, usroptions) {\n      var dd = null;\n      var result = [];\n      var moving = false;\n      var $doc = (0, _jquery2.default)(document);\n      var options = {\n          item: 'li:has(a)',\n          activeClass: 'active',\n          alignment: 'right',\n          displayHandler: function displayHandler(obj) {\n              return obj.name;\n          },\n          escapeHandler: function escapeHandler() {\n              this.hide('escape');\n              return false;\n          },\n          hideHandler: function hideHandler() {},\n          moveHandler: function moveHandler() {},\n          useDisabled: false\n      };\n  \n      _jquery2.default.extend(options, usroptions);\n      options.alignment = { left: 'left', right: 'right' }[options.alignment.toLowerCase()] || 'left';\n  \n      if (obj && obj.jquery) {\n          // if $\n          dd = obj;\n      } else if (typeof obj === 'string') {\n          // if $ selector\n          dd = (0, _jquery2.default)(obj);\n      } else if (obj && obj.constructor === Array) {\n          // if JSON\n          dd = (0, _createElement2.default)('div').addClass('aui-dropdown').toggleClass('hidden', !!options.isHiddenByDefault);\n          for (var i = 0, ii = obj.length; i < ii; i++) {\n              var ol = (0, _createElement2.default)('ol');\n              for (var j = 0, jj = obj[i].length; j < jj; j++) {\n                  var li = (0, _createElement2.default)('li');\n                  var properties = obj[i][j];\n                  if (properties.href) {\n                      li.append((0, _createElement2.default)('a').html('<span>' + options.displayHandler(properties) + '</span>').attr({ href: properties.href }).addClass(properties.className));\n  \n                      // deprecated - use the properties on the li, not the span\n                      _jquery2.default.data((0, _jquery2.default)('a > span', li)[0], 'properties', properties);\n                  } else {\n                      li.html(properties.html).addClass(properties.className);\n                  }\n                  if (properties.icon) {\n                      li.prepend((0, _createElement2.default)('img').attr('src', properties.icon));\n                  }\n                  if (properties.insideSpanIcon) {\n                      li.children('a').prepend((0, _createElement2.default)('span').attr('class', 'icon'));\n                  }\n                  if (properties.iconFontClass) {\n                      li.children('a').prepend((0, _createElement2.default)('span').addClass('aui-icon aui-icon-small aui-iconfont-' + properties.iconFontClass));\n                  }\n  \n                  _jquery2.default.data(li[0], 'properties', properties);\n                  ol.append(li);\n              }\n              if (i === ii - 1) {\n                  ol.addClass('last');\n              }\n              dd.append(ol);\n          }\n          (0, _jquery2.default)('body').append(dd);\n      } else {\n          throw new Error('dropDown function was called with illegal parameter. Should be $ object, $ selector or array.');\n      }\n  \n      var moveDown = function moveDown() {\n          move(+1);\n      };\n  \n      var moveUp = function moveUp() {\n          move(-1);\n      };\n  \n      var move = function move(dir) {\n          var trigger = !moving;\n          var cdd = dropDown.current.$[0];\n          var links = dropDown.current.links;\n          var oldFocus = cdd.focused;\n  \n          moving = true;\n  \n          if (links.length === 0) {\n              // Nothing to move focus to. Abort.\n              return;\n          }\n  \n          cdd.focused = typeof oldFocus === 'number' ? oldFocus : -1;\n  \n          if (!dropDown.current) {\n              logger.log('move - not current, aborting');\n              return true;\n          }\n  \n          cdd.focused += dir;\n  \n          // Resolve out of bounds values:\n          if (cdd.focused < 0) {\n              cdd.focused = links.length - 1;\n          } else if (cdd.focused >= links.length) {\n              cdd.focused = 0;\n          }\n  \n          options.moveHandler((0, _jquery2.default)(links[cdd.focused]), dir < 0 ? 'up' : 'down');\n          if (trigger && links.length) {\n              (0, _jquery2.default)(links[cdd.focused]).addClass(options.activeClass);\n              moving = false;\n          } else if (!links.length) {\n              moving = false;\n          }\n      };\n  \n      var moveFocus = function moveFocus(e) {\n          if (!dropDown.current) {\n              return true;\n          }\n          var c = e.which,\n              cdd = dropDown.current.$[0],\n              links = dropDown.current.links;\n  \n          dropDown.current.cleanActive();\n          switch (c) {\n              case 40:\n                  {\n                      moveDown();\n                      break;\n                  }\n              case 38:\n                  {\n                      moveUp();\n                      break;\n                  }\n              case 27:\n                  {\n                      return options.escapeHandler.call(dropDown.current, e);\n                  }\n              case 13:\n                  {\n                      if (cdd.focused >= 0) {\n                          if (!options.selectionHandler) {\n                              if ((0, _jquery2.default)(links[cdd.focused]).attr('nodeName') != 'a') {\n                                  return (0, _jquery2.default)('a', links[cdd.focused]).trigger('focus'); //focus on the \"a\" within the parent item elements\n                              } else {\n                                  return (0, _jquery2.default)(links[cdd.focused]).trigger('focus'); //focus on the \"a\"\n                              }\n                          } else {\n                              return options.selectionHandler.call(dropDown.current, e, (0, _jquery2.default)(links[cdd.focused])); //call the selection handler\n                          }\n                      }\n                      return true;\n                  }\n              default:\n                  {\n                      if (links.length) {\n                          (0, _jquery2.default)(links[cdd.focused]).addClass(options.activeClass);\n                      }\n                      return true;\n                  }\n          }\n  \n          e.stopPropagation();\n          e.preventDefault();\n          return false;\n      };\n  \n      var hider = function hider(e) {\n          if (!(e && e.which && e.which == 3 || e && e.button && e.button == 2 || false)) {\n              // right click check\n              if (dropDown.current) {\n                  dropDown.current.hide('click');\n              }\n          }\n      };\n      var active = function active(i) {\n          return function () {\n              if (!dropDown.current) {\n                  return;\n              }\n              dropDown.current.cleanFocus();\n              this.originalClass = this.className;\n              (0, _jquery2.default)(this).addClass(options.activeClass);\n              dropDown.current.$[0].focused = i;\n          };\n      };\n  \n      var handleClickSelection = function handleClickSelection(e) {\n          if (e.button || e.metaKey || e.ctrlKey || e.shiftKey) {\n              return true;\n          }\n          if (dropDown.current && options.selectionHandler) {\n              options.selectionHandler.call(dropDown.current, e, (0, _jquery2.default)(this));\n          }\n      };\n  \n      var isEventsBound = function isEventsBound(el) {\n          var bound = false;\n          if (el.data('events')) {\n              _jquery2.default.each(el.data('events'), function (i, handler) {\n                  _jquery2.default.each(handler, function (type, handler) {\n                      if (handleClickSelection === handler) {\n                          bound = true;\n                          return false;\n                      }\n                  });\n              });\n          }\n          return bound;\n      };\n  \n      dd.each(function () {\n          var cdd = this,\n              $cdd = (0, _jquery2.default)(this),\n              res = {};\n          var methods = {\n              reset: function reset() {\n                  res = _jquery2.default.extend(res, {\n                      $: $cdd,\n                      links: (0, _jquery2.default)(options.item || 'li:has(a)', cdd),\n                      cleanActive: function cleanActive() {\n                          if (cdd.focused + 1 && res.links.length) {\n                              (0, _jquery2.default)(res.links[cdd.focused]).removeClass(options.activeClass);\n                          }\n                      },\n                      cleanFocus: function cleanFocus() {\n                          res.cleanActive();\n                          cdd.focused = -1;\n                      },\n                      moveDown: moveDown,\n                      moveUp: moveUp,\n                      moveFocus: moveFocus,\n                      getFocusIndex: function getFocusIndex() {\n                          return typeof cdd.focused == 'number' ? cdd.focused : -1;\n                      }\n                  });\n                  res.links.each(function (i) {\n                      var $this = (0, _jquery2.default)(this);\n                      if (!isEventsBound($this)) {\n                          $this.hover(active(i), res.cleanFocus);\n                          $this.click(handleClickSelection);\n                      }\n                  });\n              },\n              appear: function appear(dir) {\n                  if (dir) {\n                      $cdd.removeClass('hidden');\n                      //handle left or right alignment\n                      $cdd.addClass('aui-dropdown-' + options.alignment);\n                  } else {\n                      $cdd.addClass('hidden');\n                  }\n              },\n              fade: function fade(dir) {\n                  if (dir) {\n                      $cdd.fadeIn('fast');\n                  } else {\n                      $cdd.fadeOut('fast');\n                  }\n              },\n              scroll: function scroll(dir) {\n                  if (dir) {\n                      $cdd.slideDown('fast');\n                  } else {\n                      $cdd.slideUp('fast');\n                  }\n              }\n          };\n  \n          res.reset = methods.reset;\n          res.reset();\n  \n          /**\n           * Uses Aspect Oriented Programming (AOP) to wrap a method around another method\n           * Allows control of the execution of the wrapped method.\n           * specified method has returned @see $.aop\n           * @method addControlProcess\n           * @param {String} methodName - Name of a public method\n           * @param {Function} callback - Function to be executed\n           * @return {Array} weaved aspect\n           */\n          res.addControlProcess = function (method, process) {\n              _jquery2.default.aop.around({ target: this, method: method }, process);\n          };\n  \n          /**\n           * Uses Aspect Oriented Programming (AOP) to insert callback <em>after</em> the\n           * specified method has returned @see $.aop\n           * @method addCallback\n           * @param {String} methodName - Name of a public method\n           * @param {Function} callback - Function to be executed\n           * @return {Array} weaved aspect\n           */\n          res.addCallback = function (method, callback) {\n              return _jquery2.default.aop.after({ target: this, method: method }, callback);\n          };\n  \n          res.show = function (method) {\n              if (options.useDisabled && this.$.closest('.aui-dd-parent').hasClass('disabled')) {\n                  return;\n              }\n  \n              this.alignment = options.alignment;\n              hider();\n              dropDown.current = this;\n              this.method = method || this.method || 'appear';\n  \n              this.timer = setTimeout(function () {\n                  $doc.click(hider);\n              }, 0);\n  \n              $doc.keydown(moveFocus);\n  \n              if (options.firstSelected && this.links[0]) {\n                  active(0).call(this.links[0]);\n              }\n  \n              (0, _jquery2.default)(cdd.offsetParent).css({ zIndex: 2000 });\n              methods[this.method](true);\n  \n              (0, _jquery2.default)(document).trigger('showLayer', ['dropdown', dropDown.current]);\n          };\n  \n          res.hide = function (causer) {\n              this.method = this.method || 'appear';\n              (0, _jquery2.default)($cdd.get(0).offsetParent).css({ zIndex: '' });\n              this.cleanFocus();\n              methods[this.method](false);\n              $doc.unbind('click', hider).unbind('keydown', moveFocus);\n              (0, _jquery2.default)(document).trigger('hideLayer', ['dropdown', dropDown.current]);\n              dropDown.current = null;\n              return causer;\n          };\n  \n          res.addCallback('reset', function () {\n              if (options.firstSelected && this.links[0]) {\n                  active(0).call(this.links[0]);\n              }\n          });\n  \n          if (!dropDown.iframes) {\n              dropDown.iframes = [];\n          }\n  \n          dropDown.createShims = function createShims() {\n              (0, _jquery2.default)('iframe').each(function (idx) {\n                  var iframe = this;\n                  if (!iframe.shim) {\n                      iframe.shim = (0, _jquery2.default)('<div />').addClass('shim hidden').appendTo('body');\n                      dropDown.iframes.push(iframe);\n                  }\n              });\n              return createShims;\n          }();\n  \n          res.addCallback('show', function () {\n              (0, _jquery2.default)(dropDown.iframes).each(function () {\n                  var $this = (0, _jquery2.default)(this);\n  \n                  if ($this.is(':visible')) {\n                      var offset = $this.offset();\n                      offset.height = $this.height();\n                      offset.width = $this.width();\n                      this.shim.css({\n                          left: offset.left + 'px',\n                          top: offset.top + 'px',\n                          height: offset.height + 'px',\n                          width: offset.width + 'px'\n                      }).removeClass('hidden');\n                  }\n              });\n          });\n  \n          res.addCallback('hide', function () {\n              (0, _jquery2.default)(dropDown.iframes).each(function () {\n                  this.shim.addClass('hidden');\n              });\n              options.hideHandler();\n          });\n          result.push(res);\n      });\n      return result;\n  };\n  \n  /**\n   * For the given item in the drop down get the value of the named additional property. If there is no\n   * property with the specified name then null will be returned.\n   *\n   * @method getAdditionalPropertyValue\n   * @namespace dropDown\n   * @param item {Object} jQuery Object of the drop down item. An LI element is expected.\n   * @param name {String} name of the property to retrieve\n   */\n  dropDown.getAdditionalPropertyValue = function (item, name) {\n      var el = item[0];\n      if (!el || typeof el.tagName !== 'string' || el.tagName.toLowerCase() !== 'li') {\n          // we are moving the location of the properties and want to deprecate the attachment to the span\n          // but are unsure where and how its being called so for now we just log\n          logger.log('dropDown.getAdditionalPropertyValue : item passed in should be an LI element wrapped by jQuery');\n      }\n      var properties = _jquery2.default.data(el, 'properties');\n      return properties ? properties[name] : null;\n  };\n  \n  /**\n   * Only here for backwards compatibility\n   * @method removeAllAdditionalProperties\n   * @namespace dropDown\n   * @deprecated Since 3.0\n   */\n  dropDown.removeAllAdditionalProperties = function (item) {};\n  \n  /**\n   * Base dropdown control. Enables you to identify triggers that when clicked, display dropdown.\n   *\n   * @class Standard\n   * @constructor\n   * @namespace dropDown\n   * @param {Object} usroptions\n   * @return {Object\n   */\n  dropDown.Standard = function (usroptions) {\n  \n      var res = [],\n          dropdownParents,\n          options = {\n          selector: '.aui-dd-parent',\n          dropDown: '.aui-dropdown',\n          trigger: '.aui-dd-trigger'\n      };\n  \n      // extend defaults with user options\n      _jquery2.default.extend(options, usroptions);\n  \n      var hookUpDropDown = function hookUpDropDown($trigger, $parent, $dropdown, ddcontrol) {\n          // extend to control to have any additional properties/methods\n          _jquery2.default.extend(ddcontrol, { trigger: $trigger });\n  \n          // flag it to prevent additional dd controls being applied\n          $parent.addClass('dd-allocated');\n  \n          //hide dropdown if not already hidden\n          $dropdown.addClass('hidden');\n  \n          //show the dropdown if isHiddenByDefault is set to false\n          if (options.isHiddenByDefault == false) {\n              ddcontrol.show();\n          }\n  \n          ddcontrol.addCallback('show', function () {\n              $parent.addClass('active');\n          });\n  \n          ddcontrol.addCallback('hide', function () {\n              $parent.removeClass('active');\n          });\n      };\n  \n      var handleEvent = function handleEvent(event, $trigger, $dropdown, ddcontrol) {\n          if (ddcontrol != dropDown.current) {\n              $dropdown.css({ top: $trigger.outerHeight() });\n              ddcontrol.show();\n              event.stopImmediatePropagation();\n          }\n          event.preventDefault();\n      };\n  \n      if (options.useLiveEvents) {\n          // cache arrays so that we don't have to recalculate the dropdowns. Since we can't store objects as keys in a map,\n          // we have two arrays: keysCache stores keys of dropdown triggers; valuesCache stores a map of internally used objects\n          var keysCache = [];\n          var valuesCache = [];\n  \n          (0, _jquery2.default)(options.trigger).live('click', function (event) {\n              var $trigger = (0, _jquery2.default)(this);\n              var $parent, $dropdown, ddcontrol;\n  \n              // if we're cached, don't recalculate the dropdown and do all that funny shite.\n              var index;\n              if ((index = _jquery2.default.inArray(this, keysCache)) >= 0) {\n                  var val = valuesCache[index];\n                  $parent = val['parent'];\n                  $dropdown = val['dropdown'];\n                  ddcontrol = val['ddcontrol'];\n              } else {\n                  $parent = $trigger.closest(options.selector);\n                  $dropdown = $parent.find(options.dropDown);\n                  // Sanity checking\n                  if ($dropdown.length === 0) {\n                      return;\n                  }\n  \n                  ddcontrol = dropDown($dropdown, options)[0];\n                  // Sanity checking\n                  if (!ddcontrol) {\n                      return;\n                  }\n  \n                  // cache\n                  keysCache.push(this);\n                  val = {\n                      parent: $parent,\n                      dropdown: $dropdown,\n                      ddcontrol: ddcontrol\n                  };\n  \n                  hookUpDropDown($trigger, $parent, $dropdown, ddcontrol);\n  \n                  valuesCache.push(val);\n              }\n  \n              handleEvent(event, $trigger, $dropdown, ddcontrol);\n          });\n      } else {\n          // handling for jQuery collections\n          if (this instanceof _jquery2.default) {\n              dropdownParents = this;\n              // handling for selectors\n          } else {\n              dropdownParents = (0, _jquery2.default)(options.selector);\n          }\n  \n          // a series of checks to ensure we are dealing with valid dropdowns\n          dropdownParents = dropdownParents.not('.dd-allocated').filter(':has(' + options.dropDown + ')').filter(':has(' + options.trigger + ')');\n  \n          dropdownParents.each(function () {\n              var $parent = (0, _jquery2.default)(this),\n                  $dropdown = (0, _jquery2.default)(options.dropDown, this),\n                  $trigger = (0, _jquery2.default)(options.trigger, this),\n                  ddcontrol = dropDown($dropdown, options)[0];\n  \n              // extend to control to have any additional properties/methods\n              _jquery2.default.extend(ddcontrol, { trigger: $trigger });\n  \n              hookUpDropDown($trigger, $parent, $dropdown, ddcontrol);\n  \n              $trigger.click(function (e) {\n                  handleEvent(e, $trigger, $dropdown, ddcontrol);\n              });\n  \n              // add control to the response\n              res.push(ddcontrol);\n          });\n      }\n      return res;\n  };\n  \n  /**\n   * A NewStandard dropdown, however, with the ability to populate its content's via ajax.\n   *\n   * @class Ajax\n   * @constructor\n   * @namespace dropDown\n   * @param {Object} options\n   * @return {Object} dropDown instance\n   */\n  dropDown.Ajax = function (usroptions) {\n  \n      var dropdowns,\n          options = { cache: true };\n  \n      // extend defaults with user options\n      _jquery2.default.extend(options, usroptions || {});\n  \n      // we call with \"this\" in case we are called in the context of a jQuery collection\n      dropdowns = dropDown.Standard.call(this, options);\n  \n      (0, _jquery2.default)(dropdowns).each(function () {\n  \n          var ddcontrol = this;\n  \n          _jquery2.default.extend(ddcontrol, {\n              getAjaxOptions: function getAjaxOptions(opts) {\n                  var success = function success(response) {\n                      if (options.formatResults) {\n                          response = options.formatResults(response);\n                      }\n                      if (options.cache) {\n                          ddcontrol.cache.set(ddcontrol.getAjaxOptions(), response);\n                      }\n                      ddcontrol.refreshSuccess(response);\n                  };\n                  if (options.ajaxOptions) {\n  \n                      if (_jquery2.default.isFunction(options.ajaxOptions)) {\n                          return _jquery2.default.extend(options.ajaxOptions.call(ddcontrol), { success: success });\n                      } else {\n                          return _jquery2.default.extend(options.ajaxOptions, { success: success });\n                      }\n                  }\n                  return _jquery2.default.extend(opts, { success: success });\n              },\n  \n              refreshSuccess: function refreshSuccess(response) {\n                  this.$.html(response);\n              },\n  \n              cache: function () {\n                  var c = {};\n                  return {\n                      get: function get(ajaxOptions) {\n                          var data = ajaxOptions.data || '';\n                          return c[(ajaxOptions.url + data).replace(/[\\?\\&]/gi, '')];\n                      },\n                      set: function set(ajaxOptions, responseData) {\n                          var data = ajaxOptions.data || '';\n                          c[(ajaxOptions.url + data).replace(/[\\?\\&]/gi, '')] = responseData;\n                      },\n                      reset: function reset() {\n                          c = {};\n                      }\n                  };\n              }(),\n  \n              show: function (superMethod) {\n                  return function () {\n                      if (options.cache && !!ddcontrol.cache.get(ddcontrol.getAjaxOptions())) {\n                          ddcontrol.refreshSuccess(ddcontrol.cache.get(ddcontrol.getAjaxOptions()));\n                          superMethod.call(ddcontrol);\n                      } else {\n                          (0, _jquery2.default)(_jquery2.default.ajax(ddcontrol.getAjaxOptions())).throbber({ target: ddcontrol.$,\n                              end: function end() {\n                                  ddcontrol.reset();\n                              }\n                          });\n                          superMethod.call(ddcontrol);\n                          if (ddcontrol.iframeShim) {\n                              ddcontrol.iframeShim.hide();\n                          }\n                      }\n                  };\n              }(ddcontrol.show),\n  \n              resetCache: function resetCache() {\n                  ddcontrol.cache.reset();\n              }\n          });\n          ddcontrol.addCallback('refreshSuccess', function () {\n              ddcontrol.reset();\n          });\n      });\n      return dropdowns;\n  };\n  \n  // OMG. No. Just no.\n  _jquery2.default.fn.dropDown = function (type, options) {\n      type = (type || 'Standard').replace(/^([a-z])/, function (match) {\n          return match.toUpperCase();\n      });\n      return dropDown[type].call(this, options);\n  };\n  \n  _jquery2.default.fn.dropDown = deprecate.construct(_jquery2.default.fn.dropDown, 'Dropdown constructor', {\n      alternativeName: 'Dropdown2'\n  });\n  \n  (0, _globalize2.default)('dropDown', dropDown);\n  \n  exports.default = dropDown;\n  module.exports = exports['default'];\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/escape.js\n(typeof window === 'undefined' ? global : window).__dd3e37944019032c69ec531a17d9e363 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n      value: true\n  });\n  \n  var _globalize = __58c75a0e7e2cf47e300bc2f2ecec24a2;\n  \n  var _globalize2 = _interopRequireDefault(_globalize);\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  /**\n   * Similar to Javascript's in-built escape() function, but where the built-in escape()\n   * might encode unicode charaters as %uHHHH, this function will leave them as-is.\n   *\n   * NOTE: this function does not do html-escaping, see escapeHtml().\n   */\n  var jsEscape = window.escape;\n  \n  function escape(string) {\n      return jsEscape(string).replace(/%u\\w{4}/gi, function (w) {\n          return unescape(w);\n      });\n  }\n  \n  (0, _globalize2.default)('escape', escape);\n  \n  exports.default = escape;\n  module.exports = exports['default'];\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/filter-by-search.js\n(typeof window === 'undefined' ? global : window).__7f51b7bbc8af8f6349ed6c090d6f5188 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n      value: true\n  });\n  \n  var _deprecation = __2283e259423cbf11e76a3bf5e9e47933;\n  \n  var _globalize = __58c75a0e7e2cf47e300bc2f2ecec24a2;\n  \n  var _globalize2 = _interopRequireDefault(_globalize);\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  /**\n   * Filters a list of entries by a passed search term.\n   *\n   * Options:\n   * - `keywordsField` name of entry field containing keywords, default \"keywords\".\n   * - `ignoreForCamelCase` ignore search case for camel case, e.g. CB matches Code Block *and* Code block.\n   * - `matchBoundary` match words only at boundary, e.g. link matches \"linking\" but not \"hyperlinks\".\n   * - `splitRegex` regex to split search words, instead of on whitespace.\n   *\n   * @param {Array} entries An array of objects with a \"keywords\" property.\n   * @param {String} search One or more words to search on, which may include camel-casing.\n   * @param {Object} options Specifiy to override default behaviour.\n   *\n   * @returns {Array}\n   */\n  function filterBySearch(entries, search, options) {\n      // search for nothing, get nothing - up to calling code to handle.\n      if (!search) {\n          return [];\n      }\n  \n      var keywordsField = options && options.keywordsField || 'keywords';\n      var camelCaseFlags = options && options.ignoreForCamelCase ? 'i' : '';\n      var boundaryFlag = options && options.matchBoundary ? '\\\\b' : '';\n      var splitRegex = options && options.splitRegex || /\\s+/;\n  \n      // each word in the input is considered a distinct filter that has to match a keyword in the record\n      var filterWords = search.split(splitRegex);\n      var filters = [];\n  \n      filterWords.forEach(function (word) {\n          // anchor on word boundaries\n          var subfilters = [new RegExp(boundaryFlag + word, 'i')];\n  \n          // split camel-case into separate words\n          if (/^([A-Z][a-z]*) {2,}$/.test(this)) {\n              var camelRegexStr = this.replace(/([A-Z][a-z]*)/g, '\\\\b$1[^,]*');\n  \n              subfilters.push(new RegExp(camelRegexStr, camelCaseFlags));\n          }\n  \n          filters.push(subfilters);\n      });\n  \n      var result = [];\n  \n      entries.forEach(function (entry) {\n          for (var i = 0; i < filters.length; i++) {\n              var somethingMatches = false;\n  \n              for (var j = 0; j < filters[i].length; j++) {\n                  if (filters[i][j].test(entry[keywordsField])) {\n                      somethingMatches = true;\n                      break;\n                  }\n              }\n  \n              if (!somethingMatches) {\n                  return;\n              }\n          }\n  \n          result.push(entry);\n      });\n  \n      return result;\n  }\n  \n  var filterBySearch = (0, _deprecation.fn)(filterBySearch, 'filterBySearch', {\n      sinceVersion: '5.9.0',\n      extraInfo: 'No alternative will be provided. If products require this function, this should be copied.'\n  });\n  \n  (0, _globalize2.default)('filterBySearch', filterBySearch);\n  \n  exports.default = filterBySearch;\n  module.exports = exports['default'];\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/include.js\n(typeof window === 'undefined' ? global : window).__3414acd0470b3e89526fab2f2b863c78 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n      value: true\n  });\n  \n  var _jquery = __d931c30d7068216ce2c2064d08fd424c;\n  \n  var _jquery2 = _interopRequireDefault(_jquery);\n  \n  var _deprecation = __2283e259423cbf11e76a3bf5e9e47933;\n  \n  var _contains = __b84c8e24a388d865c6af879ebb8e3811;\n  \n  var _contains2 = _interopRequireDefault(_contains);\n  \n  var _globalize = __58c75a0e7e2cf47e300bc2f2ecec24a2;\n  \n  var _globalize2 = _interopRequireDefault(_globalize);\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  var included = [];\n  \n  function include(url) {\n      if (!(0, _contains2.default)(included, url)) {\n          included.push(url);\n          var s = document.createElement('script');\n          s.src = url;\n          (0, _jquery2.default)('body').append(s);\n      }\n  }\n  \n  var include = (0, _deprecation.fn)(include, 'include', {\n      sinceVersion: '5.9.0',\n      extraInfo: 'No alternative will be provided. Use a proper module loader instead.'\n  });\n  \n  (0, _globalize2.default)('include', include);\n  \n  exports.default = include;\n  module.exports = exports['default'];\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/inline-dialog2.js\n(typeof window === 'undefined' ? global : window).__ff0ef317d865aa1ac45975761d36cb5f = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n      value: true\n  });\n  \n  var _jquery = __d931c30d7068216ce2c2064d08fd424c;\n  \n  var _jquery2 = _interopRequireDefault(_jquery);\n  \n  var _alignment = __1c8b45ce15e2aedaf2079a51e1071300;\n  \n  var _alignment2 = _interopRequireDefault(_alignment);\n  \n  var _amdify = __be45a6ea1a54cc6fd0d790c9af8bc7fe;\n  \n  var _amdify2 = _interopRequireDefault(_amdify);\n  \n  var _attributes = __47153a78b0936470f7ca1127e29a148c;\n  \n  var _attributes2 = _interopRequireDefault(_attributes);\n  \n  var _enforcer = __fcef6c85f04d040b520e6625d1397941;\n  \n  var _enforcer2 = _interopRequireDefault(_enforcer);\n  \n  var _globalize = __58c75a0e7e2cf47e300bc2f2ecec24a2;\n  \n  var _globalize2 = _interopRequireDefault(_globalize);\n  \n  var _layer = __e0d3e833c519cf116c3cdd59e52f030e;\n  \n  var _layer2 = _interopRequireDefault(_layer);\n  \n  var _skate = __0e8fe5f46f722f07c64d1f183c324dd8;\n  \n  var _skate2 = _interopRequireDefault(_skate);\n  \n  var _state = __0dd0fdb33ed7640afe4a12f58deb4456;\n  \n  var _state2 = _interopRequireDefault(_state);\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  var DEFAULT_HOVEROUT_DELAY = 1000;\n  \n  function getTrigger(element) {\n      return document.querySelector('[aria-controls=\"' + element.id + '\"]');\n  }\n  \n  function doIfTrigger(element, callback) {\n      var trigger = getTrigger(element);\n  \n      if (trigger) {\n          callback(trigger);\n      }\n  }\n  \n  function initAlignment(element, trigger) {\n      if (!element._auiAlignment) {\n          element._auiAlignment = new _alignment2.default(element, trigger);\n      }\n  }\n  \n  function enableAlignment(element, trigger) {\n      initAlignment(element, trigger);\n      element._auiAlignment.enable();\n  }\n  \n  function disableAlignment(element, trigger) {\n      initAlignment(element, trigger);\n      element._auiAlignment.disable();\n  }\n  \n  function handleMessage(element, message) {\n      var messageTypeMap = {\n          toggle: ['click'],\n          hover: ['mouseenter', 'mouseleave', 'focus', 'blur']\n      };\n  \n      var messageList = messageTypeMap[element.respondsTo];\n      if (messageList && messageList.indexOf(message.type) > -1) {\n          messageHandler[message.type](element, message);\n      }\n  }\n  \n  var messageHandler = {\n      click: function click(element) {\n          if (element.open) {\n              if (!(0, _layer2.default)(element).isPersistent()) {\n                  element.open = false;\n              }\n          } else {\n              element.open = true;\n          }\n      },\n  \n      mouseenter: function mouseenter(element) {\n          if (!element.open) {\n              element.open = true;\n          }\n  \n          if (element._clearMouseleaveTimeout) {\n              element._clearMouseleaveTimeout();\n          }\n      },\n  \n      mouseleave: function mouseleave(element) {\n          if ((0, _layer2.default)(element).isPersistent() || !element.open) {\n              return;\n          }\n  \n          if (element._clearMouseleaveTimeout) {\n              element._clearMouseleaveTimeout();\n          }\n  \n          var timeout = setTimeout(function () {\n              if (!(0, _state2.default)(element).get('mouse-inside')) {\n                  element.open = false;\n              }\n          }, DEFAULT_HOVEROUT_DELAY);\n  \n          element._clearMouseleaveTimeout = function () {\n              clearTimeout(timeout);\n              element._clearMouseleaveTimeout = null;\n          };\n      },\n  \n      focus: function focus(element) {\n          if (!element.open) {\n              element.open = true;\n          }\n      },\n  \n      blur: function blur(element) {\n          if (!(0, _layer2.default)(element).isPersistent() && element.open) {\n              element.open = false;\n          }\n      }\n  };\n  \n  function onMouseEnter(e) {\n      var element = e.target;\n      (0, _state2.default)(element).set('mouse-inside', true);\n      element.message({\n          type: 'mouseenter'\n      });\n  }\n  \n  function onMouseLeave(e) {\n      var element = e.target;\n      (0, _state2.default)(element).set('mouse-inside', false);\n      element.message({\n          type: 'mouseleave'\n      });\n  }\n  \n  function rebindMouseEvents(el) {\n      (0, _state2.default)(el).set('mouse-inside', undefined);\n      el.removeEventListener('mouseenter', onMouseEnter);\n      el.removeEventListener('mouseleave', onMouseLeave);\n  \n      if (el.respondsTo === 'hover') {\n          (0, _state2.default)(el).set('mouse-inside', false);\n          el.addEventListener('mouseenter', onMouseEnter);\n          el.addEventListener('mouseleave', onMouseLeave);\n      }\n  }\n  \n  function showInlineDialog(el) {\n      (0, _layer2.default)(el).show();\n      if ((0, _layer2.default)(el).isVisible()) {\n          doIfTrigger(el, function (trigger) {\n              enableAlignment(el, trigger);\n              trigger.setAttribute('aria-expanded', 'true');\n          });\n      } else {\n          el.open = false;\n      }\n  }\n  \n  function hideInlineDialog(el) {\n      (0, _layer2.default)(el).hide();\n      if (!(0, _layer2.default)(el).isVisible()) {\n          doIfTrigger(el, function (trigger) {\n              disableAlignment(el, trigger);\n              trigger.setAttribute('aria-expanded', 'false');\n          });\n      } else {\n          el.open = true;\n      }\n  }\n  \n  function reflectOpenness(el) {\n      var isInitalizing = !el.hasAttribute('aria-hidden');\n      var shouldBeOpen = el.hasAttribute('open');\n      if (isInitalizing || el.open !== shouldBeOpen) {\n          if (shouldBeOpen) {\n              (0, _state2.default)(el).set('is-processing-show', true);\n              showInlineDialog(el);\n              (0, _state2.default)(el).set('is-processing-show', false);\n          } else {\n              hideInlineDialog(el);\n          }\n      }\n  }\n  \n  var RESPONDS_TO_ATTRIBUTE_ENUM = {\n      attribute: 'responds-to',\n      values: ['toggle', 'hover'],\n      missingDefault: 'toggle',\n      invalidDefault: 'toggle'\n  };\n  \n  var inlineDialog = (0, _skate2.default)('aui-inline-dialog', {\n      prototype: {\n          /**\n           * Returns whether the inline dialog is open.\n           */\n          get open() {\n              return (0, _layer2.default)(this).isVisible();\n          },\n  \n          /**\n           * Opens or closes the inline dialog, returning whether the dialog is\n           * open or closed as a result (since event handlers can prevent either\n           * action).\n           *\n           * You should check the value of open after setting this\n           * value since the before show/hide events may have prevented it.\n           */\n          set open(value) {\n              // TODO AUI-3726 Revisit double calls to canceled event handlers.\n              // Explicitly calling reflectOpenness(…) in this setter means\n              // that in native we'll get two sync calls to reflectOpenness(…)\n              // and in polyfill one sync (here) and one async (attr change\n              // handler). The latter of the two calls, for both cases, will\n              // usually be a noop (except when show/hide events are cancelled).\n              _attributes2.default.setBooleanAttribute(this, 'open', value);\n              reflectOpenness(this);\n          },\n  \n          get persistent() {\n              return this.hasAttribute('persistent');\n          },\n  \n          set persistent(value) {\n              _attributes2.default.setBooleanAttribute(this, 'persistent', value);\n          },\n  \n          get respondsTo() {\n              var attr = RESPONDS_TO_ATTRIBUTE_ENUM.attribute;\n              return _attributes2.default.computeEnumValue(RESPONDS_TO_ATTRIBUTE_ENUM, this.getAttribute(attr));\n          },\n  \n          set respondsTo(value) {\n              var oldComputedValue = this.respondsTo;\n              _attributes2.default.setEnumAttribute(this, RESPONDS_TO_ATTRIBUTE_ENUM, value);\n              if (oldComputedValue !== this.respondsTo) {\n                  rebindMouseEvents(this);\n              }\n          },\n  \n          /**\n           * Handles the receiving of a message from another component.\n           *\n           * @param {Object} msg The message to act on.\n           *\n           * @returns {HTMLElement}\n           */\n          message: function message(msg) {\n              handleMessage(this, msg);\n              return this;\n          }\n      },\n  \n      created: function created(element) {\n          (0, _state2.default)(element).set('is-processing-show', false);\n  \n          doIfTrigger(element, function (trigger) {\n              trigger.setAttribute('aria-expanded', element.open);\n              trigger.setAttribute('aria-haspopup', 'true');\n          });\n      },\n  \n      attributes: {\n          'aria-hidden': function ariaHidden(element, change) {\n              // Whenever layer manager hides us, we need to sync the open attribute.\n              _attributes2.default.setBooleanAttribute(element, 'open', change.newValue === 'false');\n          },\n  \n          open: function open(element) {\n              // skate runs the created callback for attributes before the\n              // element is attached to the DOM, so guard against that.\n              if (document.body.contains(element)) {\n                  reflectOpenness(element);\n              }\n          },\n  \n          'responds-to': function respondsTo(element, change) {\n              var oldComputedValue = _attributes2.default.computeEnumValue(RESPONDS_TO_ATTRIBUTE_ENUM, change.oldValue);\n              var newComputedValue = _attributes2.default.computeEnumValue(RESPONDS_TO_ATTRIBUTE_ENUM, change.newValue);\n              if (oldComputedValue !== newComputedValue) {\n                  rebindMouseEvents(element);\n              }\n          }\n      },\n  \n      attached: function attached(element) {\n          (0, _enforcer2.default)(element).attributeExists('id');\n          if (element.hasAttribute('open')) {\n              // show() can cause the element to be reattached (to the <body>),\n              // so guard against a nested show() call that blows up the layer\n              // manager (since it sees us pushing the same element twice).\n              if (!(0, _state2.default)(element).get('is-processing-show')) {\n                  reflectOpenness(element);\n              }\n          } else {\n              reflectOpenness(element);\n          }\n          rebindMouseEvents(element);\n      },\n  \n      detached: function detached(element) {\n          if (element._auiAlignment) {\n              element._auiAlignment.destroy();\n          }\n      },\n  \n      template: function template(element) {\n          var elem = (0, _jquery2.default)('<div class=\"aui-inline-dialog-contents\"></div>').append(element.childNodes);\n          (0, _jquery2.default)(element).addClass('aui-layer').html(elem);\n      }\n  });\n  \n  (0, _amdify2.default)('aui/inline-dialog2', inlineDialog);\n  (0, _globalize2.default)('InlineDialog2', inlineDialog);\n  exports.default = inlineDialog;\n  module.exports = exports['default'];\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/is-clipped.js\n(typeof window === 'undefined' ? global : window).__59a38fbec08ddb331522ca96538411e6 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  \n  var _jquery = __d931c30d7068216ce2c2064d08fd424c;\n  \n  var _jquery2 = _interopRequireDefault(_jquery);\n  \n  var _globalize = __58c75a0e7e2cf47e300bc2f2ecec24a2;\n  \n  var _globalize2 = _interopRequireDefault(_globalize);\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  /**\n   * Shortcut function to see if passed element is truncated/clipped, eg. with\n   * text-overflow: ellipsis.\n   *\n   * @param {String | Element | jQuery} element The element to check.\n   *\n   * @returns {Boolean}\n   */\n  function isClipped(el) {\n    el = (0, _jquery2.default)(el);\n    return el.prop('scrollWidth') > el.prop('clientWidth');\n  }\n  \n  (0, _globalize2.default)('isClipped', isClipped);\n  \n  exports.default = isClipped;\n  module.exports = exports['default'];\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/is-visible.js\n(typeof window === 'undefined' ? global : window).__5caa2cecc1bd4a3f2d19730427d19fa3 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n      value: true\n  });\n  \n  var _jquery = __d931c30d7068216ce2c2064d08fd424c;\n  \n  var _jquery2 = _interopRequireDefault(_jquery);\n  \n  var _deprecation = __2283e259423cbf11e76a3bf5e9e47933;\n  \n  var _globalize = __58c75a0e7e2cf47e300bc2f2ecec24a2;\n  \n  var _globalize2 = _interopRequireDefault(_globalize);\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  /**\n   * Shortcut function to see if passed element is currently visible on screen.\n   *\n   * @param {String | Element} element The HTMLElement or an jQuery selector to check.\n   *\n   * @returns {Boolean}\n   */\n  function isVisible(element) {\n      return !(0, _jquery2.default)(element).hasClass('hidden');\n  }\n  \n  var isVisible = (0, _deprecation.fn)(isVisible, 'isVisible', {\n      sinceVersion: '5.9.0',\n      extraInfo: 'No alternative will be provided. Use jQuery.hasClass() instead.'\n  });\n  \n  (0, _globalize2.default)('isVisible', isVisible);\n  \n  exports.default = isVisible;\n  module.exports = exports['default'];\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/layer-manager.js\n(typeof window === 'undefined' ? global : window).__0445bd31eb61b549dcadbeb002c198d5 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  \n  var _globalize = __58c75a0e7e2cf47e300bc2f2ecec24a2;\n  \n  var _globalize2 = _interopRequireDefault(_globalize);\n  \n  var _layer = __e0d3e833c519cf116c3cdd59e52f030e;\n  \n  var _layer2 = _interopRequireDefault(_layer);\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  (0, _globalize2.default)('LayerManager', _layer2.default.Manager);\n  \n  exports.default = _layer2.default.Manager;\n  module.exports = exports['default'];\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/messages.js\n(typeof window === 'undefined' ? global : window).__04e73f4cf8c37abe2d4e2f857a29a59b = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n      value: true\n  });\n  \n  var _jquery = __d931c30d7068216ce2c2064d08fd424c;\n  \n  var _jquery2 = _interopRequireDefault(_jquery);\n  \n  var _deprecation = __2283e259423cbf11e76a3bf5e9e47933;\n  \n  var deprecate = _interopRequireWildcard(_deprecation);\n  \n  var _log = __16a4a3246fcb7206cb3ce72a302f68ce;\n  \n  var logger = _interopRequireWildcard(_log);\n  \n  var _globalize = __58c75a0e7e2cf47e300bc2f2ecec24a2;\n  \n  var _globalize2 = _interopRequireDefault(_globalize);\n  \n  var _keyCode = __0feafabcd51357b770acdddb85e8e6f3;\n  \n  var _keyCode2 = _interopRequireDefault(_keyCode);\n  \n  var _skate = __0e8fe5f46f722f07c64d1f183c324dd8;\n  \n  var _skate2 = _interopRequireDefault(_skate);\n  \n  var _template = __3773bbd056232d2fe3825056a334a52f;\n  \n  var _template2 = _interopRequireDefault(_template);\n  \n  function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  var DEFAULT_FADEOUT_DURATION = 500;\n  var DEFAULT_FADEOUT_DELAY = 5000;\n  var FADEOUT_RESTORE_DURATION = 100;\n  \n  var MESSAGE_TEMPLATE = '<div class=\"aui-message aui-message-{type} {closeable} {shadowed} {fadeout}\">' + '<p class=\"title\">' + '<strong>{title}</strong>' + '</p>' + '{body}<!-- .aui-message -->' + '</div>';\n  \n  function createMessageConstructor(type) {\n      /**\n       *\n       * @param context\n       * @param {Object} obj - message configuration\n       * @param {boolean} [obj.id] - ID to add to the message\n       * @param {boolean} obj.body - Content of the message\n       * @param {boolean} [obj.closeable]\n       * @param {boolean} [obj.shadowed]\n       * @param {boolean} [obj.fadeout]\n       * @param {boolean} [obj.duration]\n       * @param {boolean} [obj.delay]\n       * @returns {*|HTMLElement}\n       */\n      messages[type] = function (context, obj) {\n          if (!obj) {\n              obj = context;\n              context = '#aui-message-bar';\n          }\n  \n          // Set up our template options\n          obj.closeable = obj.closeable !== null && obj.closeable !== false;\n  \n          // shadowed no longer does anything but left in so it doesn't break\n          obj.shadowed = obj.shadowed !== null && obj.shadowed !== false;\n  \n          var $message = renderMessageElement(this.template, obj, type);\n          insertMessageIntoContext($message, obj.insert, context);\n  \n          // Attach the optional extra behaviours\n          if (obj.closeable) {\n              makeCloseable($message);\n          }\n  \n          if (obj.fadeout) {\n              makeFadeout($message, obj.delay, obj.duration);\n          }\n  \n          return $message;\n      };\n  }\n  \n  function makeCloseable(message) {\n      (0, _jquery2.default)(message || 'div.aui-message.closeable').each(function () {\n          var $this = (0, _jquery2.default)(this);\n          var $closeIcons = $this.find('.aui-icon.icon-close');\n          var $icon = $closeIcons.length > 0 ? $closeIcons.first() : (0, _jquery2.default)('<span class=\"aui-icon icon-close\" role=\"button\" tabindex=\"0\"></span>');\n  \n          $this.addClass('closeable');\n          $this.append($icon);\n  \n          initCloseMessageBoxOnClickAndKeypress($this);\n      });\n  }\n  \n  function makeFadeout(message, delay, duration) {\n      delay = typeof delay !== 'undefined' ? delay : DEFAULT_FADEOUT_DELAY;\n      duration = typeof duration !== 'undefined' ? duration : DEFAULT_FADEOUT_DURATION;\n  \n      (0, _jquery2.default)(message || 'div.aui-message.fadeout').each(function () {\n          var $this = (0, _jquery2.default)(this);\n  \n          //Store the component state to avoid collisions between animations\n          var hasFocus = false;\n          var isHover = false;\n  \n          //Small functions to keep the code easier to read and avoid code duplication\n          function fadeOut() {\n              //Algorithm:\n              //1. Stop all running animations (first arg), including any fade animation and delay\n              //   Do not jump to the end of the animation (second arg). This prevents the message to abruptly\n              //   jump to opacity:0 or opacity:1\n              //2. Wait <delay> ms before starting the fadeout\n              //3. Start the fadeout with a duration of <duration> ms\n              //4. Close the message at the end of the animation\n              $this.stop(true, false).delay(delay).fadeOut(duration, function () {\n                  $this.closeMessage();\n              });\n          }\n          function resetFadeOut() {\n              //Algorithm:\n              //1. Stop all running animations (first arg), including any fade animation and delay\n              //   Do not jump to the end of the animation (second arg). This prevents the message to abruptly\n              //   jump to opacity:0 or opacity:1\n              //2. Fast animation to opacity:1\n              $this.stop(true, false).fadeTo(FADEOUT_RESTORE_DURATION, 1);\n          }\n          function shouldStartFadeOut() {\n              return !hasFocus && !isHover;\n          }\n  \n          //Attach handlers for user interactions (focus and hover)\n          $this.focusin(function () {\n              hasFocus = true;\n              resetFadeOut();\n          }).focusout(function () {\n              hasFocus = false;\n              if (shouldStartFadeOut()) {\n                  fadeOut();\n              }\n          }).hover(function () {\n              //should be called .hoverin(), but jQuery does not implement that method\n              isHover = true;\n              resetFadeOut();\n          }, function () {\n              //should be called .hoverout(), but jQuery does not implement that method\n              isHover = false;\n              if (shouldStartFadeOut()) {\n                  fadeOut();\n              }\n          });\n  \n          //Initial animation\n          fadeOut();\n      });\n  }\n  \n  /**\n   * Utility methods to display different message types to the user.\n   * Usage:\n   * <pre>\n   * messages.info(\"#container\", {\n       *   title: \"Info\",\n       *   body: \"You can choose to have messages without Close functionality.\",\n       *   closeable: false,\n       *   shadowed: false\n       * });\n   * </pre>\n   */\n  var messages = {\n      setup: function setup() {\n          makeCloseable();\n          makeFadeout();\n      },\n      makeCloseable: makeCloseable,\n      makeFadeout: makeFadeout,\n      template: MESSAGE_TEMPLATE,\n      createMessage: createMessageConstructor\n  };\n  \n  function initCloseMessageBoxOnClickAndKeypress($message) {\n      $message.on('click', '.aui-icon.icon-close', function (e) {\n          (0, _jquery2.default)(e.target).closest('.aui-message').closeMessage();\n      }).on('keydown', '.aui-icon.icon-close', function (e) {\n          if (e.which === _keyCode2.default.ENTER || e.which === _keyCode2.default.SPACE) {\n              (0, _jquery2.default)(e.target).closest('.aui-message').closeMessage();\n              e.preventDefault(); // this is especially important when handling the space bar, as we don't want to page down\n          }\n      });\n  }\n  \n  function insertMessageIntoContext($message, insertWhere, context) {\n      if (insertWhere === 'prepend') {\n          $message.prependTo(context);\n      } else {\n          $message.appendTo(context);\n      }\n  }\n  \n  function renderMessageElement(templateString, options, type) {\n      // Append the message using template\n      var $message = (0, _jquery2.default)((0, _template2.default)(templateString).fill({\n          type: type,\n          closeable: options.closeable ? 'closeable' : '',\n          shadowed: options.shadowed ? 'shadowed' : '',\n          fadeout: options.fadeout ? 'fadeout' : '',\n          title: options.title || '',\n          'body:html': options.body || ''\n      }).toString());\n  \n      // Add ID if supplied\n      if (options.id) {\n          if (/[#\\'\\\"\\.\\s]/g.test(options.id)) {\n              // reject IDs that don't comply with style guide (ie. they'll break stuff)\n              logger.warn('Messages error: ID rejected, must not include spaces, hashes, dots or quotes.');\n          } else {\n              $message.attr('id', options.id);\n          }\n      }\n  \n      return $message;\n  }\n  \n  _jquery2.default.fn.closeMessage = function () {\n      var $message = (0, _jquery2.default)(this);\n      if ($message.hasClass('aui-message') && $message.hasClass('closeable')) {\n          $message.stop(true); //Stop any running animation\n          $message.trigger('messageClose', [this]).remove(); //messageClose event Deprecated as of 5.3\n          (0, _jquery2.default)(document).trigger('aui-message-close', [this]); //must trigger on document since the element has been removed\n      }\n  };\n  \n  createMessageConstructor('generic');\n  createMessageConstructor('error');\n  createMessageConstructor('warning');\n  createMessageConstructor('info');\n  createMessageConstructor('success');\n  createMessageConstructor('hint');\n  \n  (0, _skate2.default)('aui-message', {\n      created: function created(element) {\n          var body = element.innerHTML;\n          var type = element.getAttribute('type') || 'info';\n  \n          element.innerHTML = '';\n          messages[type](element, {\n              body: body,\n              closeable: element.getAttribute('closeable'),\n              delay: element.getAttribute('delay'),\n              duration: element.getAttribute('duration'),\n              fadeout: element.getAttribute('fadeout'),\n              title: element.getAttribute('title')\n          });\n      }\n  });\n  \n  (0, _jquery2.default)(function () {\n      messages.setup();\n  });\n  \n  deprecate.prop(messages, 'makeCloseable', {\n      extraInfo: 'Use the \"closeable\" option in the constructor instead. Docs: https://docs.atlassian.com/aui/latest/docs/messages.html'\n  });\n  \n  deprecate.prop(messages, 'createMessage', {\n      extraInfo: 'Use the provided convenience methods instead e.g. messages.generic(). Docs: https://docs.atlassian.com/aui/latest/docs/messages.html'\n  });\n  \n  deprecate.prop(messages, 'makeFadeout', {\n      extraInfo: 'Use the \"fadeout\" option in the constructor instead. Docs: https://docs.atlassian.com/aui/latest/docs/messages.html'\n  });\n  \n  // Exporting\n  // ---------\n  \n  (0, _globalize2.default)('messages', messages);\n  \n  exports.default = messages;\n  module.exports = exports['default'];\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/navigation.js\n(typeof window === 'undefined' ? global : window).__f48f61ee3b16a0e9a42ff9b9fa6e0c78 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n      value: true\n  });\n  \n  __2a8f02ddf948a2241e4b1ac8618d2015;\n  \n  var _jquery = __d931c30d7068216ce2c2064d08fd424c;\n  \n  var _jquery2 = _interopRequireDefault(_jquery);\n  \n  var _skate = __0e8fe5f46f722f07c64d1f183c324dd8;\n  \n  var _skate2 = _interopRequireDefault(_skate);\n  \n  var _globalize = __58c75a0e7e2cf47e300bc2f2ecec24a2;\n  \n  var _globalize2 = _interopRequireDefault(_globalize);\n  \n  var _widget = __3c371c7383bcae3d89fbc3cf8cbdc2ff;\n  \n  var _widget2 = _interopRequireDefault(_widget);\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  /**\n   * Navigation (\".aui-nav\" elements).\n   *\n   * @param {(string|HtmlElement|jQuery)} selector - An expression\n   *     representing a single .aui-nav element; you may also pass an expression\n   *     for a descendent element, in which case the closest containing\n   *     .aui-nav element is used.\n   * @constructor\n   */\n  function Navigation(selector) {\n      this.$el = (0, _jquery2.default)(selector).closest('.aui-nav');\n  \n      // If there are multiple objects, initialise them separately\n      if (this.$el.length > 1) {\n          return this.$el.map(function (idx, elm) {\n              return new Navigation(elm);\n          })[0];\n      }\n  \n      // If already initialised, return existing object\n      if (this.$el.data('aui-navigation')) {\n          return this.$el.data('aui-navigation');\n      }\n  \n      this.$el.data('aui-navigation', this);\n  \n      this.$treeParent = this.$el.parent('li[aria-expanded]');\n      this.$subtreeToggleIcon = this.$treeParent.children('.aui-nav-subtree-toggle').children('span.aui-icon');\n  \n      // Hide extra items under a 'More...' link\n      this.hideMoreItems();\n  \n      // Add child-selected class to relevant attributes\n      this.$el.children('li:has(.aui-nav-selected)').addClass('aui-nav-child-selected');\n  \n      // Auto-expand if child is selected\n      var $selected = this.$el.children('.aui-nav-selected');\n      $selected.parents('.aui-nav > [aria-expanded=false]').add($selected.filter('[aria-expanded=false]')).each(function () {\n          var nav = navigationWidget((0, _jquery2.default)(this).children('.aui-nav'));\n          nav.expand();\n      });\n  \n      // Toggle expand on click\n      this.$el.find('> li[aria-expanded] > .aui-nav-subtree-toggle').on('click', function () {\n          var nav = navigationWidget((0, _jquery2.default)(this).siblings('.aui-nav'));\n          nav.toggle();\n      });\n  \n      return this;\n  }\n  \n  Navigation.prototype.isNested = function () {\n      return this.$treeParent.length === 1;\n  };\n  \n  Navigation.prototype.isCollapsed = function () {\n      return this.$treeParent.attr('aria-expanded') === 'false';\n  };\n  \n  Navigation.prototype.expand = function () {\n      this.$treeParent.attr('aria-expanded', 'true');\n      this.$subtreeToggleIcon.removeClass('aui-iconfont-collapsed').addClass('aui-iconfont-expanded');\n      this.hideMoreItems();\n      return this;\n  };\n  \n  Navigation.prototype.collapse = function () {\n      this.$treeParent.attr('aria-expanded', 'false');\n      this.$subtreeToggleIcon.removeClass('aui-iconfont-expanded').addClass('aui-iconfont-collapsed');\n      return this;\n  };\n  \n  Navigation.prototype.toggle = function () {\n      if (this.isCollapsed()) {\n          this.expand();\n      } else {\n          this.collapse();\n      }\n      return this;\n  };\n  \n  Navigation.prototype.hideMoreItems = function () {\n      if (this.$el.is('.aui-nav:not([aria-expanded=false]) [data-more]')) {\n          var moreText = this.$el.attr('data-more') || AJS.I18n.getText('aui.words.moreitem');\n          var limit = Math.abs(parseInt(this.$el.attr('data-more-limit'))) || 5;\n          var $listElements = this.$el.children('li');\n  \n          // Only add 'More...' if there is more than one element to hide and there are no selected elements\n          var lessThanTwoToHide = $listElements.length <= limit + 1;\n          var selectedElementPresent = $listElements.filter('.aui-nav-selected').length;\n          var alreadyInitialised = $listElements.filter('.aui-nav-more').length;\n          if (lessThanTwoToHide || selectedElementPresent || alreadyInitialised) {\n              return this;\n          }\n  \n          (0, _jquery2.default)('<li>', {\n              'class': 'aui-nav-more',\n              'aria-hidden': 'true'\n          }).append((0, _jquery2.default)('<a>', {\n              'href': '#',\n              'class': 'aui-nav-item',\n              'text': moreText,\n              'click': function click(e) {\n                  e.preventDefault();\n                  (0, _jquery2.default)(this).parent().remove();\n              }\n          })).insertAfter($listElements.eq(limit - 1));\n      }\n  \n      return this;\n  };\n  \n  var navigationWidget = (0, _widget2.default)('navigation', Navigation);\n  \n  // Initialise nav elements\n  (0, _skate2.default)('aui-nav', {\n      type: _skate2.default.type.CLASSNAME,\n      attached: function attached(element) {\n          new Navigation(element);\n      },\n      detached: function detached(element) {\n          (0, _jquery2.default)(element).removeData();\n      }\n  });\n  \n  (0, _globalize2.default)('navigation', navigationWidget);\n  \n  exports.default = navigationWidget;\n  module.exports = exports['default'];\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/on-text-resize.js\n(typeof window === 'undefined' ? global : window).__f27442be3d62aab12f02b077976aafac = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n      value: true\n  });\n  \n  var _jquery = __d931c30d7068216ce2c2064d08fd424c;\n  \n  var _jquery2 = _interopRequireDefault(_jquery);\n  \n  var _createElement = __175b17b398f7d3e1f6beaa15cef1cc5c;\n  \n  var _createElement2 = _interopRequireDefault(_createElement);\n  \n  var _globalize = __58c75a0e7e2cf47e300bc2f2ecec24a2;\n  \n  var _globalize2 = _interopRequireDefault(_globalize);\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  function onTextResize(f) {\n      if (typeof f === 'function') {\n          if (onTextResize['on-text-resize']) {\n              onTextResize['on-text-resize'].push(function (emsize) {\n                  f(emsize);\n              });\n          } else {\n              var em = (0, _createElement2.default)('div');\n  \n              em.css({\n                  width: '1em',\n                  height: '1em',\n                  position: 'absolute',\n                  top: '-9999em',\n                  left: '-9999em'\n              });\n  \n              (0, _jquery2.default)('body').append(em);\n              em.size = em.width();\n  \n              setInterval(function () {\n                  if (em.size !== em.width()) {\n                      em.size = em.width();\n  \n                      for (var i = 0, ii = onTextResize['on-text-resize'].length; i < ii; i++) {\n                          onTextResize['on-text-resize'][i](em.size);\n                      }\n                  }\n              }, 0);\n              onTextResize.em = em;\n              onTextResize['on-text-resize'] = [function (emsize) {\n                  f(emsize);\n              }];\n          }\n      }\n  }\n  \n  (0, _globalize2.default)('onTextResize', onTextResize);\n  \n  exports.default = onTextResize;\n  module.exports = exports['default'];\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/params.js\n(typeof window === 'undefined' ? global : window).__c04d68fa1d92c7d457cb5fc7b95f34ec = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  \n  var _globalize = __58c75a0e7e2cf47e300bc2f2ecec24a2;\n  \n  var _globalize2 = _interopRequireDefault(_globalize);\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  exports.default = (0, _globalize2.default)('params', {});\n  module.exports = exports['default'];\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/populate-parameters.js\n(typeof window === 'undefined' ? global : window).__3dec74d8fba6cccecefff550c6b07285 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n      value: true\n  });\n  \n  var _jquery = __d931c30d7068216ce2c2064d08fd424c;\n  \n  var _jquery2 = _interopRequireDefault(_jquery);\n  \n  var _globalize = __58c75a0e7e2cf47e300bc2f2ecec24a2;\n  \n  var _globalize2 = _interopRequireDefault(_globalize);\n  \n  var _params = __c04d68fa1d92c7d457cb5fc7b95f34ec;\n  \n  var _params2 = _interopRequireDefault(_params);\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  function populateParameters(parameters) {\n      if (!parameters) {\n          parameters = _params2.default;\n      }\n  \n      (0, _jquery2.default)('.parameters input').each(function () {\n          var value = this.value;\n          var id = this.title || this.id;\n  \n          if ((0, _jquery2.default)(this).hasClass('list')) {\n              if (parameters[id]) {\n                  parameters[id].push(value);\n              } else {\n                  parameters[id] = [value];\n              }\n          } else {\n              parameters[id] = value.match(/^(tru|fals)e$/i) ? value.toLowerCase() === 'true' : value;\n          }\n      });\n  }\n  \n  (0, _globalize2.default)('populateParameters', populateParameters);\n  \n  exports.default = populateParameters;\n  module.exports = exports['default'];\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/prevent-default.js\n(typeof window === 'undefined' ? global : window).__cb7f1e1682dca7cd24e4b710994e9f6e = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  \n  var _globalize = __58c75a0e7e2cf47e300bc2f2ecec24a2;\n  \n  var _globalize2 = _interopRequireDefault(_globalize);\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  /**\n   * Calls e.preventDefault. This is designed for event handlers that only need to prevent the default browser\n   * action, eg:\n   *\n   *     $(\".my-class\").click(AJS.preventDefault)\n   *\n   * @param {jQuery.Event} e jQuery event.\n   *\n   * @returns {undefined}\n   */\n  function preventDefault(e) {\n    e.preventDefault();\n  }\n  \n  (0, _globalize2.default)('preventDefault', preventDefault);\n  \n  exports.default = preventDefault;\n  module.exports = exports['default'];\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/header.js\n(typeof window === 'undefined' ? global : window).__34626273fc852016a5d8742e4ae020dc = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n      value: true\n  });\n  \n  var _jquery = __d931c30d7068216ce2c2064d08fd424c;\n  \n  var _jquery2 = _interopRequireDefault(_jquery);\n  \n  var _createHeader = __d22fbd253c421021dd510fb3c4fcd828;\n  \n  var _createHeader2 = _interopRequireDefault(_createHeader);\n  \n  var _deprecation = __2283e259423cbf11e76a3bf5e9e47933;\n  \n  var deprecate = _interopRequireWildcard(_deprecation);\n  \n  var _globalize = __58c75a0e7e2cf47e300bc2f2ecec24a2;\n  \n  var _globalize2 = _interopRequireDefault(_globalize);\n  \n  function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  function findAndCreateHeaders() {\n      (0, _jquery2.default)('.aui-header').each(function () {\n          (0, _createHeader2.default)(this);\n      });\n  }\n  \n  (0, _jquery2.default)(findAndCreateHeaders);\n  \n  var responsiveheader = {};\n  responsiveheader.setup = deprecate.fn(findAndCreateHeaders, 'responsiveheader.setup', {\n      removeInVersion: '6.0.0',\n      sinceVersion: '5.8.0',\n      extraInfo: 'No need to manually initialise anymore as this is now a web component.'\n  });\n  \n  (0, _globalize2.default)('responsiveheader', responsiveheader);\n  \n  exports.default = responsiveheader;\n  module.exports = exports['default'];\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/set-current.js\n(typeof window === 'undefined' ? global : window).__ace48b7319c98023c129e8db2b3106a0 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n      value: true\n  });\n  \n  var _jquery = __d931c30d7068216ce2c2064d08fd424c;\n  \n  var _jquery2 = _interopRequireDefault(_jquery);\n  \n  var _deprecation = __2283e259423cbf11e76a3bf5e9e47933;\n  \n  var _globalize = __58c75a0e7e2cf47e300bc2f2ecec24a2;\n  \n  var _globalize2 = _interopRequireDefault(_globalize);\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  /**\n   * Shortcut function adds or removes 'current' classname to an element based on a passed boolean.\n   *\n   * @param {String | Element} element The element or an ID to show or hide.\n   * @param {boolean} show True to add 'current' class, false to remove.\n   *\n   * @returns {undefined}\n   */\n  function setCurrent(element, current) {\n      if (!(element = (0, _jquery2.default)(element))) {\n          return;\n      }\n  \n      if (current) {\n          element.addClass('current');\n      } else {\n          element.removeClass('current');\n      }\n  }\n  \n  var setCurrent = (0, _deprecation.fn)(setCurrent, 'setCurrent', {\n      sinceVersion: '5.9.0',\n      extraInfo: 'No alternative will be provided. Use jQuery.addClass() / removeClass() instead.'\n  });\n  \n  (0, _globalize2.default)('setCurrent', setCurrent);\n  \n  exports.default = setCurrent;\n  module.exports = exports['default'];\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/set-visible.js\n(typeof window === 'undefined' ? global : window).__ce19de01983e9507aa18ad87dea1eaed = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n      value: true\n  });\n  \n  var _jquery = __d931c30d7068216ce2c2064d08fd424c;\n  \n  var _jquery2 = _interopRequireDefault(_jquery);\n  \n  var _deprecation = __2283e259423cbf11e76a3bf5e9e47933;\n  \n  var _globalize = __58c75a0e7e2cf47e300bc2f2ecec24a2;\n  \n  var _globalize2 = _interopRequireDefault(_globalize);\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  /**\n   * Shortcut function adds or removes 'hidden' classname to an element based on a passed boolean.\n   *\n   * @param {String | Element} element The element or an ID to show or hide.\n   * @param {boolean} show true to show, false to hide.\n   *\n   * @returns {undefined}\n   */\n  function setVisible(element, show) {\n      if (!(element = (0, _jquery2.default)(element))) {\n          return;\n      }\n  \n      (0, _jquery2.default)(element).each(function () {\n          var isHidden = (0, _jquery2.default)(this).hasClass('hidden');\n  \n          if (isHidden && show) {\n              (0, _jquery2.default)(this).removeClass('hidden');\n          } else if (!isHidden && !show) {\n              (0, _jquery2.default)(this).addClass('hidden');\n          }\n      });\n  }\n  \n  var setVisible = (0, _deprecation.fn)(setVisible, 'setVisible', {\n      sinceVersion: '5.9.0',\n      extraInfo: 'No alternative will be provided. Use jQuery.addClass() / removeClass() instead.'\n  });\n  \n  (0, _globalize2.default)('setVisible', setVisible);\n  \n  exports.default = setVisible;\n  module.exports = exports['default'];\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/stop-event.js\n(typeof window === 'undefined' ? global : window).__a8667f4eb84f0bc9c5fb19051cc02f65 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n      value: true\n  });\n  \n  var _deprecation = __2283e259423cbf11e76a3bf5e9e47933;\n  \n  var _globalize = __58c75a0e7e2cf47e300bc2f2ecec24a2;\n  \n  var _globalize2 = _interopRequireDefault(_globalize);\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  /**\n   * Prevent further handling of an event. Returns false, which you should use as the return value of your event handler:\n   * return stopEvent(e);\n   *\n   * @param {jQuery.Event} e jQuery event\n   *\n   * @returns {Boolean}\n   */\n  function stopEvent(e) {\n      e.stopPropagation();\n      return false; // required for JWebUnit pop-up links to work properly\n  }\n  \n  var stopEvent = (0, _deprecation.fn)(stopEvent, 'stopEvent', {\n      alternativeName: 'preventDefault()',\n      sinceVersion: '5.8.0'\n  });\n  \n  (0, _globalize2.default)('stopEvent', stopEvent);\n  \n  exports.default = stopEvent;\n  module.exports = exports['default'];\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/tabs.js\n(typeof window === 'undefined' ? global : window).__85f97cb95798e2bcd0253b1f6ef7e8c2 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n      value: true\n  });\n  \n  __16b630aaa86c62c7ef629cfa7bab499e;\n  \n  var _log = __16a4a3246fcb7206cb3ce72a302f68ce;\n  \n  var logger = _interopRequireWildcard(_log);\n  \n  var _debounce = __a88708332bdd48d86dc8763c3bd0bc46;\n  \n  var _debounce2 = _interopRequireDefault(_debounce);\n  \n  var _jquery = __d931c30d7068216ce2c2064d08fd424c;\n  \n  var _jquery2 = _interopRequireDefault(_jquery);\n  \n  var _addId = __5422cfe9eb65aaaa835927a04af284e3;\n  \n  var _addId2 = _interopRequireDefault(_addId);\n  \n  var _globalize = __58c75a0e7e2cf47e300bc2f2ecec24a2;\n  \n  var _globalize2 = _interopRequireDefault(_globalize);\n  \n  var _isClipped = __59a38fbec08ddb331522ca96538411e6;\n  \n  var _isClipped2 = _interopRequireDefault(_isClipped);\n  \n  var _skate = __0e8fe5f46f722f07c64d1f183c324dd8;\n  \n  var _skate2 = _interopRequireDefault(_skate);\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n  \n  var template = window.skateTemplateHtml;\n  \n  var REGEX = /#.*/;\n  var STORAGE_PREFIX = '_internal-aui-tabs-';\n  var RESPONSIVE_OPT_IN_SELECTOR = '.aui-tabs.horizontal-tabs[data-aui-responsive]:not([data-aui-responsive=\"false\"]), aui-tabs[responsive]:not([responsive=\"false\"])';\n  \n  function enhanceTabLink(link) {\n      var $thisLink = (0, _jquery2.default)(link);\n      var targetPane = $thisLink.attr('href');\n  \n      (0, _addId2.default)($thisLink);\n      $thisLink.attr('role', 'tab');\n      (0, _jquery2.default)(targetPane).attr('aria-labelledby', $thisLink.attr('id'));\n  \n      if ($thisLink.parent().hasClass('active-tab')) {\n          $thisLink.attr('aria-selected', 'true');\n      } else {\n          $thisLink.attr('aria-selected', 'false');\n      }\n  }\n  \n  var ResponsiveAdapter = {\n      totalTabsWidth: function totalTabsWidth($visibleTabs, $dropdown) {\n          var totalVisibleTabsWidth = this.totalVisibleTabWidth($visibleTabs);\n          var totalDropdownTabsWidth = 0;\n  \n          $dropdown.find('li').each(function (index, tab) {\n              totalDropdownTabsWidth += parseInt(tab.getAttribute('data-aui-tab-width'));\n          });\n  \n          return totalVisibleTabsWidth + totalDropdownTabsWidth;\n      },\n  \n      totalVisibleTabWidth: function totalVisibleTabWidth($tabs) {\n          var totalWidth = 0;\n  \n          $tabs.each(function (index, tab) {\n              totalWidth += (0, _jquery2.default)(tab).outerWidth();\n          });\n  \n          return totalWidth;\n      },\n  \n      removeResponsiveDropdown: function removeResponsiveDropdown($dropdown, $dropdownTriggerTab) {\n          $dropdown.remove();\n          $dropdownTriggerTab.remove();\n      },\n  \n      createResponsiveDropdownTrigger: function createResponsiveDropdownTrigger($tabsMenu, id) {\n          var triggerMarkup = '<li class=\"menu-item aui-tabs-responsive-trigger-item\">' + '<a class=\"aui-dropdown2-trigger aui-tabs-responsive-trigger aui-dropdown2-trigger-arrowless\" id=\"aui-tabs-responsive-trigger-' + id + '\" aria-haspopup=\"true\" aria-controls=\"aui-tabs-responsive-dropdown-' + id + '\" href=\"aui-tabs-responsive-dropdown-' + id + '\">...</a>' + '</li>';\n          $tabsMenu.append(triggerMarkup);\n          var $trigger = $tabsMenu.find('.aui-tabs-responsive-trigger-item');\n          return $trigger;\n      },\n  \n      createResponsiveDropdown: function createResponsiveDropdown($tabsContainer, id) {\n          var dropdownMarkup = '<div class=\"aui-dropdown2 aui-style-default aui-tabs-responsive-dropdown\" id=\"aui-tabs-responsive-dropdown-' + id + '\">' + '<ul>' + '</ul>' + '</div>';\n          $tabsContainer.append(dropdownMarkup);\n          var $dropdown = $tabsContainer.find('#aui-tabs-responsive-dropdown-' + id);\n          return $dropdown;\n      },\n  \n      findNewVisibleTabs: function findNewVisibleTabs(tabs, parentWidth, dropdownTriggerTabWidth) {\n          function hasMoreSpace(currentTotalTabWidth, dropdownTriggerTabWidth, parentWidth) {\n              return currentTotalTabWidth + dropdownTriggerTabWidth <= parentWidth;\n          }\n  \n          var currentTotalTabWidth = 0;\n  \n          for (var i = 0; hasMoreSpace(currentTotalTabWidth, dropdownTriggerTabWidth, parentWidth) && i < tabs.length; i++) {\n              var $tab = (0, _jquery2.default)(tabs[i]);\n              var tabWidth = $tab.outerWidth(true);\n              currentTotalTabWidth += tabWidth;\n          }\n  \n          // i should now be at the tab index after the last visible tab because of the loop so we minus 1 to get the new visible tabs\n          return tabs.slice(0, i - 1);\n      },\n  \n      moveVisibleTabs: function moveVisibleTabs(oldVisibleTabs, $tabsParent, $dropdownTriggerTab) {\n          var dropdownId = $dropdownTriggerTab.find('a').attr('aria-controls');\n          var $dropdown = (0, _jquery2.default)('#' + dropdownId);\n          var newVisibleTabs = this.findNewVisibleTabs(oldVisibleTabs, $tabsParent.outerWidth(), $dropdownTriggerTab.parent().outerWidth(true));\n          var lastTabIndex = newVisibleTabs.length - 1;\n  \n          for (var j = oldVisibleTabs.length - 1; j >= lastTabIndex; j--) {\n              var $tab = (0, _jquery2.default)(oldVisibleTabs[j]);\n              this.moveTabToResponsiveDropdown($tab, $dropdown, $dropdownTriggerTab);\n          }\n  \n          return (0, _jquery2.default)(newVisibleTabs);\n      },\n  \n      moveTabToResponsiveDropdown: function moveTabToResponsiveDropdown($tab, $dropdown, $dropdownTriggerTab) {\n          var $tabLink = $tab.find('a');\n  \n          $tab.attr('data-aui-tab-width', $tab.outerWidth(true));\n          $tabLink.addClass('aui-dropdown2-radio aui-tabs-responsive-item');\n  \n          if ($tab.hasClass('active-tab')) {\n              $tabLink.addClass('aui-dropdown2-checked');\n              $dropdownTriggerTab.addClass('active-tab');\n          }\n  \n          $dropdown.find('ul').prepend($tab);\n      },\n  \n      moveInvisibleTabs: function moveInvisibleTabs(tabsInDropdown, remainingSpace, $dropdownTriggerTab) {\n          function hasMoreSpace(remainingSpace) {\n              return remainingSpace > 0;\n          }\n  \n          for (var i = 0; hasMoreSpace(remainingSpace) && i < tabsInDropdown.length; i++) {\n              var $tab = (0, _jquery2.default)(tabsInDropdown[i]);\n              var tabInDropdownWidth = parseInt($tab.attr('data-aui-tab-width'), 10);\n              var shouldMoveTabOut = tabInDropdownWidth < remainingSpace;\n  \n              if (shouldMoveTabOut) {\n                  this.moveTabOutOfDropdown($tab, $dropdownTriggerTab);\n              }\n  \n              remainingSpace -= tabInDropdownWidth;\n          }\n      },\n  \n      moveTabOutOfDropdown: function moveTabOutOfDropdown($tab, $dropdownTriggerTab) {\n          var isTabInDropdownActive = $tab.find('a').hasClass('aui-dropdown2-checked');\n  \n          if (isTabInDropdownActive) {\n              $tab.addClass('active-tab');\n              $dropdownTriggerTab.removeClass('active-tab');\n          }\n  \n          $tab.children('a').removeClass('aui-dropdown2-radio aui-tabs-responsive-item aui-dropdown2-checked');\n          $dropdownTriggerTab.before($tab);\n      }\n  };\n  \n  // this function is run by jquery .each() where 'this' is the current tabs container\n  function calculateResponsiveTabs(tabsContainer, index) {\n      var $tabsContainer = (0, _jquery2.default)(tabsContainer);\n      var $tabsMenu = $tabsContainer.find('.tabs-menu').first();\n      var $visibleTabs = $tabsMenu.find('li:not(.aui-tabs-responsive-trigger-item)');\n      var $dropdownTriggerTab = $tabsMenu.find('.aui-tabs-responsive-trigger').parent();\n      var $dropdownTrigger = $dropdownTriggerTab.find('a');\n      var dropdownId = $dropdownTrigger.attr('aria-controls');\n      var $dropdown = (0, _jquery2.default)(document).find('#' + dropdownId).attr('aria-checked', false);\n      var isResponsive = $dropdown.length > 0;\n      var totalTabsWidth = ResponsiveAdapter.totalTabsWidth($visibleTabs, $dropdown);\n      var needsResponsive = totalTabsWidth > $tabsContainer.outerWidth();\n  \n      if (!isResponsive && needsResponsive) {\n          $dropdownTriggerTab = ResponsiveAdapter.createResponsiveDropdownTrigger($tabsMenu, index);\n          $dropdown = ResponsiveAdapter.createResponsiveDropdown($tabsContainer, index);\n      }\n  \n      // reset id's in case tabs have changed DOM order\n      $dropdownTrigger.attr('aria-controls', 'aui-tabs-responsive-dropdown-' + index);\n      $dropdownTrigger.attr('id', 'aui-tabs-responsive-trigger-' + index);\n      $dropdownTrigger.attr('href', 'aui-tabs-responsive-trigger-' + index);\n      $dropdown.attr('id', 'aui-tabs-responsive-dropdown-' + index);\n  \n      if (needsResponsive) {\n          var $newVisibleTabs = ResponsiveAdapter.moveVisibleTabs($visibleTabs.toArray(), $tabsContainer, $dropdownTriggerTab);\n          var visibleTabWidth = ResponsiveAdapter.totalVisibleTabWidth($newVisibleTabs);\n          var remainingSpace = $tabsContainer.outerWidth() - visibleTabWidth - $dropdownTriggerTab.outerWidth(true);\n          var hasSpace = remainingSpace > 0;\n  \n          if (hasSpace) {\n              var $tabsInDropdown = $dropdown.find('li');\n              ResponsiveAdapter.moveInvisibleTabs($tabsInDropdown.toArray(), remainingSpace, $dropdownTriggerTab);\n          }\n  \n          $dropdown.on('click', 'a', handleTabClick);\n  \n          /* Workaround for bug in Edge where the dom is just not being re-rendered properly\n          It is only triggered for certain widths. Simply taking the element out of the DOM\n          and placing it back in causes the browser to re-render, hiding the issue.\n          added from AUI-4098 and to be revisited in AUI-4117*/\n          if ($tabsMenu.is(':visible')) {\n              $tabsMenu.hide().show();\n          }\n      }\n  \n      if (isResponsive && !needsResponsive) {\n          $dropdown.find('li').each(function () {\n              ResponsiveAdapter.moveTabOutOfDropdown((0, _jquery2.default)(this), $dropdownTriggerTab);\n          });\n          ResponsiveAdapter.removeResponsiveDropdown($dropdown, $dropdownTriggerTab);\n      }\n  }\n  \n  function switchToTab(tab) {\n      var $tab = (0, _jquery2.default)(tab);\n  \n      // This probably isn't needed anymore. Remove once confirmed.\n      if ($tab.hasClass('aui-tabs-responsive-trigger')) {\n          return;\n      }\n  \n      var $pane = (0, _jquery2.default)($tab.attr('href').match(REGEX)[0]);\n  \n      $pane.addClass('active-pane').attr('aria-hidden', 'false').siblings('.tabs-pane').removeClass('active-pane').attr('aria-hidden', 'true');\n  \n      var $dropdownTriggerTab = $tab.parents('.aui-tabs').find('.aui-tabs-responsive-trigger-item a');\n      var dropdownId = $dropdownTriggerTab.attr('aria-controls');\n      var $dropdown = (0, _jquery2.default)(document).find('#' + dropdownId);\n  \n      $dropdown.find('li a').attr('aria-checked', false).removeClass('checked aui-dropdown2-checked');\n      $dropdown.find('li').removeClass('active-tab');\n  \n      $tab.parent('li.menu-item').addClass('active-tab').siblings('.menu-item').removeClass('active-tab');\n  \n      if ($tab.hasClass('aui-tabs-responsive-item')) {\n          var $visibleTabs = $pane.parent('.aui-tabs').find('li.menu-item:not(.aui-tabs-responsive-trigger-item)');\n  \n          $visibleTabs.removeClass('active-tab');\n          $visibleTabs.find('a').removeClass('checked').removeAttr('aria-checked');\n      }\n  \n      if ($tab.hasClass('aui-tabs-responsive-item')) {\n          $pane.parent('.aui-tabs').find('li.menu-item.aui-tabs-responsive-trigger-item').addClass('active-tab');\n      }\n  \n      $tab.closest('.tabs-menu').find('a').attr('aria-selected', 'false');\n      $tab.attr('aria-selected', 'true');\n      $tab.trigger('tabSelect', {\n          tab: $tab,\n          pane: $pane\n      });\n  }\n  \n  function isPersistentTabGroup($tabGroup) {\n      // Tab group persistent attribute exists and is not false\n      return $tabGroup.attr('data-aui-persist') !== undefined && $tabGroup.attr('data-aui-persist') !== 'false';\n  }\n  \n  function createPersistentKey($tabGroup) {\n      var tabGroupId = $tabGroup.attr('id');\n      var value = $tabGroup.attr('data-aui-persist');\n  \n      return STORAGE_PREFIX + (tabGroupId ? tabGroupId : '') + (value && value !== 'true' ? '-' + value : '');\n  }\n  \n  /* eslint max-depth: 1 */\n  function updateTabsFromLocalStorage($tabGroups) {\n      for (var i = 0, ii = $tabGroups.length; i < ii; i++) {\n          var $tabGroup = $tabGroups.eq(i);\n          var tabs = $tabGroups.get(i);\n  \n          if (isPersistentTabGroup($tabGroup) && window.localStorage) {\n              var tabGroupId = $tabGroup.attr('id');\n  \n              if (tabGroupId) {\n                  var persistentTabId = window.localStorage.getItem(createPersistentKey($tabGroup));\n  \n                  if (persistentTabId) {\n                      var anchor = tabs.querySelector('a[href$=\"' + persistentTabId + '\"]');\n  \n                      if (anchor) {\n                          switchToTab(anchor);\n                      }\n                  }\n              } else {\n                  logger.warn('A tab group must specify an id attribute if it specifies data-aui-persist.');\n              }\n          }\n      }\n  }\n  \n  function updateLocalStorageEntry($tab) {\n      var $tabGroup = $tab.closest('.aui-tabs');\n      var tabGroupId = $tabGroup.attr('id');\n  \n      if (tabGroupId) {\n          var tabId = $tab.attr('href');\n  \n          if (tabId) {\n              window.localStorage.setItem(createPersistentKey($tabGroup), tabId);\n          }\n      } else {\n          logger.warn('A tab group must specify an id attribute if it specifies data-aui-persist.');\n      }\n  }\n  \n  function handleTabClick(e) {\n      tabs.change((0, _jquery2.default)(e.target).closest('a'));\n  \n      if (e) {\n          e.preventDefault();\n      }\n  }\n  \n  function responsiveResizeHandler(tabs) {\n      tabs.forEach(function (tab, index) {\n          calculateResponsiveTabs(tab, index);\n      });\n  }\n  \n  // Initialisation\n  // --------------\n  \n  function getTabs() {\n      return (0, _jquery2.default)('.aui-tabs:not(.aui-tabs-disabled)');\n  }\n  \n  function getResponsiveTabs() {\n      return (0, _jquery2.default)(RESPONSIVE_OPT_IN_SELECTOR).toArray();\n  }\n  \n  function initWindow() {\n      var debounced = (0, _debounce2.default)(responsiveResizeHandler, 200);\n      var responsive = getResponsiveTabs();\n  \n      responsiveResizeHandler(responsive);\n  \n      (0, _jquery2.default)(window).resize(function () {\n          debounced(responsive);\n      });\n  }\n  \n  function initTab(tab) {\n      var $tab = (0, _jquery2.default)(tab);\n  \n      tab.setAttribute('role', 'application');\n  \n      if (!$tab.data('aui-tab-events-bound')) {\n          var $tabMenu = $tab.children('ul.tabs-menu');\n  \n          // ARIA setup\n          $tabMenu.attr('role', 'tablist');\n  \n          // ignore the LIs so tab count is announced correctly\n          $tabMenu.children('li').attr('role', 'presentation');\n          $tabMenu.find('> .menu-item a').each(function () {\n              enhanceTabLink(this);\n          });\n  \n          // Set up click event for tabs\n          $tabMenu.on('click', 'a', handleTabClick);\n          $tab.data('aui-tab-events-bound', true);\n  \n          initPanes(tab);\n      }\n  }\n  \n  function initTabs() {\n      var tabs = getTabs();\n  \n      tabs.each(function () {\n          initTab(this);\n      });\n  \n      updateTabsFromLocalStorage(tabs);\n  }\n  \n  function initPane(pane) {\n      pane.setAttribute('role', 'tabpanel');\n      pane.setAttribute('aria-hidden', (0, _jquery2.default)(pane).hasClass('active-pane') ? 'false' : 'true');\n  }\n  \n  function initPanes(tab) {\n      [].slice.call(tab.querySelectorAll('.tabs-pane')).forEach(initPane);\n  }\n  \n  function initVerticalTabs() {\n      // Vertical tab truncation setup (adds title if clipped)\n      (0, _jquery2.default)('.aui-tabs.vertical-tabs').find('a').each(function () {\n          var thisTab = (0, _jquery2.default)(this);\n  \n          // don't override existing titles\n          if (!thisTab.attr('title')) {\n              // if text has been truncated, add title\n              if ((0, _isClipped2.default)(thisTab)) {\n                  thisTab.attr('title', thisTab.text());\n              }\n          }\n      });\n  }\n  \n  var tabs = {\n      setup: function setup() {\n          initWindow();\n          initTabs();\n          initVerticalTabs();\n      },\n  \n      change: function change(a) {\n          var $a = (0, _jquery2.default)(a);\n          var $tabGroup = $a.closest('.aui-tabs');\n  \n          switchToTab($a);\n  \n          if (isPersistentTabGroup($tabGroup) && window.localStorage) {\n              updateLocalStorageEntry($a);\n          }\n      }\n  };\n  \n  (0, _jquery2.default)(tabs.setup);\n  \n  // Web Components\n  // --------------\n  \n  function findComponent(element) {\n      return (0, _jquery2.default)(element).closest('aui-tabs').get(0);\n  }\n  \n  function findPanes(tabs) {\n      return tabs.querySelectorAll('aui-tabs-pane');\n  }\n  \n  function findTabs(tabs) {\n      return tabs.querySelectorAll('li[is=aui-tabs-tab]');\n  }\n  \n  (0, _skate2.default)('aui-tabs', {\n      created: function created(element) {\n          (0, _jquery2.default)(element).addClass('aui-tabs horizontal-tabs');\n  \n          // We must initialise here so that the old code still works since\n          // the lifecycle of the sub-components setup the markup so that it\n          // can be processed by the old logic.\n          _skate2.default.init(element);\n  \n          // Use the old logic to initialise the tabs.\n          initTab(element);\n      },\n      template: template('<ul class=\"tabs-menu\">', '<content select=\"li[is=aui-tabs-tab]\"></content>', '</ul>', '<content select=\"aui-tabs-pane\"></content>'),\n      prototype: {\n          select: function select(element) {\n              var index = (0, _jquery2.default)(findPanes(this)).index(element);\n  \n              if (index > -1) {\n                  tabs.change(findTabs(this)[index].children[0]);\n              }\n  \n              return this;\n          }\n      }\n  });\n  \n  var Tab = (0, _skate2.default)('aui-tabs-tab', {\n      extends: 'li',\n      created: function created(element) {\n          (0, _jquery2.default)(element).addClass('menu-item');\n      },\n      template: template('<a href=\"#\">', '<strong>', '<content></content>', '</strong>', '</a>')\n  });\n  \n  (0, _skate2.default)('aui-tabs-pane', {\n      attached: function attached(element) {\n          var $component = (0, _jquery2.default)(findComponent(element));\n          var $element = (0, _jquery2.default)(element);\n          var index = $component.find('aui-tabs-pane').index($element);\n          var tab = new Tab();\n          var $tab = (0, _jquery2.default)(tab);\n  \n          $element.addClass('tabs-pane');\n          tab.firstChild.setAttribute('href', '#' + element.id);\n          template.wrap(tab).textContent = $element.attr('title');\n  \n          if (index === 0) {\n              $element.addClass('active-pane');\n          }\n  \n          if ($element.hasClass('active-pane')) {\n              $tab.addClass('active-tab');\n          }\n  \n          $element.siblings('ul').append(tab);\n      },\n      template: template('<content></content>')\n  });\n  \n  (0, _globalize2.default)('tabs', tabs);\n  \n  exports.default = tabs;\n  module.exports = exports['default'];\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/toggle-class-name.js\n(typeof window === 'undefined' ? global : window).__443c92c49fcde1b9d5cdfb037a5bc650 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n      value: true\n  });\n  \n  var _jquery = __d931c30d7068216ce2c2064d08fd424c;\n  \n  var _jquery2 = _interopRequireDefault(_jquery);\n  \n  var _deprecation = __2283e259423cbf11e76a3bf5e9e47933;\n  \n  var _globalize = __58c75a0e7e2cf47e300bc2f2ecec24a2;\n  \n  var _globalize2 = _interopRequireDefault(_globalize);\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  /**\n   * Shortcut function to toggle class name of an element.\n   *\n   * @param {String | Element} element The element or an ID to toggle class name on.\n   * @param {String} className The class name to remove or add.\n   *\n   * @returns {undefined}\n   */\n  function toggleClassName(element, className) {\n      if (!(element = (0, _jquery2.default)(element))) {\n          return;\n      }\n  \n      element.toggleClass(className);\n  }\n  \n  var toggleClassName = (0, _deprecation.fn)(toggleClassName, 'toggleClassName', {\n      sinceVersion: '5.8.0'\n  });\n  \n  (0, _globalize2.default)('toggleClassName', toggleClassName);\n  \n  exports.default = toggleClassName;\n  module.exports = exports['default'];\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/to-init.js\n(typeof window === 'undefined' ? global : window).__48c8e5528dc2c8e27ad29b7f06f4b527 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n      value: true\n  });\n  \n  var _jquery = __d931c30d7068216ce2c2064d08fd424c;\n  \n  var _jquery2 = _interopRequireDefault(_jquery);\n  \n  var _log = __16a4a3246fcb7206cb3ce72a302f68ce;\n  \n  var logger = _interopRequireWildcard(_log);\n  \n  var _globalize = __58c75a0e7e2cf47e300bc2f2ecec24a2;\n  \n  var _globalize2 = _interopRequireDefault(_globalize);\n  \n  function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  /**\n   * Adds functions to the list of methods to be run on initialisation. Wraps\n   * error handling around the provided function so its failure won't prevent\n   * other init functions running.\n   *\n   * @param {Function} func Function to be call on initialisation.\n   *\n   * @return {Object}\n   */\n  function toInit(func) {\n      (0, _jquery2.default)(function () {\n          try {\n              func.apply(this, arguments);\n          } catch (ex) {\n              logger.log('Failed to run init function: ' + ex + '\\n' + func.toString());\n          }\n      });\n  \n      return this;\n  }\n  \n  (0, _globalize2.default)('toInit', toInit);\n  \n  exports.default = toInit;\n  module.exports = exports['default'];\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/unbind-text-resize.js\n(typeof window === 'undefined' ? global : window).__b5ef8e8e21192126bd9b137d6689eb5a = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n      value: true\n  });\n  \n  var _globalize = __58c75a0e7e2cf47e300bc2f2ecec24a2;\n  \n  var _globalize2 = _interopRequireDefault(_globalize);\n  \n  var _onTextResize = __f27442be3d62aab12f02b077976aafac;\n  \n  var _onTextResize2 = _interopRequireDefault(_onTextResize);\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  function unbindTextResize(f) {\n      for (var i = 0, ii = _onTextResize2.default['on-text-resize'].length; i < ii; i++) {\n          if (_onTextResize2.default['on-text-resize'][i] === f) {\n              return _onTextResize2.default['on-text-resize'].splice(i, 1);\n          }\n      }\n  }\n  \n  (0, _globalize2.default)('unbindTextResize', unbindTextResize);\n  \n  exports.default = unbindTextResize;\n  module.exports = exports['default'];\n  \n  return module.exports;\n}).call(this);\n// src/js/jquery/jquery.hotkeys.js\n(typeof window === 'undefined' ? global : window).__f2283a6a42525f2d9a35cccac5156f25 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  \"use strict\";\n  \n  /*\n   * Modified by Atlassian to allow chaining of keys\n   *\n   * jQuery Hotkeys Plugin\n   * Copyright 2010, John Resig\n   * Dual licensed under the MIT or GPL Version 2 licenses.\n   *\n   * Based upon the plugin by Tzury Bar Yochay:\n   * http://github.com/tzuryby/hotkeys\n   *\n   * Original idea by:\n   * Binny V A, http://www.openjs.com/scripts/events/keyboard_shortcuts/\n  */\n  \n  (function (jQuery) {\n  \n      jQuery.hotkeys = {\n          version: \"0.8\",\n  \n          specialKeys: {\n              8: \"backspace\", 9: \"tab\", 13: \"return\", 16: \"shift\", 17: \"ctrl\", 18: \"alt\", 19: \"pause\",\n              20: \"capslock\", 27: \"esc\", 32: \"space\", 33: \"pageup\", 34: \"pagedown\", 35: \"end\", 36: \"home\",\n              37: \"left\", 38: \"up\", 39: \"right\", 40: \"down\", 45: \"insert\", 46: \"del\",\n              91: \"meta\",\n              96: \"0\", 97: \"1\", 98: \"2\", 99: \"3\", 100: \"4\", 101: \"5\", 102: \"6\", 103: \"7\",\n              104: \"8\", 105: \"9\", 106: \"*\", 107: \"+\", 109: \"-\", 110: \".\", 111: \"/\",\n              112: \"f1\", 113: \"f2\", 114: \"f3\", 115: \"f4\", 116: \"f5\", 117: \"f6\", 118: \"f7\", 119: \"f8\",\n              120: \"f9\", 121: \"f10\", 122: \"f11\", 123: \"f12\", 144: \"numlock\", 145: \"scroll\",\n              188: \",\", 190: \".\", 191: \"/\", 224: \"meta\", 219: '[', 221: ']'\n          },\n  \n          // These only work under Mac Gecko when using keypress (see http://unixpapa.com/js/key.html).\n          keypressKeys: [\"<\", \">\", \"?\"],\n  \n          shiftNums: {\n              \"`\": \"~\", \"1\": \"!\", \"2\": \"@\", \"3\": \"#\", \"4\": \"$\", \"5\": \"%\", \"6\": \"^\", \"7\": \"&\",\n              \"8\": \"*\", \"9\": \"(\", \"0\": \")\", \"-\": \"_\", \"=\": \"+\", \";\": \":\", \"'\": \"\\\"\", \",\": \"<\",\n              \".\": \">\", \"/\": \"?\", \"\\\\\": \"|\"\n          }\n      };\n  \n      jQuery.each(jQuery.hotkeys.keypressKeys, function (_, key) {\n          jQuery.hotkeys.shiftNums[key] = key;\n      });\n  \n      function TimedNumber(timer) {\n          this.num = 0;\n          this.timer = timer > 0 ? timer : false;\n      }\n      TimedNumber.prototype.val = function () {\n          return this.num;\n      };\n      TimedNumber.prototype.inc = function () {\n          if (this.timer) {\n              clearTimeout(this.timeout);\n              this.timeout = setTimeout(jQuery.proxy(TimedNumber.prototype.reset, this), this.timer);\n          }\n          this.num++;\n      };\n      TimedNumber.prototype.reset = function () {\n          if (this.timer) {\n              clearTimeout(this.timeout);\n          }\n          this.num = 0;\n      };\n  \n      function keyHandler(handleObj) {\n          // Only care when a possible input has been specified\n          if (!(jQuery.isPlainObject(handleObj.data) || jQuery.isArray(handleObj.data) || typeof handleObj.data === \"string\")) {\n              return;\n          }\n  \n          var origHandler = handleObj.handler,\n              options = {\n              timer: 700,\n              combo: []\n          };\n  \n          (function (data) {\n              if (typeof data === 'string') {\n                  options.combo = [data];\n              } else if (jQuery.isArray(data)) {\n                  options.combo = data;\n              } else {\n                  jQuery.extend(options, data);\n              }\n              options.combo = jQuery.map(options.combo, function (key) {\n                  return key.toLowerCase();\n              });\n          })(handleObj.data);\n  \n          handleObj.index = new TimedNumber(options.timer);\n          handleObj.handler = function (event) {\n              // Don't fire in text-accepting inputs that we didn't directly bind to\n              if (this !== event.target && /textarea|select|input/i.test(event.target.nodeName)) {\n                  return;\n              }\n  \n              // Keypress represents characters, not special keys\n              var special = event.type !== 'keypress' ? jQuery.hotkeys.specialKeys[event.which] : null,\n                  character = String.fromCharCode(event.which).toLowerCase(),\n                  key,\n                  modif = \"\",\n                  possible = {};\n  \n              // check combinations (alt|ctrl|shift+anything)\n              if (event.altKey && special !== \"alt\") {\n                  modif += \"alt+\";\n              }\n  \n              if (event.ctrlKey && special !== \"ctrl\") {\n                  modif += \"ctrl+\";\n              }\n  \n              // TODO: Need to make sure this works consistently across platforms\n              if (event.metaKey && !event.ctrlKey && special !== \"meta\") {\n                  modif += \"meta+\";\n              }\n  \n              if (event.shiftKey && special !== \"shift\") {\n                  modif += \"shift+\";\n              }\n  \n              // Under Chrome and Safari, meta's keycode == '['s charcode\n              // Even if they did type this key combo we could not use it because it is browser back in Chrome/Safari on OS X\n              if (event.metaKey && character === '[') {\n                  character = null;\n              }\n  \n              if (special) {\n                  possible[modif + special] = true;\n              }\n              if (character) {\n                  possible[modif + character] = true;\n              }\n  \n              // \"$\" can be specified as \"shift+4\" or \"$\"\n              if (/shift+/.test(modif)) {\n                  possible[modif.replace('shift+', '') + jQuery.hotkeys.shiftNums[special || character]] = true;\n              }\n  \n              var index = handleObj.index,\n                  combo = options.combo;\n  \n              if (pressed(combo[index.val()], possible)) {\n                  if (index.val() === combo.length - 1) {\n                      index.reset();\n                      return origHandler.apply(this, arguments);\n                  } else {\n                      index.inc();\n                  }\n              } else {\n                  index.reset();\n                  // For mutli-key combinations, we might have restarted the key sequence.\n                  if (pressed(combo[0], possible)) {\n                      index.inc();\n                  }\n              }\n          };\n      }\n  \n      function pressed(key, possible) {\n          var keys = key.split(' ');\n          for (var i = 0, len = keys.length; i < len; i++) {\n              if (possible[keys[i]]) {\n                  return true;\n              }\n          }\n          return false;\n      }\n  \n      jQuery.each([\"keydown\", \"keyup\", \"keypress\"], function () {\n          jQuery.event.special[this] = { add: keyHandler };\n      });\n  })(jQuery);\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/when-i-type.js\n(typeof window === 'undefined' ? global : window).__b8506d587a23ceff4bff3aa68cff88e3 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n      value: true\n  });\n  \n  var _jquery = __d931c30d7068216ce2c2064d08fd424c;\n  \n  var _jquery2 = _interopRequireDefault(_jquery);\n  \n  __f2283a6a42525f2d9a35cccac5156f25;\n  \n  __fad3cd5b79ca2d86da268a98487f781c;\n  \n  var _log = __16a4a3246fcb7206cb3ce72a302f68ce;\n  \n  var logger = _interopRequireWildcard(_log);\n  \n  var _dialog = __629e244af2a4d0f7896df9c6eda85934;\n  \n  var _globalize = __58c75a0e7e2cf47e300bc2f2ecec24a2;\n  \n  var _globalize2 = _interopRequireDefault(_globalize);\n  \n  var _i18n = __2a8f02ddf948a2241e4b1ac8618d2015;\n  \n  var _i18n2 = _interopRequireDefault(_i18n);\n  \n  var _keyCode = __0feafabcd51357b770acdddb85e8e6f3;\n  \n  var _keyCode2 = _interopRequireDefault(_keyCode);\n  \n  function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  var isMac = navigator.platform.indexOf('Mac') !== -1;\n  var multiCharRegex = /^(backspace|tab|r(ight|eturn)|s(hift|pace|croll)|c(trl|apslock)|alt|pa(use|ge(up|down))|e(sc|nd)|home|left|up|d(el|own)|insert|f\\d\\d?|numlock|meta)/i;\n  \n  /**\n   * Keyboard commands with syntactic sugar.\n   *\n   * <strong>Usage:</strong>\n   * <pre>\n   * whenIType(\"gh\").or(\"gd\").goTo(\"/secure/Dashboard.jspa\");\n   * whenIType(\"c\").click(\"#create_link\");\n   * </pre>\n   *\n   * @param keys - Key combinations, modifier keys are \"+\" deliminated. e.g \"ctrl+b\"\n   */\n  function whenIType(keys) {\n      var boundKeyCombos = [];\n      var executor = _jquery2.default.Callbacks();\n  \n      function keypressHandler(e) {\n          if (!_dialog.popup.current && executor) {\n              executor.fire(e);\n          }\n      }\n  \n      function defaultPreventionHandler(e) {\n          e.preventDefault();\n      }\n  \n      // Bind an arbitrary set of keys by calling bindKeyCombo on each triggering key combo.\n      // A string like \"abc 123\" means (a then b then c) OR (1 then 2 then 3). abc is one key combo, 123 is another.\n      function bindKeys(keys) {\n          var keyCombos = keys && keys.split ? _jquery2.default.trim(keys).split(' ') : [keys];\n  \n          keyCombos.forEach(function (keyCombo) {\n              bindKeyCombo(keyCombo);\n          });\n      }\n  \n      function hasUnprintables(keysArr) {\n          // a bit of a heuristic, but works for everything we have. Only the unprintable characters are represented with > 1-character names.\n          var i = keysArr.length;\n          while (i--) {\n              if (keysArr[i].length > 1 && keysArr[i] !== 'space') {\n                  return true;\n              }\n          }\n          return false;\n      }\n  \n      // bind a single key combo to this handler\n      // A string like \"abc 123\" means (a then b then c) OR (1 then 2 then 3). abc is one key combo, 123 is another.\n      function bindKeyCombo(keyCombo) {\n          var keysArr = keyCombo instanceof Array ? keyCombo : keyComboArrayFromString(keyCombo.toString());\n          var eventType = hasUnprintables(keysArr) ? 'keydown' : 'keypress';\n  \n          boundKeyCombos.push(keysArr);\n          (0, _jquery2.default)(document).bind(eventType, keysArr, keypressHandler);\n  \n          // Override browser/plugins\n          (0, _jquery2.default)(document).bind(eventType + ' keyup', keysArr, defaultPreventionHandler);\n      }\n  \n      // parse out an array of (modifier+key) presses from a single string\n      // e.g. \"12ctrl+3\" becomes [ \"1\", \"2\", \"ctrl+3\" ]\n      function keyComboArrayFromString(keyString) {\n          var keysArr = [];\n          var currModifiers = '';\n  \n          while (keyString.length) {\n              var modifierMatch = keyString.match(/^(ctrl|meta|shift|alt)\\+/i);\n              var multiCharMatch = keyString.match(multiCharRegex);\n  \n              if (modifierMatch) {\n                  currModifiers += modifierMatch[0];\n                  keyString = keyString.substring(modifierMatch[0].length);\n              } else if (multiCharMatch) {\n                  keysArr.push(currModifiers + multiCharMatch[0]);\n                  keyString = keyString.substring(multiCharMatch[0].length);\n                  currModifiers = '';\n              } else {\n                  keysArr.push(currModifiers + keyString[0]);\n                  keyString = keyString.substring(1);\n                  currModifiers = '';\n              }\n          }\n  \n          return keysArr;\n      }\n  \n      function addShortcutsToTitle(selector) {\n          var elem = (0, _jquery2.default)(selector);\n          var title = elem.attr('title') || '';\n          var keyCombos = boundKeyCombos.slice();\n          var shortcutInstructions = elem.data('kbShortcutAppended') || '';\n          var isFirst = !shortcutInstructions;\n          var originalTitle = isFirst ? title : title.substring(0, title.length - shortcutInstructions.length);\n  \n          while (keyCombos.length) {\n              shortcutInstructions = appendKeyComboInstructions(keyCombos.shift().slice(), shortcutInstructions, isFirst);\n              isFirst = false;\n          }\n  \n          if (isMac) {\n              shortcutInstructions = shortcutInstructions.replace(/Meta/ig, '⌘') //Apple cmd key\n              .replace(/Shift/ig, '⇧'); //Apple Shift symbol\n          }\n  \n          elem.attr('title', originalTitle + shortcutInstructions);\n          elem.data('kbShortcutAppended', shortcutInstructions);\n      }\n  \n      function removeShortcutsFromTitle(selector) {\n          var elem = (0, _jquery2.default)(selector);\n          var shortcuts = elem.data('kbShortcutAppended');\n  \n          if (!shortcuts) {\n              return;\n          }\n  \n          var title = elem.attr('title');\n          elem.attr('title', title.replace(shortcuts, ''));\n          elem.removeData('kbShortcutAppended');\n      }\n  \n      //\n      function appendKeyComboInstructions(keyCombo, title, isFirst) {\n          if (isFirst) {\n              title += ' (' + AJS.I18n.getText('aui.keyboard.shortcut.type.x', keyCombo.shift());\n          } else {\n              title = title.replace(/\\)$/, '');\n              title += AJS.I18n.getText('aui.keyboard.shortcut.or.x', keyCombo.shift());\n          }\n  \n          keyCombo.forEach(function (key) {\n              title += ' ' + AJS.I18n.getText('aui.keyboard.shortcut.then.x', key);\n          });\n          title += ')';\n  \n          return title;\n      }\n  \n      bindKeys(keys);\n  \n      return whenIType.makeShortcut({\n          executor: executor,\n          bindKeys: bindKeys,\n          addShortcutsToTitle: addShortcutsToTitle,\n          removeShortcutsFromTitle: removeShortcutsFromTitle,\n          keypressHandler: keypressHandler,\n          defaultPreventionHandler: defaultPreventionHandler\n      });\n  }\n  \n  whenIType.makeShortcut = function (options) {\n      var executor = options.executor;\n      var bindKeys = options.bindKeys;\n      var addShortcutsToTitle = options.addShortcutsToTitle;\n      var removeShortcutsFromTitle = options.removeShortcutsFromTitle;\n      var keypressHandler = options.keypressHandler;\n      var defaultPreventionHandler = options.defaultPreventionHandler;\n  \n      var selectorsWithTitlesModified = [];\n  \n      function makeMoveToFunction(getNewFocus) {\n          return function (selector, options) {\n              options = options || {};\n              var focusedClass = options.focusedClass || 'focused';\n              var wrapAround = options.hasOwnProperty('wrapAround') ? options.wrapAround : true;\n              var escToCancel = options.hasOwnProperty('escToCancel') ? options.escToCancel : true;\n  \n              executor.add(function () {\n  \n                  var $items = (0, _jquery2.default)(selector),\n                      $focusedElem = $items.filter('.' + focusedClass),\n                      moveToOptions = $focusedElem.length === 0 ? undefined : { transition: true };\n  \n                  if (escToCancel) {\n                      (0, _jquery2.default)(document).one('keydown', function (e) {\n                          if (e.keyCode === _keyCode2.default.ESCAPE && $focusedElem) {\n                              $focusedElem.removeClass(focusedClass);\n                          }\n                      });\n                  }\n  \n                  if ($focusedElem.length) {\n                      $focusedElem.removeClass(focusedClass);\n                  }\n  \n                  $focusedElem = getNewFocus($focusedElem, $items, wrapAround);\n  \n                  if ($focusedElem && $focusedElem.length > 0) {\n                      $focusedElem.addClass(focusedClass);\n                      $focusedElem.moveTo(moveToOptions);\n                      if ($focusedElem.is('a')) {\n                          $focusedElem.focus();\n                      } else {\n                          $focusedElem.find('a:first').focus();\n                      }\n                  }\n              });\n              return this;\n          };\n      }\n  \n      return {\n  \n          /**\n           * Scrolls to and adds <em>focused</em> class to the next item in the jQuery collection\n           *\n           * @method moveToNextItem\n           * @param selector\n           * @param options\n           * @return {Object}\n           */\n          moveToNextItem: makeMoveToFunction(function ($focusedElem, $items, wrapAround) {\n              var index;\n  \n              if (wrapAround && $focusedElem.length === 0) {\n                  return $items.eq(0);\n              } else {\n                  index = _jquery2.default.inArray($focusedElem.get(0), $items);\n                  if (index < $items.length - 1) {\n                      index = index + 1;\n                      return $items.eq(index);\n                  } else if (wrapAround) {\n                      return $items.eq(0);\n                  }\n              }\n  \n              return $focusedElem;\n          }),\n          /**\n           * Scrolls to and adds <em>focused</em> class to the previous item in the jQuery collection\n           *\n           * @method moveToPrevItem\n           * @param selector\n           * @param focusedClass\n           * @return {Object}\n           */\n          moveToPrevItem: makeMoveToFunction(function ($focusedElem, $items, wrapAround) {\n              var index;\n              if (wrapAround && $focusedElem.length === 0) {\n                  return $items.filter(':last');\n              } else {\n                  index = _jquery2.default.inArray($focusedElem.get(0), $items);\n                  if (index > 0) {\n                      index = index - 1;\n                      return $items.eq(index);\n                  } else if (wrapAround) {\n                      return $items.filter(':last');\n                  }\n              }\n  \n              return $focusedElem;\n          }),\n  \n          /**\n           * Clicks the element specified by the <em>selector</em> argument.\n           *\n           * @method click\n           * @param selector - jQuery selector for element\n           * @return {Object}\n           */\n          click: function click(selector) {\n              selectorsWithTitlesModified.push(selector);\n              addShortcutsToTitle(selector);\n  \n              executor.add(function () {\n                  var elem = (0, _jquery2.default)(selector);\n                  if (elem.length > 0) {\n                      elem.click();\n                  }\n              });\n              return this;\n          },\n  \n          /**\n           * Navigates to specified <em>location</em>\n           *\n           * @method goTo\n           * @param {String} location - http location\n           * @return {Object}\n           */\n          goTo: function goTo(location) {\n              executor.add(function () {\n                  window.location.href = location;\n              });\n              return this;\n          },\n  \n          /**\n           * navigates browser window to link href\n           *\n           * @method followLink\n           * @param selector - jQuery selector for element\n           * @return {Object}\n           */\n          followLink: function followLink(selector) {\n              selectorsWithTitlesModified.push(selector);\n              addShortcutsToTitle(selector);\n  \n              executor.add(function () {\n                  var elem = (0, _jquery2.default)(selector)[0];\n                  if (elem && { 'a': true, 'link': true }[elem.nodeName.toLowerCase()]) {\n                      window.location.href = elem.href;\n                  }\n              });\n              return this;\n          },\n  \n          /**\n           * Executes function\n           *\n           * @method execute\n           * @param {function} func\n           * @return {Object}\n           */\n          execute: function execute(func) {\n              var self = this;\n              executor.add(function () {\n                  func.apply(self, arguments);\n              });\n              return this;\n          },\n  \n          /**\n           * @deprecated This implementation is uncool. Kept around to satisfy Confluence plugin devs in the short term.\n           *\n           * Executes the javascript provided by the shortcut plugin point _immediately_.\n           *\n           * @method evaluate\n           * @param {Function} command - the function provided by the shortcut key plugin point\n           */\n          evaluate: function evaluate(command) {\n              command.call(this);\n          },\n  \n          /**\n           * Scrolls to element if out of view, then clicks it.\n           *\n           * @method moveToAndClick\n           * @param selector - jQuery selector for element\n           * @return {Object}\n           */\n          moveToAndClick: function moveToAndClick(selector) {\n              selectorsWithTitlesModified.push(selector);\n              addShortcutsToTitle(selector);\n  \n              executor.add(function () {\n                  var elem = (0, _jquery2.default)(selector);\n                  if (elem.length > 0) {\n                      elem.click();\n                      elem.moveTo();\n                  }\n              });\n              return this;\n          },\n  \n          /**\n           * Scrolls to element if out of view, then focuses it\n           *\n           * @method moveToAndFocus\n           * @param selector - jQuery selector for element\n           * @return {Object}\n           */\n          moveToAndFocus: function moveToAndFocus(selector) {\n              selectorsWithTitlesModified.push(selector);\n              addShortcutsToTitle(selector);\n  \n              executor.add(function (e) {\n                  var $elem = (0, _jquery2.default)(selector);\n                  if ($elem.length > 0) {\n                      $elem.focus();\n                      if ($elem.moveTo) {\n                          $elem.moveTo();\n                      }\n                      if ($elem.is(':input')) {\n                          e.preventDefault();\n                      }\n                  }\n              });\n              return this;\n          },\n  \n          /**\n           * Binds additional keyboard controls\n           *\n           * @method or\n           * @param {String} keys - keys to bind\n           * @return {Object}\n           */\n          or: function or(keys) {\n              bindKeys(keys);\n              return this;\n          },\n  \n          /**\n           * Unbinds shortcut keys\n           *\n           * @method unbind\n           */\n          unbind: function unbind() {\n              (0, _jquery2.default)(document).unbind('keydown keypress', keypressHandler).unbind('keydown keypress keyup', defaultPreventionHandler);\n  \n              for (var i = 0, len = selectorsWithTitlesModified.length; i < len; i++) {\n                  removeShortcutsFromTitle(selectorsWithTitlesModified[i]);\n              }\n              selectorsWithTitlesModified = [];\n          }\n      };\n  };\n  \n  /**\n   * Creates keyboard commands and their actions from json data. Format looks like:\n   *\n   * <pre>\n   * [\n   *   {\n   *        \"keys\":[[\"g\", \"d\"]],\n   *        \"context\":\"global\",\n   *        \"op\":\"followLink\",\n   *        \"param\":\"#home_link\"\n   *    },\n   *    {\n   *        \"keys\":[[\"g\", \"i\"]],\n   *        \"context\":\"global\",\n   *        \"op\":\"followLink\",\n   *        \"param\":\"#find_link\"\n   *    },\n   *    {\n   *        \"keys\":[[\"/\"]],\n   *        \"context\":\"global\",\n   *        \"op\":\"moveToAndFocus\",\n   *        \"param\":\"#quickSearchInput\"\n   *    },\n   *    {\n   *        \"keys\":[[\"c\"]],\n   *        \"context\":\"global\",\n   *        \"op\":\"moveToAndClick\",\n   *        \"param\":\"#create_link\"\n   *    }\n   * ]\n   * </pre>\n   *\n   * @method fromJSON\n   * @static\n   * @param json\n   */\n  whenIType.fromJSON = function (json, switchCtrlToMetaOnMac) {\n      var shortcuts = [];\n  \n      if (json) {\n          _jquery2.default.each(json, function (i, item) {\n              var operation = item.op,\n                  param = item.param,\n                  params;\n  \n              if (operation === 'execute' || operation === 'evaluate') {\n                  // need to turn function string into function object\n                  params = [new Function(param)];\n              } else if (/^\\[[^\\]\\[]*,[^\\]\\[]*\\]$/.test(param)) {\n                  // pass in an array to send multiple params\n                  try {\n                      params = JSON.parse(param);\n                  } catch (e) {\n                      logger.error('When using a parameter array, array must be in strict JSON format: ' + param);\n                  }\n  \n                  if (!_jquery2.default.isArray(params)) {\n                      logger.error('Badly formatted shortcut parameter. String or JSON Array of parameters required: ' + param);\n                  }\n              } else {\n                  params = [param];\n              }\n  \n              _jquery2.default.each(item.keys, function () {\n  \n                  var shortcutList = this;\n                  if (switchCtrlToMetaOnMac && isMac) {\n                      shortcutList = _jquery2.default.map(shortcutList, function (shortcutString) {\n                          return shortcutString.replace(/ctrl/i, 'meta');\n                      });\n                  }\n  \n                  var newShortcut = whenIType(shortcutList);\n                  newShortcut[operation].apply(newShortcut, params);\n                  shortcuts.push(newShortcut);\n              });\n          });\n      }\n  \n      return shortcuts;\n  };\n  \n  // Trigger this event on an iframe if you want its keypress events to be propagated (Events to work in iframes).\n  (0, _jquery2.default)(document).bind('iframeAppended', function (e, iframe) {\n      (0, _jquery2.default)(iframe).load(function () {\n          var target = (0, _jquery2.default)(iframe).contents();\n  \n          target.bind('keyup keydown keypress', function (e) {\n              // safari propagates keypress events from iframes\n              if (_jquery2.default.browser.safari && e.type === 'keypress') {\n                  return;\n              }\n  \n              if (!(0, _jquery2.default)(e.target).is(':input')) {\n                  _jquery2.default.event.trigger(e, arguments, // Preserve original event data.\n                  document, // Bubble this event from the iframe's document to its parent document.\n                  true // Use the capturing phase to preserve original event.target.\n                  );\n              }\n          });\n      });\n  });\n  \n  (0, _globalize2.default)('whenIType', whenIType);\n  \n  exports.default = whenIType;\n  module.exports = exports['default'];\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/version.js\n(typeof window === 'undefined' ? global : window).__311d8b827ecc697e76b60caccdea58e8 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  \n  var _globalize = __58c75a0e7e2cf47e300bc2f2ecec24a2;\n  \n  var _globalize2 = _interopRequireDefault(_globalize);\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  var version = '5.10.1';\n  \n  (0, _globalize2.default)('version', version);\n  \n  exports.default = version;\n  module.exports = exports['default'];\n  \n  return module.exports;\n}).call(this);\n// src/js/aui/setup.js\n(typeof window === 'undefined' ? global : window).__5d268f6dfd2bbbe481e16eeed14dee12 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  var _jquery = __d931c30d7068216ce2c2064d08fd424c;\n  \n  var _jquery2 = _interopRequireDefault(_jquery);\n  \n  var _globalize = __58c75a0e7e2cf47e300bc2f2ecec24a2;\n  \n  var _globalize2 = _interopRequireDefault(_globalize);\n  \n  var _populateParameters = __3dec74d8fba6cccecefff550c6b07285;\n  \n  var _populateParameters2 = _interopRequireDefault(_populateParameters);\n  \n  var _version = __311d8b827ecc697e76b60caccdea58e8;\n  \n  var _version2 = _interopRequireDefault(_version);\n  \n  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n  \n  // Set the version.\n  // Global setup that used to be in the main AJS namespace file.\n  \n  (0, _jquery2.default)(function () {\n      var $body = (0, _jquery2.default)('body');\n  \n      if (!$body.data('auiVersion')) {\n          $body.attr('data-aui-version', _version2.default);\n      }\n  \n      (0, _populateParameters2.default)();\n  });\n  \n  // Setting Traditional to handle our default param serialisation.\n  // See http://api.jquery.com/jQuery.param/ for more information.\n  _jquery2.default.ajaxSettings.traditional = true;\n  (0, _globalize2.default)('$', _jquery2.default);\n  \n  return module.exports;\n}).call(this);\n// src/js/aui.js\n(typeof window === 'undefined' ? global : window).__2f9bd2d46fc43a7d8634864ab3027e12 = (function () {\n  var module = {\n    exports: {}\n  };\n  var exports = module.exports;\n  \n  'use strict';\n  \n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  \n  __c6f401bb9a25a2ae6832f3f26eb011c2;\n  \n  __30fbe22791ea03daf99f33e1ce2ca08e;\n  \n  __6a9b502487fbae1d2961796af3334b52;\n  \n  __fad3cd5b79ca2d86da268a98487f781c;\n  \n  __3fcb39a355d5dec47f8f6a73d7fe66f2;\n  \n  __629e244af2a4d0f7896df9c6eda85934;\n  \n  __875a82019c1985082ea8398b0bab6b13;\n  \n  __447bfcc202d6ec6c1f91299e76dbd27c;\n  \n  __53511dbc7f31c5368321fcfdc2eef091;\n  \n  __16a4a3246fcb7206cb3ce72a302f68ce;\n  \n  __8d75e3189f1d32604b3708bf37c70c74;\n  \n  __6c6934f2ccca0caf3cf11e8746f5645c;\n  \n  __5422cfe9eb65aaaa835927a04af284e3;\n  \n  __2a0e2adfb91b56f526cdb86e13372e65;\n  \n  __6ede8169f9be4e62c02de0eba77c2604;\n  \n  __7690e994cac74191c8db4484f3bd2980;\n  \n  __97406c63b1b07b94c737edda86fc9384;\n  \n  __b84c8e24a388d865c6af879ebb8e3811;\n  \n  __2a0a2b3864d33b55978fef541952f7f5;\n  \n  __5740ea7e6dc9b0f9dd7e58be86dc9431;\n  \n  __fbf8552025aec9d643c7c2e8651ac871;\n  \n  __dd3e37944019032c69ec531a17d9e363;\n  \n  __f67372a9abf9e9f1700fa6a6e3b7d8cf;\n  \n  __7f51b7bbc8af8f6349ed6c090d6f5188;\n  \n  __ca43ba0d134cfb1533e4fbfec995cb33;\n  \n  __bd950d9487bdce968e9f27772530b69d;\n  \n  __2a8f02ddf948a2241e4b1ac8618d2015;\n  \n  __5a7881cf02ab93624b2d44b3514c2d6a;\n  \n  __3414acd0470b3e89526fab2f2b863c78;\n  \n  __dc2f5041f7af19dd5fb1e15f145aaf52;\n  \n  __f0d050f6be514a79908e04eed705533e;\n  \n  __ff0ef317d865aa1ac45975761d36cb5f;\n  \n  __59a38fbec08ddb331522ca96538411e6;\n  \n  __5caa2cecc1bd4a3f2d19730427d19fa3;\n  \n  __0feafabcd51357b770acdddb85e8e6f3;\n  \n  __e0d3e833c519cf116c3cdd59e52f030e;\n  \n  __0445bd31eb61b549dcadbeb002c198d5;\n  \n  __04e73f4cf8c37abe2d4e2f857a29a59b;\n  \n  __f48f61ee3b16a0e9a42ff9b9fa6e0c78;\n  \n  __f27442be3d62aab12f02b077976aafac;\n  \n  __3dec74d8fba6cccecefff550c6b07285;\n  \n  __cb7f1e1682dca7cd24e4b710994e9f6e;\n  \n  __34626273fc852016a5d8742e4ae020dc;\n  \n  __ace48b7319c98023c129e8db2b3106a0;\n  \n  __ce19de01983e9507aa18ad87dea1eaed;\n  \n  __a8667f4eb84f0bc9c5fb19051cc02f65;\n  \n  __85f97cb95798e2bcd0253b1f6ef7e8c2;\n  \n  __3773bbd056232d2fe3825056a334a52f;\n  \n  __443c92c49fcde1b9d5cdfb037a5bc650;\n  \n  __48c8e5528dc2c8e27ad29b7f06f4b527;\n  \n  __b5ef8e8e21192126bd9b137d6689eb5a;\n  \n  __b8506d587a23ceff4bff3aa68cff88e3;\n  \n  __5d268f6dfd2bbbe481e16eeed14dee12;\n  \n  exports.default = window.AJS;\n  module.exports = exports['default'];\n  \n  return module.exports;\n}).call(this);"],"names":["window","g","__d931c30d7068216ce2c2064d08fd424c","module","exports","Object","defineProperty","value","default","jQuery","Zepto","call","this","__175b17b398f7d3e1f6beaa15cef1cc5c","obj","_jquery2","__esModule","res","arguments","length","document","createElement","html","console","warn","__471157d7c1d049efb22b06d386a52f64","hasOwnProperty","prototype","propIsEnumerable","propertyIsEnumerable","assign","target","source","from","symbols","to","val","TypeError","toObject","s","key","getOwnPropertySymbols","i","__58c75a0e7e2cf47e300bc2f2ecec24a2","name","NAMESPACE","_objectAssign2","_createElement2","_interopRequireDefault","__2283e259423cbf11e76a3bf5e9e47933","getMessageLogger","propertyDeprecationSupported","prop","css","construct","fn","undefined","_globalize2","has","deprecationCalls","deprecatedSelectorMap","logger","Function","apply","getShowDeprecationMessage","displayName","options","called","printFrameOffset","str","deprecatedLocation","err","Error","stack","stacktrace","stackMessage","replace","split","getDeprecatedLocation","indexOf","push","message","deprecationType","charAt","toUpperCase","substring","sinceVersion","removeInVersion","alternativeName","extraInfo","extraObject","logCssDeprecation","selectorMap","newNode","extend","selector","deprecateFunctionExpression","showDeprecationMessage","deprecateConstructor","constructorFn","deprecatedConstructor","supportsProperties","get","set","e","deprecateObjectProperty","displayNameOrShowMessageFn","oldVal","deprecateValueProperty","deprecateAllProperties","objDisplayPrefix","attr","alternativeNamePrefix","deprecateCSS","selectors","MutationObserver","forEach","matches","querySelectorAll","handleAddingSelector","testAndHandleDeprecation","el","msMatchesSelector","webkitMatchesSelector","mozMatchesSelector","oMatchesSelector","mutations","mutation","addedNodes","nodeType","observe","childList","subtree","deprecate","__be45a6ea1a54cc6fd0d790c9af8bc7fe","define","alias","__16a4a3246fcb7206cb3ce72a302f68ce","error","log","polyfillConsole","__ef17407a7820235f8c767aa4952c72b2","root","factory","defineDependencies","deps","func","rval","type","defineGlobal","filter","cur","Array","isArray","map","String","Number","Boolean","amd","CSS","escape","cssEscape","codeUnit","string","index","result","firstCodeUnit","charCodeAt","toString","bind","__f0d050f6be514a79908e04eed705533e","_interopRequireWildcard","_css2","newObj","InlineDialog","items","identifier","url","getArrowAttributesDeprecationLogger","getArrowPathDeprecationLogger","getArrowPathWithGravityDeprecationLogger","onTopDeprecationLogger","onTop","gravity","Math","random","escapedIdentifier","opts","offsetX","offsetY","hash","hideDelayTimer","showTimer","mousePosition","targetPosition","renderAsSVG","Raphael","getArrowPath","getArrowAttributes","beingShown","shouldShow","contentLoaded","popup","arrow","contents","find","addClass","displayShadow","autoWidth","width","on","mouseenter","clearTimeout","unbind","mouseleave","hidePopup","getHash","hide","id","show","showPopup","persistent","reset","viewportHeight","height","popupMaxHeight","round","children","positions","calculatePositions","displayAboveDeprecationLogger","displayAbove","popupCss","arrowCss","top","browser","msie","arrowCanvas","arrowPath","isFunction","path","removeClass","hasClass","drawPopup","fadeIn","fadeTime","version","jQueryCache","prepend","outerWidth","outerHeight","is","setTimeout","addActiveClass","bindHideEvents","current","trigger","showDelay","delay","_datePickerPopup","preHideCallback","hideDelay","unbindHideEvents","fadeOut","hideCallback","remove","cacheContent","contentLoading","initPopup","$trigger","upfrontCallback","each","closeOthers","x","pageX","y","pageY","offset","left","initCallback","data","status","xhr","responseHandler","added","appendPopup","container","append","$items","onHover","useLiveEvents","noBind","shouldCloseOnTriggerClick","closeOnTriggerClick","bindHideOnExternalClick","bindHideOnEscPressed","unbindHideOnExternalClick","unbindHideOnEscPressed","hasBoundOnExternalClick","externalClickNamespace","closest","onKeydown","keyCode","off","stopPropagation","refresh","getOptions","dimensionsOf","$el","calculateWestPositions","dimensions","arrowOffsetX","arrowOffsetY","isConstrainedScroll","toLowerCase","$scrollContainer","$scrollWindow","parent","scrollContainerOffset","scrollWindowOffset","triggerOffset","triggerBBox","getBBox","screenPadding","arrowMargin","scrollTop","scrollLeft","scrollContainer","dialog","getDimensions","win","triggerScrollOffset","halfTriggerHeight","floor","halfPopupHeight","halfArrowHeight","spaceOnLeft","spaceOnRight","enoughSpaceOnLeft","arrowScreenTop","arrowScreenBottom","min","middleOfTrigger","spaceAboveMiddleOfTrigger","max","spaceBelowMiddleOfTrigger","isOverflowingAbove","isOverflowingBelow","calculateNorthSouthPositions","viewportDimensions","targetDimensions","popupDimensions","arrowDimensions","bottomOfViewablePage","pageYOffset","documentElement","diff","enoughRoomAbove","isRelativeToMouse","right","popupLeftEdge","fill","stroke","__0feafabcd51357b770acdddb85e8e6f3","ALT","BACKSPACE","CAPS_LOCK","COMMA","COMMAND","COMMAND_LEFT","COMMAND_RIGHT","LEFT_SQUARE_BRACKET","CONTROL","DELETE","DOWN","END","ENTER","ESCAPE","HOME","INSERT","LEFT","MENU","NUMPAD_ADD","NUMPAD_DECIMAL","NUMPAD_DIVIDE","NUMPAD_ENTER","NUMPAD_MULTIPLY","NUMPAD_SUBTRACT","PAGE_DOWN","PAGE_UP","PERIOD","RIGHT","SHIFT","SPACE","TAB","UP","WINDOWS","__bd950d9487bdce968e9f27772530b69d","formatString","apos","simpleFormat","numberFormat","choiceFormat","choicePart","getParamValue","format","args","match","prevOptionValue","parts","argValue","parseInt","formatArgs","concat","slice","_performTokenRegex","tick","openIndex","openCount","c","__d5c03870984f4048482fb344419ef109","__2a8f02ddf948a2241e4b1ac8618d2015","_format2","i18n","keys","getText","params","__2c9dc182341fb237ca310976aed7ad2d","ATTR_IGNORE","TYPE_ATTRIBUTE","TYPE_CLASSNAME","TYPE_ELEMENT","__75b027db26271601fe05f33fb5030fe4","__8bc71ed19ec0ce2834517b5458e2e84b","_version","VERSION","observer","registry","__a0d35c59e61d7149bc2998c67586d197","element","namespace","__SKATE_DATA","__025c363097a2f7f13b7d0423fac84b8b","self","WeakMap","counter","Date","now","entry","writable","global","JsMutationObserver","setImmediate","registrationsTable","test","navigator","userAgent","setImmediateQueue","sentinel","addEventListener","queue","postMessage","currentRecord","recordWithOldValue","isScheduled","scheduledObservers","uidCounter","node","ShadowDOMPolyfill","wrapIfNeeded","attributes","characterData","attributeOldValue","attributeFilter","characterDataOldValue","SyntaxError","registration","registrations","removeListeners","Registration","nodes_","addListeners","disconnect","splice","records_","takeRecords","copyOfRecords","enqueue","record","records","recordToReplaceLast","lastRecord","newRecord","selectRecord","dispatchCallbacks","addListeners_","removeListeners_","removeEventListener","addTransientObserver","transientObservedNodes","removeTransientObservers","handleEvent","stopImmediatePropagation","attrName","relatedNode","namespaceURI","getRecord","attributeName","attributeNamespace","oldValue","attrChange","MutationEvent","ADDITION","prevValue","forEachAncestorAndObserverEnqueueRecord","getRecordWithOldValue","removedNodes","changedNode","previousSibling","nextSibling","parentNode","_isPolyfilled","observers","sort","o1","o2","uid_","anyNonEmpty","removeTransientObserversFor","callback_","callback","j","MutationRecord","original","__1d4e16d14c2f0b3a31f544dc3542afc3","_constants","hasOwn","camelCase","join","elementContains","contains","elementPrototypeContains","head","body","debounce","getClosestIgnoredElement","Element","hasAttribute","inherit","child","overwrite","names","getOwnPropertyNames","namesLen","a","desc","getOwnPropertyDescriptor","enumerable","configurable","objEach","supportsNativeCustomElements","registerElement","isValidNativeCustomElementName","elementPrototype","HTMLElement","__96a2c1693c2eba3e0663bf6b406a1002","_globals","_utils","globals","clear","getForElement","definition","tagToExtend","attrs","attrsLen","definitions","isAttr","isAttrValue","nodeValue","tag","tagName","localName","isAttrOrTag","isType","nodeName","classList","getClassList","classListLen","b","className","def","isNativeCustomElement","__4ba7c10fedd0d411bd04cbcf784295b0","_data","_mutationObserver","_registry","_interopRequire","Node","elProto","nativeMatchesSelector","hasNativeMatchesSelectorDetattachedBug","matchesSelector","clone","cloneNode","appendChild","needsAttributeOldValueCaching","defineAttributeProperty","attribute","property","getAttribute","removeAttribute","setAttribute","triggerAttributeChanged","component","mutationData","cachedAttributeOldValues","newValue","newValueIsString","oldValueIsString","specific","fallback","triggerCreated","targetData","created","template","resolvedAttribute","unresolvedAttribute","events","handler","evt","shift","delegate","useCapture","makeHandler","addEventListeners","addAttributeListeners","componentAttributes","addAttributeToPropertyLinks","initAttributes","attrsCopy","triggerAttributesCreated","triggerAttached","attached","detached","triggerDetached","initElements","elements","ELEMENT_NODE","currentNodeDefinitions","currentNodeDefinitionsLength","elementChildNodes","childNodes","removeElements","definitionsLen","__4ea71ec7ae49587e3c05e4da6b76ce0c","originalInnerHTML","isIeUntil10","isIe11","isIe","walkTree","cb","childNodesLen","childNode","propertyDescriptor","_hasBeenEnhanced","mutationEvent","createEvent","initMutationEvent","dispatchEvent","__0d5819e52d9c60b11b4f6b06acdd5443","_lifecycle","_fixIeInnerhtml","documentObserverHandler","mutationsLen","register","fixIe","unregister","__e550acc8a8e1f22e3a66277a9c04b02b","_documentObserver","documentObserver","isOldIE","attachEvent","initDocument","initialiseSkateElementsOnDomLoad","readyState","skate","defaults","constructor","isPrototypeOf","create","createdCallback","attachedCallback","detachedCallback","attributeChangedCallback","CustomElement","definitionId","makeElementConstructor","init","nodes","nodesToUse","ATTRIBUTE","CLASSNAME","ELEMENT","previousSkate","noConflict","__0e8fe5f46f722f07c64d1f183c324dd8","auiSkate","__f6a37357e17b1533fdd5dde2eaedcc72","recomputeStyle","getComputedStyle","getPropertyValue","__f67372a9abf9e9f1700fa6a6e3b7d8cf","escapeHtml","special","__3773bbd056232d2fe3825056a334a52f","_escapeHtml2","$","tokenRegex","objNotationRegex","replacer","fillHtml","T","cache","count","all","isHTML","quote","quotedName","isFunc","valueOf","load","title","findScripts","text","__16b630aaa86c62c7ef629cfa7bab499e","DocumentFragment","getData","__SKATE_TEMPLATE_HTML_DATA","setData","createFragmentFromString","domString","div","caption","dd","dt","li","tbody","td","thead","tr","innerHTML","createFragmentFromNodeList","nodeList","frag","createDocumentFragment","getNodesBetween","startNode","endNode","nextNode","findChildrenMatchingSelector","sourceNode","found","foundLength","filtered","addDefaultContent","content","defaultNodes","nodesLen","insertBefore","isDefault","removeDefaultContent","removeChild","createProxyProperty","parseCommentNode","textContent","JSON","parse","defaultContent","parseNodeForContent","lastContentNode","contentDatas","contentInfo","contentNode","skateTemplateHtml","contentNodes","getElementsByTagName","contentData","createComment","replaceChild","stringify","cacheContentData","wrap","wrapper","wrapped","wrapNodeWith","contentNodesLen","firstChild","outerHTML","targetFragment","foundNodes","lastChild","attrsLength","childNodesLength","acceptsTextContent","createTextNode","fragChildNodes","contentSelector","insertAdjacentHTML","where","referenceNode","fragChildNodesLength","hasFoundReferenceNode","mainLoop","betweenNodes","betweenNodesLen","betweenNode","removed","newChild","oldChild","__a88708332bdd48d86dc8763c3bd0bc46","debounceImmediate","wait","timeout","context","__466c2e541a6c6b09f234ffadf1e444d5","supportsCalc","supportsRequestAnimationFrame","requestAnimationFrame","supportsVoiceOver","isMacOSX","$d","appendTo","__0795207011f2f4b69e9b236d5df42885","Evented","defer","deferred","flush","getBounds","getOffsetParent","getOrigin","getScrollBarSize","getScrollParent","uniqueId","updateClasses","zeroPosCache","__hasProp","__indexOf","item","l","__slice","Tether","modules","position","style","_ref","_error","doc","k","v","_tetherZeroElement","getBoundingClientRect","box","docEl","origin","ownerDocument","scrollWidth","scrollHeight","bottom","clientTop","clientLeft","clientWidth","clientHeight","offsetParent","inner","outer","widthContained","widthScroll","pointerEvents","visibility","overflow","offsetWidth","out","_i","_len","cls","_results","trim","RegExp","add","_j","_len1","pop","event","ctx","once","_base","bindings","_ref1","Utils","MIRROR_LR","MIRROR_TB","OFFSET_MAP","addOffset","attachmentToOffset","autoToFixedAttachment","offsetToPx","parseAttachment","parseOffset","tethers","transformKey","within","_Tether","getSize","getOuterSize","performance","lastCall","lastDuration","pendingTimeout","center","middle","attachment","relativeToAttachment","_ref2","offsets","parseFloat","size","me","history","setOptions","initialize","getClass","classes","classPrefix","targetOffset","targetAttachment","targetModifier","jquery","querySelector","scrollParent","disable","enabled","enable","getTargetBounds","bounds","fitAdj","scrollBottom","scrollPercentage","pageXOffset","innerHeight","innerWidth","overflowX","borderTopWidth","borderBottomWidth","borderLeftWidth","pow","clearCache","_cache","getter","destroy","updateAttachClasses","elementAttach","targetAttach","side","sides","_this","_addAttachClasses","flushChanges","elementPos","manualOffset","manualTargetOffset","next","offsetBorder","offsetParentSize","offsetParentStyle","offsetPosition","ret","scrollbarSize","targetPos","targetSize","_ref3","_ref4","_ref5","_ref6","lastSize","page","viewport","parentElement","optimizations","moveElement","move","unshift","elVal","moved","point","same","transcribe","write","writeCSS","pos","xPos","yPos","gpu","BOUNDS_FORMAT","getBoundingRect","tether","substr","_arg","addClasses","allClasses","changeAttachX","changeAttachY","constraint","eAttachment","oob","oobClass","p","pin","pinned","pinnedClass","tAttachment","targetHeight","targetWidth","_k","_l","_len2","_len3","_len4","_len5","_m","_n","_ref7","_ref8","constraints","outOfBoundsClass","abutted","shiftLeft","shiftTop","__1c8b45ce15e2aedaf2079a51e1071300","_tether2","DEFAULT_ATTACHMENT","attachmentMap","Alignment","getContainer","alignment","_split2","arr","Symbol","iterator","_arr","_d","_e","_s","done","sliceIterator","_slicedToArray","snap","getAlignment","containerBounds","calculateBestAlignmentSnap","isStaticallyAligned","sideClass","snapClass","addAlignmentClasses","_auiTether","__751cf3000e6bd63337afe446f5edef9b","CustomEvent","ce","bubbles","cancelable","detail","preventDefault","defaultPrevented","initCustomEvent","origPrevent","Event","__8d75e3189f1d32604b3708bf37c70c74","undim","dim","overflowEl","_deprecation","_animation","_hiddenByAui","useShim","zIndex","hasAriaHidden","isAuiLayer","useShimDeprecationLogger","isBlanketShowing","$dim","AJS","cachedOverflow","overflowY","__ca43ba0d134cfb1533e4fbfec995cb33","visible","focusable","isTabIndexNotNaN","mapName","imageMap","href","isFormElement","isAnchor","isAnchorTabbable","disabled","expr","isNaN","tabIndex","isTabIndexNaN","RESTORE_FOCUS_DATA_KEY","FocusManager","_focusTrapStack","focusTrapStack","focusTrapHandler","elementTrapsFocus","relatedTarget","$focusTrapElement","focusOrigin","focusTo","$tabbableElements","$firstTabbableElement","first","$lastTabbableElement","last","focus","defaultFocusSelector","enter","activeElement","focusSelector","trapFocus","exit","blur","$restoreFocus","removeData","__3c371c7383bcae3d89fbc3cf8cbdc2ff","Ctor","dataAttr","selectorOrOptions","maybeOptions","isPlainObject","widget","__e0d3e833c519cf116c3cdd59e52f030e","_blanket","_focusManager2","_keyCode2","_widget2","_customEvent2","EVENT_PREFIX","GLOBAL_EVENT_PREFIX","$doc","triggerEvent","deprecatedName","newNativeName","e1","e2","nativeEvent","nativeEvent2","isDefaultPrevented","Layer","below","LayerManager","above","changeSize","isVisible","thisLayer","display","transition","transitionProperty","isTransitioning","propertyName","popUntil","isBlanketed","isPersistent","modal","_hideLayer","triggerBeforeEvents","_showLayer","createLayer","getTrigger","$layer","topIndexWhere","layerArr","layerIndex","topBlanketedIndex","updateBlanket","oldBlanketIndex","newTopBlanketedIndex","popLayers","stopIndex","forceClosePersistent","layer","_stack","hasLayer","getElementById","eventName","popLayersBeside","_nextZIndex","$topEl","nextZIndex","hasTrigger","$parentLayer","$childLayer","$layerTrigger","getParentLayer","parentIndex","blanketedIndex","hideAll","reverse","getNextLowerNonPersistentOrBlanketedLayer","$nextEl","getNextHigherNonPeristentAndNonBlanketedLayer","oldTopBlanketedIndex","getTopLayer","popTopIfNonPersistent","$topLayer","popUntilTopBlanketed","$topBlanketedLayer","$next","popUntilTopPersistent","$toPop","toPop","$target","Manager","__0dd0fdb33ed7640afe4a12f58deb4456","stateName","stateValue","_state","__fbf8552025aec9d643c7c2e8651ac871","_skatejsTemplateHtml2","_debounce","_browser","_alignment2","_layer2","_state2","_skate2","isChecked","doIfTrigger","triggerable","control","_triggeringElement","setDropdownTriggerActiveState","isActive","UNLOADED","LOADING","ERROR","setDropdownErrorState","dropdown","I18n","loadContentsIfAsync","src","spin","setDropdownLoadingState","ajax","json","sectionData","sectionItemsHtml","itemData","makeBooleanAttribute","makeAttribute","label","makeAsyncDropdownContents","setDropdownContents","fail","always","setDropdownLoaded","getDropdownItems","getVisibleDropdownItems","dropdownID","handleIt","isEnabled","parents","toggle","isSubmenu","hasSubmenu","normalInvoke","submenuInvoke","rootMenuInvoke","focusItem","isDropdownUnloaded","hasCurrentErrorBeenShown","loadContentWhenMouseEnterTrigger","lazyDeprecate","$item","currentTarget","$triggerGroup","$groupActiveTrigger","$groupFocusedTrigger","keyboardClose","keyboardCloseDetected","bindDropdownBehaviourToLayer","_syncClasses","$dropdown","$hiddens","$disableds","$interactives","migrateAndSyncLegacyClassNames","getAllDropdownItems","amendDropdownContent","_returnTo","possibleHome","getDropdownHideLocation","_auiAlignment","dropdownCreated","removeAttr","focusNext","focusPrevious","eventKeyCode","isEnter","isSpace","theMenu","hideIfNotSubmenuAndNotInteractive","maybeALayer","bindItemInteractionBehaviourToDropdown","checkbox","isInteractive","uncheck","check","$radio","not","dropdownPrototype","hasSubmenuAlignment","previousAlignment","restorePreviousAlignment","hasAnyAlignment","saveCurrentAlignment","setLayerAlignment","idx","selected","toArray","disabledAttributeHandler","interactiveAttributeHandler","checkedAttributeHandler","hiddenAttributeHandler","interactive","hidden","change","updated","for","anchor","checked","headingElement","groupElement","radio","__fcef6c85f04d040b520e6625d1397941","attributeExists","satisfiesRules","refersTo","desiredId","predicate","ariaControls","ariaOwns","__447bfcc202d6ec6c1f91299e76dbd27c","triggerEvtForInst","triggerEvt","bindEvt","inst","__875a82019c1985082ea8398b0bab6b13","eventType","eventData","extraParameters","__53511dbc7f31c5368321fcfdc2eef091","inlineHelp","click","$t","siblings","__629e244af2a4d0f7896df9c6eda85934","Dialog","_typeof","_event","_forms","createPopup","closeOnOutsideClick","keypressListener","highestZIndex","currentPopup","applySize","_applySize","marginTop","marginLeft","blanket","w","h","focusDialog","popupBlanket","Button","onclick","buttonpanel","addButtonPanel","_onclick","button","Link","itemMove","leftOrRight","dir","step","dtarget","ii","curtab","itemRemove","moveUp","moveLeft","moveDown","moveRight","Panel","reference","panelButtonId","panel","padding","tab","menu","onblur","onselect","ontabchange","select","setPadding","recalcSize","Page","curpage","headerHeight","header","buttonHeight","dialogComponentsHeight","addPanel","addHeader","addButton","addLink","gotoPanel","getCurrentPanel","addSubmit","addCancel","addPage","nextPage","prevPage","gotoPage","num","getPanel","pageorpanelId","panelId","pageid","getPage","pageorpanel","query","coll","nameExp","selectorExp","queryRE","justtitle","name2","title2","id2","justtitle2","pages","method","m","updateHeight","maxDialogHeight","MIN_DIALOG_VERTICAL_BUFFER","isMaximised","getCurPanel","getCurPanelButton","alternatveName","__5a7881cf02ab93624b2d44b3514c2d6a","uniqueID","uniqueIDstring","uniqueIDcounter","generateUniqueId","prefix","getTime","__47153a78b0936470f7ca1127e29a148c","computeBooleanValue","attrValue","setBooleanAttribute","computeEnumValue","enumOptions","matchesEnumValue","enumValue","isMissing","isInvalid","values","missingDefault","invalidDefault","setEnumAttribute","__d22fbd253c421021dd510fb3c4fcd828","_debounce2","_i18n2","$window","Header","$header","$element","$secondaryNav","menuItems","totalWidth","$moreMenu","rightMostNavItemIndex","$applicationLogo","moreMenuWidth","primaryButtonsWidth","$headerFind","that","$this","_resizeHandler","constructResponsiveDropdown","$logoImg","calculateAvailableWidth","showResponsiveDropdown","createResponsiveDropdownTrigger","hideResponsiveDropdown","remainingWidth","availableWidth","showAll","newRightMostNavItemIndex","moveToResponsiveDropdown","moveOutOfResponsiveDropdown","moreNavItemEl","dropdownEl","dropdownSectionEl","triggerEl","before","numItems","$moreDropdown","leftMostIndexToMove","rightMostIndexToMove","$navItem","$navItemTrigger","$navItemDropdown","moreDropdownSectionEl","moreDropdownItemEl","detach","originalItem","newItem","_header","__c6f401bb9a25a2ae6832f3f26eb011c2","messages","alert","__6ede8169f9be4e62c02de0eba77c2604","binders","Binder","runBinders","scope","isEmptyObject","binder","run","__30fbe22791ea03daf99f33e1ce2ca08e","_binder2","applyDefaultText","__6a9b502487fbae1d2961796af3334b52","platform","os","windows","mac","linux","__fad3cd5b79ca2d86da268a98487f781c","moveTo","scrollTarget","scrollOffset","instance","topOffset","animating","animate","stop","__3fcb39a355d5dec47f8f6a73d7fe66f2","save","read","erase","COOKIE_NAME","UNESCAPE_COOKIE_REGEX","CONSECUTIVE_PIPE_CHARS_REGEX","ANY_QUOTE_REGEX","REGEX_SPECIAL_CHARS","regexEscape","getCookieValue","reg","cookie","unescapeCookieValue","expires","cookieValue","pair","addOrAppendToValue","days","d","ex","quotedValue","setTime","toGMTString","saveCookie","defaultValue","getValueFromConglomerate","__6c6934f2ccca0caf3cf11e8746f5645c","warnAboutFirebug","firebug","script","__5422cfe9eb65aaaa835927a04af284e3","_uniqueId2","addId","addprefix","__2a0e2adfb91b56f526cdb86e13372e65","alphanum","chunks","am","bm","len","ad","bd","abs","__7690e994cac74191c8db4484f3bd2980","__97406c63b1b07b94c737edda86fc9384","containDropdown","containerSelector","dynamic","ddOffset","availableArea","shadowOffset","containHeight","releaseContainment","__dc2f5041f7af19dd5fb1e15f145aaf52","array","fromIndex","__b84c8e24a388d865c6af879ebb8e3811","_indexOf2","__2a0a2b3864d33b55978fef541952f7f5","drawLogo","scale","scaleFactor","strokeWidth","containerID","logo","translate","__63cf05a740a3080daa5b8a107d263ae2","_after","_afterThrow","_afterFinally","_before","_around","_intro","_regexEnabled","_arguments","_undef","getType","toStrings","nodeTypes","types","callee","weaveOne","advice","old","aspect","oldObject","code","eval","returnValue","exceptionThrown","invocation","object","proceed","unweave","pointcut","search","methods","weave","advices","aop","after","afterThrow","afterFinally","around","introduction","setup","settings","regexMatch","__5740ea7e6dc9b0f9dd7e58be86dc9431","dropDown","usroptions","moving","activeClass","displayHandler","escapeHandler","hideHandler","moveHandler","useDisabled","toggleClass","isHiddenByDefault","ol","jj","properties","icon","insideSpanIcon","iconFontClass","cdd","links","oldFocus","focused","moveFocus","which","cleanActive","selectionHandler","hider","active","cleanFocus","originalClass","handleClickSelection","metaKey","ctrlKey","shiftKey","$cdd","getFocusIndex","bound","hover","appear","fade","scroll","slideDown","slideUp","addControlProcess","process","addCallback","timer","keydown","firstSelected","causer","iframes","createShims","iframe","shim","getAdditionalPropertyValue","removeAllAdditionalProperties","Standard","hookUpDropDown","$parent","ddcontrol","keysCache","valuesCache","live","inArray","Ajax","dropdowns","superMethod","getAjaxOptions","success","response","formatResults","refreshSuccess","ajaxOptions","responseData","throbber","end","iframeShim","resetCache","__dd3e37944019032c69ec531a17d9e363","jsEscape","unescape","__7f51b7bbc8af8f6349ed6c090d6f5188","filterBySearch","entries","keywordsField","camelCaseFlags","ignoreForCamelCase","boundaryFlag","matchBoundary","splitRegex","filterWords","filters","word","subfilters","camelRegexStr","somethingMatches","__3414acd0470b3e89526fab2f2b863c78","_contains2","included","include","__ff0ef317d865aa1ac45975761d36cb5f","_amdify2","_attributes2","_enforcer2","initAlignment","messageHandler","open","_clearMouseleaveTimeout","onMouseEnter","onMouseLeave","rebindMouseEvents","respondsTo","reflectOpenness","isInitalizing","shouldBeOpen","enableAlignment","showInlineDialog","disableAlignment","hideInlineDialog","RESPONDS_TO_ATTRIBUTE_ENUM","inlineDialog","oldComputedValue","msg","messageList","elem","__59a38fbec08ddb331522ca96538411e6","isClipped","__5caa2cecc1bd4a3f2d19730427d19fa3","__0445bd31eb61b549dcadbeb002c198d5","__04e73f4cf8c37abe2d4e2f857a29a59b","_template2","DEFAULT_FADEOUT_DURATION","DEFAULT_FADEOUT_DELAY","FADEOUT_RESTORE_DURATION","createMessageConstructor","closeable","shadowed","$message","templateString","fadeout","renderMessageElement","insertWhere","prependTo","insertMessageIntoContext","insert","makeCloseable","makeFadeout","duration","$closeIcons","$icon","closeMessage","hasFocus","isHover","resetFadeOut","fadeTo","shouldStartFadeOut","focusin","focusout","createMessage","__f48f61ee3b16a0e9a42ff9b9fa6e0c78","Navigation","elm","$treeParent","$subtreeToggleIcon","hideMoreItems","$selected","navigationWidget","expand","isNested","isCollapsed","collapse","moreText","limit","$listElements","lessThanTwoToHide","selectedElementPresent","alreadyInitialised","insertAfter","eq","__f27442be3d62aab12f02b077976aafac","onTextResize","f","emsize","em","setInterval","__c04d68fa1d92c7d457cb5fc7b95f34ec","__3dec74d8fba6cccecefff550c6b07285","_params2","populateParameters","parameters","__cb7f1e1682dca7cd24e4b710994e9f6e","__34626273fc852016a5d8742e4ae020dc","_createHeader2","findAndCreateHeaders","responsiveheader","__ace48b7319c98023c129e8db2b3106a0","setCurrent","__ce19de01983e9507aa18ad87dea1eaed","setVisible","isHidden","__a8667f4eb84f0bc9c5fb19051cc02f65","stopEvent","__85f97cb95798e2bcd0253b1f6ef7e8c2","_addId2","_isClipped2","REGEX","STORAGE_PREFIX","ResponsiveAdapter","totalTabsWidth","$visibleTabs","totalVisibleTabsWidth","totalVisibleTabWidth","totalDropdownTabsWidth","$tabs","removeResponsiveDropdown","$dropdownTriggerTab","$tabsMenu","triggerMarkup","createResponsiveDropdown","$tabsContainer","dropdownMarkup","findNewVisibleTabs","tabs","parentWidth","dropdownTriggerTabWidth","hasMoreSpace","currentTotalTabWidth","moveVisibleTabs","oldVisibleTabs","$tabsParent","dropdownId","newVisibleTabs","lastTabIndex","$tab","moveTabToResponsiveDropdown","$tabLink","moveInvisibleTabs","tabsInDropdown","remainingSpace","tabInDropdownWidth","moveTabOutOfDropdown","switchToTab","$pane","pane","isPersistentTabGroup","$tabGroup","createPersistentKey","tabGroupId","handleTabClick","responsiveResizeHandler","tabsContainer","$dropdownTrigger","isResponsive","needsResponsive","$newVisibleTabs","visibleTabWidth","$tabsInDropdown","calculateResponsiveTabs","initTab","$tabMenu","$thisLink","targetPane","initPane","initPanes","debounced","responsive","resize","$tabGroups","localStorage","persistentTabId","getItem","updateTabsFromLocalStorage","initTabs","thisTab","$a","tabId","setItem","updateLocalStorageEntry","findPanes","findTabs","Tab","extends","$component","findComponent","__443c92c49fcde1b9d5cdfb037a5bc650","toggleClassName","__48c8e5528dc2c8e27ad29b7f06f4b527","toInit","__b5ef8e8e21192126bd9b137d6689eb5a","_onTextResize2","unbindTextResize","__f2283a6a42525f2d9a35cccac5156f25","TimedNumber","keyHandler","handleObj","origHandler","combo","hotkeys","specialKeys","character","fromCharCode","modif","possible","altKey","shiftNums","pressed","inc","keypressKeys","_","proxy","__b8506d587a23ceff4bff3aa68cff88e3","_dialog","isMac","multiCharRegex","whenIType","boundKeyCombos","executor","Callbacks","keypressHandler","fire","defaultPreventionHandler","bindKeys","keyCombo","keysArr","keyString","currModifiers","modifierMatch","multiCharMatch","keyComboArrayFromString","hasUnprintables","bindKeyCombo","appendKeyComboInstructions","isFirst","makeShortcut","addShortcutsToTitle","keyCombos","shortcutInstructions","originalTitle","removeShortcutsFromTitle","shortcuts","selectorsWithTitlesModified","makeMoveToFunction","getNewFocus","focusedClass","wrapAround","escToCancel","$focusedElem","moveToOptions","one","moveToNextItem","moveToPrevItem","goTo","location","followLink","execute","evaluate","command","moveToAndClick","moveToAndFocus","$elem","or","fromJSON","switchCtrlToMetaOnMac","operation","op","param","shortcutList","shortcutString","newShortcut","safari","__311d8b827ecc697e76b60caccdea58e8","__5d268f6dfd2bbbe481e16eeed14dee12","_populateParameters2","_version2","$body","ajaxSettings","traditional","__2f9bd2d46fc43a7d8634864ab3027e12"],"sourceRoot":""}