From 431b8778eddd56999e0e4832118dc58c6091fed1 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 9 Apr 2023 11:14:46 +0300 Subject: [PATCH] bump dojo to 1.16.5 --- lib/dijit/bower.json | 2 +- lib/dijit/form/_FormSelectWidget.js | 2 +- lib/dijit/package.json | 4 ++-- lib/dojo-src/rebuild-dojo.sh | 2 +- lib/dojo/_base/kernel.js | 2 +- lib/dojo/_base/lang.js | 2 +- lib/dojo/dojo.js | 2 +- lib/dojo/package.json | 4 ++-- lib/dojo/tt-rss-layer.js | 2 +- 9 files changed, 11 insertions(+), 11 deletions(-) diff --git a/lib/dijit/bower.json b/lib/dijit/bower.json index 6c72245ec..c912e5dd8 100644 --- a/lib/dijit/bower.json +++ b/lib/dijit/bower.json @@ -15,7 +15,7 @@ "url": "https://github.com/dojo/dijit.git" }, "dependencies": { - "dojo": "1.16.4" + "dojo": "1.16.5" }, "devDependencies": { } diff --git a/lib/dijit/form/_FormSelectWidget.js b/lib/dijit/form/_FormSelectWidget.js index 58c34e0a2..b6d1de198 100644 --- a/lib/dijit/form/_FormSelectWidget.js +++ b/lib/dijit/form/_FormSelectWidget.js @@ -1,2 +1,2 @@ //>>built -define("dijit/form/_FormSelectWidget",["dojo/_base/array","dojo/_base/Deferred","dojo/aspect","dojo/data/util/sorter","dojo/_base/declare","dojo/dom","dojo/dom-class","dojo/_base/kernel","dojo/_base/lang","dojo/query","dojo/when","dojo/store/util/QueryResults","./_FormValueWidget"],function(_1,_2,_3,_4,_5,_6,_7,_8,_9,_a,_b,_c,_d){var _e=_5("dijit.form._FormSelectWidget",_d,{multiple:false,options:null,store:null,_setStoreAttr:function(_f){if(this._created){this._deprecatedSetStore(_f);}},query:null,_setQueryAttr:function(_10){if(this._created){this._deprecatedSetStore(this.store,this.selectedValue,{query:_10});}},queryOptions:null,_setQueryOptionsAttr:function(_11){if(this._created){this._deprecatedSetStore(this.store,this.selectedValue,{queryOptions:_11});}},labelAttr:"",onFetch:null,sortByLabel:true,loadChildrenOnOpen:false,onLoadDeferred:null,getOptions:function(_12){var _13=this.options||[];if(_12==null){return _13;}if(_9.isArrayLike(_12)){return _1.map(_12,"return this.getOptions(item);",this);}if(_9.isString(_12)){_12={value:_12};}if(_9.isObject(_12)){if(!_1.some(_13,function(_14,idx){for(var a in _12){if(!(a in _14)||_14[a]!=_12[a]){return false;}}_12=idx;return true;})){_12=-1;}}if(_12>=0&&_12<_13.length){return _13[_12];}return null;},addOption:function(_15){_1.forEach(_9.isArrayLike(_15)?_15:[_15],function(i){if(i&&_9.isObject(i)){this.options.push(i);}},this);this._loadChildren();},removeOption:function(_16){var _17=this.getOptions(_9.isArrayLike(_16)?_16:[_16]);_1.forEach(_17,function(_18){if(_18){this.options=_1.filter(this.options,function(_19){return (_19.value!==_18.value||_19.label!==_18.label);});this._removeOptionItem(_18);}},this);this._loadChildren();},updateOption:function(_1a){_1.forEach(_9.isArrayLike(_1a)?_1a:[_1a],function(i){var _1b=this.getOptions({value:i.value}),k;if(_1b){for(k in i){_1b[k]=i[k];}}},this);this._loadChildren();},setStore:function(_1c,_1d,_1e){_8.deprecated(this.declaredClass+"::setStore(store, selectedValue, fetchArgs) is deprecated. Use set('query', fetchArgs.query), set('queryOptions', fetchArgs.queryOptions), set('store', store), or set('value', selectedValue) instead.","","2.0");this._deprecatedSetStore(_1c,_1d,_1e);},_deprecatedSetStore:function(_1f,_20,_21){var _22=this.store;_21=_21||{};if(_22!==_1f){var h;while((h=this._notifyConnections.pop())){h.remove();}if(!_1f.get){_9.mixin(_1f,{_oldAPI:true,get:function(id){var _23=new _2();this.fetchItemByIdentity({identity:id,onItem:function(_24){_23.resolve(_24);},onError:function(_25){_23.reject(_25);}});return _23.promise;},query:function(_26,_27){var _28=new _2(function(){if(_29.abort){_29.abort();}});_28.total=new _2();var _29=this.fetch(_9.mixin({query:_26,onBegin:function(_2a){_28.total.resolve(_2a);},onComplete:function(_2b){_28.resolve(_2b);},onError:function(_2c){_28.reject(_2c);}},_27));return new _c(_28);}});if(_1f.getFeatures()["dojo.data.api.Notification"]){this._notifyConnections=[_3.after(_1f,"onNew",_9.hitch(this,"_onNewItem"),true),_3.after(_1f,"onDelete",_9.hitch(this,"_onDeleteItem"),true),_3.after(_1f,"onSet",_9.hitch(this,"_onSetItem"),true)];}}this._set("store",_1f);}if(this.options&&this.options.length){this.removeOption(this.options);}if(this._queryRes&&this._queryRes.close){this._queryRes.close();}if(this._observeHandle&&this._observeHandle.remove){this._observeHandle.remove();this._observeHandle=null;}if(_21.query){this._set("query",_21.query);}if(_21.queryOptions){this._set("queryOptions",_21.queryOptions);}if(_1f&&_1f.query){this._loadingStore=true;this.onLoadDeferred=new _2();this._queryRes=_1f.query(this.query,this.queryOptions);_b(this._queryRes,_9.hitch(this,function(_2d){if(this.sortByLabel&&!_21.sort&&_2d.length){if(_1f.getValue){_2d.sort(_4.createSortFunction([{attribute:_1f.getLabelAttributes(_2d[0])[0]}],_1f));}else{var _2e=this.labelAttr;_2d.sort(function(a,b){return a[_2e]>b[_2e]?1:b[_2e]>a[_2e]?-1:0;});}}if(_21.onFetch){_2d=_21.onFetch.call(this,_2d,_21);}_1.forEach(_2d,function(i){this._addOptionForItem(i);},this);if(this._queryRes.observe){this._observeHandle=this._queryRes.observe(_9.hitch(this,function(_2f,_30,_31){if(_30==_31){this._onSetItem(_2f);}else{if(_30!=-1){this._onDeleteItem(_2f);}if(_31!=-1){this._onNewItem(_2f);}}}),true);}this._loadingStore=false;this.set("value","_pendingValue" in this?this._pendingValue:_20);delete this._pendingValue;if(!this.loadChildrenOnOpen){this._loadChildren();}else{this._pseudoLoadChildren(_2d);}this.onLoadDeferred.resolve(true);this.onSetStore();}),_9.hitch(this,function(err){console.error("dijit.form.Select: "+err.toString());this.onLoadDeferred.reject(err);}));}return _22;},_setValueAttr:function(_32,_33){if(!this._onChangeActive){_33=null;}if(this._loadingStore){this._pendingValue=_32;return;}if(_32==null){return;}if(_9.isArrayLike(_32)){_32=_1.map(_32,function(_34){return _9.isObject(_34)?_34:{value:_34};});}else{if(_9.isObject(_32)){_32=[_32];}else{_32=[{value:_32}];}}_32=_1.filter(this.getOptions(_32),function(i){return i&&i.value;});var _35=this.getOptions()||[];if(!this.multiple&&(!_32[0]||!_32[0].value)&&!!_35.length){_32[0]=_35[0];}_1.forEach(_35,function(opt){opt.selected=_1.some(_32,function(v){return v.value===opt.value;});});var val=_1.map(_32,function(opt){return opt.value;});if(typeof val=="undefined"||typeof val[0]=="undefined"){return;}var _36=_1.map(_32,function(opt){return opt.label;});this._setDisplay(this.multiple?_36:_36[0]);this.inherited(arguments,[this.multiple?val:val[0],_33]);this._updateSelection();},_getDisplayedValueAttr:function(){var ret=_1.map([].concat(this.get("selectedOptions")),function(v){if(v&&"label" in v){return v.label;}else{if(v){return v.value;}}return null;},this);return this.multiple?ret:ret[0];},_setDisplayedValueAttr:function(_37){this.set("value",this.getOptions(typeof _37=="string"?{label:_37}:_37));},_loadChildren:function(){if(this._loadingStore){return;}_1.forEach(this._getChildren(),function(_38){_38.destroyRecursive();});_1.forEach(this.options,this._addOptionItem,this);this._updateSelection();},_updateSelection:function(){this.focusedChild=null;this._set("value",this._getValueFromOpts());var val=[].concat(this.value);if(val&&val[0]){var _39=this;_1.forEach(this._getChildren(),function(_3a){var _3b=_1.some(val,function(v){return _3a.option&&(v===_3a.option.value);});if(_3b&&!_39.multiple){_39.focusedChild=_3a;}_7.toggle(_3a.domNode,this.baseClass.replace(/\s+|$/g,"SelectedOption "),_3b);_3a.domNode.setAttribute("aria-selected",_3b?"true":"false");},this);}},_getValueFromOpts:function(){var _3c=this.getOptions()||[];if(!this.multiple&&_3c.length){var opt=_1.filter(_3c,function(i){return i.selected;})[0];if(opt&&opt.value){return opt.value;}else{_3c[0].selected=true;return _3c[0].value;}}else{if(this.multiple){return _1.map(_1.filter(_3c,function(i){return i.selected;}),function(i){return i.value;})||[];}}return "";},_onNewItem:function(_3d,_3e){if(!_3e||!_3e.parent){this._addOptionForItem(_3d);}},_onDeleteItem:function(_3f){var _40=this.store;this.removeOption({value:_40.getIdentity(_3f)});},_onSetItem:function(_41){this.updateOption(this._getOptionObjForItem(_41));},_getOptionObjForItem:function(_42){var _43=this.store,_44=(this.labelAttr&&this.labelAttr in _42)?_42[this.labelAttr]:_43.getLabel(_42),_45=(_44?_43.getIdentity(_42):null);return {value:_45,label:_44,item:_42};},_addOptionForItem:function(_46){var _47=this.store;if(_47.isItemLoaded&&!_47.isItemLoaded(_46)){_47.loadItem({item:_46,onItem:function(i){this._addOptionForItem(i);},scope:this});return;}var _48=this._getOptionObjForItem(_46);this.addOption(_48);},constructor:function(_49){this._oValue=(_49||{}).value||null;this._notifyConnections=[];},buildRendering:function(){this.inherited(arguments);_6.setSelectable(this.focusNode,false);},_fillContent:function(){if(!this.options){this.options=this.srcNodeRef?_a("> *",this.srcNodeRef).map(function(_4a){if(_4a.getAttribute("type")==="separator"){return {value:"",label:"",selected:false,disabled:false};}return {value:(_4a.getAttribute("data-"+_8._scopeName+"-value")||_4a.getAttribute("value")),label:String(_4a.innerHTML),selected:_4a.getAttribute("selected")||false,disabled:_4a.getAttribute("disabled")||false};},this):[];}if(!this.value){this._set("value",this._getValueFromOpts());}else{if(this.multiple&&typeof this.value=="string"){this._set("value",this.value.split(","));}}},postCreate:function(){this.inherited(arguments);_3.after(this,"onChange",_9.hitch(this,"_updateSelection"));var _4b=this.store;if(_4b&&(_4b.getIdentity||_4b.getFeatures()["dojo.data.api.Identity"])){this.store=null;this._deprecatedSetStore(_4b,this._oValue,{query:this.query,queryOptions:this.queryOptions});}this._storeInitialized=true;},startup:function(){this._loadChildren();this.inherited(arguments);},destroy:function(){var h;while((h=this._notifyConnections.pop())){h.remove();}if(this._queryRes&&this._queryRes.close){this._queryRes.close();}if(this._observeHandle&&this._observeHandle.remove){this._observeHandle.remove();this._observeHandle=null;}this.inherited(arguments);},_addOptionItem:function(){},_removeOptionItem:function(){},_setDisplay:function(){},_getChildren:function(){return [];},_getSelectedOptionsAttr:function(){return this.getOptions({selected:true});},_pseudoLoadChildren:function(){},onSetStore:function(){}});return _e;}); \ No newline at end of file +define("dijit/form/_FormSelectWidget",["dojo/_base/array","dojo/_base/Deferred","dojo/aspect","dojo/data/util/sorter","dojo/_base/declare","dojo/dom","dojo/dom-class","dojo/_base/kernel","dojo/_base/lang","dojo/query","dojo/when","dojo/store/util/QueryResults","./_FormValueWidget"],function(_1,_2,_3,_4,_5,_6,_7,_8,_9,_a,_b,_c,_d){var _e=_5("dijit.form._FormSelectWidget",_d,{multiple:false,options:null,store:null,_setStoreAttr:function(_f){if(this._created){this._deprecatedSetStore(_f);}},query:null,_setQueryAttr:function(_10){if(this._created){this._deprecatedSetStore(this.store,this.selectedValue,{query:_10});}},queryOptions:null,_setQueryOptionsAttr:function(_11){if(this._created){this._deprecatedSetStore(this.store,this.selectedValue,{queryOptions:_11});}},labelAttr:"",onFetch:null,sortByLabel:true,loadChildrenOnOpen:false,onLoadDeferred:null,getOptions:function(_12){var _13=this.options||[];if(_12==null){return _13;}if(_9.isArrayLike(_12)){return _1.map(_12,function(_14){return this.getOptions(_14);},this);}if(_9.isString(_12)){_12={value:_12};}if(_9.isObject(_12)){if(!_1.some(_13,function(_15,idx){for(var a in _12){if(!(a in _15)||_15[a]!=_12[a]){return false;}}_12=idx;return true;})){_12=-1;}}if(_12>=0&&_12<_13.length){return _13[_12];}return null;},addOption:function(_16){_1.forEach(_9.isArrayLike(_16)?_16:[_16],function(i){if(i&&_9.isObject(i)){this.options.push(i);}},this);this._loadChildren();},removeOption:function(_17){var _18=this.getOptions(_9.isArrayLike(_17)?_17:[_17]);_1.forEach(_18,function(_19){if(_19){this.options=_1.filter(this.options,function(_1a){return (_1a.value!==_19.value||_1a.label!==_19.label);});this._removeOptionItem(_19);}},this);this._loadChildren();},updateOption:function(_1b){_1.forEach(_9.isArrayLike(_1b)?_1b:[_1b],function(i){var _1c=this.getOptions({value:i.value}),k;if(_1c){for(k in i){_1c[k]=i[k];}}},this);this._loadChildren();},setStore:function(_1d,_1e,_1f){_8.deprecated(this.declaredClass+"::setStore(store, selectedValue, fetchArgs) is deprecated. Use set('query', fetchArgs.query), set('queryOptions', fetchArgs.queryOptions), set('store', store), or set('value', selectedValue) instead.","","2.0");this._deprecatedSetStore(_1d,_1e,_1f);},_deprecatedSetStore:function(_20,_21,_22){var _23=this.store;_22=_22||{};if(_23!==_20){var h;while((h=this._notifyConnections.pop())){h.remove();}if(!_20.get){_9.mixin(_20,{_oldAPI:true,get:function(id){var _24=new _2();this.fetchItemByIdentity({identity:id,onItem:function(_25){_24.resolve(_25);},onError:function(_26){_24.reject(_26);}});return _24.promise;},query:function(_27,_28){var _29=new _2(function(){if(_2a.abort){_2a.abort();}});_29.total=new _2();var _2a=this.fetch(_9.mixin({query:_27,onBegin:function(_2b){_29.total.resolve(_2b);},onComplete:function(_2c){_29.resolve(_2c);},onError:function(_2d){_29.reject(_2d);}},_28));return new _c(_29);}});if(_20.getFeatures()["dojo.data.api.Notification"]){this._notifyConnections=[_3.after(_20,"onNew",_9.hitch(this,"_onNewItem"),true),_3.after(_20,"onDelete",_9.hitch(this,"_onDeleteItem"),true),_3.after(_20,"onSet",_9.hitch(this,"_onSetItem"),true)];}}this._set("store",_20);}if(this.options&&this.options.length){this.removeOption(this.options);}if(this._queryRes&&this._queryRes.close){this._queryRes.close();}if(this._observeHandle&&this._observeHandle.remove){this._observeHandle.remove();this._observeHandle=null;}if(_22.query){this._set("query",_22.query);}if(_22.queryOptions){this._set("queryOptions",_22.queryOptions);}if(_20&&_20.query){this._loadingStore=true;this.onLoadDeferred=new _2();this._queryRes=_20.query(this.query,this.queryOptions);_b(this._queryRes,_9.hitch(this,function(_2e){if(this.sortByLabel&&!_22.sort&&_2e.length){if(_20.getValue){_2e.sort(_4.createSortFunction([{attribute:_20.getLabelAttributes(_2e[0])[0]}],_20));}else{var _2f=this.labelAttr;_2e.sort(function(a,b){return a[_2f]>b[_2f]?1:b[_2f]>a[_2f]?-1:0;});}}if(_22.onFetch){_2e=_22.onFetch.call(this,_2e,_22);}_1.forEach(_2e,function(i){this._addOptionForItem(i);},this);if(this._queryRes.observe){this._observeHandle=this._queryRes.observe(_9.hitch(this,function(_30,_31,_32){if(_31==_32){this._onSetItem(_30);}else{if(_31!=-1){this._onDeleteItem(_30);}if(_32!=-1){this._onNewItem(_30);}}}),true);}this._loadingStore=false;this.set("value","_pendingValue" in this?this._pendingValue:_21);delete this._pendingValue;if(!this.loadChildrenOnOpen){this._loadChildren();}else{this._pseudoLoadChildren(_2e);}this.onLoadDeferred.resolve(true);this.onSetStore();}),_9.hitch(this,function(err){console.error("dijit.form.Select: "+err.toString());this.onLoadDeferred.reject(err);}));}return _23;},_setValueAttr:function(_33,_34){if(!this._onChangeActive){_34=null;}if(this._loadingStore){this._pendingValue=_33;return;}if(_33==null){return;}if(_9.isArrayLike(_33)){_33=_1.map(_33,function(_35){return _9.isObject(_35)?_35:{value:_35};});}else{if(_9.isObject(_33)){_33=[_33];}else{_33=[{value:_33}];}}_33=_1.filter(this.getOptions(_33),function(i){return i&&i.value;});var _36=this.getOptions()||[];if(!this.multiple&&(!_33[0]||!_33[0].value)&&!!_36.length){_33[0]=_36[0];}_1.forEach(_36,function(opt){opt.selected=_1.some(_33,function(v){return v.value===opt.value;});});var val=_1.map(_33,function(opt){return opt.value;});if(typeof val=="undefined"||typeof val[0]=="undefined"){return;}var _37=_1.map(_33,function(opt){return opt.label;});this._setDisplay(this.multiple?_37:_37[0]);this.inherited(arguments,[this.multiple?val:val[0],_34]);this._updateSelection();},_getDisplayedValueAttr:function(){var ret=_1.map([].concat(this.get("selectedOptions")),function(v){if(v&&"label" in v){return v.label;}else{if(v){return v.value;}}return null;},this);return this.multiple?ret:ret[0];},_setDisplayedValueAttr:function(_38){this.set("value",this.getOptions(typeof _38=="string"?{label:_38}:_38));},_loadChildren:function(){if(this._loadingStore){return;}_1.forEach(this._getChildren(),function(_39){_39.destroyRecursive();});_1.forEach(this.options,this._addOptionItem,this);this._updateSelection();},_updateSelection:function(){this.focusedChild=null;this._set("value",this._getValueFromOpts());var val=[].concat(this.value);if(val&&val[0]){var _3a=this;_1.forEach(this._getChildren(),function(_3b){var _3c=_1.some(val,function(v){return _3b.option&&(v===_3b.option.value);});if(_3c&&!_3a.multiple){_3a.focusedChild=_3b;}_7.toggle(_3b.domNode,this.baseClass.replace(/\s+|$/g,"SelectedOption "),_3c);_3b.domNode.setAttribute("aria-selected",_3c?"true":"false");},this);}},_getValueFromOpts:function(){var _3d=this.getOptions()||[];if(!this.multiple&&_3d.length){var opt=_1.filter(_3d,function(i){return i.selected;})[0];if(opt&&opt.value){return opt.value;}else{_3d[0].selected=true;return _3d[0].value;}}else{if(this.multiple){return _1.map(_1.filter(_3d,function(i){return i.selected;}),function(i){return i.value;})||[];}}return "";},_onNewItem:function(_3e,_3f){if(!_3f||!_3f.parent){this._addOptionForItem(_3e);}},_onDeleteItem:function(_40){var _41=this.store;this.removeOption({value:_41.getIdentity(_40)});},_onSetItem:function(_42){this.updateOption(this._getOptionObjForItem(_42));},_getOptionObjForItem:function(_43){var _44=this.store,_45=(this.labelAttr&&this.labelAttr in _43)?_43[this.labelAttr]:_44.getLabel(_43),_46=(_45?_44.getIdentity(_43):null);return {value:_46,label:_45,item:_43};},_addOptionForItem:function(_47){var _48=this.store;if(_48.isItemLoaded&&!_48.isItemLoaded(_47)){_48.loadItem({item:_47,onItem:function(i){this._addOptionForItem(i);},scope:this});return;}var _49=this._getOptionObjForItem(_47);this.addOption(_49);},constructor:function(_4a){this._oValue=(_4a||{}).value||null;this._notifyConnections=[];},buildRendering:function(){this.inherited(arguments);_6.setSelectable(this.focusNode,false);},_fillContent:function(){if(!this.options){this.options=this.srcNodeRef?_a("> *",this.srcNodeRef).map(function(_4b){if(_4b.getAttribute("type")==="separator"){return {value:"",label:"",selected:false,disabled:false};}return {value:(_4b.getAttribute("data-"+_8._scopeName+"-value")||_4b.getAttribute("value")),label:String(_4b.innerHTML),selected:_4b.getAttribute("selected")||false,disabled:_4b.getAttribute("disabled")||false};},this):[];}if(!this.value){this._set("value",this._getValueFromOpts());}else{if(this.multiple&&typeof this.value=="string"){this._set("value",this.value.split(","));}}},postCreate:function(){this.inherited(arguments);_3.after(this,"onChange",_9.hitch(this,"_updateSelection"));var _4c=this.store;if(_4c&&(_4c.getIdentity||_4c.getFeatures()["dojo.data.api.Identity"])){this.store=null;this._deprecatedSetStore(_4c,this._oValue,{query:this.query,queryOptions:this.queryOptions});}this._storeInitialized=true;},startup:function(){this._loadChildren();this.inherited(arguments);},destroy:function(){var h;while((h=this._notifyConnections.pop())){h.remove();}if(this._queryRes&&this._queryRes.close){this._queryRes.close();}if(this._observeHandle&&this._observeHandle.remove){this._observeHandle.remove();this._observeHandle=null;}this.inherited(arguments);},_addOptionItem:function(){},_removeOptionItem:function(){},_setDisplay:function(){},_getChildren:function(){return [];},_getSelectedOptionsAttr:function(){return this.getOptions({selected:true});},_pseudoLoadChildren:function(){},onSetStore:function(){}});return _e;}); \ No newline at end of file diff --git a/lib/dijit/package.json b/lib/dijit/package.json index 8213c20e3..311a2e1b2 100644 --- a/lib/dijit/package.json +++ b/lib/dijit/package.json @@ -1,12 +1,12 @@ { "name": "dijit", - "version": "1.16.4", + "version": "1.16.5", "directories": { "lib": "." }, "main": "main", "dependencies": { - "dojo": "1.16.4" + "dojo": "1.16.5" }, "description": "Dijit provides a complete collection of user interface controls based on Dojo, giving you the power to create web applications that are highly optimized for usability, performance, internationalization, accessibility, but above all deliver an incredible user experience.", "license" : "BSD-3-Clause OR AFL-2.1", diff --git a/lib/dojo-src/rebuild-dojo.sh b/lib/dojo-src/rebuild-dojo.sh index ab7f3a0a2..5feb01327 100755 --- a/lib/dojo-src/rebuild-dojo.sh +++ b/lib/dojo-src/rebuild-dojo.sh @@ -7,7 +7,7 @@ # Dojo requires Java runtime to build. Further information on rebuilding Dojo # is available here: http://dojotoolkit.org/reference-guide/build/index.html -VERSION=1.16.4 +VERSION=1.16.5 # Download and extract dojo src code if it doesn't already exist if [ ! -d "dojo" ]; then diff --git a/lib/dojo/_base/kernel.js b/lib/dojo/_base/kernel.js index 378e2ab92..1ae6bea75 100644 --- a/lib/dojo/_base/kernel.js +++ b/lib/dojo/_base/kernel.js @@ -5,4 +5,4 @@ */ //>>built -define("dojo/_base/kernel",["../global","../has","./config","require","module"],function(_1,_2,_3,_4,_5){var i,p,_6={},_7={},_8={config:_3,global:_1,dijit:_6,dojox:_7};var _9={dojo:["dojo",_8],dijit:["dijit",_6],dojox:["dojox",_7]},_a=(_4.map&&_4.map[_5.id.match(/[^\/]+/)[0]]),_b;for(p in _a){if(_9[p]){_9[p][0]=_a[p];}else{_9[p]=[_a[p],{}];}}for(p in _9){_b=_9[p];_b[1]._scopeName=_b[0];if(!_3.noGlobals){_1[_b[0]]=_b[1];}}_8.scopeMap=_9;_8.baseUrl=_8.config.baseUrl=_4.baseUrl;_8.isAsync=!1||_4.async;_8.locale=_3.locale;var _c="$Rev:$".match(/[0-9a-f]{7,}/);_8.version={major:1,minor:16,patch:4,flag:"",revision:_c?_c[0]:NaN,toString:function(){var v=_8.version;return v.major+"."+v.minor+"."+v.patch+v.flag+" ("+v.revision+")";}};1||_2.add("extend-dojo",1);if(!_2("csp-restrictions")){(Function("d","d.eval = function(){return d.global.eval ? d.global.eval(arguments[0]) : eval(arguments[0]);}"))(_8);}if(0){_8.exit=function(_d){quit(_d);};}else{_8.exit=function(){};}if(!_2("host-webworker")){1||_2.add("dojo-guarantee-console",1);}if(1){_2.add("console-as-object",function(){return Function.prototype.bind&&console&&typeof console.log==="object";});typeof console!="undefined"||(console={});var cn=["assert","count","debug","dir","dirxml","error","group","groupEnd","info","profile","profileEnd","time","timeEnd","trace","warn","log"];var tn;i=0;while((tn=cn[i++])){if(!console[tn]){(function(){var _e=tn+"";console[_e]=("log" in console)?function(){var a=Array.prototype.slice.call(arguments);a.unshift(_e+":");console["log"](a.join(" "));}:function(){};console[_e]._fake=true;})();}else{if(_2("console-as-object")){console[tn]=Function.prototype.bind.call(console[tn],console);}}}}_2.add("dojo-debug-messages",!!_3.isDebug);_8.deprecated=_8.experimental=function(){};if(_2("dojo-debug-messages")){_8.deprecated=function(_f,_10,_11){var _12="DEPRECATED: "+_f;if(_10){_12+=" "+_10;}if(_11){_12+=" -- will be removed in version: "+_11;}console.warn(_12);};_8.experimental=function(_13,_14){var _15="EXPERIMENTAL: "+_13+" -- APIs subject to change without notice.";if(_14){_15+=" "+_14;}console.warn(_15);};}1||_2.add("dojo-modulePaths",1);if(1){if(_3.modulePaths){_8.deprecated("dojo.modulePaths","use paths configuration");var _16={};for(p in _3.modulePaths){_16[p.replace(/\./g,"/")]=_3.modulePaths[p];}_4({paths:_16});}}1||_2.add("dojo-moduleUrl",1);if(1){_8.moduleUrl=function(_17,url){_8.deprecated("dojo.moduleUrl()","use require.toUrl","2.0");var _18=null;if(_17){_18=_4.toUrl(_17.replace(/\./g,"/")+(url?("/"+url):"")+"/*.*").replace(/\/\*\.\*/,"")+(url?"":"/");}return _18;};}_8._hasResource={};return _8;}); \ No newline at end of file +define("dojo/_base/kernel",["../global","../has","./config","require","module"],function(_1,_2,_3,_4,_5){var i,p,_6={},_7={},_8={config:_3,global:_1,dijit:_6,dojox:_7};var _9={dojo:["dojo",_8],dijit:["dijit",_6],dojox:["dojox",_7]},_a=(_4.map&&_4.map[_5.id.match(/[^\/]+/)[0]]),_b;for(p in _a){if(_9[p]){_9[p][0]=_a[p];}else{_9[p]=[_a[p],{}];}}for(p in _9){_b=_9[p];_b[1]._scopeName=_b[0];if(!_3.noGlobals){_1[_b[0]]=_b[1];}}_8.scopeMap=_9;_8.baseUrl=_8.config.baseUrl=_4.baseUrl;_8.isAsync=!1||_4.async;_8.locale=_3.locale;var _c="$Rev:$".match(/[0-9a-f]{7,}/);_8.version={major:1,minor:16,patch:5,flag:"",revision:_c?_c[0]:NaN,toString:function(){var v=_8.version;return v.major+"."+v.minor+"."+v.patch+v.flag+" ("+v.revision+")";}};1||_2.add("extend-dojo",1);if(!_2("csp-restrictions")){(Function("d","d.eval = function(){return d.global.eval ? d.global.eval(arguments[0]) : eval(arguments[0]);}"))(_8);}if(0){_8.exit=function(_d){quit(_d);};}else{_8.exit=function(){};}if(!_2("host-webworker")){1||_2.add("dojo-guarantee-console",1);}if(1){_2.add("console-as-object",function(){return Function.prototype.bind&&console&&typeof console.log==="object";});typeof console!="undefined"||(console={});var cn=["assert","count","debug","dir","dirxml","error","group","groupEnd","info","profile","profileEnd","time","timeEnd","trace","warn","log"];var tn;i=0;while((tn=cn[i++])){if(!console[tn]){(function(){var _e=tn+"";console[_e]=("log" in console)?function(){var a=Array.prototype.slice.call(arguments);a.unshift(_e+":");console["log"](a.join(" "));}:function(){};console[_e]._fake=true;})();}else{if(_2("console-as-object")){console[tn]=Function.prototype.bind.call(console[tn],console);}}}}_2.add("dojo-debug-messages",!!_3.isDebug);_8.deprecated=_8.experimental=function(){};if(_2("dojo-debug-messages")){_8.deprecated=function(_f,_10,_11){var _12="DEPRECATED: "+_f;if(_10){_12+=" "+_10;}if(_11){_12+=" -- will be removed in version: "+_11;}console.warn(_12);};_8.experimental=function(_13,_14){var _15="EXPERIMENTAL: "+_13+" -- APIs subject to change without notice.";if(_14){_15+=" "+_14;}console.warn(_15);};}1||_2.add("dojo-modulePaths",1);if(1){if(_3.modulePaths){_8.deprecated("dojo.modulePaths","use paths configuration");var _16={};for(p in _3.modulePaths){_16[p.replace(/\./g,"/")]=_3.modulePaths[p];}_4({paths:_16});}}1||_2.add("dojo-moduleUrl",1);if(1){_8.moduleUrl=function(_17,url){_8.deprecated("dojo.moduleUrl()","use require.toUrl","2.0");var _18=null;if(_17){_18=_4.toUrl(_17.replace(/\./g,"/")+(url?("/"+url):"")+"/*.*").replace(/\/\*\.\*/,"")+(url?"":"/");}return _18;};}_8._hasResource={};return _8;}); \ No newline at end of file diff --git a/lib/dojo/_base/lang.js b/lib/dojo/_base/lang.js index af3939a23..83666f193 100644 --- a/lib/dojo/_base/lang.js +++ b/lib/dojo/_base/lang.js @@ -5,4 +5,4 @@ */ //>>built -define("dojo/_base/lang",["./kernel","../has","../sniff"],function(_1,_2){_2.add("bug-for-in-skips-shadowed",function(){for(var i in {toString:1}){return 0;}return 1;});var _3=_2("bug-for-in-skips-shadowed")?"hasOwnProperty.valueOf.isPrototypeOf.propertyIsEnumerable.toLocaleString.toString.constructor".split("."):[],_4=_3.length,_5=function(_6,_7,_8){if(!_8){if(_6[0]&&_1.scopeMap[_6[0]]){_8=_1.scopeMap[_6.shift()][1];}else{_8=_1.global;}}try{for(var i=0;i<_6.length;i++){var p=_6[i];if(!(p in _8)){if(_7){_8[p]={};}else{return;}}_8=_8[p];}return _8;}catch(e){}},_9=Object.prototype.toString,_a=function(_b,_c,_d){return (_d||[]).concat(Array.prototype.slice.call(_b,_c||0));},_e=/\{([^\}]+)\}/g;var _f={_extraNames:_3,_mixin:function(_10,_11,_12){var _13,s,i,_14={};for(_13 in _11){s=_11[_13];if(!(_13 in _10)||(_10[_13]!==s&&(!(_13 in _14)||_14[_13]!==s))){_10[_13]=_12?_12(s):s;}}if(_2("bug-for-in-skips-shadowed")){if(_11){for(i=0;i<_4;++i){_13=_3[i];s=_11[_13];if(!(_13 in _10)||(_10[_13]!==s&&(!(_13 in _14)||_14[_13]!==s))){_10[_13]=_12?_12(s):s;}}}}return _10;},mixin:function(_15,_16){if(!_15){_15={};}for(var i=1,l=arguments.length;i2){return _f._hitchArgs.apply(_1,arguments);}if(!_26){_26=_25;_25=null;}if(_f.isString(_26)){_25=_25||_1.global;if(!_25[_26]){throw (["lang.hitch: scope[\"",_26,"\"] is null (scope=\"",_25,"\")"].join(""));}return function(){return _25[_26].apply(_25,arguments||[]);};}return !_25?_26:function(){return _26.apply(_25,arguments||[]);};},delegate:(function(){function TMP(){};return function(obj,_27){TMP.prototype=obj;var tmp=new TMP();TMP.prototype=null;if(_27){_f._mixin(tmp,_27);}return tmp;};})(),_toArray:_2("ie")?(function(){function _28(obj,_29,_2a){var arr=_2a||[];for(var x=_29||0;x2){return _f._hitchArgs.apply(_1,arguments);}if(!_26){_26=_25;_25=null;}if(_f.isString(_26)){_25=_25||_1.global;if(!_25[_26]){throw (["lang.hitch: scope[\"",_26,"\"] is null (scope=\"",_25,"\")"].join(""));}return function(){return _25[_26].apply(_25,arguments||[]);};}return !_25?_26:function(){return _26.apply(_25,arguments||[]);};},delegate:(function(){function TMP(){};return function(obj,_27){TMP.prototype=obj;var tmp=new TMP();TMP.prototype=null;if(_27){_f._mixin(tmp,_27);}return tmp;};})(),_toArray:_2("ie")?(function(){function _28(obj,_29,_2a){var arr=_2a||[];for(var x=_29||0;x>built -(function(_1,_2){var _3=(function(){if(typeof _4!=="undefined"&&typeof _4!=="function"){return _4;}else{if(typeof window!=="undefined"){return window;}else{if(typeof self!=="undefined"){return self;}}}return this;})();var _5=function(){},_6=function(it){for(var p in it){return 0;}return 1;},_7={}.toString,_8=function(it){return _7.call(it)=="[object Function]";},_9=function(it){return _7.call(it)=="[object String]";},_a=function(it){return _7.call(it)=="[object Array]";},_b=function(_c,_d){if(_c){for(var i=0;i<_c.length;){_d(_c[i++]);}}},_e=function(_f,src){for(var p in src){_f[p]=src[p];}return _f;},_10=function(_11,_12){return _e(new Error(_11),{src:"dojoLoader",info:_12});},_13=1,uid=function(){return "_"+_13++;},req=function(_14,_15,_16){return _17(_14,_15,_16,0,req);},_4=_3,doc=_4.document,_18=doc&&doc.createElement("DiV"),has=req.has=function(_19){return _8(_1a[_19])?(_1a[_19]=_1a[_19](_4,doc,_18)):_1a[_19];},_1a=has.cache=_2.hasCache;if(_8(_1)){_1=_1(_3);}has.add=function(_1b,_1c,now,_1d){(_1a[_1b]===undefined||_1d)&&(_1a[_1b]=_1c);return now&&has(_1b);};0&&has.add("host-node",_1.has&&"host-node" in _1.has?_1.has["host-node"]:(typeof process=="object"&&process.versions&&process.versions.node&&process.versions.v8));if(0){require("./_base/configNode.js").config(_2);_2.loaderPatch.nodeRequire=require;}0&&has.add("host-rhino",_1.has&&"host-rhino" in _1.has?_1.has["host-rhino"]:(typeof load=="function"&&(typeof Packages=="function"||typeof Packages=="object")));if(0){for(var _1e=_1.baseUrl||".",arg,_1f=this.arguments,i=0;i<_1f.length;){arg=(_1f[i++]+"").split("=");if(arg[0]=="baseUrl"){_1e=arg[1];break;}}load(_1e+"/_base/configRhino.js");rhinoDojoConfig(_2,_1e,_1f);}has.add("host-webworker",((typeof WorkerGlobalScope!=="undefined")&&(self instanceof WorkerGlobalScope)));if(has("host-webworker")){_e(_2.hasCache,{"host-browser":0,"dom":0,"dojo-dom-ready-api":0,"dojo-sniff":0,"dojo-inject-api":1,"host-webworker":1,"dojo-guarantee-console":0});_2.loaderPatch={injectUrl:function(url,_20){try{importScripts(url);_20();}catch(e){console.error(e);}}};}for(var p in _1.has){has.add(p,_1.has[p],0,1);}var _21=1,_22=2,_23=3,_24=4,_25=5;if(0){_21="requested";_22="arrived";_23="not-a-module";_24="executing";_25="executed";}var _26=0,_27="sync",xd="xd",_28=[],_29=0,_2a=_5,_2b=_5,_2c;if(1){req.isXdUrl=_5;req.initSyncLoader=function(_2d,_2e,_2f){if(!_29){_29=_2d;_2a=_2e;_2b=_2f;}return {sync:_27,requested:_21,arrived:_22,nonmodule:_23,executing:_24,executed:_25,syncExecStack:_28,modules:_30,execQ:_31,getModule:_32,injectModule:_33,setArrived:_34,signal:_35,finishExec:_36,execModule:_37,dojoRequirePlugin:_29,getLegacyMode:function(){return _26;},guardCheckComplete:_38};};if(1||has("host-webworker")){var _39=location.protocol,_3a=location.host;req.isXdUrl=function(url){if(/^\./.test(url)){return false;}if(/^\/\//.test(url)){return true;}var _3b=url.match(/^([^\/\:]+\:)\/+([^\/]+)/);return _3b&&(_3b[1]!=_39||(_3a&&_3b[2]!=_3a));};1||has.add("dojo-xhr-factory",1);has.add("dojo-force-activex-xhr",1&&!doc.addEventListener&&window.location.protocol=="file:");has.add("native-xhr",typeof XMLHttpRequest!="undefined");if(has("native-xhr")&&!has("dojo-force-activex-xhr")){_2c=function(){return new XMLHttpRequest();};}else{for(var _3c=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],_3d,i=0;i<3;){try{_3d=_3c[i++];if(new ActiveXObject(_3d)){break;}}catch(e){}}_2c=function(){return new ActiveXObject(_3d);};}req.getXhr=_2c;has.add("dojo-gettext-api",1);req.getText=function(url,_3e,_3f){var xhr=_2c();xhr.open("GET",_40(url),false);xhr.send(null);if(xhr.status==200||(!location.host&&!xhr.status)){if(_3f){_3f(xhr.responseText,_3e);}}else{throw _10("xhrFailed",xhr.status);}return xhr.responseText;};}}else{req.async=1;}var _41=has("csp-restrictions")?function(){}:new Function("return eval(arguments[0]);");req.eval=function(_42,_43){return _41(_42+"\r\n//# sourceURL="+_43);};var _44={},_45="error",_35=req.signal=function(_46,_47){var _48=_44[_46];_b(_48&&_48.slice(0),function(_49){_49.apply(null,_a(_47)?_47:[_47]);});},on=req.on=function(_4a,_4b){var _4c=_44[_4a]||(_44[_4a]=[]);_4c.push(_4b);return {remove:function(){for(var i=0;i<_4c.length;i++){if(_4c[i]===_4b){_4c.splice(i,1);return;}}}};};var _4d=[],_4e={},_4f=[],_50={},map=req.map={},_51=[],_30={},_52="",_53={},_54="url:",_55={},_56={},_57=0;if(1){if(!has("foreign-loader")){var _58=function(_59,_5a){_5a=_5a!==false;var p,_5b,_5c,now,m;for(p in _55){_5b=_55[p];_5c=p.match(/^url\:(.+)/);if(_5c){_53[_54+_5d(_5c[1],_59)]=_5b;}else{if(p=="*now"){now=_5b;}else{if(p!="*noref"){m=_5e(p,_59,true);_53[m.mid]=_53[_54+m.url]=_5b;}}}}if(now){now(_5f(_59));}if(_5a){_55={};}};}var _60=function(s){return s.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(c){return "\\"+c;});},_61=function(map,_62){_62.splice(0,_62.length);for(var p in map){_62.push([p,map[p],new RegExp("^"+_60(p)+"(/|$)"),p.length]);}_62.sort(function(lhs,rhs){return rhs[3]-lhs[3];});return _62;},_63=function(_64,_65){_b(_64,function(_66){_65.push([_9(_66[0])?new RegExp("^"+_60(_66[0])+"$"):_66[0],_66[1]]);});},_67=function(_68){var _69=_68.name;if(!_69){_69=_68;_68={name:_69};}_68=_e({main:"main"},_68);_68.location=_68.location?_68.location:_69;if(_68.packageMap){map[_69]=_68.packageMap;}if(!_68.main.indexOf("./")){_68.main=_68.main.substring(2);}_50[_69]=_68;},_6a=[],_6b=function(_6c,_6d,_6e){for(var p in _6c){if(p=="waitSeconds"){req.waitms=(_6c[p]||0)*1000;}if(p=="cacheBust"){_52=_6c[p]?(_9(_6c[p])?_6c[p]:(new Date()).getTime()+""):"";}if(p=="baseUrl"||p=="combo"){req[p]=_6c[p];}if(1&&p=="async"){var _6f=_6c[p];req.legacyMode=_26=(_9(_6f)&&/sync|legacyAsync/.test(_6f)?_6f:(!_6f?_27:false));req.async=!_26;}if(_6c[p]!==_1a){req.rawConfig[p]=_6c[p];p!="has"&&has.add("config-"+p,_6c[p],0,_6d);}}if(!req.baseUrl){req.baseUrl="./";}if(!/\/$/.test(req.baseUrl)){req.baseUrl+="/";}for(p in _6c.has){has.add(p,_6c.has[p],0,_6d);}_b(_6c.packages,_67);for(var _70 in _6c.packagePaths){_b(_6c.packagePaths[_70],function(_71){var _72=_70+"/"+_71;if(_9(_71)){_71={name:_71};}_71.location=_72;_67(_71);});}_61(_e(map,_6c.map),_51);_b(_51,function(_73){_73[1]=_61(_73[1],[]);if(_73[0]=="*"){_51.star=_73;}});_61(_e(_4e,_6c.paths),_4f);_63(_6c.aliases,_4d);if(!has("foreign-loader")){if(_6d){_6a.push({config:_6c.config});}else{for(p in _6c.config){var _74=_32(p,_6e);_74.config=_e(_74.config||{},_6c.config[p]);}}if(_6c.cache){_58();_55=_6c.cache;_58(0,!!_6c.cache["*noref"]);}}_35("config",[_6c,req.rawConfig]);};if(has("dojo-cdn")||1){var _75=doc.getElementsByTagName("script"),i=0,_76,_77,src,_78;while(i<_75.length){_76=_75[i++];if((src=_76.getAttribute("src"))&&(_78=src.match(/(((.*)\/)|^)dojo\.js(\W|$)/i))){_77=_78[3]||"";_2.baseUrl=_2.baseUrl||_77;_57=_76;}if((src=(_76.getAttribute("data-dojo-config")||_76.getAttribute("djConfig")))){_56=req.eval("({ "+src+" })","data-dojo-config");_57=_76;}if(0){if((src=_76.getAttribute("data-main"))){_56.deps=_56.deps||[src];}}}}if(0){try{if(window.parent!=window&&window.parent.require){var doh=window.parent.require("doh");doh&&_e(_56,doh.testConfig);}}catch(e){}}req.rawConfig={};_6b(_2,1);if(has("dojo-cdn")){_50.dojo.location=_77;if(_77){_77+="/";}_50.dijit.location=_77+"../dijit/";_50.dojox.location=_77+"../dojox/";}_6b(_1,1);_6b(_56,1);}else{_4e=_2.paths;_4f=_2.pathsMapProg;_50=_2.packs;_4d=_2.aliases;_51=_2.mapProgs;_30=_2.modules;_53=_2.cache;_52=_2.cacheBust;req.rawConfig=_2;}if(!has("foreign-loader")){if(0){req.combo=req.combo||{add:_5};var _79=0,_7a=[],_7b=null;}var _7c=function(_7d){_38(function(){_b(_7d.deps,_33);if(0&&_79&&!_7b){_7b=setTimeout(function(){_79=0;_7b=null;req.combo.done(function(_7e,url){var _7f=function(){_80(0,_7e);_81();};_7a.push(_7e);_82=_7e;req.injectUrl(url,_7f,_7e);_82=0;},req);},0);}});},_17=function(a1,a2,a3,_83,_84){var _85,_86;if(_9(a1)){_85=_32(a1,_83,true);if(_85&&_85.executed){return _85.result;}throw _10("undefinedModule",a1);}if(!_a(a1)){_6b(a1,0,_83);a1=a2;a2=a3;}if(_a(a1)){if(!a1.length){a2&&a2();}else{_86="require*"+uid();for(var mid,_87=[],i=0;i_b2){_b3=_8(_b4[1])?mid.replace(_b4[0],_b4[1]):_b4[1];}});if(_b3){return _a2(_b3,0,_a4,_a5,_a6,_a7,_a8,_a9,_aa);}_af=_a5[mid];if(_af){return _aa?_88(_af.pid,_af.mid,_af.pack,_af.url):_a5[mid];}}_ae=_9a(mid,_a8);if(_ae){url=_ae[1]+mid.substring(_ae[3]);}else{if(pid){url=(_ac.location.slice(-1)==="/"?_ac.location.slice(0,-1):_ac.location)+"/"+_ad;}else{if(has("config-tlmSiblingOfDojo")){url="../"+mid;}else{url=mid;}}}if(!(/(^\/)|(\:)/.test(url))){url=_a6+url;}url+=".js";return _88(pid,mid,_ac,_9c(url));},_5e=function(mid,_b6,_b7){return _a2(mid,_b6,_50,_30,req.baseUrl,_51,_4f,_4d,undefined,_b7);};if(!has("foreign-loader")){var _b8=function(_b9,_ba,_bb){return _b9.normalize?_b9.normalize(_ba,function(mid){return _bc(mid,_bb);}):_bc(_ba,_bb);},_bd=0,_32=function(mid,_be,_bf){var _c0,_c1,_c2,_c3;_c0=mid.match(/^(.+?)\!(.*)$/);if(_c0){_c1=_32(_c0[1],_be,_bf);if(1&&_26==_27&&!_c1.executed){_33(_c1);if(_c1.injected===_22&&!_c1.executed){_38(function(){_37(_c1);});}if(_c1.executed){_c4(_c1);}else{_31.unshift(_c1);}}if(_c1.executed===_25&&!_c1.load){_c4(_c1);}if(_c1.load){_c2=_b8(_c1,_c0[2],_be);mid=(_c1.mid+"!"+(_c1.dynamic?++_bd+"!":"")+_c2);}else{_c2=_c0[2];mid=_c1.mid+"!"+(++_bd)+"!waitingForPlugin";}_c3={plugin:_c1,mid:mid,req:_5f(_be),prid:_c2};}else{_c3=_5e(mid,_be);}return _30[_c3.mid]||(!_bf&&(_30[_c3.mid]=_c3));};}var _bc=req.toAbsMid=function(mid,_c5){return _5e(mid,_c5).mid;},_5d=req.toUrl=function(_c6,_c7){var _c8=_5e(_c6+"/x",_c7),url=_c8.url;return _40(_c8.pid===0?_c6:url.substring(0,url.length-5));};if(!has("foreign-loader")){var _c9={injected:_22,executed:_25,def:_23,result:_23},_ca=function(mid){return _30[mid]=_e({mid:mid},_c9);},_cb=_ca("require"),_cc=_ca("exports"),_cd=_ca("module"),_ce=function(_cf,_d0){req.trace("loader-run-factory",[_cf.mid]);var _d1=_cf.def,_d2;1&&_28.unshift(_cf);if(has("config-dojo-loader-catches")){try{_d2=_8(_d1)?_d1.apply(null,_d0):_d1;}catch(e){_35(_45,_cf.result=_10("factoryThrew",[_cf,e]));}}else{_d2=_8(_d1)?_d1.apply(null,_d0):_d1;}_cf.result=_d2===undefined&&_cf.cjs?_cf.cjs.exports:_d2;1&&_28.shift(_cf);},_d3={},_d4=0,_c4=function(_d5){var _d6=_d5.result;_d5.dynamic=_d6.dynamic;_d5.normalize=_d6.normalize;_d5.load=_d6.load;return _d5;},_d7=function(_d8){var map={};_b(_d8.loadQ,function(_d9){var _da=_b8(_d8,_d9.prid,_d9.req.module),mid=_d8.dynamic?_d9.mid.replace(/waitingForPlugin$/,_da):(_d8.mid+"!"+_da),_db=_e(_e({},_d9),{mid:mid,prid:_da,injected:0});if(!_30[mid]||!_30[mid].injected){_ed(_30[mid]=_db);}map[_d9.mid]=_30[mid];_34(_d9);delete _30[_d9.mid];});_d8.loadQ=0;var _dc=function(_dd){for(var _de,_df=_dd.deps||[],i=0;i<_df.length;i++){_de=map[_df[i].mid];if(_de){_df[i]=_de;}}};for(var p in _30){_dc(_30[p]);}_b(_31,_dc);},_36=function(_e0){req.trace("loader-finish-exec",[_e0.mid]);_e0.executed=_25;_e0.defOrder=_d4++;1&&_b(_e0.provides,function(cb){cb();});if(_e0.loadQ){_c4(_e0);_d7(_e0);}for(i=0;i<_31.length;){if(_31[i]===_e0){_31.splice(i,1);}else{i++;}}if(/^require\*/.test(_e0.mid)){delete _30[_e0.mid];}},_e1=[],_37=function(_e2,_e3){if(_e2.executed===_24){req.trace("loader-circular-dependency",[_e1.concat(_e2.mid).join("->")]);return (!_e2.def||_e3)?_d3:(_e2.cjs&&_e2.cjs.exports);}if(!_e2.executed){if(!_e2.def){return _d3;}var mid=_e2.mid,_e4=_e2.deps||[],arg,_e5,_e6=[],i=0;if(0){_e1.push(mid);req.trace("loader-exec-module",["exec",_e1.length,mid]);}_e2.executed=_24;while((arg=_e4[i++])){_e5=((arg===_cb)?_5f(_e2):((arg===_cc)?_e2.cjs.exports:((arg===_cd)?_e2.cjs:_37(arg,_e3))));if(_e5===_d3){_e2.executed=0;req.trace("loader-exec-module",["abort",mid]);0&&_e1.pop();return _d3;}_e6.push(_e5);}_ce(_e2,_e6);_36(_e2);0&&_e1.pop();}return _e2.result;},_8a=0,_38=function(_e7){try{_8a++;_e7();}catch(e){throw e;}finally{_8a--;}if(_99()){_35("idle",[]);}},_81=function(){if(_8a){return;}_38(function(){_2a();for(var _e8,_e9,i=0;i<_31.length;){_e8=_d4;_e9=_31[i];_37(_e9);if(_e8!=_d4){_2a();i=0;}else{i++;}}});};}var _40=typeof _1.fixupUrl=="function"?_1.fixupUrl:function(url){url+="";return url+(_52?((/\?/.test(url)?"&":"?")+_52):"");};if(0){req.undef=function(_ea,_eb){var _ec=_32(_ea,_eb);_34(_ec);_e(_ec,{def:0,executed:0,injected:0,node:0,load:0});};}if(1){if(has("dojo-loader-eval-hint-url")===undefined){has.add("dojo-loader-eval-hint-url",1);}var _ed=function(_ee){var _ef=_ee.plugin;if(_ef.executed===_25&&!_ef.load){_c4(_ef);}var _f0=function(def){_ee.result=def;_34(_ee);_36(_ee);_81();};if(_ef.load){_ef.load(_ee.prid,_ee.req,_f0);}else{if(_ef.loadQ){_ef.loadQ.push(_ee);}else{_ef.loadQ=[_ee];_31.unshift(_ef);_33(_ef);}}},_90=0,_82=0,_f1=0,_91=function(_f2,_f3){if(has("config-stripStrict")){_f2=_f2.replace(/(["'])use strict\1/g,"");}_f1=1;if(has("config-dojo-loader-catches")){try{if(_f2===_90){_90.call(null);}else{req.eval(_f2,has("dojo-loader-eval-hint-url")?_f3.url:_f3.mid);}}catch(e){_35(_45,_10("evalModuleThrew",_f3));}}else{if(_f2===_90){_90.call(null);}else{req.eval(_f2,has("dojo-loader-eval-hint-url")?_f3.url:_f3.mid);}}_f1=0;},_33=function(_f4){var mid=_f4.mid,url=_f4.url;if(_f4.executed||_f4.injected||_93[mid]||(_f4.url&&((_f4.pack&&_93[_f4.url]===_f4.pack)||_93[_f4.url]==1))){return;}_94(_f4);if(0){var _f5=0;if(_f4.plugin&&_f4.plugin.isCombo){req.combo.add(_f4.plugin.mid,_f4.prid,0,req);_f5=1;}else{if(!_f4.plugin){_f5=req.combo.add(0,_f4.mid,_f4.url,req);}}if(_f5){_79=1;return;}}if(_f4.plugin){_ed(_f4);return;}var _f6=function(){_80(_f4);if(_f4.injected!==_22){if(has("dojo-enforceDefine")){_35(_45,_10("noDefine",_f4));return;}_34(_f4);_e(_f4,_c9);req.trace("loader-define-nonmodule",[_f4.url]);}if(1&&_26){!_28.length&&_81();}else{_81();}};_90=_53[mid]||_53[_54+_f4.url];if(_90){req.trace("loader-inject",["cache",_f4.mid,url]);_91(_90,_f4);_f6();return;}if(1&&_26){if(_f4.isXd){_26==_27&&(_26=xd);}else{if(_f4.isAmd&&_26!=_27){}else{var _f7=function(_f8){if(_26==_27){_28.unshift(_f4);_91(_f8,_f4);_28.shift();_80(_f4);if(!_f4.cjs){_34(_f4);_36(_f4);}if(_f4.finish){var _f9=mid+"*finish",_fa=_f4.finish;delete _f4.finish;def(_f9,["dojo",("dojo/require!"+_fa.join(",")).replace(/\./g,"/")],function(_fb){_b(_fa,function(mid){_fb.require(mid);});});_31.unshift(_32(_f9));}_f6();}else{_f8=_2b(_f4,_f8);if(_f8){_91(_f8,_f4);_f6();}else{_82=_f4;req.injectUrl(_40(url),_f6,_f4);_82=0;}}};req.trace("loader-inject",["xhr",_f4.mid,url,_26!=_27]);if(has("config-dojo-loader-catches")){try{req.getText(url,_26!=_27,_f7);}catch(e){_35(_45,_10("xhrInjectFailed",[_f4,e]));}}else{req.getText(url,_26!=_27,_f7);}return;}}}req.trace("loader-inject",["script",_f4.mid,url]);_82=_f4;req.injectUrl(_40(url),_f6,_f4);_82=0;},_fc=function(_fd,_fe,def){req.trace("loader-define-module",[_fd.mid,_fe]);if(0&&_fd.plugin&&_fd.plugin.isCombo){_fd.result=_8(def)?def():def;_34(_fd);_36(_fd);return _fd;}var mid=_fd.mid;if(_fd.injected===_22){_35(_45,_10("multipleDefine",_fd));return _fd;}_e(_fd,{deps:_fe,def:def,cjs:{id:_fd.mid,uri:_fd.url,exports:(_fd.result={}),setExports:function(_ff){_fd.cjs.exports=_ff;},config:function(){return _fd.config;}}});for(var i=0;_fe[i];i++){_fe[i]=_32(_fe[i],_fd);}if(1&&_26&&!_93[mid]){_7c(_fd);_31.push(_fd);_81();}_34(_fd);if(!_8(def)&&!_fe.length){_fd.result=def;_36(_fd);}return _fd;},_80=function(_100,mids){var _101=[],_102,args;while(_92.length){args=_92.shift();mids&&(args[0]=mids.shift());_102=(args[0]&&_32(args[0]))||_100;_101.push([_102,args[1],args[2]]);}_58(_100);_b(_101,function(args){_7c(_fc.apply(null,args));});};}var _103=0,_98=_5,_96=_5;if(1){_98=function(){_103&&clearTimeout(_103);_103=0;};_96=function(){_98();if(req.waitms){_103=_4.setTimeout(function(){_98();_35(_45,_10("timeout",_93));},req.waitms);}};}if(1){has.add("ie-event-behavior",doc.attachEvent&&typeof Windows==="undefined"&&(typeof opera==="undefined"||opera.toString()!="[object Opera]"));}if(1&&(1||1)){var _104=function(node,_105,_106,_107){if(!has("ie-event-behavior")){node.addEventListener(_105,_107,false);return function(){node.removeEventListener(_105,_107,false);};}else{node.attachEvent(_106,_107);return function(){node.detachEvent(_106,_107);};}},_108=_104(window,"load","onload",function(){req.pageLoaded=1;try{doc.readyState!="complete"&&(doc.readyState="complete");}catch(e){}_108();});if(1){var _75=doc.getElementsByTagName("script"),i=0,_76;while(!_57){if(!/^dojo/.test((_76=_75[i++])&&_76.type)){_57=_76;}}req.injectUrl=function(url,_109,_10a){var node=_10a.node=doc.createElement("script"),_10b=function(e){e=e||window.event;var node=e.target||e.srcElement;if(e.type==="load"||/complete|loaded/.test(node.readyState)){_10c();_10d();_109&&_109();}},_10c=_104(node,"load","onreadystatechange",_10b),_10d=_104(node,"error","onerror",function(e){_10c();_10d();_35(_45,_10("scriptError: "+url,[url,e]));});node.type="text/javascript";node.charset="utf-8";node.src=url;_57.parentNode.insertBefore(node,_57);return node;};}}if(1){req.log=function(){try{for(var i=0;i0)||window.navigator.msMaxTouchPoints);has.add("touch-events","ontouchstart" in document);has.add("pointer-events","pointerEnabled" in window.navigator?window.navigator.pointerEnabled:"PointerEvent" in window);has.add("MSPointer",window.navigator.msPointerEnabled);has.add("touch-action",has("touch")&&has("pointer-events"));has.add("device-width",screen.availWidth||innerWidth);var form=document.createElement("form");has.add("dom-attributes-explicit",form.attributes.length==0);has.add("dom-attributes-specified-flag",form.attributes.length>0&&form.attributes.length<40);}has.clearElement=function(_13f){_13f.innerHTML="";return _13f;};has.normalize=function(id,_140){var _141=id.match(/[\?:]|[^:\?]*/g),i=0,get=function(skip){var term=_141[i++];if(term==":"){return 0;}else{if(_141[i++]=="?"){if(!skip&&has(term)){return get();}else{get(true);return get(skip);}}return term||0;}};id=get();return id&&_140(id);};has.load=function(id,_142,_143){if(id){_142([id],_143);}else{_143();}};return has;});},"dojo/_base/config":function(){define(["../global","../has","require"],function(_144,has,_145){var _146={};if(1){var src=_145.rawConfig,p;for(p in src){_146[p]=src[p];}}else{var _147=function(_148,_149,_14a){for(p in _148){p!="has"&&has.add(_149+p,_148[p],0,_14a);}};_146=1?_145.rawConfig:_144.dojoConfig||_144.djConfig||{};_147(_146,"config",1);_147(_146.has,"",1);}if(!_146.locale&&typeof navigator!="undefined"){var _14b=(navigator.languages&&navigator.languages.length)?navigator.languages[0]:(navigator.language||navigator.userLanguage);if(_14b){_146.locale=_14b.toLowerCase();}}return _146;});},"dojo/sniff":function(){define(["./has"],function(has){if(1){var n=navigator,dua=n.userAgent,dav=n.appVersion,tv=parseFloat(dav);has.add("air",dua.indexOf("AdobeAIR")>=0);has.add("wp",parseFloat(dua.split("Windows Phone")[1])||undefined);has.add("msapp",parseFloat(dua.split("MSAppHost/")[1])||undefined);has.add("khtml",dav.indexOf("Konqueror")>=0?tv:undefined);has.add("edge",parseFloat(dua.split("Edge/")[1])||undefined);has.add("opr",parseFloat(dua.split("OPR/")[1])||undefined);has.add("webkit",!has("wp")&&!has("edge")&&parseFloat(dua.split("WebKit/")[1])||undefined);has.add("chrome",!has("edge")&&!has("opr")&&parseFloat(dua.split("Chrome/")[1])||undefined);has.add("android",!has("wp")&&parseFloat(dua.split("Android ")[1])||undefined);has.add("safari",dav.indexOf("Safari")>=0&&!has("wp")&&!has("chrome")&&!has("android")&&!has("edge")&&!has("opr")?parseFloat(dav.split("Version/")[1]):undefined);has.add("mac",dav.indexOf("Macintosh")>=0);has.add("quirks",document.compatMode=="BackCompat");if(!has("wp")&&dua.match(/(iPhone|iPod|iPad)/)){var p=RegExp.$1.replace(/P/,"p");var v=dua.match(/OS ([\d_]+)/)?RegExp.$1:"1";var os=parseFloat(v.replace(/_/,".").replace(/_/g,""));has.add(p,os);has.add("ios",os);}has.add("bb",(dua.indexOf("BlackBerry")>=0||dua.indexOf("BB10")>=0)&&parseFloat(dua.split("Version/")[1])||undefined);has.add("trident",parseFloat(dav.split("Trident/")[1])||undefined);has.add("svg",typeof SVGAngle!=="undefined");if(!has("webkit")){if(dua.indexOf("Opera")>=0){has.add("opera",tv>=9.8?parseFloat(dua.split("Version/")[1])||tv:tv);}if(dua.indexOf("Gecko")>=0&&!has("wp")&&!has("khtml")&&!has("trident")&&!has("edge")){has.add("mozilla",tv);}if(has("mozilla")){has.add("ff",parseFloat(dua.split("Firefox/")[1]||dua.split("Minefield/")[1])||undefined);}if(document.all&&!has("opera")){var isIE=parseFloat(dav.split("MSIE ")[1])||undefined;var mode=document.documentMode;if(mode&&mode!=5&&Math.floor(isIE)!=mode){isIE=mode;}has.add("ie",isIE);}has.add("wii",typeof opera!="undefined"&&opera.wiiremote);}}return has;});},"dojo/_base/lang":function(){define(["./kernel","../has","../sniff"],function(dojo,has){has.add("bug-for-in-skips-shadowed",function(){for(var i in {toString:1}){return 0;}return 1;});var _14c=has("bug-for-in-skips-shadowed")?"hasOwnProperty.valueOf.isPrototypeOf.propertyIsEnumerable.toLocaleString.toString.constructor".split("."):[],_14d=_14c.length,_14e=function(_14f,_150,_151){if(!_151){if(_14f[0]&&dojo.scopeMap[_14f[0]]){_151=dojo.scopeMap[_14f.shift()][1];}else{_151=dojo.global;}}try{for(var i=0;i<_14f.length;i++){var p=_14f[i];if(!(p in _151)){if(_150){_151[p]={};}else{return;}}_151=_151[p];}return _151;}catch(e){}},opts=Object.prototype.toString,_152=function(obj,_153,_154){return (_154||[]).concat(Array.prototype.slice.call(obj,_153||0));},_155=/\{([^\}]+)\}/g;var lang={_extraNames:_14c,_mixin:function(dest,_156,_157){var name,s,i,_158={};for(name in _156){s=_156[name];if(!(name in dest)||(dest[name]!==s&&(!(name in _158)||_158[name]!==s))){dest[name]=_157?_157(s):s;}}if(has("bug-for-in-skips-shadowed")){if(_156){for(i=0;i<_14d;++i){name=_14c[i];s=_156[name];if(!(name in dest)||(dest[name]!==s&&(!(name in _158)||_158[name]!==s))){dest[name]=_157?_157(s):s;}}}}return dest;},mixin:function(dest,_159){if(!dest){dest={};}for(var i=1,l=arguments.length;i2){return lang._hitchArgs.apply(dojo,arguments);}if(!_164){_164=_163;_163=null;}if(lang.isString(_164)){_163=_163||dojo.global;if(!_163[_164]){throw (["lang.hitch: scope[\"",_164,"\"] is null (scope=\"",_163,"\")"].join(""));}return function(){return _163[_164].apply(_163,arguments||[]);};}return !_163?_164:function(){return _164.apply(_163,arguments||[]);};},delegate:(function(){function TMP(){};return function(obj,_165){TMP.prototype=obj;var tmp=new TMP();TMP.prototype=null;if(_165){lang._mixin(tmp,_165);}return tmp;};})(),_toArray:has("ie")?(function(){function slow(obj,_166,_167){var arr=_167||[];for(var x=_166||0;x0){return _174.lastIndexOf(a,x,from);}var l=a&&a.length||0,end=up?l+_173:_172,i;if(from===u){i=up?_172:l+_173;}else{if(from<0){i=l+from;if(i<0){i=_172;}}else{i=from>=l?l+_173:from;}}if(l&&typeof a=="string"){a=a.split("");}for(;i!=end;i+=_171){if(a[i]==x){return i;}}return -1;};};var _174={every:_16d(false),some:_16d(true),indexOf:_170(true),lastIndexOf:_170(false),forEach:function(arr,_175,_176){var i=0,l=arr&&arr.length||0;if(l&&typeof arr=="string"){arr=arr.split("");}if(typeof _175=="string"){_175=_16b[_175]||_16c(_175);}if(_176){for(;i=_17f[i].priority;i++){}_17f.splice(i,0,_186);_182();};1||has.add("dojo-config-addOnLoad",1);if(1){var dca=dojo.config.addOnLoad;if(dca){_183[(lang.isArray(dca)?"apply":"call")](dojo,dca);}}if(1&&dojo.config.parseOnLoad&&!dojo.isAsync){_183(99,function(){if(!dojo.parser){dojo.deprecated("Add explicit require(['dojo/parser']);","","2.0");_17c(["dojo/parser"]);}});}if(_17d){_17d(_181);}else{_181();}return _183;});},"dojo/domReady":function(){define(["./global","./has"],function(_188,has){var doc=document,_189={"loaded":1,"complete":1},_18a=typeof doc.readyState!="string",_18b=!!_189[doc.readyState],_18c=[],_18d;function _18e(_18f){_18c.push(_18f);if(_18b){_190();}};_18e.load=function(id,req,load){_18e(load);};_18e._Q=_18c;_18e._onQEmpty=function(){};if(_18a){doc.readyState="loading";}function _190(){if(_18d){return;}_18d=true;while(_18c.length){try{(_18c.shift())(doc);}catch(err){console.error(err,"in domReady callback",err.stack);}}_18d=false;_18e._onQEmpty();};if(!_18b){var _191=[],_192=function(evt){evt=evt||_188.event;if(_18b||(evt.type=="readystatechange"&&!_189[doc.readyState])){return;}if(_18a){doc.readyState="complete";}_18b=1;_190();},on=function(node,_193){node.addEventListener(_193,_192,false);_18c.push(function(){node.removeEventListener(_193,_192,false);});};if(!has("dom-addeventlistener")){on=function(node,_194){_194="on"+_194;node.attachEvent(_194,_192);_18c.push(function(){node.detachEvent(_194,_192);});};var div=doc.createElement("div");try{if(div.doScroll&&_188.frameElement===null){_191.push(function(){try{div.doScroll("left");return 1;}catch(e){}});}}catch(e){}}on(doc,"DOMContentLoaded");on(_188,"load");if("onreadystatechange" in doc){on(doc,"readystatechange");}else{if(!_18a){_191.push(function(){return _189[doc.readyState];});}}if(_191.length){var _195=function(){if(_18b){return;}var i=_191.length;while(i--){if(_191[i]()){_192("poller");return;}}setTimeout(_195,30);};_195();}}return _18e;});},"dojo/_base/declare":function(){define(["./kernel","../has","./lang"],function(dojo,has,lang){var mix=lang.mixin,op=Object.prototype,opts=op.toString,xtor,_196=0,_197="constructor";if(!has("csp-restrictions")){xtor=new Function;}else{xtor=function(){};}function err(msg,cls){throw new Error("declare"+(cls?" "+cls:"")+": "+msg);};function _198(_199,_19a){var _19b=[],_19c=[{cls:0,refs:[]}],_19d={},_19e=1,l=_199.length,i=0,j,lin,base,top,_19f,rec,name,refs;for(;i=0;--j){_19f=lin[j].prototype;if(!_19f.hasOwnProperty("declaredClass")){_19f.declaredClass="uniqName_"+(_196++);}name=_19f.declaredClass;if(!_19d.hasOwnProperty(name)){_19d[name]={count:0,refs:[],cls:lin[j]};++_19e;}rec=_19d[name];if(top&&top!==rec){rec.refs.push(top);++top.count;}top=rec;}++top.count;_19c[0].refs.push(top);}while(_19c.length){top=_19c.pop();_19b.push(top.cls);--_19e;while(refs=top.refs,refs.length==1){top=refs[0];if(!top||--top.count){top=0;break;}_19b.push(top.cls);--_19e;}if(top){for(i=0,l=refs.length;i=0;--i){f=_1ba[i];m=f._meta;f=m?m.ctor:f;if(f){f.apply(this,_1bc?_1bc[i]:a);}}f=this.postscript;if(f){f.apply(this,args);}};};function _1be(ctor,_1bf){return function(){var a=arguments,t=a,a0=a[0],f;if(!(this instanceof a.callee)){return _1bd(a);}if(_1bf){if(a0){f=a0.preamble;if(f){t=f.apply(this,t)||t;}}f=this.preamble;if(f){f.apply(this,t);}}if(ctor){ctor.apply(this,a);}f=this.postscript;if(f){f.apply(this,a);}};};function _1c0(_1c1){return function(){var a=arguments,i=0,f,m;if(!(this instanceof a.callee)){return _1bd(a);}for(;f=_1c1[i];++i){m=f._meta;f=m?m.ctor:f;if(f){f.apply(this,a);break;}}f=this.postscript;if(f){f.apply(this,a);}};};function _1c2(name,_1c3,_1c4){return function(){var b,m,f,i=0,step=1;if(_1c4){i=_1c3.length-1;step=-1;}for(;b=_1c3[i];i+=step){m=b._meta;f=(m?m.hidden:b.prototype)[name];if(f){f.apply(this,arguments);}}};};function _1c5(ctor){xtor.prototype=ctor.prototype;var t=new xtor;xtor.prototype=null;return t;};function _1bd(args){var ctor=args.callee,t=_1c5(ctor);ctor.apply(t,args);return t;};function _1b5(_1c6,_1c7,_1c8){if(typeof _1c6!="string"){_1c8=_1c7;_1c7=_1c6;_1c6="";}_1c8=_1c8||{};var _1c9,i,t,ctor,name,_1ca,_1cb,_1cc=1,_1cd=_1c7;if(opts.call(_1c7)=="[object Array]"){_1ca=_198(_1c7,_1c6);t=_1ca[0];_1cc=_1ca.length-t;_1c7=_1ca[_1cc];}else{_1ca=[0];if(_1c7){if(opts.call(_1c7)=="[object Function]"){t=_1c7._meta;_1ca=_1ca.concat(t?t.bases:_1c7);}else{err("base class is not a callable constructor.",_1c6);}}else{if(_1c7!==null){err("unknown base class. Did you use dojo.require to pull it in?",_1c6);}}}if(_1c7){for(i=_1cc-1;;--i){_1c9=_1c5(_1c7);if(!i){break;}t=_1ca[i];(t._meta?_1ab:mix)(_1c9,t.prototype);if(has("csp-restrictions")){ctor=function(){};}else{ctor=new Function;}ctor.superclass=_1c7;ctor.prototype=_1c9;_1c7=_1c9.constructor=ctor;}}else{_1c9={};}_1b5.safeMixin(_1c9,_1c8);t=_1c8.constructor;if(t!==op.constructor){t.nom=_197;_1c9.constructor=t;}for(i=_1cc-1;i;--i){t=_1ca[i]._meta;if(t&&t.chains){_1cb=mix(_1cb||{},t.chains);}}if(_1c9["-chains-"]){_1cb=mix(_1cb||{},_1c9["-chains-"]);}if(_1c7&&_1c7.prototype&&_1c7.prototype["-chains-"]){_1cb=mix(_1cb||{},_1c7.prototype["-chains-"]);}t=!_1cb||!_1cb.hasOwnProperty(_197);_1ca[0]=ctor=(_1cb&&_1cb.constructor==="manual")?_1c0(_1ca):(_1ca.length==1?_1be(_1c8.constructor,t):_1b9(_1ca,t));ctor._meta={bases:_1ca,hidden:_1c8,chains:_1cb,parents:_1cd,ctor:_1c8.constructor};ctor.superclass=_1c7&&_1c7.prototype;ctor.extend=_1b3;ctor.createSubclass=_1b6;ctor.prototype=_1c9;_1c9.constructor=ctor;_1c9.getInherited=_1a6;_1c9.isInstanceOf=_1a9;_1c9.inherited=_1a8;_1c9.__inherited=_1a0;if(_1c6){_1c9.declaredClass=_1c6;lang.setObject(_1c6,ctor);}if(_1cb){for(name in _1cb){if(_1c9[name]&&typeof _1cb[name]=="string"&&name!=_197){t=_1c9[name]=_1c2(name,_1ca,_1cb[name]==="after");t.nom=name;}}}return ctor;};dojo.safeMixin=_1b5.safeMixin=_1af;dojo.declare=_1b5;return _1b5;});},"dojo/_base/connect":function(){define(["./kernel","../on","../topic","../aspect","./event","../mouse","./sniff","./lang","../keys"],function(dojo,on,hub,_1ce,_1cf,_1d0,has,lang){has.add("events-keypress-typed",function(){var _1d1={charCode:0};try{_1d1=document.createEvent("KeyboardEvent");(_1d1.initKeyboardEvent||_1d1.initKeyEvent).call(_1d1,"keypress",true,true,null,false,false,false,false,9,3);}catch(e){}return _1d1.charCode==0&&!has("opera");});function _1d2(obj,_1d3,_1d4,_1d5,_1d6){_1d5=lang.hitch(_1d4,_1d5);if(!obj||!(obj.addEventListener||obj.attachEvent)){return _1ce.after(obj||dojo.global,_1d3,_1d5,true);}if(typeof _1d3=="string"&&_1d3.substring(0,2)=="on"){_1d3=_1d3.substring(2);}if(!obj){obj=dojo.global;}if(!_1d6){switch(_1d3){case "keypress":_1d3=_1d7;break;case "mouseenter":_1d3=_1d0.enter;break;case "mouseleave":_1d3=_1d0.leave;break;}}return on(obj,_1d3,_1d5,_1d6);};var _1d8={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};var _1d9=has("mac")?"metaKey":"ctrlKey";var _1da=function(evt,_1db){var faux=lang.mixin({},evt,_1db);_1dc(faux);faux.preventDefault=function(){evt.preventDefault();};faux.stopPropagation=function(){evt.stopPropagation();};return faux;};function _1dc(evt){evt.keyChar=evt.charCode?String.fromCharCode(evt.charCode):"";evt.charOrCode=evt.keyChar||evt.keyCode;};var _1d7;if(has("events-keypress-typed")){var _1dd=function(e,code){try{return (e.keyCode=code);}catch(e){return 0;}};_1d7=function(_1de,_1df){var _1e0=on(_1de,"keydown",function(evt){var k=evt.keyCode;var _1e1=(k!=13)&&k!=32&&(k!=27||!has("ie"))&&(k<48||k>90)&&(k<96||k>111)&&(k<186||k>192)&&(k<219||k>222)&&k!=229;if(_1e1||evt.ctrlKey){var c=_1e1?0:k;if(evt.ctrlKey){if(k==3||k==13){return _1df.call(evt.currentTarget,evt);}else{if(c>95&&c<106){c-=48;}else{if((!evt.shiftKey)&&(c>=65&&c<=90)){c+=32;}else{c=_1d8[c]||c;}}}}var faux=_1da(evt,{type:"keypress",faux:true,charCode:c});_1df.call(evt.currentTarget,faux);if(has("ie")){_1dd(evt,faux.keyCode);}}});var _1e2=on(_1de,"keypress",function(evt){var c=evt.charCode;c=c>=32?c:0;evt=_1da(evt,{charCode:c,faux:true});return _1df.call(this,evt);});return {remove:function(){_1e0.remove();_1e2.remove();}};};}else{if(has("opera")){_1d7=function(_1e3,_1e4){return on(_1e3,"keypress",function(evt){var c=evt.which;if(c==3){c=99;}c=c<32&&!evt.shiftKey?0:c;if(evt.ctrlKey&&!evt.shiftKey&&c>=65&&c<=90){c+=32;}return _1e4.call(this,_1da(evt,{charCode:c}));});};}else{_1d7=function(_1e5,_1e6){return on(_1e5,"keypress",function(evt){_1dc(evt);return _1e6.call(this,evt);});};}}var _1e7={_keypress:_1d7,connect:function(obj,_1e8,_1e9,_1ea,_1eb){var a=arguments,args=[],i=0;args.push(typeof a[0]=="string"?null:a[i++],a[i++]);var a1=a[i+1];args.push(typeof a1=="string"||typeof a1=="function"?a[i++]:null,a[i++]);for(var l=a.length;i-1){_20b=type.split(/\s*,\s*/);}}if(_20b){var _20c=[];var i=0;var _20d;while(_20d=_20b[i++]){_20c.push(on.parse(_206,_20d,_207,_208,_209,_20a));}_20c.remove=function(){for(var i=0;i<_20c.length;i++){_20c[i].remove();}};return _20c;}return _208(_206,type,_207,_209,_20a);};var _20e=/^touch/;function _1fc(_20f,type,_210,_211,_212){var _213=type.match(/(.*):(.*)/);if(_213){type=_213[2];_213=_213[1];return on.selector(_213,type).call(_212,_20f,_210);}if(has("touch")){if(_20e.test(type)){_210=_214(_210);}if(!has("event-orientationchange")&&(type=="orientationchange")){type="resize";_20f=window;_210=_214(_210);}}if(_215){_210=_215(_210);}if(_20f.addEventListener){var _216=type in _217,_218=_216?_217[type]:type;_20f.addEventListener(_218,_210,_216);return {remove:function(){_20f.removeEventListener(_218,_210,_216);}};}type="on"+type;if(_219&&_20f.attachEvent){return _219(_20f,type,_210);}throw new Error("Target must be an event emitter");};on.matches=function(node,_21a,_21b,_21c,_21d){_21d=_21d&&(typeof _21d.matches=="function")?_21d:dojo.query;_21c=_21c!==false;if(node.nodeType!=1){node=node.parentNode;}while(!_21d.matches(node,_21a,_21b)){if(node==_21b||_21c===false||!(node=node.parentNode)||node.nodeType!=1){return false;}}return node;};on.selector=function(_21e,_21f,_220){return function(_221,_222){var _223=typeof _21e=="function"?{matches:_21e}:this,_224=_21f.bubble;function _225(_226){return on.matches(_226,_21e,_221,_220,_223);};if(_224){return on(_221,_224(_225),_222);}return on(_221,_21f,function(_227){var _228=_225(_227.target);if(_228){_227.selectorTarget=_228;return _222.call(_228,_227);}});};};function _229(){this.cancelable=false;this.defaultPrevented=true;};function _22a(){this.bubbles=false;};var _22b=[].slice,_22c=on.emit=function(_22d,type,_22e){var args=_22b.call(arguments,2);var _22f="on"+type;if("parentNode" in _22d){var _230=args[0]={};for(var i in _22e){_230[i]=_22e[i];}_230.preventDefault=_229;_230.stopPropagation=_22a;_230.target=_22d;_230.type=type;_22e=_230;}do{_22d[_22f]&&_22d[_22f].apply(_22d,args);}while(_22e&&_22e.bubbles&&(_22d=_22d.parentNode));return _22e&&_22e.cancelable&&_22e;};var _217=has("event-focusin")?{}:{focusin:"focus",focusout:"blur"};if(!has("event-stopimmediatepropagation")){var _231=function(){this.immediatelyStopped=true;this.modified=true;};var _215=function(_232){return function(_233){if(!_233.immediatelyStopped){_233.stopImmediatePropagation=_231;return _232.apply(this,arguments);}};};}if(has("dom-addeventlistener")){on.emit=function(_234,type,_235){if(_234.dispatchEvent&&document.createEvent){var _236=_234.ownerDocument||document;var _237=_236.createEvent("HTMLEvents");_237.initEvent(type,!!_235.bubbles,!!_235.cancelable);for(var i in _235){if(!(i in _237)){_237[i]=_235[i];}}return _234.dispatchEvent(_237)&&_237;}return _22c.apply(on,arguments);};}else{on._fixEvent=function(evt,_238){if(!evt){var w=_238&&(_238.ownerDocument||_238.document||_238).parentWindow||window;evt=w.event;}if(!evt){return evt;}try{if(_239&&evt.type==_239.type&&evt.srcElement==_239.target){evt=_239;}}catch(e){}if(!evt.target){evt.target=evt.srcElement;evt.currentTarget=(_238||evt.srcElement);if(evt.type=="mouseover"){evt.relatedTarget=evt.fromElement;}if(evt.type=="mouseout"){evt.relatedTarget=evt.toElement;}if(!evt.stopPropagation){evt.stopPropagation=_23a;evt.preventDefault=_23b;}switch(evt.type){case "keypress":var c=("charCode" in evt?evt.charCode:evt.keyCode);if(c==10){c=0;evt.keyCode=13;}else{if(c==13||c==27){c=0;}else{if(c==3){c=99;}}}evt.charCode=c;_23c(evt);break;}}return evt;};var _239,_23d=function(_23e){this.handle=_23e;};_23d.prototype.remove=function(){delete _dojoIEListeners_[this.handle];};var _23f=function(_240){return function(evt){evt=on._fixEvent(evt,this);var _241=_240.call(this,evt);if(evt.modified){if(!_239){setTimeout(function(){_239=null;});}_239=evt;}return _241;};};var _219=function(_242,type,_243){_243=_23f(_243);if(((_242.ownerDocument?_242.ownerDocument.parentWindow:_242.parentWindow||_242.window||window)!=top||has("jscript")<5.8)&&!has("config-_allow_leaks")){if(typeof _dojoIEListeners_=="undefined"){_dojoIEListeners_=[];}var _244=_242[type];if(!_244||!_244.listeners){var _245=_244;_244=Function("event","var callee = arguments.callee; for(var i = 0; i=0){s.width=w+u;}if(h>=0){s.height=h+u;}};function _27e(node){return node.tagName.toLowerCase()=="button"||node.tagName.toLowerCase()=="input"&&(node.getAttribute("type")||"").toLowerCase()=="button";};function _27f(node){return geom.boxModel=="border-box"||node.tagName.toLowerCase()=="table"||_27e(node);};function _280(node){var _281={x:0,y:0,width:0,height:0,top:0,right:0,bottom:0,left:0},ret;try{ret=node.getBoundingClientRect();}catch(e){return _281;}if(typeof ret.left==="undefined"){return _281;}return ret;};geom.setContentSize=function setContentSize(node,box,_282){node=dom.byId(node);var w=box.w,h=box.h;if(_27f(node)){var pb=geom.getPadBorderExtents(node,_282);if(w>=0){w+=pb.w;}if(h>=0){h+=pb.h;}}_27d(node,NaN,NaN,w,h);};var _283={l:0,t:0,w:0,h:0};geom.setMarginBox=function setMarginBox(node,box,_284){node=dom.byId(node);var s=_284||_276.getComputedStyle(node),w=box.w,h=box.h,pb=_27f(node)?_283:geom.getPadBorderExtents(node,s),mb=geom.getMarginExtents(node,s);if(has("webkit")){if(_27e(node)){var ns=node.style;if(w>=0&&!ns.width){ns.width="4px";}if(h>=0&&!ns.height){ns.height="4px";}}}if(w>=0){w=Math.max(w-pb.w-mb.w,0);}if(h>=0){h=Math.max(h-pb.h-mb.h,0);}_27d(node,box.l,box.t,w,h);};geom.isBodyLtr=function isBodyLtr(doc){doc=doc||win.doc;return (win.body(doc).dir||doc.documentElement.dir||"ltr").toLowerCase()=="ltr";};geom.docScroll=function docScroll(doc){doc=doc||win.doc;var node=doc.parentWindow||doc.defaultView;return "pageXOffset" in node?{x:node.pageXOffset,y:node.pageYOffset}:(node=has("quirks")?win.body(doc):doc.documentElement)&&{x:geom.fixIeBiDiScrollLeft(node.scrollLeft||0,doc),y:node.scrollTop||0};};geom.getIeDocumentElementOffset=function(doc){return {x:0,y:0};};geom.fixIeBiDiScrollLeft=function fixIeBiDiScrollLeft(_285,doc){doc=doc||win.doc;var ie=has("ie");if(ie&&!geom.isBodyLtr(doc)){var qk=has("quirks"),de=qk?win.body(doc):doc.documentElement,pwin=win.global;if(ie==6&&!qk&&pwin.frameElement&&de.scrollHeight>de.clientHeight){_285+=de.clientLeft;}return (ie<8||qk)?(_285+de.clientWidth-de.scrollWidth):-_285;}return _285;};geom.position=function(node,_286){node=dom.byId(node);var db=win.body(node.ownerDocument),ret=_280(node);ret={x:ret.left,y:ret.top,w:ret.right-ret.left,h:ret.bottom-ret.top};if(has("ie")<9){ret.x-=(has("quirks")?db.clientLeft+db.offsetLeft:0);ret.y-=(has("quirks")?db.clientTop+db.offsetTop:0);}if(_286){var _287=geom.docScroll(node.ownerDocument);ret.x+=_287.x;ret.y+=_287.y;}return ret;};geom.getMarginSize=function getMarginSize(node,_288){node=dom.byId(node);var me=geom.getMarginExtents(node,_288||_276.getComputedStyle(node));var size=_280(node);return {w:(size.right-size.left)+me.w,h:(size.bottom-size.top)+me.h};};geom.normalizeEvent=function(_289){if(!("layerX" in _289)){_289.layerX=_289.offsetX;_289.layerY=_289.offsetY;}if(!("pageX" in _289)){var se=_289.target;var doc=(se&&se.ownerDocument)||document;var _28a=has("quirks")?doc.body:doc.documentElement;_289.pageX=_289.clientX+geom.fixIeBiDiScrollLeft(_28a.scrollLeft||0,doc);_289.pageY=_289.clientY+(_28a.scrollTop||0);}};return geom;});},"dojo/_base/window":function(){define(["./kernel","./lang","../sniff"],function(dojo,lang,has){var ret={global:dojo.global,doc:dojo.global["document"]||null,body:function(doc){doc=doc||dojo.doc;return doc.body||doc.getElementsByTagName("body")[0];},setContext:function(_28b,_28c){dojo.global=ret.global=_28b;dojo.doc=ret.doc=_28c;},withGlobal:function(_28d,_28e,_28f,_290){var _291=dojo.global;try{dojo.global=ret.global=_28d;return ret.withDoc.call(null,_28d.document,_28e,_28f,_290);}finally{dojo.global=ret.global=_291;}},withDoc:function(_292,_293,_294,_295){var _296=ret.doc,oldQ=has("quirks"),_297=has("ie"),isIE,mode,pwin;try{dojo.doc=ret.doc=_292;dojo.isQuirks=has.add("quirks",dojo.doc.compatMode=="BackCompat",true,true);if(has("ie")){if((pwin=_292.parentWindow)&&pwin.navigator){isIE=parseFloat(pwin.navigator.appVersion.split("MSIE ")[1])||undefined;mode=_292.documentMode;if(mode&&mode!=5&&Math.floor(isIE)!=mode){isIE=mode;}dojo.isIE=has.add("ie",isIE,true,true);}}if(_294&&typeof _293=="string"){_293=_294[_293];}return _293.apply(_294,_295||[]);}finally{dojo.doc=ret.doc=_296;dojo.isQuirks=has.add("quirks",oldQ,true,true);dojo.isIE=has.add("ie",_297,true,true);}}};1&&lang.mixin(dojo,ret);return ret;});},"dojo/dom":function(){define(["./sniff","./_base/window","./_base/kernel"],function(has,win,_298){if(has("ie")<=7){try{document.execCommand("BackgroundImageCache",false,true);}catch(e){}}var dom={};if(has("ie")){dom.byId=function(id,doc){if(typeof id!="string"){return id||null;}var _299=doc||win.doc,te=id&&_299.getElementById(id);if(te&&(te.attributes.id.value==id||te.id==id)){return te;}else{var eles=_299.all[id];if(!eles||eles.nodeName){eles=[eles];}var i=0;while((te=eles[i++])){if((te.attributes&&te.attributes.id&&te.attributes.id.value==id)||te.id==id){return te;}}}return null;};}else{dom.byId=function(id,doc){return ((typeof id=="string")?(doc||win.doc).getElementById(id):id)||null;};}var doc=_298.global["document"]||null;has.add("dom-contains",!!(doc&&doc.contains));dom.isDescendant=has("dom-contains")?function(node,_29a){return !!((_29a=dom.byId(_29a))&&_29a.contains(dom.byId(node)));}:function(node,_29b){try{node=dom.byId(node);_29b=dom.byId(_29b);while(node){if(node==_29b){return true;}node=node.parentNode;}}catch(e){}return false;};has.add("css-user-select",function(_29c,doc,_29d){if(!_29d){return false;}var _29e=_29d.style;var _29f=["Khtml","O","Moz","Webkit"],i=_29f.length,name="userSelect",_2a0;do{if(typeof _29e[name]!=="undefined"){return name;}}while(i--&&(name=_29f[i]+"UserSelect"));return false;});var _2a1=has("css-user-select");dom.setSelectable=_2a1?function(node,_2a2){dom.byId(node).style[_2a1]=_2a2?"":"none";}:function(node,_2a3){node=dom.byId(node);var _2a4=node.getElementsByTagName("*"),i=_2a4.length;if(_2a3){node.removeAttribute("unselectable");while(i--){_2a4[i].removeAttribute("unselectable");}}else{node.setAttribute("unselectable","on");while(i--){_2a4[i].setAttribute("unselectable","on");}}};return dom;});},"dojo/dom-style":function(){define(["./sniff","./dom","./_base/window"],function(has,dom,win){var _2a5,_2a6={};if(has("webkit")){_2a5=function(node){var s;if(node.nodeType==1){var dv=node.ownerDocument.defaultView;s=dv.getComputedStyle(node,null);if(!s&&node.style){node.style.display="";s=dv.getComputedStyle(node,null);}}return s||{};};}else{if(has("ie")&&(has("ie")<9||has("quirks"))){_2a5=function(node){return node.nodeType==1&&node.currentStyle?node.currentStyle:{};};}else{_2a5=function(node){if(node.nodeType===1){var dv=node.ownerDocument.defaultView,w=dv.opener?dv:win.global.window;return w.getComputedStyle(node,null);}return {};};}}_2a6.getComputedStyle=_2a5;var _2a7;if(!has("ie")){_2a7=function(_2a8,_2a9){return parseFloat(_2a9)||0;};}else{_2a7=function(_2aa,_2ab){if(!_2ab){return 0;}if(_2ab=="medium"){return 4;}if(_2ab.slice&&_2ab.slice(-2)=="px"){return parseFloat(_2ab);}var s=_2aa.style,rs=_2aa.runtimeStyle,cs=_2aa.currentStyle,_2ac=s.left,_2ad=rs.left;rs.left=cs.left;try{s.left=_2ab;_2ab=s.pixelLeft;}catch(e){_2ab=0;}s.left=_2ac;rs.left=_2ad;return _2ab;};}_2a6.toPixelValue=_2a7;var astr="DXImageTransform.Microsoft.Alpha";var af=function(n,f){try{return n.filters.item(astr);}catch(e){return f?{}:null;}};var _2ae=has("ie")<9||(has("ie")<10&&has("quirks"))?function(node){try{return af(node).Opacity/100;}catch(e){return 1;}}:function(node){return _2a5(node).opacity;};var _2af=has("ie")<9||(has("ie")<10&&has("quirks"))?function(node,_2b0){if(_2b0===""){_2b0=1;}var ov=_2b0*100,_2b1=_2b0===1;if(_2b1){node.style.zoom="";if(af(node)){node.style.filter=node.style.filter.replace(new RegExp("\\s*progid:"+astr+"\\([^\\)]+?\\)","i"),"");}}else{node.style.zoom=1;if(af(node)){af(node,1).Opacity=ov;}else{node.style.filter+=" progid:"+astr+"(Opacity="+ov+")";}af(node,1).Enabled=true;}if(node.tagName.toLowerCase()=="tr"){for(var td=node.firstChild;td;td=td.nextSibling){if(td.tagName.toLowerCase()=="td"){_2af(td,_2b0);}}}return _2b0;}:function(node,_2b2){return node.style.opacity=_2b2;};var _2b3={left:true,top:true};var _2b4=/margin|padding|width|height|max|min|offset/;function _2b5(node,type,_2b6){type=type.toLowerCase();if(_2b6=="auto"){if(type=="height"){return node.offsetHeight;}if(type=="width"){return node.offsetWidth;}}if(type=="fontweight"){switch(_2b6){case 700:return "bold";case 400:default:return "normal";}}if(!(type in _2b3)){_2b3[type]=_2b4.test(type);}return _2b3[type]?_2a7(node,_2b6):_2b6;};var _2b7={cssFloat:1,styleFloat:1,"float":1};_2a6.get=function getStyle(node,name){var n=dom.byId(node),l=arguments.length,op=(name=="opacity");if(l==2&&op){return _2ae(n);}name=_2b7[name]?"cssFloat" in n.style?"cssFloat":"styleFloat":name;var s=_2a6.getComputedStyle(n);return (l==1)?s:_2b5(n,name,s[name]||n.style[name]);};_2a6.set=function setStyle(node,name,_2b8){var n=dom.byId(node),l=arguments.length,op=(name=="opacity");name=_2b7[name]?"cssFloat" in n.style?"cssFloat":"styleFloat":name;if(l==3){return op?_2af(n,_2b8):n.style[name]=_2b8;}for(var x in name){_2a6.set(node,x,name[x]);}return _2a6.getComputedStyle(n);};return _2a6;});},"dojo/mouse":function(){define(["./_base/kernel","./on","./has","./dom","./_base/window"],function(dojo,on,has,dom,win){has.add("dom-quirks",win.doc&&win.doc.compatMode=="BackCompat");has.add("events-mouseenter",win.doc&&"onmouseenter" in win.doc.createElement("div"));has.add("events-mousewheel",win.doc&&"onmousewheel" in win.doc);var _2b9;if((has("dom-quirks")&&has("ie"))||!has("dom-addeventlistener")){_2b9={LEFT:1,MIDDLE:4,RIGHT:2,isButton:function(e,_2ba){return e.button&_2ba;},isLeft:function(e){return e.button&1;},isMiddle:function(e){return e.button&4;},isRight:function(e){return e.button&2;}};}else{_2b9={LEFT:0,MIDDLE:1,RIGHT:2,isButton:function(e,_2bb){return e.button==_2bb;},isLeft:function(e){return e.button==0;},isMiddle:function(e){return e.button==1;},isRight:function(e){return e.button==2;}};}dojo.mouseButtons=_2b9;function _2bc(type,_2bd){var _2be=function(node,_2bf){return on(node,type,function(evt){if(_2bd){return _2bd(evt,_2bf);}if(!dom.isDescendant(evt.relatedTarget,node)){return _2bf.call(this,evt);}});};_2be.bubble=function(_2c0){return _2bc(type,function(evt,_2c1){var _2c2=_2c0(evt.target);var _2c3=evt.relatedTarget;if(_2c2&&(_2c2!=(_2c3&&_2c3.nodeType==1&&_2c0(_2c3)))){return _2c1.call(_2c2,evt);}});};return _2be;};var _2c4;if(has("events-mousewheel")){_2c4="mousewheel";}else{_2c4=function(node,_2c5){return on(node,"DOMMouseScroll",function(evt){evt.wheelDelta=-evt.detail;_2c5.call(this,evt);});};}return {_eventHandler:_2bc,enter:_2bc("mouseover"),leave:_2bc("mouseout"),wheel:_2c4,isLeft:_2b9.isLeft,isMiddle:_2b9.isMiddle,isRight:_2b9.isRight};});},"dojo/_base/sniff":function(){define(["./kernel","./lang","../sniff"],function(dojo,lang,has){if(!1){return has;}dojo._name="browser";lang.mixin(dojo,{isBrowser:true,isFF:has("ff"),isIE:has("ie"),isKhtml:has("khtml"),isWebKit:has("webkit"),isMozilla:has("mozilla"),isMoz:has("mozilla"),isOpera:has("opera"),isSafari:has("safari"),isChrome:has("chrome"),isMac:has("mac"),isIos:has("ios"),isAndroid:has("android"),isWii:has("wii"),isQuirks:has("quirks"),isAir:has("air")});return has;});},"dojo/keys":function(){define(["./_base/kernel","./sniff"],function(dojo,has){return dojo.keys={BACKSPACE:8,TAB:9,CLEAR:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,META:has("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:has("mac")&&!has("air")?(has("safari")?91:224):17};});},"dojo/_base/Deferred":function(){define(["./kernel","../Deferred","../promise/Promise","../errors/CancelError","../has","./lang","../when"],function(dojo,_2c6,_2c7,_2c8,has,lang,when){var _2c9=function(){};var _2ca=Object.freeze||function(){};var _2cb=dojo.Deferred=function(_2cc){var _2cd,_2ce,_2cf,_2d0,_2d1,head,_2d2;var _2d3=(this.promise=new _2c7());function _2d4(_2d5){if(_2ce){throw new Error("This deferred has already been resolved");}_2cd=_2d5;_2ce=true;_2d6();};function _2d6(){var _2d7;while(!_2d7&&_2d2){var _2d8=_2d2;_2d2=_2d2.next;if((_2d7=(_2d8.progress==_2c9))){_2ce=false;}var func=(_2d1?_2d8.error:_2d8.resolved);if(has("config-useDeferredInstrumentation")){if(_2d1&&_2c6.instrumentRejected){_2c6.instrumentRejected(_2cd,!!func);}}if(func){try{var _2d9=func(_2cd);if(_2d9&&typeof _2d9.then==="function"){_2d9.then(lang.hitch(_2d8.deferred,"resolve"),lang.hitch(_2d8.deferred,"reject"),lang.hitch(_2d8.deferred,"progress"));continue;}var _2da=_2d7&&_2d9===undefined;if(_2d7&&!_2da){_2d1=_2d9 instanceof Error;}_2d8.deferred[_2da&&_2d1?"reject":"resolve"](_2da?_2cd:_2d9);}catch(e){_2d8.deferred.reject(e);}}else{if(_2d1){_2d8.deferred.reject(_2cd);}else{_2d8.deferred.resolve(_2cd);}}}};this.isResolved=_2d3.isResolved=function(){return _2d0==0;};this.isRejected=_2d3.isRejected=function(){return _2d0==1;};this.isFulfilled=_2d3.isFulfilled=function(){return _2d0>=0;};this.isCanceled=_2d3.isCanceled=function(){return _2cf;};this.resolve=this.callback=function(_2db){this.fired=_2d0=0;this.results=[_2db,null];_2d4(_2db);};this.reject=this.errback=function(_2dc){_2d1=true;this.fired=_2d0=1;if(has("config-useDeferredInstrumentation")){if(_2c6.instrumentRejected){_2c6.instrumentRejected(_2dc,!!_2d2);}}_2d4(_2dc);this.results=[null,_2dc];};this.progress=function(_2dd){var _2de=_2d2;while(_2de){var _2df=_2de.progress;_2df&&_2df(_2dd);_2de=_2de.next;}};this.addCallbacks=function(_2e0,_2e1){this.then(_2e0,_2e1,_2c9);return this;};_2d3.then=this.then=function(_2e2,_2e3,_2e4){var _2e5=_2e4==_2c9?this:new _2cb(_2d3.cancel);var _2e6={resolved:_2e2,error:_2e3,progress:_2e4,deferred:_2e5};if(_2d2){head=head.next=_2e6;}else{_2d2=head=_2e6;}if(_2ce){_2d6();}return _2e5.promise;};var _2e7=this;_2d3.cancel=this.cancel=function(){if(!_2ce){var _2e8=_2cc&&_2cc(_2e7);if(!_2ce){if(!(_2e8 instanceof Error)){_2e8=new _2c8(_2e8);}_2e8.log=false;_2e7.reject(_2e8);}}_2cf=true;};_2ca(_2d3);};lang.extend(_2cb,{addCallback:function(_2e9){return this.addCallbacks(lang.hitch.apply(dojo,arguments));},addErrback:function(_2ea){return this.addCallbacks(null,lang.hitch.apply(dojo,arguments));},addBoth:function(_2eb){var _2ec=lang.hitch.apply(dojo,arguments);return this.addCallbacks(_2ec,_2ec);},fired:-1});_2cb.when=dojo.when=when;return _2cb;});},"dojo/Deferred":function(){define(["./has","./_base/lang","./errors/CancelError","./promise/Promise","./promise/instrumentation"],function(has,lang,_2ed,_2ee,_2ef){"use strict";var _2f0=0,_2f1=1,_2f2=2;var _2f3="This deferred has already been fulfilled.";var _2f4=Object.freeze||function(){};var _2f5=function(_2f6,type,_2f7,_2f8,_2f9){if(1){if(type===_2f2&&_2fa.instrumentRejected&&_2f6.length===0){_2fa.instrumentRejected(_2f7,false,_2f8,_2f9);}}for(var i=0;i<_2f6.length;i++){_2fb(_2f6[i],type,_2f7,_2f8);}};var _2fb=function(_2fc,type,_2fd,_2fe){var func=_2fc[type];var _2ff=_2fc.deferred;if(func){try{var _300=func(_2fd);if(type===_2f0){if(typeof _300!=="undefined"){_301(_2ff,type,_300);}}else{if(_300&&typeof _300.then==="function"){_2fc.cancel=_300.cancel;_300.then(_302(_2ff,_2f1),_302(_2ff,_2f2),_302(_2ff,_2f0));return;}_301(_2ff,_2f1,_300);}}catch(error){_301(_2ff,_2f2,error);}}else{_301(_2ff,type,_2fd);}if(1){if(type===_2f2&&_2fa.instrumentRejected){_2fa.instrumentRejected(_2fd,!!func,_2fe,_2ff.promise);}}};var _302=function(_303,type){return function(_304){_301(_303,type,_304);};};var _301=function(_305,type,_306){if(!_305.isCanceled()){switch(type){case _2f0:_305.progress(_306);break;case _2f1:_305.resolve(_306);break;case _2f2:_305.reject(_306);break;}}};var _2fa=function(_307){var _308=this.promise=new _2ee();var _309=this;var _30a,_30b,_30c;var _30d=false;var _30e=[];if(1&&Error.captureStackTrace){Error.captureStackTrace(_309,_2fa);Error.captureStackTrace(_308,_2fa);}this.isResolved=_308.isResolved=function(){return _30a===_2f1;};this.isRejected=_308.isRejected=function(){return _30a===_2f2;};this.isFulfilled=_308.isFulfilled=function(){return !!_30a;};this.isCanceled=_308.isCanceled=function(){return _30d;};this.progress=function(_30f,_310){if(!_30a){_2f5(_30e,_2f0,_30f,null,_309);return _308;}else{if(_310===true){throw new Error(_2f3);}else{return _308;}}};this.resolve=function(_311,_312){if(!_30a){_2f5(_30e,_30a=_2f1,_30b=_311,null,_309);_30e=null;return _308;}else{if(_312===true){throw new Error(_2f3);}else{return _308;}}};var _313=this.reject=function(_314,_315){if(!_30a){if(1&&Error.captureStackTrace){Error.captureStackTrace(_30c={},_313);}_2f5(_30e,_30a=_2f2,_30b=_314,_30c,_309);_30e=null;return _308;}else{if(_315===true){throw new Error(_2f3);}else{return _308;}}};this.then=_308.then=function(_316,_317,_318){var _319=[_318,_316,_317];_319.cancel=_308.cancel;_319.deferred=new _2fa(function(_31a){return _319.cancel&&_319.cancel(_31a);});if(_30a&&!_30e){_2fb(_319,_30a,_30b,_30c);}else{_30e.push(_319);}return _319.deferred.promise;};this.cancel=_308.cancel=function(_31b,_31c){if(!_30a){if(_307){var _31d=_307(_31b);_31b=typeof _31d==="undefined"?_31b:_31d;}_30d=true;if(!_30a){if(typeof _31b==="undefined"){_31b=new _2ed();}_313(_31b);return _31b;}else{if(_30a===_2f2&&_30b===_31b){return _31b;}}}else{if(_31c===true){throw new Error(_2f3);}}};_2f4(_308);};_2fa.prototype.toString=function(){return "[object Deferred]";};if(_2ef){_2ef(_2fa);}return _2fa;});},"dojo/errors/CancelError":function(){define(["./create"],function(_31e){return _31e("CancelError",null,null,{dojoType:"cancel",log:false});});},"dojo/errors/create":function(){define(["../_base/lang"],function(lang){return function(name,ctor,base,_31f){base=base||Error;var _320=function(_321){if(base===Error){if(Error.captureStackTrace){Error.captureStackTrace(this,_320);}var err=Error.call(this,_321),prop;for(prop in err){if(err.hasOwnProperty(prop)){this[prop]=err[prop];}}this.message=_321;this.stack=err.stack;}else{base.apply(this,arguments);}if(ctor){ctor.apply(this,arguments);}};_320.prototype=lang.delegate(base.prototype,_31f);_320.prototype.name=name;_320.prototype.constructor=_320;return _320;};});},"dojo/promise/Promise":function(){define(["../_base/lang"],function(lang){"use strict";function _322(){throw new TypeError("abstract");};return lang.extend(function Promise(){},{then:function(_323,_324,_325){_322();},cancel:function(_326,_327){_322();},isResolved:function(){_322();},isRejected:function(){_322();},isFulfilled:function(){_322();},isCanceled:function(){_322();},"finally":function(_328){return this.then(function(_329){var _32a=_328();if(_32a&&typeof _32a.then==="function"){return _32a.then(function(){return _329;});}return _329;},function(_32b){var _32c=_328();if(_32c&&typeof _32c.then==="function"){return _32c.then(function(){throw _32b;});}throw _32b;});},always:function(_32d){return this.then(_32d,_32d);},"catch":function(_32e){return this.then(null,_32e);},otherwise:function(_32f){return this.then(null,_32f);},trace:function(){return this;},traceRejected:function(){return this;},toString:function(){return "[object Promise]";}});});},"dojo/promise/instrumentation":function(){define(["./tracer","../has","../_base/lang","../_base/array"],function(_330,has,lang,_331){has.add("config-useDeferredInstrumentation","report-unhandled-rejections");function _332(_333,_334,_335){if(_333&&_333.log===false){return;}var _336="";if(_333&&_333.stack){_336+=_333.stack;}if(_334&&_334.stack){_336+="\n ----------------------------------------\n rejected"+_334.stack.split("\n").slice(1).join("\n").replace(/^\s+/," ");}if(_335&&_335.stack){_336+="\n ----------------------------------------\n"+_335.stack;}console.error(_333,_336);};function _337(_338,_339,_33a,_33b){if(!_339){_332(_338,_33a,_33b);}};var _33c=[];var _33d=false;var _33e=1000;function _33f(_340,_341,_342,_343){if(!_331.some(_33c,function(obj){if(obj.error===_340){if(_341){obj.handled=true;}return true;}})){_33c.push({error:_340,rejection:_342,handled:_341,deferred:_343,timestamp:new Date().getTime()});}if(!_33d){_33d=setTimeout(_344,_33e);}};function _344(){var now=new Date().getTime();var _345=now-_33e;_33c=_331.filter(_33c,function(obj){if(obj.timestamp<_345){if(!obj.handled){_332(obj.error,obj.rejection,obj.deferred);}return false;}return true;});if(_33c.length){_33d=setTimeout(_344,_33c[0].timestamp+_33e-now);}else{_33d=false;}};return function(_346){var _347=has("config-useDeferredInstrumentation");if(_347){_330.on("resolved",lang.hitch(console,"log","resolved"));_330.on("rejected",lang.hitch(console,"log","rejected"));_330.on("progress",lang.hitch(console,"log","progress"));var args=[];if(typeof _347==="string"){args=_347.split(",");_347=args.shift();}if(_347==="report-rejections"){_346.instrumentRejected=_337;}else{if(_347==="report-unhandled-rejections"||_347===true||_347===1){_346.instrumentRejected=_33f;_33e=parseInt(args[0],10)||_33e;}else{throw new Error("Unsupported instrumentation usage <"+_347+">");}}}};});},"dojo/promise/tracer":function(){define(["../_base/lang","./Promise","../Evented"],function(lang,_348,_349){"use strict";var _34a=new _349;var emit=_34a.emit;_34a.emit=null;function _34b(args){setTimeout(function(){emit.apply(_34a,args);},0);};_348.prototype.trace=function(){var args=lang._toArray(arguments);this.then(function(_34c){_34b(["resolved",_34c].concat(args));},function(_34d){_34b(["rejected",_34d].concat(args));},function(_34e){_34b(["progress",_34e].concat(args));});return this;};_348.prototype.traceRejected=function(){var args=lang._toArray(arguments);this.otherwise(function(_34f){_34b(["rejected",_34f].concat(args));});return this;};return _34a;});},"dojo/when":function(){define(["./Deferred","./promise/Promise"],function(_350,_351){"use strict";return function when(_352,_353,_354,_355){var _356=_352&&typeof _352.then==="function";var _357=_356&&_352 instanceof _351;if(!_356){if(arguments.length>1){return _353?_353(_352):_352;}else{return new _350().resolve(_352);}}else{if(!_357){var _358=new _350(_352.cancel);_352.then(_358.resolve,_358.reject,_358.progress);_352=_358.promise;}}if(_353||_354||_355){return _352.then(_353,_354,_355);}return _352;};});},"dojo/_base/json":function(){define(["./kernel","../json"],function(dojo,json){dojo.fromJson=function(js){return eval("("+js+")");};dojo._escapeString=json.stringify;dojo.toJsonIndentStr="\t";dojo.toJson=function(it,_359){return json.stringify(it,function(key,_35a){if(_35a){var tf=_35a.__json__||_35a.json;if(typeof tf=="function"){return tf.call(_35a);}}return _35a;},_359&&dojo.toJsonIndentStr);};return dojo;});},"dojo/json":function(){define(["./has"],function(has){"use strict";var _35b=typeof JSON!="undefined";has.add("json-parse",_35b);has.add("json-stringify",_35b&&JSON.stringify({a:0},function(k,v){return v||1;})=="{\"a\":1}");if(has("json-stringify")){return JSON;}else{var _35c=function(str){return ("\""+str.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,_35d){if(_35d&&!/^([\s\[\{]*(?:"(?:\\.|[^"])*"|-?\d[\d\.]*(?:[Ee][+-]?\d+)?|null|true|false|)[\s\]\}]*(?:,|:|$))+$/.test(str)){throw new SyntaxError("Invalid characters in JSON");}return eval("("+str+")");},stringify:function(_35e,_35f,_360){var _361;if(typeof _35f=="string"){_360=_35f;_35f=null;}function _362(it,_363,key){if(_35f){it=_35f(key,it);}var val,_364=typeof it;if(_364=="number"){return isFinite(it)?it+"":"null";}if(_364=="boolean"){return it+"";}if(it===null){return "null";}if(typeof it=="string"){return _35c(it);}if(_364=="function"||_364=="undefined"){return _361;}if(typeof it.toJSON=="function"){return _362(it.toJSON(key),_363,key);}if(it instanceof Date){return "\"{FullYear}-{Month+}-{Date}T{Hours}:{Minutes}:{Seconds}Z\"".replace(/\{(\w+)(\+)?\}/g,function(t,prop,plus){var num=it["getUTC"+prop]()+(plus?1:0);return num<10?"0"+num:num;});}if(it.valueOf()!==it){return _362(it.valueOf(),_363,key);}var _365=_360?(_363+_360):"";var sep=_360?" ":"";var _366=_360?"\n":"";if(it instanceof Array){var itl=it.length,res=[];for(key=0;key>=bits;t[x]=bits==4?17*c:c;});t.a=1;return t;};_36b.fromArray=dojo.colorFromArray=function(a,obj){var t=obj||new _36b();t._set(Number(a[0]),Number(a[1]),Number(a[2]),Number(a[3]));if(isNaN(t.a)){t.a=1;}return t.sanitize();};_36b.fromString=dojo.colorFromString=function(str,obj){var a=_36b.named[str];return a&&_36b.fromArray(a,obj)||_36b.fromRgb(str,obj)||_36b.fromHex(str,obj);};return _36b;});},"dojo/_base/browser":function(){if(require.has){require.has.add("config-selectorEngine","acme");}define(["../ready","./kernel","./connect","./unload","./window","./event","./html","./NodeList","../query","./xhr","./fx"],function(dojo){return dojo;});},"dojo/_base/unload":function(){define(["./kernel","./lang","../on"],function(dojo,lang,on){var win=window;var _373={addOnWindowUnload:function(obj,_374){if(!dojo.windowUnloaded){on(win,"unload",(dojo.windowUnloaded=function(){}));}on(win,"unload",lang.hitch(obj,_374));},addOnUnload:function(obj,_375){on(win,"beforeunload",lang.hitch(obj,_375));}};dojo.addOnWindowUnload=_373.addOnWindowUnload;dojo.addOnUnload=_373.addOnUnload;return _373;});},"dojo/_base/html":function(){define(["./kernel","../dom","../dom-style","../dom-attr","../dom-prop","../dom-class","../dom-construct","../dom-geometry"],function(dojo,dom,_376,attr,prop,cls,ctr,geom){dojo.byId=dom.byId;dojo.isDescendant=dom.isDescendant;dojo.setSelectable=dom.setSelectable;dojo.getAttr=attr.get;dojo.setAttr=attr.set;dojo.hasAttr=attr.has;dojo.removeAttr=attr.remove;dojo.getNodeProp=attr.getNodeProp;dojo.attr=function(node,name,_377){if(arguments.length==2){return attr[typeof name=="string"?"get":"set"](node,name);}return attr.set(node,name,_377);};dojo.hasClass=cls.contains;dojo.addClass=cls.add;dojo.removeClass=cls.remove;dojo.toggleClass=cls.toggle;dojo.replaceClass=cls.replace;dojo._toDom=dojo.toDom=ctr.toDom;dojo.place=ctr.place;dojo.create=ctr.create;dojo.empty=function(node){ctr.empty(node);};dojo._destroyElement=dojo.destroy=function(node){ctr.destroy(node);};dojo._getPadExtents=dojo.getPadExtents=geom.getPadExtents;dojo._getBorderExtents=dojo.getBorderExtents=geom.getBorderExtents;dojo._getPadBorderExtents=dojo.getPadBorderExtents=geom.getPadBorderExtents;dojo._getMarginExtents=dojo.getMarginExtents=geom.getMarginExtents;dojo._getMarginSize=dojo.getMarginSize=geom.getMarginSize;dojo._getMarginBox=dojo.getMarginBox=geom.getMarginBox;dojo.setMarginBox=geom.setMarginBox;dojo._getContentBox=dojo.getContentBox=geom.getContentBox;dojo.setContentSize=geom.setContentSize;dojo._isBodyLtr=dojo.isBodyLtr=geom.isBodyLtr;dojo._docScroll=dojo.docScroll=geom.docScroll;dojo._getIeDocumentElementOffset=dojo.getIeDocumentElementOffset=geom.getIeDocumentElementOffset;dojo._fixIeBiDiScrollLeft=dojo.fixIeBiDiScrollLeft=geom.fixIeBiDiScrollLeft;dojo.position=geom.position;dojo.marginBox=function marginBox(node,box){return box?geom.setMarginBox(node,box):geom.getMarginBox(node);};dojo.contentBox=function contentBox(node,box){return box?geom.setContentSize(node,box):geom.getContentBox(node);};dojo.coords=function(node,_378){dojo.deprecated("dojo.coords()","Use dojo.position() or dojo.marginBox().");node=dom.byId(node);var s=_376.getComputedStyle(node),mb=geom.getMarginBox(node,s);var abs=geom.position(node,_378);mb.x=abs.x;mb.y=abs.y;return mb;};dojo.getProp=prop.get;dojo.setProp=prop.set;dojo.prop=function(node,name,_379){if(arguments.length==2){return prop[typeof name=="string"?"get":"set"](node,name);}return prop.set(node,name,_379);};dojo.getStyle=_376.get;dojo.setStyle=_376.set;dojo.getComputedStyle=_376.getComputedStyle;dojo.__toPixelValue=dojo.toPixelValue=_376.toPixelValue;dojo.style=function(node,name,_37a){switch(arguments.length){case 1:return _376.get(node);case 2:return _376[typeof name=="string"?"get":"set"](node,name);}return _376.set(node,name,_37a);};return dojo;});},"dojo/dom-attr":function(){define(["exports","./sniff","./_base/lang","./dom","./dom-style","./dom-prop"],function(_37b,has,lang,dom,_37c,prop){var _37d={innerHTML:1,textContent:1,className:1,htmlFor:has("ie")?1:0,value:1},_37e={classname:"class",htmlfor:"for",tabindex:"tabIndex",readonly:"readOnly"};function _37f(node,name){var attr=node.getAttributeNode&&node.getAttributeNode(name);return !!attr&&attr.specified;};_37b.has=function hasAttr(node,name){var lc=name.toLowerCase();return !!_37d[prop.names[lc]||name]||_37f(dom.byId(node),_37e[lc]||name);};_37b.get=function getAttr(node,name){node=dom.byId(node);var lc=name.toLowerCase(),_380=prop.names[lc]||name,_381=_37d[_380],_382=node[_380];if(_381&&typeof _382!="undefined"){return _382;}if(_380=="textContent"){return prop.get(node,_380);}if(_380!="href"&&(typeof _382=="boolean"||lang.isFunction(_382))){return _382;}var _383=_37e[lc]||name;return _37f(node,_383)?node.getAttribute(_383):null;};_37b.set=function setAttr(node,name,_384){node=dom.byId(node);if(arguments.length==2){for(var x in name){_37b.set(node,x,name[x]);}return node;}var lc=name.toLowerCase(),_385=prop.names[lc]||name,_386=_37d[_385];if(_385=="style"&&typeof _384!="string"){_37c.set(node,_384);return node;}if(_386||typeof _384=="boolean"||lang.isFunction(_384)){return prop.set(node,name,_384);}node.setAttribute(_37e[lc]||name,_384);return node;};_37b.remove=function removeAttr(node,name){dom.byId(node).removeAttribute(_37e[name.toLowerCase()]||name);};_37b.getNodeProp=function getNodeProp(node,name){node=dom.byId(node);var lc=name.toLowerCase(),_387=prop.names[lc]||name;if((_387 in node)&&_387!="href"){return node[_387];}var _388=_37e[lc]||name;return _37f(node,_388)?node.getAttribute(_388):null;};});},"dojo/dom-prop":function(){define(["exports","./_base/kernel","./sniff","./_base/lang","./dom","./dom-style","./dom-construct","./_base/connect"],function(_389,dojo,has,lang,dom,_38a,ctr,conn){var _38b={},_38c=1,_38d=dojo._scopeName+"attrid";has.add("dom-textContent",function(_38e,doc,_38f){return "textContent" in _38f;});_389.names={"class":"className","for":"htmlFor",tabindex:"tabIndex",readonly:"readOnly",colspan:"colSpan",frameborder:"frameBorder",rowspan:"rowSpan",textcontent:"textContent",valuetype:"valueType"};function _390(node){var text="",ch=node.childNodes;for(var i=0,n;n=ch[i];i++){if(n.nodeType!=8){if(n.nodeType==1){text+=_390(n);}else{text+=n.nodeValue;}}}return text;};_389.get=function getProp(node,name){node=dom.byId(node);var lc=name.toLowerCase(),_391=_389.names[lc]||name;if(_391=="textContent"&&!has("dom-textContent")){return _390(node);}return node[_391];};_389.set=function setProp(node,name,_392){node=dom.byId(node);var l=arguments.length;if(l==2&&typeof name!="string"){for(var x in name){_389.set(node,x,name[x]);}return node;}var lc=name.toLowerCase(),_393=_389.names[lc]||name;if(_393=="style"&&typeof _392!="string"){_38a.set(node,_392);return node;}if(_393=="innerHTML"){if(has("ie")&&node.tagName.toLowerCase() in {col:1,colgroup:1,table:1,tbody:1,tfoot:1,thead:1,tr:1,title:1}){ctr.empty(node);node.appendChild(ctr.toDom(_392,node.ownerDocument));}else{node[_393]=_392;}return node;}if(_393=="textContent"&&!has("dom-textContent")){ctr.empty(node);node.appendChild(node.ownerDocument.createTextNode(_392));return node;}if(lang.isFunction(_392)){var _394=node[_38d];if(!_394){_394=_38c++;node[_38d]=_394;}if(!_38b[_394]){_38b[_394]={};}var h=_38b[_394][_393];if(h){conn.disconnect(h);}else{try{delete node[_393];}catch(e){}}if(_392){_38b[_394][_393]=conn.connect(node,_393,_392);}else{node[_393]=null;}return node;}node[_393]=_392;return node;};});},"dojo/dom-construct":function(){define(["exports","./_base/kernel","./sniff","./_base/window","./dom","./dom-attr"],function(_395,dojo,has,win,dom,attr){var _396={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"]},_397=/<\s*([\w\:]+)/,_398={},_399=0,_39a="__"+dojo._scopeName+"ToDomId";for(var _39b in _396){if(_396.hasOwnProperty(_39b)){var tw=_396[_39b];tw.pre=_39b=="option"?"":"<"+tw.join("><")+">";tw.post="";}}var _39c;if(has("ie")<=8){_39c=function(doc){doc.__dojo_html5_tested="yes";var div=_39d("div",{innerHTML:"",style:{visibility:"hidden"}},doc.body);if(div.childNodes.length!==1){("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(n){doc.createElement(n);});}_39e(div);};}function _39f(node,ref){var _3a0=ref.parentNode;if(_3a0){_3a0.insertBefore(node,ref);}};function _3a1(node,ref){var _3a2=ref.parentNode;if(_3a2){if(_3a2.lastChild==ref){_3a2.appendChild(node);}else{_3a2.insertBefore(node,ref.nextSibling);}}};_395.toDom=function toDom(frag,doc){doc=doc||win.doc;var _3a3=doc[_39a];if(!_3a3){doc[_39a]=_3a3=++_399+"";_398[_3a3]=doc.createElement("div");}if(has("ie")<=8){if(!doc.__dojo_html5_tested&&doc.body){_39c(doc);}}frag+="";var _3a4=frag.match(_397),tag=_3a4?_3a4[1].toLowerCase():"",_3a5=_398[_3a3],wrap,i,fc,df;if(_3a4&&_396[tag]){wrap=_396[tag];_3a5.innerHTML=wrap.pre+frag+wrap.post;for(i=wrap.length;i;--i){_3a5=_3a5.firstChild;}}else{_3a5.innerHTML=frag;}if(_3a5.childNodes.length==1){return _3a5.removeChild(_3a5.firstChild);}df=doc.createDocumentFragment();while((fc=_3a5.firstChild)){df.appendChild(fc);}return df;};_395.place=function place(node,_3a6,_3a7){_3a6=dom.byId(_3a6);if(typeof node=="string"){node=/^\s*=0);},add:function addClass(node,_3b3){node=dom.byId(node);_3b3=_3b0(_3b3);var cls=node[_3ae],_3b4;cls=cls?" "+cls+" ":" ";_3b4=cls.length;for(var i=0,len=_3b3.length,c;i0;};_3df.filter=_3dd.filter||function(_3e3,_3e4,root){return _3df(_3e4,root).filter(function(node){return _3be.indexOf(_3e3,node)>-1;});};if(typeof _3dd!="function"){var _3e5=_3dd.search;_3dd=function(_3e6,root){return _3e5(root||document,_3e6);};}return _3df;};var _3d9=_3dc(_3c0,_3ca);dojo.query=_3dc(_3c0,function(_3e7){return _3ca(_3e7);});_3d9.load=function(id,_3e8,_3e9){_3bf.load(id,_3e8,function(_3ea){_3e9(_3dc(_3ea,_3ca));});};dojo._filterQueryResult=_3d9._filterResult=function(_3eb,_3ec,root){return new _3ca(_3d9.filter(_3eb,_3ec,root));};dojo.NodeList=_3d9.NodeList=_3ca;return _3d9;});},"dojo/selector/_loader":function(){define(["../has","require"],function(has,_3ed){"use strict";if(typeof document!=="undefined"){var _3ee=document.createElement("div");has.add("dom-qsa2.1",!!_3ee.querySelectorAll);has.add("dom-qsa3",function(){try{_3ee.innerHTML="

