@atlassian/aui 9.12.17 → 9.12.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/aui/aui-prototyping-design-tokens-api-full.js +1 -1
- package/dist/aui/aui-prototyping-design-tokens-api.js +1 -1
- package/dist/aui/aui-prototyping-design-tokens-base-themes-css.css +1 -1
- package/dist/aui/aui-prototyping-design-tokens-base-themes-css.js +1 -1
- package/dist/aui/aui-prototyping-design-tokens-base-themes.js +1 -1
- package/dist/aui/aui-prototyping.css +1 -1
- package/dist/aui/aui-prototyping.js +2 -2
- package/dist/aui/aui-prototyping.nodeps.css +1 -1
- package/dist/aui/aui-prototyping.nodeps.js +2 -2
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!!
|
|
2
2
|
* @atlassian/aui - Atlassian User Interface library
|
|
3
|
-
* @version v9.12.
|
|
3
|
+
* @version v9.12.18
|
|
4
4
|
* @link https://aui.atlassian.com
|
|
5
5
|
* @license Apache-2.0
|
|
6
6
|
* @author Atlassian Pty Ltd.
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
/**!
|
|
102
102
|
* Modified by Atlassian.
|
|
103
103
|
*/
|
|
104
|
-
!function(e){"use strict";e.extend({tablesorter:new function(){var t=this;function i(){var e=arguments[0],t=arguments.length>1?Array.prototype.slice.call(arguments):e;"undefined"!=typeof console&&void 0!==console.log?console[/error/i.test(e)?"error":/warn/i.test(e)?"warn":"log"](t):alert(t)}function n(e,t){i(e+" ("+((new Date).getTime()-t.getTime())+"ms)")}function s(e){for(var t in e)return!1;return!0}function a(i,n,s){if(!n)return"";var a,r=i.config,o=r.textExtraction||"",l="";return l="basic"===o?e(n).attr(r.textAttribute)||n.textContent||n.innerText||e(n).text()||"":"function"==typeof o?o(n,i,s):"function"==typeof(a=t.getColumnData(i,o,s))?a(n,i,s):n.textContent||n.innerText||e(n).text()||"",e.trim(l)}function r(e,n,s,r){for(var o,l=t.parsers.length,c=!1,u="",d=!0;""===u&&d;)n[++s]?(u=a(e,c=n[s].cells[r],r),e.config.debug&&i("Checking if value was empty on row "+s+", column: "+r+': "'+u+'"')):d=!1;for(;--l>=0;)if((o=t.parsers[l])&&"text"!==o.id&&o.is&&o.is(u,e,c))return o;return t.getParserById("text")}function o(e){var s,a,o,l,c,u,d,h,p,f,g=e.config,m=g.$tbodies=g.$table.children("tbody:not(."+g.cssInfoBlock+")"),v=0,b="",y=m.length;if(0===y)return g.debug?i("Warning: *Empty table!* Not building a parser cache"):"";for(g.debug&&(f=new Date,i("Detecting parsers for each column")),a={extractors:[],parsers:[]};v<y;){if((s=m[v].rows)[v])for(o=g.columns,l=0;l<o;l++)c=g.$headers.filter('[data-column="'+l+'"]:last'),u=t.getColumnData(e,g.headers,l),p=t.getParserById(t.getData(c,u,"extractor")),h=t.getParserById(t.getData(c,u,"sorter")),d="false"===t.getData(c,u,"parser"),g.empties[l]=(t.getData(c,u,"empty")||g.emptyTo||(g.emptyToBottom?"bottom":"top")).toLowerCase(),g.strings[l]=(t.getData(c,u,"string")||g.stringTo||"max").toLowerCase(),d&&(h=t.getParserById("no-parser")),p||(p=!1),h||(h=r(e,s,-1,l)),g.debug&&(b+="column:"+l+"; extractor:"+p.id+"; parser:"+h.id+"; string:"+g.strings[l]+"; empty: "+g.empties[l]+"\n"),a.parsers[l]=h,a.extractors[l]=p;v+=a.parsers.length?y:1}g.debug&&(i(b||"No parsers detected"),n("Completed detecting parsers",f)),g.parsers=a.parsers,g.extractors=a.extractors}function l(s){var r,o,l,c,u,d,h,p,f,g,m,v,b,y=s.config,w=y.$table.children("tbody"),_=y.extractors,x=y.parsers;if(y.cache={},y.totalRows=0,!x)return y.debug?i("Warning: *Empty table!* Not building a cache"):"";for(y.debug&&(g=new Date),y.showProcessing&&t.isProcessing(s,!0),h=0;h<w.length;h++)if(b=[],r=y.cache[h]={normalized:[]},!w.eq(h).hasClass(y.cssInfoBlock)){for(m=w[h]&&w[h].rows.length||0,u=0;u<m;++u)if(v={child:[]},p=e(w[h].rows[u]),[new Array(y.columns)],f=[],p.hasClass(y.cssChildRow)&&0!==u)o=r.normalized.length-1,r.normalized[o][y.columns].$row=r.normalized[o][y.columns].$row.add(p),p.prev().hasClass(y.cssChildRow)||p.prev().addClass(t.css.cssHasChild),v.child[o]=e.trim(p[0].textContent||p[0].innerText||p.text()||"");else{for(v.$row=p,v.order=u,d=0;d<y.columns;++d)void 0!==x[d]?(o=a(s,p[0].cells[d],d),l=void 0===_[d].id?o:_[d].format(o,s,p[0].cells[d],d),c="no-parser"===x[d].id?"":x[d].format(l,s,p[0].cells[d],d),f.push(y.ignoreCase&&"string"==typeof c?c.toLowerCase():c),"numeric"===(x[d].type||"").toLowerCase()&&(b[d]=Math.max(Math.abs(c)||0,b[d]||0))):y.debug&&i("No parser found for cell:",p[0].cells[d],"does it have a header?");f[y.columns]=v,r.normalized.push(f)}r.colMax=b,y.totalRows+=r.normalized.length}y.showProcessing&&t.isProcessing(s),y.debug&&n("Building cache for "+m+" rows",g)}function c(i,a){var r,o,l,c,u,d,h,p=i.config,f=p.widgetOptions,g=i.tBodies,m=[],v=p.cache;if(s(v))return p.appender?p.appender(i,m):i.isUpdating?p.$table.trigger("updateComplete",i):"";for(p.debug&&(h=new Date),d=0;d<g.length;d++)if((l=e(g[d])).length&&!l.hasClass(p.cssInfoBlock)){for(c=t.processTbody(i,l,!0),o=(r=v[d].normalized).length,u=0;u<o;u++)m.push(r[u][p.columns].$row),p.appender&&(!p.pager||p.pager.removeRows&&f.pager_removeRows||p.pager.ajax)||c.append(r[u][p.columns].$row);t.processTbody(i,c,!1)}p.appender&&p.appender(i,m),p.debug&&n("Rebuilt table",h),a||p.appender||t.applyWidget(i),i.isUpdating&&p.$table.trigger("updateComplete",i)}function u(e){return/^d/i.test(e)||1===e}function d(s){var a,r,o,l,c,d,h,f=s.config;f.headerList=[],f.headerContent=[],f.debug&&(h=new Date),f.columns=t.computeColumnIndex(f.$table.children("thead, tfoot").children("tr")),l=f.cssIcon?'<i class="'+(f.cssIcon===t.css.icon?t.css.icon:f.cssIcon+" "+t.css.icon)+'"></i>':"",f.$headers=e(s).find(f.selectorHeaders).each(function(i){r=e(this),a=t.getColumnData(s,f.headers,i,!0),f.headerContent[i]=e(this).html(),""!==f.headerTemplate&&(c=f.headerTemplate.replace(/\{icon\}/g,l).replace(/\{content\}/g,e(this).html()),f.onRenderTemplate&&(o=f.onRenderTemplate.apply(r,[i,c]))&&"string"==typeof o&&(c=o),e(this).html('<div class="'+t.css.headerIn+'">'+c+"</div>")),f.onRenderHeader&&f.onRenderHeader.apply(r,[i]),this.column=parseInt(e(this).attr("data-column"),10),this.order=u(t.getData(r,a,"sortInitialOrder")||f.sortInitialOrder)?[1,0,2]:[0,1,2],this.count=-1,this.lockedOrder=!1,void 0!==(d=t.getData(r,a,"lockedOrder")||!1)&&!1!==d&&(this.order=this.lockedOrder=u(d)?[1,1,1]:[0,0,0]),r.addClass(t.css.header+" "+f.cssHeader),f.headerList[i]=this,r.parent().addClass(t.css.headerRow+" "+f.cssHeaderRow).attr("role","row"),f.tabIndex&&r.attr("tabindex",0)}).attr({scope:"col",role:"columnheader"}),p(s),f.debug&&(n("Built headers:",h),i(f.$headers))}function h(e,t,i){var n=e.config;n.$table.find(n.selectorRemove).remove(),o(e),l(e),y(n.$table,t,i)}function p(i){var n,s,a,r=i.config;r.$headers.each(function(o,l){s=e(l),a=t.getColumnData(i,r.headers,o,!0),n="false"===t.getData(l,a,"sorter")||"false"===t.getData(l,a,"parser"),l.sortDisabled=n,s[n?"addClass":"removeClass"]("sorter-false").attr("aria-disabled",""+n),i.id&&(n?s.removeAttr("aria-controls"):s.attr("aria-controls",i.id))})}function f(i){var n,s,a,r=i.config,o=r.sortList,l=o.length,c=t.css.sortNone+" "+r.cssNone,u=[t.css.sortAsc+" "+r.cssAsc,t.css.sortDesc+" "+r.cssDesc],d=["ascending","descending"],h=e(i).find("tfoot tr").children().add(r.$extraHeaders).removeClass(u.join(" "));for(r.$headers.removeClass(u.join(" ")).addClass(c).attr("aria-sort","none"),s=0;s<l;s++)if(2!==o[s][1]&&(n=r.$headers.not(".sorter-false").filter('[data-column="'+o[s][0]+'"]'+(1===l?":last":""))).length){for(a=0;a<n.length;a++)n[a].sortDisabled||n.eq(a).removeClass(c).addClass(u[o[s][1]]).attr("aria-sort",d[o[s][1]]);h.length&&h.filter('[data-column="'+o[s][0]+'"]').removeClass(c).addClass(u[o[s][1]])}r.$headers.not(".sorter-false").each(function(){var i=e(this),n=this.order[(this.count+1)%(r.sortReset?3:2)],s=i.text()+": "+t.language[i.hasClass(t.css.sortAsc)?"sortAsc":i.hasClass(t.css.sortDesc)?"sortDesc":"sortNone"]+t.language[0===n?"nextAsc":1===n?"nextDesc":"nextNone"];i.attr("aria-label",s)})}function g(e,t){return e&&e[t]&&e[t].type||""}function m(i,n,s){if(i.isUpdating)return setTimeout(function(){m(i,n,s)},50);var a,r,o,l,u,d=i.config,h=!s[d.sortMultiSortKey],p=d.$table;if(p.trigger("sortStart",i),n.count=s[d.sortResetKey]?2:(n.count+1)%(d.sortReset?3:2),d.sortRestart&&(r=n,d.$headers.each(function(){this===r||!h&&e(this).is("."+t.css.sortDesc+",."+t.css.sortAsc)||(this.count=-1)})),r=n.column,h){if(d.sortList=[],null!==d.sortForce)for(a=d.sortForce,o=0;o<a.length;o++)a[o][0]!==r&&d.sortList.push(a[o]);if((l=n.order[n.count])<2&&(d.sortList.push([r,l]),n.colSpan>1))for(o=1;o<n.colSpan;o++)d.sortList.push([r+o,l])}else{if(d.sortAppend&&d.sortList.length>1)for(o=0;o<d.sortAppend.length;o++)(u=t.isValueInArray(d.sortAppend[o][0],d.sortList))>=0&&d.sortList.splice(u,1);if(t.isValueInArray(r,d.sortList)>=0)for(o=0;o<d.sortList.length;o++)u=d.sortList[o],l=d.$headers.filter('[data-column="'+u[0]+'"]:last')[0],u[0]===r&&(u[1]=l.order[n.count],2===u[1]&&(d.sortList.splice(o,1),l.count=-1));else if((l=n.order[n.count])<2&&(d.sortList.push([r,l]),n.colSpan>1))for(o=1;o<n.colSpan;o++)d.sortList.push([r+o,l])}if(null!==d.sortAppend)for(a=d.sortAppend,o=0;o<a.length;o++)a[o][0]!==r&&d.sortList.push(a[o]);p.trigger("sortBegin",i),setTimeout(function(){f(i),v(i),c(i),p.trigger("sortEnd",i)},1)}function v(e){var i,a,r,o,l,c,u,d,h,p,f=0,m=e.config,v=m.textSorter||"",b=m.sortList,y=b.length,w=e.tBodies.length;if(!m.serverSideSorting&&!s(m.cache)){for(m.debug&&(l=new Date),a=0;a<w;a++)c=m.cache[a].colMax,m.cache[a].normalized.sort(function(n,s){for(i=0;i<y;i++){if(o=b[i][0],u=b[i][1],f=0===u,m.sortStable&&n[o]===s[o]&&1===y)return n[m.columns].order-s[m.columns].order;if((r=/n/i.test(g(m.parsers,o)))&&m.strings[o]?(r="boolean"==typeof m.string[m.strings[o]]?(f?1:-1)*(m.string[m.strings[o]]?-1:1):m.strings[o]&&m.string[m.strings[o]]||0,d=m.numberSorter?m.numberSorter(n[o],s[o],f,c[o],e):t["sortNumeric"+(f?"Asc":"Desc")](n[o],s[o],r,c[o],o,e)):(h=f?n:s,p=f?s:n,d="function"==typeof v?v(h[o],p[o],f,o,e):"object"==typeof v&&v.hasOwnProperty(o)?v[o](h[o],p[o],f,o,e):t["sortNatural"+(f?"Asc":"Desc")](n[o],s[o],o,e,m)),d)return d}return n[m.columns].order-s[m.columns].order});m.debug&&n("Sorting on "+b.toString()+" and dir "+u+" time",l)}}function b(t,i){var n=t[0];n.isUpdating&&t.trigger("updateComplete",n),e.isFunction(i)&&i(t[0])}function y(e,i,n){var s=e[0].config.sortList;!1!==i&&!e[0].isProcessing&&s.length?e.trigger("sorton",[s,function(){b(e,n)},!0]):(b(e,n),t.applyWidget(e[0],!1))}function w(i){var n=i.config,r=n.$table;r.unbind("sortReset update updateRows updateCell updateAll addRows updateComplete sorton appendCache updateCache applyWidgetId applyWidgets refreshWidgets destroy mouseup mouseleave ".split(" ").join(n.namespace+" ")).bind("sortReset"+n.namespace,function(t,s){t.stopPropagation(),n.sortList=[],f(i),v(i),c(i),e.isFunction(s)&&s(i)}).bind("updateAll"+n.namespace,function(e,s,a){e.stopPropagation(),i.isUpdating=!0,t.refreshWidgets(i,!0,!0),t.restoreHeaders(i),d(i),t.bindEvents(i,n.$headers,!0),w(i),h(i,s,a)}).bind("update"+n.namespace+" updateRows"+n.namespace,function(e,t,n){e.stopPropagation(),i.isUpdating=!0,p(i),h(i,t,n)}).bind("updateCell"+n.namespace,function(t,s,o,l){t.stopPropagation(),i.isUpdating=!0,r.find(n.selectorRemove).remove();var c,u,d,h,p=r.find("tbody"),f=e(s),g=p.index(e.fn.closest?f.closest("tbody"):f.parents("tbody").filter(":first")),m=e.fn.closest?f.closest("tr"):f.parents("tr").filter(":first");s=f[0],p.length&&g>=0&&(d=p.eq(g).find("tr").index(m),h=f.index(),n.cache[g].normalized[d][n.columns].$row=m,u=void 0===n.extractors[h].id?a(i,s,h):n.extractors[h].format(a(i,s,h),i,s,h),c="no-parser"===n.parsers[h].id?"":n.parsers[h].format(u,i,s,h),n.cache[g].normalized[d][h]=n.ignoreCase&&"string"==typeof c?c.toLowerCase():c,"numeric"===(n.parsers[h].type||"").toLowerCase()&&(n.cache[g].colMax[h]=Math.max(Math.abs(c)||0,n.cache[g].colMax[h]||0)),y(r,o,l))}).bind("addRows"+n.namespace,function(t,l,c,u){if(t.stopPropagation(),i.isUpdating=!0,s(n.cache))p(i),h(i,c,u);else{var d,f,g,m,v,b,w,_=(l=e(l).attr("role","row")).filter("tr").length,x=r.find("tbody").index(l.parents("tbody").filter(":first"));for(n.parsers&&n.parsers.length||o(i),d=0;d<_;d++){for(g=l[d].cells.length,w=[],b={child:[],$row:l.eq(d),order:n.cache[x].normalized.length},f=0;f<g;f++)m=void 0===n.extractors[f].id?a(i,l[d].cells[f],f):n.extractors[f].format(a(i,l[d].cells[f],f),i,l[d].cells[f],f),v="no-parser"===n.parsers[f].id?"":n.parsers[f].format(m,i,l[d].cells[f],f),w[f]=n.ignoreCase&&"string"==typeof v?v.toLowerCase():v,"numeric"===(n.parsers[f].type||"").toLowerCase()&&(n.cache[x].colMax[f]=Math.max(Math.abs(w[f])||0,n.cache[x].colMax[f]||0));w.push(b),n.cache[x].normalized.push(w)}y(r,c,u)}}).bind("updateComplete"+n.namespace,function(){i.isUpdating=!1}).bind("sorton"+n.namespace,function(n,a,o,u){var d=i.config;n.stopPropagation(),r.trigger("sortStart",this),function(t,i){var n,s,a,r,o,l=t.config,c=i||l.sortList;l.sortList=[],e.each(c,function(t,i){if(r=parseInt(i[0],10),a=l.$headers.filter('[data-column="'+r+'"]:last')[0]){switch(s=(s=(""+i[1]).match(/^(1|d|s|o|n)/))?s[0]:""){case"1":case"d":s=1;break;case"s":s=o||0;break;case"o":n=a.order[(o||0)%(l.sortReset?3:2)],s=0===n?1:1===n?0:2;break;case"n":a.count=a.count+1,s=a.order[a.count%(l.sortReset?3:2)];break;default:s=0}o=0===t?s:o,n=[r,parseInt(s,10)||0],l.sortList.push(n),s=e.inArray(n[1],a.order),a.count=s>=0?s:n[1]%(l.sortReset?3:2)}})}(i,a),f(i),d.delayInit&&s(d.cache)&&l(i),r.trigger("sortBegin",this),v(i),c(i,u),r.trigger("sortEnd",this),t.applyWidget(i),e.isFunction(o)&&o(i)}).bind("appendCache"+n.namespace,function(t,n,s){t.stopPropagation(),c(i,s),e.isFunction(n)&&n(i)}).bind("updateCache"+n.namespace,function(t,s){n.parsers&&n.parsers.length||o(i),l(i),e.isFunction(s)&&s(i)}).bind("applyWidgetId"+n.namespace,function(e,s){e.stopPropagation(),t.getWidgetById(s).format(i,n,n.widgetOptions)}).bind("applyWidgets"+n.namespace,function(e,n){e.stopPropagation(),t.applyWidget(i,n)}).bind("refreshWidgets"+n.namespace,function(e,n,s){e.stopPropagation(),t.refreshWidgets(i,n,s)}).bind("destroy"+n.namespace,function(e,n,s){e.stopPropagation(),t.destroy(i,n,s)}).bind("resetToLoadState"+n.namespace,function(){t.refreshWidgets(i,!0,!0),n=e.extend(!0,t.defaults,n.originalSettings),i.hasInitialized=!1,t.setup(i,n)})}t.version="2.17.8",t.parsers=[],t.widgets=[],t.defaults={theme:"default",widthFixed:!1,showProcessing:!1,headerTemplate:"{content}",onRenderTemplate:null,onRenderHeader:null,cancelSelection:!0,tabIndex:!0,dateFormat:"mmddyyyy",sortMultiSortKey:"shiftKey",sortResetKey:"ctrlKey",usNumberFormat:!0,delayInit:!1,serverSideSorting:!1,headers:{},ignoreCase:!0,sortForce:null,sortList:[],sortAppend:null,sortStable:!1,sortInitialOrder:"asc",sortLocaleCompare:!1,sortReset:!1,sortRestart:!1,emptyTo:"bottom",stringTo:"max",textExtraction:"basic",textAttribute:"data-text",textSorter:null,numberSorter:null,widgets:[],widgetOptions:{zebra:["even","odd"]},initWidgets:!0,initialized:null,tableClass:"",cssAsc:"",cssDesc:"",cssNone:"",cssHeader:"",cssHeaderRow:"",cssProcessing:"",cssChildRow:"tablesorter-childRow",cssIcon:"tablesorter-icon",cssInfoBlock:"tablesorter-infoOnly",selectorHeaders:"> thead th, > thead td",selectorSort:"th, td",selectorRemove:".remove-me",debug:!1,headerList:[],empties:{},strings:{},parsers:[]},t.css={table:"tablesorter",cssHasChild:"tablesorter-hasChildRow",childRow:"tablesorter-childRow",header:"tablesorter-header",headerRow:"tablesorter-headerRow",headerIn:"tablesorter-header-inner",icon:"tablesorter-icon",info:"tablesorter-infoOnly",processing:"tablesorter-processing",sortAsc:"tablesorter-headerAsc",sortDesc:"tablesorter-headerDesc",sortNone:"tablesorter-headerUnSorted"},t.language={sortAsc:"Ascending sort applied, ",sortDesc:"Descending sort applied, ",sortNone:"No sort applied, ",nextAsc:"activate to apply an ascending sort",nextDesc:"activate to apply a descending sort",nextNone:"activate to remove the sort"},t.log=i,t.benchmark=n,t.construct=function(i){return this.each(function(){var n=this,s=e.extend(!0,{},t.defaults,i);s.originalSettings=i,!n.hasInitialized&&t.buildTable&&"TABLE"!==this.tagName?t.buildTable(n,s):t.setup(n,s)})},t.setup=function(n,s){if(!n||!n.tHead||0===n.tBodies.length||!0===n.hasInitialized)return s.debug?i("ERROR: stopping initialization! No table, thead, tbody or tablesorter has already been initialized"):"";var a=new RegExp(`^(\\s*${/-?[_a-zA-Z]+[_a-zA-Z0-9-]*/.source})*\\s*$`);function r(e){return a.test(e)}var c=[];for(var u of["tableClass","cssAsc","cssDesc","cssNone","cssHeader","cssHeaderRow","cssProcessing","cssChildRow","cssIcon","cssInfoBlock"]){var h=s[u];h&&!r(h)&&(c.push(u),i(`ERROR: ${u} must contain only valid CSS class names but is '${h}'`))}if(c.length>0)return s.debug?i("ERROR: stopping initialization, see class name warnings above"):"";var p,g="",m=e(n),v=e.metadata;n.hasInitialized=!1,n.isProcessing=!0,n.config=s,e.data(n,"tablesorter",s),s.debug&&e.data(n,"startoveralltimer",new Date),s.supportsDataObject=((p=e.fn.jquery.split("."))[0]=parseInt(p[0],10),p[0]>1||1===p[0]&&parseInt(p[1],10)>=4),s.string={max:1,min:-1,emptymin:1,emptymax:-1,zero:0,none:0,null:0,top:!0,bottom:!1},s.emptyTo=s.emptyTo.toLowerCase(),s.stringTo=s.stringTo.toLowerCase(),/tablesorter\-/.test(m.attr("class"))||(g=""!==s.theme?" tablesorter-"+s.theme:""),s.table=n,s.$table=m.addClass(t.css.table+" "+s.tableClass+g).attr("role","grid"),s.$headers=m.find(s.selectorHeaders),s.namespace?s.namespace="."+s.namespace.replace(/\W/g,""):s.namespace=".tablesorter"+Math.random().toString(16).slice(2),s.$table.children().children("tr").attr("role","row"),s.$tbodies=m.children("tbody:not(."+s.cssInfoBlock+")").attr({"aria-live":"polite","aria-relevant":"all"}),s.$table.find("caption").length&&s.$table.attr("aria-labelledby","theCaption"),s.widgetInit={},s.textExtraction=s.$table.attr("data-text-extraction")||s.textExtraction||"basic",d(n),function(t){var i,n,s=t.config;s.widthFixed&&0===s.$table.find("colgroup").length&&(i=e("<colgroup>"),n=e(t).width(),e(t.tBodies).not("."+s.cssInfoBlock).find("tr:first").children(":visible").each(function(){i.append(e("<col>").css("width",parseInt(e(this).width()/n*1e3,10)/10+"%"))}),s.$table.prepend(i))}(n),o(n),s.totalRows=0,s.delayInit||l(n),t.bindEvents(n,s.$headers,!0),w(n),s.supportsDataObject&&void 0!==m.data().sortlist?s.sortList=m.data().sortlist:v&&m.metadata()&&m.metadata().sortlist&&(s.sortList=m.metadata().sortlist),t.applyWidget(n,!0),s.sortList.length>0?m.trigger("sorton",[s.sortList,{},!s.initWidgets,!0]):(f(n),s.initWidgets&&t.applyWidget(n,!1)),s.showProcessing&&m.unbind("sortBegin"+s.namespace+" sortEnd"+s.namespace).bind("sortBegin"+s.namespace+" sortEnd"+s.namespace,function(e){clearTimeout(s.processTimer),t.isProcessing(n),"sortBegin"===e.type&&(s.processTimer=setTimeout(function(){t.isProcessing(n,!0)},500))}),n.hasInitialized=!0,n.isProcessing=!1,s.debug&&t.benchmark("Overall initialization time",e.data(n,"startoveralltimer")),m.trigger("tablesorter-initialized",n),"function"==typeof s.initialized&&s.initialized(n)},t.getColumnData=function(t,i,n,s){if(null!=i){var a,r=(t=e(t)[0]).config;if(i[n])return s?i[n]:i[r.$headers.index(r.$headers.filter('[data-column="'+n+'"]:last'))];for(a in i)if("string"==typeof a&&(s?r.$headers.eq(n).filter(a):r.$headers.filter('[data-column="'+n+'"]:last').filter(a)).length)return i[a]}},t.computeColumnIndex=function(t){var i,n,s,a,r,o,l,c,u,d,h,p,f,g=[],m={},v=0;for(i=0;i<t.length;i++)for(l=t[i].cells,n=0;n<l.length;n++){for(o=l[n],r=e(o),u=(c=o.parentNode.rowIndex)+"-"+r.index(),d=o.rowSpan||1,h=o.colSpan||1,void 0===g[c]&&(g[c]=[]),s=0;s<g[c].length+1;s++)if(void 0===g[c][s]){p=s;break}for(m[u]=p,v=Math.max(p,v),r.attr({"data-column":p}),s=c;s<c+d;s++)for(void 0===g[s]&&(g[s]=[]),f=g[s],a=p;a<p+h;a++)f[a]="x"}return v+1},t.isProcessing=function(i,n,s){var a=(i=e(i))[0].config,r=s||i.find("."+t.css.header);n?(void 0!==s&&a.sortList.length>0&&(r=r.filter(function(){return!this.sortDisabled&&t.isValueInArray(parseFloat(e(this).attr("data-column")),a.sortList)>=0})),i.add(r).addClass(t.css.processing+" "+a.cssProcessing)):i.add(r).removeClass(t.css.processing+" "+a.cssProcessing)},t.processTbody=function(t,i,n){var s;if(t=e(t)[0],n)return t.isProcessing=!0,i.before('<span class="tablesorter-savemyplace"/>'),s=e.fn.detach?i.detach():i.remove();s=e(t).find("span.tablesorter-savemyplace"),i.insertAfter(s),s.remove(),t.isProcessing=!1},t.clearTableBody=function(t){e(t)[0].config.$tbodies.children().detach()},t.bindEvents=function(t,i,n){var a,r=(t=e(t)[0]).config;!0!==n&&(r.$extraHeaders=r.$extraHeaders?r.$extraHeaders.add(i):i),i.find(r.selectorSort).add(i.filter(r.selectorSort)).unbind("mousedown mouseup sort keyup ".split(" ").join(r.namespace+" ")).bind("mousedown mouseup sort keyup ".split(" ").join(r.namespace+" "),function(n,o){var c,u=n.type;if(!(1!==(n.which||n.button)&&!/sort|keyup/.test(u)||"keyup"===u&&13!==n.which||"mouseup"===u&&!0!==o&&(new Date).getTime()-a>250)){if("mousedown"===u)return a=(new Date).getTime(),/(input|select|button|textarea)/i.test(n.target.tagName)?"":!r.cancelSelection;r.delayInit&&s(r.cache)&&l(t),c=e.fn.closest?e(this).closest("th, td")[0]:/TH|TD/.test(this.tagName)?this:e(this).parents("th, td")[0],(c=r.$headers[i.index(c)]).sortDisabled||m(t,c,n)}}),r.cancelSelection&&i.attr("unselectable","on").bind("selectstart",!1).css({"user-select":"none",MozUserSelect:"none"})},t.restoreHeaders=function(i){var n=e(i)[0].config;n.$table.find(n.selectorHeaders).each(function(i){e(this).find("."+t.css.headerIn).length&&e(this).html(n.headerContent[i])})},t.destroy=function(i,n,s){if((i=e(i)[0]).hasInitialized){t.refreshWidgets(i,!0,!0);var a=e(i),r=i.config,o=a.find("thead:first"),l=o.find("tr."+t.css.headerRow).removeClass(t.css.headerRow+" "+r.cssHeaderRow),c=a.find("tfoot:first > tr").children("th, td");!1===n&&e.inArray("uitheme",r.widgets)>=0&&(a.trigger("applyWidgetId",["uitheme"]),a.trigger("applyWidgetId",["zebra"])),o.find("tr").not(l).remove(),a.removeData("tablesorter").unbind("sortReset update updateAll updateRows updateCell addRows updateComplete sorton appendCache updateCache applyWidgetId applyWidgets refreshWidgets destroy mouseup mouseleave keypress sortBegin sortEnd resetToLoadState ".split(" ").join(r.namespace+" ")),r.$headers.add(c).removeClass([t.css.header,r.cssHeader,r.cssAsc,r.cssDesc,t.css.sortAsc,t.css.sortDesc,t.css.sortNone].join(" ")).removeAttr("data-column").removeAttr("aria-label").attr("aria-disabled","true"),l.find(r.selectorSort).unbind("mousedown mouseup keypress ".split(" ").join(r.namespace+" ")),t.restoreHeaders(i),a.toggleClass(t.css.table+" "+r.tableClass+" tablesorter-"+r.theme,!1===n),i.hasInitialized=!1,delete i.config.cache,"function"==typeof s&&s(i)}},t.regex={chunk:/(^([+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?)?$|^0x[0-9a-f]+$|\d+)/gi,chunks:/(^\\0|\\0$)/,hex:/^0x[0-9a-f]+$/i},t.sortNatural=function(e,i){if(e===i)return 0;var n,s,a,r,o,l,c,u,d=t.regex;if(d.hex.test(i)){if((s=parseInt(e.match(d.hex),16))<(r=parseInt(i.match(d.hex),16)))return-1;if(s>r)return 1}for(n=e.replace(d.chunk,"\\0$1\\0").replace(d.chunks,"").split("\\0"),a=i.replace(d.chunk,"\\0$1\\0").replace(d.chunks,"").split("\\0"),u=Math.max(n.length,a.length),c=0;c<u;c++){if(o=isNaN(n[c])?n[c]||0:parseFloat(n[c])||0,l=isNaN(a[c])?a[c]||0:parseFloat(a[c])||0,isNaN(o)!==isNaN(l))return isNaN(o)?1:-1;if(typeof o!=typeof l&&(o+="",l+=""),o<l)return-1;if(o>l)return 1}return 0},t.sortNaturalAsc=function(e,i,n,s,a){if(e===i)return 0;var r=a.string[a.empties[n]||a.emptyTo];return""===e&&0!==r?"boolean"==typeof r?r?-1:1:-r||-1:""===i&&0!==r?"boolean"==typeof r?r?1:-1:r||1:t.sortNatural(e,i)},t.sortNaturalDesc=function(e,i,n,s,a){if(e===i)return 0;var r=a.string[a.empties[n]||a.emptyTo];return""===e&&0!==r?"boolean"==typeof r?r?-1:1:r||1:""===i&&0!==r?"boolean"==typeof r?r?1:-1:-r||-1:t.sortNatural(i,e)},t.sortText=function(e,t){return e>t?1:e<t?-1:0},t.getTextValue=function(e,t,i){if(i){var n,s=e?e.length:0,a=i+t;for(n=0;n<s;n++)a+=e.charCodeAt(n);return t*a}return 0},t.sortNumericAsc=function(e,i,n,s,a,r){if(e===i)return 0;var o=r.config,l=o.string[o.empties[a]||o.emptyTo];return""===e&&0!==l?"boolean"==typeof l?l?-1:1:-l||-1:""===i&&0!==l?"boolean"==typeof l?l?1:-1:l||1:(isNaN(e)&&(e=t.getTextValue(e,n,s)),isNaN(i)&&(i=t.getTextValue(i,n,s)),e-i)},t.sortNumericDesc=function(e,i,n,s,a,r){if(e===i)return 0;var o=r.config,l=o.string[o.empties[a]||o.emptyTo];return""===e&&0!==l?"boolean"==typeof l?l?-1:1:l||1:""===i&&0!==l?"boolean"==typeof l?l?1:-1:-l||-1:(isNaN(e)&&(e=t.getTextValue(e,n,s)),isNaN(i)&&(i=t.getTextValue(i,n,s)),i-e)},t.sortNumeric=function(e,t){return e-t},t.characterEquivalents={a:"áàâãäąå",A:"ÁÀÂÃÄĄÅ",c:"çćč",C:"ÇĆČ",e:"éèêëěę",E:"ÉÈÊËĚĘ",i:"íìİîïı",I:"ÍÌİÎÏ",o:"óòôõö",O:"ÓÒÔÕÖ",ss:"ß",SS:"ẞ",u:"úùûüů",U:"ÚÙÛÜŮ"},t.replaceAccents=function(e){var i,n="[",s=t.characterEquivalents;if(!t.characterRegex){for(i in t.characterRegexArray={},s)"string"==typeof i&&(n+=s[i],t.characterRegexArray[i]=new RegExp("["+s[i]+"]","g"));t.characterRegex=new RegExp(n+"]")}if(t.characterRegex.test(e))for(i in s)"string"==typeof i&&(e=e.replace(t.characterRegexArray[i],i));return e},t.isValueInArray=function(e,t){var i,n=t.length;for(i=0;i<n;i++)if(t[i][0]===e)return i;return-1},t.addParser=function(e){var i,n=t.parsers.length,s=!0;for(i=0;i<n;i++)t.parsers[i].id.toLowerCase()===e.id.toLowerCase()&&(s=!1);s&&t.parsers.push(e)},t.getParserById=function(e){if("false"==e)return!1;var i,n=t.parsers.length;for(i=0;i<n;i++)if(t.parsers[i].id.toLowerCase()===e.toString().toLowerCase())return t.parsers[i];return!1},t.addWidget=function(e){t.widgets.push(e)},t.hasWidget=function(t,i){return(t=e(t)).length&&t[0].config&&t[0].config.widgetInit[i]||!1},t.getWidgetById=function(e){var i,n,s=t.widgets.length;for(i=0;i<s;i++)if((n=t.widgets[i])&&n.hasOwnProperty("id")&&n.id.toLowerCase()===e.toLowerCase())return n},t.applyWidget=function(i,s){var a,r,o,l=(i=e(i)[0]).config,c=l.widgetOptions,u=[];!1!==s&&i.hasInitialized&&(i.isApplyingWidgets||i.isUpdating)||(l.debug&&(a=new Date),l.widgets.length&&(i.isApplyingWidgets=!0,l.widgets=e.grep(l.widgets,function(t,i){return e.inArray(t,l.widgets)===i}),e.each(l.widgets||[],function(e,i){(o=t.getWidgetById(i))&&o.id&&(o.priority||(o.priority=10),u[e]=o)}),u.sort(function(e,t){return e.priority<t.priority?-1:e.priority===t.priority?0:1}),e.each(u,function(t,n){n&&(!s&&l.widgetInit[n.id]||(l.widgetInit[n.id]=!0,n.hasOwnProperty("options")&&(c=i.config.widgetOptions=e.extend(!0,{},n.options,c)),n.hasOwnProperty("init")&&n.init(i,n,l,c)),!s&&n.hasOwnProperty("format")&&n.format(i,l,c,!1))})),setTimeout(function(){i.isApplyingWidgets=!1},0),l.debug&&(r=l.widgets.length,n("Completed "+(!0===s?"initializing ":"applying ")+r+" widget"+(1!==r?"s":""),a)))},t.refreshWidgets=function(n,s,a){var r,o=(n=e(n)[0]).config,l=o.widgets,c=t.widgets,u=c.length;for(r=0;r<u;r++)c[r]&&c[r].id&&(s||e.inArray(c[r].id,l)<0)&&(o.debug&&i('Refeshing widgets: Removing "'+c[r].id+'"'),c[r].hasOwnProperty("remove")&&o.widgetInit[c[r].id]&&(c[r].remove(n,o,o.widgetOptions),o.widgetInit[c[r].id]=!1));!0!==a&&t.applyWidget(n,s)},t.getData=function(t,i,n){var s,a,r="",o=e(t);return o.length?(s=!!e.metadata&&o.metadata(),a=" "+(o.attr("class")||""),void 0!==o.data(n)||void 0!==o.data(n.toLowerCase())?r+=o.data(n)||o.data(n.toLowerCase()):s&&void 0!==s[n]?r+=s[n]:i&&void 0!==i[n]?r+=i[n]:" "!==a&&a.match(" "+n+"-")&&(r=a.match(new RegExp("\\s"+n+"-([\\w-]+)"))[1]||""),e.trim(r)):""},t.formatFloat=function(t,i){return"string"!=typeof t||""===t?t:(t=(i&&i.config?!1!==i.config.usNumberFormat:void 0===i||i)?t.replace(/,/g,""):t.replace(/[\s|\.]/g,"").replace(/,/g,"."),/^\s*\([.\d]+\)/.test(t)&&(t=t.replace(/^\s*\(([.\d]+)\)/,"-$1")),n=parseFloat(t),isNaN(n)?e.trim(t):n);var n},t.isDigit=function(e){return!isNaN(e)||/^[\-+(]?\d+[)]?$/.test(e.toString().replace(/[,.'"\s]/g,""))}}});var t=e.tablesorter;e.fn.extend({tablesorter:t.construct}),t.addParser({id:"no-parser",is:function(){return!1},format:function(){return""},type:"text"}),t.addParser({id:"text",is:function(){return!0},format:function(i,n){var s=n.config;return i&&(i=e.trim(s.ignoreCase?i.toLocaleLowerCase():i),i=s.sortLocaleCompare?t.replaceAccents(i):i),i},type:"text"}),t.addParser({id:"digit",is:function(e){return t.isDigit(e)},format:function(i,n){var s=t.formatFloat((i||"").replace(/[^\w,. \-()]/g,""),n);return i&&"number"==typeof s?s:i?e.trim(i&&n.config.ignoreCase?i.toLocaleLowerCase():i):i},type:"numeric"}),t.addParser({id:"currency",is:function(e){return/^\(?\d+[\u00a3$\u20ac\u00a4\u00a5\u00a2?.]|[\u00a3$\u20ac\u00a4\u00a5\u00a2?.]\d+\)?$/.test((e||"").replace(/[+\-,. ]/g,""))},format:function(i,n){var s=t.formatFloat((i||"").replace(/[^\w,. \-()]/g,""),n);return i&&"number"==typeof s?s:i?e.trim(i&&n.config.ignoreCase?i.toLocaleLowerCase():i):i},type:"numeric"}),t.addParser({id:"ipAddress",is:function(e){return/^\d{1,3}[\.]\d{1,3}[\.]\d{1,3}[\.]\d{1,3}$/.test(e)},format:function(e,i){var n,s=e?e.split("."):"",a="",r=s.length;for(n=0;n<r;n++)a+=("00"+s[n]).slice(-3);return e?t.formatFloat(a,i):e},type:"numeric"}),t.addParser({id:"url",is:function(e){return/^(https?|ftp|file):\/\//.test(e)},format:function(t){return t?e.trim(t.replace(/(https?|ftp|file):\/\//,"")):t},parsed:!0,type:"text"}),t.addParser({id:"isoDate",is:function(e){return/^\d{4}[\/\-]\d{1,2}[\/\-]\d{1,2}/.test(e)},format:function(e,i){return e?t.formatFloat(""!==e?new Date(e.replace(/-/g,"/")).getTime()||e:"",i):e},type:"numeric"}),t.addParser({id:"percent",is:function(e){return/(\d\s*?%|%\s*?\d)/.test(e)&&e.length<15},format:function(e,i){return e?t.formatFloat(e.replace(/%/g,""),i):e},type:"numeric"}),t.addParser({id:"usLongDate",is:function(e){return/^[A-Z]{3,10}\.?\s+\d{1,2},?\s+(\d{4})(\s+\d{1,2}:\d{2}(:\d{2})?(\s+[AP]M)?)?$/i.test(e)||/^\d{1,2}\s+[A-Z]{3,10}\s+\d{4}/i.test(e)},format:function(e,i){return e?t.formatFloat(new Date(e.replace(/(\S)([AP]M)$/i,"$1 $2")).getTime()||e,i):e},type:"numeric"}),t.addParser({id:"shortDate",is:function(e){return/(^\d{1,2}[\/\s]\d{1,2}[\/\s]\d{4})|(^\d{4}[\/\s]\d{1,2}[\/\s]\d{1,2})/.test((e||"").replace(/\s+/g," ").replace(/[\-.,]/g,"/"))},format:function(e,i,n,s){if(e){var a=i.config,r=a.$headers.filter("[data-column="+s+"]:last"),o=r.length&&r[0].dateFormat||t.getData(r,t.getColumnData(i,a.headers,s),"dateFormat")||a.dateFormat;e=e.replace(/\s+/g," ").replace(/[\-.,]/g,"/"),"mmddyyyy"===o?e=e.replace(/(\d{1,2})[\/\s](\d{1,2})[\/\s](\d{4})/,"$3/$1/$2"):"ddmmyyyy"===o?e=e.replace(/(\d{1,2})[\/\s](\d{1,2})[\/\s](\d{4})/,"$3/$2/$1"):"yyyymmdd"===o&&(e=e.replace(/(\d{4})[\/\s](\d{1,2})[\/\s](\d{1,2})/,"$1/$2/$3"))}return e?t.formatFloat(new Date(e).getTime()||e,i):e},type:"numeric"}),t.addParser({id:"time",is:function(e){return/^(([0-2]?\d:[0-5]\d)|([0-1]?\d:[0-5]\d\s?([AP]M)))$/i.test(e)},format:function(e,i){return e?t.formatFloat(new Date("2000/01/01 "+e.replace(/(\S)([AP]M)$/i,"$1 $2")).getTime()||e,i):e},type:"numeric"}),t.addParser({id:"metadata",is:function(){return!1},format:function(t,i,n){var s=i.config,a=s.parserMetadataName?s.parserMetadataName:"sortValue";return e(n).metadata()[a]},type:"numeric"}),t.addWidget({id:"zebra",priority:90,format:function(i,n,s){var a,r,o,l,c,u=new RegExp(n.cssChildRow,"i"),d=n.$tbodies;for(n.debug&&(l=new Date),c=0;c<d.length;c++)r=0,d.eq(c).children("tr:visible").not(n.selectorRemove).each(function(){a=e(this),u.test(this.className)||r++,o=r%2==0,a.removeClass(s.zebra[o?1:0]).addClass(s.zebra[o?0:1])});n.debug&&t.benchmark("Applying Zebra widget",l)},remove:function(t,i,n){var s,a,r=i.$tbodies,o=(n.zebra||["even","odd"]).join(" ");for(s=0;s<r.length;s++)(a=e.tablesorter.processTbody(t,r.eq(s),!0)).children().removeClass(o),e.tablesorter.processTbody(t,a,!1)}})}(jQuery)},682:()=>{jQuery.fn.serializeObject=function(){var e={};return this.find(":input:not(:button):not(:submit):not(:radio):not('select[multiple]')").each(function(){""!==this.name&&(null===this.value&&(this.value=""),e[this.name]=this.value.match(/^(tru|fals)e$/i)?"true"==this.value.toLowerCase():this.value)}),this.find("input:radio:checked").each(function(){e[this.name]=this.value}),this.find("select[multiple]").each(function(){var t=jQuery(this),i=t.val();t.data("aui-ss")?e[this.name]=i?i[0]:"":e[this.name]=null!==i?i:[]}),e}},572:t=>{"use strict";t.exports=e},687:e=>{"use strict";e.exports=t},487:e=>{"use strict";e.exports=i}},s={};function a(e){var t=s[e];if(void 0!==t)return t.exports;var i=s[e]={exports:{}};return n[e].call(i.exports,i,i.exports,a),i.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var i in t)a.o(t,i)&&!a.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};return(()=>{"use strict";a.r(r),a.d(r,{$:()=>je,AvatarBadged:()=>We,AvatarEl:()=>Xe,AvatarGroupEl:()=>ut,CalendarWidget:()=>Lc,CheckboxMultiselectEl:()=>lr,DatePicker:()=>$c,DropdownEl:()=>Yn,FancyFileInput:()=>ur,FocusManager:()=>Ru,Header:()=>Ac,I18n:()=>I18n,InlineDialog2:()=>$u,InlineDialogEl:()=>Oo,ItemCheckboxEl:()=>Un,ItemLinkEl:()=>Bn,ItemRadioEl:()=>Wn,LabelEl:()=>fr,LayerManager:()=>ju,MessageEl:()=>ts,NavigationEl:()=>Ro,ProgressBarEl:()=>Ko,ProgressiveDataSet:()=>zu,RestfulTable:()=>su,SectionEl:()=>Vn,SelectEl:()=>Jr,SpinnerEl:()=>_t,TabContainerEl:()=>bl,TabItemEl:()=>yl,TabPaneEl:()=>wl,ToggleEl:()=>fo,_addID:()=>sd,banner:()=>ht,bind:()=>C,clone:()=>Fu,contextPath:()=>ad,debounce:()=>Hu,debounceImmediate:()=>Bu,dialog2:()=>Mt,dim:()=>Uu,error:()=>m,escapeHtml:()=>Wu,flag:()=>cs,formValidation:()=>Vu,format:()=>b,id:()=>Yu,isClipped:()=>qu,keyCode:()=>Ku,layer:()=>Qu,log:()=>f,messages:()=>Gu,navigation:()=>$o,params:()=>Ju,populateParameters:()=>Zu,progressBars:()=>Go,responsiveheader:()=>Xu,select:()=>ed,sidebar:()=>Eu,tablessortable:()=>td,tabs:()=>id,toInit:()=>Fe,trigger:()=>k,unbind:()=>T,undim:()=>nd,version:()=>w,warn:()=>g,whenIType:()=>Pu});var e=a(687),t=a.n(e);const i=window.jQuery||window.Zepto||t(),n="AJS",s="I18n";function o(){"object"!=typeof window[n]&&(window[n]={})}function l(e,t){return o(),window[n][e]=t}var c=a(714),u=a.n(c);function d(e){let i;return{type:u().type.CLASSNAME,attached:function(n){!function(e,t){let i=!1;if(t(()=>{i=!0}),i)return;const n=new MutationObserver(e=>{(function(e){for(const t of e)if("childList"===t.type)return!0;return!1})(e)&&t(()=>n.disconnect())});n.observe(e,{childList:!0})}(n,s=>{i=s;const a=t()(`input[type=${e}]`,n);a.each(function(e,i){t()('<span class="aui-form-glyph"></span>').insertAfter(i)});a.length>0&&i()})},detached:function(e){t()(".aui-form-glyph",e).remove(),i&&i()}}}function h(e,t){var n=i(e);return void 0===t&&(t=!0),n.each(function(){this.disabled=!t})}function p(e){return function(){"undefined"!=typeof console&&console[e]&&Function.prototype.apply.call(console[e],console,arguments)}}u()("checkbox",d("checkbox")),u()("radio",d("radio")),l("enable",h),l("inlineHelp",function(){i(document).on("click",".icon-inline-help",function(){var e=i(this).siblings(".field-help");e.hasClass("hidden")?e.removeClass("hidden"):e.addClass("hidden")})});var f=p("log"),g=p("warn"),m=p("error");function v(e){var t=/'(?!')/g,i=/^\d+$/,n=/^(\d+),number$/,s=/^(\d+),choice,(.+)/,a=/^(\d+)([#<])(.+)/,r=function(t,r){var o,l="";if(o=t.match(i))l=r.length>++t?r[t]:"";else if(o=t.match(n))l=r.length>++o[1]?r[o[1]]:"";else if(o=t.match(s)){var c=r.length>++o[1]?r[o[1]]:null;if(null!==c){for(var u=o[2].split("|"),d=!1,h=null,p=0;p<u.length;p++){var f=u[p].match(a);if(null!=f){var g=parseInt(f[1],10);if(c<g){if(h){l=h;break}l=f[3];break}if(c==g&&"#"==f[2]){l=f[3];break}p==u.length-1&&(l=f[3]),h=f[3]}else d=!0}d&&m('The format "'+t+'" from message "'+e+'" is invalid.');var b=[l].concat(Array.prototype.slice.call(r,1));l=v.apply(null,b)}}return l},o=function(e){for(var t=!1,i=-1,n=0,s=0;s<e.length;s++){var a=e.charAt(s);if("'"==a&&(t=!t),!t)if("{"===a)0===n&&(i=s),n++;else if("}"===a&&n>0&&0===--n){var r=[];return r.push(e.substring(0,s+1)),r.push(e.substring(0,i)),r.push(e.substring(i+1,s)),r}}return null};return function(e){var i=arguments,n="";if(!e)return n;for(var s=o(e);s;)e=e.substring(s[0].length),n+=s[1].replace(t,""),n+=r(s[2],i),s=o(e);return n+=e.replace(t,"")}.apply(null,arguments)}l("error",m),l("log",f),l("warn",g),l("format",v);const b=v;var y="9.12.17";l("version",y);const w=y,_=!1,x=i(window);function C(e,t,i){try{return"function"==typeof i?x.on(e,_,t,i):x.on(e,_,t)}catch(e){f("error while binding: ",e.message)}}function T(e,t){try{return x.off(e,t)}catch(e){f("error while unbinding: ",e.message)}}function k(e,t){try{return x.trigger(e,t)}catch(e){f("error while triggering: "+e.message)}}l("bind",C),l("trigger",k),l("unbind",T);const E={"<":"<",">":">","&":"&",'"':""","'":"'","`":"`"},A=new RegExp(`[${Object.keys(E).join("")}]`,"g");function D(e){return e.replace(A,e=>E[e])}l("escapeHtml",D);const S=D;var I=Object.prototype.hasOwnProperty,M=[];function N(){"undefined"!=typeof console&&console.warn&&Function.prototype.apply.call(console.warn,console,arguments)}function O(e,t){if("function"==typeof e)return e;var i=!1;return t=t||{},function(n){var s,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===M.indexOf(a)){M.push(a),i=!0;var r="DEPRECATED "+(t.deprecationType+" "||0)+"- "+(s=e,((s+="")?s.charAt(0).toUpperCase()+s.substring(1):"")+" 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?N(r+="\n",t.extraObject,a):N(r,a)}}}function L(e,t){var n=e.options.displayName;n=n?" ("+n+")":"";var s=i.extend({deprecationType:"CSS",extraObject:t},e.options);O("'"+e.selector+"' pattern"+n,s)()}function P(e,t,i){(i=i||{}).deprecationType=i.deprecationType||"JS";var n=O(t||e.name||"this function",i);return function(){return n(),e.apply(this,arguments)}}function R(e,t,n){(n=n||{}).deprecationType=n.deprecationType||"JS";var s=P(e,t,n);return s.prototype=e.prototype,i.extend(s,e),s}var $=!1;try{Object.defineProperty&&(Object.defineProperty({},"blam",{get:function(){},set:function(){}}),$=!0)}catch(e){}function j(e,t,i){if("function"==typeof e[t]){(i=i||{}).deprecationType=i.deprecationType||"JS";var n=i.displayName||t;e[t]=P(e[t],n,i)}else!function(e,t,i){if($){var n=e[t];(i=i||{}).deprecationType=i.deprecationType||"JS";var s=O(i.displayName||t,i);Object.defineProperty(e,t,{get:function(){return s(),n},set:function(e){return n=e,s(),e}})}}(e,t,i)}function z(e){return function(t){for(var i={selector:t,options:e||{}},n=document.querySelectorAll(t),s=0;s<n.length;s++)L(i,n[s]);!function(e){if(H.push(e),!B){B=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&&H.forEach(F(n))}})});var t={childList:!0,subtree:!0};B.observe(document,t)}}(i)}}function F(e){return function(t){var i,n;i=e,n=t.selector,(i.matches||i.msMatchesSelector||i.webkitMatchesSelector||i.mozMatchesSelector||i.oMatchesSelector).call(i,n)&&L(t,e)}}const H=[];let B;function U(e){e=e.jquery?e[0]:e,window.getComputedStyle(e,null).getPropertyValue("left")}var W;function V(e,t){W||(W=document.body),!0===e&&q();const n=!!V.$dim&&!V.$dim[0].hasAttribute("hidden");return V.$dim&&(V.$dim.remove(),V.$dim=null),V.$dim=i('<div aria-hidden="true"></div>').addClass("aui-blanket"),V.$dim.appendTo(document.body),n||(U(V.$dim),V.cachedOverflow={overflow:W.style.overflow,overflowX:W.style.overflowX,overflowY:W.style.overflowY},W.style.overflowX="hidden",W.style.overflowY="hidden",W.style.overflow="hidden"),V.$dim.removeAttr("hidden"),t&&V.$dim.css({zIndex:t}),V.$dim}function Y(){V.$dim&&(V.$dim[0].setAttribute("hidden",""),W&&(W.style.overflow=V.cachedOverflow.overflow,W.style.overflowX=V.cachedOverflow.overflowX,W.style.overflowY=V.cachedOverflow.overflowY))}l("deprecate",{fn:P,construct:R,css:function(e,t){"string"==typeof e&&(e=[e]),e.forEach(z(t))},prop:j,obj:function(e,t,n){for(var s in n=n||{},e)I.call(e,s)&&(n.deprecationType=n.deprecationType||"JS",n.displayName=t+s,n.alternativeName=n.alternativeNamePrefix&&n.alternativeNamePrefix+s,j(e,s,i.extend({},n)))},propertyDeprecationSupported:$,getMessageLogger:O});const q=O("useShim",{extraInfo:"useShim has no alternative as it is now calculated by dim()."});l("dim",V),l("undim",Y);var K={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};l("keyCode",K);const Q=K;function G(e,t){window.define&&(0,window.define)(e,[],function(){return t});return t}const Z=u().noConflict();const J=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]}}};function X(e){return J(e).get("last-trigger")||ne(e)[0]}function ee(e,t){var i=t&&t.nodeType&&1===t.nodeType;return J(e).set("last-trigger",!!i&&t)}function te(e,t){var i=X(e);i&&t(i)}function ie(e,t){return Array.prototype.forEach.call(ne(e),t)}function ne(e){const t=window.frames,i=`[aria-controls="${e.id}"]`;let n=[],s=!1;for(let e=0;e<t.length;e++)try{let s=t[e].document.querySelectorAll(i);n=n.concat(Array.prototype.slice.apply(s))}catch(e){s=!0}const a=document.querySelectorAll(i),r=Array.prototype.slice.apply(a).concat(n);return 0===r.length&&!0===s&&g([`No triggers found for element (${e.id}) in iframes from the same origin.`,"However some iframes in this document are cross-origin.","The trigger-element relations crossing the origin boundary are not supported."].join(" ")),r}function se(e){return document.getElementById(e.getAttribute("aria-controls"))}function ae(e){return"true"!==e.getAttribute("aria-disabled")}function re(e,t){if(ae(e)){var i=se(e);i&&i.message&&i.message(t)}}const oe={click(e,t){(function(e,t){var n=i(t).closest("a[href]",e);return!!n.length&&n[0]!==e})(e,t.target)||(re(e,t),t.preventDefault())},keydown(e,t){const i=t.data;i!==Q.ENTER&&i!==Q.SPACE||(t.preventDefault(),t.type="click",oe.click(e,t))},mouseenter(e,t){re(e,t)},mouseleave(e,t){re(e,t)},focus(e,t){re(e,t)},blur(e,t){(function(e,t){let n=t.relatedTarget;return n||(n=document.activeElement),i(se(e)).find(n).length>0})(e,t)||re(e,t)}};Object.keys(oe).forEach(function(e){const t=oe[e];i(document).on(`${e}.aui-trigger`,"[data-aui-trigger]",function(i){t(i.currentTarget,function(e,t){const{target:i,currentTarget:n,relatedTarget:s}=e,{keyCode:a,which:r}=e;return{type:t,data:"keydown"===t?r||a:void 0,target:i,currentTarget:n,relatedTarget:s,preventDefault:()=>e.preventDefault()}}(i,e))})}),Z("data-aui-trigger",{type:Z.type.ATTRIBUTE,prototype:{disable:function(){this.setAttribute("aria-disabled","true")},enable:function(){this.setAttribute("aria-disabled","false")},isEnabled:function(){return ae(this)}}}),G("aui/trigger"),function(){function e(e){return"visible"===i.css(e,"visibility")&&i(e).is(":visible")}function t(t,n){var s=t.nodeName.toLowerCase();if("aui-select"===s)return!0;if("area"===s){var a=t.parentNode,r=a.name,o=i("img[usemap=#"+r+"]").get();return!(!t.href||!r||"map"!==a.nodeName.toLowerCase())&&(o&&e(o))}var l=/input|select|textarea|button|object|iframe/.test(s),c="a"===s,u=t.href||n;return(l?!t.disabled:c?u:n)&&e(t)}i.extend(i.expr.pseudos,{"aui-focusable":e=>t(e,!isNaN(i.attr(e,"tabindex"))),"aui-tabbable":function(e){var n=i.attr(e,"tabindex"),s=isNaN(n);return(s||n>=0)&&t(e,!s)}})}();var le="_aui-focus-restore";function ce(e){return e.is(".aui-dialog2")||e.is('[aui-focus-trap="true"]')}function ue(){this._focusTrapStack=[],this._handler}function de(e,t){if(0===e.length)return;if(t.keyCode!==Q.TAB)return;const n=t.shiftKey?-1:1,s=t.target,a=e[e.length-1],r=a.find(":aui-tabbable");if(!r.length&&ce(a)&&(a.trigger("focus"),t.preventDefault()),!r.length)return;const o=r.index(s);let l=-1;if(o>-1)l=o;else{let e;if(e=i(s).closest(".aui-layer"),!e.length){e=a.find("[aria-controls]").map(function(){return document.getElementById(this.getAttribute("aria-controls"))}).has(s)}if(e.length){const t=e.find(":aui-tabbable"),i=t.index(s)+n;if(!(i<0||i>=t.length))return;{const t=X(e.get(0));l=r.index(t)}}}l=l>-1?function(e,t,i,n){function s(e){return(e+i)%n.length}let a=s(t);if("radio"===e.type&&e.name)for(;n.eq(a).attr("name")===e.name&&a!==t;)a=s(a);if(a!==t&&"radio"===n.eq(a).attr("type")){const e=n.eq(a).attr("name"),t=n.filter(function(){return"radio"===this.type&&this.name===e}),s=t.filter(":checked");let r;r=s.length>0?s.first():i>0?t.first():t.last(),a=n.index(r)}return a}(s,l,n,r):0,"IFRAME"!==r.get(l).nodeName&&(r.eq(l).trigger("focus"),t.preventDefault())}let he;function pe(){return he||(he=new ue),he}ue.defaultFocusSelector=":aui-tabbable",ue.prototype.enter=function(e,t){if(function(e,t=document.activeElement){e.data(le,t)}(e,t),"false"!==e.attr("data-aui-focus")){var n=e.attr("data-aui-focus-selector")||ue.defaultFocusSelector;(e.is(n)?e:e.find(n)).first().trigger("focus")}ce(e)&&(this._focusTrapStack.push(e),this._handler||(this._handler=de.bind(void 0,this._focusTrapStack),i(document).on("keydown.aui-focus-manager",this._handler)))},ue.prototype.exit=function(e){ce(e)&&(this._focusTrapStack.splice(this._focusTrapStack.indexOf(e),1),this._focusTrapStack.length||(i(document).off(".aui-focus-manager",this._handler),delete this._handler));var t=document.activeElement;if(e[0]===t||e.has(t).length){i(t).trigger("blur");var n=function(e){return i(e.data(le))}(e);n.length&&(e.removeData(le),n.trigger("focus"))}},pe.global=pe(),l("FocusManager",pe);const fe=pe;function ge(e,t){var n="_aui-widget-"+e;return function(e,s){var a,r;i.isPlainObject(e)?r=e:(a=e,r=s);var o,l=a&&i(a);return l&&l.data(n)?o=l.data(n):(l=(o=new t(l,r||{})).$el).data(n,o),o}}let me;!function(){if(window.CustomEvent)try{const 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(me=window.CustomEvent)}catch(e){}me=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},me.prototype=window.Event.prototype}();const ve=me,be="_aui-internal-layer-",ye="_aui-internal-layer-global-";var we=i(document);function _e(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 s(a){t===a.propertyName&&(i.call(e),n&&e.removeEventListener("transitionend",s))})}function xe(e,t,n){var s=i.Event(be+t),a=i.Event(ye+t),r=new ve("aui-layer-"+n,{bubbles:!0,cancelable:!0}),o=new ve("aui-"+n,{bubbles:!0,cancelable:!0});return e.trigger(s),e.trigger(a,[e]),e[0].dispatchEvent(r),e[0].dispatchEvent(o),!(s.isDefaultPrevented()||a.isDefaultPrevented()||r.defaultPrevented||o.defaultPrevented)}function Ce(e){this.$el=i(e||'<div class="aui-layer"></div>'),this.el=this.$el[0],this.$el.addClass("aui-layer")}function Te(e,t){return e.getAttribute(t)||e.getAttribute("data-aui-"+t)}Ce.prototype={below:function(){return Me.global.item(Me.global.indexOf(this.$el)-1)},above:function(){return Me.global.item(Me.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(be+e,t),this},off:function(e,t){return this.$el.off(be+e,t),this},show:function(){return this.isVisible()||Me.global.indexOf(this.$el)>-1?this:xe(this.$el,"beforeShow","show")?("none"===this.$el.css("display")&&this.$el.css("display",""),Me.global.push(this.$el),this):this},hide:function(){if(!this.isVisible())return this;const e=this;return _e(this.$el.get(0),"opacity",function(){e.isVisible()||(this.style.display="none")},!0),Me.global.popUntil(this.$el,!0),this},isVisible:function(){return!0===this.$el.data("_aui-layer-shown")},remove:function(){this.hide(),this.$el.remove(),this.$el=null,this.el=null},isBlanketed:function(){return"true"===this.el.dataset.auiBlanketed},isPersistent:function(){var e=Te(this.el,"modal"),t=this.el.hasAttribute("persistent");return"true"===e||t},getDOMContainer:function(){let e=Te(this.el,"dom-container");return e&&(e=document.querySelector(e)||document.body),e},_hideLayer:function(e){return!(e&&!xe(this.$el,"beforeHide","hide"))&&((this.isPersistent()||this.isBlanketed())&&fe.global.exit(this.$el),this.el.removeAttribute("open"),this.$el.removeData("_aui-layer-shown"),this.$el.css("z-index",this.$el.data("_aui-layer-cached-z-index")||""),this.$el.data("_aui-layer-cached-z-index",""),this.$el.trigger(be+"hide"),this.$el.trigger(ye+"hide",[this.$el]),!0)},_showLayer:function(e){let t=this.getDOMContainer();if(this.isBlanketed()||t){let e=t||"body";this.$el.parent().is(e)||this.$el.appendTo(e)}this.$el.data("_aui-layer-shown",!0),this.$el.data("_aui-layer-cached-z-index",this.$el.css("z-index")),this.$el.css("z-index",e),this.el.removeAttribute("hidden"),this.el.setAttribute("open",""),this.isBlanketed()&&fe.global.enter(this.$el),this.$el.trigger(be+"show"),this.$el.trigger(ye+"show",[this.$el])}};var ke=ge("layer",Ce);function Ee(e,t){for(var i=e.length;i--;)if(t(e[i]))return i;return-1}function Ae(e,t){return Ee(e,function(e){return e[0]===t[0]})}function De(e){return Ee(e,function(e){return ke(e).isBlanketed()})}function Se(e,t){var i=De(e);t!==i&&(i>-1?V(!1,e[i].css("z-index")-20):Y())}function Ie(e,t,i,n=!0){if(t<0)return[!1,null];for(var s,a=e.length-1;a>=t;a--){s=e[a];var r=ke(s);if(i||!r.isPersistent()){if(!r._hideLayer(n))return[!1,s];e.splice(a,1)}}return[!0,s]}function Me(){this._stack=[]}function Ne(e){if(!e.length)return!1;var t=document.getElementById(e.attr("aria-controls"));return Me.global.indexOf(t)>-1}ke.on=function(e,t,i){return we.on(ye+e,t,i),this},ke.off=function(e,t,i){return we.off(ye+e,t,i),this},Me.prototype={push:function(e){var t=e instanceof i?e:i(e);if(Ae(this._stack,t)>=0)throw new Error("The given element is already an active layer.");this.popLayersBeside(t);var n=ke(t),s=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 n._showLayer(s),n.isBlanketed()&&V(!1,s-20),this._stack.push(t),this},popLayersBeside:function(e){const t=i(e).get(0);if(!function(e){return!!X(e)}(t)){var n=De(this._stack);return void Ie(this._stack,++n,!1)}const s=function(e){var t=X(e);if(t)return i(t).closest(".aui-layer").get(0)}(t);if(s){let e=this.indexOf(s);Ie(this._stack,++e,!1)}else Ie(this._stack,0,!1)},indexOf:function(e){return Ae(this._stack,i(e))},item:function(e){return this._stack[e]},hideAll:function(){return this._stack.slice().reverse().forEach(function(e){let t=ke(e);t.isBlanketed()||t.isPersistent()||t.hide()}),this},getNextLowerNonPersistentOrBlanketedLayer:function(e){var t,n=e instanceof i?e:i(e),s=Ae(this._stack,n);if(s<0)return null;for(s--;s>=0;){t=this._stack[s];var a=ke(t);if(!a.isPersistent()||a.isBlanketed())return t;s--}return null},getNextHigherNonPeristentAndNonBlanketedLayer:function(e){var t,n=e instanceof i?e:i(e),s=Ae(this._stack,n);if(s<0)return null;for(s++;s<this._stack.length;){t=this._stack[s];var a=ke(t);if(!a.isPersistent()&&!a.isBlanketed())return t;s++}return null},getTopLayer:function(){return this._stack[this._stack.length-1]||null},getTopOpenLayer:function(){return this._stack.slice().reverse().find(e=>e.attr("open"))||null},popUntil:function(e,t=!1){var n=e instanceof i?e:i(e),s=Ae(this._stack,n);if(-1===s)return null;const a=De(this._stack),r=ke(n),[o,l]=Ie(this._stack,s+1,r.isBlanketed(),t);return o&&r._hideLayer(t)?(this._stack.splice(s,1),Se(this._stack,a),n):l},popTopIfNonPersistent:function(e=!1){var t=this.getTopLayer(),i=ke(t);return!t||i.isPersistent()?null:this.popUntil(t,e)},popUntilTopBlanketed:function(e=!1){var t=De(this._stack);if(t<0)return null;var i=this._stack[t];if(ke(i).isPersistent()){var n=this.getNextHigherNonPeristentAndNonBlanketedLayer(i);if(n){var s=Ae(this._stack,n);return Ie(this._stack,s,!0,e),n}return null}return Ie(this._stack,t,!0),Se(this._stack,t),i},popUntilTopPersistent:function(e=!1){var t=Me.global.getTopLayer();if(t){var i,n=De(this._stack),s=ke(t);if(s.isPersistent()){if(s.isBlanketed())return;if(t=Me.global.getNextLowerNonPersistentOrBlanketedLayer(t),s=ke(t),!t||s.isPersistent())return;i=Ae(this._stack,t),Ie(this._stack,i,!0,e),Se(this._stack,n)}else i=Ae(this._stack,t),Ie(this._stack,i,!0,e),Se(this._stack,n)}}},we.on("keydown",function(e){e.keyCode===Q.ESCAPE&&(Me.global.popUntilTopPersistent(!0),e.preventDefault())}),we.on("click",".aui-blanket",function(e){Me.global.popUntilTopBlanketed(!0)&&e.preventDefault()}),we.on("click",function(e){var t=i(e.target);if(!t.closest(".aui-blanket").length){var n=t.closest("[aria-controls]"),s=t.closest(".aui-layer");if(!s.length&&!Ne(n)){const t=i.Event("aui-close-layers-on-outer-click");return we.trigger(t),t.isDefaultPrevented()?void e.preventDefault():void Me.global.hideAll()}if(!Ne(n)&&s.length){var a=Me.global.getNextHigherNonPeristentAndNonBlanketedLayer(s);a&&ke(a).hide()}}}),Me.global=new Me,ke.Manager=Me,l("layer",ke);const Oe=ke;l("LayerManager",Oe.Manager);Oe.Manager;const Le={sinceVersion:"9.0.0",removeInVersion:"10.0.0"},Pe=l("params",new Proxy({},{get:function(e,t){return O("AJS.params",Le)(),e[t]}}));const Re=P(function(e){e||(e=Pe),i(".parameters input").each(function(){var t=this.value,n=this.title||this.id;i(this).hasClass("list")?e[n]?e[n].push(t):e[n]=[t]:e[n]=t.match(/^(tru|fals)e$/i)?"true"===t.toLowerCase():t})},"populateParameters",{sinceVersion:"9.0.0",removeInVersion:"10.0.0"});l("populateParameters",Re);const $e=Re;i(function(){var e=i("body");e.data("auiVersion")||e.attr("data-aui-version",w),$e()}),l("$",i);const je=i;function ze(e){return i.when(i.ready).then(function(){setTimeout(function(){try{e.call(this,i)}catch(t){m("Failed to run init function: "+t.message,e,t,t.stack)}},1)}),this}l("toInit",ze);const Fe=ze;a(547);const He={keys:{"aui.landmarks.site":"Site","aui.landmarks.sidebar":"Sidebar","aui.landmarks.page":"Page","aui.landmarks.main":"Main","aui.header.home.link":"Go to home page","aui.dropdown.async.error":"Error loading dropdown","aui.dropdown.async.loading":"Loading dropdown","aui.words.expand":"Expand","aui.words.collapse":"Collapse","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 or equal to {0}","aui.validation.message.max":"Enter a value less than or equal to {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.number.suggestions":"Found {0,choice,0#0 options|1#1 option|1<{0,number} options}.","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","aui.messagecomponent.error.label":"Error","aui.messagecomponent.warning.label":"Warning","aui.messagecomponent.info.label":"Information","aui.messagecomponent.confirmation.label":"Confirmation","aui.messagecomponent.change.label":"Change","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":"","aui.flag.default-aria-label.info":"New information message","aui.flag.default-aria-label.success":"New confirmation message","aui.flag.default-aria-label.warning":"New warning message","aui.flag.default-aria-label.error":"New error message"},getText:function(e,...t){return Object.prototype.hasOwnProperty.call(this.keys,e)?b.apply(null,[this.keys[e]].concat(t)):e}},I18n=function(e){o(),"object"!=typeof window[n][s]&&(window[n][s]={});const t=window[n][s];for(const i in e)void 0===t[i]&&(t[i]=e[i]);return t}(He),Be="bottom-end",Ue=["top-start","top-end","bottom-start","bottom-end"],We=Z("aui-avatar-badged",{attributes:{placement:{value:Be,fallback(e,{newValue:t,oldValue:i}){((e,t,i)=>{const n=Ue.includes(t)?t:Be;i&&e.classList.remove(`aui-avatar-badged-${i}`),e.classList.add(`aui-avatar-badged-${n}`)})(e,t,i)}}},created:function(e){e.classList.add("aui-avatar-badged")}});var Ve=a(2),Ye=a.n(Ve);const qe=new Map([["project","data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB2aWV3Qm94PSIwIDAgMTI4IDEyOCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHJvbGU9ImltZyIgYXJpYS1sYWJlbD0ieHhsYXJnZSI+CiAgICA8Zz4KICAgICAgICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMTI4IiBoZWlnaHQ9IjEyOCIgZmlsbD0iIzg5OTNhNCIgLz4KICAgICAgICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxOS4wMDAwMDAsIDMyLjAwMDAwMCkiPgogICAgICAgICAgICA8cGF0aCBmaWxsPSIjZmZmIgogICAgICAgICAgICAgICAgZD0iTTE4LjI1LDMyLjUgTDU0LjU4MzMzMzMsMzIuNSBMNTQuNTgzMzMzMywyMy40MTY2NjY3IEwxOC4yNSwyMy40MTY2NjY3IEwxOC4yNSwzMi41IFogTTkuMTY2NjY2NjcsMTguODMzMTE2NiBDOS4xNjY2NjY2NywxNi4zNDc5NTQ5IDExLjIzNjU4MSwxNC4zMzMzMzMzIDEzLjcxOTU2NjIsMTQuMzMzMzMzMyBMNTkuMTEzNzY3MSwxNC4zMzMzMzMzIEM2MS42MjgyNjQxLDE0LjMzMzMzMzMgNjMuNjY2NjY2NywxNi4zODE1MTIzIDYzLjY2NjY2NjcsMTguODMzMTE2NiBMNjMuNjY2NjY2Nyw0MS41ODMzMzMzIEw5LjE2NjY2NjY3LDQxLjU4MzMzMzMgTDkuMTY2NjY2NjcsMTguODMzMTE2NiBaIiAvPgogICAgICAgICAgICA8cGF0aCBmaWxsPSIjZmZmIgogICAgICAgICAgICAgICAgZD0iTTE4LjI1LDkuODEzODM2ODIgQzE4LjI1LDQuNzg1MDA2MSAyMi4zMjk2MDAzLDAuNzA4MzMzMzMzIDI3LjMyMzg1NTQsMC43MDgzMzMzMzMgTDM2LjQyNjE0NDYsMC43MDgzMzMzMzMgQzQxLjQzNzQ5NjUsMC43MDgzMzMzMzMgNDUuNSw0Ljc2ODEyODI1IDQ1LjUsOS44MTM4MzY4MiBMNDUuNSwyMy40MTY2NjY3IEwxOC4yNSwyMy40MTY2NjY3IEwxOC4yNSw5LjgxMzgzNjgyIFogTTM2LjQxNjY2NjcsOS44MTM4MzY4MiBDMzYuNDE2NjY2Nyw5Ljc5ODAzMzE1IDM2LjQxODQ3NDgsOS43OTMwMzc4NCAzNi40MjA3NTE1LDkuNzkxNjY2NjcgTDI3LjMyMzg1NTQsOS43OTE2NjY2NyBDMjcuMzQ0NzIyNCw5Ljc5MTY2NjY3IDI3LjMzMzMzMzMsOS44MDMwODA1OSAyNy4zMzMzMzMzLDkuODEzODM2ODIgTDI3LjMzMzMzMzMsMTQuMzMzMzMzMyBMMzYuNDE2NjY2NywxNC4zMzMzMzMzIEwzNi40MTY2NjY3LDkuODEzODM2ODIgWiIgLz4KICAgICAgICAgICAgPHBhdGggZmlsbD0iI2ZmZiIKICAgICAgICAgICAgICAgIGQ9Ik0xMS40Mzg2NTMyLDU1LjIwODMzMzMgTDc0Ljk5NTM1NjIsNTUuMjA4MzMzMyBMNzkuNTQ1MjI0Miw0MS41ODMzMzMzIEw5LjgwNDQ5NzUyLDQxLjU4MzMzMzMgTDExLjQzODY1MzIsNTUuMjA4MzMzMyBaIE0wLjEwNDg1NDcsMzYuOTg3NTQxIEMtMC4xOTIzOTk3NzUsMzQuNTA5MTQwNSAxLjU4NjU3MTcsMzIuNSA0LjA5NTAyODM5LDMyLjUgTDg3LjYyNjQ3MzUsMzIuNSBDOTAuMTI3NDQwMSwzMi41IDkxLjUyMjU2NTYsMzQuMzkzNTA2IDkwLjcyMzEwNDcsMzYuNzg3NTY1NiBMODIuOTcwMjg0Niw2MC4wMDQxMDEgQzgyLjE3OTU0MDIsNjIuMzcyMDU4MiA3OS41Mjc5NDQ1LDY0LjI5MTY2NjcgNzYuOTk4NTMzOCw2NC4yOTE2NjY3IEw3LjkxOTYzOTI0LDY0LjI5MTY2NjcgQzUuNDEyMjc2NzMsNjQuMjkxNjY2NyAzLjE0MTEzNTcxLDYyLjMwMjk1NTUgMi44NDE0MzA5Nyw1OS44MDQxMjU3IEwwLjEwNDg1NDcsMzYuOTg3NTQxIFoiIC8+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4K"],["user","data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB2aWV3Qm94PSIwIDAgMTI4IDEyOCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHJvbGU9ImltZyIgYXJpYS1sYWJlbD0ieHhsYXJnZSI+CiAgICA8Zz4KICAgICAgICA8Y2lyY2xlIGN4PSI2NCIgY3k9IjY0IiByPSI2NCIgZmlsbD0iIzg5OTNhNCIgLz4KICAgICAgICA8Zz4KICAgICAgICAgICAgPHBhdGggZmlsbD0iI2ZmZiIKICAgICAgICAgICAgICAgIGQ9Ik0xMDMsMTAyLjEzODggQzkzLjA5NCwxMTEuOTIgNzkuMzUwNCwxMTggNjQuMTYzOCwxMTggQzQ4LjgwNTYsMTE4IDM0LjkyOTQsMTExLjc2OCAyNSwxMDEuNzg5MiBMMjUsOTUuMiBDMjUsODYuODA5NiAzMS45ODEsODAgNDAuNiw4MCBMODcuNCw4MCBDOTYuMDE5LDgwIDEwMyw4Ni44MDk2IDEwMyw5NS4yIEwxMDMsMTAyLjEzODggWiIgLz4KICAgICAgICAgICAgPHBhdGggZmlsbD0iI2ZmZiIKICAgICAgICAgICAgICAgIGQ9Ik02My45OTYxNjQ3LDI0IEM1MS4yOTM4MTM2LDI0IDQxLDM0LjI5MzgxMzYgNDEsNDYuOTk2MTY0NyBDNDEsNTkuNzA2MTg2NCA1MS4yOTM4MTM2LDcwIDYzLjk5NjE2NDcsNzAgQzc2LjY5ODUxNTksNzAgODcsNTkuNzA2MTg2NCA4Nyw0Ni45OTYxNjQ3IEM4NywzNC4yOTM4MTM2IDc2LjY5ODUxNTksMjQgNjMuOTk2MTY0NywyNCIgLz4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPgo="]]),Ke=(e,t)=>e.querySelector(t),Qe=(e,t,i)=>{const n=Ke(e,".aui-avatar");n.classList.remove(`aui-avatar-${i}`),n.classList.add(`aui-avatar-${t}`)},Ge=e=>{if(e.hasAttribute("src"))Je(e,e.getAttribute("src"));else{const t=(e=>"project"===e.getAttribute("type")?"project":"user")(e),i=qe.get(t);Je(e,i)}},Ze=(e,t,i)=>Ke(e,"img").setAttribute(t,i),Je=(e,t)=>Ze(e,"src",t),Xe=Z("aui-avatar",{template:Ye()("\n <span class='aui-avatar'>\n <span class='aui-avatar-inner'>\n <img />\n </span>\n <content></content>\n </span>\n "),attributes:{size(e,{newValue:t,oldValue:i}){Qe(e,t,i)},type(e,{newValue:t,oldValue:i}){Qe(e,t,i),Ge(e)},src(e,{newValue:t}){Je(e,t)},alt:{value:"",fallback(e,{newValue:t}){((e,t)=>{Ze(e,"alt",t)})(e,t)}},title(e,{newValue:t}){((e,t)=>{Ze(e,"title",t)})(e,t)}},created:function(e){e.className="aui-avatar",Ge(e),(e=>null!==e.querySelector("aui-avatar-badged"))(e)&&e.setAttribute("role","img")}}),et="medium",tt={xsmall:16,small:24,medium:32,large:48,xlarge:64,xxlarge:96,xxxlarge:128},it=(e,t)=>{const i=e.querySelectorAll("aui-avatar"),n=[...i].slice(4);rt(i,t);const s=e.querySelector(".aui-avatar-group-dropdown");if(s&&s.remove(),0===n.length)return;const a=nt(t,n);e.appendChild(a)},nt=(e,t)=>{const i=document.createElement("div"),n=st(`+${t.length}`),s=at();return t.forEach(e=>{s.append(e)}),i.classList.add("aui-avatar-group-dropdown"),i.style.left=ot(e,4.2),i.appendChild(n),i.appendChild(s),i},st=e=>{const t=document.createElement("button");return t.classList.add("aui-avatar-group-dropdown-button","aui-avatar-inner"),t.innerText=e,t.setAttribute("aria-expanded",!1),t.setAttribute("aria-haspopup","dialog"),t},at=()=>{const e=document.createElement("div");return e.classList.add("aui-avatar-group-dropdown-menu"),e},rt=(e,t)=>{e.forEach((e,i)=>{const n=i>=4;e.classList.add(n?"aui-avatar-group-dropdown-item":"aui-avatar-group-item"),n?e.setAttribute("size","medium"):(e.setAttribute("size",t),e.style.left=ot(t,i),e.style.zIndex=""+(5-i))})},ot=(e,t)=>{const i=tt[e];return`${(i-.25*i)*t}px`};document.addEventListener("click",e=>{const t=e.target.matches(".aui-avatar-group-dropdown-button"),i=e.target.closest(".aui-avatar-group-dropdown");(t||null===i)&&(t&&(i.classList.contains("aui-avatar-group-dropdown-show")?lt(i):ct(i)),document.querySelectorAll(".aui-avatar-group-dropdown-show").forEach(e=>{e!==i&<(e)}))}),document.addEventListener("keydown",e=>{if("Escape"!==e.key)return;const t=document.querySelector(".aui-avatar-group-dropdown-show");t&<(t)});const lt=e=>{const t=e.querySelector(".aui-avatar-group-dropdown-button");e.classList.remove("aui-avatar-group-dropdown-show"),t.setAttribute("aria-expanded","false")},ct=e=>{const t=e.querySelector(".aui-avatar-group-dropdown-button");e.classList.add("aui-avatar-group-dropdown-show"),t.setAttribute("aria-expanded","true")},ut=Z("aui-avatar-group",{attributes:{size:{value:et,fallback(e,{newValue:t,oldValue:i}){const n=(s=t,Object.keys(tt).includes(s)?s:et);var s;((e,t,i)=>{i&&e.classList.remove(`aui-avatar-group-${i}`),e.classList.add(`aui-avatar-group-${t}`)})(e,n,i),Z.init(e),it(e,n)}}},created(e){e.classList.add("aui-avatar-group")}});new MutationObserver(function(e){e.forEach(function(e){const t=e.target;((e,t)=>e.removedNodes.length>0&&t.classList.contains("aui-avatar-group")&&e.removedNodes[0].classList.contains("aui-avatar-group-item"))(e,t)&&it(t,t.getAttribute("size")),((e,t)=>e.addedNodes.length>0&&t.classList.contains("aui-avatar-group")&&e.addedNodes[0].classList.contains("aui-avatar"))(e,t)&&setTimeout(()=>{it(t,t.getAttribute("size"))},0)})}).observe(document.documentElement,{attributes:!1,characterData:!0,childList:!0,subtree:!0,attributeOldValue:!1,characterDataOldValue:!1});function dt(e){const t=document.getElementById("header");if(!t)throw new Error('Unable to find the application header. Please ensure that an element with the ID "header" is present in the DOM');const i=function({body:e="",type:t="error"}){const i=document.createElement("div");i.className=`aui-banner aui-banner-${t}`,i.setAttribute("role","alert"),i.innerHTML=e;const n=document.createElement("div");return n.innerText=`${t}`,n.classList.add("assistive"),i.prepend(n),i}(e);return function(e,t){t.prepend(e),U(e)}(i,t),function(e){const t=e.querySelectorAll(".aui-banner[hidden]"),i=O("Banner [hidden] attribute",{removeInVersion:"10.0.0",sinceVersion:"9.8.0",deprecationType:"ATTRIBUTE",extraInfo:"The hidden attribute on the banner is no longer effective. Future banner function calls won't remove banners with this attribute."});t.forEach(function(e){i(),e.remove()})}(t),i}G("aui/banner",dt),l("banner",dt);const ht=dt;var pt=a(487);const ft={SMALL:{name:"small",px:20,radius:9},MEDIUM:{name:"medium",px:30,radius:13.5},LARGE:{name:"large",px:50,radius:22.5}},gt={filled:!1,size:ft.MEDIUM.name},mt="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.",vt=O("<aui-spinner> filled attribute",{sinceVersion:"7.9.4",removeInVersion:"10.0.0",extraInfo:mt}),bt=O("<aui-spinner> filled property",{sinceVersion:"7.9.4",removeInVersion:"10.0.0",extraInfo:mt});function yt(e){let t=ft.MEDIUM.name;if("string"==typeof e){e=e.toLowerCase();const i=Object.keys(ft).map(e=>e.toLowerCase());i.indexOf(e)>-1&&(t=e)}return t}function wt(e){const{px:t,radius:i}=(0,pt.find)(ft,t=>t.name===e._data.size)||ft.MEDIUM;!function(e,t,i){const n=e.querySelector("svg"),s=e.querySelector("circle");n.setAttribute("size",t),n.setAttribute("height",t),n.setAttribute("width",t),n.setAttribute("viewBox",`0 0 ${t} ${t}`);const a=t/2;s.setAttribute("cx",a),s.setAttribute("cy",a),s.setAttribute("r",i)}(e,t,i),e._data.filled?function(e,t){const i=e.parentNode;if(i&&1===i.nodeType){const n=e.getBoundingClientRect(),s=i.getBoundingClientRect(),a=s.top+s.height/2,r=n.top+t/2;e.querySelector("svg").style.top=a-r+"px"}}(e,t):function(e){delete e.querySelector("svg").style.top}(e)}const _t=Z("aui-spinner",{template(e){e.innerHTML='<div class="aui-spinner spinner"><svg focusable="false"><circle></circle></svg></div>',wt(e)},attached(e){wt(e)},attributes:{filled:{created:function(e){vt(),e._data.filled=!0,wt(e)},removed:function(e){e._data.filled=!1,wt(e)}},size(e,t){e._data.size=yt(t.newValue),wt(e)}},prototype:{get _data(){return this.__data||(this._data=(0,pt.defaults)({},gt))},set _data(e){return this.__data=e},set filled(e){bt(),e?this.setAttribute("filled",""):this.removeAttribute("filled")},set size(e){const t=yt(e);this.setAttribute("size",t)}}});function xt(e){return e.hasAttribute("aria-busy")&&"true"===e.getAttribute("aria-busy")}function Ct(e){return"INPUT"===e.nodeName}Z("aui-button",{type:Z.type.CLASSNAME,created:function(e){e._spinner=new _t,e._spinner.setAttribute("size",ft.SMALL.name)},prototype:{busy:function(){return Ct(this)||xt(this)?(g("It is not valid to call busy() on an input button."),this):(this.appendChild(this._spinner),this.setAttribute("aria-busy",!0),this.setAttribute("busy",""),this)},idle:function(){return Ct(this)||!xt(this)?(g("It is not valid to call idle() on an input button."),this):(this.removeChild(this._spinner),this.removeAttribute("aria-busy"),this.removeAttribute("busy"),this)},isBusy:function(){return Ct(this)?(g("It is not valid to call isBusy() on an input button."),!1):xt(this)}}}),G("aui/button");const Tt="aui-close-button",kt=`.${Tt}`,Et=`<button type="button" class="${Tt}" aria-label="${I18n.getText("aui.words.close")}">`,At={"aui-focus":"false","aui-blanketed":"true"};function Dt(e){var t;this._handlers=new WeakMap,this.$el=i(e||`\n <section role="dialog" aria-modal="true" class="aui-layer aui-dialog2 aui-dialog2-medium">\n <header class="aui-dialog2-header">\n <h2 class="aui-dialog2-header-main"></h2>\n ${Et}\n </button>\n </header>\n <div class="aui-dialog2-content"></div>\n <footer class="aui-dialog2-footer"></footer>\n </section>`),this.$header=this.$el.find(".aui-dialog2-header"),this.$content=this.$el.find(".aui-dialog2-content"),this.$footer=this.$el.find(".aui-dialog2-footer"),t=this.$el,i.each(At,function(e,i){const n="data-"+e;t[0].hasAttribute(n)||t.attr(n,i)})}Dt.prototype.on=function(e,t){const i=this.$el;if(!this._handlers.get(t)){const n=function(e){e.target===i.get(0)&&t.apply(this,arguments)};Oe(i).on(e,n),this._handlers.set(t,n)}return this},Dt.prototype.off=function(e,t){const i=this.$el,n=this._handlers.get(t);return n&&(Oe(i).off(e,n),this._handlers.delete(t)),this},Dt.prototype.show=function(){return Oe(this.$el).show(),this},Dt.prototype.hide=function(){return Oe(this.$el).hide(),this},Dt.prototype.remove=function(){return Oe(this.$el).remove(),this},Dt.prototype.isVisible=function(){return Oe(this.$el).isVisible()};var St=ge("dialog2",Dt),It=new Set;St.on=function(e,t){return It.has(t)||(Oe.on(e,".aui-dialog2",t),It.add(t)),this},St.off=function(e,t){return It.has(t)&&(Oe.off(e,".aui-dialog2",t),It.delete(t)),this},i(document).on("click keydown",`.aui-dialog2-header ${kt}`,function(e){("click"===e.type||e.keyCode===Q.ENTER||e.keyCode===Q.SPACE)&&(e.preventDefault(),St(i(e.target).closest(".aui-dialog2")).hide())}),St.on("show",function(e,t){!function(e){const t=e.querySelector(kt);t&&(O(`Dialog2 [${kt}]`,{removeInVersion:"10.0.0",sinceVersion:"9.6.0",extraInfo:"Replace it with another actionable element inside your Dialog which will trigger closing of the modal.",deprecationType:"MARKUP"})(),t.setAttribute("tabindex","0"));e.setAttribute("tabindex","-1");const i=e.hasAttribute("data-aui-focus-selector");i&&O("Dialog2 [data-aui-focus-selector] attribute",{removeInVersion:"10.0.0",alternativeName:"initialisation on DOM insertion",sinceVersion:"9.6.0",extraInfo:"Replace [data-aui-focus-selector] attribute with HTML [autofocus] attribute",deprecationType:"ATTRIBUTE"})();const n=e.querySelector("[autofocus]");if(n)return document.activeElement.blur(),void setTimeout(()=>n.focus(),0);if(i){const t=e.querySelector(i);if(t)return t.blur(),void setTimeout(()=>t.focus(),0)}const s=[...e.querySelectorAll('a[href], button, input, textarea, select, details,[tabindex]:not([tabindex="-1"])')].filter(e=>!e.hasAttribute("disabled")&&!e.getAttribute("aria-hidden"));if(s.length){let e=s.shift();return e.classList.contains(Tt)&&(e=s.shift()),void(e&&(e.blur(),setTimeout(()=>e.focus(),0)))}e.focus()}(t[0])}),St.on("hide",function(e,t){const i=Oe(t);t.data("aui-remove-on-hide")&&i.remove()}),G("aui/dialog2",St),l("dialog2",St);const Mt=St;var Nt,Ot,Lt=navigator.userAgent.toLowerCase(),Pt=(/msie/.test(Lt),/windows nt 5.1/.test(Lt),/windows nt 6.0/.test(Lt),/windows nt 6.1/.test(Lt),/mac os x/.test(Lt));function Rt(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function $t(e){return e instanceof Rt(e).Element||e instanceof Element}function jt(e){return e instanceof Rt(e).HTMLElement||e instanceof HTMLElement}function zt(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Rt(e).ShadowRoot||e instanceof ShadowRoot)}var Ft=Math.max,Ht=Math.min,Bt=Math.round;function Ut(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function Wt(){return!/^((?!chrome|android).)*safari/i.test(Ut())}function Vt(e,t,i){void 0===t&&(t=!1),void 0===i&&(i=!1);var n=e.getBoundingClientRect(),s=1,a=1;t&&jt(e)&&(s=e.offsetWidth>0&&Bt(n.width)/e.offsetWidth||1,a=e.offsetHeight>0&&Bt(n.height)/e.offsetHeight||1);var r=($t(e)?Rt(e):window).visualViewport,o=!Wt()&&i,l=(n.left+(o&&r?r.offsetLeft:0))/s,c=(n.top+(o&&r?r.offsetTop:0))/a,u=n.width/s,d=n.height/a;return{width:u,height:d,top:c,right:l+u,bottom:c+d,left:l,x:l,y:c}}function Yt(e){var t=Rt(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function qt(e){return e?(e.nodeName||"").toLowerCase():null}function Kt(e){return(($t(e)?e.ownerDocument:e.document)||window.document).documentElement}function Qt(e){return Vt(Kt(e)).left+Yt(e).scrollLeft}function Gt(e){return Rt(e).getComputedStyle(e)}function Zt(e){var t=Gt(e),i=t.overflow,n=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(i+s+n)}function Jt(e,t,i){void 0===i&&(i=!1);var n,s,a=jt(t),r=jt(t)&&function(e){var t=e.getBoundingClientRect(),i=Bt(t.width)/e.offsetWidth||1,n=Bt(t.height)/e.offsetHeight||1;return 1!==i||1!==n}(t),o=Kt(t),l=Vt(e,r,i),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(a||!a&&!i)&&(("body"!==qt(t)||Zt(o))&&(c=(n=t)!==Rt(n)&&jt(n)?{scrollLeft:(s=n).scrollLeft,scrollTop:s.scrollTop}:Yt(n)),jt(t)?((u=Vt(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):o&&(u.x=Qt(o))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function Xt(e){var t=Vt(e),i=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-i)<=1&&(i=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:i,height:n}}function ei(e){return"html"===qt(e)?e:e.assignedSlot||e.parentNode||(zt(e)?e.host:null)||Kt(e)}function ti(e){return["html","body","#document"].indexOf(qt(e))>=0?e.ownerDocument.body:jt(e)&&Zt(e)?e:ti(ei(e))}function ii(e,t){var i;void 0===t&&(t=[]);var n=ti(e),s=n===(null==(i=e.ownerDocument)?void 0:i.body),a=Rt(n),r=s?[a].concat(a.visualViewport||[],Zt(n)?n:[]):n,o=t.concat(r);return s?o:o.concat(ii(ei(r)))}function ni(e){return["table","td","th"].indexOf(qt(e))>=0}function si(e){return jt(e)&&"fixed"!==Gt(e).position?e.offsetParent:null}function ai(e){for(var t=Rt(e),i=si(e);i&&ni(i)&&"static"===Gt(i).position;)i=si(i);return i&&("html"===qt(i)||"body"===qt(i)&&"static"===Gt(i).position)?t:i||function(e){var t=/firefox/i.test(Ut());if(/Trident/i.test(Ut())&&jt(e)&&"fixed"===Gt(e).position)return null;var i=ei(e);for(zt(i)&&(i=i.host);jt(i)&&["html","body"].indexOf(qt(i))<0;){var n=Gt(i);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||t&&"filter"===n.willChange||t&&n.filter&&"none"!==n.filter)return i;i=i.parentNode}return null}(e)||t}var ri="top",oi="bottom",li="right",ci="left",ui="auto",di=[ri,oi,li,ci],hi="start",pi="end",fi="viewport",gi="popper",mi=di.reduce(function(e,t){return e.concat([t+"-"+hi,t+"-"+pi])},[]),vi=[].concat(di,[ui]).reduce(function(e,t){return e.concat([t,t+"-"+hi,t+"-"+pi])},[]),bi=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function yi(e){var t=new Map,i=new Set,n=[];function s(e){i.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!i.has(e)){var n=t.get(e);n&&s(n)}}),n.push(e)}return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){i.has(e.name)||s(e)}),n}function wi(e,t){var i=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(i&&zt(i)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function _i(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function xi(e,t,i){return t===fi?_i(function(e,t){var i=Rt(e),n=Kt(e),s=i.visualViewport,a=n.clientWidth,r=n.clientHeight,o=0,l=0;if(s){a=s.width,r=s.height;var c=Wt();(c||!c&&"fixed"===t)&&(o=s.offsetLeft,l=s.offsetTop)}return{width:a,height:r,x:o+Qt(e),y:l}}(e,i)):$t(t)?function(e,t){var i=Vt(e,!1,"fixed"===t);return i.top=i.top+e.clientTop,i.left=i.left+e.clientLeft,i.bottom=i.top+e.clientHeight,i.right=i.left+e.clientWidth,i.width=e.clientWidth,i.height=e.clientHeight,i.x=i.left,i.y=i.top,i}(t,i):_i(function(e){var t,i=Kt(e),n=Yt(e),s=null==(t=e.ownerDocument)?void 0:t.body,a=Ft(i.scrollWidth,i.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),r=Ft(i.scrollHeight,i.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),o=-n.scrollLeft+Qt(e),l=-n.scrollTop;return"rtl"===Gt(s||i).direction&&(o+=Ft(i.clientWidth,s?s.clientWidth:0)-a),{width:a,height:r,x:o,y:l}}(Kt(e)))}function Ci(e,t,i,n){var s="clippingParents"===t?function(e){var t=ii(ei(e)),i=["absolute","fixed"].indexOf(Gt(e).position)>=0&&jt(e)?ai(e):e;return $t(i)?t.filter(function(e){return $t(e)&&wi(e,i)&&"body"!==qt(e)}):[]}(e):[].concat(t),a=[].concat(s,[i]),r=a[0],o=a.reduce(function(t,i){var s=xi(e,i,n);return t.top=Ft(s.top,t.top),t.right=Ht(s.right,t.right),t.bottom=Ht(s.bottom,t.bottom),t.left=Ft(s.left,t.left),t},xi(e,r,n));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}function Ti(e){return e.split("-")[0]}function ki(e){return e.split("-")[1]}function Ei(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Ai(e){var t,i=e.reference,n=e.element,s=e.placement,a=s?Ti(s):null,r=s?ki(s):null,o=i.x+i.width/2-n.width/2,l=i.y+i.height/2-n.height/2;switch(a){case ri:t={x:o,y:i.y-n.height};break;case oi:t={x:o,y:i.y+i.height};break;case li:t={x:i.x+i.width,y:l};break;case ci:t={x:i.x-n.width,y:l};break;default:t={x:i.x,y:i.y}}var c=a?Ei(a):null;if(null!=c){var u="y"===c?"height":"width";switch(r){case hi:t[c]=t[c]-(i[u]/2-n[u]/2);break;case pi:t[c]=t[c]+(i[u]/2-n[u]/2)}}return t}function Di(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Si(e,t){return t.reduce(function(t,i){return t[i]=e,t},{})}function Ii(e,t){void 0===t&&(t={});var i=t,n=i.placement,s=void 0===n?e.placement:n,a=i.strategy,r=void 0===a?e.strategy:a,o=i.boundary,l=void 0===o?"clippingParents":o,c=i.rootBoundary,u=void 0===c?fi:c,d=i.elementContext,h=void 0===d?gi:d,p=i.altBoundary,f=void 0!==p&&p,g=i.padding,m=void 0===g?0:g,v=Di("number"!=typeof m?m:Si(m,di)),b=h===gi?"reference":gi,y=e.rects.popper,w=e.elements[f?b:h],_=Ci($t(w)?w:w.contextElement||Kt(e.elements.popper),l,u,r),x=Vt(e.elements.reference),C=Ai({reference:x,element:y,strategy:"absolute",placement:s}),T=_i(Object.assign({},y,C)),k=h===gi?T:x,E={top:_.top-k.top+v.top,bottom:k.bottom-_.bottom+v.bottom,left:_.left-k.left+v.left,right:k.right-_.right+v.right},A=e.modifiersData.offset;if(h===gi&&A){var D=A[s];Object.keys(E).forEach(function(e){var t=[li,oi].indexOf(e)>=0?1:-1,i=[ri,oi].indexOf(e)>=0?"y":"x";E[e]+=D[i]*t})}return E}var Mi={placement:"bottom",modifiers:[],strategy:"absolute"};function Ni(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function Oi(e){void 0===e&&(e={});var t=e,i=t.defaultModifiers,n=void 0===i?[]:i,s=t.defaultOptions,a=void 0===s?Mi:s;return function(e,t,i){void 0===i&&(i=a);var s,r,o={placement:"bottom",orderedModifiers:[],options:Object.assign({},Mi,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,u={state:o,setOptions:function(i){var s="function"==typeof i?i(o.options):i;d(),o.options=Object.assign({},a,o.options,s),o.scrollParents={reference:$t(e)?ii(e):e.contextElement?ii(e.contextElement):[],popper:ii(t)};var r,c,h=function(e){var t=yi(e);return bi.reduce(function(e,i){return e.concat(t.filter(function(e){return e.phase===i}))},[])}((r=[].concat(n,o.options.modifiers),c=r.reduce(function(e,t){var i=e[t.name];return e[t.name]=i?Object.assign({},i,t,{options:Object.assign({},i.options,t.options),data:Object.assign({},i.data,t.data)}):t,e},{}),Object.keys(c).map(function(e){return c[e]})));return o.orderedModifiers=h.filter(function(e){return e.enabled}),o.orderedModifiers.forEach(function(e){var t=e.name,i=e.options,n=void 0===i?{}:i,s=e.effect;if("function"==typeof s){var a=s({state:o,name:t,instance:u,options:n}),r=function(){};l.push(a||r)}}),u.update()},forceUpdate:function(){if(!c){var e=o.elements,t=e.reference,i=e.popper;if(Ni(t,i)){o.rects={reference:Jt(t,ai(i),"fixed"===o.options.strategy),popper:Xt(i)},o.reset=!1,o.placement=o.options.placement,o.orderedModifiers.forEach(function(e){return o.modifiersData[e.name]=Object.assign({},e.data)});for(var n=0;n<o.orderedModifiers.length;n++)if(!0!==o.reset){var s=o.orderedModifiers[n],a=s.fn,r=s.options,l=void 0===r?{}:r,d=s.name;"function"==typeof a&&(o=a({state:o,options:l,name:d,instance:u})||o)}else o.reset=!1,n=-1}}},update:(s=function(){return new Promise(function(e){u.forceUpdate(),e(o)})},function(){return r||(r=new Promise(function(e){Promise.resolve().then(function(){r=void 0,e(s())})})),r}),destroy:function(){d(),c=!0}};if(!Ni(e,t))return u;function d(){l.forEach(function(e){return e()}),l=[]}return u.setOptions(i).then(function(e){!c&&i.onFirstUpdate&&i.onFirstUpdate(e)}),u}}var Li={passive:!0};const Pi={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,i=e.instance,n=e.options,s=n.scroll,a=void 0===s||s,r=n.resize,o=void 0===r||r,l=Rt(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach(function(e){e.addEventListener("scroll",i.update,Li)}),o&&l.addEventListener("resize",i.update,Li),function(){a&&c.forEach(function(e){e.removeEventListener("scroll",i.update,Li)}),o&&l.removeEventListener("resize",i.update,Li)}},data:{}};const Ri={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,i=e.name;t.modifiersData[i]=Ai({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};var $i={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ji(e){var t,i=e.popper,n=e.popperRect,s=e.placement,a=e.variation,r=e.offsets,o=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,h=r.x,p=void 0===h?0:h,f=r.y,g=void 0===f?0:f,m="function"==typeof u?u({x:p,y:g}):{x:p,y:g};p=m.x,g=m.y;var v=r.hasOwnProperty("x"),b=r.hasOwnProperty("y"),y=ci,w=ri,_=window;if(c){var x=ai(i),C="clientHeight",T="clientWidth";if(x===Rt(i)&&"static"!==Gt(x=Kt(i)).position&&"absolute"===o&&(C="scrollHeight",T="scrollWidth"),s===ri||(s===ci||s===li)&&a===pi)w=oi,g-=(d&&x===_&&_.visualViewport?_.visualViewport.height:x[C])-n.height,g*=l?1:-1;if(s===ci||(s===ri||s===oi)&&a===pi)y=li,p-=(d&&x===_&&_.visualViewport?_.visualViewport.width:x[T])-n.width,p*=l?1:-1}var k,E=Object.assign({position:o},c&&$i),A=!0===u?function(e,t){var i=e.x,n=e.y,s=t.devicePixelRatio||1;return{x:Bt(i*s)/s||0,y:Bt(n*s)/s||0}}({x:p,y:g},Rt(i)):{x:p,y:g};return p=A.x,g=A.y,l?Object.assign({},E,((k={})[w]=b?"0":"",k[y]=v?"0":"",k.transform=(_.devicePixelRatio||1)<=1?"translate("+p+"px, "+g+"px)":"translate3d("+p+"px, "+g+"px, 0)",k)):Object.assign({},E,((t={})[w]=b?g+"px":"",t[y]=v?p+"px":"",t.transform="",t))}const zi={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,i=e.options,n=i.gpuAcceleration,s=void 0===n||n,a=i.adaptive,r=void 0===a||a,o=i.roundOffsets,l=void 0===o||o,c={placement:Ti(t.placement),variation:ki(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:s,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,ji(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:r,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,ji(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};const Fi={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var i=t.styles[e]||{},n=t.attributes[e]||{},s=t.elements[e];jt(s)&&qt(s)&&(Object.assign(s.style,i),Object.keys(n).forEach(function(e){var t=n[e];!1===t?s.removeAttribute(e):s.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,i={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,i.popper),t.styles=i,t.elements.arrow&&Object.assign(t.elements.arrow.style,i.arrow),function(){Object.keys(t.elements).forEach(function(e){var n=t.elements[e],s=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:i[e]).reduce(function(e,t){return e[t]="",e},{});jt(n)&&qt(n)&&(Object.assign(n.style,a),Object.keys(s).forEach(function(e){n.removeAttribute(e)}))})}},requires:["computeStyles"]};const Hi={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,i=e.options,n=e.name,s=i.offset,a=void 0===s?[0,0]:s,r=vi.reduce(function(e,i){return e[i]=function(e,t,i){var n=Ti(e),s=[ci,ri].indexOf(n)>=0?-1:1,a="function"==typeof i?i(Object.assign({},t,{placement:e})):i,r=a[0],o=a[1];return r=r||0,o=(o||0)*s,[ci,li].indexOf(n)>=0?{x:o,y:r}:{x:r,y:o}}(i,t.rects,a),e},{}),o=r[t.placement],l=o.x,c=o.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=r}};var Bi={left:"right",right:"left",bottom:"top",top:"bottom"};function Ui(e){return e.replace(/left|right|bottom|top/g,function(e){return Bi[e]})}var Wi={start:"end",end:"start"};function Vi(e){return e.replace(/start|end/g,function(e){return Wi[e]})}const Yi={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,i=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var s=i.mainAxis,a=void 0===s||s,r=i.altAxis,o=void 0===r||r,l=i.fallbackPlacements,c=i.padding,u=i.boundary,d=i.rootBoundary,h=i.altBoundary,p=i.flipVariations,f=void 0===p||p,g=i.allowedAutoPlacements,m=t.options.placement,v=Ti(m),b=l||(v===m||!f?[Ui(m)]:function(e){if(Ti(e)===ui)return[];var t=Ui(e);return[Vi(e),t,Vi(t)]}(m)),y=[m].concat(b).reduce(function(e,i){return e.concat(Ti(i)===ui?function(e,t){void 0===t&&(t={});var i=t,n=i.placement,s=i.boundary,a=i.rootBoundary,r=i.padding,o=i.flipVariations,l=i.allowedAutoPlacements,c=void 0===l?vi:l,u=ki(n),d=u?o?mi:mi.filter(function(e){return ki(e)===u}):di,h=d.filter(function(e){return c.indexOf(e)>=0});0===h.length&&(h=d);var p=h.reduce(function(t,i){return t[i]=Ii(e,{placement:i,boundary:s,rootBoundary:a,padding:r})[Ti(i)],t},{});return Object.keys(p).sort(function(e,t){return p[e]-p[t]})}(t,{placement:i,boundary:u,rootBoundary:d,padding:c,flipVariations:f,allowedAutoPlacements:g}):i)},[]),w=t.rects.reference,_=t.rects.popper,x=new Map,C=!0,T=y[0],k=0;k<y.length;k++){var E=y[k],A=Ti(E),D=ki(E)===hi,S=[ri,oi].indexOf(A)>=0,I=S?"width":"height",M=Ii(t,{placement:E,boundary:u,rootBoundary:d,altBoundary:h,padding:c}),N=S?D?li:ci:D?oi:ri;w[I]>_[I]&&(N=Ui(N));var O=Ui(N),L=[];if(a&&L.push(M[A]<=0),o&&L.push(M[N]<=0,M[O]<=0),L.every(function(e){return e})){T=E,C=!1;break}x.set(E,L)}if(C)for(var P=function(e){var t=y.find(function(t){var i=x.get(t);if(i)return i.slice(0,e).every(function(e){return e})});if(t)return T=t,"break"},R=f?3:1;R>0;R--){if("break"===P(R))break}t.placement!==T&&(t.modifiersData[n]._skip=!0,t.placement=T,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function qi(e,t,i){return Ft(e,Ht(t,i))}const Ki={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,i=e.options,n=e.name,s=i.mainAxis,a=void 0===s||s,r=i.altAxis,o=void 0!==r&&r,l=i.boundary,c=i.rootBoundary,u=i.altBoundary,d=i.padding,h=i.tether,p=void 0===h||h,f=i.tetherOffset,g=void 0===f?0:f,m=Ii(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),v=Ti(t.placement),b=ki(t.placement),y=!b,w=Ei(v),_="x"===w?"y":"x",x=t.modifiersData.popperOffsets,C=t.rects.reference,T=t.rects.popper,k="function"==typeof g?g(Object.assign({},t.rects,{placement:t.placement})):g,E="number"==typeof k?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),A=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,D={x:0,y:0};if(x){if(a){var S,I="y"===w?ri:ci,M="y"===w?oi:li,N="y"===w?"height":"width",O=x[w],L=O+m[I],P=O-m[M],R=p?-T[N]/2:0,$=b===hi?C[N]:T[N],j=b===hi?-T[N]:-C[N],z=t.elements.arrow,F=p&&z?Xt(z):{width:0,height:0},H=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},B=H[I],U=H[M],W=qi(0,C[N],F[N]),V=y?C[N]/2-R-W-B-E.mainAxis:$-W-B-E.mainAxis,Y=y?-C[N]/2+R+W+U+E.mainAxis:j+W+U+E.mainAxis,q=t.elements.arrow&&ai(t.elements.arrow),K=q?"y"===w?q.clientTop||0:q.clientLeft||0:0,Q=null!=(S=null==A?void 0:A[w])?S:0,G=O+Y-Q,Z=qi(p?Ht(L,O+V-Q-K):L,O,p?Ft(P,G):P);x[w]=Z,D[w]=Z-O}if(o){var J,X="x"===w?ri:ci,ee="x"===w?oi:li,te=x[_],ie="y"===_?"height":"width",ne=te+m[X],se=te-m[ee],ae=-1!==[ri,ci].indexOf(v),re=null!=(J=null==A?void 0:A[_])?J:0,oe=ae?ne:te-C[ie]-T[ie]-re+E.altAxis,le=ae?te+C[ie]+T[ie]-re-E.altAxis:se,ce=p&&ae?function(e,t,i){var n=qi(e,t,i);return n>i?i:n}(oe,te,le):qi(p?oe:ne,te,p?le:se);x[_]=ce,D[_]=ce-te}t.modifiersData[n]=D}},requiresIfExists:["offset"]};const Qi={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,i=e.state,n=e.name,s=e.options,a=i.elements.arrow,r=i.modifiersData.popperOffsets,o=Ti(i.placement),l=Ei(o),c=[ci,li].indexOf(o)>=0?"height":"width";if(a&&r){var u=function(e,t){return Di("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Si(e,di))}(s.padding,i),d=Xt(a),h="y"===l?ri:ci,p="y"===l?oi:li,f=i.rects.reference[c]+i.rects.reference[l]-r[l]-i.rects.popper[c],g=r[l]-i.rects.reference[l],m=ai(a),v=m?"y"===l?m.clientHeight||0:m.clientWidth||0:0,b=f/2-g/2,y=u[h],w=v-d[c]-u[p],_=v/2-d[c]/2+b,x=qi(y,_,w),C=l;i.modifiersData[n]=((t={})[C]=x,t.centerOffset=x-_,t)}},effect:function(e){var t=e.state,i=e.options.element,n=void 0===i?"[data-popper-arrow]":i;null!=n&&("string"!=typeof n||(n=t.elements.popper.querySelector(n)))&&wi(t.elements.popper,n)&&(t.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Gi(e,t,i){return void 0===i&&(i={x:0,y:0}),{top:e.top-t.height-i.y,right:e.right-t.width+i.x,bottom:e.bottom-t.height+i.y,left:e.left-t.width-i.x}}function Zi(e){return[ri,li,oi,ci].some(function(t){return e[t]>=0})}const Ji={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,i=e.name,n=t.rects.reference,s=t.rects.popper,a=t.modifiersData.preventOverflow,r=Ii(t,{elementContext:"reference"}),o=Ii(t,{altBoundary:!0}),l=Gi(r,n),c=Gi(o,s,a),u=Zi(l),d=Zi(c);t.modifiersData[i]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}};var Xi=Oi({defaultModifiers:[Pi,Ri,zi,Fi,Hi,Yi,Ki,Qi,Ji]});const en={"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 tn(e,t){return e.getAttribute(t)||e.getAttribute("data-aui-"+t)}function nn(e){return tn(e,"alignment")||"right middle"}function sn(e){let[t,i]=nn(e).split(" ");return{side:t,snap:i}}function an(e){let t=function(e){let t=tn(e,"alignment-container")||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){let n=t.getBoundingClientRect();e.getBoundingClientRect().left-n.left>(n.right-n.left)/2&&(i="right")}return i}function rn(e,t){const i=sn(e);let n;return i.snap&&"auto"!==i.snap?n=function(e){const t=nn(e);return en[t]||"right"}(e):(i.snap=an(t),n="submenu"===i.side?en[("right"===i.snap?"left":"right")+" top"]:en[`${i.side} ${i.snap}`]),n}const on={auto:[],top:["top","bottom"],right:["right","left"],bottom:["bottom","top"],left:["left","right"]};function ln(e,t,i={}){const n=sn(e),s=rn(e,t),a=on[s.split("-")[0]],r=t.ownerDocument.defaultView.frameElement;this._eventListenersEnabled=!!i.hasOwnProperty("eventsEnabled")&&i.eventsEnabled,this._triggerOnEvents=!1;const o=[{name:"flip",enabled:!i.hasOwnProperty("flip")||i.flip,options:{allowedAutoPlacements:a,boundary:r||(i.hasOwnProperty("flipContainer")?i.flipContainer:"clippingParents")}},{name:"preventOverflow",enabled:!i.hasOwnProperty("preventOverflow")||i.preventOverflow,options:{padding:0,escapeWithReference:!1,rootBoundary:r?"document":i.hasOwnProperty("overflowContainer")?i.overflowContainer:"document"}},{name:"offset",enabled:i.hasOwnProperty("offset")&&!!i.offset,options:{offset:i.offset}},{name:"hide",enabled:!1},{name:"computeStyles",options:{gpuAcceleration:document.body.classList.contains("aui-alignment-use-gpu")}},{name:"eventListeners",enabled:this._eventListenersEnabled},{name:"x-placement",enabled:!0,phase:"write",requires:["computeStyles"],fn:({state:e})=>{e.elements.popper&&e.elements.popper.setAttribute("x-placement",e.placement)}},{name:"onUpdate",enabled:i.hasOwnProperty("onUpdate"),phase:"afterWrite",effect:({state:e,name:t})=>{e.modifiersData[`${t}#persistent`]={enabled:!0,fn:i.onUpdate}},fn:({state:e,name:t})=>{const i=e.modifiersData[`${t}#persistent`];return i.enabled&&i.fn(),e}},{name:"onEvents",enabled:i.hasOwnProperty("onEvents"),phase:"afterWrite",effect:({state:e,name:t})=>{e.modifiersData[`${t}#persistent`]={fn:i.onEvents}},fn:({state:e,name:t})=>{const i=e.modifiersData[`${t}#persistent`];return this._triggerOnEvents&&(this._eventListenersEnabled?i.fn.enabled&&i.fn.enabled():i.fn.disabled&&i.fn.disabled(),this._triggerOnEvents=!1),e}}];r&&t.ownerDocument!=e.ownerDocument&&o.push({name:"iframeOffset",enabled:!0,fn(e){const t=r.getBoundingClientRect(),i=window.getComputedStyle(r),n=(e,t)=>e+t,s=e=>e.map(parseFloat).filter(Boolean).reduce(n,0),a=s([t.top,i.paddingTop,i.borderTop]),o=s([t.left,i.paddingLeft,i.borderLeft]);return e.offsets.reference.left+=o,e.offsets.reference.top+=a,e.offsets.popper.left+=o,e.offsets.popper.top+=a,e}});const l={placement:s,strategy:i.hasOwnProperty("positionFixed")&&!i.positionFixed?"absolute":"fixed",modifiers:o,onFirstUpdate:i.onCreate};this.popper=Xi(t,e,l),function(e,t,i){const n="aui-alignment-side-"+t,s="aui-alignment-snap-"+i;e.classList.contains(n)||e.classList.add(n),e.classList.contains(s)||e.classList.add(s)}(e,n.side,n.snap)}ln.prototype={destroy(){return this.popper.destroy(),this},changeTarget(e){const t=e.jquery?e[0]:e;return t&&t!==this.popper.state.elements.reference&&(this.popper.state.elements.reference=t,this.popper.setOptions({})),this},scheduleUpdate(){return this.popper.update(),this},enable(){return this._eventListenersEnabled=!0,this._triggerOnEvents=!0,this.popper.setOptions({}),this},disable(){return this._eventListenersEnabled=!1,this._triggerOnEvents=!0,this.popper.setOptions({}),this}};const cn=ln;function un(e){let t=new i.Deferred;return e?setTimeout(()=>{e.parentElement||t.resolve()},12):t.reject(),t.promise()}var dn,hn,pn=0;function fn(e){if(dn=pn+++"",hn=e?e+dn:"aui-uid-"+dn,document.getElementById(hn)){if(hn=hn+"-"+(new Date).getTime(),document.getElementById(hn))throw new Error('Timestamped fallback ID "'+hn+'" exists.');return hn}return hn}l("id",fn);const gn=fn;function mn(e){return e.hasAttribute("hidden")||e.classList.contains("hidden")}function vn(e,t){e.setAttribute("aria-expanded",!!t),e.classList[t?"add":"remove"]("active","aui-dropdown2-active")}var bn="unloaded",yn="loading",wn="error";function _n(e,t){J(e).set("loading-state","success"),e.innerHTML=function(e){return e.map(function(e){var t=e.items.map(function(e){function t(t){return e[t]?`${t} ="true"`:""}function i(t){return e[t]?`${t}="${e[t]}"`:""}var n="aui-item-"+e.type;return`\n <${n} ${i("for")} ${i("href")} ${t("interactive")}\n ${t("checked")} ${t("disabled")} ${t("hidden")}>\n ${S(e.content)}\n </${n}>`}).join("");return`\n <aui-section ${e.label?`label="${e.label}"`:""}>\n ${t}\n </aui-section>`}).join("\n")}(t),Z.init(e)}function xn(e){J(e).set("loading-state",wn),J(e).set("hasErrorBeenShown",e.isVisible()),e.innerHTML=`\n <div class="aui-message aui-message-error aui-dropdown-error">\n <p>${I18n.getText("aui.dropdown.async.error")}</p>\n </div>\n `}function Cn(e){e.src&&J(e).get("loading-state")!==yn&&(!function(e){J(e).set("loading-state",yn),J(e).set("hasErrorBeenShown",!1),te(e,function(e){e.setAttribute("aria-busy","true")}),e.innerHTML=`\n <div class="aui-dropdown-loading">\n <aui-spinner size="small"></aui-spinner> ${I18n.getText("aui.dropdown.async.loading")}\n </div>\n `}(e),i.ajax(e.src).done(function(t,i,n){200===n.status?_n(e,t):xn(e)}).fail(function(){xn(e)}).always(function(){!function(e){te(e,function(e){e.setAttribute("aria-busy","false")})}(e)}))}function Tn(e,t){return i(e).find(["> ul > li","> .aui-dropdown2-section > ul > li",'> .aui-dropdown2-section > div[role="group"] > ul > li','> div > .aui-dropdown2-section > div[role="group"] > ul > li',"aui-item-link","aui-item-checkbox","aui-item-radio"].join(", ")).filter(t).children('a, button, [role="checkbox"], [role="menuitemcheckbox"], [role="radio"], [role="menuitemradio"]')}function kn(e){return Tn(e,()=>!0)}function En(e){return Tn(e,(e,t)=>!mn(t))}function An(e){kn(e).each((e,t)=>{return(i=t).setAttribute("tabindex","-1"),void((i.classList.contains("aui-dropdown2-disabled")||mn(i.parentElement))&&i.setAttribute("aria-disabled","true"));var i})}function Dn(e){e._auiAlignment&&(e._auiAlignment.destroy(),delete e._auiAlignment)}function Sn(e,t){var n=t&&t.hasSubmenu&&t.hasSubmenu(),s="submenu auto"===e.getAttribute("data-aui-alignment");!n&&s&&function(e){var t=i(e),n=t.data("previous-data-aui-alignment");n?e.setAttribute("data-aui-alignment",n):e.removeAttribute("data-aui-alignment");t.removeData("previous-data-aui-alignment"),t.data("had-data-aui-alignment-static")||e.removeAttribute("data-aui-alignment-static");t.removeData("had-data-aui-alignment-static")}(e);var a=e.hasAttribute("data-aui-alignment");n&&!s?(!function(e){var t=i(e);e.hasAttribute("data-aui-alignment")&&t.data("previous-data-aui-alignment",e.getAttribute("data-aui-alignment"));t.data("had-data-aui-alignment-static",e.hasAttribute("data-aui-alignment-static"))}(e),e.setAttribute("data-aui-alignment","submenu auto"),e.setAttribute("data-aui-alignment-static",!0)):a||(e.setAttribute("data-aui-alignment","bottom auto"),e.setAttribute("data-aui-alignment-static",!0)),Dn(e),e._auiAlignment=new cn(e,t,{flip:!1,positionFixed:!1,preventOverflow:!1,offset:t.hasSubmenu&&t.hasSubmenu()?[-3,0]:[0,3]}),e._auiAlignment.enable()}i(document).on("mousedown",".aui-dropdown2-trigger",function(){this.hasAttribute("resolved")||(Z.init(this),O("Dropdown2 lazy initialisation",{removeInVersion:"10.0.0",alternativeName:"initialisation on DOM insertion",sinceVersion:"5.8.0",extraInfo:"Dropdown2 triggers should have all necessary attributes on DOM insertion",deprecationType:"JS"})())}),i(document).on("mouseenter",".aui-dropdown2-trigger-group a, .aui-dropdown2-trigger-group button",function(e){const t=i(e.currentTarget);if(t.is(".aui-dropdown2-active"))return;if(t.closest(".aui-dropdown2").length)return;const n=t.closest(".aui-dropdown2-trigger-group"),s=n.find(".aui-dropdown2-active");s.length&&t.is(".aui-dropdown2-trigger")&&(s.blur(),t.trigger("aui-button-invoke"),e.preventDefault());const a=n.find(":focus");a.length&&t.is(".aui-dropdown2-trigger")&&a.blur()});var In=!1;function Mn(){In=!0}function Nn(e){Oe(e),e.addEventListener("aui-layer-show",function(t){e===t.target&&(!function(e){var t=i(e);["disabled","interactive","active","checked"].forEach(e=>{t.find(`.${e}`).addClass(`aui-dropdown2-${e}`)})}(e),An(e),i(e).trigger("aui-dropdown2-show"),te(e,function(t){vn(t,!0),e._returnTo=function(e,t){var i=t.getAttribute("data-dropdown2-hide-location");return document.getElementById(i)||e.parentNode}(e,t)}))}),e.addEventListener("aui-layer-hide",function(t){e===t.target&&(i(e).trigger("aui-dropdown2-hide"),e._auiAlignment&&e._auiAlignment.destroy(),e._returnTo&&e.parentNode&&e.parentNode!==e._returnTo&&e._returnTo.appendChild(e),e.classList.remove("aui-dropdown2-in-header","aui-dropdown2-in-buttons"),kn(e).removeClass("active aui-dropdown2-active"),te(e,function(e){var t;vn(e,!1),t=!0===In,In=!1,t&&e.focus()}),delete e.isSubmenu)})}function On(e){var t=i(e);function n(t){return i(t).closest(".aui-dropdown2, aui-dropdown-menu").get(0)===e}t.on("keydown",function(t){n(t.target)&&(t.keyCode===Q.DOWN?(e.focusNext(),t.preventDefault()):t.keyCode===Q.UP?(e.focusPrevious(),t.preventDefault()):t.keyCode===Q.LEFT?e.isSubmenu&&(Mn(),e.hide(),t.preventDefault()):t.keyCode===Q.ESCAPE?Mn():t.keyCode===Q.TAB&&(Mn(),e.hideAll(!1)))});t.on("click keydown",'a, button, [role="menuitem"], [role="menuitemcheckbox"], [role="checkbox"], [role="menuitemradio"], [role="radio"]',function(t){if(!n(t.target))return;const s=t.currentTarget,a=t.keyCode,r=a===Q.ENTER,o=a===Q.SPACE;r&&i(s).is("a[href], button")||"click"!==t.type&&!r&&!o||function(t){const i=t.currentTarget;if("true"===i.getAttribute("aria-disabled"))return void t.preventDefault();t.currentTarget.hasSubmenu&&t.currentTarget.hasSubmenu()||i.classList.contains("aui-dropdown2-interactive")||e.hideAll(!0)}(t)}),t.on("mouseenter",'a, button, [role="menuitem"], [role="menuitemcheckbox"], [role="checkbox"], [role="menuitemradio"], [role="radio"]',function(t){if(!n(t.target))return;let s=i(Oe(e).above()).get(0);for(;s&&s.isDropdown&&s!==e;){const e=s.getAttribute("id"),n=t.target.getAttribute("aria-controls"),a=Oe(s).above();n!==e&&Oe(s).hide(),s=i(a).get(0)}})}function Ln(e){e.classList.add("aui-dropdown2"),e.setAttribute("tabindex","-1"),e.hasAttribute("data-container")&&(e.setAttribute("data-aui-alignment-container",e.getAttribute("data-container")),e.removeAttribute("data-container")),Nn(e),On(e),i(e).on("click keydown",".aui-dropdown2-checkbox",function(e){if("click"===e.type||e.keyCode===Q.ENTER||e.keyCode===Q.SPACE){let t=this;if(e.isDefaultPrevented())return;t.isInteractive()&&e.preventDefault(),t.isEnabled()&&(t.isChecked()?t.uncheck():t.check())}}),i(e).on("click keydown",".aui-dropdown2-radio",function(e){if("click"===e.type||e.keyCode===Q.ENTER||e.keyCode===Q.SPACE){let t=this;if(e.isDefaultPrevented())return;t.isInteractive()&&e.preventDefault(),this.isEnabled()&&!1===this.isChecked()&&(i(t).closest("ul,[role=group]").find(".aui-dropdown2-checked").not(this).each(function(){this.uncheck()}),t.check())}})}i(window).on("resize",(0,pt.debounce)(function(){i(".aui-dropdown2").each(function(e,t){Z.init(t),t.isVisible()&&t.hide()})},1e3,!0));var Pn={toggle:function(e){this.isVisible()?this.hide():this.show(e)},show:function(e){const t=this;return te(t,e=>{vn(e,!1)}),e&&e.currentTarget&&e.currentTarget.classList.contains("aui-dropdown2-trigger")&&ee(t,e.currentTarget),Oe(t).show(),te(t,function(e){vn(e,!0),Sn(t,e)}),setTimeout(()=>function(e,t={}){if(t&&t.type&&-1===t.type.indexOf("mouse")){const i=t.type.indexOf("key")>-1;if(e.isSubmenu)e.focusItem(0);else if(i)if(t.keyCode===Q.UP){const t=En(e);t&&t.length&&e.focusItem(t.length-1)}else e.focusItem(0);else e.focus()}}(t,e),0),this},hide:function(){return Oe(this).hide(),this},hideAll:function(e=!0){const t=function(e){let t=Oe(e);for(;;){const e=t.below();if(!e)break;if(!e.get(0).isDropdown)break;t=Oe(e)}return t}(this);return t.isVisible()?(t.hide(),e&&te(t.el,e=>{setTimeout(()=>{e.focus()},0),ee(t.el,null)}),this):this},focusNext:function(){var e,t=En(this),i=document.activeElement;t.last()[0]!==i?(e=t.toArray().indexOf(i),this.focusItem(t.get(e+1))):this.focusItem(0)},focusPrevious:function(){var e,t=En(this),i=document.activeElement;t.first()[0]!==i?(e=t.toArray().indexOf(i),this.focusItem(t.get(e-1))):this.focusItem(t.length-1)},focusItem:function(e){const t=En(this);"number"==typeof e&&(e=t.get(e));const n=i(e);n.focus(),t.removeClass("active aui-dropdown2-active"),n.addClass("active aui-dropdown2-active")},isVisible:function(){return Oe(this).isVisible()},isDropdown:!0},Rn={created:function(e){var t=e.children[0];t.setAttribute("aria-disabled","true"),t.classList.add("disabled","aui-dropdown2-disabled")},removed:function(e){var t=e.children[0];t.setAttribute("aria-disabled","false"),t.classList.remove("disabled","aui-dropdown2-disabled")}},$n={created:function(e){e.children[0].classList.add("interactive","aui-dropdown2-interactive")},removed:function(e){e.children[0].classList.remove("interactive","aui-dropdown2-interactive")}},jn={created:function(e){var t=e.children[0];t.classList.add("checked","aui-dropdown2-checked"),t.setAttribute("aria-checked",!0),e.dispatchEvent(new ve("change",{bubbles:!0}))},removed:function(e){var t=e.children[0];t.classList.remove("checked","aui-dropdown2-checked"),t.setAttribute("aria-checked",!1),e.dispatchEvent(new ve("change",{bubbles:!0}))}},zn={created:function(e){Rn.created(e)},removed:function(e){Rn.removed(e)}},Fn=function(e){return{fallback:function(t,i){t.children[0].setAttribute(e,i.newValue)},removed:function(t){t.children[0].removeAttribute(e)}}};const Hn=function(e=""){return e.split(" ").map(e=>e.trim()).filter(e=>e)},Bn=Z("aui-item-link",{template:Ye()('<a role="menuitem" tabindex="-1"><content></content></a>'),attributes:{disabled:Rn,interactive:$n,hidden:zn,href:Fn("href"),"item-id":Fn("id"),for:{created:function(e){var t=e.children[0];t.setAttribute("aria-controls",e.getAttribute("for")),i(t).addClass("aui-dropdown2-sub-trigger")},updated:function(e){e.children[0].setAttribute("aria-controls",e.getAttribute("for"))},removed:function(e){var t=e.children[0];t.removeAttribute("aria-controls"),i(t).removeClass("aui-dropdown2-sub-trigger")}},"extra-classes":function(e,t){const i=e.children[0];t.oldValue&&i.classList.remove(...Hn(t.oldValue)),t.newValue&&i.classList.add(...Hn(t.newValue))}}}),[Un,Wn]=["checkbox","radio"].map(e=>Z(`aui-item-${e}`,{template:Ye()(`<span role="menuitem${e}" class="aui-dropdown2-${e}" tabindex="-1"><content></content></span>`),attributes:{"item-id":Fn("id"),disabled:Rn,interactive:$n,checked:jn,hidden:zn}})),Vn=Z("aui-section",{template:Ye()('\n <span aria-hidden="true" class="aui-dropdown2-heading"></span>\n <div class="aui-dropdown2-item-group" role="group">\n <content></content>\n </div>\n '),attributes:{label:function(e,t){const i=gn();var n=e.children[0],s=e.children[1];n.textContent=t.newValue,n.id=i,s.setAttribute("aria-labelledby",i)}},created:function(e){e.classList.add("aui-dropdown2-section")}}),Yn=Z("aui-dropdown-menu",{created:function(e){e.setAttribute("role","menu"),e.className="aui-dropdown2",Oe(e),J(e).set("loading-state",bn),Z.init(e)},detached:function(e){un(e).then(()=>Dn(e))},attributes:{src:{}},prototype:Pn,events:{"aui-layer-show":function(e){var t=J(e).get("loading-state")===bn,i=J(e).get("hasErrorBeenShown");(t||i)&&Cn(e),J(e).get("loading-state")===wn&&J(e).set("hasErrorBeenShown",!0)}}});Z("aui-dropdown2",{type:Z.type.CLASSNAME,created:Ln,prototype:Pn}),Z("data-aui-dropdown2",{type:Z.type.ATTRIBUTE,created:Ln,prototype:Pn}),Z("aui-dropdown2-trigger",{type:Z.type.CLASSNAME,created:function(e){let t=e.getAttribute("aria-controls");function n(n,s=!1){if(n.currentTarget!==e)return;if(n.preventDefault(),!e.isEnabled())return;const a=document.getElementById(t);if(!a)return void m('Could not find a dropdown with id "'+t+'" in the DOM.');const r=i(e);return r.parent().hasClass("aui-buttons")&&a.classList.add("aui-dropdown2-in-buttons"),r.parents().hasClass("aui-header")&&a.classList.add("aui-dropdown2-in-header"),s?a.show(n):a.toggle(n),a.isSubmenu=e.hasSubmenu(),a}t||(t=e.getAttribute("aria-owns"),t?(e.removeAttribute("aria-owns"),e.setAttribute("aria-controls",t)):m('Dropdown triggers need either a "aria-owns" or "aria-controls" attribute')),e.setAttribute("aria-haspopup",!0),e.setAttribute("aria-expanded",!1),"A"===e.nodeName&&!e.href&&e.setAttribute("href",`#${t}`),i(e).on("aui-button-invoke",n).on("click",n).on("keydown",function(t){if(t.currentTarget!==e)return;const i=t.keyCode===Q.ENTER||t.keyCode===Q.SPACE,s=t.keyCode===Q.RIGHT&&e.hasSubmenu(),a=(t.keyCode===Q.UP||t.keyCode===Q.DOWN)&&!e.hasSubmenu();i?n(t):(a||s)&&n(t,document.activeElement===e)}).on("mouseenter",function(i){if(i.currentTarget!==e)return;if(i.preventDefault(),!e.isEnabled())return;const n=document.getElementById(t);if(n)return function(e){var t=J(e).get("loading-state")===bn,i=J(e).get("hasErrorBeenShown");(t||i&&!e.isVisible())&&Cn(e)}(n),e.hasSubmenu()&&(n.show(i),n.isSubmenu=e.hasSubmenu()),n;m('Could not find a dropdown with id "'+t+'" in the DOM.')})},prototype:{disable:function(){this.setAttribute("aria-disabled","true"),this.classList.add("disabled","aui-dropdown2-disabled")},enable:function(){this.setAttribute("aria-disabled","false"),this.classList.remove("disabled","aui-dropdown2-disabled")},isEnabled:function(){return"true"!==this.getAttribute("aria-disabled")&&!1===this.classList.contains("aui-dropdown2-disabled")},hasSubmenu:function(){return this.classList.contains("aui-dropdown2-sub-trigger")}}}),Z("aui-dropdown2-sub-trigger",{type:Z.type.CLASSNAME,created:function(e){e.classList.add("aui-dropdown2-trigger"),Z.init(e)}}),["checkbox","radio"].map(e=>Z(`aui-dropdown2-${e}`,{type:Z.type.CLASSNAME,created:function(t){const i="true"===t.getAttribute("aria-checked")||t.classList.contains("checked")||t.classList.contains("aui-dropdown2-checked");t.classList[i?"add":"remove"]("checked","aui-dropdown2-checked"),t.setAttribute("aria-checked",i),t.setAttribute("tabindex","0"),Pt&&t.setAttribute("role",`menuitem${e}`)},prototype:{isEnabled:function(){return"true"!==this.getAttribute("aria-disabled")},isChecked:function(){return"true"===this.getAttribute("aria-checked")},isInteractive:function(){return this.classList.contains("aui-dropdown2-interactive")},uncheck:function(){this.parentNode.tagName.toLowerCase()===`aui-item-${e}`&&this.parentNode.removeAttribute("checked"),i(this).attr("aria-checked","false").removeClass("checked aui-dropdown2-checked").trigger("aui-dropdown2-item-uncheck")},check:function(){this.parentNode.tagName.toLowerCase()===`aui-item-${e}`&&this.parentNode.setAttribute("checked",""),i(this).attr("aria-checked","true").addClass("checked aui-dropdown2-checked").trigger("aui-dropdown2-item-check")}}}));const qn={"aria-expanded":O("Expander [aria-expanded] attribute",{removeInVersion:"10.0.0",sinceVersion:"9.9.0",deprecationType:"ARIA ATTRIBUTE",extraInfo:'The "aria-expanded" attribute will no longer act as an indicator for the expander if it needs to be expanded. Please update the expander in accordance with AUI guidelines.'}),"replace-selector":O("Expander [data-replace-selector] attribute",{removeInVersion:"10.0.0",sinceVersion:"9.9.0",deprecationType:"DATA ATTRIBUTE",extraInfo:'The attribute "data-replace-selector" will no longer have any functionality. It is recommended to update the expander following AUI guidelines.'}),"short-content":O("Expander [.aui-expander-short-content]",{removeInVersion:"10.0.0",sinceVersion:"9.9.0",deprecationType:"EXPANDER CLASS (PATTERN)"})},Kn=e=>{const t=i(`#${e.attr("aria-controls")}`),n=t.parent().is(e),s=n?e.find(".aui-expander-short-content"):null;return t.attr("aria-expanded")&&(qn["aria-expanded"](),"true"===t.attr("aria-expanded")&&t.addClass("expanded"),t.removeAttr("aria-expanded")),{$content:t,isTriggerParent:n,$shortContent:s,isExpanded:t.hasClass("expanded"),height:t.css("min-height"),isCollapsible:!1!==e.data("collapsible"),textReplacement:e.attr("data-replace-text")}};const Qn=(e,t)=>{if(!t)return;const i=e.data("replace-selector");if(i){qn["replace-selector"]();const n=e.find(i);return e.attr("data-replace-text",n.text()),void n.text(t)}const n=e.find(":not(:has(*)):first"),s=n.length?n:e;e.attr("data-replace-text",s.text()),s.text(t)},Gn={"aui-expander-invoke":function(e){const t=i(e.currentTarget),{isCollapsible:n,isExpanded:s}=Kn(t);s&&n?t.trigger("aui-expander-collapse"):t.trigger("aui-expander-expand")},"aui-expander-expand":function(e){!function(e){const{$content:t,isTriggerParent:i,$shortContent:n,textReplacement:s}=Kn(e);e.attr("aria-expanded","true"),t.addClass("expanded"),t.removeAttr("hidden"),Qn(e,s),i&&n.hide(),e.trigger("aui-expander-expanded")}(i(e.currentTarget))},"aui-expander-collapse":function(e){!function(e){const{$content:t,isTriggerParent:i,$shortContent:n,textReplacement:s}=Kn(e);Qn(e,s),e.attr("aria-expanded","false"),t.removeClass("expanded"),i&&n.show(),0===t.outerHeight()&&t.attr("hidden",""),e.trigger("aui-expander-collapsed")}(i(e.currentTarget))},"click.aui-expander":function(e){i(e.currentTarget).trigger("aui-expander-invoke",e.currentTarget)}};i(document).on(Gn,".aui-expander-trigger"),i(document).ready(function(){i(".aui-expander-trigger").each(function(){!function(e){const{$content:t,isTriggerParent:i,isExpanded:n}=Kn(e);e.data("replace-selector")&&qn["replace-selector"](),t.attr("aria-expanded")&&(qn["aria-expanded"](),"true"===t.attr("aria-expanded")&&t.addClass("expanded"),t.removeAttr("aria-expanded")),(i?e.find(".aui-expander-short-content"):null)&&qn["short-content"](),0===t.outerHeight()&&!n&&t.attr("hidden",""),e.attr("aria-expanded",n?"true":"false")}(i(this))})});function Zn(e,t,n){i(e||".aui-message.aui-remove-on-hide").each(function(){Xn(i(this),t,n)})}function Jn(e){i(e||"div.aui-message.closeable").each(function(){const e=i(this),t=e.find(kt),n=t.length>0?t.first():i(Et);var s;e.addClass("closeable"),e.append(n),(s=e).unbind("click.aui-message").unbind("keydown.aui-message"),s.on("click.aui-message",kt,function(e){i(e.target).closest(".aui-message").closeMessage()}).on("keydown.aui-message",kt,function(e){e.which!==Q.ENTER&&e.which!==Q.SPACE||(i(e.target).closest(".aui-message").closeMessage(),e.preventDefault())})})}function Xn(e,t,n){t=void 0!==t?t:5e3,n=void 0!==n?n:500,i(e||"div.aui-message.fadeout").each(function(){const e=i(this);let s=!1,a=!1;function r(){e.stop(!0,!1).delay(t).fadeOut(n,function(){e.closeMessage()})}function o(){e.stop(!0,!1).fadeTo(100,1)}function l(){return!s&&!a}e.focusin(function(){s=!0,o()}).focusout(function(){s=!1,l()&&r()}).hover(function(){a=!0,o()},function(){a=!1,l()&&r()}),r()})}const es={setup:function(){Zn(),Jn(),Xn()},makeRemoveOnHide:Zn,makeCloseable:Jn,makeFadeout:Xn,createMessage:function(e){this[e]=function(t,n){n||(n=t,t="#aui-message-bar"),n.closeable=null!==n.closeable&&!1!==n.closeable,n.title=(n.title||"").toString().trim();let s=function(e,t){const{id:n,closeable:s,removeOnHide:a,fadeout:r,title:o,body:l}=e,c=function(e,t){const{a11yTypeLabel:i}=e;if(""===i)return"";if(null!=i)return i;if(null==i)switch(t){case"error":return I18n.getText("aui.messagecomponent.error.label");case"warning":return I18n.getText("aui.messagecomponent.warning.label");case"info":return I18n.getText("aui.messagecomponent.info.label");case"confirmation":return I18n.getText("aui.messagecomponent.confirmation.label");case"change":return I18n.getText("aui.messagecomponent.change.label");case"generic":case"success":case"hint":return"";default:throw Error(`Provide \`a11yTypeLabel\` for AUI message of custom type ${t}`)}}(e,t),u=c?`<strong hidden>${c}: </strong>`:"",d=n?`${n}-title`:"",h=o?`<p class="title" ${d?`id="${d}" aria-hidden="true"`:""}>${u}<strong>${S(o)}</strong></p>`:"",p=`<div class="aui-message" role="note" ${d?`aria-labelledby="${d}"`:""}>${h}</div>`,f=i(p).append(i.parseHTML(l||"")).addClass(a?"aui-remove-on-hide":"").addClass(s?"closeable":"").addClass(r?"fadeout":"").addClass(`aui-message-${t}`);n&&(/[#'".\s]/g.test(n)?g("Messages error: ID rejected, must not include spaces, hashes, dots or quotes."):f.attr("id",n));return f}(n,e);return function(e,t,i){"prepend"===t?e.prependTo(i):"before"===t?e.insertBefore(i):"after"===t?e.insertAfter(i):e.appendTo(i)}(s,n.insert,t),n.removeOnHide&&(console.warn&&console.warn("Use of AUI Message `removeOnHide` is deprecated due to accessibility reasons and will be removed in AUI 10.0.0."),Zn(s,n.delay,n.duration)),n.closeable&&Jn(s),n.fadeout&&(console.warn&&console.warn("Use of AUI Message `fadeout` is deprecated due to accessibility reasons and will be removed in AUI 10.0.0."),Xn(s,n.delay,n.duration)),s}}};i.fn.closeMessage=function(){const e=i(this);e.hasClass("aui-message")&&(e.hasClass("closeable")||e.hasClass("aui-remove-on-hide"))&&(e.stop(!0),e.trigger("messageClose",[this]),e.remove(),i(document).trigger("aui-message-close",[this]))},es.createMessage("generic"),es.createMessage("error"),es.createMessage("warning"),es.createMessage("info"),es.createMessage("confirmation"),es.createMessage("change"),es.createMessage("success"),es.createMessage("hint");const ts=Z("aui-message",{created:function(e){const t=e.innerHTML,i=e.getAttribute("type")||"info";e.innerHTML="",es[i](e,{body:t,id:e.getAttribute("id"),a11yTypeLabel:e.getAttribute("a11yTypeLabel"),removeOnHide:e.getAttribute("removeOnHide"),closeable:e.getAttribute("closeable"),delay:e.getAttribute("delay"),duration:e.getAttribute("duration"),fadeout:e.getAttribute("fadeout"),title:e.getAttribute("title")}),e.setAttribute("role","none")}});i(function(){es.setup()}),j(es,"makeCloseable",{extraInfo:'Use the "closeable" option in the constructor instead. Docs: https://aui.atlassian.com/latest/docs/messages.html'}),j(es,"createMessage",{extraInfo:"Use the provided convenience methods instead e.g. messages.info(). Docs: https://aui.atlassian.com/latest/docs/messages.html"}),j(es,"makeRemoveOnHide",{extraInfo:"Use of the `makeRemoveOnHide` option is deprecated due to accessibility reasons. Docs: https://aui.atlassian.com/latest/docs/messages.html"}),j(es,"makeFadeout",{extraInfo:"Use of the `fadeout` option is deprecated due to accessibility reasons. Docs: https://aui.atlassian.com/latest/docs/messages.html"}),j(es,"generic",{extraInfo:"use the messages.info() method instead. Docs: https://aui.atlassian.com/latest/docs/messages.html"}),j(es,"hint",{extraInfo:"use the messages.info() method instead. Docs: https://aui.atlassian.com/latest/docs/messages.html"}),j(es,"success",{extraInfo:"use the messages.confirmation() method instead. Docs: https://aui.atlassian.com/latest/docs/messages.html"}),l("messages",es);const is='a[href], area[href], input:not([disabled]):not([type="hidden"]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex="0"], [contenteditable], audio[controls], video[controls], summary, [tabindex^="0"], [tabindex^="1"], [tabindex^="2"], [tabindex^="3"], [tabindex^="4"], [tabindex^="5"], [tabindex^="6"], [tabindex^="7"], [tabindex^="8"], [tabindex^="9"]',ns="aui-flag-container",ss={body:"",close:"manual",title:"",type:"info",duration:8e3,ariaLive:"polite"};function as(e){const t=(0,pt.defaults)(e,ss);t.title=(t.title||"").toString().trim();const n=function({body:e,title:t,close:n,type:s,ariaLive:a,ariaLabel:r,ariaDescription:o}){const l=`<div class="aui-message">${t?`<p class="title"><strong>${S(t)}</strong></p>`:""}</div>`;r||(r=function(e){switch(e){case"success":return I18n.getText("aui.flag.default-aria-label.success");case"warning":return I18n.getText("aui.flag.default-aria-label.warning");case"error":return I18n.getText("aui.flag.default-aria-label.error");default:return I18n.getText("aui.flag.default-aria-label.info")}}(s));o||(o="");const c=i(l).append(i.parseHTML(e||"")).addClass("never"===n?"":"closeable").addClass(`aui-message-${s}`),u=c.find(is).length>0,d=u?"alertdialog":"alert";return i('<div class="aui-flag"></div>').attr({"aria-label":S(r),"aria-hidden":"false","aria-live":S(a),role:d,...u?{"data-aui-focus-selector":is.split(", ").map(e=>`.aui-message ${e}`).join(", "),"data-aui-focus":"true"}:{},...o?{"aria-description":S(o)}:{}}).append(c)}(t);return function(e){const t=e[0];t.close=function(){os(e)}}(n),"auto"===t.close?(rs(n),"alert"===n.attr("role")&&function(e,t){e.find(".aui-message").addClass("aui-will-close"),setTimeout(function(){e[0].close()},t)}(n,t.duration)):"manual"===t.close&&rs(n),function(){const e=ls();if(e){const t=e.querySelectorAll(".aui-flag:not([open])");Array.from(t).map(e=>e.parentNode.removeChild(e))}else i("body").prepend('<div id="'+ns+'"></div>')}(),function(e){const t=ls();e.appendTo(t),U(e),e.removeAttr("hidden").attr("open","")}(n),setTimeout(function(){"alertdialog"===n.attr("role")&&fe.global.enter(n)},0),n.get(0)}function rs(e){const t=i(Et);return t.on("click",function(){os(e)}),t.on("keypress",function(t){t.which!==Q.ENTER&&t.which!==Q.SPACE||(os(e),t.preventDefault())}),e.find(".aui-message").append(t)[0]}function os(e){const t=e.get(0);return"alertdialog"===e.attr("role")&&fe.global.exit(e),t.removeAttribute("open"),t.setAttribute("inert",""),t.setAttribute("aria-hidden",!0),t.style.display="none",t.dispatchEvent(new ve("aui-flag-close",{bubbles:!0})),t}function ls(){return document.getElementById(ns)}G("aui/flag",as),l("flag",as);const cs=as;
|
|
104
|
+
!function(e){"use strict";e.extend({tablesorter:new function(){var t=this;function i(){var e=arguments[0],t=arguments.length>1?Array.prototype.slice.call(arguments):e;"undefined"!=typeof console&&void 0!==console.log?console[/error/i.test(e)?"error":/warn/i.test(e)?"warn":"log"](t):alert(t)}function n(e,t){i(e+" ("+((new Date).getTime()-t.getTime())+"ms)")}function s(e){for(var t in e)return!1;return!0}function a(i,n,s){if(!n)return"";var a,r=i.config,o=r.textExtraction||"",l="";return l="basic"===o?e(n).attr(r.textAttribute)||n.textContent||n.innerText||e(n).text()||"":"function"==typeof o?o(n,i,s):"function"==typeof(a=t.getColumnData(i,o,s))?a(n,i,s):n.textContent||n.innerText||e(n).text()||"",e.trim(l)}function r(e,n,s,r){for(var o,l=t.parsers.length,c=!1,u="",d=!0;""===u&&d;)n[++s]?(u=a(e,c=n[s].cells[r],r),e.config.debug&&i("Checking if value was empty on row "+s+", column: "+r+': "'+u+'"')):d=!1;for(;--l>=0;)if((o=t.parsers[l])&&"text"!==o.id&&o.is&&o.is(u,e,c))return o;return t.getParserById("text")}function o(e){var s,a,o,l,c,u,d,h,p,f,g=e.config,m=g.$tbodies=g.$table.children("tbody:not(."+g.cssInfoBlock+")"),v=0,b="",y=m.length;if(0===y)return g.debug?i("Warning: *Empty table!* Not building a parser cache"):"";for(g.debug&&(f=new Date,i("Detecting parsers for each column")),a={extractors:[],parsers:[]};v<y;){if((s=m[v].rows)[v])for(o=g.columns,l=0;l<o;l++)c=g.$headers.filter('[data-column="'+l+'"]:last'),u=t.getColumnData(e,g.headers,l),p=t.getParserById(t.getData(c,u,"extractor")),h=t.getParserById(t.getData(c,u,"sorter")),d="false"===t.getData(c,u,"parser"),g.empties[l]=(t.getData(c,u,"empty")||g.emptyTo||(g.emptyToBottom?"bottom":"top")).toLowerCase(),g.strings[l]=(t.getData(c,u,"string")||g.stringTo||"max").toLowerCase(),d&&(h=t.getParserById("no-parser")),p||(p=!1),h||(h=r(e,s,-1,l)),g.debug&&(b+="column:"+l+"; extractor:"+p.id+"; parser:"+h.id+"; string:"+g.strings[l]+"; empty: "+g.empties[l]+"\n"),a.parsers[l]=h,a.extractors[l]=p;v+=a.parsers.length?y:1}g.debug&&(i(b||"No parsers detected"),n("Completed detecting parsers",f)),g.parsers=a.parsers,g.extractors=a.extractors}function l(s){var r,o,l,c,u,d,h,p,f,g,m,v,b,y=s.config,w=y.$table.children("tbody"),_=y.extractors,x=y.parsers;if(y.cache={},y.totalRows=0,!x)return y.debug?i("Warning: *Empty table!* Not building a cache"):"";for(y.debug&&(g=new Date),y.showProcessing&&t.isProcessing(s,!0),h=0;h<w.length;h++)if(b=[],r=y.cache[h]={normalized:[]},!w.eq(h).hasClass(y.cssInfoBlock)){for(m=w[h]&&w[h].rows.length||0,u=0;u<m;++u)if(v={child:[]},p=e(w[h].rows[u]),[new Array(y.columns)],f=[],p.hasClass(y.cssChildRow)&&0!==u)o=r.normalized.length-1,r.normalized[o][y.columns].$row=r.normalized[o][y.columns].$row.add(p),p.prev().hasClass(y.cssChildRow)||p.prev().addClass(t.css.cssHasChild),v.child[o]=e.trim(p[0].textContent||p[0].innerText||p.text()||"");else{for(v.$row=p,v.order=u,d=0;d<y.columns;++d)void 0!==x[d]?(o=a(s,p[0].cells[d],d),l=void 0===_[d].id?o:_[d].format(o,s,p[0].cells[d],d),c="no-parser"===x[d].id?"":x[d].format(l,s,p[0].cells[d],d),f.push(y.ignoreCase&&"string"==typeof c?c.toLowerCase():c),"numeric"===(x[d].type||"").toLowerCase()&&(b[d]=Math.max(Math.abs(c)||0,b[d]||0))):y.debug&&i("No parser found for cell:",p[0].cells[d],"does it have a header?");f[y.columns]=v,r.normalized.push(f)}r.colMax=b,y.totalRows+=r.normalized.length}y.showProcessing&&t.isProcessing(s),y.debug&&n("Building cache for "+m+" rows",g)}function c(i,a){var r,o,l,c,u,d,h,p=i.config,f=p.widgetOptions,g=i.tBodies,m=[],v=p.cache;if(s(v))return p.appender?p.appender(i,m):i.isUpdating?p.$table.trigger("updateComplete",i):"";for(p.debug&&(h=new Date),d=0;d<g.length;d++)if((l=e(g[d])).length&&!l.hasClass(p.cssInfoBlock)){for(c=t.processTbody(i,l,!0),o=(r=v[d].normalized).length,u=0;u<o;u++)m.push(r[u][p.columns].$row),p.appender&&(!p.pager||p.pager.removeRows&&f.pager_removeRows||p.pager.ajax)||c.append(r[u][p.columns].$row);t.processTbody(i,c,!1)}p.appender&&p.appender(i,m),p.debug&&n("Rebuilt table",h),a||p.appender||t.applyWidget(i),i.isUpdating&&p.$table.trigger("updateComplete",i)}function u(e){return/^d/i.test(e)||1===e}function d(s){var a,r,o,l,c,d,h,f=s.config;f.headerList=[],f.headerContent=[],f.debug&&(h=new Date),f.columns=t.computeColumnIndex(f.$table.children("thead, tfoot").children("tr")),l=f.cssIcon?'<i class="'+(f.cssIcon===t.css.icon?t.css.icon:f.cssIcon+" "+t.css.icon)+'"></i>':"",f.$headers=e(s).find(f.selectorHeaders).each(function(i){r=e(this),a=t.getColumnData(s,f.headers,i,!0),f.headerContent[i]=e(this).html(),""!==f.headerTemplate&&(c=f.headerTemplate.replace(/\{icon\}/g,l).replace(/\{content\}/g,e(this).html()),f.onRenderTemplate&&(o=f.onRenderTemplate.apply(r,[i,c]))&&"string"==typeof o&&(c=o),e(this).html('<div class="'+t.css.headerIn+'">'+c+"</div>")),f.onRenderHeader&&f.onRenderHeader.apply(r,[i]),this.column=parseInt(e(this).attr("data-column"),10),this.order=u(t.getData(r,a,"sortInitialOrder")||f.sortInitialOrder)?[1,0,2]:[0,1,2],this.count=-1,this.lockedOrder=!1,void 0!==(d=t.getData(r,a,"lockedOrder")||!1)&&!1!==d&&(this.order=this.lockedOrder=u(d)?[1,1,1]:[0,0,0]),r.addClass(t.css.header+" "+f.cssHeader),f.headerList[i]=this,r.parent().addClass(t.css.headerRow+" "+f.cssHeaderRow).attr("role","row"),f.tabIndex&&r.attr("tabindex",0)}).attr({scope:"col",role:"columnheader"}),p(s),f.debug&&(n("Built headers:",h),i(f.$headers))}function h(e,t,i){var n=e.config;n.$table.find(n.selectorRemove).remove(),o(e),l(e),y(n.$table,t,i)}function p(i){var n,s,a,r=i.config;r.$headers.each(function(o,l){s=e(l),a=t.getColumnData(i,r.headers,o,!0),n="false"===t.getData(l,a,"sorter")||"false"===t.getData(l,a,"parser"),l.sortDisabled=n,s[n?"addClass":"removeClass"]("sorter-false").attr("aria-disabled",""+n),i.id&&(n?s.removeAttr("aria-controls"):s.attr("aria-controls",i.id))})}function f(i){var n,s,a,r=i.config,o=r.sortList,l=o.length,c=t.css.sortNone+" "+r.cssNone,u=[t.css.sortAsc+" "+r.cssAsc,t.css.sortDesc+" "+r.cssDesc],d=["ascending","descending"],h=e(i).find("tfoot tr").children().add(r.$extraHeaders).removeClass(u.join(" "));for(r.$headers.removeClass(u.join(" ")).addClass(c).attr("aria-sort","none"),s=0;s<l;s++)if(2!==o[s][1]&&(n=r.$headers.not(".sorter-false").filter('[data-column="'+o[s][0]+'"]'+(1===l?":last":""))).length){for(a=0;a<n.length;a++)n[a].sortDisabled||n.eq(a).removeClass(c).addClass(u[o[s][1]]).attr("aria-sort",d[o[s][1]]);h.length&&h.filter('[data-column="'+o[s][0]+'"]').removeClass(c).addClass(u[o[s][1]])}r.$headers.not(".sorter-false").each(function(){var i=e(this),n=this.order[(this.count+1)%(r.sortReset?3:2)],s=i.text()+": "+t.language[i.hasClass(t.css.sortAsc)?"sortAsc":i.hasClass(t.css.sortDesc)?"sortDesc":"sortNone"]+t.language[0===n?"nextAsc":1===n?"nextDesc":"nextNone"];i.attr("aria-label",s)})}function g(e,t){return e&&e[t]&&e[t].type||""}function m(i,n,s){if(i.isUpdating)return setTimeout(function(){m(i,n,s)},50);var a,r,o,l,u,d=i.config,h=!s[d.sortMultiSortKey],p=d.$table;if(p.trigger("sortStart",i),n.count=s[d.sortResetKey]?2:(n.count+1)%(d.sortReset?3:2),d.sortRestart&&(r=n,d.$headers.each(function(){this===r||!h&&e(this).is("."+t.css.sortDesc+",."+t.css.sortAsc)||(this.count=-1)})),r=n.column,h){if(d.sortList=[],null!==d.sortForce)for(a=d.sortForce,o=0;o<a.length;o++)a[o][0]!==r&&d.sortList.push(a[o]);if((l=n.order[n.count])<2&&(d.sortList.push([r,l]),n.colSpan>1))for(o=1;o<n.colSpan;o++)d.sortList.push([r+o,l])}else{if(d.sortAppend&&d.sortList.length>1)for(o=0;o<d.sortAppend.length;o++)(u=t.isValueInArray(d.sortAppend[o][0],d.sortList))>=0&&d.sortList.splice(u,1);if(t.isValueInArray(r,d.sortList)>=0)for(o=0;o<d.sortList.length;o++)u=d.sortList[o],l=d.$headers.filter('[data-column="'+u[0]+'"]:last')[0],u[0]===r&&(u[1]=l.order[n.count],2===u[1]&&(d.sortList.splice(o,1),l.count=-1));else if((l=n.order[n.count])<2&&(d.sortList.push([r,l]),n.colSpan>1))for(o=1;o<n.colSpan;o++)d.sortList.push([r+o,l])}if(null!==d.sortAppend)for(a=d.sortAppend,o=0;o<a.length;o++)a[o][0]!==r&&d.sortList.push(a[o]);p.trigger("sortBegin",i),setTimeout(function(){f(i),v(i),c(i),p.trigger("sortEnd",i)},1)}function v(e){var i,a,r,o,l,c,u,d,h,p,f=0,m=e.config,v=m.textSorter||"",b=m.sortList,y=b.length,w=e.tBodies.length;if(!m.serverSideSorting&&!s(m.cache)){for(m.debug&&(l=new Date),a=0;a<w;a++)c=m.cache[a].colMax,m.cache[a].normalized.sort(function(n,s){for(i=0;i<y;i++){if(o=b[i][0],u=b[i][1],f=0===u,m.sortStable&&n[o]===s[o]&&1===y)return n[m.columns].order-s[m.columns].order;if((r=/n/i.test(g(m.parsers,o)))&&m.strings[o]?(r="boolean"==typeof m.string[m.strings[o]]?(f?1:-1)*(m.string[m.strings[o]]?-1:1):m.strings[o]&&m.string[m.strings[o]]||0,d=m.numberSorter?m.numberSorter(n[o],s[o],f,c[o],e):t["sortNumeric"+(f?"Asc":"Desc")](n[o],s[o],r,c[o],o,e)):(h=f?n:s,p=f?s:n,d="function"==typeof v?v(h[o],p[o],f,o,e):"object"==typeof v&&v.hasOwnProperty(o)?v[o](h[o],p[o],f,o,e):t["sortNatural"+(f?"Asc":"Desc")](n[o],s[o],o,e,m)),d)return d}return n[m.columns].order-s[m.columns].order});m.debug&&n("Sorting on "+b.toString()+" and dir "+u+" time",l)}}function b(t,i){var n=t[0];n.isUpdating&&t.trigger("updateComplete",n),e.isFunction(i)&&i(t[0])}function y(e,i,n){var s=e[0].config.sortList;!1!==i&&!e[0].isProcessing&&s.length?e.trigger("sorton",[s,function(){b(e,n)},!0]):(b(e,n),t.applyWidget(e[0],!1))}function w(i){var n=i.config,r=n.$table;r.unbind("sortReset update updateRows updateCell updateAll addRows updateComplete sorton appendCache updateCache applyWidgetId applyWidgets refreshWidgets destroy mouseup mouseleave ".split(" ").join(n.namespace+" ")).bind("sortReset"+n.namespace,function(t,s){t.stopPropagation(),n.sortList=[],f(i),v(i),c(i),e.isFunction(s)&&s(i)}).bind("updateAll"+n.namespace,function(e,s,a){e.stopPropagation(),i.isUpdating=!0,t.refreshWidgets(i,!0,!0),t.restoreHeaders(i),d(i),t.bindEvents(i,n.$headers,!0),w(i),h(i,s,a)}).bind("update"+n.namespace+" updateRows"+n.namespace,function(e,t,n){e.stopPropagation(),i.isUpdating=!0,p(i),h(i,t,n)}).bind("updateCell"+n.namespace,function(t,s,o,l){t.stopPropagation(),i.isUpdating=!0,r.find(n.selectorRemove).remove();var c,u,d,h,p=r.find("tbody"),f=e(s),g=p.index(e.fn.closest?f.closest("tbody"):f.parents("tbody").filter(":first")),m=e.fn.closest?f.closest("tr"):f.parents("tr").filter(":first");s=f[0],p.length&&g>=0&&(d=p.eq(g).find("tr").index(m),h=f.index(),n.cache[g].normalized[d][n.columns].$row=m,u=void 0===n.extractors[h].id?a(i,s,h):n.extractors[h].format(a(i,s,h),i,s,h),c="no-parser"===n.parsers[h].id?"":n.parsers[h].format(u,i,s,h),n.cache[g].normalized[d][h]=n.ignoreCase&&"string"==typeof c?c.toLowerCase():c,"numeric"===(n.parsers[h].type||"").toLowerCase()&&(n.cache[g].colMax[h]=Math.max(Math.abs(c)||0,n.cache[g].colMax[h]||0)),y(r,o,l))}).bind("addRows"+n.namespace,function(t,l,c,u){if(t.stopPropagation(),i.isUpdating=!0,s(n.cache))p(i),h(i,c,u);else{var d,f,g,m,v,b,w,_=(l=e(l).attr("role","row")).filter("tr").length,x=r.find("tbody").index(l.parents("tbody").filter(":first"));for(n.parsers&&n.parsers.length||o(i),d=0;d<_;d++){for(g=l[d].cells.length,w=[],b={child:[],$row:l.eq(d),order:n.cache[x].normalized.length},f=0;f<g;f++)m=void 0===n.extractors[f].id?a(i,l[d].cells[f],f):n.extractors[f].format(a(i,l[d].cells[f],f),i,l[d].cells[f],f),v="no-parser"===n.parsers[f].id?"":n.parsers[f].format(m,i,l[d].cells[f],f),w[f]=n.ignoreCase&&"string"==typeof v?v.toLowerCase():v,"numeric"===(n.parsers[f].type||"").toLowerCase()&&(n.cache[x].colMax[f]=Math.max(Math.abs(w[f])||0,n.cache[x].colMax[f]||0));w.push(b),n.cache[x].normalized.push(w)}y(r,c,u)}}).bind("updateComplete"+n.namespace,function(){i.isUpdating=!1}).bind("sorton"+n.namespace,function(n,a,o,u){var d=i.config;n.stopPropagation(),r.trigger("sortStart",this),function(t,i){var n,s,a,r,o,l=t.config,c=i||l.sortList;l.sortList=[],e.each(c,function(t,i){if(r=parseInt(i[0],10),a=l.$headers.filter('[data-column="'+r+'"]:last')[0]){switch(s=(s=(""+i[1]).match(/^(1|d|s|o|n)/))?s[0]:""){case"1":case"d":s=1;break;case"s":s=o||0;break;case"o":n=a.order[(o||0)%(l.sortReset?3:2)],s=0===n?1:1===n?0:2;break;case"n":a.count=a.count+1,s=a.order[a.count%(l.sortReset?3:2)];break;default:s=0}o=0===t?s:o,n=[r,parseInt(s,10)||0],l.sortList.push(n),s=e.inArray(n[1],a.order),a.count=s>=0?s:n[1]%(l.sortReset?3:2)}})}(i,a),f(i),d.delayInit&&s(d.cache)&&l(i),r.trigger("sortBegin",this),v(i),c(i,u),r.trigger("sortEnd",this),t.applyWidget(i),e.isFunction(o)&&o(i)}).bind("appendCache"+n.namespace,function(t,n,s){t.stopPropagation(),c(i,s),e.isFunction(n)&&n(i)}).bind("updateCache"+n.namespace,function(t,s){n.parsers&&n.parsers.length||o(i),l(i),e.isFunction(s)&&s(i)}).bind("applyWidgetId"+n.namespace,function(e,s){e.stopPropagation(),t.getWidgetById(s).format(i,n,n.widgetOptions)}).bind("applyWidgets"+n.namespace,function(e,n){e.stopPropagation(),t.applyWidget(i,n)}).bind("refreshWidgets"+n.namespace,function(e,n,s){e.stopPropagation(),t.refreshWidgets(i,n,s)}).bind("destroy"+n.namespace,function(e,n,s){e.stopPropagation(),t.destroy(i,n,s)}).bind("resetToLoadState"+n.namespace,function(){t.refreshWidgets(i,!0,!0),n=e.extend(!0,t.defaults,n.originalSettings),i.hasInitialized=!1,t.setup(i,n)})}t.version="2.17.8",t.parsers=[],t.widgets=[],t.defaults={theme:"default",widthFixed:!1,showProcessing:!1,headerTemplate:"{content}",onRenderTemplate:null,onRenderHeader:null,cancelSelection:!0,tabIndex:!0,dateFormat:"mmddyyyy",sortMultiSortKey:"shiftKey",sortResetKey:"ctrlKey",usNumberFormat:!0,delayInit:!1,serverSideSorting:!1,headers:{},ignoreCase:!0,sortForce:null,sortList:[],sortAppend:null,sortStable:!1,sortInitialOrder:"asc",sortLocaleCompare:!1,sortReset:!1,sortRestart:!1,emptyTo:"bottom",stringTo:"max",textExtraction:"basic",textAttribute:"data-text",textSorter:null,numberSorter:null,widgets:[],widgetOptions:{zebra:["even","odd"]},initWidgets:!0,initialized:null,tableClass:"",cssAsc:"",cssDesc:"",cssNone:"",cssHeader:"",cssHeaderRow:"",cssProcessing:"",cssChildRow:"tablesorter-childRow",cssIcon:"tablesorter-icon",cssInfoBlock:"tablesorter-infoOnly",selectorHeaders:"> thead th, > thead td",selectorSort:"th, td",selectorRemove:".remove-me",debug:!1,headerList:[],empties:{},strings:{},parsers:[]},t.css={table:"tablesorter",cssHasChild:"tablesorter-hasChildRow",childRow:"tablesorter-childRow",header:"tablesorter-header",headerRow:"tablesorter-headerRow",headerIn:"tablesorter-header-inner",icon:"tablesorter-icon",info:"tablesorter-infoOnly",processing:"tablesorter-processing",sortAsc:"tablesorter-headerAsc",sortDesc:"tablesorter-headerDesc",sortNone:"tablesorter-headerUnSorted"},t.language={sortAsc:"Ascending sort applied, ",sortDesc:"Descending sort applied, ",sortNone:"No sort applied, ",nextAsc:"activate to apply an ascending sort",nextDesc:"activate to apply a descending sort",nextNone:"activate to remove the sort"},t.log=i,t.benchmark=n,t.construct=function(i){return this.each(function(){var n=this,s=e.extend(!0,{},t.defaults,i);s.originalSettings=i,!n.hasInitialized&&t.buildTable&&"TABLE"!==this.tagName?t.buildTable(n,s):t.setup(n,s)})},t.setup=function(n,s){if(!n||!n.tHead||0===n.tBodies.length||!0===n.hasInitialized)return s.debug?i("ERROR: stopping initialization! No table, thead, tbody or tablesorter has already been initialized"):"";var a=new RegExp(`^(\\s*${/-?[_a-zA-Z]+[_a-zA-Z0-9-]*/.source})*\\s*$`);function r(e){return a.test(e)}var c=[];for(var u of["tableClass","cssAsc","cssDesc","cssNone","cssHeader","cssHeaderRow","cssProcessing","cssChildRow","cssIcon","cssInfoBlock"]){var h=s[u];h&&!r(h)&&(c.push(u),i(`ERROR: ${u} must contain only valid CSS class names but is '${h}'`))}if(c.length>0)return s.debug?i("ERROR: stopping initialization, see class name warnings above"):"";var p,g="",m=e(n),v=e.metadata;n.hasInitialized=!1,n.isProcessing=!0,n.config=s,e.data(n,"tablesorter",s),s.debug&&e.data(n,"startoveralltimer",new Date),s.supportsDataObject=((p=e.fn.jquery.split("."))[0]=parseInt(p[0],10),p[0]>1||1===p[0]&&parseInt(p[1],10)>=4),s.string={max:1,min:-1,emptymin:1,emptymax:-1,zero:0,none:0,null:0,top:!0,bottom:!1},s.emptyTo=s.emptyTo.toLowerCase(),s.stringTo=s.stringTo.toLowerCase(),/tablesorter\-/.test(m.attr("class"))||(g=""!==s.theme?" tablesorter-"+s.theme:""),s.table=n,s.$table=m.addClass(t.css.table+" "+s.tableClass+g).attr("role","grid"),s.$headers=m.find(s.selectorHeaders),s.namespace?s.namespace="."+s.namespace.replace(/\W/g,""):s.namespace=".tablesorter"+Math.random().toString(16).slice(2),s.$table.children().children("tr").attr("role","row"),s.$tbodies=m.children("tbody:not(."+s.cssInfoBlock+")").attr({"aria-live":"polite","aria-relevant":"all"}),s.$table.find("caption").length&&s.$table.attr("aria-labelledby","theCaption"),s.widgetInit={},s.textExtraction=s.$table.attr("data-text-extraction")||s.textExtraction||"basic",d(n),function(t){var i,n,s=t.config;s.widthFixed&&0===s.$table.find("colgroup").length&&(i=e("<colgroup>"),n=e(t).width(),e(t.tBodies).not("."+s.cssInfoBlock).find("tr:first").children(":visible").each(function(){i.append(e("<col>").css("width",parseInt(e(this).width()/n*1e3,10)/10+"%"))}),s.$table.prepend(i))}(n),o(n),s.totalRows=0,s.delayInit||l(n),t.bindEvents(n,s.$headers,!0),w(n),s.supportsDataObject&&void 0!==m.data().sortlist?s.sortList=m.data().sortlist:v&&m.metadata()&&m.metadata().sortlist&&(s.sortList=m.metadata().sortlist),t.applyWidget(n,!0),s.sortList.length>0?m.trigger("sorton",[s.sortList,{},!s.initWidgets,!0]):(f(n),s.initWidgets&&t.applyWidget(n,!1)),s.showProcessing&&m.unbind("sortBegin"+s.namespace+" sortEnd"+s.namespace).bind("sortBegin"+s.namespace+" sortEnd"+s.namespace,function(e){clearTimeout(s.processTimer),t.isProcessing(n),"sortBegin"===e.type&&(s.processTimer=setTimeout(function(){t.isProcessing(n,!0)},500))}),n.hasInitialized=!0,n.isProcessing=!1,s.debug&&t.benchmark("Overall initialization time",e.data(n,"startoveralltimer")),m.trigger("tablesorter-initialized",n),"function"==typeof s.initialized&&s.initialized(n)},t.getColumnData=function(t,i,n,s){if(null!=i){var a,r=(t=e(t)[0]).config;if(i[n])return s?i[n]:i[r.$headers.index(r.$headers.filter('[data-column="'+n+'"]:last'))];for(a in i)if("string"==typeof a&&(s?r.$headers.eq(n).filter(a):r.$headers.filter('[data-column="'+n+'"]:last').filter(a)).length)return i[a]}},t.computeColumnIndex=function(t){var i,n,s,a,r,o,l,c,u,d,h,p,f,g=[],m={},v=0;for(i=0;i<t.length;i++)for(l=t[i].cells,n=0;n<l.length;n++){for(o=l[n],r=e(o),u=(c=o.parentNode.rowIndex)+"-"+r.index(),d=o.rowSpan||1,h=o.colSpan||1,void 0===g[c]&&(g[c]=[]),s=0;s<g[c].length+1;s++)if(void 0===g[c][s]){p=s;break}for(m[u]=p,v=Math.max(p,v),r.attr({"data-column":p}),s=c;s<c+d;s++)for(void 0===g[s]&&(g[s]=[]),f=g[s],a=p;a<p+h;a++)f[a]="x"}return v+1},t.isProcessing=function(i,n,s){var a=(i=e(i))[0].config,r=s||i.find("."+t.css.header);n?(void 0!==s&&a.sortList.length>0&&(r=r.filter(function(){return!this.sortDisabled&&t.isValueInArray(parseFloat(e(this).attr("data-column")),a.sortList)>=0})),i.add(r).addClass(t.css.processing+" "+a.cssProcessing)):i.add(r).removeClass(t.css.processing+" "+a.cssProcessing)},t.processTbody=function(t,i,n){var s;if(t=e(t)[0],n)return t.isProcessing=!0,i.before('<span class="tablesorter-savemyplace"/>'),s=e.fn.detach?i.detach():i.remove();s=e(t).find("span.tablesorter-savemyplace"),i.insertAfter(s),s.remove(),t.isProcessing=!1},t.clearTableBody=function(t){e(t)[0].config.$tbodies.children().detach()},t.bindEvents=function(t,i,n){var a,r=(t=e(t)[0]).config;!0!==n&&(r.$extraHeaders=r.$extraHeaders?r.$extraHeaders.add(i):i),i.find(r.selectorSort).add(i.filter(r.selectorSort)).unbind("mousedown mouseup sort keyup ".split(" ").join(r.namespace+" ")).bind("mousedown mouseup sort keyup ".split(" ").join(r.namespace+" "),function(n,o){var c,u=n.type;if(!(1!==(n.which||n.button)&&!/sort|keyup/.test(u)||"keyup"===u&&13!==n.which||"mouseup"===u&&!0!==o&&(new Date).getTime()-a>250)){if("mousedown"===u)return a=(new Date).getTime(),/(input|select|button|textarea)/i.test(n.target.tagName)?"":!r.cancelSelection;r.delayInit&&s(r.cache)&&l(t),c=e.fn.closest?e(this).closest("th, td")[0]:/TH|TD/.test(this.tagName)?this:e(this).parents("th, td")[0],(c=r.$headers[i.index(c)]).sortDisabled||m(t,c,n)}}),r.cancelSelection&&i.attr("unselectable","on").bind("selectstart",!1).css({"user-select":"none",MozUserSelect:"none"})},t.restoreHeaders=function(i){var n=e(i)[0].config;n.$table.find(n.selectorHeaders).each(function(i){e(this).find("."+t.css.headerIn).length&&e(this).html(n.headerContent[i])})},t.destroy=function(i,n,s){if((i=e(i)[0]).hasInitialized){t.refreshWidgets(i,!0,!0);var a=e(i),r=i.config,o=a.find("thead:first"),l=o.find("tr."+t.css.headerRow).removeClass(t.css.headerRow+" "+r.cssHeaderRow),c=a.find("tfoot:first > tr").children("th, td");!1===n&&e.inArray("uitheme",r.widgets)>=0&&(a.trigger("applyWidgetId",["uitheme"]),a.trigger("applyWidgetId",["zebra"])),o.find("tr").not(l).remove(),a.removeData("tablesorter").unbind("sortReset update updateAll updateRows updateCell addRows updateComplete sorton appendCache updateCache applyWidgetId applyWidgets refreshWidgets destroy mouseup mouseleave keypress sortBegin sortEnd resetToLoadState ".split(" ").join(r.namespace+" ")),r.$headers.add(c).removeClass([t.css.header,r.cssHeader,r.cssAsc,r.cssDesc,t.css.sortAsc,t.css.sortDesc,t.css.sortNone].join(" ")).removeAttr("data-column").removeAttr("aria-label").attr("aria-disabled","true"),l.find(r.selectorSort).unbind("mousedown mouseup keypress ".split(" ").join(r.namespace+" ")),t.restoreHeaders(i),a.toggleClass(t.css.table+" "+r.tableClass+" tablesorter-"+r.theme,!1===n),i.hasInitialized=!1,delete i.config.cache,"function"==typeof s&&s(i)}},t.regex={chunk:/(^([+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?)?$|^0x[0-9a-f]+$|\d+)/gi,chunks:/(^\\0|\\0$)/,hex:/^0x[0-9a-f]+$/i},t.sortNatural=function(e,i){if(e===i)return 0;var n,s,a,r,o,l,c,u,d=t.regex;if(d.hex.test(i)){if((s=parseInt(e.match(d.hex),16))<(r=parseInt(i.match(d.hex),16)))return-1;if(s>r)return 1}for(n=e.replace(d.chunk,"\\0$1\\0").replace(d.chunks,"").split("\\0"),a=i.replace(d.chunk,"\\0$1\\0").replace(d.chunks,"").split("\\0"),u=Math.max(n.length,a.length),c=0;c<u;c++){if(o=isNaN(n[c])?n[c]||0:parseFloat(n[c])||0,l=isNaN(a[c])?a[c]||0:parseFloat(a[c])||0,isNaN(o)!==isNaN(l))return isNaN(o)?1:-1;if(typeof o!=typeof l&&(o+="",l+=""),o<l)return-1;if(o>l)return 1}return 0},t.sortNaturalAsc=function(e,i,n,s,a){if(e===i)return 0;var r=a.string[a.empties[n]||a.emptyTo];return""===e&&0!==r?"boolean"==typeof r?r?-1:1:-r||-1:""===i&&0!==r?"boolean"==typeof r?r?1:-1:r||1:t.sortNatural(e,i)},t.sortNaturalDesc=function(e,i,n,s,a){if(e===i)return 0;var r=a.string[a.empties[n]||a.emptyTo];return""===e&&0!==r?"boolean"==typeof r?r?-1:1:r||1:""===i&&0!==r?"boolean"==typeof r?r?1:-1:-r||-1:t.sortNatural(i,e)},t.sortText=function(e,t){return e>t?1:e<t?-1:0},t.getTextValue=function(e,t,i){if(i){var n,s=e?e.length:0,a=i+t;for(n=0;n<s;n++)a+=e.charCodeAt(n);return t*a}return 0},t.sortNumericAsc=function(e,i,n,s,a,r){if(e===i)return 0;var o=r.config,l=o.string[o.empties[a]||o.emptyTo];return""===e&&0!==l?"boolean"==typeof l?l?-1:1:-l||-1:""===i&&0!==l?"boolean"==typeof l?l?1:-1:l||1:(isNaN(e)&&(e=t.getTextValue(e,n,s)),isNaN(i)&&(i=t.getTextValue(i,n,s)),e-i)},t.sortNumericDesc=function(e,i,n,s,a,r){if(e===i)return 0;var o=r.config,l=o.string[o.empties[a]||o.emptyTo];return""===e&&0!==l?"boolean"==typeof l?l?-1:1:l||1:""===i&&0!==l?"boolean"==typeof l?l?1:-1:-l||-1:(isNaN(e)&&(e=t.getTextValue(e,n,s)),isNaN(i)&&(i=t.getTextValue(i,n,s)),i-e)},t.sortNumeric=function(e,t){return e-t},t.characterEquivalents={a:"áàâãäąå",A:"ÁÀÂÃÄĄÅ",c:"çćč",C:"ÇĆČ",e:"éèêëěę",E:"ÉÈÊËĚĘ",i:"íìİîïı",I:"ÍÌİÎÏ",o:"óòôõö",O:"ÓÒÔÕÖ",ss:"ß",SS:"ẞ",u:"úùûüů",U:"ÚÙÛÜŮ"},t.replaceAccents=function(e){var i,n="[",s=t.characterEquivalents;if(!t.characterRegex){for(i in t.characterRegexArray={},s)"string"==typeof i&&(n+=s[i],t.characterRegexArray[i]=new RegExp("["+s[i]+"]","g"));t.characterRegex=new RegExp(n+"]")}if(t.characterRegex.test(e))for(i in s)"string"==typeof i&&(e=e.replace(t.characterRegexArray[i],i));return e},t.isValueInArray=function(e,t){var i,n=t.length;for(i=0;i<n;i++)if(t[i][0]===e)return i;return-1},t.addParser=function(e){var i,n=t.parsers.length,s=!0;for(i=0;i<n;i++)t.parsers[i].id.toLowerCase()===e.id.toLowerCase()&&(s=!1);s&&t.parsers.push(e)},t.getParserById=function(e){if("false"==e)return!1;var i,n=t.parsers.length;for(i=0;i<n;i++)if(t.parsers[i].id.toLowerCase()===e.toString().toLowerCase())return t.parsers[i];return!1},t.addWidget=function(e){t.widgets.push(e)},t.hasWidget=function(t,i){return(t=e(t)).length&&t[0].config&&t[0].config.widgetInit[i]||!1},t.getWidgetById=function(e){var i,n,s=t.widgets.length;for(i=0;i<s;i++)if((n=t.widgets[i])&&n.hasOwnProperty("id")&&n.id.toLowerCase()===e.toLowerCase())return n},t.applyWidget=function(i,s){var a,r,o,l=(i=e(i)[0]).config,c=l.widgetOptions,u=[];!1!==s&&i.hasInitialized&&(i.isApplyingWidgets||i.isUpdating)||(l.debug&&(a=new Date),l.widgets.length&&(i.isApplyingWidgets=!0,l.widgets=e.grep(l.widgets,function(t,i){return e.inArray(t,l.widgets)===i}),e.each(l.widgets||[],function(e,i){(o=t.getWidgetById(i))&&o.id&&(o.priority||(o.priority=10),u[e]=o)}),u.sort(function(e,t){return e.priority<t.priority?-1:e.priority===t.priority?0:1}),e.each(u,function(t,n){n&&(!s&&l.widgetInit[n.id]||(l.widgetInit[n.id]=!0,n.hasOwnProperty("options")&&(c=i.config.widgetOptions=e.extend(!0,{},n.options,c)),n.hasOwnProperty("init")&&n.init(i,n,l,c)),!s&&n.hasOwnProperty("format")&&n.format(i,l,c,!1))})),setTimeout(function(){i.isApplyingWidgets=!1},0),l.debug&&(r=l.widgets.length,n("Completed "+(!0===s?"initializing ":"applying ")+r+" widget"+(1!==r?"s":""),a)))},t.refreshWidgets=function(n,s,a){var r,o=(n=e(n)[0]).config,l=o.widgets,c=t.widgets,u=c.length;for(r=0;r<u;r++)c[r]&&c[r].id&&(s||e.inArray(c[r].id,l)<0)&&(o.debug&&i('Refeshing widgets: Removing "'+c[r].id+'"'),c[r].hasOwnProperty("remove")&&o.widgetInit[c[r].id]&&(c[r].remove(n,o,o.widgetOptions),o.widgetInit[c[r].id]=!1));!0!==a&&t.applyWidget(n,s)},t.getData=function(t,i,n){var s,a,r="",o=e(t);return o.length?(s=!!e.metadata&&o.metadata(),a=" "+(o.attr("class")||""),void 0!==o.data(n)||void 0!==o.data(n.toLowerCase())?r+=o.data(n)||o.data(n.toLowerCase()):s&&void 0!==s[n]?r+=s[n]:i&&void 0!==i[n]?r+=i[n]:" "!==a&&a.match(" "+n+"-")&&(r=a.match(new RegExp("\\s"+n+"-([\\w-]+)"))[1]||""),e.trim(r)):""},t.formatFloat=function(t,i){return"string"!=typeof t||""===t?t:(t=(i&&i.config?!1!==i.config.usNumberFormat:void 0===i||i)?t.replace(/,/g,""):t.replace(/[\s|\.]/g,"").replace(/,/g,"."),/^\s*\([.\d]+\)/.test(t)&&(t=t.replace(/^\s*\(([.\d]+)\)/,"-$1")),n=parseFloat(t),isNaN(n)?e.trim(t):n);var n},t.isDigit=function(e){return!isNaN(e)||/^[\-+(]?\d+[)]?$/.test(e.toString().replace(/[,.'"\s]/g,""))}}});var t=e.tablesorter;e.fn.extend({tablesorter:t.construct}),t.addParser({id:"no-parser",is:function(){return!1},format:function(){return""},type:"text"}),t.addParser({id:"text",is:function(){return!0},format:function(i,n){var s=n.config;return i&&(i=e.trim(s.ignoreCase?i.toLocaleLowerCase():i),i=s.sortLocaleCompare?t.replaceAccents(i):i),i},type:"text"}),t.addParser({id:"digit",is:function(e){return t.isDigit(e)},format:function(i,n){var s=t.formatFloat((i||"").replace(/[^\w,. \-()]/g,""),n);return i&&"number"==typeof s?s:i?e.trim(i&&n.config.ignoreCase?i.toLocaleLowerCase():i):i},type:"numeric"}),t.addParser({id:"currency",is:function(e){return/^\(?\d+[\u00a3$\u20ac\u00a4\u00a5\u00a2?.]|[\u00a3$\u20ac\u00a4\u00a5\u00a2?.]\d+\)?$/.test((e||"").replace(/[+\-,. ]/g,""))},format:function(i,n){var s=t.formatFloat((i||"").replace(/[^\w,. \-()]/g,""),n);return i&&"number"==typeof s?s:i?e.trim(i&&n.config.ignoreCase?i.toLocaleLowerCase():i):i},type:"numeric"}),t.addParser({id:"ipAddress",is:function(e){return/^\d{1,3}[\.]\d{1,3}[\.]\d{1,3}[\.]\d{1,3}$/.test(e)},format:function(e,i){var n,s=e?e.split("."):"",a="",r=s.length;for(n=0;n<r;n++)a+=("00"+s[n]).slice(-3);return e?t.formatFloat(a,i):e},type:"numeric"}),t.addParser({id:"url",is:function(e){return/^(https?|ftp|file):\/\//.test(e)},format:function(t){return t?e.trim(t.replace(/(https?|ftp|file):\/\//,"")):t},parsed:!0,type:"text"}),t.addParser({id:"isoDate",is:function(e){return/^\d{4}[\/\-]\d{1,2}[\/\-]\d{1,2}/.test(e)},format:function(e,i){return e?t.formatFloat(""!==e?new Date(e.replace(/-/g,"/")).getTime()||e:"",i):e},type:"numeric"}),t.addParser({id:"percent",is:function(e){return/(\d\s*?%|%\s*?\d)/.test(e)&&e.length<15},format:function(e,i){return e?t.formatFloat(e.replace(/%/g,""),i):e},type:"numeric"}),t.addParser({id:"usLongDate",is:function(e){return/^[A-Z]{3,10}\.?\s+\d{1,2},?\s+(\d{4})(\s+\d{1,2}:\d{2}(:\d{2})?(\s+[AP]M)?)?$/i.test(e)||/^\d{1,2}\s+[A-Z]{3,10}\s+\d{4}/i.test(e)},format:function(e,i){return e?t.formatFloat(new Date(e.replace(/(\S)([AP]M)$/i,"$1 $2")).getTime()||e,i):e},type:"numeric"}),t.addParser({id:"shortDate",is:function(e){return/(^\d{1,2}[\/\s]\d{1,2}[\/\s]\d{4})|(^\d{4}[\/\s]\d{1,2}[\/\s]\d{1,2})/.test((e||"").replace(/\s+/g," ").replace(/[\-.,]/g,"/"))},format:function(e,i,n,s){if(e){var a=i.config,r=a.$headers.filter("[data-column="+s+"]:last"),o=r.length&&r[0].dateFormat||t.getData(r,t.getColumnData(i,a.headers,s),"dateFormat")||a.dateFormat;e=e.replace(/\s+/g," ").replace(/[\-.,]/g,"/"),"mmddyyyy"===o?e=e.replace(/(\d{1,2})[\/\s](\d{1,2})[\/\s](\d{4})/,"$3/$1/$2"):"ddmmyyyy"===o?e=e.replace(/(\d{1,2})[\/\s](\d{1,2})[\/\s](\d{4})/,"$3/$2/$1"):"yyyymmdd"===o&&(e=e.replace(/(\d{4})[\/\s](\d{1,2})[\/\s](\d{1,2})/,"$1/$2/$3"))}return e?t.formatFloat(new Date(e).getTime()||e,i):e},type:"numeric"}),t.addParser({id:"time",is:function(e){return/^(([0-2]?\d:[0-5]\d)|([0-1]?\d:[0-5]\d\s?([AP]M)))$/i.test(e)},format:function(e,i){return e?t.formatFloat(new Date("2000/01/01 "+e.replace(/(\S)([AP]M)$/i,"$1 $2")).getTime()||e,i):e},type:"numeric"}),t.addParser({id:"metadata",is:function(){return!1},format:function(t,i,n){var s=i.config,a=s.parserMetadataName?s.parserMetadataName:"sortValue";return e(n).metadata()[a]},type:"numeric"}),t.addWidget({id:"zebra",priority:90,format:function(i,n,s){var a,r,o,l,c,u=new RegExp(n.cssChildRow,"i"),d=n.$tbodies;for(n.debug&&(l=new Date),c=0;c<d.length;c++)r=0,d.eq(c).children("tr:visible").not(n.selectorRemove).each(function(){a=e(this),u.test(this.className)||r++,o=r%2==0,a.removeClass(s.zebra[o?1:0]).addClass(s.zebra[o?0:1])});n.debug&&t.benchmark("Applying Zebra widget",l)},remove:function(t,i,n){var s,a,r=i.$tbodies,o=(n.zebra||["even","odd"]).join(" ");for(s=0;s<r.length;s++)(a=e.tablesorter.processTbody(t,r.eq(s),!0)).children().removeClass(o),e.tablesorter.processTbody(t,a,!1)}})}(jQuery)},682:()=>{jQuery.fn.serializeObject=function(){var e={};return this.find(":input:not(:button):not(:submit):not(:radio):not('select[multiple]')").each(function(){""!==this.name&&(null===this.value&&(this.value=""),e[this.name]=this.value.match(/^(tru|fals)e$/i)?"true"==this.value.toLowerCase():this.value)}),this.find("input:radio:checked").each(function(){e[this.name]=this.value}),this.find("select[multiple]").each(function(){var t=jQuery(this),i=t.val();t.data("aui-ss")?e[this.name]=i?i[0]:"":e[this.name]=null!==i?i:[]}),e}},572:t=>{"use strict";t.exports=e},687:e=>{"use strict";e.exports=t},487:e=>{"use strict";e.exports=i}},s={};function a(e){var t=s[e];if(void 0!==t)return t.exports;var i=s[e]={exports:{}};return n[e].call(i.exports,i,i.exports,a),i.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var i in t)a.o(t,i)&&!a.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};return(()=>{"use strict";a.r(r),a.d(r,{$:()=>je,AvatarBadged:()=>We,AvatarEl:()=>Xe,AvatarGroupEl:()=>ut,CalendarWidget:()=>Lc,CheckboxMultiselectEl:()=>lr,DatePicker:()=>$c,DropdownEl:()=>Yn,FancyFileInput:()=>ur,FocusManager:()=>Ru,Header:()=>Ac,I18n:()=>I18n,InlineDialog2:()=>$u,InlineDialogEl:()=>Oo,ItemCheckboxEl:()=>Un,ItemLinkEl:()=>Bn,ItemRadioEl:()=>Wn,LabelEl:()=>fr,LayerManager:()=>ju,MessageEl:()=>ts,NavigationEl:()=>Ro,ProgressBarEl:()=>Ko,ProgressiveDataSet:()=>zu,RestfulTable:()=>su,SectionEl:()=>Vn,SelectEl:()=>Jr,SpinnerEl:()=>_t,TabContainerEl:()=>bl,TabItemEl:()=>yl,TabPaneEl:()=>wl,ToggleEl:()=>fo,_addID:()=>sd,banner:()=>ht,bind:()=>C,clone:()=>Fu,contextPath:()=>ad,debounce:()=>Hu,debounceImmediate:()=>Bu,dialog2:()=>Mt,dim:()=>Uu,error:()=>m,escapeHtml:()=>Wu,flag:()=>cs,formValidation:()=>Vu,format:()=>b,id:()=>Yu,isClipped:()=>qu,keyCode:()=>Ku,layer:()=>Qu,log:()=>f,messages:()=>Gu,navigation:()=>$o,params:()=>Ju,populateParameters:()=>Zu,progressBars:()=>Go,responsiveheader:()=>Xu,select:()=>ed,sidebar:()=>Eu,tablessortable:()=>td,tabs:()=>id,toInit:()=>Fe,trigger:()=>k,unbind:()=>T,undim:()=>nd,version:()=>w,warn:()=>g,whenIType:()=>Pu});var e=a(687),t=a.n(e);const i=window.jQuery||window.Zepto||t(),n="AJS",s="I18n";function o(){"object"!=typeof window[n]&&(window[n]={})}function l(e,t){return o(),window[n][e]=t}var c=a(714),u=a.n(c);function d(e){let i;return{type:u().type.CLASSNAME,attached:function(n){!function(e,t){let i=!1;if(t(()=>{i=!0}),i)return;const n=new MutationObserver(e=>{(function(e){for(const t of e)if("childList"===t.type)return!0;return!1})(e)&&t(()=>n.disconnect())});n.observe(e,{childList:!0})}(n,s=>{i=s;const a=t()(`input[type=${e}]`,n);a.each(function(e,i){t()('<span class="aui-form-glyph"></span>').insertAfter(i)});a.length>0&&i()})},detached:function(e){t()(".aui-form-glyph",e).remove(),i&&i()}}}function h(e,t){var n=i(e);return void 0===t&&(t=!0),n.each(function(){this.disabled=!t})}function p(e){return function(){"undefined"!=typeof console&&console[e]&&Function.prototype.apply.call(console[e],console,arguments)}}u()("checkbox",d("checkbox")),u()("radio",d("radio")),l("enable",h),l("inlineHelp",function(){i(document).on("click",".icon-inline-help",function(){var e=i(this).siblings(".field-help");e.hasClass("hidden")?e.removeClass("hidden"):e.addClass("hidden")})});var f=p("log"),g=p("warn"),m=p("error");function v(e){var t=/'(?!')/g,i=/^\d+$/,n=/^(\d+),number$/,s=/^(\d+),choice,(.+)/,a=/^(\d+)([#<])(.+)/,r=function(t,r){var o,l="";if(o=t.match(i))l=r.length>++t?r[t]:"";else if(o=t.match(n))l=r.length>++o[1]?r[o[1]]:"";else if(o=t.match(s)){var c=r.length>++o[1]?r[o[1]]:null;if(null!==c){for(var u=o[2].split("|"),d=!1,h=null,p=0;p<u.length;p++){var f=u[p].match(a);if(null!=f){var g=parseInt(f[1],10);if(c<g){if(h){l=h;break}l=f[3];break}if(c==g&&"#"==f[2]){l=f[3];break}p==u.length-1&&(l=f[3]),h=f[3]}else d=!0}d&&m('The format "'+t+'" from message "'+e+'" is invalid.');var b=[l].concat(Array.prototype.slice.call(r,1));l=v.apply(null,b)}}return l},o=function(e){for(var t=!1,i=-1,n=0,s=0;s<e.length;s++){var a=e.charAt(s);if("'"==a&&(t=!t),!t)if("{"===a)0===n&&(i=s),n++;else if("}"===a&&n>0&&0===--n){var r=[];return r.push(e.substring(0,s+1)),r.push(e.substring(0,i)),r.push(e.substring(i+1,s)),r}}return null};return function(e){var i=arguments,n="";if(!e)return n;for(var s=o(e);s;)e=e.substring(s[0].length),n+=s[1].replace(t,""),n+=r(s[2],i),s=o(e);return n+=e.replace(t,"")}.apply(null,arguments)}l("error",m),l("log",f),l("warn",g),l("format",v);const b=v;var y="9.12.18";l("version",y);const w=y,_=!1,x=i(window);function C(e,t,i){try{return"function"==typeof i?x.on(e,_,t,i):x.on(e,_,t)}catch(e){f("error while binding: ",e.message)}}function T(e,t){try{return x.off(e,t)}catch(e){f("error while unbinding: ",e.message)}}function k(e,t){try{return x.trigger(e,t)}catch(e){f("error while triggering: "+e.message)}}l("bind",C),l("trigger",k),l("unbind",T);const E={"<":"<",">":">","&":"&",'"':""","'":"'","`":"`"},A=new RegExp(`[${Object.keys(E).join("")}]`,"g");function D(e){return e.replace(A,e=>E[e])}l("escapeHtml",D);const S=D;var I=Object.prototype.hasOwnProperty,M=[];function N(){"undefined"!=typeof console&&console.warn&&Function.prototype.apply.call(console.warn,console,arguments)}function O(e,t){if("function"==typeof e)return e;var i=!1;return t=t||{},function(n){var s,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===M.indexOf(a)){M.push(a),i=!0;var r="DEPRECATED "+(t.deprecationType+" "||0)+"- "+(s=e,((s+="")?s.charAt(0).toUpperCase()+s.substring(1):"")+" 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?N(r+="\n",t.extraObject,a):N(r,a)}}}function L(e,t){var n=e.options.displayName;n=n?" ("+n+")":"";var s=i.extend({deprecationType:"CSS",extraObject:t},e.options);O("'"+e.selector+"' pattern"+n,s)()}function P(e,t,i){(i=i||{}).deprecationType=i.deprecationType||"JS";var n=O(t||e.name||"this function",i);return function(){return n(),e.apply(this,arguments)}}function R(e,t,n){(n=n||{}).deprecationType=n.deprecationType||"JS";var s=P(e,t,n);return s.prototype=e.prototype,i.extend(s,e),s}var $=!1;try{Object.defineProperty&&(Object.defineProperty({},"blam",{get:function(){},set:function(){}}),$=!0)}catch(e){}function j(e,t,i){if("function"==typeof e[t]){(i=i||{}).deprecationType=i.deprecationType||"JS";var n=i.displayName||t;e[t]=P(e[t],n,i)}else!function(e,t,i){if($){var n=e[t];(i=i||{}).deprecationType=i.deprecationType||"JS";var s=O(i.displayName||t,i);Object.defineProperty(e,t,{get:function(){return s(),n},set:function(e){return n=e,s(),e}})}}(e,t,i)}function z(e){return function(t){for(var i={selector:t,options:e||{}},n=document.querySelectorAll(t),s=0;s<n.length;s++)L(i,n[s]);!function(e){if(H.push(e),!B){B=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&&H.forEach(F(n))}})});var t={childList:!0,subtree:!0};B.observe(document,t)}}(i)}}function F(e){return function(t){var i,n;i=e,n=t.selector,(i.matches||i.msMatchesSelector||i.webkitMatchesSelector||i.mozMatchesSelector||i.oMatchesSelector).call(i,n)&&L(t,e)}}const H=[];let B;function U(e){e=e.jquery?e[0]:e,window.getComputedStyle(e,null).getPropertyValue("left")}var W;function V(e,t){W||(W=document.body),!0===e&&q();const n=!!V.$dim&&!V.$dim[0].hasAttribute("hidden");return V.$dim&&(V.$dim.remove(),V.$dim=null),V.$dim=i('<div aria-hidden="true"></div>').addClass("aui-blanket"),V.$dim.appendTo(document.body),n||(U(V.$dim),V.cachedOverflow={overflow:W.style.overflow,overflowX:W.style.overflowX,overflowY:W.style.overflowY},W.style.overflowX="hidden",W.style.overflowY="hidden",W.style.overflow="hidden"),V.$dim.removeAttr("hidden"),t&&V.$dim.css({zIndex:t}),V.$dim}function Y(){V.$dim&&(V.$dim[0].setAttribute("hidden",""),W&&(W.style.overflow=V.cachedOverflow.overflow,W.style.overflowX=V.cachedOverflow.overflowX,W.style.overflowY=V.cachedOverflow.overflowY))}l("deprecate",{fn:P,construct:R,css:function(e,t){"string"==typeof e&&(e=[e]),e.forEach(z(t))},prop:j,obj:function(e,t,n){for(var s in n=n||{},e)I.call(e,s)&&(n.deprecationType=n.deprecationType||"JS",n.displayName=t+s,n.alternativeName=n.alternativeNamePrefix&&n.alternativeNamePrefix+s,j(e,s,i.extend({},n)))},propertyDeprecationSupported:$,getMessageLogger:O});const q=O("useShim",{extraInfo:"useShim has no alternative as it is now calculated by dim()."});l("dim",V),l("undim",Y);var K={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};l("keyCode",K);const Q=K;function G(e,t){window.define&&(0,window.define)(e,[],function(){return t});return t}const Z=u().noConflict();const J=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]}}};function X(e){return J(e).get("last-trigger")||ne(e)[0]}function ee(e,t){var i=t&&t.nodeType&&1===t.nodeType;return J(e).set("last-trigger",!!i&&t)}function te(e,t){var i=X(e);i&&t(i)}function ie(e,t){return Array.prototype.forEach.call(ne(e),t)}function ne(e){const t=window.frames,i=`[aria-controls="${e.id}"]`;let n=[],s=!1;for(let e=0;e<t.length;e++)try{let s=t[e].document.querySelectorAll(i);n=n.concat(Array.prototype.slice.apply(s))}catch(e){s=!0}const a=document.querySelectorAll(i),r=Array.prototype.slice.apply(a).concat(n);return 0===r.length&&!0===s&&g([`No triggers found for element (${e.id}) in iframes from the same origin.`,"However some iframes in this document are cross-origin.","The trigger-element relations crossing the origin boundary are not supported."].join(" ")),r}function se(e){return document.getElementById(e.getAttribute("aria-controls"))}function ae(e){return"true"!==e.getAttribute("aria-disabled")}function re(e,t){if(ae(e)){var i=se(e);i&&i.message&&i.message(t)}}const oe={click(e,t){(function(e,t){var n=i(t).closest("a[href]",e);return!!n.length&&n[0]!==e})(e,t.target)||(re(e,t),t.preventDefault())},keydown(e,t){const i=t.data;i!==Q.ENTER&&i!==Q.SPACE||(t.preventDefault(),t.type="click",oe.click(e,t))},mouseenter(e,t){re(e,t)},mouseleave(e,t){re(e,t)},focus(e,t){re(e,t)},blur(e,t){(function(e,t){let n=t.relatedTarget;return n||(n=document.activeElement),i(se(e)).find(n).length>0})(e,t)||re(e,t)}};Object.keys(oe).forEach(function(e){const t=oe[e];i(document).on(`${e}.aui-trigger`,"[data-aui-trigger]",function(i){t(i.currentTarget,function(e,t){const{target:i,currentTarget:n,relatedTarget:s}=e,{keyCode:a,which:r}=e;return{type:t,data:"keydown"===t?r||a:void 0,target:i,currentTarget:n,relatedTarget:s,preventDefault:()=>e.preventDefault()}}(i,e))})}),Z("data-aui-trigger",{type:Z.type.ATTRIBUTE,prototype:{disable:function(){this.setAttribute("aria-disabled","true")},enable:function(){this.setAttribute("aria-disabled","false")},isEnabled:function(){return ae(this)}}}),G("aui/trigger"),function(){function e(e){return"visible"===i.css(e,"visibility")&&i(e).is(":visible")}function t(t,n){var s=t.nodeName.toLowerCase();if("aui-select"===s)return!0;if("area"===s){var a=t.parentNode,r=a.name,o=i("img[usemap=#"+r+"]").get();return!(!t.href||!r||"map"!==a.nodeName.toLowerCase())&&(o&&e(o))}var l=/input|select|textarea|button|object|iframe/.test(s),c="a"===s,u=t.href||n;return(l?!t.disabled:c?u:n)&&e(t)}i.extend(i.expr.pseudos,{"aui-focusable":e=>t(e,!isNaN(i.attr(e,"tabindex"))),"aui-tabbable":function(e){var n=i.attr(e,"tabindex"),s=isNaN(n);return(s||n>=0)&&t(e,!s)}})}();var le="_aui-focus-restore";function ce(e){return e.is(".aui-dialog2")||e.is('[aui-focus-trap="true"]')}function ue(){this._focusTrapStack=[],this._handler}function de(e,t){if(0===e.length)return;if(t.keyCode!==Q.TAB)return;const n=t.shiftKey?-1:1,s=t.target,a=e[e.length-1],r=a.find(":aui-tabbable");if(!r.length&&ce(a)&&(a.trigger("focus"),t.preventDefault()),!r.length)return;const o=r.index(s);let l=-1;if(o>-1)l=o;else{let e;if(e=i(s).closest(".aui-layer"),!e.length){e=a.find("[aria-controls]").map(function(){return document.getElementById(this.getAttribute("aria-controls"))}).has(s)}if(e.length){const t=e.find(":aui-tabbable"),i=t.index(s)+n;if(!(i<0||i>=t.length))return;{const t=X(e.get(0));l=r.index(t)}}}l=l>-1?function(e,t,i,n){function s(e){return(e+i)%n.length}let a=s(t);if("radio"===e.type&&e.name)for(;n.eq(a).attr("name")===e.name&&a!==t;)a=s(a);if(a!==t&&"radio"===n.eq(a).attr("type")){const e=n.eq(a).attr("name"),t=n.filter(function(){return"radio"===this.type&&this.name===e}),s=t.filter(":checked");let r;r=s.length>0?s.first():i>0?t.first():t.last(),a=n.index(r)}return a}(s,l,n,r):0,"IFRAME"!==r.get(l).nodeName&&(r.eq(l).trigger("focus"),t.preventDefault())}let he;function pe(){return he||(he=new ue),he}ue.defaultFocusSelector=":aui-tabbable",ue.prototype.enter=function(e,t){if(function(e,t=document.activeElement){e.data(le,t)}(e,t),"false"!==e.attr("data-aui-focus")){var n=e.attr("data-aui-focus-selector")||ue.defaultFocusSelector;(e.is(n)?e:e.find(n)).first().trigger("focus")}ce(e)&&(this._focusTrapStack.push(e),this._handler||(this._handler=de.bind(void 0,this._focusTrapStack),i(document).on("keydown.aui-focus-manager",this._handler)))},ue.prototype.exit=function(e){ce(e)&&(this._focusTrapStack.splice(this._focusTrapStack.indexOf(e),1),this._focusTrapStack.length||(i(document).off(".aui-focus-manager",this._handler),delete this._handler));var t=document.activeElement;if(e[0]===t||e.has(t).length){i(t).trigger("blur");var n=function(e){return i(e.data(le))}(e);n.length&&(e.removeData(le),n.trigger("focus"))}},pe.global=pe(),l("FocusManager",pe);const fe=pe;function ge(e,t){var n="_aui-widget-"+e;return function(e,s){var a,r;i.isPlainObject(e)?r=e:(a=e,r=s);var o,l=a&&i(a);return l&&l.data(n)?o=l.data(n):(l=(o=new t(l,r||{})).$el).data(n,o),o}}let me;!function(){if(window.CustomEvent)try{const 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(me=window.CustomEvent)}catch(e){}me=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},me.prototype=window.Event.prototype}();const ve=me,be="_aui-internal-layer-",ye="_aui-internal-layer-global-";var we=i(document);function _e(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 s(a){t===a.propertyName&&(i.call(e),n&&e.removeEventListener("transitionend",s))})}function xe(e,t,n){var s=i.Event(be+t),a=i.Event(ye+t),r=new ve("aui-layer-"+n,{bubbles:!0,cancelable:!0}),o=new ve("aui-"+n,{bubbles:!0,cancelable:!0});return e.trigger(s),e.trigger(a,[e]),e[0].dispatchEvent(r),e[0].dispatchEvent(o),!(s.isDefaultPrevented()||a.isDefaultPrevented()||r.defaultPrevented||o.defaultPrevented)}function Ce(e){this.$el=i(e||'<div class="aui-layer"></div>'),this.el=this.$el[0],this.$el.addClass("aui-layer")}function Te(e,t){return e.getAttribute(t)||e.getAttribute("data-aui-"+t)}Ce.prototype={below:function(){return Me.global.item(Me.global.indexOf(this.$el)-1)},above:function(){return Me.global.item(Me.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(be+e,t),this},off:function(e,t){return this.$el.off(be+e,t),this},show:function(){return this.isVisible()||Me.global.indexOf(this.$el)>-1?this:xe(this.$el,"beforeShow","show")?("none"===this.$el.css("display")&&this.$el.css("display",""),Me.global.push(this.$el),this):this},hide:function(){if(!this.isVisible())return this;const e=this;return _e(this.$el.get(0),"opacity",function(){e.isVisible()||(this.style.display="none")},!0),Me.global.popUntil(this.$el,!0),this},isVisible:function(){return!0===this.$el.data("_aui-layer-shown")},remove:function(){this.hide(),this.$el.remove(),this.$el=null,this.el=null},isBlanketed:function(){return"true"===this.el.dataset.auiBlanketed},isPersistent:function(){var e=Te(this.el,"modal"),t=this.el.hasAttribute("persistent");return"true"===e||t},getDOMContainer:function(){let e=Te(this.el,"dom-container");return e&&(e=document.querySelector(e)||document.body),e},_hideLayer:function(e){return!(e&&!xe(this.$el,"beforeHide","hide"))&&((this.isPersistent()||this.isBlanketed())&&fe.global.exit(this.$el),this.el.removeAttribute("open"),this.$el.removeData("_aui-layer-shown"),this.$el.css("z-index",this.$el.data("_aui-layer-cached-z-index")||""),this.$el.data("_aui-layer-cached-z-index",""),this.$el.trigger(be+"hide"),this.$el.trigger(ye+"hide",[this.$el]),!0)},_showLayer:function(e){let t=this.getDOMContainer();if(this.isBlanketed()||t){let e=t||"body";this.$el.parent().is(e)||this.$el.appendTo(e)}this.$el.data("_aui-layer-shown",!0),this.$el.data("_aui-layer-cached-z-index",this.$el.css("z-index")),this.$el.css("z-index",e),this.el.removeAttribute("hidden"),this.el.setAttribute("open",""),this.isBlanketed()&&fe.global.enter(this.$el),this.$el.trigger(be+"show"),this.$el.trigger(ye+"show",[this.$el])}};var ke=ge("layer",Ce);function Ee(e,t){for(var i=e.length;i--;)if(t(e[i]))return i;return-1}function Ae(e,t){return Ee(e,function(e){return e[0]===t[0]})}function De(e){return Ee(e,function(e){return ke(e).isBlanketed()})}function Se(e,t){var i=De(e);t!==i&&(i>-1?V(!1,e[i].css("z-index")-20):Y())}function Ie(e,t,i,n=!0){if(t<0)return[!1,null];for(var s,a=e.length-1;a>=t;a--){s=e[a];var r=ke(s);if(i||!r.isPersistent()){if(!r._hideLayer(n))return[!1,s];e.splice(a,1)}}return[!0,s]}function Me(){this._stack=[]}function Ne(e){if(!e.length)return!1;var t=document.getElementById(e.attr("aria-controls"));return Me.global.indexOf(t)>-1}ke.on=function(e,t,i){return we.on(ye+e,t,i),this},ke.off=function(e,t,i){return we.off(ye+e,t,i),this},Me.prototype={push:function(e){var t=e instanceof i?e:i(e);if(Ae(this._stack,t)>=0)throw new Error("The given element is already an active layer.");this.popLayersBeside(t);var n=ke(t),s=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 n._showLayer(s),n.isBlanketed()&&V(!1,s-20),this._stack.push(t),this},popLayersBeside:function(e){const t=i(e).get(0);if(!function(e){return!!X(e)}(t)){var n=De(this._stack);return void Ie(this._stack,++n,!1)}const s=function(e){var t=X(e);if(t)return i(t).closest(".aui-layer").get(0)}(t);if(s){let e=this.indexOf(s);Ie(this._stack,++e,!1)}else Ie(this._stack,0,!1)},indexOf:function(e){return Ae(this._stack,i(e))},item:function(e){return this._stack[e]},hideAll:function(){return this._stack.slice().reverse().forEach(function(e){let t=ke(e);t.isBlanketed()||t.isPersistent()||t.hide()}),this},getNextLowerNonPersistentOrBlanketedLayer:function(e){var t,n=e instanceof i?e:i(e),s=Ae(this._stack,n);if(s<0)return null;for(s--;s>=0;){t=this._stack[s];var a=ke(t);if(!a.isPersistent()||a.isBlanketed())return t;s--}return null},getNextHigherNonPeristentAndNonBlanketedLayer:function(e){var t,n=e instanceof i?e:i(e),s=Ae(this._stack,n);if(s<0)return null;for(s++;s<this._stack.length;){t=this._stack[s];var a=ke(t);if(!a.isPersistent()&&!a.isBlanketed())return t;s++}return null},getTopLayer:function(){return this._stack[this._stack.length-1]||null},getTopOpenLayer:function(){return this._stack.slice().reverse().find(e=>e.attr("open"))||null},popUntil:function(e,t=!1){var n=e instanceof i?e:i(e),s=Ae(this._stack,n);if(-1===s)return null;const a=De(this._stack),r=ke(n),[o,l]=Ie(this._stack,s+1,r.isBlanketed(),t);return o&&r._hideLayer(t)?(this._stack.splice(s,1),Se(this._stack,a),n):l},popTopIfNonPersistent:function(e=!1){var t=this.getTopLayer(),i=ke(t);return!t||i.isPersistent()?null:this.popUntil(t,e)},popUntilTopBlanketed:function(e=!1){var t=De(this._stack);if(t<0)return null;var i=this._stack[t];if(ke(i).isPersistent()){var n=this.getNextHigherNonPeristentAndNonBlanketedLayer(i);if(n){var s=Ae(this._stack,n);return Ie(this._stack,s,!0,e),n}return null}return Ie(this._stack,t,!0),Se(this._stack,t),i},popUntilTopPersistent:function(e=!1){var t=Me.global.getTopLayer();if(t){var i,n=De(this._stack),s=ke(t);if(s.isPersistent()){if(s.isBlanketed())return;if(t=Me.global.getNextLowerNonPersistentOrBlanketedLayer(t),s=ke(t),!t||s.isPersistent())return;i=Ae(this._stack,t),Ie(this._stack,i,!0,e),Se(this._stack,n)}else i=Ae(this._stack,t),Ie(this._stack,i,!0,e),Se(this._stack,n)}}},we.on("keydown",function(e){e.keyCode===Q.ESCAPE&&(Me.global.popUntilTopPersistent(!0),e.preventDefault())}),we.on("click",".aui-blanket",function(e){Me.global.popUntilTopBlanketed(!0)&&e.preventDefault()}),we.on("click",function(e){var t=i(e.target);if(!t.closest(".aui-blanket").length){var n=t.closest("[aria-controls]"),s=t.closest(".aui-layer");if(!s.length&&!Ne(n)){const t=i.Event("aui-close-layers-on-outer-click");return we.trigger(t),t.isDefaultPrevented()?void e.preventDefault():void Me.global.hideAll()}if(!Ne(n)&&s.length){var a=Me.global.getNextHigherNonPeristentAndNonBlanketedLayer(s);a&&ke(a).hide()}}}),Me.global=new Me,ke.Manager=Me,l("layer",ke);const Oe=ke;l("LayerManager",Oe.Manager);Oe.Manager;const Le={sinceVersion:"9.0.0",removeInVersion:"10.0.0"},Pe=l("params",new Proxy({},{get:function(e,t){return O("AJS.params",Le)(),e[t]}}));const Re=P(function(e){e||(e=Pe),i(".parameters input").each(function(){var t=this.value,n=this.title||this.id;i(this).hasClass("list")?e[n]?e[n].push(t):e[n]=[t]:e[n]=t.match(/^(tru|fals)e$/i)?"true"===t.toLowerCase():t})},"populateParameters",{sinceVersion:"9.0.0",removeInVersion:"10.0.0"});l("populateParameters",Re);const $e=Re;i(function(){var e=i("body");e.data("auiVersion")||e.attr("data-aui-version",w),$e()}),l("$",i);const je=i;function ze(e){return i.when(i.ready).then(function(){setTimeout(function(){try{e.call(this,i)}catch(t){m("Failed to run init function: "+t.message,e,t,t.stack)}},1)}),this}l("toInit",ze);const Fe=ze;a(547);const He={keys:{"aui.landmarks.site":"Site","aui.landmarks.sidebar":"Sidebar","aui.landmarks.page":"Page","aui.landmarks.main":"Main","aui.header.home.link":"Go to home page","aui.dropdown.async.error":"Error loading dropdown","aui.dropdown.async.loading":"Loading dropdown","aui.words.expand":"Expand","aui.words.collapse":"Collapse","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 or equal to {0}","aui.validation.message.max":"Enter a value less than or equal to {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.number.suggestions":"Found {0,choice,0#0 options|1#1 option|1<{0,number} options}.","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","aui.messagecomponent.error.label":"Error","aui.messagecomponent.warning.label":"Warning","aui.messagecomponent.info.label":"Information","aui.messagecomponent.confirmation.label":"Confirmation","aui.messagecomponent.change.label":"Change","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":"","aui.flag.default-aria-label.info":"New information message","aui.flag.default-aria-label.success":"New confirmation message","aui.flag.default-aria-label.warning":"New warning message","aui.flag.default-aria-label.error":"New error message"},getText:function(e,...t){return Object.prototype.hasOwnProperty.call(this.keys,e)?b.apply(null,[this.keys[e]].concat(t)):e}},I18n=function(e){o(),"object"!=typeof window[n][s]&&(window[n][s]={});const t=window[n][s];for(const i in e)void 0===t[i]&&(t[i]=e[i]);return t}(He),Be="bottom-end",Ue=["top-start","top-end","bottom-start","bottom-end"],We=Z("aui-avatar-badged",{attributes:{placement:{value:Be,fallback(e,{newValue:t,oldValue:i}){((e,t,i)=>{const n=Ue.includes(t)?t:Be;i&&e.classList.remove(`aui-avatar-badged-${i}`),e.classList.add(`aui-avatar-badged-${n}`)})(e,t,i)}}},created:function(e){e.classList.add("aui-avatar-badged")}});var Ve=a(2),Ye=a.n(Ve);const qe=new Map([["project","data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB2aWV3Qm94PSIwIDAgMTI4IDEyOCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHJvbGU9ImltZyIgYXJpYS1sYWJlbD0ieHhsYXJnZSI+CiAgICA8Zz4KICAgICAgICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMTI4IiBoZWlnaHQ9IjEyOCIgZmlsbD0iIzg5OTNhNCIgLz4KICAgICAgICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxOS4wMDAwMDAsIDMyLjAwMDAwMCkiPgogICAgICAgICAgICA8cGF0aCBmaWxsPSIjZmZmIgogICAgICAgICAgICAgICAgZD0iTTE4LjI1LDMyLjUgTDU0LjU4MzMzMzMsMzIuNSBMNTQuNTgzMzMzMywyMy40MTY2NjY3IEwxOC4yNSwyMy40MTY2NjY3IEwxOC4yNSwzMi41IFogTTkuMTY2NjY2NjcsMTguODMzMTE2NiBDOS4xNjY2NjY2NywxNi4zNDc5NTQ5IDExLjIzNjU4MSwxNC4zMzMzMzMzIDEzLjcxOTU2NjIsMTQuMzMzMzMzMyBMNTkuMTEzNzY3MSwxNC4zMzMzMzMzIEM2MS42MjgyNjQxLDE0LjMzMzMzMzMgNjMuNjY2NjY2NywxNi4zODE1MTIzIDYzLjY2NjY2NjcsMTguODMzMTE2NiBMNjMuNjY2NjY2Nyw0MS41ODMzMzMzIEw5LjE2NjY2NjY3LDQxLjU4MzMzMzMgTDkuMTY2NjY2NjcsMTguODMzMTE2NiBaIiAvPgogICAgICAgICAgICA8cGF0aCBmaWxsPSIjZmZmIgogICAgICAgICAgICAgICAgZD0iTTE4LjI1LDkuODEzODM2ODIgQzE4LjI1LDQuNzg1MDA2MSAyMi4zMjk2MDAzLDAuNzA4MzMzMzMzIDI3LjMyMzg1NTQsMC43MDgzMzMzMzMgTDM2LjQyNjE0NDYsMC43MDgzMzMzMzMgQzQxLjQzNzQ5NjUsMC43MDgzMzMzMzMgNDUuNSw0Ljc2ODEyODI1IDQ1LjUsOS44MTM4MzY4MiBMNDUuNSwyMy40MTY2NjY3IEwxOC4yNSwyMy40MTY2NjY3IEwxOC4yNSw5LjgxMzgzNjgyIFogTTM2LjQxNjY2NjcsOS44MTM4MzY4MiBDMzYuNDE2NjY2Nyw5Ljc5ODAzMzE1IDM2LjQxODQ3NDgsOS43OTMwMzc4NCAzNi40MjA3NTE1LDkuNzkxNjY2NjcgTDI3LjMyMzg1NTQsOS43OTE2NjY2NyBDMjcuMzQ0NzIyNCw5Ljc5MTY2NjY3IDI3LjMzMzMzMzMsOS44MDMwODA1OSAyNy4zMzMzMzMzLDkuODEzODM2ODIgTDI3LjMzMzMzMzMsMTQuMzMzMzMzMyBMMzYuNDE2NjY2NywxNC4zMzMzMzMzIEwzNi40MTY2NjY3LDkuODEzODM2ODIgWiIgLz4KICAgICAgICAgICAgPHBhdGggZmlsbD0iI2ZmZiIKICAgICAgICAgICAgICAgIGQ9Ik0xMS40Mzg2NTMyLDU1LjIwODMzMzMgTDc0Ljk5NTM1NjIsNTUuMjA4MzMzMyBMNzkuNTQ1MjI0Miw0MS41ODMzMzMzIEw5LjgwNDQ5NzUyLDQxLjU4MzMzMzMgTDExLjQzODY1MzIsNTUuMjA4MzMzMyBaIE0wLjEwNDg1NDcsMzYuOTg3NTQxIEMtMC4xOTIzOTk3NzUsMzQuNTA5MTQwNSAxLjU4NjU3MTcsMzIuNSA0LjA5NTAyODM5LDMyLjUgTDg3LjYyNjQ3MzUsMzIuNSBDOTAuMTI3NDQwMSwzMi41IDkxLjUyMjU2NTYsMzQuMzkzNTA2IDkwLjcyMzEwNDcsMzYuNzg3NTY1NiBMODIuOTcwMjg0Niw2MC4wMDQxMDEgQzgyLjE3OTU0MDIsNjIuMzcyMDU4MiA3OS41Mjc5NDQ1LDY0LjI5MTY2NjcgNzYuOTk4NTMzOCw2NC4yOTE2NjY3IEw3LjkxOTYzOTI0LDY0LjI5MTY2NjcgQzUuNDEyMjc2NzMsNjQuMjkxNjY2NyAzLjE0MTEzNTcxLDYyLjMwMjk1NTUgMi44NDE0MzA5Nyw1OS44MDQxMjU3IEwwLjEwNDg1NDcsMzYuOTg3NTQxIFoiIC8+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4K"],["user","data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB2aWV3Qm94PSIwIDAgMTI4IDEyOCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHJvbGU9ImltZyIgYXJpYS1sYWJlbD0ieHhsYXJnZSI+CiAgICA8Zz4KICAgICAgICA8Y2lyY2xlIGN4PSI2NCIgY3k9IjY0IiByPSI2NCIgZmlsbD0iIzg5OTNhNCIgLz4KICAgICAgICA8Zz4KICAgICAgICAgICAgPHBhdGggZmlsbD0iI2ZmZiIKICAgICAgICAgICAgICAgIGQ9Ik0xMDMsMTAyLjEzODggQzkzLjA5NCwxMTEuOTIgNzkuMzUwNCwxMTggNjQuMTYzOCwxMTggQzQ4LjgwNTYsMTE4IDM0LjkyOTQsMTExLjc2OCAyNSwxMDEuNzg5MiBMMjUsOTUuMiBDMjUsODYuODA5NiAzMS45ODEsODAgNDAuNiw4MCBMODcuNCw4MCBDOTYuMDE5LDgwIDEwMyw4Ni44MDk2IDEwMyw5NS4yIEwxMDMsMTAyLjEzODggWiIgLz4KICAgICAgICAgICAgPHBhdGggZmlsbD0iI2ZmZiIKICAgICAgICAgICAgICAgIGQ9Ik02My45OTYxNjQ3LDI0IEM1MS4yOTM4MTM2LDI0IDQxLDM0LjI5MzgxMzYgNDEsNDYuOTk2MTY0NyBDNDEsNTkuNzA2MTg2NCA1MS4yOTM4MTM2LDcwIDYzLjk5NjE2NDcsNzAgQzc2LjY5ODUxNTksNzAgODcsNTkuNzA2MTg2NCA4Nyw0Ni45OTYxNjQ3IEM4NywzNC4yOTM4MTM2IDc2LjY5ODUxNTksMjQgNjMuOTk2MTY0NywyNCIgLz4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPgo="]]),Ke=(e,t)=>e.querySelector(t),Qe=(e,t,i)=>{const n=Ke(e,".aui-avatar");n.classList.remove(`aui-avatar-${i}`),n.classList.add(`aui-avatar-${t}`)},Ge=e=>{if(e.hasAttribute("src"))Je(e,e.getAttribute("src"));else{const t=(e=>"project"===e.getAttribute("type")?"project":"user")(e),i=qe.get(t);Je(e,i)}},Ze=(e,t,i)=>Ke(e,"img").setAttribute(t,i),Je=(e,t)=>Ze(e,"src",t),Xe=Z("aui-avatar",{template:Ye()("\n <span class='aui-avatar'>\n <span class='aui-avatar-inner'>\n <img />\n </span>\n <content></content>\n </span>\n "),attributes:{size(e,{newValue:t,oldValue:i}){Qe(e,t,i)},type(e,{newValue:t,oldValue:i}){Qe(e,t,i),Ge(e)},src(e,{newValue:t}){Je(e,t)},alt:{value:"",fallback(e,{newValue:t}){((e,t)=>{Ze(e,"alt",t)})(e,t)}},title(e,{newValue:t}){((e,t)=>{Ze(e,"title",t)})(e,t)}},created:function(e){e.className="aui-avatar",Ge(e),(e=>null!==e.querySelector("aui-avatar-badged"))(e)&&e.setAttribute("role","img")}}),et="medium",tt={xsmall:16,small:24,medium:32,large:48,xlarge:64,xxlarge:96,xxxlarge:128},it=(e,t)=>{const i=e.querySelectorAll("aui-avatar"),n=[...i].slice(4);rt(i,t);const s=e.querySelector(".aui-avatar-group-dropdown");if(s&&s.remove(),0===n.length)return;const a=nt(t,n);e.appendChild(a)},nt=(e,t)=>{const i=document.createElement("div"),n=st(`+${t.length}`),s=at();return t.forEach(e=>{s.append(e)}),i.classList.add("aui-avatar-group-dropdown"),i.style.left=ot(e,4.2),i.appendChild(n),i.appendChild(s),i},st=e=>{const t=document.createElement("button");return t.classList.add("aui-avatar-group-dropdown-button","aui-avatar-inner"),t.innerText=e,t.setAttribute("aria-expanded",!1),t.setAttribute("aria-haspopup","dialog"),t},at=()=>{const e=document.createElement("div");return e.classList.add("aui-avatar-group-dropdown-menu"),e},rt=(e,t)=>{e.forEach((e,i)=>{const n=i>=4;e.classList.add(n?"aui-avatar-group-dropdown-item":"aui-avatar-group-item"),n?e.setAttribute("size","medium"):(e.setAttribute("size",t),e.style.left=ot(t,i),e.style.zIndex=""+(5-i))})},ot=(e,t)=>{const i=tt[e];return`${(i-.25*i)*t}px`};document.addEventListener("click",e=>{const t=e.target.matches(".aui-avatar-group-dropdown-button"),i=e.target.closest(".aui-avatar-group-dropdown");(t||null===i)&&(t&&(i.classList.contains("aui-avatar-group-dropdown-show")?lt(i):ct(i)),document.querySelectorAll(".aui-avatar-group-dropdown-show").forEach(e=>{e!==i&<(e)}))}),document.addEventListener("keydown",e=>{if("Escape"!==e.key)return;const t=document.querySelector(".aui-avatar-group-dropdown-show");t&<(t)});const lt=e=>{const t=e.querySelector(".aui-avatar-group-dropdown-button");e.classList.remove("aui-avatar-group-dropdown-show"),t.setAttribute("aria-expanded","false")},ct=e=>{const t=e.querySelector(".aui-avatar-group-dropdown-button");e.classList.add("aui-avatar-group-dropdown-show"),t.setAttribute("aria-expanded","true")},ut=Z("aui-avatar-group",{attributes:{size:{value:et,fallback(e,{newValue:t,oldValue:i}){const n=(s=t,Object.keys(tt).includes(s)?s:et);var s;((e,t,i)=>{i&&e.classList.remove(`aui-avatar-group-${i}`),e.classList.add(`aui-avatar-group-${t}`)})(e,n,i),Z.init(e),it(e,n)}}},created(e){e.classList.add("aui-avatar-group")}});new MutationObserver(function(e){e.forEach(function(e){const t=e.target;((e,t)=>e.removedNodes.length>0&&t.classList.contains("aui-avatar-group")&&e.removedNodes[0].classList.contains("aui-avatar-group-item"))(e,t)&&it(t,t.getAttribute("size")),((e,t)=>e.addedNodes.length>0&&t.classList.contains("aui-avatar-group")&&e.addedNodes[0].classList.contains("aui-avatar"))(e,t)&&setTimeout(()=>{it(t,t.getAttribute("size"))},0)})}).observe(document.documentElement,{attributes:!1,characterData:!0,childList:!0,subtree:!0,attributeOldValue:!1,characterDataOldValue:!1});function dt(e){const t=document.getElementById("header");if(!t)throw new Error('Unable to find the application header. Please ensure that an element with the ID "header" is present in the DOM');const i=function({body:e="",type:t="error"}){const i=document.createElement("div");i.className=`aui-banner aui-banner-${t}`,i.setAttribute("role","alert"),i.innerHTML=e;const n=document.createElement("div");return n.innerText=`${t}`,n.classList.add("assistive"),i.prepend(n),i}(e);return function(e,t){t.prepend(e),U(e)}(i,t),function(e){const t=e.querySelectorAll(".aui-banner[hidden]"),i=O("Banner [hidden] attribute",{removeInVersion:"10.0.0",sinceVersion:"9.8.0",deprecationType:"ATTRIBUTE",extraInfo:"The hidden attribute on the banner is no longer effective. Future banner function calls won't remove banners with this attribute."});t.forEach(function(e){i(),e.remove()})}(t),i}G("aui/banner",dt),l("banner",dt);const ht=dt;var pt=a(487);const ft={SMALL:{name:"small",px:20,radius:9},MEDIUM:{name:"medium",px:30,radius:13.5},LARGE:{name:"large",px:50,radius:22.5}},gt={filled:!1,size:ft.MEDIUM.name},mt="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.",vt=O("<aui-spinner> filled attribute",{sinceVersion:"7.9.4",removeInVersion:"10.0.0",extraInfo:mt}),bt=O("<aui-spinner> filled property",{sinceVersion:"7.9.4",removeInVersion:"10.0.0",extraInfo:mt});function yt(e){let t=ft.MEDIUM.name;if("string"==typeof e){e=e.toLowerCase();const i=Object.keys(ft).map(e=>e.toLowerCase());i.indexOf(e)>-1&&(t=e)}return t}function wt(e){const{px:t,radius:i}=(0,pt.find)(ft,t=>t.name===e._data.size)||ft.MEDIUM;!function(e,t,i){const n=e.querySelector("svg"),s=e.querySelector("circle");n.setAttribute("size",t),n.setAttribute("height",t),n.setAttribute("width",t),n.setAttribute("viewBox",`0 0 ${t} ${t}`);const a=t/2;s.setAttribute("cx",a),s.setAttribute("cy",a),s.setAttribute("r",i)}(e,t,i),e._data.filled?function(e,t){const i=e.parentNode;if(i&&1===i.nodeType){const n=e.getBoundingClientRect(),s=i.getBoundingClientRect(),a=s.top+s.height/2,r=n.top+t/2;e.querySelector("svg").style.top=a-r+"px"}}(e,t):function(e){delete e.querySelector("svg").style.top}(e)}const _t=Z("aui-spinner",{template(e){e.innerHTML='<div class="aui-spinner spinner"><svg focusable="false"><circle></circle></svg></div>',wt(e)},attached(e){wt(e)},attributes:{filled:{created:function(e){vt(),e._data.filled=!0,wt(e)},removed:function(e){e._data.filled=!1,wt(e)}},size(e,t){e._data.size=yt(t.newValue),wt(e)}},prototype:{get _data(){return this.__data||(this._data=(0,pt.defaults)({},gt))},set _data(e){return this.__data=e},set filled(e){bt(),e?this.setAttribute("filled",""):this.removeAttribute("filled")},set size(e){const t=yt(e);this.setAttribute("size",t)}}});function xt(e){return e.hasAttribute("aria-busy")&&"true"===e.getAttribute("aria-busy")}function Ct(e){return"INPUT"===e.nodeName}Z("aui-button",{type:Z.type.CLASSNAME,created:function(e){e._spinner=new _t,e._spinner.setAttribute("size",ft.SMALL.name)},prototype:{busy:function(){return Ct(this)||xt(this)?(g("It is not valid to call busy() on an input button."),this):(this.appendChild(this._spinner),this.setAttribute("aria-busy",!0),this.setAttribute("busy",""),this)},idle:function(){return Ct(this)||!xt(this)?(g("It is not valid to call idle() on an input button."),this):(this.removeChild(this._spinner),this.removeAttribute("aria-busy"),this.removeAttribute("busy"),this)},isBusy:function(){return Ct(this)?(g("It is not valid to call isBusy() on an input button."),!1):xt(this)}}}),G("aui/button");const Tt="aui-close-button",kt=`.${Tt}`,Et=`<button type="button" class="${Tt}" aria-label="${I18n.getText("aui.words.close")}">`,At={"aui-focus":"false","aui-blanketed":"true"};function Dt(e){var t;this._handlers=new WeakMap,this.$el=i(e||`\n <section role="dialog" aria-modal="true" class="aui-layer aui-dialog2 aui-dialog2-medium">\n <header class="aui-dialog2-header">\n <h2 class="aui-dialog2-header-main"></h2>\n ${Et}\n </button>\n </header>\n <div class="aui-dialog2-content"></div>\n <footer class="aui-dialog2-footer"></footer>\n </section>`),this.$header=this.$el.find(".aui-dialog2-header"),this.$content=this.$el.find(".aui-dialog2-content"),this.$footer=this.$el.find(".aui-dialog2-footer"),t=this.$el,i.each(At,function(e,i){const n="data-"+e;t[0].hasAttribute(n)||t.attr(n,i)})}Dt.prototype.on=function(e,t){const i=this.$el;if(!this._handlers.get(t)){const n=function(e){e.target===i.get(0)&&t.apply(this,arguments)};Oe(i).on(e,n),this._handlers.set(t,n)}return this},Dt.prototype.off=function(e,t){const i=this.$el,n=this._handlers.get(t);return n&&(Oe(i).off(e,n),this._handlers.delete(t)),this},Dt.prototype.show=function(){return Oe(this.$el).show(),this},Dt.prototype.hide=function(){return Oe(this.$el).hide(),this},Dt.prototype.remove=function(){return Oe(this.$el).remove(),this},Dt.prototype.isVisible=function(){return Oe(this.$el).isVisible()};var St=ge("dialog2",Dt),It=new Set;St.on=function(e,t){return It.has(t)||(Oe.on(e,".aui-dialog2",t),It.add(t)),this},St.off=function(e,t){return It.has(t)&&(Oe.off(e,".aui-dialog2",t),It.delete(t)),this},i(document).on("click keydown",`.aui-dialog2-header ${kt}`,function(e){("click"===e.type||e.keyCode===Q.ENTER||e.keyCode===Q.SPACE)&&(e.preventDefault(),St(i(e.target).closest(".aui-dialog2")).hide())}),St.on("show",function(e,t){!function(e){const t=e.querySelector(kt);t&&(O(`Dialog2 [${kt}]`,{removeInVersion:"10.0.0",sinceVersion:"9.6.0",extraInfo:"Replace it with another actionable element inside your Dialog which will trigger closing of the modal.",deprecationType:"MARKUP"})(),t.setAttribute("tabindex","0"));e.setAttribute("tabindex","-1");const i=e.hasAttribute("data-aui-focus-selector");i&&O("Dialog2 [data-aui-focus-selector] attribute",{removeInVersion:"10.0.0",alternativeName:"initialisation on DOM insertion",sinceVersion:"9.6.0",extraInfo:"Replace [data-aui-focus-selector] attribute with HTML [autofocus] attribute",deprecationType:"ATTRIBUTE"})();const n=e.querySelector("[autofocus]");if(n)return document.activeElement.blur(),void setTimeout(()=>n.focus(),0);if(i){const t=e.querySelector(i);if(t)return t.blur(),void setTimeout(()=>t.focus(),0)}const s=[...e.querySelectorAll('a[href], button, input, textarea, select, details,[tabindex]:not([tabindex="-1"])')].filter(e=>!e.hasAttribute("disabled")&&!e.getAttribute("aria-hidden"));if(s.length){let e=s.shift();return e.classList.contains(Tt)&&(e=s.shift()),void(e&&(e.blur(),setTimeout(()=>e.focus(),0)))}e.focus()}(t[0])}),St.on("hide",function(e,t){const i=Oe(t);t.data("aui-remove-on-hide")&&i.remove()}),G("aui/dialog2",St),l("dialog2",St);const Mt=St;var Nt,Ot,Lt=navigator.userAgent.toLowerCase(),Pt=(/msie/.test(Lt),/windows nt 5.1/.test(Lt),/windows nt 6.0/.test(Lt),/windows nt 6.1/.test(Lt),/mac os x/.test(Lt));function Rt(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function $t(e){return e instanceof Rt(e).Element||e instanceof Element}function jt(e){return e instanceof Rt(e).HTMLElement||e instanceof HTMLElement}function zt(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Rt(e).ShadowRoot||e instanceof ShadowRoot)}var Ft=Math.max,Ht=Math.min,Bt=Math.round;function Ut(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function Wt(){return!/^((?!chrome|android).)*safari/i.test(Ut())}function Vt(e,t,i){void 0===t&&(t=!1),void 0===i&&(i=!1);var n=e.getBoundingClientRect(),s=1,a=1;t&&jt(e)&&(s=e.offsetWidth>0&&Bt(n.width)/e.offsetWidth||1,a=e.offsetHeight>0&&Bt(n.height)/e.offsetHeight||1);var r=($t(e)?Rt(e):window).visualViewport,o=!Wt()&&i,l=(n.left+(o&&r?r.offsetLeft:0))/s,c=(n.top+(o&&r?r.offsetTop:0))/a,u=n.width/s,d=n.height/a;return{width:u,height:d,top:c,right:l+u,bottom:c+d,left:l,x:l,y:c}}function Yt(e){var t=Rt(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function qt(e){return e?(e.nodeName||"").toLowerCase():null}function Kt(e){return(($t(e)?e.ownerDocument:e.document)||window.document).documentElement}function Qt(e){return Vt(Kt(e)).left+Yt(e).scrollLeft}function Gt(e){return Rt(e).getComputedStyle(e)}function Zt(e){var t=Gt(e),i=t.overflow,n=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(i+s+n)}function Jt(e,t,i){void 0===i&&(i=!1);var n,s,a=jt(t),r=jt(t)&&function(e){var t=e.getBoundingClientRect(),i=Bt(t.width)/e.offsetWidth||1,n=Bt(t.height)/e.offsetHeight||1;return 1!==i||1!==n}(t),o=Kt(t),l=Vt(e,r,i),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(a||!a&&!i)&&(("body"!==qt(t)||Zt(o))&&(c=(n=t)!==Rt(n)&&jt(n)?{scrollLeft:(s=n).scrollLeft,scrollTop:s.scrollTop}:Yt(n)),jt(t)?((u=Vt(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):o&&(u.x=Qt(o))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function Xt(e){var t=Vt(e),i=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-i)<=1&&(i=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:i,height:n}}function ei(e){return"html"===qt(e)?e:e.assignedSlot||e.parentNode||(zt(e)?e.host:null)||Kt(e)}function ti(e){return["html","body","#document"].indexOf(qt(e))>=0?e.ownerDocument.body:jt(e)&&Zt(e)?e:ti(ei(e))}function ii(e,t){var i;void 0===t&&(t=[]);var n=ti(e),s=n===(null==(i=e.ownerDocument)?void 0:i.body),a=Rt(n),r=s?[a].concat(a.visualViewport||[],Zt(n)?n:[]):n,o=t.concat(r);return s?o:o.concat(ii(ei(r)))}function ni(e){return["table","td","th"].indexOf(qt(e))>=0}function si(e){return jt(e)&&"fixed"!==Gt(e).position?e.offsetParent:null}function ai(e){for(var t=Rt(e),i=si(e);i&&ni(i)&&"static"===Gt(i).position;)i=si(i);return i&&("html"===qt(i)||"body"===qt(i)&&"static"===Gt(i).position)?t:i||function(e){var t=/firefox/i.test(Ut());if(/Trident/i.test(Ut())&&jt(e)&&"fixed"===Gt(e).position)return null;var i=ei(e);for(zt(i)&&(i=i.host);jt(i)&&["html","body"].indexOf(qt(i))<0;){var n=Gt(i);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||t&&"filter"===n.willChange||t&&n.filter&&"none"!==n.filter)return i;i=i.parentNode}return null}(e)||t}var ri="top",oi="bottom",li="right",ci="left",ui="auto",di=[ri,oi,li,ci],hi="start",pi="end",fi="viewport",gi="popper",mi=di.reduce(function(e,t){return e.concat([t+"-"+hi,t+"-"+pi])},[]),vi=[].concat(di,[ui]).reduce(function(e,t){return e.concat([t,t+"-"+hi,t+"-"+pi])},[]),bi=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function yi(e){var t=new Map,i=new Set,n=[];function s(e){i.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!i.has(e)){var n=t.get(e);n&&s(n)}}),n.push(e)}return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){i.has(e.name)||s(e)}),n}function wi(e,t){var i=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(i&&zt(i)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function _i(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function xi(e,t,i){return t===fi?_i(function(e,t){var i=Rt(e),n=Kt(e),s=i.visualViewport,a=n.clientWidth,r=n.clientHeight,o=0,l=0;if(s){a=s.width,r=s.height;var c=Wt();(c||!c&&"fixed"===t)&&(o=s.offsetLeft,l=s.offsetTop)}return{width:a,height:r,x:o+Qt(e),y:l}}(e,i)):$t(t)?function(e,t){var i=Vt(e,!1,"fixed"===t);return i.top=i.top+e.clientTop,i.left=i.left+e.clientLeft,i.bottom=i.top+e.clientHeight,i.right=i.left+e.clientWidth,i.width=e.clientWidth,i.height=e.clientHeight,i.x=i.left,i.y=i.top,i}(t,i):_i(function(e){var t,i=Kt(e),n=Yt(e),s=null==(t=e.ownerDocument)?void 0:t.body,a=Ft(i.scrollWidth,i.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),r=Ft(i.scrollHeight,i.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),o=-n.scrollLeft+Qt(e),l=-n.scrollTop;return"rtl"===Gt(s||i).direction&&(o+=Ft(i.clientWidth,s?s.clientWidth:0)-a),{width:a,height:r,x:o,y:l}}(Kt(e)))}function Ci(e,t,i,n){var s="clippingParents"===t?function(e){var t=ii(ei(e)),i=["absolute","fixed"].indexOf(Gt(e).position)>=0&&jt(e)?ai(e):e;return $t(i)?t.filter(function(e){return $t(e)&&wi(e,i)&&"body"!==qt(e)}):[]}(e):[].concat(t),a=[].concat(s,[i]),r=a[0],o=a.reduce(function(t,i){var s=xi(e,i,n);return t.top=Ft(s.top,t.top),t.right=Ht(s.right,t.right),t.bottom=Ht(s.bottom,t.bottom),t.left=Ft(s.left,t.left),t},xi(e,r,n));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}function Ti(e){return e.split("-")[0]}function ki(e){return e.split("-")[1]}function Ei(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Ai(e){var t,i=e.reference,n=e.element,s=e.placement,a=s?Ti(s):null,r=s?ki(s):null,o=i.x+i.width/2-n.width/2,l=i.y+i.height/2-n.height/2;switch(a){case ri:t={x:o,y:i.y-n.height};break;case oi:t={x:o,y:i.y+i.height};break;case li:t={x:i.x+i.width,y:l};break;case ci:t={x:i.x-n.width,y:l};break;default:t={x:i.x,y:i.y}}var c=a?Ei(a):null;if(null!=c){var u="y"===c?"height":"width";switch(r){case hi:t[c]=t[c]-(i[u]/2-n[u]/2);break;case pi:t[c]=t[c]+(i[u]/2-n[u]/2)}}return t}function Di(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Si(e,t){return t.reduce(function(t,i){return t[i]=e,t},{})}function Ii(e,t){void 0===t&&(t={});var i=t,n=i.placement,s=void 0===n?e.placement:n,a=i.strategy,r=void 0===a?e.strategy:a,o=i.boundary,l=void 0===o?"clippingParents":o,c=i.rootBoundary,u=void 0===c?fi:c,d=i.elementContext,h=void 0===d?gi:d,p=i.altBoundary,f=void 0!==p&&p,g=i.padding,m=void 0===g?0:g,v=Di("number"!=typeof m?m:Si(m,di)),b=h===gi?"reference":gi,y=e.rects.popper,w=e.elements[f?b:h],_=Ci($t(w)?w:w.contextElement||Kt(e.elements.popper),l,u,r),x=Vt(e.elements.reference),C=Ai({reference:x,element:y,strategy:"absolute",placement:s}),T=_i(Object.assign({},y,C)),k=h===gi?T:x,E={top:_.top-k.top+v.top,bottom:k.bottom-_.bottom+v.bottom,left:_.left-k.left+v.left,right:k.right-_.right+v.right},A=e.modifiersData.offset;if(h===gi&&A){var D=A[s];Object.keys(E).forEach(function(e){var t=[li,oi].indexOf(e)>=0?1:-1,i=[ri,oi].indexOf(e)>=0?"y":"x";E[e]+=D[i]*t})}return E}var Mi={placement:"bottom",modifiers:[],strategy:"absolute"};function Ni(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function Oi(e){void 0===e&&(e={});var t=e,i=t.defaultModifiers,n=void 0===i?[]:i,s=t.defaultOptions,a=void 0===s?Mi:s;return function(e,t,i){void 0===i&&(i=a);var s,r,o={placement:"bottom",orderedModifiers:[],options:Object.assign({},Mi,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,u={state:o,setOptions:function(i){var s="function"==typeof i?i(o.options):i;d(),o.options=Object.assign({},a,o.options,s),o.scrollParents={reference:$t(e)?ii(e):e.contextElement?ii(e.contextElement):[],popper:ii(t)};var r,c,h=function(e){var t=yi(e);return bi.reduce(function(e,i){return e.concat(t.filter(function(e){return e.phase===i}))},[])}((r=[].concat(n,o.options.modifiers),c=r.reduce(function(e,t){var i=e[t.name];return e[t.name]=i?Object.assign({},i,t,{options:Object.assign({},i.options,t.options),data:Object.assign({},i.data,t.data)}):t,e},{}),Object.keys(c).map(function(e){return c[e]})));return o.orderedModifiers=h.filter(function(e){return e.enabled}),o.orderedModifiers.forEach(function(e){var t=e.name,i=e.options,n=void 0===i?{}:i,s=e.effect;if("function"==typeof s){var a=s({state:o,name:t,instance:u,options:n}),r=function(){};l.push(a||r)}}),u.update()},forceUpdate:function(){if(!c){var e=o.elements,t=e.reference,i=e.popper;if(Ni(t,i)){o.rects={reference:Jt(t,ai(i),"fixed"===o.options.strategy),popper:Xt(i)},o.reset=!1,o.placement=o.options.placement,o.orderedModifiers.forEach(function(e){return o.modifiersData[e.name]=Object.assign({},e.data)});for(var n=0;n<o.orderedModifiers.length;n++)if(!0!==o.reset){var s=o.orderedModifiers[n],a=s.fn,r=s.options,l=void 0===r?{}:r,d=s.name;"function"==typeof a&&(o=a({state:o,options:l,name:d,instance:u})||o)}else o.reset=!1,n=-1}}},update:(s=function(){return new Promise(function(e){u.forceUpdate(),e(o)})},function(){return r||(r=new Promise(function(e){Promise.resolve().then(function(){r=void 0,e(s())})})),r}),destroy:function(){d(),c=!0}};if(!Ni(e,t))return u;function d(){l.forEach(function(e){return e()}),l=[]}return u.setOptions(i).then(function(e){!c&&i.onFirstUpdate&&i.onFirstUpdate(e)}),u}}var Li={passive:!0};const Pi={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,i=e.instance,n=e.options,s=n.scroll,a=void 0===s||s,r=n.resize,o=void 0===r||r,l=Rt(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach(function(e){e.addEventListener("scroll",i.update,Li)}),o&&l.addEventListener("resize",i.update,Li),function(){a&&c.forEach(function(e){e.removeEventListener("scroll",i.update,Li)}),o&&l.removeEventListener("resize",i.update,Li)}},data:{}};const Ri={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,i=e.name;t.modifiersData[i]=Ai({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};var $i={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ji(e){var t,i=e.popper,n=e.popperRect,s=e.placement,a=e.variation,r=e.offsets,o=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,h=r.x,p=void 0===h?0:h,f=r.y,g=void 0===f?0:f,m="function"==typeof u?u({x:p,y:g}):{x:p,y:g};p=m.x,g=m.y;var v=r.hasOwnProperty("x"),b=r.hasOwnProperty("y"),y=ci,w=ri,_=window;if(c){var x=ai(i),C="clientHeight",T="clientWidth";if(x===Rt(i)&&"static"!==Gt(x=Kt(i)).position&&"absolute"===o&&(C="scrollHeight",T="scrollWidth"),s===ri||(s===ci||s===li)&&a===pi)w=oi,g-=(d&&x===_&&_.visualViewport?_.visualViewport.height:x[C])-n.height,g*=l?1:-1;if(s===ci||(s===ri||s===oi)&&a===pi)y=li,p-=(d&&x===_&&_.visualViewport?_.visualViewport.width:x[T])-n.width,p*=l?1:-1}var k,E=Object.assign({position:o},c&&$i),A=!0===u?function(e,t){var i=e.x,n=e.y,s=t.devicePixelRatio||1;return{x:Bt(i*s)/s||0,y:Bt(n*s)/s||0}}({x:p,y:g},Rt(i)):{x:p,y:g};return p=A.x,g=A.y,l?Object.assign({},E,((k={})[w]=b?"0":"",k[y]=v?"0":"",k.transform=(_.devicePixelRatio||1)<=1?"translate("+p+"px, "+g+"px)":"translate3d("+p+"px, "+g+"px, 0)",k)):Object.assign({},E,((t={})[w]=b?g+"px":"",t[y]=v?p+"px":"",t.transform="",t))}const zi={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,i=e.options,n=i.gpuAcceleration,s=void 0===n||n,a=i.adaptive,r=void 0===a||a,o=i.roundOffsets,l=void 0===o||o,c={placement:Ti(t.placement),variation:ki(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:s,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,ji(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:r,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,ji(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};const Fi={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var i=t.styles[e]||{},n=t.attributes[e]||{},s=t.elements[e];jt(s)&&qt(s)&&(Object.assign(s.style,i),Object.keys(n).forEach(function(e){var t=n[e];!1===t?s.removeAttribute(e):s.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,i={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,i.popper),t.styles=i,t.elements.arrow&&Object.assign(t.elements.arrow.style,i.arrow),function(){Object.keys(t.elements).forEach(function(e){var n=t.elements[e],s=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:i[e]).reduce(function(e,t){return e[t]="",e},{});jt(n)&&qt(n)&&(Object.assign(n.style,a),Object.keys(s).forEach(function(e){n.removeAttribute(e)}))})}},requires:["computeStyles"]};const Hi={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,i=e.options,n=e.name,s=i.offset,a=void 0===s?[0,0]:s,r=vi.reduce(function(e,i){return e[i]=function(e,t,i){var n=Ti(e),s=[ci,ri].indexOf(n)>=0?-1:1,a="function"==typeof i?i(Object.assign({},t,{placement:e})):i,r=a[0],o=a[1];return r=r||0,o=(o||0)*s,[ci,li].indexOf(n)>=0?{x:o,y:r}:{x:r,y:o}}(i,t.rects,a),e},{}),o=r[t.placement],l=o.x,c=o.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=r}};var Bi={left:"right",right:"left",bottom:"top",top:"bottom"};function Ui(e){return e.replace(/left|right|bottom|top/g,function(e){return Bi[e]})}var Wi={start:"end",end:"start"};function Vi(e){return e.replace(/start|end/g,function(e){return Wi[e]})}const Yi={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,i=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var s=i.mainAxis,a=void 0===s||s,r=i.altAxis,o=void 0===r||r,l=i.fallbackPlacements,c=i.padding,u=i.boundary,d=i.rootBoundary,h=i.altBoundary,p=i.flipVariations,f=void 0===p||p,g=i.allowedAutoPlacements,m=t.options.placement,v=Ti(m),b=l||(v===m||!f?[Ui(m)]:function(e){if(Ti(e)===ui)return[];var t=Ui(e);return[Vi(e),t,Vi(t)]}(m)),y=[m].concat(b).reduce(function(e,i){return e.concat(Ti(i)===ui?function(e,t){void 0===t&&(t={});var i=t,n=i.placement,s=i.boundary,a=i.rootBoundary,r=i.padding,o=i.flipVariations,l=i.allowedAutoPlacements,c=void 0===l?vi:l,u=ki(n),d=u?o?mi:mi.filter(function(e){return ki(e)===u}):di,h=d.filter(function(e){return c.indexOf(e)>=0});0===h.length&&(h=d);var p=h.reduce(function(t,i){return t[i]=Ii(e,{placement:i,boundary:s,rootBoundary:a,padding:r})[Ti(i)],t},{});return Object.keys(p).sort(function(e,t){return p[e]-p[t]})}(t,{placement:i,boundary:u,rootBoundary:d,padding:c,flipVariations:f,allowedAutoPlacements:g}):i)},[]),w=t.rects.reference,_=t.rects.popper,x=new Map,C=!0,T=y[0],k=0;k<y.length;k++){var E=y[k],A=Ti(E),D=ki(E)===hi,S=[ri,oi].indexOf(A)>=0,I=S?"width":"height",M=Ii(t,{placement:E,boundary:u,rootBoundary:d,altBoundary:h,padding:c}),N=S?D?li:ci:D?oi:ri;w[I]>_[I]&&(N=Ui(N));var O=Ui(N),L=[];if(a&&L.push(M[A]<=0),o&&L.push(M[N]<=0,M[O]<=0),L.every(function(e){return e})){T=E,C=!1;break}x.set(E,L)}if(C)for(var P=function(e){var t=y.find(function(t){var i=x.get(t);if(i)return i.slice(0,e).every(function(e){return e})});if(t)return T=t,"break"},R=f?3:1;R>0;R--){if("break"===P(R))break}t.placement!==T&&(t.modifiersData[n]._skip=!0,t.placement=T,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function qi(e,t,i){return Ft(e,Ht(t,i))}const Ki={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,i=e.options,n=e.name,s=i.mainAxis,a=void 0===s||s,r=i.altAxis,o=void 0!==r&&r,l=i.boundary,c=i.rootBoundary,u=i.altBoundary,d=i.padding,h=i.tether,p=void 0===h||h,f=i.tetherOffset,g=void 0===f?0:f,m=Ii(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),v=Ti(t.placement),b=ki(t.placement),y=!b,w=Ei(v),_="x"===w?"y":"x",x=t.modifiersData.popperOffsets,C=t.rects.reference,T=t.rects.popper,k="function"==typeof g?g(Object.assign({},t.rects,{placement:t.placement})):g,E="number"==typeof k?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),A=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,D={x:0,y:0};if(x){if(a){var S,I="y"===w?ri:ci,M="y"===w?oi:li,N="y"===w?"height":"width",O=x[w],L=O+m[I],P=O-m[M],R=p?-T[N]/2:0,$=b===hi?C[N]:T[N],j=b===hi?-T[N]:-C[N],z=t.elements.arrow,F=p&&z?Xt(z):{width:0,height:0},H=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},B=H[I],U=H[M],W=qi(0,C[N],F[N]),V=y?C[N]/2-R-W-B-E.mainAxis:$-W-B-E.mainAxis,Y=y?-C[N]/2+R+W+U+E.mainAxis:j+W+U+E.mainAxis,q=t.elements.arrow&&ai(t.elements.arrow),K=q?"y"===w?q.clientTop||0:q.clientLeft||0:0,Q=null!=(S=null==A?void 0:A[w])?S:0,G=O+Y-Q,Z=qi(p?Ht(L,O+V-Q-K):L,O,p?Ft(P,G):P);x[w]=Z,D[w]=Z-O}if(o){var J,X="x"===w?ri:ci,ee="x"===w?oi:li,te=x[_],ie="y"===_?"height":"width",ne=te+m[X],se=te-m[ee],ae=-1!==[ri,ci].indexOf(v),re=null!=(J=null==A?void 0:A[_])?J:0,oe=ae?ne:te-C[ie]-T[ie]-re+E.altAxis,le=ae?te+C[ie]+T[ie]-re-E.altAxis:se,ce=p&&ae?function(e,t,i){var n=qi(e,t,i);return n>i?i:n}(oe,te,le):qi(p?oe:ne,te,p?le:se);x[_]=ce,D[_]=ce-te}t.modifiersData[n]=D}},requiresIfExists:["offset"]};const Qi={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,i=e.state,n=e.name,s=e.options,a=i.elements.arrow,r=i.modifiersData.popperOffsets,o=Ti(i.placement),l=Ei(o),c=[ci,li].indexOf(o)>=0?"height":"width";if(a&&r){var u=function(e,t){return Di("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Si(e,di))}(s.padding,i),d=Xt(a),h="y"===l?ri:ci,p="y"===l?oi:li,f=i.rects.reference[c]+i.rects.reference[l]-r[l]-i.rects.popper[c],g=r[l]-i.rects.reference[l],m=ai(a),v=m?"y"===l?m.clientHeight||0:m.clientWidth||0:0,b=f/2-g/2,y=u[h],w=v-d[c]-u[p],_=v/2-d[c]/2+b,x=qi(y,_,w),C=l;i.modifiersData[n]=((t={})[C]=x,t.centerOffset=x-_,t)}},effect:function(e){var t=e.state,i=e.options.element,n=void 0===i?"[data-popper-arrow]":i;null!=n&&("string"!=typeof n||(n=t.elements.popper.querySelector(n)))&&wi(t.elements.popper,n)&&(t.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Gi(e,t,i){return void 0===i&&(i={x:0,y:0}),{top:e.top-t.height-i.y,right:e.right-t.width+i.x,bottom:e.bottom-t.height+i.y,left:e.left-t.width-i.x}}function Zi(e){return[ri,li,oi,ci].some(function(t){return e[t]>=0})}const Ji={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,i=e.name,n=t.rects.reference,s=t.rects.popper,a=t.modifiersData.preventOverflow,r=Ii(t,{elementContext:"reference"}),o=Ii(t,{altBoundary:!0}),l=Gi(r,n),c=Gi(o,s,a),u=Zi(l),d=Zi(c);t.modifiersData[i]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}};var Xi=Oi({defaultModifiers:[Pi,Ri,zi,Fi,Hi,Yi,Ki,Qi,Ji]});const en={"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 tn(e,t){return e.getAttribute(t)||e.getAttribute("data-aui-"+t)}function nn(e){return tn(e,"alignment")||"right middle"}function sn(e){let[t,i]=nn(e).split(" ");return{side:t,snap:i}}function an(e){let t=function(e){let t=tn(e,"alignment-container")||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){let n=t.getBoundingClientRect();e.getBoundingClientRect().left-n.left>(n.right-n.left)/2&&(i="right")}return i}function rn(e,t){const i=sn(e);let n;return i.snap&&"auto"!==i.snap?n=function(e){const t=nn(e);return en[t]||"right"}(e):(i.snap=an(t),n="submenu"===i.side?en[("right"===i.snap?"left":"right")+" top"]:en[`${i.side} ${i.snap}`]),n}const on={auto:[],top:["top","bottom"],right:["right","left"],bottom:["bottom","top"],left:["left","right"]};function ln(e,t,i={}){const n=sn(e),s=rn(e,t),a=on[s.split("-")[0]],r=t.ownerDocument.defaultView.frameElement;this._eventListenersEnabled=!!i.hasOwnProperty("eventsEnabled")&&i.eventsEnabled,this._triggerOnEvents=!1;const o=[{name:"flip",enabled:!i.hasOwnProperty("flip")||i.flip,options:{allowedAutoPlacements:a,boundary:r||(i.hasOwnProperty("flipContainer")?i.flipContainer:"clippingParents")}},{name:"preventOverflow",enabled:!i.hasOwnProperty("preventOverflow")||i.preventOverflow,options:{padding:0,escapeWithReference:!1,rootBoundary:r?"document":i.hasOwnProperty("overflowContainer")?i.overflowContainer:"document"}},{name:"offset",enabled:i.hasOwnProperty("offset")&&!!i.offset,options:{offset:i.offset}},{name:"hide",enabled:!1},{name:"computeStyles",options:{gpuAcceleration:document.body.classList.contains("aui-alignment-use-gpu")}},{name:"eventListeners",enabled:this._eventListenersEnabled},{name:"x-placement",enabled:!0,phase:"write",requires:["computeStyles"],fn:({state:e})=>{e.elements.popper&&e.elements.popper.setAttribute("x-placement",e.placement)}},{name:"onUpdate",enabled:i.hasOwnProperty("onUpdate"),phase:"afterWrite",effect:({state:e,name:t})=>{e.modifiersData[`${t}#persistent`]={enabled:!0,fn:i.onUpdate}},fn:({state:e,name:t})=>{const i=e.modifiersData[`${t}#persistent`];return i.enabled&&i.fn(),e}},{name:"onEvents",enabled:i.hasOwnProperty("onEvents"),phase:"afterWrite",effect:({state:e,name:t})=>{e.modifiersData[`${t}#persistent`]={fn:i.onEvents}},fn:({state:e,name:t})=>{const i=e.modifiersData[`${t}#persistent`];return this._triggerOnEvents&&(this._eventListenersEnabled?i.fn.enabled&&i.fn.enabled():i.fn.disabled&&i.fn.disabled(),this._triggerOnEvents=!1),e}}];r&&t.ownerDocument!=e.ownerDocument&&o.push({name:"iframeOffset",enabled:!0,fn(e){const t=r.getBoundingClientRect(),i=window.getComputedStyle(r),n=(e,t)=>e+t,s=e=>e.map(parseFloat).filter(Boolean).reduce(n,0),a=s([t.top,i.paddingTop,i.borderTop]),o=s([t.left,i.paddingLeft,i.borderLeft]);return e.offsets.reference.left+=o,e.offsets.reference.top+=a,e.offsets.popper.left+=o,e.offsets.popper.top+=a,e}});const l={placement:s,strategy:i.hasOwnProperty("positionFixed")&&!i.positionFixed?"absolute":"fixed",modifiers:o,onFirstUpdate:i.onCreate};this.popper=Xi(t,e,l),function(e,t,i){const n="aui-alignment-side-"+t,s="aui-alignment-snap-"+i;e.classList.contains(n)||e.classList.add(n),e.classList.contains(s)||e.classList.add(s)}(e,n.side,n.snap)}ln.prototype={destroy(){return this.popper.destroy(),this},changeTarget(e){const t=e.jquery?e[0]:e;return t&&t!==this.popper.state.elements.reference&&(this.popper.state.elements.reference=t,this.popper.setOptions({})),this},scheduleUpdate(){return this.popper.update(),this},enable(){return this._eventListenersEnabled=!0,this._triggerOnEvents=!0,this.popper.setOptions({}),this},disable(){return this._eventListenersEnabled=!1,this._triggerOnEvents=!0,this.popper.setOptions({}),this}};const cn=ln;function un(e){let t=new i.Deferred;return e?setTimeout(()=>{e.parentElement||t.resolve()},12):t.reject(),t.promise()}var dn,hn,pn=0;function fn(e){if(dn=pn+++"",hn=e?e+dn:"aui-uid-"+dn,document.getElementById(hn)){if(hn=hn+"-"+(new Date).getTime(),document.getElementById(hn))throw new Error('Timestamped fallback ID "'+hn+'" exists.');return hn}return hn}l("id",fn);const gn=fn;function mn(e){return e.hasAttribute("hidden")||e.classList.contains("hidden")}function vn(e,t){e.setAttribute("aria-expanded",!!t),e.classList[t?"add":"remove"]("active","aui-dropdown2-active")}var bn="unloaded",yn="loading",wn="error";function _n(e,t){J(e).set("loading-state","success"),e.innerHTML=function(e){return e.map(function(e){var t=e.items.map(function(e){function t(t){return e[t]?`${t} ="true"`:""}function i(t){return e[t]?`${t}="${e[t]}"`:""}var n="aui-item-"+e.type;return`\n <${n} ${i("for")} ${i("href")} ${t("interactive")}\n ${t("checked")} ${t("disabled")} ${t("hidden")}>\n ${S(e.content)}\n </${n}>`}).join("");return`\n <aui-section ${e.label?`label="${e.label}"`:""}>\n ${t}\n </aui-section>`}).join("\n")}(t),Z.init(e)}function xn(e){J(e).set("loading-state",wn),J(e).set("hasErrorBeenShown",e.isVisible()),e.innerHTML=`\n <div class="aui-message aui-message-error aui-dropdown-error">\n <p>${I18n.getText("aui.dropdown.async.error")}</p>\n </div>\n `}function Cn(e){e.src&&J(e).get("loading-state")!==yn&&(!function(e){J(e).set("loading-state",yn),J(e).set("hasErrorBeenShown",!1),te(e,function(e){e.setAttribute("aria-busy","true")}),e.innerHTML=`\n <div class="aui-dropdown-loading">\n <aui-spinner size="small"></aui-spinner> ${I18n.getText("aui.dropdown.async.loading")}\n </div>\n `}(e),i.ajax(e.src).done(function(t,i,n){200===n.status?_n(e,t):xn(e)}).fail(function(){xn(e)}).always(function(){!function(e){te(e,function(e){e.setAttribute("aria-busy","false")})}(e)}))}function Tn(e,t){return i(e).find(["> ul > li","> .aui-dropdown2-section > ul > li",'> .aui-dropdown2-section > div[role="group"] > ul > li','> div > .aui-dropdown2-section > div[role="group"] > ul > li',"aui-item-link","aui-item-checkbox","aui-item-radio"].join(", ")).filter(t).children('a, button, [role="checkbox"], [role="menuitemcheckbox"], [role="radio"], [role="menuitemradio"]')}function kn(e){return Tn(e,()=>!0)}function En(e){return Tn(e,(e,t)=>!mn(t))}function An(e){kn(e).each((e,t)=>{return(i=t).setAttribute("tabindex","-1"),void((i.classList.contains("aui-dropdown2-disabled")||mn(i.parentElement))&&i.setAttribute("aria-disabled","true"));var i})}function Dn(e){e._auiAlignment&&(e._auiAlignment.destroy(),delete e._auiAlignment)}function Sn(e,t){var n=t&&t.hasSubmenu&&t.hasSubmenu(),s="submenu auto"===e.getAttribute("data-aui-alignment");!n&&s&&function(e){var t=i(e),n=t.data("previous-data-aui-alignment");n?e.setAttribute("data-aui-alignment",n):e.removeAttribute("data-aui-alignment");t.removeData("previous-data-aui-alignment"),t.data("had-data-aui-alignment-static")||e.removeAttribute("data-aui-alignment-static");t.removeData("had-data-aui-alignment-static")}(e);var a=e.hasAttribute("data-aui-alignment");n&&!s?(!function(e){var t=i(e);e.hasAttribute("data-aui-alignment")&&t.data("previous-data-aui-alignment",e.getAttribute("data-aui-alignment"));t.data("had-data-aui-alignment-static",e.hasAttribute("data-aui-alignment-static"))}(e),e.setAttribute("data-aui-alignment","submenu auto"),e.setAttribute("data-aui-alignment-static",!0)):a||(e.setAttribute("data-aui-alignment","bottom auto"),e.setAttribute("data-aui-alignment-static",!0)),Dn(e),e._auiAlignment=new cn(e,t,{flip:!1,positionFixed:!1,preventOverflow:!1,offset:t.hasSubmenu&&t.hasSubmenu()?[-3,0]:[0,3]}),e._auiAlignment.enable()}i(document).on("mousedown",".aui-dropdown2-trigger",function(){this.hasAttribute("resolved")||(Z.init(this),O("Dropdown2 lazy initialisation",{removeInVersion:"10.0.0",alternativeName:"initialisation on DOM insertion",sinceVersion:"5.8.0",extraInfo:"Dropdown2 triggers should have all necessary attributes on DOM insertion",deprecationType:"JS"})())}),i(document).on("mouseenter",".aui-dropdown2-trigger-group a, .aui-dropdown2-trigger-group button",function(e){const t=i(e.currentTarget);if(t.is(".aui-dropdown2-active"))return;if(t.closest(".aui-dropdown2").length)return;const n=t.closest(".aui-dropdown2-trigger-group"),s=n.find(".aui-dropdown2-active");s.length&&t.is(".aui-dropdown2-trigger")&&(s.blur(),t.trigger("aui-button-invoke"),e.preventDefault());const a=n.find(":focus");a.length&&t.is(".aui-dropdown2-trigger")&&a.blur()});var In=!1;function Mn(){In=!0}function Nn(e){Oe(e),e.addEventListener("aui-layer-show",function(t){e===t.target&&(!function(e){var t=i(e);["disabled","interactive","active","checked"].forEach(e=>{t.find(`.${e}`).addClass(`aui-dropdown2-${e}`)})}(e),An(e),i(e).trigger("aui-dropdown2-show"),te(e,function(t){vn(t,!0),e._returnTo=function(e,t){var i=t.getAttribute("data-dropdown2-hide-location");return document.getElementById(i)||e.parentNode}(e,t)}))}),e.addEventListener("aui-layer-hide",function(t){e===t.target&&(i(e).trigger("aui-dropdown2-hide"),e._auiAlignment&&e._auiAlignment.destroy(),e._returnTo&&e.parentNode&&e.parentNode!==e._returnTo&&e._returnTo.appendChild(e),e.classList.remove("aui-dropdown2-in-header","aui-dropdown2-in-buttons"),kn(e).removeClass("active aui-dropdown2-active"),te(e,function(e){var t;vn(e,!1),t=!0===In,In=!1,t&&e.focus()}),delete e.isSubmenu)})}function On(e){var t=i(e);function n(t){return i(t).closest(".aui-dropdown2, aui-dropdown-menu").get(0)===e}t.on("keydown",function(t){n(t.target)&&(t.keyCode===Q.DOWN?(e.focusNext(),t.preventDefault()):t.keyCode===Q.UP?(e.focusPrevious(),t.preventDefault()):t.keyCode===Q.LEFT?e.isSubmenu&&(Mn(),e.hide(),t.preventDefault()):t.keyCode===Q.ESCAPE?Mn():t.keyCode===Q.TAB&&(Mn(),e.hideAll(!1)))});t.on("click keydown",'a, button, [role="menuitem"], [role="menuitemcheckbox"], [role="checkbox"], [role="menuitemradio"], [role="radio"]',function(t){if(!n(t.target))return;const s=t.currentTarget,a=t.keyCode,r=a===Q.ENTER,o=a===Q.SPACE;r&&i(s).is("a[href], button")||"click"!==t.type&&!r&&!o||function(t){const i=t.currentTarget;if("true"===i.getAttribute("aria-disabled"))return void t.preventDefault();t.currentTarget.hasSubmenu&&t.currentTarget.hasSubmenu()||i.classList.contains("aui-dropdown2-interactive")||e.hideAll(!0)}(t)}),t.on("mouseenter",'a, button, [role="menuitem"], [role="menuitemcheckbox"], [role="checkbox"], [role="menuitemradio"], [role="radio"]',function(t){if(!n(t.target))return;let s=i(Oe(e).above()).get(0);for(;s&&s.isDropdown&&s!==e;){const e=s.getAttribute("id"),n=t.target.getAttribute("aria-controls"),a=Oe(s).above();n!==e&&Oe(s).hide(),s=i(a).get(0)}})}function Ln(e){e.classList.add("aui-dropdown2"),e.setAttribute("tabindex","-1"),e.hasAttribute("data-container")&&(e.setAttribute("data-aui-alignment-container",e.getAttribute("data-container")),e.removeAttribute("data-container")),Nn(e),On(e),i(e).on("click keydown",".aui-dropdown2-checkbox",function(e){if("click"===e.type||e.keyCode===Q.ENTER||e.keyCode===Q.SPACE){let t=this;if(e.isDefaultPrevented())return;t.isInteractive()&&e.preventDefault(),t.isEnabled()&&(t.isChecked()?t.uncheck():t.check())}}),i(e).on("click keydown",".aui-dropdown2-radio",function(e){if("click"===e.type||e.keyCode===Q.ENTER||e.keyCode===Q.SPACE){let t=this;if(e.isDefaultPrevented())return;t.isInteractive()&&e.preventDefault(),this.isEnabled()&&!1===this.isChecked()&&(i(t).closest("ul,[role=group]").find(".aui-dropdown2-checked").not(this).each(function(){this.uncheck()}),t.check())}})}i(window).on("resize",(0,pt.debounce)(function(){i(".aui-dropdown2").each(function(e,t){Z.init(t),t.isVisible()&&t.hide()})},1e3,!0));var Pn={toggle:function(e){this.isVisible()?this.hide():this.show(e)},show:function(e){const t=this;return te(t,e=>{vn(e,!1)}),e&&e.currentTarget&&e.currentTarget.classList.contains("aui-dropdown2-trigger")&&ee(t,e.currentTarget),Oe(t).show(),te(t,function(e){vn(e,!0),Sn(t,e)}),setTimeout(()=>function(e,t={}){if(t&&t.type&&-1===t.type.indexOf("mouse")){const i=t.type.indexOf("key")>-1;if(e.isSubmenu)e.focusItem(0);else if(i)if(t.keyCode===Q.UP){const t=En(e);t&&t.length&&e.focusItem(t.length-1)}else e.focusItem(0);else e.focus()}}(t,e),0),this},hide:function(){return Oe(this).hide(),this},hideAll:function(e=!0){const t=function(e){let t=Oe(e);for(;;){const e=t.below();if(!e)break;if(!e.get(0).isDropdown)break;t=Oe(e)}return t}(this);return t.isVisible()?(t.hide(),e&&te(t.el,e=>{setTimeout(()=>{e.focus()},0),ee(t.el,null)}),this):this},focusNext:function(){var e,t=En(this),i=document.activeElement;t.last()[0]!==i?(e=t.toArray().indexOf(i),this.focusItem(t.get(e+1))):this.focusItem(0)},focusPrevious:function(){var e,t=En(this),i=document.activeElement;t.first()[0]!==i?(e=t.toArray().indexOf(i),this.focusItem(t.get(e-1))):this.focusItem(t.length-1)},focusItem:function(e){const t=En(this);"number"==typeof e&&(e=t.get(e));const n=i(e);n.focus(),t.removeClass("active aui-dropdown2-active"),n.addClass("active aui-dropdown2-active")},isVisible:function(){return Oe(this).isVisible()},isDropdown:!0},Rn={created:function(e){var t=e.children[0];t.setAttribute("aria-disabled","true"),t.classList.add("disabled","aui-dropdown2-disabled")},removed:function(e){var t=e.children[0];t.setAttribute("aria-disabled","false"),t.classList.remove("disabled","aui-dropdown2-disabled")}},$n={created:function(e){e.children[0].classList.add("interactive","aui-dropdown2-interactive")},removed:function(e){e.children[0].classList.remove("interactive","aui-dropdown2-interactive")}},jn={created:function(e){var t=e.children[0];t.classList.add("checked","aui-dropdown2-checked"),t.setAttribute("aria-checked",!0),e.dispatchEvent(new ve("change",{bubbles:!0}))},removed:function(e){var t=e.children[0];t.classList.remove("checked","aui-dropdown2-checked"),t.setAttribute("aria-checked",!1),e.dispatchEvent(new ve("change",{bubbles:!0}))}},zn={created:function(e){Rn.created(e)},removed:function(e){Rn.removed(e)}},Fn=function(e){return{fallback:function(t,i){t.children[0].setAttribute(e,i.newValue)},removed:function(t){t.children[0].removeAttribute(e)}}};const Hn=function(e=""){return e.split(" ").map(e=>e.trim()).filter(e=>e)},Bn=Z("aui-item-link",{template:Ye()('<a role="menuitem" tabindex="-1"><content></content></a>'),attributes:{disabled:Rn,interactive:$n,hidden:zn,href:Fn("href"),"item-id":Fn("id"),for:{created:function(e){var t=e.children[0];t.setAttribute("aria-controls",e.getAttribute("for")),i(t).addClass("aui-dropdown2-sub-trigger")},updated:function(e){e.children[0].setAttribute("aria-controls",e.getAttribute("for"))},removed:function(e){var t=e.children[0];t.removeAttribute("aria-controls"),i(t).removeClass("aui-dropdown2-sub-trigger")}},"extra-classes":function(e,t){const i=e.children[0];t.oldValue&&i.classList.remove(...Hn(t.oldValue)),t.newValue&&i.classList.add(...Hn(t.newValue))}}}),[Un,Wn]=["checkbox","radio"].map(e=>Z(`aui-item-${e}`,{template:Ye()(`<span role="menuitem${e}" class="aui-dropdown2-${e}" tabindex="-1"><content></content></span>`),attributes:{"item-id":Fn("id"),disabled:Rn,interactive:$n,checked:jn,hidden:zn}})),Vn=Z("aui-section",{template:Ye()('\n <span aria-hidden="true" class="aui-dropdown2-heading"></span>\n <div class="aui-dropdown2-item-group" role="group">\n <content></content>\n </div>\n '),attributes:{label:function(e,t){const i=gn();var n=e.children[0],s=e.children[1];n.textContent=t.newValue,n.id=i,s.setAttribute("aria-labelledby",i)}},created:function(e){e.classList.add("aui-dropdown2-section")}}),Yn=Z("aui-dropdown-menu",{created:function(e){e.setAttribute("role","menu"),e.className="aui-dropdown2",Oe(e),J(e).set("loading-state",bn),Z.init(e)},detached:function(e){un(e).then(()=>Dn(e))},attributes:{src:{}},prototype:Pn,events:{"aui-layer-show":function(e){var t=J(e).get("loading-state")===bn,i=J(e).get("hasErrorBeenShown");(t||i)&&Cn(e),J(e).get("loading-state")===wn&&J(e).set("hasErrorBeenShown",!0)}}});Z("aui-dropdown2",{type:Z.type.CLASSNAME,created:Ln,prototype:Pn}),Z("data-aui-dropdown2",{type:Z.type.ATTRIBUTE,created:Ln,prototype:Pn}),Z("aui-dropdown2-trigger",{type:Z.type.CLASSNAME,created:function(e){let t=e.getAttribute("aria-controls");function n(n,s=!1){if(n.currentTarget!==e)return;if(n.preventDefault(),!e.isEnabled())return;const a=document.getElementById(t);if(!a)return void m('Could not find a dropdown with id "'+t+'" in the DOM.');const r=i(e);return r.parent().hasClass("aui-buttons")&&a.classList.add("aui-dropdown2-in-buttons"),r.parents().hasClass("aui-header")&&a.classList.add("aui-dropdown2-in-header"),s?a.show(n):a.toggle(n),a.isSubmenu=e.hasSubmenu(),a}t||(t=e.getAttribute("aria-owns"),t?(e.removeAttribute("aria-owns"),e.setAttribute("aria-controls",t)):m('Dropdown triggers need either a "aria-owns" or "aria-controls" attribute')),e.setAttribute("aria-haspopup",!0),e.setAttribute("aria-expanded",!1),"A"===e.nodeName&&!e.href&&e.setAttribute("href",`#${t}`),i(e).on("aui-button-invoke",n).on("click",n).on("keydown",function(t){if(t.currentTarget!==e)return;const i=t.keyCode===Q.ENTER||t.keyCode===Q.SPACE,s=t.keyCode===Q.RIGHT&&e.hasSubmenu(),a=(t.keyCode===Q.UP||t.keyCode===Q.DOWN)&&!e.hasSubmenu();i?n(t):(a||s)&&n(t,document.activeElement===e)}).on("mouseenter",function(i){if(i.currentTarget!==e)return;if(i.preventDefault(),!e.isEnabled())return;const n=document.getElementById(t);if(n)return function(e){var t=J(e).get("loading-state")===bn,i=J(e).get("hasErrorBeenShown");(t||i&&!e.isVisible())&&Cn(e)}(n),e.hasSubmenu()&&(n.show(i),n.isSubmenu=e.hasSubmenu()),n;m('Could not find a dropdown with id "'+t+'" in the DOM.')})},prototype:{disable:function(){this.setAttribute("aria-disabled","true"),this.classList.add("disabled","aui-dropdown2-disabled")},enable:function(){this.setAttribute("aria-disabled","false"),this.classList.remove("disabled","aui-dropdown2-disabled")},isEnabled:function(){return"true"!==this.getAttribute("aria-disabled")&&!1===this.classList.contains("aui-dropdown2-disabled")},hasSubmenu:function(){return this.classList.contains("aui-dropdown2-sub-trigger")}}}),Z("aui-dropdown2-sub-trigger",{type:Z.type.CLASSNAME,created:function(e){e.classList.add("aui-dropdown2-trigger"),Z.init(e)}}),["checkbox","radio"].map(e=>Z(`aui-dropdown2-${e}`,{type:Z.type.CLASSNAME,created:function(t){const i="true"===t.getAttribute("aria-checked")||t.classList.contains("checked")||t.classList.contains("aui-dropdown2-checked");t.classList[i?"add":"remove"]("checked","aui-dropdown2-checked"),t.setAttribute("aria-checked",i),t.setAttribute("tabindex","0"),Pt&&t.setAttribute("role",`menuitem${e}`)},prototype:{isEnabled:function(){return"true"!==this.getAttribute("aria-disabled")},isChecked:function(){return"true"===this.getAttribute("aria-checked")},isInteractive:function(){return this.classList.contains("aui-dropdown2-interactive")},uncheck:function(){this.parentNode.tagName.toLowerCase()===`aui-item-${e}`&&this.parentNode.removeAttribute("checked"),i(this).attr("aria-checked","false").removeClass("checked aui-dropdown2-checked").trigger("aui-dropdown2-item-uncheck")},check:function(){this.parentNode.tagName.toLowerCase()===`aui-item-${e}`&&this.parentNode.setAttribute("checked",""),i(this).attr("aria-checked","true").addClass("checked aui-dropdown2-checked").trigger("aui-dropdown2-item-check")}}}));const qn={"aria-expanded":O("Expander [aria-expanded] attribute",{removeInVersion:"10.0.0",sinceVersion:"9.9.0",deprecationType:"ARIA ATTRIBUTE",extraInfo:'The "aria-expanded" attribute will no longer act as an indicator for the expander if it needs to be expanded. Please update the expander in accordance with AUI guidelines.'}),"replace-selector":O("Expander [data-replace-selector] attribute",{removeInVersion:"10.0.0",sinceVersion:"9.9.0",deprecationType:"DATA ATTRIBUTE",extraInfo:'The attribute "data-replace-selector" will no longer have any functionality. It is recommended to update the expander following AUI guidelines.'}),"short-content":O("Expander [.aui-expander-short-content]",{removeInVersion:"10.0.0",sinceVersion:"9.9.0",deprecationType:"EXPANDER CLASS (PATTERN)"})},Kn=e=>{const t=i(`#${e.attr("aria-controls")}`),n=t.parent().is(e),s=n?e.find(".aui-expander-short-content"):null;return t.attr("aria-expanded")&&(qn["aria-expanded"](),"true"===t.attr("aria-expanded")&&t.addClass("expanded"),t.removeAttr("aria-expanded")),{$content:t,isTriggerParent:n,$shortContent:s,isExpanded:t.hasClass("expanded"),height:t.css("min-height"),isCollapsible:!1!==e.data("collapsible"),textReplacement:e.attr("data-replace-text")}};const Qn=(e,t)=>{if(!t)return;const i=e.data("replace-selector");if(i){qn["replace-selector"]();const n=e.find(i);return e.attr("data-replace-text",n.text()),void n.text(t)}const n=e.find(":not(:has(*)):first"),s=n.length?n:e;e.attr("data-replace-text",s.text()),s.text(t)},Gn={"aui-expander-invoke":function(e){const t=i(e.currentTarget),{isCollapsible:n,isExpanded:s}=Kn(t);s&&n?t.trigger("aui-expander-collapse"):t.trigger("aui-expander-expand")},"aui-expander-expand":function(e){!function(e){const{$content:t,isTriggerParent:i,$shortContent:n,textReplacement:s}=Kn(e);e.attr("aria-expanded","true"),t.addClass("expanded"),t.removeAttr("hidden"),Qn(e,s),i&&n.hide(),e.trigger("aui-expander-expanded")}(i(e.currentTarget))},"aui-expander-collapse":function(e){!function(e){const{$content:t,isTriggerParent:i,$shortContent:n,textReplacement:s}=Kn(e);Qn(e,s),e.attr("aria-expanded","false"),t.removeClass("expanded"),i&&n.show(),0===t.outerHeight()&&t.attr("hidden",""),e.trigger("aui-expander-collapsed")}(i(e.currentTarget))},"click.aui-expander":function(e){i(e.currentTarget).trigger("aui-expander-invoke",e.currentTarget)}};i(document).on(Gn,".aui-expander-trigger"),i(document).ready(function(){i(".aui-expander-trigger").each(function(){!function(e){const{$content:t,isTriggerParent:i,isExpanded:n}=Kn(e);e.data("replace-selector")&&qn["replace-selector"](),t.attr("aria-expanded")&&(qn["aria-expanded"](),"true"===t.attr("aria-expanded")&&t.addClass("expanded"),t.removeAttr("aria-expanded")),(i?e.find(".aui-expander-short-content"):null)&&qn["short-content"](),0===t.outerHeight()&&!n&&t.attr("hidden",""),e.attr("aria-expanded",n?"true":"false")}(i(this))})});function Zn(e,t,n){i(e||".aui-message.aui-remove-on-hide").each(function(){Xn(i(this),t,n)})}function Jn(e){i(e||"div.aui-message.closeable").each(function(){const e=i(this),t=e.find(kt),n=t.length>0?t.first():i(Et);var s;e.addClass("closeable"),e.append(n),(s=e).unbind("click.aui-message").unbind("keydown.aui-message"),s.on("click.aui-message",kt,function(e){i(e.target).closest(".aui-message").closeMessage()}).on("keydown.aui-message",kt,function(e){e.which!==Q.ENTER&&e.which!==Q.SPACE||(i(e.target).closest(".aui-message").closeMessage(),e.preventDefault())})})}function Xn(e,t,n){t=void 0!==t?t:5e3,n=void 0!==n?n:500,i(e||"div.aui-message.fadeout").each(function(){const e=i(this);let s=!1,a=!1;function r(){e.stop(!0,!1).delay(t).fadeOut(n,function(){e.closeMessage()})}function o(){e.stop(!0,!1).fadeTo(100,1)}function l(){return!s&&!a}e.focusin(function(){s=!0,o()}).focusout(function(){s=!1,l()&&r()}).hover(function(){a=!0,o()},function(){a=!1,l()&&r()}),r()})}const es={setup:function(){Zn(),Jn(),Xn()},makeRemoveOnHide:Zn,makeCloseable:Jn,makeFadeout:Xn,createMessage:function(e){this[e]=function(t,n){n||(n=t,t="#aui-message-bar"),n.closeable=null!==n.closeable&&!1!==n.closeable,n.title=(n.title||"").toString().trim();let s=function(e,t){const{id:n,closeable:s,removeOnHide:a,fadeout:r,title:o,body:l}=e,c=function(e,t){const{a11yTypeLabel:i}=e;if(""===i)return"";if(null!=i)return i;if(null==i)switch(t){case"error":return I18n.getText("aui.messagecomponent.error.label");case"warning":return I18n.getText("aui.messagecomponent.warning.label");case"info":return I18n.getText("aui.messagecomponent.info.label");case"confirmation":return I18n.getText("aui.messagecomponent.confirmation.label");case"change":return I18n.getText("aui.messagecomponent.change.label");case"generic":case"success":case"hint":return"";default:throw Error(`Provide \`a11yTypeLabel\` for AUI message of custom type ${t}`)}}(e,t),u=c?`<strong hidden>${c}: </strong>`:"",d=n?`${n}-title`:"",h=o?`<p class="title" ${d?`id="${d}" aria-hidden="true"`:""}>${u}<strong>${S(o)}</strong></p>`:"",p=`<div class="aui-message" role="note" ${d?`aria-labelledby="${d}"`:""}>${h}</div>`,f=i(p).append(i.parseHTML(l||"")).addClass(a?"aui-remove-on-hide":"").addClass(s?"closeable":"").addClass(r?"fadeout":"").addClass(`aui-message-${t}`);n&&(/[#'".\s]/g.test(n)?g("Messages error: ID rejected, must not include spaces, hashes, dots or quotes."):f.attr("id",n));return f}(n,e);return function(e,t,i){"prepend"===t?e.prependTo(i):"before"===t?e.insertBefore(i):"after"===t?e.insertAfter(i):e.appendTo(i)}(s,n.insert,t),n.removeOnHide&&(console.warn&&console.warn("Use of AUI Message `removeOnHide` is deprecated due to accessibility reasons and will be removed in AUI 10.0.0."),Zn(s,n.delay,n.duration)),n.closeable&&Jn(s),n.fadeout&&(console.warn&&console.warn("Use of AUI Message `fadeout` is deprecated due to accessibility reasons and will be removed in AUI 10.0.0."),Xn(s,n.delay,n.duration)),s}}};i.fn.closeMessage=function(){const e=i(this);e.hasClass("aui-message")&&(e.hasClass("closeable")||e.hasClass("aui-remove-on-hide"))&&(e.stop(!0),e.trigger("messageClose",[this]),e.remove(),i(document).trigger("aui-message-close",[this]))},es.createMessage("generic"),es.createMessage("error"),es.createMessage("warning"),es.createMessage("info"),es.createMessage("confirmation"),es.createMessage("change"),es.createMessage("success"),es.createMessage("hint");const ts=Z("aui-message",{created:function(e){const t=e.innerHTML,i=e.getAttribute("type")||"info";e.innerHTML="",es[i](e,{body:t,id:e.getAttribute("id"),a11yTypeLabel:e.getAttribute("a11yTypeLabel"),removeOnHide:e.getAttribute("removeOnHide"),closeable:e.getAttribute("closeable"),delay:e.getAttribute("delay"),duration:e.getAttribute("duration"),fadeout:e.getAttribute("fadeout"),title:e.getAttribute("title")}),e.setAttribute("role","none")}});i(function(){es.setup()}),j(es,"makeCloseable",{extraInfo:'Use the "closeable" option in the constructor instead. Docs: https://aui.atlassian.com/latest/docs/messages.html'}),j(es,"createMessage",{extraInfo:"Use the provided convenience methods instead e.g. messages.info(). Docs: https://aui.atlassian.com/latest/docs/messages.html"}),j(es,"makeRemoveOnHide",{extraInfo:"Use of the `makeRemoveOnHide` option is deprecated due to accessibility reasons. Docs: https://aui.atlassian.com/latest/docs/messages.html"}),j(es,"makeFadeout",{extraInfo:"Use of the `fadeout` option is deprecated due to accessibility reasons. Docs: https://aui.atlassian.com/latest/docs/messages.html"}),j(es,"generic",{extraInfo:"use the messages.info() method instead. Docs: https://aui.atlassian.com/latest/docs/messages.html"}),j(es,"hint",{extraInfo:"use the messages.info() method instead. Docs: https://aui.atlassian.com/latest/docs/messages.html"}),j(es,"success",{extraInfo:"use the messages.confirmation() method instead. Docs: https://aui.atlassian.com/latest/docs/messages.html"}),l("messages",es);const is='a[href], area[href], input:not([disabled]):not([type="hidden"]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex="0"], [contenteditable], audio[controls], video[controls], summary, [tabindex^="0"], [tabindex^="1"], [tabindex^="2"], [tabindex^="3"], [tabindex^="4"], [tabindex^="5"], [tabindex^="6"], [tabindex^="7"], [tabindex^="8"], [tabindex^="9"]',ns="aui-flag-container",ss={body:"",close:"manual",title:"",type:"info",duration:8e3,ariaLive:"polite"};function as(e){const t=(0,pt.defaults)(e,ss);t.title=(t.title||"").toString().trim();const n=function({body:e,title:t,close:n,type:s,ariaLive:a,ariaLabel:r,ariaDescription:o}){const l=`<div class="aui-message">${t?`<p class="title"><strong>${S(t)}</strong></p>`:""}</div>`;r||(r=function(e){switch(e){case"success":return I18n.getText("aui.flag.default-aria-label.success");case"warning":return I18n.getText("aui.flag.default-aria-label.warning");case"error":return I18n.getText("aui.flag.default-aria-label.error");default:return I18n.getText("aui.flag.default-aria-label.info")}}(s));o||(o="");const c=i(l).append(i.parseHTML(e||"")).addClass("never"===n?"":"closeable").addClass(`aui-message-${s}`),u=c.find(is).length>0,d=u?"alertdialog":"alert";return i('<div class="aui-flag"></div>').attr({"aria-label":S(r),"aria-hidden":"false","aria-live":S(a),role:d,...u?{"data-aui-focus-selector":is.split(", ").map(e=>`.aui-message ${e}`).join(", "),"data-aui-focus":"true"}:{},...o?{"aria-description":S(o)}:{}}).append(c)}(t);return function(e){const t=e[0];t.close=function(){os(e)}}(n),"auto"===t.close?(rs(n),"alert"===n.attr("role")&&function(e,t){e.find(".aui-message").addClass("aui-will-close"),setTimeout(function(){e[0].close()},t)}(n,t.duration)):"manual"===t.close&&rs(n),function(){const e=ls();if(e){const t=e.querySelectorAll(".aui-flag:not([open])");Array.from(t).map(e=>e.parentNode.removeChild(e))}else i("body").prepend('<div id="'+ns+'"></div>')}(),function(e){const t=ls();e.appendTo(t),U(e),e.removeAttr("hidden").attr("open","")}(n),setTimeout(function(){"alertdialog"===n.attr("role")&&fe.global.enter(n)},0),n.get(0)}function rs(e){const t=i(Et);return t.on("click",function(){os(e)}),t.on("keypress",function(t){t.which!==Q.ENTER&&t.which!==Q.SPACE||(os(e),t.preventDefault())}),e.find(".aui-message").append(t)[0]}function os(e){const t=e.get(0);return"alertdialog"===e.attr("role")&&fe.global.exit(e),t.removeAttribute("open"),t.setAttribute("inert",""),t.setAttribute("aria-hidden",!0),t.style.display="none",t.dispatchEvent(new ve("aui-flag-close",{bubbles:!0})),t}function ls(){return document.getElementById(ns)}G("aui/flag",as),l("flag",as);const cs=as;
|
|
105
105
|
/*! @license DOMPurify 3.4.17 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.17/LICENSE */
|
|
106
106
|
function us(e,t){this.v=e,this.k=t}function ds(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=Array(t);i<t;i++)n[i]=e[i];return n}
|
|
107
107
|
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
|