text: (function(){(this||window).webpackJsonp.registerAbsMids({"dojox/gfx":1650,"dojox/gfx/matrix":1749,"dojox/gfx/shape":1840,"dojox/gfx/path":2006,"dojox/gfx/svg":2346,"dojox/gfx/renderer!":2346})})(),(window.webpackJsonp=window.webpackJsonp||[]).push([[26],{1650:function(t,e,i){var r,n;r=[i(13),i(448),i(2346)],void 0===(n=function(t,e,i){return e.switchTo(i),e}.apply(null,r))||(t.exports=n)},1749:function(t,e,i){var r,n;r=[i(448),i(13)],void 0===(n=function(t,e){var i=t.matrix={},r={};return i._degToRad=function(t){return r[t]||(r[t]=Math.PI*t/180)},i._radToDeg=function(t){return t/Math.PI*180},i.Matrix2D=function(t){if(t)if("number"==typeof t)this.xx=this.yy=t;else if(t instanceof Array){if(t.length>0){for(var r=i.normalize(t[0]),n=1;n<t.length;++n){var s=r,a=i.normalize(t[n]);(r=new i.Matrix2D).xx=s.xx*a.xx+s.xy*a.yx,r.xy=s.xx*a.xy+s.xy*a.yy,r.yx=s.yx*a.xx+s.yy*a.yx,r.yy=s.yx*a.xy+s.yy*a.yy,r.dx=s.xx*a.dx+s.xy*a.dy+s.dx,r.dy=s.yx*a.dx+s.yy*a.dy+s.dy}e.mixin(this,r)}}else e.mixin(this,t)},e.extend(i.Matrix2D,{xx:1,xy:0,yx:0,yy:1,dx:0,dy:0}),e.mixin(i,{identity:new i.Matrix2D,flipX:new i.Matrix2D({xx:-1}),flipY:new i.Matrix2D({yy:-1}),flipXY:new i.Matrix2D({xx:-1,yy:-1}),translate:function(t,e){return arguments.length>1?new i.Matrix2D({dx:t,dy:e}):new i.Matrix2D({dx:t.x,dy:t.y})},scale:function(t,e){return arguments.length>1?new i.Matrix2D({xx:t,yy:e}):"number"==typeof t?new i.Matrix2D({xx:t,yy:t}):new i.Matrix2D({xx:t.x,yy:t.y})},rotate:function(t){var e=Math.cos(t),r=Math.sin(t);return new i.Matrix2D({xx:e,xy:-r,yx:r,yy:e})},rotateg:function(t){return i.rotate(i._degToRad(t))},skewX:function(t){return new i.Matrix2D({xy:Math.tan(t)})},skewXg:function(t){return i.skewX(i._degToRad(t))},skewY:function(t){return new i.Matrix2D({yx:Math.tan(t)})},skewYg:function(t){return i.skewY(i._degToRad(t))},reflect:function(t,e){1==arguments.length&&(e=t.y,t=t.x);var r=t*t,n=e*e,s=r+n,a=2*t*e/s;return new i.Matrix2D({xx:2*r/s-1,xy:a,yx:a,yy:2*n/s-1})},project:function(t,e){1==arguments.length&&(e=t.y,t=t.x);var r=t*t,n=e*e,s=r+n,a=t*e/s;return new i.Matrix2D({xx:r/s,xy:a,yx:a,yy:n/s})},normalize:function(t){return t instanceof i.Matrix2D?t:new i.Matrix2D(t)},isIdentity:function(t){return 1==t.xx&&0==t.xy&&0==t.yx&&1==t.yy&&0==t.dx&&0==t.dy},clone:function(t){var e=new i.Matrix2D;for(var r in t)"number"==typeof t[r]&&"number"==typeof e[r]&&e[r]!=t[r]&&(e[r]=t[r]);return e},invert:function(t){var e=i.normalize(t),r=e.xx*e.yy-e.xy*e.yx;return e=new i.Matrix2D({xx:e.yy/r,xy:-e.xy/r,yx:-e.yx/r,yy:e.xx/r,dx:(e.xy*e.dy-e.yy*e.dx)/r,dy:(e.yx*e.dx-e.xx*e.dy)/r})},_multiplyPoint:function(t,e,i){return{x:t.xx*e+t.xy*i+t.dx,y:t.yx*e+t.yy*i+t.dy}},multiplyPoint:function(t,e,r){var n=i.normalize(t);return"number"==typeof e&&"number"==typeof r?i._multiplyPoint(n,e,r):i._multiplyPoint(n,e.x,e.y)},multiplyRectangle:function(t,e){var r=i.normalize(t);if(e=e||{x:0,y:0,width:0,height:0},i.isIdentity(r))return{x:e.x,y:e.y,width:e.width,height:e.height};var n=i.multiplyPoint(r,e.x,e.y),s=i.multiplyPoint(r,e.x,e.y+e.height),a=i.multiplyPoint(r,e.x+e.width,e.y),o=i.multiplyPoint(r,e.x+e.width,e.y+e.height),h=Math.min(n.x,s.x,a.x,o.x),l=Math.min(n.y,s.y,a.y,o.y);return{x:h,y:l,width:Math.max(n.x,s.x,a.x,o.x)-h,height:Math.max(n.y,s.y,a.y,o.y)-l}},multiply:function(t){for(var e=i.normalize(t),r=1;r<arguments.length;++r){var n=e,s=i.normalize(arguments[r]);(e=new i.Matrix2D).xx=n.xx*s.xx+n.xy*s.yx,e.xy=n.xx*s.xy+n.xy*s.yy,e.yx=n.yx*s.xx+n.yy*s.yx,e.yy=n.yx*s.xy+n.yy*s.yy,e.dx=n.xx*s.dx+n.xy*s.dy+n.dx,e.dy=n.yx*s.dx+n.yy*s.dy+n.dy}return e},_sandwich:function(t,e,r){return i.multiply(i.translate(e,r),t,i.translate(-e,-r))},scaleAt:function(t,e,r,n){switch(arguments.length){case 4:return i._sandwich(i.scale(t,e),r,n);case 3:return"number"==typeof r?i._sandwich(i.scale(t),e,r):i._sandwich(i.scale(t,e),r.x,r.y)}return i._sandwich(i.scale(t),e.x,e.y)},rotateAt:function(t,e,r){return arguments.length>2?i._sandwich(i.rotate(t),e,r):i._sandwich(i.rotate(t),e.x,e.y)},rotategAt:function(t,e,r){return arguments.length>2?i._sandwich(i.rotateg(t),e,r):i._sandwich(i.rotateg(t),e.x,e.y)},skewXAt:function(t,e,r){return arguments.length>2?i._sandwich(i.skewX(t),e,r):i._sandwich(i.skewX(t),e.x,e.y)},skewXgAt:function(t,e,r){return arguments.length>2?i._sandwich(i.skewXg(t),e,r):i._sandwich(i.skewXg(t),e.x,e.y)},skewYAt:function(t,e,r){return arguments.length>2?i._sandwich(i.skewY(t),e,r):i._sandwich(i.skewY(t),e.x,e.y)},skewYgAt:function(t,e,r){return arguments.length>2?i._sandwich(i.skewYg(t),e,r):i._sandwich(i.skewYg(t),e.x,e.y)}}),t.Matrix2D=i.Matrix2D,i}.apply(null,r))||(t.exports=n)},1840:function(t,e,i){var r,n;r=[i(448),i(13),i(190),i(12),i(210),i(53),i(37),i(97),i(206),i(1749)],void 0===(n=function(t,e,i,r,n,s,a,o,h,l){function u(t,e){for(var i=t.length-1;e<i;)t[e]=t[++e];t.length=i}var d=t.shape={};return d.Shape=i("dojox.gfx.shape.Shape",null,{constructor:function(){if(this.rawNode=null,this.shape=null,this.matrix=null,this.fillStyle=null,this.strokeStyle=null,this.bbox=null,this.parent=null,this.parentMatrix=null,n("gfxRegistry")){var t=d.register(this);this.getUID=function(){return t}}},destroy:function(){n("gfxRegistry")&&d.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 t=this.getBoundingBox();if(!t)return null;var e=this._getRealMatrix(),i=l;return[i.multiplyPoint(e,t.x,t.y),i.multiplyPoint(e,t.x+t.width,t.y),i.multiplyPoint(e,t.x+t.width,t.y+t.height),i.multiplyPoint(e,t.x,t.y+t.height)]},getEventSource:function(){return this.rawNode},setClip:function(t){this.clip=t},getClip:function(){return this.clip},setShape:function(e){return this.shape=t.makeParameters(this.shape,e),this.bbox=null,this},setFill:function(e){if(!e)return this.fillStyle=null,this;var i=null;if("object"==typeof e&&"type"in e)switch(e.type){case"linear":i=t.makeParameters(t.defaultLinearGradient,e);break;case"radial":i=t.makeParameters(t.defaultRadialGradient,e);break;case"pattern":i=t.makeParameters(t.defaultPattern,e)}else i=t.normalizeColor(e);return this.fillStyle=i,this},setStroke:function(i){if(!i)return this.strokeStyle=null,this;("string"==typeof i||e.isArray(i)||i instanceof h)&&(i={color:i});var r=this.strokeStyle=t.makeParameters(t.defaultStroke,i);return r.color=t.normalizeColor(r.color),this},setTransform:function(t){return this.matrix=l.clone(t?l.normalize(t):l.identity),this._applyTransform()},_applyTransform:function(){return this},moveToFront:function(){var t=this.getParent();return t&&(t._moveChildToFront(this),this._moveToFront()),this},moveToBack:function(){var t=this.getParent();return t&&(t._moveChildToBack(this),this._moveToBack()),this},_moveToFront:function(){},_moveToBack:function(){},applyRightTransform:function(t){return t?this.setTransform([this.matrix,t]):this},applyLeftTransform:function(t){return t?this.setTransform([t,this.matrix]):this},applyTransform:function(t){return t?this.setTransform([this.matrix,t]):this},removeShape:function(t){return this.parent&&this.parent.remove(this,t),this},_setParent:function(t,e){return this.parent=t,this._updateParentMatrix(e)},_updateParentMatrix:function(t){return this.parentMatrix=t?l.clone(t):null,this._applyTransform()},_getRealMatrix:function(){for(var t=this.matrix,e=this.parent;e;)e.matrix&&(t=l.multiply(e.matrix,t)),e=e.parent;return t}}),d._eventsProcessing={on:function(e,i){return s(this.getEventSource(),e,d.fixCallback(this,t.fixTarget,i))},connect:function(t,i,r){return"on"==t.substring(0,2)&&(t=t.substring(2)),this.on(t,r?e.hitch(i,r):i)},disconnect:function(t){return t.remove()}},d.fixCallback=function(t,i,n,s){if(s||(s=n,n=null),e.isString(s)){if(!(n=n||r.global)[s])throw['dojox.gfx.shape.fixCallback: scope["',s,'"] is null (scope="',n,'")'].join("");return function(e){return i(e,t)?n[s].apply(n,arguments||[]):void 0}}return n?function(e){return i(e,t)?s.apply(n,arguments||[]):void 0}:function(e){return i(e,t)?s.apply(n,arguments):void 0}},e.extend(d.Shape,d._eventsProcessing),d.Container={_init:function(){this.children=[],this._batch=0},openBatch:function(){return this},closeBatch:function(){return this},add:function(t){var e=t.getParent();return e&&e.remove(t,!0),this.children.push(t),t._setParent(this,this._getRealMatrix())},remove:function(t,e){for(var i=0;i<this.children.length;++i)if(this.children[i]==t){e||(t.parent=null,t.parentMatrix=null),u(this.children,i);break}return this},clear:function(t){for(var e,i=0;i<this.children.length;++i)(e=this.children[i]).parent=null,e.parentMatrix=null,t&&e.destroy();return this.children=[],this},getBoundingBox:function(){if(this.children){var t=null;return a.forEach(this.children,function(e){var i=e.getBoundingBox();if(i){var r=e.getTransform();r&&(i=l.multiplyRectangle(r,i)),t?(t.x=Math.min(t.x,i.x),t.y=Math.min(t.y,i.y),t.endX=Math.max(t.endX,i.x+i.width),t.endY=Math.max(t.endY,i.y+i.height)):t={x:i.x,y:i.y,endX:i.x+i.width,endY:i.y+i.height}}}),t&&(t.width=t.endX-t.x,t.height=t.endY-t.y),t}return null},_moveChildToFront:function(t){for(var e=0;e<this.children.length;++e)if(this.children[e]==t){u(this.children,e),this.children.push(t);break}return this},_moveChildToBack:function(t){for(var e=0;e<this.children.length;++e)if(this.children[e]==t){u(this.children,e),this.children.unshift(t);break}return this}},d.Surface=i("dojox.gfx.shape.Surface",null,{constructor:function(){this.rawNode=null,this._parent=null,this._nodes=[],this._events=[]},destroy:function(){if(a.forEach(this._nodes,o.destroy),this._nodes=[],a.forEach(this._events,function(t){t&&t.remove()}),this._events=[],this.rawNode=null,n("ie"))for(;this._parent.lastChild;)o.destroy(this._parent.lastChild);else this._parent.innerHTML="";this._parent=null},getEventSource:function(){return this.rawNode},_getRealMatrix:function(){return null},isLoaded:!0,onLoad:function(t){},whenLoaded:function(t,i){var r=e.hitch(t,i);this.isLoaded?r(this):s.once(this,"load",function(t){r(t)})}}),e.extend(d.Surface,d._eventsProcessing),d.Rect=i("dojox.gfx.shape.Rect",d.Shape,{constructor:function(e){this.shape=t.getDefault("Rect"),this.rawNode=e},getBoundingBox:function(){return this.shape}}),d.Ellipse=i("dojox.gfx.shape.Ellipse",d.Shape,{constructor:function(e){this.shape=t.getDefault("Ellipse"),this.rawNode=e},getBoundingBox:function(){if(!this.bbox){var t=this.shape;this.bbox={x:t.cx-t.rx,y:t.cy-t.ry,width:2*t.rx,height:2*t.ry}}return this.bbox}}),d.Circle=i("dojox.gfx.shape.Circle",d.Shape,{constructor:function(e){this.shape=t.getDefault("Circle"),this.rawNode=e},getBoundingBox:function(){if(!this.bbox){var t=this.shape;this.bbox={x:t.cx-t.r,y:t.cy-t.r,width:2*t.r,height:2*t.r}}return this.bbox}}),d.Line=i("dojox.gfx.shape.Line",d.Shape,{constructor:function(e){this.shape=t.getDefault("Line"),this.rawNode=e},getBoundingBox:function(){if(!this.bbox){var t=this.shape;this.bbox={x:Math.min(t.x1,t.x2),y:Math.min(t.y1,t.y2),width:Math.abs(t.x2-t.x1),height:Math.abs(t.y2-t.y1)}}return this.bbox}}),d.Polyline=i("dojox.gfx.shape.Polyline",d.Shape,{constructor:function(e){this.shape=t.getDefault("Polyline"),this.rawNode=e},setShape:function(t,e){return t&&t instanceof Array?(this.inherited(arguments,[{points:t}]),e&&this.shape.points.length&&this.shape.points.push(this.shape.points[0])):this.inherited(arguments,[t]),this},_normalizePoints:function(){var t=this.shape.points,e=t&&t.length;if(e&&"number"==typeof t[0]){for(var i=[],r=0;r<e;r+=2)i.push({x:t[r],y:t[r+1]});this.shape.points=i}},getBoundingBox:function(){if(!this.bbox&&this.shape.points.length){for(var t=this.shape.points,e=t.length,i=t[0],r={l:i.x,t:i.y,r:i.x,b:i.y},n=1;n<e;++n)i=t[n],r.l>i.x&&(r.l=i.x),r.r<i.x&&(r.r=i.x),r.t>i.y&&(r.t=i.y),r.b<i.y&&(r.b=i.y);this.bbox={x:r.l,y:r.t,width:r.r-r.l,height:r.b-r.t}}return this.bbox}}),d.Image=i("dojox.gfx.shape.Image",d.Shape,{constructor:function(e){this.shape=t.getDefault("Image"),this.rawNode=e},getBoundingBox:function(){return this.shape},setStroke:function(){return this},setFill:function(){return this}}),d.Text=i(d.Shape,{constructor:function(e){this.fontStyle=null,this.shape=t.getDefault("Text"),this.rawNode=e},getFont:function(){return this.fontStyle},setFont:function(e){return this.fontStyle="string"==typeof e?t.splitFontString(e):t.makeParameters(t.defaultFont,e),this._setFont(),this},getBoundingBox:function(){var e=null;return this.getShape().text&&(e=t._base._computeTextBoundingBox(this)),e}}),d.Creator={createShape:function(e){switch(e.type){case t.defaultPath.type:return this.createPath(e);case t.defaultRect.type:return this.createRect(e);case t.defaultCircle.type:return this.createCircle(e);case t.defaultEllipse.type:return this.createEllipse(e);case t.defaultLine.type:return this.createLine(e);case t.defaultPolyline.type:return this.createPolyline(e);case t.defaultImage.type:return this.createImage(e);case t.defaultText.type:return this.createText(e);case t.defaultTextPath.type:return this.createTextPath(e)}return null},createGroup:function(){return this.createObject(t.Group)},createRect:function(e){return this.createObject(t.Rect,e)},createEllipse:function(e){return this.createObject(t.Ellipse,e)},createCircle:function(e){return this.createObject(t.Circle,e)},createLine:function(e){return this.createObject(t.Line,e)},createPolyline:function(e){return this.createObject(t.Polyline,e)},createImage:function(e){return this.createObject(t.Image,e)},createText:function(e){return this.createObject(t.Text,e)},createPath:function(e){return this.createObject(t.Path,e)},createTextPath:function(e){return this.createObject(t.TextPath,{}).setText(e)},createObject:function(t,e){return null}},d}.apply(null,r))||(t.exports=n)},2006:function(t,e,i){var r,n;r=[i(448),i(13),i(190),i(1749),i(1840)],void 0===(n=function(t,e,i,r,n){var s=i("dojox.gfx.path.Path",n.Shape,{constructor:function(i){this.shape=e.clone(t.defaultPath),this.segments=[],this.tbbox=null,this.absolute=!0,this.last={},this.rawNode=i,this.segmented=!1},setAbsoluteMode:function(t){return this._confirmSegmented(),this.absolute="string"==typeof t?"absolute"==t:t,this},getAbsoluteMode:function(){return this._confirmSegmented(),this.absolute},getBoundingBox:function(){return this._confirmSegmented(),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(){if(this._confirmSegmented(),this.tbbox)return this.tbbox;var t=this.bbox,e=this._getRealMatrix();this.bbox=null;for(var i=0,r=this.segments.length;i<r;++i)this._updateWithSegment(this.segments[i],e);var n=this.bbox;return this.bbox=t,this.tbbox=n?[{x:n.l,y:n.t},{x:n.r,y:n.t},{x:n.r,y:n.b},{x:n.l,y:n.b}]:null,this.tbbox},getLastPosition:function(){return this._confirmSegmented(),"x"in this.last?this.last:null},_applyTransform:function(){return this.tbbox=null,this.inherited(arguments)},_updateBBox:function(t,e,i){if(i){var n=r.multiplyPoint(i,t,e);t=n.x,e=n.y}this.bbox&&"l"in this.bbox?(this.bbox.l>t&&(this.bbox.l=t),this.bbox.r<t&&(this.bbox.r=t),this.bbox.t>e&&(this.bbox.t=e),this.bbox.b<e&&(this.bbox.b=e)):this.bbox={l:t,b:e,r:t,t:e}},_updateWithSegment:function(e,i){var r,n=e.args,s=n.length;switch(e.action){case"M":case"L":case"C":case"S":case"Q":case"T":for(r=0;r<s;r+=2)this._updateBBox(n[r],n[r+1],i);this.last.x=n[s-2],this.last.y=n[s-1],this.absolute=!0;break;case"H":for(r=0;r<s;++r)this._updateBBox(n[r],this.last.y,i);this.last.x=n[s-1],this.absolute=!0;break;case"V":for(r=0;r<s;++r)this._updateBBox(this.last.x,n[r],i);this.last.y=n[s-1],this.absolute=!0;break;case"m":var a=0;"x"in this.last||(this._updateBBox(this.last.x=n[0],this.last.y=n[1],i),a=2);for(r=a;r<s;r+=2)this._updateBBox(this.last.x+=n[r],this.last.y+=n[r+1],i);this.absolute=!1;break;case"l":case"t":for(r=0;r<s;r+=2)this._updateBBox(this.last.x+=n[r],this.last.y+=n[r+1],i);this.absolute=!1;break;case"h":for(r=0;r<s;++r)this._updateBBox(this.last.x+=n[r],this.last.y,i);this.absolute=!1;break;case"v":for(r=0;r<s;++r)this._updateBBox(this.last.x,this.last.y+=n[r],i);this.absolute=!1;break;case"c":for(r=0;r<s;r+=6)this._updateBBox(this.last.x+n[r],this.last.y+n[r+1],i),this._updateBBox(this.last.x+n[r+2],this.last.y+n[r+3],i),this._updateBBox(this.last.x+=n[r+4],this.last.y+=n[r+5],i);this.absolute=!1;break;case"s":case"q":for(r=0;r<s;r+=4)this._updateBBox(this.last.x+n[r],this.last.y+n[r+1],i),this._updateBBox(this.last.x+=n[r+2],this.last.y+=n[r+3],i);this.absolute=!1;break;case"A":for(r=0;r<s;r+=7)this._updateBBox(n[r+5],n[r+6],i);this.last.x=n[s-2],this.last.y=n[s-1],this.absolute=!0;break;case"a":for(r=0;r<s;r+=7)this._updateBBox(this.last.x+=n[r+5],this.last.y+=n[r+6],i);this.absolute=!1}var o=[e.action];for(r=0;r<s;++r)o.push(t.formatNumber(n[r],!0));if("string"==typeof this.shape.path)this.shape.path+=o.join("");else for(r=0,s=o.length;r<s;++r)this.shape.path.push(o[r])},_validSegments:{m:2,l:2,h:1,v:1,c:6,s:4,q:4,t:2,a:7,z:0},_pushSegment:function(t,e){this.tbbox=null;var i,r=this._validSegments[t.toLowerCase()];"number"==typeof r&&(r?e.length>=r&&(i={action:t,args:e.slice(0,e.length-e.length%r)},this.segments.push(i),this._updateWithSegment(i)):(i={action:t,args:[]},this.segments.push(i),this._updateWithSegment(i)))},_collectArgs:function(t,e){for(var i=0;i<e.length;++i){var r=e[i];"boolean"==typeof r?t.push(r?1:0):"number"==typeof r?t.push(r):r instanceof Array?this._collectArgs(t,r):"x"in r&&"y"in r&&t.push(r.x,r.y)}},moveTo:function(){this._confirmSegmented();var t=[];return this._collectArgs(t,arguments),this._pushSegment(this.absolute?"M":"m",t),this},lineTo:function(){this._confirmSegmented();var t=[];return this._collectArgs(t,arguments),this._pushSegment(this.absolute?"L":"l",t),this},hLineTo:function(){this._confirmSegmented();var t=[];return this._collectArgs(t,arguments),this._pushSegment(this.absolute?"H":"h",t),this},vLineTo:function(){this._confirmSegmented();var t=[];return this._collectArgs(t,arguments),this._pushSegment(this.absolute?"V":"v",t),this},curveTo:function(){this._confirmSegmented();var t=[];return this._collectArgs(t,arguments),this._pushSegment(this.absolute?"C":"c",t),this},smoothCurveTo:function(){this._confirmSegmented();var t=[];return this._collectArgs(t,arguments),this._pushSegment(this.absolute?"S":"s",t),this},qCurveTo:function(){this._confirmSegmented();var t=[];return this._collectArgs(t,arguments),this._pushSegment(this.absolute?"Q":"q",t),this},qSmoothCurveTo:function(){this._confirmSegmented();var t=[];return this._collectArgs(t,arguments),this._pushSegment(this.absolute?"T":"t",t),this},arcTo:function(){this._confirmSegmented();var t=[];return this._collectArgs(t,arguments),this._pushSegment(this.absolute?"A":"a",t),this},closePath:function(){return this._confirmSegmented(),this._pushSegment("Z",[]),this},_confirmSegmented:function(){if(!this.segmented){var t=this.shape.path;this.shape.path=[],this._setPath(t),this.shape.path=this.shape.path.join(""),this.segmented=!0}},_setPath:function(i){var r=e.isArray(i)?i:i.match(t.pathSvgRegExp);if(this.segments=[],this.absolute=!0,this.bbox={},this.last={},r){for(var n="",s=[],a=r.length,o=0;o<a;++o){var h=r[o],l=parseFloat(h);isNaN(l)?(n&&this._pushSegment(n,s),s=[],n=h):s.push(l)}this._pushSegment(n,s)}},setShape:function(e){return this.inherited(arguments,["string"==typeof e?{path:e}:e]),this.segmented=!1,this.segments=[],t.lazyPathSegmentation||this._confirmSegmented(),this},_2PI:2*Math.PI}),a=i("dojox.gfx.path.TextPath",s,{constructor:function(i){"text"in this||(this.text=e.clone(t.defaultTextPath)),"fontStyle"in this||(this.fontStyle=e.clone(t.defaultFont))},getText:function(){return this.text},setText:function(e){return this.text=t.makeParameters(this.text,"string"==typeof e?{text:e}:e),this._setText(),this},getFont:function(){return this.fontStyle},setFont:function(e){return this.fontStyle="string"==typeof e?t.splitFontString(e):t.makeParameters(t.defaultFont,e),this._setFont(),this}});return t.path={Path:s,TextPath:a}}.apply(null,r))||(t.exports=n)},2346:function(t,e,i){var r,n;r=[i(13),i(210),i(71),i(32),i(190),i(37),i(96),i(197),i(206),i(448),i(1840),i(2006)],void 0===(n=function(t,e,i,r,n,s,a,o,h,l,u,d){var c=l.svg={};c.useSvgWeb=void 0!==window.svgweb;var f=navigator.userAgent,x=e("ios"),p=e("android"),g=e("chrome")||p&&p>=4?"auto":"optimizeLegibility";function y(t,e){return i.doc.createElementNS?i.doc.createElementNS(t,e):i.doc.createElement(e)}function b(t,e,i,r){return t.setAttributeNS?t.setAttributeNS(e,i,r):t.setAttribute(i,r)}function m(t){return c.useSvgWeb?i.doc.createTextNode(t,!0):i.doc.createTextNode(t)}c.xmlns={xlink:"http://www.w3.org/1999/xlink",svg:"http://www.w3.org/2000/svg"},c.getRef=function(t){return t&&"none"!=t?t.match(/^url\(#.+\)$/)?r.byId(t.slice(5,-1)):t.match(/^#dojoUnique\d+$/)?r.byId(t.slice(1)):null:null},c.dasharray={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]};var v=0;c.Shape=n("dojox.gfx.svg.Shape",u.Shape,{destroy:function(){if(this.fillStyle&&"type"in this.fillStyle){var t=this.rawNode.getAttribute("fill"),e=c.getRef(t);e&&e.parentNode.removeChild(e)}if(this.clip){var i=this.rawNode.getAttribute("clip-path");if(i){var n=r.byId(i.match(/gfx_clip[\d]+/)[0]);n&&n.parentNode.removeChild(n)}}u.Shape.prototype.destroy.apply(this,arguments)},setFill:function(t){if(!t)return this.fillStyle=null,this.rawNode.setAttribute("fill","none"),this.rawNode.setAttribute("fill-opacity",0),this;var e,i=function(t){this.setAttribute(t,e[t].toFixed(8))};if("object"==typeof t&&"type"in t){switch(t.type){case"linear":e=l.makeParameters(l.defaultLinearGradient,t);var r=this._setFillObject(e,"linearGradient");s.forEach(["x1","y1","x2","y2"],i,r);break;case"radial":e=l.makeParameters(l.defaultRadialGradient,t);var n=this._setFillObject(e,"radialGradient");s.forEach(["cx","cy","r"],i,n);break;case"pattern":e=l.makeParameters(l.defaultPattern,t);var a=this._setFillObject(e,"pattern");s.forEach(["x","y","width","height"],i,a)}return this.fillStyle=e,this}return e=l.normalizeColor(t),this.fillStyle=e,this.rawNode.setAttribute("fill",e.toCss()),this.rawNode.setAttribute("fill-opacity",e.a),this.rawNode.setAttribute("fill-rule","evenodd"),this},setStroke:function(e){var i=this.rawNode;if(!e)return this.strokeStyle=null,i.setAttribute("stroke","none"),i.setAttribute("stroke-opacity",0),this;("string"==typeof e||t.isArray(e)||e instanceof h)&&(e={color:e});var r=this.strokeStyle=l.makeParameters(l.defaultStroke,e);if(r.color=l.normalizeColor(r.color),r){var n=r.width<0?0:r.width;i.setAttribute("stroke",r.color.toCss()),i.setAttribute("stroke-opacity",r.color.a),i.setAttribute("stroke-width",n),i.setAttribute("stroke-linecap",r.cap),"number"==typeof r.join?(i.setAttribute("stroke-linejoin","miter"),i.setAttribute("stroke-miterlimit",r.join)):i.setAttribute("stroke-linejoin",r.join);var s=r.style.toLowerCase();if(s in c.dasharray&&(s=c.dasharray[s]),s instanceof Array){var a;for(s=t._toArray(s),a=0;a<s.length;++a)s[a]*=n;if("butt"!=r.cap){for(a=0;a<s.length;a+=2)s[a]-=n,s[a]<1&&(s[a]=1);for(a=1;a<s.length;a+=2)s[a]+=n}s=s.join(",")}i.setAttribute("stroke-dasharray",s),i.setAttribute("dojoGfxStrokeStyle",r.style)}return this},_getParentSurface:function(){for(var t=this.parent;t&&!(t instanceof l.Surface);t=t.parent);return t},_setFillObject:function(t,e){var i=c.xmlns.svg;this.fillStyle=t;var r=this._getParentSurface().defNode,n=this.rawNode.getAttribute("fill"),s=c.getRef(n);if(s)if((n=s).tagName.toLowerCase()!=e.toLowerCase()){var a=n.id;n.parentNode.removeChild(n),(n=y(i,e)).setAttribute("id",a),r.appendChild(n)}else for(;n.childNodes.length;)n.removeChild(n.lastChild);else(n=y(i,e)).setAttribute("id",l._base._getUniqueId()),r.appendChild(n);if("pattern"==e){n.setAttribute("patternUnits","userSpaceOnUse");var o=y(i,"image");o.setAttribute("x",0),o.setAttribute("y",0),o.setAttribute("width",(t.width<0?0:t.width).toFixed(8)),o.setAttribute("height",(t.height<0?0:t.height).toFixed(8)),b(o,c.xmlns.xlink,"xlink:href",t.src),n.appendChild(o)}else{n.setAttribute("gradientUnits","userSpaceOnUse");for(var h=0;h<t.colors.length;++h){var u=t.colors[h],d=y(i,"stop"),f=u.color=l.normalizeColor(u.color);d.setAttribute("offset",u.offset.toFixed(8)),d.setAttribute("stop-color",f.toCss()),d.setAttribute("stop-opacity",f.a),n.appendChild(d)}}return this.rawNode.setAttribute("fill","url(#"+n.getAttribute("id")+")"),this.rawNode.removeAttribute("fill-opacity"),this.rawNode.setAttribute("fill-rule","evenodd"),n},_applyTransform:function(){if(this.matrix){var t=this.matrix;this.rawNode.setAttribute("transform","matrix("+t.xx.toFixed(8)+","+t.yx.toFixed(8)+","+t.xy.toFixed(8)+","+t.yy.toFixed(8)+","+t.dx.toFixed(8)+","+t.dy.toFixed(8)+")")}else this.rawNode.removeAttribute("transform");return this},setRawNode:function(t){var e=this.rawNode=t;"image"!=this.shape.type&&e.setAttribute("fill","none"),e.setAttribute("fill-opacity",0),e.setAttribute("stroke","none"),e.setAttribute("stroke-opacity",0),e.setAttribute("stroke-width",1),e.setAttribute("stroke-linecap","butt"),e.setAttribute("stroke-linejoin","miter"),e.setAttribute("stroke-miterlimit",4),e.__gfxObject__=this},setShape:function(t){for(var e in this.shape=l.makeParameters(this.shape,t),this.shape)if("type"!=e){var i=this.shape[e];"width"!==e&&"height"!==e||(i=i<0?0:i),this.rawNode.setAttribute(e,i)}return this.bbox=null,this},_moveToFront:function(){return this.rawNode.parentNode.appendChild(this.rawNode),this},_moveToBack:function(){return this.rawNode.parentNode.insertBefore(this.rawNode,this.rawNode.parentNode.firstChild),this},setClip:function(e){this.inherited(arguments);var i=e?"width"in e?"rect":"cx"in e?"ellipse":"points"in e?"polyline":"d"in e?"path":null:null;if(e&&!i)return this;"polyline"===i&&((e=t.clone(e)).points=e.points.join(","));var n,s,a=o.get(this.rawNode,"clip-path");if(a&&(n=r.byId(a.match(/gfx_clip[\d]+/)[0]))&&n.removeChild(n.childNodes[0]),e){if(n)s=y(c.xmlns.svg,i),n.appendChild(s);else{var h="gfx_clip"+ ++v,l="url(#"+h+")";this.rawNode.setAttribute("clip-path",l),n=y(c.xmlns.svg,"clipPath"),s=y(c.xmlns.svg,i),n.appendChild(s),this.rawNode.parentNode.insertBefore(n,this.rawNode),o.set(n,"id",h)}o.set(s,e)}else this.rawNode.removeAttribute("clip-path"),n&&n.parentNode.removeChild(n);return this},_removeClipNode:function(){var t,e=o.get(this.rawNode,"clip-path");return e&&(t=r.byId(e.match(/gfx_clip[\d]+/)[0]))&&t.parentNode.removeChild(t),t}}),c.Group=n("dojox.gfx.svg.Group",c.Shape,{constructor:function(){u.Container._init.call(this)},setRawNode:function(t){this.rawNode=t,this.rawNode.__gfxObject__=this},destroy:function(){this.clear(!0),c.Shape.prototype.destroy.apply(this,arguments)}}),c.Group.nodeType="g",c.Rect=n("dojox.gfx.svg.Rect",[c.Shape,u.Rect],{setShape:function(t){for(var e in this.shape=l.makeParameters(this.shape,t),this.bbox=null,this.shape)if("type"!=e&&"r"!=e){var i=this.shape[e];"width"!==e&&"height"!==e||(i=i<0?0:i),this.rawNode.setAttribute(e,i)}return null!=this.shape.r&&(this.rawNode.setAttribute("ry",this.shape.r),this.rawNode.setAttribute("rx",this.shape.r)),this}}),c.Rect.nodeType="rect",c.Ellipse=n("dojox.gfx.svg.Ellipse",[c.Shape,u.Ellipse],{}),c.Ellipse.nodeType="ellipse",c.Circle=n("dojox.gfx.svg.Circle",[c.Shape,u.Circle],{}),c.Circle.nodeType="circle",c.Line=n("dojox.gfx.svg.Line",[c.Shape,u.Line],{}),c.Line.nodeType="line",c.Polyline=n("dojox.gfx.svg.Polyline",[c.Shape,u.Polyline],{setShape:function(t,e){t&&t instanceof Array?(this.shape=l.makeParameters(this.shape,{points:t}),e&&this.shape.points.length&&this.shape.points.push(this.shape.points[0])):this.shape=l.makeParameters(this.shape,t),this.bbox=null,this._normalizePoints();for(var i=[],r=this.shape.points,n=0;n<r.length;++n)i.push(r[n].x.toFixed(8),r[n].y.toFixed(8));return this.rawNode.setAttribute("points",i.join(" ")),this}}),c.Polyline.nodeType="polyline",c.Image=n("dojox.gfx.svg.Image",[c.Shape,u.Image],{setShape:function(t){this.shape=l.makeParameters(this.shape,t),this.bbox=null;var e=this.rawNode;for(var i in this.shape)if("type"!=i&&"src"!=i){var r=this.shape[i];"width"!==i&&"height"!==i||(r=r<0?0:r),e.setAttribute(i,r)}return e.setAttribute("preserveAspectRatio","none"),b(e,c.xmlns.xlink,"xlink:href",this.shape.src),e.__gfxObject__=this,this}}),c.Image.nodeType="image",c.Text=n("dojox.gfx.svg.Text",[c.Shape,u.Text],{setShape:function(t){this.shape=l.makeParameters(this.shape,t),this.bbox=null;var e=this.rawNode,i=this.shape;return e.setAttribute("x",i.x),e.setAttribute("y",i.y),e.setAttribute("text-anchor",i.align),e.setAttribute("text-decoration",i.decoration),e.setAttribute("rotate",i.rotated?90:0),e.setAttribute("kerning",i.kerning?"auto":0),e.setAttribute("text-rendering",g),e.firstChild?e.firstChild.nodeValue=i.text:e.appendChild(m(i.text)),this},getTextWidth:function(){var t=this.rawNode,e=t.parentNode,i=t.cloneNode(!0);i.style.visibility="hidden";var r=0,n=i.firstChild.nodeValue;if(e.appendChild(i),""!=n)for(;!r;)r=i.getBBox?parseInt(i.getBBox().width):68;return e.removeChild(i),r},getBoundingBox:function(){var t=null;if(this.getShape().text)try{t=this.rawNode.getBBox()}catch(e){t={x:0,y:0,width:0,height:0}}return t}}),c.Text.nodeType="text",c.Path=n("dojox.gfx.svg.Path",[c.Shape,d.Path],{_updateWithSegment:function(t){this.inherited(arguments),"string"==typeof this.shape.path&&this.rawNode.setAttribute("d",this.shape.path)},setShape:function(t){return this.inherited(arguments),this.shape.path?this.rawNode.setAttribute("d",this.shape.path):this.rawNode.removeAttribute("d"),this}}),c.Path.nodeType="path",c.TextPath=n("dojox.gfx.svg.TextPath",[c.Shape,d.TextPath],{_updateWithSegment:function(t){this.inherited(arguments),this._setTextPath()},setShape:function(t){return this.inherited(arguments),this._setTextPath(),this},_setTextPath:function(){if("string"==typeof this.shape.path){var t=this.rawNode;if(!t.firstChild){var e=y(c.xmlns.svg,"textPath"),i=m("");e.appendChild(i),t.appendChild(e)}var r=t.firstChild.getAttributeNS(c.xmlns.xlink,"href"),n=r&&c.getRef(r);if(!n){var s=this._getParentSurface();if(s){var a=s.defNode;n=y(c.xmlns.svg,"path");var o=l._base._getUniqueId();n.setAttribute("id",o),a.appendChild(n),b(t.firstChild,c.xmlns.xlink,"xlink:href","#"+o)}}n&&n.setAttribute("d",this.shape.path)}},_setText:function(){var t=this.rawNode;if(!t.firstChild){var e=y(c.xmlns.svg,"textPath"),i=m("");e.appendChild(i),t.appendChild(e)}t=t.firstChild;var r=this.text;switch(t.setAttribute("alignment-baseline","middle"),r.align){case"middle":t.setAttribute("text-anchor","middle"),t.setAttribute("startOffset","50%");break;case"end":t.setAttribute("text-anchor","end"),t.setAttribute("startOffset","100%");break;default:t.setAttribute("text-anchor","start"),t.setAttribute("startOffset","0%")}t.setAttribute("baseline-shift","0.5ex"),t.setAttribute("text-decoration",r.decoration),t.setAttribute("rotate",r.rotated?90:0),t.setAttribute("kerning",r.kerning?"auto":0),t.firstChild.data=r.text}}),c.TextPath.nodeType="text";var w,_=((w=/WebKit\/(\d*)/.exec(f))?w[1]:0)>534;c.Surface=n("dojox.gfx.svg.Surface",u.Surface,{constructor:function(){u.Container._init.call(this)},destroy:function(){u.Container.clear.call(this,!0),this.defNode=null,this.inherited(arguments)},setDimensions:function(t,e){if(!this.rawNode)return this;var i=t<0?0:t,r=e<0?0:e;return this.rawNode.setAttribute("width",i),this.rawNode.setAttribute("height",r),_&&(this.rawNode.style.width=i,this.rawNode.style.height=r),this},getDimensions:function(){return this.rawNode?{width:l.normalizedLength(this.rawNode.getAttribute("width")),height:l.normalizedLength(this.rawNode.getAttribute("height"))}:null}}),c.createSurface=function(t,e,i){var n=new c.Surface;n.rawNode=y(c.xmlns.svg,"svg"),n.rawNode.setAttribute("overflow","hidden"),e&&n.rawNode.setAttribute("width",e<0?0:e),i&&n.rawNode.setAttribute("height",i<0?0:i);var s=y(c.xmlns.svg,"defs");return n.rawNode.appendChild(s),n.defNode=s,n._parent=r.byId(t),n._parent.appendChild(n.rawNode),l._base._fixMsTouchAction(n),n};var S={_setFont:function(){var t=this.fontStyle;this.rawNode.setAttribute("font-style",t.style),this.rawNode.setAttribute("font-variant",t.variant),this.rawNode.setAttribute("font-weight",t.weight),this.rawNode.setAttribute("font-size",t.size),this.rawNode.setAttribute("font-family",t.family)}},N=u.Container,A=c.Container={openBatch:function(){return this._batch||(this.fragment=c.useSvgWeb?i.doc.createDocumentFragment(!0):i.doc.createDocumentFragment()),++this._batch,this},closeBatch:function(){return this._batch=this._batch>0?--this._batch:0,this.fragment&&!this._batch&&(this.rawNode.appendChild(this.fragment),delete this.fragment),this},add:function(t){return this!=t.getParent()&&(this.fragment?this.fragment.appendChild(t.rawNode):this.rawNode.appendChild(t.rawNode),N.add.apply(this,arguments),t.setClip(t.clip)),this},remove:function(t,e){return this==t.getParent()&&(this.rawNode==t.rawNode.parentNode&&this.rawNode.removeChild(t.rawNode),this.fragment&&this.fragment==t.rawNode.parentNode&&this.fragment.removeChild(t.rawNode),t._removeClipNode(),N.remove.apply(this,arguments)),this},clear:function(){for(var t=this.rawNode;t.lastChild;)t.removeChild(t.lastChild);var e=this.defNode;if(e){for(;e.lastChild;)e.removeChild(e.lastChild);t.appendChild(e)}return N.clear.apply(this,arguments)},getBoundingBox:N.getBoundingBox,_moveChildToFront:N._moveChildToFront,_moveChildToBack:N._moveChildToBack},k=c.Creator={createObject:function(t,e){if(!this.rawNode)return null;var i=new t,r=y(c.xmlns.svg,t.nodeType);return i.setRawNode(r),i.setShape(e),this.add(i),i}};if(t.extend(c.Text,S),t.extend(c.TextPath,S),t.extend(c.Group,A),t.extend(c.Group,u.Creator),t.extend(c.Group,k),t.extend(c.Surface,A),t.extend(c.Surface,u.Creator),t.extend(c.Surface,k),c.fixTarget=function(t,e){return t.gfxTarget||(x&&t.target.wholeText?t.gfxTarget=t.target.parentElement.__gfxObject__:t.gfxTarget=t.target.__gfxObject__),!0},c.useSvgWeb){c.createSurface=function(t,e,i){var n=new c.Surface;if(i=i<0?0:i,!(e=e<0?0:e)||!i){var s=a.position(t);e=e||s.w,i=i||s.h}var o=(t=r.byId(t)).id?t.id+"_svgweb":l._base._getUniqueId(),h=y(c.xmlns.svg,"svg");return h.id=o,h.setAttribute("width",e),h.setAttribute("height",i),svgweb.appendChild(h,t),h.addEventListener("SVGLoad",function(){n.rawNode=this,n.isLoaded=!0;var t=y(c.xmlns.svg,"defs");n.rawNode.appendChild(t),n.defNode=t,n.onLoad&&n.onLoad(n)},!1),n.isLoaded=!1,n},c.Surface.extend({destroy:function(){var t=this.rawNode;svgweb.removeChild(t,t.parentNode)}});var C={connect:function(e,i,r){return"on"===e.substring(0,2)&&(e=e.substring(2)),r=2==arguments.length?i:t.hitch(i,r),this.getEventSource().addEventListener(e,r,!1),[this,e,r]},disconnect:function(t){this.getEventSource().removeEventListener(t[1],t[2],!1),delete t[0]}};t.extend(c.Shape,C),t.extend(c.Surface,C)}return c}.apply(null,r))||(t.exports=n)}}]);