@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.
@@ -1,6 +1,6 @@
1
1
  /*!!
2
2
  * @atlassian/aui - Atlassian User Interface library
3
- * @version v9.12.17
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(t){"use strict";t.extend({tablesorter:new function(){var e=this;function i(){var t=arguments[0],e=arguments.length>1?Array.prototype.slice.call(arguments):t;"undefined"!=typeof console&&void 0!==console.log?console[/error/i.test(t)?"error":/warn/i.test(t)?"warn":"log"](e):alert(e)}function n(t,e){i(t+" ("+((new Date).getTime()-e.getTime())+"ms)")}function s(t){for(var e in t)return!1;return!0}function r(i,n,s){if(!n)return"";var r,a=i.config,o=a.textExtraction||"",l="";return l="basic"===o?t(n).attr(a.textAttribute)||n.textContent||n.innerText||t(n).text()||"":"function"==typeof o?o(n,i,s):"function"==typeof(r=e.getColumnData(i,o,s))?r(n,i,s):n.textContent||n.innerText||t(n).text()||"",t.trim(l)}function a(t,n,s,a){for(var o,l=e.parsers.length,c=!1,u="",d=!0;""===u&&d;)n[++s]?(u=r(t,c=n[s].cells[a],a),t.config.debug&&i("Checking if value was empty on row "+s+", column: "+a+': "'+u+'"')):d=!1;for(;--l>=0;)if((o=e.parsers[l])&&"text"!==o.id&&o.is&&o.is(u,t,c))return o;return e.getParserById("text")}function o(t){var s,r,o,l,c,u,d,h,p,f,g=t.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")),r={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=e.getColumnData(t,g.headers,l),p=e.getParserById(e.getData(c,u,"extractor")),h=e.getParserById(e.getData(c,u,"sorter")),d="false"===e.getData(c,u,"parser"),g.empties[l]=(e.getData(c,u,"empty")||g.emptyTo||(g.emptyToBottom?"bottom":"top")).toLowerCase(),g.strings[l]=(e.getData(c,u,"string")||g.stringTo||"max").toLowerCase(),d&&(h=e.getParserById("no-parser")),p||(p=!1),h||(h=a(t,s,-1,l)),g.debug&&(b+="column:"+l+"; extractor:"+p.id+"; parser:"+h.id+"; string:"+g.strings[l]+"; empty: "+g.empties[l]+"\n"),r.parsers[l]=h,r.extractors[l]=p;v+=r.parsers.length?y:1}g.debug&&(i(b||"No parsers detected"),n("Completed detecting parsers",f)),g.parsers=r.parsers,g.extractors=r.extractors}function l(s){var a,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&&e.isProcessing(s,!0),h=0;h<w.length;h++)if(b=[],a=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=t(w[h].rows[u]),[new Array(y.columns)],f=[],p.hasClass(y.cssChildRow)&&0!==u)o=a.normalized.length-1,a.normalized[o][y.columns].$row=a.normalized[o][y.columns].$row.add(p),p.prev().hasClass(y.cssChildRow)||p.prev().addClass(e.css.cssHasChild),v.child[o]=t.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=r(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,a.normalized.push(f)}a.colMax=b,y.totalRows+=a.normalized.length}y.showProcessing&&e.isProcessing(s),y.debug&&n("Building cache for "+m+" rows",g)}function c(i,r){var a,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=t(g[d])).length&&!l.hasClass(p.cssInfoBlock)){for(c=e.processTbody(i,l,!0),o=(a=v[d].normalized).length,u=0;u<o;u++)m.push(a[u][p.columns].$row),p.appender&&(!p.pager||p.pager.removeRows&&f.pager_removeRows||p.pager.ajax)||c.append(a[u][p.columns].$row);e.processTbody(i,c,!1)}p.appender&&p.appender(i,m),p.debug&&n("Rebuilt table",h),r||p.appender||e.applyWidget(i),i.isUpdating&&p.$table.trigger("updateComplete",i)}function u(t){return/^d/i.test(t)||1===t}function d(s){var r,a,o,l,c,d,h,f=s.config;f.headerList=[],f.headerContent=[],f.debug&&(h=new Date),f.columns=e.computeColumnIndex(f.$table.children("thead, tfoot").children("tr")),l=f.cssIcon?'<i class="'+(f.cssIcon===e.css.icon?e.css.icon:f.cssIcon+" "+e.css.icon)+'"></i>':"",f.$headers=t(s).find(f.selectorHeaders).each(function(i){a=t(this),r=e.getColumnData(s,f.headers,i,!0),f.headerContent[i]=t(this).html(),""!==f.headerTemplate&&(c=f.headerTemplate.replace(/\{icon\}/g,l).replace(/\{content\}/g,t(this).html()),f.onRenderTemplate&&(o=f.onRenderTemplate.apply(a,[i,c]))&&"string"==typeof o&&(c=o),t(this).html('<div class="'+e.css.headerIn+'">'+c+"</div>")),f.onRenderHeader&&f.onRenderHeader.apply(a,[i]),this.column=parseInt(t(this).attr("data-column"),10),this.order=u(e.getData(a,r,"sortInitialOrder")||f.sortInitialOrder)?[1,0,2]:[0,1,2],this.count=-1,this.lockedOrder=!1,void 0!==(d=e.getData(a,r,"lockedOrder")||!1)&&!1!==d&&(this.order=this.lockedOrder=u(d)?[1,1,1]:[0,0,0]),a.addClass(e.css.header+" "+f.cssHeader),f.headerList[i]=this,a.parent().addClass(e.css.headerRow+" "+f.cssHeaderRow).attr("role","row"),f.tabIndex&&a.attr("tabindex",0)}).attr({scope:"col",role:"columnheader"}),p(s),f.debug&&(n("Built headers:",h),i(f.$headers))}function h(t,e,i){var n=t.config;n.$table.find(n.selectorRemove).remove(),o(t),l(t),y(n.$table,e,i)}function p(i){var n,s,r,a=i.config;a.$headers.each(function(o,l){s=t(l),r=e.getColumnData(i,a.headers,o,!0),n="false"===e.getData(l,r,"sorter")||"false"===e.getData(l,r,"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,r,a=i.config,o=a.sortList,l=o.length,c=e.css.sortNone+" "+a.cssNone,u=[e.css.sortAsc+" "+a.cssAsc,e.css.sortDesc+" "+a.cssDesc],d=["ascending","descending"],h=t(i).find("tfoot tr").children().add(a.$extraHeaders).removeClass(u.join(" "));for(a.$headers.removeClass(u.join(" ")).addClass(c).attr("aria-sort","none"),s=0;s<l;s++)if(2!==o[s][1]&&(n=a.$headers.not(".sorter-false").filter('[data-column="'+o[s][0]+'"]'+(1===l?":last":""))).length){for(r=0;r<n.length;r++)n[r].sortDisabled||n.eq(r).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]])}a.$headers.not(".sorter-false").each(function(){var i=t(this),n=this.order[(this.count+1)%(a.sortReset?3:2)],s=i.text()+": "+e.language[i.hasClass(e.css.sortAsc)?"sortAsc":i.hasClass(e.css.sortDesc)?"sortDesc":"sortNone"]+e.language[0===n?"nextAsc":1===n?"nextDesc":"nextNone"];i.attr("aria-label",s)})}function g(t,e){return t&&t[e]&&t[e].type||""}function m(i,n,s){if(i.isUpdating)return setTimeout(function(){m(i,n,s)},50);var r,a,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&&(a=n,d.$headers.each(function(){this===a||!h&&t(this).is("."+e.css.sortDesc+",."+e.css.sortAsc)||(this.count=-1)})),a=n.column,h){if(d.sortList=[],null!==d.sortForce)for(r=d.sortForce,o=0;o<r.length;o++)r[o][0]!==a&&d.sortList.push(r[o]);if((l=n.order[n.count])<2&&(d.sortList.push([a,l]),n.colSpan>1))for(o=1;o<n.colSpan;o++)d.sortList.push([a+o,l])}else{if(d.sortAppend&&d.sortList.length>1)for(o=0;o<d.sortAppend.length;o++)(u=e.isValueInArray(d.sortAppend[o][0],d.sortList))>=0&&d.sortList.splice(u,1);if(e.isValueInArray(a,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]===a&&(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([a,l]),n.colSpan>1))for(o=1;o<n.colSpan;o++)d.sortList.push([a+o,l])}if(null!==d.sortAppend)for(r=d.sortAppend,o=0;o<r.length;o++)r[o][0]!==a&&d.sortList.push(r[o]);p.trigger("sortBegin",i),setTimeout(function(){f(i),v(i),c(i),p.trigger("sortEnd",i)},1)}function v(t){var i,r,a,o,l,c,u,d,h,p,f=0,m=t.config,v=m.textSorter||"",b=m.sortList,y=b.length,w=t.tBodies.length;if(!m.serverSideSorting&&!s(m.cache)){for(m.debug&&(l=new Date),r=0;r<w;r++)c=m.cache[r].colMax,m.cache[r].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((a=/n/i.test(g(m.parsers,o)))&&m.strings[o]?(a="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],t):e["sortNumeric"+(f?"Asc":"Desc")](n[o],s[o],a,c[o],o,t)):(h=f?n:s,p=f?s:n,d="function"==typeof v?v(h[o],p[o],f,o,t):"object"==typeof v&&v.hasOwnProperty(o)?v[o](h[o],p[o],f,o,t):e["sortNatural"+(f?"Asc":"Desc")](n[o],s[o],o,t,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(e,i){var n=e[0];n.isUpdating&&e.trigger("updateComplete",n),t.isFunction(i)&&i(e[0])}function y(t,i,n){var s=t[0].config.sortList;!1!==i&&!t[0].isProcessing&&s.length?t.trigger("sorton",[s,function(){b(t,n)},!0]):(b(t,n),e.applyWidget(t[0],!1))}function w(i){var n=i.config,a=n.$table;a.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(e,s){e.stopPropagation(),n.sortList=[],f(i),v(i),c(i),t.isFunction(s)&&s(i)}).bind("updateAll"+n.namespace,function(t,s,r){t.stopPropagation(),i.isUpdating=!0,e.refreshWidgets(i,!0,!0),e.restoreHeaders(i),d(i),e.bindEvents(i,n.$headers,!0),w(i),h(i,s,r)}).bind("update"+n.namespace+" updateRows"+n.namespace,function(t,e,n){t.stopPropagation(),i.isUpdating=!0,p(i),h(i,e,n)}).bind("updateCell"+n.namespace,function(e,s,o,l){e.stopPropagation(),i.isUpdating=!0,a.find(n.selectorRemove).remove();var c,u,d,h,p=a.find("tbody"),f=t(s),g=p.index(t.fn.closest?f.closest("tbody"):f.parents("tbody").filter(":first")),m=t.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?r(i,s,h):n.extractors[h].format(r(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(a,o,l))}).bind("addRows"+n.namespace,function(e,l,c,u){if(e.stopPropagation(),i.isUpdating=!0,s(n.cache))p(i),h(i,c,u);else{var d,f,g,m,v,b,w,_=(l=t(l).attr("role","row")).filter("tr").length,x=a.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?r(i,l[d].cells[f],f):n.extractors[f].format(r(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(a,c,u)}}).bind("updateComplete"+n.namespace,function(){i.isUpdating=!1}).bind("sorton"+n.namespace,function(n,r,o,u){var d=i.config;n.stopPropagation(),a.trigger("sortStart",this),function(e,i){var n,s,r,a,o,l=e.config,c=i||l.sortList;l.sortList=[],t.each(c,function(e,i){if(a=parseInt(i[0],10),r=l.$headers.filter('[data-column="'+a+'"]: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=r.order[(o||0)%(l.sortReset?3:2)],s=0===n?1:1===n?0:2;break;case"n":r.count=r.count+1,s=r.order[r.count%(l.sortReset?3:2)];break;default:s=0}o=0===e?s:o,n=[a,parseInt(s,10)||0],l.sortList.push(n),s=t.inArray(n[1],r.order),r.count=s>=0?s:n[1]%(l.sortReset?3:2)}})}(i,r),f(i),d.delayInit&&s(d.cache)&&l(i),a.trigger("sortBegin",this),v(i),c(i,u),a.trigger("sortEnd",this),e.applyWidget(i),t.isFunction(o)&&o(i)}).bind("appendCache"+n.namespace,function(e,n,s){e.stopPropagation(),c(i,s),t.isFunction(n)&&n(i)}).bind("updateCache"+n.namespace,function(e,s){n.parsers&&n.parsers.length||o(i),l(i),t.isFunction(s)&&s(i)}).bind("applyWidgetId"+n.namespace,function(t,s){t.stopPropagation(),e.getWidgetById(s).format(i,n,n.widgetOptions)}).bind("applyWidgets"+n.namespace,function(t,n){t.stopPropagation(),e.applyWidget(i,n)}).bind("refreshWidgets"+n.namespace,function(t,n,s){t.stopPropagation(),e.refreshWidgets(i,n,s)}).bind("destroy"+n.namespace,function(t,n,s){t.stopPropagation(),e.destroy(i,n,s)}).bind("resetToLoadState"+n.namespace,function(){e.refreshWidgets(i,!0,!0),n=t.extend(!0,e.defaults,n.originalSettings),i.hasInitialized=!1,e.setup(i,n)})}e.version="2.17.8",e.parsers=[],e.widgets=[],e.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:[]},e.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"},e.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"},e.log=i,e.benchmark=n,e.construct=function(i){return this.each(function(){var n=this,s=t.extend(!0,{},e.defaults,i);s.originalSettings=i,!n.hasInitialized&&e.buildTable&&"TABLE"!==this.tagName?e.buildTable(n,s):e.setup(n,s)})},e.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 r=new RegExp(`^(\\s*${/-?[_a-zA-Z]+[_a-zA-Z0-9-]*/.source})*\\s*$`);function a(t){return r.test(t)}var c=[];for(var u of["tableClass","cssAsc","cssDesc","cssNone","cssHeader","cssHeaderRow","cssProcessing","cssChildRow","cssIcon","cssInfoBlock"]){var h=s[u];h&&!a(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=t(n),v=t.metadata;n.hasInitialized=!1,n.isProcessing=!0,n.config=s,t.data(n,"tablesorter",s),s.debug&&t.data(n,"startoveralltimer",new Date),s.supportsDataObject=((p=t.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(e.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(e){var i,n,s=e.config;s.widthFixed&&0===s.$table.find("colgroup").length&&(i=t("<colgroup>"),n=t(e).width(),t(e.tBodies).not("."+s.cssInfoBlock).find("tr:first").children(":visible").each(function(){i.append(t("<col>").css("width",parseInt(t(this).width()/n*1e3,10)/10+"%"))}),s.$table.prepend(i))}(n),o(n),s.totalRows=0,s.delayInit||l(n),e.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),e.applyWidget(n,!0),s.sortList.length>0?m.trigger("sorton",[s.sortList,{},!s.initWidgets,!0]):(f(n),s.initWidgets&&e.applyWidget(n,!1)),s.showProcessing&&m.unbind("sortBegin"+s.namespace+" sortEnd"+s.namespace).bind("sortBegin"+s.namespace+" sortEnd"+s.namespace,function(t){clearTimeout(s.processTimer),e.isProcessing(n),"sortBegin"===t.type&&(s.processTimer=setTimeout(function(){e.isProcessing(n,!0)},500))}),n.hasInitialized=!0,n.isProcessing=!1,s.debug&&e.benchmark("Overall initialization time",t.data(n,"startoveralltimer")),m.trigger("tablesorter-initialized",n),"function"==typeof s.initialized&&s.initialized(n)},e.getColumnData=function(e,i,n,s){if(null!=i){var r,a=(e=t(e)[0]).config;if(i[n])return s?i[n]:i[a.$headers.index(a.$headers.filter('[data-column="'+n+'"]:last'))];for(r in i)if("string"==typeof r&&(s?a.$headers.eq(n).filter(r):a.$headers.filter('[data-column="'+n+'"]:last').filter(r)).length)return i[r]}},e.computeColumnIndex=function(e){var i,n,s,r,a,o,l,c,u,d,h,p,f,g=[],m={},v=0;for(i=0;i<e.length;i++)for(l=e[i].cells,n=0;n<l.length;n++){for(o=l[n],a=t(o),u=(c=o.parentNode.rowIndex)+"-"+a.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),a.attr({"data-column":p}),s=c;s<c+d;s++)for(void 0===g[s]&&(g[s]=[]),f=g[s],r=p;r<p+h;r++)f[r]="x"}return v+1},e.isProcessing=function(i,n,s){var r=(i=t(i))[0].config,a=s||i.find("."+e.css.header);n?(void 0!==s&&r.sortList.length>0&&(a=a.filter(function(){return!this.sortDisabled&&e.isValueInArray(parseFloat(t(this).attr("data-column")),r.sortList)>=0})),i.add(a).addClass(e.css.processing+" "+r.cssProcessing)):i.add(a).removeClass(e.css.processing+" "+r.cssProcessing)},e.processTbody=function(e,i,n){var s;if(e=t(e)[0],n)return e.isProcessing=!0,i.before('<span class="tablesorter-savemyplace"/>'),s=t.fn.detach?i.detach():i.remove();s=t(e).find("span.tablesorter-savemyplace"),i.insertAfter(s),s.remove(),e.isProcessing=!1},e.clearTableBody=function(e){t(e)[0].config.$tbodies.children().detach()},e.bindEvents=function(e,i,n){var r,a=(e=t(e)[0]).config;!0!==n&&(a.$extraHeaders=a.$extraHeaders?a.$extraHeaders.add(i):i),i.find(a.selectorSort).add(i.filter(a.selectorSort)).unbind("mousedown mouseup sort keyup ".split(" ").join(a.namespace+" ")).bind("mousedown mouseup sort keyup ".split(" ").join(a.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()-r>250)){if("mousedown"===u)return r=(new Date).getTime(),/(input|select|button|textarea)/i.test(n.target.tagName)?"":!a.cancelSelection;a.delayInit&&s(a.cache)&&l(e),c=t.fn.closest?t(this).closest("th, td")[0]:/TH|TD/.test(this.tagName)?this:t(this).parents("th, td")[0],(c=a.$headers[i.index(c)]).sortDisabled||m(e,c,n)}}),a.cancelSelection&&i.attr("unselectable","on").bind("selectstart",!1).css({"user-select":"none",MozUserSelect:"none"})},e.restoreHeaders=function(i){var n=t(i)[0].config;n.$table.find(n.selectorHeaders).each(function(i){t(this).find("."+e.css.headerIn).length&&t(this).html(n.headerContent[i])})},e.destroy=function(i,n,s){if((i=t(i)[0]).hasInitialized){e.refreshWidgets(i,!0,!0);var r=t(i),a=i.config,o=r.find("thead:first"),l=o.find("tr."+e.css.headerRow).removeClass(e.css.headerRow+" "+a.cssHeaderRow),c=r.find("tfoot:first > tr").children("th, td");!1===n&&t.inArray("uitheme",a.widgets)>=0&&(r.trigger("applyWidgetId",["uitheme"]),r.trigger("applyWidgetId",["zebra"])),o.find("tr").not(l).remove(),r.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(a.namespace+" ")),a.$headers.add(c).removeClass([e.css.header,a.cssHeader,a.cssAsc,a.cssDesc,e.css.sortAsc,e.css.sortDesc,e.css.sortNone].join(" ")).removeAttr("data-column").removeAttr("aria-label").attr("aria-disabled","true"),l.find(a.selectorSort).unbind("mousedown mouseup keypress ".split(" ").join(a.namespace+" ")),e.restoreHeaders(i),r.toggleClass(e.css.table+" "+a.tableClass+" tablesorter-"+a.theme,!1===n),i.hasInitialized=!1,delete i.config.cache,"function"==typeof s&&s(i)}},e.regex={chunk:/(^([+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?)?$|^0x[0-9a-f]+$|\d+)/gi,chunks:/(^\\0|\\0$)/,hex:/^0x[0-9a-f]+$/i},e.sortNatural=function(t,i){if(t===i)return 0;var n,s,r,a,o,l,c,u,d=e.regex;if(d.hex.test(i)){if((s=parseInt(t.match(d.hex),16))<(a=parseInt(i.match(d.hex),16)))return-1;if(s>a)return 1}for(n=t.replace(d.chunk,"\\0$1\\0").replace(d.chunks,"").split("\\0"),r=i.replace(d.chunk,"\\0$1\\0").replace(d.chunks,"").split("\\0"),u=Math.max(n.length,r.length),c=0;c<u;c++){if(o=isNaN(n[c])?n[c]||0:parseFloat(n[c])||0,l=isNaN(r[c])?r[c]||0:parseFloat(r[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},e.sortNaturalAsc=function(t,i,n,s,r){if(t===i)return 0;var a=r.string[r.empties[n]||r.emptyTo];return""===t&&0!==a?"boolean"==typeof a?a?-1:1:-a||-1:""===i&&0!==a?"boolean"==typeof a?a?1:-1:a||1:e.sortNatural(t,i)},e.sortNaturalDesc=function(t,i,n,s,r){if(t===i)return 0;var a=r.string[r.empties[n]||r.emptyTo];return""===t&&0!==a?"boolean"==typeof a?a?-1:1:a||1:""===i&&0!==a?"boolean"==typeof a?a?1:-1:-a||-1:e.sortNatural(i,t)},e.sortText=function(t,e){return t>e?1:t<e?-1:0},e.getTextValue=function(t,e,i){if(i){var n,s=t?t.length:0,r=i+e;for(n=0;n<s;n++)r+=t.charCodeAt(n);return e*r}return 0},e.sortNumericAsc=function(t,i,n,s,r,a){if(t===i)return 0;var o=a.config,l=o.string[o.empties[r]||o.emptyTo];return""===t&&0!==l?"boolean"==typeof l?l?-1:1:-l||-1:""===i&&0!==l?"boolean"==typeof l?l?1:-1:l||1:(isNaN(t)&&(t=e.getTextValue(t,n,s)),isNaN(i)&&(i=e.getTextValue(i,n,s)),t-i)},e.sortNumericDesc=function(t,i,n,s,r,a){if(t===i)return 0;var o=a.config,l=o.string[o.empties[r]||o.emptyTo];return""===t&&0!==l?"boolean"==typeof l?l?-1:1:l||1:""===i&&0!==l?"boolean"==typeof l?l?1:-1:-l||-1:(isNaN(t)&&(t=e.getTextValue(t,n,s)),isNaN(i)&&(i=e.getTextValue(i,n,s)),i-t)},e.sortNumeric=function(t,e){return t-e},e.characterEquivalents={a:"áàâãäąå",A:"ÁÀÂÃÄĄÅ",c:"çćč",C:"ÇĆČ",e:"éèêëěę",E:"ÉÈÊËĚĘ",i:"íìİîïı",I:"ÍÌİÎÏ",o:"óòôõö",O:"ÓÒÔÕÖ",ss:"ß",SS:"ẞ",u:"úùûüů",U:"ÚÙÛÜŮ"},e.replaceAccents=function(t){var i,n="[",s=e.characterEquivalents;if(!e.characterRegex){for(i in e.characterRegexArray={},s)"string"==typeof i&&(n+=s[i],e.characterRegexArray[i]=new RegExp("["+s[i]+"]","g"));e.characterRegex=new RegExp(n+"]")}if(e.characterRegex.test(t))for(i in s)"string"==typeof i&&(t=t.replace(e.characterRegexArray[i],i));return t},e.isValueInArray=function(t,e){var i,n=e.length;for(i=0;i<n;i++)if(e[i][0]===t)return i;return-1},e.addParser=function(t){var i,n=e.parsers.length,s=!0;for(i=0;i<n;i++)e.parsers[i].id.toLowerCase()===t.id.toLowerCase()&&(s=!1);s&&e.parsers.push(t)},e.getParserById=function(t){if("false"==t)return!1;var i,n=e.parsers.length;for(i=0;i<n;i++)if(e.parsers[i].id.toLowerCase()===t.toString().toLowerCase())return e.parsers[i];return!1},e.addWidget=function(t){e.widgets.push(t)},e.hasWidget=function(e,i){return(e=t(e)).length&&e[0].config&&e[0].config.widgetInit[i]||!1},e.getWidgetById=function(t){var i,n,s=e.widgets.length;for(i=0;i<s;i++)if((n=e.widgets[i])&&n.hasOwnProperty("id")&&n.id.toLowerCase()===t.toLowerCase())return n},e.applyWidget=function(i,s){var r,a,o,l=(i=t(i)[0]).config,c=l.widgetOptions,u=[];!1!==s&&i.hasInitialized&&(i.isApplyingWidgets||i.isUpdating)||(l.debug&&(r=new Date),l.widgets.length&&(i.isApplyingWidgets=!0,l.widgets=t.grep(l.widgets,function(e,i){return t.inArray(e,l.widgets)===i}),t.each(l.widgets||[],function(t,i){(o=e.getWidgetById(i))&&o.id&&(o.priority||(o.priority=10),u[t]=o)}),u.sort(function(t,e){return t.priority<e.priority?-1:t.priority===e.priority?0:1}),t.each(u,function(e,n){n&&(!s&&l.widgetInit[n.id]||(l.widgetInit[n.id]=!0,n.hasOwnProperty("options")&&(c=i.config.widgetOptions=t.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&&(a=l.widgets.length,n("Completed "+(!0===s?"initializing ":"applying ")+a+" widget"+(1!==a?"s":""),r)))},e.refreshWidgets=function(n,s,r){var a,o=(n=t(n)[0]).config,l=o.widgets,c=e.widgets,u=c.length;for(a=0;a<u;a++)c[a]&&c[a].id&&(s||t.inArray(c[a].id,l)<0)&&(o.debug&&i('Refeshing widgets: Removing "'+c[a].id+'"'),c[a].hasOwnProperty("remove")&&o.widgetInit[c[a].id]&&(c[a].remove(n,o,o.widgetOptions),o.widgetInit[c[a].id]=!1));!0!==r&&e.applyWidget(n,s)},e.getData=function(e,i,n){var s,r,a="",o=t(e);return o.length?(s=!!t.metadata&&o.metadata(),r=" "+(o.attr("class")||""),void 0!==o.data(n)||void 0!==o.data(n.toLowerCase())?a+=o.data(n)||o.data(n.toLowerCase()):s&&void 0!==s[n]?a+=s[n]:i&&void 0!==i[n]?a+=i[n]:" "!==r&&r.match(" "+n+"-")&&(a=r.match(new RegExp("\\s"+n+"-([\\w-]+)"))[1]||""),t.trim(a)):""},e.formatFloat=function(e,i){return"string"!=typeof e||""===e?e:(e=(i&&i.config?!1!==i.config.usNumberFormat:void 0===i||i)?e.replace(/,/g,""):e.replace(/[\s|\.]/g,"").replace(/,/g,"."),/^\s*\([.\d]+\)/.test(e)&&(e=e.replace(/^\s*\(([.\d]+)\)/,"-$1")),n=parseFloat(e),isNaN(n)?t.trim(e):n);var n},e.isDigit=function(t){return!isNaN(t)||/^[\-+(]?\d+[)]?$/.test(t.toString().replace(/[,.'"\s]/g,""))}}});var e=t.tablesorter;t.fn.extend({tablesorter:e.construct}),e.addParser({id:"no-parser",is:function(){return!1},format:function(){return""},type:"text"}),e.addParser({id:"text",is:function(){return!0},format:function(i,n){var s=n.config;return i&&(i=t.trim(s.ignoreCase?i.toLocaleLowerCase():i),i=s.sortLocaleCompare?e.replaceAccents(i):i),i},type:"text"}),e.addParser({id:"digit",is:function(t){return e.isDigit(t)},format:function(i,n){var s=e.formatFloat((i||"").replace(/[^\w,. \-()]/g,""),n);return i&&"number"==typeof s?s:i?t.trim(i&&n.config.ignoreCase?i.toLocaleLowerCase():i):i},type:"numeric"}),e.addParser({id:"currency",is:function(t){return/^\(?\d+[\u00a3$\u20ac\u00a4\u00a5\u00a2?.]|[\u00a3$\u20ac\u00a4\u00a5\u00a2?.]\d+\)?$/.test((t||"").replace(/[+\-,. ]/g,""))},format:function(i,n){var s=e.formatFloat((i||"").replace(/[^\w,. \-()]/g,""),n);return i&&"number"==typeof s?s:i?t.trim(i&&n.config.ignoreCase?i.toLocaleLowerCase():i):i},type:"numeric"}),e.addParser({id:"ipAddress",is:function(t){return/^\d{1,3}[\.]\d{1,3}[\.]\d{1,3}[\.]\d{1,3}$/.test(t)},format:function(t,i){var n,s=t?t.split("."):"",r="",a=s.length;for(n=0;n<a;n++)r+=("00"+s[n]).slice(-3);return t?e.formatFloat(r,i):t},type:"numeric"}),e.addParser({id:"url",is:function(t){return/^(https?|ftp|file):\/\//.test(t)},format:function(e){return e?t.trim(e.replace(/(https?|ftp|file):\/\//,"")):e},parsed:!0,type:"text"}),e.addParser({id:"isoDate",is:function(t){return/^\d{4}[\/\-]\d{1,2}[\/\-]\d{1,2}/.test(t)},format:function(t,i){return t?e.formatFloat(""!==t?new Date(t.replace(/-/g,"/")).getTime()||t:"",i):t},type:"numeric"}),e.addParser({id:"percent",is:function(t){return/(\d\s*?%|%\s*?\d)/.test(t)&&t.length<15},format:function(t,i){return t?e.formatFloat(t.replace(/%/g,""),i):t},type:"numeric"}),e.addParser({id:"usLongDate",is:function(t){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(t)||/^\d{1,2}\s+[A-Z]{3,10}\s+\d{4}/i.test(t)},format:function(t,i){return t?e.formatFloat(new Date(t.replace(/(\S)([AP]M)$/i,"$1 $2")).getTime()||t,i):t},type:"numeric"}),e.addParser({id:"shortDate",is:function(t){return/(^\d{1,2}[\/\s]\d{1,2}[\/\s]\d{4})|(^\d{4}[\/\s]\d{1,2}[\/\s]\d{1,2})/.test((t||"").replace(/\s+/g," ").replace(/[\-.,]/g,"/"))},format:function(t,i,n,s){if(t){var r=i.config,a=r.$headers.filter("[data-column="+s+"]:last"),o=a.length&&a[0].dateFormat||e.getData(a,e.getColumnData(i,r.headers,s),"dateFormat")||r.dateFormat;t=t.replace(/\s+/g," ").replace(/[\-.,]/g,"/"),"mmddyyyy"===o?t=t.replace(/(\d{1,2})[\/\s](\d{1,2})[\/\s](\d{4})/,"$3/$1/$2"):"ddmmyyyy"===o?t=t.replace(/(\d{1,2})[\/\s](\d{1,2})[\/\s](\d{4})/,"$3/$2/$1"):"yyyymmdd"===o&&(t=t.replace(/(\d{4})[\/\s](\d{1,2})[\/\s](\d{1,2})/,"$1/$2/$3"))}return t?e.formatFloat(new Date(t).getTime()||t,i):t},type:"numeric"}),e.addParser({id:"time",is:function(t){return/^(([0-2]?\d:[0-5]\d)|([0-1]?\d:[0-5]\d\s?([AP]M)))$/i.test(t)},format:function(t,i){return t?e.formatFloat(new Date("2000/01/01 "+t.replace(/(\S)([AP]M)$/i,"$1 $2")).getTime()||t,i):t},type:"numeric"}),e.addParser({id:"metadata",is:function(){return!1},format:function(e,i,n){var s=i.config,r=s.parserMetadataName?s.parserMetadataName:"sortValue";return t(n).metadata()[r]},type:"numeric"}),e.addWidget({id:"zebra",priority:90,format:function(i,n,s){var r,a,o,l,c,u=new RegExp(n.cssChildRow,"i"),d=n.$tbodies;for(n.debug&&(l=new Date),c=0;c<d.length;c++)a=0,d.eq(c).children("tr:visible").not(n.selectorRemove).each(function(){r=t(this),u.test(this.className)||a++,o=a%2==0,r.removeClass(s.zebra[o?1:0]).addClass(s.zebra[o?0:1])});n.debug&&e.benchmark("Applying Zebra widget",l)},remove:function(e,i,n){var s,r,a=i.$tbodies,o=(n.zebra||["even","odd"]).join(" ");for(s=0;s<a.length;s++)(r=t.tablesorter.processTbody(e,a.eq(s),!0)).children().removeClass(o),t.tablesorter.processTbody(e,r,!1)}})}(jQuery)},682:()=>{jQuery.fn.serializeObject=function(){var t={};return this.find(":input:not(:button):not(:submit):not(:radio):not('select[multiple]')").each(function(){""!==this.name&&(null===this.value&&(this.value=""),t[this.name]=this.value.match(/^(tru|fals)e$/i)?"true"==this.value.toLowerCase():this.value)}),this.find("input:radio:checked").each(function(){t[this.name]=this.value}),this.find("select[multiple]").each(function(){var e=jQuery(this),i=e.val();e.data("aui-ss")?t[this.name]=i?i[0]:"":t[this.name]=null!==i?i:[]}),t}},687:e=>{"use strict";e.exports=t},171:(t,e,i)=>{Object.defineProperty(e,"__esModule",{value:!0});var n="1.13.8",s="object"==typeof self&&self.self===self&&self||"object"==typeof i.g&&i.g.global===i.g&&i.g||Function("return this")()||{},r=Array.prototype,a=Object.prototype,o="undefined"!=typeof Symbol?Symbol.prototype:null,l=r.push,c=r.slice,u=a.toString,d=a.hasOwnProperty,h="undefined"!=typeof ArrayBuffer,p="undefined"!=typeof DataView,f=Array.isArray,g=Object.keys,m=Object.create,v=h&&ArrayBuffer.isView,b=isNaN,y=isFinite,w=!{toString:null}.propertyIsEnumerable("toString"),_=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],x=Math.pow(2,53)-1;function C(t,e){return e=null==e?t.length-1:+e,function(){for(var i=Math.max(arguments.length-e,0),n=Array(i),s=0;s<i;s++)n[s]=arguments[s+e];switch(e){case 0:return t.call(this,n);case 1:return t.call(this,arguments[0],n);case 2:return t.call(this,arguments[0],arguments[1],n)}var r=Array(e+1);for(s=0;s<e;s++)r[s]=arguments[s];return r[e]=n,t.apply(this,r)}}function k(t){var e=typeof t;return"function"===e||"object"===e&&!!t}function T(t){return null===t}function E(t){return void 0===t}function A(t){return!0===t||!1===t||"[object Boolean]"===u.call(t)}function S(t){return!(!t||1!==t.nodeType)}function D(t){var e="[object "+t+"]";return function(t){return u.call(t)===e}}var I=D("String"),M=D("Number"),N=D("Date"),O=D("RegExp"),P=D("Error"),L=D("Symbol"),R=D("ArrayBuffer"),$=D("Function"),j=s.document&&s.document.childNodes;"object"!=typeof Int8Array&&"function"!=typeof j&&($=function(t){return"function"==typeof t||!1});var z=$,F=D("Object"),H=p&&(!/\[native code\]/.test(String(DataView))||F(new DataView(new ArrayBuffer(8)))),B="undefined"!=typeof Map&&F(new Map),U=D("DataView");var W=H?function(t){return null!=t&&z(t.getInt8)&&R(t.buffer)}:U,V=f||D("Array");function Y(t,e){return null!=t&&d.call(t,e)}var q=D("Arguments");!function(){q(arguments)||(q=function(t){return Y(t,"callee")})}();var K=q;function Q(t){return!L(t)&&y(t)&&!isNaN(parseFloat(t))}function G(t){return M(t)&&b(t)}function J(t){return function(){return t}}function Z(t){return function(e){var i=t(e);return"number"==typeof i&&i>=0&&i<=x}}function X(t){return function(e){return null==e?void 0:e[t]}}var tt=X("byteLength"),et=Z(tt),it=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;var nt=h?function(t){return v?v(t)&&!W(t):et(t)&&it.test(u.call(t))}:J(!1),st=X("length");function rt(t,e){e=function(t){for(var e={},i=t.length,n=0;n<i;++n)e[t[n]]=!0;return{contains:function(t){return!0===e[t]},push:function(i){return e[i]=!0,t.push(i)}}}(e);var i=_.length,n=t.constructor,s=z(n)&&n.prototype||a,r="constructor";for(Y(t,r)&&!e.contains(r)&&e.push(r);i--;)(r=_[i])in t&&t[r]!==s[r]&&!e.contains(r)&&e.push(r)}function at(t){if(!k(t))return[];if(g)return g(t);var e=[];for(var i in t)Y(t,i)&&e.push(i);return w&&rt(t,e),e}function ot(t){if(null==t)return!0;var e=st(t);return"number"==typeof e&&(V(t)||I(t)||K(t))?0===e:0===st(at(t))}function lt(t,e){var i=at(e),n=i.length;if(null==t)return!n;for(var s=Object(t),r=0;r<n;r++){var a=i[r];if(e[a]!==s[a]||!(a in s))return!1}return!0}function ct(t){return t instanceof ct?t:this instanceof ct?void(this._wrapped=t):new ct(t)}function ut(t){return new Uint8Array(t.buffer||t,t.byteOffset||0,tt(t))}ct.VERSION=n,ct.prototype.value=function(){return this._wrapped},ct.prototype.valueOf=ct.prototype.toJSON=ct.prototype.value,ct.prototype.toString=function(){return String(this._wrapped)};var dt="[object DataView]";function ht(t,e){for(var i=[{a:t,b:e}],n=[],s=[];i.length;){var r=i.pop();if(!0!==r){if((t=r.a)===(e=r.b)){if(0!==t||1/t==1/e)continue;return!1}if(null==t||null==e)return!1;if(t!=t){if(e!=e)continue;return!1}var a=typeof t;if("function"!==a&&"object"!==a&&"object"!=typeof e)return!1;t instanceof ct&&(t=t._wrapped),e instanceof ct&&(e=e._wrapped);var l=u.call(t);if(l!==u.call(e))return!1;if(H&&"[object Object]"==l&&W(t)){if(!W(e))return!1;l=dt}switch(l){case"[object RegExp]":case"[object String]":if(""+t==""+e)continue;return!1;case"[object Number]":i.push({a:+t,b:+e});continue;case"[object Date]":case"[object Boolean]":if(+t===+e)continue;return!1;case"[object Symbol]":if(o.valueOf.call(t)===o.valueOf.call(e))continue;return!1;case"[object ArrayBuffer]":case dt:i.push({a:ut(t),b:ut(e)});continue}var c="[object Array]"===l;if(!c&&nt(t)){if(tt(t)!==tt(e))return!1;if(t.buffer===e.buffer&&t.byteOffset===e.byteOffset)continue;c=!0}if(!c){if("object"!=typeof t||"object"!=typeof e)return!1;var d=t.constructor,h=e.constructor;if(d!==h&&!(z(d)&&d instanceof d&&z(h)&&h instanceof h)&&"constructor"in t&&"constructor"in e)return!1}for(var p=n.length;p--;)if(n[p]===t){if(s[p]===e)break;return!1}if(!(p>=0))if(n.push(t),s.push(e),i.push(!0),c){if((p=t.length)!==e.length)return!1;for(;p--;)i.push({a:t[p],b:e[p]})}else{var f,g=at(t);if(p=g.length,at(e).length!==p)return!1;for(;p--;){if(!Y(e,f=g[p]))return!1;i.push({a:t[f],b:e[f]})}}}else n.pop(),s.pop()}return!0}function pt(t){if(!k(t))return[];var e=[];for(var i in t)e.push(i);return w&&rt(t,e),e}function ft(t){var e=st(t);return function(i){if(null==i)return!1;var n=pt(i);if(st(n))return!1;for(var s=0;s<e;s++)if(!z(i[t[s]]))return!1;return t!==yt||!z(i[gt])}}var gt="forEach",mt=["clear","delete"],vt=["get","has","set"],bt=mt.concat(gt,vt),yt=mt.concat(vt),wt=["add"].concat(mt,gt,"has"),_t=B?ft(bt):D("Map"),xt=B?ft(yt):D("WeakMap"),Ct=B?ft(wt):D("Set"),kt=D("WeakSet");function Tt(t){for(var e=at(t),i=e.length,n=Array(i),s=0;s<i;s++)n[s]=t[e[s]];return n}function Et(t){for(var e=at(t),i=e.length,n=Array(i),s=0;s<i;s++)n[s]=[e[s],t[e[s]]];return n}function At(t){for(var e={},i=at(t),n=0,s=i.length;n<s;n++)e[t[i[n]]]=i[n];return e}function St(t){var e=[];for(var i in t)z(t[i])&&e.push(i);return e.sort()}function Dt(t,e){return function(i){var n=arguments.length;if(e&&(i=Object(i)),n<2||null==i)return i;for(var s=1;s<n;s++)for(var r=arguments[s],a=t(r),o=a.length,l=0;l<o;l++){var c=a[l];e&&void 0!==i[c]||(i[c]=r[c])}return i}}var It=Dt(pt),Mt=Dt(at),Nt=Dt(pt,!0);function Ot(t){if(!k(t))return{};if(m)return m(t);var e=function(){};e.prototype=t;var i=new e;return e.prototype=null,i}function Pt(t,e){var i=Ot(t);return e&&Mt(i,e),i}function Lt(t){return k(t)?V(t)?t.slice():It({},t):t}function Rt(t,e){return e(t),t}function $t(t){return V(t)?t:[t]}function jt(t){return ct.toPath(t)}function zt(t,e){for(var i=e.length,n=0;n<i;n++){if(null==t)return;t=t[e[n]]}return i?t:void 0}function Ft(t,e,i){var n=zt(t,jt(e));return E(n)?i:n}function Ht(t,e){for(var i=(e=jt(e)).length,n=0;n<i;n++){var s=e[n];if(!Y(t,s))return!1;t=t[s]}return!!i}function Bt(t){return t}function Ut(t){return t=Mt({},t),function(e){return lt(e,t)}}function Wt(t){return t=jt(t),function(e){return zt(e,t)}}function Vt(t,e,i){if(void 0===e)return t;switch(null==i?3:i){case 1:return function(i){return t.call(e,i)};case 3:return function(i,n,s){return t.call(e,i,n,s)};case 4:return function(i,n,s,r){return t.call(e,i,n,s,r)}}return function(){return t.apply(e,arguments)}}function Yt(t,e,i){return null==t?Bt:z(t)?Vt(t,e,i):k(t)&&!V(t)?Ut(t):Wt(t)}function qt(t,e){return Yt(t,e,1/0)}function Kt(t,e,i){return ct.iteratee!==qt?ct.iteratee(t,e):Yt(t,e,i)}function Qt(t,e,i){e=Kt(e,i);for(var n=at(t),s=n.length,r={},a=0;a<s;a++){var o=n[a];r[o]=e(t[o],o,t)}return r}function Gt(){}function Jt(t){return null==t?Gt:function(e){return Ft(t,e)}}function Zt(t,e,i){var n=Array(Math.max(0,t));e=Vt(e,i,1);for(var s=0;s<t;s++)n[s]=e(s);return n}function Xt(t,e){return null==e&&(e=t,t=0),t+Math.floor(Math.random()*(e-t+1))}ct.toPath=$t,ct.iteratee=qt;var te=Date.now||function(){return(new Date).getTime()};function ee(t){var e=function(e){return t[e]},i="(?:"+at(t).join("|")+")",n=RegExp(i),s=RegExp(i,"g");return function(t){return t=null==t?"":""+t,n.test(t)?t.replace(s,e):t}}var ie={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},ne=ee(ie),se=ee(At(ie)),re=ct.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},ae=/(.)^/,oe={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},le=/\\|'|\r|\n|\u2028|\u2029/g;function ce(t){return"\\"+oe[t]}var ue=/^\s*(\w|\$)+\s*$/;function de(t,e,i){!e&&i&&(e=i),e=Nt({},e,ct.templateSettings);var n=RegExp([(e.escape||ae).source,(e.interpolate||ae).source,(e.evaluate||ae).source].join("|")+"|$","g"),s=0,r="__p+='";t.replace(n,function(e,i,n,a,o){return r+=t.slice(s,o).replace(le,ce),s=o+e.length,i?r+="'+\n((__t=("+i+"))==null?'':_.escape(__t))+\n'":n?r+="'+\n((__t=("+n+"))==null?'':__t)+\n'":a&&(r+="';\n"+a+"\n__p+='"),e}),r+="';\n";var a,o=e.variable;if(o){if(!ue.test(o))throw new Error("variable is not a bare identifier: "+o)}else r="with(obj||{}){\n"+r+"}\n",o="obj";r="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+r+"return __p;\n";try{a=new Function(o,"_",r)}catch(t){throw t.source=r,t}var l=function(t){return a.call(this,t,ct)};return l.source="function("+o+"){\n"+r+"}",l}function he(t,e,i){var n=(e=jt(e)).length;if(!n)return z(i)?i.call(t):i;for(var s=0;s<n;s++){var r=null==t?void 0:t[e[s]];void 0===r&&(r=i,s=n),t=z(r)?r.call(t):r}return t}var pe=0;function fe(t){var e=++pe+"";return t?t+e:e}function ge(t){var e=ct(t);return e._chain=!0,e}function me(t,e,i,n,s){if(!(n instanceof e))return t.apply(i,s);var r=Ot(t.prototype),a=t.apply(r,s);return k(a)?a:r}var ve=C(function(t,e){var i=ve.placeholder,n=function(){for(var s=0,r=e.length,a=Array(r),o=0;o<r;o++)a[o]=e[o]===i?arguments[s++]:e[o];for(;s<arguments.length;)a.push(arguments[s++]);return me(t,n,this,this,a)};return n});ve.placeholder=ct;var be=C(function(t,e,i){if(!z(t))throw new TypeError("Bind must be called on a function");var n=C(function(s){return me(t,n,e,this,i.concat(s))});return n}),ye=Z(st);function we(t,e,i){e||0===e||(e=1/0);for(var n=[],s=0,r=0,a=st(t)||0,o=[];;)if(r>=a){if(!o.length)break;var l=o.pop();r=l.i,t=l.v,a=st(t)}else{var c=t[r++];o.length>=e?n[s++]=c:ye(c)&&(V(c)||K(c))?(o.push({i:r,v:t}),r=0,a=st(t=c)):i||(n[s++]=c)}return n}var _e=C(function(t,e){var i=(e=we(e,!1,!1)).length;if(i<1)throw new Error("bindAll must be passed function names");for(;i--;){var n=e[i];t[n]=be(t[n],t)}return t});function xe(t,e){var i=function(n){var s=i.cache,r=""+(e?e.apply(this,arguments):n);return Y(s,r)||(s[r]=t.apply(this,arguments)),s[r]};return i.cache={},i}var Ce=C(function(t,e,i){return setTimeout(function(){return t.apply(null,i)},e)}),ke=ve(Ce,ct,1);function Te(t,e,i){var n,s,r,a,o=0;i||(i={});var l=function(){o=!1===i.leading?0:te(),n=null,a=t.apply(s,r),n||(s=r=null)},c=function(){var c=te();o||!1!==i.leading||(o=c);var u=e-(c-o);return s=this,r=arguments,u<=0||u>e?(n&&(clearTimeout(n),n=null),o=c,a=t.apply(s,r),n||(s=r=null)):n||!1===i.trailing||(n=setTimeout(l,u)),a};return c.cancel=function(){clearTimeout(n),o=0,n=s=r=null},c}function Ee(t,e,i){var n,s,r,a,o,l=function(){var c=te()-s;e>c?n=setTimeout(l,e-c):(n=null,i||(a=t.apply(o,r)),n||(r=o=null))},c=C(function(c){return o=this,r=c,s=te(),n||(n=setTimeout(l,e),i&&(a=t.apply(o,r))),a});return c.cancel=function(){clearTimeout(n),n=r=o=null},c}function Ae(t,e){return ve(e,t)}function Se(t){return function(){return!t.apply(this,arguments)}}function De(){var t=arguments,e=t.length-1;return function(){for(var i=e,n=t[e].apply(this,arguments);i--;)n=t[i].call(this,n);return n}}function Ie(t,e){return function(){if(--t<1)return e.apply(this,arguments)}}function Me(t,e){var i;return function(){return--t>0&&(i=e.apply(this,arguments)),t<=1&&(e=null),i}}var Ne=ve(Me,2);function Oe(t,e,i){e=Kt(e,i);for(var n,s=at(t),r=0,a=s.length;r<a;r++)if(e(t[n=s[r]],n,t))return n}function Pe(t){return function(e,i,n){i=Kt(i,n);for(var s=st(e),r=t>0?0:s-1;r>=0&&r<s;r+=t)if(i(e[r],r,e))return r;return-1}}var Le=Pe(1),Re=Pe(-1);function $e(t,e,i,n){for(var s=(i=Kt(i,n,1))(e),r=0,a=st(t);r<a;){var o=Math.floor((r+a)/2);i(t[o])<s?r=o+1:a=o}return r}function je(t,e,i){return function(n,s,r){var a=0,o=st(n);if("number"==typeof r)t>0?a=r>=0?r:Math.max(r+o,a):o=r>=0?Math.min(r+1,o):r+o+1;else if(i&&r&&o)return n[r=i(n,s)]===s?r:-1;if(s!=s)return(r=e(c.call(n,a,o),G))>=0?r+a:-1;for(r=t>0?a:o-1;r>=0&&r<o;r+=t)if(n[r]===s)return r;return-1}}var ze=je(1,Le,$e),Fe=je(-1,Re);function He(t,e,i){var n=(ye(t)?Le:Oe)(t,e,i);if(void 0!==n&&-1!==n)return t[n]}function Be(t,e){return He(t,Ut(e))}function Ue(t,e,i){var n,s;if(e=Vt(e,i),ye(t))for(n=0,s=t.length;n<s;n++)e(t[n],n,t);else{var r=at(t);for(n=0,s=r.length;n<s;n++)e(t[r[n]],r[n],t)}return t}function We(t,e,i){e=Kt(e,i);for(var n=!ye(t)&&at(t),s=(n||t).length,r=Array(s),a=0;a<s;a++){var o=n?n[a]:a;r[a]=e(t[o],o,t)}return r}function Ve(t){return function(e,i,n,s){var r=arguments.length>=3;return function(e,i,n,s){var r=!ye(e)&&at(e),a=(r||e).length,o=t>0?0:a-1;for(s||(n=e[r?r[o]:o],o+=t);o>=0&&o<a;o+=t){var l=r?r[o]:o;n=i(n,e[l],l,e)}return n}(e,Vt(i,s,4),n,r)}}var Ye=Ve(1),qe=Ve(-1);function Ke(t,e,i){var n=[];return e=Kt(e,i),Ue(t,function(t,i,s){e(t,i,s)&&n.push(t)}),n}function Qe(t,e,i){return Ke(t,Se(Kt(e)),i)}function Ge(t,e,i){e=Kt(e,i);for(var n=!ye(t)&&at(t),s=(n||t).length,r=0;r<s;r++){var a=n?n[r]:r;if(!e(t[a],a,t))return!1}return!0}function Je(t,e,i){e=Kt(e,i);for(var n=!ye(t)&&at(t),s=(n||t).length,r=0;r<s;r++){var a=n?n[r]:r;if(e(t[a],a,t))return!0}return!1}function Ze(t,e,i,n){return ye(t)||(t=Tt(t)),("number"!=typeof i||n)&&(i=0),ze(t,e,i)>=0}var Xe=C(function(t,e,i){var n,s;return z(e)?s=e:(e=jt(e),n=e.slice(0,-1),e=e[e.length-1]),We(t,function(t){var r=s;if(!r){if(n&&n.length&&(t=zt(t,n)),null==t)return;r=t[e]}return null==r?r:r.apply(t,i)})});function ti(t,e){return We(t,Wt(e))}function ei(t,e){return Ke(t,Ut(e))}function ii(t,e,i){var n,s,r=-1/0,a=-1/0;if(null==e||"number"==typeof e&&"object"!=typeof t[0]&&null!=t)for(var o=0,l=(t=ye(t)?t:Tt(t)).length;o<l;o++)null!=(n=t[o])&&n>r&&(r=n);else e=Kt(e,i),Ue(t,function(t,i,n){((s=e(t,i,n))>a||s===-1/0&&r===-1/0)&&(r=t,a=s)});return r}function ni(t,e,i){var n,s,r=1/0,a=1/0;if(null==e||"number"==typeof e&&"object"!=typeof t[0]&&null!=t)for(var o=0,l=(t=ye(t)?t:Tt(t)).length;o<l;o++)null!=(n=t[o])&&n<r&&(r=n);else e=Kt(e,i),Ue(t,function(t,i,n){((s=e(t,i,n))<a||s===1/0&&r===1/0)&&(r=t,a=s)});return r}var si=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function ri(t){return t?V(t)?c.call(t):I(t)?t.match(si):ye(t)?We(t,Bt):Tt(t):[]}function ai(t,e,i){if(null==e||i)return ye(t)||(t=Tt(t)),t[Xt(t.length-1)];var n=ri(t),s=st(n);e=Math.max(Math.min(e,s),0);for(var r=s-1,a=0;a<e;a++){var o=Xt(a,r),l=n[a];n[a]=n[o],n[o]=l}return n.slice(0,e)}function oi(t){return ai(t,1/0)}function li(t,e,i){var n=0;return e=Kt(e,i),ti(We(t,function(t,i,s){return{value:t,index:n++,criteria:e(t,i,s)}}).sort(function(t,e){var i=t.criteria,n=e.criteria;if(i!==n){if(i>n||void 0===i)return 1;if(i<n||void 0===n)return-1}return t.index-e.index}),"value")}function ci(t,e){return function(i,n,s){var r=e?[[],[]]:{};return n=Kt(n,s),Ue(i,function(e,s){var a=n(e,s,i);t(r,e,a)}),r}}var ui=ci(function(t,e,i){Y(t,i)?t[i].push(e):t[i]=[e]}),di=ci(function(t,e,i){t[i]=e}),hi=ci(function(t,e,i){Y(t,i)?t[i]++:t[i]=1}),pi=ci(function(t,e,i){t[i?0:1].push(e)},!0);function fi(t){return null==t?0:ye(t)?t.length:at(t).length}function gi(t,e,i){return e in i}var mi=C(function(t,e){var i={},n=e[0];if(null==t)return i;z(n)?(e.length>1&&(n=Vt(n,e[1])),e=pt(t)):(n=gi,e=we(e,!1,!1),t=Object(t));for(var s=0,r=e.length;s<r;s++){var a=e[s],o=t[a];n(o,a,t)&&(i[a]=o)}return i}),vi=C(function(t,e){var i,n=e[0];return z(n)?(n=Se(n),e.length>1&&(i=e[1])):(e=We(we(e,!1,!1),String),n=function(t,i){return!Ze(e,i)}),mi(t,n,i)});function bi(t,e,i){return c.call(t,0,Math.max(0,t.length-(null==e||i?1:e)))}function yi(t,e,i){return null==t||t.length<1?null==e||i?void 0:[]:null==e||i?t[0]:bi(t,t.length-e)}function wi(t,e,i){return c.call(t,null==e||i?1:e)}function _i(t,e,i){return null==t||t.length<1?null==e||i?void 0:[]:null==e||i?t[t.length-1]:wi(t,Math.max(0,t.length-e))}function xi(t){return Ke(t,Boolean)}function Ci(t,e){return we(t,e,!1)}var ki=C(function(t,e){return e=we(e,!0,!0),Ke(t,function(t){return!Ze(e,t)})}),Ti=C(function(t,e){return ki(t,e)});function Ei(t,e,i,n){A(e)||(n=i,i=e,e=!1),null!=i&&(i=Kt(i,n));for(var s=[],r=[],a=0,o=st(t);a<o;a++){var l=t[a],c=i?i(l,a,t):l;e&&!i?(a&&r===c||s.push(l),r=c):i?Ze(r,c)||(r.push(c),s.push(l)):Ze(s,l)||s.push(l)}return s}var Ai=C(function(t){return Ei(we(t,!0,!0))});function Si(t){for(var e=[],i=arguments.length,n=0,s=st(t);n<s;n++){var r=t[n];if(!Ze(e,r)){var a;for(a=1;a<i&&Ze(arguments[a],r);a++);a===i&&e.push(r)}}return e}function Di(t){for(var e=t&&ii(t,st).length||0,i=Array(e),n=0;n<e;n++)i[n]=ti(t,n);return i}var Ii=C(Di);function Mi(t,e){for(var i={},n=0,s=st(t);n<s;n++)e?i[t[n]]=e[n]:i[t[n][0]]=t[n][1];return i}function Ni(t,e,i){null==e&&(e=t||0,t=0),i||(i=e<t?-1:1);for(var n=Math.max(Math.ceil((e-t)/i),0),s=Array(n),r=0;r<n;r++,t+=i)s[r]=t;return s}function Oi(t,e){if(null==e||e<1)return[];for(var i=[],n=0,s=t.length;n<s;)i.push(c.call(t,n,n+=e));return i}function Pi(t,e){return t._chain?ct(e).chain():e}function Li(t){return Ue(St(t),function(e){var i=ct[e]=t[e];ct.prototype[e]=function(){var t=[this._wrapped];return l.apply(t,arguments),Pi(this,i.apply(ct,t))}}),ct}Ue(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var e=r[t];ct.prototype[t]=function(){var i=this._wrapped;return null!=i&&(e.apply(i,arguments),"shift"!==t&&"splice"!==t||0!==i.length||delete i[0]),Pi(this,i)}}),Ue(["concat","join","slice"],function(t){var e=r[t];ct.prototype[t]=function(){var t=this._wrapped;return null!=t&&(t=e.apply(t,arguments)),Pi(this,t)}});var Ri=Li({__proto__:null,VERSION:n,restArguments:C,isObject:k,isNull:T,isUndefined:E,isBoolean:A,isElement:S,isString:I,isNumber:M,isDate:N,isRegExp:O,isError:P,isSymbol:L,isArrayBuffer:R,isDataView:W,isArray:V,isFunction:z,isArguments:K,isFinite:Q,isNaN:G,isTypedArray:nt,isEmpty:ot,isMatch:lt,isEqual:ht,isMap:_t,isWeakMap:xt,isSet:Ct,isWeakSet:kt,keys:at,allKeys:pt,values:Tt,pairs:Et,invert:At,functions:St,methods:St,extend:It,extendOwn:Mt,assign:Mt,defaults:Nt,create:Pt,clone:Lt,tap:Rt,get:Ft,has:Ht,mapObject:Qt,identity:Bt,constant:J,noop:Gt,toPath:$t,property:Wt,propertyOf:Jt,matcher:Ut,matches:Ut,times:Zt,random:Xt,now:te,escape:ne,unescape:se,templateSettings:re,template:de,result:he,uniqueId:fe,chain:ge,iteratee:qt,partial:ve,bind:be,bindAll:_e,memoize:xe,delay:Ce,defer:ke,throttle:Te,debounce:Ee,wrap:Ae,negate:Se,compose:De,after:Ie,before:Me,once:Ne,findKey:Oe,findIndex:Le,findLastIndex:Re,sortedIndex:$e,indexOf:ze,lastIndexOf:Fe,find:He,detect:He,findWhere:Be,each:Ue,forEach:Ue,map:We,collect:We,reduce:Ye,foldl:Ye,inject:Ye,reduceRight:qe,foldr:qe,filter:Ke,select:Ke,reject:Qe,every:Ge,all:Ge,some:Je,any:Je,contains:Ze,includes:Ze,include:Ze,invoke:Xe,pluck:ti,where:ei,max:ii,min:ni,shuffle:oi,sample:ai,sortBy:li,groupBy:ui,indexBy:di,countBy:hi,partition:pi,toArray:ri,size:fi,pick:mi,omit:vi,first:yi,head:yi,take:yi,initial:bi,last:_i,rest:wi,tail:wi,drop:wi,compact:xi,flatten:Ci,without:Ti,uniq:Ei,unique:Ei,union:Ai,intersection:Si,difference:ki,unzip:Di,transpose:Di,zip:Ii,object:Mi,range:Ni,chunk:Oi,mixin:Li,default:ct});Ri._=Ri,e.VERSION=n,e._=Ri,e._escape=ne,e._unescape=se,e.after=Ie,e.allKeys=pt,e.before=Me,e.bind=be,e.bindAll=_e,e.chain=ge,e.chunk=Oi,e.clone=Lt,e.compact=xi,e.compose=De,e.constant=J,e.contains=Ze,e.countBy=hi,e.create=Pt,e.debounce=Ee,e.defaults=Nt,e.defer=ke,e.delay=Ce,e.difference=ki,e.each=Ue,e.every=Ge,e.extend=It,e.extendOwn=Mt,e.filter=Ke,e.find=He,e.findIndex=Le,e.findKey=Oe,e.findLastIndex=Re,e.findWhere=Be,e.first=yi,e.flatten=Ci,e.functions=St,e.get=Ft,e.groupBy=ui,e.has=Ht,e.identity=Bt,e.indexBy=di,e.indexOf=ze,e.initial=bi,e.intersection=Si,e.invert=At,e.invoke=Xe,e.isArguments=K,e.isArray=V,e.isArrayBuffer=R,e.isBoolean=A,e.isDataView=W,e.isDate=N,e.isElement=S,e.isEmpty=ot,e.isEqual=ht,e.isError=P,e.isFinite=Q,e.isFunction=z,e.isMap=_t,e.isMatch=lt,e.isNaN=G,e.isNull=T,e.isNumber=M,e.isObject=k,e.isRegExp=O,e.isSet=Ct,e.isString=I,e.isSymbol=L,e.isTypedArray=nt,e.isUndefined=E,e.isWeakMap=xt,e.isWeakSet=kt,e.iteratee=qt,e.keys=at,e.last=_i,e.lastIndexOf=Fe,e.map=We,e.mapObject=Qt,e.matcher=Ut,e.max=ii,e.memoize=xe,e.min=ni,e.mixin=Li,e.negate=Se,e.noop=Gt,e.now=te,e.object=Mi,e.omit=vi,e.once=Ne,e.pairs=Et,e.partial=ve,e.partition=pi,e.pick=mi,e.pluck=ti,e.property=Wt,e.propertyOf=Jt,e.random=Xt,e.range=Ni,e.reduce=Ye,e.reduceRight=qe,e.reject=Qe,e.rest=wi,e.restArguments=C,e.result=he,e.sample=ai,e.shuffle=oi,e.size=fi,e.some=Je,e.sortBy=li,e.sortedIndex=$e,e.tap=Rt,e.template=de,e.templateSettings=re,e.throttle=Te,e.times=Zt,e.toArray=ri,e.toPath=$t,e.union=Ai,e.uniq=Ei,e.uniqueId=fe,e.unzip=Di,e.values=Tt,e.where=ei,e.without=Ti,e.wrap=Ae,e.zip=Ii},126:(t,e,i)=>{var n=i(171);t.exports=n._}},i={};function n(t){var s=i[t];if(void 0!==s)return s.exports;var r=i[t]={exports:{}};return e[t].call(r.exports,r,r.exports,n),r.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};return(()=>{"use strict";n.r(s),n.d(s,{$:()=>jt,AvatarBadged:()=>Wt,AvatarEl:()=>Xt,AvatarGroupEl:()=>ue,CalendarWidget:()=>Pc,CheckboxMultiselectEl:()=>la,DatePicker:()=>$c,DropdownEl:()=>Yn,FancyFileInput:()=>ua,FocusManager:()=>Ru,Header:()=>Ac,I18n:()=>I18n,InlineDialog2:()=>$u,InlineDialogEl:()=>Oo,ItemCheckboxEl:()=>Un,ItemLinkEl:()=>Bn,ItemRadioEl:()=>Wn,LabelEl:()=>fa,LayerManager:()=>ju,MessageEl:()=>es,NavigationEl:()=>Ro,ProgressBarEl:()=>Ko,ProgressiveDataSet:()=>zu,RestfulTable:()=>su,SectionEl:()=>Vn,SelectEl:()=>Za,SpinnerEl:()=>_e,TabContainerEl:()=>bl,TabItemEl:()=>yl,TabPaneEl:()=>wl,ToggleEl:()=>fo,_addID:()=>sd,banner:()=>he,bind:()=>C,clone:()=>Fu,contextPath:()=>rd,debounce:()=>Hu,debounceImmediate:()=>Bu,dialog2:()=>Me,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:()=>Zu,populateParameters:()=>Ju,progressBars:()=>Go,responsiveheader:()=>Xu,select:()=>td,sidebar:()=>Eu,tablessortable:()=>ed,tabs:()=>id,toInit:()=>Ft,trigger:()=>T,unbind:()=>k,undim:()=>nd,version:()=>w,warn:()=>g,whenIType:()=>Lu});var t=n(687),e=n.n(t);const i=window.jQuery||window.Zepto||e(),r="AJS",a="I18n";function o(){"object"!=typeof window[r]&&(window[r]={})}function l(t,e){return o(),window[r][t]=e}var c=n(714),u=n.n(c);function d(t){let i;return{type:u().type.CLASSNAME,attached:function(n){!function(t,e){let i=!1;if(e(()=>{i=!0}),i)return;const n=new MutationObserver(t=>{(function(t){for(const e of t)if("childList"===e.type)return!0;return!1})(t)&&e(()=>n.disconnect())});n.observe(t,{childList:!0})}(n,s=>{i=s;const r=e()(`input[type=${t}]`,n);r.each(function(t,i){e()('<span class="aui-form-glyph"></span>').insertAfter(i)});r.length>0&&i()})},detached:function(t){e()(".aui-form-glyph",t).remove(),i&&i()}}}function h(t,e){var n=i(t);return void 0===e&&(e=!0),n.each(function(){this.disabled=!e})}function p(t){return function(){"undefined"!=typeof console&&console[t]&&Function.prototype.apply.call(console[t],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 t=i(this).siblings(".field-help");t.hasClass("hidden")?t.removeClass("hidden"):t.addClass("hidden")})});var f=p("log"),g=p("warn"),m=p("error");function v(t){var e=/'(?!')/g,i=/^\d+$/,n=/^(\d+),number$/,s=/^(\d+),choice,(.+)/,r=/^(\d+)([#<])(.+)/,a=function(e,a){var o,l="";if(o=e.match(i))l=a.length>++e?a[e]:"";else if(o=e.match(n))l=a.length>++o[1]?a[o[1]]:"";else if(o=e.match(s)){var c=a.length>++o[1]?a[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(r);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 "'+e+'" from message "'+t+'" is invalid.');var b=[l].concat(Array.prototype.slice.call(a,1));l=v.apply(null,b)}}return l},o=function(t){for(var e=!1,i=-1,n=0,s=0;s<t.length;s++){var r=t.charAt(s);if("'"==r&&(e=!e),!e)if("{"===r)0===n&&(i=s),n++;else if("}"===r&&n>0&&0===--n){var a=[];return a.push(t.substring(0,s+1)),a.push(t.substring(0,i)),a.push(t.substring(i+1,s)),a}}return null};return function(t){var i=arguments,n="";if(!t)return n;for(var s=o(t);s;)t=t.substring(s[0].length),n+=s[1].replace(e,""),n+=a(s[2],i),s=o(t);return n+=t.replace(e,"")}.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(t,e,i){try{return"function"==typeof i?x.on(t,_,e,i):x.on(t,_,e)}catch(t){f("error while binding: ",t.message)}}function k(t,e){try{return x.off(t,e)}catch(t){f("error while unbinding: ",t.message)}}function T(t,e){try{return x.trigger(t,e)}catch(t){f("error while triggering: "+t.message)}}l("bind",C),l("trigger",T),l("unbind",k);const E={"<":"&lt;",">":"&gt;","&":"&amp;",'"':"&quot;","'":"&#39;","`":"&#96;"},A=new RegExp(`[${Object.keys(E).join("")}]`,"g");function S(t){return t.replace(A,t=>E[t])}l("escapeHtml",S);const D=S;var I=Object.prototype.hasOwnProperty,M=[];function N(){"undefined"!=typeof console&&console.warn&&Function.prototype.apply.call(console.warn,console,arguments)}function O(t,e){if("function"==typeof t)return t;var i=!1;return e=e||{},function(n){var s,r=function(t){var e=new Error,i=e.stack||e.stacktrace,n=i&&i.replace(/^Error\n/,"")||"";return n?(n=n.split("\n"))[t+2]:n}(n||1)||"";if(!i||-1===M.indexOf(r)){M.push(r),i=!0;var a="DEPRECATED "+(e.deprecationType+" "||0)+"- "+(s=t,((s+="")?s.charAt(0).toUpperCase()+s.substring(1):"")+" has been deprecated")+(e.sinceVersion?" since "+e.sinceVersion:"")+" and will be removed in "+(e.removeInVersion||"a future release")+".";e.alternativeName&&(a+=" Use "+e.alternativeName+" instead. "),e.extraInfo&&(a+=" "+e.extraInfo),r=""===r?" \n No stack trace of the deprecated usage is available in your current browser.":" \n "+r,e.extraObject?N(a+="\n",e.extraObject,r):N(a,r)}}}function P(t,e){var n=t.options.displayName;n=n?" ("+n+")":"";var s=i.extend({deprecationType:"CSS",extraObject:e},t.options);O("'"+t.selector+"' pattern"+n,s)()}function L(t,e,i){(i=i||{}).deprecationType=i.deprecationType||"JS";var n=O(e||t.name||"this function",i);return function(){return n(),t.apply(this,arguments)}}function R(t,e,n){(n=n||{}).deprecationType=n.deprecationType||"JS";var s=L(t,e,n);return s.prototype=t.prototype,i.extend(s,t),s}var $=!1;try{Object.defineProperty&&(Object.defineProperty({},"blam",{get:function(){},set:function(){}}),$=!0)}catch(t){}function j(t,e,i){if("function"==typeof t[e]){(i=i||{}).deprecationType=i.deprecationType||"JS";var n=i.displayName||e;t[e]=L(t[e],n,i)}else!function(t,e,i){if($){var n=t[e];(i=i||{}).deprecationType=i.deprecationType||"JS";var s=O(i.displayName||e,i);Object.defineProperty(t,e,{get:function(){return s(),n},set:function(t){return n=t,s(),t}})}}(t,e,i)}function z(t){return function(e){for(var i={selector:e,options:t||{}},n=document.querySelectorAll(e),s=0;s<n.length;s++)P(i,n[s]);!function(t){if(H.push(t),!B){B=new MutationObserver(function(t){t.forEach(function(t){for(var e=t.addedNodes,i=0;i<e.length;i++){var n=e[i];1===n.nodeType&&H.forEach(F(n))}})});var e={childList:!0,subtree:!0};B.observe(document,e)}}(i)}}function F(t){return function(e){var i,n;i=t,n=e.selector,(i.matches||i.msMatchesSelector||i.webkitMatchesSelector||i.mozMatchesSelector||i.oMatchesSelector).call(i,n)&&P(e,t)}}const H=[];let B;function U(t){t=t.jquery?t[0]:t,window.getComputedStyle(t,null).getPropertyValue("left")}var W;function V(t,e){W||(W=document.body),!0===t&&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"),e&&V.$dim.css({zIndex:e}),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:L,construct:R,css:function(t,e){"string"==typeof t&&(t=[t]),t.forEach(z(e))},prop:j,obj:function(t,e,n){for(var s in n=n||{},t)I.call(t,s)&&(n.deprecationType=n.deprecationType||"JS",n.displayName=e+s,n.alternativeName=n.alternativeNamePrefix&&n.alternativeNamePrefix+s,j(t,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(t,e){window.define&&(0,window.define)(t,[],function(){return e});return e}const J=u().noConflict();const Z=function(t){return{set:function(e,i){void 0===t._state&&(t._state={}),t._state[e]=i},get:function(e){if(t._state)return t._state[e]}}};function X(t){return Z(t).get("last-trigger")||nt(t)[0]}function tt(t,e){var i=e&&e.nodeType&&1===e.nodeType;return Z(t).set("last-trigger",!!i&&e)}function et(t,e){var i=X(t);i&&e(i)}function it(t,e){return Array.prototype.forEach.call(nt(t),e)}function nt(t){const e=window.frames,i=`[aria-controls="${t.id}"]`;let n=[],s=!1;for(let t=0;t<e.length;t++)try{let s=e[t].document.querySelectorAll(i);n=n.concat(Array.prototype.slice.apply(s))}catch(t){s=!0}const r=document.querySelectorAll(i),a=Array.prototype.slice.apply(r).concat(n);return 0===a.length&&!0===s&&g([`No triggers found for element (${t.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(" ")),a}function st(t){return document.getElementById(t.getAttribute("aria-controls"))}function rt(t){return"true"!==t.getAttribute("aria-disabled")}function at(t,e){if(rt(t)){var i=st(t);i&&i.message&&i.message(e)}}const ot={click(t,e){(function(t,e){var n=i(e).closest("a[href]",t);return!!n.length&&n[0]!==t})(t,e.target)||(at(t,e),e.preventDefault())},keydown(t,e){const i=e.data;i!==Q.ENTER&&i!==Q.SPACE||(e.preventDefault(),e.type="click",ot.click(t,e))},mouseenter(t,e){at(t,e)},mouseleave(t,e){at(t,e)},focus(t,e){at(t,e)},blur(t,e){(function(t,e){let n=e.relatedTarget;return n||(n=document.activeElement),i(st(t)).find(n).length>0})(t,e)||at(t,e)}};Object.keys(ot).forEach(function(t){const e=ot[t];i(document).on(`${t}.aui-trigger`,"[data-aui-trigger]",function(i){e(i.currentTarget,function(t,e){const{target:i,currentTarget:n,relatedTarget:s}=t,{keyCode:r,which:a}=t;return{type:e,data:"keydown"===e?a||r:void 0,target:i,currentTarget:n,relatedTarget:s,preventDefault:()=>t.preventDefault()}}(i,t))})}),J("data-aui-trigger",{type:J.type.ATTRIBUTE,prototype:{disable:function(){this.setAttribute("aria-disabled","true")},enable:function(){this.setAttribute("aria-disabled","false")},isEnabled:function(){return rt(this)}}}),G("aui/trigger"),function(){function t(t){return"visible"===i.css(t,"visibility")&&i(t).is(":visible")}function e(e,n){var s=e.nodeName.toLowerCase();if("aui-select"===s)return!0;if("area"===s){var r=e.parentNode,a=r.name,o=i("img[usemap=#"+a+"]").get();return!(!e.href||!a||"map"!==r.nodeName.toLowerCase())&&(o&&t(o))}var l=/input|select|textarea|button|object|iframe/.test(s),c="a"===s,u=e.href||n;return(l?!e.disabled:c?u:n)&&t(e)}i.extend(i.expr.pseudos,{"aui-focusable":t=>e(t,!isNaN(i.attr(t,"tabindex"))),"aui-tabbable":function(t){var n=i.attr(t,"tabindex"),s=isNaN(n);return(s||n>=0)&&e(t,!s)}})}();var lt="_aui-focus-restore";function ct(t){return t.is(".aui-dialog2")||t.is('[aui-focus-trap="true"]')}function ut(){this._focusTrapStack=[],this._handler}function dt(t,e){if(0===t.length)return;if(e.keyCode!==Q.TAB)return;const n=e.shiftKey?-1:1,s=e.target,r=t[t.length-1],a=r.find(":aui-tabbable");if(!a.length&&ct(r)&&(r.trigger("focus"),e.preventDefault()),!a.length)return;const o=a.index(s);let l=-1;if(o>-1)l=o;else{let t;if(t=i(s).closest(".aui-layer"),!t.length){t=r.find("[aria-controls]").map(function(){return document.getElementById(this.getAttribute("aria-controls"))}).has(s)}if(t.length){const e=t.find(":aui-tabbable"),i=e.index(s)+n;if(!(i<0||i>=e.length))return;{const e=X(t.get(0));l=a.index(e)}}}l=l>-1?function(t,e,i,n){function s(t){return(t+i)%n.length}let r=s(e);if("radio"===t.type&&t.name)for(;n.eq(r).attr("name")===t.name&&r!==e;)r=s(r);if(r!==e&&"radio"===n.eq(r).attr("type")){const t=n.eq(r).attr("name"),e=n.filter(function(){return"radio"===this.type&&this.name===t}),s=e.filter(":checked");let a;a=s.length>0?s.first():i>0?e.first():e.last(),r=n.index(a)}return r}(s,l,n,a):0,"IFRAME"!==a.get(l).nodeName&&(a.eq(l).trigger("focus"),e.preventDefault())}let ht;function pt(){return ht||(ht=new ut),ht}ut.defaultFocusSelector=":aui-tabbable",ut.prototype.enter=function(t,e){if(function(t,e=document.activeElement){t.data(lt,e)}(t,e),"false"!==t.attr("data-aui-focus")){var n=t.attr("data-aui-focus-selector")||ut.defaultFocusSelector;(t.is(n)?t:t.find(n)).first().trigger("focus")}ct(t)&&(this._focusTrapStack.push(t),this._handler||(this._handler=dt.bind(void 0,this._focusTrapStack),i(document).on("keydown.aui-focus-manager",this._handler)))},ut.prototype.exit=function(t){ct(t)&&(this._focusTrapStack.splice(this._focusTrapStack.indexOf(t),1),this._focusTrapStack.length||(i(document).off(".aui-focus-manager",this._handler),delete this._handler));var e=document.activeElement;if(t[0]===e||t.has(e).length){i(e).trigger("blur");var n=function(t){return i(t.data(lt))}(t);n.length&&(t.removeData(lt),n.trigger("focus"))}},pt.global=pt(),l("FocusManager",pt);const ft=pt;function gt(t,e){var n="_aui-widget-"+t;return function(t,s){var r,a;i.isPlainObject(t)?a=t:(r=t,a=s);var o,l=r&&i(r);return l&&l.data(n)?o=l.data(n):(l=(o=new e(l,a||{})).$el).data(n,o),o}}let mt;!function(){if(window.CustomEvent)try{const t=new window.CustomEvent("name",{bubbles:!1,cancelable:!0,detail:{x:"y"}});if(t.preventDefault(),!0!==t.defaultPrevented)throw new Error("Could not prevent default");if("name"!==t.type)throw new Error("Could not set custom name");if("y"!==t.detail.x)throw new Error("Could not set detail");return void(mt=window.CustomEvent)}catch(t){}mt=function(t,e){e=e||{bubbles:!1,cancelable:!1,detail:void 0};var i=document.createEvent("CustomEvent");i.initCustomEvent(t,!!e.bubbles,!!e.cancelable,e.detail);var n=i.preventDefault;return i.preventDefault=function(){n.call(this);try{Object.defineProperty(this,"defaultPrevented",{get:function(){return!0}})}catch(t){this.defaultPrevented||(this.defaultPrevented=!0)}},i},mt.prototype=window.Event.prototype}();const vt=mt,bt="_aui-internal-layer-",yt="_aui-internal-layer-global-";var wt=i(document);function _t(t,e,i,n){!function(t,e){var i=window.getComputedStyle(t).transitionProperty;return!!i&&i.indexOf(e)>-1}(t,e)?i.call(t):t.addEventListener("transitionend",function s(r){e===r.propertyName&&(i.call(t),n&&t.removeEventListener("transitionend",s))})}function xt(t,e,n){var s=i.Event(bt+e),r=i.Event(yt+e),a=new vt("aui-layer-"+n,{bubbles:!0,cancelable:!0}),o=new vt("aui-"+n,{bubbles:!0,cancelable:!0});return t.trigger(s),t.trigger(r,[t]),t[0].dispatchEvent(a),t[0].dispatchEvent(o),!(s.isDefaultPrevented()||r.isDefaultPrevented()||a.defaultPrevented||o.defaultPrevented)}function Ct(t){this.$el=i(t||'<div class="aui-layer"></div>'),this.el=this.$el[0],this.$el.addClass("aui-layer")}function kt(t,e){return t.getAttribute(e)||t.getAttribute("data-aui-"+e)}Ct.prototype={below:function(){return Mt.global.item(Mt.global.indexOf(this.$el)-1)},above:function(){return Mt.global.item(Mt.global.indexOf(this.$el)+1)},changeSize:function(t,e){return this.$el.css("width",t),this.$el.css("height","content"===e?"":e),this},on:function(t,e){return this.$el.on(bt+t,e),this},off:function(t,e){return this.$el.off(bt+t,e),this},show:function(){return this.isVisible()||Mt.global.indexOf(this.$el)>-1?this:xt(this.$el,"beforeShow","show")?("none"===this.$el.css("display")&&this.$el.css("display",""),Mt.global.push(this.$el),this):this},hide:function(){if(!this.isVisible())return this;const t=this;return _t(this.$el.get(0),"opacity",function(){t.isVisible()||(this.style.display="none")},!0),Mt.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 t=kt(this.el,"modal"),e=this.el.hasAttribute("persistent");return"true"===t||e},getDOMContainer:function(){let t=kt(this.el,"dom-container");return t&&(t=document.querySelector(t)||document.body),t},_hideLayer:function(t){return!(t&&!xt(this.$el,"beforeHide","hide"))&&((this.isPersistent()||this.isBlanketed())&&ft.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(bt+"hide"),this.$el.trigger(yt+"hide",[this.$el]),!0)},_showLayer:function(t){let e=this.getDOMContainer();if(this.isBlanketed()||e){let t=e||"body";this.$el.parent().is(t)||this.$el.appendTo(t)}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",t),this.el.removeAttribute("hidden"),this.el.setAttribute("open",""),this.isBlanketed()&&ft.global.enter(this.$el),this.$el.trigger(bt+"show"),this.$el.trigger(yt+"show",[this.$el])}};var Tt=gt("layer",Ct);function Et(t,e){for(var i=t.length;i--;)if(e(t[i]))return i;return-1}function At(t,e){return Et(t,function(t){return t[0]===e[0]})}function St(t){return Et(t,function(t){return Tt(t).isBlanketed()})}function Dt(t,e){var i=St(t);e!==i&&(i>-1?V(!1,t[i].css("z-index")-20):Y())}function It(t,e,i,n=!0){if(e<0)return[!1,null];for(var s,r=t.length-1;r>=e;r--){s=t[r];var a=Tt(s);if(i||!a.isPersistent()){if(!a._hideLayer(n))return[!1,s];t.splice(r,1)}}return[!0,s]}function Mt(){this._stack=[]}function Nt(t){if(!t.length)return!1;var e=document.getElementById(t.attr("aria-controls"));return Mt.global.indexOf(e)>-1}Tt.on=function(t,e,i){return wt.on(yt+t,e,i),this},Tt.off=function(t,e,i){return wt.off(yt+t,e,i),this},Mt.prototype={push:function(t){var e=t instanceof i?t:i(t);if(At(this._stack,e)>=0)throw new Error("The given element is already an active layer.");this.popLayersBeside(e);var n=Tt(e),s=function(t){var e;if(t.length){var i=t[t.length-1],n=parseInt(i.css("z-index"),10);e=(isNaN(n)?0:n)+100}else e=0;return Math.max(3e3,e)}(this._stack);return n._showLayer(s),n.isBlanketed()&&V(!1,s-20),this._stack.push(e),this},popLayersBeside:function(t){const e=i(t).get(0);if(!function(t){return!!X(t)}(e)){var n=St(this._stack);return void It(this._stack,++n,!1)}const s=function(t){var e=X(t);if(e)return i(e).closest(".aui-layer").get(0)}(e);if(s){let t=this.indexOf(s);It(this._stack,++t,!1)}else It(this._stack,0,!1)},indexOf:function(t){return At(this._stack,i(t))},item:function(t){return this._stack[t]},hideAll:function(){return this._stack.slice().reverse().forEach(function(t){let e=Tt(t);e.isBlanketed()||e.isPersistent()||e.hide()}),this},getNextLowerNonPersistentOrBlanketedLayer:function(t){var e,n=t instanceof i?t:i(t),s=At(this._stack,n);if(s<0)return null;for(s--;s>=0;){e=this._stack[s];var r=Tt(e);if(!r.isPersistent()||r.isBlanketed())return e;s--}return null},getNextHigherNonPeristentAndNonBlanketedLayer:function(t){var e,n=t instanceof i?t:i(t),s=At(this._stack,n);if(s<0)return null;for(s++;s<this._stack.length;){e=this._stack[s];var r=Tt(e);if(!r.isPersistent()&&!r.isBlanketed())return e;s++}return null},getTopLayer:function(){return this._stack[this._stack.length-1]||null},getTopOpenLayer:function(){return this._stack.slice().reverse().find(t=>t.attr("open"))||null},popUntil:function(t,e=!1){var n=t instanceof i?t:i(t),s=At(this._stack,n);if(-1===s)return null;const r=St(this._stack),a=Tt(n),[o,l]=It(this._stack,s+1,a.isBlanketed(),e);return o&&a._hideLayer(e)?(this._stack.splice(s,1),Dt(this._stack,r),n):l},popTopIfNonPersistent:function(t=!1){var e=this.getTopLayer(),i=Tt(e);return!e||i.isPersistent()?null:this.popUntil(e,t)},popUntilTopBlanketed:function(t=!1){var e=St(this._stack);if(e<0)return null;var i=this._stack[e];if(Tt(i).isPersistent()){var n=this.getNextHigherNonPeristentAndNonBlanketedLayer(i);if(n){var s=At(this._stack,n);return It(this._stack,s,!0,t),n}return null}return It(this._stack,e,!0),Dt(this._stack,e),i},popUntilTopPersistent:function(t=!1){var e=Mt.global.getTopLayer();if(e){var i,n=St(this._stack),s=Tt(e);if(s.isPersistent()){if(s.isBlanketed())return;if(e=Mt.global.getNextLowerNonPersistentOrBlanketedLayer(e),s=Tt(e),!e||s.isPersistent())return;i=At(this._stack,e),It(this._stack,i,!0,t),Dt(this._stack,n)}else i=At(this._stack,e),It(this._stack,i,!0,t),Dt(this._stack,n)}}},wt.on("keydown",function(t){t.keyCode===Q.ESCAPE&&(Mt.global.popUntilTopPersistent(!0),t.preventDefault())}),wt.on("click",".aui-blanket",function(t){Mt.global.popUntilTopBlanketed(!0)&&t.preventDefault()}),wt.on("click",function(t){var e=i(t.target);if(!e.closest(".aui-blanket").length){var n=e.closest("[aria-controls]"),s=e.closest(".aui-layer");if(!s.length&&!Nt(n)){const e=i.Event("aui-close-layers-on-outer-click");return wt.trigger(e),e.isDefaultPrevented()?void t.preventDefault():void Mt.global.hideAll()}if(!Nt(n)&&s.length){var r=Mt.global.getNextHigherNonPeristentAndNonBlanketedLayer(s);r&&Tt(r).hide()}}}),Mt.global=new Mt,Tt.Manager=Mt,l("layer",Tt);const Ot=Tt;l("LayerManager",Ot.Manager);Ot.Manager;const Pt={sinceVersion:"9.0.0",removeInVersion:"10.0.0"},Lt=l("params",new Proxy({},{get:function(t,e){return O("AJS.params",Pt)(),t[e]}}));const Rt=L(function(t){t||(t=Lt),i(".parameters input").each(function(){var e=this.value,n=this.title||this.id;i(this).hasClass("list")?t[n]?t[n].push(e):t[n]=[e]:t[n]=e.match(/^(tru|fals)e$/i)?"true"===e.toLowerCase():e})},"populateParameters",{sinceVersion:"9.0.0",removeInVersion:"10.0.0"});l("populateParameters",Rt);const $t=Rt;i(function(){var t=i("body");t.data("auiVersion")||t.attr("data-aui-version",w),$t()}),l("$",i);const jt=i;function zt(t){return i.when(i.ready).then(function(){setTimeout(function(){try{t.call(this,i)}catch(e){m("Failed to run init function: "+e.message,t,e,e.stack)}},1)}),this}l("toInit",zt);const Ft=zt;n(547);const Ht={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(t,...e){return Object.prototype.hasOwnProperty.call(this.keys,t)?b.apply(null,[this.keys[t]].concat(e)):t}},I18n=function(t){o(),"object"!=typeof window[r][a]&&(window[r][a]={});const e=window[r][a];for(const i in t)void 0===e[i]&&(e[i]=t[i]);return e}(Ht),Bt="bottom-end",Ut=["top-start","top-end","bottom-start","bottom-end"],Wt=J("aui-avatar-badged",{attributes:{placement:{value:Bt,fallback(t,{newValue:e,oldValue:i}){((t,e,i)=>{const n=Ut.includes(e)?e:Bt;i&&t.classList.remove(`aui-avatar-badged-${i}`),t.classList.add(`aui-avatar-badged-${n}`)})(t,e,i)}}},created:function(t){t.classList.add("aui-avatar-badged")}});var Vt=n(2),Yt=n.n(Vt);const qt=new Map([["project","data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB2aWV3Qm94PSIwIDAgMTI4IDEyOCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHJvbGU9ImltZyIgYXJpYS1sYWJlbD0ieHhsYXJnZSI+CiAgICA8Zz4KICAgICAgICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMTI4IiBoZWlnaHQ9IjEyOCIgZmlsbD0iIzg5OTNhNCIgLz4KICAgICAgICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxOS4wMDAwMDAsIDMyLjAwMDAwMCkiPgogICAgICAgICAgICA8cGF0aCBmaWxsPSIjZmZmIgogICAgICAgICAgICAgICAgZD0iTTE4LjI1LDMyLjUgTDU0LjU4MzMzMzMsMzIuNSBMNTQuNTgzMzMzMywyMy40MTY2NjY3IEwxOC4yNSwyMy40MTY2NjY3IEwxOC4yNSwzMi41IFogTTkuMTY2NjY2NjcsMTguODMzMTE2NiBDOS4xNjY2NjY2NywxNi4zNDc5NTQ5IDExLjIzNjU4MSwxNC4zMzMzMzMzIDEzLjcxOTU2NjIsMTQuMzMzMzMzMyBMNTkuMTEzNzY3MSwxNC4zMzMzMzMzIEM2MS42MjgyNjQxLDE0LjMzMzMzMzMgNjMuNjY2NjY2NywxNi4zODE1MTIzIDYzLjY2NjY2NjcsMTguODMzMTE2NiBMNjMuNjY2NjY2Nyw0MS41ODMzMzMzIEw5LjE2NjY2NjY3LDQxLjU4MzMzMzMgTDkuMTY2NjY2NjcsMTguODMzMTE2NiBaIiAvPgogICAgICAgICAgICA8cGF0aCBmaWxsPSIjZmZmIgogICAgICAgICAgICAgICAgZD0iTTE4LjI1LDkuODEzODM2ODIgQzE4LjI1LDQuNzg1MDA2MSAyMi4zMjk2MDAzLDAuNzA4MzMzMzMzIDI3LjMyMzg1NTQsMC43MDgzMzMzMzMgTDM2LjQyNjE0NDYsMC43MDgzMzMzMzMgQzQxLjQzNzQ5NjUsMC43MDgzMzMzMzMgNDUuNSw0Ljc2ODEyODI1IDQ1LjUsOS44MTM4MzY4MiBMNDUuNSwyMy40MTY2NjY3IEwxOC4yNSwyMy40MTY2NjY3IEwxOC4yNSw5LjgxMzgzNjgyIFogTTM2LjQxNjY2NjcsOS44MTM4MzY4MiBDMzYuNDE2NjY2Nyw5Ljc5ODAzMzE1IDM2LjQxODQ3NDgsOS43OTMwMzc4NCAzNi40MjA3NTE1LDkuNzkxNjY2NjcgTDI3LjMyMzg1NTQsOS43OTE2NjY2NyBDMjcuMzQ0NzIyNCw5Ljc5MTY2NjY3IDI3LjMzMzMzMzMsOS44MDMwODA1OSAyNy4zMzMzMzMzLDkuODEzODM2ODIgTDI3LjMzMzMzMzMsMTQuMzMzMzMzMyBMMzYuNDE2NjY2NywxNC4zMzMzMzMzIEwzNi40MTY2NjY3LDkuODEzODM2ODIgWiIgLz4KICAgICAgICAgICAgPHBhdGggZmlsbD0iI2ZmZiIKICAgICAgICAgICAgICAgIGQ9Ik0xMS40Mzg2NTMyLDU1LjIwODMzMzMgTDc0Ljk5NTM1NjIsNTUuMjA4MzMzMyBMNzkuNTQ1MjI0Miw0MS41ODMzMzMzIEw5LjgwNDQ5NzUyLDQxLjU4MzMzMzMgTDExLjQzODY1MzIsNTUuMjA4MzMzMyBaIE0wLjEwNDg1NDcsMzYuOTg3NTQxIEMtMC4xOTIzOTk3NzUsMzQuNTA5MTQwNSAxLjU4NjU3MTcsMzIuNSA0LjA5NTAyODM5LDMyLjUgTDg3LjYyNjQ3MzUsMzIuNSBDOTAuMTI3NDQwMSwzMi41IDkxLjUyMjU2NTYsMzQuMzkzNTA2IDkwLjcyMzEwNDcsMzYuNzg3NTY1NiBMODIuOTcwMjg0Niw2MC4wMDQxMDEgQzgyLjE3OTU0MDIsNjIuMzcyMDU4MiA3OS41Mjc5NDQ1LDY0LjI5MTY2NjcgNzYuOTk4NTMzOCw2NC4yOTE2NjY3IEw3LjkxOTYzOTI0LDY0LjI5MTY2NjcgQzUuNDEyMjc2NzMsNjQuMjkxNjY2NyAzLjE0MTEzNTcxLDYyLjMwMjk1NTUgMi44NDE0MzA5Nyw1OS44MDQxMjU3IEwwLjEwNDg1NDcsMzYuOTg3NTQxIFoiIC8+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4K"],["user","data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB2aWV3Qm94PSIwIDAgMTI4IDEyOCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHJvbGU9ImltZyIgYXJpYS1sYWJlbD0ieHhsYXJnZSI+CiAgICA8Zz4KICAgICAgICA8Y2lyY2xlIGN4PSI2NCIgY3k9IjY0IiByPSI2NCIgZmlsbD0iIzg5OTNhNCIgLz4KICAgICAgICA8Zz4KICAgICAgICAgICAgPHBhdGggZmlsbD0iI2ZmZiIKICAgICAgICAgICAgICAgIGQ9Ik0xMDMsMTAyLjEzODggQzkzLjA5NCwxMTEuOTIgNzkuMzUwNCwxMTggNjQuMTYzOCwxMTggQzQ4LjgwNTYsMTE4IDM0LjkyOTQsMTExLjc2OCAyNSwxMDEuNzg5MiBMMjUsOTUuMiBDMjUsODYuODA5NiAzMS45ODEsODAgNDAuNiw4MCBMODcuNCw4MCBDOTYuMDE5LDgwIDEwMyw4Ni44MDk2IDEwMyw5NS4yIEwxMDMsMTAyLjEzODggWiIgLz4KICAgICAgICAgICAgPHBhdGggZmlsbD0iI2ZmZiIKICAgICAgICAgICAgICAgIGQ9Ik02My45OTYxNjQ3LDI0IEM1MS4yOTM4MTM2LDI0IDQxLDM0LjI5MzgxMzYgNDEsNDYuOTk2MTY0NyBDNDEsNTkuNzA2MTg2NCA1MS4yOTM4MTM2LDcwIDYzLjk5NjE2NDcsNzAgQzc2LjY5ODUxNTksNzAgODcsNTkuNzA2MTg2NCA4Nyw0Ni45OTYxNjQ3IEM4NywzNC4yOTM4MTM2IDc2LjY5ODUxNTksMjQgNjMuOTk2MTY0NywyNCIgLz4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPgo="]]),Kt=(t,e)=>t.querySelector(e),Qt=(t,e,i)=>{const n=Kt(t,".aui-avatar");n.classList.remove(`aui-avatar-${i}`),n.classList.add(`aui-avatar-${e}`)},Gt=t=>{if(t.hasAttribute("src"))Zt(t,t.getAttribute("src"));else{const e=(t=>"project"===t.getAttribute("type")?"project":"user")(t),i=qt.get(e);Zt(t,i)}},Jt=(t,e,i)=>Kt(t,"img").setAttribute(e,i),Zt=(t,e)=>Jt(t,"src",e),Xt=J("aui-avatar",{template:Yt()("\n <span class='aui-avatar'>\n <span class='aui-avatar-inner'>\n <img />\n </span>\n <content></content>\n </span>\n "),attributes:{size(t,{newValue:e,oldValue:i}){Qt(t,e,i)},type(t,{newValue:e,oldValue:i}){Qt(t,e,i),Gt(t)},src(t,{newValue:e}){Zt(t,e)},alt:{value:"",fallback(t,{newValue:e}){((t,e)=>{Jt(t,"alt",e)})(t,e)}},title(t,{newValue:e}){((t,e)=>{Jt(t,"title",e)})(t,e)}},created:function(t){t.className="aui-avatar",Gt(t),(t=>null!==t.querySelector("aui-avatar-badged"))(t)&&t.setAttribute("role","img")}}),te="medium",ee={xsmall:16,small:24,medium:32,large:48,xlarge:64,xxlarge:96,xxxlarge:128},ie=(t,e)=>{const i=t.querySelectorAll("aui-avatar"),n=[...i].slice(4);ae(i,e);const s=t.querySelector(".aui-avatar-group-dropdown");if(s&&s.remove(),0===n.length)return;const r=ne(e,n);t.appendChild(r)},ne=(t,e)=>{const i=document.createElement("div"),n=se(`+${e.length}`),s=re();return e.forEach(t=>{s.append(t)}),i.classList.add("aui-avatar-group-dropdown"),i.style.left=oe(t,4.2),i.appendChild(n),i.appendChild(s),i},se=t=>{const e=document.createElement("button");return e.classList.add("aui-avatar-group-dropdown-button","aui-avatar-inner"),e.innerText=t,e.setAttribute("aria-expanded",!1),e.setAttribute("aria-haspopup","dialog"),e},re=()=>{const t=document.createElement("div");return t.classList.add("aui-avatar-group-dropdown-menu"),t},ae=(t,e)=>{t.forEach((t,i)=>{const n=i>=4;t.classList.add(n?"aui-avatar-group-dropdown-item":"aui-avatar-group-item"),n?t.setAttribute("size","medium"):(t.setAttribute("size",e),t.style.left=oe(e,i),t.style.zIndex=""+(5-i))})},oe=(t,e)=>{const i=ee[t];return`${(i-.25*i)*e}px`};document.addEventListener("click",t=>{const e=t.target.matches(".aui-avatar-group-dropdown-button"),i=t.target.closest(".aui-avatar-group-dropdown");(e||null===i)&&(e&&(i.classList.contains("aui-avatar-group-dropdown-show")?le(i):ce(i)),document.querySelectorAll(".aui-avatar-group-dropdown-show").forEach(t=>{t!==i&&le(t)}))}),document.addEventListener("keydown",t=>{if("Escape"!==t.key)return;const e=document.querySelector(".aui-avatar-group-dropdown-show");e&&le(e)});const le=t=>{const e=t.querySelector(".aui-avatar-group-dropdown-button");t.classList.remove("aui-avatar-group-dropdown-show"),e.setAttribute("aria-expanded","false")},ce=t=>{const e=t.querySelector(".aui-avatar-group-dropdown-button");t.classList.add("aui-avatar-group-dropdown-show"),e.setAttribute("aria-expanded","true")},ue=J("aui-avatar-group",{attributes:{size:{value:te,fallback(t,{newValue:e,oldValue:i}){const n=(s=e,Object.keys(ee).includes(s)?s:te);var s;((t,e,i)=>{i&&t.classList.remove(`aui-avatar-group-${i}`),t.classList.add(`aui-avatar-group-${e}`)})(t,n,i),J.init(t),ie(t,n)}}},created(t){t.classList.add("aui-avatar-group")}});new MutationObserver(function(t){t.forEach(function(t){const e=t.target;((t,e)=>t.removedNodes.length>0&&e.classList.contains("aui-avatar-group")&&t.removedNodes[0].classList.contains("aui-avatar-group-item"))(t,e)&&ie(e,e.getAttribute("size")),((t,e)=>t.addedNodes.length>0&&e.classList.contains("aui-avatar-group")&&t.addedNodes[0].classList.contains("aui-avatar"))(t,e)&&setTimeout(()=>{ie(e,e.getAttribute("size"))},0)})}).observe(document.documentElement,{attributes:!1,characterData:!0,childList:!0,subtree:!0,attributeOldValue:!1,characterDataOldValue:!1});function de(t){const e=document.getElementById("header");if(!e)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:t="",type:e="error"}){const i=document.createElement("div");i.className=`aui-banner aui-banner-${e}`,i.setAttribute("role","alert"),i.innerHTML=t;const n=document.createElement("div");return n.innerText=`${e}`,n.classList.add("assistive"),i.prepend(n),i}(t);return function(t,e){e.prepend(t),U(t)}(i,e),function(t){const e=t.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."});e.forEach(function(t){i(),t.remove()})}(e),i}G("aui/banner",de),l("banner",de);const he=de;var pe=n(126);const fe={SMALL:{name:"small",px:20,radius:9},MEDIUM:{name:"medium",px:30,radius:13.5},LARGE:{name:"large",px:50,radius:22.5}},ge={filled:!1,size:fe.MEDIUM.name},me="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.",ve=O("<aui-spinner> filled attribute",{sinceVersion:"7.9.4",removeInVersion:"10.0.0",extraInfo:me}),be=O("<aui-spinner> filled property",{sinceVersion:"7.9.4",removeInVersion:"10.0.0",extraInfo:me});function ye(t){let e=fe.MEDIUM.name;if("string"==typeof t){t=t.toLowerCase();const i=Object.keys(fe).map(t=>t.toLowerCase());i.indexOf(t)>-1&&(e=t)}return e}function we(t){const{px:e,radius:i}=(0,pe.find)(fe,e=>e.name===t._data.size)||fe.MEDIUM;!function(t,e,i){const n=t.querySelector("svg"),s=t.querySelector("circle");n.setAttribute("size",e),n.setAttribute("height",e),n.setAttribute("width",e),n.setAttribute("viewBox",`0 0 ${e} ${e}`);const r=e/2;s.setAttribute("cx",r),s.setAttribute("cy",r),s.setAttribute("r",i)}(t,e,i),t._data.filled?function(t,e){const i=t.parentNode;if(i&&1===i.nodeType){const n=t.getBoundingClientRect(),s=i.getBoundingClientRect(),r=s.top+s.height/2,a=n.top+e/2;t.querySelector("svg").style.top=r-a+"px"}}(t,e):function(t){delete t.querySelector("svg").style.top}(t)}const _e=J("aui-spinner",{template(t){t.innerHTML='<div class="aui-spinner spinner"><svg focusable="false"><circle></circle></svg></div>',we(t)},attached(t){we(t)},attributes:{filled:{created:function(t){ve(),t._data.filled=!0,we(t)},removed:function(t){t._data.filled=!1,we(t)}},size(t,e){t._data.size=ye(e.newValue),we(t)}},prototype:{get _data(){return this.__data||(this._data=(0,pe.defaults)({},ge))},set _data(t){return this.__data=t},set filled(t){be(),t?this.setAttribute("filled",""):this.removeAttribute("filled")},set size(t){const e=ye(t);this.setAttribute("size",e)}}});function xe(t){return t.hasAttribute("aria-busy")&&"true"===t.getAttribute("aria-busy")}function Ce(t){return"INPUT"===t.nodeName}J("aui-button",{type:J.type.CLASSNAME,created:function(t){t._spinner=new _e,t._spinner.setAttribute("size",fe.SMALL.name)},prototype:{busy:function(){return Ce(this)||xe(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 Ce(this)||!xe(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 Ce(this)?(g("It is not valid to call isBusy() on an input button."),!1):xe(this)}}}),G("aui/button");const ke="aui-close-button",Te=`.${ke}`,Ee=`<button type="button" class="${ke}" aria-label="${I18n.getText("aui.words.close")}">`,Ae={"aui-focus":"false","aui-blanketed":"true"};function Se(t){var e;this._handlers=new WeakMap,this.$el=i(t||`\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 ${Ee}\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"),e=this.$el,i.each(Ae,function(t,i){const n="data-"+t;e[0].hasAttribute(n)||e.attr(n,i)})}Se.prototype.on=function(t,e){const i=this.$el;if(!this._handlers.get(e)){const n=function(t){t.target===i.get(0)&&e.apply(this,arguments)};Ot(i).on(t,n),this._handlers.set(e,n)}return this},Se.prototype.off=function(t,e){const i=this.$el,n=this._handlers.get(e);return n&&(Ot(i).off(t,n),this._handlers.delete(e)),this},Se.prototype.show=function(){return Ot(this.$el).show(),this},Se.prototype.hide=function(){return Ot(this.$el).hide(),this},Se.prototype.remove=function(){return Ot(this.$el).remove(),this},Se.prototype.isVisible=function(){return Ot(this.$el).isVisible()};var De=gt("dialog2",Se),Ie=new Set;De.on=function(t,e){return Ie.has(e)||(Ot.on(t,".aui-dialog2",e),Ie.add(e)),this},De.off=function(t,e){return Ie.has(e)&&(Ot.off(t,".aui-dialog2",e),Ie.delete(e)),this},i(document).on("click keydown",`.aui-dialog2-header ${Te}`,function(t){("click"===t.type||t.keyCode===Q.ENTER||t.keyCode===Q.SPACE)&&(t.preventDefault(),De(i(t.target).closest(".aui-dialog2")).hide())}),De.on("show",function(t,e){!function(t){const e=t.querySelector(Te);e&&(O(`Dialog2 [${Te}]`,{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"})(),e.setAttribute("tabindex","0"));t.setAttribute("tabindex","-1");const i=t.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=t.querySelector("[autofocus]");if(n)return document.activeElement.blur(),void setTimeout(()=>n.focus(),0);if(i){const e=t.querySelector(i);if(e)return e.blur(),void setTimeout(()=>e.focus(),0)}const s=[...t.querySelectorAll('a[href], button, input, textarea, select, details,[tabindex]:not([tabindex="-1"])')].filter(t=>!t.hasAttribute("disabled")&&!t.getAttribute("aria-hidden"));if(s.length){let t=s.shift();return t.classList.contains(ke)&&(t=s.shift()),void(t&&(t.blur(),setTimeout(()=>t.focus(),0)))}t.focus()}(e[0])}),De.on("hide",function(t,e){const i=Ot(e);e.data("aui-remove-on-hide")&&i.remove()}),G("aui/dialog2",De),l("dialog2",De);const Me=De;var Ne,Oe,Pe=navigator.userAgent.toLowerCase(),Le=(/msie/.test(Pe),/windows nt 5.1/.test(Pe),/windows nt 6.0/.test(Pe),/windows nt 6.1/.test(Pe),/mac os x/.test(Pe));function Re(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function $e(t){return t instanceof Re(t).Element||t instanceof Element}function je(t){return t instanceof Re(t).HTMLElement||t instanceof HTMLElement}function ze(t){return"undefined"!=typeof ShadowRoot&&(t instanceof Re(t).ShadowRoot||t instanceof ShadowRoot)}var Fe=Math.max,He=Math.min,Be=Math.round;function Ue(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function We(){return!/^((?!chrome|android).)*safari/i.test(Ue())}function Ve(t,e,i){void 0===e&&(e=!1),void 0===i&&(i=!1);var n=t.getBoundingClientRect(),s=1,r=1;e&&je(t)&&(s=t.offsetWidth>0&&Be(n.width)/t.offsetWidth||1,r=t.offsetHeight>0&&Be(n.height)/t.offsetHeight||1);var a=($e(t)?Re(t):window).visualViewport,o=!We()&&i,l=(n.left+(o&&a?a.offsetLeft:0))/s,c=(n.top+(o&&a?a.offsetTop:0))/r,u=n.width/s,d=n.height/r;return{width:u,height:d,top:c,right:l+u,bottom:c+d,left:l,x:l,y:c}}function Ye(t){var e=Re(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function qe(t){return t?(t.nodeName||"").toLowerCase():null}function Ke(t){return(($e(t)?t.ownerDocument:t.document)||window.document).documentElement}function Qe(t){return Ve(Ke(t)).left+Ye(t).scrollLeft}function Ge(t){return Re(t).getComputedStyle(t)}function Je(t){var e=Ge(t),i=e.overflow,n=e.overflowX,s=e.overflowY;return/auto|scroll|overlay|hidden/.test(i+s+n)}function Ze(t,e,i){void 0===i&&(i=!1);var n,s,r=je(e),a=je(e)&&function(t){var e=t.getBoundingClientRect(),i=Be(e.width)/t.offsetWidth||1,n=Be(e.height)/t.offsetHeight||1;return 1!==i||1!==n}(e),o=Ke(e),l=Ve(t,a,i),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(r||!r&&!i)&&(("body"!==qe(e)||Je(o))&&(c=(n=e)!==Re(n)&&je(n)?{scrollLeft:(s=n).scrollLeft,scrollTop:s.scrollTop}:Ye(n)),je(e)?((u=Ve(e,!0)).x+=e.clientLeft,u.y+=e.clientTop):o&&(u.x=Qe(o))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function Xe(t){var e=Ve(t),i=t.offsetWidth,n=t.offsetHeight;return Math.abs(e.width-i)<=1&&(i=e.width),Math.abs(e.height-n)<=1&&(n=e.height),{x:t.offsetLeft,y:t.offsetTop,width:i,height:n}}function ti(t){return"html"===qe(t)?t:t.assignedSlot||t.parentNode||(ze(t)?t.host:null)||Ke(t)}function ei(t){return["html","body","#document"].indexOf(qe(t))>=0?t.ownerDocument.body:je(t)&&Je(t)?t:ei(ti(t))}function ii(t,e){var i;void 0===e&&(e=[]);var n=ei(t),s=n===(null==(i=t.ownerDocument)?void 0:i.body),r=Re(n),a=s?[r].concat(r.visualViewport||[],Je(n)?n:[]):n,o=e.concat(a);return s?o:o.concat(ii(ti(a)))}function ni(t){return["table","td","th"].indexOf(qe(t))>=0}function si(t){return je(t)&&"fixed"!==Ge(t).position?t.offsetParent:null}function ri(t){for(var e=Re(t),i=si(t);i&&ni(i)&&"static"===Ge(i).position;)i=si(i);return i&&("html"===qe(i)||"body"===qe(i)&&"static"===Ge(i).position)?e:i||function(t){var e=/firefox/i.test(Ue());if(/Trident/i.test(Ue())&&je(t)&&"fixed"===Ge(t).position)return null;var i=ti(t);for(ze(i)&&(i=i.host);je(i)&&["html","body"].indexOf(qe(i))<0;){var n=Ge(i);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||e&&"filter"===n.willChange||e&&n.filter&&"none"!==n.filter)return i;i=i.parentNode}return null}(t)||e}var ai="top",oi="bottom",li="right",ci="left",ui="auto",di=[ai,oi,li,ci],hi="start",pi="end",fi="viewport",gi="popper",mi=di.reduce(function(t,e){return t.concat([e+"-"+hi,e+"-"+pi])},[]),vi=[].concat(di,[ui]).reduce(function(t,e){return t.concat([e,e+"-"+hi,e+"-"+pi])},[]),bi=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function yi(t){var e=new Map,i=new Set,n=[];function s(t){i.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach(function(t){if(!i.has(t)){var n=e.get(t);n&&s(n)}}),n.push(t)}return t.forEach(function(t){e.set(t.name,t)}),t.forEach(function(t){i.has(t.name)||s(t)}),n}function wi(t,e){var i=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(i&&ze(i)){var n=e;do{if(n&&t.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function _i(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function xi(t,e,i){return e===fi?_i(function(t,e){var i=Re(t),n=Ke(t),s=i.visualViewport,r=n.clientWidth,a=n.clientHeight,o=0,l=0;if(s){r=s.width,a=s.height;var c=We();(c||!c&&"fixed"===e)&&(o=s.offsetLeft,l=s.offsetTop)}return{width:r,height:a,x:o+Qe(t),y:l}}(t,i)):$e(e)?function(t,e){var i=Ve(t,!1,"fixed"===e);return i.top=i.top+t.clientTop,i.left=i.left+t.clientLeft,i.bottom=i.top+t.clientHeight,i.right=i.left+t.clientWidth,i.width=t.clientWidth,i.height=t.clientHeight,i.x=i.left,i.y=i.top,i}(e,i):_i(function(t){var e,i=Ke(t),n=Ye(t),s=null==(e=t.ownerDocument)?void 0:e.body,r=Fe(i.scrollWidth,i.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),a=Fe(i.scrollHeight,i.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),o=-n.scrollLeft+Qe(t),l=-n.scrollTop;return"rtl"===Ge(s||i).direction&&(o+=Fe(i.clientWidth,s?s.clientWidth:0)-r),{width:r,height:a,x:o,y:l}}(Ke(t)))}function Ci(t,e,i,n){var s="clippingParents"===e?function(t){var e=ii(ti(t)),i=["absolute","fixed"].indexOf(Ge(t).position)>=0&&je(t)?ri(t):t;return $e(i)?e.filter(function(t){return $e(t)&&wi(t,i)&&"body"!==qe(t)}):[]}(t):[].concat(e),r=[].concat(s,[i]),a=r[0],o=r.reduce(function(e,i){var s=xi(t,i,n);return e.top=Fe(s.top,e.top),e.right=He(s.right,e.right),e.bottom=He(s.bottom,e.bottom),e.left=Fe(s.left,e.left),e},xi(t,a,n));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}function ki(t){return t.split("-")[0]}function Ti(t){return t.split("-")[1]}function Ei(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Ai(t){var e,i=t.reference,n=t.element,s=t.placement,r=s?ki(s):null,a=s?Ti(s):null,o=i.x+i.width/2-n.width/2,l=i.y+i.height/2-n.height/2;switch(r){case ai:e={x:o,y:i.y-n.height};break;case oi:e={x:o,y:i.y+i.height};break;case li:e={x:i.x+i.width,y:l};break;case ci:e={x:i.x-n.width,y:l};break;default:e={x:i.x,y:i.y}}var c=r?Ei(r):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case hi:e[c]=e[c]-(i[u]/2-n[u]/2);break;case pi:e[c]=e[c]+(i[u]/2-n[u]/2)}}return e}function Si(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function Di(t,e){return e.reduce(function(e,i){return e[i]=t,e},{})}function Ii(t,e){void 0===e&&(e={});var i=e,n=i.placement,s=void 0===n?t.placement:n,r=i.strategy,a=void 0===r?t.strategy:r,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=Si("number"!=typeof m?m:Di(m,di)),b=h===gi?"reference":gi,y=t.rects.popper,w=t.elements[f?b:h],_=Ci($e(w)?w:w.contextElement||Ke(t.elements.popper),l,u,a),x=Ve(t.elements.reference),C=Ai({reference:x,element:y,strategy:"absolute",placement:s}),k=_i(Object.assign({},y,C)),T=h===gi?k:x,E={top:_.top-T.top+v.top,bottom:T.bottom-_.bottom+v.bottom,left:_.left-T.left+v.left,right:T.right-_.right+v.right},A=t.modifiersData.offset;if(h===gi&&A){var S=A[s];Object.keys(E).forEach(function(t){var e=[li,oi].indexOf(t)>=0?1:-1,i=[ai,oi].indexOf(t)>=0?"y":"x";E[t]+=S[i]*e})}return E}var Mi={placement:"bottom",modifiers:[],strategy:"absolute"};function Ni(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return!e.some(function(t){return!(t&&"function"==typeof t.getBoundingClientRect)})}function Oi(t){void 0===t&&(t={});var e=t,i=e.defaultModifiers,n=void 0===i?[]:i,s=e.defaultOptions,r=void 0===s?Mi:s;return function(t,e,i){void 0===i&&(i=r);var s,a,o={placement:"bottom",orderedModifiers:[],options:Object.assign({},Mi,r),modifiersData:{},elements:{reference:t,popper:e},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({},r,o.options,s),o.scrollParents={reference:$e(t)?ii(t):t.contextElement?ii(t.contextElement):[],popper:ii(e)};var a,c,h=function(t){var e=yi(t);return bi.reduce(function(t,i){return t.concat(e.filter(function(t){return t.phase===i}))},[])}((a=[].concat(n,o.options.modifiers),c=a.reduce(function(t,e){var i=t[e.name];return t[e.name]=i?Object.assign({},i,e,{options:Object.assign({},i.options,e.options),data:Object.assign({},i.data,e.data)}):e,t},{}),Object.keys(c).map(function(t){return c[t]})));return o.orderedModifiers=h.filter(function(t){return t.enabled}),o.orderedModifiers.forEach(function(t){var e=t.name,i=t.options,n=void 0===i?{}:i,s=t.effect;if("function"==typeof s){var r=s({state:o,name:e,instance:u,options:n}),a=function(){};l.push(r||a)}}),u.update()},forceUpdate:function(){if(!c){var t=o.elements,e=t.reference,i=t.popper;if(Ni(e,i)){o.rects={reference:Ze(e,ri(i),"fixed"===o.options.strategy),popper:Xe(i)},o.reset=!1,o.placement=o.options.placement,o.orderedModifiers.forEach(function(t){return o.modifiersData[t.name]=Object.assign({},t.data)});for(var n=0;n<o.orderedModifiers.length;n++)if(!0!==o.reset){var s=o.orderedModifiers[n],r=s.fn,a=s.options,l=void 0===a?{}:a,d=s.name;"function"==typeof r&&(o=r({state:o,options:l,name:d,instance:u})||o)}else o.reset=!1,n=-1}}},update:(s=function(){return new Promise(function(t){u.forceUpdate(),t(o)})},function(){return a||(a=new Promise(function(t){Promise.resolve().then(function(){a=void 0,t(s())})})),a}),destroy:function(){d(),c=!0}};if(!Ni(t,e))return u;function d(){l.forEach(function(t){return t()}),l=[]}return u.setOptions(i).then(function(t){!c&&i.onFirstUpdate&&i.onFirstUpdate(t)}),u}}var Pi={passive:!0};const Li={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,i=t.instance,n=t.options,s=n.scroll,r=void 0===s||s,a=n.resize,o=void 0===a||a,l=Re(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return r&&c.forEach(function(t){t.addEventListener("scroll",i.update,Pi)}),o&&l.addEventListener("resize",i.update,Pi),function(){r&&c.forEach(function(t){t.removeEventListener("scroll",i.update,Pi)}),o&&l.removeEventListener("resize",i.update,Pi)}},data:{}};const Ri={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,i=t.name;e.modifiersData[i]=Ai({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}};var $i={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ji(t){var e,i=t.popper,n=t.popperRect,s=t.placement,r=t.variation,a=t.offsets,o=t.position,l=t.gpuAcceleration,c=t.adaptive,u=t.roundOffsets,d=t.isFixed,h=a.x,p=void 0===h?0:h,f=a.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=a.hasOwnProperty("x"),b=a.hasOwnProperty("y"),y=ci,w=ai,_=window;if(c){var x=ri(i),C="clientHeight",k="clientWidth";if(x===Re(i)&&"static"!==Ge(x=Ke(i)).position&&"absolute"===o&&(C="scrollHeight",k="scrollWidth"),s===ai||(s===ci||s===li)&&r===pi)w=oi,g-=(d&&x===_&&_.visualViewport?_.visualViewport.height:x[C])-n.height,g*=l?1:-1;if(s===ci||(s===ai||s===oi)&&r===pi)y=li,p-=(d&&x===_&&_.visualViewport?_.visualViewport.width:x[k])-n.width,p*=l?1:-1}var T,E=Object.assign({position:o},c&&$i),A=!0===u?function(t,e){var i=t.x,n=t.y,s=e.devicePixelRatio||1;return{x:Be(i*s)/s||0,y:Be(n*s)/s||0}}({x:p,y:g},Re(i)):{x:p,y:g};return p=A.x,g=A.y,l?Object.assign({},E,((T={})[w]=b?"0":"",T[y]=v?"0":"",T.transform=(_.devicePixelRatio||1)<=1?"translate("+p+"px, "+g+"px)":"translate3d("+p+"px, "+g+"px, 0)",T)):Object.assign({},E,((e={})[w]=b?g+"px":"",e[y]=v?p+"px":"",e.transform="",e))}const zi={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,i=t.options,n=i.gpuAcceleration,s=void 0===n||n,r=i.adaptive,a=void 0===r||r,o=i.roundOffsets,l=void 0===o||o,c={placement:ki(e.placement),variation:Ti(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:s,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,ji(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:l})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,ji(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}};const Fi={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach(function(t){var i=e.styles[t]||{},n=e.attributes[t]||{},s=e.elements[t];je(s)&&qe(s)&&(Object.assign(s.style,i),Object.keys(n).forEach(function(t){var e=n[t];!1===e?s.removeAttribute(t):s.setAttribute(t,!0===e?"":e)}))})},effect:function(t){var e=t.state,i={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,i.popper),e.styles=i,e.elements.arrow&&Object.assign(e.elements.arrow.style,i.arrow),function(){Object.keys(e.elements).forEach(function(t){var n=e.elements[t],s=e.attributes[t]||{},r=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:i[t]).reduce(function(t,e){return t[e]="",t},{});je(n)&&qe(n)&&(Object.assign(n.style,r),Object.keys(s).forEach(function(t){n.removeAttribute(t)}))})}},requires:["computeStyles"]};const Hi={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,i=t.options,n=t.name,s=i.offset,r=void 0===s?[0,0]:s,a=vi.reduce(function(t,i){return t[i]=function(t,e,i){var n=ki(t),s=[ci,ai].indexOf(n)>=0?-1:1,r="function"==typeof i?i(Object.assign({},e,{placement:t})):i,a=r[0],o=r[1];return a=a||0,o=(o||0)*s,[ci,li].indexOf(n)>=0?{x:o,y:a}:{x:a,y:o}}(i,e.rects,r),t},{}),o=a[e.placement],l=o.x,c=o.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[n]=a}};var Bi={left:"right",right:"left",bottom:"top",top:"bottom"};function Ui(t){return t.replace(/left|right|bottom|top/g,function(t){return Bi[t]})}var Wi={start:"end",end:"start"};function Vi(t){return t.replace(/start|end/g,function(t){return Wi[t]})}const Yi={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,n=t.name;if(!e.modifiersData[n]._skip){for(var s=i.mainAxis,r=void 0===s||s,a=i.altAxis,o=void 0===a||a,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=e.options.placement,v=ki(m),b=l||(v===m||!f?[Ui(m)]:function(t){if(ki(t)===ui)return[];var e=Ui(t);return[Vi(t),e,Vi(e)]}(m)),y=[m].concat(b).reduce(function(t,i){return t.concat(ki(i)===ui?function(t,e){void 0===e&&(e={});var i=e,n=i.placement,s=i.boundary,r=i.rootBoundary,a=i.padding,o=i.flipVariations,l=i.allowedAutoPlacements,c=void 0===l?vi:l,u=Ti(n),d=u?o?mi:mi.filter(function(t){return Ti(t)===u}):di,h=d.filter(function(t){return c.indexOf(t)>=0});0===h.length&&(h=d);var p=h.reduce(function(e,i){return e[i]=Ii(t,{placement:i,boundary:s,rootBoundary:r,padding:a})[ki(i)],e},{});return Object.keys(p).sort(function(t,e){return p[t]-p[e]})}(e,{placement:i,boundary:u,rootBoundary:d,padding:c,flipVariations:f,allowedAutoPlacements:g}):i)},[]),w=e.rects.reference,_=e.rects.popper,x=new Map,C=!0,k=y[0],T=0;T<y.length;T++){var E=y[T],A=ki(E),S=Ti(E)===hi,D=[ai,oi].indexOf(A)>=0,I=D?"width":"height",M=Ii(e,{placement:E,boundary:u,rootBoundary:d,altBoundary:h,padding:c}),N=D?S?li:ci:S?oi:ai;w[I]>_[I]&&(N=Ui(N));var O=Ui(N),P=[];if(r&&P.push(M[A]<=0),o&&P.push(M[N]<=0,M[O]<=0),P.every(function(t){return t})){k=E,C=!1;break}x.set(E,P)}if(C)for(var L=function(t){var e=y.find(function(e){var i=x.get(e);if(i)return i.slice(0,t).every(function(t){return t})});if(e)return k=e,"break"},R=f?3:1;R>0;R--){if("break"===L(R))break}e.placement!==k&&(e.modifiersData[n]._skip=!0,e.placement=k,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function qi(t,e,i){return Fe(t,He(e,i))}const Ki={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,n=t.name,s=i.mainAxis,r=void 0===s||s,a=i.altAxis,o=void 0!==a&&a,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(e,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),v=ki(e.placement),b=Ti(e.placement),y=!b,w=Ei(v),_="x"===w?"y":"x",x=e.modifiersData.popperOffsets,C=e.rects.reference,k=e.rects.popper,T="function"==typeof g?g(Object.assign({},e.rects,{placement:e.placement})):g,E="number"==typeof T?{mainAxis:T,altAxis:T}:Object.assign({mainAxis:0,altAxis:0},T),A=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,S={x:0,y:0};if(x){if(r){var D,I="y"===w?ai:ci,M="y"===w?oi:li,N="y"===w?"height":"width",O=x[w],P=O+m[I],L=O-m[M],R=p?-k[N]/2:0,$=b===hi?C[N]:k[N],j=b===hi?-k[N]:-C[N],z=e.elements.arrow,F=p&&z?Xe(z):{width:0,height:0},H=e.modifiersData["arrow#persistent"]?e.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=e.elements.arrow&&ri(e.elements.arrow),K=q?"y"===w?q.clientTop||0:q.clientLeft||0:0,Q=null!=(D=null==A?void 0:A[w])?D:0,G=O+Y-Q,J=qi(p?He(P,O+V-Q-K):P,O,p?Fe(L,G):L);x[w]=J,S[w]=J-O}if(o){var Z,X="x"===w?ai:ci,tt="x"===w?oi:li,et=x[_],it="y"===_?"height":"width",nt=et+m[X],st=et-m[tt],rt=-1!==[ai,ci].indexOf(v),at=null!=(Z=null==A?void 0:A[_])?Z:0,ot=rt?nt:et-C[it]-k[it]-at+E.altAxis,lt=rt?et+C[it]+k[it]-at-E.altAxis:st,ct=p&&rt?function(t,e,i){var n=qi(t,e,i);return n>i?i:n}(ot,et,lt):qi(p?ot:nt,et,p?lt:st);x[_]=ct,S[_]=ct-et}e.modifiersData[n]=S}},requiresIfExists:["offset"]};const Qi={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,i=t.state,n=t.name,s=t.options,r=i.elements.arrow,a=i.modifiersData.popperOffsets,o=ki(i.placement),l=Ei(o),c=[ci,li].indexOf(o)>=0?"height":"width";if(r&&a){var u=function(t,e){return Si("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:Di(t,di))}(s.padding,i),d=Xe(r),h="y"===l?ai:ci,p="y"===l?oi:li,f=i.rects.reference[c]+i.rects.reference[l]-a[l]-i.rects.popper[c],g=a[l]-i.rects.reference[l],m=ri(r),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]=((e={})[C]=x,e.centerOffset=x-_,e)}},effect:function(t){var e=t.state,i=t.options.element,n=void 0===i?"[data-popper-arrow]":i;null!=n&&("string"!=typeof n||(n=e.elements.popper.querySelector(n)))&&wi(e.elements.popper,n)&&(e.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Gi(t,e,i){return void 0===i&&(i={x:0,y:0}),{top:t.top-e.height-i.y,right:t.right-e.width+i.x,bottom:t.bottom-e.height+i.y,left:t.left-e.width-i.x}}function Ji(t){return[ai,li,oi,ci].some(function(e){return t[e]>=0})}const Zi={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,i=t.name,n=e.rects.reference,s=e.rects.popper,r=e.modifiersData.preventOverflow,a=Ii(e,{elementContext:"reference"}),o=Ii(e,{altBoundary:!0}),l=Gi(a,n),c=Gi(o,s,r),u=Ji(l),d=Ji(c);e.modifiersData[i]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}};var Xi=Oi({defaultModifiers:[Li,Ri,zi,Fi,Hi,Yi,Ki,Qi,Zi]});const tn={"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 en(t,e){return t.getAttribute(e)||t.getAttribute("data-aui-"+e)}function nn(t){return en(t,"alignment")||"right middle"}function sn(t){let[e,i]=nn(t).split(" ");return{side:e,snap:i}}function rn(t){let e=function(t){let e=en(t,"alignment-container")||window;return"string"==typeof e&&(e=document.querySelector(e)),e}(t),i="left";if(e&&e!==window&&e!==document||(e=document.documentElement),e&&e.nodeType&&e.nodeType===Node.ELEMENT_NODE){let n=e.getBoundingClientRect();t.getBoundingClientRect().left-n.left>(n.right-n.left)/2&&(i="right")}return i}function an(t,e){const i=sn(t);let n;return i.snap&&"auto"!==i.snap?n=function(t){const e=nn(t);return tn[e]||"right"}(t):(i.snap=rn(e),n="submenu"===i.side?tn[("right"===i.snap?"left":"right")+" top"]:tn[`${i.side} ${i.snap}`]),n}const on={auto:[],top:["top","bottom"],right:["right","left"],bottom:["bottom","top"],left:["left","right"]};function ln(t,e,i={}){const n=sn(t),s=an(t,e),r=on[s.split("-")[0]],a=e.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:r,boundary:a||(i.hasOwnProperty("flipContainer")?i.flipContainer:"clippingParents")}},{name:"preventOverflow",enabled:!i.hasOwnProperty("preventOverflow")||i.preventOverflow,options:{padding:0,escapeWithReference:!1,rootBoundary:a?"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:t})=>{t.elements.popper&&t.elements.popper.setAttribute("x-placement",t.placement)}},{name:"onUpdate",enabled:i.hasOwnProperty("onUpdate"),phase:"afterWrite",effect:({state:t,name:e})=>{t.modifiersData[`${e}#persistent`]={enabled:!0,fn:i.onUpdate}},fn:({state:t,name:e})=>{const i=t.modifiersData[`${e}#persistent`];return i.enabled&&i.fn(),t}},{name:"onEvents",enabled:i.hasOwnProperty("onEvents"),phase:"afterWrite",effect:({state:t,name:e})=>{t.modifiersData[`${e}#persistent`]={fn:i.onEvents}},fn:({state:t,name:e})=>{const i=t.modifiersData[`${e}#persistent`];return this._triggerOnEvents&&(this._eventListenersEnabled?i.fn.enabled&&i.fn.enabled():i.fn.disabled&&i.fn.disabled(),this._triggerOnEvents=!1),t}}];a&&e.ownerDocument!=t.ownerDocument&&o.push({name:"iframeOffset",enabled:!0,fn(t){const e=a.getBoundingClientRect(),i=window.getComputedStyle(a),n=(t,e)=>t+e,s=t=>t.map(parseFloat).filter(Boolean).reduce(n,0),r=s([e.top,i.paddingTop,i.borderTop]),o=s([e.left,i.paddingLeft,i.borderLeft]);return t.offsets.reference.left+=o,t.offsets.reference.top+=r,t.offsets.popper.left+=o,t.offsets.popper.top+=r,t}});const l={placement:s,strategy:i.hasOwnProperty("positionFixed")&&!i.positionFixed?"absolute":"fixed",modifiers:o,onFirstUpdate:i.onCreate};this.popper=Xi(e,t,l),function(t,e,i){const n="aui-alignment-side-"+e,s="aui-alignment-snap-"+i;t.classList.contains(n)||t.classList.add(n),t.classList.contains(s)||t.classList.add(s)}(t,n.side,n.snap)}ln.prototype={destroy(){return this.popper.destroy(),this},changeTarget(t){const e=t.jquery?t[0]:t;return e&&e!==this.popper.state.elements.reference&&(this.popper.state.elements.reference=e,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(t){let e=new i.Deferred;return t?setTimeout(()=>{t.parentElement||e.resolve()},12):e.reject(),e.promise()}var dn,hn,pn=0;function fn(t){if(dn=pn+++"",hn=t?t+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(t){return t.hasAttribute("hidden")||t.classList.contains("hidden")}function vn(t,e){t.setAttribute("aria-expanded",!!e),t.classList[e?"add":"remove"]("active","aui-dropdown2-active")}var bn="unloaded",yn="loading",wn="error";function _n(t,e){Z(t).set("loading-state","success"),t.innerHTML=function(t){return t.map(function(t){var e=t.items.map(function(t){function e(e){return t[e]?`${e} ="true"`:""}function i(e){return t[e]?`${e}="${t[e]}"`:""}var n="aui-item-"+t.type;return`\n <${n} ${i("for")} ${i("href")} ${e("interactive")}\n ${e("checked")} ${e("disabled")} ${e("hidden")}>\n ${D(t.content)}\n </${n}>`}).join("");return`\n <aui-section ${t.label?`label="${t.label}"`:""}>\n ${e}\n </aui-section>`}).join("\n")}(e),J.init(t)}function xn(t){Z(t).set("loading-state",wn),Z(t).set("hasErrorBeenShown",t.isVisible()),t.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(t){t.src&&Z(t).get("loading-state")!==yn&&(!function(t){Z(t).set("loading-state",yn),Z(t).set("hasErrorBeenShown",!1),et(t,function(t){t.setAttribute("aria-busy","true")}),t.innerHTML=`\n <div class="aui-dropdown-loading">\n <aui-spinner size="small"></aui-spinner> ${I18n.getText("aui.dropdown.async.loading")}\n </div>\n `}(t),i.ajax(t.src).done(function(e,i,n){200===n.status?_n(t,e):xn(t)}).fail(function(){xn(t)}).always(function(){!function(t){et(t,function(t){t.setAttribute("aria-busy","false")})}(t)}))}function kn(t,e){return i(t).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(e).children('a, button, [role="checkbox"], [role="menuitemcheckbox"], [role="radio"], [role="menuitemradio"]')}function Tn(t){return kn(t,()=>!0)}function En(t){return kn(t,(t,e)=>!mn(e))}function An(t){Tn(t).each((t,e)=>{return(i=e).setAttribute("tabindex","-1"),void((i.classList.contains("aui-dropdown2-disabled")||mn(i.parentElement))&&i.setAttribute("aria-disabled","true"));var i})}function Sn(t){t._auiAlignment&&(t._auiAlignment.destroy(),delete t._auiAlignment)}function Dn(t,e){var n=e&&e.hasSubmenu&&e.hasSubmenu(),s="submenu auto"===t.getAttribute("data-aui-alignment");!n&&s&&function(t){var e=i(t),n=e.data("previous-data-aui-alignment");n?t.setAttribute("data-aui-alignment",n):t.removeAttribute("data-aui-alignment");e.removeData("previous-data-aui-alignment"),e.data("had-data-aui-alignment-static")||t.removeAttribute("data-aui-alignment-static");e.removeData("had-data-aui-alignment-static")}(t);var r=t.hasAttribute("data-aui-alignment");n&&!s?(!function(t){var e=i(t);t.hasAttribute("data-aui-alignment")&&e.data("previous-data-aui-alignment",t.getAttribute("data-aui-alignment"));e.data("had-data-aui-alignment-static",t.hasAttribute("data-aui-alignment-static"))}(t),t.setAttribute("data-aui-alignment","submenu auto"),t.setAttribute("data-aui-alignment-static",!0)):r||(t.setAttribute("data-aui-alignment","bottom auto"),t.setAttribute("data-aui-alignment-static",!0)),Sn(t),t._auiAlignment=new cn(t,e,{flip:!1,positionFixed:!1,preventOverflow:!1,offset:e.hasSubmenu&&e.hasSubmenu()?[-3,0]:[0,3]}),t._auiAlignment.enable()}i(document).on("mousedown",".aui-dropdown2-trigger",function(){this.hasAttribute("resolved")||(J.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(t){const e=i(t.currentTarget);if(e.is(".aui-dropdown2-active"))return;if(e.closest(".aui-dropdown2").length)return;const n=e.closest(".aui-dropdown2-trigger-group"),s=n.find(".aui-dropdown2-active");s.length&&e.is(".aui-dropdown2-trigger")&&(s.blur(),e.trigger("aui-button-invoke"),t.preventDefault());const r=n.find(":focus");r.length&&e.is(".aui-dropdown2-trigger")&&r.blur()});var In=!1;function Mn(){In=!0}function Nn(t){Ot(t),t.addEventListener("aui-layer-show",function(e){t===e.target&&(!function(t){var e=i(t);["disabled","interactive","active","checked"].forEach(t=>{e.find(`.${t}`).addClass(`aui-dropdown2-${t}`)})}(t),An(t),i(t).trigger("aui-dropdown2-show"),et(t,function(e){vn(e,!0),t._returnTo=function(t,e){var i=e.getAttribute("data-dropdown2-hide-location");return document.getElementById(i)||t.parentNode}(t,e)}))}),t.addEventListener("aui-layer-hide",function(e){t===e.target&&(i(t).trigger("aui-dropdown2-hide"),t._auiAlignment&&t._auiAlignment.destroy(),t._returnTo&&t.parentNode&&t.parentNode!==t._returnTo&&t._returnTo.appendChild(t),t.classList.remove("aui-dropdown2-in-header","aui-dropdown2-in-buttons"),Tn(t).removeClass("active aui-dropdown2-active"),et(t,function(t){var e;vn(t,!1),e=!0===In,In=!1,e&&t.focus()}),delete t.isSubmenu)})}function On(t){var e=i(t);function n(e){return i(e).closest(".aui-dropdown2, aui-dropdown-menu").get(0)===t}e.on("keydown",function(e){n(e.target)&&(e.keyCode===Q.DOWN?(t.focusNext(),e.preventDefault()):e.keyCode===Q.UP?(t.focusPrevious(),e.preventDefault()):e.keyCode===Q.LEFT?t.isSubmenu&&(Mn(),t.hide(),e.preventDefault()):e.keyCode===Q.ESCAPE?Mn():e.keyCode===Q.TAB&&(Mn(),t.hideAll(!1)))});e.on("click keydown",'a, button, [role="menuitem"], [role="menuitemcheckbox"], [role="checkbox"], [role="menuitemradio"], [role="radio"]',function(e){if(!n(e.target))return;const s=e.currentTarget,r=e.keyCode,a=r===Q.ENTER,o=r===Q.SPACE;a&&i(s).is("a[href], button")||"click"!==e.type&&!a&&!o||function(e){const i=e.currentTarget;if("true"===i.getAttribute("aria-disabled"))return void e.preventDefault();e.currentTarget.hasSubmenu&&e.currentTarget.hasSubmenu()||i.classList.contains("aui-dropdown2-interactive")||t.hideAll(!0)}(e)}),e.on("mouseenter",'a, button, [role="menuitem"], [role="menuitemcheckbox"], [role="checkbox"], [role="menuitemradio"], [role="radio"]',function(e){if(!n(e.target))return;let s=i(Ot(t).above()).get(0);for(;s&&s.isDropdown&&s!==t;){const t=s.getAttribute("id"),n=e.target.getAttribute("aria-controls"),r=Ot(s).above();n!==t&&Ot(s).hide(),s=i(r).get(0)}})}function Pn(t){t.classList.add("aui-dropdown2"),t.setAttribute("tabindex","-1"),t.hasAttribute("data-container")&&(t.setAttribute("data-aui-alignment-container",t.getAttribute("data-container")),t.removeAttribute("data-container")),Nn(t),On(t),i(t).on("click keydown",".aui-dropdown2-checkbox",function(t){if("click"===t.type||t.keyCode===Q.ENTER||t.keyCode===Q.SPACE){let e=this;if(t.isDefaultPrevented())return;e.isInteractive()&&t.preventDefault(),e.isEnabled()&&(e.isChecked()?e.uncheck():e.check())}}),i(t).on("click keydown",".aui-dropdown2-radio",function(t){if("click"===t.type||t.keyCode===Q.ENTER||t.keyCode===Q.SPACE){let e=this;if(t.isDefaultPrevented())return;e.isInteractive()&&t.preventDefault(),this.isEnabled()&&!1===this.isChecked()&&(i(e).closest("ul,[role=group]").find(".aui-dropdown2-checked").not(this).each(function(){this.uncheck()}),e.check())}})}i(window).on("resize",(0,pe.debounce)(function(){i(".aui-dropdown2").each(function(t,e){J.init(e),e.isVisible()&&e.hide()})},1e3,!0));var Ln={toggle:function(t){this.isVisible()?this.hide():this.show(t)},show:function(t){const e=this;return et(e,t=>{vn(t,!1)}),t&&t.currentTarget&&t.currentTarget.classList.contains("aui-dropdown2-trigger")&&tt(e,t.currentTarget),Ot(e).show(),et(e,function(t){vn(t,!0),Dn(e,t)}),setTimeout(()=>function(t,e={}){if(e&&e.type&&-1===e.type.indexOf("mouse")){const i=e.type.indexOf("key")>-1;if(t.isSubmenu)t.focusItem(0);else if(i)if(e.keyCode===Q.UP){const e=En(t);e&&e.length&&t.focusItem(e.length-1)}else t.focusItem(0);else t.focus()}}(e,t),0),this},hide:function(){return Ot(this).hide(),this},hideAll:function(t=!0){const e=function(t){let e=Ot(t);for(;;){const t=e.below();if(!t)break;if(!t.get(0).isDropdown)break;e=Ot(t)}return e}(this);return e.isVisible()?(e.hide(),t&&et(e.el,t=>{setTimeout(()=>{t.focus()},0),tt(e.el,null)}),this):this},focusNext:function(){var t,e=En(this),i=document.activeElement;e.last()[0]!==i?(t=e.toArray().indexOf(i),this.focusItem(e.get(t+1))):this.focusItem(0)},focusPrevious:function(){var t,e=En(this),i=document.activeElement;e.first()[0]!==i?(t=e.toArray().indexOf(i),this.focusItem(e.get(t-1))):this.focusItem(e.length-1)},focusItem:function(t){const e=En(this);"number"==typeof t&&(t=e.get(t));const n=i(t);n.focus(),e.removeClass("active aui-dropdown2-active"),n.addClass("active aui-dropdown2-active")},isVisible:function(){return Ot(this).isVisible()},isDropdown:!0},Rn={created:function(t){var e=t.children[0];e.setAttribute("aria-disabled","true"),e.classList.add("disabled","aui-dropdown2-disabled")},removed:function(t){var e=t.children[0];e.setAttribute("aria-disabled","false"),e.classList.remove("disabled","aui-dropdown2-disabled")}},$n={created:function(t){t.children[0].classList.add("interactive","aui-dropdown2-interactive")},removed:function(t){t.children[0].classList.remove("interactive","aui-dropdown2-interactive")}},jn={created:function(t){var e=t.children[0];e.classList.add("checked","aui-dropdown2-checked"),e.setAttribute("aria-checked",!0),t.dispatchEvent(new vt("change",{bubbles:!0}))},removed:function(t){var e=t.children[0];e.classList.remove("checked","aui-dropdown2-checked"),e.setAttribute("aria-checked",!1),t.dispatchEvent(new vt("change",{bubbles:!0}))}},zn={created:function(t){Rn.created(t)},removed:function(t){Rn.removed(t)}},Fn=function(t){return{fallback:function(e,i){e.children[0].setAttribute(t,i.newValue)},removed:function(e){e.children[0].removeAttribute(t)}}};const Hn=function(t=""){return t.split(" ").map(t=>t.trim()).filter(t=>t)},Bn=J("aui-item-link",{template:Yt()('<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(t){var e=t.children[0];e.setAttribute("aria-controls",t.getAttribute("for")),i(e).addClass("aui-dropdown2-sub-trigger")},updated:function(t){t.children[0].setAttribute("aria-controls",t.getAttribute("for"))},removed:function(t){var e=t.children[0];e.removeAttribute("aria-controls"),i(e).removeClass("aui-dropdown2-sub-trigger")}},"extra-classes":function(t,e){const i=t.children[0];e.oldValue&&i.classList.remove(...Hn(e.oldValue)),e.newValue&&i.classList.add(...Hn(e.newValue))}}}),[Un,Wn]=["checkbox","radio"].map(t=>J(`aui-item-${t}`,{template:Yt()(`<span role="menuitem${t}" class="aui-dropdown2-${t}" tabindex="-1"><content></content></span>`),attributes:{"item-id":Fn("id"),disabled:Rn,interactive:$n,checked:jn,hidden:zn}})),Vn=J("aui-section",{template:Yt()('\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(t,e){const i=gn();var n=t.children[0],s=t.children[1];n.textContent=e.newValue,n.id=i,s.setAttribute("aria-labelledby",i)}},created:function(t){t.classList.add("aui-dropdown2-section")}}),Yn=J("aui-dropdown-menu",{created:function(t){t.setAttribute("role","menu"),t.className="aui-dropdown2",Ot(t),Z(t).set("loading-state",bn),J.init(t)},detached:function(t){un(t).then(()=>Sn(t))},attributes:{src:{}},prototype:Ln,events:{"aui-layer-show":function(t){var e=Z(t).get("loading-state")===bn,i=Z(t).get("hasErrorBeenShown");(e||i)&&Cn(t),Z(t).get("loading-state")===wn&&Z(t).set("hasErrorBeenShown",!0)}}});J("aui-dropdown2",{type:J.type.CLASSNAME,created:Pn,prototype:Ln}),J("data-aui-dropdown2",{type:J.type.ATTRIBUTE,created:Pn,prototype:Ln}),J("aui-dropdown2-trigger",{type:J.type.CLASSNAME,created:function(t){let e=t.getAttribute("aria-controls");function n(n,s=!1){if(n.currentTarget!==t)return;if(n.preventDefault(),!t.isEnabled())return;const r=document.getElementById(e);if(!r)return void m('Could not find a dropdown with id "'+e+'" in the DOM.');const a=i(t);return a.parent().hasClass("aui-buttons")&&r.classList.add("aui-dropdown2-in-buttons"),a.parents().hasClass("aui-header")&&r.classList.add("aui-dropdown2-in-header"),s?r.show(n):r.toggle(n),r.isSubmenu=t.hasSubmenu(),r}e||(e=t.getAttribute("aria-owns"),e?(t.removeAttribute("aria-owns"),t.setAttribute("aria-controls",e)):m('Dropdown triggers need either a "aria-owns" or "aria-controls" attribute')),t.setAttribute("aria-haspopup",!0),t.setAttribute("aria-expanded",!1),"A"===t.nodeName&&!t.href&&t.setAttribute("href",`#${e}`),i(t).on("aui-button-invoke",n).on("click",n).on("keydown",function(e){if(e.currentTarget!==t)return;const i=e.keyCode===Q.ENTER||e.keyCode===Q.SPACE,s=e.keyCode===Q.RIGHT&&t.hasSubmenu(),r=(e.keyCode===Q.UP||e.keyCode===Q.DOWN)&&!t.hasSubmenu();i?n(e):(r||s)&&n(e,document.activeElement===t)}).on("mouseenter",function(i){if(i.currentTarget!==t)return;if(i.preventDefault(),!t.isEnabled())return;const n=document.getElementById(e);if(n)return function(t){var e=Z(t).get("loading-state")===bn,i=Z(t).get("hasErrorBeenShown");(e||i&&!t.isVisible())&&Cn(t)}(n),t.hasSubmenu()&&(n.show(i),n.isSubmenu=t.hasSubmenu()),n;m('Could not find a dropdown with id "'+e+'" 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")}}}),J("aui-dropdown2-sub-trigger",{type:J.type.CLASSNAME,created:function(t){t.classList.add("aui-dropdown2-trigger"),J.init(t)}}),["checkbox","radio"].map(t=>J(`aui-dropdown2-${t}`,{type:J.type.CLASSNAME,created:function(e){const i="true"===e.getAttribute("aria-checked")||e.classList.contains("checked")||e.classList.contains("aui-dropdown2-checked");e.classList[i?"add":"remove"]("checked","aui-dropdown2-checked"),e.setAttribute("aria-checked",i),e.setAttribute("tabindex","0"),Le&&e.setAttribute("role",`menuitem${t}`)},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-${t}`&&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-${t}`&&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=t=>{const e=i(`#${t.attr("aria-controls")}`),n=e.parent().is(t),s=n?t.find(".aui-expander-short-content"):null;return e.attr("aria-expanded")&&(qn["aria-expanded"](),"true"===e.attr("aria-expanded")&&e.addClass("expanded"),e.removeAttr("aria-expanded")),{$content:e,isTriggerParent:n,$shortContent:s,isExpanded:e.hasClass("expanded"),height:e.css("min-height"),isCollapsible:!1!==t.data("collapsible"),textReplacement:t.attr("data-replace-text")}};const Qn=(t,e)=>{if(!e)return;const i=t.data("replace-selector");if(i){qn["replace-selector"]();const n=t.find(i);return t.attr("data-replace-text",n.text()),void n.text(e)}const n=t.find(":not(:has(*)):first"),s=n.length?n:t;t.attr("data-replace-text",s.text()),s.text(e)},Gn={"aui-expander-invoke":function(t){const e=i(t.currentTarget),{isCollapsible:n,isExpanded:s}=Kn(e);s&&n?e.trigger("aui-expander-collapse"):e.trigger("aui-expander-expand")},"aui-expander-expand":function(t){!function(t){const{$content:e,isTriggerParent:i,$shortContent:n,textReplacement:s}=Kn(t);t.attr("aria-expanded","true"),e.addClass("expanded"),e.removeAttr("hidden"),Qn(t,s),i&&n.hide(),t.trigger("aui-expander-expanded")}(i(t.currentTarget))},"aui-expander-collapse":function(t){!function(t){const{$content:e,isTriggerParent:i,$shortContent:n,textReplacement:s}=Kn(t);Qn(t,s),t.attr("aria-expanded","false"),e.removeClass("expanded"),i&&n.show(),0===e.outerHeight()&&e.attr("hidden",""),t.trigger("aui-expander-collapsed")}(i(t.currentTarget))},"click.aui-expander":function(t){i(t.currentTarget).trigger("aui-expander-invoke",t.currentTarget)}};i(document).on(Gn,".aui-expander-trigger"),i(document).ready(function(){i(".aui-expander-trigger").each(function(){!function(t){const{$content:e,isTriggerParent:i,isExpanded:n}=Kn(t);t.data("replace-selector")&&qn["replace-selector"](),e.attr("aria-expanded")&&(qn["aria-expanded"](),"true"===e.attr("aria-expanded")&&e.addClass("expanded"),e.removeAttr("aria-expanded")),(i?t.find(".aui-expander-short-content"):null)&&qn["short-content"](),0===e.outerHeight()&&!n&&e.attr("hidden",""),t.attr("aria-expanded",n?"true":"false")}(i(this))})});function Jn(t,e,n){i(t||".aui-message.aui-remove-on-hide").each(function(){Xn(i(this),e,n)})}function Zn(t){i(t||"div.aui-message.closeable").each(function(){const t=i(this),e=t.find(Te),n=e.length>0?e.first():i(Ee);var s;t.addClass("closeable"),t.append(n),(s=t).unbind("click.aui-message").unbind("keydown.aui-message"),s.on("click.aui-message",Te,function(t){i(t.target).closest(".aui-message").closeMessage()}).on("keydown.aui-message",Te,function(t){t.which!==Q.ENTER&&t.which!==Q.SPACE||(i(t.target).closest(".aui-message").closeMessage(),t.preventDefault())})})}function Xn(t,e,n){e=void 0!==e?e:5e3,n=void 0!==n?n:500,i(t||"div.aui-message.fadeout").each(function(){const t=i(this);let s=!1,r=!1;function a(){t.stop(!0,!1).delay(e).fadeOut(n,function(){t.closeMessage()})}function o(){t.stop(!0,!1).fadeTo(100,1)}function l(){return!s&&!r}t.focusin(function(){s=!0,o()}).focusout(function(){s=!1,l()&&a()}).hover(function(){r=!0,o()},function(){r=!1,l()&&a()}),a()})}const ts={setup:function(){Jn(),Zn(),Xn()},makeRemoveOnHide:Jn,makeCloseable:Zn,makeFadeout:Xn,createMessage:function(t){this[t]=function(e,n){n||(n=e,e="#aui-message-bar"),n.closeable=null!==n.closeable&&!1!==n.closeable,n.title=(n.title||"").toString().trim();let s=function(t,e){const{id:n,closeable:s,removeOnHide:r,fadeout:a,title:o,body:l}=t,c=function(t,e){const{a11yTypeLabel:i}=t;if(""===i)return"";if(null!=i)return i;if(null==i)switch(e){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 ${e}`)}}(t,e),u=c?`<strong hidden>${c}: </strong>`:"",d=n?`${n}-title`:"",h=o?`<p class="title" ${d?`id="${d}" aria-hidden="true"`:""}>${u}<strong>${D(o)}</strong></p>`:"",p=`<div class="aui-message" role="note" ${d?`aria-labelledby="${d}"`:""}>${h}</div>`,f=i(p).append(i.parseHTML(l||"")).addClass(r?"aui-remove-on-hide":"").addClass(s?"closeable":"").addClass(a?"fadeout":"").addClass(`aui-message-${e}`);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,t);return function(t,e,i){"prepend"===e?t.prependTo(i):"before"===e?t.insertBefore(i):"after"===e?t.insertAfter(i):t.appendTo(i)}(s,n.insert,e),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."),Jn(s,n.delay,n.duration)),n.closeable&&Zn(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 t=i(this);t.hasClass("aui-message")&&(t.hasClass("closeable")||t.hasClass("aui-remove-on-hide"))&&(t.stop(!0),t.trigger("messageClose",[this]),t.remove(),i(document).trigger("aui-message-close",[this]))},ts.createMessage("generic"),ts.createMessage("error"),ts.createMessage("warning"),ts.createMessage("info"),ts.createMessage("confirmation"),ts.createMessage("change"),ts.createMessage("success"),ts.createMessage("hint");const es=J("aui-message",{created:function(t){const e=t.innerHTML,i=t.getAttribute("type")||"info";t.innerHTML="",ts[i](t,{body:e,id:t.getAttribute("id"),a11yTypeLabel:t.getAttribute("a11yTypeLabel"),removeOnHide:t.getAttribute("removeOnHide"),closeable:t.getAttribute("closeable"),delay:t.getAttribute("delay"),duration:t.getAttribute("duration"),fadeout:t.getAttribute("fadeout"),title:t.getAttribute("title")}),t.setAttribute("role","none")}});i(function(){ts.setup()}),j(ts,"makeCloseable",{extraInfo:'Use the "closeable" option in the constructor instead. Docs: https://aui.atlassian.com/latest/docs/messages.html'}),j(ts,"createMessage",{extraInfo:"Use the provided convenience methods instead e.g. messages.info(). Docs: https://aui.atlassian.com/latest/docs/messages.html"}),j(ts,"makeRemoveOnHide",{extraInfo:"Use of the `makeRemoveOnHide` option is deprecated due to accessibility reasons. Docs: https://aui.atlassian.com/latest/docs/messages.html"}),j(ts,"makeFadeout",{extraInfo:"Use of the `fadeout` option is deprecated due to accessibility reasons. Docs: https://aui.atlassian.com/latest/docs/messages.html"}),j(ts,"generic",{extraInfo:"use the messages.info() method instead. Docs: https://aui.atlassian.com/latest/docs/messages.html"}),j(ts,"hint",{extraInfo:"use the messages.info() method instead. Docs: https://aui.atlassian.com/latest/docs/messages.html"}),j(ts,"success",{extraInfo:"use the messages.confirmation() method instead. Docs: https://aui.atlassian.com/latest/docs/messages.html"}),l("messages",ts);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 rs(t){const e=(0,pe.defaults)(t,ss);e.title=(e.title||"").toString().trim();const n=function({body:t,title:e,close:n,type:s,ariaLive:r,ariaLabel:a,ariaDescription:o}){const l=`<div class="aui-message">${e?`<p class="title"><strong>${D(e)}</strong></p>`:""}</div>`;a||(a=function(t){switch(t){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(t||"")).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":D(a),"aria-hidden":"false","aria-live":D(r),role:d,...u?{"data-aui-focus-selector":is.split(", ").map(t=>`.aui-message ${t}`).join(", "),"data-aui-focus":"true"}:{},...o?{"aria-description":D(o)}:{}}).append(c)}(e);return function(t){const e=t[0];e.close=function(){os(t)}}(n),"auto"===e.close?(as(n),"alert"===n.attr("role")&&function(t,e){t.find(".aui-message").addClass("aui-will-close"),setTimeout(function(){t[0].close()},e)}(n,e.duration)):"manual"===e.close&&as(n),function(){const t=ls();if(t){const e=t.querySelectorAll(".aui-flag:not([open])");Array.from(e).map(t=>t.parentNode.removeChild(t))}else i("body").prepend('<div id="'+ns+'"></div>')}(),function(t){const e=ls();t.appendTo(e),U(t),t.removeAttr("hidden").attr("open","")}(n),setTimeout(function(){"alertdialog"===n.attr("role")&&ft.global.enter(n)},0),n.get(0)}function as(t){const e=i(Ee);return e.on("click",function(){os(t)}),e.on("keypress",function(e){e.which!==Q.ENTER&&e.which!==Q.SPACE||(os(t),e.preventDefault())}),t.find(".aui-message").append(e)[0]}function os(t){const e=t.get(0);return"alertdialog"===t.attr("role")&&ft.global.exit(t),e.removeAttribute("open"),e.setAttribute("inert",""),e.setAttribute("aria-hidden",!0),e.style.display="none",e.dispatchEvent(new vt("aui-flag-close",{bubbles:!0})),e}function ls(){return document.getElementById(ns)}G("aui/flag",rs),l("flag",rs);const cs=rs;
104
+ !function(t){"use strict";t.extend({tablesorter:new function(){var e=this;function i(){var t=arguments[0],e=arguments.length>1?Array.prototype.slice.call(arguments):t;"undefined"!=typeof console&&void 0!==console.log?console[/error/i.test(t)?"error":/warn/i.test(t)?"warn":"log"](e):alert(e)}function n(t,e){i(t+" ("+((new Date).getTime()-e.getTime())+"ms)")}function s(t){for(var e in t)return!1;return!0}function r(i,n,s){if(!n)return"";var r,a=i.config,o=a.textExtraction||"",l="";return l="basic"===o?t(n).attr(a.textAttribute)||n.textContent||n.innerText||t(n).text()||"":"function"==typeof o?o(n,i,s):"function"==typeof(r=e.getColumnData(i,o,s))?r(n,i,s):n.textContent||n.innerText||t(n).text()||"",t.trim(l)}function a(t,n,s,a){for(var o,l=e.parsers.length,c=!1,u="",d=!0;""===u&&d;)n[++s]?(u=r(t,c=n[s].cells[a],a),t.config.debug&&i("Checking if value was empty on row "+s+", column: "+a+': "'+u+'"')):d=!1;for(;--l>=0;)if((o=e.parsers[l])&&"text"!==o.id&&o.is&&o.is(u,t,c))return o;return e.getParserById("text")}function o(t){var s,r,o,l,c,u,d,h,p,f,g=t.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")),r={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=e.getColumnData(t,g.headers,l),p=e.getParserById(e.getData(c,u,"extractor")),h=e.getParserById(e.getData(c,u,"sorter")),d="false"===e.getData(c,u,"parser"),g.empties[l]=(e.getData(c,u,"empty")||g.emptyTo||(g.emptyToBottom?"bottom":"top")).toLowerCase(),g.strings[l]=(e.getData(c,u,"string")||g.stringTo||"max").toLowerCase(),d&&(h=e.getParserById("no-parser")),p||(p=!1),h||(h=a(t,s,-1,l)),g.debug&&(b+="column:"+l+"; extractor:"+p.id+"; parser:"+h.id+"; string:"+g.strings[l]+"; empty: "+g.empties[l]+"\n"),r.parsers[l]=h,r.extractors[l]=p;v+=r.parsers.length?y:1}g.debug&&(i(b||"No parsers detected"),n("Completed detecting parsers",f)),g.parsers=r.parsers,g.extractors=r.extractors}function l(s){var a,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&&e.isProcessing(s,!0),h=0;h<w.length;h++)if(b=[],a=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=t(w[h].rows[u]),[new Array(y.columns)],f=[],p.hasClass(y.cssChildRow)&&0!==u)o=a.normalized.length-1,a.normalized[o][y.columns].$row=a.normalized[o][y.columns].$row.add(p),p.prev().hasClass(y.cssChildRow)||p.prev().addClass(e.css.cssHasChild),v.child[o]=t.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=r(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,a.normalized.push(f)}a.colMax=b,y.totalRows+=a.normalized.length}y.showProcessing&&e.isProcessing(s),y.debug&&n("Building cache for "+m+" rows",g)}function c(i,r){var a,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=t(g[d])).length&&!l.hasClass(p.cssInfoBlock)){for(c=e.processTbody(i,l,!0),o=(a=v[d].normalized).length,u=0;u<o;u++)m.push(a[u][p.columns].$row),p.appender&&(!p.pager||p.pager.removeRows&&f.pager_removeRows||p.pager.ajax)||c.append(a[u][p.columns].$row);e.processTbody(i,c,!1)}p.appender&&p.appender(i,m),p.debug&&n("Rebuilt table",h),r||p.appender||e.applyWidget(i),i.isUpdating&&p.$table.trigger("updateComplete",i)}function u(t){return/^d/i.test(t)||1===t}function d(s){var r,a,o,l,c,d,h,f=s.config;f.headerList=[],f.headerContent=[],f.debug&&(h=new Date),f.columns=e.computeColumnIndex(f.$table.children("thead, tfoot").children("tr")),l=f.cssIcon?'<i class="'+(f.cssIcon===e.css.icon?e.css.icon:f.cssIcon+" "+e.css.icon)+'"></i>':"",f.$headers=t(s).find(f.selectorHeaders).each(function(i){a=t(this),r=e.getColumnData(s,f.headers,i,!0),f.headerContent[i]=t(this).html(),""!==f.headerTemplate&&(c=f.headerTemplate.replace(/\{icon\}/g,l).replace(/\{content\}/g,t(this).html()),f.onRenderTemplate&&(o=f.onRenderTemplate.apply(a,[i,c]))&&"string"==typeof o&&(c=o),t(this).html('<div class="'+e.css.headerIn+'">'+c+"</div>")),f.onRenderHeader&&f.onRenderHeader.apply(a,[i]),this.column=parseInt(t(this).attr("data-column"),10),this.order=u(e.getData(a,r,"sortInitialOrder")||f.sortInitialOrder)?[1,0,2]:[0,1,2],this.count=-1,this.lockedOrder=!1,void 0!==(d=e.getData(a,r,"lockedOrder")||!1)&&!1!==d&&(this.order=this.lockedOrder=u(d)?[1,1,1]:[0,0,0]),a.addClass(e.css.header+" "+f.cssHeader),f.headerList[i]=this,a.parent().addClass(e.css.headerRow+" "+f.cssHeaderRow).attr("role","row"),f.tabIndex&&a.attr("tabindex",0)}).attr({scope:"col",role:"columnheader"}),p(s),f.debug&&(n("Built headers:",h),i(f.$headers))}function h(t,e,i){var n=t.config;n.$table.find(n.selectorRemove).remove(),o(t),l(t),y(n.$table,e,i)}function p(i){var n,s,r,a=i.config;a.$headers.each(function(o,l){s=t(l),r=e.getColumnData(i,a.headers,o,!0),n="false"===e.getData(l,r,"sorter")||"false"===e.getData(l,r,"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,r,a=i.config,o=a.sortList,l=o.length,c=e.css.sortNone+" "+a.cssNone,u=[e.css.sortAsc+" "+a.cssAsc,e.css.sortDesc+" "+a.cssDesc],d=["ascending","descending"],h=t(i).find("tfoot tr").children().add(a.$extraHeaders).removeClass(u.join(" "));for(a.$headers.removeClass(u.join(" ")).addClass(c).attr("aria-sort","none"),s=0;s<l;s++)if(2!==o[s][1]&&(n=a.$headers.not(".sorter-false").filter('[data-column="'+o[s][0]+'"]'+(1===l?":last":""))).length){for(r=0;r<n.length;r++)n[r].sortDisabled||n.eq(r).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]])}a.$headers.not(".sorter-false").each(function(){var i=t(this),n=this.order[(this.count+1)%(a.sortReset?3:2)],s=i.text()+": "+e.language[i.hasClass(e.css.sortAsc)?"sortAsc":i.hasClass(e.css.sortDesc)?"sortDesc":"sortNone"]+e.language[0===n?"nextAsc":1===n?"nextDesc":"nextNone"];i.attr("aria-label",s)})}function g(t,e){return t&&t[e]&&t[e].type||""}function m(i,n,s){if(i.isUpdating)return setTimeout(function(){m(i,n,s)},50);var r,a,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&&(a=n,d.$headers.each(function(){this===a||!h&&t(this).is("."+e.css.sortDesc+",."+e.css.sortAsc)||(this.count=-1)})),a=n.column,h){if(d.sortList=[],null!==d.sortForce)for(r=d.sortForce,o=0;o<r.length;o++)r[o][0]!==a&&d.sortList.push(r[o]);if((l=n.order[n.count])<2&&(d.sortList.push([a,l]),n.colSpan>1))for(o=1;o<n.colSpan;o++)d.sortList.push([a+o,l])}else{if(d.sortAppend&&d.sortList.length>1)for(o=0;o<d.sortAppend.length;o++)(u=e.isValueInArray(d.sortAppend[o][0],d.sortList))>=0&&d.sortList.splice(u,1);if(e.isValueInArray(a,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]===a&&(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([a,l]),n.colSpan>1))for(o=1;o<n.colSpan;o++)d.sortList.push([a+o,l])}if(null!==d.sortAppend)for(r=d.sortAppend,o=0;o<r.length;o++)r[o][0]!==a&&d.sortList.push(r[o]);p.trigger("sortBegin",i),setTimeout(function(){f(i),v(i),c(i),p.trigger("sortEnd",i)},1)}function v(t){var i,r,a,o,l,c,u,d,h,p,f=0,m=t.config,v=m.textSorter||"",b=m.sortList,y=b.length,w=t.tBodies.length;if(!m.serverSideSorting&&!s(m.cache)){for(m.debug&&(l=new Date),r=0;r<w;r++)c=m.cache[r].colMax,m.cache[r].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((a=/n/i.test(g(m.parsers,o)))&&m.strings[o]?(a="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],t):e["sortNumeric"+(f?"Asc":"Desc")](n[o],s[o],a,c[o],o,t)):(h=f?n:s,p=f?s:n,d="function"==typeof v?v(h[o],p[o],f,o,t):"object"==typeof v&&v.hasOwnProperty(o)?v[o](h[o],p[o],f,o,t):e["sortNatural"+(f?"Asc":"Desc")](n[o],s[o],o,t,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(e,i){var n=e[0];n.isUpdating&&e.trigger("updateComplete",n),t.isFunction(i)&&i(e[0])}function y(t,i,n){var s=t[0].config.sortList;!1!==i&&!t[0].isProcessing&&s.length?t.trigger("sorton",[s,function(){b(t,n)},!0]):(b(t,n),e.applyWidget(t[0],!1))}function w(i){var n=i.config,a=n.$table;a.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(e,s){e.stopPropagation(),n.sortList=[],f(i),v(i),c(i),t.isFunction(s)&&s(i)}).bind("updateAll"+n.namespace,function(t,s,r){t.stopPropagation(),i.isUpdating=!0,e.refreshWidgets(i,!0,!0),e.restoreHeaders(i),d(i),e.bindEvents(i,n.$headers,!0),w(i),h(i,s,r)}).bind("update"+n.namespace+" updateRows"+n.namespace,function(t,e,n){t.stopPropagation(),i.isUpdating=!0,p(i),h(i,e,n)}).bind("updateCell"+n.namespace,function(e,s,o,l){e.stopPropagation(),i.isUpdating=!0,a.find(n.selectorRemove).remove();var c,u,d,h,p=a.find("tbody"),f=t(s),g=p.index(t.fn.closest?f.closest("tbody"):f.parents("tbody").filter(":first")),m=t.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?r(i,s,h):n.extractors[h].format(r(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(a,o,l))}).bind("addRows"+n.namespace,function(e,l,c,u){if(e.stopPropagation(),i.isUpdating=!0,s(n.cache))p(i),h(i,c,u);else{var d,f,g,m,v,b,w,_=(l=t(l).attr("role","row")).filter("tr").length,x=a.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?r(i,l[d].cells[f],f):n.extractors[f].format(r(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(a,c,u)}}).bind("updateComplete"+n.namespace,function(){i.isUpdating=!1}).bind("sorton"+n.namespace,function(n,r,o,u){var d=i.config;n.stopPropagation(),a.trigger("sortStart",this),function(e,i){var n,s,r,a,o,l=e.config,c=i||l.sortList;l.sortList=[],t.each(c,function(e,i){if(a=parseInt(i[0],10),r=l.$headers.filter('[data-column="'+a+'"]: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=r.order[(o||0)%(l.sortReset?3:2)],s=0===n?1:1===n?0:2;break;case"n":r.count=r.count+1,s=r.order[r.count%(l.sortReset?3:2)];break;default:s=0}o=0===e?s:o,n=[a,parseInt(s,10)||0],l.sortList.push(n),s=t.inArray(n[1],r.order),r.count=s>=0?s:n[1]%(l.sortReset?3:2)}})}(i,r),f(i),d.delayInit&&s(d.cache)&&l(i),a.trigger("sortBegin",this),v(i),c(i,u),a.trigger("sortEnd",this),e.applyWidget(i),t.isFunction(o)&&o(i)}).bind("appendCache"+n.namespace,function(e,n,s){e.stopPropagation(),c(i,s),t.isFunction(n)&&n(i)}).bind("updateCache"+n.namespace,function(e,s){n.parsers&&n.parsers.length||o(i),l(i),t.isFunction(s)&&s(i)}).bind("applyWidgetId"+n.namespace,function(t,s){t.stopPropagation(),e.getWidgetById(s).format(i,n,n.widgetOptions)}).bind("applyWidgets"+n.namespace,function(t,n){t.stopPropagation(),e.applyWidget(i,n)}).bind("refreshWidgets"+n.namespace,function(t,n,s){t.stopPropagation(),e.refreshWidgets(i,n,s)}).bind("destroy"+n.namespace,function(t,n,s){t.stopPropagation(),e.destroy(i,n,s)}).bind("resetToLoadState"+n.namespace,function(){e.refreshWidgets(i,!0,!0),n=t.extend(!0,e.defaults,n.originalSettings),i.hasInitialized=!1,e.setup(i,n)})}e.version="2.17.8",e.parsers=[],e.widgets=[],e.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:[]},e.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"},e.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"},e.log=i,e.benchmark=n,e.construct=function(i){return this.each(function(){var n=this,s=t.extend(!0,{},e.defaults,i);s.originalSettings=i,!n.hasInitialized&&e.buildTable&&"TABLE"!==this.tagName?e.buildTable(n,s):e.setup(n,s)})},e.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 r=new RegExp(`^(\\s*${/-?[_a-zA-Z]+[_a-zA-Z0-9-]*/.source})*\\s*$`);function a(t){return r.test(t)}var c=[];for(var u of["tableClass","cssAsc","cssDesc","cssNone","cssHeader","cssHeaderRow","cssProcessing","cssChildRow","cssIcon","cssInfoBlock"]){var h=s[u];h&&!a(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=t(n),v=t.metadata;n.hasInitialized=!1,n.isProcessing=!0,n.config=s,t.data(n,"tablesorter",s),s.debug&&t.data(n,"startoveralltimer",new Date),s.supportsDataObject=((p=t.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(e.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(e){var i,n,s=e.config;s.widthFixed&&0===s.$table.find("colgroup").length&&(i=t("<colgroup>"),n=t(e).width(),t(e.tBodies).not("."+s.cssInfoBlock).find("tr:first").children(":visible").each(function(){i.append(t("<col>").css("width",parseInt(t(this).width()/n*1e3,10)/10+"%"))}),s.$table.prepend(i))}(n),o(n),s.totalRows=0,s.delayInit||l(n),e.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),e.applyWidget(n,!0),s.sortList.length>0?m.trigger("sorton",[s.sortList,{},!s.initWidgets,!0]):(f(n),s.initWidgets&&e.applyWidget(n,!1)),s.showProcessing&&m.unbind("sortBegin"+s.namespace+" sortEnd"+s.namespace).bind("sortBegin"+s.namespace+" sortEnd"+s.namespace,function(t){clearTimeout(s.processTimer),e.isProcessing(n),"sortBegin"===t.type&&(s.processTimer=setTimeout(function(){e.isProcessing(n,!0)},500))}),n.hasInitialized=!0,n.isProcessing=!1,s.debug&&e.benchmark("Overall initialization time",t.data(n,"startoveralltimer")),m.trigger("tablesorter-initialized",n),"function"==typeof s.initialized&&s.initialized(n)},e.getColumnData=function(e,i,n,s){if(null!=i){var r,a=(e=t(e)[0]).config;if(i[n])return s?i[n]:i[a.$headers.index(a.$headers.filter('[data-column="'+n+'"]:last'))];for(r in i)if("string"==typeof r&&(s?a.$headers.eq(n).filter(r):a.$headers.filter('[data-column="'+n+'"]:last').filter(r)).length)return i[r]}},e.computeColumnIndex=function(e){var i,n,s,r,a,o,l,c,u,d,h,p,f,g=[],m={},v=0;for(i=0;i<e.length;i++)for(l=e[i].cells,n=0;n<l.length;n++){for(o=l[n],a=t(o),u=(c=o.parentNode.rowIndex)+"-"+a.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),a.attr({"data-column":p}),s=c;s<c+d;s++)for(void 0===g[s]&&(g[s]=[]),f=g[s],r=p;r<p+h;r++)f[r]="x"}return v+1},e.isProcessing=function(i,n,s){var r=(i=t(i))[0].config,a=s||i.find("."+e.css.header);n?(void 0!==s&&r.sortList.length>0&&(a=a.filter(function(){return!this.sortDisabled&&e.isValueInArray(parseFloat(t(this).attr("data-column")),r.sortList)>=0})),i.add(a).addClass(e.css.processing+" "+r.cssProcessing)):i.add(a).removeClass(e.css.processing+" "+r.cssProcessing)},e.processTbody=function(e,i,n){var s;if(e=t(e)[0],n)return e.isProcessing=!0,i.before('<span class="tablesorter-savemyplace"/>'),s=t.fn.detach?i.detach():i.remove();s=t(e).find("span.tablesorter-savemyplace"),i.insertAfter(s),s.remove(),e.isProcessing=!1},e.clearTableBody=function(e){t(e)[0].config.$tbodies.children().detach()},e.bindEvents=function(e,i,n){var r,a=(e=t(e)[0]).config;!0!==n&&(a.$extraHeaders=a.$extraHeaders?a.$extraHeaders.add(i):i),i.find(a.selectorSort).add(i.filter(a.selectorSort)).unbind("mousedown mouseup sort keyup ".split(" ").join(a.namespace+" ")).bind("mousedown mouseup sort keyup ".split(" ").join(a.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()-r>250)){if("mousedown"===u)return r=(new Date).getTime(),/(input|select|button|textarea)/i.test(n.target.tagName)?"":!a.cancelSelection;a.delayInit&&s(a.cache)&&l(e),c=t.fn.closest?t(this).closest("th, td")[0]:/TH|TD/.test(this.tagName)?this:t(this).parents("th, td")[0],(c=a.$headers[i.index(c)]).sortDisabled||m(e,c,n)}}),a.cancelSelection&&i.attr("unselectable","on").bind("selectstart",!1).css({"user-select":"none",MozUserSelect:"none"})},e.restoreHeaders=function(i){var n=t(i)[0].config;n.$table.find(n.selectorHeaders).each(function(i){t(this).find("."+e.css.headerIn).length&&t(this).html(n.headerContent[i])})},e.destroy=function(i,n,s){if((i=t(i)[0]).hasInitialized){e.refreshWidgets(i,!0,!0);var r=t(i),a=i.config,o=r.find("thead:first"),l=o.find("tr."+e.css.headerRow).removeClass(e.css.headerRow+" "+a.cssHeaderRow),c=r.find("tfoot:first > tr").children("th, td");!1===n&&t.inArray("uitheme",a.widgets)>=0&&(r.trigger("applyWidgetId",["uitheme"]),r.trigger("applyWidgetId",["zebra"])),o.find("tr").not(l).remove(),r.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(a.namespace+" ")),a.$headers.add(c).removeClass([e.css.header,a.cssHeader,a.cssAsc,a.cssDesc,e.css.sortAsc,e.css.sortDesc,e.css.sortNone].join(" ")).removeAttr("data-column").removeAttr("aria-label").attr("aria-disabled","true"),l.find(a.selectorSort).unbind("mousedown mouseup keypress ".split(" ").join(a.namespace+" ")),e.restoreHeaders(i),r.toggleClass(e.css.table+" "+a.tableClass+" tablesorter-"+a.theme,!1===n),i.hasInitialized=!1,delete i.config.cache,"function"==typeof s&&s(i)}},e.regex={chunk:/(^([+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?)?$|^0x[0-9a-f]+$|\d+)/gi,chunks:/(^\\0|\\0$)/,hex:/^0x[0-9a-f]+$/i},e.sortNatural=function(t,i){if(t===i)return 0;var n,s,r,a,o,l,c,u,d=e.regex;if(d.hex.test(i)){if((s=parseInt(t.match(d.hex),16))<(a=parseInt(i.match(d.hex),16)))return-1;if(s>a)return 1}for(n=t.replace(d.chunk,"\\0$1\\0").replace(d.chunks,"").split("\\0"),r=i.replace(d.chunk,"\\0$1\\0").replace(d.chunks,"").split("\\0"),u=Math.max(n.length,r.length),c=0;c<u;c++){if(o=isNaN(n[c])?n[c]||0:parseFloat(n[c])||0,l=isNaN(r[c])?r[c]||0:parseFloat(r[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},e.sortNaturalAsc=function(t,i,n,s,r){if(t===i)return 0;var a=r.string[r.empties[n]||r.emptyTo];return""===t&&0!==a?"boolean"==typeof a?a?-1:1:-a||-1:""===i&&0!==a?"boolean"==typeof a?a?1:-1:a||1:e.sortNatural(t,i)},e.sortNaturalDesc=function(t,i,n,s,r){if(t===i)return 0;var a=r.string[r.empties[n]||r.emptyTo];return""===t&&0!==a?"boolean"==typeof a?a?-1:1:a||1:""===i&&0!==a?"boolean"==typeof a?a?1:-1:-a||-1:e.sortNatural(i,t)},e.sortText=function(t,e){return t>e?1:t<e?-1:0},e.getTextValue=function(t,e,i){if(i){var n,s=t?t.length:0,r=i+e;for(n=0;n<s;n++)r+=t.charCodeAt(n);return e*r}return 0},e.sortNumericAsc=function(t,i,n,s,r,a){if(t===i)return 0;var o=a.config,l=o.string[o.empties[r]||o.emptyTo];return""===t&&0!==l?"boolean"==typeof l?l?-1:1:-l||-1:""===i&&0!==l?"boolean"==typeof l?l?1:-1:l||1:(isNaN(t)&&(t=e.getTextValue(t,n,s)),isNaN(i)&&(i=e.getTextValue(i,n,s)),t-i)},e.sortNumericDesc=function(t,i,n,s,r,a){if(t===i)return 0;var o=a.config,l=o.string[o.empties[r]||o.emptyTo];return""===t&&0!==l?"boolean"==typeof l?l?-1:1:l||1:""===i&&0!==l?"boolean"==typeof l?l?1:-1:-l||-1:(isNaN(t)&&(t=e.getTextValue(t,n,s)),isNaN(i)&&(i=e.getTextValue(i,n,s)),i-t)},e.sortNumeric=function(t,e){return t-e},e.characterEquivalents={a:"áàâãäąå",A:"ÁÀÂÃÄĄÅ",c:"çćč",C:"ÇĆČ",e:"éèêëěę",E:"ÉÈÊËĚĘ",i:"íìİîïı",I:"ÍÌİÎÏ",o:"óòôõö",O:"ÓÒÔÕÖ",ss:"ß",SS:"ẞ",u:"úùûüů",U:"ÚÙÛÜŮ"},e.replaceAccents=function(t){var i,n="[",s=e.characterEquivalents;if(!e.characterRegex){for(i in e.characterRegexArray={},s)"string"==typeof i&&(n+=s[i],e.characterRegexArray[i]=new RegExp("["+s[i]+"]","g"));e.characterRegex=new RegExp(n+"]")}if(e.characterRegex.test(t))for(i in s)"string"==typeof i&&(t=t.replace(e.characterRegexArray[i],i));return t},e.isValueInArray=function(t,e){var i,n=e.length;for(i=0;i<n;i++)if(e[i][0]===t)return i;return-1},e.addParser=function(t){var i,n=e.parsers.length,s=!0;for(i=0;i<n;i++)e.parsers[i].id.toLowerCase()===t.id.toLowerCase()&&(s=!1);s&&e.parsers.push(t)},e.getParserById=function(t){if("false"==t)return!1;var i,n=e.parsers.length;for(i=0;i<n;i++)if(e.parsers[i].id.toLowerCase()===t.toString().toLowerCase())return e.parsers[i];return!1},e.addWidget=function(t){e.widgets.push(t)},e.hasWidget=function(e,i){return(e=t(e)).length&&e[0].config&&e[0].config.widgetInit[i]||!1},e.getWidgetById=function(t){var i,n,s=e.widgets.length;for(i=0;i<s;i++)if((n=e.widgets[i])&&n.hasOwnProperty("id")&&n.id.toLowerCase()===t.toLowerCase())return n},e.applyWidget=function(i,s){var r,a,o,l=(i=t(i)[0]).config,c=l.widgetOptions,u=[];!1!==s&&i.hasInitialized&&(i.isApplyingWidgets||i.isUpdating)||(l.debug&&(r=new Date),l.widgets.length&&(i.isApplyingWidgets=!0,l.widgets=t.grep(l.widgets,function(e,i){return t.inArray(e,l.widgets)===i}),t.each(l.widgets||[],function(t,i){(o=e.getWidgetById(i))&&o.id&&(o.priority||(o.priority=10),u[t]=o)}),u.sort(function(t,e){return t.priority<e.priority?-1:t.priority===e.priority?0:1}),t.each(u,function(e,n){n&&(!s&&l.widgetInit[n.id]||(l.widgetInit[n.id]=!0,n.hasOwnProperty("options")&&(c=i.config.widgetOptions=t.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&&(a=l.widgets.length,n("Completed "+(!0===s?"initializing ":"applying ")+a+" widget"+(1!==a?"s":""),r)))},e.refreshWidgets=function(n,s,r){var a,o=(n=t(n)[0]).config,l=o.widgets,c=e.widgets,u=c.length;for(a=0;a<u;a++)c[a]&&c[a].id&&(s||t.inArray(c[a].id,l)<0)&&(o.debug&&i('Refeshing widgets: Removing "'+c[a].id+'"'),c[a].hasOwnProperty("remove")&&o.widgetInit[c[a].id]&&(c[a].remove(n,o,o.widgetOptions),o.widgetInit[c[a].id]=!1));!0!==r&&e.applyWidget(n,s)},e.getData=function(e,i,n){var s,r,a="",o=t(e);return o.length?(s=!!t.metadata&&o.metadata(),r=" "+(o.attr("class")||""),void 0!==o.data(n)||void 0!==o.data(n.toLowerCase())?a+=o.data(n)||o.data(n.toLowerCase()):s&&void 0!==s[n]?a+=s[n]:i&&void 0!==i[n]?a+=i[n]:" "!==r&&r.match(" "+n+"-")&&(a=r.match(new RegExp("\\s"+n+"-([\\w-]+)"))[1]||""),t.trim(a)):""},e.formatFloat=function(e,i){return"string"!=typeof e||""===e?e:(e=(i&&i.config?!1!==i.config.usNumberFormat:void 0===i||i)?e.replace(/,/g,""):e.replace(/[\s|\.]/g,"").replace(/,/g,"."),/^\s*\([.\d]+\)/.test(e)&&(e=e.replace(/^\s*\(([.\d]+)\)/,"-$1")),n=parseFloat(e),isNaN(n)?t.trim(e):n);var n},e.isDigit=function(t){return!isNaN(t)||/^[\-+(]?\d+[)]?$/.test(t.toString().replace(/[,.'"\s]/g,""))}}});var e=t.tablesorter;t.fn.extend({tablesorter:e.construct}),e.addParser({id:"no-parser",is:function(){return!1},format:function(){return""},type:"text"}),e.addParser({id:"text",is:function(){return!0},format:function(i,n){var s=n.config;return i&&(i=t.trim(s.ignoreCase?i.toLocaleLowerCase():i),i=s.sortLocaleCompare?e.replaceAccents(i):i),i},type:"text"}),e.addParser({id:"digit",is:function(t){return e.isDigit(t)},format:function(i,n){var s=e.formatFloat((i||"").replace(/[^\w,. \-()]/g,""),n);return i&&"number"==typeof s?s:i?t.trim(i&&n.config.ignoreCase?i.toLocaleLowerCase():i):i},type:"numeric"}),e.addParser({id:"currency",is:function(t){return/^\(?\d+[\u00a3$\u20ac\u00a4\u00a5\u00a2?.]|[\u00a3$\u20ac\u00a4\u00a5\u00a2?.]\d+\)?$/.test((t||"").replace(/[+\-,. ]/g,""))},format:function(i,n){var s=e.formatFloat((i||"").replace(/[^\w,. \-()]/g,""),n);return i&&"number"==typeof s?s:i?t.trim(i&&n.config.ignoreCase?i.toLocaleLowerCase():i):i},type:"numeric"}),e.addParser({id:"ipAddress",is:function(t){return/^\d{1,3}[\.]\d{1,3}[\.]\d{1,3}[\.]\d{1,3}$/.test(t)},format:function(t,i){var n,s=t?t.split("."):"",r="",a=s.length;for(n=0;n<a;n++)r+=("00"+s[n]).slice(-3);return t?e.formatFloat(r,i):t},type:"numeric"}),e.addParser({id:"url",is:function(t){return/^(https?|ftp|file):\/\//.test(t)},format:function(e){return e?t.trim(e.replace(/(https?|ftp|file):\/\//,"")):e},parsed:!0,type:"text"}),e.addParser({id:"isoDate",is:function(t){return/^\d{4}[\/\-]\d{1,2}[\/\-]\d{1,2}/.test(t)},format:function(t,i){return t?e.formatFloat(""!==t?new Date(t.replace(/-/g,"/")).getTime()||t:"",i):t},type:"numeric"}),e.addParser({id:"percent",is:function(t){return/(\d\s*?%|%\s*?\d)/.test(t)&&t.length<15},format:function(t,i){return t?e.formatFloat(t.replace(/%/g,""),i):t},type:"numeric"}),e.addParser({id:"usLongDate",is:function(t){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(t)||/^\d{1,2}\s+[A-Z]{3,10}\s+\d{4}/i.test(t)},format:function(t,i){return t?e.formatFloat(new Date(t.replace(/(\S)([AP]M)$/i,"$1 $2")).getTime()||t,i):t},type:"numeric"}),e.addParser({id:"shortDate",is:function(t){return/(^\d{1,2}[\/\s]\d{1,2}[\/\s]\d{4})|(^\d{4}[\/\s]\d{1,2}[\/\s]\d{1,2})/.test((t||"").replace(/\s+/g," ").replace(/[\-.,]/g,"/"))},format:function(t,i,n,s){if(t){var r=i.config,a=r.$headers.filter("[data-column="+s+"]:last"),o=a.length&&a[0].dateFormat||e.getData(a,e.getColumnData(i,r.headers,s),"dateFormat")||r.dateFormat;t=t.replace(/\s+/g," ").replace(/[\-.,]/g,"/"),"mmddyyyy"===o?t=t.replace(/(\d{1,2})[\/\s](\d{1,2})[\/\s](\d{4})/,"$3/$1/$2"):"ddmmyyyy"===o?t=t.replace(/(\d{1,2})[\/\s](\d{1,2})[\/\s](\d{4})/,"$3/$2/$1"):"yyyymmdd"===o&&(t=t.replace(/(\d{4})[\/\s](\d{1,2})[\/\s](\d{1,2})/,"$1/$2/$3"))}return t?e.formatFloat(new Date(t).getTime()||t,i):t},type:"numeric"}),e.addParser({id:"time",is:function(t){return/^(([0-2]?\d:[0-5]\d)|([0-1]?\d:[0-5]\d\s?([AP]M)))$/i.test(t)},format:function(t,i){return t?e.formatFloat(new Date("2000/01/01 "+t.replace(/(\S)([AP]M)$/i,"$1 $2")).getTime()||t,i):t},type:"numeric"}),e.addParser({id:"metadata",is:function(){return!1},format:function(e,i,n){var s=i.config,r=s.parserMetadataName?s.parserMetadataName:"sortValue";return t(n).metadata()[r]},type:"numeric"}),e.addWidget({id:"zebra",priority:90,format:function(i,n,s){var r,a,o,l,c,u=new RegExp(n.cssChildRow,"i"),d=n.$tbodies;for(n.debug&&(l=new Date),c=0;c<d.length;c++)a=0,d.eq(c).children("tr:visible").not(n.selectorRemove).each(function(){r=t(this),u.test(this.className)||a++,o=a%2==0,r.removeClass(s.zebra[o?1:0]).addClass(s.zebra[o?0:1])});n.debug&&e.benchmark("Applying Zebra widget",l)},remove:function(e,i,n){var s,r,a=i.$tbodies,o=(n.zebra||["even","odd"]).join(" ");for(s=0;s<a.length;s++)(r=t.tablesorter.processTbody(e,a.eq(s),!0)).children().removeClass(o),t.tablesorter.processTbody(e,r,!1)}})}(jQuery)},682:()=>{jQuery.fn.serializeObject=function(){var t={};return this.find(":input:not(:button):not(:submit):not(:radio):not('select[multiple]')").each(function(){""!==this.name&&(null===this.value&&(this.value=""),t[this.name]=this.value.match(/^(tru|fals)e$/i)?"true"==this.value.toLowerCase():this.value)}),this.find("input:radio:checked").each(function(){t[this.name]=this.value}),this.find("select[multiple]").each(function(){var e=jQuery(this),i=e.val();e.data("aui-ss")?t[this.name]=i?i[0]:"":t[this.name]=null!==i?i:[]}),t}},687:e=>{"use strict";e.exports=t},171:(t,e,i)=>{Object.defineProperty(e,"__esModule",{value:!0});var n="1.13.8",s="object"==typeof self&&self.self===self&&self||"object"==typeof i.g&&i.g.global===i.g&&i.g||Function("return this")()||{},r=Array.prototype,a=Object.prototype,o="undefined"!=typeof Symbol?Symbol.prototype:null,l=r.push,c=r.slice,u=a.toString,d=a.hasOwnProperty,h="undefined"!=typeof ArrayBuffer,p="undefined"!=typeof DataView,f=Array.isArray,g=Object.keys,m=Object.create,v=h&&ArrayBuffer.isView,b=isNaN,y=isFinite,w=!{toString:null}.propertyIsEnumerable("toString"),_=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],x=Math.pow(2,53)-1;function C(t,e){return e=null==e?t.length-1:+e,function(){for(var i=Math.max(arguments.length-e,0),n=Array(i),s=0;s<i;s++)n[s]=arguments[s+e];switch(e){case 0:return t.call(this,n);case 1:return t.call(this,arguments[0],n);case 2:return t.call(this,arguments[0],arguments[1],n)}var r=Array(e+1);for(s=0;s<e;s++)r[s]=arguments[s];return r[e]=n,t.apply(this,r)}}function k(t){var e=typeof t;return"function"===e||"object"===e&&!!t}function T(t){return null===t}function E(t){return void 0===t}function A(t){return!0===t||!1===t||"[object Boolean]"===u.call(t)}function S(t){return!(!t||1!==t.nodeType)}function D(t){var e="[object "+t+"]";return function(t){return u.call(t)===e}}var I=D("String"),M=D("Number"),N=D("Date"),O=D("RegExp"),P=D("Error"),L=D("Symbol"),R=D("ArrayBuffer"),$=D("Function"),j=s.document&&s.document.childNodes;"object"!=typeof Int8Array&&"function"!=typeof j&&($=function(t){return"function"==typeof t||!1});var z=$,F=D("Object"),H=p&&(!/\[native code\]/.test(String(DataView))||F(new DataView(new ArrayBuffer(8)))),B="undefined"!=typeof Map&&F(new Map),U=D("DataView");var W=H?function(t){return null!=t&&z(t.getInt8)&&R(t.buffer)}:U,V=f||D("Array");function Y(t,e){return null!=t&&d.call(t,e)}var q=D("Arguments");!function(){q(arguments)||(q=function(t){return Y(t,"callee")})}();var K=q;function Q(t){return!L(t)&&y(t)&&!isNaN(parseFloat(t))}function G(t){return M(t)&&b(t)}function J(t){return function(){return t}}function Z(t){return function(e){var i=t(e);return"number"==typeof i&&i>=0&&i<=x}}function X(t){return function(e){return null==e?void 0:e[t]}}var tt=X("byteLength"),et=Z(tt),it=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;var nt=h?function(t){return v?v(t)&&!W(t):et(t)&&it.test(u.call(t))}:J(!1),st=X("length");function rt(t,e){e=function(t){for(var e={},i=t.length,n=0;n<i;++n)e[t[n]]=!0;return{contains:function(t){return!0===e[t]},push:function(i){return e[i]=!0,t.push(i)}}}(e);var i=_.length,n=t.constructor,s=z(n)&&n.prototype||a,r="constructor";for(Y(t,r)&&!e.contains(r)&&e.push(r);i--;)(r=_[i])in t&&t[r]!==s[r]&&!e.contains(r)&&e.push(r)}function at(t){if(!k(t))return[];if(g)return g(t);var e=[];for(var i in t)Y(t,i)&&e.push(i);return w&&rt(t,e),e}function ot(t){if(null==t)return!0;var e=st(t);return"number"==typeof e&&(V(t)||I(t)||K(t))?0===e:0===st(at(t))}function lt(t,e){var i=at(e),n=i.length;if(null==t)return!n;for(var s=Object(t),r=0;r<n;r++){var a=i[r];if(e[a]!==s[a]||!(a in s))return!1}return!0}function ct(t){return t instanceof ct?t:this instanceof ct?void(this._wrapped=t):new ct(t)}function ut(t){return new Uint8Array(t.buffer||t,t.byteOffset||0,tt(t))}ct.VERSION=n,ct.prototype.value=function(){return this._wrapped},ct.prototype.valueOf=ct.prototype.toJSON=ct.prototype.value,ct.prototype.toString=function(){return String(this._wrapped)};var dt="[object DataView]";function ht(t,e){for(var i=[{a:t,b:e}],n=[],s=[];i.length;){var r=i.pop();if(!0!==r){if((t=r.a)===(e=r.b)){if(0!==t||1/t==1/e)continue;return!1}if(null==t||null==e)return!1;if(t!=t){if(e!=e)continue;return!1}var a=typeof t;if("function"!==a&&"object"!==a&&"object"!=typeof e)return!1;t instanceof ct&&(t=t._wrapped),e instanceof ct&&(e=e._wrapped);var l=u.call(t);if(l!==u.call(e))return!1;if(H&&"[object Object]"==l&&W(t)){if(!W(e))return!1;l=dt}switch(l){case"[object RegExp]":case"[object String]":if(""+t==""+e)continue;return!1;case"[object Number]":i.push({a:+t,b:+e});continue;case"[object Date]":case"[object Boolean]":if(+t===+e)continue;return!1;case"[object Symbol]":if(o.valueOf.call(t)===o.valueOf.call(e))continue;return!1;case"[object ArrayBuffer]":case dt:i.push({a:ut(t),b:ut(e)});continue}var c="[object Array]"===l;if(!c&&nt(t)){if(tt(t)!==tt(e))return!1;if(t.buffer===e.buffer&&t.byteOffset===e.byteOffset)continue;c=!0}if(!c){if("object"!=typeof t||"object"!=typeof e)return!1;var d=t.constructor,h=e.constructor;if(d!==h&&!(z(d)&&d instanceof d&&z(h)&&h instanceof h)&&"constructor"in t&&"constructor"in e)return!1}for(var p=n.length;p--;)if(n[p]===t){if(s[p]===e)break;return!1}if(!(p>=0))if(n.push(t),s.push(e),i.push(!0),c){if((p=t.length)!==e.length)return!1;for(;p--;)i.push({a:t[p],b:e[p]})}else{var f,g=at(t);if(p=g.length,at(e).length!==p)return!1;for(;p--;){if(!Y(e,f=g[p]))return!1;i.push({a:t[f],b:e[f]})}}}else n.pop(),s.pop()}return!0}function pt(t){if(!k(t))return[];var e=[];for(var i in t)e.push(i);return w&&rt(t,e),e}function ft(t){var e=st(t);return function(i){if(null==i)return!1;var n=pt(i);if(st(n))return!1;for(var s=0;s<e;s++)if(!z(i[t[s]]))return!1;return t!==yt||!z(i[gt])}}var gt="forEach",mt=["clear","delete"],vt=["get","has","set"],bt=mt.concat(gt,vt),yt=mt.concat(vt),wt=["add"].concat(mt,gt,"has"),_t=B?ft(bt):D("Map"),xt=B?ft(yt):D("WeakMap"),Ct=B?ft(wt):D("Set"),kt=D("WeakSet");function Tt(t){for(var e=at(t),i=e.length,n=Array(i),s=0;s<i;s++)n[s]=t[e[s]];return n}function Et(t){for(var e=at(t),i=e.length,n=Array(i),s=0;s<i;s++)n[s]=[e[s],t[e[s]]];return n}function At(t){for(var e={},i=at(t),n=0,s=i.length;n<s;n++)e[t[i[n]]]=i[n];return e}function St(t){var e=[];for(var i in t)z(t[i])&&e.push(i);return e.sort()}function Dt(t,e){return function(i){var n=arguments.length;if(e&&(i=Object(i)),n<2||null==i)return i;for(var s=1;s<n;s++)for(var r=arguments[s],a=t(r),o=a.length,l=0;l<o;l++){var c=a[l];e&&void 0!==i[c]||(i[c]=r[c])}return i}}var It=Dt(pt),Mt=Dt(at),Nt=Dt(pt,!0);function Ot(t){if(!k(t))return{};if(m)return m(t);var e=function(){};e.prototype=t;var i=new e;return e.prototype=null,i}function Pt(t,e){var i=Ot(t);return e&&Mt(i,e),i}function Lt(t){return k(t)?V(t)?t.slice():It({},t):t}function Rt(t,e){return e(t),t}function $t(t){return V(t)?t:[t]}function jt(t){return ct.toPath(t)}function zt(t,e){for(var i=e.length,n=0;n<i;n++){if(null==t)return;t=t[e[n]]}return i?t:void 0}function Ft(t,e,i){var n=zt(t,jt(e));return E(n)?i:n}function Ht(t,e){for(var i=(e=jt(e)).length,n=0;n<i;n++){var s=e[n];if(!Y(t,s))return!1;t=t[s]}return!!i}function Bt(t){return t}function Ut(t){return t=Mt({},t),function(e){return lt(e,t)}}function Wt(t){return t=jt(t),function(e){return zt(e,t)}}function Vt(t,e,i){if(void 0===e)return t;switch(null==i?3:i){case 1:return function(i){return t.call(e,i)};case 3:return function(i,n,s){return t.call(e,i,n,s)};case 4:return function(i,n,s,r){return t.call(e,i,n,s,r)}}return function(){return t.apply(e,arguments)}}function Yt(t,e,i){return null==t?Bt:z(t)?Vt(t,e,i):k(t)&&!V(t)?Ut(t):Wt(t)}function qt(t,e){return Yt(t,e,1/0)}function Kt(t,e,i){return ct.iteratee!==qt?ct.iteratee(t,e):Yt(t,e,i)}function Qt(t,e,i){e=Kt(e,i);for(var n=at(t),s=n.length,r={},a=0;a<s;a++){var o=n[a];r[o]=e(t[o],o,t)}return r}function Gt(){}function Jt(t){return null==t?Gt:function(e){return Ft(t,e)}}function Zt(t,e,i){var n=Array(Math.max(0,t));e=Vt(e,i,1);for(var s=0;s<t;s++)n[s]=e(s);return n}function Xt(t,e){return null==e&&(e=t,t=0),t+Math.floor(Math.random()*(e-t+1))}ct.toPath=$t,ct.iteratee=qt;var te=Date.now||function(){return(new Date).getTime()};function ee(t){var e=function(e){return t[e]},i="(?:"+at(t).join("|")+")",n=RegExp(i),s=RegExp(i,"g");return function(t){return t=null==t?"":""+t,n.test(t)?t.replace(s,e):t}}var ie={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},ne=ee(ie),se=ee(At(ie)),re=ct.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},ae=/(.)^/,oe={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},le=/\\|'|\r|\n|\u2028|\u2029/g;function ce(t){return"\\"+oe[t]}var ue=/^\s*(\w|\$)+\s*$/;function de(t,e,i){!e&&i&&(e=i),e=Nt({},e,ct.templateSettings);var n=RegExp([(e.escape||ae).source,(e.interpolate||ae).source,(e.evaluate||ae).source].join("|")+"|$","g"),s=0,r="__p+='";t.replace(n,function(e,i,n,a,o){return r+=t.slice(s,o).replace(le,ce),s=o+e.length,i?r+="'+\n((__t=("+i+"))==null?'':_.escape(__t))+\n'":n?r+="'+\n((__t=("+n+"))==null?'':__t)+\n'":a&&(r+="';\n"+a+"\n__p+='"),e}),r+="';\n";var a,o=e.variable;if(o){if(!ue.test(o))throw new Error("variable is not a bare identifier: "+o)}else r="with(obj||{}){\n"+r+"}\n",o="obj";r="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+r+"return __p;\n";try{a=new Function(o,"_",r)}catch(t){throw t.source=r,t}var l=function(t){return a.call(this,t,ct)};return l.source="function("+o+"){\n"+r+"}",l}function he(t,e,i){var n=(e=jt(e)).length;if(!n)return z(i)?i.call(t):i;for(var s=0;s<n;s++){var r=null==t?void 0:t[e[s]];void 0===r&&(r=i,s=n),t=z(r)?r.call(t):r}return t}var pe=0;function fe(t){var e=++pe+"";return t?t+e:e}function ge(t){var e=ct(t);return e._chain=!0,e}function me(t,e,i,n,s){if(!(n instanceof e))return t.apply(i,s);var r=Ot(t.prototype),a=t.apply(r,s);return k(a)?a:r}var ve=C(function(t,e){var i=ve.placeholder,n=function(){for(var s=0,r=e.length,a=Array(r),o=0;o<r;o++)a[o]=e[o]===i?arguments[s++]:e[o];for(;s<arguments.length;)a.push(arguments[s++]);return me(t,n,this,this,a)};return n});ve.placeholder=ct;var be=C(function(t,e,i){if(!z(t))throw new TypeError("Bind must be called on a function");var n=C(function(s){return me(t,n,e,this,i.concat(s))});return n}),ye=Z(st);function we(t,e,i){e||0===e||(e=1/0);for(var n=[],s=0,r=0,a=st(t)||0,o=[];;)if(r>=a){if(!o.length)break;var l=o.pop();r=l.i,t=l.v,a=st(t)}else{var c=t[r++];o.length>=e?n[s++]=c:ye(c)&&(V(c)||K(c))?(o.push({i:r,v:t}),r=0,a=st(t=c)):i||(n[s++]=c)}return n}var _e=C(function(t,e){var i=(e=we(e,!1,!1)).length;if(i<1)throw new Error("bindAll must be passed function names");for(;i--;){var n=e[i];t[n]=be(t[n],t)}return t});function xe(t,e){var i=function(n){var s=i.cache,r=""+(e?e.apply(this,arguments):n);return Y(s,r)||(s[r]=t.apply(this,arguments)),s[r]};return i.cache={},i}var Ce=C(function(t,e,i){return setTimeout(function(){return t.apply(null,i)},e)}),ke=ve(Ce,ct,1);function Te(t,e,i){var n,s,r,a,o=0;i||(i={});var l=function(){o=!1===i.leading?0:te(),n=null,a=t.apply(s,r),n||(s=r=null)},c=function(){var c=te();o||!1!==i.leading||(o=c);var u=e-(c-o);return s=this,r=arguments,u<=0||u>e?(n&&(clearTimeout(n),n=null),o=c,a=t.apply(s,r),n||(s=r=null)):n||!1===i.trailing||(n=setTimeout(l,u)),a};return c.cancel=function(){clearTimeout(n),o=0,n=s=r=null},c}function Ee(t,e,i){var n,s,r,a,o,l=function(){var c=te()-s;e>c?n=setTimeout(l,e-c):(n=null,i||(a=t.apply(o,r)),n||(r=o=null))},c=C(function(c){return o=this,r=c,s=te(),n||(n=setTimeout(l,e),i&&(a=t.apply(o,r))),a});return c.cancel=function(){clearTimeout(n),n=r=o=null},c}function Ae(t,e){return ve(e,t)}function Se(t){return function(){return!t.apply(this,arguments)}}function De(){var t=arguments,e=t.length-1;return function(){for(var i=e,n=t[e].apply(this,arguments);i--;)n=t[i].call(this,n);return n}}function Ie(t,e){return function(){if(--t<1)return e.apply(this,arguments)}}function Me(t,e){var i;return function(){return--t>0&&(i=e.apply(this,arguments)),t<=1&&(e=null),i}}var Ne=ve(Me,2);function Oe(t,e,i){e=Kt(e,i);for(var n,s=at(t),r=0,a=s.length;r<a;r++)if(e(t[n=s[r]],n,t))return n}function Pe(t){return function(e,i,n){i=Kt(i,n);for(var s=st(e),r=t>0?0:s-1;r>=0&&r<s;r+=t)if(i(e[r],r,e))return r;return-1}}var Le=Pe(1),Re=Pe(-1);function $e(t,e,i,n){for(var s=(i=Kt(i,n,1))(e),r=0,a=st(t);r<a;){var o=Math.floor((r+a)/2);i(t[o])<s?r=o+1:a=o}return r}function je(t,e,i){return function(n,s,r){var a=0,o=st(n);if("number"==typeof r)t>0?a=r>=0?r:Math.max(r+o,a):o=r>=0?Math.min(r+1,o):r+o+1;else if(i&&r&&o)return n[r=i(n,s)]===s?r:-1;if(s!=s)return(r=e(c.call(n,a,o),G))>=0?r+a:-1;for(r=t>0?a:o-1;r>=0&&r<o;r+=t)if(n[r]===s)return r;return-1}}var ze=je(1,Le,$e),Fe=je(-1,Re);function He(t,e,i){var n=(ye(t)?Le:Oe)(t,e,i);if(void 0!==n&&-1!==n)return t[n]}function Be(t,e){return He(t,Ut(e))}function Ue(t,e,i){var n,s;if(e=Vt(e,i),ye(t))for(n=0,s=t.length;n<s;n++)e(t[n],n,t);else{var r=at(t);for(n=0,s=r.length;n<s;n++)e(t[r[n]],r[n],t)}return t}function We(t,e,i){e=Kt(e,i);for(var n=!ye(t)&&at(t),s=(n||t).length,r=Array(s),a=0;a<s;a++){var o=n?n[a]:a;r[a]=e(t[o],o,t)}return r}function Ve(t){return function(e,i,n,s){var r=arguments.length>=3;return function(e,i,n,s){var r=!ye(e)&&at(e),a=(r||e).length,o=t>0?0:a-1;for(s||(n=e[r?r[o]:o],o+=t);o>=0&&o<a;o+=t){var l=r?r[o]:o;n=i(n,e[l],l,e)}return n}(e,Vt(i,s,4),n,r)}}var Ye=Ve(1),qe=Ve(-1);function Ke(t,e,i){var n=[];return e=Kt(e,i),Ue(t,function(t,i,s){e(t,i,s)&&n.push(t)}),n}function Qe(t,e,i){return Ke(t,Se(Kt(e)),i)}function Ge(t,e,i){e=Kt(e,i);for(var n=!ye(t)&&at(t),s=(n||t).length,r=0;r<s;r++){var a=n?n[r]:r;if(!e(t[a],a,t))return!1}return!0}function Je(t,e,i){e=Kt(e,i);for(var n=!ye(t)&&at(t),s=(n||t).length,r=0;r<s;r++){var a=n?n[r]:r;if(e(t[a],a,t))return!0}return!1}function Ze(t,e,i,n){return ye(t)||(t=Tt(t)),("number"!=typeof i||n)&&(i=0),ze(t,e,i)>=0}var Xe=C(function(t,e,i){var n,s;return z(e)?s=e:(e=jt(e),n=e.slice(0,-1),e=e[e.length-1]),We(t,function(t){var r=s;if(!r){if(n&&n.length&&(t=zt(t,n)),null==t)return;r=t[e]}return null==r?r:r.apply(t,i)})});function ti(t,e){return We(t,Wt(e))}function ei(t,e){return Ke(t,Ut(e))}function ii(t,e,i){var n,s,r=-1/0,a=-1/0;if(null==e||"number"==typeof e&&"object"!=typeof t[0]&&null!=t)for(var o=0,l=(t=ye(t)?t:Tt(t)).length;o<l;o++)null!=(n=t[o])&&n>r&&(r=n);else e=Kt(e,i),Ue(t,function(t,i,n){((s=e(t,i,n))>a||s===-1/0&&r===-1/0)&&(r=t,a=s)});return r}function ni(t,e,i){var n,s,r=1/0,a=1/0;if(null==e||"number"==typeof e&&"object"!=typeof t[0]&&null!=t)for(var o=0,l=(t=ye(t)?t:Tt(t)).length;o<l;o++)null!=(n=t[o])&&n<r&&(r=n);else e=Kt(e,i),Ue(t,function(t,i,n){((s=e(t,i,n))<a||s===1/0&&r===1/0)&&(r=t,a=s)});return r}var si=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function ri(t){return t?V(t)?c.call(t):I(t)?t.match(si):ye(t)?We(t,Bt):Tt(t):[]}function ai(t,e,i){if(null==e||i)return ye(t)||(t=Tt(t)),t[Xt(t.length-1)];var n=ri(t),s=st(n);e=Math.max(Math.min(e,s),0);for(var r=s-1,a=0;a<e;a++){var o=Xt(a,r),l=n[a];n[a]=n[o],n[o]=l}return n.slice(0,e)}function oi(t){return ai(t,1/0)}function li(t,e,i){var n=0;return e=Kt(e,i),ti(We(t,function(t,i,s){return{value:t,index:n++,criteria:e(t,i,s)}}).sort(function(t,e){var i=t.criteria,n=e.criteria;if(i!==n){if(i>n||void 0===i)return 1;if(i<n||void 0===n)return-1}return t.index-e.index}),"value")}function ci(t,e){return function(i,n,s){var r=e?[[],[]]:{};return n=Kt(n,s),Ue(i,function(e,s){var a=n(e,s,i);t(r,e,a)}),r}}var ui=ci(function(t,e,i){Y(t,i)?t[i].push(e):t[i]=[e]}),di=ci(function(t,e,i){t[i]=e}),hi=ci(function(t,e,i){Y(t,i)?t[i]++:t[i]=1}),pi=ci(function(t,e,i){t[i?0:1].push(e)},!0);function fi(t){return null==t?0:ye(t)?t.length:at(t).length}function gi(t,e,i){return e in i}var mi=C(function(t,e){var i={},n=e[0];if(null==t)return i;z(n)?(e.length>1&&(n=Vt(n,e[1])),e=pt(t)):(n=gi,e=we(e,!1,!1),t=Object(t));for(var s=0,r=e.length;s<r;s++){var a=e[s],o=t[a];n(o,a,t)&&(i[a]=o)}return i}),vi=C(function(t,e){var i,n=e[0];return z(n)?(n=Se(n),e.length>1&&(i=e[1])):(e=We(we(e,!1,!1),String),n=function(t,i){return!Ze(e,i)}),mi(t,n,i)});function bi(t,e,i){return c.call(t,0,Math.max(0,t.length-(null==e||i?1:e)))}function yi(t,e,i){return null==t||t.length<1?null==e||i?void 0:[]:null==e||i?t[0]:bi(t,t.length-e)}function wi(t,e,i){return c.call(t,null==e||i?1:e)}function _i(t,e,i){return null==t||t.length<1?null==e||i?void 0:[]:null==e||i?t[t.length-1]:wi(t,Math.max(0,t.length-e))}function xi(t){return Ke(t,Boolean)}function Ci(t,e){return we(t,e,!1)}var ki=C(function(t,e){return e=we(e,!0,!0),Ke(t,function(t){return!Ze(e,t)})}),Ti=C(function(t,e){return ki(t,e)});function Ei(t,e,i,n){A(e)||(n=i,i=e,e=!1),null!=i&&(i=Kt(i,n));for(var s=[],r=[],a=0,o=st(t);a<o;a++){var l=t[a],c=i?i(l,a,t):l;e&&!i?(a&&r===c||s.push(l),r=c):i?Ze(r,c)||(r.push(c),s.push(l)):Ze(s,l)||s.push(l)}return s}var Ai=C(function(t){return Ei(we(t,!0,!0))});function Si(t){for(var e=[],i=arguments.length,n=0,s=st(t);n<s;n++){var r=t[n];if(!Ze(e,r)){var a;for(a=1;a<i&&Ze(arguments[a],r);a++);a===i&&e.push(r)}}return e}function Di(t){for(var e=t&&ii(t,st).length||0,i=Array(e),n=0;n<e;n++)i[n]=ti(t,n);return i}var Ii=C(Di);function Mi(t,e){for(var i={},n=0,s=st(t);n<s;n++)e?i[t[n]]=e[n]:i[t[n][0]]=t[n][1];return i}function Ni(t,e,i){null==e&&(e=t||0,t=0),i||(i=e<t?-1:1);for(var n=Math.max(Math.ceil((e-t)/i),0),s=Array(n),r=0;r<n;r++,t+=i)s[r]=t;return s}function Oi(t,e){if(null==e||e<1)return[];for(var i=[],n=0,s=t.length;n<s;)i.push(c.call(t,n,n+=e));return i}function Pi(t,e){return t._chain?ct(e).chain():e}function Li(t){return Ue(St(t),function(e){var i=ct[e]=t[e];ct.prototype[e]=function(){var t=[this._wrapped];return l.apply(t,arguments),Pi(this,i.apply(ct,t))}}),ct}Ue(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var e=r[t];ct.prototype[t]=function(){var i=this._wrapped;return null!=i&&(e.apply(i,arguments),"shift"!==t&&"splice"!==t||0!==i.length||delete i[0]),Pi(this,i)}}),Ue(["concat","join","slice"],function(t){var e=r[t];ct.prototype[t]=function(){var t=this._wrapped;return null!=t&&(t=e.apply(t,arguments)),Pi(this,t)}});var Ri=Li({__proto__:null,VERSION:n,restArguments:C,isObject:k,isNull:T,isUndefined:E,isBoolean:A,isElement:S,isString:I,isNumber:M,isDate:N,isRegExp:O,isError:P,isSymbol:L,isArrayBuffer:R,isDataView:W,isArray:V,isFunction:z,isArguments:K,isFinite:Q,isNaN:G,isTypedArray:nt,isEmpty:ot,isMatch:lt,isEqual:ht,isMap:_t,isWeakMap:xt,isSet:Ct,isWeakSet:kt,keys:at,allKeys:pt,values:Tt,pairs:Et,invert:At,functions:St,methods:St,extend:It,extendOwn:Mt,assign:Mt,defaults:Nt,create:Pt,clone:Lt,tap:Rt,get:Ft,has:Ht,mapObject:Qt,identity:Bt,constant:J,noop:Gt,toPath:$t,property:Wt,propertyOf:Jt,matcher:Ut,matches:Ut,times:Zt,random:Xt,now:te,escape:ne,unescape:se,templateSettings:re,template:de,result:he,uniqueId:fe,chain:ge,iteratee:qt,partial:ve,bind:be,bindAll:_e,memoize:xe,delay:Ce,defer:ke,throttle:Te,debounce:Ee,wrap:Ae,negate:Se,compose:De,after:Ie,before:Me,once:Ne,findKey:Oe,findIndex:Le,findLastIndex:Re,sortedIndex:$e,indexOf:ze,lastIndexOf:Fe,find:He,detect:He,findWhere:Be,each:Ue,forEach:Ue,map:We,collect:We,reduce:Ye,foldl:Ye,inject:Ye,reduceRight:qe,foldr:qe,filter:Ke,select:Ke,reject:Qe,every:Ge,all:Ge,some:Je,any:Je,contains:Ze,includes:Ze,include:Ze,invoke:Xe,pluck:ti,where:ei,max:ii,min:ni,shuffle:oi,sample:ai,sortBy:li,groupBy:ui,indexBy:di,countBy:hi,partition:pi,toArray:ri,size:fi,pick:mi,omit:vi,first:yi,head:yi,take:yi,initial:bi,last:_i,rest:wi,tail:wi,drop:wi,compact:xi,flatten:Ci,without:Ti,uniq:Ei,unique:Ei,union:Ai,intersection:Si,difference:ki,unzip:Di,transpose:Di,zip:Ii,object:Mi,range:Ni,chunk:Oi,mixin:Li,default:ct});Ri._=Ri,e.VERSION=n,e._=Ri,e._escape=ne,e._unescape=se,e.after=Ie,e.allKeys=pt,e.before=Me,e.bind=be,e.bindAll=_e,e.chain=ge,e.chunk=Oi,e.clone=Lt,e.compact=xi,e.compose=De,e.constant=J,e.contains=Ze,e.countBy=hi,e.create=Pt,e.debounce=Ee,e.defaults=Nt,e.defer=ke,e.delay=Ce,e.difference=ki,e.each=Ue,e.every=Ge,e.extend=It,e.extendOwn=Mt,e.filter=Ke,e.find=He,e.findIndex=Le,e.findKey=Oe,e.findLastIndex=Re,e.findWhere=Be,e.first=yi,e.flatten=Ci,e.functions=St,e.get=Ft,e.groupBy=ui,e.has=Ht,e.identity=Bt,e.indexBy=di,e.indexOf=ze,e.initial=bi,e.intersection=Si,e.invert=At,e.invoke=Xe,e.isArguments=K,e.isArray=V,e.isArrayBuffer=R,e.isBoolean=A,e.isDataView=W,e.isDate=N,e.isElement=S,e.isEmpty=ot,e.isEqual=ht,e.isError=P,e.isFinite=Q,e.isFunction=z,e.isMap=_t,e.isMatch=lt,e.isNaN=G,e.isNull=T,e.isNumber=M,e.isObject=k,e.isRegExp=O,e.isSet=Ct,e.isString=I,e.isSymbol=L,e.isTypedArray=nt,e.isUndefined=E,e.isWeakMap=xt,e.isWeakSet=kt,e.iteratee=qt,e.keys=at,e.last=_i,e.lastIndexOf=Fe,e.map=We,e.mapObject=Qt,e.matcher=Ut,e.max=ii,e.memoize=xe,e.min=ni,e.mixin=Li,e.negate=Se,e.noop=Gt,e.now=te,e.object=Mi,e.omit=vi,e.once=Ne,e.pairs=Et,e.partial=ve,e.partition=pi,e.pick=mi,e.pluck=ti,e.property=Wt,e.propertyOf=Jt,e.random=Xt,e.range=Ni,e.reduce=Ye,e.reduceRight=qe,e.reject=Qe,e.rest=wi,e.restArguments=C,e.result=he,e.sample=ai,e.shuffle=oi,e.size=fi,e.some=Je,e.sortBy=li,e.sortedIndex=$e,e.tap=Rt,e.template=de,e.templateSettings=re,e.throttle=Te,e.times=Zt,e.toArray=ri,e.toPath=$t,e.union=Ai,e.uniq=Ei,e.uniqueId=fe,e.unzip=Di,e.values=Tt,e.where=ei,e.without=Ti,e.wrap=Ae,e.zip=Ii},126:(t,e,i)=>{var n=i(171);t.exports=n._}},i={};function n(t){var s=i[t];if(void 0!==s)return s.exports;var r=i[t]={exports:{}};return e[t].call(r.exports,r,r.exports,n),r.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};return(()=>{"use strict";n.r(s),n.d(s,{$:()=>jt,AvatarBadged:()=>Wt,AvatarEl:()=>Xt,AvatarGroupEl:()=>ue,CalendarWidget:()=>Pc,CheckboxMultiselectEl:()=>la,DatePicker:()=>$c,DropdownEl:()=>Yn,FancyFileInput:()=>ua,FocusManager:()=>Ru,Header:()=>Ac,I18n:()=>I18n,InlineDialog2:()=>$u,InlineDialogEl:()=>Oo,ItemCheckboxEl:()=>Un,ItemLinkEl:()=>Bn,ItemRadioEl:()=>Wn,LabelEl:()=>fa,LayerManager:()=>ju,MessageEl:()=>es,NavigationEl:()=>Ro,ProgressBarEl:()=>Ko,ProgressiveDataSet:()=>zu,RestfulTable:()=>su,SectionEl:()=>Vn,SelectEl:()=>Za,SpinnerEl:()=>_e,TabContainerEl:()=>bl,TabItemEl:()=>yl,TabPaneEl:()=>wl,ToggleEl:()=>fo,_addID:()=>sd,banner:()=>he,bind:()=>C,clone:()=>Fu,contextPath:()=>rd,debounce:()=>Hu,debounceImmediate:()=>Bu,dialog2:()=>Me,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:()=>Zu,populateParameters:()=>Ju,progressBars:()=>Go,responsiveheader:()=>Xu,select:()=>td,sidebar:()=>Eu,tablessortable:()=>ed,tabs:()=>id,toInit:()=>Ft,trigger:()=>T,unbind:()=>k,undim:()=>nd,version:()=>w,warn:()=>g,whenIType:()=>Lu});var t=n(687),e=n.n(t);const i=window.jQuery||window.Zepto||e(),r="AJS",a="I18n";function o(){"object"!=typeof window[r]&&(window[r]={})}function l(t,e){return o(),window[r][t]=e}var c=n(714),u=n.n(c);function d(t){let i;return{type:u().type.CLASSNAME,attached:function(n){!function(t,e){let i=!1;if(e(()=>{i=!0}),i)return;const n=new MutationObserver(t=>{(function(t){for(const e of t)if("childList"===e.type)return!0;return!1})(t)&&e(()=>n.disconnect())});n.observe(t,{childList:!0})}(n,s=>{i=s;const r=e()(`input[type=${t}]`,n);r.each(function(t,i){e()('<span class="aui-form-glyph"></span>').insertAfter(i)});r.length>0&&i()})},detached:function(t){e()(".aui-form-glyph",t).remove(),i&&i()}}}function h(t,e){var n=i(t);return void 0===e&&(e=!0),n.each(function(){this.disabled=!e})}function p(t){return function(){"undefined"!=typeof console&&console[t]&&Function.prototype.apply.call(console[t],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 t=i(this).siblings(".field-help");t.hasClass("hidden")?t.removeClass("hidden"):t.addClass("hidden")})});var f=p("log"),g=p("warn"),m=p("error");function v(t){var e=/'(?!')/g,i=/^\d+$/,n=/^(\d+),number$/,s=/^(\d+),choice,(.+)/,r=/^(\d+)([#<])(.+)/,a=function(e,a){var o,l="";if(o=e.match(i))l=a.length>++e?a[e]:"";else if(o=e.match(n))l=a.length>++o[1]?a[o[1]]:"";else if(o=e.match(s)){var c=a.length>++o[1]?a[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(r);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 "'+e+'" from message "'+t+'" is invalid.');var b=[l].concat(Array.prototype.slice.call(a,1));l=v.apply(null,b)}}return l},o=function(t){for(var e=!1,i=-1,n=0,s=0;s<t.length;s++){var r=t.charAt(s);if("'"==r&&(e=!e),!e)if("{"===r)0===n&&(i=s),n++;else if("}"===r&&n>0&&0===--n){var a=[];return a.push(t.substring(0,s+1)),a.push(t.substring(0,i)),a.push(t.substring(i+1,s)),a}}return null};return function(t){var i=arguments,n="";if(!t)return n;for(var s=o(t);s;)t=t.substring(s[0].length),n+=s[1].replace(e,""),n+=a(s[2],i),s=o(t);return n+=t.replace(e,"")}.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(t,e,i){try{return"function"==typeof i?x.on(t,_,e,i):x.on(t,_,e)}catch(t){f("error while binding: ",t.message)}}function k(t,e){try{return x.off(t,e)}catch(t){f("error while unbinding: ",t.message)}}function T(t,e){try{return x.trigger(t,e)}catch(t){f("error while triggering: "+t.message)}}l("bind",C),l("trigger",T),l("unbind",k);const E={"<":"&lt;",">":"&gt;","&":"&amp;",'"':"&quot;","'":"&#39;","`":"&#96;"},A=new RegExp(`[${Object.keys(E).join("")}]`,"g");function S(t){return t.replace(A,t=>E[t])}l("escapeHtml",S);const D=S;var I=Object.prototype.hasOwnProperty,M=[];function N(){"undefined"!=typeof console&&console.warn&&Function.prototype.apply.call(console.warn,console,arguments)}function O(t,e){if("function"==typeof t)return t;var i=!1;return e=e||{},function(n){var s,r=function(t){var e=new Error,i=e.stack||e.stacktrace,n=i&&i.replace(/^Error\n/,"")||"";return n?(n=n.split("\n"))[t+2]:n}(n||1)||"";if(!i||-1===M.indexOf(r)){M.push(r),i=!0;var a="DEPRECATED "+(e.deprecationType+" "||0)+"- "+(s=t,((s+="")?s.charAt(0).toUpperCase()+s.substring(1):"")+" has been deprecated")+(e.sinceVersion?" since "+e.sinceVersion:"")+" and will be removed in "+(e.removeInVersion||"a future release")+".";e.alternativeName&&(a+=" Use "+e.alternativeName+" instead. "),e.extraInfo&&(a+=" "+e.extraInfo),r=""===r?" \n No stack trace of the deprecated usage is available in your current browser.":" \n "+r,e.extraObject?N(a+="\n",e.extraObject,r):N(a,r)}}}function P(t,e){var n=t.options.displayName;n=n?" ("+n+")":"";var s=i.extend({deprecationType:"CSS",extraObject:e},t.options);O("'"+t.selector+"' pattern"+n,s)()}function L(t,e,i){(i=i||{}).deprecationType=i.deprecationType||"JS";var n=O(e||t.name||"this function",i);return function(){return n(),t.apply(this,arguments)}}function R(t,e,n){(n=n||{}).deprecationType=n.deprecationType||"JS";var s=L(t,e,n);return s.prototype=t.prototype,i.extend(s,t),s}var $=!1;try{Object.defineProperty&&(Object.defineProperty({},"blam",{get:function(){},set:function(){}}),$=!0)}catch(t){}function j(t,e,i){if("function"==typeof t[e]){(i=i||{}).deprecationType=i.deprecationType||"JS";var n=i.displayName||e;t[e]=L(t[e],n,i)}else!function(t,e,i){if($){var n=t[e];(i=i||{}).deprecationType=i.deprecationType||"JS";var s=O(i.displayName||e,i);Object.defineProperty(t,e,{get:function(){return s(),n},set:function(t){return n=t,s(),t}})}}(t,e,i)}function z(t){return function(e){for(var i={selector:e,options:t||{}},n=document.querySelectorAll(e),s=0;s<n.length;s++)P(i,n[s]);!function(t){if(H.push(t),!B){B=new MutationObserver(function(t){t.forEach(function(t){for(var e=t.addedNodes,i=0;i<e.length;i++){var n=e[i];1===n.nodeType&&H.forEach(F(n))}})});var e={childList:!0,subtree:!0};B.observe(document,e)}}(i)}}function F(t){return function(e){var i,n;i=t,n=e.selector,(i.matches||i.msMatchesSelector||i.webkitMatchesSelector||i.mozMatchesSelector||i.oMatchesSelector).call(i,n)&&P(e,t)}}const H=[];let B;function U(t){t=t.jquery?t[0]:t,window.getComputedStyle(t,null).getPropertyValue("left")}var W;function V(t,e){W||(W=document.body),!0===t&&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"),e&&V.$dim.css({zIndex:e}),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:L,construct:R,css:function(t,e){"string"==typeof t&&(t=[t]),t.forEach(z(e))},prop:j,obj:function(t,e,n){for(var s in n=n||{},t)I.call(t,s)&&(n.deprecationType=n.deprecationType||"JS",n.displayName=e+s,n.alternativeName=n.alternativeNamePrefix&&n.alternativeNamePrefix+s,j(t,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(t,e){window.define&&(0,window.define)(t,[],function(){return e});return e}const J=u().noConflict();const Z=function(t){return{set:function(e,i){void 0===t._state&&(t._state={}),t._state[e]=i},get:function(e){if(t._state)return t._state[e]}}};function X(t){return Z(t).get("last-trigger")||nt(t)[0]}function tt(t,e){var i=e&&e.nodeType&&1===e.nodeType;return Z(t).set("last-trigger",!!i&&e)}function et(t,e){var i=X(t);i&&e(i)}function it(t,e){return Array.prototype.forEach.call(nt(t),e)}function nt(t){const e=window.frames,i=`[aria-controls="${t.id}"]`;let n=[],s=!1;for(let t=0;t<e.length;t++)try{let s=e[t].document.querySelectorAll(i);n=n.concat(Array.prototype.slice.apply(s))}catch(t){s=!0}const r=document.querySelectorAll(i),a=Array.prototype.slice.apply(r).concat(n);return 0===a.length&&!0===s&&g([`No triggers found for element (${t.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(" ")),a}function st(t){return document.getElementById(t.getAttribute("aria-controls"))}function rt(t){return"true"!==t.getAttribute("aria-disabled")}function at(t,e){if(rt(t)){var i=st(t);i&&i.message&&i.message(e)}}const ot={click(t,e){(function(t,e){var n=i(e).closest("a[href]",t);return!!n.length&&n[0]!==t})(t,e.target)||(at(t,e),e.preventDefault())},keydown(t,e){const i=e.data;i!==Q.ENTER&&i!==Q.SPACE||(e.preventDefault(),e.type="click",ot.click(t,e))},mouseenter(t,e){at(t,e)},mouseleave(t,e){at(t,e)},focus(t,e){at(t,e)},blur(t,e){(function(t,e){let n=e.relatedTarget;return n||(n=document.activeElement),i(st(t)).find(n).length>0})(t,e)||at(t,e)}};Object.keys(ot).forEach(function(t){const e=ot[t];i(document).on(`${t}.aui-trigger`,"[data-aui-trigger]",function(i){e(i.currentTarget,function(t,e){const{target:i,currentTarget:n,relatedTarget:s}=t,{keyCode:r,which:a}=t;return{type:e,data:"keydown"===e?a||r:void 0,target:i,currentTarget:n,relatedTarget:s,preventDefault:()=>t.preventDefault()}}(i,t))})}),J("data-aui-trigger",{type:J.type.ATTRIBUTE,prototype:{disable:function(){this.setAttribute("aria-disabled","true")},enable:function(){this.setAttribute("aria-disabled","false")},isEnabled:function(){return rt(this)}}}),G("aui/trigger"),function(){function t(t){return"visible"===i.css(t,"visibility")&&i(t).is(":visible")}function e(e,n){var s=e.nodeName.toLowerCase();if("aui-select"===s)return!0;if("area"===s){var r=e.parentNode,a=r.name,o=i("img[usemap=#"+a+"]").get();return!(!e.href||!a||"map"!==r.nodeName.toLowerCase())&&(o&&t(o))}var l=/input|select|textarea|button|object|iframe/.test(s),c="a"===s,u=e.href||n;return(l?!e.disabled:c?u:n)&&t(e)}i.extend(i.expr.pseudos,{"aui-focusable":t=>e(t,!isNaN(i.attr(t,"tabindex"))),"aui-tabbable":function(t){var n=i.attr(t,"tabindex"),s=isNaN(n);return(s||n>=0)&&e(t,!s)}})}();var lt="_aui-focus-restore";function ct(t){return t.is(".aui-dialog2")||t.is('[aui-focus-trap="true"]')}function ut(){this._focusTrapStack=[],this._handler}function dt(t,e){if(0===t.length)return;if(e.keyCode!==Q.TAB)return;const n=e.shiftKey?-1:1,s=e.target,r=t[t.length-1],a=r.find(":aui-tabbable");if(!a.length&&ct(r)&&(r.trigger("focus"),e.preventDefault()),!a.length)return;const o=a.index(s);let l=-1;if(o>-1)l=o;else{let t;if(t=i(s).closest(".aui-layer"),!t.length){t=r.find("[aria-controls]").map(function(){return document.getElementById(this.getAttribute("aria-controls"))}).has(s)}if(t.length){const e=t.find(":aui-tabbable"),i=e.index(s)+n;if(!(i<0||i>=e.length))return;{const e=X(t.get(0));l=a.index(e)}}}l=l>-1?function(t,e,i,n){function s(t){return(t+i)%n.length}let r=s(e);if("radio"===t.type&&t.name)for(;n.eq(r).attr("name")===t.name&&r!==e;)r=s(r);if(r!==e&&"radio"===n.eq(r).attr("type")){const t=n.eq(r).attr("name"),e=n.filter(function(){return"radio"===this.type&&this.name===t}),s=e.filter(":checked");let a;a=s.length>0?s.first():i>0?e.first():e.last(),r=n.index(a)}return r}(s,l,n,a):0,"IFRAME"!==a.get(l).nodeName&&(a.eq(l).trigger("focus"),e.preventDefault())}let ht;function pt(){return ht||(ht=new ut),ht}ut.defaultFocusSelector=":aui-tabbable",ut.prototype.enter=function(t,e){if(function(t,e=document.activeElement){t.data(lt,e)}(t,e),"false"!==t.attr("data-aui-focus")){var n=t.attr("data-aui-focus-selector")||ut.defaultFocusSelector;(t.is(n)?t:t.find(n)).first().trigger("focus")}ct(t)&&(this._focusTrapStack.push(t),this._handler||(this._handler=dt.bind(void 0,this._focusTrapStack),i(document).on("keydown.aui-focus-manager",this._handler)))},ut.prototype.exit=function(t){ct(t)&&(this._focusTrapStack.splice(this._focusTrapStack.indexOf(t),1),this._focusTrapStack.length||(i(document).off(".aui-focus-manager",this._handler),delete this._handler));var e=document.activeElement;if(t[0]===e||t.has(e).length){i(e).trigger("blur");var n=function(t){return i(t.data(lt))}(t);n.length&&(t.removeData(lt),n.trigger("focus"))}},pt.global=pt(),l("FocusManager",pt);const ft=pt;function gt(t,e){var n="_aui-widget-"+t;return function(t,s){var r,a;i.isPlainObject(t)?a=t:(r=t,a=s);var o,l=r&&i(r);return l&&l.data(n)?o=l.data(n):(l=(o=new e(l,a||{})).$el).data(n,o),o}}let mt;!function(){if(window.CustomEvent)try{const t=new window.CustomEvent("name",{bubbles:!1,cancelable:!0,detail:{x:"y"}});if(t.preventDefault(),!0!==t.defaultPrevented)throw new Error("Could not prevent default");if("name"!==t.type)throw new Error("Could not set custom name");if("y"!==t.detail.x)throw new Error("Could not set detail");return void(mt=window.CustomEvent)}catch(t){}mt=function(t,e){e=e||{bubbles:!1,cancelable:!1,detail:void 0};var i=document.createEvent("CustomEvent");i.initCustomEvent(t,!!e.bubbles,!!e.cancelable,e.detail);var n=i.preventDefault;return i.preventDefault=function(){n.call(this);try{Object.defineProperty(this,"defaultPrevented",{get:function(){return!0}})}catch(t){this.defaultPrevented||(this.defaultPrevented=!0)}},i},mt.prototype=window.Event.prototype}();const vt=mt,bt="_aui-internal-layer-",yt="_aui-internal-layer-global-";var wt=i(document);function _t(t,e,i,n){!function(t,e){var i=window.getComputedStyle(t).transitionProperty;return!!i&&i.indexOf(e)>-1}(t,e)?i.call(t):t.addEventListener("transitionend",function s(r){e===r.propertyName&&(i.call(t),n&&t.removeEventListener("transitionend",s))})}function xt(t,e,n){var s=i.Event(bt+e),r=i.Event(yt+e),a=new vt("aui-layer-"+n,{bubbles:!0,cancelable:!0}),o=new vt("aui-"+n,{bubbles:!0,cancelable:!0});return t.trigger(s),t.trigger(r,[t]),t[0].dispatchEvent(a),t[0].dispatchEvent(o),!(s.isDefaultPrevented()||r.isDefaultPrevented()||a.defaultPrevented||o.defaultPrevented)}function Ct(t){this.$el=i(t||'<div class="aui-layer"></div>'),this.el=this.$el[0],this.$el.addClass("aui-layer")}function kt(t,e){return t.getAttribute(e)||t.getAttribute("data-aui-"+e)}Ct.prototype={below:function(){return Mt.global.item(Mt.global.indexOf(this.$el)-1)},above:function(){return Mt.global.item(Mt.global.indexOf(this.$el)+1)},changeSize:function(t,e){return this.$el.css("width",t),this.$el.css("height","content"===e?"":e),this},on:function(t,e){return this.$el.on(bt+t,e),this},off:function(t,e){return this.$el.off(bt+t,e),this},show:function(){return this.isVisible()||Mt.global.indexOf(this.$el)>-1?this:xt(this.$el,"beforeShow","show")?("none"===this.$el.css("display")&&this.$el.css("display",""),Mt.global.push(this.$el),this):this},hide:function(){if(!this.isVisible())return this;const t=this;return _t(this.$el.get(0),"opacity",function(){t.isVisible()||(this.style.display="none")},!0),Mt.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 t=kt(this.el,"modal"),e=this.el.hasAttribute("persistent");return"true"===t||e},getDOMContainer:function(){let t=kt(this.el,"dom-container");return t&&(t=document.querySelector(t)||document.body),t},_hideLayer:function(t){return!(t&&!xt(this.$el,"beforeHide","hide"))&&((this.isPersistent()||this.isBlanketed())&&ft.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(bt+"hide"),this.$el.trigger(yt+"hide",[this.$el]),!0)},_showLayer:function(t){let e=this.getDOMContainer();if(this.isBlanketed()||e){let t=e||"body";this.$el.parent().is(t)||this.$el.appendTo(t)}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",t),this.el.removeAttribute("hidden"),this.el.setAttribute("open",""),this.isBlanketed()&&ft.global.enter(this.$el),this.$el.trigger(bt+"show"),this.$el.trigger(yt+"show",[this.$el])}};var Tt=gt("layer",Ct);function Et(t,e){for(var i=t.length;i--;)if(e(t[i]))return i;return-1}function At(t,e){return Et(t,function(t){return t[0]===e[0]})}function St(t){return Et(t,function(t){return Tt(t).isBlanketed()})}function Dt(t,e){var i=St(t);e!==i&&(i>-1?V(!1,t[i].css("z-index")-20):Y())}function It(t,e,i,n=!0){if(e<0)return[!1,null];for(var s,r=t.length-1;r>=e;r--){s=t[r];var a=Tt(s);if(i||!a.isPersistent()){if(!a._hideLayer(n))return[!1,s];t.splice(r,1)}}return[!0,s]}function Mt(){this._stack=[]}function Nt(t){if(!t.length)return!1;var e=document.getElementById(t.attr("aria-controls"));return Mt.global.indexOf(e)>-1}Tt.on=function(t,e,i){return wt.on(yt+t,e,i),this},Tt.off=function(t,e,i){return wt.off(yt+t,e,i),this},Mt.prototype={push:function(t){var e=t instanceof i?t:i(t);if(At(this._stack,e)>=0)throw new Error("The given element is already an active layer.");this.popLayersBeside(e);var n=Tt(e),s=function(t){var e;if(t.length){var i=t[t.length-1],n=parseInt(i.css("z-index"),10);e=(isNaN(n)?0:n)+100}else e=0;return Math.max(3e3,e)}(this._stack);return n._showLayer(s),n.isBlanketed()&&V(!1,s-20),this._stack.push(e),this},popLayersBeside:function(t){const e=i(t).get(0);if(!function(t){return!!X(t)}(e)){var n=St(this._stack);return void It(this._stack,++n,!1)}const s=function(t){var e=X(t);if(e)return i(e).closest(".aui-layer").get(0)}(e);if(s){let t=this.indexOf(s);It(this._stack,++t,!1)}else It(this._stack,0,!1)},indexOf:function(t){return At(this._stack,i(t))},item:function(t){return this._stack[t]},hideAll:function(){return this._stack.slice().reverse().forEach(function(t){let e=Tt(t);e.isBlanketed()||e.isPersistent()||e.hide()}),this},getNextLowerNonPersistentOrBlanketedLayer:function(t){var e,n=t instanceof i?t:i(t),s=At(this._stack,n);if(s<0)return null;for(s--;s>=0;){e=this._stack[s];var r=Tt(e);if(!r.isPersistent()||r.isBlanketed())return e;s--}return null},getNextHigherNonPeristentAndNonBlanketedLayer:function(t){var e,n=t instanceof i?t:i(t),s=At(this._stack,n);if(s<0)return null;for(s++;s<this._stack.length;){e=this._stack[s];var r=Tt(e);if(!r.isPersistent()&&!r.isBlanketed())return e;s++}return null},getTopLayer:function(){return this._stack[this._stack.length-1]||null},getTopOpenLayer:function(){return this._stack.slice().reverse().find(t=>t.attr("open"))||null},popUntil:function(t,e=!1){var n=t instanceof i?t:i(t),s=At(this._stack,n);if(-1===s)return null;const r=St(this._stack),a=Tt(n),[o,l]=It(this._stack,s+1,a.isBlanketed(),e);return o&&a._hideLayer(e)?(this._stack.splice(s,1),Dt(this._stack,r),n):l},popTopIfNonPersistent:function(t=!1){var e=this.getTopLayer(),i=Tt(e);return!e||i.isPersistent()?null:this.popUntil(e,t)},popUntilTopBlanketed:function(t=!1){var e=St(this._stack);if(e<0)return null;var i=this._stack[e];if(Tt(i).isPersistent()){var n=this.getNextHigherNonPeristentAndNonBlanketedLayer(i);if(n){var s=At(this._stack,n);return It(this._stack,s,!0,t),n}return null}return It(this._stack,e,!0),Dt(this._stack,e),i},popUntilTopPersistent:function(t=!1){var e=Mt.global.getTopLayer();if(e){var i,n=St(this._stack),s=Tt(e);if(s.isPersistent()){if(s.isBlanketed())return;if(e=Mt.global.getNextLowerNonPersistentOrBlanketedLayer(e),s=Tt(e),!e||s.isPersistent())return;i=At(this._stack,e),It(this._stack,i,!0,t),Dt(this._stack,n)}else i=At(this._stack,e),It(this._stack,i,!0,t),Dt(this._stack,n)}}},wt.on("keydown",function(t){t.keyCode===Q.ESCAPE&&(Mt.global.popUntilTopPersistent(!0),t.preventDefault())}),wt.on("click",".aui-blanket",function(t){Mt.global.popUntilTopBlanketed(!0)&&t.preventDefault()}),wt.on("click",function(t){var e=i(t.target);if(!e.closest(".aui-blanket").length){var n=e.closest("[aria-controls]"),s=e.closest(".aui-layer");if(!s.length&&!Nt(n)){const e=i.Event("aui-close-layers-on-outer-click");return wt.trigger(e),e.isDefaultPrevented()?void t.preventDefault():void Mt.global.hideAll()}if(!Nt(n)&&s.length){var r=Mt.global.getNextHigherNonPeristentAndNonBlanketedLayer(s);r&&Tt(r).hide()}}}),Mt.global=new Mt,Tt.Manager=Mt,l("layer",Tt);const Ot=Tt;l("LayerManager",Ot.Manager);Ot.Manager;const Pt={sinceVersion:"9.0.0",removeInVersion:"10.0.0"},Lt=l("params",new Proxy({},{get:function(t,e){return O("AJS.params",Pt)(),t[e]}}));const Rt=L(function(t){t||(t=Lt),i(".parameters input").each(function(){var e=this.value,n=this.title||this.id;i(this).hasClass("list")?t[n]?t[n].push(e):t[n]=[e]:t[n]=e.match(/^(tru|fals)e$/i)?"true"===e.toLowerCase():e})},"populateParameters",{sinceVersion:"9.0.0",removeInVersion:"10.0.0"});l("populateParameters",Rt);const $t=Rt;i(function(){var t=i("body");t.data("auiVersion")||t.attr("data-aui-version",w),$t()}),l("$",i);const jt=i;function zt(t){return i.when(i.ready).then(function(){setTimeout(function(){try{t.call(this,i)}catch(e){m("Failed to run init function: "+e.message,t,e,e.stack)}},1)}),this}l("toInit",zt);const Ft=zt;n(547);const Ht={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(t,...e){return Object.prototype.hasOwnProperty.call(this.keys,t)?b.apply(null,[this.keys[t]].concat(e)):t}},I18n=function(t){o(),"object"!=typeof window[r][a]&&(window[r][a]={});const e=window[r][a];for(const i in t)void 0===e[i]&&(e[i]=t[i]);return e}(Ht),Bt="bottom-end",Ut=["top-start","top-end","bottom-start","bottom-end"],Wt=J("aui-avatar-badged",{attributes:{placement:{value:Bt,fallback(t,{newValue:e,oldValue:i}){((t,e,i)=>{const n=Ut.includes(e)?e:Bt;i&&t.classList.remove(`aui-avatar-badged-${i}`),t.classList.add(`aui-avatar-badged-${n}`)})(t,e,i)}}},created:function(t){t.classList.add("aui-avatar-badged")}});var Vt=n(2),Yt=n.n(Vt);const qt=new Map([["project","data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB2aWV3Qm94PSIwIDAgMTI4IDEyOCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHJvbGU9ImltZyIgYXJpYS1sYWJlbD0ieHhsYXJnZSI+CiAgICA8Zz4KICAgICAgICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMTI4IiBoZWlnaHQ9IjEyOCIgZmlsbD0iIzg5OTNhNCIgLz4KICAgICAgICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxOS4wMDAwMDAsIDMyLjAwMDAwMCkiPgogICAgICAgICAgICA8cGF0aCBmaWxsPSIjZmZmIgogICAgICAgICAgICAgICAgZD0iTTE4LjI1LDMyLjUgTDU0LjU4MzMzMzMsMzIuNSBMNTQuNTgzMzMzMywyMy40MTY2NjY3IEwxOC4yNSwyMy40MTY2NjY3IEwxOC4yNSwzMi41IFogTTkuMTY2NjY2NjcsMTguODMzMTE2NiBDOS4xNjY2NjY2NywxNi4zNDc5NTQ5IDExLjIzNjU4MSwxNC4zMzMzMzMzIDEzLjcxOTU2NjIsMTQuMzMzMzMzMyBMNTkuMTEzNzY3MSwxNC4zMzMzMzMzIEM2MS42MjgyNjQxLDE0LjMzMzMzMzMgNjMuNjY2NjY2NywxNi4zODE1MTIzIDYzLjY2NjY2NjcsMTguODMzMTE2NiBMNjMuNjY2NjY2Nyw0MS41ODMzMzMzIEw5LjE2NjY2NjY3LDQxLjU4MzMzMzMgTDkuMTY2NjY2NjcsMTguODMzMTE2NiBaIiAvPgogICAgICAgICAgICA8cGF0aCBmaWxsPSIjZmZmIgogICAgICAgICAgICAgICAgZD0iTTE4LjI1LDkuODEzODM2ODIgQzE4LjI1LDQuNzg1MDA2MSAyMi4zMjk2MDAzLDAuNzA4MzMzMzMzIDI3LjMyMzg1NTQsMC43MDgzMzMzMzMgTDM2LjQyNjE0NDYsMC43MDgzMzMzMzMgQzQxLjQzNzQ5NjUsMC43MDgzMzMzMzMgNDUuNSw0Ljc2ODEyODI1IDQ1LjUsOS44MTM4MzY4MiBMNDUuNSwyMy40MTY2NjY3IEwxOC4yNSwyMy40MTY2NjY3IEwxOC4yNSw5LjgxMzgzNjgyIFogTTM2LjQxNjY2NjcsOS44MTM4MzY4MiBDMzYuNDE2NjY2Nyw5Ljc5ODAzMzE1IDM2LjQxODQ3NDgsOS43OTMwMzc4NCAzNi40MjA3NTE1LDkuNzkxNjY2NjcgTDI3LjMyMzg1NTQsOS43OTE2NjY2NyBDMjcuMzQ0NzIyNCw5Ljc5MTY2NjY3IDI3LjMzMzMzMzMsOS44MDMwODA1OSAyNy4zMzMzMzMzLDkuODEzODM2ODIgTDI3LjMzMzMzMzMsMTQuMzMzMzMzMyBMMzYuNDE2NjY2NywxNC4zMzMzMzMzIEwzNi40MTY2NjY3LDkuODEzODM2ODIgWiIgLz4KICAgICAgICAgICAgPHBhdGggZmlsbD0iI2ZmZiIKICAgICAgICAgICAgICAgIGQ9Ik0xMS40Mzg2NTMyLDU1LjIwODMzMzMgTDc0Ljk5NTM1NjIsNTUuMjA4MzMzMyBMNzkuNTQ1MjI0Miw0MS41ODMzMzMzIEw5LjgwNDQ5NzUyLDQxLjU4MzMzMzMgTDExLjQzODY1MzIsNTUuMjA4MzMzMyBaIE0wLjEwNDg1NDcsMzYuOTg3NTQxIEMtMC4xOTIzOTk3NzUsMzQuNTA5MTQwNSAxLjU4NjU3MTcsMzIuNSA0LjA5NTAyODM5LDMyLjUgTDg3LjYyNjQ3MzUsMzIuNSBDOTAuMTI3NDQwMSwzMi41IDkxLjUyMjU2NTYsMzQuMzkzNTA2IDkwLjcyMzEwNDcsMzYuNzg3NTY1NiBMODIuOTcwMjg0Niw2MC4wMDQxMDEgQzgyLjE3OTU0MDIsNjIuMzcyMDU4MiA3OS41Mjc5NDQ1LDY0LjI5MTY2NjcgNzYuOTk4NTMzOCw2NC4yOTE2NjY3IEw3LjkxOTYzOTI0LDY0LjI5MTY2NjcgQzUuNDEyMjc2NzMsNjQuMjkxNjY2NyAzLjE0MTEzNTcxLDYyLjMwMjk1NTUgMi44NDE0MzA5Nyw1OS44MDQxMjU3IEwwLjEwNDg1NDcsMzYuOTg3NTQxIFoiIC8+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4K"],["user","data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB2aWV3Qm94PSIwIDAgMTI4IDEyOCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHJvbGU9ImltZyIgYXJpYS1sYWJlbD0ieHhsYXJnZSI+CiAgICA8Zz4KICAgICAgICA8Y2lyY2xlIGN4PSI2NCIgY3k9IjY0IiByPSI2NCIgZmlsbD0iIzg5OTNhNCIgLz4KICAgICAgICA8Zz4KICAgICAgICAgICAgPHBhdGggZmlsbD0iI2ZmZiIKICAgICAgICAgICAgICAgIGQ9Ik0xMDMsMTAyLjEzODggQzkzLjA5NCwxMTEuOTIgNzkuMzUwNCwxMTggNjQuMTYzOCwxMTggQzQ4LjgwNTYsMTE4IDM0LjkyOTQsMTExLjc2OCAyNSwxMDEuNzg5MiBMMjUsOTUuMiBDMjUsODYuODA5NiAzMS45ODEsODAgNDAuNiw4MCBMODcuNCw4MCBDOTYuMDE5LDgwIDEwMyw4Ni44MDk2IDEwMyw5NS4yIEwxMDMsMTAyLjEzODggWiIgLz4KICAgICAgICAgICAgPHBhdGggZmlsbD0iI2ZmZiIKICAgICAgICAgICAgICAgIGQ9Ik02My45OTYxNjQ3LDI0IEM1MS4yOTM4MTM2LDI0IDQxLDM0LjI5MzgxMzYgNDEsNDYuOTk2MTY0NyBDNDEsNTkuNzA2MTg2NCA1MS4yOTM4MTM2LDcwIDYzLjk5NjE2NDcsNzAgQzc2LjY5ODUxNTksNzAgODcsNTkuNzA2MTg2NCA4Nyw0Ni45OTYxNjQ3IEM4NywzNC4yOTM4MTM2IDc2LjY5ODUxNTksMjQgNjMuOTk2MTY0NywyNCIgLz4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPgo="]]),Kt=(t,e)=>t.querySelector(e),Qt=(t,e,i)=>{const n=Kt(t,".aui-avatar");n.classList.remove(`aui-avatar-${i}`),n.classList.add(`aui-avatar-${e}`)},Gt=t=>{if(t.hasAttribute("src"))Zt(t,t.getAttribute("src"));else{const e=(t=>"project"===t.getAttribute("type")?"project":"user")(t),i=qt.get(e);Zt(t,i)}},Jt=(t,e,i)=>Kt(t,"img").setAttribute(e,i),Zt=(t,e)=>Jt(t,"src",e),Xt=J("aui-avatar",{template:Yt()("\n <span class='aui-avatar'>\n <span class='aui-avatar-inner'>\n <img />\n </span>\n <content></content>\n </span>\n "),attributes:{size(t,{newValue:e,oldValue:i}){Qt(t,e,i)},type(t,{newValue:e,oldValue:i}){Qt(t,e,i),Gt(t)},src(t,{newValue:e}){Zt(t,e)},alt:{value:"",fallback(t,{newValue:e}){((t,e)=>{Jt(t,"alt",e)})(t,e)}},title(t,{newValue:e}){((t,e)=>{Jt(t,"title",e)})(t,e)}},created:function(t){t.className="aui-avatar",Gt(t),(t=>null!==t.querySelector("aui-avatar-badged"))(t)&&t.setAttribute("role","img")}}),te="medium",ee={xsmall:16,small:24,medium:32,large:48,xlarge:64,xxlarge:96,xxxlarge:128},ie=(t,e)=>{const i=t.querySelectorAll("aui-avatar"),n=[...i].slice(4);ae(i,e);const s=t.querySelector(".aui-avatar-group-dropdown");if(s&&s.remove(),0===n.length)return;const r=ne(e,n);t.appendChild(r)},ne=(t,e)=>{const i=document.createElement("div"),n=se(`+${e.length}`),s=re();return e.forEach(t=>{s.append(t)}),i.classList.add("aui-avatar-group-dropdown"),i.style.left=oe(t,4.2),i.appendChild(n),i.appendChild(s),i},se=t=>{const e=document.createElement("button");return e.classList.add("aui-avatar-group-dropdown-button","aui-avatar-inner"),e.innerText=t,e.setAttribute("aria-expanded",!1),e.setAttribute("aria-haspopup","dialog"),e},re=()=>{const t=document.createElement("div");return t.classList.add("aui-avatar-group-dropdown-menu"),t},ae=(t,e)=>{t.forEach((t,i)=>{const n=i>=4;t.classList.add(n?"aui-avatar-group-dropdown-item":"aui-avatar-group-item"),n?t.setAttribute("size","medium"):(t.setAttribute("size",e),t.style.left=oe(e,i),t.style.zIndex=""+(5-i))})},oe=(t,e)=>{const i=ee[t];return`${(i-.25*i)*e}px`};document.addEventListener("click",t=>{const e=t.target.matches(".aui-avatar-group-dropdown-button"),i=t.target.closest(".aui-avatar-group-dropdown");(e||null===i)&&(e&&(i.classList.contains("aui-avatar-group-dropdown-show")?le(i):ce(i)),document.querySelectorAll(".aui-avatar-group-dropdown-show").forEach(t=>{t!==i&&le(t)}))}),document.addEventListener("keydown",t=>{if("Escape"!==t.key)return;const e=document.querySelector(".aui-avatar-group-dropdown-show");e&&le(e)});const le=t=>{const e=t.querySelector(".aui-avatar-group-dropdown-button");t.classList.remove("aui-avatar-group-dropdown-show"),e.setAttribute("aria-expanded","false")},ce=t=>{const e=t.querySelector(".aui-avatar-group-dropdown-button");t.classList.add("aui-avatar-group-dropdown-show"),e.setAttribute("aria-expanded","true")},ue=J("aui-avatar-group",{attributes:{size:{value:te,fallback(t,{newValue:e,oldValue:i}){const n=(s=e,Object.keys(ee).includes(s)?s:te);var s;((t,e,i)=>{i&&t.classList.remove(`aui-avatar-group-${i}`),t.classList.add(`aui-avatar-group-${e}`)})(t,n,i),J.init(t),ie(t,n)}}},created(t){t.classList.add("aui-avatar-group")}});new MutationObserver(function(t){t.forEach(function(t){const e=t.target;((t,e)=>t.removedNodes.length>0&&e.classList.contains("aui-avatar-group")&&t.removedNodes[0].classList.contains("aui-avatar-group-item"))(t,e)&&ie(e,e.getAttribute("size")),((t,e)=>t.addedNodes.length>0&&e.classList.contains("aui-avatar-group")&&t.addedNodes[0].classList.contains("aui-avatar"))(t,e)&&setTimeout(()=>{ie(e,e.getAttribute("size"))},0)})}).observe(document.documentElement,{attributes:!1,characterData:!0,childList:!0,subtree:!0,attributeOldValue:!1,characterDataOldValue:!1});function de(t){const e=document.getElementById("header");if(!e)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:t="",type:e="error"}){const i=document.createElement("div");i.className=`aui-banner aui-banner-${e}`,i.setAttribute("role","alert"),i.innerHTML=t;const n=document.createElement("div");return n.innerText=`${e}`,n.classList.add("assistive"),i.prepend(n),i}(t);return function(t,e){e.prepend(t),U(t)}(i,e),function(t){const e=t.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."});e.forEach(function(t){i(),t.remove()})}(e),i}G("aui/banner",de),l("banner",de);const he=de;var pe=n(126);const fe={SMALL:{name:"small",px:20,radius:9},MEDIUM:{name:"medium",px:30,radius:13.5},LARGE:{name:"large",px:50,radius:22.5}},ge={filled:!1,size:fe.MEDIUM.name},me="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.",ve=O("<aui-spinner> filled attribute",{sinceVersion:"7.9.4",removeInVersion:"10.0.0",extraInfo:me}),be=O("<aui-spinner> filled property",{sinceVersion:"7.9.4",removeInVersion:"10.0.0",extraInfo:me});function ye(t){let e=fe.MEDIUM.name;if("string"==typeof t){t=t.toLowerCase();const i=Object.keys(fe).map(t=>t.toLowerCase());i.indexOf(t)>-1&&(e=t)}return e}function we(t){const{px:e,radius:i}=(0,pe.find)(fe,e=>e.name===t._data.size)||fe.MEDIUM;!function(t,e,i){const n=t.querySelector("svg"),s=t.querySelector("circle");n.setAttribute("size",e),n.setAttribute("height",e),n.setAttribute("width",e),n.setAttribute("viewBox",`0 0 ${e} ${e}`);const r=e/2;s.setAttribute("cx",r),s.setAttribute("cy",r),s.setAttribute("r",i)}(t,e,i),t._data.filled?function(t,e){const i=t.parentNode;if(i&&1===i.nodeType){const n=t.getBoundingClientRect(),s=i.getBoundingClientRect(),r=s.top+s.height/2,a=n.top+e/2;t.querySelector("svg").style.top=r-a+"px"}}(t,e):function(t){delete t.querySelector("svg").style.top}(t)}const _e=J("aui-spinner",{template(t){t.innerHTML='<div class="aui-spinner spinner"><svg focusable="false"><circle></circle></svg></div>',we(t)},attached(t){we(t)},attributes:{filled:{created:function(t){ve(),t._data.filled=!0,we(t)},removed:function(t){t._data.filled=!1,we(t)}},size(t,e){t._data.size=ye(e.newValue),we(t)}},prototype:{get _data(){return this.__data||(this._data=(0,pe.defaults)({},ge))},set _data(t){return this.__data=t},set filled(t){be(),t?this.setAttribute("filled",""):this.removeAttribute("filled")},set size(t){const e=ye(t);this.setAttribute("size",e)}}});function xe(t){return t.hasAttribute("aria-busy")&&"true"===t.getAttribute("aria-busy")}function Ce(t){return"INPUT"===t.nodeName}J("aui-button",{type:J.type.CLASSNAME,created:function(t){t._spinner=new _e,t._spinner.setAttribute("size",fe.SMALL.name)},prototype:{busy:function(){return Ce(this)||xe(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 Ce(this)||!xe(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 Ce(this)?(g("It is not valid to call isBusy() on an input button."),!1):xe(this)}}}),G("aui/button");const ke="aui-close-button",Te=`.${ke}`,Ee=`<button type="button" class="${ke}" aria-label="${I18n.getText("aui.words.close")}">`,Ae={"aui-focus":"false","aui-blanketed":"true"};function Se(t){var e;this._handlers=new WeakMap,this.$el=i(t||`\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 ${Ee}\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"),e=this.$el,i.each(Ae,function(t,i){const n="data-"+t;e[0].hasAttribute(n)||e.attr(n,i)})}Se.prototype.on=function(t,e){const i=this.$el;if(!this._handlers.get(e)){const n=function(t){t.target===i.get(0)&&e.apply(this,arguments)};Ot(i).on(t,n),this._handlers.set(e,n)}return this},Se.prototype.off=function(t,e){const i=this.$el,n=this._handlers.get(e);return n&&(Ot(i).off(t,n),this._handlers.delete(e)),this},Se.prototype.show=function(){return Ot(this.$el).show(),this},Se.prototype.hide=function(){return Ot(this.$el).hide(),this},Se.prototype.remove=function(){return Ot(this.$el).remove(),this},Se.prototype.isVisible=function(){return Ot(this.$el).isVisible()};var De=gt("dialog2",Se),Ie=new Set;De.on=function(t,e){return Ie.has(e)||(Ot.on(t,".aui-dialog2",e),Ie.add(e)),this},De.off=function(t,e){return Ie.has(e)&&(Ot.off(t,".aui-dialog2",e),Ie.delete(e)),this},i(document).on("click keydown",`.aui-dialog2-header ${Te}`,function(t){("click"===t.type||t.keyCode===Q.ENTER||t.keyCode===Q.SPACE)&&(t.preventDefault(),De(i(t.target).closest(".aui-dialog2")).hide())}),De.on("show",function(t,e){!function(t){const e=t.querySelector(Te);e&&(O(`Dialog2 [${Te}]`,{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"})(),e.setAttribute("tabindex","0"));t.setAttribute("tabindex","-1");const i=t.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=t.querySelector("[autofocus]");if(n)return document.activeElement.blur(),void setTimeout(()=>n.focus(),0);if(i){const e=t.querySelector(i);if(e)return e.blur(),void setTimeout(()=>e.focus(),0)}const s=[...t.querySelectorAll('a[href], button, input, textarea, select, details,[tabindex]:not([tabindex="-1"])')].filter(t=>!t.hasAttribute("disabled")&&!t.getAttribute("aria-hidden"));if(s.length){let t=s.shift();return t.classList.contains(ke)&&(t=s.shift()),void(t&&(t.blur(),setTimeout(()=>t.focus(),0)))}t.focus()}(e[0])}),De.on("hide",function(t,e){const i=Ot(e);e.data("aui-remove-on-hide")&&i.remove()}),G("aui/dialog2",De),l("dialog2",De);const Me=De;var Ne,Oe,Pe=navigator.userAgent.toLowerCase(),Le=(/msie/.test(Pe),/windows nt 5.1/.test(Pe),/windows nt 6.0/.test(Pe),/windows nt 6.1/.test(Pe),/mac os x/.test(Pe));function Re(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function $e(t){return t instanceof Re(t).Element||t instanceof Element}function je(t){return t instanceof Re(t).HTMLElement||t instanceof HTMLElement}function ze(t){return"undefined"!=typeof ShadowRoot&&(t instanceof Re(t).ShadowRoot||t instanceof ShadowRoot)}var Fe=Math.max,He=Math.min,Be=Math.round;function Ue(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function We(){return!/^((?!chrome|android).)*safari/i.test(Ue())}function Ve(t,e,i){void 0===e&&(e=!1),void 0===i&&(i=!1);var n=t.getBoundingClientRect(),s=1,r=1;e&&je(t)&&(s=t.offsetWidth>0&&Be(n.width)/t.offsetWidth||1,r=t.offsetHeight>0&&Be(n.height)/t.offsetHeight||1);var a=($e(t)?Re(t):window).visualViewport,o=!We()&&i,l=(n.left+(o&&a?a.offsetLeft:0))/s,c=(n.top+(o&&a?a.offsetTop:0))/r,u=n.width/s,d=n.height/r;return{width:u,height:d,top:c,right:l+u,bottom:c+d,left:l,x:l,y:c}}function Ye(t){var e=Re(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function qe(t){return t?(t.nodeName||"").toLowerCase():null}function Ke(t){return(($e(t)?t.ownerDocument:t.document)||window.document).documentElement}function Qe(t){return Ve(Ke(t)).left+Ye(t).scrollLeft}function Ge(t){return Re(t).getComputedStyle(t)}function Je(t){var e=Ge(t),i=e.overflow,n=e.overflowX,s=e.overflowY;return/auto|scroll|overlay|hidden/.test(i+s+n)}function Ze(t,e,i){void 0===i&&(i=!1);var n,s,r=je(e),a=je(e)&&function(t){var e=t.getBoundingClientRect(),i=Be(e.width)/t.offsetWidth||1,n=Be(e.height)/t.offsetHeight||1;return 1!==i||1!==n}(e),o=Ke(e),l=Ve(t,a,i),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(r||!r&&!i)&&(("body"!==qe(e)||Je(o))&&(c=(n=e)!==Re(n)&&je(n)?{scrollLeft:(s=n).scrollLeft,scrollTop:s.scrollTop}:Ye(n)),je(e)?((u=Ve(e,!0)).x+=e.clientLeft,u.y+=e.clientTop):o&&(u.x=Qe(o))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function Xe(t){var e=Ve(t),i=t.offsetWidth,n=t.offsetHeight;return Math.abs(e.width-i)<=1&&(i=e.width),Math.abs(e.height-n)<=1&&(n=e.height),{x:t.offsetLeft,y:t.offsetTop,width:i,height:n}}function ti(t){return"html"===qe(t)?t:t.assignedSlot||t.parentNode||(ze(t)?t.host:null)||Ke(t)}function ei(t){return["html","body","#document"].indexOf(qe(t))>=0?t.ownerDocument.body:je(t)&&Je(t)?t:ei(ti(t))}function ii(t,e){var i;void 0===e&&(e=[]);var n=ei(t),s=n===(null==(i=t.ownerDocument)?void 0:i.body),r=Re(n),a=s?[r].concat(r.visualViewport||[],Je(n)?n:[]):n,o=e.concat(a);return s?o:o.concat(ii(ti(a)))}function ni(t){return["table","td","th"].indexOf(qe(t))>=0}function si(t){return je(t)&&"fixed"!==Ge(t).position?t.offsetParent:null}function ri(t){for(var e=Re(t),i=si(t);i&&ni(i)&&"static"===Ge(i).position;)i=si(i);return i&&("html"===qe(i)||"body"===qe(i)&&"static"===Ge(i).position)?e:i||function(t){var e=/firefox/i.test(Ue());if(/Trident/i.test(Ue())&&je(t)&&"fixed"===Ge(t).position)return null;var i=ti(t);for(ze(i)&&(i=i.host);je(i)&&["html","body"].indexOf(qe(i))<0;){var n=Ge(i);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||e&&"filter"===n.willChange||e&&n.filter&&"none"!==n.filter)return i;i=i.parentNode}return null}(t)||e}var ai="top",oi="bottom",li="right",ci="left",ui="auto",di=[ai,oi,li,ci],hi="start",pi="end",fi="viewport",gi="popper",mi=di.reduce(function(t,e){return t.concat([e+"-"+hi,e+"-"+pi])},[]),vi=[].concat(di,[ui]).reduce(function(t,e){return t.concat([e,e+"-"+hi,e+"-"+pi])},[]),bi=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function yi(t){var e=new Map,i=new Set,n=[];function s(t){i.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach(function(t){if(!i.has(t)){var n=e.get(t);n&&s(n)}}),n.push(t)}return t.forEach(function(t){e.set(t.name,t)}),t.forEach(function(t){i.has(t.name)||s(t)}),n}function wi(t,e){var i=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(i&&ze(i)){var n=e;do{if(n&&t.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function _i(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function xi(t,e,i){return e===fi?_i(function(t,e){var i=Re(t),n=Ke(t),s=i.visualViewport,r=n.clientWidth,a=n.clientHeight,o=0,l=0;if(s){r=s.width,a=s.height;var c=We();(c||!c&&"fixed"===e)&&(o=s.offsetLeft,l=s.offsetTop)}return{width:r,height:a,x:o+Qe(t),y:l}}(t,i)):$e(e)?function(t,e){var i=Ve(t,!1,"fixed"===e);return i.top=i.top+t.clientTop,i.left=i.left+t.clientLeft,i.bottom=i.top+t.clientHeight,i.right=i.left+t.clientWidth,i.width=t.clientWidth,i.height=t.clientHeight,i.x=i.left,i.y=i.top,i}(e,i):_i(function(t){var e,i=Ke(t),n=Ye(t),s=null==(e=t.ownerDocument)?void 0:e.body,r=Fe(i.scrollWidth,i.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),a=Fe(i.scrollHeight,i.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),o=-n.scrollLeft+Qe(t),l=-n.scrollTop;return"rtl"===Ge(s||i).direction&&(o+=Fe(i.clientWidth,s?s.clientWidth:0)-r),{width:r,height:a,x:o,y:l}}(Ke(t)))}function Ci(t,e,i,n){var s="clippingParents"===e?function(t){var e=ii(ti(t)),i=["absolute","fixed"].indexOf(Ge(t).position)>=0&&je(t)?ri(t):t;return $e(i)?e.filter(function(t){return $e(t)&&wi(t,i)&&"body"!==qe(t)}):[]}(t):[].concat(e),r=[].concat(s,[i]),a=r[0],o=r.reduce(function(e,i){var s=xi(t,i,n);return e.top=Fe(s.top,e.top),e.right=He(s.right,e.right),e.bottom=He(s.bottom,e.bottom),e.left=Fe(s.left,e.left),e},xi(t,a,n));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}function ki(t){return t.split("-")[0]}function Ti(t){return t.split("-")[1]}function Ei(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Ai(t){var e,i=t.reference,n=t.element,s=t.placement,r=s?ki(s):null,a=s?Ti(s):null,o=i.x+i.width/2-n.width/2,l=i.y+i.height/2-n.height/2;switch(r){case ai:e={x:o,y:i.y-n.height};break;case oi:e={x:o,y:i.y+i.height};break;case li:e={x:i.x+i.width,y:l};break;case ci:e={x:i.x-n.width,y:l};break;default:e={x:i.x,y:i.y}}var c=r?Ei(r):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case hi:e[c]=e[c]-(i[u]/2-n[u]/2);break;case pi:e[c]=e[c]+(i[u]/2-n[u]/2)}}return e}function Si(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function Di(t,e){return e.reduce(function(e,i){return e[i]=t,e},{})}function Ii(t,e){void 0===e&&(e={});var i=e,n=i.placement,s=void 0===n?t.placement:n,r=i.strategy,a=void 0===r?t.strategy:r,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=Si("number"!=typeof m?m:Di(m,di)),b=h===gi?"reference":gi,y=t.rects.popper,w=t.elements[f?b:h],_=Ci($e(w)?w:w.contextElement||Ke(t.elements.popper),l,u,a),x=Ve(t.elements.reference),C=Ai({reference:x,element:y,strategy:"absolute",placement:s}),k=_i(Object.assign({},y,C)),T=h===gi?k:x,E={top:_.top-T.top+v.top,bottom:T.bottom-_.bottom+v.bottom,left:_.left-T.left+v.left,right:T.right-_.right+v.right},A=t.modifiersData.offset;if(h===gi&&A){var S=A[s];Object.keys(E).forEach(function(t){var e=[li,oi].indexOf(t)>=0?1:-1,i=[ai,oi].indexOf(t)>=0?"y":"x";E[t]+=S[i]*e})}return E}var Mi={placement:"bottom",modifiers:[],strategy:"absolute"};function Ni(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return!e.some(function(t){return!(t&&"function"==typeof t.getBoundingClientRect)})}function Oi(t){void 0===t&&(t={});var e=t,i=e.defaultModifiers,n=void 0===i?[]:i,s=e.defaultOptions,r=void 0===s?Mi:s;return function(t,e,i){void 0===i&&(i=r);var s,a,o={placement:"bottom",orderedModifiers:[],options:Object.assign({},Mi,r),modifiersData:{},elements:{reference:t,popper:e},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({},r,o.options,s),o.scrollParents={reference:$e(t)?ii(t):t.contextElement?ii(t.contextElement):[],popper:ii(e)};var a,c,h=function(t){var e=yi(t);return bi.reduce(function(t,i){return t.concat(e.filter(function(t){return t.phase===i}))},[])}((a=[].concat(n,o.options.modifiers),c=a.reduce(function(t,e){var i=t[e.name];return t[e.name]=i?Object.assign({},i,e,{options:Object.assign({},i.options,e.options),data:Object.assign({},i.data,e.data)}):e,t},{}),Object.keys(c).map(function(t){return c[t]})));return o.orderedModifiers=h.filter(function(t){return t.enabled}),o.orderedModifiers.forEach(function(t){var e=t.name,i=t.options,n=void 0===i?{}:i,s=t.effect;if("function"==typeof s){var r=s({state:o,name:e,instance:u,options:n}),a=function(){};l.push(r||a)}}),u.update()},forceUpdate:function(){if(!c){var t=o.elements,e=t.reference,i=t.popper;if(Ni(e,i)){o.rects={reference:Ze(e,ri(i),"fixed"===o.options.strategy),popper:Xe(i)},o.reset=!1,o.placement=o.options.placement,o.orderedModifiers.forEach(function(t){return o.modifiersData[t.name]=Object.assign({},t.data)});for(var n=0;n<o.orderedModifiers.length;n++)if(!0!==o.reset){var s=o.orderedModifiers[n],r=s.fn,a=s.options,l=void 0===a?{}:a,d=s.name;"function"==typeof r&&(o=r({state:o,options:l,name:d,instance:u})||o)}else o.reset=!1,n=-1}}},update:(s=function(){return new Promise(function(t){u.forceUpdate(),t(o)})},function(){return a||(a=new Promise(function(t){Promise.resolve().then(function(){a=void 0,t(s())})})),a}),destroy:function(){d(),c=!0}};if(!Ni(t,e))return u;function d(){l.forEach(function(t){return t()}),l=[]}return u.setOptions(i).then(function(t){!c&&i.onFirstUpdate&&i.onFirstUpdate(t)}),u}}var Pi={passive:!0};const Li={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,i=t.instance,n=t.options,s=n.scroll,r=void 0===s||s,a=n.resize,o=void 0===a||a,l=Re(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return r&&c.forEach(function(t){t.addEventListener("scroll",i.update,Pi)}),o&&l.addEventListener("resize",i.update,Pi),function(){r&&c.forEach(function(t){t.removeEventListener("scroll",i.update,Pi)}),o&&l.removeEventListener("resize",i.update,Pi)}},data:{}};const Ri={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,i=t.name;e.modifiersData[i]=Ai({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}};var $i={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ji(t){var e,i=t.popper,n=t.popperRect,s=t.placement,r=t.variation,a=t.offsets,o=t.position,l=t.gpuAcceleration,c=t.adaptive,u=t.roundOffsets,d=t.isFixed,h=a.x,p=void 0===h?0:h,f=a.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=a.hasOwnProperty("x"),b=a.hasOwnProperty("y"),y=ci,w=ai,_=window;if(c){var x=ri(i),C="clientHeight",k="clientWidth";if(x===Re(i)&&"static"!==Ge(x=Ke(i)).position&&"absolute"===o&&(C="scrollHeight",k="scrollWidth"),s===ai||(s===ci||s===li)&&r===pi)w=oi,g-=(d&&x===_&&_.visualViewport?_.visualViewport.height:x[C])-n.height,g*=l?1:-1;if(s===ci||(s===ai||s===oi)&&r===pi)y=li,p-=(d&&x===_&&_.visualViewport?_.visualViewport.width:x[k])-n.width,p*=l?1:-1}var T,E=Object.assign({position:o},c&&$i),A=!0===u?function(t,e){var i=t.x,n=t.y,s=e.devicePixelRatio||1;return{x:Be(i*s)/s||0,y:Be(n*s)/s||0}}({x:p,y:g},Re(i)):{x:p,y:g};return p=A.x,g=A.y,l?Object.assign({},E,((T={})[w]=b?"0":"",T[y]=v?"0":"",T.transform=(_.devicePixelRatio||1)<=1?"translate("+p+"px, "+g+"px)":"translate3d("+p+"px, "+g+"px, 0)",T)):Object.assign({},E,((e={})[w]=b?g+"px":"",e[y]=v?p+"px":"",e.transform="",e))}const zi={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,i=t.options,n=i.gpuAcceleration,s=void 0===n||n,r=i.adaptive,a=void 0===r||r,o=i.roundOffsets,l=void 0===o||o,c={placement:ki(e.placement),variation:Ti(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:s,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,ji(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:l})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,ji(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}};const Fi={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach(function(t){var i=e.styles[t]||{},n=e.attributes[t]||{},s=e.elements[t];je(s)&&qe(s)&&(Object.assign(s.style,i),Object.keys(n).forEach(function(t){var e=n[t];!1===e?s.removeAttribute(t):s.setAttribute(t,!0===e?"":e)}))})},effect:function(t){var e=t.state,i={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,i.popper),e.styles=i,e.elements.arrow&&Object.assign(e.elements.arrow.style,i.arrow),function(){Object.keys(e.elements).forEach(function(t){var n=e.elements[t],s=e.attributes[t]||{},r=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:i[t]).reduce(function(t,e){return t[e]="",t},{});je(n)&&qe(n)&&(Object.assign(n.style,r),Object.keys(s).forEach(function(t){n.removeAttribute(t)}))})}},requires:["computeStyles"]};const Hi={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,i=t.options,n=t.name,s=i.offset,r=void 0===s?[0,0]:s,a=vi.reduce(function(t,i){return t[i]=function(t,e,i){var n=ki(t),s=[ci,ai].indexOf(n)>=0?-1:1,r="function"==typeof i?i(Object.assign({},e,{placement:t})):i,a=r[0],o=r[1];return a=a||0,o=(o||0)*s,[ci,li].indexOf(n)>=0?{x:o,y:a}:{x:a,y:o}}(i,e.rects,r),t},{}),o=a[e.placement],l=o.x,c=o.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[n]=a}};var Bi={left:"right",right:"left",bottom:"top",top:"bottom"};function Ui(t){return t.replace(/left|right|bottom|top/g,function(t){return Bi[t]})}var Wi={start:"end",end:"start"};function Vi(t){return t.replace(/start|end/g,function(t){return Wi[t]})}const Yi={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,n=t.name;if(!e.modifiersData[n]._skip){for(var s=i.mainAxis,r=void 0===s||s,a=i.altAxis,o=void 0===a||a,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=e.options.placement,v=ki(m),b=l||(v===m||!f?[Ui(m)]:function(t){if(ki(t)===ui)return[];var e=Ui(t);return[Vi(t),e,Vi(e)]}(m)),y=[m].concat(b).reduce(function(t,i){return t.concat(ki(i)===ui?function(t,e){void 0===e&&(e={});var i=e,n=i.placement,s=i.boundary,r=i.rootBoundary,a=i.padding,o=i.flipVariations,l=i.allowedAutoPlacements,c=void 0===l?vi:l,u=Ti(n),d=u?o?mi:mi.filter(function(t){return Ti(t)===u}):di,h=d.filter(function(t){return c.indexOf(t)>=0});0===h.length&&(h=d);var p=h.reduce(function(e,i){return e[i]=Ii(t,{placement:i,boundary:s,rootBoundary:r,padding:a})[ki(i)],e},{});return Object.keys(p).sort(function(t,e){return p[t]-p[e]})}(e,{placement:i,boundary:u,rootBoundary:d,padding:c,flipVariations:f,allowedAutoPlacements:g}):i)},[]),w=e.rects.reference,_=e.rects.popper,x=new Map,C=!0,k=y[0],T=0;T<y.length;T++){var E=y[T],A=ki(E),S=Ti(E)===hi,D=[ai,oi].indexOf(A)>=0,I=D?"width":"height",M=Ii(e,{placement:E,boundary:u,rootBoundary:d,altBoundary:h,padding:c}),N=D?S?li:ci:S?oi:ai;w[I]>_[I]&&(N=Ui(N));var O=Ui(N),P=[];if(r&&P.push(M[A]<=0),o&&P.push(M[N]<=0,M[O]<=0),P.every(function(t){return t})){k=E,C=!1;break}x.set(E,P)}if(C)for(var L=function(t){var e=y.find(function(e){var i=x.get(e);if(i)return i.slice(0,t).every(function(t){return t})});if(e)return k=e,"break"},R=f?3:1;R>0;R--){if("break"===L(R))break}e.placement!==k&&(e.modifiersData[n]._skip=!0,e.placement=k,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function qi(t,e,i){return Fe(t,He(e,i))}const Ki={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,n=t.name,s=i.mainAxis,r=void 0===s||s,a=i.altAxis,o=void 0!==a&&a,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(e,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),v=ki(e.placement),b=Ti(e.placement),y=!b,w=Ei(v),_="x"===w?"y":"x",x=e.modifiersData.popperOffsets,C=e.rects.reference,k=e.rects.popper,T="function"==typeof g?g(Object.assign({},e.rects,{placement:e.placement})):g,E="number"==typeof T?{mainAxis:T,altAxis:T}:Object.assign({mainAxis:0,altAxis:0},T),A=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,S={x:0,y:0};if(x){if(r){var D,I="y"===w?ai:ci,M="y"===w?oi:li,N="y"===w?"height":"width",O=x[w],P=O+m[I],L=O-m[M],R=p?-k[N]/2:0,$=b===hi?C[N]:k[N],j=b===hi?-k[N]:-C[N],z=e.elements.arrow,F=p&&z?Xe(z):{width:0,height:0},H=e.modifiersData["arrow#persistent"]?e.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=e.elements.arrow&&ri(e.elements.arrow),K=q?"y"===w?q.clientTop||0:q.clientLeft||0:0,Q=null!=(D=null==A?void 0:A[w])?D:0,G=O+Y-Q,J=qi(p?He(P,O+V-Q-K):P,O,p?Fe(L,G):L);x[w]=J,S[w]=J-O}if(o){var Z,X="x"===w?ai:ci,tt="x"===w?oi:li,et=x[_],it="y"===_?"height":"width",nt=et+m[X],st=et-m[tt],rt=-1!==[ai,ci].indexOf(v),at=null!=(Z=null==A?void 0:A[_])?Z:0,ot=rt?nt:et-C[it]-k[it]-at+E.altAxis,lt=rt?et+C[it]+k[it]-at-E.altAxis:st,ct=p&&rt?function(t,e,i){var n=qi(t,e,i);return n>i?i:n}(ot,et,lt):qi(p?ot:nt,et,p?lt:st);x[_]=ct,S[_]=ct-et}e.modifiersData[n]=S}},requiresIfExists:["offset"]};const Qi={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,i=t.state,n=t.name,s=t.options,r=i.elements.arrow,a=i.modifiersData.popperOffsets,o=ki(i.placement),l=Ei(o),c=[ci,li].indexOf(o)>=0?"height":"width";if(r&&a){var u=function(t,e){return Si("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:Di(t,di))}(s.padding,i),d=Xe(r),h="y"===l?ai:ci,p="y"===l?oi:li,f=i.rects.reference[c]+i.rects.reference[l]-a[l]-i.rects.popper[c],g=a[l]-i.rects.reference[l],m=ri(r),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]=((e={})[C]=x,e.centerOffset=x-_,e)}},effect:function(t){var e=t.state,i=t.options.element,n=void 0===i?"[data-popper-arrow]":i;null!=n&&("string"!=typeof n||(n=e.elements.popper.querySelector(n)))&&wi(e.elements.popper,n)&&(e.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Gi(t,e,i){return void 0===i&&(i={x:0,y:0}),{top:t.top-e.height-i.y,right:t.right-e.width+i.x,bottom:t.bottom-e.height+i.y,left:t.left-e.width-i.x}}function Ji(t){return[ai,li,oi,ci].some(function(e){return t[e]>=0})}const Zi={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,i=t.name,n=e.rects.reference,s=e.rects.popper,r=e.modifiersData.preventOverflow,a=Ii(e,{elementContext:"reference"}),o=Ii(e,{altBoundary:!0}),l=Gi(a,n),c=Gi(o,s,r),u=Ji(l),d=Ji(c);e.modifiersData[i]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}};var Xi=Oi({defaultModifiers:[Li,Ri,zi,Fi,Hi,Yi,Ki,Qi,Zi]});const tn={"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 en(t,e){return t.getAttribute(e)||t.getAttribute("data-aui-"+e)}function nn(t){return en(t,"alignment")||"right middle"}function sn(t){let[e,i]=nn(t).split(" ");return{side:e,snap:i}}function rn(t){let e=function(t){let e=en(t,"alignment-container")||window;return"string"==typeof e&&(e=document.querySelector(e)),e}(t),i="left";if(e&&e!==window&&e!==document||(e=document.documentElement),e&&e.nodeType&&e.nodeType===Node.ELEMENT_NODE){let n=e.getBoundingClientRect();t.getBoundingClientRect().left-n.left>(n.right-n.left)/2&&(i="right")}return i}function an(t,e){const i=sn(t);let n;return i.snap&&"auto"!==i.snap?n=function(t){const e=nn(t);return tn[e]||"right"}(t):(i.snap=rn(e),n="submenu"===i.side?tn[("right"===i.snap?"left":"right")+" top"]:tn[`${i.side} ${i.snap}`]),n}const on={auto:[],top:["top","bottom"],right:["right","left"],bottom:["bottom","top"],left:["left","right"]};function ln(t,e,i={}){const n=sn(t),s=an(t,e),r=on[s.split("-")[0]],a=e.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:r,boundary:a||(i.hasOwnProperty("flipContainer")?i.flipContainer:"clippingParents")}},{name:"preventOverflow",enabled:!i.hasOwnProperty("preventOverflow")||i.preventOverflow,options:{padding:0,escapeWithReference:!1,rootBoundary:a?"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:t})=>{t.elements.popper&&t.elements.popper.setAttribute("x-placement",t.placement)}},{name:"onUpdate",enabled:i.hasOwnProperty("onUpdate"),phase:"afterWrite",effect:({state:t,name:e})=>{t.modifiersData[`${e}#persistent`]={enabled:!0,fn:i.onUpdate}},fn:({state:t,name:e})=>{const i=t.modifiersData[`${e}#persistent`];return i.enabled&&i.fn(),t}},{name:"onEvents",enabled:i.hasOwnProperty("onEvents"),phase:"afterWrite",effect:({state:t,name:e})=>{t.modifiersData[`${e}#persistent`]={fn:i.onEvents}},fn:({state:t,name:e})=>{const i=t.modifiersData[`${e}#persistent`];return this._triggerOnEvents&&(this._eventListenersEnabled?i.fn.enabled&&i.fn.enabled():i.fn.disabled&&i.fn.disabled(),this._triggerOnEvents=!1),t}}];a&&e.ownerDocument!=t.ownerDocument&&o.push({name:"iframeOffset",enabled:!0,fn(t){const e=a.getBoundingClientRect(),i=window.getComputedStyle(a),n=(t,e)=>t+e,s=t=>t.map(parseFloat).filter(Boolean).reduce(n,0),r=s([e.top,i.paddingTop,i.borderTop]),o=s([e.left,i.paddingLeft,i.borderLeft]);return t.offsets.reference.left+=o,t.offsets.reference.top+=r,t.offsets.popper.left+=o,t.offsets.popper.top+=r,t}});const l={placement:s,strategy:i.hasOwnProperty("positionFixed")&&!i.positionFixed?"absolute":"fixed",modifiers:o,onFirstUpdate:i.onCreate};this.popper=Xi(e,t,l),function(t,e,i){const n="aui-alignment-side-"+e,s="aui-alignment-snap-"+i;t.classList.contains(n)||t.classList.add(n),t.classList.contains(s)||t.classList.add(s)}(t,n.side,n.snap)}ln.prototype={destroy(){return this.popper.destroy(),this},changeTarget(t){const e=t.jquery?t[0]:t;return e&&e!==this.popper.state.elements.reference&&(this.popper.state.elements.reference=e,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(t){let e=new i.Deferred;return t?setTimeout(()=>{t.parentElement||e.resolve()},12):e.reject(),e.promise()}var dn,hn,pn=0;function fn(t){if(dn=pn+++"",hn=t?t+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(t){return t.hasAttribute("hidden")||t.classList.contains("hidden")}function vn(t,e){t.setAttribute("aria-expanded",!!e),t.classList[e?"add":"remove"]("active","aui-dropdown2-active")}var bn="unloaded",yn="loading",wn="error";function _n(t,e){Z(t).set("loading-state","success"),t.innerHTML=function(t){return t.map(function(t){var e=t.items.map(function(t){function e(e){return t[e]?`${e} ="true"`:""}function i(e){return t[e]?`${e}="${t[e]}"`:""}var n="aui-item-"+t.type;return`\n <${n} ${i("for")} ${i("href")} ${e("interactive")}\n ${e("checked")} ${e("disabled")} ${e("hidden")}>\n ${D(t.content)}\n </${n}>`}).join("");return`\n <aui-section ${t.label?`label="${t.label}"`:""}>\n ${e}\n </aui-section>`}).join("\n")}(e),J.init(t)}function xn(t){Z(t).set("loading-state",wn),Z(t).set("hasErrorBeenShown",t.isVisible()),t.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(t){t.src&&Z(t).get("loading-state")!==yn&&(!function(t){Z(t).set("loading-state",yn),Z(t).set("hasErrorBeenShown",!1),et(t,function(t){t.setAttribute("aria-busy","true")}),t.innerHTML=`\n <div class="aui-dropdown-loading">\n <aui-spinner size="small"></aui-spinner> ${I18n.getText("aui.dropdown.async.loading")}\n </div>\n `}(t),i.ajax(t.src).done(function(e,i,n){200===n.status?_n(t,e):xn(t)}).fail(function(){xn(t)}).always(function(){!function(t){et(t,function(t){t.setAttribute("aria-busy","false")})}(t)}))}function kn(t,e){return i(t).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(e).children('a, button, [role="checkbox"], [role="menuitemcheckbox"], [role="radio"], [role="menuitemradio"]')}function Tn(t){return kn(t,()=>!0)}function En(t){return kn(t,(t,e)=>!mn(e))}function An(t){Tn(t).each((t,e)=>{return(i=e).setAttribute("tabindex","-1"),void((i.classList.contains("aui-dropdown2-disabled")||mn(i.parentElement))&&i.setAttribute("aria-disabled","true"));var i})}function Sn(t){t._auiAlignment&&(t._auiAlignment.destroy(),delete t._auiAlignment)}function Dn(t,e){var n=e&&e.hasSubmenu&&e.hasSubmenu(),s="submenu auto"===t.getAttribute("data-aui-alignment");!n&&s&&function(t){var e=i(t),n=e.data("previous-data-aui-alignment");n?t.setAttribute("data-aui-alignment",n):t.removeAttribute("data-aui-alignment");e.removeData("previous-data-aui-alignment"),e.data("had-data-aui-alignment-static")||t.removeAttribute("data-aui-alignment-static");e.removeData("had-data-aui-alignment-static")}(t);var r=t.hasAttribute("data-aui-alignment");n&&!s?(!function(t){var e=i(t);t.hasAttribute("data-aui-alignment")&&e.data("previous-data-aui-alignment",t.getAttribute("data-aui-alignment"));e.data("had-data-aui-alignment-static",t.hasAttribute("data-aui-alignment-static"))}(t),t.setAttribute("data-aui-alignment","submenu auto"),t.setAttribute("data-aui-alignment-static",!0)):r||(t.setAttribute("data-aui-alignment","bottom auto"),t.setAttribute("data-aui-alignment-static",!0)),Sn(t),t._auiAlignment=new cn(t,e,{flip:!1,positionFixed:!1,preventOverflow:!1,offset:e.hasSubmenu&&e.hasSubmenu()?[-3,0]:[0,3]}),t._auiAlignment.enable()}i(document).on("mousedown",".aui-dropdown2-trigger",function(){this.hasAttribute("resolved")||(J.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(t){const e=i(t.currentTarget);if(e.is(".aui-dropdown2-active"))return;if(e.closest(".aui-dropdown2").length)return;const n=e.closest(".aui-dropdown2-trigger-group"),s=n.find(".aui-dropdown2-active");s.length&&e.is(".aui-dropdown2-trigger")&&(s.blur(),e.trigger("aui-button-invoke"),t.preventDefault());const r=n.find(":focus");r.length&&e.is(".aui-dropdown2-trigger")&&r.blur()});var In=!1;function Mn(){In=!0}function Nn(t){Ot(t),t.addEventListener("aui-layer-show",function(e){t===e.target&&(!function(t){var e=i(t);["disabled","interactive","active","checked"].forEach(t=>{e.find(`.${t}`).addClass(`aui-dropdown2-${t}`)})}(t),An(t),i(t).trigger("aui-dropdown2-show"),et(t,function(e){vn(e,!0),t._returnTo=function(t,e){var i=e.getAttribute("data-dropdown2-hide-location");return document.getElementById(i)||t.parentNode}(t,e)}))}),t.addEventListener("aui-layer-hide",function(e){t===e.target&&(i(t).trigger("aui-dropdown2-hide"),t._auiAlignment&&t._auiAlignment.destroy(),t._returnTo&&t.parentNode&&t.parentNode!==t._returnTo&&t._returnTo.appendChild(t),t.classList.remove("aui-dropdown2-in-header","aui-dropdown2-in-buttons"),Tn(t).removeClass("active aui-dropdown2-active"),et(t,function(t){var e;vn(t,!1),e=!0===In,In=!1,e&&t.focus()}),delete t.isSubmenu)})}function On(t){var e=i(t);function n(e){return i(e).closest(".aui-dropdown2, aui-dropdown-menu").get(0)===t}e.on("keydown",function(e){n(e.target)&&(e.keyCode===Q.DOWN?(t.focusNext(),e.preventDefault()):e.keyCode===Q.UP?(t.focusPrevious(),e.preventDefault()):e.keyCode===Q.LEFT?t.isSubmenu&&(Mn(),t.hide(),e.preventDefault()):e.keyCode===Q.ESCAPE?Mn():e.keyCode===Q.TAB&&(Mn(),t.hideAll(!1)))});e.on("click keydown",'a, button, [role="menuitem"], [role="menuitemcheckbox"], [role="checkbox"], [role="menuitemradio"], [role="radio"]',function(e){if(!n(e.target))return;const s=e.currentTarget,r=e.keyCode,a=r===Q.ENTER,o=r===Q.SPACE;a&&i(s).is("a[href], button")||"click"!==e.type&&!a&&!o||function(e){const i=e.currentTarget;if("true"===i.getAttribute("aria-disabled"))return void e.preventDefault();e.currentTarget.hasSubmenu&&e.currentTarget.hasSubmenu()||i.classList.contains("aui-dropdown2-interactive")||t.hideAll(!0)}(e)}),e.on("mouseenter",'a, button, [role="menuitem"], [role="menuitemcheckbox"], [role="checkbox"], [role="menuitemradio"], [role="radio"]',function(e){if(!n(e.target))return;let s=i(Ot(t).above()).get(0);for(;s&&s.isDropdown&&s!==t;){const t=s.getAttribute("id"),n=e.target.getAttribute("aria-controls"),r=Ot(s).above();n!==t&&Ot(s).hide(),s=i(r).get(0)}})}function Pn(t){t.classList.add("aui-dropdown2"),t.setAttribute("tabindex","-1"),t.hasAttribute("data-container")&&(t.setAttribute("data-aui-alignment-container",t.getAttribute("data-container")),t.removeAttribute("data-container")),Nn(t),On(t),i(t).on("click keydown",".aui-dropdown2-checkbox",function(t){if("click"===t.type||t.keyCode===Q.ENTER||t.keyCode===Q.SPACE){let e=this;if(t.isDefaultPrevented())return;e.isInteractive()&&t.preventDefault(),e.isEnabled()&&(e.isChecked()?e.uncheck():e.check())}}),i(t).on("click keydown",".aui-dropdown2-radio",function(t){if("click"===t.type||t.keyCode===Q.ENTER||t.keyCode===Q.SPACE){let e=this;if(t.isDefaultPrevented())return;e.isInteractive()&&t.preventDefault(),this.isEnabled()&&!1===this.isChecked()&&(i(e).closest("ul,[role=group]").find(".aui-dropdown2-checked").not(this).each(function(){this.uncheck()}),e.check())}})}i(window).on("resize",(0,pe.debounce)(function(){i(".aui-dropdown2").each(function(t,e){J.init(e),e.isVisible()&&e.hide()})},1e3,!0));var Ln={toggle:function(t){this.isVisible()?this.hide():this.show(t)},show:function(t){const e=this;return et(e,t=>{vn(t,!1)}),t&&t.currentTarget&&t.currentTarget.classList.contains("aui-dropdown2-trigger")&&tt(e,t.currentTarget),Ot(e).show(),et(e,function(t){vn(t,!0),Dn(e,t)}),setTimeout(()=>function(t,e={}){if(e&&e.type&&-1===e.type.indexOf("mouse")){const i=e.type.indexOf("key")>-1;if(t.isSubmenu)t.focusItem(0);else if(i)if(e.keyCode===Q.UP){const e=En(t);e&&e.length&&t.focusItem(e.length-1)}else t.focusItem(0);else t.focus()}}(e,t),0),this},hide:function(){return Ot(this).hide(),this},hideAll:function(t=!0){const e=function(t){let e=Ot(t);for(;;){const t=e.below();if(!t)break;if(!t.get(0).isDropdown)break;e=Ot(t)}return e}(this);return e.isVisible()?(e.hide(),t&&et(e.el,t=>{setTimeout(()=>{t.focus()},0),tt(e.el,null)}),this):this},focusNext:function(){var t,e=En(this),i=document.activeElement;e.last()[0]!==i?(t=e.toArray().indexOf(i),this.focusItem(e.get(t+1))):this.focusItem(0)},focusPrevious:function(){var t,e=En(this),i=document.activeElement;e.first()[0]!==i?(t=e.toArray().indexOf(i),this.focusItem(e.get(t-1))):this.focusItem(e.length-1)},focusItem:function(t){const e=En(this);"number"==typeof t&&(t=e.get(t));const n=i(t);n.focus(),e.removeClass("active aui-dropdown2-active"),n.addClass("active aui-dropdown2-active")},isVisible:function(){return Ot(this).isVisible()},isDropdown:!0},Rn={created:function(t){var e=t.children[0];e.setAttribute("aria-disabled","true"),e.classList.add("disabled","aui-dropdown2-disabled")},removed:function(t){var e=t.children[0];e.setAttribute("aria-disabled","false"),e.classList.remove("disabled","aui-dropdown2-disabled")}},$n={created:function(t){t.children[0].classList.add("interactive","aui-dropdown2-interactive")},removed:function(t){t.children[0].classList.remove("interactive","aui-dropdown2-interactive")}},jn={created:function(t){var e=t.children[0];e.classList.add("checked","aui-dropdown2-checked"),e.setAttribute("aria-checked",!0),t.dispatchEvent(new vt("change",{bubbles:!0}))},removed:function(t){var e=t.children[0];e.classList.remove("checked","aui-dropdown2-checked"),e.setAttribute("aria-checked",!1),t.dispatchEvent(new vt("change",{bubbles:!0}))}},zn={created:function(t){Rn.created(t)},removed:function(t){Rn.removed(t)}},Fn=function(t){return{fallback:function(e,i){e.children[0].setAttribute(t,i.newValue)},removed:function(e){e.children[0].removeAttribute(t)}}};const Hn=function(t=""){return t.split(" ").map(t=>t.trim()).filter(t=>t)},Bn=J("aui-item-link",{template:Yt()('<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(t){var e=t.children[0];e.setAttribute("aria-controls",t.getAttribute("for")),i(e).addClass("aui-dropdown2-sub-trigger")},updated:function(t){t.children[0].setAttribute("aria-controls",t.getAttribute("for"))},removed:function(t){var e=t.children[0];e.removeAttribute("aria-controls"),i(e).removeClass("aui-dropdown2-sub-trigger")}},"extra-classes":function(t,e){const i=t.children[0];e.oldValue&&i.classList.remove(...Hn(e.oldValue)),e.newValue&&i.classList.add(...Hn(e.newValue))}}}),[Un,Wn]=["checkbox","radio"].map(t=>J(`aui-item-${t}`,{template:Yt()(`<span role="menuitem${t}" class="aui-dropdown2-${t}" tabindex="-1"><content></content></span>`),attributes:{"item-id":Fn("id"),disabled:Rn,interactive:$n,checked:jn,hidden:zn}})),Vn=J("aui-section",{template:Yt()('\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(t,e){const i=gn();var n=t.children[0],s=t.children[1];n.textContent=e.newValue,n.id=i,s.setAttribute("aria-labelledby",i)}},created:function(t){t.classList.add("aui-dropdown2-section")}}),Yn=J("aui-dropdown-menu",{created:function(t){t.setAttribute("role","menu"),t.className="aui-dropdown2",Ot(t),Z(t).set("loading-state",bn),J.init(t)},detached:function(t){un(t).then(()=>Sn(t))},attributes:{src:{}},prototype:Ln,events:{"aui-layer-show":function(t){var e=Z(t).get("loading-state")===bn,i=Z(t).get("hasErrorBeenShown");(e||i)&&Cn(t),Z(t).get("loading-state")===wn&&Z(t).set("hasErrorBeenShown",!0)}}});J("aui-dropdown2",{type:J.type.CLASSNAME,created:Pn,prototype:Ln}),J("data-aui-dropdown2",{type:J.type.ATTRIBUTE,created:Pn,prototype:Ln}),J("aui-dropdown2-trigger",{type:J.type.CLASSNAME,created:function(t){let e=t.getAttribute("aria-controls");function n(n,s=!1){if(n.currentTarget!==t)return;if(n.preventDefault(),!t.isEnabled())return;const r=document.getElementById(e);if(!r)return void m('Could not find a dropdown with id "'+e+'" in the DOM.');const a=i(t);return a.parent().hasClass("aui-buttons")&&r.classList.add("aui-dropdown2-in-buttons"),a.parents().hasClass("aui-header")&&r.classList.add("aui-dropdown2-in-header"),s?r.show(n):r.toggle(n),r.isSubmenu=t.hasSubmenu(),r}e||(e=t.getAttribute("aria-owns"),e?(t.removeAttribute("aria-owns"),t.setAttribute("aria-controls",e)):m('Dropdown triggers need either a "aria-owns" or "aria-controls" attribute')),t.setAttribute("aria-haspopup",!0),t.setAttribute("aria-expanded",!1),"A"===t.nodeName&&!t.href&&t.setAttribute("href",`#${e}`),i(t).on("aui-button-invoke",n).on("click",n).on("keydown",function(e){if(e.currentTarget!==t)return;const i=e.keyCode===Q.ENTER||e.keyCode===Q.SPACE,s=e.keyCode===Q.RIGHT&&t.hasSubmenu(),r=(e.keyCode===Q.UP||e.keyCode===Q.DOWN)&&!t.hasSubmenu();i?n(e):(r||s)&&n(e,document.activeElement===t)}).on("mouseenter",function(i){if(i.currentTarget!==t)return;if(i.preventDefault(),!t.isEnabled())return;const n=document.getElementById(e);if(n)return function(t){var e=Z(t).get("loading-state")===bn,i=Z(t).get("hasErrorBeenShown");(e||i&&!t.isVisible())&&Cn(t)}(n),t.hasSubmenu()&&(n.show(i),n.isSubmenu=t.hasSubmenu()),n;m('Could not find a dropdown with id "'+e+'" 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")}}}),J("aui-dropdown2-sub-trigger",{type:J.type.CLASSNAME,created:function(t){t.classList.add("aui-dropdown2-trigger"),J.init(t)}}),["checkbox","radio"].map(t=>J(`aui-dropdown2-${t}`,{type:J.type.CLASSNAME,created:function(e){const i="true"===e.getAttribute("aria-checked")||e.classList.contains("checked")||e.classList.contains("aui-dropdown2-checked");e.classList[i?"add":"remove"]("checked","aui-dropdown2-checked"),e.setAttribute("aria-checked",i),e.setAttribute("tabindex","0"),Le&&e.setAttribute("role",`menuitem${t}`)},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-${t}`&&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-${t}`&&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=t=>{const e=i(`#${t.attr("aria-controls")}`),n=e.parent().is(t),s=n?t.find(".aui-expander-short-content"):null;return e.attr("aria-expanded")&&(qn["aria-expanded"](),"true"===e.attr("aria-expanded")&&e.addClass("expanded"),e.removeAttr("aria-expanded")),{$content:e,isTriggerParent:n,$shortContent:s,isExpanded:e.hasClass("expanded"),height:e.css("min-height"),isCollapsible:!1!==t.data("collapsible"),textReplacement:t.attr("data-replace-text")}};const Qn=(t,e)=>{if(!e)return;const i=t.data("replace-selector");if(i){qn["replace-selector"]();const n=t.find(i);return t.attr("data-replace-text",n.text()),void n.text(e)}const n=t.find(":not(:has(*)):first"),s=n.length?n:t;t.attr("data-replace-text",s.text()),s.text(e)},Gn={"aui-expander-invoke":function(t){const e=i(t.currentTarget),{isCollapsible:n,isExpanded:s}=Kn(e);s&&n?e.trigger("aui-expander-collapse"):e.trigger("aui-expander-expand")},"aui-expander-expand":function(t){!function(t){const{$content:e,isTriggerParent:i,$shortContent:n,textReplacement:s}=Kn(t);t.attr("aria-expanded","true"),e.addClass("expanded"),e.removeAttr("hidden"),Qn(t,s),i&&n.hide(),t.trigger("aui-expander-expanded")}(i(t.currentTarget))},"aui-expander-collapse":function(t){!function(t){const{$content:e,isTriggerParent:i,$shortContent:n,textReplacement:s}=Kn(t);Qn(t,s),t.attr("aria-expanded","false"),e.removeClass("expanded"),i&&n.show(),0===e.outerHeight()&&e.attr("hidden",""),t.trigger("aui-expander-collapsed")}(i(t.currentTarget))},"click.aui-expander":function(t){i(t.currentTarget).trigger("aui-expander-invoke",t.currentTarget)}};i(document).on(Gn,".aui-expander-trigger"),i(document).ready(function(){i(".aui-expander-trigger").each(function(){!function(t){const{$content:e,isTriggerParent:i,isExpanded:n}=Kn(t);t.data("replace-selector")&&qn["replace-selector"](),e.attr("aria-expanded")&&(qn["aria-expanded"](),"true"===e.attr("aria-expanded")&&e.addClass("expanded"),e.removeAttr("aria-expanded")),(i?t.find(".aui-expander-short-content"):null)&&qn["short-content"](),0===e.outerHeight()&&!n&&e.attr("hidden",""),t.attr("aria-expanded",n?"true":"false")}(i(this))})});function Jn(t,e,n){i(t||".aui-message.aui-remove-on-hide").each(function(){Xn(i(this),e,n)})}function Zn(t){i(t||"div.aui-message.closeable").each(function(){const t=i(this),e=t.find(Te),n=e.length>0?e.first():i(Ee);var s;t.addClass("closeable"),t.append(n),(s=t).unbind("click.aui-message").unbind("keydown.aui-message"),s.on("click.aui-message",Te,function(t){i(t.target).closest(".aui-message").closeMessage()}).on("keydown.aui-message",Te,function(t){t.which!==Q.ENTER&&t.which!==Q.SPACE||(i(t.target).closest(".aui-message").closeMessage(),t.preventDefault())})})}function Xn(t,e,n){e=void 0!==e?e:5e3,n=void 0!==n?n:500,i(t||"div.aui-message.fadeout").each(function(){const t=i(this);let s=!1,r=!1;function a(){t.stop(!0,!1).delay(e).fadeOut(n,function(){t.closeMessage()})}function o(){t.stop(!0,!1).fadeTo(100,1)}function l(){return!s&&!r}t.focusin(function(){s=!0,o()}).focusout(function(){s=!1,l()&&a()}).hover(function(){r=!0,o()},function(){r=!1,l()&&a()}),a()})}const ts={setup:function(){Jn(),Zn(),Xn()},makeRemoveOnHide:Jn,makeCloseable:Zn,makeFadeout:Xn,createMessage:function(t){this[t]=function(e,n){n||(n=e,e="#aui-message-bar"),n.closeable=null!==n.closeable&&!1!==n.closeable,n.title=(n.title||"").toString().trim();let s=function(t,e){const{id:n,closeable:s,removeOnHide:r,fadeout:a,title:o,body:l}=t,c=function(t,e){const{a11yTypeLabel:i}=t;if(""===i)return"";if(null!=i)return i;if(null==i)switch(e){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 ${e}`)}}(t,e),u=c?`<strong hidden>${c}: </strong>`:"",d=n?`${n}-title`:"",h=o?`<p class="title" ${d?`id="${d}" aria-hidden="true"`:""}>${u}<strong>${D(o)}</strong></p>`:"",p=`<div class="aui-message" role="note" ${d?`aria-labelledby="${d}"`:""}>${h}</div>`,f=i(p).append(i.parseHTML(l||"")).addClass(r?"aui-remove-on-hide":"").addClass(s?"closeable":"").addClass(a?"fadeout":"").addClass(`aui-message-${e}`);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,t);return function(t,e,i){"prepend"===e?t.prependTo(i):"before"===e?t.insertBefore(i):"after"===e?t.insertAfter(i):t.appendTo(i)}(s,n.insert,e),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."),Jn(s,n.delay,n.duration)),n.closeable&&Zn(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 t=i(this);t.hasClass("aui-message")&&(t.hasClass("closeable")||t.hasClass("aui-remove-on-hide"))&&(t.stop(!0),t.trigger("messageClose",[this]),t.remove(),i(document).trigger("aui-message-close",[this]))},ts.createMessage("generic"),ts.createMessage("error"),ts.createMessage("warning"),ts.createMessage("info"),ts.createMessage("confirmation"),ts.createMessage("change"),ts.createMessage("success"),ts.createMessage("hint");const es=J("aui-message",{created:function(t){const e=t.innerHTML,i=t.getAttribute("type")||"info";t.innerHTML="",ts[i](t,{body:e,id:t.getAttribute("id"),a11yTypeLabel:t.getAttribute("a11yTypeLabel"),removeOnHide:t.getAttribute("removeOnHide"),closeable:t.getAttribute("closeable"),delay:t.getAttribute("delay"),duration:t.getAttribute("duration"),fadeout:t.getAttribute("fadeout"),title:t.getAttribute("title")}),t.setAttribute("role","none")}});i(function(){ts.setup()}),j(ts,"makeCloseable",{extraInfo:'Use the "closeable" option in the constructor instead. Docs: https://aui.atlassian.com/latest/docs/messages.html'}),j(ts,"createMessage",{extraInfo:"Use the provided convenience methods instead e.g. messages.info(). Docs: https://aui.atlassian.com/latest/docs/messages.html"}),j(ts,"makeRemoveOnHide",{extraInfo:"Use of the `makeRemoveOnHide` option is deprecated due to accessibility reasons. Docs: https://aui.atlassian.com/latest/docs/messages.html"}),j(ts,"makeFadeout",{extraInfo:"Use of the `fadeout` option is deprecated due to accessibility reasons. Docs: https://aui.atlassian.com/latest/docs/messages.html"}),j(ts,"generic",{extraInfo:"use the messages.info() method instead. Docs: https://aui.atlassian.com/latest/docs/messages.html"}),j(ts,"hint",{extraInfo:"use the messages.info() method instead. Docs: https://aui.atlassian.com/latest/docs/messages.html"}),j(ts,"success",{extraInfo:"use the messages.confirmation() method instead. Docs: https://aui.atlassian.com/latest/docs/messages.html"}),l("messages",ts);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 rs(t){const e=(0,pe.defaults)(t,ss);e.title=(e.title||"").toString().trim();const n=function({body:t,title:e,close:n,type:s,ariaLive:r,ariaLabel:a,ariaDescription:o}){const l=`<div class="aui-message">${e?`<p class="title"><strong>${D(e)}</strong></p>`:""}</div>`;a||(a=function(t){switch(t){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(t||"")).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":D(a),"aria-hidden":"false","aria-live":D(r),role:d,...u?{"data-aui-focus-selector":is.split(", ").map(t=>`.aui-message ${t}`).join(", "),"data-aui-focus":"true"}:{},...o?{"aria-description":D(o)}:{}}).append(c)}(e);return function(t){const e=t[0];e.close=function(){os(t)}}(n),"auto"===e.close?(as(n),"alert"===n.attr("role")&&function(t,e){t.find(".aui-message").addClass("aui-will-close"),setTimeout(function(){t[0].close()},e)}(n,e.duration)):"manual"===e.close&&as(n),function(){const t=ls();if(t){const e=t.querySelectorAll(".aui-flag:not([open])");Array.from(e).map(t=>t.parentNode.removeChild(t))}else i("body").prepend('<div id="'+ns+'"></div>')}(),function(t){const e=ls();t.appendTo(e),U(t),t.removeAttr("hidden").attr("open","")}(n),setTimeout(function(){"alertdialog"===n.attr("role")&&ft.global.enter(n)},0),n.get(0)}function as(t){const e=i(Ee);return e.on("click",function(){os(t)}),e.on("keypress",function(e){e.which!==Q.ENTER&&e.which!==Q.SPACE||(os(t),e.preventDefault())}),t.find(".aui-message").append(e)[0]}function os(t){const e=t.get(0);return"alertdialog"===t.attr("role")&&ft.global.exit(t),e.removeAttribute("open"),e.setAttribute("inert",""),e.setAttribute("aria-hidden",!0),e.style.display="none",e.dispatchEvent(new vt("aui-flag-close",{bubbles:!0})),e}function ls(){return document.getElementById(ns)}G("aui/flag",rs),l("flag",rs);const cs=rs;
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(t,e){this.v=t,this.k=e}function ds(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=Array(e);i<e;i++)n[i]=t[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 */