@hpcc-js/dgrid 3.8.0 → 3.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1402 -2
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +4 -2
- package/dist/index.umd.cjs.map +1 -1
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -1,3 +1,1403 @@
|
|
|
1
|
-
var e=Object.defineProperty,t=(t,n)=>e(t,"name",{value:n,configurable:!0});import{HTMLWidget as n,Palette as r,PropertyExt as o,Utility as i}from"@hpcc-js/common";import{hashSum as s}from"@hpcc-js/util";const a="@hpcc-js/dgrid",l="3.8.0",c="3.25.0",u=new Function("globalThis",'var self = globalThis; var window = globalThis;/*! For license information please see index.min.js.LICENSE.txt */\n!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["@hpcc-js/dgrid-shim"]=t():e["@hpcc-js/dgrid-shim"]=t()}(self,()=>(()=>{var __webpack_modules__={2840(e){e.exports=function(e,t,n,r){this.loaderVersion="1.17.3",function(e,t){var n=function(){return void 0!==u&&"function"!=typeof u?u:void 0!==r?r:"undefined"!=typeof self?self:this}(),o=function(){},i={}.toString,s=function(e){return"[object Function]"==i.call(e)},a=function(e,t){if(e)for(var n=0;n<e.length;)t(e[n++])},l=function(e,t){for(var n in t)e[n]=t[n];return e},c=1,d=function(e,t,n){return(void 0)(e,t,n,0,d)},u=n,h=u.document,f=h&&h.createElement("DiV"),p=d.has=function(e){return s(v[e])?v[e]=v[e](u,h,f):v[e]},v=p.cache=t.hasCache;for(var g in s(e)&&(e=e(n)),p.add=function(e,t,n,r){return(void 0===v[e]||r)&&(v[e]=t),n&&p(e)},e.has)p.add(g,e.has[g],0,1);d.async=1;var m=function(){};d.eval=function(e,t){return m(e+"\\r\\n//# sourceURL="+t)};var y,_={},b=(d.signal=function(e,t){var n=_[e];a(n&&n.slice(0),function(e){var n;e.apply(null,(n=t,"[object Array]"==i.call(n)?t:[t]))})},d.on=function(e,t){var n=_[e]||(_[e]=[]);return n.push(t),{remove:function(){for(var e=0;e<n.length;e++)if(n[e]===t)return void n.splice(e,1)}}}),w=[],x=[],N={},C=(d.map={},[]),j={},S="",T={};t.paths,x=t.pathsMapProg,N=t.packs,w=t.aliases,C=t.mapProgs,j=t.modules,T=t.cache,S=t.cacheBust,d.rawConfig=t;var E=function(e,t){if(t)for(var n=0;n<t.length;n++)if(t[n][2].test(e))return t[n];return 0},M=function(e){var t,n,r=[];for(e=e.replace(/\\\\/g,"/").split("/");e.length;)".."==(t=e.shift())&&r.length&&".."!=n?(r.pop(),n=r[r.length-1]):"."!=t&&r.push(n=t);return r.join("/")},A=function(e,t,n,r){return{pid:e,mid:t,pack:n,url:r,executed:0,def:0}},P=function(e,t,n,r,o,i,c,d,u,h){var f,p,v,g,m,_,b;if(b=/^\\./.test(e),/(^\\/)|(\\:)|(\\.js$)/.test(e)||b&&!t)return A(0,e,0,e);if(e=M(b?t.mid+"/../"+e:e),/^\\./.test(e))throw function(e,t){return l(new Error(e),{src:"dojoLoader",info:t})}("irrationalPath",e);h||b||!i.star||(g=E(e,i.star[1])),!g&&t&&(g=(g=E(t.mid,i))&&E(e,g[1])),g&&(e=g[1]+e.substring(g[3])),(p=n[f=(y=e.match(/^([^\\/]+)(\\/(.+))?$/))?y[1]:""])?e=f+"/"+(v=y[3]||p.main):f="";var w=0;return a(d,function(t){var n=e.match(t[0]);n&&n.length>0&&(w=s(t[1])?e.replace(t[0],t[1]):t[1])}),w?P(w,0,n,r,o,i,c,d,u):(_=r[e])?u?A(_.pid,_.mid,_.pack,_.url):r[e]:(m=(g=E(e,c))?g[1]+e.substring(g[3]):f?("/"===p.location.slice(-1)?p.location.slice(0,-1):p.location)+"/"+v:e,/(^\\/)|(\\:)/.test(m)||(m=o+m),A(f,e,p,M(m+=".js")))},R=function(e,t,n){return P(e,t,N,j,d.baseUrl,C,x,w,void 0,n)},L=(d.toAbsMid=function(e,t){return R(e,t).mid},d.toUrl=function(e,t){var n=R(e+"/x",t),r=n.url;return L(0===n.pid?e:r.substring(0,r.length-5))},"function"==typeof e.fixupUrl?e.fixupUrl:function(e){return(e+="")+(S?(/\\?/.test(e)?"&":"?")+S:"")});d.log=o,d.trace=o;var I=o;(l(l(d,t.loaderPatch),e.loaderPatch),b("error",function(e){try{if(console.error(e),e instanceof Error){for(var t in e)console.log(t+":",e[t]);console.log(".")}}catch(e){}}),l(d,{uid:function(){return"_"+c++},cache:T,packs:N}),u.define)||(u.define=I,u.require=d)}.call(this,e,t)}},1996(e,t,n){var r,o;n.dj.r;r=[n(6345),n(6323),n(8945),n(28),n(2075),n(6566),n(1172),n(6356),n(4975),n(3927)],o=function(e,t,n,r,o,i,s,a,l){a.add("event-mousewheel",function(e,t,n){return"onmousewheel"in n}),a.add("event-wheel",function(e,t,n){return"onwheel"in n});var c="data-dgrid-column-set-id";function d(e,t){var n=e._columnSetScrollLefts;s(".dgrid-column-set",t).forEach(function(e){e.scrollLeft=n[e.getAttribute(c)]})}function u(e,t){if(e&&e.length){for(var n=[],r=t+"-",o=0,i=e.length;o<i;o++){var s=e[o],a=[];a.className=s.className;for(var l=0,c=s.length;l<c;l++){var d=s[l];null!=d.id&&0===d.id.indexOf(r)&&a.push(d)}n.push(a)}return n}}function h(e,t){return t&&e===t||n.contains(e,"dgrid")}var f=a("event-mousewheel")||a("event-wheel")?function(e){return function(t,n){return o(t,a("event-wheel")?"wheel":"mousewheel",function(r){var o,i=function(e,t){for(1!==e.nodeType&&(e=e.parentNode);e&&!s.matches(e,".dgrid-column-set["+c+"]",t);){if(h(e,t))return null;e=e.parentNode}return e}(r.target,t);i&&(o=r.deltaX||-r.wheelDeltaX/3)&&n.call(null,e,i,o)})}}:function(e){return function(t,n){return o(t,".dgrid-column-set["+c+"]:MozMousePixelScroll",function(t){1===t.axis&&n.call(null,e,this,t.detail)})}};function p(e,t,n){var r=t.getAttribute(c),o=e._columnSetScrollers[r],i=o.scrollLeft+n;o.scrollLeft=i<0?0:i}return e(null,{constructor:function(){if("_editorInstances"in this)throw new Error("When used with Editor ColumnSet must be mixed in before Editor.")},postCreate:function(){var e=this;this.inherited(arguments),this.on(f(this),p),this.on(".dgrid-column-set:dgrid-cellfocusin",function(t){e._onColumnSetCellFocus(t,this)}),"function"==typeof this.expand&&this._listeners.push(i.after(this,"expand",function(t,n){return t.then(function(){var t=e.row(n[0]);e._expanded[t.id]&&d(e,t.element.connected)}),t}))},columnSets:[],createRowCells:function(e,t,n,o,i){for(var s=r.create("table",{className:"dgrid-row-table"}),a=r.create("tbody",null,s),l=r.create("tr",null,a),d=0,h=this.columnSets.length;d<h;d++){var f=r.create(e,{className:"dgrid-column-set-cell dgrid-column-set-"+d},l);(f=r.create("div",{className:"dgrid-column-set"},f)).setAttribute(c,d);var p=u(n||this.subRows,d)||this.columnSets[d];f.appendChild(this.inherited(arguments,[e,t,p,o,i]))}return s},renderArray:function(){for(var e=this.inherited(arguments),t=0;t<e.length;t++)d(this,e[t]);return e},insertRow:function(){var e=this.inherited(arguments);return d(this,e),e},renderHeader:function(){this.inherited(arguments);var e,t,n=this.columnSets,o=this._columnSetScrollers,s=this;function a(){s._positionScrollers()}if(this._columnSetScrollerContents={},this._columnSetScrollLefts={},o)for(e in o)r.destroy(o[e]);else this._listeners.push(i.after(this,"resize",a,!0),i.after(this,"styleColumn",a,!0)),this._columnSetScrollerNode=r.create("div",{className:"dgrid-column-set-scroller-container"},this.footerNode,"after");for(o=this._columnSetScrollers={},e=0,t=n.length;e<t;e++)this._putScroller(n[e],e);this._positionScrollers()},styleColumnSet:function(e,t){var n=this.addCssRule("#"+l.escapeCssIdentifier(this.domNode.id)+" .dgrid-column-set-"+l.escapeCssIdentifier(e,"-"),t);return this._positionScrollers(),n},configStructure:function(){this.columns={},this.subRows=[];for(var e=0,t=this.columnSets.length;e<t;e++)for(var n=this.columnSets[e],r=0;r<n.length;r++)n[r]=this._configColumns(e+"-"+r+"-",n[r]);this.inherited(arguments)},_positionScrollers:function(){var e,t,n,r,o=this.domNode,i=this._columnSetScrollers,l=this._columnSetScrollerContents,d=0,u=0;for(e=0,t=this.columnSets.length;e<t;e++)d=(n=s(".dgrid-column-set["+c+\'="\'+e+\'"]\',o)[0]).offsetWidth,r=n.firstChild.offsetWidth,l[e].style.width=r+"px",i[e].style.width=d+"px",a("ie")<9&&(i[e].style.overflowX=r>d?"scroll":"auto"),r>d&&u++;this._columnSetScrollerNode.style.bottom=this.showFooter?this.footerNode.offsetHeight+"px":"0",this.bodyNode.style.bottom=u?a("dom-scrollbar-height")+(a("ie")?1:0)+"px":"0"},_putScroller:function(e,n){var i=this._columnSetScrollers[n]=r.create("span",{className:"dgrid-column-set-scroller dgrid-column-set-scroller-"+n+(a("ie")<9?" dgrid-scrollbar-height":"")},this._columnSetScrollerNode);i.setAttribute(c,n),this._columnSetScrollerContents[n]=r.create("div",{className:"dgrid-column-set-scroller-content"},i),o(i,"scroll",t.hitch(this,"_onColumnSetScroll"))},_onColumnSetScroll:function(e){var t,n=e.target.scrollLeft,r=e.target.getAttribute(c);this._columnSetScrollLefts[r]!==n&&(s(".dgrid-column-set["+c+\'="\'+r+\'"],.dgrid-column-set-scroller[\'+c+\'="\'+r+\'"]\',this.domNode).forEach(function(e,r){e.scrollLeft=n,r||(t=e.scrollLeft)}),this._columnSetScrollLefts[r]=t)},_setColumnSets:function(e){this._destroyColumns(),this.columnSets=e,this._updateColumns()},_scrollColumnSet:function(e,t){var n=e.tagName?e.getAttribute(c):e;this._columnSetScrollers[n].scrollLeft=t<0?0:t},_onColumnSetCellFocus:function(e,t){var n=e.target,r=t.getAttribute(c),o=this._columnSetScrollers[r];(n.offsetLeft-o.scrollLeft+n.offsetWidth>t.offsetWidth||o.scrollLeft>n.offsetLeft)&&this._scrollColumnSet(t,n.offsetLeft)}})}.apply(null,r),void 0===o||(e.exports=o)},1540(e,t,n){var r,o;n.dj.r;r=[n(6345),n(6323),n(28),n(8945),n(2075),n(6356),n(4624),n(4975),n(3927)],o=function(e,t,n,r,o,i,s,a){function l(e,t){t&&t.nodeType&&e.appendChild(t)}function c(e){return a.escapeCssIdentifier(e,"-")}var d=e(s,{columns:null,hasNeutralSort:!1,cellNavigation:!0,tabableHeader:!0,showHeader:!0,column:function(e){return"object"!=typeof e?this.columns[e]:this.cell(e).column},listType:"grid",cell:function(e,t){if(e.column&&e.element)return e;var n;if(e.target&&e.target.nodeType&&(e=e.target),e.nodeType)do{if(this._rowIdToObject[e.id])break;var r=e.columnId;if(r){t=r,n=e;break}e=e.parentNode}while(e&&e!==this.domNode);if(!n&&void 0!==t){var o=this.row(e),i=o&&o.element;if(i)for(var s=i.getElementsByTagName("td"),a=0;a<s.length;a++)if(s[a].columnId===t){n=s[a];break}}return null!=e?{row:o||this.row(e),column:t&&this.column(t),element:n}:void 0},createRowCells:function(e,t,r,o,s){var a,l,d,u,h,f,p,v,g,m,y,_,b,w=n.create("table",{className:"dgrid-row-table",role:"presentation"}),x=i("ie")<9?n.create("tbody",null,w):w;for(l=0,d=(r=r||this.subRows).length;l<d;l++)for(f=r[l],a=n.create("tr",null,x),f.className&&(a.className=f.className),u=0,h=f.length;u<h;u++)v=(p=f[u]).id,g=p.field?" field-"+c(p.field):"",(m="function"==typeof p.className?p.className(o):p.className)&&(g+=" "+m),(y=n.create(e,{className:"dgrid-cell"+(v?" dgrid-column-"+c(v):"")+g,role:"th"===e?"columnheader":"gridcell"})).columnId=v,(_=p.colSpan)&&(y.colSpan=_),(b=p.rowSpan)&&(y.rowSpan=b),t(y,p,o,s),a.appendChild(y);return w},_createBodyRowCell:function(e,t,n,r){var o=n;t.get?o=t.get(n):"field"in t&&"_item"!==t.field&&(o=n[t.field]),t.renderCell?l(e,t.renderCell(n,o,e,r)):this._defaultRenderCell.call(t,n,o,e,r)},_createHeaderRowCell:function(e,t){var n=t.headerNode=e,r=t.field;r&&(e.field=r),t.renderHeaderCell?l(n,t.renderHeaderCell(n)):("label"in t||t.field)&&n.appendChild(document.createTextNode("label"in t?t.label:t.field)),!1!==t.sortable&&r&&"_item"!==r&&(e.sortable=!0,e.className+=" dgrid-sortable")},left:function(e,t){return e.element||(e=this.cell(e)),this.cell(this._move(e,-(t||1),"dgrid-cell"))},right:function(e,t){return e.element||(e=this.cell(e)),this.cell(this._move(e,t||1,"dgrid-cell"))},_defaultRenderCell:function(e,t,n){if(this.formatter){var r=this.formatter,o=this.grid.formatterScope,i="string"==typeof r&&o?o[r](t,e):this.formatter(t,e);null!=i&&i.hasOwnProperty("html")?n.innerHTML=i.html:null!=i&&n.appendChild(document.createTextNode(i))}else null!=t&&n.appendChild(document.createTextNode(t))},renderRow:function(e,r){var o=this.createRowCells("td",t.hitch(this,"_createBodyRowCell"),r&&r.subRows,e,r),i=n.create("div",{role:"row"});return i.appendChild(o),i},renderHeader:function(){var e=this,r=this.headerNode;r.setAttribute("role","row"),n.empty(r);var s=this.createRowCells("th",t.hitch(this,"_createHeaderRowCell"),this.subRows&&this.subRows.headerRows);this._rowIdToObject[s.id=this.id+"-header"]=this.columns,r.appendChild(s),this._sortListener&&this._sortListener.remove(),this._sortListener=o(s,"click,keydown",function(t){if("click"===t.type||32===t.keyCode||!i("opera")&&13===t.keyCode){var n,s,a,l,c=t.target;do{if(c.sortable){n=c.field||c.columnId,s=e.sort[0],a=e.hasNeutralSort&&s&&s.property===n&&s.descending?[]:[{property:n,descending:s&&s.property===n&&!s.descending}],l={bubbles:!0,cancelable:!0,grid:e,parentType:t.type,sort:a},o.emit(t.target,"dgrid-sort",l)&&(e._sortNode=c,e.set("sort",a));break}}while((c=c.parentNode)&&c!==r)}})},resize:function(){var e,t=this.headerNode.firstChild,n=this.contentNode;this.inherited(arguments),n.style.width="",n&&t&&(e=t.offsetWidth)>n.offsetWidth&&(n.style.width=e+"px")},destroy:function(){this._destroyColumns(),this._sortListener&&this._sortListener.remove(),this.inherited(arguments)},_setSort:function(){this.inherited(arguments),this.updateSortArrow(this.sort)},_findSortArrowParent:function(e){var t=this.columns;for(var n in t){var r=t[n];if(r.field===e)return r.headerNode}},updateSortArrow:function(e,t){if(this._lastSortedArrow&&(this._lastSortedArrow.parentNode&&r.remove(this._lastSortedArrow.parentNode,"dgrid-sort-up dgrid-sort-down"),n.destroy(this._lastSortedArrow),delete this._lastSortedArrow),t&&(this.sort=e),e[0]){var o=e[0].property,i=e[0].descending,s=this._sortNode||this._findSortArrowParent(o);delete this._sortNode,s&&(s=s.contents||s,this._lastSortedArrow=n.create("div",{className:"dgrid-sort-arrow ui-icon",innerHTML:" ",role:"presentation"},s,"first"),r.add(s,"dgrid-sort-"+(i?"down":"up")),this.resize())}},styleColumn:function(e,t){return this.addCssRule("#"+a.escapeCssIdentifier(this.domNode.id)+" .dgrid-column-"+c(e),t)},_configColumns:function(e,t){var n=[],r=t instanceof Array;return a.each(t,function(o,i){"string"==typeof o&&(t[i]=o={label:o}),r||o.field||(o.field=i),i=o.id=o.id||(isNaN(i)?i:e+i),this._configColumn&&(this._configColumn(o,t,e),i=o.id),r&&(this.columns[i]=o),o.grid?o.grid!==this&&console.warn("Sharing column definition objects with multiple grids is not supported.",o.grid,this):o.grid=this,n.push(o)},this),r?t:n},_destroyColumns:function(){this.cleanup()},configStructure:function(){var e=this.subRows,t=this._columns=this.columns;if(this.columns=!t||t instanceof Array?{}:t,e)for(var n=0;n<e.length;n++)e[n]=this._configColumns(n+"-",e[n]);else this.subRows=[this._configColumns("",t)]},_getColumns:function(){return this._columns||this.columns},_setColumns:function(e){this._destroyColumns(),this.subRows=null,this.columns=e,this._updateColumns()},_setSubRows:function(e){this._destroyColumns(),this.subRows=e,this._updateColumns()},_updateColumns:function(){this.configStructure(),this.renderHeader(),this.refresh(),this._lastCollection&&this.renderArray(this._lastCollection),this._started&&(this.sort.length?(this._lastSortedArrow=null,this.updateSortArrow(this.sort)):this.resize())}});return d.appendIfNode=l,d}.apply(null,r),void 0===o||(e.exports=o)},9173(e,t,n){var r,o;n.dj.r;r=[n(6345),n(6566),n(8945),n(2075),n(6323),n(6356),n(4975),n(3927)],o=function(e,t,n,r,o,i,s){var a={checkbox:1,radio:1,button:1},l=/\\bdgrid-cell\\b/,c=/\\bdgrid-row\\b/,d=e(null,{pageSkip:10,tabIndex:0,keyMap:null,headerKeyMap:null,mouseDownEventType:"mousedown",postMixInProperties:function(){this.inherited(arguments),this.keyMap||(this.keyMap=o.mixin({},d.defaultKeyMap)),this.headerKeyMap||(this.headerKeyMap=o.mixin({},d.defaultHeaderKeyMap))},postCreate:function(){this.inherited(arguments);var e=this;function n(e){var t=e.target;return t.type&&(!a[t.type]||32===e.keyCode)}function o(o){var i=e.cellNavigation,s=i?l:c,a=o===e.headerNode,d=o;function u(){if(e._focusedHeaderNode&&(e._focusedHeaderNode.tabIndex=-1),e.showHeader){if(i){for(var t,n=e.headerNode.getElementsByTagName("th"),r=0;t=n[r];++r)if(s.test(t.className)){e._focusedHeaderNode=d=t;break}}else e._focusedHeaderNode=d=e.headerNode;d&&(d.tabIndex=e.tabIndex)}}function h(){var t=e._focusedNode||d;if(!s.test(t.className)||!o.contains(t)){for(var n,r=o.getElementsByTagName("*"),i=0;n=r[i];++i)if(s.test(n.className)){t=e._focusedNode=n;break}d.tabIndex=-1,t.tabIndex=e.tabIndex}}a?(u(),e._listeners.push(t.after(e,"renderHeader",u,!0))):e._listeners.push(t.after(e,"renderArray",h,!0),t.after(e,"_onNotification",function(e,t){0===t.totalLength?o.tabIndex=0:1===t.totalLength&&"add"===t.type&&h()},!0)),e._listeners.push(r(o,e.mouseDownEventType,function(t){n(t)||e._focusOnNode(t.target,a,t)})),e._listeners.push(r(o,"keydown",function(t){if(!t.metaKey&&!t.altKey){var r=e[a?"headerKeyMap":"keyMap"][t.keyCode];r&&!n(t)&&r.call(e,t)}}))}this.tabableHeader&&(o(this.headerNode),r(this.headerNode,"dgrid-cellfocusin",function(){e.scrollTo({x:this.scrollLeft})})),o(this.contentNode),this._debouncedEnsureScroll=s.debounce(this._ensureScroll,this)},_pruneRow:function(){var e=this._focusedNode;this._focusedNode=null,this.inherited(arguments),this._focusedNode=e},removeRow:function(e){if(!this._focusedNode)return this.inherited(arguments);var t,n=this,r=document.activeElement===this._focusedNode,o=this[this.cellNavigation?"cell":"row"](this._focusedNode),i=o.row||o;(e=e.element||e)===i.element&&((t=this.down(i,1,!0))&&t.element!==e||(t=this.up(i,1,!0)),this._removedFocus={active:r,rowId:i.id,columnId:o.column&&o.column.id,siblingId:t&&t.element!==e?t.id:void 0},setTimeout(function(){n._removedFocus&&n._restoreFocus(i.id)},0),this._focusedNode=null),this.inherited(arguments)},insertRow:function(){var e=this.inherited(arguments);return this._removedFocus&&!this._removedFocus.wait&&this._restoreFocus(e),e},_restoreFocus:function(e){var t,r,o=this._removedFocus;if((t=(e=e&&this.row(e))&&e.element&&e.id===o.rowId?e:void 0!==o.siblingId&&this.row(o.siblingId))&&t.element){if(!t.element.parentNode.parentNode)return void(o.wait=!0);void 0!==o.columnId&&(r=this.cell(t,o.columnId))&&r.element&&(t=r),o.active&&0!==t.element.offsetHeight?this._focusOnNode(t,!1,null):(n.add(t.element,"dgrid-focus"),t.element.tabIndex=this.tabIndex,this._focusedNode=t.element)}delete this._removedFocus},addKeyHandler:function(e,n,r){var o=t.after(this[r?"headerKeyMap":"keyMap"],e,n,!0);return this._listeners.push(o),o},_ensureRowScroll:function(e){var t=this.getScrollPosition().y;t>e.offsetTop?this.scrollTo({y:e.offsetTop}):t+this.contentNode.offsetHeight<e.offsetTop+e.offsetHeight&&this.scrollTo({y:e.offsetTop-this.contentNode.offsetHeight+e.offsetHeight})},_ensureColumnScroll:function(e){var t=this.getScrollPosition().x,n=e.offsetLeft;if(t>n)this.scrollTo({x:n});else{var r=this.bodyNode.clientWidth,o=e.offsetWidth,i=n+o;t+r<i&&this.scrollTo({x:r>o?i-r:n})}},_ensureScroll:function(e,t){!e.column&&!e.row&&e.data&&e.element?this._ensureRowScroll(e.element):(this.cellNavigation&&(this.columnSets||this.subRows.length>1)&&!t&&this._ensureRowScroll(e.row.element),this.bodyNode.clientWidth<this.contentNode.offsetWidth&&this._ensureColumnScroll(e.element))},_focusOnNode:function(e,t,i){var s,a,d,u,h,f="_focused"+(t?"Header":"")+"Node",p=this[f],v=this.cellNavigation?"cell":"row",g=this[v](e);if(e=g&&g.element){if(this.cellNavigation)for(h=0,d=(s=e.getElementsByTagName("input")).length;h<d;h++)if((-1!==(a=s[h]).tabIndex||"_dgridLastValue"in a)&&!a.disabled){a.focus(),u=!0;break}null!==i&&((i=o.mixin({grid:this},i)).type&&(i.parentType=i.type),i.bubbles||(i.bubbles=!0)),p&&(n.remove(p,"dgrid-focus"),p.removeAttribute("tabindex"),i&&(i[v]=this[v](p),r.emit(p,"dgrid-cellfocusout",i))),p=this[f]=e,i&&(i[v]=g);var m=this.cellNavigation?l:c;!u&&m.test(e.className)&&(e.tabIndex=this.tabIndex,e.focus()),n.add(e,"dgrid-focus"),i&&r.emit(p,"dgrid-cellfocusin",i),this._debouncedEnsureScroll(g,t)}},focusHeader:function(e){this._focusOnNode(e||this._focusedHeaderNode,!0)},focus:function(e){var t=e||this._focusedNode;t?this._focusOnNode(t,!1):(this._removedFocus&&(this._removedFocus.active=!0),this.contentNode.focus())}}),u=d.moveFocusVertical=function(e,t){if(this._focusedNode&&e.target!==this.contentNode){var n=this.cellNavigation,r=this[n?"cell":"row"](e),o=n&&r.column.id,i=this.down(this._focusedNode,t,!0);n&&(i=this.cell(i,o)),this._focusOnNode(i,!1,e),e.preventDefault()}},h=d.moveFocusUp=function(e){u.call(this,e,-1)},f=d.moveFocusDown=function(e){u.call(this,e,1)},p=d.moveFocusPageUp=function(e){u.call(this,e,-this.pageSkip)},v=d.moveFocusPageDown=function(e){u.call(this,e,this.pageSkip)},g=d.moveFocusHorizontal=function(e,t){if(this.cellNavigation&&e.target!==this.contentNode){var n=!this.row(e),r=this["_focused"+(n?"Header":"")+"Node"];this._focusOnNode(this.right(r,t),n,e),e.preventDefault()}},m=d.moveFocusLeft=function(e){g.call(this,e,-1)},y=d.moveFocusRight=function(e){g.call(this,e,1)},_=d.moveHeaderFocusEnd=function(e,t){var n;this.cellNavigation&&(n=this.headerNode.getElementsByTagName("th"),this._focusOnNode(n[t?0:n.length-1],!0,e)),e.preventDefault()},b=d.moveHeaderFocusHome=function(e){_.call(this,e,!0)},w=d.moveFocusEnd=function(e,n){var r,s=this.cellNavigation,a=this.contentNode,l=n?0:a.scrollHeight,c=a.scrollTop+l,d=a[n?"firstChild":"lastChild"],u=d.className.indexOf("dgrid-preload")>-1,h=u?d[(n?"next":"previous")+"Sibling"]:d;if(e.preventDefault(),this.scrollTo({y:c}),u){for(;h&&h.className.indexOf("dgrid-row")<0;)h=h[(n?"next":"previous")+"Sibling"];if(!h)return}!u||d.offsetHeight<1?(s&&(h=this.cell(h,this.cell(e).column.id)),this._focusOnNode(h,!1,e)):(i("dom-addeventlistener")||(e=o.mixin({},e)),r=t.after(this,"renderArray",function(t){var o=t[n?0:t.length-1];return s&&(o=this.cell(o,this.cell(e).column.id)),this._focusOnNode(o,!1,e),r.remove(),t}),this._listeners.push(r))},x=d.moveFocusHome=function(e){w.call(this,e,!0)};function N(e){e.preventDefault()}return d.defaultKeyMap={32:N,33:p,34:v,35:w,36:x,37:m,38:h,39:y,40:f},d.defaultHeaderKeyMap={32:N,35:_,36:b,37:m,39:y},d}.apply(null,r),void 0===o||(e.exports=o)},4624(e,t,n){var r,o;n.dj.r;r=[n(6345),n(6323),n(8945),n(28),n(2075),n(1172),n(2616),n(4975)],o=function(e,t,n,r,o,i,s,a){var l=[];s("mozilla")&&l.push("has-mozilla"),n.add(document.documentElement,l),s.add("pointer",function(e){return"PointerEvent"in e?"pointer":"MSPointerEvent"in e&&"MSPointer"});var c,d,u="dgrid-row-odd",h="dgrid-row-even";function f(e,t){return i("#"+a.escapeCssIdentifier(e),t)[0]}function p(e){e.className="",e.parentNode&&document.body.removeChild(e)}function v(e,t){e.className="dgrid-scrollbar-measure",document.body.appendChild(e);var n=e["offset"+t]-e["client"+t];return p(e),n}s.add("dom-scrollbar-width",function(e,t,n){return v(n,"Width")}),s.add("dom-scrollbar-height",function(e,t,n){return v(n,"Height")}),s.add("dom-rtl-scrollbar-left",function(e,t,n){var o,i=document.createElement("div");return n.className="dgrid-scrollbar-measure",n.setAttribute("dir","rtl"),n.appendChild(i),document.body.appendChild(n),o=!!s("ie")||!!s("trident")||/\\bEdge\\//.test(navigator.userAgent)||i.offsetLeft>=s("dom-scrollbar-width"),p(n),r.destroy(i),n.removeAttribute("dir"),o});var g=0;function m(e){n.replace(this.domNode,e,this._class||""),this._class=e}function y(){return this._class}var _=function(){this._started&&this.resize()},b=e(null,{tabableHeader:!1,showHeader:!1,showFooter:!1,maintainOddEven:!0,cleanAddedRules:!0,addUiClasses:!0,highlightDuration:250,resizeThrottleDelay:a.defaultDelay,resizeThrottleMethod:"throttleDelayed",postscript:function(e,t){var n=this;(this._Row=function(e,t,n){this.id=e,this.data=t,this.element=n}).prototype.remove=function(){n.removeRow(this.element)},t&&(this.srcNodeRef=t=t.nodeType?t:f(t)),this.create(e,t)},listType:"list",create:function(t,n){var r,o=this.domNode=n||document.createElement("div");t&&(this.params=t,e.safeMixin(this,t),r=t.class||t.className||o.className),this.sort=this.sort||[],this._listeners=[],this._rowIdToObject={},this.postMixInProperties&&this.postMixInProperties(),this.id=o.id=o.id||this.id||b.autoIdPrefix+g++,this.buildRendering(),r&&m.call(this,r),this.postCreate(),delete this.srcNodeRef,this.domNode.offsetHeight&&this.startup()},buildRendering:function(){var e,i,l,c,d=this.domNode,u=this.addUiClasses,h=this;l=this.isRTL="rtl"===(document.body.dir||document.documentElement.dir||document.body.style.direction).toLowerCase(),d.className="",d.setAttribute("role","grid"),n.add(d,"dgrid dgrid-"+this.listType+(u?" ui-widget":"")),e=this.headerNode=r.create("div",{className:"dgrid-header dgrid-header-row"+(u?" ui-widget-header":"")+(this.showHeader?"":" dgrid-header-hidden")},d),i=this.bodyNode=r.create("div",{className:"dgrid-scroller"},d),s("ff")&&(i.tabIndex=-1),this.headerScrollNode=r.create("div",{className:"dgrid-header dgrid-header-scroll dgrid-scrollbar-width"+(u?" ui-widget-header":"")},d),this.footerNode=r.create("div",{className:"dgrid-footer"+(this.showFooter?"":" dgrid-footer-hidden")},d),l&&(d.className+=" dgrid-rtl"+(s("dom-rtl-scrollbar-left")?" dgrid-rtl-swap":"")),o(i,"scroll",function(t){h.showHeader&&(e.scrollLeft=t.scrollLeft||i.scrollLeft),t.stopPropagation(),o.emit(d,"scroll",{scrollTarget:i})}),this.configStructure(),this.renderHeader(),this.contentNode=this.touchNode=r.create("div",{className:"dgrid-content"+(u?" ui-widget-content":"")},this.bodyNode),"string"==typeof this.resizeThrottleMethod&&a[this.resizeThrottleMethod]?c=a[this.resizeThrottleMethod](_,this,this.resizeThrottleDelay):"function"==typeof this.resizeThrottleMethod?c=this.resizeThrottleMethod(t.hitch(this,_),this.resizeThrottleDelay):(console.warn("Invalid value specified for resizeThrottleMethod: "+this.resizeThrottleMethod),c=a.throttleDelayed(_,this,this.resizeThrottleDelay)),this._resizeHandle=o(window,"resize",c),this._listeners.push(this._resizeHandle)},postCreate:function(){},startup:function(){this._started||(this.inherited(arguments),this._started=!0,this.resize(),this.set("sort",this.sort))},configStructure:function(){},resize:function(){var e=this.bodyNode,t=this.headerNode,n=this.footerNode,r=t.offsetHeight,o=this.showFooter?n.offsetHeight:0;this.headerScrollNode.style.height=e.style.marginTop=r+"px",e.style.marginBottom=o+"px",c||(c=s("dom-scrollbar-width"),d=s("dom-scrollbar-height"),s("ie")&&(c++,d++),a.addCssRule(".dgrid-scrollbar-width","width: "+c+"px"),a.addCssRule(".dgrid-scrollbar-height","height: "+d+"px"),17!==c&&(a.addCssRule(".dgrid-header-row","right: "+c+"px"),a.addCssRule(".dgrid-rtl-swap .dgrid-header-row","left: "+c+"px")))},addCssRule:function(e,t){var n=a.addCssRule(e,t);return this.cleanAddedRules&&this._listeners.push(n),n},on:function(e,t){var n=o(this.domNode,e,t);return s("dom-addeventlistener")||this._listeners.push(n),n},cleanup:function(){var e;for(e in this._rowIdToObject)if(this._rowIdToObject[e]!==this.columns){var t=f(e,this.domNode);t&&this.removeRow(t,!0)}},destroy:function(){if(this._listeners){for(var e=this._listeners.length;e--;)this._listeners[e].remove();this._listeners=null}this._started=!1,this.cleanup(),r.destroy(this.domNode)},refresh:function(){this.cleanup(),this._rowIdToObject={},this._autoRowId=0,this.contentNode.innerHTML="",this.scrollTo({x:0,y:0})},highlightRow:function(e,t){var r="dgrid-highlight"+(this.addUiClasses?" ui-state-highlight":"");e=e.element||e,n.add(e,r),setTimeout(function(){n.remove(e,r)},t||this.highlightDuration)},adjustRowIndices:function(e){var t=e,n=t.rowIndex;if(n>-1)do{t.rowIndex>-1&&this.setRowIndex(t,n++,t.rowIndex)}while((t=t.nextSibling)&&t.rowIndex!==n)},renderArray:function(e,t,n){var r,o=this,i=(n=n||{}).start||0,s=document.createDocumentFragment(),a=[],l=0,c=e.length;for(t||(this._lastCollection=e);l<c;)a[l]=this.insertRow(e[l],s,null,i++,n),l++;return(r=t?t.parentNode:o.contentNode)&&r.parentNode&&(r!==o.contentNode||c)&&(r.insertBefore(s,t||null),c&&o.adjustRowIndices(a[c-1])),a},renderHeader:function(){},setRowIndex:function(e,t,r){if(e.rowIndex=t,this.maintainOddEven){var o=t%2==1?u:h;if(void 0!==r){var i=r%2==1?u:h;i!==o&&n.replace(e,i,o)}else n.add(e,o)}},_autoRowId:0,insertRow:function(e,t,n,r,o){var i=this.id+"-row-"+(this.collection&&this.collection.getIdentity?this.collection.getIdentity(e):this._autoRowId++),s=f(i,this.domNode),a=s&&s.previousSibling;return s&&(s===n&&(n=(n.connected||n).nextSibling),this.removeRow(s,!1,o)),(s=this.renderRow(e,o)).className=(s.className||"")+" dgrid-row "+(this.addUiClasses?" ui-state-default":""),this._rowIdToObject[s.id=i]=e,t.insertBefore(s,n||null),this.setRowIndex(s,r),a&&a.rowIndex!==s.rowIndex-1&&this.adjustRowIndices(a),s},renderRow:function(e){var t=document.createElement("div");return t.appendChild(document.createTextNode(e)),t},removeRow:function(e,t){e=e.element||e,delete this._rowIdToObject[e.id],t||r.destroy(e)},row:function(e){var t,n;if(e instanceof this._Row)return e;if(e.target&&e.target.nodeType&&(e=e.target),!e.nodeType)return"object"==typeof e?t=this.collection.getIdentity(e):(t=e,e=this._rowIdToObject[this.id+"-row-"+t]),new this._Row(t,e,f(this.id+"-row-"+t,this.domNode));do{var r=e.id;if(n=this._rowIdToObject[r])return new this._Row(r.substring(this.id.length+5),n,e);e=e.parentNode}while(e&&e!==this.domNode)},cell:function(e){return{row:this.row(e)}},_move:function(e,t,n,r){var o,i,s;s=i=e.element,t=t||1;do{if(o=i[t<0?"previousSibling":"nextSibling"]){do{if((i=o)&&(i.className+" ").indexOf(n+" ")>-1){s=i,t+=t<0?1:-1;break}}while(o=(!r||!i.hidden)&&i[t<0?"lastChild":"firstChild"])}else if(!(i=i.parentNode)||i===this.bodyNode||i===this.headerNode)break}while(t);return s},up:function(e,t,n){return e.element||(e=this.row(e)),this.row(this._move(e,-(t||1),"dgrid-row",n))},down:function(e,t,n){return e.element||(e=this.row(e)),this.row(this._move(e,t||1,"dgrid-row",n))},scrollTo:function(e){void 0!==e.x&&(this.bodyNode.scrollLeft=e.x),void 0!==e.y&&(this.bodyNode.scrollTop=e.y)},getScrollPosition:function(){return{x:this.bodyNode.scrollLeft,y:this.bodyNode.scrollTop}},get:function(e){var t="_get"+e.charAt(0).toUpperCase()+e.slice(1);return"function"==typeof this[t]?this[t].apply(this,[].slice.call(arguments,1)):(s("dojo-built")||"function"!=typeof this[t+"Attr"]||console.warn("dgrid: Use "+t+" instead of "+t+"Attr for getting "+e),this[e])},set:function(e,t){if("object"==typeof e)for(var n in e)this.set(n,e[n]);else{var r="_set"+e.charAt(0).toUpperCase()+e.slice(1);"function"==typeof this[r]?this[r].apply(this,[].slice.call(arguments,1)):(s("dojo-built")||"function"!=typeof this[r+"Attr"]||console.warn("dgrid: Use "+r+" instead of "+r+"Attr for setting "+e),this[e]=t)}return this},_getClass:y,_setClass:m,_getClassName:y,_setClassName:m,_setSort:function(e,t){this.sort="string"!=typeof e?e:[{property:e,descending:t}],this._applySort()},_applySort:function(){if(this.refresh(),this._lastCollection){var e=this.sort;if(e&&e.length>0){var t=e[0].property,n=!!e[0].descending;this._lastCollection.sort(function(e,r){var o=e[t],i=r[t];return void 0===o&&(o=""),void 0===i&&(i=""),o===i?0:o>i!==n?1:-1})}this.renderArray(this._lastCollection)}},_setShowHeader:function(e){var t=this.headerNode;this.showHeader=e,n.toggle(t,"dgrid-header-hidden",!e),this.renderHeader(),this.resize(),e&&(t.scrollLeft=this.getScrollPosition().x)},_setShowFooter:function(e){this.showFooter=e,n.toggle(this.footerNode,"dgrid-footer-hidden",!e),this.resize()}});return b.autoIdPrefix="dgrid_",b}.apply(null,r),void 0===o||(e.exports=o)},5602(e,t,n){var r,o;n.dj.r;r=[n(6345),n(1540),n(6850)],void 0===(o=function(e,t,n){return e([t,n],{})}.apply(null,r))||(e.exports=o)},6850(e,t,n){var r,o;n.dj.r;r=[n(4624),n(8301),n(6345),n(6323),n(28),n(2075),n(3534),n(1172),n(4975)],o=function(e,t,n,r,o,i,s,a,l){var c=0;function d(){return c++}function u(e){return e&&(e.className.indexOf("dgrid-row")>=0||e.className.indexOf("dgrid-loading")>=0)}function h(e){return e&&e.className.indexOf("dgrid-preload")>=0}return n([e,t],{minRowsPerPage:25,maxRowsPerPage:250,maxEmptySpace:1/0,bufferRows:10,farOffRemoval:2e3,queryRowsOverlap:0,pagingMethod:"debounce",pagingDelay:l.defaultDelay,keepScrollPosition:!1,rowHeight:0,_deleteQueue:[],postCreate:function(){this.inherited(arguments);var e=this;i(this.bodyNode,"scroll",l[this.pagingMethod](function(t){e._processScroll(t)},null,this.pagingDelay))},renderQuery:function(e,t){var n,i,a,l,c=this,u=t&&t.container||this.contentNode,h=0,f=t&&t.start||0;"level"in e&&(h=l=e.level),n={query:e,count:0,level:h,top:!1};var p={node:o.create("div",{className:"dgrid-preload",style:{height:"0"}},u),count:0,query:e,next:n,level:h,top:!0};(i=p.node).rowIndex=0,n.previous=p,a=n.node=o.create("div",{className:"dgrid-preload",style:{height:"0"}},u),p.id=d(),i.setAttribute("data-preloadid",p.id),n.id=d(),a.setAttribute("data-preloadid",n.id),a.rowIndex=this.minRowsPerPage,c._insertPreload(p);var v=o.create("div",{className:"dgrid-loading"},a,"before");return o.create("div",{className:"dgrid-below"},v).innerHTML=this.loadingMessage,t=r.mixin({start:0,count:this.minRowsPerPage},t),null!=l&&(t.queryLevel=l),this._trackError(function(){var r=e(t);return c.renderQueryResults(r,a,t).then(function(e){return r.totalLength.then(function(r){var l=e.length,d=a.parentNode;return c._rows&&!("queryLevel"in t)&&(c._rows.min=0,c._rows.max=l===r?1/0:l-1),o.destroy(v),"queryLevel"in t||(c._total=r),0===r&&d&&(c.noDataNode&&o.destroy(c.noDataNode),c._insertNoDataNode(d)),p.count=f,n.count=r-l-f,a.rowIndex=f+l,r?c._updatePreloadRowHeights(p):(a.style.display="none",i.style.display="none"),c._previousScrollPosition&&d&&d.offsetHeight&&(c.scrollTo(c._previousScrollPosition),delete c._previousScrollPosition),s(c._processScroll()).then(function(){return e})})}).otherwise(function(e){throw o.destroy(v),e})})},_insertPreload:function(e){var t=this.preload;if(t){for(;t.node.compareDocumentPosition(e.node)&Node.DOCUMENT_POSITION_PRECEDING;)if(null==(t=t.previous))return;for(;t.node.compareDocumentPosition(e.node)&Node.DOCUMENT_POSITION_FOLLOWING&&t.next;)t=t.next;t.previous.next=e,e.previous=t.previous;var n=e.next;n.next=t,t.previous=n}else this.preload=e},refresh:function(e){var t,n=this,r=e&&e.keepScrollPosition;if(void 0===r&&(r=this.keepScrollPosition),r&&(this._previousScrollPosition=this.getScrollPosition()),this.inherited(arguments),this._renderedCollection)return this.renderQuery(function(e){var r=n._renderedCollection.fetchRange({start:e.start,end:e.start+e.count});return r.then(function(e){t=e}),r}).then(function(){return n._emitRefreshComplete(),t})},resize:function(){this.inherited(arguments),this._processScroll()},cleanup:function(){this.inherited(arguments),this.preload=null},renderQueryResults:function(e){var t=this.inherited(arguments),n=this._getRenderedCollection(this.preload);return n&&n.releaseRange&&t.then(function(t){t[0]&&!t[0].parentNode.tagName&&e.totalLength.then(function(){n.releaseRange(t[0].rowIndex,t[t.length-1].rowIndex+1)})}),t},_getFirstRowSibling:function(e){return e.lastChild},_calcRowHeight:function(e){var t=e.nextSibling;return t&&!/\\bdgrid-preload\\b/.test(t.className)?t.offsetTop-e.offsetTop:e.offsetHeight},_calcAverageRowHeight:function(e){for(var t=e.length,n=0,r=0;r<t;r++)n+=this._calcRowHeight(e[r]);return t&&n?n/t:0},_updatePreloadRowHeights:function(){var e=this.preload,t=0;if(e){for(;e.previous;)e=e.previous;for(;e;)e.rowHeight||(e.rowHeight=this._calcAverageRowHeight(e.node.parentNode.querySelectorAll(".dgrid-row")),this._adjustPreloadHeight(e)),t=e?e.rowHeight:t,e=e.next;this.rowHeight=t}},lastScrollTop:0,_processScroll:function(e){var t,n=this.preload;if(this._updatePreloadRowHeights(),t=n&&n.rowHeight){var r,i,s,a=this,l=a.bodyNode,c=e&&e.scrollTop||this.getScrollPosition().y,d=l.offsetHeight+c,f=a.lastScrollTop,p=a.bufferRows*t,v=p-t,g=!0;for(a.lastScrollTop=c;n&&!n.node.offsetWidth;)n=n.previous;for(;n&&n!==r;){r=a.preload,a.preload=n;var m=(i=n.node).offsetTop;if(d+1+v<m)n=M(n,g=!1);else if(c-1-v>m+i.offsetHeight)n=M(n,g=!0);else{var y=((i.top?c-p:d)-m)/n.rowHeight,_=(d-c+2*p)/n.rowHeight,b=Math.max(Math.min((c-f)*n.rowHeight,a.maxRowsPerPage/2),a.maxRowsPerPage/-2);if(_+=Math.min(Math.abs(b),10),i.top&&(y-=_),(y=Math.max(y,0))<10&&y>0&&_+y<a.maxRowsPerPage&&(_+=Math.max(0,y),y=0),0===(_=Math.min(Math.max(_,a.minRowsPerPage),a.maxRowsPerPage,n.count))){n=M(n,g);continue}_=Math.ceil(_),y=Math.min(Math.floor(y),n.count-_);var w={};n.count-=_;var x,N=i,C=a.queryRowsOverlap,j=!n.top&&n;if(j)n.previous&&(E(n),y>0&&h(i.previousSibling)?(y=Math.min(n.count,y),n.previous.count+=y,a._adjustPreloadHeight(n.previous,!0),i.rowIndex+=y,C=0):_+=y,n.count-=y),w.start=i.rowIndex-C,w.count=Math.min(_+C,a.maxRowsPerPage),i.rowIndex=w.start+w.count;else n.next&&(N=i.nextSibling,E(n,!0),h(i.nextSibling)?(n.next.count+=n.count-y,n.next.node.rowIndex=y+_,a._adjustPreloadHeight(n.next),n.count=y,C=0,N=n.next.node):x=!0),w.start=n.count,w.count=Math.min(_+C,a.maxRowsPerPage),w.scrollingUp=!0;if(x&&N&&N.offsetWidth&&(x=N.offsetTop),a._adjustPreloadHeight(n),"level"in n.query&&(w.queryLevel=n.query.level),!("queryLevel"in w)&&(w.start>a._total||w.count<0))continue;var S=o.create("div",{className:"dgrid-loading",style:{height:_*n.rowHeight+"px"}},N,"before");o.create("div",{className:"dgrid-"+(j?"below":"above"),innerHTML:a.loadingMessage},S),S.count=_,a._trackError(function(){!function(e,t,r){var i=n.query(w);s=a.renderQueryResults(i,e,w).then(function(n){var s=a._rows;return s&&!("queryLevel"in w)&&n.length&&(t?(s.max<=s.min&&(s.min=n[0].rowIndex),s.max=n[n.length-1].rowIndex):(s.max<=s.min&&(s.max=n[n.length-1].rowIndex),s.min=n[0].rowIndex)),N=e.nextSibling,o.destroy(e),r&&N&&N.offsetWidth&&a.scrollTo({y:a.bodyNode.scrollTop+N.offsetTop-r}),i.totalLength.then(function(e){"queryLevel"in w||(a._total=e,a._rows&&a._rows.max>=a._total-1&&(a._rows.max=1/0)),t&&(t.count=e-t.node.rowIndex,a._adjustPreloadHeight(t))}),a._processScroll(),n},function(t){throw o.destroy(e),t})}(S,j,x)}),n=n.previous}}return s}function T(e,t){return t?e.node.offsetTop-d:c-(e.node.offsetTop+e.node.offsetHeight)}function E(e,t){var n=e;e=function(e,t){for(var n,r=t?"next":"previous";n=e[r];)e=n;return e}(e,t);var r,o,i=T(e,t),s=a.farOffRemoval,l=e.node,c=t?"previousSibling":"nextSibling",d=0,f=0;function p(){var r,o,s=function(){for(var n=!t,r=e;r=r[t?"previous":"next"];)if(n===r.top)return r}();if(s&&n!==s&&!h((o=s).top?o.node.nextSibling:o.node.previousSibling))return g(),l=(e=s).node,i=T(e,t),m(r=v(l)),r}function v(e){var t=h(e),n=e[c];return n&&(u(n)||(n=t&&h(n)?null:p()||v(n))),n}function g(){e.count+=d,t&&(l.rowIndex-=d),a._adjustPreloadHeight(e),d=0,a._releaseRange(e,t,r,o)}function m(e){r=e&&e.rowIndex,o=void 0}if(i>2*s){var y,_=v(l);for(m(_);(y=_)&&n!==e;){var b=a._calcRowHeight(y);f+b+s>i||!u(y)?_=p():(f+=b,d+=y.count||1,a._pruneRow(y,t),"rowIndex"in y&&(o=y.rowIndex),_=v(y))}g(),a._deleteNodeQueue()}}function M(e,t){do{e=t?e.next:e.previous}while(e&&!e.node.offsetWidth);return e}},_adjustPreloadHeight:function(e,t){e.node.style.height=this._calculatePreloadHeight(e,t)+"px"},_calculatePreloadHeight:function(e,t){return Math.min(e.count*e.rowHeight,t?1/0:this.maxEmptySpace)},_pruneRow:function(e,t,n){this.removeRow(e,!0,n),this._queueNodeForDeletion(e)},_queueNodeForDeletion:function(e){this._deleteQueue.push(e)},_deleteNodeQueue:function(){for(var e=document.createElement("div"),t=this._deleteQueue,n=t.length;n--;)e.appendChild(t[n]);this._deleteQueue=[],setTimeout(function(){o.destroy(e)},1)},_removePreloads:function(e){if(e&&e.length){var t=this,n=this._getHeadPreload();e.forEach(function(e){var r=t._findPreload(e,n);r&&(r.previous&&(r.previous.next=r.next),r.next&&(r.next.previous=r.previous))})}},_getHeadPreload:function(){var e=this.preload;if(e)for(;e.previous;)e=e.previous;return e},_findPreload:function(e,t){t||(t=this._getHeadPreload());for(var n=t;n;){if(n.node===e)return n;n=n.next}},_getRenderedCollection:function(){return this._renderedCollection},_releaseRange:function(e,t,n,r){if(e){var o=e.level,i=this._getRenderedCollection(e);null!=r&&i.releaseRange&&"number"==typeof n&&"number"==typeof r&&(t?i.releaseRange(r,n+1):i.releaseRange(n,r+1),this._rows&&!o&&(this._rows[t?"max":"min"]=r,this._rows.max>=this._total-1&&(this._rows.max=1/0)))}}})}.apply(null,r),void 0===o||(e.exports=o)},2348(e,t,n){var r,o;n.dj.r;r=[n(6345),n(6566),n(8945),n(8471),n(2075),n(2616),n.dj.h("touch?5892"),n(1172),n(2284)],o=function(e,t,n,r,o,i,s){i.add("dom-comparedocumentposition",function(e,t,n){return!!n.compareDocumentPosition}),i.add("dom-selectstart",void 0!==document.onselectstart);var a=i("mac")?"metaKey":"ctrlKey",l=i("css-user-select"),c=i("pointer"),d=c&&"MS"===c.slice(0,2),u=c?c+(d?"Down":"down"):"mousedown",h=c?c+(d?"Up":"up"):"mouseup";function f(e,t){for(var n=e.unselectable=t?"on":"",r=e.getElementsByTagName("*"),o=r.length;--o;)"INPUT"!==r[o].tagName&&"TEXTAREA"!==r[o].tagName&&(r[o].unselectable=n)}function p(e,n){var r=e.bodyNode,s=n?"text":i("ff")<21?"-moz-none":"none";l&&"msUserSelect"!==l?r.style[l]=s:i("dom-selectstart")?n||e._selectstartHandle?n&&e._selectstartHandle&&(e._selectstartHandle.remove(),delete e._selectstartHandle):e._selectstartHandle=o(r,"selectstart",function(e){var t=e.target&&e.target.tagName;"INPUT"!==t&&"TEXTAREA"!==t&&e.preventDefault()}):(f(r,!n),n||e._unselectableHandle?n&&e._unselectableHandle&&(e._unselectableHandle.remove(),delete e._unselectableHandle):e._unselectableHandle=t.after(e,"renderRow",function(e){return f(e,!0),e}))}return"WebkitUserSelect"===l&&void 0!==document.documentElement.style.msUserSelect&&(l=!1),e(null,{selectionDelegate:".dgrid-row",selectionEvents:u+","+h+",dgrid-cellfocusin",selectionTouchEvents:null,deselectOnRefresh:!0,allowSelectAll:!1,selection:{},selectionMode:"extended",allowTextSelection:void 0,_selectionTargetType:"rows",create:function(){return this.selection={},this.inherited(arguments)},postCreate:function(){this.inherited(arguments),this._initSelectionEvents();var e=this.selectionMode;this.selectionMode="",this._setSelectionMode(e)},destroy:function(){this.inherited(arguments),this._selectstartHandle&&this._selectstartHandle.remove(),this._unselectableHandle&&this._unselectableHandle.remove(),this._removeDeselectSignals&&this._removeDeselectSignals()},_setSelectionMode:function(e){e!==this.selectionMode&&(this.clearSelection(),this.selectionMode=e,this._selectionHandlerName="_"+e+"SelectionHandler",this._setAllowTextSelection(this.allowTextSelection))},_setAllowTextSelection:function(e){p(this,void 0!==e?e:"none"===this.selectionMode),this.allowTextSelection=e},_handleSelect:function(e,t){r.isRight(e)||!this[this._selectionHandlerName]||!this.allowSelect(this.row(t))||"dgrid-cellfocusin"===e.type&&"mousedown"===e.parentType||e.type===h&&t!==this._waitForMouseUp||(this._waitForMouseUp=null,this._selectionTriggerEvent=e,e.keyCode&&e.ctrlKey&&32!==e.keyCode||(!e.shiftKey&&e.type===u&&this.isSelected(t)?this._waitForMouseUp=t:this[this._selectionHandlerName](e,t)),this._selectionTriggerEvent=null)},_singleSelectionHandler:function(e,t){var n=e.keyCode?e.ctrlKey:e[a];this._lastSelected===t?this.select(t,null,!n||!this.isSelected(t)):(this.clearSelection(),this.select(t),this._lastSelected=t)},_multipleSelectionHandler:function(e,t){var n,r=this._lastSelected,o=e.keyCode?e.ctrlKey:e[a];e.shiftKey||(n=!o||null,r=null),this.select(t,r,n),r||(this._lastSelected=t)},_extendedSelectionHandler:function(e,t){!e[a]&&this.isSelected(t)&&1===this.getSelectedCount()||((2===e.button?this.isSelected(t):e.keyCode?e.ctrlKey:e[a])||this.clearSelection(null,!0),this._multipleSelectionHandler(e,t))},_toggleSelectionHandler:function(e,t){this.select(t,null,null)},_initSelectionEvents:function(){var e=this,n=this.contentNode,r=this.selectionDelegate;this._selectionEventQueues={deselect:[],select:[]},o(n,o.selector(r,this.selectionEvents),function(t){e._handleSelect(t,this)}),this.addKeyHandler&&this.addKeyHandler(32,function(t){e._handleSelect(t,t.target)}),this.allowSelectAll&&this.on("keydown",function(t){t[a]&&65===t.keyCode&&!/\\bdgrid-input\\b/.test(t.target.className)&&(t.preventDefault(),e[e.allSelected?"clearSelection":"selectAll"]())}),this._setCollection&&this._listeners.push(t.before(this,"_setCollection",function(t){e._updateDeselectionAspect(t)})),this._updateDeselectionAspect()},_updateDeselectionAspect:function(e){var n,r=this;function o(e,t){var n=r.row(e);n&&r.selection[n.id]&&r[t](n)}this._removeDeselectSignals&&this._removeDeselectSignals(),n=e&&e.track&&this._observeCollection?[t.before(this,"_observeCollection",function(e){n.push(e.on("delete",function(e){void 0===e.index&&o(e.id,"deselect")}))}),t.after(this,"_observeCollection",function(e){n.push(e.on("update",function(t){void 0!==t.index&&o(e.getIdentity(t.target),"select")}))},!0)]:[t.before(this,"removeRow",function(e,t){var n;t||(n=this.row(e))&&n.id in this.selection&&this.deselect(n)})],this._removeDeselectSignals=function(){for(var e=n.length;e--;)n[e].remove();n=[]}},allowSelect:function(){return!0},_fireSelectionEvent:function(e){var t,n=this._selectionEventQueues[e],r=this._selectionTriggerEvent;t={bubbles:!0,grid:this},r&&(t.parentType=r.type),t[this._selectionTargetType]=n,this._selectionEventQueues[e]=[],o.emit(this.contentNode,"dgrid-"+e,t)},_fireSelectionEvents:function(){var e,t=this._selectionEventQueues;for(e in t)t[e].length&&this._fireSelectionEvent(e)},_select:function(e,t,r){var o,i,s,a,l;if(void 0===r&&(r=!0),e.element||(e=this.row(e)),(!1===r||this.allowSelect(e))&&(i=!!(o=this.selection)[e.id],null===r&&(r=!i),s=e.element,r||this.allSelected?o[e.id]=r:delete this.selection[e.id],s&&(r?n.add(s,"dgrid-selected"+(this.addUiClasses?" ui-state-active":"")):n.remove(s,"dgrid-selected ui-state-active")),r!==i&&s&&this._selectionEventQueues[(r?"":"de")+"select"].push(e),t)){if(t.element||(t=this.row(t)),!t)return this._lastSelected=s,void console.warn("The selection range has been reset because the beginning of the selection is no longer in the DOM. If you are using OnDemandList, you may wish to increase farOffRemoval to avoid this, but note that keeping more nodes in the DOM may impact performance.");if(a=t.element)for((l=this._determineSelectionDirection(s,a))||(a=document.getElementById(a.id),l=this._determineSelectionDirection(s,a));e.element!==a&&(e=this[l](e));)this._select(e,null,r)}},_determineSelectionDirection:i("dom-comparedocumentposition")?function(e,t){var n=t.compareDocumentPosition(e);return!(1&n)&&(2===n?"down":"up")}:function(e,t){return!(t.sourceIndex<1)&&(t.sourceIndex>e.sourceIndex?"down":"up")},select:function(e,t,n){this._select(e,t,n),this._fireSelectionEvents()},deselect:function(e,t){this.select(e,t,!1)},clearSelection:function(e,t){for(var n in this.allSelected=!1,this.selection)e!==n&&this._select(n,null,!1);t||(this._lastSelected=null),this._fireSelectionEvents()},selectAll:function(){for(var e in this.allSelected=!0,this.selection={},this._rowIdToObject){var t=this.row(this._rowIdToObject[e]);this._select(t.id,null,!0)}this._fireSelectionEvents()},getSelectedCount:function(){var e=0;for(var t in this.selection)t&&(e+=1);return e},isSelected:function(e){return null!=e&&(e.element||(e=this.row(e)),e.id in this.selection?!!this.selection[e.id]:this.allSelected&&(!e.data||this.allowSelect(e)))},refresh:function(){return this.deselectOnRefresh&&this.clearSelection(),this._lastSelected=null,this.inherited(arguments)},renderArray:function(){var e,t,n,r=this.inherited(arguments),o=this.selection;for(e=0;e<r.length;e++)(n=(t=this.row(r[e])).id in o?o[t.id]:this.allSelected)&&this.select(t,null,n);return this._fireSelectionEvents(),r}})}.apply(null,r),void 0===o||(e.exports=o)},8301(e,t,n){var r,o;n.dj.r;r=[n(6345),n(6323),n(5625),n(6566),n(28),n(6356),n(2075),n(3534)],o=function(e,t,n,r,o,i,s,a){function l(e){if("object"!=typeof e)e=new Error(e);else if("cancel"===e.dojoType)return;s.emit(this.domNode,"dgrid-error",{grid:this,error:e,cancelable:!0,bubbles:!0})&&console.error(e)}return e(null,{collection:null,_renderedCollection:null,_rows:null,_observerHandle:null,_structureHandle:null,shouldTrackCollection:!0,getBeforePut:!0,noDataMessage:"",loadingMessage:"",_total:0,constructor:function(){this.dirty={},this._updating={},this._columnsWithSet={},this._structureHandle=r.before(this,"configStructure",t.hitch(this,function(){this._columnsWithSet={}}))},destroy:function(){this.inherited(arguments),this._structureHandle&&this._structureHandle.remove(),this._renderedCollection&&this._cleanupCollection(),this._refreshTimeout&&clearTimeout(this._refreshTimeout)},_configColumn:function(e){e.set&&(this._columnsWithSet[e.field]=e),this.inherited(arguments)},_setCollection:function(e){if(this._renderedCollection&&(this.cleanup(),this._cleanupCollection({shouldRevert:!e||e.storage!==this._renderedCollection.storage})),this.collection=e,this._started){if(e){var t=e;this.sort&&this.sort.length>0&&(t=e.sort(this.sort)),t.track&&this.shouldTrackCollection&&(t=t.track(),this._rows=[],this._observerHandle=this._observeCollection(t,this.contentNode,{rows:this._rows})),this._renderedCollection=t}this.refresh()}},_setStore:function(){this.collection||console.debug("set(\'store\') call detected, but you probably meant set(\'collection\')")},_getTotal:function(){return this._total},_cleanupCollection:function(e){e=e||{},this._observerHandle&&(this._observerHandle.remove(),this._observerHandle=this._rows=null),!1!==e.shouldRevert&&(this.dirty={}),this._renderedCollection=this.collection=null},_applySort:function(){this.collection?this.set("collection",this.collection):this.store&&console.debug("_StoreMixin found store property but not collection; this is often the sign of a mistake during migration from 0.3 to 0.4")},_emitRefreshComplete:function(){var e=this;this._refreshTimeout=setTimeout(function(){s.emit(e.domNode,"dgrid-refresh-complete",{bubbles:!0,cancelable:!1,grid:e}),e._refreshTimeout=null},0)},_insertNoDataNode:function(e){this._removeNoDataNode(),e=e||this.contentNode;var t=this.noDataNode=o.create("div",{className:"dgrid-no-data",innerHTML:this.noDataMessage});return e.insertBefore(t,this._getFirstRowSibling?this._getFirstRowSibling(e):null),t},_removeNoDataNode:function(){return!!this.noDataNode&&(o.destroy(this.noDataNode),delete this.noDataNode,!0)},row:function(){var e=this.inherited(arguments);return e&&e.data&&void 0!==e.id&&(e.id=this.collection.getIdentity(e.data)),e},refresh:function(){var e=this.inherited(arguments);return this.collection||this._insertNoDataNode(),e},refreshCell:function(e){if(!this.collection||!this._createBodyRowCell)throw new Error("refreshCell requires a Grid with a collection.");return this.inherited(arguments),this.collection.get(e.row.id).then(t.hitch(this,"_refreshCellFromItem",e))},_refreshCellFromItem:function(e,n,r){var i=e.element;o.empty(i);var s=this.dirty&&this.dirty[e.row.id];s&&(n=t.delegate(n,s)),this._createBodyRowCell(i,e.column,n,r)},renderArray:function(){var e=this.inherited(arguments);return this.collection||e.length&&this.noDataNode&&o.destroy(this.noDataNode),e},insertRow:function(e,n,r,i,s){var a,l,c=this.collection,d=this.dirty,u=c&&c.getIdentity(e);return u in d&&!(u in this._updating)&&(a=d[u]),a&&(e=t.delegate(e,a)),l=this.inherited(arguments),s&&s.rows&&(s.rows[i]=l),this.noDataNode&&(o.destroy(this.noDataNode),this.noDataNode=null),l},updateDirty:function(e,t,n){var r=this.dirty,o=r[e];o||(o=r[e]={}),o[t]=n},save:function(){var e=this,t=this.collection,r=this.dirty,o=new n,i={},s=function(n){var r;return e.getBeforePut||!(r=e.row(n).data)?function(){return t.get(n)}:function(){return r}};function a(n,o){return function(s){var a,l,c=e._columnsWithSet,d=e._updating;if("function"==typeof s.set)s.set(o);else for(a in o)s[a]=o[a];for(a in c)void 0!==(l=c[a].set(s))&&(s[a]=l);return d[n]=!0,t.put(s).then(function(e){return delete r[n],delete d[n],i[n]=e,i})}}var l=o.then(function(){return i});for(var c in r){var d=a(c,r[c]);l=l.then(s(c)).then(d)}return o.resolve(),l},revert:function(){this.dirty={},this.refresh()},_trackError:function(e){"string"==typeof e&&(e=t.hitch(this,e));var r,o=this;try{r=a(e())}catch(e){var i=new n;i.reject(e),r=i.promise}return r.otherwise(function(e){l.call(o,e)}),r},removeRow:function(e,t,n){var r={element:e};t||this.up(r).element!==e||this.down(r).element!==e||this._insertNoDataNode();var o=n&&n.rows||this._rows;return o&&delete o[e.rowIndex],this.inherited(arguments)},renderQueryResults:function(e,n,r){r=t.mixin({rows:this._rows},r);var o=this;return i("dojo-built")||e.totalLength.then(function(e){null==e&&console.warn("Store reported null or undefined totalLength. Make sure your store (and service, if applicable) are reporting total correctly!")}),e.then(function(e){var t=o.renderArray(e,n,r);return delete o._lastCollection,t})},_observeCollection:function(e,t,n){var r,o=this,i=n.rows,s=[e.on("delete, update",function(e){var s=e.previousIndex,a=e.index;void 0!==s&&i[s]&&("max"in i&&(void 0===a||a<i.min||a>i.max)&&i.max--,i.max<0&&(i.max=0),(r=i[s]).parentNode===t&&o.removeRow(r,!1,n),i.splice(s,1),("delete"===e.type||"update"===e.type&&(s<a||void 0===a))&&i[s]&&i[s].rowIndex--),"delete"===e.type&&(r=null)}),e.on("add, update",function(e){var s,a=e.previousIndex,l=e.index;function c(){s=(s.connected||s).nextSibling}void 0!==l&&(!("max"in i)||l>=i.min&&l<=i.max)&&("max"in i&&(void 0===a||a<i.min||a>i.max)&&i.max++,i.length?(s=i[l])||(s=i[l-1])&&c():s=o._getFirstRowSibling&&o._getFirstRowSibling(t),r&&s&&r.id===s.id&&c(),s&&!s.parentNode&&(s=document.getElementById(s.id)),i.splice(l,0,void 0),r=o.insertRow(e.target,t,s,l,n),o.highlightRow(r)),r=null}),e.on("add, delete, update",function(t){var n=void 0!==t.previousIndex?t.previousIndex:1/0,r=void 0!==t.index?t.index:1/0,s=Math.min(n,r);n!==r&&i[s]&&o.adjustRowIndices(i[s]),n!==1/0&&o._processScroll&&(i[n]||i[n-1])&&o._processScroll(),o._onNotification(i,t,e),e===o._renderedCollection&&"totalLength"in t&&(o._total=t.totalLength)})];return{remove:function(){for(;s.length>0;)s.pop().remove()}}},_onNotification:function(){}})}.apply(null,r),void 0===o||(e.exports=o)},5533(e,t,n){var r,o;n.dj.r;r=[n(6345),n(6974),n(2075),n(1172),n(6323),n(2284),n(28),n(2685),n(6356),n(4975),n(1142)],o=function(e,t,n,r,o,i,s,a,l,c){function d(e,t,n,r,o){for(var i=1;i<t;i++)e[n+i][r]=o}function u(e){for(var n=e.length,r=n,o=t.filter(e[0],function(e){return!e.hidden}).length,i=new Array(n);n--;)i[n]=new Array(o);var s={};for(n=0;n<r;n++)for(var a=i[n],l=e[n],c=0,u=0;c<o;c++){var h,f=l[u];if(void 0===a[c]){if(a[c]=f.id,f.rowSpan&&f.rowSpan>1&&d(i,f.rowSpan,n,c,f.id),n>0&&f.colSpan&&f.colSpan>1)for(h=1;h<f.colSpan;h++)a[++c]=f.id,f.rowSpan&&f.rowSpan>1&&d(i,f.rowSpan,n,c,f.id);s[f.id]=e[0][c].id,u++}}return s}function h(e,t,r,o,i){if(!(r<=0)){var s,a,l=e.columns[t];if(l)return s={grid:e,columnId:t,width:r,bubbles:!0,cancelable:!0},o&&(s.parentType=o),!e._resizedColumns||n.emit(e.headerNode,"dgrid-columnresize",s)?("auto"===r?delete l.width:(l.width=r,r+="px"),(a=e._columnSizes[t])?a.set("width",r):a=c.addCssRule("#"+c.escapeCssIdentifier(e.domNode.id)+" .dgrid-column-"+c.escapeCssIdentifier(t,"-"),"width: "+r+";"),e._columnSizes[t]=a,!1!==i&&e.resize(),!0):void 0}}var f,p,v=0,g=function(){f=s.create("div",{className:"dgrid-column-resizer"}),p=s.create("div",{className:"dgrid-resize-guard"})},m=function(){s.destroy(f),s.destroy(p),f=p=null},y=function(e){var t=a.position(e.domNode,!0);f.style.top=t.y+"px",f.style.height=t.h+"px",document.body.appendChild(f),e.domNode.appendChild(p)},_=function(e){f.style.left=e+"px"},b=function(){f.parentNode.removeChild(f),p.parentNode.removeChild(p)};return e(null,{resizeNode:null,minWidth:40,adjustLastColumn:!0,_resizedColumns:!1,buildRendering:function(){this.inherited(arguments),v||g(),v++},destroy:function(){for(var e in this.inherited(arguments),this._columnSizes)this._columnSizes[e].remove();--v||m()},resizeColumnWidth:function(e,t){return h(this,e,t)},configStructure:function(){var e,t=this._oldColumnSizes=o.mixin({},this._columnSizes);for(e in this._resizedColumns=!1,this._columnSizes={},this.inherited(arguments),t)e in this._columnSizes||t[e].remove();delete this._oldColumnSizes},_configColumn:function(e){this.inherited(arguments);var t,n=e.id;"width"in e&&((t=this._oldColumnSizes[n])?t.set("width",e.width+"px"):t=c.addCssRule("#"+c.escapeCssIdentifier(this.domNode.id)+" .dgrid-column-"+c.escapeCssIdentifier(n,"-"),"width: "+e.width+"px;"),this._columnSizes[n]=t)},renderHeader:function(){this.inherited(arguments);var e,t=this;if(this.columnSets&&this.columnSets.length)for(var i=this.columnSets.length;i--;)e=o.mixin(e||{},u(this.columnSets[i]));else this.subRows&&this.subRows.length>1&&(e=u(this.subRows));for(var a=r(".dgrid-cell",t.headerNode),l=a.length;l--;){var d,h=a[l],f=h.columnId,p=t.columns[f],v=h.childNodes;if(p&&!1!==p.resizable){var g=s.create("div",{className:"dgrid-resize-header-container"});for(h.contents=g;v.length>0;)g.appendChild(v[0]);d=s.create("div",{className:"dgrid-resize-handle resizeNode-"+c.escapeCssIdentifier(f,"-")},g),h.appendChild(g),d.columnId=e&&e[f]||f}}t.mouseMoveListen||(n(t.headerNode,".dgrid-resize-handle:mousedown",function(e){t._resizeMouseDown(e,this),t.mouseMoveListen.resume(),t.mouseUpListen.resume()}),t._listeners.push(t.mouseMoveListen=n.pausable(document,"mousemove",c.throttleDelayed(function(e){t._updateResizerPosition(e)}))),t._listeners.push(t.mouseUpListen=n.pausable(document,"mouseup",function(e){t._resizeMouseUp(e),t.mouseMoveListen.pause(),t.mouseUpListen.pause()})),t.mouseMoveListen.pause(),t.mouseUpListen.pause())},_resizeMouseDown:function(e,t){e.preventDefault(),i.setSelectable(this.domNode,!1),this._startX=this._getResizeMouseLocation(e),this._targetCell=r(".dgrid-column-"+c.escapeCssIdentifier(t.columnId,"-"),this.headerNode)[0],this._updateResizerPosition(e),y(this)},_resizeMouseUp:function(e){var t,n,o,s=this._columnSizes;this.adjustLastColumn&&(o=this.headerNode.clientWidth-1),this._resizedColumns||(t=r(".dgrid-cell",this.headerNode),this.columnSets&&this.columnSets.length?t=t.filter(function(e){return"0"===e.columnId.split("-")[0]&&!(e.columnId in s)}):this.subRows&&this.subRows.length>1&&(t=t.filter(function(e){return"0"===e.columnId.charAt(0)&&!(e.columnId in s)})),n=t.map(function(e){return e.offsetWidth}),t.forEach(function(e,t){h(this,e.columnId,n[t],null,!1)},this),this._resizedColumns=!0),i.setSelectable(this.domNode,!0);var a=this._targetCell,l=this._getResizeMouseLocation(e)-this._startX,d=a.offsetWidth+l,u=this._getResizedColumnWidths(),f=u.totalWidth,p=u.lastColId,v=r(".dgrid-column-"+c.escapeCssIdentifier(p,"-"),this.headerNode)[0].offsetWidth;d<this.minWidth&&(d=this.minWidth),h(this,a.columnId,d,e.type)&&a.columnId!==p&&this.adjustLastColumn&&(f+l<o?h(this,p,"auto",e.type):v-l<=this.minWidth&&h(this,p,this.minWidth,e.type)),b(),delete this._startX,delete this._targetCell},_updateResizerPosition:function(e){if(this._targetCell){var t=this._getResizeMouseLocation(e),n=t-this._startX,r=this._targetCell.offsetWidth,o=t;r+n<this.minWidth&&(o=this._startX-(r-this.minWidth)),_(o)}},_getResizeMouseLocation:function(e){var t=0;return e.pageX?t=e.pageX:e.clientX&&(t=e.clientX+document.body.scrollLeft+document.documentElement.scrollLeft),t},_getResizedColumnWidths:function(){var e=0,t=r((this.columnSets?".dgrid-column-set-cell ":"")+"tr:first-child .dgrid-cell",this.headerNode),n=t.length;if(!n)return{};for(var o=t[n-1].columnId;n--;)e+=t[n].offsetWidth;return{totalWidth:e,lastColId:o}}})}.apply(null,r),void 0===o||(e.exports=o)},297(e,t,n){var r,o;n.dj.r;r=[n(6323),n(6345),n(2616),n(1172),n(4975)],o=function(e,t,n,r,o){return t(null,{configStructure:function(){var t=this.subRows&&this.subRows[0]||this.columns,n=[[]],r=n[0],i=[];n[0].className="dgrid-spacer-row",function t(s,a,l,c){var d,u,h=0,f=function(){};return o.each(s,function(o,p){"string"==typeof o&&(o={label:o}),s instanceof Array||o.field||(o.field=p),d=o.children,u=d&&!1!==o.showChildHeaders,o.parentColumn=c,d?null==o.id?o.id=(c&&c.id||a-1)+"-"+r.length:c&&c.id&&(o.id=c.id+"-"+o.id):(i.push(o),r.push(e.delegate(o,{renderHeaderCell:f})),h++),u||(o=e.delegate(o,{rowSpan:-a})),d&&(h+=o.colSpan=t(d,a+1,u,o)),l&&(n[a]||(n[a]=[])).push(o)},this),h}(t,1,!0);var s,a,l,c,d=n.length;for(s=0;s<d;s++)for(l=n[s],a=0;a<l.length;a++)(c=l[a]).rowSpan<1&&(c.rowSpan+=d);(i=[i]).headerRows=n,this.subRows=i,this.inherited(arguments)},renderHeader:function(){var e,t=this.subRows[0],n=this.subRows.headerRows[0];for(this.inherited(arguments),e=t.length;e--;)t[e].headerNode=n[e].headerNode},_findSortArrowParent:function(){var e,t,n=this.inherited(arguments),o=r(".dgrid-spacer-row",this.headerNode)[0];if(n&&o.contains(n))return e=n.columnId,(t=r(".dgrid-column-"+e,this.headerNode))[t.length-1]},_configColumn:function(e,t,n){var r=e.parentColumn,o=e.id;if(r){var i=0===o.indexOf(n)?o.substring(n.length):o;n=r.id+"-",o=e.id=n+i}this.inherited(arguments,[e,t,n])},cell:function(e,t){if("object"!=typeof t){var n=this.column(t);n&&(t=n.id)}return this.inherited(arguments,[e,t])},column:function(e){var t=this.inherited(arguments);if(null==t&&"object"!=typeof e){var n="-"+e,r=n.length;for(var o in this.columns)if(-1!==o.indexOf(n,o.length-r))return this.columns[o]}return t},_updateCompoundHiddenStates:function(e,t){var n,r=this.columns[e];if(!r||r.hidden!==t)for(;r&&r.parentColumn;)(n=(r=r.parentColumn).colSpan=r.colSpan+(t?-1:1))&&(r.headerNode.colSpan=n),1!==n||t?!n&&t&&this._hideColumn(r.id):this._showColumn(r.id)},_hideColumn:function(e){var t=this;this._updateCompoundHiddenStates(e,!0),this.inherited(arguments),n("ff")&&(this.headerNode.style.display="none",setTimeout(function(){t.headerNode.style.display="",t.resize()},0))},_showColumn:function(e){this._updateCompoundHiddenStates(e,!1),this.inherited(arguments)},_getResizedColumnWidths:function(){var e,t=0,n=this.columns;for(e in n)t+=n[e].headerNode.offsetWidth;return{totalWidth:t,lastColId:this.subRows[0][this.subRows[0].length-1].id}}})}.apply(null,r),void 0===o||(e.exports=o)},6937(e,t,n){var r,o;n.dj.r;r=[n(8301),n(6345),n(6974),n(6323),n(28),n(8945),n(2075),n(1172),n(7539),n(6356),n(4266),n(3534),n(4975),n(1442),n(3927)],o=function(e,t,n,r,o,i,s,a,l,c,d,u,h,f){function p(e){if(e.loadingNode)e._loadingCount--,e._loadingCount||(o.destroy(e.loadingNode),delete e.loadingNode);else if(e._oldPageNodes){for(var t in e._oldPageNodes)e.removeRow(e._oldPageNodes[t]);delete e._oldPageNodes}delete e._isLoading}return t(e,{rowsPerPage:10,pagingTextBox:!1,previousNextArrows:!0,firstLastArrows:!1,pagingLinks:2,pageSizeOptions:null,showLoadingMessage:!0,i18nPagination:f,showFooter:!0,_currentPage:1,_loadingCount:0,buildRendering:function(){this.inherited(arguments);var e,t=this,n=this.paginationNode=o.create("div",{className:"dgrid-pagination"},this.footerNode),r=this.paginationStatusNode=o.create("div",{className:"dgrid-status"},n),i=this.i18nPagination;"function"==typeof this._processScroll&&(this.bodyNode.innerHTML=i.notCompatibleWithOnDemand,console.warn(i.notCompatibleWithOnDemand)),r.tabIndex=0,this._updatePaginationSizeSelect(),this._updateRowsPerPageOption(),this._updatePaginationStatus(this._total),e=this.paginationNavigationNode=o.create("div",{className:"dgrid-navigation"},n),this.firstLastArrows&&(this.paginationFirstNode=o.create("span",{"aria-label":i.gotoFirst,className:"dgrid-first dgrid-page-link",innerHTML:"«",tabIndex:0},e)),this.previousNextArrows&&(this.paginationPreviousNode=o.create("span",{"aria-label":i.gotoPrev,className:"dgrid-previous dgrid-page-link",innerHTML:"‹",tabIndex:0},e)),this.paginationLinksNode=o.create("span",{className:"dgrid-pagination-links"},e),this.previousNextArrows&&(this.paginationNextNode=o.create("span",{"aria-label":i.gotoNext,className:"dgrid-next dgrid-page-link",innerHTML:"›",tabIndex:0},e)),this.firstLastArrows&&(this.paginationLastNode=o.create("span",{"aria-label":i.gotoLast,className:"dgrid-last dgrid-page-link",innerHTML:"»",tabIndex:0},e)),this._listeners.push(s(e,".dgrid-page-link:click,.dgrid-page-link:keydown",function(e){if("keydown"!==e.type||13===e.keyCode){var n,r,o=this.className;t._isLoading||o.indexOf("dgrid-page-disabled")>-1||(n=t._currentPage,r=Math.ceil(t._total/t.rowsPerPage),this===t.paginationPreviousNode?t.gotoPage(n-1):this===t.paginationNextNode?t.gotoPage(n+1):this===t.paginationFirstNode?t.gotoPage(1):this===t.paginationLastNode?t.gotoPage(r):"dgrid-page-link"===o&&t.gotoPage(+this.innerHTML))}}))},destroy:function(){this.inherited(arguments),this._pagingTextBoxChangeHandle&&this._pagingTextBoxChangeHandle.remove(),this._pagingTextBoxKeyPressHandle&&this._pagingTextBoxKeyPressHandle.remove()},_updatePaginationSizeSelect:function(){var e,t=this.pageSizeOptions,n=this.paginationSizeSelect;if(t&&t.length){n||(n=this.paginationSizeSelect=o.create("select",{"aria-label":this.i18nPagination.rowsPerPage,className:"dgrid-page-size"},this.paginationNode),e=this._paginationSizeChangeHandle=s(n,"change",r.hitch(this,function(){this.set("rowsPerPage",+this.paginationSizeSelect.value)})),this._listeners.push(e)),n.options.length=0;for(var i=0;i<t.length;i++)o.create("option",{innerHTML:t[i],selected:this.rowsPerPage===t[i],value:t[i]},n);this._updateRowsPerPageOption()}else t&&t.length||!n||(o.destroy(n),this.paginationSizeSelect=null,this._paginationSizeChangeHandle.remove())},_setPageSizeOptions:function(e){this.pageSizeOptions=e&&e.sort(function(e,t){return e-t}),this._updatePaginationSizeSelect()},_updateRowsPerPageOption:function(){var e=this.rowsPerPage,t=this.pageSizeOptions,r=this.paginationSizeSelect;r&&(n.indexOf(t,e)<0?this._setPageSizeOptions(t.concat([e])):r.value=""+e)},_setRowsPerPage:function(e){this.rowsPerPage=e,this._updateRowsPerPageOption(),this.gotoPage(1)},_updateNavigation:function(e){var t,n,r,l=this,c=this.i18nPagination,u=this.paginationLinksNode,h=this._currentPage,f=this.pagingLinks,p=this.paginationNavigationNode,v=Math.ceil(e/this.rowsPerPage),g=this._pagingTextBoxKeyPressHandle,m=this._pagingTextBoxChangeHandle,y=document.activeElement;function _(e){e=+e,!isNaN(e)&&e>0&&e<=v&&l.gotoPage(e)}function b(e,r){var i,a,f=!0;l.pagingTextBox&&e===h&&v>1?(i=o.create("input",{"aria-label":c.jumpPage,className:"dgrid-page-input",type:"text",value:h},u),l._pagingTextBoxChangeHandle=s(i,"change",function(){f&&_(+this.value),f=!0}),l._pagingTextBoxKeyPressHandle=s(i,"keypress",function(e){e.keyCode===d.ENTER&&(f=!1,_(+this.value))}),y&&"INPUT"===y.tagName&&i.focus()):(a=e===h,i=o.create("span",{"aria-label":c.gotoPage,className:"dgrid-page-link"+(a?" dgrid-page-disabled":""),innerHTML:e+(r?" ":""),tabIndex:a?-1:0},u),t===e&&(a?e<v?t++:n.focus():i.focus()),a||(n=i))}function w(e,t){i.toggle(e,"dgrid-page-disabled",t),e.tabIndex=t?-1:0}function x(){o.create("span",{className:"dgrid-page-skip",innerHTML:"..."},u)}if(y&&this.paginationNavigationNode.contains(y)?"dgrid-page-link"===y.className&&(t=+y.innerHTML):y=null,g&&g.remove(),m&&m.remove(),u.innerHTML="",a(".dgrid-first, .dgrid-previous",p).forEach(function(e){w(e,1===h)}),a(".dgrid-last, .dgrid-next",p).forEach(function(e){w(e,h>=v)}),f&&v>0){b(1,!0);var N=h-f;N>2?x():N=2;for(var C=N;C<Math.min(h+f+1,v);C++)b(C,!0);h+f+1<v&&x(),v>1&&b(v)}else l.pagingTextBox&&b(h);y&&-1===y.tabIndex&&(r=a(\'[tabindex="0"]\',this.paginationNavigationNode),y===this.paginationPreviousNode||y===this.paginationFirstNode?y=r[0]:r.length&&(y=r[r.length-1]),y&&y.focus())},_updatePaginationStatus:function(e){var t=this.rowsPerPage,n=Math.min(e,(this._currentPage-1)*t+1);this.paginationStatusNode.innerHTML=l.substitute(this.i18nPagination.status,{start:n,end:Math.min(e,n+t-1),total:e})},refresh:function(e){var t=this,n=e&&e.keepCurrentPage?Math.min(this._currentPage,Math.ceil(this._total/this.rowsPerPage)):1;return this.inherited(arguments),this.gotoPage(n).then(function(e){return t._emitRefreshComplete(),e})},_onNotification:function(e,t,n){var r=this.rowsPerPage,o=this._currentPage*r;"add"===t.type&&t.index<o||"delete"===t.type&&t.previousIndex<o||"update"===t.type&&Math.floor(t.index/r)!==Math.floor(t.previousIndex/r)?this.gotoPage(Math.min(this._currentPage,Math.ceil(t.totalLength/this.rowsPerPage))||1):n===this._renderedCollection&&t.totalLength!==this._total&&(this._updatePaginationStatus(t.totalLength),this._updateNavigation(t.totalLength))},renderQueryResults:function(e,t){var n=this,r=this.inherited(arguments);return t||(this._topLevelRequest&&(this._topLevelRequest.cancel(),delete this._topLevelRequest),"function"==typeof r.cancel&&(this._topLevelRequest=r),r.then(function(){n._topLevelRequest&&delete n._topLevelRequest})),r},insertRow:function(){var e=this._oldPageNodes,t=this.inherited(arguments);return e&&t===e[t.id]&&delete e[t.id],t},gotoPage:function(e){var t=this,n=(this._currentPage-1)*this.rowsPerPage;return this._renderedCollection?(this._renderedCollection.releaseRange&&this._renderedCollection.releaseRange(n,n+this.rowsPerPage),this._trackError(function(){var n,r,i,s,a,l=t.rowsPerPage,c=(e-1)*l,d={start:c,count:l},u=t.contentNode;if(t.showLoadingMessage)t._loadingCount++,function(e){e._removeNoDataNode()||e.cleanup(),e.contentNode.innerHTML=""}(t),t.loadingNode=o.create("div",{className:"dgrid-loading",innerHTML:t.loadingMessage},u);else for(t._oldPageNodes=r={},s=0,a=(i=u.children).length;s<a;s++)r[i[s].id]=i[s];return t._isLoading=!0,n=t._renderedCollection.fetchRange({start:c,end:c+l}),t.renderQueryResults(n,null,d).then(function(r){return p(t),t.scrollTo({y:0}),t._rows&&(t._rows.min=c,t._rows.max=c+l-1),n.totalLength.then(function(n){n||t._insertNoDataNode(),t._total=n,t._currentPage=e,t._rowsOnPage=r.length,t._updatePaginationStatus(n),t._updateNavigation(n)}),n},function(e){throw p(t),e})})):(console.warn("Pagination requires a collection to operate."),u([]))}})}.apply(null,r),void 0===o||(e.exports=o)},4481(e,t,n){n.dj.r;e.exports={root:{status:"${start} - ${end} of ${total} results",gotoFirst:"Go to first page",gotoNext:"Go to next page",gotoPrev:"Go to previous page",gotoLast:"Go to last page",gotoPage:"Go to page",jumpPage:"Jump to page",rowsPerPage:"Number of rows per page",notCompatibleWithOnDemand:"The Pagination extension is not compatible with dgrid/OnDemandList and dgrid/OnDemandGrid. Please use dgrid/List or dgrid/Grid as a base class."},ar:!1,de:!1,es:!1,fr:!1,ja:!1,pt:!1,ro:!1,ru:!1,sk:!1,sl:!1,th:!1,"zh-cn":!1,"zh-hk":!1}},4975(e,t,n){var r,o;n.dj.r;r=[n(6356)],o=function(e){var t,n,r,o=[],i=/([^A-Za-z0-9_\\u00A0-\\uFFFF-])/g,s=setTimeout,a=clearTimeout;e.add("requestidlecallback",function(e){return"function"==typeof e.requestIdleCallback});var l={defaultDelay:15,throttle:function(e,t,n){var r=!1;return n=n||l.defaultDelay,function(){r||(r=!0,e.apply(t,arguments),s(function(){r=!1},n))}},throttleDelayed:function(e,t,n){var r=!1;return n=n||l.defaultDelay,function(){if(!r){r=!0;var o=arguments;s(function(){r=!1,e.apply(t,o)},n)}}},debounce:function(e,t,n){var r;return n=n||l.defaultDelay,function(){r&&(a(r),r=null);var o=arguments;r=s(function(){r=null,e.apply(t,o)},n)}},each:function(e,t,n){var r,o;if(e)if("number"==typeof e.length)for(r=0,o=e.length;r<o;r++)t.call(n,e[r],r,e);else for(r in e)t.call(n,e[r],r,e)},addCssRule:function(e,i){t||(t=document.createElement("style"),document.getElementsByTagName("head")[0].appendChild(t),t=t.sheet||t.styleSheet,n=t.deleteRule?"deleteRule":"removeRule",r=t.cssRules?"cssRules":"rules");var s=o.length;return o[s]=(t.cssRules||t.rules).length,t.addRule?t.addRule(e,i):t.insertRule(e+"{"+i+"}",o[s]),{get:function(e){return t[r][o[s]].style[e]},set:function(e,n){void 0!==o[s]&&(t[r][o[s]].style[e]=n)},remove:function(){!function(e){var r,i,s=o[e];if(void 0!==s)for(t[n](s),o[e]=void 0,r=e+1,i=o.length;r<i;r++)o[r]>s&&o[r]--}(s)}}},escapeCssIdentifier:function(e,t){return"string"==typeof e?e.replace(i,t||"\\\\$1"):e}};return l}.apply(null,r),void 0===o||(e.exports=o)},5892(e,t,n){var r,o;n.dj.r;r=[n(2075),n(1172)],void 0===(o=function(e,t){var n={tapRadius:10,dbltapTime:250,selector:function(n,r,o){return function(i,s){var a=r.bubble;return a?r=a:!1!==o&&(o=!0),e(i,r,function(e){var r=e.target;for(3===r.nodeType&&(r=r.parentNode);!t.matches(r,n,i);)if(r===i||!o||!(r=r.parentNode))return;return s.call(r,e)})}},countCurrentTouches:function(e,t){if(!("touches"in e))return-1;var n,r,o;for(n=0,r=0;o=e.touches[n];++n)t.contains(o.target)&&++r;return r}};function r(t,r,o,i){if(!(o.targetTouches.length>1)){var s=o.changedTouches[0],a=s.screenX,l=s.screenY;i&&o.preventDefault();var c=e(t,"touchend",function(e){var t=e.changedTouches[0];e.targetTouches.length||(Math.abs(t.screenX-a)<n.tapRadius&&Math.abs(t.screenY-l)<n.tapRadius&&(i&&e.preventDefault(),r.call(this,e)),c.remove())})}}return n.tap=function(t,n){return e(t,"touchstart",function(e){r(t,n,e)})},n.dbltap=function(t,o){var i,s;return e(t,"touchstart",function(e){i?r(t,function(e){if(i){var t=e.changedTouches[0];Math.abs(t.screenX-i.screenX)<n.tapRadius&&Math.abs(t.screenY-i.screenY)<n.tapRadius&&(s&&clearTimeout(s),i=s=null,o.call(this,e))}},e,!0):r(t,function(e){i=e.changedTouches[0],s=setTimeout(function(){i=s=null},n.dbltapTime)},e)})},n}.apply(null,r))||(e.exports=o)},610(e,t,n){var r,o;n.dj.r;r=[n.dj.c(e),n(231),n(7361),n(28),n(1248),n(6323),n(2075),n(2616)],o=function(e,t,n,r,o,i,s,a){a.add("config-bgIframe",(a("ie")||a("trident"))&&!/IEMobile\\/10\\.0/.test(navigator.userAgent));var l=new function(){var t=[];this.pop=function(){var i;if(t.length)(i=t.pop()).style.display="";else{if(a("ie")<9){var s="<iframe src=\'"+(n.dojoBlankHtmlUrl||e.toUrl("dojo/resources/blank.html")||\'javascript:""\')+"\' role=\'presentation\' style=\'position: absolute; left: 0px; top: 0px;z-index: -1; filter:Alpha(Opacity=\\"0\\");\'>";i=document.createElement(s)}else(i=r.create("iframe")).src=\'javascript:""\',i.className="dijitBackgroundIframe",i.setAttribute("role","presentation"),o.set(i,"opacity",.1);i.tabIndex=-1}return i},this.push=function(e){e.style.display="none",t.push(e)}};return t.BackgroundIframe=function(e){if(!e.id)throw new Error("no id");if(a("config-bgIframe")){var t=this.iframe=l.pop();e.appendChild(t),a("ie")<7||a("quirks")?(this.resize(e),this._conn=s(e,"resize",i.hitch(this,"resize",e))):o.set(t,{width:"100%",height:"100%"})}},i.extend(t.BackgroundIframe,{resize:function(e){this.iframe&&o.set(this.iframe,{width:e.offsetWidth+"px",height:e.offsetHeight+"px"})},destroy:function(){this._conn&&(this._conn.remove(),this._conn=null),this.iframe&&(this.iframe.parentNode.removeChild(this.iframe),l.push(this.iframe),delete this.iframe)}}),t.BackgroundIframe}.apply(null,r),void 0===o||(e.exports=o)},6510(e,t,n){var r,o;n.dj.r;r=[n(6974),n(6566),n(6345)],o=function(e,t,n){return n("dijit.Destroyable",null,{destroy:function(e){this._destroyed=!0},own:function(){var n=["destroyRecursive","destroy","remove"];return e.forEach(arguments,function(r){var o,i=t.before(this,"destroy",function(e){r[o](e)}),s=[];function a(){i.remove(),e.forEach(s,function(e){e.remove()})}r.then?(o="cancel",r.then(a,a)):e.forEach(n,function(e){"function"==typeof r[e]&&(o||(o=e),s.push(t.after(r,e,a,!0)))})},this),arguments}})}.apply(null,r),void 0===o||(e.exports=o)},655(e,t,n){var r,o;n.dj.r;r=[n(6974),n(6345),n(5577),n(2284),n(8945),n(2685),n(1248),n(6323),n(8471),n(2075),n(2616),n(9600),n(1019),n(3549),n(998),n(610),n(9409),n(231)],o=function(e,t,n,r,o,i,s,a,l,c,d,u,h,f,p,v,g,m){var y=t("dijit._MasterTooltip",[f,p],{duration:u.defaultDuration,templateString:g,postCreate:function(){this.ownerDocumentBody.appendChild(this.domNode),this.bgIframe=new v(this.domNode),this.fadeIn=n.fadeIn({node:this.domNode,duration:this.duration,onEnd:a.hitch(this,"_onShow")}),this.fadeOut=n.fadeOut({node:this.domNode,duration:this.duration,onEnd:a.hitch(this,"_onHide")})},show:function(e,t,n,r,o,i,l){if(!this.aroundNode||this.aroundNode!==t||this.containerNode.innerHTML!=e)if("playing"!=this.fadeOut.status()){this.containerNode.innerHTML=e,o&&this.set("textDir",o),this.containerNode.align=r?"right":"left";var c=h.around(this.domNode,t,n&&n.length?n:C.defaultPosition,!r,a.hitch(this,"orient")),d=c.aroundNodePos;"M"==c.corner.charAt(0)&&"M"==c.aroundCorner.charAt(0)?(this.connectorNode.style.top=d.y+(d.h-this.connectorNode.offsetHeight>>1)-c.y+"px",this.connectorNode.style.left=""):"M"==c.corner.charAt(1)&&"M"==c.aroundCorner.charAt(1)?this.connectorNode.style.left=d.x+(d.w-this.connectorNode.offsetWidth>>1)-c.x+"px":(this.connectorNode.style.left="",this.connectorNode.style.top=""),s.set(this.domNode,"opacity",0),this.fadeIn.play(),this.isShowingNow=!0,this.aroundNode=t,this.onMouseEnter=i||N,this.onMouseLeave=l||N}else this._onDeck=arguments},orient:function(e,t,n,r,o){this.connectorNode.style.top="";var s=r.h,a=r.w;e.className="dijitTooltip "+{"MR-ML":"dijitTooltipRight","ML-MR":"dijitTooltipLeft","TM-BM":"dijitTooltipAbove","BM-TM":"dijitTooltipBelow","BL-TL":"dijitTooltipBelow dijitTooltipABLeft","TL-BL":"dijitTooltipAbove dijitTooltipABLeft","BR-TR":"dijitTooltipBelow dijitTooltipABRight","TR-BR":"dijitTooltipAbove dijitTooltipABRight","BR-BL":"dijitTooltipRight","BL-BR":"dijitTooltipLeft"}[t+"-"+n],this.domNode.style.width="auto";var l=i.position(this.domNode);(d("ie")||d("trident"))&&(l.w+=2);var c=Math.min(Math.max(a,1),l.w);if(i.setMarginBox(this.domNode,{w:c}),"B"==n.charAt(0)&&"B"==t.charAt(0)){var u=i.position(e),h=this.connectorNode.offsetHeight;if(u.h>s){var f=s-(o.h+h>>1);this.connectorNode.style.top=f+"px",this.connectorNode.style.bottom=""}else this.connectorNode.style.bottom=Math.min(Math.max(o.h/2-h/2,0),u.h-h)+"px",this.connectorNode.style.top=""}else this.connectorNode.style.top="",this.connectorNode.style.bottom="";return Math.max(0,l.w-a)},_onShow:function(){d("ie")&&(this.domNode.style.filter="")},hide:function(e){this._onDeck&&this._onDeck[1]==e?this._onDeck=null:this.aroundNode===e&&(this.fadeIn.stop(),this.isShowingNow=!1,this.aroundNode=null,this.fadeOut.play()),this.onMouseEnter=this.onMouseLeave=N},_onHide:function(){this.domNode.style.cssText="",this.containerNode.innerHTML="",this._onDeck&&(this.show.apply(this,this._onDeck),this._onDeck=null)}});d("dojo-bidi")&&y.extend({_setAutoTextDir:function(t){this.applyTextDir(t),e.forEach(t.children,function(e){this._setAutoTextDir(e)},this)},_setTextDirAttr:function(e){this._set("textDir",e),"auto"==e?this._setAutoTextDir(this.containerNode):this.containerNode.dir=this.textDir}}),m.showTooltip=function(t,n,r,o,i,s,a){return r&&(r=e.map(r,function(e){return{after:"after-centered",before:"before-centered"}[e]||e})),C._masterTT||(m._masterTT=C._masterTT=new y),C._masterTT.show(t,n,r,o,i,s,a)},m.hideTooltip=function(e){return C._masterTT&&C._masterTT.hide(e)};var _="DORMANT",b="SHOW TIMER",w="SHOWING",x="HIDE TIMER";function N(){}var C=t("dijit.Tooltip",f,{label:"",showDelay:400,hideDelay:400,connectId:[],position:[],selector:"",_setConnectIdAttr:function(t){e.forEach(this._connections||[],function(t){e.forEach(t,function(e){e.remove()})},this),this._connectIds=e.filter(a.isArrayLike(t)?t:t?[t]:[],function(e){return r.byId(e,this.ownerDocument)},this),this._connections=e.map(this._connectIds,function(e){var t=r.byId(e,this.ownerDocument),n=this.selector,o=n?function(e){return c.selector(n,e)}:function(e){return e},i=this;return[c(t,o(l.enter),function(){i._onHover(this)}),c(t,o("focusin"),function(){i._onHover(this)}),c(t,o(l.leave),a.hitch(i,"_onUnHover")),c(t,o("focusout"),a.hitch(i,"set","state",_))]},this),this._set("connectId",t)},addTarget:function(t){var n=t.id||t;-1==e.indexOf(this._connectIds,n)&&this.set("connectId",this._connectIds.concat(n))},removeTarget:function(t){var n=t.id||t,r=e.indexOf(this._connectIds,n);r>=0&&(this._connectIds.splice(r,1),this.set("connectId",this._connectIds))},buildRendering:function(){this.inherited(arguments),o.add(this.domNode,"dijitTooltipData")},startup:function(){this.inherited(arguments);var t=this.connectId;e.forEach(a.isArrayLike(t)?t:[t],this.addTarget,this)},getContent:function(e){return this.label||this.domNode.innerHTML},state:_,_setStateAttr:function(e){if(!(this.state==e||e==b&&this.state==w||e==x&&this.state==_)){switch(this._hideTimer&&(this._hideTimer.remove(),delete this._hideTimer),this._showTimer&&(this._showTimer.remove(),delete this._showTimer),e){case _:this._connectNode&&(C.hide(this._connectNode),delete this._connectNode,this.onHide());break;case b:this.state!=w&&(this._showTimer=this.defer(function(){this.set("state",w)},this.showDelay));break;case w:var t=this.getContent(this._connectNode);if(!t)return void this.set("state",_);C.show(t,this._connectNode,this.position,!this.isLeftToRight(),this.textDir,a.hitch(this,"set","state",w),a.hitch(this,"set","state",x)),this.onShow(this._connectNode,this.position);break;case x:this._hideTimer=this.defer(function(){this.set("state",_)},this.hideDelay)}this._set("state",e)}},_onHover:function(e){this._connectNode&&e!=this._connectNode&&this.set("state",_),this._connectNode=e,this.set("state",b)},_onUnHover:function(e){this.set("state",x)},open:function(e){this.set("state",_),this._connectNode=e,this.set("state",w)},close:function(){this.set("state",_)},onShow:function(){},onHide:function(){},destroy:function(){this.set("state",_),e.forEach(this._connections||[],function(t){e.forEach(t,function(e){e.remove()})},this),this.inherited(arguments)}});return C._MasterTooltip=y,C.show=m.showTooltip,C.hide=m.hideTooltip,C.defaultPosition=["after-centered","before-centered"],C}.apply(null,r),void 0===o||(e.exports=o)},1600(e,t,n){var r,o;n.dj.r;r=[n(9925),n(2075),n(2641),n(2616),n(3930)],void 0===(o=function(e,t,n,r,o){var i,s=new e;return n(function(){var e=o.getBox();if(s._rlh=t(window,"resize",function(){var t=o.getBox();e.h==t.h&&e.w==t.w||(e=t,s.emit("resize"))}),8==r("ie")){var n=screen.deviceXDPI;setInterval(function(){screen.deviceXDPI!=n&&(n=screen.deviceXDPI,s.emit("resize"))},500)}r("ios")&&(t(document,"focusin",function(e){i=e.target}),t(document,"focusout",function(e){i=null}))}),s.getEffectiveBox=function(e){var t=o.getBox(e),n=i&&i.tagName&&i.tagName.toLowerCase();if(r("ios")&&i&&!i.readOnly&&("textarea"==n||"input"==n&&/^(color|email|number|password|search|tel|text|url)$/.test(i.type))){t.h*=0==orientation||180==orientation?.66:.4;var s=i.getBoundingClientRect();t.h=Math.max(t.h,s.top+s.height)}return t},s}.apply(null,r))||(e.exports=o)},5659(e,t,n){var r,o;n.dj.r;r=[n.dj.c(e),n(6974),n(5641),n(6345),n(6323),n(8471),n(2075),n(7443),n(3068)],o=function(e,t,n,r,o,i,s,a,l){var c,d=o.delegate(a,{mouseenter:i.enter,mouseleave:i.leave,keypress:n._keypress}),u=r("dijit._AttachMixin",null,{constructor:function(){this._attachPoints=[],this._attachEvents=[]},buildRendering:function(){this.inherited(arguments),this._attachTemplateNodes(this.domNode),this._beforeFillContent()},_beforeFillContent:function(){},_attachTemplateNodes:function(e){for(var t=e;;)if(1==t.nodeType&&(this._processTemplateNode(t,function(e,t){return e.getAttribute(t)},this._attach)||this.searchContainerNode)&&t.firstChild)t=t.firstChild;else{if(t==e)return;for(;!t.nextSibling;)if((t=t.parentNode)==e)return;t=t.nextSibling}},_processTemplateNode:function(e,t,n){var r=!0,i=this.attachScope||this,s=t(e,"dojoAttachPoint")||t(e,"data-dojo-attach-point");if(s)for(var a,l=s.split(/\\s*,\\s*/);a=l.shift();)o.isArray(i[a])?i[a].push(e):i[a]=e,r="containerNode"!=a,this._attachPoints.push(a);var c=t(e,"dojoAttachEvent")||t(e,"data-dojo-attach-event");if(c)for(var d,u=c.split(/\\s*,\\s*/),h=o.trim;d=u.shift();)if(d){var f=null;if(-1!=d.indexOf(":")){var p=d.split(":");d=h(p[0]),f=h(p[1])}else d=h(d);f||(f=d),this._attachEvents.push(n(e,d,o.hitch(i,f)))}return r},_attach:function(t,n,r){return n="dijitclick"==(n=n.replace(/^on/,"").toLowerCase())?c||(c=e("./a11yclick")):d[n]||n,s(t,n,r)},_detachTemplateNodes:function(){var e=this.attachScope||this;t.forEach(this._attachPoints,function(t){delete e[t]}),this._attachPoints=[],t.forEach(this._attachEvents,function(e){e.remove()}),this._attachEvents=[]},destroyRendering:function(){this._detachTemplateNodes(),this.inherited(arguments)}});return o.extend(l,{dojoAttachEvent:"",dojoAttachPoint:""}),u}.apply(null,r),void 0===o||(e.exports=o)},5250(e,t,n){var r;n.dj.r;void 0===(r=function(){var e="",t="",n="";return{getTextDir:function(e){return"auto"==this.textDir?this._checkContextual(e):this.textDir},_checkContextual:function(e){var t=/[A-Za-z\\u05d0-\\u065f\\u066a-\\u06ef\\u06fa-\\u07ff\\ufb1d-\\ufdff\\ufe70-\\ufefc]/.exec(e);return t?t[0]<="z"?"ltr":"rtl":this.dir?this.dir:this.isLeftToRight()?"ltr":"rtl"},applyTextDir:function(e,t){if(this.textDir){var n=this.textDir;if("auto"==n){if(void 0===t){var r=e.tagName.toLowerCase();t="input"==r||"textarea"==r?e.value:e.innerText||e.textContent||""}n=this._checkContextual(t)}e.dir!=n&&(e.dir=n)}},enforceTextDirWithUcc:function(r,o){return this.textDir?(r&&(r.originalText=o),("ltr"==("auto"==this.textDir?this._checkContextual(o):this.textDir)?e:n)+o+t):o},restoreOriginalText:function(e){return e.originalText&&(e.text=e.originalText,delete e.originalText),e},_setTextDirAttr:function(e){if(!this._created||this.textDir!=e){this._set("textDir",e);var t=null;this.displayNode?(t=this.displayNode,this.displayNode.align="rtl"==this.dir?"right":"left"):t=this.textDirNode||this.focusNode||this.textbox,t&&this.applyTextDir(t)}}}}.apply(null,[]))||(e.exports=r)},4368(e,t,n){var r,o;n.dj.r;r=[n(7304),n(3068),n(6345),n(6323)],void 0===(o=function(e,t,n,r){return r.extend(t,{focused:!1,onFocus:function(){},onBlur:function(){},_onFocus:function(){this.onFocus()},_onBlur:function(){this.onBlur()}}),n("dijit._FocusMixin",null,{_focusManager:e})}.apply(null,r))||(e.exports=o)},8709(e,t,n){var r,o;n.dj.r;r=[n(2075),n(6974),n(4266),n(6345),n(6356),n(8240)],o=function(e,t,n,r,o,i){var s=r("dijit._OnDijitClickMixin",null,{connect:function(e,t,n){return this.inherited(arguments,[e,"ondijitclick"==t?i:t,n])}});return s.a11yclick=i,s}.apply(null,r),void 0===o||(e.exports=o)},998(e,t,n){var r,o;n.dj.r;r=[n(4642),n(6345),n(28),n(6323),n(2075),n(2616),n(7539),n(5659)],o=function(e,t,n,r,o,i,s,a){var l=t("dijit._TemplatedMixin",a,{templateString:null,templatePath:null,_skipNodeCache:!1,searchContainerNode:!0,_stringRepl:function(e){var t=this.declaredClass,n=this;return s.substitute(e,this,function(e,o){if("!"==o.charAt(0)&&(e=r.getObject(o.substr(1),!1,n)),void 0===e)throw new Error(t+" template:"+o);return null==e?"":"!"==o.charAt(0)?e:this._escapeValue(""+e)},this)},_escapeValue:function(e){return e.replace(/["\'<>&]/g,function(e){return{"&":"&","<":"<",">":">",\'"\':""","\'":"'"}[e]})},buildRendering:function(){if(!this._rendered){this.templateString||(this.templateString=e(this.templatePath,{sanitize:!0}));var t,o=l.getCachedTemplate(this.templateString,this._skipNodeCache,this.ownerDocument);if(r.isString(o)){if(1!=(t=n.toDom(this._stringRepl(o),this.ownerDocument)).nodeType)throw new Error("Invalid template: "+o)}else t=o.cloneNode(!0);this.domNode=t}this.inherited(arguments),this._rendered||this._fillContent(this.srcNodeRef),this._rendered=!0},_fillContent:function(e){var t=this.containerNode;if(e&&t)for(;e.hasChildNodes();)t.appendChild(e.firstChild)}});return l._templateCache={},l.getCachedTemplate=function(e,t,r){var o=l._templateCache,i=e,a=o[i];if(a){try{if(!a.ownerDocument||a.ownerDocument==(r||document))return a}catch(e){}n.destroy(a)}if(e=s.trim(e),t||e.match(/\\$\\{([^\\}]+)\\}/g))return o[i]=e;var c=n.toDom(e,r);if(1!=c.nodeType)throw new Error("Invalid template: "+e);return o[i]=c},i("ie")&&o(window,"unload",function(){var e=l._templateCache;for(var t in e){var r=e[t];"object"==typeof r&&n.destroy(r),delete e[t]}}),l}.apply(null,r),void 0===o||(e.exports=o)},3549(e,t,n){var r,o;n.dj.r;r=[n(6566),n(7361),n(5641),n(6345),n(6356),n(1054),n(6323),n(1172),n(9671),n(7601),n(3068),n(8709),n(4368),n(2085),n(664)],o=function(e,t,n,r,o,i,s,a,l,c,d,u,h){function f(){}function p(e){return function(t,r,o,i){return t&&"string"==typeof r&&t[r]==f?t.on(r.substring(2).toLowerCase(),s.hitch(o,i)):e.apply(n,arguments)}}e.around(n,"connect",p),i.connect&&e.around(i,"connect",p);var v=r("dijit._Widget",[d,u,h],{onClick:f,onDblClick:f,onKeyDown:f,onKeyPress:f,onKeyUp:f,onMouseDown:f,onMouseMove:f,onMouseOut:f,onMouseOver:f,onMouseLeave:f,onMouseEnter:f,onMouseUp:f,constructor:function(e){for(var t in this._toConnect={},e)this[t]===f&&(this._toConnect[t.replace(/^on/,"").toLowerCase()]=e[t],delete e[t])},postCreate:function(){for(var e in this.inherited(arguments),this._toConnect)this.on(e,this._toConnect[e]);delete this._toConnect},on:function(e,t){return this[this._onMap(e)]===f?n.connect(this.domNode,e.toLowerCase(),this,t):this.inherited(arguments)},_setFocusedAttr:function(e){this._focused=e,this._set("focused",e)},setAttribute:function(e,t){i.deprecated(this.declaredClass+"::setAttribute(attr, value) is deprecated. Use set() instead.","","2.0"),this.set(e,t)},attr:function(e,t){return arguments.length>=2||"object"==typeof e?this.set.apply(this,arguments):this.get(e)},getDescendants:function(){return i.deprecated(this.declaredClass+"::getDescendants() is deprecated. Use getChildren() instead.","","2.0"),this.containerNode?a("[widgetId]",this.containerNode).map(c.byNode):[]},_onShow:function(){this.onShow()},onShow:function(){},onHide:function(){},onClose:function(){return!0}});return v}.apply(null,r),void 0===o||(e.exports=o)},3068(e,t,n){var r,o;n.dj.r;r=[n.dj.c(e),n(6974),n(6566),n(7361),n(5641),n(6345),n(2284),n(7878),n(8945),n(28),n(2685),n(1248),n(6356),n(1054),n(6323),n(2075),n(9671),n(4062),n(7111),n(5075),n(6510),n.dj.h("dojo-bidi?5250"),n(7601)],o=function(e,t,n,r,o,i,s,a,l,c,d,u,h,f,p,v,g,m,y,_,b,w,x){h.add("dijit-legacy-requires",!f.isAsync),h.add("dojo-bidi",!1);var N={};function C(e){return function(t){a[t?"set":"remove"](this.domNode,e,t),this._set(e,t)}}var j=i("dijit._WidgetBase",[m,b],{id:"",_setIdAttr:"domNode",lang:"",_setLangAttr:C("lang"),dir:"",_setDirAttr:C("dir"),class:"",_setClassAttr:{node:"domNode",type:"class"},_setTypeAttr:null,style:"",title:"",tooltip:"",baseClass:"",srcNodeRef:null,domNode:null,containerNode:null,ownerDocument:null,_setOwnerDocumentAttr:function(e){this._set("ownerDocument",e)},attributeMap:{},_blankGif:r.blankGif||e.toUrl("dojo/resources/blank.gif"),textDir:"",_introspect:function(){var e=this.constructor;if(!e._setterAttrs){var t=e.prototype,n=e._setterAttrs=[],r=e._onMap={};for(var o in t.attributeMap)n.push(o);for(o in t)/^on/.test(o)&&(r[o.substring(2).toLowerCase()]=o),/^_set[A-Z](.*)Attr$/.test(o)&&(o=o.charAt(4).toLowerCase()+o.substr(5,o.length-9),t.attributeMap&&o in t.attributeMap||n.push(o))}},postscript:function(e,t){this.create(e,t)},create:function(e,t){var n;if(this._introspect(),this.srcNodeRef=s.byId(t),this._connects=[],this._supportingWidgets=[],this.srcNodeRef&&this.srcNodeRef.id&&"string"==typeof this.srcNodeRef.id&&(this.id=this.srcNodeRef.id),e&&(this.params=e,p.mixin(this,e)),this.postMixInProperties(),this.id||(this.id=x.getUniqueId(this.declaredClass.replace(/\\./g,"_")),this.params&&delete this.params.id),this.ownerDocument=this.ownerDocument||(this.srcNodeRef?this.srcNodeRef.ownerDocument:document),this.ownerDocumentBody=_.body(this.ownerDocument),x.add(this),this.buildRendering(),this.domNode){this._applyAttributes();var r=this.srcNodeRef;r&&r.parentNode&&this.domNode!==r&&(r.parentNode.replaceChild(this.domNode,r),n=!0),this.domNode.setAttribute("widgetId",this.id)}this.postCreate(),n&&delete this.srcNodeRef,this._created=!0},_applyAttributes:function(){var e={};for(var n in this.params||{})e[n]=this._get(n);for(n in t.forEach(this.constructor._setterAttrs,function(t){if(!(t in e)){var n=this._get(t);n&&this.set(t,n)}},this),e)this.set(n,e[n])},postMixInProperties:function(){},buildRendering:function(){if(this.domNode||(this.domNode=this.srcNodeRef||this.ownerDocument.createElement("div")),this.baseClass){var e=this.baseClass.split(" ");this.isLeftToRight()||(e=e.concat(t.map(e,function(e){return e+"Rtl"}))),l.add(this.domNode,e)}},postCreate:function(){},startup:function(){this._started||(this._started=!0,t.forEach(this.getChildren(),function(e){e._started||e._destroyed||!p.isFunction(e.startup)||(e.startup(),e._started=!0)}))},destroyRecursive:function(e){this._beingDestroyed=!0,this.destroyDescendants(e),this.destroy(e)},destroy:function(e){function n(t){t.destroyRecursive?t.destroyRecursive(e):t.destroy&&t.destroy(e)}this._beingDestroyed=!0,this.uninitialize(),t.forEach(this._connects,p.hitch(this,"disconnect")),t.forEach(this._supportingWidgets,n),this.domNode&&t.forEach(x.findWidgets(this.domNode,this.containerNode),n),this.destroyRendering(e),x.remove(this.id),this._destroyed=!0},destroyRendering:function(e){this.bgIframe&&(this.bgIframe.destroy(e),delete this.bgIframe),this.domNode&&(e?a.remove(this.domNode,"widgetId"):c.destroy(this.domNode),delete this.domNode),this.srcNodeRef&&(e||c.destroy(this.srcNodeRef),delete this.srcNodeRef)},destroyDescendants:function(e){t.forEach(this.getChildren(),function(t){t.destroyRecursive&&t.destroyRecursive(e)})},uninitialize:function(){return!1},_setStyleAttr:function(e){var t=this.domNode;p.isObject(e)?u.set(t,e):t.style.cssText?t.style.cssText+="; "+e:t.style.cssText=e,this._set("style",e)},_attrToDom:function(e,n,r){r=arguments.length>=3?r:this.attributeMap[e],t.forEach(p.isArray(r)?r:[r],function(t){var r=this[t.node||t||"domNode"];switch(t.type||"attribute"){case"attribute":p.isFunction(n)&&(n=p.hitch(this,n));var o=t.attribute?t.attribute:/^on[A-Z][a-zA-Z]*$/.test(e)?e.toLowerCase():e;r.tagName?a.set(r,o,n):r.set(o,n);break;case"innerText":r.innerHTML="",r.appendChild(this.ownerDocument.createTextNode(n));break;case"textContent":r.textContent=n;break;case"innerHTML":r.innerHTML=n;break;case"class":l.replace(r,n,this[e]);break;case"toggleClass":l.toggle(r,t.className||e,n)}},this)},get:function(e){var t=this._getAttrNames(e);return this[t.g]?this[t.g]():this._get(e)},set:function(e,t){if("object"==typeof e){for(var n in e)this.set(n,e[n]);return this}var r=this._getAttrNames(e),o=this[r.s];if(p.isFunction(o))var i=o.apply(this,Array.prototype.slice.call(arguments,1));else{var s=this.focusNode&&!p.isFunction(this.focusNode)?"focusNode":"domNode",a=this[s]&&this[s].tagName,l=a&&(N[a]||(N[a]=function(e){var t={};for(var n in e)t[n.toLowerCase()]=!0;return t}(this[s]))),c=e in this.attributeMap?this.attributeMap[e]:r.s in this?this[r.s]:l&&r.l in l&&"function"!=typeof t||/^aria-|^data-|^role$/.test(e)?s:null;null!=c&&this._attrToDom(e,t,c),this._set(e,t)}return i||this},_attrPairNames:{},_getAttrNames:function(e){var t=this._attrPairNames;if(t[e])return t[e];var n=e.replace(/^[a-z]|-[a-zA-Z]/g,function(e){return e.charAt(e.length-1).toUpperCase()});return t[e]={n:e+"Node",s:"_set"+n+"Attr",g:"_get"+n+"Attr",l:n.toLowerCase()}},_set:function(e,t){var n,r,o=this[e];this[e]=t,!this._created||((n=o)===(r=t)||n!=n&&r!=r)||(this._watchCallbacks&&this._watchCallbacks(e,o,t),this.emit("attrmodified-"+e,{detail:{prevValue:o,newValue:t}}))},_get:function(e){return this[e]},emit:function(e,t,n){void 0===(t=t||{}).bubbles&&(t.bubbles=!0),void 0===t.cancelable&&(t.cancelable=!0),t.detail||(t.detail={}),t.detail.widget=this;var r,o=this["on"+e];return o&&(r=o.apply(this,n||[t])),this._started&&!this._beingDestroyed&&v.emit(this.domNode,e.toLowerCase(),t),r},on:function(e,t){var r=this._onMap(e);return r?n.after(this,r,t,!0):this.own(v(this.domNode,e,t))[0]},_onMap:function(e){var t=this.constructor,n=t._onMap;if(!n)for(var r in n=t._onMap={},t.prototype)/^on/.test(r)&&(n[r.replace(/^on/,"").toLowerCase()]=r);return n["string"==typeof e&&e.toLowerCase()]},toString:function(){return"[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]"},getChildren:function(){return this.containerNode?x.findWidgets(this.containerNode):[]},getParent:function(){return x.getEnclosingWidget(this.domNode.parentNode)},connect:function(e,t,n){return this.own(o.connect(e,t,this,n))[0]},disconnect:function(e){e.remove()},subscribe:function(e,t){return this.own(y.subscribe(e,p.hitch(this,t)))[0]},unsubscribe:function(e){e.remove()},isLeftToRight:function(){return this.dir?"ltr"==this.dir.toLowerCase():d.isBodyLtr(this.ownerDocument)},isFocusable:function(){return this.focus&&"none"!=u.get(this.domNode,"display")},placeAt:function(e,t){var n=!e.tagName&&x.byId(e);if(!n||!n.addChild||t&&"number"!=typeof t){var r=n&&"domNode"in n?n.containerNode&&!/after|before|replace/.test(t||"")?n.containerNode:n.domNode:s.byId(e,this.ownerDocument);c.place(this.domNode,r,t),!this._started&&(this.getParent()||{})._started&&this.startup()}else n.addChild(this,t);return this},defer:function(e,t){var n=setTimeout(p.hitch(this,function(){n&&(n=null,this._destroyed||p.hitch(this,e)())}),t||0);return{remove:function(){return n&&(clearTimeout(n),n=null),null}}}});return h("dojo-bidi")&&j.extend(w),j}.apply(null,r),void 0===o||(e.exports=o)},9600(e,t,n){var r,o;n.dj.r;r=[n(6974),n(7361),n(6323),n(7601),n(231)],o=function(e,t,n,r,o){var i={};return e.forEach(["byId","getUniqueId","findWidgets","_destroyAll","byNode","getEnclosingWidget"],function(e){i[e]=r[e]}),n.mixin(i,{defaultDuration:t.defaultDuration||200}),n.mixin(o,i),o}.apply(null,r),void 0===o||(e.exports=o)},3050(e,t,n){var r,o;n.dj.r;r=[n(6974),n(2284),n(7878),n(1248),n(6323),n(2616),n(231)],void 0===(o=function(e,t,n,r,o,i,s){var a,l={_isElementShown:function(e){var t=r.get(e);return"hidden"!=t.visibility&&"collapsed"!=t.visibility&&"none"!=t.display&&"hidden"!=n.get(e,"type")},hasDefaultTabStop:function(e){switch(e.nodeName.toLowerCase()){case"a":return n.has(e,"href");case"area":case"button":case"input":case"object":case"select":case"textarea":return!0;case"iframe":var t;try{var r=e.contentDocument;if("designMode"in r&&"on"==r.designMode)return!0;t=r.body}catch(n){try{t=e.contentWindow.document.body}catch(e){return!1}}return t&&("true"==t.contentEditable||t.firstChild&&"true"==t.firstChild.contentEditable);default:return"true"==e.contentEditable}},effectiveTabIndex:function(e){return n.get(e,"disabled")?a:n.has(e,"tabIndex")?+n.get(e,"tabIndex"):l.hasDefaultTabStop(e)?0:a},isTabNavigable:function(e){return l.effectiveTabIndex(e)>=0},isFocusable:function(e){return l.effectiveTabIndex(e)>=-1},_getTabNavigable:function(e){var t,r,o,s,a,c,d={};function u(e){return e&&"input"==e.tagName.toLowerCase()&&e.type&&"radio"==e.type.toLowerCase()&&e.name&&e.name.toLowerCase()}var h=l._isElementShown,f=l.effectiveTabIndex,p=function(e){for(var l=e.firstChild;l;l=l.nextSibling)if(!(1!=l.nodeType||i("ie")<=9&&"HTML"!==l.scopeName)&&h(l)){var v=f(l);if(v>=0){0==v?(t||(t=l),r=l):v>0&&((!o||v<s)&&(s=v,o=l),(!a||v>=c)&&(c=v,a=l));var g=u(l);n.get(l,"checked")&&g&&(d[g]=l)}"SELECT"!=l.nodeName.toUpperCase()&&p(l)}};function v(e){return d[u(e)]||e}return h(e)&&p(e),{first:v(t),last:v(r),lowest:v(o),highest:v(a)}},getFirstInTabbingOrder:function(e,n){var r=l._getTabNavigable(t.byId(e,n));return r.lowest?r.lowest:r.first},getLastInTabbingOrder:function(e,n){var r=l._getTabNavigable(t.byId(e,n));return r.last?r.last:r.highest}};return i("extend-dojo")&&o.mixin(s,l),l}.apply(null,r))||(e.exports=o)},8240(e,t,n){var r,o;n.dj.r;r=[n(4266),n(8471),n(2075),n(7443)],void 0===(o=function(e,t,n,r){function o(t){if((t.keyCode===e.ENTER||t.keyCode===e.SPACE)&&!/input|button|textarea/i.test(t.target.nodeName))for(var n=t.target;n;n=n.parentNode)if(n.dojoClick)return!0}var i;n(document,"keydown",function(e){o(e)?(i=e.target,e.preventDefault()):i=null}),n(document,"keyup",function(e){o(e)&&e.target==i&&(i=null,n.emit(e.target,"click",{cancelable:!0,bubbles:!0,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,metaKey:e.metaKey,altKey:e.altKey,_origType:e.type}))});var s=function(e,t){return e.dojoClick=!0,n(e,"click",t)};return s.click=s,s.press=function(o,i){var s=n(o,r.press,function(e){("mousedown"!=e.type||t.isLeft(e))&&i(e)}),a=n(o,"keydown",function(t){t.keyCode!==e.ENTER&&t.keyCode!==e.SPACE||i(t)});return{remove:function(){s.remove(),a.remove()}}},s.release=function(o,i){var s=n(o,r.release,function(e){("mouseup"!=e.type||t.isLeft(e))&&i(e)}),a=n(o,"keyup",function(t){t.keyCode!==e.ENTER&&t.keyCode!==e.SPACE||i(t)});return{remove:function(){s.remove(),a.remove()}}},s.move=r.move,s}.apply(null,r))||(e.exports=o)},7304(e,t,n){var r,o;n.dj.r;r=[n(6566),n(6345),n(2284),n(7878),n(8945),n(28),n(9925),n(6323),n(2075),n(2641),n(2616),n(4062),n(5075),n(3930),n(3050),n(7601),n(231)],void 0===(o=function(e,t,n,r,o,i,s,a,l,c,d,u,h,f,p,v,g){var m,y,_=new(t([u,s],{curNode:null,activeStack:[],constructor:function(){var t=a.hitch(this,function(e){n.isDescendant(this.curNode,e)&&this.set("curNode",null),n.isDescendant(this.prevNode,e)&&this.set("prevNode",null)});e.before(i,"empty",t),e.before(i,"destroy",t)},registerIframe:function(e){return this.registerWin(e.contentWindow,e)},registerWin:function(e,t){var n=this,r=e.document&&e.document.body;if(r){var o=d("pointer-events")?"pointerdown":d("MSPointer")?"MSPointerDown":d("touch-events")?"mousedown, touchstart":"mousedown",i=l(e.document,o,function(e){e&&e.target&&null==e.target.parentNode||n._onTouchNode(t||e.target,"mouse")}),s=l(r,"focusin",function(e){if(e.target.tagName){var r=e.target.tagName.toLowerCase();"#document"!=r&&"body"!=r&&(p.isFocusable(e.target)?n._onFocusNode(t||e.target):n._onTouchNode(t||e.target))}}),a=l(r,"focusout",function(e){n._onBlurNode(t||e.target)});return{remove:function(){i.remove(),s.remove(),a.remove(),i=s=a=null,r=null}}}},_onBlurNode:function(e){var t=(new Date).getTime();t<m+100||(this._clearFocusTimer&&clearTimeout(this._clearFocusTimer),this._clearFocusTimer=setTimeout(a.hitch(this,function(){this.set("prevNode",this.curNode),this.set("curNode",null)}),0),this._clearActiveWidgetsTimer&&clearTimeout(this._clearActiveWidgetsTimer),t<y+100||(this._clearActiveWidgetsTimer=setTimeout(a.hitch(this,function(){delete this._clearActiveWidgetsTimer,this._setStack([])}),0)))},_onTouchNode:function(e,t){y=(new Date).getTime(),this._clearActiveWidgetsTimer&&(clearTimeout(this._clearActiveWidgetsTimer),delete this._clearActiveWidgetsTimer),o.contains(e,"dijitPopup")&&(e=e.firstChild);var n=[];try{for(;e;){var i=r.get(e,"dijitPopupParent");if(i)e=v.byId(i).domNode;else if(e.tagName&&"body"==e.tagName.toLowerCase()){if(e===h.body())break;e=f.get(e.ownerDocument).frameElement}else{var s=e.getAttribute&&e.getAttribute("widgetId"),a=s&&v.byId(s);!a||"mouse"==t&&a.get("disabled")||n.unshift(s),e=e.parentNode}}}catch(e){}this._setStack(n,t)},_onFocusNode:function(e){e&&9!=e.nodeType&&(m=(new Date).getTime(),this._clearFocusTimer&&(clearTimeout(this._clearFocusTimer),delete this._clearFocusTimer),this._onTouchNode(e),e!=this.curNode&&(this.set("prevNode",this.curNode),this.set("curNode",e)))},_setStack:function(e,t){var n=this.activeStack,r=n.length-1,o=e.length-1;if(e[o]!=n[r]){var i,s;for(this.set("activeStack",e),s=r;s>=0&&n[s]!=e[s];s--)(i=v.byId(n[s]))&&(i._hasBeenBlurred=!0,i.set("focused",!1),i._focusManager==this&&i._onBlur(t),this.emit("widget-blur",i,t));for(s++;s<=o;s++)(i=v.byId(e[s]))&&(i.set("focused",!0),i._focusManager==this&&i._onFocus(t),this.emit("widget-focus",i,t))}},focus:function(e){if(e)try{e.focus()}catch(e){}}}));for(var b in c(function(){var e=_.registerWin(f.get(document));d("ie")&&l(window,"unload",function(){e&&(e.remove(),e=null)})}),g.focus=function(e){_.focus(e)},_)/^_/.test(b)||(g.focus[b]="function"==typeof _[b]?a.hitch(_,b):_[b]);return _.watch(function(e,t,n){g.focus[e]=n}),_}.apply(null,r))||(e.exports=o)},664(e,t,n){var r,o;n.dj.r;r=[n(8945),n(9276),n(2641),n(5075)],void 0===(o=function(e,t,n,r){return n(function(){0}),t}.apply(null,r))||(e.exports=o)},231(e,t,n){var r,o;n.dj.r;r=[n(1054)],void 0===(o=function(e){return e.dijit}.apply(null,r))||(e.exports=o)},1019(e,t,n){var r,o;n.dj.r;r=[n(6974),n(2685),n(1248),n(1054),n(5075),n(1600),n(231)],void 0===(o=function(e,t,n,r,o,i,s){function a(r,s,a,l){var c=i.getEffectiveBox(r.ownerDocument);r.parentNode&&"body"==String(r.parentNode.tagName).toLowerCase()||o.body(r.ownerDocument).appendChild(r);var d=null;e.some(s,function(e){var n=e.corner,o=e.pos,i=0,s={w:{L:c.l+c.w-o.x,R:o.x-c.l,M:c.w}[n.charAt(1)],h:{T:c.t+c.h-o.y,B:o.y-c.t,M:c.h}[n.charAt(0)]},u=r.style;if(u.left=u.right="auto",a){var h=a(r,e.aroundCorner,n,s,l);i=void 0===h?0:h}var f=r.style,p=f.display,v=f.visibility;"none"==f.display&&(f.visibility="hidden",f.display="");var g=t.position(r);f.display=p,f.visibility=v;var m={L:o.x,R:o.x-g.w,M:Math.max(c.l,Math.min(c.l+c.w,o.x+(g.w>>1))-g.w)}[n.charAt(1)],y={T:o.y,B:o.y-g.h,M:Math.max(c.t,Math.min(c.t+c.h,o.y+(g.h>>1))-g.h)}[n.charAt(0)],_=Math.max(c.l,m),b=Math.max(c.t,y),w=Math.min(c.l+c.w,m+g.w)-_,x=Math.min(c.t+c.h,y+g.h)-b;return i+=g.w-w+(g.h-x),(null==d||i<d.overflow)&&(d={corner:n,aroundCorner:e.aroundCorner,x:_,y:b,w,h:x,overflow:i,spaceAvailable:s}),!i}),d.overflow&&a&&a(r,d.aroundCorner,d.corner,d.spaceAvailable,l);var u=d.y,h=d.x,f=o.body(r.ownerDocument);/relative|absolute/.test(n.get(f,"position"))&&(u-=n.get(f,"marginTop"),h-=n.get(f,"marginLeft"));var p=r.style;return p.top=u+"px",p.left=h+"px",p.right="auto",d}var l={TL:"BR",TR:"BL",BL:"TR",BR:"TL"},c={at:function(t,n,r,o,i){return a(t,e.map(r,function(e){var t={corner:e,aroundCorner:l[e],pos:{x:n.x,y:n.y}};return o&&(t.pos.x+="L"==e.charAt(1)?o.x:-o.x,t.pos.y+="T"==e.charAt(0)?o.y:-o.y),t}),i)},around:function(o,i,s,l,c){var d;if("string"==typeof i||"offsetWidth"in i||"ownerSVGElement"in i){if(d=t.position(i,!0),/^(above|below)/.test(s[0])){var u=t.getBorderExtents(i),h=i.firstChild?t.getBorderExtents(i.firstChild):{t:0,l:0,b:0,r:0},f=t.getBorderExtents(o),p=o.firstChild?t.getBorderExtents(o.firstChild):{t:0,l:0,b:0,r:0};d.y+=Math.min(u.t+h.t,f.t+p.t),d.h-=Math.min(u.t+h.t,f.t+p.t)+Math.min(u.b+h.b,f.b+p.b)}}else d=i;if(i.parentNode)for(var v="absolute"==n.getComputedStyle(i).position,g=i.parentNode;g&&1==g.nodeType&&"BODY"!=g.nodeName;){var m=t.position(g,!0),y=n.getComputedStyle(g);if(/relative|absolute/.test(y.position)&&(v=!1),!v&&/hidden|auto|scroll/.test(y.overflow)){var _=Math.min(d.y+d.h,m.y+m.h),b=Math.min(d.x+d.w,m.x+m.w);d.x=Math.max(d.x,m.x),d.y=Math.max(d.y,m.y),d.h=_-d.y,d.w=b-d.x}"absolute"==y.position&&(v=!0),g=g.parentNode}var w=d.x,x=d.y,N="w"in d?d.w:d.w=d.width,C="h"in d?d.h:(r.deprecated("place.around: dijit/place.__Rectangle: { x:"+w+", y:"+x+", height:"+d.height+", width:"+N+" } has been deprecated. Please use { x:"+w+", y:"+x+", h:"+d.height+", w:"+N+" }","","2.0"),d.h=d.height),j=[];function S(e,t){j.push({aroundCorner:e,corner:t,pos:{x:{L:w,R:w+N,M:w+(N>>1)}[e.charAt(1)],y:{T:x,B:x+C,M:x+(C>>1)}[e.charAt(0)]}})}e.forEach(s,function(e){var t=l;switch(e){case"above-centered":S("TM","BM");break;case"below-centered":S("BM","TM");break;case"after-centered":t=!t;case"before-centered":S(t?"ML":"MR",t?"MR":"ML");break;case"after":t=!t;case"before":S(t?"TL":"TR",t?"TR":"TL"),S(t?"BL":"BR",t?"BR":"BL");break;case"below-alt":t=!t;case"below":S(t?"BL":"BR",t?"TL":"TR"),S(t?"BR":"BL",t?"TR":"TL");break;case"above-alt":t=!t;case"above":S(t?"TL":"TR",t?"BL":"BR"),S(t?"TR":"TL",t?"BR":"BL");break;default:S(e.aroundCorner,e.corner)}});var T=a(o,j,c,{w:N,h:C});return T.aroundNodePos=d,T}};return s.place=c}.apply(null,r))||(e.exports=o)},7601(e,t,n){var r,o;n.dj.r;r=[n(6974),n(5075),n(231)],void 0===(o=function(e,t,n){var r={},o={},i={length:0,add:function(e){if(o[e.id])throw new Error("Tried to register widget with id=="+e.id+" but that id is already registered");o[e.id]=e,this.length++},remove:function(e){o[e]&&(delete o[e],this.length--)},byId:function(e){return"string"==typeof e?o[e]:e},byNode:function(e){return o[e.getAttribute("widgetId")]},toArray:function(){var e=[];for(var t in o)e.push(o[t]);return e},getUniqueId:function(e){var t;do{t=e+"_"+(e in r?++r[e]:r[e]=0)}while(o[t]);return"dijit"==n._scopeName?t:n._scopeName+"_"+t},findWidgets:function(e,t){var n=[];return function e(r){for(var i=r.firstChild;i;i=i.nextSibling)if(1==i.nodeType){var s=i.getAttribute("widgetId");if(s){var a=o[s];a&&n.push(a)}else i!==t&&e(i)}}(e),n},_destroyAll:function(){n._curFocus=null,n._prevFocus=null,n._activeStack=[],e.forEach(i.findWidgets(t.body()),function(e){e._destroyed||(e.destroyRecursive?e.destroyRecursive():e.destroy&&e.destroy())})},getEnclosingWidget:function(e){for(;e;){var t=1==e.nodeType&&e.getAttribute("widgetId");if(t)return o[t];e=e.parentNode}return null},_hash:o};return n.registry=i,i}.apply(null,r))||(e.exports=o)},8942(e,t,n){var r,o;n.dj.r;r=[n(6345)],o=function(e){function t(e){return function(){var n=this.constructor,r=new n;return r.type=e,r.args=Array.prototype.slice.call(arguments),this.type?t("and").call(n.prototype,this,r):r}}function n(e){return function(){for(var t=this.constructor,n=[],r=0;r<arguments.length;r++){var o=arguments[r];n.push(o instanceof t?o:new t(o))}var i=new t;return i.type=e,i.args=n,this.type===e?i.args=this.args.concat(n):this.type?n.unshift(this):1===n.length&&n[0].type&&(i.type=n[0].type,i.args=n[0].args.slice()),i}}var r=e(null,{constructor:function(e){var t=typeof e;switch(t){case"object":var n=this;for(var r in e){var o=e[r];n=o instanceof this.constructor?n[o.type](r,o.args[0]):o&&o.test?n.match(r,o):n.eq(r,o)}this.type=n.type,this.args=n.args;break;case"function":case"string":this.type=t,this.args=[e]}},and:n("and"),or:n("or"),eq:t("eq"),ne:t("ne"),lt:t("lt"),lte:t("lte"),gt:t("gt"),gte:t("gte"),contains:t("contains"),in:t("in"),match:t("match")});return r.filterCreator=t,r.logicalOperatorCreator=n,r}.apply(null,r),void 0===o||(e.exports=o)},5907(e,t,n){var r,o;n.dj.r;r=[n(6345),n(6323),n(6974),n(1603),n(6739),n(3060),n(2626)],o=function(e,t,n,r,o,i,s){return e([r,o,i],{constructor:function(){this.storage.version=0},postscript:function(){this.inherited(arguments),this.setData(this.data||[])},data:null,autoEmitEvents:!1,getSync:function(e){return this.storage.fullData[this.storage.index[e]]},putSync:function(e,t){t=t||{};var n=this.storage,r=n.index,o=n.fullData,i=this.Model;!i||e instanceof i||(e=this._restore(e));var s=this.getIdentity(e);null==s&&(this._setIdentity(e,"id"in t?t.id:Math.random()),s=this.getIdentity(e)),n.version++;var a,l,c,d=s in r?"update":"add",u={target:e};if("update"===d){if(!1===t.overwrite)throw new Error("Object already exists");l=a=r[s]}else l=this.defaultNewToStart?0:o.length;if("beforeId"in t){var h=t.beforeId;null===h?(c=o.length,"update"===d&&--c):a<(c=r[h])&&--c,void 0!==c?u.beforeId=h:(console.error("options.beforeId was specified but no corresponding index was found"),c=l)}else c=l;if(c===a)o[c]=e;else{void 0!==a&&o.splice(a,1),o.splice(c,0,e);for(var f=void 0===a?c:Math.min(a,c),p=o.length;f<p;++f)r[this.getIdentity(o[f])]=f}return this.emit(d,u),e},addSync:function(e,t){return(t=t||{}).overwrite=!1,this.putSync(e,t)},removeSync:function(e){var t=this.storage,n=t.index,r=t.fullData;if(e in n){var o=r.splice(n[e],1)[0];return this._reindex(),this.emit("delete",{id:e,target:o}),!0}},setData:function(e){this.parse&&(e=this.parse(e)),e.items&&(this.idProperty=e.identifier||this.idProperty,e=e.items),this.storage.fullData=this.data=e,this._reindex()},_reindex:function(){for(var e=this.storage,t=e.index={},n=e.fullData,r=this.Model,o=Object.prototype,i=0,s=n.length;i<s;i++){var a=n[i];if(r&&!(a instanceof r)){var l=this._restore(a,a.__proto__===o);a!==l&&(n[i]=a=l)}t[this.getIdentity(a)]=i}e.version++},fetchSync:function(){var e=this.data;if(!e||e._version!==this.storage.version){e=this.storage.fullData;for(var t=this.queryLog,n=0,r=t.length;n<r;n++)e=t[n].querier(e);e._version=this.storage.version,this.data=e}return new s(e)},fetchRangeSync:function(e){var t=this.fetchSync(),n=e.start,r=e.end;return new s(t.slice(n,r),{totalLength:t.length})},_includePropertyInSubCollection:function(e){return"data"!==e&&this.inherited(arguments)}})}.apply(null,r),void 0===o||(e.exports=o)},6739(e,t,n){var r,o;n.dj.r;r=[n(6345),n(5625),n(2626),n(3534)],o=function(e,t,n,r){function o(e,o){return function(){var i=new t;try{i.resolve(this[e].apply(this,arguments))}catch(e){i.reject(e)}if(o){var s=new n(i.promise);return s.totalLength=r(s.totalLength),s}return i.promise}}return e(null,{get:o("getSync"),put:o("putSync"),add:o("addSync"),remove:o("removeSync"),fetch:o("fetchSync",!0),fetchRange:o("fetchRangeSync",!0)})}.apply(null,r),void 0===o||(e.exports=o)},2219(e,t,n){var r;n.dj.r;r=function(){return function(e){var t=e.type,n=e.normalizeArguments,r=e.applyQuery,o=e.querierFactory;return function(){var e=Array.prototype.slice.call(arguments),i=n?n.apply(this,e):e,s={type:t,arguments:e,normalizedArguments:i},a=this._getQuerierFactory(t)||o;a&&(s.querier=a.apply(this,i));var l=this._createSubCollection({queryLog:this.queryLog.concat(s)});return r?r.call(this,l,s):l}}}.apply(null,[]),void 0===r||(e.exports=r)},2626(e,t,n){var r,o;n.dj.r;r=[n(6323),n(3534)],void 0===(o=function(e,t){function n(e,n){return t(this,function(t){for(var r=0,o=t.length;r<o;r++)e.call(n,t[r],r,t)})}return function(t,r){var o=r&&"totalLength"in r;if(t.then){var i=(t=e.delegate(t)).then(function(e){var t=o?r.totalLength:e.totalLength||e.length;return e.totalLength=t,!o&&t});t.totalLength=o?r.totalLength:i,t.response=r&&r.response}else t.totalLength=o?r.totalLength:t.length;return t.forEach=n,t}}.apply(null,r))||(e.exports=o)},3060(e,t,n){var r,o;n.dj.r;r=[n(6345),n(6974)],o=function(e,t){function n(e,t){if(e.indexOf(".")>-1){var n=e.split("."),r=n.length;return function(e){for(var o=0;o<r;o++)e=e&&(t&&e.get?e.get(n[o]):e[n[o]]);return e}}return function(t){return t.get?t.get(e):t[e]}}var r={eq:function(e,t){return e===t},in:function(e,n){return t.indexOf(n.data||n,e)>-1},ne:function(e,t){return e!==t},lt:function(e,t){return e<t},lte:function(e,t){return e<=t},gt:function(e,t){return e>t},gte:function(e,t){return e>=t},match:function(e,t,n){return t.test(e,n)},contains:function(e,n,r,o){var i,s=this;return i=n.data?n.data:Array.isArray(n)?n:[n],t.every(i,function(n){if("object"==typeof n&&n.type){var i=s._getFilterComparator(n.type);return t.some(e,function(e){return i.call(s,e,n.args[1],r,o)})}return t.indexOf(e,n)>-1})}};return e(null,{_createFilterQuerier:function(e){var r=this.queryAccessors,o=this,i=function e(t){var i,s,a=t.type,l=t.args,c=o._getFilterComparator(a);if(c){var d=l[0],u=n(d,r),h=l[1];return h&&h.fetchSync&&(h=h.fetchSync()),function(e){return c.call(o,u(e),h,e,d)}}switch(a){case"and":case"or":for(var f=0,p=l.length;f<p;f++)s=e(l[f]),i=i?function(e,t){return"and"===a?function(n){return e(n)&&t(n)}:function(n){return e(n)||t(n)}}(i,s):s;return i;case"function":return l[0];case"string":var v=o[l[0]];if(!v)throw new Error("No filter function "+l[0]+" was found in the collection");return v;case void 0:return function(){return!0};default:throw new Error(\'Unknown filter operation "\'+a+\'"\')}}(e);return function(e){return t.filter(e,i)}},_getFilterComparator:function(e){return r[e]||this.inherited(arguments)},_createSelectQuerier:function(e){return function(n){var r=e.length;return t.map(n,e instanceof Array?function(t){for(var n={},o=0;o<r;o++){var i=e[o];n[i]=t[i]}return n}:function(t){return t[e]})}},_createSortQuerier:function(e){var t=this.queryAccessors;return function(r){return r=r.slice(),"function"==typeof e?r.sort(e):e&&e.length&&r.sort(function(r,o){for(var i=0;i<e.length;i++){var s,a=e[i];if("function"==typeof a)s=a(r,o);else{var l=a.get||(a.get=n(a.property,t)),c=a.descending,d=l(r),u=l(o);if(null!=d&&(d=d.valueOf()),null!=u&&(u=u.valueOf()),d===u)s=0;else{var h=void 0===u||null===u&&void 0!==d||null!=d&&d<u;s=Boolean(c)===h?1:-1}}if(0!==s)return s}return 0}),r}}})}.apply(null,r),void 0===o||(e.exports=o)},1603(e,t,n){var r,o;n.dj.r;r=[n(6323),n(6974),n(6566),n(6356),n(3534),n(6345),n(2219),n(8942),n(9925)],o=function(e,t,n,r,o,i,s,a,l){r.add("object-proto",!!{}.__proto__&&!{}.watch);var c=r("object-proto");function d(e){return function(t,n){var r=this;return o(t,function(t){var o={target:t},i=n[1]||{};"beforeId"in i&&(o.beforeId=i.beforeId),r.emit(e,o)}),t}}return i(l,{constructor:function(e){e&&i.safeMixin(this,e),this.Model&&this.Model.createSubclass&&(this.Model=this.Model.createSubclass([]).extend({_store:this})),this.storage=new l;var t=this;this.autoEmitEvents&&(n.after(this,"add",d("add")),n.after(this,"put",d("update")),n.after(this,"remove",function(e,n){return o(e,function(){t.emit("delete",{id:n[0]})}),e}))},autoEmitEvents:!0,idProperty:"id",queryAccessors:!0,getIdentity:function(e){return e.get?e.get(this.idProperty):e[this.idProperty]},_setIdentity:function(e,t){e.set?e.set(this.idProperty,t):e[this.idProperty]=t},forEach:function(e,t){var n=this;return o(this.fetch(),function(r){for(var o,i=0;void 0!==(o=r[i]);i++)e.call(t,o,i,n);return r})},matchesFilter:function(e){var t=this.queryLog;if(t&&e){for(var n=[e],r=0,o=t.length;r<o;r++)n=t[r].querier(n);return n.length>0}return!0},on:function(e,t,n){var r=this;return this.storage.on(e,function(e){t&&(n&&!r.matchesFilter(e&&e.target)||t&&t(e))})},emit:function(e,t){(t=t||{}).type=e;try{return this.storage.emit(e,t)}catch(e){console.error(e)}finally{return t.cancelable}},parse:null,stringify:null,Model:null,_restore:function(t,n){var r=this.Model;if(r&&t){var o=r.prototype,i=o._restore;i?t=i.call(t,r,n):c&&n?t.__proto__=o:t=e.delegate(o,t)}return t},create:function(e){return new this.Model(e)},_createSubCollection:function(t){var n=e.delegate(this.constructor.prototype);for(var r in this)this._includePropertyInSubCollection(r,n)&&(n[r]=this[r]);return i.safeMixin(n,t)},_includePropertyInSubCollection:function(e,t){return!(e in t)||t[e]!==this[e]},queryLog:[],filter:new s({type:"filter",normalizeArguments:function(e){var t=this.Filter;return e instanceof t?[e]:[new t(e)]}}),Filter:a,sort:new s({type:"sort",normalizeArguments:function(n,r){var o;return"function"==typeof n?o=[n]:(o=n instanceof Array?n.slice():"object"==typeof n?[].slice.call(arguments):[{property:n,descending:r}],o=[o=t.map(o,function(t){return(t=e.mixin({},t)).descending=!!t.descending,t})]),o}}),select:new s({type:"select"}),_getQuerierFactory:function(e){return this["_create"+(e[0].toUpperCase()+e.substr(1))+"Querier"]}})}.apply(null,r),void 0===o||(e.exports=o)},8819(e){e.exports=void 0},1442(e,t,n){var r,o;n.dj.r;r=[n(3878),n(5744),n(4481)],void 0===(o=function(e,t){return t(e,"dgrid/extensions/nls/pagination",n.dj.c(),!1)}.apply(null,r))||(e.exports=o)},5744(e,t,n){var r;n.dj.r;void 0===(r=function(){return function(e,t,n,r){var o,i,s;if(e.load(t,n,function(e){i=e,s=!0,o&&o(e)},{isBuild:!0}),s)return i;if(!r)throw new Error(t+" unavailable");return(i=new Promise(function(e){o=e})).__DOJO_WEBPACK_DEFINE_PROMISE__=!0,i}}.apply(null,[]))||(e.exports=r)},9409(e){e.exports=\'<div class="dijitTooltip dijitTooltipLeft" id="dojoTooltip" data-dojo-attach-event="mouseenter:onMouseEnter,mouseleave:onMouseLeave"\\n\\t><div class="dijitTooltipConnector" data-dojo-attach-point="connectorNode"></div\\n\\t><div class="dijitTooltipContainer dijitTooltipContents" data-dojo-attach-point="containerNode" role=\\\'alert\\\'></div\\n></div>\\n\'},5625(e,t,n){var r,o;n.dj.r;r=[n(6356),n(6323),n(1662),n(5479),n(2236)],void 0===(o=function(e,t,n,r,o){"use strict";var i="This deferred has already been fulfilled.",s=Object.freeze||function(){},a=function(t,n,r,o,i){e("config-deferredInstrumentation")&&2===n&&u.instrumentRejected&&0===t.length&&u.instrumentRejected(r,!1,o,i);for(var s=0;s<t.length;s++)l(t[s],n,r,o)},l=function(t,n,r,o){var i=t[n],s=t.deferred;if(i)try{var a=i(r);if(0===n)void 0!==a&&d(s,n,a);else{if(a&&"function"==typeof a.then)return t.cancel=a.cancel,void a.then(c(s,1),c(s,2),c(s,0));d(s,1,a)}}catch(e){d(s,2,e)}else d(s,n,r);e("config-deferredInstrumentation")&&2===n&&u.instrumentRejected&&u.instrumentRejected(r,!!i,o,s.promise)},c=function(e,t){return function(n){d(e,t,n)}},d=function(e,t,n){if(!e.isCanceled())switch(t){case 0:e.progress(n);break;case 1:e.resolve(n);break;case 2:e.reject(n)}},u=function(t){var o,c,d,h=this.promise=new r,f=this,p=!1,v=[];e("config-deferredInstrumentation")&&Error.captureStackTrace&&(Error.captureStackTrace(f,u),Error.captureStackTrace(h,u)),this.isResolved=h.isResolved=function(){return 1===o},this.isRejected=h.isRejected=function(){return 2===o},this.isFulfilled=h.isFulfilled=function(){return!!o},this.isCanceled=h.isCanceled=function(){return p},this.progress=function(e,t){if(o){if(!0===t)throw new Error(i);return h}return a(v,0,e,null,f),h},this.resolve=function(e,t){if(o){if(!0===t)throw new Error(i);return h}return a(v,o=1,c=e,null,f),v=null,h};var g=this.reject=function(t,n){if(o){if(!0===n)throw new Error(i);return h}return e("config-deferredInstrumentation")&&Error.captureStackTrace&&Error.captureStackTrace(d={},g),a(v,o=2,c=t,d,f),v=null,h};this.then=h.then=function(e,t,n){var r=[n,e,t];return r.cancel=h.cancel,r.deferred=new u(function(e){return r.cancel&&r.cancel(e)}),o&&!v?l(r,o,c,d):v.push(r),r.deferred.promise},this.cancel=h.cancel=function(e,r){if(o){if(!0===r)throw new Error(i)}else{if(t){var s=t(e);e=void 0===s?e:s}if(p=!0,!o)return void 0===e&&(e=new n),g(e),e;if(2===o&&c===e)return e}},s(h)};return u.prototype.toString=function(){return"[object Deferred]"},o&&o(u),u}.apply(null,r))||(e.exports=o)},9925(e,t,n){var r,o;n.dj.r;r=[n(6566),n(2075)],o=function(e,t){"use strict";var n=e.after;function r(){}return r.prototype={on:function(e,r){return t.parse(this,e,r,function(e,t){return n(e,"on"+t,r,!0)})},emit:function(e,n){var r=[this];return r.push.apply(r,arguments),t.emit.apply(t,r)}},r}.apply(null,r),void 0===o||(e.exports=o)},8288(e,t,n){var r,o;n.dj.r;r=[n(1054),n(1172),n(6974),n(6323),n(8945),n(28),n(2685),n(7878),n(1248)],o=function(e,t,n,r,o,i,s,a,l){var c=function(e){return 1==e.length&&"string"==typeof e[0]},d=function(e){var t=e.parentNode;t&&t.removeChild(e)},u=t.NodeList,h=u._adaptWithCondition,f=u._adaptAsForEach,p=u._adaptAsMap;function v(e){return function(t,n,r){return 2==arguments.length?e["string"==typeof n?"get":"set"](t,n):e.set(t,n,r)}}return r.extend(u,{_normalize:function(t,n){var o=!0===t.parse;if("string"==typeof t.template){var s=t.templateFunc||e.string&&e.string.substitute;t=s?s(t.template,t):t}var a=typeof t;return"string"==a||"number"==a?t=11==(t=i.toDom(t,n&&n.ownerDocument)).nodeType?r._toArray(t.childNodes):[t]:r.isArrayLike(t)?r.isArray(t)||(t=r._toArray(t)):t=[t],o&&(t._runParse=!0),t},_cloneNode:function(e){return e.cloneNode(!0)},_place:function(t,n,r,o){if(1==n.nodeType||"only"!=r)for(var s,a=n,l=t.length,c=l-1;c>=0;c--){var d=o?this._cloneNode(t[c]):t[c];if(t._runParse&&e.parser&&e.parser.parse)for(s||(s=a.ownerDocument.createElement("div")),s.appendChild(d),e.parser.parse(s),d=s.firstChild;s.firstChild;)s.removeChild(s.firstChild);c==l-1?i.place(d,a,r):a.parentNode.insertBefore(d,a),a=d}},position:p(s.position),attr:h(v(a),c),style:h(v(l),c),addClass:f(o.add),removeClass:f(o.remove),toggleClass:f(o.toggle),replaceClass:f(o.replace),empty:f(i.empty),removeAttr:f(a.remove),marginBox:p(s.getMarginBox),place:function(e,n){var r=t(e)[0];return this.forEach(function(e){i.place(e,r,n)})},orphan:function(e){return(e?t._filterResult(this,e):this).forEach(d)},adopt:function(e,n){return t(e).place(this[0],n)._stash(this)},query:function(e){if(!e)return this;var n=new u;return this.map(function(r){t(e,r).forEach(function(e){void 0!==e&&n.push(e)})}),n._stash(this)},filter:function(e){var r=arguments,o=this,i=0;if("string"==typeof e){if(o=t._filterResult(this,r[0]),1==r.length)return o._stash(this);i=1}return this._wrap(n.filter(o,r[i],r[i+1]),this)},addContent:function(e,t){e=this._normalize(e,this[0]);for(var n,r=0;n=this[r];r++)e.length?this._place(e,n,t,r>0):i.empty(n);return this}}),u}.apply(null,r),void 0===o||(e.exports=o)},4062(e,t,n){var r,o;n.dj.r;r=[n(6345),n(6323),n(6974),n(3534)],o=function(e,t,n,r){return e("dojo.Stateful",null,{_attrPairNames:{},_getAttrNames:function(e){var t=this._attrPairNames;return t[e]?t[e]:t[e]={s:"_"+e+"Setter",g:"_"+e+"Getter"}},postscript:function(e){e&&this.set(e)},_get:function(e,t){return"function"==typeof this[t.g]?this[t.g]():this[e]},get:function(e){return this._get(e,this._getAttrNames(e))},set:function(e,t){if("object"==typeof e){for(var n in e)e.hasOwnProperty(n)&&"_watchCallbacks"!=n&&this.set(n,e[n]);return this}var o,i=this._getAttrNames(e),s=this._get(e,i),a=this[i.s];if("function"==typeof a?o=a.apply(this,Array.prototype.slice.call(arguments,1)):this[e]=t,this._watchCallbacks){var l=this;r(o,function(){l._watchCallbacks(e,s,t)})}return this},_changeAttrValue:function(e,t){var n=this.get(e);return this[e]=t,this._watchCallbacks&&this._watchCallbacks(e,n,t),this},watch:function(e,t){var r=this._watchCallbacks;if(!r){var o=this;r=this._watchCallbacks=function(e,t,n,i){var s=function(r){if(r)for(var i=0,s=(r=r.slice()).length;i<s;i++)r[i].call(o,e,t,n)};s(r["_"+e]),i||s(r["*"])}}t||"function"!=typeof e?e="_"+e:(t=e,e="*");var i=r[e];"object"!=typeof i&&(i=r[e]=[]),i.push(t);var s={};return s.unwatch=s.remove=function(){var e=n.indexOf(i,t);e>-1&&i.splice(e,1)},s}})}.apply(null,r),void 0===o||(e.exports=o)},1692(e,t,n){var r,o;n.dj.r;r=[n(1054),n(6323),n(6974),n(7361)],void 0===(o=function(e,t,n,r){var o=e.Color=function(e){e&&this.setColor(e)};return o.named={black:[0,0,0],silver:[192,192,192],gray:[128,128,128],white:[255,255,255],maroon:[128,0,0],red:[255,0,0],purple:[128,0,128],fuchsia:[255,0,255],green:[0,128,0],lime:[0,255,0],olive:[128,128,0],yellow:[255,255,0],navy:[0,0,128],blue:[0,0,255],teal:[0,128,128],aqua:[0,255,255],transparent:r.transparentColor||[0,0,0,0]},t.extend(o,{r:255,g:255,b:255,a:1,_set:function(e,t,n,r){var o=this;o.r=e,o.g=t,o.b=n,o.a=r},setColor:function(e){return t.isString(e)?o.fromString(e,this):t.isArray(e)?o.fromArray(e,this):(this._set(e.r,e.g,e.b,e.a),e instanceof o||this.sanitize()),this},sanitize:function(){return this},toRgb:function(){var e=this;return[e.r,e.g,e.b]},toRgba:function(){var e=this;return[e.r,e.g,e.b,e.a]},toHex:function(){return"#"+n.map(["r","g","b"],function(e){var t=this[e].toString(16);return t.length<2?"0"+t:t},this).join("")},toCss:function(e){var t=this,n=t.r+", "+t.g+", "+t.b;return(e?"rgba("+n+", "+t.a:"rgb("+n)+")"},toString:function(){return this.toCss(!0)}}),o.blendColors=e.blendColors=function(e,t,n,r){var i=r||new o;return i.r=Math.round(e.r+(t.r-e.r)*n),i.g=Math.round(e.g+(t.g-e.g)*n),i.b=Math.round(e.b+(t.b-e.b)*n),i.a=e.a+(t.a-e.a)*n,i.sanitize()},o.fromRgb=e.colorFromRgb=function(e,t){var n=e.toLowerCase().match(/^rgba?\\(([\\s\\.,0-9]+)\\)/);return n&&o.fromArray(n[1].split(/\\s*,\\s*/),t)},o.fromHex=e.colorFromHex=function(e,t){var r=t||new o,i=4==e.length?4:8,s=(1<<i)-1;return e=Number("0x"+e.substr(1)),isNaN(e)?null:(n.forEach(["b","g","r"],function(t){var n=e&s;e>>=i,r[t]=4==i?17*n:n}),r.a=1,r)},o.fromArray=e.colorFromArray=function(e,t){var n=t||new o;return n._set(Number(e[0]),Number(e[1]),Number(e[2]),Number(e[3])),isNaN(n.a)&&(n.a=1),n.sanitize()},o.fromString=e.colorFromString=function(e,t){var n=o.named[e];return n&&o.fromArray(n,t)||o.fromRgb(e,t)||o.fromHex(e,t)},o}.apply(null,r))||(e.exports=o)},280(e,t,n){var r,o;n.dj.r;r=[n(1054),n(5625),n(5479),n(1662),n(6356),n(6323),n(3534)],o=function(e,t,n,r,o,i,s){var a=function(){},l=Object.freeze||function(){},c=e.Deferred=function(e){var s,d,u,h,f,p,v,g=this.promise=new n;function m(e){if(d)throw new Error("This deferred has already been resolved");s=e,d=!0,y()}function y(){for(var e;!e&&v;){var n=v;v=v.next,(e=n.progress==a)&&(d=!1);var r=f?n.error:n.resolved;if(o("config-useDeferredInstrumentation")&&f&&t.instrumentRejected&&t.instrumentRejected(s,!!r),r)try{var l=r(s);if(l&&"function"==typeof l.then){l.then(i.hitch(n.deferred,"resolve"),i.hitch(n.deferred,"reject"),i.hitch(n.deferred,"progress"));continue}var c=e&&void 0===l;e&&!c&&(f=l instanceof Error),n.deferred[c&&f?"reject":"resolve"](c?s:l)}catch(e){n.deferred.reject(e)}else f?n.deferred.reject(s):n.deferred.resolve(s)}}this.isResolved=g.isResolved=function(){return 0==h},this.isRejected=g.isRejected=function(){return 1==h},this.isFulfilled=g.isFulfilled=function(){return h>=0},this.isCanceled=g.isCanceled=function(){return u},this.resolve=this.callback=function(e){this.fired=h=0,this.results=[e,null],m(e)},this.reject=this.errback=function(e){f=!0,this.fired=h=1,o("config-useDeferredInstrumentation")&&t.instrumentRejected&&t.instrumentRejected(e,!!v),m(e),this.results=[null,e]},this.progress=function(e){for(var t=v;t;){var n=t.progress;n&&n(e),t=t.next}},this.addCallbacks=function(e,t){return this.then(e,t,a),this},g.then=this.then=function(e,t,n){var r=n==a?this:new c(g.cancel),o={resolved:e,error:t,progress:n,deferred:r};return v?p=p.next=o:v=p=o,d&&y(),r.promise};var _=this;g.cancel=this.cancel=function(){if(!d){var t=e&&e(_);d||(t instanceof Error||(t=new r(t)),t.log=!1,_.reject(t))}u=!0},l(g)};return i.extend(c,{addCallback:function(t){return this.addCallbacks(i.hitch.apply(e,arguments))},addErrback:function(t){return this.addCallbacks(null,i.hitch.apply(e,arguments))},addBoth:function(t){var n=i.hitch.apply(e,arguments);return this.addCallbacks(n,n)},fired:-1}),c.when=e.when=s,c}.apply(null,r),void 0===o||(e.exports=o)},6659(e,t,n){var r,o;n.dj.r;r=[n(1054),n(1172),n(6974),n(1142),n(8288)],o=function(e,t,n){var r=t.NodeList,o=r.prototype;return o.connect=r._adaptAsForEach(function(){return e.connect.apply(this,arguments)}),o.coords=r._adaptAsMap(e.coords),r.events=["blur","focus","change","click","error","keydown","keypress","keyup","load","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","submit"],n.forEach(r.events,function(e){var t="on"+e;o[t]=function(e,n){return this.connect(t,e,n)}}),e.NodeList=r,r}.apply(null,r),void 0===o||(e.exports=o)},6974(e,t,n){var r,o;n.dj.r;r=[n(1054),n(6356),n(6323)],void 0===(o=function(e,t,n){var r,o={};function i(e){var n=!e;return function(i,s,a){var l,c=0,d=i&&i.length||0;if(d&&"string"==typeof i&&(i=i.split("")),"string"==typeof s){if(t("csp-restrictions"))throw new TypeError("callback must be a function");s=o[s]||r(s)}if(a){for(;c<d;++c)if(l=!s.call(a,i[c],c,i),e^l)return!l}else for(;c<d;++c)if(l=!s(i[c],c,i),e^l)return!l;return n}}function s(e){var t=1,n=0,r=0;return e||(t=n=r=-1),function(o,i,s,l){if(l&&t>0)return a.lastIndexOf(o,i,s);var c,d=o&&o.length||0,u=e?d+r:n;for(void 0===s?c=e?n:d+r:s<0?(c=d+s)<0&&(c=n):c=s>=d?d+r:s,d&&"string"==typeof o&&(o=o.split(""));c!=u;c+=t)if(o[c]==i)return c;return-1}}t("csp-restrictions")||(r=function(e){return o[e]=new Function("item","index","array",e)});var a={every:i(!1),some:i(!0),indexOf:s(!0),lastIndexOf:s(!1),forEach:function(e,n,i){var s=0,a=e&&e.length||0;if(a&&"string"==typeof e&&(e=e.split("")),"string"==typeof n){if(t("csp-restrictions"))throw new TypeError("callback must be a function");n=o[n]||r(n)}if(i)for(;s<a;++s)n.call(i,e[s],s,e);else for(;s<a;++s)n(e[s],s,e)},map:function(e,n,i,s){var a=0,l=e&&e.length||0,c=new(s||Array)(l);if(l&&"string"==typeof e&&(e=e.split("")),"string"==typeof n){if(t("csp-restrictions"))throw new TypeError("callback must be a function");n=o[n]||r(n)}if(i)for(;a<l;++a)c[a]=n.call(i,e[a],a,e);else for(;a<l;++a)c[a]=n(e[a],a,e);return c},filter:function(e,n,i){var s,a=0,l=e&&e.length||0,c=[];if(l&&"string"==typeof e&&(e=e.split("")),"string"==typeof n){if(t("csp-restrictions"))throw new TypeError("callback must be a function");n=o[n]||r(n)}if(i)for(;a<l;++a)s=e[a],n.call(i,s,a,e)&&c.push(s);else for(;a<l;++a)n(s=e[a],a,e)&&c.push(s);return c},clearCache:function(){o={}}};return t("extend-dojo")&&n.mixin(e,a),a}.apply(null,r))||(e.exports=o)},7361(e,t,n){var r,o;n.dj.r;r=[n(1925),n(6356),n.dj.c(e)],void 0===(o=function(e,t,n){var r,o={},i=function(e,n,o){for(r in e)"has"!=r&&t.add(n+r,e[r],0,o)};if(i(o=e.dojoConfig||e.djConfig||{},"config",1),i(o.has,"",1),!o.locale&&"undefined"!=typeof navigator){var s=navigator.languages&&navigator.languages.length?navigator.languages[0]:navigator.language||navigator.userLanguage;s&&(o.locale=s.toLowerCase())}return o}.apply(null,r))||(e.exports=o)},5641(e,t,n){var r,o;n.dj.r;r=[n(1054),n(2075),n(7111),n(6566),n(3503),n(8471),n(3927),n(6323),n(4266)],o=function(e,t,n,r,o,i,s,a){function l(n,o,s,l,d){if(l=a.hitch(s,l),!n||!n.addEventListener&&!n.attachEvent)return r.after(n||e.global,o,l,!0);if("string"==typeof o&&"on"==o.substring(0,2)&&(o=o.substring(2)),n||(n=e.global),!d)switch(o){case"keypress":o=c;break;case"mouseenter":o=i.enter;break;case"mouseleave":o=i.leave}return t(n,o,l,d)}s.add("events-keypress-typed",function(){var e={charCode:0};try{((e=document.createEvent("KeyboardEvent")).initKeyboardEvent||e.initKeyEvent).call(e,"keypress",!0,!0,null,!1,!1,!1,!1,9,3)}catch(e){}return 0==e.charCode&&!s("opera")});var c,d={106:42,111:47,186:59,187:43,188:44,189:45,190:46,191:47,192:96,219:91,220:92,221:93,222:39,229:113},u=s("mac")?"metaKey":"ctrlKey",h=function(e,t){var n=a.mixin({},e,t);return f(n),n.preventDefault=function(){e.preventDefault()},n.stopPropagation=function(){e.stopPropagation()},n};function f(e){e.keyChar=e.charCode?String.fromCharCode(e.charCode):"",e.charOrCode=e.keyChar||e.keyCode}if(s("events-keypress-typed")){c=function(e,n){var r=t(e,"keydown",function(e){var t=e.keyCode,r=13!=t&&32!=t&&(27!=t||!s("ie"))&&(t<48||t>90)&&(t<96||t>111)&&(t<186||t>192)&&(t<219||t>222)&&229!=t;if(r||e.ctrlKey){var o=r?0:t;if(e.ctrlKey){if(3==t||13==t)return n.call(e.currentTarget,e);o>95&&o<106?o-=48:!e.shiftKey&&o>=65&&o<=90?o+=32:o=d[o]||o}var i=h(e,{type:"keypress",faux:!0,charCode:o});n.call(e.currentTarget,i),s("ie")&&function(e,t){try{return e.keyCode=t}catch(e){return 0}}(e,i.keyCode)}}),o=t(e,"keypress",function(e){var t=e.charCode;return e=h(e,{charCode:t=t>=32?t:0,faux:!0}),n.call(this,e)});return{remove:function(){r.remove(),o.remove()}}}}else c=s("opera")?function(e,n){return t(e,"keypress",function(e){var t=e.which;return 3==t&&(t=99),t=t<32&&!e.shiftKey?0:t,e.ctrlKey&&!e.shiftKey&&t>=65&&t<=90&&(t+=32),n.call(this,h(e,{charCode:t}))})}:function(e,n){return t(e,"keypress",function(e){return f(e),n.call(this,e)})};var p={_keypress:c,connect:function(e,t,n,r,o){var i=arguments,s=[],a=0;s.push("string"==typeof i[0]?null:i[a++],i[a++]);var c=i[a+1];s.push("string"==typeof c||"function"==typeof c?i[a++]:null,i[a++]);for(var d=i.length;a<d;a++)s.push(i[a]);return l.apply(this,s)},disconnect:function(e){e&&e.remove()},subscribe:function(e,t,r){return n.subscribe(e,a.hitch(t,r))},publish:function(e,t){return n.publish.apply(n,[e].concat(t))},connectPublisher:function(e,t,n){var r=function(){p.publish(e,arguments)};return n?p.connect(t,n,r):p.connect(t,r)},isCopyKey:function(e){return e[u]}};return p.unsubscribe=p.disconnect,s("extend-dojo")&&a.mixin(e,p),p}.apply(null,r),void 0===o||(e.exports=o)},6345(e,t,n){var r,o;n.dj.r;r=[n(1054),n(6356),n(6323)],o=function(e,t,n){var r,o=n.mixin,i=Object.prototype,s=i.toString,a=0,l="constructor";function c(e,t){throw new Error("declare"+(t?" "+t:"")+": "+e)}function d(e,t,n,r){var o,s,a,d,u,h,f,p,v,g=this._inherited=this._inherited||{};if("string"==typeof e&&(o=e,e=t,t=n,n=r),"function"==typeof e)d=e,e=t,t=n;else try{d=e.callee}catch(e){if(!(e instanceof TypeError))throw e;c("strict mode inherited() requires the caller function to be passed before arguments",this.declaredClass)}if((o=o||d.nom)||c("can\'t deduce a name to call inherited()",this.declaredClass),n=r=0,a=(u=this.constructor._meta).bases,v=g.p,o!=l){if(g.c!==d&&(v=0,(u=(h=a[0])._meta).hidden[o]!==d)){(s=u.chains)&&"string"==typeof s[o]&&c("calling chained method with inherited: "+o,this.declaredClass);do{if(u=h._meta,f=h.prototype,u&&(f[o]===d&&f.hasOwnProperty(o)||u.hidden[o]===d))break}while(h=a[++v]);v=h?v:-1}if(h=a[++v])if(f=h.prototype,h._meta&&f.hasOwnProperty(o))n=f[o];else{p=i[o];do{if((n=(f=h.prototype)[o])&&(h._meta?f.hasOwnProperty(o):n!==p))break}while(h=a[++v])}n=h&&n||i[o]}else{if(g.c!==d&&(v=0,(u=a[0]._meta)&&u.ctor!==d)){for((s=u.chains)&&"manual"===s.constructor||c("calling chained constructor with inherited",this.declaredClass);(h=a[++v])&&(!(u=h._meta)||u.ctor!==d););v=h?v:-1}for(;(h=a[++v])&&!(n=(u=h._meta)?u.ctor:h););n=h&&n}if(g.c=n,g.p=v,n)return!0===t?n:n.apply(this,t||e)}function u(e,t,n){return"string"==typeof e?"function"==typeof t?this.__inherited(e,t,n,!0):this.__inherited(e,t,!0):"function"==typeof e?this.__inherited(e,t,!0):this.__inherited(e,!0)}r=t("csp-restrictions")?function(){}:new Function;var h=e.config.isDebug?function(e,t,n,r){var o=this.getInherited(e,t,n);if(o)return o.apply(this,r||n||t||e)}:d;function f(e){for(var t=this.constructor._meta.bases,n=0,r=t.length;n<r;++n)if(t[n]===e)return!0;return this instanceof e}function p(e,t){for(var n in t)n!=l&&t.hasOwnProperty(n)&&(e[n]=t[n])}function v(e){return b.safeMixin(this.prototype,e),this}function g(e,t){return e instanceof Array||"function"==typeof e||(t=e,e=void 0),t=t||{},b([this].concat(e=e||[]),t)}function m(e,t,n){return function(){var r,o,i,s=0,a=1;for(n&&(s=t.length-1,a=-1);r=t[s];s+=a)(i=((o=r._meta)?o.hidden:r.prototype)[e])&&i.apply(this,arguments)}}function y(e){r.prototype=e.prototype;var t=new r;return r.prototype=null,t}function _(e){var t=e.callee,n=y(t);return t.apply(n,e),n}function b(e,r,w){"string"!=typeof e&&(w=r,r=e,e=""),w=w||{};var x,N,C,j,S,T,E,M=1,A=r;if("[object Array]"==s.call(r)?(T=function(e,t){for(var n,r,o,i,l,d,u,h,f=[],p=[{cls:0,refs:[]}],v={},g=1,m=e.length,y=0;y<m;++y){for((o=e[y])?"[object Function]"!=s.call(o)&&c("mixin #"+y+" is not a callable constructor.",t):c("mixin #"+y+" is unknown. Did you use dojo.require to pull it in?",t),i=0,n=(r=o._meta?o._meta.bases:[o]).length-1;n>=0;--n)(l=r[n].prototype).hasOwnProperty("declaredClass")||(l.declaredClass="uniqName_"+a++),u=l.declaredClass,v.hasOwnProperty(u)||(v[u]={count:0,refs:[],cls:r[n]},++g),d=v[u],i&&i!==d&&(d.refs.push(i),++i.count),i=d;++i.count,p[0].refs.push(i)}for(;p.length;){for(i=p.pop(),f.push(i.cls),--g;1==(h=i.refs).length;){if(!(i=h[0])||--i.count){i=0;break}f.push(i.cls),--g}if(i)for(y=0,m=h.length;y<m;++y)--(i=h[y]).count||p.push(i)}return g&&c("can\'t build consistent linearization",t),o=e[0],f[0]=o?o._meta&&o===f[f.length-o._meta.bases.length]?o._meta.bases.length:1:0,f}(r,e),C=T[0],r=T[M=T.length-C]):(T=[0],r?"[object Function]"==s.call(r)?(C=r._meta,T=T.concat(C?C.bases:r)):c("base class is not a callable constructor.",e):null!==r&&c("unknown base class. Did you use dojo.require to pull it in?",e)),r)for(N=M-1;x=y(r),N;--N)((C=T[N])._meta?p:o)(x,C.prototype),(j=t("csp-restrictions")?function(){}:new Function).superclass=r,j.prototype=x,r=x.constructor=j;else x={};for(b.safeMixin(x,w),(C=w.constructor)!==i.constructor&&(C.nom=l,x.constructor=C),N=M-1;N;--N)(C=T[N]._meta)&&C.chains&&(E=o(E||{},C.chains));if(x["-chains-"]&&(E=o(E||{},x["-chains-"])),r&&r.prototype&&r.prototype["-chains-"]&&(E=o(E||{},r.prototype["-chains-"])),C=!E||!E.hasOwnProperty(l),T[0]=j=E&&"manual"===E.constructor?function(e){return function(){var t,n,r=arguments,o=0;if(!(this instanceof r.callee))return _(r);for(;t=e[o];++o)if(t=(n=t._meta)?n.ctor:t){t.apply(this,r);break}(t=this.postscript)&&t.apply(this,r)}}(T):1==T.length?function(e,t){return function(){var n,r=arguments,o=r,i=r[0];if(!(this instanceof r.callee))return _(r);t&&(i&&(n=i.preamble)&&(o=n.apply(this,o)||o),(n=this.preamble)&&n.apply(this,o)),e&&e.apply(this,r),(n=this.postscript)&&n.apply(this,r)}}(w.constructor,C):function(e,t){return function(){var n,r,o,i,s=arguments,a=s,l=s[0],c=e.length;if(!(this instanceof s.callee))return _(s);if(t&&(l&&l.preamble||this.preamble))for((i=new Array(e.length))[0]=s,r=0;(l=s[0])&&(n=l.preamble)&&(s=n.apply(this,s)||s),(n=(n=e[r].prototype).hasOwnProperty("preamble")&&n.preamble)&&(s=n.apply(this,s)||s),++r!=c;)i[r]=s;for(r=c-1;r>=0;--r)(n=(o=(n=e[r])._meta)?o.ctor:n)&&n.apply(this,i?i[r]:s);(n=this.postscript)&&n.apply(this,a)}}(T,C),j._meta={bases:T,hidden:w,chains:E,parents:A,ctor:w.constructor},j.superclass=r&&r.prototype,j.extend=v,j.createSubclass=g,j.prototype=x,x.constructor=j,x.getInherited=u,x.isInstanceOf=f,x.inherited=h,x.__inherited=d,e&&(x.declaredClass=e,n.setObject(e,j)),E)for(S in E)x[S]&&"string"==typeof E[S]&&S!=l&&((C=x[S]=m(S,T,"after"===E[S])).nom=S);return j}return e.safeMixin=b.safeMixin=function(e,t){var n,r;for(n in t)(r=t[n])===i[n]&&n in i||n==l||("[object Function]"==s.call(r)&&(r.nom=n),e[n]=r);return e},e.declare=b,b}.apply(null,r),void 0===o||(e.exports=o)},3503(e,t,n){var r,o;n.dj.r;r=[n(1054),n(2075),n(6356),n(2685)],void 0===(o=function(e,t,n,r){if(t._fixEvent){var o=t._fixEvent;t._fixEvent=function(e,t){return(e=o(e,t))&&r.normalizeEvent(e),e}}var i={fix:function(e,n){return t._fixEvent?t._fixEvent(e,n):e},stop:function(e){n("dom-addeventlistener")||e&&e.preventDefault?(e.preventDefault(),e.stopPropagation()):((e=e||window.event).cancelBubble=!0,t._preventDefault.call(e))}};return n("extend-dojo")&&(e.fixEvent=i.fix,e.stopEvent=i.stop),i}.apply(null,r))||(e.exports=o)},5577(e,t,n){var r,o;n.dj.r;r=[n(1054),n(7361),n(6323),n(9925),n(1692),n(6566),n(2616),n(2284),n(1248)],void 0===(o=function(e,t,n,r,o,i,s,a,l){var c=n.mixin,d={},u=d._Line=function(e,t){this.start=e,this.end=t};u.prototype.getValue=function(e){return(this.end-this.start)*e+this.start};var h=d.Animation=function(e){c(this,e),n.isArray(this.curve)&&(this.curve=new u(this.curve[0],this.curve[1]))};h.prototype=new r,n.extend(h,{duration:350,repeat:0,rate:20,_percent:0,_startRepeatCount:0,_getStep:function(){var e=this._percent,t=this.easing;return t?t(e):e},_fire:function(e,n){var r=n||[];if(this[e])if(t.debugAtAllCosts)this[e].apply(this,r);else try{this[e].apply(this,r)}catch(t){console.error("exception in animation handler for:",e),console.error(t)}return this},play:function(e,t){var r=this;if(r._delayTimer&&r._clearTimer(),t)r._stopTimer(),r._active=r._paused=!1,r._percent=0;else if(r._active&&!r._paused)return r;r._fire("beforeBegin",[r.node]);var o=e||r.delay,i=n.hitch(r,"_play",t);return o>0?(r._delayTimer=setTimeout(i,o),r):(i(),r)},_play:function(e){var t=this;t._delayTimer&&t._clearTimer(),t._startTime=(new Date).valueOf(),t._paused&&(t._startTime-=t.duration*t._percent),t._active=!0,t._paused=!1;var n=t.curve.getValue(t._getStep());return t._percent||(t._startRepeatCount||(t._startRepeatCount=t.repeat),t._fire("onBegin",[n])),t._fire("onPlay",[n]),t._cycle(),t},pause:function(){var e=this;return e._delayTimer&&e._clearTimer(),e._stopTimer(),e._active?(e._paused=!0,e._fire("onPause",[e.curve.getValue(e._getStep())]),e):e},gotoPercent:function(e,t){var n=this;return n._stopTimer(),n._active=n._paused=!0,n._percent=e,t&&n.play(),n},stop:function(e){var t=this;return t._delayTimer&&t._clearTimer(),t._timer?(t._stopTimer(),e&&(t._percent=1),t._fire("onStop",[t.curve.getValue(t._getStep())]),t._active=t._paused=!1,t):t},destroy:function(){this.stop()},status:function(){return this._active?this._paused?"paused":"playing":"stopped"},_cycle:function(){var e=this;if(e._active){var t=(new Date).valueOf(),n=0===e.duration?1:(t-e._startTime)/e.duration;n>=1&&(n=1),e._percent=n,e.easing&&(n=e.easing(n)),e._fire("onAnimate",[e.curve.getValue(n)]),e._percent<1?e._startTimer():(e._active=!1,e.repeat>0?(e.repeat--,e.play(null,!0)):-1==e.repeat?e.play(null,!0):e._startRepeatCount&&(e.repeat=e._startRepeatCount,e._startRepeatCount=0),e._percent=0,e._fire("onEnd",[e.node]),!e.repeat&&e._stopTimer())}return e},_clearTimer:function(){clearTimeout(this._delayTimer),delete this._delayTimer}});var f=0,p=null,v={run:function(){}};n.extend(h,{_startTimer:function(){this._timer||(this._timer=i.after(v,"run",n.hitch(this,"_cycle"),!0),f++),p||(p=setInterval(n.hitch(v,"run"),this.rate))},_stopTimer:function(){this._timer&&(this._timer.remove(),this._timer=null,f--),f<=0&&(clearInterval(p),p=null,f=0)}});var g=s("ie")?function(e){var t=e.style;t.width.length||"auto"!=l.get(e,"width")||(t.width="auto")}:function(){};d._fade=function(e){e.node=a.byId(e.node);var t=c({properties:{}},e),r=t.properties.opacity={};r.start="start"in t?t.start:function(){return+l.get(t.node,"opacity")||0},r.end=t.end;var o=d.animateProperty(t);return i.after(o,"beforeBegin",n.partial(g,t.node),!0),o},d.fadeIn=function(e){return d._fade(c({end:1},e))},d.fadeOut=function(e){return d._fade(c({end:0},e))},d._defaultEasing=function(e){return.5+Math.sin((e+1.5)*Math.PI)/2};var m=function(e){for(var t in this._properties=e,e){var n=e[t];n.start instanceof o&&(n.tempColor=new o)}};return m.prototype.getValue=function(e){var t={};for(var r in this._properties){var i=this._properties[r],s=i.start;s instanceof o?t[r]=o.blendColors(s,i.end,e,i.tempColor).toCss():n.isArray(s)||(t[r]=(i.end-s)*e+s+("opacity"!=r?i.units||"px":0))}return t},d.animateProperty=function(t){var r=t.node=a.byId(t.node);t.easing||(t.easing=e._defaultEasing);var s=new h(t);return i.after(s,"beforeBegin",n.hitch(s,function(){var e={};for(var t in this.properties){"width"!=t&&"height"!=t||(this.node.display="block");var i=this.properties[t];n.isFunction(i)&&(i=i(r)),i=e[t]=c({},n.isObject(i)?i:{end:i}),n.isFunction(i.start)&&(i.start=i.start(r)),n.isFunction(i.end)&&(i.end=i.end(r));var s=t.toLowerCase().indexOf("color")>=0,a=function(e,t){var n={height:e.offsetHeight,width:e.offsetWidth}[t];return void 0!==n?n:(n=l.get(e,t),"opacity"==t?+n:s?n:parseFloat(n))};"end"in i?"start"in i||(i.start=a(r,t)):i.end=a(r,t),s?(i.start=new o(i.start),i.end=new o(i.end)):i.start="opacity"==t?+i.start:parseFloat(i.start)}this.curve=new m(e)}),!0),i.after(s,"onAnimate",n.hitch(l,"set",s.node),!0),s},d.anim=function(e,t,n,r,o,i){return d.animateProperty({node:e,duration:n||h.prototype.duration,properties:t,easing:r,onEnd:o}).play(i||0)},s("extend-dojo")&&(c(e,d),e._Animation=h),d}.apply(null,r))||(e.exports=o)},1142(e,t,n){var r,o;n.dj.r;r=[n(1054),n(2284),n(1248),n(7878),n(5244),n(8945),n(28),n(2685)],o=function(e,t,n,r,o,i,s,a){return e.byId=t.byId,e.isDescendant=t.isDescendant,e.setSelectable=t.setSelectable,e.getAttr=r.get,e.setAttr=r.set,e.hasAttr=r.has,e.removeAttr=r.remove,e.getNodeProp=r.getNodeProp,e.attr=function(e,t,n){return 2==arguments.length?r["string"==typeof t?"get":"set"](e,t):r.set(e,t,n)},e.hasClass=i.contains,e.addClass=i.add,e.removeClass=i.remove,e.toggleClass=i.toggle,e.replaceClass=i.replace,e._toDom=e.toDom=s.toDom,e.place=s.place,e.create=s.create,e.empty=function(e){s.empty(e)},e._destroyElement=e.destroy=function(e){s.destroy(e)},e._getPadExtents=e.getPadExtents=a.getPadExtents,e._getBorderExtents=e.getBorderExtents=a.getBorderExtents,e._getPadBorderExtents=e.getPadBorderExtents=a.getPadBorderExtents,e._getMarginExtents=e.getMarginExtents=a.getMarginExtents,e._getMarginSize=e.getMarginSize=a.getMarginSize,e._getMarginBox=e.getMarginBox=a.getMarginBox,e.setMarginBox=a.setMarginBox,e._getContentBox=e.getContentBox=a.getContentBox,e.setContentSize=a.setContentSize,e._isBodyLtr=e.isBodyLtr=a.isBodyLtr,e._docScroll=e.docScroll=a.docScroll,e._getIeDocumentElementOffset=e.getIeDocumentElementOffset=a.getIeDocumentElementOffset,e._fixIeBiDiScrollLeft=e.fixIeBiDiScrollLeft=a.fixIeBiDiScrollLeft,e.position=a.position,e.marginBox=function(e,t){return t?a.setMarginBox(e,t):a.getMarginBox(e)},e.contentBox=function(e,t){return t?a.setContentSize(e,t):a.getContentBox(e)},e.coords=function(r,o){e.deprecated("dojo.coords()","Use dojo.position() or dojo.marginBox()."),r=t.byId(r);var i=n.getComputedStyle(r),s=a.getMarginBox(r,i),l=a.position(r,o);return s.x=l.x,s.y=l.y,s},e.getProp=o.get,e.setProp=o.set,e.prop=function(e,t,n){return 2==arguments.length?o["string"==typeof t?"get":"set"](e,t):o.set(e,t,n)},e.getStyle=n.get,e.setStyle=n.set,e.getComputedStyle=n.getComputedStyle,e.__toPixelValue=e.toPixelValue=n.toPixelValue,e.style=function(e,t,r){switch(arguments.length){case 1:return n.get(e);case 2:return n["string"==typeof t?"get":"set"](e,t)}return n.set(e,t,r)},e}.apply(null,r),void 0===o||(e.exports=o)},4861(module,exports,__webpack_require__){var require=__webpack_require__.dj.r,__WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;__WEBPACK_AMD_DEFINE_ARRAY__=[__webpack_require__(1054),__webpack_require__(8212)],__WEBPACK_AMD_DEFINE_RESULT__=function(dojo,json){return dojo.fromJson=function(js){return eval("("+js+")")},dojo._escapeString=json.stringify,dojo.toJsonIndentStr="\\t",dojo.toJson=function(e,t){return json.stringify(e,function(e,t){if(t){var n=t.__json__||t.json;if("function"==typeof n)return n.call(t)}return t},t&&dojo.toJsonIndentStr)},dojo}.apply(null,__WEBPACK_AMD_DEFINE_ARRAY__),void 0===__WEBPACK_AMD_DEFINE_RESULT__||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)},1054(e,t,n){var r,o;n.dj.r;r=[n(1925),n(6356),n(7361),n.dj.c(e),n.dj.m(e)],o=function(e,t,n,r,o){var i,s,a,l={},c={},d={config:n,global:e,dijit:l,dojox:c},u={dojo:["dojo",d],dijit:["dijit",l],dojox:["dojox",c]},h=r.map&&r.map[o.id.match(/[^\\/]+/)[0]];for(s in h)u[s]?u[s][0]=h[s]:u[s]=[h[s],{}];for(s in u)(a=u[s])[1]._scopeName=a[0],n.noGlobals||(e[a[0]]=a[1]);d.scopeMap=u,d.baseUrl=d.config.baseUrl=r.baseUrl,d.isAsync=!0,d.locale=n.locale;var f="$Rev:$".match(/[0-9a-f]{7,}/);if(d.version={major:1,minor:17,patch:3,flag:"",revision:f?f[0]:NaN,toString:function(){var e=d.version;return e.major+"."+e.minor+"."+e.patch+e.flag+" ("+e.revision+")"}},t.add("extend-dojo",1),t("csp-restrictions")||Function("d","d.eval = function(){return d.global.eval ? d.global.eval(arguments[0]) : eval(arguments[0]);}")(d),t("host-rhino")?d.exit=function(e){quit(e)}:d.exit=function(){},t("host-webworker")||t.add("dojo-guarantee-console",1),t("dojo-guarantee-console")){t.add("console-as-object",function(){return Function.prototype.bind&&console&&"object"==typeof console.log}),"undefined"!=typeof console||(console={});var p,v=["assert","count","debug","dir","dirxml","error","group","groupEnd","info","profile","profileEnd","time","timeEnd","trace","warn","log"];for(i=0;p=v[i++];)console[p]?t("console-as-object")&&(console[p]=Function.prototype.bind.call(console[p],console)):function(){var e=p+"";console[e]="log"in console?function(){var t=Array.prototype.slice.call(arguments);t.unshift(e+":"),console.log(t.join(" "))}:function(){},console[e]._fake=!0}()}if(t.add("dojo-debug-messages",!!n.isDebug),d.deprecated=d.experimental=function(){},t.add("dojo-modulePaths",1),t("dojo-modulePaths")&&n.modulePaths){d.deprecated("dojo.modulePaths","use paths configuration");var g={};for(s in n.modulePaths)g[s.replace(/\\./g,"/")]=n.modulePaths[s];r({paths:g})}return t.add("dojo-moduleUrl",1),t("dojo-moduleUrl")&&(d.moduleUrl=function(e,t){d.deprecated("dojo.moduleUrl()","use require.toUrl","2.0");var n=null;return e&&(n=r.toUrl(e.replace(/\\./g,"/")+(t?"/"+t:"")+"/*.*").replace(/\\/\\*\\.\\*/,"")+(t?"":"/")),n}),d._hasResource={},d}.apply(null,r),void 0===o||(e.exports=o)},6323(e,t,n){var r,o;n.dj.r;r=[n(1054),n(6356),n(2616)],o=function(e,t){t.add("bug-for-in-skips-shadowed",function(){for(var e in{toString:1})return 0;return 1});var n=[],r=function(t,n,r){r||(r=t[0]&&e.scopeMap[t[0]]?e.scopeMap[t.shift()][1]:e.global);try{for(var o=0;o<t.length;o++){var i=t[o];if("__proto__"===i||"constructor"===i)return;if(!(i in r)){if(!n)return;r[i]={}}r=r[i]}return r}catch(e){}},o=Object.prototype.toString,i=function(e,t,n){return(n||[]).concat(Array.prototype.slice.call(e,t||0))},s=/\\{([^\\}]+)\\}/g,a={_extraNames:n,_mixin:function(e,t,n){var r,o,i={};for(r in t)o=t[r],r in e&&(e[r]===o||r in i&&i[r]===o)||(e[r]=n?n(o):o);return e},mixin:function(e,t){e||(e={});for(var n=1,r=arguments.length;n<r;n++)a._mixin(e,arguments[n]);return e},setObject:function(e,t,n){var o=e.split("."),i=o.pop(),s=r(o,!0,n);return s&&i?s[i]=t:void 0},getObject:function(e,t,n){return e?r(e.split("."),t,n):n},exists:function(e,t){return void 0!==a.getObject(e,!1,t)},isString:function(e){return"string"==typeof e||e instanceof String},isArray:Array.isArray||function(e){return"[object Array]"==o.call(e)},isFunction:function(e){return"[object Function]"===o.call(e)},isObject:function(e){return void 0!==e&&(null===e||"object"==typeof e||a.isArray(e)||a.isFunction(e))},isArrayLike:function(e){return!!e&&!a.isString(e)&&!a.isFunction(e)&&!(e.tagName&&"form"==e.tagName.toLowerCase())&&(a.isArray(e)||isFinite(e.length))},isAlien:function(e){return e&&!a.isFunction(e)&&/\\{\\s*\\[native code\\]\\s*\\}/.test(String(e))},extend:function(e,t){for(var n=1,r=arguments.length;n<r;n++)a._mixin(e.prototype,arguments[n]);return e},_hitchArgs:function(t,n){var r=a._toArray(arguments,2),o=a.isString(n);return function(){var i=a._toArray(arguments),s=o?(t||e.global)[n]:n;return s&&s.apply(t||this,r.concat(i))}},hitch:function(t,n){if(arguments.length>2)return a._hitchArgs.apply(e,arguments);if(n||(n=t,t=null),a.isString(n)){if(!(t=t||e.global)[n])throw[\'lang.hitch: scope["\',n,\'"] is null (scope="\',t,\'")\'].join("");return function(){return t[n].apply(t,arguments||[])}}return t?function(){return n.apply(t,arguments||[])}:n},delegate:function(){function e(){}return function(t,n){e.prototype=t;var r=new e;return e.prototype=null,n&&a._mixin(r,n),r}}(),_toArray:t("ie")?function(){function e(e,t,n){for(var r=n||[],o=t||0;o<e.length;o++)r.push(e[o]);return r}return function(t){return(t.item?e:i).apply(this,arguments)}}():i,partial:function(t){return a.hitch.apply(e,[null].concat(a._toArray(arguments)))},clone:function(e){if(!e||"object"!=typeof e||a.isFunction(e))return e;if(e.nodeType&&"cloneNode"in e)return e.cloneNode(!0);if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp)return new RegExp(e);var t,n,r;if(a.isArray(e))for(t=[],n=0,r=e.length;n<r;++n)n in e&&(t[n]=a.clone(e[n]));else t=e.constructor?new e.constructor:{};return a._mixin(t,e,a.clone)},trim:String.prototype.trim?function(e){return e.trim()}:function(e){return e.replace(/^\\s\\s*/,"").replace(/\\s\\s*$/,"")},replace:function(e,t,n){return e.replace(n||s,a.isFunction(t)?t:function(e,n){return a.getObject(n,!1,t)})}};return t("extend-dojo")&&a.mixin(e,a),a}.apply(null,r),void 0===o||(e.exports=o)},4203(e,t,n){var r,o;n.dj.r;r=[n(1172),n(6659)],void 0===(o=function(e){return e}.apply(null,r))||(e.exports=o)},3927(e,t,n){var r,o;n.dj.r;r=[n(1054),n(6323),n(2616)],void 0===(o=function(e,t,n){return n("host-browser")?(e._name="browser",t.mixin(e,{isBrowser:!0,isFF:n("ff"),isIE:n("ie"),isKhtml:n("khtml"),isWebKit:n("webkit"),isMozilla:n("mozilla"),isMoz:n("mozilla"),isOpera:n("opera"),isSafari:n("safari"),isChrome:n("chrome"),isMac:n("mac"),isIos:n("ios"),isAndroid:n("android"),isWii:n("wii"),isQuirks:n("quirks"),isAir:n("air")}),n):n}.apply(null,r))||(e.exports=o)},5075(e,t,n){var r,o;n.dj.r;r=[n(1054),n(6323),n(2616)],void 0===(o=function(e,t,n){var r={global:e.global,doc:e.global.document||null,body:function(t){return(t=t||e.doc).body||t.getElementsByTagName("body")[0]},setContext:function(t,n){e.global=r.global=t,e.doc=r.doc=n},withGlobal:function(t,n,o,i){var s=e.global;try{return e.global=r.global=t,r.withDoc.call(null,t.document,n,o,i)}finally{e.global=r.global=s}},withDoc:function(t,o,i,s){var a,l,c,d=r.doc,u=n("quirks"),h=n("ie");try{return e.doc=r.doc=t,e.isQuirks=n.add("quirks","BackCompat"==e.doc.compatMode,!0,!0),n("ie")&&(c=t.parentWindow)&&c.navigator&&(a=parseFloat(c.navigator.appVersion.split("MSIE ")[1])||void 0,(l=t.documentMode)&&5!=l&&Math.floor(a)!=l&&(a=l),e.isIE=n.add("ie",a,!0,!0)),i&&"string"==typeof o&&(o=i[o]),o.apply(i,s||[])}finally{e.doc=r.doc=d,e.isQuirks=n.add("quirks",u,!0,!0),e.isIE=n.add("ie",h,!0,!0)}}};return n("extend-dojo")&&t.mixin(e,r),r}.apply(null,r))||(e.exports=o)},225(e,t,n){var r,o;n.dj.r;r=[n(1054),n(3927),n.dj.c(e),n(6587),n(2284),n(3159),n(280),n(7361),n(4861),n(6323),n(6974),n(2075),n(6566),n(3621),n(9648),n(5540)],o=function(e,t,n,r,o,i,s,a,l,c,d,u,h,f,p,v){e._xhrObj=p._create;var g=e.config;e.objectToQuery=r.objectToQuery,e.queryToObject=r.queryToObject,e.fieldToObject=i.fieldToObject,e.formToObject=i.toObject,e.formToQuery=i.toQuery,e.formToJson=i.toJson,e._blockAsync=!1;var m=e._contentHandlers=e.contentHandlers={text:function(e){return e.responseText},json:function(e){return l.fromJson(e.responseText||null)},"json-comment-filtered":function(e){a.useCommentedJson||console.warn("Consider using the standard mimetype:application/json. json-commenting can introduce security issues. To decrease the chances of hijacking, use the standard the \'json\' handler and prefix your json with: {}&&\\nUse djConfig.useCommentedJson=true to turn off this message.");var t=e.responseText,n=t.indexOf("/*"),r=t.lastIndexOf("*/");if(-1==n||-1==r)throw new Error("JSON was not comment filtered");return l.fromJson(t.substring(n+2,r))},javascript:function(t){return e.eval(t.responseText)},xml:function(e){var n=e.responseXML;if(n&&t("dom-qsa2.1")&&!n.querySelectorAll&&t("dom-parser")&&(n=(new DOMParser).parseFromString(e.responseText,"application/xml")),t("ie")&&(!n||!n.documentElement)){var r=function(e){return"MSXML"+e+".DOMDocument"},o=["Microsoft.XMLDOM",r(6),r(4),r(3),r(2)];d.some(o,function(t){try{var r=new ActiveXObject(t);r.async=!1,r.loadXML(e.responseText),n=r}catch(e){return!1}return!0})}return n},"json-comment-optional":function(e){return e.responseText&&/^[^{\\[]*\\/\\*/.test(e.responseText)?m["json-comment-filtered"](e):m.json(e)}};e._ioSetArgs=function(t,n,a,l){var d={args:t,url:t.url},u=null;if(t.form){var h=o.byId(t.form),f=h.getAttributeNode("action");d.url=d.url||(f?f.value:e.doc?e.doc.URL:null),u=i.toObject(h)}var p={};u&&c.mixin(p,u),t.content&&c.mixin(p,t.content),t.preventCache&&(p["dojo.preventCache"]=(new Date).valueOf()),d.query=r.objectToQuery(p),d.handleAs=t.handleAs||"text";var v=new s(function(e){e.canceled=!0,n&&n(e);var t=e.ioArgs.error;return t||((t=new Error("request cancelled")).dojoType="cancel",e.ioArgs.error=t),t});v.addCallback(a);var m=t.load;m&&c.isFunction(m)&&v.addCallback(function(e){return m.call(t,e,d)});var y=t.error;y&&c.isFunction(y)&&v.addErrback(function(e){return y.call(t,e,d)});var _=t.handle;return _&&c.isFunction(_)&&v.addBoth(function(e){return _.call(t,e,d)}),v.addErrback(function(e){return l(e,v)}),g.ioPublish&&e.publish&&!1!==d.args.ioPublish&&(v.addCallbacks(function(t){return e.publish("/dojo/io/load",[v,t]),t},function(t){return e.publish("/dojo/io/error",[v,t]),t}),v.addBoth(function(t){return e.publish("/dojo/io/done",[v,t]),t})),v.ioArgs=d,v};var y=function(e){var t=m[e.ioArgs.handleAs](e.ioArgs.xhr);return void 0===t?null:t},_=function(e,t){return t.ioArgs.args.failOk||console.error(e),e},b=function(t){w<=0&&(w=0,g.ioPublish&&e.publish&&(!t||t&&!1!==t.ioArgs.args.ioPublish)&&e.publish("/dojo/io/stop"))},w=0;h.after(f,"_onAction",function(){w-=1}),h.after(f,"_onInFlight",b),e._ioCancelAll=f.cancelAll,e._ioNotifyStart=function(t){g.ioPublish&&e.publish&&!1!==t.ioArgs.args.ioPublish&&(w||e.publish("/dojo/io/start"),w+=1,e.publish("/dojo/io/send",[t]))},e._ioWatch=function(e,t,n,r){e.ioArgs.options=e.ioArgs.args;c.mixin(e,{response:e.ioArgs,isValid:function(n){return t(e)},isReady:function(t){return n(e)},handleResponse:function(t){return r(e)}}),f(e),b(e)};return e._ioAddQueryToUrl=function(e){e.query.length&&(e.url+=(-1==e.url.indexOf("?")?"?":"&")+e.query,e.query=null)},e.xhr=function(t,n,r){var o,i=e._ioSetArgs(n,function(e){o&&o.cancel()},y,_),s=i.ioArgs;"postData"in n?s.query=n.postData:"putData"in n?s.query=n.putData:"rawBody"in n?s.query=n.rawBody:(arguments.length>2&&!r||-1==="POST|PUT".indexOf(t.toUpperCase()))&&e._ioAddQueryToUrl(s);var a={method:t,handleAs:"text",timeout:n.timeout,withCredentials:n.withCredentials,ioArgs:s};void 0!==n.headers&&(a.headers=n.headers),void 0!==n.contentType&&(a.headers||(a.headers={}),a.headers["Content-Type"]=n.contentType),void 0!==s.query&&(a.data=s.query),void 0!==n.sync&&(a.sync=n.sync),e._ioNotifyStart(i);try{o=p(s.url,a,!0)}catch(e){return i.cancel(),i}return i.ioArgs.xhr=o.response.xhr,o.then(function(){i.resolve(i)}).otherwise(function(e){s.error=e,e.response&&(e.status=e.response.status,e.responseText=e.response.text,e.xhr=e.response.xhr),i.reject(e)}),i},e.xhrGet=function(t){return e.xhr("GET",t)},e.rawXhrPost=e.xhrPost=function(t){return e.xhr("POST",t,!0)},e.rawXhrPut=e.xhrPut=function(t){return e.xhr("PUT",t,!0)},e.xhrDelete=function(t){return e.xhr("DELETE",t)},e._isDocumentOk=function(e){return v.checkStatus(e.status)},e._getText=function(t){var n;return e.xhrGet({url:t,sync:!0,load:function(e){n=e}}),n},c.mixin(e.xhr,{_xhrObj:e._xhrObj,fieldToObject:i.fieldToObject,formToObject:i.toObject,objectToQuery:r.objectToQuery,formToQuery:i.toQuery,formToJson:i.toJson,queryToObject:r.queryToObject,contentHandlers:m,_ioSetArgs:e._ioSetArgs,_ioCancelAll:e._ioCancelAll,_ioNotifyStart:e._ioNotifyStart,_ioWatch:e._ioWatch,_ioAddQueryToUrl:e._ioAddQueryToUrl,_isDocumentOk:e._isDocumentOk,_getText:e._getText,get:e.xhrGet,post:e.xhrPost,put:e.xhrPut,del:e.xhrDelete}),e.xhr}.apply(null,r),void 0===o||(e.exports=o)},6566(e,t,n){var r;n.dj.r;r=function(){"use strict";function e(e){return function(t,n,r,o){var i,s=t[n];s&&s.target==t||(t[n]=i=function(){for(var e=i.nextId,t=arguments,n=i.before;n;)n.advice&&(t=n.advice.apply(this,t)||t),n=n.next;if(i.around)var r=i.around.advice(this,t);for(var o=i.after;o&&o.id<e;){if(o.advice)if(o.receiveArguments){var s=o.advice.apply(this,t);r=void 0===s?r:s}else r=o.advice.call(this,r,t);o=o.next}return r},s&&(i.around={advice:function(e,t){return s.apply(e,t)}}),i.target=t,i.nextId=i.nextId||0);var a=function(e,t,n,r){var o,i=e[t],s="around"==t;if(s){var a=n(function(){return i.advice(this,arguments)});o={remove:function(){a&&(a=e=n=null)},advice:function(e,t){return a?a.apply(e,t):i.advice(e,t)}}}else o={remove:function(){if(o.advice){var r=o.previous,i=o.next;i||r?(r?r.next=i:e[t]=i,i&&(i.previous=r)):delete e[t],e=n=o.advice=null}},id:e.nextId++,advice:n,receiveArguments:r};if(i&&!s)if("after"==t){for(;i.next&&(i=i.next););i.next=o,o.previous=i}else"before"==t&&(e[t]=o,o.next=i,i.previous=o);else e[t]=o;return o}(i||s,e,r,o);return r=null,a}}var t=e("after");return{before:e("before"),around:e("around"),after:t}}.apply(null,[]),void 0===r||(e.exports=r)},4642(e,t,n){var r,o;n.dj.r;r=[n(1054),n(9445)],void 0===(o=function(e){return e.cache}.apply(null,r))||(e.exports=o)},7878(e,t,n){var r,o;n.dj.r;r=[t,n(2616),n(6323),n(2284),n(1248),n(5244)],o=function(e,t,n,r,o,i){var s={innerHTML:1,textContent:1,className:1,htmlFor:t("ie")?1:0,value:1},a={classname:"class",htmlfor:"for",tabindex:"tabIndex",readonly:"readOnly"};function l(e,t){var n=e.getAttributeNode&&e.getAttributeNode(t);return!!n&&n.specified}e.has=function(e,t){var n=t.toLowerCase();return!!s[i.names[n]||t]||l(r.byId(e),a[n]||t)},e.get=function(e,t){e=r.byId(e);var o=t.toLowerCase(),c=i.names[o]||t,d=s[c],u=e[c];if(d&&void 0!==u)return u;if("textContent"==c)return i.get(e,c);if("href"!=c&&("boolean"==typeof u||n.isFunction(u)))return u;var h=a[o]||t;return l(e,h)?e.getAttribute(h):null},e.set=function(t,l,c){if(t=r.byId(t),2==arguments.length){for(var d in l)e.set(t,d,l[d]);return t}var u=l.toLowerCase(),h=i.names[u]||l,f=s[h];return"style"==h&&"string"!=typeof c?(o.set(t,c),t):f||"boolean"==typeof c||n.isFunction(c)?i.set(t,l,c):(t.setAttribute(a[u]||l,c),t)},e.remove=function(e,t){r.byId(e).removeAttribute(a[t.toLowerCase()]||t)},e.getNodeProp=function(e,t){e=r.byId(e);var n=t.toLowerCase(),o=i.names[n]||t;if(o in e&&"href"!=o)return e[o];var s=a[n]||t;return l(e,s)?e.getAttribute(s):null}}.apply(null,r),void 0===o||(e.exports=o)},8945(e,t,n){var r,o;n.dj.r;r=[n(6323),n(6974),n(2284)],void 0===(o=function(e,t,n){var r,o="className",i=/\\s+/,s=[""];function a(e){if("string"==typeof e||e instanceof String){if(e&&!i.test(e))return s[0]=e,s;var n=e.split(i);return n.length&&!n[0]&&n.shift(),n.length&&!n[n.length-1]&&n.pop(),n}return e?t.filter(e,function(e){return e}):[]}var l={};return r={contains:function(e,t){return(" "+n.byId(e)[o]+" ").indexOf(" "+t+" ")>=0},add:function(e,t){e=n.byId(e),t=a(t);var r,i=e[o];r=(i=i?" "+i+" ":" ").length;for(var s,l=0,c=t.length;l<c;++l)(s=t[l])&&i.indexOf(" "+s+" ")<0&&(i+=s+" ");r<i.length&&(e[o]=i.substr(1,i.length-2))},remove:function(t,r){var i;if(t=n.byId(t),void 0!==r){r=a(r),i=" "+t[o]+" ";for(var s=0,l=r.length;s<l;++s)i=i.replace(" "+r[s]+" "," ");i=e.trim(i)}else i="";t[o]!=i&&(t[o]=i)},replace:function(e,t,i){e=n.byId(e),l[o]=e[o],r.remove(l,i),r.add(l,t),e[o]!==l[o]&&(e[o]=l[o])},toggle:function(e,t,o){if(e=n.byId(e),void 0===o)for(var i,s=0,l=(t=a(t)).length;s<l;++s)i=t[s],r[r.contains(e,i)?"remove":"add"](e,i);else r[o?"add":"remove"](e,t);return o}}}.apply(null,r))||(e.exports=o)},28(e,t,n){var r,o;n.dj.r;r=[t,n(1054),n(2616),n(5075),n(2284),n(7878)],o=function(e,t,n,r,o,i){var s,a={option:["select"],tbody:["table"],thead:["table"],tfoot:["table"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","thead","tr"],legend:["fieldset"],caption:["table"],colgroup:["table"],col:["table","colgroup"],li:["ul"]},l=/<\\s*([\\w\\:]+)/,c={},d=0,u="__"+t._scopeName+"ToDomId";for(var h in a)if(a.hasOwnProperty(h)){var f=a[h];f.pre="option"==h?\'<select multiple="multiple">\':"<"+f.join("><")+">",f.post="</"+f.reverse().join("></")+">"}function p(e,t){var n=t.parentNode;n&&n.insertBefore(e,t)}n("ie")<=8&&(s=function(e){e.__dojo_html5_tested="yes";var t=v("div",{innerHTML:"<nav>a</nav>",style:{visibility:"hidden"}},e.body);1!==t.childNodes.length&&"abbr article aside audio canvas details figcaption figure footer header hgroup mark meter nav output progress section summary time video".replace(/\\b\\w+\\b/g,function(t){e.createElement(t)}),m(t)}),e.toDom=function(e,t){var o=(t=t||r.doc)[u];o||(t[u]=o=++d+"",c[o]=t.createElement("div")),n("ie")<=8&&!t.__dojo_html5_tested&&t.body&&s(t);var i,h,f,p,v=(e+="").match(l),g=v?v[1].toLowerCase():"",m=c[o];if(v&&a[g])for(i=a[g],m.innerHTML=i.pre+e+i.post,h=i.length;h;--h)m=m.firstChild;else m.innerHTML=e;if(1==m.childNodes.length)return m.removeChild(m.firstChild);for(p=t.createDocumentFragment();f=m.firstChild;)p.appendChild(f);return p},e.place=function(t,n,r){if(n=o.byId(n),"string"==typeof t&&(t=/^\\s*</.test(t)?e.toDom(t,n.ownerDocument):o.byId(t)),"number"==typeof r){var i=n.childNodes;!i.length||i.length<=r?n.appendChild(t):p(t,i[r<0?0:r])}else switch(r){case"before":p(t,n);break;case"after":!function(e,t){var n=t.parentNode;n&&(n.lastChild==t?n.appendChild(e):n.insertBefore(e,t.nextSibling))}(t,n);break;case"replace":n.parentNode.replaceChild(t,n);break;case"only":e.empty(n),n.appendChild(t);break;case"first":if(n.firstChild){p(t,n.firstChild);break}default:n.appendChild(t)}return t};var v=e.create=function(t,n,s,a){var l=r.doc;return s&&(l=(s=o.byId(s)).ownerDocument),"string"==typeof t&&(t=l.createElement(t)),n&&i.set(t,n),s&&e.place(t,s,a),t};function g(e){if("innerHTML"in e)try{return void(e.innerHTML="")}catch(e){}for(var t;t=e.lastChild;)e.removeChild(t)}e.empty=function(e){g(o.byId(e))};var m=e.destroy=function(e){(e=o.byId(e))&&function(e,t){e.firstChild&&g(e),t&&(n("ie")&&t.canHaveChildren&&"removeNode"in e?e.removeNode(!1):t.removeChild(e))}(e,e.parentNode)}}.apply(null,r),void 0===o||(e.exports=o)},3159(e,t,n){var r,o;n.dj.r;r=[n(6323),n(2284),n(6587),n(8212)],void 0===(o=function(e,t,n,r){function o(t,n,r){if(null!==r){var o=t[n];"string"==typeof o?t[n]=[o,r]:e.isArray(o)?o.push(r):t[n]=r}}var i={fieldToObject:function(e){var n=null;if(e=t.byId(e)){var r=e.name,o=(e.type||"").toLowerCase();if(r&&o&&!e.disabled)if("radio"==o||"checkbox"==o)e.checked&&(n=e.value);else if(e.multiple){n=[];for(var i=[e.firstChild];i.length;)for(var s=i.pop();s;s=s.nextSibling){if(1!=s.nodeType||"option"!=s.tagName.toLowerCase()){s.nextSibling&&i.push(s.nextSibling),s.firstChild&&i.push(s.firstChild);break}s.selected&&n.push(s.value)}}else n=e.value}return n},toObject:function(e){for(var n={},r=t.byId(e).elements,s=0,a=r.length;s<a;++s){var l=r[s],c=l.name,d=(l.type||"").toLowerCase();c&&d&&"file|submit|image|reset|button".indexOf(d)<0&&!l.disabled&&(o(n,c,i.fieldToObject(l)),"image"==d&&(n[c+".x"]=n[c+".y"]=n[c].x=n[c].y=0))}return n},toQuery:function(e){return n.objectToQuery(i.toObject(e))},toJson:function(e,t){return r.stringify(i.toObject(e),null,t?4:0)}};return i}.apply(null,r))||(e.exports=o)},2685(e,t,n){var r,o;n.dj.r;r=[n(2616),n(5075),n(2284),n(1248)],void 0===(o=function(e,t,n,r){var o={boxModel:"content-box"};e("ie")&&(o.boxModel="BackCompat"==document.compatMode?"border-box":"content-box"),o.getPadExtents=function(e,t){e=n.byId(e);var o=t||r.getComputedStyle(e),i=r.toPixelValue,s=i(e,o.paddingLeft),a=i(e,o.paddingTop),l=i(e,o.paddingRight),c=i(e,o.paddingBottom);return{l:s,t:a,r:l,b:c,w:s+l,h:a+c}};var i="none";function s(e,t,n,r,o,i){i=i||"px";var s=e.style;isNaN(t)||(s.left=t+i),isNaN(n)||(s.top=n+i),r>=0&&(s.width=r+i),o>=0&&(s.height=o+i)}function a(e){return"button"==e.tagName.toLowerCase()||"input"==e.tagName.toLowerCase()&&"button"==(e.getAttribute("type")||"").toLowerCase()}function l(e){return"border-box"==o.boxModel||"table"==e.tagName.toLowerCase()||a(e)}function c(e){var t,n={x:0,y:0,width:0,height:0,top:0,right:0,bottom:0,left:0};try{t=e.getBoundingClientRect()}catch(e){return n}return void 0===t.left?n:t}o.getBorderExtents=function(e,t){e=n.byId(e);var o=r.toPixelValue,s=t||r.getComputedStyle(e),a=s.borderLeftStyle!=i?o(e,s.borderLeftWidth):0,l=s.borderTopStyle!=i?o(e,s.borderTopWidth):0,c=s.borderRightStyle!=i?o(e,s.borderRightWidth):0,d=s.borderBottomStyle!=i?o(e,s.borderBottomWidth):0;return{l:a,t:l,r:c,b:d,w:a+c,h:l+d}},o.getPadBorderExtents=function(e,t){e=n.byId(e);var i=t||r.getComputedStyle(e),s=o.getPadExtents(e,i),a=o.getBorderExtents(e,i);return{l:s.l+a.l,t:s.t+a.t,r:s.r+a.r,b:s.b+a.b,w:s.w+a.w,h:s.h+a.h}},o.getMarginExtents=function(e,t){e=n.byId(e);var o=t||r.getComputedStyle(e),i=r.toPixelValue,s=i(e,o.marginLeft),a=i(e,o.marginTop),l=i(e,o.marginRight),c=i(e,o.marginBottom);return{l:s,t:a,r:l,b:c,w:s+l,h:a+c}},o.getMarginBox=function(t,s){t=n.byId(t);var a,l=s||r.getComputedStyle(t),c=o.getMarginExtents(t,l),d=t.offsetLeft-c.l,u=t.offsetTop-c.t,h=t.parentNode,f=r.toPixelValue;return 8!=e("ie")||e("quirks")||h&&(d-=(a=r.getComputedStyle(h)).borderLeftStyle!=i?f(t,a.borderLeftWidth):0,u-=a.borderTopStyle!=i?f(t,a.borderTopWidth):0),{l:d,t:u,w:t.offsetWidth+c.w,h:t.offsetHeight+c.h}},o.getContentBox=function(t,s){t=n.byId(t);var a,l=s||r.getComputedStyle(t),c=t.clientWidth,d=o.getPadExtents(t,l),u=o.getBorderExtents(t,l),h=t.offsetLeft+d.l+u.l,f=t.offsetTop+d.t+u.t;if(c?a=t.clientHeight:(c=t.offsetWidth-u.w,a=t.offsetHeight-u.h),8==e("ie")&&!e("quirks")){var p,v=t.parentNode,g=r.toPixelValue;v&&(h-=(p=r.getComputedStyle(v)).borderLeftStyle!=i?g(t,p.borderLeftWidth):0,f-=p.borderTopStyle!=i?g(t,p.borderTopWidth):0)}return{l:h,t:f,w:c-d.w,h:a-d.h}},o.setContentSize=function(e,t,r){e=n.byId(e);var i=t.w,a=t.h;if(l(e)){var c=o.getPadBorderExtents(e,r);i>=0&&(i+=c.w),a>=0&&(a+=c.h)}s(e,NaN,NaN,i,a)};var d={l:0,t:0,w:0,h:0};return o.setMarginBox=function(t,i,c){t=n.byId(t);var u=c||r.getComputedStyle(t),h=i.w,f=i.h,p=l(t)?d:o.getPadBorderExtents(t,u),v=o.getMarginExtents(t,u);if(e("webkit")&&a(t)){var g=t.style;h>=0&&!g.width&&(g.width="4px"),f>=0&&!g.height&&(g.height="4px")}h>=0&&(h=Math.max(h-p.w-v.w,0)),f>=0&&(f=Math.max(f-p.h-v.h,0)),s(t,i.l,i.t,h,f)},o.isBodyLtr=function(e){return e=e||t.doc,"ltr"==(t.body(e).dir||e.documentElement.dir||"ltr").toLowerCase()},o.docScroll=function(n){var r=(n=n||t.doc).parentWindow||n.defaultView;return"pageXOffset"in r?{x:r.pageXOffset,y:r.pageYOffset}:(r=e("quirks")?t.body(n):n.documentElement)&&{x:o.fixIeBiDiScrollLeft(r.scrollLeft||0,n),y:r.scrollTop||0}},o.getIeDocumentElementOffset=function(e){return{x:0,y:0}},o.fixIeBiDiScrollLeft=function(n,r){r=r||t.doc;var i=e("ie");if(i&&!o.isBodyLtr(r)){var s=e("quirks"),a=s?t.body(r):r.documentElement,l=t.global;return 6==i&&!s&&l.frameElement&&a.scrollHeight>a.clientHeight&&(n+=a.clientLeft),i<8||s?n+a.clientWidth-a.scrollWidth:-n}return n},o.position=function(r,i){r=n.byId(r);var s=t.body(r.ownerDocument),a=c(r);if(a={x:a.left,y:a.top,w:a.right-a.left,h:a.bottom-a.top},e("ie")<9&&(a.x-=e("quirks")?s.clientLeft+s.offsetLeft:0,a.y-=e("quirks")?s.clientTop+s.offsetTop:0),i){var l=o.docScroll(r.ownerDocument);a.x+=l.x,a.y+=l.y}return a},o.getMarginSize=function(e,t){e=n.byId(e);var i=o.getMarginExtents(e,t||r.getComputedStyle(e)),s=c(e);return{w:s.right-s.left+i.w,h:s.bottom-s.top+i.h}},o.normalizeEvent=function(t){if("layerX"in t||(t.layerX=t.offsetX,t.layerY=t.offsetY),!("pageX"in t)){var n=t.target,r=n&&n.ownerDocument||document,i=e("quirks")?r.body:r.documentElement;t.pageX=t.clientX+o.fixIeBiDiScrollLeft(i.scrollLeft||0,r),t.pageY=t.clientY+(i.scrollTop||0)}},o}.apply(null,r))||(e.exports=o)},5244(e,t,n){var r,o;n.dj.r;r=[t,n(1054),n(2616),n(6323),n(2284),n(1248),n(28),n(5641)],o=function(e,t,n,r,o,i,s,a){var l={},c=1,d=t._scopeName+"attrid";function u(e){for(var t,n="",r=e.childNodes,o=0;t=r[o];o++)8!=t.nodeType&&(1==t.nodeType?n+=u(t):n+=t.nodeValue);return n}n.add("dom-textContent",function(e,t,n){return"textContent"in n}),e.names={class:"className",for:"htmlFor",tabindex:"tabIndex",readonly:"readOnly",colspan:"colSpan",frameborder:"frameBorder",rowspan:"rowSpan",textcontent:"textContent",valuetype:"valueType"},e.get=function(t,r){t=o.byId(t);var i=r.toLowerCase(),s=e.names[i]||r;return"textContent"!=s||n("dom-textContent")?t[s]:u(t)},e.set=function(t,u,h){if(t=o.byId(t),2==arguments.length&&"string"!=typeof u){for(var f in u)e.set(t,f,u[f]);return t}var p=u.toLowerCase(),v=e.names[p]||u;if("style"==v&&"string"!=typeof h)return i.set(t,h),t;if("innerHTML"==v)return n("ie")&&t.tagName.toLowerCase()in{col:1,colgroup:1,table:1,tbody:1,tfoot:1,thead:1,tr:1,title:1}?(s.empty(t),t.appendChild(s.toDom(h,t.ownerDocument))):t[v]=h,t;if("textContent"==v&&!n("dom-textContent"))return s.empty(t),t.appendChild(t.ownerDocument.createTextNode(h)),t;if(r.isFunction(h)){var g=t[d];g||(g=c++,t[d]=g),l[g]||(l[g]={});var m=l[g][v];if(m)a.disconnect(m);else try{delete t[v]}catch(e){}return h?l[g][v]=a.connect(t,v,h):t[v]=null,t}return t[v]=h,t}}.apply(null,r),void 0===o||(e.exports=o)},1248(e,t,n){var r,o;n.dj.r;r=[n(2616),n(2284),n(5075)],o=function(e,t,n){var r,o,i={};r=e("webkit")?function(e){var t;if(1==e.nodeType){var n=e.ownerDocument.defaultView;!(t=n.getComputedStyle(e,null))&&e.style&&(e.style.display="",t=n.getComputedStyle(e,null))}return t||{}}:e("ie")&&(e("ie")<9||e("quirks"))?function(e){return 1==e.nodeType&&e.currentStyle?e.currentStyle:{}}:function(e){if(1===e.nodeType){var t=e.ownerDocument.defaultView;return(t.opener?t:n.global.window).getComputedStyle(e,null)}return{}},i.getComputedStyle=r,o=e("ie")?function(e,t){if(!t)return 0;if("medium"==t)return 4;if(t.slice&&"px"==t.slice(-2))return parseFloat(t);var n=e.style,r=e.runtimeStyle,o=e.currentStyle,i=n.left,s=r.left;r.left=o.left;try{n.left=t,t=n.pixelLeft}catch(e){t=0}return n.left=i,r.left=s,t}:function(e,t){return parseFloat(t)||0},i.toPixelValue=o;var s="DXImageTransform.Microsoft.Alpha",a=function(e,t){try{return e.filters.item(s)}catch(e){return t?{}:null}},l=e("ie")<9||e("ie")<10&&e("quirks")?function(e){try{return a(e).Opacity/100}catch(e){return 1}}:function(e){return r(e).opacity},c=e("ie")<9||e("ie")<10&&e("quirks")?function(e,t){""===t&&(t=1);var n=100*t;if(1===t?(e.style.zoom="",a(e)&&(e.style.filter=e.style.filter.replace(new RegExp("\\\\s*progid:"+s+"\\\\([^\\\\)]+?\\\\)","i"),""))):(e.style.zoom=1,a(e)?a(e,1).Opacity=n:e.style.filter+=" progid:"+s+"(Opacity="+n+")",a(e,1).Enabled=!0),"tr"==e.tagName.toLowerCase())for(var r=e.firstChild;r;r=r.nextSibling)"td"==r.tagName.toLowerCase()&&c(r,t);return t}:function(e,t){return e.style.opacity=t},d={left:!0,top:!0},u=/margin|padding|width|height|max|min|offset/;var h={cssFloat:1,styleFloat:1,float:1};return i.get=function(e,n){var r=t.byId(e),s=arguments.length;if(2==s&&"opacity"==n)return l(r);n=h[n]?"cssFloat"in r.style?"cssFloat":"styleFloat":n;var a=i.getComputedStyle(r);return 1==s?a:function(e,t,n){if(t=t.toLowerCase(),"auto"==n){if("height"==t)return e.offsetHeight;if("width"==t)return e.offsetWidth}return"fontweight"==t?700===n?"bold":"normal":(t in d||(d[t]=u.test(t)),d[t]?o(e,n):n)}(r,n,a[n]||r.style[n])},i.set=function(e,n,r){var o=t.byId(e),s=arguments.length,a="opacity"==n;if(n=h[n]?"cssFloat"in o.style?"cssFloat":"styleFloat":n,3==s)return a?c(o,r):o.style[n]=r;for(var l in n)i.set(e,l,n[l]);return i.getComputedStyle(o)},i}.apply(null,r),void 0===o||(e.exports=o)},2284(e,t,n){var r,o;n.dj.r;r=[n(2616),n(5075),n(1054)],void 0===(o=function(e,t,n){if(e("ie")<=7)try{document.execCommand("BackgroundImageCache",!1,!0)}catch(e){}var r={};e("ie")?r.byId=function(e,n){if("string"!=typeof e)return e||null;var r=n||t.doc,o=e&&r.getElementById(e);if(o&&(o.attributes.id.value==e||o.id==e))return o;var i=r.all[e];i&&!i.nodeName||(i=[i]);for(var s=0;o=i[s++];)if(o.attributes&&o.attributes.id&&o.attributes.id.value==e||o.id==e)return o;return null}:r.byId=function(e,n){return("string"==typeof e?(n||t.doc).getElementById(e):e)||null};var o=n.global.document||null;e.add("dom-contains",!(!o||!o.contains)),r.isDescendant=e("dom-contains")?function(e,t){return!(!(t=r.byId(t))||!t.contains(r.byId(e)))}:function(e,t){try{for(e=r.byId(e),t=r.byId(t);e;){if(e==t)return!0;e=e.parentNode}}catch(e){}return!1},e.add("css-user-select",function(e,t,n){if(!n)return!1;var r=n.style,o=["Khtml","O","Moz","Webkit"],i=o.length,s="userSelect";do{if(void 0!==r[s])return s}while(i--&&(s=o[i]+"UserSelect"));return!1});var i=e("css-user-select");return r.setSelectable=i?function(e,t){r.byId(e).style[i]=t?"":"none"}:function(e,t){var n=(e=r.byId(e)).getElementsByTagName("*"),o=n.length;if(t)for(e.removeAttribute("unselectable");o--;)n[o].removeAttribute("unselectable");else for(e.setAttribute("unselectable","on");o--;)n[o].setAttribute("unselectable","on")},r}.apply(null,r))||(e.exports=o)},2641(e,t,n){var r,o;n.dj.r;r=[n(1925),n(6356)],void 0===(o=function(e,t){var n,r=document,o={loaded:1,complete:1},i="string"!=typeof r.readyState,s=!!o[r.readyState],a=[];function l(e){a.push(e),s&&c()}function c(){if(!n){for(n=!0;a.length;)try{a.shift()(r)}catch(e){console.error(e,"in domReady callback",e.stack)}n=!1,l._onQEmpty()}}if(l.load=function(e,t,n){l(n)},l._Q=a,l._onQEmpty=function(){},i&&(r.readyState="loading"),!s){var d=[],u=function(t){t=t||e.event,s||"readystatechange"==t.type&&!o[r.readyState]||(i&&(r.readyState="complete"),s=1,c())},h=function(e,t){e.addEventListener(t,u,!1),a.push(function(){e.removeEventListener(t,u,!1)})};if(!t("dom-addeventlistener")){h=function(e,t){t="on"+t,e.attachEvent(t,u),a.push(function(){e.detachEvent(t,u)})};var f=r.createElement("div");try{f.doScroll&&null===e.frameElement&&d.push(function(){try{return f.doScroll("left"),1}catch(e){}})}catch(e){}}if(h(r,"DOMContentLoaded"),h(e,"load"),"onreadystatechange"in r?h(r,"readystatechange"):i||d.push(function(){return o[r.readyState]}),d.length){var p=function(){if(!s){for(var e=d.length;e--;)if(d[e]())return void u("poller");setTimeout(p,30)}};p()}}return l}.apply(null,r))||(e.exports=o)},1662(e,t,n){var r,o;n.dj.r;r=[n(4332)],void 0===(o=function(e){return e("CancelError",null,null,{dojoType:"cancel",log:!1})}.apply(null,r))||(e.exports=o)},8241(e,t,n){var r,o;n.dj.r;r=[n(4332)],void 0===(o=function(e){return e("RequestError",function(e,t){this.response=t})}.apply(null,r))||(e.exports=o)},9608(e,t,n){var r,o;n.dj.r;r=[n(4332),n(8241)],void 0===(o=function(e,t){return e("RequestTimeoutError",null,t,{dojoType:"timeout"})}.apply(null,r))||(e.exports=o)},4332(e,t,n){var r,o;n.dj.r;r=[n(6323)],o=function(e){return function(t,n,r,o){r=r||Error;var i=function(e){if(r===Error){Error.captureStackTrace&&Error.captureStackTrace(this,i);var t,o=Error.call(this,e);for(t in o)o.hasOwnProperty(t)&&(this[t]=o[t]);this.message=e,this.stack=o.stack}else r.apply(this,arguments);n&&n.apply(this,arguments)};return i.prototype=e.delegate(r.prototype,o),i.prototype.name=t,i.prototype.constructor=i,i}}.apply(null,r),void 0===o||(e.exports=o)},1925(e,t,n){var r;n.dj.r;void 0===(r=function(){return"undefined"!=typeof global&&"function"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:this}.call(null,n,t,e))||(e.exports=r)},6356(e,t,n){var r,o;n.dj.r;r=[n(1925),n.dj.c(e),n.dj.m(e)],o=function(e,t,n){var r=t.has||function(){};if(!r("dojo-has-api")){var o="undefined"!=typeof window&&"undefined"!=typeof location&&"undefined"!=typeof document&&window.location==location&&window.document==document,i=o&&document,s=i&&i.createElement("DiV"),a=n.config&&n.config()||{};(r=function(t){return"function"==typeof a[t]?a[t]=a[t](e,i,s):a[t]}).cache=a,r.add=function(e,t,n,o){return(void 0===a[e]||o)&&(a[e]=t),n&&r(e)},r.add("host-browser",o),r.add("host-node","object"==typeof process&&process.versions&&process.versions.node&&process.versions.v8),r.add("host-rhino","function"==typeof load&&("function"==typeof Packages||"object"==typeof Packages)),r.add("dom",o),r.add("dojo-dom-ready-api",1),r.add("dojo-sniff",1)}if(r("host-browser")){r.add("dom-addeventlistener",!!document.addEventListener),r.add("touch","ontouchstart"in document||"onpointerdown"in document&&navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints),r.add("touch-events","ontouchstart"in document),r.add("pointer-events","pointerEnabled"in window.navigator?window.navigator.pointerEnabled:"PointerEvent"in window),r.add("MSPointer",window.navigator.msPointerEnabled),r.add("touch-action",!1),r.add("device-width",screen.availWidth||innerWidth);var l=document.createElement("form");r.add("dom-attributes-explicit",0==l.attributes.length),r.add("dom-attributes-specified-flag",l.attributes.length>0&&l.attributes.length<40)}return r.clearElement=function(e){return e.innerHTML="",e},r.normalize=function(e,t){var n=e.match(/[\\?:]|[^:\\?]*/g),o=0,i=function(e){var t=n[o++];return":"==t?0:"?"==n[o++]?!e&&r(t)?i():(i(!0),i(e)):t||0};return(e=i())&&t(e)},r.load=function(e,t,n){e?t([e],n):n()},r}.apply(null,r),void 0===o||(e.exports=o)},9276(e,t,n){var r,o;n.dj.r;r=[n.dj.c(e),n(7361),n(8945),n(1248),n(6356),n(2641),n(5075)],o=function(e,t,n,r,o,i,s){return o.add("highcontrast",function(){var n=s.doc.createElement("div");try{n.style.cssText=\'border: 1px solid; border-color:red green; position: absolute; height: 5px; top: -999px;background-image: url("\'+(t.blankGif||e.toUrl("./resources/blank.gif"))+\'");\',s.body().appendChild(n);var i=r.getComputedStyle(n),a=i.backgroundImage;return i.borderTopColor==i.borderRightColor||a&&("none"==a||"url(invalid-url:)"==a)}catch(e){return console.warn("hccss: exception detecting high-contrast mode, document is likely hidden: "+e.toString()),!1}finally{o("ie")<=8?n.outerHTML="":s.body().removeChild(n)}}),i(function(){0}),o}.apply(null,r),void 0===o||(e.exports=o)},3878(e,t,n){var r,o;n.dj.r;r=[n(1054),n.dj.c(e),n(6356),n(6974),n(7361),n(6323),n(225),n(8212),n.dj.m(e)],o=function(e,t,n,r,o,i,s,a,l){n.add("dojo-preload-i18n-Api",1),n.add("dojo-v1x-i18n-Api",1);var c=e.i18n={},d=/(^.*(^|\\/)nls)(\\/|$)([^\\/]*)\\/?([^\\/]*)/,u={},h=function(t,n,r){return r=r?r.toLowerCase():e.locale,t=t.replace(/\\./g,"/"),n=n.replace(/\\./g,"/"),/root/i.test(r)?t+"/nls/"+n:t+"/nls/"+r+"/"+n},f=e.getL10nName=function(e,t,n){return l.id+"!"+h(e,t,n)},p=function(t,s,l){var c=d.exec(t),h=c[1]+"/",f=c[5]||c[4],p=h+f,v=c[5]&&c[4],g=v||e.locale||"",m=p+"/"+g,y=v?[g]:function(e){var t=o.extraLocale||[];return(t=i.isArray(t)?t:[t]).push(e),t}(g),x=y.length,N=function(){--x||l(i.delegate(u[m]))},C=t.split("*"),j="preload"==C[1];if(n("dojo-preload-i18n-Api")){if(j&&(u[t]||(u[t]=1,_(C[2],a.parse(C[3]),1,s)),l(1)),j||b(t,s,l)&&!u[m])return}else if(j)return void l(1);r.forEach(y,function(e){var t=p+"/"+e;n("dojo-preload-i18n-Api")&&w(t),u[t]?N():function(e,t,n,r,o,s){e([t],function(a){var l=i.clone(a.root||a.ROOT),c=function(e,t,n,r){for(var o=[n+r],i=t.split("-"),s="",a=0;a<i.length;a++)s+=(s?"-":"")+i[a],e&&!e[s]||(o.push(n+s+"/"+r),o.specificity=s);return o}(!a._v1x&&a,o,n,r);e(c,function(){for(var e=1;e<c.length;e++)l=i.mixin(i.clone(l),arguments[e]);u[t+"/"+o]=l,l.$locale=c.specificity,s()})})}(s,p,h,f,e,N)})};if(n("dojo-preload-i18n-Api")||n("dojo-v1x-i18n-Api"))var v=c.normalizeLocale=function(t){var n=t?t.toLowerCase():e.locale;return"root"==n?"ROOT":n},g=function(e,t){return!0},m=0,y=[],_=c._preloadLocalizations=function(n,o,s,a){function l(e,t){for(var n=e.split("-");n.length;){if(t(n.join("-")))return;n.pop()}t("ROOT")}function c(){m++}function d(){for(--m;!m&&y.length;)p.apply(null,y.shift())}function h(e,t,n,r){return r.toAbsMid(e+t+"/"+n)}function f(e){l(e=v(e),function(f){if(r.indexOf(o,f)>=0){var p=n.replace(/\\./g,"/")+"_"+f;return c(),function(e,t){g(e,a)||s?a([e],t):j([e],t,a)}(p,function(n){for(var r in n){var o,s,p=n[r],v=r.match(/(.+)\\/([^\\/]+)$/);if(v&&(o=v[2],s=v[1]+"/",p._localized)){var g;if("ROOT"===f){var m=g=p._localized;delete p._localized,m.root=p,u[t.toAbsMid(r)]=m}else g=p._localized,u[h(s,o,f,t)]=p;if(f!==e){var y=function(n,r,o,s){var f=[],p=[];l(e,function(e){s[e]&&(f.push(t.toAbsMid(n+e+"/"+r)),p.push(h(n,r,e,t)))}),f.length?(c(),a(f,function(){for(var s=f.length-1;s>=0;s--)o=i.mixin(i.clone(o),arguments[s]),u[p[s]]=o;u[h(n,r,e,t)]=i.clone(o),d()})):u[h(n,r,e,t)]=o};y(s,o,p,g)}}}d()}),!0}return!1})}a=a||t,f(),r.forEach(e.config.extraLocale,f)},b=function(e,t,n){return m&&y.push([e,t,n]),m},w=function(){};if(n("dojo-v1x-i18n-Api")){var x,N={},C={},j=function(e,t,n){var o=[];r.forEach(e,function(e){var t=n.toUrl(e+".js");function r(n){x||(x=new Function("__bundle","__checkForLegacyModules","__mid","__amdValue","var define = function(mid, factory){define.called = 1; __amdValue.result = factory || mid;},\\t require = function(){define.called = 1;};try{define.called = 0;eval(__bundle);if(define.called==1)return __amdValue;if((__checkForLegacyModules = __checkForLegacyModules(__mid)))return __checkForLegacyModules;}catch(e){}try{return eval(\'(\'+__bundle+\')\');}catch(e){return e;}"));var r=x(n,w,e,N);r===N?o.push(u[t]=N.result):(r instanceof Error&&(console.error("failed to evaluate i18n bundle; url="+t,r),r={}),o.push(u[t]=/nls\\/[^\\/]+\\/[^\\/]+$/.test(t)?r:{root:r,_v1x:1}))}if(u[t])o.push(u[t]);else{var i=n.syncLoadNls(e);if(i||(i=w(e.replace(/nls\\/([^\\/]*)\\/([^\\/]*)$/,"nls/$2/$1"))),i)o.push(i);else if(s)s.get({url:t,sync:!0,load:r,error:function(){o.push(u[t]={})}});else try{n.getText(t,!0,r)}catch(e){o.push(u[t]={})}}}),t&&t.apply(null,o)};w=function(t){for(var n,r=t.split("/"),o=e.global[r[0]],i=1;o&&i<r.length-1;o=o[r[i++]]);return o&&((n=o[r[i]])||(n=o[r[i].replace(/-/g,"_")]),n&&(u[t]=n)),n},c.getLocalization=function(e,n,r){var o,i=h(e,n,r);return C[i]?C[i]:(p(i,g(i,t)?t:function(e,n){j(e,n,t)},function(e){C[i]=e,o=e}),o)}}else c.getLocalization=function(e,t,n){var r=e.replace(/\\./g,"/")+"/nls/"+t+"/"+(n||o.locale);return this.cache[r]};return i.mixin(c,{dynamic:!0,normalize:function(e,t){return/^\\./.test(e)?t(e):e},load:p,cache:u,getL10nName:f})}.apply(null,r),void 0===o||(e.exports=o)},6587(e,t,n){var r,o;n.dj.r;r=[n(6323)],void 0===(o=function(e){var t={};return{objectToQuery:function(n){var r=encodeURIComponent,o=[];for(var i in n){var s=n[i];if(s!=t[i]){var a=r(i)+"=";if(e.isArray(s))for(var l=0,c=s.length;l<c;++l)o.push(a+r(s[l]));else o.push(a+r(s))}}return o.join("&")},queryToObject:function(t){for(var n,r,o,i=decodeURIComponent,s=t.split("&"),a={},l=0,c=s.length;l<c;++l)if((o=s[l]).length){var d=o.indexOf("=");d<0?(n=i(o),r=""):(n=i(o.slice(0,d)),r=i(o.slice(d+1))),"string"==typeof a[n]&&(a[n]=[a[n]]),e.isArray(a[n])?a[n].push(r):a[n]=r}return a}}}.apply(null,r))||(e.exports=o)},8212(module,exports,__webpack_require__){var require=__webpack_require__.dj.r,__WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;__WEBPACK_AMD_DEFINE_ARRAY__=[__webpack_require__(6356)],__WEBPACK_AMD_DEFINE_RESULT__=function(has){"use strict";var hasJSON="undefined"!=typeof JSON;if(has.add("json-parse",hasJSON),has.add("json-stringify",hasJSON&&\'{"a":1}\'==JSON.stringify({a:0},function(e,t){return t||1})),has("json-stringify"))return JSON;var escapeString=function(e){return(\'"\'+e.replace(/(["\\\\])/g,"\\\\$1")+\'"\').replace(/[\\f]/g,"\\\\f").replace(/[\\b]/g,"\\\\b").replace(/[\\n]/g,"\\\\n").replace(/[\\t]/g,"\\\\t").replace(/[\\r]/g,"\\\\r")};return{parse:has("json-parse")?JSON.parse:function(str,strict){if(strict&&!/^([\\s\\[\\{]*(?:"(?:\\\\.|[^"])*"|-?\\d[\\d\\.]*(?:[Ee][+-]?\\d+)?|null|true|false|)[\\s\\]\\}]*(?:,|:|$))+$/.test(str))throw new SyntaxError("Invalid characters in JSON");return eval("("+str+")")},stringify:function(e,t,n){return"string"==typeof t&&(n=t,t=null),function e(r,o,i){t&&(r=t(i,r));var s,a=typeof r;if("number"==a)return isFinite(r)?r+"":"null";if("boolean"==a)return r+"";if(null===r)return"null";if("string"==typeof r)return escapeString(r);if("function"!=a&&"undefined"!=a){if("function"==typeof r.toJSON)return e(r.toJSON(i),o,i);if(r instanceof Date)return\'"{FullYear}-{Month+}-{Date}T{Hours}:{Minutes}:{Seconds}Z"\'.replace(/\\{(\\w+)(\\+)?\\}/g,function(e,t,n){var o=r["getUTC"+t]()+(n?1:0);return o<10?"0"+o:o});if(r.valueOf()!==r)return e(r.valueOf(),o,i);var l=n?o+n:"",c=n?" ":"",d=n?"\\n":"";if(r instanceof Array){var u=r.length,h=[];for(i=0;i<u;i++){"string"!=typeof(s=e(r[i],l,i))&&(s="null"),h.push(d+l+s)}return"["+h.join(",")+d+o+"]"}var f=[];for(i in r){var p;if(r.hasOwnProperty(i)){if("number"==typeof i)p=\'"\'+i+\'"\';else{if("string"!=typeof i)continue;p=escapeString(i)}if("string"!=typeof(s=e(r[i],l,i)))continue;f.push(d+l+p+":"+c+s)}}return"{"+f.join(",")+d+o+"}"}}(e,"","")}}}.apply(null,__WEBPACK_AMD_DEFINE_ARRAY__),void 0===__WEBPACK_AMD_DEFINE_RESULT__||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)},4266(e,t,n){var r,o;n.dj.r;r=[n(1054),n(2616)],void 0===(o=function(e,t){return e.keys={BACKSPACE:8,TAB:9,CLEAR:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,META:t("webkit")?91:224,PAUSE:19,CAPS_LOCK:20,ESCAPE:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT_ARROW:37,UP_ARROW:38,RIGHT_ARROW:39,DOWN_ARROW:40,INSERT:45,DELETE:46,HELP:47,LEFT_WINDOW:91,RIGHT_WINDOW:92,SELECT:93,NUMPAD_0:96,NUMPAD_1:97,NUMPAD_2:98,NUMPAD_3:99,NUMPAD_4:100,NUMPAD_5:101,NUMPAD_6:102,NUMPAD_7:103,NUMPAD_8:104,NUMPAD_9:105,NUMPAD_MULTIPLY:106,NUMPAD_PLUS:107,NUMPAD_ENTER:108,NUMPAD_MINUS:109,NUMPAD_PERIOD:110,NUMPAD_DIVIDE:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,F13:124,F14:125,F15:126,NUM_LOCK:144,SCROLL_LOCK:145,UP_DPAD:175,DOWN_DPAD:176,LEFT_DPAD:177,RIGHT_DPAD:178,copyKey:t("mac")&&!t("air")?t("safari")?91:224:17}}.apply(null,r))||(e.exports=o)},8471(e,t,n){var r,o;n.dj.r;r=[n(1054),n(2075),n(6356),n(2284),n(5075)],void 0===(o=function(e,t,n,r,o){var i,s;function a(e,n){var o=function(o,i){return t(o,e,function(e){return n?n(e,i):r.isDescendant(e.relatedTarget,o)?void 0:i.call(this,e)})};return o.bubble=function(t){return a(e,function(e,n){var r=t(e.target),o=e.relatedTarget;if(r&&r!=(o&&1==o.nodeType&&t(o)))return n.call(r,e)})},o}return n.add("dom-quirks",o.doc&&"BackCompat"==o.doc.compatMode),n.add("events-mouseenter",o.doc&&"onmouseenter"in o.doc.createElement("div")),n.add("events-mousewheel",o.doc&&"onmousewheel"in o.doc),i=n("dom-quirks")&&n("ie")||!n("dom-addeventlistener")?{LEFT:1,MIDDLE:4,RIGHT:2,isButton:function(e,t){return e.button&t},isLeft:function(e){return 1&e.button},isMiddle:function(e){return 4&e.button},isRight:function(e){return 2&e.button}}:{LEFT:0,MIDDLE:1,RIGHT:2,isButton:function(e,t){return e.button==t},isLeft:function(e){return 0==e.button},isMiddle:function(e){return 1==e.button},isRight:function(e){return 2==e.button}},e.mouseButtons=i,s=n("events-mousewheel")?"mousewheel":function(e,n){return t(e,"DOMMouseScroll",function(e){e.wheelDelta=-e.detail,n.call(this,e)})},{_eventHandler:a,enter:a("mouseover"),leave:a("mouseout"),wheel:s,isLeft:i.isLeft,isMiddle:i.isMiddle,isRight:i.isRight}}.apply(null,r))||(e.exports=o)},2075(e,t,n){var r,o;n.dj.r;r=[n.dj.h("dom-addeventlistener?:6566"),n(1054),n(2616)],o=function(e,t,n){"use strict";if(n("dom")){var r=window.ScriptEngineMajorVersion;n.add("jscript",r&&r()+ScriptEngineMinorVersion()/10),n.add("event-orientationchange",!1),n.add("event-stopimmediatepropagation",window.Event&&!!window.Event.prototype&&!!window.Event.prototype.stopImmediatePropagation),n.add("event-focusin",function(e,t,n){return"onfocusin"in n})}var o=function(e,t,n,r){return"function"!=typeof e.on||"function"==typeof t||e.nodeType?o.parse(e,t,n,i,r,this):e.on(t,n)};o.pausable=function(e,t,n,r){var i,s=o(e,t,function(){if(!i)return n.apply(this,arguments)},r);return s.pause=function(){i=!0},s.resume=function(){i=!1},s},o.once=function(e,t,n,r){var i=o(e,t,function(){return i.remove(),n.apply(this,arguments)});return i},o.parse=function(e,t,n,r,i,s){var a;if(t.call)return t.call(s,e,n);if(t instanceof Array?a=t:t.indexOf(",")>-1&&(a=t.split(/\\s*,\\s*/)),a){for(var l,c=[],d=0;l=a[d++];)c.push(o.parse(e,l,n,r,i,s));return c.remove=function(){for(var e=0;e<c.length;e++)c[e].remove()},c}return r(e,t,n,i,s)};function i(e,t,n,r,i){var s=t.match(/(.*):(.*)/);if(s)return t=s[2],s=s[1],o.selector(s,t).call(i,e,n);if(h&&(n=h(n)),e.addEventListener){var a=t in d,l=a?d[t]:t;return e.addEventListener(l,n,a),{remove:function(){e.removeEventListener(l,n,a)}}}if(t="on"+t,v&&e.attachEvent)return v(e,t,n);throw new Error("Target must be an event emitter")}function s(){this.cancelable=!1,this.defaultPrevented=!0}function a(){this.bubbles=!1}o.matches=function(e,n,r,o,i){for(i=i&&"function"==typeof i.matches?i:t.query,o=!1!==o,1!=e.nodeType&&(e=e.parentNode);!i.matches(e,n,r);)if(e==r||!1===o||!(e=e.parentNode)||1!=e.nodeType)return!1;return e},o.selector=function(e,t,n){return function(r,i){var s="function"==typeof e?{matches:e}:this,a=t.bubble;function l(t){return o.matches(t,e,r,n,s)}return a?o(r,a(l),i):o(r,t,function(e){var t=l(e.target);if(t)return e.selectorTarget=t,i.call(t,e)})}};var l=[].slice,c=o.emit=function(e,t,n){var r=l.call(arguments,2),o="on"+t;if("parentNode"in e){var i=r[0]={};for(var c in n)i[c]=n[c];i.preventDefault=s,i.stopPropagation=a,i.target=e,i.type=t,n=i}do{e[o]&&e[o].apply(e,r)}while(n&&n.bubbles&&(e=e.parentNode));return n&&n.cancelable&&n},d=n("event-focusin")?{}:{focusin:"focus",focusout:"blur"};if(!n("event-stopimmediatepropagation"))var u=function(){this.immediatelyStopped=!0,this.modified=!0},h=function(e){return function(t){if(!t.immediatelyStopped)return t.stopImmediatePropagation=u,e.apply(this,arguments)}};if(n("dom-addeventlistener"))o.emit=function(e,t,n){if(e.dispatchEvent&&document.createEvent){var r=(e.ownerDocument||document).createEvent("HTMLEvents");for(var i in r.initEvent(t,!!n.bubbles,!!n.cancelable),n)i in r||(r[i]=n[i]);return e.dispatchEvent(r)&&r}return c.apply(o,arguments)};else{o._fixEvent=function(e,t){e||(e=(t&&(t.ownerDocument||t.document||t).parentWindow||window).event);if(!e)return e;try{f&&e.type==f.type&&e.srcElement==f.target&&(e=f)}catch(e){}if(!e.target&&(e.target=e.srcElement,e.currentTarget=t||e.srcElement,"mouseover"==e.type&&(e.relatedTarget=e.fromElement),"mouseout"==e.type&&(e.relatedTarget=e.toElement),e.stopPropagation||(e.stopPropagation=m,e.preventDefault=y),"keypress"===e.type)){var n="charCode"in e?e.charCode:e.keyCode;10==n?(n=0,e.keyCode=13):13==n||27==n?n=0:3==n&&(n=99),e.charCode=n,g(e)}return e};var f,p=function(e){this.handle=e};p.prototype.remove=function(){delete _dojoIEListeners_[this.handle]};var v=function(t,r,i){if(i=function(e){return function(t){t=o._fixEvent(t,this);var n=e.call(this,t);return t.modified&&(f||setTimeout(function(){f=null}),f=t),n}}(i),((t.ownerDocument?t.ownerDocument.parentWindow:t.parentWindow||t.window||window)!=top||n("jscript")<5.8)&&!n("config-_allow_leaks")){"undefined"==typeof _dojoIEListeners_&&(_dojoIEListeners_=[]);var s,a=t[r];if(!a||!a.listeners){var l=a;(a=Function("event","var callee = arguments.callee; for(var i = 0; i<callee.listeners.length; i++){var listener = _dojoIEListeners_[callee.listeners[i]]; if(listener){listener.call(this,event);}}")).listeners=[],t[r]=a,a.global=this,l&&a.listeners.push(_dojoIEListeners_.push(l)-1)}return a.listeners.push(s=a.global._dojoIEListeners_.push(i)-1),new p(s)}return e.after(t,r,i,!0)},g=function(e){e.keyChar=e.charCode?String.fromCharCode(e.charCode):"",e.charOrCode=e.keyChar||e.keyCode},m=function(){this.cancelBubble=!0},y=o._preventDefault=function(){if(this.bubbledKeyCode=this.keyCode,this.ctrlKey)try{this.keyCode=0}catch(e){}this.defaultPrevented=!0,this.returnValue=!1,this.modified=!0}}return o}.apply(null,r),void 0===o||(e.exports=o)},5479(e,t,n){var r,o;n.dj.r;r=[n(6323)],void 0===(o=function(e){"use strict";function t(){throw new TypeError("abstract")}return e.extend(function(){},{then:function(e,n,r){t()},cancel:function(e,n){t()},isResolved:function(){t()},isRejected:function(){t()},isFulfilled:function(){t()},isCanceled:function(){t()},finally:function(e){return this.then(function(t){var n=e();return n&&"function"==typeof n.then?n.then(function(){return t}):t},function(t){var n=e();if(n&&"function"==typeof n.then)return n.then(function(){throw t});throw t})},always:function(e){return this.then(e,e)},catch:function(e){return this.then(null,e)},otherwise:function(e){return this.then(null,e)},trace:function(){return this},traceRejected:function(){return this},toString:function(){return"[object Promise]"}})}.apply(null,r))||(e.exports=o)},2236(e,t,n){var r,o;n.dj.r;r=[n(3185),n(6356),n(6323),n(6974)],void 0===(o=function(e,t,n,r){function o(e,t,n){if(!e||!1!==e.log){var r="";e&&e.stack&&(r+=e.stack),t&&t.stack&&(r+="\\n ----------------------------------------\\n rejected"+t.stack.split("\\n").slice(1).join("\\n").replace(/^\\s+/," ")),n&&n.stack&&(r+="\\n ----------------------------------------\\n"+n.stack),console.error(e,r)}}function i(e,t,n,r){t||o(e,n,r)}t.add("config-useDeferredInstrumentation","report-unhandled-rejections");var s=[],a=!1,l=1e3;function c(e,t,n,o){r.some(s,function(n){if(n.error===e)return t&&(n.handled=!0),!0})||s.push({error:e,rejection:n,handled:t,deferred:o,timestamp:(new Date).getTime()}),a||(a=setTimeout(d,l))}function d(){var e=(new Date).getTime(),t=e-l;s=r.filter(s,function(e){return!(e.timestamp<t)||(e.handled||o(e.error,e.rejection,e.deferred),!1)}),a=!!s.length&&setTimeout(d,s[0].timestamp+l-e)}return function(r){var o=t("config-useDeferredInstrumentation");if(o){e.on("resolved",n.hitch(console,"log","resolved")),e.on("rejected",n.hitch(console,"log","rejected")),e.on("progress",n.hitch(console,"log","progress"));var s=[];if("string"==typeof o&&(s=o.split(","),o=s.shift()),"report-rejections"===o)r.instrumentRejected=i;else{if("report-unhandled-rejections"!==o&&!0!==o&&1!==o)throw new Error("Unsupported instrumentation usage <"+o+">");r.instrumentRejected=c,l=parseInt(s[0],10)||l}}}}.apply(null,r))||(e.exports=o)},3185(e,t,n){var r,o;n.dj.r;r=[n(6323),n(5479),n(9925)],o=function(e,t,n){"use strict";var r=new n,o=r.emit;function i(e){setTimeout(function(){o.apply(r,e)},0)}return r.emit=null,t.prototype.trace=function(){var t=e._toArray(arguments);return this.then(function(e){i(["resolved",e].concat(t))},function(e){i(["rejected",e].concat(t))},function(e){i(["progress",e].concat(t))}),this},t.prototype.traceRejected=function(){var t=e._toArray(arguments);return this.otherwise(function(e){i(["rejected",e].concat(t))}),this},r}.apply(null,r),void 0===o||(e.exports=o)},1172(e,t,n){var r,o;n.dj.r;r=[n(1054),n(6356),n(2284),n(2075),n(6974),n(6323),n(5226),n(6178)],o=function(e,t,n,r,o,i,s,a){"use strict";t.add("array-extensible",function(){return 1==i.delegate([],{length:1}).length&&!t("bug-for-in-skips-shadowed")});var l=Array.prototype,c=l.slice,d=l.concat,u=o.forEach,h=function(t,n,r){return n=[0].concat(c.call(n,0)),r=r||e.global,function(e){return n[0]=e,t.apply(r,n)}},f=function(e){var n=this instanceof p&&t("array-extensible");"number"==typeof e&&(e=Array(e));var r=e&&"length"in e?e:arguments;if(n||!r.sort){for(var o=n?this:[],s=o.length=r.length,a=0;a<s;a++)o[a]=r[a];if(n)return o;r=o}return i._mixin(r,v),r._NodeListCtor=function(e){return p(e)},r},p=f,v=p.prototype=t("array-extensible")?[]:{};function g(e,t){var r=function(r,o){if("string"==typeof o&&!(o=n.byId(o)))return new t([]);var i="string"==typeof r?e(r,o):r?r.end&&r.on?r:[r]:[];return i.end&&i.on?i:new t(i)};if(r.matches=e.match||function(e,t,n){return r.filter([e],t,n).length>0},r.filter=e.filter||function(e,t,n){return r(t,n).filter(function(t){return o.indexOf(e,t)>-1})},"function"!=typeof e){var i=e.search;e=function(e,t){return i(t||document,e)}}return r}p._wrap=v._wrap=function(e,t,n){var r=new(n||this._NodeListCtor||p)(e);return t?r._stash(t):r},p._adaptAsMap=function(e,t){return function(){return this.map(h(e,arguments,t))}},p._adaptAsForEach=function(e,t){return function(){return this.forEach(h(e,arguments,t)),this}},p._adaptAsFilter=function(e,t){return function(){return this.filter(h(e,arguments,t))}},p._adaptWithCondition=function(t,n,r){return function(){var o=arguments,i=h(t,o,r);return n.call(r||e.global,o)?this.map(i):(this.forEach(i),this)}},u(["slice","splice"],function(e){var t=l[e];v[e]=function(){return this._wrap(t.apply(this,arguments),"slice"==e?this:null)}}),u(["indexOf","lastIndexOf","every","some"],function(t){var n=o[t];v[t]=function(){return n.apply(e,[this].concat(c.call(arguments,0)))}}),i.extend(f,{constructor:p,_NodeListCtor:p,toString:function(){return this.join(",")},_stash:function(e){return this._parent=e,this},on:function(e,t){var n=this.map(function(n){return r(n,e,t)});return n.remove=function(){for(var e=0;e<n.length;e++)n[e].remove()},n},end:function(){return this._parent?this._parent:new this._NodeListCtor(0)},concat:function(e){var t=c.call(this,0),n=o.map(arguments,function(e){return c.call(e,0)});return this._wrap(d.apply(t,n),this)},map:function(e,t){return this._wrap(o.map(this,e,t),this)},forEach:function(e,t){return u(this,e,t),this},filter:function(e){var t=arguments,n=this,r=0;if("string"==typeof e){if(n=m._filterResult(this,t[0]),1==t.length)return n._stash(this);r=1}return this._wrap(o.filter(n,t[r],t[r+1]),this)},instantiate:function(e,t){var n=i.isFunction(e)?e:i.getObject(e);return t=t||{},this.forEach(function(e){new n(t,e)})},at:function(){var e=new this._NodeListCtor(0);return u(arguments,function(t){t<0&&(t=this.length+t),this[t]&&e.push(this[t])},this),e._stash(this)}});var m=g(a,f);return e.query=g(a,function(e){return f(e)}),m.load=function(e,t,n){s.load(e,t,function(e){n(g(e,f))})},e._filterQueryResult=m._filterResult=function(e,t,n){return new f(m.filter(e,t,n))},e.NodeList=m.NodeList=f,m}.apply(null,r),void 0===o||(e.exports=o)},9671(e,t,n){var r,o;n.dj.r;r=[n(1054),n(6356),n.dj.c(e),n(2641),n(6323)],o=function(e,t,n,r,o){var i=0,s=[],a=0,l=function(){i=1,e._postLoad=e.config.afterOnLoad=!0,c()},c=function(){if(!a){for(a=1;i&&(!r||0==r._Q.length)&&(!n.idle||n.idle())&&s.length;){var e=s.shift();try{e()}catch(e){if(e.info=e.message,!n.signal)throw e;n.signal("error",e)}}a=0}};n.on&&n.on("idle",c),r&&(r._onQEmpty=c);var d=e.ready=e.addOnLoad=function(t,n,r){var i=o._toArray(arguments);"number"!=typeof t?(r=n,n=t,t=1e3):i.shift(),(r=r?o.hitch.apply(e,i):function(){n()}).priority=t;for(var a=0;a<s.length&&t>=s[a].priority;a++);s.splice(a,0,r),c()};if(t.add("dojo-config-addOnLoad",1),t("dojo-config-addOnLoad")){var u=e.config.addOnLoad;u&&d[o.isArray(u)?"apply":"call"](e,u)}return r?r(l):l(),d}.apply(null,r),void 0===o||(e.exports=o)},8769(e,t,n){var r,o;n.dj.r;r=[n(9648)],void 0===(o=function(e){return e}.apply(null,r))||(e.exports=o)},2573(e,t,n){var r,o;n.dj.r;r=[n(8212),n(1054),n(6974),n(6356),n(8819)],void 0===(o=function(e,t,n,r){var o;if(r.add("activex","undefined"!=typeof ActiveXObject),r.add("dom-parser",function(e){return"DOMParser"in e}),r("activex")){var i,s=["Msxml2.DOMDocument.6.0","Msxml2.DOMDocument.4.0","MSXML2.DOMDocument.3.0","MSXML.DOMDocument"];o=function(e){var t=e.data,o=e.text;function a(e){try{var n=new ActiveXObject(e);n.async=!1,n.loadXML(o),t=n,i=e}catch(e){return!1}return!0}return t&&r("dom-qsa2.1")&&!t.querySelectorAll&&r("dom-parser")&&(t=(new DOMParser).parseFromString(o,"application/xml")),t&&t.documentElement||i&&a(i)||n.some(s,a),t}}var a=function(e){return r("native-xhr2-blob")||"blob"!==e.options.handleAs||"undefined"==typeof Blob?e.xhr.response:new Blob([e.xhr.response],{type:e.xhr.getResponseHeader("Content-Type")})},l={javascript:function(e){return t.eval(e.text||"")},json:function(t){return e.parse(t.text||null)},xml:o,blob:a,arraybuffer:a,document:a};function c(e){var t=l[e.options.handleAs];return e.data=t?t(e):e.data||e.text,e}return c.register=function(e,t){l[e]=t},c}.apply(null,r))||(e.exports=o)},5540(e,t,n){var r,o;n.dj.r;r=[t,n(8241),n(1662),n(5625),n(6587),n(6974),n(6323),n(5479),n(6356)],o=function(e,t,n,r,o,i,s,a,l){function c(e){return l("native-arraybuffer")&&e instanceof ArrayBuffer}function d(e){return l("native-blob")&&e instanceof Blob}function u(e){return e&&"object"==typeof e&&!function(e){return l("native-formdata")&&e instanceof FormData}(e)&&!function(e){return"undefined"!=typeof Element?e instanceof Element:1===e.nodeType}(e)&&!d(e)&&!c(e)}e.deepCopy=function(t,n){for(var r in n){var o=t[r],i=n[r];"__proto__"!==r&&o!==i&&(u(i)?"[object Date]"===Object.prototype.toString.call(i)?t[r]=new Date(i):s.isArray(i)?t[r]=e.deepCopyArray(i):o&&"object"==typeof o?e.deepCopy(o,i):t[r]=e.deepCopy({},i):t[r]=i)}return t},e.deepCopyArray=function(t){for(var n=[],r=0,o=t.length;r<o;r++){var i=t[r];"object"==typeof i?n.push(e.deepCopy({},i)):n.push(i)}return n},e.deepCreate=function(t,n){n=n||{};var r,o,i=s.delegate(t);for(r in t)(o=t[r])&&"object"==typeof o&&(i[r]=e.deepCreate(o,n[r]));return e.deepCopy(i,n)};var h=Object.freeze||function(e){return e};function f(e){return h(e)}function p(e){return void 0!==e.data?e.data:e.text}e.deferred=function(o,i,l,c,d,u){var v=new r(function(e){return i&&i(v,o),e&&(e instanceof t||e instanceof n)?e:new n("Request canceled",o)});v.response=o,v.isValid=l,v.isReady=c,v.handleResponse=d;var g=v.then(f).otherwise(function(e){throw e.response=o,e});e.notify&&g.then(s.hitch(e.notify,"emit","load"),s.hitch(e.notify,"emit","error"));var m=g.then(p),y=new a;for(var _ in m)m.hasOwnProperty(_)&&(y[_]=m[_]);return y.response=g,h(y),u&&v.then(function(e){u.call(v,e)},function(e){u.call(v,o,e)}),v.promise=y,v.then=y.then,v},e.addCommonMethods=function(e,t){i.forEach(t||["GET","POST","PUT","DELETE"],function(t){e[("DELETE"===t?"DEL":t).toLowerCase()]=function(n,r){return(r=s.delegate(r||{})).method=t,e(n,r)}})},e.parseArgs=function(e,t,n){var r=t.data,i=t.query;return r&&!n&&("object"!=typeof r||l("native-xhr2")&&(c(r)||d(r))||(t.data=o.objectToQuery(r))),i?("object"==typeof i&&(i=o.objectToQuery(i)),t.preventCache&&(i+=(i?"&":"")+"request.preventCache="+ +new Date)):t.preventCache&&(i="request.preventCache="+ +new Date),e&&i&&(e+=(~e.indexOf("?")?"&":"?")+i),{url:e,options:t,getHeader:function(e){return null}}},e.checkStatus=function(e){return(e=e||0)>=200&&e<300||304===e||1223===e||!e}}.apply(null,r),void 0===o||(e.exports=o)},3621(e,t,n){var r,o;n.dj.r;r=[n(5540),n(9608),n(1662),n(6974),n(5075),n.dj.h("dom-addeventlistener?:2075")],void 0===(o=function(e,t,n,r,o,i){var s=null,a=[];function l(){for(var e,n=+new Date,r=0;r<a.length&&(e=a[r]);r++){var o=e.response,i=o.options;e.isCanceled&&e.isCanceled()||e.isValid&&!e.isValid(o)?(a.splice(r--,1),c._onAction&&c._onAction()):e.isReady&&e.isReady(o)?(a.splice(r--,1),e.handleResponse(o),c._onAction&&c._onAction()):e.startTime&&e.startTime+(i.timeout||0)<n&&(a.splice(r--,1),e.cancel(new t("Timeout exceeded",o)),c._onAction&&c._onAction())}c._onInFlight&&c._onInFlight(e),a.length||(clearInterval(s),s=null)}function c(e){e.response.options.timeout&&(e.startTime=+new Date),e.isFulfilled()||(a.push(e),s||(s=setInterval(l,50)),e.response.options.sync&&l())}return c.cancelAll=function(){try{r.forEach(a,function(e){try{e.cancel(new n("All requests canceled."))}catch(e){}})}catch(e){}},o&&i&&o.doc.attachEvent&&i(o.global,"unload",function(){c.cancelAll()}),c}.apply(null,r))||(e.exports=o)},9648(e,t,n){var r,o;n.dj.r;r=[n(8241),n(3621),n(2573),n(5540),n(6356)],void 0===(o=function(e,t,n,r,o){o.add("native-xhr",function(){return"undefined"!=typeof XMLHttpRequest}),o.add("dojo-force-activex-xhr",function(){return o("activex")&&"file:"===window.location.protocol}),o.add("native-xhr2",function(){if(o("native-xhr")&&!o("dojo-force-activex-xhr")){var e=new XMLHttpRequest;return void 0!==e.addEventListener&&("undefined"==typeof opera||void 0!==e.upload)}}),o.add("native-formdata",function(){return"undefined"!=typeof FormData}),o.add("native-blob",function(){return"undefined"!=typeof Blob}),o.add("native-arraybuffer",function(){return"undefined"!=typeof ArrayBuffer}),o.add("native-response-type",function(){return o("native-xhr")&&void 0!==(new XMLHttpRequest).responseType}),o.add("native-xhr2-blob",function(){if(o("native-response-type")){var e=new XMLHttpRequest;e.open("GET","https://dojotoolkit.org/",!0),e.responseType="blob";var t=e.responseType;return e.abort(),"blob"===t}});var i,s,a,l,c={blob:o("native-xhr2-blob")?"blob":"arraybuffer",document:"document",arraybuffer:"arraybuffer"};function d(t,o){var i,s=t.xhr;t.status=t.xhr.status;try{t.text=s.responseText}catch(e){}if("xml"===t.options.handleAs&&(t.data=s.responseXML),o)this.reject(o);else{try{n(t)}catch(e){i=e}r.checkStatus(s.status)?i?this.reject(i):this.resolve(t):i?(o=new e("Unable to load "+t.url+" status: "+s.status+" and an error in handleAs: transformation of response",t),this.reject(o)):(o=new e("Unable to load "+t.url+" status: "+s.status,t),this.reject(o))}}function u(e){return this.xhr.getResponseHeader(e)}o("native-xhr2")?(i=function(e){return!this.isFulfilled()},l=function(e,t){t.xhr.abort()},a=function(t,n,r,o){function i(e){n.handleResponse(r)}function s(t){var o=t.target,i=new e("Unable to load "+r.url+" status: "+o.status,r);n.handleResponse(r,i)}function a(e,t){r.transferType=e,t.lengthComputable?(r.loaded=t.loaded,r.total=t.total,n.progress(r)):3===r.xhr.readyState&&(r.loaded="loaded"in t?t.loaded:t.position,n.progress(r))}function l(e){return a("download",e)}function c(e){return a("upload",e)}return t.addEventListener("load",i,!1),t.addEventListener("error",s,!1),t.addEventListener("progress",l,!1),o&&t.upload&&t.upload.addEventListener("progress",c,!1),function(){t.removeEventListener("load",i,!1),t.removeEventListener("error",s,!1),t.removeEventListener("progress",l,!1),t.upload.removeEventListener("progress",c,!1),t=null}}):(i=function(e){return e.xhr.readyState},s=function(e){return 4===e.xhr.readyState},l=function(e,t){var n=t.xhr,r=typeof n.abort;"function"!==r&&"object"!==r&&"unknown"!==r||n.abort()});var h,f={data:null,query:null,sync:!1,method:"GET"};function p(n,v,g){var m=o("native-formdata")&&v&&v.data&&v.data instanceof FormData,y=r.parseArgs(n,r.deepCreate(f,v),m);n=y.url;var _=!(v=y.options).data&&"POST"!==v.method&&"PUT"!==v.method;o("ie")<=10&&(n=n.split("#")[0]);var b,w=r.deferred(y,l,i,s,d,function(){b&&b()}),x=y.xhr=p._create();if(!x)return w.cancel(new e("XHR was not created")),g?w:w.promise;y.getHeader=u,a&&(b=a(x,w,y,v.uploadProgress));var N=void 0===v.data?null:v.data,C=!v.sync,j=v.method;try{x.open(j,n,C,v.user||h,v.password||h),v.withCredentials&&(x.withCredentials=v.withCredentials),o("native-response-type")&&v.handleAs in c&&(x.responseType=c[v.handleAs]);var S=v.headers,T=!m&&!_&&"application/x-www-form-urlencoded";if(S)for(var E in S)"content-type"===E.toLowerCase()?T=S[E]:S[E]&&x.setRequestHeader(E,S[E]);T&&!1!==T&&x.setRequestHeader("Content-Type",T),S&&"X-Requested-With"in S||x.setRequestHeader("X-Requested-With","XMLHttpRequest"),r.notify&&r.notify.emit("send",y,w.promise.cancel),x.send(N)}catch(e){w.reject(e)}return t(w),x=null,g?w:w.promise}if(p._create=function(){throw new Error("XMLHTTP not available")},o("native-xhr")&&!o("dojo-force-activex-xhr"))p._create=function(){return new XMLHttpRequest};else if(o("activex"))try{new ActiveXObject("Msxml2.XMLHTTP"),p._create=function(){return new ActiveXObject("Msxml2.XMLHTTP")}}catch(e){try{new ActiveXObject("Microsoft.XMLHTTP"),p._create=function(){return new ActiveXObject("Microsoft.XMLHTTP")}}catch(e){}}return r.addCommonMethods(p),p}.apply(null,r))||(e.exports=o)},5226(e,t,n){var r,o;n.dj.r;r=[n(6356),n.dj.c(e)],o=function(e,t){"use strict";if("undefined"!=typeof document){var n=document.createElement("div");e.add("dom-qsa2.1",!!n.querySelectorAll),e.add("dom-qsa3",function(){try{return n.innerHTML="<p class=\'TEST\'></p>",1==n.querySelectorAll(".TEST:empty").length}catch(e){}})}var r,o="./acme",i="./lite";return{load:function(n,s,a,l){if(l&&l.isBuild)a();else{var c=t;if("?"==(n="css2"==(n="default"==n?e("config-selectorEngine")||"css3":n)||"lite"==n?i:"css2.1"==n?e("dom-qsa2.1")?i:o:"css3"==n?e("dom-qsa3")?i:o:"acme"==n?o:(c=s)&&n).charAt(n.length-1)){n=n.substring(0,n.length-1);var d=!0}if(d&&(e("dom-compliant-qsa")||r))return a(r);c([n],function(e){"./lite"!=n&&(r=e),a(e)})}}}}.apply(null,r),void 0===o||(e.exports=o)},6178(e,t,n){var r,o;n.dj.r;r=[n(6356),n(1054)],void 0===(o=function(e,t){"use strict";var n=document.createElement("div"),r=n.matches||n.webkitMatchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector,o=n.querySelectorAll,i=/([^\\s,](?:"(?:\\\\.|[^"])+"|\'(?:\\\\.|[^\'])+\'|[^,])*)/g;e.add("dom-matches-selector",!!r),e.add("dom-qsa",!!o);var s=function(n,r){if(c&&n.indexOf(",")>-1)return c(n,r);var i=r?r.ownerDocument||r:t.doc||document,d=(o?/^([\\w]*)#([\\w\\-]+$)|^(\\.)([\\w\\-\\*]+$)|^(\\w+$)/:/^([\\w]*)#([\\w\\-]+)(?:\\s+(.*))?$|(?:^|(>|.+\\s+))([\\w\\-\\*]+)(\\S*$)/).exec(n);if(r=r||i,d){var u=8===e("ie")&&e("quirks")?r.nodeType===i.nodeType:null!==r.parentNode&&9!==r.nodeType&&r.parentNode===i;if(d[2]&&u){var h;if(!(h=t.byId?t.byId(d[2],i):i.getElementById(d[2]))||d[1]&&d[1]!=h.tagName.toLowerCase())return[];if(r!=i)for(var f=h;f!=r;)if(!(f=f.parentNode))return[];return d[3]?s(d[3],h):[h]}if(d[3]&&r.getElementsByClassName)return r.getElementsByClassName(d[4]);if(d[5]){if(h=r.getElementsByTagName(d[5]),!d[4]&&!d[6])return h;n=(d[4]||"")+d[6]}}if(o)return 1===r.nodeType&&"object"!==r.nodeName.toLowerCase()?a(r,n,r.querySelectorAll):r.querySelectorAll(n);h||(h=r.getElementsByTagName("*"));for(var p=[],v=0,g=h.length;v<g;v++){var m=h[v];1==m.nodeType&&l(m,n,r)&&p.push(m)}return p},a=function(e,t,n){var r=e,o=e.getAttribute("id"),s=o||"__dojo__",a=e.parentNode,l=/^\\s*[+~]/.test(t);if(l&&!a)return[];o?s=s.replace(/\'/g,"\\\\$&"):e.setAttribute("id",s),l&&a&&(e=e.parentNode);for(var c=t.match(i),d=0;d<c.length;d++)c[d]="[id=\'"+s+"\'] "+c[d];t=c.join(",");try{return n.call(e,t)}finally{o||r.removeAttribute("id")}};if(!e("dom-matches-selector"))var l=function(){var e="div"==n.tagName?"toLowerCase":"toUpperCase",t={"":function(t){return t=t[e](),function(e){return e.tagName==t}},".":function(e){var t=" "+e+" ";return function(n){return n.className.indexOf(e)>-1&&(" "+n.className+" ").indexOf(t)>-1}},"#":function(e){return function(t){return t.id==e}}},r={"^=":function(e,t){return 0==e.indexOf(t)},"*=":function(e,t){return e.indexOf(t)>-1},"$=":function(e,t){return e.substring(e.length-t.length,e.length)==t},"~=":function(e,t){return(" "+e+" ").indexOf(" "+t+" ")>-1},"|=":function(e,t){return 0==(e+"-").indexOf(t+"-")},"=":function(e,t){return e==t},"":function(e,t){return!0}};function o(e){return function(t,n){for(;(t=t.parentNode)!=n;)if(e(t,n))return!0}}function i(e){return function(t,n){return t=t.parentNode,e?t!=n&&e(t,n):t==n}}var s={};function a(e,t){return e?function(n,r){return t(n)&&e(n,r)}:t}return function(e,n,l){var c=s[n];if(!c){if(n.replace(/(?:\\s*([> ])\\s*)|(#|\\.)?((?:\\\\.|[\\w-])+)|\\[\\s*([\\w-]+)\\s*(.?=)?\\s*("(?:\\\\.|[^"])+"|\'(?:\\\\.|[^\'])+\'|(?:\\\\.|[^\\]])*)\\s*\\]/g,function(e,n,s,l,d,u,h){return l?c=a(c,t[s||""](l.replace(/\\\\/g,""))):n?c=(" "==n?o:i)(c):d&&(c=a(c,function(e,t,n){var o=t.charAt(0);\'"\'!=o&&"\'"!=o||(t=t.slice(1,-1)),t=t.replace(/\\\\/g,"");var i=r[n||""];return function(n){var r=n.getAttribute(e);return r&&i(r,t)}}(d,h,u))),""}))throw new Error("Syntax error in query");if(!c)return!0;s[n]=c}return c(e,l)}}();if(!e("dom-qsa"))var c=function(e,t){for(var n=e.match(i),r=[],o=0;o<n.length;o++){(e=new String(n[o].replace(/\\s*$/,""))).indexOf=escape;for(var a=s(e,t),l=0,c=a.length;l<c;l++){var d=a[l];r[d.sourceIndex]=d}}var u=[];for(o in r)u.push(r[o]);return u};return s.match=r?function(e,t,n){return n&&9!=n.nodeType?a(n,t,function(t){return r.call(e,t)}):r.call(e,t)}:l,s}.apply(null,r))||(e.exports=o)},2616(e,t,n){var r,o;n.dj.r;r=[n(6356)],void 0===(o=function(e){if(e("host-browser")){var t=navigator,n=t.userAgent,r=t.appVersion,o=parseFloat(r);if(e.add("air",n.indexOf("AdobeAIR")>=0),e.add("wp",parseFloat(n.split("Windows Phone")[1])||void 0),e.add("msapp",parseFloat(n.split("MSAppHost/")[1])||void 0),e.add("khtml",r.indexOf("Konqueror")>=0?o:void 0),e.add("edge",parseFloat(n.split("Edge/")[1])||void 0),e.add("opr",parseFloat(n.split("OPR/")[1])||void 0),e.add("webkit",!e("wp")&&!e("edge")&&parseFloat(n.split("WebKit/")[1])||void 0),e.add("chrome",!e("edge")&&!e("opr")&&parseFloat(n.split("Chrome/")[1])||void 0),e.add("android",!e("wp")&&parseFloat(n.split("Android ")[1])||void 0),e.add("safari",!(r.indexOf("Safari")>=0)||e("wp")||e("chrome")||e("android")||e("edge")||e("opr")?void 0:parseFloat(r.split("Version/")[1])),e.add("mac",r.indexOf("Macintosh")>=0),e.add("quirks","BackCompat"==document.compatMode),!e("wp")&&n.match(/(iPhone|iPod|iPad)/)){var i=RegExp.$1.replace(/P/,"p"),s=n.match(/OS ([\\d_]+)/)?RegExp.$1:"1",a=parseFloat(s.replace(/_/,".").replace(/_/g,""));e.add(i,a),e.add("ios",a)}if(e.add("bb",(n.indexOf("BlackBerry")>=0||n.indexOf("BB10")>=0)&&parseFloat(n.split("Version/")[1])||void 0),e.add("trident",parseFloat(r.split("Trident/")[1])||void 0),e.add("svg","undefined"!=typeof SVGAngle),!e("webkit")){if(n.indexOf("Opera")>=0&&e.add("opera",o>=9.8&&parseFloat(n.split("Version/")[1])||o),!(n.indexOf("Gecko")>=0)||e("wp")||e("khtml")||e("trident")||e("edge")||e.add("mozilla",o),e("mozilla")&&e.add("ff",parseFloat(n.split("Firefox/")[1]||n.split("Minefield/")[1])||void 0),document.all&&!e("opera")){var l=parseFloat(r.split("MSIE ")[1])||void 0,c=document.documentMode;c&&5!=c&&Math.floor(l)!=c&&(l=c),e.add("ie",l)}e.add("wii","undefined"!=typeof opera&&opera.wiiremote)}}return e}.apply(null,r))||(e.exports=o)},7539(e,t,n){var r,o;n.dj.r;r=[n(1054),n(6323)],o=function(e,t){var n=/[&<>\'"\\/]/g,r={"&":"&","<":"<",">":">",\'"\':""","\'":"'","/":"/"},o={};return t.setObject("dojo.string",o),o.escape=function(e){return e?e.replace(n,function(e){return r[e]}):""},o.codePointAt=String.prototype.codePointAt?function(e,t){return String.prototype.codePointAt.call(e,t)}:function(e,t){if(null==e)throw new TypeError("codePointAt called on null or undefined");var n,r,o,i;if(n=(e=String(e)).length,(i=t?Number(t):0)!=i&&(i=0),!(i<0||i>=n))return(r=e.charCodeAt(i))>=55296&&r<=56319&&n>i+1&&(o=e.charCodeAt(i+1))>=56320&&o<=57343?1024*(r-55296)+o-56320+65536:r},o.fromCodePoint=String.fromCodePoint||function(){var e,t,n=[],r=0,o="";for(t=0,len=arguments.length;t!==len;++t){if(!((e=+arguments[t])<1114111&&e>>>0===e))throw RangeError("Invalid code point: "+e);e<=65535?r=n.push(e):(e-=65536,r=n.push(55296+(e>>10),e%1024+56320)),r>=16383&&(o+=String.fromCharCode.apply(null,n),n.length=0)}return o+String.fromCharCode.apply(null,n)},o.rep=function(e,t){if(t<=0||!e)return"";for(var n=[];1&t&&n.push(e),t>>=1;)e+=e;return n.join("")},o.pad=function(e,t,n,r){n||(n="0");var i=String(e),s=o.rep(n,Math.ceil((t-i.length)/n.length));return r?i+s:s+i},o.substitute=function(n,r,o,i){return i=i||e.global,o=o?t.hitch(i,o):function(e){return e},n.replace(/\\$\\{([^\\s\\:\\}]*)(?:\\:([^\\s\\:\\}]+))?\\}/g,function(e,n,s){if(""==n)return"$";var a=t.getObject(n,!1,r);s&&(a=t.getObject(s,!1,i).call(i,a,n));var l=o(a,n);if(void 0===l)throw new Error(\'string.substitute could not find key "\'+n+\'" in template\');return l.toString()})},o.trim=String.prototype.trim?t.trim:function(e){for(var t=(e=e.replace(/^\\s+/,"")).length-1;t>=0;t--)if(/\\S/.test(e.charAt(t))){e=e.substring(0,t+1);break}return e},o}.apply(null,r),void 0===o||(e.exports=o)},9445(e,t,n){var r,o;n.dj.r;r=[n(1054),n.dj.c(e),n(6356),n(8769)],o=function(e,t,n,r){var o;n("host-browser")?o=function(e,t,n){r(e,{sync:!!t,headers:{"X-Requested-With":null}}).then(n)}:t.getText?o=t.getText:console.error("dojo/text plugin failed to load because loader does not support getText");var i={},s=function(e){if(e){var t=(e=e.replace(/^\\s*<\\?xml(\\s)+version=[\\\'\\"](\\d)*.(\\d)*[\\\'\\"](\\s)*\\?>/im,"")).match(/<body[^>]*>\\s*([\\s\\S]+)\\s*<\\/body>/im);t&&(e=t[1])}else e="";return e},a={},l={};return e.cache=function(e,n,r){var a;"string"==typeof e?/\\//.test(e)?(a=e,r=n):a=t.toUrl(e.replace(/\\./g,"/")+(n?"/"+n:"")):(a=e+"",r=n);var l=null!=r&&"string"!=typeof r?r.value:r,c=r&&r.sanitize;return"string"==typeof l?(i[a]=l,c?s(l):l):null===l?(delete i[a],null):(a in i||o(a,!0,function(e){i[a]=e}),c?s(i[a]):i[a])},{dynamic:!0,normalize:function(e,t){var n=e.split("!"),r=n[0];return(/^\\./.test(r)?t(r):r)+(n[1]?"!"+n[1]:"")},load:function(e,t,n){var r=e.split("!"),c=r.length>1,d=r[0],u=t.toUrl(r[0]),h="url:"+u,f=a,p=function(e){n(c?s(e):e)};if(d in i?f=i[d]:t.cache&&h in t.cache?f=t.cache[h]:u in i&&(f=i[u]),f===a)if(l[u])l[u].push(p);else{var v=l[u]=[p];o(u,!t.async,function(e){i[d]=i[u]=e;for(var t=0;t<v.length;)v[t++](e);delete l[u]})}else p(f)}}}.apply(null,r),void 0===o||(e.exports=o)},7111(e,t,n){var r,o;n.dj.r;r=[n(9925)],o=function(e){var t=new e;return{publish:function(e,n){return t.emit.apply(t,arguments)},subscribe:function(e,n){return t.on.apply(t,arguments)}}}.apply(null,r),void 0===o||(e.exports=o)},7443(e,t,n){var r,o;n.dj.r;r=[n(1054),n(6566),n(2284),n(8945),n(6323),n(2075),n(6356),n(8471),n(2641),n(5075)],void 0===(o=function(e,t,n,r,o,i,s,a,l,c){s("ios");var d,u=s("pointer-events")||s("MSPointer"),h=function(){var e={};for(var t in{down:1,move:1,up:1,cancel:1,over:1,out:1})e[t]=s("MSPointer")?"MSPointer"+t.charAt(0).toUpperCase()+t.slice(1):"pointer"+t;return e}(),f=s("touch-events");function p(e,t,n){return u&&n?function(e,t){return i(e,n,t)}:f?function(n,r){var o=i(n,t,function(e){r.call(this,e),d=(new Date).getTime()}),s=i(n,e,function(e){(!d||(new Date).getTime()>d+1e3)&&r.call(this,e)});return{remove:function(){o.remove(),s.remove()}}}:function(t,n){return i(t,e,n)}}var v={press:p("mousedown","touchstart",h.down),move:p("mousemove","dojotouchmove",h.move),release:p("mouseup","dojotouchend",h.up),cancel:p(a.leave,"touchcancel",u?h.cancel:null),over:p("mouseover","dojotouchover",h.over),out:p("mouseout","dojotouchout",h.out),enter:a._eventHandler(p("mouseover","dojotouchover",h.over)),leave:a._eventHandler(p("mouseout","dojotouchout",h.out))};return s("extend-dojo")&&(e.touch=v),v}.apply(null,r))||(e.exports=o)},2085(e,t,n){var r,o;n.dj.r;r=[n(2685),n(6323),n(2641),n(2616),n(5075)],void 0===(o=function(e,t,n,r,o){var i=o.doc.documentElement,s=r("ie"),a=r("trident"),l=r("opera"),c=Math.floor,d=r("ff"),u=e.boxModel.replace(/-/,""),h={dj_quirks:r("quirks"),dj_opera:l,dj_khtml:r("khtml"),dj_webkit:r("webkit"),dj_safari:r("safari"),dj_chrome:r("chrome"),dj_edge:r("edge"),dj_gecko:r("mozilla"),dj_ios:r("ios"),dj_android:r("android")};s&&(h.dj_ie=!0,h["dj_ie"+c(s)]=!0,h.dj_iequirks=r("quirks")),a&&(h.dj_trident=!0,h["dj_trident"+c(a)]=!0),d&&(h["dj_ff"+c(d)]=!0),h["dj_"+u]=!0;var f="";for(var p in h)h[p]&&(f+=p+" ");return i.className=t.trim(i.className+" "+f),n(function(){if(!e.isBodyLtr()){var n="dj_rtl dijitRtl "+f.replace(/ /g,"-rtl ");i.className=t.trim(i.className+" "+n+"dj_rtl dijitRtl "+f.replace(/ /g,"-rtl "))}}),r}.apply(null,r))||(e.exports=o)},3534(e,t,n){var r,o;n.dj.r;r=[n(5625),n(5479)],o=function(e,t){"use strict";return function(n,r,o,i){var s=n&&"function"==typeof n.then,a=s&&n instanceof t;if(!s)return arguments.length>1?r?r(n):n:(new e).resolve(n);if(!a){var l=new e(n.cancel);n.then(l.resolve,l.reject,l.progress),n=l.promise}return r||o||i?n.then(r,o,i):n}}.apply(null,r),void 0===o||(e.exports=o)},3930(e,t,n){var r,o;n.dj.r;r=[n(6323),n(2616),n(5075),n(2284),n(2685),n(1248),n(28)],void 0===(o=function(e,t,n,r,o,i,s){t.add("rtl-adjust-position-for-verticalScrollBar",function(e,t){var r=n.body(t),i=s.create("div",{style:{overflow:"scroll",overflowX:"visible",direction:"rtl",visibility:"hidden",position:"absolute",left:"0",top:"0",width:"64px",height:"64px"}},r,"last"),a=s.create("div",{style:{overflow:"hidden",direction:"ltr"}},i,"last"),l=0!=o.position(a).x;return i.removeChild(a),r.removeChild(i),l}),t.add("position-fixed-support",function(e,t){var r=n.body(t),i=s.create("span",{style:{visibility:"hidden",position:"fixed",left:"1px",top:"1px"}},r,"last"),a=s.create("span",{style:{position:"fixed",left:"0",top:"0"}},i,"last"),l=o.position(a).x!=o.position(i).x;return i.removeChild(a),r.removeChild(i),l});var a={getBox:function(e){var t,r,i="BackCompat"==(e=e||n.doc).compatMode?n.body(e):e.documentElement,s=o.docScroll(e);return t=i.clientWidth,r=i.clientHeight,{l:s.x,t:s.y,w:t,h:r}},get:function(e){if(t("ie")&&a!==document.parentWindow){e.parentWindow.execScript("document._parentWindow = window;","Javascript");var n=e._parentWindow;return e._parentWindow=null,n}return e.parentWindow||e.defaultView},scrollIntoView:function(e,s){try{var a=(e=r.byId(e)).ownerDocument||n.doc,l=n.body(a),c=a.documentElement||l.parentNode,d=t("ie")||t("trident"),u=t("webkit");if(e==l||e==c)return;if(!(t("mozilla")||d||u||t("opera")||t("trident")||t("edge"))&&"scrollIntoView"in e)return void e.scrollIntoView(!1);var h="BackCompat"==a.compatMode,f=Math.min(l.clientWidth||c.clientWidth,c.clientWidth||l.clientWidth),p=Math.min(l.clientHeight||c.clientHeight,c.clientHeight||l.clientHeight),v=u||h?l:c,g=s||o.position(e),m=e.parentNode,y=function(e){return!(d<=6||7==d&&h)&&(t("position-fixed-support")&&"fixed"==i.get(e,"position").toLowerCase())},_=this,b=function(e,t,n){"BODY"==e.tagName||"HTML"==e.tagName?_.get(e.ownerDocument).scrollBy(t,n):(t&&(e.scrollLeft+=t),n&&(e.scrollTop+=n))};if(y(e))return;for(;m;){m==l&&(m=v);var w=o.position(m),x=y(m),N="rtl"==i.getComputedStyle(m).direction.toLowerCase();if(m==v)w.w=f,w.h=p,v==c&&(d||t("trident"))&&N&&(w.x+=v.offsetWidth-w.w),w.x=0,w.y=0;else{var C=o.getPadBorderExtents(m);w.w-=C.w,w.h-=C.h,w.x+=C.l,w.y+=C.t;var j=m.clientWidth,S=w.w-j;j>0&&S>0&&(N&&t("rtl-adjust-position-for-verticalScrollBar")&&(w.x+=S),w.w=j),j=m.clientHeight,S=w.h-j,j>0&&S>0&&(w.h=j)}x&&(w.y<0&&(w.h+=w.y,w.y=0),w.x<0&&(w.w+=w.x,w.x=0),w.y+w.h>p&&(w.h=p-w.y),w.x+w.w>f&&(w.w=f-w.x));var T,E,M=g.x-w.x,A=g.y-w.y,P=M+g.w-w.w,R=A+g.h-w.h;P*M>0&&(m.scrollLeft||m==v||m.scrollWidth>m.offsetHeight)&&(T=Math[M<0?"max":"min"](M,P),N&&(8==d&&!h||t("trident")>=5)&&(T=-T),E=m.scrollLeft,b(m,T,0),T=m.scrollLeft-E,g.x-=T),R*A>0&&(m.scrollTop||m==v||m.scrollHeight>m.offsetHeight)&&(T=Math.ceil(Math[A<0?"max":"min"](A,R)),E=m.scrollTop,b(m,0,T),T=m.scrollTop-E,g.y-=T),m=m!=v&&!x&&m.parentNode}}catch(t){console.error("scrollIntoView: "+t),e.scrollIntoView(!1)}}};return t("extend-dojo")&&e.setObject("dojo.window",a),a}.apply(null,r))||(e.exports=o)},2894(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BUILD_VERSION=t.PKG_VERSION=t.PKG_NAME=void 0,t.PKG_NAME="@hpcc-js/dgrid-shim",t.PKG_VERSION="3.5.0",t.BUILD_VERSION="3.5.0"},4808(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Pagination=t.GridHelper=void 0;var r=n(8301),o=n(6937),i=n(655),s=n(6345),a=n(4203),l=n(8945);t.GridHelper=s(null,{allowTextSelection:!0,noDataMessage:"<span class=\'dojoxGridNoData\'>...empty...</span>",loadingMessage:"<span class=\'dojoxGridNoData\'>loading...</span>",postCreate:function e(t){this.inherited(e,arguments);var n=this,r=0,o=null,s=!1;this.headerNode.addEventListener("mousedown",function(e){var t=e.target;if(t.classList.contains("dgrid-resize-handle")){var i=t.columnId,a=Date.now();if(i===o&&a-r<=300){r=0,o=null,e.stopPropagation(),e.preventDefault();var l=n.columns[i];if(!l)return;s=!0,n.domNode.dispatchEvent(new CustomEvent("dgrid-column-autofit",{detail:l,bubbles:!0,cancelable:!0}))}else r=a,o=i}},{capture:!0}),this.headerNode.addEventListener("click",function(e){s&&(s=!1,e.stopPropagation(),e.preventDefault())},{capture:!0}),this.__hpcc_tooltip_header=new i({connectId:[this.id],selector:".dgrid-resize-header-container",showDelay:400,getContent:function(e){return e.offsetWidth<e.scrollWidth-4?e.innerHTML:""}}),this.__hpcc_tooltip_header.position=["above-centered","below-centered","before-centered","after-centered"],this.__hpcc_tooltip=new i({connectId:[this.id],selector:"td",showDelay:400,getContent:function(e){return e.offsetWidth<=e.scrollWidth?e.innerHTML:""}}),this.__hpcc_tooltip.position=["above-centered","below-centered","before-centered","after-centered"]},refresh:function e(t){this.inherited(e,arguments,[t||{keepScrollPosition:!0,keepCurrentPage:!0}])},clearSelection:function e(){this.inherited(e,arguments),a("input[type=checkbox]",this.domNode).forEach(function(e){e.checked=!1,e.indeterminate=!1})},applyWidth:function(e,t){var n,r=null===(n=this._columnSizes)||void 0===n?void 0:n[e];(null==r?void 0:r.set)?r.set("width",t):this.styleColumn(e,"width: ".concat(t))},resizeColumn:function(e,t){var n,r;this.applyWidth(e,"".concat(t,"px"));var o=null===(r=null===(n=this._getResizedColumnWidths)||void 0===n?void 0:n.call(this))||void 0===r?void 0:r.lastColId;o&&o!==e&&this.applyWidth(o,"auto"),this.resize()}});t.Pagination=s([o],{refresh:function(e){var t=this,n=e&&e.keepCurrentPage&&Math.min(this._currentPage,Math.ceil(this._total/this.rowsPerPage))||1;return r.prototype.refresh.apply(this,arguments),this.gotoPage(n).then(function(e){return t._emitRefreshComplete(),e})},_updateNavigation:function e(t){var n;if(this.inherited(e,arguments),t>=0x7ffffffffffffc00){a(".dgrid-page-link:last-child",this.paginationNavigationNode).forEach(function(e){l.toggle(e,"dgrid-page-disabled",!0),isNaN(parseInt(e.innerText,10))||(e.innerText="???"),e.tabIndex=-1});var r=a(".dgrid-status",this.paginationNode)[0];r.innerText=null===(n=null==r?void 0:r.innerText)||void 0===n?void 0:n.replace(/[0-9]{7,}/,"unknown")}}})},2090(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.ColumnSetGrid=t.PagingGrid=t.Grid=t.QueryResults=t.Memory=t.domConstruct=t.Deferred=void 0,o(n(2894),t);var i=n(6345),s=n(5625),a=n(28);t.Deferred=s,t.domConstruct=a;var l=n(5907),c=n(2626);t.Memory=l,t.QueryResults=c;var d=n(1540),u=n(5602),h=n(9173),f=n(2348),p=n(1996),v=n(5533),g=n(297),m=n(4481),y=n(4808);t.Grid=i("Grid",[u,h,f,v,g,y.GridHelper]),t.Grid.prototype.i18nPagination=m.root,t.PagingGrid=i("PagingGrid",[d,y.Pagination,h,f,v,g,y.GridHelper]),t.PagingGrid.prototype.i18nPagination=m.root,t.ColumnSetGrid=i("ColumnSetGrid",[u,p,h,f,v,y.GridHelper]),t.ColumnSetGrid.prototype.i18nPagination=m.root}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};if(!(e in __webpack_modules__)){delete __webpack_module_cache__[e];var r=new Error("Cannot find module \'"+e+"\'");throw r.code="MODULE_NOT_FOUND",r}return __webpack_modules__[e].call(n.exports,n,n.exports,__webpack_require__),n.loaded=!0,n.exports}__webpack_require__.m=__webpack_modules__,function(){function e(e,t){return a.require.toUrl(e,t)}function t(e,t){return a.require.toAbsMid(e,t)}function n(e,t,r){return i(e,t,r,0,n)}function r(e){for(var t in e)n.absMids[t]=e[t],n.absMidsById[e[t]]||(n.absMidsById[e[t]]=t)}function o(e,r,o,i){var s;if((e=e.split("!").map(function(e){return"."!==e.charAt(0)||r?t(e,r?{mid:r}:null):e}).join("!"))in n.absMids&&__webpack_require__.m[n.absMids[e]])if(o){var a=__webpack_module_cache__[n.absMids[e]];s=a&&(i?a:a.exports)}else s=__webpack_require__(n.absMids[e]);if(!s)throw new Error("Module not found: "+e);return s}function i(e,t,n,r,i){var s={}.toString.call(e);if("[object String]"===s){var a=o(e,r,!(!1===n));if("object"==typeof a&&a.__DOJO_WEBPACK_DEFINE_PROMISE__)throw new Error("Module not found: "+e);return a}if("[object Object]"===s)throw new Error("Require config is not supported by WebPack");if("[object Array]"===s){var l=[],c=t,d=[];if(e.forEach(function(e){try{l.push(o(e,r))}catch(t){d.push({mid:e,error:t})}}),0===d.length)c&&c.apply(this,l);else{var u=new Error("findModules");u.src="dojo-webpack-plugin",u.info=d,i.signal("error",u)}return i}throw new Error("Unsupported require call")}n.toUrl=e,n.toAbsMid=t,n.absMids={},n.absMidsById=[],n.async=1;var s=this||window;if(r({"dojo/_base/declare":6345,"dojo/_base/kernel":1054,"dojo/global":1925,"dojo/has":6356,"dojo/_base/config":7361,"dojo/_base/lang":6323,"dojo/sniff":2616,"dojo/Deferred":5625,"dojo/errors/CancelError":1662,"dojo/errors/create":4332,"dojo/promise/Promise":5479,"dojo/promise/instrumentation":2236,"dojo/promise/tracer":3185,"dojo/Evented":9925,"dojo/aspect":6566,"dojo/on":2075,"dojo/_base/array":6974,"dojo/dom-construct":28,"dojo/_base/window":5075,"dojo/dom":2284,"dojo/dom-attr":7878,"dojo/dom-style":1248,"dojo/dom-prop":5244,"dojo/_base/connect":5641,"dojo/topic":7111,"dojo/_base/event":3503,"dojo/dom-geometry":2685,"dojo/mouse":8471,"dojo/_base/sniff":3927,"dojo/keys":4266,"dojo-dstore/Memory":5907,"dojo-dstore/Store":1603,"dojo/when":3534,"dojo-dstore/QueryMethod":2219,"dojo-dstore/Filter":8942,"dojo-dstore/Promised":6739,"dojo-dstore/QueryResults":2626,"dojo-dstore/SimpleQuery":3060,"dgrid/Grid":1540,"dojo/dom-class":8945,"dgrid/List":4624,"dojo/query":1172,"dojo/selector/_loader":5226,"dojo/selector/lite":6178,"dojo/selector/_loader!default":6178,"dgrid/util/misc":4975,"dgrid/OnDemandGrid":5602,"dgrid/OnDemandList":6850,"dgrid/_StoreMixin":8301,"dgrid/Keyboard":9173,"dgrid/Selection":2348,"dgrid/util/touch":5892,"dgrid/ColumnSet":1996,"dgrid/extensions/ColumnResizer":5533,"dojo/_base/html":1142,"dgrid/extensions/CompoundColumns":297,"dgrid/extensions/nls/pagination":4481,"dgrid/extensions/Pagination":6937,"dojo/string":7539,"dojo/i18n!dgrid/extensions/nls/pagination":1442,"dojo/i18n":3878,"dojo/_base/xhr":225,"dojo/io-query":6587,"dojo/dom-form":3159,"dojo/json":8212,"dojo/_base/Deferred":280,"dojo/_base/json":4861,"dojo/request/watch":3621,"dojo/request/util":5540,"dojo/errors/RequestError":8241,"dojo/errors/RequestTimeoutError":9608,"dojo/request/default!":9648,"dojo/request/xhr":9648,"dojo/request/handlers":2573,"dijit/Tooltip":655,"dojo/_base/fx":5577,"dojo/_base/Color":1692,"dijit/_base/manager":9600,"dijit/registry":7601,"dijit/main":231,"dijit/place":1019,"dijit/Viewport":1600,"dojo/domReady":2641,"dojo/window":3930,"dijit/_Widget":3549,"dojo/ready":9671,"dijit/_WidgetBase":3068,"dojo/Stateful":4062,"dijit/Destroyable":6510,"dijit/_BidiMixin":5250,"dijit/_OnDijitClickMixin":8709,"dijit/a11yclick":8240,"dojo/touch":7443,"dijit/_FocusMixin":4368,"dijit/focus":7304,"dijit/a11y":3050,"dojo/uacss":2085,"dijit/hccss":664,"dojo/hccss":9276,"dijit/_TemplatedMixin":998,"dojo/cache":4642,"dojo/text":9445,"dojo/request":8769,"dijit/_AttachMixin":5659,"dijit/BackgroundIframe":610,"dojo/text!dijit/templates/Tooltip.html":9409,"dojo/_base/query":4203,"dojo/_base/NodeList":6659,"dojo/NodeList-dom":8288}),s.require=n,(self.webpackChunk_hpcc_js_dgrid_shim=self.webpackChunk_hpcc_js_dgrid_shim||[]).registerAbsMids=r,__webpack_require__.dj&&"dojo-webpack-plugin"!==__webpack_require__.dj.name)throw new Error("__webpack_require__.dj name collision.");__webpack_require__.dj={name:"dojo-webpack-plugin",r:n,c:function(r){if(!r)return n;var o=r.absMid;if(!o&&n.absMidsById[r.id]&&(o=n.absMidsById[r.id]),!o)return n;var s=function(e,t,r){return i(e,t,r,o,n)};for(var a in n)n.hasOwnProperty(a)&&(s[a]=n[a]);return s.toUrl=function(t){return e(t,o?{mid:o}:null)},s.toAbsMid=function(e){return t(e,o?{mid:o}:null)},n.undef&&(s.undef=function(e){n.undef(e,o)}),s},m:function(e){if(e.absMid)return e;var t={i:e.id},r=n.absMidsById[e.id];return r&&(t.id=t.absMid=r),Object.defineProperty(t,"exports",{get:function(){return e.exports},set:function(t){e.exports=t},enumerable:!0,configurable:!0}),t},h:function(e){var t=o("dojo/has",null,!1).normalize(e,function(e){return e});return t&&__webpack_require__(t)||void 0}};var a=Object.create(s,{document:{value:s.document}});Object.defineProperties(a,{window:{value:a},global:{value:a}}),a.define=a.require=void 0,s.dojoConfig=s.dojoConfig||{};var l=function(e,t){for(var n in t)e[n]=t[n];return e}(s.dojoConfig,{baseUrl:".",deps:["lib/index"],async:!0,has:{"dojo-config-api":!1},selectorEngine:"lite",fixupUrl:function(e){return/\\/(dojo|dijit|dojox)\\/.*\\.js$/.test(e)&&(e+=".uncompressed.js"),e}}),c={hasCache:{webpack:1,"host-browser":1,dom:1,"dojo-loader":1,"dojo-has-api":1,"dojo-dom-ready-api":1,"dojo-sniff":1,"dojo-test-sniff":1,"config-deferredInstrumentation":1,"config-tlmSiblingOfDojo":1},paths:{js:"js",theme:"theme",css:"//chuckdumont.github.io/dojo-css-plugin/1.0.0/css"},pathsMapProg:[["theme","theme",/^theme(\\/|$)/,5],["css","//chuckdumont.github.io/dojo-css-plugin/1.0.0/css",/^css(\\/|$)/,3],["js","js",/^js(\\/|$)/,2]],packs:{dojo:{main:"main",name:"dojo",location:"./dist/dojo",lib:"."},dijit:{main:"main",name:"dijit",location:"./dist/dijit",lib:"."},dojox:{main:"main",name:"dojox",location:"./dist/dojox",lib:"."},"dijit-themes":{main:"main",name:"dijit-themes",location:"./dist/dijit-themes",lib:"."},dgrid:{main:"main",name:"dgrid",location:"./dist/dgrid",lib:"."},dstore:{main:"main",name:"dstore",location:"./dist/dojo-dstore",lib:"."}},aliases:[],mapProgs:[],cacheBust:void 0,modules:{},cache:{}};function t(e,t){var n=a.require.originalToAbsMid(e,t);if(n.indexOf("/")===n.length-1){var r=n.substring(0,n.length-1),o=a.require.packs[r];o&&o.realMain&&(n=r)}return n}function e(e,t){var n=a.require.originalToUrl(e,t),r=a.require.packs[e];if(r&&r.realMain){var o=n.split("?");/(^\\/)|(\\:)/.test(r.realMain)?o[0]=r.realMain:o[0]=o[0]+"/"+r.realMain,n=o.join("?")}return n}__webpack_require__(2840).call(a,l,c,a,a),a.require.baseUrl="./",Object.keys(a.require.packs).forEach(function(e){var t=a.require.packs[e];(/(^\\/)|(\\:)/.test(t.main)||t.main.split("/").reduce(function(e,t){return e<0||"."===t?e:".."===t?--e:++e},0)<=0)&&void 0===t.realMain&&(t.realMain=t.main,t.main="")}),a.require.originalToAbsMid=a.require.toAbsMid,a.require.originalToUrl=a.require.toUrl,a.require.toAbsMid=t,a.require.toUrl=e,["baseUrl","has","rawConfig","on","signal"].forEach(function(e){n[e]=a.require[e]});var d=s.webpackChunk_hpcc_js_dgrid_shim.absMidsWaiting;d&&(d.forEach(r),delete s.webpackChunk_hpcc_js_dgrid_shim.absMidsWaiting)}();var __webpack_exports__=__webpack_require__(2090);return __webpack_exports__})());\n//# sourceMappingURL=index.min.js.map');globalThis["@hpcc-js/dgrid-shim"]||(u(globalThis),globalThis["@hpcc-js/dgrid-shim"]||console.error("dgrid-shim failed to load from inlined bundle"));const d=globalThis["@hpcc-js/dgrid-shim"].Deferred,h=globalThis["@hpcc-js/dgrid-shim"].Memory,f=globalThis["@hpcc-js/dgrid-shim"].QueryResults,p=globalThis["@hpcc-js/dgrid-shim"].Grid,g=globalThis["@hpcc-js/dgrid-shim"].PagingGrid,m=globalThis["@hpcc-js/dgrid-shim"].ColumnSetGrid,v=globalThis["@hpcc-js/dgrid-shim"].domConstruct;function _(e){return String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""")}function y(e){switch(Object.prototype.toString.call(e)){case"[object Undefined]":case"[object Boolean]":case"[object Number]":return e;case"[object String]":return _(e);default:console.warn("Unknown cell type: "+Object.prototype.toString.call(e))}return e}function b(e){return e instanceof Array}t(_,"entitiesEncode"),t(y,"safeEncode"),t(b,"isArray");const w=class _RowFormatter{constructor(e,t){this._renderHtml=t,this._columns=e,this.flattenColumns(e)}_renderHtml;_columns;_flattenedColumns=[];_columnIdx={};_formattedRow={};flattenColumns(e){for(const t of e)this.flattenColumn(t)}flattenColumn(e){if(e.children)for(const t of e.children)this.flattenColumn(t);else this._columnIdx[e.field]=this._flattenedColumns.length,this._flattenedColumns.push(e.field)}format(e){return this._formattedRow={},this.formatRow(this._columns,e),this.row()}calcDepth(e,t){let n=1;for(const r of e)if(r.children&&t[r.leafID]){let e=0,o=[];b(t[r.leafID])?o=t[r.leafID]:b(t[r.leafID].Row)&&(o=t[r.leafID].Row);for(const t of o)e+=this.calcDepth(r.children,t);n=Math.max(n,e)}return n}formatCell(e,t,n){if(e.children){let n=0;b(t)||(t=b(t.Row)?t.Row:[t]);for(const r of t)n=Math.max(n,this.formatRow(e.children,r))}else if(e.isSet&&(t=JSON.stringify(t.Item)),void 0===this._formattedRow[e.field]?this._formattedRow[e.field]=""+(void 0===t?"":this._renderHtml?t:y(t)):(this._formattedRow[e.field]+="<br><hr class='dgrid-fakeline'>",this._formattedRow[e.field]+=""+(void 0===t?"":this._renderHtml?t:y(t))),n>1){const t=[];t.length=n;const r=t.join("<br><hr class='dgrid-fakeline' style='visibility: hidden'>");this._formattedRow[e.field]+=r}}formatRow(e,t=[],n=0){const r=this.calcDepth(e,t);for(const o of e)this.formatCell(o,t[o.leafID],r);return r}row(){const e={};for(const t of this._flattenedColumns)e[t]=this._formattedRow[t];return e}};t(w,"RowFormatter");let x=w;const C=class _DBStore{_db;Model;idProperty;constructor(e){this._db=e}_renderHtml=!0;renderHtml(e){this._renderHtml=e}db2Columns(e,t,n="",r,o){return t?t.map((t,i)=>{const s={label:t.label(),leafID:""+i,field:n+i,idx:i,className:"resultGridCell",sortable:e,hidden:!1,isSet:!1};if("nested"===t.type())s.children=this.db2Columns(!1,t.children(),n+i+"_",r),s.sortable=!1;else s.formatter=r,s.renderCell=o;return s}):[]}columns(e,t,n){return this.db2Columns(e,this._db.fields(),"",t,n)}getIdentity(e){return e.__hpcc_id}get(e){return this._db.row(e+1)}_fetchRange(e){const t=new x(this.columns(!1),this._renderHtml);return this._db.data().slice(e.start,e.end).map((n,r)=>({...t.format(n),__hpcc_id:e.start+r,__origRow:n}))}fetchRange(e){const t=this._fetchRange(e),n=new d;return n.totalLength=new d,n.resolve(t),n.totalLength.resolve(this._db.length()-1),n}sort(e){return this._db.data().sort((t,n)=>{for(const r of e){const e=r.property;if(void 0===t[e]&&void 0!==n[e]||t[e]<n[e])return r.descending?1:-1;if(void 0!==t[e]&&void 0===n[e]||t[e]>n[e])return r.descending?-1:1}return 0}),this}};t(C,"DBStore");let N=C;const j=class _Common extends n{_columns=[];_store=new N(this._db);_dgridDiv;_dgrid;_prevPaging;_prevSortBy;_prevSortByDescending;_prevMultiSelect;constructor(){super(),this._tag="div"}formatSortBy(){const e=this.columns().indexOf(this.sortBy());return e>=0?[{property:e.toString(),descending:this.sortByDescending()}]:void 0}_supressEvents;selection(e){if(!arguments.length){const e=[];for(const t in this._dgrid.selection)if(this._dgrid.selection[t]){const n=this._store.get(+t);e.push(this.rowToObj(n))}return e}this._supressEvents=!0,this._dgrid?.clearSelection();let t=!0;this.data().forEach((n,r)=>{if(e.indexOf(n)>=0){const e=this._dgrid?.row(r);e.element&&t&&(t=!1,e.element.scrollIntoView()),this._dgrid?.select(r)}}),this._supressEvents=!1}enter(e,t){super.enter(e,t),this._dgridDiv=t.append("div").attr("class","flat")}update(e,t){super.update(e,t),this._store.renderHtml(this.renderHtml()),this._dgrid&&this._prevPaging===this.pagination()&&this._prevSortBy===this.sortBy()&&this._prevSortByDescending===this.sortByDescending()&&this._prevMultiSelect===this.multiSelect()||(this._prevPaging=this.pagination(),this._prevSortBy=this.sortBy(),this._prevSortByDescending=this.sortByDescending(),this._prevMultiSelect=this.multiSelect(),this._dgrid&&(this._dgrid.destroy(),this._dgridDiv=t.append("div").attr("class","flat")),this._dgrid=this._createGrid({...this._gridColumnsConfig(),collection:this._store,sort:this.formatSortBy(),selectionMode:this.multiSelect()?"extended":"single",deselectOnRefresh:!0,cellNavigation:!1,pagingLinks:1,pagingTextBox:!0,previousNextArrows:!0,firstLastArrows:!0,rowsPerPage:this.pageSize(),pageSizeOptions:[1,10,25,50,100,1e3]},this._dgridDiv.node()),this._dgrid.on("dgrid-select",e=>{this._supressEvents||e.rows&&e.rows.length&&e.rows[0].data&&this.click(this.rowToObj(e.rows[0].data.__origRow),"",!0,{selection:this.selection()})}),this._dgrid.on("dgrid-deselect",e=>{this._supressEvents||e.rows&&e.rows.length&&e.rows[0].data&&this.click(this.rowToObj(e.rows[0].data.__origRow),"",!1,{selection:this.selection()})}),this._dgrid.on("dgrid-column-autofit",e=>{if(!this._supressEvents&&e.detail?.label){const t=this._columns.find(t=>t.label===e.detail.label);if(!t)return;this.dblclickColResize(t.label,t)}}),this._dgrid.refresh({})),this._dgrid.noDataMessage=`<span class='dojoxGridNoData'>${this.noDataMessage()}</span>`,this._dgrid.loadingMessage=`<span class='dojoxGridNoData'>${this.loadingMessage()}</span>`,this._dgridDiv.style("width",this.width()+"px").style("height",this.height()-2+"px"),this._dgrid.resize()}exit(e,t){delete this._prevPaging,this._dgrid&&(this._dgrid.destroy(),delete this._dgrid),super.exit(e,t)}click(e,t,n,r){}dblclickColResize(e,t){}_gridColumnsConfig(){return{columns:this._columns}}_createGrid(e,t){return new(this._prevPaging?g:p)(e,t)}};t(j,"Common");let S=j;function T(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function E(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function M(e){return(e=E(Math.abs(e)))?e[1]:NaN}function A(e,t){return function(n,r){for(var o=n.length,i=[],s=0,a=e[0],l=0;o>0&&a>0&&(l+a+1>r&&(a=Math.max(1,r-l)),i.push(n.substring(o-=a,o+a)),!((l+=a+1)>r));)a=e[s=(s+1)%e.length];return i.reverse().join(t)}}function R(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}S.prototype._class+=" dgrid_Common",S.prototype.publish("noDataMessage","...empty...","string","No Data Message"),S.prototype.publish("loadingMessage","loading...","string","Loading Message"),S.prototype.publish("pagination",!1,"boolean","Enable paging"),S.prototype.publish("pageSize",25,"number","Page size"),S.prototype.publish("sortable",!1,"boolean","Enable sorting by column"),S.prototype.publish("sortBy",null,"set","Default 'sort by' Column ID",function(){return this.columns()},{optional:!0}),S.prototype.publish("sortByDescending",!1,"boolean","Default 'sort by' descending",void 0,{disable:/* @__PURE__ */t(e=>!e.sortBy(),"disable")}),S.prototype.publish("multiSelect",!1,"boolean","Multiple Selection"),S.prototype.publish("renderHtml",!0,"boolean","Render HTML"),t(T,"formatDecimal"),t(E,"formatDecimalParts"),t(M,"exponent"),t(A,"formatGroup"),t(R,"formatNumerals");var P,D=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function L(e){if(!(t=D.exec(e)))throw new Error("invalid format: "+e);var t;return new I({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function I(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function k(e){e:for(var t,n=e.length,r=1,o=-1;r<n;++r)switch(e[r]){case".":o=t=r;break;case"0":0===o&&(o=r),t=r;break;default:if(!+e[r])break e;o>0&&(o=0)}return o>0?e.slice(0,o)+e.slice(t+1):e}function O(e,t){var n=E(e,t);if(!n)return e+"";var r=n[0],o=n[1],i=o-(P=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,s=r.length;return i===s?r:i>s?r+new Array(i-s+1).join("0"):i>0?r.slice(0,i)+"."+r.slice(i):"0."+new Array(1-i).join("0")+E(e,Math.max(0,t+i-1))[0]}function H(e,t){var n=E(e,t);if(!n)return e+"";var r=n[0],o=n[1];return o<0?"0."+new Array(-o).join("0")+r:r.length>o+1?r.slice(0,o+1)+"."+r.slice(o+1):r+new Array(o-r.length+2).join("0")}t(L,"formatSpecifier"),L.prototype=I.prototype,t(I,"FormatSpecifier"),I.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type},t(k,"formatTrim"),t(O,"formatPrefixAuto"),t(H,"formatRounded");const F={"%":/* @__PURE__ */t(function(e,t){return(100*e).toFixed(t)},"%"),b:/* @__PURE__ */t(function(e){return Math.round(e).toString(2)},"b"),c:/* @__PURE__ */t(function(e){return e+""},"c"),d:T,e:/* @__PURE__ */t(function(e,t){return e.toExponential(t)},"e"),f:/* @__PURE__ */t(function(e,t){return e.toFixed(t)},"f"),g:/* @__PURE__ */t(function(e,t){return e.toPrecision(t)},"g"),o:/* @__PURE__ */t(function(e){return Math.round(e).toString(8)},"o"),p:/* @__PURE__ */t(function(e,t){return H(100*e,t)},"p"),r:H,s:O,X:/* @__PURE__ */t(function(e){return Math.round(e).toString(16).toUpperCase()},"X"),x:/* @__PURE__ */t(function(e){return Math.round(e).toString(16)},"x")};function B(e){return e}t(B,"identity");var q,z,W=Array.prototype.map,U=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function K(e){var n=void 0===e.grouping||void 0===e.thousands?B:A(W.call(e.grouping,Number),e.thousands+""),r=void 0===e.currency?"":e.currency[0]+"",o=void 0===e.currency?"":e.currency[1]+"",i=e.decimal+"",s=void 0===e.numerals?B:R(W.call(e.numerals,String)),a=void 0===e.percent?"%":e.percent+"",l=e.minus+"",c=void 0===e.nan?"NaN":e.nan+"";function u(e){var u=(e=L(e)).fill,d=e.align,h=e.sign,f=e.symbol,p=e.zero,g=e.width,m=e.comma,v=e.precision,_=e.trim,y=e.type;"n"===y?(m=!0,y="g"):F[y]||(void 0===v&&(v=12),_=!0,y="g"),(p||"0"===u&&"="===d)&&(p=!0,u="0",d="=");var b="$"===f?r:"#"===f&&/[boxX]/.test(y)?"0"+y.toLowerCase():"",w="$"===f?o:/[%p]/.test(y)?a:"",x=F[y],C=/[defgprs%]/.test(y);function N(e){var t,r,o,a=b,f=w;if("c"===y)f=x(e)+f,e="";else{var N=(e=+e)<0||1/e<0;if(e=isNaN(e)?c:x(Math.abs(e),v),_&&(e=k(e)),N&&0===+e&&"+"!==h&&(N=!1),a=(N?"("===h?h:l:"-"===h||"("===h?"":h)+a,f=("s"===y?U[8+P/3]:"")+f+(N&&"("===h?")":""),C)for(t=-1,r=e.length;++t<r;)if(48>(o=e.charCodeAt(t))||o>57){f=(46===o?i+e.slice(t+1):e.slice(t))+f,e=e.slice(0,t);break}}m&&!p&&(e=n(e,1/0));var j=a.length+e.length+f.length,S=j<g?new Array(g-j+1).join(u):"";switch(m&&p&&(e=n(S+e,S.length?g-f.length:1/0),S=""),d){case"<":e=a+e+f+S;break;case"=":e=a+S+e+f;break;case"^":e=S.slice(0,j=S.length>>1)+a+e+f+S.slice(j);break;default:e=S+a+e+f}return s(e)}return v=void 0===v?6:/[gprs]/.test(y)?Math.max(1,Math.min(21,v)):Math.max(0,Math.min(20,v)),t(N,"format"),N.toString=function(){return e+""},N}function d(e,t){var n=u(((e=L(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(M(t)/3))),o=Math.pow(10,-r),i=U[8+r/3];return function(e){return n(o*e)+i}}return t(u,"newFormat"),t(d,"formatPrefix"),{format:u,formatPrefix:d}}function G(e){return q=K(e),z=q.format,q.formatPrefix,q}t(K,"formatLocale"),G({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),t(G,"defaultLocale");var V="http://www.w3.org/1999/xhtml";const X={svg:"http://www.w3.org/2000/svg",xhtml:V,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Q(e){var t=e+="",n=t.indexOf(":");return n>=0&&"xmlns"!==(t=e.slice(0,n))&&(e=e.slice(n+1)),X.hasOwnProperty(t)?{space:X[t],local:e}:e}function $(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===V&&t.documentElement.namespaceURI===V?t.createElement(e):t.createElementNS(n,e)}}function J(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function Y(e){var t=Q(e);return(t.local?J:$)(t)}function Z(){}function ee(e){return null==e?Z:function(){return this.querySelector(e)}}function te(e){"function"!=typeof e&&(e=ee(e));for(var t=this._groups,n=t.length,r=new Array(n),o=0;o<n;++o)for(var i,s,a=t[o],l=a.length,c=r[o]=new Array(l),u=0;u<l;++u)(i=a[u])&&(s=e.call(i,i.__data__,u,a))&&("__data__"in i&&(s.__data__=i.__data__),c[u]=s);return new Rt(r,this._parents)}function ne(){return[]}function re(e){return null==e?ne:function(){return this.querySelectorAll(e)}}function oe(e){"function"!=typeof e&&(e=re(e));for(var t=this._groups,n=t.length,r=[],o=[],i=0;i<n;++i)for(var s,a=t[i],l=a.length,c=0;c<l;++c)(s=a[c])&&(r.push(e.call(s,s.__data__,c,a)),o.push(s));return new Rt(r,o)}function ie(e){return function(){return this.matches(e)}}function se(e){"function"!=typeof e&&(e=ie(e));for(var t=this._groups,n=t.length,r=new Array(n),o=0;o<n;++o)for(var i,s=t[o],a=s.length,l=r[o]=[],c=0;c<a;++c)(i=s[c])&&e.call(i,i.__data__,c,s)&&l.push(i);return new Rt(r,this._parents)}function ae(e){return new Array(e.length)}function le(){return new Rt(this._enter||this._groups.map(ae),this._parents)}function ce(e,t){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=t}function ue(e){return function(){return e}}t(Q,"namespace"),t($,"creatorInherit"),t(J,"creatorFixed"),t(Y,"creator"),t(Z,"none"),t(ee,"selector"),t(te,"selection_select"),t(ne,"empty"),t(re,"selectorAll"),t(oe,"selection_selectAll"),t(ie,"matcher"),t(se,"selection_filter"),t(ae,"sparse"),t(le,"selection_enter"),t(ce,"EnterNode"),ce.prototype={constructor:ce,appendChild:/* @__PURE__ */t(function(e){return this._parent.insertBefore(e,this._next)},"appendChild"),insertBefore:/* @__PURE__ */t(function(e,t){return this._parent.insertBefore(e,t)},"insertBefore"),querySelector:/* @__PURE__ */t(function(e){return this._parent.querySelector(e)},"querySelector"),querySelectorAll:/* @__PURE__ */t(function(e){return this._parent.querySelectorAll(e)},"querySelectorAll")},t(ue,"constant");function de(e,t,n,r,o,i){for(var s,a=0,l=t.length,c=i.length;a<c;++a)(s=t[a])?(s.__data__=i[a],r[a]=s):n[a]=new ce(e,i[a]);for(;a<l;++a)(s=t[a])&&(o[a]=s)}function he(e,t,n,r,o,i,s){var a,l,c,u={},d=t.length,h=i.length,f=new Array(d);for(a=0;a<d;++a)(l=t[a])&&(f[a]=c="$"+s.call(l,l.__data__,a,t),c in u?o[a]=l:u[c]=l);for(a=0;a<h;++a)(l=u[c="$"+s.call(e,i[a],a,i)])?(r[a]=l,l.__data__=i[a],u[c]=null):n[a]=new ce(e,i[a]);for(a=0;a<d;++a)(l=t[a])&&u[f[a]]===l&&(o[a]=l)}function fe(e,t){if(!e)return f=new Array(this.size()),c=-1,this.each(function(e){f[++c]=e}),f;var n=t?he:de,r=this._parents,o=this._groups;"function"!=typeof e&&(e=ue(e));for(var i=o.length,s=new Array(i),a=new Array(i),l=new Array(i),c=0;c<i;++c){var u=r[c],d=o[c],h=d.length,f=e.call(u,u&&u.__data__,c,r),p=f.length,g=a[c]=new Array(p),m=s[c]=new Array(p);n(u,d,g,m,l[c]=new Array(h),f,t);for(var v,_,y=0,b=0;y<p;++y)if(v=g[y]){for(y>=b&&(b=y+1);!(_=m[b])&&++b<p;);v._next=_||null}}return(s=new Rt(s,r))._enter=a,s._exit=l,s}function pe(){return new Rt(this._exit||this._groups.map(ae),this._parents)}function ge(e,t,n){var r=this.enter(),o=this,i=this.exit();return r="function"==typeof e?e(r):r.append(e+""),null!=t&&(o=t(o)),null==n?i.remove():n(i),r&&o?r.merge(o).order():o}function me(e){for(var t=this._groups,n=e._groups,r=t.length,o=n.length,i=Math.min(r,o),s=new Array(r),a=0;a<i;++a)for(var l,c=t[a],u=n[a],d=c.length,h=s[a]=new Array(d),f=0;f<d;++f)(l=c[f]||u[f])&&(h[f]=l);for(;a<r;++a)s[a]=t[a];return new Rt(s,this._parents)}function ve(){for(var e=this._groups,t=-1,n=e.length;++t<n;)for(var r,o=e[t],i=o.length-1,s=o[i];--i>=0;)(r=o[i])&&(s&&4^r.compareDocumentPosition(s)&&s.parentNode.insertBefore(r,s),s=r);return this}function _e(e){function n(t,n){return t&&n?e(t.__data__,n.__data__):!t-!n}e||(e=ye),t(n,"compareNode");for(var r=this._groups,o=r.length,i=new Array(o),s=0;s<o;++s){for(var a,l=r[s],c=l.length,u=i[s]=new Array(c),d=0;d<c;++d)(a=l[d])&&(u[d]=a);u.sort(n)}return new Rt(i,this._parents).order()}function ye(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function be(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}function we(){var e=new Array(this.size()),t=-1;return this.each(function(){e[++t]=this}),e}function xe(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var r=e[t],o=0,i=r.length;o<i;++o){var s=r[o];if(s)return s}return null}function Ce(){var e=0;return this.each(function(){++e}),e}function Ne(){return!this.node()}function je(e){for(var t=this._groups,n=0,r=t.length;n<r;++n)for(var o,i=t[n],s=0,a=i.length;s<a;++s)(o=i[s])&&e.call(o,o.__data__,s,i);return this}function Se(e){return function(){this.removeAttribute(e)}}function Te(e){return function(){this.removeAttributeNS(e.space,e.local)}}function Ee(e,t){return function(){this.setAttribute(e,t)}}function Me(e,t){return function(){this.setAttributeNS(e.space,e.local,t)}}function Ae(e,t){return function(){var n=t.apply(this,arguments);null==n?this.removeAttribute(e):this.setAttribute(e,n)}}function Re(e,t){return function(){var n=t.apply(this,arguments);null==n?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,n)}}function Pe(e,t){var n=Q(e);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((null==t?n.local?Te:Se:"function"==typeof t?n.local?Re:Ae:n.local?Me:Ee)(n,t))}function De(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}function Le(e){return function(){this.style.removeProperty(e)}}function Ie(e,t,n){return function(){this.style.setProperty(e,t,n)}}function ke(e,t,n){return function(){var r=t.apply(this,arguments);null==r?this.style.removeProperty(e):this.style.setProperty(e,r,n)}}function Oe(e,t,n){return arguments.length>1?this.each((null==t?Le:"function"==typeof t?ke:Ie)(e,t,null==n?"":n)):He(this.node(),e)}function He(e,t){return e.style.getPropertyValue(t)||De(e).getComputedStyle(e,null).getPropertyValue(t)}function Fe(e){return function(){delete this[e]}}function Be(e,t){return function(){this[e]=t}}function qe(e,t){return function(){var n=t.apply(this,arguments);null==n?delete this[e]:this[e]=n}}function ze(e,t){return arguments.length>1?this.each((null==t?Fe:"function"==typeof t?qe:Be)(e,t)):this.node()[e]}function We(e){return e.trim().split(/^|\s+/)}function Ue(e){return e.classList||new Ke(e)}function Ke(e){this._node=e,this._names=We(e.getAttribute("class")||"")}function Ge(e,t){for(var n=Ue(e),r=-1,o=t.length;++r<o;)n.add(t[r])}function Ve(e,t){for(var n=Ue(e),r=-1,o=t.length;++r<o;)n.remove(t[r])}function Xe(e){return function(){Ge(this,e)}}function Qe(e){return function(){Ve(this,e)}}function $e(e,t){return function(){(t.apply(this,arguments)?Ge:Ve)(this,e)}}function Je(e,t){var n=We(e+"");if(arguments.length<2){for(var r=Ue(this.node()),o=-1,i=n.length;++o<i;)if(!r.contains(n[o]))return!1;return!0}return this.each(("function"==typeof t?$e:t?Xe:Qe)(n,t))}function Ye(){this.textContent=""}function Ze(e){return function(){this.textContent=e}}function et(e){return function(){var t=e.apply(this,arguments);this.textContent=null==t?"":t}}function tt(e){return arguments.length?this.each(null==e?Ye:("function"==typeof e?et:Ze)(e)):this.node().textContent}function nt(){this.innerHTML=""}function rt(e){return function(){this.innerHTML=e}}function ot(e){return function(){var t=e.apply(this,arguments);this.innerHTML=null==t?"":t}}function it(e){return arguments.length?this.each(null==e?nt:("function"==typeof e?ot:rt)(e)):this.node().innerHTML}function st(){this.nextSibling&&this.parentNode.appendChild(this)}function at(){return this.each(st)}function lt(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function ct(){return this.each(lt)}function ut(e){var t="function"==typeof e?e:Y(e);return this.select(function(){return this.appendChild(t.apply(this,arguments))})}function dt(){return null}function ht(e,t){var n="function"==typeof e?e:Y(e),r=null==t?dt:"function"==typeof t?t:ee(t);return this.select(function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)})}function ft(){var e=this.parentNode;e&&e.removeChild(this)}function pt(){return this.each(ft)}function gt(){var e=this.cloneNode(!1),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function mt(){var e=this.cloneNode(!0),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function vt(e){return this.select(e?mt:gt)}function _t(e){return arguments.length?this.property("__data__",e):this.node().__data__}t(de,"bindIndex"),t(he,"bindKey"),t(fe,"selection_data"),t(pe,"selection_exit"),t(ge,"selection_join"),t(me,"selection_merge"),t(ve,"selection_order"),t(_e,"selection_sort"),t(ye,"ascending"),t(be,"selection_call"),t(we,"selection_nodes"),t(xe,"selection_node"),t(Ce,"selection_size"),t(Ne,"selection_empty"),t(je,"selection_each"),t(Se,"attrRemove"),t(Te,"attrRemoveNS"),t(Ee,"attrConstant"),t(Me,"attrConstantNS"),t(Ae,"attrFunction"),t(Re,"attrFunctionNS"),t(Pe,"selection_attr"),t(De,"defaultView"),t(Le,"styleRemove"),t(Ie,"styleConstant"),t(ke,"styleFunction"),t(Oe,"selection_style"),t(He,"styleValue"),t(Fe,"propertyRemove"),t(Be,"propertyConstant"),t(qe,"propertyFunction"),t(ze,"selection_property"),t(We,"classArray"),t(Ue,"classList"),t(Ke,"ClassList"),Ke.prototype={add:/* @__PURE__ */t(function(e){this._names.indexOf(e)<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},"add"),remove:/* @__PURE__ */t(function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},"remove"),contains:/* @__PURE__ */t(function(e){return this._names.indexOf(e)>=0},"contains")},t(Ge,"classedAdd"),t(Ve,"classedRemove"),t(Xe,"classedTrue"),t(Qe,"classedFalse"),t($e,"classedFunction"),t(Je,"selection_classed"),t(Ye,"textRemove"),t(Ze,"textConstant"),t(et,"textFunction"),t(tt,"selection_text"),t(nt,"htmlRemove"),t(rt,"htmlConstant"),t(ot,"htmlFunction"),t(it,"selection_html"),t(st,"raise"),t(at,"selection_raise"),t(lt,"lower"),t(ct,"selection_lower"),t(ut,"selection_append"),t(dt,"constantNull"),t(ht,"selection_insert"),t(ft,"remove"),t(pt,"selection_remove"),t(gt,"selection_cloneShallow"),t(mt,"selection_cloneDeep"),t(vt,"selection_clone"),t(_t,"selection_datum");var yt={};"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(yt={mouseenter:"mouseover",mouseleave:"mouseout"}));function bt(e,t,n){return e=wt(e,t,n),function(t){var n=t.relatedTarget;n&&(n===this||8&n.compareDocumentPosition(this))||e.call(this,t)}}function wt(e,t,n){return function(r){try{e.call(this,this.__data__,t,n)}finally{}}}function xt(e){return e.trim().split(/^|\s+/).map(function(e){var t="",n=e.indexOf(".");return n>=0&&(t=e.slice(n+1),e=e.slice(0,n)),{type:e,name:t}})}function Ct(e){return function(){var t=this.__on;if(t){for(var n,r=0,o=-1,i=t.length;r<i;++r)n=t[r],e.type&&n.type!==e.type||n.name!==e.name?t[++o]=n:this.removeEventListener(n.type,n.listener,n.capture);++o?t.length=o:delete this.__on}}}function Nt(e,t,n){var r=yt.hasOwnProperty(e.type)?bt:wt;return function(o,i,s){var a,l=this.__on,c=r(t,i,s);if(l)for(var u=0,d=l.length;u<d;++u)if((a=l[u]).type===e.type&&a.name===e.name)return this.removeEventListener(a.type,a.listener,a.capture),this.addEventListener(a.type,a.listener=c,a.capture=n),void(a.value=t);this.addEventListener(e.type,c,n),a={type:e.type,name:e.name,value:t,listener:c,capture:n},l?l.push(a):this.__on=[a]}}function jt(e,t,n){var r,o,i=xt(e+""),s=i.length;if(!(arguments.length<2)){for(a=t?Nt:Ct,null==n&&(n=!1),r=0;r<s;++r)this.each(a(i[r],t,n));return this}var a=this.node().__on;if(a)for(var l,c=0,u=a.length;c<u;++c)for(r=0,l=a[c];r<s;++r)if((o=i[r]).type===l.type&&o.name===l.name)return l.value}function St(e,t,n){var r=De(e),o=r.CustomEvent;"function"==typeof o?o=new o(t,n):(o=r.document.createEvent("Event"),n?(o.initEvent(t,n.bubbles,n.cancelable),o.detail=n.detail):o.initEvent(t,!1,!1)),e.dispatchEvent(o)}function Tt(e,t){return function(){return St(this,e,t)}}function Et(e,t){return function(){return St(this,e,t.apply(this,arguments))}}function Mt(e,t){return this.each(("function"==typeof t?Et:Tt)(e,t))}t(bt,"filterContextListener"),t(wt,"contextListener"),t(xt,"parseTypenames"),t(Ct,"onRemove"),t(Nt,"onAdd"),t(jt,"selection_on"),t(St,"dispatchEvent"),t(Tt,"dispatchConstant"),t(Et,"dispatchFunction"),t(Mt,"selection_dispatch");var At=[null];function Rt(e,t){this._groups=e,this._parents=t}function Pt(e){return"string"==typeof e?new Rt([[document.querySelector(e)]],[document.documentElement]):new Rt([[e]],At)}t(Rt,"Selection"),Rt.prototype={constructor:Rt,select:te,selectAll:oe,filter:se,data:fe,enter:le,exit:pe,join:ge,merge:me,order:ve,sort:_e,call:be,nodes:we,node:xe,size:Ce,empty:Ne,each:je,attr:Pe,style:Oe,property:ze,classed:Je,text:tt,html:it,raise:at,lower:ct,append:ut,insert:ht,remove:pt,clone:vt,datum:_t,on:jt,dispatch:Mt},t(Pt,"d3Select");const Dt=class _ColumnFormat extends o{_owner;constructor(){super()}owner(e){return arguments.length?(this._owner=e,this):this._owner}valid(){return!!this.column()}formatterFunc(){const e=this._owner.formatterFunc();if(this.valid()&&this.format()){const t=z(this.format());return function(n,r){return"number"==typeof n?t(n):e.call(this,n,r)}}return e}renderCellFunc(){const e=this._owner.renderCellFunc(),t=this.formatterFunc();if(this.valid()&&this.paletteID()){const n=this._owner.columns(),o=r.rainbow(this.paletteID()),i=this.min(),s=this.max(),a=this.valueColumn()?n.indexOf(this.valueColumn()):void 0;return function(n,l,c){e&&e.call(this,n,l,c);const u=a?n.__origRow[a]:l,d=o(u,i,s),h=t.call(this,l,n);Pt(c).style("background",d).style("color",d&&r.textColor(d)).text(h?.html??h??l)}}return e}};t(Dt,"ColumnFormat");let Lt=Dt;Lt.prototype._class+=" dgrid_Table.ColumnFormat",Lt.prototype.publish("column",null,"set","Column",function(){return this._owner.columns()},{optional:!0}),Lt.prototype.publish("width",null,"number","Width",null,{optional:!0}),Lt.prototype.publish("format",null,"string","Format (d3-format)",null,{optional:!0}),Lt.prototype.publish("paletteID",null,"set","Color palette for this widget",["",...r.rainbow("default").switch()],{optional:!0}),Lt.prototype.publish("min",0,"number","Min Value",null,{disable:/* @__PURE__ */t(e=>!e.paletteID(),"disable")}),Lt.prototype.publish("max",100,"number","Max Value",null,{disable:/* @__PURE__ */t(e=>!e.paletteID(),"disable")}),Lt.prototype.publish("valueColumn",null,"set","Column",function(){return this._owner.columns()},{optional:!0,disable:/* @__PURE__ */t(e=>!e.paletteID(),"disable")});const It=class _Table extends S{_prevColsHash;_prevFieldsHash;_colsRefresh=!1;_dataRefresh=!1;constructor(){super()}fields(e){const t=super.fields.apply(this,arguments);if(arguments.length){const t=s({_:e});this._prevFieldsHash!==t&&(this._prevFieldsHash=t,this._colsRefresh=!0)}return t}columns(e,t){const n=super.columns.apply(this,arguments);if(arguments.length){const t=s({_:e});this._prevColsHash!==t&&(this._prevColsHash=t,this._colsRefresh=!0)}return n}data(e){const t=super.data.apply(this,arguments);return arguments.length&&(this._dataRefresh=!0),t}enter(e,t){super.enter(e,t)}guessWidth(e,t){const n=this.sortable()?12:0;for(const r of e)if(r.children){let e=[];for(let n=0;n<Math.min(3,t.length);++n)e=e.concat(t[n][r.idx]);this.guessWidth(r.children,e)}else r.width=t.reduce((e,t)=>{let n=(""+t[r.idx]).trim();return this.renderHtml()&&"<"===n[0]&&(n=i.removeHTMLFromString(n)),Math.max(e,this.textSize(n,this.columnWidthAutoFontName(),this.columnWidthAutoFontSize()).width)},this.textSize(""+r.label,this.columnWidthAutoFontName(),this.columnWidthAutoFontSize(),!0).width+n)+8}_prevHash;update(e,t){super.update(e,t);const n=this.hashSum();if(this._prevHash!==n&&(this._prevHash=n,this._colsRefresh=!0),this._colsRefresh){if(this._columns=this._store.columns(this.sortable(),this.formatterFunc(),this.renderCellFunc()),"auto"===this.columnWidth()){const e=this.data().filter((e,t)=>t<this.columnWidthAutoSampleSize());this.guessWidth(this._columns,e)}const e=this.columns();for(const t of this.columnFormats())if(t.valid()){const n=e.indexOf(t.column());this._columns[n]&&(this._columns[n].hidden=0===t.width(),this._columns[n].width=t.width()||this._columns[n].width,this._columns[n].formatter=t.formatterFunc(),this._columns[n].renderCell=t.renderCellFunc())}this._applyColumnsToGrid(),this._colsRefresh=!1}(this._colsRefresh||this._dataRefresh)&&(this._colsRefresh?this._dgrid.refresh({}):this._dgrid.refresh(),this._colsRefresh=!1,this._dataRefresh=!1)}exit(e,t){delete this._prevColsHash,delete this._prevFieldsHash,super.exit(e,t)}_applyColumnsToGrid(){this._dgrid.set("columns",this._columns.filter(e=>!e.hidden))}formatterFunc(){return function(e,t){switch(typeof e){case"string":return{html:e.replace(/\t/g," ").trim()};case"undefined":return""}return e}}renderCellFunc(){}click(e,t,n){}dblclickColResize(e,t){this.guessWidth([t],this.data()),this._dgrid.resizeColumn(t.id,t.width)}};t(It,"Table");let kt=It;kt.prototype._class+=" dgrid_Table",kt.prototype.publish("columnWidth","auto","set","Default column width",["auto","none"]),kt.prototype.publish("columnWidthAutoSampleSize",10,"number","Number of rows to sample for auto column width"),kt.prototype.publish("columnWidthAutoFontName","Verdana","string","Font name for auto column width calculation"),kt.prototype.publish("columnWidthAutoFontSize",12,"number","Font size for auto column width calculation"),kt.prototype.publish("columnFormats",[],"propertyArray","Source Columns",null,{autoExpand:Lt});const Ot=class _ColumnSetTable extends kt{constructor(){super()}_buildColumnSets(){const e=this.columnSets(),n=this.columns(),r=/* @__PURE__ */new Set,o=[],i=/* @__PURE__ */t(e=>{const t=n.indexOf(e);if(t<0)return;const r=this._columns[t];return r&&!r.hidden?r:void 0},"lookup");if(e&&e.length)for(const t of e){const e=[];for(const n of t){const t=i(n);t&&(e.push(t),r.add(n))}e.length&&o.push([e])}if(this.autoColumnSet()){const e=[];for(const t of n)if(!r.has(t)){const n=i(t);n&&e.push(n)}e.length&&o.push([e])}return!o.length&&this._columns.length&&o.push([this._columns.filter(e=>!e.hidden)]),o}_gridColumnsConfig(){return{columnSets:this._buildColumnSets()}}_createGrid(e,t){return new m({...e},t)}_applyColumnsToGrid(){const e=this._buildColumnSets();this._dgrid.set("columnSets",e);for(let t=0;t<e.length-1;t++){const n=e[t][0].reduce((e,t)=>e+(t.width??0),0);n>0&&this._dgrid.styleColumnSet(t,`width: ${n}px;`)}this._dgrid.resize()}dblclickColResize(e,t){this.guessWidth([t],this.data()),this._dgrid.applyWidth(t.id,t.width+"px"),this._dgrid.resize()}};t(Ot,"ColumnSetTable");let Ht=Ot;Ht.prototype._class+=" dgrid_ColumnSetTable",Ht.prototype.publish("columnSets",[],"array","Column sets - array of arrays of column names"),Ht.prototype.publish("autoColumnSet",!0,"boolean","Append columns not referenced by columnSets() into a trailing column-set");const Ft=class _DatasourceCache{_datasource;_prevHash;_fetchCache={};constructor(e){this._datasource=e}validateCache(){const e=this.hash();this._prevHash!==e&&(this._prevHash=e,this._fetchCache={})}id(){return this._datasource.id()}hash(){return this._datasource.hash()}label(){return this._datasource.label()}outFields(){return this._datasource.outFields()}total(){return this._datasource.total()}fetch(e,t){this.validateCache();const n=`${e}->${t}`;let r=this._fetchCache[n];return r||(r=this._datasource.fetch(e,t),this._fetchCache[n]=r),r}};t(Ft,"DatasourceCache");let Bt=Ft;const qt=class _DatasourceStore{_datasource;_columnsIdx={};_columns;rowFormatter;constructor(e,t){this._datasource=new Bt(e),this._columnsIdx={},this._columns=this.db2Columns(this._datasource.outFields()).map((e,t)=>(this._columnsIdx[e.field]=t,e)),this.rowFormatter=new x(this._columns,t)}columns(){return this._columns}db2Columns(e,t=""){return e?e.map((e,n)=>{const r={field:t+e.id,leafID:e.id,label:e.id,idx:n,className:"resultGridCell",sortable:!0,hidden:!1,isSet:!1};return"dataset"===e.type?r.children=this.db2Columns(e.children,t+e.id+"_"):r.formatter=(e,t)=>"string"==typeof e?e.replace(/\t/g," "):e,r}):[]}getIdentity(e){return e.__hpcc_id}_request(e,t){if(!this._datasource)return Promise.resolve({totalLength:0,data:[]});return this._datasource.fetch(e,t-e).then(t=>({totalLength:this._datasource.total(),data:t.map((t,n)=>{const r=this.rowFormatter.format(t);return r.__hpcc_id=e+n,r.__origRow=t,r})}))}fetchRange(e){const t=new d;return this._request(e.start,e.end).then(e=>t.resolve(e)),new f(t.then(e=>e.data),{totalLength:t.then(e=>e.totalLength)})}};t(qt,"DatasourceStore");let zt=qt;const Wt=class _DatasourceTable extends S{_prevDatasource;constructor(){super()}invalidate(){return delete this._prevDatasource,this}enter(e,t){super.enter(e,t)}update(e,t){super.update(e,t)}render(e){return super.render(t=>{if(this._prevDatasource!==this.datasource())if(this._dgrid.set("collection",new h),this._dgrid.set("columns",[]),this._prevDatasource=this.datasource(),this._prevDatasource){const n=new zt(this._prevDatasource,this.renderHtml());this._dgrid.set("columns",n.columns()),this._dgrid.set("collection",n),e&&e(t)}else e&&e(t);else e&&e(t)})}click(e,t,n){}};t(Wt,"DatasourceTable");let Ut=Wt;Ut.prototype._class+=" dgrid_DatasourceTable",Ut.prototype.publish("datasource",null,"object","Datasource");export{c as BUILD_VERSION,Lt as ColumnFormat,m as ColumnSetGrid,Ht as ColumnSetTable,S as Common,N as DBStore,Bt as DatasourceCache,zt as DatasourceStore,Ut as DatasourceTable,d as Deferred,p as Grid,h as Memory,a as PKG_NAME,l as PKG_VERSION,g as PagingGrid,f as QueryResults,x as RowFormatter,kt as Table,v as domConstruct};
|
|
1
|
+
import { HTMLWidget as e, Palette as t, PropertyExt as n, Utility as r } from "@hpcc-js/common";
|
|
2
|
+
import { hashSum as i } from "@hpcc-js/util";
|
|
3
|
+
//#region \0rolldown/runtime.js
|
|
4
|
+
var a = Object.defineProperty, __name = (e, t) => a(e, "name", {
|
|
5
|
+
value: t,
|
|
6
|
+
configurable: !0
|
|
7
|
+
}), o = "@hpcc-js/dgrid", s = "3.8.1", c = "3.25.1", l = Function("globalThis", "var self = globalThis; var window = globalThis;/*! For license information please see index.min.js.LICENSE.txt */\n!function(e,t){\"object\"==typeof exports&&\"object\"==typeof module?module.exports=t():\"function\"==typeof define&&define.amd?define([],t):\"object\"==typeof exports?exports[\"@hpcc-js/dgrid-shim\"]=t():e[\"@hpcc-js/dgrid-shim\"]=t()}(self,()=>(()=>{var __webpack_modules__={4781(e){e.exports=function(e,t,n,r){this.loaderVersion=\"1.17.3\",function(e,t){var n=function(){return void 0!==u&&\"function\"!=typeof u?u:void 0!==r?r:\"undefined\"!=typeof self?self:this}(),o=function(){},i={}.toString,s=function(e){return\"[object Function]\"==i.call(e)},a=function(e,t){if(e)for(var n=0;n<e.length;)t(e[n++])},l=function(e,t){for(var n in t)e[n]=t[n];return e},c=1,d=function(e,t,n){return(void 0)(e,t,n,0,d)},u=n,h=u.document,f=h&&h.createElement(\"DiV\"),p=d.has=function(e){return s(v[e])?v[e]=v[e](u,h,f):v[e]},v=p.cache=t.hasCache;for(var g in s(e)&&(e=e(n)),p.add=function(e,t,n,r){return(void 0===v[e]||r)&&(v[e]=t),n&&p(e)},e.has)p.add(g,e.has[g],0,1);d.async=1;var m=function(){};d.eval=function(e,t){return m(e+\"\\r\\n//# sourceURL=\"+t)};var y,_={},b=(d.signal=function(e,t){var n=_[e];a(n&&n.slice(0),function(e){var n;e.apply(null,(n=t,\"[object Array]\"==i.call(n)?t:[t]))})},d.on=function(e,t){var n=_[e]||(_[e]=[]);return n.push(t),{remove:function(){for(var e=0;e<n.length;e++)if(n[e]===t)return void n.splice(e,1)}}}),w=[],x=[],N={},C=(d.map={},[]),j={},S=\"\",T={};t.paths,x=t.pathsMapProg,N=t.packs,w=t.aliases,C=t.mapProgs,j=t.modules,T=t.cache,S=t.cacheBust,d.rawConfig=t;var E=function(e,t){if(t)for(var n=0;n<t.length;n++)if(t[n][2].test(e))return t[n];return 0},M=function(e){var t,n,r=[];for(e=e.replace(/\\\\/g,\"/\").split(\"/\");e.length;)\"..\"==(t=e.shift())&&r.length&&\"..\"!=n?(r.pop(),n=r[r.length-1]):\".\"!=t&&r.push(n=t);return r.join(\"/\")},A=function(e,t,n,r){return{pid:e,mid:t,pack:n,url:r,executed:0,def:0}},P=function(e,t,n,r,o,i,c,d,u,h){var f,p,v,g,m,_,b;if(b=/^\\./.test(e),/(^\\/)|(\\:)|(\\.js$)/.test(e)||b&&!t)return A(0,e,0,e);if(e=M(b?t.mid+\"/../\"+e:e),/^\\./.test(e))throw function(e,t){return l(new Error(e),{src:\"dojoLoader\",info:t})}(\"irrationalPath\",e);h||b||!i.star||(g=E(e,i.star[1])),!g&&t&&(g=(g=E(t.mid,i))&&E(e,g[1])),g&&(e=g[1]+e.substring(g[3])),(p=n[f=(y=e.match(/^([^\\/]+)(\\/(.+))?$/))?y[1]:\"\"])?e=f+\"/\"+(v=y[3]||p.main):f=\"\";var w=0;return a(d,function(t){var n=e.match(t[0]);n&&n.length>0&&(w=s(t[1])?e.replace(t[0],t[1]):t[1])}),w?P(w,0,n,r,o,i,c,d,u):(_=r[e])?u?A(_.pid,_.mid,_.pack,_.url):r[e]:(m=(g=E(e,c))?g[1]+e.substring(g[3]):f?(\"/\"===p.location.slice(-1)?p.location.slice(0,-1):p.location)+\"/\"+v:e,/(^\\/)|(\\:)/.test(m)||(m=o+m),A(f,e,p,M(m+=\".js\")))},R=function(e,t,n){return P(e,t,N,j,d.baseUrl,C,x,w,void 0,n)},L=(d.toAbsMid=function(e,t){return R(e,t).mid},d.toUrl=function(e,t){var n=R(e+\"/x\",t),r=n.url;return L(0===n.pid?e:r.substring(0,r.length-5))},\"function\"==typeof e.fixupUrl?e.fixupUrl:function(e){return(e+=\"\")+(S?(/\\?/.test(e)?\"&\":\"?\")+S:\"\")});d.log=o,d.trace=o;var I=o;(l(l(d,t.loaderPatch),e.loaderPatch),b(\"error\",function(e){try{if(console.error(e),e instanceof Error){for(var t in e)console.log(t+\":\",e[t]);console.log(\".\")}}catch(e){}}),l(d,{uid:function(){return\"_\"+c++},cache:T,packs:N}),u.define)||(u.define=I,u.require=d)}.call(this,e,t)}},1996(e,t,n){var r,o;n.dj.r;r=[n(6345),n(6323),n(8945),n(28),n(2075),n(6566),n(1172),n(6356),n(4975),n(3927)],o=function(e,t,n,r,o,i,s,a,l){a.add(\"event-mousewheel\",function(e,t,n){return\"onmousewheel\"in n}),a.add(\"event-wheel\",function(e,t,n){return\"onwheel\"in n});var c=\"data-dgrid-column-set-id\";function d(e,t){var n=e._columnSetScrollLefts;s(\".dgrid-column-set\",t).forEach(function(e){e.scrollLeft=n[e.getAttribute(c)]})}function u(e,t){if(e&&e.length){for(var n=[],r=t+\"-\",o=0,i=e.length;o<i;o++){var s=e[o],a=[];a.className=s.className;for(var l=0,c=s.length;l<c;l++){var d=s[l];null!=d.id&&0===d.id.indexOf(r)&&a.push(d)}n.push(a)}return n}}function h(e,t){return t&&e===t||n.contains(e,\"dgrid\")}var f=a(\"event-mousewheel\")||a(\"event-wheel\")?function(e){return function(t,n){return o(t,a(\"event-wheel\")?\"wheel\":\"mousewheel\",function(r){var o,i=function(e,t){for(1!==e.nodeType&&(e=e.parentNode);e&&!s.matches(e,\".dgrid-column-set[\"+c+\"]\",t);){if(h(e,t))return null;e=e.parentNode}return e}(r.target,t);i&&(o=r.deltaX||-r.wheelDeltaX/3)&&n.call(null,e,i,o)})}}:function(e){return function(t,n){return o(t,\".dgrid-column-set[\"+c+\"]:MozMousePixelScroll\",function(t){1===t.axis&&n.call(null,e,this,t.detail)})}};function p(e,t,n){var r=t.getAttribute(c),o=e._columnSetScrollers[r],i=o.scrollLeft+n;o.scrollLeft=i<0?0:i}return e(null,{constructor:function(){if(\"_editorInstances\"in this)throw new Error(\"When used with Editor ColumnSet must be mixed in before Editor.\")},postCreate:function(){var e=this;this.inherited(arguments),this.on(f(this),p),this.on(\".dgrid-column-set:dgrid-cellfocusin\",function(t){e._onColumnSetCellFocus(t,this)}),\"function\"==typeof this.expand&&this._listeners.push(i.after(this,\"expand\",function(t,n){return t.then(function(){var t=e.row(n[0]);e._expanded[t.id]&&d(e,t.element.connected)}),t}))},columnSets:[],createRowCells:function(e,t,n,o,i){for(var s=r.create(\"table\",{className:\"dgrid-row-table\"}),a=r.create(\"tbody\",null,s),l=r.create(\"tr\",null,a),d=0,h=this.columnSets.length;d<h;d++){var f=r.create(e,{className:\"dgrid-column-set-cell dgrid-column-set-\"+d},l);(f=r.create(\"div\",{className:\"dgrid-column-set\"},f)).setAttribute(c,d);var p=u(n||this.subRows,d)||this.columnSets[d];f.appendChild(this.inherited(arguments,[e,t,p,o,i]))}return s},renderArray:function(){for(var e=this.inherited(arguments),t=0;t<e.length;t++)d(this,e[t]);return e},insertRow:function(){var e=this.inherited(arguments);return d(this,e),e},renderHeader:function(){this.inherited(arguments);var e,t,n=this.columnSets,o=this._columnSetScrollers,s=this;function a(){s._positionScrollers()}if(this._columnSetScrollerContents={},this._columnSetScrollLefts={},o)for(e in o)r.destroy(o[e]);else this._listeners.push(i.after(this,\"resize\",a,!0),i.after(this,\"styleColumn\",a,!0)),this._columnSetScrollerNode=r.create(\"div\",{className:\"dgrid-column-set-scroller-container\"},this.footerNode,\"after\");for(o=this._columnSetScrollers={},e=0,t=n.length;e<t;e++)this._putScroller(n[e],e);this._positionScrollers()},styleColumnSet:function(e,t){var n=this.addCssRule(\"#\"+l.escapeCssIdentifier(this.domNode.id)+\" .dgrid-column-set-\"+l.escapeCssIdentifier(e,\"-\"),t);return this._positionScrollers(),n},configStructure:function(){this.columns={},this.subRows=[];for(var e=0,t=this.columnSets.length;e<t;e++)for(var n=this.columnSets[e],r=0;r<n.length;r++)n[r]=this._configColumns(e+\"-\"+r+\"-\",n[r]);this.inherited(arguments)},_positionScrollers:function(){var e,t,n,r,o=this.domNode,i=this._columnSetScrollers,l=this._columnSetScrollerContents,d=0,u=0;for(e=0,t=this.columnSets.length;e<t;e++)d=(n=s(\".dgrid-column-set[\"+c+'=\"'+e+'\"]',o)[0]).offsetWidth,r=n.firstChild.offsetWidth,l[e].style.width=r+\"px\",i[e].style.width=d+\"px\",a(\"ie\")<9&&(i[e].style.overflowX=r>d?\"scroll\":\"auto\"),r>d&&u++;this._columnSetScrollerNode.style.bottom=this.showFooter?this.footerNode.offsetHeight+\"px\":\"0\",this.bodyNode.style.bottom=u?a(\"dom-scrollbar-height\")+(a(\"ie\")?1:0)+\"px\":\"0\"},_putScroller:function(e,n){var i=this._columnSetScrollers[n]=r.create(\"span\",{className:\"dgrid-column-set-scroller dgrid-column-set-scroller-\"+n+(a(\"ie\")<9?\" dgrid-scrollbar-height\":\"\")},this._columnSetScrollerNode);i.setAttribute(c,n),this._columnSetScrollerContents[n]=r.create(\"div\",{className:\"dgrid-column-set-scroller-content\"},i),o(i,\"scroll\",t.hitch(this,\"_onColumnSetScroll\"))},_onColumnSetScroll:function(e){var t,n=e.target.scrollLeft,r=e.target.getAttribute(c);this._columnSetScrollLefts[r]!==n&&(s(\".dgrid-column-set[\"+c+'=\"'+r+'\"],.dgrid-column-set-scroller['+c+'=\"'+r+'\"]',this.domNode).forEach(function(e,r){e.scrollLeft=n,r||(t=e.scrollLeft)}),this._columnSetScrollLefts[r]=t)},_setColumnSets:function(e){this._destroyColumns(),this.columnSets=e,this._updateColumns()},_scrollColumnSet:function(e,t){var n=e.tagName?e.getAttribute(c):e;this._columnSetScrollers[n].scrollLeft=t<0?0:t},_onColumnSetCellFocus:function(e,t){var n=e.target,r=t.getAttribute(c),o=this._columnSetScrollers[r];(n.offsetLeft-o.scrollLeft+n.offsetWidth>t.offsetWidth||o.scrollLeft>n.offsetLeft)&&this._scrollColumnSet(t,n.offsetLeft)}})}.apply(null,r),void 0===o||(e.exports=o)},1540(e,t,n){var r,o;n.dj.r;r=[n(6345),n(6323),n(28),n(8945),n(2075),n(6356),n(4624),n(4975),n(3927)],o=function(e,t,n,r,o,i,s,a){function l(e,t){t&&t.nodeType&&e.appendChild(t)}function c(e){return a.escapeCssIdentifier(e,\"-\")}var d=e(s,{columns:null,hasNeutralSort:!1,cellNavigation:!0,tabableHeader:!0,showHeader:!0,column:function(e){return\"object\"!=typeof e?this.columns[e]:this.cell(e).column},listType:\"grid\",cell:function(e,t){if(e.column&&e.element)return e;var n;if(e.target&&e.target.nodeType&&(e=e.target),e.nodeType)do{if(this._rowIdToObject[e.id])break;var r=e.columnId;if(r){t=r,n=e;break}e=e.parentNode}while(e&&e!==this.domNode);if(!n&&void 0!==t){var o=this.row(e),i=o&&o.element;if(i)for(var s=i.getElementsByTagName(\"td\"),a=0;a<s.length;a++)if(s[a].columnId===t){n=s[a];break}}return null!=e?{row:o||this.row(e),column:t&&this.column(t),element:n}:void 0},createRowCells:function(e,t,r,o,s){var a,l,d,u,h,f,p,v,g,m,y,_,b,w=n.create(\"table\",{className:\"dgrid-row-table\",role:\"presentation\"}),x=i(\"ie\")<9?n.create(\"tbody\",null,w):w;for(l=0,d=(r=r||this.subRows).length;l<d;l++)for(f=r[l],a=n.create(\"tr\",null,x),f.className&&(a.className=f.className),u=0,h=f.length;u<h;u++)v=(p=f[u]).id,g=p.field?\" field-\"+c(p.field):\"\",(m=\"function\"==typeof p.className?p.className(o):p.className)&&(g+=\" \"+m),(y=n.create(e,{className:\"dgrid-cell\"+(v?\" dgrid-column-\"+c(v):\"\")+g,role:\"th\"===e?\"columnheader\":\"gridcell\"})).columnId=v,(_=p.colSpan)&&(y.colSpan=_),(b=p.rowSpan)&&(y.rowSpan=b),t(y,p,o,s),a.appendChild(y);return w},_createBodyRowCell:function(e,t,n,r){var o=n;t.get?o=t.get(n):\"field\"in t&&\"_item\"!==t.field&&(o=n[t.field]),t.renderCell?l(e,t.renderCell(n,o,e,r)):this._defaultRenderCell.call(t,n,o,e,r)},_createHeaderRowCell:function(e,t){var n=t.headerNode=e,r=t.field;r&&(e.field=r),t.renderHeaderCell?l(n,t.renderHeaderCell(n)):(\"label\"in t||t.field)&&n.appendChild(document.createTextNode(\"label\"in t?t.label:t.field)),!1!==t.sortable&&r&&\"_item\"!==r&&(e.sortable=!0,e.className+=\" dgrid-sortable\")},left:function(e,t){return e.element||(e=this.cell(e)),this.cell(this._move(e,-(t||1),\"dgrid-cell\"))},right:function(e,t){return e.element||(e=this.cell(e)),this.cell(this._move(e,t||1,\"dgrid-cell\"))},_defaultRenderCell:function(e,t,n){if(this.formatter){var r=this.formatter,o=this.grid.formatterScope,i=\"string\"==typeof r&&o?o[r](t,e):this.formatter(t,e);null!=i&&i.hasOwnProperty(\"html\")?n.innerHTML=i.html:null!=i&&n.appendChild(document.createTextNode(i))}else null!=t&&n.appendChild(document.createTextNode(t))},renderRow:function(e,r){var o=this.createRowCells(\"td\",t.hitch(this,\"_createBodyRowCell\"),r&&r.subRows,e,r),i=n.create(\"div\",{role:\"row\"});return i.appendChild(o),i},renderHeader:function(){var e=this,r=this.headerNode;r.setAttribute(\"role\",\"row\"),n.empty(r);var s=this.createRowCells(\"th\",t.hitch(this,\"_createHeaderRowCell\"),this.subRows&&this.subRows.headerRows);this._rowIdToObject[s.id=this.id+\"-header\"]=this.columns,r.appendChild(s),this._sortListener&&this._sortListener.remove(),this._sortListener=o(s,\"click,keydown\",function(t){if(\"click\"===t.type||32===t.keyCode||!i(\"opera\")&&13===t.keyCode){var n,s,a,l,c=t.target;do{if(c.sortable){n=c.field||c.columnId,s=e.sort[0],a=e.hasNeutralSort&&s&&s.property===n&&s.descending?[]:[{property:n,descending:s&&s.property===n&&!s.descending}],l={bubbles:!0,cancelable:!0,grid:e,parentType:t.type,sort:a},o.emit(t.target,\"dgrid-sort\",l)&&(e._sortNode=c,e.set(\"sort\",a));break}}while((c=c.parentNode)&&c!==r)}})},resize:function(){var e,t=this.headerNode.firstChild,n=this.contentNode;this.inherited(arguments),n.style.width=\"\",n&&t&&(e=t.offsetWidth)>n.offsetWidth&&(n.style.width=e+\"px\")},destroy:function(){this._destroyColumns(),this._sortListener&&this._sortListener.remove(),this.inherited(arguments)},_setSort:function(){this.inherited(arguments),this.updateSortArrow(this.sort)},_findSortArrowParent:function(e){var t=this.columns;for(var n in t){var r=t[n];if(r.field===e)return r.headerNode}},updateSortArrow:function(e,t){if(this._lastSortedArrow&&(this._lastSortedArrow.parentNode&&r.remove(this._lastSortedArrow.parentNode,\"dgrid-sort-up dgrid-sort-down\"),n.destroy(this._lastSortedArrow),delete this._lastSortedArrow),t&&(this.sort=e),e[0]){var o=e[0].property,i=e[0].descending,s=this._sortNode||this._findSortArrowParent(o);delete this._sortNode,s&&(s=s.contents||s,this._lastSortedArrow=n.create(\"div\",{className:\"dgrid-sort-arrow ui-icon\",innerHTML:\" \",role:\"presentation\"},s,\"first\"),r.add(s,\"dgrid-sort-\"+(i?\"down\":\"up\")),this.resize())}},styleColumn:function(e,t){return this.addCssRule(\"#\"+a.escapeCssIdentifier(this.domNode.id)+\" .dgrid-column-\"+c(e),t)},_configColumns:function(e,t){var n=[],r=t instanceof Array;return a.each(t,function(o,i){\"string\"==typeof o&&(t[i]=o={label:o}),r||o.field||(o.field=i),i=o.id=o.id||(isNaN(i)?i:e+i),this._configColumn&&(this._configColumn(o,t,e),i=o.id),r&&(this.columns[i]=o),o.grid?o.grid!==this&&console.warn(\"Sharing column definition objects with multiple grids is not supported.\",o.grid,this):o.grid=this,n.push(o)},this),r?t:n},_destroyColumns:function(){this.cleanup()},configStructure:function(){var e=this.subRows,t=this._columns=this.columns;if(this.columns=!t||t instanceof Array?{}:t,e)for(var n=0;n<e.length;n++)e[n]=this._configColumns(n+\"-\",e[n]);else this.subRows=[this._configColumns(\"\",t)]},_getColumns:function(){return this._columns||this.columns},_setColumns:function(e){this._destroyColumns(),this.subRows=null,this.columns=e,this._updateColumns()},_setSubRows:function(e){this._destroyColumns(),this.subRows=e,this._updateColumns()},_updateColumns:function(){this.configStructure(),this.renderHeader(),this.refresh(),this._lastCollection&&this.renderArray(this._lastCollection),this._started&&(this.sort.length?(this._lastSortedArrow=null,this.updateSortArrow(this.sort)):this.resize())}});return d.appendIfNode=l,d}.apply(null,r),void 0===o||(e.exports=o)},9173(e,t,n){var r,o;n.dj.r;r=[n(6345),n(6566),n(8945),n(2075),n(6323),n(6356),n(4975),n(3927)],o=function(e,t,n,r,o,i,s){var a={checkbox:1,radio:1,button:1},l=/\\bdgrid-cell\\b/,c=/\\bdgrid-row\\b/,d=e(null,{pageSkip:10,tabIndex:0,keyMap:null,headerKeyMap:null,mouseDownEventType:\"mousedown\",postMixInProperties:function(){this.inherited(arguments),this.keyMap||(this.keyMap=o.mixin({},d.defaultKeyMap)),this.headerKeyMap||(this.headerKeyMap=o.mixin({},d.defaultHeaderKeyMap))},postCreate:function(){this.inherited(arguments);var e=this;function n(e){var t=e.target;return t.type&&(!a[t.type]||32===e.keyCode)}function o(o){var i=e.cellNavigation,s=i?l:c,a=o===e.headerNode,d=o;function u(){if(e._focusedHeaderNode&&(e._focusedHeaderNode.tabIndex=-1),e.showHeader){if(i){for(var t,n=e.headerNode.getElementsByTagName(\"th\"),r=0;t=n[r];++r)if(s.test(t.className)){e._focusedHeaderNode=d=t;break}}else e._focusedHeaderNode=d=e.headerNode;d&&(d.tabIndex=e.tabIndex)}}function h(){var t=e._focusedNode||d;if(!s.test(t.className)||!o.contains(t)){for(var n,r=o.getElementsByTagName(\"*\"),i=0;n=r[i];++i)if(s.test(n.className)){t=e._focusedNode=n;break}d.tabIndex=-1,t.tabIndex=e.tabIndex}}a?(u(),e._listeners.push(t.after(e,\"renderHeader\",u,!0))):e._listeners.push(t.after(e,\"renderArray\",h,!0),t.after(e,\"_onNotification\",function(e,t){0===t.totalLength?o.tabIndex=0:1===t.totalLength&&\"add\"===t.type&&h()},!0)),e._listeners.push(r(o,e.mouseDownEventType,function(t){n(t)||e._focusOnNode(t.target,a,t)})),e._listeners.push(r(o,\"keydown\",function(t){if(!t.metaKey&&!t.altKey){var r=e[a?\"headerKeyMap\":\"keyMap\"][t.keyCode];r&&!n(t)&&r.call(e,t)}}))}this.tabableHeader&&(o(this.headerNode),r(this.headerNode,\"dgrid-cellfocusin\",function(){e.scrollTo({x:this.scrollLeft})})),o(this.contentNode),this._debouncedEnsureScroll=s.debounce(this._ensureScroll,this)},_pruneRow:function(){var e=this._focusedNode;this._focusedNode=null,this.inherited(arguments),this._focusedNode=e},removeRow:function(e){if(!this._focusedNode)return this.inherited(arguments);var t,n=this,r=document.activeElement===this._focusedNode,o=this[this.cellNavigation?\"cell\":\"row\"](this._focusedNode),i=o.row||o;(e=e.element||e)===i.element&&((t=this.down(i,1,!0))&&t.element!==e||(t=this.up(i,1,!0)),this._removedFocus={active:r,rowId:i.id,columnId:o.column&&o.column.id,siblingId:t&&t.element!==e?t.id:void 0},setTimeout(function(){n._removedFocus&&n._restoreFocus(i.id)},0),this._focusedNode=null),this.inherited(arguments)},insertRow:function(){var e=this.inherited(arguments);return this._removedFocus&&!this._removedFocus.wait&&this._restoreFocus(e),e},_restoreFocus:function(e){var t,r,o=this._removedFocus;if((t=(e=e&&this.row(e))&&e.element&&e.id===o.rowId?e:void 0!==o.siblingId&&this.row(o.siblingId))&&t.element){if(!t.element.parentNode.parentNode)return void(o.wait=!0);void 0!==o.columnId&&(r=this.cell(t,o.columnId))&&r.element&&(t=r),o.active&&0!==t.element.offsetHeight?this._focusOnNode(t,!1,null):(n.add(t.element,\"dgrid-focus\"),t.element.tabIndex=this.tabIndex,this._focusedNode=t.element)}delete this._removedFocus},addKeyHandler:function(e,n,r){var o=t.after(this[r?\"headerKeyMap\":\"keyMap\"],e,n,!0);return this._listeners.push(o),o},_ensureRowScroll:function(e){var t=this.getScrollPosition().y;t>e.offsetTop?this.scrollTo({y:e.offsetTop}):t+this.contentNode.offsetHeight<e.offsetTop+e.offsetHeight&&this.scrollTo({y:e.offsetTop-this.contentNode.offsetHeight+e.offsetHeight})},_ensureColumnScroll:function(e){var t=this.getScrollPosition().x,n=e.offsetLeft;if(t>n)this.scrollTo({x:n});else{var r=this.bodyNode.clientWidth,o=e.offsetWidth,i=n+o;t+r<i&&this.scrollTo({x:r>o?i-r:n})}},_ensureScroll:function(e,t){!e.column&&!e.row&&e.data&&e.element?this._ensureRowScroll(e.element):(this.cellNavigation&&(this.columnSets||this.subRows.length>1)&&!t&&this._ensureRowScroll(e.row.element),this.bodyNode.clientWidth<this.contentNode.offsetWidth&&this._ensureColumnScroll(e.element))},_focusOnNode:function(e,t,i){var s,a,d,u,h,f=\"_focused\"+(t?\"Header\":\"\")+\"Node\",p=this[f],v=this.cellNavigation?\"cell\":\"row\",g=this[v](e);if(e=g&&g.element){if(this.cellNavigation)for(h=0,d=(s=e.getElementsByTagName(\"input\")).length;h<d;h++)if((-1!==(a=s[h]).tabIndex||\"_dgridLastValue\"in a)&&!a.disabled){a.focus(),u=!0;break}null!==i&&((i=o.mixin({grid:this},i)).type&&(i.parentType=i.type),i.bubbles||(i.bubbles=!0)),p&&(n.remove(p,\"dgrid-focus\"),p.removeAttribute(\"tabindex\"),i&&(i[v]=this[v](p),r.emit(p,\"dgrid-cellfocusout\",i))),p=this[f]=e,i&&(i[v]=g);var m=this.cellNavigation?l:c;!u&&m.test(e.className)&&(e.tabIndex=this.tabIndex,e.focus()),n.add(e,\"dgrid-focus\"),i&&r.emit(p,\"dgrid-cellfocusin\",i),this._debouncedEnsureScroll(g,t)}},focusHeader:function(e){this._focusOnNode(e||this._focusedHeaderNode,!0)},focus:function(e){var t=e||this._focusedNode;t?this._focusOnNode(t,!1):(this._removedFocus&&(this._removedFocus.active=!0),this.contentNode.focus())}}),u=d.moveFocusVertical=function(e,t){if(this._focusedNode&&e.target!==this.contentNode){var n=this.cellNavigation,r=this[n?\"cell\":\"row\"](e),o=n&&r.column.id,i=this.down(this._focusedNode,t,!0);n&&(i=this.cell(i,o)),this._focusOnNode(i,!1,e),e.preventDefault()}},h=d.moveFocusUp=function(e){u.call(this,e,-1)},f=d.moveFocusDown=function(e){u.call(this,e,1)},p=d.moveFocusPageUp=function(e){u.call(this,e,-this.pageSkip)},v=d.moveFocusPageDown=function(e){u.call(this,e,this.pageSkip)},g=d.moveFocusHorizontal=function(e,t){if(this.cellNavigation&&e.target!==this.contentNode){var n=!this.row(e),r=this[\"_focused\"+(n?\"Header\":\"\")+\"Node\"];this._focusOnNode(this.right(r,t),n,e),e.preventDefault()}},m=d.moveFocusLeft=function(e){g.call(this,e,-1)},y=d.moveFocusRight=function(e){g.call(this,e,1)},_=d.moveHeaderFocusEnd=function(e,t){var n;this.cellNavigation&&(n=this.headerNode.getElementsByTagName(\"th\"),this._focusOnNode(n[t?0:n.length-1],!0,e)),e.preventDefault()},b=d.moveHeaderFocusHome=function(e){_.call(this,e,!0)},w=d.moveFocusEnd=function(e,n){var r,s=this.cellNavigation,a=this.contentNode,l=n?0:a.scrollHeight,c=a.scrollTop+l,d=a[n?\"firstChild\":\"lastChild\"],u=d.className.indexOf(\"dgrid-preload\")>-1,h=u?d[(n?\"next\":\"previous\")+\"Sibling\"]:d;if(e.preventDefault(),this.scrollTo({y:c}),u){for(;h&&h.className.indexOf(\"dgrid-row\")<0;)h=h[(n?\"next\":\"previous\")+\"Sibling\"];if(!h)return}!u||d.offsetHeight<1?(s&&(h=this.cell(h,this.cell(e).column.id)),this._focusOnNode(h,!1,e)):(i(\"dom-addeventlistener\")||(e=o.mixin({},e)),r=t.after(this,\"renderArray\",function(t){var o=t[n?0:t.length-1];return s&&(o=this.cell(o,this.cell(e).column.id)),this._focusOnNode(o,!1,e),r.remove(),t}),this._listeners.push(r))},x=d.moveFocusHome=function(e){w.call(this,e,!0)};function N(e){e.preventDefault()}return d.defaultKeyMap={32:N,33:p,34:v,35:w,36:x,37:m,38:h,39:y,40:f},d.defaultHeaderKeyMap={32:N,35:_,36:b,37:m,39:y},d}.apply(null,r),void 0===o||(e.exports=o)},4624(e,t,n){var r,o;n.dj.r;r=[n(6345),n(6323),n(8945),n(28),n(2075),n(1172),n(2616),n(4975)],o=function(e,t,n,r,o,i,s,a){var l=[];s(\"mozilla\")&&l.push(\"has-mozilla\"),n.add(document.documentElement,l),s.add(\"pointer\",function(e){return\"PointerEvent\"in e?\"pointer\":\"MSPointerEvent\"in e&&\"MSPointer\"});var c,d,u=\"dgrid-row-odd\",h=\"dgrid-row-even\";function f(e,t){return i(\"#\"+a.escapeCssIdentifier(e),t)[0]}function p(e){e.className=\"\",e.parentNode&&document.body.removeChild(e)}function v(e,t){e.className=\"dgrid-scrollbar-measure\",document.body.appendChild(e);var n=e[\"offset\"+t]-e[\"client\"+t];return p(e),n}s.add(\"dom-scrollbar-width\",function(e,t,n){return v(n,\"Width\")}),s.add(\"dom-scrollbar-height\",function(e,t,n){return v(n,\"Height\")}),s.add(\"dom-rtl-scrollbar-left\",function(e,t,n){var o,i=document.createElement(\"div\");return n.className=\"dgrid-scrollbar-measure\",n.setAttribute(\"dir\",\"rtl\"),n.appendChild(i),document.body.appendChild(n),o=!!s(\"ie\")||!!s(\"trident\")||/\\bEdge\\//.test(navigator.userAgent)||i.offsetLeft>=s(\"dom-scrollbar-width\"),p(n),r.destroy(i),n.removeAttribute(\"dir\"),o});var g=0;function m(e){n.replace(this.domNode,e,this._class||\"\"),this._class=e}function y(){return this._class}var _=function(){this._started&&this.resize()},b=e(null,{tabableHeader:!1,showHeader:!1,showFooter:!1,maintainOddEven:!0,cleanAddedRules:!0,addUiClasses:!0,highlightDuration:250,resizeThrottleDelay:a.defaultDelay,resizeThrottleMethod:\"throttleDelayed\",postscript:function(e,t){var n=this;(this._Row=function(e,t,n){this.id=e,this.data=t,this.element=n}).prototype.remove=function(){n.removeRow(this.element)},t&&(this.srcNodeRef=t=t.nodeType?t:f(t)),this.create(e,t)},listType:\"list\",create:function(t,n){var r,o=this.domNode=n||document.createElement(\"div\");t&&(this.params=t,e.safeMixin(this,t),r=t.class||t.className||o.className),this.sort=this.sort||[],this._listeners=[],this._rowIdToObject={},this.postMixInProperties&&this.postMixInProperties(),this.id=o.id=o.id||this.id||b.autoIdPrefix+g++,this.buildRendering(),r&&m.call(this,r),this.postCreate(),delete this.srcNodeRef,this.domNode.offsetHeight&&this.startup()},buildRendering:function(){var e,i,l,c,d=this.domNode,u=this.addUiClasses,h=this;l=this.isRTL=\"rtl\"===(document.body.dir||document.documentElement.dir||document.body.style.direction).toLowerCase(),d.className=\"\",d.setAttribute(\"role\",\"grid\"),n.add(d,\"dgrid dgrid-\"+this.listType+(u?\" ui-widget\":\"\")),e=this.headerNode=r.create(\"div\",{className:\"dgrid-header dgrid-header-row\"+(u?\" ui-widget-header\":\"\")+(this.showHeader?\"\":\" dgrid-header-hidden\")},d),i=this.bodyNode=r.create(\"div\",{className:\"dgrid-scroller\"},d),s(\"ff\")&&(i.tabIndex=-1),this.headerScrollNode=r.create(\"div\",{className:\"dgrid-header dgrid-header-scroll dgrid-scrollbar-width\"+(u?\" ui-widget-header\":\"\")},d),this.footerNode=r.create(\"div\",{className:\"dgrid-footer\"+(this.showFooter?\"\":\" dgrid-footer-hidden\")},d),l&&(d.className+=\" dgrid-rtl\"+(s(\"dom-rtl-scrollbar-left\")?\" dgrid-rtl-swap\":\"\")),o(i,\"scroll\",function(t){h.showHeader&&(e.scrollLeft=t.scrollLeft||i.scrollLeft),t.stopPropagation(),o.emit(d,\"scroll\",{scrollTarget:i})}),this.configStructure(),this.renderHeader(),this.contentNode=this.touchNode=r.create(\"div\",{className:\"dgrid-content\"+(u?\" ui-widget-content\":\"\")},this.bodyNode),\"string\"==typeof this.resizeThrottleMethod&&a[this.resizeThrottleMethod]?c=a[this.resizeThrottleMethod](_,this,this.resizeThrottleDelay):\"function\"==typeof this.resizeThrottleMethod?c=this.resizeThrottleMethod(t.hitch(this,_),this.resizeThrottleDelay):(console.warn(\"Invalid value specified for resizeThrottleMethod: \"+this.resizeThrottleMethod),c=a.throttleDelayed(_,this,this.resizeThrottleDelay)),this._resizeHandle=o(window,\"resize\",c),this._listeners.push(this._resizeHandle)},postCreate:function(){},startup:function(){this._started||(this.inherited(arguments),this._started=!0,this.resize(),this.set(\"sort\",this.sort))},configStructure:function(){},resize:function(){var e=this.bodyNode,t=this.headerNode,n=this.footerNode,r=t.offsetHeight,o=this.showFooter?n.offsetHeight:0;this.headerScrollNode.style.height=e.style.marginTop=r+\"px\",e.style.marginBottom=o+\"px\",c||(c=s(\"dom-scrollbar-width\"),d=s(\"dom-scrollbar-height\"),s(\"ie\")&&(c++,d++),a.addCssRule(\".dgrid-scrollbar-width\",\"width: \"+c+\"px\"),a.addCssRule(\".dgrid-scrollbar-height\",\"height: \"+d+\"px\"),17!==c&&(a.addCssRule(\".dgrid-header-row\",\"right: \"+c+\"px\"),a.addCssRule(\".dgrid-rtl-swap .dgrid-header-row\",\"left: \"+c+\"px\")))},addCssRule:function(e,t){var n=a.addCssRule(e,t);return this.cleanAddedRules&&this._listeners.push(n),n},on:function(e,t){var n=o(this.domNode,e,t);return s(\"dom-addeventlistener\")||this._listeners.push(n),n},cleanup:function(){var e;for(e in this._rowIdToObject)if(this._rowIdToObject[e]!==this.columns){var t=f(e,this.domNode);t&&this.removeRow(t,!0)}},destroy:function(){if(this._listeners){for(var e=this._listeners.length;e--;)this._listeners[e].remove();this._listeners=null}this._started=!1,this.cleanup(),r.destroy(this.domNode)},refresh:function(){this.cleanup(),this._rowIdToObject={},this._autoRowId=0,this.contentNode.innerHTML=\"\",this.scrollTo({x:0,y:0})},highlightRow:function(e,t){var r=\"dgrid-highlight\"+(this.addUiClasses?\" ui-state-highlight\":\"\");e=e.element||e,n.add(e,r),setTimeout(function(){n.remove(e,r)},t||this.highlightDuration)},adjustRowIndices:function(e){var t=e,n=t.rowIndex;if(n>-1)do{t.rowIndex>-1&&this.setRowIndex(t,n++,t.rowIndex)}while((t=t.nextSibling)&&t.rowIndex!==n)},renderArray:function(e,t,n){var r,o=this,i=(n=n||{}).start||0,s=document.createDocumentFragment(),a=[],l=0,c=e.length;for(t||(this._lastCollection=e);l<c;)a[l]=this.insertRow(e[l],s,null,i++,n),l++;return(r=t?t.parentNode:o.contentNode)&&r.parentNode&&(r!==o.contentNode||c)&&(r.insertBefore(s,t||null),c&&o.adjustRowIndices(a[c-1])),a},renderHeader:function(){},setRowIndex:function(e,t,r){if(e.rowIndex=t,this.maintainOddEven){var o=t%2==1?u:h;if(void 0!==r){var i=r%2==1?u:h;i!==o&&n.replace(e,i,o)}else n.add(e,o)}},_autoRowId:0,insertRow:function(e,t,n,r,o){var i=this.id+\"-row-\"+(this.collection&&this.collection.getIdentity?this.collection.getIdentity(e):this._autoRowId++),s=f(i,this.domNode),a=s&&s.previousSibling;return s&&(s===n&&(n=(n.connected||n).nextSibling),this.removeRow(s,!1,o)),(s=this.renderRow(e,o)).className=(s.className||\"\")+\" dgrid-row \"+(this.addUiClasses?\" ui-state-default\":\"\"),this._rowIdToObject[s.id=i]=e,t.insertBefore(s,n||null),this.setRowIndex(s,r),a&&a.rowIndex!==s.rowIndex-1&&this.adjustRowIndices(a),s},renderRow:function(e){var t=document.createElement(\"div\");return t.appendChild(document.createTextNode(e)),t},removeRow:function(e,t){e=e.element||e,delete this._rowIdToObject[e.id],t||r.destroy(e)},row:function(e){var t,n;if(e instanceof this._Row)return e;if(e.target&&e.target.nodeType&&(e=e.target),!e.nodeType)return\"object\"==typeof e?t=this.collection.getIdentity(e):(t=e,e=this._rowIdToObject[this.id+\"-row-\"+t]),new this._Row(t,e,f(this.id+\"-row-\"+t,this.domNode));do{var r=e.id;if(n=this._rowIdToObject[r])return new this._Row(r.substring(this.id.length+5),n,e);e=e.parentNode}while(e&&e!==this.domNode)},cell:function(e){return{row:this.row(e)}},_move:function(e,t,n,r){var o,i,s;s=i=e.element,t=t||1;do{if(o=i[t<0?\"previousSibling\":\"nextSibling\"]){do{if((i=o)&&(i.className+\" \").indexOf(n+\" \")>-1){s=i,t+=t<0?1:-1;break}}while(o=(!r||!i.hidden)&&i[t<0?\"lastChild\":\"firstChild\"])}else if(!(i=i.parentNode)||i===this.bodyNode||i===this.headerNode)break}while(t);return s},up:function(e,t,n){return e.element||(e=this.row(e)),this.row(this._move(e,-(t||1),\"dgrid-row\",n))},down:function(e,t,n){return e.element||(e=this.row(e)),this.row(this._move(e,t||1,\"dgrid-row\",n))},scrollTo:function(e){void 0!==e.x&&(this.bodyNode.scrollLeft=e.x),void 0!==e.y&&(this.bodyNode.scrollTop=e.y)},getScrollPosition:function(){return{x:this.bodyNode.scrollLeft,y:this.bodyNode.scrollTop}},get:function(e){var t=\"_get\"+e.charAt(0).toUpperCase()+e.slice(1);return\"function\"==typeof this[t]?this[t].apply(this,[].slice.call(arguments,1)):(s(\"dojo-built\")||\"function\"!=typeof this[t+\"Attr\"]||console.warn(\"dgrid: Use \"+t+\" instead of \"+t+\"Attr for getting \"+e),this[e])},set:function(e,t){if(\"object\"==typeof e)for(var n in e)this.set(n,e[n]);else{var r=\"_set\"+e.charAt(0).toUpperCase()+e.slice(1);\"function\"==typeof this[r]?this[r].apply(this,[].slice.call(arguments,1)):(s(\"dojo-built\")||\"function\"!=typeof this[r+\"Attr\"]||console.warn(\"dgrid: Use \"+r+\" instead of \"+r+\"Attr for setting \"+e),this[e]=t)}return this},_getClass:y,_setClass:m,_getClassName:y,_setClassName:m,_setSort:function(e,t){this.sort=\"string\"!=typeof e?e:[{property:e,descending:t}],this._applySort()},_applySort:function(){if(this.refresh(),this._lastCollection){var e=this.sort;if(e&&e.length>0){var t=e[0].property,n=!!e[0].descending;this._lastCollection.sort(function(e,r){var o=e[t],i=r[t];return void 0===o&&(o=\"\"),void 0===i&&(i=\"\"),o===i?0:o>i!==n?1:-1})}this.renderArray(this._lastCollection)}},_setShowHeader:function(e){var t=this.headerNode;this.showHeader=e,n.toggle(t,\"dgrid-header-hidden\",!e),this.renderHeader(),this.resize(),e&&(t.scrollLeft=this.getScrollPosition().x)},_setShowFooter:function(e){this.showFooter=e,n.toggle(this.footerNode,\"dgrid-footer-hidden\",!e),this.resize()}});return b.autoIdPrefix=\"dgrid_\",b}.apply(null,r),void 0===o||(e.exports=o)},5602(e,t,n){var r,o;n.dj.r;r=[n(6345),n(1540),n(6850)],void 0===(o=function(e,t,n){return e([t,n],{})}.apply(null,r))||(e.exports=o)},6850(e,t,n){var r,o;n.dj.r;r=[n(4624),n(8301),n(6345),n(6323),n(28),n(2075),n(3534),n(1172),n(4975)],o=function(e,t,n,r,o,i,s,a,l){var c=0;function d(){return c++}function u(e){return e&&(e.className.indexOf(\"dgrid-row\")>=0||e.className.indexOf(\"dgrid-loading\")>=0)}function h(e){return e&&e.className.indexOf(\"dgrid-preload\")>=0}return n([e,t],{minRowsPerPage:25,maxRowsPerPage:250,maxEmptySpace:1/0,bufferRows:10,farOffRemoval:2e3,queryRowsOverlap:0,pagingMethod:\"debounce\",pagingDelay:l.defaultDelay,keepScrollPosition:!1,rowHeight:0,_deleteQueue:[],postCreate:function(){this.inherited(arguments);var e=this;i(this.bodyNode,\"scroll\",l[this.pagingMethod](function(t){e._processScroll(t)},null,this.pagingDelay))},renderQuery:function(e,t){var n,i,a,l,c=this,u=t&&t.container||this.contentNode,h=0,f=t&&t.start||0;\"level\"in e&&(h=l=e.level),n={query:e,count:0,level:h,top:!1};var p={node:o.create(\"div\",{className:\"dgrid-preload\",style:{height:\"0\"}},u),count:0,query:e,next:n,level:h,top:!0};(i=p.node).rowIndex=0,n.previous=p,a=n.node=o.create(\"div\",{className:\"dgrid-preload\",style:{height:\"0\"}},u),p.id=d(),i.setAttribute(\"data-preloadid\",p.id),n.id=d(),a.setAttribute(\"data-preloadid\",n.id),a.rowIndex=this.minRowsPerPage,c._insertPreload(p);var v=o.create(\"div\",{className:\"dgrid-loading\"},a,\"before\");return o.create(\"div\",{className:\"dgrid-below\"},v).innerHTML=this.loadingMessage,t=r.mixin({start:0,count:this.minRowsPerPage},t),null!=l&&(t.queryLevel=l),this._trackError(function(){var r=e(t);return c.renderQueryResults(r,a,t).then(function(e){return r.totalLength.then(function(r){var l=e.length,d=a.parentNode;return c._rows&&!(\"queryLevel\"in t)&&(c._rows.min=0,c._rows.max=l===r?1/0:l-1),o.destroy(v),\"queryLevel\"in t||(c._total=r),0===r&&d&&(c.noDataNode&&o.destroy(c.noDataNode),c._insertNoDataNode(d)),p.count=f,n.count=r-l-f,a.rowIndex=f+l,r?c._updatePreloadRowHeights(p):(a.style.display=\"none\",i.style.display=\"none\"),c._previousScrollPosition&&d&&d.offsetHeight&&(c.scrollTo(c._previousScrollPosition),delete c._previousScrollPosition),s(c._processScroll()).then(function(){return e})})}).otherwise(function(e){throw o.destroy(v),e})})},_insertPreload:function(e){var t=this.preload;if(t){for(;t.node.compareDocumentPosition(e.node)&Node.DOCUMENT_POSITION_PRECEDING;)if(null==(t=t.previous))return;for(;t.node.compareDocumentPosition(e.node)&Node.DOCUMENT_POSITION_FOLLOWING&&t.next;)t=t.next;t.previous.next=e,e.previous=t.previous;var n=e.next;n.next=t,t.previous=n}else this.preload=e},refresh:function(e){var t,n=this,r=e&&e.keepScrollPosition;if(void 0===r&&(r=this.keepScrollPosition),r&&(this._previousScrollPosition=this.getScrollPosition()),this.inherited(arguments),this._renderedCollection)return this.renderQuery(function(e){var r=n._renderedCollection.fetchRange({start:e.start,end:e.start+e.count});return r.then(function(e){t=e}),r}).then(function(){return n._emitRefreshComplete(),t})},resize:function(){this.inherited(arguments),this._processScroll()},cleanup:function(){this.inherited(arguments),this.preload=null},renderQueryResults:function(e){var t=this.inherited(arguments),n=this._getRenderedCollection(this.preload);return n&&n.releaseRange&&t.then(function(t){t[0]&&!t[0].parentNode.tagName&&e.totalLength.then(function(){n.releaseRange(t[0].rowIndex,t[t.length-1].rowIndex+1)})}),t},_getFirstRowSibling:function(e){return e.lastChild},_calcRowHeight:function(e){var t=e.nextSibling;return t&&!/\\bdgrid-preload\\b/.test(t.className)?t.offsetTop-e.offsetTop:e.offsetHeight},_calcAverageRowHeight:function(e){for(var t=e.length,n=0,r=0;r<t;r++)n+=this._calcRowHeight(e[r]);return t&&n?n/t:0},_updatePreloadRowHeights:function(){var e=this.preload,t=0;if(e){for(;e.previous;)e=e.previous;for(;e;)e.rowHeight||(e.rowHeight=this._calcAverageRowHeight(e.node.parentNode.querySelectorAll(\".dgrid-row\")),this._adjustPreloadHeight(e)),t=e?e.rowHeight:t,e=e.next;this.rowHeight=t}},lastScrollTop:0,_processScroll:function(e){var t,n=this.preload;if(this._updatePreloadRowHeights(),t=n&&n.rowHeight){var r,i,s,a=this,l=a.bodyNode,c=e&&e.scrollTop||this.getScrollPosition().y,d=l.offsetHeight+c,f=a.lastScrollTop,p=a.bufferRows*t,v=p-t,g=!0;for(a.lastScrollTop=c;n&&!n.node.offsetWidth;)n=n.previous;for(;n&&n!==r;){r=a.preload,a.preload=n;var m=(i=n.node).offsetTop;if(d+1+v<m)n=M(n,g=!1);else if(c-1-v>m+i.offsetHeight)n=M(n,g=!0);else{var y=((i.top?c-p:d)-m)/n.rowHeight,_=(d-c+2*p)/n.rowHeight,b=Math.max(Math.min((c-f)*n.rowHeight,a.maxRowsPerPage/2),a.maxRowsPerPage/-2);if(_+=Math.min(Math.abs(b),10),i.top&&(y-=_),(y=Math.max(y,0))<10&&y>0&&_+y<a.maxRowsPerPage&&(_+=Math.max(0,y),y=0),0===(_=Math.min(Math.max(_,a.minRowsPerPage),a.maxRowsPerPage,n.count))){n=M(n,g);continue}_=Math.ceil(_),y=Math.min(Math.floor(y),n.count-_);var w={};n.count-=_;var x,N=i,C=a.queryRowsOverlap,j=!n.top&&n;if(j)n.previous&&(E(n),y>0&&h(i.previousSibling)?(y=Math.min(n.count,y),n.previous.count+=y,a._adjustPreloadHeight(n.previous,!0),i.rowIndex+=y,C=0):_+=y,n.count-=y),w.start=i.rowIndex-C,w.count=Math.min(_+C,a.maxRowsPerPage),i.rowIndex=w.start+w.count;else n.next&&(N=i.nextSibling,E(n,!0),h(i.nextSibling)?(n.next.count+=n.count-y,n.next.node.rowIndex=y+_,a._adjustPreloadHeight(n.next),n.count=y,C=0,N=n.next.node):x=!0),w.start=n.count,w.count=Math.min(_+C,a.maxRowsPerPage),w.scrollingUp=!0;if(x&&N&&N.offsetWidth&&(x=N.offsetTop),a._adjustPreloadHeight(n),\"level\"in n.query&&(w.queryLevel=n.query.level),!(\"queryLevel\"in w)&&(w.start>a._total||w.count<0))continue;var S=o.create(\"div\",{className:\"dgrid-loading\",style:{height:_*n.rowHeight+\"px\"}},N,\"before\");o.create(\"div\",{className:\"dgrid-\"+(j?\"below\":\"above\"),innerHTML:a.loadingMessage},S),S.count=_,a._trackError(function(){!function(e,t,r){var i=n.query(w);s=a.renderQueryResults(i,e,w).then(function(n){var s=a._rows;return s&&!(\"queryLevel\"in w)&&n.length&&(t?(s.max<=s.min&&(s.min=n[0].rowIndex),s.max=n[n.length-1].rowIndex):(s.max<=s.min&&(s.max=n[n.length-1].rowIndex),s.min=n[0].rowIndex)),N=e.nextSibling,o.destroy(e),r&&N&&N.offsetWidth&&a.scrollTo({y:a.bodyNode.scrollTop+N.offsetTop-r}),i.totalLength.then(function(e){\"queryLevel\"in w||(a._total=e,a._rows&&a._rows.max>=a._total-1&&(a._rows.max=1/0)),t&&(t.count=e-t.node.rowIndex,a._adjustPreloadHeight(t))}),a._processScroll(),n},function(t){throw o.destroy(e),t})}(S,j,x)}),n=n.previous}}return s}function T(e,t){return t?e.node.offsetTop-d:c-(e.node.offsetTop+e.node.offsetHeight)}function E(e,t){var n=e;e=function(e,t){for(var n,r=t?\"next\":\"previous\";n=e[r];)e=n;return e}(e,t);var r,o,i=T(e,t),s=a.farOffRemoval,l=e.node,c=t?\"previousSibling\":\"nextSibling\",d=0,f=0;function p(){var r,o,s=function(){for(var n=!t,r=e;r=r[t?\"previous\":\"next\"];)if(n===r.top)return r}();if(s&&n!==s&&!h((o=s).top?o.node.nextSibling:o.node.previousSibling))return g(),l=(e=s).node,i=T(e,t),m(r=v(l)),r}function v(e){var t=h(e),n=e[c];return n&&(u(n)||(n=t&&h(n)?null:p()||v(n))),n}function g(){e.count+=d,t&&(l.rowIndex-=d),a._adjustPreloadHeight(e),d=0,a._releaseRange(e,t,r,o)}function m(e){r=e&&e.rowIndex,o=void 0}if(i>2*s){var y,_=v(l);for(m(_);(y=_)&&n!==e;){var b=a._calcRowHeight(y);f+b+s>i||!u(y)?_=p():(f+=b,d+=y.count||1,a._pruneRow(y,t),\"rowIndex\"in y&&(o=y.rowIndex),_=v(y))}g(),a._deleteNodeQueue()}}function M(e,t){do{e=t?e.next:e.previous}while(e&&!e.node.offsetWidth);return e}},_adjustPreloadHeight:function(e,t){e.node.style.height=this._calculatePreloadHeight(e,t)+\"px\"},_calculatePreloadHeight:function(e,t){return Math.min(e.count*e.rowHeight,t?1/0:this.maxEmptySpace)},_pruneRow:function(e,t,n){this.removeRow(e,!0,n),this._queueNodeForDeletion(e)},_queueNodeForDeletion:function(e){this._deleteQueue.push(e)},_deleteNodeQueue:function(){for(var e=document.createElement(\"div\"),t=this._deleteQueue,n=t.length;n--;)e.appendChild(t[n]);this._deleteQueue=[],setTimeout(function(){o.destroy(e)},1)},_removePreloads:function(e){if(e&&e.length){var t=this,n=this._getHeadPreload();e.forEach(function(e){var r=t._findPreload(e,n);r&&(r.previous&&(r.previous.next=r.next),r.next&&(r.next.previous=r.previous))})}},_getHeadPreload:function(){var e=this.preload;if(e)for(;e.previous;)e=e.previous;return e},_findPreload:function(e,t){t||(t=this._getHeadPreload());for(var n=t;n;){if(n.node===e)return n;n=n.next}},_getRenderedCollection:function(){return this._renderedCollection},_releaseRange:function(e,t,n,r){if(e){var o=e.level,i=this._getRenderedCollection(e);null!=r&&i.releaseRange&&\"number\"==typeof n&&\"number\"==typeof r&&(t?i.releaseRange(r,n+1):i.releaseRange(n,r+1),this._rows&&!o&&(this._rows[t?\"max\":\"min\"]=r,this._rows.max>=this._total-1&&(this._rows.max=1/0)))}}})}.apply(null,r),void 0===o||(e.exports=o)},2348(e,t,n){var r,o;n.dj.r;r=[n(6345),n(6566),n(8945),n(8471),n(2075),n(2616),n.dj.h(\"touch?5892\"),n(1172),n(2284)],o=function(e,t,n,r,o,i,s){i.add(\"dom-comparedocumentposition\",function(e,t,n){return!!n.compareDocumentPosition}),i.add(\"dom-selectstart\",void 0!==document.onselectstart);var a=i(\"mac\")?\"metaKey\":\"ctrlKey\",l=i(\"css-user-select\"),c=i(\"pointer\"),d=c&&\"MS\"===c.slice(0,2),u=c?c+(d?\"Down\":\"down\"):\"mousedown\",h=c?c+(d?\"Up\":\"up\"):\"mouseup\";function f(e,t){for(var n=e.unselectable=t?\"on\":\"\",r=e.getElementsByTagName(\"*\"),o=r.length;--o;)\"INPUT\"!==r[o].tagName&&\"TEXTAREA\"!==r[o].tagName&&(r[o].unselectable=n)}function p(e,n){var r=e.bodyNode,s=n?\"text\":i(\"ff\")<21?\"-moz-none\":\"none\";l&&\"msUserSelect\"!==l?r.style[l]=s:i(\"dom-selectstart\")?n||e._selectstartHandle?n&&e._selectstartHandle&&(e._selectstartHandle.remove(),delete e._selectstartHandle):e._selectstartHandle=o(r,\"selectstart\",function(e){var t=e.target&&e.target.tagName;\"INPUT\"!==t&&\"TEXTAREA\"!==t&&e.preventDefault()}):(f(r,!n),n||e._unselectableHandle?n&&e._unselectableHandle&&(e._unselectableHandle.remove(),delete e._unselectableHandle):e._unselectableHandle=t.after(e,\"renderRow\",function(e){return f(e,!0),e}))}return\"WebkitUserSelect\"===l&&void 0!==document.documentElement.style.msUserSelect&&(l=!1),e(null,{selectionDelegate:\".dgrid-row\",selectionEvents:u+\",\"+h+\",dgrid-cellfocusin\",selectionTouchEvents:null,deselectOnRefresh:!0,allowSelectAll:!1,selection:{},selectionMode:\"extended\",allowTextSelection:void 0,_selectionTargetType:\"rows\",create:function(){return this.selection={},this.inherited(arguments)},postCreate:function(){this.inherited(arguments),this._initSelectionEvents();var e=this.selectionMode;this.selectionMode=\"\",this._setSelectionMode(e)},destroy:function(){this.inherited(arguments),this._selectstartHandle&&this._selectstartHandle.remove(),this._unselectableHandle&&this._unselectableHandle.remove(),this._removeDeselectSignals&&this._removeDeselectSignals()},_setSelectionMode:function(e){e!==this.selectionMode&&(this.clearSelection(),this.selectionMode=e,this._selectionHandlerName=\"_\"+e+\"SelectionHandler\",this._setAllowTextSelection(this.allowTextSelection))},_setAllowTextSelection:function(e){p(this,void 0!==e?e:\"none\"===this.selectionMode),this.allowTextSelection=e},_handleSelect:function(e,t){r.isRight(e)||!this[this._selectionHandlerName]||!this.allowSelect(this.row(t))||\"dgrid-cellfocusin\"===e.type&&\"mousedown\"===e.parentType||e.type===h&&t!==this._waitForMouseUp||(this._waitForMouseUp=null,this._selectionTriggerEvent=e,e.keyCode&&e.ctrlKey&&32!==e.keyCode||(!e.shiftKey&&e.type===u&&this.isSelected(t)?this._waitForMouseUp=t:this[this._selectionHandlerName](e,t)),this._selectionTriggerEvent=null)},_singleSelectionHandler:function(e,t){var n=e.keyCode?e.ctrlKey:e[a];this._lastSelected===t?this.select(t,null,!n||!this.isSelected(t)):(this.clearSelection(),this.select(t),this._lastSelected=t)},_multipleSelectionHandler:function(e,t){var n,r=this._lastSelected,o=e.keyCode?e.ctrlKey:e[a];e.shiftKey||(n=!o||null,r=null),this.select(t,r,n),r||(this._lastSelected=t)},_extendedSelectionHandler:function(e,t){!e[a]&&this.isSelected(t)&&1===this.getSelectedCount()||((2===e.button?this.isSelected(t):e.keyCode?e.ctrlKey:e[a])||this.clearSelection(null,!0),this._multipleSelectionHandler(e,t))},_toggleSelectionHandler:function(e,t){this.select(t,null,null)},_initSelectionEvents:function(){var e=this,n=this.contentNode,r=this.selectionDelegate;this._selectionEventQueues={deselect:[],select:[]},o(n,o.selector(r,this.selectionEvents),function(t){e._handleSelect(t,this)}),this.addKeyHandler&&this.addKeyHandler(32,function(t){e._handleSelect(t,t.target)}),this.allowSelectAll&&this.on(\"keydown\",function(t){t[a]&&65===t.keyCode&&!/\\bdgrid-input\\b/.test(t.target.className)&&(t.preventDefault(),e[e.allSelected?\"clearSelection\":\"selectAll\"]())}),this._setCollection&&this._listeners.push(t.before(this,\"_setCollection\",function(t){e._updateDeselectionAspect(t)})),this._updateDeselectionAspect()},_updateDeselectionAspect:function(e){var n,r=this;function o(e,t){var n=r.row(e);n&&r.selection[n.id]&&r[t](n)}this._removeDeselectSignals&&this._removeDeselectSignals(),n=e&&e.track&&this._observeCollection?[t.before(this,\"_observeCollection\",function(e){n.push(e.on(\"delete\",function(e){void 0===e.index&&o(e.id,\"deselect\")}))}),t.after(this,\"_observeCollection\",function(e){n.push(e.on(\"update\",function(t){void 0!==t.index&&o(e.getIdentity(t.target),\"select\")}))},!0)]:[t.before(this,\"removeRow\",function(e,t){var n;t||(n=this.row(e))&&n.id in this.selection&&this.deselect(n)})],this._removeDeselectSignals=function(){for(var e=n.length;e--;)n[e].remove();n=[]}},allowSelect:function(){return!0},_fireSelectionEvent:function(e){var t,n=this._selectionEventQueues[e],r=this._selectionTriggerEvent;t={bubbles:!0,grid:this},r&&(t.parentType=r.type),t[this._selectionTargetType]=n,this._selectionEventQueues[e]=[],o.emit(this.contentNode,\"dgrid-\"+e,t)},_fireSelectionEvents:function(){var e,t=this._selectionEventQueues;for(e in t)t[e].length&&this._fireSelectionEvent(e)},_select:function(e,t,r){var o,i,s,a,l;if(void 0===r&&(r=!0),e.element||(e=this.row(e)),(!1===r||this.allowSelect(e))&&(i=!!(o=this.selection)[e.id],null===r&&(r=!i),s=e.element,r||this.allSelected?o[e.id]=r:delete this.selection[e.id],s&&(r?n.add(s,\"dgrid-selected\"+(this.addUiClasses?\" ui-state-active\":\"\")):n.remove(s,\"dgrid-selected ui-state-active\")),r!==i&&s&&this._selectionEventQueues[(r?\"\":\"de\")+\"select\"].push(e),t)){if(t.element||(t=this.row(t)),!t)return this._lastSelected=s,void console.warn(\"The selection range has been reset because the beginning of the selection is no longer in the DOM. If you are using OnDemandList, you may wish to increase farOffRemoval to avoid this, but note that keeping more nodes in the DOM may impact performance.\");if(a=t.element)for((l=this._determineSelectionDirection(s,a))||(a=document.getElementById(a.id),l=this._determineSelectionDirection(s,a));e.element!==a&&(e=this[l](e));)this._select(e,null,r)}},_determineSelectionDirection:i(\"dom-comparedocumentposition\")?function(e,t){var n=t.compareDocumentPosition(e);return!(1&n)&&(2===n?\"down\":\"up\")}:function(e,t){return!(t.sourceIndex<1)&&(t.sourceIndex>e.sourceIndex?\"down\":\"up\")},select:function(e,t,n){this._select(e,t,n),this._fireSelectionEvents()},deselect:function(e,t){this.select(e,t,!1)},clearSelection:function(e,t){for(var n in this.allSelected=!1,this.selection)e!==n&&this._select(n,null,!1);t||(this._lastSelected=null),this._fireSelectionEvents()},selectAll:function(){for(var e in this.allSelected=!0,this.selection={},this._rowIdToObject){var t=this.row(this._rowIdToObject[e]);this._select(t.id,null,!0)}this._fireSelectionEvents()},getSelectedCount:function(){var e=0;for(var t in this.selection)t&&(e+=1);return e},isSelected:function(e){return null!=e&&(e.element||(e=this.row(e)),e.id in this.selection?!!this.selection[e.id]:this.allSelected&&(!e.data||this.allowSelect(e)))},refresh:function(){return this.deselectOnRefresh&&this.clearSelection(),this._lastSelected=null,this.inherited(arguments)},renderArray:function(){var e,t,n,r=this.inherited(arguments),o=this.selection;for(e=0;e<r.length;e++)(n=(t=this.row(r[e])).id in o?o[t.id]:this.allSelected)&&this.select(t,null,n);return this._fireSelectionEvents(),r}})}.apply(null,r),void 0===o||(e.exports=o)},8301(e,t,n){var r,o;n.dj.r;r=[n(6345),n(6323),n(5625),n(6566),n(28),n(6356),n(2075),n(3534)],o=function(e,t,n,r,o,i,s,a){function l(e){if(\"object\"!=typeof e)e=new Error(e);else if(\"cancel\"===e.dojoType)return;s.emit(this.domNode,\"dgrid-error\",{grid:this,error:e,cancelable:!0,bubbles:!0})&&console.error(e)}return e(null,{collection:null,_renderedCollection:null,_rows:null,_observerHandle:null,_structureHandle:null,shouldTrackCollection:!0,getBeforePut:!0,noDataMessage:\"\",loadingMessage:\"\",_total:0,constructor:function(){this.dirty={},this._updating={},this._columnsWithSet={},this._structureHandle=r.before(this,\"configStructure\",t.hitch(this,function(){this._columnsWithSet={}}))},destroy:function(){this.inherited(arguments),this._structureHandle&&this._structureHandle.remove(),this._renderedCollection&&this._cleanupCollection(),this._refreshTimeout&&clearTimeout(this._refreshTimeout)},_configColumn:function(e){e.set&&(this._columnsWithSet[e.field]=e),this.inherited(arguments)},_setCollection:function(e){if(this._renderedCollection&&(this.cleanup(),this._cleanupCollection({shouldRevert:!e||e.storage!==this._renderedCollection.storage})),this.collection=e,this._started){if(e){var t=e;this.sort&&this.sort.length>0&&(t=e.sort(this.sort)),t.track&&this.shouldTrackCollection&&(t=t.track(),this._rows=[],this._observerHandle=this._observeCollection(t,this.contentNode,{rows:this._rows})),this._renderedCollection=t}this.refresh()}},_setStore:function(){this.collection||console.debug(\"set('store') call detected, but you probably meant set('collection')\")},_getTotal:function(){return this._total},_cleanupCollection:function(e){e=e||{},this._observerHandle&&(this._observerHandle.remove(),this._observerHandle=this._rows=null),!1!==e.shouldRevert&&(this.dirty={}),this._renderedCollection=this.collection=null},_applySort:function(){this.collection?this.set(\"collection\",this.collection):this.store&&console.debug(\"_StoreMixin found store property but not collection; this is often the sign of a mistake during migration from 0.3 to 0.4\")},_emitRefreshComplete:function(){var e=this;this._refreshTimeout=setTimeout(function(){s.emit(e.domNode,\"dgrid-refresh-complete\",{bubbles:!0,cancelable:!1,grid:e}),e._refreshTimeout=null},0)},_insertNoDataNode:function(e){this._removeNoDataNode(),e=e||this.contentNode;var t=this.noDataNode=o.create(\"div\",{className:\"dgrid-no-data\",innerHTML:this.noDataMessage});return e.insertBefore(t,this._getFirstRowSibling?this._getFirstRowSibling(e):null),t},_removeNoDataNode:function(){return!!this.noDataNode&&(o.destroy(this.noDataNode),delete this.noDataNode,!0)},row:function(){var e=this.inherited(arguments);return e&&e.data&&void 0!==e.id&&(e.id=this.collection.getIdentity(e.data)),e},refresh:function(){var e=this.inherited(arguments);return this.collection||this._insertNoDataNode(),e},refreshCell:function(e){if(!this.collection||!this._createBodyRowCell)throw new Error(\"refreshCell requires a Grid with a collection.\");return this.inherited(arguments),this.collection.get(e.row.id).then(t.hitch(this,\"_refreshCellFromItem\",e))},_refreshCellFromItem:function(e,n,r){var i=e.element;o.empty(i);var s=this.dirty&&this.dirty[e.row.id];s&&(n=t.delegate(n,s)),this._createBodyRowCell(i,e.column,n,r)},renderArray:function(){var e=this.inherited(arguments);return this.collection||e.length&&this.noDataNode&&o.destroy(this.noDataNode),e},insertRow:function(e,n,r,i,s){var a,l,c=this.collection,d=this.dirty,u=c&&c.getIdentity(e);return u in d&&!(u in this._updating)&&(a=d[u]),a&&(e=t.delegate(e,a)),l=this.inherited(arguments),s&&s.rows&&(s.rows[i]=l),this.noDataNode&&(o.destroy(this.noDataNode),this.noDataNode=null),l},updateDirty:function(e,t,n){var r=this.dirty,o=r[e];o||(o=r[e]={}),o[t]=n},save:function(){var e=this,t=this.collection,r=this.dirty,o=new n,i={},s=function(n){var r;return e.getBeforePut||!(r=e.row(n).data)?function(){return t.get(n)}:function(){return r}};function a(n,o){return function(s){var a,l,c=e._columnsWithSet,d=e._updating;if(\"function\"==typeof s.set)s.set(o);else for(a in o)s[a]=o[a];for(a in c)void 0!==(l=c[a].set(s))&&(s[a]=l);return d[n]=!0,t.put(s).then(function(e){return delete r[n],delete d[n],i[n]=e,i})}}var l=o.then(function(){return i});for(var c in r){var d=a(c,r[c]);l=l.then(s(c)).then(d)}return o.resolve(),l},revert:function(){this.dirty={},this.refresh()},_trackError:function(e){\"string\"==typeof e&&(e=t.hitch(this,e));var r,o=this;try{r=a(e())}catch(e){var i=new n;i.reject(e),r=i.promise}return r.otherwise(function(e){l.call(o,e)}),r},removeRow:function(e,t,n){var r={element:e};t||this.up(r).element!==e||this.down(r).element!==e||this._insertNoDataNode();var o=n&&n.rows||this._rows;return o&&delete o[e.rowIndex],this.inherited(arguments)},renderQueryResults:function(e,n,r){r=t.mixin({rows:this._rows},r);var o=this;return i(\"dojo-built\")||e.totalLength.then(function(e){null==e&&console.warn(\"Store reported null or undefined totalLength. Make sure your store (and service, if applicable) are reporting total correctly!\")}),e.then(function(e){var t=o.renderArray(e,n,r);return delete o._lastCollection,t})},_observeCollection:function(e,t,n){var r,o=this,i=n.rows,s=[e.on(\"delete, update\",function(e){var s=e.previousIndex,a=e.index;void 0!==s&&i[s]&&(\"max\"in i&&(void 0===a||a<i.min||a>i.max)&&i.max--,i.max<0&&(i.max=0),(r=i[s]).parentNode===t&&o.removeRow(r,!1,n),i.splice(s,1),(\"delete\"===e.type||\"update\"===e.type&&(s<a||void 0===a))&&i[s]&&i[s].rowIndex--),\"delete\"===e.type&&(r=null)}),e.on(\"add, update\",function(e){var s,a=e.previousIndex,l=e.index;function c(){s=(s.connected||s).nextSibling}void 0!==l&&(!(\"max\"in i)||l>=i.min&&l<=i.max)&&(\"max\"in i&&(void 0===a||a<i.min||a>i.max)&&i.max++,i.length?(s=i[l])||(s=i[l-1])&&c():s=o._getFirstRowSibling&&o._getFirstRowSibling(t),r&&s&&r.id===s.id&&c(),s&&!s.parentNode&&(s=document.getElementById(s.id)),i.splice(l,0,void 0),r=o.insertRow(e.target,t,s,l,n),o.highlightRow(r)),r=null}),e.on(\"add, delete, update\",function(t){var n=void 0!==t.previousIndex?t.previousIndex:1/0,r=void 0!==t.index?t.index:1/0,s=Math.min(n,r);n!==r&&i[s]&&o.adjustRowIndices(i[s]),n!==1/0&&o._processScroll&&(i[n]||i[n-1])&&o._processScroll(),o._onNotification(i,t,e),e===o._renderedCollection&&\"totalLength\"in t&&(o._total=t.totalLength)})];return{remove:function(){for(;s.length>0;)s.pop().remove()}}},_onNotification:function(){}})}.apply(null,r),void 0===o||(e.exports=o)},5533(e,t,n){var r,o;n.dj.r;r=[n(6345),n(6974),n(2075),n(1172),n(6323),n(2284),n(28),n(2685),n(6356),n(4975),n(1142)],o=function(e,t,n,r,o,i,s,a,l,c){function d(e,t,n,r,o){for(var i=1;i<t;i++)e[n+i][r]=o}function u(e){for(var n=e.length,r=n,o=t.filter(e[0],function(e){return!e.hidden}).length,i=new Array(n);n--;)i[n]=new Array(o);var s={};for(n=0;n<r;n++)for(var a=i[n],l=e[n],c=0,u=0;c<o;c++){var h,f=l[u];if(void 0===a[c]){if(a[c]=f.id,f.rowSpan&&f.rowSpan>1&&d(i,f.rowSpan,n,c,f.id),n>0&&f.colSpan&&f.colSpan>1)for(h=1;h<f.colSpan;h++)a[++c]=f.id,f.rowSpan&&f.rowSpan>1&&d(i,f.rowSpan,n,c,f.id);s[f.id]=e[0][c].id,u++}}return s}function h(e,t,r,o,i){if(!(r<=0)){var s,a,l=e.columns[t];if(l)return s={grid:e,columnId:t,width:r,bubbles:!0,cancelable:!0},o&&(s.parentType=o),!e._resizedColumns||n.emit(e.headerNode,\"dgrid-columnresize\",s)?(\"auto\"===r?delete l.width:(l.width=r,r+=\"px\"),(a=e._columnSizes[t])?a.set(\"width\",r):a=c.addCssRule(\"#\"+c.escapeCssIdentifier(e.domNode.id)+\" .dgrid-column-\"+c.escapeCssIdentifier(t,\"-\"),\"width: \"+r+\";\"),e._columnSizes[t]=a,!1!==i&&e.resize(),!0):void 0}}var f,p,v=0,g=function(){f=s.create(\"div\",{className:\"dgrid-column-resizer\"}),p=s.create(\"div\",{className:\"dgrid-resize-guard\"})},m=function(){s.destroy(f),s.destroy(p),f=p=null},y=function(e){var t=a.position(e.domNode,!0);f.style.top=t.y+\"px\",f.style.height=t.h+\"px\",document.body.appendChild(f),e.domNode.appendChild(p)},_=function(e){f.style.left=e+\"px\"},b=function(){f.parentNode.removeChild(f),p.parentNode.removeChild(p)};return e(null,{resizeNode:null,minWidth:40,adjustLastColumn:!0,_resizedColumns:!1,buildRendering:function(){this.inherited(arguments),v||g(),v++},destroy:function(){for(var e in this.inherited(arguments),this._columnSizes)this._columnSizes[e].remove();--v||m()},resizeColumnWidth:function(e,t){return h(this,e,t)},configStructure:function(){var e,t=this._oldColumnSizes=o.mixin({},this._columnSizes);for(e in this._resizedColumns=!1,this._columnSizes={},this.inherited(arguments),t)e in this._columnSizes||t[e].remove();delete this._oldColumnSizes},_configColumn:function(e){this.inherited(arguments);var t,n=e.id;\"width\"in e&&((t=this._oldColumnSizes[n])?t.set(\"width\",e.width+\"px\"):t=c.addCssRule(\"#\"+c.escapeCssIdentifier(this.domNode.id)+\" .dgrid-column-\"+c.escapeCssIdentifier(n,\"-\"),\"width: \"+e.width+\"px;\"),this._columnSizes[n]=t)},renderHeader:function(){this.inherited(arguments);var e,t=this;if(this.columnSets&&this.columnSets.length)for(var i=this.columnSets.length;i--;)e=o.mixin(e||{},u(this.columnSets[i]));else this.subRows&&this.subRows.length>1&&(e=u(this.subRows));for(var a=r(\".dgrid-cell\",t.headerNode),l=a.length;l--;){var d,h=a[l],f=h.columnId,p=t.columns[f],v=h.childNodes;if(p&&!1!==p.resizable){var g=s.create(\"div\",{className:\"dgrid-resize-header-container\"});for(h.contents=g;v.length>0;)g.appendChild(v[0]);d=s.create(\"div\",{className:\"dgrid-resize-handle resizeNode-\"+c.escapeCssIdentifier(f,\"-\")},g),h.appendChild(g),d.columnId=e&&e[f]||f}}t.mouseMoveListen||(n(t.headerNode,\".dgrid-resize-handle:mousedown\",function(e){t._resizeMouseDown(e,this),t.mouseMoveListen.resume(),t.mouseUpListen.resume()}),t._listeners.push(t.mouseMoveListen=n.pausable(document,\"mousemove\",c.throttleDelayed(function(e){t._updateResizerPosition(e)}))),t._listeners.push(t.mouseUpListen=n.pausable(document,\"mouseup\",function(e){t._resizeMouseUp(e),t.mouseMoveListen.pause(),t.mouseUpListen.pause()})),t.mouseMoveListen.pause(),t.mouseUpListen.pause())},_resizeMouseDown:function(e,t){e.preventDefault(),i.setSelectable(this.domNode,!1),this._startX=this._getResizeMouseLocation(e),this._targetCell=r(\".dgrid-column-\"+c.escapeCssIdentifier(t.columnId,\"-\"),this.headerNode)[0],this._updateResizerPosition(e),y(this)},_resizeMouseUp:function(e){var t,n,o,s=this._columnSizes;this.adjustLastColumn&&(o=this.headerNode.clientWidth-1),this._resizedColumns||(t=r(\".dgrid-cell\",this.headerNode),this.columnSets&&this.columnSets.length?t=t.filter(function(e){return\"0\"===e.columnId.split(\"-\")[0]&&!(e.columnId in s)}):this.subRows&&this.subRows.length>1&&(t=t.filter(function(e){return\"0\"===e.columnId.charAt(0)&&!(e.columnId in s)})),n=t.map(function(e){return e.offsetWidth}),t.forEach(function(e,t){h(this,e.columnId,n[t],null,!1)},this),this._resizedColumns=!0),i.setSelectable(this.domNode,!0);var a=this._targetCell,l=this._getResizeMouseLocation(e)-this._startX,d=a.offsetWidth+l,u=this._getResizedColumnWidths(),f=u.totalWidth,p=u.lastColId,v=r(\".dgrid-column-\"+c.escapeCssIdentifier(p,\"-\"),this.headerNode)[0].offsetWidth;d<this.minWidth&&(d=this.minWidth),h(this,a.columnId,d,e.type)&&a.columnId!==p&&this.adjustLastColumn&&(f+l<o?h(this,p,\"auto\",e.type):v-l<=this.minWidth&&h(this,p,this.minWidth,e.type)),b(),delete this._startX,delete this._targetCell},_updateResizerPosition:function(e){if(this._targetCell){var t=this._getResizeMouseLocation(e),n=t-this._startX,r=this._targetCell.offsetWidth,o=t;r+n<this.minWidth&&(o=this._startX-(r-this.minWidth)),_(o)}},_getResizeMouseLocation:function(e){var t=0;return e.pageX?t=e.pageX:e.clientX&&(t=e.clientX+document.body.scrollLeft+document.documentElement.scrollLeft),t},_getResizedColumnWidths:function(){var e=0,t=r((this.columnSets?\".dgrid-column-set-cell \":\"\")+\"tr:first-child .dgrid-cell\",this.headerNode),n=t.length;if(!n)return{};for(var o=t[n-1].columnId;n--;)e+=t[n].offsetWidth;return{totalWidth:e,lastColId:o}}})}.apply(null,r),void 0===o||(e.exports=o)},297(e,t,n){var r,o;n.dj.r;r=[n(6323),n(6345),n(2616),n(1172),n(4975)],o=function(e,t,n,r,o){return t(null,{configStructure:function(){var t=this.subRows&&this.subRows[0]||this.columns,n=[[]],r=n[0],i=[];n[0].className=\"dgrid-spacer-row\",function t(s,a,l,c){var d,u,h=0,f=function(){};return o.each(s,function(o,p){\"string\"==typeof o&&(o={label:o}),s instanceof Array||o.field||(o.field=p),d=o.children,u=d&&!1!==o.showChildHeaders,o.parentColumn=c,d?null==o.id?o.id=(c&&c.id||a-1)+\"-\"+r.length:c&&c.id&&(o.id=c.id+\"-\"+o.id):(i.push(o),r.push(e.delegate(o,{renderHeaderCell:f})),h++),u||(o=e.delegate(o,{rowSpan:-a})),d&&(h+=o.colSpan=t(d,a+1,u,o)),l&&(n[a]||(n[a]=[])).push(o)},this),h}(t,1,!0);var s,a,l,c,d=n.length;for(s=0;s<d;s++)for(l=n[s],a=0;a<l.length;a++)(c=l[a]).rowSpan<1&&(c.rowSpan+=d);(i=[i]).headerRows=n,this.subRows=i,this.inherited(arguments)},renderHeader:function(){var e,t=this.subRows[0],n=this.subRows.headerRows[0];for(this.inherited(arguments),e=t.length;e--;)t[e].headerNode=n[e].headerNode},_findSortArrowParent:function(){var e,t,n=this.inherited(arguments),o=r(\".dgrid-spacer-row\",this.headerNode)[0];if(n&&o.contains(n))return e=n.columnId,(t=r(\".dgrid-column-\"+e,this.headerNode))[t.length-1]},_configColumn:function(e,t,n){var r=e.parentColumn,o=e.id;if(r){var i=0===o.indexOf(n)?o.substring(n.length):o;n=r.id+\"-\",o=e.id=n+i}this.inherited(arguments,[e,t,n])},cell:function(e,t){if(\"object\"!=typeof t){var n=this.column(t);n&&(t=n.id)}return this.inherited(arguments,[e,t])},column:function(e){var t=this.inherited(arguments);if(null==t&&\"object\"!=typeof e){var n=\"-\"+e,r=n.length;for(var o in this.columns)if(-1!==o.indexOf(n,o.length-r))return this.columns[o]}return t},_updateCompoundHiddenStates:function(e,t){var n,r=this.columns[e];if(!r||r.hidden!==t)for(;r&&r.parentColumn;)(n=(r=r.parentColumn).colSpan=r.colSpan+(t?-1:1))&&(r.headerNode.colSpan=n),1!==n||t?!n&&t&&this._hideColumn(r.id):this._showColumn(r.id)},_hideColumn:function(e){var t=this;this._updateCompoundHiddenStates(e,!0),this.inherited(arguments),n(\"ff\")&&(this.headerNode.style.display=\"none\",setTimeout(function(){t.headerNode.style.display=\"\",t.resize()},0))},_showColumn:function(e){this._updateCompoundHiddenStates(e,!1),this.inherited(arguments)},_getResizedColumnWidths:function(){var e,t=0,n=this.columns;for(e in n)t+=n[e].headerNode.offsetWidth;return{totalWidth:t,lastColId:this.subRows[0][this.subRows[0].length-1].id}}})}.apply(null,r),void 0===o||(e.exports=o)},6937(e,t,n){var r,o;n.dj.r;r=[n(8301),n(6345),n(6974),n(6323),n(28),n(8945),n(2075),n(1172),n(7539),n(6356),n(4266),n(3534),n(4975),n(1442),n(3927)],o=function(e,t,n,r,o,i,s,a,l,c,d,u,h,f){function p(e){if(e.loadingNode)e._loadingCount--,e._loadingCount||(o.destroy(e.loadingNode),delete e.loadingNode);else if(e._oldPageNodes){for(var t in e._oldPageNodes)e.removeRow(e._oldPageNodes[t]);delete e._oldPageNodes}delete e._isLoading}return t(e,{rowsPerPage:10,pagingTextBox:!1,previousNextArrows:!0,firstLastArrows:!1,pagingLinks:2,pageSizeOptions:null,showLoadingMessage:!0,i18nPagination:f,showFooter:!0,_currentPage:1,_loadingCount:0,buildRendering:function(){this.inherited(arguments);var e,t=this,n=this.paginationNode=o.create(\"div\",{className:\"dgrid-pagination\"},this.footerNode),r=this.paginationStatusNode=o.create(\"div\",{className:\"dgrid-status\"},n),i=this.i18nPagination;\"function\"==typeof this._processScroll&&(this.bodyNode.innerHTML=i.notCompatibleWithOnDemand,console.warn(i.notCompatibleWithOnDemand)),r.tabIndex=0,this._updatePaginationSizeSelect(),this._updateRowsPerPageOption(),this._updatePaginationStatus(this._total),e=this.paginationNavigationNode=o.create(\"div\",{className:\"dgrid-navigation\"},n),this.firstLastArrows&&(this.paginationFirstNode=o.create(\"span\",{\"aria-label\":i.gotoFirst,className:\"dgrid-first dgrid-page-link\",innerHTML:\"«\",tabIndex:0},e)),this.previousNextArrows&&(this.paginationPreviousNode=o.create(\"span\",{\"aria-label\":i.gotoPrev,className:\"dgrid-previous dgrid-page-link\",innerHTML:\"‹\",tabIndex:0},e)),this.paginationLinksNode=o.create(\"span\",{className:\"dgrid-pagination-links\"},e),this.previousNextArrows&&(this.paginationNextNode=o.create(\"span\",{\"aria-label\":i.gotoNext,className:\"dgrid-next dgrid-page-link\",innerHTML:\"›\",tabIndex:0},e)),this.firstLastArrows&&(this.paginationLastNode=o.create(\"span\",{\"aria-label\":i.gotoLast,className:\"dgrid-last dgrid-page-link\",innerHTML:\"»\",tabIndex:0},e)),this._listeners.push(s(e,\".dgrid-page-link:click,.dgrid-page-link:keydown\",function(e){if(\"keydown\"!==e.type||13===e.keyCode){var n,r,o=this.className;t._isLoading||o.indexOf(\"dgrid-page-disabled\")>-1||(n=t._currentPage,r=Math.ceil(t._total/t.rowsPerPage),this===t.paginationPreviousNode?t.gotoPage(n-1):this===t.paginationNextNode?t.gotoPage(n+1):this===t.paginationFirstNode?t.gotoPage(1):this===t.paginationLastNode?t.gotoPage(r):\"dgrid-page-link\"===o&&t.gotoPage(+this.innerHTML))}}))},destroy:function(){this.inherited(arguments),this._pagingTextBoxChangeHandle&&this._pagingTextBoxChangeHandle.remove(),this._pagingTextBoxKeyPressHandle&&this._pagingTextBoxKeyPressHandle.remove()},_updatePaginationSizeSelect:function(){var e,t=this.pageSizeOptions,n=this.paginationSizeSelect;if(t&&t.length){n||(n=this.paginationSizeSelect=o.create(\"select\",{\"aria-label\":this.i18nPagination.rowsPerPage,className:\"dgrid-page-size\"},this.paginationNode),e=this._paginationSizeChangeHandle=s(n,\"change\",r.hitch(this,function(){this.set(\"rowsPerPage\",+this.paginationSizeSelect.value)})),this._listeners.push(e)),n.options.length=0;for(var i=0;i<t.length;i++)o.create(\"option\",{innerHTML:t[i],selected:this.rowsPerPage===t[i],value:t[i]},n);this._updateRowsPerPageOption()}else t&&t.length||!n||(o.destroy(n),this.paginationSizeSelect=null,this._paginationSizeChangeHandle.remove())},_setPageSizeOptions:function(e){this.pageSizeOptions=e&&e.sort(function(e,t){return e-t}),this._updatePaginationSizeSelect()},_updateRowsPerPageOption:function(){var e=this.rowsPerPage,t=this.pageSizeOptions,r=this.paginationSizeSelect;r&&(n.indexOf(t,e)<0?this._setPageSizeOptions(t.concat([e])):r.value=\"\"+e)},_setRowsPerPage:function(e){this.rowsPerPage=e,this._updateRowsPerPageOption(),this.gotoPage(1)},_updateNavigation:function(e){var t,n,r,l=this,c=this.i18nPagination,u=this.paginationLinksNode,h=this._currentPage,f=this.pagingLinks,p=this.paginationNavigationNode,v=Math.ceil(e/this.rowsPerPage),g=this._pagingTextBoxKeyPressHandle,m=this._pagingTextBoxChangeHandle,y=document.activeElement;function _(e){e=+e,!isNaN(e)&&e>0&&e<=v&&l.gotoPage(e)}function b(e,r){var i,a,f=!0;l.pagingTextBox&&e===h&&v>1?(i=o.create(\"input\",{\"aria-label\":c.jumpPage,className:\"dgrid-page-input\",type:\"text\",value:h},u),l._pagingTextBoxChangeHandle=s(i,\"change\",function(){f&&_(+this.value),f=!0}),l._pagingTextBoxKeyPressHandle=s(i,\"keypress\",function(e){e.keyCode===d.ENTER&&(f=!1,_(+this.value))}),y&&\"INPUT\"===y.tagName&&i.focus()):(a=e===h,i=o.create(\"span\",{\"aria-label\":c.gotoPage,className:\"dgrid-page-link\"+(a?\" dgrid-page-disabled\":\"\"),innerHTML:e+(r?\" \":\"\"),tabIndex:a?-1:0},u),t===e&&(a?e<v?t++:n.focus():i.focus()),a||(n=i))}function w(e,t){i.toggle(e,\"dgrid-page-disabled\",t),e.tabIndex=t?-1:0}function x(){o.create(\"span\",{className:\"dgrid-page-skip\",innerHTML:\"...\"},u)}if(y&&this.paginationNavigationNode.contains(y)?\"dgrid-page-link\"===y.className&&(t=+y.innerHTML):y=null,g&&g.remove(),m&&m.remove(),u.innerHTML=\"\",a(\".dgrid-first, .dgrid-previous\",p).forEach(function(e){w(e,1===h)}),a(\".dgrid-last, .dgrid-next\",p).forEach(function(e){w(e,h>=v)}),f&&v>0){b(1,!0);var N=h-f;N>2?x():N=2;for(var C=N;C<Math.min(h+f+1,v);C++)b(C,!0);h+f+1<v&&x(),v>1&&b(v)}else l.pagingTextBox&&b(h);y&&-1===y.tabIndex&&(r=a('[tabindex=\"0\"]',this.paginationNavigationNode),y===this.paginationPreviousNode||y===this.paginationFirstNode?y=r[0]:r.length&&(y=r[r.length-1]),y&&y.focus())},_updatePaginationStatus:function(e){var t=this.rowsPerPage,n=Math.min(e,(this._currentPage-1)*t+1);this.paginationStatusNode.innerHTML=l.substitute(this.i18nPagination.status,{start:n,end:Math.min(e,n+t-1),total:e})},refresh:function(e){var t=this,n=e&&e.keepCurrentPage?Math.min(this._currentPage,Math.ceil(this._total/this.rowsPerPage)):1;return this.inherited(arguments),this.gotoPage(n).then(function(e){return t._emitRefreshComplete(),e})},_onNotification:function(e,t,n){var r=this.rowsPerPage,o=this._currentPage*r;\"add\"===t.type&&t.index<o||\"delete\"===t.type&&t.previousIndex<o||\"update\"===t.type&&Math.floor(t.index/r)!==Math.floor(t.previousIndex/r)?this.gotoPage(Math.min(this._currentPage,Math.ceil(t.totalLength/this.rowsPerPage))||1):n===this._renderedCollection&&t.totalLength!==this._total&&(this._updatePaginationStatus(t.totalLength),this._updateNavigation(t.totalLength))},renderQueryResults:function(e,t){var n=this,r=this.inherited(arguments);return t||(this._topLevelRequest&&(this._topLevelRequest.cancel(),delete this._topLevelRequest),\"function\"==typeof r.cancel&&(this._topLevelRequest=r),r.then(function(){n._topLevelRequest&&delete n._topLevelRequest})),r},insertRow:function(){var e=this._oldPageNodes,t=this.inherited(arguments);return e&&t===e[t.id]&&delete e[t.id],t},gotoPage:function(e){var t=this,n=(this._currentPage-1)*this.rowsPerPage;return this._renderedCollection?(this._renderedCollection.releaseRange&&this._renderedCollection.releaseRange(n,n+this.rowsPerPage),this._trackError(function(){var n,r,i,s,a,l=t.rowsPerPage,c=(e-1)*l,d={start:c,count:l},u=t.contentNode;if(t.showLoadingMessage)t._loadingCount++,function(e){e._removeNoDataNode()||e.cleanup(),e.contentNode.innerHTML=\"\"}(t),t.loadingNode=o.create(\"div\",{className:\"dgrid-loading\",innerHTML:t.loadingMessage},u);else for(t._oldPageNodes=r={},s=0,a=(i=u.children).length;s<a;s++)r[i[s].id]=i[s];return t._isLoading=!0,n=t._renderedCollection.fetchRange({start:c,end:c+l}),t.renderQueryResults(n,null,d).then(function(r){return p(t),t.scrollTo({y:0}),t._rows&&(t._rows.min=c,t._rows.max=c+l-1),n.totalLength.then(function(n){n||t._insertNoDataNode(),t._total=n,t._currentPage=e,t._rowsOnPage=r.length,t._updatePaginationStatus(n),t._updateNavigation(n)}),n},function(e){throw p(t),e})})):(console.warn(\"Pagination requires a collection to operate.\"),u([]))}})}.apply(null,r),void 0===o||(e.exports=o)},4481(e,t,n){n.dj.r;e.exports={root:{status:\"${start} - ${end} of ${total} results\",gotoFirst:\"Go to first page\",gotoNext:\"Go to next page\",gotoPrev:\"Go to previous page\",gotoLast:\"Go to last page\",gotoPage:\"Go to page\",jumpPage:\"Jump to page\",rowsPerPage:\"Number of rows per page\",notCompatibleWithOnDemand:\"The Pagination extension is not compatible with dgrid/OnDemandList and dgrid/OnDemandGrid. Please use dgrid/List or dgrid/Grid as a base class.\"},ar:!1,de:!1,es:!1,fr:!1,ja:!1,pt:!1,ro:!1,ru:!1,sk:!1,sl:!1,th:!1,\"zh-cn\":!1,\"zh-hk\":!1}},4975(e,t,n){var r,o;n.dj.r;r=[n(6356)],o=function(e){var t,n,r,o=[],i=/([^A-Za-z0-9_\\u00A0-\\uFFFF-])/g,s=setTimeout,a=clearTimeout;e.add(\"requestidlecallback\",function(e){return\"function\"==typeof e.requestIdleCallback});var l={defaultDelay:15,throttle:function(e,t,n){var r=!1;return n=n||l.defaultDelay,function(){r||(r=!0,e.apply(t,arguments),s(function(){r=!1},n))}},throttleDelayed:function(e,t,n){var r=!1;return n=n||l.defaultDelay,function(){if(!r){r=!0;var o=arguments;s(function(){r=!1,e.apply(t,o)},n)}}},debounce:function(e,t,n){var r;return n=n||l.defaultDelay,function(){r&&(a(r),r=null);var o=arguments;r=s(function(){r=null,e.apply(t,o)},n)}},each:function(e,t,n){var r,o;if(e)if(\"number\"==typeof e.length)for(r=0,o=e.length;r<o;r++)t.call(n,e[r],r,e);else for(r in e)t.call(n,e[r],r,e)},addCssRule:function(e,i){t||(t=document.createElement(\"style\"),document.getElementsByTagName(\"head\")[0].appendChild(t),t=t.sheet||t.styleSheet,n=t.deleteRule?\"deleteRule\":\"removeRule\",r=t.cssRules?\"cssRules\":\"rules\");var s=o.length;return o[s]=(t.cssRules||t.rules).length,t.addRule?t.addRule(e,i):t.insertRule(e+\"{\"+i+\"}\",o[s]),{get:function(e){return t[r][o[s]].style[e]},set:function(e,n){void 0!==o[s]&&(t[r][o[s]].style[e]=n)},remove:function(){!function(e){var r,i,s=o[e];if(void 0!==s)for(t[n](s),o[e]=void 0,r=e+1,i=o.length;r<i;r++)o[r]>s&&o[r]--}(s)}}},escapeCssIdentifier:function(e,t){return\"string\"==typeof e?e.replace(i,t||\"\\\\$1\"):e}};return l}.apply(null,r),void 0===o||(e.exports=o)},5892(e,t,n){var r,o;n.dj.r;r=[n(2075),n(1172)],void 0===(o=function(e,t){var n={tapRadius:10,dbltapTime:250,selector:function(n,r,o){return function(i,s){var a=r.bubble;return a?r=a:!1!==o&&(o=!0),e(i,r,function(e){var r=e.target;for(3===r.nodeType&&(r=r.parentNode);!t.matches(r,n,i);)if(r===i||!o||!(r=r.parentNode))return;return s.call(r,e)})}},countCurrentTouches:function(e,t){if(!(\"touches\"in e))return-1;var n,r,o;for(n=0,r=0;o=e.touches[n];++n)t.contains(o.target)&&++r;return r}};function r(t,r,o,i){if(!(o.targetTouches.length>1)){var s=o.changedTouches[0],a=s.screenX,l=s.screenY;i&&o.preventDefault();var c=e(t,\"touchend\",function(e){var t=e.changedTouches[0];e.targetTouches.length||(Math.abs(t.screenX-a)<n.tapRadius&&Math.abs(t.screenY-l)<n.tapRadius&&(i&&e.preventDefault(),r.call(this,e)),c.remove())})}}return n.tap=function(t,n){return e(t,\"touchstart\",function(e){r(t,n,e)})},n.dbltap=function(t,o){var i,s;return e(t,\"touchstart\",function(e){i?r(t,function(e){if(i){var t=e.changedTouches[0];Math.abs(t.screenX-i.screenX)<n.tapRadius&&Math.abs(t.screenY-i.screenY)<n.tapRadius&&(s&&clearTimeout(s),i=s=null,o.call(this,e))}},e,!0):r(t,function(e){i=e.changedTouches[0],s=setTimeout(function(){i=s=null},n.dbltapTime)},e)})},n}.apply(null,r))||(e.exports=o)},610(e,t,n){var r,o;n.dj.r;r=[n.dj.c(e),n(231),n(7361),n(28),n(1248),n(6323),n(2075),n(2616)],o=function(e,t,n,r,o,i,s,a){a.add(\"config-bgIframe\",(a(\"ie\")||a(\"trident\"))&&!/IEMobile\\/10\\.0/.test(navigator.userAgent));var l=new function(){var t=[];this.pop=function(){var i;if(t.length)(i=t.pop()).style.display=\"\";else{if(a(\"ie\")<9){var s=\"<iframe src='\"+(n.dojoBlankHtmlUrl||e.toUrl(\"dojo/resources/blank.html\")||'javascript:\"\"')+\"' role='presentation' style='position: absolute; left: 0px; top: 0px;z-index: -1; filter:Alpha(Opacity=\\\"0\\\");'>\";i=document.createElement(s)}else(i=r.create(\"iframe\")).src='javascript:\"\"',i.className=\"dijitBackgroundIframe\",i.setAttribute(\"role\",\"presentation\"),o.set(i,\"opacity\",.1);i.tabIndex=-1}return i},this.push=function(e){e.style.display=\"none\",t.push(e)}};return t.BackgroundIframe=function(e){if(!e.id)throw new Error(\"no id\");if(a(\"config-bgIframe\")){var t=this.iframe=l.pop();e.appendChild(t),a(\"ie\")<7||a(\"quirks\")?(this.resize(e),this._conn=s(e,\"resize\",i.hitch(this,\"resize\",e))):o.set(t,{width:\"100%\",height:\"100%\"})}},i.extend(t.BackgroundIframe,{resize:function(e){this.iframe&&o.set(this.iframe,{width:e.offsetWidth+\"px\",height:e.offsetHeight+\"px\"})},destroy:function(){this._conn&&(this._conn.remove(),this._conn=null),this.iframe&&(this.iframe.parentNode.removeChild(this.iframe),l.push(this.iframe),delete this.iframe)}}),t.BackgroundIframe}.apply(null,r),void 0===o||(e.exports=o)},6510(e,t,n){var r,o;n.dj.r;r=[n(6974),n(6566),n(6345)],o=function(e,t,n){return n(\"dijit.Destroyable\",null,{destroy:function(e){this._destroyed=!0},own:function(){var n=[\"destroyRecursive\",\"destroy\",\"remove\"];return e.forEach(arguments,function(r){var o,i=t.before(this,\"destroy\",function(e){r[o](e)}),s=[];function a(){i.remove(),e.forEach(s,function(e){e.remove()})}r.then?(o=\"cancel\",r.then(a,a)):e.forEach(n,function(e){\"function\"==typeof r[e]&&(o||(o=e),s.push(t.after(r,e,a,!0)))})},this),arguments}})}.apply(null,r),void 0===o||(e.exports=o)},655(e,t,n){var r,o;n.dj.r;r=[n(6974),n(6345),n(5577),n(2284),n(8945),n(2685),n(1248),n(6323),n(8471),n(2075),n(2616),n(9600),n(1019),n(3549),n(998),n(610),n(9409),n(231)],o=function(e,t,n,r,o,i,s,a,l,c,d,u,h,f,p,v,g,m){var y=t(\"dijit._MasterTooltip\",[f,p],{duration:u.defaultDuration,templateString:g,postCreate:function(){this.ownerDocumentBody.appendChild(this.domNode),this.bgIframe=new v(this.domNode),this.fadeIn=n.fadeIn({node:this.domNode,duration:this.duration,onEnd:a.hitch(this,\"_onShow\")}),this.fadeOut=n.fadeOut({node:this.domNode,duration:this.duration,onEnd:a.hitch(this,\"_onHide\")})},show:function(e,t,n,r,o,i,l){if(!this.aroundNode||this.aroundNode!==t||this.containerNode.innerHTML!=e)if(\"playing\"!=this.fadeOut.status()){this.containerNode.innerHTML=e,o&&this.set(\"textDir\",o),this.containerNode.align=r?\"right\":\"left\";var c=h.around(this.domNode,t,n&&n.length?n:C.defaultPosition,!r,a.hitch(this,\"orient\")),d=c.aroundNodePos;\"M\"==c.corner.charAt(0)&&\"M\"==c.aroundCorner.charAt(0)?(this.connectorNode.style.top=d.y+(d.h-this.connectorNode.offsetHeight>>1)-c.y+\"px\",this.connectorNode.style.left=\"\"):\"M\"==c.corner.charAt(1)&&\"M\"==c.aroundCorner.charAt(1)?this.connectorNode.style.left=d.x+(d.w-this.connectorNode.offsetWidth>>1)-c.x+\"px\":(this.connectorNode.style.left=\"\",this.connectorNode.style.top=\"\"),s.set(this.domNode,\"opacity\",0),this.fadeIn.play(),this.isShowingNow=!0,this.aroundNode=t,this.onMouseEnter=i||N,this.onMouseLeave=l||N}else this._onDeck=arguments},orient:function(e,t,n,r,o){this.connectorNode.style.top=\"\";var s=r.h,a=r.w;e.className=\"dijitTooltip \"+{\"MR-ML\":\"dijitTooltipRight\",\"ML-MR\":\"dijitTooltipLeft\",\"TM-BM\":\"dijitTooltipAbove\",\"BM-TM\":\"dijitTooltipBelow\",\"BL-TL\":\"dijitTooltipBelow dijitTooltipABLeft\",\"TL-BL\":\"dijitTooltipAbove dijitTooltipABLeft\",\"BR-TR\":\"dijitTooltipBelow dijitTooltipABRight\",\"TR-BR\":\"dijitTooltipAbove dijitTooltipABRight\",\"BR-BL\":\"dijitTooltipRight\",\"BL-BR\":\"dijitTooltipLeft\"}[t+\"-\"+n],this.domNode.style.width=\"auto\";var l=i.position(this.domNode);(d(\"ie\")||d(\"trident\"))&&(l.w+=2);var c=Math.min(Math.max(a,1),l.w);if(i.setMarginBox(this.domNode,{w:c}),\"B\"==n.charAt(0)&&\"B\"==t.charAt(0)){var u=i.position(e),h=this.connectorNode.offsetHeight;if(u.h>s){var f=s-(o.h+h>>1);this.connectorNode.style.top=f+\"px\",this.connectorNode.style.bottom=\"\"}else this.connectorNode.style.bottom=Math.min(Math.max(o.h/2-h/2,0),u.h-h)+\"px\",this.connectorNode.style.top=\"\"}else this.connectorNode.style.top=\"\",this.connectorNode.style.bottom=\"\";return Math.max(0,l.w-a)},_onShow:function(){d(\"ie\")&&(this.domNode.style.filter=\"\")},hide:function(e){this._onDeck&&this._onDeck[1]==e?this._onDeck=null:this.aroundNode===e&&(this.fadeIn.stop(),this.isShowingNow=!1,this.aroundNode=null,this.fadeOut.play()),this.onMouseEnter=this.onMouseLeave=N},_onHide:function(){this.domNode.style.cssText=\"\",this.containerNode.innerHTML=\"\",this._onDeck&&(this.show.apply(this,this._onDeck),this._onDeck=null)}});d(\"dojo-bidi\")&&y.extend({_setAutoTextDir:function(t){this.applyTextDir(t),e.forEach(t.children,function(e){this._setAutoTextDir(e)},this)},_setTextDirAttr:function(e){this._set(\"textDir\",e),\"auto\"==e?this._setAutoTextDir(this.containerNode):this.containerNode.dir=this.textDir}}),m.showTooltip=function(t,n,r,o,i,s,a){return r&&(r=e.map(r,function(e){return{after:\"after-centered\",before:\"before-centered\"}[e]||e})),C._masterTT||(m._masterTT=C._masterTT=new y),C._masterTT.show(t,n,r,o,i,s,a)},m.hideTooltip=function(e){return C._masterTT&&C._masterTT.hide(e)};var _=\"DORMANT\",b=\"SHOW TIMER\",w=\"SHOWING\",x=\"HIDE TIMER\";function N(){}var C=t(\"dijit.Tooltip\",f,{label:\"\",showDelay:400,hideDelay:400,connectId:[],position:[],selector:\"\",_setConnectIdAttr:function(t){e.forEach(this._connections||[],function(t){e.forEach(t,function(e){e.remove()})},this),this._connectIds=e.filter(a.isArrayLike(t)?t:t?[t]:[],function(e){return r.byId(e,this.ownerDocument)},this),this._connections=e.map(this._connectIds,function(e){var t=r.byId(e,this.ownerDocument),n=this.selector,o=n?function(e){return c.selector(n,e)}:function(e){return e},i=this;return[c(t,o(l.enter),function(){i._onHover(this)}),c(t,o(\"focusin\"),function(){i._onHover(this)}),c(t,o(l.leave),a.hitch(i,\"_onUnHover\")),c(t,o(\"focusout\"),a.hitch(i,\"set\",\"state\",_))]},this),this._set(\"connectId\",t)},addTarget:function(t){var n=t.id||t;-1==e.indexOf(this._connectIds,n)&&this.set(\"connectId\",this._connectIds.concat(n))},removeTarget:function(t){var n=t.id||t,r=e.indexOf(this._connectIds,n);r>=0&&(this._connectIds.splice(r,1),this.set(\"connectId\",this._connectIds))},buildRendering:function(){this.inherited(arguments),o.add(this.domNode,\"dijitTooltipData\")},startup:function(){this.inherited(arguments);var t=this.connectId;e.forEach(a.isArrayLike(t)?t:[t],this.addTarget,this)},getContent:function(e){return this.label||this.domNode.innerHTML},state:_,_setStateAttr:function(e){if(!(this.state==e||e==b&&this.state==w||e==x&&this.state==_)){switch(this._hideTimer&&(this._hideTimer.remove(),delete this._hideTimer),this._showTimer&&(this._showTimer.remove(),delete this._showTimer),e){case _:this._connectNode&&(C.hide(this._connectNode),delete this._connectNode,this.onHide());break;case b:this.state!=w&&(this._showTimer=this.defer(function(){this.set(\"state\",w)},this.showDelay));break;case w:var t=this.getContent(this._connectNode);if(!t)return void this.set(\"state\",_);C.show(t,this._connectNode,this.position,!this.isLeftToRight(),this.textDir,a.hitch(this,\"set\",\"state\",w),a.hitch(this,\"set\",\"state\",x)),this.onShow(this._connectNode,this.position);break;case x:this._hideTimer=this.defer(function(){this.set(\"state\",_)},this.hideDelay)}this._set(\"state\",e)}},_onHover:function(e){this._connectNode&&e!=this._connectNode&&this.set(\"state\",_),this._connectNode=e,this.set(\"state\",b)},_onUnHover:function(e){this.set(\"state\",x)},open:function(e){this.set(\"state\",_),this._connectNode=e,this.set(\"state\",w)},close:function(){this.set(\"state\",_)},onShow:function(){},onHide:function(){},destroy:function(){this.set(\"state\",_),e.forEach(this._connections||[],function(t){e.forEach(t,function(e){e.remove()})},this),this.inherited(arguments)}});return C._MasterTooltip=y,C.show=m.showTooltip,C.hide=m.hideTooltip,C.defaultPosition=[\"after-centered\",\"before-centered\"],C}.apply(null,r),void 0===o||(e.exports=o)},1600(e,t,n){var r,o;n.dj.r;r=[n(9925),n(2075),n(2641),n(2616),n(3930)],void 0===(o=function(e,t,n,r,o){var i,s=new e;return n(function(){var e=o.getBox();if(s._rlh=t(window,\"resize\",function(){var t=o.getBox();e.h==t.h&&e.w==t.w||(e=t,s.emit(\"resize\"))}),8==r(\"ie\")){var n=screen.deviceXDPI;setInterval(function(){screen.deviceXDPI!=n&&(n=screen.deviceXDPI,s.emit(\"resize\"))},500)}r(\"ios\")&&(t(document,\"focusin\",function(e){i=e.target}),t(document,\"focusout\",function(e){i=null}))}),s.getEffectiveBox=function(e){var t=o.getBox(e),n=i&&i.tagName&&i.tagName.toLowerCase();if(r(\"ios\")&&i&&!i.readOnly&&(\"textarea\"==n||\"input\"==n&&/^(color|email|number|password|search|tel|text|url)$/.test(i.type))){t.h*=0==orientation||180==orientation?.66:.4;var s=i.getBoundingClientRect();t.h=Math.max(t.h,s.top+s.height)}return t},s}.apply(null,r))||(e.exports=o)},5659(e,t,n){var r,o;n.dj.r;r=[n.dj.c(e),n(6974),n(5641),n(6345),n(6323),n(8471),n(2075),n(7443),n(3068)],o=function(e,t,n,r,o,i,s,a,l){var c,d=o.delegate(a,{mouseenter:i.enter,mouseleave:i.leave,keypress:n._keypress}),u=r(\"dijit._AttachMixin\",null,{constructor:function(){this._attachPoints=[],this._attachEvents=[]},buildRendering:function(){this.inherited(arguments),this._attachTemplateNodes(this.domNode),this._beforeFillContent()},_beforeFillContent:function(){},_attachTemplateNodes:function(e){for(var t=e;;)if(1==t.nodeType&&(this._processTemplateNode(t,function(e,t){return e.getAttribute(t)},this._attach)||this.searchContainerNode)&&t.firstChild)t=t.firstChild;else{if(t==e)return;for(;!t.nextSibling;)if((t=t.parentNode)==e)return;t=t.nextSibling}},_processTemplateNode:function(e,t,n){var r=!0,i=this.attachScope||this,s=t(e,\"dojoAttachPoint\")||t(e,\"data-dojo-attach-point\");if(s)for(var a,l=s.split(/\\s*,\\s*/);a=l.shift();)o.isArray(i[a])?i[a].push(e):i[a]=e,r=\"containerNode\"!=a,this._attachPoints.push(a);var c=t(e,\"dojoAttachEvent\")||t(e,\"data-dojo-attach-event\");if(c)for(var d,u=c.split(/\\s*,\\s*/),h=o.trim;d=u.shift();)if(d){var f=null;if(-1!=d.indexOf(\":\")){var p=d.split(\":\");d=h(p[0]),f=h(p[1])}else d=h(d);f||(f=d),this._attachEvents.push(n(e,d,o.hitch(i,f)))}return r},_attach:function(t,n,r){return n=\"dijitclick\"==(n=n.replace(/^on/,\"\").toLowerCase())?c||(c=e(\"./a11yclick\")):d[n]||n,s(t,n,r)},_detachTemplateNodes:function(){var e=this.attachScope||this;t.forEach(this._attachPoints,function(t){delete e[t]}),this._attachPoints=[],t.forEach(this._attachEvents,function(e){e.remove()}),this._attachEvents=[]},destroyRendering:function(){this._detachTemplateNodes(),this.inherited(arguments)}});return o.extend(l,{dojoAttachEvent:\"\",dojoAttachPoint:\"\"}),u}.apply(null,r),void 0===o||(e.exports=o)},5250(e,t,n){var r;n.dj.r;void 0===(r=function(){var e=\"\",t=\"\",n=\"\";return{getTextDir:function(e){return\"auto\"==this.textDir?this._checkContextual(e):this.textDir},_checkContextual:function(e){var t=/[A-Za-z\\u05d0-\\u065f\\u066a-\\u06ef\\u06fa-\\u07ff\\ufb1d-\\ufdff\\ufe70-\\ufefc]/.exec(e);return t?t[0]<=\"z\"?\"ltr\":\"rtl\":this.dir?this.dir:this.isLeftToRight()?\"ltr\":\"rtl\"},applyTextDir:function(e,t){if(this.textDir){var n=this.textDir;if(\"auto\"==n){if(void 0===t){var r=e.tagName.toLowerCase();t=\"input\"==r||\"textarea\"==r?e.value:e.innerText||e.textContent||\"\"}n=this._checkContextual(t)}e.dir!=n&&(e.dir=n)}},enforceTextDirWithUcc:function(r,o){return this.textDir?(r&&(r.originalText=o),(\"ltr\"==(\"auto\"==this.textDir?this._checkContextual(o):this.textDir)?e:n)+o+t):o},restoreOriginalText:function(e){return e.originalText&&(e.text=e.originalText,delete e.originalText),e},_setTextDirAttr:function(e){if(!this._created||this.textDir!=e){this._set(\"textDir\",e);var t=null;this.displayNode?(t=this.displayNode,this.displayNode.align=\"rtl\"==this.dir?\"right\":\"left\"):t=this.textDirNode||this.focusNode||this.textbox,t&&this.applyTextDir(t)}}}}.apply(null,[]))||(e.exports=r)},4368(e,t,n){var r,o;n.dj.r;r=[n(7304),n(3068),n(6345),n(6323)],void 0===(o=function(e,t,n,r){return r.extend(t,{focused:!1,onFocus:function(){},onBlur:function(){},_onFocus:function(){this.onFocus()},_onBlur:function(){this.onBlur()}}),n(\"dijit._FocusMixin\",null,{_focusManager:e})}.apply(null,r))||(e.exports=o)},8709(e,t,n){var r,o;n.dj.r;r=[n(2075),n(6974),n(4266),n(6345),n(6356),n(8240)],o=function(e,t,n,r,o,i){var s=r(\"dijit._OnDijitClickMixin\",null,{connect:function(e,t,n){return this.inherited(arguments,[e,\"ondijitclick\"==t?i:t,n])}});return s.a11yclick=i,s}.apply(null,r),void 0===o||(e.exports=o)},998(e,t,n){var r,o;n.dj.r;r=[n(4642),n(6345),n(28),n(6323),n(2075),n(2616),n(7539),n(5659)],o=function(e,t,n,r,o,i,s,a){var l=t(\"dijit._TemplatedMixin\",a,{templateString:null,templatePath:null,_skipNodeCache:!1,searchContainerNode:!0,_stringRepl:function(e){var t=this.declaredClass,n=this;return s.substitute(e,this,function(e,o){if(\"!\"==o.charAt(0)&&(e=r.getObject(o.substr(1),!1,n)),void 0===e)throw new Error(t+\" template:\"+o);return null==e?\"\":\"!\"==o.charAt(0)?e:this._escapeValue(\"\"+e)},this)},_escapeValue:function(e){return e.replace(/[\"'<>&]/g,function(e){return{\"&\":\"&\",\"<\":\"<\",\">\":\">\",'\"':\""\",\"'\":\"'\"}[e]})},buildRendering:function(){if(!this._rendered){this.templateString||(this.templateString=e(this.templatePath,{sanitize:!0}));var t,o=l.getCachedTemplate(this.templateString,this._skipNodeCache,this.ownerDocument);if(r.isString(o)){if(1!=(t=n.toDom(this._stringRepl(o),this.ownerDocument)).nodeType)throw new Error(\"Invalid template: \"+o)}else t=o.cloneNode(!0);this.domNode=t}this.inherited(arguments),this._rendered||this._fillContent(this.srcNodeRef),this._rendered=!0},_fillContent:function(e){var t=this.containerNode;if(e&&t)for(;e.hasChildNodes();)t.appendChild(e.firstChild)}});return l._templateCache={},l.getCachedTemplate=function(e,t,r){var o=l._templateCache,i=e,a=o[i];if(a){try{if(!a.ownerDocument||a.ownerDocument==(r||document))return a}catch(e){}n.destroy(a)}if(e=s.trim(e),t||e.match(/\\$\\{([^\\}]+)\\}/g))return o[i]=e;var c=n.toDom(e,r);if(1!=c.nodeType)throw new Error(\"Invalid template: \"+e);return o[i]=c},i(\"ie\")&&o(window,\"unload\",function(){var e=l._templateCache;for(var t in e){var r=e[t];\"object\"==typeof r&&n.destroy(r),delete e[t]}}),l}.apply(null,r),void 0===o||(e.exports=o)},3549(e,t,n){var r,o;n.dj.r;r=[n(6566),n(7361),n(5641),n(6345),n(6356),n(1054),n(6323),n(1172),n(9671),n(7601),n(3068),n(8709),n(4368),n(2085),n(664)],o=function(e,t,n,r,o,i,s,a,l,c,d,u,h){function f(){}function p(e){return function(t,r,o,i){return t&&\"string\"==typeof r&&t[r]==f?t.on(r.substring(2).toLowerCase(),s.hitch(o,i)):e.apply(n,arguments)}}e.around(n,\"connect\",p),i.connect&&e.around(i,\"connect\",p);var v=r(\"dijit._Widget\",[d,u,h],{onClick:f,onDblClick:f,onKeyDown:f,onKeyPress:f,onKeyUp:f,onMouseDown:f,onMouseMove:f,onMouseOut:f,onMouseOver:f,onMouseLeave:f,onMouseEnter:f,onMouseUp:f,constructor:function(e){for(var t in this._toConnect={},e)this[t]===f&&(this._toConnect[t.replace(/^on/,\"\").toLowerCase()]=e[t],delete e[t])},postCreate:function(){for(var e in this.inherited(arguments),this._toConnect)this.on(e,this._toConnect[e]);delete this._toConnect},on:function(e,t){return this[this._onMap(e)]===f?n.connect(this.domNode,e.toLowerCase(),this,t):this.inherited(arguments)},_setFocusedAttr:function(e){this._focused=e,this._set(\"focused\",e)},setAttribute:function(e,t){i.deprecated(this.declaredClass+\"::setAttribute(attr, value) is deprecated. Use set() instead.\",\"\",\"2.0\"),this.set(e,t)},attr:function(e,t){return arguments.length>=2||\"object\"==typeof e?this.set.apply(this,arguments):this.get(e)},getDescendants:function(){return i.deprecated(this.declaredClass+\"::getDescendants() is deprecated. Use getChildren() instead.\",\"\",\"2.0\"),this.containerNode?a(\"[widgetId]\",this.containerNode).map(c.byNode):[]},_onShow:function(){this.onShow()},onShow:function(){},onHide:function(){},onClose:function(){return!0}});return v}.apply(null,r),void 0===o||(e.exports=o)},3068(e,t,n){var r,o;n.dj.r;r=[n.dj.c(e),n(6974),n(6566),n(7361),n(5641),n(6345),n(2284),n(7878),n(8945),n(28),n(2685),n(1248),n(6356),n(1054),n(6323),n(2075),n(9671),n(4062),n(7111),n(5075),n(6510),n.dj.h(\"dojo-bidi?5250\"),n(7601)],o=function(e,t,n,r,o,i,s,a,l,c,d,u,h,f,p,v,g,m,y,_,b,w,x){h.add(\"dijit-legacy-requires\",!f.isAsync),h.add(\"dojo-bidi\",!1);var N={};function C(e){return function(t){a[t?\"set\":\"remove\"](this.domNode,e,t),this._set(e,t)}}var j=i(\"dijit._WidgetBase\",[m,b],{id:\"\",_setIdAttr:\"domNode\",lang:\"\",_setLangAttr:C(\"lang\"),dir:\"\",_setDirAttr:C(\"dir\"),class:\"\",_setClassAttr:{node:\"domNode\",type:\"class\"},_setTypeAttr:null,style:\"\",title:\"\",tooltip:\"\",baseClass:\"\",srcNodeRef:null,domNode:null,containerNode:null,ownerDocument:null,_setOwnerDocumentAttr:function(e){this._set(\"ownerDocument\",e)},attributeMap:{},_blankGif:r.blankGif||e.toUrl(\"dojo/resources/blank.gif\"),textDir:\"\",_introspect:function(){var e=this.constructor;if(!e._setterAttrs){var t=e.prototype,n=e._setterAttrs=[],r=e._onMap={};for(var o in t.attributeMap)n.push(o);for(o in t)/^on/.test(o)&&(r[o.substring(2).toLowerCase()]=o),/^_set[A-Z](.*)Attr$/.test(o)&&(o=o.charAt(4).toLowerCase()+o.substr(5,o.length-9),t.attributeMap&&o in t.attributeMap||n.push(o))}},postscript:function(e,t){this.create(e,t)},create:function(e,t){var n;if(this._introspect(),this.srcNodeRef=s.byId(t),this._connects=[],this._supportingWidgets=[],this.srcNodeRef&&this.srcNodeRef.id&&\"string\"==typeof this.srcNodeRef.id&&(this.id=this.srcNodeRef.id),e&&(this.params=e,p.mixin(this,e)),this.postMixInProperties(),this.id||(this.id=x.getUniqueId(this.declaredClass.replace(/\\./g,\"_\")),this.params&&delete this.params.id),this.ownerDocument=this.ownerDocument||(this.srcNodeRef?this.srcNodeRef.ownerDocument:document),this.ownerDocumentBody=_.body(this.ownerDocument),x.add(this),this.buildRendering(),this.domNode){this._applyAttributes();var r=this.srcNodeRef;r&&r.parentNode&&this.domNode!==r&&(r.parentNode.replaceChild(this.domNode,r),n=!0),this.domNode.setAttribute(\"widgetId\",this.id)}this.postCreate(),n&&delete this.srcNodeRef,this._created=!0},_applyAttributes:function(){var e={};for(var n in this.params||{})e[n]=this._get(n);for(n in t.forEach(this.constructor._setterAttrs,function(t){if(!(t in e)){var n=this._get(t);n&&this.set(t,n)}},this),e)this.set(n,e[n])},postMixInProperties:function(){},buildRendering:function(){if(this.domNode||(this.domNode=this.srcNodeRef||this.ownerDocument.createElement(\"div\")),this.baseClass){var e=this.baseClass.split(\" \");this.isLeftToRight()||(e=e.concat(t.map(e,function(e){return e+\"Rtl\"}))),l.add(this.domNode,e)}},postCreate:function(){},startup:function(){this._started||(this._started=!0,t.forEach(this.getChildren(),function(e){e._started||e._destroyed||!p.isFunction(e.startup)||(e.startup(),e._started=!0)}))},destroyRecursive:function(e){this._beingDestroyed=!0,this.destroyDescendants(e),this.destroy(e)},destroy:function(e){function n(t){t.destroyRecursive?t.destroyRecursive(e):t.destroy&&t.destroy(e)}this._beingDestroyed=!0,this.uninitialize(),t.forEach(this._connects,p.hitch(this,\"disconnect\")),t.forEach(this._supportingWidgets,n),this.domNode&&t.forEach(x.findWidgets(this.domNode,this.containerNode),n),this.destroyRendering(e),x.remove(this.id),this._destroyed=!0},destroyRendering:function(e){this.bgIframe&&(this.bgIframe.destroy(e),delete this.bgIframe),this.domNode&&(e?a.remove(this.domNode,\"widgetId\"):c.destroy(this.domNode),delete this.domNode),this.srcNodeRef&&(e||c.destroy(this.srcNodeRef),delete this.srcNodeRef)},destroyDescendants:function(e){t.forEach(this.getChildren(),function(t){t.destroyRecursive&&t.destroyRecursive(e)})},uninitialize:function(){return!1},_setStyleAttr:function(e){var t=this.domNode;p.isObject(e)?u.set(t,e):t.style.cssText?t.style.cssText+=\"; \"+e:t.style.cssText=e,this._set(\"style\",e)},_attrToDom:function(e,n,r){r=arguments.length>=3?r:this.attributeMap[e],t.forEach(p.isArray(r)?r:[r],function(t){var r=this[t.node||t||\"domNode\"];switch(t.type||\"attribute\"){case\"attribute\":p.isFunction(n)&&(n=p.hitch(this,n));var o=t.attribute?t.attribute:/^on[A-Z][a-zA-Z]*$/.test(e)?e.toLowerCase():e;r.tagName?a.set(r,o,n):r.set(o,n);break;case\"innerText\":r.innerHTML=\"\",r.appendChild(this.ownerDocument.createTextNode(n));break;case\"textContent\":r.textContent=n;break;case\"innerHTML\":r.innerHTML=n;break;case\"class\":l.replace(r,n,this[e]);break;case\"toggleClass\":l.toggle(r,t.className||e,n)}},this)},get:function(e){var t=this._getAttrNames(e);return this[t.g]?this[t.g]():this._get(e)},set:function(e,t){if(\"object\"==typeof e){for(var n in e)this.set(n,e[n]);return this}var r=this._getAttrNames(e),o=this[r.s];if(p.isFunction(o))var i=o.apply(this,Array.prototype.slice.call(arguments,1));else{var s=this.focusNode&&!p.isFunction(this.focusNode)?\"focusNode\":\"domNode\",a=this[s]&&this[s].tagName,l=a&&(N[a]||(N[a]=function(e){var t={};for(var n in e)t[n.toLowerCase()]=!0;return t}(this[s]))),c=e in this.attributeMap?this.attributeMap[e]:r.s in this?this[r.s]:l&&r.l in l&&\"function\"!=typeof t||/^aria-|^data-|^role$/.test(e)?s:null;null!=c&&this._attrToDom(e,t,c),this._set(e,t)}return i||this},_attrPairNames:{},_getAttrNames:function(e){var t=this._attrPairNames;if(t[e])return t[e];var n=e.replace(/^[a-z]|-[a-zA-Z]/g,function(e){return e.charAt(e.length-1).toUpperCase()});return t[e]={n:e+\"Node\",s:\"_set\"+n+\"Attr\",g:\"_get\"+n+\"Attr\",l:n.toLowerCase()}},_set:function(e,t){var n,r,o=this[e];this[e]=t,!this._created||((n=o)===(r=t)||n!=n&&r!=r)||(this._watchCallbacks&&this._watchCallbacks(e,o,t),this.emit(\"attrmodified-\"+e,{detail:{prevValue:o,newValue:t}}))},_get:function(e){return this[e]},emit:function(e,t,n){void 0===(t=t||{}).bubbles&&(t.bubbles=!0),void 0===t.cancelable&&(t.cancelable=!0),t.detail||(t.detail={}),t.detail.widget=this;var r,o=this[\"on\"+e];return o&&(r=o.apply(this,n||[t])),this._started&&!this._beingDestroyed&&v.emit(this.domNode,e.toLowerCase(),t),r},on:function(e,t){var r=this._onMap(e);return r?n.after(this,r,t,!0):this.own(v(this.domNode,e,t))[0]},_onMap:function(e){var t=this.constructor,n=t._onMap;if(!n)for(var r in n=t._onMap={},t.prototype)/^on/.test(r)&&(n[r.replace(/^on/,\"\").toLowerCase()]=r);return n[\"string\"==typeof e&&e.toLowerCase()]},toString:function(){return\"[Widget \"+this.declaredClass+\", \"+(this.id||\"NO ID\")+\"]\"},getChildren:function(){return this.containerNode?x.findWidgets(this.containerNode):[]},getParent:function(){return x.getEnclosingWidget(this.domNode.parentNode)},connect:function(e,t,n){return this.own(o.connect(e,t,this,n))[0]},disconnect:function(e){e.remove()},subscribe:function(e,t){return this.own(y.subscribe(e,p.hitch(this,t)))[0]},unsubscribe:function(e){e.remove()},isLeftToRight:function(){return this.dir?\"ltr\"==this.dir.toLowerCase():d.isBodyLtr(this.ownerDocument)},isFocusable:function(){return this.focus&&\"none\"!=u.get(this.domNode,\"display\")},placeAt:function(e,t){var n=!e.tagName&&x.byId(e);if(!n||!n.addChild||t&&\"number\"!=typeof t){var r=n&&\"domNode\"in n?n.containerNode&&!/after|before|replace/.test(t||\"\")?n.containerNode:n.domNode:s.byId(e,this.ownerDocument);c.place(this.domNode,r,t),!this._started&&(this.getParent()||{})._started&&this.startup()}else n.addChild(this,t);return this},defer:function(e,t){var n=setTimeout(p.hitch(this,function(){n&&(n=null,this._destroyed||p.hitch(this,e)())}),t||0);return{remove:function(){return n&&(clearTimeout(n),n=null),null}}}});return h(\"dojo-bidi\")&&j.extend(w),j}.apply(null,r),void 0===o||(e.exports=o)},9600(e,t,n){var r,o;n.dj.r;r=[n(6974),n(7361),n(6323),n(7601),n(231)],o=function(e,t,n,r,o){var i={};return e.forEach([\"byId\",\"getUniqueId\",\"findWidgets\",\"_destroyAll\",\"byNode\",\"getEnclosingWidget\"],function(e){i[e]=r[e]}),n.mixin(i,{defaultDuration:t.defaultDuration||200}),n.mixin(o,i),o}.apply(null,r),void 0===o||(e.exports=o)},3050(e,t,n){var r,o;n.dj.r;r=[n(6974),n(2284),n(7878),n(1248),n(6323),n(2616),n(231)],void 0===(o=function(e,t,n,r,o,i,s){var a,l={_isElementShown:function(e){var t=r.get(e);return\"hidden\"!=t.visibility&&\"collapsed\"!=t.visibility&&\"none\"!=t.display&&\"hidden\"!=n.get(e,\"type\")},hasDefaultTabStop:function(e){switch(e.nodeName.toLowerCase()){case\"a\":return n.has(e,\"href\");case\"area\":case\"button\":case\"input\":case\"object\":case\"select\":case\"textarea\":return!0;case\"iframe\":var t;try{var r=e.contentDocument;if(\"designMode\"in r&&\"on\"==r.designMode)return!0;t=r.body}catch(n){try{t=e.contentWindow.document.body}catch(e){return!1}}return t&&(\"true\"==t.contentEditable||t.firstChild&&\"true\"==t.firstChild.contentEditable);default:return\"true\"==e.contentEditable}},effectiveTabIndex:function(e){return n.get(e,\"disabled\")?a:n.has(e,\"tabIndex\")?+n.get(e,\"tabIndex\"):l.hasDefaultTabStop(e)?0:a},isTabNavigable:function(e){return l.effectiveTabIndex(e)>=0},isFocusable:function(e){return l.effectiveTabIndex(e)>=-1},_getTabNavigable:function(e){var t,r,o,s,a,c,d={};function u(e){return e&&\"input\"==e.tagName.toLowerCase()&&e.type&&\"radio\"==e.type.toLowerCase()&&e.name&&e.name.toLowerCase()}var h=l._isElementShown,f=l.effectiveTabIndex,p=function(e){for(var l=e.firstChild;l;l=l.nextSibling)if(!(1!=l.nodeType||i(\"ie\")<=9&&\"HTML\"!==l.scopeName)&&h(l)){var v=f(l);if(v>=0){0==v?(t||(t=l),r=l):v>0&&((!o||v<s)&&(s=v,o=l),(!a||v>=c)&&(c=v,a=l));var g=u(l);n.get(l,\"checked\")&&g&&(d[g]=l)}\"SELECT\"!=l.nodeName.toUpperCase()&&p(l)}};function v(e){return d[u(e)]||e}return h(e)&&p(e),{first:v(t),last:v(r),lowest:v(o),highest:v(a)}},getFirstInTabbingOrder:function(e,n){var r=l._getTabNavigable(t.byId(e,n));return r.lowest?r.lowest:r.first},getLastInTabbingOrder:function(e,n){var r=l._getTabNavigable(t.byId(e,n));return r.last?r.last:r.highest}};return i(\"extend-dojo\")&&o.mixin(s,l),l}.apply(null,r))||(e.exports=o)},8240(e,t,n){var r,o;n.dj.r;r=[n(4266),n(8471),n(2075),n(7443)],void 0===(o=function(e,t,n,r){function o(t){if((t.keyCode===e.ENTER||t.keyCode===e.SPACE)&&!/input|button|textarea/i.test(t.target.nodeName))for(var n=t.target;n;n=n.parentNode)if(n.dojoClick)return!0}var i;n(document,\"keydown\",function(e){o(e)?(i=e.target,e.preventDefault()):i=null}),n(document,\"keyup\",function(e){o(e)&&e.target==i&&(i=null,n.emit(e.target,\"click\",{cancelable:!0,bubbles:!0,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,metaKey:e.metaKey,altKey:e.altKey,_origType:e.type}))});var s=function(e,t){return e.dojoClick=!0,n(e,\"click\",t)};return s.click=s,s.press=function(o,i){var s=n(o,r.press,function(e){(\"mousedown\"!=e.type||t.isLeft(e))&&i(e)}),a=n(o,\"keydown\",function(t){t.keyCode!==e.ENTER&&t.keyCode!==e.SPACE||i(t)});return{remove:function(){s.remove(),a.remove()}}},s.release=function(o,i){var s=n(o,r.release,function(e){(\"mouseup\"!=e.type||t.isLeft(e))&&i(e)}),a=n(o,\"keyup\",function(t){t.keyCode!==e.ENTER&&t.keyCode!==e.SPACE||i(t)});return{remove:function(){s.remove(),a.remove()}}},s.move=r.move,s}.apply(null,r))||(e.exports=o)},7304(e,t,n){var r,o;n.dj.r;r=[n(6566),n(6345),n(2284),n(7878),n(8945),n(28),n(9925),n(6323),n(2075),n(2641),n(2616),n(4062),n(5075),n(3930),n(3050),n(7601),n(231)],void 0===(o=function(e,t,n,r,o,i,s,a,l,c,d,u,h,f,p,v,g){var m,y,_=new(t([u,s],{curNode:null,activeStack:[],constructor:function(){var t=a.hitch(this,function(e){n.isDescendant(this.curNode,e)&&this.set(\"curNode\",null),n.isDescendant(this.prevNode,e)&&this.set(\"prevNode\",null)});e.before(i,\"empty\",t),e.before(i,\"destroy\",t)},registerIframe:function(e){return this.registerWin(e.contentWindow,e)},registerWin:function(e,t){var n=this,r=e.document&&e.document.body;if(r){var o=d(\"pointer-events\")?\"pointerdown\":d(\"MSPointer\")?\"MSPointerDown\":d(\"touch-events\")?\"mousedown, touchstart\":\"mousedown\",i=l(e.document,o,function(e){e&&e.target&&null==e.target.parentNode||n._onTouchNode(t||e.target,\"mouse\")}),s=l(r,\"focusin\",function(e){if(e.target.tagName){var r=e.target.tagName.toLowerCase();\"#document\"!=r&&\"body\"!=r&&(p.isFocusable(e.target)?n._onFocusNode(t||e.target):n._onTouchNode(t||e.target))}}),a=l(r,\"focusout\",function(e){n._onBlurNode(t||e.target)});return{remove:function(){i.remove(),s.remove(),a.remove(),i=s=a=null,r=null}}}},_onBlurNode:function(e){var t=(new Date).getTime();t<m+100||(this._clearFocusTimer&&clearTimeout(this._clearFocusTimer),this._clearFocusTimer=setTimeout(a.hitch(this,function(){this.set(\"prevNode\",this.curNode),this.set(\"curNode\",null)}),0),this._clearActiveWidgetsTimer&&clearTimeout(this._clearActiveWidgetsTimer),t<y+100||(this._clearActiveWidgetsTimer=setTimeout(a.hitch(this,function(){delete this._clearActiveWidgetsTimer,this._setStack([])}),0)))},_onTouchNode:function(e,t){y=(new Date).getTime(),this._clearActiveWidgetsTimer&&(clearTimeout(this._clearActiveWidgetsTimer),delete this._clearActiveWidgetsTimer),o.contains(e,\"dijitPopup\")&&(e=e.firstChild);var n=[];try{for(;e;){var i=r.get(e,\"dijitPopupParent\");if(i)e=v.byId(i).domNode;else if(e.tagName&&\"body\"==e.tagName.toLowerCase()){if(e===h.body())break;e=f.get(e.ownerDocument).frameElement}else{var s=e.getAttribute&&e.getAttribute(\"widgetId\"),a=s&&v.byId(s);!a||\"mouse\"==t&&a.get(\"disabled\")||n.unshift(s),e=e.parentNode}}}catch(e){}this._setStack(n,t)},_onFocusNode:function(e){e&&9!=e.nodeType&&(m=(new Date).getTime(),this._clearFocusTimer&&(clearTimeout(this._clearFocusTimer),delete this._clearFocusTimer),this._onTouchNode(e),e!=this.curNode&&(this.set(\"prevNode\",this.curNode),this.set(\"curNode\",e)))},_setStack:function(e,t){var n=this.activeStack,r=n.length-1,o=e.length-1;if(e[o]!=n[r]){var i,s;for(this.set(\"activeStack\",e),s=r;s>=0&&n[s]!=e[s];s--)(i=v.byId(n[s]))&&(i._hasBeenBlurred=!0,i.set(\"focused\",!1),i._focusManager==this&&i._onBlur(t),this.emit(\"widget-blur\",i,t));for(s++;s<=o;s++)(i=v.byId(e[s]))&&(i.set(\"focused\",!0),i._focusManager==this&&i._onFocus(t),this.emit(\"widget-focus\",i,t))}},focus:function(e){if(e)try{e.focus()}catch(e){}}}));for(var b in c(function(){var e=_.registerWin(f.get(document));d(\"ie\")&&l(window,\"unload\",function(){e&&(e.remove(),e=null)})}),g.focus=function(e){_.focus(e)},_)/^_/.test(b)||(g.focus[b]=\"function\"==typeof _[b]?a.hitch(_,b):_[b]);return _.watch(function(e,t,n){g.focus[e]=n}),_}.apply(null,r))||(e.exports=o)},664(e,t,n){var r,o;n.dj.r;r=[n(8945),n(9276),n(2641),n(5075)],void 0===(o=function(e,t,n,r){return n(function(){0}),t}.apply(null,r))||(e.exports=o)},231(e,t,n){var r,o;n.dj.r;r=[n(1054)],void 0===(o=function(e){return e.dijit}.apply(null,r))||(e.exports=o)},1019(e,t,n){var r,o;n.dj.r;r=[n(6974),n(2685),n(1248),n(1054),n(5075),n(1600),n(231)],void 0===(o=function(e,t,n,r,o,i,s){function a(r,s,a,l){var c=i.getEffectiveBox(r.ownerDocument);r.parentNode&&\"body\"==String(r.parentNode.tagName).toLowerCase()||o.body(r.ownerDocument).appendChild(r);var d=null;e.some(s,function(e){var n=e.corner,o=e.pos,i=0,s={w:{L:c.l+c.w-o.x,R:o.x-c.l,M:c.w}[n.charAt(1)],h:{T:c.t+c.h-o.y,B:o.y-c.t,M:c.h}[n.charAt(0)]},u=r.style;if(u.left=u.right=\"auto\",a){var h=a(r,e.aroundCorner,n,s,l);i=void 0===h?0:h}var f=r.style,p=f.display,v=f.visibility;\"none\"==f.display&&(f.visibility=\"hidden\",f.display=\"\");var g=t.position(r);f.display=p,f.visibility=v;var m={L:o.x,R:o.x-g.w,M:Math.max(c.l,Math.min(c.l+c.w,o.x+(g.w>>1))-g.w)}[n.charAt(1)],y={T:o.y,B:o.y-g.h,M:Math.max(c.t,Math.min(c.t+c.h,o.y+(g.h>>1))-g.h)}[n.charAt(0)],_=Math.max(c.l,m),b=Math.max(c.t,y),w=Math.min(c.l+c.w,m+g.w)-_,x=Math.min(c.t+c.h,y+g.h)-b;return i+=g.w-w+(g.h-x),(null==d||i<d.overflow)&&(d={corner:n,aroundCorner:e.aroundCorner,x:_,y:b,w,h:x,overflow:i,spaceAvailable:s}),!i}),d.overflow&&a&&a(r,d.aroundCorner,d.corner,d.spaceAvailable,l);var u=d.y,h=d.x,f=o.body(r.ownerDocument);/relative|absolute/.test(n.get(f,\"position\"))&&(u-=n.get(f,\"marginTop\"),h-=n.get(f,\"marginLeft\"));var p=r.style;return p.top=u+\"px\",p.left=h+\"px\",p.right=\"auto\",d}var l={TL:\"BR\",TR:\"BL\",BL:\"TR\",BR:\"TL\"},c={at:function(t,n,r,o,i){return a(t,e.map(r,function(e){var t={corner:e,aroundCorner:l[e],pos:{x:n.x,y:n.y}};return o&&(t.pos.x+=\"L\"==e.charAt(1)?o.x:-o.x,t.pos.y+=\"T\"==e.charAt(0)?o.y:-o.y),t}),i)},around:function(o,i,s,l,c){var d;if(\"string\"==typeof i||\"offsetWidth\"in i||\"ownerSVGElement\"in i){if(d=t.position(i,!0),/^(above|below)/.test(s[0])){var u=t.getBorderExtents(i),h=i.firstChild?t.getBorderExtents(i.firstChild):{t:0,l:0,b:0,r:0},f=t.getBorderExtents(o),p=o.firstChild?t.getBorderExtents(o.firstChild):{t:0,l:0,b:0,r:0};d.y+=Math.min(u.t+h.t,f.t+p.t),d.h-=Math.min(u.t+h.t,f.t+p.t)+Math.min(u.b+h.b,f.b+p.b)}}else d=i;if(i.parentNode)for(var v=\"absolute\"==n.getComputedStyle(i).position,g=i.parentNode;g&&1==g.nodeType&&\"BODY\"!=g.nodeName;){var m=t.position(g,!0),y=n.getComputedStyle(g);if(/relative|absolute/.test(y.position)&&(v=!1),!v&&/hidden|auto|scroll/.test(y.overflow)){var _=Math.min(d.y+d.h,m.y+m.h),b=Math.min(d.x+d.w,m.x+m.w);d.x=Math.max(d.x,m.x),d.y=Math.max(d.y,m.y),d.h=_-d.y,d.w=b-d.x}\"absolute\"==y.position&&(v=!0),g=g.parentNode}var w=d.x,x=d.y,N=\"w\"in d?d.w:d.w=d.width,C=\"h\"in d?d.h:(r.deprecated(\"place.around: dijit/place.__Rectangle: { x:\"+w+\", y:\"+x+\", height:\"+d.height+\", width:\"+N+\" } has been deprecated. Please use { x:\"+w+\", y:\"+x+\", h:\"+d.height+\", w:\"+N+\" }\",\"\",\"2.0\"),d.h=d.height),j=[];function S(e,t){j.push({aroundCorner:e,corner:t,pos:{x:{L:w,R:w+N,M:w+(N>>1)}[e.charAt(1)],y:{T:x,B:x+C,M:x+(C>>1)}[e.charAt(0)]}})}e.forEach(s,function(e){var t=l;switch(e){case\"above-centered\":S(\"TM\",\"BM\");break;case\"below-centered\":S(\"BM\",\"TM\");break;case\"after-centered\":t=!t;case\"before-centered\":S(t?\"ML\":\"MR\",t?\"MR\":\"ML\");break;case\"after\":t=!t;case\"before\":S(t?\"TL\":\"TR\",t?\"TR\":\"TL\"),S(t?\"BL\":\"BR\",t?\"BR\":\"BL\");break;case\"below-alt\":t=!t;case\"below\":S(t?\"BL\":\"BR\",t?\"TL\":\"TR\"),S(t?\"BR\":\"BL\",t?\"TR\":\"TL\");break;case\"above-alt\":t=!t;case\"above\":S(t?\"TL\":\"TR\",t?\"BL\":\"BR\"),S(t?\"TR\":\"TL\",t?\"BR\":\"BL\");break;default:S(e.aroundCorner,e.corner)}});var T=a(o,j,c,{w:N,h:C});return T.aroundNodePos=d,T}};return s.place=c}.apply(null,r))||(e.exports=o)},7601(e,t,n){var r,o;n.dj.r;r=[n(6974),n(5075),n(231)],void 0===(o=function(e,t,n){var r={},o={},i={length:0,add:function(e){if(o[e.id])throw new Error(\"Tried to register widget with id==\"+e.id+\" but that id is already registered\");o[e.id]=e,this.length++},remove:function(e){o[e]&&(delete o[e],this.length--)},byId:function(e){return\"string\"==typeof e?o[e]:e},byNode:function(e){return o[e.getAttribute(\"widgetId\")]},toArray:function(){var e=[];for(var t in o)e.push(o[t]);return e},getUniqueId:function(e){var t;do{t=e+\"_\"+(e in r?++r[e]:r[e]=0)}while(o[t]);return\"dijit\"==n._scopeName?t:n._scopeName+\"_\"+t},findWidgets:function(e,t){var n=[];return function e(r){for(var i=r.firstChild;i;i=i.nextSibling)if(1==i.nodeType){var s=i.getAttribute(\"widgetId\");if(s){var a=o[s];a&&n.push(a)}else i!==t&&e(i)}}(e),n},_destroyAll:function(){n._curFocus=null,n._prevFocus=null,n._activeStack=[],e.forEach(i.findWidgets(t.body()),function(e){e._destroyed||(e.destroyRecursive?e.destroyRecursive():e.destroy&&e.destroy())})},getEnclosingWidget:function(e){for(;e;){var t=1==e.nodeType&&e.getAttribute(\"widgetId\");if(t)return o[t];e=e.parentNode}return null},_hash:o};return n.registry=i,i}.apply(null,r))||(e.exports=o)},8942(e,t,n){var r,o;n.dj.r;r=[n(6345)],o=function(e){function t(e){return function(){var n=this.constructor,r=new n;return r.type=e,r.args=Array.prototype.slice.call(arguments),this.type?t(\"and\").call(n.prototype,this,r):r}}function n(e){return function(){for(var t=this.constructor,n=[],r=0;r<arguments.length;r++){var o=arguments[r];n.push(o instanceof t?o:new t(o))}var i=new t;return i.type=e,i.args=n,this.type===e?i.args=this.args.concat(n):this.type?n.unshift(this):1===n.length&&n[0].type&&(i.type=n[0].type,i.args=n[0].args.slice()),i}}var r=e(null,{constructor:function(e){var t=typeof e;switch(t){case\"object\":var n=this;for(var r in e){var o=e[r];n=o instanceof this.constructor?n[o.type](r,o.args[0]):o&&o.test?n.match(r,o):n.eq(r,o)}this.type=n.type,this.args=n.args;break;case\"function\":case\"string\":this.type=t,this.args=[e]}},and:n(\"and\"),or:n(\"or\"),eq:t(\"eq\"),ne:t(\"ne\"),lt:t(\"lt\"),lte:t(\"lte\"),gt:t(\"gt\"),gte:t(\"gte\"),contains:t(\"contains\"),in:t(\"in\"),match:t(\"match\")});return r.filterCreator=t,r.logicalOperatorCreator=n,r}.apply(null,r),void 0===o||(e.exports=o)},5907(e,t,n){var r,o;n.dj.r;r=[n(6345),n(6323),n(6974),n(1603),n(6739),n(3060),n(2626)],o=function(e,t,n,r,o,i,s){return e([r,o,i],{constructor:function(){this.storage.version=0},postscript:function(){this.inherited(arguments),this.setData(this.data||[])},data:null,autoEmitEvents:!1,getSync:function(e){return this.storage.fullData[this.storage.index[e]]},putSync:function(e,t){t=t||{};var n=this.storage,r=n.index,o=n.fullData,i=this.Model;!i||e instanceof i||(e=this._restore(e));var s=this.getIdentity(e);null==s&&(this._setIdentity(e,\"id\"in t?t.id:Math.random()),s=this.getIdentity(e)),n.version++;var a,l,c,d=s in r?\"update\":\"add\",u={target:e};if(\"update\"===d){if(!1===t.overwrite)throw new Error(\"Object already exists\");l=a=r[s]}else l=this.defaultNewToStart?0:o.length;if(\"beforeId\"in t){var h=t.beforeId;null===h?(c=o.length,\"update\"===d&&--c):a<(c=r[h])&&--c,void 0!==c?u.beforeId=h:(console.error(\"options.beforeId was specified but no corresponding index was found\"),c=l)}else c=l;if(c===a)o[c]=e;else{void 0!==a&&o.splice(a,1),o.splice(c,0,e);for(var f=void 0===a?c:Math.min(a,c),p=o.length;f<p;++f)r[this.getIdentity(o[f])]=f}return this.emit(d,u),e},addSync:function(e,t){return(t=t||{}).overwrite=!1,this.putSync(e,t)},removeSync:function(e){var t=this.storage,n=t.index,r=t.fullData;if(e in n){var o=r.splice(n[e],1)[0];return this._reindex(),this.emit(\"delete\",{id:e,target:o}),!0}},setData:function(e){this.parse&&(e=this.parse(e)),e.items&&(this.idProperty=e.identifier||this.idProperty,e=e.items),this.storage.fullData=this.data=e,this._reindex()},_reindex:function(){for(var e=this.storage,t=e.index={},n=e.fullData,r=this.Model,o=Object.prototype,i=0,s=n.length;i<s;i++){var a=n[i];if(r&&!(a instanceof r)){var l=this._restore(a,a.__proto__===o);a!==l&&(n[i]=a=l)}t[this.getIdentity(a)]=i}e.version++},fetchSync:function(){var e=this.data;if(!e||e._version!==this.storage.version){e=this.storage.fullData;for(var t=this.queryLog,n=0,r=t.length;n<r;n++)e=t[n].querier(e);e._version=this.storage.version,this.data=e}return new s(e)},fetchRangeSync:function(e){var t=this.fetchSync(),n=e.start,r=e.end;return new s(t.slice(n,r),{totalLength:t.length})},_includePropertyInSubCollection:function(e){return\"data\"!==e&&this.inherited(arguments)}})}.apply(null,r),void 0===o||(e.exports=o)},6739(e,t,n){var r,o;n.dj.r;r=[n(6345),n(5625),n(2626),n(3534)],o=function(e,t,n,r){function o(e,o){return function(){var i=new t;try{i.resolve(this[e].apply(this,arguments))}catch(e){i.reject(e)}if(o){var s=new n(i.promise);return s.totalLength=r(s.totalLength),s}return i.promise}}return e(null,{get:o(\"getSync\"),put:o(\"putSync\"),add:o(\"addSync\"),remove:o(\"removeSync\"),fetch:o(\"fetchSync\",!0),fetchRange:o(\"fetchRangeSync\",!0)})}.apply(null,r),void 0===o||(e.exports=o)},2219(e,t,n){var r;n.dj.r;r=function(){return function(e){var t=e.type,n=e.normalizeArguments,r=e.applyQuery,o=e.querierFactory;return function(){var e=Array.prototype.slice.call(arguments),i=n?n.apply(this,e):e,s={type:t,arguments:e,normalizedArguments:i},a=this._getQuerierFactory(t)||o;a&&(s.querier=a.apply(this,i));var l=this._createSubCollection({queryLog:this.queryLog.concat(s)});return r?r.call(this,l,s):l}}}.apply(null,[]),void 0===r||(e.exports=r)},2626(e,t,n){var r,o;n.dj.r;r=[n(6323),n(3534)],void 0===(o=function(e,t){function n(e,n){return t(this,function(t){for(var r=0,o=t.length;r<o;r++)e.call(n,t[r],r,t)})}return function(t,r){var o=r&&\"totalLength\"in r;if(t.then){var i=(t=e.delegate(t)).then(function(e){var t=o?r.totalLength:e.totalLength||e.length;return e.totalLength=t,!o&&t});t.totalLength=o?r.totalLength:i,t.response=r&&r.response}else t.totalLength=o?r.totalLength:t.length;return t.forEach=n,t}}.apply(null,r))||(e.exports=o)},3060(e,t,n){var r,o;n.dj.r;r=[n(6345),n(6974)],o=function(e,t){function n(e,t){if(e.indexOf(\".\")>-1){var n=e.split(\".\"),r=n.length;return function(e){for(var o=0;o<r;o++)e=e&&(t&&e.get?e.get(n[o]):e[n[o]]);return e}}return function(t){return t.get?t.get(e):t[e]}}var r={eq:function(e,t){return e===t},in:function(e,n){return t.indexOf(n.data||n,e)>-1},ne:function(e,t){return e!==t},lt:function(e,t){return e<t},lte:function(e,t){return e<=t},gt:function(e,t){return e>t},gte:function(e,t){return e>=t},match:function(e,t,n){return t.test(e,n)},contains:function(e,n,r,o){var i,s=this;return i=n.data?n.data:Array.isArray(n)?n:[n],t.every(i,function(n){if(\"object\"==typeof n&&n.type){var i=s._getFilterComparator(n.type);return t.some(e,function(e){return i.call(s,e,n.args[1],r,o)})}return t.indexOf(e,n)>-1})}};return e(null,{_createFilterQuerier:function(e){var r=this.queryAccessors,o=this,i=function e(t){var i,s,a=t.type,l=t.args,c=o._getFilterComparator(a);if(c){var d=l[0],u=n(d,r),h=l[1];return h&&h.fetchSync&&(h=h.fetchSync()),function(e){return c.call(o,u(e),h,e,d)}}switch(a){case\"and\":case\"or\":for(var f=0,p=l.length;f<p;f++)s=e(l[f]),i=i?function(e,t){return\"and\"===a?function(n){return e(n)&&t(n)}:function(n){return e(n)||t(n)}}(i,s):s;return i;case\"function\":return l[0];case\"string\":var v=o[l[0]];if(!v)throw new Error(\"No filter function \"+l[0]+\" was found in the collection\");return v;case void 0:return function(){return!0};default:throw new Error('Unknown filter operation \"'+a+'\"')}}(e);return function(e){return t.filter(e,i)}},_getFilterComparator:function(e){return r[e]||this.inherited(arguments)},_createSelectQuerier:function(e){return function(n){var r=e.length;return t.map(n,e instanceof Array?function(t){for(var n={},o=0;o<r;o++){var i=e[o];n[i]=t[i]}return n}:function(t){return t[e]})}},_createSortQuerier:function(e){var t=this.queryAccessors;return function(r){return r=r.slice(),\"function\"==typeof e?r.sort(e):e&&e.length&&r.sort(function(r,o){for(var i=0;i<e.length;i++){var s,a=e[i];if(\"function\"==typeof a)s=a(r,o);else{var l=a.get||(a.get=n(a.property,t)),c=a.descending,d=l(r),u=l(o);if(null!=d&&(d=d.valueOf()),null!=u&&(u=u.valueOf()),d===u)s=0;else{var h=void 0===u||null===u&&void 0!==d||null!=d&&d<u;s=Boolean(c)===h?1:-1}}if(0!==s)return s}return 0}),r}}})}.apply(null,r),void 0===o||(e.exports=o)},1603(e,t,n){var r,o;n.dj.r;r=[n(6323),n(6974),n(6566),n(6356),n(3534),n(6345),n(2219),n(8942),n(9925)],o=function(e,t,n,r,o,i,s,a,l){r.add(\"object-proto\",!!{}.__proto__&&!{}.watch);var c=r(\"object-proto\");function d(e){return function(t,n){var r=this;return o(t,function(t){var o={target:t},i=n[1]||{};\"beforeId\"in i&&(o.beforeId=i.beforeId),r.emit(e,o)}),t}}return i(l,{constructor:function(e){e&&i.safeMixin(this,e),this.Model&&this.Model.createSubclass&&(this.Model=this.Model.createSubclass([]).extend({_store:this})),this.storage=new l;var t=this;this.autoEmitEvents&&(n.after(this,\"add\",d(\"add\")),n.after(this,\"put\",d(\"update\")),n.after(this,\"remove\",function(e,n){return o(e,function(){t.emit(\"delete\",{id:n[0]})}),e}))},autoEmitEvents:!0,idProperty:\"id\",queryAccessors:!0,getIdentity:function(e){return e.get?e.get(this.idProperty):e[this.idProperty]},_setIdentity:function(e,t){e.set?e.set(this.idProperty,t):e[this.idProperty]=t},forEach:function(e,t){var n=this;return o(this.fetch(),function(r){for(var o,i=0;void 0!==(o=r[i]);i++)e.call(t,o,i,n);return r})},matchesFilter:function(e){var t=this.queryLog;if(t&&e){for(var n=[e],r=0,o=t.length;r<o;r++)n=t[r].querier(n);return n.length>0}return!0},on:function(e,t,n){var r=this;return this.storage.on(e,function(e){t&&(n&&!r.matchesFilter(e&&e.target)||t&&t(e))})},emit:function(e,t){(t=t||{}).type=e;try{return this.storage.emit(e,t)}catch(e){console.error(e)}finally{return t.cancelable}},parse:null,stringify:null,Model:null,_restore:function(t,n){var r=this.Model;if(r&&t){var o=r.prototype,i=o._restore;i?t=i.call(t,r,n):c&&n?t.__proto__=o:t=e.delegate(o,t)}return t},create:function(e){return new this.Model(e)},_createSubCollection:function(t){var n=e.delegate(this.constructor.prototype);for(var r in this)this._includePropertyInSubCollection(r,n)&&(n[r]=this[r]);return i.safeMixin(n,t)},_includePropertyInSubCollection:function(e,t){return!(e in t)||t[e]!==this[e]},queryLog:[],filter:new s({type:\"filter\",normalizeArguments:function(e){var t=this.Filter;return e instanceof t?[e]:[new t(e)]}}),Filter:a,sort:new s({type:\"sort\",normalizeArguments:function(n,r){var o;return\"function\"==typeof n?o=[n]:(o=n instanceof Array?n.slice():\"object\"==typeof n?[].slice.call(arguments):[{property:n,descending:r}],o=[o=t.map(o,function(t){return(t=e.mixin({},t)).descending=!!t.descending,t})]),o}}),select:new s({type:\"select\"}),_getQuerierFactory:function(e){return this[\"_create\"+(e[0].toUpperCase()+e.substr(1))+\"Querier\"]}})}.apply(null,r),void 0===o||(e.exports=o)},8819(e){e.exports=void 0},1442(e,t,n){var r,o;n.dj.r;r=[n(3878),n(5744),n(4481)],void 0===(o=function(e,t){return t(e,\"dgrid/extensions/nls/pagination\",n.dj.c(),!1)}.apply(null,r))||(e.exports=o)},5744(e,t,n){var r;n.dj.r;void 0===(r=function(){return function(e,t,n,r){var o,i,s;if(e.load(t,n,function(e){i=e,s=!0,o&&o(e)},{isBuild:!0}),s)return i;if(!r)throw new Error(t+\" unavailable\");return(i=new Promise(function(e){o=e})).__DOJO_WEBPACK_DEFINE_PROMISE__=!0,i}}.apply(null,[]))||(e.exports=r)},9409(e){e.exports='<div class=\"dijitTooltip dijitTooltipLeft\" id=\"dojoTooltip\" data-dojo-attach-event=\"mouseenter:onMouseEnter,mouseleave:onMouseLeave\"\\n\\t><div class=\"dijitTooltipConnector\" data-dojo-attach-point=\"connectorNode\"></div\\n\\t><div class=\"dijitTooltipContainer dijitTooltipContents\" data-dojo-attach-point=\"containerNode\" role=\\'alert\\'></div\\n></div>\\n'},5625(e,t,n){var r,o;n.dj.r;r=[n(6356),n(6323),n(1662),n(5479),n(2236)],void 0===(o=function(e,t,n,r,o){\"use strict\";var i=\"This deferred has already been fulfilled.\",s=Object.freeze||function(){},a=function(t,n,r,o,i){e(\"config-deferredInstrumentation\")&&2===n&&u.instrumentRejected&&0===t.length&&u.instrumentRejected(r,!1,o,i);for(var s=0;s<t.length;s++)l(t[s],n,r,o)},l=function(t,n,r,o){var i=t[n],s=t.deferred;if(i)try{var a=i(r);if(0===n)void 0!==a&&d(s,n,a);else{if(a&&\"function\"==typeof a.then)return t.cancel=a.cancel,void a.then(c(s,1),c(s,2),c(s,0));d(s,1,a)}}catch(e){d(s,2,e)}else d(s,n,r);e(\"config-deferredInstrumentation\")&&2===n&&u.instrumentRejected&&u.instrumentRejected(r,!!i,o,s.promise)},c=function(e,t){return function(n){d(e,t,n)}},d=function(e,t,n){if(!e.isCanceled())switch(t){case 0:e.progress(n);break;case 1:e.resolve(n);break;case 2:e.reject(n)}},u=function(t){var o,c,d,h=this.promise=new r,f=this,p=!1,v=[];e(\"config-deferredInstrumentation\")&&Error.captureStackTrace&&(Error.captureStackTrace(f,u),Error.captureStackTrace(h,u)),this.isResolved=h.isResolved=function(){return 1===o},this.isRejected=h.isRejected=function(){return 2===o},this.isFulfilled=h.isFulfilled=function(){return!!o},this.isCanceled=h.isCanceled=function(){return p},this.progress=function(e,t){if(o){if(!0===t)throw new Error(i);return h}return a(v,0,e,null,f),h},this.resolve=function(e,t){if(o){if(!0===t)throw new Error(i);return h}return a(v,o=1,c=e,null,f),v=null,h};var g=this.reject=function(t,n){if(o){if(!0===n)throw new Error(i);return h}return e(\"config-deferredInstrumentation\")&&Error.captureStackTrace&&Error.captureStackTrace(d={},g),a(v,o=2,c=t,d,f),v=null,h};this.then=h.then=function(e,t,n){var r=[n,e,t];return r.cancel=h.cancel,r.deferred=new u(function(e){return r.cancel&&r.cancel(e)}),o&&!v?l(r,o,c,d):v.push(r),r.deferred.promise},this.cancel=h.cancel=function(e,r){if(o){if(!0===r)throw new Error(i)}else{if(t){var s=t(e);e=void 0===s?e:s}if(p=!0,!o)return void 0===e&&(e=new n),g(e),e;if(2===o&&c===e)return e}},s(h)};return u.prototype.toString=function(){return\"[object Deferred]\"},o&&o(u),u}.apply(null,r))||(e.exports=o)},9925(e,t,n){var r,o;n.dj.r;r=[n(6566),n(2075)],o=function(e,t){\"use strict\";var n=e.after;function r(){}return r.prototype={on:function(e,r){return t.parse(this,e,r,function(e,t){return n(e,\"on\"+t,r,!0)})},emit:function(e,n){var r=[this];return r.push.apply(r,arguments),t.emit.apply(t,r)}},r}.apply(null,r),void 0===o||(e.exports=o)},8288(e,t,n){var r,o;n.dj.r;r=[n(1054),n(1172),n(6974),n(6323),n(8945),n(28),n(2685),n(7878),n(1248)],o=function(e,t,n,r,o,i,s,a,l){var c=function(e){return 1==e.length&&\"string\"==typeof e[0]},d=function(e){var t=e.parentNode;t&&t.removeChild(e)},u=t.NodeList,h=u._adaptWithCondition,f=u._adaptAsForEach,p=u._adaptAsMap;function v(e){return function(t,n,r){return 2==arguments.length?e[\"string\"==typeof n?\"get\":\"set\"](t,n):e.set(t,n,r)}}return r.extend(u,{_normalize:function(t,n){var o=!0===t.parse;if(\"string\"==typeof t.template){var s=t.templateFunc||e.string&&e.string.substitute;t=s?s(t.template,t):t}var a=typeof t;return\"string\"==a||\"number\"==a?t=11==(t=i.toDom(t,n&&n.ownerDocument)).nodeType?r._toArray(t.childNodes):[t]:r.isArrayLike(t)?r.isArray(t)||(t=r._toArray(t)):t=[t],o&&(t._runParse=!0),t},_cloneNode:function(e){return e.cloneNode(!0)},_place:function(t,n,r,o){if(1==n.nodeType||\"only\"!=r)for(var s,a=n,l=t.length,c=l-1;c>=0;c--){var d=o?this._cloneNode(t[c]):t[c];if(t._runParse&&e.parser&&e.parser.parse)for(s||(s=a.ownerDocument.createElement(\"div\")),s.appendChild(d),e.parser.parse(s),d=s.firstChild;s.firstChild;)s.removeChild(s.firstChild);c==l-1?i.place(d,a,r):a.parentNode.insertBefore(d,a),a=d}},position:p(s.position),attr:h(v(a),c),style:h(v(l),c),addClass:f(o.add),removeClass:f(o.remove),toggleClass:f(o.toggle),replaceClass:f(o.replace),empty:f(i.empty),removeAttr:f(a.remove),marginBox:p(s.getMarginBox),place:function(e,n){var r=t(e)[0];return this.forEach(function(e){i.place(e,r,n)})},orphan:function(e){return(e?t._filterResult(this,e):this).forEach(d)},adopt:function(e,n){return t(e).place(this[0],n)._stash(this)},query:function(e){if(!e)return this;var n=new u;return this.map(function(r){t(e,r).forEach(function(e){void 0!==e&&n.push(e)})}),n._stash(this)},filter:function(e){var r=arguments,o=this,i=0;if(\"string\"==typeof e){if(o=t._filterResult(this,r[0]),1==r.length)return o._stash(this);i=1}return this._wrap(n.filter(o,r[i],r[i+1]),this)},addContent:function(e,t){e=this._normalize(e,this[0]);for(var n,r=0;n=this[r];r++)e.length?this._place(e,n,t,r>0):i.empty(n);return this}}),u}.apply(null,r),void 0===o||(e.exports=o)},4062(e,t,n){var r,o;n.dj.r;r=[n(6345),n(6323),n(6974),n(3534)],o=function(e,t,n,r){return e(\"dojo.Stateful\",null,{_attrPairNames:{},_getAttrNames:function(e){var t=this._attrPairNames;return t[e]?t[e]:t[e]={s:\"_\"+e+\"Setter\",g:\"_\"+e+\"Getter\"}},postscript:function(e){e&&this.set(e)},_get:function(e,t){return\"function\"==typeof this[t.g]?this[t.g]():this[e]},get:function(e){return this._get(e,this._getAttrNames(e))},set:function(e,t){if(\"object\"==typeof e){for(var n in e)e.hasOwnProperty(n)&&\"_watchCallbacks\"!=n&&this.set(n,e[n]);return this}var o,i=this._getAttrNames(e),s=this._get(e,i),a=this[i.s];if(\"function\"==typeof a?o=a.apply(this,Array.prototype.slice.call(arguments,1)):this[e]=t,this._watchCallbacks){var l=this;r(o,function(){l._watchCallbacks(e,s,t)})}return this},_changeAttrValue:function(e,t){var n=this.get(e);return this[e]=t,this._watchCallbacks&&this._watchCallbacks(e,n,t),this},watch:function(e,t){var r=this._watchCallbacks;if(!r){var o=this;r=this._watchCallbacks=function(e,t,n,i){var s=function(r){if(r)for(var i=0,s=(r=r.slice()).length;i<s;i++)r[i].call(o,e,t,n)};s(r[\"_\"+e]),i||s(r[\"*\"])}}t||\"function\"!=typeof e?e=\"_\"+e:(t=e,e=\"*\");var i=r[e];\"object\"!=typeof i&&(i=r[e]=[]),i.push(t);var s={};return s.unwatch=s.remove=function(){var e=n.indexOf(i,t);e>-1&&i.splice(e,1)},s}})}.apply(null,r),void 0===o||(e.exports=o)},1692(e,t,n){var r,o;n.dj.r;r=[n(1054),n(6323),n(6974),n(7361)],void 0===(o=function(e,t,n,r){var o=e.Color=function(e){e&&this.setColor(e)};return o.named={black:[0,0,0],silver:[192,192,192],gray:[128,128,128],white:[255,255,255],maroon:[128,0,0],red:[255,0,0],purple:[128,0,128],fuchsia:[255,0,255],green:[0,128,0],lime:[0,255,0],olive:[128,128,0],yellow:[255,255,0],navy:[0,0,128],blue:[0,0,255],teal:[0,128,128],aqua:[0,255,255],transparent:r.transparentColor||[0,0,0,0]},t.extend(o,{r:255,g:255,b:255,a:1,_set:function(e,t,n,r){var o=this;o.r=e,o.g=t,o.b=n,o.a=r},setColor:function(e){return t.isString(e)?o.fromString(e,this):t.isArray(e)?o.fromArray(e,this):(this._set(e.r,e.g,e.b,e.a),e instanceof o||this.sanitize()),this},sanitize:function(){return this},toRgb:function(){var e=this;return[e.r,e.g,e.b]},toRgba:function(){var e=this;return[e.r,e.g,e.b,e.a]},toHex:function(){return\"#\"+n.map([\"r\",\"g\",\"b\"],function(e){var t=this[e].toString(16);return t.length<2?\"0\"+t:t},this).join(\"\")},toCss:function(e){var t=this,n=t.r+\", \"+t.g+\", \"+t.b;return(e?\"rgba(\"+n+\", \"+t.a:\"rgb(\"+n)+\")\"},toString:function(){return this.toCss(!0)}}),o.blendColors=e.blendColors=function(e,t,n,r){var i=r||new o;return i.r=Math.round(e.r+(t.r-e.r)*n),i.g=Math.round(e.g+(t.g-e.g)*n),i.b=Math.round(e.b+(t.b-e.b)*n),i.a=e.a+(t.a-e.a)*n,i.sanitize()},o.fromRgb=e.colorFromRgb=function(e,t){var n=e.toLowerCase().match(/^rgba?\\(([\\s\\.,0-9]+)\\)/);return n&&o.fromArray(n[1].split(/\\s*,\\s*/),t)},o.fromHex=e.colorFromHex=function(e,t){var r=t||new o,i=4==e.length?4:8,s=(1<<i)-1;return e=Number(\"0x\"+e.substr(1)),isNaN(e)?null:(n.forEach([\"b\",\"g\",\"r\"],function(t){var n=e&s;e>>=i,r[t]=4==i?17*n:n}),r.a=1,r)},o.fromArray=e.colorFromArray=function(e,t){var n=t||new o;return n._set(Number(e[0]),Number(e[1]),Number(e[2]),Number(e[3])),isNaN(n.a)&&(n.a=1),n.sanitize()},o.fromString=e.colorFromString=function(e,t){var n=o.named[e];return n&&o.fromArray(n,t)||o.fromRgb(e,t)||o.fromHex(e,t)},o}.apply(null,r))||(e.exports=o)},280(e,t,n){var r,o;n.dj.r;r=[n(1054),n(5625),n(5479),n(1662),n(6356),n(6323),n(3534)],o=function(e,t,n,r,o,i,s){var a=function(){},l=Object.freeze||function(){},c=e.Deferred=function(e){var s,d,u,h,f,p,v,g=this.promise=new n;function m(e){if(d)throw new Error(\"This deferred has already been resolved\");s=e,d=!0,y()}function y(){for(var e;!e&&v;){var n=v;v=v.next,(e=n.progress==a)&&(d=!1);var r=f?n.error:n.resolved;if(o(\"config-useDeferredInstrumentation\")&&f&&t.instrumentRejected&&t.instrumentRejected(s,!!r),r)try{var l=r(s);if(l&&\"function\"==typeof l.then){l.then(i.hitch(n.deferred,\"resolve\"),i.hitch(n.deferred,\"reject\"),i.hitch(n.deferred,\"progress\"));continue}var c=e&&void 0===l;e&&!c&&(f=l instanceof Error),n.deferred[c&&f?\"reject\":\"resolve\"](c?s:l)}catch(e){n.deferred.reject(e)}else f?n.deferred.reject(s):n.deferred.resolve(s)}}this.isResolved=g.isResolved=function(){return 0==h},this.isRejected=g.isRejected=function(){return 1==h},this.isFulfilled=g.isFulfilled=function(){return h>=0},this.isCanceled=g.isCanceled=function(){return u},this.resolve=this.callback=function(e){this.fired=h=0,this.results=[e,null],m(e)},this.reject=this.errback=function(e){f=!0,this.fired=h=1,o(\"config-useDeferredInstrumentation\")&&t.instrumentRejected&&t.instrumentRejected(e,!!v),m(e),this.results=[null,e]},this.progress=function(e){for(var t=v;t;){var n=t.progress;n&&n(e),t=t.next}},this.addCallbacks=function(e,t){return this.then(e,t,a),this},g.then=this.then=function(e,t,n){var r=n==a?this:new c(g.cancel),o={resolved:e,error:t,progress:n,deferred:r};return v?p=p.next=o:v=p=o,d&&y(),r.promise};var _=this;g.cancel=this.cancel=function(){if(!d){var t=e&&e(_);d||(t instanceof Error||(t=new r(t)),t.log=!1,_.reject(t))}u=!0},l(g)};return i.extend(c,{addCallback:function(t){return this.addCallbacks(i.hitch.apply(e,arguments))},addErrback:function(t){return this.addCallbacks(null,i.hitch.apply(e,arguments))},addBoth:function(t){var n=i.hitch.apply(e,arguments);return this.addCallbacks(n,n)},fired:-1}),c.when=e.when=s,c}.apply(null,r),void 0===o||(e.exports=o)},6659(e,t,n){var r,o;n.dj.r;r=[n(1054),n(1172),n(6974),n(1142),n(8288)],o=function(e,t,n){var r=t.NodeList,o=r.prototype;return o.connect=r._adaptAsForEach(function(){return e.connect.apply(this,arguments)}),o.coords=r._adaptAsMap(e.coords),r.events=[\"blur\",\"focus\",\"change\",\"click\",\"error\",\"keydown\",\"keypress\",\"keyup\",\"load\",\"mousedown\",\"mouseenter\",\"mouseleave\",\"mousemove\",\"mouseout\",\"mouseover\",\"mouseup\",\"submit\"],n.forEach(r.events,function(e){var t=\"on\"+e;o[t]=function(e,n){return this.connect(t,e,n)}}),e.NodeList=r,r}.apply(null,r),void 0===o||(e.exports=o)},6974(e,t,n){var r,o;n.dj.r;r=[n(1054),n(6356),n(6323)],void 0===(o=function(e,t,n){var r,o={};function i(e){var n=!e;return function(i,s,a){var l,c=0,d=i&&i.length||0;if(d&&\"string\"==typeof i&&(i=i.split(\"\")),\"string\"==typeof s){if(t(\"csp-restrictions\"))throw new TypeError(\"callback must be a function\");s=o[s]||r(s)}if(a){for(;c<d;++c)if(l=!s.call(a,i[c],c,i),e^l)return!l}else for(;c<d;++c)if(l=!s(i[c],c,i),e^l)return!l;return n}}function s(e){var t=1,n=0,r=0;return e||(t=n=r=-1),function(o,i,s,l){if(l&&t>0)return a.lastIndexOf(o,i,s);var c,d=o&&o.length||0,u=e?d+r:n;for(void 0===s?c=e?n:d+r:s<0?(c=d+s)<0&&(c=n):c=s>=d?d+r:s,d&&\"string\"==typeof o&&(o=o.split(\"\"));c!=u;c+=t)if(o[c]==i)return c;return-1}}t(\"csp-restrictions\")||(r=function(e){return o[e]=new Function(\"item\",\"index\",\"array\",e)});var a={every:i(!1),some:i(!0),indexOf:s(!0),lastIndexOf:s(!1),forEach:function(e,n,i){var s=0,a=e&&e.length||0;if(a&&\"string\"==typeof e&&(e=e.split(\"\")),\"string\"==typeof n){if(t(\"csp-restrictions\"))throw new TypeError(\"callback must be a function\");n=o[n]||r(n)}if(i)for(;s<a;++s)n.call(i,e[s],s,e);else for(;s<a;++s)n(e[s],s,e)},map:function(e,n,i,s){var a=0,l=e&&e.length||0,c=new(s||Array)(l);if(l&&\"string\"==typeof e&&(e=e.split(\"\")),\"string\"==typeof n){if(t(\"csp-restrictions\"))throw new TypeError(\"callback must be a function\");n=o[n]||r(n)}if(i)for(;a<l;++a)c[a]=n.call(i,e[a],a,e);else for(;a<l;++a)c[a]=n(e[a],a,e);return c},filter:function(e,n,i){var s,a=0,l=e&&e.length||0,c=[];if(l&&\"string\"==typeof e&&(e=e.split(\"\")),\"string\"==typeof n){if(t(\"csp-restrictions\"))throw new TypeError(\"callback must be a function\");n=o[n]||r(n)}if(i)for(;a<l;++a)s=e[a],n.call(i,s,a,e)&&c.push(s);else for(;a<l;++a)n(s=e[a],a,e)&&c.push(s);return c},clearCache:function(){o={}}};return t(\"extend-dojo\")&&n.mixin(e,a),a}.apply(null,r))||(e.exports=o)},7361(e,t,n){var r,o;n.dj.r;r=[n(1925),n(6356),n.dj.c(e)],void 0===(o=function(e,t,n){var r,o={},i=function(e,n,o){for(r in e)\"has\"!=r&&t.add(n+r,e[r],0,o)};if(i(o=e.dojoConfig||e.djConfig||{},\"config\",1),i(o.has,\"\",1),!o.locale&&\"undefined\"!=typeof navigator){var s=navigator.languages&&navigator.languages.length?navigator.languages[0]:navigator.language||navigator.userLanguage;s&&(o.locale=s.toLowerCase())}return o}.apply(null,r))||(e.exports=o)},5641(e,t,n){var r,o;n.dj.r;r=[n(1054),n(2075),n(7111),n(6566),n(3503),n(8471),n(3927),n(6323),n(4266)],o=function(e,t,n,r,o,i,s,a){function l(n,o,s,l,d){if(l=a.hitch(s,l),!n||!n.addEventListener&&!n.attachEvent)return r.after(n||e.global,o,l,!0);if(\"string\"==typeof o&&\"on\"==o.substring(0,2)&&(o=o.substring(2)),n||(n=e.global),!d)switch(o){case\"keypress\":o=c;break;case\"mouseenter\":o=i.enter;break;case\"mouseleave\":o=i.leave}return t(n,o,l,d)}s.add(\"events-keypress-typed\",function(){var e={charCode:0};try{((e=document.createEvent(\"KeyboardEvent\")).initKeyboardEvent||e.initKeyEvent).call(e,\"keypress\",!0,!0,null,!1,!1,!1,!1,9,3)}catch(e){}return 0==e.charCode&&!s(\"opera\")});var c,d={106:42,111:47,186:59,187:43,188:44,189:45,190:46,191:47,192:96,219:91,220:92,221:93,222:39,229:113},u=s(\"mac\")?\"metaKey\":\"ctrlKey\",h=function(e,t){var n=a.mixin({},e,t);return f(n),n.preventDefault=function(){e.preventDefault()},n.stopPropagation=function(){e.stopPropagation()},n};function f(e){e.keyChar=e.charCode?String.fromCharCode(e.charCode):\"\",e.charOrCode=e.keyChar||e.keyCode}if(s(\"events-keypress-typed\")){c=function(e,n){var r=t(e,\"keydown\",function(e){var t=e.keyCode,r=13!=t&&32!=t&&(27!=t||!s(\"ie\"))&&(t<48||t>90)&&(t<96||t>111)&&(t<186||t>192)&&(t<219||t>222)&&229!=t;if(r||e.ctrlKey){var o=r?0:t;if(e.ctrlKey){if(3==t||13==t)return n.call(e.currentTarget,e);o>95&&o<106?o-=48:!e.shiftKey&&o>=65&&o<=90?o+=32:o=d[o]||o}var i=h(e,{type:\"keypress\",faux:!0,charCode:o});n.call(e.currentTarget,i),s(\"ie\")&&function(e,t){try{return e.keyCode=t}catch(e){return 0}}(e,i.keyCode)}}),o=t(e,\"keypress\",function(e){var t=e.charCode;return e=h(e,{charCode:t=t>=32?t:0,faux:!0}),n.call(this,e)});return{remove:function(){r.remove(),o.remove()}}}}else c=s(\"opera\")?function(e,n){return t(e,\"keypress\",function(e){var t=e.which;return 3==t&&(t=99),t=t<32&&!e.shiftKey?0:t,e.ctrlKey&&!e.shiftKey&&t>=65&&t<=90&&(t+=32),n.call(this,h(e,{charCode:t}))})}:function(e,n){return t(e,\"keypress\",function(e){return f(e),n.call(this,e)})};var p={_keypress:c,connect:function(e,t,n,r,o){var i=arguments,s=[],a=0;s.push(\"string\"==typeof i[0]?null:i[a++],i[a++]);var c=i[a+1];s.push(\"string\"==typeof c||\"function\"==typeof c?i[a++]:null,i[a++]);for(var d=i.length;a<d;a++)s.push(i[a]);return l.apply(this,s)},disconnect:function(e){e&&e.remove()},subscribe:function(e,t,r){return n.subscribe(e,a.hitch(t,r))},publish:function(e,t){return n.publish.apply(n,[e].concat(t))},connectPublisher:function(e,t,n){var r=function(){p.publish(e,arguments)};return n?p.connect(t,n,r):p.connect(t,r)},isCopyKey:function(e){return e[u]}};return p.unsubscribe=p.disconnect,s(\"extend-dojo\")&&a.mixin(e,p),p}.apply(null,r),void 0===o||(e.exports=o)},6345(e,t,n){var r,o;n.dj.r;r=[n(1054),n(6356),n(6323)],o=function(e,t,n){var r,o=n.mixin,i=Object.prototype,s=i.toString,a=0,l=\"constructor\";function c(e,t){throw new Error(\"declare\"+(t?\" \"+t:\"\")+\": \"+e)}function d(e,t,n,r){var o,s,a,d,u,h,f,p,v,g=this._inherited=this._inherited||{};if(\"string\"==typeof e&&(o=e,e=t,t=n,n=r),\"function\"==typeof e)d=e,e=t,t=n;else try{d=e.callee}catch(e){if(!(e instanceof TypeError))throw e;c(\"strict mode inherited() requires the caller function to be passed before arguments\",this.declaredClass)}if((o=o||d.nom)||c(\"can't deduce a name to call inherited()\",this.declaredClass),n=r=0,a=(u=this.constructor._meta).bases,v=g.p,o!=l){if(g.c!==d&&(v=0,(u=(h=a[0])._meta).hidden[o]!==d)){(s=u.chains)&&\"string\"==typeof s[o]&&c(\"calling chained method with inherited: \"+o,this.declaredClass);do{if(u=h._meta,f=h.prototype,u&&(f[o]===d&&f.hasOwnProperty(o)||u.hidden[o]===d))break}while(h=a[++v]);v=h?v:-1}if(h=a[++v])if(f=h.prototype,h._meta&&f.hasOwnProperty(o))n=f[o];else{p=i[o];do{if((n=(f=h.prototype)[o])&&(h._meta?f.hasOwnProperty(o):n!==p))break}while(h=a[++v])}n=h&&n||i[o]}else{if(g.c!==d&&(v=0,(u=a[0]._meta)&&u.ctor!==d)){for((s=u.chains)&&\"manual\"===s.constructor||c(\"calling chained constructor with inherited\",this.declaredClass);(h=a[++v])&&(!(u=h._meta)||u.ctor!==d););v=h?v:-1}for(;(h=a[++v])&&!(n=(u=h._meta)?u.ctor:h););n=h&&n}if(g.c=n,g.p=v,n)return!0===t?n:n.apply(this,t||e)}function u(e,t,n){return\"string\"==typeof e?\"function\"==typeof t?this.__inherited(e,t,n,!0):this.__inherited(e,t,!0):\"function\"==typeof e?this.__inherited(e,t,!0):this.__inherited(e,!0)}r=t(\"csp-restrictions\")?function(){}:new Function;var h=e.config.isDebug?function(e,t,n,r){var o=this.getInherited(e,t,n);if(o)return o.apply(this,r||n||t||e)}:d;function f(e){for(var t=this.constructor._meta.bases,n=0,r=t.length;n<r;++n)if(t[n]===e)return!0;return this instanceof e}function p(e,t){for(var n in t)n!=l&&t.hasOwnProperty(n)&&(e[n]=t[n])}function v(e){return b.safeMixin(this.prototype,e),this}function g(e,t){return e instanceof Array||\"function\"==typeof e||(t=e,e=void 0),t=t||{},b([this].concat(e=e||[]),t)}function m(e,t,n){return function(){var r,o,i,s=0,a=1;for(n&&(s=t.length-1,a=-1);r=t[s];s+=a)(i=((o=r._meta)?o.hidden:r.prototype)[e])&&i.apply(this,arguments)}}function y(e){r.prototype=e.prototype;var t=new r;return r.prototype=null,t}function _(e){var t=e.callee,n=y(t);return t.apply(n,e),n}function b(e,r,w){\"string\"!=typeof e&&(w=r,r=e,e=\"\"),w=w||{};var x,N,C,j,S,T,E,M=1,A=r;if(\"[object Array]\"==s.call(r)?(T=function(e,t){for(var n,r,o,i,l,d,u,h,f=[],p=[{cls:0,refs:[]}],v={},g=1,m=e.length,y=0;y<m;++y){for((o=e[y])?\"[object Function]\"!=s.call(o)&&c(\"mixin #\"+y+\" is not a callable constructor.\",t):c(\"mixin #\"+y+\" is unknown. Did you use dojo.require to pull it in?\",t),i=0,n=(r=o._meta?o._meta.bases:[o]).length-1;n>=0;--n)(l=r[n].prototype).hasOwnProperty(\"declaredClass\")||(l.declaredClass=\"uniqName_\"+a++),u=l.declaredClass,v.hasOwnProperty(u)||(v[u]={count:0,refs:[],cls:r[n]},++g),d=v[u],i&&i!==d&&(d.refs.push(i),++i.count),i=d;++i.count,p[0].refs.push(i)}for(;p.length;){for(i=p.pop(),f.push(i.cls),--g;1==(h=i.refs).length;){if(!(i=h[0])||--i.count){i=0;break}f.push(i.cls),--g}if(i)for(y=0,m=h.length;y<m;++y)--(i=h[y]).count||p.push(i)}return g&&c(\"can't build consistent linearization\",t),o=e[0],f[0]=o?o._meta&&o===f[f.length-o._meta.bases.length]?o._meta.bases.length:1:0,f}(r,e),C=T[0],r=T[M=T.length-C]):(T=[0],r?\"[object Function]\"==s.call(r)?(C=r._meta,T=T.concat(C?C.bases:r)):c(\"base class is not a callable constructor.\",e):null!==r&&c(\"unknown base class. Did you use dojo.require to pull it in?\",e)),r)for(N=M-1;x=y(r),N;--N)((C=T[N])._meta?p:o)(x,C.prototype),(j=t(\"csp-restrictions\")?function(){}:new Function).superclass=r,j.prototype=x,r=x.constructor=j;else x={};for(b.safeMixin(x,w),(C=w.constructor)!==i.constructor&&(C.nom=l,x.constructor=C),N=M-1;N;--N)(C=T[N]._meta)&&C.chains&&(E=o(E||{},C.chains));if(x[\"-chains-\"]&&(E=o(E||{},x[\"-chains-\"])),r&&r.prototype&&r.prototype[\"-chains-\"]&&(E=o(E||{},r.prototype[\"-chains-\"])),C=!E||!E.hasOwnProperty(l),T[0]=j=E&&\"manual\"===E.constructor?function(e){return function(){var t,n,r=arguments,o=0;if(!(this instanceof r.callee))return _(r);for(;t=e[o];++o)if(t=(n=t._meta)?n.ctor:t){t.apply(this,r);break}(t=this.postscript)&&t.apply(this,r)}}(T):1==T.length?function(e,t){return function(){var n,r=arguments,o=r,i=r[0];if(!(this instanceof r.callee))return _(r);t&&(i&&(n=i.preamble)&&(o=n.apply(this,o)||o),(n=this.preamble)&&n.apply(this,o)),e&&e.apply(this,r),(n=this.postscript)&&n.apply(this,r)}}(w.constructor,C):function(e,t){return function(){var n,r,o,i,s=arguments,a=s,l=s[0],c=e.length;if(!(this instanceof s.callee))return _(s);if(t&&(l&&l.preamble||this.preamble))for((i=new Array(e.length))[0]=s,r=0;(l=s[0])&&(n=l.preamble)&&(s=n.apply(this,s)||s),(n=(n=e[r].prototype).hasOwnProperty(\"preamble\")&&n.preamble)&&(s=n.apply(this,s)||s),++r!=c;)i[r]=s;for(r=c-1;r>=0;--r)(n=(o=(n=e[r])._meta)?o.ctor:n)&&n.apply(this,i?i[r]:s);(n=this.postscript)&&n.apply(this,a)}}(T,C),j._meta={bases:T,hidden:w,chains:E,parents:A,ctor:w.constructor},j.superclass=r&&r.prototype,j.extend=v,j.createSubclass=g,j.prototype=x,x.constructor=j,x.getInherited=u,x.isInstanceOf=f,x.inherited=h,x.__inherited=d,e&&(x.declaredClass=e,n.setObject(e,j)),E)for(S in E)x[S]&&\"string\"==typeof E[S]&&S!=l&&((C=x[S]=m(S,T,\"after\"===E[S])).nom=S);return j}return e.safeMixin=b.safeMixin=function(e,t){var n,r;for(n in t)(r=t[n])===i[n]&&n in i||n==l||(\"[object Function]\"==s.call(r)&&(r.nom=n),e[n]=r);return e},e.declare=b,b}.apply(null,r),void 0===o||(e.exports=o)},3503(e,t,n){var r,o;n.dj.r;r=[n(1054),n(2075),n(6356),n(2685)],void 0===(o=function(e,t,n,r){if(t._fixEvent){var o=t._fixEvent;t._fixEvent=function(e,t){return(e=o(e,t))&&r.normalizeEvent(e),e}}var i={fix:function(e,n){return t._fixEvent?t._fixEvent(e,n):e},stop:function(e){n(\"dom-addeventlistener\")||e&&e.preventDefault?(e.preventDefault(),e.stopPropagation()):((e=e||window.event).cancelBubble=!0,t._preventDefault.call(e))}};return n(\"extend-dojo\")&&(e.fixEvent=i.fix,e.stopEvent=i.stop),i}.apply(null,r))||(e.exports=o)},5577(e,t,n){var r,o;n.dj.r;r=[n(1054),n(7361),n(6323),n(9925),n(1692),n(6566),n(2616),n(2284),n(1248)],void 0===(o=function(e,t,n,r,o,i,s,a,l){var c=n.mixin,d={},u=d._Line=function(e,t){this.start=e,this.end=t};u.prototype.getValue=function(e){return(this.end-this.start)*e+this.start};var h=d.Animation=function(e){c(this,e),n.isArray(this.curve)&&(this.curve=new u(this.curve[0],this.curve[1]))};h.prototype=new r,n.extend(h,{duration:350,repeat:0,rate:20,_percent:0,_startRepeatCount:0,_getStep:function(){var e=this._percent,t=this.easing;return t?t(e):e},_fire:function(e,n){var r=n||[];if(this[e])if(t.debugAtAllCosts)this[e].apply(this,r);else try{this[e].apply(this,r)}catch(t){console.error(\"exception in animation handler for:\",e),console.error(t)}return this},play:function(e,t){var r=this;if(r._delayTimer&&r._clearTimer(),t)r._stopTimer(),r._active=r._paused=!1,r._percent=0;else if(r._active&&!r._paused)return r;r._fire(\"beforeBegin\",[r.node]);var o=e||r.delay,i=n.hitch(r,\"_play\",t);return o>0?(r._delayTimer=setTimeout(i,o),r):(i(),r)},_play:function(e){var t=this;t._delayTimer&&t._clearTimer(),t._startTime=(new Date).valueOf(),t._paused&&(t._startTime-=t.duration*t._percent),t._active=!0,t._paused=!1;var n=t.curve.getValue(t._getStep());return t._percent||(t._startRepeatCount||(t._startRepeatCount=t.repeat),t._fire(\"onBegin\",[n])),t._fire(\"onPlay\",[n]),t._cycle(),t},pause:function(){var e=this;return e._delayTimer&&e._clearTimer(),e._stopTimer(),e._active?(e._paused=!0,e._fire(\"onPause\",[e.curve.getValue(e._getStep())]),e):e},gotoPercent:function(e,t){var n=this;return n._stopTimer(),n._active=n._paused=!0,n._percent=e,t&&n.play(),n},stop:function(e){var t=this;return t._delayTimer&&t._clearTimer(),t._timer?(t._stopTimer(),e&&(t._percent=1),t._fire(\"onStop\",[t.curve.getValue(t._getStep())]),t._active=t._paused=!1,t):t},destroy:function(){this.stop()},status:function(){return this._active?this._paused?\"paused\":\"playing\":\"stopped\"},_cycle:function(){var e=this;if(e._active){var t=(new Date).valueOf(),n=0===e.duration?1:(t-e._startTime)/e.duration;n>=1&&(n=1),e._percent=n,e.easing&&(n=e.easing(n)),e._fire(\"onAnimate\",[e.curve.getValue(n)]),e._percent<1?e._startTimer():(e._active=!1,e.repeat>0?(e.repeat--,e.play(null,!0)):-1==e.repeat?e.play(null,!0):e._startRepeatCount&&(e.repeat=e._startRepeatCount,e._startRepeatCount=0),e._percent=0,e._fire(\"onEnd\",[e.node]),!e.repeat&&e._stopTimer())}return e},_clearTimer:function(){clearTimeout(this._delayTimer),delete this._delayTimer}});var f=0,p=null,v={run:function(){}};n.extend(h,{_startTimer:function(){this._timer||(this._timer=i.after(v,\"run\",n.hitch(this,\"_cycle\"),!0),f++),p||(p=setInterval(n.hitch(v,\"run\"),this.rate))},_stopTimer:function(){this._timer&&(this._timer.remove(),this._timer=null,f--),f<=0&&(clearInterval(p),p=null,f=0)}});var g=s(\"ie\")?function(e){var t=e.style;t.width.length||\"auto\"!=l.get(e,\"width\")||(t.width=\"auto\")}:function(){};d._fade=function(e){e.node=a.byId(e.node);var t=c({properties:{}},e),r=t.properties.opacity={};r.start=\"start\"in t?t.start:function(){return+l.get(t.node,\"opacity\")||0},r.end=t.end;var o=d.animateProperty(t);return i.after(o,\"beforeBegin\",n.partial(g,t.node),!0),o},d.fadeIn=function(e){return d._fade(c({end:1},e))},d.fadeOut=function(e){return d._fade(c({end:0},e))},d._defaultEasing=function(e){return.5+Math.sin((e+1.5)*Math.PI)/2};var m=function(e){for(var t in this._properties=e,e){var n=e[t];n.start instanceof o&&(n.tempColor=new o)}};return m.prototype.getValue=function(e){var t={};for(var r in this._properties){var i=this._properties[r],s=i.start;s instanceof o?t[r]=o.blendColors(s,i.end,e,i.tempColor).toCss():n.isArray(s)||(t[r]=(i.end-s)*e+s+(\"opacity\"!=r?i.units||\"px\":0))}return t},d.animateProperty=function(t){var r=t.node=a.byId(t.node);t.easing||(t.easing=e._defaultEasing);var s=new h(t);return i.after(s,\"beforeBegin\",n.hitch(s,function(){var e={};for(var t in this.properties){\"width\"!=t&&\"height\"!=t||(this.node.display=\"block\");var i=this.properties[t];n.isFunction(i)&&(i=i(r)),i=e[t]=c({},n.isObject(i)?i:{end:i}),n.isFunction(i.start)&&(i.start=i.start(r)),n.isFunction(i.end)&&(i.end=i.end(r));var s=t.toLowerCase().indexOf(\"color\")>=0,a=function(e,t){var n={height:e.offsetHeight,width:e.offsetWidth}[t];return void 0!==n?n:(n=l.get(e,t),\"opacity\"==t?+n:s?n:parseFloat(n))};\"end\"in i?\"start\"in i||(i.start=a(r,t)):i.end=a(r,t),s?(i.start=new o(i.start),i.end=new o(i.end)):i.start=\"opacity\"==t?+i.start:parseFloat(i.start)}this.curve=new m(e)}),!0),i.after(s,\"onAnimate\",n.hitch(l,\"set\",s.node),!0),s},d.anim=function(e,t,n,r,o,i){return d.animateProperty({node:e,duration:n||h.prototype.duration,properties:t,easing:r,onEnd:o}).play(i||0)},s(\"extend-dojo\")&&(c(e,d),e._Animation=h),d}.apply(null,r))||(e.exports=o)},1142(e,t,n){var r,o;n.dj.r;r=[n(1054),n(2284),n(1248),n(7878),n(5244),n(8945),n(28),n(2685)],o=function(e,t,n,r,o,i,s,a){return e.byId=t.byId,e.isDescendant=t.isDescendant,e.setSelectable=t.setSelectable,e.getAttr=r.get,e.setAttr=r.set,e.hasAttr=r.has,e.removeAttr=r.remove,e.getNodeProp=r.getNodeProp,e.attr=function(e,t,n){return 2==arguments.length?r[\"string\"==typeof t?\"get\":\"set\"](e,t):r.set(e,t,n)},e.hasClass=i.contains,e.addClass=i.add,e.removeClass=i.remove,e.toggleClass=i.toggle,e.replaceClass=i.replace,e._toDom=e.toDom=s.toDom,e.place=s.place,e.create=s.create,e.empty=function(e){s.empty(e)},e._destroyElement=e.destroy=function(e){s.destroy(e)},e._getPadExtents=e.getPadExtents=a.getPadExtents,e._getBorderExtents=e.getBorderExtents=a.getBorderExtents,e._getPadBorderExtents=e.getPadBorderExtents=a.getPadBorderExtents,e._getMarginExtents=e.getMarginExtents=a.getMarginExtents,e._getMarginSize=e.getMarginSize=a.getMarginSize,e._getMarginBox=e.getMarginBox=a.getMarginBox,e.setMarginBox=a.setMarginBox,e._getContentBox=e.getContentBox=a.getContentBox,e.setContentSize=a.setContentSize,e._isBodyLtr=e.isBodyLtr=a.isBodyLtr,e._docScroll=e.docScroll=a.docScroll,e._getIeDocumentElementOffset=e.getIeDocumentElementOffset=a.getIeDocumentElementOffset,e._fixIeBiDiScrollLeft=e.fixIeBiDiScrollLeft=a.fixIeBiDiScrollLeft,e.position=a.position,e.marginBox=function(e,t){return t?a.setMarginBox(e,t):a.getMarginBox(e)},e.contentBox=function(e,t){return t?a.setContentSize(e,t):a.getContentBox(e)},e.coords=function(r,o){e.deprecated(\"dojo.coords()\",\"Use dojo.position() or dojo.marginBox().\"),r=t.byId(r);var i=n.getComputedStyle(r),s=a.getMarginBox(r,i),l=a.position(r,o);return s.x=l.x,s.y=l.y,s},e.getProp=o.get,e.setProp=o.set,e.prop=function(e,t,n){return 2==arguments.length?o[\"string\"==typeof t?\"get\":\"set\"](e,t):o.set(e,t,n)},e.getStyle=n.get,e.setStyle=n.set,e.getComputedStyle=n.getComputedStyle,e.__toPixelValue=e.toPixelValue=n.toPixelValue,e.style=function(e,t,r){switch(arguments.length){case 1:return n.get(e);case 2:return n[\"string\"==typeof t?\"get\":\"set\"](e,t)}return n.set(e,t,r)},e}.apply(null,r),void 0===o||(e.exports=o)},4861(module,exports,__webpack_require__){var require=__webpack_require__.dj.r,__WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;__WEBPACK_AMD_DEFINE_ARRAY__=[__webpack_require__(1054),__webpack_require__(8212)],__WEBPACK_AMD_DEFINE_RESULT__=function(dojo,json){return dojo.fromJson=function(js){return eval(\"(\"+js+\")\")},dojo._escapeString=json.stringify,dojo.toJsonIndentStr=\"\\t\",dojo.toJson=function(e,t){return json.stringify(e,function(e,t){if(t){var n=t.__json__||t.json;if(\"function\"==typeof n)return n.call(t)}return t},t&&dojo.toJsonIndentStr)},dojo}.apply(null,__WEBPACK_AMD_DEFINE_ARRAY__),void 0===__WEBPACK_AMD_DEFINE_RESULT__||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)},1054(e,t,n){var r,o;n.dj.r;r=[n(1925),n(6356),n(7361),n.dj.c(e),n.dj.m(e)],o=function(e,t,n,r,o){var i,s,a,l={},c={},d={config:n,global:e,dijit:l,dojox:c},u={dojo:[\"dojo\",d],dijit:[\"dijit\",l],dojox:[\"dojox\",c]},h=r.map&&r.map[o.id.match(/[^\\/]+/)[0]];for(s in h)u[s]?u[s][0]=h[s]:u[s]=[h[s],{}];for(s in u)(a=u[s])[1]._scopeName=a[0],n.noGlobals||(e[a[0]]=a[1]);d.scopeMap=u,d.baseUrl=d.config.baseUrl=r.baseUrl,d.isAsync=!0,d.locale=n.locale;var f=\"$Rev:$\".match(/[0-9a-f]{7,}/);if(d.version={major:1,minor:17,patch:3,flag:\"\",revision:f?f[0]:NaN,toString:function(){var e=d.version;return e.major+\".\"+e.minor+\".\"+e.patch+e.flag+\" (\"+e.revision+\")\"}},t.add(\"extend-dojo\",1),t(\"csp-restrictions\")||Function(\"d\",\"d.eval = function(){return d.global.eval ? d.global.eval(arguments[0]) : eval(arguments[0]);}\")(d),t(\"host-rhino\")?d.exit=function(e){quit(e)}:d.exit=function(){},t(\"host-webworker\")||t.add(\"dojo-guarantee-console\",1),t(\"dojo-guarantee-console\")){t.add(\"console-as-object\",function(){return Function.prototype.bind&&console&&\"object\"==typeof console.log}),\"undefined\"!=typeof console||(console={});var p,v=[\"assert\",\"count\",\"debug\",\"dir\",\"dirxml\",\"error\",\"group\",\"groupEnd\",\"info\",\"profile\",\"profileEnd\",\"time\",\"timeEnd\",\"trace\",\"warn\",\"log\"];for(i=0;p=v[i++];)console[p]?t(\"console-as-object\")&&(console[p]=Function.prototype.bind.call(console[p],console)):function(){var e=p+\"\";console[e]=\"log\"in console?function(){var t=Array.prototype.slice.call(arguments);t.unshift(e+\":\"),console.log(t.join(\" \"))}:function(){},console[e]._fake=!0}()}if(t.add(\"dojo-debug-messages\",!!n.isDebug),d.deprecated=d.experimental=function(){},t.add(\"dojo-modulePaths\",1),t(\"dojo-modulePaths\")&&n.modulePaths){d.deprecated(\"dojo.modulePaths\",\"use paths configuration\");var g={};for(s in n.modulePaths)g[s.replace(/\\./g,\"/\")]=n.modulePaths[s];r({paths:g})}return t.add(\"dojo-moduleUrl\",1),t(\"dojo-moduleUrl\")&&(d.moduleUrl=function(e,t){d.deprecated(\"dojo.moduleUrl()\",\"use require.toUrl\",\"2.0\");var n=null;return e&&(n=r.toUrl(e.replace(/\\./g,\"/\")+(t?\"/\"+t:\"\")+\"/*.*\").replace(/\\/\\*\\.\\*/,\"\")+(t?\"\":\"/\")),n}),d._hasResource={},d}.apply(null,r),void 0===o||(e.exports=o)},6323(e,t,n){var r,o;n.dj.r;r=[n(1054),n(6356),n(2616)],o=function(e,t){t.add(\"bug-for-in-skips-shadowed\",function(){for(var e in{toString:1})return 0;return 1});var n=[],r=function(t,n,r){r||(r=t[0]&&e.scopeMap[t[0]]?e.scopeMap[t.shift()][1]:e.global);try{for(var o=0;o<t.length;o++){var i=t[o];if(\"__proto__\"===i||\"constructor\"===i)return;if(!(i in r)){if(!n)return;r[i]={}}r=r[i]}return r}catch(e){}},o=Object.prototype.toString,i=function(e,t,n){return(n||[]).concat(Array.prototype.slice.call(e,t||0))},s=/\\{([^\\}]+)\\}/g,a={_extraNames:n,_mixin:function(e,t,n){var r,o,i={};for(r in t)o=t[r],r in e&&(e[r]===o||r in i&&i[r]===o)||(e[r]=n?n(o):o);return e},mixin:function(e,t){e||(e={});for(var n=1,r=arguments.length;n<r;n++)a._mixin(e,arguments[n]);return e},setObject:function(e,t,n){var o=e.split(\".\"),i=o.pop(),s=r(o,!0,n);return s&&i?s[i]=t:void 0},getObject:function(e,t,n){return e?r(e.split(\".\"),t,n):n},exists:function(e,t){return void 0!==a.getObject(e,!1,t)},isString:function(e){return\"string\"==typeof e||e instanceof String},isArray:Array.isArray||function(e){return\"[object Array]\"==o.call(e)},isFunction:function(e){return\"[object Function]\"===o.call(e)},isObject:function(e){return void 0!==e&&(null===e||\"object\"==typeof e||a.isArray(e)||a.isFunction(e))},isArrayLike:function(e){return!!e&&!a.isString(e)&&!a.isFunction(e)&&!(e.tagName&&\"form\"==e.tagName.toLowerCase())&&(a.isArray(e)||isFinite(e.length))},isAlien:function(e){return e&&!a.isFunction(e)&&/\\{\\s*\\[native code\\]\\s*\\}/.test(String(e))},extend:function(e,t){for(var n=1,r=arguments.length;n<r;n++)a._mixin(e.prototype,arguments[n]);return e},_hitchArgs:function(t,n){var r=a._toArray(arguments,2),o=a.isString(n);return function(){var i=a._toArray(arguments),s=o?(t||e.global)[n]:n;return s&&s.apply(t||this,r.concat(i))}},hitch:function(t,n){if(arguments.length>2)return a._hitchArgs.apply(e,arguments);if(n||(n=t,t=null),a.isString(n)){if(!(t=t||e.global)[n])throw['lang.hitch: scope[\"',n,'\"] is null (scope=\"',t,'\")'].join(\"\");return function(){return t[n].apply(t,arguments||[])}}return t?function(){return n.apply(t,arguments||[])}:n},delegate:function(){function e(){}return function(t,n){e.prototype=t;var r=new e;return e.prototype=null,n&&a._mixin(r,n),r}}(),_toArray:t(\"ie\")?function(){function e(e,t,n){for(var r=n||[],o=t||0;o<e.length;o++)r.push(e[o]);return r}return function(t){return(t.item?e:i).apply(this,arguments)}}():i,partial:function(t){return a.hitch.apply(e,[null].concat(a._toArray(arguments)))},clone:function(e){if(!e||\"object\"!=typeof e||a.isFunction(e))return e;if(e.nodeType&&\"cloneNode\"in e)return e.cloneNode(!0);if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp)return new RegExp(e);var t,n,r;if(a.isArray(e))for(t=[],n=0,r=e.length;n<r;++n)n in e&&(t[n]=a.clone(e[n]));else t=e.constructor?new e.constructor:{};return a._mixin(t,e,a.clone)},trim:String.prototype.trim?function(e){return e.trim()}:function(e){return e.replace(/^\\s\\s*/,\"\").replace(/\\s\\s*$/,\"\")},replace:function(e,t,n){return e.replace(n||s,a.isFunction(t)?t:function(e,n){return a.getObject(n,!1,t)})}};return t(\"extend-dojo\")&&a.mixin(e,a),a}.apply(null,r),void 0===o||(e.exports=o)},4203(e,t,n){var r,o;n.dj.r;r=[n(1172),n(6659)],void 0===(o=function(e){return e}.apply(null,r))||(e.exports=o)},3927(e,t,n){var r,o;n.dj.r;r=[n(1054),n(6323),n(2616)],void 0===(o=function(e,t,n){return n(\"host-browser\")?(e._name=\"browser\",t.mixin(e,{isBrowser:!0,isFF:n(\"ff\"),isIE:n(\"ie\"),isKhtml:n(\"khtml\"),isWebKit:n(\"webkit\"),isMozilla:n(\"mozilla\"),isMoz:n(\"mozilla\"),isOpera:n(\"opera\"),isSafari:n(\"safari\"),isChrome:n(\"chrome\"),isMac:n(\"mac\"),isIos:n(\"ios\"),isAndroid:n(\"android\"),isWii:n(\"wii\"),isQuirks:n(\"quirks\"),isAir:n(\"air\")}),n):n}.apply(null,r))||(e.exports=o)},5075(e,t,n){var r,o;n.dj.r;r=[n(1054),n(6323),n(2616)],void 0===(o=function(e,t,n){var r={global:e.global,doc:e.global.document||null,body:function(t){return(t=t||e.doc).body||t.getElementsByTagName(\"body\")[0]},setContext:function(t,n){e.global=r.global=t,e.doc=r.doc=n},withGlobal:function(t,n,o,i){var s=e.global;try{return e.global=r.global=t,r.withDoc.call(null,t.document,n,o,i)}finally{e.global=r.global=s}},withDoc:function(t,o,i,s){var a,l,c,d=r.doc,u=n(\"quirks\"),h=n(\"ie\");try{return e.doc=r.doc=t,e.isQuirks=n.add(\"quirks\",\"BackCompat\"==e.doc.compatMode,!0,!0),n(\"ie\")&&(c=t.parentWindow)&&c.navigator&&(a=parseFloat(c.navigator.appVersion.split(\"MSIE \")[1])||void 0,(l=t.documentMode)&&5!=l&&Math.floor(a)!=l&&(a=l),e.isIE=n.add(\"ie\",a,!0,!0)),i&&\"string\"==typeof o&&(o=i[o]),o.apply(i,s||[])}finally{e.doc=r.doc=d,e.isQuirks=n.add(\"quirks\",u,!0,!0),e.isIE=n.add(\"ie\",h,!0,!0)}}};return n(\"extend-dojo\")&&t.mixin(e,r),r}.apply(null,r))||(e.exports=o)},225(e,t,n){var r,o;n.dj.r;r=[n(1054),n(3927),n.dj.c(e),n(6587),n(2284),n(3159),n(280),n(7361),n(4861),n(6323),n(6974),n(2075),n(6566),n(3621),n(9648),n(5540)],o=function(e,t,n,r,o,i,s,a,l,c,d,u,h,f,p,v){e._xhrObj=p._create;var g=e.config;e.objectToQuery=r.objectToQuery,e.queryToObject=r.queryToObject,e.fieldToObject=i.fieldToObject,e.formToObject=i.toObject,e.formToQuery=i.toQuery,e.formToJson=i.toJson,e._blockAsync=!1;var m=e._contentHandlers=e.contentHandlers={text:function(e){return e.responseText},json:function(e){return l.fromJson(e.responseText||null)},\"json-comment-filtered\":function(e){a.useCommentedJson||console.warn(\"Consider using the standard mimetype:application/json. json-commenting can introduce security issues. To decrease the chances of hijacking, use the standard the 'json' handler and prefix your json with: {}&&\\nUse djConfig.useCommentedJson=true to turn off this message.\");var t=e.responseText,n=t.indexOf(\"/*\"),r=t.lastIndexOf(\"*/\");if(-1==n||-1==r)throw new Error(\"JSON was not comment filtered\");return l.fromJson(t.substring(n+2,r))},javascript:function(t){return e.eval(t.responseText)},xml:function(e){var n=e.responseXML;if(n&&t(\"dom-qsa2.1\")&&!n.querySelectorAll&&t(\"dom-parser\")&&(n=(new DOMParser).parseFromString(e.responseText,\"application/xml\")),t(\"ie\")&&(!n||!n.documentElement)){var r=function(e){return\"MSXML\"+e+\".DOMDocument\"},o=[\"Microsoft.XMLDOM\",r(6),r(4),r(3),r(2)];d.some(o,function(t){try{var r=new ActiveXObject(t);r.async=!1,r.loadXML(e.responseText),n=r}catch(e){return!1}return!0})}return n},\"json-comment-optional\":function(e){return e.responseText&&/^[^{\\[]*\\/\\*/.test(e.responseText)?m[\"json-comment-filtered\"](e):m.json(e)}};e._ioSetArgs=function(t,n,a,l){var d={args:t,url:t.url},u=null;if(t.form){var h=o.byId(t.form),f=h.getAttributeNode(\"action\");d.url=d.url||(f?f.value:e.doc?e.doc.URL:null),u=i.toObject(h)}var p={};u&&c.mixin(p,u),t.content&&c.mixin(p,t.content),t.preventCache&&(p[\"dojo.preventCache\"]=(new Date).valueOf()),d.query=r.objectToQuery(p),d.handleAs=t.handleAs||\"text\";var v=new s(function(e){e.canceled=!0,n&&n(e);var t=e.ioArgs.error;return t||((t=new Error(\"request cancelled\")).dojoType=\"cancel\",e.ioArgs.error=t),t});v.addCallback(a);var m=t.load;m&&c.isFunction(m)&&v.addCallback(function(e){return m.call(t,e,d)});var y=t.error;y&&c.isFunction(y)&&v.addErrback(function(e){return y.call(t,e,d)});var _=t.handle;return _&&c.isFunction(_)&&v.addBoth(function(e){return _.call(t,e,d)}),v.addErrback(function(e){return l(e,v)}),g.ioPublish&&e.publish&&!1!==d.args.ioPublish&&(v.addCallbacks(function(t){return e.publish(\"/dojo/io/load\",[v,t]),t},function(t){return e.publish(\"/dojo/io/error\",[v,t]),t}),v.addBoth(function(t){return e.publish(\"/dojo/io/done\",[v,t]),t})),v.ioArgs=d,v};var y=function(e){var t=m[e.ioArgs.handleAs](e.ioArgs.xhr);return void 0===t?null:t},_=function(e,t){return t.ioArgs.args.failOk||console.error(e),e},b=function(t){w<=0&&(w=0,g.ioPublish&&e.publish&&(!t||t&&!1!==t.ioArgs.args.ioPublish)&&e.publish(\"/dojo/io/stop\"))},w=0;h.after(f,\"_onAction\",function(){w-=1}),h.after(f,\"_onInFlight\",b),e._ioCancelAll=f.cancelAll,e._ioNotifyStart=function(t){g.ioPublish&&e.publish&&!1!==t.ioArgs.args.ioPublish&&(w||e.publish(\"/dojo/io/start\"),w+=1,e.publish(\"/dojo/io/send\",[t]))},e._ioWatch=function(e,t,n,r){e.ioArgs.options=e.ioArgs.args;c.mixin(e,{response:e.ioArgs,isValid:function(n){return t(e)},isReady:function(t){return n(e)},handleResponse:function(t){return r(e)}}),f(e),b(e)};return e._ioAddQueryToUrl=function(e){e.query.length&&(e.url+=(-1==e.url.indexOf(\"?\")?\"?\":\"&\")+e.query,e.query=null)},e.xhr=function(t,n,r){var o,i=e._ioSetArgs(n,function(e){o&&o.cancel()},y,_),s=i.ioArgs;\"postData\"in n?s.query=n.postData:\"putData\"in n?s.query=n.putData:\"rawBody\"in n?s.query=n.rawBody:(arguments.length>2&&!r||-1===\"POST|PUT\".indexOf(t.toUpperCase()))&&e._ioAddQueryToUrl(s);var a={method:t,handleAs:\"text\",timeout:n.timeout,withCredentials:n.withCredentials,ioArgs:s};void 0!==n.headers&&(a.headers=n.headers),void 0!==n.contentType&&(a.headers||(a.headers={}),a.headers[\"Content-Type\"]=n.contentType),void 0!==s.query&&(a.data=s.query),void 0!==n.sync&&(a.sync=n.sync),e._ioNotifyStart(i);try{o=p(s.url,a,!0)}catch(e){return i.cancel(),i}return i.ioArgs.xhr=o.response.xhr,o.then(function(){i.resolve(i)}).otherwise(function(e){s.error=e,e.response&&(e.status=e.response.status,e.responseText=e.response.text,e.xhr=e.response.xhr),i.reject(e)}),i},e.xhrGet=function(t){return e.xhr(\"GET\",t)},e.rawXhrPost=e.xhrPost=function(t){return e.xhr(\"POST\",t,!0)},e.rawXhrPut=e.xhrPut=function(t){return e.xhr(\"PUT\",t,!0)},e.xhrDelete=function(t){return e.xhr(\"DELETE\",t)},e._isDocumentOk=function(e){return v.checkStatus(e.status)},e._getText=function(t){var n;return e.xhrGet({url:t,sync:!0,load:function(e){n=e}}),n},c.mixin(e.xhr,{_xhrObj:e._xhrObj,fieldToObject:i.fieldToObject,formToObject:i.toObject,objectToQuery:r.objectToQuery,formToQuery:i.toQuery,formToJson:i.toJson,queryToObject:r.queryToObject,contentHandlers:m,_ioSetArgs:e._ioSetArgs,_ioCancelAll:e._ioCancelAll,_ioNotifyStart:e._ioNotifyStart,_ioWatch:e._ioWatch,_ioAddQueryToUrl:e._ioAddQueryToUrl,_isDocumentOk:e._isDocumentOk,_getText:e._getText,get:e.xhrGet,post:e.xhrPost,put:e.xhrPut,del:e.xhrDelete}),e.xhr}.apply(null,r),void 0===o||(e.exports=o)},6566(e,t,n){var r;n.dj.r;r=function(){\"use strict\";function e(e){return function(t,n,r,o){var i,s=t[n];s&&s.target==t||(t[n]=i=function(){for(var e=i.nextId,t=arguments,n=i.before;n;)n.advice&&(t=n.advice.apply(this,t)||t),n=n.next;if(i.around)var r=i.around.advice(this,t);for(var o=i.after;o&&o.id<e;){if(o.advice)if(o.receiveArguments){var s=o.advice.apply(this,t);r=void 0===s?r:s}else r=o.advice.call(this,r,t);o=o.next}return r},s&&(i.around={advice:function(e,t){return s.apply(e,t)}}),i.target=t,i.nextId=i.nextId||0);var a=function(e,t,n,r){var o,i=e[t],s=\"around\"==t;if(s){var a=n(function(){return i.advice(this,arguments)});o={remove:function(){a&&(a=e=n=null)},advice:function(e,t){return a?a.apply(e,t):i.advice(e,t)}}}else o={remove:function(){if(o.advice){var r=o.previous,i=o.next;i||r?(r?r.next=i:e[t]=i,i&&(i.previous=r)):delete e[t],e=n=o.advice=null}},id:e.nextId++,advice:n,receiveArguments:r};if(i&&!s)if(\"after\"==t){for(;i.next&&(i=i.next););i.next=o,o.previous=i}else\"before\"==t&&(e[t]=o,o.next=i,i.previous=o);else e[t]=o;return o}(i||s,e,r,o);return r=null,a}}var t=e(\"after\");return{before:e(\"before\"),around:e(\"around\"),after:t}}.apply(null,[]),void 0===r||(e.exports=r)},4642(e,t,n){var r,o;n.dj.r;r=[n(1054),n(9445)],void 0===(o=function(e){return e.cache}.apply(null,r))||(e.exports=o)},7878(e,t,n){var r,o;n.dj.r;r=[t,n(2616),n(6323),n(2284),n(1248),n(5244)],o=function(e,t,n,r,o,i){var s={innerHTML:1,textContent:1,className:1,htmlFor:t(\"ie\")?1:0,value:1},a={classname:\"class\",htmlfor:\"for\",tabindex:\"tabIndex\",readonly:\"readOnly\"};function l(e,t){var n=e.getAttributeNode&&e.getAttributeNode(t);return!!n&&n.specified}e.has=function(e,t){var n=t.toLowerCase();return!!s[i.names[n]||t]||l(r.byId(e),a[n]||t)},e.get=function(e,t){e=r.byId(e);var o=t.toLowerCase(),c=i.names[o]||t,d=s[c],u=e[c];if(d&&void 0!==u)return u;if(\"textContent\"==c)return i.get(e,c);if(\"href\"!=c&&(\"boolean\"==typeof u||n.isFunction(u)))return u;var h=a[o]||t;return l(e,h)?e.getAttribute(h):null},e.set=function(t,l,c){if(t=r.byId(t),2==arguments.length){for(var d in l)e.set(t,d,l[d]);return t}var u=l.toLowerCase(),h=i.names[u]||l,f=s[h];return\"style\"==h&&\"string\"!=typeof c?(o.set(t,c),t):f||\"boolean\"==typeof c||n.isFunction(c)?i.set(t,l,c):(t.setAttribute(a[u]||l,c),t)},e.remove=function(e,t){r.byId(e).removeAttribute(a[t.toLowerCase()]||t)},e.getNodeProp=function(e,t){e=r.byId(e);var n=t.toLowerCase(),o=i.names[n]||t;if(o in e&&\"href\"!=o)return e[o];var s=a[n]||t;return l(e,s)?e.getAttribute(s):null}}.apply(null,r),void 0===o||(e.exports=o)},8945(e,t,n){var r,o;n.dj.r;r=[n(6323),n(6974),n(2284)],void 0===(o=function(e,t,n){var r,o=\"className\",i=/\\s+/,s=[\"\"];function a(e){if(\"string\"==typeof e||e instanceof String){if(e&&!i.test(e))return s[0]=e,s;var n=e.split(i);return n.length&&!n[0]&&n.shift(),n.length&&!n[n.length-1]&&n.pop(),n}return e?t.filter(e,function(e){return e}):[]}var l={};return r={contains:function(e,t){return(\" \"+n.byId(e)[o]+\" \").indexOf(\" \"+t+\" \")>=0},add:function(e,t){e=n.byId(e),t=a(t);var r,i=e[o];r=(i=i?\" \"+i+\" \":\" \").length;for(var s,l=0,c=t.length;l<c;++l)(s=t[l])&&i.indexOf(\" \"+s+\" \")<0&&(i+=s+\" \");r<i.length&&(e[o]=i.substr(1,i.length-2))},remove:function(t,r){var i;if(t=n.byId(t),void 0!==r){r=a(r),i=\" \"+t[o]+\" \";for(var s=0,l=r.length;s<l;++s)i=i.replace(\" \"+r[s]+\" \",\" \");i=e.trim(i)}else i=\"\";t[o]!=i&&(t[o]=i)},replace:function(e,t,i){e=n.byId(e),l[o]=e[o],r.remove(l,i),r.add(l,t),e[o]!==l[o]&&(e[o]=l[o])},toggle:function(e,t,o){if(e=n.byId(e),void 0===o)for(var i,s=0,l=(t=a(t)).length;s<l;++s)i=t[s],r[r.contains(e,i)?\"remove\":\"add\"](e,i);else r[o?\"add\":\"remove\"](e,t);return o}}}.apply(null,r))||(e.exports=o)},28(e,t,n){var r,o;n.dj.r;r=[t,n(1054),n(2616),n(5075),n(2284),n(7878)],o=function(e,t,n,r,o,i){var s,a={option:[\"select\"],tbody:[\"table\"],thead:[\"table\"],tfoot:[\"table\"],tr:[\"table\",\"tbody\"],td:[\"table\",\"tbody\",\"tr\"],th:[\"table\",\"thead\",\"tr\"],legend:[\"fieldset\"],caption:[\"table\"],colgroup:[\"table\"],col:[\"table\",\"colgroup\"],li:[\"ul\"]},l=/<\\s*([\\w\\:]+)/,c={},d=0,u=\"__\"+t._scopeName+\"ToDomId\";for(var h in a)if(a.hasOwnProperty(h)){var f=a[h];f.pre=\"option\"==h?'<select multiple=\"multiple\">':\"<\"+f.join(\"><\")+\">\",f.post=\"</\"+f.reverse().join(\"></\")+\">\"}function p(e,t){var n=t.parentNode;n&&n.insertBefore(e,t)}n(\"ie\")<=8&&(s=function(e){e.__dojo_html5_tested=\"yes\";var t=v(\"div\",{innerHTML:\"<nav>a</nav>\",style:{visibility:\"hidden\"}},e.body);1!==t.childNodes.length&&\"abbr article aside audio canvas details figcaption figure footer header hgroup mark meter nav output progress section summary time video\".replace(/\\b\\w+\\b/g,function(t){e.createElement(t)}),m(t)}),e.toDom=function(e,t){var o=(t=t||r.doc)[u];o||(t[u]=o=++d+\"\",c[o]=t.createElement(\"div\")),n(\"ie\")<=8&&!t.__dojo_html5_tested&&t.body&&s(t);var i,h,f,p,v=(e+=\"\").match(l),g=v?v[1].toLowerCase():\"\",m=c[o];if(v&&a[g])for(i=a[g],m.innerHTML=i.pre+e+i.post,h=i.length;h;--h)m=m.firstChild;else m.innerHTML=e;if(1==m.childNodes.length)return m.removeChild(m.firstChild);for(p=t.createDocumentFragment();f=m.firstChild;)p.appendChild(f);return p},e.place=function(t,n,r){if(n=o.byId(n),\"string\"==typeof t&&(t=/^\\s*</.test(t)?e.toDom(t,n.ownerDocument):o.byId(t)),\"number\"==typeof r){var i=n.childNodes;!i.length||i.length<=r?n.appendChild(t):p(t,i[r<0?0:r])}else switch(r){case\"before\":p(t,n);break;case\"after\":!function(e,t){var n=t.parentNode;n&&(n.lastChild==t?n.appendChild(e):n.insertBefore(e,t.nextSibling))}(t,n);break;case\"replace\":n.parentNode.replaceChild(t,n);break;case\"only\":e.empty(n),n.appendChild(t);break;case\"first\":if(n.firstChild){p(t,n.firstChild);break}default:n.appendChild(t)}return t};var v=e.create=function(t,n,s,a){var l=r.doc;return s&&(l=(s=o.byId(s)).ownerDocument),\"string\"==typeof t&&(t=l.createElement(t)),n&&i.set(t,n),s&&e.place(t,s,a),t};function g(e){if(\"innerHTML\"in e)try{return void(e.innerHTML=\"\")}catch(e){}for(var t;t=e.lastChild;)e.removeChild(t)}e.empty=function(e){g(o.byId(e))};var m=e.destroy=function(e){(e=o.byId(e))&&function(e,t){e.firstChild&&g(e),t&&(n(\"ie\")&&t.canHaveChildren&&\"removeNode\"in e?e.removeNode(!1):t.removeChild(e))}(e,e.parentNode)}}.apply(null,r),void 0===o||(e.exports=o)},3159(e,t,n){var r,o;n.dj.r;r=[n(6323),n(2284),n(6587),n(8212)],void 0===(o=function(e,t,n,r){function o(t,n,r){if(null!==r){var o=t[n];\"string\"==typeof o?t[n]=[o,r]:e.isArray(o)?o.push(r):t[n]=r}}var i={fieldToObject:function(e){var n=null;if(e=t.byId(e)){var r=e.name,o=(e.type||\"\").toLowerCase();if(r&&o&&!e.disabled)if(\"radio\"==o||\"checkbox\"==o)e.checked&&(n=e.value);else if(e.multiple){n=[];for(var i=[e.firstChild];i.length;)for(var s=i.pop();s;s=s.nextSibling){if(1!=s.nodeType||\"option\"!=s.tagName.toLowerCase()){s.nextSibling&&i.push(s.nextSibling),s.firstChild&&i.push(s.firstChild);break}s.selected&&n.push(s.value)}}else n=e.value}return n},toObject:function(e){for(var n={},r=t.byId(e).elements,s=0,a=r.length;s<a;++s){var l=r[s],c=l.name,d=(l.type||\"\").toLowerCase();c&&d&&\"file|submit|image|reset|button\".indexOf(d)<0&&!l.disabled&&(o(n,c,i.fieldToObject(l)),\"image\"==d&&(n[c+\".x\"]=n[c+\".y\"]=n[c].x=n[c].y=0))}return n},toQuery:function(e){return n.objectToQuery(i.toObject(e))},toJson:function(e,t){return r.stringify(i.toObject(e),null,t?4:0)}};return i}.apply(null,r))||(e.exports=o)},2685(e,t,n){var r,o;n.dj.r;r=[n(2616),n(5075),n(2284),n(1248)],void 0===(o=function(e,t,n,r){var o={boxModel:\"content-box\"};e(\"ie\")&&(o.boxModel=\"BackCompat\"==document.compatMode?\"border-box\":\"content-box\"),o.getPadExtents=function(e,t){e=n.byId(e);var o=t||r.getComputedStyle(e),i=r.toPixelValue,s=i(e,o.paddingLeft),a=i(e,o.paddingTop),l=i(e,o.paddingRight),c=i(e,o.paddingBottom);return{l:s,t:a,r:l,b:c,w:s+l,h:a+c}};var i=\"none\";function s(e,t,n,r,o,i){i=i||\"px\";var s=e.style;isNaN(t)||(s.left=t+i),isNaN(n)||(s.top=n+i),r>=0&&(s.width=r+i),o>=0&&(s.height=o+i)}function a(e){return\"button\"==e.tagName.toLowerCase()||\"input\"==e.tagName.toLowerCase()&&\"button\"==(e.getAttribute(\"type\")||\"\").toLowerCase()}function l(e){return\"border-box\"==o.boxModel||\"table\"==e.tagName.toLowerCase()||a(e)}function c(e){var t,n={x:0,y:0,width:0,height:0,top:0,right:0,bottom:0,left:0};try{t=e.getBoundingClientRect()}catch(e){return n}return void 0===t.left?n:t}o.getBorderExtents=function(e,t){e=n.byId(e);var o=r.toPixelValue,s=t||r.getComputedStyle(e),a=s.borderLeftStyle!=i?o(e,s.borderLeftWidth):0,l=s.borderTopStyle!=i?o(e,s.borderTopWidth):0,c=s.borderRightStyle!=i?o(e,s.borderRightWidth):0,d=s.borderBottomStyle!=i?o(e,s.borderBottomWidth):0;return{l:a,t:l,r:c,b:d,w:a+c,h:l+d}},o.getPadBorderExtents=function(e,t){e=n.byId(e);var i=t||r.getComputedStyle(e),s=o.getPadExtents(e,i),a=o.getBorderExtents(e,i);return{l:s.l+a.l,t:s.t+a.t,r:s.r+a.r,b:s.b+a.b,w:s.w+a.w,h:s.h+a.h}},o.getMarginExtents=function(e,t){e=n.byId(e);var o=t||r.getComputedStyle(e),i=r.toPixelValue,s=i(e,o.marginLeft),a=i(e,o.marginTop),l=i(e,o.marginRight),c=i(e,o.marginBottom);return{l:s,t:a,r:l,b:c,w:s+l,h:a+c}},o.getMarginBox=function(t,s){t=n.byId(t);var a,l=s||r.getComputedStyle(t),c=o.getMarginExtents(t,l),d=t.offsetLeft-c.l,u=t.offsetTop-c.t,h=t.parentNode,f=r.toPixelValue;return 8!=e(\"ie\")||e(\"quirks\")||h&&(d-=(a=r.getComputedStyle(h)).borderLeftStyle!=i?f(t,a.borderLeftWidth):0,u-=a.borderTopStyle!=i?f(t,a.borderTopWidth):0),{l:d,t:u,w:t.offsetWidth+c.w,h:t.offsetHeight+c.h}},o.getContentBox=function(t,s){t=n.byId(t);var a,l=s||r.getComputedStyle(t),c=t.clientWidth,d=o.getPadExtents(t,l),u=o.getBorderExtents(t,l),h=t.offsetLeft+d.l+u.l,f=t.offsetTop+d.t+u.t;if(c?a=t.clientHeight:(c=t.offsetWidth-u.w,a=t.offsetHeight-u.h),8==e(\"ie\")&&!e(\"quirks\")){var p,v=t.parentNode,g=r.toPixelValue;v&&(h-=(p=r.getComputedStyle(v)).borderLeftStyle!=i?g(t,p.borderLeftWidth):0,f-=p.borderTopStyle!=i?g(t,p.borderTopWidth):0)}return{l:h,t:f,w:c-d.w,h:a-d.h}},o.setContentSize=function(e,t,r){e=n.byId(e);var i=t.w,a=t.h;if(l(e)){var c=o.getPadBorderExtents(e,r);i>=0&&(i+=c.w),a>=0&&(a+=c.h)}s(e,NaN,NaN,i,a)};var d={l:0,t:0,w:0,h:0};return o.setMarginBox=function(t,i,c){t=n.byId(t);var u=c||r.getComputedStyle(t),h=i.w,f=i.h,p=l(t)?d:o.getPadBorderExtents(t,u),v=o.getMarginExtents(t,u);if(e(\"webkit\")&&a(t)){var g=t.style;h>=0&&!g.width&&(g.width=\"4px\"),f>=0&&!g.height&&(g.height=\"4px\")}h>=0&&(h=Math.max(h-p.w-v.w,0)),f>=0&&(f=Math.max(f-p.h-v.h,0)),s(t,i.l,i.t,h,f)},o.isBodyLtr=function(e){return e=e||t.doc,\"ltr\"==(t.body(e).dir||e.documentElement.dir||\"ltr\").toLowerCase()},o.docScroll=function(n){var r=(n=n||t.doc).parentWindow||n.defaultView;return\"pageXOffset\"in r?{x:r.pageXOffset,y:r.pageYOffset}:(r=e(\"quirks\")?t.body(n):n.documentElement)&&{x:o.fixIeBiDiScrollLeft(r.scrollLeft||0,n),y:r.scrollTop||0}},o.getIeDocumentElementOffset=function(e){return{x:0,y:0}},o.fixIeBiDiScrollLeft=function(n,r){r=r||t.doc;var i=e(\"ie\");if(i&&!o.isBodyLtr(r)){var s=e(\"quirks\"),a=s?t.body(r):r.documentElement,l=t.global;return 6==i&&!s&&l.frameElement&&a.scrollHeight>a.clientHeight&&(n+=a.clientLeft),i<8||s?n+a.clientWidth-a.scrollWidth:-n}return n},o.position=function(r,i){r=n.byId(r);var s=t.body(r.ownerDocument),a=c(r);if(a={x:a.left,y:a.top,w:a.right-a.left,h:a.bottom-a.top},e(\"ie\")<9&&(a.x-=e(\"quirks\")?s.clientLeft+s.offsetLeft:0,a.y-=e(\"quirks\")?s.clientTop+s.offsetTop:0),i){var l=o.docScroll(r.ownerDocument);a.x+=l.x,a.y+=l.y}return a},o.getMarginSize=function(e,t){e=n.byId(e);var i=o.getMarginExtents(e,t||r.getComputedStyle(e)),s=c(e);return{w:s.right-s.left+i.w,h:s.bottom-s.top+i.h}},o.normalizeEvent=function(t){if(\"layerX\"in t||(t.layerX=t.offsetX,t.layerY=t.offsetY),!(\"pageX\"in t)){var n=t.target,r=n&&n.ownerDocument||document,i=e(\"quirks\")?r.body:r.documentElement;t.pageX=t.clientX+o.fixIeBiDiScrollLeft(i.scrollLeft||0,r),t.pageY=t.clientY+(i.scrollTop||0)}},o}.apply(null,r))||(e.exports=o)},5244(e,t,n){var r,o;n.dj.r;r=[t,n(1054),n(2616),n(6323),n(2284),n(1248),n(28),n(5641)],o=function(e,t,n,r,o,i,s,a){var l={},c=1,d=t._scopeName+\"attrid\";function u(e){for(var t,n=\"\",r=e.childNodes,o=0;t=r[o];o++)8!=t.nodeType&&(1==t.nodeType?n+=u(t):n+=t.nodeValue);return n}n.add(\"dom-textContent\",function(e,t,n){return\"textContent\"in n}),e.names={class:\"className\",for:\"htmlFor\",tabindex:\"tabIndex\",readonly:\"readOnly\",colspan:\"colSpan\",frameborder:\"frameBorder\",rowspan:\"rowSpan\",textcontent:\"textContent\",valuetype:\"valueType\"},e.get=function(t,r){t=o.byId(t);var i=r.toLowerCase(),s=e.names[i]||r;return\"textContent\"!=s||n(\"dom-textContent\")?t[s]:u(t)},e.set=function(t,u,h){if(t=o.byId(t),2==arguments.length&&\"string\"!=typeof u){for(var f in u)e.set(t,f,u[f]);return t}var p=u.toLowerCase(),v=e.names[p]||u;if(\"style\"==v&&\"string\"!=typeof h)return i.set(t,h),t;if(\"innerHTML\"==v)return n(\"ie\")&&t.tagName.toLowerCase()in{col:1,colgroup:1,table:1,tbody:1,tfoot:1,thead:1,tr:1,title:1}?(s.empty(t),t.appendChild(s.toDom(h,t.ownerDocument))):t[v]=h,t;if(\"textContent\"==v&&!n(\"dom-textContent\"))return s.empty(t),t.appendChild(t.ownerDocument.createTextNode(h)),t;if(r.isFunction(h)){var g=t[d];g||(g=c++,t[d]=g),l[g]||(l[g]={});var m=l[g][v];if(m)a.disconnect(m);else try{delete t[v]}catch(e){}return h?l[g][v]=a.connect(t,v,h):t[v]=null,t}return t[v]=h,t}}.apply(null,r),void 0===o||(e.exports=o)},1248(e,t,n){var r,o;n.dj.r;r=[n(2616),n(2284),n(5075)],o=function(e,t,n){var r,o,i={};r=e(\"webkit\")?function(e){var t;if(1==e.nodeType){var n=e.ownerDocument.defaultView;!(t=n.getComputedStyle(e,null))&&e.style&&(e.style.display=\"\",t=n.getComputedStyle(e,null))}return t||{}}:e(\"ie\")&&(e(\"ie\")<9||e(\"quirks\"))?function(e){return 1==e.nodeType&&e.currentStyle?e.currentStyle:{}}:function(e){if(1===e.nodeType){var t=e.ownerDocument.defaultView;return(t.opener?t:n.global.window).getComputedStyle(e,null)}return{}},i.getComputedStyle=r,o=e(\"ie\")?function(e,t){if(!t)return 0;if(\"medium\"==t)return 4;if(t.slice&&\"px\"==t.slice(-2))return parseFloat(t);var n=e.style,r=e.runtimeStyle,o=e.currentStyle,i=n.left,s=r.left;r.left=o.left;try{n.left=t,t=n.pixelLeft}catch(e){t=0}return n.left=i,r.left=s,t}:function(e,t){return parseFloat(t)||0},i.toPixelValue=o;var s=\"DXImageTransform.Microsoft.Alpha\",a=function(e,t){try{return e.filters.item(s)}catch(e){return t?{}:null}},l=e(\"ie\")<9||e(\"ie\")<10&&e(\"quirks\")?function(e){try{return a(e).Opacity/100}catch(e){return 1}}:function(e){return r(e).opacity},c=e(\"ie\")<9||e(\"ie\")<10&&e(\"quirks\")?function(e,t){\"\"===t&&(t=1);var n=100*t;if(1===t?(e.style.zoom=\"\",a(e)&&(e.style.filter=e.style.filter.replace(new RegExp(\"\\\\s*progid:\"+s+\"\\\\([^\\\\)]+?\\\\)\",\"i\"),\"\"))):(e.style.zoom=1,a(e)?a(e,1).Opacity=n:e.style.filter+=\" progid:\"+s+\"(Opacity=\"+n+\")\",a(e,1).Enabled=!0),\"tr\"==e.tagName.toLowerCase())for(var r=e.firstChild;r;r=r.nextSibling)\"td\"==r.tagName.toLowerCase()&&c(r,t);return t}:function(e,t){return e.style.opacity=t},d={left:!0,top:!0},u=/margin|padding|width|height|max|min|offset/;var h={cssFloat:1,styleFloat:1,float:1};return i.get=function(e,n){var r=t.byId(e),s=arguments.length;if(2==s&&\"opacity\"==n)return l(r);n=h[n]?\"cssFloat\"in r.style?\"cssFloat\":\"styleFloat\":n;var a=i.getComputedStyle(r);return 1==s?a:function(e,t,n){if(t=t.toLowerCase(),\"auto\"==n){if(\"height\"==t)return e.offsetHeight;if(\"width\"==t)return e.offsetWidth}return\"fontweight\"==t?700===n?\"bold\":\"normal\":(t in d||(d[t]=u.test(t)),d[t]?o(e,n):n)}(r,n,a[n]||r.style[n])},i.set=function(e,n,r){var o=t.byId(e),s=arguments.length,a=\"opacity\"==n;if(n=h[n]?\"cssFloat\"in o.style?\"cssFloat\":\"styleFloat\":n,3==s)return a?c(o,r):o.style[n]=r;for(var l in n)i.set(e,l,n[l]);return i.getComputedStyle(o)},i}.apply(null,r),void 0===o||(e.exports=o)},2284(e,t,n){var r,o;n.dj.r;r=[n(2616),n(5075),n(1054)],void 0===(o=function(e,t,n){if(e(\"ie\")<=7)try{document.execCommand(\"BackgroundImageCache\",!1,!0)}catch(e){}var r={};e(\"ie\")?r.byId=function(e,n){if(\"string\"!=typeof e)return e||null;var r=n||t.doc,o=e&&r.getElementById(e);if(o&&(o.attributes.id.value==e||o.id==e))return o;var i=r.all[e];i&&!i.nodeName||(i=[i]);for(var s=0;o=i[s++];)if(o.attributes&&o.attributes.id&&o.attributes.id.value==e||o.id==e)return o;return null}:r.byId=function(e,n){return(\"string\"==typeof e?(n||t.doc).getElementById(e):e)||null};var o=n.global.document||null;e.add(\"dom-contains\",!(!o||!o.contains)),r.isDescendant=e(\"dom-contains\")?function(e,t){return!(!(t=r.byId(t))||!t.contains(r.byId(e)))}:function(e,t){try{for(e=r.byId(e),t=r.byId(t);e;){if(e==t)return!0;e=e.parentNode}}catch(e){}return!1},e.add(\"css-user-select\",function(e,t,n){if(!n)return!1;var r=n.style,o=[\"Khtml\",\"O\",\"Moz\",\"Webkit\"],i=o.length,s=\"userSelect\";do{if(void 0!==r[s])return s}while(i--&&(s=o[i]+\"UserSelect\"));return!1});var i=e(\"css-user-select\");return r.setSelectable=i?function(e,t){r.byId(e).style[i]=t?\"\":\"none\"}:function(e,t){var n=(e=r.byId(e)).getElementsByTagName(\"*\"),o=n.length;if(t)for(e.removeAttribute(\"unselectable\");o--;)n[o].removeAttribute(\"unselectable\");else for(e.setAttribute(\"unselectable\",\"on\");o--;)n[o].setAttribute(\"unselectable\",\"on\")},r}.apply(null,r))||(e.exports=o)},2641(e,t,n){var r,o;n.dj.r;r=[n(1925),n(6356)],void 0===(o=function(e,t){var n,r=document,o={loaded:1,complete:1},i=\"string\"!=typeof r.readyState,s=!!o[r.readyState],a=[];function l(e){a.push(e),s&&c()}function c(){if(!n){for(n=!0;a.length;)try{a.shift()(r)}catch(e){console.error(e,\"in domReady callback\",e.stack)}n=!1,l._onQEmpty()}}if(l.load=function(e,t,n){l(n)},l._Q=a,l._onQEmpty=function(){},i&&(r.readyState=\"loading\"),!s){var d=[],u=function(t){t=t||e.event,s||\"readystatechange\"==t.type&&!o[r.readyState]||(i&&(r.readyState=\"complete\"),s=1,c())},h=function(e,t){e.addEventListener(t,u,!1),a.push(function(){e.removeEventListener(t,u,!1)})};if(!t(\"dom-addeventlistener\")){h=function(e,t){t=\"on\"+t,e.attachEvent(t,u),a.push(function(){e.detachEvent(t,u)})};var f=r.createElement(\"div\");try{f.doScroll&&null===e.frameElement&&d.push(function(){try{return f.doScroll(\"left\"),1}catch(e){}})}catch(e){}}if(h(r,\"DOMContentLoaded\"),h(e,\"load\"),\"onreadystatechange\"in r?h(r,\"readystatechange\"):i||d.push(function(){return o[r.readyState]}),d.length){var p=function(){if(!s){for(var e=d.length;e--;)if(d[e]())return void u(\"poller\");setTimeout(p,30)}};p()}}return l}.apply(null,r))||(e.exports=o)},1662(e,t,n){var r,o;n.dj.r;r=[n(4332)],void 0===(o=function(e){return e(\"CancelError\",null,null,{dojoType:\"cancel\",log:!1})}.apply(null,r))||(e.exports=o)},8241(e,t,n){var r,o;n.dj.r;r=[n(4332)],void 0===(o=function(e){return e(\"RequestError\",function(e,t){this.response=t})}.apply(null,r))||(e.exports=o)},9608(e,t,n){var r,o;n.dj.r;r=[n(4332),n(8241)],void 0===(o=function(e,t){return e(\"RequestTimeoutError\",null,t,{dojoType:\"timeout\"})}.apply(null,r))||(e.exports=o)},4332(e,t,n){var r,o;n.dj.r;r=[n(6323)],o=function(e){return function(t,n,r,o){r=r||Error;var i=function(e){if(r===Error){Error.captureStackTrace&&Error.captureStackTrace(this,i);var t,o=Error.call(this,e);for(t in o)o.hasOwnProperty(t)&&(this[t]=o[t]);this.message=e,this.stack=o.stack}else r.apply(this,arguments);n&&n.apply(this,arguments)};return i.prototype=e.delegate(r.prototype,o),i.prototype.name=t,i.prototype.constructor=i,i}}.apply(null,r),void 0===o||(e.exports=o)},1925(e,t,n){var r;n.dj.r;void 0===(r=function(){return\"undefined\"!=typeof global&&\"function\"!=typeof global?global:\"undefined\"!=typeof window?window:\"undefined\"!=typeof self?self:this}.call(null,n,t,e))||(e.exports=r)},6356(e,t,n){var r,o;n.dj.r;r=[n(1925),n.dj.c(e),n.dj.m(e)],o=function(e,t,n){var r=t.has||function(){};if(!r(\"dojo-has-api\")){var o=\"undefined\"!=typeof window&&\"undefined\"!=typeof location&&\"undefined\"!=typeof document&&window.location==location&&window.document==document,i=o&&document,s=i&&i.createElement(\"DiV\"),a=n.config&&n.config()||{};(r=function(t){return\"function\"==typeof a[t]?a[t]=a[t](e,i,s):a[t]}).cache=a,r.add=function(e,t,n,o){return(void 0===a[e]||o)&&(a[e]=t),n&&r(e)},r.add(\"host-browser\",o),r.add(\"host-node\",\"object\"==typeof process&&process.versions&&process.versions.node&&process.versions.v8),r.add(\"host-rhino\",\"function\"==typeof load&&(\"function\"==typeof Packages||\"object\"==typeof Packages)),r.add(\"dom\",o),r.add(\"dojo-dom-ready-api\",1),r.add(\"dojo-sniff\",1)}if(r(\"host-browser\")){r.add(\"dom-addeventlistener\",!!document.addEventListener),r.add(\"touch\",\"ontouchstart\"in document||\"onpointerdown\"in document&&navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints),r.add(\"touch-events\",\"ontouchstart\"in document),r.add(\"pointer-events\",\"pointerEnabled\"in window.navigator?window.navigator.pointerEnabled:\"PointerEvent\"in window),r.add(\"MSPointer\",window.navigator.msPointerEnabled),r.add(\"touch-action\",!1),r.add(\"device-width\",screen.availWidth||innerWidth);var l=document.createElement(\"form\");r.add(\"dom-attributes-explicit\",0==l.attributes.length),r.add(\"dom-attributes-specified-flag\",l.attributes.length>0&&l.attributes.length<40)}return r.clearElement=function(e){return e.innerHTML=\"\",e},r.normalize=function(e,t){var n=e.match(/[\\?:]|[^:\\?]*/g),o=0,i=function(e){var t=n[o++];return\":\"==t?0:\"?\"==n[o++]?!e&&r(t)?i():(i(!0),i(e)):t||0};return(e=i())&&t(e)},r.load=function(e,t,n){e?t([e],n):n()},r}.apply(null,r),void 0===o||(e.exports=o)},9276(e,t,n){var r,o;n.dj.r;r=[n.dj.c(e),n(7361),n(8945),n(1248),n(6356),n(2641),n(5075)],o=function(e,t,n,r,o,i,s){return o.add(\"highcontrast\",function(){var n=s.doc.createElement(\"div\");try{n.style.cssText='border: 1px solid; border-color:red green; position: absolute; height: 5px; top: -999px;background-image: url(\"'+(t.blankGif||e.toUrl(\"./resources/blank.gif\"))+'\");',s.body().appendChild(n);var i=r.getComputedStyle(n),a=i.backgroundImage;return i.borderTopColor==i.borderRightColor||a&&(\"none\"==a||\"url(invalid-url:)\"==a)}catch(e){return console.warn(\"hccss: exception detecting high-contrast mode, document is likely hidden: \"+e.toString()),!1}finally{o(\"ie\")<=8?n.outerHTML=\"\":s.body().removeChild(n)}}),i(function(){0}),o}.apply(null,r),void 0===o||(e.exports=o)},3878(e,t,n){var r,o;n.dj.r;r=[n(1054),n.dj.c(e),n(6356),n(6974),n(7361),n(6323),n(225),n(8212),n.dj.m(e)],o=function(e,t,n,r,o,i,s,a,l){n.add(\"dojo-preload-i18n-Api\",1),n.add(\"dojo-v1x-i18n-Api\",1);var c=e.i18n={},d=/(^.*(^|\\/)nls)(\\/|$)([^\\/]*)\\/?([^\\/]*)/,u={},h=function(t,n,r){return r=r?r.toLowerCase():e.locale,t=t.replace(/\\./g,\"/\"),n=n.replace(/\\./g,\"/\"),/root/i.test(r)?t+\"/nls/\"+n:t+\"/nls/\"+r+\"/\"+n},f=e.getL10nName=function(e,t,n){return l.id+\"!\"+h(e,t,n)},p=function(t,s,l){var c=d.exec(t),h=c[1]+\"/\",f=c[5]||c[4],p=h+f,v=c[5]&&c[4],g=v||e.locale||\"\",m=p+\"/\"+g,y=v?[g]:function(e){var t=o.extraLocale||[];return(t=i.isArray(t)?t:[t]).push(e),t}(g),x=y.length,N=function(){--x||l(i.delegate(u[m]))},C=t.split(\"*\"),j=\"preload\"==C[1];if(n(\"dojo-preload-i18n-Api\")){if(j&&(u[t]||(u[t]=1,_(C[2],a.parse(C[3]),1,s)),l(1)),j||b(t,s,l)&&!u[m])return}else if(j)return void l(1);r.forEach(y,function(e){var t=p+\"/\"+e;n(\"dojo-preload-i18n-Api\")&&w(t),u[t]?N():function(e,t,n,r,o,s){e([t],function(a){var l=i.clone(a.root||a.ROOT),c=function(e,t,n,r){for(var o=[n+r],i=t.split(\"-\"),s=\"\",a=0;a<i.length;a++)s+=(s?\"-\":\"\")+i[a],e&&!e[s]||(o.push(n+s+\"/\"+r),o.specificity=s);return o}(!a._v1x&&a,o,n,r);e(c,function(){for(var e=1;e<c.length;e++)l=i.mixin(i.clone(l),arguments[e]);u[t+\"/\"+o]=l,l.$locale=c.specificity,s()})})}(s,p,h,f,e,N)})};if(n(\"dojo-preload-i18n-Api\")||n(\"dojo-v1x-i18n-Api\"))var v=c.normalizeLocale=function(t){var n=t?t.toLowerCase():e.locale;return\"root\"==n?\"ROOT\":n},g=function(e,t){return!0},m=0,y=[],_=c._preloadLocalizations=function(n,o,s,a){function l(e,t){for(var n=e.split(\"-\");n.length;){if(t(n.join(\"-\")))return;n.pop()}t(\"ROOT\")}function c(){m++}function d(){for(--m;!m&&y.length;)p.apply(null,y.shift())}function h(e,t,n,r){return r.toAbsMid(e+t+\"/\"+n)}function f(e){l(e=v(e),function(f){if(r.indexOf(o,f)>=0){var p=n.replace(/\\./g,\"/\")+\"_\"+f;return c(),function(e,t){g(e,a)||s?a([e],t):j([e],t,a)}(p,function(n){for(var r in n){var o,s,p=n[r],v=r.match(/(.+)\\/([^\\/]+)$/);if(v&&(o=v[2],s=v[1]+\"/\",p._localized)){var g;if(\"ROOT\"===f){var m=g=p._localized;delete p._localized,m.root=p,u[t.toAbsMid(r)]=m}else g=p._localized,u[h(s,o,f,t)]=p;if(f!==e){var y=function(n,r,o,s){var f=[],p=[];l(e,function(e){s[e]&&(f.push(t.toAbsMid(n+e+\"/\"+r)),p.push(h(n,r,e,t)))}),f.length?(c(),a(f,function(){for(var s=f.length-1;s>=0;s--)o=i.mixin(i.clone(o),arguments[s]),u[p[s]]=o;u[h(n,r,e,t)]=i.clone(o),d()})):u[h(n,r,e,t)]=o};y(s,o,p,g)}}}d()}),!0}return!1})}a=a||t,f(),r.forEach(e.config.extraLocale,f)},b=function(e,t,n){return m&&y.push([e,t,n]),m},w=function(){};if(n(\"dojo-v1x-i18n-Api\")){var x,N={},C={},j=function(e,t,n){var o=[];r.forEach(e,function(e){var t=n.toUrl(e+\".js\");function r(n){x||(x=new Function(\"__bundle\",\"__checkForLegacyModules\",\"__mid\",\"__amdValue\",\"var define = function(mid, factory){define.called = 1; __amdValue.result = factory || mid;},\\t require = function(){define.called = 1;};try{define.called = 0;eval(__bundle);if(define.called==1)return __amdValue;if((__checkForLegacyModules = __checkForLegacyModules(__mid)))return __checkForLegacyModules;}catch(e){}try{return eval('('+__bundle+')');}catch(e){return e;}\"));var r=x(n,w,e,N);r===N?o.push(u[t]=N.result):(r instanceof Error&&(console.error(\"failed to evaluate i18n bundle; url=\"+t,r),r={}),o.push(u[t]=/nls\\/[^\\/]+\\/[^\\/]+$/.test(t)?r:{root:r,_v1x:1}))}if(u[t])o.push(u[t]);else{var i=n.syncLoadNls(e);if(i||(i=w(e.replace(/nls\\/([^\\/]*)\\/([^\\/]*)$/,\"nls/$2/$1\"))),i)o.push(i);else if(s)s.get({url:t,sync:!0,load:r,error:function(){o.push(u[t]={})}});else try{n.getText(t,!0,r)}catch(e){o.push(u[t]={})}}}),t&&t.apply(null,o)};w=function(t){for(var n,r=t.split(\"/\"),o=e.global[r[0]],i=1;o&&i<r.length-1;o=o[r[i++]]);return o&&((n=o[r[i]])||(n=o[r[i].replace(/-/g,\"_\")]),n&&(u[t]=n)),n},c.getLocalization=function(e,n,r){var o,i=h(e,n,r);return C[i]?C[i]:(p(i,g(i,t)?t:function(e,n){j(e,n,t)},function(e){C[i]=e,o=e}),o)}}else c.getLocalization=function(e,t,n){var r=e.replace(/\\./g,\"/\")+\"/nls/\"+t+\"/\"+(n||o.locale);return this.cache[r]};return i.mixin(c,{dynamic:!0,normalize:function(e,t){return/^\\./.test(e)?t(e):e},load:p,cache:u,getL10nName:f})}.apply(null,r),void 0===o||(e.exports=o)},6587(e,t,n){var r,o;n.dj.r;r=[n(6323)],void 0===(o=function(e){var t={};return{objectToQuery:function(n){var r=encodeURIComponent,o=[];for(var i in n){var s=n[i];if(s!=t[i]){var a=r(i)+\"=\";if(e.isArray(s))for(var l=0,c=s.length;l<c;++l)o.push(a+r(s[l]));else o.push(a+r(s))}}return o.join(\"&\")},queryToObject:function(t){for(var n,r,o,i=decodeURIComponent,s=t.split(\"&\"),a={},l=0,c=s.length;l<c;++l)if((o=s[l]).length){var d=o.indexOf(\"=\");d<0?(n=i(o),r=\"\"):(n=i(o.slice(0,d)),r=i(o.slice(d+1))),\"string\"==typeof a[n]&&(a[n]=[a[n]]),e.isArray(a[n])?a[n].push(r):a[n]=r}return a}}}.apply(null,r))||(e.exports=o)},8212(module,exports,__webpack_require__){var require=__webpack_require__.dj.r,__WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;__WEBPACK_AMD_DEFINE_ARRAY__=[__webpack_require__(6356)],__WEBPACK_AMD_DEFINE_RESULT__=function(has){\"use strict\";var hasJSON=\"undefined\"!=typeof JSON;if(has.add(\"json-parse\",hasJSON),has.add(\"json-stringify\",hasJSON&&'{\"a\":1}'==JSON.stringify({a:0},function(e,t){return t||1})),has(\"json-stringify\"))return JSON;var escapeString=function(e){return('\"'+e.replace(/([\"\\\\])/g,\"\\\\$1\")+'\"').replace(/[\\f]/g,\"\\\\f\").replace(/[\\b]/g,\"\\\\b\").replace(/[\\n]/g,\"\\\\n\").replace(/[\\t]/g,\"\\\\t\").replace(/[\\r]/g,\"\\\\r\")};return{parse:has(\"json-parse\")?JSON.parse:function(str,strict){if(strict&&!/^([\\s\\[\\{]*(?:\"(?:\\\\.|[^\"])*\"|-?\\d[\\d\\.]*(?:[Ee][+-]?\\d+)?|null|true|false|)[\\s\\]\\}]*(?:,|:|$))+$/.test(str))throw new SyntaxError(\"Invalid characters in JSON\");return eval(\"(\"+str+\")\")},stringify:function(e,t,n){return\"string\"==typeof t&&(n=t,t=null),function e(r,o,i){t&&(r=t(i,r));var s,a=typeof r;if(\"number\"==a)return isFinite(r)?r+\"\":\"null\";if(\"boolean\"==a)return r+\"\";if(null===r)return\"null\";if(\"string\"==typeof r)return escapeString(r);if(\"function\"!=a&&\"undefined\"!=a){if(\"function\"==typeof r.toJSON)return e(r.toJSON(i),o,i);if(r instanceof Date)return'\"{FullYear}-{Month+}-{Date}T{Hours}:{Minutes}:{Seconds}Z\"'.replace(/\\{(\\w+)(\\+)?\\}/g,function(e,t,n){var o=r[\"getUTC\"+t]()+(n?1:0);return o<10?\"0\"+o:o});if(r.valueOf()!==r)return e(r.valueOf(),o,i);var l=n?o+n:\"\",c=n?\" \":\"\",d=n?\"\\n\":\"\";if(r instanceof Array){var u=r.length,h=[];for(i=0;i<u;i++){\"string\"!=typeof(s=e(r[i],l,i))&&(s=\"null\"),h.push(d+l+s)}return\"[\"+h.join(\",\")+d+o+\"]\"}var f=[];for(i in r){var p;if(r.hasOwnProperty(i)){if(\"number\"==typeof i)p='\"'+i+'\"';else{if(\"string\"!=typeof i)continue;p=escapeString(i)}if(\"string\"!=typeof(s=e(r[i],l,i)))continue;f.push(d+l+p+\":\"+c+s)}}return\"{\"+f.join(\",\")+d+o+\"}\"}}(e,\"\",\"\")}}}.apply(null,__WEBPACK_AMD_DEFINE_ARRAY__),void 0===__WEBPACK_AMD_DEFINE_RESULT__||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)},4266(e,t,n){var r,o;n.dj.r;r=[n(1054),n(2616)],void 0===(o=function(e,t){return e.keys={BACKSPACE:8,TAB:9,CLEAR:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,META:t(\"webkit\")?91:224,PAUSE:19,CAPS_LOCK:20,ESCAPE:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT_ARROW:37,UP_ARROW:38,RIGHT_ARROW:39,DOWN_ARROW:40,INSERT:45,DELETE:46,HELP:47,LEFT_WINDOW:91,RIGHT_WINDOW:92,SELECT:93,NUMPAD_0:96,NUMPAD_1:97,NUMPAD_2:98,NUMPAD_3:99,NUMPAD_4:100,NUMPAD_5:101,NUMPAD_6:102,NUMPAD_7:103,NUMPAD_8:104,NUMPAD_9:105,NUMPAD_MULTIPLY:106,NUMPAD_PLUS:107,NUMPAD_ENTER:108,NUMPAD_MINUS:109,NUMPAD_PERIOD:110,NUMPAD_DIVIDE:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,F13:124,F14:125,F15:126,NUM_LOCK:144,SCROLL_LOCK:145,UP_DPAD:175,DOWN_DPAD:176,LEFT_DPAD:177,RIGHT_DPAD:178,copyKey:t(\"mac\")&&!t(\"air\")?t(\"safari\")?91:224:17}}.apply(null,r))||(e.exports=o)},8471(e,t,n){var r,o;n.dj.r;r=[n(1054),n(2075),n(6356),n(2284),n(5075)],void 0===(o=function(e,t,n,r,o){var i,s;function a(e,n){var o=function(o,i){return t(o,e,function(e){return n?n(e,i):r.isDescendant(e.relatedTarget,o)?void 0:i.call(this,e)})};return o.bubble=function(t){return a(e,function(e,n){var r=t(e.target),o=e.relatedTarget;if(r&&r!=(o&&1==o.nodeType&&t(o)))return n.call(r,e)})},o}return n.add(\"dom-quirks\",o.doc&&\"BackCompat\"==o.doc.compatMode),n.add(\"events-mouseenter\",o.doc&&\"onmouseenter\"in o.doc.createElement(\"div\")),n.add(\"events-mousewheel\",o.doc&&\"onmousewheel\"in o.doc),i=n(\"dom-quirks\")&&n(\"ie\")||!n(\"dom-addeventlistener\")?{LEFT:1,MIDDLE:4,RIGHT:2,isButton:function(e,t){return e.button&t},isLeft:function(e){return 1&e.button},isMiddle:function(e){return 4&e.button},isRight:function(e){return 2&e.button}}:{LEFT:0,MIDDLE:1,RIGHT:2,isButton:function(e,t){return e.button==t},isLeft:function(e){return 0==e.button},isMiddle:function(e){return 1==e.button},isRight:function(e){return 2==e.button}},e.mouseButtons=i,s=n(\"events-mousewheel\")?\"mousewheel\":function(e,n){return t(e,\"DOMMouseScroll\",function(e){e.wheelDelta=-e.detail,n.call(this,e)})},{_eventHandler:a,enter:a(\"mouseover\"),leave:a(\"mouseout\"),wheel:s,isLeft:i.isLeft,isMiddle:i.isMiddle,isRight:i.isRight}}.apply(null,r))||(e.exports=o)},2075(e,t,n){var r,o;n.dj.r;r=[n.dj.h(\"dom-addeventlistener?:6566\"),n(1054),n(2616)],o=function(e,t,n){\"use strict\";if(n(\"dom\")){var r=window.ScriptEngineMajorVersion;n.add(\"jscript\",r&&r()+ScriptEngineMinorVersion()/10),n.add(\"event-orientationchange\",!1),n.add(\"event-stopimmediatepropagation\",window.Event&&!!window.Event.prototype&&!!window.Event.prototype.stopImmediatePropagation),n.add(\"event-focusin\",function(e,t,n){return\"onfocusin\"in n})}var o=function(e,t,n,r){return\"function\"!=typeof e.on||\"function\"==typeof t||e.nodeType?o.parse(e,t,n,i,r,this):e.on(t,n)};o.pausable=function(e,t,n,r){var i,s=o(e,t,function(){if(!i)return n.apply(this,arguments)},r);return s.pause=function(){i=!0},s.resume=function(){i=!1},s},o.once=function(e,t,n,r){var i=o(e,t,function(){return i.remove(),n.apply(this,arguments)});return i},o.parse=function(e,t,n,r,i,s){var a;if(t.call)return t.call(s,e,n);if(t instanceof Array?a=t:t.indexOf(\",\")>-1&&(a=t.split(/\\s*,\\s*/)),a){for(var l,c=[],d=0;l=a[d++];)c.push(o.parse(e,l,n,r,i,s));return c.remove=function(){for(var e=0;e<c.length;e++)c[e].remove()},c}return r(e,t,n,i,s)};function i(e,t,n,r,i){var s=t.match(/(.*):(.*)/);if(s)return t=s[2],s=s[1],o.selector(s,t).call(i,e,n);if(h&&(n=h(n)),e.addEventListener){var a=t in d,l=a?d[t]:t;return e.addEventListener(l,n,a),{remove:function(){e.removeEventListener(l,n,a)}}}if(t=\"on\"+t,v&&e.attachEvent)return v(e,t,n);throw new Error(\"Target must be an event emitter\")}function s(){this.cancelable=!1,this.defaultPrevented=!0}function a(){this.bubbles=!1}o.matches=function(e,n,r,o,i){for(i=i&&\"function\"==typeof i.matches?i:t.query,o=!1!==o,1!=e.nodeType&&(e=e.parentNode);!i.matches(e,n,r);)if(e==r||!1===o||!(e=e.parentNode)||1!=e.nodeType)return!1;return e},o.selector=function(e,t,n){return function(r,i){var s=\"function\"==typeof e?{matches:e}:this,a=t.bubble;function l(t){return o.matches(t,e,r,n,s)}return a?o(r,a(l),i):o(r,t,function(e){var t=l(e.target);if(t)return e.selectorTarget=t,i.call(t,e)})}};var l=[].slice,c=o.emit=function(e,t,n){var r=l.call(arguments,2),o=\"on\"+t;if(\"parentNode\"in e){var i=r[0]={};for(var c in n)i[c]=n[c];i.preventDefault=s,i.stopPropagation=a,i.target=e,i.type=t,n=i}do{e[o]&&e[o].apply(e,r)}while(n&&n.bubbles&&(e=e.parentNode));return n&&n.cancelable&&n},d=n(\"event-focusin\")?{}:{focusin:\"focus\",focusout:\"blur\"};if(!n(\"event-stopimmediatepropagation\"))var u=function(){this.immediatelyStopped=!0,this.modified=!0},h=function(e){return function(t){if(!t.immediatelyStopped)return t.stopImmediatePropagation=u,e.apply(this,arguments)}};if(n(\"dom-addeventlistener\"))o.emit=function(e,t,n){if(e.dispatchEvent&&document.createEvent){var r=(e.ownerDocument||document).createEvent(\"HTMLEvents\");for(var i in r.initEvent(t,!!n.bubbles,!!n.cancelable),n)i in r||(r[i]=n[i]);return e.dispatchEvent(r)&&r}return c.apply(o,arguments)};else{o._fixEvent=function(e,t){e||(e=(t&&(t.ownerDocument||t.document||t).parentWindow||window).event);if(!e)return e;try{f&&e.type==f.type&&e.srcElement==f.target&&(e=f)}catch(e){}if(!e.target&&(e.target=e.srcElement,e.currentTarget=t||e.srcElement,\"mouseover\"==e.type&&(e.relatedTarget=e.fromElement),\"mouseout\"==e.type&&(e.relatedTarget=e.toElement),e.stopPropagation||(e.stopPropagation=m,e.preventDefault=y),\"keypress\"===e.type)){var n=\"charCode\"in e?e.charCode:e.keyCode;10==n?(n=0,e.keyCode=13):13==n||27==n?n=0:3==n&&(n=99),e.charCode=n,g(e)}return e};var f,p=function(e){this.handle=e};p.prototype.remove=function(){delete _dojoIEListeners_[this.handle]};var v=function(t,r,i){if(i=function(e){return function(t){t=o._fixEvent(t,this);var n=e.call(this,t);return t.modified&&(f||setTimeout(function(){f=null}),f=t),n}}(i),((t.ownerDocument?t.ownerDocument.parentWindow:t.parentWindow||t.window||window)!=top||n(\"jscript\")<5.8)&&!n(\"config-_allow_leaks\")){\"undefined\"==typeof _dojoIEListeners_&&(_dojoIEListeners_=[]);var s,a=t[r];if(!a||!a.listeners){var l=a;(a=Function(\"event\",\"var callee = arguments.callee; for(var i = 0; i<callee.listeners.length; i++){var listener = _dojoIEListeners_[callee.listeners[i]]; if(listener){listener.call(this,event);}}\")).listeners=[],t[r]=a,a.global=this,l&&a.listeners.push(_dojoIEListeners_.push(l)-1)}return a.listeners.push(s=a.global._dojoIEListeners_.push(i)-1),new p(s)}return e.after(t,r,i,!0)},g=function(e){e.keyChar=e.charCode?String.fromCharCode(e.charCode):\"\",e.charOrCode=e.keyChar||e.keyCode},m=function(){this.cancelBubble=!0},y=o._preventDefault=function(){if(this.bubbledKeyCode=this.keyCode,this.ctrlKey)try{this.keyCode=0}catch(e){}this.defaultPrevented=!0,this.returnValue=!1,this.modified=!0}}return o}.apply(null,r),void 0===o||(e.exports=o)},5479(e,t,n){var r,o;n.dj.r;r=[n(6323)],void 0===(o=function(e){\"use strict\";function t(){throw new TypeError(\"abstract\")}return e.extend(function(){},{then:function(e,n,r){t()},cancel:function(e,n){t()},isResolved:function(){t()},isRejected:function(){t()},isFulfilled:function(){t()},isCanceled:function(){t()},finally:function(e){return this.then(function(t){var n=e();return n&&\"function\"==typeof n.then?n.then(function(){return t}):t},function(t){var n=e();if(n&&\"function\"==typeof n.then)return n.then(function(){throw t});throw t})},always:function(e){return this.then(e,e)},catch:function(e){return this.then(null,e)},otherwise:function(e){return this.then(null,e)},trace:function(){return this},traceRejected:function(){return this},toString:function(){return\"[object Promise]\"}})}.apply(null,r))||(e.exports=o)},2236(e,t,n){var r,o;n.dj.r;r=[n(3185),n(6356),n(6323),n(6974)],void 0===(o=function(e,t,n,r){function o(e,t,n){if(!e||!1!==e.log){var r=\"\";e&&e.stack&&(r+=e.stack),t&&t.stack&&(r+=\"\\n ----------------------------------------\\n rejected\"+t.stack.split(\"\\n\").slice(1).join(\"\\n\").replace(/^\\s+/,\" \")),n&&n.stack&&(r+=\"\\n ----------------------------------------\\n\"+n.stack),console.error(e,r)}}function i(e,t,n,r){t||o(e,n,r)}t.add(\"config-useDeferredInstrumentation\",\"report-unhandled-rejections\");var s=[],a=!1,l=1e3;function c(e,t,n,o){r.some(s,function(n){if(n.error===e)return t&&(n.handled=!0),!0})||s.push({error:e,rejection:n,handled:t,deferred:o,timestamp:(new Date).getTime()}),a||(a=setTimeout(d,l))}function d(){var e=(new Date).getTime(),t=e-l;s=r.filter(s,function(e){return!(e.timestamp<t)||(e.handled||o(e.error,e.rejection,e.deferred),!1)}),a=!!s.length&&setTimeout(d,s[0].timestamp+l-e)}return function(r){var o=t(\"config-useDeferredInstrumentation\");if(o){e.on(\"resolved\",n.hitch(console,\"log\",\"resolved\")),e.on(\"rejected\",n.hitch(console,\"log\",\"rejected\")),e.on(\"progress\",n.hitch(console,\"log\",\"progress\"));var s=[];if(\"string\"==typeof o&&(s=o.split(\",\"),o=s.shift()),\"report-rejections\"===o)r.instrumentRejected=i;else{if(\"report-unhandled-rejections\"!==o&&!0!==o&&1!==o)throw new Error(\"Unsupported instrumentation usage <\"+o+\">\");r.instrumentRejected=c,l=parseInt(s[0],10)||l}}}}.apply(null,r))||(e.exports=o)},3185(e,t,n){var r,o;n.dj.r;r=[n(6323),n(5479),n(9925)],o=function(e,t,n){\"use strict\";var r=new n,o=r.emit;function i(e){setTimeout(function(){o.apply(r,e)},0)}return r.emit=null,t.prototype.trace=function(){var t=e._toArray(arguments);return this.then(function(e){i([\"resolved\",e].concat(t))},function(e){i([\"rejected\",e].concat(t))},function(e){i([\"progress\",e].concat(t))}),this},t.prototype.traceRejected=function(){var t=e._toArray(arguments);return this.otherwise(function(e){i([\"rejected\",e].concat(t))}),this},r}.apply(null,r),void 0===o||(e.exports=o)},1172(e,t,n){var r,o;n.dj.r;r=[n(1054),n(6356),n(2284),n(2075),n(6974),n(6323),n(5226),n(6178)],o=function(e,t,n,r,o,i,s,a){\"use strict\";t.add(\"array-extensible\",function(){return 1==i.delegate([],{length:1}).length&&!t(\"bug-for-in-skips-shadowed\")});var l=Array.prototype,c=l.slice,d=l.concat,u=o.forEach,h=function(t,n,r){return n=[0].concat(c.call(n,0)),r=r||e.global,function(e){return n[0]=e,t.apply(r,n)}},f=function(e){var n=this instanceof p&&t(\"array-extensible\");\"number\"==typeof e&&(e=Array(e));var r=e&&\"length\"in e?e:arguments;if(n||!r.sort){for(var o=n?this:[],s=o.length=r.length,a=0;a<s;a++)o[a]=r[a];if(n)return o;r=o}return i._mixin(r,v),r._NodeListCtor=function(e){return p(e)},r},p=f,v=p.prototype=t(\"array-extensible\")?[]:{};function g(e,t){var r=function(r,o){if(\"string\"==typeof o&&!(o=n.byId(o)))return new t([]);var i=\"string\"==typeof r?e(r,o):r?r.end&&r.on?r:[r]:[];return i.end&&i.on?i:new t(i)};if(r.matches=e.match||function(e,t,n){return r.filter([e],t,n).length>0},r.filter=e.filter||function(e,t,n){return r(t,n).filter(function(t){return o.indexOf(e,t)>-1})},\"function\"!=typeof e){var i=e.search;e=function(e,t){return i(t||document,e)}}return r}p._wrap=v._wrap=function(e,t,n){var r=new(n||this._NodeListCtor||p)(e);return t?r._stash(t):r},p._adaptAsMap=function(e,t){return function(){return this.map(h(e,arguments,t))}},p._adaptAsForEach=function(e,t){return function(){return this.forEach(h(e,arguments,t)),this}},p._adaptAsFilter=function(e,t){return function(){return this.filter(h(e,arguments,t))}},p._adaptWithCondition=function(t,n,r){return function(){var o=arguments,i=h(t,o,r);return n.call(r||e.global,o)?this.map(i):(this.forEach(i),this)}},u([\"slice\",\"splice\"],function(e){var t=l[e];v[e]=function(){return this._wrap(t.apply(this,arguments),\"slice\"==e?this:null)}}),u([\"indexOf\",\"lastIndexOf\",\"every\",\"some\"],function(t){var n=o[t];v[t]=function(){return n.apply(e,[this].concat(c.call(arguments,0)))}}),i.extend(f,{constructor:p,_NodeListCtor:p,toString:function(){return this.join(\",\")},_stash:function(e){return this._parent=e,this},on:function(e,t){var n=this.map(function(n){return r(n,e,t)});return n.remove=function(){for(var e=0;e<n.length;e++)n[e].remove()},n},end:function(){return this._parent?this._parent:new this._NodeListCtor(0)},concat:function(e){var t=c.call(this,0),n=o.map(arguments,function(e){return c.call(e,0)});return this._wrap(d.apply(t,n),this)},map:function(e,t){return this._wrap(o.map(this,e,t),this)},forEach:function(e,t){return u(this,e,t),this},filter:function(e){var t=arguments,n=this,r=0;if(\"string\"==typeof e){if(n=m._filterResult(this,t[0]),1==t.length)return n._stash(this);r=1}return this._wrap(o.filter(n,t[r],t[r+1]),this)},instantiate:function(e,t){var n=i.isFunction(e)?e:i.getObject(e);return t=t||{},this.forEach(function(e){new n(t,e)})},at:function(){var e=new this._NodeListCtor(0);return u(arguments,function(t){t<0&&(t=this.length+t),this[t]&&e.push(this[t])},this),e._stash(this)}});var m=g(a,f);return e.query=g(a,function(e){return f(e)}),m.load=function(e,t,n){s.load(e,t,function(e){n(g(e,f))})},e._filterQueryResult=m._filterResult=function(e,t,n){return new f(m.filter(e,t,n))},e.NodeList=m.NodeList=f,m}.apply(null,r),void 0===o||(e.exports=o)},9671(e,t,n){var r,o;n.dj.r;r=[n(1054),n(6356),n.dj.c(e),n(2641),n(6323)],o=function(e,t,n,r,o){var i=0,s=[],a=0,l=function(){i=1,e._postLoad=e.config.afterOnLoad=!0,c()},c=function(){if(!a){for(a=1;i&&(!r||0==r._Q.length)&&(!n.idle||n.idle())&&s.length;){var e=s.shift();try{e()}catch(e){if(e.info=e.message,!n.signal)throw e;n.signal(\"error\",e)}}a=0}};n.on&&n.on(\"idle\",c),r&&(r._onQEmpty=c);var d=e.ready=e.addOnLoad=function(t,n,r){var i=o._toArray(arguments);\"number\"!=typeof t?(r=n,n=t,t=1e3):i.shift(),(r=r?o.hitch.apply(e,i):function(){n()}).priority=t;for(var a=0;a<s.length&&t>=s[a].priority;a++);s.splice(a,0,r),c()};if(t.add(\"dojo-config-addOnLoad\",1),t(\"dojo-config-addOnLoad\")){var u=e.config.addOnLoad;u&&d[o.isArray(u)?\"apply\":\"call\"](e,u)}return r?r(l):l(),d}.apply(null,r),void 0===o||(e.exports=o)},8769(e,t,n){var r,o;n.dj.r;r=[n(9648)],void 0===(o=function(e){return e}.apply(null,r))||(e.exports=o)},2573(e,t,n){var r,o;n.dj.r;r=[n(8212),n(1054),n(6974),n(6356),n(8819)],void 0===(o=function(e,t,n,r){var o;if(r.add(\"activex\",\"undefined\"!=typeof ActiveXObject),r.add(\"dom-parser\",function(e){return\"DOMParser\"in e}),r(\"activex\")){var i,s=[\"Msxml2.DOMDocument.6.0\",\"Msxml2.DOMDocument.4.0\",\"MSXML2.DOMDocument.3.0\",\"MSXML.DOMDocument\"];o=function(e){var t=e.data,o=e.text;function a(e){try{var n=new ActiveXObject(e);n.async=!1,n.loadXML(o),t=n,i=e}catch(e){return!1}return!0}return t&&r(\"dom-qsa2.1\")&&!t.querySelectorAll&&r(\"dom-parser\")&&(t=(new DOMParser).parseFromString(o,\"application/xml\")),t&&t.documentElement||i&&a(i)||n.some(s,a),t}}var a=function(e){return r(\"native-xhr2-blob\")||\"blob\"!==e.options.handleAs||\"undefined\"==typeof Blob?e.xhr.response:new Blob([e.xhr.response],{type:e.xhr.getResponseHeader(\"Content-Type\")})},l={javascript:function(e){return t.eval(e.text||\"\")},json:function(t){return e.parse(t.text||null)},xml:o,blob:a,arraybuffer:a,document:a};function c(e){var t=l[e.options.handleAs];return e.data=t?t(e):e.data||e.text,e}return c.register=function(e,t){l[e]=t},c}.apply(null,r))||(e.exports=o)},5540(e,t,n){var r,o;n.dj.r;r=[t,n(8241),n(1662),n(5625),n(6587),n(6974),n(6323),n(5479),n(6356)],o=function(e,t,n,r,o,i,s,a,l){function c(e){return l(\"native-arraybuffer\")&&e instanceof ArrayBuffer}function d(e){return l(\"native-blob\")&&e instanceof Blob}function u(e){return e&&\"object\"==typeof e&&!function(e){return l(\"native-formdata\")&&e instanceof FormData}(e)&&!function(e){return\"undefined\"!=typeof Element?e instanceof Element:1===e.nodeType}(e)&&!d(e)&&!c(e)}e.deepCopy=function(t,n){for(var r in n){var o=t[r],i=n[r];\"__proto__\"!==r&&o!==i&&(u(i)?\"[object Date]\"===Object.prototype.toString.call(i)?t[r]=new Date(i):s.isArray(i)?t[r]=e.deepCopyArray(i):o&&\"object\"==typeof o?e.deepCopy(o,i):t[r]=e.deepCopy({},i):t[r]=i)}return t},e.deepCopyArray=function(t){for(var n=[],r=0,o=t.length;r<o;r++){var i=t[r];\"object\"==typeof i?n.push(e.deepCopy({},i)):n.push(i)}return n},e.deepCreate=function(t,n){n=n||{};var r,o,i=s.delegate(t);for(r in t)(o=t[r])&&\"object\"==typeof o&&(i[r]=e.deepCreate(o,n[r]));return e.deepCopy(i,n)};var h=Object.freeze||function(e){return e};function f(e){return h(e)}function p(e){return void 0!==e.data?e.data:e.text}e.deferred=function(o,i,l,c,d,u){var v=new r(function(e){return i&&i(v,o),e&&(e instanceof t||e instanceof n)?e:new n(\"Request canceled\",o)});v.response=o,v.isValid=l,v.isReady=c,v.handleResponse=d;var g=v.then(f).otherwise(function(e){throw e.response=o,e});e.notify&&g.then(s.hitch(e.notify,\"emit\",\"load\"),s.hitch(e.notify,\"emit\",\"error\"));var m=g.then(p),y=new a;for(var _ in m)m.hasOwnProperty(_)&&(y[_]=m[_]);return y.response=g,h(y),u&&v.then(function(e){u.call(v,e)},function(e){u.call(v,o,e)}),v.promise=y,v.then=y.then,v},e.addCommonMethods=function(e,t){i.forEach(t||[\"GET\",\"POST\",\"PUT\",\"DELETE\"],function(t){e[(\"DELETE\"===t?\"DEL\":t).toLowerCase()]=function(n,r){return(r=s.delegate(r||{})).method=t,e(n,r)}})},e.parseArgs=function(e,t,n){var r=t.data,i=t.query;return r&&!n&&(\"object\"!=typeof r||l(\"native-xhr2\")&&(c(r)||d(r))||(t.data=o.objectToQuery(r))),i?(\"object\"==typeof i&&(i=o.objectToQuery(i)),t.preventCache&&(i+=(i?\"&\":\"\")+\"request.preventCache=\"+ +new Date)):t.preventCache&&(i=\"request.preventCache=\"+ +new Date),e&&i&&(e+=(~e.indexOf(\"?\")?\"&\":\"?\")+i),{url:e,options:t,getHeader:function(e){return null}}},e.checkStatus=function(e){return(e=e||0)>=200&&e<300||304===e||1223===e||!e}}.apply(null,r),void 0===o||(e.exports=o)},3621(e,t,n){var r,o;n.dj.r;r=[n(5540),n(9608),n(1662),n(6974),n(5075),n.dj.h(\"dom-addeventlistener?:2075\")],void 0===(o=function(e,t,n,r,o,i){var s=null,a=[];function l(){for(var e,n=+new Date,r=0;r<a.length&&(e=a[r]);r++){var o=e.response,i=o.options;e.isCanceled&&e.isCanceled()||e.isValid&&!e.isValid(o)?(a.splice(r--,1),c._onAction&&c._onAction()):e.isReady&&e.isReady(o)?(a.splice(r--,1),e.handleResponse(o),c._onAction&&c._onAction()):e.startTime&&e.startTime+(i.timeout||0)<n&&(a.splice(r--,1),e.cancel(new t(\"Timeout exceeded\",o)),c._onAction&&c._onAction())}c._onInFlight&&c._onInFlight(e),a.length||(clearInterval(s),s=null)}function c(e){e.response.options.timeout&&(e.startTime=+new Date),e.isFulfilled()||(a.push(e),s||(s=setInterval(l,50)),e.response.options.sync&&l())}return c.cancelAll=function(){try{r.forEach(a,function(e){try{e.cancel(new n(\"All requests canceled.\"))}catch(e){}})}catch(e){}},o&&i&&o.doc.attachEvent&&i(o.global,\"unload\",function(){c.cancelAll()}),c}.apply(null,r))||(e.exports=o)},9648(e,t,n){var r,o;n.dj.r;r=[n(8241),n(3621),n(2573),n(5540),n(6356)],void 0===(o=function(e,t,n,r,o){o.add(\"native-xhr\",function(){return\"undefined\"!=typeof XMLHttpRequest}),o.add(\"dojo-force-activex-xhr\",function(){return o(\"activex\")&&\"file:\"===window.location.protocol}),o.add(\"native-xhr2\",function(){if(o(\"native-xhr\")&&!o(\"dojo-force-activex-xhr\")){var e=new XMLHttpRequest;return void 0!==e.addEventListener&&(\"undefined\"==typeof opera||void 0!==e.upload)}}),o.add(\"native-formdata\",function(){return\"undefined\"!=typeof FormData}),o.add(\"native-blob\",function(){return\"undefined\"!=typeof Blob}),o.add(\"native-arraybuffer\",function(){return\"undefined\"!=typeof ArrayBuffer}),o.add(\"native-response-type\",function(){return o(\"native-xhr\")&&void 0!==(new XMLHttpRequest).responseType}),o.add(\"native-xhr2-blob\",function(){if(o(\"native-response-type\")){var e=new XMLHttpRequest;e.open(\"GET\",\"https://dojotoolkit.org/\",!0),e.responseType=\"blob\";var t=e.responseType;return e.abort(),\"blob\"===t}});var i,s,a,l,c={blob:o(\"native-xhr2-blob\")?\"blob\":\"arraybuffer\",document:\"document\",arraybuffer:\"arraybuffer\"};function d(t,o){var i,s=t.xhr;t.status=t.xhr.status;try{t.text=s.responseText}catch(e){}if(\"xml\"===t.options.handleAs&&(t.data=s.responseXML),o)this.reject(o);else{try{n(t)}catch(e){i=e}r.checkStatus(s.status)?i?this.reject(i):this.resolve(t):i?(o=new e(\"Unable to load \"+t.url+\" status: \"+s.status+\" and an error in handleAs: transformation of response\",t),this.reject(o)):(o=new e(\"Unable to load \"+t.url+\" status: \"+s.status,t),this.reject(o))}}function u(e){return this.xhr.getResponseHeader(e)}o(\"native-xhr2\")?(i=function(e){return!this.isFulfilled()},l=function(e,t){t.xhr.abort()},a=function(t,n,r,o){function i(e){n.handleResponse(r)}function s(t){var o=t.target,i=new e(\"Unable to load \"+r.url+\" status: \"+o.status,r);n.handleResponse(r,i)}function a(e,t){r.transferType=e,t.lengthComputable?(r.loaded=t.loaded,r.total=t.total,n.progress(r)):3===r.xhr.readyState&&(r.loaded=\"loaded\"in t?t.loaded:t.position,n.progress(r))}function l(e){return a(\"download\",e)}function c(e){return a(\"upload\",e)}return t.addEventListener(\"load\",i,!1),t.addEventListener(\"error\",s,!1),t.addEventListener(\"progress\",l,!1),o&&t.upload&&t.upload.addEventListener(\"progress\",c,!1),function(){t.removeEventListener(\"load\",i,!1),t.removeEventListener(\"error\",s,!1),t.removeEventListener(\"progress\",l,!1),t.upload.removeEventListener(\"progress\",c,!1),t=null}}):(i=function(e){return e.xhr.readyState},s=function(e){return 4===e.xhr.readyState},l=function(e,t){var n=t.xhr,r=typeof n.abort;\"function\"!==r&&\"object\"!==r&&\"unknown\"!==r||n.abort()});var h,f={data:null,query:null,sync:!1,method:\"GET\"};function p(n,v,g){var m=o(\"native-formdata\")&&v&&v.data&&v.data instanceof FormData,y=r.parseArgs(n,r.deepCreate(f,v),m);n=y.url;var _=!(v=y.options).data&&\"POST\"!==v.method&&\"PUT\"!==v.method;o(\"ie\")<=10&&(n=n.split(\"#\")[0]);var b,w=r.deferred(y,l,i,s,d,function(){b&&b()}),x=y.xhr=p._create();if(!x)return w.cancel(new e(\"XHR was not created\")),g?w:w.promise;y.getHeader=u,a&&(b=a(x,w,y,v.uploadProgress));var N=void 0===v.data?null:v.data,C=!v.sync,j=v.method;try{x.open(j,n,C,v.user||h,v.password||h),v.withCredentials&&(x.withCredentials=v.withCredentials),o(\"native-response-type\")&&v.handleAs in c&&(x.responseType=c[v.handleAs]);var S=v.headers,T=!m&&!_&&\"application/x-www-form-urlencoded\";if(S)for(var E in S)\"content-type\"===E.toLowerCase()?T=S[E]:S[E]&&x.setRequestHeader(E,S[E]);T&&!1!==T&&x.setRequestHeader(\"Content-Type\",T),S&&\"X-Requested-With\"in S||x.setRequestHeader(\"X-Requested-With\",\"XMLHttpRequest\"),r.notify&&r.notify.emit(\"send\",y,w.promise.cancel),x.send(N)}catch(e){w.reject(e)}return t(w),x=null,g?w:w.promise}if(p._create=function(){throw new Error(\"XMLHTTP not available\")},o(\"native-xhr\")&&!o(\"dojo-force-activex-xhr\"))p._create=function(){return new XMLHttpRequest};else if(o(\"activex\"))try{new ActiveXObject(\"Msxml2.XMLHTTP\"),p._create=function(){return new ActiveXObject(\"Msxml2.XMLHTTP\")}}catch(e){try{new ActiveXObject(\"Microsoft.XMLHTTP\"),p._create=function(){return new ActiveXObject(\"Microsoft.XMLHTTP\")}}catch(e){}}return r.addCommonMethods(p),p}.apply(null,r))||(e.exports=o)},5226(e,t,n){var r,o;n.dj.r;r=[n(6356),n.dj.c(e)],o=function(e,t){\"use strict\";if(\"undefined\"!=typeof document){var n=document.createElement(\"div\");e.add(\"dom-qsa2.1\",!!n.querySelectorAll),e.add(\"dom-qsa3\",function(){try{return n.innerHTML=\"<p class='TEST'></p>\",1==n.querySelectorAll(\".TEST:empty\").length}catch(e){}})}var r,o=\"./acme\",i=\"./lite\";return{load:function(n,s,a,l){if(l&&l.isBuild)a();else{var c=t;if(\"?\"==(n=\"css2\"==(n=\"default\"==n?e(\"config-selectorEngine\")||\"css3\":n)||\"lite\"==n?i:\"css2.1\"==n?e(\"dom-qsa2.1\")?i:o:\"css3\"==n?e(\"dom-qsa3\")?i:o:\"acme\"==n?o:(c=s)&&n).charAt(n.length-1)){n=n.substring(0,n.length-1);var d=!0}if(d&&(e(\"dom-compliant-qsa\")||r))return a(r);c([n],function(e){\"./lite\"!=n&&(r=e),a(e)})}}}}.apply(null,r),void 0===o||(e.exports=o)},6178(e,t,n){var r,o;n.dj.r;r=[n(6356),n(1054)],void 0===(o=function(e,t){\"use strict\";var n=document.createElement(\"div\"),r=n.matches||n.webkitMatchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector,o=n.querySelectorAll,i=/([^\\s,](?:\"(?:\\\\.|[^\"])+\"|'(?:\\\\.|[^'])+'|[^,])*)/g;e.add(\"dom-matches-selector\",!!r),e.add(\"dom-qsa\",!!o);var s=function(n,r){if(c&&n.indexOf(\",\")>-1)return c(n,r);var i=r?r.ownerDocument||r:t.doc||document,d=(o?/^([\\w]*)#([\\w\\-]+$)|^(\\.)([\\w\\-\\*]+$)|^(\\w+$)/:/^([\\w]*)#([\\w\\-]+)(?:\\s+(.*))?$|(?:^|(>|.+\\s+))([\\w\\-\\*]+)(\\S*$)/).exec(n);if(r=r||i,d){var u=8===e(\"ie\")&&e(\"quirks\")?r.nodeType===i.nodeType:null!==r.parentNode&&9!==r.nodeType&&r.parentNode===i;if(d[2]&&u){var h;if(!(h=t.byId?t.byId(d[2],i):i.getElementById(d[2]))||d[1]&&d[1]!=h.tagName.toLowerCase())return[];if(r!=i)for(var f=h;f!=r;)if(!(f=f.parentNode))return[];return d[3]?s(d[3],h):[h]}if(d[3]&&r.getElementsByClassName)return r.getElementsByClassName(d[4]);if(d[5]){if(h=r.getElementsByTagName(d[5]),!d[4]&&!d[6])return h;n=(d[4]||\"\")+d[6]}}if(o)return 1===r.nodeType&&\"object\"!==r.nodeName.toLowerCase()?a(r,n,r.querySelectorAll):r.querySelectorAll(n);h||(h=r.getElementsByTagName(\"*\"));for(var p=[],v=0,g=h.length;v<g;v++){var m=h[v];1==m.nodeType&&l(m,n,r)&&p.push(m)}return p},a=function(e,t,n){var r=e,o=e.getAttribute(\"id\"),s=o||\"__dojo__\",a=e.parentNode,l=/^\\s*[+~]/.test(t);if(l&&!a)return[];o?s=s.replace(/'/g,\"\\\\$&\"):e.setAttribute(\"id\",s),l&&a&&(e=e.parentNode);for(var c=t.match(i),d=0;d<c.length;d++)c[d]=\"[id='\"+s+\"'] \"+c[d];t=c.join(\",\");try{return n.call(e,t)}finally{o||r.removeAttribute(\"id\")}};if(!e(\"dom-matches-selector\"))var l=function(){var e=\"div\"==n.tagName?\"toLowerCase\":\"toUpperCase\",t={\"\":function(t){return t=t[e](),function(e){return e.tagName==t}},\".\":function(e){var t=\" \"+e+\" \";return function(n){return n.className.indexOf(e)>-1&&(\" \"+n.className+\" \").indexOf(t)>-1}},\"#\":function(e){return function(t){return t.id==e}}},r={\"^=\":function(e,t){return 0==e.indexOf(t)},\"*=\":function(e,t){return e.indexOf(t)>-1},\"$=\":function(e,t){return e.substring(e.length-t.length,e.length)==t},\"~=\":function(e,t){return(\" \"+e+\" \").indexOf(\" \"+t+\" \")>-1},\"|=\":function(e,t){return 0==(e+\"-\").indexOf(t+\"-\")},\"=\":function(e,t){return e==t},\"\":function(e,t){return!0}};function o(e){return function(t,n){for(;(t=t.parentNode)!=n;)if(e(t,n))return!0}}function i(e){return function(t,n){return t=t.parentNode,e?t!=n&&e(t,n):t==n}}var s={};function a(e,t){return e?function(n,r){return t(n)&&e(n,r)}:t}return function(e,n,l){var c=s[n];if(!c){if(n.replace(/(?:\\s*([> ])\\s*)|(#|\\.)?((?:\\\\.|[\\w-])+)|\\[\\s*([\\w-]+)\\s*(.?=)?\\s*(\"(?:\\\\.|[^\"])+\"|'(?:\\\\.|[^'])+'|(?:\\\\.|[^\\]])*)\\s*\\]/g,function(e,n,s,l,d,u,h){return l?c=a(c,t[s||\"\"](l.replace(/\\\\/g,\"\"))):n?c=(\" \"==n?o:i)(c):d&&(c=a(c,function(e,t,n){var o=t.charAt(0);'\"'!=o&&\"'\"!=o||(t=t.slice(1,-1)),t=t.replace(/\\\\/g,\"\");var i=r[n||\"\"];return function(n){var r=n.getAttribute(e);return r&&i(r,t)}}(d,h,u))),\"\"}))throw new Error(\"Syntax error in query\");if(!c)return!0;s[n]=c}return c(e,l)}}();if(!e(\"dom-qsa\"))var c=function(e,t){for(var n=e.match(i),r=[],o=0;o<n.length;o++){(e=new String(n[o].replace(/\\s*$/,\"\"))).indexOf=escape;for(var a=s(e,t),l=0,c=a.length;l<c;l++){var d=a[l];r[d.sourceIndex]=d}}var u=[];for(o in r)u.push(r[o]);return u};return s.match=r?function(e,t,n){return n&&9!=n.nodeType?a(n,t,function(t){return r.call(e,t)}):r.call(e,t)}:l,s}.apply(null,r))||(e.exports=o)},2616(e,t,n){var r,o;n.dj.r;r=[n(6356)],void 0===(o=function(e){if(e(\"host-browser\")){var t=navigator,n=t.userAgent,r=t.appVersion,o=parseFloat(r);if(e.add(\"air\",n.indexOf(\"AdobeAIR\")>=0),e.add(\"wp\",parseFloat(n.split(\"Windows Phone\")[1])||void 0),e.add(\"msapp\",parseFloat(n.split(\"MSAppHost/\")[1])||void 0),e.add(\"khtml\",r.indexOf(\"Konqueror\")>=0?o:void 0),e.add(\"edge\",parseFloat(n.split(\"Edge/\")[1])||void 0),e.add(\"opr\",parseFloat(n.split(\"OPR/\")[1])||void 0),e.add(\"webkit\",!e(\"wp\")&&!e(\"edge\")&&parseFloat(n.split(\"WebKit/\")[1])||void 0),e.add(\"chrome\",!e(\"edge\")&&!e(\"opr\")&&parseFloat(n.split(\"Chrome/\")[1])||void 0),e.add(\"android\",!e(\"wp\")&&parseFloat(n.split(\"Android \")[1])||void 0),e.add(\"safari\",!(r.indexOf(\"Safari\")>=0)||e(\"wp\")||e(\"chrome\")||e(\"android\")||e(\"edge\")||e(\"opr\")?void 0:parseFloat(r.split(\"Version/\")[1])),e.add(\"mac\",r.indexOf(\"Macintosh\")>=0),e.add(\"quirks\",\"BackCompat\"==document.compatMode),!e(\"wp\")&&n.match(/(iPhone|iPod|iPad)/)){var i=RegExp.$1.replace(/P/,\"p\"),s=n.match(/OS ([\\d_]+)/)?RegExp.$1:\"1\",a=parseFloat(s.replace(/_/,\".\").replace(/_/g,\"\"));e.add(i,a),e.add(\"ios\",a)}if(e.add(\"bb\",(n.indexOf(\"BlackBerry\")>=0||n.indexOf(\"BB10\")>=0)&&parseFloat(n.split(\"Version/\")[1])||void 0),e.add(\"trident\",parseFloat(r.split(\"Trident/\")[1])||void 0),e.add(\"svg\",\"undefined\"!=typeof SVGAngle),!e(\"webkit\")){if(n.indexOf(\"Opera\")>=0&&e.add(\"opera\",o>=9.8&&parseFloat(n.split(\"Version/\")[1])||o),!(n.indexOf(\"Gecko\")>=0)||e(\"wp\")||e(\"khtml\")||e(\"trident\")||e(\"edge\")||e.add(\"mozilla\",o),e(\"mozilla\")&&e.add(\"ff\",parseFloat(n.split(\"Firefox/\")[1]||n.split(\"Minefield/\")[1])||void 0),document.all&&!e(\"opera\")){var l=parseFloat(r.split(\"MSIE \")[1])||void 0,c=document.documentMode;c&&5!=c&&Math.floor(l)!=c&&(l=c),e.add(\"ie\",l)}e.add(\"wii\",\"undefined\"!=typeof opera&&opera.wiiremote)}}return e}.apply(null,r))||(e.exports=o)},7539(e,t,n){var r,o;n.dj.r;r=[n(1054),n(6323)],o=function(e,t){var n=/[&<>'\"\\/]/g,r={\"&\":\"&\",\"<\":\"<\",\">\":\">\",'\"':\""\",\"'\":\"'\",\"/\":\"/\"},o={};return t.setObject(\"dojo.string\",o),o.escape=function(e){return e?e.replace(n,function(e){return r[e]}):\"\"},o.codePointAt=String.prototype.codePointAt?function(e,t){return String.prototype.codePointAt.call(e,t)}:function(e,t){if(null==e)throw new TypeError(\"codePointAt called on null or undefined\");var n,r,o,i;if(n=(e=String(e)).length,(i=t?Number(t):0)!=i&&(i=0),!(i<0||i>=n))return(r=e.charCodeAt(i))>=55296&&r<=56319&&n>i+1&&(o=e.charCodeAt(i+1))>=56320&&o<=57343?1024*(r-55296)+o-56320+65536:r},o.fromCodePoint=String.fromCodePoint||function(){var e,t,n=[],r=0,o=\"\";for(t=0,len=arguments.length;t!==len;++t){if(!((e=+arguments[t])<1114111&&e>>>0===e))throw RangeError(\"Invalid code point: \"+e);e<=65535?r=n.push(e):(e-=65536,r=n.push(55296+(e>>10),e%1024+56320)),r>=16383&&(o+=String.fromCharCode.apply(null,n),n.length=0)}return o+String.fromCharCode.apply(null,n)},o.rep=function(e,t){if(t<=0||!e)return\"\";for(var n=[];1&t&&n.push(e),t>>=1;)e+=e;return n.join(\"\")},o.pad=function(e,t,n,r){n||(n=\"0\");var i=String(e),s=o.rep(n,Math.ceil((t-i.length)/n.length));return r?i+s:s+i},o.substitute=function(n,r,o,i){return i=i||e.global,o=o?t.hitch(i,o):function(e){return e},n.replace(/\\$\\{([^\\s\\:\\}]*)(?:\\:([^\\s\\:\\}]+))?\\}/g,function(e,n,s){if(\"\"==n)return\"$\";var a=t.getObject(n,!1,r);s&&(a=t.getObject(s,!1,i).call(i,a,n));var l=o(a,n);if(void 0===l)throw new Error('string.substitute could not find key \"'+n+'\" in template');return l.toString()})},o.trim=String.prototype.trim?t.trim:function(e){for(var t=(e=e.replace(/^\\s+/,\"\")).length-1;t>=0;t--)if(/\\S/.test(e.charAt(t))){e=e.substring(0,t+1);break}return e},o}.apply(null,r),void 0===o||(e.exports=o)},9445(e,t,n){var r,o;n.dj.r;r=[n(1054),n.dj.c(e),n(6356),n(8769)],o=function(e,t,n,r){var o;n(\"host-browser\")?o=function(e,t,n){r(e,{sync:!!t,headers:{\"X-Requested-With\":null}}).then(n)}:t.getText?o=t.getText:console.error(\"dojo/text plugin failed to load because loader does not support getText\");var i={},s=function(e){if(e){var t=(e=e.replace(/^\\s*<\\?xml(\\s)+version=[\\'\\\"](\\d)*.(\\d)*[\\'\\\"](\\s)*\\?>/im,\"\")).match(/<body[^>]*>\\s*([\\s\\S]+)\\s*<\\/body>/im);t&&(e=t[1])}else e=\"\";return e},a={},l={};return e.cache=function(e,n,r){var a;\"string\"==typeof e?/\\//.test(e)?(a=e,r=n):a=t.toUrl(e.replace(/\\./g,\"/\")+(n?\"/\"+n:\"\")):(a=e+\"\",r=n);var l=null!=r&&\"string\"!=typeof r?r.value:r,c=r&&r.sanitize;return\"string\"==typeof l?(i[a]=l,c?s(l):l):null===l?(delete i[a],null):(a in i||o(a,!0,function(e){i[a]=e}),c?s(i[a]):i[a])},{dynamic:!0,normalize:function(e,t){var n=e.split(\"!\"),r=n[0];return(/^\\./.test(r)?t(r):r)+(n[1]?\"!\"+n[1]:\"\")},load:function(e,t,n){var r=e.split(\"!\"),c=r.length>1,d=r[0],u=t.toUrl(r[0]),h=\"url:\"+u,f=a,p=function(e){n(c?s(e):e)};if(d in i?f=i[d]:t.cache&&h in t.cache?f=t.cache[h]:u in i&&(f=i[u]),f===a)if(l[u])l[u].push(p);else{var v=l[u]=[p];o(u,!t.async,function(e){i[d]=i[u]=e;for(var t=0;t<v.length;)v[t++](e);delete l[u]})}else p(f)}}}.apply(null,r),void 0===o||(e.exports=o)},7111(e,t,n){var r,o;n.dj.r;r=[n(9925)],o=function(e){var t=new e;return{publish:function(e,n){return t.emit.apply(t,arguments)},subscribe:function(e,n){return t.on.apply(t,arguments)}}}.apply(null,r),void 0===o||(e.exports=o)},7443(e,t,n){var r,o;n.dj.r;r=[n(1054),n(6566),n(2284),n(8945),n(6323),n(2075),n(6356),n(8471),n(2641),n(5075)],void 0===(o=function(e,t,n,r,o,i,s,a,l,c){s(\"ios\");var d,u=s(\"pointer-events\")||s(\"MSPointer\"),h=function(){var e={};for(var t in{down:1,move:1,up:1,cancel:1,over:1,out:1})e[t]=s(\"MSPointer\")?\"MSPointer\"+t.charAt(0).toUpperCase()+t.slice(1):\"pointer\"+t;return e}(),f=s(\"touch-events\");function p(e,t,n){return u&&n?function(e,t){return i(e,n,t)}:f?function(n,r){var o=i(n,t,function(e){r.call(this,e),d=(new Date).getTime()}),s=i(n,e,function(e){(!d||(new Date).getTime()>d+1e3)&&r.call(this,e)});return{remove:function(){o.remove(),s.remove()}}}:function(t,n){return i(t,e,n)}}var v={press:p(\"mousedown\",\"touchstart\",h.down),move:p(\"mousemove\",\"dojotouchmove\",h.move),release:p(\"mouseup\",\"dojotouchend\",h.up),cancel:p(a.leave,\"touchcancel\",u?h.cancel:null),over:p(\"mouseover\",\"dojotouchover\",h.over),out:p(\"mouseout\",\"dojotouchout\",h.out),enter:a._eventHandler(p(\"mouseover\",\"dojotouchover\",h.over)),leave:a._eventHandler(p(\"mouseout\",\"dojotouchout\",h.out))};return s(\"extend-dojo\")&&(e.touch=v),v}.apply(null,r))||(e.exports=o)},2085(e,t,n){var r,o;n.dj.r;r=[n(2685),n(6323),n(2641),n(2616),n(5075)],void 0===(o=function(e,t,n,r,o){var i=o.doc.documentElement,s=r(\"ie\"),a=r(\"trident\"),l=r(\"opera\"),c=Math.floor,d=r(\"ff\"),u=e.boxModel.replace(/-/,\"\"),h={dj_quirks:r(\"quirks\"),dj_opera:l,dj_khtml:r(\"khtml\"),dj_webkit:r(\"webkit\"),dj_safari:r(\"safari\"),dj_chrome:r(\"chrome\"),dj_edge:r(\"edge\"),dj_gecko:r(\"mozilla\"),dj_ios:r(\"ios\"),dj_android:r(\"android\")};s&&(h.dj_ie=!0,h[\"dj_ie\"+c(s)]=!0,h.dj_iequirks=r(\"quirks\")),a&&(h.dj_trident=!0,h[\"dj_trident\"+c(a)]=!0),d&&(h[\"dj_ff\"+c(d)]=!0),h[\"dj_\"+u]=!0;var f=\"\";for(var p in h)h[p]&&(f+=p+\" \");return i.className=t.trim(i.className+\" \"+f),n(function(){if(!e.isBodyLtr()){var n=\"dj_rtl dijitRtl \"+f.replace(/ /g,\"-rtl \");i.className=t.trim(i.className+\" \"+n+\"dj_rtl dijitRtl \"+f.replace(/ /g,\"-rtl \"))}}),r}.apply(null,r))||(e.exports=o)},3534(e,t,n){var r,o;n.dj.r;r=[n(5625),n(5479)],o=function(e,t){\"use strict\";return function(n,r,o,i){var s=n&&\"function\"==typeof n.then,a=s&&n instanceof t;if(!s)return arguments.length>1?r?r(n):n:(new e).resolve(n);if(!a){var l=new e(n.cancel);n.then(l.resolve,l.reject,l.progress),n=l.promise}return r||o||i?n.then(r,o,i):n}}.apply(null,r),void 0===o||(e.exports=o)},3930(e,t,n){var r,o;n.dj.r;r=[n(6323),n(2616),n(5075),n(2284),n(2685),n(1248),n(28)],void 0===(o=function(e,t,n,r,o,i,s){t.add(\"rtl-adjust-position-for-verticalScrollBar\",function(e,t){var r=n.body(t),i=s.create(\"div\",{style:{overflow:\"scroll\",overflowX:\"visible\",direction:\"rtl\",visibility:\"hidden\",position:\"absolute\",left:\"0\",top:\"0\",width:\"64px\",height:\"64px\"}},r,\"last\"),a=s.create(\"div\",{style:{overflow:\"hidden\",direction:\"ltr\"}},i,\"last\"),l=0!=o.position(a).x;return i.removeChild(a),r.removeChild(i),l}),t.add(\"position-fixed-support\",function(e,t){var r=n.body(t),i=s.create(\"span\",{style:{visibility:\"hidden\",position:\"fixed\",left:\"1px\",top:\"1px\"}},r,\"last\"),a=s.create(\"span\",{style:{position:\"fixed\",left:\"0\",top:\"0\"}},i,\"last\"),l=o.position(a).x!=o.position(i).x;return i.removeChild(a),r.removeChild(i),l});var a={getBox:function(e){var t,r,i=\"BackCompat\"==(e=e||n.doc).compatMode?n.body(e):e.documentElement,s=o.docScroll(e);return t=i.clientWidth,r=i.clientHeight,{l:s.x,t:s.y,w:t,h:r}},get:function(e){if(t(\"ie\")&&a!==document.parentWindow){e.parentWindow.execScript(\"document._parentWindow = window;\",\"Javascript\");var n=e._parentWindow;return e._parentWindow=null,n}return e.parentWindow||e.defaultView},scrollIntoView:function(e,s){try{var a=(e=r.byId(e)).ownerDocument||n.doc,l=n.body(a),c=a.documentElement||l.parentNode,d=t(\"ie\")||t(\"trident\"),u=t(\"webkit\");if(e==l||e==c)return;if(!(t(\"mozilla\")||d||u||t(\"opera\")||t(\"trident\")||t(\"edge\"))&&\"scrollIntoView\"in e)return void e.scrollIntoView(!1);var h=\"BackCompat\"==a.compatMode,f=Math.min(l.clientWidth||c.clientWidth,c.clientWidth||l.clientWidth),p=Math.min(l.clientHeight||c.clientHeight,c.clientHeight||l.clientHeight),v=u||h?l:c,g=s||o.position(e),m=e.parentNode,y=function(e){return!(d<=6||7==d&&h)&&(t(\"position-fixed-support\")&&\"fixed\"==i.get(e,\"position\").toLowerCase())},_=this,b=function(e,t,n){\"BODY\"==e.tagName||\"HTML\"==e.tagName?_.get(e.ownerDocument).scrollBy(t,n):(t&&(e.scrollLeft+=t),n&&(e.scrollTop+=n))};if(y(e))return;for(;m;){m==l&&(m=v);var w=o.position(m),x=y(m),N=\"rtl\"==i.getComputedStyle(m).direction.toLowerCase();if(m==v)w.w=f,w.h=p,v==c&&(d||t(\"trident\"))&&N&&(w.x+=v.offsetWidth-w.w),w.x=0,w.y=0;else{var C=o.getPadBorderExtents(m);w.w-=C.w,w.h-=C.h,w.x+=C.l,w.y+=C.t;var j=m.clientWidth,S=w.w-j;j>0&&S>0&&(N&&t(\"rtl-adjust-position-for-verticalScrollBar\")&&(w.x+=S),w.w=j),j=m.clientHeight,S=w.h-j,j>0&&S>0&&(w.h=j)}x&&(w.y<0&&(w.h+=w.y,w.y=0),w.x<0&&(w.w+=w.x,w.x=0),w.y+w.h>p&&(w.h=p-w.y),w.x+w.w>f&&(w.w=f-w.x));var T,E,M=g.x-w.x,A=g.y-w.y,P=M+g.w-w.w,R=A+g.h-w.h;P*M>0&&(m.scrollLeft||m==v||m.scrollWidth>m.offsetHeight)&&(T=Math[M<0?\"max\":\"min\"](M,P),N&&(8==d&&!h||t(\"trident\")>=5)&&(T=-T),E=m.scrollLeft,b(m,T,0),T=m.scrollLeft-E,g.x-=T),R*A>0&&(m.scrollTop||m==v||m.scrollHeight>m.offsetHeight)&&(T=Math.ceil(Math[A<0?\"max\":\"min\"](A,R)),E=m.scrollTop,b(m,0,T),T=m.scrollTop-E,g.y-=T),m=m!=v&&!x&&m.parentNode}}catch(t){console.error(\"scrollIntoView: \"+t),e.scrollIntoView(!1)}}};return t(\"extend-dojo\")&&e.setObject(\"dojo.window\",a),a}.apply(null,r))||(e.exports=o)},2894(e,t){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.BUILD_VERSION=t.PKG_VERSION=t.PKG_NAME=void 0,t.PKG_NAME=\"@hpcc-js/dgrid-shim\",t.PKG_VERSION=\"3.5.1\",t.BUILD_VERSION=\"3.5.1\"},4808(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.Pagination=t.GridHelper=void 0;var r=n(8301),o=n(6937),i=n(655),s=n(6345),a=n(4203),l=n(8945);t.GridHelper=s(null,{allowTextSelection:!0,noDataMessage:\"<span class='dojoxGridNoData'>...empty...</span>\",loadingMessage:\"<span class='dojoxGridNoData'>loading...</span>\",postCreate:function e(t){this.inherited(e,arguments);var n=this,r=0,o=null,s=!1;this.headerNode.addEventListener(\"mousedown\",function(e){var t=e.target;if(t.classList.contains(\"dgrid-resize-handle\")){var i=t.columnId,a=Date.now();if(i===o&&a-r<=300){r=0,o=null,e.stopPropagation(),e.preventDefault();var l=n.columns[i];if(!l)return;s=!0,n.domNode.dispatchEvent(new CustomEvent(\"dgrid-column-autofit\",{detail:l,bubbles:!0,cancelable:!0}))}else r=a,o=i}},{capture:!0}),this.headerNode.addEventListener(\"click\",function(e){s&&(s=!1,e.stopPropagation(),e.preventDefault())},{capture:!0}),this.__hpcc_tooltip_header=new i({connectId:[this.id],selector:\".dgrid-resize-header-container\",showDelay:400,getContent:function(e){return e.offsetWidth<e.scrollWidth-4?e.innerHTML:\"\"}}),this.__hpcc_tooltip_header.position=[\"above-centered\",\"below-centered\",\"before-centered\",\"after-centered\"],this.__hpcc_tooltip=new i({connectId:[this.id],selector:\"td\",showDelay:400,getContent:function(e){return e.offsetWidth<=e.scrollWidth?e.innerHTML:\"\"}}),this.__hpcc_tooltip.position=[\"above-centered\",\"below-centered\",\"before-centered\",\"after-centered\"]},refresh:function e(t){this.inherited(e,arguments,[t||{keepScrollPosition:!0,keepCurrentPage:!0}])},clearSelection:function e(){this.inherited(e,arguments),a(\"input[type=checkbox]\",this.domNode).forEach(function(e){e.checked=!1,e.indeterminate=!1})},applyWidth:function(e,t){var n,r=null===(n=this._columnSizes)||void 0===n?void 0:n[e];(null==r?void 0:r.set)?r.set(\"width\",t):this.styleColumn(e,\"width: \".concat(t))},resizeColumn:function(e,t){var n,r;this.applyWidth(e,\"\".concat(t,\"px\"));var o=null===(r=null===(n=this._getResizedColumnWidths)||void 0===n?void 0:n.call(this))||void 0===r?void 0:r.lastColId;o&&o!==e&&this.applyWidth(o,\"auto\"),this.resize()}});t.Pagination=s([o],{refresh:function(e){var t=this,n=e&&e.keepCurrentPage&&Math.min(this._currentPage,Math.ceil(this._total/this.rowsPerPage))||1;return r.prototype.refresh.apply(this,arguments),this.gotoPage(n).then(function(e){return t._emitRefreshComplete(),e})},_updateNavigation:function e(t){var n;if(this.inherited(e,arguments),t>=0x7ffffffffffffc00){a(\".dgrid-page-link:last-child\",this.paginationNavigationNode).forEach(function(e){l.toggle(e,\"dgrid-page-disabled\",!0),isNaN(parseInt(e.innerText,10))||(e.innerText=\"???\"),e.tabIndex=-1});var r=a(\".dgrid-status\",this.paginationNode)[0];r.innerText=null===(n=null==r?void 0:r.innerText)||void 0===n?void 0:n.replace(/[0-9]{7,}/,\"unknown\")}}})},2090(e,t,n){\"use strict\";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!(\"get\"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)\"default\"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,\"__esModule\",{value:!0}),t.ColumnSetGrid=t.PagingGrid=t.Grid=t.QueryResults=t.Memory=t.domConstruct=t.Deferred=void 0,o(n(2894),t);var i=n(6345),s=n(5625),a=n(28);t.Deferred=s,t.domConstruct=a;var l=n(5907),c=n(2626);t.Memory=l,t.QueryResults=c;var d=n(1540),u=n(5602),h=n(9173),f=n(2348),p=n(1996),v=n(5533),g=n(297),m=n(4481),y=n(4808);t.Grid=i(\"Grid\",[u,h,f,v,g,y.GridHelper]),t.Grid.prototype.i18nPagination=m.root,t.PagingGrid=i(\"PagingGrid\",[d,y.Pagination,h,f,v,g,y.GridHelper]),t.PagingGrid.prototype.i18nPagination=m.root,t.ColumnSetGrid=i(\"ColumnSetGrid\",[u,p,h,f,v,y.GridHelper]),t.ColumnSetGrid.prototype.i18nPagination=m.root}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};if(!(e in __webpack_modules__)){delete __webpack_module_cache__[e];var r=new Error(\"Cannot find module '\"+e+\"'\");throw r.code=\"MODULE_NOT_FOUND\",r}return __webpack_modules__[e].call(n.exports,n,n.exports,__webpack_require__),n.loaded=!0,n.exports}__webpack_require__.m=__webpack_modules__,function(){function e(e,t){return a.require.toUrl(e,t)}function t(e,t){return a.require.toAbsMid(e,t)}function n(e,t,r){return i(e,t,r,0,n)}function r(e){for(var t in e)n.absMids[t]=e[t],n.absMidsById[e[t]]||(n.absMidsById[e[t]]=t)}function o(e,r,o,i){var s;if((e=e.split(\"!\").map(function(e){return\".\"!==e.charAt(0)||r?t(e,r?{mid:r}:null):e}).join(\"!\"))in n.absMids&&__webpack_require__.m[n.absMids[e]])if(o){var a=__webpack_module_cache__[n.absMids[e]];s=a&&(i?a:a.exports)}else s=__webpack_require__(n.absMids[e]);if(!s)throw new Error(\"Module not found: \"+e);return s}function i(e,t,n,r,i){var s={}.toString.call(e);if(\"[object String]\"===s){var a=o(e,r,!(!1===n));if(\"object\"==typeof a&&a.__DOJO_WEBPACK_DEFINE_PROMISE__)throw new Error(\"Module not found: \"+e);return a}if(\"[object Object]\"===s)throw new Error(\"Require config is not supported by WebPack\");if(\"[object Array]\"===s){var l=[],c=t,d=[];if(e.forEach(function(e){try{l.push(o(e,r))}catch(t){d.push({mid:e,error:t})}}),0===d.length)c&&c.apply(this,l);else{var u=new Error(\"findModules\");u.src=\"dojo-webpack-plugin\",u.info=d,i.signal(\"error\",u)}return i}throw new Error(\"Unsupported require call\")}n.toUrl=e,n.toAbsMid=t,n.absMids={},n.absMidsById=[],n.async=1;var s=this||window;if(r({\"dojo/_base/declare\":6345,\"dojo/_base/kernel\":1054,\"dojo/global\":1925,\"dojo/has\":6356,\"dojo/_base/config\":7361,\"dojo/_base/lang\":6323,\"dojo/sniff\":2616,\"dojo/Deferred\":5625,\"dojo/errors/CancelError\":1662,\"dojo/errors/create\":4332,\"dojo/promise/Promise\":5479,\"dojo/promise/instrumentation\":2236,\"dojo/promise/tracer\":3185,\"dojo/Evented\":9925,\"dojo/aspect\":6566,\"dojo/on\":2075,\"dojo/_base/array\":6974,\"dojo/dom-construct\":28,\"dojo/_base/window\":5075,\"dojo/dom\":2284,\"dojo/dom-attr\":7878,\"dojo/dom-style\":1248,\"dojo/dom-prop\":5244,\"dojo/_base/connect\":5641,\"dojo/topic\":7111,\"dojo/_base/event\":3503,\"dojo/dom-geometry\":2685,\"dojo/mouse\":8471,\"dojo/_base/sniff\":3927,\"dojo/keys\":4266,\"dojo-dstore/Memory\":5907,\"dojo-dstore/Store\":1603,\"dojo/when\":3534,\"dojo-dstore/QueryMethod\":2219,\"dojo-dstore/Filter\":8942,\"dojo-dstore/Promised\":6739,\"dojo-dstore/QueryResults\":2626,\"dojo-dstore/SimpleQuery\":3060,\"dgrid/Grid\":1540,\"dojo/dom-class\":8945,\"dgrid/List\":4624,\"dojo/query\":1172,\"dojo/selector/_loader\":5226,\"dojo/selector/lite\":6178,\"dojo/selector/_loader!default\":6178,\"dgrid/util/misc\":4975,\"dgrid/OnDemandGrid\":5602,\"dgrid/OnDemandList\":6850,\"dgrid/_StoreMixin\":8301,\"dgrid/Keyboard\":9173,\"dgrid/Selection\":2348,\"dgrid/util/touch\":5892,\"dgrid/ColumnSet\":1996,\"dgrid/extensions/ColumnResizer\":5533,\"dojo/_base/html\":1142,\"dgrid/extensions/CompoundColumns\":297,\"dgrid/extensions/nls/pagination\":4481,\"dgrid/extensions/Pagination\":6937,\"dojo/string\":7539,\"dojo/i18n!dgrid/extensions/nls/pagination\":1442,\"dojo/i18n\":3878,\"dojo/_base/xhr\":225,\"dojo/io-query\":6587,\"dojo/dom-form\":3159,\"dojo/json\":8212,\"dojo/_base/Deferred\":280,\"dojo/_base/json\":4861,\"dojo/request/watch\":3621,\"dojo/request/util\":5540,\"dojo/errors/RequestError\":8241,\"dojo/errors/RequestTimeoutError\":9608,\"dojo/request/default!\":9648,\"dojo/request/xhr\":9648,\"dojo/request/handlers\":2573,\"dijit/Tooltip\":655,\"dojo/_base/fx\":5577,\"dojo/_base/Color\":1692,\"dijit/_base/manager\":9600,\"dijit/registry\":7601,\"dijit/main\":231,\"dijit/place\":1019,\"dijit/Viewport\":1600,\"dojo/domReady\":2641,\"dojo/window\":3930,\"dijit/_Widget\":3549,\"dojo/ready\":9671,\"dijit/_WidgetBase\":3068,\"dojo/Stateful\":4062,\"dijit/Destroyable\":6510,\"dijit/_BidiMixin\":5250,\"dijit/_OnDijitClickMixin\":8709,\"dijit/a11yclick\":8240,\"dojo/touch\":7443,\"dijit/_FocusMixin\":4368,\"dijit/focus\":7304,\"dijit/a11y\":3050,\"dojo/uacss\":2085,\"dijit/hccss\":664,\"dojo/hccss\":9276,\"dijit/_TemplatedMixin\":998,\"dojo/cache\":4642,\"dojo/text\":9445,\"dojo/request\":8769,\"dijit/_AttachMixin\":5659,\"dijit/BackgroundIframe\":610,\"dojo/text!dijit/templates/Tooltip.html\":9409,\"dojo/_base/query\":4203,\"dojo/_base/NodeList\":6659,\"dojo/NodeList-dom\":8288}),s.require=n,(self.webpackChunk_hpcc_js_dgrid_shim=self.webpackChunk_hpcc_js_dgrid_shim||[]).registerAbsMids=r,__webpack_require__.dj&&\"dojo-webpack-plugin\"!==__webpack_require__.dj.name)throw new Error(\"__webpack_require__.dj name collision.\");__webpack_require__.dj={name:\"dojo-webpack-plugin\",r:n,c:function(r){if(!r)return n;var o=r.absMid;if(!o&&n.absMidsById[r.id]&&(o=n.absMidsById[r.id]),!o)return n;var s=function(e,t,r){return i(e,t,r,o,n)};for(var a in n)n.hasOwnProperty(a)&&(s[a]=n[a]);return s.toUrl=function(t){return e(t,o?{mid:o}:null)},s.toAbsMid=function(e){return t(e,o?{mid:o}:null)},n.undef&&(s.undef=function(e){n.undef(e,o)}),s},m:function(e){if(e.absMid)return e;var t={i:e.id},r=n.absMidsById[e.id];return r&&(t.id=t.absMid=r),Object.defineProperty(t,\"exports\",{get:function(){return e.exports},set:function(t){e.exports=t},enumerable:!0,configurable:!0}),t},h:function(e){var t=o(\"dojo/has\",null,!1).normalize(e,function(e){return e});return t&&__webpack_require__(t)||void 0}};var a=Object.create(s,{document:{value:s.document}});Object.defineProperties(a,{window:{value:a},global:{value:a}}),a.define=a.require=void 0,s.dojoConfig=s.dojoConfig||{};var l=function(e,t){for(var n in t)e[n]=t[n];return e}(s.dojoConfig,{baseUrl:\".\",deps:[\"lib/index\"],async:!0,has:{\"dojo-config-api\":!1},selectorEngine:\"lite\",fixupUrl:function(e){return/\\/(dojo|dijit|dojox)\\/.*\\.js$/.test(e)&&(e+=\".uncompressed.js\"),e}}),c={hasCache:{webpack:1,\"host-browser\":1,dom:1,\"dojo-loader\":1,\"dojo-has-api\":1,\"dojo-dom-ready-api\":1,\"dojo-sniff\":1,\"dojo-test-sniff\":1,\"config-deferredInstrumentation\":1,\"config-tlmSiblingOfDojo\":1},paths:{js:\"js\",theme:\"theme\",css:\"//chuckdumont.github.io/dojo-css-plugin/1.0.0/css\"},pathsMapProg:[[\"theme\",\"theme\",/^theme(\\/|$)/,5],[\"css\",\"//chuckdumont.github.io/dojo-css-plugin/1.0.0/css\",/^css(\\/|$)/,3],[\"js\",\"js\",/^js(\\/|$)/,2]],packs:{dojo:{main:\"main\",name:\"dojo\",location:\"./dist/dojo\",lib:\".\"},dijit:{main:\"main\",name:\"dijit\",location:\"./dist/dijit\",lib:\".\"},dojox:{main:\"main\",name:\"dojox\",location:\"./dist/dojox\",lib:\".\"},\"dijit-themes\":{main:\"main\",name:\"dijit-themes\",location:\"./dist/dijit-themes\",lib:\".\"},dgrid:{main:\"main\",name:\"dgrid\",location:\"./dist/dgrid\",lib:\".\"},dstore:{main:\"main\",name:\"dstore\",location:\"./dist/dojo-dstore\",lib:\".\"}},aliases:[],mapProgs:[],cacheBust:void 0,modules:{},cache:{}};function t(e,t){var n=a.require.originalToAbsMid(e,t);if(n.indexOf(\"/\")===n.length-1){var r=n.substring(0,n.length-1),o=a.require.packs[r];o&&o.realMain&&(n=r)}return n}function e(e,t){var n=a.require.originalToUrl(e,t),r=a.require.packs[e];if(r&&r.realMain){var o=n.split(\"?\");/(^\\/)|(\\:)/.test(r.realMain)?o[0]=r.realMain:o[0]=o[0]+\"/\"+r.realMain,n=o.join(\"?\")}return n}__webpack_require__(4781).call(a,l,c,a,a),a.require.baseUrl=\"./\",Object.keys(a.require.packs).forEach(function(e){var t=a.require.packs[e];(/(^\\/)|(\\:)/.test(t.main)||t.main.split(\"/\").reduce(function(e,t){return e<0||\".\"===t?e:\"..\"===t?--e:++e},0)<=0)&&void 0===t.realMain&&(t.realMain=t.main,t.main=\"\")}),a.require.originalToAbsMid=a.require.toAbsMid,a.require.originalToUrl=a.require.toUrl,a.require.toAbsMid=t,a.require.toUrl=e,[\"baseUrl\",\"has\",\"rawConfig\",\"on\",\"signal\"].forEach(function(e){n[e]=a.require[e]});var d=s.webpackChunk_hpcc_js_dgrid_shim.absMidsWaiting;d&&(d.forEach(r),delete s.webpackChunk_hpcc_js_dgrid_shim.absMidsWaiting)}();var __webpack_exports__=__webpack_require__(2090);return __webpack_exports__})());\n//# sourceMappingURL=index.min.js.map");
|
|
8
|
+
globalThis["@hpcc-js/dgrid-shim"] || (l(globalThis), globalThis["@hpcc-js/dgrid-shim"] || console.error("dgrid-shim failed to load from inlined bundle"));
|
|
9
|
+
var u = globalThis["@hpcc-js/dgrid-shim"].Deferred, d = globalThis["@hpcc-js/dgrid-shim"].Memory, f = globalThis["@hpcc-js/dgrid-shim"].QueryResults, p = globalThis["@hpcc-js/dgrid-shim"].Grid, m = globalThis["@hpcc-js/dgrid-shim"].PagingGrid, h = globalThis["@hpcc-js/dgrid-shim"].ColumnSetGrid, g = globalThis["@hpcc-js/dgrid-shim"].domConstruct;
|
|
10
|
+
//#endregion
|
|
11
|
+
//#region src/RowFormatter.ts
|
|
12
|
+
function entitiesEncode(e) {
|
|
13
|
+
return String(e).replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """);
|
|
14
|
+
}
|
|
15
|
+
function safeEncode(e) {
|
|
16
|
+
switch (Object.prototype.toString.call(e)) {
|
|
17
|
+
case "[object Undefined]":
|
|
18
|
+
case "[object Boolean]":
|
|
19
|
+
case "[object Number]": return e;
|
|
20
|
+
case "[object String]": return entitiesEncode(e);
|
|
21
|
+
default: console.warn("Unknown cell type: " + Object.prototype.toString.call(e));
|
|
22
|
+
}
|
|
23
|
+
return e;
|
|
24
|
+
}
|
|
25
|
+
function isArray(e) {
|
|
26
|
+
return e instanceof Array;
|
|
27
|
+
}
|
|
28
|
+
var _ = "<br><hr class='dgrid-fakeline'>", v = "<br><hr class='dgrid-fakeline' style='visibility: hidden'>", RowFormatter = class {
|
|
29
|
+
_renderHtml;
|
|
30
|
+
_columns;
|
|
31
|
+
_flattenedColumns = [];
|
|
32
|
+
_columnIdx = {};
|
|
33
|
+
_formattedRow = {};
|
|
34
|
+
constructor(e, t) {
|
|
35
|
+
this._renderHtml = t, this._columns = e, this.flattenColumns(e);
|
|
36
|
+
}
|
|
37
|
+
flattenColumns(e) {
|
|
38
|
+
for (let t of e) this.flattenColumn(t);
|
|
39
|
+
}
|
|
40
|
+
flattenColumn(e) {
|
|
41
|
+
if (e.children) for (let t of e.children) this.flattenColumn(t);
|
|
42
|
+
else this._columnIdx[e.field] = this._flattenedColumns.length, this._flattenedColumns.push(e.field);
|
|
43
|
+
}
|
|
44
|
+
format(e) {
|
|
45
|
+
return this._formattedRow = {}, this.formatRow(this._columns, e), this.row();
|
|
46
|
+
}
|
|
47
|
+
calcDepth(e, t) {
|
|
48
|
+
let n = 1;
|
|
49
|
+
for (let r of e) if (r.children && t[r.leafID]) {
|
|
50
|
+
let e = 0, i = [];
|
|
51
|
+
isArray(t[r.leafID]) ? i = t[r.leafID] : isArray(t[r.leafID].Row) && (i = t[r.leafID].Row);
|
|
52
|
+
for (let t of i) e += this.calcDepth(r.children, t);
|
|
53
|
+
n = Math.max(n, e);
|
|
54
|
+
}
|
|
55
|
+
return n;
|
|
56
|
+
}
|
|
57
|
+
formatCell(e, t, n) {
|
|
58
|
+
if (e.children) {
|
|
59
|
+
let n = 0;
|
|
60
|
+
isArray(t) || (t = isArray(t.Row) ? t.Row : [t]);
|
|
61
|
+
for (let r of t) n = Math.max(n, this.formatRow(e.children, r));
|
|
62
|
+
} else if (e.isSet && (t = JSON.stringify(t.Item)), this._formattedRow[e.field] === void 0 ? this._formattedRow[e.field] = "" + (t === void 0 ? "" : this._renderHtml ? t : safeEncode(t)) : (this._formattedRow[e.field] += _, this._formattedRow[e.field] += "" + (t === void 0 ? "" : this._renderHtml ? t : safeEncode(t))), n > 1) {
|
|
63
|
+
let t = [];
|
|
64
|
+
t.length = n;
|
|
65
|
+
let r = t.join(v);
|
|
66
|
+
this._formattedRow[e.field] += r;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
formatRow(e, t = [], n = 0) {
|
|
70
|
+
let r = this.calcDepth(e, t);
|
|
71
|
+
for (let n of e) this.formatCell(n, t[n.leafID], r);
|
|
72
|
+
return r;
|
|
73
|
+
}
|
|
74
|
+
row() {
|
|
75
|
+
let e = {};
|
|
76
|
+
for (let t of this._flattenedColumns) e[t] = this._formattedRow[t];
|
|
77
|
+
return e;
|
|
78
|
+
}
|
|
79
|
+
}, DBStore = class {
|
|
80
|
+
_db;
|
|
81
|
+
Model;
|
|
82
|
+
idProperty;
|
|
83
|
+
constructor(e) {
|
|
84
|
+
this._db = e;
|
|
85
|
+
}
|
|
86
|
+
_renderHtml = !0;
|
|
87
|
+
renderHtml(e) {
|
|
88
|
+
this._renderHtml = e;
|
|
89
|
+
}
|
|
90
|
+
db2Columns(e, t, n = "", r, i) {
|
|
91
|
+
return t ? t.map((t, a) => {
|
|
92
|
+
let o = {
|
|
93
|
+
label: t.label(),
|
|
94
|
+
leafID: "" + a,
|
|
95
|
+
field: n + a,
|
|
96
|
+
idx: a,
|
|
97
|
+
className: "resultGridCell",
|
|
98
|
+
sortable: e,
|
|
99
|
+
hidden: !1,
|
|
100
|
+
isSet: !1
|
|
101
|
+
};
|
|
102
|
+
switch (t.type()) {
|
|
103
|
+
case "nested":
|
|
104
|
+
o.children = this.db2Columns(!1, t.children(), n + a + "_", r), o.sortable = !1;
|
|
105
|
+
break;
|
|
106
|
+
default: o.formatter = r, o.renderCell = i;
|
|
107
|
+
}
|
|
108
|
+
return o;
|
|
109
|
+
}) : [];
|
|
110
|
+
}
|
|
111
|
+
columns(e, t, n) {
|
|
112
|
+
return this.db2Columns(e, this._db.fields(), "", t, n);
|
|
113
|
+
}
|
|
114
|
+
getIdentity(e) {
|
|
115
|
+
return e.__hpcc_id;
|
|
116
|
+
}
|
|
117
|
+
get(e) {
|
|
118
|
+
return this._db.row(e + 1);
|
|
119
|
+
}
|
|
120
|
+
_fetchRange(e) {
|
|
121
|
+
let t = new RowFormatter(this.columns(!1), this._renderHtml);
|
|
122
|
+
return this._db.data().slice(e.start, e.end).map((n, r) => ({
|
|
123
|
+
...t.format(n),
|
|
124
|
+
__hpcc_id: e.start + r,
|
|
125
|
+
__origRow: n
|
|
126
|
+
}));
|
|
127
|
+
}
|
|
128
|
+
fetchRange(e) {
|
|
129
|
+
let t = this._fetchRange(e), n = new u();
|
|
130
|
+
return n.totalLength = new u(), n.resolve(t), n.totalLength.resolve(this._db.length() - 1), n;
|
|
131
|
+
}
|
|
132
|
+
sort(e) {
|
|
133
|
+
return this._db.data().sort((t, n) => {
|
|
134
|
+
for (let r of e) {
|
|
135
|
+
let e = r.property;
|
|
136
|
+
if (t[e] === void 0 && n[e] !== void 0 || t[e] < n[e]) return r.descending ? 1 : -1;
|
|
137
|
+
if (t[e] !== void 0 && n[e] === void 0 || t[e] > n[e]) return r.descending ? -1 : 1;
|
|
138
|
+
}
|
|
139
|
+
return 0;
|
|
140
|
+
}), this;
|
|
141
|
+
}
|
|
142
|
+
}, Common = class extends e {
|
|
143
|
+
_columns = [];
|
|
144
|
+
_store = new DBStore(this._db);
|
|
145
|
+
_dgridDiv;
|
|
146
|
+
_dgrid;
|
|
147
|
+
_prevPaging;
|
|
148
|
+
_prevSortBy;
|
|
149
|
+
_prevSortByDescending;
|
|
150
|
+
_prevMultiSelect;
|
|
151
|
+
constructor() {
|
|
152
|
+
super(), this._tag = "div";
|
|
153
|
+
}
|
|
154
|
+
formatSortBy() {
|
|
155
|
+
let e = this.columns().indexOf(this.sortBy());
|
|
156
|
+
return e >= 0 ? [{
|
|
157
|
+
property: e.toString(),
|
|
158
|
+
descending: this.sortByDescending()
|
|
159
|
+
}] : void 0;
|
|
160
|
+
}
|
|
161
|
+
_supressEvents;
|
|
162
|
+
selection(e) {
|
|
163
|
+
if (!arguments.length) {
|
|
164
|
+
let e = [];
|
|
165
|
+
for (let t in this._dgrid.selection) if (this._dgrid.selection[t]) {
|
|
166
|
+
let n = this._store.get(+t);
|
|
167
|
+
e.push(this.rowToObj(n));
|
|
168
|
+
}
|
|
169
|
+
return e;
|
|
170
|
+
}
|
|
171
|
+
this._supressEvents = !0, this._dgrid?.clearSelection();
|
|
172
|
+
let t = !0;
|
|
173
|
+
this.data().forEach((n, r) => {
|
|
174
|
+
if (e.indexOf(n) >= 0) {
|
|
175
|
+
let e = this._dgrid?.row(r);
|
|
176
|
+
e.element && t && (t = !1, e.element.scrollIntoView()), this._dgrid?.select(r);
|
|
177
|
+
}
|
|
178
|
+
}), this._supressEvents = !1;
|
|
179
|
+
}
|
|
180
|
+
enter(e, t) {
|
|
181
|
+
super.enter(e, t), this._dgridDiv = t.append("div").attr("class", "flat");
|
|
182
|
+
}
|
|
183
|
+
update(e, t) {
|
|
184
|
+
super.update(e, t), this._store.renderHtml(this.renderHtml()), (!this._dgrid || this._prevPaging !== this.pagination() || this._prevSortBy !== this.sortBy() || this._prevSortByDescending !== this.sortByDescending() || this._prevMultiSelect !== this.multiSelect()) && (this._prevPaging = this.pagination(), this._prevSortBy = this.sortBy(), this._prevSortByDescending = this.sortByDescending(), this._prevMultiSelect = this.multiSelect(), this._dgrid && (this._dgrid.destroy(), this._dgridDiv = t.append("div").attr("class", "flat")), this._dgrid = this._createGrid({
|
|
185
|
+
...this._gridColumnsConfig(),
|
|
186
|
+
collection: this._store,
|
|
187
|
+
sort: this.formatSortBy(),
|
|
188
|
+
selectionMode: this.multiSelect() ? "extended" : "single",
|
|
189
|
+
deselectOnRefresh: !0,
|
|
190
|
+
cellNavigation: !1,
|
|
191
|
+
pagingLinks: 1,
|
|
192
|
+
pagingTextBox: !0,
|
|
193
|
+
previousNextArrows: !0,
|
|
194
|
+
firstLastArrows: !0,
|
|
195
|
+
rowsPerPage: this.pageSize(),
|
|
196
|
+
pageSizeOptions: [
|
|
197
|
+
1,
|
|
198
|
+
10,
|
|
199
|
+
25,
|
|
200
|
+
50,
|
|
201
|
+
100,
|
|
202
|
+
1e3
|
|
203
|
+
]
|
|
204
|
+
}, this._dgridDiv.node()), this._dgrid.on("dgrid-select", (e) => {
|
|
205
|
+
this._supressEvents || e.rows && e.rows.length && e.rows[0].data && this.click(this.rowToObj(e.rows[0].data.__origRow), "", !0, { selection: this.selection() });
|
|
206
|
+
}), this._dgrid.on("dgrid-deselect", (e) => {
|
|
207
|
+
this._supressEvents || e.rows && e.rows.length && e.rows[0].data && this.click(this.rowToObj(e.rows[0].data.__origRow), "", !1, { selection: this.selection() });
|
|
208
|
+
}), this._dgrid.on("dgrid-column-autofit", (e) => {
|
|
209
|
+
if (!this._supressEvents && e.detail?.label) {
|
|
210
|
+
let t = this._columns.find((t) => t.label === e.detail.label);
|
|
211
|
+
if (!t) return;
|
|
212
|
+
this.dblclickColResize(t.label, t);
|
|
213
|
+
}
|
|
214
|
+
}), this._dgrid.refresh({})), this._dgrid.noDataMessage = `<span class='dojoxGridNoData'>${this.noDataMessage()}</span>`, this._dgrid.loadingMessage = `<span class='dojoxGridNoData'>${this.loadingMessage()}</span>`, this._dgridDiv.style("width", this.width() + "px").style("height", this.height() - 2 + "px"), this._dgrid.resize();
|
|
215
|
+
}
|
|
216
|
+
exit(e, t) {
|
|
217
|
+
delete this._prevPaging, this._dgrid && (this._dgrid.destroy(), delete this._dgrid), super.exit(e, t);
|
|
218
|
+
}
|
|
219
|
+
click(e, t, n, r) {}
|
|
220
|
+
dblclickColResize(e, t) {}
|
|
221
|
+
_gridColumnsConfig() {
|
|
222
|
+
return { columns: this._columns };
|
|
223
|
+
}
|
|
224
|
+
_createGrid(e, t) {
|
|
225
|
+
return new (this._prevPaging ? m : p)(e, t);
|
|
226
|
+
}
|
|
227
|
+
};
|
|
228
|
+
Common.prototype._class += " dgrid_Common", Common.prototype.publish("noDataMessage", "...empty...", "string", "No Data Message"), Common.prototype.publish("loadingMessage", "loading...", "string", "Loading Message"), Common.prototype.publish("pagination", !1, "boolean", "Enable paging"), Common.prototype.publish("pageSize", 25, "number", "Page size"), Common.prototype.publish("sortable", !1, "boolean", "Enable sorting by column"), Common.prototype.publish("sortBy", null, "set", "Default 'sort by' Column ID", function() {
|
|
229
|
+
return this.columns();
|
|
230
|
+
}, { optional: !0 }), Common.prototype.publish("sortByDescending", !1, "boolean", "Default 'sort by' descending", void 0, { disable: (e) => !e.sortBy() }), Common.prototype.publish("multiSelect", !1, "boolean", "Multiple Selection"), Common.prototype.publish("renderHtml", !0, "boolean", "Render HTML");
|
|
231
|
+
//#endregion
|
|
232
|
+
//#region ../../node_modules/d3-format/src/formatDecimal.js
|
|
233
|
+
function formatDecimal_default(e) {
|
|
234
|
+
return Math.abs(e = Math.round(e)) >= 1e21 ? e.toLocaleString("en").replace(/,/g, "") : e.toString(10);
|
|
235
|
+
}
|
|
236
|
+
__name(formatDecimal_default, "default");
|
|
237
|
+
function formatDecimalParts(e, t) {
|
|
238
|
+
if ((n = (e = t ? e.toExponential(t - 1) : e.toExponential()).indexOf("e")) < 0) return null;
|
|
239
|
+
var n, r = e.slice(0, n);
|
|
240
|
+
return [r.length > 1 ? r[0] + r.slice(2) : r, +e.slice(n + 1)];
|
|
241
|
+
}
|
|
242
|
+
//#endregion
|
|
243
|
+
//#region ../../node_modules/d3-format/src/exponent.js
|
|
244
|
+
function exponent_default(e) {
|
|
245
|
+
return e = formatDecimalParts(Math.abs(e)), e ? e[1] : NaN;
|
|
246
|
+
}
|
|
247
|
+
__name(exponent_default, "default");
|
|
248
|
+
//#endregion
|
|
249
|
+
//#region ../../node_modules/d3-format/src/formatGroup.js
|
|
250
|
+
function formatGroup_default(e, t) {
|
|
251
|
+
return function(n, r) {
|
|
252
|
+
for (var i = n.length, a = [], o = 0, s = e[0], c = 0; i > 0 && s > 0 && (c + s + 1 > r && (s = Math.max(1, r - c)), a.push(n.substring(i -= s, i + s)), !((c += s + 1) > r));) s = e[o = (o + 1) % e.length];
|
|
253
|
+
return a.reverse().join(t);
|
|
254
|
+
};
|
|
255
|
+
}
|
|
256
|
+
__name(formatGroup_default, "default");
|
|
257
|
+
//#endregion
|
|
258
|
+
//#region ../../node_modules/d3-format/src/formatNumerals.js
|
|
259
|
+
function formatNumerals_default(e) {
|
|
260
|
+
return function(t) {
|
|
261
|
+
return t.replace(/[0-9]/g, function(t) {
|
|
262
|
+
return e[+t];
|
|
263
|
+
});
|
|
264
|
+
};
|
|
265
|
+
}
|
|
266
|
+
__name(formatNumerals_default, "default");
|
|
267
|
+
//#endregion
|
|
268
|
+
//#region ../../node_modules/d3-format/src/formatSpecifier.js
|
|
269
|
+
var y = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
|
|
270
|
+
function formatSpecifier(e) {
|
|
271
|
+
if (!(t = y.exec(e))) throw Error("invalid format: " + e);
|
|
272
|
+
var t;
|
|
273
|
+
return new FormatSpecifier({
|
|
274
|
+
fill: t[1],
|
|
275
|
+
align: t[2],
|
|
276
|
+
sign: t[3],
|
|
277
|
+
symbol: t[4],
|
|
278
|
+
zero: t[5],
|
|
279
|
+
width: t[6],
|
|
280
|
+
comma: t[7],
|
|
281
|
+
precision: t[8] && t[8].slice(1),
|
|
282
|
+
trim: t[9],
|
|
283
|
+
type: t[10]
|
|
284
|
+
});
|
|
285
|
+
}
|
|
286
|
+
formatSpecifier.prototype = FormatSpecifier.prototype;
|
|
287
|
+
function FormatSpecifier(e) {
|
|
288
|
+
this.fill = e.fill === void 0 ? " " : e.fill + "", this.align = e.align === void 0 ? ">" : e.align + "", this.sign = e.sign === void 0 ? "-" : e.sign + "", this.symbol = e.symbol === void 0 ? "" : e.symbol + "", this.zero = !!e.zero, this.width = e.width === void 0 ? void 0 : +e.width, this.comma = !!e.comma, this.precision = e.precision === void 0 ? void 0 : +e.precision, this.trim = !!e.trim, this.type = e.type === void 0 ? "" : e.type + "";
|
|
289
|
+
}
|
|
290
|
+
FormatSpecifier.prototype.toString = function() {
|
|
291
|
+
return this.fill + this.align + this.sign + this.symbol + (this.zero ? "0" : "") + (this.width === void 0 ? "" : Math.max(1, this.width | 0)) + (this.comma ? "," : "") + (this.precision === void 0 ? "" : "." + Math.max(0, this.precision | 0)) + (this.trim ? "~" : "") + this.type;
|
|
292
|
+
};
|
|
293
|
+
//#endregion
|
|
294
|
+
//#region ../../node_modules/d3-format/src/formatTrim.js
|
|
295
|
+
function formatTrim_default(e) {
|
|
296
|
+
out: for (var t = e.length, n = 1, r = -1, i; n < t; ++n) switch (e[n]) {
|
|
297
|
+
case ".":
|
|
298
|
+
r = i = n;
|
|
299
|
+
break;
|
|
300
|
+
case "0":
|
|
301
|
+
r === 0 && (r = n), i = n;
|
|
302
|
+
break;
|
|
303
|
+
default:
|
|
304
|
+
if (!+e[n]) break out;
|
|
305
|
+
r > 0 && (r = 0);
|
|
306
|
+
break;
|
|
307
|
+
}
|
|
308
|
+
return r > 0 ? e.slice(0, r) + e.slice(i + 1) : e;
|
|
309
|
+
}
|
|
310
|
+
__name(formatTrim_default, "default");
|
|
311
|
+
//#endregion
|
|
312
|
+
//#region ../../node_modules/d3-format/src/formatPrefixAuto.js
|
|
313
|
+
var b;
|
|
314
|
+
function formatPrefixAuto_default(e, t) {
|
|
315
|
+
var n = formatDecimalParts(e, t);
|
|
316
|
+
if (!n) return e + "";
|
|
317
|
+
var r = n[0], i = n[1], a = i - (b = Math.max(-8, Math.min(8, Math.floor(i / 3))) * 3) + 1, o = r.length;
|
|
318
|
+
return a === o ? r : a > o ? r + Array(a - o + 1).join("0") : a > 0 ? r.slice(0, a) + "." + r.slice(a) : "0." + Array(1 - a).join("0") + formatDecimalParts(e, Math.max(0, t + a - 1))[0];
|
|
319
|
+
}
|
|
320
|
+
__name(formatPrefixAuto_default, "default");
|
|
321
|
+
//#endregion
|
|
322
|
+
//#region ../../node_modules/d3-format/src/formatRounded.js
|
|
323
|
+
function formatRounded_default(e, t) {
|
|
324
|
+
var n = formatDecimalParts(e, t);
|
|
325
|
+
if (!n) return e + "";
|
|
326
|
+
var r = n[0], i = n[1];
|
|
327
|
+
return i < 0 ? "0." + Array(-i).join("0") + r : r.length > i + 1 ? r.slice(0, i + 1) + "." + r.slice(i + 1) : r + Array(i - r.length + 2).join("0");
|
|
328
|
+
}
|
|
329
|
+
__name(formatRounded_default, "default");
|
|
330
|
+
//#endregion
|
|
331
|
+
//#region ../../node_modules/d3-format/src/formatTypes.js
|
|
332
|
+
var x = {
|
|
333
|
+
"%": function(e, t) {
|
|
334
|
+
return (e * 100).toFixed(t);
|
|
335
|
+
},
|
|
336
|
+
b: function(e) {
|
|
337
|
+
return Math.round(e).toString(2);
|
|
338
|
+
},
|
|
339
|
+
c: function(e) {
|
|
340
|
+
return e + "";
|
|
341
|
+
},
|
|
342
|
+
d: formatDecimal_default,
|
|
343
|
+
e: function(e, t) {
|
|
344
|
+
return e.toExponential(t);
|
|
345
|
+
},
|
|
346
|
+
f: function(e, t) {
|
|
347
|
+
return e.toFixed(t);
|
|
348
|
+
},
|
|
349
|
+
g: function(e, t) {
|
|
350
|
+
return e.toPrecision(t);
|
|
351
|
+
},
|
|
352
|
+
o: function(e) {
|
|
353
|
+
return Math.round(e).toString(8);
|
|
354
|
+
},
|
|
355
|
+
p: function(e, t) {
|
|
356
|
+
return formatRounded_default(e * 100, t);
|
|
357
|
+
},
|
|
358
|
+
r: formatRounded_default,
|
|
359
|
+
s: formatPrefixAuto_default,
|
|
360
|
+
X: function(e) {
|
|
361
|
+
return Math.round(e).toString(16).toUpperCase();
|
|
362
|
+
},
|
|
363
|
+
x: function(e) {
|
|
364
|
+
return Math.round(e).toString(16);
|
|
365
|
+
}
|
|
366
|
+
};
|
|
367
|
+
//#endregion
|
|
368
|
+
//#region ../../node_modules/d3-format/src/identity.js
|
|
369
|
+
function identity_default(e) {
|
|
370
|
+
return e;
|
|
371
|
+
}
|
|
372
|
+
__name(identity_default, "default");
|
|
373
|
+
//#endregion
|
|
374
|
+
//#region ../../node_modules/d3-format/src/locale.js
|
|
375
|
+
var S = Array.prototype.map, C = [
|
|
376
|
+
"y",
|
|
377
|
+
"z",
|
|
378
|
+
"a",
|
|
379
|
+
"f",
|
|
380
|
+
"p",
|
|
381
|
+
"n",
|
|
382
|
+
"µ",
|
|
383
|
+
"m",
|
|
384
|
+
"",
|
|
385
|
+
"k",
|
|
386
|
+
"M",
|
|
387
|
+
"G",
|
|
388
|
+
"T",
|
|
389
|
+
"P",
|
|
390
|
+
"E",
|
|
391
|
+
"Z",
|
|
392
|
+
"Y"
|
|
393
|
+
];
|
|
394
|
+
function locale_default(e) {
|
|
395
|
+
var t = e.grouping === void 0 || e.thousands === void 0 ? identity_default : formatGroup_default(S.call(e.grouping, Number), e.thousands + ""), n = e.currency === void 0 ? "" : e.currency[0] + "", r = e.currency === void 0 ? "" : e.currency[1] + "", i = e.decimal === void 0 ? "." : e.decimal + "", a = e.numerals === void 0 ? identity_default : formatNumerals_default(S.call(e.numerals, String)), o = e.percent === void 0 ? "%" : e.percent + "", s = e.minus === void 0 ? "-" : e.minus + "", c = e.nan === void 0 ? "NaN" : e.nan + "";
|
|
396
|
+
function newFormat(e) {
|
|
397
|
+
e = formatSpecifier(e);
|
|
398
|
+
var l = e.fill, u = e.align, d = e.sign, f = e.symbol, p = e.zero, m = e.width, h = e.comma, g = e.precision, _ = e.trim, v = e.type;
|
|
399
|
+
v === "n" ? (h = !0, v = "g") : x[v] || (g === void 0 && (g = 12), _ = !0, v = "g"), (p || l === "0" && u === "=") && (p = !0, l = "0", u = "=");
|
|
400
|
+
var y = f === "$" ? n : f === "#" && /[boxX]/.test(v) ? "0" + v.toLowerCase() : "", S = f === "$" ? r : /[%p]/.test(v) ? o : "", w = x[v], T = /[defgprs%]/.test(v);
|
|
401
|
+
g = g === void 0 ? 6 : /[gprs]/.test(v) ? Math.max(1, Math.min(21, g)) : Math.max(0, Math.min(20, g));
|
|
402
|
+
function format(e) {
|
|
403
|
+
var n = y, r = S, o, f, x;
|
|
404
|
+
if (v === "c") r = w(e) + r, e = "";
|
|
405
|
+
else {
|
|
406
|
+
e = +e;
|
|
407
|
+
var E = e < 0 || 1 / e < 0;
|
|
408
|
+
if (e = isNaN(e) ? c : w(Math.abs(e), g), _ && (e = formatTrim_default(e)), E && +e == 0 && d !== "+" && (E = !1), n = (E ? d === "(" ? d : s : d === "-" || d === "(" ? "" : d) + n, r = (v === "s" ? C[8 + b / 3] : "") + r + (E && d === "(" ? ")" : ""), T) {
|
|
409
|
+
for (o = -1, f = e.length; ++o < f;) if (x = e.charCodeAt(o), 48 > x || x > 57) {
|
|
410
|
+
r = (x === 46 ? i + e.slice(o + 1) : e.slice(o)) + r, e = e.slice(0, o);
|
|
411
|
+
break;
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
h && !p && (e = t(e, Infinity));
|
|
416
|
+
var D = n.length + e.length + r.length, O = D < m ? Array(m - D + 1).join(l) : "";
|
|
417
|
+
switch (h && p && (e = t(O + e, O.length ? m - r.length : Infinity), O = ""), u) {
|
|
418
|
+
case "<":
|
|
419
|
+
e = n + e + r + O;
|
|
420
|
+
break;
|
|
421
|
+
case "=":
|
|
422
|
+
e = n + O + e + r;
|
|
423
|
+
break;
|
|
424
|
+
case "^":
|
|
425
|
+
e = O.slice(0, D = O.length >> 1) + n + e + r + O.slice(D);
|
|
426
|
+
break;
|
|
427
|
+
default:
|
|
428
|
+
e = O + n + e + r;
|
|
429
|
+
break;
|
|
430
|
+
}
|
|
431
|
+
return a(e);
|
|
432
|
+
}
|
|
433
|
+
return format.toString = function() {
|
|
434
|
+
return e + "";
|
|
435
|
+
}, format;
|
|
436
|
+
}
|
|
437
|
+
function formatPrefix(e, t) {
|
|
438
|
+
var n = newFormat((e = formatSpecifier(e), e.type = "f", e)), r = Math.max(-8, Math.min(8, Math.floor(exponent_default(t) / 3))) * 3, i = 10 ** -r, a = C[8 + r / 3];
|
|
439
|
+
return function(e) {
|
|
440
|
+
return n(i * e) + a;
|
|
441
|
+
};
|
|
442
|
+
}
|
|
443
|
+
return {
|
|
444
|
+
format: newFormat,
|
|
445
|
+
formatPrefix
|
|
446
|
+
};
|
|
447
|
+
}
|
|
448
|
+
__name(locale_default, "default");
|
|
449
|
+
//#endregion
|
|
450
|
+
//#region ../../node_modules/d3-format/src/defaultLocale.js
|
|
451
|
+
var w, T;
|
|
452
|
+
defaultLocale({
|
|
453
|
+
decimal: ".",
|
|
454
|
+
thousands: ",",
|
|
455
|
+
grouping: [3],
|
|
456
|
+
currency: ["$", ""],
|
|
457
|
+
minus: "-"
|
|
458
|
+
});
|
|
459
|
+
function defaultLocale(e) {
|
|
460
|
+
return w = locale_default(e), T = w.format, w.formatPrefix, w;
|
|
461
|
+
}
|
|
462
|
+
var E = {
|
|
463
|
+
svg: "http://www.w3.org/2000/svg",
|
|
464
|
+
xhtml: "http://www.w3.org/1999/xhtml",
|
|
465
|
+
xlink: "http://www.w3.org/1999/xlink",
|
|
466
|
+
xml: "http://www.w3.org/XML/1998/namespace",
|
|
467
|
+
xmlns: "http://www.w3.org/2000/xmlns/"
|
|
468
|
+
};
|
|
469
|
+
//#endregion
|
|
470
|
+
//#region ../../node_modules/d3-selection/src/namespace.js
|
|
471
|
+
function namespace_default(e) {
|
|
472
|
+
var t = e += "", n = t.indexOf(":");
|
|
473
|
+
return n >= 0 && (t = e.slice(0, n)) !== "xmlns" && (e = e.slice(n + 1)), E.hasOwnProperty(t) ? {
|
|
474
|
+
space: E[t],
|
|
475
|
+
local: e
|
|
476
|
+
} : e;
|
|
477
|
+
}
|
|
478
|
+
__name(namespace_default, "default");
|
|
479
|
+
//#endregion
|
|
480
|
+
//#region ../../node_modules/d3-selection/src/creator.js
|
|
481
|
+
function creatorInherit(e) {
|
|
482
|
+
return function() {
|
|
483
|
+
var t = this.ownerDocument, n = this.namespaceURI;
|
|
484
|
+
return n === "http://www.w3.org/1999/xhtml" && t.documentElement.namespaceURI === "http://www.w3.org/1999/xhtml" ? t.createElement(e) : t.createElementNS(n, e);
|
|
485
|
+
};
|
|
486
|
+
}
|
|
487
|
+
function creatorFixed(e) {
|
|
488
|
+
return function() {
|
|
489
|
+
return this.ownerDocument.createElementNS(e.space, e.local);
|
|
490
|
+
};
|
|
491
|
+
}
|
|
492
|
+
function creator_default(e) {
|
|
493
|
+
var t = namespace_default(e);
|
|
494
|
+
return (t.local ? creatorFixed : creatorInherit)(t);
|
|
495
|
+
}
|
|
496
|
+
__name(creator_default, "default");
|
|
497
|
+
//#endregion
|
|
498
|
+
//#region ../../node_modules/d3-selection/src/selector.js
|
|
499
|
+
function none() {}
|
|
500
|
+
function selector_default(e) {
|
|
501
|
+
return e == null ? none : function() {
|
|
502
|
+
return this.querySelector(e);
|
|
503
|
+
};
|
|
504
|
+
}
|
|
505
|
+
__name(selector_default, "default");
|
|
506
|
+
//#endregion
|
|
507
|
+
//#region ../../node_modules/d3-selection/src/selection/select.js
|
|
508
|
+
function select_default$1(e) {
|
|
509
|
+
typeof e != "function" && (e = selector_default(e));
|
|
510
|
+
for (var t = this._groups, n = t.length, r = Array(n), i = 0; i < n; ++i) for (var a = t[i], o = a.length, s = r[i] = Array(o), c, l, u = 0; u < o; ++u) (c = a[u]) && (l = e.call(c, c.__data__, u, a)) && ("__data__" in c && (l.__data__ = c.__data__), s[u] = l);
|
|
511
|
+
return new Selection(r, this._parents);
|
|
512
|
+
}
|
|
513
|
+
__name(select_default$1, "default");
|
|
514
|
+
//#endregion
|
|
515
|
+
//#region ../../node_modules/d3-selection/src/selectorAll.js
|
|
516
|
+
function empty() {
|
|
517
|
+
return [];
|
|
518
|
+
}
|
|
519
|
+
function selectorAll_default(e) {
|
|
520
|
+
return e == null ? empty : function() {
|
|
521
|
+
return this.querySelectorAll(e);
|
|
522
|
+
};
|
|
523
|
+
}
|
|
524
|
+
__name(selectorAll_default, "default");
|
|
525
|
+
//#endregion
|
|
526
|
+
//#region ../../node_modules/d3-selection/src/selection/selectAll.js
|
|
527
|
+
function selectAll_default(e) {
|
|
528
|
+
typeof e != "function" && (e = selectorAll_default(e));
|
|
529
|
+
for (var t = this._groups, n = t.length, r = [], i = [], a = 0; a < n; ++a) for (var o = t[a], s = o.length, c, l = 0; l < s; ++l) (c = o[l]) && (r.push(e.call(c, c.__data__, l, o)), i.push(c));
|
|
530
|
+
return new Selection(r, i);
|
|
531
|
+
}
|
|
532
|
+
__name(selectAll_default, "default");
|
|
533
|
+
//#endregion
|
|
534
|
+
//#region ../../node_modules/d3-selection/src/matcher.js
|
|
535
|
+
function matcher_default(e) {
|
|
536
|
+
return function() {
|
|
537
|
+
return this.matches(e);
|
|
538
|
+
};
|
|
539
|
+
}
|
|
540
|
+
__name(matcher_default, "default");
|
|
541
|
+
//#endregion
|
|
542
|
+
//#region ../../node_modules/d3-selection/src/selection/filter.js
|
|
543
|
+
function filter_default(e) {
|
|
544
|
+
typeof e != "function" && (e = matcher_default(e));
|
|
545
|
+
for (var t = this._groups, n = t.length, r = Array(n), i = 0; i < n; ++i) for (var a = t[i], o = a.length, s = r[i] = [], c, l = 0; l < o; ++l) (c = a[l]) && e.call(c, c.__data__, l, a) && s.push(c);
|
|
546
|
+
return new Selection(r, this._parents);
|
|
547
|
+
}
|
|
548
|
+
__name(filter_default, "default");
|
|
549
|
+
//#endregion
|
|
550
|
+
//#region ../../node_modules/d3-selection/src/selection/sparse.js
|
|
551
|
+
function sparse_default(e) {
|
|
552
|
+
return Array(e.length);
|
|
553
|
+
}
|
|
554
|
+
__name(sparse_default, "default");
|
|
555
|
+
//#endregion
|
|
556
|
+
//#region ../../node_modules/d3-selection/src/selection/enter.js
|
|
557
|
+
function enter_default() {
|
|
558
|
+
return new Selection(this._enter || this._groups.map(sparse_default), this._parents);
|
|
559
|
+
}
|
|
560
|
+
__name(enter_default, "default");
|
|
561
|
+
function EnterNode(e, t) {
|
|
562
|
+
this.ownerDocument = e.ownerDocument, this.namespaceURI = e.namespaceURI, this._next = null, this._parent = e, this.__data__ = t;
|
|
563
|
+
}
|
|
564
|
+
EnterNode.prototype = {
|
|
565
|
+
constructor: EnterNode,
|
|
566
|
+
appendChild: function(e) {
|
|
567
|
+
return this._parent.insertBefore(e, this._next);
|
|
568
|
+
},
|
|
569
|
+
insertBefore: function(e, t) {
|
|
570
|
+
return this._parent.insertBefore(e, t);
|
|
571
|
+
},
|
|
572
|
+
querySelector: function(e) {
|
|
573
|
+
return this._parent.querySelector(e);
|
|
574
|
+
},
|
|
575
|
+
querySelectorAll: function(e) {
|
|
576
|
+
return this._parent.querySelectorAll(e);
|
|
577
|
+
}
|
|
578
|
+
};
|
|
579
|
+
//#endregion
|
|
580
|
+
//#region ../../node_modules/d3-selection/src/constant.js
|
|
581
|
+
function constant_default(e) {
|
|
582
|
+
return function() {
|
|
583
|
+
return e;
|
|
584
|
+
};
|
|
585
|
+
}
|
|
586
|
+
__name(constant_default, "default");
|
|
587
|
+
//#endregion
|
|
588
|
+
//#region ../../node_modules/d3-selection/src/selection/data.js
|
|
589
|
+
var D = "$";
|
|
590
|
+
function bindIndex(e, t, n, r, i, a) {
|
|
591
|
+
for (var o = 0, s, c = t.length, l = a.length; o < l; ++o) (s = t[o]) ? (s.__data__ = a[o], r[o] = s) : n[o] = new EnterNode(e, a[o]);
|
|
592
|
+
for (; o < c; ++o) (s = t[o]) && (i[o] = s);
|
|
593
|
+
}
|
|
594
|
+
function bindKey(e, t, n, r, i, a, o) {
|
|
595
|
+
var s, c, l = {}, u = t.length, d = a.length, f = Array(u), p;
|
|
596
|
+
for (s = 0; s < u; ++s) (c = t[s]) && (f[s] = p = D + o.call(c, c.__data__, s, t), p in l ? i[s] = c : l[p] = c);
|
|
597
|
+
for (s = 0; s < d; ++s) p = D + o.call(e, a[s], s, a), (c = l[p]) ? (r[s] = c, c.__data__ = a[s], l[p] = null) : n[s] = new EnterNode(e, a[s]);
|
|
598
|
+
for (s = 0; s < u; ++s) (c = t[s]) && l[f[s]] === c && (i[s] = c);
|
|
599
|
+
}
|
|
600
|
+
function data_default(e, t) {
|
|
601
|
+
if (!e) return p = Array(this.size()), l = -1, this.each(function(e) {
|
|
602
|
+
p[++l] = e;
|
|
603
|
+
}), p;
|
|
604
|
+
var n = t ? bindKey : bindIndex, r = this._parents, i = this._groups;
|
|
605
|
+
typeof e != "function" && (e = constant_default(e));
|
|
606
|
+
for (var a = i.length, o = Array(a), s = Array(a), c = Array(a), l = 0; l < a; ++l) {
|
|
607
|
+
var u = r[l], d = i[l], f = d.length, p = e.call(u, u && u.__data__, l, r), m = p.length, h = s[l] = Array(m), g = o[l] = Array(m);
|
|
608
|
+
n(u, d, h, g, c[l] = Array(f), p, t);
|
|
609
|
+
for (var _ = 0, v = 0, y, b; _ < m; ++_) if (y = h[_]) {
|
|
610
|
+
for (_ >= v && (v = _ + 1); !(b = g[v]) && ++v < m;);
|
|
611
|
+
y._next = b || null;
|
|
612
|
+
}
|
|
613
|
+
}
|
|
614
|
+
return o = new Selection(o, r), o._enter = s, o._exit = c, o;
|
|
615
|
+
}
|
|
616
|
+
__name(data_default, "default");
|
|
617
|
+
//#endregion
|
|
618
|
+
//#region ../../node_modules/d3-selection/src/selection/exit.js
|
|
619
|
+
function exit_default() {
|
|
620
|
+
return new Selection(this._exit || this._groups.map(sparse_default), this._parents);
|
|
621
|
+
}
|
|
622
|
+
__name(exit_default, "default");
|
|
623
|
+
//#endregion
|
|
624
|
+
//#region ../../node_modules/d3-selection/src/selection/join.js
|
|
625
|
+
function join_default(e, t, n) {
|
|
626
|
+
var r = this.enter(), i = this, a = this.exit();
|
|
627
|
+
return r = typeof e == "function" ? e(r) : r.append(e + ""), t != null && (i = t(i)), n == null ? a.remove() : n(a), r && i ? r.merge(i).order() : i;
|
|
628
|
+
}
|
|
629
|
+
__name(join_default, "default");
|
|
630
|
+
//#endregion
|
|
631
|
+
//#region ../../node_modules/d3-selection/src/selection/merge.js
|
|
632
|
+
function merge_default(e) {
|
|
633
|
+
for (var t = this._groups, n = e._groups, r = t.length, i = n.length, a = Math.min(r, i), o = Array(r), s = 0; s < a; ++s) for (var c = t[s], l = n[s], u = c.length, d = o[s] = Array(u), f, p = 0; p < u; ++p) (f = c[p] || l[p]) && (d[p] = f);
|
|
634
|
+
for (; s < r; ++s) o[s] = t[s];
|
|
635
|
+
return new Selection(o, this._parents);
|
|
636
|
+
}
|
|
637
|
+
__name(merge_default, "default");
|
|
638
|
+
//#endregion
|
|
639
|
+
//#region ../../node_modules/d3-selection/src/selection/order.js
|
|
640
|
+
function order_default() {
|
|
641
|
+
for (var e = this._groups, t = -1, n = e.length; ++t < n;) for (var r = e[t], i = r.length - 1, a = r[i], o; --i >= 0;) (o = r[i]) && (a && o.compareDocumentPosition(a) ^ 4 && a.parentNode.insertBefore(o, a), a = o);
|
|
642
|
+
return this;
|
|
643
|
+
}
|
|
644
|
+
__name(order_default, "default");
|
|
645
|
+
//#endregion
|
|
646
|
+
//#region ../../node_modules/d3-selection/src/selection/sort.js
|
|
647
|
+
function sort_default(e) {
|
|
648
|
+
e ||= ascending;
|
|
649
|
+
function compareNode(t, n) {
|
|
650
|
+
return t && n ? e(t.__data__, n.__data__) : !t - !n;
|
|
651
|
+
}
|
|
652
|
+
for (var t = this._groups, n = t.length, r = Array(n), i = 0; i < n; ++i) {
|
|
653
|
+
for (var a = t[i], o = a.length, s = r[i] = Array(o), c, l = 0; l < o; ++l) (c = a[l]) && (s[l] = c);
|
|
654
|
+
s.sort(compareNode);
|
|
655
|
+
}
|
|
656
|
+
return new Selection(r, this._parents).order();
|
|
657
|
+
}
|
|
658
|
+
__name(sort_default, "default");
|
|
659
|
+
function ascending(e, t) {
|
|
660
|
+
return e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN;
|
|
661
|
+
}
|
|
662
|
+
//#endregion
|
|
663
|
+
//#region ../../node_modules/d3-selection/src/selection/call.js
|
|
664
|
+
function call_default() {
|
|
665
|
+
var e = arguments[0];
|
|
666
|
+
return arguments[0] = this, e.apply(null, arguments), this;
|
|
667
|
+
}
|
|
668
|
+
__name(call_default, "default");
|
|
669
|
+
//#endregion
|
|
670
|
+
//#region ../../node_modules/d3-selection/src/selection/nodes.js
|
|
671
|
+
function nodes_default() {
|
|
672
|
+
var e = Array(this.size()), t = -1;
|
|
673
|
+
return this.each(function() {
|
|
674
|
+
e[++t] = this;
|
|
675
|
+
}), e;
|
|
676
|
+
}
|
|
677
|
+
__name(nodes_default, "default");
|
|
678
|
+
//#endregion
|
|
679
|
+
//#region ../../node_modules/d3-selection/src/selection/node.js
|
|
680
|
+
function node_default() {
|
|
681
|
+
for (var e = this._groups, t = 0, n = e.length; t < n; ++t) for (var r = e[t], i = 0, a = r.length; i < a; ++i) {
|
|
682
|
+
var o = r[i];
|
|
683
|
+
if (o) return o;
|
|
684
|
+
}
|
|
685
|
+
return null;
|
|
686
|
+
}
|
|
687
|
+
__name(node_default, "default");
|
|
688
|
+
//#endregion
|
|
689
|
+
//#region ../../node_modules/d3-selection/src/selection/size.js
|
|
690
|
+
function size_default() {
|
|
691
|
+
var e = 0;
|
|
692
|
+
return this.each(function() {
|
|
693
|
+
++e;
|
|
694
|
+
}), e;
|
|
695
|
+
}
|
|
696
|
+
__name(size_default, "default");
|
|
697
|
+
//#endregion
|
|
698
|
+
//#region ../../node_modules/d3-selection/src/selection/empty.js
|
|
699
|
+
function empty_default() {
|
|
700
|
+
return !this.node();
|
|
701
|
+
}
|
|
702
|
+
__name(empty_default, "default");
|
|
703
|
+
//#endregion
|
|
704
|
+
//#region ../../node_modules/d3-selection/src/selection/each.js
|
|
705
|
+
function each_default(e) {
|
|
706
|
+
for (var t = this._groups, n = 0, r = t.length; n < r; ++n) for (var i = t[n], a = 0, o = i.length, s; a < o; ++a) (s = i[a]) && e.call(s, s.__data__, a, i);
|
|
707
|
+
return this;
|
|
708
|
+
}
|
|
709
|
+
__name(each_default, "default");
|
|
710
|
+
//#endregion
|
|
711
|
+
//#region ../../node_modules/d3-selection/src/selection/attr.js
|
|
712
|
+
function attrRemove(e) {
|
|
713
|
+
return function() {
|
|
714
|
+
this.removeAttribute(e);
|
|
715
|
+
};
|
|
716
|
+
}
|
|
717
|
+
function attrRemoveNS(e) {
|
|
718
|
+
return function() {
|
|
719
|
+
this.removeAttributeNS(e.space, e.local);
|
|
720
|
+
};
|
|
721
|
+
}
|
|
722
|
+
function attrConstant(e, t) {
|
|
723
|
+
return function() {
|
|
724
|
+
this.setAttribute(e, t);
|
|
725
|
+
};
|
|
726
|
+
}
|
|
727
|
+
function attrConstantNS(e, t) {
|
|
728
|
+
return function() {
|
|
729
|
+
this.setAttributeNS(e.space, e.local, t);
|
|
730
|
+
};
|
|
731
|
+
}
|
|
732
|
+
function attrFunction(e, t) {
|
|
733
|
+
return function() {
|
|
734
|
+
var n = t.apply(this, arguments);
|
|
735
|
+
n == null ? this.removeAttribute(e) : this.setAttribute(e, n);
|
|
736
|
+
};
|
|
737
|
+
}
|
|
738
|
+
function attrFunctionNS(e, t) {
|
|
739
|
+
return function() {
|
|
740
|
+
var n = t.apply(this, arguments);
|
|
741
|
+
n == null ? this.removeAttributeNS(e.space, e.local) : this.setAttributeNS(e.space, e.local, n);
|
|
742
|
+
};
|
|
743
|
+
}
|
|
744
|
+
function attr_default(e, t) {
|
|
745
|
+
var n = namespace_default(e);
|
|
746
|
+
if (arguments.length < 2) {
|
|
747
|
+
var r = this.node();
|
|
748
|
+
return n.local ? r.getAttributeNS(n.space, n.local) : r.getAttribute(n);
|
|
749
|
+
}
|
|
750
|
+
return this.each((t == null ? n.local ? attrRemoveNS : attrRemove : typeof t == "function" ? n.local ? attrFunctionNS : attrFunction : n.local ? attrConstantNS : attrConstant)(n, t));
|
|
751
|
+
}
|
|
752
|
+
__name(attr_default, "default");
|
|
753
|
+
//#endregion
|
|
754
|
+
//#region ../../node_modules/d3-selection/src/window.js
|
|
755
|
+
function window_default(e) {
|
|
756
|
+
return e.ownerDocument && e.ownerDocument.defaultView || e.document && e || e.defaultView;
|
|
757
|
+
}
|
|
758
|
+
__name(window_default, "default");
|
|
759
|
+
//#endregion
|
|
760
|
+
//#region ../../node_modules/d3-selection/src/selection/style.js
|
|
761
|
+
function styleRemove(e) {
|
|
762
|
+
return function() {
|
|
763
|
+
this.style.removeProperty(e);
|
|
764
|
+
};
|
|
765
|
+
}
|
|
766
|
+
function styleConstant(e, t, n) {
|
|
767
|
+
return function() {
|
|
768
|
+
this.style.setProperty(e, t, n);
|
|
769
|
+
};
|
|
770
|
+
}
|
|
771
|
+
function styleFunction(e, t, n) {
|
|
772
|
+
return function() {
|
|
773
|
+
var r = t.apply(this, arguments);
|
|
774
|
+
r == null ? this.style.removeProperty(e) : this.style.setProperty(e, r, n);
|
|
775
|
+
};
|
|
776
|
+
}
|
|
777
|
+
function style_default(e, t, n) {
|
|
778
|
+
return arguments.length > 1 ? this.each((t == null ? styleRemove : typeof t == "function" ? styleFunction : styleConstant)(e, t, n ?? "")) : styleValue(this.node(), e);
|
|
779
|
+
}
|
|
780
|
+
__name(style_default, "default");
|
|
781
|
+
function styleValue(e, t) {
|
|
782
|
+
return e.style.getPropertyValue(t) || window_default(e).getComputedStyle(e, null).getPropertyValue(t);
|
|
783
|
+
}
|
|
784
|
+
//#endregion
|
|
785
|
+
//#region ../../node_modules/d3-selection/src/selection/property.js
|
|
786
|
+
function propertyRemove(e) {
|
|
787
|
+
return function() {
|
|
788
|
+
delete this[e];
|
|
789
|
+
};
|
|
790
|
+
}
|
|
791
|
+
function propertyConstant(e, t) {
|
|
792
|
+
return function() {
|
|
793
|
+
this[e] = t;
|
|
794
|
+
};
|
|
795
|
+
}
|
|
796
|
+
function propertyFunction(e, t) {
|
|
797
|
+
return function() {
|
|
798
|
+
var n = t.apply(this, arguments);
|
|
799
|
+
n == null ? delete this[e] : this[e] = n;
|
|
800
|
+
};
|
|
801
|
+
}
|
|
802
|
+
function property_default(e, t) {
|
|
803
|
+
return arguments.length > 1 ? this.each((t == null ? propertyRemove : typeof t == "function" ? propertyFunction : propertyConstant)(e, t)) : this.node()[e];
|
|
804
|
+
}
|
|
805
|
+
__name(property_default, "default");
|
|
806
|
+
//#endregion
|
|
807
|
+
//#region ../../node_modules/d3-selection/src/selection/classed.js
|
|
808
|
+
function classArray(e) {
|
|
809
|
+
return e.trim().split(/^|\s+/);
|
|
810
|
+
}
|
|
811
|
+
function classList(e) {
|
|
812
|
+
return e.classList || new ClassList(e);
|
|
813
|
+
}
|
|
814
|
+
function ClassList(e) {
|
|
815
|
+
this._node = e, this._names = classArray(e.getAttribute("class") || "");
|
|
816
|
+
}
|
|
817
|
+
ClassList.prototype = {
|
|
818
|
+
add: function(e) {
|
|
819
|
+
this._names.indexOf(e) < 0 && (this._names.push(e), this._node.setAttribute("class", this._names.join(" ")));
|
|
820
|
+
},
|
|
821
|
+
remove: function(e) {
|
|
822
|
+
var t = this._names.indexOf(e);
|
|
823
|
+
t >= 0 && (this._names.splice(t, 1), this._node.setAttribute("class", this._names.join(" ")));
|
|
824
|
+
},
|
|
825
|
+
contains: function(e) {
|
|
826
|
+
return this._names.indexOf(e) >= 0;
|
|
827
|
+
}
|
|
828
|
+
};
|
|
829
|
+
function classedAdd(e, t) {
|
|
830
|
+
for (var n = classList(e), r = -1, i = t.length; ++r < i;) n.add(t[r]);
|
|
831
|
+
}
|
|
832
|
+
function classedRemove(e, t) {
|
|
833
|
+
for (var n = classList(e), r = -1, i = t.length; ++r < i;) n.remove(t[r]);
|
|
834
|
+
}
|
|
835
|
+
function classedTrue(e) {
|
|
836
|
+
return function() {
|
|
837
|
+
classedAdd(this, e);
|
|
838
|
+
};
|
|
839
|
+
}
|
|
840
|
+
function classedFalse(e) {
|
|
841
|
+
return function() {
|
|
842
|
+
classedRemove(this, e);
|
|
843
|
+
};
|
|
844
|
+
}
|
|
845
|
+
function classedFunction(e, t) {
|
|
846
|
+
return function() {
|
|
847
|
+
(t.apply(this, arguments) ? classedAdd : classedRemove)(this, e);
|
|
848
|
+
};
|
|
849
|
+
}
|
|
850
|
+
function classed_default(e, t) {
|
|
851
|
+
var n = classArray(e + "");
|
|
852
|
+
if (arguments.length < 2) {
|
|
853
|
+
for (var r = classList(this.node()), i = -1, a = n.length; ++i < a;) if (!r.contains(n[i])) return !1;
|
|
854
|
+
return !0;
|
|
855
|
+
}
|
|
856
|
+
return this.each((typeof t == "function" ? classedFunction : t ? classedTrue : classedFalse)(n, t));
|
|
857
|
+
}
|
|
858
|
+
__name(classed_default, "default");
|
|
859
|
+
//#endregion
|
|
860
|
+
//#region ../../node_modules/d3-selection/src/selection/text.js
|
|
861
|
+
function textRemove() {
|
|
862
|
+
this.textContent = "";
|
|
863
|
+
}
|
|
864
|
+
function textConstant(e) {
|
|
865
|
+
return function() {
|
|
866
|
+
this.textContent = e;
|
|
867
|
+
};
|
|
868
|
+
}
|
|
869
|
+
function textFunction(e) {
|
|
870
|
+
return function() {
|
|
871
|
+
var t = e.apply(this, arguments);
|
|
872
|
+
this.textContent = t ?? "";
|
|
873
|
+
};
|
|
874
|
+
}
|
|
875
|
+
function text_default(e) {
|
|
876
|
+
return arguments.length ? this.each(e == null ? textRemove : (typeof e == "function" ? textFunction : textConstant)(e)) : this.node().textContent;
|
|
877
|
+
}
|
|
878
|
+
__name(text_default, "default");
|
|
879
|
+
//#endregion
|
|
880
|
+
//#region ../../node_modules/d3-selection/src/selection/html.js
|
|
881
|
+
function htmlRemove() {
|
|
882
|
+
this.innerHTML = "";
|
|
883
|
+
}
|
|
884
|
+
function htmlConstant(e) {
|
|
885
|
+
return function() {
|
|
886
|
+
this.innerHTML = e;
|
|
887
|
+
};
|
|
888
|
+
}
|
|
889
|
+
function htmlFunction(e) {
|
|
890
|
+
return function() {
|
|
891
|
+
var t = e.apply(this, arguments);
|
|
892
|
+
this.innerHTML = t ?? "";
|
|
893
|
+
};
|
|
894
|
+
}
|
|
895
|
+
function html_default(e) {
|
|
896
|
+
return arguments.length ? this.each(e == null ? htmlRemove : (typeof e == "function" ? htmlFunction : htmlConstant)(e)) : this.node().innerHTML;
|
|
897
|
+
}
|
|
898
|
+
__name(html_default, "default");
|
|
899
|
+
//#endregion
|
|
900
|
+
//#region ../../node_modules/d3-selection/src/selection/raise.js
|
|
901
|
+
function raise() {
|
|
902
|
+
this.nextSibling && this.parentNode.appendChild(this);
|
|
903
|
+
}
|
|
904
|
+
function raise_default() {
|
|
905
|
+
return this.each(raise);
|
|
906
|
+
}
|
|
907
|
+
__name(raise_default, "default");
|
|
908
|
+
//#endregion
|
|
909
|
+
//#region ../../node_modules/d3-selection/src/selection/lower.js
|
|
910
|
+
function lower() {
|
|
911
|
+
this.previousSibling && this.parentNode.insertBefore(this, this.parentNode.firstChild);
|
|
912
|
+
}
|
|
913
|
+
function lower_default() {
|
|
914
|
+
return this.each(lower);
|
|
915
|
+
}
|
|
916
|
+
__name(lower_default, "default");
|
|
917
|
+
//#endregion
|
|
918
|
+
//#region ../../node_modules/d3-selection/src/selection/append.js
|
|
919
|
+
function append_default(e) {
|
|
920
|
+
var t = typeof e == "function" ? e : creator_default(e);
|
|
921
|
+
return this.select(function() {
|
|
922
|
+
return this.appendChild(t.apply(this, arguments));
|
|
923
|
+
});
|
|
924
|
+
}
|
|
925
|
+
__name(append_default, "default");
|
|
926
|
+
//#endregion
|
|
927
|
+
//#region ../../node_modules/d3-selection/src/selection/insert.js
|
|
928
|
+
function constantNull() {
|
|
929
|
+
return null;
|
|
930
|
+
}
|
|
931
|
+
function insert_default(e, t) {
|
|
932
|
+
var n = typeof e == "function" ? e : creator_default(e), r = t == null ? constantNull : typeof t == "function" ? t : selector_default(t);
|
|
933
|
+
return this.select(function() {
|
|
934
|
+
return this.insertBefore(n.apply(this, arguments), r.apply(this, arguments) || null);
|
|
935
|
+
});
|
|
936
|
+
}
|
|
937
|
+
__name(insert_default, "default");
|
|
938
|
+
//#endregion
|
|
939
|
+
//#region ../../node_modules/d3-selection/src/selection/remove.js
|
|
940
|
+
function remove() {
|
|
941
|
+
var e = this.parentNode;
|
|
942
|
+
e && e.removeChild(this);
|
|
943
|
+
}
|
|
944
|
+
function remove_default() {
|
|
945
|
+
return this.each(remove);
|
|
946
|
+
}
|
|
947
|
+
__name(remove_default, "default");
|
|
948
|
+
//#endregion
|
|
949
|
+
//#region ../../node_modules/d3-selection/src/selection/clone.js
|
|
950
|
+
function selection_cloneShallow() {
|
|
951
|
+
var e = this.cloneNode(!1), t = this.parentNode;
|
|
952
|
+
return t ? t.insertBefore(e, this.nextSibling) : e;
|
|
953
|
+
}
|
|
954
|
+
function selection_cloneDeep() {
|
|
955
|
+
var e = this.cloneNode(!0), t = this.parentNode;
|
|
956
|
+
return t ? t.insertBefore(e, this.nextSibling) : e;
|
|
957
|
+
}
|
|
958
|
+
function clone_default(e) {
|
|
959
|
+
return this.select(e ? selection_cloneDeep : selection_cloneShallow);
|
|
960
|
+
}
|
|
961
|
+
__name(clone_default, "default");
|
|
962
|
+
//#endregion
|
|
963
|
+
//#region ../../node_modules/d3-selection/src/selection/datum.js
|
|
964
|
+
function datum_default(e) {
|
|
965
|
+
return arguments.length ? this.property("__data__", e) : this.node().__data__;
|
|
966
|
+
}
|
|
967
|
+
__name(datum_default, "default");
|
|
968
|
+
//#endregion
|
|
969
|
+
//#region ../../node_modules/d3-selection/src/selection/on.js
|
|
970
|
+
var O = {}, k = null;
|
|
971
|
+
typeof document < "u" && ("onmouseenter" in document.documentElement || (O = {
|
|
972
|
+
mouseenter: "mouseover",
|
|
973
|
+
mouseleave: "mouseout"
|
|
974
|
+
}));
|
|
975
|
+
function filterContextListener(e, t, n) {
|
|
976
|
+
return e = contextListener(e, t, n), function(t) {
|
|
977
|
+
var n = t.relatedTarget;
|
|
978
|
+
(!n || n !== this && !(n.compareDocumentPosition(this) & 8)) && e.call(this, t);
|
|
979
|
+
};
|
|
980
|
+
}
|
|
981
|
+
function contextListener(e, t, n) {
|
|
982
|
+
return function(r) {
|
|
983
|
+
var i = k;
|
|
984
|
+
k = r;
|
|
985
|
+
try {
|
|
986
|
+
e.call(this, this.__data__, t, n);
|
|
987
|
+
} finally {
|
|
988
|
+
k = i;
|
|
989
|
+
}
|
|
990
|
+
};
|
|
991
|
+
}
|
|
992
|
+
function parseTypenames(e) {
|
|
993
|
+
return e.trim().split(/^|\s+/).map(function(e) {
|
|
994
|
+
var t = "", n = e.indexOf(".");
|
|
995
|
+
return n >= 0 && (t = e.slice(n + 1), e = e.slice(0, n)), {
|
|
996
|
+
type: e,
|
|
997
|
+
name: t
|
|
998
|
+
};
|
|
999
|
+
});
|
|
1000
|
+
}
|
|
1001
|
+
function onRemove(e) {
|
|
1002
|
+
return function() {
|
|
1003
|
+
var t = this.__on;
|
|
1004
|
+
if (t) {
|
|
1005
|
+
for (var n = 0, r = -1, i = t.length, a; n < i; ++n) a = t[n], (!e.type || a.type === e.type) && a.name === e.name ? this.removeEventListener(a.type, a.listener, a.capture) : t[++r] = a;
|
|
1006
|
+
++r ? t.length = r : delete this.__on;
|
|
1007
|
+
}
|
|
1008
|
+
};
|
|
1009
|
+
}
|
|
1010
|
+
function onAdd(e, t, n) {
|
|
1011
|
+
var r = O.hasOwnProperty(e.type) ? filterContextListener : contextListener;
|
|
1012
|
+
return function(i, a, o) {
|
|
1013
|
+
var s = this.__on, c, l = r(t, a, o);
|
|
1014
|
+
if (s) {
|
|
1015
|
+
for (var u = 0, d = s.length; u < d; ++u) if ((c = s[u]).type === e.type && c.name === e.name) {
|
|
1016
|
+
this.removeEventListener(c.type, c.listener, c.capture), this.addEventListener(c.type, c.listener = l, c.capture = n), c.value = t;
|
|
1017
|
+
return;
|
|
1018
|
+
}
|
|
1019
|
+
}
|
|
1020
|
+
this.addEventListener(e.type, l, n), c = {
|
|
1021
|
+
type: e.type,
|
|
1022
|
+
name: e.name,
|
|
1023
|
+
value: t,
|
|
1024
|
+
listener: l,
|
|
1025
|
+
capture: n
|
|
1026
|
+
}, s ? s.push(c) : this.__on = [c];
|
|
1027
|
+
};
|
|
1028
|
+
}
|
|
1029
|
+
function on_default(e, t, n) {
|
|
1030
|
+
var r = parseTypenames(e + ""), i, a = r.length, o;
|
|
1031
|
+
if (arguments.length < 2) {
|
|
1032
|
+
var s = this.node().__on;
|
|
1033
|
+
if (s) {
|
|
1034
|
+
for (var c = 0, l = s.length, u; c < l; ++c) for (i = 0, u = s[c]; i < a; ++i) if ((o = r[i]).type === u.type && o.name === u.name) return u.value;
|
|
1035
|
+
}
|
|
1036
|
+
return;
|
|
1037
|
+
}
|
|
1038
|
+
for (s = t ? onAdd : onRemove, n ??= !1, i = 0; i < a; ++i) this.each(s(r[i], t, n));
|
|
1039
|
+
return this;
|
|
1040
|
+
}
|
|
1041
|
+
__name(on_default, "default");
|
|
1042
|
+
//#endregion
|
|
1043
|
+
//#region ../../node_modules/d3-selection/src/selection/dispatch.js
|
|
1044
|
+
function dispatchEvent(e, t, n) {
|
|
1045
|
+
var r = window_default(e), i = r.CustomEvent;
|
|
1046
|
+
typeof i == "function" ? i = new i(t, n) : (i = r.document.createEvent("Event"), n ? (i.initEvent(t, n.bubbles, n.cancelable), i.detail = n.detail) : i.initEvent(t, !1, !1)), e.dispatchEvent(i);
|
|
1047
|
+
}
|
|
1048
|
+
function dispatchConstant(e, t) {
|
|
1049
|
+
return function() {
|
|
1050
|
+
return dispatchEvent(this, e, t);
|
|
1051
|
+
};
|
|
1052
|
+
}
|
|
1053
|
+
function dispatchFunction(e, t) {
|
|
1054
|
+
return function() {
|
|
1055
|
+
return dispatchEvent(this, e, t.apply(this, arguments));
|
|
1056
|
+
};
|
|
1057
|
+
}
|
|
1058
|
+
function dispatch_default(e, t) {
|
|
1059
|
+
return this.each((typeof t == "function" ? dispatchFunction : dispatchConstant)(e, t));
|
|
1060
|
+
}
|
|
1061
|
+
__name(dispatch_default, "default");
|
|
1062
|
+
//#endregion
|
|
1063
|
+
//#region ../../node_modules/d3-selection/src/selection/index.js
|
|
1064
|
+
var A = [null];
|
|
1065
|
+
function Selection(e, t) {
|
|
1066
|
+
this._groups = e, this._parents = t;
|
|
1067
|
+
}
|
|
1068
|
+
function selection() {
|
|
1069
|
+
return new Selection([[document.documentElement]], A);
|
|
1070
|
+
}
|
|
1071
|
+
Selection.prototype = selection.prototype = {
|
|
1072
|
+
constructor: Selection,
|
|
1073
|
+
select: select_default$1,
|
|
1074
|
+
selectAll: selectAll_default,
|
|
1075
|
+
filter: filter_default,
|
|
1076
|
+
data: data_default,
|
|
1077
|
+
enter: enter_default,
|
|
1078
|
+
exit: exit_default,
|
|
1079
|
+
join: join_default,
|
|
1080
|
+
merge: merge_default,
|
|
1081
|
+
order: order_default,
|
|
1082
|
+
sort: sort_default,
|
|
1083
|
+
call: call_default,
|
|
1084
|
+
nodes: nodes_default,
|
|
1085
|
+
node: node_default,
|
|
1086
|
+
size: size_default,
|
|
1087
|
+
empty: empty_default,
|
|
1088
|
+
each: each_default,
|
|
1089
|
+
attr: attr_default,
|
|
1090
|
+
style: style_default,
|
|
1091
|
+
property: property_default,
|
|
1092
|
+
classed: classed_default,
|
|
1093
|
+
text: text_default,
|
|
1094
|
+
html: html_default,
|
|
1095
|
+
raise: raise_default,
|
|
1096
|
+
lower: lower_default,
|
|
1097
|
+
append: append_default,
|
|
1098
|
+
insert: insert_default,
|
|
1099
|
+
remove: remove_default,
|
|
1100
|
+
clone: clone_default,
|
|
1101
|
+
datum: datum_default,
|
|
1102
|
+
on: on_default,
|
|
1103
|
+
dispatch: dispatch_default
|
|
1104
|
+
};
|
|
1105
|
+
//#endregion
|
|
1106
|
+
//#region ../../node_modules/d3-selection/src/select.js
|
|
1107
|
+
function select_default(e) {
|
|
1108
|
+
return typeof e == "string" ? new Selection([[document.querySelector(e)]], [document.documentElement]) : new Selection([[e]], A);
|
|
1109
|
+
}
|
|
1110
|
+
__name(select_default, "default");
|
|
1111
|
+
//#endregion
|
|
1112
|
+
//#region src/Table.ts
|
|
1113
|
+
var ColumnFormat = class extends n {
|
|
1114
|
+
_owner;
|
|
1115
|
+
constructor() {
|
|
1116
|
+
super();
|
|
1117
|
+
}
|
|
1118
|
+
owner(e) {
|
|
1119
|
+
return arguments.length ? (this._owner = e, this) : this._owner;
|
|
1120
|
+
}
|
|
1121
|
+
valid() {
|
|
1122
|
+
return !!this.column();
|
|
1123
|
+
}
|
|
1124
|
+
formatterFunc() {
|
|
1125
|
+
let e = this._owner.formatterFunc();
|
|
1126
|
+
if (this.valid() && this.format()) {
|
|
1127
|
+
let t = T(this.format());
|
|
1128
|
+
return function(n, r) {
|
|
1129
|
+
return typeof n == "number" ? t(n) : e.call(this, n, r);
|
|
1130
|
+
};
|
|
1131
|
+
}
|
|
1132
|
+
return e;
|
|
1133
|
+
}
|
|
1134
|
+
renderCellFunc() {
|
|
1135
|
+
let e = this._owner.renderCellFunc(), n = this.formatterFunc();
|
|
1136
|
+
if (this.valid() && this.paletteID()) {
|
|
1137
|
+
let r = this._owner.columns(), i = t.rainbow(this.paletteID()), a = this.min(), o = this.max(), s = this.valueColumn() ? r.indexOf(this.valueColumn()) : void 0;
|
|
1138
|
+
return function(r, c, l) {
|
|
1139
|
+
e && e.call(this, r, c, l);
|
|
1140
|
+
let u = i(s ? r.__origRow[s] : c, a, o), d = n.call(this, c, r);
|
|
1141
|
+
select_default(l).style("background", u).style("color", u && t.textColor(u)).text(d?.html ?? d ?? c);
|
|
1142
|
+
};
|
|
1143
|
+
}
|
|
1144
|
+
return e;
|
|
1145
|
+
}
|
|
1146
|
+
};
|
|
1147
|
+
ColumnFormat.prototype._class += " dgrid_Table.ColumnFormat", ColumnFormat.prototype.publish("column", null, "set", "Column", function() {
|
|
1148
|
+
return this._owner.columns();
|
|
1149
|
+
}, { optional: !0 }), ColumnFormat.prototype.publish("width", null, "number", "Width", null, { optional: !0 }), ColumnFormat.prototype.publish("format", null, "string", "Format (d3-format)", null, { optional: !0 }), ColumnFormat.prototype.publish("paletteID", null, "set", "Color palette for this widget", ["", ...t.rainbow("default").switch()], { optional: !0 }), ColumnFormat.prototype.publish("min", 0, "number", "Min Value", null, { disable: (e) => !e.paletteID() }), ColumnFormat.prototype.publish("max", 100, "number", "Max Value", null, { disable: (e) => !e.paletteID() }), ColumnFormat.prototype.publish("valueColumn", null, "set", "Column", function() {
|
|
1150
|
+
return this._owner.columns();
|
|
1151
|
+
}, {
|
|
1152
|
+
optional: !0,
|
|
1153
|
+
disable: (e) => !e.paletteID()
|
|
1154
|
+
});
|
|
1155
|
+
var Table = class extends Common {
|
|
1156
|
+
_prevColsHash;
|
|
1157
|
+
_prevFieldsHash;
|
|
1158
|
+
_colsRefresh = !1;
|
|
1159
|
+
_dataRefresh = !1;
|
|
1160
|
+
constructor() {
|
|
1161
|
+
super();
|
|
1162
|
+
}
|
|
1163
|
+
fields(e) {
|
|
1164
|
+
let t = super.fields.apply(this, arguments);
|
|
1165
|
+
if (arguments.length) {
|
|
1166
|
+
let t = i({ _: e });
|
|
1167
|
+
this._prevFieldsHash !== t && (this._prevFieldsHash = t, this._colsRefresh = !0);
|
|
1168
|
+
}
|
|
1169
|
+
return t;
|
|
1170
|
+
}
|
|
1171
|
+
columns(e, t) {
|
|
1172
|
+
let n = super.columns.apply(this, arguments);
|
|
1173
|
+
if (arguments.length) {
|
|
1174
|
+
let t = i({ _: e });
|
|
1175
|
+
this._prevColsHash !== t && (this._prevColsHash = t, this._colsRefresh = !0);
|
|
1176
|
+
}
|
|
1177
|
+
return n;
|
|
1178
|
+
}
|
|
1179
|
+
data(e) {
|
|
1180
|
+
let t = super.data.apply(this, arguments);
|
|
1181
|
+
return arguments.length && (this._dataRefresh = !0), t;
|
|
1182
|
+
}
|
|
1183
|
+
enter(e, t) {
|
|
1184
|
+
super.enter(e, t);
|
|
1185
|
+
}
|
|
1186
|
+
guessWidth(e, t) {
|
|
1187
|
+
let n = this.sortable() ? 12 : 0;
|
|
1188
|
+
for (let i of e) if (i.children) {
|
|
1189
|
+
let e = [];
|
|
1190
|
+
for (let n = 0; n < Math.min(3, t.length); ++n) e = e.concat(t[n][i.idx]);
|
|
1191
|
+
this.guessWidth(i.children, e);
|
|
1192
|
+
} else i.width = t.reduce((e, t) => {
|
|
1193
|
+
let n = ("" + t[i.idx]).trim();
|
|
1194
|
+
return this.renderHtml() && n[0] === "<" && (n = r.removeHTMLFromString(n)), Math.max(e, this.textSize(n, this.columnWidthAutoFontName(), this.columnWidthAutoFontSize()).width);
|
|
1195
|
+
}, this.textSize("" + i.label, this.columnWidthAutoFontName(), this.columnWidthAutoFontSize(), !0).width + n) + 8;
|
|
1196
|
+
}
|
|
1197
|
+
_prevHash;
|
|
1198
|
+
update(e, t) {
|
|
1199
|
+
super.update(e, t);
|
|
1200
|
+
let n = this.hashSum();
|
|
1201
|
+
if (this._prevHash !== n && (this._prevHash = n, this._colsRefresh = !0), this._colsRefresh) {
|
|
1202
|
+
switch (this._columns = this._store.columns(this.sortable(), this.formatterFunc(), this.renderCellFunc()), this.columnWidth()) {
|
|
1203
|
+
case "auto":
|
|
1204
|
+
let e = this.data().filter((e, t) => t < this.columnWidthAutoSampleSize());
|
|
1205
|
+
this.guessWidth(this._columns, e);
|
|
1206
|
+
break;
|
|
1207
|
+
}
|
|
1208
|
+
let e = this.columns();
|
|
1209
|
+
for (let t of this.columnFormats()) if (t.valid()) {
|
|
1210
|
+
let n = e.indexOf(t.column());
|
|
1211
|
+
this._columns[n] && (this._columns[n].hidden = t.width() === 0, this._columns[n].width = t.width() || this._columns[n].width, this._columns[n].formatter = t.formatterFunc(), this._columns[n].renderCell = t.renderCellFunc());
|
|
1212
|
+
}
|
|
1213
|
+
this._applyColumnsToGrid(), this._colsRefresh = !1;
|
|
1214
|
+
}
|
|
1215
|
+
(this._colsRefresh || this._dataRefresh) && (this._colsRefresh ? this._dgrid.refresh({}) : this._dgrid.refresh(), this._colsRefresh = !1, this._dataRefresh = !1);
|
|
1216
|
+
}
|
|
1217
|
+
exit(e, t) {
|
|
1218
|
+
delete this._prevColsHash, delete this._prevFieldsHash, super.exit(e, t);
|
|
1219
|
+
}
|
|
1220
|
+
_applyColumnsToGrid() {
|
|
1221
|
+
this._dgrid.set("columns", this._columns.filter((e) => !e.hidden));
|
|
1222
|
+
}
|
|
1223
|
+
formatterFunc() {
|
|
1224
|
+
return function(e, t) {
|
|
1225
|
+
switch (typeof e) {
|
|
1226
|
+
case "string": return { html: e.replace(/\t/g, " ").trim() };
|
|
1227
|
+
case "undefined": return "";
|
|
1228
|
+
}
|
|
1229
|
+
return e;
|
|
1230
|
+
};
|
|
1231
|
+
}
|
|
1232
|
+
renderCellFunc() {}
|
|
1233
|
+
click(e, t, n) {}
|
|
1234
|
+
dblclickColResize(e, t) {
|
|
1235
|
+
this.guessWidth([t], this.data()), this._dgrid.resizeColumn(t.id, t.width);
|
|
1236
|
+
}
|
|
1237
|
+
};
|
|
1238
|
+
Table.prototype._class += " dgrid_Table", Table.prototype.publish("columnWidth", "auto", "set", "Default column width", ["auto", "none"]), Table.prototype.publish("columnWidthAutoSampleSize", 10, "number", "Number of rows to sample for auto column width"), Table.prototype.publish("columnWidthAutoFontName", "Verdana", "string", "Font name for auto column width calculation"), Table.prototype.publish("columnWidthAutoFontSize", 12, "number", "Font size for auto column width calculation"), Table.prototype.publish("columnFormats", [], "propertyArray", "Source Columns", null, { autoExpand: ColumnFormat });
|
|
1239
|
+
//#endregion
|
|
1240
|
+
//#region src/ColumnSetTable.ts
|
|
1241
|
+
var ColumnSetTable = class extends Table {
|
|
1242
|
+
constructor() {
|
|
1243
|
+
super();
|
|
1244
|
+
}
|
|
1245
|
+
_buildColumnSets() {
|
|
1246
|
+
let e = this.columnSets(), t = this.columns(), n = /* @__PURE__ */ new Set(), r = [], lookup = (e) => {
|
|
1247
|
+
let n = t.indexOf(e);
|
|
1248
|
+
if (n < 0) return;
|
|
1249
|
+
let r = this._columns[n];
|
|
1250
|
+
if (!(!r || r.hidden)) return r;
|
|
1251
|
+
};
|
|
1252
|
+
if (e && e.length) for (let t of e) {
|
|
1253
|
+
let e = [];
|
|
1254
|
+
for (let r of t) {
|
|
1255
|
+
let t = lookup(r);
|
|
1256
|
+
t && (e.push(t), n.add(r));
|
|
1257
|
+
}
|
|
1258
|
+
e.length && r.push([e]);
|
|
1259
|
+
}
|
|
1260
|
+
if (this.autoColumnSet()) {
|
|
1261
|
+
let e = [];
|
|
1262
|
+
for (let r of t) if (!n.has(r)) {
|
|
1263
|
+
let t = lookup(r);
|
|
1264
|
+
t && e.push(t);
|
|
1265
|
+
}
|
|
1266
|
+
e.length && r.push([e]);
|
|
1267
|
+
}
|
|
1268
|
+
return !r.length && this._columns.length && r.push([this._columns.filter((e) => !e.hidden)]), r;
|
|
1269
|
+
}
|
|
1270
|
+
_gridColumnsConfig() {
|
|
1271
|
+
return { columnSets: this._buildColumnSets() };
|
|
1272
|
+
}
|
|
1273
|
+
_createGrid(e, t) {
|
|
1274
|
+
return new h({ ...e }, t);
|
|
1275
|
+
}
|
|
1276
|
+
_applyColumnsToGrid() {
|
|
1277
|
+
let e = this._buildColumnSets();
|
|
1278
|
+
this._dgrid.set("columnSets", e);
|
|
1279
|
+
for (let t = 0; t < e.length - 1; t++) {
|
|
1280
|
+
let n = e[t][0].reduce((e, t) => e + (t.width ?? 0), 0);
|
|
1281
|
+
n > 0 && this._dgrid.styleColumnSet(t, `width: ${n}px;`);
|
|
1282
|
+
}
|
|
1283
|
+
this._dgrid.resize();
|
|
1284
|
+
}
|
|
1285
|
+
dblclickColResize(e, t) {
|
|
1286
|
+
this.guessWidth([t], this.data()), this._dgrid.applyWidth(t.id, t.width + "px"), this._dgrid.resize();
|
|
1287
|
+
}
|
|
1288
|
+
};
|
|
1289
|
+
ColumnSetTable.prototype._class += " dgrid_ColumnSetTable", ColumnSetTable.prototype.publish("columnSets", [], "array", "Column sets - array of arrays of column names"), ColumnSetTable.prototype.publish("autoColumnSet", !0, "boolean", "Append columns not referenced by columnSets() into a trailing column-set");
|
|
1290
|
+
//#endregion
|
|
1291
|
+
//#region src/DatasourceStore.ts
|
|
1292
|
+
var DatasourceCache = class {
|
|
1293
|
+
_datasource;
|
|
1294
|
+
_prevHash;
|
|
1295
|
+
_fetchCache = {};
|
|
1296
|
+
constructor(e) {
|
|
1297
|
+
this._datasource = e;
|
|
1298
|
+
}
|
|
1299
|
+
validateCache() {
|
|
1300
|
+
let e = this.hash();
|
|
1301
|
+
this._prevHash !== e && (this._prevHash = e, this._fetchCache = {});
|
|
1302
|
+
}
|
|
1303
|
+
id() {
|
|
1304
|
+
return this._datasource.id();
|
|
1305
|
+
}
|
|
1306
|
+
hash() {
|
|
1307
|
+
return this._datasource.hash();
|
|
1308
|
+
}
|
|
1309
|
+
label() {
|
|
1310
|
+
return this._datasource.label();
|
|
1311
|
+
}
|
|
1312
|
+
outFields() {
|
|
1313
|
+
return this._datasource.outFields();
|
|
1314
|
+
}
|
|
1315
|
+
total() {
|
|
1316
|
+
return this._datasource.total();
|
|
1317
|
+
}
|
|
1318
|
+
fetch(e, t) {
|
|
1319
|
+
this.validateCache();
|
|
1320
|
+
let n = `${e}->${t}`, r = this._fetchCache[n];
|
|
1321
|
+
return r || (r = this._datasource.fetch(e, t), this._fetchCache[n] = r), r;
|
|
1322
|
+
}
|
|
1323
|
+
}, DatasourceStore = class {
|
|
1324
|
+
_datasource;
|
|
1325
|
+
_columnsIdx = {};
|
|
1326
|
+
_columns;
|
|
1327
|
+
rowFormatter;
|
|
1328
|
+
constructor(e, t) {
|
|
1329
|
+
this._datasource = new DatasourceCache(e), this._columnsIdx = {}, this._columns = this.db2Columns(this._datasource.outFields()).map((e, t) => (this._columnsIdx[e.field] = t, e)), this.rowFormatter = new RowFormatter(this._columns, t);
|
|
1330
|
+
}
|
|
1331
|
+
columns() {
|
|
1332
|
+
return this._columns;
|
|
1333
|
+
}
|
|
1334
|
+
db2Columns(e, t = "") {
|
|
1335
|
+
return e ? e.map((e, n) => {
|
|
1336
|
+
let r = {
|
|
1337
|
+
field: t + e.id,
|
|
1338
|
+
leafID: e.id,
|
|
1339
|
+
label: e.id,
|
|
1340
|
+
idx: n,
|
|
1341
|
+
className: "resultGridCell",
|
|
1342
|
+
sortable: !0,
|
|
1343
|
+
hidden: !1,
|
|
1344
|
+
isSet: !1
|
|
1345
|
+
};
|
|
1346
|
+
return e.type === "dataset" ? r.children = this.db2Columns(e.children, t + e.id + "_") : r.formatter = (e, t) => {
|
|
1347
|
+
switch (typeof e) {
|
|
1348
|
+
case "string": return e.replace(/\t/g, " ");
|
|
1349
|
+
}
|
|
1350
|
+
return e;
|
|
1351
|
+
}, r;
|
|
1352
|
+
}) : [];
|
|
1353
|
+
}
|
|
1354
|
+
getIdentity(e) {
|
|
1355
|
+
return e.__hpcc_id;
|
|
1356
|
+
}
|
|
1357
|
+
_request(e, t) {
|
|
1358
|
+
return this._datasource ? this._datasource.fetch(e, t - e).then((t) => ({
|
|
1359
|
+
totalLength: this._datasource.total(),
|
|
1360
|
+
data: t.map((t, n) => {
|
|
1361
|
+
let r = this.rowFormatter.format(t);
|
|
1362
|
+
return r.__hpcc_id = e + n, r.__origRow = t, r;
|
|
1363
|
+
})
|
|
1364
|
+
})) : Promise.resolve({
|
|
1365
|
+
totalLength: 0,
|
|
1366
|
+
data: []
|
|
1367
|
+
});
|
|
1368
|
+
}
|
|
1369
|
+
fetchRange(e) {
|
|
1370
|
+
let t = new u();
|
|
1371
|
+
return this._request(e.start, e.end).then((e) => t.resolve(e)), new f(t.then((e) => e.data), { totalLength: t.then((e) => e.totalLength) });
|
|
1372
|
+
}
|
|
1373
|
+
}, DatasourceTable = class extends Common {
|
|
1374
|
+
_prevDatasource;
|
|
1375
|
+
constructor() {
|
|
1376
|
+
super();
|
|
1377
|
+
}
|
|
1378
|
+
invalidate() {
|
|
1379
|
+
return delete this._prevDatasource, this;
|
|
1380
|
+
}
|
|
1381
|
+
enter(e, t) {
|
|
1382
|
+
super.enter(e, t);
|
|
1383
|
+
}
|
|
1384
|
+
update(e, t) {
|
|
1385
|
+
super.update(e, t);
|
|
1386
|
+
}
|
|
1387
|
+
render(e) {
|
|
1388
|
+
return super.render((t) => {
|
|
1389
|
+
if (this._prevDatasource !== this.datasource()) if (this._dgrid.set("collection", new d()), this._dgrid.set("columns", []), this._prevDatasource = this.datasource(), this._prevDatasource) {
|
|
1390
|
+
let n = new DatasourceStore(this._prevDatasource, this.renderHtml());
|
|
1391
|
+
this._dgrid.set("columns", n.columns()), this._dgrid.set("collection", n), e && e(t);
|
|
1392
|
+
} else e && e(t);
|
|
1393
|
+
else e && e(t);
|
|
1394
|
+
});
|
|
1395
|
+
}
|
|
1396
|
+
click(e, t, n) {}
|
|
1397
|
+
};
|
|
1398
|
+
DatasourceTable.prototype._class += " dgrid_DatasourceTable", DatasourceTable.prototype.publish("datasource", null, "object", "Datasource");
|
|
1399
|
+
//#endregion
|
|
1400
|
+
export { c as BUILD_VERSION, ColumnFormat, h as ColumnSetGrid, ColumnSetTable, Common, DBStore, DatasourceCache, DatasourceStore, DatasourceTable, u as Deferred, p as Grid, d as Memory, o as PKG_NAME, s as PKG_VERSION, m as PagingGrid, f as QueryResults, RowFormatter, Table, g as domConstruct };
|
|
1401
|
+
|
|
2
1402
|
//# sourceMappingURL=index.js.map
|
|
3
|
-
!function(){"use strict";try{if("undefined"!=typeof document){var i=document.createElement("style");i.appendChild(document.createTextNode(".dijitTooltip{position:absolute;z-index:2000;display:block;left:0;top:-10000px;overflow:visible;font-family:Verdana,Geneva,sans-serif;font-size:12px}.dijitTooltipContainer{border:solid black 2px;background:#b8b5b5;color:#000;font-size:small}.dijitTooltipFocusNode{padding:2px}.dijitTooltipConnector{position:absolute}.dj_a11y .dijitTooltipConnector,.dijitTooltipData{display:none}.dijitTooltip{background:transparent}.dijitTooltipContainer{background-color:#424242;opacity:1;-ms-filter:none;filter:none;padding:4px 8px;border-radius:3px}.dijitTooltip .dijitTooltipContainer{color:#fff;border:0 none}.dijitTooltipConnector{z-index:2;width:auto;height:auto;opacity:1;-ms-filter:none;filter:none}.dijitTooltipABRight .dijitTooltipConnector{left:auto!important;right:8px}.dijitTooltipBelow{padding-top:4px}.dijitTooltipBelow .dijitTooltipConnector{top:0;left:8px;border-bottom:4px solid #424242;border-left:4px solid transparent;border-right:4px solid transparent;border-top:0}.dijitTooltipAbove{padding-bottom:4px}.dijitTooltipAbove .dijitTooltipConnector{bottom:0;left:8px;border-top:4px solid #424242;border-left:4px solid transparent;border-right:4px solid transparent;border-bottom:0}.dijitTooltipLeft{padding-right:4px}.dijitTooltipLeft .dijitTooltipConnector{right:0;border-left:4px solid #424242;border-bottom:4px solid transparent;border-top:4px solid transparent;border-right:0}.dijitTooltipRight{padding-left:4px}.dijitTooltipRight .dijitTooltipConnector{left:0;border-bottom:4px solid transparent;border-top:4px solid transparent;border-right:4px solid #424242}.dgrid{position:relative;overflow:hidden;border:1px solid #ddd;height:30em;display:block}.dgrid-header{background-color:#eee}.dgrid-header-row{position:absolute;right:17px;left:0}.dgrid-header-scroll{position:absolute;top:0;right:0}.dgrid-footer{position:absolute;bottom:0;width:100%}.dgrid-header-hidden{font-size:0;height:0!important;border-top:none!important;border-bottom:none!important;margin-top:0!important;margin-bottom:0!important;padding-top:0!important;padding-bottom:0!important}.dgrid-footer-hidden{display:none}.dgrid-sortable{cursor:pointer}.dgrid-header,.dgrid-header-row,.dgrid-footer{overflow:hidden;background-color:#eee}.dgrid-row-table{border-collapse:collapse;border:none;table-layout:fixed;empty-cells:show;width:100%;height:100%}.dgrid-cell{padding:3px;text-align:left;overflow:hidden;vertical-align:top;border:1px solid #ddd;border-top-style:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;text-overflow:ellipsis;white-space:nowrap}.dgrid-content{position:relative;height:99%}.dgrid-scroller{overflow-x:auto;overflow-y:scroll;position:absolute;top:0;margin-top:25px;bottom:0;width:100%}.dgrid-preload{font-size:0;line-height:0}.dgrid-loading{position:relative;height:100%}.dgrid-above{position:absolute;bottom:0}.ui-icon{width:12px;height:16px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAADwCAMAAADYSUr5AAAA7VBMVEUkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiTww4gUAAAATnRSTlMAGBAyBAhQv4OZLiJUcEBmYBoSzQwgPBZCSEoeWiYwUiyFNIeBw2rJz8c4RBy9uXyrtaWNqa2zKP2fJO8KBgKPo2KVoa9s351GPm5+kWho0kj9AAAPhUlEQVR4nO1djWLbthEGyUiq5YSSLXtp7FpLOmfzkmxr126tmi2p03RJ1/Xe/3EGgARxPyAgRbIk2/hkSz4CJO4+HsE7AJSVysjI2AMUUOxahZ2iANhzBtZWr4BoIRSYAVN5u4QwDwQDRbcwfUi5KS3wFuDmFnQLa4Dtb//cqktwD5QEFFwfUs7PoCCA7y4bEJVFizcIob8KmhAplwwqVjt+9FBl3uINQniwEiryEyw9JHqGpQdEFNi+B4QQ7QOiHhysIPoAxUqxvdvvA9K42bsAv4S2fxfYOe57IJSRkZGRkZGxx7jxSHDHcRBXQMTyIjInBgHwBJ/bEx8PEANC+uhbpSSggCBAVODVabpI1S/k4WLZpTn6NpMhoX9Y40hxYERFpMcqUs4AloCtDQdID1YhnyXZ2hLjAYWiO9Dy1PDB7tPhIqLx+uMB8grZaR+Qxl2/C2RkZGRkZGRk7A7rBf7J0DR5/LUTjzUPIPSPGvQJiVJiB7kcQCiUOJrcFNtDZIf2xarQ3aGvLNxAVIFAabz90BFiBIlycTBhgWwOWCH0FLYHlPqwHaCvcIn2ZbosCevfPTRiFFcgvHukCjWwrc3GrGh1fsAof8EaUReKXkCB4/MzFNo97qLpFiKFYv/kNR5YQxQbQEofkZ2OuEOHqqT6gFTpru8CN7x/+jaZkZGRkZGRcV+x/rLUNcMMqUAscgnFocmpqkTzqymwVAPxfJ5PnIUUQOUKT04tEdWZyv3JCQSn96WS4pD97QfyW25A7NhSAbyhmVj0FEltA4vdiygBibXhoUYgykCUP7HwPTDeEqAIcHVMkZg7Zx4k0uFANs63hPQXCoRLAwdgGsr9Az7Qv7sgQGgg1aPl/BJLExBWgG4RFRLFImGmIquPC/klEGyCG0AuAXaJJC+B8FVe9NYQDEcXB8g6AQcjYJ1goJIggHWCrFR0S6kRHN5+4BzFi8NaoN35NRxUvL+JJdZr7PV4wK6fj8nIyMjIyNhr3OxdXAYq7FHZwB6bDSzSh4sF0utChqo0NAvaT1hLzXwFinmCzmeDucEQK18TTaQoFgP7bNC+RZ4OT4T6gQogDFYk+1QxQlj19QGSAWKiLYp8P0Ag1Gbz1ULfWHLg9iUnQNK5QQJcukm04blKLH2GgEJCY+HzXAZWCvHKco3Bp6MIaCjSXXRJyOxeqhnzEaF93MfFGW/O16ZvDL5TM4MJIjujz/cHypkQuuzRwWJ93BKdIt+wCRAPl9kpe2Ikkb2mFgGlxh/i40d3EHfdvoyMjIyMu43ylt/IAmGHnN5iIt7wKfbv01RAcJqFRl9lcjYQSnbQqKgC4fYOwSJt6N6trE0twZ9kN/PqNpTQeICvr4TLsDYC06U7BMjshS+v1/aT7IwQYD5LcgRQXMT2FrBfBLjZ6151jDElk9tPFfpUgk2yregusX25BJbwAFEfM+YI6vGAti4bTtizB+TjfQCrERyhKb2X8D6A9wX75P4t4neBYJeP6pdhg/gQl8MWvytzeSTjgOQBynQdh/iXKdxOrGJ/RkZGRsb9QmXihGr5+g8GGg9uTh+KoVZuNIzV+CwRucFBEyr1mVjx4irOxwM1BhirB6Q+2eNQi4eqR+aF6mELtoMzCR7V9RAFe/ZvQogNiyY8FPSUTFsLp8TeTmMui5mtw7bcaT0Yw2AA4wFRQIlkgq+1DQrNhkmoxS5Jq+u6bMAIGRECEANgXHTgWzwgBOhDH2l0oTQ4D8D5NMktBgNywAEMjo8rwATMZrPY7JGxBoJCkIBDQiAY09EGTUiBCWkUpISfGPR5AAwBfZiG2z7Ayc1yeKTxid39xBNwfHr4O0LA48ePFTvhYrF1r4tyAoz9n2MCqEuBtp/6GDR0oAYfG/R6wJExHYZHfhygsv7fEWCOj4bYmsP5A+pL4MkTfAnMlD4F+r3bobKvTyTA2P/w7PN+Agq2QW8piqMCpTBwenoKvX0AHGkGtP2YAPvTEWA7QUTAudn7/NxtOG46wWNmDtpBEkBzN7rBEvAFHp+YTB/q97qPAN4gHFqgBi8uLsC7qPCA6mg41G/+ErByPwEXDdoNxRhOx+M5jPEzQugS0ht+b1/Y3gEnYMAIAOIBE29/hIDucE8tmMsNOgK4B1RHFu4UCRlMHzv0xzcajcfdXWDs2h8TArBCkoDUJYDLmz6w7ip3BFS0ve5wTRwAn6keMA9I3QYbfSZ0DKbyt+7OXjGI1idPcfNyAyfAMlCrzaGqphYrxHocLHRJVycnfGUcbtT+jIyMjIw9x7Nn8fJSzG0TmFtO8rZT+XT3S3ub+tKJbbLd5diTVp50+zahyeHSslJ/YPrU0fuazrZO2CZ92/ZCCVXlGRiZKPJyPPRxyIFWeXLQBXJBKiq/3divEAN6ZwM200Qjm7EJBZeWm/PRWVCbYK7s7u2l4XaCz+lzgOfMfhMonXr7TWzeZb98dbgIzBT8Ub8eYYUqfZ4rVJ/MDbIDgPqTulJ/xvntWAtjIisqnwxOkGz0n077FARoY79GdA6HPE4rOy196NiMWHTZlSSApcOgXpy/fHV2joaNKu3ffsAnRcBf4K/6NcIG6tIxk3HyoXPjASqfUgXbYN5PzpL2njkR9QMjeDTVHDTCgRuxOegjoO0FvKzP/t/gmVdI24+G7NIe8JX6Wv3dDyldMA+4YB5wwTygtd+dwRqaTqrLb1l73zTSN52CNpnHuQOYPsDblybgxfkXh/oVtr+N1DEBJdhRJyd/Bd/q1z+cbNrD17iVKyajcnv9arhOkRPgsruuD6DmNPwpDNrLw2CoTgHni4yALr0L29+tiKAEIPn868ejx//8rpWP3OEOl5On9OwpcQm0MhafP/ey8f1uvDNIgGLQG8z4YO99ENgg95etwv4uYJYY8fUGHYH6j6fscHFZMftlAl9i+9XL73X3N/n+ZStOzfVfRvYXhrbdKOpEgVQTg/wsDuDD3kwOfQNMTJ5y+/ltUDWLunyxnRF46IqlBzGMY4X7inggREFioIyMjIyMHWCIB6ZNKAcXseo3vLTQTkVE7348dlwJJSz0+wLfmi8BhZqfw3D4ww/wHVLnEd5/fgYvXsDZ3MlsvYUbbnDjDZ3MN3TJG4+bxjAaDl8TBri9qxEw1ccao2wTNAMLHo2f+sjrXwb/9qHoYqgPMBXJTVfOpmrZH23y6uvo0LHSyY6fHGwKfHJlAuMFvObjDYrIqxBgQi20h7Hd/nYVLmno+eaNUm/eeH2GCuopntnhBJAlI2AHo9CCh1I1QxUdAbqqGY9BBLwyc3W4wYVhvY8A4BoIc1l5M7vnPWphZW9/Ses3n37y9a0uGqFwFQZsQQbd386DogpgEk+dzynsAZMJXq8+ns9NeukJ0PYrNATGGefJQlhkLo7DTXr+y3bNiOsDvrXTz/C2q1DXZH84iRNwrP88Nj+u2DjYEE6RBxD9Knj16ujVHC67A7422o02RwD3gB+t7EblWvu9geOFxSnd3ROmT+nJyQkhoPlsxVONc/3TEdBos+jtA+ZzcwHgTvD1cDjaYCcItA8w9i88A8b+mqSjc6Pvqd998QguEQPmQMeo23ODN86+p0/bn1buBkT6+oBhNZ/PYY4ZAHYb3PRd4LkZmPX68NRtMZn4ASvdA+qf0jMA5MP9eeg28Nug9QiLnj5A33U1MAES6xHAUNpz/9zFAYE1gqQDMT3G6xI9pwdw/aIgKoHCS1YGlRnSq9yCjdXjgN3j+N27YyROHxmuNAeNKPpYuXIyIyMjYy0M8eros59MF/PT2c602T7eA7zvhJ9dr/vzDjXaLp4Yc5+0wllzxzHv3gdmMMM7/CcQzKgVBqYTmFn+Z+mKm8J7k0A5F/jgCfjQ1WBhQyiOqD0lYuqBb+AyzMw9Ha2G3m6c8qQx+AlqnIceQp+Sb6i9UyQWbhr54+AjnZ0VzW2TAN0DmBT6PWmc6jDBE2PK2u+nF43dyP7Q0t1pOcX2fdRvH0mF2Q4JqN35rnHjVIeaXfIAVyUuw/aHCCiJy9iF5l1621zweI8KZrPZ9iJdb7DXJ3US0OSrtZ10imt7wHY7QesAzUMz1oZ3noB3qFJ/H18j97FYuw8QDN4oeKf30osvcSW2ExLo+VcbuAuo/sUIm8fMG9xocO3Ea19J9gFYivnHJ2KnyfovZlgW3v6ySx32abQiIyMjIyPjhlFDTLxpwIgFMnTp6A3g4IDKNY+stkwAMAoIAbasxBXqUWneSAWTMjt50lTqT29rFjvXohjsDNm2YPXDFlICmrJOZ3t6tHm8AiEAl0sCeLIIorIRt+cFbew/QRsoAXb4o1XSfoywzm0FTMAoYBNvLyFu8v8HpLBtD1iKgC17wHb7AI6d9wFbvguAIGTHd4E9wG7jgIyMjIyM+434c2R3HeV/Ffx6jtZu6ijl8h59T655jhR+rdHzDOP6beABCheb8O8/WFXeOyzgf5oAhVYnKxP7CwaAf1afJu8bSrhS6tdaXeGnrRenOqOlz9d6QwYnA/3TLd+GE7qe3chA5YF5DfY0vK3adfOX/gyNp2BW25MHdxAB9qvRiiP3/XpQQFGYDU4+Mi///XumXG8pjvaUAOsBGlf4jJt+YYEzeEzAdw06F19R3juM7D1wita86GR0CKfDHgLuXCc4Bri6vMLdfjMc4VNSUNsdodo2xu/1+Xl/K5+az8jIyMhYG/z5gJTMF1GtKq/a3rpyCvz5gJTMl9GtKq/a3rpyCmfQ4WwZmS+kXFVetb115ST48wEf/AGcfG1iw+tWbpbS2vJ3nQxcVr3lH3z5h972FUTLzYpOVk7l5hD+eYcYwDcAnewOotrZ4OtrPDucqi/LRX0/RR4qx7Nn4U8g+qjffvuN6Gf+nC85vwauHjaYyubqvWYKY4VEfSUMitdnBCT1Ue63R5439m+OgCn6DroAAaHPVQxKth/wkJgHmG8bmQMsT0D6EjDfvhVRKO3ywOQUgRA7nmL1uawZmHf1k+DPBwQ6NdcJ+k6Md1LA5f5ONdhJ8vZ5J0vLHT99srkGOjmJbd/G1r2Nriqnse1AZt1AalU5jW2HsuuG0qvKGRkZGRkZGRG0gcONyXsP9v8D0/IdJADiBNiXl3327WRGgOL/9HC/0XwlIURkRhC4tz6Z/fu7fUf2gHvfB9z3u0BGRkZGRkbGplHcnkgguQoSqtUXuhbs/wPtMwqV0HUJAvj5vk32b8IDuL23yn7qAXZ5u32hbRX7d3o82Df1FZXvbh9QOfhyxldr/+3xgXU9oKmvsHyr7F/XA269/eveBXrsv7N9QALe/tvjA0kPWAXGbvebkbHn+D/J5nMcHzx1UAAAAABJRU5ErkJggg==)}.dgrid-sort-arrow{background-position:-64px -16px;display:block;float:right;margin:0 4px 0 5px;height:12px}.dgrid-sort-up .dgrid-sort-arrow{background-position:0px -16px}.dgrid-selected{background-color:#bbb}.dgrid-input{width:99%}html.has-mozilla .dgrid .dgrid-row:focus,html.has-mozilla .dgrid .dgrid-cell:focus{outline:1px dotted}html.has-mozilla .dgrid-focus{outline-offset:-1px}.dgrid-scrollbar-measure{width:100px;height:100px;overflow:scroll;position:absolute;top:-9999px}.dgrid-autoheight{height:auto}.dgrid-autoheight .dgrid-scroller{position:relative;overflow-y:hidden}.dgrid-autoheight .dgrid-header-scroll{display:none}.dgrid-autoheight .dgrid-header{right:0}.dgrid-column-set{overflow:hidden;width:100%;position:relative;height:100%;-ms-touch-action:pan-y;touch-action:pan-y}.dgrid-column-set-cell{vertical-align:top;height:100%}.dgrid-column-set-scroller-container{font-size:0;position:absolute;bottom:0}.dgrid-autoheight .dgrid-column-set-scroller-container{position:relative}.dgrid-column-set-scroller{display:inline-block;overflow-x:auto;overflow-y:hidden}.dgrid-column-set-scroller-content{height:1px}.ui-icon-triangle-1-e{background-position:-32px -16px}.ui-icon-triangle-1-se{background-position:-48px -16px}.dgrid-expando-icon{width:16px;height:16px}.dgrid-tree-container{-webkit-transition-duration:.3s;-moz-transition-duration:.3s;-o-transition-duration:.3s;-ms-transition-duration:.3s;transition-duration:.3s;overflow:hidden}.dgrid-tree-container.dgrid-tree-resetting{-webkit-transition-duration:0;-moz-transition-duration:0;-o-transition-duration:0;-ms-transition-duration:0;transition-duration:0}.dgrid-hider-toggle{background-position:0 -192px;background-color:transparent;border:none;cursor:pointer;position:absolute;right:0;top:0}.dgrid-rtl-swap .dgrid-hider-toggle{right:auto;left:0}.dgrid-hider-menu{position:absolute;top:0;right:17px;width:184px;background-color:#fff;border:1px solid #000;z-index:99999;padding:4px;overflow-x:hidden;overflow-y:auto}.dgrid-rtl-swap .dgrid-hider-menu{right:auto;left:17px}.dgrid-hider-menu-row{position:relative;padding:2px}.dgrid-hider-menu-check{position:absolute;top:2px;left:2px;padding:0}.dgrid-hider-menu-label{display:block;padding-left:20px}.dgrid-header .dojoDndTarget .dgrid-cell{display:table-cell}.dgrid-header .dojoDndItemBefore{border-left:2px dotted #000!important}.dgrid-header .dojoDndItemAfter{border-right:2px dotted #000!important}.dgrid-column-resizer{cursor:col-resize;position:absolute;width:2px;background-color:#666;z-index:1000}.dgrid-resize-handle{height:100px;width:0;position:absolute;right:-4px;top:-4px;cursor:col-resize;z-index:999;border-left:8px solid transparent;outline:none}.dgrid-resize-header-container{height:100%}.dgrid-resize-guard{cursor:col-resize;position:absolute;inset:0}html.has-touch .dgrid-resize-handle{border-left:20px solid transparent}html.has-touch .dgrid-column-resizer{width:2px}.dgrid-resize-header-container{position:relative}.dgrid-header .dgrid-cell{overflow:hidden}.dgrid-spacer-row{height:0}.dgrid-spacer-row th{padding-top:0;padding-bottom:0;border-top:none;border-bottom:none}.dgrid-status{padding:2px}.dgrid-pagination .dgrid-status{float:left}.dgrid-pagination .dgrid-navigation,.dgrid-pagination .dgrid-page-size{float:right}.dgrid-navigation .dgrid-page-link{cursor:pointer;font-weight:700;text-decoration:none;color:inherit;padding:0 4px}.dgrid-first,.dgrid-last,.dgrid-next,.dgrid-previous{font-size:130%}.dgrid-pagination .dgrid-page-disabled{color:#aaa;cursor:default}.dgrid-page-input{margin-top:1px;width:2em;text-align:center}.dgrid-page-size{margin:1px 4px 0}.dgrid-rtl-swap .dgrid-header-row{right:0;left:17px}.dgrid-rtl-swap .dgrid-header-scroll{left:0;right:auto}.dgrid-rtl .dgrid-cell{text-align:right}.dgrid-rtl .dgrid-sort-arrow{float:left;margin:0 5px 0 4px}.dgrid-rtl .ui-icon-triangle-1-e{background-position:-96px -16px}.dgrid-rtl .ui-icon-triangle-1-se{background-position:-80px -16px}.dgrid-rtl .dgrid-pagination .dgrid-status,.dgrid-rtl .dgrid-pagination .dgrid-page-size{float:right}.dgrid-rtl .dgrid-pagination .dgrid-navigation{float:left}.dgrid-rtl.dgrid-autoheight .dgrid-header{left:0}.dgrid_Table .placeholder{border:none;padding:0;overflow:hidden}.dgrid_Table .dgrid-fakeline{border:0px;border-bottom:1px solid rgb(221,221,221);margin:2px -3px}.dgrid_Table .dgrid-sortable .dgrid-sort-arrow.ui-icon{margin:0}")),document.head.appendChild(i)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}}();
|
|
1403
|
+
(function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`.dijitTooltip{z-index:2000;font-family:Verdana,Geneva,sans-serif;font-size:12px;display:block;position:absolute;top:-10000px;left:0;overflow:visible}.dijitTooltipContainer{color:#000;background:#b8b5b5;border:2px solid #000;font-size:small}.dijitTooltipFocusNode{padding:2px}.dijitTooltipConnector{position:absolute}.dj_a11y .dijitTooltipConnector,.dijitTooltipData{display:none}.dijitTooltip{background:0 0}.dijitTooltipContainer{opacity:1;-ms-filter:none;filter:none;background-color:#424242;border-radius:3px;padding:4px 8px}.dijitTooltip .dijitTooltipContainer{color:#fff;border:0}.dijitTooltipConnector{z-index:2;opacity:1;-ms-filter:none;filter:none;width:auto;height:auto}.dijitTooltipABRight .dijitTooltipConnector{right:8px;left:auto!important}.dijitTooltipBelow{padding-top:4px}.dijitTooltipBelow .dijitTooltipConnector{border:4px solid #0000;border-top:0;border-bottom-color:#424242;top:0;left:8px}.dijitTooltipAbove{padding-bottom:4px}.dijitTooltipAbove .dijitTooltipConnector{border:4px solid #0000;border-top-color:#424242;border-bottom:0;bottom:0;left:8px}.dijitTooltipLeft{padding-right:4px}.dijitTooltipLeft .dijitTooltipConnector{border:4px solid #0000;border-left-color:#424242;border-right:0;right:0}.dijitTooltipRight{padding-left:4px}.dijitTooltipRight .dijitTooltipConnector{border-top:4px solid #0000;border-bottom:4px solid #0000;border-right:4px solid #424242;left:0}.dgrid{border:1px solid #ddd;height:30em;display:block;position:relative;overflow:hidden}.dgrid-header{background-color:#eee}.dgrid-header-row{position:absolute;left:0;right:17px}.dgrid-header-scroll{position:absolute;top:0;right:0}.dgrid-footer{width:100%;position:absolute;bottom:0}.dgrid-header-hidden{font-size:0;border-top:none!important;border-bottom:none!important;height:0!important;margin-top:0!important;margin-bottom:0!important;padding-top:0!important;padding-bottom:0!important}.dgrid-footer-hidden{display:none}.dgrid-sortable{cursor:pointer}.dgrid-header,.dgrid-header-row,.dgrid-footer{background-color:#eee;overflow:hidden}.dgrid-row-table{border-collapse:collapse;table-layout:fixed;empty-cells:show;border:none;width:100%;height:100%}.dgrid-cell{text-align:left;vertical-align:top;box-sizing:border-box;text-overflow:ellipsis;white-space:nowrap;border:1px solid #ddd;border-top-style:none;padding:3px;overflow:hidden}.dgrid-content{height:99%;position:relative}.dgrid-scroller{width:100%;margin-top:25px;position:absolute;top:0;bottom:0;overflow:auto scroll}.dgrid-preload{font-size:0;line-height:0}.dgrid-loading{height:100%;position:relative}.dgrid-above{position:absolute;bottom:0}.ui-icon{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAADwCAMAAADYSUr5AAAA7VBMVEUkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiQkIiTww4gUAAAATnRSTlMAGBAyBAhQv4OZLiJUcEBmYBoSzQwgPBZCSEoeWiYwUiyFNIeBw2rJz8c4RBy9uXyrtaWNqa2zKP2fJO8KBgKPo2KVoa9s351GPm5+kWho0kj9AAAPhUlEQVR4nO1djWLbthEGyUiq5YSSLXtp7FpLOmfzkmxr126tmi2p03RJ1/Xe/3EGgARxPyAgRbIk2/hkSz4CJO4+HsE7AJSVysjI2AMUUOxahZ2iANhzBtZWr4BoIRSYAVN5u4QwDwQDRbcwfUi5KS3wFuDmFnQLa4Dtb//cqktwD5QEFFwfUs7PoCCA7y4bEJVFizcIob8KmhAplwwqVjt+9FBl3uINQniwEiryEyw9JHqGpQdEFNi+B4QQ7QOiHhysIPoAxUqxvdvvA9K42bsAv4S2fxfYOe57IJSRkZGRkZGxx7jxSHDHcRBXQMTyIjInBgHwBJ/bEx8PEANC+uhbpSSggCBAVODVabpI1S/k4WLZpTn6NpMhoX9Y40hxYERFpMcqUs4AloCtDQdID1YhnyXZ2hLjAYWiO9Dy1PDB7tPhIqLx+uMB8grZaR+Qxl2/C2RkZGRkZGRk7A7rBf7J0DR5/LUTjzUPIPSPGvQJiVJiB7kcQCiUOJrcFNtDZIf2xarQ3aGvLNxAVIFAabz90BFiBIlycTBhgWwOWCH0FLYHlPqwHaCvcIn2ZbosCevfPTRiFFcgvHukCjWwrc3GrGh1fsAof8EaUReKXkCB4/MzFNo97qLpFiKFYv/kNR5YQxQbQEofkZ2OuEOHqqT6gFTpru8CN7x/+jaZkZGRkZGRcV+x/rLUNcMMqUAscgnFocmpqkTzqymwVAPxfJ5PnIUUQOUKT04tEdWZyv3JCQSn96WS4pD97QfyW25A7NhSAbyhmVj0FEltA4vdiygBibXhoUYgykCUP7HwPTDeEqAIcHVMkZg7Zx4k0uFANs63hPQXCoRLAwdgGsr9Az7Qv7sgQGgg1aPl/BJLExBWgG4RFRLFImGmIquPC/klEGyCG0AuAXaJJC+B8FVe9NYQDEcXB8g6AQcjYJ1goJIggHWCrFR0S6kRHN5+4BzFi8NaoN35NRxUvL+JJdZr7PV4wK6fj8nIyMjIyNhr3OxdXAYq7FHZwB6bDSzSh4sF0utChqo0NAvaT1hLzXwFinmCzmeDucEQK18TTaQoFgP7bNC+RZ4OT4T6gQogDFYk+1QxQlj19QGSAWKiLYp8P0Ag1Gbz1ULfWHLg9iUnQNK5QQJcukm04blKLH2GgEJCY+HzXAZWCvHKco3Bp6MIaCjSXXRJyOxeqhnzEaF93MfFGW/O16ZvDL5TM4MJIjujz/cHypkQuuzRwWJ93BKdIt+wCRAPl9kpe2Ikkb2mFgGlxh/i40d3EHfdvoyMjIyMu43ylt/IAmGHnN5iIt7wKfbv01RAcJqFRl9lcjYQSnbQqKgC4fYOwSJt6N6trE0twZ9kN/PqNpTQeICvr4TLsDYC06U7BMjshS+v1/aT7IwQYD5LcgRQXMT2FrBfBLjZ6151jDElk9tPFfpUgk2yregusX25BJbwAFEfM+YI6vGAti4bTtizB+TjfQCrERyhKb2X8D6A9wX75P4t4neBYJeP6pdhg/gQl8MWvytzeSTjgOQBynQdh/iXKdxOrGJ/RkZGRsb9QmXihGr5+g8GGg9uTh+KoVZuNIzV+CwRucFBEyr1mVjx4irOxwM1BhirB6Q+2eNQi4eqR+aF6mELtoMzCR7V9RAFe/ZvQogNiyY8FPSUTFsLp8TeTmMui5mtw7bcaT0Yw2AA4wFRQIlkgq+1DQrNhkmoxS5Jq+u6bMAIGRECEANgXHTgWzwgBOhDH2l0oTQ4D8D5NMktBgNywAEMjo8rwATMZrPY7JGxBoJCkIBDQiAY09EGTUiBCWkUpISfGPR5AAwBfZiG2z7Ayc1yeKTxid39xBNwfHr4O0LA48ePFTvhYrF1r4tyAoz9n2MCqEuBtp/6GDR0oAYfG/R6wJExHYZHfhygsv7fEWCOj4bYmsP5A+pL4MkTfAnMlD4F+r3bobKvTyTA2P/w7PN+Agq2QW8piqMCpTBwenoKvX0AHGkGtP2YAPvTEWA7QUTAudn7/NxtOG46wWNmDtpBEkBzN7rBEvAFHp+YTB/q97qPAN4gHFqgBi8uLsC7qPCA6mg41G/+ErByPwEXDdoNxRhOx+M5jPEzQugS0ht+b1/Y3gEnYMAIAOIBE29/hIDucE8tmMsNOgK4B1RHFu4UCRlMHzv0xzcajcfdXWDs2h8TArBCkoDUJYDLmz6w7ip3BFS0ve5wTRwAn6keMA9I3QYbfSZ0DKbyt+7OXjGI1idPcfNyAyfAMlCrzaGqphYrxHocLHRJVycnfGUcbtT+jIyMjIw9x7Nn8fJSzG0TmFtO8rZT+XT3S3ub+tKJbbLd5diTVp50+zahyeHSslJ/YPrU0fuazrZO2CZ92/ZCCVXlGRiZKPJyPPRxyIFWeXLQBXJBKiq/3divEAN6ZwM200Qjm7EJBZeWm/PRWVCbYK7s7u2l4XaCz+lzgOfMfhMonXr7TWzeZb98dbgIzBT8Ub8eYYUqfZ4rVJ/MDbIDgPqTulJ/xvntWAtjIisqnwxOkGz0n077FARoY79GdA6HPE4rOy196NiMWHTZlSSApcOgXpy/fHV2joaNKu3ffsAnRcBf4K/6NcIG6tIxk3HyoXPjASqfUgXbYN5PzpL2njkR9QMjeDTVHDTCgRuxOegjoO0FvKzP/t/gmVdI24+G7NIe8JX6Wv3dDyldMA+4YB5wwTygtd+dwRqaTqrLb1l73zTSN52CNpnHuQOYPsDblybgxfkXh/oVtr+N1DEBJdhRJyd/Bd/q1z+cbNrD17iVKyajcnv9arhOkRPgsruuD6DmNPwpDNrLw2CoTgHni4yALr0L29+tiKAEIPn868ejx//8rpWP3OEOl5On9OwpcQm0MhafP/ey8f1uvDNIgGLQG8z4YO99ENgg95etwv4uYJYY8fUGHYH6j6fscHFZMftlAl9i+9XL73X3N/n+ZStOzfVfRvYXhrbdKOpEgVQTg/wsDuDD3kwOfQNMTJ5y+/ltUDWLunyxnRF46IqlBzGMY4X7inggREFioIyMjIyMHWCIB6ZNKAcXseo3vLTQTkVE7348dlwJJSz0+wLfmi8BhZqfw3D4ww/wHVLnEd5/fgYvXsDZ3MlsvYUbbnDjDZ3MN3TJG4+bxjAaDl8TBri9qxEw1ccao2wTNAMLHo2f+sjrXwb/9qHoYqgPMBXJTVfOpmrZH23y6uvo0LHSyY6fHGwKfHJlAuMFvObjDYrIqxBgQi20h7Hd/nYVLmno+eaNUm/eeH2GCuopntnhBJAlI2AHo9CCh1I1QxUdAbqqGY9BBLwyc3W4wYVhvY8A4BoIc1l5M7vnPWphZW9/Ses3n37y9a0uGqFwFQZsQQbd386DogpgEk+dzynsAZMJXq8+ns9NeukJ0PYrNATGGefJQlhkLo7DTXr+y3bNiOsDvrXTz/C2q1DXZH84iRNwrP88Nj+u2DjYEE6RBxD9Knj16ujVHC67A7422o02RwD3gB+t7EblWvu9geOFxSnd3ROmT+nJyQkhoPlsxVONc/3TEdBos+jtA+ZzcwHgTvD1cDjaYCcItA8w9i88A8b+mqSjc6Pvqd998QguEQPmQMeo23ODN86+p0/bn1buBkT6+oBhNZ/PYY4ZAHYb3PRd4LkZmPX68NRtMZn4ASvdA+qf0jMA5MP9eeg28Nug9QiLnj5A33U1MAES6xHAUNpz/9zFAYE1gqQDMT3G6xI9pwdw/aIgKoHCS1YGlRnSq9yCjdXjgN3j+N27YyROHxmuNAeNKPpYuXIyIyMjYy0M8eros59MF/PT2c602T7eA7zvhJ9dr/vzDjXaLp4Yc5+0wllzxzHv3gdmMMM7/CcQzKgVBqYTmFn+Z+mKm8J7k0A5F/jgCfjQ1WBhQyiOqD0lYuqBb+AyzMw9Ha2G3m6c8qQx+AlqnIceQp+Sb6i9UyQWbhr54+AjnZ0VzW2TAN0DmBT6PWmc6jDBE2PK2u+nF43dyP7Q0t1pOcX2fdRvH0mF2Q4JqN35rnHjVIeaXfIAVyUuw/aHCCiJy9iF5l1621zweI8KZrPZ9iJdb7DXJ3US0OSrtZ10imt7wHY7QesAzUMz1oZ3noB3qFJ/H18j97FYuw8QDN4oeKf30osvcSW2ExLo+VcbuAuo/sUIm8fMG9xocO3Ea19J9gFYivnHJ2KnyfovZlgW3v6ySx32abQiIyMjIyPjhlFDTLxpwIgFMnTp6A3g4IDKNY+stkwAMAoIAbasxBXqUWneSAWTMjt50lTqT29rFjvXohjsDNm2YPXDFlICmrJOZ3t6tHm8AiEAl0sCeLIIorIRt+cFbew/QRsoAXb4o1XSfoywzm0FTMAoYBNvLyFu8v8HpLBtD1iKgC17wHb7AI6d9wFbvguAIGTHd4E9wG7jgIyMjIyM+434c2R3HeV/Ffx6jtZu6ijl8h59T655jhR+rdHzDOP6beABCheb8O8/WFXeOyzgf5oAhVYnKxP7CwaAf1afJu8bSrhS6tdaXeGnrRenOqOlz9d6QwYnA/3TLd+GE7qe3chA5YF5DfY0vK3adfOX/gyNp2BW25MHdxAB9qvRiiP3/XpQQFGYDU4+Mi///XumXG8pjvaUAOsBGlf4jJt+YYEzeEzAdw06F19R3juM7D1wita86GR0CKfDHgLuXCc4Bri6vMLdfjMc4VNSUNsdodo2xu/1+Xl/K5+az8jIyMhYG/z5gJTMF1GtKq/a3rpyCvz5gJTMl9GtKq/a3rpyCmfQ4WwZmS+kXFVetb115ST48wEf/AGcfG1iw+tWbpbS2vJ3nQxcVr3lH3z5h972FUTLzYpOVk7l5hD+eYcYwDcAnewOotrZ4OtrPDucqi/LRX0/RR4qx7Nn4U8g+qjffvuN6Gf+nC85vwauHjaYyubqvWYKY4VEfSUMitdnBCT1Ue63R5439m+OgCn6DroAAaHPVQxKth/wkJgHmG8bmQMsT0D6EjDfvhVRKO3ywOQUgRA7nmL1uawZmHf1k+DPBwQ6NdcJ+k6Md1LA5f5ONdhJ8vZ5J0vLHT99srkGOjmJbd/G1r2Nriqnse1AZt1AalU5jW2HsuuG0qvKGRkZGRkZGRG0gcONyXsP9v8D0/IdJADiBNiXl3327WRGgOL/9HC/0XwlIURkRhC4tz6Z/fu7fUf2gHvfB9z3u0BGRkZGRkbGplHcnkgguQoSqtUXuhbs/wPtMwqV0HUJAvj5vk32b8IDuL23yn7qAXZ5u32hbRX7d3o82Df1FZXvbh9QOfhyxldr/+3xgXU9oKmvsHyr7F/XA269/eveBXrsv7N9QALe/tvjA0kPWAXGbvebkbHn+D/J5nMcHzx1UAAAAABJRU5ErkJggg==);width:12px;height:16px}.dgrid-sort-arrow{float:right;background-position:-64px -16px;height:12px;margin:0 4px 0 5px;display:block}.dgrid-sort-up .dgrid-sort-arrow{background-position:0 -16px}.dgrid-selected{background-color:#bbb}.dgrid-input{width:99%}html.has-mozilla .dgrid .dgrid-row:focus,html.has-mozilla .dgrid .dgrid-cell:focus{outline:1px dotted}html.has-mozilla .dgrid-focus{outline-offset:-1px}.dgrid-scrollbar-measure{width:100px;height:100px;position:absolute;top:-9999px;overflow:scroll}.dgrid-autoheight{height:auto}.dgrid-autoheight .dgrid-scroller{position:relative;overflow-y:hidden}.dgrid-autoheight .dgrid-header-scroll{display:none}.dgrid-autoheight .dgrid-header{right:0}.dgrid-column-set{-ms-touch-action:pan-y;touch-action:pan-y;width:100%;height:100%;position:relative;overflow:hidden}.dgrid-column-set-cell{vertical-align:top;height:100%}.dgrid-column-set-scroller-container{font-size:0;position:absolute;bottom:0}.dgrid-autoheight .dgrid-column-set-scroller-container{position:relative}.dgrid-column-set-scroller{display:inline-block;overflow:auto hidden}.dgrid-column-set-scroller-content{height:1px}.ui-icon-triangle-1-e{background-position:-32px -16px}.ui-icon-triangle-1-se{background-position:-48px -16px}.dgrid-expando-icon{width:16px;height:16px}.dgrid-tree-container{-o-transition-duration:.3s;transition-duration:.3s;overflow:hidden}.dgrid-tree-container.dgrid-tree-resetting{-webkit-transition-duration:0;-moz-transition-duration:0;-o-transition-duration:0;-ms-transition-duration:0;transition-duration:0}.dgrid-hider-toggle{cursor:pointer;background-color:#0000;background-position:0 -192px;border:none;position:absolute;top:0;right:0}.dgrid-rtl-swap .dgrid-hider-toggle{left:0;right:auto}.dgrid-hider-menu{z-index:99999;background-color:#fff;border:1px solid #000;width:184px;padding:4px;position:absolute;top:0;right:17px;overflow:hidden auto}.dgrid-rtl-swap .dgrid-hider-menu{left:17px;right:auto}.dgrid-hider-menu-row{padding:2px;position:relative}.dgrid-hider-menu-check{padding:0;position:absolute;top:2px;left:2px}.dgrid-hider-menu-label{padding-left:20px;display:block}.dgrid-header .dojoDndTarget .dgrid-cell{display:table-cell}.dgrid-header .dojoDndItemBefore{border-left:2px dotted #000!important}.dgrid-header .dojoDndItemAfter{border-right:2px dotted #000!important}.dgrid-column-resizer{cursor:col-resize;z-index:1000;background-color:#666;width:2px;position:absolute}.dgrid-resize-handle{cursor:col-resize;z-index:999;border-left:8px solid #0000;outline:none;width:0;height:100px;position:absolute;top:-4px;right:-4px}.dgrid-resize-header-container{height:100%}.dgrid-resize-guard{cursor:col-resize;position:absolute;inset:0}html.has-touch .dgrid-resize-handle{border-left:20px solid #0000}html.has-touch .dgrid-column-resizer{width:2px}.dgrid-resize-header-container{position:relative}.dgrid-header .dgrid-cell{overflow:hidden}.dgrid-spacer-row{height:0}.dgrid-spacer-row th{border-top:none;border-bottom:none;padding-top:0;padding-bottom:0}.dgrid-status{padding:2px}.dgrid-pagination .dgrid-status{float:left}.dgrid-pagination .dgrid-navigation,.dgrid-pagination .dgrid-page-size{float:right}.dgrid-navigation .dgrid-page-link{cursor:pointer;color:inherit;padding:0 4px;font-weight:700;text-decoration:none}.dgrid-first,.dgrid-last,.dgrid-next,.dgrid-previous{font-size:130%}.dgrid-pagination .dgrid-page-disabled{color:#aaa;cursor:default}.dgrid-page-input{text-align:center;width:2em;margin-top:1px}.dgrid-page-size{margin:1px 4px 0}.dgrid-rtl-swap .dgrid-header-row{left:17px;right:0}.dgrid-rtl-swap .dgrid-header-scroll{left:0;right:auto}.dgrid-rtl .dgrid-cell{text-align:right}.dgrid-rtl .dgrid-sort-arrow{float:left;margin:0 5px 0 4px}.dgrid-rtl .ui-icon-triangle-1-e{background-position:-96px -16px}.dgrid-rtl .ui-icon-triangle-1-se{background-position:-80px -16px}.dgrid-rtl .dgrid-pagination .dgrid-status,.dgrid-rtl .dgrid-pagination .dgrid-page-size{float:right}.dgrid-rtl .dgrid-pagination .dgrid-navigation{float:left}.dgrid-rtl.dgrid-autoheight .dgrid-header{left:0}.dgrid_Table .placeholder{border:none;padding:0;overflow:hidden}.dgrid_Table .dgrid-fakeline{border:0;border-bottom:1px solid #ddd;margin:2px -3px}.dgrid_Table .dgrid-sortable .dgrid-sort-arrow.ui-icon{margin:0}/*$vite$:1*/`)),document.head.appendChild(e)}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();
|