@atlassian/aui
Version:
Atlassian User Interface library
1 lines • 461 kB
JavaScript
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("jquery"),require("backbone"),require("underscore")):"function"==typeof define&&define.amd?define("@atlassian/aui",["jquery","backbone","underscore"],t):"object"==typeof exports?exports["@atlassian/aui"]=t(require("jquery"),require("backbone"),require("underscore")):e.AJS=t(e.jQuery,e.Backbone,e._)}(window,function(e,t,i){return function(e){var t={};function i(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,i),a.l=!0,a.exports}return i.m=e,i.c=t,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)i.d(n,a,function(t){return e[t]}.bind(null,a));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=90)}([function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){return e&&e.__esModule?e:{default:e}}(i(7));t.default=window.jQuery||window.Zepto||n.default,e.exports=t.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e,t){"object"!==n(window[a])&&(window[a]={});return window[a][e]=t};var a="AJS";e.exports=t.default},function(e,t,i){"use strict";i(107)},function(e,t,i){"use strict";i(2),i(108)},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){return e&&e.__esModule?e:{default:e}}(i(41)).default.noConflict();t.default=n,e.exports=t.default},function(e,t,i){"use strict";i(2),i(3),i(115)},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(i(40)),a=r(i(1));function r(e){return e&&e.__esModule?e:{default:e}}var s={keys:r(i(136)).default,getText:function(e){if(Object.prototype.hasOwnProperty.call(this.keys,e)){for(var t=arguments.length,i=Array(t>1?t-1:0),a=1;a<t;a++)i[a-1]=arguments[a];return n.default.apply(null,[this.keys[e]].concat(i))}return e}};(0,a.default)("I18n",s),t.default=s,e.exports=t.default},function(t,i){t.exports=e},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.error=t.warn=t.log=void 0;var n=function(e){return e&&e.__esModule?e:{default:e}}(i(1));function a(e){return function(){"undefined"!=typeof console&&console[e]&&Function.prototype.apply.call(console[e],console,arguments)}}var r=a("log"),s=a("warn"),o=a("error");(0,n.default)("error",o),(0,n.default)("log",r),(0,n.default)("warn",s),t.log=r,t.warn=s,t.error=o},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,LEFT_SQUARE_BRACKET:91,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91};(0,function(e){return e&&e.__esModule?e:{default:e}}(i(1)).default)("keyCode",n),t.default=n,e.exports=t.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getMessageLogger=t.propertyDeprecationSupported=t.obj=t.prop=t.css=t.construct=t.fn=void 0;var n=r(i(0)),a=r(i(1));function r(e){return e&&e.__esModule?e:{default:e}}var s=Object.prototype.hasOwnProperty,o=[];function l(){"undefined"!=typeof console&&console.warn&&Function.prototype.apply.call(console.warn,console,arguments)}function u(e,t){if("function"==typeof e)return e;var i=!1;return t=t||{},function(n){var a=function(e){var t=new Error,i=t.stack||t.stacktrace,n=i&&i.replace(/^Error\n/,"")||"";return n?(n=n.split("\n"))[e+2]:n}(n||1)||"";if(!i||-1===o.indexOf(a)){o.push(a),i=!0;var r="DEPRECATED "+(t.deprecationType+" "||!1)+"- "+function(e){return(e+="")?e.charAt(0).toUpperCase()+e.substring(1):""}(e)+" has been deprecated"+(t.sinceVersion?" since "+t.sinceVersion:"")+" and will be removed in "+(t.removeInVersion||"a future release")+".";t.alternativeName&&(r+=" Use "+t.alternativeName+" instead. "),t.extraInfo&&(r+=" "+t.extraInfo),a=""===a?" \n No stack trace of the deprecated usage is available in your current browser.":" \n "+a,t.extraObject?l(r+="\n",t.extraObject,a):l(r,a)}}}function c(e,t){var i=e.options.displayName;i=i?" ("+i+")":"";var a=n.default.extend({deprecationType:"CSS",extraObject:t},e.options);u("'"+e.selector+"' pattern"+i,a)()}function d(e,t,i){(i=i||{}).deprecationType=i.deprecationType||"JS";var n=u(t||e.name||"this function",i);return function(){return n(),e.apply(this,arguments)}}function h(e,t,i){(i=i||{}).deprecationType=i.deprecationType||"JS";var a=d(e,t,i);return a.prototype=e.prototype,n.default.extend(a,e),a}var f=!1;try{Object.defineProperty&&(Object.defineProperty({},"blam",{get:function(){},set:function(){}}),t.propertyDeprecationSupported=f=!0)}catch(e){}function p(e,t,i){if("function"==typeof e[t]){(i=i||{}).deprecationType=i.deprecationType||"JS";var n=i.displayName||t;e[t]=d(e[t],n,i)}else!function(e,t,i){if(f){var n=e[t];(i=i||{}).deprecationType=i.deprecationType||"JS";var a=u(i.displayName||t,i);Object.defineProperty(e,t,{get:function(){return a(),n},set:function(e){return n=e,a(),e}})}}(e,t,i)}function g(e,t,i){for(var a in i=i||{},e)s.call(e,a)&&(i.deprecationType=i.deprecationType||"JS",i.displayName=t+a,i.alternativeName=i.alternativeNamePrefix&&i.alternativeNamePrefix+a,p(e,a,n.default.extend({},i)))}function m(e){return function(t){for(var i={selector:t,options:e||{}},n=document.querySelectorAll(t),a=0;a<n.length;a++)c(i,n[a]);!function(e){if(y.push(e),!_){(_=new MutationObserver(function(e){e.forEach(function(e){for(var t=e.addedNodes,i=0;i<t.length;i++){var n=t[i];1===n.nodeType&&y.forEach(b(n))}})})).observe(document,{childList:!0,subtree:!0})}}(i)}}function v(e,t){"string"==typeof e&&(e=[e]),e.forEach(m(t))}function b(e){return function(t){(function(e,t){return(e.matches||e.msMatchesSelector||e.webkitMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector).call(e,t)})(e,t.selector)&&c(t,e)}}var y=[],_=void 0;(0,a.default)("deprecate",{fn:d,construct:h,css:v,prop:p,obj:g,propertyDeprecationSupported:f,getMessageLogger:u}),t.fn=d,t.construct=h,t.css=v,t.prop=p,t.obj=g,t.propertyDeprecationSupported=f,t.getMessageLogger=u},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){window.define&&(0,window.define)(e,[],function(){return t});return t},e.exports=t.default},function(e,t,i){var n,a,r;a=[i(7)],void 0===(r="function"==typeof(n=function(e){return e.ui=e.ui||{},e.ui.version="1.12.1"})?n.apply(t,a):n)||(e.exports=r)},function(e,t,i){"use strict";i(2),i(3),i(20),i(5),i(23),i(33),i(124)},function(e,i){e.exports=t},function(e,t,i){"use strict";i(111)},function(e,t,i){"use strict";i(2),i(3),i(5),i(15),i(120)},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SIZE=void 0;var n=function(e){return e&&e.__esModule?e:{default:e}}(i(4)),a=i(10),r=i(24);var s={SMALL:{name:"small",px:20,radius:9},MEDIUM:{name:"medium",px:30,radius:13.5},LARGE:{name:"large",px:50,radius:22.5}},o={filled:!1,size:s.MEDIUM.name},l="Add CSS to the parent element of the <aui-spinner>.\nUse CSS flexbox or grid to vertically align it.\nSee https://css-tricks.com/centering-css-complete-guide/ for techniques.",u=(0,a.getMessageLogger)("<aui-spinner> filled attribute",{sinceVersion:"7.9.4",removeInVersion:"9.0.0",extraInfo:l}),c=(0,a.getMessageLogger)("<aui-spinner> filled property",{sinceVersion:"7.9.4",removeInVersion:"9.0.0",extraInfo:l});function d(e){var t=s.MEDIUM.name;"string"==typeof e&&(e=e.toLowerCase(),Object.keys(s).map(function(e){return e.toLowerCase()}).indexOf(e)>-1&&(t=e));return t}function h(e){var t=(0,r.find)(s,function(t){return t.name===e._data.size})||s.MEDIUM,i=t.px,n=t.radius;!function(e,t,i){var n=e.querySelector("svg"),a=e.querySelector("circle");n.setAttribute("size",t),n.setAttribute("height",t),n.setAttribute("width",t),n.setAttribute("viewBox","0 0 "+t+" "+t);var r=t/2;a.setAttribute("cx",r),a.setAttribute("cy",r),a.setAttribute("r",i)}(e,i,n),e._data.filled?function(e,t){var i=e.parentNode;if(i&&1===i.nodeType){var n=e.getBoundingClientRect(),a=i.getBoundingClientRect(),r=a.top+a.height/2,s=n.top+t/2;e.querySelector("svg").style.top=r-s+"px"}}(e,i):function(e){delete e.querySelector("svg").style.top}(e)}var f=(0,n.default)("aui-spinner",{template:function(e){e.innerHTML='<div class="aui-spinner spinner"><svg focusable="false"><circle></circle></svg></div>',h(e)},attached:function(e){h(e)},attributes:{filled:{created:function(e){u(),e._data.filled=!0,h(e)},removed:function(e){e._data.filled=!1,h(e)}},size:function(e,t){e._data.size=d(t.newValue),h(e)}},prototype:{get _data(){return this.__data||(this._data=(0,r.defaults)({},o))},set _data(e){return this.__data=e},set filled(e){c(),e?this.setAttribute("filled",""):this.removeAttribute("filled")},set size(e){var t=d(e);this.setAttribute("size",t)}}});t.default=f,t.SIZE=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EVENT_PREFIX=void 0;var n=d(i(0)),a=i(62),r=d(i(99)),s=i(22),o=d(i(1)),l=d(i(9)),u=d(i(31)),c=d(i(19));function d(e){return e&&e.__esModule?e:{default:e}}var h=t.EVENT_PREFIX="_aui-internal-layer-",f="_aui-internal-layer-global-",p="aui-layer-",g="aui-",m=(0,n.default)(document);function v(e,t,i,n){!function(e,t){var i=window.getComputedStyle(e).transitionProperty;return!!i&&i.indexOf(t)>-1}(e,t)?i.call(e):e.addEventListener("transitionend",function a(r){t===r.propertyName&&(i.call(e),n&&e.removeEventListener("transitionend",a))})}function b(e,t,i){var a=n.default.Event(h+t),r=n.default.Event(f+t),s=new c.default(p+i,{bubbles:!0,cancelable:!0}),o=new c.default(g+i,{bubbles:!0,cancelable:!0});return e.trigger(a),e.trigger(r,[e]),e[0].dispatchEvent(s),e[0].dispatchEvent(o),!(a.isDefaultPrevented()||r.isDefaultPrevented()||s.defaultPrevented||o.defaultPrevented)}function y(e){this.$el=(0,n.default)(e||'<div class="aui-layer" aria-hidden="true"></div>'),this.$el.addClass("aui-layer")}y.prototype={below:function(){return T.global.item(T.global.indexOf(this.$el)-1)},above:function(){return T.global.item(T.global.indexOf(this.$el)+1)},changeSize:function(e,t){return this.$el.css("width",e),this.$el.css("height","content"===t?"":t),this},on:function(e,t){return this.$el.on(h+e,t),this},off:function(e,t){return this.$el.off(h+e,t),this},show:function(){return this.isVisible()?(function(e){e.attr("aria-hidden","false")}(this.$el),this):b(this.$el,"beforeShow","show")?("none"===this.$el.css("display")&&this.$el.css("display",""),T.global.push(this.$el),this):this},hide:function(){if(!this.isVisible())return function(e){e.attr("aria-hidden","true")}(this.$el),this;if(!b(this.$el,"beforeHide","hide"))return this;var e=this;return function(e,t,i){v(e,t,i,!0)}(this.$el.get(0),"opacity",function(){e.isVisible()||(this.style.display="none")}),T.global.popUntil(this.$el),this},isVisible:function(){return"false"===this.$el.attr("aria-hidden")},remove:function(){this.hide(),this.$el.remove(),this.$el=null},isBlanketed:function(){return"true"===this.$el.attr("data-aui-blanketed")},isPersistent:function(){var e=this.$el.attr("modal")||this.$el.attr("data-aui-modal"),t=this.$el[0].hasAttribute("persistent");return"true"===e||t},_hideLayer:function(e){(this.isPersistent()||this.isBlanketed())&&r.default.global.exit(this.$el),e&&b(this.$el,"beforeHide","hide"),this.$el.attr("aria-hidden","true"),this.$el.css("z-index",this.$el.data("_aui-layer-cached-z-index")||""),this.$el.data("_aui-layer-cached-z-index",""),this.$el.trigger(h+"hide"),this.$el.trigger(f+"hide",[this.$el])},_showLayer:function(e){this.$el.parent().is("body")||this.$el.appendTo(document.body),this.$el.data("_aui-layer-cached-z-index",this.$el.css("z-index")),this.$el.css("z-index",e),this.$el.attr("aria-hidden","false"),(this.isPersistent()||this.isBlanketed())&&r.default.global.enter(this.$el),this.$el.trigger(h+"show"),this.$el.trigger(f+"show",[this.$el])}};var _=(0,u.default)("layer",y);function w(e,t){for(var i=e.length;i--;)if(t(e[i]))return i;return-1}function C(e,t){return w(e,function(e){return e[0]===t[0]})}function k(e){return w(e,function(e){return _(e).isBlanketed()})}function x(e,t){var i=k(e);t!==i&&(i>-1?(0,a.dim)(!1,e[i].css("z-index")-20):(0,a.undim)())}function E(e,t,i){if(!(t<0))for(var n=e.length-1;n>=t;n--){var a=e[n],r=_(a);!i&&r.isPersistent()||(r._hideLayer(!0),e.splice(n,1))}}function T(){this._stack=[]}function D(e){if(!e.length)return!1;var t=document.getElementById(e.attr("aria-controls"));return T.global.indexOf(t)>-1}_.on=function(e,t,i){return m.on(f+e,t,i),this},_.off=function(e,t,i){return m.off(f+e,t,i),this},T.prototype={push:function(e){var t=e instanceof n.default?e:(0,n.default)(e);if(C(this._stack,t)>=0)throw new Error("The given element is already an active layer.");this.popLayersBeside(t);var i=_(t),r=function(e){var t;if(e.length){var i=e[e.length-1],n=parseInt(i.css("z-index"),10);t=(isNaN(n)?0:n)+100}else t=0;return Math.max(3e3,t)}(this._stack);return i._showLayer(r),i.isBlanketed()&&(0,a.dim)(!1,r-20),this._stack.push(t),this},popLayersBeside:function(e){var t=(0,n.default)(e).get(0);if((0,s.hasTrigger)(t)){var i=function(e){var t=(0,s.getTrigger)(e);if(t)return(0,n.default)(t).closest(".aui-layer").get(0)}(t);if(i){var a=this.indexOf(i);E(this._stack,++a,!1)}else E(this._stack,0,!1)}else{var r=k(this._stack);E(this._stack,++r,!1)}},indexOf:function(e){return C(this._stack,(0,n.default)(e))},item:function(e){return this._stack[e]},hideAll:function(){return this._stack.slice().reverse().forEach(function(e){var t=_(e);t.isBlanketed()||t.isPersistent()||t.hide()}),this},getNextLowerNonPersistentOrBlanketedLayer:function(e){var t,i=e instanceof n.default?e:(0,n.default)(e),a=C(this._stack,i);if(a<0)return null;for(a--;a>=0;){t=this._stack[a];var r=_(t);if(!r.isPersistent()||r.isBlanketed())return t;a--}return null},getNextHigherNonPeristentAndNonBlanketedLayer:function(e){var t,i=e instanceof n.default?e:(0,n.default)(e),a=C(this._stack,i);if(a<0)return null;for(a++;a<this._stack.length;){t=this._stack[a];var r=_(t);if(!r.isPersistent()&&!r.isBlanketed())return t;a++}return null},popUntil:function(e){var t=e instanceof n.default?e:(0,n.default)(e),i=C(this._stack,t);if(-1===i)return null;var a=k(this._stack);return E(this._stack,i+1,_(t).isBlanketed()),_(t)._hideLayer(),this._stack.splice(i,1),x(this._stack,a),t},getTopLayer:function(){return this._stack.length?this._stack[this._stack.length-1]:null},popTopIfNonPersistent:function(){var e=this.getTopLayer(),t=_(e);return!e||t.isPersistent()?null:this.popUntil(e)},popUntilTopBlanketed:function(){var e=k(this._stack);if(e<0)return null;var t=this._stack[e];if(_(t).isPersistent()){var i=this.getNextHigherNonPeristentAndNonBlanketedLayer(t);if(i){var n=C(this._stack,i);return E(this._stack,n,!0),i}return null}return E(this._stack,e,!0),x(this._stack,e),t},popUntilTopPersistent:function(){var e=T.global.getTopLayer();if(e){var t,i=k(this._stack),n=_(e);if(n.isPersistent()){if(n.isBlanketed())return;if(e=T.global.getNextLowerNonPersistentOrBlanketedLayer(e),n=_(e),!e||n.isPersistent())return;t=C(this._stack,e),E(this._stack,t,!0),x(this._stack,i)}else t=C(this._stack,e),E(this._stack,t,!0),x(this._stack,i)}}},m.on("keydown",function(e){e.keyCode===l.default.ESCAPE&&(T.global.popUntilTopPersistent(),e.preventDefault())}),m.on("click",".aui-blanket",function(e){T.global.popUntilTopBlanketed()&&e.preventDefault()}),m.on("click",function(e){var t=(0,n.default)(e.target);if(!t.closest(".aui-blanket").length){var i=t.closest("[aria-controls]"),a=t.closest(".aui-layer");if(!a.length&&!D(i)){var r=n.default.Event("aui-close-layers-on-outer-click");return m.trigger(r),r.isDefaultPrevented()?void e.preventDefault():void T.global.hideAll()}if(!D(i)&&a.length){var s=T.global.getNextHigherNonPeristentAndNonBlanketedLayer(a);s&&_(s).hide()}}}),T.global=new T,_.Manager=T,(0,o.default)("layer",_),t.default=_},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=void 0;!function(){if(window.CustomEvent)try{var e=new window.CustomEvent("name",{bubbles:!1,cancelable:!0,detail:{x:"y"}});if(e.preventDefault(),!0!==e.defaultPrevented)throw new Error("Could not prevent default");if("name"!==e.type)throw new Error("Could not set custom name");if("y"!==e.detail.x)throw new Error("Could not set detail");return void(n=window.CustomEvent)}catch(e){}(n=function(e,t){t=t||{bubbles:!1,cancelable:!1,detail:void 0};var i=document.createEvent("CustomEvent");i.initCustomEvent(e,!!t.bubbles,!!t.cancelable,t.detail);var n=i.preventDefault;return i.preventDefault=function(){n.call(this);try{Object.defineProperty(this,"defaultPrevented",{get:function(){return!0}})}catch(e){this.defaultPrevented||(this.defaultPrevented=!0)}},i}).prototype=window.Event.prototype}(),t.default=n,e.exports=t.default},function(e,t,i){"use strict";i(2),i(42),i(15),i(112),i(113),i(114)},function(e,t,i){var n;!function(){"use strict";var a=window.DocumentFragment,r=window.HTMLElement.prototype,s=r.matches||r.msMatchesSelector||r.webkitMatchesSelector||r.mozMatchesSelector||r.oMatchesSelector;function o(e,t){if(e.__SKATE_TEMPLATE_HTML_DATA)return e.__SKATE_TEMPLATE_HTML_DATA[t]}function l(e,t,i){return e.__SKATE_TEMPLATE_HTML_DATA||(e.__SKATE_TEMPLATE_HTML_DATA={}),e.__SKATE_TEMPLATE_HTML_DATA[t]=i,e}function u(e){var t=e.match(/\s*<([^\s>]+)/),i=document.createElement(t&&{caption:"table",dd:"dl",dt:"dl",li:"ul",tbody:"table",td:"tr",thead:"table",tr:"tbody"}[t[1]]||"div");return i.innerHTML=e,c(i.childNodes)}function c(e){for(var t=document.createDocumentFragment();e&&e.length;)t.appendChild(e[0]);return t}function d(e,t){for(var i=[],n=e.nextSibling;n!==t;)i.push(n),n=n.nextSibling;return i}function h(e,t){if(t){for(var i=e.querySelectorAll(t),n=i.length,a=[],r=0;r<n;r++){var s=i[r];s.parentNode===e&&a.push(s)}return a}return[].slice.call(e.childNodes)||[]}function f(e){for(var t=e.defaultNodes,i=t.length,n=0;n<i;n++)e.container.insertBefore(t[n],e.endNode);e.isDefault=!0}function p(e){for(var t=e.defaultNodes,i=t.length,n=0;n<i;n++){var a=t[n];a.parentNode.removeChild(a)}e.isDefault=!1}function g(e,t){return{get:function(){var i=e[t];return"function"==typeof i?i.bind(e):i},set:function(i){e[t]=i}}}function m(e){var t,i=e.textContent.match(/^ (\/?)content (.*)/i);if(i){if(i[2])try{t=JSON.parse(i[2])}catch(t){throw new Error('Unable to parse content comment data: "'+t+'" in "\x3c!--'+e.textContent+'--\x3e".')}return{data:t||{defaultContent:void 0,isDefault:void 0,selector:void 0},type:i[1]?"close":"open"}}}function v(){var e=[].slice.call(arguments).join("");return function(t){var i=c(t.childNodes);t.innerHTML=e,function(e){var t=e.getElementsByTagName("content");if(t&&t.length){for(var i=[];t.length;){var n=t[0],a=n.parentNode,r=n.getAttribute("select"),s=document.createComment(" content "),o=document.createComment(" /content ");i.push({container:a,contentNode:n,defaultNodes:[].slice.call(n.childNodes),endNode:o,isDefault:!0,selector:r,startNode:s}),a.replaceChild(o,n),a.insertBefore(s,o),s.textContent+=JSON.stringify({defaultContent:n.innerHTML,selector:r})+" "}l(e,"content",i)}}(t),i.childNodes.length&&v.wrap(t).appendChild(i)}}v.wrap=function(e){return o(e,"content")||l(e,"content",function e(t){var i,n,a=t.childNodes,r=a.length,s=[];for(i=0;i<r;i++){var o=a[i];if(8===o.nodeType){var l=m(o);if(l)if("open"===l.type){if(n)throw new Error('Cannot have an opening content placeholder after another content placeholder at the same level in the DOM tree: "'+o.textContent+'" in "'+o.parentNode.innerHTML+'".');n={container:o.parentNode,contentNode:o,defaultNodes:l.data.defaultContent&&u(l.data.defaultContent).childNodes||[],isDefault:l.data.isDefault,selector:l.data.selector,startNode:o}}else if("close"===l.type){if(!n)throw new Error('Unmatched closing content placeholder: "'+o.textContent+'" in "'+o.parentNode.innerHTML+'".');n.endNode=o,s.push(n),n=void 0}}else s=s.concat(e(o))}return s}(e)),function(e,t){var i={};for(var n in e)n in t?Object.defineProperty(i,n,t[n]):Object.defineProperty(i,n,g(e,n));return i}(e,function(e){var t=o(e,"content"),i=t.length;return{childNodes:{get:function(){for(var e=[],n=0;n<i;n++){var a=t[n];a.isDefault||(e=e.concat(d(a.startNode,a.endNode)))}return e}},firstChild:{get:function(){var e=this.childNodes;return e.length&&e[0]||null}},innerHTML:{get:function(){for(var e="",t=this.childNodes,i=t.length,n=0;n<i;n++){var a=t[n];e+=a.outerHTML||a.textContent}return e},set:function(e){for(var n=u(e),a=0;a<i;a++){for(var r=t[a],s=d(r.startNode,r.endNode),o=0;o<s.length;o++){var l=s[o];l.parentNode.removeChild(l)}for(var c=h(n,r.selector),g=0;g<c.length;g++)r.container.insertBefore(c[g],r.endNode);c.length?p(r):f(r)}}},lastChild:{get:function(){for(var e=i-1;e>-1;e--)if(!t[e].isDefault){var n=this.childNodes;return n[n.length-1]}return null}},outerHTML:{get:function(){var e=this.tagName.toLowerCase(),t="<"+e,i=this.attributes;if(i)for(var n=i.length,a=0;a<n;a++){var r=i[a];t+=" "+r.nodeName+'="'+r.nodeValue+'"'}return t+=">",t+=this.innerHTML,t+="</"+e+">"}},textContent:{get:function(){for(var e="",t=this.childNodes,i=this.childNodes.length,n=0;n<i;n++)e+=t[n].textContent;return e},set:function(e){var n;this.innerHTML="";for(var a=0;a<i;a++){var r=t[a];if(!r.selector){n=r;break}}n&&(e?(p(n),n.container.insertBefore(document.createTextNode(e),n.endNode)):f(n))}},appendChild:{value:function(e){if(e instanceof a){var n=e.childNodes;return[].slice.call(n).forEach(function(e){this.appendChild(e)}.bind(this)),this}for(var r=0;r<i;r++){var o=t[r],l=o.selector;if(!l||e instanceof window.HTMLElement&&s.call(e,l)){p(o),o.endNode.parentNode.insertBefore(e,o.endNode);break}}return this}},insertAdjacentHTML:{value:function(t,i){return"afterbegin"===t?this.insertBefore(u(i),this.childNodes[0]):"beforeend"===t?this.appendChild(u(i)):e.insertAdjacentHTML(t,i),this}},insertBefore:{value:function(e,n){if(!n)return this.appendChild(e);if(e instanceof a){var r=e.childNodes;if(r)for(var o=r.length,l=0;l<o;l++)this.insertBefore(r[l],n);return this}var u=!1;e:for(var c=0;c<i;c++)for(var h=t[c],f=d(h.startNode,h.endNode),p=f.length,g=0;g<p;g++){var m=f[g];if(m===n&&(u=!0),u){var v=h.selector;if(!v||s.call(e,v)){m.parentNode.insertBefore(e,m);break e}}}if(!u)throw new Error("DOMException 8: The node before which the new node is to be inserted is not a child of this node.");return e}},removeChild:{value:function(e){for(var n=!1,a=0;a<i;a++){var r=t[a];if(r.container===e.parentNode){r.container.removeChild(e),n=!0;break}r.startNode.nextSibling===r.endNode&&f(r)}if(!n)throw new Error("DOMException 8: The node in which you are trying to remove is not a child of this node.");return e}},replaceChild:{value:function(e,n){for(var a=0;a<i;a++){var r=t[a];if(r.container===n.parentNode){r.container.replaceChild(e,n);break}}return this}}}}(e))},window.skateTemplateHtml=v,void 0===(n=function(){return v}.call(t,i,t,e))||(e.exports=n),e.exports=v}()},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTrigger=u,t.setTrigger=function(e,t){var i=t&&t.nodeType&&1===t.nodeType;return(0,o.default)(e).set("last-trigger",!!i&&t)},t.hasTrigger=function(e){return!!u(e)},t.doIfTrigger=function(e,t){var i=u(e);i&&t(i)},t.forEachTrigger=function(e,t){return Array.prototype.forEach.call(c(e),t)};var n=l(i(0)),a=l(i(9)),r=l(i(11)),s=l(i(4)),o=l(i(30));function l(e){return e&&e.__esModule?e:{default:e}}function u(e){return(0,o.default)(e).get("last-trigger")||c(e)[0]}function c(e){return document.querySelectorAll('[aria-controls="'+e.id+'"]')}function d(e){return document.getElementById(e.getAttribute("aria-controls"))}function h(e){return"true"!==e.getAttribute("aria-disabled")}function f(e,t){if(h(e)){var i=d(e);i&&i.message&&i.message(t)}}var p={click:function(e,t){(function(e,t){var i=(0,n.default)(t).closest("a[href]",e);return!!i.length&&i[0]!==e})(e,t.target)||(f(e,t),t.preventDefault())},keydown:function(e,t){var i=t.data;i!==a.default.ENTER&&i!==a.default.SPACE||(t.preventDefault(),t.type="click",p.click(e,t))},mouseenter:function(e,t){f(e,t)},mouseleave:function(e,t){f(e,t)},focus:function(e,t){f(e,t)},blur:function(e,t){(function(e,t){var i=t.relatedTarget;return i||(i=document.activeElement),(0,n.default)(d(e)).find(i).length>0})(e,t)||f(e,t)}};Object.keys(p).forEach(function(e){var t=p[e];(0,n.default)(document).on(e+".aui-trigger","[data-aui-trigger]",function(i){t(i.currentTarget,function(e,t){var i=e.target,n=e.currentTarget,a=e.relatedTarget,r=e.keyCode,s=e.which;return{type:t,data:"keydown"===t?s||r:void 0,target:i,currentTarget:n,relatedTarget:a,preventDefault:function(){return e.preventDefault()}}}(i,e))})}),(0,s.default)("data-aui-trigger",{type:s.default.type.ATTRIBUTE,prototype:{disable:function(){this.setAttribute("aria-disabled","true")},enable:function(){this.setAttribute("aria-disabled","false")},isEnabled:function(){return h(this)}}}),(0,r.default)("aui/trigger")},function(e,t,i){"use strict";i(116)},function(e,t){e.exports=i},function(e,t,i){"use strict";var n,a;Object.defineProperty(t,"__esModule",{value:!0});var r=0;function s(e){if(n=r+++"",a=e?e+n:"aui-uid-"+n,document.getElementById(a)){if(a=a+"-"+(new Date).getTime(),document.getElementById(a))throw new Error('Timestamped fallback ID "'+a+'" exists.');return a}return a}(0,function(e){return e&&e.__esModule?e:{default:e}}(i(1)).default)("id",s),t.default=s,e.exports=t.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){return e&&e.__esModule?e:{default:e}}(i(1));var a={"<":"<",">":">","&":"&",'"':""","'":"'","`":"`"},r=new RegExp("["+Object.keys(a).join("")+"]","g");function s(e){return e.replace(r,function(e){return a[e]})}(0,n.default)("escapeHtml",s),t.default=s,e.exports=t.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.recomputeStyle=function(e){e=e.jquery?e[0]:e,window.getComputedStyle(e,null).getPropertyValue("left")}},function(e,t,i){var n,a,r;a=[t],void 0===(r="function"==typeof(n=function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ATTR_IGNORE="data-skate-ignore",e.TYPE_ATTRIBUTE="a",e.TYPE_CLASSNAME="c",e.TYPE_ELEMENT="t"})?n.apply(t,a):n)||(e.exports=r)},function(e,t,i){var n,a,r;a=[t,i(28)],void 0===(r="function"==typeof(n=function(e,t){"use strict";e.hasOwn=r,e.camelCase=function(e){return e.split(/-/g).map(function(e,t){return 0===t?e:e[0].toUpperCase()+e.substring(1)}).join("")},e.elementContains=function(e,t){return e!==document||e.contains?e.contains?e.contains(t):a.call(e,t):document.head.contains(t)||document.body.contains(t)},e.debounce=function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},1))}},e.getClosestIgnoredElement=function(e){for(var t=e;t instanceof Element;){if(t.hasAttribute(i))return t;t=t.parentNode}},e.inherit=function(e,t,i){for(var n=Object.getOwnPropertyNames(t),a=n.length,r=0;r<a;r++){var s=n[r];if(i||void 0===e[s]){var o=Object.getOwnPropertyDescriptor(t,s),l=o.get||o.set||!o.writable||!o.enumerable||!o.configurable;l?Object.defineProperty(e,s,o):e[s]=t[s]}}return e},e.objEach=function(e,t){for(var i in e)r(e,i)&&t(e[i],i)},e.supportsNativeCustomElements=function(){return"function"==typeof document.registerElement},e.isValidNativeCustomElementName=function(e){return e.indexOf("-")>0},Object.defineProperty(e,"__esModule",{value:!0});var i=t.ATTR_IGNORE,n=window.HTMLElement.prototype;e.elementPrototype=n;var a=n.contains;function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}})?n.apply(t,a):n)||(e.exports=r)},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{set:function(t,i){void 0===e._state&&(e._state={}),e._state[t]=i},get:function(t){if(e._state)return e._state[t]}}},e.exports=t.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var i="_aui-widget-"+e;return function(e,a){var r,s;n.default.isPlainObject(e)?s=e:(r=e,s=a);var o,l=r&&(0,n.default)(r);return l&&l.data(i)?o=l.data(i):(l=(o=new t(l,s||{})).$el).data(i,o),o}};var n=function(e){return e&&e.__esModule?e:{default:e}}(i(0));e.exports=t.default},function(e,t,i){"use strict";i(2),i(5),i(119)},function(e,t,i){"use strict";i(2),i(3),i(5),i(42),i(123)},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),i(22)},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.maybeTooltip=t.findAllTooltips=void 0;var n=function(e){return e&&e.__esModule?e:{default:e}}(i(0));i(151);var a="aui-tooltip";n.default.fn.tooltip=function(e){var t=n.default.extend({},n.default.fn.tooltip.defaults,"string"==typeof e?{}:e),i=t.className;function r(){var i=(0,n.default)(this);return"string"==typeof e?function(e,t){e.tipsy(t)}(i,e):function(e,t){e.tipsy(t);var i="hover"===t.trigger||!t.trigger&&"hover"===e.tipsy.defaults.trigger;if(t&&t.hideOnClick&&i){var a=function(){(0,n.default)(this).tipsy("hide")};t.live?e.on("click.tipsy",t.live,a):e.on("click.tipsy",a)}}(i,t),i}return t.className="string"==typeof i?a+" "+i:"function"==typeof i?function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return a+" "+i.apply(void 0,t)}:a,t.live?r.call(this):this.each(r)},n.default.fn.tooltip.defaults={opacity:1,offset:1,delayIn:500,hoverable:!0,hideOnClick:!0,aria:!0},t.default=n.default,t.findAllTooltips=function(){return(0,n.default)(document.getElementsByClassName(a))},t.maybeTooltip=function(e){var t=function(e){return(0,n.default)(e).data("tipsy")}(e);return t?t.$tip:(0,n.default)()}},function(e,t,i){"use strict";i(2),i(3),i(5),i(179)},function(e,t,i){var n,a,r;a=[i(7),i(12)],void 0===(r="function"==typeof(n=function(e){var t=0,i=Array.prototype.slice;return e.cleanData=function(t){return function(i){var n,a,r;for(r=0;null!=(a=i[r]);r++)try{(n=e._data(a,"events"))&&n.remove&&e(a).triggerHandler("remove")}catch(e){}t(i)}}(e.cleanData),e.widget=function(t,i,n){var a,r,s,o={},l=t.split(".")[0],u=l+"-"+(t=t.split(".")[1]);return n||(n=i,i=e.Widget),e.isArray(n)&&(n=e.extend.apply(null,[{}].concat(n))),e.expr[":"][u.toLowerCase()]=function(t){return!!e.data(t,u)},e[l]=e[l]||{},a=e[l][t],r=e[l][t]=function(e,t){if(!this._createWidget)return new r(e,t);arguments.length&&this._createWidget(e,t)},e.extend(r,a,{version:n.version,_proto:e.extend({},n),_childConstructors:[]}),(s=new i).options=e.widget.extend({},s.options),e.each(n,function(t,n){e.isFunction(n)?o[t]=function(){function e(){return i.prototype[t].apply(this,arguments)}function a(e){return i.prototype[t].apply(this,e)}return function(){var t,i=this._super,r=this._superApply;return this._super=e,this._superApply=a,t=n.apply(this,arguments),this._super=i,this._superApply=r,t}}():o[t]=n}),r.prototype=e.widget.extend(s,{widgetEventPrefix:a&&s.widgetEventPrefix||t},o,{constructor:r,namespace:l,widgetName:t,widgetFullName:u}),a?(e.each(a._childConstructors,function(t,i){var n=i.prototype;e.widget(n.namespace+"."+n.widgetName,r,i._proto)}),delete a._childConstructors):i._childConstructors.push(r),e.widget.bridge(t,r),r},e.widget.extend=function(t){for(var n,a,r=i.call(arguments,1),s=0,o=r.length;s<o;s++)for(n in r[s])a=r[s][n],r[s].hasOwnProperty(n)&&void 0!==a&&(e.isPlainObject(a)?t[n]=e.isPlainObject(t[n])?e.widget.extend({},t[n],a):e.widget.extend({},a):t[n]=a);return t},e.widget.bridge=function(t,n){var a=n.prototype.widgetFullName||t;e.fn[t]=function(r){var s="string"==typeof r,o=i.call(arguments,1),l=this;return s?this.length||"instance"!==r?this.each(function(){var i,n=e.data(this,a);return"instance"===r?(l=n,!1):n?e.isFunction(n[r])&&"_"!==r.charAt(0)?(i=n[r].apply(n,o))!==n&&void 0!==i?(l=i&&i.jquery?l.pushStack(i.get()):i,!1):void 0:e.error("no such method '"+r+"' for "+t+" widget instance"):e.error("cannot call methods on "+t+" prior to initialization; attempted to call method '"+r+"'")}):l=void 0:(o.length&&(r=e.widget.extend.apply(null,[r].concat(o))),this.each(function(){var t=e.data(this,a);t?(t.option(r||{}),t._init&&t._init()):e.data(this,a,new n(r,this))})),l}},e.Widget=function(){},e.Widget._childConstructors=[],e.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(i,n){n=e(n||this.defaultElement||this)[0],this.element=e(n),this.uuid=t++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=e(),this.hoverable=e(),this.focusable=e(),this.classesElementLookup={},n!==this&&(e.data(n,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===n&&this.destroy()}}),this.document=e(n.style?n.ownerDocument:n.document||n),this.window=e(this.document[0].defaultView||this.document[0].parentWindow)),this.options=e.widget.extend({},this.options,this._getCreateOptions(),i),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:e.noop,_create:e.noop,_init:e.noop,destroy:function(){var t=this;this._destroy(),e.each(this.classesElementLookup,function(e,i){t._removeClass(i,e)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:e.noop,widget:function(){return this.element},option:function(t,i){var n,a,r,s=t;if(0===arguments.length)return e.widget.extend({},this.options);if("string"==typeof t)if(s={},t=(n=t.split(".")).shift(),n.length){for(a=s[t]=e.widget.extend({},this.options[t]),r=0;r<n.length-1;r++)a[n[r]]=a[n[r]]||{},a=a[n[r]];if(t=n.pop(),1===arguments.length)return void 0===a[t]?null:a[t];a[t]=i}else{if(1===arguments.length)return void 0===this.options[t]?null:this.options[t];s[t]=i}return this._setOptions(s),this},_setOptions:function(e){var t;for(t in e)this._setOption(t,e[t]);return this},_setOption:function(e,t){return"classes"===e&&this._setOptionClasses(t),this.options[e]=t,"disabled"===e&&this._setOptionDisabled(t),this},_setOptionClasses:function(t){var i,n,a;for(i in t)a=this.classesElementLookup[i],t[i]!==this.options.classes[i]&&a&&a.length&&(n=e(a.get()),this._removeClass(a,i),n.addClass(this._classes({element:n,keys:i,classes:t,add:!0})))},_setOptionDisabled:function(e){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!e),e&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(t){var i=[],n=this;function a(a,r){var s,o;for(o=0;o<a.length;o++)s=n.classesElementLookup[a[o]]||e(),s=t.add?e(e.unique(s.get().concat(t.element.get()))):e(s.not(t.element).get()),n.classesElementLookup[a[o]]=s,i.push(a[o]),r&&t.classes[a[o]]&&i.push(t.classes[a[o]])}return t=e.extend({element:this.element,classes:this.options.classes||{}},t),this._on(t.element,{remove:"_untrackClassesElement"}),t.keys&&a(t.keys.match(/\S+/g)||[],!0),t.extra&&a(t.extra.match(/\S+/g)||[]),i.join(" ")},_untrackClassesElement:function(t){var i=this;e.each(i.classesElementLookup,function(n,a){-1!==e.inArray(t.target,a)&&(i.classesElementLookup[n]=e(a.not(t.target).get()))})},_removeClass:function(e,t,i){return this._toggleClass(e,t,i,!1)},_addClass:function(e,t,i){return this._toggleClass(e,t,i,!0)},_toggleClass:function(e,t,i,n){n="boolean"==typeof n?n:i;var a="string"==typeof e||null===e,r={extra:a?t:i,keys:a?e:t,element:a?this.element:e,add:n};return r.element.toggleClass(this._classes(r),n),this},_on:function(t,i,n){var a,r=this;"boolean"!=typeof t&&(n=i,i=t,t=!1),n?(i=a=e(i),this.bindings=this.bindings.add(i)):(n=i,i=this.element,a=this.widget()),e.each(n,function(n,s){function o(){if(t||!0!==r.options.disabled&&!e(this).hasClass("ui-state-disabled"))return("string"==typeof s?r[s]:s).apply(r,arguments)}"string"!=typeof s&&(o.guid=s.guid=s.guid||o.guid||e.guid++);var l=n.match(/^([\w:-]*)\s*(.*)$/),u=l[1]+r.eventNamespace,c=l[2];c?a.on(u,c,o):i.on(u,o)})},_off:function(t,i){i=(i||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.off(i).off(i),this.bindings=e(this.bindings.not(t).get()),this.focusable=e(this.focusable.not(t).get()),this.hoverable=e(this.hoverable.not(t).get())},_delay:function(e,t){var i=this;return setTimeout(function(){return("string"==typeof e?i[e]:e).apply(i,arguments)},t||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){this._addClass(e(t.currentTarget),null,"ui-state-hover")},mouseleave:function(t){this._removeClass(e(t.currentTarget),null,"ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){this._addClass(e(t.currentTarget),null,"ui-state-focus")},focusout:function(t){this._removeClass(e(t.currentTarget),null,"ui-state-focus")}})},_trigger:function(t,i,n){var a,r,s=this.options[t];if(n=n||{},(i=e.Event(i)).type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),i.target=this.element[0],r=i.originalEvent)for(a in r)a in i||(i[a]=r[a]);return this.element.trigger(i,n),!(e.isFunction(s)&&!1===s.apply(this.element[0],[i].concat(n))||i.isDefaultPrevented())}},e.each({show:"fadeIn",hide:"fadeOut"},function(t,i){e.Widget.prototype["_"+t]=function(n,a,r){var s;"string"==typeof a&&(a={effect:a});var o=a?!0===a||"number"==typeof a?i:a.effect||i:t;"number"==typeof(a=a||{})&&(a={duration:a}),s=!e.isEmptyObject(a),a.complete=r,a.delay&&n.delay(a.delay),s&&e.effects&&e.effects.effect[o]?n[t](a):o!==t&&n[o]?n[o](a.duration,a.easing,r):n.queue(function(i){e(this)[t](),r&&r.call(n[0]),i()})}}),e.widget})?n.apply(t,a):n)||(e.exports=r)},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={NO_VALUE:"aui-restfultable-editable-no-value",NO_ENTRIES:"aui-restfultable-no-entires",RESTFUL_TABLE:"aui-restfultable",ROW:"aui-restfultable-row",READ_ONLY:"aui-restfultable-readonly",ACTIVE:"aui-restfultable-active",ALLOW_HOVER:"aui-restfultable-allowhover",FOCUSED:"aui-restfultable-focused",MOVEABLE:"aui-restfultable-movable",DISABLED:"aui-restfultable-disabled",SUBMIT:"aui-restfultable-submit",CANCEL:"aui-restfultable-cancel",EDIT_ROW:"aui-restfultable-editrow",CREATE:"aui-restfultable-create",DRAG_HANDLE:"aui-restfultable-draghandle",ORDER:"aui-restfultable-order",EDITABLE:"aui-restfultable-editable",ERROR:"error",DELETE:"aui-restfultable-delete",STATUS:"aui-restfultable-status"},e.exports=t.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={REORDER_SUCCESS:"RestfulTable.reorderSuccess",ROW_ADDED:"RestfulTable.rowAdded",ROW_REMOVED:"RestfulTable.rowRemoved",EDIT_ROW:"RestfulTable.switchedToEditMode",SERVER_ERROR:"RestfulTable.serverError",CREATED:"created",UPDATED:"updated",FOCUS:"focus",BLUR:"blur",SUBMIT:"submit",SAVE:"save",MODAL:"modal",MODELESS:"modeless",CANCEL:"cancel",CONTENT_REFRESHED:"contentRefreshed",RENDER:"render",FINISHED_EDITING:"finishedEditing",VALIDATION_ERROR:"validationError",SUBMIT_STARTED:"submitStarted",SUBMIT_FINISHED:"submitFinished",INITIALIZED:"initialized",ROW_INITIALIZED:"rowInitialized",ROW_EDIT:"editRow"},e.exports=t.default},function(e,t,i){"use strict";function n(e){var t=/'(?!')/g,i=/^\d+$/,a=/^(\d+),number$/,r=/^(\d+),choice,(.+)/,s=/^(\d+)([#<])(.+)/,o=function(e,t){var o,l="";if(o=e.match(i))l=t.length>++e?t[e]:"";else if(o=e.match(a))l=t.length>++o[1]?t[o[1]]:"";else if(o=e.match(r)){var u=t.length>++o[1]?t[o[1]]:null;if(null!==u){for(var c=o[2].split("|"),d=null,h=0;h<c.length;h++){var f=c[h].match(s),p=parseInt(f[1],10);if(u<p){if(d){l=d;break}l=f[3];break}if(u==p&&"#"==f[2]){l=f[3];break}h==c.length-1&&(l=f[3]),d=f[3]}var g=[l].concat(Array.prototype.slice.call(t,1));l=n.apply(null,g)}}return l},l=function(e){for(var t=!1,i=-1,n=0,a=0;a<e.length;a++){var r=e.charAt(a);if("'"==r&&(t=!t),!t)if("{"===r)0===n&&(i=a),n++;else if("}"===r&&n>0&&0===--n){var s=[];return s.push(e.substring(0,a+1)),s.push(e.substring(0,i)),s.push(e.substring(i+1,a)),s}}return null};return function(e){var i=arguments,n="";if(!e)return n;for(var a=l(e);a;)e=e.substring(a[0].length),n+=a[1].replace(t,""),n+=o(a[2],i),a=l(e);return n+=e.replace(t,"")}.apply(null,arguments)}Object.defineProperty(t,"__esModule",{value:!0}),(0,function(e){return e&&e.__esModule?e:{default:e}}(i(1)).default)("format",n),t.default=n,e.exports=t.default},function(e,t,i){var n,a,r;a=[t,e,i(28),i(100),i(65),i(67),i(29),i(64)],void 0===(r="function"==typeof(n=function(e,t,i,n,a,r,s,o){"use strict";var l=function(e){return e&&e.__esModule?e.default:e},u=i.TYPE_ATTRIBUTE,c=i.TYPE_CLASSNAME,d=i.TYPE_ELEMENT,h=l(n),f=a.triggerCreated,p=a.triggerAttached,g=a.triggerDetached,m=a.triggerAttributeChanged,v=a.initElements,b=l(r),y=s.debounce,_=s.inherit,w=l(o),C=window.HTMLElement,k=!!document.attachEvent,x=y(function(){var e=function(){v(document.documentElement.childNodes)};(k?"complete"===document.readyState:"interactive"===document.readyState||"complete"===document.readyState)?e():k?window.addEventListener("load",e):document.addEventListener("DOMContentLoaded",e)});function E(e,t){if(t=_({},t),(t=_(t,E.defaults)).id=e,b.set(e,t),b.isNativeCustomElement(e)){var i=t.extends?document.createElement(t.extends).constructor.prototype:C.prototype;i.isPrototypeOf(t.prototype)||(t.prototype=_(Object.create(i),t.prototype,!0));var n={prototype:_(t.prototype,{createdCallback:function(){f(this,t)},attachedCallback:function(){p(this,t)},detachedCallback:function(){g(this,t)},attributeChangedCallback:function(e,i,n){m(this,t,{name:e,oldValue:i,newValue:n})}})};return t.extends&&(n.extends=t.extends),document.registerElement(e,n)}if(x(),h.register(!!t.detached),b.isType(e,d))return function(e){function t(){var i,n=e.extends,a=e.id;return n?(i=document.createElement(n)).setAttribute("is",a):i=document.createElement(a),e.prototype=t.prototype,f(i,e),i}return t.prototype=e.prototype,t}(t)}E.init=function(e){var t=e;return e?("string"==typeof e?t=e=document.querySelectorAll(e):e instanceof C&&(t=[e]),v(t),e):e},E.type={ATTRIBUTE:u,CLASSNAME:c,ELEMENT:d},E.version=w,E.defaults={attributes:void 0,events:void 0,extends:void 0,id:"",prototype:{},resolvedAttribute:"resolved",template:void 0,type:d,unresolvedAttribute:"unresolved"};var T=window.skate;E.noConflict=function(){return window.skate=T,E},window.skate=E,t.exports=E})?n.apply(t,a):n)||(e.exports=r)},function(e,t,i){"use strict";i(109),i(110)},function(e,t,i){"use strict";i(2),i(3),i(5),i(117),i(118)},function(e,t,i){"use strict";i(2),i(3),i(5),i(32),i(16),i(121)},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.layer=void 0;var n=i(18);Object.defineProperty(t,"layer",{enumerable:!0,get:function(){return function(e){return e&&e.__esModule?e:{default:e}}(n).default}}),i(2),i(23),i(137)},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(72);Object.keys(n).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}})}),i(42),i(45),i(34),i(141)},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.debounceImmediate=void 0;var n=function(e){return e&&e.__esModule?e:{default:e}}(i(1)),a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t}(i(10));var r=a.fn(function(e,t){var i,n;return function(){var a=arguments,r=this;return clearTimeout(i),i=setTimeout(function(){n=e.apply(r,a),r=a=null},t),n}},"AJS.debounce",{removeInVersion:"9.0.0",sinceVersion:"8.0.0",extraInfo:"Use equivalent functions from libraries like lodash / underscore instead"});t.default=r,(0,n.default)("debounce",r);var s=a.fn(function(e,t){var i,n=null;return function(){var a=this,r=arguments;return null===n&&(i=e.apply(a,r)),clearTimeout(n),n=setTimeout(function(){n=a=r=null},t),i}},"AJS.debounceImmediate",{removeInVersion:"9.0.0",sinceVersion:"8.0.0",extraInfo:"Use equivalent functions from libraries like lodash / underscore instead"});t.debounceImmediate=s,(0,n.default)("debounceImmediate",s)},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.needsLayeringShim=function(){return s&&(o||l||u)},t.supportsVoiceOver=function(){return c},t.supportsDateField=function(){if(void 0===n){var e=document.createElement("input");e.setAttribute("type","date"),n="date"===e.type}return n},t.supportsFocusWithin=function(){if(void 0===a)try{document.querySelector(":focus-within"),a=!0}catch(e){a=!1}return a};var n,a,r=navigator.userAgent.toLowerCase(),s=/msie/.test(r),o=/windows nt 5.1/.test(r),l=/windows nt 6.0/.test(r),u=/windows nt 6.1/.test(r),c=/mac os x/.test(r)},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GPU_ACCELERATION_FLAG=void 0;var n=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var i=[],n=!0,a=!1,r=void 0;try{for(var s,o=e[Symbol.iterator]();!(n=(s=o.next()).done)&&(i.push(s.value),!t||i.length!==t);n=!0);}catch(e){a=!0,r=e}finally{try{!n&&o.return&&o.return()}finally{if(a)throw r}}return i}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=function(e){return e&&e.__esModule?e:{default:e}}(i(139));var r="alignment",s="right middle",o="alignment-container",l="aui-alignment-side-",u="aui-alignment-snap-",c=t.GPU_ACCELERATION_FLAG="aui-alignment-use-gpu",d={"top left":"top-start","top center":"top","top right":"top-end","right top":"right-start","right middle":"right","right bottom":"right-end","bottom right":"bottom-end","bottom center":"bottom","bottom left":"bottom-start","left bottom":"left-end","left middle":"left","left top":"left-start"};function h(e,t){return e.getAttribute(t)||e.getAttribute("data-aui-"+t)}function f(e){return h(e,r)||s}function p(e){var t=function(e){var t=h(e,o)||window;return"string"==typeof t&&(t=document.querySelector(t)),t}(e),i="left";if(t&&t!==window&&t!==document||(t=document.documentElement),t&&t.nodeType&&t.nodeType===Node.ELEMENT_NODE){var n=t.getBoundingClientRect();e.getBoundingClientRect().left>n.right/2&&(i="right")}return i}var g={auto:[],top:["top","bottom","top"],right:["right","left","right"],bottom:["bottom","top","bottom"],left:["left","right","left"]};function m(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=function(e){var t=f(e).split(" "),i=n(t,2);return{side:i[0],snap:i[1]}}(e),s=void 0;r.snap&&"auto"!==r.snap?s=function(e){var t=f(e);return d[t]||"right"}(e):(r.snap=p(t),s="submenu"===r.side?d[("right"===r.snap?"left":"right")+" top"]:d[r.side+" "+r.snap]);var o=g[s.split("-")[0]],h={flip:{enabled:!i.hasOwnProperty("flip")||i.flip,behavior:o,boundariesElement:i.hasOwnProperty("flipContainer")?i.flipContainer:"viewport"},preventOverflow:{enabled:!i.hasOwnProperty("preventOverflow")||i.preventOverflow,padding:0,escapeWithReference:!1,boundariesElement:i.hasOwnProperty("overflowContainer")?i.overflowContainer:"window"},hide:{enabled:!1},computeStyle:{gpuAcceleration:document.body.classList.contains(c)}},m={eventsEnabled:!1,placement:s,positionFixed:!i.hasOwnProperty("positionFixed")||i.positionFixed,modifiers:h};["onCreate","onUpdate"].forEach(function(e){var t=i[e];"function"==typeof t&&(m[e]=t)}),this.popper=new a.default(t,e,m),function(e,t,i){var n=l+t,a=u+i;e.classList.contains(n)||e.classList.add(n),e.classList.contains(a)||e.classList.add(a)}(e,r.side,r.snap)}m.prototype={destroy:function(){return this.popper.destroy(),this},changeTarget:function(e){var t=e.jquery?e[0]:e,i=this.popper.state.eventsEnabled;return t&&t!==this.popper.reference&&(i&&this.disable(),this.popper.reference=t,i&&this.enable(),this.scheduleUpdate()),this},scheduleUpdate:function(){return this.popper.scheduleUpdate(),this},enable:function(){return this.popper.enableEventListeners(),this},disable:function(){return this.popper.disableEventListeners(),this}},t.default=m},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ifGone=function(e){var t=new n.default.Deferred;e?setTimeout(function(){e.parentElement||t.resolve()},a):t.reject();return t.promise()};var n=function(e){return e&&e.__esModule?e:{default:e}}(i(0));var a=40},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t}(i(8));t.default=function(e){function t(t){return a(function(){return e.hasAttribute(t)},t+" wasn't defined")}function i(i){if(!t(i))return!1;var n=e.getAttribute(i);return a(function(){return document.getElementById(n)},'an element with id set to "'+n+'" was not found')}function a(t,i){return!!t()||(e?n.error(i,e):n.error(i),!1)}return{attributeExists:t,refersTo:i,satisfiesRules:a,ariaControls:function(){return i("aria-control