UNPKG

@atlassian/aui

Version:

Atlassian User Interface Framework

1 lines 226 kB
("undefined"==typeof window?global:window).__078f1f0dae379d17d70c51baf1a7fc2e=function(){var e={exports:{}},t=e.exports;return Object.defineProperty(t,"__esModule",{value:!0}),t.default=window.jQuery||window.Zepto,e.exports=t.default,e.exports}.call(this),("undefined"==typeof window?global:window).__f198562ae18f53434639fc434ee4740c=function(){var e={exports:{}},t=e.exports;Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){return e&&e.__esModule?e:{default:e}}(__078f1f0dae379d17d70c51baf1a7fc2e);return t.default=function(){var e=null;return arguments.length&&"string"==typeof arguments[0]&&(e=(0,n.default)(document.createElement(arguments[0])),2===arguments.length&&e.html(arguments[1])),"undefined"!=typeof console&&console.warn&&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."),e},e.exports=t.default,e.exports}.call(this),("undefined"==typeof window?global:window).__e13c04a87556a5776162e551803c8943=function(){var e={exports:{}},t=(e.exports,Object.prototype.hasOwnProperty),n=Object.prototype.propertyIsEnumerable;return e.exports=Object.assign||function(e,a){for(var i,r,o=function(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),s=1;s<arguments.length;s++){i=Object(arguments[s]);for(var u in i)t.call(i,u)&&(o[u]=i[u]);if(Object.getOwnPropertySymbols){r=Object.getOwnPropertySymbols(i);for(var d=0;d<r.length;d++)n.call(i,r[d])&&(o[r[d]]=i[r[d]])}}return o},e.exports}.call(this),("undefined"==typeof window?global:window).__72a5ad586a97d712f1f222cf9b461386=function(){function e(e){return e&&e.__esModule?e:{default:e}}function t(){return i.default.apply(void 0,arguments)}var n={exports:{}},a=n.exports;Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(e,n){return window[o]!==t&&(window[o]=(0,r.default)(t,window[o])),window[o][e]=n};var i=e(__f198562ae18f53434639fc434ee4740c),r=e(__e13c04a87556a5776162e551803c8943),o="AJS";return n.exports=a.default,n.exports}.call(this),("undefined"==typeof window?global:window).__790480709a11d9caf89bfe72fb497800=function(){function e(e){return e&&e.__esModule?e:{default:e}}function t(){"undefined"!=typeof console&&console.warn&&Function.prototype.apply.call(console.warn,console,arguments)}function n(e,n){if("function"==typeof e)return e;var a=!1;return n=n||{},function(i){var r=function(e){var t=new Error,n=t.stack||t.stacktrace,a=n&&n.replace(/^Error\n/,"")||"";return a?(a=a.split("\n"))[e+2]:a}(i||1)||"";if(!a||-1===b.indexOf(r)){b.push(r),a=!0;var o="DEPRECATED "+(n.deprecationType+" "||"")+"- "+function(e){return(e+="")?e.charAt(0).toUpperCase()+e.substring(1):""}(e)+" has been deprecated"+(n.sinceVersion?" since "+n.sinceVersion:"")+" and will be removed in "+(n.removeInVersion||"a future release")+".";n.alternativeName&&(o+=" Use "+n.alternativeName+" instead. "),n.extraInfo&&(o+=" "+n.extraInfo),r=""===r?" \n No stack trace of the deprecated usage is available in your current browser.":" \n "+r,n.extraObject?t(o+="\n",n.extraObject,r):t(o,r)}}}function a(e,t){var a=e.options.displayName;a=a?" ("+a+")":"";var i=c.default.extend({deprecationType:"CSS",extraObject:t},e.options);n("'"+e.selector+"' pattern"+a,i)()}function i(e,t,a){(a=a||{}).deprecationType=a.deprecationType||"JS";var i=n(t||e.name||"this function",a);return function(){return i(),e.apply(this,arguments)}}function r(e,t,n){(n=n||{}).deprecationType=n.deprecationType||"JS";var a=i(e,t,n);return a.prototype=e.prototype,c.default.extend(a,e),a}function o(e,t,a){if("function"==typeof e[t]){(a=a||{}).deprecationType=a.deprecationType||"JS";var r=a.displayName||t;e[t]=i(e[t],r,a)}else!function(e,t,a){if(v){var i=e[t];(a=a||{}).deprecationType=a.deprecationType||"JS";var r=n(a.displayName||t,a);Object.defineProperty(e,t,{get:function(){return r(),i},set:function(e){return i=e,r(),e}})}}(e,t,a)}function s(e,t,n){n=n||{};for(var a in e)p.call(e,a)&&(n.deprecationType=n.deprecationType||"JS",n.displayName=t+a,n.alternativeName=n.alternativeNamePrefix&&n.alternativeNamePrefix+a,o(e,a,c.default.extend({},n)))}function u(e,n){window.MutationObserver?("string"==typeof e&&(e=[e]),e.forEach(function(e){return function(t){var n={selector:t,options:e||{}};g.push(n);for(var i=document.querySelectorAll(t),r=0;r<i.length;r++)a(n,i[r])}}(n))):t("CSS could not be deprecated as Mutation Observer was not found.")}function d(e){return function(t){(function(e,t){return(e.matches||e.msMatchesSelector||e.webkitMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector).call(e,t)})(e,t.selector)&&a(t,e)}}var l={},f=l;Object.defineProperty(f,"__esModule",{value:!0}),f.getMessageLogger=f.propertyDeprecationSupported=f.obj=f.prop=f.css=f.construct=f.fn=void 0;var c=e(__078f1f0dae379d17d70c51baf1a7fc2e),h=e(__72a5ad586a97d712f1f222cf9b461386),p=Object.prototype.hasOwnProperty,b=[],g=[],v=!1;try{Object.defineProperty&&(Object.defineProperty({},"blam",{get:function(){},set:function(){}}),f.propertyDeprecationSupported=v=!0)}catch(e){}if(window.MutationObserver){new MutationObserver(function(e){e.forEach(function(e){for(var t=e.addedNodes,n=0;n<t.length;n++){var a=t[n];1===a.nodeType&&g.forEach(d(a))}})}).observe(document,{childList:!0,subtree:!0})}var m={fn:i,construct:r,css:u,prop:o,obj:s,propertyDeprecationSupported:v,getMessageLogger:n};return(0,h.default)("deprecate",m),f.fn=i,f.construct=r,f.css=u,f.prop=o,f.obj=s,f.propertyDeprecationSupported=v,f.getMessageLogger=n,l}.call(this),("undefined"==typeof window?global:window).__c22195cc5d37225b372c9a8af628fc78=function(){var e={exports:{}},t=e.exports;return Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(window.define){(0,window.define)(e,[],function(){return t})}return t},e.exports=t.default,e.exports}.call(this),("undefined"==typeof window?global:window).__bdf9202e1b2493b75532363403577f4b=function(){function e(e){return function(){"undefined"!=typeof console&&console[e]&&Function.prototype.apply.call(console[e],console,arguments)}}var t={},n=t;Object.defineProperty(n,"__esModule",{value:!0}),n.error=n.warn=n.log=void 0;var a=function(e){return e&&e.__esModule?e:{default:e}}(__72a5ad586a97d712f1f222cf9b461386),i=e("log"),r=e("warn"),o=e("error");return(0,a.default)("error",o),(0,a.default)("log",i),(0,a.default)("warn",r),n.log=i,n.warn=r,n.error=o,t}.call(this),("undefined"==typeof window?global:window).__bb5fba313ec1eb836dad64fbff4776b2=function(){var e={},t=e;Object.defineProperty(t,"__esModule",{value:!0}),t.needsLayeringShim=function(){return o&&(s||u||d)},t.supportsCalc=function(){if(void 0===n){var e=document.createElement("div");e.style.cssText="height: -webkit-calc(20px + 0); height: calc(20px);",n=e.style.cssText.length>0}return n},t.supportsRequestAnimationFrame=function(){return!!window.requestAnimationFrame},t.supportsCssTransition=function(){if(void 0===a){var e=(document.body||document.documentElement).style;a="string"==typeof e.transition||"string"==typeof e.WebkitTransition}return a},t.supportsVoiceOver=function(){return l},t.supportsDateField=function(){if(void 0===i){var e=document.createElement("input");e.setAttribute("type","date"),i="date"===e.type}return i},t.supportsNewMouseEvent=function(){try{new MouseEvent("click")}catch(e){return!1}return!0};var n,a,i,r=navigator.userAgent.toLowerCase(),o=/msie/.test(r),s=/windows nt 5.1/.test(r),u=/windows nt 6.0/.test(r),d=/windows nt 6.1/.test(r),l=/mac os x/.test(r);return e}.call(this),("undefined"==typeof window?global:window).__4bfccaeabc98ece1d9093bf6f637e351=function(){var e={exports:{}},t=e.exports;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};return(0,function(e){return e&&e.__esModule?e:{default:e}}(__72a5ad586a97d712f1f222cf9b461386).default)("keyCode",n),t.default=n,e.exports=t.default,e.exports}.call(this),("undefined"==typeof window?global:window).__31c413f55c162c23d36ee04551225a8a=function(){var e={exports:{}},t=e.exports,n={module:e,exports:t},a=function(a){return function(i,r,o){var s,u,d=("undefined"==typeof window?global:window).define;o=[o,r,i].filter(function(e){return"function"==typeof e})[0],r=[r,i,[]].filter(Array.isArray)[0],u=typeof(s=o.apply(null,r.map(function(e){return n[e]}))),"function"==typeof d&&d("string"==typeof i?i:a,r,o),"string"===u?s=String(s):"number"===u?s=Number(s):"boolean"===u&&(s=Boolean(s)),void 0!==s&&(t=e.exports=s)}}("__31c413f55c162c23d36ee04551225a8a");return a.amd=!0,function(n,i){"object"==typeof t?e.exports=i(n):"function"==typeof a&&a.amd?a([],i.bind(n,n)):i(n)}("undefined"!=typeof global?global:this,function(e){if(e.CSS&&e.CSS.escape)return e.CSS.escape;var t=function(e){for(var t,n=String(e),a=n.length,i=-1,r="",o=n.charCodeAt(0);++i<a;)0!=(t=n.charCodeAt(i))?r+=t>=1&&t<=31||127==t||0==i&&t>=48&&t<=57||1==i&&t>=48&&t<=57&&45==o?"\\"+t.toString(16)+" ":(0!=i||1!=a||45!=t)&&(t>=128||45==t||95==t||t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122)?n.charAt(i):"\\"+n.charAt(i):r+="�";return r};return e.CSS||(e.CSS={}),e.CSS.escape=t,t}),e.exports}.call(this),("undefined"==typeof window?global:window).__f41aa0120717d7505a0deee194734975=function(){function e(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function t(e){return e&&e.__esModule?e:{default:e}}function n(e,t,a,i){if((i=i||[]).hasOwnProperty("onTop")&&(b(),i.onTop&&void 0===i.gravity&&(i.gravity="s")),void 0===t&&(t=String(Math.random()).replace(".",""),(0,s.default)("#inline-dialog-"+t+", #arrow-"+t+", #inline-dialog-shim-"+t).length))throw"GENERATED_IDENTIFIER_NOT_UNIQUE";var r=(0,h.default)(t),o=s.default.extend(!1,n.opts,i);"w"===o.gravity&&(o.offsetX=void 0===i.offsetX?10:i.offsetX,o.offsetY=void 0===i.offsetY?0:i.offsetY);var d,f,g,v,m,_=!1,w=!1,y=!1,x=(0,s.default)('<div id="inline-dialog-'+t+'" class="aui-inline-dialog"><div class="aui-inline-dialog-contents contents"></div><div id="arrow-'+t+'" class="aui-inline-dialog-arrow arrow aui-css-arrow"></div></div>'),C=(0,s.default)("#arrow-"+r,x),A=x.find(".contents");o.displayShadow||A.addClass("aui-inline-dialog-no-shadow"),o.autoWidth?A.addClass("aui-inline-dialog-auto-width"):A.width(o.width),A.on({mouseenter:function(){clearTimeout(f),x.unbind("mouseenter")},mouseleave:function(){E()}});var k=function(){return d||(d={popup:x,hide:function(){E(0)},id:t,show:function(){M()},persistent:!!o.persistent,reset:function(){var e=(0,s.default)(window).height(),n=Math.round(.75*e);x.children(".aui-inline-dialog-contents").css("max-height",n);var a=o.calculatePositions(x,m,v,o);if(a.hasOwnProperty("displayAbove")&&(p(),a.gravity=a.displayAbove?"s":"n"),function(e,t){e.css(t.popupCss),C.removeClass("aui-bottom-arrow aui-left-arrow aui-right-arrow"),"s"!==t.gravity||C.hasClass("aui-bottom-arrow")?"w"===t.gravity?C.addClass("aui-left-arrow"):"e"===t.gravity&&C.addClass("aui-right-arrow"):C.addClass("aui-bottom-arrow"),C.css(t.arrowCss)}(x,a),x.fadeIn(o.fadeTime,function(){}),(0,u.needsLayeringShim)()){var i=(0,s.default)("#inline-dialog-shim-"+r);i.length||(0,s.default)(x).prepend((0,s.default)('<iframe class = "inline-dialog-shim" id="inline-dialog-shim-'+t+'" frameBorder="0" src="javascript:false;"></iframe>')),i.css({width:A.outerWidth(),height:A.outerHeight()})}}}),d},M=function(){x.is(":visible")||(g=setTimeout(function(){y&&w&&(o.addActiveClass&&(0,s.default)(e).addClass("active"),_=!0,o.persistent||D(),n.current=k(),(0,s.default)(document).trigger("showLayer",["inlineDialog",k()]),k().reset())},o.showDelay))},E=function(t){void 0===t&&o.persistent||void 0===x.get(0)._datePickerPopup&&(w=!1,_&&o.preHideCallback.call(x[0].popup)&&(t=null==t?o.hideDelay:t,clearTimeout(f),clearTimeout(g),null!=t&&(f=setTimeout(function(){L(),o.addActiveClass&&(0,s.default)(e).removeClass("active"),x.fadeOut(o.fadeTime,function(){o.hideCallback.call(x[0].popup)}),_=!1,w=!1,(0,s.default)(document).trigger("hideLayer",["inlineDialog",k()]),n.current=null,o.cacheContent||(y=!1,O=!1)},t))))},T=function(e,n){var i=(0,s.default)(n);o.upfrontCallback.call({popup:x,hide:function(){E(0)},id:t,show:function(){M()}}),x.each(function(){void 0!==this.popup&&this.popup.hide()}),o.closeOthers&&(0,s.default)(".aui-inline-dialog").each(function(){!this.popup.persistent&&this.popup.hide()}),m={target:i},v=e?{x:e.pageX,y:e.pageY}:{x:i.offset().left,y:i.offset().top},_||clearTimeout(g),w=!0;return O||(O=!0,s.default.isFunction(a)?a(A,n,function(){O=!1,y=!0,o.initCallback.call({popup:x,hide:function(){E(0)},id:t,show:function(){M()}}),M()}):s.default.get(a,function(e,n,a){A.html(o.responseHandler(e,n,a)),y=!0,o.initCallback.call({popup:x,hide:function(){E(0)},id:t,show:function(){M()}}),M()})),clearTimeout(f),_||M(),!1};x[0].popup=k();var O=!1,N=!1,S=function(){N||((0,s.default)(o.container).append(x),N=!0)},P=(0,s.default)(e);o.onHover?o.useLiveEvents?P.selector?(0,s.default)(document).on("mouseenter",P.selector,function(e){S(),T(e,this)}).on("mouseleave",P.selector,function(){E()}):l.log("Warning: inline dialog trigger elements must have a jQuery selector when the useLiveEvents option is enabled."):P.on({mouseenter:function(e){S(),T(e,this)},mouseleave:function(){E()}}):o.noBind||(o.useLiveEvents?P.selector?(0,s.default)(document).on("click",P.selector,function(e){return S(),j()?x.hide():T(e,this),!1}).on("mouseleave",P.selector,function(){E()}):l.log("Warning: inline dialog trigger elements must have a jQuery selector when the useLiveEvents option is enabled."):P.on("click",function(e){return S(),j()?x.hide():T(e,this),!1}).on("mouseleave",function(){E()}));var j=function(){return _&&o.closeOnTriggerClick},D=function(){B(),R()},L=function(){F(),V()},I=!1,$=t+".inline-dialog-check",B=function(){I||((0,s.default)("body").bind("click."+$,function(e){0===(0,s.default)(e.target).closest("#inline-dialog-"+r+" .contents").length&&E(0)}),I=!0)},F=function(){I&&(0,s.default)("body").unbind("click."+$),I=!1},H=function(e){e.keyCode===c.default.ESCAPE&&E(0)},R=function(){(0,s.default)(document).on("keydown",H)},V=function(){(0,s.default)(document).off("keydown",H)};return x.show=function(t,n){t&&t.stopPropagation(),S(),!o.noBind||e&&e.length?T(t,e):T(t,void 0===n?t.target:n)},x.hide=function(){E(0)},x.refresh=function(){_&&k().reset()},x.getOptions=function(){return o},x}function a(e){var t=(0,s.default)(e),n=s.default.extend({left:0,top:0},t.offset());return{left:n.left,top:n.top,width:t.outerWidth(),height:t.outerHeight()}}function i(e,t,n,a){var i=function(e,t,n,a){var i=s.default.isFunction(a.offsetX)?a.offsetX(e,t,n,a):a.offsetX,r=s.default.isFunction(a.offsetY)?a.offsetY(e,t,n,a):a.offsetY,o=s.default.isFunction(a.arrowOffsetX)?a.arrowOffsetX(e,t,n,a):a.arrowOffsetX,u=s.default.isFunction(a.arrowOffsetY)?a.arrowOffsetY(e,t,n,a):a.arrowOffsetY,d="body"!==a.container.toLowerCase(),l=(0,s.default)(a.container),f=d?(0,s.default)(a.container).parent():(0,s.default)(window),c=d?l.offset():{left:0,top:0},h=d?f.offset():{left:0,top:0},p=t.target,b=p.offset(),g=p[0].getBBox&&p[0].getBBox();return{screenPadding:10,arrowMargin:5,window:{top:h.top,left:h.left,scrollTop:f.scrollTop(),scrollLeft:f.scrollLeft(),width:f.width(),height:f.height()},scrollContainer:{width:l.width(),height:l.height()},trigger:{top:b.top-c.top,left:b.left-c.left,width:g?g.width:p.outerWidth(),height:g?g.height:p.outerHeight()},dialog:{width:e.width(),height:e.height(),offset:{top:r,left:i}},arrow:{height:e.find(".arrow").outerHeight(),offset:{top:u,left:o}}}}(e,t,n,a),r=i.screenPadding,o=i.window,u=i.trigger,d=i.dialog,l=i.arrow,f=i.scrollContainer,c=u.top-o.scrollTop,h=u.left-o.scrollLeft,p=Math.floor(u.height/2),b=Math.floor(d.height/2),g=Math.floor(l.height/2),v=h-d.offset.left-r,m=f.width-h-u.width-d.offset.left-r,_=v>=d.width,w=!(m>=d.width)&&_?"e":"w",y=c+p-g,x=o.height-y-l.height;r=Math.min(r,y-i.arrowMargin),r=Math.min(r,x-i.arrowMargin);var C,A,k=c+p,M=Math.max(k-r,0),E=Math.max(o.height-k-r,0),T=b-d.offset.top>M,O=b+d.offset.top>E;return T?(C={top:o.scrollTop+r,left:"w"===w?u.left+u.width+d.offset.left:u.left-d.width-d.offset.left},A={top:u.top+p-(C.top+g)}):O?(C={top:o.scrollTop+o.height-d.height-r,left:"w"===w?u.left+u.width+d.offset.left:u.left-d.width-d.offset.left},A={top:u.top+p-(C.top+g)}):(C={top:u.top+p-b+d.offset.top,left:"w"===w?u.left+u.width+d.offset.left:u.left-d.width-d.offset.left},A={top:b-g+l.offset.top}),{gravity:w,popupCss:C,arrowCss:A}}var r={exports:{}},o=r.exports;Object.defineProperty(o,"__esModule",{value:!0});var s=t(__078f1f0dae379d17d70c51baf1a7fc2e),u=__bb5fba313ec1eb836dad64fbff4776b2,d=e(__790480709a11d9caf89bfe72fb497800),l=e(__bdf9202e1b2493b75532363403577f4b),f=t(__72a5ad586a97d712f1f222cf9b461386),c=t(__4bfccaeabc98ece1d9093bf6f637e351),h=t(__31c413f55c162c23d36ee04551225a8a);n.opts={onTop:!1,responseHandler:function(e){return e},closeOthers:!0,isRelativeToMouse:!1,addActiveClass:!0,onHover:!1,useLiveEvents:!1,noBind:!1,fadeTime:100,persistent:!1,hideDelay:1e4,showDelay:0,width:300,offsetX:0,offsetY:10,arrowOffsetX:0,arrowOffsetY:0,container:"body",cacheContent:!0,displayShadow:!0,autoWidth:!1,gravity:"n",closeOnTriggerClick:!1,preHideCallback:function(){return!0},hideCallback:function(){},initCallback:function(){},upfrontCallback:function(){},calculatePositions:function(e,t,n,r){return("w"===(r=r||{}).gravity?i:function(e,t,n,i){var r=s.default.isFunction(i.offsetX)?i.offsetX(e,t,n,i):i.offsetX,o=s.default.isFunction(i.offsetY)?i.offsetY(e,t,n,i):i.offsetY,u=s.default.isFunction(i.arrowOffsetX)?i.arrowOffsetX(e,t,n,i):i.arrowOffsetX,d=a(window),l=a(t.target),f=a(e),c=a(e.find(".aui-inline-dialog-arrow")),h=l.left+l.width/2,p=(window.pageYOffset||document.documentElement.scrollTop)+d.height;f.top=l.top+l.height+~~o,f.left=l.left+~~r;var b=d.width-(f.left+f.width+10);c.left=h-f.left+~~u,c.top=-c.height/2;var g=l.top>f.height,v=!(f.top+f.height<p)&&g||g&&"s"===i.gravity;if(v&&(f.top=l.top-f.height-c.height/2,c.top=f.height),i.isRelativeToMouse)b<0?(f.right=10,f.left="auto",c.left=n.x-(d.width-f.width)):(f.left=n.x-20,c.left=n.x-f.left);else if(b<0){f.right=10,f.left="auto";var m=d.width-f.right-f.width;c.right="auto",c.left=h-m-c.width/2}else f.width<=l.width/2&&(c.left=f.width/2,f.left=h-f.width/2);return{gravity:v?"s":"n",displayAbove:v,popupCss:{left:f.left,top:f.top,right:f.right},arrowCss:{left:c.left,top:c.top,right:c.right}}})(e,t,n,r)}},n=d.construct(n,"Inline dialog constructor",{alternativeName:"inline dialog 2"});var p=d.getMessageLogger("displayAbove","[remove version]",{alternativeName:"gravity",extraInfo:"See https://ecosystem.atlassian.net/browse/AUI-2197."}),b=d.getMessageLogger("onTop","[remove version]",{alternativeName:"gravity",extraInfo:"See https://ecosystem.atlassian.net/browse/AUI-2197."});return(0,f.default)("InlineDialog",n),o.default=n,r.exports=o.default,r.exports}.call(this),("undefined"==typeof window?global:window).__6d5dea4d061f88b84d8cc15a7fdab8ff=function(){function e(t){var n=/'(?!')/g,a=/^\d+$/,i=/^(\d+),number$/,r=/^(\d+)\,choice\,(.+)/,o=/^(\d+)([#<])(.+)/,s=function(t,n){var s,u="";if(s=t.match(a))u=n.length>++t?n[t]:"";else if(s=t.match(i))u=n.length>++s[1]?n[s[1]]:"";else if(s=t.match(r)){var d=n.length>++s[1]?n[s[1]]:null;if(null!==d){for(var l=s[2].split("|"),f=null,c=0;c<l.length;c++){var h=l[c].match(o),p=parseInt(h[1],10);if(d<p){if(f){u=f;break}u=h[3];break}if(d==p&&"#"==h[2]){u=h[3];break}c==l.length-1&&(u=h[3]),f=h[3]}var b=[u].concat(Array.prototype.slice.call(n,1));u=e.apply(null,b)}}return u},u=function(e){for(var t=!1,n=-1,a=0,i=0;i<e.length;i++){var r=e.charAt(i);if("'"==r&&(t=!t),!t)if("{"===r)0===a&&(n=i),a++;else if("}"===r&&a>0&&0==--a){var o=[];return o.push(e.substring(0,i+1)),o.push(e.substring(0,n)),o.push(e.substring(n+1,i)),o}}return null};return function(e){var t=arguments,a="";if(!e)return a;for(var i=u(e);i;)e=e.substring(i[0].length),a+=i[1].replace(n,""),a+=s(i[2],t),i=u(e);return a+=e.replace(n,"")}.apply(null,arguments)}var t={exports:{}},n=t.exports;Object.defineProperty(n,"__esModule",{value:!0});return(0,function(e){return e&&e.__esModule?e:{default:e}}(__72a5ad586a97d712f1f222cf9b461386).default)("format",e),n.default=e,t.exports=n.default,t.exports}.call(this),("undefined"==typeof window?global:window).__e51b5fcc1c736dba73897df11945250d=function(){var e={exports:{}},t=e.exports;return Object.defineProperty(t,"__esModule",{value:!0}),t.default={"aui.dropdown.async.error":"Error loading dropdown","aui.dropdown.async.loading":"Loading dropdown","aui.words.add":"Add","aui.words.update":"Update","aui.words.delete":"Delete","aui.words.remove":"Remove","aui.words.cancel":"Cancel","aui.words.loading":"Loading","aui.words.close":"Close","aui.enter.value":"Enter value","aui.words.more":"More","aui.words.moreitem":"More…","aui.keyboard.shortcut.type.x":"Type ''{0}''","aui.keyboard.shortcut.then.x":"then ''{0}''","aui.keyboard.shortcut.or.x":"OR ''{0}''","aui.sidebar.expand.tooltip":"Expand sidebar ( [ )","aui.sidebar.collapse.tooltip":"Collapse sidebar ( [ )","aui.validation.message.maxlength":"Must be fewer than or equal to {0} characters","aui.validation.message.minlength":"Must be greater than or equal to {0} characters","aui.validation.message.exactlength":"Must be exactly {0} characters","aui.validation.message.matchingfield":"{0} and {1} do not match.","aui.validation.message.matchingfield-novalue":"These fields do not match.","aui.validation.message.doesnotcontain":"Do not include the phrase {0} in this field","aui.validation.message.pattern":"This field does not match the required format","aui.validation.message.required":"This is a required field","aui.validation.message.validnumber":"Please enter a valid number","aui.validation.message.min":"Enter a value greater than {0}","aui.validation.message.max":"Enter a value less than {0}","aui.validation.message.dateformat":"Enter a valid date","aui.validation.message.minchecked":"Tick at least {0,choice,0#0 checkboxes|1#1 checkbox|1<{0,number} checkboxes}.","aui.validation.message.maxchecked":"Tick at most {0,choice,0#0 checkboxes|1#1 checkbox|1<{0,number} checkboxes}.","aui.checkboxmultiselect.clear.selected":"Clear selected items","aui.select.no.suggestions":"No suggestions","aui.select.new.suggestions":"New suggestions added. Please use the up and down arrows to select.","aui.select.new.value":"new value","aui.toggle.on":"On","aui.toggle.off":"Off","ajs.datepicker.localisations.day-names.sunday":"Sunday","ajs.datepicker.localisations.day-names.monday":"Monday","ajs.datepicker.localisations.day-names.tuesday":"Tuesday","ajs.datepicker.localisations.day-names.wednesday":"Wednesday","ajs.datepicker.localisations.day-names.thursday":"Thursday","ajs.datepicker.localisations.day-names.friday":"Friday","ajs.datepicker.localisations.day-names.saturday":"Saturday","ajs.datepicker.localisations.day-names-min.sunday":"Sun","ajs.datepicker.localisations.day-names-min.monday":"Mon","ajs.datepicker.localisations.day-names-min.tuesday":"Tue","ajs.datepicker.localisations.day-names-min.wednesday":"Wed","ajs.datepicker.localisations.day-names-min.thursday":"Thu","ajs.datepicker.localisations.day-names-min.friday":"Fri","ajs.datepicker.localisations.day-names-min.saturday":"Sat","ajs.datepicker.localisations.first-day":0,"ajs.datepicker.localisations.is-RTL":!1,"ajs.datepicker.localisations.month-names.january":"January","ajs.datepicker.localisations.month-names.february":"February","ajs.datepicker.localisations.month-names.march":"March","ajs.datepicker.localisations.month-names.april":"April","ajs.datepicker.localisations.month-names.may":"May","ajs.datepicker.localisations.month-names.june":"June","ajs.datepicker.localisations.month-names.july":"July","ajs.datepicker.localisations.month-names.august":"August","ajs.datepicker.localisations.month-names.september":"September","ajs.datepicker.localisations.month-names.october":"October","ajs.datepicker.localisations.month-names.november":"November","ajs.datepicker.localisations.month-names.december":"December","ajs.datepicker.localisations.show-month-after-year":!1,"ajs.datepicker.localisations.year-suffix":null},e.exports=t.default,e.exports}.call(this),("undefined"==typeof window?global:window).__2150d50df55ec10bd8aaa26b0403c771=function(){function e(e){return e&&e.__esModule?e:{default:e}}var t={exports:{}},n=t.exports;Object.defineProperty(n,"__esModule",{value:!0});var a=e(__6d5dea4d061f88b84d8cc15a7fdab8ff),i=e(__72a5ad586a97d712f1f222cf9b461386),r={keys:e(__e51b5fcc1c736dba73897df11945250d).default,getText:function(e){var t=Array.prototype.slice.call(arguments,1);return Object.prototype.hasOwnProperty.call(this.keys,e)?a.default.apply(null,[this.keys[e]].concat(t)):e}};return(0,i.default)("I18n",r),n.default=r,t.exports=n.default,t.exports}.call(this),("undefined"==typeof window?global:window).__01b368cd7c91864f2a5e58d39f12c38e=function(){var e={exports:{}},t=e.exports,n={module:e,exports:t},a=function(a){return function(i,r,o){var s,u,d=("undefined"==typeof window?global:window).define;o=[o,r,i].filter(function(e){return"function"==typeof e})[0],r=[r,i,[]].filter(Array.isArray)[0],u=typeof(s=o.apply(null,r.map(function(e){return n[e]}))),"function"==typeof d&&d("string"==typeof i?i:a,r,o),"string"===u?s=String(s):"number"===u?s=Number(s):"boolean"===u&&(s=Boolean(s)),void 0!==s&&(t=e.exports=s)}}("__01b368cd7c91864f2a5e58d39f12c38e");return a.amd=!0,function(e){"function"==typeof a&&a.amd?a(["exports"],e):void 0!==t&&e(t)}(function(e){Object.defineProperty(e,"__esModule",{value:!0});e.ATTR_IGNORE="data-skate-ignore";e.TYPE_ATTRIBUTE="a";e.TYPE_CLASSNAME="c";e.TYPE_ELEMENT="t"}),e.exports}.call(this),("undefined"==typeof window?global:window).__21ddd3fa61ce61895e367af8c5728a9c=function(){var e={exports:{}},t=e.exports,n={module:e,exports:t},a=function(a){return function(i,r,o){var s,u,d=("undefined"==typeof window?global:window).define;o=[o,r,i].filter(function(e){return"function"==typeof e})[0],r=[r,i,[]].filter(Array.isArray)[0],u=typeof(s=o.apply(null,r.map(function(e){return n[e]}))),"function"==typeof d&&d("string"==typeof i?i:a,r,o),"string"===u?s=String(s):"number"===u?s=Number(s):"boolean"===u&&(s=Boolean(s)),void 0!==s&&(t=e.exports=s)}}("__21ddd3fa61ce61895e367af8c5728a9c");return a.amd=!0,function(n){"function"==typeof a&&a.amd?a(["exports","module"],n):void 0!==t&&void 0!==e&&n(t,e)}(function(e,t){t.exports="0.13.17"}),e.exports}.call(this),("undefined"==typeof window?global:window).__ddc45cfb7404d4701eaf0fc98dfb7d57=function(){var e={exports:{}},t=e.exports,n={module:e,exports:t,"./version":__21ddd3fa61ce61895e367af8c5728a9c,"./version":__21ddd3fa61ce61895e367af8c5728a9c},a=function(a){return function(i,r,o){var s,u,d=("undefined"==typeof window?global:window).define;o=[o,r,i].filter(function(e){return"function"==typeof e})[0],r=[r,i,[]].filter(Array.isArray)[0],u=typeof(s=o.apply(null,r.map(function(e){return n[e]}))),"function"==typeof d&&d("string"==typeof i?i:a,r,o),"string"===u?s=String(s):"number"===u?s=Number(s):"boolean"===u&&(s=Boolean(s)),void 0!==s&&(t=e.exports=s)}}("__ddc45cfb7404d4701eaf0fc98dfb7d57");return a.amd=!0,function(n){"function"==typeof a&&a.amd?a(["exports","module","./version"],n):void 0!==t&&void 0!==e&&n(t,e,__21ddd3fa61ce61895e367af8c5728a9c)}(function(e,t,n){var a="__skate_"+function(e){return e&&e.__esModule?e.default:e}(n).replace(/[^\w]/g,"_");window[a]||(window[a]={observer:void 0,registry:{}}),t.exports=window[a]}),e.exports}.call(this),("undefined"==typeof window?global:window).__0ce1f96a7c056572dbd541ab8089034f=function(){var e={exports:{}},t=e.exports,n={module:e,exports:t},a=function(a){return function(i,r,o){var s,u,d=("undefined"==typeof window?global:window).define;o=[o,r,i].filter(function(e){return"function"==typeof e})[0],r=[r,i,[]].filter(Array.isArray)[0],u=typeof(s=o.apply(null,r.map(function(e){return n[e]}))),"function"==typeof d&&d("string"==typeof i?i:a,r,o),"string"===u?s=String(s):"number"===u?s=Number(s):"boolean"===u&&(s=Boolean(s)),void 0!==s&&(t=e.exports=s)}}("__0ce1f96a7c056572dbd541ab8089034f");return a.amd=!0,function(n){"function"==typeof a&&a.amd?a(["exports","module"],n):void 0!==t&&void 0!==e&&n(t,e)}(function(e,t){t.exports=function(e){var t=void 0===arguments[1]?"":arguments[1],n=e.__SKATE_DATA||(e.__SKATE_DATA={});return t&&(n[t]||(n[t]={}))||n}}),e.exports}.call(this),("undefined"==typeof window?global:window).__3fa04cf351a55ccf9e210f357de19f44=function(){var e={exports:{}},t=e.exports,n={module:e,exports:t},a=function(a){return function(i,r,o){var s,u,d=("undefined"==typeof window?global:window).define;o=[o,r,i].filter(function(e){return"function"==typeof e})[0],r=[r,i,[]].filter(Array.isArray)[0],u=typeof(s=o.apply(null,r.map(function(e){return n[e]}))),"function"==typeof d&&d("string"==typeof i?i:a,r,o),"string"===u?s=String(s):"number"===u?s=Number(s):"boolean"===u&&(s=Boolean(s)),void 0!==s&&(t=e.exports=s)}}("__3fa04cf351a55ccf9e210f357de19f44");return a.amd=!0,function(e){"function"==typeof a&&a.amd?a(["exports"],e):void 0!==t&&e(t)}(function(e){!function(e){"undefined"==typeof WeakMap&&function(){var e=Object.defineProperty,t=Date.now()%1e9,n=function(){this.name="__st"+(1e9*Math.random()>>>0)+t+++"__"};n.prototype={set:function(t,n){var a=t[this.name];return a&&a[0]===t?a[1]=n:e(t,this.name,{value:[t,n],writable:!0}),this},get:function(e){var t;return(t=e[this.name])&&t[0]===e?t[1]:void 0},delete:function(e){var t=e[this.name];return!(!t||t[0]!==e)&&(t[0]=t[1]=void 0,!0)},has:function(e){var t=e[this.name];return!!t&&t[0]===e}},window.WeakMap=n}(),function(e){function t(){h=!1;var e=p;p=[],e.sort(function(e,t){return e.uid_-t.uid_});var n=!1;e.forEach(function(e){var t=e.takeRecords();!function(e){e.nodes_.forEach(function(t){var n=l.get(t);n&&n.forEach(function(t){t.observer===e&&t.removeTransientObservers()})})}(e),t.length&&(e.callback_(t,e),n=!0)}),n&&t()}function n(e,t){for(var n=e;n;n=n.parentNode){var a=l.get(n);if(a)for(var i=0;i<a.length;i++){var r=a[i],o=r.options;if(n===e||o.subtree){var s=t(o);s&&r.enqueue(s)}}}}function a(e){this.callback_=e,this.nodes_=[],this.records_=[],this.uid_=++b}function i(e,t){this.type=e,this.target=t,this.addedNodes=[],this.removedNodes=[],this.previousSibling=null,this.nextSibling=null,this.attributeName=null,this.attributeNamespace=null,this.oldValue=null}function r(e,t){return g=new i(e,t)}function o(e){return v||(v=function(e){var t=new i(e.type,e.target);return t.addedNodes=e.addedNodes.slice(),t.removedNodes=e.removedNodes.slice(),t.previousSibling=e.previousSibling,t.nextSibling=e.nextSibling,t.attributeName=e.attributeName,t.attributeNamespace=e.attributeNamespace,t.oldValue=e.oldValue,t}(g),v.oldValue=e,v)}function s(e,t){return e===t?e:v&&function(e){return e===v||e===g}(e)?v:null}function u(e,t,n){this.observer=e,this.target=t,this.options=n,this.transientObservedNodes=[]}if(!e.JsMutationObserver){var d,l=new WeakMap;if(/Trident|Edge/.test(navigator.userAgent))d=setTimeout;else if(window.setImmediate)d=window.setImmediate;else{var f=[],c=String(Math.random());window.addEventListener("message",function(e){if(e.data===c){var t=f;f=[],t.forEach(function(e){e()})}}),d=function(e){f.push(e),window.postMessage(c,"*")}}var h=!1,p=[],b=0;a.prototype={observe:function(e,t){if(e=function(e){return window.ShadowDOMPolyfill&&window.ShadowDOMPolyfill.wrapIfNeeded(e)||e}(e),!t.childList&&!t.attributes&&!t.characterData||t.attributeOldValue&&!t.attributes||t.attributeFilter&&t.attributeFilter.length&&!t.attributes||t.characterDataOldValue&&!t.characterData)throw new SyntaxError;var n=l.get(e);n||l.set(e,n=[]);for(var a,i=0;i<n.length;i++)if(n[i].observer===this){(a=n[i]).removeListeners(),a.options=t;break}a||(a=new u(this,e,t),n.push(a),this.nodes_.push(e)),a.addListeners()},disconnect:function(){this.nodes_.forEach(function(e){for(var t=l.get(e),n=0;n<t.length;n++){var a=t[n];if(a.observer===this){a.removeListeners(),t.splice(n,1);break}}},this),this.records_=[]},takeRecords:function(){var e=this.records_;return this.records_=[],e}};var g,v;u.prototype={enqueue:function(e){var n=this.observer.records_,a=n.length;if(n.length>0){var i=s(n[a-1],e);if(i)return void(n[a-1]=i)}else!function(e){p.push(e),h||(h=!0,d(t))}(this.observer);n[a]=e},addListeners:function(){this.addListeners_(this.target)},addListeners_:function(e){var t=this.options;t.attributes&&e.addEventListener("DOMAttrModified",this,!0),t.characterData&&e.addEventListener("DOMCharacterDataModified",this,!0),t.childList&&e.addEventListener("DOMNodeInserted",this,!0),(t.childList||t.subtree)&&e.addEventListener("DOMNodeRemoved",this,!0)},removeListeners:function(){this.removeListeners_(this.target)},removeListeners_:function(e){var t=this.options;t.attributes&&e.removeEventListener("DOMAttrModified",this,!0),t.characterData&&e.removeEventListener("DOMCharacterDataModified",this,!0),t.childList&&e.removeEventListener("DOMNodeInserted",this,!0),(t.childList||t.subtree)&&e.removeEventListener("DOMNodeRemoved",this,!0)},addTransientObserver:function(e){if(e!==this.target){this.addListeners_(e),this.transientObservedNodes.push(e);var t=l.get(e);t||l.set(e,t=[]),t.push(this)}},removeTransientObservers:function(){var e=this.transientObservedNodes;this.transientObservedNodes=[],e.forEach(function(e){this.removeListeners_(e);for(var t=l.get(e),n=0;n<t.length;n++)if(t[n]===this){t.splice(n,1);break}},this)},handleEvent:function(e){switch(e.stopImmediatePropagation(),e.type){case"DOMAttrModified":var t=e.attrName,a=e.relatedNode.namespaceURI,i=e.target;(s=new r("attributes",i)).attributeName=t,s.attributeNamespace=a;u=e.attrChange===MutationEvent.ADDITION?null:e.prevValue;n(i,function(e){if(e.attributes&&(!e.attributeFilter||!e.attributeFilter.length||-1!==e.attributeFilter.indexOf(t)||-1!==e.attributeFilter.indexOf(a)))return e.attributeOldValue?o(u):s});break;case"DOMCharacterDataModified":var s=r("characterData",i=e.target),u=e.prevValue;n(i,function(e){if(e.characterData)return e.characterDataOldValue?o(u):s});break;case"DOMNodeRemoved":this.addTransientObserver(e.target);case"DOMNodeInserted":var d,l,f=e.target;"DOMNodeInserted"===e.type?(d=[f],l=[]):(d=[],l=[f]);var c=f.previousSibling,h=f.nextSibling;(s=r("childList",e.target.parentNode)).addedNodes=d,s.removedNodes=l,s.previousSibling=c,s.nextSibling=h,n(e.relatedNode,function(e){if(e.childList)return s})}g=v=void 0}},e.JsMutationObserver=a,e.MutationObserver||(e.MutationObserver=a,a._isPolyfilled=!0)}}(e)}(window)}),e.exports}.call(this),("undefined"==typeof window?global:window).__1c186e2b53d7d17669b64b1406f90027=function(){var e={exports:{}},t=e.exports,n={module:e,exports:t,"./constants":__01b368cd7c91864f2a5e58d39f12c38e,"./constants":__01b368cd7c91864f2a5e58d39f12c38e},a=function(a){return function(i,r,o){var s,u,d=("undefined"==typeof window?global:window).define;o=[o,r,i].filter(function(e){return"function"==typeof e})[0],r=[r,i,[]].filter(Array.isArray)[0],u=typeof(s=o.apply(null,r.map(function(e){return n[e]}))),"function"==typeof d&&d("string"==typeof i?i:a,r,o),"string"===u?s=String(s):"number"===u?s=Number(s):"boolean"===u&&(s=Boolean(s)),void 0!==s&&(t=e.exports=s)}}("__1c186e2b53d7d17669b64b1406f90027");return a.amd=!0,function(e){"function"==typeof a&&a.amd?a(["exports","./constants"],e):void 0!==t&&e(t,__01b368cd7c91864f2a5e58d39f12c38e)}(function(e,t){function n(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.hasOwn=n,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):r.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(a))return t;t=t.parentNode}},e.inherit=function(e,t,n){for(var a=Object.getOwnPropertyNames(t),i=a.length,r=0;r<i;r++){var o=a[r];if(n||void 0===e[o]){var s=Object.getOwnPropertyDescriptor(t,o);!s.get&&!s.set&&s.writable&&s.enumerable&&s.configurable?e[o]=t[o]:Object.defineProperty(e,o,s)}}return e},e.objEach=function(e,t){for(var a in e)n(e,a)&&t(e[a],a)},e.supportsNativeCustomElements=function(){return"function"==typeof document.registerElement},e.isValidNativeCustomElementName=function(e){return e.indexOf("-")>0},Object.defineProperty(e,"__esModule",{value:!0});var a=t.ATTR_IGNORE,i=window.HTMLElement.prototype;e.elementPrototype=i;var r=i.contains}),e.exports}.call(this),("undefined"==typeof window?global:window).__50c396188ff9a132365976994bc00159=function(){var e={exports:{}},t=e.exports,n={module:e,exports:t,"./constants":__01b368cd7c91864f2a5e58d39f12c38e,"./globals":__ddc45cfb7404d4701eaf0fc98dfb7d57,"./utils":__1c186e2b53d7d17669b64b1406f90027,"./constants":__01b368cd7c91864f2a5e58d39f12c38e,"./globals":__ddc45cfb7404d4701eaf0fc98dfb7d57,"./utils":__1c186e2b53d7d17669b64b1406f90027},a=function(a){return function(i,r,o){var s,u,d=("undefined"==typeof window?global:window).define;o=[o,r,i].filter(function(e){return"function"==typeof e})[0],r=[r,i,[]].filter(Array.isArray)[0],u=typeof(s=o.apply(null,r.map(function(e){return n[e]}))),"function"==typeof d&&d("string"==typeof i?i:a,r,o),"string"===u?s=String(s):"number"===u?s=Number(s):"boolean"===u&&(s=Boolean(s)),void 0!==s&&(t=e.exports=s)}}("__50c396188ff9a132365976994bc00159");return a.amd=!0,function(n){"function"==typeof a&&a.amd?a(["exports","module","./constants","./globals","./utils"],n):void 0!==t&&void 0!==e&&n(t,e,__01b368cd7c91864f2a5e58d39f12c38e,__ddc45cfb7404d4701eaf0fc98dfb7d57,__1c186e2b53d7d17669b64b1406f90027)}(function(e,t,n,a,i){var r=n.TYPE_ATTRIBUTE,o=n.TYPE_CLASSNAME,s=n.TYPE_ELEMENT,u=function(e){return e&&e.__esModule?e.default:e}(a),d=i.hasOwn,l=i.isValidNativeCustomElementName,f=i.supportsNativeCustomElements;t.exports={clear:function(){return u.registry={},this},get:function(e){return d(u.registry,e)&&u.registry[e]},getForElement:function(e){var t,n,a=e.attributes,i=a.length,d=[],l=a.is,f=l&&(l.value||l.nodeValue),c=(e.tagName||e.localName).toLowerCase(),h=f||c;this.isType(h,s)&&(n=(t=u.registry[h]).extends,f?c===n&&d.push(t):n||d.push(t));for(var p=0;p<i;p++){var b=a[p].nodeName;this.isType(b,r)&&((n=(t=u.registry[b]).extends)&&c!==n||d.push(t))}for(var g=function(e){var t=e.classList;if(t)return t;var n=e.attributes;return n.class&&n.class.nodeValue.split(/\s+/)||[]}(e),v=g.length,m=0;m<v;m++){var _=g[m];this.isType(_,o)&&((n=(t=u.registry[_]).extends)&&c!==n||d.push(t))}return d},isType:function(e,t){var n=this.get(e);return n&&n.type===t},isNativeCustomElement:function(e){return f()&&this.isType(e,s)&&l(e)},set:function(e,t){if(d(u.registry,e))throw new Error('A component definition of type "'+t.type+'" with the ID of "'+e+'" already exists.');return u.registry[e]=t,this}}}),e.exports}.call(this),("undefined"==typeof window?global:window).__ccafe83eef6f393ce9d0bfdda9fb2e85=function(){var e={exports:{}},t=e.exports,n={module:e,exports:t,"./constants":__01b368cd7c91864f2a5e58d39f12c38e,"./data":__0ce1f96a7c056572dbd541ab8089034f,"./mutation-observer":__3fa04cf351a55ccf9e210f357de19f44,"./registry":__50c396188ff9a132365976994bc00159,"./utils":__1c186e2b53d7d17669b64b1406f90027,"./constants":__01b368cd7c91864f2a5e58d39f12c38e,"./data":__0ce1f96a7c056572dbd541ab8089034f,"./mutation-observer":__3fa04cf351a55ccf9e210f357de19f44,"./registry":__50c396188ff9a132365976994bc00159,"./utils":__1c186e2b53d7d17669b64b1406f90027},a=function(a){return function(i,r,o){var s,u,d=("undefined"==typeof window?global:window).define;o=[o,r,i].filter(function(e){return"function"==typeof e})[0],r=[r,i,[]].filter(Array.isArray)[0],u=typeof(s=o.apply(null,r.map(function(e){return n[e]}))),"function"==typeof d&&d("string"==typeof i?i:a,r,o),"string"===u?s=String(s):"number"===u?s=Number(s):"boolean"===u&&(s=Boolean(s)),void 0!==s&&(t=e.exports=s)}}("__ccafe83eef6f393ce9d0bfdda9fb2e85");return a.amd=!0,function(e){"function"==typeof a&&a.amd?a(["exports","./constants","./data","./mutation-observer","./registry","./utils"],e):void 0!==t&&e(t,__01b368cd7c91864f2a5e58d39f12c38e,__0ce1f96a7c056572dbd541ab8089034f,__3fa04cf351a55ccf9e210f357de19f44,__50c396188ff9a132365976994bc00159,__1c186e2b53d7d17669b64b1406f90027)}(function(e,t,n,a,i,r){function o(e,t,n){Object.defineProperty(e,n,{get:function(){return this.getAttribute(t)},set:function(e){void 0===e?this.removeAttribute(t):this.setAttribute(t,e)}})}function s(e,t,n){var a,i,r,o=n.name,s=n.newValue;O&&(r=v(e,"cachedAttributeOldValues"));var u=O&&y(r,o)?r[o]:n.oldValue,d="string"==typeof s,l="string"==typeof u,f=t.attributes,c=f&&f[o];!l&&d?i="created":l&&d?i="updated":l&&!d&&(i="removed"),O&&("removed"===i?delete r[o]:r[o]=s),c&&"function"==typeof c[i]?a=c[i]:c&&"function"==typeof c.fallback?a=c.fallback:"function"==typeof c?a=c:"function"==typeof f&&(a=f),s=void 0===s?null:s,u=void 0===u?null:u,a&&a(e,{type:i,name:o,newValue:s,oldValue:u})}function u(e,t){"object"==typeof t.events&&C(t.events,function(t,n){var a=function(e){var t=e.split(" ");return{name:t.shift(),delegate:t.join(" ")}}(n),i=!!a.delegate&&("blur"===a.name||"focus"===a.name);e.addEventListener(a.name,function(t,n){return function(a){if(!n)return t(e,a,e);for(var i=a.target;i&&i!==document&&i!==e.parentNode;){if(T(i,n))return t(e,a,i);i=i.parentNode}}}(t,a.delegate),i)})}function d(e,t){var n=v(e,t.id);n.created||(n.created=!0,x(e,t.prototype,!0),t.template&&!e.hasAttribute(t.resolvedAttribute)&&t.template(e),e.removeAttribute(t.unresolvedAttribute),e.setAttribute(t.resolvedAttribute,""),u(e,t),function(e,t){var n=e.attributes;t.attributes&&!m.isNativeCustomElement(t.id)&&new window.MutationObserver(function(a){a.forEach(function(a){var i=a.attributeName,r=n[i];s(e,t,{name:i,newValue:r&&(r.value||r.nodeValue),oldValue:a.oldValue})})}).observe(e,{attributes:!0,attributeOldValue:!0})}(e,t),function(e,t){var n=t.attributes;if("object"==typeof n)for(var a in n){var i=_(a);y(n,a)&&!y(e,i)&&o(e,a,i)}}(e,t),function(e,t){var n=t.attributes;if("object"==typeof n)for(var a in n)if(y(n,a)&&y(n[a],"value")&&!e.hasAttribute(a)){var i=n[a].value;i="function"==typeof i?i(e):i,e.setAttribute(a,i)}}(e,t),function(e,t){var n,a=e.attributes,i=[],r=a.length;for(n=0;n<r;n++)i.push(a[n]);for(n=0;n<r;n++){var o=i[n];s(e,t,{name:o.nodeName,newValue:o.value||o.nodeValue})}}(e,t),t.created&&t.created(e))}function l(e,t){var n=v(e,t.id);n.attached||w(document,e)&&(n.attached=!0,t.attached&&t.attached(e),n.detached=!1)}function f(e,t){var n=v(e,t.id);n.detached||(n.detached=!0,t.detached&&t.detached(e),n.attached=!1)}function c(e,t){d(e,t),l(e,t)}function h(e){for(var t=0;t<e.length;t++){var n=e[t];if(n.nodeType===A.ELEMENT_NODE&&!n.attributes[g]){for(var a=m.getForElement(n),i=a.length,r=0;r<i;r++)c(n,a[r]);var o=n.childNodes||[];o.length&&h(o)}}}function p(e){for(var t=0;t<e.length;t++){var n=e[t];if(n.nodeType===A.ELEMENT_NODE){p(n.childNodes);for(var a=m.getForElement(n),i=a.length,r=0;r<i;r++)f(n,a[r])}}}var b=function(e){return e&&e.__esModule?e.default:e};Object.defineProperty(e,"__esModule",{value:!0});var g=t.ATTR_IGNORE,v=b(n),m=b(i),_=r.camelCase,w=r.elementContains,y=r.hasOwn,x=r.inherit,C=r.objEach,A=window.Node,k=window.HTMLElement.prototype,M=k.matches||k.msMatchesSelector||k.webkitMatchesSelector||k.mozMatchesSelector||k.oMatchesSelector,E=!M.call(document.createElement("div"),"div"),T=function(e,t){if(E){var n=e.cloneNode();return document.createElement("div").appendChild(n),M.call(n,t)}return M.call(e,t)},O=/Edge/.test(navigator.userAgent);e.initElements=h,e.removeElements=p,e.triggerAttached=l,e.triggerAttributeChanged=s,e.triggerCreated=d,e.triggerDetached=f}),e.exports}.call(this),("undefined"==typeof window?global:window).__a0364ac75336963276e9315de3c03b0e=function(){var e={exports:{}},t=e.exports,n={module:e,exports:t},a=function(a){return function(i,r,o){var s,u,d=("undefined"==typeof window?global:window).define;o=[o,r,i].filter(function(e){return"function"==typeof e})[0],r=[r,i,[]].filter(Array.isArray)[0],u=typeof(s=o.apply(null,r.map(function(e){return n[e]}))),"function"==typeof d&&d("string"==typeof i?i:a,r,o),"string"===u?s=String(s):"number"===u?s=Number(s):"boolean"===u&&(s=Boolean(s)),void 0!==s&&(t=e.exports=s)}}("__a0364ac75336963276e9315de3c03b0e");return a.amd=!0,function(e){"function"==typeof a&&a.amd?a(["exports"],e):void 0!==t&&e(t)}(function(e){function t(e,n){var a=e.childNodes;if(a)for(var i=a.length,r=0;r<i;r++){var o=a[r];n(o,e),t(o,n)}}var n=/MSIE/.test(navigator.userAgent),a=/Trident/.test(navigator.userAgent),i=n||a,r=window.HTMLElement.prototype;if(i){var o=Object.getOwnPropertyDescriptor(r,"innerHTML");!!o&&o.get._hasBeenEnhanced||(a&&(window.MutationObserver=window.JsMutationObserver||window.MutationObserver),function(){var e=Object.getOwnPropertyDescriptor(r,"innerHTML"),n=function(){return e.get.call(this)};n._hasBeenEnhanced=!0,Object.defineProperty(r,"innerHTML",{get:n,set:function(n){t(this,function(e,t){var n=document.createEvent("MutationEvent");n.initMutationEvent("DOMNodeRemoved",!0,!1,t,null,null,null,null),e.dispatchEvent(n)}),e.set.call(this,n)}})}())}}),e.exports}.call(this),("undefined"==typeof window?global:window).__a3e1b13e8b245c23a96a6a0e60371ef7=function(){var e={exports:{}},t=e.exports,n={module:e,exports:t,"./globals":__ddc45cfb7404d4701eaf0fc98dfb7d57,"./lifecycle":__ccafe83eef6f393ce9d0bfdda9fb2e85,"./mutation-observer":__3fa04cf351a55ccf9e210f357de19f44,"./fix-ie-innerhtml":__a0364ac75336963276e9315de3c03b0e,"./utils":__1c186e2b53d7d17669b64b1406f90027,"./globals":__ddc45cfb7404d4701eaf0fc98dfb7d57,"./lifecycle":__ccafe83eef6f393ce9d0bfdda9fb2e85,"./mutation-observer":__3fa04cf351a55ccf9e210f357de19f44,"./fix-ie-innerhtml":__a0364ac75336963276e9315de3c03b0e,"./utils":__1c186e2b53d7d17669b64b1406f90027},a=function(a){return function(i,r,o){var s,u,d=("undefined"==typeof window?global:window).define;o=[o,r,i].filter(function(e){return"function"==typeof e})[0],r=[r,i,[]].filter(Array.isArray)[0],u=typeof(s=o.apply(null,r.map(function(e){return n[e]}))),"function"==typeof d&&d("string"==typeof i?i:a,r,o),"string"===u?s=String(s):"number"===u?s=Number(s):"boolean"===u&&(s=Boolean(s)),void 0!==s&&(t=e.exports=s)}}("__a3e1b13e8b245c23a96a6a0e60371ef7");return a.amd=!0,function(n){"function"==typeof a&&a.amd?a(["exports","module","./globals","./lifecycle","./mutation-observer","./fix-ie-innerhtml","./utils"],n):void 0!==t&&void 0!==e&&n(t,e,__ddc45cfb7404d4701eaf0fc98dfb7d57,__ccafe83eef6f393ce9d0bfdda9fb2e85,__3fa04cf351a55ccf9e210f357de19f44,__a0364ac75336963276e9315de3c03b0e,__1c186e2b53d7d17669b64b1406f90027)}(function(e,t,n,a,i,r,o){function s(e){for(var t=e.length,n=0;n<t;n++){var a=e[n],i=a.addedNodes,r=a.removedNodes;i&&i.length&&!f(i[0].parentNode)&&d(i),r&&r.length&&l(r)}}var u=function(e){return e&&e.__esModule?e.default:e}(n),d=a.initElements,l=a.removeElements,f=o.getClosestIgnoredElement;t.exports={register:function(e){return e&&this.unregister(),u.observer||(u.observer=function(){var e=new window.MutationObserver(s);return e.observe(document,{childList:!0,subtree:!0}),e}()),this},unregister:function(){return u.observer&&(u.observer.disconnect(),u.observer=void 0),this}}}),e.exports}.call(this),("undefined"==typeof window?global:window).__cc10e0abe9ba9c6f63815ccd47d0cab8=function(){var e={exports:{}},t=e.exports,n={module:e,exports:t,"./constants":__01b368cd7c91864f2a5e58d39f12c38e,"./document-observer":__a3e1b13e8b245c23a96a6a0e60371ef7,"./lifecycle":__ccafe83eef6f393ce9d0bfdda9fb2e85,"./registry":__50c396188ff9a132365976994bc00159,"./utils":__1c186e2b53d7d17669b64b1406f90027,"./version":__21ddd3fa61ce61895e367af8c5728a9c,"./constants":__01b368cd7c91864f2a5e58d39f12c38e,"./document-observer":__a3e1b13e8b245c23a96a6a0e60371ef7,"./lifecycle":__ccafe83eef6f393ce9d0bfdda9fb2e85,"./registry":__50c396188ff9a132365976994bc00159,"./utils":__1c186e2b53d7d17669b64b1406f90027,"./version":__21ddd3fa61ce61895e367af8c5728a9c},a=function(a){return function(i,r,o){var s,u,d=("undefined"==typeof window?global:window).define;o=[o,r,i].filter(function(e){return"function"==typeof e})[0],r=[r,i,[]].filter(Array.isArray)[0],u=typeof(s=o.apply(null,r.map(function(e){return n[e]}))),"function"==typeof d&&d("string"==typeof i?i:a,r,o),"string"===u?s=String(s):"number"===u?s=Number(s):"boolean"===u&&(s=Boolean(s)),void 0!==s&&(t=e.exports=s)}}("__cc10e0abe9ba9c6f63815ccd47d0cab8");return a.amd=!0,function(n){"function"==typeof a&&a.amd?a(["exports","module","./constants","./document-observer","./lifecycle","./registry","./utils","./version"],n):void 0!==t&&void 0!==e&&n(t,e,__01b368cd7c91864f2a5e58d39f12c38e,__a3e1b13e8b245c23a96a6a0e60371ef7,__ccafe83eef6f393ce9d0bfdda9fb2e85,__50c396188ff9a132365976994bc00159,__1c186e2b53d7d17669b64b1406f90027,__21ddd3fa61ce61895e367af8c5728a9c)}(function(e,t,n,a,i,r,o,s){function u(e,t){if(t=y({},t),t=y(t,u.defaults),t.id=e,_.set(e,t),_.isNativeCustomElement(e)){var n=t.extends?document.createElement(t.extends).constructor.prototype:C.prototype;n.isPrototypeOf(t.prototype)||(t.prototype=y(Object.create(n),t.prototype,!0));var a={prototype:y(t.prototype,{createdCallback:function(){p(this,t)},attachedCallback:function(){b(this,t)},detachedCallback:function(){g(this,t)},attributeChangedCallback:function(e,n,a){v(this,t,{name:e,oldValue:n,newValue:a})}})};return t.extends&&(a.extends=t.extends),document.registerElement(e,a)}if(k(),h.