From 46ebef7ebf0ed658333f52cd01e07b07f47b58d9 Mon Sep 17 00:00:00 2001 From: supahgreg Date: Sun, 5 Oct 2025 04:33:59 +0000 Subject: Bump Dojo from 1.16.5 to 1.17.3. This should help with some of the security findings. --- lib/dojo/_base/array.js | 2 +- lib/dojo/_base/fx.js | 2 +- lib/dojo/_base/kernel.js | 2 +- lib/dojo/dojo.js | 2 +- lib/dojo/i18n.js | 2 +- lib/dojo/json5.js | 8 + lib/dojo/json5/LICENSE.md | 23 +++ lib/dojo/json5/README.md | 28 ++++ lib/dojo/json5/parse.js | 8 + lib/dojo/json5/unicode.js | 8 + lib/dojo/json5/util.js | 8 + lib/dojo/package-lock.json | 366 +++---------------------------------------- lib/dojo/package.json | 6 +- lib/dojo/parser.js | 2 +- lib/dojo/store/Memory.js | 2 +- lib/dojo/store/Observable.js | 2 +- lib/dojo/string.js | 2 +- lib/dojo/touch.js | 2 +- lib/dojo/tt-rss-layer.js | 2 +- 19 files changed, 119 insertions(+), 358 deletions(-) create mode 100644 lib/dojo/json5.js create mode 100644 lib/dojo/json5/LICENSE.md create mode 100644 lib/dojo/json5/README.md create mode 100644 lib/dojo/json5/parse.js create mode 100644 lib/dojo/json5/unicode.js create mode 100644 lib/dojo/json5/util.js (limited to 'lib/dojo') diff --git a/lib/dojo/_base/array.js b/lib/dojo/_base/array.js index abbdec2e9..822cbf5ec 100644 --- a/lib/dojo/_base/array.js +++ b/lib/dojo/_base/array.js @@ -5,4 +5,4 @@ */ //>>built -define("dojo/_base/array",["./kernel","../has","./lang"],function(_1,_2,_3){var _4={},u;function _5(fn){return _4[fn]=new Function("item","index","array",fn);};function _6(_7){var _8=!_7;return function(a,fn,o){var i=0,l=a&&a.length||0,_9;if(l&&typeof a=="string"){a=a.split("");}if(typeof fn=="string"){fn=_4[fn]||_5(fn);}if(o){for(;i0){return _10.lastIndexOf(a,x,_e);}var l=a&&a.length||0,end=up?l+_d:_c,i;if(_e===u){i=up?_c:l+_d;}else{if(_e<0){i=l+_e;if(i<0){i=_c;}}else{i=_e>=l?l+_d:_e;}}if(l&&typeof a=="string"){a=a.split("");}for(;i!=end;i+=_b){if(a[i]==x){return i;}}return -1;};};var _10={every:_6(false),some:_6(true),indexOf:_a(true),lastIndexOf:_a(false),forEach:function(arr,_11,_12){var i=0,l=arr&&arr.length||0;if(l&&typeof arr=="string"){arr=arr.split("");}if(typeof _11=="string"){_11=_4[_11]||_5(_11);}if(_12){for(;i0){return _10.lastIndexOf(a,x,_e);}var l=a&&a.length||0,end=up?l+_d:_c,i;if(_e===u){i=up?_c:l+_d;}else{if(_e<0){i=l+_e;if(i<0){i=_c;}}else{i=_e>=l?l+_d:_e;}}if(l&&typeof a=="string"){a=a.split("");}for(;i!=end;i+=_b){if(a[i]==x){return i;}}return -1;};};var _10={every:_6(false),some:_6(true),indexOf:_a(true),lastIndexOf:_a(false),forEach:function(arr,_11,_12){var i=0,l=arr&&arr.length||0;if(l&&typeof arr=="string"){arr=arr.split("");}if(typeof _11=="string"){if(_2("csp-restrictions")){throw new TypeError("callback must be a function");}else{_11=_4[_11]||_5(_11);}}if(_12){for(;i>built -define("dojo/_base/fx",["./kernel","./config","./lang","../Evented","./Color","../aspect","../sniff","../dom","../dom-style"],function(_1,_2,_3,_4,_5,_6,_7,_8,_9){var _a=_3.mixin;var _b={};var _c=_b._Line=function(_d,_e){this.start=_d;this.end=_e;};_c.prototype.getValue=function(n){return ((this.end-this.start)*n)+this.start;};var _f=_b.Animation=function(_10){_a(this,_10);if(_3.isArray(this.curve)){this.curve=new _c(this.curve[0],this.curve[1]);}};_f.prototype=new _4();_3.extend(_f,{duration:350,repeat:0,rate:20,_percent:0,_startRepeatCount:0,_getStep:function(){var _11=this._percent,_12=this.easing;return _12?_12(_11):_11;},_fire:function(evt,_13){var a=_13||[];if(this[evt]){if(_2.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(_14,_15){var _16=this;if(_16._delayTimer){_16._clearTimer();}if(_15){_16._stopTimer();_16._active=_16._paused=false;_16._percent=0;}else{if(_16._active&&!_16._paused){return _16;}}_16._fire("beforeBegin",[_16.node]);var de=_14||_16.delay,_17=_3.hitch(_16,"_play",_15);if(de>0){_16._delayTimer=setTimeout(_17,de);return _16;}_17();return _16;},_play:function(_18){var _19=this;if(_19._delayTimer){_19._clearTimer();}_19._startTime=new Date().valueOf();if(_19._paused){_19._startTime-=_19.duration*_19._percent;}_19._active=true;_19._paused=false;var _1a=_19.curve.getValue(_19._getStep());if(!_19._percent){if(!_19._startRepeatCount){_19._startRepeatCount=_19.repeat;}_19._fire("onBegin",[_1a]);}_19._fire("onPlay",[_1a]);_19._cycle();return _19;},pause:function(){var _1b=this;if(_1b._delayTimer){_1b._clearTimer();}_1b._stopTimer();if(!_1b._active){return _1b;}_1b._paused=true;_1b._fire("onPause",[_1b.curve.getValue(_1b._getStep())]);return _1b;},gotoPercent:function(_1c,_1d){var _1e=this;_1e._stopTimer();_1e._active=_1e._paused=true;_1e._percent=_1c;if(_1d){_1e.play();}return _1e;},stop:function(_1f){var _20=this;if(_20._delayTimer){_20._clearTimer();}if(!_20._timer){return _20;}_20._stopTimer();if(_1f){_20._percent=1;}_20._fire("onStop",[_20.curve.getValue(_20._getStep())]);_20._active=_20._paused=false;return _20;},destroy:function(){this.stop();},status:function(){if(this._active){return this._paused?"paused":"playing";}return "stopped";},_cycle:function(){var _21=this;if(_21._active){var _22=new Date().valueOf();var _23=_21.duration===0?1:(_22-_21._startTime)/(_21.duration);if(_23>=1){_23=1;}_21._percent=_23;if(_21.easing){_23=_21.easing(_23);}_21._fire("onAnimate",[_21.curve.getValue(_23)]);if(_21._percent<1){_21._startTimer();}else{_21._active=false;if(_21.repeat>0){_21.repeat--;_21.play(null,true);}else{if(_21.repeat==-1){_21.play(null,true);}else{if(_21._startRepeatCount){_21.repeat=_21._startRepeatCount;_21._startRepeatCount=0;}}}_21._percent=0;_21._fire("onEnd",[_21.node]);!_21.repeat&&_21._stopTimer();}}return _21;},_clearTimer:function(){clearTimeout(this._delayTimer);delete this._delayTimer;}});var ctr=0,_24=null,_25={run:function(){}};_3.extend(_f,{_startTimer:function(){if(!this._timer){this._timer=_6.after(_25,"run",_3.hitch(this,"_cycle"),true);ctr++;}if(!_24){_24=setInterval(_3.hitch(_25,"run"),this.rate);}},_stopTimer:function(){if(this._timer){this._timer.remove();this._timer=null;ctr--;}if(ctr<=0){clearInterval(_24);_24=null;ctr=0;}}});var _26=_7("ie")?function(_27){var ns=_27.style;if(!ns.width.length&&_9.get(_27,"width")=="auto"){ns.width="auto";}}:function(){};_b._fade=function(_28){_28.node=_8.byId(_28.node);var _29=_a({properties:{}},_28),_2a=(_29.properties.opacity={});_2a.start=!("start" in _29)?function(){return +_9.get(_29.node,"opacity")||0;}:_29.start;_2a.end=_29.end;var _2b=_b.animateProperty(_29);_6.after(_2b,"beforeBegin",_3.partial(_26,_29.node),true);return _2b;};_b.fadeIn=function(_2c){return _b._fade(_a({end:1},_2c));};_b.fadeOut=function(_2d){return _b._fade(_a({end:0},_2d));};_b._defaultEasing=function(n){return 0.5+((Math.sin((n+1.5)*Math.PI))/2);};var _2e=function(_2f){this._properties=_2f;for(var p in _2f){var _30=_2f[p];if(_30.start instanceof _5){_30.tempColor=new _5();}}};_2e.prototype.getValue=function(r){var ret={};for(var p in this._properties){var _31=this._properties[p],_32=_31.start;if(_32 instanceof _5){ret[p]=_5.blendColors(_32,_31.end,r,_31.tempColor).toCss();}else{if(!_3.isArray(_32)){ret[p]=((_31.end-_32)*r)+_32+(p!="opacity"?_31.units||"px":0);}}}return ret;};_b.animateProperty=function(_33){var n=_33.node=_8.byId(_33.node);if(!_33.easing){_33.easing=_1._defaultEasing;}var _34=new _f(_33);_6.after(_34,"beforeBegin",_3.hitch(_34,function(){var pm={};for(var p in this.properties){if(p=="width"||p=="height"){this.node.display="block";}var _35=this.properties[p];if(_3.isFunction(_35)){_35=_35(n);}_35=pm[p]=_a({},(_3.isObject(_35)?_35:{end:_35}));if(_3.isFunction(_35.start)){_35.start=_35.start(n);}if(_3.isFunction(_35.end)){_35.end=_35.end(n);}var _36=(p.toLowerCase().indexOf("color")>=0);function _37(_38,p){var v={height:_38.offsetHeight,width:_38.offsetWidth}[p];if(v!==undefined){return v;}v=_9.get(_38,p);return (p=="opacity")?+v:(_36?v:parseFloat(v));};if(!("end" in _35)){_35.end=_37(n,p);}else{if(!("start" in _35)){_35.start=_37(n,p);}}if(_36){_35.start=new _5(_35.start);_35.end=new _5(_35.end);}else{_35.start=(p=="opacity")?+_35.start:parseFloat(_35.start);}}this.curve=new _2e(pm);}),true);_6.after(_34,"onAnimate",_3.hitch(_9,"set",_34.node),true);return _34;};_b.anim=function(_39,_3a,_3b,_3c,_3d,_3e){return _b.animateProperty({node:_39,duration:_3b||_f.prototype.duration,properties:_3a,easing:_3c,onEnd:_3d}).play(_3e||0);};if(1){_a(_1,_b);_1._Animation=_f;}return _b;}); \ No newline at end of file +define("dojo/_base/fx",["./kernel","./config","./lang","../Evented","./Color","../aspect","../sniff","../dom","../dom-style"],function(_1,_2,_3,_4,_5,_6,_7,_8,_9){var _a=_3.mixin;var _b={};var _c=_b._Line=function(_d,_e){this.start=_d;this.end=_e;};_c.prototype.getValue=function(n){return ((this.end-this.start)*n)+this.start;};var _f=_b.Animation=function(_10){_a(this,_10);if(_3.isArray(this.curve)){this.curve=new _c(this.curve[0],this.curve[1]);}};_f.prototype=new _4();_3.extend(_f,{duration:350,repeat:0,rate:20,_percent:0,_startRepeatCount:0,_getStep:function(){var _11=this._percent,_12=this.easing;return _12?_12(_11):_11;},_fire:function(evt,_13){var a=_13||[];if(this[evt]){if(_2.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(_14,_15){var _16=this;if(_16._delayTimer){_16._clearTimer();}if(_15){_16._stopTimer();_16._active=_16._paused=false;_16._percent=0;}else{if(_16._active&&!_16._paused){return _16;}}_16._fire("beforeBegin",[_16.node]);var de=_14||_16.delay,_17=_3.hitch(_16,"_play",_15);if(de>0){_16._delayTimer=setTimeout(_17,de);return _16;}_17();return _16;},_play:function(_18){var _19=this;if(_19._delayTimer){_19._clearTimer();}_19._startTime=new Date().valueOf();if(_19._paused){_19._startTime-=_19.duration*_19._percent;}_19._active=true;_19._paused=false;var _1a=_19.curve.getValue(_19._getStep());if(!_19._percent){if(!_19._startRepeatCount){_19._startRepeatCount=_19.repeat;}_19._fire("onBegin",[_1a]);}_19._fire("onPlay",[_1a]);_19._cycle();return _19;},pause:function(){var _1b=this;if(_1b._delayTimer){_1b._clearTimer();}_1b._stopTimer();if(!_1b._active){return _1b;}_1b._paused=true;_1b._fire("onPause",[_1b.curve.getValue(_1b._getStep())]);return _1b;},gotoPercent:function(_1c,_1d){var _1e=this;_1e._stopTimer();_1e._active=_1e._paused=true;_1e._percent=_1c;if(_1d){_1e.play();}return _1e;},stop:function(_1f){var _20=this;if(_20._delayTimer){_20._clearTimer();}if(!_20._timer){return _20;}_20._stopTimer();if(_1f){_20._percent=1;}_20._fire("onStop",[_20.curve.getValue(_20._getStep())]);_20._active=_20._paused=false;return _20;},destroy:function(){this.stop();},status:function(){if(this._active){return this._paused?"paused":"playing";}return "stopped";},_cycle:function(){var _21=this;if(_21._active){var _22=new Date().valueOf();var _23=_21.duration===0?1:(_22-_21._startTime)/(_21.duration);if(_23>=1){_23=1;}_21._percent=_23;if(_21.easing){_23=_21.easing(_23);}_21._fire("onAnimate",[_21.curve.getValue(_23)]);if(_21._percent<1){_21._startTimer();}else{_21._active=false;if(_21.repeat>0){_21.repeat--;_21.play(null,true);}else{if(_21.repeat==-1){_21.play(null,true);}else{if(_21._startRepeatCount){_21.repeat=_21._startRepeatCount;_21._startRepeatCount=0;}}}_21._percent=0;_21._fire("onEnd",[_21.node]);!_21.repeat&&_21._stopTimer();}}return _21;},_clearTimer:function(){clearTimeout(this._delayTimer);delete this._delayTimer;}});var ctr=0,_24=null,_25={run:function(){}};_3.extend(_f,{_startTimer:function(){if(!this._timer){this._timer=_6.after(_25,"run",_3.hitch(this,"_cycle"),true);ctr++;}if(!_24){_24=setInterval(_3.hitch(_25,"run"),this.rate);}},_stopTimer:function(){if(this._timer){this._timer.remove();this._timer=null;ctr--;}if(ctr<=0){clearInterval(_24);_24=null;ctr=0;}}});var _26=_7("ie")?function(_27){var ns=_27.style;if(!ns.width.length&&_9.get(_27,"width")=="auto"){ns.width="auto";}}:function(){};_b._fade=function(_28){_28.node=_8.byId(_28.node);var _29=_a({properties:{}},_28),_2a=(_29.properties.opacity={});_2a.start=!("start" in _29)?function(){return +_9.get(_29.node,"opacity")||0;}:_29.start;_2a.end=_29.end;var _2b=_b.animateProperty(_29);_6.after(_2b,"beforeBegin",_3.partial(_26,_29.node),true);return _2b;};_b.fadeIn=function(_2c){return _b._fade(_a({end:1},_2c));};_b.fadeOut=function(_2d){return _b._fade(_a({end:0},_2d));};_b._defaultEasing=function(n){return 0.5+((Math.sin((n+1.5)*Math.PI))/2);};var _2e=function(_2f){this._properties=_2f;for(var p in _2f){var _30=_2f[p];if(_30.start instanceof _5){_30.tempColor=new _5();}}};_2e.prototype.getValue=function(r){var ret={};for(var p in this._properties){var _31=this._properties[p],_32=_31.start;if(_32 instanceof _5){ret[p]=_5.blendColors(_32,_31.end,r,_31.tempColor).toCss();}else{if(!_3.isArray(_32)){ret[p]=((_31.end-_32)*r)+_32+(p!="opacity"?_31.units||"px":0);}}}return ret;};_b.animateProperty=function(_33){var n=_33.node=_8.byId(_33.node);if(!_33.easing){_33.easing=_1._defaultEasing;}var _34=new _f(_33);_6.after(_34,"beforeBegin",_3.hitch(_34,function(){var pm={};for(var p in this.properties){if(p=="width"||p=="height"){this.node.display="block";}var _35=this.properties[p];if(_3.isFunction(_35)){_35=_35(n);}_35=pm[p]=_a({},(_3.isObject(_35)?_35:{end:_35}));if(_3.isFunction(_35.start)){_35.start=_35.start(n);}if(_3.isFunction(_35.end)){_35.end=_35.end(n);}var _36=(p.toLowerCase().indexOf("color")>=0);var _37=function _37(_38,p){var v={height:_38.offsetHeight,width:_38.offsetWidth}[p];if(v!==undefined){return v;}v=_9.get(_38,p);return (p=="opacity")?+v:(_36?v:parseFloat(v));};if(!("end" in _35)){_35.end=_37(n,p);}else{if(!("start" in _35)){_35.start=_37(n,p);}}if(_36){_35.start=new _5(_35.start);_35.end=new _5(_35.end);}else{_35.start=(p=="opacity")?+_35.start:parseFloat(_35.start);}}this.curve=new _2e(pm);}),true);_6.after(_34,"onAnimate",_3.hitch(_9,"set",_34.node),true);return _34;};_b.anim=function(_39,_3a,_3b,_3c,_3d,_3e){return _b.animateProperty({node:_39,duration:_3b||_f.prototype.duration,properties:_3a,easing:_3c,onEnd:_3d}).play(_3e||0);};if(1){_a(_1,_b);_1._Animation=_f;}return _b;}); \ No newline at end of file diff --git a/lib/dojo/_base/kernel.js b/lib/dojo/_base/kernel.js index 1ae6bea75..a36058fe8 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: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 +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:17,patch:3,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/dojo.js b/lib/dojo/dojo.js index 795fcc810..0d0780541 100644 --- a/lib/dojo/dojo.js +++ b/lib/dojo/dojo.js @@ -5,4 +5,4 @@ */ //>>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==="__proto__"||p==="constructor"){return;}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);var _4f8=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 -define("dojo/i18n",["./_base/kernel","require","./has","./_base/array","./_base/config","./_base/lang","./_base/xhr","./json","module"],function(_1,_2,_3,_4,_5,_6,_7,_8,_9){_3.add("dojo-preload-i18n-Api",1);1||_3.add("dojo-v1x-i18n-Api",1);var _a=_1.i18n={},_b=/(^.*(^|\/)nls)(\/|$)([^\/]*)\/?([^\/]*)/,_c=function(_d,_e,_f,_10){for(var _11=[_f+_10],_12=_e.split("-"),_13="",i=0;i<_12.length;i++){_13+=(_13?"-":"")+_12[i];if(!_d||_d[_13]){_11.push(_f+_13+"/"+_10);_11.specificity=_13;}}return _11;},_14={},_15=function(_16,_17,_18){_18=_18?_18.toLowerCase():_1.locale;_16=_16.replace(/\./g,"/");_17=_17.replace(/\./g,"/");return (/root/i.test(_18))?(_16+"/nls/"+_17):(_16+"/nls/"+_18+"/"+_17);},_19=_1.getL10nName=function(_1a,_1b,_1c){return _1a=_9.id+"!"+_15(_1a,_1b,_1c);},_1d=function(_1e,_1f,_20,_21,_22,_23){_1e([_1f],function(_24){var _25=_6.clone(_24.root||_24.ROOT),_26=_c(!_24._v1x&&_24,_22,_20,_21);_1e(_26,function(){for(var i=1;i<_26.length;i++){_25=_6.mixin(_6.clone(_25),arguments[i]);}var _27=_1f+"/"+_22;_14[_27]=_25;_25.$locale=_26.specificity;_23();});});},_28=function(id,_29){return /^\./.test(id)?_29(id):id;},_2a=function(_2b){var _2c=_5.extraLocale||[];_2c=_6.isArray(_2c)?_2c:[_2c];_2c.push(_2b);return _2c;},_2d=function(id,_2e,_2f){var _30=_b.exec(id),_31=_30[1]+"/",_32=_30[5]||_30[4],_33=_31+_32,_34=(_30[5]&&_30[4]),_35=_34||_1.locale||"",_36=_33+"/"+_35,_37=_34?[_35]:_2a(_35),_38=_37.length,_39=function(){if(!--_38){_2f(_6.delegate(_14[_36]));}},_3a=id.split("*"),_3b=_3a[1]=="preload";if(_3("dojo-preload-i18n-Api")){if(_3b){if(!_14[id]){_14[id]=1;_46(_3a[2],_8.parse(_3a[3]),1,_2e);}_2f(1);}if(_3b||(_67(id,_2e,_2f)&&!_14[_36])){return;}}else{if(_3b){_2f(1);return;}}_4.forEach(_37,function(_3c){var _3d=_33+"/"+_3c;if(_3("dojo-preload-i18n-Api")){_3e(_3d);}if(!_14[_3d]){_1d(_2e,_33,_31,_32,_3c,_39);}else{_39();}});};if(_3("dojo-preload-i18n-Api")||1){var _3f=_a.normalizeLocale=function(_40){var _41=_40?_40.toLowerCase():_1.locale;return _41=="root"?"ROOT":_41;},_42=function(mid,_43){return (1&&1)?_43.isXdUrl(_2.toUrl(mid+".js")):true;},_44=0,_45=[],_46=_a._preloadLocalizations=function(_47,_48,_49,_4a){_4a=_4a||_2;function _4b(mid,_4c){if(_42(mid,_4a)||_49){_4a([mid],_4c);}else{_6d([mid],_4c,_4a);}};function _4d(_4e,_4f){var _50=_4e.split("-");while(_50.length){if(_4f(_50.join("-"))){return;}_50.pop();}_4f("ROOT");};function _51(){_44++;};function _52(){--_44;while(!_44&&_45.length){_2d.apply(null,_45.shift());}};function _53(_54,_55,loc,_56){return _56.toAbsMid(_54+_55+"/"+loc);};function _57(_58){_58=_3f(_58);_4d(_58,function(loc){if(_4.indexOf(_48,loc)>=0){var mid=_47.replace(/\./g,"/")+"_"+loc;_51();_4b(mid,function(_59){for(var p in _59){var _5a=_59[p],_5b=p.match(/(.+)\/([^\/]+)$/),_5c,_5d;if(!_5b){continue;}_5c=_5b[2];_5d=_5b[1]+"/";if(!_5a._localized){continue;}var _5e;if(loc==="ROOT"){var _5f=_5e=_5a._localized;delete _5a._localized;_5f.root=_5a;_14[_2.toAbsMid(p)]=_5f;}else{_5e=_5a._localized;_14[_53(_5d,_5c,loc,_2)]=_5a;}if(loc!==_58){function _60(_61,_62,_63,_64){var _65=[],_66=[];_4d(_58,function(loc){if(_64[loc]){_65.push(_2.toAbsMid(_61+loc+"/"+_62));_66.push(_53(_61,_62,loc,_2));}});if(_65.length){_51();_4a(_65,function(){for(var i=_65.length-1;i>=0;i--){_63=_6.mixin(_6.clone(_63),arguments[i]);_14[_66[i]]=_63;}_14[_53(_61,_62,_58,_2)]=_6.clone(_63);_52();});}else{_14[_53(_61,_62,_58,_2)]=_63;}};_60(_5d,_5c,_5a,_5e);}}_52();});return true;}return false;});};_57();_4.forEach(_1.config.extraLocale,_57);},_67=function(id,_68,_69){if(_44){_45.push([id,_68,_69]);}return _44;},_3e=function(){};}if(1){var _6a={},_6b={},_6c,_6d=function(_6e,_6f,_70){var _71=[];_4.forEach(_6e,function(mid){var url=_70.toUrl(mid+".js");function _2d(_72){if(!_6c){_6c=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 _73=_6c(_72,_3e,mid,_6a);if(_73===_6a){_71.push(_14[url]=_6a.result);}else{if(_73 instanceof Error){console.error("failed to evaluate i18n bundle; url="+url,_73);_73={};}_71.push(_14[url]=(/nls\/[^\/]+\/[^\/]+$/.test(url)?_73:{root:_73,_v1x:1}));}};if(_14[url]){_71.push(_14[url]);}else{var _74=_70.syncLoadNls(mid);if(!_74){_74=_3e(mid.replace(/nls\/([^\/]*)\/([^\/]*)$/,"nls/$2/$1"));}if(_74){_71.push(_74);}else{if(!_7){try{_70.getText(url,true,_2d);}catch(e){_71.push(_14[url]={});}}else{_7.get({url:url,sync:true,load:_2d,error:function(){_71.push(_14[url]={});}});}}}});_6f&&_6f.apply(null,_71);};_3e=function(_75){for(var _76,_77=_75.split("/"),_78=_1.global[_77[0]],i=1;_78&&i<_77.length-1;_78=_78[_77[i++]]){}if(_78){_76=_78[_77[i]];if(!_76){_76=_78[_77[i].replace(/-/g,"_")];}if(_76){_14[_75]=_76;}}return _76;};_a.getLocalization=function(_79,_7a,_7b){var _7c,_7d=_15(_79,_7a,_7b);if(_6b[_7d]){return _6b[_7d];}_2d(_7d,(!_42(_7d,_2)?function(_7e,_7f){_6d(_7e,_7f,_2);}:_2),function(_80){_6b[_7d]=_80;_7c=_80;});return _7c;};}else{_a.getLocalization=function(_81,_82,_83){var key=_81.replace(/\./g,"/")+"/nls/"+_82+"/"+(_83||_5.locale);return this.cache[key];};}return _6.mixin(_a,{dynamic:true,normalize:_28,load:_2d,cache:_14,getL10nName:_19});}); \ No newline at end of file +define("dojo/i18n",["./_base/kernel","require","./has","./_base/array","./_base/config","./_base/lang","./_base/xhr","./json","module"],function(_1,_2,_3,_4,_5,_6,_7,_8,_9){_3.add("dojo-preload-i18n-Api",1);1||_3.add("dojo-v1x-i18n-Api",1);var _a=_1.i18n={},_b=/(^.*(^|\/)nls)(\/|$)([^\/]*)\/?([^\/]*)/,_c=function(_d,_e,_f,_10){for(var _11=[_f+_10],_12=_e.split("-"),_13="",i=0;i<_12.length;i++){_13+=(_13?"-":"")+_12[i];if(!_d||_d[_13]){_11.push(_f+_13+"/"+_10);_11.specificity=_13;}}return _11;},_14={},_15=function(_16,_17,_18){_18=_18?_18.toLowerCase():_1.locale;_16=_16.replace(/\./g,"/");_17=_17.replace(/\./g,"/");return (/root/i.test(_18))?(_16+"/nls/"+_17):(_16+"/nls/"+_18+"/"+_17);},_19=_1.getL10nName=function(_1a,_1b,_1c){return _1a=_9.id+"!"+_15(_1a,_1b,_1c);},_1d=function(_1e,_1f,_20,_21,_22,_23){_1e([_1f],function(_24){var _25=_6.clone(_24.root||_24.ROOT),_26=_c(!_24._v1x&&_24,_22,_20,_21);_1e(_26,function(){for(var i=1;i<_26.length;i++){_25=_6.mixin(_6.clone(_25),arguments[i]);}var _27=_1f+"/"+_22;_14[_27]=_25;_25.$locale=_26.specificity;_23();});});},_28=function(id,_29){return /^\./.test(id)?_29(id):id;},_2a=function(_2b){var _2c=_5.extraLocale||[];_2c=_6.isArray(_2c)?_2c:[_2c];_2c.push(_2b);return _2c;},_2d=function(id,_2e,_2f){var _30=_b.exec(id),_31=_30[1]+"/",_32=_30[5]||_30[4],_33=_31+_32,_34=(_30[5]&&_30[4]),_35=_34||_1.locale||"",_36=_33+"/"+_35,_37=_34?[_35]:_2a(_35),_38=_37.length,_39=function(){if(!--_38){_2f(_6.delegate(_14[_36]));}},_3a=id.split("*"),_3b=_3a[1]=="preload";if(_3("dojo-preload-i18n-Api")){if(_3b){if(!_14[id]){_14[id]=1;_46(_3a[2],_8.parse(_3a[3]),1,_2e);}_2f(1);}if(_3b||(_67(id,_2e,_2f)&&!_14[_36])){return;}}else{if(_3b){_2f(1);return;}}_4.forEach(_37,function(_3c){var _3d=_33+"/"+_3c;if(_3("dojo-preload-i18n-Api")){_3e(_3d);}if(!_14[_3d]){_1d(_2e,_33,_31,_32,_3c,_39);}else{_39();}});};if(_3("dojo-preload-i18n-Api")||1){var _3f=_a.normalizeLocale=function(_40){var _41=_40?_40.toLowerCase():_1.locale;return _41=="root"?"ROOT":_41;},_42=function(mid,_43){return (1&&1)?_43.isXdUrl(_2.toUrl(mid+".js")):true;},_44=0,_45=[],_46=_a._preloadLocalizations=function(_47,_48,_49,_4a){_4a=_4a||_2;function _4b(mid,_4c){if(_42(mid,_4a)||_49){_4a([mid],_4c);}else{_6d([mid],_4c,_4a);}};function _4d(_4e,_4f){var _50=_4e.split("-");while(_50.length){if(_4f(_50.join("-"))){return;}_50.pop();}_4f("ROOT");};function _51(){_44++;};function _52(){--_44;while(!_44&&_45.length){_2d.apply(null,_45.shift());}};function _53(_54,_55,loc,_56){return _56.toAbsMid(_54+_55+"/"+loc);};function _57(_58){_58=_3f(_58);_4d(_58,function(loc){if(_4.indexOf(_48,loc)>=0){var mid=_47.replace(/\./g,"/")+"_"+loc;_51();_4b(mid,function(_59){for(var p in _59){var _5a=_59[p],_5b=p.match(/(.+)\/([^\/]+)$/),_5c,_5d;if(!_5b){continue;}_5c=_5b[2];_5d=_5b[1]+"/";if(!_5a._localized){continue;}var _5e;if(loc==="ROOT"){var _5f=_5e=_5a._localized;delete _5a._localized;_5f.root=_5a;_14[_2.toAbsMid(p)]=_5f;}else{_5e=_5a._localized;_14[_53(_5d,_5c,loc,_2)]=_5a;}if(loc!==_58){var _60=function _60(_61,_62,_63,_64){var _65=[],_66=[];_4d(_58,function(loc){if(_64[loc]){_65.push(_2.toAbsMid(_61+loc+"/"+_62));_66.push(_53(_61,_62,loc,_2));}});if(_65.length){_51();_4a(_65,function(){for(var i=_65.length-1;i>=0;i--){_63=_6.mixin(_6.clone(_63),arguments[i]);_14[_66[i]]=_63;}_14[_53(_61,_62,_58,_2)]=_6.clone(_63);_52();});}else{_14[_53(_61,_62,_58,_2)]=_63;}};_60(_5d,_5c,_5a,_5e);}}_52();});return true;}return false;});};_57();_4.forEach(_1.config.extraLocale,_57);},_67=function(id,_68,_69){if(_44){_45.push([id,_68,_69]);}return _44;},_3e=function(){};}if(1){var _6a={},_6b={},_6c,_6d=function(_6e,_6f,_70){var _71=[];_4.forEach(_6e,function(mid){var url=_70.toUrl(mid+".js");function _2d(_72){if(!_6c){_6c=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 _73=_6c(_72,_3e,mid,_6a);if(_73===_6a){_71.push(_14[url]=_6a.result);}else{if(_73 instanceof Error){console.error("failed to evaluate i18n bundle; url="+url,_73);_73={};}_71.push(_14[url]=(/nls\/[^\/]+\/[^\/]+$/.test(url)?_73:{root:_73,_v1x:1}));}};if(_14[url]){_71.push(_14[url]);}else{var _74=_70.syncLoadNls(mid);if(!_74){_74=_3e(mid.replace(/nls\/([^\/]*)\/([^\/]*)$/,"nls/$2/$1"));}if(_74){_71.push(_74);}else{if(!_7){try{_70.getText(url,true,_2d);}catch(e){_71.push(_14[url]={});}}else{_7.get({url:url,sync:true,load:_2d,error:function(){_71.push(_14[url]={});}});}}}});_6f&&_6f.apply(null,_71);};_3e=function(_75){for(var _76,_77=_75.split("/"),_78=_1.global[_77[0]],i=1;_78&&i<_77.length-1;_78=_78[_77[i++]]){}if(_78){_76=_78[_77[i]];if(!_76){_76=_78[_77[i].replace(/-/g,"_")];}if(_76){_14[_75]=_76;}}return _76;};_a.getLocalization=function(_79,_7a,_7b){var _7c,_7d=_15(_79,_7a,_7b);if(_6b[_7d]){return _6b[_7d];}_2d(_7d,(!_42(_7d,_2)?function(_7e,_7f){_6d(_7e,_7f,_2);}:_2),function(_80){_6b[_7d]=_80;_7c=_80;});return _7c;};}else{_a.getLocalization=function(_81,_82,_83){var key=_81.replace(/\./g,"/")+"/nls/"+_82+"/"+(_83||_5.locale);return this.cache[key];};}return _6.mixin(_a,{dynamic:true,normalize:_28,load:_2d,cache:_14,getL10nName:_19});}); \ No newline at end of file diff --git a/lib/dojo/json5.js b/lib/dojo/json5.js new file mode 100644 index 000000000..37fda1286 --- /dev/null +++ b/lib/dojo/json5.js @@ -0,0 +1,8 @@ +/* + Copyright (c) 2004-2016, The JS Foundation All Rights Reserved. + Available via Academic Free License >= 2.1 OR the modified BSD license. + see: http://dojotoolkit.org/license for details +*/ + +//>>built +define("dojo/json5",["./json5/parse"],function(_1){return {parse:_1};}); \ No newline at end of file diff --git a/lib/dojo/json5/LICENSE.md b/lib/dojo/json5/LICENSE.md new file mode 100644 index 000000000..2171aca5a --- /dev/null +++ b/lib/dojo/json5/LICENSE.md @@ -0,0 +1,23 @@ +MIT License + +Copyright (c) 2012-2018 Aseem Kishore, and [others]. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +[others]: https://github.com/json5/json5/contributors diff --git a/lib/dojo/json5/README.md b/lib/dojo/json5/README.md new file mode 100644 index 000000000..80c6df705 --- /dev/null +++ b/lib/dojo/json5/README.md @@ -0,0 +1,28 @@ +These modules are adapted from the [JSON5](https://github.com/json5/json5) project. JSON5 was adopted by +the Dojo Toolkit for use by `dojo/parser` to facilitate parsing data attributes without using the unsafe +JavaScript function `eval()`. As such only the parsing related modules from JSON5 are included. + +Updates from the JSON5 project can be incorporated into the Dojo Toolkit with the following process: + +* Clone the [JSON5 repository](https://github.com/json5/json5.git) +* Convert the relevant files to ES5 syntax with TypeScript's compiler: +```bash +tsc lib/parse.js lib/unicode.js lib/util.js --allowJs --module ES6 --outDir dojo --removeComments --target ES5 +``` +* Visually compare the existing modules in `dojo/json5` with the newly converted modules to see what changes will need +to be made +* Copy the files from the `json5/dojo` folder to the `dojo/json5` folder +* Manual updates: + * IMPORTANT: wrap the `lexStates` object property `default:` in quotes => `'default':` + * convert indentation to tabs in each module + * remove any trailing commas + * convert each module to AMD syntax +* Update `json5/parse.js` to use `dojo/string` methods for ES5 String methods: + * require `'../string'` as `dstring` + * replace calls to `codePointAt` with `dstring.codePointAt(str, position)` + * replace calls to `String.fromCodePoint` with `dstring.fromCodePoint` +* Run Dojo's JSON5 tests to ensure the updates were successful: + * `dojo/node_modules/intern-geezer/client.html?config=tests/dojo.intern&suites=tests/unit/json5` +* Update the line below recording the most recent update + +Current as of 2020-06-12, commit [32bb2cd](https://github.com/json5/json5/commit/32bb2cdae4864b2ac80a6d9b4045efc4cc54f47a) diff --git a/lib/dojo/json5/parse.js b/lib/dojo/json5/parse.js new file mode 100644 index 000000000..2630ab213 --- /dev/null +++ b/lib/dojo/json5/parse.js @@ -0,0 +1,8 @@ +/* + Copyright (c) 2004-2016, The JS Foundation All Rights Reserved. + Available via Academic Free License >= 2.1 OR the modified BSD license. + see: http://dojotoolkit.org/license for details +*/ + +//>>built +define("dojo/json5/parse",["../string","./util"],function(_1,_2){var _3;var _4;var _5;var _6;var _7;var _8;var _9;var _a;var _b;function _c(_d,_e){_3=String(_d);_4="start";_5=[];_6=0;_7=1;_8=0;_9=undefined;_a=undefined;_b=undefined;do{_9=_f();_10[_4]();}while(_9.type!=="eof");if(typeof _e==="function"){return _11({"":_b},"",_e);}return _b;};function _11(_12,_13,_14){var _15=_12[_13];if(_15!=null&&typeof _15==="object"){for(var _16 in _15){var _17=_11(_15,_16,_14);if(_17===undefined){delete _15[_16];}else{_15[_16]=_17;}}}return _14.call(_12,_13,_15);};var _18;var _19;var _1a;var _1b;var c;function _f(){_18="default";_19="";_1a=false;_1b=1;for(;;){c=_1c();var _1d=_1e[_18]();if(_1d){return _1d;}}};function _1c(){if(_3[_6]){return _1.fromCodePoint(_1.codePointAt(_3,_6));}};function _1f(){var c=_1c();if(c==="\n"){_7++;_8=0;}else{if(c){_8+=c.length;}else{_8++;}}if(c){_6+=c.length;}return c;};var _1e={"default":function(){switch(c){case "\t":case "\v":case "\f":case " ":case " ":case "":case "\n":case "\r":case "
":case "
":_1f();return;case "/":_1f();_18="comment";return;case undefined:_1f();return _20("eof");}if(_2.isSpaceSeparator(c)){_1f();return;}return _1e[_4]();},comment:function(){switch(c){case "*":_1f();_18="multiLineComment";return;case "/":_1f();_18="singleLineComment";return;}throw _21(_1f());},multiLineComment:function(){switch(c){case "*":_1f();_18="multiLineCommentAsterisk";return;case undefined:throw _21(_1f());}_1f();},multiLineCommentAsterisk:function(){switch(c){case "*":_1f();return;case "/":_1f();_18="default";return;case undefined:throw _21(_1f());}_1f();_18="multiLineComment";},singleLineComment:function(){switch(c){case "\n":case "\r":case "
":case "
":_1f();_18="default";return;case undefined:_1f();return _20("eof");}_1f();},value:function(){switch(c){case "{":case "[":return _20("punctuator",_1f());case "n":_1f();_22("ull");return _20("null",null);case "t":_1f();_22("rue");return _20("boolean",true);case "f":_1f();_22("alse");return _20("boolean",false);case "-":case "+":if(_1f()==="-"){_1b=-1;}_18="sign";return;case ".":_19=_1f();_18="decimalPointLeading";return;case "0":_19=_1f();_18="zero";return;case "1":case "2":case "3":case "4":case "5":case "6":case "7":case "8":case "9":_19=_1f();_18="decimalInteger";return;case "I":_1f();_22("nfinity");return _20("numeric",Infinity);case "N":_1f();_22("aN");return _20("numeric",NaN);case "\"":case "'":_1a=(_1f()==="\"");_19="";_18="string";return;}throw _21(_1f());},identifierNameStartEscape:function(){if(c!=="u"){throw _21(_1f());}_1f();var u=_23();switch(u){case "$":case "_":break;default:if(!_2.isIdStartChar(u)){throw _24();}break;}_19+=u;_18="identifierName";},identifierName:function(){switch(c){case "$":case "_":case "‌":case "‍":_19+=_1f();return;case "\\":_1f();_18="identifierNameEscape";return;}if(_2.isIdContinueChar(c)){_19+=_1f();return;}return _20("identifier",_19);},identifierNameEscape:function(){if(c!=="u"){throw _21(_1f());}_1f();var u=_23();switch(u){case "$":case "_":case "‌":case "‍":break;default:if(!_2.isIdContinueChar(u)){throw _24();}break;}_19+=u;_18="identifierName";},sign:function(){switch(c){case ".":_19=_1f();_18="decimalPointLeading";return;case "0":_19=_1f();_18="zero";return;case "1":case "2":case "3":case "4":case "5":case "6":case "7":case "8":case "9":_19=_1f();_18="decimalInteger";return;case "I":_1f();_22("nfinity");return _20("numeric",_1b*Infinity);case "N":_1f();_22("aN");return _20("numeric",NaN);}throw _21(_1f());},zero:function(){switch(c){case ".":_19+=_1f();_18="decimalPoint";return;case "e":case "E":_19+=_1f();_18="decimalExponent";return;case "x":case "X":_19+=_1f();_18="hexadecimal";return;}return _20("numeric",_1b*0);},decimalInteger:function(){switch(c){case ".":_19+=_1f();_18="decimalPoint";return;case "e":case "E":_19+=_1f();_18="decimalExponent";return;}if(_2.isDigit(c)){_19+=_1f();return;}return _20("numeric",_1b*Number(_19));},decimalPointLeading:function(){if(_2.isDigit(c)){_19+=_1f();_18="decimalFraction";return;}throw _21(_1f());},decimalPoint:function(){switch(c){case "e":case "E":_19+=_1f();_18="decimalExponent";return;}if(_2.isDigit(c)){_19+=_1f();_18="decimalFraction";return;}return _20("numeric",_1b*Number(_19));},decimalFraction:function(){switch(c){case "e":case "E":_19+=_1f();_18="decimalExponent";return;}if(_2.isDigit(c)){_19+=_1f();return;}return _20("numeric",_1b*Number(_19));},decimalExponent:function(){switch(c){case "+":case "-":_19+=_1f();_18="decimalExponentSign";return;}if(_2.isDigit(c)){_19+=_1f();_18="decimalExponentInteger";return;}throw _21(_1f());},decimalExponentSign:function(){if(_2.isDigit(c)){_19+=_1f();_18="decimalExponentInteger";return;}throw _21(_1f());},decimalExponentInteger:function(){if(_2.isDigit(c)){_19+=_1f();return;}return _20("numeric",_1b*Number(_19));},hexadecimal:function(){if(_2.isHexDigit(c)){_19+=_1f();_18="hexadecimalInteger";return;}throw _21(_1f());},hexadecimalInteger:function(){if(_2.isHexDigit(c)){_19+=_1f();return;}return _20("numeric",_1b*Number(_19));},string:function(){switch(c){case "\\":_1f();_19+=_25();return;case "\"":if(_1a){_1f();return _20("string",_19);}_19+=_1f();return;case "'":if(!_1a){_1f();return _20("string",_19);}_19+=_1f();return;case "\n":case "\r":throw _21(_1f());case "
":case "
":_26(c);break;case undefined:throw _21(_1f());}_19+=_1f();},start:function(){switch(c){case "{":case "[":return _20("punctuator",_1f());}_18="value";},beforePropertyName:function(){switch(c){case "$":case "_":_19=_1f();_18="identifierName";return;case "\\":_1f();_18="identifierNameStartEscape";return;case "}":return _20("punctuator",_1f());case "\"":case "'":_1a=(_1f()==="\"");_18="string";return;}if(_2.isIdStartChar(c)){_19+=_1f();_18="identifierName";return;}throw _21(_1f());},afterPropertyName:function(){if(c===":"){return _20("punctuator",_1f());}throw _21(_1f());},beforePropertyValue:function(){_18="value";},afterPropertyValue:function(){switch(c){case ",":case "}":return _20("punctuator",_1f());}throw _21(_1f());},beforeArrayValue:function(){if(c==="]"){return _20("punctuator",_1f());}_18="value";},afterArrayValue:function(){switch(c){case ",":case "]":return _20("punctuator",_1f());}throw _21(_1f());},end:function(){throw _21(_1f());}};function _20(_27,_28){return {type:_27,value:_28,line:_7,column:_8};};function _22(s){for(var _29=0,s_1=s;_290){var c_2=_1c();if(!_2.isHexDigit(c_2)){throw _21(_1f());}_2c+=_1f();}return _1.fromCodePoint(parseInt(_2c,16));};var _10={start:function(){if(_9.type==="eof"){throw _2e();}_2f();},beforePropertyName:function(){switch(_9.type){case "identifier":case "string":_a=_9.value;_4="afterPropertyName";return;case "punctuator":pop();return;case "eof":throw _2e();}},afterPropertyName:function(){if(_9.type==="eof"){throw _2e();}_4="beforePropertyValue";},beforePropertyValue:function(){if(_9.type==="eof"){throw _2e();}_2f();},beforeArrayValue:function(){if(_9.type==="eof"){throw _2e();}if(_9.type==="punctuator"&&_9.value==="]"){pop();return;}_2f();},afterPropertyValue:function(){if(_9.type==="eof"){throw _2e();}switch(_9.value){case ",":_4="beforePropertyName";return;case "}":pop();}},afterArrayValue:function(){if(_9.type==="eof"){throw _2e();}switch(_9.value){case ",":_4="beforeArrayValue";return;case "]":pop();}},end:function(){}};function _2f(){var _30;switch(_9.type){case "punctuator":switch(_9.value){case "{":_30={};break;case "[":_30=[];break;}break;case "null":case "boolean":case "numeric":case "string":_30=_9.value;break;}if(_b===undefined){_b=_30;}else{var _31=_5[_5.length-1];if(Array.isArray(_31)){_31.push(_30);}else{_31[_a]=_30;}}if(_30!==null&&typeof _30==="object"){_5.push(_30);if(Array.isArray(_30)){_4="beforeArrayValue";}else{_4="beforePropertyName";}}else{var _32=_5[_5.length-1];if(_32==null){_4="end";}else{if(Array.isArray(_32)){_4="afterArrayValue";}else{_4="afterPropertyValue";}}}};function pop(){_5.pop();var _33=_5[_5.length-1];if(_33==null){_4="end";}else{if(Array.isArray(_33)){_4="afterArrayValue";}else{_4="afterPropertyValue";}}};function _21(c){if(c===undefined){return _34("JSON5: invalid end of input at "+_7+":"+_8);}return _34("JSON5: invalid character '"+_35(c)+"' at "+_7+":"+_8);};function _2e(){return _34("JSON5: invalid end of input at "+_7+":"+_8);};function _24(){_8-=5;return _34("JSON5: invalid identifier character at "+_7+":"+_8);};function _26(c){console.warn("JSON5: '"+_35(c)+"' in strings is not valid ECMAScript; consider escaping");};function _35(c){var _36={"'":"\\'","\"":"\\\"","\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\x00":"\\0","
":"\\u2028","
":"\\u2029"};if(_36[c]){return _36[c];}if(c<" "){var _37=c.charCodeAt(0).toString(16);return "\\x"+("00"+_37).substring(_37.length);}return c;};function _34(_38){var err=new SyntaxError(_38);err.lineNumber=_7;err.columnNumber=_8;return err;};return _c;}); \ No newline at end of file diff --git a/lib/dojo/json5/unicode.js b/lib/dojo/json5/unicode.js new file mode 100644 index 000000000..44a6147c7 --- /dev/null +++ b/lib/dojo/json5/unicode.js @@ -0,0 +1,8 @@ +/* + Copyright (c) 2004-2016, The JS Foundation All Rights Reserved. + Available via Academic Free License >= 2.1 OR the modified BSD license. + see: http://dojotoolkit.org/license for details +*/ + +//>>built +define("dojo/json5/unicode",{Space_Separator:/[\u1680\u2000-\u200A\u202F\u205F\u3000]/,ID_Start:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/,ID_Continue:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/}); \ No newline at end of file diff --git a/lib/dojo/json5/util.js b/lib/dojo/json5/util.js new file mode 100644 index 000000000..3e30bf28b --- /dev/null +++ b/lib/dojo/json5/util.js @@ -0,0 +1,8 @@ +/* + Copyright (c) 2004-2016, The JS Foundation All Rights Reserved. + Available via Academic Free License >= 2.1 OR the modified BSD license. + see: http://dojotoolkit.org/license for details +*/ + +//>>built +define("dojo/json5/util",["./unicode"],function(_1){return {isSpaceSeparator:function(c){return typeof c==="string"&&_1.Space_Separator.test(c);},isIdStartChar:function(c){return typeof c==="string"&&((c>="a"&&c<="z")||(c>="A"&&c<="Z")||(c==="$")||(c==="_")||_1.ID_Start.test(c));},isIdContinueChar:function(c){return typeof c==="string"&&((c>="a"&&c<="z")||(c>="A"&&c<="Z")||(c>="0"&&c<="9")||(c==="$")||(c==="_")||(c==="‌")||(c==="‍")||_1.ID_Continue.test(c));},isDigit:function(c){return typeof c==="string"&&/[0-9]/.test(c);},isHexDigit:function(c){return typeof c==="string"&&/[0-9A-Fa-f]/.test(c);},};}); \ No newline at end of file diff --git a/lib/dojo/package-lock.json b/lib/dojo/package-lock.json index 417e80a6b..82d3bdcf9 100644 --- a/lib/dojo/package-lock.json +++ b/lib/dojo/package-lock.json @@ -31,12 +31,6 @@ "sprintf-js": "~1.0.2" } }, - "async": { - "version": "0.1.22", - "resolved": "https://registry.npmjs.org/async/-/async-0.1.22.tgz", - "integrity": "sha1-D8GqoIig4+8Ovi2IMbqw3PiEUGE=", - "dev": true - }, "balanced-match": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", @@ -68,12 +62,6 @@ "integrity": "sha1-us0G2HF3WTYvemYqHpZ691N/2os=", "dev": true }, - "colors": { - "version": "0.6.2", - "resolved": "https://registry.npmjs.org/colors/-/colors-0.6.2.tgz", - "integrity": "sha1-JCP+ZnisDF2uiFLl0OW+CMmXq8w=", - "dev": true - }, "concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", @@ -138,35 +126,6 @@ } } }, - "deep-equal": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-2.0.1.tgz", - "integrity": "sha512-7Et6r6XfNW61CPPCIYfm1YPGSmh6+CliYeL4km7GWJcpX5LTAflGF8drLLR+MZX+2P3NZfAfSduutBbSWqER4g==", - "dev": true, - "requires": { - "es-abstract": "^1.16.3", - "es-get-iterator": "^1.0.1", - "is-arguments": "^1.0.4", - "is-date-object": "^1.0.1", - "is-regex": "^1.0.4", - "isarray": "^2.0.5", - "object-is": "^1.0.1", - "object-keys": "^1.1.1", - "regexp.prototype.flags": "^1.2.0", - "side-channel": "^1.0.1", - "which-boxed-primitive": "^1.0.1", - "which-collection": "^1.0.0" - } - }, - "define-properties": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", - "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", - "dev": true, - "requires": { - "object-keys": "^1.0.12" - } - }, "diff": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/diff/-/diff-1.1.0.tgz", @@ -203,51 +162,6 @@ "integrity": "sha1-rOb/gIwc5mtX0ev5eXessCM0z8E=", "dev": true }, - "es-abstract": { - "version": "1.17.4", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.4.tgz", - "integrity": "sha512-Ae3um/gb8F0mui/jPL+QiqmglkUsaQf7FwBEHYIFkztkneosu9imhqHpBzQ3h1vit8t5iQ74t6PEVvphBZiuiQ==", - "dev": true, - "requires": { - "es-to-primitive": "^1.2.1", - "function-bind": "^1.1.1", - "has": "^1.0.3", - "has-symbols": "^1.0.1", - "is-callable": "^1.1.5", - "is-regex": "^1.0.5", - "object-inspect": "^1.7.0", - "object-keys": "^1.1.1", - "object.assign": "^4.1.0", - "string.prototype.trimleft": "^2.1.1", - "string.prototype.trimright": "^2.1.1" - } - }, - "es-get-iterator": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/es-get-iterator/-/es-get-iterator-1.1.0.tgz", - "integrity": "sha512-UfrmHuWQlNMTs35e1ypnvikg6jCz3SK8v8ImvmDsh36fCVUR1MqoFDiyn0/k52C8NqO3YsO8Oe0azeesNuqSsQ==", - "dev": true, - "requires": { - "es-abstract": "^1.17.4", - "has-symbols": "^1.0.1", - "is-arguments": "^1.0.4", - "is-map": "^2.0.1", - "is-set": "^2.0.1", - "is-string": "^1.0.5", - "isarray": "^2.0.5" - } - }, - "es-to-primitive": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", - "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", - "dev": true, - "requires": { - "is-callable": "^1.1.4", - "is-date-object": "^1.0.1", - "is-symbol": "^1.0.2" - } - }, "escodegen": { "version": "1.3.3", "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.3.3.tgz", @@ -286,6 +200,12 @@ "integrity": "sha1-gVHTWOIMisx/t0XnRywAJf5JZXA=", "dev": true }, + "eventemitter3": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", + "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==", + "dev": true + }, "ext-list": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/ext-list/-/ext-list-0.2.0.tgz", @@ -316,6 +236,12 @@ "minimatch": "0.x" } }, + "follow-redirects": { + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.13.0.tgz", + "integrity": "sha512-aq6gF1BEKje4a9i9+5jimNFIpq4Q1WiwBToeRK5NvZBd/TRsmW8BsJfOEGkr76TbOyPVD3OVDN910EcUNtRYEA==", + "dev": true + }, "formatio": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/formatio/-/formatio-1.1.1.tgz", @@ -398,12 +324,6 @@ } } }, - "function-bind": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", - "dev": true - }, "get-stdin": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-0.1.0.tgz", @@ -448,39 +368,17 @@ "uglify-js": "~2.3" } }, - "has": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", - "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", - "dev": true, - "requires": { - "function-bind": "^1.1.1" - } - }, - "has-symbols": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz", - "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==", - "dev": true - }, "http-proxy": { - "version": "0.10.3", - "resolved": "https://registry.npmjs.org/http-proxy/-/http-proxy-0.10.3.tgz", - "integrity": "sha1-csqdUDp14GRlAITFjKEbguSwGW0=", + "version": "1.18.1", + "resolved": "https://registry.npmjs.org/http-proxy/-/http-proxy-1.18.1.tgz", + "integrity": "sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ==", "dev": true, "requires": { - "colors": "0.x.x", - "optimist": "0.3.x", - "pkginfo": "0.2.x", - "utile": "~0.1.7" + "eventemitter3": "^4.0.0", + "follow-redirects": "^1.0.0", + "requires-port": "^1.0.0" } }, - "i": { - "version": "0.3.6", - "resolved": "https://registry.npmjs.org/i/-/i-0.3.6.tgz", - "integrity": "sha1-2WyScyB28HJxG2sQ/X1PZa2O4j0=", - "dev": true - }, "inflight": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", @@ -526,96 +424,12 @@ "integrity": "sha512-xPh0Rmt8NE65sNzvyUmWgI1tz3mKq74lGA0mL8LYZcoIzKOzDh6HmrYm3d18k60nHerC8A9Km8kYu87zfSFnLA==", "dev": true }, - "is-bigint": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.0.tgz", - "integrity": "sha512-t5mGUXC/xRheCK431ylNiSkGGpBp8bHENBcENTkDT6ppwPzEVxNGZRvgvmOEfbWkFhA7D2GEuE2mmQTr78sl2g==", - "dev": true - }, - "is-boolean-object": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.0.1.tgz", - "integrity": "sha512-TqZuVwa/sppcrhUCAYkGBk7w0yxfQQnxq28fjkO53tnK9FQXmdwz2JS5+GjsWQ6RByES1K40nI+yDic5c9/aAQ==", - "dev": true - }, - "is-callable": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.5.tgz", - "integrity": "sha512-ESKv5sMCJB2jnHTWZ3O5itG+O128Hsus4K4Qh1h2/cgn2vbgnLSVqfV46AeJA9D5EeeLa9w81KUXMtn34zhX+Q==", - "dev": true - }, - "is-date-object": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.2.tgz", - "integrity": "sha512-USlDT524woQ08aoZFzh3/Z6ch9Y/EWXEHQ/AaRN0SkKq4t2Jw2R2339tSXmwuVoY7LLlBCbOIlx2myP/L5zk0g==", - "dev": true - }, "is-generator-function": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.7.tgz", "integrity": "sha512-YZc5EwyO4f2kWCax7oegfuSr9mFz1ZvieNYBEjmukLxgXfBUbxAWGVF7GZf0zidYtoBl3WvC07YK0wT76a+Rtw==", "dev": true }, - "is-map": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-map/-/is-map-2.0.1.tgz", - "integrity": "sha512-T/S49scO8plUiAOA2DBTBG3JHpn1yiw0kRp6dgiZ0v2/6twi5eiB0rHtHFH9ZIrvlWc6+4O+m4zg5+Z833aXgw==", - "dev": true - }, - "is-number-object": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.4.tgz", - "integrity": "sha512-zohwelOAur+5uXtk8O3GPQ1eAcu4ZX3UwxQhUlfFFMNpUd83gXgjbhJh6HmB6LUNV/ieOLQuDwJO3dWJosUeMw==", - "dev": true - }, - "is-regex": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.5.tgz", - "integrity": "sha512-vlKW17SNq44owv5AQR3Cq0bQPEb8+kF3UKZ2fiZNOWtztYE5i0CzCZxFDwO58qAOWtxdBRVO/V5Qin1wjCqFYQ==", - "dev": true, - "requires": { - "has": "^1.0.3" - } - }, - "is-set": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-set/-/is-set-2.0.1.tgz", - "integrity": "sha512-eJEzOtVyenDs1TMzSQ3kU3K+E0GUS9sno+F0OBT97xsgcJsF9nXMBtkT9/kut5JEpM7oL7X/0qxR17K3mcwIAA==", - "dev": true - }, - "is-string": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.5.tgz", - "integrity": "sha512-buY6VNRjhQMiF1qWDouloZlQbRhDPCebwxSjxMjxgemYT46YMd2NR0/H+fBhEfWX4A/w9TBJ+ol+okqJKFE6vQ==", - "dev": true - }, - "is-symbol": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz", - "integrity": "sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==", - "dev": true, - "requires": { - "has-symbols": "^1.0.1" - } - }, - "is-weakmap": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-weakmap/-/is-weakmap-2.0.1.tgz", - "integrity": "sha512-NSBR4kH5oVj1Uwvv970ruUkCV7O1mzgVFO4/rev2cLRda9Tm9HrL70ZPut4rOHgY0FNrUu9BCbXA2sdQ+x0chA==", - "dev": true - }, - "is-weakset": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-weakset/-/is-weakset-2.0.1.tgz", - "integrity": "sha512-pi4vhbhVHGLxohUw7PhGsueT4vRGFoXhP7+RGN0jKIv9+8PWYCQTqtADngrxOm2g46hoH0+g8uZZBzMrvVGDmw==", - "dev": true - }, - "isarray": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", - "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==", - "dev": true - }, "istanbul": { "version": "0.2.16", "resolved": "https://registry.npmjs.org/istanbul/-/istanbul-0.2.16.tgz", @@ -753,33 +567,12 @@ "sigmund": "~1.0.0" } }, - "minimist": { - "version": "0.0.8", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", - "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=", - "dev": true - }, - "mkdirp": { - "version": "0.4.2", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.4.2.tgz", - "integrity": "sha1-QnyMGOzjmLky9vZm9OHlt3QOeMg=", - "dev": true, - "requires": { - "minimist": "0.0.8" - } - }, "natives": { "version": "1.1.6", "resolved": "https://registry.npmjs.org/natives/-/natives-1.1.6.tgz", "integrity": "sha512-6+TDFewD4yxY14ptjKaS63GVdtKiES1pTPyxn9Jb0rBqPMZ7VcCiooEhPNsr+mqHtMGxa/5c/HhcC4uPEUw/nA==", "dev": true }, - "ncp": { - "version": "0.2.7", - "resolved": "https://registry.npmjs.org/ncp/-/ncp-0.2.7.tgz", - "integrity": "sha1-RvrCt92iVgpMt+YoZ3vV9k6sW+E=", - "dev": true - }, "nopt": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/nopt/-/nopt-2.2.1.tgz", @@ -795,36 +588,6 @@ "integrity": "sha1-Bg4qKifXwNd+x3t48Rqkf9iACNI=", "dev": true }, - "object-inspect": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.7.0.tgz", - "integrity": "sha512-a7pEHdh1xKIAgTySUGgLMx/xwDZskN1Ud6egYYN3EdRW4ZMPNEDUTF+hwy2LUC+Bl+SyLXANnwz/jyh/qutKUw==", - "dev": true - }, - "object-is": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/object-is/-/object-is-1.0.2.tgz", - "integrity": "sha512-Epah+btZd5wrrfjkJZq1AOB9O6OxUQto45hzFd7lXGrpHPGE0W1k+426yrZV+k6NJOzLNNW/nVsmZdIWsAqoOQ==", - "dev": true - }, - "object-keys": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", - "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", - "dev": true - }, - "object.assign": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.0.tgz", - "integrity": "sha512-exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w==", - "dev": true, - "requires": { - "define-properties": "^1.1.2", - "function-bind": "^1.1.1", - "has-symbols": "^1.0.0", - "object-keys": "^1.0.11" - } - }, "once": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", @@ -849,34 +612,18 @@ "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", "dev": true }, - "pkginfo": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/pkginfo/-/pkginfo-0.2.3.tgz", - "integrity": "sha1-cjnEKl72wwuPMoQ52bn/cQQkkPg=", + "requires-port": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz", + "integrity": "sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8=", "dev": true }, - "regexp.prototype.flags": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.3.0.tgz", - "integrity": "sha512-2+Q0C5g951OlYlJz6yu5/M33IcsESLlLfsyIaLJaG4FA2r4yP8MvVMJUUP/fVBkSpbbbZlS5gynbEWLipiiXiQ==", - "dev": true, - "requires": { - "define-properties": "^1.1.3", - "es-abstract": "^1.17.0-next.1" - } - }, "resolve": { "version": "0.7.4", "resolved": "https://registry.npmjs.org/resolve/-/resolve-0.7.4.tgz", "integrity": "sha1-OVqe+ehz+/4SvRRAi9kbuTYAPWk=", "dev": true }, - "rimraf": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-1.0.9.tgz", - "integrity": "sha1-vkgB/3bCum8cUMeOlwDrHSHyOfE=", - "dev": true - }, "safe-buffer": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.0.tgz", @@ -889,16 +636,6 @@ "integrity": "sha1-n1CHQZtNCR8jJXHn+lLpCw9VJiE=", "dev": true }, - "side-channel": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.2.tgz", - "integrity": "sha512-7rL9YlPHg7Ancea1S96Pa8/QWb4BtXL/TZvS6B8XFetGBeuhAsfmUspK6DokBeZ64+Kj9TCNRD/30pVz1BvQNA==", - "dev": true, - "requires": { - "es-abstract": "^1.17.0-next.1", - "object-inspect": "^1.7.0" - } - }, "sigmund": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/sigmund/-/sigmund-1.0.1.tgz", @@ -940,26 +677,6 @@ "duplexer": "~0.1.1" } }, - "string.prototype.trimleft": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/string.prototype.trimleft/-/string.prototype.trimleft-2.1.1.tgz", - "integrity": "sha512-iu2AGd3PuP5Rp7x2kEZCrB2Nf41ehzh+goo8TV7z8/XDBbsvc6HQIlUl9RjkZ4oyrW1XM5UwlGl1oVEaDjg6Ag==", - "dev": true, - "requires": { - "define-properties": "^1.1.3", - "function-bind": "^1.1.1" - } - }, - "string.prototype.trimright": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/string.prototype.trimright/-/string.prototype.trimright-2.1.1.tgz", - "integrity": "sha512-qFvWL3/+QIgZXVmJBfpHmxLB7xsUXz6HsUmP8+5dRaC3Q7oKUv9Vo6aMCRZC1smrtyECFsIT30PqBJ1gTjAs+g==", - "dev": true, - "requires": { - "define-properties": "^1.1.3", - "function-bind": "^1.1.1" - } - }, "tar": { "version": "0.1.20", "resolved": "https://registry.npmjs.org/tar/-/tar-0.1.20.tgz", @@ -1019,20 +736,6 @@ "safe-buffer": "^5.1.2" } }, - "utile": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/utile/-/utile-0.1.7.tgz", - "integrity": "sha1-VdsYDVRHUzn9bdni0UpMC1JiS2k=", - "dev": true, - "requires": { - "async": "0.1.x", - "deep-equal": "*", - "i": "0.3.x", - "mkdirp": "0.x.x", - "ncp": "0.2.x", - "rimraf": "1.x.x" - } - }, "uuid": { "version": "1.4.2", "resolved": "https://registry.npmjs.org/uuid/-/uuid-1.4.2.tgz", @@ -1045,31 +748,6 @@ "integrity": "sha1-RgwdoPgQED0DIam2M6+eV15kSG8=", "dev": true }, - "which-boxed-primitive": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.1.tgz", - "integrity": "sha512-7BT4TwISdDGBgaemWU0N0OU7FeAEJ9Oo2P1PHRm/FCWoEi2VLWC9b6xvxAA3C/NMpxg3HXVgi0sMmGbNUbNepQ==", - "dev": true, - "requires": { - "is-bigint": "^1.0.0", - "is-boolean-object": "^1.0.0", - "is-number-object": "^1.0.3", - "is-string": "^1.0.4", - "is-symbol": "^1.0.2" - } - }, - "which-collection": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/which-collection/-/which-collection-1.0.1.tgz", - "integrity": "sha512-W8xeTUwaln8i3K/cY1nGXzdnVZlidBcagyNFtBdD5kxnb4TvGKR7FfSIS3mYpwWS1QUCutfKz8IY8RjftB0+1A==", - "dev": true, - "requires": { - "is-map": "^2.0.1", - "is-set": "^2.0.1", - "is-weakmap": "^2.0.1", - "is-weakset": "^2.0.1" - } - }, "wordwrap": { "version": "0.0.3", "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.3.tgz", diff --git a/lib/dojo/package.json b/lib/dojo/package.json index bccf2f033..ce07862ea 100644 --- a/lib/dojo/package.json +++ b/lib/dojo/package.json @@ -1,17 +1,17 @@ { "name": "dojo", - "version": "1.16.5", + "version": "1.17.3", "directories": { "lib": "." }, "devDependencies": { "intern-geezer": "2.2.2", - "http-proxy": "0.10.3", + "http-proxy": "1.18.1", "glob": "3.2.7", "jsgi-node": "0.3.1", "formidable": "1.0.17", "sinon": "1.12.2", - "dojo": "1.16.5" + "dojo": "1.17.3" }, "main": "main", "scripts": { diff --git a/lib/dojo/parser.js b/lib/dojo/parser.js index 3a3ca795f..25c7395c9 100644 --- a/lib/dojo/parser.js +++ b/lib/dojo/parser.js @@ -5,4 +5,4 @@ */ //>>built -define("dojo/parser",["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(_1,_2,_3,_4,_5,_6,_7,_8,_9,_a,_b,_c,_d,_e,_f,_10){new Date("X");function _11(_12){return eval("("+_12+")");};var _13=0;_9.after(_3,"extend",function(){_13++;},true);function _14(_15){var map=_15._nameCaseMap,_16=_15.prototype;if(!map||map._extendCnt<_13){map=_15._nameCaseMap={};for(var _17 in _16){if(_17.charAt(0)==="_"){continue;}map[_17.toLowerCase()]=_17;}map._extendCnt=_13;}return map;};function _18(_19,_1a){if(!_1a){_1a=_1;}var _1b=_1a._dojoParserCtorMap||(_1a._dojoParserCtorMap={});var ts=_19.join();if(!_1b[ts]){var _1c=[];for(var i=0,l=_19.length;i.*$/,"");_44=_4.map(_46.split(/\s+/),function(_47){var _48=_47.toLowerCase();return {name:_47,value:(_3d.nodeName=="LI"&&_47=="value")||_48=="enctype"?_3d.getAttribute(_48):_3d.getAttributeNode(_48).value};});}}var _49=_3f.scope||_2._scopeName,_4a="data-"+_49+"-",_4b={};if(_49!=="dojo"){_4b[_4a+"props"]="data-dojo-props";_4b[_4a+"type"]="data-dojo-type";_4b[_4a+"mixins"]="data-dojo-mixins";_4b[_49+"type"]="dojotype";_4b[_4a+"id"]="data-dojo-id";}var i=0,_4c,_4d=[],_4e,_4f;while(_4c=_44[i++]){var _50=_4c.name,_51=_50.toLowerCase(),_52=_4c.value;switch(_4b[_51]||_51){case "data-dojo-type":case "dojotype":case "data-dojo-mixins":break;case "data-dojo-props":_4f=_52;break;case "data-dojo-id":case "jsid":_4e=_52;break;case "data-dojo-attach-point":case "dojoattachpoint":_43.dojoAttachPoint=_52;break;case "data-dojo-attach-event":case "dojoattachevent":_43.dojoAttachEvent=_52;break;case "class":_43["class"]=_3d.className;break;case "style":_43["style"]=_3d.style&&_3d.style.cssText;break;default:if(!(_50 in _42)){var map=_14(_3c);_50=map[_51]||_50;}if(_50 in _42){switch(typeof _42[_50]){case "string":_43[_50]=_52;break;case "number":_43[_50]=_52.length?Number(_52):NaN;break;case "boolean":_43[_50]=_52.toLowerCase()!="false";break;case "function":if(_52===""||_52.search(/[^\w\.]+/i)!=-1){_43[_50]=new Function(_52);}else{_43[_50]=_3.getObject(_52,false)||new Function(_52);}_4d.push(_50);break;default:var _53=_42[_50];_43[_50]=(_53&&"length" in _53)?(_52?_52.split(/\s*,\s*/):[]):(_53 instanceof Date)?(_52==""?new Date(""):_52=="now"?new Date():_b.fromISOString(_52)):(_53 instanceof _8)?(_2.baseUrl+_52):_11(_52);}}else{_43[_50]=_52;}}}for(var j=0;j<_4d.length;j++){var _54=_4d[j].toLowerCase();_3d.removeAttribute(_54);_3d[_54]=null;}if(_4f){try{_4f=_11.call(_3f.propsThis,"{"+_4f+"}");_3.mixin(_43,_4f);}catch(e){throw new Error(e.toString()+" in data-dojo-props='"+_4f+"'");}}_3.mixin(_43,_3e);if(!_40){_40=(_3c&&(_3c._noScript||_42._noScript)?[]:_e("> script[type^='dojo/']",_3d));}var _55=[],_56=[],_57=[],ons=[];if(_40){for(i=0;i<_40.length;i++){var _58=_40[i];_3d.removeChild(_58);var _59=(_58.getAttribute(_4a+"event")||_58.getAttribute("event")),_5a=_58.getAttribute(_4a+"prop"),_5b=_58.getAttribute(_4a+"method"),_5c=_58.getAttribute(_4a+"advice"),_5d=_58.getAttribute("type"),nf=this._functionFromScript(_58,_4a);if(_59){if(_5d=="dojo/connect"){_55.push({method:_59,func:nf});}else{if(_5d=="dojo/on"){ons.push({event:_59,func:nf});}else{_43[_59]=nf;}}}else{if(_5d=="dojo/aspect"){_55.push({method:_5b,advice:_5c,func:nf});}else{if(_5d=="dojo/watch"){_57.push({prop:_5a,func:nf});}else{_56.push(nf);}}}}}var _5e=_3c.markupFactory||_42.markupFactory;var _5f=_5e?_5e(_43,_3d,_3c):new _3c(_43,_3d);function _60(_61){if(_4e){_3.setObject(_4e,_61);}for(i=0;i<_55.length;i++){_9[_55[i].advice||"after"](_61,_55[i].method,_3.hitch(_61,_55[i].func),true);}for(i=0;i<_56.length;i++){_56[i].call(_61);}for(i=0;i<_57.length;i++){_61.watch(_57[i].prop,_57[i].func);}for(i=0;i.*$/,"");_44=_4.map(_46.split(/\s+/),function(_47){var _48=_47.toLowerCase();return {name:_47,value:(_3d.nodeName=="LI"&&_47=="value")||_48=="enctype"?_3d.getAttribute(_48):_3d.getAttributeNode(_48).value};});}}var _49=_3f.scope||_2._scopeName,_4a="data-"+_49+"-",_4b={};if(_49!=="dojo"){_4b[_4a+"props"]="data-dojo-props";_4b[_4a+"type"]="data-dojo-type";_4b[_4a+"mixins"]="data-dojo-mixins";_4b[_49+"type"]="dojotype";_4b[_4a+"id"]="data-dojo-id";}var i=0,_4c,_4d=[],_4e,_4f;while(_4c=_44[i++]){var _50=_4c.name,_51=_50.toLowerCase(),_52=_4c.value;switch(_4b[_51]||_51){case "data-dojo-type":case "dojotype":case "data-dojo-mixins":break;case "data-dojo-props":_4f=_52;break;case "data-dojo-id":case "jsid":_4e=_52;break;case "data-dojo-attach-point":case "dojoattachpoint":_43.dojoAttachPoint=_52;break;case "data-dojo-attach-event":case "dojoattachevent":_43.dojoAttachEvent=_52;break;case "class":_43["class"]=_3d.className;break;case "style":_43["style"]=_3d.style&&_3d.style.cssText;break;default:if(!(_50 in _42)){var map=_14(_3c);_50=map[_51]||_50;}if(_50 in _42){switch(typeof _42[_50]){case "string":_43[_50]=_52;break;case "number":_43[_50]=_52.length?Number(_52):NaN;break;case "boolean":_43[_50]=_52.toLowerCase()!="false";break;case "function":if(_52===""||_52.search(/[^\w\.]+/i)!=-1){_43[_50]=new Function(_52);}else{_43[_50]=_3.getObject(_52,false)||new Function(_52);}_4d.push(_50);break;default:var _53=_42[_50];try{_43[_50]=(_53&&"length" in _53)?(_52?_52.split(/\s*,\s*/):[]):(_53 instanceof Date)?(_52==""?new Date(""):_52=="now"?new Date():_b.fromISOString(_52)):(_53 instanceof _8)?(_2.baseUrl+_52):_11(_52);}catch(error){console.error(error);}}}else{_43[_50]=_52;}}}for(var j=0;j<_4d.length;j++){var _54=_4d[j].toLowerCase();_3d.removeAttribute(_54);_3d[_54]=null;}if(_4f){try{_4f=_11.call(_3f.propsThis,"{"+_4f+"}");_3.mixin(_43,_4f);}catch(e){throw new Error(e.toString()+" in data-dojo-props='"+_4f+"'");}}_3.mixin(_43,_3e);if(!_40){_40=(_3c&&(_3c._noScript||_42._noScript)?[]:_f("> script[type^='dojo/']",_3d));}var _55=[],_56=[],_57=[],ons=[];if(_40){for(i=0;i<_40.length;i++){var _58=_40[i];_3d.removeChild(_58);var _59=(_58.getAttribute(_4a+"event")||_58.getAttribute("event")),_5a=_58.getAttribute(_4a+"prop"),_5b=_58.getAttribute(_4a+"method"),_5c=_58.getAttribute(_4a+"advice"),_5d=_58.getAttribute("type"),nf=this._functionFromScript(_58,_4a);if(_59){if(_5d=="dojo/connect"){_55.push({method:_59,func:nf});}else{if(_5d=="dojo/on"){ons.push({event:_59,func:nf});}else{_43[_59]=nf;}}}else{if(_5d=="dojo/aspect"){_55.push({method:_5b,advice:_5c,func:nf});}else{if(_5d=="dojo/watch"){_57.push({prop:_5a,func:nf});}else{_56.push(nf);}}}}}var _5e=_3c.markupFactory||_42.markupFactory;var _5f=_5e?_5e(_43,_3d,_3c):new _3c(_43,_3d);function _60(_61){if(_4e){_3.setObject(_4e,_61);}for(i=0;i<_55.length;i++){_9[_55[i].advice||"after"](_61,_55[i].method,_3.hitch(_61,_55[i].func),true);}for(i=0;i<_56.length;i++){_56[i].call(_61);}for(i=0;i<_57.length;i++){_61.watch(_57[i].prop,_57[i].func);}for(i=0;i>built -define("dojo/store/Memory",["../_base/declare","./util/QueryResults","./util/SimpleQueryEngine"],function(_1,_2,_3){var _4=null;return _1("dojo.store.Memory",_4,{constructor:function(_5){for(var i in _5){this[i]=_5[i];}this.setData(this.data||[]);},data:null,idProperty:"id",index:null,queryEngine:_3,get:function(id){return this.data[this.index[id]];},getIdentity:function(_6){return _6[this.idProperty];},put:function(_7,_8){var _9=this.data,_a=this.index,_b=this.idProperty;var id=_7[_b]=(_8&&"id" in _8)?_8.id:_b in _7?_7[_b]:Math.random();if(id in _a){if(_8&&_8.overwrite===false){throw new Error("Object already exists");}_9[_a[id]]=_7;}else{_a[id]=_9.push(_7)-1;}return id;},add:function(_c,_d){(_d=_d||{}).overwrite=false;return this.put(_c,_d);},remove:function(id){var _e=this.index;var _f=this.data;if(id in _e){_f.splice(_e[id],1);this.setData(_f);return true;}},query:function(_10,_11){return _2(this.queryEngine(_10,_11)(this.data));},setData:function(_12){if(_12.items){this.idProperty=_12.identifier||this.idProperty;_12=this.data=_12.items;}else{this.data=_12;}this.index={};for(var i=0,l=_12.length;i>built -define("dojo/store/Observable",["../_base/kernel","../_base/lang","../when","../_base/array"],function(_1,_2,_3,_4){var _5=function(_6){var _7,_8=[],_9=0;_6=_2.delegate(_6);_6.notify=function(_a,_b){_9++;var _c=_8.slice();for(var i=0,l=_c.length;i-1?_1d:_1a.length;_1a.splice(_21,0,_18);_1e=_4.indexOf(_12(_1a),_18);_1a.splice(_21,1);if((_f.start&&_1e==0)||(!_1b&&_1e==_1a.length)){_1e=-1;}else{_1a.splice(_1e,0,_18);}}}else{if(_18){if(_19!==_7){_1e=_1d;}else{if(!_f.start){_1e=_6.defaultIndex||0;_1a.splice(_1e,0,_18);}}}}if((_1d>-1||_1e>-1)&&(_17||!_12||(_1d!=_1e))){var _22=_14.slice();for(i=0;_16=_22[i];i++){_16(_18||_1c,_1d,_1e);}}});});}var _23={};_23.remove=_23.cancel=function(){var _24=_4.indexOf(_14,_16);if(_24>-1){_14.splice(_24,1);if(!_14.length){_8.splice(_4.indexOf(_8,_15),1);}}};return _23;};}return _10;};var _25;function _26(_27,_28){var _29=_6[_27];if(_29){_6[_27]=function(_2a){var _2b;if(_27==="put"){_2b=_6.getIdentity(_2a);}if(_25){return _29.apply(this,arguments);}_25=true;try{var _2c=_29.apply(this,arguments);_3(_2c,function(_2d){_28((typeof _2d=="object"&&_2d)||_2a,_2b);});return _2c;}finally{_25=false;}};}};_26("put",function(_2e,_2f){_6.notify(_2e,_2f);});_26("add",function(_30){_6.notify(_30);});_26("remove",function(id){_6.notify(undefined,id);});return _6;};_2.setObject("dojo.store.Observable",_5);return _5;}); \ No newline at end of file +define("dojo/store/Observable",["../_base/lang","../when","../_base/array"],function(_1,_2,_3){function _4(_5,_6,id,_7,_8){var i;_7=_7==undefined?0:_7;_8=_8==undefined?_6.length:_8;for(i=_7;i<_8;++i){if(_5.getIdentity(_6[i])===id){return i;}}return -1;};var _9=function(_a){var _b,_c=[],_d=0;_a=_1.delegate(_a);_a.notify=function(_e,_f,_10){_d++;var _11=_c.slice();for(var i=0,l=_11.length;i-1?_24:_21.length;_21.splice(_29,0,_1d);_25=_3.indexOf(_17(_21),_1d);_21.splice(_29,1);if((_14.start&&_25==0)||(!_22&&_25==_21.length)){_25=-1;}else{if(_1f&&_1f.before!==undefined){_26=_1f.before===null?_21.length:_4(_a,_21,_20);if(_26!==-1){_25=_26;}}_21.splice(_25,0,_1d);}}}else{if(_1d){if(_1e!==_b){_25=_24;}else{if(!_14.start){_25=_a.defaultIndex||0;_21.splice(_25,0,_1d);}}}}if((_24>-1||_25>-1)&&(_1c||!_17||(_24!=_25))){var _2a=_19.slice();for(i=0;_1b=_2a[i];i++){_1b(_1d||_23,_24,_25);}}});});}var _2b={};_2b.remove=_2b.cancel=function(){var _2c=_3.indexOf(_19,_1b);if(_2c>-1){_19.splice(_2c,1);if(!_19.length){_c.splice(_3.indexOf(_c,_1a),1);}}};return _2b;};}return _15;};var _2d;function _2e(_2f,_30){var _31=_a[_2f];if(_31){_a[_2f]=function(_32,_33){var _34;if(_2f==="put"){_34=_a.getIdentity(_32);}if(_2d){return _31.apply(this,arguments);}_2d=true;try{var _35=_31.apply(this,arguments);_2(_35,function(_36){_30((typeof _36=="object"&&_36)||_32,_34,_33);});return _35;}finally{_2d=false;}};}};_2e("put",function(_37,_38,_39){_a.notify(_37,_38,_39);});_2e("add",function(_3a,_3b,_3c){_a.notify(_3a,_3b,_3c);});_2e("remove",function(id){_a.notify(undefined,id);});return _a;};_1.setObject("dojo.store.Observable",_9);return _9;}); \ No newline at end of file diff --git a/lib/dojo/string.js b/lib/dojo/string.js index 25b602918..001efa400 100644 --- a/lib/dojo/string.js +++ b/lib/dojo/string.js @@ -5,4 +5,4 @@ */ //>>built -define("dojo/string",["./_base/kernel","./_base/lang"],function(_1,_2){var _3=/[&<>'"\/]/g;var _4={"&":"&","<":"<",">":">","\"":""","'":"'","/":"/"};var _5={};_2.setObject("dojo.string",_5);_5.escape=function(_6){if(!_6){return "";}return _6.replace(_3,function(c){return _4[c];});};_5.rep=function(_7,_8){if(_8<=0||!_7){return "";}var _9=[];for(;;){if(_8&1){_9.push(_7);}if(!(_8>>=1)){break;}_7+=_7;}return _9.join("");};_5.pad=function(_a,_b,ch,_c){if(!ch){ch="0";}var _d=String(_a),_e=_5.rep(ch,Math.ceil((_b-_d.length)/ch.length));return _c?_d+_e:_e+_d;};_5.substitute=function(_f,map,_10,_11){_11=_11||_1.global;_10=_10?_2.hitch(_11,_10):function(v){return v;};return _f.replace(/\$\{([^\s\:\}]*)(?:\:([^\s\:\}]+))?\}/g,function(_12,key,_13){if(key==""){return "$";}var _14=_2.getObject(key,false,map);if(_13){_14=_2.getObject(_13,false,_11).call(_11,_14,key);}var _15=_10(_14,key);if(typeof _15==="undefined"){throw new Error("string.substitute could not find key \""+key+"\" in template");}return _15.toString();});};_5.trim=String.prototype.trim?_2.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 _5;}); \ No newline at end of file +define("dojo/string",["./_base/kernel","./_base/lang"],function(_1,_2){var _3=/[&<>'"\/]/g;var _4={"&":"&","<":"<",">":">","\"":""","'":"'","/":"/"};var _5={};_2.setObject("dojo.string",_5);_5.escape=function(_6){if(!_6){return "";}return _6.replace(_3,function(c){return _4[c];});};_5.codePointAt=String.prototype.codePointAt?function(_7,_8){return String.prototype.codePointAt.call(_7,_8);}:function(_9,_a){if(_9==null){throw new TypeError("codePointAt called on null or undefined");}var _b;var _c;var _d;var _e;_9=String(_9);_b=_9.length;_e=_a?Number(_a):0;if(_e!=_e){_e=0;}if(_e<0||_e>=_b){return undefined;}_c=_9.charCodeAt(_e);if(_c>=55296&&_c<=56319&&_b>_e+1){_d=_9.charCodeAt(_e+1);if(_d>=56320&&_d<=57343){return (_c-55296)*1024+_d-56320+65536;}}return _c;};_5.fromCodePoint=String.fromCodePoint||function(){var _f=[];var _10=0;var _11="";var _12;var _13;for(_13=0,len=arguments.length;_13!==len;++_13){_12=+arguments[_13];if(!(_12<1114111&&(_12>>>0)===_12)){throw RangeError("Invalid code point: "+_12);}if(_12<=65535){_10=_f.push(_12);}else{_12-=65536;_10=_f.push((_12>>10)+55296,(_12%1024)+56320);}if(_10>=16383){_11+=String.fromCharCode.apply(null,_f);_f.length=0;}}return _11+String.fromCharCode.apply(null,_f);};_5.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("");};_5.pad=function(_14,_15,ch,end){if(!ch){ch="0";}var out=String(_14),pad=_5.rep(ch,Math.ceil((_15-out.length)/ch.length));return end?out+pad:pad+out;};_5.substitute=function(_16,map,_17,_18){_18=_18||_1.global;_17=_17?_2.hitch(_18,_17):function(v){return v;};return _16.replace(/\$\{([^\s\:\}]*)(?:\:([^\s\:\}]+))?\}/g,function(_19,key,_1a){if(key==""){return "$";}var _1b=_2.getObject(key,false,map);if(_1a){_1b=_2.getObject(_1a,false,_18).call(_18,_1b,key);}var _1c=_17(_1b,key);if(typeof _1c==="undefined"){throw new Error("string.substitute could not find key \""+key+"\" in template");}return _1c.toString();});};_5.trim=String.prototype.trim?_2.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 _5;}); \ No newline at end of file diff --git a/lib/dojo/touch.js b/lib/dojo/touch.js index a4b00b63e..1d4e4ecac 100644 --- a/lib/dojo/touch.js +++ b/lib/dojo/touch.js @@ -5,4 +5,4 @@ */ //>>built -define("dojo/touch",["./_base/kernel","./aspect","./dom","./dom-class","./_base/lang","./on","./has","./mouse","./domReady","./_base/window"],function(_1,_2,_3,_4,_5,on,_6,_7,_8,_9){var _a=_6("ios")<5;var _b=_6("pointer-events")||_6("MSPointer"),_c=(function(){var _d={};for(var _e in {down:1,move:1,up:1,cancel:1,over:1,out:1}){_d[_e]=_6("MSPointer")?"MSPointer"+_e.charAt(0).toUpperCase()+_e.slice(1):"pointer"+_e;}return _d;})();var _f=_6("touch-events");var _10,_11,_12=false,_13,_14,_15,_16,_17,_18;var _19;function _1a(_1b,_1c,_1d){if(_b&&_1d){return function(_1e,_1f){return on(_1e,_1d,_1f);};}else{if(_f){return function(_20,_21){var _22=on(_20,_1c,function(evt){_21.call(this,evt);_19=(new Date()).getTime();}),_23=on(_20,_1b,function(evt){if(!_19||(new Date()).getTime()>_19+1000){_21.call(this,evt);}});return {remove:function(){_22.remove();_23.remove();}};};}else{return function(_24,_25){return on(_24,_1b,_25);};}}};function _26(_27){do{if(_27.dojoClick!==undefined){return _27;}}while(_27=_27.parentNode);};function _28(e,_29,_2a){if(_7.isRight(e)){return;}var _2b=_26(e.target);_11=!e.target.disabled&&_2b&&_2b.dojoClick;if(_11){_12=(_11=="useTarget");_13=(_12?_2b:e.target);if(_12){e.preventDefault();}_14=e.changedTouches?e.changedTouches[0].pageX-_9.global.pageXOffset:e.clientX;_15=e.changedTouches?e.changedTouches[0].pageY-_9.global.pageYOffset:e.clientY;_16=(typeof _11=="object"?_11.x:(typeof _11=="number"?_11:0))||4;_17=(typeof _11=="object"?_11.y:(typeof _11=="number"?_11:0))||4;if(!_10){_10=true;function _2c(e){if(_12){_11=_3.isDescendant(_9.doc.elementFromPoint((e.changedTouches?e.changedTouches[0].pageX-_9.global.pageXOffset:e.clientX),(e.changedTouches?e.changedTouches[0].pageY-_9.global.pageYOffset:e.clientY)),_13);}else{_11=_11&&(e.changedTouches?e.changedTouches[0].target:e.target)==_13&&Math.abs((e.changedTouches?e.changedTouches[0].pageX-_9.global.pageXOffset:e.clientX)-_14)<=_16&&Math.abs((e.changedTouches?e.changedTouches[0].pageY-_9.global.pageYOffset:e.clientY)-_15)<=_17;}};_9.doc.addEventListener(_29,function(e){if(_7.isRight(e)){return;}_2c(e);if(_12){e.preventDefault();}},true);_9.doc.addEventListener(_2a,function(e){if(_7.isRight(e)){return;}_2c(e);if(_11){_18=(new Date()).getTime();var _2d=(_12?_13:e.target);if(_2d.tagName==="LABEL"){_2d=_3.byId(_2d.getAttribute("for"))||_2d;}var src=(e.changedTouches)?e.changedTouches[0]:e;function _2e(_2f){var evt=document.createEvent("MouseEvents");evt._dojo_click=true;evt.initMouseEvent(_2f,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 _30=_2e("mousedown");var _31=_2e("mouseup");var _32=_2e("click");setTimeout(function(){on.emit(_2d,"mousedown",_30);on.emit(_2d,"mouseup",_31);on.emit(_2d,"click",_32);_18=(new Date()).getTime();},0);}},true);function _33(_34){_9.doc.addEventListener(_34,function(e){var _35=e.target;if(_11&&!e._dojo_click&&(new Date()).getTime()<=_18+1000&&!(_35.tagName=="INPUT"&&_4.contains(_35,"dijitOffScreen"))){e.stopPropagation();e.stopImmediatePropagation&&e.stopImmediatePropagation();if(_34=="click"&&(_35.tagName!="INPUT"||(_35.type=="radio"&&(_4.contains(_35,"dijitCheckBoxInput")||_4.contains(_35,"mblRadioButton")))||(_35.type=="checkbox"&&(_4.contains(_35,"dijitCheckBoxInput")||_4.contains(_35,"mblCheckBox"))))&&_35.tagName!="TEXTAREA"&&_35.tagName!="AUDIO"&&_35.tagName!="VIDEO"){e.preventDefault();}}},true);};_33("click");_33("mousedown");_33("mouseup");}}};var _36;if(_6("touch")){if(_b){_8(function(){_9.doc.addEventListener(_c.down,function(evt){_28(evt,_c.move,_c.up);},true);});}else{_8(function(){_36=_9.body();_9.doc.addEventListener("touchstart",function(evt){_19=(new Date()).getTime();var _37=_36;_36=evt.target;on.emit(_37,"dojotouchout",{relatedTarget:_36,bubbles:true});on.emit(_36,"dojotouchover",{relatedTarget:_37,bubbles:true});_28(evt,"touchmove","touchend");},true);function _38(evt){var _39=_5.delegate(evt,{bubbles:true});if(_6("ios")>=6){_39.touches=evt.touches;_39.altKey=evt.altKey;_39.changedTouches=evt.changedTouches;_39.ctrlKey=evt.ctrlKey;_39.metaKey=evt.metaKey;_39.shiftKey=evt.shiftKey;_39.targetTouches=evt.targetTouches;}return _39;};on(_9.doc,"touchmove",function(evt){_19=(new Date()).getTime();var _3a=_9.doc.elementFromPoint(evt.pageX-(_a?0:_9.global.pageXOffset),evt.pageY-(_a?0:_9.global.pageYOffset));if(_3a){if(_36!==_3a){on.emit(_36,"dojotouchout",{relatedTarget:_3a,bubbles:true});on.emit(_3a,"dojotouchover",{relatedTarget:_36,bubbles:true});_36=_3a;}if(!on.emit(_3a,"dojotouchmove",_38(evt))){evt.preventDefault();}}});on(_9.doc,"touchend",function(evt){_19=(new Date()).getTime();var _3b=_9.doc.elementFromPoint(evt.pageX-(_a?0:_9.global.pageXOffset),evt.pageY-(_a?0:_9.global.pageYOffset))||_9.body();on.emit(_3b,"dojotouchend",_38(evt));});});}}var _3c={press:_1a("mousedown","touchstart",_c.down),move:_1a("mousemove","dojotouchmove",_c.move),release:_1a("mouseup","dojotouchend",_c.up),cancel:_1a(_7.leave,"touchcancel",_b?_c.cancel:null),over:_1a("mouseover","dojotouchover",_c.over),out:_1a("mouseout","dojotouchout",_c.out),enter:_7._eventHandler(_1a("mouseover","dojotouchover",_c.over)),leave:_7._eventHandler(_1a("mouseout","dojotouchout",_c.out))};1&&(_1.touch=_3c);return _3c;}); \ No newline at end of file +define("dojo/touch",["./_base/kernel","./aspect","./dom","./dom-class","./_base/lang","./on","./has","./mouse","./domReady","./_base/window"],function(_1,_2,_3,_4,_5,on,_6,_7,_8,_9){var _a=_6("ios")<5;var _b=_6("pointer-events")||_6("MSPointer"),_c=(function(){var _d={};for(var _e in {down:1,move:1,up:1,cancel:1,over:1,out:1}){_d[_e]=_6("MSPointer")?"MSPointer"+_e.charAt(0).toUpperCase()+_e.slice(1):"pointer"+_e;}return _d;})();var _f=_6("touch-events");var _10,_11,_12=false,_13,_14,_15,_16,_17,_18;var _19;function _1a(_1b,_1c,_1d){if(_b&&_1d){return function(_1e,_1f){return on(_1e,_1d,_1f);};}else{if(_f){return function(_20,_21){var _22=on(_20,_1c,function(evt){_21.call(this,evt);_19=(new Date()).getTime();}),_23=on(_20,_1b,function(evt){if(!_19||(new Date()).getTime()>_19+1000){_21.call(this,evt);}});return {remove:function(){_22.remove();_23.remove();}};};}else{return function(_24,_25){return on(_24,_1b,_25);};}}};function _26(_27){do{if(_27.dojoClick!==undefined){return _27;}}while(_27=_27.parentNode);};function _28(e,_29,_2a){if(_7.isRight(e)){return;}var _2b=_26(e.target);_11=!e.target.disabled&&_2b&&_2b.dojoClick;if(_11){_12=(_11=="useTarget");_13=(_12?_2b:e.target);if(_12){e.preventDefault();}_14=e.changedTouches?e.changedTouches[0].pageX-_9.global.pageXOffset:e.clientX;_15=e.changedTouches?e.changedTouches[0].pageY-_9.global.pageYOffset:e.clientY;_16=(typeof _11=="object"?_11.x:(typeof _11=="number"?_11:0))||4;_17=(typeof _11=="object"?_11.y:(typeof _11=="number"?_11:0))||4;if(!_10){_10=true;var _2c=function _2c(e){if(_12){_11=_3.isDescendant(_9.doc.elementFromPoint((e.changedTouches?e.changedTouches[0].pageX-_9.global.pageXOffset:e.clientX),(e.changedTouches?e.changedTouches[0].pageY-_9.global.pageYOffset:e.clientY)),_13);}else{_11=_11&&(e.changedTouches?e.changedTouches[0].target:e.target)==_13&&Math.abs((e.changedTouches?e.changedTouches[0].pageX-_9.global.pageXOffset:e.clientX)-_14)<=_16&&Math.abs((e.changedTouches?e.changedTouches[0].pageY-_9.global.pageYOffset:e.clientY)-_15)<=_17;}};_9.doc.addEventListener(_29,function(e){if(_7.isRight(e)){return;}_2c(e);if(_12){e.preventDefault();}},true);_9.doc.addEventListener(_2a,function(e){if(_7.isRight(e)){return;}_2c(e);if(_11){_18=(new Date()).getTime();var _2d=(_12?_13:e.target);if(_2d.tagName==="LABEL"){_2d=_3.byId(_2d.getAttribute("for"))||_2d;}var src=(e.changedTouches)?e.changedTouches[0]:e;var _2e=function _2e(_2f){var evt=document.createEvent("MouseEvents");evt._dojo_click=true;evt.initMouseEvent(_2f,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 _30=_2e("mousedown");var _31=_2e("mouseup");var _32=_2e("click");setTimeout(function(){on.emit(_2d,"mousedown",_30);on.emit(_2d,"mouseup",_31);on.emit(_2d,"click",_32);_18=(new Date()).getTime();},0);}},true);var _33=function _33(_34){_9.doc.addEventListener(_34,function(e){var _35=e.target;if(_11&&!e._dojo_click&&(new Date()).getTime()<=_18+1000&&!(_35.tagName=="INPUT"&&_4.contains(_35,"dijitOffScreen"))){e.stopPropagation();e.stopImmediatePropagation&&e.stopImmediatePropagation();if(_34=="click"&&(_35.tagName!="INPUT"||(_35.type=="radio"&&(_4.contains(_35,"dijitCheckBoxInput")||_4.contains(_35,"mblRadioButton")))||(_35.type=="checkbox"&&(_4.contains(_35,"dijitCheckBoxInput")||_4.contains(_35,"mblCheckBox"))))&&_35.tagName!="TEXTAREA"&&_35.tagName!="AUDIO"&&_35.tagName!="VIDEO"){e.preventDefault();}}},true);};_33("click");_33("mousedown");_33("mouseup");}}};var _36;if(_6("touch")){if(_b){_8(function(){_9.doc.addEventListener(_c.down,function(evt){_28(evt,_c.move,_c.up);},true);});}else{_8(function(){_36=_9.body();_9.doc.addEventListener("touchstart",function(evt){_19=(new Date()).getTime();var _37=_36;_36=evt.target;on.emit(_37,"dojotouchout",{relatedTarget:_36,bubbles:true});on.emit(_36,"dojotouchover",{relatedTarget:_37,bubbles:true});_28(evt,"touchmove","touchend");},true);function _38(evt){var _39=_5.delegate(evt,{bubbles:true});if(_6("ios")>=6){_39.touches=evt.touches;_39.altKey=evt.altKey;_39.changedTouches=evt.changedTouches;_39.ctrlKey=evt.ctrlKey;_39.metaKey=evt.metaKey;_39.shiftKey=evt.shiftKey;_39.targetTouches=evt.targetTouches;}return _39;};on(_9.doc,"touchmove",function(evt){_19=(new Date()).getTime();var _3a=_9.doc.elementFromPoint(evt.pageX-(_a?0:_9.global.pageXOffset),evt.pageY-(_a?0:_9.global.pageYOffset));if(_3a){if(_36!==_3a){on.emit(_36,"dojotouchout",{relatedTarget:_3a,bubbles:true});on.emit(_3a,"dojotouchover",{relatedTarget:_36,bubbles:true});_36=_3a;}if(!on.emit(_3a,"dojotouchmove",_38(evt))){evt.preventDefault();}}});on(_9.doc,"touchend",function(evt){_19=(new Date()).getTime();var _3b=_9.doc.elementFromPoint(evt.pageX-(_a?0:_9.global.pageXOffset),evt.pageY-(_a?0:_9.global.pageYOffset))||_9.body();on.emit(_3b,"dojotouchend",_38(evt));});});}}var _3c={press:_1a("mousedown","touchstart",_c.down),move:_1a("mousemove","dojotouchmove",_c.move),release:_1a("mouseup","dojotouchend",_c.up),cancel:_1a(_7.leave,"touchcancel",_b?_c.cancel:null),over:_1a("mouseover","dojotouchover",_c.over),out:_1a("mouseout","dojotouchout",_c.out),enter:_7._eventHandler(_1a("mouseover","dojotouchover",_c.over)),leave:_7._eventHandler(_1a("mouseout","dojotouchout",_c.out))};1&&(_1.touch=_3c);return _3c;}); \ No newline at end of file diff --git a/lib/dojo/tt-rss-layer.js b/lib/dojo/tt-rss-layer.js index 3b49e3c21..421903756 100644 --- a/lib/dojo/tt-rss-layer.js +++ b/lib/dojo/tt-rss-layer.js @@ -5,4 +5,4 @@ */ //>>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="