";return _3ee.querySelectorAll(".TEST:empty").length==1;}catch(e){}});}var _3ef;var acme="./acme",lite="./lite";return {load:function(id,_3f0,_3f1,_3f2){if(_3f2&&_3f2.isBuild){_3f1();return;}var req=_3ed;id=id=="default"?has("config-selectorEngine")||"css3":id;id=id=="css2"||id=="lite"?lite:id=="css2.1"?has("dom-qsa2.1")?lite:acme:id=="css3"?has("dom-qsa3")?lite:acme:id=="acme"?acme:(req=_3f0)&&id;if(id.charAt(id.length-1)=="?"){id=id.substring(0,id.length-1);var _3f3=true;}if(_3f3&&(has("dom-compliant-qsa")||_3ef)){return _3f1(_3ef);}req([id],function(_3f4){if(id!="./lite"){_3ef=_3f4;}_3f1(_3f4);});}};});},"dojo/NodeList-dom":function(){define(["./_base/kernel","./query","./_base/array","./_base/lang","./dom-class","./dom-construct","./dom-geometry","./dom-attr","./dom-style"],function(dojo,_3f5,_3f6,lang,_3f7,_3f8,_3f9,_3fa,_3fb){var _3fc=function(a){return a.length==1&&(typeof a[0]=="string");};var _3fd=function(node){var p=node.parentNode;if(p){p.removeChild(node);}};var _3fe=_3f5.NodeList,awc=_3fe._adaptWithCondition,aafe=_3fe._adaptAsForEach,aam=_3fe._adaptAsMap;function _3ff(_400){return function(node,name,_401){if(arguments.length==2){return _400[typeof name=="string"?"get":"set"](node,name);}return _400.set(node,name,_401);};};lang.extend(_3fe,{_normalize:function(_402,_403){var _404=_402.parse===true;if(typeof _402.template=="string"){var _405=_402.templateFunc||(dojo.string&&dojo.string.substitute);_402=_405?_405(_402.template,_402):_402;}var type=(typeof _402);if(type=="string"||type=="number"){_402=_3f8.toDom(_402,(_403&&_403.ownerDocument));if(_402.nodeType==11){_402=lang._toArray(_402.childNodes);}else{_402=[_402];}}else{if(!lang.isArrayLike(_402)){_402=[_402];}else{if(!lang.isArray(_402)){_402=lang._toArray(_402);}}}if(_404){_402._runParse=true;}return _402;},_cloneNode:function(node){return node.cloneNode(true);},_place:function(ary,_406,_407,_408){if(_406.nodeType!=1&&_407=="only"){return;}var _409=_406,_40a;var _40b=ary.length;for(var i=_40b-1;i>=0;i--){var node=(_408?this._cloneNode(ary[i]):ary[i]);if(ary._runParse&&dojo.parser&&dojo.parser.parse){if(!_40a){_40a=_409.ownerDocument.createElement("div");}_40a.appendChild(node);dojo.parser.parse(_40a);node=_40a.firstChild;while(_40a.firstChild){_40a.removeChild(_40a.firstChild);}}if(i==_40b-1){_3f8.place(node,_409,_407);}else{_409.parentNode.insertBefore(node,_409);}_409=node;}},position:aam(_3f9.position),attr:awc(_3ff(_3fa),_3fc),style:awc(_3ff(_3fb),_3fc),addClass:aafe(_3f7.add),removeClass:aafe(_3f7.remove),toggleClass:aafe(_3f7.toggle),replaceClass:aafe(_3f7.replace),empty:aafe(_3f8.empty),removeAttr:aafe(_3fa.remove),marginBox:aam(_3f9.getMarginBox),place:function(_40c,_40d){var item=_3f5(_40c)[0];return this.forEach(function(node){_3f8.place(node,item,_40d);});},orphan:function(_40e){return (_40e?_3f5._filterResult(this,_40e):this).forEach(_3fd);},adopt:function(_40f,_410){return _3f5(_40f).place(this[0],_410)._stash(this);},query:function(_411){if(!_411){return this;}var ret=new _3fe;this.map(function(node){_3f5(_411,node).forEach(function(_412){if(_412!==undefined){ret.push(_412);}});});return ret._stash(this);},filter:function(_413){var a=arguments,_414=this,_415=0;if(typeof _413=="string"){_414=_3f5._filterResult(this,a[0]);if(a.length==1){return _414._stash(this);}_415=1;}return this._wrap(_3f6.filter(_414,a[_415],a[_415+1]),this);},addContent:function(_416,_417){_416=this._normalize(_416,this[0]);for(var i=0,node;(node=this[i]);i++){if(_416.length){this._place(_416,node,_417,i>0);}else{_3f8.empty(node);}}return this;}});return _3fe;});},"dojo/_base/xhr":function(){define(["./kernel","./sniff","require","../io-query","../dom","../dom-form","./Deferred","./config","./json","./lang","./array","../on","../aspect","../request/watch","../request/xhr","../request/util"],function(dojo,has,_418,ioq,dom,_419,_41a,_41b,json,lang,_41c,on,_41d,_41e,_41f,util){dojo._xhrObj=_41f._create;var cfg=dojo.config;dojo.objectToQuery=ioq.objectToQuery;dojo.queryToObject=ioq.queryToObject;dojo.fieldToObject=_419.fieldToObject;dojo.formToObject=_419.toObject;dojo.formToQuery=_419.toQuery;dojo.formToJson=_419.toJson;dojo._blockAsync=false;var _420=dojo._contentHandlers=dojo.contentHandlers={"text":function(xhr){return xhr.responseText;},"json":function(xhr){return json.fromJson(xhr.responseText||null);},"json-comment-filtered":function(xhr){if(!_41b.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: {}&&\n"+"Use djConfig.useCommentedJson=true to turn off this message.");}var _421=xhr.responseText;var _422=_421.indexOf("/*");var _423=_421.lastIndexOf("*/");if(_422==-1||_423==-1){throw new Error("JSON was not comment filtered");}return json.fromJson(_421.substring(_422+2,_423));},"javascript":function(xhr){return dojo.eval(xhr.responseText);},"xml":function(xhr){var _424=xhr.responseXML;if(_424&&has("dom-qsa2.1")&&!_424.querySelectorAll&&has("dom-parser")){_424=new DOMParser().parseFromString(xhr.responseText,"application/xml");}if(has("ie")){if((!_424||!_424.documentElement)){var ms=function(n){return "MSXML"+n+".DOMDocument";};var dp=["Microsoft.XMLDOM",ms(6),ms(4),ms(3),ms(2)];_41c.some(dp,function(p){try{var dom=new ActiveXObject(p);dom.async=false;dom.loadXML(xhr.responseText);_424=dom;}catch(e){return false;}return true;});}}return _424;},"json-comment-optional":function(xhr){if(xhr.responseText&&/^[^{\[]*\/\*/.test(xhr.responseText)){return _420["json-comment-filtered"](xhr);}else{return _420["json"](xhr);}}};dojo._ioSetArgs=function(args,_425,_426,_427){var _428={args:args,url:args.url};var _429=null;if(args.form){var form=dom.byId(args.form);var _42a=form.getAttributeNode("action");_428.url=_428.url||(_42a?_42a.value:(dojo.doc?dojo.doc.URL:null));_429=_419.toObject(form);}var _42b={};if(_429){lang.mixin(_42b,_429);}if(args.content){lang.mixin(_42b,args.content);}if(args.preventCache){_42b["dojo.preventCache"]=new Date().valueOf();}_428.query=ioq.objectToQuery(_42b);_428.handleAs=args.handleAs||"text";var d=new _41a(function(dfd){dfd.canceled=true;_425&&_425(dfd);var err=dfd.ioArgs.error;if(!err){err=new Error("request cancelled");err.dojoType="cancel";dfd.ioArgs.error=err;}return err;});d.addCallback(_426);var ld=args.load;if(ld&&lang.isFunction(ld)){d.addCallback(function(_42c){return ld.call(args,_42c,_428);});}var err=args.error;if(err&&lang.isFunction(err)){d.addErrback(function(_42d){return err.call(args,_42d,_428);});}var _42e=args.handle;if(_42e&&lang.isFunction(_42e)){d.addBoth(function(_42f){return _42e.call(args,_42f,_428);});}d.addErrback(function(_430){return _427(_430,d);});if(cfg.ioPublish&&dojo.publish&&_428.args.ioPublish!==false){d.addCallbacks(function(res){dojo.publish("/dojo/io/load",[d,res]);return res;},function(res){dojo.publish("/dojo/io/error",[d,res]);return res;});d.addBoth(function(res){dojo.publish("/dojo/io/done",[d,res]);return res;});}d.ioArgs=_428;return d;};var _431=function(dfd){var ret=_420[dfd.ioArgs.handleAs](dfd.ioArgs.xhr);return ret===undefined?null:ret;};var _432=function(_433,dfd){if(!dfd.ioArgs.args.failOk){console.error(_433);}return _433;};var _434=function(dfd){if(_435<=0){_435=0;if(cfg.ioPublish&&dojo.publish&&(!dfd||dfd&&dfd.ioArgs.args.ioPublish!==false)){dojo.publish("/dojo/io/stop");}}};var _435=0;_41d.after(_41e,"_onAction",function(){_435-=1;});_41d.after(_41e,"_onInFlight",_434);dojo._ioCancelAll=_41e.cancelAll;dojo._ioNotifyStart=function(dfd){if(cfg.ioPublish&&dojo.publish&&dfd.ioArgs.args.ioPublish!==false){if(!_435){dojo.publish("/dojo/io/start");}_435+=1;dojo.publish("/dojo/io/send",[dfd]);}};dojo._ioWatch=function(dfd,_436,_437,_438){var args=dfd.ioArgs.options=dfd.ioArgs.args;lang.mixin(dfd,{response:dfd.ioArgs,isValid:function(_439){return _436(dfd);},isReady:function(_43a){return _437(dfd);},handleResponse:function(_43b){return _438(dfd);}});_41e(dfd);_434(dfd);};var _43c="application/x-www-form-urlencoded";dojo._ioAddQueryToUrl=function(_43d){if(_43d.query.length){_43d.url+=(_43d.url.indexOf("?")==-1?"?":"&")+_43d.query;_43d.query=null;}};dojo.xhr=function(_43e,args,_43f){var rDfd;var dfd=dojo._ioSetArgs(args,function(dfd){rDfd&&rDfd.cancel();},_431,_432);var _440=dfd.ioArgs;if("postData" in args){_440.query=args.postData;}else{if("putData" in args){_440.query=args.putData;}else{if("rawBody" in args){_440.query=args.rawBody;}else{if((arguments.length>2&&!_43f)||"POST|PUT".indexOf(_43e.toUpperCase())===-1){dojo._ioAddQueryToUrl(_440);}}}}var _441={method:_43e,handleAs:"text",timeout:args.timeout,withCredentials:args.withCredentials,ioArgs:_440};if(typeof args.headers!=="undefined"){_441.headers=args.headers;}if(typeof args.contentType!=="undefined"){if(!_441.headers){_441.headers={};}_441.headers["Content-Type"]=args.contentType;}if(typeof _440.query!=="undefined"){_441.data=_440.query;}if(typeof args.sync!=="undefined"){_441.sync=args.sync;}dojo._ioNotifyStart(dfd);try{rDfd=_41f(_440.url,_441,true);}catch(e){dfd.cancel();return dfd;}dfd.ioArgs.xhr=rDfd.response.xhr;rDfd.then(function(){dfd.resolve(dfd);}).otherwise(function(_442){_440.error=_442;if(_442.response){_442.status=_442.response.status;_442.responseText=_442.response.text;_442.xhr=_442.response.xhr;}dfd.reject(_442);});return dfd;};dojo.xhrGet=function(args){return dojo.xhr("GET",args);};dojo.rawXhrPost=dojo.xhrPost=function(args){return dojo.xhr("POST",args,true);};dojo.rawXhrPut=dojo.xhrPut=function(args){return dojo.xhr("PUT",args,true);};dojo.xhrDelete=function(args){return dojo.xhr("DELETE",args);};dojo._isDocumentOk=function(x){return util.checkStatus(x.status);};dojo._getText=function(url){var _443;dojo.xhrGet({url:url,sync:true,load:function(text){_443=text;}});return _443;};lang.mixin(dojo.xhr,{_xhrObj:dojo._xhrObj,fieldToObject:_419.fieldToObject,formToObject:_419.toObject,objectToQuery:ioq.objectToQuery,formToQuery:_419.toQuery,formToJson:_419.toJson,queryToObject:ioq.queryToObject,contentHandlers:_420,_ioSetArgs:dojo._ioSetArgs,_ioCancelAll:dojo._ioCancelAll,_ioNotifyStart:dojo._ioNotifyStart,_ioWatch:dojo._ioWatch,_ioAddQueryToUrl:dojo._ioAddQueryToUrl,_isDocumentOk:dojo._isDocumentOk,_getText:dojo._getText,get:dojo.xhrGet,post:dojo.xhrPost,put:dojo.xhrPut,del:dojo.xhrDelete});return dojo.xhr;});},"dojo/io-query":function(){define(["./_base/lang"],function(lang){var _444={};return {objectToQuery:function objectToQuery(map){var enc=encodeURIComponent,_445=[];for(var name in map){var _446=map[name];if(_446!=_444[name]){var _447=enc(name)+"=";if(lang.isArray(_446)){for(var i=0,l=_446.length;i=200&&stat<300)||stat===304||stat===1223||!stat;};});},"dojo/errors/RequestError":function(){define(["./create"],function(_491){return _491("RequestError",function(_492,_493){this.response=_493;});});},"dojo/errors/RequestTimeoutError":function(){define(["./create","./RequestError"],function(_494,_495){return _494("RequestTimeoutError",null,_495,{dojoType:"timeout"});});},"dojo/request/xhr":function(){define(["../errors/RequestError","./watch","./handlers","./util","../has"],function(_496,_497,_498,util,has){has.add("native-xhr",function(){return typeof XMLHttpRequest!=="undefined";});has.add("dojo-force-activex-xhr",function(){return has("activex")&&window.location.protocol==="file:";});has.add("native-xhr2",function(){if(!has("native-xhr")||has("dojo-force-activex-xhr")){return;}var x=new XMLHttpRequest();return typeof x["addEventListener"]!=="undefined"&&(typeof opera==="undefined"||typeof x["upload"]!=="undefined");});has.add("native-formdata",function(){return typeof FormData!=="undefined";});has.add("native-blob",function(){return typeof Blob!=="undefined";});has.add("native-arraybuffer",function(){return typeof ArrayBuffer!=="undefined";});has.add("native-response-type",function(){return has("native-xhr")&&typeof new XMLHttpRequest().responseType!=="undefined";});has.add("native-xhr2-blob",function(){if(!has("native-response-type")){return;}var x=new XMLHttpRequest();x.open("GET","https://dojotoolkit.org/",true);x.responseType="blob";var _499=x.responseType;x.abort();return _499==="blob";});var _49a={"blob":has("native-xhr2-blob")?"blob":"arraybuffer","document":"document","arraybuffer":"arraybuffer"};function _49b(_49c,_49d){var _49e=_49c.xhr;_49c.status=_49c.xhr.status;try{_49c.text=_49e.responseText;}catch(e){}if(_49c.options.handleAs==="xml"){_49c.data=_49e.responseXML;}var _49f;if(_49d){this.reject(_49d);}else{try{_498(_49c);}catch(e){_49f=e;}if(util.checkStatus(_49e.status)){if(!_49f){this.resolve(_49c);}else{this.reject(_49f);}}else{if(!_49f){_49d=new _496("Unable to load "+_49c.url+" status: "+_49e.status,_49c);this.reject(_49d);}else{_49d=new _496("Unable to load "+_49c.url+" status: "+_49e.status+" and an error in handleAs: transformation of response",_49c);this.reject(_49d);}}}};var _4a0,_4a1,_4a2,_4a3;if(has("native-xhr2")){_4a0=function(_4a4){return !this.isFulfilled();};_4a3=function(dfd,_4a5){_4a5.xhr.abort();};_4a2=function(_4a6,dfd,_4a7,_4a8){function _4a9(evt){dfd.handleResponse(_4a7);};function _4aa(evt){var _4ab=evt.target;var _4ac=new _496("Unable to load "+_4a7.url+" status: "+_4ab.status,_4a7);dfd.handleResponse(_4a7,_4ac);};function _4ad(_4ae,evt){_4a7.transferType=_4ae;if(evt.lengthComputable){_4a7.loaded=evt.loaded;_4a7.total=evt.total;dfd.progress(_4a7);}else{if(_4a7.xhr.readyState===3){_4a7.loaded=("loaded" in evt)?evt.loaded:evt.position;dfd.progress(_4a7);}}};function _4af(evt){return _4ad("download",evt);};function _4b0(evt){return _4ad("upload",evt);};_4a6.addEventListener("load",_4a9,false);_4a6.addEventListener("error",_4aa,false);_4a6.addEventListener("progress",_4af,false);if(_4a8&&_4a6.upload){_4a6.upload.addEventListener("progress",_4b0,false);}return function(){_4a6.removeEventListener("load",_4a9,false);_4a6.removeEventListener("error",_4aa,false);_4a6.removeEventListener("progress",_4af,false);_4a6.upload.removeEventListener("progress",_4b0,false);_4a6=null;};};}else{_4a0=function(_4b1){return _4b1.xhr.readyState;};_4a1=function(_4b2){return 4===_4b2.xhr.readyState;};_4a3=function(dfd,_4b3){var xhr=_4b3.xhr;var _4b4=typeof xhr.abort;if(_4b4==="function"||_4b4==="object"||_4b4==="unknown"){xhr.abort();}};}function _4b5(_4b6){return this.xhr.getResponseHeader(_4b6);};var _4b7,_4b8={data:null,query:null,sync:false,method:"GET"};function xhr(url,_4b9,_4ba){var _4bb=has("native-formdata")&&_4b9&&_4b9.data&&_4b9.data instanceof FormData;var _4bc=util.parseArgs(url,util.deepCreate(_4b8,_4b9),_4bb);url=_4bc.url;_4b9=_4bc.options;var _4bd=!_4b9.data&&_4b9.method!=="POST"&&_4b9.method!=="PUT";if(has("ie")<=10){url=url.split("#")[0];}var _4be,last=function(){_4be&&_4be();};var dfd=util.deferred(_4bc,_4a3,_4a0,_4a1,_49b,last);var _4bf=_4bc.xhr=xhr._create();if(!_4bf){dfd.cancel(new _496("XHR was not created"));return _4ba?dfd:dfd.promise;}_4bc.getHeader=_4b5;if(_4a2){_4be=_4a2(_4bf,dfd,_4bc,_4b9.uploadProgress);}var data=typeof (_4b9.data)==="undefined"?null:_4b9.data,_4c0=!_4b9.sync,_4c1=_4b9.method;try{_4bf.open(_4c1,url,_4c0,_4b9.user||_4b7,_4b9.password||_4b7);if(_4b9.withCredentials){_4bf.withCredentials=_4b9.withCredentials;}if(has("native-response-type")&&_4b9.handleAs in _49a){_4bf.responseType=_49a[_4b9.handleAs];}var _4c2=_4b9.headers,_4c3=(_4bb||_4bd)?false:"application/x-www-form-urlencoded";if(_4c2){for(var hdr in _4c2){if(hdr.toLowerCase()==="content-type"){_4c3=_4c2[hdr];}else{if(_4c2[hdr]){_4bf.setRequestHeader(hdr,_4c2[hdr]);}}}}if(_4c3&&_4c3!==false){_4bf.setRequestHeader("Content-Type",_4c3);}if(!_4c2||!("X-Requested-With" in _4c2)){_4bf.setRequestHeader("X-Requested-With","XMLHttpRequest");}if(util.notify){util.notify.emit("send",_4bc,dfd.promise.cancel);}_4bf.send(data);}catch(e){dfd.reject(e);}_497(dfd);_4bf=null;return _4ba?dfd:dfd.promise;};xhr._create=function(){throw new Error("XMLHTTP not available");};if(has("native-xhr")&&!has("dojo-force-activex-xhr")){xhr._create=function(){return new XMLHttpRequest();};}else{if(has("activex")){try{new ActiveXObject("Msxml2.XMLHTTP");xhr._create=function(){return new ActiveXObject("Msxml2.XMLHTTP");};}catch(e){try{new ActiveXObject("Microsoft.XMLHTTP");xhr._create=function(){return new ActiveXObject("Microsoft.XMLHTTP");};}catch(e){}}}}util.addCommonMethods(xhr);return xhr;});},"dojo/request/handlers":function(){define(["../json","../_base/kernel","../_base/array","../has","../selector/_loader"],function(JSON,_4c4,_4c5,has){has.add("activex",typeof ActiveXObject!=="undefined");has.add("dom-parser",function(_4c6){return "DOMParser" in _4c6;});var _4c7;if(has("activex")){var dp=["Msxml2.DOMDocument.6.0","Msxml2.DOMDocument.4.0","MSXML2.DOMDocument.3.0","MSXML.DOMDocument"];var _4c8;_4c7=function(_4c9){var _4ca=_4c9.data;var text=_4c9.text;if(_4ca&&has("dom-qsa2.1")&&!_4ca.querySelectorAll&&has("dom-parser")){_4ca=new DOMParser().parseFromString(text,"application/xml");}function _4cb(p){try{var dom=new ActiveXObject(p);dom.async=false;dom.loadXML(text);_4ca=dom;_4c8=p;}catch(e){return false;}return true;};if(!_4ca||!_4ca.documentElement){if(!_4c8||!_4cb(_4c8)){_4c5.some(dp,_4cb);}}return _4ca;};}var _4cc=function(_4cd){if(!has("native-xhr2-blob")&&_4cd.options.handleAs==="blob"&&typeof Blob!=="undefined"){return new Blob([_4cd.xhr.response],{type:_4cd.xhr.getResponseHeader("Content-Type")});}return _4cd.xhr.response;};var _4ce={"javascript":function(_4cf){return _4c4.eval(_4cf.text||"");},"json":function(_4d0){return JSON.parse(_4d0.text||null);},"xml":_4c7,"blob":_4cc,"arraybuffer":_4cc,"document":_4cc};function _4d1(_4d2){var _4d3=_4ce[_4d2.options.handleAs];_4d2.data=_4d3?_4d3(_4d2):(_4d2.data||_4d2.text);return _4d2;};_4d1.register=function(name,_4d4){_4ce[name]=_4d4;};return _4d1;});},"dojo/_base/fx":function(){define(["./kernel","./config","./lang","../Evented","./Color","../aspect","../sniff","../dom","../dom-style"],function(dojo,_4d5,lang,_4d6,_4d7,_4d8,has,dom,_4d9){var _4da=lang.mixin;var _4db={};var _4dc=_4db._Line=function(_4dd,end){this.start=_4dd;this.end=end;};_4dc.prototype.getValue=function(n){return ((this.end-this.start)*n)+this.start;};var _4de=_4db.Animation=function(args){_4da(this,args);if(lang.isArray(this.curve)){this.curve=new _4dc(this.curve[0],this.curve[1]);}};_4de.prototype=new _4d6();lang.extend(_4de,{duration:350,repeat:0,rate:20,_percent:0,_startRepeatCount:0,_getStep:function(){var _4df=this._percent,_4e0=this.easing;return _4e0?_4e0(_4df):_4df;},_fire:function(evt,args){var a=args||[];if(this[evt]){if(_4d5.debugAtAllCosts){this[evt].apply(this,a);}else{try{this[evt].apply(this,a);}catch(e){console.error("exception in animation handler for:",evt);console.error(e);}}}return this;},play:function(_4e1,_4e2){var _4e3=this;if(_4e3._delayTimer){_4e3._clearTimer();}if(_4e2){_4e3._stopTimer();_4e3._active=_4e3._paused=false;_4e3._percent=0;}else{if(_4e3._active&&!_4e3._paused){return _4e3;}}_4e3._fire("beforeBegin",[_4e3.node]);var de=_4e1||_4e3.delay,_4e4=lang.hitch(_4e3,"_play",_4e2);if(de>0){_4e3._delayTimer=setTimeout(_4e4,de);return _4e3;}_4e4();return _4e3;},_play:function(_4e5){var _4e6=this;if(_4e6._delayTimer){_4e6._clearTimer();}_4e6._startTime=new Date().valueOf();if(_4e6._paused){_4e6._startTime-=_4e6.duration*_4e6._percent;}_4e6._active=true;_4e6._paused=false;var _4e7=_4e6.curve.getValue(_4e6._getStep());if(!_4e6._percent){if(!_4e6._startRepeatCount){_4e6._startRepeatCount=_4e6.repeat;}_4e6._fire("onBegin",[_4e7]);}_4e6._fire("onPlay",[_4e7]);_4e6._cycle();return _4e6;},pause:function(){var _4e8=this;if(_4e8._delayTimer){_4e8._clearTimer();}_4e8._stopTimer();if(!_4e8._active){return _4e8;}_4e8._paused=true;_4e8._fire("onPause",[_4e8.curve.getValue(_4e8._getStep())]);return _4e8;},gotoPercent:function(_4e9,_4ea){var _4eb=this;_4eb._stopTimer();_4eb._active=_4eb._paused=true;_4eb._percent=_4e9;if(_4ea){_4eb.play();}return _4eb;},stop:function(_4ec){var _4ed=this;if(_4ed._delayTimer){_4ed._clearTimer();}if(!_4ed._timer){return _4ed;}_4ed._stopTimer();if(_4ec){_4ed._percent=1;}_4ed._fire("onStop",[_4ed.curve.getValue(_4ed._getStep())]);_4ed._active=_4ed._paused=false;return _4ed;},destroy:function(){this.stop();},status:function(){if(this._active){return this._paused?"paused":"playing";}return "stopped";},_cycle:function(){var _4ee=this;if(_4ee._active){var curr=new Date().valueOf();var step=_4ee.duration===0?1:(curr-_4ee._startTime)/(_4ee.duration);if(step>=1){step=1;}_4ee._percent=step;if(_4ee.easing){step=_4ee.easing(step);}_4ee._fire("onAnimate",[_4ee.curve.getValue(step)]);if(_4ee._percent<1){_4ee._startTimer();}else{_4ee._active=false;if(_4ee.repeat>0){_4ee.repeat--;_4ee.play(null,true);}else{if(_4ee.repeat==-1){_4ee.play(null,true);}else{if(_4ee._startRepeatCount){_4ee.repeat=_4ee._startRepeatCount;_4ee._startRepeatCount=0;}}}_4ee._percent=0;_4ee._fire("onEnd",[_4ee.node]);!_4ee.repeat&&_4ee._stopTimer();}}return _4ee;},_clearTimer:function(){clearTimeout(this._delayTimer);delete this._delayTimer;}});var ctr=0,_4ef=null,_4f0={run:function(){}};lang.extend(_4de,{_startTimer:function(){if(!this._timer){this._timer=_4d8.after(_4f0,"run",lang.hitch(this,"_cycle"),true);ctr++;}if(!_4ef){_4ef=setInterval(lang.hitch(_4f0,"run"),this.rate);}},_stopTimer:function(){if(this._timer){this._timer.remove();this._timer=null;ctr--;}if(ctr<=0){clearInterval(_4ef);_4ef=null;ctr=0;}}});var _4f1=has("ie")?function(node){var ns=node.style;if(!ns.width.length&&_4d9.get(node,"width")=="auto"){ns.width="auto";}}:function(){};_4db._fade=function(args){args.node=dom.byId(args.node);var _4f2=_4da({properties:{}},args),_4f3=(_4f2.properties.opacity={});_4f3.start=!("start" in _4f2)?function(){return +_4d9.get(_4f2.node,"opacity")||0;}:_4f2.start;_4f3.end=_4f2.end;var anim=_4db.animateProperty(_4f2);_4d8.after(anim,"beforeBegin",lang.partial(_4f1,_4f2.node),true);return anim;};_4db.fadeIn=function(args){return _4db._fade(_4da({end:1},args));};_4db.fadeOut=function(args){return _4db._fade(_4da({end:0},args));};_4db._defaultEasing=function(n){return 0.5+((Math.sin((n+1.5)*Math.PI))/2);};var _4f4=function(_4f5){this._properties=_4f5;for(var p in _4f5){var prop=_4f5[p];if(prop.start instanceof _4d7){prop.tempColor=new _4d7();}}};_4f4.prototype.getValue=function(r){var ret={};for(var p in this._properties){var prop=this._properties[p],_4f6=prop.start;if(_4f6 instanceof _4d7){ret[p]=_4d7.blendColors(_4f6,prop.end,r,prop.tempColor).toCss();}else{if(!lang.isArray(_4f6)){ret[p]=((prop.end-_4f6)*r)+_4f6+(p!="opacity"?prop.units||"px":0);}}}return ret;};_4db.animateProperty=function(args){var n=args.node=dom.byId(args.node);if(!args.easing){args.easing=dojo._defaultEasing;}var anim=new _4de(args);_4d8.after(anim,"beforeBegin",lang.hitch(anim,function(){var pm={};for(var p in this.properties){if(p=="width"||p=="height"){this.node.display="block";}var prop=this.properties[p];if(lang.isFunction(prop)){prop=prop(n);}prop=pm[p]=_4da({},(lang.isObject(prop)?prop:{end:prop}));if(lang.isFunction(prop.start)){prop.start=prop.start(n);}if(lang.isFunction(prop.end)){prop.end=prop.end(n);}var _4f7=(p.toLowerCase().indexOf("color")>=0);function _4f8(node,p){var v={height:node.offsetHeight,width:node.offsetWidth}[p];if(v!==undefined){return v;}v=_4d9.get(node,p);return (p=="opacity")?+v:(_4f7?v:parseFloat(v));};if(!("end" in prop)){prop.end=_4f8(n,p);}else{if(!("start" in prop)){prop.start=_4f8(n,p);}}if(_4f7){prop.start=new _4d7(prop.start);prop.end=new _4d7(prop.end);}else{prop.start=(p=="opacity")?+prop.start:parseFloat(prop.start);}}this.curve=new _4f4(pm);}),true);_4d8.after(anim,"onAnimate",lang.hitch(_4d9,"set",anim.node),true);return anim;};_4db.anim=function(node,_4f9,_4fa,_4fb,_4fc,_4fd){return _4db.animateProperty({node:node,duration:_4fa||_4de.prototype.duration,properties:_4f9,easing:_4fb,onEnd:_4fc}).play(_4fd||0);};if(1){_4da(dojo,_4db);dojo._Animation=_4de;}return _4db;});},"dojo/_base/loader":function(){define(["./kernel","../has","require","module","../json","./lang","./array"],function(dojo,has,_4fe,_4ff,json,lang,_500){if(!1){console.error("cannot load the Dojo v1.x loader with a foreign loader");return 0;}1||has.add("dojo-fast-sync-require",1);var _501=function(id){return {src:_4ff.id,id:id};},_502=function(name){return name.replace(/\./g,"/");},_503=/\/\/>>built/,_504=[],_505=[],_506=function(mid,_507,_508){_504.push(_508);_500.forEach(mid.split(","),function(mid){var _509=_50a(mid,_507.module);_505.push(_509);_50b(_509);});_50c();},_50c=(1?function(){var _50d,mid;for(mid in _50e){_50d=_50e[mid];if(_50d.noReqPluginCheck===undefined){_50d.noReqPluginCheck=/loadInit\!/.test(mid)||/require\!/.test(mid)?1:0;}if(!_50d.executed&&!_50d.noReqPluginCheck&&_50d.injected==_50f){return;}}_510(function(){var _511=_504;_504=[];_500.forEach(_511,function(cb){cb(1);});});}:(function(){var _512,_513=function(m){_512[m.mid]=1;for(var t,_514,deps=m.deps||[],i=0;i>built -require({cache:{"dojo/_base/url":function(){define(["./kernel"],function(_1){var _2=new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"),_3=new RegExp("^((([^\\[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^\\[:]*))(:([0-9]+))?$"),_4=function(){var n=null,_5=arguments,_6=[_5[0]];for(var i=1;i<_5.length;i++){if(!_5[i]){continue;}var _7=new _4(_5[i]+""),_8=new _4(_6[0]+"");if(_7.path==""&&!_7.scheme&&!_7.authority&&!_7.query){if(_7.fragment!=n){_8.fragment=_7.fragment;}_7=_8;}else{if(!_7.scheme){_7.scheme=_8.scheme;if(!_7.authority){_7.authority=_8.authority;if(_7.path.charAt(0)!="/"){var _9=_8.path.substring(0,_8.path.lastIndexOf("/")+1)+_7.path;var _a=_9.split("/");for(var j=0;j<_a.length;j++){if(_a[j]=="."){if(j==_a.length-1){_a[j]="";}else{_a.splice(j,1);j--;}}else{if(j>0&&!(j==1&&_a[0]=="")&&_a[j]==".."&&_a[j-1]!=".."){if(j==(_a.length-1)){_a.splice(j,1);_a[j-1]="";}else{_a.splice(j-1,2);j-=2;}}}}_7.path=_a.join("/");}}}}_6=[];if(_7.scheme){_6.push(_7.scheme,":");}if(_7.authority){_6.push("//",_7.authority);}_6.push(_7.path);if(_7.query){_6.push("?",_7.query);}if(_7.fragment){_6.push("#",_7.fragment);}}this.uri=_6.join("");var r=this.uri.match(_2);this.scheme=r[2]||(r[1]?"":n);this.authority=r[4]||(r[3]?"":n);this.path=r[5];this.query=r[7]||(r[6]?"":n);this.fragment=r[9]||(r[8]?"":n);if(this.authority!=n){r=this.authority.match(_3);this.user=r[3]||n;this.password=r[4]||n;this.host=r[6]||r[7];this.port=r[9]||n;}};_4.prototype.toString=function(){return this.uri;};return _1._Url=_4;});},"dojo/cache":function(){define(["./_base/kernel","./text"],function(_b){return _b.cache;});},"dojo/text":function(){define(["./_base/kernel","require","./has","./request"],function(_c,_d,_e,_f){var _10;if(1){_10=function(url,_11,_12){_f(url,{sync:!!_11,headers:{"X-Requested-With":null}}).then(_12);};}else{if(_d.getText){_10=_d.getText;}else{console.error("dojo/text plugin failed to load because loader does not support getText");}}var _13={},_14=function(_15){if(_15){_15=_15.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");var _16=_15.match(/]*>\s*([\s\S]+)\s*<\/body>/im);if(_16){_15=_16[1];}}else{_15="";}return _15;},_17={},_18={};_c.cache=function(_19,url,_1a){var key;if(typeof _19=="string"){if(/\//.test(_19)){key=_19;_1a=url;}else{key=_d.toUrl(_19.replace(/\./g,"/")+(url?("/"+url):""));}}else{key=_19+"";_1a=url;}var val=(_1a!=undefined&&typeof _1a!="string")?_1a.value:_1a,_1b=_1a&&_1a.sanitize;if(typeof val=="string"){_13[key]=val;return _1b?_14(val):val;}else{if(val===null){delete _13[key];return null;}else{if(!(key in _13)){_10(key,true,function(_1c){_13[key]=_1c;});}return _1b?_14(_13[key]):_13[key];}}};return {dynamic:true,normalize:function(id,_1d){var _1e=id.split("!"),url=_1e[0];return (/^\./.test(url)?_1d(url):url)+(_1e[1]?"!"+_1e[1]:"");},load:function(id,_1f,_20){var _21=id.split("!"),_22=_21.length>1,_23=_21[0],url=_1f.toUrl(_21[0]),_24="url:"+url,_25=_17,_26=function(_27){_20(_22?_14(_27):_27);};if(_23 in _13){_25=_13[_23];}else{if(_1f.cache&&_24 in _1f.cache){_25=_1f.cache[_24];}else{if(url in _13){_25=_13[url];}}}if(_25===_17){if(_18[url]){_18[url].push(_26);}else{var _28=_18[url]=[_26];_10(url,!_1f.async,function(_29){_13[_23]=_13[url]=_29;for(var i=0;i<_28.length;){_28[i++](_29);}delete _18[url];});}}else{_26(_25);}}};});},"dojo/request":function(){define(["./request/default!"],function(_2a){return _2a;});},"dojo/request/default":function(){define(["exports","require","../has"],function(_2b,_2c,has){var _2d=has("config-requestProvider"),_2e;if(1||has("host-webworker")){_2e="./xhr";}else{if(0){_2e="./node";}}if(!_2d){_2d=_2e;}_2b.getPlatformDefaultId=function(){return _2e;};_2b.load=function(id,_2f,_30,_31){_2c([id=="platform"?_2e:_2d],function(_32){_30(_32);});};});},"dojo/parser":function(){define(["require","./_base/kernel","./_base/lang","./_base/array","./_base/config","./dom","./_base/window","./_base/url","./aspect","./promise/all","./date/stamp","./Deferred","./has","./query","./on","./ready"],function(_33,_34,_35,_36,_37,dom,_38,_39,_3a,all,_3b,_3c,has,_3d,don,_3e){new Date("X");function _3f(_40){return eval("("+_40+")");};var _41=0;_3a.after(_35,"extend",function(){_41++;},true);function _42(_43){var map=_43._nameCaseMap,_44=_43.prototype;if(!map||map._extendCnt<_41){map=_43._nameCaseMap={};for(var _45 in _44){if(_45.charAt(0)==="_"){continue;}map[_45.toLowerCase()]=_45;}map._extendCnt=_41;}return map;};function _46(_47,_48){if(!_48){_48=_33;}var _49=_48._dojoParserCtorMap||(_48._dojoParserCtorMap={});var ts=_47.join();if(!_49[ts]){var _4a=[];for(var i=0,l=_47.length;i.*$/,"");_72=_36.map(_74.split(/\s+/),function(_75){var _76=_75.toLowerCase();return {name:_75,value:(_6b.nodeName=="LI"&&_75=="value")||_76=="enctype"?_6b.getAttribute(_76):_6b.getAttributeNode(_76).value};});}}var _77=_6d.scope||_34._scopeName,_78="data-"+_77+"-",_79={};if(_77!=="dojo"){_79[_78+"props"]="data-dojo-props";_79[_78+"type"]="data-dojo-type";_79[_78+"mixins"]="data-dojo-mixins";_79[_77+"type"]="dojotype";_79[_78+"id"]="data-dojo-id";}var i=0,_7a,_7b=[],_7c,_7d;while(_7a=_72[i++]){var _7e=_7a.name,_7f=_7e.toLowerCase(),_80=_7a.value;switch(_79[_7f]||_7f){case "data-dojo-type":case "dojotype":case "data-dojo-mixins":break;case "data-dojo-props":_7d=_80;break;case "data-dojo-id":case "jsid":_7c=_80;break;case "data-dojo-attach-point":case "dojoattachpoint":_71.dojoAttachPoint=_80;break;case "data-dojo-attach-event":case "dojoattachevent":_71.dojoAttachEvent=_80;break;case "class":_71["class"]=_6b.className;break;case "style":_71["style"]=_6b.style&&_6b.style.cssText;break;default:if(!(_7e in _70)){var map=_42(_6a);_7e=map[_7f]||_7e;}if(_7e in _70){switch(typeof _70[_7e]){case "string":_71[_7e]=_80;break;case "number":_71[_7e]=_80.length?Number(_80):NaN;break;case "boolean":_71[_7e]=_80.toLowerCase()!="false";break;case "function":if(_80===""||_80.search(/[^\w\.]+/i)!=-1){_71[_7e]=new Function(_80);}else{_71[_7e]=_35.getObject(_80,false)||new Function(_80);}_7b.push(_7e);break;default:var _81=_70[_7e];_71[_7e]=(_81&&"length" in _81)?(_80?_80.split(/\s*,\s*/):[]):(_81 instanceof Date)?(_80==""?new Date(""):_80=="now"?new Date():_3b.fromISOString(_80)):(_81 instanceof _39)?(_34.baseUrl+_80):_3f(_80);}}else{_71[_7e]=_80;}}}for(var j=0;j<_7b.length;j++){var _82=_7b[j].toLowerCase();_6b.removeAttribute(_82);_6b[_82]=null;}if(_7d){try{_7d=_3f.call(_6d.propsThis,"{"+_7d+"}");_35.mixin(_71,_7d);}catch(e){throw new Error(e.toString()+" in data-dojo-props='"+_7d+"'");}}_35.mixin(_71,_6c);if(!_6e){_6e=(_6a&&(_6a._noScript||_70._noScript)?[]:_3d("> script[type^='dojo/']",_6b));}var _83=[],_84=[],_85=[],ons=[];if(_6e){for(i=0;i<_6e.length;i++){var _86=_6e[i];_6b.removeChild(_86);var _87=(_86.getAttribute(_78+"event")||_86.getAttribute("event")),_88=_86.getAttribute(_78+"prop"),_89=_86.getAttribute(_78+"method"),_8a=_86.getAttribute(_78+"advice"),_8b=_86.getAttribute("type"),nf=this._functionFromScript(_86,_78);if(_87){if(_8b=="dojo/connect"){_83.push({method:_87,func:nf});}else{if(_8b=="dojo/on"){ons.push({event:_87,func:nf});}else{_71[_87]=nf;}}}else{if(_8b=="dojo/aspect"){_83.push({method:_89,advice:_8a,func:nf});}else{if(_8b=="dojo/watch"){_85.push({prop:_88,func:nf});}else{_84.push(nf);}}}}}var _8c=_6a.markupFactory||_70.markupFactory;var _8d=_8c?_8c(_71,_6b,_6a):new _6a(_71,_6b);function _8e(_8f){if(_7c){_35.setObject(_7c,_8f);}for(i=0;i<_83.length;i++){_3a[_83[i].advice||"after"](_8f,_83[i].method,_35.hitch(_8f,_83[i].func),true);}for(i=0;i<_84.length;i++){_84[i].call(_8f);}for(i=0;i<_85.length;i++){_8f.watch(_85[i].prop,_85[i].func);}for(i=0;i0?"-":"+")+_e2(Math.floor(_ea/60))+":"+_e2(_ea%60);}}_e3.push(_e7);}return _e3.join("T");};return _d6;});},"dojo/node":function(){define(["./_base/kernel","./has","require"],function(_eb,has,_ec){var _ed=_eb.global.require&&_eb.global.require.nodeRequire;if(!_ed){throw new Error("Cannot find the Node.js require");}var _ee=_ed("module");return {load:function(id,_ef,_f0){if(_ee._findPath&&_ee._nodeModulePaths){var _f1=_ee._findPath(id,_ee._nodeModulePaths(_ef.toUrl(".")));if(_f1!==false){id=_f1;}}var _f2=define,_f3;define=undefined;try{_f3=_ed(id);}finally{define=_f2;}_f0(_f3);},normalize:function(id,_f4){if(id.charAt(0)==="."){id=_ec.toUrl(_f4("./"+id));}return id;}};});},"dojo/data/ItemFileWriteStore":function(){define(["../_base/lang","../_base/declare","../_base/array","../_base/json","../_base/kernel","./ItemFileReadStore","../date/stamp"],function(_f5,_f6,_f7,_f8,_f9,_fa,_fb){return _f6("dojo.data.ItemFileWriteStore",_fa,{constructor:function(_fc){this._features["dojo.data.api.Write"]=true;this._features["dojo.data.api.Notification"]=true;this._pending={_newItems:{},_modifiedItems:{},_deletedItems:{}};if(!this._datatypeMap["Date"].serialize){this._datatypeMap["Date"].serialize=function(obj){return _fb.toISOString(obj,{zulu:true});};}if(_fc&&(_fc.referenceIntegrity===false)){this.referenceIntegrity=false;}this._saveInProgress=false;},referenceIntegrity:true,_assert:function(_fd){if(!_fd){throw new Error("assertion failed in ItemFileWriteStore");}},_getIdentifierAttribute:function(){return this.getFeatures()["dojo.data.api.Identity"];},newItem:function(_fe,_ff){this._assert(!this._saveInProgress);if(!this._loadFinished){this._forceLoad();}if(typeof _fe!="object"&&typeof _fe!="undefined"){throw new Error("newItem() was passed something other than an object");}var _100=null;var _101=this._getIdentifierAttribute();if(_101===Number){_100=this._arrayOfAllItems.length;}else{_100=_fe[_101];if(typeof _100==="undefined"){throw new Error("newItem() was not passed an identity for the new item");}if(_f5.isArray(_100)){throw new Error("newItem() was not passed an single-valued identity");}}if(this._itemsByIdentity){this._assert(typeof this._itemsByIdentity[_100]==="undefined");}this._assert(typeof this._pending._newItems[_100]==="undefined");this._assert(typeof this._pending._deletedItems[_100]==="undefined");var _102={};_102[this._storeRefPropName]=this;_102[this._itemNumPropName]=this._arrayOfAllItems.length;if(this._itemsByIdentity){this._itemsByIdentity[_100]=_102;_102[_101]=[_100];}this._arrayOfAllItems.push(_102);var _103=null;if(_ff&&_ff.parent&&_ff.attribute){_103={item:_ff.parent,attribute:_ff.attribute,oldValue:undefined};var _104=this.getValues(_ff.parent,_ff.attribute);if(_104&&_104.length>0){var _105=_104.slice(0,_104.length);if(_104.length===1){_103.oldValue=_104[0];}else{_103.oldValue=_104.slice(0,_104.length);}_105.push(_102);this._setValueOrValues(_ff.parent,_ff.attribute,_105,false);_103.newValue=this.getValues(_ff.parent,_ff.attribute);}else{this._setValueOrValues(_ff.parent,_ff.attribute,_102,false);_103.newValue=_102;}}else{_102[this._rootItemPropName]=true;this._arrayOfTopLevelItems.push(_102);}this._pending._newItems[_100]=_102;for(var key in _fe){if(key===this._storeRefPropName||key===this._itemNumPropName){throw new Error("encountered bug in ItemFileWriteStore.newItem");}var _106=_fe[key];if(!_f5.isArray(_106)){_106=[_106];}_102[key]=_106;if(this.referenceIntegrity){for(var i=0;i<_106.length;i++){var val=_106[i];if(this.isItem(val)){this._addReferenceToMap(val,_102,key);}}}}this.onNew(_102,_103);return _102;},_removeArrayElement:function(_107,_108){var _109=_f7.indexOf(_107,_108);if(_109!=-1){_107.splice(_109,1);return true;}return false;},deleteItem:function(item){this._assert(!this._saveInProgress);this._assertIsItem(item);var _10a=item[this._itemNumPropName];var _10b=this.getIdentity(item);if(this.referenceIntegrity){var _10c=this.getAttributes(item);if(item[this._reverseRefMap]){item["backup_"+this._reverseRefMap]=_f5.clone(item[this._reverseRefMap]);}_f7.forEach(_10c,function(_10d){_f7.forEach(this.getValues(item,_10d),function(_10e){if(this.isItem(_10e)){if(!item["backupRefs_"+this._reverseRefMap]){item["backupRefs_"+this._reverseRefMap]=[];}item["backupRefs_"+this._reverseRefMap].push({id:this.getIdentity(_10e),attr:_10d});this._removeReferenceFromMap(_10e,item,_10d);}},this);},this);var _10f=item[this._reverseRefMap];if(_10f){for(var _110 in _10f){var _111=null;if(this._itemsByIdentity){_111=this._itemsByIdentity[_110];}else{_111=this._arrayOfAllItems[_110];}if(_111){for(var _112 in _10f[_110]){var _113=this.getValues(_111,_112)||[];var _114=_f7.filter(_113,function(_115){return !(this.isItem(_115)&&this.getIdentity(_115)==_10b);},this);this._removeReferenceFromMap(item,_111,_112);if(_114.length<_113.length){this._setValueOrValues(_111,_112,_114,true);}}}}}}this._arrayOfAllItems[_10a]=null;item[this._storeRefPropName]=null;if(this._itemsByIdentity){delete this._itemsByIdentity[_10b];}this._pending._deletedItems[_10b]=item;if(item[this._rootItemPropName]){this._removeArrayElement(this._arrayOfTopLevelItems,item);}this.onDelete(item);return true;},setValue:function(item,_116,_117){return this._setValueOrValues(item,_116,_117,true);},setValues:function(item,_118,_119){return this._setValueOrValues(item,_118,_119,true);},unsetAttribute:function(item,_11a){return this._setValueOrValues(item,_11a,[],true);},_setValueOrValues:function(item,_11b,_11c,_11d){this._assert(!this._saveInProgress);this._assertIsItem(item);this._assert(_f5.isString(_11b));this._assert(typeof _11c!=="undefined");var _11e=this._getIdentifierAttribute();if(_11b==_11e){throw new Error("ItemFileWriteStore does not have support for changing the value of an item's identifier.");}var _11f=this._getValueOrValues(item,_11b);var _120=this.getIdentity(item);if(!this._pending._modifiedItems[_120]){var _121={};for(var key in item){if((key===this._storeRefPropName)||(key===this._itemNumPropName)||(key===this._rootItemPropName)){_121[key]=item[key];}else{if(key===this._reverseRefMap){_121[key]=_f5.clone(item[key]);}else{_121[key]=item[key].slice(0,item[key].length);}}}this._pending._modifiedItems[_120]=_121;}var _122=false;if(_f5.isArray(_11c)&&_11c.length===0){_122=delete item[_11b];_11c=undefined;if(this.referenceIntegrity&&_11f){var _123=_11f;if(!_f5.isArray(_123)){_123=[_123];}for(var i=0;i<_123.length;i++){var _124=_123[i];if(this.isItem(_124)){this._removeReferenceFromMap(_124,item,_11b);}}}}else{var _125;if(_f5.isArray(_11c)){_125=_11c.slice(0,_11c.length);}else{_125=[_11c];}if(this.referenceIntegrity){if(_11f){var _123=_11f;if(!_f5.isArray(_123)){_123=[_123];}var map={};_f7.forEach(_123,function(_126){if(this.isItem(_126)){var id=this.getIdentity(_126);map[id.toString()]=true;}},this);_f7.forEach(_125,function(_127){if(this.isItem(_127)){var id=this.getIdentity(_127);if(map[id.toString()]){delete map[id.toString()];}else{this._addReferenceToMap(_127,item,_11b);}}},this);for(var rId in map){var _128;if(this._itemsByIdentity){_128=this._itemsByIdentity[rId];}else{_128=this._arrayOfAllItems[rId];}this._removeReferenceFromMap(_128,item,_11b);}}else{for(var i=0;i<_125.length;i++){var _124=_125[i];if(this.isItem(_124)){this._addReferenceToMap(_124,item,_11b);}}}}item[_11b]=_125;_122=true;}if(_11d){this.onSet(item,_11b,_11f,_11c);}return _122;},_addReferenceToMap:function(_129,_12a,_12b){var _12c=this.getIdentity(_12a);var _12d=_129[this._reverseRefMap];if(!_12d){_12d=_129[this._reverseRefMap]={};}var _12e=_12d[_12c];if(!_12e){_12e=_12d[_12c]={};}_12e[_12b]=true;},_removeReferenceFromMap:function(_12f,_130,_131){var _132=this.getIdentity(_130);var _133=_12f[this._reverseRefMap];var _134;if(_133){for(_134 in _133){if(_134==_132){delete _133[_134][_131];if(this._isEmpty(_133[_134])){delete _133[_134];}}}if(this._isEmpty(_133)){delete _12f[this._reverseRefMap];}}},_dumpReferenceMap:function(){var i;for(i=0;i0){_141=false;}}}return _141;},save:function(_142){this._assert(!this._saveInProgress);this._saveInProgress=true;var self=this;var _143=function(){self._pending={_newItems:{},_modifiedItems:{},_deletedItems:{}};self._saveInProgress=false;if(_142&&_142.onComplete){var _144=_142.scope||_f9.global;_142.onComplete.call(_144);}};var _145=function(err){self._saveInProgress=false;if(_142&&_142.onError){var _146=_142.scope||_f9.global;_142.onError.call(_146,err);}};if(this._saveEverything){var _147=this._getNewFileContentString();this._saveEverything(_143,_145,_147);}if(this._saveCustom){this._saveCustom(_143,_145);}if(!this._saveEverything&&!this._saveCustom){_143();}},revert:function(){this._assert(!this._saveInProgress);var _148;for(_148 in this._pending._modifiedItems){var _149=this._pending._modifiedItems[_148];var _14a=null;if(this._itemsByIdentity){_14a=this._itemsByIdentity[_148];}else{_14a=this._arrayOfAllItems[_148];}_149[this._storeRefPropName]=this;for(var key in _14a){delete _14a[key];}_f5.mixin(_14a,_149);}var _14b;for(_148 in this._pending._deletedItems){_14b=this._pending._deletedItems[_148];_14b[this._storeRefPropName]=this;var _14c=_14b[this._itemNumPropName];if(_14b["backup_"+this._reverseRefMap]){_14b[this._reverseRefMap]=_14b["backup_"+this._reverseRefMap];delete _14b["backup_"+this._reverseRefMap];}this._arrayOfAllItems[_14c]=_14b;if(this._itemsByIdentity){this._itemsByIdentity[_148]=_14b;}if(_14b[this._rootItemPropName]){this._arrayOfTopLevelItems.push(_14b);}}for(_148 in this._pending._deletedItems){_14b=this._pending._deletedItems[_148];if(_14b["backupRefs_"+this._reverseRefMap]){_f7.forEach(_14b["backupRefs_"+this._reverseRefMap],function(_14d){var _14e;if(this._itemsByIdentity){_14e=this._itemsByIdentity[_14d.id];}else{_14e=this._arrayOfAllItems[_14d.id];}this._addReferenceToMap(_14e,_14b,_14d.attr);},this);delete _14b["backupRefs_"+this._reverseRefMap];}}for(_148 in this._pending._newItems){var _14f=this._pending._newItems[_148];_14f[this._storeRefPropName]=null;this._arrayOfAllItems[_14f[this._itemNumPropName]]=null;if(_14f[this._rootItemPropName]){this._removeArrayElement(this._arrayOfTopLevelItems,_14f);}if(this._itemsByIdentity){delete this._itemsByIdentity[_148];}}this._pending={_newItems:{},_modifiedItems:{},_deletedItems:{}};return true;},isDirty:function(item){if(item){var _150=this.getIdentity(item);return new Boolean(this._pending._newItems[_150]||this._pending._modifiedItems[_150]||this._pending._deletedItems[_150]).valueOf();}else{return !this._isEmpty(this._pending._newItems)||!this._isEmpty(this._pending._modifiedItems)||!this._isEmpty(this._pending._deletedItems);}},onSet:function(item,_151,_152,_153){},onNew:function(_154,_155){},onDelete:function(_156){},close:function(_157){if(this.clearOnClose){if(!this.isDirty()){this.inherited(arguments);}else{throw new Error("dojo.data.ItemFileWriteStore: There are unsaved changes present in the store. Please save or revert the changes before invoking close.");}}}});});},"dojo/data/ItemFileReadStore":function(){define(["../_base/kernel","../_base/lang","../_base/declare","../_base/array","../_base/xhr","../Evented","./util/filter","./util/simpleFetch","../date/stamp"],function(_158,lang,_159,_15a,xhr,_15b,_15c,_15d,_15e){var _15f=_159("dojo.data.ItemFileReadStore",[_15b],{constructor:function(_160){this._arrayOfAllItems=[];this._arrayOfTopLevelItems=[];this._loadFinished=false;this._jsonFileUrl=_160.url;this._ccUrl=_160.url;this.url=_160.url;this._jsonData=_160.data;this.data=null;this._datatypeMap=_160.typeMap||{};if(!this._datatypeMap["Date"]){this._datatypeMap["Date"]={type:Date,deserialize:function(_161){return _15e.fromISOString(_161);}};}this._features={"dojo.data.api.Read":true,"dojo.data.api.Identity":true};this._itemsByIdentity=null;this._storeRefPropName="_S";this._itemNumPropName="_0";this._rootItemPropName="_RI";this._reverseRefMap="_RRM";this._loadInProgress=false;this._queuedFetches=[];if(_160.urlPreventCache!==undefined){this.urlPreventCache=_160.urlPreventCache?true:false;}if(_160.hierarchical!==undefined){this.hierarchical=_160.hierarchical?true:false;}if(_160.clearOnClose){this.clearOnClose=true;}if("failOk" in _160){this.failOk=_160.failOk?true:false;}},url:"",_ccUrl:"",data:null,typeMap:null,clearOnClose:false,urlPreventCache:false,failOk:false,hierarchical:true,_assertIsItem:function(item){if(!this.isItem(item)){throw new Error(this.declaredClass+": Invalid item argument.");}},_assertIsAttribute:function(_162){if(typeof _162!=="string"){throw new Error(this.declaredClass+": Invalid attribute argument.");}},getValue:function(item,_163,_164){var _165=this.getValues(item,_163);return (_165.length>0)?_165[0]:_164;},getValues:function(item,_166){this._assertIsItem(item);this._assertIsAttribute(_166);return (item[_166]||[]).slice(0);},getAttributes:function(item){this._assertIsItem(item);var _167=[];for(var key in item){if((key!==this._storeRefPropName)&&(key!==this._itemNumPropName)&&(key!==this._rootItemPropName)&&(key!==this._reverseRefMap)){_167.push(key);}}return _167;},hasAttribute:function(item,_168){this._assertIsItem(item);this._assertIsAttribute(_168);return (_168 in item);},containsValue:function(item,_169,_16a){var _16b=undefined;if(typeof _16a==="string"){_16b=_15c.patternToRegExp(_16a,false);}return this._containsValue(item,_169,_16a,_16b);},_containsValue:function(item,_16c,_16d,_16e){return _15a.some(this.getValues(item,_16c),function(_16f){if(_16f!==null&&!lang.isObject(_16f)&&_16e){if(_16f.toString().match(_16e)){return true;}}else{if(_16d===_16f){return true;}}});},isItem:function(_170){if(_170&&_170[this._storeRefPropName]===this){if(this._arrayOfAllItems[_170[this._itemNumPropName]]===_170){return true;}}return false;},isItemLoaded:function(_171){return this.isItem(_171);},loadItem:function(_172){this._assertIsItem(_172.item);},getFeatures:function(){return this._features;},getLabel:function(item){if(this._labelAttr&&this.isItem(item)){return this.getValue(item,this._labelAttr);}return undefined;},getLabelAttributes:function(item){if(this._labelAttr){return [this._labelAttr];}return null;},filter:function(_173,_174,_175){var _176=[],i,key;if(_173.query){var _177,_178=_173.queryOptions?_173.queryOptions.ignoreCase:false;var _179={};for(key in _173.query){_177=_173.query[key];if(typeof _177==="string"){_179[key]=_15c.patternToRegExp(_177,_178);}else{if(_177 instanceof RegExp){_179[key]=_177;}}}for(i=0;i<_174.length;++i){var _17a=true;var _17b=_174[i];if(_17b===null){_17a=false;}else{for(key in _173.query){_177=_173.query[key];if(!this._containsValue(_17b,key,_177,_179[key])){_17a=false;}}}if(_17a){_176.push(_17b);}}_175(_176,_173);}else{for(i=0;i<_174.length;++i){var item=_174[i];if(item!==null){_176.push(item);}}_175(_176,_173);}},_fetchItems:function(_17c,_17d,_17e){var self=this;if(this._loadFinished){this.filter(_17c,this._getItemsArray(_17c.queryOptions),_17d);}else{if(this._jsonFileUrl!==this._ccUrl){_158.deprecated(this.declaredClass+": ","To change the url, set the url property of the store,"+" not _jsonFileUrl. _jsonFileUrl support will be removed in 2.0");this._ccUrl=this._jsonFileUrl;this.url=this._jsonFileUrl;}else{if(this.url!==this._ccUrl){this._jsonFileUrl=this.url;this._ccUrl=this.url;}}if(this.data!=null){this._jsonData=this.data;this.data=null;}if(this._jsonFileUrl){if(this._loadInProgress){this._queuedFetches.push({args:_17c,filter:lang.hitch(self,"filter"),findCallback:lang.hitch(self,_17d)});}else{this._loadInProgress=true;var _17f={url:self._jsonFileUrl,handleAs:"json-comment-optional",preventCache:this.urlPreventCache,failOk:this.failOk};var _180=xhr.get(_17f);_180.addCallback(function(data){try{self._getItemsFromLoadedData(data);self._loadFinished=true;self._loadInProgress=false;self.filter(_17c,self._getItemsArray(_17c.queryOptions),_17d);self._handleQueuedFetches();}catch(e){self._loadFinished=true;self._loadInProgress=false;_17e(e,_17c);}});_180.addErrback(function(_181){self._loadInProgress=false;_17e(_181,_17c);});var _182=null;if(_17c.abort){_182=_17c.abort;}_17c.abort=function(){var df=_180;if(df&&df.fired===-1){df.cancel();df=null;}if(_182){_182.call(_17c);}};}}else{if(this._jsonData){try{this._loadFinished=true;this._getItemsFromLoadedData(this._jsonData);this._jsonData=null;self.filter(_17c,this._getItemsArray(_17c.queryOptions),_17d);}catch(e){_17e(e,_17c);}}else{_17e(new Error(this.declaredClass+": No JSON source data was provided as either URL or a nested Javascript object."),_17c);}}}},_handleQueuedFetches:function(){if(this._queuedFetches.length>0){for(var i=0;ib||a==null){r=1;}}return r;};_1c1.createSortFunction=function(_1c2,_1c3){var _1c4=[];function _1c5(attr,dir,comp,s){return function(_1c6,_1c7){var a=s.getValue(_1c6,attr);var b=s.getValue(_1c7,attr);return dir*comp(a,b);};};var _1c8;var map=_1c3.comparatorMap;var bc=_1c1.basicComparator;for(var i=0;i<_1c2.length;i++){_1c8=_1c2[i];var attr=_1c8.attribute;if(attr){var dir=(_1c8.descending)?-1:1;var comp=bc;if(map){if(typeof attr!=="string"&&("toString" in attr)){attr=attr.toString();}comp=map[attr]||bc;}_1c4.push(_1c5(attr,dir,comp,_1c3));}}return function(rowA,rowB){var i=0;while(i<_1c4.length){var ret=_1c4[i++](rowA,rowB);if(ret!==0){return ret;}}return 0;};};return _1c1;});},"dojo/selector/acme":function(){define(["../dom","../sniff","../_base/array","../_base/lang","../_base/window"],function(dom,has,_1c9,lang,win){var trim=lang.trim;var each=_1c9.forEach;var _1ca=function(){return win.doc;};var _1cb=(_1ca().compatMode)=="BackCompat";var _1cc=">~+";var _1cd=false;var _1ce=function(){return true;};var _1cf=function(_1d0){if(_1cc.indexOf(_1d0.slice(-1))>=0){_1d0+=" * ";}else{_1d0+=" ";}var ts=function(s,e){return trim(_1d0.slice(s,e));};var _1d1=[];var _1d2=-1,_1d3=-1,_1d4=-1,_1d5=-1,_1d6=-1,inId=-1,_1d7=-1,_1d8,lc="",cc="",_1d9;var x=0,ql=_1d0.length,_1da=null,_1db=null;var _1dc=function(){if(_1d7>=0){var tv=(_1d7==x)?null:ts(_1d7,x);_1da[(_1cc.indexOf(tv)<0)?"tag":"oper"]=tv;_1d7=-1;}};var _1dd=function(){if(inId>=0){_1da.id=ts(inId,x).replace(/\\/g,"");inId=-1;}};var _1de=function(){if(_1d6>=0){_1da.classes.push(ts(_1d6+1,x).replace(/\\/g,""));_1d6=-1;}};var _1df=function(){_1dd();_1dc();_1de();};var _1e0=function(){_1df();if(_1d5>=0){_1da.pseudos.push({name:ts(_1d5+1,x)});}_1da.loops=(_1da.pseudos.length||_1da.attrs.length||_1da.classes.length);_1da.oquery=_1da.query=ts(_1d9,x);_1da.otag=_1da.tag=(_1da["oper"])?null:(_1da.tag||"*");if(_1da.tag){_1da.tag=_1da.tag.toUpperCase();}if(_1d1.length&&(_1d1[_1d1.length-1].oper)){_1da.infixOper=_1d1.pop();_1da.query=_1da.infixOper.query+" "+_1da.query;}_1d1.push(_1da);_1da=null;};for(;lc=cc,cc=_1d0.charAt(x),x=0){if(cc=="]"){if(!_1db.attr){_1db.attr=ts(_1d2+1,x);}else{_1db.matchFor=ts((_1d4||_1d2+1),x);}var cmf=_1db.matchFor;if(cmf){if((cmf.charAt(0)=="\"")||(cmf.charAt(0)=="'")){_1db.matchFor=cmf.slice(1,-1);}}if(_1db.matchFor){_1db.matchFor=_1db.matchFor.replace(/\\/g,"");}_1da.attrs.push(_1db);_1db=null;_1d2=_1d4=-1;}else{if(cc=="="){var _1e1=("|~^$*".indexOf(lc)>=0)?lc:"";_1db.type=_1e1+cc;_1db.attr=ts(_1d2+1,x-_1e1.length);_1d4=x+1;}}}else{if(_1d3>=0){if(cc==")"){if(_1d5>=0){_1db.value=ts(_1d3+1,x);}_1d5=_1d3=-1;}}else{if(cc=="#"){_1df();inId=x+1;}else{if(cc=="."){_1df();_1d6=x;}else{if(cc==":"){_1df();_1d5=x;}else{if(cc=="["){_1df();_1d2=x;_1db={};}else{if(cc=="("){if(_1d5>=0){_1db={name:ts(_1d5+1,x),value:null};_1da.pseudos.push(_1db);}_1d3=x;}else{if((cc==" ")&&(lc!=cc)){_1e0();}}}}}}}}}return _1d1;};var _1e2=function(_1e3,_1e4){if(!_1e3){return _1e4;}if(!_1e4){return _1e3;}return function(){return _1e3.apply(window,arguments)&&_1e4.apply(window,arguments);};};var _1e5=function(i,arr){var r=arr||[];if(i){r.push(i);}return r;};var _1e6=function(n){return (1==n.nodeType);};var _1e7="";var _1e8=function(elem,attr){if(!elem){return _1e7;}if(attr=="class"){return elem.className||_1e7;}if(attr=="for"){return elem.htmlFor||_1e7;}if(attr=="style"){return elem.style.cssText||_1e7;}return (_1cd?elem.getAttribute(attr):elem.getAttribute(attr,2))||_1e7;};var _1e9={"*=":function(attr,_1ea){return function(elem){return (_1e8(elem,attr).indexOf(_1ea)>=0);};},"^=":function(attr,_1eb){return function(elem){return (_1e8(elem,attr).indexOf(_1eb)==0);};},"$=":function(attr,_1ec){return function(elem){var ea=" "+_1e8(elem,attr);var _1ed=ea.lastIndexOf(_1ec);return _1ed>-1&&(_1ed==(ea.length-_1ec.length));};},"~=":function(attr,_1ee){var tval=" "+_1ee+" ";return function(elem){var ea=" "+_1e8(elem,attr)+" ";return (ea.indexOf(tval)>=0);};},"|=":function(attr,_1ef){var _1f0=_1ef+"-";return function(elem){var ea=_1e8(elem,attr);return ((ea==_1ef)||(ea.indexOf(_1f0)==0));};},"=":function(attr,_1f1){return function(elem){return (_1e8(elem,attr)==_1f1);};}};var _1f2=_1ca().documentElement;var _1f3=!(_1f2.nextElementSibling||"nextElementSibling" in _1f2);var _1f4=!_1f3?"nextElementSibling":"nextSibling";var _1f5=!_1f3?"previousElementSibling":"previousSibling";var _1f6=(_1f3?_1e6:_1ce);var _1f7=function(node){while(node=node[_1f5]){if(_1f6(node)){return false;}}return true;};var _1f8=function(node){while(node=node[_1f4]){if(_1f6(node)){return false;}}return true;};var _1f9=function(node){var root=node.parentNode;root=root.nodeType!=7?root:root.nextSibling;var i=0,tret=root.children||root.childNodes,ci=(node["_i"]||node.getAttribute("_i")||-1),cl=(root["_l"]||(typeof root.getAttribute!=="undefined"?root.getAttribute("_l"):-1));if(!tret){return -1;}var l=tret.length;if(cl==l&&ci>=0&&cl>=0){return ci;}if(has("ie")&&typeof root.setAttribute!=="undefined"){root.setAttribute("_l",l);}else{root["_l"]=l;}ci=-1;for(var te=root["firstElementChild"]||root["firstChild"];te;te=te[_1f4]){if(_1f6(te)){if(has("ie")){te.setAttribute("_i",++i);}else{te["_i"]=++i;}if(node===te){ci=i;}}}return ci;};var _1fa=function(elem){return !((_1f9(elem))%2);};var _1fb=function(elem){return ((_1f9(elem))%2);};var _1fc={"checked":function(name,_1fd){return function(elem){return !!("checked" in elem?elem.checked:elem.selected);};},"disabled":function(name,_1fe){return function(elem){return elem.disabled;};},"enabled":function(name,_1ff){return function(elem){return !elem.disabled;};},"first-child":function(){return _1f7;},"last-child":function(){return _1f8;},"only-child":function(name,_200){return function(node){return _1f7(node)&&_1f8(node);};},"empty":function(name,_201){return function(elem){var cn=elem.childNodes;var cnl=elem.childNodes.length;for(var x=cnl-1;x>=0;x--){var nt=cn[x].nodeType;if((nt===1)||(nt==3)){return false;}}return true;};},"contains":function(name,_202){var cz=_202.charAt(0);if(cz=="\""||cz=="'"){_202=_202.slice(1,-1);}return function(elem){return (elem.innerHTML.indexOf(_202)>=0);};},"not":function(name,_203){var p=_1cf(_203)[0];var _204={el:1};if(p.tag!="*"){_204.tag=1;}if(!p.classes.length){_204.classes=1;}var ntf=_205(p,_204);return function(elem){return (!ntf(elem));};},"nth-child":function(name,_206){var pi=parseInt;if(_206=="odd"){return _1fb;}else{if(_206=="even"){return _1fa;}}if(_206.indexOf("n")!=-1){var _207=_206.split("n",2);var pred=_207[0]?((_207[0]=="-")?-1:pi(_207[0])):1;var idx=_207[1]?pi(_207[1]):0;var lb=0,ub=-1;if(pred>0){if(idx<0){idx=(idx%pred)&&(pred+(idx%pred));}else{if(idx>0){if(idx>=pred){lb=idx-idx%pred;}idx=idx%pred;}}}else{if(pred<0){pred*=-1;if(idx>0){ub=idx;idx=idx%pred;}}}if(pred>0){return function(elem){var i=_1f9(elem);return (i>=lb)&&(ub<0||i<=ub)&&((i%pred)==idx);};}else{_206=idx;}}var _208=pi(_206);return function(elem){return (_1f9(elem)==_208);};}};var _209=(has("ie")<9||has("ie")==9&&has("quirks"))?function(cond){var clc=cond.toLowerCase();if(clc=="class"){cond="className";}return function(elem){return (_1cd?elem.getAttribute(cond):elem[cond]||elem[clc]);};}:function(cond){return function(elem){return (elem&&elem.getAttribute&&elem.hasAttribute(cond));};};var _205=function(_20a,_20b){if(!_20a){return _1ce;}_20b=_20b||{};var ff=null;if(!("el" in _20b)){ff=_1e2(ff,_1e6);}if(!("tag" in _20b)){if(_20a.tag!="*"){ff=_1e2(ff,function(elem){return (elem&&((_1cd?elem.tagName:elem.tagName.toUpperCase())==_20a.getTag()));});}}if(!("classes" in _20b)){each(_20a.classes,function(_20c,idx,arr){var re=new RegExp("(?:^|\\s)"+_20c+"(?:\\s|$)");ff=_1e2(ff,function(elem){return re.test(elem.className);});ff.count=idx;});}if(!("pseudos" in _20b)){each(_20a.pseudos,function(_20d){var pn=_20d.name;if(_1fc[pn]){ff=_1e2(ff,_1fc[pn](pn,_20d.value));}});}if(!("attrs" in _20b)){each(_20a.attrs,function(attr){var _20e;var a=attr.attr;if(attr.type&&_1e9[attr.type]){_20e=_1e9[attr.type](a,attr.matchFor);}else{if(a.length){_20e=_209(a);}}if(_20e){ff=_1e2(ff,_20e);}});}if(!("id" in _20b)){if(_20a.id){ff=_1e2(ff,function(elem){return (!!elem&&(elem.id==_20a.id));});}}if(!ff){if(!("default" in _20b)){ff=_1ce;}}return ff;};var _20f=function(_210){return function(node,ret,bag){while(node=node[_1f4]){if(_1f3&&(!_1e6(node))){continue;}if((!bag||_211(node,bag))&&_210(node)){ret.push(node);}break;}return ret;};};var _212=function(_213){return function(root,ret,bag){var te=root[_1f4];while(te){if(_1f6(te)){if(bag&&!_211(te,bag)){break;}if(_213(te)){ret.push(te);}}te=te[_1f4];}return ret;};};var _214=function(_215,_216){var _217=function(_218){var _219=[];try{_219=Array.prototype.slice.call(_218);}catch(e){for(var i=0,len=_218.length;i"==oper){_21e=_214(_21f);}}}}return _21b[_21d.query]=_21e;};var _226=function(root,_227){var _228=_1e5(root),qp,x,te,qpl=_227.length,bag,ret;for(var i=0;i0){bag={};ret.nozip=true;}var gef=_21c(qp);for(var j=0;(te=_228[j]);j++){gef(te,ret,bag);}if(!ret.length){break;}_228=ret;}return ret;};var _229={},_22a={};var _22b=function(_22c){var _22d=_1cf(trim(_22c));if(_22d.length==1){var tef=_21c(_22d[0]);return function(root){var r=tef(root,[]);if(r){r.nozip=true;}return r;};}return function(root){return _226(root,_22d);};};var _22e=has("ie")?"commentStrip":"nozip";var qsa="querySelectorAll";var _22f=!!_1ca()[qsa];var _230=/\\[>~+]|n\+\d|([^ \\])?([>~+])([^ =])?/g;var _231=function(_232,pre,ch,post){return ch?(pre?pre+" ":"")+ch+(post?" "+post:""):_232;};var _233=/([^[]*)([^\]]*])?/g;var _234=function(_235,_236,att){return _236.replace(_230,_231)+(att||"");};var _237=function(_238,_239){_238=_238.replace(_233,_234);if(_22f){var _23a=_22a[_238];if(_23a&&!_239){return _23a;}}var _23b=_229[_238];if(_23b){return _23b;}var qcz=_238.charAt(0);var _23c=(-1==_238.indexOf(" "));if((_238.indexOf("#")>=0)&&(_23c)){_239=true;}var _23d=(_22f&&(!_239)&&(_1cc.indexOf(qcz)==-1)&&(!has("ie")||(_238.indexOf(":")==-1))&&(!(_1cb&&(_238.indexOf(".")>=0)))&&(_238.indexOf(":contains")==-1)&&(_238.indexOf(":checked")==-1)&&(_238.indexOf("|=")==-1));if(_23d){var tq=(_1cc.indexOf(_238.charAt(_238.length-1))>=0)?(_238+" *"):_238;return _22a[_238]=function(root){if(9==root.nodeType||_23c){try{var r=root[qsa](tq);r[_22e]=true;return r;}catch(e){}}return _237(_238,true)(root);};}else{var _23e=_238.match(/([^\s,](?:"(?:\\.|[^"])+"|'(?:\\.|[^'])+'|[^,])*)/g);return _229[_238]=((_23e.length<2)?_22b(_238):function(root){var _23f=0,ret=[],tp;while((tp=_23e[_23f++])){ret=ret.concat(_22b(tp)(root));}return ret;});}};var _240=0;var _241=has("ie")?function(node){if(_1cd){return (node.getAttribute("_uid")||node.setAttribute("_uid",++_240)||_240);}else{return node.uniqueID;}}:function(node){return (node._uid||(node._uid=++_240));};var _211=function(node,bag){if(!bag){return 1;}var id=_241(node);if(!bag[id]){return bag[id]=1;}return 0;};var _242="_zipIdx";var _243=function(arr){if(arr&&arr.nozip){return arr;}if(!arr||!arr.length){return [];}if(arr.length<2){return [arr[0]];}var ret=[];_240++;var x,te;if(has("ie")&&_1cd){var _244=_240+"";for(x=0;x-1){return _252(_251,root);}var doc=root?root.ownerDocument||root:dojo.doc||document,_253=(_24e?/^([\w]*)#([\w\-]+$)|^(\.)([\w\-\*]+$)|^(\w+$)/:/^([\w]*)#([\w\-]+)(?:\s+(.*))?$|(?:^|(>|.+\s+))([\w\-\*]+)(\S*$)/).exec(_251);root=root||doc;if(_253){var _254=has("ie")===8&&has("quirks")?root.nodeType===doc.nodeType:root.parentNode!==null&&root.nodeType!==9&&root.parentNode===doc;if(_253[2]&&_254){var _255=dojo.byId?dojo.byId(_253[2],doc):doc.getElementById(_253[2]);if(!_255||(_253[1]&&_253[1]!=_255.tagName.toLowerCase())){return [];}if(root!=doc){var _256=_255;while(_256!=root){_256=_256.parentNode;if(!_256){return [];}}}return _253[3]?_250(_253[3],_255):[_255];}if(_253[3]&&root.getElementsByClassName){return root.getElementsByClassName(_253[4]);}var _255;if(_253[5]){_255=root.getElementsByTagName(_253[5]);if(_253[4]||_253[6]){_251=(_253[4]||"")+_253[6];}else{return _255;}}}if(_24e){if(root.nodeType===1&&root.nodeName.toLowerCase()!=="object"){return _257(root,_251,root.querySelectorAll);}else{return root.querySelectorAll(_251);}}else{if(!_255){_255=root.getElementsByTagName("*");}}var _258=[];for(var i=0,l=_255.length;i-1&&(" "+node.className+" ").indexOf(_265)>-1;};},"#":function(id){return function(node){return node.id==id;};}};var _266={"^=":function(_267,_268){return _267.indexOf(_268)==0;},"*=":function(_269,_26a){return _269.indexOf(_26a)>-1;},"$=":function(_26b,_26c){return _26b.substring(_26b.length-_26c.length,_26b.length)==_26c;},"~=":function(_26d,_26e){return (" "+_26d+" ").indexOf(" "+_26e+" ")>-1;},"|=":function(_26f,_270){return (_26f+"-").indexOf(_270+"-")==0;},"=":function(_271,_272){return _271==_272;},"":function(_273,_274){return true;}};function attr(name,_275,type){var _276=_275.charAt(0);if(_276=="\""||_276=="'"){_275=_275.slice(1,-1);}_275=_275.replace(/\\/g,"");var _277=_266[type||""];return function(node){var _278=node.getAttribute(name);return _278&&_277(_278,_275);};};function _279(_27a){return function(node,root){while((node=node.parentNode)!=root){if(_27a(node,root)){return true;}}};};function _27b(_27c){return function(node,root){node=node.parentNode;return _27c?node!=root&&_27c(node,root):node==root;};};var _27d={};function and(_27e,next){return _27e?function(node,root){return next(node)&&_27e(node,root);}:next;};return function(node,_27f,root){var _280=_27d[_27f];if(!_280){if(_27f.replace(/(?:\s*([> ])\s*)|(#|\.)?((?:\\.|[\w-])+)|\[\s*([\w-]+)\s*(.?=)?\s*("(?:\\.|[^"])+"|'(?:\\.|[^'])+'|(?:\\.|[^\]])*)\s*\]/g,function(t,_281,type,_282,_283,_284,_285){if(_282){_280=and(_280,_262[type||""](_282.replace(/\\/g,"")));}else{if(_281){_280=(_281==" "?_279:_27b)(_280);}else{if(_283){_280=and(_280,attr(_283,_285,_284));}}}return "";})){throw new Error("Syntax error in query");}if(!_280){return true;}_27d[_27f]=_280;}return _280(node,root);};})();}if(!has("dom-qsa")){var _252=function(_286,root){var _287=_286.match(_24f);var _288=[];for(var i=0;i<_287.length;i++){_286=new String(_287[i].replace(/\s*$/,""));_286.indexOf=escape;var _289=_250(_286,root);for(var j=0,l=_289.length;j-1){_29f.splice(_2a1,1);}};return _2a0;}});});},"dojo/string":function(){define(["./_base/kernel","./_base/lang"],function(_2a2,lang){var _2a3=/[&<>'"\/]/g;var _2a4={"&":"&","<":"<",">":">","\"":""","'":"'","/":"/"};var _2a5={};lang.setObject("dojo.string",_2a5);_2a5.escape=function(str){if(!str){return "";}return str.replace(_2a3,function(c){return _2a4[c];});};_2a5.rep=function(str,num){if(num<=0||!str){return "";}var buf=[];for(;;){if(num&1){buf.push(str);}if(!(num>>=1)){break;}str+=str;}return buf.join("");};_2a5.pad=function(text,size,ch,end){if(!ch){ch="0";}var out=String(text),pad=_2a5.rep(ch,Math.ceil((size-out.length)/ch.length));return end?out+pad:pad+out;};_2a5.substitute=function(_2a6,map,_2a7,_2a8){_2a8=_2a8||_2a2.global;_2a7=_2a7?lang.hitch(_2a8,_2a7):function(v){return v;};return _2a6.replace(/\$\{([^\s\:\}]*)(?:\:([^\s\:\}]+))?\}/g,function(_2a9,key,_2aa){if(key==""){return "$";}var _2ab=lang.getObject(key,false,map);if(_2aa){_2ab=lang.getObject(_2aa,false,_2a8).call(_2a8,_2ab,key);}var _2ac=_2a7(_2ab,key);if(typeof _2ac==="undefined"){throw new Error("string.substitute could not find key \""+key+"\" in template");}return _2ac.toString();});};_2a5.trim=String.prototype.trim?lang.trim:function(str){str=str.replace(/^\s+/,"");for(var i=str.length-1;i>=0;i--){if(/\S/.test(str.charAt(i))){str=str.substring(0,i+1);break;}}return str;};return _2a5;});},"dojo/touch":function(){define(["./_base/kernel","./aspect","./dom","./dom-class","./_base/lang","./on","./has","./mouse","./domReady","./_base/window"],function(dojo,_2ad,dom,_2ae,lang,on,has,_2af,_2b0,win){var ios4=has("ios")<5;var _2b1=has("pointer-events")||has("MSPointer"),_2b2=(function(){var _2b3={};for(var type in {down:1,move:1,up:1,cancel:1,over:1,out:1}){_2b3[type]=has("MSPointer")?"MSPointer"+type.charAt(0).toUpperCase()+type.slice(1):"pointer"+type;}return _2b3;})();var _2b4=has("touch-events");var _2b5,_2b6,_2b7=false,_2b8,_2b9,_2ba,_2bb,_2bc,_2bd;var _2be;function _2bf(_2c0,_2c1,_2c2){if(_2b1&&_2c2){return function(node,_2c3){return on(node,_2c2,_2c3);};}else{if(_2b4){return function(node,_2c4){var _2c5=on(node,_2c1,function(evt){_2c4.call(this,evt);_2be=(new Date()).getTime();}),_2c6=on(node,_2c0,function(evt){if(!_2be||(new Date()).getTime()>_2be+1000){_2c4.call(this,evt);}});return {remove:function(){_2c5.remove();_2c6.remove();}};};}else{return function(node,_2c7){return on(node,_2c0,_2c7);};}}};function _2c8(node){do{if(node.dojoClick!==undefined){return node;}}while(node=node.parentNode);};function _2c9(e,_2ca,_2cb){if(_2af.isRight(e)){return;}var _2cc=_2c8(e.target);_2b6=!e.target.disabled&&_2cc&&_2cc.dojoClick;if(_2b6){_2b7=(_2b6=="useTarget");_2b8=(_2b7?_2cc:e.target);if(_2b7){e.preventDefault();}_2b9=e.changedTouches?e.changedTouches[0].pageX-win.global.pageXOffset:e.clientX;_2ba=e.changedTouches?e.changedTouches[0].pageY-win.global.pageYOffset:e.clientY;_2bb=(typeof _2b6=="object"?_2b6.x:(typeof _2b6=="number"?_2b6:0))||4;_2bc=(typeof _2b6=="object"?_2b6.y:(typeof _2b6=="number"?_2b6:0))||4;if(!_2b5){_2b5=true;function _2cd(e){if(_2b7){_2b6=dom.isDescendant(win.doc.elementFromPoint((e.changedTouches?e.changedTouches[0].pageX-win.global.pageXOffset:e.clientX),(e.changedTouches?e.changedTouches[0].pageY-win.global.pageYOffset:e.clientY)),_2b8);}else{_2b6=_2b6&&(e.changedTouches?e.changedTouches[0].target:e.target)==_2b8&&Math.abs((e.changedTouches?e.changedTouches[0].pageX-win.global.pageXOffset:e.clientX)-_2b9)<=_2bb&&Math.abs((e.changedTouches?e.changedTouches[0].pageY-win.global.pageYOffset:e.clientY)-_2ba)<=_2bc;}};win.doc.addEventListener(_2ca,function(e){if(_2af.isRight(e)){return;}_2cd(e);if(_2b7){e.preventDefault();}},true);win.doc.addEventListener(_2cb,function(e){if(_2af.isRight(e)){return;}_2cd(e);if(_2b6){_2bd=(new Date()).getTime();var _2ce=(_2b7?_2b8:e.target);if(_2ce.tagName==="LABEL"){_2ce=dom.byId(_2ce.getAttribute("for"))||_2ce;}var src=(e.changedTouches)?e.changedTouches[0]:e;function _2cf(type){var evt=document.createEvent("MouseEvents");evt._dojo_click=true;evt.initMouseEvent(type,true,true,e.view,e.detail,src.screenX,src.screenY,src.clientX,src.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,0,null);return evt;};var _2d0=_2cf("mousedown");var _2d1=_2cf("mouseup");var _2d2=_2cf("click");setTimeout(function(){on.emit(_2ce,"mousedown",_2d0);on.emit(_2ce,"mouseup",_2d1);on.emit(_2ce,"click",_2d2);_2bd=(new Date()).getTime();},0);}},true);function _2d3(type){win.doc.addEventListener(type,function(e){var _2d4=e.target;if(_2b6&&!e._dojo_click&&(new Date()).getTime()<=_2bd+1000&&!(_2d4.tagName=="INPUT"&&_2ae.contains(_2d4,"dijitOffScreen"))){e.stopPropagation();e.stopImmediatePropagation&&e.stopImmediatePropagation();if(type=="click"&&(_2d4.tagName!="INPUT"||(_2d4.type=="radio"&&(_2ae.contains(_2d4,"dijitCheckBoxInput")||_2ae.contains(_2d4,"mblRadioButton")))||(_2d4.type=="checkbox"&&(_2ae.contains(_2d4,"dijitCheckBoxInput")||_2ae.contains(_2d4,"mblCheckBox"))))&&_2d4.tagName!="TEXTAREA"&&_2d4.tagName!="AUDIO"&&_2d4.tagName!="VIDEO"){e.preventDefault();}}},true);};_2d3("click");_2d3("mousedown");_2d3("mouseup");}}};var _2d5;if(has("touch")){if(_2b1){_2b0(function(){win.doc.addEventListener(_2b2.down,function(evt){_2c9(evt,_2b2.move,_2b2.up);},true);});}else{_2b0(function(){_2d5=win.body();win.doc.addEventListener("touchstart",function(evt){_2be=(new Date()).getTime();var _2d6=_2d5;_2d5=evt.target;on.emit(_2d6,"dojotouchout",{relatedTarget:_2d5,bubbles:true});on.emit(_2d5,"dojotouchover",{relatedTarget:_2d6,bubbles:true});_2c9(evt,"touchmove","touchend");},true);function _2d7(evt){var _2d8=lang.delegate(evt,{bubbles:true});if(has("ios")>=6){_2d8.touches=evt.touches;_2d8.altKey=evt.altKey;_2d8.changedTouches=evt.changedTouches;_2d8.ctrlKey=evt.ctrlKey;_2d8.metaKey=evt.metaKey;_2d8.shiftKey=evt.shiftKey;_2d8.targetTouches=evt.targetTouches;}return _2d8;};on(win.doc,"touchmove",function(evt){_2be=(new Date()).getTime();var _2d9=win.doc.elementFromPoint(evt.pageX-(ios4?0:win.global.pageXOffset),evt.pageY-(ios4?0:win.global.pageYOffset));if(_2d9){if(_2d5!==_2d9){on.emit(_2d5,"dojotouchout",{relatedTarget:_2d9,bubbles:true});on.emit(_2d9,"dojotouchover",{relatedTarget:_2d5,bubbles:true});_2d5=_2d9;}if(!on.emit(_2d9,"dojotouchmove",_2d7(evt))){evt.preventDefault();}}});on(win.doc,"touchend",function(evt){_2be=(new Date()).getTime();var node=win.doc.elementFromPoint(evt.pageX-(ios4?0:win.global.pageXOffset),evt.pageY-(ios4?0:win.global.pageYOffset))||win.body();on.emit(node,"dojotouchend",_2d7(evt));});});}}var _2da={press:_2bf("mousedown","touchstart",_2b2.down),move:_2bf("mousemove","dojotouchmove",_2b2.move),release:_2bf("mouseup","dojotouchend",_2b2.up),cancel:_2bf(_2af.leave,"touchcancel",_2b1?_2b2.cancel:null),over:_2bf("mouseover","dojotouchover",_2b2.over),out:_2bf("mouseout","dojotouchout",_2b2.out),enter:_2af._eventHandler(_2bf("mouseover","dojotouchover",_2b2.over)),leave:_2af._eventHandler(_2bf("mouseout","dojotouchout",_2b2.out))};1&&(dojo.touch=_2da);return _2da;});},"dojo/uacss":function(){define(["./dom-geometry","./_base/lang","./domReady","./sniff","./_base/window"],function(_2db,lang,_2dc,has,_2dd){var html=_2dd.doc.documentElement,ie=has("ie"),_2de=has("trident"),_2df=has("opera"),maj=Math.floor,ff=has("ff"),_2e0=_2db.boxModel.replace(/-/,""),_2e1={"dj_quirks":has("quirks"),"dj_opera":_2df,"dj_khtml":has("khtml"),"dj_webkit":has("webkit"),"dj_safari":has("safari"),"dj_chrome":has("chrome"),"dj_edge":has("edge"),"dj_gecko":has("mozilla"),"dj_ios":has("ios"),"dj_android":has("android")};if(ie){_2e1["dj_ie"]=true;_2e1["dj_ie"+maj(ie)]=true;_2e1["dj_iequirks"]=has("quirks");}if(_2de){_2e1["dj_trident"]=true;_2e1["dj_trident"+maj(_2de)]=true;}if(ff){_2e1["dj_ff"+maj(ff)]=true;}_2e1["dj_"+_2e0]=true;var _2e2="";for(var clz in _2e1){if(_2e1[clz]){_2e2+=clz+" ";}}html.className=lang.trim(html.className+" "+_2e2);_2dc(function(){if(!_2db.isBodyLtr()){var _2e3="dj_rtl dijitRtl "+_2e2.replace(/ /g,"-rtl ");html.className=lang.trim(html.className+" "+_2e3+"dj_rtl dijitRtl "+_2e2.replace(/ /g,"-rtl "));}});return has;});},"dojo/window":function(){define(["./_base/lang","./sniff","./_base/window","./dom","./dom-geometry","./dom-style","./dom-construct"],function(lang,has,_2e4,dom,geom,_2e5,_2e6){has.add("rtl-adjust-position-for-verticalScrollBar",function(win,doc){var body=_2e4.body(doc),_2e7=_2e6.create("div",{style:{overflow:"scroll",overflowX:"visible",direction:"rtl",visibility:"hidden",position:"absolute",left:"0",top:"0",width:"64px",height:"64px"}},body,"last"),div=_2e6.create("div",{style:{overflow:"hidden",direction:"ltr"}},_2e7,"last"),ret=geom.position(div).x!=0;_2e7.removeChild(div);body.removeChild(_2e7);return ret;});has.add("position-fixed-support",function(win,doc){var body=_2e4.body(doc),_2e8=_2e6.create("span",{style:{visibility:"hidden",position:"fixed",left:"1px",top:"1px"}},body,"last"),_2e9=_2e6.create("span",{style:{position:"fixed",left:"0",top:"0"}},_2e8,"last"),ret=geom.position(_2e9).x!=geom.position(_2e8).x;_2e8.removeChild(_2e9);body.removeChild(_2e8);return ret;});var _2ea={getBox:function(doc){doc=doc||_2e4.doc;var _2eb=(doc.compatMode=="BackCompat")?_2e4.body(doc):doc.documentElement,_2ec=geom.docScroll(doc),w,h;if(has("touch")){var _2ed=_2ea.get(doc);w=_2ed.innerWidth||_2eb.clientWidth;h=_2ed.innerHeight||_2eb.clientHeight;}else{w=_2eb.clientWidth;h=_2eb.clientHeight;}return {l:_2ec.x,t:_2ec.y,w:w,h:h};},get:function(doc){if(has("ie")&&_2ea!==document.parentWindow){doc.parentWindow.execScript("document._parentWindow = window;","Javascript");var win=doc._parentWindow;doc._parentWindow=null;return win;}return doc.parentWindow||doc.defaultView;},scrollIntoView:function(node,pos){try{node=dom.byId(node);var doc=node.ownerDocument||_2e4.doc,body=_2e4.body(doc),html=doc.documentElement||body.parentNode,isIE=has("ie")||has("trident"),isWK=has("webkit");if(node==body||node==html){return;}if(!(has("mozilla")||isIE||isWK||has("opera")||has("trident")||has("edge"))&&("scrollIntoView" in node)){node.scrollIntoView(false);return;}var _2ee=doc.compatMode=="BackCompat",_2ef=Math.min(body.clientWidth||html.clientWidth,html.clientWidth||body.clientWidth),_2f0=Math.min(body.clientHeight||html.clientHeight,html.clientHeight||body.clientHeight),_2f1=(isWK||_2ee)?body:html,_2f2=pos||geom.position(node),el=node.parentNode,_2f3=function(el){return (isIE<=6||(isIE==7&&_2ee))?false:(has("position-fixed-support")&&(_2e5.get(el,"position").toLowerCase()=="fixed"));},self=this,_2f4=function(el,x,y){if(el.tagName=="BODY"||el.tagName=="HTML"){self.get(el.ownerDocument).scrollBy(x,y);}else{x&&(el.scrollLeft+=x);y&&(el.scrollTop+=y);}};if(_2f3(node)){return;}while(el){if(el==body){el=_2f1;}var _2f5=geom.position(el),_2f6=_2f3(el),rtl=_2e5.getComputedStyle(el).direction.toLowerCase()=="rtl";if(el==_2f1){_2f5.w=_2ef;_2f5.h=_2f0;if(_2f1==html&&(isIE||has("trident"))&&rtl){_2f5.x+=_2f1.offsetWidth-_2f5.w;}_2f5.x=0;_2f5.y=0;}else{var pb=geom.getPadBorderExtents(el);_2f5.w-=pb.w;_2f5.h-=pb.h;_2f5.x+=pb.l;_2f5.y+=pb.t;var _2f7=el.clientWidth,_2f8=_2f5.w-_2f7;if(_2f7>0&&_2f8>0){if(rtl&&has("rtl-adjust-position-for-verticalScrollBar")){_2f5.x+=_2f8;}_2f5.w=_2f7;}_2f7=el.clientHeight;_2f8=_2f5.h-_2f7;if(_2f7>0&&_2f8>0){_2f5.h=_2f7;}}if(_2f6){if(_2f5.y<0){_2f5.h+=_2f5.y;_2f5.y=0;}if(_2f5.x<0){_2f5.w+=_2f5.x;_2f5.x=0;}if(_2f5.y+_2f5.h>_2f0){_2f5.h=_2f0-_2f5.y;}if(_2f5.x+_2f5.w>_2ef){_2f5.w=_2ef-_2f5.x;}}var l=_2f2.x-_2f5.x,t=_2f2.y-_2f5.y,r=l+_2f2.w-_2f5.w,bot=t+_2f2.h-_2f5.h;var s,old;if(r*l>0&&(!!el.scrollLeft||el==_2f1||el.scrollWidth>el.offsetHeight)){s=Math[l<0?"max":"min"](l,r);if(rtl&&((isIE==8&&!_2ee)||has("trident")>=5)){s=-s;}old=el.scrollLeft;_2f4(el,s,0);s=el.scrollLeft-old;_2f2.x-=s;}if(bot*t>0&&(!!el.scrollTop||el==_2f1||el.scrollHeight>el.offsetHeight)){s=Math.ceil(Math[t<0?"max":"min"](t,bot));old=el.scrollTop;_2f4(el,0,s);s=el.scrollTop-old;_2f2.y-=s;}el=(el!=_2f1)&&!_2f6&&el.parentNode;}}catch(error){console.error("scrollIntoView: "+error);node.scrollIntoView(false);}}};1&&lang.setObject("dojo.window",_2ea);return _2ea;});},"dojo/NodeList-fx":function(){define(["./query","./_base/lang","./aspect","./_base/fx","./fx"],function(_2f9,lang,_2fa,_2fb,_2fc){var _2fd=_2f9.NodeList;lang.extend(_2fd,{_anim:function(obj,_2fe,args){args=args||{};var a=_2fc.combine(this.map(function(item){var _2ff={node:item};lang.mixin(_2ff,args);return obj[_2fe](_2ff);}));return args.auto?a.play()&&this:a;},wipeIn:function(args){return this._anim(_2fc,"wipeIn",args);},wipeOut:function(args){return this._anim(_2fc,"wipeOut",args);},slideTo:function(args){return this._anim(_2fc,"slideTo",args);},fadeIn:function(args){return this._anim(_2fb,"fadeIn",args);},fadeOut:function(args){return this._anim(_2fb,"fadeOut",args);},animateProperty:function(args){return this._anim(_2fb,"animateProperty",args);},anim:function(_300,_301,_302,_303,_304){var _305=_2fc.combine(this.map(function(item){return _2fb.animateProperty({node:item,properties:_300,duration:_301||350,easing:_302});}));if(_303){_2fa.after(_305,"onEnd",_303,true);}return _305.play(_304||0);}});return _2fd;});},"dojo/fx":function(){define(["./_base/lang","./Evented","./_base/kernel","./_base/array","./aspect","./_base/fx","./dom","./dom-style","./dom-geometry","./ready","require"],function(lang,_306,dojo,_307,_308,_309,dom,_30a,geom,_30b,_30c){if(!dojo.isAsync){_30b(0,function(){var _30d=["./fx/Toggler"];_30c(_30d);});}var _30e=dojo.fx={};var _30f={_fire:function(evt,args){if(this[evt]){this[evt].apply(this,args||[]);}return this;}};var _310=function(_311){this._index=-1;this._animations=_311||[];this._current=this._onAnimateCtx=this._onEndCtx=null;this.duration=0;_307.forEach(this._animations,function(a){if(a){if(typeof a.duration!="undefined"){this.duration+=a.duration;}if(a.delay){this.duration+=a.delay;}}},this);};_310.prototype=new _306();lang.extend(_310,{_onAnimate:function(){this._fire("onAnimate",arguments);},_onEnd:function(){this._onAnimateCtx.remove();this._onEndCtx.remove();this._onAnimateCtx=this._onEndCtx=null;if(this._index+1==this._animations.length){this._fire("onEnd");}else{this._current=this._animations[++this._index];this._onAnimateCtx=_308.after(this._current,"onAnimate",lang.hitch(this,"_onAnimate"),true);this._onEndCtx=_308.after(this._current,"onEnd",lang.hitch(this,"_onEnd"),true);this._current.play(0,true);}},play:function(_312,_313){if(!this._current){this._current=this._animations[this._index=0];}if(!_313&&this._current.status()=="playing"){return this;}var _314=_308.after(this._current,"beforeBegin",lang.hitch(this,function(){this._fire("beforeBegin");}),true),_315=_308.after(this._current,"onBegin",lang.hitch(this,function(arg){this._fire("onBegin",arguments);}),true),_316=_308.after(this._current,"onPlay",lang.hitch(this,function(arg){this._fire("onPlay",arguments);_314.remove();_315.remove();_316.remove();}));if(this._onAnimateCtx){this._onAnimateCtx.remove();}this._onAnimateCtx=_308.after(this._current,"onAnimate",lang.hitch(this,"_onAnimate"),true);if(this._onEndCtx){this._onEndCtx.remove();}this._onEndCtx=_308.after(this._current,"onEnd",lang.hitch(this,"_onEnd"),true);this._current.play.apply(this._current,arguments);return this;},pause:function(){if(this._current){var e=_308.after(this._current,"onPause",lang.hitch(this,function(arg){this._fire("onPause",arguments);e.remove();}),true);this._current.pause();}return this;},gotoPercent:function(_317,_318){this.pause();var _319=this.duration*_317;this._current=null;_307.some(this._animations,function(a,_31a){if(_319<=a.duration){this._current=a;this._index=_31a;return true;}_319-=a.duration;return false;},this);if(this._current){this._current.gotoPercent(_319/this._current.duration);}if(_318){this.play();}return this;},stop:function(_31b){if(this._current){if(_31b){for(;this._index+1this._animations.length){this._fire("onEnd");}},_call:function(_321,args){var t=this._pseudoAnimation;t[_321].apply(t,args);},play:function(_322,_323){this._finished=0;this._doAction("play",arguments);this._call("play",arguments);return this;},pause:function(){this._doAction("pause",arguments);this._call("pause",arguments);return this;},gotoPercent:function(_324,_325){var ms=this.duration*_324;_307.forEach(this._animations,function(a){a.gotoPercent(a.duration0?_336.delay:0;this.skip=_336.skip;this.mover=_336.mover?_336.mover:_330;this.events=[on(this.handle,_32f.press,lang.hitch(this,"onMouseDown")),on(this.handle,"dragstart",lang.hitch(this,"onSelectStart")),on(this.handle,"selectstart",lang.hitch(this,"onSelectStart"))];},markupFactory:function(_337,node,Ctor){return new Ctor(node,_337);},destroy:function(){_32a.forEach(this.events,function(_338){_338.remove();});_332(this.node,"");this.events=this.node=this.handle=null;},onMouseDown:function(e){if(this.skip&&dnd.isFormElement(e)){return;}if(this.delay){this.events.push(on(this.handle,_32f.move,lang.hitch(this,"onMouseMove")),on(this.handle.ownerDocument,_32f.release,lang.hitch(this,"onMouseUp")));this._lastX=e.pageX;this._lastY=e.pageY;}else{this.onDragDetected(e);}e.stopPropagation();e.preventDefault();},onMouseMove:function(e){if(Math.abs(e.pageX-this._lastX)>this.delay||Math.abs(e.pageY-this._lastY)>this.delay){this.onMouseUp(e);this.onDragDetected(e);}e.stopPropagation();e.preventDefault();},onMouseUp:function(e){for(var i=0;i<2;++i){this.events.pop().remove();}e.stopPropagation();e.preventDefault();},onSelectStart:function(e){if(!this.skip||!dnd.isFormElement(e)){e.stopPropagation();e.preventDefault();}},onDragDetected:function(e){new this.mover(this.node,e,this);},onMoveStart:function(_339){_32e.publish("/dnd/move/start",_339);_32c.add(win.body(),"dojoMove");_32c.add(this.node,"dojoMoveItem");},onMoveStop:function(_33a){_32e.publish("/dnd/move/stop",_33a);_32c.remove(win.body(),"dojoMove");_32c.remove(this.node,"dojoMoveItem");},onFirstMove:function(){},onMove:function(_33b,_33c){this.onMoving(_33b,_33c);var s=_33b.node.style;s.left=_33c.l+"px";s.top=_33c.t+"px";this.onMoved(_33b,_33c);},onMoving:function(){},onMoved:function(){}});return _335;});},"dojo/dnd/common":function(){define(["../sniff","../_base/kernel","../_base/lang","../dom"],function(has,_33d,lang,dom){var _33e=lang.getObject("dojo.dnd",true);_33e.getCopyKeyState=function(evt){return evt[has("mac")?"metaKey":"ctrlKey"];};_33e._uniqueId=0;_33e.getUniqueId=function(){var id;do{id=_33d._scopeName+"Unique"+(++_33e._uniqueId);}while(dom.byId(id));return id;};_33e._empty={};_33e.isFormElement=function(e){var t=e.target;if(t.nodeType==3){t=t.parentNode;}return " a button textarea input select option ".indexOf(" "+t.tagName.toLowerCase()+" ")>=0;};return _33e;});},"dojo/dnd/Mover":function(){define(["../_base/array","../_base/declare","../_base/lang","../sniff","../_base/window","../dom","../dom-geometry","../dom-style","../Evented","../on","../touch","./common","./autoscroll"],function(_33f,_340,lang,has,win,dom,_341,_342,_343,on,_344,dnd,_345){return _340("dojo.dnd.Mover",[_343],{constructor:function(node,e,host){this.node=dom.byId(node);this.marginBox={l:e.pageX,t:e.pageY};this.mouseButton=e.button;var h=(this.host=host),d=node.ownerDocument;function _346(e){e.preventDefault();e.stopPropagation();};this.events=[on(d,_344.move,lang.hitch(this,"onFirstMove")),on(d,_344.move,lang.hitch(this,"onMouseMove")),on(d,_344.release,lang.hitch(this,"onMouseUp")),on(d,"dragstart",_346),on(d.body,"selectstart",_346)];_345.autoScrollStart(d);if(h&&h.onMoveStart){h.onMoveStart(this);}},onMouseMove:function(e){_345.autoScroll(e);var m=this.marginBox;this.host.onMove(this,{l:m.l+e.pageX,t:m.t+e.pageY},e);e.preventDefault();e.stopPropagation();},onMouseUp:function(e){if(has("webkit")&&has("mac")&&this.mouseButton==2?e.button==0:this.mouseButton==e.button){this.destroy();}e.preventDefault();e.stopPropagation();},onFirstMove:function(e){var s=this.node.style,l,t,h=this.host;switch(s.position){case "relative":case "absolute":l=Math.round(parseFloat(s.left))||0;t=Math.round(parseFloat(s.top))||0;break;default:s.position="absolute";var m=_341.getMarginBox(this.node);var b=win.doc.body;var bs=_342.getComputedStyle(b);var bm=_341.getMarginBox(b,bs);var bc=_341.getContentBox(b,bs);l=m.l-(bc.l-bm.l);t=m.t-(bc.t-bm.t);break;}this.marginBox.l=l-this.marginBox.l;this.marginBox.t=t-this.marginBox.t;if(h&&h.onFirstMove){h.onFirstMove(this,e);}this.events.shift().remove();},destroy:function(){_33f.forEach(this.events,function(_347){_347.remove();});var h=this.host;if(h&&h.onMoveStop){h.onMoveStop(this);}this.events=this.node=this.host=null;}});});},"dojo/dnd/autoscroll":function(){define(["../_base/lang","../sniff","../_base/window","../dom-geometry","../dom-style","../window"],function(lang,has,win,_348,_349,_34a){var _34b={};lang.setObject("dojo.dnd.autoscroll",_34b);_34b.getViewport=_34a.getBox;_34b.V_TRIGGER_AUTOSCROLL=32;_34b.H_TRIGGER_AUTOSCROLL=32;_34b.V_AUTOSCROLL_VALUE=16;_34b.H_AUTOSCROLL_VALUE=16;var _34c,doc=win.doc,_34d=Infinity,_34e=Infinity;_34b.autoScrollStart=function(d){doc=d;_34c=_34a.getBox(doc);var html=win.body(doc).parentNode;_34d=Math.max(html.scrollHeight-_34c.h,0);_34e=Math.max(html.scrollWidth-_34c.w,0);};_34b.autoScroll=function(e){var v=_34c||_34a.getBox(doc),html=win.body(doc).parentNode,dx=0,dy=0;if(e.clientX<_34b.H_TRIGGER_AUTOSCROLL){dx=-_34b.H_AUTOSCROLL_VALUE;}else{if(e.clientX>v.w-_34b.H_TRIGGER_AUTOSCROLL){dx=Math.min(_34b.H_AUTOSCROLL_VALUE,_34e-html.scrollLeft);}}if(e.clientY<_34b.V_TRIGGER_AUTOSCROLL){dy=-_34b.V_AUTOSCROLL_VALUE;}else{if(e.clientY>v.h-_34b.V_TRIGGER_AUTOSCROLL){dy=Math.min(_34b.V_AUTOSCROLL_VALUE,_34d-html.scrollTop);}}window.scrollBy(dx,dy);};_34b._validNodes={"div":1,"p":1,"td":1};_34b._validOverflow={"auto":1,"scroll":1};_34b.autoScrollNodes=function(e){var b,t,w,h,rx,ry,dx=0,dy=0,_34f,_350;for(var n=e.target;n;){if(n.nodeType==1&&(n.tagName.toLowerCase() in _34b._validNodes)){var s=_349.getComputedStyle(n),_351=(s.overflowX.toLowerCase() in _34b._validOverflow),_352=(s.overflowY.toLowerCase() in _34b._validOverflow);if(_351||_352){b=_348.getContentBox(n,s);t=_348.position(n,true);}if(_351){w=Math.min(_34b.H_TRIGGER_AUTOSCROLL,b.w/2);rx=e.pageX-t.x;if(has("webkit")||has("opera")){rx+=win.body().scrollLeft;}dx=0;if(rx>0&&rxb.w-w){dx=w;}}_34f=n.scrollLeft;n.scrollLeft=n.scrollLeft+dx;}}if(_352){h=Math.min(_34b.V_TRIGGER_AUTOSCROLL,b.h/2);ry=e.pageY-t.y;if(has("webkit")||has("opera")){ry+=win.body().scrollTop;}dy=0;if(ry>0&&ryb.h-h){dy=h;}}_350=n.scrollTop;n.scrollTop=n.scrollTop+dy;}}if(dx||dy){return;}}try{n=n.parentNode;}catch(x){n=null;}}_34b.autoScroll(e);};return _34b;});},"dojo/dnd/move":function(){define(["../_base/declare","../dom-geometry","../dom-style","./common","./Mover","./Moveable"],function(_353,_354,_355,dnd,_356,_357){var _358=_353("dojo.dnd.move.constrainedMoveable",_357,{constraints:function(){},within:false,constructor:function(node,_359){if(!_359){_359={};}this.constraints=_359.constraints;this.within=_359.within;},onFirstMove:function(_35a){var c=this.constraintBox=this.constraints.call(this,_35a);c.r=c.l+c.w;c.b=c.t+c.h;if(this.within){var mb=_354.getMarginSize(_35a.node);c.r-=mb.w;c.b-=mb.h;}},onMove:function(_35b,_35c){var c=this.constraintBox,s=_35b.node.style;this.onMoving(_35b,_35c);_35c.l=_35c.l=0){this.timeout=_364.timeout;}},onMoveStop:function(_365){if(_365._timer){clearTimeout(_365._timer);_363.call(this,_365,_365._leftTop);}_362.prototype.onMoveStop.apply(this,arguments);},onMove:function(_366,_367){_366._leftTop=_367;if(!_366._timer){var _368=this;_366._timer=setTimeout(function(){_366._timer=null;_363.call(_368,_366,_366._leftTop);},this.timeout);}}});});},"dojo/fx/Toggler":function(){define(["../_base/lang","../_base/declare","../_base/fx","../aspect"],function(lang,_369,_36a,_36b){return _369("dojo.fx.Toggler",null,{node:null,showFunc:_36a.fadeIn,hideFunc:_36a.fadeOut,showDuration:200,hideDuration:200,constructor:function(args){var _36c=this;lang.mixin(_36c,args);_36c.node=args.node;_36c._showArgs=lang.mixin({},args);_36c._showArgs.node=_36c.node;_36c._showArgs.duration=_36c.showDuration;_36c.showAnim=_36c.showFunc(_36c._showArgs);_36c._hideArgs=lang.mixin({},args);_36c._hideArgs.node=_36c.node;_36c._hideArgs.duration=_36c.hideDuration;_36c.hideAnim=_36c.hideFunc(_36c._hideArgs);_36b.after(_36c.showAnim,"beforeBegin",lang.hitch(_36c.hideAnim,"stop",true),true);_36b.after(_36c.hideAnim,"beforeBegin",lang.hitch(_36c.showAnim,"stop",true),true);},show:function(_36d){return this.showAnim.play(_36d||0);},hide:function(_36e){return this.hideAnim.play(_36e||0);}});});},"dojo/html":function(){define(["./_base/kernel","./_base/lang","./_base/array","./_base/declare","./dom","./dom-construct","./parser"],function(_36f,lang,_370,_371,dom,_372,_373){var _374=0;var html={_secureForInnerHtml:function(cont){return cont.replace(/(?:\s*]+>|]*>[\s\S]*?<\/title>)/ig,"");},_emptyNode:_372.empty,_setNodeContent:function(node,cont){_372.empty(node);if(cont){if(typeof cont=="number"){cont=cont.toString();}if(typeof cont=="string"){cont=_372.toDom(cont,node.ownerDocument);}if(!cont.nodeType&&lang.isArrayLike(cont)){for(var _375=cont.length,i=0;i]*>\s*([\s\S]+)\s*<\/body>/im);if(_379){cont=_379[1];}}}this.empty();this.content=cont;return this.node;},onEnd:function(){if(this.parseContent){this._parse();}return this.node;},tearDown:function(){delete this.parseResults;delete this.parseDeferred;delete this.node;delete this.content;},onContentError:function(err){return "Error occurred setting content: "+err;},onExecError:function(err){return "Error occurred executing scripts: "+err;},_mixin:function(_37a){var _37b={},key;for(key in _37a){if(key in _37b){continue;}this[key]=_37a[key];}},_parse:function(){var _37c=this.node;try{var _37d={};_370.forEach(["dir","lang","textDir"],function(name){if(this[name]){_37d[name]=this[name];}},this);var self=this;this.parseDeferred=_373.parse({rootNode:_37c,noStart:!this.startup,inherited:_37d,scope:this.parserScope}).then(function(_37e){return self.parseResults=_37e;},function(e){self._onError("Content",e,"Error parsing in _ContentSetter#"+self.id);});}catch(e){this._onError("Content",e,"Error parsing in _ContentSetter#"+this.id);}},_onError:function(type,err,_37f){var _380=this["on"+type+"Error"].call(this,err);if(_37f){console.error(_37f,err);}else{if(_380){html._setNodeContent(this.node,_380,true);}}}}),set:function(node,cont,_381){if(undefined==cont){console.warn("dojo.html.set: no cont argument provided, using empty string");cont="";}if(typeof cont=="number"){cont=cont.toString();}if(!_381){return html._setNodeContent(node,cont,true);}else{var op=new html._ContentSetter(lang.mixin(_381,{content:cont,node:node}));return op.set();}}};lang.setObject("dojo.html",html);return html;});},"dojo/i18n":function(){define(["./_base/kernel","require","./has","./_base/array","./_base/config","./_base/lang","./_base/xhr","./json","module"],function(dojo,_382,has,_383,_384,lang,xhr,json,_385){has.add("dojo-preload-i18n-Api",1);1||has.add("dojo-v1x-i18n-Api",1);var _386=dojo.i18n={},_387=/(^.*(^|\/)nls)(\/|$)([^\/]*)\/?([^\/]*)/,_388=function(root,_389,_38a,_38b){for(var _38c=[_38a+_38b],_38d=_389.split("-"),_38e="",i=0;i<_38d.length;i++){_38e+=(_38e?"-":"")+_38d[i];if(!root||root[_38e]){_38c.push(_38a+_38e+"/"+_38b);_38c.specificity=_38e;}}return _38c;},_38f={},_390=function(_391,_392,_393){_393=_393?_393.toLowerCase():dojo.locale;_391=_391.replace(/\./g,"/");_392=_392.replace(/\./g,"/");return (/root/i.test(_393))?(_391+"/nls/"+_392):(_391+"/nls/"+_393+"/"+_392);},_394=dojo.getL10nName=function(_395,_396,_397){return _395=_385.id+"!"+_390(_395,_396,_397);},_398=function(_399,_39a,_39b,_39c,_39d,load){_399([_39a],function(root){var _39e=lang.clone(root.root||root.ROOT),_39f=_388(!root._v1x&&root,_39d,_39b,_39c);_399(_39f,function(){for(var i=1;i<_39f.length;i++){_39e=lang.mixin(lang.clone(_39e),arguments[i]);}var _3a0=_39a+"/"+_39d;_38f[_3a0]=_39e;_39e.$locale=_39f.specificity;load();});});},_3a1=function(id,_3a2){return /^\./.test(id)?_3a2(id):id;},_3a3=function(_3a4){var list=_384.extraLocale||[];list=lang.isArray(list)?list:[list];list.push(_3a4);return list;},load=function(id,_3a5,load){var _3a6=_387.exec(id),_3a7=_3a6[1]+"/",_3a8=_3a6[5]||_3a6[4],_3a9=_3a7+_3a8,_3aa=(_3a6[5]&&_3a6[4]),_3ab=_3aa||dojo.locale||"",_3ac=_3a9+"/"+_3ab,_3ad=_3aa?[_3ab]:_3a3(_3ab),_3ae=_3ad.length,_3af=function(){if(!--_3ae){load(lang.delegate(_38f[_3ac]));}},_3b0=id.split("*"),_3b1=_3b0[1]=="preload";if(has("dojo-preload-i18n-Api")){if(_3b1){if(!_38f[id]){_38f[id]=1;_3bb(_3b0[2],json.parse(_3b0[3]),1,_3a5);}load(1);}if(_3b1||(_3d8(id,_3a5,load)&&!_38f[_3ac])){return;}}else{if(_3b1){load(1);return;}}_383.forEach(_3ad,function(_3b2){var _3b3=_3a9+"/"+_3b2;if(has("dojo-preload-i18n-Api")){_3b4(_3b3);}if(!_38f[_3b3]){_398(_3a5,_3a9,_3a7,_3a8,_3b2,_3af);}else{_3af();}});};if(has("dojo-preload-i18n-Api")||1){var _3b5=_386.normalizeLocale=function(_3b6){var _3b7=_3b6?_3b6.toLowerCase():dojo.locale;return _3b7=="root"?"ROOT":_3b7;},isXd=function(mid,_3b8){return (1&&1)?_3b8.isXdUrl(_382.toUrl(mid+".js")):true;},_3b9=0,_3ba=[],_3bb=_386._preloadLocalizations=function(_3bc,_3bd,_3be,_3bf){_3bf=_3bf||_382;function _3c0(mid,_3c1){if(isXd(mid,_3bf)||_3be){_3bf([mid],_3c1);}else{_3dd([mid],_3c1,_3bf);}};function _3c2(_3c3,func){var _3c4=_3c3.split("-");while(_3c4.length){if(func(_3c4.join("-"))){return;}_3c4.pop();}func("ROOT");};function _3c5(){_3b9++;};function _3c6(){--_3b9;while(!_3b9&&_3ba.length){load.apply(null,_3ba.shift());}};function _3c7(path,name,loc,_3c8){return _3c8.toAbsMid(path+name+"/"+loc);};function _3c9(_3ca){_3ca=_3b5(_3ca);_3c2(_3ca,function(loc){if(_383.indexOf(_3bd,loc)>=0){var mid=_3bc.replace(/\./g,"/")+"_"+loc;_3c5();_3c0(mid,function(_3cb){for(var p in _3cb){var _3cc=_3cb[p],_3cd=p.match(/(.+)\/([^\/]+)$/),_3ce,_3cf;if(!_3cd){continue;}_3ce=_3cd[2];_3cf=_3cd[1]+"/";if(!_3cc._localized){continue;}var _3d0;if(loc==="ROOT"){var root=_3d0=_3cc._localized;delete _3cc._localized;root.root=_3cc;_38f[_382.toAbsMid(p)]=root;}else{_3d0=_3cc._localized;_38f[_3c7(_3cf,_3ce,loc,_382)]=_3cc;}if(loc!==_3ca){function _3d1(_3d2,_3d3,_3d4,_3d5){var _3d6=[],_3d7=[];_3c2(_3ca,function(loc){if(_3d5[loc]){_3d6.push(_382.toAbsMid(_3d2+loc+"/"+_3d3));_3d7.push(_3c7(_3d2,_3d3,loc,_382));}});if(_3d6.length){_3c5();_3bf(_3d6,function(){for(var i=_3d6.length-1;i>=0;i--){_3d4=lang.mixin(lang.clone(_3d4),arguments[i]);_38f[_3d7[i]]=_3d4;}_38f[_3c7(_3d2,_3d3,_3ca,_382)]=lang.clone(_3d4);_3c6();});}else{_38f[_3c7(_3d2,_3d3,_3ca,_382)]=_3d4;}};_3d1(_3cf,_3ce,_3cc,_3d0);}}_3c6();});return true;}return false;});};_3c9();_383.forEach(dojo.config.extraLocale,_3c9);},_3d8=function(id,_3d9,load){if(_3b9){_3ba.push([id,_3d9,load]);}return _3b9;},_3b4=function(){};}if(1){var _3da={},_3db={},_3dc,_3dd=function(deps,_3de,_3df){var _3e0=[];_383.forEach(deps,function(mid){var url=_3df.toUrl(mid+".js");function load(text){if(!_3dc){_3dc=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 _3e1=_3dc(text,_3b4,mid,_3da);if(_3e1===_3da){_3e0.push(_38f[url]=_3da.result);}else{if(_3e1 instanceof Error){console.error("failed to evaluate i18n bundle; url="+url,_3e1);_3e1={};}_3e0.push(_38f[url]=(/nls\/[^\/]+\/[^\/]+$/.test(url)?_3e1:{root:_3e1,_v1x:1}));}};if(_38f[url]){_3e0.push(_38f[url]);}else{var _3e2=_3df.syncLoadNls(mid);if(!_3e2){_3e2=_3b4(mid.replace(/nls\/([^\/]*)\/([^\/]*)$/,"nls/$2/$1"));}if(_3e2){_3e0.push(_3e2);}else{if(!xhr){try{_3df.getText(url,true,load);}catch(e){_3e0.push(_38f[url]={});}}else{xhr.get({url:url,sync:true,load:load,error:function(){_3e0.push(_38f[url]={});}});}}}});_3de&&_3de.apply(null,_3e0);};_3b4=function(_3e3){for(var _3e4,_3e5=_3e3.split("/"),_3e6=dojo.global[_3e5[0]],i=1;_3e6&&i<_3e5.length-1;_3e6=_3e6[_3e5[i++]]){}if(_3e6){_3e4=_3e6[_3e5[i]];if(!_3e4){_3e4=_3e6[_3e5[i].replace(/-/g,"_")];}if(_3e4){_38f[_3e3]=_3e4;}}return _3e4;};_386.getLocalization=function(_3e7,_3e8,_3e9){var _3ea,_3eb=_390(_3e7,_3e8,_3e9);if(_3db[_3eb]){return _3db[_3eb];}load(_3eb,(!isXd(_3eb,_382)?function(deps,_3ec){_3dd(deps,_3ec,_382);}:_382),function(_3ed){_3db[_3eb]=_3ed;_3ea=_3ed;});return _3ea;};}else{_386.getLocalization=function(_3ee,_3ef,_3f0){var key=_3ee.replace(/\./g,"/")+"/nls/"+_3ef+"/"+(_3f0||_384.locale);return this.cache[key];};}return lang.mixin(_386,{dynamic:true,normalize:_3a1,load:load,cache:_38f,getL10nName:_394});});},"dijit/dijit":function(){define(["./main","./_base","dojo/parser","./_Widget","./_TemplatedMixin","./_Container","./layout/_LayoutWidget","./form/_FormWidget","./form/_FormValueWidget"],function(_3f1){return _3f1;});},"dijit/main":function(){define(["dojo/_base/kernel"],function(dojo){return dojo.dijit;});},"dijit/_base":function(){define(["./main","./a11y","./WidgetSet","./_base/focus","./_base/manager","./_base/place","./_base/popup","./_base/scroll","./_base/sniff","./_base/typematic","./_base/wai","./_base/window"],function(_3f2){return _3f2._base;});},"dijit/a11y":function(){define(["dojo/_base/array","dojo/dom","dojo/dom-attr","dojo/dom-style","dojo/_base/lang","dojo/sniff","./main"],function(_3f3,dom,_3f4,_3f5,lang,has,_3f6){var _3f7;var a11y={_isElementShown:function(elem){var s=_3f5.get(elem);return (s.visibility!="hidden")&&(s.visibility!="collapsed")&&(s.display!="none")&&(_3f4.get(elem,"type")!="hidden");},hasDefaultTabStop:function(elem){switch(elem.nodeName.toLowerCase()){case "a":return _3f4.has(elem,"href");case "area":case "button":case "input":case "object":case "select":case "textarea":return true;case "iframe":var body;try{var _3f8=elem.contentDocument;if("designMode" in _3f8&&_3f8.designMode=="on"){return true;}body=_3f8.body;}catch(e1){try{body=elem.contentWindow.document.body;}catch(e2){return false;}}return body&&(body.contentEditable=="true"||(body.firstChild&&body.firstChild.contentEditable=="true"));default:return elem.contentEditable=="true";}},effectiveTabIndex:function(elem){if(_3f4.get(elem,"disabled")){return _3f7;}else{if(_3f4.has(elem,"tabIndex")){return +_3f4.get(elem,"tabIndex");}else{return a11y.hasDefaultTabStop(elem)?0:_3f7;}}},isTabNavigable:function(elem){return a11y.effectiveTabIndex(elem)>=0;},isFocusable:function(elem){return a11y.effectiveTabIndex(elem)>=-1;},_getTabNavigable:function(root){var _3f9,last,_3fa,_3fb,_3fc,_3fd,_3fe={};function _3ff(node){return node&&node.tagName.toLowerCase()=="input"&&node.type&&node.type.toLowerCase()=="radio"&&node.name&&node.name.toLowerCase();};var _400=a11y._isElementShown,_401=a11y.effectiveTabIndex;var _402=function(_403){for(var _404=_403.firstChild;_404;_404=_404.nextSibling){if(_404.nodeType!=1||(has("ie")<=9&&_404.scopeName!=="HTML")||!_400(_404)){continue;}var _405=_401(_404);if(_405>=0){if(_405==0){if(!_3f9){_3f9=_404;}last=_404;}else{if(_405>0){if(!_3fa||_405<_3fb){_3fb=_405;_3fa=_404;}if(!_3fc||_405>=_3fd){_3fd=_405;_3fc=_404;}}}var rn=_3ff(_404);if(_3f4.get(_404,"checked")&&rn){_3fe[rn]=_404;}}if(_404.nodeName.toUpperCase()!="SELECT"){_402(_404);}}};if(_400(root)){_402(root);}function rs(node){return _3fe[_3ff(node)]||node;};return {first:rs(_3f9),last:rs(last),lowest:rs(_3fa),highest:rs(_3fc)};},getFirstInTabbingOrder:function(root,doc){var _406=a11y._getTabNavigable(dom.byId(root,doc));return _406.lowest?_406.lowest:_406.first;},getLastInTabbingOrder:function(root,doc){var _407=a11y._getTabNavigable(dom.byId(root,doc));return _407.last?_407.last:_407.highest;}};1&&lang.mixin(_3f6,a11y);return a11y;});},"dijit/WidgetSet":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","./registry"],function(_408,_409,_40a,_40b){var _40c=_409("dijit.WidgetSet",null,{constructor:function(){this._hash={};this.length=0;},add:function(_40d){if(this._hash[_40d.id]){throw new Error("Tried to register widget with id=="+_40d.id+" but that id is already registered");}this._hash[_40d.id]=_40d;this.length++;},remove:function(id){if(this._hash[id]){delete this._hash[id];this.length--;}},forEach:function(func,_40e){_40e=_40e||_40a.global;var i=0,id;for(id in this._hash){func.call(_40e,this._hash[id],i++,this._hash);}return this;},filter:function(_40f,_410){_410=_410||_40a.global;var res=new _40c(),i=0,id;for(id in this._hash){var w=this._hash[id];if(_40f.call(_410,w,i++,this._hash)){res.add(w);}}return res;},byId:function(id){return this._hash[id];},byClass:function(cls){var res=new _40c(),id,_411;for(id in this._hash){_411=this._hash[id];if(_411.declaredClass==cls){res.add(_411);}}return res;},toArray:function(){var ar=[];for(var id in this._hash){ar.push(this._hash[id]);}return ar;},map:function(func,_412){return _408.map(this.toArray(),func,_412);},every:function(func,_413){_413=_413||_40a.global;var x=0,i;for(i in this._hash){if(!func.call(_413,this._hash[i],x++,this._hash)){return false;}}return true;},some:function(func,_414){_414=_414||_40a.global;var x=0,i;for(i in this._hash){if(func.call(_414,this._hash[i],x++,this._hash)){return true;}}return false;}});_408.forEach(["forEach","filter","byClass","map","every","some"],function(func){_40b[func]=_40c.prototype[func];});return _40c;});},"dijit/registry":function(){define(["dojo/_base/array","dojo/_base/window","./main"],function(_415,win,_416){var _417={},hash={};var _418={length:0,add:function(_419){if(hash[_419.id]){throw new Error("Tried to register widget with id=="+_419.id+" but that id is already registered");}hash[_419.id]=_419;this.length++;},remove:function(id){if(hash[id]){delete hash[id];this.length--;}},byId:function(id){return typeof id=="string"?hash[id]:id;},byNode:function(node){return hash[node.getAttribute("widgetId")];},toArray:function(){var ar=[];for(var id in hash){ar.push(hash[id]);}return ar;},getUniqueId:function(_41a){var id;do{id=_41a+"_"+(_41a in _417?++_417[_41a]:_417[_41a]=0);}while(hash[id]);return _416._scopeName=="dijit"?id:_416._scopeName+"_"+id;},findWidgets:function(root,_41b){var _41c=[];function _41d(root){for(var node=root.firstChild;node;node=node.nextSibling){if(node.nodeType==1){var _41e=node.getAttribute("widgetId");if(_41e){var _41f=hash[_41e];if(_41f){_41c.push(_41f);}}else{if(node!==_41b){_41d(node);}}}}};_41d(root);return _41c;},_destroyAll:function(){_416._curFocus=null;_416._prevFocus=null;_416._activeStack=[];_415.forEach(_418.findWidgets(win.body()),function(_420){if(!_420._destroyed){if(_420.destroyRecursive){_420.destroyRecursive();}else{if(_420.destroy){_420.destroy();}}}});},getEnclosingWidget:function(node){while(node){var id=node.nodeType==1&&node.getAttribute("widgetId");if(id){return hash[id];}node=node.parentNode;}return null;},_hash:hash};_416.registry=_418;return _418;});},"dijit/_base/focus":function(){define(["dojo/_base/array","dojo/dom","dojo/_base/lang","dojo/topic","dojo/_base/window","../focus","../selection","../main"],function(_421,dom,lang,_422,win,_423,_424,_425){var _426={_curFocus:null,_prevFocus:null,isCollapsed:function(){return _425.getBookmark().isCollapsed;},getBookmark:function(){var sel=win.global==window?_424:new _424.SelectionManager(win.global);return sel.getBookmark();},moveToBookmark:function(_427){var sel=win.global==window?_424:new _424.SelectionManager(win.global);return sel.moveToBookmark(_427);},getFocus:function(menu,_428){var node=!_423.curNode||(menu&&dom.isDescendant(_423.curNode,menu.domNode))?_425._prevFocus:_423.curNode;return {node:node,bookmark:node&&(node==_423.curNode)&&win.withGlobal(_428||win.global,_425.getBookmark),openedForWindow:_428};},_activeStack:[],registerIframe:function(_429){return _423.registerIframe(_429);},unregisterIframe:function(_42a){_42a&&_42a.remove();},registerWin:function(_42b,_42c){return _423.registerWin(_42b,_42c);},unregisterWin:function(_42d){_42d&&_42d.remove();}};_423.focus=function(_42e){if(!_42e){return;}var node="node" in _42e?_42e.node:_42e,_42f=_42e.bookmark,_430=_42e.openedForWindow,_431=_42f?_42f.isCollapsed:false;if(node){var _432=(node.tagName.toLowerCase()=="iframe")?node.contentWindow:node;if(_432&&_432.focus){try{_432.focus();}catch(e){}}_423._onFocusNode(node);}if(_42f&&win.withGlobal(_430||win.global,_425.isCollapsed)&&!_431){if(_430){_430.focus();}try{win.withGlobal(_430||win.global,_425.moveToBookmark,null,[_42f]);}catch(e2){}}};_423.watch("curNode",function(name,_433,_434){_425._curFocus=_434;_425._prevFocus=_433;if(_434){_422.publish("focusNode",_434);}});_423.watch("activeStack",function(name,_435,_436){_425._activeStack=_436;});_423.on("widget-blur",function(_437,by){_422.publish("widgetBlur",_437,by);});_423.on("widget-focus",function(_438,by){_422.publish("widgetFocus",_438,by);});lang.mixin(_425,_426);return _425;});},"dijit/focus":function(){define(["dojo/aspect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/Evented","dojo/_base/lang","dojo/on","dojo/domReady","dojo/sniff","dojo/Stateful","dojo/_base/window","dojo/window","./a11y","./registry","./main"],function(_439,_43a,dom,_43b,_43c,_43d,_43e,lang,on,_43f,has,_440,win,_441,a11y,_442,_443){var _444;var _445;var _446=_43a([_440,_43e],{curNode:null,activeStack:[],constructor:function(){var _447=lang.hitch(this,function(node){if(dom.isDescendant(this.curNode,node)){this.set("curNode",null);}if(dom.isDescendant(this.prevNode,node)){this.set("prevNode",null);}});_439.before(_43d,"empty",_447);_439.before(_43d,"destroy",_447);},registerIframe:function(_448){return this.registerWin(_448.contentWindow,_448);},registerWin:function(_449,_44a){var _44b=this,body=_449.document&&_449.document.body;if(body){var _44c=has("pointer-events")?"pointerdown":has("MSPointer")?"MSPointerDown":has("touch-events")?"mousedown, touchstart":"mousedown";var mdh=on(_449.document,_44c,function(evt){if(evt&&evt.target&&evt.target.parentNode==null){return;}_44b._onTouchNode(_44a||evt.target,"mouse");});var fih=on(body,"focusin",function(evt){if(!evt.target.tagName){return;}var tag=evt.target.tagName.toLowerCase();if(tag=="#document"||tag=="body"){return;}if(a11y.isFocusable(evt.target)){_44b._onFocusNode(_44a||evt.target);}else{_44b._onTouchNode(_44a||evt.target);}});var foh=on(body,"focusout",function(evt){_44b._onBlurNode(_44a||evt.target);});return {remove:function(){mdh.remove();fih.remove();foh.remove();mdh=fih=foh=null;body=null;}};}},_onBlurNode:function(node){var now=(new Date()).getTime();if(now<_444+100){return;}if(this._clearFocusTimer){clearTimeout(this._clearFocusTimer);}this._clearFocusTimer=setTimeout(lang.hitch(this,function(){this.set("prevNode",this.curNode);this.set("curNode",null);}),0);if(this._clearActiveWidgetsTimer){clearTimeout(this._clearActiveWidgetsTimer);}if(now<_445+100){return;}this._clearActiveWidgetsTimer=setTimeout(lang.hitch(this,function(){delete this._clearActiveWidgetsTimer;this._setStack([]);}),0);},_onTouchNode:function(node,by){_445=(new Date()).getTime();if(this._clearActiveWidgetsTimer){clearTimeout(this._clearActiveWidgetsTimer);delete this._clearActiveWidgetsTimer;}if(_43c.contains(node,"dijitPopup")){node=node.firstChild;}var _44d=[];try{while(node){var _44e=_43b.get(node,"dijitPopupParent");if(_44e){node=_442.byId(_44e).domNode;}else{if(node.tagName&&node.tagName.toLowerCase()=="body"){if(node===win.body()){break;}node=_441.get(node.ownerDocument).frameElement;}else{var id=node.getAttribute&&node.getAttribute("widgetId"),_44f=id&&_442.byId(id);if(_44f&&!(by=="mouse"&&_44f.get("disabled"))){_44d.unshift(id);}node=node.parentNode;}}}}catch(e){}this._setStack(_44d,by);},_onFocusNode:function(node){if(!node){return;}if(node.nodeType==9){return;}_444=(new Date()).getTime();if(this._clearFocusTimer){clearTimeout(this._clearFocusTimer);delete this._clearFocusTimer;}this._onTouchNode(node);if(node==this.curNode){return;}this.set("prevNode",this.curNode);this.set("curNode",node);},_setStack:function(_450,by){var _451=this.activeStack,_452=_451.length-1,_453=_450.length-1;if(_450[_453]==_451[_452]){return;}this.set("activeStack",_450);var _454,i;for(i=_452;i>=0&&_451[i]!=_450[i];i--){_454=_442.byId(_451[i]);if(_454){_454._hasBeenBlurred=true;_454.set("focused",false);if(_454._focusManager==this){_454._onBlur(by);}this.emit("widget-blur",_454,by);}}for(i++;i<=_453;i++){_454=_442.byId(_450[i]);if(_454){_454.set("focused",true);if(_454._focusManager==this){_454._onFocus(by);}this.emit("widget-focus",_454,by);}}},focus:function(node){if(node){try{node.focus();}catch(e){}}}});var _455=new _446();_43f(function(){var _456=_455.registerWin(_441.get(document));if(has("ie")){on(window,"unload",function(){if(_456){_456.remove();_456=null;}});}});_443.focus=function(node){_455.focus(node);};for(var attr in _455){if(!/^_/.test(attr)){_443.focus[attr]=typeof _455[attr]=="function"?lang.hitch(_455,attr):_455[attr];}}_455.watch(function(attr,_457,_458){_443.focus[attr]=_458;});return _455;});},"dijit/selection":function(){define(["dojo/_base/array","dojo/dom","dojo/_base/lang","dojo/sniff","dojo/_base/window","dijit/focus"],function(_459,dom,lang,has,_45a,_45b){var _45c=function(win){var doc=win.document;this.getType=function(){if(doc.getSelection){var _45d="text";var oSel;try{oSel=win.getSelection();}catch(e){}if(oSel&&oSel.rangeCount==1){var _45e=oSel.getRangeAt(0);if((_45e.startContainer==_45e.endContainer)&&((_45e.endOffset-_45e.startOffset)==1)&&(_45e.startContainer.nodeType!=3)){_45d="control";}}return _45d;}else{return doc.selection.type.toLowerCase();}};this.getSelectedText=function(){if(doc.getSelection){var _45f=win.getSelection();return _45f?_45f.toString():"";}else{if(this.getType()=="control"){return null;}return doc.selection.createRange().text;}};this.getSelectedHtml=function(){if(doc.getSelection){var _460=win.getSelection();if(_460&&_460.rangeCount){var i;var html="";for(i=0;i<_460.rangeCount;i++){var frag=_460.getRangeAt(i).cloneContents();var div=doc.createElement("div");div.appendChild(frag);html+=div.innerHTML;}return html;}return null;}else{if(this.getType()=="control"){return null;}return doc.selection.createRange().htmlText;}};this.getSelectedElement=function(){if(this.getType()=="control"){if(doc.getSelection){var _461=win.getSelection();return _461.anchorNode.childNodes[_461.anchorOffset];}else{var _462=doc.selection.createRange();if(_462&&_462.item){return doc.selection.createRange().item(0);}}}return null;};this.getParentElement=function(){if(this.getType()=="control"){var p=this.getSelectedElement();if(p){return p.parentNode;}}else{if(doc.getSelection){var _463=doc.getSelection();if(_463){var node=_463.anchorNode;while(node&&(node.nodeType!=1)){node=node.parentNode;}return node;}}else{var r=doc.selection.createRange();r.collapse(true);return r.parentElement();}}return null;};this.hasAncestorElement=function(_464){return this.getAncestorElement.apply(this,arguments)!=null;};this.getAncestorElement=function(_465){var node=this.getSelectedElement()||this.getParentElement();return this.getParentOfType(node,arguments);};this.isTag=function(node,tags){if(node&&node.tagName){var _466=node.tagName.toLowerCase();for(var i=0;i0){_474=sel.getRangeAt(0);}if(_474&&_474.compareBoundaryPoints&&doc.createRange){try{_473=doc.createRange();_473.setStart(node,0);if(_474.compareBoundaryPoints(_474.START_TO_END,_473)===1){return true;}}catch(e){}}}else{_474=doc.selection.createRange();try{_473=node.ownerDocument.body.createTextRange();_473.moveToElementText(node);}catch(e2){}if(_474&&_473){if(_474.compareEndPoints("EndToStart",_473)===1){return true;}}}}return false;};this.getBookmark=function(){var bm,rg,tg,sel=doc.selection,cf=_45b.curNode;if(doc.getSelection){sel=win.getSelection();if(sel){if(sel.isCollapsed){tg=cf?cf.tagName:"";if(tg){tg=tg.toLowerCase();if(tg=="textarea"||(tg=="input"&&(!cf.type||cf.type.toLowerCase()=="text"))){sel={start:cf.selectionStart,end:cf.selectionEnd,node:cf,pRange:true};return {isCollapsed:(sel.end<=sel.start),mark:sel};}}bm={isCollapsed:true};if(sel.rangeCount){bm.mark=sel.getRangeAt(0).cloneRange();}}else{rg=sel.getRangeAt(0);bm={isCollapsed:false,mark:rg.cloneRange()};}}}else{if(sel){tg=cf?cf.tagName:"";tg=tg.toLowerCase();if(cf&&tg&&(tg=="button"||tg=="textarea"||tg=="input")){if(sel.type&&sel.type.toLowerCase()=="none"){return {isCollapsed:true,mark:null};}else{rg=sel.createRange();return {isCollapsed:rg.text&&rg.text.length?false:true,mark:{range:rg,pRange:true}};}}bm={};try{rg=sel.createRange();bm.isCollapsed=!(sel.type=="Text"?rg.htmlText.length:rg.length);}catch(e){bm.isCollapsed=true;return bm;}if(sel.type.toUpperCase()=="CONTROL"){if(rg.length){bm.mark=[];var i=0,len=rg.length;while(i>1))-bb.w)}[_493.charAt(1)],_49a={"T":pos.y,"B":pos.y-bb.h,"M":Math.max(view.t,Math.min(view.t+view.h,pos.y+(bb.h>>1))-bb.h)}[_493.charAt(0)],_49b=Math.max(view.l,_499),_49c=Math.max(view.t,_49a),endX=Math.min(view.l+view.w,_499+bb.w),endY=Math.min(view.t+view.h,_49a+bb.h),_49d=endX-_49b,_49e=endY-_49c;_494+=(bb.w-_49d)+(bb.h-_49e);if(best==null||_494>1)}[_4b7.charAt(1)],y:{"T":y,"B":y+_4b5,"M":y+(_4b5>>1)}[_4b7.charAt(0)]}});};_488.forEach(_4a7,function(pos){var ltr=_4a8;switch(pos){case "above-centered":push("TM","BM");break;case "below-centered":push("BM","TM");break;case "after-centered":ltr=!ltr;case "before-centered":push(ltr?"ML":"MR",ltr?"MR":"ML");break;case "after":ltr=!ltr;case "before":push(ltr?"TL":"TR",ltr?"TR":"TL");push(ltr?"BL":"BR",ltr?"BR":"BL");break;case "below-alt":ltr=!ltr;case "below":push(ltr?"BL":"BR",ltr?"TL":"TR");push(ltr?"BR":"BL",ltr?"TR":"TL");break;case "above-alt":ltr=!ltr;case "above":push(ltr?"TL":"TR",ltr?"BL":"BR");push(ltr?"TR":"TL",ltr?"BR":"BL");break;default:push(pos.aroundCorner,pos.corner);}});var _4b9=_48e(node,_4b6,_4a9,{w:_4b4,h:_4b5});_4b9.aroundNodePos=_4aa;return _4b9;}};return _48d.place=_4a0;});},"dijit/Viewport":function(){define(["dojo/Evented","dojo/on","dojo/domReady","dojo/sniff","dojo/window"],function(_4ba,on,_4bb,has,_4bc){var _4bd=new _4ba();var _4be;_4bb(function(){var _4bf=_4bc.getBox();_4bd._rlh=on(window,"resize",function(){var _4c0=_4bc.getBox();if(_4bf.h==_4c0.h&&_4bf.w==_4c0.w){return;}_4bf=_4c0;_4bd.emit("resize");});if(has("ie")==8){var _4c1=screen.deviceXDPI;setInterval(function(){if(screen.deviceXDPI!=_4c1){_4c1=screen.deviceXDPI;_4bd.emit("resize");}},500);}if(has("ios")){on(document,"focusin",function(evt){_4be=evt.target;});on(document,"focusout",function(evt){_4be=null;});}});_4bd.getEffectiveBox=function(doc){var box=_4bc.getBox(doc);var tag=_4be&&_4be.tagName&&_4be.tagName.toLowerCase();if(has("ios")&&_4be&&!_4be.readOnly&&(tag=="textarea"||(tag=="input"&&/^(color|email|number|password|search|tel|text|url)$/.test(_4be.type)))){box.h*=(orientation==0||orientation==180?0.66:0.4);var rect=_4be.getBoundingClientRect();box.h=Math.max(box.h,rect.top+rect.height);}return box;};return _4bd;});},"dijit/_base/popup":function(){define(["dojo/dom-class","dojo/_base/window","../popup","../BackgroundIframe"],function(_4c2,win,_4c3){var _4c4=_4c3._createWrapper;_4c3._createWrapper=function(_4c5){if(!_4c5.declaredClass){_4c5={_popupWrapper:(_4c5.parentNode&&_4c2.contains(_4c5.parentNode,"dijitPopup"))?_4c5.parentNode:null,domNode:_4c5,destroy:function(){},ownerDocument:_4c5.ownerDocument,ownerDocumentBody:win.body(_4c5.ownerDocument)};}return _4c4.call(this,_4c5);};var _4c6=_4c3.open;_4c3.open=function(args){if(args.orient&&typeof args.orient!="string"&&!("length" in args.orient)){var ary=[];for(var key in args.orient){ary.push({aroundCorner:key,corner:args.orient[key]});}args.orient=ary;}return _4c6.call(this,args);};return _4c3;});},"dijit/popup":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/has","dojo/keys","dojo/_base/lang","dojo/on","./place","./BackgroundIframe","./Viewport","./main","dojo/touch"],function(_4c7,_4c8,_4c9,dom,_4ca,_4cb,_4cc,_4cd,has,keys,lang,on,_4ce,_4cf,_4d0,_4d1){function _4d2(){if(this._popupWrapper){_4cb.destroy(this._popupWrapper);delete this._popupWrapper;}};var _4d3=_4c9(null,{_stack:[],_beginZIndex:1000,_idGen:1,_repositionAll:function(){if(this._firstAroundNode){var _4d4=this._firstAroundPosition,_4d5=_4cc.position(this._firstAroundNode,true),dx=_4d5.x-_4d4.x,dy=_4d5.y-_4d4.y;if(dx||dy){this._firstAroundPosition=_4d5;for(var i=0;i0&&_4de[pi].parent===_4de[pi-1].widget;pi--){}return _4de[pi];},open:function(args){var _4df=this._stack,_4e0=args.popup,node=_4e0.domNode,_4e1=args.orient||["below","below-alt","above","above-alt"],ltr=args.parent?args.parent.isLeftToRight():_4cc.isBodyLtr(_4e0.ownerDocument),_4e2=args.around,id=(args.around&&args.around.id)?(args.around.id+"_dropdown"):("popup_"+this._idGen++);while(_4df.length&&(!args.parent||!dom.isDescendant(args.parent.domNode,_4df[_4df.length-1].widget.domNode))){this.close(_4df[_4df.length-1].widget);}var _4e3=this.moveOffScreen(_4e0);if(_4e0.startup&&!_4e0._started){_4e0.startup();}var _4e4,_4e5=_4cc.position(node);if("maxHeight" in args&&args.maxHeight!=-1){_4e4=args.maxHeight||Infinity;}else{var _4e6=_4d0.getEffectiveBox(this.ownerDocument),_4e7=_4e2?_4cc.position(_4e2,false):{y:args.y-(args.padding||0),h:(args.padding||0)*2};_4e4=Math.floor(Math.max(_4e7.y,_4e6.h-(_4e7.y+_4e7.h)));}if(_4e5.h>_4e4){var cs=_4cd.getComputedStyle(node),_4e8=cs.borderLeftWidth+" "+cs.borderLeftStyle+" "+cs.borderLeftColor;_4cd.set(_4e3,{overflowY:"scroll",height:_4e4+"px",border:_4e8});node._originalStyle=node.style.cssText;node.style.border="none";}_4ca.set(_4e3,{id:id,style:{zIndex:this._beginZIndex+_4df.length},"class":"dijitPopup "+(_4e0.baseClass||_4e0["class"]||"").split(" ")[0]+"Popup",dijitPopupParent:args.parent?args.parent.id:""});if(_4df.length==0&&_4e2){this._firstAroundNode=_4e2;this._firstAroundPosition=_4cc.position(_4e2,true);this._aroundMoveListener=setTimeout(lang.hitch(this,"_repositionAll"),50);}if(has("config-bgIframe")&&!_4e0.bgIframe){_4e0.bgIframe=new _4cf(_4e3);}var _4e9=_4e0.orient?lang.hitch(_4e0,"orient"):null,best=_4e2?_4ce.around(_4e3,_4e2,_4e1,ltr,_4e9):_4ce.at(_4e3,args,_4e1=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"],args.padding,_4e9);_4e3.style.visibility="visible";node.style.visibility="visible";var _4ea=[];_4ea.push(on(_4e3,"keydown",lang.hitch(this,function(evt){if(evt.keyCode==keys.ESCAPE&&args.onCancel){evt.stopPropagation();evt.preventDefault();args.onCancel();}else{if(evt.keyCode==keys.TAB){evt.stopPropagation();evt.preventDefault();var _4eb=this.getTopPopup();if(_4eb&&_4eb.onCancel){_4eb.onCancel();}}}})));if(_4e0.onCancel&&args.onCancel){_4ea.push(_4e0.on("cancel",args.onCancel));}_4ea.push(_4e0.on(_4e0.onExecute?"execute":"change",lang.hitch(this,function(){var _4ec=this.getTopPopup();if(_4ec&&_4ec.onExecute){_4ec.onExecute();}})));_4df.push({widget:_4e0,wrapper:_4e3,parent:args.parent,onExecute:args.onExecute,onCancel:args.onCancel,onClose:args.onClose,handlers:_4ea});if(_4e0.onOpen){_4e0.onOpen(best);}return best;},close:function(_4ed){var _4ee=this._stack;while((_4ed&&_4c7.some(_4ee,function(elem){return elem.widget==_4ed;}))||(!_4ed&&_4ee.length)){var top=_4ee.pop(),_4ef=top.widget,_4f0=top.onClose;if(_4ef.bgIframe){_4ef.bgIframe.destroy();delete _4ef.bgIframe;}if(_4ef.onClose){_4ef.onClose();}var h;while(h=top.handlers.pop()){h.remove();}if(_4ef&&_4ef.domNode){this.hide(_4ef);}if(_4f0){_4f0();}}if(_4ee.length==0&&this._aroundMoveListener){clearTimeout(this._aroundMoveListener);this._firstAroundNode=this._firstAroundPosition=this._aroundMoveListener=null;}}});return (_4d1.popup=new _4d3());});},"dijit/BackgroundIframe":function(){define(["require","./main","dojo/_base/config","dojo/dom-construct","dojo/dom-style","dojo/_base/lang","dojo/on","dojo/sniff"],function(_4f1,_4f2,_4f3,_4f4,_4f5,lang,on,has){has.add("config-bgIframe",(has("ie")||has("trident"))&&!/IEMobile\/10\.0/.test(navigator.userAgent));var _4f6=new function(){var _4f7=[];this.pop=function(){var _4f8;if(_4f7.length){_4f8=_4f7.pop();_4f8.style.display="";}else{if(has("ie")<9){var burl=_4f3["dojoBlankHtmlUrl"]||_4f1.toUrl("dojo/resources/blank.html")||"javascript:\"\"";var html="