// All material copyright ESRI, All Rights Reserved, unless otherwise specified.
// See http://@sbaseurl@/jsapi/jsapi/esri/copyright.txt and http://www.arcgis.com/apps/webappbuilder/copyright.txt for details.

//>>built
/*
 Sortable 1.8.4 - MIT | git://github.com/SortableJS/Sortable.git */
require({cache:{"widgets/Infographic/setting/templatePopup":function(){define("dojo/_base/declare dijit/_WidgetBase dijit/_TemplatedMixin dijit/_WidgetsInTemplateMixin dojo/Evented dojo/on dojo/_base/lang dojo/_base/html dojo/_base/query jimu/dijit/Popup jimu/utils dojo/json dojo/text!./templates.json".split(" "),function(B,r,w,q,k,l,h,c,a,e,f,b,d){var g=B([r,w,q,k],{baseClass:"jimu-widget-infographic-setting-template-popup",templateString:'\x3cdiv\x3e\x3cdiv class\x3d"chooser-container" data-dojo-attach-event\x3d"click:_onTemplateClick"data-dojo-attach-point\x3d"chooserDiv"\x3e\x3c/div\x3e\x3cdiv class\x3d"footer"\x3e\x3cdiv class\x3d"jimu-btn jimu-float-trailing jimu-btn-vacation cancel"data-dojo-attach-point\x3d"btnCancel"\x3e${nls.cancel}\x3c/div\x3e\x3cdiv class\x3d"jimu-btn jimu-float-trailing ok jimu-trailing-margin1 jimu-state-disabled" data-dojo-attach-point\x3d"btnOk"\x3e${nls.ok}\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e',
postMixInProperties:function(){},postCreate:function(){this.inherited(arguments);d=f.replacePlaceHolder(d,this.nls.stringsInTemplate);this._initTemplates();this.own(l(this.btnOk,"click",h.hitch(this,function(){this.getSelectedItem()&&this.emit("ok",this.getSelectedItem())})));this.own(l(this.btnCancel,"click",h.hitch(this,function(){this.emit("cancel")})))},_initTemplates:function(){var n=null;b.parse(d).forEach(h.hitch(this,function(m,p){0===p%6&&(n=null,n=c.toDom('\x3cdiv class\x3d"template-tr"\x3e\x3c/div\x3e'),
c.place(n,this.chooserDiv));m=this._getSimpleTemplate(m);c.place(m,n)}))},_onTemplateClick:function(n){n=n.target;c.hasClass(n,"imgDiv")&&(c.hasClass(n,"selected")?c.removeClass(n,"selected"):(a(".tempDiv .imgDiv.selected",this.domNode).removeClass("selected"),c.addClass(n,"selected")),this.getSelectedItem()?c.removeClass(this.btnOk,"jimu-state-disabled"):c.addClass(this.btnOk,"jimu-state-disabled"))},_getSimpleTemplate:function(n){var m=c.toDom('\x3cdiv class\x3d"tempDiv"\x3e\x3cdiv class\x3d"imgDiv '+
n.name+'"\x3e\x3cdiv class\x3d"select-icon"\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class\x3d"labelDiv" title\x3d"'+n.label+'"\x3e'+n.label+"\x3c/div\x3e\x3c/div\x3e"),p=a(".imgDiv",m)[0];p.config=n.config;p.config.name=n.name;return m},getSelectedItem:function(){var n=a(".tempDiv .imgDiv.selected",this.domNode)[0];if(n)return n.config}});return B([e,k],{width:970,height:585,titleLabel:"",dijitArgs:null,postCreate:function(){this.inherited(arguments);c.addClass(this.domNode,"jimu-widget-card-setting-template-popup");
this.dijitArgs={nls:this.nls};this.tc=new g(this.dijitArgs);this.tc.placeAt(this.contentContainerNode);this.tc.startup();this.own(l(this.tc,"ok",h.hitch(this,function(n){this.emit("ok",n)})));this.own(l(this.tc,"cancel",h.hitch(this,function(){try{this.emit("cancel")}catch(n){console.error(n)}})))}})})},"widgets/Infographic/DijitFactory":function(){define("dojo/aspect dojo/_base/lang ./dijits/TextDijit ./dijits/ImageDijit ./dijits/ChartDijit ./dijits/GaugeDijit ./dijits/NumberDijit".split(" "),function(B,
r,w,q,k,l,h){var c={},a={},e=null,f=null,b=null,d=null,g={};c._dijits=a;c.createDijit=function(n){var m=null;if(a[n.id])return(m=a[n.id])&&"function"===typeof m.setVisible&&m.setVisible(n.visible),m;switch(n.type){case "text":var p=w;break;case "image":p=q;break;case "chart":p=k;break;case "gauge":p=l;break;case "number":p=h}if(!p)return console.error("Unknow type:",n.type),null;m={nls:e,config:n.config,map:f,inSettingPage:b,appConfig:d,jsonId:n.id,visible:n.visible};r.mixin(m,g);m=new p(m);B.after(m,
"destroy",function(){delete a[n.id]});return a[n.id]=m};c.setNls=function(n){e=n};c.setMap=function(n){f=n;Object.keys(a).forEach(function(m){a[m].setMap(f)})};c.setInSettingPage=function(n){b=n;Object.keys(a).forEach(function(m){a[m].setInSettingPage(b)})};c.setAppConfig=function(n){d=n;Object.keys(a).forEach(function(m){a[m].setAppConfig(d)})};c.setContext=function(n){g=n;Object.keys(a).forEach(function(m){r.mixin(a[m],g)})};return c})},"widgets/Infographic/dijits/TextDijit":function(){define(["dojo/_base/declare",
"dojo/_base/html","./BaseDijit","./styleUtils"],function(B,r,w,q){return B([w],{templateString:"\x3cdiv\x3e\x3c/div\x3e",baseClass:"infographic-text-dijit",type:"text",config:null,postCreate:function(){this.setConfig(this.config)},setConfig:function(k){this.config=k;r.empty(this.domNode);r.addClass(this.domNode,"table-layout-container");r.addClass(this.domNode,"no-trim");this.innerDom=r.create("div",{},this.domNode);r.place(this.innerDom,this.domNode);k={};q.background.setStyle(this.config.background,
k,this);q.font.setStyle(this.config.font,k);q.font.setText(this.config,this);r.setStyle(this.innerDom,k)}})})},"widgets/Infographic/dijits/BaseDijit":function(){define(["dojo/_base/declare","dijit/_WidgetBase","dijit/_TemplatedMixin"],function(B,r,w){return B([r,w],{templateString:"\x3cdiv\x3ePlease create a sub class\x3c/div\x3e",type:"BaseDijit",config:null,inSettingPage:!0,appConfig:null,constructor:function(q){this.config=q.config},setInSettingPage:function(q){this.inSettingPage=q},setConfig:function(q){this.config=
q},setMap:function(q){this.map=q},setDataSource:function(q){this.dataSource=q},resize:function(){},setAppConfig:function(q){this.appConfig=q},onDataSourceDataUpdate:function(q){this.data=q},isDarkTheme:function(){var q=!1;this.appConfig&&("DashboardTheme"!==this.appConfig.theme.name||"default"!==this.appConfig.theme.styles[0]&&"style3"!==this.appConfig.theme.styles[0]?"DartTheme"===this.appConfig.theme.name&&(q=!0):q=!0);return q}})})},"widgets/Infographic/dijits/styleUtils":function(){define(["dojo/on",
"dojo/keys","dojo/_base/lang","dojo/_base/html","jimu/utils"],function(B,r,w,q,k){var l={background:{setStyle:function(h,c,a){if(!h)return{};c||(c={});l.background.setBackgroundColor(h,c);l.background.setAlignment(h,c);l.background.setLink(h,c,a)},setBackgroundColor:function(h,c){h.backgroundColor&&(c.backgroundColor=h.backgroundColor)},setAlignment:function(h,c){if(h.alignment){if(h.alignment.horizontal)switch(h.alignment.horizontal){case "left":c.textAlign="left";break;case "center":c.textAlign=
"center";break;case "right":c.textAlign="right";break;default:c.textAlign="center"}if(h.alignment.vertical)switch(c.display="table-cell",h.alignment.vertical){case "top":c.verticalAlign="top";break;case "middle":c.verticalAlign="middle";break;case "bottom":c.verticalAlign="bottom";break;default:c.verticalAlign="middle"}}},setLink:function(h,c,a){a.clickHanlder&&(a.clickHanlder[0]&&a.clickHanlder[0].remove(),a.clickHanlder=null,this.keydownHanlder&&a.keydownHanlder[0]&&a.keydownHanlder[0].remove(),
a.keydownHanlder=null,c.cursor="auto");h.link?(a.clickHanlder=a.own(B(a.domNode,"click",w.hitch(a,function(){window.open(h.link)}))),a.keydownHanlder=a.own(B(a.domNode,"keydown",w.hitch(a,function(){event.keyCode===r.ENTER&&window.open(h.link)}))),c.cursor="pointer",q.addClass(a.domNode,"has-link"),q.setAttr(a.domNode,"tabindex","0"),q.setAttr(a.domNode,"role","link"),"undefined"!==typeof h.alt&&q.setAttr(a.domNode,"aria-label",h.alt)):(q.removeClass(a.domNode,"has-link"),q.removeAttr(a.domNode,"tabindex"),
q.removeAttr(a.domNode,"role"),"undefined"===typeof h.alt&&q.removeAttr(a.domNode,"aria-label"))}},font:{setText:function(h,c){var a="";h.text&&(a=h.text);c.innerDom.innerHTML=k.sanitizeHTML(a)},setStyle:function(h,c){if(!h)return{};c||(c={});l.font.setFont(h,c);l.font.setTextColor(h,c);l.font.setFontSize(h,c)},setFont:function(h,c){c.fontWeight="normal";c.fontStyle="normal";c.textDecoration="none";h.font&&(h.font.fontFamily&&(c.fontFamily=h.font.fontFamily),h.font.bold&&(c.fontWeight="bold"),h.font.italic&&
(c.fontStyle="italic"),h.font.underline&&(c.textDecoration="underline"))},setTextColor:function(h,c){h.textColor&&(c.color=h.textColor)},setFontSize:function(h,c){h.fontSize&&(c.fontSize=h.fontSize+"px")}},image:{setStyle:function(h,c,a){if(!h)return{};c||(c={});l.image.setBackgroundImg(h,c,a);l.image.setAlignment(h,c)},setBackgroundImg:function(h,c,a){var e="";if(e=h&&!h.image&&a&&a.folderUrl?"url("+a.folderUrl+"/images/default_image.png)":"url("+k.processUrlInWidgetConfig(h.image,a.folderUrl)+")")c.backgroundImage=
e,c.backgroundRepeat="no-repeat",c.backgroundSize="contain"},setAlignment:function(h,c){if(h&&h.background){var a="center",e="center";if(h.background.alignment){h.background.alignment.horizontal&&(a=h.background.alignment.horizontal);if(h.background.alignment.vertical)switch(h.background.alignment.vertical){case "top":e="top";break;case "middle":e="center";break;case "bottom":e="bottom";break;default:c.verticalAlign="center"}c.backgroundPosition=a+" "+e}}}},dataFormat:{getText:function(h,c){var a=
"";h.dataFormat&&(a=c?c:h.text,a=l.dataFormat.setDataFomat(h,a),h.dataFormat.prefix&&(a=h.dataFormat.prefix+" "+a),h.dataFormat.suffix&&(a=a+" "+h.dataFormat.suffix));return a},setDataFomat:function(h,c){var a=h.dataFormat.unit;"none"===h.dataFormat.unit?a="":"percentage"===h.dataFormat.unit&&(a="%");return c=c+a+"("+h.dataFormat.decimalPlaces+") "}}};return l})},"widgets/Infographic/dijits/ImageDijit":function(){define(["dojo/_base/declare","dojo/_base/html","./BaseDijit","./styleUtils"],function(B,
r,w,q){return B([w],{templateString:"\x3cdiv\x3e\x3c/div\x3e",type:"image",config:null,constructor:function(k){this.config=k.config},postCreate:function(){this.setConfig(this.config)},setConfig:function(k){this.config=k;this.domNode.innerHTML="";r.addClass(this.domNode,"table-layout-container");k=this.config.alt;this.config.background.alt=k;this.innerDom=r.create("div",{"class":"image-node",alt:k,role:"img"},this.domNode);r.place(this.innerDom,this.domNode);k={};q.background.setStyle(this.config.background,
k,this);q.image.setStyle(this.config,k,this);r.setStyle(this.innerDom,k)}})})},"widgets/Infographic/dijits/ChartDijit":function(){define("dojo/_base/lang dojo/_base/html dojo/_base/declare ./BaseDijit dojo/text!./ChartDijit.html moment/moment jimu/dijit/_chartDijitOption jimu/dijit/Chart jimu/DataSourceManager jimu/LayerInfos/LayerInfos ../utils jimu/utils libs/moment/twix".split(" "),function(B,r,w,q,k,l,h,c,a,e,f,b){window.makeTwix(l);return w([q],{templateString:k,type:"chart",baseClass:"infographic-chart-dijit",
layerInfosObj:null,dataSourceManager:null,featuresCountForPreview:50,dataSource:null,config:null,map:null,maxTimeIntervals:1E4,maxLabels:1E4,dsType:"",constructor:function(d){this.visible=d.visible;this.layerInfosObj=e.getInstanceSync();this.dataSourceManager=a.getInstance();this.config=d.config;this.popupInfo=this.layerObject=this.featureLayerForFrameWork=null},postCreate:function(){this.inherited(arguments);this._init();this.upgradeConfig()},setLayerInfo:function(d,g,n){this.layerObject=d;this.popupInfo=
n;this.featureLayerForFrameWork=g;this._initChartDijitOption()},getDataURL:function(){if(this.chart)return this.chart.getDataURL()},resize:function(){this.chart&&this.chart.resize()},setVisible:function(d){this.visible=d},destroy:function(){this.chart&&this.chart.destroy();this.chart=null;this.inherited(arguments)},clearChart:function(){this.chart&&this.chart.clear();this.showNodata()},setBackgroundColor:function(d){this.domNode.style.backgroundColor=d},_setyAxisName:function(){var d=this.config&&
this.config.display;(d=d&&d.yAxis)&&d.show&&"undefined"!==typeof d.name?(this._showyAxisName(),this._setyAxisNameText(d.name),(d=d.nameTextStyle)&&d.color&&this._setyAxisNameColor(d.color)):this._hideyAxisName()},_setyAxisNameText:function(d){this.yAxisName.innerHTML=b.stripHTML(d)},_setyAxisNameColor:function(d){r.setStyle(this.yAxisName,"color",d)},_hideyAxisName:function(){r.setStyle(this.yAxisName,"display","none")},_showyAxisName:function(){r.setStyle(this.yAxisName,"display","flex")},resetData:function(){this.dataSource=
null;this.dsType="";this.data=null;this._hasStatisticsed=void 0;this.featureLayerForFrameWork=this.popupInfo=this.layerObject=null;this.chartDijitOption.init(null,null,null,this.map)},setDataSource:function(d){this.inherited(arguments);this.dataSource=d;this._calcDataSourceType(this.dataSource)},onUpdateDataStart:function(){this._showOverlay()},onUpdateDataDone:function(){this._hideOverlay()},_calcDataSourceType:function(d){d.layerId?this.dsType="CLIENT_FEATURES":d.frameWorkDsId&&(d=(d=f.getDsTypeInfoMeta(d.frameWorkDsId,
this.appConfig))&&d.dsMeta)&&("Features"===d.type?this.dsType="FRAMEWORK_FEATURES":"FeatureStatistics"===d.type&&(this.dsType="FRAMEWORK_STATISTICS"))},setConfig:function(d){this.config=d;this.upgradeConfig()},upgradeConfig:function(){this.config=f.upgradeChartAxisFormatConfig(this.config,this.layerObject,this.popupInfo)},onDataSourceDataUpdate:function(d){d&&"undefined"!==typeof d.features&&(this.inSettingPage&&d.features.length>this.featuresCountForPreview&&(d.features=d.features.slice(0,this.featuresCountForPreview)),
this.data=d,this._hasStatisticsed=!!d.hasStatisticsed)},startRendering:function(){this.specialChartConfig(this.config);this._shouldRenderChart()&&((this.chart||this._createJimuChart(),this._updateBackgroundColor(),this._setyAxisName(),this._splitConfig(),this._createChartSeriesOption(),this.seriesOption)?this._checkIsTooManyLabels(this.seriesOption)||(this._createChartOption(),this.chart.updateConfig(this.chartOption),this.chart.resize()):this.showNodata())},_createChartOption:function(){var d=this._isSameFeatures(),
g=f.isEqual(this.dataOption,this._oldDataOption)&&f.isEqual(this.displayOption,this._oldDisplayOption);d&&g||(this.chartOption=null,this.seriesOption&&(this.chartOption=this.chartDijitOption.updateChartOptionDisplay(B.clone(this.seriesOption),this.displayOption,this.dataOption),this._oldDisplayOption=null,this._oldDisplayOption=B.clone(this.displayOption)))},_createChartSeriesOption:function(){var d=this._isSameFeatures(),g=f.isEqual(this.dataOption,this._oldDataOption);d&&g||(this._oldDataOption=
null,this._oldDataOption=B.clone(this.dataOption),d=this.dataOption,d.features=this.features,g=this.chartDijitOption.getClientStatisticsData(d),this.seriesOption=null,g&&(this.chartDijitOption.bindChartEvent(this.chart,d,g),this.seriesOption=this.chartDijitOption.getChartOptionSeries(this.dataOption,g)))},_splitConfig:function(){if(this.config){var d=this.config.data,g=this.config.display;this.features=this._cleanFeatures(this.data.features);var n=this.dataSource.filterByExtent,m=this.dataSource.useSelection,
p=this._isStatisticsed();n={filterByExtent:n,useSelection:m,hasStatisticsed:p};this.dataOption=null;this.dataOption=B.mixin(n,d);this.displayOption=null;this.displayOption=g}},_cleanFeatures:function(d){if(d&&d.length)return d.map(function(g){return{attributes:g.attributes}})},_isSameFeatures:function(){var d=this.features;if(!d)return!0;d=d.map(function(g){return g.attributes});if(f.isEqual(d,this._oldFeatureAttrs))return!0;this._oldFeatureAttrs=d},_isStatisticsed:function(){return this.inSettingPage?
"FRAMEWORK_STATISTICS"===this.dsType:!!this._hasStatisticsed},_shouldRenderChart:function(){if(this.visible&&this.config){var d=this.domNode&&this.data&&this.data.features&&this._hasVaildConfig(this.config.data);if("CLIENT_FEATURES"===this.dsType)var g=!!this.layerObject;else if("FRAMEWORK_FEATURES"===this.dsType||"FRAMEWORK_STATISTICS"===this.dsType)g=!!this.featureLayerForFrameWork;if(d&&g){if(this._checkIsTooManyTimeInterval(this.data.features))return this.showNodata(this.nls.parsingperiodTip),
!1}else return this.showNodata(),!1;this.hideNodata();return!0}},_hasVaildConfig:function(d){if(!d||!d.mode)return!1;var g=d.valueFields;if("feature"===d.mode)return d.clusterField&&g&&g.length;if("category"===d.mode)return d.clusterField&&d.operation&&g&&g.length;if("count"===d.mode)return d.clusterField;if("field"===d.mode)return d.operation&&g&&g.length},_getNodataTextColor:function(){var d=this.config&&this.config.display;var g=this.config&&this.config.data;if(!d||!g)return"#666";(d="pie"===g.type?
d.dataLabelColor:d.horizontalAxisTextColor||d.verticalAxisTextColor)||(d="#666");return d},specialChartConfig:function(d){if(d){var g=this._getChartTheme();f.specialChartConfig(d,g);return d}},_showOverlay:function(){r.removeClass(this.overlap,"hide")},_hideOverlay:function(){r.addClass(this.overlap,"hide")},showNodata:function(d){r.addClass(this.domNode,"no-data");this._setNoDataColor();d&&(this.noDataDiv.innerHTML=b.sanitizeHTML(d))},_setNoDataColor:function(){var d=this._getNodataTextColor();this.noDataDiv&&
this.noDataDiv.style&&(this.noDataDiv.style.color=d)},_initChartDijitOption:function(){if(this.chartDijitOption){var d=null;d="CLIENT_FEATURES"===this.dsType?this.layerObject:this.featureLayerForFrameWork;this.chartDijitOption.init(d,this.layerObject,this.popupInfo,this.map,this.layerObject)}},_checkIsTooManyLabels:function(d){return(d=d.labels)&&d.length>this.maxLabels?(this.showNodata(this.nls.manyCategoryTip),!0):!1},_checkIsTooManyTimeInterval:function(d){var g=this.config&&this.config.data;g=
g&&g.dateConfig;if(!g||"automatic"===g.minPeriod)return!1;var n=g.clusterField,m=d.map(B.hitch(this,function(p){return p.attributes[n]}));m=m.filter(function(p){return!!p});d=Math.min.apply(Math,m);m=Math.max.apply(Math,m);d=l(d).subtract(1,"seconds").local();m=l(m).add(1,"seconds").local();return Math.round(m.diff(d,g.minPeriod,!0))>=this.maxTimeIntervals},_createChartDijitOption:function(){var d={map:null};this.inSettingPage||(d.map=this.map);this.chartDijitOption=new h(d)},_init:function(){this._createChartDijitOption();
this._updateBackgroundColor()},_createJimuChart:function(){var d=this.config&&this.config.data;this.DEFAULT_CONFIG={type:d&&d.type||"column",theme:this._getChartTheme(),labels:[],series:[{data:[]}]};this.chart=new c({chartDom:this.chartDomNode,config:this.DEFAULT_CONFIG,preview:this.inSettingPage});this.chart.placeAt(this.chartDomNode);this.chart.resize()},_getChartTheme:function(){return this.isDarkTheme()?"dark":"light"},_updateBackgroundColor:function(){var d=this.config&&this.config.display;d&&
d.backgroundColor&&this.setBackgroundColor(d.backgroundColor)},hideNodata:function(){r.removeClass(this.domNode,"no-data")}})})},"jimu/dijit/_chartDijitOption":function(){define(["dojo/_base/declare","dijit/_WidgetBase","dojo/_base/lang","jimu/clientStatisticsUtils","jimu/_chartHelpUtils"],function(B,r,w,q,k){return B([r],{postMixInProperties:function(){this.nls=window.jimuNls.statisticsChart},constructor:function(l){this.map=l.map;this.chartHelpUtils=new k({map:this.map,clientStatisticsUtils:q})},
init:function(l,h,c,a,e){this.chartHelpUtils.setLayerFeatureLayer(l);this.chartHelpUtils.setSymbolLayer(h);this.chartHelpUtils.setPopupInfo(c);this.chartHelpUtils.setMap(a);this.chartHelpUtils.setLayerObject(e);this.featureLayer=l;this.layerObject=e},getClientStatisticsData:function(l){var h=q.getClietStatisticsData(l);h=q.sortClientStatisticsData(h,l,this.layerObject||this.featureLayer);h=q.getDataForMaxLabels(h,l.maxLabels);return h=this.chartHelpUtils.keepStatisticsDataBestDecimalPlace(l,h,l.mode)},
bindChartEvent:function(l,h,c){this.chartHelpUtils.bindChartEvent(l,h,c)},getChartOptionSeries:function(l,h){return this._createOptionSeries(l,h)},updateChartOptionDisplay:function(l,h,c){this._assigneeSettingColorToSeries(l,h,c);this.chartHelpUtils.updateChartSeriesDisplayName(l,h,c);return this._mapSettingConfigToChartOption(l,h,c)},_assigneeSettingColorToSeries:function(l,h,c){if(!l||!l.series)return l;this.chartHelpUtils.assigneeSettingColor(h,l.series,c)},_createOptionSeries:function(l,h){var c=
l.type,a=l.mode;l=l.valueFields;var e=[];e="count"===a?[""]:"field"===a?[""]:w.clone(l);var f=null;f={type:c,labels:[],series:[]};f.series=e.map(w.hitch(this,function(b){return{name:b,type:c,data:[]}}));h.forEach(w.hitch(this,function(b){var d=b.label;f.labels.push(d);for(var g=0;g<b.values.length;g++){var n={value:b.values[g],name:d,unit:b.unit};"feature"===a&&(n.originValue=b.originalValues[g]);f.series[g].data.push(n)}}));return f},_mapSettingConfigToChartOption:function(l,h,c){var a=c.type;this._settingColorArrayForPie(l,
h,a,c.mode);this._settingAxisDisplay(l,h,a);l.type=a;l.dataZoom=["inside","slider"];"pie"!==a&&(l.dataZoomOption={mode:h.displayRange||"AUTO"});l.confine=!0;l.backgroundColor=h.backgroundColor;l.tooltip=h.tooltip?w.clone(h.tooltip):{confine:!0,trigger:"radar"===a||"pie"===a?"item":"axis",axisPointer:"pie"!==a?{type:"line"===a?"cross":"shadow",snap:!0}:{type:""}};h.marks&&h.marks.markLine&&(l.markLine=w.clone(h.marks.markLine));h.marks&&h.marks.markArea&&(l.markArea=w.clone(h.marks.markArea));h.legend&&
(l.legend=w.clone(h.legend));h.xAxis&&(l.xAxis=w.clone(h.xAxis));h.yAxis&&(l.yAxis=w.clone(h.yAxis));h.dataLabel&&(l.dataLabel=w.clone(h.dataLabel));"pie"===a&&(l.innerRadius=h.innerRadius);l.theme=h.theme||"light";return l},_settingColorArrayForPie:function(l,h,c,a){"pie"===c&&"field"!==a&&(h=h.seriesStyle)&&h.styles&&h.styles[0]&&(h=h.styles[0].style)&&Array.isArray(h.color)&&(c=w.clone(h.color),2===c.length&&(c=this.chartHelpUtils.getColors(w.clone(h.color),6)),l.color=c)},_settingAxisDisplay:function(l,
h,c){if(!(0>["column","bar","line"].indexOf(c))){h.stack||(h.stack=!1);if("column"===c||"bar"===c||"line"===c&&h.area)l.stack=h.stack;"line"!==c||h.area||(h.area=!1);"line"===c&&(l.area=h.area);l.scale=!1}}})})},"jimu/clientStatisticsUtils":function(){define(["dojo/_base/lang","moment/moment","./_chartHelpUtils","jimu/utils","libs/moment/twix"],function(B,r,w,q){window.makeTwix&&window.makeTwix(r);return{getClietStatisticsData:function(k){var l=k.mode;if("feature"===l)return this.getFeatureModeStatisticsData(k);
if("category"===l)return this.getCategoryModeStatisticsData(k);if("count"===l)return this.getCountModeStatisticsData(k);if("field"===l)return this.getFieldModeStatisticsData(k)},sortClientStatisticsData:function(k,l,h){return this.sortStatisticsData(k,l.mode,l.sortOrder,l.clusterField,l.valueFields,h)},getDataForMaxLabels:function(k,l){return k&&k.length&&"number"===typeof l&&0<l&&l<k.length?k.slice(0,l):k},getFeatureModeStatisticsData:function(k){var l=k.features,h=k.clusterField,c=k.valueFields;
k=void 0!==k.showNullLabelData?k.showNullLabelData:!0;var a=this.separateFeaturesWhetherFieldValueNull(h,l);l=a.notNullLabelFeatures;a=a.nullLabelFeatures;l=k?l.concat(a):l;k=[];return k=l.map(function(e){var f=e.attributes,b=f&&f[h];b=this.convertingNullOrUndefinedAsPlaceholders(b);e={label:b,values:[],features:[e]};e.values=c.map(function(d){return f[d]});return e}.bind(this))},getCategoryModeStatisticsData:function(k){function l(g){var n=[],m=null;for(p in g){m=g[p];var p=this.keepFieldValueType(p,
m.type,e);var u=this.calcValuesByFeaturesForCatetoryMode(c,m,h,a,b);n.push({label:p,values:u,features:m.features,unit:m.unit})}return n}var h=k.hasStatisticsed,c=k.valueFields,a=k.operation,e=k.dateConfig,f=void 0!==k.showNullLabelData?k.showNullLabelData:!0,b=k.nullValue,d=[];d=this.getCluseringObj(k.clusterField,k.features,e);k=d.nullLabel;d=l.call(this,d.notNullLabel);k=l.call(this,k);return d=f?d.concat(k):d},getCountModeStatisticsData:function(k){function l(f){var b=[],d=null;for(n in f){d=f[n];
var g=this.calcValuesByFeaturesForCountMode(d,e);var n=this.keepFieldValueType(n,d.type,h);b.push({label:n,values:g,features:d.features,unit:d.unit})}return b}var h=k.dateConfig,c=void 0!==k.showNullLabelData?k.showNullLabelData:!0,a=[],e=k.hasStatisticsed&&!h;a=this.getCluseringObj(k.clusterField,k.features,h);k=a.nullLabel;a=l.call(this,a.notNullLabel);k=l.call(this,k);return a=c?a.concat(k):a},calcValuesByFeaturesForCountMode:function(k,l){return l?k.features.map(function(h){var c=(h=h.attributes)&&
h.STAT_COUNT;"undefined"===typeof c&&(c=h.stat_count);return c}.bind(this)):[k.count]},getFieldModeStatisticsData:function(k){var l=k.hasStatisticsed,h=k.features,c=k.operation,a=k.nullValue,e=[];return e=k.valueFields.map(B.hitch(this,function(f){var b=this.getValuesByValueFieldForFieldMode(f,h,l,c);b=this.calcValueByOperation(b,c,a);return{label:f,values:[b]}}))},getValueFromAttributes:function(k,l,h,c){if(k)return h="average"===h?"avg":h,c?(c=q.upperCaseString(l+"_"+h),c=k[c],"undefined"===typeof c&&
(c=q.lowerCaseString(l+"_"+h),c=k[c])):c=k[l],c},getValuesByValueFieldForFieldMode:function(k,l,h,c){return l.map(B.hitch(this,function(a){return this.getValueFromAttributes(a.attributes,k,c,h)}))},sortStatisticsData:function(k,l,h,c,a,e){function f(d,g,n){if("category"===g)if(n.isLabelAxis)n.isLabelAxis&&(m=d.label);else if(n.field||1!==d.values.length){n=a.indexOf(n.field);var m=d.values[n]}else m=d.values[0];else if("count"===g)m=d.label,m=n.isLabelAxis?m:d.values[0];else if("field"===g)m=n.isLabelAxis?
d.label:d.values[0];else if("feature"===g){var p=n.field;d&&d.features&&d.features[0]&&(g=d.features[0].attributes)&&(n.isLabelAxis?m=g[c]:p?m=g[p]:d.values.length&&(m=d.values[0]))}return m}if(!h)return k;var b=h.isAsc;if(!Array.isArray(k))return k;k.sort(function(d,g){d=f(d,l,h);g=f(g,l,h);if(h.isLabelAxis&&e&&"field"!==l){var n={};n[c]=d;n=q.getDisplayValueForCodedValueOrSubtype(e,c,n);var m={};m[c]=g;m=q.getDisplayValueForCodedValueOrSubtype(e,c,m);n.isCodedValueOrSubtype&&m.isCodedValueOrSubtype&&
(d=n.displayValue,g=m.displayValue)}"_NULL\x26UNDEFINED_"===d&&(d=Infinity);"_NULL\x26UNDEFINED_"===g&&(g=Infinity);q.isNumberOrNumberString(d)&&(d=Number(d));q.isNumberOrNumberString(g)&&(g=Number(g));n=d>g?b:!b;Infinity===d?n=b:Infinity===g&&(n=!b);m=0;d!==g&&(m=n?1:-1);return m}.bind(this));return k},convertingNullOrUndefinedAsPlaceholders:function(k){return null===k||void 0===k?"_NULL\x26UNDEFINED_":k},keepFieldValueType:function(k,l,h){"number"===l&&(k=Number(k));h&&"_NULL\x26UNDEFINED_"!==k&&
(k=Number(k));return k},calcValuesByFeaturesForCatetoryMode:function(k,l,h,c,a){return k.map(function(e){e=this.getValuesByValueFieldForCategoryMode(e,l.features,h,c);return this.calcValueByOperation(e,c,a)}.bind(this))},getValuesByValueFieldForCategoryMode:function(k,l,h,c){return l.map(B.hitch(this,function(a){return this.getValueFromAttributes(a.attributes,k,c,h)}))},_isNumber:function(k){return"[object number]"===Object.prototype.toString.call(k).toLowerCase()},_getDateUnit:function(k,l){var h=
l;"automatic"===l&&(l=r(k[0]).local(),k=r(k[1]).local(),k=Math.round(k.diff(l,"minute",!0)),0<=k&&1>=k?h="second":1<k&&60>=k?h="minute":60<k&&1440>=k?h="hour":1440<k&&43200>=k?h="day":43200<k&&518400>=k?h="month":518400<k&&(h="year"));return h},_getTimeRange:function(k,l){var h=k.map(B.hitch(this,function(c){return(c=c.attributes)&&c[l]}));h=h.filter(function(c){return!!c});k=Math.min.apply(Math,h);h=Math.max.apply(Math,h);return[k,h]},_getTimeTwixs:function(k,l,h){if(0>"year quarter month day hour minute second automatic".split(" ").indexOf(h))return console.log("Invaild data formatter: "+
h),!1;k=this._getTimeRange(k,l);if(k[0]===k[1])return!1;h=this._getDateUnit(k,h);l=this.getStartTimeByUnit(k[0],h);l=r(l).local();k=r(k[1]).local();k=l.twix(k).split(1,h);l={startValue:k[k.length-1].end().valueOf(),endValue:Infinity};k.push(l);return{twixs:k,dateUnit:h}},getCluseringObj:function(k,l,h){var c={},a={};h?(k=this.getClusteringObjForDateType(k,l,h),c=k.notNullLabel,a=k.nullLabel):(c=this.separateFeaturesWhetherFieldValueNull(k,l),l=c.nullLabelFeatures,c=this.getClusteringObjByField(c.notNullLabelFeatures,
k),a=this.getClusteringObjByField(l,k));return{notNullLabel:c,nullLabel:a}},calcValueByOperation:function(k,l,h){if(k&&1===k.length){if(!h)return k[0];if(!this._isNumber(k[0]))return 0}if(0!==k.length){var c=0;"max"===l?c=-Infinity:"min"===l&&(c=Infinity);k=h?k.map(function(e){this._isNumber(e)||(e=0);return e}.bind(this)):k.filter(function(e){return this._isNumber(e)}.bind(this));var a=0;k.forEach(B.hitch(this,function(e){a++;"average"===l||"sum"===l?c+=e:"max"===l?c=Math.max(c,e):"min"===l&&(c=
Math.min(c,e))}));0<a?"average"===l&&(c/=a):c=null}else c=null;return c},getClusteringObjByField:function(k,l){var h={};k.forEach(B.hitch(this,function(c){var a=c.attributes;a=a&&a[l];var e=typeof a;a=this.convertingNullOrUndefinedAsPlaceholders(a);var f=null;h.hasOwnProperty(a)?(f=h[a],f.features.push(c),f.count++):(f={count:1,features:[c],type:e},h[a]=f)}));return h},_removeNaNDataItem:function(k){return k.filter(function(l){var h=!1;l=l.category;"number"===typeof l&&(h=isNaN(l));return!h})},separateFeaturesWhetherFieldValueNull:function(k,
l){var h=[],c=[];Array.isArray(l)&&(c=l.filter(function(a){var e=a.attributes;e=e&&e[k];if(null===e||void 0===e)h.push(a);else return!0}));return{nullLabelFeatures:h,notNullLabelFeatures:c}},getStartTimeByUnit:function(k,l){return r(k).startOf(l).utc().valueOf()},_mosaicFieldNameWithOperatorAndUpper:function(k,l){return q.upperCaseString(k+"_"+l)},_mosaicFieldNameWithOperatorAndLower:function(k,l){return q.lowerCaseString(k+"_"+l)},getClusteringObjForDateType:function(k,l,h){function c(A,z,C){A[z]?
(A=A[z],A.count+=C.count,A.features=A.features.concat(C.features)):A[z]=C}function a(A,z,C,v){z=Number(z);v=this.getStartTimeByUnit(z,v);A[v]?(A=A[v],A.count+=C.count,A.features=A.features.concat(C.features)):(C.originTime=z,A[v]=C)}function e(A,z,C){C[A[0].attributes[z]]={count:1,features:A};return C}var f=this.separateFeaturesWhetherFieldValueNull(k,l),b=f.notNullLabelFeatures;l={};l=this.getClusteringObjByField(f.nullLabelFeatures,k);f={};if(1===b.length)f=e.call(this,b,k,f,h);else if(0!==b.length){var d=
this._getTimeTwixs(b,k,h.minPeriod);if(d){var g={},n=d.dateUnit;d.twixs.forEach(function(A){var z="undefined"!==typeof A.startValue?A.startValue:A.start().valueOf(),C="undefined"!==typeof A.endValue?A.endValue:A.end().valueOf(),v={unit:n,count:0,features:[]};b.forEach(B.hitch(this,function(E){var L=E.attributes;L=L&&L[k];L>=z&&L<C&&(v.features.push(E),v.count++)}));h.isNeedFilled?c.call(this,g,z,v):0<v.count&&c.call(this,g,z,v)}.bind(this));d={};var m;for(m in g)if(g.hasOwnProperty(m)){var p=g[m];
a.call(this,d,m,p,n)}for(m in d)if(d.hasOwnProperty(m)){p=d[m];var u=p.originTime;delete p.originTime;f[u]=p}}else f=e.call(this,b,k,f,h)}return{notNullLabel:f,nullLabel:l}},_mapOptions:function(k,l){"feature"===l?(l=k.labelField,delete k.labelField,k.clusterField=l,k.showNullLabelData=!0):"category"===l?(l=k.categoryField,delete k.categoryField,k.clusterField=l,k.showNullLabelData=!0):"count"===l?(l=k.categoryField,delete k.categoryField,k.clusterField=l):"field"===l&&(k.showNullLabelData=!0);return k},
_mapDataItemForStatisticsChart:function(k,l){var h,c,a;return k.map(function(e){h=e.label;delete e.label;c=e.values;delete e.values;a=e.features;delete e.features;"feature"===l?(e.category=h,e.valueFields=c,e.dataFeatures=a):"category"===l?(e.category=h,e.valueFields=c,e.dataFeatures=a):"count"===l?(e.fieldValue=h,e.count=c[0],e.dataFeatures=a):"field"===l&&(e.label=h,e.value=c[0]);return e})},getFeatureModeStatisticsInfo:function(k){var l=new w({featureLayer:k.layerDefinition,popupInfo:k.popupFieldInfosObj});
k=this._mapOptions(k,"feature");var h=k.clusterField,c=this.getFeatureModeStatisticsData(k);c=this.sortStatisticsData(c,"feature",k.sortOrder,h);c=this.getDataForMaxLabels(c,k.maxLabels);c=l.getBestLabelDisplay(c,h,"feature");c=l.keepStatisticsDataBestDecimalPlace(k,c,"feature");return this._mapDataItemForStatisticsChart(c,"feature")},getCategoryModeStatisticsInfo:function(k){var l=new w({featureLayer:k.layerDefinition,popupInfo:k.popupFieldInfosObj});k=this._mapOptions(k,"category");var h=k.clusterField,
c=this.getCategoryModeStatisticsData(k);c=this.sortStatisticsData(c,"category",k.sortOrder,null,k.valueFields);c=this._removeNaNDataItem(c);c=this.getDataForMaxLabels(c,k.maxLabels);c=l.getBestLabelDisplay(c,h,"category");c=l.keepStatisticsDataBestDecimalPlace(k,c,"category");return this._mapDataItemForStatisticsChart(c,"category")},getCountModeStatisticsInfo:function(k){var l=new w({featureLayer:k.layerDefinition,popupInfo:k.popupFieldInfosObj});k=this._mapOptions(k,"count");var h=k.clusterField,
c=this.getCountModeStatisticsData(k);c=this.sortStatisticsData(c,"count",k.sortOrder);c=this.getDataForMaxLabels(c,k.maxLabels);c=l.getBestLabelDisplay(c,h,"count");return this._mapDataItemForStatisticsChart(c,"count")},getFieldModeStatisticsInfo:function(k){var l=new w({featureLayer:k.layerDefinition,popupInfo:k.popupFieldInfosObj});k=this._mapOptions(k,"category");var h=this.getFieldModeStatisticsData(k);h=this.sortStatisticsData(h,"field",k.sortOrder);h=this.getDataForMaxLabels(h,k.maxLabels);
h=l.getBestLabelDisplay(h,null,"field");h=l.keepStatisticsDataBestDecimalPlace(k,h,"field");return this._mapDataItemForStatisticsChart(h,"field")}}})},"jimu/_chartHelpUtils":function(){define("dojo/_base/declare jimu/utils dojo/_base/lang dojo/_base/config dojo/_base/Color ./_dateFormat moment/moment esri/lang esri/graphic esri/layers/GraphicsLayer esri/symbols/jsonUtils".split(" "),function(B,r,w,q,k,l,h,c,a,e,f){return B(null,{constructor:function(b){b&&w.mixin(this,b);this.popupInfo||(this.popupInfo=
{});this.featureLayer||(this.featureLayer={});this._cachePlaces={}},setLayerFeatureLayer:function(b){this.featureLayer=b;this.map&&((b=this.map.getLayer("chart_highLight_GraphicLayer"))?this.graphicLayer=b:(this.graphicLayer=new e({id:"chart_highLight_GraphicLayer"}),this.map.addLayer(this.graphicLayer)),this.graphicLayer.clear())},setLayerObject:function(b){this.layerObject=b},setSymbolLayer:function(b){this.symbolLayer=b},setPopupInfo:function(b){this.popupInfo=b},setMap:function(b){this.map=b},
getBestLabelDisplay:function(b,d,g){if("feature"===g)return this.betterDataCategoryForFeatureMode(b,d);if("category"===g||"count"===g)return this.betterDataCategoryForCategoryCountMode(b,d);if("field"===g)return this.betterDataCategoryForFieldMode(b)},betterDataCategoryForFeatureMode:function(b,d){b.forEach(w.hitch(this,function(g){g.label=this.getBestDisplayValue(d,g.label)}));return b},betterDataCategoryForFieldMode:function(b){b.forEach(w.hitch(this,function(d){d.label=this.getFieldAlias(d.label)}));
return b},betterDataCategoryForCategoryCountMode:function(b,d){b.forEach(w.hitch(this,function(g){g.label="undefined"!==typeof g.unit?this.getCategoryDisplayForDateUnit(g.label,g.unit):this.getBestDisplayValue(d,g.label)}));return b},keepStatisticsDataBestDecimalPlace:function(b,d,g){if("count"===g)return d;var n=b.valueFields,m=b.operation,p=b.hasStatisticsed;this.cacheDecimalPlace(n,b.features,this.popupInfo,m,p);"feature"===g||"category"===g?d.forEach(w.hitch(this,function(u){u.originalValues=
w.clone(u.values);n.forEach(w.hitch(this,function(A,z){var C=u.values[z];C=this.formatedValueDecimalplace(A,C,m,p);u.values[z]=C}))})):"field"===g&&n.forEach(w.hitch(this,function(u){d.some(w.hitch(this,function(A){if(A.label===u){var z=A.values[0];z=this.formatedValueDecimalplace(u,z,m,p);A.values[0]=z;return!0}return!1}))}));return d},formatedValueDecimalplace:function(b,d,g,n){this.isIntegerNumberField(b)&&"average"===g?d=this.handleValueMaxDecimalplaces(d,6):this.isFloatNumberField(b)&&(b=this.getFieldDecimalPlaceFromCache(b),
d=this.formatValuePlaces(d,b),n&&!this.popupInfo&&(d=this.handleValueMaxDecimalplaces(d,6)));return d},isIntegerNumberField:function(b){if(!this.featureLayer||!this.featureLayer.fields)return!1;var d=["esriFieldTypeSmallInteger","esriFieldTypeInteger"];return this.featureLayer.fields.some(w.hitch(this,function(g){return g.name===b&&0<=d.indexOf(g.type)}))},formatValuePlaces:function(b,d){return"number"!==typeof d||!b&&0!==b?b:b.toFixed(d)},handleValueMaxDecimalplaces:function(b,d){b=Number(b);if("number"!==
typeof b)return b;var g=0,n=b.toString().split(".");1===n.length?g=0:2===n.length&&(g=n[1].length);return 0<g?(g>d&&(g=d),b=b.toFixed(g),parseFloat(b)):b},getFieldDecimalPlaceFromCache:function(b){var d;this._cachePlaces&&(b=this._cachePlaces[b],"number"===typeof b&&(d=b));return d},getValueFromAttributes:function(b,d,g,n){if(b)return g="average"===g?"avg":g,n?(n=r.upperCaseString(d+"_"+g),n=b[n],"undefined"===typeof n&&(n=r.lowerCaseString(d+"_"+g),n=b[n])):n=b[d],n},cacheDecimalPlace:function(b,
d,g,n,m){this._cachePlaces={};if(b&&b.length){var p=b.filter(w.hitch(this,function(A){return this.isFloatNumberField(A)})),u={};p.forEach(w.hitch(this,function(A){u[A]=[]}));d&&0<d.length&&d.forEach(w.hitch(this,function(A){var z=A.attributes;z&&p.forEach(w.hitch(this,function(C){var v=this.getValueFromAttributes(z,C,n,m);"number"===typeof v&&u[C].push(v)}))}));p.forEach(w.hitch(this,function(A){var z=this.getFieldInfoFromPopupInfo(g,A);this._cachePlaces[A]=0;var C=u[A];if(0<C.length)try{var v=this.getBestDecimalPlaceForArrayValues(C);
this._cachePlaces[A]=v}catch(E){this._cachePlaces[A]=0,console.error(E)}g&&((z=this.getPlacesFromPopupFieldInfo(z))||0===z)&&(this._cachePlaces[A]=z)}))}},getBestDecimalPlaceForArrayValues:function(b){var d=0,g={};b.forEach(function(p){p=p.toString().split(".");var u=null;1===p.length?u=0:2===p.length&&(u=p[1].length);null!==u&&(g[u]=void 0===g[u]?1:g[u]+1)});b=null;for(var n in g){n=parseInt(n,10);var m=g[n];b?m>b.value&&(b={key:n,value:m}):b={key:n,value:m}}b&&(d=parseInt(b.key,10));return d},getFieldInfoFromPopupInfo:function(b,
d){var g=null;return b&&b.fieldInfos?g=b.fieldInfos.filter(function(n){return n.fieldName===d})[0]:g},getPlacesFromPopupFieldInfo:function(b){return b&&b.format&&b.format.places},getAliasFromPopupInfo:function(b,d){var g=d;if(!b||!b.fieldInfos)return g;(b=b.fieldInfos)&&0<b.length&&b.some(function(n){if(n.fieldName===d)return g=n.label,!0});return g},isFloatNumberField:function(b){if(!this.featureLayer||!this.featureLayer.fields)return!1;var d=["esriFieldTypeSingle","esriFieldTypeDouble"];return this.featureLayer.fields.some(w.hitch(this,
function(g){return g.name===b&&0<=d.indexOf(g.type)}))},isNumberField:function(b){if(!this.featureLayer||!this.featureLayer.fields)return!1;var d=["esriFieldTypeSmallInteger","esriFieldTypeInteger","esriFieldTypeSingle","esriFieldTypeDouble"];return this.featureLayer.fields.some(w.hitch(this,function(g){return g.name===b&&0<=d.indexOf(g.type)}))},isDateField:function(b){return(b=this.getFieldInfo(b))?"esriFieldTypeDate"===b.type:!1},getFieldInfo:function(b){if(this.featureLayer)for(var d=this.featureLayer.fields,
g=0;g<d.length;g++)if(d[g].name===b)return d[g];return null},getFieldAliasArray:function(b){return b.map(w.hitch(this,function(d){return this.getFieldAlias(d)}))},getBestDisplayValue:function(b,d){if("_NULL\x26UNDEFINED_"===d)return"null";if(this.isDateField(b))return this.formatedDateByPopupInfoOrLocal(b,d);var g={};g[b]=d;g=r.getDisplayValueForCodedValueOrSubtype(this.layerObject||this.featureLayer,b,g);g.isCodedValueOrSubtype?d=g.displayValue:this.isNumberField(b)&&(b=this.getFieldInfoFromPopupInfo(this.popupInfo,
b),d=r.localizeNumberByFieldInfo(d,b));return d},formatedDateByPopupInfoOrLocal:function(b,d,g){g||(g=this.popupInfo);a:{if(g&&c.isDefined(g.fieldInfos))for(var n=0,m=g.fieldInfos.length;n<m;n++){var p=g.fieldInfos[n];if(p.fieldName===b){b=p.format;break a}}b=null}d=Number(d);return r.fieldFormatter.getFormattedDate(d,b)},getDisplayValForNumberCodedValueSubTypes:function(b,d){var g=this.tryLocaleNumber(d,b);if(this.featureLayer&&this.featureLayer.typeIdField===b){var n=this.featureLayer.types;if(n&&
0<n.length&&(n=n.filter(w.hitch(this,function(m){return m.id===d})),0<n.length))return g=n[0].name}(b=this.getFieldInfo(b))&&b.domain&&(b=b.domain.codedValues)&&0<b.length&&b.some(function(m){return m.code===d?(g=m.name,!0):!1});return g},tryLocaleNumber:function(b,d){var g=b;if(c.isDefined(b)&&isFinite(b))try{if(d&&this.isNumberField(d)){var n=this.popupInfo[d];var m=n&&w.exists("format.places",n)?r.localizeNumberByFieldInfo(b,n):r.localizeNumber(b)}else m=b;"string"===typeof m&&(g=m)}catch(p){console.error(p)}return g+
""},getCategoryDisplayForDateUnit:function(b,d){if(!d)return b;b=Number(b);return this._getFormatteredDate(b,d)},_getFormatteredDate:function(b,d){var g=this._getDateTemplate(d);0<=["year","quarter","month","day"].indexOf(d)?g=r.localizeDate(new Date(b),{selector:"date",datePattern:g.date}):(d=r.localizeDate(new Date(b),{selector:"date",datePattern:g.date}),b=h(b).format(g.time),g=d+g.connector+b);return g},_getDateTemplate:function(b){var d=l[q.locale];(d=d||{},d.date)||(d.date={"short":"short"});
d&&!d.time&&(d.time={medium:"HH:mm:ss a"});d&&!d.connector&&(d.connector=" ");d&&!d.sNoDay&&(d.sNoDay="MMM, y");var g={};"year"===b?g.date="y":"quarter"===b?g.date="y q":"month"===b?g.date=d.date.sNoDay:"day"===b?g.date=d.date["short"]:"hour"===b?(g.date=d.date["short"],g.time="HH a",g.connector=d.connector):"minute"===b?(g.date=d.date["short"],g.time="HH:mm a",g.connector=d.connector):"second"===b&&(g.date=d.date["short"],g.time=d.time.medium,g.connector=d.connector);return g},_getSymbolLayerGraphics:function(b,
d){if(!this.symbolLayer)return null;if(!this.symbolLayer.refreshInterval&&this.symbolGraphics&&!1===this.symbolGraphics.filterByExtent&&!1===this.symbolGraphics.useSelection)return this.symbolGraphics.graphics;var g=null;this.map&&this.symbolLayer&&(g=r.getClientFeaturesFromMap(this.map,this.symbolLayer,d,!!b));this.symbolGraphics={filterByExtent:b,useSelection:d,graphics:g};return g},_isContainAttr:function(b,d){if("object"!==typeof d||"object"!==typeof d)return!1;var g=!0;Object.keys(d).some(function(n){return d[n]!==
b[n]?(g=!1,!0):!1});return g},_getFeaturesByAttr:function(b,d){if(d){var g=null;d.some(function(n){return this._isContainAttr(n.attributes,b)?(g=n,!0):!1}.bind(this));return g}},_getFeaturesByClusterfield:function(b,d,g,n){var m=this._getSymbolLayerGraphics(g);if(m)return g=null,b=this.clientStatisticsUtils.getCluseringObj(b,m,n),(d=w.mixin(b.notNullLabel,b.nullLabel)[d])&&d.features&&d.features.length&&(g=d.features),g},_getFeatureForSerieData:function(b,d,g){var n=d.clusterField,m=d.mode,p=d.filterByExtent;
d=d.useSelection;var u={};u[n]=b.name;if("feature"===m)return this._getFeatureBySerieDataItem(b,n,g,p,d);if("category"===m||"count"===m)return new a(null,null,u)},_getFeatureBySerieDataItem:function(b,d,g,n,m){var p={};p[d]=b.name;p[g]=Number("undefined"!==typeof b.originValue?b.originValue:b.value);b=this._getSymbolLayerGraphics(n,m);return this._getFeaturesByAttr(p,b)},_getFeatureBycsuDataItem:function(b,d,g,n,m,p){var u={};u[d]=b.label;b=b.originalValues||b.values;u[g]=Number(b&&b[n]);g=this._getSymbolLayerGraphics(m,
p);return this._getFeaturesByAttr(u,g)},bindChartEvent:function(b,d,g){var n=d.filterByExtent,m=d.useSelection,p=d.clusterField,u=d.valueFields,A=null;"undefined"!==d.dateConfig&&(A=d.dateConfig);this.highLightColor=d.highLightColor||"#00ffff";var z=d.mode;if(this.map&&0!==g.length){d=w.hitch(this,function(v){if("series"===v.componentType){var E=null,L=this._getSymbolLayerGraphics(n,m);if("field"===z)E=L;else if(L=g[v.dataIndex])if("feature"===z){var Q=v.seriesIndex,G=u[Q];if(!G)return;(L=this._getFeatureBycsuDataItem(L,
p,G,Q,n,m))&&(E=[L])}else L=L.label,"undefined"!==typeof L&&(E=this._getFeaturesByClusterfield(p,L,n,A));E&&"mouseover"===v.type&&this.graphicLayer&&(this._mouseoverFeatures=E,this._mouseOverChartItem(E))}});var C=w.hitch(this,function(){this._mouseoverFeatures&&this.graphicLayer&&(this._mouseOutChartItem(this._mouseoverFeatures),this._mouseoverFeatures=null)});[{name:"mouseover",callback:d},{name:"mouseout",callback:C}].forEach(w.hitch(this,function(v){b.chart.off(v.name);b.chart.on(v.name,w.hitch(this,
function(E){"mouseover"===E.type?(this._hasTriggerMouseoverEvent||(this._hasTriggerMouseoverEvent=!0,v.callback(E)),setTimeout(w.hitch(this,function(){this._hasTriggerMouseoverEvent=!1},500))):"mouseout"===E.type&&v.callback(E)}))}))}},_createHighLightFeatures:function(b,d){b.forEach(w.hitch(this,function(g){g=new a(g.geometry,d);this.graphicLayer.add(g)}))},_mouseOverChartItem:function(b){if(this.featureLayer&&this.featureLayer.getMap()&&this.featureLayer.visible){var d=r.getTypeByGeometryType(this.featureLayer.geometryType);
b.forEach(w.hitch(this,function(m){m._originalSymbol=m.symbol}));var g=null;if("point"===d)g=this._getHighLightMarkerSymbol(),this._createHighLightFeatures(b,g);else if("polyline"===d)g=this._getHighLightLineSymbol(this.highLightColor),this._createHighLightFeatures(b,g);else if("polygon"===d){var n=this.featureLayer.getSelectedFeatures()||[];b.forEach(w.hitch(this,function(m){var p=0<=n.indexOf(m);p=this._getHighLightFillSymbol(this.featureLayer,m,p);m=new a(m.geometry,p);this.graphicLayer.add(m)}))}}},
_mouseOutChartItem:function(){this.graphicLayer&&this.graphicLayer.clear()},_getHighLightMarkerSymbol:function(){var b=f.fromJson({color:[255,255,255,0],size:18,angle:0,xoffset:0,yoffset:0,type:"esriSMS",style:"esriSMSSquare",outline:{color:[0,0,128,255],width:.75,type:"esriSLS",style:"esriSLSSolid"}});b.setSize(30);b.outline.setColor(new k(this.highLightColor));return b},_getHighLightLineSymbol:function(b){var d=f.fromJson({color:[0,255,255,255],width:1.5,type:"esriSLS",style:"esriSLSSolid"});d.setColor(new k(b||
this.highLightColor));return d},_getDefaultHighLightFillSymbol:function(){var b=f.fromJson({color:[0,255,255,128],outline:{color:[0,255,255,255],width:1.5,type:"esriSLS",style:"esriSLSSolid"},type:"esriSFS",style:"esriSFSSolid"});b.outline.setColor(new k(this.highLightColor));return b},_getSymbolByRenderer:function(b,d){var g=this._getDefaultHighLightFillSymbol(),n=this.getVisualVariableByType("colorInfo",b.visualVariables);if(n){if(b=b.getColor(d,{colorInfo:n}))b=w.clone(b),g.setColor(b)}else g=
b.getSymbol(d);return g},getVisualVariableByType:function(b,d){return d&&(d=d.filter(function(g){return g.type===b&&!g.target}),d.length)?d[0]:null},_getHighLightFillSymbol:function(b,d,g){var n=null,m=d.symbol;n=b.renderer;!m&&n&&(m=this._getSymbolByRenderer(n,d));m&&"function"===typeof m.setOutline?(n=f.fromJson(m.toJson()),d=1.5,m.outline&&0<m.outline.width&&(d=m.outline.width+1),g=this._getHighLightLineSymbol(g?"#ff0000":"#00ffff"),g.setWidth(d),n.setOutline(g)):n=this._getDefaultHighLightFillSymbol();
return n},_isNumberField:function(b){var d=["esriFieldTypeSmallInteger","esriFieldTypeInteger","esriFieldTypeSingle","esriFieldTypeDouble"];return this.featureLayer.fields.some(w.hitch(this,function(g){return g.name===b&&0<=d.indexOf(g.type)}))},getFieldAlias:function(b){var d;this.popupInfo&&(d=this.getAliasFromPopupInfo(this.popupInfo,b));d||(d=b,(b=this.getFieldInfo(b))&&b.alias&&(d=b.alias));return d},_removeDuplicateElementForObjArray:function(b){if(!Array.isArray(b))return b;var d=[];d.push(b[0]);
b.forEach(function(g){d.some(function(n){return r.isEqual(n,g)})||d.push(g)});return d},assigneeSettingColor:function(b,d,g){if(!d||!d.length)return d;var n=b.seriesStyle;if(!n)return d;"layerSymbol"===n.type?d=this._assigneeStyleLayerSymbolColor(d,g):"series"===n.type?d=this._assigneeStyleSeriesColor(b,d):"custom"===n.type&&(d=this._assigneeStyleCustomColor(b,d));return d},_assigneeStyleCustomColor:function(b,d){b=b.seriesStyle;if(!b||!b.customColor)return d;var g=b.customColor;b=g.categories;g=
g.others;if(!(b&&b.length||g&&g.length))return d;g&&g.length&&this._setCustomOthersColor(g,d);b&&b.length&&this._setCustomCategoriesColor(b,d)},_setCustomCategoriesColor:function(b,d){d.forEach(function(g){(g=g.data)&&g.length&&g.forEach(function(n){if("undefined"!==typeof n.name){var m=this._getMatchingCustomColor(n.name,b);this.setColorToDataItem(n,m)}}.bind(this))}.bind(this))},_getMatchingCustomColor:function(b,d){var g=!1;if(!d||!d.length)return g;(d=d.filter(function(n){return n.id===b})[0])&&
d.color&&(g=d.color);return g},_getMatchingCustomLabel:function(b,d){var g=!1;if(!d||!d.length)return g;(d=d.filter(function(n){return n.id===b})[0])&&d.label&&(g=d.label);return g},_setCustomOthersColor:function(b,d){this._setOtherColorForCustomColor(b,d);this._setNullLabelColorForCustomColor(b,d)},_setOtherColorForCustomColor:function(b,d){(b=b.filter(function(g){return"others"===g.id})[0])&&b.color&&this.setColorToAllSerieDataItem(d,b.color)},_setNullLabelColorForCustomColor:function(b,d){if((b=
b.filter(function(n){return"null"===n.id})[0])&&b.color){var g=b.color;d.forEach(function(n){(n=n.data)&&n.length&&n.forEach(function(m){m.name&&"_NULL\x26UNDEFINED_"===m.name&&this.setColorToDataItem(m,g)}.bind(this))}.bind(this))}},_assigneeStyleSeriesColor:function(b,d){var g=b.seriesStyle;if(!g||!g.styles||!g.styles[0])return d;var n=b.mode,m=b.area;return d.map(function(p){var u=null,A=p.type;if("field"===n)"line"===A?(u=g.styles[0].style,p=this._setStyleToSerie(u,p,m)):(A=p.data)&&A[0]&&(p.data=
A.map(function(z){u=this._getMatchingStyle(z.name,g);return this.setStyleToSerieDataItem(u,z)}.bind(this)));else if("column"===A||"bar"===A||"line"===A)"count"===n?(u=g.styles[0].style,p=this._setStyleToSerie(u,p,m)):"undefined"!==typeof p.name&&(u=this._getMatchingStyle(p.name,g))&&(p=this._setStyleToSerie(u,p,m));return p}.bind(this))},_assigneeStyleLayerSymbolColor:function(b,d){b.forEach(function(g){var n=g.name;(g=g.data)&&g.length&&g.forEach(function(m){var p=[this._getFeatureForSerieData(m,
d,n)];if(p=this._getSymbolColorForDataItem(p))m.itemStyle={color:p}}.bind(this))}.bind(this))},_setStyleToSerie:function(b,d,g){d.itemStyle||(d.itemStyle={});b&&"undefined"!==typeof b.color&&(Array.isArray(b.color)?d.itemStyle.color=b.color[0]:d.itemStyle.color=b.color);b&&"undefined"!==typeof b.opacity&&(g?(d.areaStyle||(d.areaStyle={}),d.areaStyle.opacity=1-parseFloat(b.opacity/10)):d.itemStyle.opacity=1-parseFloat(b.opacity/10));return d},_getMatchingStyle:function(b,d){var g=null;d=d.styles;if(!d||
!d[0]||""===b)return g;d.forEach(function(n){n.name===b&&(g=n.style)});return g},_getSymbolColorForDataItem:function(b){var d=!1;if(!this.symbolLayer)return d;b=b&&b[0];return b?d=this._getColorForFeature(this.symbolLayer.renderer,b):d},_getColorForFeature:function(b,d){var g=!1,n=this.getVisualVariableByType("colorInfo",b.visualVariables);n?(b=b.getColor(d,{colorInfo:n}))&&(g=this._convertToEchartsRbga(b)):(b=b.getSymbol(d))&&"undefined"!==typeof b.color&&(g=this._convertToEchartsRbga(b.color));
return g},_convertToEchartsRbga:function(b){if(!b||"undefined"===typeof b.r)return b;b=window.JSON.parse(window.JSON.stringify(b));var d="rgba("+(b.r+",");d+=b.g+",";d+=b.b+",";return d+=b.a+")"},getColors:function(b,d){var g=[];if(2===b.length)g=this._createGradientColors(b[0],b[b.length-1],d);else{for(var n=Math.ceil(d/b.length),m=0;m<n;m++)g=g.concat(b);g=g.slice(0,d)}return g},_createGradientColors:function(b,d,g){var n=[];b=new k(b);var m=new k(d);d=(m.r-b.r)/g;var p=(m.g-b.g)/g;m=(m.b-b.b)/
g;for(var u=new k,A=0,z=0,C=0,v=0;v<g;v++)A=parseInt(b.r+d*v,10),z=parseInt(b.g+p*v,10),C=parseInt(b.b+m*v,10),u.setColor([A,z,C]),n.push(u.toHex());return n},setStyleToSerieDataItem:function(b,d){d.itemStyle||(d.itemStyle={});b&&"undefined"!==typeof b.color&&(Array.isArray(b.color)?d.itemStyle.color=b.color[0]:d.itemStyle.color=b.color);b&&"undefined"!==typeof b.opacity&&(d.itemStyle.opacity=1-parseFloat(b.opacity/10));return d},setColorToSerie:function(b,d){if(!b||"object"!==typeof b||Array.isArray(b))return b;
b.itemStyle||(b.itemStyle={});d&&(b.itemStyle.color=d)},setColorToDataItem:function(b,d){if(!b||"object"!==typeof b)return b;b.itemStyle||(b.itemStyle={});d&&(b.itemStyle.color=d)},setColorToAllSerieDataItem:function(b,d){b.forEach(function(g){(g=g.data)&&g.length&&g.forEach(function(n){this.setColorToDataItem(n,d)}.bind(this))}.bind(this))},_updateDataItemNameForCustom:function(b,d,g){if("undefined"!==typeof b.name){var n=b.name;"_NULL\x26UNDEFINED_"===b.name&&d?n=d:(d=this._getMatchingCustomLabel("undefined"!==
typeof b.originName?b.originName:b.name,g))&&(n=d);b.name=n}return n},_updateSerieDataItemName:function(b,d,g){var n=b.name,m=n;m=b.unit&&n?this.getCategoryDisplayForDateUnit(n,b.unit):"field"!==d?this.getBestDisplayValue(g,n):this.getFieldAlias(n);b.name=m;b.originName=n;return m},updateChartSeriesDisplayName:function(b,d,g){var n=g.clusterField,m=g.mode;g=b.series;var p=[];d=d.seriesStyle;var u;g.forEach(function(C,v){C.name&&(C.name=this.getFieldAlias(C.name));(C=C.data)&&C.length&&C.forEach(function(E,
L){u=this._updateSerieDataItemName(E,m,n);0===v&&(p[L]=u)}.bind(this))}.bind(this));if("custom"===d.type){if((d=d.customColor)&&d.categories&&d.categories.length){var A=d.categories;d=d.others||[];if((d=d.filter(function(C){return"null"===C.id})[0])&&d.label)var z=d.label}g.forEach(function(C,v){(C=C.data)&&C.length&&C.forEach(function(E,L){u=this._updateDataItemNameForCustom(E,z,A);0===v&&(p[L]=u)}.bind(this))}.bind(this))}b.labels=null;b.labels=p}})})},"jimu/_dateFormat":function(){define([],function(){return{ar:{date:{"short":"d/M/y",
medium:"dd/MM/y","long":"d MMMM. y",onlyDate:"dd/MM",mNoDay:"MM/y",sNoDay:"M/y"},time:{"short":"h:mm a",medium:"h:mm:ss a"}},bs:{date:{"short":"d.M.yy.",medium:"d. MMM. y.","long":"d. MMMM y.",onlyDate:"d. MMM.",mNoDay:"MMM. y.",sNoDay:"M.yy"}},cs:{date:{"short":"dd.MM.yy",medium:"d. M. y",onlyDate:"d. M.",mNoDay:"M. y",sNoDay:"MM.yy"}},da:{date:{"short":"dd/MM/y",medium:"d. MMM y","long":"d. MMMM y",onlyDate:"d. MMM",mNoDay:"MMM y",sNoDay:"MM/y"}},de:{date:{"short":"dd.MM.yy",medium:"dd.MM.y",onlyDate:"dd.MM."},
connector:" , ",mNoDay:"MM.y",sNoDay:"MM.yy"},el:{date:{"short":"d/M/yy",medium:"d MMM y",onlyDate:"d MMM"},connector:" , ",mNoDay:"MMM y",sNoDay:"M/yy"},en:{date:{"short":"M/d/yy",medium:"MMM d, y",onlyDate:"MMM d",mNoDay:"MMM, y",sNoDay:"M/yy"}},es:{date:{"short":"d/M/yy",medium:"d MMM y",onlyDate:"d MMM",mNoDay:"MMM y",sNoDay:"M/yy"}},et:{date:{"short":"d.MM.y",medium:"d. MMM y",onlyDate:"d. MMM",mNoDay:"MMM y",sNoDay:"MM.y"},time:{"short":"H:mm",medium:"H:mm:ss"}},fi:{date:{"short":"d.M.y",medium:"d.M.y",
onlyDate:"d.M.",mNoDay:"M.y",sNoDay:"M.y"},connector:" 'klo' "},fr:{date:{"short":"dd/MM/y",medium:"d MMM y",onlyDate:"d MMM",mNoDay:"MMM y",sNoDay:"MM/y"},connector:" '\u00e0' "},he:{date:{"short":"dd/MM/yy",medium:"d '\u05d1'MMM y",onlyDate:"d '\u05d1'MMM",mNoDay:"'\u05d1'MMM y",sNoDay:"MM/yy"},connector:" , "},hr:{date:{"short":"d.M.y",medium:"d. MMM y.",onlyDate:"d. MMM",mNoDay:"MMM y.",sNoDay:"M.y"}},id:{"short":"dd/MM/yy",date:{medium:"d MMM y",onlyDate:"d MMM",mNoDay:"MMM y",sNoDay:"MM/yy"}},
it:{date:{medium:"dd MMM y","long":"d MMMM y",onlyDate:"dd MMM",mNoDay:"MMM y",sNoDay:"MM/yy"},connector:" , "},ja:{date:{medium:"y/MM/dd",onlyDate:"MM/dd",mNoDay:"y/MM",sNoDay:"y/MM"},time:{"short":"a h:mm",medium:"a h:mm:ss"}},ko:{date:{medium:"y. M. d.",onlyDate:"M. d.",mNoDay:"y. M.",sNoDay:"yy. M."}},lt:{date:{medium:"y-MM-dd","long":"y 'm'. MMMM d 'd'.",onlyDate:"MM-dd",mNoDay:"y-MM",sNoDay:"y-MM"},time:{medium:"HH:mm:ss"}},lv:{date:{"short":"dd.MM.y",medium:"y. 'gada' d. MMM.","long":"y. 'gada' d. MMMM",
onlyDate:"d. MMM.",mNoDay:"y. 'gada' MMM.",sNoDay:"MM.y"}},nb:{date:{"short":"dd.MM.y",medium:"d. MMM y","long":"d. MMMM y",onlyDate:"d. MMM",mNoDay:"MMM y",sNoDay:"MM.y"},time:{"short":"HH:mm",medium:"HH:mm:ss"},connector:" , "},nl:{date:{medium:"d MMM y",onlyDate:"d MMM",mNoDay:"MMM y",sNoDay:"MM-yy"}},pl:{date:{medium:"d MMM y",onlyDate:"d MMM",mNoDay:"MMM y",sNoDay:"MM.y"},connector:" , "},"pt-br":{date:{"short":"dd/MM/y",medium:"d 'de' MMM 'de' y",onlyDate:"d 'de' MMM",mNoDay:"MMM 'de' y",sNoDay:"MM/y"}},
"pt-pt":{date:{medium:"dd/MM/y",onlyDate:"dd/MM",mNoDay:"MM/y",sNoDay:"MM/yy"}},ro:{date:{medium:"d MMM y",onlyDate:"d MMM",mNoDay:"MMM y",sNoDay:"MM.y"},connector:" , "},ru:{date:{"short":"dd.MM.y",medium:"d MMM y '\u0433.'",onlyDate:"d MMM",mNoDay:"MMM y '\u0433.'",sNoDay:"MM.y"},connector:" , "},sr:{date:{medium:"dd.MM.y.",onlyDate:"dd.MM.",mNoDay:"MM.y.",sNoDay:"M.yy."},time:{"short":"HH:mm",medium:"HH:mm:ss"}},sv:{date:{medium:"d MMM. y",onlyDate:"d MMM.",mNoDay:"MMM. y",sNoDay:"y-MM"}},th:{date:{medium:"d MMM y",
onlyDate:"d MMM",mNoDay:"MMM y",sNoDay:"M/yy"}},tr:{date:{medium:"d MMM y",onlyDate:"d MMM",mNoDay:"MMM y",sNoDay:"MM.y"}},vi:{date:{"short":"dd/MM/y",medium:"d MMM, y","long":"'Ng\u00e0y' dd 'th\u00e1ng' MM 'n\u0103m' y",onlyDate:"d MMM",mNoDay:"MMM, y",sNoDay:"MM/y"},time:{"short":"hh:mm a",medium:"hh:mm:ss a"},connector:" , "},"zh-cn":{date:{"short":"y/M/d",medium:"y'\u5e74'M'\u6708'd'\u65e5'",onlyDate:"M'\u6708'd'\u65e5'",mNoDay:"y'\u5e74'M'\u6708'",sNoDay:"y/M"}},"zh-hk":{date:{medium:"y'\u5e74'M'\u6708'd'\u65e5'",
onlyDate:"M'\u6708'd'\u65e5'",mNoDay:"y'\u5e74'M'\u6708'",sNoDay:"M/y"}},"zh-tw":{date:{medium:"y'\u5e74'M'\u6708'd'\u65e5'",onlyDate:"M'\u6708'd'\u65e5'",mNoDay:"y'\u5e74'M'\u6708'",sNoDay:"y/M"}}}})},"libs/moment/twix":function(){(function(){var B=[].slice;var r="undefined"!==typeof module&&null!==module&&null!=module.exports&&"function"===typeof require;var w=function(k){return"[object Array]"===Object.prototype.toString.call(k)};var q=function(k){if(null==k)throw Error("Can't find moment");var l=
function(){function h(c,a,e,f){var b;null==f&&(f={});"string"!==typeof e&&(f=null!=e?e:{},e=null);"boolean"===typeof f&&(f={allDay:f});this._oStart=k(c,e,f.parseStrict);this._oEnd=k(a,e,f.parseStrict);this.allDay=null!=(b=f.allDay)?b:!1;this._mutated()}h._extend=function(){var c,a;var e=arguments[0];var f=2<=arguments.length?B.call(arguments,1):[];var b=0;for(a=f.length;b<a;b++){var d=f[b];for(c in d)"undefined"!==typeof d[c]&&(e[c]=d[c])}return e};h.prototype.start=function(){return this._start.clone()};
h.prototype.end=function(){return this._end.clone()};h.prototype.isSame=function(c){return this._start.isSame(this._end,c)};h.prototype.length=function(c,a){null==a&&(a=!1);return this._displayEnd.diff(this._start,c,a)};h.prototype.count=function(c){var a=this.start().startOf(c);return this.end().startOf(c).diff(a,c)+1};h.prototype.countInner=function(c){var a=this._inner(c);var e=a[0];a=a[1];return e>=a?0:a.diff(e,c)};h.prototype.iterate=function(c,a,e){var f=this._prepIterateInputs(c,a,e);c=f[0];
a=f[1];e=f[2];var b=this.start().startOf(a);var d=this.end().startOf(a);this.allDay&&(d=d.add(1,"d"));f=function(g){return function(){return!g.allDay&&b<=d&&(!e||!b.isSame(d)||g._end.hours()>e)||g.allDay&&b<d}}(this);return this._iterateHelper(a,b,f,c)};h.prototype.iterateInner=function(c,a){a=this._prepIterateInputs(c,a);c=a[0];a=a[1];var e=this._inner(a,c);var f=e[0];var b=e[1];return this._iterateHelper(a,f,function(){return f<b},c)};h.prototype.humanizeLength=function(){return this.allDay?this.isSame("d")?
"all day":this._start.from(this.end().add(1,"d"),!0):this._start.from(this._end,!0)};h.prototype.asDuration=function(c){c=this._end.diff(this._start);return k.duration(c)};h.prototype.isPast=function(){return this._lastMilli<k()};h.prototype.isFuture=function(){return this._start>k()};h.prototype.isCurrent=function(){return!this.isPast()&&!this.isFuture()};h.prototype.contains=function(c){k.isMoment(c)||(c=k(c));return this._start<=c&&this._lastMilli>=c};h.prototype.isEmpty=function(){return this._start.isSame(this._displayEnd)};
h.prototype.overlaps=function(c){return this._displayEnd.isAfter(c._start)&&this._start.isBefore(c._displayEnd)};h.prototype.engulfs=function(c){return this._start<=c._start&&this._displayEnd>=c._displayEnd};h.prototype.union=function(c){var a=this.allDay&&c.allDay;return new h(this._start<c._start?this._start:c._start,this._lastMilli>c._lastMilli?a?this._end:this._displayEnd:a?c._end:c._displayEnd,a)};h.prototype.intersection=function(c){var a=this.allDay&&c.allDay;return new h(this._start>c._start?
this._start:c._start,this._lastMilli<c._lastMilli?a?this._end:this._displayEnd:a?c._end:c._displayEnd,a)};h.prototype.xor=function(){var c,a,e;var f=1<=arguments.length?B.call(arguments,0):[];var b=0;var d=null;var g=[];var n=function(){var z;var C=[];var v=0;for(z=f.length;v<z;v++)e=f[v],e.allDay&&C.push(e);return C}().length===f.length;var m=[];var p=[this].concat(f);var u=a=0;for(c=p.length;a<c;u=++a){var A=p[u];m.push({time:A._start,i:u,type:0});m.push({time:A._displayEnd,i:u,type:1})}m=m.sort(function(z,
C){return z.time-C.time});u=0;for(A=m.length;u<A;u++)a=m[u],1===a.type&&--b,b===a.type&&(d=a.time),b===(a.type+1)%2&&(d&&((c=g[g.length-1])&&c._end.isSame(d)?(c._oEnd=a.time,c._mutated()):(c=n?a.time.clone().subtract(1,"d"):a.time,d=new h(d,c,n),d.isEmpty()||g.push(d))),d=null),0===a.type&&(b+=1);return g};h.prototype.difference=function(){var c;var a=1<=arguments.length?B.call(arguments,0):[];var e=this.xor.apply(this,a).map(function(d){return function(g){return d.intersection(g)}}(this));var f=
[];a=0;for(c=e.length;a<c;a++){var b=e[a];!b.isEmpty()&&b.isValid()&&f.push(b)}return f};h.prototype.split=function(){var c,a,e,f,b;var d=1<=arguments.length?B.call(arguments,0):[];var g=e=this.start();k.isDuration(d[0])?c=d[0]:!k.isMoment(d[0])&&!w(d[0])&&"object"===typeof d[0]||"number"===typeof d[0]&&"string"===typeof d[1]?c=k.duration(d[0],d[1]):b=w(d[0])?d[0]:d;b&&(b=function(){var p;var u=[];var A=0;for(p=b.length;A<p;A++)f=b[A],u.push(k(f));return u}(),b=function(){var p;var u=[];var A=0;for(p=
b.length;A<p;A++)a=b[A],a.isValid()&&a>=e&&u.push(a);return u}().sort(function(p,u){return p.valueOf()-u.valueOf()}));if(c&&0===c.asMilliseconds()||b&&0===b.length)return[this];var n=[];var m=0;for(d=this._displayEnd;e<d&&(null==b||b[m]);)g=c?e.clone().add(c):b[m].clone(),g=k.min(d,g),e.isSame(g)||n.push(k.twix(e,g)),e=g,m+=1;!g.isSame(this._displayEnd)&&b&&n.push(k.twix(g,this._displayEnd));return n};h.prototype.divide=function(c){return this.split(this.length()/c,"ms").slice(0,+(c-1)+1||9E9)};h.prototype.isValid=
function(){return this._start.isValid()&&this._end.isValid()&&this._start<=this._displayEnd};h.prototype.equals=function(c){return c instanceof h&&this.allDay===c.allDay&&this._start.valueOf()===c._start.valueOf()&&this._end.valueOf()===c._end.valueOf()};h.prototype.toString=function(){return"{start: "+this._start.format()+", end: "+this._end.format()+", allDay: "+(this.allDay?"true":"false")+"}"};h.prototype.toArray=function(c,a,e){c=this.iterate(c,a,e);for(a=[];c.hasNext();)a.push(c.next());return a};
h.prototype.simpleFormat=function(c,a){var e={allDay:"(all day)",template:h.formatTemplate};h._extend(e,a||{});c=e.template(this._start.format(c),this._end.format(c));this.allDay&&e.allDay&&(c+=" "+e.allDay);return c};h.prototype.format=function(c){var a;if(this.isEmpty())return"";var e={groupMeridiems:!0,spaceBeforeMeridiem:!0,showDayOfWeek:!1,hideTime:!1,hideYear:!1,implicitMinutes:!0,implicitDate:!1,implicitYear:!0,yearFormat:"YYYY",monthFormat:"MMM",weekdayFormat:"ddd",dayFormat:"D",meridiemFormat:"A",
hourFormat:this._start.localeData()._longDateFormat.LT[0],minuteFormat:"mm",allDay:"all day",explicitAllDay:!1,lastNightEndsAt:0,template:h.formatTemplate};h._extend(e,c||{});c=[];var f=e.hourFormat&&"h"===e.hourFormat[0];var b=this._start.localeData()._longDateFormat.L;var d=b.indexOf("M")<b.indexOf("D");var g=0<e.lastNightEndsAt&&!this.allDay&&this.end().startOf("d").valueOf()===this.start().add(1,"d").startOf("d").valueOf()&&12<this._start.hours()&&this._end.hours()<e.lastNightEndsAt;var n=!e.hideDate&&
(!e.implicitDate||this.start().startOf("d").valueOf()!==k().startOf("d").valueOf()||!(this.isSame("d")||g));b=!(this.allDay||e.hideTime);this.allDay&&this.isSame("d")&&(e.implicitDate||e.explicitAllDay)&&c.push({name:"all day simple",fn:function(){return e.allDay},pre:" ",slot:0});!n||e.hideYear||e.implicitYear&&this._start.year()===k().year()&&this.isSame("y")||c.push({name:"year",fn:function(E){return E.format(e.yearFormat)},pre:d?", ":" ",slot:4});b&&n&&c.push({name:"month-date",fn:function(E){return E.format(d?
e.monthFormat+" "+e.dayFormat:e.dayFormat+" "+e.monthFormat)},ignoreEnd:function(){return g},pre:" ",slot:2});!b&&n&&c.push({name:"month",fn:function(E){return E.format(e.monthFormat)},pre:" ",slot:d?2:3});!b&&n&&c.push({name:"date",fn:function(E){return E.format(e.dayFormat)},pre:" ",slot:d?3:2});n&&e.showDayOfWeek&&c.push({name:"day of week",fn:function(E){return E.format(e.weekdayFormat)},pre:" ",slot:1});e.groupMeridiems&&f&&!this.allDay&&!e.hideTime&&c.push({name:"meridiem",fn:function(E){return E.format(e.meridiemFormat)},
slot:6,pre:e.spaceBeforeMeridiem?" ":""});this.allDay||e.hideTime||c.push({name:"time",fn:function(E){var L=0===E.minutes()&&e.implicitMinutes&&f?E.format(e.hourFormat):E.format(e.hourFormat+":"+e.minuteFormat);!e.groupMeridiems&&f&&(e.spaceBeforeMeridiem&&(L+=" "),L+=E.format(e.meridiemFormat));return L},slot:5,pre:", "});var m=[];var p=[];var u=[];var A=!0;var z=function(E){return function(L){var Q=L.fn(E._start);var G=L.ignoreEnd&&L.ignoreEnd()?Q:L.fn(E._end);var x={format:L,value:function(){return Q}};
if(G===Q&&A)return u.push(x);A&&(A=!1,u.push({format:{slot:L.slot,pre:""},value:function(){return e.template(v(m),v(p,!0).trim())}}));m.push(x);return p.push({format:L,value:function(){return G}})}}(this);n=0;for(a=c.length;n<a;n++)b=c[n],z(b);var C=!0;var v=function(E,L){var Q;var G=!0;var x="";var D=E.sort(function(N,V){return N.format.slot-V.format.slot});E=0;for(Q=D.length;E<Q;E++){var K=D[E];C||(x=G&&L?x+" ":x+K.format.pre);x+=K.value();G=C=!1}return x};return v(u)};h.prototype._iterateHelper=
function(c,a,e,f){return{next:function(){if(e()){var b=a.clone();a.add(f,c);return b}return null},hasNext:e}};h.prototype._prepIterateInputs=function(){var c,a,e;var f=1<=arguments.length?B.call(arguments,0):[];if("number"===typeof f[0])return f;if("string"===typeof f[0]){var b=f.shift();var d=null!=(a=f.pop())?a:1;f.length&&(c=null!=(e=f[0])?e:!1)}k.isDuration(f[0])&&(b="ms",d=f[0].as(b));return[d,b,c]};h.prototype._inner=function(c,a){null==c&&(c="ms");null==a&&(a=1);var e=this.start();var f=this._displayEnd.clone();
e>e.clone().startOf(c)&&e.startOf(c).add(a,c);f<f.clone().endOf(c)&&f.startOf(c);var b=e.twix(f).asDuration(c).get(c);f.subtract(b%a,c);return[e,f]};h.prototype._mutated=function(){this._start=this.allDay?this._oStart.clone().startOf("d"):this._oStart;this._lastMilli=this.allDay?this._oEnd.clone().endOf("d"):this._oEnd;this._end=this.allDay?this._oEnd.clone().startOf("d"):this._oEnd;return this._displayEnd=this.allDay?this._end.clone().add(1,"d"):this._end};return h}();l._extend(k.locale(),{_twix:l.defaults});
l.formatTemplate=function(h,c){return h+" - "+c};k.twix=function(){return function(h,c,a){a.prototype=h.prototype;a=new a;h=h.apply(a,c);return Object(h)===h?h:a}(l,arguments,function(){})};k.fn.twix=function(){return function(h,c,a){a.prototype=h.prototype;a=new a;h=h.apply(a,c);return Object(h)===h?h:a}(l,[this].concat(B.call(arguments)),function(){})};k.fn.forDuration=function(h,c){return new l(this,this.clone().add(h),c)};k.duration.fn&&(k.duration.fn.afterMoment=function(h,c){return new l(h,
k(h).clone().add(this),c)},k.duration.fn.beforeMoment=function(h,c){return new l(k(h).clone().subtract(this),h,c)});return k.twixClass=l};if(r)return module.exports=q(require("moment/moment"));this.moment?this.Twix=q(this.moment):"undefined"!==typeof moment&&null!==moment&&(this.Twix=q(moment));this.makeTwix=q}).call(this)},"jimu/dijit/Chart":function(){define("dojo/_base/declare dijit/_WidgetBase dojo/_base/lang dojo/_base/html dojo/Evented libs/echarts/echarts jimu/utils ./_chartUtils ./_Gauge ./_ChartOptionFactory libs/echarts/light libs/echarts/dark".split(" "),
function(B,r,w,q,k,l,h,c,a,e){return B([r,k],{baseClass:"jimu-dijit-chart",templateString:"\x3cdiv\x3e\x3c/div\x3e",declaredClass:"jimu.dijit.chart",config:null,postCreate:function(){this.inherited(arguments);this._initChart()},updateConfig:function(f){if(!f||!this.chart)return!1;var b=this.chart.getOption(),d=this._isSameNumberSeriesItems(b,f);b=!this.preview&&d?this.getDatazoomRatio(b):null;this.config=f;this._specialThemeByConfig(f);d=this._chartFactory(f);this.chart.setOption(d,!0);this._settingByGrid(f,
d,b);return!0},_settingByGrid:function(f,b,d){if("gauge"===f.type)return this._resetGaugePosition(f);var g=this.chartUtils.getAxisZeroPosition();f.layout=this.chartUtils.calcDefaultLayout(f);this.chartUtils.isAxisChart(f)&&(b=this.chartUtils.settingGrid(b,f),b=this.chartUtils.settingDataZoom(b,f,g,d));b=this.chartUtils.settingChartLayout(b,f);this.chart.setOption(b,!1)},_resetGaugePosition:function(f){this._resetGaugeGrid(f);this._resetGaugeGraphic(f)},setConfig:function(f){if(!f)return!1;this.config=
f;this._specialThemeByConfig(this.config);this.clear();var b=this._chartFactory(this.config);this.chart.setOption(b,!0);this._setAixsGrid(f,b);this._resetGaugePosition(f,b);return!0},destroy:function(){this._offEvents();this.clear();this.inherited(arguments)},_chartFactory:function(f){return this.option=this.chartOptionFactory.produceOption(f)},bindEvents:function(f){this.chart&&f.events&&f.events.length&&(this._offEvents(),f.events.forEach(w.hitch(this,function(b){this.chart.on(b.name,b.callback)})))},
_offEvents:function(){this.config.events&&this.config.events[0]&&this.config.events.forEach(w.hitch(this,function(f){this.chart.off(f.name)}))},getDataURL:function(){if(this.chart)return this.chart.getDataURL()},clear:function(){this.chart&&this.chart.clear()},resize:function(f,b){this.chart&&(q.setStyle(this.domNode,{width:f||"100%",height:b||"100%"}),this.chart.resize(),this._resetGaugePosition(this.config))},getDatazoomRatio:function(f){return(f=f&&f.dataZoom&&f.dataZoom[0])?[f.start,f.end]:null},
_isSameNumberSeriesItems:function(f,b){return(f&&f.series&&f.series[0]&&f.series[0].data&&f.series[0].data.length)===(b&&b.series&&b.series[0]&&b.series[0].data&&b.series[0].data.length)},_resizeDataZoom:function(){var f=this.option,b=this.config;if(f&&b){var d=this.chartUtils.getAxisZeroPosition();f=this.chartUtils.settingDataZoom(f,b,d);this.chart.setOption(f)}},_setAixsGrid:function(f,b){this.chartUtils.isAxisChart(f)&&(b=this.chartUtils.settingGrid(b,f),this.chart.setOption(b,!1))},_resetGaugeGraphic:function(f){"gauge"===
f.type&&this.gauge.resetGraphic(f)},_resetGaugeGrid:function(f){"gauge"===f.type&&this.gauge.resetGrid(f)},_specialChartTheme:function(){this.chart&&(this.chart._theme.tooltip.axisPointer={type:"cross",label:{show:!0,precision:2,formatter:function(f){return"number"===typeof f.value?(f=parseFloat(f.value).toFixed(2),this.chartUtils.tryLocaleNumber(f)):f.value}.bind(this)},lineStyle:{color:"#27727B",type:"dashed"},crossStyle:{color:"#27727B"},shadowStyle:{color:"rgba(200,200,200,0.3)"}},this.chart._theme.valueAxis||
(this.chart._theme.valueAxis={}),this.chart._theme.valueAxis.axisLabel||(this.chart._theme.valueAxis.axisLabel={}),this.chart._theme.valueAxis.axisLabel.formatter=function(f){return h.localizeNumber(f)})},_specialThemeByConfig:function(f){this._initChartTheme();f.color&&f.color[0]&&(this.chart._theme.color=f.color);this.chart._theme.tooltip.confine=!0;var b="percent"===f.stack;this.chart._theme.tooltip.formatter=function(d){return this.chartUtils.handleToolTip(d,null,!1,b)}.bind(this)},_initChartTheme:function(){this.chart&&
(this.chart._theme||(this.chart._theme={}),this.chart._theme.tooltip||(this.chart._theme.tooltip={}),this.chart._theme.valueAxis||(this.chart._theme.valueAxis={}),this.chart._theme.valueAxis.axisLabel||(this.chart._theme.valueAxis.axisLabel={}))},_initChart:function(){this.chart=l.init(this.domNode,this.config&&this.config.theme||"light");this.chartUtils=new c({chart:this.chart});this.gauge=new a({chart:this.chart,chartUtils:this.chartUtils});this.chartOptionFactory=new e({chart:this.chart,gauge:this.gauge,
chartUtils:this.chartUtils});this._specialChartTheme(this.config)}})})},"jimu/dijit/_chartUtils":function(){define("dojo/_base/declare jimu/utils esri/lang dojo/_base/lang libs/echarts/echarts dojo/i18n!dojo/cldr/nls/number".split(" "),function(B,r,w,q,k,l){var h={curved:{name:"",type:"gauge",center:["50%","60%"],startAngle:200,endAngle:-20,axisLine:{lineStyle:{color:[[.31,"#5CB4CA"],[1,"#E5E5E5"]],shadowColor:"rgba(0, 0, 0, 0.5)",shadowBlur:0}},axisTick:{show:!1},splitLine:{show:!1},axisLabel:{distance:-52,
textStyle:{color:"#000"}},pointer:{length:"65%",width:5},itemStyle:{opacity:.7},detail:{show:!0,offsetCenter:[0,"68%"],textStyle:{color:"#24B5CC"}},title:{show:!1},data:[{value:0}],animationEasingUpdate:"bounceOut",animationDurationUpdate:500},vertical:{yAxis:{show:!0,offset:-10,type:"value",interval:1,scale:!1,axisTick:{show:!1},axisLine:{show:!1},axisLabel:{show:!1,showMinLabel:!0,showMaxLabel:!0,textStyle:{color:"#949494",fontStyle:"normal",fontWeight:"normal"}},splitLine:{show:!1}},xAxis:{show:!1,
type:"category",data:[]},series:[{name:"",type:"bar",barWidth:30,silent:!0,animation:!1,itemStyle:{color:"#E5E5E5"},barGap:"-100%",data:[100],z:1},{name:"",type:"bar",barWidth:30,label:{show:!0,position:"insideTopLeft",offset:[30,-15],textStyle:{}},data:[{value:40,label:{textStyle:{color:"#24B5CC",fontStyle:"normal",fontWeight:"normal",fontFamily:"Avenir Next",fontSize:12}},itemStyle:{}}],itemStyle:{color:"#24B5CC"},z:10}]},horizontal:{xAxis:{show:!0,offset:-27,type:"value",scale:!1,interval:1,axisTick:{show:!1},
axisLine:{show:!1},axisLabel:{show:!1,showMinLabel:!0,showMaxLabel:!0,textStyle:{color:"#949494",fontStyle:"normal",fontWeight:"normal",fontFamily:"Avenir Next",fontSize:12}},splitLine:{show:!1}},yAxis:{show:!1,type:"category",data:[]},series:[{name:"",type:"bar",barWidth:30,silent:!0,animation:!1,itemStyle:{color:"#E5E5E5"},barGap:"-100%",data:[100],z:1},{name:"",type:"bar",barWidth:30,label:{show:!0,position:"top",offset:[20,0],textStyle:{}},data:[{value:40,label:{textStyle:{color:"#24B5CC",fontStyle:"normal",
fontWeight:"normal",fontFamily:"Avenir Next",fontSize:12}},itemStyle:{}}],itemStyle:{color:"#24B5CC"},z:10}]}};return B([],{constructor:function(c){this.chart=c&&c.chart;this.horIconUrl="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxzdmcgd2lkdGg9IjdweCIgaGVpZ2h0PSI1cHgiIHZpZXdCb3g9IjAgMCA3IDUiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+DQogICAgPCEtLSBHZW5lcmF0b3I6IFNrZXRjaCA0NC4xICg0MTQ1NSkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+DQogICAgPHRpdGxlPlRyaWFuZ2xlPC90aXRsZT4NCiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4NCiAgICA8ZGVmcz48L2RlZnM+DQogICAgPGcgaWQ9IkxheW91dC0yTmV3IiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4NCiAgICAgICAgPGcgaWQ9IkNhcmRXaWRnZXRfTGF5b3V0NCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTg3NS4wMDAwMDAsIC0yOTcuMDAwMDAwKSIgZmlsbD0iIzkzOTM5MyI+DQogICAgICAgICAgICA8ZyBpZD0iQ2FyZDJfSG9yaXpvbnRhbEdhdWdlIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg3OTIuMDAwMDAwLCAxODEuMDAwMDAwKSI+DQogICAgICAgICAgICAgICAgPGcgaWQ9Ikhvcml6b250YWxHYXVnZSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMC4wMDAwMDAsIDY2LjAwMDAwMCkiPg0KICAgICAgICAgICAgICAgICAgICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxMjguNTAwMDAwLCA0Mi41MDAwMDApIHJvdGF0ZSgtMjcwLjAwMDAwMCkgdHJhbnNsYXRlKC0xMjguNTAwMDAwLCAtNDIuNTAwMDAwKSB0cmFuc2xhdGUoODYuMDAwMDAwLCAtODYuMDAwMDAwKSIgaWQ9Ik51bWJlcnMrVHJpYW5nbGVzIj4NCiAgICAgICAgICAgICAgICAgICAgICAgIDxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDUwLjAwMDAwMCwgMC4wMDAwMDApIj4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8cG9seWdvbiBpZD0iVHJpYW5nbGUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIuNTAwMDAwLCAxNzAuNTQzODAzKSByb3RhdGUoLTE4MC4wMDAwMDApIHRyYW5zbGF0ZSgtMi41MDAwMDAsIC0xNzAuNTQzODAzKSAiIHBvaW50cz0iNSAxNzAuNTQzODAzIC0xLjcwNTMwMjU3ZS0xMyAxNzQuMDQzODAzIC0xLjY5NjQyMDc4ZS0xMyAxNjcuMDQzODAzIj48L3BvbHlnb24+DQogICAgICAgICAgICAgICAgICAgICAgICA8L2c+DQogICAgICAgICAgICAgICAgICAgIDwvZz4NCiAgICAgICAgICAgICAgICA8L2c+DQogICAgICAgICAgICA8L2c+DQogICAgICAgIDwvZz4NCiAgICA8L2c+DQo8L3N2Zz4\x3d";
this.verIconUrl="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxzdmcgd2lkdGg9IjVweCIgaGVpZ2h0PSI4cHgiIHZpZXdCb3g9IjAgMCA1IDgiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+DQogICAgPCEtLSBHZW5lcmF0b3I6IFNrZXRjaCA0NC4xICg0MTQ1NSkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+DQogICAgPHRpdGxlPlRyaWFuZ2xlPC90aXRsZT4NCiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4NCiAgICA8ZGVmcz48L2RlZnM+DQogICAgPGcgaWQ9IkxheW91dC0yTmV3IiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4NCiAgICAgICAgPGcgaWQ9IkNhcmRXaWRnZXRfTGF5b3V0NCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTg3Ni4wMDAwMDAsIC0zMjQuMDAwMDAwKSIgZmlsbD0iIzkzOTM5MyI+DQogICAgICAgICAgICA8ZyBpZD0iQ2FyZDJfSG9yaXpvbnRhbEdhdWdlIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg3OTIuMDAwMDAwLCAxODEuMDAwMDAwKSI+DQogICAgICAgICAgICAgICAgPGcgaWQ9Ikhvcml6b250YWxHYXVnZSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMC4wMDAwMDAsIDY2LjAwMDAwMCkiPg0KICAgICAgICAgICAgICAgICAgICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxMjguNTAwMDAwLCA0Mi41MDAwMDApIHJvdGF0ZSgtMjcwLjAwMDAwMCkgdHJhbnNsYXRlKC0xMjguNTAwMDAwLCAtNDIuNTAwMDAwKSB0cmFuc2xhdGUoODYuMDAwMDAwLCAtODYuMDAwMDAwKSIgaWQ9Ik51bWJlcnMrVHJpYW5nbGVzIj4NCiAgICAgICAgICAgICAgICAgICAgICAgIDxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDUwLjAwMDAwMCwgMC4wMDAwMDApIj4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8cG9seWdvbiBpZD0iVHJpYW5nbGUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDMwLjYyODk1MiwgMTcwLjQ1ODY1NCkgcm90YXRlKC05MC4wMDAwMDApIHRyYW5zbGF0ZSgtMzAuNjI4OTUyLCAtMTcwLjQ1ODY1NCkgIiBwb2ludHM9IjMzLjEyODk1MjMgMTcwLjQ1ODY1NCAyOC4xMjg5NTIzIDE3My45NTg2NTQgMjguMTI4OTUyMyAxNjYuOTU4NjU0Ij48L3BvbHlnb24+DQogICAgICAgICAgICAgICAgICAgICAgICA8L2c+DQogICAgICAgICAgICAgICAgICAgIDwvZz4NCiAgICAgICAgICAgICAgICA8L2c+DQogICAgICAgICAgICA8L2c+DQogICAgICAgIDwvZz4NCiAgICA8L2c+DQo8L3N2Zz4\x3d";
this.verIconUrlRTL="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxzdmcgd2lkdGg9IjVweCIgaGVpZ2h0PSI3cHgiIHZpZXdCb3g9IjAgMCA1IDciIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+DQogICAgPCEtLSBHZW5lcmF0b3I6IFNrZXRjaCA0NC4xICg0MTQ1NSkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+DQogICAgPHRpdGxlPlRyaWFuZ2xlPC90aXRsZT4NCiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4NCiAgICA8ZGVmcz48L2RlZnM+DQogICAgPGcgaWQ9IkxheW91dC0yTmV3IiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4NCiAgICAgICAgPGcgaWQ9IkFydGJvYXJkIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTIxLjAwMDAwMCwgLTQ0Ny4wMDAwMDApIiBmaWxsPSIjOTM5MzkzIj4NCiAgICAgICAgICAgIDxwb2x5Z29uIGlkPSJUcmlhbmdsZSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTIzLjUwMDAwMCwgNDUwLjUwMDAwMCkgcm90YXRlKC0xODAuMDAwMDAwKSB0cmFuc2xhdGUoLTEyMy41MDAwMDAsIC00NTAuNTAwMDAwKSAiIHBvaW50cz0iMTI2IDQ1MC41IDEyMSA0NTQgMTIxIDQ0NyI+PC9wb2x5Z29uPg0KICAgICAgICA8L2c+DQogICAgPC9nPg0KPC9zdmc+";
c=q.clone(h);this.curved=c.curved;this.vertical=c.vertical;this.horizontal=c.horizontal;this.unitDistance=23;this.defultGrid={top:10,bottom:10,left:10,right:10,containLabel:!0}},getAxisZeroPosition:function(){if(!this.chart)return!1;try{var c=this.chart.convertToPixel({xAxisIndex:0,yAxisIndex:0},[0,0])}catch(b){}if(!c)return{};var a=c[0];c=c[1];var e=this.chart.getHeight(),f=this.chart.getWidth();return{left:a,right:f-a,top:c,bottom:e-c}},getTextWidth:function(c,a){if(!c&&0!==c)return 0;var e=(this.getTextWidth.canvas||
(this.getTextWidth.canvas=document.createElement("canvas"))).getContext("2d");e.font=a;return e.measureText(c).width},getHeightByFontSize:function(c){c=Math.round(c);if("number"!==typeof c||6>c||40<c)return 0;var a=0;c-=6;switch(!0){case 7>=c:a=1*c;break;case 8<=c&&11>=c:a=c-1+2;break;case 12<=c&&15>=c:a=c-2+4;break;case 16<=c&&19>=c:a=c-3+6;break;case 20<=c&&21>=c:a=c-4+8;break;case 22<=c&&23>=c:a=c-5+8;break;case 24<=c&&27>=c:a=c-6+10;break;case 28<=c&&31>=c:a=c-7+12;break;case 32<=c&&34>=c:a=c-
8+14}return 8+a},tryLocaleNumber:function(c){var a=c;if(w.isDefined(c)&&isFinite(c))try{var e=r.localizeNumber(c);"string"===typeof e&&(a=e)}catch(f){console.error(f)}return a+""},isStrictNaN:function(c){return"number"===typeof c&&isNaN(c)},isNumberString:function(c){if(!c)return!1;c=Number(c);return"number"!==typeof c||isNaN(c)?!1:!0},isLocaleNumberString:function(c){if(!c)return!1;if(this.isNumberString(c))return!0;c=c.replace(new RegExp("\\"+l.group,"g"),"");return this.isNumberString(c)?!0:!1},
localizeNumberForDigitSeparator:function(c,a){if(!this.isLocaleNumberString(c))return c;var e=new RegExp("\\"+l.group,"g");return c.toString().match(e)?a?c:c.toString().replace(e,""):this._localizeNumberForDigitSeparator(c,a)},_localizeNumberForDigitSeparator:function(c,a){c=r.localizeNumber(c);return!1===a?c.toString().replace(new RegExp("\\"+l.group,"g"),""):c},isAxisChart:function(c){return"column"===c.type||"bar"===c.type||"line"===c.type},isBaseChartType:function(c){return this.isAxisChart(c)||
"pie"===c.type},_getTooltipDisplayValue:function(c,a){"number"===typeof Number(c)&&(c=a?r.convertNumberToPercentage(c):this.tryLocaleNumber(c));return c},generateToolTip:function(c,a,e,f,b){var d="";d=e?'\x3cdiv class\x3d"tooltip-tr reverse"\x3e':'\x3cdiv class\x3d"tooltip-tr"\x3e';e="";c.color&&"auto"!==c.color&&(e='\x3cdiv class\x3d"colorEl marginRight5" style\x3d"background-color:'+r.encodeHTML(c.color)+'"\x3e\x3c/div\x3e');d+=e;e="";"radar"!==c.seriesType&&this._isVaildValue(c.seriesName)?e=c.seriesName:
this._isVaildValue(b)&&(e=b);d=""===e?d+("\x3cdiv\x3e"+e+"\x3c/div\x3e"):d+("\x3cdiv\x3e"+e+"\x3c/div\x3e\x3cdiv\x3e : \x3c/div\x3e");b="null";this._isNotZeroBoolean(a)?b=a:this._isVaildValue(c.value)&&(b=c.value);d+="\x3cdiv\x3e"+this._getTooltipDisplayValue(b,f)+"\x3c/div\x3e";"pie"===c.seriesType&&(c=c.percent,c=this._isVaildValue(c)?c/100:0,d+='\x3cdiv class\x3d"space-left"\x3e('+r.convertNumberToPercentage(c)+")\x3c/div\x3e");return d+"\x3c/div\x3e"},handleToolTip:function(c,a,e,f,b){var d='\x3cdiv class\x3d"tooltip-div"\x3e';
Array.isArray(c)||(c=[c]);this._isVaildValue(c[0].name)&&(d+='\x3cdiv class\x3d"tr"\x3e'+c[0].name+"\x3c/div\x3e");c.forEach(function(g){d="radar"!==g.seriesType?d+this.generateToolTip(g,a,e,f,b):d+this._handleRadarTooltip(g,e,f,b)}.bind(this));return d+="\x3c/div\x3e"},_handleRadarTooltip:function(c,a,e,f){var b="";(c.value||[]).forEach(function(d,g){b+=this.generateToolTip(c,d,a,e,f[g])}.bind(this));return b},_isVaildValue:function(c){return"%00-"===encodeURI(c)?!1:this._isNotZeroBoolean(c)},_isNotZeroBoolean:function(c){return 0===
c?!0:!!c},settingAdvanceOption:function(c,a){a.advanceOption&&("object"===typeof a.advanceOption?q.mixin(c,a.advanceOption):"function"===typeof a.advanceOption&&a.advanceOption(c));return c},settingColor:function(c,a){a.color&&a.color[0]&&(c.color=a.color);return c},settingToolTip:function(c,a){var e=a.type;c.tooltip||(c.tooltip={});e={confine:!0,trigger:"radar"===e||"pie"===e?"item":"axis",axisPointer:"pie"!==e?{type:"line"===e?"cross":"shadow",snap:!0}:{type:""}};a=a.tooltip||e;c.tooltip.confine=
a.confine?a.confine:e.confine;c.tooltip.trigger=a.trigger?a.trigger:e.trigger;c.tooltip.axisPointer=a.axisPointer?a.axisPointer:e.axisPointer;return c},settingDataZoom:function(c,a,e,f){return this.isAxisChart(a)&&a.series&&a.series.length?a.dataZoom&&a.dataZoom.length?c=this._settingDataZoom(a,c,e,f):(c.dataZoom=[],c):c},_settingDataZoom:function(c,a,e,f){if(!this.chart)return a;var b=this.chart.getWidth(),d=c.series[0].data.length,g=c.series.length;d=c.stack?d:d*g;if(!d||!b)return a.dataZoom=[],
a;b="bar"!==c.type?window.isRTL?e.left:b-e.left-a.grid.right:e.top;var n=20>b/d;e=c.dataZoomOption&&c.dataZoomOption.mode||"AUTO";var m=0,p=100;f?(m=Number(f[0]),p=Number(f[1])):"AUTO"===e&&(m=0,p=b/(20*d),p=parseFloat(100*p,10).toFixed(3),p=100<p?100:p,p=0===p?.01:p);f=[];var u="bar"===c.type?"yAxisIndex":"xAxisIndex";f=c.dataZoom.map(q.hitch(this,function(A){A={type:A,show:n};A[u]=[0];A.start=m;A.end=p;A.showDataShadow=!1;A.realtime=!1;return A}));a.dataZoom=f;return a},mockChartDataWhenNoData:function(c){c&&
Array.isArray(c.labels)&&0===c.labels.length&&c.labels.push("");c&&Array.isArray(c.series)&&0<c.series.length&&c.series.forEach(function(a){a&&Array.isArray(a.data)&&0===a.data.length&&a.data.push(0)});return c},settingDefaultGrid:function(c){c.grid=q.clone(this.defultGrid);return c},settingGrid:function(c,a){if(!this.isAxisChart(a))return c;c.grid.containLabel=a.yAxis&&a.yAxis.show;var e=a.layout;if(!e||!e.length)return c;var f=0,b=0,d=0,g=0,n=1;e.forEach(function(A){A=A.layout&&A.layout.position;
if("xAixsName"===name||"yAixsName"===name)n=.7;"t"===A?f+=n:"b"===A?b+=n:"l"===A?d+=n:"r"===A&&(g+=n)}.bind(this));var m=q.clone(this.defultGrid);e=m.top||0;var p=m.bottom||0,u=m.left||0;m=m.right||0;e+=this.unitDistance*f;p+=this.unitDistance*b;u+=this.unitDistance*d;m+=this.unitDistance*g;a.yAxis&&!a.yAxis.show&&(p+=this.unitDistance);c.grid.top=e;c.grid.bottom=p;c.grid.left=u;c.grid.right=m;c=this._settingxAxisNameGap(c,a);return c=this._settingGridForMarkName(c,a)},_settingGridForMarkName:function(c,
a){var e=a.markLine,f=a.markArea,b=[],d=[];e&&e.data&&e.data.length&&e.data.forEach(function(g){this._hasEndPosName(g)&&b.push(g.name+"");this._hasStartPosName(g)&&d.push(g.name+"")}.bind(this));f&&f.data&&f.data.length&&f.data.forEach(function(g){g=g[0];this._hasOutRightAxisName(a.type,g)&&b.push(g.name+"");this._hasOutLeftAxisName(a.type,g)&&d.push(g.name+"")}.bind(this));if(!b.length&&!d.length)return c;if("bar"===a.type)return c.grid.top+=15,c;e=this._getyAxisLabelWidth(a);f=this._getMaxLengthString(b);
f=this.getTextWidth(f,"normal 12px sans-serif");window.isRTL?c.grid.left+=f:c.grid.right+=f;f=this._getMaxLengthString(d);f=this.getTextWidth(f,"normal 12px sans-serif");f-=e;if(0>=f)return c;f+=10;window.isRTL?c.grid.right=f:c.grid.left=f;return c},_getyAxisLabelWidth:function(c){var a=c&&c.yAxis;return a&&a.show?(c=this._getMaxData(c))||0===c?this.getTextWidth(c,"normal "+(a&&a.textStyle&&a.textStyle.fontSize||12)+"px sans-serif"):0:0},_getMaxData:function(c){if((c=c.series)&&c.length)return c=
c.map(function(a){if((a=a.data)&&a.length)return a.map(function(e){if("number"===typeof e)var f=e;else e&&"undefined"!==typeof e.value&&(f=e.value);return f=parseInt(f,10)})}).map(function(a){if(a.length)return Math.max.apply(Math,a)}),c.length&&Math.max.apply(Math,c)},_getMaxLengthString:function(c){return c.sort(function(a,e){a=this.getTextWidth(a);e=this.getTextWidth(e);return e-a}.bind(this))[0]},_hasOutRightAxisName:function(c,a){var e=a.name||0===a.name;a=a.label;var f=window.isRTL?"eft":"ight";
c=a&&a.position&&-1<a.position.indexOf("bar"===c?"op":f);a=a&&a.position&&-1<a.position.indexOf("inside");return e&&c&&!a},_hasOutLeftAxisName:function(c,a){var e=a.name||0===a.name;a=a.label;var f=window.isRTL?"ight":"eft";c=a&&a.position&&-1<a.position.indexOf("bar"===c?"op":f);a=a&&a.position&&-1<a.position.indexOf("inside");return e&&c&&!a},_hasEndPosName:function(c){var a=c.label;a=!a||!a.position||"end"===a.position;return(c.name||0===c.name)&&a},_hasStartPosName:function(c){var a=c.label;a=
!a||!a.position||"start"===a.position;return(c.name||0===c.name)&&a},_settingxAxisNameGap:function(c,a){if(!this.isAxisChart(a)||!c.xAxis)return c;a=this.getHeightByFontSize(a.xAxis&&a.xAxis.textStyle&&a.xAxis.textStyle.fontSize||12);c.xAxis.nameGap=10+a;return c},calcDefaultLayout:function(c){if(this.isBaseChartType(c)){var a=c.legend,e=c.xAxis,f=null;c=c.type;"pie"!==c&&(f="bar"!==c?{name:"dataZoom",layout:{position:"t",inner:!1}}:{name:"dataZoom",layout:{position:window.isRTL?"l":"r",inner:!1}});
c=null;a&&a.show&&(c={name:"legend",layout:{position:"b",inner:!1}});a=null;e&&e.show&&"undefined"!==typeof e.name&&(a={name:"xAxisName",layout:{position:"b",inner:!1}},c&&(a.layout.inner=!0));e=[];c&&e.push(c);f&&e.push(f);a&&e.push(a);return e.length&&e}},settingRenderOption:function(c,a){if("curved"===a.shape)return c.animationThreshold=99999999,c.hoverLayerThreshold=99999,c.progressiveThreshold=99999,c;c.hoverLayerThreshold=500;c.progressiveThreshold=500;c.progressive=100;c.animationThreshold=
500;return c},settingBackgroundColor:function(c,a){a.backgroundColor&&(c.backgroundColor=a.backgroundColor);return c},settingAxisChartAxis:function(c,a){var e=a.xAxis,f=a.yAxis,b={nameLocation:"center"},d={nameLocation:"center"};"column"===a.type||"line"===a.type&&a.labels?(b.data=a.labels,b.type="category",d.type="value"):"bar"===a.type&&a.labels&&(d.data=a.labels,d.type="category",b.type="value");if(e){b.name=e.name;b.show=!!e.show;b.axisLabel||(b.axisLabel={});e.textStyle&&(b.axisLabel=e.textStyle);
e.nameTextStyle&&(b.nameTextStyle=e.nameTextStyle);var g=e.format;g&&("int"===g.type?b.minInterval=1:"float"===g.type&&(b.minInterval=0),"undefined"!==typeof g.digitSeparator&&(b.axisLabel.formatter=function(m){return this.localizeNumberForDigitSeparator(m,g.digitSeparator)}.bind(this)))}if(f){d.show=!!f.show;f.textStyle&&(d.axisLabel=f.textStyle);var n=f.format;n&&("int"===n.type?d.minInterval=1:"float"===n.type&&(d.minInterval=0),"undefined"!==typeof n.digitSeparator&&(d.axisLabel.formatter=function(m){return this.localizeNumberForDigitSeparator(m,
n.digitSeparator)}.bind(this)))}c.xAxis=b;c.yAxis=d;return c},settingRadar:function(c,a){if("radar"!==a.type)return c;c.radar={nameGap:6,radius:"70%"};c.radar.axisLabel={show:!0,formatter:function(){}};a.radarShape&&(c.radar.shape=a.radarShape);a.indicator?(this._handleRadarIndicator(a),c.radar.indicator=a.indicator):console.error("No radar indicator");return c},_handleRadarIndicator:function(c){var a=c.series[0].data,e=[];c.indicator.forEach(function(f,b){if("undefined"!==typeof f.max)return f;e=
a.map(function(g){e.push(g.value[b])});var d=Math.max.apply(Math,e);f.max=d})},settingArea:function(c,a){if("line"!==a.type||!a.area)return c;c.series=c.series.map(function(e){e.areaStyle||(e.areaStyle={});"undefined"===typeof e.areaStyle.opacity&&(e.areaStyle.opacity=.4);e.sthisoth=!0;e.smoothMonotone="x";return e});return c},_mockNegativeValue:function(c){return c&&c[0]&&c[0].data?c.map(function(a){a.data=a.data.map(function(e,f){var b=0===f%2;e&&"undefined"!==typeof e.value?(f=e.value,f=Number(f),
e.value=b?-f:f):(f=Number(e),e=-(b?-f:f));return e});return a}):c},hasNegativeValue:function(c){if((c=c.series)&&c[0]&&c[0].data)return c.some(function(a){return a.data.some(function(e){e=e&&"undefined"!==typeof e.value?e.value:e;e=Number(e);return"number"===typeof e&&0>e})})},allNegativeValue:function(c){return(c=c.series)&&c[0]&&c[0].data?c.every(function(a){return a.data.every(function(e){e=e&&e.value?e.value:e;e=Number(e);return"number"===typeof e&&0>e})}):!1},settingStack:function(c,a){a=this._stackForPercent(a);
if("percent"===a.stack){var e=this.hasNegativeValue(a),f=this.allNegativeValue(a),b=0,d=1;e&&(b=-1,f&&(d=0));"bar"===a.type?(c.xAxis.max=d,c.xAxis.min=b):(c.yAxis.max=d,c.yAxis.min=b)}a.stack&&(c.series=c.series.map(function(g){g.stack="stack";return g}));return c},_stackForPercent:function(c){if("percent"!==c.stack)return c;var a=[];c.series.forEach(function(b){q.clone(b.data).forEach(function(d,g){a[g]||(a[g]=[]);(d=d&&"undefined"!==typeof d.value?d.value:d)||(d=0);a[g].push(d)})});var e=[];a.forEach(function(b,
d){e[d]||(e[d]=0);b.forEach(function(g){e[d]+=Math.abs(g)})});var f=a.map(function(b,d){return b.map(function(g){return 0===e[d]?null:0<=g?Math.abs(g)/e[d]:-Math.abs(g)/e[d]})});c.series=c.series.map(function(b,d){var g=q.clone(b.data);g=g.map(function(n,m){if(!n)return n;"undefined"!==typeof n.value?n.value=f[m][d]:n=f[m][d];return n});b.data=g;return b});return c},settingLegend:function(c,a){var e=a.legend;if(!e)return c.legend={show:!1},c;var f={show:e.show,type:"scroll",itemHeight:11,orient:"horizontal",
pageButtonPosition:"end",pageTextStyle:{color:"#939393"}};e.textStyle&&(f.textStyle=e.textStyle);f.formatter=function(b){b=b||"";return 25<b.length?k.format.truncateText(b,140,null,"\u2026"):b};f.tooltip={show:!0,confine:!1,formatter:function(b){b=b&&b.name||"";if(!(25>=b.length))return b}};c.legend=f;return c=this._handleLegendRTL(c,a)},_handleLegendRTL:function(c,a){if(!a.legend)return c;a={};window.isRTL?(a.x="right",a.pageButtonPosition="start"):(a.x="left",a.pageButtonPosition="end");c.legend=
q.mixin(c.legend,a);return c},settingScale:function(c,a){if(!a.scale)return c;if("bar"===a.type)c.xAxis.scale=!0;else if("line"===a.type||"column"===a.type)c.yAxis.scale=!0;return c},pieChartAvoidLegendLabelOverLap:function(c,a){if("pie"!==a.type)return c;var e=a.dataLabel&&a.dataLabel.show?.75:.85;a.legend&&a.legend.show&&(e-=.12);c.series[0].radius[1]=100*e+"%";return c},settingChartLayout:function(c,a){if(!this.isBaseChartType(a))return c;(a=a.layout)&&a.length&&a.forEach(function(e){this._assigneeLayout(c,
e)}.bind(this));return c},avoidAdjoiningColorSameForPie:function(c,a){if("pie"!==a.type||!c.color||2>=c.color.length)return c;c.series&&c.series[0]&&c.series.forEach(q.hitch(this,function(e){var f=e.data.length;0===(f-1)%c.color.length&&(e=e.data[f-1],e.itemStyle||(e.itemStyle={}),e.itemStyle.color||(e.itemStyle.color=c.color[1]))}));return c},_assigneeLayout:function(c,a){var e=a.name;if("xAxisName"!==e&&"yAxisName"!==e){var f=a.layout;a=this._getOperateObjByProperty(c,e);if(!a)return c;var b=this._getSubPosition(f&&
f.subPosition),d=f&&f.position;f=f&&f.inner;var g={};"l"===d?g.left=f?this.unitDistance+this.defultGrid.left-5:this.defultGrid.left-5:"r"===d?g.right=f?this.unitDistance+this.defultGrid.right-5:this.defultGrid.right-5:"t"===d?g.top=f?this.defultGrid.top+this.unitDistance-5:this.defultGrid.top-5:"b"===d&&(g.bottom=f?this.unitDistance+this.defultGrid.bottom-5:this.defultGrid.bottom-5);q.mixin(a,g);q.mixin(a,b);this._specialLegend(a,e,d);this._specialSliderDataZoom(a,e,d);return c}},_getSubPosition:function(c){if("l"===
c)return{left:this.defultGrid.left-5,right:"auto"};if("r"===c)return{right:this.defultGrid.right-5,left:"auto"};if("t"===c)return{top:this.defultGrid.top-5,bottom:"auto"};if("b"===c)return{bottom:this.defultGrid.bottom-5,top:"auto"}},_specialLegend:function(c,a,e){"legend"===a&&(c.orient="l"===e||"r"===e?"vertical":"horizontal")},_specialSliderDataZoom:function(c,a,e){"dataZoom"===a&&("l"===e||"r"===e?(c.orient="vertical",c.width=15):(c.orient="horizontal",c.height=15))},_getOperateObjByProperty:function(c,
a){if("dataZoom"===a)return this._getSliderDataZoom(c);if("legend"===a)return c.legend},_getSliderDataZoom:function(c){var a=null;(c=c.dataZoom)&&c.length&&c.some(function(e){return"slider"===e.type?(a=e,!0):!1});return a},settingAxisSeries:function(c,a){c=this._setTypeToSeries(c,a);c.series=a.series;return c},settingMarks:function(c,a){c=this.settingMarkLine(c,a);return c=this.settingMarkArea(c,a)},settingMarkLine:function(c,a){(a=a.markLine)&&a.data&&(a.silent=!0,a.data.forEach(function(e){e.label||
(e.label={show:!1,position:"end"});"undefined"!==typeof e.name&&(e.label.show=!0,e.label.formatter=e.name)}),c.series[0].markLine=q.clone(a));return c},settingMarkArea:function(c,a){a.markArea&&(this._handleMarkAreaRTL(a.markArea),a.markArea.silent=!0,c.series[0].markArea=a.markArea);return c},_handleMarkAreaRTL:function(c){window.isRTL&&c&&c.data&&c.data.length&&c.data.forEach(function(a){var e=(a=a&&a[0]&&a[0].label)&&a.position;e&&("left"===e?e="right":"right"===e?e="left":"insideLeft"===e?e="insideRight":
"insideRight"===e&&(e="insideLeft"),a.position=e)})},_settingSeriesDataLabel:function(c,a){a=a.dataLabel;if(!a)return c;var e={};e.show=!!a.show;"undefined"!==typeof a.textStyle&&(e.textStyle=a.textStyle);c.series.forEach(function(f){f.label=e});return c},settingRadarSeries:function(c,a){c=this._setTypeToSeries(c,a);c.series=a.series.map(q.hitch(this,function(e){e.data=this._handleSeriesDataForPieLikeType(e,a);return e=this._settingRaderSerie(e,a)}));return c},_settingRaderSerie:function(c,a){if("radar"!==
c.type)return c;var e=a.indicator.map(function(f){return f.name});c.tooltip={};c.tooltip.formatter=function(f){return this.handleToolTip(f,null,!1,!1,e)};return c},settingFunnelSeries:function(c,a){c=this._setTypeToSeries(c,a);c.series=a.series.map(q.hitch(this,function(e){e.data=this._handleSeriesDataForPieLikeType(e,a);return e=this._settingFunnelSerie(e,a)}));return c},_settingFunnelSerie:function(c,a){if("funnel"!==c.type)return c;c.minSize="0%";c.maxSize="100%";c.min=a.min.value;c.max=a.max.value;
c.sort=a.funnelSort||"descending";return c},settingPieSeries:function(c,a){c=this._setTypeToSeries(c,a);c.series=a.series.map(q.hitch(this,function(e){e.data=this._handleSeriesDataForPieLikeType(e,a);return e=this._settingPieSerie(e,a)}));return c},_settingPieSerie:function(c,a){if("pie"!==c.type)return c;var e=a.dataLabel&&a.dataLabel.show;c.selectedMode="single";c.selectedOffset=10;c.hoverOffset=5;c.radius=[0,"70%"];c.labelLine={show:!0,length:5,length2:5};c.labelLine.show="undefined"===typeof a.labelLine?
!0:a.labelLine;e||(c.labelLine.show=!1);"number"===typeof a.innerRadius&&(0>a.innerRadius&&(a.innerRadius=0),60<a.innerRadius&&(a.innerRadius=60),c.radius[0]=a.innerRadius+"%");"rose"===a.pieMode&&(c.roseType=a.roseType||"radius");return c=this._absoluteValueForPieChart(c)},_absoluteValueForPieChart:function(c){if(!c||!c.data||!c.data[0])return c;c.data=c.data.map(function(a){"number"===typeof a?a=Math.abs(a):"object"===typeof a&&"number"===typeof a.value&&(a.value=Math.abs(a.value));return a});return c},
_handleSeriesDataForPieLikeType:function(c,a){return c.data.map(q.hitch(this,function(e,f){var b={};e||"number"===typeof e?(b.value="undefined"!==typeof e.value?e.value:e,e.itemStyle&&(b.itemStyle||(b.itemStyle={}),b.itemStyle=q.mixin(b.itemStyle,e.itemStyle))):b.value=e;b.name=a.labels[f]||"";return b}))},_setTypeToSeries:function(c,a){var e=a.series;if(!e)return c;e.forEach(function(f){f.type||(f.type=a.type);f.type="column"===a.type?"bar":a.type});return c},splitAxisStackColumn:function(c,a){var e=
c.series;if(!e||!e.length)return c;var f;e.some(function(g){g=g.data;if(!g||!g.length)return!0;g.some(function(n){if(n&&n.itemStyle&&"undefined"!==typeof n.itemStyle.color&&"line"!==a.type)return f=a.stack?"stack":"single",!0;f=!1})});var b=0;"single"===f?b=.1:"stack"===f&&(b=1);var d="";"stack"===f&&(d="#fff",a.backgroundColor&&"transparent"!==a.backgroundColor&&(d=a.backgroundColor));c.series=c.series.map(function(g){if("bar"===g.type||"pie"===g.type)g.itemStyle||(g.itemStyle={}),g.emphasis||(g.emphasis=
{}),g.itemStyle.borderWidth=b,g.emphasis.borderWidth=b,d?(g.itemStyle.borderColor=d,g.emphasis.borderColor=d):(g.itemStyle.borderColor="transparent",g.emphasis.borderColor="transparent");return g});return c},preProcessConfig:function(c,a){a.min=a.min||{value:0,format:{digitSeparator:!0}};a.max=a.max||{value:1E3,format:{digitSeparator:!0}};return c},settingLabelColor:function(c,a){var e="#000";a.gaugeOption&&a.gaugeOption.labelColor&&(e=a.gaugeOption.labelColor);"curved"===a.shape?c.series[0].axisLabel.textStyle.color=
e:"horizontal"===a.shape?c.xAxis.axisLabel.textStyle.color=e:"vertical"===a.shape&&(c.yAxis.axisLabel.textStyle.color=e);return c},settingValueStyle:function(c,a){var e=a.gaugeOption&&a.gaugeOption.valueStyle,f=e&&e.textStyle;e=e&&e.formatter;f&&q.mixin("curved"===a.shape?c.series[0].detail.textStyle:c.series[1].data[0].label.textStyle,f);e&&("curved"===a.shape?c.series[0].detail.formatter=e:c.series[1].data[0].label.formatter=e);return c},settingGaugeColumnColor:function(c,a){var e=a.gaugeOption&&
a.gaugeOption.bgColor;a=a.gaugeOption&&a.gaugeOption.columnColor;e&&(c.series[0].itemStyle.color=e);a&&(c.series[1].data[0].itemStyle.color=a);return c},initHorizontalOption:function(c){q.mixin(c,this.horizontal);return c},setHorizontalGrid:function(c){c.grid={top:"middle",height:90,left:"10%",right:"10%",containLabel:!0};return c},settingHorizontalAxis:function(c,a){c.xAxis.max=a.max.value;c.xAxis.min=a.min.value;c.xAxis.scale=!0;return c},settingHorizontalSeries:function(c,a){var e=c.series;if(!e||
!e.length)return c;var f=e[1];e[0].data[0]=a.max.value;c=this._handleValueDisplayForColumnGauge(c,a);f.data[0].name=a.labels&&a.labels[0]||"";f.name=a.series[0].name||"";return c},settingHorizontalGaugeRTL:function(c){if(!window.isRTL)return c;c.series[1].label.offset=[-20,0];c.xAxis.inverse=!0;c.yAxis.position="right";return c},initVerticalOption:function(c){q.mixin(c,this.vertical);return c},setVerticalGrid:function(c){c.grid={left:"middle",width:60,top:"10%",bottom:"10%",containLabel:!0};c.grid.left=
this._getGridLeftOfVerticalGauge();return c},settingVerticalAxis:function(c,a){c.yAxis.max=a.max.value;c.yAxis.min=a.min.value;return c},settingVerticalSeries:function(c,a){var e=c.series;if(!e||!e.length)return c;var f=e[1];e[0].data[0]=a.max.value;c=this._handleValueDisplayForColumnGauge(c,a);f.data[0].name=a.labels&&a.labels[0]||"";f.name=a.series[0].name||"";return c},settingVerticalGaugeRTL:function(c,a){if(!window.isRTL)return c;var e=(a.series[0].data[0]+"").length-1;a.gaugeOption&&a.gaugeOption.valueStyle&&
"undefined"!==typeof a.gaugeOption.valueStyle.decimalPlaces&&(e+=a.gaugeOption.valueStyle.decimalPlaces);c.series[1].label.offset=[-17-9*e,-15];c.xAxis.inverse=!0;c.yAxis.position="right";return c},initCurvedOption:function(c){c.series=[this.curved];return c},settingCurvedTooltip:function(c){c.tooltip.formatter=function(a){return this.handleToolTip(a,null,!1)}.bind(this);return c},settingCurvedSeries:function(c,a){var e=c.series&&c.series[0];if(!e)return c;var f=a.max.value,b=a.min.value;e.min=b;
e.max=f;var d=a.series&&a.series[0]&&a.series[0].data&&a.series[0].data[0];d=d||0;e.data[0].value=d;f=d<=b?0:d>=f?1:parseFloat((d-b)/(f-b)).toFixed(2);e.axisLine.lineStyle.color[0][0]=f;if(f=a.labels&&a.labels[0])e.data[0].name=f;e.name=a.series[0]&&a.series[0].name||"";e.axisLine.lineStyle.width=30;c.series=[e];return c},settingCurvedGaugeColor:function(c,a){var e=c.series&&c.series[0];a.gaugeOption&&(a.gaugeOption.bgColor&&(e.axisLine.lineStyle.color[1][1]=a.gaugeOption.bgColor),a.gaugeOption.columnColor&&
(e.axisLine.lineStyle.color[0][1]=a.gaugeOption.columnColor,e.itemStyle.color=a.gaugeOption.columnColor));return c},settingCurvedTargets:function(c,a){if(!c.series)return c;c.series[0].splitNumber=1E3;c.series[0].axisTick.splitNumber=1;c.series[0].axisTick.show=!1;var e=this._getTargetValues(a);return c=this._showTargetsForCurved(c,a,e)},createTargetGraphic:function(c){var a=c.shape,e=[];if("vertical"!==a&&"horizontal"!==a)return e;var f="#000";c.gaugeOption&&c.gaugeOption.labelColor&&(f=c.gaugeOption.labelColor);
var b,d=c.min.value,g=c.max.value;c=this._getTargetValues(c);var n=c.range;c.values.forEach(function(m){if(!(m.value>g||m.value<d)){b=this._calcGraphicPosition(m.value,a);var p=b.top,u=b.textLeft,A=this._createGraphic(b.graphicLeft,p,m,f,"image",a);m=this._createGraphic(u,p,m,f,"text",a);e.push(A);e.push(m)}}.bind(this));n.forEach(function(m){m.value>g||m.value<d||(b=this._calcGraphicPosition(m.value,a),m=this._createGraphic(b.textLeft,b.top,m,f,"text",a),e.push(m))}.bind(this));return e},_calcGraphicPosition:function(c,
a){if("vertical"===a){var e=this.chart.convertToPixel({xAxisIndex:0},0);e=parseFloat(e,10).toFixed(2);e=Number(e);window.isRTL&&(e+=40);var f=e-26;var b=window.isRTL?f+11:f-11-6*(c.toString().length-1);e=this._getyAxisValueTop(c);e-=2}else"horizontal"===a&&(e=this.chart.convertToPixel({yAxisIndex:0},0),e=parseInt(e,10),e=Number(e)+16,f=this._getxAxisValueLeft(c),c=6*(c.toString().length-2),b=f,0<c&&(b=f-c));return{top:e,graphicLeft:f,textLeft:b}},_createGraphic:function(c,a,e,f,b,d){var g=this.horIconUrl;
"vertical"===d&&(g=window.isRTL?this.verIconUrlRTL:this.verIconUrl);var n=null;"image"===b?n={z:10,type:"image",$action:"merge",id:"wab_gid_image-"+r.getRandomString(),left:c,style:{image:g,width:10,height:10},silent:!0,top:a}:"text"===b&&(e=this.localizeNumberForDigitSeparator(e.value,e.format&&e.format.digitSeparator),n={z:10,type:"text",$action:"merge",id:"wab_gid_text-"+r.getRandomString(),left:c,style:{text:e,fill:f,font:"normal 11px sans-serif"},silent:!0});"text"===b&&(n.top="vertical"===d?
a-2:a+11);return n},updateGridForVerticalGauge:function(c){if("gauge"===c.type&&"vertical"===c.shape)return{left:this._getGridLeftOfVerticalGauge(),width:60,top:"10%",bottom:"10%"}},_getTargetValues:function(c){var a=c.gaugeOption&&c.gaugeOption.showTargetValueLabel,e=c.gaugeOption&&c.gaugeOption.showDataRangeLabel,f=c.gaugeOption&&c.gaugeOption.targetValue,b=c.min;c=c.max;var d={values:[],range:[]};f&&a&&f.forEach(function(g){d.values.push(g)});e&&(0>d.values.indexOf(b.value)&&(d.range[0]=b),0>d.values.indexOf(c.value)&&
(d.range[1]=c));return d},_showTargetsForCurved:function(c,a,e){var f=e.values.concat(e.range),b=(a.max.value-a.min.value)/1E3;f.sort(function(d,g){return d.value-g.value});c.series[0].axisLabel.formatter=q.hitch(this,function(d){var g,n;f.forEach(function(m){"undefined"===typeof g&&m.value>=d&&m.value<d+b&&(g=m.value,n=m.format)});"number"===typeof g&&(g=this.localizeNumberForDigitSeparator(g,n&&n.digitSeparator));return g});return c},_handleValueDisplayForColumnGauge:function(c,a){var e=a.min.value,
f=a.max.value;var b=a.series[0].data[0];a=b>=f?f:b<=e?e:b;c.tooltip.formatter=function(d){return this.handleToolTip(d,b,!1)}.bind(this);c.series[1].data[0].value=a;return c},_getGridLeftOfVerticalGauge:function(){return this.chart.getWidth()/2-30},_getxAxisValueLeft:function(c){c=this.chart.convertToPixel({xAxisIndex:0},c);return parseFloat(c,10)-4},_getyAxisValueTop:function(c){c=this.chart.convertToPixel({yAxisIndex:0},c);return parseFloat(c,10)}})})},"jimu/dijit/_Gauge":function(){define(["dojo/_base/declare"],
function(B){return B([],{constructor:function(r){this.chart=r.chart;this.chartUtils=r.chartUtils},produceOption:function(r,w){r=this.chartUtils.preProcessConfig(r,w);"curved"===w.shape?r=this.setCurvedGaugeOption(r,w):"vertical"===w.shape?r=this.setVerticalGaugeOption(r,w):"horizontal"===w.shape?r=this.setHorizontalGaugeOption(r,w):console.error("invaild gauge shape");r=this.chartUtils.settingLabelColor(r,w);return r=this.chartUtils.settingValueStyle(r,w)},setCurvedGaugeOption:function(r,w){r=this.chartUtils.initCurvedOption(r);
r=this.chartUtils.settingCurvedSeries(r,w);r=this.chartUtils.settingCurvedTooltip(r,w);r=this.chartUtils.settingCurvedGaugeColor(r,w);return r=this.chartUtils.settingCurvedTargets(r,w)},setVerticalGaugeOption:function(r,w){r=this.chartUtils.initVerticalOption(r,this.vertical);r=this.chartUtils.setVerticalGrid(r);r=this.chartUtils.settingVerticalAxis(r,w);r=this.chartUtils.settingVerticalSeries(r,w);r=this.chartUtils.settingGaugeColumnColor(r,w);return r=this.chartUtils.settingVerticalGaugeRTL(r,w)},
setHorizontalGaugeOption:function(r,w){r=this.chartUtils.initHorizontalOption(r,this.horizontal);r=this.chartUtils.setHorizontalGrid(r);r=this.chartUtils.settingHorizontalAxis(r,w);r=this.chartUtils.settingHorizontalSeries(r,w);r=this.chartUtils.settingGaugeColumnColor(r,w);return r=this.chartUtils.settingHorizontalGaugeRTL(r,w)},resetGraphic:function(r){if("horizontal"===r.shape||"vertical"===r.shape)r=this.chartUtils.createTargetGraphic(r),this.clearGraphic(),this.chart.setOption({graphic:r}),this.cacheGraphic=
null,this.cacheGraphic=r},clearGraphic:function(){this.cacheGraphic&&(this.cacheGraphic.forEach(function(r){r.$action="remove"}),this.chart.setOption({graphic:this.cacheGraphic}))},resetGrid:function(r){("horizontal"===r.shape||"vertical"===r.shape)&&(r=this.chartUtils.updateGridForVerticalGauge(r))&&this.chart.setOption({grid:r})}})})},"jimu/dijit/_ChartOptionFactory":function(){define(["dojo/_base/declare"],function(B){return B([],{constructor:function(r){this.chart=r.chart;this.gauge=r.gauge;this.chartUtils=
r.chartUtils},produceOption:function(r){if(r&&r.type){var w=r.type,q={};q=this.setCommonOption(q,r);this.chartUtils.isAxisChart(r)?q=this.setAxisChartOption(q,r):"pie"===w?q=this.setPieChartOption(q,r):"funnel"===w?q=this.setFunnelChartOption(q,r):"radar"===w?q=this.setRadarChartOption(q,r):r.shape&&(q=this.setGaugeChartOption(q,r));return q=this.chartUtils.settingAdvanceOption(q,r)}},setPieChartOption:function(r,w){r=this.chartUtils.settingPieSeries(r,w);r=this.chartUtils._settingSeriesDataLabel(r,
w);r=this.chartUtils.pieChartAvoidLegendLabelOverLap(r,w);return r=this.chartUtils.avoidAdjoiningColorSameForPie(r,w)},setGaugeChartOption:function(r,w){return r=this.gauge.produceOption(r,w)},setFunnelChartOption:function(r,w){return r=this.chartUtils.settingFunnelSeries(r,w)},setRadarChartOption:function(r,w){r=this.chartUtils.settingRadar(r,w);return r=this.chartUtils.settingRadarSeries(r,w)},setAxisChartOption:function(r,w){r=this.chartUtils.settingDefaultGrid(r,w);r=this.chartUtils.settingAxisChartAxis(r,
w);r=this.chartUtils.settingAxisSeries(r,w);r=this.chartUtils.settingMarks(r,w);r=this.chartUtils._settingSeriesDataLabel(r,w);r=this.chartUtils.splitAxisStackColumn(r,w);r=this.chartUtils.settingStack(r,w);r=this.chartUtils.settingArea(r,w);return r=this.chartUtils.settingScale(r,w)},setCommonOption:function(r,w){this.chart._theme||(this.chart._theme={});r=this.chartUtils.settingRenderOption(r,w);r=this.chartUtils.settingBackgroundColor(r,w);r=this.chartUtils.settingColor(r,w);r=this.chartUtils.settingToolTip(r,
w);return r=this.chartUtils.settingLegend(r,w)}})})},"libs/echarts/light":function(){(function(B,r){"function"===typeof define&&define.amd?define(["exports","./echarts"],r):"object"===typeof exports&&"string"!==typeof exports.nodeName?r(exports,require("./echarts")):r({},B.echarts)})(this,function(B,r){r?r.registerTheme("light",{color:"#2ec7c9 #b6a2de #5ab1ef #ffb980 #d87a80 #8d98b3 #e5cf0d #97b552 #95706d #dc69aa #07a2a4 #9a7fd1 #588dd5 #f5994e #c05050 #59678c #c9ab00 #7eb00a #6f5553 #c14089".split(" "),
textStyle:{},title:{textStyle:{color:"#008acd"},subtextStyle:{color:"#aaaaaa"}},line:{itemStyle:{normal:{}},lineStyle:{normal:{width:"1"}},symbolSize:"5",symbol:"circle",smooth:!1},radar:{itemStyle:{normal:{}},lineStyle:{normal:{width:"1"}},symbolSize:"6",symbol:"circle",smooth:!1},gauge:{axisLine:{lineStyle:{color:[[.31,"#58f7f3"],[1,"#E5E5E5"]]}},itemStyle:{normal:{color:"#686868"},emphasis:{color:"#686868"}}},categoryAxis:{axisLine:{show:!0,lineStyle:{color:"#008acd"}},axisTick:{show:!1,lineStyle:{color:"#333"}},
axisLabel:{show:!0,textStyle:{color:"#333"}},splitLine:{show:!0,lineStyle:{type:"dashed",color:["rgba(0,0,0,0.1)"]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},valueAxis:{axisLine:{show:!0,lineStyle:{color:"#008acd"}},axisTick:{show:!1,lineStyle:{color:"#333"}},axisLabel:{show:!0,textStyle:{color:"#333"}},splitLine:{show:!0,lineStyle:{type:"dashed",color:["rgba(0,0,0,0.1)"]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},
toolbox:{iconStyle:{normal:{borderColor:"#2ec7c9"},emphasis:{borderColor:"#18a4a6"}}},legend:{textStyle:{color:"#333333"}},tooltip:{axisPointer:{lineStyle:{color:"#008acd",width:"1"},crossStyle:{color:"#008acd",width:"1"}}},dataZoom:{backgroundColor:"#F4F4F4",dataBackgroundColor:"rgba(47,69,84,0.3)",fillerColor:"#E0E0E0",handleIcon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4v1.3h1.3v-1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7V23h6.6V24.4z M13.3,19.6H6.7v-1.4h6.6V19.6z",
handleColor:"#777777",handleSize:"100%",borderColor:"#F4F4F4",textStyle:{color:"#939393"}}}):"undefined"!==typeof console&&console&&console.error&&console.error("ECharts is not Loaded")})},"libs/echarts/dark":function(){(function(B,r){"function"===typeof define&&define.amd?define(["exports","./echarts"],r):"object"===typeof exports&&"string"!==typeof exports.nodeName?r(exports,require("./echarts")):r({},B.echarts)})(this,function(B,r){r?r.registerTheme("dark",{color:"#fc97af #87f7cf #f7f494 #72ccff #f7c5a0 #d4a4eb #d2f5a6 #76f2f2".split(" "),
textStyle:{},title:{textStyle:{color:"#ffffff"},subtextStyle:{color:"#dddddd"}},line:{itemStyle:{normal:{}},lineStyle:{normal:{width:"1"}},symbolSize:"5",symbol:"circle",smooth:!1},radar:{itemStyle:{normal:{}},lineStyle:{normal:{width:"1"}},symbolSize:"5",symbol:"circle",smooth:!1},gauge:{axisLine:{lineStyle:{color:[[.31,"#58f7f3"],[1,"#1E5F6F"]]}},itemStyle:{normal:{color:"#D9D9D9"},emphasis:{color:"#D9D9D9"}}},categoryAxis:{axisLine:{show:!0,lineStyle:{color:"#333"}},axisTick:{show:!1,lineStyle:{color:"#333"}},
axisLabel:{show:!0,textStyle:{color:"#939393"}},splitLine:{show:!0,lineStyle:{type:"dashed",color:["rgba(255,255,255,0.1)"]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},valueAxis:{axisLine:{show:!0,lineStyle:{color:"#333"}},axisTick:{show:!1,lineStyle:{color:"#333"}},axisLabel:{show:!0,textStyle:{color:"#939393"}},splitLine:{show:!0,lineStyle:{type:"dashed",color:["rgba(255,255,255,0.1)"]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)",
"rgba(200,200,200,0.3)"]}}},toolbox:{iconStyle:{normal:{borderColor:"#999999"},emphasis:{borderColor:"#666666"}}},legend:{textStyle:{color:"#999999"}},tooltip:{axisPointer:{lineStyle:{color:"#cccccc",width:1},crossStyle:{color:"#cccccc",width:1}}},dataZoom:{backgroundColor:"#525252",dataBackgroundColor:"rgba(47,69,84,0.3)",fillerColor:"#737373",handleIcon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4v1.3h1.3v-1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7V23h6.6V24.4z M13.3,19.6H6.7v-1.4h6.6V19.6z",
handleColor:"#BDBDBD",handleSize:"100%",borderColor:"#525252",textStyle:{color:"#939393"}}}):"undefined"!==typeof console&&console&&console.error&&console.error("ECharts is not Loaded")})},"widgets/Infographic/utils":function(){define("dojo/on jimu/utils dojo/_base/lang dojo/_base/Color dojo/_base/array dojo/Deferred esri/layers/FeatureLayer".split(" "),function(B,r,w,q,k,l,h){var c={stringFieldType:"esriFieldTypeString",oidFieldType:"esriFieldTypeOID",dateFieldType:"esriFieldTypeDate",numberFieldTypes:["esriFieldTypeSmallInteger",
"esriFieldTypeInteger","esriFieldTypeSingle","esriFieldTypeDouble"],getClientFeaturesFromMap:function(a,e,f,b){return r.getClientFeaturesFromMap(a,e,f,b)},listenClientFeaturesFromMap:function(a,e,f,b,d){var g=[];f&&(g.push(B(e,"selection-complete",w.hitch(this,function(){d(this.getClientFeaturesFromMap(a,e,f,b))}))),g.push(B(e,"selection-clear",w.hitch(this,function(){d(this.getClientFeaturesFromMap(a,e,f,b))}))));b&&g.push(B(a,"extent-change",w.hitch(this,function(){0<e.graphics.length&&d(this.getClientFeaturesFromMap(a,
e,f,b))})));g.push(B(e,"update-end",w.hitch(this,function(){d(this.getClientFeaturesFromMap(a,e,f,b))})));d(this.getClientFeaturesFromMap(a,e,f,b));return{remove:function(){g&&k.forEach(g,w.hitch(this,function(n){n.remove()}));g=null}}},getVaildIndicator:function(a,e,f){var b=[];e.map(w.hitch(this,function(d){(d=this._handleOperator(d,a,f))&&b.push(d)}));if(0<b.length)return b[b.length-1]},filterFeaturesByDataSourceSetting:function(a,e,f){if(0===a.length)return[];if(e.useSelection){var b=a[0].getLayer();
if(b){var d=b.getSelectedFeatures();0<d.length&&(a=k.filter(a,function(g){return-1<d.indexOf(g)}))}}e.filterByExtent&&(a=r.filterFeaturesByExtent(f.extent,a));return a},_handleOperator:function(a,e,f){function b(n){d={};n.valueColor&&(d.valueColor=n.valueColor);n.gaugeColor&&(d.gaugeColor=n.gaugeColor);n.iconInfo&&(d.iconInfo=n.iconInfo)}var d,g=a.value.map(w.hitch(this,function(n){return a.isRatio?n/100*f:n}));"greater"===a.operator&&e>g[0]?b(a):"smaller"===a.operator&&e<g[0]?b(a):"between"===a.operator&&
e>g[0]&&e<g[1]?b(a):"equal"===a.operator&&e===g[0]?b(a):"notEqual"===a.operator&&e!==g[0]&&b(a);return d},isInteger:function(a){return"number"===typeof a&&0===a%1},_getFieldNamesByFields:function(a){if(a&&a.length)return a.map(function(e){return this._getFieldNameByFieldInfo(e)}.bind(this))},_getFieldNameByFieldInfo:function(a){return a&&a.name},isBaseAxisChart:function(a){return"column"===a||"bar"===a||"line"===a},isEqual:function(a,e){return typeof a!==typeof e?!1:"object"!==typeof a?a===e:r.isEqual(a,
e)},separationChartProperties:function(a,e){var f=["mode","type"],b=["backgroundColor","seriesStyle","legend","highLightColor"];"feature"===e?f=f.concat(["clusterField","valueFields"]):"category"===e?f=f.concat(["clusterField","dateConfig","valueFields","operation","nullValue"]):"count"===e?f=f.concat(["clusterField","dateConfig"]):"field"===e&&(f=f.concat(["valueFields","operation","nullValue"]));f=f.concat(["sortOrder","maxLabels"]);b="pie"===a?b.concat(["dataLabel","innerRadius"]):b.concat("displayRange xAxis yAxis stack area tooltip marks".split(" "));
return{dataProperties:f,displayProperties:b}},isValidChartConfig:function(a){if(a&&(a=a.data)){var e=a.mode,f=a.type;if(e&&f&&("count"===e||a.valueFields&&a.valueFields.length)&&("pie"!==f||""!==a.maxLabels))return!0}},getChartConfig:function(a){if(a){var e=this.separationChartProperties(a.type,a.mode),f=e.displayProperties,b={},d={};e.dataProperties.forEach(w.hitch(this,function(g){b[g]=a[g]}));f.forEach(w.hitch(this,function(g){d[g]=a[g]}));e={data:b,display:d};return this.isValidChartConfig(e)?
e:!1}},specialChartConfig:function(a,e){var f=a&&a.data;if(f){var b=f.sortOrder;"feature"===f.mode&&b&&b.field===f.clusterField&&(b.isLabelAxis=!0)}if(a=a&&a.display)f&&(a.mode=f.mode),a.theme||(a.theme=e)},_cloneAndFormatDS:function(a){a=w.clone(a);var e={};a.name&&(e.name=a.name);a.dataSourceType&&(e.dataSourceType=a.dataSourceType);a.layerId&&(e.layerId=a.layerId);a.frameWorkDsId&&(e.frameWorkDsId=a.frameWorkDsId);a=null;return e},isDSEqual:function(a,e){if(a&&e)return a=this._cloneAndFormatDS(a),
e=this._cloneAndFormatDS(e),this.isEqual(a,e)},separationGradientColors:function(a,e){var f=[];2===a.length&&(f=this._createGradientColors(a[0],a[a.length-1],e));return f},_createGradientColors:function(a,e,f){var b=[];a=new q(a);var d=new q(e);e=(d.r-a.r)/f;var g=(d.g-a.g)/f;d=(d.b-a.b)/f;for(var n=new q,m=0,p=0,u=0,A=0;A<f;A++)m=parseInt(a.r+e*A,10),p=parseInt(a.g+g*A,10),u=parseInt(a.b+d*A,10),n.setColor([m,p,u]),b.push(n.toHex());return b},mockLayerDefinitionForSTD:function(a){var e={type:"Table",
fields:[]};e.fields=a.fields;e.fields.push({name:"STAT_COUNT",type:"esriFieldTypeInteger",alias:"STAT_COUNT"});return e},getLoadedLayer:function(a){var e=new l,f=null;f="string"===typeof a?new h(a):"esri.layers.FeatureLayer"===a.declaredClass?a:new h({layerDefinition:w.clone(a),featureSet:null});if(f.loaded)e.resolve(f);else f.on("load",function(){e.resolve(f)});return e},parseDataSourceId:function(a){var e=a.split("~"),f={};if(2>e.length)return console.error("Bad data source id:",a),f;switch(e[0]){case "map":return e=
a.lastIndexOf("~"),f={from:"map",layerId:a.substring(4,e)};case "widget":return f={from:"widget",widgetId:e[1]};case "external":return f={from:"external"};default:console.error("Bad data source id:",a)}},getDsTypeInfoMeta:function(a,e){var f={dsTypeInfo:null,dsMeta:null};f.dsTypeInfo=this.parseDataSourceId(a);if(e=e.dataSource&&e.dataSource.dataSources)f.dsMeta=e[a];return f},getValueFromFeatures:function(a,e,f){if(!a||!e||!f)return!1;a=this.getSingleValueFromFeatures(a,e,f);a=this._getVaildValue(a);
return"number"!==typeof a?!1:a},_getVaildValue:function(a){if(a||0===a)return Number(a)},cleanFeatures:function(a){if(a&&a.length)return a.map(function(e){return{attributes:e.attributes}})},getFieldAliasByFieldInfo:function(a,e){var f="";if(!a)return f;var b=a.name;f=a.alias||b;e&&(f=this.getAliasFromPopupInfo(b,e));return f},getAliasFromPopupInfo:function(a,e){var f=a;if(!e)return f;(e=e.fieldInfos)&&0<e.length&&e.some(function(b){return b.fieldName===a?(f=b.label,!0):!1});return f},isFolatNumber:function(a){return"number"!==
typeof a?!1:/^(-?\d+)(\.\d+)?$/.test(a)},addAliasForLayerDefinition:function(a,e){a&&a.fields&&0<a.fields.length&&a.fields.forEach(w.hitch(this,function(f){var b=this.getFieldAliasByFieldInfo(f,e);b&&(f.alias=b)}))},mockDataSourceForGaugeRange:function(a,e){var f=this.getRangeSourceInfo(a);a=this.mockDataSourceByStatSourceID(f.range1,e);e=this.mockDataSourceByStatSourceID(f.range2,e);return[a,e]},mockDataSourceByStatSourceID:function(a,e){a=a||{};var f=a.id||e;a=a.id?a.label:e;var b;f&&(b={name:a,
frameWorkDsId:f,dataSourceType:"DATA_SOURCE_FROM_FRAMEWORK"});return b},getStatisticForChart:function(a){var e=a.mode;var f=a.valueFields;var b=a.operation,d=a.nullValue;"average"===b&&(b="avg");a=a.clusterField;if("count"!==e){var g=f;f=b}else f="count";if("category"===e||"count"===e)var n=[a];return{type:f,fields:g,groupByFields:n,nullValue:d}},getStatisticForGauge:function(a){var e={};a=a.statistics;if(!a||!a.length)return e;a.forEach(function(f){"value"===f.type&&(e.value=f.config.value);"range"===
f.type&&"stat"===f.config.type&&(e[f.name]=f.config.value.statistic)});return e},getStatisticForNumber:function(a){if(a&&a.statistics&&a.statistics.length)return a.statistics[0].config.value},getRangeDataSource:function(a){var e={};if(!a||!a.config)return e;a=a.config.statistics;if(!a||!a.length)return e;a.forEach(function(f){"range"===f.type&&"stat"===f.config.type&&(e[f.name]={name:f.config.value.sourceLabel||f.config.value.sourceID,frameWorkDsId:f.config.value.sourceID,dataSourceType:"DATA_SOURCE_FROM_FRAMEWORK"})});
return e},getRangeFixedValue:function(a){var e={};a=a.config.statistics;if(!a||!a.length)return e;a.forEach(function(f){"range"===f.type&&"fixed"===f.config.type&&(e[f.name]=f.config.value)});return e},checkDataSourceIsVaild:function(a,e,f,b,d){var g={code:0,fields:[]},n=null;a?"DATA_SOURCE_FROM_FRAMEWORK"===a.dataSourceType?(g.label=a.name||a.frameWorkDsId,b&&b.dataSource&&b.dataSource.dataSources?(a=b.dataSource.dataSources[a.frameWorkDsId])?(n=a.dataSchema&&a.dataSchema.fields,e=this._getNeededFieldsByMainDijitJson(e,
d),g=this._isDataSourceContainNeededFields(n,e,g)):g.code=1:g.code=1):"DATA_SOURCE_FEATURE_LAYER_FROM_MAP"===a.dataSourceType&&(n=a.layerId,g.label=a.name||a.layerId,n&&f?(a=f.getLayer(n))?(n=a.fields,e=this._getNeededFieldsByMainDijitJson(e,d),g=this._isDataSourceContainNeededFields(n,e,g)):g.code=1:g.code=1):g.code=1;return g},getCheckDataSourceResultCode:function(a){if(a&&a.length){a=w.clone(a);var e=a.shift();if(e.code)return e.code;var f=0;a.some(function(b){if(b&&1===b.code)return f=3,!0;if(b&&
2===b.code)return f=2,!0});return f}},getRangeSourceInfo:function(a){var e={};if(!a||!a.length)return e;a.forEach(function(f){if("range"===f.type&&"stat"===f.config.type){var b=f.name,d=f.config.value.sourceID;f=f.config.value.sourceLabel;b&&d&&(e[b]={id:d,label:f||d})}});return e},getGaugeNumberStatisticField:function(a){var e={};if(!a||!a.length)return e;a.forEach(function(f){if("range"===f.type&&"stat"===f.config.type){var b=f.name;f=f.config.value.statistic.field;b&&f&&(e[b]=f)}else"value"===
f.type&&(f=f.config.value.field,e.value=f)});return e},_isDataSourceContainNeededFields:function(a,e,f){if(!a||!a.length)return f.code=1,f;var b=this._getFieldNamesByFields(a);if(!e||!e.length)return f.code=0,f;e.forEach(function(d){0>b.indexOf(d)&&f.fields.push(d)});f.fields.length&&(f.code=2);return f},_getNeededFieldsByMainDijitJson:function(a,e){if(a)return this._getNeededFieldsByDijitConfig(a.type,a.config,e)},_getNeededFieldsByDijitConfig:function(a,e,f){var b=null;if(e){if("chart"===a){b=[];
f=e.data;if(!f)return;f.clusterField&&b.push(f.clusterField);f.valueFields&&f.valueFields.length&&(b=b.concat(f.valueFields))}else if("gauge"===a||"number"===a)b=[],(a=e.statistics)&&(f=this.getGaugeNumberStatisticField(a)[f])&&b.push(f);if(b&&b.length)return b}},formatterRangeNumber:function(a){"number"!==typeof a&&(a=Number(a));if(!a&&0!==a)return!1;this.isFolatNumber(a)&&(a=a.toFixed(2),a=Number(a));return a},upperCaseString:function(a){return a&&"string"===typeof a?a.toUpperCase():a},lowerCaseString:function(a){return a&&
"string"===typeof a?a.toLowerCase():a},isStrictNaN:function(a){return"number"===typeof a&&isNaN(a)},isValidValue:function(a){return"undefined"!==typeof a&&null!==a&&""!==a&&!this.isStrictNaN(a)},getLayerIdByDataSource:function(a){if(a){var e=a.layerId;a=a.frameWorkDsId;!e&&a&&(a=this.parseDataSourceId(a))&&"undefined"!==a.layerId&&(e=a.layerId);return e}},hasDigitSeparator:function(a,e){var f=!1;if(!a||!e)return f;(e=e.fieldInfos)&&0<e.length&&e.some(function(b){return b.fieldName===a?(f=!(!b.format||
!b.format.digitSeparator),!0):!1});return f},getFieldInfo:function(a,e){var f=null;e=e.fields;for(var b=0;b<e.length;b++)e[b].name===a&&(f=e[b]);return f},isNumberType:function(a,e,f){if(!a||!e)return!1;var b=w.clone(c.numberFieldTypes);f&&b.push(c.oidFieldType);a=c.getFieldInfo(a,e);return!a||a.domain?!1:-1<b.indexOf(a.type)},isAxisType:function(a){return-1<["column","bar","line"].indexOf(a)},isValueAxis:function(a,e){if(this.isAxisType(e))return"bar"===e?!a:a},_isValidChartConfig:function(a){if(!a)return!1;
a=a.data;return!(!a||!a.mode)},_upgradeAxisFormat:function(a,e,f,b,d,g){if("undefined"!==typeof a.digitSeparator)return a;this.isValueAxis(e,b)?a.digitSeparator=!0:this.isNumberType(f,d,!0)&&(e=this.hasDigitSeparator(f,g),a.digitSeparator=e);return a},upgradeChartAxisFormatConfig:function(a,e,f){if(!this._isValidChartConfig(a))return a;var b=a.data.type;if(!this.isAxisType(b)||!a.display)return a;a=w.clone(a);var d=a.data.clusterField,g=a.display.xAxis,n=a.display.yAxis;g.format||(g.format={});n.format||
(n.format={});this._upgradeAxisFormat(g.format,!1,d,b,e,f);this._upgradeAxisFormat(n.format,!0,d,b,e,f);return a}};return c})},"widgets/Infographic/dijits/GaugeDijit":function(){define("dojo/_base/declare dojo/_base/lang dojo/_base/html ./BaseDijit jimu/utils jimu/dijit/Chart ../utils ./clientStatistic".split(" "),function(B,r,w,q,k,l,h,c){return B([q],{templateString:'\x3cdiv style\x3d"width:100%;height:100%;"\x3e\x3cdiv data-dojo-attach-point\x3d"noDataDiv"class\x3d"no-data-tip"\x3e${nls.noData}\x3c/div\x3e\x3cdiv class\x3d"gauge-dom" data-dojo-attach-point\x3d"gaugeDomNode"\x3e\x3c/div\x3e\x3c/div\x3e',
type:"gauge",baseClass:"infographic-gauge-dijit",config:null,defValueStyle:{state:!0,isRatio:!1,font:{font:{fontFamily:"Arial",bold:!1,italic:!1,underline:!1},textColor:"#59bad8"},dataFormat:{unit:"none",decimalPlaces:"",prefix:"",suffix:""}},constructor:function(a){this.inherited(arguments);this.visible=a.visible},postCreate:function(){this.inherited(arguments);this._features=null;this._upgradeConfig(this.config);this.setConfig(this.config);this._updateBackGroundColor()},_upgradeConfig:function(a){var e=
a&&a.display&&a.display.currentValue;(e=e&&e.dataFormat)&&"undefined"===typeof e.digitSeparator&&(e.digitSeparator=!0);e=(a=a&&a.display&&a.display.dataLabels)&&a.dataFormat||{};"undefined"===typeof e.digitSeparator&&(e.digitSeparator=!0);a.dataFormat=e},setLayerInfo:function(){},setVisible:function(a){this.visible=a},resetData:function(){this.gaugeValue=this._valueObj=this._r2fs=this._r1fs=this._features=this.dataSource=null},onDataSourceDataUpdate:function(a){this._valueObj=a},setMainFeatures:function(a){a&&
(this._features=h.cleanFeatures(a))},setRangeFeatures:function(a,e){"range1"===e?this._r1fs=h.cleanFeatures(a):"range2"===e&&(this._r2fs=h.cleanFeatures(a))},resize:function(){this.chart&&this.chart.resize()},setDataSource:function(a){this.inherited(arguments);this.dataSource=a},setConfig:function(a){a&&(this.config=a)},startRendering:function(){if(this._shouldRenderGauge()){this.chart||this._createJimuChart();this._updateBackGroundColor();var a=this._calculateGaugeValue();0===a?this.showNodata():
-1===a?this.showNodata(this.nls.invalidRangeTip):(a=this._createChartOption(),this.chart.updateConfig(a))}},_splitStatistic:function(a){if(a&&a.length){var e={};a.forEach(function(f){if("value"===f.type)e.value=f.config.value;else if("range"===f.type){var b=f.name;"stat"===f.config.type?e[b]=f.config.value.statistic:"fixed"===f.config.type&&(e[b]={value:f.config.value})}});return e}},_getValueObjForSetting:function(){var a=this.config&&this.config.statistics;if(a&&a.length){var e=this._splitStatistic(a),
f=e.value,b=e.range1;e=e.range2;var d=this.dataSource;a=h.mockDataSourceForGaugeRange(a);f=c.statistic(f,d,this._features);"undefined"!==typeof b.value?b=b.value:(b=c.statistic(b,a[0],this._r1fs),b=c.formatterRangeNumber(b));"undefined"!==typeof e.value?e=e.value:(e=c.statistic(e,a[1],this._r2fs),e=c.formatterRangeNumber(e));return{value:f,ranges:[b,e]}}},_calculateGaugeValue:function(){var a=this.inSettingPage?this._getValueObjForSetting():this._valueObj;if(!h.isValidValue(a)||!h.isValidValue(a.value))return 0;
if(!this._isEffectiveRange(a))return-1;this.gaugeValue=a;return 1},_createChartOption:function(){var a=this._splitValueObj(this.gaugeValue),e=a.min,f=a.max,b=a.value;b=this._parseRealValueDecimal(b);var d=this.config;a=d.display&&d.display.dataLabels&&d.display.dataLabels.dataFormat;b={tooltip:{confine:!0,trigger:"item"},series:[{data:[b]}]};b.shape=d.shape;b.type="gauge";b.theme=this.isDarkTheme()?"dark":"light";d=this._createGaugeOption();b.gaugeOption=d;b.max={value:f,format:a};b.min={value:e,
format:a};return b},_parseRealValueDecimal:function(a){var e=this._getVaildValueDisplay();if(e=this._getVaildDecimalPlaces(e))a=a.toFixed(e),a=Number(a);return a},_createGaugeOption:function(){var a=this._splitValueObj(this.gaugeValue),e=a.value,f=this.config,b=f.display&&f.display.dataLabels&&f.display.dataLabels.dataFormat,d={},g=this._getValueStyle();g&&(d.valueStyle=g);this._setGaugeDisplay(d);a=this._getIndicatorInfo(f,e,a);a.targetValue&&(e=this._isShowTargetValue()?a.targetValue:[],d.targetValue=
e.map(function(n){return{value:n,format:b}}));a.columnColor&&(d.columnColor=a.columnColor);return d},_getIndicatorInfo:function(a,e,f){var b=!1,d=!1,g=!1,n=this._getIndicatorValues(a,f);k.isNotEmptyObject(n,!0)&&(b=n);if(a=a.indicators)(e=h.getVaildIndicator(e,a,f.max))&&e.gaugeColor&&(d=e.gaugeColor),e&&e.valueColor&&(g=e.valueColor);return{targetValue:b,columnColor:d,valueColor:g}},_getIndicatorValues:function(a,e){var f=[];a.indicators&&(a.indicators.forEach(function(b){b.value&&b.value.forEach(r.hitch(this,
function(d){f.push(this.betterDisplayNumberOfMultiDecimal(b.isRatio?d/100*e.max:d,2))}))}.bind(this)),f.sort(function(b,d){return b-d}),f=k.uniqueArray(f));return f},betterDisplayNumberOfMultiDecimal:function(a,e){if("number"!==typeof a)return a;var f=0,b=a.toString().split(".");1===b.length?f=0:2===b.length&&(f=b[1].length);return f?(f>e&&(f=e),a=a.toFixed(f),parseFloat(a)):a},_splitValueObj:function(a){var e=a.value;a=a.ranges;a.sort(function(f,b){return f-b});return{min:a[0],max:a[1],value:e}},
_isEffectiveRange:function(a){var e=this._splitValueObj(a);a=e.min;e=e.max;return"undefined"===typeof a||"undefined"===typeof e||e===a?!1:!0},_isRangeNeedFeatures:function(a,e){var f=!1;a=a.statistics;if(!a||!a.length)return f;a.some(function(b){if("range"===b.type&&b.name===e&&"stat"===b.config.type)return f=!0});return f},_shouldRenderGauge:function(){if(this.visible&&this.config){if(this.inSettingPage){var a=this._isRangeNeedFeatures(this.config,"range1");var e=this._isRangeNeedFeatures(this.config,
"range2");a=a?this._r1fs:!0;e=e?this._r2fs:!0;e=this.domNode&&this._features&&a&&e}else a=(e=this._valueObj)&&e.ranges,e=this.domNode&&e&&a&&"number"===typeof e.value&&"number"===typeof a[0]&&"number"===typeof a[1];e?this.hideNodata():this.showNodata();return!!e}},_updateBackGroundColor:function(){var a=this.config;(a=a&&a.display&&a.display.backgroundColor)&&w.setStyle(this.domNode,"backgroundColor",a)},_createJimuChart:function(){var a=this._getDefaultChartOption();this.chart=new l({chartDom:this.gaugeDomNode,
config:a});this.chart.placeAt(this.gaugeDomNode);this.chart.resize()},_generateValueFormatter:function(a){var e=this._splitValueObj(this.gaugeValue),f=e.max,b=e.min;if(a)return r.hitch(this,function(d,g){var n="",m=d.dataFormat;if(!m)return g;var p=m.decimalPlaces;var u=m.digitSeparator;if(p||0===p)p=Number(p);d.isRatio?g=g<=b?k.convertNumberToPercentage(0,p,u):k.convertNumberToPercentage((g-b)/(f-b),p,u):"percentage"===m.unit?g=k.convertNumberToPercentage(g,p,u):"thousand"===m.unit?(n=this.nls.thousandAbbreviation,
g/=1E3):"million"===m.unit?(n=this.nls.millionAbbreviation,g/=1E6):"billion"===m.unit&&(n=this.nls.billionAbbreviation,g/=1E9);d.isRatio||"percentage"===m.unit||(g=k.localizeNumberByFieldInfo(g,{format:{places:p,digitSeparator:u}}));n&&(g+=n);d=g;m.prefix&&(d=m.prefix+" "+d);m.suffix&&(d+=" "+m.suffix);return d},a,e.value)},_getVaildDecimalPlaces:function(a){if(a){if((a=(a=a.dataFormat)&&a.decimalPlaces)||0===a)a=Number(a);if("number"===typeof a)return a}},_getVaildValueDisplay:function(){var a=this.config;
if(a=a&&a.display)return a.currentValue&&a.currentValue.state?a.currentValue:r.clone(this.defValueStyle)},_generateTextStyle:function(a){var e=this._splitValueObj(this.gaugeValue);e=this._getIndicatorInfo(this.config,e.value,e);var f=a&&a.font;if(f){a={};"undefined"!==typeof f.fontSize&&(a.fontSize=Number(f.fontSize));a.color=e.valueColor||f.textColor;e=f.font;if(!e)return a;a.fontWeight=e.bold?"bold":"normal";e.fontFamily&&(a.fontFamily=e.fontFamily);a.fontStyle=e.italic?"italic":"normal";return a}},
_isShowTargetValue:function(){var a=this.config&&this.config.display&&this.config.display.dataLabels;if(a)return!!a.targetValue},_setGaugeDisplay:function(a){var e=this.config.display;e&&(e.gaugeColor&&(a.columnColor=e.gaugeColor),e.bgColor&&(a.bgColor=e.bgColor),e.dataLabels&&e.dataLabels.state&&(e=e.dataLabels,a.showDataRangeLabel=!!e.dataRange,a.showTargetValueLabel=!!e.targetValue,a.labelColor=e.textColor||""))},_getValueStyle:function(){var a=this._getVaildValueDisplay();if(a){var e={},f=this._getVaildDecimalPlaces(a);
"number"===typeof f&&(e.decimalPlaces=f);e.formatter=this._generateValueFormatter(a);if(a=this._generateTextStyle(a))e.textStyle=a;return e}},_getDefaultChartOption:function(){var a={type:"gauge",confine:!0,shape:"curved",min:0,max:100,series:[{data:[0]}]};this.config&&this.config.shape&&(a.shape=this.config.shape);a.theme=this.isDarkTheme()?"dark":"light";return a},showNodata:function(a){this.chart&&this.chart.clear();w.addClass(this.domNode,"no-data");a&&(this.noDataDiv.innerHTML=k.sanitizeHTML(a))},
hideNodata:function(){w.removeClass(this.domNode,"no-data")}})})},"widgets/Infographic/dijits/clientStatistic":function(){define(["jimu/DataSourceManager","jimu/statisticsUtils","../utils"],function(B,r,w){return{getSingleValueForServerStatFeature:function(q){q=q&&q[0]&&q[0].attributes;if(!q)return null;var k=Object.keys(q)[0];return Number(q[k])},getResultForExtraStatFeature:function(q,k){q=this._getValueForExtraStatFeatures(q&&q[0],k);return Number(q)},_getValueForExtraStatFeatures:function(q,k){q=
q.attributes;if(!q)return"count"===k.type?0:void 0;k="count"===k.type?"STAT_COUNT":w.upperCaseString(k.field+"_"+k.type);var l=q[k];"undefined"===typeof l&&(k=w.lowerCaseString(k),l=q[k]);return l},statistic:function(q,k,l,h){return q&&k&&l?"DATA_SOURCE_FEATURE_LAYER_FROM_MAP"===k.dataSourceType?this.getStatisticResultFromFeatures(l,q):"Features"===this._getExtalDataSourceType(k,h)?this.getStatisticResultFromFeatures(l,q):this.statisticExtraStatSource(q,l):null},formatterRangeNumber:function(q){if(!q&&
0!==q)return!1;"number"!==typeof q&&(q=Number(q));this.isFolatNumber(q)&&(q=q.toFixed(2),q=Number(q));return q},isFolatNumber:function(q){return"number"!==typeof q?!1:/^\d+(\.\d+)$/.test(q)},statisticExtraStatSource:function(q,k){if(k){if(0===k.length)var l=void 0;else if(1===k.length)l=this._getValueForExtraStatFeatures(k[0],q);else if(1<k.length){var h={count:0,sum:0},c,a,e,f=0,b=0;k.forEach(function(d){c=this._getValueForExtraStatFeatures(d,q);switch(q.type){case "count":h.count+=c;break;case "sum":h.sum+=
c;break;case "min":h.min="undefined"===typeof h.min?c:Math.min(h.min,c);break;case "max":h.max="undefined"===typeof h.max?c:Math.max(h.max,c);break;case "avg":e=this._getValueForExtraStatFeatures(d,{type:"count"}),a=this._getValueForExtraStatFeatures(d,{field:q.field,type:"sum"}),f+=a,b+=e}}.bind(this));"avg"===q.type&&(h.avg=0===b?0:f/b);l=h[q.type]}return l}},_getCountValueFromFeatureOfExtraStatFeatures:function(q){if(q&&q.attributes){q=q.attributes;var k="STAT_COUNT";var l=q[k];"undefined"===typeof l&&
(k=w.lowerCaseString(k),l=q[k]);return l||0}},getStatisticResultFromFeatures:function(q,k){if(q){if("count"===k.type)return q.length;var l=k.type;return r.getStatisticsResultFromClientSync({featureSet:{features:q},fieldName:k.field,statisticTypes:[l]})[l+"Field"]}},_getExtalDataSourceType:function(q,k){return this._getExtalDataSourceInfo(q,k).type},_getExtalDataSourceInfo:function(q,k){if(q){k=k||this.appConfig;var l=q.frameWorkDsId;if("undefined"!==typeof l){var h={};return h=(k=k&&k.dataSource&&
k.dataSource.dataSources)?k[l]:B.getInstance().getDataSourceConfig(q.frameWorkDsId)}}}}})},"widgets/Infographic/dijits/NumberDijit":function(){define("dojo/_base/declare ./BaseDijit dojo/dom-style dojo/_base/html jimu/utils ../utils ./clientStatistic ./styleUtils".split(" "),function(B,r,w,q,k,l,h,c){return B([r],{templateString:'\x3cdiv tabindex\x3d"0" class\x3d"has-link" role\x3d"link" style\x3d"height:100%;width:100%;"\x3e\x3cdiv data-dojo-attach-point\x3d"noDataDiv"class\x3d"no-data-tip"\x3e${nls.noData}\x3c/div\x3e\x3ca tabindex\x3d"-1" data-dojo-attach-point\x3d"numberContent" class\x3d"number-content no-trim" target\x3d"_blank"\x3e\x3cdiv data-dojo-attach-point\x3d"leftIcon" class\x3d"icon"\x3e\x3c/div\x3e\x3cdiv data-dojo-attach-point\x3d"number" class\x3d"number"\x3e\x3cdiv data-dojo-attach-point\x3d"prefix" class\x3d"prefix"\x3e\x3c/div\x3e\x3cdiv class\x3d"value-content" data-dojo-attach-point\x3d"valueContent"\x3e\x3c/div\x3e\x3cdiv data-dojo-attach-point\x3d"suffix" class\x3d"suffix"\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv data-dojo-attach-point\x3d"rightIcon" class\x3d"icon"\x3e\x3c/div\x3e\x3c/a\x3e\x3c/div\x3e',
baseClass:"infographic-number-dijit",type:"number",config:null,constructor:function(a){this.visible=a.visible},postCreate:function(){this.inherited(arguments);this._value=this._features=null;this._upgradeConfig(this.config);this.setConfig(this.config);this._updateBackGroundColor()},_upgradeConfig:function(a){(a=a&&a.dataFormat)&&"undefined"===typeof a.digitSeparator&&(a.digitSeparator=!0)},setLayerInfo:function(){},setVisible:function(a){this.visible=a},resetData:function(){this.numberValue=this._value=
this._features=this.dataSource=null},onDataSourceDataUpdate:function(a){this.inSettingPage?a&&"undefined"!==typeof a.features&&(this._features=l.cleanFeatures(a.features)):"number"===typeof a&&(this._value=a)},setDataSource:function(a){this.inherited(arguments);this.dataSource=a},setConfig:function(a){a&&(this.config=a)},startRendering:function(){this._shouldRenderNumber()&&(this._updateBackGroundColor(),this._calculateNumberValue(),"number"!==typeof this.numberValue?this.showNodata():this._renderNumber(this.numberValue))},
_calculateNumberValue:function(){if(this.inSettingPage){var a=l.getStatisticForNumber(this.config);a=h.statistic(a,this.dataSource,this._features)}else a=this._value;"undefined"!==typeof a&&!1!==a&&(this.numberValue=a)},_renderNumber:function(a){this._cleanNumberContent();this.valueContent.innerHTML=k.localizeNumber(a);this._setValueDisplay()},_setValueDisplay:function(){var a=this.config;a&&(this._setBackground(a),this._setFont(a),this._setDataFormat(a),this._setIndicatorStyle())},_shouldRenderNumber:function(){if(this.visible&&
this.config){var a;(a=this.inSettingPage?this.domNode&&this._features:this.domNode&&"number"===typeof this._value)?this.hideNodata():this.showNodata();return!!a}},_getIndicatorColor:function(){var a=!1,e=!1,f=this.config.indicators;f&&((f=l.getVaildIndicator(this.numberValue,f))&&f.valueColor&&(a=f.valueColor),f&&k.isNotEmptyObject(f.iconInfo)&&(e=f.iconInfo));return{color:a,icon:e}},_cleanNumberContent:function(){q.removeClass(this.leftIcon);q.addClass(this.leftIcon,["icon"]);q.removeClass(this.rightIcon);
q.addClass(this.rightIcon,["icon"]);this.replaceIcon&&(q.destroy(this.replaceIcon),this.replaceIcon=null);q.empty(this.valueContent);q.empty(this.prefix);q.empty(this.suffix);this._setValueColor("")},_updateBackGroundColor:function(){var a=this.config;(a=a&&a.background&&a.background.backgroundColor)&&q.setStyle(this.domNode,"backgroundColor",a)},_setBackground:function(a){if(a=a&&a.background){a.backgroundColor&&q.setStyle(this.domNode,"backgroundColor",a.backgroundColor);var e=a.alignment;e&&(q.removeClass(this.domNode),
q.addClass(this.domNode,"infographic-number-dijit"),e.horizontal&&q.addClass(this.domNode,"horizontal-"+e.horizontal),e.vertical&&q.addClass(this.domNode,"vertical-"+e.vertical));a.link?q.setAttr(this.numberContent,"href",a.link):q.removeAttr(this.numberContent,"href")}},_setFont:function(a){if(a&&a.font){var e={};c.font.setStyle(a.font,e);q.setStyle(this.number,e)}},_setDataFormat:function(a){var e="";var f=this.numberValue;var b=a.dataFormat;if(b){a=b.decimalPlaces;var d=b.digitSeparator;a&&(a=
Number(a));"percentage"===b.unit?f=k.convertNumberToPercentage(f,a,d):"thousand"===b.unit?(e=this.nls.thousandAbbreviation,f/=1E3):"million"===b.unit?(e=this.nls.millionAbbreviation,f/=1E6):"billion"===b.unit&&(e=this.nls.billionAbbreviation,f/=1E9);"percentage"!==b.unit&&(f=k.localizeNumberByFieldInfo(f,{format:{places:a,digitSeparator:d}}));e&&(f+=e);this.valueContent.innerHTML=f;b.prefix&&(this.prefix.innerHTML=k.sanitizeHTML(b.prefix));b.suffix&&(this.suffix.innerHTML=k.sanitizeHTML(b.suffix))}},
_setIndicatorStyle:function(){var a=this._getIndicatorColor();a.color&&this._setValueColor(a.color);a.icon&&this._setIndicatorIcon(a.icon)},_setValueColor:function(a){w.set(this.number,"color",a)},_setIndicatorIcon:function(a){a&&("left"===a.placement||"right"===a.placement?this._setLeftRightIcon(a):"replace"===a.placement&&this._setReplaceIcon(a))},_setReplaceIcon:function(a){var e=q.create("div",{"class":"indicator-icon "+a.icon});q.empty(this.valueContent);q.place(e,this.valueContent);w.set(e,
"color",a.color);w.set(e,"display","inline-flex")},_setLeftRightIcon:function(a){if("left"===a.placement)var e=this.leftIcon;else"right"===a.placement&&(e=this.rightIcon);q.addClass(e,"indicator-icon "+a.icon);w.set(e,"color",a.color)},showNodata:function(a){this._cleanNumberContent();q.addClass(this.domNode,"no-data");a&&(this.noDataDiv.innerHTML=k.sanitizeHTML(a))},hideNodata:function(){q.removeClass(this.domNode,"no-data")}})})},"widgets/Infographic/setting/DijitSettingFactory":function(){define("dojo/aspect dojo/_base/lang ../DijitFactory ./dijitsSetting/TextDijitSetting ./dijitsSetting/ImageDijitSetting ./dijitsSetting/ChartDijitSetting ./dijitsSetting/GaugeDijitSetting ./dijitsSetting/NumberDijitSetting".split(" "),
function(B,r,w,q,k,l,h,c){var a={},e={},f=null,b=null,d=null,g={};a._dijitsSetting=e;a.getDijitSetting=function(n){return e[n.id]};a.createDijitSetting=function(n,m,p){if(e[n.id])return e[n.id];switch(n.type){case "text":var u=q;break;case "image":u=k;break;case "chart":u=l;break;case "gauge":u=h;break;case "number":u=c}if(!u)return console.error("Unknow type:",n.type),null;var A={nls:f,config:n.config,map:b,appConfig:d,dijit:w.createDijit(n)};A.templateName=m;A.fromInitTemplate=p;r.mixin(A,g);m=
new u(A);B.after(m,"destroy",function(){delete e[n.id]},n);return e[n.id]=m};a.setNls=function(n){f=n};a.setMap=function(n){b=n};a.setContext=function(n){g=n;Object.keys(e).forEach(function(m){r.mixin(e[m],g)})};a.setAppConfig=function(n){d=n};return a})},"widgets/Infographic/setting/dijitsSetting/TextDijitSetting":function(){define("dojo/_base/declare dojo/on dojo/_base/lang ./BaseDijitSetting dijit/_WidgetBase dijit/_TemplatedMixin dijit/_WidgetsInTemplateMixin ./_dijits/BackgroundSetting ./_dijits/FontSetting dojo/text!./TextDijitSetting.html jimu/dijit/Message".split(" "),
function(B,r,w,q,k,l,h,c,a,e,f){return B([q,k,l,h],{templateString:e,type:"text",nls:null,postMixInProperties:function(){w.mixin(this.nls,window.jimuNls.common)},postCreate:function(){this._initText();this.backgroundSetting=new c({config:this.config.background,nls:this.nls});this.backgroundSetting.placeAt(this.backgroundSettingNode);this.backgroundSetting.startup();this.own(r(this.backgroundSetting,"change",w.hitch(this,function(){this._update()})));this.fontSetting=new a({config:this.config.font,
nls:this.nls});this.fontSetting.placeAt(this.fontSettingNode);this.fontSetting.startup();this.own(r(this.fontSetting,"change",w.hitch(this,function(){this._update()})));this._update()},_initText:function(){this.config.text&&this.textNode.setValue(this.config.text);this.own(r(this.textNode,"change",w.hitch(this,function(){this.config.text!==this.textNode.getValue()&&!1!==this._validText()&&this._update()})));this.own(r(this.textNode,"blur",w.hitch(this,function(){this.config.text!==this.textNode.getValue()&&
!1!==this._validText()&&this._update()})))},_validText:function(){return!1===this.textNode.isValid()?(this.message||(this.message=new f({message:this.nls.requiredFieldWarning+this.nls.text,buttons:[{label:this.nls.ok,onClick:w.hitch(this,function(){this.message.content=null;this.message.close();this.message=null})}]})),!1):!0},_update:function(){this.textNode&&this._validText()&&(this.config.text=this.textNode.getValue());this.backgroundSetting&&this.backgroundSetting.isValid()&&(this.config.background=
this.backgroundSetting.getConfig());this.fontSetting&&this.fontSetting.isValid()&&(this.config.font=this.fontSetting.getConfig());this.updateDijit()},getConfig:function(){return this._validText()&&this.backgroundSetting.isValid()&&this.fontSetting.isValid()?this.config:!1}})})},"widgets/Infographic/setting/dijitsSetting/BaseDijitSetting":function(){define(["dojo/_base/declare","dojo/_base/lang","dijit/_WidgetBase","dijit/_TemplatedMixin"],function(B,r,w,q){return B([w,q],{templateString:"\x3cdiv\x3ePlease create a sub class\x3c/div\x3e",
type:"BaseDijit",config:null,dijit:null,constructor:function(k){this.config=r.clone(k.config);this.dijit=k.dijit},setDataSource:function(k){this.dataSource=k},getConfig:function(){return this.config},updateDijit:function(){this.dijit.setConfig(this.config)}})})},"widgets/Infographic/setting/dijitsSetting/_dijits/BackgroundSetting":function(){define("dojo/_base/declare dojo/_base/lang dojo/on dojo/_base/html dojo/Evented dijit/_WidgetBase dijit/_TemplatedMixin dijit/_WidgetsInTemplateMixin dojo/text!./BackgroundSetting.html jimu/dijit/ColorPickerPopup jimu/dijit/Message dijit/form/ComboBox jimu/dijit/CheckBox jimu/dijit/ImageChooser jimu/dijit/URLInput".split(" "),
function(B,r,w,q,k,l,h,c,a,e,f){return B([l,h,c,k],{templateString:a,nls:null,_FONTS:null,_DEFAULT_CONFIG:null,postCreate:function(){this.inherited(arguments);this._FONTS="Arial;Comic Sans MS;Courier New;Garamond;Tahoma;Times New Roman;Verdana".split(";");this._DEFAULT_CONFIG={backgroundColor:"#FFF",alignment:{horizontal:"center",vertical:"middle"},link:""};this.config=r.mixin(this._DEFAULT_CONFIG,this.config);this.backgroundColorPicker=new e({appearance:{showTransparent:!1,showColorPalette:!0,showCoustom:!0,
showCoustomRecord:!0},recordUID:this.recordUID});this.backgroundColorPicker.placeAt(this.backgroundBtn);this.backgroundColorPicker.startup();this.own(w(this.backgroundColorPicker,"change",r.hitch(this,function(b){if(this.config.backgroundColor!==b)this.onSettingChange({backgroundColor:b.toHex()})})));this.own(w(this.alignLeft,"click",r.hitch(this,function(){this.alignmentBtnClickd("left");this.onSettingChange({alignment:{horizontal:"left",vertical:this.config.alignment.vertical}})})));this.own(w(this.alignCenter,
"click",r.hitch(this,function(){this.alignmentBtnClickd("center");this.onSettingChange({alignment:{horizontal:"center",vertical:this.config.alignment.vertical}})})));this.own(w(this.alignRight,"click",r.hitch(this,function(){this.alignmentBtnClickd("right");this.onSettingChange({alignment:{horizontal:"right",vertical:this.config.alignment.vertical}})})));this.own(w(this.alignTop,"click",r.hitch(this,function(){this.alignmentBtnClickd(null,"top");this.onSettingChange({alignment:{horizontal:this.config.alignment.horizontal,
vertical:"top"}})})));this.own(w(this.alignMiddle,"click",r.hitch(this,function(){this.alignmentBtnClickd(null,"middle");this.onSettingChange({alignment:{horizontal:this.config.alignment.horizontal,vertical:"middle"}})})));this.own(w(this.alignBottom,"click",r.hitch(this,function(){this.alignmentBtnClickd(null,"bottom");this.onSettingChange({alignment:{horizontal:this.config.alignment.horizontal,vertical:"bottom"}})})));this.own(w(this.linkText,"change",r.hitch(this,function(){if(this.config.link!==
this.linkText.getValue()&&!1!==this.linkText.isValid())this.onSettingChange({link:this._formatLinkValue(this.linkText.getValue())})})));this.own(w(this.linkText,"blur",r.hitch(this,function(){if(this.config.link!==this.linkText.getValue()&&!1!==this.linkText.isValid()){var b=this._formatLinkValue(this.linkText.getValue());this.onSettingChange({link:b})}})))},startup:function(){this.inherited(arguments);this.setConfig(this.config);this.refresh()},onSettingChange:function(b){this.config=r.mixin(this.config,
b);this.onChange(this.config)},onChange:function(b){this.emit("change",b)},refresh:function(){this.onSettingChange({})},isValid:function(){if(!1===this.linkText.isValid()){var b=new f({message:window.jimuNls.urlInput.invalidUrl,buttons:[{label:this.nls.ok,onClick:r.hitch(this,function(){b.content=null;b.close()})}]});return!1}return!0},getConfig:function(){return this.isValid()?this.config:!1},setConfig:function(b){if("undefined"!==typeof b){if("undefined"===typeof b.backgroundColor||""===b.backgroundColor)b.backgroundColor=
"#FFF";this.config.backgroundColor=b.backgroundColor;q.setStyle(this.backgroundColorPicker.domNode,"backgroundColor",this.config.backgroundColor);this.backgroundColorPicker.picker.refreshRecords();this.backgroundColorPicker.picker.setColor(this.config.backgroundColor,!1,!0);"undefined"!==typeof b.alignment&&(this.config.alignment=b.alignment,this.alignmentBtnClickd(this.config.alignment.horizontal,this.config.alignment.vertical));"undefined"!==typeof b.link&&(this.config.link=b.link,this.linkText.setValue(this.config.link))}},
alignmentBtnClickd:function(b,d){if(b)switch(q.removeClass(this.alignLeft,"selected"),q.removeClass(this.alignCenter,"selected"),q.removeClass(this.alignRight,"selected"),b){case "left":q.addClass(this.alignLeft,"selected");break;case "center":q.addClass(this.alignCenter,"selected");break;case "right":q.addClass(this.alignRight,"selected")}if(d)switch(q.removeClass(this.alignTop,"selected"),q.removeClass(this.alignMiddle,"selected"),q.removeClass(this.alignBottom,"selected"),d){case "top":q.addClass(this.alignTop,
"selected");break;case "middle":q.addClass(this.alignMiddle,"selected");break;case "bottom":q.addClass(this.alignBottom,"selected")}},_formatLinkValue:function(b){var d="";return d=/^http(s?):\/\//.test(b)||""===b?b:/^\/\//.test(b)?"http:"+b:"http://"+b}})})},"jimu/dijit/ColorPickerPopup":function(){define("dojo/_base/declare dijit/_WidgetBase dijit/_TemplatedMixin dojo/_base/lang dojo/_base/html dojo/on dojo/_base/Color dijit/TooltipDialog dijit/popup jimu/dijit/ColorPalette jimu/utils".split(" "),
function(B,r,w,q,k,l,h,c,a,e,f){return B([r,w],{baseClass:"jimu-color-pickerPopup",declaredClass:"jimu.dijit.ColorPickerPopup",templateString:'\x3cdiv class\x3d"jimu-color-picker"\x3e\x3c/div\x3e',_isTooltipDialogOpened:!1,color:null,showLabel:!1,around:null,_ENABLE:!0,recordUID:"",postCreate:function(){this.inherited(arguments);this._createTooltipDialog(this.domNode);this._hideTooltipDialog()},destroy:function(){a.close(this.tooltipDialog);this.picker.destroy();this.tooltipDialog.destroy();this.inherited(arguments)},
enable:function(){this._ENABLE=!0;k.removeClass(this.domNode,"disable")},disable:function(){this._ENABLE=!1;k.addClass(this.domNode,"disable")},isPartOfPopup:function(b){var d=this.tooltipDialog.domNode;return b===d||k.isDescendant(b,d)},hideTooltipDialog:function(){this._hideTooltipDialog()},showTooltipDialog:function(){this._showTooltipDialog()},initUI:function(){this.picker.initUI()},isOpen:function(){return this._isTooltipDialogOpened},_showTooltipDialog:function(){a.open({parent:this.getParent(),
popup:this.tooltipDialog,around:this.around?this.around:this.domNode,orient:this.orient});this._isTooltipDialogOpened=!0},_hideTooltipDialog:function(){a.hide(this.tooltipDialog);this._isTooltipDialogOpened=!1},_createTooltipDialog:function(){var b=k.create("div");this.tooltipDialog=new c({content:b});k.addClass(this.tooltipDialog.domNode,"jimu-color-picker-popup-dialog");var d=new e({appearance:{showTransparent:!1,showColorPalette:!0,showCoustom:!0,showColorPickerOK:!0,showColorPickerApply:!0,showCoustomRecord:!0,
closeDialogWhenChange:!0},recordUID:this.recordUID,onChange:q.hitch(this,function(g){g&&(g=new h(g),this.setColor(g),this.onChange(g))})});d.placeAt(b);d.startup();this.own(l(d,"close",q.hitch(this,function(){this._hideTooltipDialog()})));this.own(l(d,"change-style",q.hitch(this,function(){this._hideTooltipDialog();this._showTooltipDialog()})));this.own(l(this.domNode,"click",q.hitch(this,function(g){g.stopPropagation();g.preventDefault();this._isTooltipDialogOpened?this._hideTooltipDialog():!1!==
this._ENABLE&&this._showTooltipDialog()})));this.own(l(document,"click",q.hitch(this,function(g){this.isPartOfPopup(g.srcElement||g.target)||this._hideTooltipDialog()})));this.picker=d},setColor:function(b){if(b instanceof h){null===this.color&&!0===this.showLabel&&this._changeLabel(b);var d=b.toHex();this.color=b;k.setStyle(this.domNode,"backgroundColor",d);this.picker&&(this.picker.refreshRecords(),this.picker.setColor(d,!1,!0));this.showLabel&&this._changeLabel(this.color)}},getColor:function(){return this.color},
_changeLabel:function(b){k.empty(this.domNode);k.create("span",{innerHTML:b.toHex(),className:"color-label",style:{color:f.invertColor(b.toHex())}},this.domNode)},onChange:function(b){b&&this.showLabel&&this._changeLabel(b)},changeColor:function(){this.picker&&this.picker.changeColor();this.showLabel&&this._changeLabel(this.color)},setTitle:function(b){this.domNode.title=b},getTooltipDialog:function(){return this.tooltipDialog||null}})})},"widgets/Infographic/setting/dijitsSetting/_dijits/FontSetting":function(){define("dojo/_base/declare dojo/_base/lang dojo/on dojo/_base/html dojo/_base/array jimu/utils dojo/Evented dijit/_WidgetBase dijit/_TemplatedMixin dijit/_WidgetsInTemplateMixin dojo/text!./FontSetting.html jimu/dijit/ColorPickerPopup dijit/form/HorizontalSlider dojo/store/Memory dijit/form/NumberSpinner jimu/dijit/CheckBox jimu/dijit/ImageChooser dijit/form/Select".split(" "),
function(B,r,w,q,k,l,h,c,a,e,f,b,d,g){return B([c,a,e,h],{templateString:f,nls:null,_FONTS:null,_MIN_TEXT_SIZE:12,_MAX_TEXT_SIZE:60,_INTERVAL_TEXT_SIZE:2,_DEFAULT_CONFIG:null,postCreate:function(){this.inherited(arguments);this._FONTS="Arial;Comic Sans MS;Courier New;Garamond;Tahoma;Times New Roman;Verdana".split(";");this._DEFAULT_CONFIG={font:{fontFamily:this._FONTS[0],bold:!1,italic:!1,underline:!1},fontSize:"24",textColor:"#282828"};this.config=r.mixin(r.clone(this._DEFAULT_CONFIG),this.config);
k.forEach(this._FONTS,r.hitch(this,function(u){this.fontSelect.addOption({value:u,label:u})}));for(var n=new g({}),m=this._MIN_TEXT_SIZE,p=this._MAX_TEXT_SIZE;m<=p;m+=this._INTERVAL_TEXT_SIZE)n.put({id:m,name:m});this.textSizeSelect.store=n;this.textSizeSelect.validator=r.hitch(this,function(){var u=this.textSizeSelect.getValue();return null!==u&&""!==u?l.isLocalizedNumber(u):!1});this.textSizeSlider=new d({name:"slider",value:0,minimum:this._MIN_TEXT_SIZE,maximum:this._MAX_TEXT_SIZE,discreteValues:this._MAX_TEXT_SIZE-
this._MIN_TEXT_SIZE+1,intermediateChanges:!0,showButtons:!1,style:"display: inline-block;"},this.sliderBar);this.textSizeSlider.startup();this.textColorPicker=new b({appearance:{showTransparent:!1,showColorPalette:!0,showCoustom:!0,showCoustomRecord:!0},recordUID:this.recordUID});this.textColorPicker.placeAt(this.textColorBtn);this.textColorPicker.startup();this.own(w(this.fontSelect,"change",r.hitch(this,function(u){if(this.config.font.fontFamily!==u)this.onSettingChange({font:{fontFamily:u,bold:this.config.font.bold,
italic:this.config.font.italic,underline:this.config.font.underline}})})));this._initAppearance();this.own(w(this.bold,"click",r.hitch(this,function(){var u=!q.hasClass(this.bold,"selected");this.fontBtnClickd({bold:u});this.onSettingChange({font:{fontFamily:this.config.font.fontFamily,bold:u,italic:this.config.font.italic,underline:this.config.font.underline}})})));this.own(w(this.italic,"click",r.hitch(this,function(){var u=!q.hasClass(this.italic,"selected");this.fontBtnClickd({italic:u});this.onSettingChange({font:{fontFamily:this.config.font.fontFamily,
bold:this.config.font.bold,italic:u,underline:this.config.font.underline}})})));this.own(w(this.underline,"click",r.hitch(this,function(){var u=!q.hasClass(this.underline,"selected");this.fontBtnClickd({underline:u});this.onSettingChange({font:{fontFamily:this.config.font.fontFamily,bold:this.config.font.bold,italic:this.config.font.italic,underline:u}})})));this.own(w(this.textSizeSelect,"change",r.hitch(this,function(u){this.config.fontSize!==u&&!1!==this.textSizeSelect.isValid()&&(this.setTextSize(u),
this.onSettingChange({fontSize:l.parseNumberToUSENFormat(u)}))})));this.own(w(this.textSizeSlider,"change",r.hitch(this,function(u){this.config.fontSize!==u&&(this.setTextSize(u),this.onSettingChange({fontSize:u}))})));this.own(w(this.textColorPicker,"change",r.hitch(this,function(u){if(this.config.textColor!==u)this.onSettingChange({textColor:u.toHex()})})))},startup:function(){this.inherited(arguments);this.setConfig(this.config);this.refresh()},onSettingChange:function(n){this.config=r.mixin(this.config,
n);this.onChange(this.config)},onChange:function(n){this.emit("change",n)},refresh:function(){this.onSettingChange({})},isValid:function(){return!1===this.textSizeSelect.isValid()?!1:!0},getConfig:function(){return this.isValid()?this.config:!1},setConfig:function(n){if("undefined"!==n){"undefined"!==typeof n.font&&(this.config.font=n.font,this.config.font.fontFamily&&this.fontSelect.set("value",this.config.font.fontFamily),this.fontBtnClickd(this.config.font));"undefined"!==typeof n.fontSize&&(this.config.fontSize=
n.fontSize,this.setTextSize(this.config.fontSize));if("undefined"===typeof n.textColor||""===n.textColor)n.textColor=this._DEFAULT_CONFIG.textColor;this.config.textColor=n.textColor;q.setStyle(this.textColorPicker.domNode,"backgroundColor",this.config.textColor);this.textColorPicker.picker.refreshRecords();this.textColorPicker.picker.setColor(this.config.textColor,!1,!0)}},setTextSize:function(n){var m=l.localizeNumber(n);m!==this.textSizeSelect.getValue()&&this.textSizeSelect.set("value",m);n=l.parseNumberToUSENFormat(n);
n!==this.textSizeSlider.getValue()&&(n>this._MAX_TEXT_SIZE?n=this._MAX_TEXT_SIZE:n<this._MIN_TEXT_SIZE&&(n=this._MIN_TEXT_SIZE),this.textSizeSlider.set("value",n))},fontBtnClickd:function(n){!0===n.bold?q.addClass(this.bold,"selected"):!1===n.bold&&q.removeClass(this.bold,"selected");!0===n.italic?q.addClass(this.italic,"selected"):!1===n.italic&&q.removeClass(this.italic,"selected");!0===n.underline?q.addClass(this.underline,"selected"):!1===n.underline&&q.removeClass(this.underline,"selected")},
_initAppearance:function(){this.appearance&&(!1===this.appearance.bold&&q.addClass(this.bold,"hide"),!1===this.appearance.italic&&q.addClass(this.italic,"hide"),!1===this.appearance.underline&&q.addClass(this.underline,"hide"))}})})},"widgets/Infographic/setting/dijitsSetting/ImageDijitSetting":function(){define("dojo/_base/declare dojo/on dojo/_base/html dojo/_base/lang ./BaseDijitSetting dijit/_WidgetBase dijit/_TemplatedMixin dijit/_WidgetsInTemplateMixin ./_dijits/BackgroundSetting dojo/text!./ImageDijitSetting.html jimu/dijit/ImageChooser".split(" "),
function(B,r,w,q,k,l,h,c,a,e,f){return B([k,l,h,c],{templateString:e,type:"image",nls:null,postMixInProperties:function(){q.mixin(this.nls,window.jimuNls.common)},postCreate:function(){this.backgroundSetting=new a({config:this.config.background,nls:this.nls});this.backgroundSetting.placeAt(this.backgroundSettingNode);this.backgroundSetting.startup();this.own(r(this.backgroundSetting,"change",q.hitch(this,function(){this._update()})));this.imageChooser=new f({label:this.nls.upload,cropImage:!1,showSelfImg:!1,
format:[f.GIF,f.JPEG,f.PNG],goldenWidth:30,goldenHeight:30,maxSize:1024});w.place(this.imageChooser.domNode,this.imageChooserNode);this.own(r(this.imageChooser,"imageChange",q.hitch(this,"_onImgChoosed")));this._update()},_update:function(){this.backgroundSetting&&(this.config.background=this.backgroundSetting.getConfig());this.updateDijit()},_onImgChoosed:function(b,d){this.config.image=b;this.config.alt=d&&d.fileName?d.fileName:"";this._update()},getConfig:function(){return this.config}})})},"widgets/Infographic/setting/dijitsSetting/ChartDijitSetting":function(){define("dojo/on dojo/query dojo/_base/lang dojo/_base/html dojo/_base/declare dojo/Evented dojo/Deferred ./BaseDijitSetting dijit/_WidgetsInTemplateMixin dojo/text!./ChartDijitSetting.html jimu/dijit/TabContainer3 jimu/utils ./_dijits/ChartSort ./_dijits/TogglePocket ./_dijits/VisibleSliderBar ./_dijits/SeriesStyle/SeriesStyle ./_dijits/Mark/Marks ./_dijits/ChartColorSetting ./_dijits/DataFields ./_dijits/Toggle ../utils dijit/form/ValidationTextBox dijit/form/Select dijit/form/RadioButton dijit/form/NumberSpinner dijit/form/TextBox".split(" "),
function(B,r,w,q,k,l,h,c,a,e,f,b,d,g,n,m,p,u,A,z,C){return k([c,a,l],{templateString:e,type:"chart",baseClass:"infographic-chart-dijit-setting",colors:"#68D2E0 #087E92 #47BCF5 #FBE66A #F29157 #C8501D #2DB7C6 #C4EEF6".split(" "),config:null,_defColor:null,_modes:null,_clusterFields:null,_valueFields:null,postMixInProperties:function(){w.mixin(this.nls,window.jimuNls.statisticsChart)},constructor:function(v){this.inherited(arguments);v.nls&&(this.nls=v.nls);this.config=v.config;this._initChartKeyProperty(this.config);
this._defColor=C.getDefaultColorOfTheme(v.appConfig&&v.appConfig.theme)},postCreate:function(){this.inherited(arguments);this._initDijitInTemplate();this._ignoreEvent();this._createInitNodeByType(this.config)},setLayerDefinition:function(v){this.definition=v=C.preProcessDefinition(v);this.seriesStyleDijit&&this.seriesStyleDijit.setLayerDefinition(v)},setLayerObject:function(v,E){this.layerObject=v;this.popupInfo=E},setConfig:function(v){this.config=C.upgradeChartAxisFormatConfig(v,this.definition,
this.popupInfo);this._initChartKeyProperty(v)},setFeatures:function(v){this.seriesStyleDijit&&(this.features=!0,this.seriesStyleDijit.setFeatures(v))},setDataSource:function(v){this.dataSource=v},render:function(){var v=new h;if(!(this.definition&&this.config&&this.dataSource&&this.features))return v.reject("No definition or config or dataSource or features, render error."),v;var E=this.dataSource;this._ignoreEvent();this._setDataSourceToDijits(E);this._initNodesByDataSource(E);(E=this.config.data&&
this.config.data.mode)||(E=this._modes&&this._modes[0]);if(!E)return v.reject("Can not get a valid mode."),v;this._onModeChanged(E,!this.isTemplateConfig(this.config));this._updateNodeBeforeSetConfig(this.config);this._setConfig(this.config);this._careEvent().then(function(){this.tryAutoRuning();v.resolve()}.bind(this));return v},_initDijitInTemplate:function(){this.valueFields=new A;this.valueFields.placeAt(this.valueFieldsDiv);this.own(B(this.valueFields,"change",this._onValueFieldsChanged.bind(this)));
this.bgColor=new u;this.bgColor.placeAt(this.bgColorDiv,"last");this.own(B(this.bgColor,"change",this.onChange.bind(this)));this.legendTextColor=new u;this.legendTextColor.placeAt(this.legendTextColorDiv,"last");this.own(B(this.legendTextColor,"change",this.onChange.bind(this)));this.horTitleColor=new u;this.horTitleColor.placeAt(this.horTitleColorDiv,"last");this.own(B(this.horTitleColor,"change",this.onChange.bind(this)));this.horTextColor=new u;this.horTextColor.placeAt(this.horTextColorDiv,"last");
this.own(B(this.horTextColor,"change",this.onChange.bind(this)));this.hAxisKeepIntScale=new z;this.hAxisKeepIntScale.placeAt(this.hAxisKeepIntScaleRow,"last");this.own(B(this.hAxisKeepIntScale,"change",this.onChange.bind(this)));this.hAxisSeparator=new z;this.hAxisSeparator.placeAt(this.hAxisSeparatorRow,"last");this.own(B(this.hAxisSeparator,"change",this.onChange.bind(this)));this.vAxisSeparator=new z;this.vAxisSeparator.placeAt(this.vAxisSeparatorRow,"last");this.own(B(this.vAxisSeparator,"change",
this.onChange.bind(this)));this.verTitleColor=new u;this.verTitleColor.placeAt(this.verTitleColorDiv,"last");this.own(B(this.verTitleColor,"change",this.onChange.bind(this)));this.verTextColor=new u;this.verTextColor.placeAt(this.verTextColorDiv,"last");this.own(B(this.verTextColor,"change",this.onChange.bind(this)));this.vAxisKeepIntScale=new z;this.vAxisKeepIntScale.placeAt(this.vAxisKeepIntScaleRow,"last");this.own(B(this.vAxisKeepIntScale,"change",this.onChange.bind(this)));this.dataLabelTextColor=
new u;this.dataLabelTextColor.placeAt(this.dataLabelTextColorDiv,"last");this.own(B(this.dataLabelTextColor,"change",this.onChange.bind(this)))},_initChartKeyProperty:function(v){if(v){var E=v.data;v=v.display;E?(this.keyProperties={type:E.type},v&&(this.keyProperties.stack=v.stack,this.keyProperties.area=v.area,this.keyProperties.innerRadius=v.innerRadius)):(this.keyProperties={},console.error("Invalid configuration file or template"))}},isTemplateConfig:function(v){return!(!v||!v.data||v.data.mode)},
tryAutoRuning:function(){if(this.canAutoRunning())this.onChange()},canAutoRunning:function(){var v=this._modes&&this._modes[0];return this.isTemplateConfig(this.config)&&"count"===v},_updateNodeBeforeSetConfig:function(v){v&&(v=(v=v.data.clusterField)||this.clusterFieldSelect.get("value"),this._updateNumberOptionDisplay(v))},_setDataSourceToDijits:function(v){this.seriesStyleDijit&&this.seriesStyleDijit.setDataSource(v)},_onChartModeChanged:function(v){this.ignoreChangeEvents||(this._onModeChanged(v),
this.onChange())},_onModeChanged:function(v,E){this.reset();var L=E?this.config.data.clusterField:this.clusterFieldSelect.get("value");this._updateElementDisplayByChartMode(v);this._chartModeTriggerForModeSelect(v);this._chartModeTriggerForDateOption(L);this._chartModeTriggerForSort(v);this._chartModeTriggerForLegend(v);this._chartModeTriggerForValueFields(v);this._chartModeTriggerForSeriesStyle(v,E);this._emitSettingChange(v,L)},_emitSettingChange:function(v,E){E=E||this.clusterFieldSelect.get("value");
v=v||this.chartModeSelect.get("value");E=this._isClusterDateType(E);this.emit("chartSettingChanged",{mode:v,isDataType:E})},_chartModeTriggerForModeSelect:function(v){C.updateOptions(this.chartModeSelect,null,v);this._updateSelectTitleByValue(this.chartModeSelect,v)},_chartModeTriggerForSort:function(v){this.chartSortDijit.setMode(v);v=this._getSortFields(v,!0);this.chartSortDijit.setFields(v)},_chartModeTriggerForLegend:function(v){var E=this.config.display&&this.config.display.seriesStyle;this._updateLegendDisplay(v,
E&&E.type)},_chartModeTriggerForValueFields:function(v){this._shouldValueFieldAsSingleMode(v)?this.valueFields.setSingleMode():this.valueFields.setMultipleMode()},_chartModeTriggerForSeriesStyle:function(v,E){var L=this.config&&this.config.data,Q=E?L&&L.clusterField:this.clusterFieldSelect.get("value");E=E?L&&L.valueFields:this.valueFields.getSelectedFieldNames();this.seriesStyleDijit.render(v,Q,E)},_chartModeTriggerForDateOption:function(v){v=v||this.clusterFieldSelect.get("value");this._updateDateOptionContainerDisplay(v)},
reset:function(){var v=this._clusterFields&&this._clusterFields[0]&&this._clusterFields[0].name;C.updateOptions(this.clusterFieldSelect,null,v);this._updateDateOptionContainerDisplay();this._updateNumberOptionDisplay(v);this.valueFields.uncheckAllFields();this.chartSortDijit.reset();this.maxLabels.set("value","");"pie"===this.keyProperties.type&&this.maxLabels.set("value",100);this.tooltipModeSelect.set("value","axis");this._updateTooltipmodeDisplay();this.clearMarks()},_setConfig:function(v){if(v){var E=
v.data;v=v.display;if(E){var L=E.clusterField;var Q=E.valueFields;var G=E.operation;var x=E.dateConfig;var D=E.sortOrder;var K=E.maxLabels;var N=E.nullValue}this.clusterFieldSelect.set("value",L);this.valueFields.selectFields(Q);this.operationSelect.set("value",G);x&&(this.periodSelect.set("value",x.minPeriod),this.showRadioBtn.setChecked(x.isNeedFilled),this.hideRadioBtn.setChecked(!x.isNeedFilled));D&&this.chartSortDijit.setConfig(D);"undefined"!==typeof K?this.maxLabels.set("value",K):this.maxLabels.set("value",
"");"undefined"!==typeof N&&(this.zeroRadioBtn.setChecked(N),this.ignoreRadioBtn.setChecked(!N));E="AUTO";if(v){var V=v.backgroundColor;E=v.displayRange||"AUTO";var aa=v.tooltip;var ca=v.seriesStyle;var va=v.innerRadius;var qa=v.legend;var ba=v.xAxis;var da=v.yAxis;var ra=v.dataLabel;var F=v.marks}ca&&this.seriesStyleDijit.setConfig(ca);"undefined"!==typeof va&&this.hollowSizeControl.setValue(va);V&&this.bgColor.setSingleColor(V);this.autoRangeRadio.setChecked("AUTO"===E);this.allRangeRadio.setChecked("ALL"===
E);aa&&"pie"!==this.keyProperties.type&&(this._updateTooltipmodeDisplay(),this.tooltipModeSelect.set("value",aa.trigger));ca=qa&&qa.show;V=(aa=qa&&qa.textStyle)&&aa.color;aa=aa&&aa.fontSize;this.legendTogglePocket.setState(!!ca);V&&this.legendTextColor.setSingleColor(V);aa&&this.legendTextSizeControl.setValue(aa);ca=da&&da.show;this.verTogglePocket.setState(!("undefined"!==typeof ca&&!ca));qa=da&&da.name;aa=da&&da.textStyle;V=da&&da.nameTextStyle;ca=da&&da.format;da=V&&V.color;V=aa&&aa.color;aa=aa&&
aa.fontSize;va=ca&&ca.type;ca=ca&&ca.digitSeparator;qa&&this.verTitle.set("value",qa);da&&this.verTitleColor.setSingleColor(da);V&&this.verTextColor.setSingleColor(V);aa&&this.verticalAxisTextSizeControl.setValue(aa);"undefined"!==typeof va&&this.vAxisKeepIntScale.setState("int"===va);"undefined"!==typeof ca&&this.vAxisSeparator.setState(ca);ca=ba&&ba.show;this.horTogglePocket.setState(!("undefined"!==typeof ca&&!ca));qa=ba&&ba.name;aa=ba&&ba.textStyle;V=ba&&ba.nameTextStyle;ca=ba&&ba.format;da=V&&
V.color;V=aa&&aa.color;aa=aa&&aa.fontSize;va=ca&&ca.type;ca=ca&&ca.digitSeparator;qa&&this.horTitle.set("value",qa);da&&this.horTitleColor.setSingleColor(da);V&&this.horTextColor.setSingleColor(V);aa&&this.horizontalAxisTextSizeControl.setValue(aa);"undefined"!==typeof va&&this.hAxisKeepIntScale.setState("int"===va);"undefined"!==typeof ca&&this.hAxisSeparator.setState(ca);ca=ra&&ra.show;V=(aa=ra&&ra.textStyle)&&aa.color;aa=aa&&aa.fontSize;this.dataLabelTogglePocket.setState(!!ca);V&&this.dataLabelTextColor.setSingleColor(V);
aa&&this.dataLabelSizeControl.setValue(aa);F&&this.marks.setConfig(F)}},clearMarks:function(){this.marks&&this.marks.setConfig({})},isValid:function(){return this.definition?this.maxLabels.isValid()&&this.hollowSizeControl.isValid()&&this.legendTextSizeControl.isValid()&&this.verticalAxisTextSizeControl.isValid()&&this.horizontalAxisTextSizeControl.isValid()&&this.dataLabelSizeControl.isValid():!1},getConfig:function(v){if(!this.isValid(v))return!1;var E=this.keyProperties.type;v={type:E,stack:this.keyProperties.stack,
area:this.keyProperties.area,innerRadius:this.keyProperties.innerRadius};var L=this.chartModeSelect.get("value");v.mode=L;if("feature"===L||"category"===L||"count"===L){var Q=this.clusterFieldSelect.get("value");v.clusterField=Q}this._isClusterDateType(Q)&&(L={},L.minPeriod=this.periodSelect.get("value"),L.isNeedFilled=this.showRadioBtn.checked,v.dateConfig=L);v.nullValue=this.zeroRadioBtn.checked;v.operation=this.operationSelect.get("value");v.valueFields=this.valueFields.getSelectedFieldNames();
v.sortOrder=this.chartSortDijit.getConfig();v.maxLabels=this.maxLabels.get("value")||void 0;v.backgroundColor=this.bgColor.getSingleColor();v.displayRange=this.autoRangeRadio.checked?"AUTO":"ALL";"pie"!==E?(L={confine:!0,trigger:this.tooltipModeSelect.get("value")},v.tooltip=L):v.tooltip={confine:!0,trigger:"item"};L={textStyle:{}};var G=this.legendTogglePocket.visible();L.show=G?this.legendTogglePocket.getState():!1;L.textStyle.color=this.legendTextColor.getSingleColor();L.textStyle.fontSize=this.legendTextSizeControl.getValue();
v.legend=L;L={textStyle:{}};L.show=this.horTogglePocket.getState();if(G=this.horTitle.get("value"))L.name=b.stripHTML(G),L.nameTextStyle={},L.nameTextStyle.color=this.horTitleColor.getSingleColor();L.textStyle.color=this.horTextColor.getSingleColor();L.textStyle.fontSize=this.horizontalAxisTextSizeControl.getValue();G={};C.isValueAxis(!1,E)&&(G={type:this.hAxisKeepIntScale.getState()?"int":"float"});if(this._isNumberOptionValid(!1,Q,E)){var x=this.hAxisSeparator.getState();G.digitSeparator=x}L.format=
G;v.xAxis=L;L={textStyle:{}};L.show=this.verTogglePocket.getState();if(G=this.verTitle.get("value"))L.name=b.stripHTML(G),L.nameTextStyle={},L.nameTextStyle.color=this.verTitleColor.getSingleColor();L.textStyle.color=this.verTextColor.getSingleColor();L.textStyle.fontSize=this.verticalAxisTextSizeControl.getValue();G={};C.isValueAxis(!0,E)&&(x=this.vAxisKeepIntScale.getState(),G.type=x?"int":"float");this._isNumberOptionValid(!0,Q,E)&&(Q=this.vAxisSeparator.getState(),G.digitSeparator=Q);L.format=
G;v.yAxis=L;Q={textStyle:{}};Q.show=this.dataLabelTogglePocket.getState();Q.textStyle.color=this.dataLabelTextColor.getSingleColor();Q.textStyle.fontSize=this.dataLabelSizeControl.getValue();v.dataLabel=Q;v.innerRadius=this.hollowSizeControl.getValue();if(this.marks){Q=this.marks.getConfig();if(!1===Q)return!1;v.marks=Q}this.seriesStyleDijit&&(Q=this.seriesStyleDijit.getConfig(),v.seriesStyle=Q);if(v=C.getChartConfig(v))return this.config=v;this.dijit.clearChart()},onChange:function(){this.ignoreChangeEvents||
(this.getConfig(),this.updateDijit())},updateDijit:function(){b.isEqual(this.cacheConfig,this.config)||(this.dijit.setConfig(this.config),this.dijit.startRendering());this.cacheConfig=null;this.cacheConfig=w.clone(this.config)},_createInitNodeByType:function(v){if(v=v.data){v=v.type;var E=[{title:this.nls.data,content:this.dataSection},{title:this.nls.display,content:this.displaySection}];"pie"!==v&&E.push({title:this.nls.marks,content:this.marksSection});this.tabContainer=new f({average:!0,tabs:E});
"pie"!==v?(this.marks=new p({chartType:v,nls:this.nls,folderUrl:this.folderUrl,defaultColor:this._defColor.textColor}),this.marks.placeAt(this.marksSection),this.own(B(this.marks,"change",w.hitch(this,this.onChange))),this.valueFields.setMultipleMode()):this.valueFields.setSingleMode();this._updateKeepIntScaleRowDisplay();this.bgColor.setSingleColor(this._defColor.bgColor);this.seriesStyleDijit=new m({nls:this.nls,map:this.map,chartInfo:{type:this.keyProperties.type,area:this.keyProperties.area}});
this.seriesStyleDijit.placeAt(this.chartColorContainer);this.seriesStyleDijit.startup();this.own(B(this.seriesStyleDijit,"change",w.hitch(this,function(L){L=L&&L.type;var Q=this.chartModeSelect.get("value");this._updateLegendDisplay(Q,L);this.onChange()})));this.hollowSizeControl=new n({min:0,max:60,step:1,value:this.keyProperties.innerRadius||0});this.own(B(this.hollowSizeControl,"change",w.hitch(this,this.onChange)));this.hollowSizeControl.placeAt(this.hollowSize);this.legendTogglePocket=new g({titleLabel:this.nls.legend,
content:this.legendTogglePocketContent,className:"section-item column-type bar-type line-type pie-type"});this.legendTogglePocket.setState(!1);this.own(B(this.legendTogglePocket,"change",w.hitch(this,this.onChange)));this.legendTogglePocket.placeAt(this.displaySection);this.legendTextColor.setSingleColor(this._defColor.textColor);this.legendTextSizeControl=new n({min:6,max:40,step:1,value:12});this.own(B(this.legendTextSizeControl,"change",w.hitch(this,this.onChange)));this.legendTextSizeControl.placeAt(this.legendTextSize);
this.verTogglePocket=new g({titleLabel:this.nls.verticalAxis,content:this.verTogglePocketContent,className:"section-item column-type bar-type line-type"});this.verTogglePocket.setState(!1);this.own(B(this.verTogglePocket,"change",w.hitch(this,this.onChange)));this.verTogglePocket.placeAt(this.displaySection);this.verTextColor.setSingleColor(this._defColor.textColor);this.verTitleColor.setSingleColor(this._defColor.textColor);this.verticalAxisTextSizeControl=new n({min:6,max:40,step:1,value:12});this.own(B(this.verticalAxisTextSizeControl,
"change",w.hitch(this,this.onChange)));this.verticalAxisTextSizeControl.placeAt(this.verTextSize);this.vAxisKeepIntScale.setState(!1);this.horTogglePocket=new g({titleLabel:this.nls.horizontalAxis,content:this.horTogglePocketContent,className:"section-item column-type bar-type line-type"});this.horTogglePocket.setState(!1);this.own(B(this.horTogglePocket,"change",w.hitch(this,this.onChange)));this.horTogglePocket.placeAt(this.displaySection);this.horTextColor.setSingleColor(this._defColor.textColor);
this.horTitleColor.setSingleColor(this._defColor.textColor);this.horizontalAxisTextSizeControl=new n({min:6,max:40,step:1,value:12});this.own(B(this.horizontalAxisTextSizeControl,"change",w.hitch(this,this.onChange)));this.horizontalAxisTextSizeControl.placeAt(this.horTextSize);this.hAxisKeepIntScale.setState(!1);this.dataLabelTogglePocket=new g({titleLabel:this.nls.dataLabels,content:this.dataLabelTogglePocketContent,className:"section-item pie-type"});this.dataLabelTogglePocket.setState(!1);this.own(B(this.dataLabelTogglePocket,
"change",w.hitch(this,this.onChange)));this.dataLabelTogglePocket.placeAt(this.displaySection);this.dataLabelTextColor.setSingleColor(this._defColor.textColor);this.dataLabelSizeControl=new n({min:6,max:40,step:1,value:12});this.own(B(this.dataLabelSizeControl,"change",w.hitch(this,this.onChange)));this.dataLabelSizeControl.placeAt(this.dataLabelTextSize);this.chartSortDijit=new d({nls:this.nls});this.own(B(this.chartSortDijit,"change",w.hitch(this,this.onChange)));this.chartSortDijit.placeAt(this.chartSort);
this.tabContainer.placeAt(this.domNode);"pie"===v?(this.maxLabels.constraints={min:1,max:100},this.maxLabels.set("value",100),this.maxLabels.required=!0):(this.maxLabels.constraints={min:1,max:3E3},this.maxLabels.required=!1);this._updateElementDisplayByChartType(v)}},_ignoreEvent:function(){this.ignoreChangeEvents=!0},_careEvent:function(){var v=new h;setTimeout(function(){this.ignoreChangeEvents=!1;v.resolve()}.bind(this),200);return v},_updateSelectTitleByValue:function(v,E){(E=v.getOptions(E))&&
"undefined"!==typeof E.label&&v.set("title",E.label)},_updateLegendDisplay:function(v,E){v=v||this.chartModeSelect.get("value");v=this._shouldLegendDisplay(v,E);E=this.keyProperties.type;v?this._showLegend(E):this._hideLegend()},_getValueFields:function(){return this.valueFields.getSelectedFieldNames()},_getSortFields:function(v,E){var L=this.definition;if(L&&v&&(E=E?this.config.data&&this.config.data.valueFields:this._getValueFields(),"feature"===v||E&&E[0])){var Q=[];"feature"===v?(Q=w.clone(L.fields),
Q=C.getNotGeometryFields(Q)):E&&(Q=C.getFieldInfosByFieldName(E,L));return Q.map(function(G){return{value:G.name,label:G.alias||G.name}})}},_initNodesByDataSource:function(v){this._initInfoByDataSource(v);this._fillModeSelect(this._modes);this._fillClusterFieldSelect(this._clusterFields);this._fillValueFieldLists(this._valueFields)},_initInfoByDataSource:function(v){v&&(this._modes=this._getSupportedModes(v,this.definition),v=this._getSupportFields(this.definition),this._clusterFields=v[0],this._valueFields=
v[1])},_getSupportedModes:function(v,E){if(E&&v){var L=!1,Q=["feature","category","count","field"];if(v=v.frameWorkDsId)v=(this.appConfig.dataSource&&this.appConfig.dataSource.dataSources)[v],"FeatureStatistics"===v.type&&(L=!0,Q=0<(w.clone(v.dataSchema).groupByFields||[]).length?C.hasNumberFields(E)?["category","count"]:["count"]:["field"]);L||C.hasNumberFields(E)||(Q=["count"]);return Q}},_fillModeSelect:function(v){v&&(this.chartModeSelect.removeOption(this.chartModeSelect.getOptions()),v.forEach(function(E){"feature"===
E?this.chartModeSelect.addOption({value:"feature",label:this.nls.featureOption}):"category"===E?this.chartModeSelect.addOption({value:"category",label:this.nls.categoryOption}):"count"===E?this.chartModeSelect.addOption({value:"count",label:this.nls.countOption}):"field"===E&&this.chartModeSelect.addOption({value:"field",label:this.nls.fieldOption})}.bind(this)))},_getSupportFields:function(v){if(v){var E=w.clone(v.fields);if(E&&E.length){E.forEach(function(Q){Q.checked&&(Q.checked=!1)});var L=v.groupByFields;
v=C.getClusterFields(E,L);E=C.getValueFields(E,L,v);return[v,E]}}},_fillClusterFieldSelect:function(v){v=v.map(function(E){return{label:E.alias||E.name,value:E.name}});C.updateOptions(this.clusterFieldSelect,v)},_fillValueFieldLists:function(v){this.valueFields.setFields(v)},_valueFieldsTriggerForTooltipMode:function(){this._updateTooltipmodeDisplay()},_valueFieldsTriggerForSeriesStyle:function(){var v=this.chartModeSelect.get("value"),E=this.clusterFieldSelect.get("value"),L=this.valueFields.getSelectedFieldNames();
this.seriesStyleDijit.render(v,E,L)},_valueFieldsTriggerForChartSort:function(){var v=this.chartModeSelect.get("value");v=this._getSortFields(v);this.chartSortDijit.setFields(v)},_onClusterFieldChanged:function(v){if(!this.ignoreChangeEvents){var E=this.chartModeSelect.get("value");this._clusterFieldChangeTriggerForDateOption(v);this._clusterFieldChangeTriggerForSeriesStyle(E,v);this._clusterFieldChangeTriggerForNumberOption(v);this.onChange();this._emitSettingChange(E,v)}},_clusterFieldChangeTriggerForDateOption:function(v){this._updateDateOptionContainerDisplay(v)},
_clusterFieldChangeTriggerForSeriesStyle:function(v,E){var L=this.valueFields.getSelectedFieldNames();this.seriesStyleDijit.render(v,E,L)},_updateKeepIntScaleRowDisplay:function(){var v=C.isValueAxis(!0,this.keyProperties.type);this._updateAxisIntScaleRowDisplay(!0,v);this._updateAxisIntScaleRowDisplay(!1,!v)},_updateNumberOptionDisplay:function(v){var E=this._isNumberOptionValid(!0,v,this.keyProperties.type);v=this._isNumberOptionValid(!1,v,this.keyProperties.type);E?this._updateAxisNumberOptionDisplay(!0,
!0):this._updateAxisNumberOptionDisplay(!0,!1);v?this._updateAxisNumberOptionDisplay(!1,!0):this._updateAxisNumberOptionDisplay(!1,!1)},_clusterFieldChangeTriggerForNumberOption:function(v){this._updateNumberOptionDisplay(v)},_onValueFieldsChanged:function(){this.ignoreChangeEvents||(this._valueFieldsTriggerForSeriesStyle(),this._valueFieldsTriggerForChartSort(),this._valueFieldsTriggerForTooltipMode(),this.onChange())},_shouldShowDateOption:function(v){var E=this.chartModeSelect.get("value");v=v||
this.clusterFieldSelect.get("value");v=C.isDateField(v,this.definition);return("category"===E||"count"===E)&&v},_shouldShowTooltipMode:function(){if("pie"===this.keyProperties.type)return!1;var v=this.chartModeSelect.get("value");return"count"===v||"field"===v?!1:1<this.valueFields.getSelectedFieldNames().length},_showDateOptionContainer:function(v){"pie"!==v&&this._showPeriodsRecordsDiv();this._showPeridoDiv()},_hideDateOptionContainer:function(){this._hidePeridoDiv();this._hidePeriodsRecordsDiv()},
_showPeridoDiv:function(){q.setStyle(this.periodDiv,"display","")},_hidePeridoDiv:function(){q.setStyle(this.periodDiv,"display","none")},_showPeriodsRecordsDiv:function(){q.setStyle(this.periodsRecordsDiv,"display","")},_hidePeriodsRecordsDiv:function(){q.setStyle(this.periodsRecordsDiv,"display","none")},_showTooltipMode:function(){q.setStyle(this.tooltipDiv,"display","")},_hideTooltipMode:function(){q.setStyle(this.tooltipDiv,"display","none")},_hideLegend:function(){this.legendTogglePocket&&this.legendTogglePocket.hide()},
_showLegend:function(){this.legendTogglePocket&&this.legendTogglePocket.show()},_updateAxisNumberOptionDisplay:function(v,E){E?this._showAxisSeparatorRow(v):this._hideAxisSeparatorRow(v)},_updateAxisIntScaleRowDisplay:function(v,E){E?this._showAxisKeepIntScaleRow(v):this._hideAxisKeepIntScaleRow(v)},_showAxisKeepIntScaleRow:function(v){v?q.removeClass(this.vAxisKeepIntScaleRow,"hide"):q.removeClass(this.hAxisKeepIntScaleRow,"hide")},_hideAxisKeepIntScaleRow:function(v){v?q.addClass(this.vAxisKeepIntScaleRow,
"hide"):q.addClass(this.hAxisKeepIntScaleRow,"hide")},_showAxisSeparatorRow:function(v){v?q.removeClass(this.vAxisSeparatorRow,"hide"):q.removeClass(this.hAxisSeparatorRow,"hide")},_hideAxisSeparatorRow:function(v){v?q.addClass(this.vAxisSeparatorRow,"hide"):q.addClass(this.hAxisSeparatorRow,"hide")},_showSectionItem:function(v){q.removeClass(v,"hide")},_hideSectionItem:function(v){q.addClass(v,"hide")},_shouldValueFieldAsSingleMode:function(v){var E=this.keyProperties.type;return("feature"===v||
"category"===v)&&"pie"===E},_isNumberOptionValid:function(v,E,L){if(C.isAxisType(L)){if(C.isValueAxis(v,L))return!0;if("field"===this.chartModeSelect.get("value"))return!1;E=E||this.clusterFieldSelect.get("value");return this.isClusterNumberType(E)}},isClusterNumberType:function(v){return C.isNumberType(v,this.definition,!0)},_shouldLegendDisplay:function(v,E){if("pie"===this.keyProperties.type)var L=!0;else L=!0,L="count"===v||"field"===v?!1:"layerSymbol"!==E;return L},_tryGetLayerIdFromDataSource:function(v){if(v){var E=
v.layerId;v=v.frameWorkDsId;!E&&v&&(v=C.parseDataSourceId(v))&&"undefined"!==v.layerId&&(E=v.layerId);return E}},_updateDateOptionContainerDisplay:function(v){v=this._shouldShowDateOption(v);var E=this.keyProperties.type;v?this._showDateOptionContainer(E):this._hideDateOptionContainer()},_updateTooltipmodeDisplay:function(){this._shouldShowTooltipMode()?this._showTooltipMode():this._hideTooltipMode()},_isClusterDateType:function(v){return this._shouldShowDateOption(v)},_updateElementDisplayByChartMode:function(v){var E=
v+"-mode";r(".section-item",this.dataSection).forEach(w.hitch(this,function(L){q.hasClass(L,E)?this._showSectionItem(L):this._hideSectionItem(L)}))},_updateElementDisplayByChartType:function(v){var E=v+"-type";r(".section-item",this.displaySection).forEach(w.hitch(this,function(L){q.hasClass(L,E)?this._showSectionItem(L):this._hideSectionItem(L)}))},_showChartNoData:function(v){setTimeout(function(){v&&this.dijit.setConfig(v);this.dijit.clearChart()}.bind(this),200)},_getDefaultFieldName:function(){if(this._clusterFieldOptions&&
this._clusterFieldOptions[0])var v=this._clusterFieldOptions[0].value;return v}})})},"widgets/Infographic/setting/dijitsSetting/_dijits/ChartSort":function(){define("dojo/_base/declare dojo/query dojo/_base/lang dojo/_base/html dojo/text!./ChartSort.html dojo/Evented dijit/_WidgetBase dijit/_TemplatedMixin dijit/_WidgetsInTemplateMixin ../../utils dijit/form/RadioButton dijit/form/Select".split(" "),function(B,r,w,q,k,l,h,c,a,e){return B([h,c,a,l],{baseClass:"infographic-chart-sort",templateString:k,
mode:"",setMode:function(f){this._ignoreEvent();this.mode=f;this._updateNodesByMode(f);this._careEvent()},setFields:function(f){this._ignoreEvent();var b=this.sortField.get("value");this._clearSortFields();e.updateOptions(this.sortField,f);e.updateOptions(this.sortField,null,b);this._careEvent()},reset:function(){this._ignoreEvent();this._clearSortFields();this._setDefaultRadio();this._resetPartItemDisplay();this._resetTdItemDisplay();this._careEvent()},_onChange:function(){this.ignoreChangeEvents||
this.emit("change")},getConfig:function(){var f=this._isAsc();if("feature"===this.mode||"category"===this.mode)var b=this.sortField.get("value");var d;"feature"!==this.mode&&(d=this.xAxisRadio.get("value"));f={isAsc:f};b&&(f.field=b);"undefined"!==typeof d&&(f.isLabelAxis=d);return f},setConfig:function(f){this._ignoreEvent();"undefined"!==typeof f.isLabelAxis&&(f.isLabelAxis?this.xAxisRadio.setChecked(!0):this.yAxisRadio.setChecked(!0),this._axisRadioTriger(f.isLabelAxis));this._selectSortBtn(f.isAsc);
f.field&&e.updateOptions(this.sortField,null,f.field);this._careEvent()},_showSortFieldTr:function(){q.removeClass(this.fieldSortPart,"hide");q.removeClass(this.sortFieldDiv,"hide")},_hideRadioPanel:function(){q.addClass(this.radioDiv,"hide")},_showRadioPanel:function(){q.removeClass(this.radioDiv,"hide")},_isAsc:function(){var f=null;if((f="feature"===this.mode?r(".asc.sort-icon",this.zSortBtn):this.xAxisRadio.checked?r(".asc.sort-icon",this.xSortBtn):r(".asc.sort-icon",this.ySortBtn))&&f[0])return q.hasClass(f[0],
"selected")},_selectSortBtn:function(f){var b=r(".asc.sort-icon",this.domNode),d=r(".desc.sort-icon",this.domNode);f?(b.addClass("selected"),d.removeClass("selected")):(b.removeClass("selected"),d.addClass("selected"))},_updateNodesByMode:function(f){f&&(f="feature"===f?f:"other",this._updatePartItemDisplayByMode(f),this._updateTdItemDisplayByMode(f))},_updateTdItemDisplayByMode:function(f){var b=f+"-mode-sort";r(".axis-tr .td-item",this.domNode).forEach(w.hitch(this,function(d){q.hasClass(d,b)?q.removeClass(d,
"hide"):q.addClass(d,"hide")}))},_updatePartItemDisplayByMode:function(f){var b=f+"-mode-sort";r(".part-item",this.domNode).forEach(w.hitch(this,function(d){q.hasClass(d,b)?q.removeClass(d,"hide"):q.addClass(d,"hide")}))},_resetTdItemDisplay:function(){r(".axis-tr .td-item",this.domNode).forEach(w.hitch(this,function(f){q.removeClass(f,"hide")}))},_resetPartItemDisplay:function(){r(".part-item",this.domNode).forEach(w.hitch(this,function(f){q.removeClass(f,"hide")}))},_setDefaultRadio:function(){this.xAxisRadio.set("value",
!0)},_clearSortFields:function(){this.sortField.removeOption(this.sortField.getOptions());this.sortField.set("value")},_ignoreEvent:function(){this.ignoreChangeEvents=!0},_careEvent:function(){setTimeout(function(){this.ignoreChangeEvents=!1}.bind(this),200)},_showSort:function(f){q.addClass(this.xAxisSortDiv,"hide");q.addClass(this.yAxisSortDiv,"hide");q.addClass(this.zAxisSortDiv,"hide");"x"===f?q.removeClass(this.xAxisSortDiv,"hide"):"y"===f?q.removeClass(this.yAxisSortDiv,"hide"):"z"===f&&q.removeClass(this.zAxisSortDiv,
"hide")},_axisRadioTriger:function(f){f?this._showSort("x"):(this._showSort("y"),"category"===this.mode&&this._showSortFieldTr())},_onXaxisRadioChanged:function(f){this.ignoreChangeEvents||(this._axisRadioTriger(f),this._onChange())},_onSortBtnClicked:function(f){f.stopPropagation();f=f.target;q.hasClass(f,"asc")?this._selectSortBtn(!0):q.hasClass(f,"desc")&&this._selectSortBtn(!1);this.ignoreChangeEvents||this._onChange()},_onSortFieldsChanged:function(){this.ignoreChangeEvents||this._onChange()}})})},
"widgets/Infographic/setting/utils":function(){define(["dojo/_base/lang","../utils","jimu/utils"],function(B,r,w){var q={stringFieldType:"esriFieldTypeString",oidFieldType:"esriFieldTypeOID",dateFieldType:"esriFieldTypeDate",numberFieldTypes:["esriFieldTypeSmallInteger","esriFieldTypeInteger","esriFieldTypeSingle","esriFieldTypeDouble"],geometryFieldType:"esriFieldTypeGeometry",getFieldInfo:function(k,l){var h=null;l=l.fields;for(var c=0;c<l.length;c++)l[c].name===k&&(h=l[c]);return h},isGeometryType:function(k,
l){return(k=q.getFieldInfo(k,l))?k.type===q.geometryFieldType:!1},isStringType:function(k,l){return(k=q.getFieldInfo(k,l))?k.type===q.stringFieldType:!1},isNumberType:function(k,l,h){if(!k||!l)return!1;var c=B.clone(q.numberFieldTypes);h&&c.push(q.oidFieldType);k=q.getFieldInfo(k,l);return!k||k.domain?!1:-1<c.indexOf(k.type)},isDateField:function(k,l){return(k=q.getFieldInfo(k,l))?k.type===q.dateFieldType:!1},getNotGeometryFields:function(k){if(k&&k.length)return k.filter(function(l){return l.type!==
q.geometryFieldType})},getFieldAlias:function(k,l,h){k=q.getFieldInfo(k,l);return this.getFieldAliasByFieldInfo(k,h)},getFieldInfosByFieldName:function(k,l){return k.map(function(h){h=q.getFieldInfo(h,l);return B.clone(h)}.bind(this))},updateOptions:function(k,l,h,c){l?(l=B.clone(l),k.removeOption(k.getOptions()),k.addOption(l)):l=[];!h&&0<l.length&&(h=l[0].value);h&&(k.set("value",h),c&&(l=k.getOptions(h))&&"undefined"!==typeof l.label&&k.set("title",l.label))},getNumberFields:function(k){if(k)return k.filter(function(l){return-1<
this.numberFieldTypes.indexOf(l.type)}.bind(this))},getFieldSelectOptions:function(k){if(k)return k.map(B.hitch(this,function(l){return{label:l.alias||l.name,value:l.name}}))},preProcessDefinition:function(k){if(!k||"Table"!==k.type)return k;var l=k.fields;if(l&&l.length)return l=l.filter(function(h){return!("STAT_COUNT"===h.name&&"STAT_COUNT"===h.alias&&"esriFieldTypeInteger"===h.type)}),k.fields=null,k.fields=l,k},getTemplateNameByMainDijitJson:function(k){if(k){var l;"gauge"===k.type?l=this._getTempNameForGaugeType(k):
"chart"===k.type?l=this._getTempNameForChartType(k):"number"===k.type&&(l="number");return l}},_getTempNameForGaugeType:function(k){var l;if(k=k.config.shape)return"curved"===k?l="gauge":"vertical"===k?l="vertical_gauge":"horizontal"===k&&(l="horizontal_gauge"),l},_getTempNameForChartType:function(k){var l=k.config;if(k=l.type){var h=l.stack,c=l.area;l=l.innerRadius;if("pie"===k)var a=l?"donut":"pie";else"bar"===k||"column"===k?(a=k,"normal"===h?a="stacked_"+a:"percent"===h&&(a="percentage_stacked_"+
a)):"line"===k&&(c?(a="area","normal"===h?a="stacked_"+a:"percent"===h&&(a="percentage_stacked_"+a)):a="line");return a}},hasNumberFields:function(k){var l=!1;(k=k.fields)&&0<k.length&&(l=k.some(B.hitch(this,function(h){return 0<=this.numberFieldTypes.indexOf(h.type)})));return l},getClusterFields:function(k,l){if(l&&l.length)return k.filter(function(c){return-1<l.indexOf(c.name)});var h=[this.stringFieldType,this.dateFieldType,this.oidFieldType];h=h.concat(B.clone(this.numberFieldTypes));return k.filter(function(c){return 0<=
h.indexOf(c.type)})},getValueFields:function(k,l,h){k=k.filter(B.hitch(this,function(c){return 0<=this.numberFieldTypes.indexOf(c.type)}));l&&l.length&&h&&h.length&&(k=k.filter(function(c){return 0>h.indexOf(c.name)}));return k},getDefaultColorOfTheme:function(k){if(k){var l={bgColor:"#fff",textColor:"#000"};if(!this.appConfig)return l;"DashboardTheme"!==k.name||"default"!==k.styles[0]&&"style3"!==k.styles[0]?"DartTheme"===k.name&&(l.bgColor="#4c4c4c",l.textColor="#fff"):(l.bgColor="#222222",l.textColor=
"#fff");return l}},getLayerFromMap:function(k,l){var h=null;l&&"undefined"!==typeof k&&(h=l.getLayer(k));return h},getCustomColorSelects:function(k,l,h){if((h=this.getCategoriesByFeatures(k,h))&&h.length){h=h.filter(function(e){return!!e||0===e});var c=this.isNumberType(k,l,!0),a=[];a=(k=w.getCodedValueListForCodedValueOrSubTypes(l,k))?B.clone(k):h.map(function(e){return{label:e,value:e}});return{selects:a,isCodedValue:!!k,numberType:c}}},getCategoriesByFeatures:function(k,l){var h=[];if(!l||!l.length)return h;
l.forEach(B.hitch(this,function(c){c=c.attributes[k];0>h.indexOf(c)&&h.push(c)}));return this.sortOrderCategories(h)},sortOrderCategories:function(k){Array.isArray(k)&&k.sort(function(l,h){"string"===typeof s&&(l=l.toLowerCase());"string"===typeof t&&(h=h.toLowerCase());w.isNumberOrNumberString(l)&&(l=Number(l));w.isNumberOrNumberString(h)&&(h=Number(h));return l<h?-1:l>h?1:0}.bind(this));return k},getNextColor:function(k,l){if(k&&k.length){var h=0;l&&(l=k.indexOf(l),-1<l&&(h=l+1,h>k.length-1&&(h=
0)));return k[h]}}};B.mixin(r,q);return r})},"widgets/Infographic/setting/dijitsSetting/_dijits/TogglePocket":function(){define("dojo/_base/declare dojo/_base/lang dojo/on dojo/_base/html dojo/Evented dijit/_WidgetBase dijit/_TemplatedMixin dijit/_WidgetsInTemplateMixin jimu/utils".split(" "),function(B,r,w,q,k,l,h,c,a){return B([l,h,c,k],{baseClass:"infographic-toggle-pocket",templateString:'\x3cdiv\x3e\x3cdiv class\x3d"toggle-header"\x3e\x3cdiv data-dojo-attach-point\x3d"label" class\x3d"title"\x3e\x3c/div\x3e\x3cdiv data-dojo-attach-point\x3d"toggle" class\x3d"toggle"\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class\x3d"horizontal-line"\x3e\x3c/div\x3e\x3cdiv data-dojo-attach-point\x3d"pocket" class\x3d"pocket"\x3e\x3c/div\x3e\x3c/div\x3e',
state:!1,visibility:!0,postCreate:function(){this.inherited(arguments);this._initUI();this._initEvent();q.addClass(this.domNode,this.baseClass)},setState:function(e){this.state=!!e;this._switchState(this.state)},getState:function(){return!!this.state},visible:function(){return this.visibility},hide:function(){this.visibility=!1;q.setStyle(this.domNode,"display","none")},show:function(){this.visibility=!0;q.setStyle(this.domNode,"display","flex")},_initEvent:function(){this.own(w(this.toggle,"click",
r.hitch(this,function(){this.state=!this.state;this._switchState(this.state);this.emit("change",this.state)})))},_initUI:function(){this.titleLabel&&(this.label.innerHTML=a.sanitizeHTML(this.titleLabel));this.content&&q.place(this.content,this.pocket);this._switchState(this.state);this._switchVisible(this.visibility)},_switchState:function(e){e?this._openPocket():this._closePocket()},_switchVisible:function(e){e?this.show():this.hide()},_openPocket:function(){q.removeClass(this.toggle,"toggle-off");
q.addClass(this.toggle,"toggle-on");q.setStyle(this.pocket,"display","")},_closePocket:function(){q.removeClass(this.toggle,"toggle-on");q.addClass(this.toggle,"toggle-off");q.setStyle(this.pocket,"display","none")}})})},"widgets/Infographic/setting/dijitsSetting/_dijits/VisibleSliderBar":function(){define("dojo/_base/declare dojo/_base/lang dojo/on dojo/_base/html dojo/Evented dijit/_WidgetBase dijit/_TemplatedMixin dijit/_WidgetsInTemplateMixin dojo/store/Memory dijit/form/HorizontalSlider ../../utils dijit/form/ComboBox".split(" "),
function(B,r,w,q,k,l,h,c,a,e,f){return B([l,h,c,k],{baseClass:"infographic-visible-sliderbar",templateString:'\x3cdiv\x3e\x3cdiv style\x3d"justify-content:space-between" class\x3d"lr-flex"\x3e\x3cdiv data-dojo-attach-point\x3d"vsbSelect" data-dojo-props\x3d"style:\'width:35%;\'"data-dojo-type\x3d"dijit/form/ComboBox" \x3e\x3c/div\x3e\x3cdiv data-dojo-attach-point\x3d"vsbSlider" style:"width:57%;"\x3e\x3c/div\x3e\x3c/div\x3e',postCreate:function(){this.inherited(arguments);this.ignoreEvent=!0;this._initDefaultValue();
this._initUI();this._initEvent();q.addClass(this.domNode,this.baseClass);setTimeout(function(){this.ignoreEvent=!1}.bind(this),200);this._changes={select:!1,slider:!1}},_initDefaultValue:function(){"undefined"===typeof this.min&&(this.min=0);"undefined"===typeof this.max&&(this.min=100);"undefined"===typeof this.step&&(this.step=1);"undefined"===typeof this.value&&(this.value=50)},isValid:function(){return this.vsbSelect.isValid()},getValue:function(){return this.value},setValue:function(b){this.ignoreEvent=
!0;this.value=b;this.vsbSliderbar.set("value",b);setTimeout(function(){this.ignoreEvent=!1}.bind(this),200)},_onChange:function(b){this.ignoreEvent||this.emit("change",b)},_initEvent:function(){this.own(w(this.vsbSelect,"change",r.hitch(this,function(b){!this._ignoreEvent&&this.vsbSelect.isValid()&&(b=Number(b),this.updateValue(b))})));this.own(w(this.vsbSliderbar,"change",r.hitch(this,function(b){this._ignoreEvent||(b=Number(b),f.isInteger(b)||(b=parseFloat(b,10).toFixed(1)),b=Number(b),this.updateValue(b))})))},
updateValue:function(b){this.value=b;this._ignoreEvent=!0;this.vsbSelect.set("value",b);this.vsbSliderbar.set("value",b);this._onChange(b);setTimeout(function(){this._ignoreEvent=!1}.bind(this),200)},_initUI:function(){for(var b=new a({}),d=10*this.min,g=10*this.max;d<=g;d+=10*this.step)b.put({id:d/10,name:d/10});this.vsbSelect.store=b;this.vsbSelect.set("value",this.value);this.vsbSelect.validator=r.hitch(this,function(){var n=this.vsbSelect.get("value");return n>this.max||n<this.min?!1:null!==n&&
""!==n?!isNaN(n):!1});this.vsbSliderbar=new e({name:"slider",value:this.value,minimum:this.min,maximum:this.max,discreteValues:this.max/this.step,intermediateChanges:!1,showButtons:!1,style:"width:57%;margin:auto 2px auto 5px"},this.vsbSlider);this.vsbSliderbar.startup()}})})},"widgets/Infographic/setting/dijitsSetting/_dijits/SeriesStyle/SeriesStyle":function(){define("dojo/_base/declare dojo/on dojo/_base/lang dojo/_base/html dojo/text!./SeriesStyle.html ./_SeriesStyleItem ./_SeriesStyles ./CustomColor dojo/Evented dijit/_WidgetBase dijit/_TemplatedMixin dijit/_WidgetsInTemplateMixin jimu/utils ../../../utils dijit/form/RadioButton".split(" "),
function(B,r,w,q,k,l,h,c,a,e,f,b,d,g){return B([e,f,b,a],{baseClass:"infographic-series-style",templateString:k,colors:"#68D2E0 #087E92 #47BCF5 #FBE66A #F29157 #C8501D #2DB7C6 #C4EEF6".split(" "),_customIconIsOpen:!0,chartInfo:{},postCreate:function(){this.inherited(arguments);this._initBrowserClass();this._initSelf();this._initEvent()},getConfig:function(){var n={},m;this.useLayerSymbolRadio.checked?m="layerSymbol":this.seriesRadio.checked?m="series":this.customColorRadio.checked&&(m="custom");n.type=
m;n.styles=this._option.oneLine?this._option.symbolAbility||this._option.customAbility?[this.radioOneColor.getConfig()]:[this.topOneColor.getConfig()]:this.fieldColorsDijit.getConfig();"custom"===m&&(n.customColor=this.customColorDijit.getConfig());return n},setConfig:function(n){if(n&&n.type){this._ignoreEvent();var m=n.type;this.useLayerSymbolRadio.setChecked("layerSymbol"===m);this.seriesRadio.setChecked("series"===m);this.customColorRadio.setChecked("custom"===m);!(m=n.styles)||0>=m.length||(1===
m.length?(this.topOneColor.setConfig(m[0]),this.radioOneColor.setConfig(m[0])):1<=m.length&&this.fieldColorsDijit.updateConfig(m),(n=n.customColor)&&n.categories&&n.categories.length&&this.customColorDijit.setConfig(n));this._careEvent()}},setFeatures:function(n){this.features=n},setLayerDefinition:function(n){this.definition=n},setDataSource:function(n){this.dataSource=n},render:function(n,m,p){if(n&&(m||"field"===n)){p=p||[];this._ignoreEvent();this.reset();var u=this._calcuteOption(n,m,p);if(u){this._updateNodeByOption(u);
if(u.customAbility){var A=g.getCustomColorSelects(m,this.definition,this.features);if(!A)return;this.customColorDijit.setOriginalData(A.selects,A.isCodedValue,A.numberType);this.customColorDijit.renderDefault()}n=this._getDefaultConfig(n,m,p,u);this.setConfig(n);this._careEvent()}}},reset:function(){this._ignoreEvent();this.seriesRadio.setChecked();this._hideSymbolRadio();this._hideCustomRadio();this._hideRadioPanel();this._hideOpacityPanel();this._hideAdditionalElements();this._careEvent()},_hideAdditionalElements:function(){this._hideHeaderColor();
this._hideSeriesColor();this._hideCustomToggleIcon();this._hideCustomColors();this._hideFieldColors()},_onChange:function(){if(!this.ignoreChangeEvents){var n=this.getConfig();n&&this.emit("change",n)}},_updateNodeByOption:function(n){if(n){var m=n.symbolAbility,p=n.customAbility,u=n.oneLine,A=n.colorSingleMode;n=n.showOpacity;m||p?(this._showRadioPanel(),q.addClass(this.fieldColors,"indentation"),u?this._showSeriesColor():this._showFieldColors()):(q.removeClass(this.fieldColors,"indentation"),u?
this._showHeaderColor():this._showFieldColors());m&&this._showSymbolRadio();p&&this._showCustomRadio();A?this._useColorSingleMode():this._useColorMultipleMode();n&&this._showOpacityPanel()}},_initSelf:function(){this.topOneColor=new l({textVisible:!1,opacityVisible:!1,colorSingleMode:!0});this.topOneColor.placeAt(this.headerColorDiv);this.radioOneColor=new l({textVisible:!1,opacityVisible:!1,colorSingleMode:!0});this.radioOneColor.placeAt(this.radioColorDiv);this.fieldColorsDijit=new h({nls:this.nls});
this.fieldColorsDijit.placeAt(this.fieldColors);this.customColorDijit=new c({nls:this.nls});this.customColorDijit.placeAt(this.customColors)},_initEvent:function(){this.own(r(this.topOneColor,"change",w.hitch(this,function(){this._onChange()})));this.own(r(this.radioOneColor,"change",w.hitch(this,function(){this._onChange()})));this.own(r(this.fieldColorsDijit,"change",w.hitch(this,function(){this._onChange()})));this.own(r(this.customColorDijit,"change",w.hitch(this,function(){this._onChange()})))},
_initBrowserClass:function(){11===d.has("ie")?q.addClass(this.domNode,"ig-setting-ie11"):q.removeClass(this.domNode,"ig-setting-ie11");d.has("ff")?q.addClass(this.domNode,"ig-setting-ff"):q.removeClass(this.domNode,"ig-setting-ff")},_ignoreEvent:function(){this.ignoreChangeEvents=!0},_careEvent:function(){setTimeout(function(){this.ignoreChangeEvents=!1}.bind(this),200)},_updateSeriesRadioString:function(n){"pie"===n?(this.seriesRadioLabel.innerHTML=this.nls.randomColor,this.seriesRadioLabel.title=
this.nls.randomColor):(this.seriesRadioLabel.innerHTML=this.nls.setColor,this.seriesRadioLabel.title=this.nls.setColor)},_showHeaderColor:function(){q.removeClass(this.headerColorDiv,"hide")},_hideHeaderColor:function(){q.addClass(this.headerColorDiv,"hide")},_showSeriesColor:function(){q.removeClass(this.radioColorDiv,"hide")},_hideSeriesColor:function(){q.addClass(this.radioColorDiv,"hide")},_showCustomToggleIcon:function(){q.removeClass(this.toggleIconDiv,"hide")},_hideCustomToggleIcon:function(){q.addClass(this.toggleIconDiv,
"hide")},_showSymbolRadio:function(){q.removeClass(this.symbolRadioPanel,"hide")},_hideSymbolRadio:function(){q.addClass(this.symbolRadioPanel,"hide")},_showCustomRadio:function(){q.removeClass(this.customRadioPanel,"hide")},_hideCustomRadio:function(){q.addClass(this.customRadioPanel,"hide");this._hideCustomColors()},_showCustomColors:function(){q.removeClass(this.customColors,"hide")},_hideCustomColors:function(){q.addClass(this.customColors,"hide")},_showFieldColors:function(){q.removeClass(this.fieldColors,
"hide")},_hideFieldColors:function(){q.addClass(this.fieldColors,"hide")},_showRadioPanel:function(){q.removeClass(this.radioPanel,"hide")},_hideRadioPanel:function(){q.addClass(this.radioPanel,"hide");this._hideCustomColors()},_showOpacityPanel:function(){this.topOneColor.setOpacityDisplay(!0);this.radioOneColor.setOpacityDisplay(!0);this.fieldColorsDijit.setOpacityDisplay(!0)},_hideOpacityPanel:function(){this.topOneColor.setOpacityDisplay(!1);this.radioOneColor.setOpacityDisplay(!1);this.fieldColorsDijit.setOpacityDisplay(!1)},
_openCustomColorPanel:function(){q.removeClass(this.toggleIcon,"closed");this._showCustomColors()},_closeCustomColorPanel:function(){q.addClass(this.toggleIcon,"closed");this._hideCustomColors()},_useColorSingleMode:function(){this.topOneColor.setColorMode(!0);this.radioOneColor.setColorMode(!0)},_useColorMultipleMode:function(){this.topOneColor.setColorMode(!1);this.radioOneColor.setColorMode(!1)},_onRadioChanged:function(){var n=this.seriesRadio.checked,m=this.customColorRadio.checked;this._hideAdditionalElements();
var p=this._option||{},u=!p.symbolAbility&&!p.customAbility;n&&(u?p.oneLine?this._showHeaderColor():this._showFieldColors():p.oneLine?this._showSeriesColor():this._showFieldColors());m&&(this._showCustomColors(),this._showCustomToggleIcon());this._onChange()},_onCustomToggleButtonClicked:function(n){n.stopPropagation();(this._customIconIsOpen=!this._customIconIsOpen)?this._openCustomColorPanel():this._closeCustomColorPanel()},_calcuteOption:function(n,m,p){var u=this.chartInfo.type,A=this.chartInfo.area,
z=this.definition;if(u&&z){var C=this._haveUseLayerSymbolAbility(n,m,z,this.dataSource),v="pie"===u&&("category"===n||"count"===n)&&!g.isDateField(m,z);A=!!A;p="field"===n&&"line"===u||"count"===n||1>=p.length;n=!("pie"===u&&"field"!==n);m=m?g.isNumberType(m,z,!0):!1;return this._option=C={symbolAbility:C,oneLine:p,colorSingleMode:n,showOpacity:A,customAbility:v,numberType:!!m}}},_haveUseLayerSymbolAbility:function(n,m,p,u){var A=this.chartInfo.type;if(A&&p){var z=!1;if("line"===A||"field"===n)return z;
u=g.getLayerIdByDataSource(u);A=null;u&&(A=g.getLayerFromMap(u,this.map));if(!u)return z;if("feature"===n)z=!0;else if("category"===n||"count"===n){if(!A)return z;A.renderer&&(n=A.renderer,"esri.renderer.ClassBreaksRenderer"===n.declaredClass||"esri.renderer.UniqueValueRenderer"===n.declaredClass)&&(n.attributeField!==m||g.isDateField(m,p)||(z=!0))}return z}},_getDefaultConfig:function(n,m,p,u){var A=this.chartInfo.type,z=this.definition,C=u.colorSingleMode,v=u.showOpacity;if(!m||"count"!==n&&!p)return{type:"series",
styles:[]};m=null;"column"===A||"bar"===A||"line"===A?"field"===n?"line"===A&&(m=["line~field"]):"count"===n&&(m=["count~count"]):"pie"===A&&"field"!==n&&(m=["pie~not-field"]);n=(m||p).map(function(E){return this._createSeriesStyle(E,v,!C)}.bind(this));n.forEach(function(E){p&&-1<p.indexOf(E.name)?E.label=g.getFieldAlias(E.name,z):E.label=E.name}.bind(this));return{type:"series",styles:n}},_createSeriesStyle:function(n,m,p){var u=g.getNextColor(this.colors,this._lastSeriesColor);this._lastSeriesColor=
u;n={name:n,style:{color:u}};m&&(n.style.opacity=6);p&&(n.style.color="#68D2E0 #087E92 #47BCF5 #FBE66A #F29157 #C8501D".split(" "));return n}})})},"widgets/Infographic/setting/dijitsSetting/_dijits/SeriesStyle/_SeriesStyleItem":function(){define("dojo/_base/declare dojo/on dojo/_base/lang dojo/_base/html dojo/text!./_SeriesStyleItem.html ../ChartColorSetting dojo/Evented dijit/_WidgetBase dijit/_TemplatedMixin dijit/_WidgetsInTemplateMixin dijit/form/HorizontalSlider jimu/utils dijit/form/RadioButton".split(" "),
function(B,r,w,q,k,l,h,c,a,e,f,b){return B([c,a,e,h],{baseClass:"infographic-series-style-item",templateString:k,textVisible:!0,opacityVisible:!1,colorSingleMode:!0,postCreate:function(){this.inherited(arguments);this._ignoreEvent();this._initDom();this._setOptions();this._careEvent()},setConfig:function(d){if(d)if(d.name){this._ignoreEvent();var g=d.label||d.name;this.textDiv.innerHTML=b.sanitizeHTML(g);this.textDiv.title=g;this.fieldName=d.name;if(d=d.style)this._setColor(d.color),"undefined"!==
typeof d.opacity&&this._setOpacity(d.opacity);this._careEvent()}else console.error("Invalid config")},getConfig:function(){var d={style:{}};d.name=this.fieldName;d.label=this.textDiv.innerHTML;d.style.opacity=this._getOpacity();d.style.color=this._getColor();return d},_initDom:function(){this.colorPicker=new l;this.own(r(this.colorPicker,"change",w.hitch(this,function(){this._onChange()})));this.colorPicker.placeAt(this.colorDiv);this.opacitySlider=new f({name:"slider",value:0,minimum:0,maximum:10,
discreteValues:10,intermediateChanges:!1,showButtons:!1,style:"width: 71%;margin: auto -3px auto 5px;"});this.own(r(this.opacitySlider,"change",w.hitch(this,function(){this._onChange()})));this.opacitySlider.placeAt(this.opacityDiv)},_onChange:function(){if(!this.ignoreChangeEvents){var d=this.getConfig();this.emit("change",d)}},_ignoreEvent:function(){this.ignoreChangeEvents=!0},_careEvent:function(){this.ignoreChangeEvents=!1},_setOptions:function(){this.setTextDisplay(this.textVisible);this.setOpacityDisplay(this.opacityVisible);
this.setColorMode(this.colorSingleMode)},setTextDisplay:function(d){(this.textVisible=d)?this._showText():this._hideText()},setOpacityDisplay:function(d){(this.opacityVisible=d)?this._showOpacity():this._hideOpacity()},setColorMode:function(d){(this.colorSingleMode=d)?this.colorPicker.setMode(!0):this.colorPicker.setMode(!1)},_getOpacity:function(){if(this.opacityVisible){var d=this.opacitySlider.get("value");return(d=parseInt(d,10))?d:0}},_getColor:function(){return this.colorPicker.getColors()},
_showText:function(){q.addClass(this.rightPanel,"flex-lr-balance");q.removeClass(this.rightPanel,"flex-fill");q.setStyle(this.textContainer,"display","")},_hideText:function(){q.removeClass(this.rightPanel,"flex-lr-balance");q.addClass(this.rightPanel,"flex-fill");q.setStyle(this.textContainer,"display","none")},_setOpacity:function(d){d=parseInt(d,10);if(!d||d<this.min)d=this.min;d>this.max&&(d=this.max);this.opacitySlider.set("value",d)},_setColor:function(d){this.colorPicker.setColorsAutomatically(d)},
_showOpacity:function(){q.setStyle(this.opacityDiv,"display","flex")},_hideOpacity:function(){q.setStyle(this.opacityDiv,"display","none")}})})},"widgets/Infographic/setting/dijitsSetting/_dijits/ChartColorSetting":function(){define("dojo/on dojo/Evented dojo/_base/html dojo/_base/lang dojo/_base/array dojo/_base/Color dojo/_base/declare dijit/_WidgetBase dijit/_TemplatedMixin dijit/_WidgetsInTemplateMixin dojo/text!./ChartColorSetting.html jimu/dijit/ColorPickerPopup require dijit/form/Select".split(" "),
function(B,r,w,q,k,l,h,c,a,e,f,b,d){return h([c,a,e,r],{templateString:f,baseClass:"chart-color-setting",jimuUrl:d.toUrl("jimu"),colors:{c0:"#68D2E0 #087E92 #47BCF5 #FBE66A #F29157 #C8501D".split(" "),c1:"#5d9cd3 #eb7b3a #a5a5a5 #febf29 #4673c2 #72ad4c".split(" "),c2:"#5d9cd3 #a5a5a5 #4673c2 #285f8f #636363 #274577".split(" "),c3:"#eb7b3a #febf29 #72ad4c #9c4618 #987214 44682e".split(" "),c4:"#72ad4c #4673c2 #febf29 #44682e #274577 #987214".split(" "),g1:["#43729b","#c4d5ea"],g2:["#ac5928","#f5ccbf"],
g3:["#787878","#d8d8d8"],g4:["#bb8b1b","#fee1be"],g5:["#30538d","#c0c9e3"],g6:["#517e36","#c9dbc2"],g7:["#c4d5ea","#43729b"],g8:["#f5ccbf","#ac5928"],g9:["#d8d8d8","#787878"],g10:["#fee1be","#bb8b1b"],g11:["#c0c9e3","#30538d"],g12:["#c9dbc2","#517e36"]},nls:null,singleColor:!0,postCreate:function(){this.inherited(arguments);this.singleColorPicker=new b({appearance:{showTransparent:!1,showColorPalette:!0,showCoustom:!0,showCoustomRecord:!0}});this.singleColorPicker.placeAt(this.singleColorSection);
this.own(B(this.singleColorPicker,"change",q.hitch(this,this._onColorPickChange)));this.setMode(this.singleColor)},setMode:function(g){(this.singleColor=g)?(w.removeClass(this.singleColorSection,"hide"),w.addClass(this.colorSelect.domNode,"hide")):(w.addClass(this.singleColorSection,"hide"),w.removeClass(this.colorSelect.domNode,"hide"))},setColorsAutomatically:function(g){g&&("string"===typeof g?this.setSingleColor(g):0<g.length&&(1===g.length?this.setSingleColor(g[0]):this.setMultipleColor(g)))},
disable:function(){this.singleColor?this.singleColorPicker.disable&&this.singleColorPicker.disable():(w.setStyle(this.colorSelect,"cursor","not-allowed"),this.cacheColor=this.getColors(),this.colorSelect.set("value","c0"),this.colorSelect.disabled=!0)},enable:function(){this.singleColor?this.singleColorPicker.enable&&this.singleColorPicker.enable():(w.setStyle(this.colorSelect,"cursor","pointer"),this.colorSelect.disabled=!1,this.cacheColor&&this.setMultipleColor(this.cacheColor))},setSingleColor:function(g){this.setMode(!0);
g&&(g=new l(g),this.singleColorPicker.setColor(g))},setMultipleColor:function(g){this.setMode(!1);if(g){var n=Object.keys(this.colors),m="c1";k.some(n,q.hitch(this,function(p){var u=!1,A=this.colors[p];A.length===g.length&&(u=k.every(A,q.hitch(this,function(z,C){z=new l(z);C=new l(g[C]);return z.toHex().toLowerCase()===C.toHex().toLowerCase()})))&&(m=p);return u}));this.colorSelect.set("value",m)}},getColors:function(){return this.singleColor?[this.getSingleColor()]:this.getMultipleColors()},getSingleColor:function(){var g=
this.singleColorPicker.getColor();return g&&g.toHex()},getMultipleColors:function(){return this.colors[this.colorSelect.get("value")]},_onColorPickChange:function(g){this.emit("change",g.toHex())},_onColorSelectChanged:function(){var g=this.getMultipleColors();this.emit("change",g)}})})},"widgets/Infographic/setting/dijitsSetting/_dijits/SeriesStyle/_SeriesStyles":function(){define("dojo/_base/declare dojo/on dojo/_base/lang ./_SeriesStyleItem dojo/Evented dijit/_WidgetBase dijit/_TemplatedMixin dijit/_WidgetsInTemplateMixin".split(" "),
function(B,r,w,q,k,l,h,c){return B([l,h,c,k],{baseClass:"infographic-series-styles",templateString:'\x3cdiv\x3e\x3cdiv class\x3d"field-style-list"data-dojo-attach-point\x3d"fieldStyleList"\x3e\x3c/div\x3e\x3c/div\x3e',constructor:function(){this.inherited(arguments);this.cacheDijits=[]},_clear:function(){this.cacheDijits&&Array.isArray(this.cacheDijits)&&(this.cacheDijits.forEach(function(a){a.dijit.destroy()}),this.cacheDijits=[])},_removeDuplicateConfig:function(a){if(!a||2>a.length)return a;var e=
{};return a.filter(function(f){f=f.name;return e[f]?!1:(e[f]=1,!0)})},_classificationConfig:function(a){a=this._removeDuplicateConfig(a);var e={destroyedDijits:[],updatedConfig:[],newAddedConfig:[]},f=[],b=this.cacheDijits.map(function(d){return d.name});a.forEach(function(d){0>b.indexOf(d.name)?e.newAddedConfig.push(d):(f.push(d.name),e.updatedConfig.push(d))});e.destroyedDijits=this.cacheDijits.filter(function(d){return 0>f.indexOf(d.name)});return e},updateConfig:function(a){a=this._classificationConfig(a);
a.newAddedConfig.forEach(function(e){this._addNewItem(e)}.bind(this));a.updatedConfig.forEach(function(e){this._updateItem(e)}.bind(this));a.destroyedDijits.forEach(function(e){this._destroyItem(e)}.bind(this));this._setOpacityDisplay()},setConfig:function(a){a&&Array.isArray(a)&&(this._clear(),a.forEach(function(e){this._addNewItem(e)}.bind(this)),this._setOpacityDisplay())},_destroyItem:function(a){this.cacheDijits=this.cacheDijits.filter(function(e){return e.name!==a.name});a.dijit&&"undefined"!==
typeof a.dijit.destroy&&a.dijit.destroy()},_updateItem:function(a){this.cacheDijits.forEach(function(e){e.name===a.name&&e.dijit.setConfig(a)})},_addNewItem:function(a){var e=null;e=new q({textVisible:!0,colorSingleMode:!0,opacityVisible:!1});e.setConfig(a);e.placeAt(this.fieldStyleList,"last");this.own(r(e,"change",w.hitch(this,function(){this._onChange()})));this.cacheDijits.push({name:a.name,dijit:e})},_onChange:function(){var a=this.getConfig();this.emit("change",a)},setOpacityDisplay:function(a){this.showOpacity=
a;this._setOpacityDisplay()},_setOpacityDisplay:function(){this.cacheDijits.forEach(function(a){a.dijit.setOpacityDisplay(this.showOpacity)}.bind(this))},getConfig:function(){return!this.cacheDijits||0>=this.cacheDijits.length?[]:this.cacheDijits.map(function(a){return a.dijit.getConfig()})}})})},"widgets/Infographic/setting/dijitsSetting/_dijits/SeriesStyle/CustomColor":function(){define("dojo/_base/declare dojo/text!./CustomColor.html dojo/Evented dijit/_WidgetBase dijit/_TemplatedMixin dijit/_WidgetsInTemplateMixin ../ChartColorSetting jimu/dijit/ColorPickerPopup ./CustomColorList ../../../utils dojo/on dojo/_base/Color dojo/_base/lang dojo/_base/html dojo/store/Memory ./CustomCombox jimu/dijit/LoadingIndicator".split(" "),
function(B,r,w,q,k,l,h,c,a,e,f,b,d,g,n,m){return B([q,k,l,w],{baseClass:"infographic-custom-color",templateString:r,_explicitNum:5,constructor:function(){this.inherited(arguments)},postCreate:function(){this.inherited(arguments);this._ignoreEvent();this._initDom();this._initEvents();this._updateColorArray();this._careEvent()},setConfig:function(p){p&&Array.isArray(p.categories)&&(this._ignoreEvent(),this._spliteOriginData(p.categories),this._renderSelectInput(),this.customColorList.setConfig(p),this._careEvent())},
getConfig:function(){return this.customColorList?this.customColorList.getConfig():!1},_onChange:function(){if(!this.ignoreChangeEvents){var p=this.getConfig();p&&this.emit("change",p)}},_onDoAddClick:function(){var p=this.selectInput.get("value"),u=this._getComboxStoreIdByName(this.selectInput,p);u||0===u?this.numberType&&(u=Number(u)):u=p;if(u||0===u)if(this.selectInput.state="Normal",-1<this._getIds(this._explicitsData).indexOf(u))this.selectInput.focused=!0,this.selectInput.state="Error",this.selectInput.displayMessage(this.nls.categoryExists);
else{var A=this.singleColorPicker.getColor();this._transferData(u,!0,A);this._renderSelectInput();this._showAddCategoryDisptch();this.customColorList.addNewColorItem({id:u,text:p,label:p,color:A},!0)}},_onCancelClick:function(p){p.stopPropagation();this._showAddCategoryDisptch()},_initDom:function(){this.selectInput=new m({placeHolder:this.nls.comboxHint,style:{width:"150px"}});this.selectInput.placeAt(this.addActionDiv,"first");this.selectInput.disableInput();this.selectInput.invalidMessage=this.nls.categoryExists;
this.colorsPicker=new h;this.colorsPicker.placeAt(this.colorsPickerDiv);this.colorsPicker.setMode(!1);this.customColorList=new a({nls:this.nls});this.customColorList.placeAt(this.content);this.singleColorPicker=new c({appearance:{showTransparent:!1,showColorPalette:!0,showCoustom:!0,showCoustomRecord:!0}});this.singleColorPicker.placeAt(this.colorDiv);this.singleColorPicker.startup()},_initEvents:function(){this.own(f(this.customColorList,"change",d.hitch(this,function(){this._onChange()})));this.own(f(this.colorsPicker,
"change",d.hitch(this,function(){this._updateColorArray(!0)})));this.own(f(this.customColorList,"delete",d.hitch(this,function(p){this._transferData(p,!1);this._renderSelectInput()})))},_updateSeelectInputState:function(){this.selectInput&&(this.isCodedValueType?(this.selectInput.disableInput(),this.selectInput.set("placeHolder",this.nls.comboxDisableInputHint),this.selectInput.setTitle(this.nls.comboxDisableInputHint)):(this.selectInput.enableInput(),this.selectInput.set("placeHolder",this.nls.comboxHint),
this.selectInput.setTitle(this.nls.comboxHint)),this._implicitsData&&this._implicitsData.length||(this.isCodedValueType?(this.selectInput.set("placeHolder",this.nls.comboxDisableInputEmptySelectHint),this.selectInput.setTitle(this.nls.comboxDisableInputEmptySelectHint)):(this.selectInput.set("placeHolder",this.nls.comboxDisableSelectHint),this.selectInput.setTitle(this.nls.comboxDisableSelectHint))))},setOriginalData:function(p,u,A){this.isCodedValueType=u;this.numberType=A;this.customColorList.setNumberType(A);
this._originalData=[];this._explicitsData=[];this._implicitsData=[];this._originalData=p},renderDefault:function(){this._originalData&&this._originalData.length&&(this._spliteOriginData(),this._renderSelectInput(),this.customColorList.setConfig({categories:this._explicitsData}))},_spliteOriginData:function(p){var u=this._originalData,A=this._explicitNum,z;if(p){this._explicitsData=p;var C=this._getIds(p);u&&u.length&&(this._implicitsData=u.filter(function(v){return 0>C.indexOf(v.value)}).map(function(v){return this._generateImplicitData(v.value,
v.label)}.bind(this)))}else u&&u.length&&(this._explicitsData=u.slice(0,A).map(function(v){z=e.getNextColor(this._colors,z);return this._generateExplicitData(v.value,v.label,z)}.bind(this)),this._implicitsData=u.slice(A,u.length).map(function(v){return this._generateImplicitData(v.value,v.label)}.bind(this)));this._updateSeelectInputState()},_getIds:function(p){return p.map(function(u){return u.id})},_transferData:function(p,u,A){var z=this._getLabel(p);z?u?(u=this._generateExplicitData(p,z,A),this._explicitsData.push(u),
this._implicitsData=this._implicitsData.filter(function(C){return C.id!==p})):(u=this._generateImplicitData(p,z),this._implicitsData.push(u),this._explicitsData=this._explicitsData.filter(function(C){return C.id!==p})):u?(u=this._generateExplicitData(p,p,A),this._explicitsData.push(u)):this._explicitsData=this._explicitsData.filter(function(C){return C.id!==p});this._updateSeelectInputState()},_generateImplicitData:function(p,u){return{id:p,name:u}},_generateExplicitData:function(p,u,A){return{id:p,
text:u,label:u,color:A}},_getLabel:function(p){var u=this._originalData.filter(function(A){return A.value===p})[0];return u&&u.label},_renderSelectInput:function(){var p=new n({data:this._implicitsData});this.selectInput.store=p;this.selectInput.setValue("")},_onAddCategoryClick:function(p){p.stopPropagation();p=this.colorsPicker.getColors();this._lastColor=e.getNextColor(p,this._lastColor);this.singleColorPicker.setColor(new b(this._lastColor));this._showAddCategoryAction()},_showAddCategoryDisptch:function(){g.removeClass(this.dispatchAdd,
"hide");g.addClass(this.actionAdd,"hide");this.selectInput.setValue("")},_showAddCategoryAction:function(){g.addClass(this.dispatchAdd,"hide");g.removeClass(this.actionAdd,"hide")},_ignoreEvent:function(){this.ignoreChangeEvents=!0},_careEvent:function(){setTimeout(function(){this.ignoreChangeEvents=!1}.bind(this),100)},_getComboxStoreIdByName:function(p,u){if(p&&p.store&&p.store.data&&p.store.data.length&&(p=p.store.data.filter(function(z){return z.name===u})[0])&&"undefined"!==typeof p.id)var A=
p.id;return A},_updateColorArray:function(p){var u=this.colorsPicker.getColors();2===u.length&&(u=e.separationGradientColors(u,6));this._colors=u;p&&this.customColorList&&this.customColorList.setColors(u)}})})},"widgets/Infographic/setting/dijitsSetting/_dijits/SeriesStyle/CustomColorList":function(){define("dojo/_base/declare ./CustomColorItem dojo/Evented dijit/_WidgetBase dijit/_TemplatedMixin dijit/_WidgetsInTemplateMixin dojo/on dojo/_base/html dojo/_base/lang ../../../utils".split(" "),function(B,
r,w,q,k,l,h,c,a,e){return B([q,k,l,w],{baseClass:"infographic-custom-color-list",templateString:'\x3cdiv\x3e\x3cdiv class\x3d"costom-color-list-header"\x3e\x3cdiv title\x3d"${nls.category}"\x3e${nls.category}\x3c/div\x3e\x3cdiv title\x3d"${nls.labelAxis}"\x3e${nls.labelAxis}\x3c/div\x3e\x3cdiv title\x3d"${nls.color}"\x3e${nls.color}\x3c/div\x3e\x3c/div\x3e\x3cdiv class\x3d"costom-color-list" data-dojo-attach-point\x3d"colorList"\x3e\x3c/div\x3e\x3cdiv class\x3d"costom-color-list" data-dojo-attach-point\x3d"otherList"\x3e\x3c/div\x3e\x3c/div\x3e',
constructor:function(f){this.inherited(arguments);this._colorItems=[];this._otherItems=[];f.nls&&(this.nls=f.nls);this.others=[{text:this.nls.nullText,label:this.nls.nullText,id:"null",color:"#808080"},{text:this.nls.others,label:this.nls.others,id:"others",color:"#808080"}]},setConfig:function(f){if(f&&Array.isArray(f.categories)){this.clear();var b=f.categories;b=this._removeDuplicateCategories(b);var d=f.others;f.others&&f.others.length||(d=a.clone(this.others));this._setCategories(b);this._setOthers(d)}},
setColors:function(f){this._colors=f;this._colorItems.length&&(this._ignoreEvent(),this._colorItems.forEach(function(b){var d=e.getNextColor(this._colors,this._lastColor);this._lastColor=d;b.setColor(d)}.bind(this)),this._careEvent(),this._onChange())},setNumberType:function(f){this.numberType=f;this._colorItems.length&&this._colorItems.forEach(function(b){b.setNumberType(f)}.bind(this))},_setCategories:function(f){f.forEach(function(b){this.addNewColorItem(b)}.bind(this))},_setOthers:function(f){f&&
f.length&&f.forEach(function(b){this._addOtherColorItem(b,"others"===b.id)}.bind(this))},clear:function(){c.empty(this.colorList);c.empty(this.otherList);this._colorItems=[];this._otherItems=[]},_addOtherColorItem:function(f,b){b=new r({nls:this.nls,deletable:!1,labelVisible:!b,numberType:!1});b.placeAt(this.otherList);b.setConfig(f);this._otherItems.push(b);this._bindEvent(b)},getListIds:function(){return this._colorItems.map(function(f){return this.numberType?Number(f.itemId):f.itemId}.bind(this))},
addNewColorItem:function(f,b){var d=new r({nls:this.nls,numberType:this.numberType});d.placeAt(this.colorList);d.setConfig(f);b&&d.highLight();this._colorItems.push(d);this._bindEvent(d);this._onChange()},_bindEvent:function(f){this.own(h(f,"change",function(){this._onChange()}.bind(this)));this.own(h(f,"delete",function(b){this._colorItems=this._colorItems.filter(function(d){return d.itemId!==b}.bind(this));this._onChange();this.emit("delete",b)}.bind(this)))},getConfig:function(){if(!this._colorItems.length&&
!this._otherItems.length)return!1;var f=this._colorItems.map(function(d){return d.getConfig()});f=f.filter(function(d){return!!d});var b=this._otherItems.map(function(d){return d.getConfig()});b=b.filter(function(d){return!!d});return{categories:f,others:b}},_removeDuplicateCategories:function(f){if(!f||2>f.length)return f;var b={};return f.filter(function(d){d=d.id;return b[d]?!1:(b[d]=1,!0)})},_ignoreEvent:function(){this.ignoreChangeEvents=!0},_careEvent:function(){this.ignoreChangeEvents=!1},
_onChange:function(){if(!this.ignoreChangeEvents){var f=this.getConfig();f&&this.emit("change",f)}}})})},"widgets/Infographic/setting/dijitsSetting/_dijits/SeriesStyle/CustomColorItem":function(){define("dojo/_base/declare dojo/text!./CustomColorItem.html dojo/Evented dijit/_WidgetBase dijit/_TemplatedMixin dijit/_WidgetsInTemplateMixin jimu/dijit/ColorPickerPopup dojo/_base/Color jimu/utils dojo/on dojo/_base/lang dojo/_base/html dijit/form/ValidationTextBox".split(" "),function(B,r,w,q,k,l,h,c,
a,e,f,b){return B([q,k,l,w],{baseClass:"infographic-custom-color-item",templateString:r,deletable:!0,numberType:!1,labelVisible:!0,postCreate:function(){this.inherited(arguments);this._ignoreEvent();this._initDom();this._updateNodesDisplay();this._initEvents();this._careEvent()},setConfig:function(d){d&&"undefined"!==typeof d.id&&(this._ignoreEvent(),this.itemId=d.id,d.color&&this.colorPicker.setColor(new c(d.color)),"undefined"!==typeof d.text&&(this.textDiv.innerHTML=a.sanitizeHTML(d.text),this.textDiv.title=
d.text),"undefined"!==typeof d.label&&(this.labelDiv.innerHTML=a.sanitizeHTML(d.label),this.editInput.set("value",d.label)),this._careEvent())},_ignoreEvent:function(){this.ignoreChangeEvents=!0},_careEvent:function(){this.ignoreChangeEvents=!1},setColor:function(d){this.colorPicker.setColor(new c(d))},setNumberType:function(d){this.numberType=d},lestenDocumentMousemove:function(){this._shouldCareMousemove=!0},_initDom:function(){this.colorPicker=new h({appearance:{showTransparent:!1,showColorPalette:!0,
showCoustom:!0,showCoustomRecord:!0}});this.colorPicker.placeAt(this.colorDiv);this.colorPicker.startup();this.colorPicker.setColor(new c("#68D2E0"))},_initEvents:function(){this.own(e(this.colorPicker,"change",f.hitch(this,function(){this.onChange()})));this.own(e(document.body,"click",f.hitch(this,function(d){b.isDescendant(d.target,this.editPart)||this._hideEditInput()})));this._hasHideEditInput=!0},isValid:function(){var d=this.labelDiv.innerHTML,g=this.textDiv.innerHTML.trim();return"undefined"!==
typeof this.itemId&&!!d&&!!g&&this.editInput.isValid()},getConfig:function(){return this.isValid()?{id:this.numberType?Number(this.itemId):this.itemId,text:this.textDiv.innerHTML.trim(),label:this.labelDiv.innerHTML,color:this._getColor()}:void 0},_getColor:function(){var d=this.colorPicker.getColor();return d&&d.toHex?d.toHex():d},onChange:function(){if(!this.ignoreChangeEvents){var d=this.getConfig();d&&this.emit("change",d)}},destroy:function(){this.colorPicker&&this.colorPicker.destroy();this.inherited(arguments)},
highLight:function(){b.hasClass(this.domNode,"high-light")||b.addClass(this.domNode,"high-light");setTimeout(function(){this._removeHighLight()}.bind(this),2E3)},_removeHighLight:function(){this.domNode&&b.hasClass(this.domNode,"high-light")&&b.removeClass(this.domNode,"high-light")},_onEditClicked:function(d){d&&d.stopPropagation&&d.stopPropagation();d=this.labelDiv.innerHTML;this._showEditInput();this.editInput.set("value",d);this.editInput.focus()},_showEditInput:function(){this._hasHideEditInput&&
(this._hideLabelPart(),this._showEditPart(),this._hasHideEditInput=!1)},_hideEditInput:function(){!this._hasHideEditInput&&this.editInput.isValid()&&(this._hideEditPart(),this._showLabelPart(),this._hasHideEditInput=!0)},_onEditInputBlured:function(){var d=this.editInput.get("value");d=a.stripHTML(d);this._hideEditInput();this.labelDiv.innerHTML!==d&&(this.labelDiv.innerHTML=a.sanitizeHTML(d),this.onChange())},_onEditCancled:function(d){d&&d.stopPropagation&&d.stopPropagation();this._hideEditPart();
this._showLabelPart()},_onDeleteClick:function(d){d&&d.stopPropagation&&d.stopPropagation();this.emit("delete",this.itemId);this.destroy()},_updateNodesDisplay:function(){this.updateDeletabe(this.deletable);this.updateLabelDisplay(this.labelVisible)},updateDeletabe:function(d){(this.deletable=d)?this._showDeleteButton():this._hideDeleteButton()},updateLabelDisplay:function(d){(this.labelVisible=d)?this._showLabelContainer():this._hideLabelContainer()},_showDeleteButton:function(){b.removeClass(this.deleteBtn,
"hidden")},_hideDeleteButton:function(){b.addClass(this.deleteBtn,"hidden")},_hideLabelContainer:function(){b.addClass(this.labelContainer,"hidden")},_showLabelContainer:function(){b.removeClass(this.labelContainer,"hidden")},_showLabelPart:function(){b.removeClass(this.labelPart,"hide")},_hideLabelPart:function(){b.addClass(this.labelPart,"hide")},_showEditPart:function(){b.removeClass(this.editPart,"hide")},_hideEditPart:function(){b.addClass(this.editPart,"hide")}})})},"widgets/Infographic/setting/dijitsSetting/_dijits/SeriesStyle/CustomCombox":function(){define(["dojo/_base/declare",
"dojo/_base/html","dojo/query","dijit/form/ComboBox"],function(B,r,w,q){return B([q],{postCreate:function(){this.inherited(arguments);var k=null;this.downArrowNode=k=this._buttonNode?this._buttonNode:w(".dijitButtonNode.dijitArrowButton.dijitDownArrowButton",this.domNode)[0]},disableInput:function(){this.focusNode&&(this.focusNode.disabled=!0)},enableInput:function(){this.focusNode&&(this.focusNode.disabled=!1)},showDownArrow:function(){this.downArrowNode&&r.removeClass(this.downArrowNode,"hide")},
hideDownArrow:function(){this.downArrowNode&&r.addClass(this.downArrowNode,"hide")},setTitle:function(k){r.setAttr(this.domNode,"title",k)}})})},"widgets/Infographic/setting/dijitsSetting/_dijits/Mark/Marks":function(){define("dojo/_base/declare dijit/_WidgetBase dojo/Evented dijit/_TemplatedMixin dijit/_WidgetsInTemplateMixin dojo/text!./Marks.html ./Mark dojo/on dojo/_base/lang dijit/form/Select jimu/dijit/CheckBox".split(" "),function(B,r,w,q,k,l,h,c,a){return B([r,w,q,k],{baseClass:"infographic-setting-marks",
templateString:l,nls:null,constructor:function(){this.inherited(arguments);this.marklines=[];this.markareas=[]},postCreate:function(){this.inherited(arguments);this.setConfig(this.config)},clearMarks:function(){this.marklines.forEach(function(e){e.dijit.destroy()});this.markareas.forEach(function(e){e.dijit.destroy()});this.marklines=[];this.markareas=[]},getConfig:function(){var e=this._getMarkLineConfig(),f=this._getMarkAreaConfig(),b={};e&&(b.markLine=e);f&&(b.markArea=f);return b},_getMarkLineConfig:function(){if(this.marklines.length){var e=
this.marklines.map(function(f){return f.dijit.getConfig()});e=e.filter(function(f){return!1!==f});if(e.length)return{silent:!0,symbol:["",""],data:e}}},_getMarkAreaConfig:function(){if(this.markareas.length){var e=this.markareas.map(function(f){return f.dijit.getConfig()});e=e.filter(function(f){return!1!==f});if(e.length)return{silent:!0,data:e}}},setConfig:function(e){if(e){this.clearMarks();var f=e.markArea;this._setMarkLineConfig(e.markLine);this._setMarkAreaConfig(f)}},_setMarkLineConfig:function(e){e&&
e.data&&e.data.length&&e.data.forEach(function(f){this._createMarkLine(f,!0)}.bind(this))},_setMarkAreaConfig:function(e){e&&e.data&&e.data.length&&e.data.forEach(function(f){this._createMarkArea(f,!0)}.bind(this))},_createMarkLine:function(e,f){e=this._createMark("line",e,f);this.marklines.push({uniqueID:e.uniqueID,dijit:e});this.own(c(e,"deleted",function(b){this._onMarkDeleted("line",b)}.bind(this)))},_createMarkArea:function(e,f){e=this._createMark("area",e,f);this.markareas.push({uniqueID:e.uniqueID,
dijit:e});this.own(c(e,"deleted",function(b){this._onMarkDeleted("area",b)}.bind(this)))},_onAddMarkLineClicked:function(e){e.stopPropagation();this._collapeAllMark();this._createMarkLine()},_onAddMarkAreaClicked:function(e){e.stopPropagation();this._collapeAllMark();this._createMarkArea()},_createMark:function(e,f,b){e=new h({closed:b,chartType:this.chartType,type:e,config:f,nls:this.nls,folderUrl:this.folderUrl,defaultColor:this.defaultColor});this.own(c(e,"change",a.hitch(this,this._onChange)));
e.placeAt(this.marksContainer);return e},_collapeAllMark:function(){this.marklines.forEach(function(e){e.dijit.closed||e.dijit.closeContent()});this.markareas.forEach(function(e){e.dijit.closed||e.dijit.closeContent()})},_onMarkDeleted:function(e,f){"line"===e?this._deleteMarkLine(f):"area"===e&&this._deleteMarkarea(f);this._onChange()},_deleteMarkLine:function(e){this.marklines=this.marklines.filter(function(f){return f.uniqueID!==e})},_deleteMarkarea:function(e){this.markareas=this.markareas.filter(function(f){return f.uniqueID!==
e})},_onChange:function(){var e=this.getConfig();e&&this.emit("change",e)}})})},"widgets/Infographic/setting/dijitsSetting/_dijits/Mark/Mark":function(){define("dojo/_base/declare dijit/_WidgetBase dojo/Evented dijit/_TemplatedMixin dijit/_WidgetsInTemplateMixin dojo/text!./Mark.html dojo/on dojo/_base/html ./MarkLine ./MarkArea jimu/utils dijit/form/Select jimu/dijit/CheckBox".split(" "),function(B,r,w,q,k,l,h,c,a,e,f){return B([r,w,q,k],{baseClass:"infographic-setting-mark",templateString:l,nls:null,
closed:!1,constructor:function(){this.uniqueID=f.getRandomString()},postCreate:function(){this.inherited(arguments);this._createMark(this.type,this.config);this._updateTitleByConfig(this.config)},getConfig:function(){if(this.mark)return this.mark.getConfig()},setConfig:function(b){this.mark&&this.mark.setConfig(b)},_onChange:function(){this.emit("change")},_createMark:function(b,d){"line"===b?this.mark=new a({chartType:this.chartType,nls:this.nls,config:d,folderUrl:this.folderUrl,defaultColor:this.defaultColor}):
"area"===b&&(this.mark=new e({chartType:this.chartType,nls:this.nls,config:d,folderUrl:this.folderUrl,defaultColor:this.defaultColor}));this.mark&&(this.own(h(this.mark,"value-change",function(g){this._updateTitleByValue(g)}.bind(this))),this.own(h(this.mark,"change",function(){this._onChange()}.bind(this))),this.mark.placeAt(this.content),this.closed&&this.closeContent())},_onArrowClicked:function(){c.hasClass(this.header,"close")?this._openContent():this.closeContent()},_onDeleteClicked:function(){this.mark&&
(this.mark.destroy(),this.mark=null);this.destroy();this.emit("deleted",this.uniqueID)},closeContent:function(){this.closed=!0;c.addClass(this.header,"close");c.removeClass(this.arrow,"arrow-up");c.addClass(this.arrow,"arrow-down");c.addClass(this.content,"hide")},_openContent:function(){this.closed=!1;c.removeClass(this.header,"close");c.addClass(this.arrow,"arrow-up");c.removeClass(this.arrow,"arrow-down");c.removeClass(this.content,"hide")},_updateTitleByConfig:function(b){b=this._getSuffixFormConfig(b);
this._updateTitle(b)},_updateTitle:function(b){var d="line"===this.type?this.nls.line:this.nls.area;"undefined"!==typeof b&&(d=d+" "+b);this.title.innerHTML=f.sanitizeHTML(d);this.title.title=d},_updateTitleByValue:function(b){b=this._getSuffix(b);this._updateTitle(b)},_getSuffixFormConfig:function(b){if(b){var d="bar"!==this.chartType?"yAxis":"xAxis",g;"line"===this.type?g=this._getSuffix(b[d]):"area"===this.type&&(g=this._getAreaSuffixFormConfig(b,d));return g}},_getAreaSuffixFormConfig:function(b,
d){if(b&&b.length){var g=b[0][d];b=b[1][d];if(void 0!==g&&void 0!==b)return this._getSuffix([g,b])}},_getSuffix:function(b){var d="";Array.isArray(b)&&2===b.length?d=f.localizeNumber(b[0])+" ~ "+f.localizeNumber(b[1]):"undefined"!==typeof b&&(d=f.localizeNumber(b));return d}})})},"widgets/Infographic/setting/dijitsSetting/_dijits/Mark/MarkLine":function(){define("dojo/_base/declare dijit/_WidgetBase dojo/Evented dijit/_TemplatedMixin dijit/_WidgetsInTemplateMixin dojo/text!./MarkLine.html dojo/on dojo/_base/html dojo/_base/lang ../VisibleSliderBar jimu/utils ./DashTypeSelect dijit/form/TextBox dijit/form/NumberTextBox ../ChartColorSetting".split(" "),
function(B,r,w,q,k,l,h,c,a,e,f){return B([r,w,q,k],{baseClass:"infographic-setting-mark-line",templateString:l,nls:null,_defaultLineColor:"#68D2E0",_defaultLineWidth:1,postCreate:function(){this.inherited(arguments);this.ignoreEvent=!0;this._initDom();setTimeout(function(){this.ignoreEvent=!1}.bind(this),200);this.setConfig(this.config)},_initDom:function(){this.lineWidthSlider=new e({min:1,max:10,step:1,value:1});this.own(h(this.lineWidthSlider,"change",a.hitch(this,this._onChange)));this.lineWidthSlider.placeAt(this.lineWidthSliderDiv);
this._cleanUI()},isValid:function(){return this.valueInput.isValid()},_cleanUI:function(){this.valueInput.set("value","");this.labelInput.set("value","");this.labelColor.setSingleColor(this.defaultColor);this._selectPosition("end");this.lineColor.setSingleColor(this._defaultLineColor);this.lineWidthSlider.setValue(this._defaultLineWidth);this.dashType.setValue("solid")},setConfig:function(b){if(b){this.ignoreEvent=!0;this._cleanUI();var d="bar"===this.chartType?b.xAxis:b.yAxis,g=b.name,n=b.label&&
b.label.color,m=b.label&&b.label.position,p=b.lineStyle&&b.lineStyle.color,u=b.lineStyle&&b.lineStyle.width;b=b.lineStyle&&b.lineStyle.type;"undefined"!==typeof d&&this.valueInput.set("value",d);"undefined"!==typeof g&&this.labelInput.set("value",g);"undefined"!==typeof n&&this.labelColor.setSingleColor(n);"undefined"!==typeof m&&this._selectPosition(m);"undefined"!==typeof p&&this.lineColor.setSingleColor(p);"undefined"!==typeof u&&this.lineWidthSlider.setValue(u);"undefined"!==typeof b&&this.dashType.setValue(b);
setTimeout(function(){this.ignoreEvent=!1}.bind(this),200)}},_showInputError:function(){var b=this.valueInput.getErrorMessage();this.valueInput.displayMessage(b)},getConfig:function(){if(!this.isValid())return this._showInputError(),!1;var b={},d=this.valueInput.get("value");d=Number(d);var g=this.labelInput.get("value");g=f.sanitizeHTML(g);var n=this.labelColor.getSingleColor(),m=this._getPosition(),p=this.lineColor.getSingleColor(),u=this.lineWidthSlider.getValue(),A=this.dashType.getValue();"bar"===
this.chartType?b.xAxis=d:b.yAxis=d;b.name=g;d={show:!!g};d.position=m;d.color=n;b.label=d;b.lineStyle={color:p,width:u,type:A};return b},_onChange:function(){if(!this.ignoreEvent){if(!this.isValid())return this._showInputError(),!1;this.emit("change")}},_onValueChanged:function(b){!this.ignoreEvent&&this.isValid()&&(this.emit("value-change",b),this._onChange())},_selectPosition:function(b){c.removeClass(this.posStart,"selected");c.removeClass(this.posMiddle,"selected");c.removeClass(this.posEnd,"selected");
"start"===b?c.addClass(this.posStart,"selected"):"middle"===b?c.addClass(this.posMiddle,"selected"):"end"===b&&c.addClass(this.posEnd,"selected");this._onChange()},_getPosition:function(){if(c.hasClass(this.posStart,"selected"))return"start";if(c.hasClass(this.posMiddle,"selected"))return"middle";if(c.hasClass(this.posEnd,"selected"))return"end"},_onPosStartClicked:function(b){b.stopPropagation();this._selectPosition("start")},_onPosMiddleClicked:function(b){b.stopPropagation();this._selectPosition("middle")},
_onPosEndClicked:function(b){b.stopPropagation();this._selectPosition("end")}})})},"widgets/Infographic/setting/dijitsSetting/_dijits/Mark/DashTypeSelect":function(){define("dojo/Evented dojo/_base/declare dijit/_WidgetBase dijit/_TemplatedMixin dijit/_WidgetsInTemplateMixin dojo/text!./DashTypeSelect.html dijit/form/Select".split(" "),function(B,r,w,q,k,l){return r([w,q,k,B],{templateString:l,baseClass:"mark-dash-type",getValue:function(){return this.dashSelect.get("value")},setValue:function(h){this.ignoreEvent=
!0;this.dashSelect.set("value",h);setTimeout(function(){this.ignoreEvent=!1}.bind(this),200)},_onDashTypeChanged:function(){if(!this.ignoreEvent){var h=this.getValue();this.emit("change",h)}}})})},"widgets/Infographic/setting/dijitsSetting/_dijits/Mark/MarkArea":function(){define("dojo/_base/declare dijit/_WidgetBase dojo/Evented dijit/_TemplatedMixin dijit/_WidgetsInTemplateMixin dojo/text!./MarkArea.html dijit/form/HorizontalSlider dojo/on dojo/_base/html dojo/_base/lang ../../../utils jimu/utils dijit/form/Select jimu/dijit/CheckBox dijit/form/TextBox dijit/form/NumberTextBox ../ChartColorSetting".split(" "),
function(B,r,w,q,k,l,h,c,a,e,f,b){return B([r,w,q,k],{baseClass:"infographic-setting-mark-area",templateString:l,_defaultAreaColor:"#68D2E0",_defaultOpacity:.4,postCreate:function(){this.inherited(arguments);this.ignoreEvent=!0;this._initDom();setTimeout(function(){this.ignoreEvent=!1}.bind(this),200);this.setConfig(this.config)},isValid:function(){return this.valInput1.isValid()&&this.valInput2.isValid()},_showInputError:function(){var d=this.valInput1.getErrorMessage();this.valInput1.displayMessage(d);
d=this.valInput2.getErrorMessage();this.valInput2.displayMessage(d)},getConfig:function(){if(!this.isValid())return this._showInputError(),!1;var d=[{},{}],g=this._getValue(),n=this.labelInput.get("value");n=b.sanitizeHTML(n);var m=this.labelColor.getSingleColor(),p=this.posSelect.get("value"),u=this._getSelectedLoaction(),A=this.areaColor.getSingleColor(),z=this.opacitySlider.get("value");z=z.toFixed(1);z=1-z;var C="bar"===this.chartType?"xAxis":"yAxis";d[1][C]=g[1];d[0][C]=g[0];d[0].name=n;g={show:!!n};
g.position=this._splicingPosition(u,p);g.color=m;d[0].label=g;d[0].itemStyle={color:A,opacity:z};return d},_onChange:function(){if(!this.ignoreEvent){if(!this.isValid())return this._showInputError(),!1;this.emit("change")}},_onValueChanged:function(){if(!this.ignoreEvent){var d=this._getValue();d&&(this.emit("value-change",d),this._onChange())}},_firstUpperCase:function(d){return"string"!==typeof d?d:d.replace(/^\S/,function(g){return g.toUpperCase()})},_splicingPosition:function(d,g){"inside"===
d?(g=this._firstUpperCase(g),d+=g):d=g;return d},_getValue:function(){if(this.isValid()){var d=this.valInput1.get("value");d=Number(d);var g=this.valInput2.get("value");g=Number(g);d=[d,g];d.sort(function(n,m){return n-m});return d}},setConfig:function(d){if(d&&d.length){this.ignoreEvent=!0;this._cleanUI();var g=d[0],n=d[1];if(g&&n){var m="bar"===this.chartType?"xAxis":"yAxis";d=g[m];n=n[m];m=g.name;var p=g.label&&g.label.color,u=this._splitPositionAttr(g.label&&g.label.position),A=u.pos;u=u.loc;
var z=g.itemStyle&&g.itemStyle.color;g=g.itemStyle&&g.itemStyle.opacity;g=1-g;"undefined"!==typeof d&&this.valInput1.set("value",d);"undefined"!==typeof n&&this.valInput2.set("value",n);"undefined"!==typeof m&&this.labelInput.set("value",m);"undefined"!==typeof p&&this.labelColor.setSingleColor(p);"undefined"!==typeof A&&f.updateOptions(this.posSelect,null,A);"undefined"!==typeof u&&this._selectLocation(u);"undefined"!==typeof z&&this.areaColor.setSingleColor(z);"undefined"!==typeof g&&this.opacitySlider.set("value",
g);setTimeout(function(){this.ignoreEvent=!1}.bind(this),200)}}},_splitPositionAttr:function(d){if(!d)return{};if(-1<d.indexOf("inside")){var g="inside";d=d.replace("inside","");d=d.toLowerCase()}else g="outside";return{pos:d,loc:g}},_initDom:function(){this.opacitySlider=new h({name:"slider",value:0,minimum:0,maximum:1,discreteValues:10,intermediateChanges:!1,showButtons:!1,style:"margin: auto 0;"});this.own(c(this.opacitySlider,"change",e.hitch(this,this._onChange)));this.opacitySlider.placeAt(this.opacityDiv);
this._cleanUI()},_cleanUI:function(){this.valInput1.set("value","");this.valInput2.set("value","");this.labelInput.set("value","");this.labelColor.setSingleColor(this.defaultColor);f.updateOptions(this.posSelect,null,"top");this._selectLocation("inside");this.areaColor.setSingleColor(this._defaultAreaColor);this.opacitySlider.set("value",this._defaultOpacity)},_unselectlocBtns:function(){a.removeClass(this.insideBtn,"selected");a.removeClass(this.outsideBtn,"selected")},_getSelectedLoaction:function(){return a.hasClass(this.insideBtn,
"selected")?"inside":"outside"},_selectLocation:function(d){this._unselectlocBtns();"inside"===d?a.addClass(this.insideBtn,"selected"):"outside"===d&&a.addClass(this.outsideBtn,"selected");this._onChange()},_oninsideClicked:function(d){d.stopPropagation();this._selectLocation("inside")},_onoutsideClicked:function(d){d.stopPropagation();this._selectLocation("outside")}})})},"widgets/Infographic/setting/dijitsSetting/_dijits/DataFields":function(){define(["dojo/_base/declare","dojo/query","jimu/dijit/_DataFields"],
function(B,r,w){return B([w],{uncheckAllFields:function(){r(".field-item",this.fieldsContent).forEach(function(q){r("input",q)[0].checked=!1}.bind(this))}})})},"jimu/dijit/_DataFields":function(){define("dojo/_base/declare dojo/_base/lang dojo/_base/array dojo/_base/html dojo/_base/query dojo/on dijit/_WidgetBase dijit/_TemplatedMixin dojo/Evented dojo/text!./templates/_DataFields.html".split(" "),function(B,r,w,q,k,l,h,c,a,e){return B([h,a,c],{baseClass:"jimu-dijit-data-fields",templateString:e,
isSingle:!1,postMixInProperties:function(){this.nls=r.clone(window.jimuNls.simpleTable)},postCreate:function(){this.inherited(arguments);this.own(l(this.domNode,"click",r.hitch(this,this._onDomClicked)))},clear:function(){q.empty(this.fieldsContent);this.emit("change")},setSingleMode:function(){this.isSingle=!0;this._checkSingleMode()},setMultipleMode:function(){this.isSingle=!1},_checkSingleMode:function(f){if(this.isSingle){var b=k("input",this.domNode);b=w.filter(b,r.hitch(this,function(d){return d.checked}));
0!==b.length&&(f||(f=b[0]),b=w.filter(b,r.hitch(this,function(d){return d!==f})),w.forEach(b,r.hitch(this,function(d){d.checked=!1})))}},setFields:function(f){this.clear();w.forEach(f,r.hitch(this,function(b){var d=q.toDom('\x3cdiv class\x3d"field-item"\x3e\x3cinput type\x3d"checkbox" /\x3e\x3cspan class\x3d"jimu-ellipsis" /\x3e\x3c/div\x3e'),g=k("input",d)[0],n=k("span",d)[0];g.checked=!!b.checked;n.innerHTML=b.alias||b.name;n.title=b.alias||b.name;d.fieldName=b.name;q.place(d,this.fieldsContent);
this.own(l(g,"change",r.hitch(this,function(){g.checked&&this._checkSingleMode(g);this.emit("change")})))}));this.emit("change")},selectFields:function(f,b){r.isArrayLike(f)&&(f=r.clone(f),f.reverse(),w.forEach(f,r.hitch(this,function(d){if(d=this._getFieldItemDivByName(d))b||q.place(d,d.parentNode,"first"),k("input",d)[0].checked=!0})));this.emit("change")},getSelectedFieldNames:function(){var f=k(".field-item",this.fieldsContent),b=[];w.forEach(f,r.hitch(this,function(d){k("input",d)[0].checked&&
b.push(d.fieldName)}));return b},_getFieldItemDivByName:function(f){var b=k(".field-item",this.fieldsContent);return w.filter(b,r.hitch(this,function(d){return d.fieldName===f}))[0]},_onDomClicked:function(f){f=f.target||f.srcElement;if(q.isDescendant(f,this.fieldsContent)&&f!==this.fieldsContent){var b=f.tagName.toLowerCase(),d=null;q.hasClass(f,"field-item")?this._selectFieldItemDom(f):"span"===b?(d=f.parentNode,this._selectFieldItemDom(d)):"input"===b&&(d=f.parentNode,f.checked?this._selectFieldItemDom(d):
q.removeClass(d,"selected"));this._updateHighLightIcons()}},_updateHighLightIcons:function(){var f=this._getSelectedFieldItemDiv();f&&q.hasClass(f,"selected")&&(f.previousSibling?q.addClass(this.btnUp,"high-light"):q.removeClass(this.btnUp,"high-light"),f.nextSibling?q.addClass(this.btnDown,"high-light"):q.removeClass(this.btnDown,"high-light"))},_selectFieldItemDom:function(f){k(".field-item",this.fieldsContent).removeClass("selected");q.addClass(f,"selected")},_getSelectedFieldItemDiv:function(){var f=
null,b=k(".field-item.selected",this.fieldsContent);0<b.length&&(f=b[0]);return f},_moveUp:function(){var f=this._getSelectedFieldItemDiv();f&&f.previousSibling&&q.place(f,f.previousSibling,"before");this._updateHighLightIcons()},_moveDown:function(){var f=this._getSelectedFieldItemDiv();f&&f.nextSibling&&q.place(f,f.nextSibling,"after");this._updateHighLightIcons()}})})},"widgets/Infographic/setting/dijitsSetting/_dijits/Toggle":function(){define("dojo/_base/declare dojo/_base/lang dojo/on dojo/_base/html dojo/Evented dijit/_WidgetBase dijit/_TemplatedMixin".split(" "),
function(B,r,w,q,k,l,h){return B([l,h,k],{baseClass:"infographic-toggle-button",templateString:'\x3cdiv\x3e\x3cdiv data-dojo-attach-point\x3d"toggleBtn" class\x3d"toggle toggle-off"\x3e\x3c/div\x3e\x3c/div\x3e',state:!1,postCreate:function(){this.inherited(arguments);this.own(w(this.toggleBtn,"click",r.hitch(this,function(){this.setState(!this.state);this.emit("change",this.state)})))},setState:function(c){(this.state=c)?this._open():this._close()},getState:function(){return!!this.state},_open:function(){q.removeClass(this.toggleBtn,
"toggle-off");q.addClass(this.toggleBtn,"toggle-on")},_close:function(){q.removeClass(this.toggleBtn,"toggle-on");q.addClass(this.toggleBtn,"toggle-off")}})})},"widgets/Infographic/setting/dijitsSetting/GaugeDijitSetting":function(){define("dojo/_base/declare dijit/_WidgetsInTemplateMixin dojo/_base/lang dojo/_base/html dojo/_base/Color dojo/on ./BaseDijitSetting dojo/text!./GaugeDijitSetting.html ./_dijits/FontSetting ./_dijits/DataFormatSetting ./_dijits/NumberIndicator/MultipleIndicators ./_dijits/ValueProvider/RangeProvider ./_dijits/ValueProvider/ValueProvider ./_dijits/TogglePocket jimu/dijit/TabContainer3 jimu/dijit/ColorPickerPopup jimu/utils jimu/dijit/Message ../utils dijit/TitlePane".split(" "),
function(B,r,w,q,k,l,h,c,a,e,f,b,d,g,n,m,p,u,A){return B([h,r],{templateString:c,baseClass:"infographic-gauge-dijit-setting",type:"gauge",postMixInProperties:function(){w.mixin(this.nls,window.jimuNls.common)},postCreate:function(){this.inherited(arguments);this._ignoreEvent();this.shape=this.config&&this.config.shape;this._init();this._careEvent()},setDataSource:function(z){this.dataSource=z},setLayerDefinition:function(z){z&&(this.definition=z=A.preProcessDefinition(z));this.mainValue&&this.mainValue.setLayerDefinition(this.definition)},
setLayerObject:function(z){z&&(this.layerObject=z)},reset:function(){this.config=this.rangeDefinition2=this.rangeDefinition1=this.definition=this.dataSource=null;this.mainValue&&this.mainValue.reset();this.range1&&this.range1.reset();this.range2&&this.range2.reset()},_getStatistics:function(){if(this.mainValue&&this.range1&&this.range2){var z=this.mainValue.getConfig(),C=this.range1.getConfig(),v=this.range2.getConfig();return[{type:"value",config:z},{type:"range",name:"range1",config:C},{type:"range",
name:"range2",config:v}]}},_ignoreEvent:function(){this._ignoreEvents=!0},_careEvent:function(){setTimeout(function(){this._ignoreEvents=!1}.bind(this),200)},getConfig:function(z){if(!this.isValid(z))return this.config={},!1;z={shape:this.shape};var C=this._getStatistics();z.statistics=C;C=this.indicators.getConfig();z.indicators=C;C={};this.backgroundColorPicker&&(C.backgroundColor=this.backgroundColorPicker.getColor().toHex());this.frontColorPicker&&(C.gaugeColor=this.frontColorPicker.getColor().toHex());
this.backColorPicker&&(C.bgColor=this.backColorPicker.getColor().toHex());var v={};v.state=this.dataLabelsTogglePocket.getState();this.dataLabelsColorPicker&&(v.textColor=this.dataLabelsColorPicker.getColor().toHex());v.dataRange=q.hasClass(this.dataRangeSwitch,"toggle-on");v.targetValue=q.hasClass(this.targetValueSwitch,"toggle-on");var E={digitSeparator:q.hasClass(this.separatorSwitch,"toggle-on")};v.dataFormat=E;C.dataLabels=v;v={};v.state=this.currentValueTogglePocket.getState();v.isRatio=!!this.ratioBtn.checked;
this.fontSetting&&(v.font=this.fontSetting.getConfig());this.dataFormatSetting&&(v.dataFormat=this.dataFormatSetting.getConfig());C.currentValue=v;z.display=C;return this.config=z},_setStatistics:function(z){z&&z.length&&z.forEach(function(C){"value"===C.type?this.mainValue&&this.mainValue.setConfig(C.config):"range1"===C.name?this.range1&&this.range1.setConfig(C.config):"range2"===C.name&&this.range2&&this.range2.setConfig(C.config)}.bind(this))},setConfig:function(z){this._ignoreEvent();if(this.config=
z)if(this._setStatistics(z.statistics),this.indicators.setConfig(this.config),z=this.config.display){z.backgroundColor&&this.backgroundColorPicker.setColor(new k(z.backgroundColor));z.gaugeColor&&this.frontColorPicker.setColor(new k(z.gaugeColor));z.bgColor&&this.backColorPicker.setColor(new k(z.bgColor));var C=z.dataLabels;C&&(C.textColor&&this.dataLabelsColorPicker.setColor(new k(C.textColor)),this._handleToggleBtn(this.dataRangeSwitch,!!C.dataRange),this._handleToggleBtn(this.targetValueSwitch,
!!C.targetValue),this._handleToggleBtn(this.separatorSwitch,!(!C.dataFormat||!C.dataFormat.digitSeparator)),this.dataLabelsTogglePocket.setState(C.state));if(z=z.currentValue)C=z.isRatio,this.ratioBtn.setChecked(C),this.trueValueBtn.setChecked(!C),z.dataFormat&&this.dataFormatSetting.setConfig(z.dataFormat),z.font&&this.fontSetting.setConfig(z.font),this.currentValueTogglePocket.setState(z.state);this._careEvent()}},_onSettingsChange:function(){!this._ignoreEvents&&this.domNode&&(this.getConfig(),
this.updateDijit())},_setRangeFeaturesToDijit:function(z,C){this.dijit&&(this.dijit.setRangeFeatures(z,C),this.dijit.startRendering())},updateDijit:function(){p.isEqual(this.cacheConfig,this.config)||(this.dijit.setConfig(this.config),this.dijit.startRendering());this.cacheConfig=null;this.cacheConfig=w.clone(this.config)},destroy:function(){this.indicators&&(this.indicators.destroy(),this.indicators=null);this.inherited(arguments)},isValid:function(z){return!this.indicators.getConfig(z)&&z?(this.tab.selectTab(this.nls.indicators),
new u({message:this.nls.setCorrectyIndicatorTip}),!1):this.mainValue.isValid()&&this.range1.isValid()&&this.range2.isValid()&&this.fontSetting.isValid()&&this.dataFormatSetting.isValid()?!0:!1},_init:function(){this._initTabs();this._initValueProvider();this._initDisplay();this._initIndicators();this._initEvent()},_initTabs:function(){this.tab=new n({average:!0,tabs:[{title:this.nls.data,content:this.dataTab},{title:this.nls.display,content:this.display},{title:this.nls.indicators,content:this.indicatorsDiv}]},
this.tabNode)},_initValueProvider:function(){this.mainValue=new d({nls:this.nls,titleText:this.nls.displayValue});this.mainValue.placeAt(this.valueContainer);this.own(l(this.mainValue,"change",w.hitch(this,function(z){this._handleDePlacesForMainValue(z);this._onSettingsChange()})));this.range1=new b({nls:this.nls,appConfig:this.appConfig,titleText:this.nls.min});this.range1.placeAt(this.minContainer);this.own(l(this.range1,"change",w.hitch(this,function(){this._onSettingsChange()})));this.own(l(this.range1,
"ds-change",w.hitch(this,function(z){this._onRangeDataSourceChanged(z,"range1")})));this.range2=new b({nls:this.nls,appConfig:this.appConfig,titleText:this.nls.max});this.range2.placeAt(this.maxContainer);this.own(l(this.range2,"change",w.hitch(this,function(){this._onSettingsChange()})));this.own(l(this.range2,"ds-change",w.hitch(this,function(z){this._onRangeDataSourceChanged(z,"range2")})))},_onRangeDataSourceChanged:function(z,C){this.igUtils&&(this.updateFetchState(C,"loading"),this.igUtils.getFeaturesForFrameDS(z).then(function(v){this.updateFetchState(C,
"loaded");this._setRangeFeaturesToDijit(v.features,C)}.bind(this),function(v){this.updateFetchState(C,"error");this._setRangeFeaturesToDijit(null,C);console.error(v)}.bind(this)))},updateFetchState:function(z,C){"range1"===z&&this.range1&&this.range1.updateFetchState(C);"range2"===z&&this.range2&&this.range2.updateFetchState(C)},_handleDePlacesForMainValue:function(z){if(z=z&&z.value){var C=this.dataFormatSetting.getConfig(),v=C.decimalPlaces;if("count"===z.type){if("number"!==typeof v||2===v)C.decimalPlaces=
0}else if("number"!==typeof v||0===v)C.decimalPlaces=2;this.dataFormatSetting.setConfig(C)}},_initToggle:function(){this.dataLabelsTogglePocket=new g({titleLabel:this.nls.dataLabels,content:this.dataLabelsSettingNode});this.dataLabelsTogglePocket.placeAt(this.dataLabelsToggle);this.dataLabelsTogglePocket.startup();this.dataLabelsTogglePocket.setState(!0);this.own(l(this.dataLabelsTogglePocket,"change",w.hitch(this,function(){this._onSettingsChange()})));this.currentValueTogglePocket=new g({titleLabel:this.nls.currentValue,
content:this.currentValueSettingNode});this.currentValueTogglePocket.placeAt(this.currentValueToggle);this.currentValueTogglePocket.startup();this.currentValueTogglePocket.setState(!0);this.own(l(this.currentValueTogglePocket,"change",w.hitch(this,function(){this._onSettingsChange()})))},_initDisplay:function(){this._initToggle();this.backgroundColorPicker=this._createColorPicker(this.backgroundColorPickerDiv,"#FFFFFF");this.own(l(this.backgroundColorPicker,"change",w.hitch(this,function(){this.backgroundColorPicker.hideTooltipDialog();
this._onSettingsChange()})));this.frontColorPicker=this._createColorPicker(this.frontColorPickerDiv,"#49B4CB");this.own(l(this.frontColorPicker,"change",w.hitch(this,function(){this.frontColorPicker.hideTooltipDialog();this._onSettingsChange()})));this.backColorPicker=this._createColorPicker(this.backColorPickerDiv,this.config&&this.config.display&&this.config.display.bgColor||"#E5E5E5");this.own(l(this.backColorPicker,"change",w.hitch(this,function(){this.backColorPicker.hideTooltipDialog();this._onSettingsChange()})));
this.dataLabelsColorPicker=this._createColorPicker(this.dataLabelsColorPickerNode,"#000001");this.own(l(this.dataLabelsColorPicker,"change",w.hitch(this,function(){this._onSettingsChange()})));this.dataFormatSetting=new e({nls:this.nls});this.dataFormatSetting.placeAt(this.dataFormatSettingNode);this.dataFormatSetting.startup();this.own(l(this.dataFormatSetting,"change",w.hitch(this,function(){this._onSettingsChange()})));this.fontSetting=new a({appearance:{underline:!1},nls:this.nls});this.fontSetting.placeAt(this.fontSettingNode);
this.fontSetting.startup();this.own(l(this.fontSetting,"change",w.hitch(this,function(){this._onSettingsChange()})))},_createColorPicker:function(z,C){var v=new m({appearance:{showTransparent:!1,showColorPalette:!0,showCoustom:!0,showCoustomRecord:!0}});v.placeAt(z);v.startup();v.setColor(new k(C));return v},_initIndicators:function(){this.indicators=new f({type:"gauge",nls:this.nls,folderUrl:this.folderUrl});this.indicators.placeAt(this.indicatorsDiv);this.indicators.startup();this.own(l(this.indicators,
"change",w.hitch(this,function(){this._onSettingsChange()})))},_initEvent:function(){this.own(l(this.dataRangeSwitch,"click",w.hitch(this,function(){this._handleToggleBtn(this.dataRangeSwitch,!q.hasClass(this.dataRangeSwitch,"toggle-on"))})));this.own(l(this.targetValueSwitch,"click",w.hitch(this,function(){this._handleToggleBtn(this.targetValueSwitch,!q.hasClass(this.targetValueSwitch,"toggle-on"))})));this.own(l(this.separatorSwitch,"click",w.hitch(this,function(){this._handleToggleBtn(this.separatorSwitch,
!q.hasClass(this.separatorSwitch,"toggle-on"))})))},_handleToggleBtn:function(z,C){C?(q.removeClass(z,"toggle-off"),q.addClass(z,"toggle-on")):(q.removeClass(z,"toggle-on"),q.addClass(z,"toggle-off"));this._onSettingsChange()},_onDisplayInChange:function(z){"ratio"===z?(this.dataFormatSetting.setConfig({unit:"percentage"}),this.dataFormatSetting.disableItem("unit")):(this.dataFormatSetting.setConfig({unit:"none"}),this.dataFormatSetting.enableItem("unit"));this._onSettingsChange()},_onDiaplayInRatio:function(z){z&&
this._onDisplayInChange("ratio")},_onDisplayInTrueValue:function(z){z&&this._onDisplayInChange("trueValue")}})})},"widgets/Infographic/setting/dijitsSetting/_dijits/DataFormatSetting":function(){define("dojo/_base/declare dojo/_base/lang dojo/on dojo/_base/html dojo/_base/array dojo/Evented dijit/_WidgetBase dijit/_TemplatedMixin dijit/_WidgetsInTemplateMixin dojo/text!./DataFormatSetting.html ./Toggle dijit/form/ComboBox jimu/dijit/CheckBox dijit/form/NumberSpinner dijit/form/Select dijit/form/ValidationTextBox".split(" "),
function(B,r,w,q,k,l,h,c,a,e,f){return B([h,c,a,l],{templateString:e,nls:null,_DEFAULT_CONFIG:null,postCreate:function(){this.inherited(arguments);this._ignoreEvent=!0;this._DEFAULT_CONFIG={unit:"none",decimalPlaces:"0",digitSeparator:!0,prefix:"",suffix:""};this._UNIT=[{value:"billion",label:this.nls.billion},{value:"million",label:this.nls.million},{value:"thousand",label:this.nls.thousand},{value:"none",label:this.nls.none},{value:"percentage",label:this.nls.percentage}];this.config=r.mixin(this._DEFAULT_CONFIG,
this.config);this.digitSeparator=new f;this.digitSeparator.setState(!0);this.digitSeparator.placeAt(this.digitSeparatorDiv);this.own(w(this.digitSeparator,"change",r.hitch(this,function(b){if(this.config.digitSeparator!==b)this.onSettingChange({digitSeparator:b})})));this._initAppearance();k.forEach(this._UNIT,r.hitch(this,function(b){this.unitSelect.addOption(b)}));this.own(w(this.unitSelect,"change",r.hitch(this,function(b){if(this.config.unit!==b)this.onSettingChange({unit:b})})));this.own(w(this.decimalPlacesText,
"change",r.hitch(this,function(){if(this.config.decimalPlaces!==this.decimalPlacesText.getValue())this.onSettingChange({decimalPlaces:this.decimalPlacesText.getValue()})})));this.own(w(this.prefixText,"change",r.hitch(this,function(){if(this.config.prefix!==this.prefixText.getValue())this.onSettingChange({prefix:this.prefixText.getValue()})})));this.own(w(this.prefixText,"blur",r.hitch(this,function(){if(this.config.prefix!==this.prefixText.getValue()){var b=this.prefixText.getValue();this.onSettingChange({prefix:b})}})));
this.own(w(this.suffixText,"change",r.hitch(this,function(){if(this.config.suffix!==this.suffixText.getValue())this.onSettingChange({suffix:this.suffixText.getValue()})})));this.own(w(this.suffixText,"blur",r.hitch(this,function(){if(this.config.suffix!==this.suffixText.getValue()){var b=this.suffixText.getValue();this.onSettingChange({suffix:b})}})))},startup:function(){this.inherited(arguments);this.setConfig(this.config);this.refresh();setTimeout(function(){this._ignoreEvent=!1}.bind(this),200)},
onSettingChange:function(b){this._ignoreEvent||(this.config=r.mixin(this.config,b),this.onChange(this.config))},onChange:function(b){this.emit("change",b)},refresh:function(){this.onSettingChange({})},isValid:function(){return this.decimalPlacesText.isValid()},getConfig:function(){return this.isValid()?(isNaN(this.decimalPlacesText.getValue())&&(this.config.decimalPlaces=""),this.config):!1},_initAppearance:function(){this.appearance&&!1===this.appearance.unit&&q.addClass(this.unit,"hide")},disableItem:function(b){"unit"===
b&&this.unitSelect.set("disabled",!0)},enableItem:function(b){"unit"===b&&this.unitSelect.set("disabled",!1)},setConfig:function(b){"undefined"!==typeof b&&("undefined"!==typeof b.unit&&(this.config.unit=b.unit,this.unitSelect.set("value",this.config.unit)),"undefined"!==typeof b.decimalPlaces&&(this.config.decimalPlaces=b.decimalPlaces,this.decimalPlacesText.setValue(Math.ceil(this.config.decimalPlaces))),"undefined"!==typeof b.digitSeparator&&(this.config.digitSeparator=b.digitSeparator,this.digitSeparator.setState(this.config.digitSeparator)),
"undefined"!==typeof b.prefix&&(this.config.prefix=b.prefix,this.prefixText.setValue(this.config.prefix)),"undefined"!==typeof b.suffix&&(this.config.suffix=b.suffix,this.suffixText.setValue(this.config.suffix)))}})})},"widgets/Infographic/setting/dijitsSetting/_dijits/NumberIndicator/MultipleIndicators":function(){define("dojo/_base/declare dijit/_WidgetBase dojo/Evented dijit/_TemplatedMixin dijit/_WidgetsInTemplateMixin dojo/text!./MultipleIndicators.html dojo/on dojo/query dojo/mouse dojo/_base/html dojo/_base/lang ./SingleIndicator libs/Sortable dijit/form/Select jimu/dijit/CheckBox".split(" "),
function(B,r,w,q,k,l,h,c,a,e,f,b,d){var g=a.enter,n=a.leave;return B([r,w,q,k],{baseClass:"infographic-setting-multiple-indicators",templateString:l,nls:null,constructor:function(){this.inherited(arguments);this.indicators=[]},postCreate:function(){this.inherited(arguments);this._initEvent();this.setConfig(this.config)},startup:function(){this.inherited(arguments);this.sortableIndicatorNode=d.create(this.indicatorDiv,{handle:".drag-masker",filter:".disable-drag .unvaild",sort:!0,disabled:!1,animation:100,
onSort:f.hitch(this,function(){this._onSorted()})});this.setConfig(this.config)},_initEvent:function(){this.own(h(this.topIcon,"click",f.hitch(this,this._onAddIndicatorClicked)));this.own(h(this.topBlock,"click",f.hitch(this,this._onAddIndicatorClicked)));this.own(h(this.topText,"click",f.hitch(this,this._onAddIndicatorClicked)));this._handleAddIdicatorHoverColor()},_handleAddIdicatorHoverColor:function(){this.own(h(this.topIcon,g,f.hitch(this,function(){e.addClass(this.topIcon,"active");e.addClass(this.topText,
"active")})));this.own(h(this.topBlock,g,f.hitch(this,function(){e.addClass(this.topIcon,"active");e.addClass(this.topText,"active")})));this.own(h(this.topText,g,f.hitch(this,function(){e.addClass(this.topIcon,"active");e.addClass(this.topText,"active")})));this.own(h(this.topIcon,n,f.hitch(this,function(){e.removeClass(this.topIcon,"active");e.removeClass(this.topText,"active")})));this.own(h(this.topBlock,n,f.hitch(this,function(){e.removeClass(this.topIcon,"active");e.removeClass(this.topText,
"active")})));this.own(h(this.topText,n,f.hitch(this,function(){e.removeClass(this.topIcon,"active");e.removeClass(this.topText,"active")})))},setConfig:function(m){(this.config=m)&&this._setIndicators()},_getIndicatorIDs:function(){return c(".infographic-setting-single-indicator",this.indicatorDiv).map(function(m){return e.getAttr(m,"data-id")})},getConfig:function(m){var p=[];this.indicators.forEach(f.hitch(this,function(u){u&&(u=u.getConfig())&&p.push(u)}));return m&&this.indicators.length!==p.length?
!1:p},_setIndicators:function(){var m=this.config.indicators;this.clear();m&&m.forEach(f.hitch(this,function(p){this._createIndicator(p)}));this._updateIndicatorBottomLineDisplay()},_reSortIndicatorArray:function(){var m=[];this._getIndicatorIDs().forEach(function(p){this.indicators.some(function(u){return u.uniqueID===p?(m.push(u),!0):!1})}.bind(this));this.indicators=null;this.indicators=m},_onSorted:function(){this._reSortIndicatorArray();this._updateIndicatorBottomLineDisplay();this._onUpdate()},
_onUpdate:function(){this.emit("change")},_updateIndicatorBottomLineDisplay:function(){if(this.indicators&&this.indicators.length){var m=this.indicators.length-1;this.indicators.forEach(f.hitch(this,function(p,u){p&&p.updateBottomLineDisplay(u,m)}))}},_onAddIndicatorClicked:function(m){m.stopPropagation();this._createIndicator()},_createIndicator:function(m){var p={type:this.type,nls:this.nls,folderUrl:this.folderUrl};m&&(p.config=m);var u=new b(p);u.placeAt(this.indicatorDiv);u.startup();this.own(h(u,
"remove",f.hitch(this,function(A){this.indicators=this.indicators.filter(function(z){return z.uniqueID!==A});u.destroy();u=null;this._updateIndicatorBottomLineDisplay()})));this.own(h(u,"change",f.hitch(this,function(){this._onUpdate()})));this.indicators.push(u);this._updateIndicatorBottomLineDisplay()},clear:function(){this.indicators&&(this.indicators.forEach(f.hitch(this,function(m){m&&(m.destroy(),m=null)})),this.indicators=[])},destroy:function(){this.clear();this.inherited(arguments)}})})},
"widgets/Infographic/setting/dijitsSetting/_dijits/NumberIndicator/SingleIndicator":function(){define("dojo/_base/declare dijit/_WidgetBase dojo/Evented dijit/_TemplatedMixin dijit/_WidgetsInTemplateMixin dojo/text!./SingleIndicator.html dojo/_base/Color dojo/on dojo/query dojo/_base/html dojo/_base/lang jimu/utils jimu/dijit/ColorPickerPopup ./IconChooserPopup dojo/dom-style dijit/form/Select jimu/dijit/CheckBox dijit/form/ValidationTextBox".split(" "),function(B,r,w,q,k,l,h,c,a,e,f,b,d,g,n){return B([r,
w,q,k],{baseClass:"infographic-setting-single-indicator",templateString:l,_valueEnable:!0,_gaugeEnable:!0,_iconEnable:!0,nls:null,type:"",constructor:function(m){this.cacheColor={};this.config=m.config;this.type=m.type;this.folderUrl=m.folderUrl},postCreate:function(){this.inherited(arguments);this._initUI();this.own(c(this.indicatorOption,"click",f.hitch(this,this._onIndicatorComponentClick)));this.setConfig(this.config);this._hasLoaded=!0},startup:function(){this.inherited(arguments);this.uniqueID=
this.config?"undefined"!==typeof this.config.uniqueID?this.config.uniqueID:b.getRandomString():b.getRandomString();e.setAttr(this.domNode,"data-id",this.uniqueID)},updateBottomLineDisplay:function(m,p){m===p?e.setStyle(this.indicatorTottomLine,"display","none"):e.setStyle(this.indicatorTottomLine,"display","block")},_onUpdate:function(){this._hasLoaded&&this.emit("change")},_initUI:function(){this.own(c(this.operator,"change",f.hitch(this,this._onCompareChange)));"gauge"===this.type?(n.set(this.ratioBtnDiv,
"display","block"),n.set(this.gaugeColorSetting,"display","flex"),n.set(this.indicatorIconSetting,"display","none")):"number"===this.type&&(n.set(this.ratioBtnDiv,"display","none"),n.set(this.gaugeColorSetting,"display","none"),n.set(this.indicatorIconSetting,"display","flex"));this.valueColorPicker=new d({appearance:{showTransparent:!1,showColorPalette:!0,showCoustom:!0,showCoustomRecord:!0}});this.valueColorPicker.placeAt(this.valueColorSettingBtn);this.valueColorPicker.startup();this.valueColorPicker.setColor(new h("#808080"));
this.own(c(this.valueColorPicker,"change",f.hitch(this,function(){this._onUpdate()})));"gauge"===this.type?(this.gaugeColorPicker=new d({appearance:{showTransparent:!1,showColorPalette:!0,showCoustom:!0,showCoustomRecord:!0}}),this.gaugeColorPicker.placeAt(this.gaugeColorSettingBtn),this.gaugeColorPicker.startup(),this.gaugeColorPicker.setColor(new h("#808080")),this.own(c(this.gaugeColorPicker,"change",f.hitch(this,function(){this._onUpdate()})))):"number"===this.type&&(this.iconChooser=new g({nls:this.nls,
folderUrl:this.folderUrl}),this.iconChooser.placeAt(this.indicatorIconSettingBtn),this.iconChooser.startup(),this.own(c(this.iconChooser,"change",f.hitch(this,function(){this._onUpdate()}))))},setConfig:function(m){if(this.config=m){this.operator.set("value",this.config.operator);this.config.isRatio?this.ratioBtn.check():this.ratioBtn.uncheck();this.config.valueColor?this.valueColorPicker.setColor(new h(this.config.valueColor)):this._updateOptionDisplay(this.valueState);"gauge"===this.type&&(this.config.gaugeColor?
this.gaugeColorPicker.setColor(new h(this.config.gaugeColor)):this._updateOptionDisplay(this.gaugeState));"number"===this.type&&(this.config.iconInfo?this.iconChooser.setConfig(this.config.iconInfo):this._updateOptionDisplay(this.iconState));var p=this.config.value;b.isNotEmptyObject(p,!0)&&setTimeout(f.hitch(this,function(){"between"!==this.config.operator?this.compareValue.setValue(p[0]):(this.compareValue1.setValue(p[0]),this.compareValue2.setValue(p[1]))}),200)}},isValid:function(){var m=this.operator.getValue(),
p=this._getValue();if("between"===m){if(!(this.compareValue1.isValid()&&this.compareValue2.isValid()&&p&&p.between&&p.between.length&&"undefined"!==typeof p.between[0]&&"undefined"!==typeof p.between[1]))return!1}else if(!this.compareValue.isValid()||!p||"undefined"===typeof p.normal)return!1;return!0},_switchValueInputMode:function(m){switch(m){case "normal":this.compareValue.set("validator",function(p){return!!p&&/^\d+(\.\d+)?$/.test(p)});this.compareValue1.set("validator",function(){return!0});
this.compareValue2.set("validator",function(){return!0});break;case "between":this.compareValue.set("validator",function(){return!0}),this.compareValue1.set("validator",function(p){return!!p&&/^\d+(\.\d+)?$/.test(p)}),this.compareValue2.set("validator",function(p){return!!p&&/^\d+(\.\d+)?$/.test(p)})}},getConfig:function(){if(!this.isValid())return!1;var m={},p=[],u=this._getValue();"undefined"!==typeof u.between?p=f.clone(u.between):"undefined"!==typeof u.normal&&(p=[u.normal]);if(!p.length)return!1;
m.value=p;p=this.operator.getValue();m.operator=p;"gauge"===this.type&&(m.isRatio=this.ratioBtn.checked);this.valueColorPicker&&this._valueEnable&&(p=this.valueColorPicker.getColor())&&(m.valueColor=p.toHex());this.gaugeColorPicker&&this._gaugeEnable&&(p=this.gaugeColorPicker.getColor())&&(m.gaugeColor=p.toHex());"number"===this.type&&this.iconChooser&&this._iconEnable&&(p=this.iconChooser.getConfig(),m.iconInfo=p);m.uniqueID=this.uniqueID;return m},_onCompareChange:function(m){this.compareValue.setValue("");
this.compareValue1.setValue("");this.compareValue2.setValue("");"between"===m?(n.set(this.oneValueDiv,"display","none"),n.set(this.twoValueDiv,"display",""),this._switchValueInputMode("between")):(n.set(this.oneValueDiv,"display",""),n.set(this.twoValueDiv,"display","none"),this._switchValueInputMode("normal"))},_getValue:function(){var m={};if("between"!==this.operator.getValue()){var p=this.compareValue.getValue();this.compareValue.isValid()&&""!==p&&(m.normal=Number(p))}else{m.between=[];p=this.compareValue1.getValue();
var u=this.compareValue2.getValue();this.compareValue1.isValid()&&""!==p&&this.compareValue2.isValid()&&""!==u&&(m.between[0]=Number(p),m.between[1]=Number(u))}return m},_removeIndicator:function(){this.emit("remove",this.uniqueID);this._onUpdate()},_updateOptionDisplay:function(m){if(e.hasClass(m,"activated")||e.hasClass(m,"deactivated")){if(e.hasClass(m,"value-state")){this._valueEnable=!this._valueEnable;var p=a(".color-tip",this.valueColorSetting)[0];var u="value";var A=this.valueColorPicker;
var z=null}else e.hasClass(m,"gauge-state")?(this._gaugeEnable=!this._gaugeEnable,p=a(".color-tip",this.gaugeColorSetting)[0],u="gauge",A=this.gaugeColorPicker,z=null):e.hasClass(m,"icon-state")&&(this._iconEnable=!this._iconEnable,p=a(".color-tip",this.indicatorIconSetting)[0],u="icon",A=null,z=this.iconChooser);e.hasClass(p,"disable")?(e.removeClass(p,"disable"),A&&this.cacheColor[u]&&A.setColor(new h(this.cacheColor[u])),z&&this.cacheColor[u]&&z.setIconColor(this.cacheColor[u]),e.addClass(m,"activated"),
e.removeClass(m,"deactivated")):(e.addClass(p,"disable"),A&&(this.cacheColor[u]=A.getColor().toHex(),A.setColor(new h("#BCBCBC"))),z&&(z.getIconColor()&&(this.cacheColor[u]=z.getIconColor()),z.setIconColor("#BCBCBC")),e.removeClass(m,"activated"),e.addClass(m,"deactivated"));this._onUpdate()}},_onIndicatorComponentClick:function(m){this._updateOptionDisplay(m.target||m.srcElement)},destroy:function(){this.valueColorPicker&&(this.valueColorPicker.destroy(),this.valueColorPicker=null);this.valueColorPicker&&
(this.gaugeColorPicker.destroy(),this.gaugeColorPicker=null);this.iconChooser&&(this.iconChooser.destroy(),this.iconChooser=null);this.inherited(arguments)}})})},"widgets/Infographic/setting/dijitsSetting/_dijits/NumberIndicator/IconChooserPopup":function(){define("dojo/_base/declare dijit/_WidgetBase dojo/Evented dijit/_TemplatedMixin dijit/_WidgetsInTemplateMixin dojo/text!./IconChooserPanel.html jimu/dijit/ColorPickerPopup dojo/_base/Color dijit/TooltipDialog dijit/popup dojo/_base/html dojo/_base/lang dojo/on dojo/query dojo/dom-style".split(" "),
function(B,r,w,q,k,l,h,c,a,e,f,b,d,g,n){var m=B([r,q,k,w],{baseClass:"infographic-setting-number-icon-chooser-panel",templateString:l,nls:null,icons:"icon-up-svg icon-down-svg icon-stop-svg icon-star-svg icon-danger-svg icon-alarm-svg icon-right-svg icon-wrong-svg icon-like-svg icon-unlike-svg".split(" "),iconInfo:null,postCreate:function(){this.inherited(arguments);this.DEFAULT_ICON={color:"#49B4CB",icon:"icon-up",placement:"left"};this.iconInfo=b.mixin(this.DEFAULT_ICON,this.iconInfo);this._init();
this.setConfig(this.iconInfo);this._hasLoaded=!0},_init:function(){this._initIcons();this._initColorPicker();this._initEvent()},_initIcons:function(){this.icons.forEach(b.hitch(this,function(p,u){var A=f.toDom('\x3cdiv class\x3d"iconDiv '+p+'"\x3e\x3c/div\x3e');A.icon=p.replace("-svg","");5>u?f.place(A,this.iconStyle1,"last"):f.place(A,this.iconStyle2,"last")}))},getIconColor:function(){if(this.iconInfo)return this.iconInfo.color},setIconColor:function(p){this.iconColorPicker.setColor(new c(p));this.iconColorPicker.picker.changeColor()},
_onIconInfoChanged:function(){if(this._hasLoaded&&this.iconInfo){var p=b.clone(this.iconInfo);this.emit("change",p)}},_initColorPicker:function(){this.iconColorPicker=new h({appearance:{showTransparent:!1,showColorPalette:!0,showCoustom:!0,showCoustomRecord:!0}});this.iconColorPicker.placeAt(this.colorPicker);this.iconColorPicker.startup();this.own(d(this.iconColorPicker,"change",b.hitch(this,function(p){this.iconInfo.color=p.toHex();this._onIconInfoChanged()})))},_handleStyleClick:function(p){p.stopPropagation();
p=p.srcElement||p.target;if(p.icon)var u=p;else p.parentElement.icon&&(u=p.parentElement);u&&this._onIconSelected(u)},_initEvent:function(){this.own(d(this.iconStyle1,"click",b.hitch(this,this._handleStyleClick)));this.own(d(this.iconStyle2,"click",b.hitch(this,this._handleStyleClick)));this.own(d(this.placement,"click",b.hitch(this,function(p){p.stopPropagation();p=p.srcElement||p.target;f.hasClass(p,"placeDiv")&&this._onPlacementSelected(p)})))},setConfig:function(p){p&&(this.iconInfo=p,this.iconInfo.color&&
this.iconColorPicker.setColor(new c(this.iconInfo.color)),this.iconInfo.icon&&(p=g(".styleDiv ."+this.iconInfo.icon+"-svg")[0])&&this._onIconSelected(p),this.iconInfo.placement&&(p=g(".placement ."+this.iconInfo.placement)[0])&&this._onPlacementSelected(p))},getConfig:function(){if(this.iconInfo&&this.iconInfo.icon&&this.iconInfo.placement)return this.iconInfo},_onIconSelected:function(p){g(".styleDiv .iconDiv").removeClass("iconSelected");f.addClass(p,"iconSelected");this.iconInfo.icon=p.icon;this._onIconInfoChanged()},
_onPlacementSelected:function(p){var u;f.hasClass(p,"left")?u="left":f.hasClass(p,"replace")?u="replace":f.hasClass(p,"right")&&(u="right");g(".placement .placeDiv").removeClass("placeSelected");f.addClass(p,"placeSelected");this.iconInfo.placement=u;this._onIconInfoChanged()}});return B([r,q,k,w],{baseClass:"infographic-setting-number-icon-chooser-popup",templateString:'\x3cdiv\x3e\x3cdiv class\x3d"icon" data-dojo-attach-point\x3d"iconPreview"\x3e\x3c/div\x3e\x3cdiv class\x3d"border-merge drop-down-arrow"\x3e\x3c/div\x3e\x3c/div\x3e',
_isTooltipDialogOpened:!1,folderUrl:"",postCreate:function(){this.inherited(arguments);this.DEFAULT_ICON={color:"#49B4CB",icon:"icon-up",placement:"left"};this.config=b.mixin(this.DEFAULT_ICON,this.config);this._createTooltipDialog();this.setConfig(this.config)},setConfig:function(p){if(this.config=p)this.iconChooser.setConfig(this.config),this._previewIcon(this.config)},getConfig:function(){return this.config=this.iconChooser.getConfig()},getIconColor:function(){return this.iconChooser.getIconColor()},
setIconColor:function(p){this.iconChooser.setIconColor(p)},_setIconChooserUI:function(){this.getConfig();this.config&&this.iconChooser.setConfig(this.config)},_previewIcon:function(p){f.removeClass(this.iconPreview);f.addClass(this.iconPreview,["iconPreview","indicator-icon",p.icon]);n.set(this.iconPreview,"color",p.color);this._onUpdate()},_onUpdate:function(){this.emit("change",this.getConfig())},_createTooltipDialog:function(){var p=f.create("div");this.tooltipDialog=new a({content:p});f.addClass(this.tooltipDialog.domNode,
"infographic-setting-number-icon-chooser-popup-dialog");this.iconChooser=new m({nls:this.nls,iconInfo:this.config});this.iconChooser.placeAt(p);this.iconChooser.startup();this.own(d(this.domNode,"click",b.hitch(this,function(u){u.stopPropagation();u.preventDefault();this._isTooltipDialogOpened?this._hideTooltipDialog():this._showTooltipDialog()})));this.own(d(document,"click",b.hitch(this,function(u){this._isPartOfPopup(u.srcElement||u.target)||this._hideTooltipDialog()})));this._initIconChooserEvent()},
_initIconChooserEvent:function(){this.own(d(this.iconChooser,"change",b.hitch(this,function(p){this._previewIcon(p)})))},hideTooltipDialog:function(){this._hideTooltipDialog()},_showTooltipDialog:function(){e.open({parent:this.getParent(),popup:this.tooltipDialog,around:this.domNode});this._isTooltipDialogOpened=!0;this._setIconChooserUI()},_hideTooltipDialog:function(){e.close(this.tooltipDialog);this._isTooltipDialogOpened=!1},destroy:function(){this.iconChooser&&(this.iconChooser.destroy(),this.iconChooser=
null);this.tooltipDialog&&(this.tooltipDialog.destroy(),this.tooltipDialog=null);this.inherited(arguments)},_isPartOfPopup:function(p){var u=this.tooltipDialog.domNode;u=p===u||f.isDescendant(p,u);if(this.iconChooser&&this.iconChooser.iconColorPicker){var A=this.iconChooser.iconColorPicker.getTooltipDialog().domNode;A=p===A||f.isDescendant(p,A)}var z=e.getTopPopup();if(z&&z.wrapper){var C=z.wrapper;C=p===C||f.isDescendant(p,C)}return u||A||C}})})},"libs/Sortable":function(){!function(B){"function"==
typeof define&&define.amd?define(B):"undefined"!=typeof module&&void 0!==module.exports?module.exports=B():window.Sortable=B()}(function(){function B(y,H){if(!y||!y.nodeType||1!==y.nodeType)throw"Sortable: `el` must be HTMLElement, not "+{}.toString.call(y);this.el=y;this.options=H=z({},H);y[sa]=this;var I={group:null,sort:!0,disabled:!1,store:null,handle:null,scroll:!0,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0,draggable:/[uo]l/i.test(y.nodeName)?"\x3eli":"\x3e*",swapThreshold:1,invertSwap:!1,
invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return yb(y,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(P,R){P.setData("Text",R.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,touchStartThreshold:za(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,
fallbackOffset:{x:0,y:0},supportPointer:!1!==B.supportPointer&&("PointerEvent"in window||window.navigator&&"msPointerEnabled"in window.navigator),emptyInsertThreshold:5},O;for(O in I)O in H||(H[O]=I[O]);for(var M in zb(H),this)"_"===M.charAt(0)&&"function"==typeof this[M]&&(this[M]=this[M].bind(this));(this.nativeDraggable=!H.forceFallback&&Nb)&&(this.options.touchStartThreshold=1);H.supportPointer?w(y,"pointerdown",this._onTapStart):(w(y,"mousedown",this._onTapStart),w(y,"touchstart",this._onTapStart));
this.nativeDraggable&&(w(y,"dragover",this),w(y,"dragenter",this));Qa.push(this.el);H.store&&H.store.get&&this.sort(H.store.get(this)||[])}function r(y,H,I,O){if(y){I=I||X;do{if(null!=H&&("\x3e"===H[0]&&y.parentNode===I&&u(y,H.substring(1))||u(y,H))||O&&y===I)return y;if(y===I)break}while(y=(M=y).host&&M!==X&&M.host.nodeType?M.host:M.parentNode)}var M;return null}function w(y,H,I){y.addEventListener(H,I,Ab)}function q(y,H,I){y.removeEventListener(H,I,Ab)}function k(y,H,I){if(y&&H)if(y.classList)y.classList[I?
"add":"remove"](H);else{var O=(" "+y.className+" ").replace(Bb," ").replace(" "+H+" "," ");y.className=(O+(I?" "+H:"")).replace(Bb," ")}}function l(y,H,I){var O=y&&y.style;if(O){if(void 0===I)return X.defaultView&&X.defaultView.getComputedStyle?I=X.defaultView.getComputedStyle(y,""):y.currentStyle&&(I=y.currentStyle),void 0===H?I:I[H];H in O||-1!==H.indexOf("webkit")||(H="-webkit-"+H);O[H]=I+("string"==typeof I?"":"px")}}function h(y){var H="";do{var I=l(y,"transform");I&&"none"!==I&&(H=I+" "+H)}while(y=
y.parentNode);return window.DOMMatrix?new DOMMatrix(H):window.WebKitCSSMatrix?new WebKitCSSMatrix(H):window.CSSMatrix?new CSSMatrix(H):void 0}function c(y,H,I){if(y){y=y.getElementsByTagName(H);H=0;var O=y.length;if(I)for(;H<O;H++)I(y[H],H);return y}return[]}function a(y,H,I,O,M,P,R,U,W){var Y,ea=(y=y||H[sa]).options,fa="on"+I.charAt(0).toUpperCase()+I.substr(1);!window.CustomEvent||Aa||Za?(Y=X.createEvent("Event")).initEvent(I,!0,!0):Y=new CustomEvent(I,{bubbles:!0,cancelable:!0});Y.to=M||H;Y.from=
P||H;Y.item=O||H;Y.clone=K;Y.oldIndex=R;Y.newIndex=U;Y.originalEvent=W;Y.pullMode=F?F.lastPutMode:void 0;H&&H.dispatchEvent(Y);ea[fa]&&ea[fa].call(y,Y)}function e(y,H,I,O,M,P,R,U){var W,Y,ea=y[sa],fa=ea.options.onMove;return!window.CustomEvent||Aa||Za?(W=X.createEvent("Event")).initEvent("move",!0,!0):W=new CustomEvent("move",{bubbles:!0,cancelable:!0}),W.to=H,W.from=y,W.dragged=I,W.draggedRect=O,W.related=M||H,W.relatedRect=P||E(H),W.willInsertAfter=U,W.originalEvent=R,y.dispatchEvent(W),fa&&(Y=
fa.call(ea,W,R)),Y}function f(y){y.draggable=!1}function b(){mb=!1}function d(y,H,I){for(var O=0,M=0,P=y.children;M<P.length;){if("none"!==P[M].style.display&&P[M]!==D&&P[M]!==G&&r(P[M],I.draggable,y,!1)){if(O===H)return P[M];O++}M++}return null}function g(y){for(y=y.lastElementChild;y&&(y===D||"none"===y.style.display);)y=y.previousElementSibling;return y||null}function n(y){return p(G)<p(y)?1:-1}function m(y){y=y.tagName+y.className+y.src+y.href+y.textContent;for(var H=y.length,I=0;H--;)I+=y.charCodeAt(H);
return I.toString(36)}function p(y,H){H=0;if(!y||!y.parentNode)return-1;for(;y&&(y=y.previousElementSibling);)"TEMPLATE"!==y.nodeName.toUpperCase()&&y!==K&&H++;return H}function u(y,H){if(y)try{if(y.matches)return y.matches(H);if(y.msMatchesSelector)return y.msMatchesSelector(H);if(y.webkitMatchesSelector)return y.webkitMatchesSelector(H)}catch(I){}return!1}function A(y,H){return function(){if(!$a){var I=arguments,O=this;$a=Wa(function(){1===I.length?y.call(O,I[0]):y.apply(O,I);$a=void 0},H)}}}function z(y,
H){if(y&&H)for(var I in H)H.hasOwnProperty(I)&&(y[I]=H[I]);return y}function C(y){return nb&&nb.dom?nb.dom(y).cloneNode(!0):Cb?Cb(y).clone(!0)[0]:y.cloneNode(!0)}function v(y){return Wa(y,0)}function E(y,H,I,O){if(y.getBoundingClientRect||y===Ia){var M,P,R,U,W,Y,ea;if(ea=y!==Ia&&y!==Ka()?(P=(M=y.getBoundingClientRect()).top,R=M.left,U=M.bottom,W=M.right,Y=M.height,M.width):(R=P=0,U=window.innerHeight,W=window.innerWidth,Y=window.innerHeight,window.innerWidth),O&&y!==Ia&&(I=I||y.parentNode,!Aa)){do if(I&&
I.getBoundingClientRect&&"none"!==l(I,"transform")){U=I.getBoundingClientRect();P-=U.top+za(l(I,"border-top-width"));R-=U.left+za(l(I,"border-left-width"));U=P+M.height;W=R+M.width;break}while(I=I.parentNode)}H&&y!==Ia&&(H=(y=h(I||y))&&y.a,I=y&&y.d,y&&(U=(P/=I)+(Y/=I),W=(R/=H)+(ea/=H)));return{top:P,left:R,bottom:U,right:W,width:ea,height:Y}}}function L(y,H){var I=Ra(y,!0);for(y=E(y)[H];I;){var O=E(I)[H];if(!("top"===H||"left"===H?O<=y:y<=O))return I;if(I===Ka())break;I=Ra(I,!1)}return!1}function Q(y){var H=
0,I=0,O=Ka();if(y){do{var M=h(y),P=M.d;H+=y.scrollLeft*M.a;I+=y.scrollTop*P}while(y!==O&&(y=y.parentNode))}return[H,I]}if("undefined"==typeof window||!window.document)return function(){throw Error("Sortable.js requires a window with a document");};var G,x,D,K,N,V,aa,ca,va,qa,ba,da,ra,F,J,S,T,Z,ja,ha,wa,na,Ca,la,ka,Ba,ia=[],ob=!1,ab=!1,db=!1,Qa=[],bb=!1,eb=!1,pb=[],Bb=/\s+/g,sa="Sortable"+(new Date).getTime(),Ia=window,X=Ia.document,za=Ia.parseInt,Wa=Ia.setTimeout,Cb=Ia.jQuery||Ia.Zepto,nb=Ia.Polymer,
Ab={capture:!1,passive:!1},Aa=!!navigator.userAgent.match(/(?:Trident.*rv[ :]?11\.|msie|iemobile)/i),Za=!!navigator.userAgent.match(/Edge/i),Db=!!navigator.userAgent.match(/firefox/i),qb=!(!navigator.userAgent.match(/safari/i)||navigator.userAgent.match(/chrome/i)||navigator.userAgent.match(/android/i)),fb=!!navigator.userAgent.match(/iP(ad|od|hone)/i),Eb=Za||Aa?"cssFloat":"float",Nb="draggable"in X.createElement("div"),rb=function(){if(Aa)return!1;var y=X.createElement("x");return y.style.cssText=
"pointer-events:auto","auto"===y.style.pointerEvents}(),mb=!1,sb=!1,La=Math.abs,Ob=Math.min,Pb=Math.max,gb=[],yb=function(y,H){var I=l(y),O=za(I.width)-za(I.paddingLeft)-za(I.paddingRight)-za(I.borderLeftWidth)-za(I.borderRightWidth),M=d(y,0,H);y=d(y,1,H);var P=M&&l(M);H=y&&l(y);var R=P&&za(P.marginLeft)+za(P.marginRight)+E(M).width,U=H&&za(H.marginLeft)+za(H.marginRight)+E(y).width;return"flex"===I.display?"column"===I.flexDirection||"column-reverse"===I.flexDirection?"vertical":"horizontal":"grid"===
I.display?1>=I.gridTemplateColumns.split(" ").length?"vertical":"horizontal":M&&"none"!==P.float?(I="left"===P.float?"left":"right",!y||"both"!==H.clear&&H.clear!==I?"horizontal":"vertical"):M&&("block"===P.display||"flex"===P.display||"table"===P.display||"grid"===P.display||O<=R&&"none"===I[Eb]||y&&"none"===I[Eb]&&O<R+U)?"vertical":"horizontal"},Ra=function(y,H){if(!y||!y.getBoundingClientRect)return Ka();var I=!1;do if(y.clientWidth<y.scrollWidth||y.clientHeight<y.scrollHeight){var O=l(y);if(y.clientWidth<
y.scrollWidth&&("auto"==O.overflowX||"scroll"==O.overflowX)||y.clientHeight<y.scrollHeight&&("auto"==O.overflowY||"scroll"==O.overflowY)){if(!y||!y.getBoundingClientRect||y===X.body)break;if(I||H)return y;I=!0}}while(y=y.parentNode);return Ka()},Ka=function(){return Aa?X.documentElement:X.scrollingElement},Fb=function(y,H,I){y.scrollLeft+=H;y.scrollTop+=I},tb=A(function(y,H,I,O){if(H.scroll){var M=I?I[sa]:window,P=H.scrollSensitivity,R=H.scrollSpeed,U=y.clientX,W=y.clientY,Y=Ka(),ea=!1;va!==I&&(hb(),
ca=H.scroll,qa=H.scrollFn,!0===ca&&(ca=Ra(I,!0),va=ca));I=0;var fa=ca;do{var oa,Da,pa,Ma,Ea,ta,Fa,ma=fa,xa=E(ma);var Sa=xa.top;var Na=xa.bottom;var Oa=xa.left;var ib=xa.right,Xa=xa.width;xa=xa.height;if(oa=ma.scrollWidth,Da=ma.scrollHeight,pa=l(ma),ta=ma.scrollLeft,Fa=ma.scrollTop,Ea=ma===Y?(Ma=Xa<oa&&("auto"===pa.overflowX||"scroll"===pa.overflowX||"visible"===pa.overflowX),xa<Da&&("auto"===pa.overflowY||"scroll"===pa.overflowY||"visible"===pa.overflowY)):(Ma=Xa<oa&&("auto"===pa.overflowX||"scroll"===
pa.overflowX),xa<Da&&("auto"===pa.overflowY||"scroll"===pa.overflowY)),Oa=Ma&&(La(ib-U)<=P&&ta+Xa<oa)-(La(Oa-U)<=P&&!!ta),Sa=Ea&&(La(Na-W)<=P&&Fa+xa<Da)-(La(Sa-W)<=P&&!!Fa),!ia[I])for(Na=0;Na<=I;Na++)ia[Na]||(ia[Na]={});ia[I].vx==Oa&&ia[I].vy==Sa&&ia[I].el===ma||(ia[I].el=ma,ia[I].vx=Oa,ia[I].vy=Sa,clearInterval(ia[I].pid),!ma||0==Oa&&0==Sa||(ea=!0,ia[I].pid=setInterval(function(){O&&0===this.layer&&(B.active._emulateDragOver(!0),B.active._onTouchMove(ja,!0));var Ga=ia[this.layer].vy?ia[this.layer].vy*
R:0,ua=ia[this.layer].vx?ia[this.layer].vx*R:0;"function"==typeof qa&&"continue"!==qa.call(M,ua,Ga,y,ja,ia[this.layer].el)||Fb(ia[this.layer].el,ua,Ga)}.bind({layer:I}),24)));I++}while(H.bubbleScroll&&fa!==Y&&(fa=Ra(fa,!1)));ob=ea}},30),hb=function(){ia.forEach(function(y){clearInterval(y.pid)});ia=[]},zb=function(y){function H(M,P){return function(R,U,W,Y){var ea=R.options.group.name&&U.options.group.name&&R.options.group.name===U.options.group.name;if(null==M&&(P||ea))return!0;if(null==M||!1===
M)return!1;if(P&&"clone"===M)return M;if("function"==typeof M)return H(M(R,U,W,Y),P)(R,U,W,Y);R=(P?R:U).options.group.name;return!0===M||"string"==typeof M&&M===R||M.join&&-1<M.indexOf(R)}}var I={},O=y.group;O&&"object"==typeof O||(O={name:O});I.name=O.name;I.checkPull=H(O.pull,!0);I.checkPut=H(O.put);I.revertClone=O.revertClone;y.group=I},Gb=function(y){G&&G.parentNode&&G.parentNode[sa]&&G.parentNode[sa]._computeIsAligned(y)},Hb=function(y,H){for(;!H[sa];)H=H.parentNode;return y===H},Ib=function(y,
H,I){for(y=y.parentNode;y&&!y[sa];)y=y.parentNode;y&&y[sa][I](z(H,{artificialBubble:!0}))},Jb=function(){!rb&&D&&l(D,"display","none")},Kb=function(){!rb&&D&&l(D,"display","")};X.addEventListener("click",function(y){if(db)return y.preventDefault(),y.stopPropagation&&y.stopPropagation(),y.stopImmediatePropagation&&y.stopImmediatePropagation(),db=!1},!0);var $a,ub=function(y){if(y=y.touches?y.touches[0]:y,G){a:{var H=y.clientX;for(var I=y.clientY,O=0;O<Qa.length;O++)if(!g(Qa[O])){var M=E(Qa[O]),P=Qa[O][sa].options.emptyInsertThreshold,
R=I>=M.top-P&&I<=M.bottom+P;if(H>=M.left-P&&H<=M.right+P&&R){H=Qa[O];break a}}H=void 0}H&&H[sa]._onDragOver({clientX:y.clientX,clientY:y.clientY,target:H,rootEl:H})}};return w(X,"dragover",ub),w(X,"mousemove",ub),w(X,"touchmove",ub),B.prototype={constructor:B,_computeIsAligned:function(y){var H;if(D&&!rb?(Jb(),H=X.elementFromPoint(y.clientX,y.clientY),Kb()):H=y.target,H=r(H,this.options.draggable,this.el,!1),!sb&&G&&G.parentNode===this.el){for(var I,O,M,P,R,U,W,Y,ea=this.el.children,fa=0;fa<ea.length;fa++)r(ea[fa],
this.options.draggable,this.el,!1)&&ea[fa]!==H&&(ea[fa].sortableMouseAligned=(I=y.clientX,O=y.clientY,M=ea[fa],P=this._getDirection(y,null),this.options,void 0,R=E(M),U="vertical"===P?R.left:R.top,W="vertical"===P?R.right:R.bottom,U<(Y="vertical"===P?I:O)&&Y<W));r(H,this.options.draggable,this.el,!0)||(wa=null);sb=!0;Wa(function(){sb=!1},30)}},_getDirection:function(y,H){return"function"==typeof this.options.direction?this.options.direction.call(this,y,H,G):this.options.direction},_onTapStart:function(y){if(y.cancelable){var H,
I=this,O=this.el,M=this.options,P=M.preventOnFilter,R=y.type,U=y.touches&&y.touches[0],W=(U||y).target,Y=y.target.shadowRoot&&(y.path&&y.path[0]||y.composedPath&&y.composedPath()[0])||W,ea=M.filter;if(function(fa){gb.length=0;fa=fa.getElementsByTagName("input");for(var oa=fa.length;oa--;){var Da=fa[oa];Da.checked&&gb.push(Da)}}(O),!(Aa&&!y.artificialBubble&&!Hb(O,W)||G||/mousedown|pointerdown/.test(R)&&0!==y.button||M.disabled||Y.isContentEditable))if(W=r(W,M.draggable,O,!1)){if(aa!==W){if(H=p(W,
M.draggable),"function"==typeof ea){if(ea.call(this,y,W,this))return a(I,Y,"filter",W,O,O,H),void(P&&y.cancelable&&y.preventDefault())}else if(ea&&(ea=ea.split(",").some(function(fa){if(fa=r(Y,fa.trim(),O,!1))return a(I,fa,"filter",W,O,O,H),!0})))return void(P&&y.cancelable&&y.preventDefault());M.handle&&!r(Y,M.handle,O,!1)||this._prepareDragStart(y,U,W,H)}}else Aa&&Ib(O,y,"_onTapStart")}},_handleAutoScroll:function(y,H){if(G&&this.options.scroll){var I=y.clientX,O=y.clientY,M=X.elementFromPoint(I,
O),P=this;if(H||Za||Aa||qb){tb(y,P.options,M,H);var R=Ra(M,!0);!ob||J&&I===S&&O===T||(J&&clearInterval(J),J=setInterval(function(){if(G){var U=Ra(X.elementFromPoint(I,O),!0);U!==R&&(R=U,hb(),tb(y,P.options,R,H))}},10),S=I,T=O)}else{if(!P.options.bubbleScroll||Ra(M,!0)===Ka())return void hb();tb(y,P.options,Ra(M,!1),!1)}}},_prepareDragStart:function(y,H,I,O){var M,P=this,R=P.el,U=P.options,W=R.ownerDocument;I&&!G&&I.parentNode===R&&(N=R,x=(G=I).parentNode,V=G.nextSibling,aa=I,ra=U.group,ba=O,Z={target:G,
clientX:(H||y).clientX,clientY:(H||y).clientY},this._lastX=(H||y).clientX,this._lastY=(H||y).clientY,G.style["will-change"]="all",G.style.transition="",G.style.transform="",M=function(){P._disableDelayedDragEvents();!Db&&P.nativeDraggable&&(G.draggable=!0);P._triggerDragStart(y,H);a(P,N,"choose",G,N,N,ba);k(G,U.chosenClass,!0)},U.ignore.split(",").forEach(function(Y){c(G,Y.trim(),f)}),U.supportPointer?w(W,"pointerup",P._onDrop):(w(W,"mouseup",P._onDrop),w(W,"touchend",P._onDrop),w(W,"touchcancel",
P._onDrop)),Db&&this.nativeDraggable&&(this.options.touchStartThreshold=4,G.draggable=!0),!U.delay||this.nativeDraggable&&(Za||Aa)?M():(w(W,"mouseup",P._disableDelayedDrag),w(W,"touchend",P._disableDelayedDrag),w(W,"touchcancel",P._disableDelayedDrag),w(W,"mousemove",P._delayedDragTouchMoveHandler),w(W,"touchmove",P._delayedDragTouchMoveHandler),U.supportPointer&&w(W,"pointermove",P._delayedDragTouchMoveHandler),P._dragStartTimer=Wa(M,U.delay)))},_delayedDragTouchMoveHandler:function(y){y=y.touches?
y.touches[0]:y;Pb(La(y.clientX-this._lastX),La(y.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){G&&f(G);clearTimeout(this._dragStartTimer);this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var y=this.el.ownerDocument;q(y,"mouseup",this._disableDelayedDrag);q(y,"touchend",this._disableDelayedDrag);q(y,"touchcancel",this._disableDelayedDrag);q(y,"mousemove",
this._delayedDragTouchMoveHandler);q(y,"touchmove",this._delayedDragTouchMoveHandler);q(y,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(y,H){H=H||("touch"==y.pointerType?y:null);!this.nativeDraggable||H?this.options.supportPointer?w(X,"pointermove",this._onTouchMove):w(X,H?"touchmove":"mousemove",this._onTouchMove):(w(G,"dragend",this),w(N,"dragstart",this._onDragStart));try{X.selection?v(function(){X.selection.empty()}):window.getSelection().removeAllRanges()}catch(I){}},
_dragStarted:function(y,H){if(ab=!1,N&&G){this.nativeDraggable&&(w(X,"dragover",this._handleAutoScroll),w(X,"dragover",Gb));var I=this.options;!y&&k(G,I.dragClass,!1);k(G,I.ghostClass,!0);l(G,"transform","");B.active=this;y&&this._appendGhost();a(this,N,"start",G,N,N,ba,void 0,H)}else this._nulling()},_emulateDragOver:function(y){if(ja&&(this._lastX!==ja.clientX||this._lastY!==ja.clientY||y)){this._lastX=ja.clientX;this._lastY=ja.clientY;Jb();for(var H=y=X.elementFromPoint(ja.clientX,ja.clientY);y&&
y.shadowRoot;)H=y=y.shadowRoot.elementFromPoint(ja.clientX,ja.clientY);if(H){do{if(H[sa]&&H[sa]._onDragOver({clientX:ja.clientX,clientY:ja.clientY,target:y,rootEl:H})&&!this.options.dragoverBubble)break;y=H}while(H=H.parentNode)}G.parentNode[sa]._computeIsAligned(ja);Kb()}},_onTouchMove:function(y,H){if(Z){var I=this.options,O=I.fallbackTolerance,M=I.fallbackOffset;I=y.touches?y.touches[0]:y;var P=D&&h(D),R=D&&P&&P.a;P=D&&P&&P.d;var U=fb&&ka&&Q(ka);R=(I.clientX-Z.clientX+M.x)/(R||1)+(U?U[0]-pb[0]:
0)/(R||1);M=(I.clientY-Z.clientY+M.y)/(P||1)+(U?U[1]-pb[1]:0)/(P||1);M=y.touches?"translate3d("+R+"px,"+M+"px,0)":"translate("+R+"px,"+M+"px)";if(!B.active&&!ab){if(O&&Ob(La(I.clientX-this._lastX),La(I.clientY-this._lastY))<O)return;this._onDragStart(y,!0)}!H&&this._handleAutoScroll(I,!0);ha=!0;ja=I;l(D,"webkitTransform",M);l(D,"mozTransform",M);l(D,"msTransform",M);l(D,"transform",M);y.cancelable&&y.preventDefault()}},_appendGhost:function(){if(!D){var y=this.options.fallbackOnBody?X.body:N,H=E(G,
!0,y,!fb),I=(l(G),this.options);if(fb){for(ka=y;"static"===l(ka,"position")&&"none"===l(ka,"transform")&&ka!==X;)ka=ka.parentNode;if(ka!==X){var O=E(ka,!0);H.top-=O.top;H.left-=O.left}ka!==X.body&&ka!==X.documentElement?(ka===X&&(ka=Ka()),H.top+=ka.scrollTop,H.left+=ka.scrollLeft):ka=Ka();pb=Q(ka)}k(D=G.cloneNode(!0),I.ghostClass,!1);k(D,I.fallbackClass,!0);k(D,I.dragClass,!0);l(D,"box-sizing","border-box");l(D,"margin",0);l(D,"top",H.top);l(D,"left",H.left);l(D,"width",H.width);l(D,"height",H.height);
l(D,"opacity","0.8");l(D,"position",fb?"absolute":"fixed");l(D,"zIndex","100000");l(D,"pointerEvents","none");y.appendChild(D)}},_onDragStart:function(y,H){var I=this,O=y.dataTransfer,M=I.options;(K=C(G)).draggable=!1;K.style["will-change"]="";this._hideClone();k(K,I.options.chosenClass,!1);I._cloneId=v(function(){I.options.removeCloneOnHide||N.insertBefore(K,G);a(I,N,"clone",G)});!H&&k(G,M.dragClass,!0);H?(db=!0,I._loopId=setInterval(I._emulateDragOver,50)):(q(X,"mouseup",I._onDrop),q(X,"touchend",
I._onDrop),q(X,"touchcancel",I._onDrop),O&&(O.effectAllowed="move",M.setData&&M.setData.call(I,O,G)),w(X,"drop",I),l(G,"transform","translateZ(0)"));ab=!0;I._dragStartId=v(I._dragStarted.bind(I,H,y));w(X,"selectstart",I);qb&&l(X.body,"user-select","none")},_onDragOver:function(y){function H(ya){return ya&&(ea?Y._hideClone():Y._showClone(oa),Y&&(k(G,F?F.options.ghostClass:Y.options.ghostClass,!1),k(G,U.ghostClass,!0)),F!==oa&&oa!==B.active?F=oa:oa===B.active&&(F=null),O&&oa._animate(O,G),R&&pa&&oa._animate(pa,
R)),(R===G&&!G.animated||R===P&&!R.animated)&&(wa=null),U.dragoverBubble||y.rootEl||R===X||(oa._handleAutoScroll(y),G.parentNode[sa]._computeIsAligned(y)),!U.dragoverBubble&&y.stopPropagation&&y.stopPropagation(),!0}function I(){a(oa,N,"change",R,P,N,ba,p(G,U.draggable),y)}var O,M,P=this.el,R=y.target,U=this.options,W=U.group,Y=B.active,ea=ra===W,fa=U.sort,oa=this;if(!mb&&(!Aa||y.rootEl||y.artificialBubble||Hb(P,R))){if(void 0!==y.preventDefault&&y.cancelable&&y.preventDefault(),ha=!0,R=r(R,U.draggable,
P,!0),r(y.target,null,G,!0)||R.animated)return H(!1);if(R!==G&&(db=!1),Y&&!U.disabled&&(ea?fa||(M=!N.contains(G)):F===this||(this.lastPutMode=ra.checkPull(this,Y,G,y))&&W.checkPut(this,Y,G,y))){W=this._getDirection(y,R);if(O=E(G),M)return this._hideClone(),x=N,V?N.insertBefore(G,V):N.appendChild(G),H(!0);if((M=g(P))&&(Ga=y,ua=W,Pa=E(g(P)),Ja="vertical"===ua?Ga.clientY:Ga.clientX,Ta="vertical"===ua?Ga.clientX:Ga.clientY,Va="vertical"===ua?Pa.bottom:Pa.right,vb="vertical"===ua?Pa.left:Pa.top,jb="vertical"===
ua?Pa.right:Pa.bottom,!("vertical"===ua?jb+10<Ta||Ta<=jb&&Va<Ja&&vb<=Ta:Va<Ja&&vb<Ta||Ja<=Va&&jb+10<Ta)||M.animated)){if(R&&R!==G&&R.parentNode===P){var Da;Ja=0;Ta=R.sortableMouseAligned;Va=G.parentNode!==P;Ga="vertical"===W?"top":"left";Pa=(ua=L(R,"top")||L(G,"top"))?ua.scrollTop:void 0;if(wa!==R&&(Ca=null,Da=E(R)[Ga],bb=!1),Ea=R,ta=W,Fa=(Ma=G)===G&&Ba||E(Ma),ma=Ea===G&&Ba||E(Ea),xa="vertical"===ta?Fa.left:Fa.top,Sa="vertical"===ta?Fa.right:Fa.bottom,Na="vertical"===ta?Fa.width:Fa.height,Oa="vertical"===
ta?ma.left:ma.top,ib="vertical"===ta?ma.right:ma.bottom,Xa="vertical"===ta?ma.width:ma.height,Ca=(xa===Oa||Sa===ib||xa+Na/2===Oa+Xa/2)&&Ta||Va||ua||U.invertSwap||"insert"===Ca||"swap"===Ca?("swap"!==Ca&&(eb=U.invertSwap||Va),Ja=function(ya,Lb,Ya,wb,kb,Mb,Qb){var Ha=E(Lb);ya="vertical"===Ya?ya.clientY:ya.clientX;var Ua="vertical"===Ya?Ha.height:Ha.width,cb="vertical"===Ya?Ha.top:Ha.left;Ha="vertical"===Ya?Ha.bottom:Ha.right;var lb=E(G),xb=!1;if(!Mb)if(Qb&&la<Ua*wb)if(!bb&&(1===na?cb+Ua*kb/2<ya:ya<
Ha-Ua*kb/2)&&(bb=!0),bb)xb=!0;else{if("vertical"===Ya?lb.top:lb.left,"vertical"===Ya?lb.bottom:lb.right,1===na?ya<cb+la:Ha-la<ya)return-1*na}else if(cb+Ua*(1-wb)/2<ya&&ya<Ha-Ua*(1-wb)/2)return n(Lb);return(xb=xb||Mb)&&(ya<cb+Ua*kb/2||Ha-Ua*kb/2<ya)?cb+Ua/2<ya?1:-1:0}(y,R,W,U.swapThreshold,null==U.invertedSwapThreshold?U.swapThreshold:U.invertedSwapThreshold,eb,wa===R),"swap"):(Ja=n(R),"insert"),0===Ja)return H(!1);Ba=null;na=Ja;var pa=E(wa=R);Ma=R.nextElementSibling;Ea=!1;ta=e(N,P,G,O,R,pa,y,Ea=1===
Ja);if(!1!==ta)return 1!==ta&&-1!==ta||(Ea=1===ta),mb=!0,Wa(b,30),ea?Y._hideClone():Y._showClone(this),Ea&&!Ma?P.appendChild(G):R.parentNode.insertBefore(G,Ea?Ma:R),ua&&Fb(ua,0,Pa-ua.scrollTop),x=G.parentNode,void 0===Da||eb||(la=La(Da-E(R)[Ga])),I(),H(!0)}}else if(M&&P===y.target&&(R=M),R&&(pa=E(R)),ea?Y._hideClone():Y._showClone(this),!1!==e(N,P,G,O,R,pa,y,!!R))return P.appendChild(G),x=P,Ba=null,I(),H(!0);if(P.contains(G))return H(!1)}var Ma,Ea,ta,Fa,ma,xa,Sa,Na,Oa,ib,Xa,Ga,ua,Pa,Ja,Ta,Va,vb,jb;
return Aa&&!y.rootEl&&Ib(P,y,"_onDragOver"),!1}},_animate:function(y,H){var I=this.options.animation;if(I){var O=E(H);if(H===G&&(Ba=O),1===y.nodeType&&(y=E(y)),y.left+y.width/2!==O.left+O.width/2||y.top+y.height/2!==O.top+O.height/2){var M=h(this.el),P=M&&M.a;M=M&&M.d;l(H,"transition","none");l(H,"transform","translate3d("+(y.left-O.left)/(P||1)+"px,"+(y.top-O.top)/(M||1)+"px,0)");H.offsetWidth;l(H,"transition","transform "+I+"ms"+(this.options.easing?" "+this.options.easing:""));l(H,"transform",
"translate3d(0,0,0)")}"number"==typeof H.animated&&clearTimeout(H.animated);H.animated=Wa(function(){l(H,"transition","");l(H,"transform","");H.animated=!1},I)}},_offUpEvents:function(){var y=this.el.ownerDocument;q(X,"touchmove",this._onTouchMove);q(X,"pointermove",this._onTouchMove);q(y,"mouseup",this._onDrop);q(y,"touchend",this._onDrop);q(y,"pointerup",this._onDrop);q(y,"touchcancel",this._onDrop);q(X,"selectstart",this)},_onDrop:function(y){var H=this.el,I=this.options;bb=eb=ob=ab=!1;clearInterval(this._loopId);
clearInterval(J);hb();clearTimeout($a);$a=void 0;clearTimeout(this._dragStartTimer);clearTimeout(this._cloneId);clearTimeout(this._dragStartId);q(X,"mousemove",this._onTouchMove);this.nativeDraggable&&(q(X,"drop",this),q(H,"dragstart",this._onDragStart),q(X,"dragover",this._handleAutoScroll),q(X,"dragover",Gb));qb&&l(X.body,"user-select","");this._offUpEvents();y&&(ha&&(y.cancelable&&y.preventDefault(),!I.dropBubble&&y.stopPropagation()),D&&D.parentNode&&D.parentNode.removeChild(D),(N===x||F&&"clone"!==
F.lastPutMode)&&K&&K.parentNode&&K.parentNode.removeChild(K),G&&(this.nativeDraggable&&q(G,"dragend",this),f(G),G.style["will-change"]="",k(G,F?F.options.ghostClass:this.options.ghostClass,!1),k(G,this.options.chosenClass,!1),a(this,N,"unchoose",G,x,N,ba,null,y),N!==x?(0<=(da=p(G,I.draggable))&&(a(null,x,"add",G,x,N,ba,da,y),a(this,N,"remove",G,x,N,ba,da,y),a(null,x,"sort",G,x,N,ba,da,y),a(this,N,"sort",G,x,N,ba,da,y)),F&&F.save()):G.nextSibling!==V&&0<=(da=p(G,I.draggable))&&(a(this,N,"update",G,
x,N,ba,da,y),a(this,N,"sort",G,x,N,ba,da,y)),B.active&&(null!=da&&-1!==da||(da=ba),a(this,N,"end",G,x,N,ba,da,y),this.save())));this._nulling()},_nulling:function(){N=G=x=D=V=K=aa=ca=va=ia.length=J=S=T=Z=ja=ha=da=ba=wa=na=Ba=F=ra=B.active=null;gb.forEach(function(y){y.checked=!0});gb.length=0},handleEvent:function(y){switch(y.type){case "drop":case "dragend":this._onDrop(y);break;case "dragenter":case "dragover":G&&(this._onDragOver(y),y.dataTransfer&&(y.dataTransfer.dropEffect="move"),y.cancelable&&
y.preventDefault());break;case "selectstart":y.preventDefault()}},toArray:function(){for(var y,H=[],I=this.el.children,O=0,M=I.length,P=this.options;O<M;O++)r(y=I[O],P.draggable,this.el,!1)&&H.push(y.getAttribute(P.dataIdAttr)||m(y));return H},sort:function(y){var H={},I=this.el;this.toArray().forEach(function(O,M){M=I.children[M];r(M,this.options.draggable,I,!1)&&(H[O]=M)},this);y.forEach(function(O){H[O]&&(I.removeChild(H[O]),I.appendChild(H[O]))})},save:function(){var y=this.options.store;y&&y.set&&
y.set(this)},closest:function(y,H){return r(y,H||this.options.draggable,this.el,!1)},option:function(y,H){var I=this.options;if(void 0===H)return I[y];I[y]=H;"group"===y&&zb(I)},destroy:function(){var y=this.el;y[sa]=null;q(y,"mousedown",this._onTapStart);q(y,"touchstart",this._onTapStart);q(y,"pointerdown",this._onTapStart);this.nativeDraggable&&(q(y,"dragover",this),q(y,"dragenter",this));Array.prototype.forEach.call(y.querySelectorAll("[draggable]"),function(H){H.removeAttribute("draggable")});
this._onDrop();Qa.splice(Qa.indexOf(this.el),1);this.el=y=null},_hideClone:function(){K.cloneHidden||(l(K,"display","none"),K.cloneHidden=!0,K.parentNode&&this.options.removeCloneOnHide&&K.parentNode.removeChild(K))},_showClone:function(y){"clone"===y.lastPutMode?K.cloneHidden&&(N.contains(G)&&!this.options.group.revertClone?N.insertBefore(K,G):V?N.insertBefore(K,V):N.appendChild(K),this.options.group.revertClone&&this._animate(G,K),l(K,"display",""),K.cloneHidden=!1):this._hideClone()}},w(X,"touchmove",
function(y){(B.active||ab)&&y.cancelable&&y.preventDefault()}),B.utils={on:w,off:q,css:l,find:c,is:function(y,H){return!!r(y,H,y,!1)},extend:z,throttle:A,closest:r,toggleClass:k,clone:C,index:p,nextTick:v,cancelNextTick:function(y){return clearTimeout(y)},detectDirection:yb,getChild:d},B.create=function(y,H){return new B(y,H)},B.version="1.8.4",B})},"widgets/Infographic/setting/dijitsSetting/_dijits/ValueProvider/RangeProvider":function(){define("dojo/_base/declare dojo/Evented dojo/on dojo/_base/html dijit/_WidgetBase dijit/_TemplatedMixin dijit/_WidgetsInTemplateMixin dojo/text!./RangeProvider.html ./StatRange jimu/utils dijit/form/RadioButton dijit/form/Select dijit/form/NumberTextBox".split(" "),
function(B,r,w,q,k,l,h,c,a,e){return B([k,l,h,r],{baseClass:"infograpgic-range-provider",templateString:c,postCreate:function(){this.inherited(arguments);this._setTitle();this._initUI()},reset:function(){this._onFixedValueBtnClick();this._showFixedValueContainer();this.fixedValue.reset();this.statRange&&this.statRange.reset()},setConfig:function(f){var b=f.value;"fixed"===f.type?(this._onFixedValueBtnClick(),this._showFixedValueContainer(),this.fixedValue.set("value",b),this.statRange&&this.statRange.setConfig({})):
(this._onStatBtnClick(),this._showStatContainer(),this.statRange&&this.statRange.setConfig(b))},getConfig:function(){if(!this.isValid())return!1;var f=this._getType();var b="fixed"===f?this.fixedValue.get("value"):this.statRange.getConfig();return{type:f,value:b}},isValid:function(){return"fixed"===this._getType()?this.fixedValue.isValid():this.statRange.isValid()},setLayerDefinition:function(f){f&&this.statRange&&this.statRange.setLayerDefinition(f)},_setTitle:function(){this.title.innerHTML=e.sanitizeHTML("undefined"!==
typeof this.titleText?this.titleText:"$Value")},_initUI:function(){this.statRange=new a({nls:this.nls,appConfig:this.appConfig});this.statRange.placeAt(this.statContainer);this.own(w(this.statRange,"change",function(){this._onChange()}.bind(this)));this.own(w(this.statRange,"ds-change",function(f){this._onDataSourceChanged(f)}.bind(this)))},_onDataSourceChanged:function(f){this.emit("ds-change",f)},_onChange:function(){this.emit("change")},_getType:function(){return q.hasClass(this.fixedBtn,"selected")?
"fixed":"stat"},_onValueTypeChanged:function(f){f.stopPropagation();f=f.target.dataset.name;if("fixed"===f||"stat"===f)"fixed"===f?(this._onFixedValueBtnClick(),this._showFixedValueContainer()):(this._onStatBtnClick(),this._showStatContainer(),this.triggerChange()),setTimeout(function(){this._onChange()}.bind(this),200)},triggerChange:function(){this.statRange&&this.statRange.triggerChange()},updateFetchState:function(f){this.statRange&&this.statRange.updateFetchState(f)},_onValueInputChanged:function(){this._onChange()},
_onFixedValueBtnClick:function(){q.removeClass(this.statBtn,"selected");q.addClass(this.fixedBtn,"selected")},_onStatBtnClick:function(){q.removeClass(this.fixedBtn,"selected");q.addClass(this.statBtn,"selected")},_showFixedValueContainer:function(){q.removeClass(this.valueContainer,"hide");q.addClass(this.statContainer,"hide")},_showStatContainer:function(){q.addClass(this.valueContainer,"hide");q.removeClass(this.statContainer,"hide")}})})},"widgets/Infographic/setting/dijitsSetting/_dijits/ValueProvider/StatRange":function(){define("dojo/_base/declare dojo/Evented dojo/on dijit/_WidgetBase dijit/_TemplatedMixin dijit/_WidgetsInTemplateMixin ./FieldStatistics ./StatisticDataSourceSelector dijit/form/RadioButton dijit/form/Select dijit/form/NumberTextBox".split(" "),
function(B,r,w,q,k,l,h,c){return B([q,k,l,r],{baseClass:"infograpgic-stat-range",templateString:"\x3cdiv\x3e\x3c/div\x3e",postCreate:function(){this.inherited(arguments);this._initUI()},reset:function(){this.fieldStat&&this.fieldStat.reset();this.statDataSource&&this.statDataSource.reset()},setConfig:function(a){var e=a.statistic;(a=a&&a.sourceID)&&this.statDataSource.setCurrentSourceID(a);this.fieldStat&&e&&this.fieldStat.setConfig(e)},triggerChange:function(){this.statDataSource&&this.statDataSource.triggerChange()},
updateFetchState:function(a){this.statDataSource&&this.statDataSource.updateFetchState(a)},getConfig:function(){if(!this.isValid())return!1;var a={};a.sourceID=this.statDataSource.getCurrentSourceID();a.sourceLabel=this.statDataSource.getCurrentSourceLabel();a.statistic=this.fieldStat.getConfig();return a},isValid:function(){return this.statDataSource.isValid()&&this.fieldStat.isValid()},_initUI:function(){this.statDataSource=new c({nls:this.nls,appConfig:this.appConfig});this.statDataSource.placeAt(this.domNode);
this.own(w(this.statDataSource,"change",function(a){this._onDataSourceChanged(a)}.bind(this)));this.fieldStat=new h({nls:this.nls});this.fieldStat.placeAt(this.domNode);this.own(w(this.fieldStat,"change",function(){this._onChange()}.bind(this)))},setLayerDefinition:function(a){a&&this.fieldStat&&this.fieldStat.setLayerDefinition(a)},_onDataSourceChanged:function(a){var e=a.definition;a=a.sourceID;this.fieldStat&&(this.fieldStat.reset(),this.fieldStat.setLayerDefinition(e));this.emit("ds-change",a)},
_onChange:function(){this.isValid()&&this.emit("change")}})})},"widgets/Infographic/setting/dijitsSetting/_dijits/ValueProvider/FieldStatistics":function(){define("dojo/_base/declare dojo/_base/lang dojo/_base/html dojo/Evented dijit/_WidgetBase dijit/_TemplatedMixin dijit/_WidgetsInTemplateMixin dojo/text!./FieldStatistics.html ../../../utils dijit/form/RadioButton dijit/form/Select".split(" "),function(B,r,w,q,k,l,h,c,a){return B([k,l,h,q],{baseClass:"infographic-field-statistics",templateString:c,
getConfig:function(){if(!this.isValid())return!1;var e=this.operationSelect.get("value"),f;"count"!==e&&(f=this.fieldSelect.get("value"));e={type:e};f&&(e.field=f);return e},isValid:function(){var e=this.operationSelect.get("value"),f=this.fieldSelect.get("value");return"count"!==e?!!f:!0},setConfig:function(e){if(e&&e.type){this._ignoreEvent=!0;var f=e.type;e=e.field;f&&a.updateOptions(this.operationSelect,null,f);e&&a.updateOptions(this.fieldSelect,null,e);setTimeout(function(){this._ignoreEvent=
!1}.bind(this),200)}},setLayerDefinition:function(e){e&&(this.definition=e,this._fillFieldsSelect(e))},reset:function(){this.operationSelect.set("value","count");this.fieldSelect.removeOption(this.fieldSelect.getOptions())},_onChange:function(){this._ignoreEvent||this.isValid()&&this.emit("change")},_fillFieldsSelect:function(e){if(e=this._getFields(e))e=a.getFieldSelectOptions(e),this.fieldSelect.removeOption(this.fieldSelect.getOptions()),this.fieldSelect.set("value"),this.fieldSelect.addOption(e)},
_getFields:function(e){if(e){var f=r.clone(e.fields);if(f&&f.length){var b=e.groupByFields&&e.groupByFields[0];e=f.filter(function(d){return d.name!==b});return a.getNumberFields(e)}}},_onOperationChanged:function(e){"count"===e?this._hideFieldContainer():this._showFieldContainer();this._onChange()},_onFieldSelectChanged:function(){this._onChange()},_showFieldContainer:function(){w.removeClass(this.fieldContaiber,"hide")},_hideFieldContainer:function(){w.addClass(this.fieldContaiber,"hide")}})})},
"widgets/Infographic/setting/dijitsSetting/_dijits/ValueProvider/StatisticDataSourceSelector":function(){define("dojo/_base/declare dojo/_base/lang dojo/Evented dojo/_base/html dijit/_WidgetBase dijit/_TemplatedMixin dijit/_WidgetsInTemplateMixin dojo/text!./StatisticDataSourceSelector.html jimu/LayerInfos/LayerInfos jimu/utils ../../../utils dijit/form/RadioButton dijit/form/Select".split(" "),function(B,r,w,q,k,l,h,c,a,e,f){return B([k,l,h,w],{baseClass:"jimu-statistic-data-source-selector",templateString:c,
postMixInProperties:function(){this.layerInfosObj=a.getInstanceSync();this._statSourceIDs=null;this._currentSourceID=-1},postCreate:function(){this.inherited(arguments);var b=this.appConfig;b&&this._onAppConfigLoaded(b)},setDataSource:function(b){b=this._getStatSourceIDs(b);e.isEqual(b,this._statSourceIDs)||(this._reset(),this._statSourceIDs=b,b=this._genarateSelectOption(b),this._initSourceSelect(b))},triggerChange:function(){var b=this.sourceSelect.get("value");this._onSourceSelectChanged(b)},updateFetchState:function(b){this._hideErrorIcon();
this._hideLoading();"loading"===b?this._showLoading():"error"===b&&this._showErrorIcon()},_showLoading:function(){q.removeClass(this.loading,"hide")},_hideLoading:function(){q.addClass(this.loading,"hide")},_showErrorIcon:function(){q.removeClass(this.errorIcon,"hide")},_hideErrorIcon:function(){q.addClass(this.errorIcon,"hide")},isValid:function(){return this._statSourceIDs&&this._statSourceIDs.length},_reset:function(){this._currentSourceID=-1;this._statSourceIDs=null;this.sourceSelect.removeOption(this.sourceSelect.getOptions());
this.sourceSelect.addOption([]);this.sourceSelect.reset()},reset:function(){this._reset();this._onAppConfigLoaded(this.appConfig)},_onSourceSelectChanged:function(b){this._currentSourceID=b;this._isCurrentSourceIDValid();var d=this._tryGetLayerIdDataSchema(b);d=this._getLayerDefinition(d.dataSchema,d.layerId);this.emit("change",{definition:d,sourceID:b})},_getLayerDefinition:function(b,d){if(b||d){var g;d&&(g=this.layerInfosObj.getLayerInfoById(d).getPopupInfo());d={type:"Table",fields:[]};d.fields=
r.clone(b.fields);b.groupByFields&&b.groupByFields[0]&&(d.groupByFields=r.clone(b.groupByFields));f.addAliasForLayerDefinition(d,g);return d=f.preProcessDefinition(d)}},_tryGetLayerIdDataSchema:function(b){var d={layerId:"",dataSchema:null};b=(b=f.getDsTypeInfoMeta(b,this.appConfig))&&b.dsMeta;if(!b)return d;d.dataSchema=b.dataSchema;b=f.parseDataSourceId(b.id);d.layerId=b&&b.layerId;return d},getSelectedDataSource:function(){var b=this.sourceSelect.get("value");if(b&&(b=this._tryGetLayerIdDataSchema(b),
b=this._getLayerDefinition(b.dataSchema,b.layerId)))return b},getCurrentSourceID:function(){return this._currentSourceID},getCurrentSourceLabel:function(){var b=this._currentSourceID;if(this._currentSourceID){var d=this._getAppConfigDataSource()[this._currentSourceID];d&&(b=d.label)}return b},setCurrentSourceID:function(b){if(this._currentSourceID!==b){this._currentSourceID=b;if(!this._isCurrentSourceIDValid())return!1;this.sourceSelect.set("value",this._currentSourceID);return!0}},_isCurrentSourceIDValid:function(){return!!this._getAppConfigDataSource()[this._currentSourceID]},
_getAppConfigDataSource:function(){return this.appConfig&&this.appConfig.dataSource&&this.appConfig.dataSource.dataSources||{}},_getStatSourceIDs:function(b){var d=[],g=Object.keys(b);if(!g||!g.length)return d;g.forEach(function(n){var m=b[n];m&&"FeatureStatistics"===m.type&&d.push(n)}.bind(this));return d},_genarateSelectOption:function(b){var d=[];if(!b||!b.length)return d;var g=this._getAppConfigDataSource();b.forEach(function(n){d.push({label:g[n].label,value:n})}.bind(this));return d},_initSourceSelect:function(b){b&&
b.length&&(this.sourceSelect.removeOption(this.sourceSelect.getOptions()),this.sourceSelect.addOption(b))},_onAppConfigLoaded:function(b){b&&(this.appConfig=r.clone(b),b=this._getAppConfigDataSource(),this.setDataSource(b))}})})},"widgets/Infographic/setting/dijitsSetting/_dijits/ValueProvider/ValueProvider":function(){define("dojo/_base/declare dojo/Evented dojo/on dijit/_WidgetBase dijit/_TemplatedMixin dijit/_WidgetsInTemplateMixin dojo/text!./ValueProvider.html ./FieldStatistics jimu/utils dijit/form/RadioButton dijit/form/Select dijit/form/NumberTextBox".split(" "),
function(B,r,w,q,k,l,h,c,a){return B([q,k,l,r],{baseClass:"infograpgic-value-provider",templateString:h,type:"stat",postCreate:function(){this.inherited(arguments);this._setTitle();this._initUI()},reset:function(){this.statistics&&this.statistics.reset()},setConfig:function(e){e=e.value;this.statistics&&this.statistics.setConfig(e)},getConfig:function(){if(!this.isValid())return!1;var e=this.type,f=this.statistics.getConfig();return{type:e,value:f}},isValid:function(){if(this.statistics)return this.statistics.isValid()},
_onChange:function(){var e=this.getConfig();e&&this.emit("change",e)},_setTitle:function(){this.title.innerHTML=a.sanitizeHTML("undefined"!==typeof this.titleText?this.titleText:"$Value")},_initUI:function(){this.statistics=new c({nls:this.nls});this.statistics.placeAt(this.statContainer);this.own(w(this.statistics,"change",function(){this._onChange()}.bind(this)))},setLayerDefinition:function(e){e&&(this.definition=e);this.statistics&&(this.reset(),this.statistics.setLayerDefinition(this.definition))}})})},
"dijit/TitlePane":function(){define("dojo/_base/array dojo/_base/declare dojo/dom dojo/dom-attr dojo/dom-class dojo/dom-geometry dojo/fx dojo/has dojo/_base/kernel dojo/keys ./_CssStateMixin ./_TemplatedMixin ./layout/ContentPane dojo/text!./templates/TitlePane.html ./_base/manager ./a11yclick".split(" "),function(B,r,w,q,k,l,h,c,a,e,f,b,d,g,n){r=r("dijit.TitlePane",[d,b,f],{title:"",_setTitleAttr:{node:"titleNode",type:"innerHTML"},open:!0,toggleable:!0,tabIndex:"0",duration:n.defaultDuration,baseClass:"dijitTitlePane",
templateString:g,doLayout:!1,_setTooltipAttr:{node:"focusNode",type:"attribute",attribute:"title"},buildRendering:function(){this.inherited(arguments);w.setSelectable(this.titleNode,!1)},postCreate:function(){this.inherited(arguments);this.toggleable&&this._trackMouseState(this.titleBarNode,this.baseClass+"Title");var m=this.hideNode,p=this.wipeNode;this._wipeIn=h.wipeIn({node:p,duration:this.duration,beforeBegin:function(){m.style.display=""}});this._wipeOut=h.wipeOut({node:p,duration:this.duration,
onEnd:function(){m.style.display="none"}})},_setOpenAttr:function(m,p){B.forEach([this._wipeIn,this._wipeOut],function(u){u&&"playing"==u.status()&&u.stop()});p?this[m?"_wipeIn":"_wipeOut"].play():this.hideNode.style.display=this.wipeNode.style.display=m?"":"none";if(this._started)if(m)this._onShow();else this.onHide();this.containerNode.setAttribute("aria-hidden",m?"false":"true");this.focusNode.setAttribute("aria-pressed",m?"true":"false");this._set("open",m);this._setCss()},_setToggleableAttr:function(m){this.focusNode.setAttribute("role",
m?"button":"heading");m?(this.focusNode.setAttribute("aria-controls",this.id+"_pane"),this.focusNode.setAttribute("tabIndex",this.tabIndex),this.focusNode.setAttribute("aria-pressed",this.open)):(q.remove(this.focusNode,"aria-controls"),q.remove(this.focusNode,"tabIndex"),q.remove(this.focusNode,"aria-pressed"));this._set("toggleable",m);this._setCss()},_setContentAttr:function(m){this.open&&this._wipeOut&&"playing"!=this._wipeOut.status()?(this._wipeIn&&"playing"==this._wipeIn.status()&&this._wipeIn.stop(),
l.setMarginBox(this.wipeNode,{h:l.getMarginBox(this.wipeNode).h}),this.inherited(arguments),this._wipeIn?this._wipeIn.play():this.hideNode.style.display=""):this.inherited(arguments)},toggle:function(){this._setOpenAttr(!this.open,!0)},_setCss:function(){var m=this.titleBarNode||this.focusNode,p=this._titleBarClass;this._titleBarClass=this.baseClass+"Title"+(this.toggleable?"":"Fixed")+(this.open?"Open":"Closed");k.replace(m,this._titleBarClass,p||"");k.replace(m,this._titleBarClass.replace("TitlePaneTitle",
""),(p||"").replace("TitlePaneTitle",""));this.arrowNodeInner.innerHTML=this.open?"-":"+"},_onTitleKey:function(m){m.keyCode==e.DOWN_ARROW&&this.open&&(this.containerNode.focus(),m.preventDefault())},_onTitleClick:function(){this.toggleable&&this.toggle()},setTitle:function(m){a.deprecated("dijit.TitlePane.setTitle() is deprecated.  Use set('title', ...) instead.","","2.0");this.set("title",m)}});c("dojo-bidi")&&r.extend({_setTitleAttr:function(m){this._set("title",m);this.titleNode.innerHTML=m;this.applyTextDir(this.titleNode)},
_setTooltipAttr:function(m){this._set("tooltip",m);this.textDir&&(m=this.enforceTextDirWithUcc(null,m));q.set(this.focusNode,"title",m)},_setTextDirAttr:function(m){this._created&&this.textDir!=m&&(this._set("textDir",m),this.set("title",this.title),this.set("tooltip",this.tooltip))}});return r})},"widgets/Infographic/setting/dijitsSetting/NumberDijitSetting":function(){define("dojo/_base/declare dijit/_WidgetsInTemplateMixin dojo/text!./NumberDijitSetting.html ./BaseDijitSetting dijit/_TemplatedMixin ./_dijits/NumberIndicator/MultipleIndicators ./_dijits/ValueProvider/ValueProvider ./_dijits/BackgroundSetting ./_dijits/FontSetting ./_dijits/DataFormatSetting dojo/_base/lang dojo/on jimu/dijit/TabContainer3 jimu/dijit/Message ../utils dijit/TitlePane".split(" "),
function(B,r,w,q,k,l,h,c,a,e,f,b,d,g,n){return B([q,r,k],{templateString:w,baseClass:"infographic-number-dijit-setting",type:"number",postMixInProperties:function(){f.mixin(this.nls,window.jimuNls.common)},postCreate:function(){this.inherited(arguments);this._ignoreEvent();this._init();this._careEvent()},getConfig:function(m){this.config||(this.config={});return this.isValid(m)?(this.config.indicators=this.indicators.getConfig(),this.backgroundSetting&&(this.config.background=this.backgroundSetting.getConfig()),
this.fontSetting&&(this.config.font=this.fontSetting.getConfig()),this.dataFormatSetting&&(this.config.dataFormat=this.dataFormatSetting.getConfig()),this.valueProvider&&(m=[{type:"value",config:this.valueProvider.getConfig()}],this.config.statistics=m),this.config):!1},setLayerDefinition:function(m){m&&(this.definition=m=n.preProcessDefinition(m));this.valueProvider&&this.valueProvider.setLayerDefinition(this.definition)},setLayerObject:function(m){m&&(this.layerObject=m)},reset:function(){this.config=
this.definition=this.dataSource=null;this.valueProvider&&this.valueProvider.reset()},setConfig:function(m){this._ignoreEvent();if(this.config=m)this.indicators.setConfig(this.config),(m=this.config.statistics)&&m.length&&this.valueProvider.setConfig(m[0].config),this.config.background&&this.backgroundSetting.setConfig(this.config.background),this.config.font&&this.fontSetting.setConfig(this.config.font),this.config.dataFormat&&this.dataFormatSetting.setConfig(this.config.dataFormat),this._careEvent()},
updateDijit:function(){this.dijit&&(this.dijit.setConfig(this.config),this.dijit.startRendering())},_onSettingsChange:function(){!this._ignoreEvents&&this.domNode&&(this.getConfig(),this.updateDijit())},setDataSource:function(m){this.inherited(arguments);this.dataSource=m},destroy:function(){this.indicators&&(this.indicators.destroy(),this.indicators=null);this.valueProvider&&(this.valueProvider.destroy(),this.valueProvider=null);this.inherited(arguments)},isValid:function(m){return!this.indicators.getConfig(m)&&
m?(this.tab.selectTab(this.nls.indicators),new g({message:this.nls.setCorrectyIndicatorTip}),!1):this.backgroundSetting.isValid()&&this.fontSetting.isValid()&&this.dataFormatSetting.isValid()&&this.valueProvider.isValid()},_init:function(){this._initTabs();this._initIndicators();this._initValueProvider();this._initDisplay()},_initTabs:function(){this.tab=new d({average:!0,tabs:[{title:this.nls.data,content:this.dataTab},{title:this.nls.display,content:this.display},{title:this.nls.indicators,content:this.indicatorsDiv}]},
this.tabNode)},_initDisplay:function(){this.backgroundSetting=new c({nls:this.nls});this.backgroundSetting.placeAt(this.backgroundSettingNode);this.backgroundSetting.startup();this.own(b(this.backgroundSetting,"change",f.hitch(this,function(){this._onSettingsChange()})));this.fontSetting=new a({nls:this.nls});this.fontSetting.placeAt(this.fontSettingNode);this.fontSetting.startup();this.own(b(this.fontSetting,"change",f.hitch(this,function(){this._onSettingsChange()})));this.dataFormatSetting=new e({nls:this.nls});
this.dataFormatSetting.placeAt(this.dataFormatSettingNode);this.dataFormatSetting.startup();this.own(b(this.dataFormatSetting,"change",f.hitch(this,function(){this._onSettingsChange()})))},_initValueProvider:function(){this.valueProvider=new h({nls:this.nls,titleText:this.nls.displayValue});this.valueProvider.placeAt(this.dataTab);this.valueProvider.startup();this.own(b(this.valueProvider,"change",f.hitch(this,function(m){this._handleDePlacesForMainValue(m);this._onSettingsChange()})))},_handleDePlacesForMainValue:function(m){if(m=
m&&m.value){var p=this.dataFormatSetting.getConfig(),u=p.decimalPlaces;if("count"===m.type){if("number"!==typeof u||2===u)p.decimalPlaces=0}else if("number"!==typeof u||0===u)p.decimalPlaces=2;this.dataFormatSetting.setConfig(p)}},_initIndicators:function(){this.indicators=new l({nls:this.nls,type:"number",folderUrl:this.folderUrl});this.indicators.placeAt(this.indicatorsDiv);this.indicators.startup();this.own(b(this.indicators,"change",f.hitch(this,function(){this._onSettingsChange()})))},_ignoreEvent:function(){this._ignoreEvents=
!0},_careEvent:function(){setTimeout(function(){this._ignoreEvents=!1}.bind(this),200)}})})},"jimu/dijit/GridLayout":function(){define("dojo/_base/declare dojo/_base/lang dojo/_base/array dijit/_WidgetBase dojo/dom-geometry dojo/dom-class dojo/Evented dojo/debounce".split(" "),function(B,r,w,q,k,l,h,c){return B([q,h],{baseClass:"jimu-dijit-gridlayout",declaredClass:"jimu.dijit.GridLayout",container:null,layoutDefinition:null,components:null,editable:!1,_layout:null,_coordinates:null,_isCreatingLayout:null,
postCreate:function(){this.inherited(arguments);this._isCreatingLayout=!1;this._createLayout(this.layoutDefinition)},restoreLayout:function(a){a=a||this.layoutDefinition;this._createLayout(a)},destroy:function(){w.forEach(this.components,function(a){a.dijit.destroy()});this._layout.destroy();this.inherited(arguments)},getLayoutDefinition:function(){return this._layout.toConfig().content},resize:function(){var a=k.getMarginBox(this.container);this._layout.updateSize(a.w,a.h)},getComponentSize:function(a){return(a=
this._layout.root.contentItems[0].getItemsById(a))&&0<a.length?(a=a[0].container,{w:a.width,h:a.height}):{w:0,h:0}},getSize:function(){return{w:this._layout.width,h:this._layout.height}},setVisible:function(a,e){var f=this._layout.root.contentItems[0].getItemsById(a);f&&0<f.length&&!1===e?this._hideComponent(f[0]):f&&0!==f.length||!0!==e||this._showComponent(a)},highlightItem:function(a){(a=this._layout.root.contentItems[0].getItemsById(a))&&0<a.length&&a[0].highlight()},unhighlightItem:function(a){(a=
this._layout.root.contentItems[0].getItemsById(a))&&0<a.length&&a[0].unhighlight()},_createLayout:function(a){if(!this._isCreatingLayout){this._coordinates={};this._isCreatingLayout=!0;var e={settings:{hasHeaders:!1,resizeEnabled:this.editable,reorderEnabled:this.editable,selectionEnabled:this.editable,highlightEnabled:this.editable},dimensions:{borderWidth:1,dragProxyWidth:0,dragProxyHeight:0},content:a},f=this._layout;require(["libs/goldenlayout/goldenlayout"],r.hitch(this,function(b){this._layout=
new b(e,this.container);this._layout.registerComponent("jimu grid",r.hitch(this,function(d,g){var n;d.parent.config.id=g.id;w.some(this.components,function(m){if(m.id===g.id)return n=m.dijit,d.getElement().html(m.dijit.domNode),!0},this);d.on("resize",c(r.hitch(this,function(){0<d.width&&0<d.height&&n&&"function"===typeof n.resize&&n.resize(d.width,d.height)}),200));d.on("select",r.hitch(this,function(){this.editable&&d.parent.select();this.emit("mask-click",d.parent.config.id)}))}));this._layout.on("initialised",
r.hitch(this,function(){this._resetCoordinate();this.emit("initialised");this._isCreatingLayout=!1;f&&f.destroy()}));this._layout.on("stateChanged",r.hitch(this,function(){this._resetCoordinate()}));this._layout.init();this.editable||l.add(this._layout.root.childElementContainer[0],"viewonly");l.add(this._layout.root.childElementContainer[0],"jimu-dijit-gridlayout");setTimeout(r.hitch(this,this.resize),100)}))}},_hideComponent:function(a){a.parent&&a.parent.removeChild(a,!0)},_showComponent:function(a){var e,
f;w.some(this.components,function(p){if(p.id===a)return e=p,!0},this);if(e){var b={id:a,type:"component",componentName:"jimu grid",componentState:{id:a}};var d=this._coordinates[a];var g=this._layout.root;if(d){if(d[0].type!==g.contentItems[0].type){var n=g.contentItems[0];g.replaceChild(n,{type:d[0].type,content:[]});g.contentItems[0].addChild(n)}var m=g;w.forEach(d,function(p){f=p.index<=m.contentItems.length?p.index:m.contentItems.length;"component"===p.type?m.addChild(b,f):("stack"!==p.type&&
m.contentItems[p.index].type===p.type||m.addChild({type:p.type,content:[]},f),m=m.contentItems[f])},this)}else"stack"===g.contentItems[0].type&&(n=g.contentItems[0],g.replaceChild(n,{type:"column",content:[]}),g.contentItems[0].addChild(n)),g.contentItems[0].addChild(b)}},_resetCoordinate:function(){var a=this._layout.root.getItemsByType("component"),e=function(f,b){var d=f.parent;d&&(w.some(d.contentItems,function(g,n){if(g===f)return b.push({type:g.type,index:n}),!0}),e(d,b))};w.forEach(a,function(f){var b=
[];e(f,b);this._coordinates[f.config.id]=b.reverse()},this)}})})},"jimu/dijit/DataSource":function(){define("dojo/on dojo/Evented dojo/_base/lang dojo/_base/html dojo/_base/array dojo/_base/declare dijit/_WidgetBase dijit/_TemplatedMixin dijit/_WidgetsInTemplateMixin jimu/dijit/TabContainer3 jimu/dijit/_FeaturelayerChooserWithButtons jimu/dijit/_QueryableLayerChooserWithButtons jimu/dijit/QueryableServiceChooserFromPortal jimu/dijit/_QueryableServiceChooserContent jimu/dijit/_FrameworkDataSourceChooserWithButtons".split(" "),
function(B,r,w,q,k,l,h,c,a,e,f,b,d,g,n){var m=window.jimuNls.queryableLayerSource,p=l([h,c,a,r],{templateString:"\x3cdiv\x3e\x3c/div\x3e",baseClass:"jimu-dijit-data-source",declaredClass:"jimu.dijit.DataSource",nls:null,dijits:null,types:null,postMixInProperties:function(){this.nls=m;this.dijits=[]},postCreate:function(){this.inherited(arguments);this._initSelf()},_initSelf:function(){var u=[];k.forEach(this.types,w.hitch(this,function(A,z){var C=A.type,v=p[C+"_CLASS_INFO"];if(v){var E=null;v.defaultOptions?
(E=w.clone(v.defaultOptions),E=w.mixin(E,A.options)):E=A.options;E||(E={});E.style={width:"100%",height:"100%"};A=C+"_"+z;z=new v.className(E);q.addClass(z.domNode,"hidden");z._dsType=C;z._dataSourceId=A;z._classInfo=v;this.own(B(z,"ok",w.hitch(this,function(){var L=this.getSelectedItems();L&&0<L.length&&this.emit("ok",L)})));this.own(B(z,"cancel",w.hitch(this,function(){this.emit("cancel")})));this.dijits.push(z);u.push({title:v.defaultTitle,content:z})}else console.error("Unsupported data source type:",
C)}));this.tab=new e({tabs:u});this.tab.placeAt(this.domNode)},_getSelectedDijit:function(){var u=this.tab.getSelectedIndex();return this.dijits[u]},getSelectedSourceType:function(){var u=this._getSelectedDijit();return u?u._classInfo.sourceType:""},getSelectedItems:function(){var u=[],A=this._getSelectedDijit();A&&(u=A.getSelectedItems())&&0<u.length&&k.forEach(u,w.hitch(this,function(z){z.dataSourceType=A._dsType}));return u},destroy:function(){this.dijits&&0<this.dijits.length&&k.forEach(this.dijits,
w.hitch(this,function(u){u.destroy();u=null}));this.dijits=null;this.inherited(arguments)}});p.DATA_SOURCE_FEATURE_LAYER_FROM_MAP="DATA_SOURCE_FEATURE_LAYER_FROM_MAP";p.DATA_SOURCE_QUERYABLE_LAYER_FROM_MAP="DATA_SOURCE_QUERYABLE_LAYER_FROM_MAP";p.DATA_SOURCE_QUERYABLE_LAYER_FROM_PORTAL="DATA_SOURCE_QUERYABLE_LAYER_FROM_PORTAL";p.DATA_SOURCE_QUERYABLE_LAYER_FROM_URL="DATA_SOURCE_QUERYABLE_LAYER_FROM_URL";p.DATA_SOURCE_FROM_FRAMEWORK="DATA_SOURCE_FROM_FRAMEWORK";p.DATA_SOURCE_FEATURE_LAYER_FROM_MAP_CLASS_INFO=
{className:f,defaultTitle:m.selectFromMap,defaultOptions:{multiple:!1},sourceType:"map"};p.DATA_SOURCE_QUERYABLE_LAYER_FROM_MAP_CLASS_INFO={className:b,defaultTitle:m.selectFromMap,defaultOptions:{multiple:!1},sourceType:"map"};p.DATA_SOURCE_QUERYABLE_LAYER_FROM_PORTAL_CLASS_INFO={className:d,defaultTitle:m.selectFromPortal,defaultOptions:{multiple:!1},sourceType:"portal"};p.DATA_SOURCE_QUERYABLE_LAYER_FROM_URL_CLASS_INFO={className:g,defaultTitle:m.addServiceUrl,defaultOptions:{multiple:!1},sourceType:"url"};
p.DATA_SOURCE_FROM_FRAMEWORK_CLASS_INFO={className:n,defaultTitle:window.jimuNls.frameworkDatasource.customDataSource,defaultOptions:null,sourceType:"framework"};p.createQueryableLayerTypes=function(u){return[{type:p.DATA_SOURCE_QUERYABLE_LAYER_FROM_MAP,options:{createMapResponse:u.createMapResponse,onlyShowWebMapLayers:!0}},{type:p.DATA_SOURCE_QUERYABLE_LAYER_FROM_PORTAL,options:{portalUrl:u.portalUrl}},{type:p.DATA_SOURCE_QUERYABLE_LAYER_FROM_URL}]};p.createInfographicTypes=function(u){return[{type:p.DATA_SOURCE_FEATURE_LAYER_FROM_MAP,
options:{createMapResponse:u.createMapResponse,types:["point","polyline","polygon"],showLayerFromFeatureSet:!0,showTable:!1,mustSupportStatistics:!1,ignoreVirtualLayer:!0,onlyShowWebMapLayers:!0}},{type:p.DATA_SOURCE_FROM_FRAMEWORK,options:{appConfig:u.appConfig}}]};return p})},"jimu/dijit/_FeaturelayerChooserWithButtons":function(){define("dojo/on dojo/Evented dojo/_base/lang dojo/_base/html dojo/_base/declare dijit/_WidgetBase dijit/_TemplatedMixin dijit/_WidgetsInTemplateMixin jimu/dijit/FeaturelayerChooserFromMap".split(" "),
function(B,r,w,q,k,l,h,c,a){return k([l,h,c,r],{baseClass:"jimu-layer-chooser-with-buttons jimu-feature-layer-chooser-with-buttons",declaredClass:"jimu.dijit.FeaturelayerChooserWithButtons",templateString:'\x3cdiv\x3e\x3cdiv class\x3d"chooser-container" data-dojo-attach-point\x3d"chooserContainer"\x3e\x3c/div\x3e\x3cdiv class\x3d"footer"\x3e\x3cdiv class\x3d"jimu-btn jimu-float-trailing cancel jimu-btn-vacation" data-dojo-attach-point\x3d"btnCancel"\x3e${nls.cancel}\x3c/div\x3e\x3cdiv class\x3d"jimu-btn jimu-float-trailing ok jimu-trailing-margin1 jimu-state-disabled" data-dojo-attach-point\x3d"btnOk"\x3e${nls.ok}\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e',
layerChooserFromMap:null,constructor:function(e){this.options=e},postMixInProperties:function(){this.nls=w.clone(window.jimuNls.common)},postCreate:function(){this.inherited(arguments);this.layerChooser=this.layerChooserFromMap?this.layerChooserFromMap:new a(this.options);this.layerChooser.placeAt(this.chooserContainer);q.setStyle(this.layerChooser.domNode,{width:"100%",height:"100%"});this.own(B(this.layerChooser,"tree-click",w.hitch(this,function(){0<this.getSelectedItems().length?q.removeClass(this.btnOk,
"jimu-state-disabled"):q.addClass(this.btnOk,"jimu-state-disabled")})));this.own(B(this.btnOk,"click",w.hitch(this,function(){var e=this.getSelectedItems();0<e.length&&this.emit("ok",e)})));this.own(B(this.btnCancel,"click",w.hitch(this,function(){this.emit("cancel")})))},getSelectedItems:function(){return this.layerChooser.getSelectedItems()},startup:function(){this.inherited(arguments);this.layerChooser.startup()}})})},"jimu/dijit/FeaturelayerChooserFromMap":function(){define(["dojo/_base/declare",
"dojo/Deferred","dojo/_base/html","dojo/_base/lang","./LayerChooserFromMap"],function(B,r,w,q,k){return B([k],{baseClass:"jimu-featurelayer-chooser-from-map",declaredClass:"jimu.dijit.FeaturelayerChooserFromMap",types:null,showLayerFromFeatureSet:!1,showTable:!1,onlyShowVisible:!1,ignoredFeaturelayerIds:null,mustSupportStatistics:!1,ignoreVirtualLayer:!1,postMixInProperties:function(){this.inherited(arguments);this.ignoredFeaturelayerIds||(this.ignoredFeaturelayerIds=[]);this.basicFilter=q.hitch(this,
this.basicFilter);this.filter=k.createFeaturelayerFilter(this.types,this.showLayerFromFeatureSet,this.showTable,this.mustSupportStatistics);this.ignoreVirtualLayer&&(this.filter=k.andCombineFilters([this.filter,q.hitch(this,this._ignoreVirtualLayerFilter)]))},postCreate:function(){this.inherited(arguments);w.addClass(this.domNode,"jimu-basic-layer-chooser-from-map")},_ignoreVirtualLayerFilter:function(l){return l.getLayerType().then(function(h){return!("ArcGISDynamicMapServiceLayer"===h||"ArcGISTiledMapServiceLayer"===
h||"GroupLayer"===h)})},basicFilter:function(l){var h=new r;0<=this.ignoredFeaturelayerIds.indexOf(l.id)?h.resolve(!1):this.onlyShowVisible&&"Table"!==l.getLayerType()?h.resolve(l.isShowInMap()):h.resolve(!0);return h},getHandledItem:function(l){var h=this.inherited(arguments),c=l&&l.layerInfo;c=c&&c.layerObject;h.url=c&&c.url||"";return h}})})},"jimu/dijit/LayerChooserFromMap":function(){define("dojo/on dojo/Evented dojo/_base/declare dijit/_WidgetBase dijit/_TemplatedMixin dijit/_WidgetsInTemplateMixin dojo/store/Memory dojo/Deferred dojo/store/Observable dijit/tree/ObjectStoreModel dojo/promise/all dojo/_base/lang dojo/_base/html dojo/_base/array jimu/utils jimu/dijit/_Tree jimu/LayerInfos/LayerInfos jimu/dijit/LoadingIndicator".split(" "),
function(B,r,w,q,k,l,h,c,a,e,f,b,d,g,n,m,p,u){var A=w([q,k,l,r],{templateString:'\x3cdiv style\x3d"width:100%;"\x3e\x3cdiv data-dojo-attach-point\x3d"errorTipSection" class\x3d"error-tip-section"\x3e\x3cspan class\x3d"jimu-icon jimu-icon-error"\x3e\x3c/span\x3e\x3cspan class\x3d"jimu-state-error-text" data-dojo-attach-point\x3d"errTip"\x3e${nls.noLayersTip}\x3c/span\x3e\x3c/div\x3e\x3c/div\x3e',_store:null,_id:0,_treeClass:"layer-chooser-tree",createMapResponse:null,multiple:!1,onlyShowVisible:!1,
updateWhenLayerInfosIsShowInMapChanged:!1,onlyShowWebMapLayers:!1,displayTooltipForTreeNode:!1,onlyFilterCurrentLayerWhenAddItem:!1,postMixInProperties:function(){this.nls=window.jimuNls.basicLayerChooserFromMap},postCreate:function(){this.inherited(arguments);d.addClass(this.domNode,"jimu-basic-layer-chooser-from-map");this.multiple=!!this.multiple;this.shelter=new u({hidden:!0});this.shelter.placeAt(this.domNode);this.shelter.startup();this._createTree();this.basicFilter=b.hitch(this,this.basicFilter);
this.filter=A.andCombineFilters([this.basicFilter,this.filter]);this.createMapResponse&&this.setCreateMapResponse(this.createMapResponse)},basicFilter:function(z){var C=new c;this.onlyShowVisible?C.resolve(z.isShowInMap()):C.resolve(!0);return C},filter:function(z){z=new c;z.resolve(!0);return z},getSelectedItems:function(){var z=this.tree.getSelectedItems();return g.map(z,b.hitch(this,function(C){return this.getHandledItem(C)}))},getAllItems:function(){var z=this.tree.getAllItems(),C=[];g.forEach(z,
b.hitch(this,function(v){"root"!==v.id&&(v=this.getHandledItem(v),C.push(v))}));return C},getHandledItem:function(z){return{name:z.name,layerInfo:z.layerInfo}},_isLeafItem:function(z){return z.isLeaf},setCreateMapResponse:function(z){this.createMapResponse=z;p.getInstance(this.createMapResponse.map,this.createMapResponse.itemInfo).then(b.hitch(this,function(C){this.layerInfosObj=C;this.own(B(this.layerInfosObj,"layerInfosChanged",b.hitch(this,this._onLayerInfosChanged)));this.updateWhenLayerInfosIsShowInMapChanged&&
this.own(B(this.layerInfosObj,"layerInfosIsShowInMapChanged",b.hitch(this,this._onLayerInfosIsShowInMapChanged)));this._buildTree(this.layerInfosObj)}))},_onLayerInfosChanged:function(z,C){this._buildTree(this.layerInfosObj);this.emit("update")},_onLayerInfosIsShowInMapChanged:function(z){this._buildTree(this.layerInfosObj);this.emit("update")},_buildTree:function(z){this._clear();d.setStyle(this.errorTipSection,"display","block");var C=[];this.onlyShowWebMapLayers?(C=z.getLayerInfoArrayOfWebmap(),
C=C.concat(z.getTableInfoArrayOfWebmap())):(C=z.getLayerInfoArray(),C=C.concat(z.getTableInfoArray()));0!==C.length&&(d.setStyle(this.errorTipSection,"display","none"),g.forEach(C,b.hitch(this,function(v){this._addDirectLayerInfo(v)})))},_addDirectLayerInfo:function(z){z&&z.getLayerObject().then(b.hitch(this,function(){this._addItem("root",z)}),b.hitch(this,function(C){console.error(C)}))},_clear:function(){var z=this._store.query({parent:"root"});g.forEach(z,b.hitch(this,function(C){C&&"root"!==
C.id&&this._store.remove(C.id)}))},_addItem:function(z,C){var v=null,E=C.getLayerType(),L=this.filter(C);f({layerType:E,valid:L}).then(b.hitch(this,function(Q){if(Q.valid){var G=b.hitch(this,function(N,V){this._id++;v={name:C.title||"",parent:z,layerInfo:C,type:Q.layerType,layerClass:C.layerObject.declaredClass,id:this._id.toString(),isLeaf:N,hasChildren:V};this._store.add(v)}),x=C.getSubLayers(),D=0===x.length,K=!0;this.onlyFilterCurrentLayerWhenAddItem?(D&&(K=!1),G(D,K)):D?G(D,!1):(x=g.map(x,b.hitch(this,
function(N){return this.filter(N)})),f(x).then(b.hitch(this,function(N){(N=g.some(N,function(V){return V}))&&G(D,N)})))}}))},_getRootItem:function(){return{id:"root",name:"Map Root",type:"root",isLeaf:!1,hasChildren:!0}},_createTree:function(){var z=this._getRootItem();z=new h({data:[z],getChildren:function(C){return this.query({parent:C.id})}});this._store=new a(z);z=new e({store:this._store,query:{id:"root"},mayHaveChildren:b.hitch(this,this._mayHaveChildren)});this.tree=new m({multiple:this.multiple,
model:z,showRoot:!1,isLeafItem:b.hitch(this,this._isLeafItem),style:{width:"100%"},onOpen:b.hitch(this,function(C,v){"root"!==C.id&&this._onTreeOpen(C,v)}),onClick:b.hitch(this,function(C,v,E){this._onTreeClick(C,v,E);this.emit("tree-click",C,v,E)}),getIconStyle:b.hitch(this,function(C,v){var E=null;if(!C||"root"===C.id)return null;var L={width:"20px",height:"20px",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundImage:""},Q=window.location.protocol+"//"+window.location.host+
require.toUrl("jimu");if(C=this._getIconInfo(C,v).imageName)L.backgroundImage="url("+Q+"/css/images/"+C+")",E=L;return E}),getIconClass:b.hitch(this,function(C,v){return this._getIconInfo(C,v).className}),getTooltip:b.hitch(this,function(C){return this.displayTooltipForTreeNode?C.layerInfo.title:""})});d.addClass(this.tree.domNode,this._treeClass);this.tree.placeAt(this.shelter.domNode,"before")},_mayHaveChildren:function(z){return z.hasChildren},_getIconInfo:function(z,C){var v="",E="";"ArcGISDynamicMapServiceLayer"===
z.type||"ArcGISTiledMapServiceLayer"===z.type?C?(v="mapserver_open.png",E="mapservice-layer-icon open"):(v="mapserver_close.png",E="mapservice-layer-icon close"):"GroupLayer"===z.type?C?(v="group_layer2.png",E="group-layer-icon open"):(v="group_layer1.png",E="group-layer-icon close"):"FeatureLayer"===z.type?(z=n.getTypeByGeometryType(z.layerInfo.layerObject.geometryType),"point"===z?(v="point_layer1.png",E="point-layer-icon"):"polyline"===z?(v="line_layer1.png",E="line-layer-icon"):"polygon"===z&&
(v="polygon_layer1.png",E="polygon-layer-icon")):"Table"===z.type?(v="table.png",E="table-icon"):"ArcGISImageServiceLayer"===z.type||"ArcGISImageServiceVectorLayer"===z.type?(v="image_layer.png",E="iamge-layer-icon"):C?(v="mapserver_open.png",E="mapservice-layer-icon open"):(v="mapserver_close.png",E="mapservice-layer-icon close");return{imageName:v,className:E}},_onTreeOpen:function(z,C){if("root"!==z.id){var v=[];C=[];v=z.layerInfo.getSubLayers();z.checked||(this.shelter.show(),C=g.map(v,b.hitch(this,
function(E){return E.getLayerObject()})),f(C).then(b.hitch(this,function(){this.domNode&&(g.forEach(v,b.hitch(this,function(E){this._addItem(z.id,E)})),z.checked=!0,this.shelter.hide())}),b.hitch(this,function(E){console.error(E);this.shelter.hide()})))}},_onTreeClick:function(z,C,v){},destroy:function(){this.shelter&&(this.shelter.destroy(),this.shelter=null);this.tree&&this.tree.destroy();this.inherited(arguments)}});A.createFilterByLayerType=function(z){b.isArrayLike(z)||(z=[]);return function(C){var v=
new c;if(0===z.length)v.resolve(!0);else{var E=[];C.traversal(function(L){E.push(L.getLayerType())});f(E).then(function(L){for(var Q=0;Q<L.length;Q++)for(var G=0;G<z.length;G++)if(L[Q]===z[G]){v.resolve(!0);return}v.resolve(!1)},function(L){console.error(L);v.reject(L)})}return v}};A.createFeaturelayerFilter=function(z,C,v,E){var L=["point","polyline","polygon"];z&&0<z.length?(z=g.filter(z,function(Q){return 0<=L.indexOf(Q)}),0===z.length&&(z=L)):z=L;return function(Q){var G=Q.getLayerType();Q=Q.getLayerObject();
return f({layerType:G,layerObject:Q}).then(function(x){var D=x.layerType;x=x.layerObject;if("ArcGISDynamicMapServiceLayer"===D||"ArcGISTiledMapServiceLayer"===D||"GroupLayer"===D||"FeatureCollection"===D)return!0;if("FeatureLayer"===D){D=n.getTypeByGeometryType(x.geometryType);D=0<=g.indexOf(z,D);var K=A._shouldPassStatisticsCheck(E,x);return x.url?(x=n.isFeaturelayerUrlSupportQuery(x.url,x.capabilities),D&&x&&K):C&&D}return"Table"===D?(D=n.isFeaturelayerUrlSupportQuery(x.url,x.capabilities),x=A._shouldPassStatisticsCheck(E,
x),v&&D&&x):!1})}};A.createImageServiceLayerFilter=function(z,C){return function(v){var E=v.getLayerType();v=v.getLayerObject();return f({layerType:E,layerObject:v}).then(function(L){var Q=L.layerType,G=L.layerObject;return"ArcGISImageServiceLayer"===Q||"ArcGISImageServiceVectorLayer"===Q?z?n.isImageServiceSupportQuery(L.layerObject.capabilities)?C?A._shouldPassStatisticsCheck(C,G):!0:!1:!0:!1})}};A._shouldPassStatisticsCheck=function(z,C){return z?(z=!1,z=C.advancedQueryCapabilities?!!C.advancedQueryCapabilities.supportsStatistics:
!!C.supportsStatistics):!0};A.createQueryableLayerFilter=function(z){var C=A.createFeaturelayerFilter(["point","polyline","polygon"],!1,!0,z);z=A.createImageServiceLayerFilter(!0,z);return A.orCombineFilters([C,z])};A.andCombineFilters=function(z){return A._combineFilters(z,!0)};A.orCombineFilters=function(z){return A._combineFilters(z,!1)};A._combineFilters=function(z,C){return function(v){var E=new c,L=g.map(z,function(Q){return Q(v)});f(L).then(function(Q){var G=!1;G=C?g.every(Q,function(x){return x}):
g.some(Q,function(x){return x});E.resolve(G)},function(Q){console.error(Q);E.reject(Q)});return E}};return A})},"dijit/tree/ObjectStoreModel":function(){define("dojo/_base/array dojo/aspect dojo/_base/declare dojo/Deferred dojo/_base/lang dojo/when ../Destroyable".split(" "),function(B,r,w,q,k,l,h){return w("dijit.tree.ObjectStoreModel",h,{store:null,labelAttr:"name",labelType:"text",root:null,query:null,constructor:function(c){k.mixin(this,c);this.childrenCache={}},getRoot:function(c,a){if(this.root)c(this.root);
else{var e=this.store.query(this.query);e.then&&this.own(e);l(e,k.hitch(this,function(f){if(1!=f.length)throw Error("dijit.tree.ObjectStoreModel: root query returned "+f.length+" items, but must return exactly one");this.root=f[0];c(this.root);e.observe&&e.observe(k.hitch(this,function(b){this.onChange(b)}),!0)}),a)}},mayHaveChildren:function(){return!0},getChildren:function(c,a,e){var f=this.store.getIdentity(c);if(this.childrenCache[f])l(this.childrenCache[f],a,e);else{var b=this.childrenCache[f]=
this.store.getChildren(c);b.then&&this.own(b);b.observe&&this.own(b.observe(k.hitch(this,function(d,g,n){this.onChange(d);g!=n&&l(b,k.hitch(this,"onChildrenChange",c))}),!0));l(b,a,e)}},isItem:function(){return!0},getIdentity:function(c){return this.store.getIdentity(c)},getLabel:function(c){return c[this.labelAttr]},newItem:function(c,a,e,f){return this.store.put(c,{parent:a,before:f})},pasteItem:function(c,a,e,f,b,d){var g=new q;if(a===e&&!f&&!d)return g.resolve(!0),g;a&&!f?this.getChildren(a,k.hitch(this,
function(n){n=[].concat(n);var m=B.indexOf(n,c);n.splice(m,1);this.onChildrenChange(a,n);g.resolve(this.store.put(c,{overwrite:!0,parent:e,oldParent:a,before:d,isCopy:!1}))})):g.resolve(this.store.put(c,{overwrite:!0,parent:e,oldParent:a,before:d,isCopy:!0}));return g},onChange:function(){},onChildrenChange:function(){},onDelete:function(){}})})},"jimu/dijit/_Tree":function(){define("dojo/_base/declare dijit/_WidgetBase dijit/_TemplatedMixin dojo/text!./templates/_TreeNode.html dojo/_base/lang dojo/_base/html dojo/_base/array dojo/_base/event dojo/query dojo/aspect dojo/on dojo/keys dojo/Evented dijit/registry dijit/Tree jimu/utils".split(" "),
function(B,r,w,q,k,l,h,c,a,e,f,b,d,g,n,m){var p=B([n._TreeNode,d],{templateString:q,declaredClass:"jimu._TreeNode",isLeaf:!1,groupId:"",postCreate:function(){this.inherited(arguments);l.addClass(this.domNode,"jimu-tree-node");this.isLeaf=!!this.isLeaf;this.groupId?(this.checkNode=l.toDom('\x3cinput type\x3d"radio" /\x3e'),this.checkNode.name=this.groupId):this.checkNode=l.toDom('\x3cinput type\x3d"checkbox" /\x3e');l.addClass(this.checkNode,"jimu-tree-check-node");l.place(this.checkNode,this.contentNode,
"first");this.own(f(this.checkNode,"click",k.hitch(this,this._onClick)));this.own(f(this.rowNode,"keydown",k.hitch(this,function(u,A){A.target=u;A.keyCode!==b.ENTER&&A.keyCode!==b.SPACE||this._onClick(A)},this.checkNode)));this.isLeaf?this.groupId?l.setStyle(this.checkNode,"display","none"):l.setStyle(this.checkNode,"display","inline"):l.setStyle(this.checkNode,"display","none");this.isLeaf?l.addClass(this.domNode,"jimu-tree-leaf-node"):l.addClass(this.domNode,"jimu-tree-not-leaf-node")},select:function(){this.isLeaf&&
(this.checkNode.checked=!0,l.addClass(this.domNode,"jimu-tree-selected-leaf-node"))},unselect:function(){this.isLeaf&&(this.checkNode.checked=!1,l.removeClass(this.domNode,"jimu-tree-selected-leaf-node"))},toggleSelect:function(){this.isLeaf&&(this.checkNode.checked?this.unselect():this.select())},_onClick:function(u){(u.target||u.srcElement)===this.checkNode?this.tree._onCheckNodeClick(this,this.checkNode.checked,u):this.tree._onClick(this,u)},_onChange:function(){this.isLeaf&&setTimeout(k.hitch(this,
function(){this.checkNode.checked?this.emit("tn-select",this):this.emit("tn-unselect",this)}),100)},destroy:function(){delete this.tree;this.inherited(arguments)}});return B([n,d],{declaredClass:"jimu._Tree",openOnClick:!0,multiple:!0,uniqueId:"",showRoot:!1,postMixInProperties:function(){this.inherited(arguments);this.uniqueId="tree_"+m.getRandomString()},postCreate:function(){this.inherited(arguments);l.addClass(this.domNode,"jimu-tree");this.own(e.before(this,"onClick",k.hitch(this,this._jimuBeforeClick)));
this.rootLoadingIndicator&&l.setStyle(this.rootLoadingIndicator,"display","none");this.dndController.singular=!0;l.setAttr(this.domNode,"tabindex",0)},removeItem:function(u){this.model.store.remove(u)},getAllItems:function(){var u=this.getAllTreeNodeWidgets();return h.map(u,k.hitch(this,function(A){var z=A.item;z.selected=A.checkNode.checked;return z}))},getSelectedItems:function(){var u=this.getAllTreeNodeWidgets();u=h.filter(u,k.hitch(this,function(A){return A.checkNode.checked}));return h.map(u,
k.hitch(this,function(A){return A.item}))},getFilteredItems:function(u){var A=this.getAllTreeNodeWidgets();A=h.map(A,k.hitch(this,function(z){var C=z.item;C.selected=z.checkNode.checked;return C}));return h.filter(A,k.hitch(this,function(z){return u(z)}))},getTreeNodeByItemId:function(u){for(var A=this._getAllTreeNodeDoms(),z=0;z<A.length;z++){var C=g.byNode(A[z]);if(C.item.id.toString()===u.toString())return C}return null},selectItem:function(u){(u=this.getTreeNodeByItemId(u))&&u.isLeaf&&this.selectNodeWidget(u)},
unselectItem:function(u){(u=this.getTreeNodeByItemId(u))&&u.isLeaf&&u.unselect()},getAllLeafTreeNodeWidgets:function(){var u=this.getAllTreeNodeWidgets();return h.filter(u,k.hitch(this,function(A){return A.isLeaf}))},getAllTreeNodeWidgets:function(){var u=this._getAllTreeNodeDoms();return h.map(u,k.hitch(this,function(A){return g.byNode(A)}))},isLeafItem:function(u){return u&&u.isLeaf},_getAllTreeNodeDoms:function(){return a(".dijitTreeNode",this.domNode)},_createTreeNode:function(u){u.isLeaf=this.isLeafItem(u.item);
this.multiple||(u.groupId=this.uniqueId);return new p(u)},_onTreeNodeSelect:function(u){this.emit("item-select",{item:u.item,treeNode:u})},_onTreeNodeUnselect:function(u){this.emit("item-unselect",{item:u.item,treeNode:u})},selectNodeWidget:function(u){this.multiple||this.unselectAllLeafNodeWidgets();u.select()},_jimuBeforeClick:function(u,A,z){A.isLeaf&&(l.hasClass(z.target||z.srcElement,"jimu-tree-check-node")||(this.multiple?A.toggleSelect():this.selectNodeWidget(A)));return arguments},_onCheckNodeClick:function(u,
A,z){!this.multiple&&A&&this.unselectAllLeafNodeWidgets();c.stop(z);this.focusNode(u);setTimeout(k.hitch(this,function(){A?this.selectNodeWidget(u):u.unselect();this.onClick(u.item,u,z)}),0)},unselectAllLeafNodeWidgets:function(){var u=this.getAllLeafTreeNodeWidgets();h.forEach(u,k.hitch(this,function(A){A.unselect()}))}})})},"dijit/Tree":function(){define("dojo/_base/array dojo/aspect dojo/cookie dojo/_base/declare dojo/Deferred dojo/promise/all dojo/dom dojo/dom-class dojo/dom-geometry dojo/dom-style dojo/errors/create dojo/fx dojo/has dojo/_base/kernel dojo/keys dojo/_base/lang dojo/on dojo/topic dojo/touch dojo/when ./a11yclick ./focus ./registry ./_base/manager ./_Widget ./_TemplatedMixin ./_Container ./_Contained ./_CssStateMixin ./_KeyNavMixin dojo/text!./templates/TreeNode.html dojo/text!./templates/Tree.html ./tree/TreeStoreModel ./tree/ForestStoreModel ./tree/_dndSelector dojo/query!css2".split(" "),
function(B,r,w,q,k,l,h,c,a,e,f,b,d,g,n,m,p,u,A,z,C,v,E,L,Q,G,x,D,K,N,V,aa,ca,va,qa){function ba(F){return m.delegate(F.promise||F,{addCallback:function(J){this.then(J)},addErrback:function(J){this.otherwise(J)}})}var da=q("dijit._TreeNode",[Q,G,x,D,K],{item:null,isTreeNode:!0,label:"",_setLabelAttr:function(F){this.labelNode["html"==this.labelType?"innerHTML":"innerText"in this.labelNode?"innerText":"textContent"]=F;this._set("label",F);d("dojo-bidi")&&this.applyTextDir(this.labelNode)},labelType:"text",
isExpandable:null,isExpanded:!1,state:"NotLoaded",templateString:V,baseClass:"dijitTreeNode",cssStateNodes:{rowNode:"dijitTreeRow"},_setTooltipAttr:{node:"rowNode",type:"attribute",attribute:"title"},buildRendering:function(){this.inherited(arguments);this._setExpando();this._updateItemClasses(this.item);this.isExpandable&&this.labelNode.setAttribute("aria-expanded",this.isExpanded);this.setSelected(!1)},_setIndentAttr:function(F){var J=Math.max(F,0)*this.tree._nodePixelIndent+"px";e.set(this.domNode,
"backgroundPosition",J+" 0px");e.set(this.rowNode,this.isLeftToRight()?"paddingLeft":"paddingRight",J);B.forEach(this.getChildren(),function(S){S.set("indent",F+1)});this._set("indent",F)},markProcessing:function(){this.state="Loading";this._setExpando(!0)},unmarkProcessing:function(){this._setExpando(!1)},_updateItemClasses:function(F){var J=this.tree,S=J.model;J._v10Compat&&F===S.root&&(F=null);this._applyClassAndStyle(F,"icon","Icon");this._applyClassAndStyle(F,"label","Label");this._applyClassAndStyle(F,
"row","Row");this.tree._startPaint(!0)},_applyClassAndStyle:function(F,J,S){var T="_"+J+"Class";J+="Node";var Z=this[T];this[T]=this.tree["get"+S+"Class"](F,this.isExpanded);c.replace(this[J],this[T]||"",Z||"");e.set(this[J],this.tree["get"+S+"Style"](F,this.isExpanded)||{})},_updateLayout:function(){var F=this.getParent();F=!F||!F.rowNode||"none"==F.rowNode.style.display;c.toggle(this.domNode,"dijitTreeIsRoot",F);c.toggle(this.domNode,"dijitTreeIsLast",!F&&!this.getNextSibling())},_setExpando:function(F){var J=
["dijitTreeExpandoLoading","dijitTreeExpandoOpened","dijitTreeExpandoClosed","dijitTreeExpandoLeaf"];F=F?0:this.isExpandable?this.isExpanded?1:2:3;c.replace(this.expandoNode,J[F],J);this.expandoNodeText.innerHTML=["*","-","+","*"][F]},expand:function(){if(this._expandDeferred)return ba(this._expandDeferred);this._collapseDeferred&&(this._collapseDeferred.cancel(),delete this._collapseDeferred);this.isExpanded=!0;this.labelNode.setAttribute("aria-expanded","true");(this.tree.showRoot||this!==this.tree.rootNode)&&
this.containerNode.setAttribute("role","group");c.add(this.contentNode,"dijitTreeContentExpanded");this._setExpando();this._updateItemClasses(this.item);this==this.tree.rootNode&&this.tree.showRoot&&this.tree.domNode.setAttribute("aria-expanded","true");var F=b.wipeIn({node:this.containerNode,duration:L.defaultDuration}),J=this._expandDeferred=new k(function(){F.stop()});r.after(F,"onEnd",function(){J.resolve(!0)},!0);F.play();return ba(J)},collapse:function(){if(this._collapseDeferred)return ba(this._collapseDeferred);
this._expandDeferred&&(this._expandDeferred.cancel(),delete this._expandDeferred);this.isExpanded=!1;this.labelNode.setAttribute("aria-expanded","false");this==this.tree.rootNode&&this.tree.showRoot&&this.tree.domNode.setAttribute("aria-expanded","false");c.remove(this.contentNode,"dijitTreeContentExpanded");this._setExpando();this._updateItemClasses(this.item);var F=b.wipeOut({node:this.containerNode,duration:L.defaultDuration}),J=this._collapseDeferred=new k(function(){F.stop()});r.after(F,"onEnd",
function(){J.resolve(!0)},!0);F.play();return ba(J)},indent:0,setChildItems:function(F){var J=this.tree,S=J.model,T=[],Z=J.focusedChild,ja=this.getChildren();B.forEach(ja,function(ha){x.prototype.removeChild.call(this,ha)},this);this.defer(function(){B.forEach(ja,function(ha){if(!ha._destroyed&&!ha.getParent()){J.dndController.removeTreeNode(ha);(function ka(la){var Ba=S.getIdentity(la.item),ia=J._itemNodesMap[Ba];1==ia.length?delete J._itemNodesMap[Ba]:(Ba=B.indexOf(ia,la),-1!=Ba&&ia.splice(Ba,1));
B.forEach(la.getChildren(),ka)})(ha);if(J.persist){var wa=B.map(ha.getTreePath(),function(la){return J.model.getIdentity(la)}).join("/"),na;for(na in J._openedNodes)na.substr(0,wa.length)==wa&&delete J._openedNodes[na];J._saveExpandedNodes()}J.lastFocusedChild&&!h.isDescendant(J.lastFocusedChild.domNode,J.domNode)&&delete J.lastFocusedChild;Z&&!h.isDescendant(Z.domNode,J.domNode)&&J.focus();ha.destroyRecursive()}})});this.state="Loaded";F&&0<F.length?(this.isExpandable=!0,B.forEach(F,function(ha){var wa=
S.getIdentity(ha),na=J._itemNodesMap[wa];if(na)for(var Ca=0;Ca<na.length;Ca++)if(na[Ca]&&!na[Ca].getParent()){var la=na[Ca];la.set("indent",this.indent+1);break}la||(la=this.tree._createTreeNode({item:ha,tree:J,isExpandable:S.mayHaveChildren(ha),label:J.getLabel(ha),labelType:J.model&&J.model.labelType||"text",tooltip:J.getTooltip(ha),ownerDocument:J.ownerDocument,dir:J.dir,lang:J.lang,textDir:J.textDir,indent:this.indent+1}),na?na.push(la):J._itemNodesMap[wa]=[la]);this.addChild(la);(this.tree.autoExpand||
this.tree._state(la))&&T.push(J._expandNode(la))},this),B.forEach(this.getChildren(),function(ha){ha._updateLayout()})):this.isExpandable=!1;this._setExpando&&this._setExpando(!1);this._updateItemClasses(this.item);F=l(T);this.tree._startPaint(F);return ba(F)},getTreePath:function(){for(var F=this,J=[];F&&F!==this.tree.rootNode;)J.unshift(F.item),F=F.getParent();J.unshift(this.tree.rootNode.item);return J},getIdentity:function(){return this.tree.model.getIdentity(this.item)},removeChild:function(F){this.inherited(arguments);
var J=this.getChildren();0==J.length&&(this.isExpandable=!1,this.collapse());B.forEach(J,function(S){S._updateLayout()})},makeExpandable:function(){this.isExpandable=!0;this._setExpando(!1)},setSelected:function(F){this.labelNode.setAttribute("aria-selected",F?"true":"false");c.toggle(this.rowNode,"dijitTreeRowSelected",F)},focus:function(){v.focus(this.focusNode)}});d("dojo-bidi")&&da.extend({_setTextDirAttr:function(F){!F||this.textDir==F&&this._created||(this._set("textDir",F),this.applyTextDir(this.labelNode),
B.forEach(this.getChildren(),function(J){J.set("textDir",F)},this))}});var ra=q("dijit.Tree",[Q,N,G,K],{baseClass:"dijitTree",store:null,model:null,query:null,label:"",showRoot:!0,childrenAttr:["children"],paths:[],path:[],selectedItems:null,selectedItem:null,openOnClick:!1,openOnDblClick:!1,templateString:aa,persist:!1,autoExpand:!1,dndController:qa,dndParams:"onDndDrop itemCreator onDndCancel checkAcceptance checkItemAcceptance dragThreshold betweenThreshold".split(" "),onDndDrop:null,itemCreator:null,
onDndCancel:null,checkAcceptance:null,checkItemAcceptance:null,dragThreshold:5,betweenThreshold:0,_nodePixelIndent:19,_publish:function(F,J){u.publish(this.id,m.mixin({tree:this,event:F},J||{}))},postMixInProperties:function(){this.tree=this;this.autoExpand&&(this.persist=!1);this._itemNodesMap={};!this.cookieName&&this.id&&(this.cookieName=this.id+"SaveStateCookie");this.expandChildrenDeferred=new k;this.pendingCommandsPromise=this.expandChildrenDeferred.promise;this.inherited(arguments)},postCreate:function(){this._initState();
var F=this;this.own(p(this.containerNode,p.selector(".dijitTreeNode",A.enter),function(T){F._onNodeMouseEnter(E.byNode(this),T)}),p(this.containerNode,p.selector(".dijitTreeNode",A.leave),function(T){F._onNodeMouseLeave(E.byNode(this),T)}),p(this.containerNode,p.selector(".dijitTreeRow",C.press),function(T){F._onNodePress(E.getEnclosingWidget(this),T)}),p(this.containerNode,p.selector(".dijitTreeRow",C),function(T){F._onClick(E.getEnclosingWidget(this),T)}),p(this.containerNode,p.selector(".dijitTreeRow",
"dblclick"),function(T){F._onDblClick(E.getEnclosingWidget(this),T)}));this.model||this._store2model();this.own(r.after(this.model,"onChange",m.hitch(this,"_onItemChange"),!0),r.after(this.model,"onChildrenChange",m.hitch(this,"_onItemChildrenChange"),!0),r.after(this.model,"onDelete",m.hitch(this,"_onItemDelete"),!0));this.inherited(arguments);if(this.dndController){m.isString(this.dndController)&&(this.dndController=m.getObject(this.dndController));for(var J={},S=0;S<this.dndParams.length;S++)this[this.dndParams[S]]&&
(J[this.dndParams[S]]=this[this.dndParams[S]]);this.dndController=new this.dndController(this,J)}this._load();this.onLoadDeferred=ba(this.pendingCommandsPromise);this.onLoadDeferred.then(m.hitch(this,"onLoad"))},_store2model:function(){this._v10Compat=!0;g.deprecated("Tree: from version 2.0, should specify a model object rather than a store/query");var F={id:this.id+"_ForestStoreModel",store:this.store,query:this.query,childrenAttrs:this.childrenAttr};this.params.mayHaveChildren&&(F.mayHaveChildren=
m.hitch(this,"mayHaveChildren"));this.params.getItemChildren&&(F.getChildren=m.hitch(this,function(J,S,T){this.getItemChildren(this._v10Compat&&J===this.model.root?null:J,S,T)}));this.model=new va(F);this.showRoot=!!this.label},onLoad:function(){},_load:function(){this.model.getRoot(m.hitch(this,function(F){var J=this.rootNode=this.tree._createTreeNode({item:F,tree:this,isExpandable:!0,label:this.label||this.getLabel(F),labelType:this.model.labelType||"text",textDir:this.textDir,indent:this.showRoot?
0:-1});this.showRoot?(this.domNode.setAttribute("aria-multiselectable",!this.dndController.singular),this.rootLoadingIndicator.style.display="none"):(J.rowNode.style.display="none",this.domNode.setAttribute("role","presentation"),this.domNode.removeAttribute("aria-expanded"),this.domNode.removeAttribute("aria-multiselectable"),this["aria-label"]?(J.containerNode.setAttribute("aria-label",this["aria-label"]),this.domNode.removeAttribute("aria-label")):this["aria-labelledby"]&&(J.containerNode.setAttribute("aria-labelledby",
this["aria-labelledby"]),this.domNode.removeAttribute("aria-labelledby")),J.labelNode.setAttribute("role","presentation"),J.labelNode.removeAttribute("aria-selected"),J.containerNode.setAttribute("role","tree"),J.containerNode.setAttribute("aria-expanded","true"),J.containerNode.setAttribute("aria-multiselectable",!this.dndController.singular));this.containerNode.appendChild(J.domNode);F=this.model.getIdentity(F);this._itemNodesMap[F]?this._itemNodesMap[F].push(J):this._itemNodesMap[F]=[J];J._updateLayout();
this._expandNode(J).then(m.hitch(this,function(){this._destroyed||(this.rootLoadingIndicator.style.display="none",this.expandChildrenDeferred.resolve(!0))}))}),m.hitch(this,function(F){console.error(this,": error loading root: ",F)}))},getNodesByItem:function(F){if(!F)return[];F=m.isString(F)?F:this.model.getIdentity(F);return[].concat(this._itemNodesMap[F])},_setSelectedItemAttr:function(F){this.set("selectedItems",[F])},_setSelectedItemsAttr:function(F){var J=this;return this.pendingCommandsPromise=
this.pendingCommandsPromise.always(m.hitch(this,function(){var S=B.map(F,function(Z){return!Z||m.isString(Z)?Z:J.model.getIdentity(Z)}),T=[];B.forEach(S,function(Z){T=T.concat(J._itemNodesMap[Z]||[])});this.set("selectedNodes",T)}))},_setPathAttr:function(F){return F.length?ba(this.set("paths",[F]).then(function(J){return J[0]})):ba(this.set("paths",[]).then(function(J){return J[0]}))},_setPathsAttr:function(F){function J(T,Z){var ja=T.shift(),ha=B.filter(Z,function(wa){return wa.getIdentity()==ja})[0];
if(ha)return T.length?S._expandNode(ha).then(function(){return J(T,ha.getChildren())}):ha;throw new ra.PathError("Could not expand path at "+ja);}var S=this;return ba(this.pendingCommandsPromise=this.pendingCommandsPromise.always(function(){return l(B.map(F,function(T){T=B.map(T,function(Z){return Z&&m.isObject(Z)?S.model.getIdentity(Z):Z});if(T.length)return J(T,[S.rootNode]);throw new ra.PathError("Empty path");}))}).then(function(T){S.set("selectedNodes",T);return S.paths}))},_setSelectedNodeAttr:function(F){this.set("selectedNodes",
[F])},_setSelectedNodesAttr:function(F){this.dndController.setSelection(F)},expandAll:function(){function F(S){return J._expandNode(S).then(function(){var T=B.filter(S.getChildren()||[],function(Z){return Z.isExpandable});return l(B.map(T,F))})}var J=this;return ba(F(this.rootNode))},collapseAll:function(){function F(S){var T=B.filter(S.getChildren()||[],function(Z){return Z.isExpandable});T=l(B.map(T,F));return!S.isExpanded||S==J.rootNode&&!J.showRoot?T:T.then(function(){return J._collapseNode(S)})}
var J=this;return ba(F(this.rootNode))},mayHaveChildren:function(){},getItemChildren:function(){},getLabel:function(F){return this.model.getLabel(F)},getIconClass:function(F,J){return!F||this.model.mayHaveChildren(F)?J?"dijitFolderOpened":"dijitFolderClosed":"dijitLeaf"},getLabelClass:function(){},getRowClass:function(){},getIconStyle:function(){},getLabelStyle:function(){},getRowStyle:function(){},getTooltip:function(){return""},_onDownArrow:function(F,J){(F=this._getNext(J))&&F.isTreeNode&&this.focusNode(F)},
_onUpArrow:function(F,J){if(F=J.getPreviousSibling())for(J=F;J.isExpandable&&J.isExpanded&&J.hasChildren();)J=J.getChildren(),J=J[J.length-1];else if(F=J.getParent(),this.showRoot||F!==this.rootNode)J=F;J&&J.isTreeNode&&this.focusNode(J)},_onRightArrow:function(F,J){J.isExpandable&&!J.isExpanded?this._expandNode(J):J.hasChildren()&&(J=J.getChildren()[0])&&J.isTreeNode&&this.focusNode(J)},_onLeftArrow:function(F,J){J.isExpandable&&J.isExpanded?this._collapseNode(J):(F=J.getParent())&&F.isTreeNode&&
(this.showRoot||F!==this.rootNode)&&this.focusNode(F)},focusLastChild:function(){var F=this._getLast();F&&F.isTreeNode&&this.focusNode(F)},_getFirst:function(){return this.showRoot?this.rootNode:this.rootNode.getChildren()[0]},_getLast:function(){for(var F=this.rootNode;F.isExpanded;){var J=F.getChildren();if(!J.length)break;F=J[J.length-1]}return F},_getNext:function(F){if(F.isExpandable&&F.isExpanded&&F.hasChildren())return F.getChildren()[0];for(;F&&F.isTreeNode;){var J=F.getNextSibling();if(J)return J;
F=F.getParent()}return null},childSelector:".dijitTreeRow",isExpandoNode:function(F,J){return h.isDescendant(F,J.expandoNode)||h.isDescendant(F,J.expandoNodeText)},_onNodePress:function(F,J){this.focusNode(F)},__click:function(F,J,S,T){var Z=this.isExpandoNode(J.target,F);F.isExpandable&&(S||Z)?this._onExpandoClick({node:F}):(this._publish("execute",{item:F.item,node:F,evt:J}),this[T](F.item,F,J),this.focusNode(F));J.stopPropagation();J.preventDefault()},_onClick:function(F,J){this.__click(F,J,this.openOnClick,
"onClick")},_onDblClick:function(F,J){this.__click(F,J,this.openOnDblClick,"onDblClick")},_onExpandoClick:function(F){F=F.node;this.focusNode(F);F.isExpanded?this._collapseNode(F):this._expandNode(F)},onClick:function(){},onDblClick:function(){},onOpen:function(){},onClose:function(){},_getNextNode:function(F){g.deprecated(this.declaredClass+"::_getNextNode(node) is deprecated. Use _getNext(node) instead.","","2.0");return this._getNext(F)},_getRootOrFirstNode:function(){g.deprecated(this.declaredClass+
"::_getRootOrFirstNode() is deprecated. Use _getFirst() instead.","","2.0");return this._getFirst()},_collapseNode:function(F){F._expandNodeDeferred&&delete F._expandNodeDeferred;if("Loading"!=F.state&&F.isExpanded){var J=F.collapse();this.onClose(F.item,F);this._state(F,!1);this._startPaint(J);return J}},_expandNode:function(F){if(F._expandNodeDeferred)return F._expandNodeDeferred;var J=this.model,S=F.item,T=this;F._loadDeferred||(F.markProcessing(),F._loadDeferred=new k,J.getChildren(S,function(Z){F.unmarkProcessing();
F.setChildItems(Z).then(function(){F._loadDeferred.resolve(Z)})},function(Z){console.error(T,": error loading "+F.label+" children: ",Z);F._loadDeferred.reject(Z)}));J=F._loadDeferred.then(m.hitch(this,function(){var Z=F.expand();this.onOpen(F.item,F);this._state(F,!0);return Z}));this._startPaint(J);return J},focusNode:function(F){for(var J=[],S=this.domNode;S&&S.tagName&&"IFRAME"!==S.tagName.toUpperCase();S=S.parentNode)J.push({domNode:S.contentWindow||S,scrollLeft:S.scrollLeft||0,scrollTop:S.scrollTop||
0});this.focusChild(F);this.defer(function(){for(var T=0,Z=J.length;T<Z;T++)J[T].domNode.scrollLeft=J[T].scrollLeft,J[T].domNode.scrollTop=J[T].scrollTop},0)},_onNodeMouseEnter:function(){},_onNodeMouseLeave:function(){},_onItemChange:function(F){var J=this.model.getIdentity(F);if(J=this._itemNodesMap[J]){var S=this.getLabel(F),T=this.getTooltip(F);B.forEach(J,function(Z){Z.set({item:F,label:S,tooltip:T});Z._updateItemClasses(F)})}},_onItemChildrenChange:function(F,J){F=this.model.getIdentity(F);
(F=this._itemNodesMap[F])&&B.forEach(F,function(S){S.setChildItems(J)})},_onItemDelete:function(F){F=this.model.getIdentity(F);var J=this._itemNodesMap[F];J&&(B.forEach(J,function(S){this.dndController.removeTreeNode(S);var T=S.getParent();T&&T.removeChild(S);this.lastFocusedChild&&!h.isDescendant(this.lastFocusedChild.domNode,this.domNode)&&delete this.lastFocusedChild;this.focusedChild&&!h.isDescendant(this.focusedChild.domNode,this.domNode)&&this.focus();S.destroyRecursive()},this),delete this._itemNodesMap[F])},
_initState:function(){this._openedNodes={};if(this.persist&&this.cookieName){var F=w(this.cookieName);F&&B.forEach(F.split(","),function(J){this._openedNodes[J]=!0},this)}},_state:function(F,J){if(!this.persist)return!1;var S=B.map(F.getTreePath(),function(T){return this.model.getIdentity(T)},this).join("/");if(1===arguments.length)return this._openedNodes[S];J?this._openedNodes[S]=!0:delete this._openedNodes[S];this._saveExpandedNodes()},_saveExpandedNodes:function(){if(this.persist&&this.cookieName){var F=
[],J;for(J in this._openedNodes)F.push(J);w(this.cookieName,F.join(","),{expires:365})}},destroy:function(){this._curSearch&&(this._curSearch.timer.remove(),delete this._curSearch);this.rootNode&&this.rootNode.destroyRecursive();this.dndController&&!m.isString(this.dndController)&&this.dndController.destroy();this.rootNode=null;this.inherited(arguments)},destroyRecursive:function(){this.destroy()},resize:function(F){F&&a.setMarginBox(this.domNode,F);this._nodePixelIndent=a.position(this.tree.indentDetector).w||
this._nodePixelIndent;this.expandChildrenDeferred.then(m.hitch(this,function(){this.rootNode.set("indent",this.showRoot?0:-1);this._adjustWidths()}))},_outstandingPaintOperations:0,_startPaint:function(F){this._outstandingPaintOperations++;this._adjustWidthsTimer&&(this._adjustWidthsTimer.remove(),delete this._adjustWidthsTimer);var J=m.hitch(this,function(){this._outstandingPaintOperations--;0>=this._outstandingPaintOperations&&!this._adjustWidthsTimer&&this._started&&(this._adjustWidthsTimer=this.defer("_adjustWidths"))});
z(F,J,J)},_adjustWidths:function(){this._adjustWidthsTimer&&(this._adjustWidthsTimer.remove(),delete this._adjustWidthsTimer);this.containerNode.style.width="auto";this.containerNode.style.width=this.domNode.scrollWidth>this.domNode.offsetWidth?"auto":"100%"},_createTreeNode:function(F){return new da(F)},focus:function(){this.lastFocusedChild?this.focusNode(this.lastFocusedChild):this.focusFirstChild()}});d("dojo-bidi")&&ra.extend({_setTextDirAttr:function(F){F&&this.textDir!=F&&(this._set("textDir",
F),this.rootNode.set("textDir",F))}});ra.PathError=f("TreePathError");ra._TreeNode=da;return ra})},"dijit/tree/TreeStoreModel":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/_base/lang"],function(B,r,w,q){return w("dijit.tree.TreeStoreModel",null,{store:null,childrenAttrs:["children"],newItemIdAttr:"id",labelAttr:"",root:null,query:null,deferItemLoadingUntilExpand:!1,constructor:function(k){q.mixin(this,k);this.connects=[];k=this.store;if(!k.getFeatures()["dojo.data.api.Identity"])throw Error("dijit.tree.TreeStoreModel: store must support dojo.data.Identity");
k.getFeatures()["dojo.data.api.Notification"]&&(this.connects=this.connects.concat([r.after(k,"onNew",q.hitch(this,"onNewItem"),!0),r.after(k,"onDelete",q.hitch(this,"onDeleteItem"),!0),r.after(k,"onSet",q.hitch(this,"onSetItem"),!0)]))},destroy:function(){for(var k;k=this.connects.pop();)k.remove()},getRoot:function(k,l){this.root?k(this.root):this.store.fetch({query:this.query,onComplete:q.hitch(this,function(h){if(1!=h.length)throw Error("dijit.tree.TreeStoreModel: root query returned "+h.length+
" items, but must return exactly one");this.root=h[0];k(this.root)}),onError:l})},mayHaveChildren:function(k){return B.some(this.childrenAttrs,function(l){return this.store.hasAttribute(k,l)},this)},getChildren:function(k,l,h){var c=this.store;if(c.isItemLoaded(k)){for(var a=[],e=0;e<this.childrenAttrs.length;e++){var f=c.getValues(k,this.childrenAttrs[e]);a=a.concat(f)}var b=0;this.deferItemLoadingUntilExpand||B.forEach(a,function(g){c.isItemLoaded(g)||b++});0==b?l(a):B.forEach(a,function(g,n){c.isItemLoaded(g)||
c.loadItem({item:g,onItem:function(m){a[n]=m;0==--b&&l(a)},onError:h})})}else{var d=q.hitch(this,arguments.callee);c.loadItem({item:k,onItem:function(g){d(g,l,h)},onError:h})}},isItem:function(k){return this.store.isItem(k)},fetchItemByIdentity:function(k){this.store.fetchItemByIdentity(k)},getIdentity:function(k){return this.store.getIdentity(k)},getLabel:function(k){return this.labelAttr?this.store.getValue(k,this.labelAttr):this.store.getLabel(k)},newItem:function(k,l,h){var c={parent:l,attribute:this.childrenAttrs[0]},
a;this.newItemIdAttr&&k[this.newItemIdAttr]?this.fetchItemByIdentity({identity:k[this.newItemIdAttr],scope:this,onItem:function(e){e?this.pasteItem(e,null,l,!0,h):(a=this.store.newItem(k,c))&&void 0!=h&&this.pasteItem(a,l,l,!1,h)}}):(a=this.store.newItem(k,c))&&void 0!=h&&this.pasteItem(a,l,l,!1,h)},pasteItem:function(k,l,h,c,a){var e=this.store,f=this.childrenAttrs[0];l&&B.forEach(this.childrenAttrs,function(d){if(e.containsValue(l,d,k)){if(!c){var g=B.filter(e.getValues(l,d),function(n){return n!=
k});e.setValues(l,d,g)}f=d}});if(h)if("number"==typeof a){var b=e.getValues(h,f).slice();b.splice(a,0,k);e.setValues(h,f,b)}else e.setValues(h,f,e.getValues(h,f).concat(k))},onChange:function(){},onChildrenChange:function(){},onDelete:function(){},onNewItem:function(k,l){l&&this.getChildren(l.item,q.hitch(this,function(h){this.onChildrenChange(l.item,h)}))},onDeleteItem:function(k){this.onDelete(k)},onSetItem:function(k,l){if(-1!=B.indexOf(this.childrenAttrs,l))this.getChildren(k,q.hitch(this,function(h){this.onChildrenChange(k,
h)}));else this.onChange(k)}})})},"dijit/tree/ForestStoreModel":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","./TreeStoreModel"],function(B,r,w,q,k){return r("dijit.tree.ForestStoreModel",k,{rootId:"$root$",rootLabel:"ROOT",query:null,constructor:function(l){this.root={store:this,root:!0,id:l.rootId,label:l.rootLabel,children:l.rootChildren}},mayHaveChildren:function(l){return l===this.root||this.inherited(arguments)},getChildren:function(l,h,c){l===
this.root?this.root.children?h(this.root.children):this.store.fetch({query:this.query,onComplete:q.hitch(this,function(a){this.root.children=a;h(a)}),onError:c}):this.inherited(arguments)},isItem:function(l){return l===this.root?!0:this.inherited(arguments)},fetchItemByIdentity:function(l){if(l.identity==this.root.id){var h=l.scope||w.global;l.onItem&&l.onItem.call(h,this.root)}else this.inherited(arguments)},getIdentity:function(l){return l===this.root?this.root.id:this.inherited(arguments)},getLabel:function(l){return l===
this.root?this.root.label:this.inherited(arguments)},newItem:function(l,h,c){return h===this.root?(this.onNewRootItem(l),this.store.newItem(l)):this.inherited(arguments)},onNewRootItem:function(){},pasteItem:function(l,h,c,a,e){if(h===this.root&&!a)this.onLeaveRoot(l);this.inherited(arguments,[l,h===this.root?null:h,c===this.root?null:c,a,e]);if(c===this.root)this.onAddToRoot(l)},onAddToRoot:function(l){console.log(this,": item ",l," added to root")},onLeaveRoot:function(l){console.log(this,": item ",
l," removed from root")},_requeryTop:function(){var l=this.root.children||[];this.store.fetch({query:this.query,onComplete:q.hitch(this,function(h){this.root.children=h;if(l.length!=h.length||B.some(l,function(c,a){return h[a]!=c}))this.onChildrenChange(this.root,h)})})},onNewItem:function(l,h){this._requeryTop();this.inherited(arguments)},onDeleteItem:function(l){-1!=B.indexOf(this.root.children,l)&&this._requeryTop();this.inherited(arguments)},onSetItem:function(l,h,c,a){this._requeryTop();this.inherited(arguments)}})})},
"dijit/tree/_dndSelector":function(){define("dojo/_base/array dojo/_base/declare dojo/_base/kernel dojo/_base/lang dojo/dnd/common dojo/dom dojo/mouse dojo/on dojo/touch ../a11yclick ./_dndContainer".split(" "),function(B,r,w,q,k,l,h,c,a,e,f){return r("dijit.tree._dndSelector",f,{constructor:function(){this.selection={};this.anchor=null;this.events.push(c(this.tree.domNode,a.press,q.hitch(this,"onMouseDown")),c(this.tree.domNode,a.release,q.hitch(this,"onMouseUp")),c(this.tree.domNode,a.move,q.hitch(this,
"onMouseMove")),c(this.tree.domNode,e.press,q.hitch(this,"onClickPress")),c(this.tree.domNode,e.release,q.hitch(this,"onClickRelease")))},singular:!1,getSelectedTreeNodes:function(){var b=[],d=this.selection,g;for(g in d)b.push(d[g]);return b},selectNone:function(){this.setSelection([]);return this},destroy:function(){this.inherited(arguments);this.selection=this.anchor=null},addTreeNode:function(b,d){this.setSelection(this.getSelectedTreeNodes().concat([b]));d&&(this.anchor=b);return b},removeTreeNode:function(b){var d=
B.filter(this.getSelectedTreeNodes(),function(g){return!l.isDescendant(g.domNode,b.domNode)});this.setSelection(d);return b},isTreeNodeSelected:function(b){return b.id&&!!this.selection[b.id]},setSelection:function(b){var d=this.getSelectedTreeNodes();B.forEach(this._setDifference(d,b),q.hitch(this,function(g){g.setSelected(!1);this.anchor==g&&delete this.anchor;delete this.selection[g.id]}));B.forEach(this._setDifference(b,d),q.hitch(this,function(g){g.setSelected(!0);this.selection[g.id]=g}));this._updateSelectionProperties()},
_setDifference:function(b,d){B.forEach(d,function(g){g.__exclude__=!0});b=B.filter(b,function(g){return!g.__exclude__});B.forEach(d,function(g){delete g.__exclude__});return b},_updateSelectionProperties:function(){var b=this.getSelectedTreeNodes(),d=[],g=[];B.forEach(b,function(n){var m=n.getTreePath();g.push(n);d.push(m)},this);b=B.map(g,function(n){return n.item});this.tree._set("paths",d);this.tree._set("path",d[0]||[]);this.tree._set("selectedNodes",g);this.tree._set("selectedNode",g[0]||null);
this.tree._set("selectedItems",b);this.tree._set("selectedItem",b[0]||null)},onClickPress:function(b){if(!(this.current&&this.current.isExpandable&&this.tree.isExpandoNode(b.target,this.current))){"mousedown"==b.type&&h.isLeft(b)&&b.preventDefault();var d="keydown"==b.type?this.tree.focusedChild:this.current;if(d){var g=k.getCopyKeyState(b),n=d.id;this.singular||b.shiftKey||!this.selection[n]?(this._doDeselect=!1,this.userSelect(d,g,b.shiftKey)):this._doDeselect=!0}}},onClickRelease:function(b){this._doDeselect&&
(this._doDeselect=!1,this.userSelect("keyup"==b.type?this.tree.focusedChild:this.current,k.getCopyKeyState(b),b.shiftKey))},onMouseMove:function(){this._doDeselect=!1},onMouseDown:function(){},onMouseUp:function(){},_compareNodes:function(b,d){if(b===d)return 0;if("sourceIndex"in document.documentElement)return b.sourceIndex-d.sourceIndex;if("compareDocumentPosition"in document.documentElement)return b.compareDocumentPosition(d)&2?1:-1;if(document.createRange){var g=doc.createRange();g.setStartBefore(b);
b=doc.createRange();b.setStartBefore(d);return g.compareBoundaryPoints(g.END_TO_END,b)}throw Error("dijit.tree._compareNodes don't know how to compare two different nodes in this browser");},userSelect:function(b,d,g){if(this.singular)this.anchor==b&&d?this.selectNone():(this.setSelection([b]),this.anchor=b);else if(g&&this.anchor){d=this._compareNodes(this.anchor.rowNode,b.rowNode);g=this.anchor;0>d?d=g:(d=b,b=g);for(g=[];d!=b;)g.push(d),d=this.tree._getNext(d);g.push(b);this.setSelection(g)}else this.selection[b.id]&&
d?this.removeTreeNode(b):d?this.addTreeNode(b,!0):(this.setSelection([b]),this.anchor=b)},getItem:function(b){return{data:this.selection[b],type:["treeNode"]}},forInSelectedItems:function(b,d){d=d||w.global;for(var g in this.selection)b.call(d,this.getItem(g),g,this)}})})},"dijit/tree/_dndContainer":function(){define("dojo/aspect dojo/_base/declare dojo/dom-class dojo/_base/lang dojo/on dojo/touch".split(" "),function(B,r,w,q,k,l){return r("dijit.tree._dndContainer",null,{constructor:function(h,c){this.tree=
h;this.node=h.domNode;q.mixin(this,c);this.containerState="";w.add(this.node,"dojoDndContainer");this.events=[k(this.node,l.enter,q.hitch(this,"onOverEvent")),k(this.node,l.leave,q.hitch(this,"onOutEvent")),B.after(this.tree,"_onNodeMouseEnter",q.hitch(this,"onMouseOver"),!0),B.after(this.tree,"_onNodeMouseLeave",q.hitch(this,"onMouseOut"),!0),k(this.node,"dragstart, selectstart",function(a){a.preventDefault()})]},destroy:function(){for(var h;h=this.events.pop();)h.remove();this.node=this.parent=
null},onMouseOver:function(h){this.current=h},onMouseOut:function(){this.current=null},_changeState:function(h,c){var a="dojoDnd"+h;h=h.toLowerCase()+"State";w.replace(this.node,a+c,a+this[h]);this[h]=c},_addItemClass:function(h,c){w.add(h,"dojoDndItem"+c)},_removeItemClass:function(h,c){w.remove(h,"dojoDndItem"+c)},onOverEvent:function(){this._changeState("Container","Over")},onOutEvent:function(){this._changeState("Container","")}})})},"jimu/dijit/_QueryableLayerChooserWithButtons":function(){define("dojo/_base/declare dijit/_WidgetBase dijit/_TemplatedMixin dijit/_WidgetsInTemplateMixin dojo/_base/lang dojo/_base/html dojo/on dojo/Evented jimu/dijit/QueryableLayerChooserFromMap".split(" "),
function(B,r,w,q,k,l,h,c,a){return B([r,w,q,c],{baseClass:"jimu-layer-chooser-with-buttons jimu-queryable-layer-chooser-with-buttons",declaredClass:"jimu.dijit.QueryableLayerChooserWithButtons",templateString:'\x3cdiv\x3e\x3cdiv class\x3d"chooser-container" data-dojo-attach-point\x3d"chooserContainer"\x3e\x3c/div\x3e\x3cdiv class\x3d"footer"\x3e\x3cdiv class\x3d"jimu-btn jimu-float-trailing cancel jimu-btn-vacation" data-dojo-attach-point\x3d"btnCancel"\x3e${nls.cancel}\x3c/div\x3e\x3cdiv class\x3d"jimu-btn jimu-float-trailing ok jimu-trailing-margin1 jimu-state-disabled" data-dojo-attach-point\x3d"btnOk"\x3e${nls.ok}\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e',
constructor:function(e){this.options=e},postMixInProperties:function(){this.nls=k.clone(window.jimuNls.common)},postCreate:function(){this.inherited(arguments);this.queryableLayerChooserFromMap=new a(this.options);this.queryableLayerChooserFromMap.placeAt(this.chooserContainer);l.setStyle(this.queryableLayerChooserFromMap.domNode,{width:"100%",height:"100%"});this.own(h(this.queryableLayerChooserFromMap,"tree-click",k.hitch(this,function(){0<this.getSelectedItems().length?l.removeClass(this.btnOk,
"jimu-state-disabled"):l.addClass(this.btnOk,"jimu-state-disabled")})));this.own(h(this.btnOk,"click",k.hitch(this,function(){var e=this.getSelectedItems();0<e.length&&this.emit("ok",e)})));this.own(h(this.btnCancel,"click",k.hitch(this,function(){this.emit("cancel")})))},getSelectedItems:function(){return this.queryableLayerChooserFromMap.getSelectedItems()},startup:function(){this.inherited(arguments);this.queryableLayerChooserFromMap.startup()}})})},"jimu/dijit/QueryableLayerChooserFromMap":function(){define(["dojo/_base/lang",
"dojo/_base/html","dojo/_base/declare","./LayerChooserFromMap"],function(B,r,w,q){return w([q],{baseClass:"jimu-queryable-layer-chooser-from-map",declaredClass:"jimu.dijit.QueryableLayerChooserFromMap",showImageLayer:!0,mustSupportStatistics:!1,ignoreVirtualLayer:!1,postMixInProperties:function(){this.inherited(arguments);this.filter=this.showImageLayer?q.createQueryableLayerFilter(this.mustSupportStatistics):q.createFeaturelayerFilter(["point","polyline","polygon"],!1,!0,this.mustSupportStatistics);
this.ignoreVirtualLayer&&(this.filter=q.andCombineFilters([this.filter,B.hitch(this,this._ignoreVirtualLayerFilter)]))},_ignoreVirtualLayerFilter:function(k){return k.getLayerType().then(function(l){return!("ArcGISDynamicMapServiceLayer"===l||"ArcGISTiledMapServiceLayer"===l||"GroupLayer"===l)})},postCreate:function(){this.inherited(arguments);r.addClass(this.domNode,"jimu-basic-layer-chooser-from-map")},getHandledItem:function(k){var l=this.inherited(arguments),h=k&&k.layerInfo;h=h&&h.layerObject;
l.url=h&&h.url||"";return l}})})},"jimu/dijit/QueryableServiceChooserFromPortal":function(){define("dojo/_base/declare dijit/_WidgetBase dijit/_TemplatedMixin dijit/_WidgetsInTemplateMixin dojo/text!./templates/QueryableServiceChooserFromPortal.html dojo/_base/lang dojo/_base/html dojo/_base/array dojo/on dojo/query dojo/Deferred dojo/Evented dojo/promise/all jimu/dijit/ItemSelector jimu/dijit/QueryableServiceBrowser jimu/portalUrlUtils esri/request".split(" "),function(B,r,w,q,k,l,h,c,a,e,f,b,d,
g,n,m,p){return B([r,w,q,b],{templateString:k,declaredClass:"jimu.dijit.QueryableServiceChooserFromPortal",baseClass:"jimu-service-chooser-from-portal jimu-queryable-service-chooser-from-portal",_serviceBrowserDef:null,portalUrl:null,multiple:!1,postMixInProperties:function(){this.nls=l.mixin({},window.jimuNls.common);this.nls=l.mixin(this.nls,window.jimuNls.featureLayerChooserFromPortal);this.portalUrl=m.getStandardPortalUrl(this.portalUrl);this.multiple=!0===this.multiple?!0:!1},postCreate:function(){this.inherited(arguments);
this._initSelf()},getSelectedItems:function(){return this.serviceBrowser.getSelectedItems()},_initSelf:function(){this.selector=new g({portalUrl:this.portalUrl,itemTypes:["Feature Service","Map Service","Image Service"],onlyShowOnlineFeaturedItems:!1});this.own(a(this.selector,"item-selected",l.hitch(this,this._onItemSelected)));this.own(a(this.selector,"none-item-selected",l.hitch(this,this._onNoneItemSelected)));this.selector.placeAt(this.selectorContainer);this.selector.startup();this.serviceBrowser=
new n({multiple:this.multiple});this.own(a(this.serviceBrowser,"tree-click",l.hitch(this,this._onServiceBrowserClicked)));this.serviceBrowser.placeAt(this.serviceBrowserContainer);this.serviceBrowser.startup()},_onItemSelected:function(){h.removeClass(this.btnNext,"jimu-state-disabled")},_onNoneItemSelected:function(){h.addClass(this.btnNext,"jimu-state-disabled")},_onBtnBackClicked:function(){this._serviceBrowserDef&&!this._serviceBrowserDef.isFulfilled()&&this._serviceBrowserDef.cancel();h.setStyle(this.btnOk,
"display","none");h.setStyle(this.btnNext,"display","block");h.setStyle(this.btnBack,"display","none");h.addClass(this.btnOk,"jimu-state-disabled");h.setStyle(this.selectorContainer,"display","block");h.setStyle(this.serviceBrowserContainer,"display","none");this.serviceBrowser.reset();this.emit("back")},_onBtnOkClicked:function(){var u=this.selector.getSelectedItem(),A=this.getSelectedItems();u&&0<A.length&&(c.forEach(A,l.hitch(this,function(z){z.portalUrl=u.portalUrl;z.itemId=u.id})),this.emit("ok",
A))},_onBtnNextClicked:function(){var u=this.selector.getSelectedItem();u&&(h.setStyle(this.btnNext,"display","none"),h.setStyle(this.btnBack,"display","block"),h.setStyle(this.btnOk,"display","block"),h.addClass(this.btnOk,"jimu-state-disabled"),h.setStyle(this.selectorContainer,"display","none"),h.setStyle(this.serviceBrowserContainer,"display","block"),this.serviceBrowser.reset(),this._serviceBrowserDef=this.serviceBrowser.setUrl(u.url||u.item),this._serviceBrowserDef.then(l.hitch(this,function(){this._serviceBrowserDef=
null;this._setOkStateBySelectedItems()}),l.hitch(this,function(){this._serviceBrowserDef=null})),this.emit("next"))},_setOkStateBySelectedItems:function(){0<this.serviceBrowser.getSelectedItems().length?h.removeClass(this.btnOk,"jimu-state-disabled"):h.addClass(this.btnOk,"jimu-state-disabled")},_onServiceBrowserClicked:function(){this._setOkStateBySelectedItems()},_onBtnCancelClicked:function(){this.emit("cancel")}})})},"jimu/dijit/ItemSelector":function(){define("dojo/_base/declare dojo/topic dijit/_WidgetBase dijit/_TemplatedMixin dijit/_WidgetsInTemplateMixin dojo/text!./templates/ItemSelector.html dojo/Evented dojo/_base/lang dojo/_base/config dojo/_base/array dojo/_base/html dojo/_base/Deferred dojo/promise/all dojo/query dojo/on dojo/dom-style jimu/utils jimu/portalUtils jimu/tokenUtils jimu/portalUrlUtils jimu/dijit/ViewStack jimu/dijit/Search jimu/dijit/TabContainer3 jimu/dijit/_ItemTable jimu/dijit/BindLabelPropsMixin dijit/form/RadioButton".split(" "),
function(B,r,w,q,k,l,h,c,a,e,f,b,d,g,n,m,p,u,A,z,C,v,E,L,Q){return B([w,q,k,Q,h],{templateString:l,declaredClass:"jimu.dijit.ItemSelector",baseClass:"jimu-item-selector",tab:null,_user:null,_group:null,_allPublicPortalQuery:null,_filterPublicPortalQuery:null,_allPublicOnlineQuery:null,_filterPublicOnlineQuery:null,_allOrganizationQuery:null,_filterOrganizationQuery:null,_allMyContentQuery:null,_filterMyContentQuery:null,_allGroupQuery:null,_filterGroupQuery:null,_isPublicTabShow:!1,_signIn:!1,_itemTypeQueryString:"",
_typeKeywordQueryString:"",portalUrl:null,itemTypes:"",typeKeywords:"",showOnlineItems:!0,onlyShowOnlineFeaturedItems:!1,showMyContent:!0,showMyOrganization:!0,showMyGroups:!0,showPublic:!0,showOnlyEditableGroups:!1,postMixInProperties:function(){this.portalUrl=z.getStandardPortalUrl(this.portalUrl);this.showOnlineItems=!1===this.showOnlineItems?!1:!0;this.itemTypes&&0<this.itemTypes.length||(this.itemTypes=[]);this._itemTypes="";e.forEach(this.itemTypes,c.hitch(this,function(G,x){this._itemTypes+=
'"'+G+'"';x!==this.itemTypes.length-1&&(this._itemTypes+=",")}));this._itemTypes="["+this._itemTypes+"]";this.typeKeywords&&0<this.typeKeywords.length||(this.typeKeywords=[]);this._typeKeywords="";e.forEach(this.typeKeywords,c.hitch(this,function(G,x){this._typeKeywords+='"'+G+'"';x!==this.typeKeywords.length-1&&(this._typeKeywords+=",")}));this._typeKeywords="["+this._typeKeywords+"]";this.nls=window.jimuNls.itemSelector},postCreate:function(){this.inherited(arguments);var G=this._getPortalUrl();
this.portal=u.getPortal(G);this._initOptions();this._initSearchQuery();this._initTabs();this._initPortalRadio();this._initItemTables();this._initPublic();this._initPrivate();this._updateUIbySignIn()},_initOptions:function(){this._itemTypeQueryString=p.getItemQueryStringByTypes(this.itemTypes);this._typeKeywordQueryString=p.getItemQueryStringByTypeKeywords(this.typeKeywords)},_initTabs:function(){var G={title:this.nls.myContent,content:this.mycontentTabNode},x={title:this.nls.myOrganization,content:this.organizationTabNode},
D={title:this.nls.myGroup,content:this.groupTabNode},K={title:this.nls.publicMap,content:this.publicTabNode};m.set(this.mycontentTabNode,"display","none");m.set(this.organizationTabNode,"display","none");m.set(this.groupTabNode,"display","none");m.set(this.publicTabNode,"display","none");var N=[];this.showMyContent&&(N.push(G),m.set(this.mycontentTabNode,"display","block"));this.showMyOrganization&&(N.push(x),m.set(this.organizationTabNode,"display","block"));this.showMyGroups&&(N.push(D),m.set(this.groupTabNode,
"display","block"));this.showPublic&&(N.push(K),m.set(this.publicTabNode,"display","block"));this.tab=new E({tabs:N},this.tabNode);this.own(n(this.tab,"tabChanged",c.hitch(this,function(V){f.setStyle(this.signinSection,"display","none");V!==this.nls.publicMap?(this._isPublicTabShow=!1,this._updateUIbySignIn()):this._isPublicTabShow=!0})))},_updateUIbySignIn:function(){f.setStyle(this.signinSection,"display","none");var G=g(".organization-tab-content-main,.group-tab-content-main,.mycontent-tab-content-main",
this.domNode);A.userHaveSignInPortal(this._getPortalUrl())?G.style("display","block"):(G.style("display","none"),this._isPublicTabShow||f.setStyle(this.signinSection,"display","block"))},_initPortalRadio:function(){var G=this._getPortalUrl();G=z.getServerByUrl(G);this.portalPublicRaido.set("disabled",!1);this.onlinePublicRaido.set("disabled",!1);this.portalPublicRaido.set("checked",!0);var x=!1;z.isArcGIScom(G)?(x=!0,this.portalPublicLabel.innerHTML="ArcGIS.com"):(this.portalPublicLabel.innerHTML=
G,x=this.showOnlineItems?!1:!0);x&&(this.onlinePublicRaido.set("disabled",!0),f.setStyle(this.onlinePublicRaido,"display","none"),f.setStyle(this.onlinePublicLabel,"display","none"))},_initSearchQuery:function(){var G="esri_"+(a.locale&&a.locale.slice(0,2)||"en").toLowerCase(),x=e.filter("esri_he esri_fr esri_ja esri_nl esri_th esri_tr esri_nb esri_ro esri_it esri_pl esri_po esri_ru esri_pt esri_en esri_ar esri_et esri_es esri_ko esri_cs esri_da esri_zh esri_sv esri_lt esri_fi esri_lv esri_de esri_vi".split(" "),
c.hitch(this,function(K){return K!==G})),D="";e.forEach(x,c.hitch(this,function(K){D+=" -owner:"+K+" "}));x=" ";this.portal&&this.portal.user&&this.portal.user.orgId&&(x=" orgid:"+this.portal.user.orgId+" ");x=x+this._itemTypeQueryString+" AND access:public "+D+" "+this._typeKeywordQueryString;this._allPublicPortalQuery=this._getQuery({sortField:"numViews",sortOrder:"desc",q:x});this._filterPublicPortalQuery=this._getQuery({q:x,basicQ:x});this._allPublicOnlineQuery=this._getQuery({sortField:"numViews",
sortOrder:"desc",q:(this.onlyShowOnlineFeaturedItems?' (group:"c755678be14e4a0984af36a15f5b643e"  OR group:"b8787a74b4d74f7fb9b8fac918735153") ':" ")+this._itemTypeQueryString+" AND access:public "+this._typeKeywordQueryString});this._filterPublicOnlineQuery=this._getQuery({q:this._itemTypeQueryString+" AND access:public "+this._typeKeywordQueryString});this._allOrganizationQuery=this._getQuery();this._filterOrganizationQuery=this._getQuery();this._allMyContentQuery=this._getQuery();this._filterMyContentQuery=
this._getQuery();this._allGroupQuery=this._getQuery();this._filterGroupQuery=this._getQuery()},_getQuery:function(G){return c.mixin({start:1,num:16,f:"json"},G||{})},_getPortalUrl:function(){return z.getStandardPortalUrl(this.portalUrl)},_initItemTables:function(){"function"===typeof this.onCreateItemContent&&(this.mycontentItemTable.onCreateItemContent=this.onCreateItemContent,this.organizationItemTable.onCreateItemContent=this.onCreateItemContent,this.groupItemTable.onCreateItemContent=this.onCreateItemContent,
this.publicPortalItemTable.onCreateItemContent=this.onCreateItemContent,this.publicOnlineItemTable.onCreateItemContent=this.onCreateItemContent);this.own(n(this.publicPortalItemTable,"item-dom-clicked",c.hitch(this,this._onItemDomClicked)));this.own(n(this.publicOnlineItemTable,"item-dom-clicked",c.hitch(this,this._onItemDomClicked)));this.own(n(this.organizationItemTable,"item-dom-clicked",c.hitch(this,this._onItemDomClicked)));this.own(n(this.groupItemTable,"item-dom-clicked",c.hitch(this,this._onItemDomClicked)));
this.own(n(this.mycontentItemTable,"item-dom-clicked",c.hitch(this,this._onItemDomClicked)));this.own(n(this.publicPortalItemTable,"update",c.hitch(this,this._onItemTableUpdate)));this.own(n(this.publicOnlineItemTable,"update",c.hitch(this,this._onItemTableUpdate)));this.own(n(this.organizationItemTable,"update",c.hitch(this,this._onItemTableUpdate)));this.own(n(this.groupItemTable,"update",c.hitch(this,this._onItemTableUpdate)));this.own(n(this.mycontentItemTable,"update",c.hitch(this,this._onItemTableUpdate)));
var G=this._getPortalUrl();this.portalPublicRaido.get("disabled")||(this.publicPortalItemTable.set("portalUrl",G),this.publicPortalItemTable.searchAllItems(this._allPublicPortalQuery),this.publicPortalItemTable.set("filteredQuery",this._filterPublicPortalQuery));this.onlinePublicRaido.get("disabled")||(this.publicOnlineItemTable.set("portalUrl",window.location.protocol+"//www.arcgis.com"),this.publicOnlineItemTable.searchAllItems(this._allPublicOnlineQuery),this.publicOnlineItemTable.set("filteredQuery",
this._filterPublicOnlineQuery))},_initPublic:function(){this.own(n(this.portalPublicRaido,"click",c.hitch(this,this._onPublicRaidoClicked)));this.own(n(this.onlinePublicRaido,"click",c.hitch(this,this._onPublicRaidoClicked)));this._onPublicRaidoClicked()},_onPublicRaidoClicked:function(){this.portalPublicRaido.get("checked")?(this.publicPortalItemTable.show(),this.publicOnlineItemTable.hide()):this.onlinePublicRaido.get("checked")&&(this.publicPortalItemTable.hide(),this.publicOnlineItemTable.show())},
_onPublicSearch:function(G){(G=G&&c.trim(G))?(this.publicPortalItemTable.showFilterItemsSection(),this.publicOnlineItemTable.showFilterItemsSection(),this.portalPublicRaido.get("checked")?(this._filterPublicPortalQuery.q=G+" "+this._filterPublicPortalQuery.basicQ,this._filterPublicPortalQuery.start=1,this.publicPortalItemTable.searchFilteredItems(this._filterPublicPortalQuery)):this.onlinePublicRaido.get("checked")&&(this._filterPublicOnlineQuery.q=G+" "+this._itemTypeQueryString+" AND access:public "+
this._typeKeywordQueryString,this._filterPublicOnlineQuery.start=1,this.publicOnlineItemTable.searchFilteredItems(this._filterPublicOnlineQuery))):(this.publicPortalItemTable.showAllItemsSection(),this.publicOnlineItemTable.showAllItemsSection())},_initPrivate:function(){this._resetPortalMaps();this.own(n(this.groupsSelect,"change",c.hitch(this,this._onGroupsSelectChange)));var G=z.getServerByUrl(this._getPortalUrl());z.isArcGIScom(G)&&(G="ArcGIS.com");A.userHaveSignInPortal(this._getPortalUrl())&&
this._onSignIn()},_onOrganizationSearch:function(G){if(G=G&&c.trim(G)){if(this._allOrganizationQuery){var x=this._allOrganizationQuery.q;x&&(this._filterOrganizationQuery.q=G+" "+x,this._filterOrganizationQuery.start=1,this.organizationItemTable.searchFilteredItems(this._filterOrganizationQuery))}}else this.organizationItemTable.showAllItemsSection()},_onMyContentSearch:function(G){if(G=G&&c.trim(G)){if(this._allMyContentQuery){var x=this._allMyContentQuery.q;x&&(this._filterMyContentQuery.q=G+" "+
x,this._filterMyContentQuery.start=1,this.mycontentItemTable.searchFilteredItems(this._filterMyContentQuery))}}else this.mycontentItemTable.showAllItemsSection()},_onGroupSearch:function(G){if(G=G&&c.trim(G)){if(this._allGroupQuery){var x=this._allGroupQuery.q;x&&(this._filterGroupQuery.q=G+" "+x,this._filterGroupQuery.start=1,this.groupItemTable.searchFilteredItems(this._filterGroupQuery))}}else this.groupItemTable.showAllItemsSection()},_onSignIn:function(){this._updateUIbySignIn();if(!this._signIn){this._signIn=
!0;var G=this._getPortalUrl();u.getPortal(G).getUser().then(c.hitch(this,function(x){this.domNode&&(this._resetPortalMaps(),this._searchOrganization(x),this._searchMyContent(x),this._searchGroups(x))}))}},_onSignOut:function(){this._signIn=!1;this._resetPortalMaps();this._updateUIbySignIn()},_resetPortalMaps:function(){this.organizationItemTable.clear();this.mycontentItemTable.clear();this._resetGroupsSection()},_searchOrganization:function(G){this.organizationItemTable.clear();G=" orgid:"+G.orgId+
" AND "+this._itemTypeQueryString+" AND (access:org OR access:public) "+this._typeKeywordQueryString;var x=this._getPortalUrl();this._allOrganizationQuery=this._getQuery({q:G});this._filterOrganizationQuery=this._getQuery({q:G});this.organizationItemTable.set("portalUrl",x);this.organizationItemTable.searchAllItems(this._allOrganizationQuery)},_searchMyContent:function(G){this.mycontentItemTable.clear();var x=this._getPortalUrl();G="owner:"+G.username+" AND "+this._itemTypeQueryString+" "+this._typeKeywordQueryString;
this._allMyContentQuery=this._getQuery({q:G});this._filterMyContentQuery=this._getQuery({q:G});this.mycontentItemTable.set("portalUrl",x);this.mycontentItemTable.searchAllItems(this._allMyContentQuery)},_searchGroups:function(G){this._resetGroupsSection();f.setStyle(this.groupsSection,"display","flex");G=G.getGroups();if(0<G.length){f.setStyle(this.groupSearch.domNode,"display","block");this.groupItemTable.show();f.empty(this.groupsSelect);for(var x=0;x<G.length;x++){var D=G[x];f.create("option",
{value:D.id,innerHTML:D.title},this.groupsSelect)}this._onGroupsSelectChange()}this._updateUIbyGroups(G.length)},_resetGroupsSection:function(){f.setStyle(this.groupsSection,"display","none");f.empty(this.groupsSelect);f.create("option",{value:"nodata",innerHTML:this.nls.noneGroups},this.groupsSelect);this.groupItemTable.clear();f.setStyle(this.groupSearch.domNode,"display","none");this.groupItemTable.hide();this._updateUIbyGroups(0)},_updateUIbyGroups:function(G){0===G?f.setStyle(this.groupsSection,
"top","15px"):f.setStyle(this.groupsSection,"top","50px")},_onGroupsSelectChange:function(){var G=this.groupsSelect.value;this.groupItemTable.clear();if("nodata"===G)f.setStyle(this.groupSearch,"display","none"),this.groupItemTable.hide();else{f.setStyle(this.groupSearch,"display","block");this.groupItemTable.show();var x=this._getPortalUrl();G="group:"+G+" AND "+this._itemTypeQueryString+" "+this._typeKeywordQueryString;this._allGroupQuery=this._getQuery({q:G});this._filterGroupQuery=this._getQuery({q:G});
this.groupItemTable.set("portalUrl",x);this.groupItemTable.searchAllItems(this._allGroupQuery)}},_onItemTableUpdate:function(){this.emit("update")},_onItemDomClicked:function(G){var x=f.hasClass(G,"jimu-state-active");g(".item.jimu-state-active",this.domNode).removeClass("jimu-state-active");x&&f.addClass(G,"jimu-state-active");(G=this.getSelectedItem())?this.emit("item-selected",G):this.emit("none-item-selected")},getSelectedItem:function(){var G=null,x=g(".item.jimu-state-active",this.domNode);
0<x.length&&(G=c.mixin({},x[0].item));return G}})})},"jimu/dijit/_ItemTable":function(){define("dojo/_base/declare dijit/_WidgetBase dijit/_TemplatedMixin dijit/_WidgetsInTemplateMixin dojo/text!./templates/_ItemTable.html dojo/Evented dojo/_base/lang dojo/_base/array dojo/_base/html dojo/_base/Deferred dojo/query dojo/on jimu/utils jimu/portalUtils jimu/portalUrlUtils jimu/dijit/LoadingIndicator".split(" "),function(B,r,w,q,k,l,h,c,a,e,f,b,d,g,n,m){return B([r,w,q,l],{templateString:k,declaredClass:"jimu.dijit.ItemTable",
baseClass:"jimu-item-table",query:null,filteredQuery:null,portalUrl:null,hidden:!1,nls:null,types:"",typeKeywords:"",_defaultThumbnail:{"Web Mapping Application":"desktopapp.png","Mobile Application":"mobileapp.png"},postMixInProperties:function(){this.nls=window.jimuNls.itemSelector},postCreate:function(){this.inherited(arguments);this._initSelf()},_initSelf:function(){this.types&&0<this.types.length||(this.types=[]);(this.hidden=!0===this.hidden)&&this.hide();this.portalUrl&&(this.portalUrl=n.getStandardPortalUrl(this.portalUrl));
this.showAllItemsSection();this.searchAllItems()},show:function(){a.setStyle(this.domNode,"display","block")},hide:function(){a.setStyle(this.domNode,"display","none")},searchAllItems:function(p){this.showAllItemsSection();p&&(this.query=h.mixin({},p),this.query.start=1,this.clearAllItemsSection());this.portalUrl&&this.query&&0<this.query.start&&(this.allItemsShelter.show(),g.getPortal(this.portalUrl).queryItems(this.query).then(h.hitch(this,function(u){this.domNode&&(this.allItemsShelter.hide(),
this.query.start=u.nextStart,this._createItems(u,this.allItemTbody))}),h.hitch(this,function(u){console.error(u);this.domNode&&this.allItemsShelter.hide()})))},searchFilteredItems:function(p){this.showFilterItemsSection();p&&(this.filteredQuery=h.clone(p),this.filteredQuery.start=1,this.clearFilteredItemsSection());this.portalUrl&&this.filteredQuery&&0<this.filteredQuery.start&&(this.filteredItemShelter.show(),g.getPortal(this.portalUrl).queryItems(this.filteredQuery).then(h.hitch(this,function(u){this.domNode&&
(this.showFilterItemsSection(),p&&this.clearFilteredItemsSection(),this.filteredQuery.start=u.nextStart,this._createItems(u,this.filteredItemsTbody),this._filterItemCallback())}),h.hitch(this,function(u){console.error(u);this.domNode&&this._filterItemCallback()})))},_filterItemCallback:function(){this.filteredItemShelter.hide();0<this._getItemCount(this.filteredItemsTbody)?(a.setStyle(this.filteredItemsTableDiv,"display","block"),a.setStyle(this.searchNoneTipSection,"display","none")):(a.setStyle(this.filteredItemsTableDiv,
"display","none"),a.setStyle(this.searchNoneTipSection,"display","block"))},clear:function(){this.clearAllItemsSection();this.clearFilteredItemsSection()},clearAllItemsSection:function(){a.empty(this.allItemTbody)},clearFilteredItemsSection:function(){a.empty(this.filteredItemsTbody)},showAllItemsSection:function(){a.setStyle(this.allItemsSection,"display","block");a.setStyle(this.filteredItemsSection,"display","none")},showFilterItemsSection:function(){a.setStyle(this.allItemsSection,"display","none");
a.setStyle(this.filteredItemsSection,"display","block");a.setStyle(this.filteredItemsTableDiv,"display","block");a.setStyle(this.searchNoneTipSection,"display","none")},_onAllItemsSectionScroll:function(){this._isScrollToBottom(this.allItemsTableDiv)&&this.searchAllItems()},_onFilteredItemsSectionScroll:function(){this._isScrollToBottom(this.filteredItemsTableDiv)&&this.searchFilteredItems()},_isScrollToBottom:function(p){return d.isScrollToBottom(p)},_createItems:function(p,u){p=p.results;var A=
c.map(this.types,h.hitch(this,function(G){return G.toLowerCase()}));p=c.filter(p,h.hitch(this,function(G){G=G.type&&G.type.toLowerCase()||"";return 0<=c.indexOf(A,G)}));if(0!==p.length){var z=f("td.empty",u),C;if(0<z.length){var v=Math.min(p.length,z.length),E=p.splice(0,v);for(C=0;C<v;C++){var L=z[C];var Q=this._createItem(E[C]);a.place(Q,L);a.removeClass(L,"empty")}}if(0!==p.length){z=Math.ceil(p.length/2);for(C=0;C<z;C++)for(Q=a.toDom("\x3ctr\x3e\x3ctd\x3e\x3c/td\x3e\x3ctd\x3e\x3c/td\x3e\x3c/tr\x3e"),
a.place(Q,u),v=f("td",Q),E=0;E<v.length;E++)L=v[E],(Q=p[2*C+E])?(Q=this._createItem(Q),a.place(Q,L)):a.addClass(L,"empty");this.emit("update")}}},_getItemCount:function(p){return f(".item",p).length},_createItem:function(p){var u=a.toDom('\x3cdiv class\x3d"item"\x3e\x3cdiv class\x3d"item-border"\x3e\x3c/div\x3e\x3cdiv class\x3d"item-thumbnail jimu-auto-vertical"\x3e\x3cdiv class\x3d"none-thumbnail-tip jimu-auto-vertical-content"\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class\x3d"item-info"\x3e\x3cdiv class\x3d"item-name"\x3e\x3c/div\x3e\x3cdiv class\x3d"item-type-owner"\x3e\x3c/div\x3e\x3cdiv class\x3d"item-date"\x3e\x3c/div\x3e\x3ca class\x3d"item-details" target\x3d"_blank"\x3e\x3c/a\x3e\x3c/div\x3e\x3c/div\x3e');
u.item=p;var A=f(".item-thumbnail",u)[0],z=f(".item-name",u)[0],C=f(".item-type-owner",u)[0],v=f(".item-date",u)[0],E=f(".item-details",u)[0],L=f(".none-thumbnail-tip",u)[0];if(!p.thumbnailUrl){var Q=this._defaultThumbnail[p.type];Q&&(p.thumbnailUrl=require.toUrl("jimu")+"/images/"+Q)}p.thumbnailUrl?a.setStyle(A,"backgroundImage","url("+p.thumbnailUrl+")"):L.innerHTML=this.nls.noneThumbnail;"function"===typeof this.onCreateItemContent?(v=f(".item-info",u)[0],this.onCreateItemContent(p,v)):(z.innerHTML=
p.title,z.title=z.innerHTML,C.innerHTML=p.type+" by "+p.owner,C.title=C.innerHTML,A=new Date,A.setTime(p.modified),v.innerHTML=A.toLocaleString(),v.title=v.innerHTML,E.innerHTML=this.nls.moreDetails,E.href=p.detailsPageUrl||"#");return u},_onItemsTableClicked:function(p){var u=p.target||p.srcElement;p=null;a.hasClass(u,"item-thumbnail")?p=u.parentNode:a.hasClass(u,"none-thumbnail-tip")&&(p=u.parentNode.parentNode);p&&(u=a.hasClass(p,"jimu-state-active"),f(".item.jimu-state-active",this.domNode).removeClass("jimu-state-active"),
u?a.removeClass(p,"jimu-state-active"):a.addClass(p,"jimu-state-active"),this.emit("item-dom-clicked",p))},getSelectedItem:function(){var p=null,u=f(".item.jimu-state-active",this.domNode);0<u.length&&(p=h.mixin({},u[0].item));return p}})})},"jimu/dijit/QueryableServiceBrowser":function(){define(["dojo/_base/declare","./_BasicServiceBrowser","dojo/_base/lang","dojo/_base/array","jimu/serviceBrowserRuleUtils"],function(B,r,w,q,k){return B([r],{declaredClass:"jimu.dijit.QueryableServiceBrowser",baseClass:"jimu-queryable-service-browser",
url:"",multiple:!1,postMixInProperties:function(){this.inherited(arguments);this.rule=k.getQueryableServiceBrowserRule()},getSelectedItems:function(){var l=this.inherited(arguments);return l=q.map(l,w.hitch(this,function(h){return{name:h.name,url:h.url,definition:h.definition}}))}})})},"jimu/dijit/_BasicServiceBrowser":function(){define("dojo/_base/declare dijit/_WidgetBase dijit/_TemplatedMixin dijit/_WidgetsInTemplateMixin dojo/Evented dojo/_base/lang dojo/_base/html dojo/_base/array dojo/Deferred dojo/promise/all dojo/store/Memory dojo/store/Observable dijit/tree/ObjectStoreModel jimu/utils jimu/dijit/_Tree jimu/dijit/LoadingIndicator".split(" "),
function(B,r,w,q,k,l,h,c,a,e,f,b,d,g,n){return B([r,w,q,k],{templateString:'\x3cdiv style\x3d"width:100%;"\x3e\x3cdiv data-dojo-attach-point\x3d"shelter"  data-dojo-type\x3d"jimu/dijit/LoadingIndicator" data-dojo-props\x3d"hidden:true"\x3e\x3c/div\x3e\x3c/div\x3e',_store:null,_id:0,_currentUrl:"",_treeClass:"service-browser-tree",_def:null,url:"",multiple:!1,rule:null,postMixInProperties:function(){this.nls=window.jimuNls.basicServiceBrowser},postCreate:function(){this.inherited(arguments);h.addClass(this.domNode,
"jimu-basic-service-browser");this.multiple=!!this.multiple;this._createTree();this.url&&"string"===typeof this.url&&this.setUrl(this.url)},reset:function(){this.url="";this._clear()},getSelectedItems:function(){return this.tree.getSelectedItems()},setUrl:function(m){this._def&&(this._def.isFulfilled()||this._def.cancel(),this._def=null);this._def=new a;m&&"string"===typeof m&&m.replace(/\/*$/g,"")||this._def.reject();m=m.replace(/\/*$/g,"");m=l.trim(m);var p=m.match(/^http(s?):\/\//gi);p&&0<p.length||
(m="http://"+m);if(!(0>=m.search(/\/rest\/services/i))&&(this._clear(),this._currentUrl=m))return m=this._getRootItem(),m=g.isStringEndWith(this._currentUrl,"rest/services")?this._searchBaseServiceUrl(this._currentUrl,m):this._isUrlContainsServiceType(this._currentUrl)?this._searchServiceUrl(this._currentUrl,m):this._searchFolderServiceUrl(this._currentUrl,m),this.shelter.show(),m.then(l.hitch(this,function(u){this.domNode&&this.shelter.hide();var A=this.tree.getAllLeafTreeNodeWidgets();1===A.length&&
A[0].select();this._def.resolve(u)}),l.hitch(this,function(u){this.domNode&&this.shelter.hide();this._showRequestError();this._def.reject(u)})),this._def;this._def.reject()},_getItem:function(m){return this.rule.getItem(m)},_getSubItemUrls:function(m){return this.rule.getSubItemUrls(m)},_getSubItems:function(m){var p=new a;this._getSubItemUrls(m).then(l.hitch(this,function(u){u=c.map(u,l.hitch(this,function(A){return this._getItem(A)}));e(u).then(l.hitch(this,function(A){A=c.filter(A,l.hitch(this,
function(z){return z&&"object"===typeof z}));p.resolve(A)}),l.hitch(this,function(A){p.reject(A)}))}),l.hitch(this,function(u){p.reject(u)}));return p},_selectFirstLeafTreeNodeWidget:function(){var m=this.tree.getAllLeafTreeNodeWidgets();1===m.length&&m[0].select()},isLeafItem:function(m){return 0<=this.rule.leafTypes.indexOf(m.type)},isServiceTypeSupported:function(m){return this.rule.isServiceTypeSupported(m)},_getStringEndWith:function(m,p){var u="",A=m.indexOf(p);0<=A&&(u=m.slice(0,A+p.length));
return u},_isUrlContainsServiceType:function(m){return this.rule.isUrlContainsServiceType(m)},_getBaseServiceUrl:function(){return this._getStringEndWith(this._currentUrl,"rest/services")},_getServiceName:function(m){var p="";m=m.split("/");return p=m[m.length-1]},_searchBaseServiceUrl:function(m,p){var u=new a;this._getRestInfo(m).then(l.hitch(this,function(A){if(this.domNode){var z=[];c.map(A.folders,l.hitch(this,function(C){var v={name:C,type:"folder",url:m+"/"+C,parent:p.id};this._addItem(v);
var E=new a;this._doSearchFolderServiceUrl(v.url,v.id).then(l.hitch(this,function(L){0<L.length?c.forEach(L,l.hitch(this,function(Q){Q.parent=v.id;this._addItem(Q)})):this._removeItem(v.id);E.resolve()}),l.hitch(this,function(L){E.reject(L)}));z.push(E);return E}));c.forEach(A.services,l.hitch(this,function(C){if(this.isServiceTypeSupported(C.type)){C=m+"/"+C.name+"/"+C.type;var v=new a;this.rule.getItem(C).then(l.hitch(this,function(E){E&&(E.parent=p.id,this._addItem(E));v.resolve()}),l.hitch(this,
function(E){console.error(E);v.reject(E)}));z.push(v)}}));e(z).then(l.hitch(this,function(){this.domNode&&u.resolve()}),l.hitch(this,function(C){console.error(C);this.domNode&&u.reject(C)}))}}),l.hitch(this,function(A){console.error(A);this.domNode&&u.reject({errorCode:"NETWORK_ERROR",error:A})}));return u},_searchFolderServiceUrl:function(m,p){var u=new a;this._doSearchFolderServiceUrl(m,p).then(l.hitch(this,function(A){this.domNode&&(c.forEach(A,l.hitch(this,function(z){z.parent=p.id;this._addItem(z)})),
u.resolve())}),l.hitch(this,function(A){console.error(A);this.domNode&&u.reject({errorCode:"NETWORK_ERROR",error:A})}));return u},_doSearchFolderServiceUrl:function(m){var p=new a,u=this._getBaseServiceUrl();this._getRestInfo(m).then(l.hitch(this,function(A){A=A.services;var z=[];A&&0<A.length&&c.forEach(A,l.hitch(this,function(C){this.isServiceTypeSupported(C.type)&&(C=this.rule.getItem(u+"/"+C.name+"/"+C.type),z.push(C))}));e(z).then(l.hitch(this,function(C){C=c.filter(C,l.hitch(this,function(v){return v}));
p.resolve(C)}),l.hitch(this,function(C){console.error(C);p.reject(C)}))}),l.hitch(this,function(A){console.error(A);p.reject(A)}));return p},_searchServiceUrl:function(m,p){var u=new a;this._getSubItems(m).then(l.hitch(this,function(A){A&&0<A.length?(c.forEach(A,l.hitch(this,function(z){z.parent=p.id;this._addItem(z)})),u.resolve()):this._getItem(m).then(l.hitch(this,function(z){z&&(z.parent=p.id,this._addItem(z));u.resolve()}),l.hitch(this,function(z){u.reject(z)}))}),l.hitch(this,function(A){u.reject(A)}));
return u},_getRestInfo:function(m){var p=new a;this.rule.getRestInfo(m).then(l.hitch(this,function(u){this.domNode&&p.resolve(u)}),l.hitch(this,function(u){this.domNode&&p.reject(u)}));return p},_clear:function(){var m=this._store.query({parent:"root"});c.forEach(m,l.hitch(this,function(p){p&&"root"!==p.id&&this._store.remove(p.id)}))},_showRequestError:function(){this.emit("error",this.nls.invalidUrlTip)},_addItem:function(m){this._id++;m.id=this._id.toString();this._store.add(m);return m},_removeItem:function(m){this._store.remove(m)},
_getRootItem:function(){return{id:"root",name:"Services Root",type:"root"}},_createTree:function(){var m=this._getRootItem();m=new f({data:[m],getChildren:function(p){return this.query({parent:p.id})}});this._store=new b(m);m=new d({store:this._store,query:{id:"root"},mayHaveChildren:l.hitch(this,this._mayHaveChildren)});this.tree=new n({multiple:this.multiple,model:m,showRoot:!1,style:{width:"100%"},isLeafItem:l.hitch(this,this.isLeafItem),onOpen:l.hitch(this,function(p,u){this._onTreeOpen(p,u);
this.emit("tree-open",p,u)}),onClick:l.hitch(this,function(p,u,A){this._onTreeClick(p,u,A);this.emit("tree-click",p,u,A)}),getIconStyle:l.hitch(this,function(p,u){var A=null;if(!p)return null;var z={width:"20px",height:"20px",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundImage:""},C=window.location.protocol+"//"+window.location.host+require.toUrl("jimu"),v=this._getIconImageName(p,u);v||("folder"===p.type?v=u?"folder_open_default.png":"folder_close_default.png":this.isServiceTypeSupported(p.type)&&
(v=u?"folder_open_default.png":"folder_close_default.png"));v&&(z.backgroundImage="url("+C+"/css/images/"+v+")",A=z);return A})});h.addClass(this.tree.domNode,this._treeClass);this.tree.placeAt(this.domNode)},_getIconImageName:function(m,p){var u="";"function"===typeof this.rule.getIconImageName&&(u=this.rule.getIconImageName(m,p));return u},_mayHaveChildren:function(m){return"root"===m.type?!0:!this.isLeafItem(m)},_onTreeOpen:function(m,p){"root"===m.id||0<this._store.query({parent:m.id}).length||
m.checking||m.checked||(m.checking=!0,this._getSubItems(m.url).then(l.hitch(this,function(u){c.forEach(u,l.hitch(this,function(A){A.parent=m.id;this._addItem(A)}));m.checking=!1;m.checked=!0}),l.hitch(this,function(u){console.error(u);m.checking=!1;m.checked=!0})))},_onTreeClick:function(m,p,u){},destroy:function(){this.shelter&&(this.shelter.destroy(),this.shelter=null);this.inherited(arguments)}})})},"jimu/serviceBrowserRuleUtils":function(){define(["dojo/_base/lang","dojo/_base/array","dojo/Deferred",
"jimu/utils","jimu/ServiceBrowserRule"],function(B,r,w,q,k){var l={combineRules:function(h){var c=new k;r.forEach(h,function(a){r.forEach(a.leafTypes,function(e){0>c.leafTypes.indexOf(e)&&c.leafTypes.push(e)});r.forEach(a.serviceTypes,function(e){0>c.serviceTypes.indexOf(e)&&c.serviceTypes.push(e)})});c.getMatchedRule=function(a){var e=null;r.some(h,function(f){return f.isUrlContainsServiceType(a)?(e=f,!0):!1});return e};c.getItem=function(a){var e=null;return e=(e=c.getMatchedRule(a))?e.getItem(a):
c.defaultGetItem(a)};c.getSubItemUrls=function(a){var e=null;return e=(e=c.getMatchedRule(a))?e.getSubItemUrls(a):c.defaultGetSubItemUrls(a)};c.getIconImageName=function(a,e){var f="";if(a.url){var b=c.getMatchedRule(a.url);b&&"function"===typeof b.getIconImageName&&(f=b.getIconImageName(a,e))}return f};return c},getFeaturelayerServiceBrowserRule:function(h,c,a){h=B.clone(h);var e=["point","polyline","polygon"];B.isArrayLike(h)&&0<h.length?(h=r.filter(h,function(f){return 0<=e.indexOf(f)}),0===h.length&&
(h=e)):h=e;return l._getFeaturelayerServiceBrowserRule(h,c,a)},_getFeaturelayerServiceBrowserRule:function(h,c,a){return new k({types:h,leafTypes:["Feature Layer","Table"],serviceTypes:["MapServer","FeatureServer"],_groupLayerType:"Group Layer",_featureLayerType:"Feature Layer",_tableType:"Table",getItem:function(e){var f=new w;this.isUrlEndWithServiceType(e,this.serviceTypes)?f=this.defaultGetItem(e):this.getRestInfo(e).then(B.hitch(this,function(b){b=this._getItemByLayerDefinition(e,b);f.resolve(b)}),
B.hitch(this,function(b){f.reject(b)}));return f},getSubItemUrls:function(e){var f=new w;return f=this.isUrlEndWithServiceType(e)?this._getSubUrlsByServiceUrl(e):this._getSubUrlsByGroupUrl(e)},getIconImageName:function(e,f){var b="";"MapServer"===e.type||"FeatureServer"===e.type?b=f?"mapserver_open.png":"mapserver_close.png":e.type===this._groupLayerType?b=f?"group_layer2.png":"group_layer1.png":e.type===this._featureLayerType?(e=q.getTypeByGeometryType(e.definition&&e.definition.geometryType),"point"===
e?b="point_layer1.png":"polyline"===e?b="line_layer1.png":"polygon"===e&&(b="polygon_layer1.png")):e.type===this._tableType?b="table.png":"root"===e.type&&this._currentUrl&&r.some(this.serviceTypes,B.hitch(this,function(d){return q.isStringEndWith(this._currentUrl,"/"+d)}))&&(b=f?"mapserver_open.png":"mapserver_close.png");return b},_getSubUrlsByServiceUrl:function(e){var f=new w;this.getRestInfo(e).then(B.hitch(this,function(b){var d=[];r.forEach(b.layers,B.hitch(this,function(g){0<=g.parentLayerId||
d.push(e+"/"+g.id)}));a&&r.forEach(b.tables,B.hitch(this,function(g){0<=g.parentLayerId||d.push(e+"/"+g.id)}));f.resolve(d)}),B.hitch(this,function(b){f.reject(b)}));return f},_getSubUrlsByGroupUrl:function(e){var f=new w;this.getRestInfo(e).then(B.hitch(this,function(b){var d=[];if(b.type===this._groupLayerType){var g=this._getServiceUrlByLayerUrl(e);d=r.map(b.subLayers||[],B.hitch(this,function(n){return g+"/"+n.id}))}f.resolve(d)}),B.hitch(this,function(b){f.reject(b)}));return f},_getItemByLayerDefinition:function(e,
f){var b=null,d=f.type;if(d===this._groupLayerType)b={name:f.name,type:d,url:e,definition:f};else if(d===this._featureLayerType||d===this._tableType){var g=!1;d===this._featureLayerType?g=this._validateEsriGeometryType(f.geometryType):d===this._tableType&&(g=!0);g&&(g=!1,(g=c?q.isFeaturelayerUrlSupportQuery(e,f.capabilities):!0)&&(b={name:f.name,type:d,url:e,definition:f}))}return b},_validateEsriGeometryType:function(e){e=q.getTypeByGeometryType(e);return 0<=this.types.indexOf(e)},_getServiceUrlByLayerUrl:function(e){for(var f=
"",b=0;b<this.serviceTypes.length;b++){var d=this.serviceTypes[b].toLowerCase(),g=e.toLowerCase().lastIndexOf("/"+d+"/");if(0<=g){f=e.slice(0,g+d.length+1);break}}return f}})},getGeocodeServiceBrowserRule:function(){return new k({leafTypes:["GeocodeServer"],serviceTypes:["GeocodeServer"]})},getGpServiceBrowserRule:function(){return new k({leafTypes:["GPTask"],serviceTypes:["GPServer"],getItem:function(h){var c=new w;this.isUrlEndWithServiceType(h)?c=this.defaultGetItem(h):this.getRestInfo(h).then(B.hitch(this,
function(a){c.resolve({name:a.displayName||a.name,type:"GPTask",url:h,definition:a})}),B.hitch(this,function(a){c.reject(a)}));return c},getSubItemUrls:function(h){var c=new w;this.isUrlEndWithServiceType(h)?this.getRestInfo(h).then(B.hitch(this,function(a){a=r.map(a.tasks||[],B.hitch(this,function(e){return h+"/"+e}));c.resolve(a)}),B.hitch(this,function(a){c.reject(a)})):c.resolve([]);return c},getIconImageName:function(h,c){c="";"GPServer"===h.type?c="toolbox.png":"GPTask"===h.type&&(c="tool.png");
return c}})},getImageServiceBrowserRule:function(h){return new k({leafTypes:["ImageServer"],serviceTypes:["ImageServer"],getItem:function(c){var a=new w;this.isUrlEndWithServiceType(c)?this.defaultGetItem(c).then(B.hitch(this,function(e){h?q.isImageServiceSupportQuery(e.definition.capabilities)?a.resolve(e):a.resolve(null):a.resolve(e)}),B.hitch(this,function(e){a.reject(e)})):a.resolve(null);return a},getIconImageName:function(c,a){a="";"ImageServer"===c.type&&(a="image_layer.png");return a}})},
getQueryableServiceBrowserRule:function(){var h=l.getFeaturelayerServiceBrowserRule(["point","polyline","polygon"],!0,!0),c=l.getImageServiceBrowserRule(!0);return l.combineRules([h,c])}};return l})},"jimu/ServiceBrowserRule":function(){define("dojo/_base/declare dojo/_base/lang dojo/_base/array dojo/Deferred jimu/utils esri/request esri/IdentityManager".split(" "),function(B,r,w,q,k,l,h){return B([],{leafTypes:null,serviceTypes:null,_restInfoCache:{},constructor:function(c){r.mixin(this,c);r.isArrayLike(this.leafTypes)||
(this.leafTypes=[]);r.isArrayLike(this.serviceTypes)||(this.serviceTypes=[])},getItem:function(c){return this.defaultGetItem(c)},getSubItemUrls:function(c){return this.defaultGetSubItemUrls(c)},getIconImageName:function(c,a){return""},defaultGetItem:function(c){var a=new q;c=c.replace(/\/*$/g,"");if(this.isUrlEndWithServiceType(c)){var e=c.split("/"),f=e[e.length-1],b=e[e.length-2];this.getRestInfo(c).then(r.hitch(this,function(d){a.resolve({name:b,type:f,url:c,definition:d})}),r.hitch(this,function(d){console.error(d);
a.reject({errorCode:"NETWORK_ERROR",error:d})}))}else a.resolve(null);return a},defaultGetSubItemUrls:function(c){c=new q;c.resolve([]);return c},getRestInfo:function(c){var a=new q;c=c.replace(/\/*$/g,"");var e=this._restInfoCache[c];if(e)a.resolve(e);else{e={url:c,content:{f:"json"},handleAs:"json",callbackParamName:"callback",timeout:2E4};var f=h.findCredential(c);f&&f.token&&(e.content.token=f.token);l(e).then(r.hitch(this,function(b){this._restInfoCache[c]=b;a.resolve(b)}),function(b){a.reject(b)})}return a},
isServiceTypeSupported:function(c){c=c.toLowerCase();return w.some(this.serviceTypes,r.hitch(this,function(a){return a.toLowerCase()===c}))},isUrlEndWithServiceType:function(c){return w.some(this.serviceTypes,r.hitch(this,function(a){return k.isStringEndWith(c,"/"+a)}))},isUrlContainsServiceType:function(c){c=c.toLowerCase();return w.some(this.serviceTypes,r.hitch(this,function(a){a=a.toLowerCase();return 0<=c.indexOf("/"+a)}))}})})},"jimu/dijit/_QueryableServiceChooserContent":function(){define(["dojo/_base/declare",
"./_BasicServiceChooserContent","./QueryableServiceBrowser"],function(B,r,w){return B([r],{baseClass:"jimu-queryable-service-chooser-content",_examples:["http://myserver/arcgis/rest/services","http://myserver/arcgis/rest/services/myservice/MapServer","http://myserver/arcgis/rest/services/myservice/FeatureServer","http://myserver/arcgis/rest/services/myservice/ImageServer"],_createServiceBrowser:function(q){return new w(q)}})})},"jimu/dijit/_BasicServiceChooserContent":function(){define("dojo/_base/declare dijit/_WidgetBase dijit/_TemplatedMixin dijit/_WidgetsInTemplateMixin dojo/text!./templates/_BasicServiceChooserContent.html dojo/Evented dojo/Deferred dojo/_base/html dojo/_base/array dojo/_base/lang dojo/on dojo/aspect dojo/promise/all jimu/dijit/URLInput jimu/dijit/LoadingIndicator".split(" "),
function(B,r,w,q,k,l,h,c,a,e,f,b,d,g,n){return B([r,w,q,l],{templateString:k,_examples:["http://myserver/arcgis/rest/services","http://myserver/arcgis/rest/services/folder","http://myserver/arcgis/rest/services/myservice/servicetype"],multiple:!1,url:"",getSelectedItems:function(){return this.serviceBrowser.getSelectedItems()},postMixInProperties:function(){this.nls=e.mixin({},window.jimuNls.common);this.nls=e.mixin(this.nls,window.jimuNls.basicServiceChooser)},postCreate:function(){this.inherited(arguments);
c.addClass(this.domNode,"jimu-basic-service-chooser-content");this.multiple=!!this.multiple;this._initSelf();this.exampleTd.innerHTML=this.exampleTd.innerHTML},setUrl:function(m){var p=new h;(this.url=m)&&"string"===typeof this.url?(this.urlInput.set("value",this.url),p=this._onBtnValidateClick()):p.reject();return p},focusInput:function(){this.urlInput.focus()},_initSelf:function(){this._examples&&0<this._examples.length?a.forEach(this._examples,e.hitch(this,function(p){c.create("div",{innerHTML:p,
"class":"example-url"},this.exampleTd)})):c.setStyle(this.exampleTr,"display","none");var m={multiple:this.multiple,_onTreeClick:e.hitch(this,this._onTreeClick)};this.serviceBrowser=this._createServiceBrowser(m);this.serviceBrowser.placeAt(this.serviceBrowserContainer);this.serviceBrowser.startup();this.own(b.after(this.urlInput,"validator",e.hitch(this,this._afterUrlValidate)));this.url&&"string"===typeof this.url&&this.urlInput.set("value",this.url);this.own(f(this.serviceBrowser,"error",e.hitch(this,
this._onServiceBrowserError)))},_createServiceBrowser:function(m){},_validateUrl:function(m){m=m.replace(/\/*$/g,"");if((m=m.match(/\/rest\/services\/*(.*)/gi))&&0<m.length)if(m=m[0].replace(/\/rest\/services\/*/,"")){var p=m.split("/");if(1===p.length)return!0;if(2===p.length)return this.serviceBrowser.isServiceTypeSupported(p[1]);if(3<=p.length)return m=this.serviceBrowser.isServiceTypeSupported(p[1]),p=this.serviceBrowser.isServiceTypeSupported(p[2]),m||p}else return!0;else return!1},_afterUrlValidate:function(m){m&&
(m=this.urlInput.get("value"),m=this._validateUrl(m));m?c.removeClass(this.btnValidate,"jimu-state-disabled"):c.addClass(this.btnValidate,"jimu-state-disabled");return m},_onServiceBrowserError:function(m){this._showErrorMessage(m)},_showErrorMessage:function(m){m&&"string"===typeof m?(this.errorNode.innerHTML=m,c.addClass(this.errorSection,"visible")):c.removeClass(this.errorSection,"visible")},_clearErrorMessage:function(){this.errorNode.innerHTML="";c.removeClass(this.errorSection,"visible")},
_onBtnValidateClick:function(){this._clearErrorMessage();var m=new h;if(this.urlInput.validate()){var p=this.urlInput.get("value");this.serviceBrowser.setUrl(p).then(e.hitch(this,function(){this.domNode&&this._checkSelectedItemsNumber();m.resolve()}),e.hitch(this,function(){this.domNode&&this._checkSelectedItemsNumber();m.reject()}));this.emit("validate-click")}else m.reject();return m},_checkSelectedItemsNumber:function(){0<this.getSelectedItems().length?c.removeClass(this.btnOk,"jimu-state-disabled"):
c.addClass(this.btnOk,"jimu-state-disabled")},_onTreeClick:function(){this._checkSelectedItemsNumber()},_onBtnOkClick:function(){var m=this.getSelectedItems();0<m.length&&this.emit("ok",m)},_onBtnCancelClick:function(){this.emit("cancel")}})})},"jimu/dijit/_FrameworkDataSourceChooserWithButtons":function(){define("dojo/on dojo/Evented dojo/_base/lang dojo/_base/html dojo/_base/declare dijit/_WidgetBase dijit/_TemplatedMixin dijit/_WidgetsInTemplateMixin jimu/dijit/_FrameworkDataSourceChooser".split(" "),
function(B,r,w,q,k,l,h,c,a){return k([l,h,c,r],{baseClass:"jimu-dijit-framework-datasource-chooser-with-buttons",declaredClass:"jimu.dijit.FrameworkDataSourceChooserWithButtons",templateString:'\x3cdiv\x3e\x3cdiv class\x3d"chooser-container" data-dojo-attach-point\x3d"chooserContainer"\x3e\x3c/div\x3e\x3cdiv class\x3d"footer"\x3e\x3cdiv class\x3d"jimu-btn jimu-float-trailing cancel jimu-btn-vacation" data-dojo-attach-point\x3d"btnCancel"\x3e${nls.cancel}\x3c/div\x3e\x3cdiv class\x3d"jimu-btn jimu-float-trailing ok jimu-trailing-margin1 jimu-state-disabled" data-dojo-attach-point\x3d"btnOk"\x3e${nls.ok}\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e',
appConfig:null,constructor:function(e){this.options=e},postMixInProperties:function(){this.nls=w.clone(window.jimuNls.common)},postCreate:function(){this.inherited(arguments);this.frameworkDataSourceChooser=new a({appConfig:this.options.appConfig});this.frameworkDataSourceChooser.placeAt(this.chooserContainer);q.setStyle(this.frameworkDataSourceChooser.domNode,{width:"100%",height:"100%"});this.own(B(this.frameworkDataSourceChooser,"tree-click",w.hitch(this,function(){0<this.getSelectedItems().length?
q.removeClass(this.btnOk,"jimu-state-disabled"):q.addClass(this.btnOk,"jimu-state-disabled")})));this.own(B(this.btnOk,"click",w.hitch(this,function(){var e=this.getSelectedItems();0<e.length&&this.emit("ok",e)})));this.own(B(this.btnCancel,"click",w.hitch(this,function(){this.emit("cancel")})))},getSelectedItems:function(){return this.frameworkDataSourceChooser.getSelectedItems()},startup:function(){this.inherited(arguments);this.frameworkDataSourceChooser.startup()}})})},"jimu/dijit/_FrameworkDataSourceChooser":function(){define("dojo/Evented dojo/_base/lang dojo/_base/html dojo/_base/array dojo/_base/declare dijit/_WidgetBase dijit/_TemplatedMixin dijit/_WidgetsInTemplateMixin dojo/store/Memory dojo/store/Observable dijit/tree/ObjectStoreModel jimu/dijit/_Tree jimu/DataSourceManager".split(" "),
function(B,r,w,q,k,l,h,c,a,e,f,b,d){return k([l,h,c,B],{baseClass:"jimu-dijit-framework-datasource-chooser",templateString:'\x3cdiv\x3e\x3cdiv class\x3d"no-data-section"\x3e\x3cdiv class\x3d"jimu-widget-note tip1"\x3e${nls.noExtraDsAvailable}\x3c/div\x3e\x3cdiv class\x3d"jimu-widget-note tip2"\x3e${nls.addExtraDsTip}\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e',dataSourceManager:null,_store:null,_id:0,tree:null,appConfig:null,postMixInProperties:function(){this.nls=window.jimuNls.frameworkDatasource;this.dataSourceManager=
d.getInstance()},postCreate:function(){this.inherited(arguments);w.addClass(this.domNode,"no-data");this._createTree();var g=this.appConfig.dataSource&&this.appConfig.dataSource.dataSources;if(g){var n=Object.keys(g),m={},p=[],u=[];q.forEach(n,r.hitch(this,r.hitch(this,function(A){var z=this.dataSourceManager.parseDataSourceId(A),C=g[A];if(z)if(A={dsId:A,dsTypeInfo:z,ds:C},"widget"===z.from){if(z=z.widgetId)m[z]||(m[z]={widgetInfo:this.appConfig.getConfigElementById(z),arr:[]}),m[z].arr.push(A)}else"Features"===
C.type?p.push(A):"FeatureStatistics"===C.type&&u.push(A)})));n=Object.keys(m);0<n.length&&(this._addWidgetsOutpusItem(),q.forEach(n,r.hitch(this,function(A){var z=m[A],C=z.widgetInfo&&z.widgetInfo.label;C||(C=A);var v=this._addWidgetLabelItem(C);z.arr&&0<z.arr.length&&q.forEach(z.arr,r.hitch(this,function(E){this._addWidgetDataSourceItem(v.id,E.ds.label,E.ds.id)}))})));0<p.length&&q.forEach(p,r.hitch(this,function(A){this._addLayerDataSource(A.ds.label,A.ds.id)}));0<u.length&&q.forEach(u,r.hitch(this,
function(A){this._addStatisticsDataSource(A.ds.label,A.ds.id)}));(0<n.length||0<p.length||0<u.length)&&w.removeClass(this.domNode,"no-data")}},getSelectedItems:function(){var g=this.tree.getSelectedItems();return g=q.map(g,r.hitch(this,function(n){return{dsId:n.dsId,name:n.name}}))},_createTree:function(){var g=this._getRootItem();g=new a({data:[g],getChildren:function(n){return this.query({parent:n.id})}});this._store=new e(g);g=new f({store:this._store,query:{id:"root"},mayHaveChildren:r.hitch(this,
this._mayHaveChildren)});this.tree=new b({multiple:!1,model:g,showRoot:!1,isLeafItem:r.hitch(this,this._isLeafItem),style:{width:"100%"},onOpen:r.hitch(this,function(n,m){"root"!==n.id&&this._onTreeOpen(n,m)}),onClick:r.hitch(this,function(n,m,p){this._onTreeClick(n,m,p);this.emit("tree-click",n,m,p)}),getIconStyle:r.hitch(this,function(n,m){var p=null;if(!n||"root"===n.id)return null;var u={width:"20px",height:"20px",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundImage:""},
A="//"+window.location.host+require.toUrl("jimu");if(n=this._getIconImageName(n,m))u.backgroundImage="url("+A+"/css/images/"+n+")",p=u;return p})});this.tree.placeAt(this.domNode)},_addItem:function(g,n,m,p,u,A){this._id++;g={id:this._id.toString(),type:g,parent:n,name:m||"",isLeaf:p,hasChildren:u,dsId:A||""};this._store.add(g);return g},_getRootItem:function(){return{id:"root",type:"root",name:"DataSource Root",isLeaf:!1,hasChildren:!0}},_addWidgetsOutpusItem:function(){var g={id:"widgetsOutput",
type:"widgetsOutput",parent:"root",name:"Widgets output",isLeaf:!1,hasChildren:!0};this._store.add(g);return g},_addWidgetLabelItem:function(g){return this._addItem("widgetLabel","widgetsOutput",g,!1,!0)},_addWidgetDataSourceItem:function(g,n,m){return this._addItem("widgetDataSource",g,n,!0,!1,m)},_addLayerDataSource:function(g,n){return this._addItem("layerDataSource","root",g,!0,!1,n)},_addStatisticsDataSource:function(g,n){return this._addItem("statisticsDataSource","root",g,!0,!1,n)},_getIconImageName:function(){return""},
_mayHaveChildren:function(g){return g.hasChildren},_isLeafItem:function(g){return g.isLeaf},_onTreeOpen:function(){},_onTreeClick:function(){}})})},"jimu/dijit/_DataSourcePopup":function(){define("dojo/_base/declare dojo/Evented dojo/on dojo/_base/lang dojo/_base/html jimu/dijit/Popup jimu/dijit/DataSource jimu/dijit/LoadingIndicator esri/request".split(" "),function(B,r,w,q,k,l,h,c,a){return B([l,r],{width:830,height:560,titleLabel:window.jimuNls.frameworkDatasource.setDataSource,dijitArgs:null,
postCreate:function(){this.inherited(arguments);k.addClass(this.domNode,"jimu-dijit-data-source-popup");this._initFls();this._initLoading()},_initFls:function(){this.sourceDijit=new h(this.dijitArgs);this.sourceDijit.placeAt(this.contentContainerNode);this.sourceDijit.startup();this.own(w(this.sourceDijit,"ok",q.hitch(this,function(e){if(0!==e.length){var f=e[0];if(f.definition)try{f.definition.name=f.name,f.definition.url=f.url,this.emit("ok",f)}catch(b){console.error(b)}else f.url?(this.loading.show(),
a({url:f.url,content:{f:"json"},handleAs:"json",callbackParamName:"callback"}).then(q.hitch(this,function(b){if(this.domNode){this.loading.hide();f.definition=b;try{f.definition.name=f.name,f.definition.url=f.url,this.emit("ok",f)}catch(d){console.error(d)}}}),q.hitch(this,function(b){console.error(b);this.domNode&&this.loading.hide()}))):this.emit("ok",f)}})));this.own(w(this.sourceDijit,"cancel",q.hitch(this,function(){try{this.emit("cancel")}catch(e){console.error(e)}})))},_initLoading:function(){this.loading=
new c({hidden:!0});this.loading.placeAt(this.domNode);this.loading.startup()}})})},"widgets/Infographic/IGUtils":function(){define("dojo/_base/declare dojo/Deferred dojo/_base/lang dojo/promise/all esri/tasks/query esri/tasks/QueryTask jimu/LayerInfos/LayerInfos jimu/DataSourceManager jimu/utils ./utils".split(" "),function(B,r,w,q,k,l,h,c,a,e){return B([],{constructor:function(f){this.appConfig=f.appConfig;this.map=f.map;this.layerInfosObj=h.getInstanceSync();this.dataSourceManager=c.getInstance();
this.cacheData={}},destroy:function(){this.cacheData=this.dataSourceManager=this.layerInfosObj=this.map=this.appConfig=null},preprocessingDataSource:function(f){var b=new r;if(!f)return b.resolve(),b;var d=this._tryGetLayerIdDataSchema(f),g=d.dataSchema;d=this._tryGetLayerObject(d.layerId);f=this._tryGetLayerForFrameWork(g,f);q([d,f]).then(function(n){var m=n[0];b.resolve({layerObject:m&&m.layerObject,popupInfo:m&&m.popupInfo,featureLayerForFrameWork:n[1]})},function(n){b.reject(n)});return b},getFeaturesForSetting:function(f){var b=
new r;if(!f)return b.resolve(),b;this.getFeaturesByDataSource(f).then(function(d){d=this._cutFeaturesForSetting(d);b.resolve(d)}.bind(this),function(d){b.reject(d)});return b},preprocessingDataSourceForSetting:function(f){var b=new r;if(!f)return b.resolve(),b;var d=this._tryGetLayerIdDataSchema(f),g=d.layerId,n=d.dataSchema;d=this._tryGetLayerObject(g);n=this._tryGetLayerForFrameWork(n,f);f=this.getLayerDefinitionByDataSource(f,g);q([d,n,f]).then(function(m){var p=m[0];b.resolve({layerObject:p&&
p.layerObject,popupInfo:p&&p.popupInfo,featureLayerForFrameWork:m[1],definition:m[2]})}.bind(this),function(m){b.reject(m)});return b},preprocessingDataSourceForRange:function(f){var b=new r;if(!f)return b.resolve(),b;var d=this._tryGetLayerIdDataSchema(f).layerId;d=this.getLayerDefinitionByDataSource(f,d);f=this.getFeaturesByDataSource(f);q([d,f]).then(function(g){var n=g[0];g=g[1];g=this._cutFeaturesForSetting(g);b.resolve({definition:n,features:g})}.bind(this),function(g){b.reject(g)});return b},
_tryGetLayerIdDataSchema:function(f){var b={layerId:"",dataSchema:null};if(f.layerId)this.dsType="CLIENT_FEATURES",b.layerId=f.layerId;else if(f.frameWorkDsId){f=(f=e.getDsTypeInfoMeta(f.frameWorkDsId,this.appConfig))&&f.dsMeta;if(!f)return b;"Features"===f.type?this.dsType="FRAMEWORK_FEATURES":"FeatureStatistics"===f.type&&(this.dsType="FRAMEWORK_STATISTICS");b.dataSchema=f.dataSchema;f=e.parseDataSourceId(f.id);b.layerId=f&&f.layerId}return b},_tryGetLayerObject:function(f){var b=new r;if(!f)return b.resolve(),
b;f=this._tryGetLayerInfo(f);if(!f)return console.error("Invalid data source"),b.resolve(),b;var d=f.getPopupInfo();f.getLayerObject().then(function(g){b.resolve({layerObject:g,popupInfo:d})}.bind(this),function(g){b.reject(g)});return b},_tryGetLayerForFrameWork:function(f,b){var d=new r;if(!f)return d.resolve(),d;var g=f;"FRAMEWORK_STATISTICS"===this._getDataSourceType(b)&&(g=e.mockLayerDefinitionForSTD(f));e.getLoadedLayer(g).then(function(n){d.resolve(n)}.bind(this),function(n){d.reject(n)});
return d},_tryGetLayerInfo:function(f){var b=this.layerInfosObj.getLayerInfoById(f);b||(b=this.layerInfosObj.getTableInfoById(f));return b},getLayerDefinitionByDataSource:function(f,b){var d=new r;if(!f)return console.error("Invalid data source"),d.resolve(),d;if(f.layerId){b=this._tryGetLayerInfo(f.layerId);if(!b)return d.reject("Invalid data source"),d;var g=b.getPopupInfo();this._getServiceDefinitionByLayerInfo(b).then(function(n){e.addAliasForLayerDefinition(n,g);d.resolve(n)}.bind(this),function(n){d.reject(n)});
return d}if(f.frameWorkDsId){b&&(b=this._tryGetLayerInfo(b))&&(g=b.getPopupInfo());b=null;f=(this.appConfig.dataSource&&this.appConfig.dataSource.dataSources)[f.frameWorkDsId];if("Features"===f.type)return b=w.clone(f.dataSchema),e.addAliasForLayerDefinition(b,g),d.resolve(b),d;if("FeatureStatistics"===f.type)return b={type:"Table",fields:[]},f=w.clone(f.dataSchema),b.fields=f.fields,f.groupByFields&&f.groupByFields[0]&&(b.groupByFields=w.clone(f.groupByFields)),e.addAliasForLayerDefinition(b,g),
d.resolve(b),d}},_getDataSourceType:function(f){if(f){if(f.layerId)return"CLIENT_FEATURES";if(f.frameWorkDsId&&(f=(f=e.getDsTypeInfoMeta(f.frameWorkDsId,this.appConfig))&&f.dsMeta)){if("Features"===f.type)return"FRAMEWORK_FEATURES";if("FeatureStatistics"===f.type)return"FRAMEWORK_STATISTICS"}}},_getServiceDefinitionByLayerInfo:function(f){var b=new r;f.getServiceDefinition().then(w.hitch(this,function(d){d?b.resolve(d):f.getLayerObject().then(function(g){g?(g=a.getFeatureLayerDefinition(g),b.resolve(g)):
b.resolve(null)},function(g){b.reject(g)})}));return b},getFeaturesByDataSource:function(f){var b=new r,d=null;if("DATA_SOURCE_FEATURE_LAYER_FROM_MAP"===f.dataSourceType){f=f.layerId;if(!f)return b.resolve(),b;this._getFeaturesForMapDS(f).then(function(g){d=g.features;b.resolve(d)},function(g){b.reject(g)})}else{f=f.frameWorkDsId;if(!f)return b.resolve(),b;this.getFeaturesForFrameDS(f).then(function(g){d=g.features;b.resolve(d)},function(g){b.reject(g)})}return b},_cutFeaturesForSetting:function(f){f&&
1E3<f.length&&(f=f.slice(0,1E3));return f},_getFeaturesForMapDS:function(f){var b=new r,d=this._tryGetLayerInfo(f);if(!d)return b.reject("Can not get layerInfo by the layer id of this data source."),b;f=d.getUrl();var g=d.getFilter();if(!f)return console.warn("Invalid layer url of data source, use client features."),d.getLayerObject().then(function(n){b.resolve({features:n.graphics})}),b;d=new k;d.outSpatialReference=this.map.spatialReference;d.where=g||"1\x3d1";d.outFields=["*"];d.returnGeometry=
!1;return(new l(f)).execute(d)},getFeaturesForFrameDS:function(f){var b=new r;if(this.cacheData[f])return b.resolve(this.cacheData[f]),b;if("widget"===e.parseDataSourceId(f).from)return b.resolve({}),b;var d=this.dataSourceManager.getDataSourceConfig(f);d=w.clone(d);if(!d)return b.reject("Can not get vaild data source config by the frameWorkDsId of this data source."),b;d.filterByExtent=!1;this.dataSourceManager.doQuery(d).then(function(g){this.cacheData[f]=g;b.resolve(g)}.bind(this),function(g){b.reject(g)});
return b}})})},"widgets/Infographic/setting/_build-generate_module":function(){define(["dojo/text!./Setting.html","dojo/text!./css/style.css","dojo/i18n!./nls/strings"],function(){})},"url:widgets/Infographic/setting/templates.json":'[{\r\n  "label": "${name_number}",\r\n  "name": "number",\r\n  "config": {\r\n    "layout": {\r\n      "definition": [{\r\n        "type": "column",\r\n        "isClosable": true,\r\n        "reorderEnabled": true,\r\n        "title": "",\r\n        "content": [{\r\n          "type": "stack",\r\n          "isClosable": true,\r\n          "reorderEnabled": true,\r\n          "title": "",\r\n          "height": 22.02797202797203,\r\n          "activeItemIndex": 0,\r\n          "content": [{\r\n            "type": "component",\r\n            "isClosable": true,\r\n            "componentName": "jimu grid",\r\n            "componentState": {\r\n              "id": "1"\r\n            },\r\n            "reorderEnabled": true,\r\n            "title": "jimu grid",\r\n            "id": "1"\r\n          }]\r\n        }, {\r\n          "type": "stack",\r\n          "isClosable": true,\r\n          "reorderEnabled": true,\r\n          "title": "",\r\n          "height": 24.578620260650577,\r\n          "activeItemIndex": 0,\r\n          "content": [{\r\n            "type": "component",\r\n            "isClosable": true,\r\n            "componentName": "jimu grid",\r\n            "componentState": {\r\n              "id": "2"\r\n            },\r\n            "reorderEnabled": true,\r\n            "title": "jimu grid",\r\n            "id": "2"\r\n          }]\r\n        }, {\r\n          "type": "stack",\r\n          "isClosable": true,\r\n          "reorderEnabled": true,\r\n          "title": "",\r\n          "height": 26.345431436534902,\r\n          "activeItemIndex": 0,\r\n          "content": [{\r\n            "type": "component",\r\n            "isClosable": true,\r\n            "componentName": "jimu grid",\r\n            "componentState": {\r\n              "id": "3"\r\n            },\r\n            "reorderEnabled": true,\r\n            "title": "jimu grid",\r\n            "id": "3"\r\n          }]\r\n        }, {\r\n          "type": "stack",\r\n          "isClosable": true,\r\n          "reorderEnabled": true,\r\n          "title": "",\r\n          "height": 27.0479762748425,\r\n          "activeItemIndex": 0,\r\n          "content": [{\r\n            "type": "component",\r\n            "isClosable": true,\r\n            "componentName": "jimu grid",\r\n            "componentState": {\r\n              "id": "4"\r\n            },\r\n            "reorderEnabled": true,\r\n            "title": "jimu grid",\r\n            "id": "4"\r\n          }]\r\n        }]\r\n      }]\r\n    },\r\n    "dijits": [{\r\n      "id": "1",\r\n      "type": "text",\r\n      "visible": true,\r\n      "config": {\r\n        "background": {\r\n          "backgroundColor": "",\r\n          "alignment": {\r\n            "horizontal": "center",\r\n            "vertical": "middle"\r\n          },\r\n          "link": ""\r\n        },\r\n        "font": {\r\n          "font": {\r\n            "fontFamily": "Arial",\r\n            "bold": false,\r\n            "italic": false,\r\n            "underline": false\r\n          },\r\n          "fontSize": 16,\r\n          "textColor": ""\r\n        },\r\n        "text": "${titleOfTheInfographic}"\r\n      }\r\n    }, {\r\n      "id": "2",\r\n      "type": "image",\r\n      "visible": true,\r\n      "config": {\r\n        "background": {\r\n          "backgroundColor": "",\r\n          "alignment": {\r\n            "horizontal": "center",\r\n            "vertical": "middle"\r\n          },\r\n          "link": ""\r\n        }\r\n      }\r\n    }, {\r\n      "id": "3",\r\n      "type": "number",\r\n      "visible": true,\r\n      "config": {\r\n        "indicators": [],\r\n        "background": {\r\n          "backgroundColor": "",\r\n          "alignment": {\r\n            "horizontal": "center",\r\n            "vertical": "middle"\r\n          },\r\n          "link": ""\r\n        },\r\n        "font": {\r\n          "font": {\r\n            "fontFamily": "Arial",\r\n            "bold": false,\r\n            "italic": false,\r\n            "underline": false\r\n          },\r\n          "fontSize": "36",\r\n          "textColor": "#59bad8"\r\n        },\r\n        "dataFormat": {\r\n          "unit": "none",\r\n          "decimalPlaces": "0",\r\n          "prefix": "",\r\n          "suffix": ""\r\n        },\r\n        "statistics": [{\r\n          "type": "value",\r\n          "config": {\r\n            "type": "stat",\r\n            "value": {\r\n              "type": "count"\r\n            }\r\n          }\r\n        }]\r\n      }\r\n    }, {\r\n      "id": "4",\r\n      "type": "text",\r\n      "visible": true,\r\n      "config": {\r\n        "background": {\r\n          "backgroundColor": "",\r\n          "alignment": {\r\n            "horizontal": "center",\r\n            "vertical": "middle"\r\n          },\r\n          "link": ""\r\n        },\r\n        "font": {\r\n          "font": {\r\n            "fontFamily": "Arial",\r\n            "bold": false,\r\n            "italic": false,\r\n            "underline": false\r\n          },\r\n          "fontSize": 12,\r\n          "textColor": ""\r\n        },\r\n        "text": "${description}"\r\n      }\r\n    }]\r\n  }\r\n}, {\r\n  "label": "${name_gauge}",\r\n  "name": "gauge",\r\n  "config": {\r\n    "layout": {\r\n      "definition": [{\r\n        "type": "column",\r\n        "isClosable": true,\r\n        "reorderEnabled": true,\r\n        "title": "",\r\n        "content": [{\r\n          "type": "stack",\r\n          "isClosable": true,\r\n          "reorderEnabled": true,\r\n          "title": "",\r\n          "height": 16.724032499803975,\r\n          "activeItemIndex": 0,\r\n          "content": [{\r\n            "type": "component",\r\n            "isClosable": true,\r\n            "componentName": "jimu grid",\r\n            "componentState": {\r\n              "id": "1"\r\n            },\r\n            "reorderEnabled": true,\r\n            "title": "jimu grid",\r\n            "id": "1"\r\n          }]\r\n        }, {\r\n          "type": "stack",\r\n          "isClosable": true,\r\n          "reorderEnabled": true,\r\n          "title": "",\r\n          "height": 60.88243002115173,\r\n          "activeItemIndex": 0,\r\n          "content": [{\r\n            "type": "component",\r\n            "isClosable": true,\r\n            "componentName": "jimu grid",\r\n            "componentState": {\r\n              "id": "2"\r\n            },\r\n            "reorderEnabled": true,\r\n            "title": "jimu grid",\r\n            "id": "2"\r\n          }]\r\n        }, {\r\n          "type": "stack",\r\n          "isClosable": true,\r\n          "reorderEnabled": true,\r\n          "title": "",\r\n          "height": 22.39353747904432,\r\n          "activeItemIndex": 0,\r\n          "content": [{\r\n            "type": "component",\r\n            "isClosable": true,\r\n            "componentName": "jimu grid",\r\n            "componentState": {\r\n              "id": "3"\r\n            },\r\n            "reorderEnabled": true,\r\n            "title": "jimu grid",\r\n            "id": "3"\r\n          }]\r\n        }]\r\n      }]\r\n    },\r\n    "dijits": [{\r\n      "id": "1",\r\n      "type": "text",\r\n      "visible": true,\r\n      "config": {\r\n        "background": {\r\n          "backgroundColor": "",\r\n          "alignment": {\r\n            "horizontal": "center",\r\n            "vertical": "middle"\r\n          },\r\n          "link": ""\r\n        },\r\n        "font": {\r\n          "font": {\r\n            "fontFamily": "Arial",\r\n            "bold": false,\r\n            "italic": false,\r\n            "underline": false\r\n          },\r\n          "fontSize": 16,\r\n          "textColor": ""\r\n        },\r\n        "text": "${titleOfTheInfographic}"\r\n      }\r\n    }, {\r\n      "id": "2",\r\n      "type": "gauge",\r\n      "visible": true,\r\n      "config": {\r\n        "shape": "curved",\r\n        "indicators": [],\r\n        "display": {\r\n          "backgroundColor": "",\r\n          "gaugeColor": "",\r\n          "dataLabels": {\r\n            "state": true,\r\n            "textColor": "",\r\n            "dataRange": true,\r\n            "targetValue": true\r\n          },\r\n          "currentValue": {\r\n            "state": true,\r\n            "isRatio": false,\r\n            "font": {\r\n              "font": {\r\n                "fontFamily": "Arial",\r\n                "bold": false,\r\n                "italic": false,\r\n                "underline": false\r\n              },\r\n              "fontSize": "24",\r\n              "textColor": "#59bad8"\r\n            },\r\n            "dataFormat": {\r\n              "unit": "none",\r\n              "decimalPlaces": "",\r\n              "prefix": "",\r\n              "suffix": ""\r\n            }\r\n          }\r\n        },\r\n        "statistics": [{\r\n          "type": "value",\r\n          "config": {\r\n            "type": "stat",\r\n            "value": {\r\n              "type": "count"\r\n            }\r\n          }\r\n        }, {\r\n          "type": "range",\r\n          "name": "range1",\r\n          "config": {\r\n            "type": "fixed",\r\n            "value": 0\r\n          }\r\n        }, {\r\n          "type": "range",\r\n          "name": "range2",\r\n          "config": {\r\n            "type": "fixed",\r\n            "value": 1000\r\n          }\r\n        }]\r\n      }\r\n    }, {\r\n      "id": "3",\r\n      "type": "text",\r\n      "visible": true,\r\n      "config": {\r\n        "background": {\r\n          "backgroundColor": "",\r\n          "alignment": {\r\n            "horizontal": "center",\r\n            "vertical": "top"\r\n          },\r\n          "link": ""\r\n        },\r\n        "font": {\r\n          "font": {\r\n            "fontFamily": "Arial",\r\n            "bold": false,\r\n            "italic": false,\r\n            "underline": false\r\n          },\r\n          "fontSize": 12,\r\n          "textColor": ""\r\n        },\r\n        "text": "${description}"\r\n      }\r\n    }]\r\n  }\r\n}, {\r\n  "label": "${name_vertical_gauge}",\r\n  "name": "vertical_gauge",\r\n  "config": {\r\n    "layout": {\r\n      "definition": [{\r\n        "type": "row",\r\n        "isClosable": true,\r\n        "reorderEnabled": true,\r\n        "title": "",\r\n        "height": 100.00000000000003,\r\n        "content": [{\r\n          "type": "stack",\r\n          "isClosable": true,\r\n          "reorderEnabled": true,\r\n          "title": "",\r\n          "height": 68.52582283467787,\r\n          "activeItemIndex": 0,\r\n          "width": 42.47787610619469,\r\n          "content": [{\r\n            "type": "component",\r\n            "isClosable": true,\r\n            "componentName": "jimu grid",\r\n            "componentState": {\r\n              "id": "2"\r\n            },\r\n            "reorderEnabled": true,\r\n            "title": "jimu grid",\r\n            "id": "2"\r\n          }]\r\n        }, {\r\n          "type": "column",\r\n          "isClosable": true,\r\n          "reorderEnabled": true,\r\n          "title": "",\r\n          "width": 57.52212389380531,\r\n          "content": [{\r\n            "type": "stack",\r\n            "isClosable": true,\r\n            "reorderEnabled": true,\r\n            "title": "",\r\n            "activeItemIndex": 0,\r\n            "width": 50,\r\n            "height": 43.90243902439025,\r\n            "content": [{\r\n              "type": "component",\r\n              "isClosable": true,\r\n              "componentName": "jimu grid",\r\n              "componentState": {\r\n                "id": "1"\r\n              },\r\n              "reorderEnabled": true,\r\n              "title": "jimu grid",\r\n              "id": "1"\r\n            }]\r\n          }, {\r\n            "type": "stack",\r\n            "isClosable": true,\r\n            "reorderEnabled": true,\r\n            "title": "",\r\n            "activeItemIndex": 0,\r\n            "height": 56.09756097560976,\r\n            "content": [{\r\n              "type": "component",\r\n              "isClosable": true,\r\n              "componentName": "jimu grid",\r\n              "componentState": {\r\n                "id": "3"\r\n              },\r\n              "reorderEnabled": true,\r\n              "title": "jimu grid",\r\n              "id": "3"\r\n            }]\r\n          }]\r\n        }]\r\n      }]\r\n    },\r\n    "dijits": [{\r\n      "id": "1",\r\n      "type": "text",\r\n      "visible": true,\r\n      "config": {\r\n        "background": {\r\n          "backgroundColor": "",\r\n          "alignment": {\r\n            "horizontal": "center",\r\n            "vertical": "middle"\r\n          },\r\n          "link": ""\r\n        },\r\n        "font": {\r\n          "font": {\r\n            "fontFamily": "Arial",\r\n            "bold": false,\r\n            "italic": false,\r\n            "underline": false\r\n          },\r\n          "fontSize": 16,\r\n          "textColor": ""\r\n        },\r\n        "text": "${titleOfTheInfographic}"\r\n      }\r\n    }, {\r\n      "id": "2",\r\n      "type": "gauge",\r\n      "visible": true,\r\n      "config": {\r\n        "shape": "vertical",\r\n        "indicators": [],\r\n        "display": {\r\n          "backgroundColor": "",\r\n          "gaugeColor": "",\r\n          "dataLabels": {\r\n            "state": true,\r\n            "textColor": "",\r\n            "dataRange": true,\r\n            "targetValue": true\r\n          },\r\n          "currentValue": {\r\n            "state": true,\r\n            "isRatio": false,\r\n            "font": {\r\n              "font": {\r\n                "fontFamily": "Arial",\r\n                "bold": false,\r\n                "italic": false,\r\n                "underline": false\r\n              },\r\n              "fontSize": "12",\r\n              "textColor": "#59bad8"\r\n            },\r\n            "dataFormat": {\r\n              "unit": "none",\r\n              "decimalPlaces": "0",\r\n              "prefix": "",\r\n              "suffix": ""\r\n            }\r\n          }\r\n        },\r\n        "statistics": [{\r\n          "type": "value",\r\n          "config": {\r\n            "type": "stat",\r\n            "value": {\r\n              "type": "count"\r\n            }\r\n          }\r\n        }, {\r\n          "type": "range",\r\n          "name": "range1",\r\n          "config": {\r\n            "type": "fixed",\r\n            "value": 0\r\n          }\r\n        }, {\r\n          "type": "range",\r\n          "name": "range2",\r\n          "config": {\r\n            "type": "fixed",\r\n            "value": 1000\r\n          }\r\n        }]\r\n      }\r\n    }, {\r\n      "id": "3",\r\n      "type": "text",\r\n      "visible": true,\r\n      "config": {\r\n        "background": {\r\n          "backgroundColor": "",\r\n          "alignment": {\r\n            "horizontal": "center",\r\n            "vertical": "top"\r\n          },\r\n          "link": ""\r\n        },\r\n        "font": {\r\n          "font": {\r\n            "fontFamily": "Arial",\r\n            "bold": false,\r\n            "italic": false,\r\n            "underline": false\r\n          },\r\n          "fontSize": 12,\r\n          "textColor": ""\r\n        },\r\n        "text": "${description}"\r\n      }\r\n    }]\r\n  }\r\n}, {\r\n  "label": "${name_horizontal_gauge}",\r\n  "name": "horizontal_gauge",\r\n  "config": {\r\n    "layout": {\r\n      "definition": [{\r\n        "type": "column",\r\n        "isClosable": true,\r\n        "reorderEnabled": true,\r\n        "title": "",\r\n        "width": 100,\r\n        "content": [{\r\n          "type": "stack",\r\n          "isClosable": true,\r\n          "reorderEnabled": true,\r\n          "title": "",\r\n          "activeItemIndex": 0,\r\n          "height": 21.664847492571706,\r\n          "content": [{\r\n            "type": "component",\r\n            "isClosable": true,\r\n            "componentName": "jimu grid",\r\n            "componentState": {\r\n              "id": "1"\r\n            },\r\n            "reorderEnabled": true,\r\n            "title": "jimu grid",\r\n            "id": "1"\r\n          }]\r\n        }, {\r\n          "type": "stack",\r\n          "isClosable": true,\r\n          "reorderEnabled": true,\r\n          "title": "",\r\n          "activeItemIndex": 0,\r\n          "height": 49.61948941847068,\r\n          "content": [{\r\n            "type": "component",\r\n            "isClosable": true,\r\n            "componentName": "jimu grid",\r\n            "componentState": {\r\n              "id": "2"\r\n            },\r\n            "reorderEnabled": true,\r\n            "title": "jimu grid",\r\n            "id": "2"\r\n          }]\r\n        }, {\r\n          "type": "stack",\r\n          "isClosable": true,\r\n          "reorderEnabled": true,\r\n          "title": "",\r\n          "activeItemIndex": 0,\r\n          "height": 28.715663088957616,\r\n          "width": 59.15915915915916,\r\n          "content": [{\r\n            "type": "component",\r\n            "isClosable": true,\r\n            "componentName": "jimu grid",\r\n            "componentState": {\r\n              "id": "3"\r\n            },\r\n            "reorderEnabled": true,\r\n            "title": "jimu grid",\r\n            "id": "3"\r\n          }]\r\n        }]\r\n      }]\r\n    },\r\n    "dijits": [{\r\n      "id": "1",\r\n      "type": "text",\r\n      "visible": true,\r\n      "config": {\r\n        "background": {\r\n          "backgroundColor": "",\r\n          "alignment": {\r\n            "horizontal": "center",\r\n            "vertical": "middle"\r\n          },\r\n          "link": ""\r\n        },\r\n        "font": {\r\n          "font": {\r\n            "fontFamily": "Arial",\r\n            "bold": false,\r\n            "italic": false,\r\n            "underline": false\r\n          },\r\n          "fontSize": 16,\r\n          "textColor": ""\r\n        },\r\n        "text": "${titleOfTheInfographic}"\r\n      }\r\n    }, {\r\n      "id": "2",\r\n      "type": "gauge",\r\n      "visible": true,\r\n      "config": {\r\n        "shape": "horizontal",\r\n        "indicators": [],\r\n        "display": {\r\n          "backgroundColor": "",\r\n          "gaugeColor": "",\r\n          "dataLabels": {\r\n            "state": true,\r\n            "textColor": "",\r\n            "dataRange": true,\r\n            "targetValue": true\r\n          },\r\n          "currentValue": {\r\n            "state": true,\r\n            "isRatio": false,\r\n            "font": {\r\n              "font": {\r\n                "fontFamily": "Arial",\r\n                "bold": false,\r\n                "italic": false,\r\n                "underline": false\r\n              },\r\n              "fontSize": "12",\r\n              "textColor": "#59bad8"\r\n            },\r\n            "dataFormat": {\r\n              "unit": "none",\r\n              "decimalPlaces": "0",\r\n              "prefix": "",\r\n              "suffix": ""\r\n            }\r\n          }\r\n        },\r\n        "statistics": [{\r\n          "type": "value",\r\n          "config": {\r\n            "type": "stat",\r\n            "value": {\r\n              "type": "count"\r\n            }\r\n          }\r\n        }, {\r\n          "type": "range",\r\n          "name": "range1",\r\n          "config": {\r\n            "type": "fixed",\r\n            "value": 0\r\n          }\r\n        }, {\r\n          "type": "range",\r\n          "name": "range2",\r\n          "config": {\r\n            "type": "fixed",\r\n            "value": 1000\r\n          }\r\n        }]\r\n      }\r\n    }, {\r\n      "id": "3",\r\n      "type": "text",\r\n      "visible": true,\r\n      "config": {\r\n        "background": {\r\n          "backgroundColor": "",\r\n          "alignment": {\r\n            "horizontal": "center",\r\n            "vertical": "top"\r\n          },\r\n          "link": ""\r\n        },\r\n        "font": {\r\n          "font": {\r\n            "fontFamily": "Arial",\r\n            "bold": false,\r\n            "italic": false,\r\n            "underline": false\r\n          },\r\n          "fontSize": 12,\r\n          "textColor": ""\r\n        },\r\n        "text": "${description}"\r\n      }\r\n    }]\r\n  }\r\n}, {\r\n  "label": "${name_pie}",\r\n  "name": "pie",\r\n  "config": {\r\n    "layout": {\r\n      "definition": [{\r\n        "type": "column",\r\n        "isClosable": true,\r\n        "reorderEnabled": true,\r\n        "title": "",\r\n        "width": 100,\r\n        "content": [{\r\n          "type": "stack",\r\n          "isClosable": true,\r\n          "reorderEnabled": true,\r\n          "title": "",\r\n          "activeItemIndex": 0,\r\n          "height": 16.782608695652176,\r\n          "content": [{\r\n            "type": "component",\r\n            "isClosable": true,\r\n            "componentName": "jimu grid",\r\n            "componentState": {\r\n              "id": "1"\r\n            },\r\n            "reorderEnabled": true,\r\n            "title": "jimu grid",\r\n            "id": "1"\r\n          }]\r\n        }, {\r\n          "type": "stack",\r\n          "isClosable": true,\r\n          "reorderEnabled": true,\r\n          "title": "",\r\n          "activeItemIndex": 0,\r\n          "height": 60.839605407380354,\r\n          "content": [{\r\n            "type": "component",\r\n            "isClosable": true,\r\n            "componentName": "jimu grid",\r\n            "componentState": {\r\n              "id": "2"\r\n            },\r\n            "reorderEnabled": true,\r\n            "title": "jimu grid",\r\n            "id": "2"\r\n          }]\r\n        }, {\r\n          "type": "stack",\r\n          "isClosable": true,\r\n          "reorderEnabled": true,\r\n          "title": "",\r\n          "activeItemIndex": 0,\r\n          "height": 22.37778589696749,\r\n          "width": 59.15915915915916,\r\n          "content": [{\r\n            "type": "component",\r\n            "isClosable": true,\r\n            "componentName": "jimu grid",\r\n            "componentState": {\r\n              "id": "3"\r\n            },\r\n            "reorderEnabled": true,\r\n            "title": "jimu grid",\r\n            "id": "3"\r\n          }]\r\n        }]\r\n      }]\r\n    },\r\n    "dijits": [{\r\n      "id": "1",\r\n      "type": "text",\r\n      "visible": true,\r\n      "config": {\r\n        "background": {\r\n          "backgroundColor": "",\r\n          "alignment": {\r\n            "horizontal": "center",\r\n            "vertical": "middle"\r\n          },\r\n          "link": ""\r\n        },\r\n        "font": {\r\n          "font": {\r\n            "fontFamily": "Arial",\r\n            "bold": false,\r\n            "italic": false,\r\n            "underline": false\r\n          },\r\n          "fontSize": 16,\r\n          "textColor": ""\r\n        },\r\n        "text": "${titleOfTheInfographic}"\r\n      }\r\n    }, {\r\n      "id": "2",\r\n      "type": "chart",\r\n      "visible": true,\r\n      "config": {\r\n        "data": {\r\n          "type": "pie",\r\n          "maxLabels": 100\r\n        },\r\n        "display": {\r\n          "backgroundColor": "",\r\n          "legend": {\r\n            "show": false,\r\n            "textStyle": {\r\n              "color": ""\r\n            }\r\n          },\r\n          "dataLabel": {\r\n            "show": false,\r\n            "textStyle": {\r\n              "color": ""\r\n            }\r\n          },\r\n          "innerRadius": 0\r\n        }\r\n      }\r\n    }, {\r\n      "id": "3",\r\n      "type": "text",\r\n      "visible": true,\r\n      "config": {\r\n        "background": {\r\n          "backgroundColor": "",\r\n          "alignment": {\r\n            "horizontal": "center",\r\n            "vertical": "top"\r\n          },\r\n          "link": ""\r\n        },\r\n        "font": {\r\n          "font": {\r\n            "fontFamily": "Arial",\r\n            "bold": false,\r\n            "italic": false,\r\n            "underline": false\r\n          },\r\n          "fontSize": 12,\r\n          "textColor": ""\r\n        },\r\n        "text": "${description}"\r\n      }\r\n    }]\r\n  }\r\n}, {\r\n  "label": "${name_donut}",\r\n  "name": "donut",\r\n  "config": {\r\n    "layout": {\r\n      "definition": [{\r\n        "type": "column",\r\n        "isClosable": true,\r\n        "reorderEnabled": true,\r\n        "title": "",\r\n        "width": 100,\r\n        "content": [{\r\n          "type": "stack",\r\n          "isClosable": true,\r\n          "reorderEnabled": true,\r\n          "title": "",\r\n          "activeItemIndex": 0,\r\n          "height": 16.782608695652176,\r\n          "content": [{\r\n            "type": "component",\r\n            "isClosable": true,\r\n            "componentName": "jimu grid",\r\n            "componentState": {\r\n              "id": "1"\r\n            },\r\n            "reorderEnabled": true,\r\n            "title": "jimu grid",\r\n            "id": "1"\r\n          }]\r\n        }, {\r\n          "type": "stack",\r\n          "isClosable": true,\r\n          "reorderEnabled": true,\r\n          "title": "",\r\n          "activeItemIndex": 0,\r\n          "height": 60.839605407380354,\r\n          "content": [{\r\n            "type": "component",\r\n            "isClosable": true,\r\n            "componentName": "jimu grid",\r\n            "componentState": {\r\n              "id": "2"\r\n            },\r\n            "reorderEnabled": true,\r\n            "title": "jimu grid",\r\n            "id": "2"\r\n          }]\r\n        }, {\r\n          "type": "stack",\r\n          "isClosable": true,\r\n          "reorderEnabled": true,\r\n          "title": "",\r\n          "activeItemIndex": 0,\r\n          "height": 22.37778589696749,\r\n          "width": 59.15915915915916,\r\n          "content": [{\r\n            "type": "component",\r\n            "isClosable": true,\r\n            "componentName": "jimu grid",\r\n            "componentState": {\r\n              "id": "3"\r\n            },\r\n            "reorderEnabled": true,\r\n            "title": "jimu grid",\r\n            "id": "3"\r\n          }]\r\n        }]\r\n      }]\r\n    },\r\n    "dijits": [{\r\n      "id": "1",\r\n      "type": "text",\r\n      "visible": true,\r\n      "config": {\r\n        "background": {\r\n          "backgroundColor": "",\r\n          "alignment": {\r\n            "horizontal": "center",\r\n            "vertical": "middle"\r\n          },\r\n          "link": ""\r\n        },\r\n        "font": {\r\n          "font": {\r\n            "fontFamily": "Arial",\r\n            "bold": false,\r\n            "italic": false,\r\n            "underline": false\r\n          },\r\n          "fontSize": 16,\r\n          "textColor": ""\r\n        },\r\n        "text": "${titleOfTheInfographic}"\r\n      }\r\n    }, {\r\n      "id": "2",\r\n      "type": "chart",\r\n      "visible": true,\r\n      "config": {\r\n        "data": {\r\n          "type": "pie",\r\n          "maxLabels": 100\r\n        },\r\n        "display": {\r\n          "backgroundColor": "",\r\n          "legend": {\r\n            "show": false,\r\n            "textStyle": {\r\n              "color": ""\r\n            }\r\n          },\r\n          "dataLabel": {\r\n            "show": false,\r\n            "textStyle": {\r\n              "color": ""\r\n            }\r\n          },\r\n          "innerRadius": 45\r\n        }\r\n      }\r\n    }, {\r\n      "id": "3",\r\n      "type": "text",\r\n      "visible": true,\r\n      "config": {\r\n        "background": {\r\n          "backgroundColor": "",\r\n          "alignment": {\r\n            "horizontal": "center",\r\n            "vertical": "top"\r\n          },\r\n          "link": ""\r\n        },\r\n        "font": {\r\n          "font": {\r\n            "fontFamily": "Arial",\r\n            "bold": false,\r\n            "italic": false,\r\n            "underline": false\r\n          },\r\n          "fontSize": 12,\r\n          "textColor": ""\r\n        },\r\n        "text": "${description}"\r\n      }\r\n    }]\r\n  }\r\n}, {\r\n  "label": "${name_bar}",\r\n  "name": "bar",\r\n  "config": {\r\n    "layout": {\r\n      "definition": [{\r\n        "type": "column",\r\n        "isClosable": true,\r\n        "reorderEnabled": true,\r\n        "title": "",\r\n        "width": 100,\r\n        "content": [{\r\n          "type": "stack",\r\n          "isClosable": true,\r\n          "reorderEnabled": true,\r\n          "title": "",\r\n          "activeItemIndex": 0,\r\n          "height": 15.034420289855072,\r\n          "content": [{\r\n            "type": "component",\r\n            "isClosable": true,\r\n            "componentName": "jimu grid",\r\n            "componentState": {\r\n              "id": "1"\r\n            },\r\n            "reorderEnabled": true,\r\n            "title": "jimu grid",\r\n            "id": "1"\r\n          }]\r\n        }, {\r\n          "type": "stack",\r\n          "isClosable": true,\r\n          "reorderEnabled": true,\r\n          "title": "",\r\n          "activeItemIndex": 0,\r\n          "height": 62.93746645195921,\r\n          "content": [{\r\n            "type": "component",\r\n            "isClosable": true,\r\n            "componentName": "jimu grid",\r\n            "componentState": {\r\n              "id": "2"\r\n            },\r\n            "reorderEnabled": true,\r\n            "title": "jimu grid",\r\n            "id": "2"\r\n          }]\r\n        }, {\r\n          "type": "stack",\r\n          "isClosable": true,\r\n          "reorderEnabled": true,\r\n          "title": "",\r\n          "activeItemIndex": 0,\r\n          "height": 22.028113258185726,\r\n          "width": 59.15915915915916,\r\n          "content": [{\r\n            "type": "component",\r\n            "isClosable": true,\r\n            "componentName": "jimu grid",\r\n            "componentState": {\r\n              "id": "3"\r\n            },\r\n            "reorderEnabled": true,\r\n            "title": "jimu grid",\r\n            "id": "3"\r\n          }]\r\n        }]\r\n      }]\r\n    },\r\n    "dijits": [{\r\n      "id": "1",\r\n      "type": "text",\r\n      "visible": true,\r\n      "config": {\r\n        "background": {\r\n          "backgroundColor": "",\r\n          "alignment": {\r\n            "horizontal": "center",\r\n            "vertical": "middle"\r\n          },\r\n          "link": ""\r\n        },\r\n        "font": {\r\n          "font": {\r\n            "fontFamily": "Arial",\r\n            "bold": false,\r\n            "italic": false,\r\n            "underline": false\r\n          },\r\n          "fontSize": 16,\r\n          "textColor": ""\r\n        },\r\n        "text": "${titleOfTheInfographic}"\r\n      }\r\n    }, {\r\n      "id": "2",\r\n      "type": "chart",\r\n      "visible": true,\r\n      "config": {\r\n        "data": {\r\n          "type": "bar"\r\n        },\r\n        "display": {\r\n          "backgroundColor": "",\r\n          "legend": {\r\n            "show": false,\r\n            "textStyle": {\r\n              "color": ""\r\n            }\r\n          },\r\n          "xAxis": {\r\n            "show": true,\r\n            "textStyle": {\r\n              "color": ""\r\n            },\r\n            "nameTextStyle": {\r\n              "color": ""\r\n            },\r\n            "format": {\r\n              "type": "float",\r\n              "digitSeparator": true\r\n            }\r\n          },\r\n          "yAxis": {\r\n            "show": true,\r\n            "textStyle": {\r\n              "color": ""\r\n            },\r\n            "nameTextStyle": {\r\n              "color": ""\r\n            },\r\n            "format": {}\r\n          }\r\n        }\r\n      }\r\n    }, {\r\n      "id": "3",\r\n      "type": "text",\r\n      "visible": true,\r\n      "config": {\r\n        "background": {\r\n          "backgroundColor": "",\r\n          "alignment": {\r\n            "horizontal": "center",\r\n            "vertical": "top"\r\n          },\r\n          "link": ""\r\n        },\r\n        "font": {\r\n          "font": {\r\n            "fontFamily": "Arial",\r\n            "bold": false,\r\n            "italic": false,\r\n            "underline": false\r\n          },\r\n          "fontSize": 12,\r\n          "textColor": ""\r\n        },\r\n        "text": "${description}"\r\n      }\r\n    }]\r\n  }\r\n}, {\r\n  "label": "${name_stacked_bar}",\r\n  "name": "stacked_bar",\r\n  "config": {\r\n    "layout": {\r\n      "definition": [{\r\n        "type": "column",\r\n        "isClosable": true,\r\n        "reorderEnabled": true,\r\n        "title": "",\r\n        "width": 100,\r\n        "content": [{\r\n          "type": "stack",\r\n          "isClosable": true,\r\n          "reorderEnabled": true,\r\n          "title": "",\r\n          "activeItemIndex": 0,\r\n          "height": 15.034420289855072,\r\n          "content": [{\r\n            "type": "component",\r\n            "isClosable": true,\r\n            "componentName": "jimu grid",\r\n            "componentState": {\r\n              "id": "1"\r\n            },\r\n            "reorderEnabled": true,\r\n            "title": "jimu grid",\r\n            "id": "1"\r\n          }]\r\n        }, {\r\n          "type": "stack",\r\n          "isClosable": true,\r\n          "reorderEnabled": true,\r\n          "title": "",\r\n          "activeItemIndex": 0,\r\n          "height": 62.93746645195921,\r\n          "content": [{\r\n            "type": "component",\r\n            "isClosable": true,\r\n            "componentName": "jimu grid",\r\n            "componentState": {\r\n              "id": "2"\r\n            },\r\n            "reorderEnabled": true,\r\n            "title": "jimu grid",\r\n            "id": "2"\r\n          }]\r\n        }, {\r\n          "type": "stack",\r\n          "isClosable": true,\r\n          "reorderEnabled": true,\r\n          "title": "",\r\n          "activeItemIndex": 0,\r\n          "height": 22.028113258185726,\r\n          "width": 59.15915915915916,\r\n          "content": [{\r\n            "type": "component",\r\n            "isClosable": true,\r\n            "componentName": "jimu grid",\r\n            "componentState": {\r\n              "id": "3"\r\n            },\r\n            "reorderEnabled": true,\r\n            "title": "jimu grid",\r\n            "id": "3"\r\n          }]\r\n        }]\r\n      }]\r\n    },\r\n    "dijits": [{\r\n      "id": "1",\r\n      "type": "text",\r\n      "visible": true,\r\n      "config": {\r\n        "background": {\r\n          "backgroundColor": "",\r\n          "alignment": {\r\n            "horizontal": "center",\r\n            "vertical": "middle"\r\n          },\r\n          "link": ""\r\n        },\r\n        "font": {\r\n          "font": {\r\n            "fontFamily": "Arial",\r\n            "bold": false,\r\n            "italic": false,\r\n            "underline": false\r\n          },\r\n          "fontSize": 16,\r\n          "textColor": ""\r\n        },\r\n        "text": "${titleOfTheInfographic}"\r\n      }\r\n    }, {\r\n      "id": "2",\r\n      "type": "chart",\r\n      "visible": true,\r\n      "config": {\r\n        "data": {\r\n          "type": "bar"\r\n        },\r\n        "display": {\r\n          "stack": "normal",\r\n          "backgroundColor": "",\r\n          "legend": {\r\n            "show": false,\r\n            "textStyle": {\r\n              "color": ""\r\n            }\r\n          },\r\n          "xAxis": {\r\n            "show": true,\r\n            "textStyle": {\r\n              "color": ""\r\n            },\r\n            "nameTextStyle": {\r\n              "color": ""\r\n            },\r\n            "format": {\r\n              "type": "float",\r\n              "digitSeparator": true\r\n            }\r\n          },\r\n          "yAxis": {\r\n            "show": true,\r\n            "textStyle": {\r\n              "color": ""\r\n            },\r\n            "nameTextStyle": {\r\n              "color": ""\r\n            },\r\n            "format": {}\r\n          }\r\n        }\r\n      }\r\n    }, {\r\n      "id": "3",\r\n      "type": "text",\r\n      "visible": true,\r\n      "config": {\r\n        "background": {\r\n          "backgroundColor": "",\r\n          "alignment": {\r\n            "horizontal": "center",\r\n            "vertical": "top"\r\n          },\r\n          "link": ""\r\n        },\r\n        "font": {\r\n          "font": {\r\n            "fontFamily": "Arial",\r\n            "bold": false,\r\n            "italic": false,\r\n            "underline": false\r\n          },\r\n          "fontSize": 12,\r\n          "textColor": ""\r\n        },\r\n        "text": "${description}"\r\n      }\r\n    }]\r\n  }\r\n}, {\r\n  "label": "${name_percentage_stacked_bar}",\r\n  "name": "percentage_stacked_bar",\r\n  "config": {\r\n    "layout": {\r\n      "definition": [{\r\n        "type": "column",\r\n        "isClosable": true,\r\n        "reorderEnabled": true,\r\n        "title": "",\r\n        "width": 100,\r\n        "content": [{\r\n          "type": "stack",\r\n          "isClosable": true,\r\n          "reorderEnabled": true,\r\n          "title": "",\r\n          "activeItemIndex": 0,\r\n          "height": 15.034420289855072,\r\n          "content": [{\r\n            "type": "component",\r\n            "isClosable": true,\r\n            "componentName": "jimu grid",\r\n            "componentState": {\r\n              "id": "1"\r\n            },\r\n            "reorderEnabled": true,\r\n            "title": "jimu grid",\r\n            "id": "1"\r\n          }]\r\n        }, {\r\n          "type": "stack",\r\n          "isClosable": true,\r\n          "reorderEnabled": true,\r\n          "title": "",\r\n          "activeItemIndex": 0,\r\n          "height": 62.93746645195921,\r\n          "content": [{\r\n            "type": "component",\r\n            "isClosable": true,\r\n            "componentName": "jimu grid",\r\n            "componentState": {\r\n              "id": "2"\r\n            },\r\n            "reorderEnabled": true,\r\n            "title": "jimu grid",\r\n            "id": "2"\r\n          }]\r\n        }, {\r\n          "type": "stack",\r\n          "isClosable": true,\r\n          "reorderEnabled": true,\r\n          "title": "",\r\n          "activeItemIndex": 0,\r\n          "height": 22.028113258185726,\r\n          "width": 59.15915915915916,\r\n          "content": [{\r\n            "type": "component",\r\n            "isClosable": true,\r\n            "componentName": "jimu grid",\r\n            "componentState": {\r\n              "id": "3"\r\n            },\r\n            "reorderEnabled": true,\r\n            "title": "jimu grid",\r\n            "id": "3"\r\n          }]\r\n        }]\r\n      }]\r\n    },\r\n    "dijits": [{\r\n      "id": "1",\r\n      "type": "text",\r\n      "visible": true,\r\n      "config": {\r\n        "background": {\r\n          "backgroundColor": "",\r\n          "alignment": {\r\n            "horizontal": "center",\r\n            "vertical": "middle"\r\n          },\r\n          "link": ""\r\n        },\r\n        "font": {\r\n          "font": {\r\n            "fontFamily": "Arial",\r\n            "bold": false,\r\n            "italic": false,\r\n            "underline": false\r\n          },\r\n          "fontSize": 16,\r\n          "textColor": ""\r\n        },\r\n        "text": "${titleOfTheInfographic}"\r\n      }\r\n    }, {\r\n      "id": "2",\r\n      "type": "chart",\r\n      "visible": true,\r\n      "config": {\r\n        "data": {\r\n          "type": "bar"\r\n        },\r\n        "display": {\r\n          "stack": "percent",\r\n          "backgroundColor": "",\r\n          "legend": {\r\n            "show": false,\r\n            "textStyle": {\r\n              "color": ""\r\n            }\r\n          },\r\n          "xAxis": {\r\n            "show": true,\r\n            "textStyle": {\r\n              "color": ""\r\n            },\r\n            "nameTextStyle": {\r\n              "color": ""\r\n            },\r\n            "format": {\r\n              "type": "float",\r\n              "digitSeparator": true\r\n            }\r\n          },\r\n          "yAxis": {\r\n            "show": true,\r\n            "textStyle": {\r\n              "color": ""\r\n            },\r\n            "nameTextStyle": {\r\n              "color": ""\r\n            },\r\n            "format": {}\r\n          }\r\n        }\r\n      }\r\n    }, {\r\n      "id": "3",\r\n      "type": "text",\r\n      "visible": true,\r\n      "config": {\r\n        "background": {\r\n          "backgroundColor": "",\r\n          "alignment": {\r\n            "horizontal": "center",\r\n            "vertical": "top"\r\n          },\r\n          "link": ""\r\n        },\r\n        "font": {\r\n          "font": {\r\n            "fontFamily": "Arial",\r\n            "bold": false,\r\n            "italic": false,\r\n            "underline": false\r\n          },\r\n          "fontSize": 12,\r\n          "textColor": ""\r\n        },\r\n        "text": "${description}"\r\n      }\r\n    }]\r\n  }\r\n}, {\r\n  "label": "${name_column}",\r\n  "name": "column",\r\n  "config": {\r\n    "layout": {\r\n      "definition": [{\r\n        "type": "column",\r\n        "isClosable": true,\r\n        "reorderEnabled": true,\r\n        "title": "",\r\n        "width": 100,\r\n        "content": [{\r\n          "type": "stack",\r\n          "isClosable": true,\r\n          "reorderEnabled": true,\r\n          "title": "",\r\n          "activeItemIndex": 0,\r\n          "height": 15.034420289855072,\r\n          "content": [{\r\n            "type": "component",\r\n            "isClosable": true,\r\n            "componentName": "jimu grid",\r\n            "componentState": {\r\n              "id": "1"\r\n            },\r\n            "reorderEnabled": true,\r\n            "title": "jimu grid",\r\n            "id": "1"\r\n          }]\r\n        }, {\r\n          "type": "stack",\r\n          "isClosable": true,\r\n          "reorderEnabled": true,\r\n          "title": "",\r\n          "activeItemIndex": 0,\r\n          "height": 62.93746645195921,\r\n          "content": [{\r\n            "type": "component",\r\n            "isClosable": true,\r\n            "componentName": "jimu grid",\r\n            "componentState": {\r\n              "id": "2"\r\n            },\r\n            "reorderEnabled": true,\r\n            "title": "jimu grid",\r\n            "id": "2"\r\n          }]\r\n        }, {\r\n          "type": "stack",\r\n          "isClosable": true,\r\n          "reorderEnabled": true,\r\n          "title": "",\r\n          "activeItemIndex": 0,\r\n          "height": 22.028113258185726,\r\n          "width": 59.15915915915916,\r\n          "content": [{\r\n            "type": "component",\r\n            "isClosable": true,\r\n            "componentName": "jimu grid",\r\n            "componentState": {\r\n              "id": "3"\r\n            },\r\n            "reorderEnabled": true,\r\n            "title": "jimu grid",\r\n            "id": "3"\r\n          }]\r\n        }]\r\n      }]\r\n    },\r\n    "dijits": [{\r\n      "id": "1",\r\n      "type": "text",\r\n      "visible": true,\r\n      "config": {\r\n        "background": {\r\n          "backgroundColor": "",\r\n          "alignment": {\r\n            "horizontal": "center",\r\n            "vertical": "middle"\r\n          },\r\n          "link": ""\r\n        },\r\n        "font": {\r\n          "font": {\r\n            "fontFamily": "Arial",\r\n            "bold": false,\r\n            "italic": false,\r\n            "underline": false\r\n          },\r\n          "fontSize": 16,\r\n          "textColor": ""\r\n        },\r\n        "text": "${titleOfTheInfographic}"\r\n      }\r\n    }, {\r\n      "id": "2",\r\n      "type": "chart",\r\n      "visible": true,\r\n      "config": {\r\n        "data": {\r\n          "type": "column"\r\n        },\r\n        "display": {\r\n          "backgroundColor": "",\r\n          "legend": {\r\n            "show": false,\r\n            "textStyle": {\r\n              "color": ""\r\n            }\r\n          },\r\n          "xAxis": {\r\n            "show": true,\r\n            "textStyle": {\r\n              "color": ""\r\n            },\r\n            "nameTextStyle": {\r\n              "color": ""\r\n            },\r\n            "format": {}\r\n          },\r\n          "yAxis": {\r\n            "show": true,\r\n            "textStyle": {\r\n              "color": ""\r\n            },\r\n            "nameTextStyle": {\r\n              "color": ""\r\n            },\r\n            "format": {\r\n              "type": "float",\r\n              "digitSeparator": true\r\n            }\r\n          }\r\n        }\r\n      }\r\n    }, {\r\n      "id": "3",\r\n      "type": "text",\r\n      "visible": true,\r\n      "config": {\r\n        "background": {\r\n          "backgroundColor": "",\r\n          "alignment": {\r\n            "horizontal": "center",\r\n            "vertical": "top"\r\n          },\r\n          "link": ""\r\n        },\r\n        "font": {\r\n          "font": {\r\n            "fontFamily": "Arial",\r\n            "bold": false,\r\n            "italic": false,\r\n            "underline": false\r\n          },\r\n          "fontSize": 12,\r\n          "textColor": ""\r\n        },\r\n        "text": "${description}"\r\n      }\r\n    }]\r\n  }\r\n}, {\r\n  "label": "${name_stacked_column}",\r\n  "name": "stacked_column",\r\n  "config": {\r\n    "layout": {\r\n      "definition": [{\r\n        "type": "column",\r\n        "isClosable": true,\r\n        "reorderEnabled": true,\r\n        "title": "",\r\n        "width": 100,\r\n        "content": [{\r\n          "type": "stack",\r\n          "isClosable": true,\r\n          "reorderEnabled": true,\r\n          "title": "",\r\n          "activeItemIndex": 0,\r\n          "height": 15.034420289855072,\r\n          "content": [{\r\n            "type": "component",\r\n            "isClosable": true,\r\n            "componentName": "jimu grid",\r\n            "componentState": {\r\n              "id": "1"\r\n            },\r\n            "reorderEnabled": true,\r\n            "title": "jimu grid",\r\n            "id": "1"\r\n          }]\r\n        }, {\r\n          "type": "stack",\r\n          "isClosable": true,\r\n          "reorderEnabled": true,\r\n          "title": "",\r\n          "activeItemIndex": 0,\r\n          "height": 62.93746645195921,\r\n          "content": [{\r\n            "type": "component",\r\n            "isClosable": true,\r\n            "componentName": "jimu grid",\r\n            "componentState": {\r\n              "id": "2"\r\n            },\r\n            "reorderEnabled": true,\r\n            "title": "jimu grid",\r\n            "id": "2"\r\n          }]\r\n        }, {\r\n          "type": "stack",\r\n          "isClosable": true,\r\n          "reorderEnabled": true,\r\n          "title": "",\r\n          "activeItemIndex": 0,\r\n          "height": 22.028113258185726,\r\n          "width": 59.15915915915916,\r\n          "content": [{\r\n            "type": "component",\r\n            "isClosable": true,\r\n            "componentName": "jimu grid",\r\n            "componentState": {\r\n              "id": "3"\r\n            },\r\n            "reorderEnabled": true,\r\n            "title": "jimu grid",\r\n            "id": "3"\r\n          }]\r\n        }]\r\n      }]\r\n    },\r\n    "dijits": [{\r\n      "id": "1",\r\n      "type": "text",\r\n      "visible": true,\r\n      "config": {\r\n        "background": {\r\n          "backgroundColor": "",\r\n          "alignment": {\r\n            "horizontal": "center",\r\n            "vertical": "middle"\r\n          },\r\n          "link": ""\r\n        },\r\n        "font": {\r\n          "font": {\r\n            "fontFamily": "Arial",\r\n            "bold": false,\r\n            "italic": false,\r\n            "underline": false\r\n          },\r\n          "fontSize": 16,\r\n          "textColor": ""\r\n        },\r\n        "text": "${titleOfTheInfographic}"\r\n      }\r\n    }, {\r\n      "id": "2",\r\n      "type": "chart",\r\n      "visible": true,\r\n      "config": {\r\n        "data": {\r\n          "type": "column"\r\n        },\r\n        "display": {\r\n          "stack": "normal",\r\n          "backgroundColor": "",\r\n          "legend": {\r\n            "show": false,\r\n            "textStyle": {\r\n              "color": ""\r\n            }\r\n          },\r\n          "xAxis": {\r\n            "show": true,\r\n            "textStyle": {\r\n              "color": ""\r\n            },\r\n            "nameTextStyle": {\r\n              "color": ""\r\n            },\r\n            "format": {}\r\n          },\r\n          "yAxis": {\r\n            "show": true,\r\n            "textStyle": {\r\n              "color": ""\r\n            },\r\n            "nameTextStyle": {\r\n              "color": ""\r\n            },\r\n            "format": {\r\n              "type": "float",\r\n              "digitSeparator": true\r\n            }\r\n          }\r\n        }\r\n      }\r\n    }, {\r\n      "id": "3",\r\n      "type": "text",\r\n      "visible": true,\r\n      "config": {\r\n        "background": {\r\n          "backgroundColor": "",\r\n          "alignment": {\r\n            "horizontal": "center",\r\n            "vertical": "top"\r\n          },\r\n          "link": ""\r\n        },\r\n        "font": {\r\n          "font": {\r\n            "fontFamily": "Arial",\r\n            "bold": false,\r\n            "italic": false,\r\n            "underline": false\r\n          },\r\n          "fontSize": 12,\r\n          "textColor": ""\r\n        },\r\n        "text": "${description}"\r\n      }\r\n    }]\r\n  }\r\n}, {\r\n  "label": "${name_percentage_stacked_column}",\r\n  "name": "percentage_stacked_column",\r\n  "config": {\r\n    "layout": {\r\n      "definition": [{\r\n        "type": "column",\r\n        "isClosable": true,\r\n        "reorderEnabled": true,\r\n        "title": "",\r\n        "width": 100,\r\n        "content": [{\r\n          "type": "stack",\r\n          "isClosable": true,\r\n          "reorderEnabled": true,\r\n          "title": "",\r\n          "activeItemIndex": 0,\r\n          "height": 15.034420289855072,\r\n          "content": [{\r\n            "type": "component",\r\n            "isClosable": true,\r\n            "componentName": "jimu grid",\r\n            "componentState": {\r\n              "id": "1"\r\n            },\r\n            "reorderEnabled": true,\r\n            "title": "jimu grid",\r\n            "id": "1"\r\n          }]\r\n        }, {\r\n          "type": "stack",\r\n          "isClosable": true,\r\n          "reorderEnabled": true,\r\n          "title": "",\r\n          "activeItemIndex": 0,\r\n          "height": 62.93746645195921,\r\n          "content": [{\r\n            "type": "component",\r\n            "isClosable": true,\r\n            "componentName": "jimu grid",\r\n            "componentState": {\r\n              "id": "2"\r\n            },\r\n            "reorderEnabled": true,\r\n            "title": "jimu grid",\r\n            "id": "2"\r\n          }]\r\n        }, {\r\n          "type": "stack",\r\n          "isClosable": true,\r\n          "reorderEnabled": true,\r\n          "title": "",\r\n          "activeItemIndex": 0,\r\n          "height": 22.028113258185726,\r\n          "width": 59.15915915915916,\r\n          "content": [{\r\n            "type": "component",\r\n            "isClosable": true,\r\n            "componentName": "jimu grid",\r\n            "componentState": {\r\n              "id": "3"\r\n            },\r\n            "reorderEnabled": true,\r\n            "title": "jimu grid",\r\n            "id": "3"\r\n          }]\r\n        }]\r\n      }]\r\n    },\r\n    "dijits": [{\r\n      "id": "1",\r\n      "type": "text",\r\n      "visible": true,\r\n      "config": {\r\n        "background": {\r\n          "backgroundColor": "",\r\n          "alignment": {\r\n            "horizontal": "center",\r\n            "vertical": "middle"\r\n          },\r\n          "link": ""\r\n        },\r\n        "font": {\r\n          "font": {\r\n            "fontFamily": "Arial",\r\n            "bold": false,\r\n            "italic": false,\r\n            "underline": false\r\n          },\r\n          "fontSize": 16,\r\n          "textColor": ""\r\n        },\r\n        "text": "${titleOfTheInfographic}"\r\n      }\r\n    }, {\r\n      "id": "2",\r\n      "type": "chart",\r\n      "visible": true,\r\n      "config": {\r\n        "data": {\r\n          "type": "column"\r\n        },\r\n        "display": {\r\n          "stack": "percent",\r\n          "backgroundColor": "",\r\n          "legend": {\r\n            "show": false,\r\n            "textStyle": {\r\n              "color": ""\r\n            }\r\n          },\r\n          "xAxis": {\r\n            "show": true,\r\n            "textStyle": {\r\n              "color": ""\r\n            },\r\n            "nameTextStyle": {\r\n              "color": ""\r\n            },\r\n            "format": {}\r\n          },\r\n          "yAxis": {\r\n            "show": true,\r\n            "textStyle": {\r\n              "color": ""\r\n            },\r\n            "nameTextStyle": {\r\n              "color": ""\r\n            },\r\n            "format": {\r\n              "type": "float",\r\n              "digitSeparator": true\r\n            }\r\n          }\r\n        }\r\n      }\r\n    }, {\r\n      "id": "3",\r\n      "type": "text",\r\n      "visible": true,\r\n      "config": {\r\n        "background": {\r\n          "backgroundColor": "",\r\n          "alignment": {\r\n            "horizontal": "center",\r\n            "vertical": "top"\r\n          },\r\n          "link": ""\r\n        },\r\n        "font": {\r\n          "font": {\r\n            "fontFamily": "Arial",\r\n            "bold": false,\r\n            "italic": false,\r\n            "underline": false\r\n          },\r\n          "fontSize": 12,\r\n          "textColor": ""\r\n        },\r\n        "text": "${description}"\r\n      }\r\n    }]\r\n  }\r\n}, {\r\n  "label": "${name_line}",\r\n  "name": "line",\r\n  "config": {\r\n    "layout": {\r\n      "definition": [{\r\n        "type": "column",\r\n        "isClosable": true,\r\n        "reorderEnabled": true,\r\n        "title": "",\r\n        "width": 100,\r\n        "content": [{\r\n          "type": "stack",\r\n          "isClosable": true,\r\n          "reorderEnabled": true,\r\n          "title": "",\r\n          "activeItemIndex": 0,\r\n          "height": 15.034420289855072,\r\n          "content": [{\r\n            "type": "component",\r\n            "isClosable": true,\r\n            "componentName": "jimu grid",\r\n            "componentState": {\r\n              "id": "1"\r\n            },\r\n            "reorderEnabled": true,\r\n            "title": "jimu grid",\r\n            "id": "1"\r\n          }]\r\n        }, {\r\n          "type": "stack",\r\n          "isClosable": true,\r\n          "reorderEnabled": true,\r\n          "title": "",\r\n          "activeItemIndex": 0,\r\n          "height": 62.93746645195921,\r\n          "content": [{\r\n            "type": "component",\r\n            "isClosable": true,\r\n            "componentName": "jimu grid",\r\n            "componentState": {\r\n              "id": "2"\r\n            },\r\n            "reorderEnabled": true,\r\n            "title": "jimu grid",\r\n            "id": "2"\r\n          }]\r\n        }, {\r\n          "type": "stack",\r\n          "isClosable": true,\r\n          "reorderEnabled": true,\r\n          "title": "",\r\n          "activeItemIndex": 0,\r\n          "height": 22.028113258185726,\r\n          "width": 59.15915915915916,\r\n          "content": [{\r\n            "type": "component",\r\n            "isClosable": true,\r\n            "componentName": "jimu grid",\r\n            "componentState": {\r\n              "id": "3"\r\n            },\r\n            "reorderEnabled": true,\r\n            "title": "jimu grid",\r\n            "id": "3"\r\n          }]\r\n        }]\r\n      }]\r\n    },\r\n    "dijits": [{\r\n      "id": "1",\r\n      "type": "text",\r\n      "visible": true,\r\n      "config": {\r\n        "background": {\r\n          "backgroundColor": "",\r\n          "alignment": {\r\n            "horizontal": "center",\r\n            "vertical": "middle"\r\n          },\r\n          "link": ""\r\n        },\r\n        "font": {\r\n          "font": {\r\n            "fontFamily": "Arial",\r\n            "bold": false,\r\n            "italic": false,\r\n            "underline": false\r\n          },\r\n          "fontSize": 16,\r\n          "textColor": ""\r\n        },\r\n        "text": "${titleOfTheInfographic}"\r\n      }\r\n    }, {\r\n      "id": "2",\r\n      "type": "chart",\r\n      "visible": true,\r\n      "config": {\r\n        "data": {\r\n          "type": "line"\r\n        },\r\n        "display": {\r\n          "backgroundColor": "",\r\n          "legend": {\r\n            "show": false,\r\n            "textStyle": {\r\n              "color": ""\r\n            }\r\n          },\r\n          "xAxis": {\r\n            "show": true,\r\n            "textStyle": {\r\n              "color": ""\r\n            },\r\n            "nameTextStyle": {\r\n              "color": ""\r\n            },\r\n            "format": {}\r\n          },\r\n          "yAxis": {\r\n            "show": true,\r\n            "textStyle": {\r\n              "color": ""\r\n            },\r\n            "nameTextStyle": {\r\n              "color": ""\r\n            },\r\n            "format": {\r\n              "type": "float",\r\n              "digitSeparator": true\r\n            }\r\n          }\r\n        }\r\n      }\r\n    }, {\r\n      "id": "3",\r\n      "type": "text",\r\n      "visible": true,\r\n      "config": {\r\n        "background": {\r\n          "backgroundColor": "",\r\n          "alignment": {\r\n            "horizontal": "center",\r\n            "vertical": "top"\r\n          },\r\n          "link": ""\r\n        },\r\n        "font": {\r\n          "font": {\r\n            "fontFamily": "Arial",\r\n            "bold": false,\r\n            "italic": false,\r\n            "underline": false\r\n          },\r\n          "fontSize": 12,\r\n          "textColor": ""\r\n        },\r\n        "text": "${description}"\r\n      }\r\n    }]\r\n  }\r\n}, {\r\n  "label": "${name_area}",\r\n  "name": "area",\r\n  "config": {\r\n    "layout": {\r\n      "definition": [{\r\n        "type": "column",\r\n        "isClosable": true,\r\n        "reorderEnabled": true,\r\n        "title": "",\r\n        "width": 100,\r\n        "content": [{\r\n          "type": "stack",\r\n          "isClosable": true,\r\n          "reorderEnabled": true,\r\n          "title": "",\r\n          "activeItemIndex": 0,\r\n          "height": 15.034420289855072,\r\n          "content": [{\r\n            "type": "component",\r\n            "isClosable": true,\r\n            "componentName": "jimu grid",\r\n            "componentState": {\r\n              "id": "1"\r\n            },\r\n            "reorderEnabled": true,\r\n            "title": "jimu grid",\r\n            "id": "1"\r\n          }]\r\n        }, {\r\n          "type": "stack",\r\n          "isClosable": true,\r\n          "reorderEnabled": true,\r\n          "title": "",\r\n          "activeItemIndex": 0,\r\n          "height": 62.93746645195921,\r\n          "content": [{\r\n            "type": "component",\r\n            "isClosable": true,\r\n            "componentName": "jimu grid",\r\n            "componentState": {\r\n              "id": "2"\r\n            },\r\n            "reorderEnabled": true,\r\n            "title": "jimu grid",\r\n            "id": "2"\r\n          }]\r\n        }, {\r\n          "type": "stack",\r\n          "isClosable": true,\r\n          "reorderEnabled": true,\r\n          "title": "",\r\n          "activeItemIndex": 0,\r\n          "height": 22.028113258185726,\r\n          "width": 59.15915915915916,\r\n          "content": [{\r\n            "type": "component",\r\n            "isClosable": true,\r\n            "componentName": "jimu grid",\r\n            "componentState": {\r\n              "id": "3"\r\n            },\r\n            "reorderEnabled": true,\r\n            "title": "jimu grid",\r\n            "id": "3"\r\n          }]\r\n        }]\r\n      }]\r\n    },\r\n    "dijits": [{\r\n      "id": "1",\r\n      "type": "text",\r\n      "visible": true,\r\n      "config": {\r\n        "background": {\r\n          "backgroundColor": "",\r\n          "alignment": {\r\n            "horizontal": "center",\r\n            "vertical": "middle"\r\n          },\r\n          "link": ""\r\n        },\r\n        "font": {\r\n          "font": {\r\n            "fontFamily": "Arial",\r\n            "bold": false,\r\n            "italic": false,\r\n            "underline": false\r\n          },\r\n          "fontSize": 16,\r\n          "textColor": ""\r\n        },\r\n        "text": "${titleOfTheInfographic}"\r\n      }\r\n    }, {\r\n      "id": "2",\r\n      "type": "chart",\r\n      "visible": true,\r\n      "config": {\r\n        "data": {\r\n          "type": "line"\r\n        },\r\n        "display": {\r\n          "area": true,\r\n          "backgroundColor": "",\r\n          "legend": {\r\n            "show": false,\r\n            "textStyle": {\r\n              "color": ""\r\n            }\r\n          },\r\n          "xAxis": {\r\n            "show": true,\r\n            "textStyle": {\r\n              "color": ""\r\n            },\r\n            "nameTextStyle": {\r\n              "color": ""\r\n            },\r\n            "format": {}\r\n          },\r\n          "yAxis": {\r\n            "show": true,\r\n            "textStyle": {\r\n              "color": ""\r\n            },\r\n            "nameTextStyle": {\r\n              "color": ""\r\n            },\r\n            "format": {\r\n              "type": "float",\r\n              "digitSeparator": true\r\n            }\r\n          }\r\n        }\r\n      }\r\n    }, {\r\n      "id": "3",\r\n      "type": "text",\r\n      "visible": true,\r\n      "config": {\r\n        "background": {\r\n          "backgroundColor": "",\r\n          "alignment": {\r\n            "horizontal": "center",\r\n            "vertical": "top"\r\n          },\r\n          "link": ""\r\n        },\r\n        "font": {\r\n          "font": {\r\n            "fontFamily": "Arial",\r\n            "bold": false,\r\n            "italic": false,\r\n            "underline": false\r\n          },\r\n          "fontSize": 12,\r\n          "textColor": ""\r\n        },\r\n        "text": "${description}"\r\n      }\r\n    }]\r\n  }\r\n}, {\r\n  "label": "${name_stacked_area}",\r\n  "name": "stacked_area",\r\n  "config": {\r\n    "layout": {\r\n      "definition": [{\r\n        "type": "column",\r\n        "isClosable": true,\r\n        "reorderEnabled": true,\r\n        "title": "",\r\n        "width": 100,\r\n        "content": [{\r\n          "type": "stack",\r\n          "isClosable": true,\r\n          "reorderEnabled": true,\r\n          "title": "",\r\n          "activeItemIndex": 0,\r\n          "height": 15.034420289855072,\r\n          "content": [{\r\n            "type": "component",\r\n            "isClosable": true,\r\n            "componentName": "jimu grid",\r\n            "componentState": {\r\n              "id": "1"\r\n            },\r\n            "reorderEnabled": true,\r\n            "title": "jimu grid",\r\n            "id": "1"\r\n          }]\r\n        }, {\r\n          "type": "stack",\r\n          "isClosable": true,\r\n          "reorderEnabled": true,\r\n          "title": "",\r\n          "activeItemIndex": 0,\r\n          "height": 62.93746645195921,\r\n          "content": [{\r\n            "type": "component",\r\n            "isClosable": true,\r\n            "componentName": "jimu grid",\r\n            "componentState": {\r\n              "id": "2"\r\n            },\r\n            "reorderEnabled": true,\r\n            "title": "jimu grid",\r\n            "id": "2"\r\n          }]\r\n        }, {\r\n          "type": "stack",\r\n          "isClosable": true,\r\n          "reorderEnabled": true,\r\n          "title": "",\r\n          "activeItemIndex": 0,\r\n          "height": 22.028113258185726,\r\n          "width": 59.15915915915916,\r\n          "content": [{\r\n            "type": "component",\r\n            "isClosable": true,\r\n            "componentName": "jimu grid",\r\n            "componentState": {\r\n              "id": "3"\r\n            },\r\n            "reorderEnabled": true,\r\n            "title": "jimu grid",\r\n            "id": "3"\r\n          }]\r\n        }]\r\n      }]\r\n    },\r\n    "dijits": [{\r\n      "id": "1",\r\n      "type": "text",\r\n      "visible": true,\r\n      "config": {\r\n        "background": {\r\n          "backgroundColor": "",\r\n          "alignment": {\r\n            "horizontal": "center",\r\n            "vertical": "middle"\r\n          },\r\n          "link": ""\r\n        },\r\n        "font": {\r\n          "font": {\r\n            "fontFamily": "Arial",\r\n            "bold": false,\r\n            "italic": false,\r\n            "underline": false\r\n          },\r\n          "fontSize": 16,\r\n          "textColor": ""\r\n        },\r\n        "text": "${titleOfTheInfographic}"\r\n      }\r\n    }, {\r\n      "id": "2",\r\n      "type": "chart",\r\n      "visible": true,\r\n      "config": {\r\n        "data": {\r\n          "type": "line"\r\n        },\r\n        "display": {\r\n          "area": true,\r\n          "stack": "normal",\r\n          "backgroundColor": "",\r\n          "legend": {\r\n            "show": false,\r\n            "textStyle": {\r\n              "color": ""\r\n            }\r\n          },\r\n          "xAxis": {\r\n            "show": true,\r\n            "textStyle": {\r\n              "color": ""\r\n            },\r\n            "nameTextStyle": {\r\n              "color": ""\r\n            },\r\n            "format": {}\r\n          },\r\n          "yAxis": {\r\n            "show": true,\r\n            "textStyle": {\r\n              "color": ""\r\n            },\r\n            "nameTextStyle": {\r\n              "color": ""\r\n            },\r\n            "format": {\r\n              "type": "float",\r\n              "digitSeparator": true\r\n            }\r\n          }\r\n        }\r\n      }\r\n    }, {\r\n      "id": "3",\r\n      "type": "text",\r\n      "visible": true,\r\n      "config": {\r\n        "background": {\r\n          "backgroundColor": "",\r\n          "alignment": {\r\n            "horizontal": "center",\r\n            "vertical": "top"\r\n          },\r\n          "link": ""\r\n        },\r\n        "font": {\r\n          "font": {\r\n            "fontFamily": "Arial",\r\n            "bold": false,\r\n            "italic": false,\r\n            "underline": false\r\n          },\r\n          "fontSize": 12,\r\n          "textColor": ""\r\n        },\r\n        "text": "${description}"\r\n      }\r\n    }]\r\n  }\r\n}, {\r\n  "label": "${name_percentage_stacked_area}",\r\n  "name": "percentage_stacked_area",\r\n  "config": {\r\n    "layout": {\r\n      "definition": [{\r\n        "type": "column",\r\n        "isClosable": true,\r\n        "reorderEnabled": true,\r\n        "title": "",\r\n        "width": 100,\r\n        "content": [{\r\n          "type": "stack",\r\n          "isClosable": true,\r\n          "reorderEnabled": true,\r\n          "title": "",\r\n          "activeItemIndex": 0,\r\n          "height": 15.034420289855072,\r\n          "content": [{\r\n            "type": "component",\r\n            "isClosable": true,\r\n            "componentName": "jimu grid",\r\n            "componentState": {\r\n              "id": "1"\r\n            },\r\n            "reorderEnabled": true,\r\n            "title": "jimu grid",\r\n            "id": "1"\r\n          }]\r\n        }, {\r\n          "type": "stack",\r\n          "isClosable": true,\r\n          "reorderEnabled": true,\r\n          "title": "",\r\n          "activeItemIndex": 0,\r\n          "height": 62.93746645195921,\r\n          "content": [{\r\n            "type": "component",\r\n            "isClosable": true,\r\n            "componentName": "jimu grid",\r\n            "componentState": {\r\n              "id": "2"\r\n            },\r\n            "reorderEnabled": true,\r\n            "title": "jimu grid",\r\n            "id": "2"\r\n          }]\r\n        }, {\r\n          "type": "stack",\r\n          "isClosable": true,\r\n          "reorderEnabled": true,\r\n          "title": "",\r\n          "activeItemIndex": 0,\r\n          "height": 22.028113258185726,\r\n          "width": 59.15915915915916,\r\n          "content": [{\r\n            "type": "component",\r\n            "isClosable": true,\r\n            "componentName": "jimu grid",\r\n            "componentState": {\r\n              "id": "3"\r\n            },\r\n            "reorderEnabled": true,\r\n            "title": "jimu grid",\r\n            "id": "3"\r\n          }]\r\n        }]\r\n      }]\r\n    },\r\n    "dijits": [{\r\n      "id": "1",\r\n      "type": "text",\r\n      "visible": true,\r\n      "config": {\r\n        "background": {\r\n          "backgroundColor": "",\r\n          "alignment": {\r\n            "horizontal": "center",\r\n            "vertical": "middle"\r\n          },\r\n          "link": ""\r\n        },\r\n        "font": {\r\n          "font": {\r\n            "fontFamily": "Arial",\r\n            "bold": false,\r\n            "italic": false,\r\n            "underline": false\r\n          },\r\n          "fontSize": 16,\r\n          "textColor": ""\r\n        },\r\n        "text": "${titleOfTheInfographic}"\r\n      }\r\n    }, {\r\n      "id": "2",\r\n      "type": "chart",\r\n      "visible": true,\r\n      "config": {\r\n        "data": {\r\n          "type": "line"\r\n        },\r\n        "display": {\r\n          "area": true,\r\n          "stack": "percent",\r\n          "backgroundColor": "",\r\n          "legend": {\r\n            "show": false,\r\n            "textStyle": {\r\n              "color": ""\r\n            }\r\n          },\r\n          "xAxis": {\r\n            "show": true,\r\n            "textStyle": {\r\n              "color": ""\r\n            },\r\n            "nameTextStyle": {\r\n              "color": ""\r\n            },\r\n            "format": {}\r\n          },\r\n          "yAxis": {\r\n            "show": true,\r\n            "textStyle": {\r\n              "color": ""\r\n            },\r\n            "nameTextStyle": {\r\n              "color": ""\r\n            },\r\n            "format": {\r\n              "type": "float",\r\n              "digitSeparator": true\r\n            }\r\n          }\r\n        }\r\n      }\r\n    }, {\r\n      "id": "3",\r\n      "type": "text",\r\n      "visible": true,\r\n      "config": {\r\n        "background": {\r\n          "backgroundColor": "",\r\n          "alignment": {\r\n            "horizontal": "center",\r\n            "vertical": "top"\r\n          },\r\n          "link": ""\r\n        },\r\n        "font": {\r\n          "font": {\r\n            "fontFamily": "Arial",\r\n            "bold": false,\r\n            "italic": false,\r\n            "underline": false\r\n          },\r\n          "fontSize": 12,\r\n          "textColor": ""\r\n        },\r\n        "text": "${description}"\r\n      }\r\n    }]\r\n  }\r\n}]',
"url:widgets/Infographic/dijits/ChartDijit.html":'\x3cdiv style\x3d"width:100%;height:100%;"\x3e\r\n    \x3cdiv style\x3d"display: none;" data-dojo-attach-point\x3d"yAxisName" class\x3d"y-axis-name rotate"\x3e\x3c/div\x3e\r\n    \x3cdiv class\x3d"chart-dijit" style\x3d"width:100%;height:100%;"\x3e\r\n        \x3cdiv data-dojo-attach-point\x3d"noDataDiv" class\x3d"no-data-tip"\x3e${nls.noData}\x3c/div\x3e\r\n        \x3cdiv data-dojo-attach-point\x3d"overlap" class\x3d"over-lay hide"\x3e\x3c/div\x3e\r\n        \x3cdiv class\x3d"chart-dom" data-dojo-attach-point\x3d"chartDomNode"\x3e\x3c/div\x3e\r\n    \x3c/div\x3e\r\n\x3c/div\x3e',
"url:widgets/Infographic/setting/dijitsSetting/_dijits/BackgroundSetting.html":'\x3cdiv class\x3d"style-selector"\x3e\r\n  \x3cdiv class\x3d"setting-items align clearFix"\x3e\r\n    \x3cdiv class\x3d"label-position jimu-float-leading" title\x3d"${nls.alignment}"\x3e${nls.alignment}\x3c/div\x3e\r\n    \x3cdiv class\x3d"setting-wapper jimu-float-trailing clearFix"\x3e\r\n      \x3cdiv class\x3d"align-group jimu-float-leading"\x3e\r\n        \x3cdiv class\x3d"align-btn jimu-float-leading left" data-dojo-attach-point\x3d"alignLeft"\x3e\x3c/div\x3e\r\n        \x3cdiv class\x3d"align-btn jimu-float-leading center" data-dojo-attach-point\x3d"alignCenter"\x3e\x3c/div\x3e\r\n        \x3cdiv class\x3d"align-btn jimu-float-leading right" data-dojo-attach-point\x3d"alignRight"\x3e\x3c/div\x3e\r\n      \x3c/div\x3e\r\n      \x3cdiv class\x3d"align-group jimu-float-leading"\x3e\r\n        \x3cdiv class\x3d"align-btn jimu-float-leading top" data-dojo-attach-point\x3d"alignTop"\x3e\x3c/div\x3e\r\n        \x3cdiv class\x3d"align-btn jimu-float-leading middle" data-dojo-attach-point\x3d"alignMiddle"\x3e\x3c/div\x3e\r\n        \x3cdiv class\x3d"align-btn jimu-float-leading bottom" data-dojo-attach-point\x3d"alignBottom"\x3e\x3c/div\x3e\r\n      \x3c/div\x3e\r\n    \x3c/div\x3e\r\n  \x3c/div\x3e\r\n  \x3cdiv class\x3d"setting-items background clearFix"\x3e\r\n    \x3cdiv class\x3d"label-position jimu-float-leading" title\x3d"${nls.backgroundColor}"\x3e${nls.backgroundColor}\x3c/div\x3e\r\n    \x3cdiv class\x3d"setting-wapper jimu-float-trailing"\x3e\r\n      \x3cdiv class\x3d"background-btn" data-dojo-attach-point\x3d"backgroundBtn"\x3e\x3c/div\x3e\r\n    \x3c/div\x3e\r\n  \x3c/div\x3e\r\n  \x3cdiv class\x3d"setting-items link clearFix"\x3e\r\n    \x3cdiv class\x3d"label-position jimu-float-leading" title\x3d"${nls.link}"\x3e${nls.link}\x3c/div\x3e\r\n    \x3cdiv class\x3d"setting-wapper jimu-float-trailing"\x3e\r\n      \x3cinput type\x3d"text" data-dojo-type\x3d"jimu/dijit/URLInput" data-dojo-props\x3d"required:false,rest:false"\r\n        placeHolder\x3d"" data-dojo-attach-point\x3d"linkText"/\x3e\r\n    \x3c/div\x3e\r\n  \x3c/div\x3e\r\n\x3c/div\x3e',
"url:widgets/Infographic/setting/dijitsSetting/_dijits/FontSetting.html":'\x3cdiv class\x3d"style-selector"\x3e\r\n  \x3cdiv class\x3d"setting-items font clearFix" data-dojo-attach-point\x3d"fontSetting"\x3e\r\n    \x3cdiv class\x3d"label-position jimu-float-leading" title\x3d"${nls.font}"\x3e${nls.font}\x3c/div\x3e\r\n    \x3cdiv class\x3d"setting-wapper jimu-float-trailing"\x3e\r\n      \x3cselect data-dojo-attach-point\x3d"fontSelect" data-dojo-props\x3d\'style:{width:"100%"}\' data-dojo-type\x3d"dijit/form/Select"\x3e\x3c/select\x3e\r\n    \x3c/div\x3e\r\n  \x3c/div\x3e\r\n  \x3cdiv class\x3d"setting-items text-size clearFix" data-dojo-attach-point\x3d"textSizeSetting"\x3e\r\n    \x3cdiv class\x3d"label-position jimu-float-leading" title\x3d"${nls.textSize}"\x3e${nls.textSize}\x3c/div\x3e\r\n    \x3cdiv class\x3d"setting-wapper jimu-float-trailing"\x3e\r\n      \x3cdiv class\x3d"text-size-group jimu-float-leading"\x3e\r\n        \x3cselect data-dojo-type\x3d"dijit/form/ComboBox" data-dojo-attach-point\x3d"textSizeSelect"\x3e\x3c/select\x3e\r\n      \x3c/div\x3e\r\n      \x3cdiv class\x3d"text-size-group jimu-float-leading"\x3e\r\n        \x3cdiv class\x3d"sliderbar" data-dojo-attach-point\x3d"sliderBar"\x3e\x3c/div\x3e\r\n      \x3c/div\x3e\r\n    \x3c/div\x3e\r\n  \x3c/div\x3e\r\n  \x3cdiv class\x3d"setting-items text-color clearFix" data-dojo-attach-point\x3d"textColorSetting"\x3e\r\n    \x3cdiv class\x3d"label-position jimu-float-leading" title\x3d"${nls.textColor}"\x3e${nls.textColor}\x3c/div\x3e\r\n    \x3cdiv class\x3d"setting-wapper jimu-float-trailing"\x3e\r\n      \x3cdiv class\x3d"font-group jimu-float-leading"\x3e\r\n        \x3cdiv class\x3d"text-color-btn" data-dojo-attach-point\x3d"textColorBtn"\x3e\x3c/div\x3e\r\n      \x3c/div\x3e\r\n      \x3cdiv class\x3d"font-group font-group-btns jimu-float-leading"\x3e\r\n        \x3cdiv class\x3d"font-btn jimu-float-leading bold" data-dojo-attach-point\x3d"bold"\x3e\x3c/div\x3e\r\n        \x3cdiv class\x3d"font-btn jimu-float-leading italic" data-dojo-attach-point\x3d"italic"\x3e\x3c/div\x3e\r\n        \x3cdiv class\x3d"font-btn jimu-float-leading underline" data-dojo-attach-point\x3d"underline"\x3e\x3c/div\x3e\r\n      \x3c/div\x3e\r\n    \x3c/div\x3e\r\n  \x3c/div\x3e\r\n\x3c/div\x3e',
"url:widgets/Infographic/setting/dijitsSetting/TextDijitSetting.html":'\x3cdiv class\x3d"settings-container"\x3e\r\n  \x3cdiv class\x3d"title"\x3e\r\n    ${nls.titleSettings}\r\n  \x3c/div\x3e\r\n  \x3cdiv class\x3d"style-selector"\x3e\r\n    \x3cdiv class\x3d"section"\x3e\r\n      \x3cdiv class\x3d"setting-items link clearFix"\x3e\r\n        \x3cdiv class\x3d"label-position jimu-float-leading" title\x3d"${nls.text}"\x3e${nls.text}\x3c/div\x3e\r\n        \x3cdiv class\x3d"setting-wapper jimu-float-trailing"\x3e\r\n          \x3cinput type\x3d"text" data-dojo-type\x3d"dijit/form/ValidationTextBox" \r\n          required\x3d"true" placeHolder\x3d"" data-dojo-attach-point\x3d"textNode"/\x3e\r\n        \x3c/div\x3e\r\n      \x3c/div\x3e\r\n    \x3c/div\x3e\r\n  \x3c/div\x3e\r\n  \x3cdiv class\x3d"section"\x3e\r\n    \x3cdiv data-dojo-attach-point\x3d"fontSettingNode"\x3e\x3c/div\x3e\r\n  \x3c/div\x3e\r\n  \x3cdiv class\x3d"section"\x3e\r\n    \x3cdiv data-dojo-attach-point\x3d"backgroundSettingNode"\x3e\x3c/div\x3e\r\n  \x3c/div\x3e\r\n\x3c/div\x3e',
"url:widgets/Infographic/setting/dijitsSetting/ImageDijitSetting.html":'\x3cdiv class\x3d"settings-container"\x3e\r\n  \x3cdiv class\x3d"title"\x3e\r\n    ${nls.imageSettings}\r\n  \x3c/div\x3e\r\n  \x3cdiv class\x3d"style-selector"\x3e\r\n    \x3cdiv class\x3d"section"\x3e\r\n      \x3cdiv class\x3d"setting-items clearFix"\x3e\r\n        \x3cdiv class\x3d"label-position jimu-float-leading" title\x3d"${nls.image}"\x3e${nls.image}\x3c/div\x3e\r\n        \x3cdiv class\x3d"setting-wapper jimu-float-trailing"\x3e\r\n          \x3cdiv class\x3d"image-btn" data-dojo-attach-point\x3d"imageChooserNode"\x3e\x3c/div\x3e\r\n        \x3c/div\x3e\r\n      \x3c/div\x3e\r\n    \x3c/div\x3e\r\n  \x3c/div\x3e\r\n  \x3cdiv class\x3d"section"\x3e\r\n    \x3cdiv data-dojo-attach-point\x3d"backgroundSettingNode"\x3e\x3c/div\x3e\r\n  \x3c/div\x3e\r\n\x3c/div\x3e',
"url:widgets/Infographic/setting/dijitsSetting/ChartDijitSetting.html":'\x3cdiv\x3e\r\n  \x3cdiv class\x3d"flex-lc text-label" style\x3d"font-size: 14px;"\x3e${nls.chartSettings}\x3c/div\x3e\r\n  \x3cdiv class\x3d"section data-section padding-right-5" data-dojo-attach-point\x3d"dataSection"\x3e\r\n    \x3cdiv class\x3d"section-item chart-mode-section-item feature-mode category-mode count-mode field-mode average-align"\x3e\r\n      \x3cdiv\x3e${nls.displayMode}\x3c/div\x3e\r\n      \x3cselect data-dojo-attach-point\x3d"chartModeSelect" data-dojo-type\x3d"dijit/form/Select" data-dojo-attach-event\x3d"change:_onChartModeChanged" class\x3d"restrict-select-width"\x3e\x3c/select\x3e\r\n    \x3c/div\x3e\r\n\r\n    \x3cdiv class\x3d"section-item label-field-section-item category-field-section-item feature-mode category-mode count-mode average-align"\x3e\r\n      \x3cdiv\x3e${nls.categoryField}\x3c/div\x3e\r\n      \x3cselect data-dojo-attach-point\x3d"clusterFieldSelect" data-dojo-type\x3d"dijit/form/Select" data-dojo-attach-event\x3d"change:_onClusterFieldChanged" class\x3d"restrict-select-width"\x3e\x3c/select\x3e\r\n    \x3c/div\x3e\r\n    \r\n    \x3cdiv class\x3d"section-item category-mode count-mode"\x3e\r\n      \x3cdiv class\x3d"average-align" data-dojo-attach-point\x3d"periodDiv"\x3e\r\n        \x3cdiv\x3e${nls.minPeriod}\x3c/div\x3e\r\n        \x3cselect data-dojo-attach-point\x3d"periodSelect" data-dojo-type\x3d"dijit/form/Select" data-dojo-attach-event\x3d"change:onChange" class\x3d"restrict-select-width"\x3e\r\n          \x3coption value\x3d"automatic"\x3e${nls.automatic}\x3c/option\x3e\r\n          \x3coption value\x3d"year"\x3e${nls.year}\x3c/option\x3e\r\n          \x3coption value\x3d"quarter"\x3e${nls.quarter}\x3c/option\x3e\r\n          \x3coption value\x3d"month"\x3e${nls.month}\x3c/option\x3e\r\n          \x3coption value\x3d"day"\x3e${nls.day}\x3c/option\x3e\r\n          \x3coption value\x3d"hour"\x3e${nls.hour}\x3c/option\x3e\r\n          \x3coption value\x3d"minute"\x3e${nls.minute}\x3c/option\x3e\r\n          \x3coption value\x3d"second"\x3e${nls.second}\x3c/option\x3e\r\n        \x3c/select\x3e\r\n      \x3c/div\x3e\r\n    \x3c/div\x3e\r\n  \r\n    \x3cdiv class\x3d"section-item category-mode count-mode"\x3e\r\n      \x3cdiv style\x3d"height: auto; margin-top: 5px;margin-bottom: 5px;display: none;" class\x3d"average-align flexStart" data-dojo-attach-point\x3d"periodsRecordsDiv"\x3e\r\n        \x3cdiv\x3e${nls.periodsWithOutRecords}\x3c/div\x3e\r\n        \x3cdiv class\x3d"tb-radio-div"\x3e\r\n          \x3cdiv class\x3d"lr-radio-label-div"\x3e\r\n            \x3cinput checked type\x3d"radio" name\x3d"periodswithoutrecords" data-dojo-attach-event\x3d"change:onChange" data-dojo-type\x3d"dijit/form/RadioButton" data-dojo-attach-point\x3d"showRadioBtn"\x3e\r\n            \x3clabel class\x3d"marginleft10 textOverFlow tb-radio-label" title\x3d"${nls.show}"\x3e${nls.show}\x3c/label\x3e\r\n          \x3c/div\x3e\r\n          \x3cdiv style\x3d"margin-top: 10px;" class\x3d"lr-radio-label-div"\x3e\r\n            \x3cinput type\x3d"radio" name\x3d"periodswithoutrecords" data-dojo-type\x3d"dijit/form/RadioButton" data-dojo-attach-point\x3d"hideRadioBtn"\x3e\r\n            \x3clabel class\x3d"marginleft10 textOverFlow tb-radio-label" title\x3d"${nls.hide}"\x3e${nls.hide}\x3c/label\x3e\r\n          \x3c/div\x3e\r\n        \x3c/div\x3e\r\n      \x3c/div\x3e\r\n    \x3c/div\x3e \r\n\r\n    \x3cdiv class\x3d"section-item operation-section-item category-mode field-mode average-align"\x3e\r\n      \x3cdiv\x3e${nls.operation}\x3c/div\x3e\r\n      \x3cselect data-dojo-attach-point\x3d"operationSelect" data-dojo-type\x3d"dijit/form/Select" data-dojo-attach-event\x3d"change:onChange" class\x3d"restrict-select-width"\x3e\r\n        \x3coption value\x3d"sum"\x3e${nls.sumOption}\x3c/option\x3e\r\n        \x3coption value\x3d"average"\x3e${nls.averageOption}\x3c/option\x3e\r\n        \x3coption value\x3d"min"\x3e${nls.minOption}\x3c/option\x3e\r\n        \x3coption value\x3d"max"\x3e${nls.maxOption}\x3c/option\x3e\r\n      \x3c/select\x3e\r\n    \x3c/div\x3e\r\n\r\n    \x3cdiv class\x3d"section-item category-mode field-mode"\x3e  \r\n      \x3cdiv style\x3d"height: auto; margin-top: 5px;margin-bottom: 10px;" class\x3d"average-align flexStart" data-dojo-attach-point\x3d"nullValue"\x3e  \r\n        \x3cdiv\x3e${nls.nullValue}\x3c/div\x3e  \r\n        \x3cdiv class\x3d"tb-radio-div"\x3e \r\n          \x3cdiv class\x3d"lr-radio-label-div"\x3e \r\n            \x3cinput checked type\x3d"radio" name\x3d"nullValue" data-dojo-attach-event\x3d"change:onChange" data-dojo-type\x3d"dijit/form/RadioButton" data-dojo-attach-point\x3d"zeroRadioBtn"\x3e \r\n           \x3clabel class\x3d"marginleft10 textOverFlow tb-radio-label" title\x3d"${nls.calculatedAsZero}"\x3e${nls.calculatedAsZero}\x3c/label\x3e  \r\n          \x3c/div\x3e \r\n          \x3cdiv style\x3d"margin-top: 10px;" class\x3d"lr-radio-label-div"\x3e \r\n            \x3cinput type\x3d"radio" name\x3d"nullValue" data-dojo-type\x3d"dijit/form/RadioButton" data-dojo-attach-point\x3d"ignoreRadioBtn"\x3e  \r\n            \x3clabel class\x3d"marginleft10 textOverFlow tb-radio-label" title\x3d"${nls.ignored}"\x3e${nls.ignored}\x3c/label\x3e  \r\n          \x3c/div\x3e \r\n        \x3c/div\x3e \r\n      \x3c/div\x3e \r\n    \x3c/div\x3e \r\n\r\n    \x3cdiv style\x3d"height: auto;" class\x3d"section-item value-fields-section-item feature-mode category-mode field-mode average-align"\x3e\r\n      \x3cdiv\x3e${nls.valueFields}\x3c/div\x3e\r\n      \x3cdiv data-dojo-attach-point\x3d"valueFieldsDiv"\x3e\x3c/div\x3e\r\n    \x3c/div\x3e\r\n\r\n    \x3cdiv style\x3d"height: auto; margin-top: 10px" class\x3d"section-item feature-mode category-mode count-mode field-mode average-align flexStart"\x3e\r\n      \x3cdiv\x3e${nls.sortBy}\x3c/div\x3e\r\n      \x3cdiv data-dojo-attach-point\x3d"chartSort"\x3e\x3c/div\x3e\r\n    \x3c/div\x3e\r\n    \r\n    \x3cdiv style\x3d"margin-top: 5px" class\x3d"section-item feature-mode category-mode count-mode field-mode average-align"\x3e\r\n      \x3cdiv\x3e${nls.maxCategories}\x3c/div\x3e\r\n       \x3cinput data-dojo-attach-point\x3d"maxLabels" data-dojo-type\x3d"dijit/form/NumberSpinner"  data-dojo-props\x3d"intermediateChanges:true" data-dojo-attach-event\x3d"change:onChange"\r\n      /\x3e\r\n    \x3c/div\x3e\r\n\r\n  \x3c/div\x3e\r\n\r\n  \x3cdiv class\x3d"section display-section padding-right-5" data-dojo-attach-point\x3d"displaySection"\x3e\r\n    \x3cdiv class\x3d"section-item column-type bar-type line-type average-align align-items-start"\x3e\r\n      \x3cdiv class\x3d"left-label textOverFlow" style\x3d"max-width: 200px;" title\x3d"${nls.defaultRange}"\x3e${nls.defaultRange}\x3c/div\x3e\r\n      \x3cdiv\x3e\r\n        \x3cdiv\x3e\r\n          \x3cinput type\x3d"radio" name\x3d"defaultRange" data-dojo-attach-event\x3d"change:onChange" data-dojo-type\x3d"dijit/form/RadioButton" data-dojo-attach-point\x3d"autoRangeRadio" \x3e\r\n          \x3clabel class\x3d"marginleft10"\x3e${nls.automatic}\x3c/label\x3e\r\n        \x3c/div\x3e\r\n        \x3cdiv style\x3d"margin-top: 7px;"\x3e\r\n          \x3cinput type\x3d"radio" name\x3d"defaultRange" data-dojo-type\x3d"dijit/form/RadioButton" data-dojo-attach-point\x3d"allRangeRadio"\x3e\r\n          \x3clabel class\x3d"marginleft10"\x3e${nls.all}\x3c/label\x3e\r\n        \x3c/div\x3e\r\n      \x3c/div\x3e\r\n    \x3c/div\x3e\r\n    \x3cdiv data-dojo-attach-point\x3d"bgColorDiv" class\x3d"section-item column-type bar-type pie-type line-type average-align"\x3e\r\n      \x3cdiv\x3e${nls.backgroundColor}\x3c/div\x3e\r\n    \x3c/div\x3e\r\n\r\n    \x3cdiv data-dojo-attach-point\x3d"tooltipDiv" class\x3d"section-item column-type bar-type line-type average-align"\x3e\r\n      \x3cdiv\x3e${nls.tooltipMode}\x3c/div\x3e\r\n      \x3cselect data-dojo-attach-point\x3d"tooltipModeSelect" data-dojo-type\x3d"dijit/form/Select" data-dojo-attach-event\x3d"change:onChange" class\x3d"restrict-select-width"\x3e\r\n        \x3coption value\x3d"item"\x3e${nls.single}\x3c/option\x3e\r\n        \x3coption value\x3d"axis" selected\x3d"selected"\x3e${nls.multiple}\x3c/option\x3e\r\n      \x3c/select\x3e\r\n    \x3c/div\x3e\r\n    \r\n    \x3cdiv style\x3d"margin-bottom: 10px;" class\x3d"section-item pie-type average-align"\x3e\r\n      \x3cdiv\x3e${nls.hollowsize}\x3c/div\x3e\r\n      \x3cdiv data-dojo-attach-point\x3d"hollowSize"\x3e\r\n      \x3c/div\x3e\r\n    \x3c/div\x3e\r\n\r\n    \x3cdiv data-dojo-attach-point\x3d"chartColorContainer" style\x3d"height: auto;margin: 10px auto 0 auto;" class\x3d"section-item column-type bar-type pie-type line-type average-align flexStart"\x3e\r\n    \x3c/div\x3e\r\n\r\n    \x3cdiv data-dojo-attach-point\x3d"legendTogglePocketContent"\x3e\r\n      \x3cdiv class\x3d"average-align" data-dojo-attach-point\x3d"legendTextColorDiv"\x3e\r\n        \x3cdiv\x3e${nls.textColor}\x3c/div\x3e\r\n      \x3c/div\x3e\r\n      \x3cdiv class\x3d"average-align"\x3e\r\n        \x3cdiv\x3e${nls.textSize}\x3c/div\x3e\r\n        \x3cdiv data-dojo-attach-point\x3d"legendTextSize"\x3e\x3c/div\x3e\r\n      \x3c/div\x3e\r\n    \x3c/div\x3e\r\n\r\n    \x3cdiv data-dojo-attach-point\x3d"horTogglePocketContent"\x3e\r\n      \x3cdiv class\x3d"average-align"\x3e\r\n        \x3cdiv\x3e${nls.title}\x3c/div\x3e\r\n        \x3cinput data-dojo-type\x3d"dijit/form/TextBox" data-dojo-attach-point\x3d"horTitle" data-dojo-attach-event\x3d"change:onChange" /\x3e\r\n      \x3c/div\x3e\r\n\r\n      \x3cdiv class\x3d"average-align" data-dojo-attach-point\x3d"horTitleColorDiv"\x3e\r\n        \x3cdiv\x3e${nls.titleColor}\x3c/div\x3e\r\n      \x3c/div\x3e\r\n\r\n      \x3cdiv class\x3d"average-align" data-dojo-attach-point\x3d"horTextColorDiv"\x3e\r\n        \x3cdiv\x3e${nls.labelColor}\x3c/div\x3e\r\n      \x3c/div\x3e\r\n      \x3cdiv class\x3d"average-align"\x3e\r\n        \x3cdiv\x3e${nls.labelSize}\x3c/div\x3e\r\n        \x3cdiv data-dojo-attach-point\x3d"horTextSize"\x3e\x3c/div\x3e\r\n      \x3c/div\x3e\r\n      \x3cdiv data-dojo-attach-point\x3d"hAxisKeepIntScaleRow" class\x3d"average-align"\x3e\r\n        \x3cdiv class\x3d"left-label textOverFlow" title\x3d"${nls.intScaleText}"\x3e${nls.intScaleText}\x3c/div\x3e\r\n      \x3c/div\x3e\r\n      \x3cdiv data-dojo-attach-point\x3d"hAxisSeparatorRow" class\x3d"average-align"\x3e\r\n        \x3cdiv class\x3d"left-label textOverFlow" title\x3d"${nls.use1000Separator}"\x3e${nls.use1000Separator}\x3c/div\x3e\r\n      \x3c/div\x3e\r\n    \x3c/div\x3e\r\n\r\n    \x3cdiv data-dojo-attach-point\x3d"verTogglePocketContent"\x3e\r\n       \x3cdiv class\x3d"average-align"\x3e\r\n        \x3cdiv\x3e${nls.title}\x3c/div\x3e\r\n        \x3cinput data-dojo-type\x3d"dijit/form/TextBox" data-dojo-attach-point\x3d"verTitle" data-dojo-attach-event\x3d"change:onChange" /\x3e\r\n      \x3c/div\x3e\r\n\r\n      \x3cdiv class\x3d"average-align" data-dojo-attach-point\x3d"verTitleColorDiv"\x3e\r\n        \x3cdiv\x3e${nls.titleColor}\x3c/div\x3e\r\n      \x3c/div\x3e\r\n      \x3cdiv class\x3d"average-align" data-dojo-attach-point\x3d"verTextColorDiv"\x3e\r\n        \x3cdiv\x3e${nls.labelColor}\x3c/div\x3e\r\n      \x3c/div\x3e\r\n      \x3cdiv class\x3d"average-align"\x3e\r\n        \x3cdiv\x3e${nls.labelSize}\x3c/div\x3e\r\n        \x3cdiv data-dojo-attach-point\x3d"verTextSize"\x3e\x3c/div\x3e\r\n      \x3c/div\x3e\r\n      \x3cdiv data-dojo-attach-point\x3d"vAxisKeepIntScaleRow" class\x3d"average-align"\x3e\r\n        \x3cdiv class\x3d"left-label textOverFlow" title\x3d"${nls.intScaleText}"\x3e${nls.intScaleText}\x3c/div\x3e\r\n      \x3c/div\x3e\r\n      \x3cdiv data-dojo-attach-point\x3d"vAxisSeparatorRow" class\x3d"average-align"\x3e\r\n        \x3cdiv class\x3d"left-label textOverFlow" title\x3d"${nls.use1000Separator}"\x3e${nls.use1000Separator}\x3c/div\x3e\r\n      \x3c/div\x3e\r\n    \x3c/div\x3e\r\n\r\n    \x3cdiv data-dojo-attach-point\x3d"dataLabelTogglePocketContent"\x3e\r\n      \x3cdiv class\x3d"average-align" data-dojo-attach-point\x3d"dataLabelTextColorDiv"\x3e\r\n        \x3cdiv\x3e${nls.textColor}\x3c/div\x3e\r\n      \x3c/div\x3e\r\n      \x3cdiv class\x3d"average-align"\x3e\r\n        \x3cdiv\x3e${nls.textSize}\x3c/div\x3e\r\n        \x3cdiv data-dojo-attach-point\x3d"dataLabelTextSize"\x3e\x3c/div\x3e\r\n      \x3c/div\x3e\r\n    \x3c/div\x3e\r\n  \x3c/div\x3e\r\n\r\n  \x3cdiv class\x3d"section guide-section" data-dojo-attach-point\x3d"marksSection"\x3e\r\n  \x3c/div\x3e\r\n  \x3cdiv data-dojo-attach-point\x3d"shelter" data-dojo-type\x3d"jimu/dijit/LoadingIndicator" data-dojo-props\x3d\'hidden:true\'\x3e\x3c/div\x3e\r\n\x3c/div\x3e',
"url:widgets/Infographic/setting/dijitsSetting/_dijits/ChartSort.html":'\x3cdiv\x3e\r\n\r\n\t\x3cdiv style\x3d"margin-bottom: 10px;" data-dojo-attach-point\x3d"radioDiv" class\x3d"part-item other-mode-sort radio-div"\x3e\r\n\t\t\r\n\t\t\x3cdiv class\x3d"axis-tr"\x3e\r\n\t\t\t\x3cdiv class\x3d"flex-left-center td-item other-mode-sort"\x3e\r\n\t\t\t\t\x3cinput type\x3d"radio" data-dojo-attach-point\x3d"xAxisRadio" data-dojo-attach-event\x3d"change:_onXaxisRadioChanged" checked\x3d"true" name\x3d"sortaxis" data-dojo-type\x3d"dijit/form/RadioButton"\x3e\r\n\t   \t\t\t\x3clabel class\x3d"marginleft10"\x3e${nls.labelAxis}\x3c/label\x3e\r\n\t\t\t\x3c/div\x3e\r\n\t\t\t\x3cdiv data-dojo-attach-point\x3d"xAxisSortDiv" class\x3d"td-item other-mode-sort"\x3e\r\n\t\t\t\t\x3cdiv style\x3d"width: 39px;" class\x3d"flex-sb-center" data-dojo-attach-event\x3d"click:_onSortBtnClicked" data-dojo-attach-point\x3d"xSortBtn"\x3e\r\n\t\t\t\t\t\x3cdiv class\x3d"sort-icon asc selected"\x3e\x3c/div\x3e\r\n\t\t\t\t\t\x3cdiv class\x3d"sort-icon desc"\x3e\x3c/div\x3e\r\n\t\t\t\t\x3c/div\x3e\r\n\t\t\t\x3c/div\x3e\r\n\t\t\x3c/div\x3e\r\n\r\n\t\t\x3cdiv style\x3d"margin-top: 10px;" class\x3d"axis-tr"\x3e\r\n\t\t\t\x3cdiv class\x3d"flex-left-center td-item other-mode-sort"\x3e\r\n\t\t\t\t\x3cinput data-dojo-attach-point\x3d"yAxisRadio" type\x3d"radio" name\x3d"sortaxis" data-dojo-type\x3d"dijit/form/RadioButton"\x3e\r\n   \t\t\t\t\x3clabel class\x3d"marginleft10"\x3e${nls.valueAxis}\x3c/label\x3e\r\n\t\t\t\x3c/div\x3e\r\n\t\t\t\x3cdiv data-dojo-attach-point\x3d"yAxisSortDiv" class\x3d"flex-left-center td-item"\x3e\r\n\t\t\t\t\x3cdiv style\x3d"width: 39px;" class\x3d"flex-sb-center" data-dojo-attach-event\x3d"click:_onSortBtnClicked" data-dojo-attach-point\x3d"ySortBtn"\x3e\r\n\t\t\t\t\t\x3cdiv class\x3d"sort-icon asc selected"\x3e\x3c/div\x3e\r\n\t\t\t\t\t\x3cdiv class\x3d"sort-icon desc"\x3e\x3c/div\x3e\r\n\t\t\t\t\x3c/div\x3e\r\n\t\t\t\x3c/div\x3e\r\n\t\t\x3c/div\x3e\r\n\t\x3c/div\x3e\r\n\r\n\t\x3cdiv  data-dojo-attach-point\x3d"fieldSortPart" class\x3d"part-item feature-mode-sort"\x3e\r\n\t\t\x3cdiv class\x3d"axis-tr"\x3e\r\n\t\t\t\x3cdiv class\x3d"down-select-div td-item feature-mode-sort" data-dojo-attach-point\x3d"sortFieldDiv"\x3e\r\n\t\t\t\t\x3cselect data-dojo-attach-event\x3d"change:_onSortFieldsChanged" data-dojo-attach-point\x3d"sortField" data-dojo-type\x3d"dijit/form/Select" class\x3d"restrict-select-width sort-filed"\x3e\x3c/select\x3e\r\n\t\t\t\x3c/div\x3e\r\n\t\t\t\r\n\t\t\t\x3cdiv data-dojo-attach-point\x3d"zAxisSortDiv" class\x3d"z-axis-container td-item feature-mode-sort"\x3e\r\n\t\t\t\t\x3cdiv style\x3d"width: 39px;" class\x3d"flex-sb-center" data-dojo-attach-event\x3d"click:_onSortBtnClicked" data-dojo-attach-point\x3d"zSortBtn"\x3e\r\n\t\t\t\t\t\x3cdiv class\x3d"sort-icon asc selected"\x3e\x3c/div\x3e\r\n\t\t\t\t\t\x3cdiv class\x3d"sort-icon desc"\x3e\x3c/div\x3e\r\n\t\t\t\t\x3c/div\x3e\t\t\t\t\r\n\t\t\t\x3c/div\x3e\r\n\t\t\x3c/div\x3e\r\n\t\x3c/div\x3e\r\n\r\n\r\n\x3c/div\x3e',
"url:widgets/Infographic/setting/dijitsSetting/_dijits/SeriesStyle/SeriesStyle.html":'\x3cdiv style\x3d"width: 100%;flex: 0 0 100%;"\x3e\r\n\r\n\t\x3cdiv class\x3d"top"\x3e\r\n\t\t\x3cdiv class\x3d"flex-lr-balance title"\x3e${nls.chartColor}\x3c/div\x3e\r\n      \x3cdiv class\x3d"hide" data-dojo-attach-point\x3d"headerColorDiv" style\x3d"width:100%;"\x3e\x3c/div\x3e\r\n\t\x3c/div\x3e\r\n\r\n\t\x3cdiv data-dojo-attach-point\x3d"radioPanel" class\x3d"radio-panel hide"\x3e\r\n\r\n\t\t\x3cdiv data-dojo-attach-point\x3d"symbolRadioPanel" class\x3d"single-radio-panel first-radio hide"\x3e\r\n\t\t   \x3cinput data-dojo-attach-point\x3d"useLayerSymbolRadio" data-dojo-attach-event\x3d"change:_onRadioChanged" name\x3d"chartColor" data-dojo-type\x3d"dijit/form/RadioButton"\x3e\r\n   \t\t\x3clabel for\x3d"useLayerSymbolRadio" class\x3d"marginleft10 AgePyramid_Comparisontext-over radio-label" title\x3d"${nls.useLayerSymbology}"\x3e${nls.useLayerSymbology}\x3c/label\x3e\r\n\t\t\x3c/div\x3e\r\n\r\n      \x3cdiv data-dojo-attach-point\x3d"seriesRadioPanel" class\x3d"single-radio-panel second-radio"\x3e\r\n\r\n         \x3cdiv class\x3d"single-radio-panel flex-lr-balance"\x3e\r\n            \x3cinput data-dojo-attach-point\x3d"seriesRadio" name\x3d"chartColor" data-dojo-type\x3d"dijit/form/RadioButton" data-dojo-attach-event\x3d"change:_onRadioChanged"\x3e\r\n            \x3clabel data-dojo-attach-point\x3d"seriesRadioLabel" class\x3d"marginleft10 text-over radio-label" title\x3d"${nls.setColor}"\x3e${nls.setColor}\x3c/label\x3e\r\n         \x3c/div\x3e\r\n\r\n         \x3cdiv data-dojo-attach-point\x3d"radioColorDiv" class\x3d"radio-single-color-div flex-lr-balance hide"\x3e\x3c/div\x3e\r\n      \x3c/div\x3e\r\n\t\t\r\n      \x3cdiv data-dojo-attach-point\x3d"customRadioPanel" class\x3d"single-radio-panel third-radio hide"\x3e\r\n         \x3cdiv class\x3d"single-radio-panel flex-lr-balance"\x3e\r\n            \x3cinput data-dojo-attach-point\x3d"customColorRadio" name\x3d"chartColor" data-dojo-type\x3d"dijit/form/RadioButton" data-dojo-attach-event\x3d"change:_onRadioChanged"\x3e\r\n            \x3clabel for\x3d"customColorRadio" class\x3d"marginleft10 text-over radio-label" title\x3d"${nls.customColorByCategory}"\x3e${nls.customColorByCategory}\x3c/label\x3e\r\n         \x3c/div\x3e\r\n\r\n         \x3cdiv data-dojo-attach-event\x3d"click:_onCustomToggleButtonClicked" data-dojo-attach-point\x3d"toggleIconDiv" class\x3d"toggle-icon-div flex-lr-balance hide"\x3e\r\n            \x3cdiv data-dojo-attach-point\x3d"toggleIcon" class\x3d"toggle-icon"\x3e\x3c/div\x3e\r\n         \x3c/div\x3e\r\n      \x3c/div\x3e\r\n\t\x3c/div\x3e\r\n\r\n   \x3cdiv data-dojo-attach-point\x3d"fieldColors" class\x3d"field-colors hide"\x3e\x3c/div\x3e\r\n\r\n   \x3cdiv data-dojo-attach-point\x3d"customColors" class\x3d"custom-colors indentation hide"\x3e\x3c/div\x3e\r\n\r\n\x3c/div\x3e',
"url:widgets/Infographic/setting/dijitsSetting/_dijits/SeriesStyle/_SeriesStyleItem.html":'\x3cdiv style\x3d"width:100%;" class\x3d"field-color"\x3e\r\n   \x3cdiv data-dojo-attach-point\x3d"textContainer" class\x3d"flex-balance-shrink1 field-name"\x3e\r\n   \t\x3cdiv data-dojo-attach-point\x3d"textDiv" class\x3d"text-over field-name-div"\x3e\x3c/div\x3e\r\n   \x3c/div\x3e\r\n   \x3cdiv data-dojo-attach-point\x3d"rightPanel" class\x3d"field-color-right flex-balance-shrink1"\x3e\r\n      \x3cdiv data-dojo-attach-point\x3d"colorDiv" class\x3d"color"\x3e\x3c/div\x3e\r\n      \x3cdiv data-dojo-attach-point\x3d"opacityDiv" class\x3d"opacity"\x3e\x3c/div\x3e\r\n   \x3c/div\x3e\r\n\x3c/div\x3e',
"url:widgets/Infographic/setting/dijitsSetting/_dijits/ChartColorSetting.html":'\x3cdiv\x3e\r\n  \x3cdiv data-dojo-attach-point\x3d"singleColorSection"\x3e\x3c/div\x3e\r\n  \x3cdiv data-dojo-attach-point\x3d"colorSelect" class\x3d"restrict-select-width" data-dojo-type\x3d"dijit/form/Select" data-dojo-attach-event\x3d"change:_onColorSelectChanged" style\x3d"width:100%;height:30x;"\x3e\r\n    \x3cspan data-dojo-value\x3d\'c0\'\x3e\r\n      \x3cimg  style\x3d"width:100%;height:20px;vertical-align: middle;margin-top: 1px;margin-bottom:1px;" src\x3d"${jimuUrl}/css/images/chart/c0.png" /\x3e\r\n    \x3c/span\x3e\r\n    \x3cspan data-dojo-value\x3d\'c1\'\x3e\r\n      \x3cimg  style\x3d"width:100%;height:20px;vertical-align: middle;margin-top: 1px;margin-bottom:1px;" src\x3d"${jimuUrl}/css/images/chart/c1.png" /\x3e\r\n    \x3c/span\x3e\r\n    \x3cspan data-dojo-value\x3d\'c2\'\x3e\r\n      \x3cimg  style\x3d"width:100%;height:20px;vertical-align: middle;margin-top: 1px;margin-bottom:1px;" src\x3d"${jimuUrl}/css/images/chart/c2.png" /\x3e\r\n    \x3c/span\x3e\r\n    \x3cspan data-dojo-value\x3d\'c3\'\x3e\r\n      \x3cimg  style\x3d"width:100%;height:20px;vertical-align: middle;margin-top: 1px;margin-bottom:1px;" src\x3d"${jimuUrl}/css/images/chart/c3.png" /\x3e\r\n    \x3c/span\x3e\r\n    \x3cspan data-dojo-value\x3d\'c4\'\x3e\r\n      \x3cimg  style\x3d"width:100%;height:20px;vertical-align: middle;margin-top: 1px;margin-bottom:1px;" src\x3d"${jimuUrl}/css/images/chart/c4.png" /\x3e\r\n    \x3c/span\x3e\r\n    \x3cspan data-dojo-value\x3d\'g1\'\x3e\r\n      \x3cimg  style\x3d"width:100%;height:20px;vertical-align: middle;margin-top: 1px;margin-bottom:1px;" src\x3d"${jimuUrl}/css/images/chart/g1.png" /\x3e\r\n    \x3c/span\x3e\r\n    \x3cspan data-dojo-value\x3d\'g2\'\x3e\r\n      \x3cimg  style\x3d"width:100%;height:20px;vertical-align: middle;margin-top: 1px;margin-bottom:1px;" src\x3d"${jimuUrl}/css/images/chart/g2.png" /\x3e\r\n    \x3c/span\x3e\r\n    \x3cspan data-dojo-value\x3d\'g3\'\x3e\r\n      \x3cimg  style\x3d"width:100%;height:20px;vertical-align: middle;margin-top: 1px;margin-bottom:1px;" src\x3d"${jimuUrl}/css/images/chart/g3.png" /\x3e\r\n    \x3c/span\x3e\r\n    \x3cspan data-dojo-value\x3d\'g4\'\x3e\r\n      \x3cimg  style\x3d"width:100%;height:20px;vertical-align: middle;margin-top: 1px;margin-bottom:1px;" src\x3d"${jimuUrl}/css/images/chart/g4.png" /\x3e\r\n    \x3c/span\x3e\r\n    \x3cspan data-dojo-value\x3d\'g5\'\x3e\r\n      \x3cimg  style\x3d"width:100%;height:20px;vertical-align: middle;margin-top: 1px;margin-bottom:1px;" src\x3d"${jimuUrl}/css/images/chart/g5.png" /\x3e\r\n    \x3c/span\x3e\r\n    \x3cspan data-dojo-value\x3d\'g6\'\x3e\r\n      \x3cimg  style\x3d"width:100%;height:20px;vertical-align: middle;margin-top: 1px;margin-bottom:1px;" src\x3d"${jimuUrl}/css/images/chart/g6.png" /\x3e\r\n    \x3c/span\x3e\r\n    \x3cspan data-dojo-value\x3d\'g7\'\x3e\r\n      \x3cimg  style\x3d"width:100%;height:20px;vertical-align: middle;margin-top: 1px;margin-bottom:1px;" src\x3d"${jimuUrl}/css/images/chart/g7.png" /\x3e\r\n    \x3c/span\x3e\r\n    \x3cspan data-dojo-value\x3d\'g8\'\x3e\r\n      \x3cimg  style\x3d"width:100%;height:20px;vertical-align: middle;margin-top: 1px;margin-bottom:1px;" src\x3d"${jimuUrl}/css/images/chart/g8.png" /\x3e\r\n    \x3c/span\x3e\r\n    \x3cspan data-dojo-value\x3d\'g9\'\x3e\r\n      \x3cimg  style\x3d"width:100%;height:20px;vertical-align: middle;margin-top: 1px;margin-bottom:1px;" src\x3d"${jimuUrl}/css/images/chart/g9.png" /\x3e\r\n    \x3c/span\x3e\r\n    \x3cspan data-dojo-value\x3d\'g10\'\x3e\r\n      \x3cimg  style\x3d"width:100%;height:20px;vertical-align: middle;margin-top: 1px;margin-bottom:1px;" src\x3d"${jimuUrl}/css/images/chart/g10.png" /\x3e\r\n    \x3c/span\x3e\r\n    \x3cspan data-dojo-value\x3d\'g11\'\x3e\r\n      \x3cimg  style\x3d"width:100%;height:20px;vertical-align: middle;margin-top: 1px;margin-bottom:1px;" src\x3d"${jimuUrl}/css/images/chart/g11.png" /\x3e\r\n    \x3c/span\x3e\r\n    \x3cspan data-dojo-value\x3d\'g12\'\x3e\r\n      \x3cimg  style\x3d"width:100%;height:20px;vertical-align: middle;margin-top: 1px;margin-bottom:1px;" src\x3d"${jimuUrl}/css/images/chart/g12.png" /\x3e\r\n    \x3c/span\x3e\r\n  \x3c/div\x3e\r\n\x3c/div\x3e',
"url:widgets/Infographic/setting/dijitsSetting/_dijits/SeriesStyle/CustomColor.html":'\x3cdiv\x3e\r\n\r\n   \x3cdiv class\x3d"header"\x3e\r\n      \x3cdiv class\x3d"color-choose"\x3e\r\n         \x3cdiv class\x3d"text-label color-text text-over" title\x3d"${nls.colorSchema}"\x3e${nls.colorSchema}\x3c/div\x3e\r\n         \x3cdiv data-dojo-attach-point\x3d"colorsPickerDiv" class\x3d"colors-picker"\x3e\x3c/div\x3e\r\n      \x3c/div\x3e\r\n   \x3c/div\x3e\r\n\r\n   \x3cdiv data-dojo-attach-point\x3d"content" class\x3d"content"\x3e\x3c/div\x3e\r\n\r\n   \x3cdiv class\x3d"bottom"\x3e\r\n      \x3cdiv data-dojo-attach-point\x3d"dispatchAdd" class\x3d"add-dispatch"\x3e\r\n        \x3cdiv class\x3d"disptch-div" data-dojo-attach-event\x3d"click:_onAddCategoryClick" title\x3d"${nls.addCategory}"\x3e\r\n           \x3cdiv class\x3d"disptch-add-icon"\x3e\x3c/div\x3e\r\n           \x3cdiv class\x3d"disptch-add-text"\x3e${nls.addCategory}\x3c/div\x3e\r\n        \x3c/div\x3e\r\n      \x3c/div\x3e\r\n      \x3cdiv data-dojo-attach-point\x3d"actionAdd" class\x3d"add-action hide"\x3e\r\n        \x3cdiv class\x3d"category-tip textOverFlow" title\x3d"${nls.category}"\x3e${nls.category}\x3c/div\x3e\r\n\r\n        \x3cdiv data-dojo-attach-point\x3d"addActionDiv" class\x3d"add-action-div"\x3e\r\n            \x3cdiv data-dojo-attach-point\x3d"colorDiv" class\x3d"color-div"\x3e\x3c/div\x3e\r\n            \x3cdiv class\x3d"action-button-container" data-dojo-attach-event\x3d"click:_onDoAddClick" title\x3d"${nls.ok}"\x3e\r\n               \x3cdiv class\x3d"action-btn add-btn"\x3e\x3c/div\x3e\r\n            \x3c/div\x3e\r\n            \x3cdiv class\x3d"action-button-container" data-dojo-attach-event\x3d"click:_onCancelClick" title\x3d"${nls.cancel}"\x3e\r\n               \x3cdiv class\x3d"action-btn cancel-btn"\x3e\x3c/div\x3e\r\n            \x3c/div\x3e\r\n        \x3c/div\x3e\r\n       \r\n      \x3c/div\x3e\r\n   \x3c/div\x3e\r\n\x3c/div\x3e',
"url:widgets/Infographic/setting/dijitsSetting/_dijits/SeriesStyle/CustomColorItem.html":'\x3cdiv\x3e\r\n\t\x3cdiv  class\x3d"text-container"\x3e\r\n\t\t\x3cdiv data-dojo-attach-point\x3d"textDiv" class\x3d"category-text-div text-over"\x3e\x3c/div\x3e\r\n\t\x3c/div\x3e\r\n\r\n\t\x3cdiv data-dojo-attach-point\x3d"labelContainer" class\x3d"label-container"\x3e\r\n\t\t\x3cdiv data-dojo-attach-point\x3d"labelPart" class\x3d"label-part"\x3e\r\n\t\t\t\x3cdiv data-dojo-attach-event\x3d"click:_onEditClicked" data-dojo-attach-point\x3d"labelDiv" class\x3d"label-div text-over" title\x3d"${nls.clickToEdit}"\x3e\x3c/div\x3e\r\n\t\t\x3c/div\x3e\r\n\r\n\t\t\x3cdiv data-dojo-attach-point\x3d"editPart" class\x3d"edit-part hide"\x3e\r\n\t\t\t\x3cinput class\x3d"edit-input" data-dojo-type\x3d"dijit/form/ValidationTextBox" data-dojo-props\x3d"intermediateChanges:false" data-dojo-attach-event\x3d"blur:_onEditInputBlured" data-dojo-attach-point\x3d"editInput" required type\x3d"text"\x3e\r\n\t\t\x3c/div\x3e\r\n\t\x3c/div\x3e\r\n\t\x3cdiv class\x3d"action-container"\x3e\r\n\t\t\x3cdiv data-dojo-attach-point\x3d"colorDiv" class\x3d"color-div"\x3e\x3c/div\x3e\r\n\t\t\x3cdiv data-dojo-attach-point\x3d"deleteBtn" data-dojo-attach-event\x3d"click:_onDeleteClick" class\x3d"delete-icon" title\x3d"${nls.deleteText}" \x3e\x3c/div\x3e\r\n\t\x3c/div\x3e\r\n\x3c/div\x3e',
"url:widgets/Infographic/setting/dijitsSetting/_dijits/Mark/Marks.html":'\x3cdiv\x3e\r\n\t\r\n\t\x3cdiv class\x3d"mark-add-ct"\x3e\r\n\t\t\x3cdiv data-dojo-attach-event\x3d"click:_onAddMarkLineClicked" class\x3d"mark-add-ct-left" title\x3d"${nls.addMarkLine}"\x3e\r\n\t\t\t\x3cdiv class\x3d"icon-add-mark"\x3e\x3c/div\x3e\r\n\t\t\t\x3cdiv class\x3d"text-add-mark textOverFlow"\x3e${nls.addMarkLine}\x3c/div\x3e\r\n\t\t\x3c/div\x3e\r\n\t\t\x3cdiv data-dojo-attach-event\x3d"click:_onAddMarkAreaClicked" class\x3d"mark-add-ct-right" title\x3d"${nls.addMarkArea}"\x3e\r\n\t\t\t\x3cdiv class\x3d"icon-add-mark"\x3e\x3c/div\x3e\r\n\t\t\t\x3cdiv class\x3d"text-add-mark textOverFlow" title\x3d"${nls.addMarkArea}"\x3e${nls.addMarkArea}\x3c/div\x3e\r\n\t\t\x3c/div\x3e\r\n\t\x3c/div\x3e\r\n\r\n    \x3cdiv class\x3d"marks-ct" data-dojo-attach-point\x3d"marksContainer"\x3e\x3c/div\x3e\r\n\x3c/div\x3e',
"url:widgets/Infographic/setting/dijitsSetting/_dijits/Mark/Mark.html":'\x3cdiv\x3e\r\n\t\x3cdiv data-dojo-attach-point\x3d"header" data-dojo-attach-event\x3d"click:_onArrowClicked" class\x3d"header fx-sb"\x3e\r\n\t\t\x3cdiv  data-dojo-attach-point\x3d"title" class\x3d"text textOverFlow"\x3e\x3c/div\x3e\r\n\t\t\x3cdiv class\x3d"actions fx-sa"\x3e\r\n\t\t\t\x3cdiv data-dojo-attach-point\x3d"arrow" class\x3d"icon-ct arrow-up"\x3e\x3c/div\x3e\r\n\t\t\t\x3cdiv data-dojo-attach-event\x3d"click:_onDeleteClicked" class\x3d"icon-ct delete"\x3e\x3c/div\x3e\r\n\t\t\x3c/div\x3e\r\n\t\x3c/div\x3e\r\n\t\x3cdiv data-dojo-attach-point\x3d"content" class\x3d"mark-content"\x3e\x3c/div\x3e\r\n\x3c/div\x3e',
"url:widgets/Infographic/setting/dijitsSetting/_dijits/Mark/MarkLine.html":'\x3cdiv\x3e\r\n\t\x3cdiv class\x3d"mark-row"\x3e\r\n\t\t\x3cdiv class\x3d"mark-col"\x3e${nls.valueString}\x3c/div\x3e\r\n\t\t\x3cdiv class\x3d"mark-col"\x3e\r\n\t\t\t\x3cinput class\x3d"mark-input"  data-dojo-type\x3d"dijit/form/NumberTextBox" required data-dojo-attach-point\x3d"valueInput" data-dojo-attach-event\x3d"change:_onValueChanged" /\x3e\r\n\t\t\x3c/div\x3e\r\n\t\x3c/div\x3e\r\n\r\n\t\x3cdiv class\x3d"mark-row"\x3e\r\n\t\t\x3cdiv class\x3d"mark-col"\x3e${nls.labelString}\x3c/div\x3e\r\n\t\t\x3cdiv class\x3d"mark-col"\x3e\r\n\t\t\t\x3cinput class\x3d"mark-input" data-dojo-type\x3d"dijit/form/TextBox" data-dojo-attach-point\x3d"labelInput" data-dojo-attach-event\x3d"change:_onChange" /\x3e\r\n\t\t\x3c/div\x3e\r\n\t\x3c/div\x3e\r\n\r\n\t\x3cdiv class\x3d"mark-row"\x3e\r\n\t\t\x3cdiv class\x3d"mark-col"\x3e${nls.labelColor}\x3c/div\x3e\r\n\t\t\x3cdiv class\x3d"mark-col"\x3e\r\n\t\t\t\x3cdiv data-dojo-attach-point\x3d"labelColor" data-dojo-type\x3d"widgets/Infographic/setting/dijitsSetting/_dijits/ChartColorSetting"  data-dojo-attach-event\x3d"change:_onChange"\x3e\x3c/div\x3e\r\n\t\t\x3c/div\x3e\r\n\t\x3c/div\x3e\r\n\r\n\t\x3cdiv class\x3d"mark-row"\x3e\r\n\t\t\x3cdiv class\x3d"mark-col"\x3e${nls.labelPosition}\x3c/div\x3e\r\n\t\t\x3cdiv class\x3d"mark-col"\x3e\r\n\t\t\t\x3cdiv class\x3d"flex-center-sb line-pos"\x3e\r\n\t\t\t\t\x3cdiv data-dojo-attach-point\x3d"posStart" data-dojo-attach-event\x3d"click:_onPosStartClicked" class\x3d"box box-3 box-style textOverFlow jimu-auto-vertical" title\x3d"${nls.start}"\x3e${nls.start}\x3c/div\x3e\r\n\t\t\t\t\x3cdiv data-dojo-attach-point\x3d"posMiddle" data-dojo-attach-event\x3d"click:_onPosMiddleClicked" class\x3d"box box-3 box-style textOverFlow jimu-auto-vertical" title\x3d"${nls.middle}"\x3e${nls.middle}\x3c/div\x3e\r\n\t\t\t\t\x3cdiv data-dojo-attach-point\x3d"posEnd" data-dojo-attach-event\x3d"click:_onPosEndClicked" class\x3d"box box-3 box-style textOverFlow jimu-auto-vertical" title\x3d"${nls.end}"\x3e${nls.end}\x3c/div\x3e\r\n\t\t\t\x3c/div\x3e\r\n\t\t\x3c/div\x3e\r\n\t\x3c/div\x3e\r\n\r\n\t\x3cdiv class\x3d"mark-row"\x3e\r\n\t\t\x3cdiv class\x3d"mark-col"\x3e${nls.lineColor}\x3c/div\x3e\r\n\t\t\x3cdiv class\x3d"mark-col"\x3e\r\n\t\t\t\x3cdiv data-dojo-attach-point\x3d"lineColor" data-dojo-type\x3d"widgets/Infographic/setting/dijitsSetting/_dijits/ChartColorSetting" data-dojo-attach-event\x3d"change:_onChange"\x3e\x3c/div\x3e\r\n\t\t\x3c/div\x3e\r\n\t\x3c/div\x3e\r\n\r\n\t\x3cdiv class\x3d"mark-row"\x3e\r\n\t\t\x3cdiv class\x3d"mark-col"\x3e${nls.lineWidth}\x3c/div\x3e\r\n\t\t\x3cdiv data-dojo-attach-point\x3d"lineWidthSliderDiv" class\x3d"mark-col"\x3e\x3c/div\x3e\r\n\t\x3c/div\x3e\r\n\r\n\t\x3cdiv class\x3d"mark-row"\x3e\r\n\t\t\x3cdiv class\x3d"mark-col"\x3e${nls.dashType}\x3c/div\x3e\r\n\t\t\x3cdiv class\x3d"mark-col"\x3e\r\n\t\t\t\x3cdiv data-dojo-attach-point\x3d"dashType" data-dojo-type\x3d"widgets/Infographic/setting/dijitsSetting/_dijits/Mark/DashTypeSelect" data-dojo-props\x3d"folderUrl:\'${folderUrl}\'" data-dojo-attach-event\x3d"change:_onChange"\x3e\x3c/div\x3e\r\n\t\t\x3c/div\x3e\r\n\t\x3c/div\x3e\r\n\r\n\x3c/div\x3e',
"url:widgets/Infographic/setting/dijitsSetting/_dijits/Mark/DashTypeSelect.html":'\x3cdiv\x3e\r\n  \x3cdiv data-dojo-attach-point\x3d"dashSelect" class\x3d"restrict-select-width" data-dojo-type\x3d"dijit/form/Select" data-dojo-attach-event\x3d"change:_onDashTypeChanged" style\x3d"width:100%;height:30x;"\x3e\r\n    \x3cspan style\x3d"width: 100%" data-dojo-value\x3d\'solid\'\x3e\r\n      \x3cimg  style\x3d"width:100%;vertical-align: middle;margin-top: 1px;margin-bottom:1px;" src\x3d"${folderUrl}/setting/css/images/line-solid.png" /\x3e\r\n    \x3c/span\x3e\r\n    \x3cspan style\x3d"width: 100%" data-dojo-value\x3d\'dashed\'\x3e\r\n      \x3cimg  style\x3d"width:100%;vertical-align: middle;margin-top: 1px;margin-bottom:1px;" src\x3d"${folderUrl}/setting/css/images/line-dashed.png" /\x3e\r\n    \x3c/span\x3e\r\n    \x3cspan style\x3d"width: 100%" data-dojo-value\x3d\'dotted\'\x3e\r\n      \x3cimg  style\x3d"width:100%;vertical-align: middle;margin-top: 1px;margin-bottom:1px;" src\x3d"${folderUrl}/setting/css/images/line-dotted.png" /\x3e\r\n    \x3c/span\x3e\r\n  \x3c/div\x3e\r\n\x3c/div\x3e',
"url:widgets/Infographic/setting/dijitsSetting/_dijits/Mark/MarkArea.html":'\x3cdiv\x3e\r\n\t\x3cdiv class\x3d"mark-row"\x3e\r\n\t\t\x3cdiv class\x3d"mark-col"\x3e${nls.valueString}\x3c/div\x3e\r\n\t\t\x3cdiv class\x3d"mark-col"\x3e\r\n\t\t\t\x3cdiv class\x3d"text-2-text"\x3e\r\n\t\t\t\t\x3cinput class\x3d"mark-input text-2" data-dojo-type\x3d"dijit/form/NumberTextBox" required  data-dojo-attach-point\x3d"valInput1" data-dojo-attach-event\x3d"change:_onValueChanged" /\x3e\r\n\t\t\t\t\x3cdiv class\x3d"t-to-t textOverFlow" title\x3d"${nls.toString}"\x3e${nls.toString}\x3c/div\x3e\r\n\t\t\t\t\x3cinput class\x3d"mark-input text-2" data-dojo-type\x3d"dijit/form/NumberTextBox" required  data-dojo-attach-point\x3d"valInput2" data-dojo-attach-event\x3d"change:_onValueChanged" /\x3e\r\n\t\t\t\x3c/div\x3e\r\n\t\t\x3c/div\x3e\r\n\t\x3c/div\x3e\r\n\r\n\t\x3cdiv class\x3d"mark-row"\x3e\r\n\t\t\x3cdiv class\x3d"mark-col"\x3e${nls.labelString}\x3c/div\x3e\r\n\t\t\x3cdiv class\x3d"mark-col"\x3e\r\n\t\t\t\x3cinput class\x3d"mark-input" data-dojo-type\x3d"dijit/form/TextBox" data-dojo-attach-point\x3d"labelInput" data-dojo-attach-event\x3d"change:_onChange" /\x3e\r\n\t\t\x3c/div\x3e\r\n\t\x3c/div\x3e\r\n\r\n\t\x3cdiv class\x3d"mark-row"\x3e\r\n\t\t\x3cdiv class\x3d"mark-col"\x3e${nls.labelColor}\x3c/div\x3e\r\n\t\t\x3cdiv class\x3d"mark-col"\x3e\r\n\t\t\t\x3cdiv data-dojo-attach-point\x3d"labelColor" data-dojo-type\x3d"widgets/Infographic/setting/dijitsSetting/_dijits/ChartColorSetting" data-dojo-attach-event\x3d"change:_onChange"\x3e\x3c/div\x3e\r\n\t\t\x3c/div\x3e\r\n\t\x3c/div\x3e\r\n\r\n\t\x3cdiv class\x3d"mark-row"\x3e\r\n\t\t\x3cdiv class\x3d"mark-col"\x3e${nls.labelPosition}\x3c/div\x3e\r\n\t\t\x3cdiv class\x3d"mark-col flex-center-sb"\x3e\r\n\t\t\t\x3cdiv class\x3d"left-pos"\x3e\r\n\t\t\t\t\x3cselect data-dojo-attach-point\x3d"posSelect" data-dojo-type\x3d"dijit/form/Select" data-dojo-attach-event\x3d"change:_onChange" class\x3d"restrict-select-width mark-select-width"\x3e\r\n\t\t\t\t\t\x3coption value\x3d"left"\x3e${nls.left}\x3c/option\x3e\r\n\t\t\t\t\t\x3coption value\x3d"top"\x3e${nls.top}\x3c/option\x3e\r\n\t\t\t\t\t\x3coption value\x3d"right"\x3e${nls.right}\x3c/option\x3e\r\n\t\t\t\t\t\x3coption value\x3d"bottom"\x3e${nls.bottom}\x3c/option\x3e\r\n\t\t\t\t\x3c/select\x3e\r\n\t\t\t\x3c/div\x3e\r\n\t\t\t\x3cdiv class\x3d"right-loc flex-center-sb"\x3e\r\n\t\t\t\t\x3cdiv data-dojo-attach-point\x3d"insideBtn" data-dojo-attach-event\x3d"click:_oninsideClicked" class\x3d"box box-2 box-style textOverFlow jimu-auto-vertical" title\x3d"${nls.inString}"\x3e${nls.inString}\x3c/div\x3e\r\n\t\t\t\t\x3cdiv data-dojo-attach-event\x3d"click:_onoutsideClicked" data-dojo-attach-point\x3d"outsideBtn" class\x3d"box box-2 box-style clear-left-border textOverFlow jimu-auto-vertical" title\x3d"${nls.outString}"\x3e${nls.outString}\x3c/div\x3e\r\n\t\t\t\x3c/div\x3e\r\n\t\t\x3c/div\x3e\r\n\t\x3c/div\x3e\r\n\r\n\t\x3cdiv class\x3d"mark-row"\x3e\r\n\t\t\x3cdiv class\x3d"mark-col"\x3e${nls.areaColor}\x3c/div\x3e\r\n\t\t\x3cdiv class\x3d"mark-col flex-center-sb"\x3e\r\n\t\t\t\x3cdiv class\x3d"left-clr"\x3e\r\n\t\t\t\t\x3cdiv data-dojo-attach-point\x3d"areaColor" data-dojo-type\x3d"widgets/Infographic/setting/dijitsSetting/_dijits/ChartColorSetting" data-dojo-attach-event\x3d"change:_onChange"\x3e\x3c/div\x3e\r\n\t\t\t\x3c/div\x3e\r\n\t\t\t\x3cdiv data-dojo-attach-point\x3d"opacityDiv" class\x3d"right-opa"\x3e\x3c/div\x3e\r\n\t\t\x3c/div\x3e\r\n\t\x3c/div\x3e\r\n\r\n\x3c/div\x3e',
"url:jimu/dijit/templates/_DataFields.html":'\x3cdiv\x3e\r\n\t\x3cdiv data-dojo-attach-point\x3d"fieldsContent" class\x3d"fields-content"\x3e\r\n\t\x3c/div\x3e\r\n\t\x3cdiv class\x3d"operation"\x3e\r\n\t\t\x3cdiv data-dojo-attach-point\x3d"btnUp" data-dojo-attach-event\x3d"onclick:_moveUp" class\x3d"jimu-icon jimu-icon-up" title\x3d"${nls.moveUp}"\x3e\x3c/div\x3e\r\n\t\t\x3cdiv data-dojo-attach-point\x3d"btnDown" data-dojo-attach-event\x3d"onclick:_moveDown" class\x3d"jimu-icon jimu-icon-down" title\x3d"${nls.moveDown}"\x3e\x3c/div\x3e\r\n\t\x3c/div\x3e\r\n\x3c/div\x3e',
"url:widgets/Infographic/setting/dijitsSetting/GaugeDijitSetting.html":'\x3cdiv\x3e\r\n  \x3cdiv data-dojo-attach-point\x3d"settingTitle" class\x3d"flex-lc text-label setting-title"\x3e${nls.gaugeSettings}\x3c/div\x3e\r\n  \x3cdiv class\x3d"infohraphic-setting-tab-container" style\x3d"width:100%;"\x3e\r\n    \x3cdiv data-dojo-attach-point\x3d"tabNode" class\x3d"infohraphic-setting-tab-container"\x3e\x3c/div\x3e\r\n    \x3c!-- data tab --\x3e\r\n    \x3cdiv style\x3d"margin-top: 10px;" class\x3d"setting-tab" data-dojo-attach-point\x3d"dataTab"\x3e\r\n      \x3cdiv class\x3d"value-container" data-dojo-attach-point\x3d"valueContainer"\x3e\x3c/div\x3e\r\n      \x3cdiv class\x3d"min-container" data-dojo-attach-point\x3d"minContainer"\x3e\x3c/div\x3e\r\n      \x3cdiv data-dojo-attach-point\x3d"maxContainer"\x3e\x3c/div\x3e\r\n    \x3c/div\x3e\r\n    \x3c!-- display tab --\x3e\r\n    \x3cdiv style\x3d"margin-top: 20px;" data-dojo-attach-point\x3d"display" class\x3d"display-container paddingRight10"\x3e\r\n\r\n      \x3cdiv class\x3d"flex flex-leave1 align-items-center"\x3e\r\n        \x3cdiv class\x3d"flex-leave2-left textOverFlow font-style" title\x3d"${nls.backgroundColor}"\x3e${nls.backgroundColor}\x3c/div\x3e\r\n         \x3cdiv class\x3d"flex flex-leave2-right"\x3e\r\n           \x3cdiv data-dojo-attach-point\x3d"backgroundColorPickerDiv"\x3e\x3c/div\x3e\r\n         \x3c/div\x3e\r\n      \x3c/div\x3e\r\n      \r\n      \x3cdiv class\x3d"flex flex-leave1 margin-top-11 align-items-center"\x3e\r\n        \x3cdiv class\x3d"flex-leave2-left textOverFlow font-style" title\x3d"${nls.gaugeColor}"\x3e${nls.gaugeColor}\x3c/div\x3e\r\n         \x3cdiv class\x3d"flex flex-leave2-right"\x3e\r\n         \x3c/div\x3e\r\n      \x3c/div\x3e\r\n\r\n      \x3cdiv class\x3d"flex flex-leave1 margin-top-11 align-items-center"\x3e\r\n        \x3cdiv class\x3d"flex-leave2-left textOverFlow font-style" title\x3d"${nls.gaugeColor}"\x3e${nls.front}\x3c/div\x3e\r\n         \x3cdiv class\x3d"flex flex-leave2-right"\x3e\r\n           \x3cdiv data-dojo-attach-point\x3d"frontColorPickerDiv"\x3e\x3c/div\x3e\r\n         \x3c/div\x3e\r\n      \x3c/div\x3e\r\n\r\n      \x3cdiv class\x3d"flex flex-leave1 margin-top-11 align-items-center"\x3e\r\n        \x3cdiv class\x3d"flex-leave2-left textOverFlow font-style" title\x3d"${nls.gaugeColor}"\x3e${nls.back}\x3c/div\x3e\r\n         \x3cdiv class\x3d"flex flex-leave2-right"\x3e\r\n           \x3cdiv data-dojo-attach-point\x3d"backColorPickerDiv"\x3e\x3c/div\x3e\r\n         \x3c/div\x3e\r\n      \x3c/div\x3e\r\n\r\n\r\n      \x3cdiv data-dojo-attach-point\x3d"dataLabelsToggle" class\x3d"margin-top-11"\x3e\x3c/div\x3e\r\n      \x3cdiv data-dojo-attach-point\x3d"dataLabelsSettingNode" class\x3d"top-bottom-setting-div"\x3e\r\n\r\n        \x3cdiv class\x3d"flex flex-leave1 margin-top-11 align-items-center"\x3e\r\n          \x3cdiv class\x3d"flex-leave2-left textOverFlow font-style" title\x3d"${nls.textColor}"\x3e${nls.textColor}\x3c/div\x3e\r\n           \x3cdiv class\x3d"flex flex-leave2-right"\x3e\r\n             \x3cdiv data-dojo-attach-point\x3d"dataLabelsColorPickerNode"\x3e\x3c/div\x3e\r\n           \x3c/div\x3e\r\n        \x3c/div\x3e\r\n\r\n        \x3cdiv class\x3d"flex flex-leave1 margin-top-11 align-items-center"\x3e\r\n          \x3cdiv class\x3d"flex-leave2-left textOverFlow font-style" title\x3d"${nls.use1000Separator}"\x3e${nls.use1000Separator}\x3c/div\x3e\r\n           \x3cdiv class\x3d"flex flex-leave2-right"\x3e\r\n             \x3cdiv data-dojo-attach-point\x3d"separatorSwitch" class\x3d"toggle toggle-on"\x3e\x3c/div\x3e\r\n           \x3c/div\x3e\r\n        \x3c/div\x3e\r\n\r\n        \x3cdiv class\x3d"flex flex-leave1 margin-top-11 align-items-center"\x3e\r\n          \x3cdiv class\x3d"flex-leave2-left textOverFlow font-style" title\x3d"${nls.dataRange}"\x3e${nls.dataRange}\x3c/div\x3e\r\n           \x3cdiv class\x3d"flex flex-leave2-right"\x3e\r\n             \x3cdiv data-dojo-attach-point\x3d"dataRangeSwitch" class\x3d"toggle toggle-on"\x3e\x3c/div\x3e\r\n           \x3c/div\x3e\r\n        \x3c/div\x3e\r\n        \r\n        \x3cdiv class\x3d"flex flex-leave1 margin-top-11 align-items-center"\x3e\r\n          \x3cdiv class\x3d"flex-leave2-left textOverFlow font-style" title\x3d"${nls.targetValue}"\x3e\x3cdiv\x3e${nls.targetValue}\x3c/div\x3e\x3c/div\x3e\r\n           \x3cdiv class\x3d"flex flex-leave2-right"\x3e\r\n             \x3cdiv data-dojo-attach-point\x3d"targetValueSwitch" class\x3d"toggle toggle-off"\x3e\x3c/div\x3e\r\n           \x3c/div\x3e\r\n        \x3c/div\x3e\r\n\r\n      \x3c/div\x3e\r\n\r\n      \x3cdiv data-dojo-attach-point\x3d"currentValueToggle"\x3e\x3c/div\x3e\r\n      \x3cdiv data-dojo-attach-point\x3d"currentValueSettingNode"\x3e\r\n        \x3c!-- display in --\x3e\r\n        \x3cdiv style\x3d"margin-top: 15px" class\x3d"flex flex-leave1"\x3e\r\n          \x3cdiv class\x3d"flex-leave2-left textOverFlow font-style" title\x3d"${nls.displayValueIn}"\x3e${nls.displayValueIn}\x3c/div\x3e\r\n           \x3cdiv class\x3d"flex-start flex-leave2-right"\x3e\r\n              \x3cinput type\x3d"radio" name\x3d"displayIn" data-dojo-attach-event\x3d"change:_onDiaplayInRatio" data-dojo-type\x3d"dijit/form/RadioButton" data-dojo-attach-point\x3d"ratioBtn"\x3e\r\n              \x3clabel class\x3d"marginleft10"\x3e${nls.ratio}\x3c/label\x3e\r\n           \x3c/div\x3e\r\n        \x3c/div\x3e\r\n\r\n        \x3cdiv class\x3d"flex flex-leave1 margin-top-11"\x3e\r\n          \x3cdiv class\x3d"flex-leave2-left font-style"\x3e\x3c/div\x3e\r\n           \x3cdiv class\x3d"flex-start flex-leave2-right"\x3e\r\n              \x3cinput type\x3d"radio" checked\x3d"true" name\x3d"displayIn" data-dojo-attach-event\x3d"change:_onDisplayInTrueValue" data-dojo-type\x3d"dijit/form/RadioButton" data-dojo-attach-point\x3d"trueValueBtn"\x3e\r\n              \x3clabel class\x3d"marginleft10"\x3e${nls.trueValue}\x3c/label\x3e\r\n           \x3c/div\x3e\r\n        \x3c/div\x3e\r\n\r\n        \x3cdiv data-dojo-attach-point\x3d"dataFormatSettingNode" class\x3d"margin-top-11"\x3e\x3c/div\x3e\r\n        \x3cdiv data-dojo-attach-point\x3d"fontSettingNode"\x3e\x3c/div\x3e\r\n\r\n      \x3c/div\x3e\r\n\r\n    \x3c/div\x3e\r\n    \x3c!-- indicators tab --\x3e\r\n  \t\x3cdiv style\x3d"margin-top: 20px;" class\x3d"indicatorsTitlePane paddingRight10" data-dojo-attach-point\x3d"indicatorsDiv"\x3e\x3c/div\x3e\r\n  \x3c/div\x3e\r\n\x3c/div\x3e',
"url:widgets/Infographic/setting/dijitsSetting/_dijits/DataFormatSetting.html":'\x3cdiv class\x3d"style-selector"\x3e\r\n  \x3cdiv class\x3d"setting-items dataFormat clearFix" data-dojo-attach-point\x3d"unit"\x3e\r\n    \x3cdiv class\x3d"label-position jimu-float-leading" title\x3d"${nls.unit}"\x3e${nls.unit}\x3c/div\x3e\r\n    \x3cdiv class\x3d"setting-wapper jimu-float-trailing"\x3e\r\n      \x3cdiv class\x3d"jimu-float-trailing" data-dojo-attach-point\x3d"unitWapper" style\x3d"width: 100%;"\x3e\r\n        \x3cselect data-dojo-type\x3d"dijit/form/Select" data-dojo-props\x3d\'style:{width:"100%"}\' data-dojo-attach-point\x3d"unitSelect"\x3e\x3c/select\x3e\r\n      \x3c/div\x3e\r\n    \x3c/div\x3e\r\n  \x3c/div\x3e\r\n\r\n  \x3cdiv class\x3d"setting-items decimal clearFix"\x3e\r\n    \x3cdiv class\x3d"label-position jimu-float-leading" title\x3d"${nls.decimalPlaces}"\x3e${nls.decimalPlaces}\x3c/div\x3e\r\n    \x3cdiv class\x3d"setting-wapper jimu-float-trailing"\x3e\r\n      \x3cinput type\x3d"text" data-dojo-type\x3d"dijit/form/NumberSpinner" required\x3d"false"\r\n        placeHolder\x3d"" data-dojo-props\x3d"constraints: {min:0, max:9, places:0},intermediateChanges: true" data-dojo-attach-point\x3d"decimalPlacesText"/\x3e\r\n    \x3c/div\x3e\r\n  \x3c/div\x3e\r\n\r\n  \x3cdiv class\x3d"setting-items decimal clearFix"\x3e\r\n    \x3cdiv class\x3d"label-position jimu-float-leading textOverFlow" title\x3d"${nls.use1000Separator}"\x3e${nls.use1000Separator}\x3c/div\x3e\r\n    \x3cdiv data-dojo-attach-point\x3d"digitSeparatorDiv" class\x3d"setting-wapper jimu-float-trailing"\x3e\r\n    \x3c/div\x3e\r\n  \x3c/div\x3e\r\n\r\n  \x3cdiv class\x3d"setting-items prefix clearFix"\x3e\r\n    \x3cdiv class\x3d"label-position jimu-float-leading" title\x3d"${nls.prefix}"\x3e${nls.prefix}\x3c/div\x3e\r\n    \x3cdiv class\x3d"setting-wapper jimu-float-trailing"\x3e\r\n      \x3cinput type\x3d"text" data-dojo-type\x3d"dijit/form/ValidationTextBox" required\x3d"false"\r\n        placeHolder\x3d"" data-dojo-attach-point\x3d"prefixText"/\x3e\r\n    \x3c/div\x3e\r\n  \x3c/div\x3e\r\n  \x3cdiv class\x3d"setting-items suffix clearFix"\x3e\r\n    \x3cdiv class\x3d"label-position jimu-float-leading" title\x3d"${nls.suffix}"\x3e${nls.suffix}\x3c/div\x3e\r\n    \x3cdiv class\x3d"setting-wapper jimu-float-trailing"\x3e\r\n      \x3cinput type\x3d"text" data-dojo-type\x3d"dijit/form/ValidationTextBox" required\x3d"false"\r\n        placeHolder\x3d"" data-dojo-attach-point\x3d"suffixText"/\x3e\r\n    \x3c/div\x3e\r\n  \x3c/div\x3e\r\n\x3c/div\x3e',
"url:widgets/Infographic/setting/dijitsSetting/_dijits/NumberIndicator/MultipleIndicators.html":'\x3cdiv\x3e\r\n    \x3cdiv class\x3d"indicator-add-div top" data-dojo-attach-point\x3d"addIndicator"\x3e\r\n\t\t\x3cdiv data-dojo-attach-point\x3d"topIcon" class\x3d"icon-add-indicator"\x3e\x3c/div\x3e\r\n\t\t\x3cdiv  data-dojo-attach-point\x3d"topBlock" class\x3d"top-mid-block"\x3e\x3c/div\x3e\r\n\t\t\x3cdiv data-dojo-attach-point\x3d"topText" class\x3d"text-add-indicator" title\x3d"${nls.addIndicatorTip}" \x3e${nls.addIndicatorTip}\x3c/div\x3e\r\n    \x3c/div\x3e\r\n    \x3cdiv class\x3d"indicatorDiv" data-dojo-attach-point\x3d"indicatorDiv"\x3e\x3c/div\x3e\r\n\x3c/div\x3e',
"url:widgets/Infographic/setting/dijitsSetting/_dijits/NumberIndicator/SingleIndicator.html":'\x3cdiv\x3e\r\n\t\x3cdiv class\x3d"header drag-masker"\x3e\x3c/div\x3e\r\n\t\x3cdiv class\x3d"tr"\x3e\r\n\r\n\t\t\x3cdiv class\x3d"flex-in-left"\x3e\r\n\t\t\t\x3cdiv title\x3d"${nls.ifValue}" class\x3d"labelTip flex-in-left-div textOverFlow"\x3e${nls.ifValue}\x3c/div\x3e\r\n\t\t\t\x3cdiv class\x3d"compareDiv"\x3e\r\n\t\t        \x3cselect data-dojo-type\x3d"dijit/form/Select" data-dojo-attach-point\x3d"operator"\x3e\r\n\t\t\t        \x3coption value\x3d"greater"\x3e${nls.numberOperatorIsGreaterThan}\x3c/option\x3e\r\n\t\t\t        \x3coption value\x3d"smaller"\x3e${nls.numberOperatorIsLessThan}\x3c/option\x3e\r\n\t\t\t        \x3coption value\x3d"between"\x3e${nls.numberOperatorIsBetween}\x3c/option\x3e\r\n\t\t\t        \x3coption value\x3d"equal"\x3e${nls.numberOperatorIsEqual}\x3c/option\x3e\r\n\t\t\t        \x3coption value\x3d"notEqual"\x3e${nls.numberOperatorIsNotEqual}\x3c/option\x3e\r\n\t\t        \x3c/select\x3e\r\n        \t\x3c/div\x3e\r\n\t\t\x3c/div\x3e\r\n\r\n\t\t\x3cdiv class\x3d"flex-in-right"\x3e\r\n\t\t\t\x3cdiv class\x3d"flex-in-left-div compareContainer"\x3e\r\n\t\t\t\t\x3cdiv data-dojo-attach-point\x3d"oneValueDiv"\x3e\r\n\t\t\t\t\t\x3cinput class\x3d"longValue" type\x3d"text" data-dojo-type\x3d"dijit/form/ValidationTextBox" data-dojo-props\x3d"regExp:\'^\\\\d+(\\\\.\\\\d+)?$\'" required\x3d"true" data-dojo-attach-event\x3d"change:_onUpdate" data-dojo-attach-point\x3d"compareValue" /\x3e\r\n\t\t\t\t\x3c/div\x3e\r\n\t\t\t\t\x3cdiv style\x3d"display: none;" class\x3d"compareContainer" data-dojo-attach-point\x3d"twoValueDiv"\x3e\r\n\t\t\t\t\t\x3cinput class\x3d"shortValue" type\x3d"text"data-dojo-type\x3d"dijit/form/ValidationTextBox" data-dojo-props\x3d"regExp:\'^\\\\d+(\\\\.\\\\d+)?$\'" data-dojo-attach-event\x3d"change:_onUpdate" data-dojo-attach-point\x3d"compareValue1" /\x3e\r\n\t\t\t\t\t\x3cspan class\x3d"textOverFlow" title\x3d"${nls.and}"\x3e${nls.and}\x3c/span\x3e\r\n\t\t\t\t\t\x3cinput class\x3d"shortValue" type\x3d"text" data-dojo-type\x3d"dijit/form/ValidationTextBox" data-dojo-props\x3d"regExp:\'^\\\\d+(\\\\.\\\\d+)?$\'" data-dojo-attach-event\x3d"change:_onUpdate" data-dojo-attach-point\x3d"compareValue2" /\x3e\r\n\t\t\t\t\x3c/div\x3e\r\n\t\t\t\x3c/div\x3e\r\n\t\t\t\x3cdiv data-dojo-attach-event\x3d"click:_removeIndicator" class\x3d"close-div close"\x3e\x3c/div\x3e\r\n\t\t\x3c/div\x3e\t\r\n\t\x3c/div\x3e\r\n\t\r\n\r\n\t\x3cdiv class\x3d"ratio-div drag-masker" data-dojo-attach-point\x3d"ratioBtnDiv" style\x3d"overflow: hidden;"\x3e\r\n\t\t\x3cdiv class\x3d"ratio-in-div jimu-float-trailing"\x3e\r\n\t\t\t\x3cdiv data-dojo-type\x3d"jimu/dijit/CheckBox" data-dojo-attach-event\x3d"change:_onUpdate" data-dojo-attach-point\x3d"ratioBtn"\x3e\x3c/div\x3e\r\n\t\t\t\x3clabel class\x3d"marginleft10 text-left-center"\x3e${nls.ratio}\x3c/label\x3e\r\n\t\t\x3c/div\x3e\r\n\t\x3c/div\x3e\r\n\r\n\t\x3cdiv class\x3d"drag-masker indicator-option" data-dojo-attach-point\x3d"indicatorOption"\x3e\r\n\t\t\x3cdiv style\x3d"padding-top: 10px;" class\x3d"tr" data-dojo-attach-point\x3d"valueColorSetting"\x3e\r\n\t\t\t\x3cdiv class\x3d"flex-in-left then-text"\x3e\r\n\t\t\t\t\x3cdiv title\x3d"${nls.then}" class\x3d"flex-in-left-div labelTip textOverFlow"\x3e${nls.then}\x3c/div\x3e\r\n\t\t\t\t\x3cdiv title\x3d"${nls.changeValueColor}" class\x3d"then-tip color-tip textOverFlow"\x3e${nls.changeValueColor}\x3c/div\x3e\r\n\t\t\t\x3c/div\x3e\r\n\t\t\t\x3cdiv class\x3d"flex-in-right then-text"\x3e\r\n\t\t\t\t\x3cdiv class\x3d"flex-in-right-left-div then-text"\x3e\r\n\t\t\t\t\t\x3cdiv data-dojo-attach-point\x3d"valueColorSettingBtn"\x3e\x3c/div\x3e\r\n\t\t\t\t\x3c/div\x3e\r\n\t\t\t\t\t\r\n\t\t\t\t\x3cdiv data-dojo-attach-point\x3d"valueState" class\x3d"value-state activated"\x3e\x3c/div\x3e\r\n\t\t\t\x3c/div\x3e\r\n\t\t\x3c/div\x3e\r\n\t\t\r\n\t\t\x3cdiv style\x3d"padding-top: 5px;" class\x3d"tr" data-dojo-attach-point\x3d"gaugeColorSetting"\x3e\r\n\t\t\t\x3cdiv class\x3d"flex-in-left then-text"\x3e\r\n\t\t\t\t\x3cdiv class\x3d"flex-in-left-div labelTip"\x3e\x3c/div\x3e\r\n\t\t\t\t\x3cdiv title\x3d"${nls.changeGaugeColor}" class\x3d"then-tip color-tip textOverFlow"\x3e${nls.changeGaugeColor}\x3c/div\x3e\r\n\t\t\t\x3c/div\x3e\r\n\t\t\t\x3cdiv class\x3d"flex-in-right then-text"\x3e\r\n\t\t\t\t\x3cdiv class\x3d"flex-in-right-left-div then-text"\x3e\r\n\t\t\t\t\t\x3cdiv data-dojo-attach-point\x3d"gaugeColorSettingBtn"\x3e\x3c/div\x3e\r\n\t\t\t\t\x3c/div\x3e\r\n\t\t\t\t\x3cdiv data-dojo-attach-point\x3d"gaugeState" class\x3d"gauge-state activated"\x3e\x3c/div\x3e\r\n\t\t\t\x3c/div\x3e\r\n\t\t\x3c/div\x3e\r\n\r\n\t\t\x3cdiv style\x3d"padding-top: 5px;" class\x3d"tr" data-dojo-attach-point\x3d"indicatorIconSetting"\x3e\r\n\t\t\t\x3cdiv class\x3d"flex-in-left then-text"\x3e\r\n\t\t\t\t\x3cdiv class\x3d"flex-in-left-div labelTip"\x3e\x3c/div\x3e\r\n\t\t\t\t\x3cdiv  title\x3d"${nls.setIndicatorIcon}" class\x3d"then-tip color-tip textOverFlow"\x3e${nls.setIndicatorIcon}\x3c/div\x3e\r\n\t\t\t\x3c/div\x3e\r\n\t\t\t\x3cdiv class\x3d"flex-in-right then-text"\x3e\r\n\t\t\t\t\x3cdiv class\x3d"flex-in-right-left-div then-text"\x3e\r\n\t\t\t\t\t\x3cdiv data-dojo-attach-point\x3d"indicatorIconSettingBtn"\x3e\x3c/div\x3e\r\n\t\t\t\t\x3c/div\x3e\r\n\t\t\t\t\x3cdiv data-dojo-attach-point\x3d"iconState" class\x3d"icon-state activated"\x3e\x3c/div\x3e\r\n\t\t\t\x3c/div\x3e\r\n\t\t\x3c/div\x3e\r\n\t\x3c/div\x3e\r\n\r\n\t\x3cdiv data-dojo-attach-point\x3d"indicatorTottomLine" class\x3d"indicator-bottom-line drag-masker"\x3e\x3c/div\x3e\r\n\r\n\x3c/div\x3e\r\n\r\n',
"url:widgets/Infographic/setting/dijitsSetting/_dijits/NumberIndicator/IconChooserPanel.html":'\x3cdiv\x3e\r\n\t\x3cdiv style\x3d"margin-top: 12px;" class\x3d"title title-box" title\x3d"${nls.icons}"\x3e${nls.icons}\x3c/div\x3e\r\n\t\x3cdiv style\x3d"margin-top: 14px;" class\x3d"marginLeft30 flex-Ttb"\x3e\r\n\t\t\x3cdiv class\x3d"styleDiv"\x3e\r\n\t\t\t\x3cdiv class\x3d"left-div label-div style-label" title\x3d"${nls.style}"\x3e${nls.style}\x3c/div\x3e\r\n\t\t\t\x3cdiv class\x3d"style-container"\x3e\r\n\t\t\t\t\x3cdiv class\x3d"style-content" data-dojo-attach-point\x3d"iconStyle1"\x3e\x3c/div\x3e\r\n\t\t\t\t\x3cdiv class\x3d"style-content" data-dojo-attach-point\x3d"iconStyle2"\x3e\x3c/div\x3e\r\n\t\t\t\x3c/div\x3e\r\n\t\t\x3c/div\x3e\r\n\r\n\t\t\x3cdiv class\x3d"placement" style\x3d"margin-top:17px;"\x3e\r\n\t\t\t\x3cdiv class\x3d"left-div label-div placement-label" title\x3d"${nls.placement}"\x3e${nls.placement}\x3c/div\x3e\r\n\t\t\t\x3cdiv class\x3d"right-div" data-dojo-attach-point\x3d"placement"\x3e\r\n\t\t\t\t\x3cdiv class\x3d"placeDiv text-center left"\x3e${nls.left}\x3c/div\x3e\r\n\t\t\t\t\x3cdiv class\x3d"placeDiv text-center replace mergeBorder"\x3e${nls.replace}\x3c/div\x3e\r\n\t\t\t\x3cdiv class\x3d"placeDiv text-center right mergeBorder"\x3e${nls.right}\x3c/div\x3e\r\n\t\t\x3c/div\x3e\r\n\t\t\x3c/div\x3e\r\n\r\n\t\t\x3cdiv style\x3d"margin-top: 14px;display: flex;"\x3e\r\n\t\t\t\x3cdiv class\x3d"left-div label-div color-label" title\x3d"${nls.color}"\x3e${nls.color}\x3c/div\x3e\r\n\t\t\t\x3cdiv class\x3d"right-div"\x3e\r\n\t\t\t\t\x3cdiv class\x3d"colorPicker" data-dojo-attach-point\x3d"colorPicker"\x3e\x3c/div\x3e\r\n\t\t\t\x3c/div\x3e\r\n\t\t\x3c/div\x3e\r\n\t\x3c/div\x3e\r\n\x3c/div\x3e',
"url:widgets/Infographic/setting/dijitsSetting/_dijits/ValueProvider/RangeProvider.html":'\x3cdiv\x3e\r\n\t\x3cdiv data-dojo-attach-point\x3d"title" class\x3d"title"\x3e\x3c/div\x3e\r\n\t\x3cdiv class\x3d"content"\x3e\r\n\t\t\x3cdiv data-dojo-attach-point\x3d"typeContainer" class\x3d"row value-type"\x3e\r\n\t\t\t\x3cdiv class\x3d"col-2"\x3e\r\n\t\t\t\t\x3cspan class\x3d"label"\x3e${nls.valueType}\x3c/span\x3e\r\n\t\t\t\x3c/div\x3e\r\n\t\t\t\x3cdiv class\x3d"col-2"\x3e\r\n\t\t\t\t\x3cdiv class\x3d"btn-group-2" data-dojo-attach-event\x3d"click:_onValueTypeChanged"\x3e\r\n\t\t\t\t\t\x3cdiv data-dojo-attach-point\x3d"fixedBtn" data-name\x3d"fixed" class\x3d"btn jimu-auto-vertical textOverFlow selected" title\x3d"${nls.fixed}"\x3e${nls.fixed}\x3c/div\x3e\r\n\t\t\t\t\t\x3cdiv data-dojo-attach-point\x3d"statBtn" data-name\x3d"stat" class\x3d"btn jimu-auto-vertical textOverFlow" title\x3d"${nls.statistic}"\x3e${nls.statistic}\x3c/div\x3e\r\n\t\t\t\t\x3c/div\x3e\r\n\t\t\t\x3c/div\x3e\r\n\t\t\x3c/div\x3e\r\n\t\t\x3cdiv data-dojo-attach-point\x3d"valueContainer" class\x3d"row fixed-value-container"\x3e\r\n\t\t\t\x3cdiv class\x3d"col-2"\x3e\r\n\t\t\t\t\x3cspan class\x3d"label"\x3e${nls.valueString}\x3c/span\x3e\r\n\t\t\t\x3c/div\x3e\r\n\t\t\t\x3cdiv class\x3d"col-2"\x3e\r\n\t\t\t\t\x3cinput data-dojo-props\x3d"intermediateChanges:true"  data-dojo-attach-event\x3d"change:_onValueInputChanged" class\x3d"value-input" data-dojo-type\x3d"dijit/form/NumberTextBox" required data-dojo-attach-point\x3d"fixedValue"/\x3e\r\n\t\t\t\x3c/div\x3e\r\n\t\t\x3c/div\x3e\r\n\t\t\x3cdiv class\x3d"hide" data-dojo-attach-point\x3d"statContainer"\x3e\x3c/div\x3e\r\n\t\x3c/div\x3e\r\n\x3c/div\x3e',
"url:widgets/Infographic/setting/dijitsSetting/_dijits/ValueProvider/FieldStatistics.html":'\x3cdiv\x3e\r\n  \x3cdiv class\x3d"row stat-row"\x3e\r\n    \x3cdiv class\x3d"col-2"\x3e\r\n      \x3cspan class\x3d"label"\x3e${nls.statistic}\x3c/span\x3e\r\n    \x3c/div\x3e\r\n    \x3cdiv class\x3d"col-2"\x3e\r\n        \x3cselect data-dojo-type\x3d"dijit/form/Select" data-dojo-props\x3d\'style:{width:"99%"}\' data-dojo-attach-point\x3d"operationSelect" data-dojo-attach-event\x3d"change:_onOperationChanged" class\x3d"restrict-select-width"\x3e\r\n            \x3coption value\x3d"count"\x3e${nls.countString}\x3c/option\x3e\r\n            \x3coption value\x3d"sum"\x3e${nls.sumOption}\x3c/option\x3e\r\n            \x3coption value\x3d"avg"\x3e${nls.averageOption}\x3c/option\x3e\r\n            \x3coption value\x3d"max"\x3e${nls.maxOption}\x3c/option\x3e\r\n            \x3coption value\x3d"min"\x3e${nls.minOption}\x3c/option\x3e\r\n        \x3c/select\x3e\r\n    \x3c/div\x3e\r\n  \x3c/div\x3e\r\n  \x3cdiv data-dojo-attach-point\x3d"fieldContaiber" class\x3d"row hide"\x3e\r\n    \x3cdiv class\x3d"col-2"\x3e\r\n        \x3cspan class\x3d"label"\x3e${nls.valueField}\x3c/span\x3e\r\n    \x3c/div\x3e\r\n    \x3cdiv class\x3d"col-2"\x3e\r\n        \x3cselect data-dojo-type\x3d"dijit/form/Select" data-dojo-props\x3d\'style:{width:"99%"}\' data-dojo-attach-point\x3d"fieldSelect" data-dojo-attach-event\x3d"change:_onFieldSelectChanged" class\x3d"restrict-select-width"\x3e\r\n        \x3c/select\x3e\r\n    \x3c/div\x3e\r\n  \x3c/div\x3e\r\n\x3c/div\x3e',
"url:widgets/Infographic/setting/dijitsSetting/_dijits/ValueProvider/StatisticDataSourceSelector.html":'\x3cdiv\x3e\r\n\t\x3cdiv data-dojo-attach-point\x3d"message" class\x3d"message note" title\x3d"${nls.sdsTip}"\x3e${nls.sdsTip}\x3c/div\x3e\r\n    \x3cselect data-dojo-props\x3d\'style:{width:"99.5%"}\'  emptyLabel\x3d"${nls.noSdsTip}" data-dojo-type\x3d"dijit/form/Select" data-dojo-attach-point\x3d"sourceSelect" data-dojo-attach-event\x3d"change:_onSourceSelectChanged" class\x3d"restrict-select-width"\x3e\r\n    \x3c/select\x3e\r\n    \x3cdiv class\x3d"state-icon small-loading hide" data-dojo-attach-point\x3d"loading"\x3e\x3c/div\x3e\r\n    \x3cdiv class\x3d"state-icon error-icon hide" data-dojo-attach-point\x3d"errorIcon" title\x3d"${nls.noDataReturned}"\x3e\x3c/div\x3e\r\n\x3c/div\x3e',
"url:widgets/Infographic/setting/dijitsSetting/_dijits/ValueProvider/ValueProvider.html":'\x3cdiv\x3e\r\n\t\x3cdiv data-dojo-attach-point\x3d"title" class\x3d"title"\x3e\x3c/div\x3e\r\n\t\x3cdiv data-dojo-attach-point\x3d"statContainer" class\x3d"content"\x3e\r\n\t\x3c/div\x3e\r\n\x3c/div\x3e',"url:dijit/templates/TitlePane.html":'\x3cdiv\x3e\r\n\t\x3cdiv data-dojo-attach-event\x3d"ondijitclick:_onTitleClick, onkeydown:_onTitleKey"\r\n\t\t\tclass\x3d"dijitTitlePaneTitle" data-dojo-attach-point\x3d"titleBarNode" id\x3d"${id}_titleBarNode"\x3e\r\n\t\t\x3cdiv class\x3d"dijitTitlePaneTitleFocus" data-dojo-attach-point\x3d"focusNode"\x3e\r\n\t\t\t\x3cspan data-dojo-attach-point\x3d"arrowNode" class\x3d"dijitInline dijitArrowNode" role\x3d"presentation"\x3e\x3c/span\r\n\t\t\t\x3e\x3cspan data-dojo-attach-point\x3d"arrowNodeInner" class\x3d"dijitArrowNodeInner"\x3e\x3c/span\r\n\t\t\t\x3e\x3cspan data-dojo-attach-point\x3d"titleNode" class\x3d"dijitTitlePaneTextNode"\x3e\x3c/span\x3e\r\n\t\t\x3c/div\x3e\r\n\t\x3c/div\x3e\r\n\t\x3cdiv class\x3d"dijitTitlePaneContentOuter" data-dojo-attach-point\x3d"hideNode" role\x3d"presentation"\x3e\r\n\t\t\x3cdiv class\x3d"dijitReset" data-dojo-attach-point\x3d"wipeNode" role\x3d"presentation"\x3e\r\n\t\t\t\x3cdiv class\x3d"dijitTitlePaneContentInner" data-dojo-attach-point\x3d"containerNode" role\x3d"region" id\x3d"${id}_pane" aria-labelledby\x3d"${id}_titleBarNode"\x3e\r\n\t\t\t\t\x3c!-- nested divs because wipeIn()/wipeOut() doesn\'t work right on node w/padding etc.  Put padding on inner div. --\x3e\r\n\t\t\t\x3c/div\x3e\r\n\t\t\x3c/div\x3e\r\n\t\x3c/div\x3e\r\n\x3c/div\x3e\r\n',
"url:widgets/Infographic/setting/dijitsSetting/NumberDijitSetting.html":'\x3cdiv\x3e\r\n  \x3cdiv data-dojo-attach-point\x3d"settingTitle" class\x3d"flex-lc text-label setting-title"\x3e${nls.numberSettings}\x3c/div\x3e\r\n  \x3cdiv class\x3d"infohraphic-setting-tab-container" style\x3d"width:100%;"\x3e\r\n    \x3cdiv style\x3d"margin-top: 20px;" data-dojo-attach-point\x3d"tabNode" class\x3d"tabHeader"\x3e\x3c/div\x3e\r\n\r\n    \x3cdiv style\x3d"margin-top: 10px;" data-dojo-attach-point\x3d"dataTab"\x3e\x3c/div\x3e\r\n\r\n    \x3cdiv style\x3d"margin-top: 10px;" class\x3d"number-setting-display paddingRight10" data-dojo-attach-point\x3d"display"\x3e\r\n      \x3cdiv class\x3d"section"\x3e\r\n        \x3cdiv data-dojo-attach-point\x3d"dataFormatSettingNode"\x3e\r\n      \x3c/div\x3e\r\n      \x3cdiv class\x3d"section"\x3e\r\n        \x3cdiv data-dojo-attach-point\x3d"fontSettingNode"\x3e\r\n      \x3c/div\x3e\r\n      \x3cdiv class\x3d"section"\x3e\r\n        \x3cdiv data-dojo-attach-point\x3d"backgroundSettingNode"\x3e\r\n      \x3c/div\x3e\r\n    \x3c/div\x3e\r\n\r\n    \x3cdiv style\x3d"margin-top: 20px;" class\x3d"indicatorsTitlePane paddingRight10" data-dojo-attach-point\x3d"indicatorsDiv"\x3e\x3c/div\x3e\r\n\r\n  \x3c/div\x3e\r\n\r\n\x3c/div\x3e\r\n',
"url:jimu/dijit/templates/_TreeNode.html":'\x3cdiv class\x3d"dijitTreeNode" role\x3d"presentation"\x3e\r\n\t\x3cdiv data-dojo-attach-point\x3d"rowNode" class\x3d"dijitTreeRow" role\x3d"presentation"\x3e\r\n\t\t\x3cspan data-dojo-attach-point\x3d"expandoNode" class\x3d"dijitInline dijitTreeExpando" role\x3d"presentation"\x3e\x3c/span\x3e\r\n\t\t\x3cspan data-dojo-attach-point\x3d"expandoNodeText" class\x3d"dijitExpandoText" role\x3d"presentation"\x3e\x3c/span\x3e\r\n\t\t\x3cspan data-dojo-attach-point\x3d"contentNode" class\x3d"dijitTreeContent" role\x3d"presentation"\x3e\r\n\t\t\t\x3cspan role\x3d"presentation" class\x3d"dijitInline dijitIcon dijitTreeIcon" data-dojo-attach-point\x3d"iconNode"\x3e\x3c/span\x3e\r\n\t\t\t\x3cspan data-dojo-attach-point\x3d"labelNode,focusNode" class\x3d"dijitTreeLabel" role\x3d"treeitem" tabindex\x3d"-1" aria-selected\x3d"false"\x3e\x3c/span\x3e\r\n\t\t\x3c/span\x3e\r\n\t\x3c/div\x3e\r\n\t\x3cdiv data-dojo-attach-point\x3d"containerNode" class\x3d"dijitTreeNodeContainer" role\x3d"presentation" style\x3d"display: none;"\x3e\x3c/div\x3e\r\n\x3c/div\x3e',
"url:dijit/templates/TreeNode.html":'\x3cdiv class\x3d"dijitTreeNode" role\x3d"presentation"\r\n\t\x3e\x3cdiv data-dojo-attach-point\x3d"rowNode" class\x3d"dijitTreeRow" role\x3d"presentation"\r\n\t\t\x3e\x3cspan data-dojo-attach-point\x3d"expandoNode" class\x3d"dijitInline dijitTreeExpando" role\x3d"presentation"\x3e\x3c/span\r\n\t\t\x3e\x3cspan data-dojo-attach-point\x3d"expandoNodeText" class\x3d"dijitExpandoText" role\x3d"presentation"\x3e\x3c/span\r\n\t\t\x3e\x3cspan data-dojo-attach-point\x3d"contentNode"\r\n\t\t\tclass\x3d"dijitTreeContent" role\x3d"presentation"\x3e\r\n\t\t\t\x3cspan role\x3d"presentation" class\x3d"dijitInline dijitIcon dijitTreeIcon" data-dojo-attach-point\x3d"iconNode"\x3e\x3c/span\r\n\t\t\t\x3e\x3cspan data-dojo-attach-point\x3d"labelNode,focusNode" class\x3d"dijitTreeLabel" role\x3d"treeitem"\r\n\t\t\t\t   tabindex\x3d"-1" aria-selected\x3d"false" id\x3d"${id}_label"\x3e\x3c/span\x3e\r\n\t\t\x3c/span\r\n\t\x3e\x3c/div\x3e\r\n\t\x3cdiv data-dojo-attach-point\x3d"containerNode" class\x3d"dijitTreeNodeContainer" role\x3d"presentation"\r\n\t\t style\x3d"display: none;" aria-labelledby\x3d"${id}_label"\x3e\x3c/div\x3e\r\n\x3c/div\x3e\r\n',
"url:dijit/templates/Tree.html":'\x3cdiv role\x3d"tree"\x3e\r\n\t\x3cdiv class\x3d"dijitInline dijitTreeIndent" style\x3d"position: absolute; top: -9999px" data-dojo-attach-point\x3d"indentDetector"\x3e\x3c/div\x3e\r\n\t\x3cdiv class\x3d"dijitTreeExpando dijitTreeExpandoLoading" data-dojo-attach-point\x3d"rootLoadingIndicator"\x3e\x3c/div\x3e\r\n\t\x3cdiv data-dojo-attach-point\x3d"containerNode" class\x3d"dijitTreeContainer" role\x3d"presentation"\x3e\r\n\t\x3c/div\x3e\r\n\x3c/div\x3e\r\n',"url:jimu/dijit/templates/QueryableServiceChooserFromPortal.html":'\x3cdiv\x3e\r\n\t\x3cdiv class\x3d"selector-container" data-dojo-attach-point\x3d"selectorContainer"\x3e\x3c/div\x3e\r\n\t\x3cdiv class\x3d"service-browser-container" data-dojo-attach-point\x3d"serviceBrowserContainer"\x3e\x3c/div\x3e\r\n\t\x3cdiv class\x3d"footer"\x3e\r\n\t\t\x3cdiv class\x3d"jimu-btn jimu-float-trailing cancel jimu-btn-vacation" data-dojo-attach-point\x3d"btnCancel" data-dojo-attach-event\x3d"onclick:_onBtnCancelClicked"\x3e${nls.cancel}\x3c/div\x3e\r\n\t\t\x3cdiv class\x3d"jimu-btn jimu-float-trailing next jimu-state-disabled" data-dojo-attach-point\x3d"btnNext" data-dojo-attach-event\x3d"onclick:_onBtnNextClicked"\x3e${nls.next}\x3c/div\x3e\r\n\t\t\x3cdiv class\x3d"jimu-btn jimu-float-trailing ok jimu-state-disabled" data-dojo-attach-point\x3d"btnOk" data-dojo-attach-event\x3d"onclick:_onBtnOkClicked"\x3e${nls.ok}\x3c/div\x3e\r\n\t\t\x3cdiv class\x3d"jimu-btn jimu-float-trailing back" data-dojo-attach-point\x3d"btnBack" data-dojo-attach-event\x3d"onclick:_onBtnBackClicked"\x3e${nls.back}\x3c/div\x3e\r\n\t\x3c/div\x3e\r\n\x3c/div\x3e',
"url:jimu/dijit/templates/ItemSelector.html":'\r\n\x3cdiv\x3e\r\n\t\x3cdiv class\x3d"setting-tab-container"\x3e\r\n\t\t\x3cdiv data-dojo-attach-point\x3d"tabNode"\x3e\x3c/div\x3e\r\n\r\n\t\t\x3cdiv class\x3d"tab-content mycontent-tab" data-dojo-attach-point\x3d"mycontentTabNode"\x3e\r\n\t\t\t\x3cdiv class\x3d"tab-content-main mycontent-tab-content-main"\x3e\r\n\t\t\t\t\x3cdiv data-dojo-attach-point\x3d"mycontentSearch" data-dojo-type\x3d"jimu/dijit/Search" data-dojo-props\x3d\'searchWhenInput:false\' data-dojo-attach-event\x3d"onSearch:_onMyContentSearch" style\x3d"position:absolute;width:100%;top:0;"\x3e\x3c/div\x3e\r\n\t\t\t\t\x3cdiv data-dojo-attach-point\x3d"mycontentItemTable" data-dojo-type\x3d"jimu/dijit/_ItemTable" data-dojo-props\x3d\'types:${_itemTypes},typeKeywords:${_typeKeywords}\' style\x3d"top:50px;"\x3e\x3c/div\x3e\r\n\t\t\t\x3c/div\x3e\r\n\t\t\x3c/div\x3e\r\n\r\n\t\t\x3cdiv class\x3d"tab-content organization-tab" data-dojo-attach-point\x3d"organizationTabNode"\x3e\r\n\t\t\t\x3cdiv class\x3d"tab-content-main organization-tab-content-main"\x3e\r\n\t\t\t\t\x3cdiv data-dojo-attach-point\x3d"organizationSearch" data-dojo-type\x3d"jimu/dijit/Search" data-dojo-props\x3d\'searchWhenInput:false\' data-dojo-attach-event\x3d"onSearch:_onOrganizationSearch" style\x3d"position:absolute;width:100%;top:0;"\x3e\x3c/div\x3e\r\n\t\t\t\t\x3cdiv data-dojo-attach-point\x3d"organizationItemTable" data-dojo-type\x3d"jimu/dijit/_ItemTable" data-dojo-props\x3d\'types:${_itemTypes},typeKeywords:${_typeKeywords}\' style\x3d"top:50px;"\x3e\x3c/div\x3e\r\n\t\t\t\x3c/div\x3e\r\n\t\t\x3c/div\x3e\r\n\r\n\t\t\x3cdiv class\x3d"tab-content group-tab" data-dojo-attach-point\x3d"groupTabNode"\x3e\r\n\t\t\t\x3cdiv class\x3d"tab-content-main group-tab-content-main"\x3e\r\n\t\t\t\t\x3cdiv class\x3d"groups-section" data-dojo-attach-point\x3d"groupsSection"\x3e\r\n\t\t\t\t\t\x3cdiv\x3e${nls.groups}:\x3c/div\x3e\r\n\t\t\t\t\t\x3cselect class\x3d"groups-select" data-dojo-attach-point\x3d"groupsSelect"\x3e\r\n\t\t\t\t\t\t\x3coption value\x3d"nodata"\x3e${nls.noneGroups}\x3c/option\x3e\r\n\t\t\t\t\t\x3c/select\x3e\r\n\t\t\t\t\x3c/div\x3e\r\n\t\t\t\t\x3cdiv data-dojo-attach-point\x3d"groupSearch" data-dojo-type\x3d"jimu/dijit/Search" data-dojo-props\x3d\'searchWhenInput:false\' data-dojo-attach-event\x3d"onSearch:_onGroupSearch" style\x3d"position:absolute;width:100%;top:0;"\x3e\x3c/div\x3e\r\n\t\t\t\t\x3cdiv data-dojo-attach-point\x3d"groupItemTable" data-dojo-type\x3d"jimu/dijit/_ItemTable" data-dojo-props\x3d\'types:${_itemTypes},typeKeywords:${_typeKeywords}\' style\x3d"top:85px;"\x3e\x3c/div\x3e\r\n\t\t\t\x3c/div\x3e\r\n\t\t\x3c/div\x3e\r\n\r\n\t\t\x3cdiv class\x3d"tab-content public-tab" data-dojo-attach-point\x3d"publicTabNode"\x3e\r\n\t\t\t\x3cdiv class\x3d"tab-content-main public-tab-content-main"\x3e\r\n\t\t\t\t\x3cdiv data-dojo-attach-point\x3d"publicSearch" data-dojo-type\x3d"jimu/dijit/Search" data-dojo-props\x3d\'searchWhenInput:false\' data-dojo-attach-event\x3d"onSearch:_onPublicSearch" style\x3d"position:absolute;width:100%;top:0;"\x3e\x3c/div\x3e\r\n\t\t\t\t\x3cdiv class\x3d"public-search-radios"\x3e\r\n\t\t\t\t\t\x3cfieldset id\x3d"publicSearchRaido"\x3e\r\n\t\t\t\t\t\t\x3cinput data-dojo-attach-point\x3d"portalPublicRaido" data-dojo-type\x3d"dijit/form/RadioButton" \r\n\t\t\t\t\t\t\tdata-label-id\x3d"portalPublicRaido" name\x3d"publicSearchRaido" class\x3d"jimu-float-leading portal-public-radio" /\x3e\r\n\t\t\t\t\t\t\x3clabel data-dojo-attach-point\x3d"portalPublicLabel" data-label-for\x3d"portalPublicRaido" class\x3d"jimu-float-leading portal-public-label"\x3ePortal\x3c/label\x3e\r\n\r\n\t\t\t\t\t\t\x3cinput data-dojo-attach-point\x3d"onlinePublicRaido" data-dojo-type\x3d"dijit/form/RadioButton"\r\n\t\t\t\t\t\t\tdata-label-id\x3d"onlinePublicRaido" name\x3d"publicSearchRaido" class\x3d"jimu-float-leading online-public-radio" /\x3e\r\n\t\t\t\t\t\t\x3clabel data-dojo-attach-point\x3d"onlinePublicLabel" data-label-for\x3d"onlinePublicRaido" class\x3d"jimu-float-leading portal-public-label"\x3eArcGIS Online\x3c/label\x3e\r\n\t\t\t\t\t\x3c/fieldset\x3e\r\n\t\t\t\t\x3c/div\x3e\r\n\t\t\t\t\x3cdiv data-dojo-attach-point\x3d"publicItemSection" class\x3d"public-item-section"\x3e\r\n\t\t\t\t\t\x3cdiv data-dojo-attach-point\x3d"publicPortalItemTable" data-dojo-type\x3d"jimu/dijit/_ItemTable" data-dojo-props\x3d\'types:${_itemTypes},typeKeywords:${_typeKeywords}\'\x3e\x3c/div\x3e\r\n\t\t\t\t\t\x3cdiv data-dojo-attach-point\x3d"publicOnlineItemTable" data-dojo-type\x3d"jimu/dijit/_ItemTable" data-dojo-props\x3d\'types:${_itemTypes},typeKeywords:${_typeKeywords}\'\x3e\x3c/div\x3e\r\n\t\t\t\t\x3c/div\x3e\r\n\t\t\t\x3c/div\x3e\r\n\t\t\x3c/div\x3e\r\n\t\x3c/div\x3e\r\n\t\x3cdiv class\x3d"signin-section" data-dojo-attach-point\x3d"signinSection" style\x3d"display:none;"\x3e\r\n\t\t\x3cdiv class\x3d"signin-tip"\x3e${nls.signInTip}\x3c/div\x3e\r\n\t\x3c/div\x3e\r\n\x3c/div\x3e',
"url:jimu/dijit/templates/_ItemTable.html":'\x3cdiv\x3e\r\n\t\x3cdiv class\x3d"items-section all-items-section" data-dojo-attach-point\x3d"allItemsSection"\x3e\r\n\t\t\x3cdiv class\x3d"items-table-div" data-dojo-attach-point\x3d"allItemsTableDiv" data-dojo-attach-event\x3d"onscroll:_onAllItemsSectionScroll"\x3e\r\n\t\t\t\x3ctable class\x3d"items-table" cellpadding\x3d"10" data-dojo-attach-point\x3d"allItemsTable" data-dojo-attach-event\x3d"onclick:_onItemsTableClicked"\x3e\r\n\t\t\t\t\x3ctbody data-dojo-attach-point\x3d"allItemTbody"\x3e\x3c/tbody\x3e\r\n\t\t\t\x3c/table\x3e\r\n\t\t\x3c/div\x3e\r\n\t\t\x3cdiv data-dojo-type\x3d"jimu/dijit/LoadingIndicator" data-dojo-attach-point\x3d"allItemsShelter" data-dojo-props\x3d\'hidden:true\'\x3e\x3c/div\x3e\r\n\t\x3c/div\x3e\r\n\t\x3cdiv class\x3d"items-section filtered-items-section" data-dojo-attach-point\x3d"filteredItemsSection"\x3e\r\n\t\t\x3cdiv class\x3d"items-table-div" data-dojo-attach-point\x3d"filteredItemsTableDiv" data-dojo-attach-event\x3d"onscroll:_onFilteredItemsSectionScroll"\x3e\r\n\t\t\t\x3ctable class\x3d"items-table" cellpadding\x3d"10" data-dojo-attach-point\x3d"filteredItemsTable" data-dojo-attach-event\x3d"onclick:_onItemsTableClicked"\x3e\r\n\t\t\t\t\x3ctbody data-dojo-attach-point\x3d"filteredItemsTbody"\x3e\x3c/tbody\x3e\r\n\t\t\t\x3c/table\x3e\r\n\t\t\x3c/div\x3e\r\n\t\t\x3cdiv class\x3d"search-none-tip-section" data-dojo-attach-point\x3d"searchNoneTipSection" style\x3d"display:none;"\x3e\r\n\t\t\t\x3cspan class\x3d"search-none-icon jimu-icon jimu-icon-error"\x3e\x3c/span\x3e\r\n\t\t\t\x3cspan class\x3d"search-none-tip jimu-state-error-text"\x3e${nls.searchNone}\x3c/span\x3e\r\n\t\t\x3c/div\x3e\r\n\t\t\x3cdiv data-dojo-type\x3d"jimu/dijit/LoadingIndicator" data-dojo-attach-point\x3d"filteredItemShelter" data-dojo-props\x3d\'hidden:true\'\x3e\x3c/div\x3e\r\n\t\x3c/div\x3e\r\n\x3c/div\x3e',
"url:jimu/dijit/templates/_BasicServiceChooserContent.html":'\x3cdiv\x3e\r\n\t\x3cdiv class\x3d"content-section"\x3e\r\n\t\t\x3ctable class\x3d"layout"\x3e\r\n\t\t\t\x3ccolgroup\x3e\r\n\t\t\t\t\x3ccol width\x3d"80px" align\x3d"right"\x3e\x3c/col\x3e\r\n\t\t\t\t\x3ccol width\x3d"auto"\x3e\x3c/col\x3e\r\n\t\t\t\t\x3ccol width\x3d"170px"\x3e\x3c/col\x3e\r\n\t\t\t\x3c/colgroup\x3e\r\n\t\t\t\x3ctbody\x3e\r\n\t\t\t\t\x3ctr\x3e\r\n\t\t\t\t\t\x3ctd class\x3d"first-td"\x3e\r\n\t\t\t\t\t\t\x3cspan\x3eURL:\x3c/span\x3e\r\n\t\t\t\t\t\x3c/td\x3e\r\n\t\t\t\t\t\x3ctd\x3e\r\n\t\t\t\t\t\t\x3cdiv data-dojo-attach-point\x3d"urlInput" data-dojo-type\x3d"jimu/dijit/URLInput" style\x3d"width:100%;"\x3e\x3c/div\x3e\r\n\t\t\t\t\t\x3c/td\x3e\r\n\t\t\t\t\t\x3ctd\x3e\r\n\t\t\t\t\t\t\x3cdiv class\x3d"jimu-btn jimu-state-disabled validate-btn jimu-float-trailing" data-dojo-attach-point\x3d"btnValidate" data-dojo-attach-event\x3d"onclick:_onBtnValidateClick"\x3e${nls.validate}\x3c/div\x3e\r\n\t\t\t\t\t\x3c/td\x3e\r\n\t\t\t\t\x3c/tr\x3e\r\n\t\t\t\t\x3ctr data-dojo-attach-point\x3d"exampleTr" class\x3d"example-tr"\x3e\r\n\t\t\t\t\t\x3ctd class\x3d"first-td" style\x3d"padding-top:5px;"\x3e\r\n\t\t\t\t\t\t\x3cspan title\x3d"${nls.example}:"\x3e${nls.example}:\x3c/span\x3e\r\n\t\t\t\t\t\x3c/td\x3e\r\n\t\t\t\t\t\x3ctd data-dojo-attach-point\x3d"exampleTd" colspan\x3d"2" style\x3d"padding-top:5px;font-style:italic;color:#ccc;"\x3e\r\n\t\t\t\t\t\x3c/td\x3e\r\n\t\t\t\t\x3c/tr\x3e\r\n\t\t\t\x3c/tbody\x3e\r\n\t\t\x3c/table\x3e\r\n\t\t\x3cdiv class\x3d"service-browser-container" data-dojo-attach-point\x3d"serviceBrowserContainer"\x3e\r\n\t\t\t\x3cdiv class\x3d"error-section" data-dojo-attach-point\x3d"errorSection"\x3e\r\n\t\t\t\t\x3cspan class\x3d"jimu-icon jimu-icon-error"\x3e\x3c/span\x3e\r\n\t\t\t\t\x3cspan class\x3d"error-message" data-dojo-attach-point\x3d"errorNode"\x3e\x3c/span\x3e\r\n\t\t\t\x3c/div\x3e\r\n\t\t\x3c/div\x3e\r\n\t\x3c/div\x3e\r\n\t\x3cdiv class\x3d"operations"\x3e\r\n\t\t\x3cdiv class\x3d"jimu-btn jimu-float-trailing cancel jimu-btn-vacation" data-dojo-attach-event\x3d"onclick:_onBtnCancelClick"\x3e${nls.cancel}\x3c/div\x3e\r\n\t\t\x3cdiv class\x3d"jimu-btn jimu-float-trailing jimu-state-disabled ok" data-dojo-attach-point\x3d"btnOk" data-dojo-attach-event\x3d"onclick:_onBtnOkClick"\x3e${nls.ok}\x3c/div\x3e\r\n\t\x3c/div\x3e\r\n\t\x3cdiv data-dojo-attach-point\x3d"loading" data-dojo-type\x3d"jimu/dijit/LoadingIndicator" data-dojo-props\x3d\'hidden:true\'\x3e\x3c/div\x3e\r\n\x3c/div\x3e',
"url:widgets/Infographic/setting/Setting.html":'\x3cdiv\x3e\r\n\r\n  \x3cdiv class\x3d"widget-setting-header"\x3e\r\n    \x3cdiv class\x3d"tip flex-lc"\x3e${nls.dataSource}\x3c/div\x3e  \r\n\r\n    \x3cdiv class\x3d"data-source"\x3e\r\n      \x3cdiv class\x3d"url marginRight10" data-dojo-attach-point\x3d"urlTextBox" data-dojo-type\x3d"dijit/form/ValidationTextBox" data-dojo-props\x3d\'required:true,trim:true,disabled:true\' style\x3d"width:100%;"\x3e\x3c/div\x3e\r\n      \x3cdiv style\x3d"cursor: pointer;" class\x3d"jimu-icon jimu-icon-setting" data-dojo-attach-event\x3d"click:_onBtnDataSourceClicked"\x3e\x3c/div\x3e\r\n    \x3c/div\x3e\r\n\r\n    \x3cdiv  class\x3d"filter-extent-selection flex-lc" style\x3d"display: flex;"\x3e\r\n      \x3cdiv class\x3d"flex-keep-auto" data-dojo-type\x3d"jimu/dijit/CheckBox" data-dojo-attach-point\x3d"dataSourceUseSelection"\x3e\x3c/div\x3e\r\n      \x3cinput id\x3d"filter-by-extent" type\x3dcheckbox class\x3d"marginleft10 flex-keep-auto" data-dojo-type\x3d"dijit/form/CheckBox" data-dojo-attach-point\x3d"dataSourceFilterByExtent"\x3e\x3c/input\x3e\r\n      \x3clabel style\x3d"margin: 0 5px;" for\x3d"filter-by-extent"\x3e${nls.dataSourceFilterByExtent}\x3c/label\x3e\r\n    \x3c/div\x3e\r\n  \x3c/div\x3e\r\n  \r\n  \x3cdiv class\x3d"widget-setting-body"\x3e\r\n\r\n    \x3cdiv data-dojo-attach-point\x3d"bodySection" class\x3d"body-section"\x3e\r\n\r\n      \x3cdiv class\x3d"preview-section"\x3e\r\n        \x3cdiv class\x3d"preview-container"\x3e\r\n          \x3cdiv class\x3d"visual-controller-container"\x3e\r\n            \x3cdiv data-dojo-attach-point\x3d"visualContainer" class\x3d"visual-controller-component"\x3e\x3c/div\x3e\r\n            \x3cdiv title\x3d"${nls.resetLayout}" class\x3d"layout-reset" data-dojo-attach-event\x3d"click:_onResetLayoutClicked"\x3e\x3c/div\x3e\r\n          \x3c/div\x3e\r\n          \r\n          \x3cdiv class\x3d"card-container"\x3e\r\n            \x3cdiv data-dojo-attach-point\x3d"cardContent" class\x3d"card-content"\x3e\x3c/div\x3e\r\n          \x3c/div\x3e\r\n          \x3cdiv data-dojo-attach-point\x3d"chooseTemplateBtn" class\x3d"change-template-box change-template-style textOverFlow" data-dojo-attach-event\x3d"click:_onChooseTemplateClick" title\x3d"${nls.chooseTemplate}"\x3e${nls.chooseTemplate}\x3c/div\x3e\r\n        \x3c/div\x3e\r\n      \x3c/div\x3e\r\n\r\n      \x3cdiv class\x3d"mid-line"\x3e\x3c/div\x3e\r\n\r\n      \x3cdiv data-dojo-attach-point\x3d"settingSection" class\x3d"setting-section"\x3e\r\n        \x3cdiv data-dojo-attach-point\x3d"settingContainer" class\x3d"settingContainer"\x3e\r\n          \x3cdiv data-dojo-attach-point\x3d"settingContent" class\x3d"settingContent"\x3e\x3c/div\x3e\r\n        \x3c/div\x3e\r\n      \x3c/div\x3e\r\n\r\n      \x3cdiv class\x3d"settingTip" data-dojo-attach-point\x3d"settingTip"\x3e\r\n        \x3cdiv class\x3d"settingTip-title"\x3e${nls.settings}\x3c/div\x3e\r\n        \x3cdiv class\x3d"settingTip-text textOverFlow marginTop15" title\x3d"${nls.noSettingWaring1}"\x3e${nls.noSettingWaring1}\x3c/div\x3e\r\n        \x3cdiv class\x3d"settingTip-text textOverFlow marginTop10" title\x3d"${nls.noSettingWaring2}"\x3e${nls.noSettingWaring2}\x3c/div\x3e\r\n      \x3c/div\x3e\r\n\r\n    \x3c/div\x3e\r\n  \x3c/div\x3e\r\n\r\n    \x3cdiv data-dojo-attach-point\x3d"shelter" data-dojo-type\x3d"jimu/dijit/LoadingIndicator" data-dojo-props\x3d\'hidden:true\'\x3e\x3c/div\x3e\r\n\x3c/div\x3e\r\n',
"url:widgets/Infographic/setting/css/style.css":'@font-face {font-family: \'icomoon\'; src: url("../../css/fonts/icomoon.eot?oflavm"); src: url("../../css/fonts/icomoon.eot?oflavm#iefix") format(\'embedded-opentype\'), url("../../css/fonts/icomoon.ttf?oflavm") format(\'truetype\'), url("../../css/fonts/icomoon.woff?oflavm") format(\'woff\'), url("../../css/fonts/icomoon.svg?oflavm#icomoon") format(\'svg\'); font-weight: normal; font-style: normal;}.jimu-widget-infographic .indicator-icon,.jimu-widget-infographic-setting .indicator-icon {font-family: \'icomoon\' !important; speak: none; font-style: normal; font-weight: normal; font-variant: normal; text-transform: none; line-height: 1; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;}.jimu-widget-infographic .loading {position: absolute; overflow: hidden; bottom: 4px; right: 0; width: 17px; height: 17px; z-index: 101;}.jimu-rtl .jimu-widget-infographic .loading {left: 2px; right: auto;}.jimu-widget-infographic .loading {font-size: 10px; text-indent: -9999em; border-top: 3px solid rgba(219, 206, 206, 0.7); border-right: 3px solid rgba(219, 206, 206, 0.7); border-bottom: 3px solid rgba(219, 206, 206, 0.7); border-left: 3px solid #ffffff; -webkit-transform: translateZ(0); -ms-transform: translateZ(0); transform: translateZ(0); -webkit-animation: load8 1.1s infinite linear; animation: load8 1.1s infinite linear; box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.2); border-radius: 8px;}.jimu-widget-infographic .loading:after {border-radius: 50%; width: 24px; height: 24px;}.jimu-widget-infographic .hide {display: none !important;}.icon-like:before {content: "\\e900";}.icon-unlike:before {content: "\\e904";}.icon-stop:before {content: "\\e902";}.icon-danger:before {content: "\\e901";}.icon-star:before {content: "\\e903";}.icon-alarm:before {content: "\\e906";}.icon-down:before {content: "\\e909";}.icon-right:before {content: "\\e90f";}.icon-up:before {content: "\\e911";}.icon-wrong:before {content: "\\e912";}.lm_goldenlayout .lm_item .lm_content {position: relative;}.lm_goldenlayout .lm_item .lm_content .table-layout-container {display: table; table-layout: fixed; overflow: hidden; width: 100%; height: 100%;}.lm_goldenlayout .lm_item .lm_content .table-layout-container \x3e div {padding: 10px 15px;}.lm_goldenlayout .lm_item .lm_content .image-node {display: table-cell; overflow: hidden; position: relative; width: 100%; height: 100%;}.lm_goldenlayout .lm_item .lm_content .no-trim {white-space: pre-wrap;}.infographic-number-dijit {display: flex; justify-content: center; align-items: center;}.infographic-number-dijit .number-content .value-content {white-space: nowrap;}.infographic-number-dijit a,.infographic-number-dijit a:hover,.infographic-number-dijit a:visited,.infographic-number-dijit a:link,.infographic-number-dijit a:active {text-decoration: none;}.infographic-number-dijit.horizontal-left {justify-content: flex-start;}.infographic-number-dijit.horizontal-center {justify-content: center;}.infographic-number-dijit.horizontal-right {justify-content: flex-end;}.infographic-number-dijit.vertical-top {align-items: flex-start;}.infographic-number-dijit.vertical-middle {align-items: center;}.infographic-number-dijit.vertical-bottom {align-items: flex-end;}.infographic-number-dijit .number-content {display: flex; justify-content: center; max-width: 340px;}.infographic-number-dijit .number {display: flex; justify-content: space-between; align-items: baseline;}.infographic-number-dijit .indicator-icon {font-size: 22px; align-self: center; text-align: center;}.infographic-number-dijit .number .prefix {margin-right: 6px;}.infographic-number-dijit .number .suffix {margin-left: 6px;}.infographic-number-dijit .rightImgDiv {width: 35%; height: 100%; text-align: left;}.jimu-widget-infographic .infographic-number-dijit,.jimu-widget-infographic .infographic-chart-dijit,.jimu-widget-infographic .infographic-gauge-dijit {position: relative;}.infographic-chart-dijit .over-lay.hide {display: none !important;}.infographic-chart-dijit .over-lay {display: block; z-index: 99; position: absolute; left: 0; top: 0; height: 100%; width: 100%;}.infographic-number-dijit .no-data-tip,.infographic-chart-dijit .no-data-tip,.infographic-gauge-dijit .no-data-tip {display: none; position: absolute; left: 0; right: 0; height: 30px; top: calc(50% - 10px); text-align: center; color: #666;}.infographic-number-dijit.no-data .no-data-tip,.infographic-chart-dijit.no-data .no-data-tip,.infographic-gauge-dijit.no-data .no-data-tip {display: block; margin: 0 10px;}.infographic-number-dijit.no-data .chart-dom,.infographic-chart-dijit.no-data .chart-dom,.infographic-gauge-dijit.no-data .gauge-dom {visibility: hidden;}.infographic-number-dijit .chart-dom,.infographic-chart-dijit .chart-dom,.infographic-gauge-dijit .gauge-dom {visibility: visible; width: 100%; height: 100%;}.infographic-chart-dijit {display: flex;}.infographic-chart-dijit .y-axis-name {width: 30px; height: 100%; flex: 0 1 auto; justify-content: center; align-items: center; display: flex; white-space: nowrap; font-family: sans-serif; font-size: 12px;}.infographic-chart-dijit .y-axis-name.rotate {transform: rotate(-90deg); -webkit-transform: rotate(-90deg); -moz-transform: rotate(-90deg); -ms-transform: rotate(-90deg); -o-transform: rotate(-90deg); filter: progid:DXImageTransform.Microsoft.BasicImage(rotation\x3d3);}.infographic-chart-dijit .chart-dijit {width: calc(100% - 30px); height: 100%; flex: 1 1 auto;}.jimu-widget-infographic-setting {margin: 0; padding: 0; font-size: 14px; position: relative; width: 100%; height: 100%; display: flex; flex-direction: column;}.jimu-widget-infographic-setting .small-loading {font-size: 10px; text-indent: -9999em; border-top: 3px solid rgba(219, 206, 206, 0.7); border-right: 3px solid rgba(219, 206, 206, 0.7); border-bottom: 3px solid rgba(219, 206, 206, 0.7); border-left: 3px solid #ffffff; -webkit-transform: translateZ(0); -ms-transform: translateZ(0); transform: translateZ(0); -webkit-animation: load8 1.1s infinite linear; animation: load8 1.1s infinite linear; box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.2); border-radius: 8px;}.jimu-widget-infographic-setting .small-loading:after {border-radius: 50%; width: 24px; height: 24px;}.jimu-widget-infographic-setting .error-icon {background: no-repeat center left url(./images/error.svg);}.jimu-widget-infographic-setting .dijitSelect {background-color: #FFFFFF;}.jimu-widget-infographic-setting .dijitSelect .dijitArrowButton {background-color: #FFFFFF;}.jimu-widget-infographic-setting .widget-setting-header {flex: 0 0 15.33%; min-height: 90px; display: flex; flex-direction: column; justify-content: space-between;}.jimu-widget-infographic-setting .widget-setting-body {flex: 1 1 84.67%; min-height: 437px; margin-top: 20px;}.jimu-widget-infographic-setting .flex-lc {display: flex; justify-content: flex-start; align-items: center;}.jimu-widget-infographic-setting .flex-keep-auto {flex: 0 0 auto;}.jimu-widget-infographic-setting .text-label {height: 20px;}.jimu-widget-infographic-setting .flexStart {align-items: flex-start !important;}.jimu-widget-infographic-setting .lr-flex {display: flex; align-items: center;}.jimu-widget-infographic-setting .filter-extent-selection .flex-keep-width {flex: 0 0 auto;}.jimu-widget-infographic-setting .filter-extent-selection {height: 20px;}.jimu-widget-infographic-setting .filter-extent-selection .filter-disable-tip-text {font-size: 12px; color: #999; flex: 0 1 auto;}.jimu-widget-infographic-setting .filter-extent-selection label {white-space: nowrap;}.jimu-rtl .jimu-widget-infographic-setting .jimu-leading-margin05 {margin-right: 0.5em; margin-left: 0;}.jimu-widget-infographic-setting .setting-title {font-size: 14px; color: #000000; letter-spacing: 0.39px;}.jimu-widget-infographic-setting .setting-tab {margin-top: 10px; max-height: 395px; overflow-y: auto; overflow-x: hidden; padding-right: 10px;}.jimu-rtl .jimu-widget-infographic-setting .setting-tab {padding-left: 10px; padding-right: 0;}.jimu-widget-infographic-setting .hide {display: none !important;}.jimu-widget-infographic-setting .inline-block {display: inline-block;}.jimu-widget-infographic-setting .marginTop10 {margin-top: 10px;}.jimu-widget-infographic-setting .marginTop20 {margin-top: 20px;}.jimu-widget-infographic-setting .marginTop15 {margin-top: 15px;}.jimu-widget-infographic-setting .marginRight10 {margin-right: 10px;}.jimu-rtl .jimu-widget-infographic-setting .marginRight10 {margin-left: 10px; margin-right: 0;}.jimu-widget-infographic-setting .marginleft10 {margin-left: 10px;}.jimu-rtl .jimu-widget-infographic-setting .marginleft10 {margin-right: 10px; margin-left: 0;}.jimu-widget-infographic-setting .paddingRight10 {padding-right: 10px;}.jimu-rtl .jimu-widget-infographic-setting .paddingRight10 {padding-left: 10px; padding-right: 0;}.jimu-widget-infographic-setting .label-position {margin: 5px auto; max-width: 160px;}.jimu-widget-infographic-setting .textOverFlow {white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}.jimu-widget-infographic-setting .text-left-center {display: flex; align-items: center; white-space: nowrap;}.jimu-widget-infographic-setting .urlTextBox {width: 100%; margin-left: 10px;}.jimu-widget-infographic-setting .settings {background: no-repeat center center url(./images/setting_default.png); width: 26px; height: 26px; margin: 3px 20px;}.jimu-widget-infographic-setting .jimu-viewstack \x3e .view {font-size: 12px;}.jimu-widget-infographic-setting .infographic-toggle-pocket .toggle-header .title {font-size: 12px;}.jimu-widget-infographic-setting .data-source {display: flex; justify-content: space-around; align-items: center; height: 30px;}.jimu-widget-infographic-setting .tip {height: 20px; white-space: nowrap;}.jimu-widget-infographic-setting .data-source \x3e .url {flex: auto;}.jimu-widget-infographic-setting .data-source \x3e .jimu-icon {flex: none;}.jimu-widget-infographic-setting-template-popup {width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: space-between;}.jimu-widget-infographic-setting-template-popup .chooser-container {overflow-x: hidden; overflow-y: auto; flex-grow: 1; flex-shrink: 1; margin-bottom: 10px;}.jimu-widget-infographic-setting-template-popup .chooser-container .template-tr {display: flex; justify-content: flex-start; margin: 10px auto;}.jimu-widget-infographic-setting-template-popup .tempDiv {margin: auto 15px;}.jimu-widget-infographic-setting-template-popup .tempDiv .imgDiv {width: 120px; height: 100px; cursor: pointer; position: relative; outline: 1px solid #CCCCCC;}.jimu-widget-infographic-setting-template-popup .tempDiv .imgDiv.number {background: no-repeat center center url(./images/templates/number.svg); background-size: contain;}.jimu-widget-infographic-setting-template-popup .tempDiv .imgDiv.gauge {background: no-repeat center center url(./images/templates/gauge.svg); background-size: contain;}.jimu-widget-infographic-setting-template-popup .tempDiv .imgDiv.vertical_gauge {background: no-repeat center center url(./images/templates/vertical_gauge.svg); background-size: contain;}.jimu-widget-infographic-setting-template-popup .tempDiv .imgDiv.horizontal_gauge {background: no-repeat center center url(./images/templates/horizontal_gauge.svg); background-size: contain;}.jimu-widget-infographic-setting-template-popup .tempDiv .imgDiv.pie {background: no-repeat center center url(./images/templates/pie.svg); background-size: contain;}.jimu-widget-infographic-setting-template-popup .tempDiv .imgDiv.donut {background: no-repeat center center url(./images/templates/donuts.svg); background-size: contain;}.jimu-widget-infographic-setting-template-popup .tempDiv .imgDiv.bar {background: no-repeat center center url(./images/templates/bar.svg); background-size: contain;}.jimu-widget-infographic-setting-template-popup .tempDiv .imgDiv.stacked_bar {background: no-repeat center center url(./images/templates/stacked_bar.svg); background-size: contain;}.jimu-widget-infographic-setting-template-popup .tempDiv .imgDiv.percentage_stacked_bar {background: no-repeat center center url(./images/templates/percentage_stacked_bar.svg); background-size: contain;}.jimu-widget-infographic-setting-template-popup .tempDiv .imgDiv.column {background: no-repeat center center url(./images/templates/column.svg); background-size: contain;}.jimu-widget-infographic-setting-template-popup .tempDiv .imgDiv.stacked_column {background: no-repeat center center url(./images/templates/stacked_column.svg); background-size: contain;}.jimu-widget-infographic-setting-template-popup .tempDiv .imgDiv.percentage_stacked_column {background: no-repeat center center url(./images/templates/percentage_stacked_column.svg); background-size: contain;}.jimu-widget-infographic-setting-template-popup .tempDiv .imgDiv.line {background: no-repeat center center url(./images/templates/line.svg); background-size: contain;}.jimu-widget-infographic-setting-template-popup .tempDiv .imgDiv.area {background: no-repeat center center url(./images/templates/area.svg); background-size: contain;}.jimu-widget-infographic-setting-template-popup .tempDiv .imgDiv.stacked_area {background: no-repeat center center url(./images/templates/stacked_area.svg); background-size: contain;}.jimu-widget-infographic-setting-template-popup .tempDiv .imgDiv.percentage_stacked_area {background: no-repeat center center url(./images/templates/percentage_stacked_area.svg); background-size: contain;}.jimu-widget-infographic-setting-template-popup .tempDiv .labelDiv {margin-top: 10px; width: 100%; font-size: 12px; height: 30px; text-align: center; max-width: 120px; overflow: hidden; text-overflow: ellipsis;}.jimu-widget-infographic-setting-template-popup .tempDiv .imgDiv .select-icon {position: absolute; left: 5px; top: 5px; width: 18px; height: 18px; background: center center no-repeat url(images/Selected.svg); display: none; background-size: contain;}.jimu-rtl .jimu-widget-infographic-setting-template-popup .tempDiv .imgDiv .select-icon {left: 0; right: 5px;}.jimu-widget-infographic-setting-template-popup .tempDiv .imgDiv.selected {outline: 2px solid #51B4CD;}.jimu-widget-infographic-setting-template-popup .tempDiv .imgDiv.selected .select-icon {display: block;}.jimu-widget-infographic-setting-template-popup .footer {width: 100%; height: 36px; flex-grow: 0; flex-shrink: 0;}.jimu-widget-infographic-setting .body-section {display: flex; justify-content: space-between; height: 100%;}.jimu-widget-infographic-setting .body-section .mid-line {background: #E9E9E9; flex: 0 0 1px;}.jimu-widget-infographic-setting .setting-section {height: auto; display: flex; flex: 1 1 479.5px;}.jimu-widget-infographic-setting .indicatorsTitlePane {max-height: 382px; overflow: hidden;}.jimu-widget-infographic-setting .setting-section .infohraphic-setting-tab-container {max-height: 455px;}.jimu-widget-infographic-setting .setting-section .infohraphic-setting-tab-container .number-setting-display {height: 366px; overflow-x: hidden; overflow-y: auto;}.jimu-widget-infographic-setting .setting-section .settingContainer {width: 100%; display: flex; justify-content: center; align-items: flex-start; padding: 0 30px 0 39.5px;}.jimu-rtl .jimu-widget-infographic-setting .setting-section .settingContainer {padding: 0 39.5px 0 30px;}.jimu-widget-infographic-setting .setting-section .settingContent {height: auto; width: 100%;}.jimu-widget-infographic-setting .preview-section {height: auto; flex: 1 1 479.5px;}.jimu-widget-infographic-setting .preview-container {height: 100%; width: 100%; margin: 0 49.5px 0 40px;}.jimu-rtl .jimu-widget-infographic-setting .preview-container {margin: 0 40px 0 49.5px;}.jimu-widget-infographic-setting .preview-container .visual-controller-container {height: 40px; width: 360px; display: flex; justify-content: space-between; align-items: center;}.jimu-widget-infographic-setting .preview-section .visual-controller {width: 50px; height: 40px; border: 1px solid #C1C1C1; cursor: pointer;}.jimu-widget-infographic-setting .preview-section .visual-controller-selected {border: 1px solid #40B0C0;}.ie-gte-10 .jimu-widget-infographic-setting .preview-container .visual-controller-container .layout-reset {width: 39.2px; height: 39.2px;}.jimu-widget-infographic-setting .preview-container .visual-controller-container .layout-reset {width: 40px; height: 40px; cursor: pointer; background: center center no-repeat url(\'images/reset-layout.svg\'); background-size: contain;}.jimu-widget-infographic-setting .preview-container .visual-controller-container .layout-reset:hover {background: center center no-repeat url(\'images/reset-layout-hover.svg\'); background-size: contain;}.jimu-widget-infographic-setting .preview-section .visual-controller-component {height: 40px; display: flex; justify-content: flex-start; align-items: center;}.jimu-widget-infographic-setting .preview-section .visual-controller-component .controller-selected {width: 16px; height: 16px; margin: 3px 0 0 3px; background-size: contain; background: center center no-repeat url(images/Selected.svg);}.jimu-rtl .jimu-widget-infographic-setting .preview-section .visual-controller-component .controller-selected {margin: 3px 3px 0 auto;}.jimu-widget-infographic-setting .preview-section .visual-controller.text-controller {background: no-repeat center center url(./images/text-format.svg);}.jimu-widget-infographic-setting .preview-section .visual-controller.image-controller {background: no-repeat center center url(./images/imge-icon.svg);}.jimu-widget-infographic-setting .preview-section .visual-controller.number-controller {background: no-repeat center center url(./images/plus-one.svg);}.jimu-widget-infographic-setting .preview-section .visual-controller.gauge-controller {background: no-repeat center center url(./images/gauge-icon.svg);}.jimu-widget-infographic-setting .preview-section .visual-controller.chart-controller {background: no-repeat center center url(./images/drive-fusiontable.svg);}.jimu-widget-infographic-setting .settingTip {width: 100%; height: auto;}.jimu-widget-infographic-setting .settingTip .settingTip-title {font-size: 14px; color: #000000; letter-spacing: 0.39px;}.jimu-widget-infographic-setting .settingTip .settingTip-text {font-style: italic; font-size: 12px; color: #282828; letter-spacing: 0.33px; max-width: 400px;}.jimu-widget-infographic-setting .preview-section .change-template-box {margin-top: 30px; width: 150px; height: 30px;}.jimu-widget-infographic-setting .preview-section .change-template-style {border: 1px solid #CCCCCC; font-size: 14px; color: #4A4A4A; background: #FFFFFF; text-align: center; padding: 5px 0; cursor: pointer;}.jimu-widget-infographic-setting .preview-section .change-template-style:hover {background: #EFEFEF;}.jimu-widget-infographic-setting .preview-section .card-container {width: 360px; height: 308px; background: #FFFFFF; box-shadow: 0 0 6px 2px rgba(213, 212, 212, 0.50); position: relative; margin-top: 20px;}.jimu-widget-infographic-setting .preview-section .card-content {position: absolute; top: 10px; left: 10px; right: 10px; bottom: 10px;}.jimu-widget-infographic-setting .infographic-number-dijit-setting .dijitSelect .dijitButtonContents {border-style: none;}.jimu-widget-infographic-setting .infographic-number-dijit-setting .dijitSelectFocused .dijitArrowButton {background-color: #FFFFFF; background-image: none;}.jimu-widget-infographic-setting .infographic-gauge-dijit-setting .dijitSelect .dijitButtonContents {border-style: none;}.jimu-widget-infographic-setting .infographic-gauge-dijit-setting .dijitSelectFocused .dijitArrowButton {background-color: #FFFFFF; background-image: none;}.jimu-widget-infographic-setting .infographic-gauge-dijit-setting .value-container,.jimu-widget-infographic-setting .infographic-gauge-dijit-setting .min-container {margin-bottom: 20px;}.jimu-widget-infographic-setting .infographic-gauge-dijit-setting .margin-top-11 {margin-top: 11px;}.jimu-widget-infographic-setting .infographic-gauge-dijit-setting .flex {display: flex; justify-content: space-between;}.jimu-widget-infographic-setting .infographic-gauge-dijit-setting .flex .data-range-value.dijitTextBoxHover,.jimu-widget-infographic-setting .infographic-gauge-dijit-setting .flex .data-range-value.dijitValidationTextBoxHover,.jimu-widget-infographic-setting .infographic-gauge-dijit-setting .flex .data-range-value.dijitHover {background: transparent;}.jimu-widget-infographic-setting .infographic-gauge-dijit-setting .flex .dijitInputField,.infographic-setting-single-indicator .tr .dijitInputField {display: flex; align-items: center;}.jimu-widget-infographic-setting .infographic-gauge-dijit-setting .flex .dijitInputInner,.infographic-setting-single-indicator .tr .dijitInputInner {font-size: 12px; height: 28px; line-height: 28px !important;}.jimu-widget-infographic-setting .infographic-gauge-dijit-setting .flex-start {display: flex; justify-content: flex-start;}.jimu-widget-infographic-setting .infographic-gauge-dijit-setting .justify-content-sb {justify-content: space-between;}.jimu-widget-infographic-setting .infographic-gauge-dijit-setting .align-items-center {align-items: center;}.jimu-widget-infographic-setting .infographic-gauge-dijit-setting .font-style {font-size: 12px; color: #282828;}.jimu-widget-infographic-setting .infographic-gauge-dijit-setting .style-selector .setting-wapper {width: 200px;}.jimu-widget-infographic-setting .infographic-gauge-dijit-setting .text-size .text-size-group\x3etable {width: 110px;}.jimu-widget-infographic-setting .infographic-gauge-dijit-setting .dijitSliderButtonContainerH {padding: 0;}.jimu-widget-infographic-setting .infographic-gauge-dijit-setting .flex-leave1 label {white-space: nowrap; display: flex; align-items: center;}.jimu-widget-infographic-setting .infographic-gauge-dijit-setting .flex-leave2-left {max-width: 160px;}.jimu-widget-infographic-setting .infographic-gauge-dijit-setting .flex-leave2-right {width: 200px;}.jimu-widget-infographic-setting .infographic-gauge-dijit-setting .flex-leave3-left {width: 60px;}.jimu-widget-infographic-setting .infographic-gauge-dijit-setting .flex-leave3-right {width: 120px;}.jimu-widget-infographic-setting .infographic-gauge-dijit-setting .data-range-value {width: 120px;}.jimu-widget-infographic-setting .infographic-gauge-dijit-setting .label {margin: 6px auto}.jimu-widget-infographic-setting .infographic-gauge-dijit-setting .labelDiv {overflow: hidden; margin: 10px 10px auto auto;}.jimu-widget-infographic-setting .infographic-gauge-dijit-setting .left-right-setting-div {display: flex; justify-content: space-between; align-items: center;}.jimu-widget-infographic-setting .infographic-gauge-dijit-setting .top-bottom-setting-div {display: flex; justify-content: center; flex-direction: column;}.jimu-widget-infographic-setting .infographic-gauge-dijit-setting .toggle {width: 33px; height: 18px; cursor: pointer;}.jimu-widget-infographic-setting .infographic-gauge-dijit-setting .toggle.toggle-on {background: no-repeat center left url(./images/toggle_on_builder.svg);}.jimu-widget-infographic-setting .infographic-gauge-dijit-setting .toggle.toggle-off {background: no-repeat center left url(./images/toggle_off_builder.svg);}.jimu-rtl .jimu-widget-infographic-setting .infographic-gauge-dijit-setting .toggle.toggle-on {background: no-repeat center right url(./images/toggle_on_builder.svg);}.jimu-rtl .jimu-widget-infographic-setting .infographic-gauge-dijit-setting .toggle.toggle-off {background: no-repeat center right url(./images/toggle_off_builder.svg);}.jimu-widget-infographic-setting .infographic-gauge-dijit-setting .color-picker-position {margin-right: 100px;}.jimu-rtl .jimu-widget-infographic-setting .infographic-gauge-dijit-setting .color-picker-position {margin-left: 100px; margin-right: 0;}.jimu-widget-infographic-setting .infographic-gauge-dijit-setting .jimu-color-picker.jimu-color-pickerPopup {width: 30px; height: 20px;}.jimu-widget-infographic-setting .infographic-gauge-dijit-setting .display-container {height: 366px; overflow: auto;}.jimu-widget-infographic-setting .infographic-gauge-dijit-setting .display-in .ratio-true-div {display: flex; flex-direction: column; justify-content: flex-start; margin-right: 100px;}.infographic-toggle-pocket {display: flex; flex-direction: column; justify-content: space-between; margin-top: 10px;}.infographic-toggle-pocket .toggle-header {width: 100%; display: flex; height: 30px; justify-content: space-between; align-items: center;}.infographic-toggle-pocket .toggle-header .title {font-size: 14px; color: #282828; white-space: nowrap;}.infographic-toggle-pocket .toggle-header .toggle {width: 33px; height: 18px; cursor: pointer;}.infographic-toggle-pocket .toggle-header .toggle.toggle-on {background: no-repeat center center url(./images/toggle_on_builder.svg);}.infographic-toggle-pocket .toggle-header .toggle.toggle-off {background: no-repeat center center url(./images/toggle_off_builder.svg); position: relative;}.infographic-toggle-pocket .horizontal-line {background: #EAEAEA; width: 100%; height: 1px;}.infographic-toggle-pocket .pocket {width: 100%; margin-top: 10px;}.infographic-setting-number-icon-chooser-panel {width: 340px; height: 240px;}.infographic-setting-number-icon-chooser-panel .margin-top-10 {margin-top: 10px;}.infographic-setting-number-icon-chooser-panel .title {font-size: 18px; color: #000000;}.infographic-setting-number-icon-chooser-panel .title-box {margin: 14px 0 0 20px;}.jimu-rtl .infographic-setting-number-icon-chooser-panel .title-box {margin: 14px 20px 0 0;}.infographic-setting-number-icon-chooser-panel .marginLeft30 {margin-left: 30px;}.jimu-rtl .infographic-setting-number-icon-chooser-panel .marginLeft30 {margin-right: 30px; margin-left: 0;}.infographic-setting-number-icon-chooser-panel .flex-Ttb {display: flex; flex-direction: column; align-items: flex-start;}.infographic-setting-number-icon-chooser-panel .left-div {width: 80px; font-size: 14px; color: #000000;}.infographic-setting-number-icon-chooser-panel .right-div {width: 200px; display: flex;}.infographic-setting-number-icon-chooser-panel .styleDiv {display: flex; justify-content: flex-start; align-items: center; width: 280px;}.infographic-setting-number-icon-chooser-panel .styleDiv .style-label {height: 77px;}.infographic-setting-number-icon-chooser-panel .styleDiv .style-content {height: 36px; width: 200px; display: flex; justify-content: space-between; align-items: center;}.infographic-setting-number-icon-chooser-panel .styleDiv .style-container {height: 77px; width: 200px; display: flex; flex-direction: column; justify-content: space-between;}.infographic-setting-number-icon-chooser-panel .label-div {width: 60px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}.infographic-setting-number-icon-chooser-panel .placement {display: flex;}.infographic-setting-number-icon-chooser-panel .placement-label {height: 24px; padding: 5px 0;}.infographic-setting-number-icon-chooser-panel .color-label {height: 30px; padding: 6px 0;}.infographic-setting-number-icon-chooser-panel .styleDiv .iconDiv {width: 36px; height: 36px; border: 1px solid #CCCCCC; cursor: pointer; font-size: 15px;}.infographic-setting-number-icon-chooser-panel .styleDiv .iconDiv.icon-up-svg {background: center center no-repeat url(images/icon-style/icon-up.svg);}.infographic-setting-number-icon-chooser-panel .styleDiv .iconDiv.icon-down-svg {background: center center no-repeat url(images/icon-style/icon-down.svg);}.infographic-setting-number-icon-chooser-panel .styleDiv .iconDiv.icon-stop-svg {background: center center no-repeat url(images/icon-style/icon-stop.svg);}.infographic-setting-number-icon-chooser-panel .styleDiv .iconDiv.icon-star-svg {background: center center no-repeat url(images/icon-style/icon-star.svg);}.infographic-setting-number-icon-chooser-panel .styleDiv .iconDiv.icon-danger-svg {background: center center no-repeat url(images/icon-style/icon-danger.svg);}.infographic-setting-number-icon-chooser-panel .styleDiv .iconDiv.icon-alarm-svg {background: center center no-repeat url(images/icon-style/icon-alarm.svg);}.infographic-setting-number-icon-chooser-panel .styleDiv .iconDiv.icon-right-svg {background: center center no-repeat url(images/icon-style/icon-right.svg);}.infographic-setting-number-icon-chooser-panel .styleDiv .iconDiv.icon-wrong-svg {background: center center no-repeat url(images/icon-style/icon-wrong.svg);}.infographic-setting-number-icon-chooser-panel .styleDiv .iconDiv.icon-like-svg {background: center center no-repeat url(images/icon-style/icon-like.svg);}.infographic-setting-number-icon-chooser-panel .styleDiv .iconDiv.icon-unlike-svg {background: center center no-repeat url(images/icon-style/icon-unlike.svg);}.infographic-setting-number-icon-chooser-panel .styleDiv .iconDiv.iconSelected {border: 1px solid #24B5CC;}.infographic-setting-number-icon-chooser-panel .placeDiv {width: 67.1px; height: 24px; border: 1px solid #CCCCCC; cursor: pointer; font-size: 12px; color: #000000;}.infographic-setting-number-icon-chooser-panel .placeDiv.text-center {display: flex; align-items: center; justify-content: center;}.infographic-setting-number-icon-chooser-panel .placeDiv.placeSelected {background-color: #49B4CB; color: #FFFFFF;}.infographic-setting-number-icon-chooser-panel .placeDiv.mergeBorder {margin-left: -1px;}.infographic-setting-number-icon-chooser-popup {width: 60px; height: 20px; display: flex; cursor: pointer;}.infographic-setting-number-icon-chooser-popup .border-merge {margin-left: -1px;}.jimu-rtl .infographic-setting-number-icon-chooser-popup .border-merge {margin-right: -1px; margin-left: 0;}.infographic-setting-number-icon-chooser-popup .drop-down-arrow {width: 30px; height: 20px; background: center center no-repeat url(\'images/arrow-drop-down.svg\'); border: 1px solid #D7D7D7;}.infographic-setting-number-icon-chooser-popup .iconPreview {border: 1px solid #D7D7D7; width: 30px; height: 20px; display: flex; justify-content: center; align-items: center;}.infographic-setting-number-icon-chooser-popup-dialog .dijitTooltipContainer {overflow: hidden; background: #fff !important; border-radius: 0; border-style: none; box-shadow: 0 0 12px 0 #9A9A9A; padding: 0; border: none;}.infographic-setting-number-icon-chooser-popup-dialog .dijitTooltipContainer .dijitTooltipFocusNode {padding: 0;}.infographic-setting-number-icon-chooser-popup-dialog .dijitTooltipContainer .dijitTooltipFocusNode .colorPicker {width: 36px; height: 30px;}.infographic-setting-number-icon-chooser-popup-dialog .dijitTooltipContainer .dijitTooltipFocusNode .colorPicker .jimu-color-picker {width: 34px; height: 28px;}.infographic-setting-number-icon-chooser-popup-dialog .dijitTooltipConnector {display: none;}.jimu-widget-infographic-setting .infographic-setting-multiple-indicators .marginleft10 {margin-left: 10px;}.jimu-rtl .jimu-widget-infographic-setting .infographic-setting-multiple-indicators .marginleft10 {margin-right: 10px; margin-left: 0;}.infographic-setting-multiple-indicators .top {display: flex; align-items: center; justify-content: flex-start; height: 20px;}.infographic-setting-multiple-indicators .top .top-mid-block {width: 10px; height: 20px; cursor: pointer;}.infographic-setting-multiple-indicators .top .icon-add-indicator {width: 14px; height: 14px; cursor: pointer; background-size: contain; background: no-repeat center center url(./images/add-icon-deactive.svg);}.infographic-setting-multiple-indicators .top .icon-add-indicator.active {background: no-repeat center center url(./images/add-icon-active.svg);}.infographic-setting-multiple-indicators .top .text-add-indicator {font-style: italic; font-size: 12px; color: #282828; cursor: pointer;}.infographic-setting-multiple-indicators .top .text-add-indicator.active {color: #24b5cc;}.jimu-widget-infographic-setting .infographic-setting-multiple-indicators .indicatorDiv {padding: 2px 5px 2px 0;}.jimu-rtl .jimu-widget-infographic-setting .infographic-setting-multiple-indicators .indicatorDiv {padding: 2px 0 2px 5px;}.jimu-widget-infographic-setting .infographic-setting-multiple-indicators .indicatorDiv {width: 100%; max-height: 347px; overflow-x: hidden; overflow-y: auto; display: flex; flex-direction: column; align-items: center;}.jimu-widget-infographic-setting .infographic-setting-multiple-indicators .icon-add-indicator {width: 14px; height: 14px; cursor: pointer;}.jimu-widget-infographic-setting .infographic-setting-multiple-indicators .add-icon-active {background: no-repeat center center url(./images/add-icon-active.svg); background-size: contain;}.jimu-widget-infographic-setting .infographic-setting-multiple-indicators .add-icon-deactive {background: no-repeat center center url(./images/add-icon-deactive.svg); background-size: contain;}.jimu-widget-infographic-setting .infographic-setting-multiple-indicators .add-indicator-tip-active {color: #24B5CC;}.jimu-widget-infographic-setting .infographic-setting-multiple-indicators .add-indicator-tip-deactive {color: #282828;}.infographic-setting-single-indicator {width: 99%;}.infographic-setting-single-indicator.sortable-chosen {box-shadow: 0 0 1px 1px rgba(213, 212, 212, 0.50);}.infographic-setting-single-indicator .header {width: 100%; height: 16px; cursor: move;}.infographic-setting-single-indicator .header:hover {cursor: move;}.infographic-setting-single-indicator .compareContainer {display: flex; justify-content: space-between; align-items: center;}.infographic-setting-single-indicator .tr {width: 100%; display: flex; justify-content: space-between; align-items: center; height: 30px;}.infographic-setting-single-indicator .tr .dijitTextBoxHover,.infographic-setting-single-indicator .tr .dijitVaildationTextBoxHover,.infographic-setting-single-indicator .tr .dijitHover {background: transparent;}.infographic-setting-single-indicator .tr .flex-in-left {display: flex; justify-content: space-between; align-items: center; width: 200px;}.infographic-setting-single-indicator .tr .flex-in-left.then-text {width: 249px;}.infographic-setting-single-indicator .tr .flex-in-right {display: flex; justify-content: space-between; align-items: center; width: 171px;}.infographic-setting-single-indicator .flex-in-right .flex-in-right-left-div {display: flex; justify-content: flex-end; align-items: center; width: 143px;}.infographic-setting-single-indicator .tr .flex-in-right.then-text {width: 122px;}.infographic-setting-single-indicator .flex-in-right .flex-in-right-left-div.then-text {width: 94px;}.infographic-setting-single-indicator .flex-in-right .close {background-image: url(\'images/close.svg\');}.infographic-setting-single-indicator .flex-in-right .close-div {cursor: pointer; width: 12px; height: 12px; background-repeat: no-repeat;}.infographic-setting-single-indicator .flex-in-right .close:hover {background-image: url(\'images/close-mouseover.svg\');}.infographic-setting-single-indicator .disable {color: #BCBCBC !important;}.infographic-setting-single-indicator .value-state,.infographic-setting-single-indicator .gauge-state,.infographic-setting-single-indicator .icon-state {width: 12px; height: 12px; background-size: contain; cursor: pointer;}.infographic-setting-single-indicator .deactivated {background: center center no-repeat url(\'images/indicator-off.svg\');}.infographic-setting-single-indicator .activated {background: center center no-repeat url(\'images/indicator-on.svg\');}.infographic-setting-single-indicator .tr .then-tip {font-size: 12px; color: #282828; width: 192px;}.infographic-setting-single-indicator .labelTip {width: 43px; font-size: 12px; color: #282828;}.infographic-setting-single-indicator .label {margin: 7px auto;}.infographic-setting-single-indicator .compareDiv {width: 143px;}.infographic-setting-single-indicator .compareDiv .dijitSelect span {width: 100px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center;}.infographic-setting-single-indicator .compareContainer {width: 143px; display: flex; justify-content: space-between; align-items: center;}.infographic-setting-single-indicator .compareContainer span {font-size: 12px; color: #727272; max-width: 25px;}.infographic-setting-single-indicator .longValue {width: 143px;}.infographic-setting-single-indicator .shortValue {width: 50px;}.infographic-setting-single-indicator .ratio-div {width: 100%; overflow: hidden; padding: 10px 0;}.infographic-setting-single-indicator .ratio-div:hover {cursor: move;}.infographic-setting-single-indicator .ratio-div .ratio-in-div {display: flex; justify-content: flex-start;}.infographic-setting-single-indicator .ratio-div label {font-size: 12px; color: #4B4B4B;}.infographic-setting-single-indicator .indicator-option:hover {cursor: move;}.infographic-setting-single-indicator .jimu-color-picker.jimu-color-pickerPopup {width: 60px !important; height: 20px !important;}.infographic-setting-single-indicator .color-piker-btn {margin: 5px 5px 0px 5px}.infographic-setting-single-indicator .indicator-bottom-line {height: 1px; background: #EAEAEA; margin-top: 15px;}.infographic-setting-single-indicator .indicator-bottom-line:hover {cursor: move;}.jimu-widget-infographic-setting .style-selector .clearFix {*overflow: hidden; *zoom: 1}.jimu-widget-infographic-setting .style-selector .clearFix:after {display: table; content: ""; width: 0; clear: both}.jimu-widget-infographic-setting .style-selector .hide {display: none}.jimu-widget-infographic-setting .settings-container {}.jimu-widget-infographic-setting .settings-container .title {font-size: 14px; color: #000000; letter-spacing: 0.39px; margin-bottom: 20px;}.jimu-widget-infographic-setting .settings-container .label {font-size: 12px; color: #282828; letter-spacing: 0.33px; line-height: 30px;}.jimu-widget-infographic-setting .style-selector .label {margin: 0 0; max-width: 160px; line-height: 30px; font-size: 12px; vertical-align: middle; overflow: hidden; text-overflow: ellipsis;}.jimu-widget-infographic-setting .style-selector .dijitTextBox,.jimu-widget-infographic-setting .style-selector .dijitSelect {width: 100%; height: 30px; border: 1px solid #D7D7D7;}.jimu-widget-infographic-setting .style-selector .jimu-color-picker {width: 40px !important; height: 30px !important; border: 1px solid #D7D7D7 !important;}.jimu-widget-infographic-setting .style-selector .dijitSelect .dijitArrowButtonContainer {border: none;}.jimu-widget-infographic-setting .style-selector .dijitDownArrowButton .dijitButtonContents,.jimu-widget-infographic-setting .style-selector .dijitComboBox .dijitDownArrowButton {border: none;}.jimu-widget-infographic-setting .style-selector .dijitTextBox .dijitInputInner {padding: 1px 0 0 0 !important; font-size: 12px; font-style: normal !important; height: 28px; line-height: 28px !important;}.jimu-widget-infographic-setting .style-selector .dijitSelectLabel {font-size: 12px;}.jimu-widget-infographic-setting .style-selector .dijitSelect,.jimu-widget-infographic-setting .style-selector .dijitSelect .dijitButtonContents,.jimu-widget-infographic-setting .style-selector .dijitTextBox,.jimu-widget-infographic-setting .style-selector .dijitTextBox .dijitButtonNode {background-color: transparent;}.jimu-widget-infographic-setting .style-selector .dijitSelect .dijitArrowButton {background-color: transparent;}.jimu-widget-infographic-setting .style-selector .dijitSelect .dijitInputField {padding: 0px 10px;}.jimu-widget-infographic-setting .style-selector .jimu-image-chooser {width: 100%; height: 28px;}.jimu-widget-infographic-setting .setting-items.field-statistics-wapper {margin-top: -10px !important;}.jimu-widget-infographic-setting .setting-items .data-formats {line-height: 30px; font-size: 12px;}.jimu-widget-infographic-setting .setting-items .data-formats\x3elabel {padding: 0 6px;}.jimu-widget-infographic-setting .jimu-image-chooser .display-text {width: 100%; font-size: 12px; color: #4A4A4A; letter-spacing: 0.33px; background-color: #FFF; text-align: center;}.jimu-image-chooser:hover .hint .display-text {color: #FFF;}.jimu-widget-infographic-setting .dijitTextBoxFocused {border: 1px solid #D7D7D7 !important; box-shadow: 0 0 0 0 !important;}.jimu-widget-infographic-setting .dijitTextBox .dijitInputField {padding: 0px 10px;}.jimu-widget-infographic-setting .dijitSelectFocused .dijitArrowButton .dijitArrowButtonInner {background-position: -35px 53%;}.jimu-widget-infographic-setting .text-size .text-size-group\x3e.dijitComboBox.dijitValidationTextBox {width: 80px;}.jimu-widget-infographic-setting .text-size .text-size-group\x3etable {width: 140px;}.jimu-widget-infographic-setting .dijitSlider {margin-left: 10px; margin-right: auto; margin-top: 14px;}.jimu-rtl .jimu-widget-infographic-setting .dijitSlider {margin-left: auto; margin-right: 10px;}.jimu-widget-infographic-setting .dijitSlider .dijitSliderImageHandleH {top: -10px; width: 20px; height: 20px;}.jimu-widget-infographic-setting .dijitSliderImageHandle.dijitSliderImageHandleH {background-image: url("images/sliderball.svg"); background-position: 0 0;}.jimu-widget-infographic-setting .dijitSliderImageHandle.dijitSliderImageHandleH.dojoMoveItem {background-image: url("images/sliderball_hold.svg"); background-position: 0 0;}.jimu-widget-infographic-setting .tabs .dijitSliderThumbHover {background-image: url("images/sliderball_hover.png"); background-position: 0 0;}.jimu-widget-infographic-setting .dijitSliderFocused .dijitSliderRemainingBarH,.jimu-widget-infographic-setting .dijitSliderFocused .dijitSliderRightBumper {box-shadow: 0 0 0 0 transparent;}.jimu-widget-infographic-setting .dijitSlider .dijitSliderProgressBarH,.jimu-widget-infographic-setting .dijitSlider .dijitSliderLeftBumper {border-color: #24b5cc; background-color: #24b5cc; background-image: -webkit-linear-gradient(top, #24b5cc 0px, #24b5cc 1px, rgba(0, 0, 0, 0) 0px); background-image: -o-linear-gradient(top, #24b5cc 0px, #24b5cc 1px, rgba(0, 0, 0, 0) 0px); background-image: linear-gradient(top, #24b5cc 0px, #24b5cc 1px, rgba(0, 0, 0, 0) 0px); box-shadow: 0 0 0 0 transparent;}.jimu-widget-infographic-setting .dijitSlider .dijitSliderLeftBumper,.jimu-rtl .jimu-widget-infographic-setting .dijitSlider .dijitSliderRightBumper {border-bottom-left-radius: 50%; border-top-left-radius: 50%; border-bottom-right-radius: 0; border-top-right-radius: 0;}.jimu-widget-infographic-setting .dijitSlider .dijitSliderRightBumper,.jimu-rtl .jimu-widget-infographic-setting .dijitSlider .dijitSliderLeftBumper {border-bottom-left-radius: 0; border-top-left-radius: 0; border-bottom-right-radius: 50%; border-top-right-radius: 50%;}.jimu-widget-infographic-setting .dijitSlider .dijitSliderRemainingBarH,.jimu-widget-infographic-setting .dijitSlider .dijitSliderRightBumper {border-color: #d7d7d7; background-color: #d7d7d7;}.jimu-widget-infographic-setting .style-selector .setting-items {height: 30px; width: 100%; margin: 10px 0; vertical-align: middle; white-space: nowrap;}.jimu-widget-infographic-setting .style-selector .setting-wapper {width: 230px;}.jimu-widget-infographic-setting .style-selector .background-btn,.jimu-widget-infographic-setting .style-selector .text-color-btn {width: 40px; height: 30px; overflow: hidden;}.jimu-widget-infographic-setting .style-selector .align-group {margin-right: 8px; margin-left: -3px;}.jimu-rtl .jimu-widget-infographic-setting .style-selector .align-group {margin-right: -3px; margin-left: 8px;}.jimu-widget-infographic-setting .style-selector .font-group-btns {margin-left: 6px; margin-right: 6px;}.jimu-widget-infographic-setting .style-selector .align-btn,.jimu-widget-infographic-setting .style-selector .font-btn {height: 30px; margin: 0 3px;}.jimu-widget-infographic-setting .style-selector .font-btn {width: 30px;}.jimu-widget-infographic-setting .style-selector .align-btn {width: 30px;}.jimu-widget-infographic-setting .style-selector .image-btn {width: 120px; height: 30px; border: 1px solid #D7D7D7;}.jimu-widget-infographic-setting .style-selector .bold {background: url("images/btns/B.svg") no-repeat;}.jimu-widget-infographic-setting .style-selector .bold.selected {background: url("images/btns/B_selected.svg") no-repeat;}.jimu-widget-infographic-setting .style-selector .italic {background: url("images/btns/I.svg") no-repeat;}.jimu-widget-infographic-setting .style-selector .italic.selected {background: url("images/btns/I_selected.svg") no-repeat;}.jimu-widget-infographic-setting .style-selector .underline {background: url("images/btns/U.svg") no-repeat;}.jimu-widget-infographic-setting .style-selector .underline.selected {background: url("images/btns/U_selected.svg") no-repeat;}.jimu-widget-infographic-setting .style-selector .left {background: url("images/btns/left.svg") no-repeat;}.jimu-widget-infographic-setting .style-selector .left.selected {background: url("images/btns/left_selected.svg") no-repeat;}.jimu-widget-infographic-setting .style-selector .center {background: url("images/btns/center.svg") no-repeat;}.jimu-widget-infographic-setting .style-selector .center.selected {background: url("images/btns/center_selected.svg") no-repeat;}.jimu-widget-infographic-setting .style-selector .right {background: url("images/btns/right.svg") no-repeat;}.jimu-widget-infographic-setting .style-selector .right.selected {background: url("images/btns/right_selected.svg") no-repeat;}.jimu-widget-infographic-setting .style-selector .top {background: url("images/btns/top.svg") no-repeat;}.jimu-widget-infographic-setting .style-selector .top.selected {background: url("images/btns/top_selected.svg") no-repeat;}.jimu-widget-infographic-setting .style-selector .middle {background: url("images/btns/middle.svg") no-repeat;}.jimu-widget-infographic-setting .style-selector .middle.selected {background: url("images/btns/middle_selected.svg") no-repeat;}.jimu-widget-infographic-setting .style-selector .bottom {background: url("images/btns/bottom.svg") no-repeat;}.jimu-widget-infographic-setting .style-selector .bottom.selected {background: url("images/btns/bottom_selected.svg") no-repeat;}.jimu-widget-infographic-setting .jimu-tab3 \x3e .control-node {margin-top: 7px; margin-bottom: 10px;}.jimu-widget-infographic-setting .infographic-chart-dijit-setting .padding-right-5 {padding-right: 5px;}.jimu-rtl .jimu-widget-infographic-setting .infographic-chart-dijit-setting .padding-right-5 {padding-left: 5px;}.jimu-widget-infographic-setting .infographic-chart-dijit-setting .data-section,.jimu-widget-infographic-setting .infographic-chart-dijit-setting .display-section,.jimu-widget-infographic-setting .infographic-chart-dijit-setting .mark-section {max-height: 398px; overflow-x: hidden; overflow-y: auto;}.jimu-widget-infographic-setting .infographic-chart-dijit-setting .jimu-viewstack \x3e .view {box-sizing: border-box; padding-top: 5px; font-size: 12px;}.jimu-widget-infographic-setting .infographic-chart-dijit-setting .infographic-toggle-pocket .toggle-header .title {font-size: 12px;}.jimu-widget-infographic-setting .infographic-chart-dijit-setting .average-align {height: 40px; display: flex; flex-flow: row nowrap; align-items: center;}.jimu-widget-infographic-setting .infographic-chart-dijit-setting .average-align .jimu-dijit-data-fields {width: 99%;}.jimu-widget-infographic-setting .infographic-chart-dijit-setting .average-align.value-fields-section-item {align-items: flex-start; margin-top: 6px;}.jimu-widget-infographic-setting .infographic-chart-dijit-setting .average-align.value-fields-section-item .jimu-dijit-data-fields .field-item \x3e span {max-width: 130px;}.jimu-widget-infographic-setting .infographic-chart-dijit-setting .average-align \x3e * {width: 50%; flex: 0 0 50%;}.jimu-widget-infographic-setting .chart-color-setting {display: inline-block;}.jimu-widget-infographic-setting .chart-color-setting span.dijitSelectLabel {width: 100%;}.jimu-widget-infographic-setting .chart-color-setting .jimu-color-picker {width: 30px; height: 20px;}.jimu-widget-infographic-setting .infographic-chart-sort .hide {display: none !important;}.jimu-widget-infographic-setting .infographic-chart-sort .marginLeft13 {margin-left: 13px;}.jimu-rtl .jimu-widget-infographic-setting .infographic-chart-sort .marginLeft13 {margin-right: 13px;}.jimu-widget-infographic-setting .infographic-chart-sort .radio-div {display: flex; flex-direction: column; font-size: 15px;}.jimu-widget-infographic-setting .infographic-chart-sort .flex-sb-center {display: flex; align-items: center; justify-content: space-between;}.jimu-widget-infographic-setting .infographic-chart-sort .flex-left-center {display: flex; align-items: center; justify-content: flex-start;}.jimu-widget-infographic-setting .infographic-chart-sort .flex-left-center label {font-size: 12px;}.jimu-widget-infographic-setting .infographic-chart-sort .sort-icon {width: 17px; height: 17px; cursor: pointer;}.jimu-widget-infographic-setting .infographic-chart-sort .axis-tr {display: flex; align-items: center; justify-content: space-between;}.jimu-widget-infographic-setting .infographic-chart-sort .asc.selected {background: no-repeat center center url(./images/acs_active.svg);}.jimu-widget-infographic-setting .infographic-chart-sort .asc {background: no-repeat center center url(./images/acs_deactive.svg);}.jimu-widget-infographic-setting .infographic-chart-sort .desc.selected {background: no-repeat center center url(./images/desc_active.svg);}.jimu-widget-infographic-setting .infographic-chart-sort .desc {background: no-repeat center center url(./images/desc_deactive.svg);}.jimu-widget-infographic-setting .infographic-chart-sort .sort-filed {width: 100%; flex: 0 0 50%;}.jimu-widget-infographic-setting .infographic-chart-sort .sort-div {width: 30%; display: flex; align-items: center; justify-content: flex-end;}.jimu-widget-infographic-setting .infographic-chart-sort .down-select-div {flex: 1 0 70%;}.jimu-widget-infographic-setting .infographic-chart-sort .z-axis-container {flex: 0 1 30%; display: flex; justify-content: flex-end; align-items: center;}.jimu-widget-infographic-setting .infographic-chart-dijit-setting .section-item .format-div {display: flex; flex-direction: column;}.jimu-widget-infographic-setting .infographic-chart-dijit-setting .section-item .format-div .date-time-format-div {display: flex; justify-content: space-between; align-items: center; flex: 0 0 50%;}.jimu-widget-infographic-setting .infographic-chart-dijit-setting .section-item .format-div .date-time-format-div .date-time-label {width: 30%; flex: 0 0 30%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}.jimu-widget-infographic-setting .infographic-chart-dijit-setting .section-item .format-div .date-time-format-div .format-select {width: 61%; flex: 0 0 60%;}.jimu-widget-infographic-setting .infographic-chart-dijit-setting .section-item .tb-radio-div {display: flex; flex-direction: column;}.jimu-widget-infographic-setting .infographic-chart-dijit-setting .section-item .lr-radio-label-div {display: flex; align-items: center;}.jimu-widget-infographic-setting .infographic-chart-dijit-setting .tb-radio-label {max-width: 80%; font-size: 12px;}.jimu-widget-infographic-setting .infographic-chart-dijit-setting .tb-flex {display: flex; flex-direction: column;}.jimu-widget-infographic-setting .infographic-chart-dijit-setting .check-label {max-width: 175px;}.jimu-widget-infographic-setting .infographic-chart-dijit-setting .dijitRadio {margin: 0px;}.jimu-widget-infographic-setting .infographic-chart-dijit-setting .dijitNumberTextBox.dijitSpinner {width: 100%;}.jimu-widget-infographic-setting .infographic-chart-dijit-setting .infographic-visible-sliderbar .dijitSliderButtonContainerH {padding: 0px;}.jimu-widget-infographic-setting .left-label {max-width: 100%;}.jimu-widget-infographic-setting .infographic-chart-dijit-setting .display-section .section-item.align-items-start {align-items: flex-start;}.infographic-series-style .text-over {white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}.infographic-series-style .radio-label {max-width: 160px;}.infographic-series-style .hide {display: none !important;}.infographic-series-style .top {display: flex; justify-content: flex-start; align-items: center;}.infographic-series-style .flex-lr-balance {flex: 0 0 50%;}.infographic-series-style .single-radio-panel {display: flex; justify-content: flex-start; align-items: center;}.infographic-series-style .single-radio-panel.first-radio {margin-top: 7px;}.infographic-series-style .single-radio-panel.second-radio {height: 30px;}.infographic-series-style .single-radio-panel.third-radio {margin-bottom: 7px;}.infographic-series-style .single-radio-panel.third-radio .toggle-icon-div {display: flex; align-items: center; justify-content: flex-end; height: 16px; cursor: pointer;}.infographic-series-style .single-radio-panel.third-radio .toggle-icon-div .toggle-icon {width: 12px; height: 7px; background: no-repeat center center url(./images/custom-color/arrow-up.svg);}.infographic-series-style .single-radio-panel.third-radio .toggle-icon-div:hover .toggle-icon {background: no-repeat center center url(./images/custom-color/arrow-up-hover.svg);}.infographic-series-style .single-radio-panel.third-radio .toggle-icon-div .toggle-icon.closed {background: no-repeat center center url(./images/custom-color/arrow-down.svg);}.infographic-series-style .single-radio-panel.third-radio .toggle-icon-div:hover .toggle-icon.closed {background: no-repeat center center url(./images/custom-color/arrow-down-hover.svg);}.infographic-series-style .radio-single-color-div {align-items: center;}.infographic-series-style .field-colors {width: 100%;}.infographic-series-style .field-colors .infographic-series-style-item .field-name-div {max-width: 140px;}.infographic-series-style .field-colors.indentation .infographic-series-style-item .field-name {padding-left: 27px; padding-right: 0;}.jimu-rtl .infographic-series-style .field-colors.indentation .infographic-series-style-item .field-name {padding-right: 27px; padding-left: 0;}.infographic-series-style-item {display: flex; align-items: center; justify-content: flex-start;}.infographic-series-style-item .flex-balance-low {flex: 0 1 49%;}.infographic-series-style-item .flex-balance-shrink1 {flex: 0 0 49%;}.infographic-series-style-item .field-color-left {display: flex; align-items: center; justify-content: flex-start;}.infographic-series-style-item .field-color-right {display: flex; align-items: center; justify-content: space-between;}.infographic-series-style-item .field-color-right .color {flex: 1 1 auto;}.infographic-series-style-item .opacity-slider {width: 100px; height: 10px; background: #000;}.infographic-series-style-item .opacity {display: flex; justify-content: flex-end; align-items: center; width: 100%; flex: 1 1 auto;}.infographic-series-style-item .flex-fill {flex: 0 0 100%;}.infographic-series-styles {width: 100%; margin-top: 5px; overflow: hidden;}.infographic-series-styles .field-style-list {width: 100%; min-height: 65px; max-height: 155px; overflow-x: hidden; overflow-y: auto;}.infographic-series-styles .infographic-series-style-item {margin: 0 auto 10px auto;}.infographic-series-style .custom-colors.indentation {padding-left: 17px; padding-right: 0;}.jimu-rtl .infographic-series-style .custom-colors.indentation {padding-right: 17px; padding-left: 0;}.infographic-custom-color .text-label {font-size: 12px; color: #282828;}.infographic-custom-color .jimu-color-picker {width: 30px; height: 20px;}.infographic-custom-color .header {padding-left: 10px; padding-right: 0;}.jimu-rtl .infographic-custom-color .header {padding-right: 10px; padding-left: 0;}.infographic-custom-color .header .color-choose {display: flex; align-items: center; justify-content: space-between; margin: 3px 0 10px 0;}.ig-setting-ie11 .infographic-custom-color .header .color-choose .colors-picker {flex: 1 1 55%;}.infographic-custom-color .header .color-choose .colors-picker {flex: 1 1 50%;}.ig-setting-ie11 .infographic-custom-color .header .color-choose .color-text {flex: 1 1 45%;}.infographic-custom-color .header .color-choose .color-text {flex: 1 1 50%;}.infographic-custom-color .header .color-choose .color-text {display: flex; align-items: center;}.infographic-custom-color .bottom {display: flex; align-items: center; padding-left: 10px; padding-right: 0;}.jimu-rtl .infographic-custom-color .bottom {padding-right: 10px; padding-left: 0;}.infographic-custom-color .bottom .add-dispatch {height: 30px;}.infographic-custom-color .bottom .add-dispatch .disptch-div {display: flex; align-items: center; cursor: pointer; height: 30px;}.infographic-custom-color .bottom .add-dispatch .disptch-div .disptch-add-icon {display: inline-block; width: 14px; height: 14px; background-size: contain; background: no-repeat center center url(./images/add-icon-deactive.svg);}.infographic-custom-color .bottom .add-dispatch .disptch-div:hover .disptch-add-icon {background: no-repeat center center url(./images/add-icon-active.svg);}.infographic-custom-color .bottom .add-dispatch .disptch-div .disptch-add-text {width: auto; color: #282828; font-style: italic; font-size: 12px; display: inline-block; margin-left: 10px;}.jimu-rtl .infographic-custom-color .bottom .add-dispatch .disptch-div .disptch-add-text {margin-left: auto; margin-right: 10px;}.infographic-custom-color .bottom .add-dispatch .disptch-div:hover .disptch-add-text {color: #24B5CC;}.infographic-custom-color .bottom .add-action {width: 100%; display: flex; align-items: center;}.infographic-custom-color .bottom .add-action .category-tip {flex: 1 1 auto; width: calc(100% - 270px); max-width: 87px;}.infographic-custom-color .bottom .add-action .add-action-div {width: 270px; display: flex; align-items: center; height: 30px;}.infographic-custom-color .bottom .add-action .select-input {width: 150px;}.infographic-custom-color .bottom .add-action .add-action-div .color-div {width: 30px; height: 20px; margin: auto 3px auto 10px;}.jimu-rtl .infographic-custom-color .bottom .add-action .add-action-div .color-div {margin: auto 10px auto 3px;}.infographic-custom-color .bottom .add-action .action-button-container {width: 25px; height: 30px; cursor: pointer; display: flex; align-items: center; justify-content: center;}.infographic-custom-color .bottom .add-action .action-button-container .action-btn {width: 14px; height: 14px; background-size: contain;}.infographic-custom-color .bottom .add-action .action-button-container .action-btn.add-btn {background: no-repeat center center url(./images/custom-color/ensure.svg);}.infographic-custom-color .bottom .add-action .action-button-container:hover .action-btn.add-btn {background: no-repeat center center url(./images/custom-color/ensure-hover.svg);}.infographic-custom-color .bottom .add-action .action-button-container .action-btn.cancel-btn {background: no-repeat center center url(./images/custom-color/delete.svg);}.infographic-custom-color .bottom .add-action .action-button-container:hover .action-btn.cancel-btn {background: no-repeat center center url(./images/custom-color/delete-hover.svg);}.infographic-custom-color .bottom .hide {display: none !important;}.infographic-custom-color .content {width: 100%; margin-top: 10px;}.infographic-custom-color-list .costom-color-list-header {display: flex; align-items: center; width: 100%; margin-bottom: 5px; padding-left: 10px; padding-right: 0;}.jimu-rtl .infographic-custom-color-list .costom-color-list-header {padding-right: 10px; padding-left: 0;}.infographic-custom-color-list .costom-color-list-header \x3e div {font-size: 12px; color: #282828; font-family: "Avenir Medium";}.infographic-custom-color-list .costom-color-list-header \x3e div:first-child {width: calc(100% - 220px)}.infographic-custom-color-list .costom-color-list-header \x3e div:nth-child(2) {width: 166px;}.infographic-custom-color-item {display: flex; align-items: center; justify-content: space-between; height: 27px; padding-left: 10px; padding-right: 0;}.infographic-custom-color-item.high-light {background: #EFEFEF;}.jimu-rtl .infographic-custom-color-item {padding-right: 10px; padding-left: 0;}.infographic-custom-color-item .hide {display: none;}.infographic-custom-color-item .hidden {visibility: hidden;}.infographic-custom-color-item .margin-left-10 {margin-left: 10px; margin-right: 0;}.jimu-rtl .infographic-custom-color-item .margin-left-10 {margin-left: 0; margin-right: 10px;}.infographic-custom-color-item .delete-icon {width: 10px; height: 10px; background: no-repeat center center url(./images/custom-color/delete.svg); cursor: pointer;}.infographic-custom-color-item .delete-icon:hover {background: no-repeat center center url(./images/custom-color/delete-hover.svg);}.infographic-custom-color-item .text-container {display: flex; align-items: center; width: calc(100% - 220px); flex: 1 1 calc(100% - 220px); max-width: 154px; height: 27px;}.ig-setting-ff .infographic-custom-color-item .text-container {max-width: 143px;}.infographic-custom-color-item .text-container .category-text-div {max-width: 95%;}.infographic-custom-color-item .label-container {display: flex; align-items: center; max-width: 150px; flex: 0 0 150px;}.infographic-custom-color-item .label-container .text-div {max-width: 100%;}.infographic-custom-color-item .label-container .label-part {display: flex; align-items: center; width: 100%; cursor: text;}.infographic-custom-color-item .label-container .label-part .label-div {width: 100%; height: 27px; display: flex; align-items: center;}.infographic-custom-color-item .label-container .label-part .label-div:hover {background-color: #EFEFEF; cursor: pointer;}.infographic-custom-color-item .label-container .edit-part {display: flex; align-items: center;}.infographic-custom-color-item .label-container .edit-part .edit-input {width: 150px; height: 27px;}.infographic-custom-color-item .label-container .edit-part .dijitTextBox .dijitInputInner {height: 25px; line-height: 25px !important;}.infographic-custom-color-item .label-container .edit-part .dijitTextBox .dijitInputField {padding: 0 2px; height: 25px;}.infographic-custom-color-item .action-container {display: flex; align-items: center; justify-content: flex-end; width: 70px; flex: 0 0 70px;}.infographic-custom-color-item .action-container .color-div {width: 30px; height: 20px; margin-right: 13px;}.jimu-rtl .infographic-custom-color-item .action-container .color-div {margin-right: 0; margin-left: 13px;}.infographic-custom-color-item .action-container .color-div .jimu-color-picker {width: 30px; height: 20px;}.infographic-setting-marks .mark-add-ct {display: flex; align-items: center; justify-content: space-between; max-width: 100%;}.infographic-setting-marks .marks-ct {margin-top: 10px; max-height: 368px; padding: 0 5px 0 0; overflow-x: hidden; overflow-y: auto;}.jimu-rtl .infographic-setting-marks .marks-ct {padding: 0 0 0 5px;}.infographic-setting-marks .mark-add-ct .mark-add-ct-left,.infographic-setting-marks .mark-add-ct .mark-add-ct-right {flex: 0 0 50%; display: flex; align-items: center; justify-content: flex-start; max-width: 50%;}.infographic-setting-marks .mark-add-ct .icon-add-mark {width: 14px; height: 14px; cursor: pointer; background-size: contain; background: no-repeat center center url(./images/add-icon-deactive.svg);}.infographic-setting-marks .mark-add-ct .text-add-mark {font-style: italic; font-size: 12px; color: #282828; cursor: pointer; padding-left: 10px; display: block; width: 180px;}.jimu-rtl .infographic-setting-marks .mark-add-ct .text-add-mark {padding-right: 10px;}.infographic-setting-marks .mark-add-ct .mark-add-ct-left:hover .icon-add-mark {background: no-repeat center center url(./images/add-icon-active.svg);}.infographic-setting-marks .mark-add-ct .mark-add-ct-left:hover .text-add-mark {color: #24b5cc;}.infographic-setting-marks .mark-add-ct .mark-add-ct-right:hover .icon-add-mark {background: no-repeat center center url(./images/add-icon-active.svg);}.infographic-setting-marks .mark-add-ct .mark-add-ct-right:hover .text-add-mark {color: #24b5cc;}.infographic-setting-marks .mark-row {display: flex; align-items: center; justify-content: space-between; margin: 15px 0;}.infographic-setting-marks .mark-row .mark-select-width {width: 100%;}.infographic-setting-marks .mark-row .mark-col {flex: 0 0 50%; max-width: 50%;}.infographic-setting-marks .mark-row .mark-col .mark-input {width: 100%;}.infographic-setting-marks .mark-row .flex-center-sb {display: flex; align-items: center; justify-content: space-between;}.infographic-setting-marks .mark-row .mark-col .box {height: 30px;}.infographic-setting-marks .mark-row .mark-col .box.box-3 {flex: 0 0 33.34%; max-width: 33.34%;}.infographic-setting-marks .mark-row .mark-col .box.box-2 {flex: 0 0 50%; max-width: 50%;}.infographic-setting-marks .mark-row .mark-col .box.box-style {border: 1px solid #D7D7D7; text-align: center; cursor: pointer; color: #282828; font-size: 12px; background: #FFFFFF;}.jimu-rtl .infographic-setting-marks .mark-row .mark-col .line-pos \x3e .box.box-style:first-child {border-style: solid; border-left-width: 0; border-top-width: 1px; border-bottom-width: 1px; border-right-width: 1px; border-color: #D7D7D7;}.infographic-setting-marks .mark-row .mark-col .line-pos \x3e .box.box-style:first-child {border-style: solid; border-top-width: 1px; border-right-width: 0; border-bottom-width: 1px; border-left-width: 1px; border-color: #D7D7D7;}.infographic-setting-marks .mark-row .mark-col .line-pos \x3e .box.box-style:last-child {border-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 0; border-color: #D7D7D7;}.jimu-rtl .infographic-setting-marks .mark-row .mark-col .line-pos \x3e .box.box-style:last-child {border-style: solid; border-top-width: 1px; border-left-width: 1px; border-bottom-width: 1px; border-right-width: 0; border-color: #D7D7D7;}.infographic-setting-marks .mark-row .mark-col .box.box-style.selected {background: #24B5CC; border: none; color: #FFFFFF;}.infographic-setting-marks .mark-row .mark-col .box.box-style:hover {color: #0090A8;}.infographic-setting-marks .mark-row .mark-col .box.box-style.selected:hover {color: #FFFFFF;}.infographic-setting-marks .mark-row .mark-col .box.clear-left-border {margin-left: -1px;}.jimu-rtl .infographic-setting-marks .mark-row .mark-col .box.clear-left-border {margin-left: auto; margin-right: -1px;}.infographic-setting-marks .mark-row .mark-col .text-2-text {display: flex; align-items: center; justify-content: space-between; text-align: center;}.infographic-setting-marks .mark-row .mark-col .text-2-text .text-2 {flex: 0 0 40%;}.infographic-setting-marks .mark-row .mark-col .text-2-text .t-to-t {font-size: 12px; color: #727272; max-width: 20px; flex: 0 0 20%;}.infographic-setting-marks .mark-row .mark-col .left-pos {flex: 0 0 50%;}.infographic-setting-marks .mark-row .mark-col .right-loc {flex: 0 0 40%; max-width: 40%;}.infographic-setting-marks .mark-row .mark-col .left-clr {flex: 0 0 15%;}.infographic-setting-marks .mark-row .mark-col .right-opa {flex: 0 0 70%;}.infographic-setting-marks .marks-ct .infographic-setting-mark:last-child .header.close {border: 1px solid #DFDFDF;}.infographic-setting-mark .header {width: 100%; height: 30px; font-size: 14px; background: #F0F0F0; border: 1px solid #DFDFDF; padding-left: 10px; padding-right: 0; cursor: pointer;}.jimu-rtl .infographic-setting-mark .header {padding-left: 0; padding-right: 10px;}.infographic-setting-mark .header.close {border-color: #DFDFDF; border-style: solid; border-top-width: 1px; border-bottom-width: 0; border-left-width: 1px; border-right-width: 1px;}.infographic-setting-mark .fx-sa {display: flex; align-items: center; justify-content: space-around;}.infographic-setting-mark .fx-sb {display: flex; align-items: center; justify-content: space-between;}.infographic-setting-mark .header .text {flex: 0 0 85%; max-width: 85%; display: block;}.infographic-setting-mark .header .actions {flex: 0 0 15%;}.infographic-setting-mark .header .actions .icon-ct {width: 12px; height: 12px; cursor: pointer;}.infographic-setting-mark .hide {display: none !important;}.infographic-setting-mark .header .actions .icon-ct.arrow-down {background: no-repeat center center url(./images/custom-color/arrow-down.svg);}.infographic-setting-mark .header .actions .icon-ct.arrow-down:hover {background: no-repeat center center url(./images/custom-color/arrow-down-hover.svg);}.infographic-setting-mark .header .actions .icon-ct.arrow-up {background: no-repeat center center url(./images/custom-color/arrow-up.svg);}.infographic-setting-mark .header .actions .icon-ct.arrow-up:hover {background: no-repeat center center url(./images/custom-color/arrow-up-hover.svg);}.infographic-setting-mark .header .actions .icon-ct.delete {background: no-repeat center center url(./images/close.svg);}.infographic-setting-mark .header .actions .icon-ct.delete:hover {background: no-repeat center center url(./images/close-mouseover.svg);}.infographic-setting-mark .mark-dash-type span.dijitSelectLabel {width: 100%;}.infograpgic-range-provider .hide {display: none !important;}.infograpgic-range-provider .title,.infograpgic-value-provider .title {font-family: "Avenir Medium"; color: #282828; font-size: 14px; font-weight: 500; height: 30px; display: flex; align-items: center;}.infograpgic-range-provider .row {display: flex; align-items: center;}.infograpgic-range-provider .col-2 {flex: 0 0 50%;}.infograpgic-range-provider .label {font-size: 12px; color: #282828;}.infograpgic-range-provider .content,.infograpgic-value-provider .content {overflow-x: hidden; overflow-y: auto;}.infograpgic-range-provider .value-input {width: 99%;}.infograpgic-range-provider .value-type {margin: 0 0 12px 0;}.infograpgic-range-provider .btn-group-2 {display: flex; align-self: center;}.infograpgic-range-provider .btn {width: 80px; height: 30px; border: 1px solid #D7D7D7; cursor: pointer; color: #282828; font-size: 12px; background: #FFFFFF;}.infograpgic-range-provider .btn.selected {background: #24B5CC; border: none; color: #FFFFFF;}.infograpgic-range-provider .btn-group-2 .btn:first-child {border-right: none;}.jimu-rtl .infograpgic-range-provider .btn-group-2 .btn:first-child {border-left: none; border-right: 1px solid #D7D7D7;}.infographic-field-statistics .hide {display: none !important;}.infographic-field-statistics .row {display: flex; align-items: center;}.infographic-field-statistics .row.stat-row {margin: 0 0 10px 0;}.infographic-field-statistics .col-2 {flex: 0 0 50%;}.infographic-field-statistics .label {font-size: 12px; color: #282828;}.jimu-statistic-data-source-selector {height: 70px; position: relative;}.jimu-statistic-data-source-selector .message {display: flex; align-items: center; height: 30px; font-size: 12px; color: #000000;}.jimu-statistic-data-source-selector .state-icon {position: absolute; right: 25px; top: 38px; width: 16px; height: 16px; cursor: pointer;}.jimu-rtl .jimu-statistic-data-source-selector .state-icon {left: 25px; right: auto;}.infographic-toggle-button .toggle {width: 38px; height: 18px; cursor: pointer;}.infographic-toggle-button .toggle.toggle-on {background: no-repeat center left url(./images/toggle_on_builder.svg);}.infographic-toggle-button .toggle.toggle-off {background: no-repeat center left url(./images/toggle_off_builder.svg);}',
"*now":function(B){B(['dojo/i18n!*preload*widgets/Infographic/setting/nls/Setting*["ar","bs","ca","cs","da","de","en","el","es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","nb","nl","pl","pt-br","pt-pt","ro","ru","sk","sl","sr","sv","th","tr","zh-cn","uk","vi","zh-hk","zh-tw","ROOT"]'])},"*noref":1}});
define("dojo/on dojo/query dojo/Deferred dojo/_base/declare jimu/BaseWidgetSetting dijit/_WidgetsInTemplateMixin dojo/_base/html dojo/_base/lang esri/layers/FeatureLayer ./templatePopup ../DijitFactory ./DijitSettingFactory jimu/dijit/GridLayout jimu/dijit/DataSource jimu/dijit/_DataSourcePopup jimu/dijit/ViewStack jimu/dijit/Message jimu/dijit/Popup jimu/utils jimu/DataSourceManager jimu/LayerInfos/LayerInfos ../utils libs/storejs/store jimu/dijit/CheckBox ../IGUtils dojo/text!./templates.json dijit/form/ValidationTextBox jimu/dijit/LoadingIndicator xstyle/css!../../../libs/goldenlayout/goldenlayout-base.css".split(" "),function(B,
r,w,q,k,l,h,c,a,e,f,b,d,g,n,m,p,u,A,z,C,v,E,L,Q,G){return q([k,l],{baseClass:"jimu-widget-infographic-setting",dijits:null,dijitSettings:null,_dataSource:null,dataSourceManager:null,layerInfosObj:null,_initVisiblity:{},mainDijitJson:null,postMixInProperties:function(){this.inherited(arguments);c.mixin(this.nls,window.jimuNls.common);c.mixin(this.nls,window.jimuNls.timeUnit);this.dataSourceManager=z.getInstance();this.layerInfosObj=C.getInstanceSync()},postCreate:function(){this.inherited(arguments);
this._initGolbalInfo();this._initOuterFrameUI();this._initEvents();this._initDijitFactory()},startup:function(){this.inherited(arguments);var x=this.config&&this.config.dataSource;if(x){this._initInfoWithConfig();var D=this._isDataSourceValid(x);this._createDijitsSettings();D&&this._setDataSource(x,this.config);this.updateChooseTemplateText(this.config)}else this._chooseTemplate().then(function(K){this.config=this._getCleanConfigByTemplate(K);this.updateChooseTemplateText(this.config);this._initInfoWithConfig();
this._createDijitsSettings(!0);this._chooseDataSource().then(function(N){this._setDataSource(N)}.bind(this),function(){})}.bind(this),function(){})},getConfig:function(){if(!this._dataSource&&this._hasNecessaryDijit())return new p({message:this.nls.dataSourceNotSet}),!1;this._dataSource&&(this.config.dataSource=this._dataSource,this.config.dataSource.useSelection=this.dataSourceUseSelection.getValue(),this.config.dataSource.filterByExtent=this.dataSourceFilterByExtent.get("value"));var x=!0;this.config.dijits.forEach(function(D){var K=
b.getDijitSetting(D);D.config=K.getConfig(!0);D.config||(x=!1)},this);if(!x)return!1;this.config.layout.definition=this.layout.getLayoutDefinition();return this.config},setConfig:function(x){this.config=x},_setDataSource:function(x){x&&(this._enableDataSourceOption(),this._dataSource=x,this.shelter.show(),this._preprocessingDataSource(x).then(function(){this.shelter.hide();this._afterProcessDataSource(x);this.shelter.show();this.igUtils.getFeaturesForSetting(x).then(function(D){this.shelter.hide();
this.features=D;this._afterFetchFeatures()}.bind(this),function(D){this.shelter.hide();this.mainDijit.showNodata();console.error(D)}.bind(this))}.bind(this),function(D){this.mainDijit.showNodata();this.shelter.hide();console.error(D.message||D)}.bind(this)))},_afterProcessDataSource:function(x){this._serverStatisticType=this._isServerStatisticType(x);this._updateOuterFrameUI(x);this._setDataSourceForMainDijit(x);this._setLayerInfoForMainDijit();this._setLayerInfoForMainDijitSetting();this._setConfigToMainDijitSetting();
this._setDataSourceForMainDijitSettting(x)},_setConfigToMainDijitSetting:function(){var x=this._getMainDijitConfig();this.mainDijitSetting.setConfig(x)},_afterFetchFeatures:function(){this.mainDijit&&this.mainDijitSetting&&("chart"!==this.mainDijit.type?(this._setFeaturesToMainDijit(this.features),this.mainDijit.startRendering()):(this._setFeaturesToMainDijitSetting(this.features),this._setFeaturesToMainDijit(this.features),this.mainDijitSetting.render().then(function(){this.mainDijit.startRendering()}.bind(this),
function(x){console.error(x);this.mainDijit.showNodata()}.bind(this))))},_setDataSourceForMainDijit:function(x){this.mainDijit&&this.mainDijit.setDataSource(x)},_setDataSourceForMainDijitSettting:function(x){this.mainDijitSetting&&this.mainDijitSetting.setDataSource(x)},_setLayerInfoForMainDijit:function(){this.mainDijit&&this.mainDijit.setLayerInfo(this.layerObject,this.featureLayerForFrameWork,this.popupInfo)},_setLayerInfoForMainDijitSetting:function(){this.mainDijitSetting&&(this.mainDijitSetting.setLayerDefinition(this.definition),
this.mainDijitSetting.setLayerObject(this.layerObject,this.popupInfo))},_setFeaturesToMainDijit:function(x){if(this.mainDijit)if("gauge"===this.mainDijit.type)this.mainDijit.setMainFeatures(x);else this.mainDijit.onDataSourceDataUpdate({features:x})},_setFeaturesToMainDijitSetting:function(x){this.mainDijitSetting&&"function"===typeof this.mainDijitSetting.setFeatures&&this.mainDijitSetting.setFeatures(x)},_isDataSourceValid:function(x){x=this._checkDataSource(x);0!==x.code&&this._showMessage(x.message);
1===x.code&&this._disableDataSourceOption();if(2===x.code){var D=this._getTemplateJson();this.config=this._getCleanConfigByTemplate(D);this._initInfoWithConfig()}return 1!==x.code},_onBtnDataSourceClicked:function(){this._chooseDataSource().then(function(x){var D=this._getTemplateJson();this.config=this._getCleanConfigByTemplate(D);this._initInfoWithConfig();this._createDijitsSettings();this._setDataSource(x)}.bind(this),function(){})},_chooseDataSource:function(){var x=new w,D={dijitArgs:{types:g.createInfographicTypes({createMapResponse:this.map.webMapResponse,
appConfig:this.appConfig}),style:{height:"100%"}}},K=new n(D);this.own(B(K,"ok",c.hitch(this,function(N){var V={dataSourceType:N.dataSourceType,name:N.name};"DATA_SOURCE_FEATURE_LAYER_FROM_MAP"===N.dataSourceType?V.layerId=N.layerInfo.id:"DATA_SOURCE_FROM_FRAMEWORK"===N.dataSourceType&&(V.frameWorkDsId=N.dsId);K.close();K=null;x.resolve(V)})));this.own(B(K,"cancel",c.hitch(this,function(){K.close();K=null;x.reject("cancelled")})));K.startup();return x},_updateOuterFrameUI:function(x){this.urlTextBox.set("value",
x.name);this._updateFilterByExtentState(x);this._updateUseSelectionState(x)},_preprocessingDataSource:function(x){var D=new w;this.igUtils.preprocessingDataSourceForSetting(x).then(function(K){K&&(this.layerObject=K.layerObject,this.popupInfo=K.popupInfo,this.featureLayerForFrameWork=K.featureLayerForFrameWork,this.definition=K.definition);D.resolve()}.bind(this),function(K){D.reject(K)});return D},_initOuterFrameUI:function(){this.settingsViewStack=new m({viewType:"dom",views:[]},this.settingContent);
this.settingsViewStack.addView(this.settingTip);this.dataSourceUseSelection.setLabel(this.nls.useDataSourceSelection)},_initEvents:function(){this.own(B(this.visualContainer,"click",c.hitch(this,function(x){x=x.target||x.srcElement;var D=null;if(h.hasClass(x,"visual-controller"))D=x;else if(h.hasClass(x.parentElement,"visual-controller"))D=x.parentElement;else return;this._toggleDijitVisualByIconNode(D)})));this.own(B(this.dataSourceFilterByExtent,"click",c.hitch(this,function(x){this._serverStatisticType&&
x.target.checked&&(x.preventDefault(),this._checkFilterByExtent())})))},_checkFilterByExtent:function(){var x=new u({autoHeight:!0,content:'\x3cdiv style\x3d"font-size:16px;line-height:1.5;padding-bottom:10px;"\x3e'+this.nls.fbeTip+"\x3c/div\x3e",width:480,buttons:[{label:this.nls.openFbeTip,onClick:c.hitch(this,function(){this.dataSourceFilterByExtent.set("value",!0);x.close()})},{label:this.nls.cancel,classNames:["jimu-btn-vacation"],onClick:c.hitch(this,function(){this.dataSourceFilterByExtent.set("value",
!1);x.close()})}]})},_setTempNameToConfig:function(){var x=this.config;if(x&&"undefined"===typeof x.name){var D=this._getMainDijitJson();if(D=v.getTemplateNameByMainDijitJson(D))x.name=D}},_initInfoWithConfig:function(){if(this.config&&this.config.dijits&&this.config.dijits.length){this._initLayout=this.config.layout;this._initVisiblity={};this.config.dijits.forEach(c.hitch(this,function(D){this._initVisiblity[D.id]=D.visible}));var x=this._getMainDijitJson();this._ininRangeDataSource(x);this._setTempNameToConfig()}},
_initGolbalInfo:function(){G=A.replacePlaceHolder(G,this.nls.stringsInTemplate);this._templatesJson=window.JSON.parse(G);this._defalutStatSourceID=this._getDefaultStatSourceID(this.appConfig);this.igUtils=new Q({appConfig:this.appConfig,map:this.map})},_getDefaultStatSourceID:function(x){if(x){var D=x.dataSource.dataSources;if((x=Object.keys(D))&&x.length){var K;x.some(function(N){var V=D[N];if(V&&"FeatureStatistics"===V.type)return K=N,!0}.bind(this));return K}}},_renderByTemplate:function(x){this.config=
this._createConfigFromTemplate(x);this.updateChooseTemplateText(this.config);this.config.name=x.name;this._createDijitsSettings(!0)},_getCleanConfigByTemplate:function(x){var D=this._createConfigFromTemplate(x);D.name=x.name;return D},_onChooseTemplateClick:function(){if(E.get("widgets_Infographic_notShowTemplateWarning")&&!0===E.get("widgets_Infographic_notShowTemplateWarning"))this._chooseTemplate().then(function(N){this._renderByTemplate(N);this._setDataSource(this._dataSource)}.bind(this),function(){});
else{var x=h.create("div",{innerHTML:"\x3cdiv\x3e"+this.nls.changeTemplateWarning+"\x3c/div\x3e"}),D=new L({label:this.nls.donNotShowAgain,style:{marginTop:"90px"}});h.place(D.domNode,x);this.own(B(D,"change",function(N){N&&E.set("widgets_Infographic_notShowTemplateWarning",!0)}));var K=new u({content:x,width:380,height:300,buttons:[{label:this.nls.ok,onClick:c.hitch(this,function(){K.close();this._chooseTemplate().then(function(N){this._renderByTemplate(N);this._setDataSource(this._dataSource)}.bind(this),
function(){})})},{label:this.nls.cancel,onClick:c.hitch(this,function(){K.close()})}]})}},_chooseTemplate:function(){var x=new w,D=new e({titleLabel:this.nls.chooseTemplatePopupTitle,nls:this.nls});D.startup();this.own(B(D,"ok",c.hitch(this,function(K){D.close();D=null;x.resolve(K)})));this.own(B(D,"cancel",c.hitch(this,function(){D.close();D=null;x.reject("cancelled")})));return x},_resetToInitControllersState:function(){if(this._initVisiblity){var x=c.clone(this._initVisiblity),D=Object.keys(x),
K=r(".visual-controller",this.visualContainer);D&&D.length&&D.forEach(function(N){this._switchControllerStateByDijitId(K,N,x[N])}.bind(this));x=K=null}},_onResetLayoutClicked:function(){this._resetToInitControllersState();this.layout&&this.layout.restoreLayout();this._switchSettingsView(0)},_createDijitsSettings:function(x){this._createDijitVisualState();this._createDijits();this._createSettings(x);this._switchSettingsView(0)},_createDijitVisualState:function(){this._emptyDijitVisualContainer();var x=
this.config&&this.config.dijits;x&&x.length&&x.forEach(function(D,K){this._createVisualControllerForDijit(D,K)}.bind(this))},_createDijits:function(){this.dijits&&0<this.dijits.length&&this.dijits.forEach(c.hitch(this,function(D){D.destroy()}));this.dijits=[];this.layout&&(this.layout.destroy(),this.layout=null);var x=this.config.dijits.map(function(D){var K=f.createDijit(D);this.dijits.push(K);return{id:D.id,visible:D.visible,dijit:K}},this);this.layout=new d({components:x,layoutDefinition:this.config.layout.definition,
container:this.cardContent,editable:!0});this.layout.on("mask-click",c.hitch(this,function(D){this._switchSettingsView(D)}));this.layout.on("initialised",c.hitch(this,function(){this.dijits.forEach(c.hitch(this,function(D){D.startup()}))}));this.mainDijit=this._getMainDijit();this._cacheLayout()},_createSettings:function(x){this.dijitSettings&&this.dijitSettings.length&&this.dijitSettings.forEach(c.hitch(this,function(D){this.settingsViewStack.removeView(D);D.destroy()}));this.dijitSettings=null;
this.dijitSettings=this.config.dijits.map(c.hitch(this,function(D){var K=b.createDijitSetting(D,this.config.name,x);"chart"===D.type?this.own(B(K,"chartSettingChanged",function(N){this._updateExtentStateForMapLayer(this._dataSource,N);(N=this._isServerStatisticType(this._dataSource,N))&&!this._serverStatisticType&&this.dataSourceFilterByExtent.get("value")&&this.dataSourceFilterByExtent.set("value",!1);this._serverStatisticType=N}.bind(this))):"gauge"===D.type&&(K.igUtils=this.igUtils);K.label=D.id;
this.settingsViewStack.addView(K);return K}));this.mainDijitSetting=this._getMainDijitSetting()},_createVisualControllerForDijit:function(x,D){if(x.type&&x.id){var K="";"text"===x.type?K="text-controller":"image"===x.type?K="image-controller":"number"===x.type?K="number-controller":"gauge"===x.type?K="gauge-controller":"chart"===x.type&&(K="chart-controller");D=h.toDom(0===D?'\x3cdiv class\x3d"visual-controller '+K+'"\x3e\x3cdiv\x3e\x3c/div\x3e\x3c/div\x3e':'\x3cdiv class\x3d"visual-controller marginleft10 '+
K+'"\x3e\x3cdiv\x3e\x3c/div\x3e\x3c/div\x3e');h.place(D,this.visualContainer);D.id=x.id;this.own(B(D,["mouseenter","mouseleave"],c.hitch(this,function(N){var V=N.target||N.srcElement;V&&"undefined"!==typeof V.id&&this._toggleDijitHighState(V.id,"mouseenter"===N.type?!0:!1)})));x.visible&&this._toggleDijitVisualByIconNode(D)}},_setDefaultColorToConfig:function(x){(x=x.dijits)&&x.length&&x.forEach(function(D){this._setDefaultColorToDijitJson(D)}.bind(this))},_setDefaultColorToDijitJson:function(x){if(x){var D=
this._getDefaultColor();if(D){var K=D.textColor;this._setDefaultbgColor(x,D.bgColor);this._setDefaultTextColor(x,K);this._setGaugeColor(x)}}},_getDefaultColor:function(){if("DashboardTheme"!==this.appConfig.theme.name||"default"!==this.appConfig.theme.styles[0]&&"style3"!==this.appConfig.theme.styles[0])if("DartTheme"===this.appConfig.theme.name){var x="#4c4c4c";var D="#fff"}else return;else x="#222222",D="#fff";return{bgColor:x,textColor:D}},_setGaugeColor:function(x){var D=x.config;D&&"gauge"===
x.type&&(D.display?D.display.gaugeColor||(D.display.gaugeColor="#12DDF9"):D.display={gaugeColor:"#12DDF9",dataLabels:{textColor:"#12DDF9"}},D.display.dataLabels&&(D.display.dataLabels.textColor?D.display.dataLabels={textColor:"#fff"}:D.display.dataLabels.textColor="#fff"),D.display.currentValue&&(D.display.currentValue.font?D.display.currentValue.font.textColor||(D.display.currentValue.font.textColor="#12DDF9"):D.display.currentValue.font={textColor:"#12DDF9"}),D.display.bgColor="#1E5F6F")},_setDefaultbgColor:function(x,
D){var K=x.config;if(K)switch(x.type){case "text":case "image":case "number":K.background?K.background.backgroundColor||(K.background.backgroundColor=D):K.background={backgroundColor:D};break;case "chart":(x=K.display)&&!x.backgroundColor&&(x.backgroundColor=D);break;case "gauge":K.display?K.display.backgroundColor||(K.display.backgroundColor=D):K.display={backgroundColor:D}}},_setDefaultTextColor:function(x,D){var K=x.config;if(K)switch(x.type){case "text":case "number":K.font?K.font.textColor||
(K.font.textColor=D):K.font={textColor:D};break;case "chart":this._settingChartDefaultTextColor(K,D)}},_settingChartDefaultTextColor:function(x,D){if(x){var K=x.data;x=x.display;try{x.legend.textStyle.color||(x.legend.textStyle.color=D),"pie"===K.type?x.dataLabel.textStyle.color||(x.dataLabel.textStyle.color=D):(x.xAxis.textStyle.color||(x.xAxis.textStyle.color=D),x.xAxis.nameTextStyle.color||(x.xAxis.nameTextStyle.color=D),x.yAxis.textStyle.color||(x.yAxis.textStyle.color=D),x.yAxis.nameTextStyle.color||
(x.yAxis.nameTextStyle.color=D))}catch(N){console.error(N)}}},_emptyDijitVisualContainer:function(){this.visualContainer&&h.empty(this.visualContainer)},_getMainDijit:function(){if(this.dijits&&this.dijits.length){var x=null,D=["number","gauge","chart"];this.dijits.some(function(K){return-1<D.indexOf(K.type)?(x=K,!0):!1});return x}},_getMainDijitType:function(){var x=this._getMainDijit();return x&&x.type},_getMainDijitJson:function(){if(!this.config||!this.config.dijits||!this.config.dijits.length)return null;
var x=null,D=["number","gauge","chart"];this.config.dijits.some(function(K){return-1<D.indexOf(K.type)?(x=K,!0):!1});return x},_getMainDijitSetting:function(){if(this.dijitSettings&&this.dijitSettings.length){var x=null,D=["number","gauge","chart"];this.dijitSettings.some(function(K){return-1<D.indexOf(K.type)?(x=K,!0):!1});return x}},_getMainDijitConfig:function(){var x=this._getMainDijitJson();return x&&x.config},_ininRangeDataSource:function(x){x=v.getRangeDataSource(x);this._rangeDataSource1=
x.range1;this._rangeDataSource2=x.range2},_toggleDijitVisualByIconNode:function(x){if(x&&"undefined"!==typeof x.id){var D=x.id,K=r("div",x)[0];h.hasClass(K,"controller-selected")?1<this._getSelectedControllersCount()&&(h.removeClass(K,"controller-selected"),h.removeClass(x,"visual-controller-selected"),this._switchDijitView(D,!1)):(h.addClass(K,"controller-selected"),h.addClass(x,"visual-controller-selected"),this._switchDijitView(D,!0))}},_switchControllerStateByDijitId:function(x,D,K){D&&x&&x.length&&
x.some(function(N){if(h.getAttr(N,"id")===D){var V=r("div",N)[0];K?(h.addClass(V,"controller-selected"),h.addClass(N,"visual-controller-selected"),this._setVisibleToConfigDijit(D,!0)):(h.removeClass(V,"controller-selected"),h.removeClass(N,"visual-controller-selected"),this._setVisibleToConfigDijit(D,!1));return!0}return!1}.bind(this))},_setVisibleToConfigDijit:function(x,D){this.config.dijits.some(function(K){return K.id===x?(K.visible=D,!0):!1})},_toggleDijitHighState:function(x,D){this.layout&&
(D?this.layout.highlightItem(x):this.layout.unhighlightItem(x))},_isLayerOnDemandMode:function(x){if(x&&"undefined"!==typeof x.layerId)return(x=this.map.getLayer(x.layerId))&&x.currentMode===a.MODE_ONDEMAND},_updateExtentStateForMapLayer:function(x,D){if(this._isLayerOnDemandMode(x)){var K=this._isDataSourceSupportServerStatByExtent(x);D=this._isDijitSupportServerStat(D);K&&D?(this.dataSourceFilterByExtent.set("disabled",!1),this.dataSourceFilterByExtent.set("value",!!x.filterByExtent)):(this.dataSourceFilterByExtent.set("disabled",
!1),this.dataSourceFilterByExtent.set("value",!0),this.dataSourceFilterByExtent.set("disabled",!0))}},_isServerStatisticType:function(x,D){if(!x||"DATA_SOURCE_FEATURE_LAYER_FROM_MAP"!==x.dataSourceType)return!1;x=this._isDataSourceSupportServerStatByExtent(x);D=this._isDijitSupportServerStat(D);return x&&D},_isDataSourceSupportServerStatByExtent:function(x){if(!x||"undefined"===typeof x.layerId)return!1;var D=null;D=this.layerObject?this.layerObject:(D=this.layerInfosObj.getLayerInfoById(x.layerId))&&
D.layerObject;if(!D)return!1;x=D.version&&10.11<=Number(D.version);var K=!1;K=D.advancedQueryCapabilities?!!D.advancedQueryCapabilities.supportsStatistics:!!D.supportsStatistics;return x&&K},_isDijitSupportServerStat:function(x){return x?"feature"===x.mode?!1:!x.isDataType:!0},_updateFilterByExtentState:function(x){if("DATA_SOURCE_FEATURE_LAYER_FROM_MAP"===x.dataSourceType){var D=this._getChartConfigProperties();this._updateExtentStateForMapLayer(x,D)}else this.dataSourceFilterByExtent.set("disabled",
!1),(D=this.appConfig.dataSource.dataSources[x.frameWorkDsId])&&D.filterByExtent?this.dataSourceFilterByExtent.set("value",!0):this.dataSourceFilterByExtent.set("value",!1),this.dataSourceFilterByExtent.set("disabled",!0);x.filterByExtent&&this.dataSourceFilterByExtent.set("value",!0)},_getChartConfigProperties:function(){var x=this._getMainDijitJson();if(x&&"chart"===x.type){x=x.config;var D={};x&&x.data&&(D.mode=x.data.mode||"feature",D.isDataType=!!x.data.dateConfig);D.mode||(D.mode="feature");
return D}},_updateUseSelectionState:function(x){"DATA_SOURCE_FEATURE_LAYER_FROM_MAP"===x.dataSourceType?(this.dataSourceUseSelection.setStatus(!0),"undefined"===typeof x.useSelection&&this.dataSourceUseSelection.setValue(!0),x.useSelection&&this.dataSourceUseSelection.setValue(!0)):(this.dataSourceUseSelection.setStatus(!0),this.dataSourceUseSelection.setValue(!1),this.dataSourceUseSelection.setStatus(!1))},_getSelectedControllersCount:function(){return r(".controller-selected",this.visualContainer).length},
_checkDataSource:function(x){var D=this._getMainDijitJson(),K,N;x=v.checkDataSourceIsVaild(x,D,this.map,this.appConfig,"value");D&&"gauge"===D.type&&(this._rangeDataSource1&&(K=v.checkDataSourceIsVaild(this._rangeDataSource1,D,this.map,this.appConfig,"range1")),this._rangeDataSource2&&(N=v.checkDataSourceIsVaild(this._rangeDataSource2,D,this.map,this.appConfig,"range2")));D=[x,K,N];var V="";K=v.getCheckDataSourceResultCode(D);D.forEach(function(aa){V+=this._getDSErrorString(aa)}.bind(this));return{code:K,
message:V}},_resetMainDijitByTemplate:function(){var x=this._getMainDijitConfigFormTemplates();if(x){var D=this._getMainDijitJson(),K=this._getMainDijit(),N=this._getMainDijitSetting();D&&(D.config=c.clone(x));this._setDefaultColorToDijitJson(D);K&&(K.resetData(),K.setConfig(D.config));N&&("function"===typeof N.reset&&N.reset(),N.setConfig(D.config),"function"===typeof N.clearMarks&&N.clearMarks())}},_disableDataSourceOption:function(){this.dataSourceUseSelection.setStatus(!1);this.dataSourceFilterByExtent.set("disabled",
!0);this.urlTextBox.reset()},_enableDataSourceOption:function(){this.dataSourceUseSelection.setStatus(!0);this.dataSourceFilterByExtent.set("disabled",!1);this.urlTextBox.reset()},_switchDijitView:function(x,D){this.layout&&this.layout.setVisible(x,D);this._setDijitVisible(x,D);this._setVisibleToConfigDijit(x,D)},_setDijitVisible:function(x,D){(x=this._getDijitByJsonId(x))&&"function"===typeof x.setVisible&&(x.setVisible(D),"function"===typeof x.startRendering&&D&&x.startRendering())},_getDijitByJsonId:function(x){if(x&&
this.dijits&&this.dijits.length)return this.dijits.filter(function(D){return D.jsonId===x})[0]},_switchSettingsView:function(x){this.settingsViewStack&&this.settingsViewStack.switchView(x)},_initDijitFactory:function(){b.setNls(this.nls);b.setMap(this.map);b.setAppConfig(this.appConfig);b.setContext({folderUrl:this.folderUrl});f.setNls(this.nls);f.setMap(this.map);f.setInSettingPage(!0);f.setAppConfig(this.appConfig);f.setContext({folderUrl:this.folderUrl})},_fixDijitId:function(x){var D=this._getWid();
this._visitContent(x.layout.definition,function(K){K.id=D+"-"+K.id});x.dijits.forEach(function(K){K.id=D+"-"+K.id},this);x.wid=D;return x},_cacheLayout:function(){this.config&&this.config.dijits&&this.config.dijits.length&&this.config.dijits.forEach(c.hitch(this,function(x){this._initVisiblity[x.id]=x.visible}))},_visitContent:function(x,D){x.forEach(function(K){"component"===K.type?D(K.componentState):K.content&&this._visitContent(K.content,D)},this)},_getWid:function(){return A.getRandomString()},
_hasNecessaryDijit:function(){return 0<this.config.dijits.filter(function(x){return-1<["chart","gauge","number"].indexOf(x.type)}).length},_createConfigFromTemplate:function(x){x=this._fixDijitId(x);this._setDefaultColorToConfig(x);this.config.dataSource&&(x.dataSource=this.config.dataSource);return x},_getTemplateJson:function(){var x=this.config&&this.config.name;if(!this._templatesJson||!x)return null;var D=this._templatesJson.filter(function(K){return K.name===x}.bind(this))[0];if(D&&D.config)return D.config.name=
D.name,D.config},_getMainDijitConfigFormTemplates:function(){var x=this.config&&this.config.name;if(!this._templatesJson||!x)return null;var D=this._templatesJson.filter(function(V){return V.name===x}.bind(this))[0];if(!D)return null;var K=["number","gauge","chart"],N=null;D.config&&D.config.dijits&&D.config.dijits.length&&(N=(D=D.config.dijits.filter(function(V){return-1<K.indexOf(V.type)})[0])&&D.config);return N?c.clone(N):null},_showMessage:function(x){new p({message:x})},_getDSErrorString:function(x){var D=
"";if(!x)return D;if(1===x.code||3===x.code)x.label===this._lastDataSourceLabel?D="":(D=this.nls.dataSource+" "+x.label+" "+this.nls.dsErrorTipSuf,this._lastDataSourceLabel=x.label);2===x.code&&(D=this.nls.fieldString+" "+x.fields.join(",")+" "+this.nls.dsErrorTipSuf);return D},updateChooseTemplateText:function(x){x=x&&x.dijits?this.nls.changeTemplate:this.nls.chooseTemplate;this.chooseTemplateBtn.innerHTML=x;this.chooseTemplateBtn.title=x},destroyDijits:function(){this.dijitSettings&&this.dijitSettings.length&&
this.dijitSettings.forEach(function(x){x.destroy()});this.dijits&&this.dijits.length&&this.dijits.forEach(c.hitch(this,function(x){x.destroy()}))},destroy:function(){this.igUtils&&this.igUtils.destroy();this.layerInfosObj=this.dataSourceManager=null;this.destroyDijits();this.inherited(arguments)}})});