(function(){function ha(da,C){da({cache:{"dojo/dnd/Moveable":function(){C("../_base/array ../_base/declare ../_base/lang ../dom ../dom-class ../Evented ../on ../topic ../touch ./common ./Mover ../_base/window".split(" "),function(k,p,e,q,c,b,d,a,u,l,n,f){return p("dojo.dnd.Moveable",[b],{handle:"",delay:0,skip:!1,constructor:function(a,f){this.node=q.byId(a);f||(f={});this.handle=f.handle?q.byId(f.handle):null;this.handle||(this.handle=this.node);this.delay=0this.delay||Math.abs(a.pageY-this._lastY)>this.delay)this.onMouseUp(a),this.onDragDetected(a);a.stopPropagation();a.preventDefault()},onMouseUp:function(a){for(var f=0;2>f;++f)this.events.pop().remove();a.stopPropagation();a.preventDefault()},onSelectStart:function(a){if(!this.skip||!l.isFormElement(a))a.stopPropagation(), a.preventDefault()},onDragDetected:function(a){new this.mover(this.node,a,this)},onMoveStart:function(b){a.publish("/dnd/move/start",b);c.add(f.body(),"dojoMove");c.add(this.node,"dojoMoveItem")},onMoveStop:function(b){a.publish("/dnd/move/stop",b);c.remove(f.body(),"dojoMove");c.remove(this.node,"dojoMoveItem")},onFirstMove:function(){},onMove:function(a,f){this.onMoving(a,f);var b=a.node.style;b.left=f.l+"px";b.top=f.t+"px";this.onMoved(a,f)},onMoving:function(){},onMoved:function(){}})})},"dojo/touch":function(){C("./_base/kernel ./aspect ./dom ./dom-class ./_base/lang ./on ./has ./mouse ./domReady ./_base/window".split(" "), function(k,p,e,q,c,b,d,a,u,l){function n(a,f,w){return v&&w?function(a,f){return b(a,w,f)}:z?function(w,c){var l=b(w,f,c),r=b(w,a,function(a){(!K||(new Date).getTime()>K+1E3)&&c.call(this,a)});return{remove:function(){l.remove();r.remove()}}}:function(f,w){return b(f,a,w)}}function f(a){do if(a.dojoClick)return a.dojoClick;while(a=a.parentNode)}function r(a,w,c){if(J=!a.target.disabled&&f(a.target))G=a.target,A=a.touches?a.touches[0].pageX:a.clientX,y=a.touches?a.touches[0].pageY:a.clientY,D=("object"== typeof J?J.x:"number"==typeof J?J:0)||4,I=("object"==typeof J?J.y:"number"==typeof J?J:0)||4,B||(B=!0,l.doc.addEventListener(w,function(a){J=J&&a.target==G&&Math.abs((a.touches?a.touches[0].pageX:a.clientX)-A)<=D&&Math.abs((a.touches?a.touches[0].pageY:a.clientY)-y)<=I},!0),l.doc.addEventListener(c,function(a){if(J){P=(new Date).getTime();var f=a.target;"LABEL"===f.tagName&&(f=e.byId(f.getAttribute("for"))||f);setTimeout(function(){b.emit(f,"click",{bubbles:!0,cancelable:!0,_dojo_click:!0})})}},!0), a=function(a){l.doc.addEventListener(a,function(f){!f._dojo_click&&((new Date).getTime()<=P+1E3&&!("INPUT"==f.target.tagName&&q.contains(f.target,"dijitOffScreen")))&&(f.stopPropagation(),f.stopImmediatePropagation&&f.stopImmediatePropagation(),"click"==a&&(("INPUT"!=f.target.tagName||"radio"==f.target.type||"checkbox"==f.target.type)&&"TEXTAREA"!=f.target.tagName&&"AUDIO"!=f.target.tagName&&"VIDEO"!=f.target.tagName)&&f.preventDefault())},!0)},a("click"),a("mousedown"),a("mouseup"))}var z=d("touch"), s=5>d("ios"),v=navigator.msPointerEnabled,B,J,G,A,y,D,I,P,K,w;z&&(v?u(function(){l.doc.addEventListener("MSPointerDown",function(a){r(a,"MSPointerMove","MSPointerUp")},!0)}):u(function(){function a(f){var b=c.delegate(f,{bubbles:!0});6<=d("ios")&&(b.touches=f.touches,b.altKey=f.altKey,b.changedTouches=f.changedTouches,b.ctrlKey=f.ctrlKey,b.metaKey=f.metaKey,b.shiftKey=f.shiftKey,b.targetTouches=f.targetTouches);return b}w=l.body();l.doc.addEventListener("touchstart",function(a){K=(new Date).getTime(); var f=w;w=a.target;b.emit(f,"dojotouchout",{relatedTarget:w,bubbles:!0});b.emit(w,"dojotouchover",{relatedTarget:f,bubbles:!0});r(a,"touchmove","touchend")},!0);b(l.doc,"touchmove",function(f){K=(new Date).getTime();var c=l.doc.elementFromPoint(f.pageX-(s?0:l.global.pageXOffset),f.pageY-(s?0:l.global.pageYOffset));c&&(w!==c&&(b.emit(w,"dojotouchout",{relatedTarget:c,bubbles:!0}),b.emit(c,"dojotouchover",{relatedTarget:w,bubbles:!0}),w=c),b.emit(c,"dojotouchmove",a(f)))});b(l.doc,"touchend",function(f){K= (new Date).getTime();var w=l.doc.elementFromPoint(f.pageX-(s?0:l.global.pageXOffset),f.pageY-(s?0:l.global.pageYOffset))||l.body();b.emit(w,"dojotouchend",a(f))})}));p={press:n("mousedown","touchstart","MSPointerDown"),move:n("mousemove","dojotouchmove","MSPointerMove"),release:n("mouseup","dojotouchend","MSPointerUp"),cancel:n(a.leave,"touchcancel",z?"MSPointerCancel":null),over:n("mouseover","dojotouchover","MSPointerOver"),out:n("mouseout","dojotouchout","MSPointerOut"),enter:a._eventHandler(n("mouseover", "dojotouchover","MSPointerOver")),leave:a._eventHandler(n("mouseout","dojotouchout","MSPointerOut"))};return k.touch=p})},"dojo/dnd/common":function(){C(["../sniff","../_base/kernel","../_base/lang","../dom"],function(k,p,e,q){var c=e.getObject("dojo.dnd",!0);c.getCopyKeyState=function(b){return b[k("mac")?"metaKey":"ctrlKey"]};c._uniqueId=0;c.getUniqueId=function(){var b;do b=p._scopeName+"Unique"+ ++c._uniqueId;while(q.byId(b));return b};c._empty={};c.isFormElement=function(b){b=b.target;3==b.nodeType&& (b=b.parentNode);return 0<=" button textarea input select option ".indexOf(" "+b.tagName.toLowerCase()+" ")};return c})},"dojo/dnd/Mover":function(){C("../_base/array ../_base/declare ../_base/lang ../sniff ../_base/window ../dom ../dom-geometry ../dom-style ../Evented ../on ../touch ./common ./autoscroll".split(" "),function(k,p,e,q,c,b,d,a,u,l,n,f,r){return p("dojo.dnd.Mover",[u],{constructor:function(a,f,c){function d(a){a.preventDefault();a.stopPropagation()}this.node=b.byId(a);this.marginBox= {l:f.pageX,t:f.pageY};this.mouseButton=f.button;f=this.host=c;a=a.ownerDocument;this.events=[l(a,n.move,e.hitch(this,"onFirstMove")),l(a,n.move,e.hitch(this,"onMouseMove")),l(a,n.release,e.hitch(this,"onMouseUp")),l(a,"dragstart",d),l(a.body,"selectstart",d)];r.autoScrollStart(a);if(f&&f.onMoveStart)f.onMoveStart(this)},onMouseMove:function(a){r.autoScroll(a);var f=this.marginBox;this.host.onMove(this,{l:f.l+a.pageX,t:f.t+a.pageY},a);a.preventDefault();a.stopPropagation()},onMouseUp:function(a){(q("webkit")&& q("mac")&&2==this.mouseButton?0==a.button:this.mouseButton==a.button)&&this.destroy();a.preventDefault();a.stopPropagation()},onFirstMove:function(f){var b=this.node.style,l,r=this.host;switch(b.position){case "relative":case "absolute":l=Math.round(parseFloat(b.left))||0;b=Math.round(parseFloat(b.top))||0;break;default:b.position="absolute";b=d.getMarginBox(this.node);l=c.doc.body;var u=a.getComputedStyle(l),n=d.getMarginBox(l,u),u=d.getContentBox(l,u);l=b.l-(u.l-n.l);b=b.t-(u.t-n.t)}this.marginBox.l= l-this.marginBox.l;this.marginBox.t=b-this.marginBox.t;if(r&&r.onFirstMove)r.onFirstMove(this,f);this.events.shift().remove()},destroy:function(){k.forEach(this.events,function(a){a.remove()});var a=this.host;if(a&&a.onMoveStop)a.onMoveStop(this);this.events=this.node=this.host=null}})})},"dojo/dnd/autoscroll":function(){C("../_base/lang ../sniff ../_base/window ../dom-geometry ../dom-style ../window".split(" "),function(k,p,e,q,c,b){var d={};k.setObject("dojo.dnd.autoscroll",d);d.getViewport=b.getBox; d.V_TRIGGER_AUTOSCROLL=32;d.H_TRIGGER_AUTOSCROLL=32;d.V_AUTOSCROLL_VALUE=16;d.H_AUTOSCROLL_VALUE=16;var a,u=e.doc,l=Infinity,n=Infinity;d.autoScrollStart=function(f){u=f;a=b.getBox(u);f=e.body(u).parentNode;l=Math.max(f.scrollHeight-a.h,0);n=Math.max(f.scrollWidth-a.w,0)};d.autoScroll=function(f){var c=a||b.getBox(u),z=e.body(u).parentNode,s=0,v=0;f.clientXc.w-d.H_TRIGGER_AUTOSCROLL&&(s=Math.min(d.H_AUTOSCROLL_VALUE,n-z.scrollLeft));f.clientY< d.V_TRIGGER_AUTOSCROLL?v=-d.V_AUTOSCROLL_VALUE:f.clientY>c.h-d.V_TRIGGER_AUTOSCROLL&&(v=Math.min(d.V_AUTOSCROLL_VALUE,l-z.scrollTop));window.scrollBy(s,v)};d._validNodes={div:1,p:1,td:1};d._validOverflow={auto:1,scroll:1};d.autoScrollNodes=function(a){for(var b,l,u,n,B,k,G=0,A=0,y=a.target;y;){if(1==y.nodeType&&y.tagName.toLowerCase()in d._validNodes){u=c.getComputedStyle(y);n=u.overflow.toLowerCase()in d._validOverflow;B=u.overflowX.toLowerCase()in d._validOverflow;k=u.overflowY.toLowerCase()in d._validOverflow; if(n||B||k)b=q.getContentBox(y,u),l=q.position(y,!0);if(n||B){u=Math.min(d.H_TRIGGER_AUTOSCROLL,b.w/2);B=a.pageX-l.x;if(p("webkit")||p("opera"))B+=e.body().scrollLeft;G=0;0b.w-u&&(G=u),y.scrollLeft+=G)}if(n||k){n=Math.min(d.V_TRIGGER_AUTOSCROLL,b.h/2);k=a.pageY-l.y;if(p("webkit")||p("opera"))k+=e.body().scrollTop;A=0;0b.h-n&&(A=n),y.scrollTop+=A)}if(G||A)return}try{y=y.parentNode}catch(D){y=null}}d.autoScroll(a)};return d})},"dojo/window":function(){C("./_base/lang ./sniff ./_base/window ./dom ./dom-geometry ./dom-style ./dom-construct".split(" "), function(k,p,e,q,c,b,d){p.add("rtl-adjust-position-for-verticalScrollBar",function(a,b){var n=e.body(b),f=d.create("div",{style:{overflow:"scroll",overflowX:"visible",direction:"rtl",visibility:"hidden",position:"absolute",left:"0",top:"0",width:"64px",height:"64px"}},n,"last"),r=d.create("div",{style:{overflow:"hidden",direction:"ltr"}},f,"last"),z=0!=c.position(r).x;f.removeChild(r);n.removeChild(f);return z});p.add("position-fixed-support",function(a,b){var n=e.body(b),f=d.create("span",{style:{visibility:"hidden", position:"fixed",left:"1px",top:"1px"}},n,"last"),r=d.create("span",{style:{position:"fixed",left:"0",top:"0"}},f,"last"),z=c.position(r).x!=c.position(f).x;f.removeChild(r);n.removeChild(f);return z});var a={getBox:function(b){b=b||e.doc;var l="BackCompat"==b.compatMode?e.body(b):b.documentElement,d=c.docScroll(b);if(p("touch")){var f=a.get(b);b=f.innerWidth||l.clientWidth;l=f.innerHeight||l.clientHeight}else b=l.clientWidth,l=l.clientHeight;return{l:d.x,t:d.y,w:b,h:l}},get:function(b){if(p("ie")&& a!==document.parentWindow){b.parentWindow.execScript("document._parentWindow = window;","Javascript");var c=b._parentWindow;b._parentWindow=null;return c}return b.parentWindow||b.defaultView},scrollIntoView:function(a,l){try{a=q.byId(a);var d=a.ownerDocument||e.doc,f=e.body(d),r=d.documentElement||f.parentNode,z=p("ie"),s=p("webkit");if(!(a==f||a==r))if(!p("mozilla")&&(!z&&!s&&!p("opera"))&&"scrollIntoView"in a)a.scrollIntoView(!1);else{var v="BackCompat"==d.compatMode,B=Math.min(f.clientWidth||r.clientWidth, r.clientWidth||f.clientWidth),k=Math.min(f.clientHeight||r.clientHeight,r.clientHeight||f.clientHeight),d=s||v?f:r,G=l||c.position(a),A=a.parentNode,s=function(a){return 6>=z||7==z&&v?!1:p("position-fixed-support")&&"fixed"==b.get(a,"position").toLowerCase()};if(!s(a))for(;A;){A==f&&(A=d);var y=c.position(A),D=s(A),I="rtl"==b.getComputedStyle(A).direction.toLowerCase();if(A==d){y.w=B;y.h=k;d==r&&(z&&I)&&(y.x+=d.offsetWidth-y.w);if(0>y.x||!z||9<=z)y.x=0;if(0>y.y||!z||9<=z)y.y=0}else{var P=c.getPadBorderExtents(A); y.w-=P.w;y.h-=P.h;y.x+=P.l;y.y+=P.t;var K=A.clientWidth,w=y.w-K;0y.y&&(y.h+=y.y,y.y=0),0>y.x&&(y.w+=y.x,y.x=0),y.y+y.h>k&&(y.h=k-y.y),y.x+y.w>B&&(y.w=B-y.x));var W=G.x-y.x,O=G.y-y.y,fa=W+G.w-y.w,ia=O+G.h-y.h,Z,ga;if(0A.offsetHeight)){Z=Math[0>W?"max":"min"](W,fa);if(I&&(8==z&&!v||9<=z))Z=-Z;ga=A.scrollLeft;A.scrollLeft+=Z;Z=A.scrollLeft- ga;G.x-=Z}if(0A.offsetHeight))Z=Math.ceil(Math[0>O?"max":"min"](O,ia)),ga=A.scrollTop,A.scrollTop+=Z,Z=A.scrollTop-ga,G.y-=Z;A=A!=d&&!D&&A.parentNode}}}catch(ja){console.error("scrollIntoView: "+ja),a.scrollIntoView(!1)}}};k.setObject("dojo.window",a);return a})},"dijit/registry":function(){C(["dojo/_base/array","dojo/sniff","dojo/_base/window","./main"],function(k,p,e,q){var c={},b={},d={length:0,add:function(a){if(b[a.id])throw Error("Tried to register widget with id=="+ a.id+" but that id is already registered");b[a.id]=a;this.length++},remove:function(a){b[a]&&(delete b[a],this.length--)},byId:function(a){return"string"==typeof a?b[a]:a},byNode:function(a){return b[a.getAttribute("widgetId")]},toArray:function(){var a=[],c;for(c in b)a.push(b[c]);return a},getUniqueId:function(a){var d;do d=a+"_"+(a in c?++c[a]:c[a]=0);while(b[d]);return"dijit"==q._scopeName?d:q._scopeName+"_"+d},findWidgets:function(a,c){function l(a){for(a=a.firstChild;a;a=a.nextSibling)if(1== a.nodeType){var r=a.getAttribute("widgetId");r?(r=b[r])&&d.push(r):a!==c&&l(a)}}var d=[];l(a);return d},_destroyAll:function(){q._curFocus=null;q._prevFocus=null;q._activeStack=[];k.forEach(d.findWidgets(e.body()),function(a){a._destroyed||(a.destroyRecursive?a.destroyRecursive():a.destroy&&a.destroy())})},getEnclosingWidget:function(a){for(;a;){var c=1==a.nodeType&&a.getAttribute("widgetId");if(c)return b[c];a=a.parentNode}return null},_hash:b};return q.registry=d})},"dijit/main":function(){C(["dojo/_base/kernel"], function(k){return k.dijit})},"dojox/gfx/_base":function(){C("dojo/_base/kernel dojo/_base/lang dojo/_base/Color dojo/_base/sniff dojo/_base/window dojo/_base/array dojo/dom dojo/dom-construct dojo/dom-geometry".split(" "),function(k,p,e,q,c,b,d,a,u){var l=p.getObject("dojox.gfx",!0),n=l._base={};l._hasClass=function(a,f){var b=a.getAttribute("className");return b&&0<=(" "+b+" ").indexOf(" "+f+" ")};l._addClass=function(a,f){var b=a.getAttribute("className")||"";if(!b||0>(" "+b+" ").indexOf(" "+f+ " "))a.setAttribute("className",b+(b?" ":"")+f)};l._removeClass=function(a,f){var b=a.getAttribute("className");b&&a.setAttribute("className",b.replace(RegExp("(^|\\s+)"+f+"(\\s+|$)"),"$1$2"))};n._getFontMeasurements=function(){var f={"1em":0,"1ex":0,"100%":0,"12pt":0,"16px":0,"xx-small":0,"x-small":0,small:0,medium:0,large:0,"x-large":0,"xx-large":0},b;q("ie")&&(c.doc.documentElement.style.fontSize="100%");var l=a.create("div",{style:{position:"absolute",left:"0",top:"-100px",width:"30px",height:"1000em", borderWidth:"0",margin:"0",padding:"0",outline:"none",lineHeight:"1",overflow:"hidden"}},c.body());for(b in f)l.style.fontSize=b,f[b]=16*Math.round(12*l.offsetHeight/16)/12/1E3;c.body().removeChild(l);return f};var f=null;n._getCachedFontMeasurements=function(a){if(a||!f)f=n._getFontMeasurements();return f};var r=null,z={};n._getTextBox=function(f,b,l){var d,n,s=arguments.length,e;r||(r=a.create("div",{style:{position:"absolute",top:"-10000px",left:"0"}},c.body()));d=r;d.className="";n=d.style;n.borderWidth= "0";n.margin="0";n.padding="0";n.outline="0";if(1a?b:f?" "+b:b},makeFontString:function(a){return a.style+" "+a.variant+" "+a.weight+" "+a.size+" "+a.family},splitFontString:function(a){var b=l.getDefault("Font");a=a.split(/\s+/);if(!(5>a.length)){b.style=a[0];b.variant=a[1];b.weight=a[2];var f=a[3].indexOf("/");b.size=0>f?a[3]:a[3].substring(0,f);var c=4;0>f&&("/"==a[4]?c=6:"/"==a[4].charAt(0)&&(c=5));c.*$/,""),y=q.map(d.split(/\s+/),function(a){var b=a.toLowerCase();return{name:a,value:"LI"==f.nodeName&&"value"==a||"enctype"==b?f.getAttribute(b):f.getAttributeNode(b).value}}));var G=w.scope||p._scopeName;d="data-"+G+"-";var D={};"dojo"!== G&&(D[d+"props"]="data-dojo-props",D[d+"type"]="data-dojo-type",D[d+"mixins"]="data-dojo-mixins",D[G+"type"]="dojoType",D[d+"id"]="data-dojo-id");for(var M=0,N,G=[],C,S;N=y[M++];){var L=N.name,V=L.toLowerCase();N=N.value;switch(D[V]||V){case "data-dojo-type":case "dojotype":case "data-dojo-mixins":break;case "data-dojo-props":S=N;break;case "data-dojo-id":case "jsid":C=N;break;case "data-dojo-attach-point":case "dojoattachpoint":A.dojoAttachPoint=N;break;case "data-dojo-attach-event":case "dojoattachevent":A.dojoAttachEvent= N;break;case "class":A["class"]=f.className;break;case "style":A.style=f.style&&f.style.cssText;break;default:if(L in v||(L=J(b)[V]||L),L in v)switch(typeof v[L]){case "string":A[L]=N;break;case "number":A[L]=N.length?Number(N):NaN;break;case "boolean":A[L]="false"!=N.toLowerCase();break;case "function":""===N||-1!=N.search(/[^\w\.]+/i)?A[L]=new Function(N):A[L]=e.getObject(N,!1)||new Function(N);G.push(L);break;default:V=v[L],A[L]=V&&"length"in V?N?N.split(/\s*,\s*/):[]:V instanceof Date?""==N?new Date(""): "now"==N?new Date:n.fromISOString(N):V instanceof a?p.baseUrl+N:B(N)}else A[L]=N}}for(y=0;y script[type^='dojo/']",f));var Q=[],ea=[],aa=[],ba=[];if(l)for(M=0;Mb[0]&&d.setFullYear(b[0]||1970);var a=0,u=b[7]&&b[7].charAt(0);"Z"!=u&&(a=60*(b[8]||0)+(Number(b[9])||0),"-"!=u&&(a*=-1));u&&(a-=d.getTimezoneOffset());a&&d.setTime(d.getTime()+6E4*a)}return d};e.toISOString=function(e,c){var b=function(a){return 10>a?"0"+a:a};c=c||{};var d=[],a=c.zulu?"getUTC":"get",u="";"time"!=c.selector&&(u=e[a+"FullYear"](),u=["0000".substr((u+ "").length)+u,b(e[a+"Month"]()+1),b(e[a+"Date"]())].join("-"));d.push(u);if("date"!=c.selector){u=[b(e[a+"Hours"]()),b(e[a+"Minutes"]()),b(e[a+"Seconds"]())].join(":");a=e[a+"Milliseconds"]();c.milliseconds&&(u+="."+(100>a?"0":"")+b(a));if(c.zulu)u+="Z";else if("time"!=c.selector)var a=e.getTimezoneOffset(),l=Math.abs(a),u=u+((0a?1:0]||"-"+r;if(-1!=c.indexOf("%"))a*= 100;else if(-1!=c.indexOf("\u2030"))a*=1E3;else if(-1!=c.indexOf("\u00a4"))n=d.customs.currencyGroup||n,f=d.customs.currencyDecimal||f,c=c.replace(/\u00a4{1,3}/,function(a){return d[["symbol","currency","displayName"][a.length-1]]||d.currency||""});else if(-1!=c.indexOf("E"))throw Error("exponential notation not supported");var e=b._numberPatternRE,r=r.match(e);if(!r)throw Error("unable to find a number expression in pattern: "+c);!1===d.fractional&&(d.places=0);return c.replace(e,b._formatAbsolute(a, r[0],{decimal:f,group:n,places:d.places,round:d.round}))};b.round=function(a,b,c){c=10/(c||10);return(c*+a).toFixed(b)/c};if(0==(0.9).toFixed()){var d=b.round;b.round=function(a,b,c){var n=Math.pow(10,-b||0),f=Math.abs(a);if(!a||f>=n)n=0;else if(f/=n,0.5>f||0.95<=f)n=0;return d(a,b,c)+(0d.round||(a=b.round(a,f,d.round));a=String(Math.abs(a)).split(".");var r=a[1]||"";c[1]||d.places?(n&&(d.places=d.places.substring(0,n)),n=void 0!==d.places?d.places:c[1]&&c[1].lastIndexOf("0")+1,n>r.length&&(a[1]=q.pad(r,n,"0",!0)),fa[0].length&&(a[0]=q.pad(a[0],n)),-1==f.indexOf("#")&&(a[0]=a[0].substr(a[0].length-n)));var f=c[0].lastIndexOf(","),e,s;-1!= f&&(e=c[0].length-f-1,c=c[0].substr(0,f),f=c.lastIndexOf(","),-1!=f&&(s=c.length-f-1));c=[];for(f=a[0];f;)n=f.length-e,c.push(0=c||!e)return"";for(var b=[];;){c&1&&b.push(e);if(!(c>>=1))break;e+=e}return b.join("")};e.pad=function(k,c,b,d){b||(b="0");k=String(k);c=e.rep(b,Math.ceil((c-k.length)/b.length));return d?k+c:c+k};e.substitute=function(e,c,b,d){d=d||k.global;b=b?p.hitch(d,b):function(a){return a};return e.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(a,e,l){a=p.getObject(e,!1,c);l&&(a=p.getObject(l,!1,d).call(d, a,e));return b(a,e).toString()})};e.trim=String.prototype.trim?p.trim:function(e){e=e.replace(/^\s+/,"");for(var c=e.length-1;0<=c;c--)if(/\S/.test(e.charAt(c))){e=e.substring(0,c+1);break}return e};return e})},"dojo/regexp":function(){C(["./_base/kernel","./_base/lang"],function(k,p){var e={};p.setObject("dojo.regexp",e);e.escapeString=function(e,c){return e.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(b){return c&&-1!=c.indexOf(b)?b:"\\"+b})};e.buildGroupRE=function(k,c,b){if(!(k instanceof Array))return c(k); for(var d=[],a=0;a=b("ie")&&"HTML"!==a.scopeName||!q(a))){if(p(a)){var c=+e.get(a,"tabIndex");if(!e.has(a,"tabIndex")||0==c)n||(n=a),f=a;else if(0=k)k=c,s=a}c=d(a);e.get(a,"checked")&&c&&(B[c]=a)}"SELECT"!=a.nodeName.toUpperCase()&&A(a)}};q(c)&&A(c);return{first:B[d(n)]||n,last:B[d(f)]||f,lowest:B[d(r)]||r,highest:B[d(s)]||s}},getFirstInTabbingOrder:function(b,c){var d=a._getTabNavigable(p.byId(b,c));return d.lowest?d.lowest:d.first},getLastInTabbingOrder:function(b,c){var d= a._getTabNavigable(p.byId(b,c));return d.last?d.last:d.highest}};c.mixin(d,a);return a})},"dojo/uacss":function(){C(["./dom-geometry","./_base/lang","./domReady","./sniff","./_base/window"],function(k,p,e,q,c){var b=c.doc.documentElement;c=q("ie");var d=q("opera"),a=Math.floor,u=q("ff"),l=k.boxModel.replace(/-/,""),d={dj_quirks:q("quirks"),dj_opera:d,dj_khtml:q("khtml"),dj_webkit:q("webkit"),dj_safari:q("safari"),dj_chrome:q("chrome"),dj_gecko:q("mozilla"),dj_ios:q("ios"),dj_android:q("android")}; c&&(d.dj_ie=!0,d["dj_ie"+a(c)]=!0,d.dj_iequirks=q("quirks"));u&&(d["dj_ff"+a(u)]=!0);d["dj_"+l]=!0;var n="",f;for(f in d)d[f]&&(n+=f+" ");b.className=p.trim(b.className+" "+n);e(function(){if(!k.isBodyLtr()){var a="dj_rtl dijitRtl "+n.replace(/ /g,"-rtl ");b.className=p.trim(b.className+" "+a+"dj_rtl dijitRtl "+n.replace(/ /g,"-rtl "))}});return q})},"dijit/hccss":function(){C(["dojo/dom-class","dojo/hccss","dojo/domReady","dojo/_base/window"],function(k,p,e,q){e(function(){p("highcontrast")&&k.add(q.body(), "dijit_a11y")});return p})},"dojo/hccss":function(){C("require ./_base/config ./dom-class ./dom-style ./has ./domReady ./_base/window".split(" "),function(k,p,e,q,c,b,d){c.add("highcontrast",function(){var a=d.doc.createElement("div");a.style.cssText="border: 1px solid; border-color:red green; position: absolute; height: 5px; top: -999px;background-image: url("+(p.blankGif||k.toUrl("./resources/blank.gif"))+");";d.body().appendChild(a);var b=q.getComputedStyle(a),l=b.backgroundImage,b=b.borderTopColor== b.borderRightColor||l&&("none"==l||"url(invalid-url:)"==l);8>=c("ie")?a.outerHTML="":d.body().removeChild(a);return b});b(function(){c("highcontrast")&&e.add(d.body(),"dj_a11y")});return c})},"dijit/_Container":function(){C(["dojo/_base/array","dojo/_base/declare","dojo/dom-construct","dojo/_base/kernel"],function(k,p,e,q){return p("dijit._Container",null,{buildRendering:function(){this.inherited(arguments);this.containerNode||(this.containerNode=this.domNode)},addChild:function(c,b){var d=this.containerNode; if(0>8];b=fD[r][0])s=r+1;else{w=D[r][1];break b}}e[d]=w}l(2,a,f);l(1,a,f);return a.join("")}function b(a){a=a.charCodeAt(0);var b=ma[a>>8];return b=ja[b]&&a<=Ja[b])return!0;return!1}function u(b,f,c,d){for(;f*c=a){for(g=d+1;g=a;)g++;for(h=g-1;dc||c+1>=b.length||(g=f[c-1])!=L&&g!=V||(h=b[c+1])!=L&&h!=V)return X;B.lastArabic&&(h=V);return h==g?h:X;case da:return g= 0=a||64286==a)&&(g==S||g==aa)))return S}return 1>c||b[c-1]==Q?X:f[c-1];case Q:return lastArabic=!1,B.hasUBAT_B=!0,B.dir;case ea:return B.hasUBAT_S=!0,X;case ha:case ra:case sa:case ta:case ua:lastArabic=!1;case va:return X}} function f(a,b){for(var f=0;f=a?!0:!1}function z(a){if("L"==a)return"LTR";if("R"==a)return"RTL";if("C"==a)return"CLR";if("D"==a)return"CRL"}function s(a,b){for(var f=0;f= g.charAt(h-1))continue}else if(h+1=g.charAt(h+1))continue;b+=g.charAt(h)}else b=new String(g);h=b.split("");for(g=0;gh[g]?(m=b.charCodeAt(g),"\ufef5"<=h[g]&&"\ufefc">=h[g]?c?(d+="\u0644",d+=I[parseInt((m-65269)/2)]):(d+=I[parseInt((m-65269)/2)],d+="\u0644"):d+=ga[m-65136]):d+=h[g];c=d}return c}},checkContextual:function(a){a=q(a);"ltr"!=a&&"rtl"!=a&&(a=document.dir.toLowerCase(),"ltr"!=a&&"rtl"!=a&&(a="ltr"));return a}, hasBidiChar:function(a){for(var b=null,f=b=null,c=0;c>8];b=f"],[">","<"],["[","]"],["]","["],["{","}"],["}","{"],["\u00ab","\u00bb"],["\u00bb","\u00ab"],["\u2039","\u203a"], ["\u203a","\u2039"],["\u207d","\u207e"],["\u207e","\u207d"],["\u208d","\u208e"],["\u208e","\u208d"],["\u2264","\u2265"],["\u2265","\u2264"],["\u2329","\u232a"],["\u232a","\u2329"],["\ufe59","\ufe5a"],["\ufe5a","\ufe59"],["\ufe5b","\ufe5c"],["\ufe5c","\ufe5b"],["\ufe5d","\ufe5e"],["\ufe5e","\ufe5d"],["\ufe64","\ufe65"],["\ufe65","\ufe64"]],I=["\u0622","\u0623","\u0625","\u0627"],P=["\ufef5","\ufef7","\ufef9","\ufefb"],K=["\ufef6","\ufef8","\ufefa","\ufefc"],w="\u0627\u0628\u062a\u062b\u062c\u062d\u062e\u062f\u0630\u0631\u0632\u0633\u0634\u0635\u0636\u0637\u0638\u0639\u063a\u0641\u0642\u0643\u0644\u0645\u0646\u0647\u0648\u064a\u0625\u0623\u0622\u0629\u0649\u06cc\u0626\u0624\u064b\u064c\u064d\u064e\u064f\u0650\u0651\u0652\u0621".split(""), W="\ufe8d\ufe8f\ufe95\ufe99\ufe9d\ufea1\ufea5\ufea9\ufeab\ufead\ufeaf\ufeb1\ufeb5\ufeb9\ufebd\ufec1\ufec5\ufec9\ufecd\ufed1\ufed5\ufed9\ufedd\ufee1\ufee5\ufee9\ufeed\ufef1\ufe87\ufe83\ufe81\ufe93\ufeef\ufbfc\ufe89\ufe85\ufe70\ufe72\ufe74\ufe76\ufe78\ufe7a\ufe7c\ufe7e\ufe80".split(""),O="\ufe8e\ufe90\ufe96\ufe9a\ufe9e\ufea2\ufea6\ufeaa\ufeac\ufeae\ufeb0\ufeb2\ufeb6\ufeba\ufebe\ufec2\ufec6\ufeca\ufece\ufed2\ufed6\ufeda\ufede\ufee2\ufee6\ufeea\ufeee\ufef2\ufe88\ufe84\ufe82\ufe94\ufef0\ufbfd\ufe8a\ufe86\ufe70\ufe72\ufe74\ufe76\ufe78\ufe7a\ufe7c\ufe7e\ufe80".split(""), fa="\ufe8e\ufe92\ufe98\ufe9c\ufea0\ufea4\ufea8\ufeaa\ufeac\ufeae\ufeb0\ufeb4\ufeb8\ufebc\ufec0\ufec4\ufec8\ufecc\ufed0\ufed4\ufed8\ufedc\ufee0\ufee4\ufee8\ufeec\ufeee\ufef4\ufe88\ufe84\ufe82\ufe94\ufef0\ufbff\ufe8c\ufe86\ufe71\ufe72\ufe74\ufe77\ufe79\ufe7b\ufe7d\ufe7f\ufe80".split(""),C="\ufe8d\ufe91\ufe97\ufe9b\ufe9f\ufea3\ufea7\ufea9\ufeab\ufead\ufeaf\ufeb3\ufeb7\ufebb\ufebf\ufec3\ufec7\ufecb\ufecf\ufed3\ufed7\ufedb\ufedf\ufee3\ufee7\ufeeb\ufeed\ufef3\ufe87\ufe83\ufe81\ufe93\ufeef\ufbfe\ufe8b\ufe85\ufe70\ufe72\ufe74\ufe76\ufe78\ufe7a\ufe7c\ufe7e\ufe80".split(""), Z="\u0621\u0627\u062f\u0630\u0631\u0632\u0648\u0622\u0629\u0626\u0624\u0625\u0675\u0623".split(""),ga="\u064b\u064b\u064c\u061f\u064d\u061f\u064e\u064e\u064f\u064f\u0650\u0650\u0651\u0651\u0652\u0652\u0621\u0622\u0622\u0623\u0623\u0624\u0624\u0625\u0625\u0626\u0626\u0626\u0626\u0627\u0627\u0628\u0628\u0628\u0628\u0629\u0629\u062a\u062a\u062a\u062a\u062b\u062b\u062b\u062b\u062c\u062c\u062c\u062c\u062d\u062d\u062d\u062d\u062e\u062e\u062e\u062e\u062f\u062f\u0630\u0630\u0631\u0631\u0632\u0632\u0633\u0633\u0633\u0633\u0634\u0634\u0634\u0634\u0635\u0635\u0635\u0635\u0636\u0636\u0636\u0636\u0637\u0637\u0637\u0637\u0638\u0638\u0638\u0638\u0639\u0639\u0639\u0639\u063a\u063a\u063a\u063a\u0641\u0641\u0641\u0641\u0642\u0642\u0642\u0642\u0643\u0643\u0643\u0643\u0644\u0644\u0644\u0644\u0645\u0645\u0645\u0645\u0646\u0646\u0646\u0646\u0647\u0647\u0647\u0647\u0648\u0648\u0649\u0649\u064a\u064a\u064a\u064a\ufef5\ufef6\ufef7\ufef8\ufef9\ufefa\ufefb\ufefc\u061f\u061f\u061f".split(""), ja=["\u0621","\u0641"],Ja=["\u063a","\u064a"],M=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],N=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],ka=0,S=1,L=2,V=3,X=4,Q=5,ea=6,aa=7,ba=8,qa=9,da=10,oa=11,pa=12,ha=13,ra=14,ua=15,sa=16,ta=17,va=18,Y=100,wa=Y+0,xa=Y+1,ya=Y+2,za=Y+3,Aa=Y+4,Ba=Y+5,Ca=Y+6,Da=Y+7,m=ka,x=S,H=L,R=V,g=X,ca=Q,la=ea,h=aa,T=ba,U=qa,$=da,F=oa,t=pa,Ea=ha,Fa=ra,Ga=ua,Ha=sa,Ia=ta,E=va,ma=[wa,m,m,m,m,xa,ya,za,x, m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,Aa,g,g,g,m,g,m,g,m,g,g,g,m,m,g,g,m,m,m,m,m,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,m,m,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,m,m,m,m,m,m,m,m,m,m,m,m,m,m,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,m,m,g,g,m,m,g,g,m,m,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,m,m,m,Ba,h,h,Ca,Da];delete wa; delete xa;delete ya;delete za;delete Aa;delete Ba;delete Ca;delete Da;var na=[[E,E,E,E,E,E,E,E,E,la,ca,la,T,ca,E,E,E,E,E,E,E,E,E,E,E,E,E,E,ca,ca,ca,la,T,g,g,F,F,F,g,g,g,g,g,$,U,$,U,U,H,H,H,H,H,H,H,H,H,H,U,g,g,g,g,g,g,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,g,g,g,g,g,g,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,g,g,g,g,E,E,E,E,E,E,ca,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,U,g,F,F,F,F,g,g,g,g,m,g,g,E,g,g,F,F,H,H,g,m,g,g,g,H,m,g,g,g,g,g,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m, m,m,m,m,m,m,m,m,g,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,g,m,m,m,m,m,m,m,m],[m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,g,g,g,g,g,g,g,g,g,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,g,g,m,m,m,m,m,m,m,g,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,g,m,g,g,g,g,g,g,g,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,x,t,x,t,t,x,t,t,x,t,g, g,g,g,g,g,g,g,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,g,g,g,g,g,x,x,x,x,x,g,g,g,g,g,g,g,g,g,g,g],[R,R,R,R,g,g,g,g,h,F,F,h,U,h,g,g,t,t,t,t,t,t,t,t,t,t,t,h,g,g,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,R,R,R,R,R,R,R,R,R,R,F,R,R,h,h,h,t,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h, h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,t,t,t,t,t,t,t,R,g,t,t,t,t,t,t,h,h,t,t,g,t,t,t,t,h,h,H,H,H,H,H,H,H,H,H,H,h,h,h,h,h,h],[h,h,h,h,h,h,h,h,h,h,h,h,h,h,g,h,h,t,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,g,g,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,t,t,t,t,t,t,t,t,t,t,t,h,g,g,g,g,g,g,g,g,g,g,g, g,g,g,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,t,t,t,t,t,t,t,t,t,x,x,g,g,g,g,x,g,g,g,g,g],[T,T,T,T,T,T,T,T,T,T,T,E,E,E,m,x,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,T,ca,Ea,Fa,Ga,Ha,Ia,U,F,F,F,F,F,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,U,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,T,E,E,E,E,E,g,g,g,g,g,E,E,E,E,E,E,H,m,g,g,H,H,H,H,H,H,$,$,g,g,g,m,H,H,H,H,H,H,H,H,H,H,$,$,g,g,g,g,m,m,m,m,m,m,m,m,m,m,m,m,m,g,g,g,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F, F,F,F,F,F,F,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g],[m,m,m,m,m,m,m,g,g,g,g,g,g,g,g,g,g,g,g,m,m,m,m,m,g,g,g,g,g,x,t,x,x,x,x,x,x,x,x,x,x,$,x,x,x,x,x,x,x,x,x,x,x,x,x,g,x,x,x,x,x,g,x,g,x,x,g,x,x,g,x,x,x,x,x,x,x,x,x,x,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h, h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h],[t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,t,t,t,t,t,t,t,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,U,g,U,g,g,U,g,g,g,g,g,g,g,g,g,F,g,g,$,$,g,g,g,g,g,F,F,g,g,g,g,g,h,h,h,h,h,g,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h, h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,h,g,g,E],[g,g,g,F,F,F,g,g,g,g,g,$,U,$,U,U,H,H,H,H,H,H,H,H,H,H,U,g,g,g,g,g,g,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,g,g,g,g,g,g,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,g,g,g,g,g,g,g,g,g,g,g,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m, m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,m,g,g,g,m,m,m,m,m,m,g,g,m,m,m,m,m,m,g,g,m,m,m,m,m,m,g,g,m,m,m,g,g,g,F,F,g,g,g,F,F,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g,g]];delete m;delete x;delete H;delete R;delete g;delete ca;delete la;delete h;delete T;delete U;delete $;delete F;delete t;delete Ea;delete Fa;delete Ga;delete Ha;delete Ia;delete E;return v})},"dojox/gfx/shape":function(){C("./_base dojo/_base/lang dojo/_base/declare dojo/_base/kernel dojo/_base/sniff dojo/on dojo/_base/array dojo/dom-construct dojo/_base/Color ./matrix".split(" "), function(k,p,e,q,c,b,d,a,u,l){var n=k.shape={};n.Shape=e("dojox.gfx.shape.Shape",null,{constructor:function(){this.parentMatrix=this.parent=this.bbox=this.strokeStyle=this.fillStyle=this.matrix=this.shape=this.rawNode=null;if(c("gfxRegistry")){var a=n.register(this);this.getUID=function(){return a}}},destroy:function(){c("gfxRegistry")&&n.dispose(this);this.rawNode&&"__gfxObject__"in this.rawNode&&(this.rawNode.__gfxObject__=null);this.rawNode=null},getNode:function(){return this.rawNode},getShape:function(){return this.shape}, getTransform:function(){return this.matrix},getFill:function(){return this.fillStyle},getStroke:function(){return this.strokeStyle},getParent:function(){return this.parent},getBoundingBox:function(){return this.bbox},getTransformedBoundingBox:function(){var a=this.getBoundingBox();if(!a)return null;var b=this._getRealMatrix();return[l.multiplyPoint(b,a.x,a.y),l.multiplyPoint(b,a.x+a.width,a.y),l.multiplyPoint(b,a.x+a.width,a.y+a.height),l.multiplyPoint(b,a.x,a.y+a.height)]},getEventSource:function(){return this.rawNode}, setClip:function(a){this.clip=a},getClip:function(){return this.clip},setShape:function(a){this.shape=k.makeParameters(this.shape,a);this.bbox=null;return this},setFill:function(a){if(!a)return this.fillStyle=null,this;var b=null;if("object"==typeof a&&"type"in a)switch(a.type){case "linear":b=k.makeParameters(k.defaultLinearGradient,a);break;case "radial":b=k.makeParameters(k.defaultRadialGradient,a);break;case "pattern":b=k.makeParameters(k.defaultPattern,a)}else b=k.normalizeColor(a);this.fillStyle= b;return this},setStroke:function(a){if(!a)return this.strokeStyle=null,this;if("string"==typeof a||p.isArray(a)||a instanceof u)a={color:a};a=this.strokeStyle=k.makeParameters(k.defaultStroke,a);a.color=k.normalizeColor(a.color);return this},setTransform:function(a){this.matrix=l.clone(a?l.normalize(a):l.identity);return this._applyTransform()},_applyTransform:function(){return this},moveToFront:function(){var a=this.getParent();a&&(a._moveChildToFront(this),this._moveToFront());return this},moveToBack:function(){var a= this.getParent();a&&(a._moveChildToBack(this),this._moveToBack());return this},_moveToFront:function(){},_moveToBack:function(){},applyRightTransform:function(a){return a?this.setTransform([this.matrix,a]):this},applyLeftTransform:function(a){return a?this.setTransform([a,this.matrix]):this},applyTransform:function(a){return a?this.setTransform([this.matrix,a]):this},removeShape:function(a){this.parent&&this.parent.remove(this,a);return this},_setParent:function(a,b){this.parent=a;return this._updateParentMatrix(b)}, _updateParentMatrix:function(a){this.parentMatrix=a?l.clone(a):null;return this._applyTransform()},_getRealMatrix:function(){for(var a=this.matrix,b=this.parent;b;)b.matrix&&(a=l.multiply(b.matrix,a)),b=b.parent;return a}});n._eventsProcessing={on:function(a,c){return b(this.getEventSource(),a,n.fixCallback(this,k.fixTarget,c))},connect:function(a,b,c){"on"==a.substring(0,2)&&(a=a.substring(2));return this.on(a,c?p.hitch(b,c):b)},disconnect:function(a){return a.remove()}};n.fixCallback=function(a, b,c,d){d||(d=c,c=null);if(p.isString(d)){c=c||q.global;if(!c[d])throw['dojox.gfx.shape.fixCallback: scope["',d,'"] is null (scope="',c,'")'].join("");return function(l){return b(l,a)?c[d].apply(c,arguments||[]):void 0}}return!c?function(l){return b(l,a)?d.apply(c,arguments):void 0}:function(l){return b(l,a)?d.apply(c,arguments||[]):void 0}};p.extend(n.Shape,n._eventsProcessing);n.Container={_init:function(){this.children=[];this._batch=0},openBatch:function(){return this},closeBatch:function(){return this}, add:function(a){var b=a.getParent();b&&b.remove(a,!0);this.children.push(a);return a._setParent(this,this._getRealMatrix())},remove:function(a,b){for(var c=0;cc.x&&(d=c.x),ec.y&&(l=c.y),n=d||Infinity==d)d=b;d--;a=Math.round(a/(b/d));this._setValueAttr(Math.max(Math.min((this.maximum- this.minimum)*a/d+this.minimum,this.maximum),this.minimum),c)}},_setValueAttr:function(a,b){this._set("value",a);this.valueNode.value=a;this.focusNode.setAttribute("aria-valuenow",a);this.inherited(arguments);var c=(a-this.minimum)/(this.maximum-this.minimum),d=!1===this._descending?this.remainingBar:this.progressBar,f=!1===this._descending?this.progressBar:this.remainingBar;this._inProgressAnim&&"stopped"!=this._inProgressAnim.status&&this._inProgressAnim.stop(!0);if(b&&0k&&(k=0-k),e[this._progressPixelSize]={start:r,end:100*c,units:"%"},this._inProgressAnim=q.animateProperty({node:d,duration:k,onAnimate:function(a){f.style[l._progressPixelSize]=100-parseFloat(a[l._progressPixelSize])+"%"},onEnd:function(){delete l._inProgressAnim},properties:e}),this._inProgressAnim.play())}else d.style[this._progressPixelSize]=100*c+"%",f.style[this._progressPixelSize]=100*(1-c)+"%"}, _bumpValue:function(a,d){if(!this.disabled&&!this.readOnly){var f=b.getComputedStyle(this.sliderBarContainer),l=c.getContentBox(this.sliderBarContainer,f),f=this.discreteValues;if(1>=f||Infinity==f)f=l[this._pixelCount];f--;l=(this.value-this.minimum)*f/(this.maximum-this.minimum)+a;0>l&&(l=0);l>f&&(l=f);l=l*(this.maximum-this.minimum)/f+this.minimum;this._setValueAttr(l,d)}},_onClkBumper:function(a){!this.disabled&&(!this.readOnly&&this.clickSelect)&&this._setValueAttr(a,!0)},_onClkIncBumper:function(){this._onClkBumper(!1=== this._descending?this.minimum:this.maximum)},_onClkDecBumper:function(){this._onClkBumper(!1===this._descending?this.maximum:this.minimum)},decrement:function(a){this._bumpValue(a.keyCode==d.PAGE_DOWN?-this.pageIncrement:-1)},increment:function(a){this._bumpValue(a.keyCode==d.PAGE_UP?this.pageIncrement:1)},_mouseWheeled:function(a){a.stopPropagation();a.preventDefault();this._bumpValue(0>a.wheelDelta?-1:1,!0)},startup:function(){this._started||(k.forEach(this.getChildren(),function(a){this[a.container]!= this.containerNode&&this[a.container].appendChild(a.domNode)},this),this.inherited(arguments))},_typematicCallback:function(a,b,c){if(-1==a)this._setValueAttr(this.value,!0);else this[b==(this._descending?this.incrementButton:this.decrementButton)?"decrement":"increment"](c)},buildRendering:function(){this.inherited(arguments);this.showButtons&&(this.incrementButton.style.display="",this.decrementButton.style.display="");var a=f('label[for="'+this.id+'"]');a.length&&(a[0].id||(a[0].id=this.id+"_label"), this.focusNode.setAttribute("aria-labelledby",a[0].id));this.focusNode.setAttribute("aria-valuemin",this.minimum);this.focusNode.setAttribute("aria-valuemax",this.maximum)},postCreate:function(){this.inherited(arguments);this.showButtons&&this.own(B.addMouseListener(this.decrementButton,this,"_typematicCallback",25,500),B.addMouseListener(this.incrementButton,this,"_typematicCallback",25,500));this.own(z(this.domNode,r.wheel,a.hitch(this,"_mouseWheeled")));var b=p(D,{widget:this});this._movable=new l(this.sliderHandle, {mover:b});this._layoutHackIE7()},destroy:function(){this._movable.destroy();this._inProgressAnim&&"stopped"!=this._inProgressAnim.status&&this._inProgressAnim.stop(!0);this.inherited(arguments)}});e._Mover=D;return e})},"dojo/dnd/move":function(){C("../_base/declare ../dom-geometry ../dom-style ./common ./Mover ./Moveable".split(" "),function(k,p,e,q,c,b){q=k("dojo.dnd.move.constrainedMoveable",b,{constraints:function(){},within:!1,constructor:function(b,a){a||(a={});this.constraints=a.constraints; this.within=a.within},onFirstMove:function(b){var a=this.constraintBox=this.constraints.call(this,b);a.r=a.l+a.w;a.b=a.t+a.h;this.within&&(b=p.getMarginSize(b.node),a.r-=b.w,a.b-=b.h)},onMove:function(b,a){var c=this.constraintBox,l=b.node.style;this.onMoving(b,a);a.l=a.lthis._currentTimeout?this._initialDelay:1c("ie")&&(d.trigger(k,b,a,l,a,n,f,r),setTimeout(e.hitch(this,d.stop),50))}))];return{remove:function(){k.forEach(z, function(a){a.remove()})}}},addListener:function(a,b,c,d,f,e,z,s){var v=[this.addKeyListener(b,c,d,f,e,z,s),this.addMouseListener(a,d,f,e,z,s)];return{remove:function(){k.forEach(v,function(a){a.remove()})}}}};return d})},"dijit/form/Button":function(){C("require dojo/_base/declare dojo/dom-class dojo/has dojo/_base/kernel dojo/_base/lang dojo/ready ./_FormWidget ./_ButtonMixin dojo/text!./templates/Button.html".split(" "),function(k,p,e,q,c,b,d,a,u,l){k=p("dijit.form.Button"+(q("dojo-bidi")?"_NoBidi": ""),[a,u],{showLabel:!0,iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",type:"class"},baseClass:"dijitButton",templateString:l,_setValueAttr:"valueNode",_setNameAttr:function(a){this.valueNode&&this.valueNode.setAttribute("name",a)},_fillContent:function(a){if(a&&(!this.params||!("label"in this.params)))if(a=b.trim(a.innerHTML))this.label=a},_setShowLabelAttr:function(a){this.containerNode&&e.toggle(this.containerNode,"dijitDisplayNone",!a);this._set("showLabel",a)},setLabel:function(a){c.deprecated("dijit.form.Button.setLabel() is deprecated. Use set('label', ...) instead.", "","2.0");this.set("label",a)},_setLabelAttr:function(a){this.inherited(arguments);!this.showLabel&&!("title"in this.params)&&(this.titleNode.title=b.trim(this.containerNode.innerText||this.containerNode.textContent||""))}});q("dojo-bidi")&&(k=p("dijit.form.Button",k,{_setLabelAttr:function(a){this.inherited(arguments);this.titleNode.title&&this.applyTextDir(this.titleNode,this.titleNode.title)},_setTextDirAttr:function(a){this._created&&this.textDir!=a&&(this._set("textDir",a),this._setLabelAttr(this.label))}})); return k})},"dijit/form/_FormWidget":function(){C("dojo/_base/declare dojo/sniff dojo/_base/kernel dojo/ready ../_Widget ../_CssStateMixin ../_TemplatedMixin ./_FormWidgetMixin".split(" "),function(k,p,e,q,c,b,d,a){return k("dijit.form._FormWidget",[c,d,b,a],{setDisabled:function(a){e.deprecated("setDisabled("+a+") is deprecated. Use set('disabled',"+a+") instead.","","2.0");this.set("disabled",a)},setValue:function(a){e.deprecated("dijit.form._FormWidget:setValue("+a+") is deprecated. Use set('value',"+ a+") instead.","","2.0");this.set("value",a)},getValue:function(){e.deprecated(this.declaredClass+"::getValue() is deprecated. Use get('value') instead.","","2.0");return this.get("value")},postMixInProperties:function(){this.nameAttrSetting=this.name&&!p("msapp")?'name="'+this.name.replace(/"/g,""")+'"':"";this.inherited(arguments)},_setTypeAttr:null})})},"dijit/_CssStateMixin":function(){C("dojo/_base/array dojo/_base/declare dojo/dom dojo/dom-class dojo/has dojo/_base/lang dojo/on dojo/domReady dojo/touch dojo/_base/window ./a11yclick ./registry".split(" "), function(k,p,e,q,c,b,d,a,u,l,n,f){p=p("dijit._CssStateMixin",[],{hovering:!1,active:!1,_applyAttributes:function(){this.inherited(arguments);k.forEach("disabled readOnly checked selected focused state hovering active _opened".split(" "),function(a){this.watch(a,b.hitch(this,"_setStateClass"))},this);for(var a in this.cssStateNodes||{})this._trackMouseState(this[a],this.cssStateNodes[a]);this._trackMouseState(this.domNode,this.baseClass);this._setStateClass()},_cssMouseEvent:function(a){if(!this.disabled)switch(a.type){case "mouseover":case "MSPointerOver":this._set("hovering", !0);this._set("active",this._mouseDown);break;case "mouseout":case "MSPointerOut":this._set("hovering",!1);this._set("active",!1);break;case "mousedown":case "touchstart":case "MSPointerDown":case "keydown":this._set("active",!0);break;case "mouseup":case "dojotouchend":case "keyup":this._set("active",!1)}},_setStateClass:function(){function a(c){b=b.concat(k.map(b,function(a){return a+c}),"dijit"+c)}var b=this.baseClass.split(" ");this.isLeftToRight()||a("Rtl");var c="mixed"==this.checked?"Mixed": this.checked?"Checked":"";this.checked&&a(c);this.state&&a(this.state);this.selected&&a("Selected");this._opened&&a("Opened");this.disabled?a("Disabled"):this.readOnly?a("ReadOnly"):this.active?a("Active"):this.hovering&&a("Hover");this.focused&&a("Focused");var c=this.stateNode||this.domNode,d={};k.forEach(c.className.split(" "),function(a){d[a]=!0});"_stateClasses"in this&&k.forEach(this._stateClasses,function(a){delete d[a]});k.forEach(b,function(a){d[a]=!0});var f=[],l;for(l in d)f.push(l);c.className= f.join(" ");this._stateClasses=b},_subnodeCssMouseEvent:function(a,b,c){function d(c){q.toggle(a,b+"Active",c)}if(!this.disabled&&!this.readOnly)switch(c.type){case "mouseover":case "MSPointerOver":q.toggle(a,b+"Hover",!0);break;case "mouseout":case "MSPointerOut":q.toggle(a,b+"Hover",!1);d(!1);break;case "mousedown":case "touchstart":case "MSPointerDown":case "keydown":d(!0);break;case "mouseup":case "MSPointerUp":case "dojotouchend":case "keyup":d(!1);break;case "focus":case "focusin":q.toggle(a, b+"Focused",!0);break;case "blur":case "focusout":q.toggle(a,b+"Focused",!1)}},_trackMouseState:function(a,b){a._cssState=b}});a(function(){function a(b,c,d){if(!d||!e.isDescendant(d,c))for(;c&&c!=d;c=c.parentNode)if(c._cssState){var l=f.getEnclosingWidget(c);l&&(c==l.domNode?l._cssMouseEvent(b):l._subnodeCssMouseEvent(c,c._cssState,b))}}var b=l.body(),c;d(b,u.over,function(b){a(b,b.target,b.relatedTarget)});d(b,u.out,function(b){a(b,b.target,b.relatedTarget)});d(b,n.press,function(b){c=b.target; a(b,c)});d(b,n.release,function(b){a(b,c);c=null});d(b,"focusin, focusout",function(a){var b=a.target;if(b._cssState&&!b.getAttribute("widgetId")){var c=f.getEnclosingWidget(b);c&&c._subnodeCssMouseEvent(b,b._cssState,a)}})});return p})},"dijit/_TemplatedMixin":function(){C("dojo/cache dojo/_base/declare dojo/dom-construct dojo/_base/lang dojo/on dojo/sniff dojo/string ./_AttachMixin".split(" "),function(k,p,e,q,c,b,d,a){var u=p("dijit._TemplatedMixin",a,{templateString:null,templatePath:null,_skipNodeCache:!1, searchContainerNode:!0,_stringRepl:function(a){var b=this.declaredClass,c=this;return d.substitute(a,this,function(a,d){"!"==d.charAt(0)&&(a=q.getObject(d.substr(1),!1,c));if("undefined"==typeof a)throw Error(b+" template:"+d);return null==a?"":"!"==d.charAt(0)?a:a.toString().replace(/"/g,""")},this)},buildRendering:function(){if(!this._rendered){this.templateString||(this.templateString=k(this.templatePath,{sanitize:!0}));var a=u.getCachedTemplate(this.templateString,this._skipNodeCache,this.ownerDocument), b;if(q.isString(a)){if(b=e.toDom(this._stringRepl(a),this.ownerDocument),1!=b.nodeType)throw Error("Invalid template: "+a);}else b=a.cloneNode(!0);this.domNode=b}this.inherited(arguments);this._rendered||this._fillContent(this.srcNodeRef);this._rendered=!0},_fillContent:function(a){var b=this.containerNode;if(a&&b)for(;a.hasChildNodes();)b.appendChild(a.firstChild)}});u._templateCache={};u.getCachedTemplate=function(a,b,c){var k=u._templateCache,z=a,s=k[z];if(s){try{if(!s.ownerDocument||s.ownerDocument== (c||document))return s}catch(q){}e.destroy(s)}a=d.trim(a);if(b||a.match(/\$\{([^\}]+)\}/g))return k[z]=a;b=e.toDom(a,c);if(1!=b.nodeType)throw Error("Invalid template: "+a);return k[z]=b};b("ie")&&c(window,"unload",function(){var a=u._templateCache,b;for(b in a){var c=a[b];"object"==typeof c&&e.destroy(c);delete a[b]}});return u})},"dojo/cache":function(){C(["./_base/kernel","./text"],function(k){return k.cache})},"dojo/text":function(){C(["./_base/kernel","require","./has","./request"],function(k, p,e,q){var c;c=function(a,b,c){q(a,{sync:!!b}).then(c)};var b={},d=function(a){if(a){a=a.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");var b=a.match(/]*>\s*([\s\S]+)\s*<\/body>/im);b&&(a=b[1])}else a="";return a},a={},u={};k.cache=function(a,e,f){var k;"string"==typeof a?/\//.test(a)?(k=a,f=e):k=p.toUrl(a.replace(/\./g,"/")+(e?"/"+e:"")):(k=a+"",f=e);a=void 0!=f&&"string"!=typeof f?f.value:f;f=f&&f.sanitize;if("string"==typeof a)return b[k]=a,f?d(a):a;if(null===a)return delete b[k], null;k in b||c(k,!0,function(a){b[k]=a});return f?d(b[k]):b[k]};return{dynamic:!0,normalize:function(a,b){var c=a.split("!"),d=c[0];return(/^\./.test(d)?b(d):d)+(c[1]?"!"+c[1]:"")},load:function(e,k,f){e=e.split("!");var r=1b?1:ae?"eraAbbr":"eraNames"][0>a.getFullYear()?0:1];break;case "y":l=a.getFullYear();switch(e){case 1:break;case 2:if(!c.fullYear){l=String(l);l=l.substr(l.length-2);break}default:k=!0}break;case "Q":case "q":l=Math.ceil((a.getMonth()+1)/3);k=!0;break;case "M":case "L":l=a.getMonth();3>e?(l+=1,k=!0):(n=["months","L"==n?"standAlone": "format",I[e-3]].join("-"),l=b[n][l]);break;case "w":l=r._getWeekOfYear(a,0);k=!0;break;case "d":l=a.getDate();k=!0;break;case "D":l=r._getDayOfYear(a);k=!0;break;case "e":case "c":if(l=a.getDay(),2>e){l=(l-q.getFirstDayOfWeek(c.locale)+8)%7;break}case "E":l=a.getDay();3>e?(l+=1,k=!0):(n=["days","c"==n?"standAlone":"format",I[e-3]].join("-"),l=b[n][l]);break;case "a":n=12>a.getHours()?"am":"pm";l=c[n]||b["dayPeriods-format-wide-"+n];break;case "h":case "H":case "K":case "k":k=a.getHours();switch(n){case "h":l= k%12||12;break;case "H":l=k;break;case "K":l=k%12;break;case "k":l=k||24}k=!0;break;case "m":l=a.getMinutes();k=!0;break;case "s":l=a.getSeconds();k=!0;break;case "S":l=Math.round(a.getMilliseconds()*Math.pow(10,e-3));k=!0;break;case "v":case "z":if(l=r._getZone(a,!0,c))break;e=4;case "Z":n=r._getZone(a,!1,c);n=[0>=n?"+":"-",d.pad(Math.floor(Math.abs(n)/60),2),d.pad(Math.abs(n)%60,2)];4==e&&(n.splice(0,0,"GMT"),n.splice(3,0,":"));l=n.join("");break;default:throw Error("dojo.date.locale.format: invalid pattern char: "+ f);}k&&(l=d.pad(l,e));return l})}function n(a,b,c,d){var f=function(a){return a};b=b||f;c=c||f;d=d||f;var e=a.match(/(''|[^'])+/g),l="'"==a.charAt(0);p.forEach(e,function(a,d){a?(e[d]=(l?c:b)(a.replace(/''/g,"'")),l=!l):e[d]=""});return d(e.join(""))}function f(a,c,d,f){f=b.escapeString(f);d.strict||(f=f.replace(" a"," ?a"));return f.replace(/([a-z])\1*/ig,function(b){var f;f=b.charAt(0);var e=b.length,l="",k="";d.strict?(1a)a=Number(a),d=""+(new Date).getFullYear(),e=100*d.substring(0,2),d=Math.min(Number(d.substring(2,4))+20,99),n[0]=ad?n[3]=d+12:"a"===I&&12==d&&(n[3]=0);d=new Date(n[0],n[1],n[2],n[3],n[4],n[5],n[6]);b.strict&&d.setFullYear(n[0]);var q=f.join(""),z=-1!=q.indexOf("d"), q=-1!=q.indexOf("M");if(!c||q&&d.getMonth()>n[1]||z&&d.getDate()>n[2])return null;if(q&&d.getMonth()=c.start&&d<=c.end};r._getDayOfYear=function(a){return e.difference(new Date(a.getFullYear(),0,1,a.getHours()),a)+1};r._getWeekOfYear=function(a,b){1==arguments.length&&(b=0);var c=(new Date(a.getFullYear(),0,1)).getDay(),d=Math.floor((r._getDayOfYear(a)+(c-b+7)%7- 1)/7);c==b&&d++;return d};return r})},"dojo/date":function(){C(["./has","./_base/lang"],function(k,p){var e={getDaysInMonth:function(k){var c=k.getMonth();return 1==c&&e.isLeapYear(k)?29:[31,28,31,30,31,30,31,31,30,31,30,31][c]},isLeapYear:function(e){e=e.getFullYear();return!(e%400)||!(e%4)&&!!(e%100)},getTimezoneName:function(e){var c=e.toString(),b="",d=c.indexOf("(");if(-1c?1:eb&&(f=-1);n+=c;if(0==n||6==n)f=0d)switch(!0){case 6==l:p=0;break;case 0==l:p=1;break;case 6==c:p=2;break;case 0==c:p=1;break;case 0>k+a:p=2}d=d+p-2*b}a=d;break;case "year":a=d;break;case "month":a=c.getMonth()-k.getMonth()+12* d;break;case "week":a=parseInt(e.difference(k,c,"day")/7);break;case "day":a/=24;case "hour":a/=60;case "minute":a/=60;case "second":a/=1E3;case "millisecond":a*=c.getTime()-k.getTime()}return Math.round(a)}};p.mixin(p.getObject("dojo.date",!0),e);return e})},"dojo/cldr/supplemental":function(){C(["../_base/lang","../i18n"],function(k,p){var e={};k.setObject("dojo.cldr.supplemental",e);e.getFirstDayOfWeek=function(k){k={bd:5,mv:5,ae:6,af:6,bh:6,dj:6,dz:6,eg:6,iq:6,ir:6,jo:6,kw:6,ly:6,ma:6,om:6,qa:6, sa:6,sd:6,sy:6,ye:6,ag:0,ar:0,as:0,au:0,br:0,bs:0,bt:0,bw:0,by:0,bz:0,ca:0,cn:0,co:0,dm:0,"do":0,et:0,gt:0,gu:0,hk:0,hn:0,id:0,ie:0,il:0,"in":0,jm:0,jp:0,ke:0,kh:0,kr:0,la:0,mh:0,mm:0,mo:0,mt:0,mx:0,mz:0,ni:0,np:0,nz:0,pa:0,pe:0,ph:0,pk:0,pr:0,py:0,sg:0,sv:0,th:0,tn:0,tt:0,tw:0,um:0,us:0,ve:0,vi:0,ws:0,za:0,zw:0}[e._region(k)];return void 0===k?1:k};e._region=function(e){e=p.normalizeLocale(e);e=e.split("-");var c=e[1];c?4==c.length&&(c=e[2]):c={aa:"et",ab:"ge",af:"za",ak:"gh",am:"et",ar:"eg",as:"in", av:"ru",ay:"bo",az:"az",ba:"ru",be:"by",bg:"bg",bi:"vu",bm:"ml",bn:"bd",bo:"cn",br:"fr",bs:"ba",ca:"es",ce:"ru",ch:"gu",co:"fr",cr:"ca",cs:"cz",cv:"ru",cy:"gb",da:"dk",de:"de",dv:"mv",dz:"bt",ee:"gh",el:"gr",en:"us",es:"es",et:"ee",eu:"es",fa:"ir",ff:"sn",fi:"fi",fj:"fj",fo:"fo",fr:"fr",fy:"nl",ga:"ie",gd:"gb",gl:"es",gn:"py",gu:"in",gv:"gb",ha:"ng",he:"il",hi:"in",ho:"pg",hr:"hr",ht:"ht",hu:"hu",hy:"am",ia:"fr",id:"id",ig:"ng",ii:"cn",ik:"us","in":"id",is:"is",it:"it",iu:"ca",iw:"il",ja:"jp",ji:"ua", jv:"id",jw:"id",ka:"ge",kg:"cd",ki:"ke",kj:"na",kk:"kz",kl:"gl",km:"kh",kn:"in",ko:"kr",ks:"in",ku:"tr",kv:"ru",kw:"gb",ky:"kg",la:"va",lb:"lu",lg:"ug",li:"nl",ln:"cd",lo:"la",lt:"lt",lu:"cd",lv:"lv",mg:"mg",mh:"mh",mi:"nz",mk:"mk",ml:"in",mn:"mn",mo:"ro",mr:"in",ms:"my",mt:"mt",my:"mm",na:"nr",nb:"no",nd:"zw",ne:"np",ng:"na",nl:"nl",nn:"no",no:"no",nr:"za",nv:"us",ny:"mw",oc:"fr",om:"et",or:"in",os:"ge",pa:"in",pl:"pl",ps:"af",pt:"br",qu:"pe",rm:"ch",rn:"bi",ro:"ro",ru:"ru",rw:"rw",sa:"in",sd:"in", se:"no",sg:"cf",si:"lk",sk:"sk",sl:"si",sm:"ws",sn:"zw",so:"so",sq:"al",sr:"rs",ss:"za",st:"za",su:"id",sv:"se",sw:"tz",ta:"in",te:"in",tg:"tj",th:"th",ti:"et",tk:"tm",tl:"ph",tn:"za",to:"to",tr:"tr",ts:"za",tt:"ru",ty:"pf",ug:"cn",uk:"ua",ur:"pk",uz:"uz",ve:"za",vi:"vn",wa:"be",wo:"sn",xh:"za",yi:"il",yo:"ng",za:"cn",zh:"cn",zu:"za",ace:"id",ady:"ru",agq:"cm",alt:"ru",amo:"ng",asa:"tz",ast:"es",awa:"in",bal:"pk",ban:"id",bas:"cm",bax:"cm",bbc:"id",bem:"zm",bez:"tz",bfq:"in",bft:"pk",bfy:"in",bhb:"in", bho:"in",bik:"ph",bin:"ng",bjj:"in",bku:"ph",bqv:"ci",bra:"in",brx:"in",bss:"cm",btv:"pk",bua:"ru",buc:"yt",bug:"id",bya:"id",byn:"er",cch:"ng",ccp:"in",ceb:"ph",cgg:"ug",chk:"fm",chm:"ru",chp:"ca",chr:"us",cja:"kh",cjm:"vn",ckb:"iq",crk:"ca",csb:"pl",dar:"ru",dav:"ke",den:"ca",dgr:"ca",dje:"ne",doi:"in",dsb:"de",dua:"cm",dyo:"sn",dyu:"bf",ebu:"ke",efi:"ng",ewo:"cm",fan:"gq",fil:"ph",fon:"bj",fur:"it",gaa:"gh",gag:"md",gbm:"in",gcr:"gf",gez:"et",gil:"ki",gon:"in",gor:"id",grt:"in",gsw:"ch",guz:"ke", gwi:"ca",haw:"us",hil:"ph",hne:"in",hnn:"ph",hoc:"in",hoj:"in",ibb:"ng",ilo:"ph",inh:"ru",jgo:"cm",jmc:"tz",kaa:"uz",kab:"dz",kaj:"ng",kam:"ke",kbd:"ru",kcg:"ng",kde:"tz",kdt:"th",kea:"cv",ken:"cm",kfo:"ci",kfr:"in",kha:"in",khb:"cn",khq:"ml",kht:"in",kkj:"cm",kln:"ke",kmb:"ao",koi:"ru",kok:"in",kos:"fm",kpe:"lr",krc:"ru",kri:"sl",krl:"ru",kru:"in",ksb:"tz",ksf:"cm",ksh:"de",kum:"ru",lag:"tz",lah:"pk",lbe:"ru",lcp:"cn",lep:"in",lez:"ru",lif:"np",lis:"cn",lki:"ir",lmn:"in",lol:"cd",lua:"cd",luo:"ke", luy:"ke",lwl:"th",mad:"id",mag:"in",mai:"in",mak:"id",man:"gn",mas:"ke",mdf:"ru",mdh:"ph",mdr:"id",men:"sl",mer:"ke",mfe:"mu",mgh:"mz",mgo:"cm",min:"id",mni:"in",mnk:"gm",mnw:"mm",mos:"bf",mua:"cm",mwr:"in",myv:"ru",nap:"it",naq:"na",nds:"de","new":"np",niu:"nu",nmg:"cm",nnh:"cm",nod:"th",nso:"za",nus:"sd",nym:"tz",nyn:"ug",pag:"ph",pam:"ph",pap:"bq",pau:"pw",pon:"fm",prd:"ir",raj:"in",rcf:"re",rej:"id",rjs:"np",rkt:"in",rof:"tz",rwk:"tz",saf:"gh",sah:"ru",saq:"ke",sas:"id",sat:"in",saz:"in",sbp:"tz", scn:"it",sco:"gb",sdh:"ir",seh:"mz",ses:"ml",shi:"ma",shn:"mm",sid:"et",sma:"se",smj:"se",smn:"fi",sms:"fi",snk:"ml",srn:"sr",srr:"sn",ssy:"er",suk:"tz",sus:"gn",swb:"yt",swc:"cd",syl:"bd",syr:"sy",tbw:"ph",tcy:"in",tdd:"cn",tem:"sl",teo:"ug",tet:"tl",tig:"er",tiv:"ng",tkl:"tk",tmh:"ne",tpi:"pg",trv:"tw",tsg:"ph",tts:"th",tum:"mw",tvl:"tv",twq:"ne",tyv:"ru",tzm:"ma",udm:"ru",uli:"fm",umb:"ao",unr:"in",unx:"in",vai:"lr",vun:"tz",wae:"ch",wal:"et",war:"ph",xog:"ug",xsr:"np",yao:"mz",yap:"fm",yav:"cm", zza:"tr"}[e[0]];return c};e.getWeekend=function(k){var c=e._region(k);k={"in":0,af:4,dz:4,ir:4,om:4,sa:4,ye:4,ae:5,bh:5,eg:5,il:5,iq:5,jo:5,kw:5,ly:5,ma:5,qa:5,sd:5,sy:5,tn:5}[c];c={af:5,dz:5,ir:5,om:5,sa:5,ye:5,ae:6,bh:5,eg:6,il:6,iq:6,jo:6,kw:6,ly:6,ma:6,qa:6,sd:6,sy:6,tn:6}[c];void 0===k&&(k=6);void 0===c&&(c=0);return{start:k,end:c}};return e})},"dojo/selector/lite":function(){C(["../has","../_base/kernel"],function(k,p){var e=document.createElement("div"),q=e.matchesSelector||e.webkitMatchesSelector|| e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector,c=e.querySelectorAll,b=/([^\s,](?:"(?:\\.|[^"])+"|'(?:\\.|[^'])+'|[^,])*)/g;k.add("dom-matches-selector",!!q);k.add("dom-qsa",!!c);var d=function(b,f){if(l&&-1|.+\s+))([\w\-\*]+)(\S*$)/).exec(b);f=f||e;if(k){if(k[2]){var s=p.byId?p.byId(k[2],e):e.getElementById(k[2]);if(!s|| k[1]&&k[1]!=s.tagName.toLowerCase())return[];if(f!=e)for(e=s;e!=f;)if(e=e.parentNode,!e)return[];return k[3]?d(k[3],s):[s]}if(k[3]&&f.getElementsByClassName)return f.getElementsByClassName(k[4]);if(k[5])if(s=f.getElementsByTagName(k[5]),k[4]||k[6])b=(k[4]||"")+k[6];else return s}if(c)return 1===f.nodeType&&"object"!==f.nodeName.toLowerCase()?a(f,b,f.querySelectorAll):f.querySelectorAll(b);s||(s=f.getElementsByTagName("*"));for(var k=[],e=0,q=s.length;e ])\s*)|(#|\.)?((?:\\.|[\w-])+)|\[\s*([\w-]+)\s*(.?=)?\s*("(?:\\.|[^"])+"|'(?:\\.|[^'])+'|(?:\\.|[^\]])*)\s*\]/g, function(e,l,p,w,q,u,B){w?s=d(s,k[p||""](w.replace(/\\/g,""))):l?s=(" "==l?b:c)(s):q&&(s=d(s,a(q,B,u)));return""}))throw Error("Syntax error in query");if(!s)return!0;q[l]=s}return s(e,p)}}();if(!k("dom-qsa"))var l=function(a,c){for(var e=a.match(b),l=[],k=0;k';b="adj"in c.firstChild;c.innerHTML="";return b});return{load:function(d,a,u){function l(){a(["dojox/gfx/"+n],function(a){k.renderer=n;b= a;u(a)})}if(b&&"force"!=d)u(b);else{var n=c.forceGfxRenderer;d=!n&&(p.isString(c.gfxRenderer)?c.gfxRenderer:"svg,vml,canvas,silverlight").split(",");for(var f,r;!n&&d.length;)switch(d.shift()){case "svg":"SVGAngle"in q.global&&(n="svg");break;case "vml":e("vml")&&(n="vml");break;case "silverlight":try{e("ie")?(f=new ActiveXObject("AgControl.AgControl"))&&f.IsVersionSupported("1.0")&&(r=!0):navigator.plugins["Silverlight Plug-In"]&&(r=!0)}catch(z){r=!1}finally{f=null}r&&(n="silverlight");break;case "canvas":q.global.CanvasRenderingContext2D&& (n="canvas")}"canvas"===n&&!1!==c.canvasEvents&&(n="canvasWithEvents");c.isDebug&&console.log("gfx renderer = "+n);"svg"==n&&"undefined"!=typeof window.svgweb?window.svgweb.addOnLoad(l):l()}}}})},"dojox/date/timezone":function(){C(["dojo","dojo/date","dojo/date/locale","dojo/_base/array","dojo/_base/xhr"],function(k,p,e){function q(a){a=a||{};A=k.mixin(A,a.zones||{});D=k.mixin(D,a.rules||{})}function c(a){G[a]=!0;k.xhrGet({url:da.toUrl((s.timezoneFileBasePath||"dojox/date/zoneinfo")+"/"+a),sync:!0, handleAs:"olson-zoneinfo",load:q,error:function(a){console.error("Error loading zone file:",a);throw a;}})}function b(a){throw Error('Timezone "'+a+'" is either incorrect, or not loaded in the timezone registry.');}function d(a){var f=W[a];if(!f&&(f=a.split("/")[0],f=w[f],!f)){var e=A[a];if("string"==typeof e)return d(e);if(G.backward)b(a);else return c("backward"),d(a)}return f}function a(a){a=a.match(/(\d+)(?::0*(\d*))?(?::0*(\d*))?([su])?$/);if(!a)return null;a[1]=parseInt(a[1],10);a[2]=a[2]?parseInt(a[2], 10):0;a[3]=a[3]?parseInt(a[3],10):0;return a}function u(a,b,c,d,f,e,l){return Date.UTC(a,b,c,d,f,e)+6E4*(l||0)}function l(b){var c=a(b);if(null===c)return 0;c=(0===b.indexOf("-")?-1:1)*1E3*(60*(60*c[1]+c[2])+c[3]);return-c/60/1E3}function n(b,c,d){var f=P[b[3].substr(0,3).toLowerCase()],e=b[4],l=a(b[5]);"u"==l[4]&&(d=0);if(isNaN(e)){if("last"==e.substr(0,4))return e=K[e.substr(4,3).toLowerCase()],b=new Date(u(c,f+1,1,l[1]-24,l[2],l[3],d)),d=p.add(b,"minute",-d).getUTCDay(),e=e>d?e-d-7:e-d,0!==e&& (b=p.add(b,"hour",24*e)),b;e=K[e.substr(0,3).toLowerCase()];if("undefined"!=e){if(">="==b[4].substr(3,2))return b=new Date(u(c,f,parseInt(b[4].substr(5),10),l[1],l[2],l[3],d)),d=p.add(b,"minute",-d).getUTCDay(),e=ed?e-d-7:e-d,0!==e&&(b=p.add(b,"hour",24*e)),b}}else return b=new Date(u(c,f,parseInt(e,10),l[1],l[2],l[3],d)); return null}function f(a,b){var c=[];k.forEach(D[a[1]]||[],function(d){for(var f=0;2>f;f++)switch(d[f]){case "min":d[f]=B;break;case "max":d[f]=C;break;case "only":break;default:if(d[f]=parseInt(d[f],10),isNaN(d[f]))throw Error("Invalid year found on rule");}"string"==typeof d[6]&&(d[6]=l(d[6]));(d[0]<=b&&d[1]>=b||d[0]==b&&"only"==d[1])&&c.push({r:d,d:n(d,b,a[0])})});return c}function r(b,c){for(var d=y[b]=[],e=0;eO.r[5].indexOf("u")&&0>O.r[5].indexOf("s")&&(0===q&&0=w[0]&&l=p.d.getTime()&&(w=r);k=0<=w?k[w].r:null;f=k?f+k[6]:D[e.zone[1]]&&0e.indexOf("%s")?w.replace("%s","S")==e?"S":"":""):e="",e=w.replace("%s",e)):-1b.indexOf(c,a))?null:a}p.getObject("dojox.gfx._gfxBidiSupport",!0);switch(k.renderer){case "vml":k.isVml=!0;break;case "svg":k.isSvg=!0;k.svg.useSvgWeb&&(k.isSvgWeb=!0);break; case "silverlight":k.isSilverlight=!0;break;case "canvas":case "canvasWithEvents":k.isCanvas=!0}var r=new l;p.extend(k.shape.Surface,{textDir:"",setTextDir:function(a){n(this,a)},getTextDir:function(){return this.textDir}});p.extend(k.Group,{textDir:"",setTextDir:function(a){n(this,a)},getTextDir:function(){return this.textDir}});p.extend(k.Text,{textDir:"",formatText:function(a,b){if(b&&a&&1e("ff")?"rtl"==d?r.bidiTransform(a,"IRYNN","VLNNN"):r.bidiTransform(a,"ILYNN","VLNNN"):"\u200e"+("rtl"==d?"\u202b":"\u202a")+a+"\u202c"}return a}, bidiPreprocess:function(a){return a}});p.extend(k.TextPath,{textDir:"",formatText:function(a,b){if(b&&a&&1]*)>/gi,""),a=a.replace(/\bdojoGfx\w*\s*=\s*(['"])\w*\1/g,""),a=a.replace(/\b__gfxObject__\s*=\s*(['"])\w*\1/g,""),a=a.replace(/[=]([^"']+?)(\s|>)/g,'="$1"$2'));return a}});return f})},"dojox/gfx/path":function(){C(["./_base","dojo/_base/lang","dojo/_base/declare","./matrix","./shape"],function(k,p,e,q,c){c=e("dojox.gfx.path.Path",c.Shape,{constructor:function(b){this.shape=p.clone(k.defaultPath); this.segments=[];this.tbbox=null;this.absolute=!0;this.last={};this.rawNode=b;this.segmented=!1},setAbsoluteMode:function(b){this._confirmSegmented();this.absolute="string"==typeof b?"absolute"==b:b;return this},getAbsoluteMode:function(){this._confirmSegmented();return this.absolute},getBoundingBox:function(){this._confirmSegmented();return this.bbox&&"l"in this.bbox?{x:this.bbox.l,y:this.bbox.t,width:this.bbox.r-this.bbox.l,height:this.bbox.b-this.bbox.t}:null},_getRealBBox:function(){this._confirmSegmented(); if(this.tbbox)return this.tbbox;var b=this.bbox,c=this._getRealMatrix();this.bbox=null;for(var a=0,e=this.segments.length;ab&&(this.bbox.l=b),this.bbox.rc&&(this.bbox.t=c),this.bbox.b=a&&(a={action:b,args:c.slice(0,c.length-c.length%a)},this.segments.push(a),this._updateWithSegment(a)):(a={action:b,args:[]},this.segments.push(a),this._updateWithSegment(a)))},_collectArgs:function(b,c){for(var a=0;ab?0:255b.length?"0"+b:b)+a.slice(1)}function z(a,b){var c={target:a,currentTarget:a,preventDefault:function(){},stopPropagation:function(){}};try{b.source&&(c.target=b.source,c.gfxTarget=n.byId(c.target.tag))}catch(e){}if(b)try{c.ctrlKey=b.ctrl;c.shiftKey=b.shift;var f=b.getPosition(null);c.x=c.offsetX=c.layerX=f.x;c.y=c.offsetY=c.layerY=f.y;var l=D[a.getHost().content.root.name], k=d.position(l);c.clientX=k.x+f.x;c.clientY=k.y+f.y}catch(I){}return c}function s(a,b){var c={keyCode:b.platformKeyCode,ctrlKey:b.ctrl,shiftKey:b.shift};try{b.source&&(c.target=b.source,c.gfxTarget=n.byId(c.target.tag))}catch(d){}return c}var v=l.silverlight={};k.experimental("dojox.gfx.silverlight");var B={solid:"none",shortdash:[4,1],shortdot:[1,1],shortdashdot:[4,1,1,1],shortdashdotdot:[4,1,1,1,1,1],dot:[1,3],dash:[4,3],longdash:[8,3],dashdot:[4,3,1,3],longdashdot:[8,3,1,3],longdashdotdot:[8,3, 1,3,1,3]},C={normal:400,bold:700},G={butt:"Flat",round:"Round",square:"Square"},A={bevel:"Bevel",round:"Round"},y={serif:"Times New Roman",times:"Times New Roman","sans-serif":"Arial",helvetica:"Arial",monotone:"Courier New",courier:"Courier New"};v.Shape=e("dojox.gfx.silverlight.Shape",n.Shape,{destroy:function(){u("gfxRegistry")&&n.dispose(this);this.rawNode=null},setFill:function(a){var c=this.rawNode.getHost().content;if(!a)return this.fillStyle=null,this._setFillAttr(null),this;if("object"== typeof a&&"type"in a){switch(a.type){case "linear":this.fillStyle=a=l.makeParameters(l.defaultLinearGradient,a);var d=c.createFromXaml("");d.mappingMode="Absolute";d.startPoint=a.x1+","+a.y1;d.endPoint=a.x2+","+a.y2;b.forEach(a.colors,function(a){var b=c.createFromXaml("");b.offset=a.offset;b.color=r(a.color);d.gradientStops.add(b)});this._setFillAttr(d);break;case "radial":this.fillStyle=a=l.makeParameters(l.defaultRadialGradient,a);var e=c.createFromXaml(""), f=l.matrix.multiplyPoint(l.matrix.invert(this._getAdjustedMatrix()),a.cx,a.cy),f=f.x+","+f.y;e.mappingMode="Absolute";e.gradientOrigin=f;e.center=f;e.radiusX=e.radiusY=a.r;b.forEach(a.colors,function(a){var b=c.createFromXaml("");b.offset=a.offset;b.color=r(a.color);e.gradientStops.add(b)});this._setFillAttr(e);break;case "pattern":this.fillStyle=null,this._setFillAttr(null)}return this}this.fillStyle=a=l.normalizeColor(a);f=c.createFromXaml("");f.color=a.toHex(); f.opacity=a.a;this._setFillAttr(f);return this},_setFillAttr:function(a){this.rawNode.fill=a},setStroke:function(a){var b=this.rawNode.getHost().content,c=this.rawNode;if(!a)return this.strokeStyle=null,c.stroke=null,this;if("string"==typeof a||p.isArray(a)||a instanceof q)a={color:a};a=this.strokeStyle=l.makeParameters(l.defaultStroke,a);a.color=l.normalizeColor(a.color);if(a)if(b=b.createFromXaml(""),b.color=a.color.toHex(),b.opacity=a.color.a,c.stroke=b,c.strokeThickness=a.width, c.strokeStartLineCap=c.strokeEndLineCap=c.strokeDashCap=G[a.cap],"number"==typeof a.join?(c.strokeLineJoin="Miter",c.strokeMiterLimit=a.join):c.strokeLineJoin=A[a.join],b=a.style.toLowerCase(),b in B&&(b=B[b]),b instanceof Array){b=p.clone(b);if("butt"!=a.cap){for(a=0;ab[a]&&(b[a]=1);for(a=1;a"),c=c.createFromXaml("");c.m11=a.xx;c.m21=a.xy;c.m12=a.yx;c.m22=a.yy;c.offsetX=a.dx;c.offsetY=a.dy;d.matrix=c;b.renderTransform=d}else b.renderTransform=null;return this},setRawNode:function(a){a.fill=null;a.stroke=null;this.rawNode=a;this.rawNode.tag=this.getUID()},_moveToFront:function(){var a=this.parent.rawNode.children, b=this.rawNode;a.remove(b);a.add(b);return this},_moveToBack:function(){var a=this.parent.rawNode.children,b=this.rawNode;a.remove(b);a.insert(0,b);return this},_getAdjustedMatrix:function(){return this.matrix},setClip:function(a){this.inherited(arguments);var b=this.rawNode;if(a){var c=a?"width"in a?"rect":"cx"in a?"ellipse":"points"in a?"polyline":"d"in a?"path":null:null;if(a&&!c)return this;var d=this.getBoundingBox()||{x:0,y:0,width:0,height:0},e="1,0,0,1,"+-d.x+","+-d.y;switch(c){case "rect":b.clip= b.getHost().content.createFromXaml("");b.clip.rect=a.x+","+a.y+","+a.width+","+a.height;b.clip.transform=e;break;case "ellipse":b.clip=b.getHost().content.createFromXaml("");b.clip.center=a.cx+","+a.cy;b.clip.radiusX=a.rx;b.clip.radiusY=a.ry;b.clip.transform="1,0,0,1,"+-d.x+","+-d.y;break;case "polyline":if(2"),f=b.getHost().content.createFromXaml("");f.StartPoint=a.points[0]+ ","+a.points[1];for(var l=2;l<=a.points.length-2;l+=2)c=b.getHost().content.createFromXaml(""),c.Point=a.points[l]+","+a.points[l+1],f.segments.add(c);e.figures.add(f);e.transform="1,0,0,1,"+-d.x+","+-d.y;b.clip=e}}}else b.clip=null;return this}});v.Group=e("dojox.gfx.silverlight.Group",v.Shape,{constructor:function(){n.Container._init.call(this)},setRawNode:function(a){this.rawNode=a;this.rawNode.tag=this.getUID()},destroy:function(){this.clear(!0);v.Shape.prototype.destroy.apply(this, arguments)}});v.Group.nodeType="Canvas";v.Rect=e("dojox.gfx.silverlight.Rect",[v.Shape,n.Rect],{setShape:function(a){this.shape=l.makeParameters(this.shape,a);this.bbox=null;a=this.rawNode;var b=this.shape;a.width=b.width;a.height=b.height;a.radiusX=a.radiusY=b.r;return this._applyTransform()},_getAdjustedMatrix:function(){var a=this.matrix,b=this.shape,b={dx:b.x,dy:b.y};return new l.Matrix2D(a?[a,b]:b)}});v.Rect.nodeType="Rectangle";v.Ellipse=e("dojox.gfx.silverlight.Ellipse",[v.Shape,n.Ellipse], {setShape:function(a){this.shape=l.makeParameters(this.shape,a);this.bbox=null;a=this.rawNode;var b=this.shape;a.width=2*b.rx;a.height=2*b.ry;return this._applyTransform()},_getAdjustedMatrix:function(){var a=this.matrix,b=this.shape,b={dx:b.cx-b.rx,dy:b.cy-b.ry};return new l.Matrix2D(a?[a,b]:b)}});v.Ellipse.nodeType="Ellipse";v.Circle=e("dojox.gfx.silverlight.Circle",[v.Shape,n.Circle],{setShape:function(a){this.shape=l.makeParameters(this.shape,a);this.bbox=null;a=this.rawNode;a.width=a.height= 2*this.shape.r;return this._applyTransform()},_getAdjustedMatrix:function(){var a=this.matrix,b=this.shape,b={dx:b.cx-b.r,dy:b.cy-b.r};return new l.Matrix2D(a?[a,b]:b)}});v.Circle.nodeType="Ellipse";v.Line=e("dojox.gfx.silverlight.Line",[v.Shape,n.Line],{setShape:function(a){this.shape=l.makeParameters(this.shape,a);this.bbox=null;a=this.rawNode;var b=this.shape;a.x1=b.x1;a.y1=b.y1;a.x2=b.x2;a.y2=b.y2;return this}});v.Line.nodeType="Line";v.Polyline=e("dojox.gfx.silverlight.Polyline",[v.Shape,n.Polyline], {setShape:function(a,b){a&&a instanceof Array?(this.shape=l.makeParameters(this.shape,{points:a}),b&&this.shape.points.length&&this.shape.points.push(this.shape.points[0])):this.shape=l.makeParameters(this.shape,a);this.bbox=null;this._normalizePoints();for(var c=this.shape.points,d=[],e=0;e=a.width&&(a.width=this.width);0>=a.height&&(a.height=this.height);return a}});v.createSurface=function(b,c,e){if(!c&&!e){var f=d.position(b);c=c||f.w;e=e||f.h}"number"==typeof c&&(c+="px");"number"==typeof e&&(e+="px");var k=new v.Surface;b=a.byId(b);k._parent=b;k._nodeName=l._base._getUniqueId();f=b.ownerDocument.createElement("script"); f.type="text/xaml";f.id=l._base._getUniqueId();f.text="";b.parentNode.insertBefore(f,b);k._nodes.push(f);var n=l._base._getUniqueId(),I="__"+l._base._getUniqueId()+"_onLoad";k._onLoadName=I;window[I]=function(c){k.rawNode||(k.rawNode=a.byId(n,b.ownerDocument).content.root,D[k._nodeName]=b,k.onLoad(k))};f=u("safari")?"