diff --git a/.gitignore b/.gitignore index 2c15118aa..e19b51753 100644 --- a/.gitignore +++ b/.gitignore @@ -25,6 +25,7 @@ spark-warehouse *.log *.conf config/application.yml +config/datasource_driver.yml swagger-ui/ tempFiles/ userfiles/ diff --git a/assembly/src/main/assembly/assembly.xml b/assembly/src/main/assembly/assembly.xml index 0731b7cac..72e00c1ab 100644 --- a/assembly/src/main/assembly/assembly.xml +++ b/assembly/src/main/assembly/assembly.xml @@ -20,7 +20,7 @@ - dist-beta.3 + dist-beta.4 zip diff --git a/assembly/src/main/assembly/release.xml b/assembly/src/main/assembly/release.xml index 10b6f667d..aa60daeae 100644 --- a/assembly/src/main/assembly/release.xml +++ b/assembly/src/main/assembly/release.xml @@ -24,7 +24,7 @@ - release + release-beta.4 zip diff --git a/bin/davinci.sql b/bin/davinci.sql index c8ce72f6c..115298db4 100644 --- a/bin/davinci.sql +++ b/bin/davinci.sql @@ -22,7 +22,7 @@ CREATE TABLE `cron_job` ( `update_time` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE, UNIQUE KEY `name_UNIQUE` (`name`) USING BTREE -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; +) ENGINE=MyISAM AUTO_INCREMENT=13 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- ---------------------------- -- Table structure for dashboard @@ -39,7 +39,7 @@ CREATE TABLE `dashboard` ( PRIMARY KEY (`id`) USING BTREE, KEY `idx_dashboard_id` (`dashboard_portal_id`) USING BTREE, KEY `idx_parent_id` (`parent_id`) USING BTREE -) ENGINE=InnoDB AUTO_INCREMENT=31 DEFAULT CHARSET=utf8; +) ENGINE=InnoDB AUTO_INCREMENT=175 DEFAULT CHARSET=utf8; -- ---------------------------- -- Table structure for dashboard_portal @@ -54,7 +54,7 @@ CREATE TABLE `dashboard_portal` ( `publish` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否发布(0:否,1:是)', PRIMARY KEY (`id`) USING BTREE, KEY `idx_project_id` (`project_id`) USING BTREE -) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8; +) ENGINE=InnoDB AUTO_INCREMENT=52 DEFAULT CHARSET=utf8; -- ---------------------------- -- Table structure for display @@ -69,7 +69,7 @@ CREATE TABLE `display` ( `publish` tinyint(1) NOT NULL COMMENT '是否发布', PRIMARY KEY (`id`) USING BTREE, KEY `idx_project_id` (`project_id`) USING BTREE -) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8; +) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8; -- ---------------------------- -- Table structure for display_slide @@ -82,7 +82,7 @@ CREATE TABLE `display_slide` ( `config` text NOT NULL COMMENT '配置\n', PRIMARY KEY (`id`) USING BTREE, KEY `idx_display_id` (`display_id`) USING BTREE -) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8; +) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8; -- ---------------------------- -- Table structure for favorite @@ -95,7 +95,7 @@ CREATE TABLE `favorite` ( `create_time` datetime NOT NULL ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id`) USING BTREE, UNIQUE KEY `idx_user_project` (`user_id`,`project_id`) USING BTREE -) ENGINE=InnoDB AUTO_INCREMENT=36 DEFAULT CHARSET=utf8; +) ENGINE=InnoDB AUTO_INCREMENT=699 DEFAULT CHARSET=utf8; -- ---------------------------- -- Table structure for mem_dashboard_widget @@ -114,7 +114,7 @@ CREATE TABLE `mem_dashboard_widget` ( PRIMARY KEY (`id`) USING BTREE, KEY `idx_protal_id` (`dashboard_id`) USING BTREE, KEY `idx_widget_id` (`widget_Id`) USING BTREE -) ENGINE=InnoDB AUTO_INCREMENT=30 DEFAULT CHARSET=utf8; +) ENGINE=InnoDB AUTO_INCREMENT=186 DEFAULT CHARSET=utf8; -- ---------------------------- -- Table structure for mem_display_slide_widget @@ -132,7 +132,7 @@ CREATE TABLE `mem_display_slide_widget` ( PRIMARY KEY (`id`) USING BTREE, KEY `idx_slide_id` (`display_slide_id`) USING BTREE, KEY `idx_widget_id` (`widget_id`) USING BTREE -) ENGINE=InnoDB AUTO_INCREMENT=26 DEFAULT CHARSET=utf8; +) ENGINE=InnoDB AUTO_INCREMENT=181 DEFAULT CHARSET=utf8; -- ---------------------------- -- Table structure for organization @@ -154,7 +154,7 @@ CREATE TABLE `organization` ( `update_time` timestamp NULL DEFAULT NULL, `update_by` bigint(20) DEFAULT '0', PRIMARY KEY (`id`) -) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=utf8; +) ENGINE=InnoDB AUTO_INCREMENT=27 DEFAULT CHARSET=utf8; -- ---------------------------- -- Table structure for project @@ -172,7 +172,7 @@ CREATE TABLE `project` ( `is_transfer` tinyint(1) NOT NULL DEFAULT '0', `initial_org_id` bigint(20) NOT NULL, PRIMARY KEY (`id`) -) ENGINE=InnoDB AUTO_INCREMENT=101 DEFAULT CHARSET=utf8; +) ENGINE=InnoDB AUTO_INCREMENT=194 DEFAULT CHARSET=utf8; -- ---------------------------- -- Table structure for rel_team_project @@ -191,7 +191,7 @@ CREATE TABLE `rel_team_project` ( `download_permission` tinyint(1) NOT NULL DEFAULT '0', PRIMARY KEY (`id`), UNIQUE KEY `idx_team_project` (`team_id`,`project_id`) -) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8; +) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8; -- ---------------------------- -- Table structure for rel_user_organization @@ -204,7 +204,7 @@ CREATE TABLE `rel_user_organization` ( `role` smallint(1) NOT NULL DEFAULT '0' COMMENT 'member/owner\n0/1', PRIMARY KEY (`id`), UNIQUE KEY `idx_org_user` (`org_id`,`user_id`) -) ENGINE=InnoDB AUTO_INCREMENT=33 DEFAULT CHARSET=utf8; +) ENGINE=InnoDB AUTO_INCREMENT=52 DEFAULT CHARSET=utf8; -- ---------------------------- -- Table structure for rel_user_team @@ -217,7 +217,7 @@ CREATE TABLE `rel_user_team` ( `role` smallint(1) NOT NULL DEFAULT '0' COMMENT 'member/Maintainer\n0/1', PRIMARY KEY (`id`), UNIQUE KEY `idx_team_user` (`team_id`,`user_id`) -) ENGINE=InnoDB AUTO_INCREMENT=46 DEFAULT CHARSET=utf8; +) ENGINE=InnoDB AUTO_INCREMENT=96 DEFAULT CHARSET=utf8; -- ---------------------------- -- Table structure for source @@ -232,7 +232,7 @@ CREATE TABLE `source` ( `project_id` bigint(20) NOT NULL COMMENT '所属项目Id', PRIMARY KEY (`id`) USING BTREE, KEY `idx_project_id` (`project_id`) USING BTREE -) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8; +) ENGINE=InnoDB AUTO_INCREMENT=29 DEFAULT CHARSET=utf8; -- ---------------------------- -- Table structure for star @@ -247,7 +247,7 @@ CREATE TABLE `star` ( PRIMARY KEY (`id`) USING BTREE, KEY `idx_target_id` (`target_id`) USING BTREE, KEY `idx_user_id` (`user_id`) USING BTREE -) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8; +) ENGINE=InnoDB AUTO_INCREMENT=27 DEFAULT CHARSET=utf8; -- ---------------------------- -- Table structure for team @@ -262,7 +262,7 @@ CREATE TABLE `team` ( `avatar` varchar(255) DEFAULT NULL, `visibility` tinyint(1) DEFAULT '1', PRIMARY KEY (`id`) -) ENGINE=InnoDB AUTO_INCREMENT=18 DEFAULT CHARSET=utf8; +) ENGINE=InnoDB AUTO_INCREMENT=60 DEFAULT CHARSET=utf8; -- ---------------------------- -- Table structure for user @@ -284,7 +284,7 @@ CREATE TABLE `user` ( `update_time` timestamp NOT NULL DEFAULT '1970-01-01 08:00:01', `update_by` bigint(20) NOT NULL DEFAULT '0', PRIMARY KEY (`id`) -) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8; +) ENGINE=InnoDB AUTO_INCREMENT=24 DEFAULT CHARSET=utf8; -- ---------------------------- -- Table structure for view @@ -301,7 +301,7 @@ CREATE TABLE `view` ( `config` text COMMENT '配置', PRIMARY KEY (`id`) USING BTREE, KEY `idx_project_id` (`project_id`) USING BTREE -) ENGINE=InnoDB AUTO_INCREMENT=20 DEFAULT CHARSET=utf8; +) ENGINE=InnoDB AUTO_INCREMENT=56 DEFAULT CHARSET=utf8; -- ---------------------------- -- Table structure for widget @@ -319,7 +319,7 @@ CREATE TABLE `widget` ( PRIMARY KEY (`id`) USING BTREE, KEY `idx_project_id` (`project_id`) USING BTREE, KEY `idx_view_id` (`view_id`) USING BTREE -) ENGINE=InnoDB AUTO_INCREMENT=23 DEFAULT CHARSET=utf8; +) ENGINE=InnoDB AUTO_INCREMENT=117 DEFAULT CHARSET=utf8; -- ---------------------------- -- Function structure for childTeamIds @@ -415,11 +415,11 @@ DROP FUNCTION IF EXISTS `userTeamStruct`; delimiter ;; CREATE DEFINER=`root`@`localhost` FUNCTION `userTeamStruct`(userId BIGINT(20)) RETURNS varchar(4000) CHARSET utf8 BEGIN - declare teamIds VARCHAR(4000); + declare teamIds TEXT; declare tempId BIGINT(20); declare done int DEFAULT false; declare parentId BIGINT(20); - declare childId BIGINT(20); + declare childIds VARCHAR(4000); declare cur CURSOR for select t.id FROM team t, rel_user_team r WHERE r.user_id = userId and t.id = r.team_id; @@ -429,11 +429,11 @@ BEGIN open cur; cur_loop: loop FETCH cur INTO tempId; - SET childId = tempId; + SET childIds = tempId; - WHILE childId <> '' and locate(childId, teamIds) <= 0 DO - SELECT `id`, parent_team_id INTO parentId,childId FROM team WHERE id = childId; - SET teamIds = CONCAT(',',parentId,teamIds); + WHILE childIds is not null DO + SET teamIds = CONCAT(childIds,',',teamIds); + SELECT GROUP_CONCAT(id) into childIds FROM team WHERE FIND_IN_SET(parent_team_id,childIds) > 0; END WHILE; if done then @@ -441,7 +441,8 @@ BEGIN end if; end loop; - RETURN SUBSTR(teamIds,2); + SELECT GROUP_CONCAT(id) INTO childIds FROM team WHERE FIND_IN_SET(id,teamIds); + RETURN childIds; END; ;; delimiter ; diff --git a/config/application.yml.example b/config/application.yml.example index 1c661851f..f6b1592a7 100644 --- a/config/application.yml.example +++ b/config/application.yml.example @@ -105,4 +105,11 @@ spring: ssl: enable: false + ldap: + urls: + username: + password: + base: + domainName: # domainName 指 企业邮箱后缀,如企业邮箱为:xxx@example.com, 这里值为 '@example.com' + phantomjs_home: $your_phantomjs_path$/phantomjs \ No newline at end of file diff --git a/config/datasource_driver.yml.example b/config/datasource_driver.yml.example index e767edf91..cb3101a61 100644 --- a/config/datasource_driver.yml.example +++ b/config/datasource_driver.yml.example @@ -32,7 +32,7 @@ ## vertica: com.vertica.jdbc.Driver ## hana: com.sap.db.jdbc.Driver ## impala: com.cloudera.impala.jdbc41.Driver -## this means that if your datasource is in the above list, you don't need to use this method, +## this means that if your datasource is in the above list, you don't need to use this way, ## unless you know what you are doing. ## How to use: diff --git a/davinci-ui/e61045f12482c7bb3c8f05eaa53aae79.svg b/davinci-ui/0a9c32c5065b1a59d723766ccc6eb0b4.svg similarity index 92% rename from davinci-ui/e61045f12482c7bb3c8f05eaa53aae79.svg rename to davinci-ui/0a9c32c5065b1a59d723766ccc6eb0b4.svg index de1f7be40..5fa8547f6 100644 --- a/davinci-ui/e61045f12482c7bb3c8f05eaa53aae79.svg +++ b/davinci-ui/0a9c32c5065b1a59d723766ccc6eb0b4.svg @@ -38,6 +38,9 @@ Created by iconfont + + + @@ -83,7 +86,7 @@ Created by iconfont - + @@ -110,6 +113,9 @@ Created by iconfont + + + @@ -176,9 +182,15 @@ Created by iconfont + + + + + + @@ -257,6 +269,9 @@ Created by iconfont + + + diff --git a/davinci-ui/3a2ba31570920eeb9b1d217cabe58315.ttf b/davinci-ui/3a2ba31570920eeb9b1d217cabe58315.ttf new file mode 100644 index 000000000..2abf03542 Binary files /dev/null and b/davinci-ui/3a2ba31570920eeb9b1d217cabe58315.ttf differ diff --git a/davinci-ui/181b620b7ace9a10324d615d307fd45a.eot b/davinci-ui/5355ed90147de28ececc28a5376172ee.eot similarity index 73% rename from davinci-ui/181b620b7ace9a10324d615d307fd45a.eot rename to davinci-ui/5355ed90147de28ececc28a5376172ee.eot index 607adabbe..3e1f4c2d4 100644 Binary files a/davinci-ui/181b620b7ace9a10324d615d307fd45a.eot and b/davinci-ui/5355ed90147de28ececc28a5376172ee.eot differ diff --git a/davinci-ui/59b9c6561eaed6a9724ce5806238f8bd.ttf b/davinci-ui/88d025404e857f79062f2d95122a9108.ttf similarity index 73% rename from davinci-ui/59b9c6561eaed6a9724ce5806238f8bd.ttf rename to davinci-ui/88d025404e857f79062f2d95122a9108.ttf index 6fbdd9da4..0b2b568db 100644 Binary files a/davinci-ui/59b9c6561eaed6a9724ce5806238f8bd.ttf and b/davinci-ui/88d025404e857f79062f2d95122a9108.ttf differ diff --git a/davinci-ui/9ec5e40edddff9ff300e6791941fe869.eot b/davinci-ui/9ec5e40edddff9ff300e6791941fe869.eot new file mode 100644 index 000000000..f7a7e2d51 Binary files /dev/null and b/davinci-ui/9ec5e40edddff9ff300e6791941fe869.eot differ diff --git a/davinci-ui/app.0b121910d1849d205041.js b/davinci-ui/app.0b121910d1849d205041.js new file mode 100644 index 000000000..3a9b1ea9e --- /dev/null +++ b/davinci-ui/app.0b121910d1849d205041.js @@ -0,0 +1,81 @@ +!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=2)}({"./app/app.tsx":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n("./node_modules/_babel-polyfill@6.23.0@babel-polyfill/lib/index.js");var r=n("./node_modules/_react@15.6.2@react/react.js"),o=n("./node_modules/_react-dom@15.6.2@react-dom/index.js"),a=n("./node_modules/_react-redux@5.0.5@react-redux/es/index.js"),i=n("./node_modules/_react-router@3.0.0@react-router/es/index.js"),s=n("./node_modules/_react-router-redux@4.0.6@react-router-redux/lib/index.js"),l=n("./node_modules/_react-router-scroll@0.4.1@react-router-scroll/lib/index.js"),c=n("./app/containers/App/index.tsx"),d=n("./app/containers/App/selectors.ts"),u=n("./app/containers/LanguageProvider/index.tsx"),p=n("./app/i18n.js");n("./node_modules/_file-loader@0.11.1@file-loader/index.js?name=[name].[ext]!./app/favicon.ico"),n("./node_modules/_file-loader@0.11.1@file-loader/index.js?name=[name].[ext]!./app/manifest.json"),n("./node_modules/_file-loader@0.11.1@file-loader/index.js?name=[name].[ext]!./app/.htaccess"),n("./node_modules/_antd@2.13.14@antd/dist/antd.less"),n("./libs/react-grid-layout/css/styles.css"),n("./libs/react-resizable/css/styles.css"),n("./node_modules/_bootstrap-datepicker@1.8.0@bootstrap-datepicker/dist/css/bootstrap-datepicker3.standalone.min.css"),n("./node_modules/_react-quill@1.3.2@react-quill/dist/quill.snow.css"),n("./app/assets/fonts/iconfont.css"),n("./app/assets/override/antd.css"),n("./app/assets/override/react-grid.css"),n("./app/assets/override/datepicker.css"),n("./app/assets/override/react-color.css"),n("./app/assets/less/style.less");var f=n("./node_modules/_echarts@4.1.0@echarts/lib/echarts.js");n("./node_modules/_zrender@4.0.4@zrender/lib/svg/svg.js"),n("./node_modules/_echarts@4.1.0@echarts/lib/chart/bar.js"),n("./node_modules/_echarts@4.1.0@echarts/lib/chart/line.js"),n("./node_modules/_echarts@4.1.0@echarts/lib/chart/scatter.js"),n("./node_modules/_echarts@4.1.0@echarts/lib/chart/pie.js"),n("./node_modules/_echarts@4.1.0@echarts/lib/chart/sankey.js"),n("./node_modules/_echarts@4.1.0@echarts/lib/chart/funnel.js"),n("./node_modules/_echarts@4.1.0@echarts/lib/chart/map.js"),n("./node_modules/_echarts@4.1.0@echarts/lib/chart/lines.js"),n("./node_modules/_echarts@4.1.0@echarts/lib/chart/effectScatter.js"),n("./node_modules/_echarts@4.1.0@echarts/lib/chart/treemap.js"),n("./node_modules/_echarts@4.1.0@echarts/lib/chart/heatmap.js"),n("./node_modules/_echarts@4.1.0@echarts/lib/chart/boxplot.js"),n("./node_modules/_echarts@4.1.0@echarts/lib/chart/graph.js"),n("./node_modules/_echarts@4.1.0@echarts/lib/chart/gauge.js"),n("./node_modules/_echarts@4.1.0@echarts/lib/chart/radar.js"),n("./node_modules/_echarts@4.1.0@echarts/lib/chart/parallel.js"),n("./node_modules/_echarts@4.1.0@echarts/lib/chart/pictorialBar.js"),n("./node_modules/_echarts-wordcloud@1.1.3@echarts-wordcloud/index.js"),n("./node_modules/_echarts@4.1.0@echarts/lib/component/legend.js"),n("./node_modules/_echarts@4.1.0@echarts/lib/component/legendScroll.js"),n("./node_modules/_echarts@4.1.0@echarts/lib/component/tooltip.js"),n("./node_modules/_echarts@4.1.0@echarts/lib/component/toolbox.js"),n("./node_modules/_echarts@4.1.0@echarts/lib/component/dataZoom.js"),n("./node_modules/_echarts@4.1.0@echarts/lib/component/visualMap.js"),n("./node_modules/_echarts@4.1.0@echarts/lib/component/geo.js"),n("./node_modules/_echarts@4.1.0@echarts/lib/component/brush.js"),n("./app/containers/Widget/charts/mapFile/china.js");var m=n("./app/globalConstants.ts");f.registerTheme("default",m.DEFAULT_ECHARTS_THEME);var h=n("./app/store.ts"),g=n("./app/routes.ts"),_={},b=h.default(_,i.hashHistory),v=s.syncHistoryWithStore(i.hashHistory,b,{selectLocationState:d.makeSelectLocationState()}),y={path:"/",component:c.default,childRoutes:g.default(b),indexRoute:{onEnter:function(e,t){t("/projects")}}},A=function(e){o.render(r.createElement(a.Provider,{store:b},r.createElement(u.default,{messages:e},r.createElement(i.Router,{history:v,routes:y,render:i.applyRouterMiddleware(l.useScroll())}))),document.getElementById("app"))};window.Intl?A(p.translationMessages):new Promise(function(e){e(Promise.resolve().then(function(){return n("./node_modules/_intl@1.2.5@intl/index.js")}))}).then(function(){return Promise.all([Promise.resolve().then(function(){return n("./node_modules/_intl@1.2.5@intl/locale-data/jsonp/en.js")})])}).then(function(){return A(p.translationMessages)}).catch(function(e){throw e}),window.__REACT_DEVTOOLS_GLOBAL_HOOK__&&(window.__REACT_DEVTOOLS_GLOBAL_HOOK__.inject=function(){})},"./app/assets/fonts/antd/antd.eot":function(e,t,n){e.exports=n.p+"9ec5e40edddff9ff300e6791941fe869.eot"},"./app/assets/fonts/antd/antd.svg":function(e,t,n){e.exports=n.p+"ca5d4588dad9c32f49e895e7f19479df.svg"},"./app/assets/fonts/antd/antd.ttf":function(e,t,n){e.exports=n.p+"3a2ba31570920eeb9b1d217cabe58315.ttf"},"./app/assets/fonts/antd/antd.woff":function(e,t,n){e.exports=n.p+"de3f28fdd0af647ec0d2b1c22d845064.woff"},"./app/assets/fonts/iconfont.css":function(e,t,n){var r=n("./node_modules/_css-loader@0.28.4@css-loader/index.js!./node_modules/_postcss-loader@1.3.3@postcss-loader/index.js!./app/assets/fonts/iconfont.css");"string"==typeof r&&(r=[[e.i,r,""]]);var o={};o.transform=void 0;n("./node_modules/_style-loader@0.18.1@style-loader/lib/addStyles.js")(r,o);r.locals&&(e.exports=r.locals)},"./app/assets/fonts/iconfont.eot?t=1541663367993":function(e,t,n){e.exports=n.p+"5355ed90147de28ececc28a5376172ee.eot"},"./app/assets/fonts/iconfont.svg?t=1541663367993":function(e,t,n){e.exports=n.p+"0a9c32c5065b1a59d723766ccc6eb0b4.svg"},"./app/assets/fonts/iconfont.ttf?t=1541663367993":function(e,t,n){e.exports=n.p+"88d025404e857f79062f2d95122a9108.ttf"},"./app/assets/images recursive ^\\.\\/bg.*\\.png$":function(e,t,n){function r(e){return n(o(e))}function o(e){var t=a[e];if(!(t+1))throw new Error("Cannot find module '"+e+"'.");return t}var a={"./bg1.png":"./app/assets/images/bg1.png","./bg10.png":"./app/assets/images/bg10.png","./bg11.png":"./app/assets/images/bg11.png","./bg12.png":"./app/assets/images/bg12.png","./bg13.png":"./app/assets/images/bg13.png","./bg14.png":"./app/assets/images/bg14.png","./bg15.png":"./app/assets/images/bg15.png","./bg16.png":"./app/assets/images/bg16.png","./bg17.png":"./app/assets/images/bg17.png","./bg18.png":"./app/assets/images/bg18.png","./bg19.png":"./app/assets/images/bg19.png","./bg2.png":"./app/assets/images/bg2.png","./bg20.png":"./app/assets/images/bg20.png","./bg3.png":"./app/assets/images/bg3.png","./bg4.png":"./app/assets/images/bg4.png","./bg5.png":"./app/assets/images/bg5.png","./bg6.png":"./app/assets/images/bg6.png","./bg7.png":"./app/assets/images/bg7.png","./bg8.png":"./app/assets/images/bg8.png","./bg9.png":"./app/assets/images/bg9.png"};r.keys=function(){return Object.keys(a)},r.resolve=o,e.exports=r,r.id="./app/assets/images recursive ^\\.\\/bg.*\\.png$"},"./app/assets/images/bg1.png":function(e,t,n){e.exports=n.p+"e6f17c7c334fb9352467084d5b69972c.png"},"./app/assets/images/bg10.png":function(e,t,n){e.exports=n.p+"9fb76c1987aaced56d46185fe2a9c9a7.png"},"./app/assets/images/bg11.png":function(e,t,n){e.exports=n.p+"cf7ab11b51a8a57e8f2d9fd125f2ba0a.png"},"./app/assets/images/bg12.png":function(e,t,n){e.exports=n.p+"ffb7a8f93fb3ee5363f716001678abff.png"},"./app/assets/images/bg13.png":function(e,t,n){e.exports=n.p+"e5aa55de921ddb8473af573d48c01276.png"},"./app/assets/images/bg14.png":function(e,t,n){e.exports=n.p+"4d093388b8468ddd4ca8b04969355abf.png"},"./app/assets/images/bg15.png":function(e,t,n){e.exports=n.p+"26f82ea10fdd6824908c461658e48b16.png"},"./app/assets/images/bg16.png":function(e,t,n){e.exports=n.p+"7e38fe4bc86856ff097225950fb1af4e.png"},"./app/assets/images/bg17.png":function(e,t,n){e.exports=n.p+"cfe25a8e11435078439040fa96f172aa.png"},"./app/assets/images/bg18.png":function(e,t,n){e.exports=n.p+"be019c805bcc4a0aae27afd859435329.png"},"./app/assets/images/bg19.png":function(e,t,n){e.exports=n.p+"65cde8fa1e0b87935a58744709f64bea.png"},"./app/assets/images/bg2.png":function(e,t,n){e.exports=n.p+"48cd5baaf8b54fde86471c6b1f21212f.png"},"./app/assets/images/bg20.png":function(e,t,n){e.exports=n.p+"2ea2b3275c6eebbcaceda228da181bea.png"},"./app/assets/images/bg3.png":function(e,t,n){e.exports=n.p+"3483156a52e2755f69eb3e7ae92c5ef9.png"},"./app/assets/images/bg4.png":function(e,t,n){e.exports=n.p+"a92e599185a3cd89e93521220c01fff6.png"},"./app/assets/images/bg5.png":function(e,t,n){e.exports=n.p+"8999a7c0e1b2bc8a9584c3aa29a24221.png"},"./app/assets/images/bg6.png":function(e,t,n){e.exports=n.p+"825c277337d89cb88266251b7ac075a7.png"},"./app/assets/images/bg7.png":function(e,t,n){e.exports=n.p+"9ea49e4080dec6ed0ef9d5b3262ebc63.png"},"./app/assets/images/bg8.png":function(e,t,n){e.exports=n.p+"fa522a4df5aed962ee1ca9d2b625fa94.png"},"./app/assets/images/bg9.png":function(e,t,n){e.exports=n.p+"1ba81eb07695fb6c0e11a8f83d9eacde.png"},"./app/assets/images/grid.png":function(e,t,n){e.exports=n.p+"723c56b4425401d1ec750b9f681acca5.png"},"./app/assets/images/logo.svg":function(e,t,n){e.exports=n.p+"1c8e2633766f2fb8bda742b37e16169e.svg"},"./app/assets/images/logo_light.svg":function(e,t,n){e.exports=n.p+"e92352b7d5694fd944eaa9e69ada160a.svg"},"./app/assets/images/logo_mobile.svg":function(e,t,n){e.exports=n.p+"6b49995ae3ae7870597e6843415551a0.svg"},"./app/assets/images/noDashboard.png":function(e,t,n){e.exports=n.p+"281aa6578d6d23625ff847d6d4e52c19.png"},"./app/assets/images/profile.png":function(e,t,n){e.exports=n.p+"f4f61f162db96f3f3c05a8ce556ce06c.png"},"./app/assets/json/echartsThemes/default.project.json":function(e,t){e.exports={version:1,themeName:"walden",theme:{seriesCnt:"8",backgroundColor:"rgba(252,252,252,0)",titleColor:"#666666",subtitleColor:"#999999",textColorShow:!1,textColor:"#333",markTextColor:"#ffffff",color:["#509af2","#3acf7a","#ffa223","#d465fb","#38caf7","#b3dd07","#ffd835","#e5b4fa"],borderColor:"#ccc",borderWidth:0,visualMapColor:["#2a99c9","#afe8ff"],legendTextColor:"#999999",kColor:"#e6a0d2",kColor0:"transparent",kBorderColor:"#e6a0d2",kBorderColor0:"#3fb1e3",kBorderWidth:"2",lineWidth:"3",symbolSize:"8",symbolBorderWidth:"2",lineSmooth:!1,graphLineWidth:"1",graphLineColor:"#cccccc",mapLabelColor:"#ffffff",mapLabelColorE:"rgb(63,177,227)",mapBorderColor:"#aaaaaa",mapBorderColorE:"#3fb1e3",mapBorderWidth:.5,mapBorderWidthE:1,mapAreaColor:"#eeeeee",mapAreaColorE:"rgba(63,177,227,0.25)",axes:[{type:"all",name:"通用坐标轴",axisLineShow:!0,axisLineColor:"#cccccc",axisTickShow:!1,axisTickColor:"#333",axisLabelShow:!0,axisLabelColor:"#999999",splitLineShow:!0,splitLineColor:["#eeeeee"],splitAreaShow:!1,splitAreaColor:["rgba(250,250,250,0.05)","rgba(200,200,200,0.02)"]},{type:"category",name:"类目坐标轴",axisLineShow:!0,axisLineColor:"#333",axisTickShow:!0,axisTickColor:"#333",axisLabelShow:!0,axisLabelColor:"#333",splitLineShow:!1,splitLineColor:["#ccc"],splitAreaShow:!1,splitAreaColor:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]},{type:"value",name:"数值坐标轴",axisLineShow:!0,axisLineColor:"#333",axisTickShow:!0,axisTickColor:"#333",axisLabelShow:!0,axisLabelColor:"#333",splitLineShow:!0,splitLineColor:["#ccc"],splitAreaShow:!1,splitAreaColor:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]},{type:"log",name:"对数坐标轴",axisLineShow:!0,axisLineColor:"#333",axisTickShow:!0,axisTickColor:"#333",axisLabelShow:!0,axisLabelColor:"#333",splitLineShow:!0,splitLineColor:["#ccc"],splitAreaShow:!1,splitAreaColor:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]},{type:"time",name:"时间坐标轴",axisLineShow:!0,axisLineColor:"#333",axisTickShow:!0,axisTickColor:"#333",axisLabelShow:!0,axisLabelColor:"#333",splitLineShow:!0,splitLineColor:["#ccc"],splitAreaShow:!1,splitAreaColor:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}],axisSeperateSetting:!1,toolboxColor:"#999999",toolboxEmpasisColor:"#666666",tooltipAxisColor:"#cccccc",tooltipAxisWidth:1,timelineLineColor:"#626c91",timelineLineWidth:1,timelineItemColor:"#626c91",timelineItemColorE:"#626c91",timelineCheckColor:"#3fb1e3",timelineCheckBorderColor:"rgba(63,177,227,0.15)",timelineItemBorderWidth:1,timelineControlColor:"#626c91",timelineControlBorderColor:"#626c91",timelineControlBorderWidth:.5,timelineLabelColor:"#626c91",datazoomBackgroundColor:"rgba(255,255,255,0)",datazoomDataColor:"rgba(222,222,222,1)",datazoomFillColor:"rgba(114,230,212,0.25)",datazoomHandleColor:"#cccccc",datazoomHandleWidth:"100",datazoomLabelColor:"#999999"}}},"./app/assets/json/geo.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=[{id:11,name:"北京市",parent:0,lon:116.39564503788,lat:39.92998577808},{id:12,name:"天津市",parent:0,lon:117.21081309155,lat:39.14392990331},{id:13,name:"河北省",parent:0,lon:115.66143362422,lat:38.613839749251},{id:14,name:"山西省",parent:0,lon:112.51549586384,lat:37.866565990509},{id:15,name:"内蒙古自治区",parent:0,lon:114.41586754817,lat:43.468238221949},{id:21,name:"辽宁省",parent:0,lon:122.75359155772,lat:41.621600105958},{id:22,name:"吉林省",parent:0,lon:126.26287593078,lat:43.678846185241},{id:23,name:"黑龙江省",parent:0,lon:128.04741371499,lat:47.356591643111},{id:31,name:"上海市",parent:0,lon:121.48789948569,lat:31.249161710015},{id:32,name:"江苏省",parent:0,lon:119.36848893836,lat:33.013797169954},{id:33,name:"浙江省",parent:0,lon:119.95720242066,lat:29.159494120761},{id:34,name:"安徽省",parent:0,lon:117.21600520757,lat:31.859252417079},{id:35,name:"福建省",parent:0,lon:117.98494311991,lat:26.050118295661},{id:36,name:"江西省",parent:0,lon:115.6760823667,lat:27.757258443441},{id:37,name:"山东省",parent:0,lon:118.52766339288,lat:36.099289929728},{id:41,name:"河南省",parent:0,lon:113.48680405753,lat:34.157183767956},{id:42,name:"湖北省",parent:0,lon:112.41056219213,lat:31.20931625014},{id:43,name:"湖南省",parent:0,lon:111.72066354648,lat:27.695864052356},{id:44,name:"广东省",parent:0,lon:113.39481755876,lat:23.408003729025},{id:45,name:"广西壮族自治区",parent:0,lon:108.92427442706,lat:23.552254688119},{id:46,name:"海南省",parent:0,lon:109.73375548794,lat:19.180500801261},{id:50,name:"重庆市",parent:0,lon:106.53063501341,lat:29.544606108886},{id:51,name:"四川省",parent:0,lon:102.8991597236,lat:30.367480937958},{id:52,name:"贵州省",parent:0,lon:106.7349961033,lat:26.902825927797},{id:53,name:"云南省",parent:0,lon:101.59295163701,lat:24.864212795483},{id:54,name:"西藏自治区",parent:0,lon:89.137981684031,lat:31.367315402715},{id:61,name:"陕西省",parent:0,lon:109.50378929073,lat:35.860026261323},{id:62,name:"甘肃省",parent:0,lon:102.45762459934,lat:38.103267343752},{id:63,name:"青海省",parent:0,lon:96.202543672261,lat:35.499761004275},{id:64,name:"宁夏回族自治区",parent:0,lon:106.15548126505,lat:37.321323112295},{id:65,name:"新疆维吾尔自治区",parent:0,lon:85.614899338339,lat:42.127000957642},{id:71,name:"台湾省",parent:0,lon:121.97387097872,lat:24.086956718805},{id:81,name:"香港特别行政区",parent:0,lon:114.18612410257,lat:22.29358599328},{id:82,name:"澳门特别行政区",parent:0,lon:113.55751910182,lat:22.204117988443},{id:1101,name:"市辖区",parent:11,lon:116.39564503788,lat:39.92998577808},{id:1201,name:"市辖区",parent:12,lon:117.21081309155,lat:39.14392990331},{id:1301,name:"石家庄市",parent:13,lon:114.52208184421,lat:38.048958314615},{id:1302,name:"唐山市",parent:13,lon:118.18345059773,lat:39.650530922537},{id:1303,name:"秦皇岛市",parent:13,lon:119.60436761612,lat:39.945461565898},{id:1304,name:"邯郸市",parent:13,lon:114.48269393234,lat:36.609307928471},{id:1305,name:"邢台市",parent:13,lon:114.52048681294,lat:37.069531196912},{id:1306,name:"保定市",parent:13,lon:115.49481016908,lat:38.886564548027},{id:1307,name:"张家口市",parent:13,lon:114.89378153033,lat:40.811188491103},{id:1308,name:"承德市",parent:13,lon:117.93382245584,lat:40.992521052457},{id:1309,name:"沧州市",parent:13,lon:116.86380647644,lat:38.297615350326},{id:1310,name:"廊坊市",parent:13,lon:116.70360222264,lat:39.518610625085},{id:1311,name:"衡水市",parent:13,lon:115.68622865291,lat:37.746929045857},{id:1390,name:"省直辖县级行政区划",parent:13,lon:115.66143362422,lat:38.613839749251},{id:1401,name:"太原市",parent:14,lon:112.55086358906,lat:37.890277053968},{id:1402,name:"大同市",parent:14,lon:113.29050867308,lat:40.113744499705},{id:1403,name:"阳泉市",parent:14,lon:113.56923760163,lat:37.869529493223},{id:1404,name:"长治市",parent:14,lon:113.12029208573,lat:36.201664385743},{id:1405,name:"晋城市",parent:14,lon:112.86733275751,lat:35.499834467226},{id:1406,name:"朔州市",parent:14,lon:112.47992772666,lat:39.337671966221},{id:1407,name:"晋中市",parent:14,lon:112.73851439992,lat:37.693361526798},{id:1408,name:"运城市",parent:14,lon:111.00685365308,lat:35.038859479812},{id:1409,name:"忻州市",parent:14,lon:112.72793882881,lat:38.461030572959},{id:1410,name:"临汾市",parent:14,lon:111.53878759641,lat:36.099745443585},{id:1411,name:"吕梁市",parent:14,lon:111.14315660235,lat:37.527316096963},{id:1501,name:"呼和浩特市",parent:15,lon:111.66035052005,lat:40.828318873082},{id:1502,name:"包头市",parent:15,lon:109.84623853249,lat:40.647119425709},{id:1503,name:"乌海市",parent:15,lon:106.83199909716,lat:39.683177006785},{id:1504,name:"赤峰市",parent:15,lon:118.93076119217,lat:42.297112320317},{id:1505,name:"通辽市",parent:15,lon:122.26036326322,lat:43.633756072996},{id:1506,name:"鄂尔多斯市",parent:15,lon:109.99370625145,lat:39.816489560602},{id:1507,name:"呼伦贝尔市",parent:15,lon:119.760821794,lat:49.201636054604},{id:1508,name:"巴彦淖尔市",parent:15,lon:107.42380671968,lat:40.769179902429},{id:1509,name:"乌兰察布市",parent:15,lon:113.11284639068,lat:41.022362946751},{id:1522,name:"兴安盟",parent:15,lon:122.04816651407,lat:46.083757065182},{id:1525,name:"锡林郭勒盟",parent:15,lon:116.02733968896,lat:43.939704842324},{id:1529,name:"阿拉善盟",parent:15,lon:105.69568287113,lat:38.843075264408},{id:2101,name:"沈阳市",parent:21,lon:123.43279092161,lat:41.808644783516},{id:2102,name:"大连市",parent:21,lon:121.59347778144,lat:38.948709938304},{id:2103,name:"鞍山市",parent:21,lon:123.00776332888,lat:41.118743682153},{id:2104,name:"抚顺市",parent:21,lon:123.92981976705,lat:41.877303829591},{id:2105,name:"本溪市",parent:21,lon:123.77806236979,lat:41.325837626649},{id:2106,name:"丹东市",parent:21,lon:124.33854311477,lat:40.129022826638},{id:2107,name:"锦州市",parent:21,lon:121.14774873824,lat:41.130878875917},{id:2108,name:"营口市",parent:21,lon:122.23339137079,lat:40.668651066474},{id:2109,name:"阜新市",parent:21,lon:121.66082212857,lat:42.01925010706},{id:2110,name:"辽阳市",parent:21,lon:123.17245120515,lat:41.273339265569},{id:2111,name:"盘锦市",parent:21,lon:122.07322781023,lat:41.141248022956},{id:2112,name:"铁岭市",parent:21,lon:123.85484961462,lat:42.299757012125},{id:2113,name:"朝阳市",parent:21,lon:120.44616270274,lat:41.571827667857},{id:2114,name:"葫芦岛市",parent:21,lon:120.86075764476,lat:40.743029881318},{id:2201,name:"长春市",parent:22,lon:125.3136424272,lat:43.898337607098},{id:2202,name:"吉林市",parent:22,lon:126.56454398883,lat:43.871988334359},{id:2203,name:"四平市",parent:22,lon:124.39138207368,lat:43.175524701126},{id:2204,name:"辽源市",parent:22,lon:125.13368605218,lat:42.923302619054},{id:2205,name:"通化市",parent:22,lon:125.94265013851,lat:41.736397129868},{id:2206,name:"白山市",parent:22,lon:126.43579767535,lat:41.945859397018},{id:2207,name:"松原市",parent:22,lon:124.83299453234,lat:45.136048970084},{id:2208,name:"白城市",parent:22,lon:122.8407766791,lat:45.621086275219},{id:2224,name:"延边朝鲜族自治州",parent:22,lon:129.48590195816,lat:42.896413603744},{id:2301,name:"哈尔滨市",parent:23,lon:126.65771685545,lat:45.773224633239},{id:2302,name:"齐齐哈尔市",parent:23,lon:123.98728894217,lat:47.347699813366},{id:2303,name:"鸡西市",parent:23,lon:130.94176727325,lat:45.321539886551},{id:2304,name:"鹤岗市",parent:23,lon:130.29247205063,lat:47.338665903727},{id:2305,name:"双鸭山市",parent:23,lon:131.17140173958,lat:46.655102062482},{id:2306,name:"大庆市",parent:23,lon:125.02183973021,lat:46.596709020008},{id:2307,name:"伊春市",parent:23,lon:128.91076597792,lat:47.734685075079},{id:2308,name:"佳木斯市",parent:23,lon:130.28473458595,lat:46.81377960474},{id:2309,name:"七台河市",parent:23,lon:131.01904804712,lat:45.77500536864},{id:2310,name:"牡丹江市",parent:23,lon:129.60803539564,lat:44.588521152783},{id:2311,name:"黑河市",parent:23,lon:127.50083029524,lat:50.250690090738},{id:2312,name:"绥化市",parent:23,lon:126.98909457163,lat:46.646063926997},{id:2327,name:"大兴安岭地区",parent:23,lon:124.19610419017,lat:51.991788968014},{id:3101,name:"市辖区",parent:31,lon:121.48789948569,lat:31.249161710015},{id:3201,name:"南京市",parent:32,lon:118.77807440803,lat:32.057235501806},{id:3202,name:"无锡市",parent:32,lon:120.30545590054,lat:31.570037451923},{id:3203,name:"徐州市",parent:32,lon:117.18810662318,lat:34.271553431092},{id:3204,name:"常州市",parent:32,lon:119.98186101346,lat:31.771396744684},{id:3205,name:"苏州市",parent:32,lon:120.61990711549,lat:31.317987367952},{id:3206,name:"南通市",parent:32,lon:120.87380095093,lat:32.014664540823},{id:3207,name:"连云港市",parent:32,lon:119.17387221742,lat:34.60154896701},{id:3208,name:"淮安市",parent:32,lon:119.03018636466,lat:33.606512739276},{id:3209,name:"盐城市",parent:32,lon:120.14887181794,lat:33.379861877121},{id:3210,name:"扬州市",parent:32,lon:119.42777755117,lat:32.408505254568},{id:3211,name:"镇江市",parent:32,lon:119.45583540513,lat:32.204409443599},{id:3212,name:"泰州市",parent:32,lon:119.91960601619,lat:32.47605327483},{id:3213,name:"宿迁市",parent:32,lon:118.29689337855,lat:33.952049733709},{id:3301,name:"杭州市",parent:33,lon:120.21937541572,lat:30.259244461536},{id:3302,name:"宁波市",parent:33,lon:121.57900597259,lat:29.885258965918},{id:3303,name:"温州市",parent:33,lon:120.69063473371,lat:28.002837594041},{id:3304,name:"嘉兴市",parent:33,lon:120.76042769896,lat:30.773992239582},{id:3305,name:"湖州市",parent:33,lon:120.13724316328,lat:30.877925155691},{id:3306,name:"绍兴市",parent:33,lon:120.59246738555,lat:30.002364580528},{id:3307,name:"金华市",parent:33,lon:119.65257570368,lat:29.102899105391},{id:3308,name:"衢州市",parent:33,lon:118.87584165151,lat:28.956910447536},{id:3309,name:"舟山市",parent:33,lon:122.16987209835,lat:30.036010302554},{id:3310,name:"台州市",parent:33,lon:121.44061293594,lat:28.668283285674},{id:3311,name:"丽水市",parent:33,lon:119.92957584319,lat:28.456299552144},{id:3401,name:"合肥市",parent:34,lon:117.28269909168,lat:31.866942260687},{id:3402,name:"芜湖市",parent:34,lon:118.38410842323,lat:31.366019787543},{id:3403,name:"蚌埠市",parent:34,lon:117.35707986588,lat:32.929498906698},{id:3404,name:"淮南市",parent:34,lon:117.01863886329,lat:32.642811823748},{id:3405,name:"马鞍山市",parent:34,lon:118.51588184662,lat:31.68852815888},{id:3406,name:"淮北市",parent:34,lon:116.79144742863,lat:33.960023305364},{id:3407,name:"铜陵市",parent:34,lon:117.81942872881,lat:30.940929694666},{id:3408,name:"安庆市",parent:34,lon:117.05873877211,lat:30.537897817381},{id:3410,name:"黄山市",parent:34,lon:118.293569632,lat:29.734434856163},{id:3411,name:"滁州市",parent:34,lon:118.32457035098,lat:32.317350595384},{id:3412,name:"阜阳市",parent:34,lon:115.82093225905,lat:32.90121133057},{id:3413,name:"宿州市",parent:34,lon:116.98869241183,lat:33.636772385781},{id:3415,name:"六安市",parent:34,lon:116.50525268298,lat:31.755558355198},{id:3416,name:"亳州市",parent:34,lon:115.78792824512,lat:33.871210565302},{id:3417,name:"池州市",parent:34,lon:117.49447677159,lat:30.660019248161},{id:3418,name:"宣城市",parent:34,lon:118.75209631098,lat:30.951642354296},{id:3501,name:"福州市",parent:35,lon:119.33022110713,lat:26.047125496573},{id:3502,name:"厦门市",parent:35,lon:118.10388604566,lat:24.489230612469},{id:3503,name:"莆田市",parent:35,lon:119.07773096396,lat:25.448450136734},{id:3504,name:"三明市",parent:35,lon:117.64219393404,lat:26.270835279362},{id:3505,name:"泉州市",parent:35,lon:118.60036234323,lat:24.901652383991},{id:3506,name:"漳州市",parent:35,lon:117.67620467895,lat:24.517064779808},{id:3507,name:"南平市",parent:35,lon:118.18188294866,lat:26.643626474198},{id:3508,name:"龙岩市",parent:35,lon:117.01799673877,lat:25.078685433515},{id:3509,name:"宁德市",parent:35,lon:119.54208214972,lat:26.656527419159},{id:3601,name:"南昌市",parent:36,lon:115.89352754584,lat:28.689578000141},{id:3602,name:"景德镇市",parent:36,lon:117.18652262527,lat:29.303562768448},{id:3603,name:"萍乡市",parent:36,lon:113.85991703301,lat:27.639544222952},{id:3604,name:"九江市",parent:36,lon:115.99984802155,lat:29.719639526122},{id:3605,name:"新余市",parent:36,lon:114.94711741679,lat:27.822321558629},{id:3606,name:"鹰潭市",parent:36,lon:117.03545018601,lat:28.241309597182},{id:3607,name:"赣州市",parent:36,lon:114.93590907928,lat:25.845295536347},{id:3608,name:"吉安市",parent:36,lon:114.99203871092,lat:27.113847650157},{id:3609,name:"宜春市",parent:36,lon:114.40003867156,lat:27.811129895843},{id:3610,name:"抚州市",parent:36,lon:116.36091886693,lat:27.95454517027},{id:3611,name:"上饶市",parent:36,lon:117.95546387715,lat:28.457622553937},{id:3701,name:"济南市",parent:37,lon:117.02496706629,lat:36.682784727161},{id:3702,name:"青岛市",parent:37,lon:120.38442818368,lat:36.105214901274},{id:3703,name:"淄博市",parent:37,lon:118.05913427787,lat:36.804684854212},{id:3704,name:"枣庄市",parent:37,lon:117.2793053833,lat:34.807883078386},{id:3705,name:"东营市",parent:37,lon:118.58392633307,lat:37.487121155276},{id:3706,name:"烟台市",parent:37,lon:121.30955503009,lat:37.53656156286},{id:3707,name:"潍坊市",parent:37,lon:119.14263382297,lat:36.716114873051},{id:3708,name:"济宁市",parent:37,lon:116.60079762482,lat:35.402121664331},{id:3709,name:"泰安市",parent:37,lon:117.08941491714,lat:36.188077758948},{id:3710,name:"威海市",parent:37,lon:122.09395836581,lat:37.528787081251},{id:3711,name:"日照市",parent:37,lon:119.50717994299,lat:35.420225193144},{id:3712,name:"莱芜市",parent:37,lon:117.68466691247,lat:36.233654133647},{id:3713,name:"临沂市",parent:37,lon:118.34076823661,lat:35.072409074391},{id:3714,name:"德州市",parent:37,lon:116.32816136356,lat:37.460825926305},{id:3715,name:"聊城市",parent:37,lon:115.98686913929,lat:36.455828514728},{id:3716,name:"滨州市",parent:37,lon:117.96829241453,lat:37.405313941826},{id:3717,name:"菏泽市",parent:37,lon:115.46335977453,lat:35.262440496075},{id:4101,name:"郑州市",parent:41,lon:113.64964384986,lat:34.75661006414},{id:4102,name:"开封市",parent:41,lon:114.35164211776,lat:34.801854175837},{id:4103,name:"洛阳市",parent:41,lon:112.44752476895,lat:34.657367817651},{id:4104,name:"平顶山市",parent:41,lon:113.30084897798,lat:33.745301456524},{id:4105,name:"安阳市",parent:41,lon:114.35180650767,lat:36.110266722181},{id:4106,name:"鹤壁市",parent:41,lon:114.29776983802,lat:35.755425874224},{id:4107,name:"新乡市",parent:41,lon:113.91269016082,lat:35.307257557661},{id:4108,name:"焦作市",parent:41,lon:113.21183588499,lat:35.234607554986},{id:4109,name:"濮阳市",parent:41,lon:115.02662744067,lat:35.753297888208},{id:4110,name:"许昌市",parent:41,lon:113.83531245979,lat:34.026739588655},{id:4111,name:"漯河市",parent:41,lon:114.04606140023,lat:33.576278688483},{id:4112,name:"三门峡市",parent:41,lon:111.18126209327,lat:34.78331994105},{id:4113,name:"南阳市",parent:41,lon:112.54284190051,lat:33.011419569116},{id:4114,name:"商丘市",parent:41,lon:115.64188568785,lat:34.438588640246},{id:4115,name:"信阳市",parent:41,lon:114.08549099347,lat:32.128582307512},{id:4116,name:"周口市",parent:41,lon:114.6541019423,lat:33.623740818141},{id:4117,name:"驻马店市",parent:41,lon:114.04915354746,lat:32.983158154093},{id:4190,name:"省直辖县级行政区划",parent:41,lon:113.48680405753,lat:34.157183767956},{id:4201,name:"武汉市",parent:42,lon:114.31620010268,lat:30.581084126921},{id:4202,name:"黄石市",parent:42,lon:115.05068316392,lat:30.216127127714},{id:4203,name:"十堰市",parent:42,lon:110.80122891676,lat:32.636994339468},{id:4205,name:"宜昌市",parent:42,lon:111.31098109196,lat:30.732757818026},{id:4206,name:"襄阳市",parent:42,lon:111.94954852739,lat:31.939712558944},{id:4207,name:"鄂州市",parent:42,lon:114.89559404136,lat:30.384439322752},{id:4208,name:"荆门市",parent:42,lon:112.21733029897,lat:31.042611202949},{id:4209,name:"孝感市",parent:42,lon:113.93573439207,lat:30.927954784201},{id:4210,name:"荆州市",parent:42,lon:112.24186580719,lat:30.332590522986},{id:4211,name:"黄冈市",parent:42,lon:114.90661804658,lat:30.446108937901},{id:4212,name:"咸宁市",parent:42,lon:114.30006059206,lat:29.880656757728},{id:4213,name:"随州市",parent:42,lon:113.37935836429,lat:31.717857608189},{id:4228,name:"恩施土家族苗族自治州",parent:42,lon:109.49192330375,lat:30.285888316556},{id:4290,name:"省直辖县级行政区划",parent:42,lon:112.41056219213,lat:31.20931625014},{id:4301,name:"长沙市",parent:43,lon:112.97935278765,lat:28.213478230853},{id:4302,name:"株洲市",parent:43,lon:113.13169534107,lat:27.827432927663},{id:4303,name:"湘潭市",parent:43,lon:112.93555563303,lat:27.835095052979},{id:4304,name:"衡阳市",parent:43,lon:112.58381881072,lat:26.898164415358},{id:4305,name:"邵阳市",parent:43,lon:111.46152540355,lat:27.236811244922},{id:4306,name:"岳阳市",parent:43,lon:113.14619551912,lat:29.378007075474},{id:4307,name:"常德市",parent:43,lon:111.65371813684,lat:29.012148855181},{id:4308,name:"张家界市",parent:43,lon:110.48162015697,lat:29.12488935322},{id:4309,name:"益阳市",parent:43,lon:112.36654664523,lat:28.588087779887},{id:4310,name:"郴州市",parent:43,lon:113.0377044678,lat:25.782263975739},{id:4311,name:"永州市",parent:43,lon:111.61464768616,lat:26.435971646759},{id:4312,name:"怀化市",parent:43,lon:109.98695879585,lat:27.557482901173},{id:4313,name:"娄底市",parent:43,lon:111.99639635657,lat:27.741073302349},{id:4331,name:"湘西土家族苗族自治州",parent:43,lon:109.74574580039,lat:28.317950793674},{id:4401,name:"广州市",parent:44,lon:113.30764967515,lat:23.120049102076},{id:4402,name:"韶关市",parent:44,lon:113.59446110744,lat:24.802960311892},{id:4403,name:"深圳市",parent:44,lon:114.02597365732,lat:22.546053546205},{id:4404,name:"珠海市",parent:44,lon:113.56244702619,lat:22.256914646126},{id:4405,name:"汕头市",parent:44,lon:116.72865028834,lat:23.383908453269},{id:4406,name:"佛山市",parent:44,lon:113.13402563539,lat:23.035094840514},{id:4407,name:"江门市",parent:44,lon:113.07812534115,lat:22.575116783451},{id:4408,name:"湛江市",parent:44,lon:110.36506726285,lat:21.257463103764},{id:4409,name:"茂名市",parent:44,lon:110.93124533068,lat:21.668225718822},{id:4412,name:"肇庆市",parent:44,lon:112.47965336992,lat:23.078663282929},{id:4413,name:"惠州市",parent:44,lon:114.41065807997,lat:23.113539852408},{id:4414,name:"梅州市",parent:44,lon:116.12640309837,lat:24.304570606031},{id:4415,name:"汕尾市",parent:44,lon:115.3729242894,lat:22.778730500164},{id:4416,name:"河源市",parent:44,lon:114.71372147587,lat:23.757250850469},{id:4417,name:"阳江市",parent:44,lon:111.97700975587,lat:21.871517304519},{id:4418,name:"清远市",parent:44,lon:113.04077334891,lat:23.698468550422},{id:4451,name:"潮州市",parent:44,lon:116.63007599086,lat:23.661811676517},{id:4452,name:"揭阳市",parent:44,lon:116.37950085538,lat:23.547999466926},{id:4453,name:"云浮市",parent:44,lon:112.05094595865,lat:22.937975685537},{id:4501,name:"南宁市",parent:45,lon:108.29723355587,lat:22.806492935603},{id:4502,name:"柳州市",parent:45,lon:109.42240181015,lat:24.329053352467},{id:4503,name:"桂林市",parent:45,lon:110.26092014748,lat:25.262901245955},{id:4504,name:"梧州市",parent:45,lon:111.30547195007,lat:23.485394636734},{id:4505,name:"北海市",parent:45,lon:109.12262791919,lat:21.47271823501},{id:4506,name:"防城港市",parent:45,lon:108.35179115286,lat:21.617398470472},{id:4507,name:"钦州市",parent:45,lon:108.63879805642,lat:21.973350465313},{id:4508,name:"贵港市",parent:45,lon:109.61370755658,lat:23.103373164409},{id:4509,name:"玉林市",parent:45,lon:110.15167631614,lat:22.643973608377},{id:4510,name:"百色市",parent:45,lon:106.63182140365,lat:23.90151236791},{id:4511,name:"贺州市",parent:45,lon:111.55259417884,lat:24.411053547113},{id:4512,name:"河池市",parent:45,lon:108.06994770937,lat:24.699520782873},{id:4513,name:"来宾市",parent:45,lon:109.23181650474,lat:23.741165926515},{id:4514,name:"崇左市",parent:45,lon:107.35732203837,lat:22.415455296546},{id:4601,name:"海口市",parent:46,lon:110.33080184834,lat:20.022071276952},{id:4602,name:"三亚市",parent:46,lon:109.52277128136,lat:18.257775914897},{id:4603,name:"三沙市",parent:46,lon:113.75535610385,lat:12.464712920653},{id:4690,name:"省直辖县级行政区划",parent:46,lon:109.73375548794,lat:19.180500801261},{id:5001,name:"市辖区",parent:50,lon:106.53063501341,lat:29.544606108886},{id:5002,name:"县",parent:50,lon:106.53063501341,lat:29.544606108886},{id:5101,name:"成都市",parent:51,lon:104.0679234633,lat:30.67994284542},{id:5103,name:"自贡市",parent:51,lon:104.77607133936,lat:29.359156889476},{id:5104,name:"攀枝花市",parent:51,lon:101.72242315249,lat:26.587571257109},{id:5105,name:"泸州市",parent:51,lon:105.44397028921,lat:28.89592980386},{id:5106,name:"德阳市",parent:51,lon:104.40239781824,lat:31.131139652701},{id:5107,name:"绵阳市",parent:51,lon:104.70551897529,lat:31.504701258061},{id:5108,name:"广元市",parent:51,lon:105.81968694,lat:32.441040158428},{id:5109,name:"遂宁市",parent:51,lon:105.56488779226,lat:30.55749135038},{id:5110,name:"内江市",parent:51,lon:105.07305599171,lat:29.599461534775},{id:5111,name:"乐山市",parent:51,lon:103.76082423877,lat:29.600957611095},{id:5113,name:"南充市",parent:51,lon:106.10555398379,lat:30.800965168237},{id:5114,name:"眉山市",parent:51,lon:103.84142956287,lat:30.061115079945},{id:5115,name:"宜宾市",parent:51,lon:104.63301906153,lat:28.769674796266},{id:5116,name:"广安市",parent:51,lon:106.63572033137,lat:30.463983887888},{id:5117,name:"达州市",parent:51,lon:107.49497344659,lat:31.214198858945},{id:5118,name:"雅安市",parent:51,lon:103.00935646635,lat:29.999716337066},{id:5119,name:"巴中市",parent:51,lon:106.75791584175,lat:31.86918915916},{id:5120,name:"资阳市",parent:51,lon:104.63593030167,lat:30.132191433952},{id:5132,name:"阿坝藏族羌族自治州",parent:51,lon:102.22856468921,lat:31.905762858339},{id:5133,name:"甘孜藏族自治州",parent:51,lon:101.96923206306,lat:30.055144114356},{id:5134,name:"凉山彝族自治州",parent:51,lon:102.2595908032,lat:27.892392903666},{id:5201,name:"贵阳市",parent:52,lon:106.70917709618,lat:26.629906741441},{id:5202,name:"六盘水市",parent:52,lon:104.85208676007,lat:26.591866060319},{id:5203,name:"遵义市",parent:52,lon:106.93126031648,lat:27.699961377076},{id:5204,name:"安顺市",parent:52,lon:105.92826996576,lat:26.228594577737},{id:5205,name:"毕节市",parent:52,lon:105.33332337117,lat:27.408562131331},{id:5206,name:"铜仁市",parent:52,lon:109.16855802826,lat:27.674902690624},{id:5223,name:"黔西南布依族苗族自治州",parent:52,lon:104.90055779825,lat:25.095148055927},{id:5226,name:"黔东南苗族侗族自治州",parent:52,lon:107.98535257274,lat:26.583991766542},{id:5227,name:"黔南布依族苗族自治州",parent:52,lon:107.52320511006,lat:26.264535997442},{id:5301,name:"昆明市",parent:53,lon:102.71460113878,lat:25.049153100453},{id:5303,name:"曲靖市",parent:53,lon:103.78253888803,lat:25.520758142871},{id:5304,name:"玉溪市",parent:53,lon:102.54506789248,lat:24.370447134438},{id:5305,name:"保山市",parent:53,lon:99.177995613278,lat:25.12048919619},{id:5306,name:"昭通市",parent:53,lon:103.72502065573,lat:27.340632963635},{id:5307,name:"丽江市",parent:53,lon:100.22962839888,lat:26.875351089481},{id:5308,name:"普洱市",parent:53,lon:100.98005773013,lat:22.788777780149},{id:5309,name:"临沧市",parent:53,lon:100.09261291373,lat:23.887806103773},{id:5323,name:"楚雄彝族自治州",parent:53,lon:101.52938223914,lat:25.066355674186},{id:5325,name:"红河哈尼族彝族自治州",parent:53,lon:103.38406475716,lat:23.367717516499},{id:5326,name:"文山壮族苗族自治州",parent:53,lon:104.24629431757,lat:23.37408685041},{id:5328,name:"西双版纳傣族自治州",parent:53,lon:100.80303827521,lat:22.009433002236},{id:5329,name:"大理白族自治州",parent:53,lon:100.22367478928,lat:25.596899639421},{id:5331,name:"德宏傣族景颇族自治州",parent:53,lon:98.589434287407,lat:24.441239663008},{id:5333,name:"怒江傈僳族自治州",parent:53,lon:98.859932042482,lat:25.860676978165},{id:5334,name:"迪庆藏族自治州",parent:53,lon:99.713681598883,lat:27.831029461167},{id:5401,name:"拉萨市",parent:54,lon:91.111890895984,lat:29.662557062057},{id:5402,name:"日喀则市",parent:54,lon:88.956062773518,lat:29.268160032655},{id:5403,name:"昌都市",parent:54,lon:96.362440472918,lat:30.510924801158},{id:5404,name:"林芝市",parent:54,lon:95.466234246683,lat:29.128080197802},{id:5405,name:"山南市",parent:54,lon:92.22087273151,lat:28.354982378107},{id:5424,name:"那曲地区",parent:54,lon:92.067018368859,lat:31.48067983012},{id:5425,name:"阿里地区",parent:54,lon:81.10766868949,lat:30.404556588325},{id:6101,name:"西安市",parent:61,lon:108.9530982792,lat:34.277799897831},{id:6102,name:"铜川市",parent:61,lon:108.9680670134,lat:34.908367696384},{id:6103,name:"宝鸡市",parent:61,lon:107.17064545238,lat:34.364080809748},{id:6104,name:"咸阳市",parent:61,lon:108.7075092782,lat:34.345372995999},{id:6105,name:"渭南市",parent:61,lon:109.48393269658,lat:34.502357975829},{id:6106,name:"延安市",parent:61,lon:109.50050975697,lat:36.60332035226},{id:6107,name:"汉中市",parent:61,lon:107.04547762873,lat:33.081568978158},{id:6108,name:"榆林市",parent:61,lon:109.74592574433,lat:38.279439240071},{id:6109,name:"安康市",parent:61,lon:109.03804456348,lat:32.704370449994},{id:6110,name:"商洛市",parent:61,lon:109.9342081538,lat:33.873907395085},{id:6201,name:"兰州市",parent:62,lon:103.82330544073,lat:36.064225525043},{id:6203,name:"金昌市",parent:62,lon:102.20812626259,lat:38.516071799532},{id:6204,name:"白银市",parent:62,lon:104.17124090374,lat:36.546681706163},{id:6205,name:"天水市",parent:62,lon:105.73693162286,lat:34.584319418869},{id:6206,name:"武威市",parent:62,lon:102.64014734337,lat:37.933172142906},{id:6207,name:"张掖市",parent:62,lon:100.45989186892,lat:38.939320296982},{id:6208,name:"平凉市",parent:62,lon:106.68891115655,lat:35.550110190017},{id:6209,name:"酒泉市",parent:62,lon:98.508414506167,lat:39.741473768159},{id:6210,name:"庆阳市",parent:62,lon:107.64422708673,lat:35.72680075453},{id:6211,name:"定西市",parent:62,lon:104.62663760066,lat:35.586056241828},{id:6212,name:"陇南市",parent:62,lon:104.93457340575,lat:33.394479972938},{id:6229,name:"临夏回族自治州",parent:62,lon:103.21524917832,lat:35.598514348802},{id:6230,name:"甘南藏族自治州",parent:62,lon:102.9174424865,lat:34.992211178379},{id:6301,name:"西宁市",parent:63,lon:101.7679209898,lat:36.640738611958},{id:6302,name:"海东市",parent:63,lon:102.37668874252,lat:36.312743354178},{id:6322,name:"海北藏族自治州",parent:63,lon:100.87980217448,lat:36.960654101084},{id:6323,name:"黄南藏族自治州",parent:63,lon:102.00760030834,lat:35.522851551728},{id:6325,name:"海南藏族自治州",parent:63,lon:100.6240660941,lat:36.284363803805},{id:6326,name:"果洛藏族自治州",parent:63,lon:100.22372276899,lat:34.48048458461},{id:6327,name:"玉树藏族自治州",parent:63,lon:97.013316137414,lat:33.006239909722},{id:6328,name:"海西蒙古族藏族自治州",parent:63,lon:97.342625415333,lat:37.37379907059},{id:6401,name:"银川市",parent:64,lon:106.20647860784,lat:38.502621011876},{id:6402,name:"石嘴山市",parent:64,lon:106.37933720153,lat:39.020223283603},{id:6403,name:"吴忠市",parent:64,lon:106.20825419851,lat:37.993561002936},{id:6404,name:"固原市",parent:64,lon:106.28526799598,lat:36.021523480709},{id:6405,name:"中卫市",parent:64,lon:105.19675419936,lat:37.521124191595},{id:6501,name:"乌鲁木齐市",parent:65,lon:87.564987741116,lat:43.840380347218},{id:6502,name:"克拉玛依市",parent:65,lon:84.881180186144,lat:45.594331066706},{id:6504,name:"吐鲁番市",parent:65,lon:89.266025488642,lat:42.678924820794},{id:6505,name:"哈密市",parent:65,lon:93.529373012389,lat:42.344467104552},{id:6523,name:"昌吉回族自治州",parent:65,lon:87.296038125667,lat:44.007057898533},{id:6527,name:"博尔塔拉蒙古自治州",parent:65,lon:82.052436267224,lat:44.913651374298},{id:6528,name:"巴音郭楞蒙古自治州",parent:65,lon:86.121688362984,lat:41.771362202569},{id:6529,name:"阿克苏地区",parent:65,lon:80.269846179329,lat:41.171730901452},{id:6530,name:"克孜勒苏柯尔克孜自治州",parent:65,lon:76.137564477462,lat:39.750345577845},{id:6531,name:"喀什地区",parent:65,lon:75.992973267492,lat:39.470627188746},{id:6532,name:"和田地区",parent:65,lon:79.930238637213,lat:37.116774492678},{id:6540,name:"伊犁哈萨克自治州",parent:65,lon:81.297853530366,lat:43.922248096341},{id:6542,name:"塔城地区",parent:65,lon:82.974880583744,lat:46.75868362968},{id:6543,name:"阿勒泰地区",parent:65,lon:88.137915487132,lat:47.839744486198},{id:6590,name:"自治区直辖县级行政区划",parent:65,lon:85.614899338339,lat:42.127000957642},{id:110101,name:"东城区",parent:1101,lon:116.42188470126,lat:39.938574012986},{id:110102,name:"西城区",parent:1101,lon:116.37319010402,lat:39.934280143709},{id:110105,name:"朝阳区",parent:1101,lon:116.52169489108,lat:39.958953166407},{id:110106,name:"丰台区",parent:1101,lon:116.25837033547,lat:39.841937852205},{id:110107,name:"石景山区",parent:1101,lon:116.18455581037,lat:39.938866544646},{id:110108,name:"海淀区",parent:1101,lon:116.23967780102,lat:40.033162045078},{id:110109,name:"门头沟区",parent:1101,lon:115.79579538125,lat:40.000893031476},{id:110111,name:"房山区",parent:1101,lon:115.8628363129,lat:39.726752620796},{id:110112,name:"通州区",parent:1101,lon:116.74007918068,lat:39.809814883851},{id:110113,name:"顺义区",parent:1101,lon:116.72822904528,lat:40.154951470441},{id:110114,name:"昌平区",parent:1101,lon:116.21645635689,lat:40.221723549832},{id:110115,name:"大兴区",parent:1101,lon:116.42519459738,lat:39.652790118364},{id:110116,name:"怀柔区",parent:1101,lon:116.59340835643,lat:40.638139340311},{id:110117,name:"平谷区",parent:1101,lon:117.15043344819,lat:40.215925453896},{id:110118,name:"密云区",parent:1101,lon:117.09666568438,lat:40.517334853846},{id:110119,name:"延庆区",parent:1101,lon:116.1618831398,lat:40.535475747111},{id:120101,name:"和平区",parent:1201,lon:117.20281365403,lat:39.124808844703},{id:120102,name:"河东区",parent:1201,lon:117.26169316527,lat:39.126625684666},{id:120103,name:"河西区",parent:1201,lon:117.23616545062,lat:39.084493739615},{id:120104,name:"南开区",parent:1201,lon:117.16272794945,lat:39.116987285522},{id:120105,name:"河北区",parent:1201,lon:117.22029676508,lat:39.173148933924},{id:120106,name:"红桥区",parent:1201,lon:117.16221680792,lat:39.170621331225},{id:120110,name:"东丽区",parent:1201,lon:117.41478234325,lat:39.139604642775},{id:120111,name:"西青区",parent:1201,lon:117.12620134665,lat:39.035064611485},{id:120112,name:"津南区",parent:1201,lon:117.39290995972,lat:38.969790532725},{id:120113,name:"北辰区",parent:1201,lon:117.18060609828,lat:39.259130625979},{id:120114,name:"武清区",parent:1201,lon:117.03457791373,lat:39.457042575494},{id:120115,name:"宝坻区",parent:1201,lon:117.41142059078,lat:39.615544004133},{id:120116,name:"滨海新区",parent:1201,lon:117.64628627057,lat:39.059176638035},{id:120117,name:"宁河区",parent:1201,lon:117.6312358292,lat:39.390421570053},{id:120118,name:"静海区",parent:1201,lon:116.98682530718,lat:38.837510804607},{id:120119,name:"蓟州区",parent:1201,lon:117.47034191571,lat:40.009456311951},{id:130102,name:"长安区",parent:1301,lon:114.59262155387,lat:38.076874795787},{id:130104,name:"桥西区",parent:1301,lon:114.43813995532,lat:38.033364550068},{id:130105,name:"新华区",parent:1301,lon:114.45350142869,lat:38.117218640478},{id:130107,name:"井陉矿区",parent:1301,lon:114.05074376291,lat:38.08109756116},{id:130108,name:"裕华区",parent:1301,lon:114.58638255261,lat:38.014621045712},{id:130109,name:"藁城区",parent:1301,lon:114.82809608578,lat:38.089490113945},{id:130110,name:"鹿泉区",parent:1301,lon:114.35731900345,lat:38.089969323509},{id:130111,name:"栾城区",parent:1301,lon:114.64775310253,lat:37.91328595181},{id:130121,name:"井陉县",parent:1301,lon:114.07795206335,lat:38.000890815811},{id:130123,name:"正定县",parent:1301,lon:114.57020132348,lat:38.227072535479},{id:130125,name:"行唐县",parent:1301,lon:114.45743612437,lat:38.546695301387},{id:130126,name:"灵寿县",parent:1301,lon:114.18781898137,lat:38.510935985414},{id:130127,name:"高邑县",parent:1301,lon:114.6073846934,lat:37.622650870757},{id:130128,name:"深泽县",parent:1301,lon:115.23310242793,lat:38.194680827355},{id:130129,name:"赞皇县",parent:1301,lon:114.28955340433,lat:37.628132452966},{id:130130,name:"无极县",parent:1301,lon:114.95113960113,lat:38.1832860202},{id:130131,name:"平山县",parent:1301,lon:113.87242852701,lat:38.408762191725},{id:130132,name:"元氏县",parent:1301,lon:114.42836015628,lat:37.807352641009},{id:130133,name:"赵县",parent:1301,lon:114.83493823756,lat:37.769612448365},{id:130183,name:"晋州市",parent:1301,lon:115.09173828064,lat:37.991145102246},{id:130184,name:"新乐市",parent:1301,lon:114.76227076683,lat:38.377578025839},{id:130202,name:"路南区",parent:1302,lon:118.20604028639,lat:39.612986996735},{id:130203,name:"路北区",parent:1302,lon:118.18506997308,lat:39.657845680029},{id:130204,name:"古冶区",parent:1302,lon:118.46223153818,lat:39.723044780378},{id:130205,name:"开平区",parent:1302,lon:118.25784790075,lat:39.692123420846},{id:130207,name:"丰南区",parent:1302,lon:118.08584709899,lat:39.384662748593},{id:130208,name:"丰润区",parent:1302,lon:118.05949036617,lat:39.789909410339},{id:130209,name:"曹妃甸区",parent:1302,lon:118.41596118319,lat:39.266037841072},{id:130223,name:"滦县",parent:1302,lon:118.5837772519,lat:39.785508848229},{id:130224,name:"滦南县",parent:1302,lon:118.54938466456,lat:39.360738899901},{id:130225,name:"乐亭县",parent:1302,lon:118.93994305703,lat:39.357228891896},{id:130227,name:"迁西县",parent:1302,lon:118.37138905434,lat:40.238507660812},{id:130229,name:"玉田县",parent:1302,lon:117.7347526449,lat:39.818843355788},{id:130281,name:"遵化市",parent:1302,lon:117.95763912762,lat:40.137901064021},{id:130283,name:"迁安市",parent:1302,lon:118.68695461732,lat:40.04044251326},{id:130302,name:"海港区",parent:1303,lon:119.57761724583,lat:39.988779577117},{id:130303,name:"山海关区",parent:1303,lon:119.7136155797,lat:40.032899628101},{id:130304,name:"北戴河区",parent:1303,lon:119.47932079421,lat:39.854292584187},{id:130306,name:"抚宁区",parent:1303,lon:119.34003537992,lat:39.910857115367},{id:130321,name:"青龙满族自治县",parent:1303,lon:119.13758245072,lat:40.353650308648},{id:130322,name:"昌黎县",parent:1303,lon:119.09462149738,lat:39.638021164728},{id:130324,name:"卢龙县",parent:1303,lon:118.98556414609,lat:39.920978455186},{id:130402,name:"邯山区",parent:1304,lon:114.46928986668,lat:36.536153078937},{id:130403,name:"丛台区",parent:1304,lon:114.51106763052,lat:36.637214815152},{id:130404,name:"复兴区",parent:1304,lon:114.44809470749,lat:36.610368592227},{id:130406,name:"峰峰矿区",parent:1304,lon:114.19042164993,lat:36.474684997423},{id:130421,name:"邯郸县",parent:1304,lon:114.49448604232,lat:36.620347221062},{id:130423,name:"临漳县",parent:1304,lon:114.58694416944,lat:36.266141946474},{id:130424,name:"成安县",parent:1304,lon:114.70477468285,lat:36.428150647186},{id:130425,name:"大名县",parent:1304,lon:115.24863464404,lat:36.309543770756},{id:130426,name:"涉县",parent:1304,lon:113.74291352234,lat:36.598104535573},{id:130427,name:"磁县",parent:1304,lon:114.25510074085,lat:36.406730602547},{id:130428,name:"肥乡县",parent:1304,lon:114.83690510574,lat:36.577260887621},{id:130429,name:"永年县",parent:1304,lon:114.64160198718,lat:36.770200181653},{id:130430,name:"邱县",parent:1304,lon:115.20670231619,lat:36.797269787143},{id:130431,name:"鸡泽县",parent:1304,lon:114.86956581384,lat:36.873677489817},{id:130432,name:"广平县",parent:1304,lon:115.02087402114,lat:36.51192631393},{id:130433,name:"馆陶县",parent:1304,lon:115.29915662582,lat:36.618537005781},{id:130434,name:"魏县",parent:1304,lon:114.93600011898,lat:36.250567761095},{id:130435,name:"曲周县",parent:1304,lon:115.03853247193,lat:36.752651265719},{id:130481,name:"武安市",parent:1304,lon:114.05833396936,lat:36.748995476597},{id:130502,name:"桥东区",parent:1305,lon:114.52129744384,lat:37.059046252073},{id:130503,name:"桥西区",parent:1305,lon:114.46840126286,lat:37.053579664221},{id:130521,name:"邢台县",parent:1305,lon:114.16774440241,lat:37.152421699275},{id:130522,name:"临城县",parent:1305,lon:114.38466503755,lat:37.463137591617},{id:130523,name:"内丘县",parent:1305,lon:114.30459575437,lat:37.314224311167},{id:130524,name:"柏乡县",parent:1305,lon:114.70742434434,lat:37.517418414338},{id:130525,name:"隆尧县",parent:1305,lon:114.79291584707,lat:37.36468808358},{id:130526,name:"任县",parent:1305,lon:114.7699671597,lat:37.174630101755},{id:130527,name:"南和县",parent:1305,lon:114.75308935883,lat:37.016963874379},{id:130528,name:"宁晋县",parent:1305,lon:115.02167843721,lat:37.612086758173},{id:130529,name:"巨鹿县",parent:1305,lon:115.05888578855,lat:37.278679297084},{id:130530,name:"新河县",parent:1305,lon:115.25720361984,lat:37.499362567334},{id:130531,name:"广宗县",parent:1305,lon:115.19817308929,lat:37.083548692406},{id:130532,name:"平乡县",parent:1305,lon:115.00481854709,lat:37.056110207564},{id:130533,name:"威县",parent:1305,lon:115.38772530687,lat:37.078394650565},{id:130534,name:"清河县",parent:1305,lon:115.69158951605,lat:37.040529913617},{id:130535,name:"临西县",parent:1305,lon:115.52844117588,lat:36.858027353556},{id:130581,name:"南宫市",parent:1305,lon:115.47940958601,lat:37.286427413275},{id:130582,name:"沙河市",parent:1305,lon:114.28309250179,lat:36.938635459346},{id:130602,name:"竞秀区",parent:1306,lon:115.4337718341,lat:38.896799171923},{id:130606,name:"莲池区",parent:1306,lon:115.52517138526,lat:38.878869183082},{id:130607,name:"满城区",parent:1306,lon:115.22854614305,lat:38.936509575446},{id:130608,name:"清苑区",parent:1306,lon:115.50474549359,lat:38.746793898598},{id:130609,name:"徐水区",parent:1306,lon:115.56341421452,lat:39.030072064834},{id:130623,name:"涞水县",parent:1306,lon:115.44462792481,lat:39.616117563205},{id:130624,name:"阜平县",parent:1306,lon:114.16421062387,lat:38.894806411217},{id:130626,name:"定兴县",parent:1306,lon:115.75504588838,lat:39.211518314259},{id:130627,name:"唐县",parent:1306,lon:114.80609127315,lat:38.904521131249},{id:130628,name:"高阳县",parent:1306,lon:115.83844188387,lat:38.673020900262},{id:130629,name:"容城县",parent:1306,lon:115.90877891487,lat:39.057813549536},{id:130630,name:"涞源县",parent:1306,lon:114.73045121001,lat:39.366936787031},{id:130631,name:"望都县",parent:1306,lon:115.17834559654,lat:38.679014979104},{id:130632,name:"安新县",parent:1306,lon:115.88673101005,lat:38.8782552166},{id:130633,name:"易县",parent:1306,lon:115.25402170203,lat:39.317566051144},{id:130634,name:"曲阳县",parent:1306,lon:114.66066397519,lat:38.706612214921},{id:130635,name:"蠡县",parent:1306,lon:115.66928195753,lat:38.528232136022},{id:130636,name:"顺平县",parent:1306,lon:115.07398905469,lat:38.927951375985},{id:130637,name:"博野县",parent:1306,lon:115.48778569396,lat:38.459123140672},{id:130638,name:"雄县",parent:1306,lon:116.18329894846,lat:39.042786858077},{id:130681,name:"涿州市",parent:1306,lon:115.99905364071,lat:39.482481810572},{id:130683,name:"安国市",parent:1306,lon:115.33482671534,lat:38.393739990352},{id:130684,name:"高碑店市",parent:1306,lon:116.04093362477,lat:39.265087764832},{id:130702,name:"桥东区",parent:1307,lon:114.91516641164,lat:40.782910350247},{id:130703,name:"桥西区",parent:1307,lon:114.8616234507,lat:40.83764647974},{id:130705,name:"宣化区",parent:1307,lon:115.25847218771,lat:40.632394360149},{id:130706,name:"下花园区",parent:1307,lon:115.35049833098,lat:40.568836928653},{id:130708,name:"万全区",parent:1307,lon:114.60159442219,lat:40.854322579125},{id:130709,name:"崇礼区",parent:1307,lon:115.18918281511,lat:41.041738952718},{id:130722,name:"张北县",parent:1307,lon:114.77289736584,lat:41.293640752346},{id:130723,name:"康保县",parent:1307,lon:114.60653573475,lat:41.784595269099},{id:130724,name:"沽源县",parent:1307,lon:115.63609164922,lat:41.580403842568},{id:130725,name:"尚义县",parent:1307,lon:114.15252831523,lat:41.132634994489},{id:130726,name:"蔚县",parent:1307,lon:114.71253718704,lat:39.879353147831},{id:130727,name:"阳原县",parent:1307,lon:114.39439590667,lat:40.138642120211},{id:130728,name:"怀安县",parent:1307,lon:114.50260736695,lat:40.559533575131},{id:130730,name:"怀来县",parent:1307,lon:115.63406061974,lat:40.34798364385},{id:130731,name:"涿鹿县",parent:1307,lon:115.22392517513,lat:40.101875913481},{id:130732,name:"赤城县",parent:1307,lon:115.89222267195,lat:40.956026259537},{id:130802,name:"双桥区",parent:1308,lon:117.94835524238,lat:40.971406352197},{id:130803,name:"双滦区",parent:1308,lon:117.80933581725,lat:41.051453160703},{id:130804,name:"鹰手营子矿区",parent:1308,lon:117.67942626427,lat:40.531760281234},{id:130821,name:"承德县",parent:1308,lon:118.12571829805,lat:40.9732421823},{id:130822,name:"兴隆县",parent:1308,lon:117.72613599005,lat:40.458141686295},{id:130823,name:"平泉县",parent:1308,lon:118.73932350858,lat:41.075303768703},{id:130824,name:"滦平县",parent:1308,lon:117.36956340989,lat:40.924820741761},{id:130825,name:"隆化县",parent:1308,lon:117.56992967905,lat:41.517994972231},{id:130826,name:"丰宁满族自治县",parent:1308,lon:116.62379481268,lat:41.425684335184},{id:130827,name:"宽城满族自治县",parent:1308,lon:118.63588822017,lat:40.578090378096},{id:130828,name:"围场满族蒙古族自治县",parent:1308,lon:117.54702150524,lat:42.108024565862},{id:130902,name:"新华区",parent:1309,lon:116.89305880724,lat:38.308375333084},{id:130903,name:"运河区",parent:1309,lon:116.84485357764,lat:38.314446124596},{id:130921,name:"沧县",parent:1309,lon:116.86271383128,lat:38.302138696207},{id:130922,name:"青县",parent:1309,lon:116.85123400252,lat:38.565778328556},{id:130923,name:"东光县",parent:1309,lon:116.67783233648,lat:37.887451603688},{id:130924,name:"海兴县",parent:1309,lon:117.56726425888,lat:38.142470216907},{id:130925,name:"盐山县",parent:1309,lon:117.26693989632,lat:37.960369724102},{id:130926,name:"肃宁县",parent:1309,lon:115.88581610558,lat:38.422207122829},{id:130927,name:"南皮县",parent:1309,lon:116.8658497774,lat:38.023185702825},{id:130928,name:"吴桥县",parent:1309,lon:116.5080334073,lat:37.661863472094},{id:130929,name:"献县",parent:1309,lon:116.17550530237,lat:38.242725840471},{id:130930,name:"孟村回族自治县",parent:1309,lon:117.15953838544,lat:38.091264713342},{id:130981,name:"泊头市",parent:1309,lon:116.38923597745,lat:38.090278710884},{id:130982,name:"任丘市",parent:1309,lon:116.16321405193,lat:38.74110464111},{id:130983,name:"黄骅市",parent:1309,lon:117.40021701974,lat:38.401521845487},{id:130984,name:"河间市",parent:1309,lon:116.27159283893,lat:38.483721432479},{id:131002,name:"安次区",parent:1310,lon:116.79612310881,lat:39.345312180639},{id:131003,name:"广阳区",parent:1310,lon:116.69423648939,lat:39.533685537455},{id:131022,name:"固安县",parent:1310,lon:116.28967015726,lat:39.351105940994},{id:131023,name:"永清县",parent:1310,lon:116.5605569701,lat:39.302836430211},{id:131024,name:"香河县",parent:1310,lon:117.05130555355,lat:39.743100032865},{id:131025,name:"大城县",parent:1310,lon:116.58863867606,lat:38.668802703656},{id:131026,name:"文安县",parent:1310,lon:116.49481687118,lat:38.911390482572},{id:131028,name:"大厂回族自治县",parent:1310,lon:116.95507644864,lat:39.89531635509},{id:131081,name:"霸州市",parent:1310,lon:116.57430598976,lat:39.109320079055},{id:131082,name:"三河市",parent:1310,lon:117.02128418409,lat:39.96742764877},{id:131102,name:"桃城区",parent:1311,lon:115.66665700012,lat:37.72421788608},{id:131103,name:"冀州区",parent:1311,lon:115.44750567041,lat:37.53643502058},{id:131121,name:"枣强县",parent:1311,lon:115.75767748261,lat:37.461024106054},{id:131122,name:"武邑县",parent:1311,lon:115.94450660708,lat:37.827678592246},{id:131123,name:"武强县",parent:1311,lon:115.920118282,lat:38.050513034027},{id:131124,name:"饶阳县",parent:1311,lon:115.74000746168,lat:38.223059241042},{id:131125,name:"安平县",parent:1311,lon:115.49041582246,lat:38.243195869487},{id:131126,name:"故城县",parent:1311,lon:115.97805666289,lat:37.356997906367},{id:131127,name:"景县",parent:1311,lon:116.20013356506,lat:37.668477471141},{id:131128,name:"阜城县",parent:1311,lon:116.32842518537,lat:37.912309213617},{id:131182,name:"深州市",parent:1311,lon:115.58669880842,lat:37.957012862702},{id:139001,name:"定州市",parent:1390,lon:115.05740695232,lat:38.465839158048},{id:139002,name:"辛集市",parent:1390,lon:115.29874950521,lat:37.924121876409},{id:140105,name:"小店区",parent:1401,lon:112.57740860671,lat:37.753527970896},{id:140106,name:"迎泽区",parent:1401,lon:112.66320298122,lat:37.865737302061},{id:140107,name:"杏花岭区",parent:1401,lon:112.62983632135,lat:37.915556056965},{id:140108,name:"尖草坪区",parent:1401,lon:112.48843997984,lat:37.972757839535},{id:140109,name:"万柏林区",parent:1401,lon:112.40285697662,lat:37.894693447581},{id:140110,name:"晋源区",parent:1401,lon:112.48158725626,lat:37.748674917003},{id:140121,name:"清徐县",parent:1401,lon:112.38708511797,lat:37.59324244737},{id:140122,name:"阳曲县",parent:1401,lon:112.67265853687,lat:38.158246373698},{id:140123,name:"娄烦县",parent:1401,lon:111.797820928,lat:38.034584043133},{id:140181,name:"古交市",parent:1401,lon:112.1077390237,lat:37.90517928255},{id:140202,name:"城区",parent:1402,lon:113.29696587275,lat:40.102542866559},{id:140203,name:"矿区",parent:1402,lon:113.0470017583,lat:40.036495634995},{id:140211,name:"南郊区",parent:1402,lon:113.22645661564,lat:40.051891387407},{id:140212,name:"新荣区",parent:1402,lon:113.23689411719,lat:40.267127127574},{id:140221,name:"阳高县",parent:1402,lon:113.82318140606,lat:40.222311526135},{id:140222,name:"天镇县",parent:1402,lon:114.16812988719,lat:40.403528534338},{id:140223,name:"广灵县",parent:1402,lon:114.16170176527,lat:39.76899447952},{id:140224,name:"灵丘县",parent:1402,lon:114.21309517425,lat:39.377267777348},{id:140225,name:"浑源县",parent:1402,lon:113.71075899599,lat:39.634162361299},{id:140226,name:"左云县",parent:1402,lon:112.77785639076,lat:40.000737963069},{id:140227,name:"大同县",parent:1402,lon:113.58386582098,lat:40.001627488893},{id:140302,name:"城区",parent:1403,lon:113.61283811719,lat:37.85786536147},{id:140303,name:"矿区",parent:1403,lon:113.54077065934,lat:37.890804244519},{id:140311,name:"郊区",parent:1403,lon:113.56808615363,lat:37.911503911114},{id:140321,name:"平定县",parent:1403,lon:113.76897794042,lat:37.8492714173},{id:140322,name:"盂县",parent:1403,lon:113.36096660369,lat:38.229385734147},{id:140402,name:"城区",parent:1404,lon:113.12316935827,lat:36.184511192113},{id:140411,name:"郊区",parent:1404,lon:113.11069620661,lat:36.270339558413},{id:140421,name:"长治县",parent:1404,lon:113.08619419794,lat:36.024679976201},{id:140423,name:"襄垣县",parent:1404,lon:112.98897348398,lat:36.580200785754},{id:140424,name:"屯留县",parent:1404,lon:112.75036278967,lat:36.342609751076},{id:140425,name:"平顺县",parent:1404,lon:113.53368897635,lat:36.221794153091},{id:140426,name:"黎城县",parent:1404,lon:113.39685159379,lat:36.619367610278},{id:140427,name:"壶关县",parent:1404,lon:113.37199790438,lat:35.99265193372},{id:140428,name:"长子县",parent:1404,lon:112.80225403294,lat:36.110999402019},{id:140429,name:"武乡县",parent:1404,lon:112.96751985958,lat:36.888322821209},{id:140430,name:"沁县",parent:1404,lon:112.65221013617,lat:36.70738347605},{id:140431,name:"沁源县",parent:1404,lon:112.29009399197,lat:36.701566639488},{id:140481,name:"潞城市",parent:1404,lon:113.25438708828,lat:36.374406273238},{id:140502,name:"城区",parent:1405,lon:112.84269710529,lat:35.513593270468},{id:140521,name:"沁水县",parent:1405,lon:112.37742990987,lat:35.751489118151},{id:140522,name:"阳城县",parent:1405,lon:112.36152699508,lat:35.426540841161},{id:140524,name:"陵川县",parent:1405,lon:113.34338659863,lat:35.690743897919},{id:140525,name:"泽州县",parent:1405,lon:112.87098535033,lat:35.475851325496},{id:140581,name:"高平市",parent:1405,lon:112.93511535362,lat:35.809742457991},{id:140602,name:"朔城区",parent:1406,lon:112.5562001526,lat:39.243272437238},{id:140603,name:"平鲁区",parent:1406,lon:112.30434987236,lat:39.640007394398},{id:140621,name:"山阴县",parent:1406,lon:112.78680490549,lat:39.521049673137},{id:140622,name:"应县",parent:1406,lon:113.26059286958,lat:39.509316043686},{id:140623,name:"右玉县",parent:1406,lon:112.42167745341,lat:40.008135706467},{id:140624,name:"怀仁县",parent:1406,lon:113.11230462343,lat:39.793570836032},{id:140702,name:"榆次区",parent:1407,lon:112.84373652716,lat:37.650824689054},{id:140721,name:"榆社县",parent:1407,lon:112.95418082333,lat:37.140049981591},{id:140722,name:"左权县",parent:1407,lon:113.47453786444,lat:37.03279458538},{id:140723,name:"和顺县",parent:1407,lon:113.47493445138,lat:37.348373699108},{id:140724,name:"昔阳县",parent:1407,lon:113.76210572071,lat:37.563418385072},{id:140725,name:"寿阳县",parent:1407,lon:113.14161086395,lat:37.825118914407},{id:140726,name:"太谷县",parent:1407,lon:112.73643253249,lat:37.407696414459},{id:140727,name:"祁县",parent:1407,lon:112.46906595172,lat:37.292198086629},{id:140728,name:"平遥县",parent:1407,lon:112.26549326017,lat:37.148089778462},{id:140729,name:"灵石县",parent:1407,lon:111.73550355035,lat:36.834487193362},{id:140781,name:"介休市",parent:1407,lon:111.99518801957,lat:37.02547627594},{id:140802,name:"盐湖区",parent:1408,lon:110.96193094165,lat:35.063676878932},{id:140821,name:"临猗县",parent:1408,lon:110.62589540589,lat:35.149379501121},{id:140822,name:"万荣县",parent:1408,lon:110.71553950499,lat:35.388134013652},{id:140823,name:"闻喜县",parent:1408,lon:111.31928675078,lat:35.373753157},{id:140824,name:"稷山县",parent:1408,lon:110.96512183757,lat:35.59826692411},{id:140825,name:"新绛县",parent:1408,lon:111.17287529232,lat:35.631582540507},{id:140826,name:"绛县",parent:1408,lon:111.64482039841,lat:35.498578532808},{id:140827,name:"垣曲县",parent:1408,lon:111.82478688142,lat:35.221584155393},{id:140828,name:"夏县",parent:1408,lon:111.35838628885,lat:35.126679510784},{id:140829,name:"平陆县",parent:1408,lon:111.25110932094,lat:34.888645774448},{id:140830,name:"芮城县",parent:1408,lon:110.61649553806,lat:34.709534760447},{id:140881,name:"永济市",parent:1408,lon:110.48894872131,lat:34.894671510755},{id:140882,name:"河津市",parent:1408,lon:110.70853926353,lat:35.631891049091},{id:140902,name:"忻府区",parent:1409,lon:112.60520013418,lat:38.437831964453},{id:140921,name:"定襄县",parent:1409,lon:113.03558876456,lat:38.516749763878},{id:140922,name:"五台县",parent:1409,lon:113.44210404535,lat:38.778174001492},{id:140923,name:"代县",parent:1409,lon:113.05058168825,lat:39.093197224067},{id:140924,name:"繁峙县",parent:1409,lon:113.596213567,lat:39.204756994709},{id:140925,name:"宁武县",parent:1409,lon:112.19389583349,lat:38.821889666345},{id:140926,name:"静乐县",parent:1409,lon:112.06499425223,lat:38.400067154102},{id:140927,name:"神池县",parent:1409,lon:112.00991986754,lat:39.173053445654},{id:140928,name:"五寨县",parent:1409,lon:111.74475714392,lat:39.008730857984},{id:140929,name:"岢岚县",parent:1409,lon:111.54356839151,lat:38.73795692606},{id:140930,name:"河曲县",parent:1409,lon:111.3598292601,lat:39.206439528631},{id:140931,name:"保德县",parent:1409,lon:111.14283481361,lat:38.887135247044},{id:140932,name:"偏关县",parent:1409,lon:111.67190327635,lat:39.464649232881},{id:140981,name:"原平市",parent:1409,lon:112.68212831914,lat:38.838876172747},{id:141002,name:"尧都区",parent:1410,lon:111.47466486211,lat:36.125936912419},{id:141021,name:"曲沃县",parent:1410,lon:111.52704105623,lat:35.704200978944},{id:141022,name:"翼城县",parent:1410,lon:111.83920947478,lat:35.695397582179},{id:141023,name:"襄汾县",parent:1410,lon:111.38595309536,lat:35.874204029953},{id:141024,name:"洪洞县",parent:1410,lon:111.65937789135,lat:36.325514180326},{id:141025,name:"古县",parent:1410,lon:112.01124254119,lat:36.303822531038},{id:141026,name:"安泽县",parent:1410,lon:112.30790366347,lat:36.164295531066},{id:141027,name:"浮山县",parent:1410,lon:111.92840887398,lat:35.945830766006},{id:141028,name:"吉县",parent:1410,lon:110.7281619704,lat:36.158677317484},{id:141029,name:"乡宁县",parent:1410,lon:110.94412841404,lat:35.925119179378},{id:141030,name:"大宁县",parent:1410,lon:110.71080544253,lat:36.432636300532},{id:141031,name:"隰县",parent:1410,lon:111.00996531617,lat:36.711950508392},{id:141032,name:"永和县",parent:1410,lon:110.61789818355,lat:36.737137367462},{id:141033,name:"蒲县",parent:1410,lon:111.16235867375,lat:36.424599698879},{id:141034,name:"汾西县",parent:1410,lon:111.48314834543,lat:36.642781389504},{id:141081,name:"侯马市",parent:1410,lon:111.37150924676,lat:35.62178548788},{id:141082,name:"霍州市",parent:1410,lon:111.8308356262,lat:36.599677829115},{id:141102,name:"离石区",parent:1411,lon:111.31314199347,lat:37.552339254903},{id:141121,name:"文水县",parent:1411,lon:111.96499464978,lat:37.459705909704},{id:141122,name:"交城县",parent:1411,lon:111.81992715422,lat:37.68704558482},{id:141123,name:"兴县",parent:1411,lon:111.0693110824,lat:38.392262583946},{id:141124,name:"临县",parent:1411,lon:110.90114744504,lat:37.962867394138},{id:141125,name:"柳林县",parent:1411,lon:110.87692675415,lat:37.403754146298},{id:141126,name:"石楼县",parent:1411,lon:110.75347868183,lat:37.035145108626},{id:141127,name:"岚县",parent:1411,lon:111.60664055968,lat:38.343813372012},{id:141128,name:"方山县",parent:1411,lon:111.33797892211,lat:37.886687741974},{id:141129,name:"中阳县",parent:1411,lon:111.18590350772,lat:37.266317510804},{id:141130,name:"交口县",parent:1411,lon:111.31592365888,lat:36.957718536996},{id:141181,name:"孝义市",parent:1411,lon:111.63764576631,lat:37.118132778217},{id:141182,name:"汾阳市",parent:1411,lon:111.74599591288,lat:37.316764309106},{id:150102,name:"新城区",parent:1501,lon:111.79132678714,lat:40.929360778776},{id:150103,name:"回民区",parent:1501,lon:111.5968855951,lat:40.838894763788},{id:150104,name:"玉泉区",parent:1501,lon:111.65855345988,lat:40.747386672042},{id:150105,name:"赛罕区",parent:1501,lon:111.87633478501,lat:40.788864152356},{id:150121,name:"土默特左旗",parent:1501,lon:111.23470409261,lat:40.689987016139},{id:150122,name:"托克托县",parent:1501,lon:111.31970020313,lat:40.361083978494},{id:150123,name:"和林格尔县",parent:1501,lon:111.90169267122,lat:40.333868442059},{id:150124,name:"清水河县",parent:1501,lon:111.70623630691,lat:39.889117744685},{id:150125,name:"武川县",parent:1501,lon:111.17957193814,lat:41.1162043874},{id:150202,name:"东河区",parent:1502,lon:110.07014136051,lat:40.589124487996},{id:150203,name:"昆都仑区",parent:1502,lon:109.80683355282,lat:40.658057498224},{id:150204,name:"青山区",parent:1502,lon:109.90367483934,lat:40.658777959476},{id:150205,name:"石拐区",parent:1502,lon:110.29921474522,lat:40.716464297272},{id:150206,name:"白云鄂博矿区",parent:1502,lon:109.98916893149,lat:41.789992502326},{id:150207,name:"九原区",parent:1502,lon:109.9491974592,lat:40.627202278275},{id:150221,name:"土默特右旗",parent:1502,lon:110.69325794788,lat:40.527995764374},{id:150222,name:"固阳县",parent:1502,lon:110.16759209358,lat:41.104725412274},{id:150223,name:"达尔罕茂明安联合旗",parent:1502,lon:110.28618869999,lat:41.943507148267},{id:150302,name:"海勃湾区",parent:1503,lon:106.86148184332,lat:39.734833651275},{id:150303,name:"海南区",parent:1503,lon:106.92539717866,lat:39.296209479392},{id:150304,name:"乌达区",parent:1503,lon:106.72585891133,lat:39.535877701433},{id:150402,name:"红山区",parent:1504,lon:118.99810293421,lat:42.286232134079},{id:150403,name:"元宝山区",parent:1504,lon:119.2681694129,lat:42.184130648802},{id:150404,name:"松山区",parent:1504,lon:118.75710571166,lat:42.268753015289},{id:150421,name:"阿鲁科尔沁旗",parent:1504,lon:120.05324069384,lat:44.195956597411},{id:150422,name:"巴林左旗",parent:1504,lon:119.28076636509,lat:44.203430813088},{id:150423,name:"巴林右旗",parent:1504,lon:118.9460897431,lat:43.684786631454},{id:150424,name:"林西县",parent:1504,lon:118.1102161479,lat:43.771462211479},{id:150425,name:"克什克腾旗",parent:1504,lon:117.35857031121,lat:43.218237176681},{id:150426,name:"翁牛特旗",parent:1504,lon:119.25464294075,lat:42.973979919258},{id:150428,name:"喀喇沁旗",parent:1504,lon:118.66705601357,lat:41.908351449935},{id:150429,name:"宁城县",parent:1504,lon:118.90549936909,lat:41.571040867139},{id:150430,name:"敖汉旗",parent:1504,lon:120.15771329609,lat:42.430592238203},{id:150502,name:"科尔沁区",parent:1505,lon:122.29129415356,lat:43.658290149837},{id:150521,name:"科尔沁左翼中旗",parent:1505,lon:122.49918004442,lat:44.0575792852},{id:150522,name:"科尔沁左翼后旗",parent:1505,lon:122.69734535162,lat:43.196082751665},{id:150523,name:"开鲁县",parent:1505,lon:121.32409399005,lat:43.734941954391},{id:150524,name:"库伦旗",parent:1505,lon:121.5730378859,lat:42.810038215314},{id:150525,name:"奈曼旗",parent:1505,lon:120.94078899637,lat:42.972383010739},{id:150526,name:"扎鲁特旗",parent:1505,lon:120.59602806799,lat:44.82245130193},{id:150581,name:"霍林郭勒市",parent:1505,lon:119.57974844022,lat:45.52810605633},{id:150602,name:"东胜区",parent:1506,lon:109.76441928582,lat:39.805585913146},{id:150603,name:"康巴什区",parent:1506,lon:109.84087569351,lat:39.640791926893},{id:150621,name:"达拉特旗",parent:1506,lon:109.86619090676,lat:40.220264473893},{id:150622,name:"准格尔旗",parent:1506,lon:110.88623942079,lat:39.79472489563},{id:150623,name:"鄂托克前旗",parent:1506,lon:107.59700999652,lat:38.275938287288},{id:150624,name:"鄂托克旗",parent:1506,lon:107.75202023325,lat:39.286296593278},{id:150625,name:"杭锦旗",parent:1506,lon:108.21282820432,lat:40.212873152738},{id:150626,name:"乌审旗",parent:1506,lon:108.88966323666,lat:38.640475147234},{id:150627,name:"伊金霍洛旗",parent:1506,lon:109.70418618841,lat:39.420695918404},{id:150702,name:"海拉尔区",parent:1507,lon:120.04288208342,lat:49.279245456202},{id:150703,name:"扎赉诺尔区",parent:1507,lon:117.72318498536,lat:49.461481568108},{id:150721,name:"阿荣旗",parent:1507,lon:123.17195423134,lat:48.639988741071},{id:150722,name:"莫力达瓦达斡尔族自治旗",parent:1507,lon:124.47443404901,lat:49.104886651718},{id:150723,name:"鄂伦春自治旗",parent:1507,lon:123.81727783782,lat:50.348754571528},{id:150724,name:"鄂温克族自治旗",parent:1507,lon:120.06748322167,lat:48.499136514599},{id:150725,name:"陈巴尔虎旗",parent:1507,lon:119.53520765754,lat:49.605281276761},{id:150726,name:"新巴尔虎左旗",parent:1507,lon:118.62152477909,lat:48.43639187877},{id:150727,name:"新巴尔虎右旗",parent:1507,lon:116.8021843422,lat:48.644978915379},{id:150781,name:"满洲里市",parent:1507,lon:117.60368677619,lat:49.500031717154},{id:150782,name:"牙克石市",parent:1507,lon:121.51266780552,lat:49.329995939597},{id:150783,name:"扎兰屯市",parent:1507,lon:121.92920216562,lat:47.7434033831},{id:150784,name:"额尔古纳市",parent:1507,lon:120.65276364824,lat:51.660818880977},{id:150785,name:"根河市",parent:1507,lon:121.79771324217,lat:51.37592516127},{id:150802,name:"临河区",parent:1508,lon:107.44183964667,lat:40.932018223224},{id:150821,name:"五原县",parent:1508,lon:108.07228406065,lat:41.045426664817},{id:150822,name:"磴口县",parent:1508,lon:106.7000000567,lat:40.55518106886},{id:150823,name:"乌拉特前旗",parent:1508,lon:109.10529705882,lat:40.905993260887},{id:150824,name:"乌拉特中旗",parent:1508,lon:108.46454180074,lat:41.831044527428},{id:150825,name:"乌拉特后旗",parent:1508,lon:106.41380804671,lat:41.53194458396},{id:150826,name:"杭锦后旗",parent:1508,lon:107.03345374933,lat:40.890870780779},{id:150902,name:"集宁区",parent:1509,lon:113.11283222874,lat:41.027765971469},{id:150921,name:"卓资县",parent:1509,lon:112.44337671416,lat:40.958869485808},{id:150922,name:"化德县",parent:1509,lon:114.16573790656,lat:41.979126377538},{id:150923,name:"商都县",parent:1509,lon:113.62215528367,lat:41.726516851564},{id:150924,name:"兴和县",parent:1509,lon:113.77372051762,lat:40.952666521778},{id:150925,name:"凉城县",parent:1509,lon:112.55043247172,lat:40.502780210604},{id:150926,name:"察哈尔右翼前旗",parent:1509,lon:113.24109639163,lat:40.981709597107},{id:150927,name:"察哈尔右翼中旗",parent:1509,lon:112.47074335399,lat:41.428255371505},{id:150928,name:"察哈尔右翼后旗",parent:1509,lon:113.06969288248,lat:41.529483090789},{id:150929,name:"四子王旗",parent:1509,lon:111.58903652853,lat:42.30714575607},{id:150981,name:"丰镇市",parent:1509,lon:113.30867650253,lat:40.558336025296},{id:152201,name:"乌兰浩特市",parent:1522,lon:122.0815338095,lat:46.116943570165},{id:152202,name:"阿尔山市",parent:1522,lon:120.35753387505,lat:47.163696335727},{id:152221,name:"科尔沁右翼前旗",parent:1522,lon:121.22152365342,lat:46.334025380898},{id:152222,name:"科尔沁右翼中旗",parent:1522,lon:121.19851019319,lat:45.242068815668},{id:152223,name:"扎赉特旗",parent:1522,lon:122.38814625782,lat:46.790807786397},{id:152224,name:"突泉县",parent:1522,lon:121.51921179351,lat:45.632866219095},{id:152501,name:"二连浩特市",parent:1525,lon:111.96617841378,lat:43.417780458226},{id:152502,name:"锡林浩特市",parent:1525,lon:116.13694826431,lat:44.078961129099},{id:152522,name:"阿巴嘎旗",parent:1525,lon:114.89347121165,lat:44.276507422523},{id:152523,name:"苏尼特左旗",parent:1525,lon:113.14030742275,lat:44.039238043252},{id:152524,name:"苏尼特右旗",parent:1525,lon:112.91159981029,lat:42.900963777858},{id:152525,name:"东乌珠穆沁旗",parent:1525,lon:117.8104504134,lat:45.826664793338},{id:152526,name:"西乌珠穆沁旗",parent:1525,lon:117.81696314273,lat:44.715902995292},{id:152527,name:"太仆寺旗",parent:1525,lon:115.30455821777,lat:41.906215635041},{id:152528,name:"镶黄旗",parent:1525,lon:114.12058911409,lat:42.368275700926},{id:152529,name:"正镶白旗",parent:1525,lon:115.02434728451,lat:42.554842970033},{id:152530,name:"正蓝旗",parent:1525,lon:115.94010983058,lat:42.674413879311},{id:152531,name:"多伦县",parent:1525,lon:116.4986386762,lat:42.196600874379},{id:152921,name:"阿拉善左旗",parent:1529,lon:105.03824684198,lat:39.547806401013},{id:152922,name:"阿拉善右旗",parent:1529,lon:102.44385599727,lat:40.186228955604},{id:152923,name:"额济纳旗",parent:1529,lon:100.09951238471,lat:41.693799843161},{id:210102,name:"和平区",parent:2101,lon:123.41433166046,lat:41.786474395792},{id:210103,name:"沈河区",parent:2101,lon:123.45355228301,lat:41.798304641933},{id:210104,name:"大东区",parent:2101,lon:123.49892677691,lat:41.835279080775},{id:210105,name:"皇姑区",parent:2101,lon:123.41537632672,lat:41.848913204573},{id:210106,name:"铁西区",parent:2101,lon:123.35862982907,lat:41.805724167622},{id:210111,name:"苏家屯区",parent:2101,lon:123.42628905169,lat:41.589345157565},{id:210112,name:"浑南区",parent:2101,lon:123.5714290915,lat:41.794157738255},{id:210113,name:"沈北新区",parent:2101,lon:123.5186904027,lat:42.043849976101},{id:210114,name:"于洪区",parent:2101,lon:123.2428469731,lat:41.843551023712},{id:210115,name:"辽中区",parent:2101,lon:122.79857550059,lat:41.500330370098},{id:210123,name:"康平县",parent:2101,lon:123.27359808776,lat:42.765540738313},{id:210124,name:"法库县",parent:2101,lon:123.24889709003,lat:42.415297839562},{id:210181,name:"新民市",parent:2101,lon:122.86641820399,lat:42.016776193846},{id:210202,name:"中山区",parent:2102,lon:121.67796628923,lat:38.900436431992},{id:210203,name:"西岗区",parent:2102,lon:121.6258229781,lat:38.913369529939},{id:210204,name:"沙河口区",parent:2102,lon:121.5826178068,lat:38.921778341674},{id:210211,name:"甘井子区",parent:2102,lon:121.52850037949,lat:38.955461760661},{id:210212,name:"旅顺口区",parent:2102,lon:121.29593564059,lat:38.908290673003},{id:210213,name:"金州区",parent:2102,lon:121.95658248044,lat:39.29861907186},{id:210214,name:"普兰店区",parent:2102,lon:122.21603953088,lat:39.651792833684},{id:210224,name:"长海县",parent:2102,lon:122.74826454271,lat:39.26010853029},{id:210281,name:"瓦房店市",parent:2102,lon:121.79069878874,lat:39.70895639619},{id:210283,name:"庄河市",parent:2102,lon:122.934145267,lat:39.858909784172},{id:210302,name:"铁东区",parent:2103,lon:123.02070584518,lat:41.118235115557},{id:210303,name:"铁西区",parent:2103,lon:122.98578619475,lat:41.127872476833},{id:210304,name:"立山区",parent:2103,lon:123.04047350708,lat:41.164172891853},{id:210311,name:"千山区",parent:2103,lon:123.01400529455,lat:41.061328521987},{id:210321,name:"台安县",parent:2103,lon:122.4436825276,lat:41.347099748004},{id:210323,name:"岫岩满族自治县",parent:2103,lon:123.34606899826,lat:40.4031809953},{id:210381,name:"海城市",parent:2103,lon:122.79120058219,lat:40.840354247523},{id:210402,name:"新抚区",parent:2104,lon:123.91136857188,lat:41.869789660664},{id:210403,name:"东洲区",parent:2104,lon:124.02924934124,lat:41.833588275171},{id:210404,name:"望花区",parent:2104,lon:123.78599647355,lat:41.860403588778},{id:210411,name:"顺城区",parent:2104,lon:123.90172355545,lat:41.916014133796},{id:210421,name:"抚顺县",parent:2104,lon:124.1365888338,lat:41.750076669591},{id:210422,name:"新宾满族自治县",parent:2104,lon:124.82786556411,lat:41.635119411},{id:210423,name:"清原满族自治县",parent:2104,lon:124.92431743309,lat:42.118882344791},{id:210502,name:"平山区",parent:2105,lon:123.69257521577,lat:41.240400691895},{id:210503,name:"溪湖区",parent:2105,lon:123.71186569778,lat:41.45615399333},{id:210504,name:"明山区",parent:2105,lon:123.90173685037,lat:41.347752110456},{id:210505,name:"南芬区",parent:2105,lon:123.82788014761,lat:41.122716220999},{id:210521,name:"本溪满族自治县",parent:2105,lon:124.15856431847,lat:41.195670233912},{id:210522,name:"桓仁满族自治县",parent:2105,lon:125.29002787,lat:41.261815877129},{id:210602,name:"元宝区",parent:2106,lon:124.35032097797,lat:40.173197015058},{id:210603,name:"振兴区",parent:2106,lon:124.35556286011,lat:40.067035318752},{id:210604,name:"振安区",parent:2106,lon:124.29219665893,lat:40.211546606919},{id:210624,name:"宽甸满族自治县",parent:2106,lon:124.93410611424,lat:40.766142006754},{id:210681,name:"东港市",parent:2106,lon:123.876870274,lat:39.981217334184},{id:210682,name:"凤城市",parent:2106,lon:124.07296025051,lat:40.579570306659},{id:210702,name:"古塔区",parent:2107,lon:121.1264337451,lat:41.14138819307},{id:210703,name:"凌河区",parent:2107,lon:121.18266452595,lat:41.13438040426},{id:210711,name:"太和区",parent:2107,lon:121.11864471768,lat:41.136830132753},{id:210726,name:"黑山县",parent:2107,lon:122.26073588726,lat:41.799697885598},{id:210727,name:"义县",parent:2107,lon:121.30187737888,lat:41.534928118312},{id:210781,name:"凌海市",parent:2107,lon:121.28557458803,lat:41.152566155094},{id:210782,name:"北镇市",parent:2107,lon:121.86454971392,lat:41.547118023827},{id:210802,name:"站前区",parent:2108,lon:122.2655920301,lat:40.703009826765},{id:210803,name:"西市区",parent:2108,lon:122.21012624622,lat:40.66694904618},{id:210804,name:"鲅鱼圈区",parent:2108,lon:122.17689658108,lat:40.25258448446},{id:210811,name:"老边区",parent:2108,lon:122.33090270339,lat:40.672565437571},{id:210881,name:"盖州市",parent:2108,lon:122.47732679351,lat:40.235441470469},{id:210882,name:"大石桥市",parent:2108,lon:122.57155106236,lat:40.646915451877},{id:210902,name:"海州区",parent:2109,lon:121.65270512981,lat:41.99090249247},{id:210903,name:"新邱区",parent:2109,lon:121.82432100766,lat:42.074627619468},{id:210904,name:"太平区",parent:2109,lon:121.73775310227,lat:42.00945236252},{id:210905,name:"清河门区",parent:2109,lon:121.44683854847,lat:41.754998439335},{id:210911,name:"细河区",parent:2109,lon:121.6275568874,lat:42.043253678758},{id:210921,name:"阜新蒙古族自治县",parent:2109,lon:121.69557778355,lat:42.157500408157},{id:210922,name:"彰武县",parent:2109,lon:122.47417316389,lat:42.523754435526},{id:211002,name:"白塔区",parent:2110,lon:123.17516309965,lat:41.279285816853},{id:211003,name:"文圣区",parent:2110,lon:123.20121638487,lat:41.271122206557},{id:211004,name:"宏伟区",parent:2110,lon:123.22051827536,lat:41.220763801748},{id:211005,name:"弓长岭区",parent:2110,lon:123.42628014056,lat:41.145969646405},{id:211011,name:"太子河区",parent:2110,lon:123.17837427236,lat:41.274593139071},{id:211021,name:"辽阳县",parent:2110,lon:123.21982126206,lat:41.077281158776},{id:211081,name:"灯塔市",parent:2110,lon:123.31257357315,lat:41.420098857086},{id:211102,name:"双台子区",parent:2111,lon:122.03203843649,lat:41.193224510116},{id:211103,name:"兴隆台区",parent:2111,lon:121.96962911034,lat:41.155830887559},{id:211104,name:"大洼区",parent:2111,lon:122.08839097548,lat:40.905899458766},{id:211122,name:"盘山县",parent:2111,lon:121.95216562366,lat:41.193475065521},{id:211202,name:"银州区",parent:2112,lon:123.85851586889,lat:42.248294823185},{id:211204,name:"清河区",parent:2112,lon:124.27578016446,lat:42.508557048192},{id:211221,name:"铁岭县",parent:2112,lon:123.91452868265,lat:42.222764650024},{id:211223,name:"西丰县",parent:2112,lon:124.73850222789,lat:42.712739429005},{id:211224,name:"昌图县",parent:2112,lon:123.94640914451,lat:43.000462116167},{id:211281,name:"调兵山市",parent:2112,lon:123.58434789559,lat:42.442929890534},{id:211282,name:"开原市",parent:2112,lon:124.28377598099,lat:42.471223289128},{id:211302,name:"双塔区",parent:2113,lon:120.48407290204,lat:41.605740189556},{id:211303,name:"龙城区",parent:2113,lon:120.40133294592,lat:41.606226996662},{id:211321,name:"朝阳县",parent:2113,lon:120.30506072918,lat:41.372795903547},{id:211322,name:"建平县",parent:2113,lon:119.63252714815,lat:41.842222586595},{id:211324,name:"喀喇沁左翼蒙古族自治县",parent:2113,lon:119.77553367022,lat:41.143623845035},{id:211381,name:"北票市",parent:2113,lon:120.81188458747,lat:41.865071031498},{id:211382,name:"凌源市",parent:2113,lon:119.27154312683,lat:40.981801128352},{id:211402,name:"连山区",parent:2114,lon:120.6883607801,lat:40.888537340117},{id:211403,name:"龙港区",parent:2114,lon:120.90458597059,lat:40.750992710489},{id:211404,name:"南票区",parent:2114,lon:120.66464506548,lat:41.137035783771},{id:211421,name:"绥中县",parent:2114,lon:120.02630174192,lat:40.305129005823},{id:211422,name:"建昌县",parent:2114,lon:119.83489152944,lat:40.716827705586},{id:211481,name:"兴城市",parent:2114,lon:120.47552727234,lat:40.596284243832},{id:220102,name:"南关区",parent:2201,lon:125.41964874071,lat:43.732190540843},{id:220103,name:"宽城区",parent:2201,lon:125.34489933527,lat:43.998252407951},{id:220104,name:"朝阳区",parent:2201,lon:125.27822648218,lat:43.689108619451},{id:220105,name:"二道区",parent:2201,lon:125.61148484631,lat:43.872222715497},{id:220106,name:"绿园区",parent:2201,lon:125.19133076327,lat:43.912164564835},{id:220112,name:"双阳区",parent:2201,lon:125.71282235937,lat:43.531747024963},{id:220113,name:"九台区",parent:2201,lon:125.96882675838,lat:44.194372106981},{id:220122,name:"农安县",parent:2201,lon:125.09432707273,lat:44.461506089801},{id:220182,name:"榆树市",parent:2201,lon:126.60250076501,lat:44.879422926679},{id:220183,name:"德惠市",parent:2201,lon:125.76904438895,lat:44.510507146916},{id:220202,name:"昌邑区",parent:2202,lon:126.3265130609,lat:44.023897560596},{id:220203,name:"龙潭区",parent:2202,lon:126.69508484724,lat:44.100874364702},{id:220204,name:"船营区",parent:2202,lon:126.38908947188,lat:43.882171941455},{id:220211,name:"丰满区",parent:2202,lon:126.69820214702,lat:43.654515333155},{id:220221,name:"永吉县",parent:2202,lon:126.22756009767,lat:43.601481147552},{id:220281,name:"蛟河市",parent:2202,lon:127.35174186542,lat:43.716756082246},{id:220282,name:"桦甸市",parent:2202,lon:127.04139243957,lat:43.056631099131},{id:220283,name:"舒兰市",parent:2202,lon:127.11677230895,lat:44.335465144158},{id:220284,name:"磐石市",parent:2202,lon:126.17462779101,lat:43.05745611333},{id:220302,name:"铁西区",parent:2203,lon:124.35539155325,lat:43.214159722508},{id:220303,name:"铁东区",parent:2203,lon:124.45989915866,lat:43.101528833564},{id:220322,name:"梨树县",parent:2203,lon:124.38049140672,lat:43.414437629602},{id:220323,name:"伊通满族自治县",parent:2203,lon:125.27114939123,lat:43.346321828789},{id:220381,name:"公主岭市",parent:2203,lon:124.6858822207,lat:43.791826067578},{id:220382,name:"双辽市",parent:2203,lon:123.70852021747,lat:43.767694883217},{id:220402,name:"龙山区",parent:2204,lon:125.2109975481,lat:42.913196595909},{id:220403,name:"西安区",parent:2204,lon:125.15014857862,lat:42.986364946378},{id:220421,name:"东丰县",parent:2204,lon:125.45480890408,lat:42.683933895982},{id:220422,name:"东辽县",parent:2204,lon:125.18493119325,lat:42.94792512736},{id:220502,name:"东昌区",parent:2205,lon:125.9601237078,lat:41.677262396551},{id:220503,name:"二道江区",parent:2205,lon:126.15628012439,lat:41.772625959427},{id:220521,name:"通化县",parent:2205,lon:125.85733217991,lat:41.729156130979},{id:220523,name:"辉南县",parent:2205,lon:126.34272419975,lat:42.557948885604},{id:220524,name:"柳河县",parent:2205,lon:125.91727588294,lat:42.185665412078},{id:220581,name:"梅河口市",parent:2205,lon:125.72351563218,lat:42.542649892656},{id:220582,name:"集安市",parent:2205,lon:125.99899197532,lat:41.251410585346},{id:220602,name:"浑江区",parent:2206,lon:126.39664287376,lat:41.791642228255},{id:220605,name:"江源区",parent:2206,lon:126.82530168684,lat:42.078958587922},{id:220621,name:"抚松县",parent:2206,lon:127.62393805705,lat:42.277909113144},{id:220622,name:"靖宇县",parent:2206,lon:126.90246851455,lat:42.449966505533},{id:220623,name:"长白朝鲜族自治县",parent:2206,lon:127.86435839919,lat:41.584709161363},{id:220681,name:"临江市",parent:2206,lon:127.19171033688,lat:41.816565968987},{id:220702,name:"宁江区",parent:2207,lon:124.86757114896,lat:45.292709616884},{id:220721,name:"前郭尔罗斯蒙古族自治县",parent:2207,lon:124.48165037618,lat:44.86912678932},{id:220722,name:"长岭县",parent:2207,lon:123.8665042888,lat:44.305644527778},{id:220723,name:"乾安县",parent:2207,lon:123.96912337789,lat:44.92691448746},{id:220781,name:"扶余市",parent:2207,lon:125.60981401543,lat:45.171384133354},{id:220802,name:"洮北区",parent:2208,lon:122.78907446427,lat:45.623300921069},{id:220821,name:"镇赉县",parent:2208,lon:123.45227210722,lat:45.956171923796},{id:220822,name:"通榆县",parent:2208,lon:122.74529133311,lat:44.785716778696},{id:220881,name:"洮南市",parent:2208,lon:122.45367732552,lat:45.475604304499},{id:220882,name:"大安市",parent:2208,lon:123.72371415195,lat:45.432438158186},{id:222401,name:"延吉市",parent:2224,lon:129.47130153101,lat:43.05966660114},{id:222402,name:"图们市",parent:2224,lon:129.83431076023,lat:43.03054892373},{id:222403,name:"敦化市",parent:2224,lon:128.23949928011,lat:43.560201838077},{id:222404,name:"珲春市",parent:2224,lon:130.70236659184,lat:43.074719340737},{id:222405,name:"龙井市",parent:2224,lon:129.38381622469,lat:42.844249320769},{id:222406,name:"和龙市",parent:2224,lon:128.91121076889,lat:42.466442285556},{id:222424,name:"汪清县",parent:2224,lon:129.95399441696,lat:43.540143921506},{id:222426,name:"安图县",parent:2224,lon:128.43765169208,lat:42.70103301919},{id:230102,name:"道里区",parent:2301,lon:126.36841846875,lat:45.686139243933},{id:230103,name:"南岗区",parent:2301,lon:126.59025453924,lat:45.66612348458},{id:230104,name:"道外区",parent:2301,lon:126.79557490271,lat:45.799105971955},{id:230108,name:"平房区",parent:2301,lon:126.65771685545,lat:45.773224633239},{id:230109,name:"松北区",parent:2301,lon:126.45227113075,lat:45.941458151669},{id:230110,name:"香坊区",parent:2301,lon:126.79204413625,lat:45.710449322359},{id:230111,name:"呼兰区",parent:2301,lon:126.78775713041,lat:46.079315096502},{id:230112,name:"阿城区",parent:2301,lon:127.12462182332,lat:45.557335189202},{id:230113,name:"双城区",parent:2301,lon:126.20893033512,lat:45.429694282772},{id:230123,name:"依兰县",parent:2301,lon:129.72150310519,lat:46.275637068421},{id:230124,name:"方正县",parent:2301,lon:128.94941872931,lat:45.819769362966},{id:230125,name:"宾县",parent:2301,lon:127.66161209688,lat:45.783825431221},{id:230126,name:"巴彦县",parent:2301,lon:127.32428735381,lat:46.340415542078},{id:230127,name:"木兰县",parent:2301,lon:127.92983800734,lat:46.248171654041},{id:230128,name:"通河县",parent:2301,lon:128.7622323166,lat:46.247857247283},{id:230129,name:"延寿县",parent:2301,lon:128.4639428653,lat:45.489520215745},{id:230183,name:"尚志市",parent:2301,lon:128.31617023054,lat:45.083893011118},{id:230184,name:"五常市",parent:2301,lon:127.49111263245,lat:44.772543560859},{id:230202,name:"龙沙区",parent:2302,lon:123.94483825767,lat:47.301073163863},{id:230203,name:"建华区",parent:2302,lon:124.02127875657,lat:47.404865706359},{id:230204,name:"铁锋区",parent:2302,lon:124.26293093367,lat:47.303488569291},{id:230205,name:"昂昂溪区",parent:2302,lon:123.97293464894,lat:47.104048383337},{id:230206,name:"富拉尔基区",parent:2302,lon:123.57199835236,lat:47.228951853753},{id:230207,name:"碾子山区",parent:2302,lon:122.93233528482,lat:47.585869259054},{id:230208,name:"梅里斯达斡尔族区",parent:2302,lon:124.00548681519,lat:47.583080065198},{id:230221,name:"龙江县",parent:2302,lon:123.08910277315,lat:47.258895031048},{id:230223,name:"依安县",parent:2302,lon:125.29463341876,lat:47.70687276451},{id:230224,name:"泰来县",parent:2302,lon:123.55804791893,lat:46.603290111422},{id:230225,name:"甘南县",parent:2302,lon:123.84689963764,lat:48.011583079958},{id:230227,name:"富裕县",parent:2302,lon:124.57174679759,lat:47.66582009392},{id:230229,name:"克山县",parent:2302,lon:125.70647087609,lat:48.16709075607},{id:230230,name:"克东县",parent:2302,lon:126.35213605416,lat:48.009015428979},{id:230231,name:"拜泉县",parent:2302,lon:126.02178604309,lat:47.59225565379},{id:230281,name:"讷河市",parent:2302,lon:125.07655310394,lat:48.481453388811},{id:230302,name:"鸡冠区",parent:2303,lon:130.95993684965,lat:45.307610212685},{id:230303,name:"恒山区",parent:2303,lon:130.91626680525,lat:45.138570833129},{id:230304,name:"滴道区",parent:2303,lon:130.73483586173,lat:45.354342346984},{id:230305,name:"梨树区",parent:2303,lon:130.76523847274,lat:45.097064304174},{id:230306,name:"城子河区",parent:2303,lon:131.02770429868,lat:45.379689760283},{id:230307,name:"麻山区",parent:2303,lon:130.56688686698,lat:45.205825834254},{id:230321,name:"鸡东县",parent:2303,lon:131.22565372007,lat:45.273228207889},{id:230381,name:"虎林市",parent:2303,lon:133.12110607261,lat:45.997276203515},{id:230382,name:"密山市",parent:2303,lon:132.17656238974,lat:45.469765426971},{id:230402,name:"向阳区",parent:2304,lon:130.30123313444,lat:47.350919505165},{id:230403,name:"工农区",parent:2304,lon:130.27719618578,lat:47.327770216306},{id:230404,name:"南山区",parent:2304,lon:130.28176460828,lat:47.298820938262},{id:230405,name:"兴安区",parent:2304,lon:130.24437533634,lat:47.23371006572},{id:230406,name:"东山区",parent:2304,lon:130.24750143952,lat:47.483737355287},{id:230407,name:"兴山区",parent:2304,lon:130.32664592783,lat:47.393964799831},{id:230421,name:"萝北县",parent:2304,lon:130.76133324012,lat:47.74693489479},{id:230422,name:"绥滨县",parent:2304,lon:131.85659492327,lat:47.483007019685},{id:230502,name:"尖山区",parent:2305,lon:131.17851398363,lat:46.658524603822},{id:230503,name:"岭东区",parent:2305,lon:131.24602424779,lat:46.459521565337},{id:230505,name:"四方台区",parent:2305,lon:131.30870692831,lat:46.669775046181},{id:230506,name:"宝山区",parent:2305,lon:131.56483592752,lat:46.5292279819},{id:230521,name:"集贤县",parent:2305,lon:131.15055588277,lat:46.818437079003},{id:230522,name:"友谊县",parent:2305,lon:131.8549989164,lat:46.788592814562},{id:230523,name:"宝清县",parent:2305,lon:132.40927864827,lat:46.409383212717},{id:230524,name:"饶河县",parent:2305,lon:133.7292586825,lat:47.072628542857},{id:230602,name:"萨尔图区",parent:2306,lon:125.0424515298,lat:46.663311354817},{id:230603,name:"龙凤区",parent:2306,lon:125.14176665986,lat:46.53556824178},{id:230604,name:"让胡路区",parent:2306,lon:124.83842676542,lat:46.729160383306},{id:230605,name:"红岗区",parent:2306,lon:124.91428498269,lat:46.420778588396},{id:230606,name:"大同区",parent:2306,lon:124.69907739268,lat:46.070051001663},{id:230621,name:"肇州县",parent:2306,lon:125.3089692416,lat:45.837071583611},{id:230622,name:"肇源县",parent:2306,lon:124.76904364094,lat:45.647200471445},{id:230623,name:"林甸县",parent:2306,lon:124.8967829092,lat:47.159692937417},{id:230624,name:"杜尔伯特蒙古族自治县",parent:2306,lon:124.24651264677,lat:46.561613536188},{id:230702,name:"伊春区",parent:2307,lon:128.90057964259,lat:47.741959238189},{id:230703,name:"南岔区",parent:2307,lon:129.5388741261,lat:46.964156236684},{id:230704,name:"友好区",parent:2307,lon:128.46596407584,lat:48.128001664241},{id:230705,name:"西林区",parent:2307,lon:129.22725517859,lat:47.500962038143},{id:230706,name:"翠峦区",parent:2307,lon:128.3654114401,lat:47.589933517239},{id:230707,name:"新青区",parent:2307,lon:129.78735692847,lat:48.216126405552},{id:230708,name:"美溪区",parent:2307,lon:129.40940395803,lat:47.768892089215},{id:230709,name:"金山屯区",parent:2307,lon:129.77190301946,lat:47.498543610736},{id:230710,name:"五营区",parent:2307,lon:129.061485473,lat:48.229327781105},{id:230711,name:"乌马河区",parent:2307,lon:128.79469008399,lat:47.549368172364},{id:230712,name:"汤旺河区",parent:2307,lon:129.53875384299,lat:48.563262601637},{id:230713,name:"带岭区",parent:2307,lon:128.86147460713,lat:47.090162166708},{id:230714,name:"乌伊岭区",parent:2307,lon:129.49893645126,lat:48.836655251992},{id:230715,name:"红星区",parent:2307,lon:129.25191896484,lat:48.298020306125},{id:230716,name:"上甘岭区",parent:2307,lon:129.02239948161,lat:48.036509272978},{id:230722,name:"嘉荫县",parent:2307,lon:130.00824972425,lat:48.769519787363},{id:230781,name:"铁力市",parent:2307,lon:128.55251746527,lat:46.866328682376},{id:230803,name:"向阳区",parent:2308,lon:130.36295545541,lat:46.826706255713},{id:230804,name:"前进区",parent:2308,lon:130.39791016311,lat:46.809721977545},{id:230805,name:"东风区",parent:2308,lon:130.51740321928,lat:46.894910414945},{id:230811,name:"郊区",parent:2308,lon:130.26396912133,lat:46.775887398703},{id:230822,name:"桦南县",parent:2308,lon:130.63701542096,lat:46.306671717134},{id:230826,name:"桦川县",parent:2308,lon:130.9630176143,lat:46.989258424239},{id:230828,name:"汤原县",parent:2308,lon:130.07240618628,lat:46.988318509463},{id:230881,name:"同江市",parent:2308,lon:133.27332836382,lat:47.833684686564},{id:230882,name:"富锦市",parent:2308,lon:132.53900135629,lat:47.170672548244},{id:230883,name:"抚远市",parent:2308,lon:134.39306261929,lat:47.955162063941},{id:230902,name:"新兴区",parent:2309,lon:130.89318834856,lat:45.8134935903},{id:230903,name:"桃山区",parent:2309,lon:130.9925031193,lat:45.770092507257},{id:230904,name:"茄子河区",parent:2309,lon:131.47522375459,lat:45.883167710316},{id:230921,name:"勃利县",parent:2309,lon:130.81816940292,lat:45.930545419106},{id:231002,name:"东安区",parent:2310,lon:129.86044675749,lat:44.408404499377},{id:231003,name:"阳明区",parent:2310,lon:129.78391508059,lat:44.58797510378},{id:231004,name:"爱民区",parent:2310,lon:129.54456588932,lat:44.685920648737},{id:231005,name:"西安区",parent:2310,lon:129.58492424063,lat:44.491714149262},{id:231025,name:"林口县",parent:2310,lon:130.02318050895,lat:45.396101732571},{id:231081,name:"绥芬河市",parent:2310,lon:131.10245653286,lat:44.408005174587},{id:231083,name:"海林市",parent:2310,lon:129.2214141346,lat:44.903617439366},{id:231084,name:"宁安市",parent:2310,lon:129.21531714201,lat:44.058017259883},{id:231085,name:"穆棱市",parent:2310,lon:130.39552588753,lat:44.576869855321},{id:231086,name:"东宁市",parent:2310,lon:130.82976155466,lat:44.085228695883},{id:231102,name:"爱辉区",parent:2311,lon:126.76426227527,lat:50.21824505447},{id:231121,name:"嫩江县",parent:2311,lon:125.77127508963,lat:49.621866015064},{id:231123,name:"逊克县",parent:2311,lon:128.37087710653,lat:48.886739946849},{id:231124,name:"孙吴县",parent:2311,lon:127.31667232079,lat:49.370655539474},{id:231181,name:"北安市",parent:2311,lon:127.11154600578,lat:48.115945723953},{id:231182,name:"五大连池市",parent:2311,lon:126.63450133401,lat:48.749166077372},{id:231202,name:"北林区",parent:2312,lon:126.95786274455,lat:46.747536778515},{id:231221,name:"望奎县",parent:2312,lon:126.59302313008,lat:46.869481261175},{id:231222,name:"兰西县",parent:2312,lon:126.21354291791,lat:46.358350137762},{id:231223,name:"青冈县",parent:2312,lon:125.96052417701,lat:46.846560509098},{id:231224,name:"庆安县",parent:2312,lon:127.84448982607,lat:47.070365971064},{id:231225,name:"明水县",parent:2312,lon:125.84126811337,lat:47.201247327838},{id:231226,name:"绥棱县",parent:2312,lon:127.71941343154,lat:47.584142706971},{id:231281,name:"安达市",parent:2312,lon:125.38455235789,lat:46.535467128182},{id:231282,name:"肇东市",parent:2312,lon:125.84973124624,lat:46.009305917541},{id:231283,name:"海伦市",parent:2312,lon:126.89712924928,lat:47.447269604837},{id:232721,name:"呼玛县",parent:2327,lon:124.91200234302,lat:51.813130087054},{id:232722,name:"塔河县",parent:2327,lon:124.64020335752,lat:52.716506252523},{id:232723,name:"漠河县",parent:2327,lon:122.71572081474,lat:52.945658619469},{id:310101,name:"黄浦区",parent:3101,lon:121.49607206403,lat:31.227203440769},{id:310104,name:"徐汇区",parent:3101,lon:121.44623500473,lat:31.169152089592},{id:310105,name:"长宁区",parent:3101,lon:121.38761610866,lat:31.213301496814},{id:310106,name:"静安区",parent:3101,lon:121.454755557,lat:31.235380803488},{id:310107,name:"普陀区",parent:3101,lon:121.39844294375,lat:31.263742929076},{id:310109,name:"虹口区",parent:3101,lon:121.49191854079,lat:31.282497228987},{id:310110,name:"杨浦区",parent:3101,lon:121.53571659963,lat:31.304510479542},{id:310112,name:"闵行区",parent:3101,lon:121.42502428093,lat:31.093537540382},{id:310113,name:"宝山区",parent:3101,lon:121.40904121845,lat:31.398622694467},{id:310114,name:"嘉定区",parent:3101,lon:121.25101353756,lat:31.364338055434},{id:310115,name:"浦东新区",parent:3101,lon:121.63848131409,lat:31.230895349134},{id:310116,name:"金山区",parent:3101,lon:121.24840817975,lat:30.835080777082},{id:310117,name:"松江区",parent:3101,lon:121.22679050142,lat:31.021244628099},{id:310118,name:"青浦区",parent:3101,lon:121.09142524282,lat:31.130862397997},{id:310120,name:"奉贤区",parent:3101,lon:121.56064167963,lat:30.915122452606},{id:310151,name:"崇明区",parent:3101,lon:121.56909950183,lat:31.52860136251},{id:320102,name:"玄武区",parent:3201,lon:118.84893734485,lat:32.07176566029},{id:320104,name:"秦淮区",parent:3201,lon:118.81722069709,lat:32.007969136143},{id:320105,name:"建邺区",parent:3201,lon:118.71334176065,lat:32.012518207527},{id:320106,name:"鼓楼区",parent:3201,lon:118.76505691316,lat:32.068604458801},{id:320111,name:"浦口区",parent:3201,lon:118.56912478518,lat:32.05906230054},{id:320113,name:"栖霞区",parent:3201,lon:118.96372475912,lat:32.16942425653},{id:320114,name:"雨花台区",parent:3201,lon:118.72197857905,lat:31.954552108797},{id:320115,name:"江宁区",parent:3201,lon:118.83541822485,lat:31.863971430281},{id:320116,name:"六合区",parent:3201,lon:118.84816604456,lat:32.400640243232},{id:320117,name:"溧水区",parent:3201,lon:119.03955092741,lat:31.59098879063},{id:320118,name:"高淳区",parent:3201,lon:118.9648579166,lat:31.363673442531},{id:320205,name:"锡山区",parent:3202,lon:120.49100821099,lat:31.615587416408},{id:320206,name:"惠山区",parent:3202,lon:120.21529447552,lat:31.656376333546},{id:320211,name:"滨湖区",parent:3202,lon:120.24850182101,lat:31.466578565031},{id:320213,name:"梁溪区",parent:3202,lon:120.30311934862,lat:31.57842412658},{id:320214,name:"新吴区",parent:3202,lon:120.43882764569,lat:31.519399416228},{id:320281,name:"江阴市",parent:3202,lon:120.31067896716,lat:31.837425422051},{id:320282,name:"宜兴市",parent:3202,lon:119.79026529658,lat:31.362244911879},{id:320302,name:"鼓楼区",parent:3203,lon:117.29612858533,lat:34.301409800357},{id:320303,name:"云龙区",parent:3203,lon:117.27617608552,lat:34.22248667954},{id:320305,name:"贾汪区",parent:3203,lon:117.49824588411,lat:34.410527773608},{id:320311,name:"泉山区",parent:3203,lon:117.1755840183,lat:34.241946575704},{id:320312,name:"铜山区",parent:3203,lon:117.22940160979,lat:34.348981539618},{id:320321,name:"丰县",parent:3203,lon:116.61573315373,lat:34.695773328628},{id:320322,name:"沛县",parent:3203,lon:116.91146840815,lat:34.700648164694},{id:320324,name:"睢宁县",parent:3203,lon:117.89036426969,lat:33.946570640866},{id:320381,name:"新沂市",parent:3203,lon:118.34412147229,lat:34.284442736534},{id:320382,name:"邳州市",parent:3203,lon:117.90306004276,lat:34.402946394877},{id:320402,name:"天宁区",parent:3204,lon:120.00176576036,lat:31.777803256373},{id:320404,name:"钟楼区",parent:3204,lon:119.91243874189,lat:31.79851137455},{id:320411,name:"新北区",parent:3204,lon:119.90315390841,lat:31.939946043961},{id:320412,name:"武进区",parent:3204,lon:119.94343167667,lat:31.672903473648},{id:320413,name:"金坛区",parent:3204,lon:119.53415121469,lat:31.728356462124},{id:320481,name:"溧阳市",parent:3204,lon:119.38283894831,lat:31.425241931012},{id:320505,name:"虎丘区",parent:3205,lon:120.47842441781,lat:31.351869327642},{id:320506,name:"吴中区",parent:3205,lon:120.36577637267,lat:31.179869740166},{id:320507,name:"相城区",parent:3205,lon:120.64685298258,lat:31.450775031111},{id:320508,name:"姑苏区",parent:3205,lon:120.61427934735,lat:31.326429631222},{id:320509,name:"吴江区",parent:3205,lon:120.65734994979,lat:31.000093080624},{id:320581,name:"常熟市",parent:3205,lon:120.83148596516,lat:31.669446047798},{id:320582,name:"张家港市",parent:3205,lon:120.62727852834,lat:31.907812337769},{id:320583,name:"昆山市",parent:3205,lon:120.96580778411,lat:31.328936795497},{id:320585,name:"太仓市",parent:3205,lon:121.15897767248,lat:31.571904296415},{id:320602,name:"崇川区",parent:3206,lon:120.88759857738,lat:31.962660695271},{id:320611,name:"港闸区",parent:3206,lon:120.82387483505,lat:32.071256422788},{id:320612,name:"通州区",parent:3206,lon:121.07249442751,lat:32.067098964254},{id:320621,name:"海安县",parent:3206,lon:120.47392692165,lat:32.553985066143},{id:320623,name:"如东县",parent:3206,lon:121.05924442185,lat:32.387662145338},{id:320681,name:"启东市",parent:3206,lon:121.67882229665,lat:31.871301838383},{id:320682,name:"如皋市",parent:3206,lon:120.580143985,lat:32.273616272606},{id:320684,name:"海门市",parent:3206,lon:121.31247014367,lat:31.956038868177},{id:320703,name:"连云区",parent:3207,lon:119.46701669742,lat:34.638921829102},{id:320706,name:"海州区",parent:3207,lon:119.16219625272,lat:34.514160144549},{id:320707,name:"赣榆区",parent:3207,lon:119.07859315245,lat:34.921103960847},{id:320722,name:"东海县",parent:3207,lon:118.79230964695,lat:34.556383225488},{id:320723,name:"灌云县",parent:3207,lon:119.39277519918,lat:34.406832167104},{id:320724,name:"灌南县",parent:3207,lon:119.44639688138,lat:34.175194871764},{id:320803,name:"淮安区",parent:3208,lon:119.31329513264,lat:33.528348966942},{id:320804,name:"淮阴区",parent:3208,lon:118.93566378046,lat:33.664059258402},{id:320812,name:"清江浦区",parent:3208,lon:119.04477992516,lat:33.494331166176},{id:320813,name:"洪泽区",parent:3208,lon:118.83000637571,lat:33.230193969134},{id:320826,name:"涟水县",parent:3208,lon:119.32495655858,lat:33.884155184174},{id:320830,name:"盱眙县",parent:3208,lon:118.53823246743,lat:32.971613125783},{id:320831,name:"金湖县",parent:3208,lon:119.14563113528,lat:33.02583443776},{id:320902,name:"亭湖区",parent:3209,lon:120.20635135183,lat:33.378948242447},{id:320903,name:"盐都区",parent:3209,lon:119.96850073907,lat:33.265898266894},{id:320904,name:"大丰区",parent:3209,lon:120.58506449027,lat:33.265908526078},{id:320921,name:"响水县",parent:3209,lon:119.79760156833,lat:34.232797426966},{id:320922,name:"滨海县",parent:3209,lon:120.02660867811,lat:34.092317176392},{id:320923,name:"阜宁县",parent:3209,lon:119.70499024879,lat:33.71197604815},{id:320924,name:"射阳县",parent:3209,lon:120.27950474858,lat:33.745462250481},{id:320925,name:"建湖县",parent:3209,lon:119.83649673997,lat:33.488907986634},{id:320981,name:"东台市",parent:3209,lon:120.56376947144,lat:32.791442548289},{id:321002,name:"广陵区",parent:3210,lon:119.48667775758,lat:32.395670095608},{id:321003,name:"邗江区",parent:3210,lon:119.45826385876,lat:32.425830218252},{id:321012,name:"江都区",parent:3210,lon:119.71731808779,lat:32.549160271061},{id:321023,name:"宝应县",parent:3210,lon:119.45565078384,lat:33.225833658364},{id:321081,name:"仪征市",parent:3210,lon:119.20095502034,lat:32.392636465119},{id:321084,name:"高邮市",parent:3210,lon:119.50340701788,lat:32.835943695939},{id:321102,name:"京口区",parent:3211,lon:119.5848217021,lat:32.201996095087},{id:321111,name:"润州区",parent:3211,lon:119.43092031591,lat:32.19664652864},{id:321112,name:"丹徒区",parent:3211,lon:119.4989723505,lat:32.114041364762},{id:321181,name:"丹阳市",parent:3211,lon:119.64430350829,lat:31.960263455083},{id:321182,name:"扬中市",parent:3211,lon:119.84513751029,lat:32.189469410323},{id:321183,name:"句容市",parent:3211,lon:119.20707980344,lat:31.932634957798},{id:321202,name:"海陵区",parent:3212,lon:119.92117442715,lat:32.488257837661},{id:321203,name:"高港区",parent:3212,lon:119.92574377278,lat:32.330075314459},{id:321204,name:"姜堰区",parent:3212,lon:120.06704535319,lat:32.532466165694},{id:321281,name:"兴化市",parent:3212,lon:119.99641814069,lat:32.961954308808},{id:321282,name:"靖江市",parent:3212,lon:120.27689862725,lat:32.039442789049},{id:321283,name:"泰兴市",parent:3212,lon:120.135346292,lat:32.213678940627},{id:321302,name:"宿城区",parent:3213,lon:118.27463983758,lat:33.862829055956},{id:321311,name:"宿豫区",parent:3213,lon:118.34369284322,lat:34.009529591744},{id:321322,name:"沭阳县",parent:3213,lon:118.85774971753,lat:34.154013659597},{id:321323,name:"泗阳县",parent:3213,lon:118.65694128685,lat:33.708800542074},{id:321324,name:"泗洪县",parent:3213,lon:118.3125512525,lat:33.425955266134},{id:330102,name:"上城区",parent:3301,lon:120.18012613889,lat:30.232357639233},{id:330103,name:"下城区",parent:3301,lon:120.18653502974,lat:30.310287874904},{id:330104,name:"江干区",parent:3301,lon:120.30382324371,lat:30.315832099954},{id:330105,name:"拱墅区",parent:3301,lon:120.15884493257,lat:30.344732010358},{id:330106,name:"西湖区",parent:3301,lon:120.08899292561,lat:30.207036169515},{id:330108,name:"滨江区",parent:3301,lon:120.19237042946,lat:30.187587607727},{id:330109,name:"萧山区",parent:3301,lon:120.38908074858,lat:30.172893839066},{id:330110,name:"余杭区",parent:3301,lon:119.99808906005,lat:30.388119980754},{id:330111,name:"富阳区",parent:3301,lon:119.81096609176,lat:29.977808419757},{id:330122,name:"桐庐县",parent:3301,lon:119.5604618667,lat:29.836582478934},{id:330127,name:"淳安县",parent:3301,lon:118.89576489835,lat:29.614714225509},{id:330182,name:"建德市",parent:3301,lon:119.37953322636,lat:29.487115319259},{id:330185,name:"临安市",parent:3301,lon:119.35029466684,lat:30.207683765784},{id:330203,name:"海曙区",parent:3302,lon:121.5353945773,lat:29.876800511994},{id:330204,name:"江东区",parent:3302,lon:121.5980008523,lat:29.87539247212},{id:330205,name:"江北区",parent:3302,lon:121.49329902932,lat:29.96639219001},{id:330206,name:"北仑区",parent:3302,lon:121.88941885595,lat:29.868332319465},{id:330211,name:"镇海区",parent:3302,lon:121.61663045279,lat:29.995449382446},{id:330212,name:"鄞州区",parent:3302,lon:121.53783481355,lat:29.78545893326},{id:330225,name:"象山县",parent:3302,lon:121.85866557564,lat:29.378771009449},{id:330226,name:"宁海县",parent:3302,lon:121.46362436946,lat:29.314474088639},{id:330281,name:"余姚市",parent:3302,lon:121.15277918829,lat:29.996456719011},{id:330282,name:"慈溪市",parent:3302,lon:121.33840825932,lat:30.189257122714},{id:330283,name:"奉化市",parent:3302,lon:121.37718563878,lat:29.617073470394},{id:330302,name:"鹿城区",parent:3303,lon:120.56579853224,lat:28.067865050513},{id:330303,name:"龙湾区",parent:3303,lon:120.81107773683,lat:27.913340713281},{id:330304,name:"瓯海区",parent:3303,lon:120.55840358596,lat:27.972177190591},{id:330305,name:"洞头区",parent:3303,lon:121.15231818926,lat:27.884883705563},{id:330324,name:"永嘉县",parent:3303,lon:120.66880872172,lat:28.336390468031},{id:330326,name:"平阳县",parent:3303,lon:120.38938725481,lat:27.637700763436},{id:330327,name:"苍南县",parent:3303,lon:120.44554278341,lat:27.434436382653},{id:330328,name:"文成县",parent:3303,lon:120.02842209847,lat:27.81271343668},{id:330329,name:"泰顺县",parent:3303,lon:119.88486761051,lat:27.536406837073},{id:330381,name:"瑞安市",parent:3303,lon:120.46834036335,lat:27.82923052833},{id:330382,name:"乐清市",parent:3303,lon:121.01617490318,lat:28.26183898877},{id:330402,name:"南湖区",parent:3304,lon:120.84453542647,lat:30.716357921235},{id:330411,name:"秀洲区",parent:3304,lon:120.69190746888,lat:30.777678969089},{id:330421,name:"嘉善县",parent:3304,lon:120.90887281597,lat:30.905748069187},{id:330424,name:"海盐县",parent:3304,lon:120.88557558868,lat:30.526042585394},{id:330481,name:"海宁市",parent:3304,lon:120.61872710778,lat:30.442176799317},{id:330482,name:"平湖市",parent:3304,lon:121.10583903762,lat:30.716528587208},{id:330483,name:"桐乡市",parent:3304,lon:120.49041120216,lat:30.612341030328},{id:330502,name:"吴兴区",parent:3305,lon:120.08891886954,lat:30.808545234564},{id:330503,name:"南浔区",parent:3305,lon:120.30914675944,lat:30.766830865515},{id:330521,name:"德清县",parent:3305,lon:120.04983138985,lat:30.567582881042},{id:330522,name:"长兴县",parent:3305,lon:119.81941984715,lat:30.983352787535},{id:330523,name:"安吉县",parent:3305,lon:119.58315792627,lat:30.626370494334},{id:330602,name:"越城区",parent:3306,lon:120.61832665179,lat:30.015792939952},{id:330603,name:"柯桥区",parent:3306,lon:120.54020524674,lat:29.999366392659},{id:330604,name:"上虞区",parent:3306,lon:120.87986642651,lat:30.00645910703},{id:330624,name:"新昌县",parent:3306,lon:120.97570154218,lat:29.414313976622},{id:330681,name:"诸暨市",parent:3306,lon:120.28143440994,lat:29.699399516981},{id:330683,name:"嵊州市",parent:3306,lon:120.76143097735,lat:29.591008031468},{id:330702,name:"婺城区",parent:3307,lon:119.51757234284,lat:28.984539673649},{id:330703,name:"金东区",parent:3307,lon:119.80922749595,lat:29.155526265081},{id:330723,name:"武义县",parent:3307,lon:119.72083317224,lat:28.774055561598},{id:330726,name:"浦江县",parent:3307,lon:119.91048752626,lat:29.526266410155},{id:330727,name:"磐安县",parent:3307,lon:120.56744721648,lat:29.04420249188},{id:330781,name:"兰溪市",parent:3307,lon:119.53333759742,lat:29.284102536325},{id:330782,name:"义乌市",parent:3307,lon:120.06729564867,lat:29.306443911839},{id:330783,name:"东阳市",parent:3307,lon:120.38081772668,lat:29.237426947341},{id:330784,name:"永康市",parent:3307,lon:120.10868352215,lat:28.940176566983},{id:330802,name:"柯城区",parent:3308,lon:118.8130029548,lat:28.998535292058},{id:330803,name:"衢江区",parent:3308,lon:118.93904421103,lat:28.941983087299},{id:330822,name:"常山县",parent:3308,lon:118.54767046745,lat:28.973666155532},{id:330824,name:"开化县",parent:3308,lon:118.33165006627,lat:29.18993794143},{id:330825,name:"龙游县",parent:3308,lon:119.19866420604,lat:28.997079389242},{id:330881,name:"江山市",parent:3308,lon:118.60708619901,lat:28.581969944141},{id:330902,name:"定海区",parent:3309,lon:122.07302446869,lat:30.06484716159},{id:330903,name:"普陀区",parent:3309,lon:122.27876474766,lat:29.871101375771},{id:330921,name:"岱山县",parent:3309,lon:122.26035914727,lat:30.319415586505},{id:330922,name:"嵊泗县",parent:3309,lon:122.48168649477,lat:30.705003931261},{id:331002,name:"椒江区",parent:3310,lon:121.46737635254,lat:28.657015656331},{id:331003,name:"黄岩区",parent:3310,lon:121.08831775253,lat:28.604655275769},{id:331004,name:"路桥区",parent:3310,lon:121.45024245576,lat:28.548659438247},{id:331021,name:"玉环县",parent:3310,lon:121.28442605522,lat:28.179738010609},{id:331022,name:"三门县",parent:3310,lon:121.48822880178,lat:29.017744246024},{id:331023,name:"天台县",parent:3310,lon:120.98556322305,lat:29.151778640761},{id:331024,name:"仙居县",parent:3310,lon:120.64060572539,lat:28.738741988629},{id:331081,name:"温岭市",parent:3310,lon:121.42104597878,lat:28.400553817107},{id:331082,name:"临海市",parent:3310,lon:121.22191927302,lat:28.857388590573},{id:331102,name:"莲都区",parent:3311,lon:119.84995169272,lat:28.447361330679},{id:331121,name:"青田县",parent:3311,lon:120.14673815822,lat:28.208428623515},{id:331122,name:"缙云县",parent:3311,lon:120.19188183536,lat:28.666326291231},{id:331123,name:"遂昌县",parent:3311,lon:119.08934238361,lat:28.525410332354},{id:331124,name:"松阳县",parent:3311,lon:119.44101320226,lat:28.41158038279},{id:331125,name:"云和县",parent:3311,lon:119.54173007925,lat:28.131320418187},{id:331126,name:"庆元县",parent:3311,lon:119.15761923529,lat:27.62804612399},{id:331127,name:"景宁畲族自治县",parent:3311,lon:119.61928969769,lat:27.896052631241},{id:331181,name:"龙泉市",parent:3311,lon:119.08229725532,lat:28.050639306133},{id:340102,name:"瑶海区",parent:3401,lon:117.33122366889,lat:31.905375399342},{id:340103,name:"庐阳区",parent:3401,lon:117.24783468704,lat:31.912901051134},{id:340104,name:"蜀山区",parent:3401,lon:117.23128044361,lat:31.838184928803},{id:340111,name:"包河区",parent:3401,lon:117.35391279997,lat:31.790724288122},{id:340121,name:"长丰县",parent:3401,lon:117.17443835982,lat:32.286111151904},{id:340122,name:"肥东县",parent:3401,lon:117.57585687571,lat:32.003189086973},{id:340123,name:"肥西县",parent:3401,lon:117.03626088173,lat:31.732638067993},{id:340124,name:"庐江县",parent:3401,lon:117.33587636592,lat:31.228413825483},{id:340181,name:"巢湖市",parent:3401,lon:117.7717833762,lat:31.676058567558},{id:340202,name:"镜湖区",parent:3402,lon:118.38724548573,lat:31.351965582559},{id:340203,name:"弋江区",parent:3402,lon:118.33596966824,lat:31.216676779902},{id:340207,name:"鸠江区",parent:3402,lon:118.49397424134,lat:31.375481957255},{id:340208,name:"三山区",parent:3402,lon:118.3117984229,lat:31.212824987426},{id:340221,name:"芜湖县",parent:3402,lon:118.53246218925,lat:31.191698969307},{id:340222,name:"繁昌县",parent:3402,lon:118.2001179722,lat:31.12832958697},{id:340223,name:"南陵县",parent:3402,lon:118.28821596372,lat:30.8959818627},{id:340225,name:"无为县",parent:3402,lon:117.82005160307,lat:31.22249365658},{id:340302,name:"龙子湖区",parent:3403,lon:117.47832568768,lat:32.926342521363},{id:340303,name:"蚌山区",parent:3403,lon:117.35635619096,lat:32.881522954878},{id:340304,name:"禹会区",parent:3403,lon:117.3055150635,lat:32.889696360476},{id:340311,name:"淮上区",parent:3403,lon:117.38818423314,lat:33.023815185908},{id:340321,name:"怀远县",parent:3403,lon:117.04208647136,lat:33.037130745984},{id:340322,name:"五河县",parent:3403,lon:117.764210401,lat:33.138465310137},{id:340323,name:"固镇县",parent:3403,lon:117.35403405942,lat:33.272840934373},{id:340402,name:"大通区",parent:3404,lon:117.11713761331,lat:32.643535866152},{id:340403,name:"田家庵区",parent:3404,lon:117.01468721736,lat:32.564363767687},{id:340404,name:"谢家集区",parent:3404,lon:116.90877214688,lat:32.544400181652},{id:340405,name:"八公山区",parent:3404,lon:116.82552132442,lat:32.652390199515},{id:340406,name:"潘集区",parent:3404,lon:116.86619300469,lat:32.800694621968},{id:340421,name:"凤台县",parent:3404,lon:116.58490534783,lat:32.791416300893},{id:340422,name:"寿县",parent:3404,lon:116.77854729708,lat:32.287816164667},{id:340503,name:"花山区",parent:3405,lon:118.57834785585,lat:31.711627118315},{id:340504,name:"雨山区",parent:3405,lon:118.55455812086,lat:31.659719310829},{id:340506,name:"博望区",parent:3405,lon:118.85133588367,lat:31.56550080289},{id:340521,name:"当涂县",parent:3405,lon:118.64667323993,lat:31.503024380618},{id:340522,name:"含山县",parent:3405,lon:118.51588184662,lat:31.68852815888},{id:340523,name:"和县",parent:3405,lon:118.29986391138,lat:31.757568623793},{id:340602,name:"杜集区",parent:3406,lon:116.95496714841,lat:34.113251414374},{id:340603,name:"相山区",parent:3406,lon:116.72896156685,lat:33.988334722309},{id:340604,name:"烈山区",parent:3406,lon:116.9081817805,lat:33.84405351094},{id:340621,name:"濉溪县",parent:3406,lon:116.73689934705,lat:33.693204649044},{id:340705,name:"铜官区",parent:3407,lon:117.83324857069,lat:30.943050294456},{id:340706,name:"义安区",parent:3407,lon:117.95780890267,lat:30.944585477816},{id:340711,name:"郊区",parent:3407,lon:117.64155067342,lat:30.754631362428},{id:340722,name:"枞阳县",parent:3407,lon:117.41703591878,lat:30.863982478208},{id:340802,name:"迎江区",parent:3408,lon:117.15254234871,lat:30.541457598958},{id:340803,name:"大观区",parent:3408,lon:116.9809683319,lat:30.532487247564},{id:340811,name:"宜秀区",parent:3408,lon:117.05612964375,lat:30.614339999814},{id:340822,name:"怀宁县",parent:3408,lon:116.80352690196,lat:30.579024527459},{id:340824,name:"潜山县",parent:3408,lon:116.55281551688,lat:30.758639275993},{id:340825,name:"太湖县",parent:3408,lon:116.18253924827,lat:30.50109966504},{id:340826,name:"宿松县",parent:3408,lon:116.25351835628,lat:30.108216635083},{id:340827,name:"望江县",parent:3408,lon:116.68809225224,lat:30.242568216534},{id:340828,name:"岳西县",parent:3408,lon:116.22007036688,lat:30.901821144678},{id:340881,name:"桐城市",parent:3408,lon:116.95355904596,lat:30.972567972107},{id:341002,name:"屯溪区",parent:3410,lon:118.30963663452,lat:29.716534699341},{id:341003,name:"黄山区",parent:3410,lon:118.07754612726,lat:30.27774589512},{id:341004,name:"徽州区",parent:3410,lon:118.27859128593,lat:29.902140398578},{id:341021,name:"歙县",parent:3410,lon:118.57515564084,lat:29.871177014075},{id:341022,name:"休宁县",parent:3410,lon:118.09308178818,lat:29.669120361013},{id:341023,name:"黟县",parent:3410,lon:117.91075047481,lat:30.014778480875},{id:341024,name:"祁门县",parent:3410,lon:117.60052812882,lat:29.873705688292},{id:341102,name:"琅琊区",parent:3411,lon:118.33756892154,lat:32.338458080903},{id:341103,name:"南谯区",parent:3411,lon:118.27082841537,lat:32.310209092866},{id:341122,name:"来安县",parent:3411,lon:118.53562960741,lat:32.473711637442},{id:341124,name:"全椒县",parent:3411,lon:118.10577829394,lat:32.069932749958},{id:341125,name:"定远县",parent:3411,lon:117.66596452497,lat:32.473258599425},{id:341126,name:"凤阳县",parent:3411,lon:117.61147230278,lat:32.792214955967},{id:341181,name:"天长市",parent:3411,lon:118.9729126449,lat:32.721213784185},{id:341182,name:"明光市",parent:3411,lon:118.14072656734,lat:32.81183581812},{id:341202,name:"颍州区",parent:3412,lon:115.72772731323,lat:32.867688563381},{id:341203,name:"颍东区",parent:3412,lon:116.03998540511,lat:32.941585109575},{id:341204,name:"颍泉区",parent:3412,lon:115.73402623147,lat:33.073509996971},{id:341221,name:"临泉县",parent:3412,lon:115.24846137013,lat:32.909769412643},{id:341222,name:"太和县",parent:3412,lon:115.64875595615,lat:33.33774827164},{id:341225,name:"阜南县",parent:3412,lon:115.65409851632,lat:32.655881179954},{id:341226,name:"颍上县",parent:3412,lon:116.26531418265,lat:32.662460220803},{id:341282,name:"界首市",parent:3412,lon:115.39864296673,lat:33.226192689105},{id:341302,name:"埇桥区",parent:3413,lon:117.15907588963,lat:33.726032251705},{id:341321,name:"砀山县",parent:3413,lon:116.42028227207,lat:34.454057242308},{id:341322,name:"萧县",parent:3413,lon:116.81242175884,lat:34.208529641052},{id:341323,name:"灵璧县",parent:3413,lon:117.54312668944,lat:33.690737031018},{id:341324,name:"泗县",parent:3413,lon:117.89035897388,lat:33.544346537362},{id:341502,name:"金安区",parent:3415,lon:116.66194105885,lat:31.631258470539},{id:341503,name:"裕安区",parent:3415,lon:116.30257286162,lat:31.753038540484},{id:341504,name:"叶集区",parent:3415,lon:116.50525268298,lat:31.755558355198},{id:341522,name:"霍邱县",parent:3415,lon:116.17352091075,lat:32.201507325967},{id:341523,name:"舒城县",parent:3415,lon:116.82855911938,lat:31.310003081421},{id:341524,name:"金寨县",parent:3415,lon:115.77931490356,lat:31.47909281966},{id:341525,name:"霍山县",parent:3415,lon:116.24667502387,lat:31.287055799576},{id:341602,name:"谯城区",parent:3416,lon:115.81281423257,lat:33.782924407833},{id:341621,name:"涡阳县",parent:3416,lon:116.22355045352,lat:33.557949046136},{id:341622,name:"蒙城县",parent:3416,lon:116.5915120873,lat:33.22304396133},{id:341623,name:"利辛县",parent:3416,lon:116.16627183049,lat:33.157375760354},{id:341702,name:"贵池区",parent:3417,lon:117.50847770852,lat:30.514085692989},{id:341721,name:"东至县",parent:3417,lon:117.00682739944,lat:30.034069906871},{id:341722,name:"石台县",parent:3417,lon:117.53828189034,lat:30.199160540051},{id:341723,name:"青阳县",parent:3417,lon:117.90815913595,lat:30.602013463857},{id:341802,name:"宣州区",parent:3418,lon:118.7978027295,lat:30.943631043255},{id:341821,name:"郎溪县",parent:3418,lon:119.16790406676,lat:31.100123797933},{id:341822,name:"广德县",parent:3418,lon:119.36471289716,lat:30.893949749016},{id:341823,name:"泾县",parent:3418,lon:118.37604020629,lat:30.599286819492},{id:341824,name:"绩溪县",parent:3418,lon:118.6637768779,lat:30.162401081144},{id:341825,name:"旌德县",parent:3418,lon:118.48289793271,lat:30.321833135921},{id:341881,name:"宁国市",parent:3418,lon:118.99702452598,lat:30.502936034943},{id:350102,name:"鼓楼区",parent:3501,lon:119.29063293961,lat:26.097871106548},{id:350103,name:"台江区",parent:3501,lon:119.32406268487,lat:26.062153767548},{id:350104,name:"仓山区",parent:3501,lon:119.33493643794,lat:26.019664381274},{id:350105,name:"马尾区",parent:3501,lon:119.51080249492,lat:26.082650321112},{id:350111,name:"晋安区",parent:3501,lon:119.31492287341,lat:26.221752079694},{id:350121,name:"闽侯县",parent:3501,lon:119.12238323588,lat:26.182432187564},{id:350122,name:"连江县",parent:3501,lon:119.5683393031,lat:26.301591411273},{id:350123,name:"罗源县",parent:3501,lon:119.46523419293,lat:26.506325719276},{id:350124,name:"闽清县",parent:3501,lon:118.77880310691,lat:26.212273389994},{id:350125,name:"永泰县",parent:3501,lon:118.79474057257,lat:25.857384057085},{id:350128,name:"平潭县",parent:3501,lon:119.76645322176,lat:25.537737674887},{id:350181,name:"福清市",parent:3501,lon:119.37754701319,lat:25.638120577122},{id:350182,name:"长乐市",parent:3501,lon:119.56271983507,lat:25.915538436925},{id:350203,name:"思明区",parent:3502,lon:118.13453488213,lat:24.468728076403},{id:350205,name:"海沧区",parent:3502,lon:117.98395590267,lat:24.53619033141},{id:350206,name:"湖里区",parent:3502,lon:118.14467575095,lat:24.521973931072},{id:350211,name:"集美区",parent:3502,lon:118.02941167016,lat:24.640972798479},{id:350212,name:"同安区",parent:3502,lon:118.11468496447,lat:24.781704734783},{id:350213,name:"翔安区",parent:3502,lon:118.28080317925,lat:24.675484915197},{id:350302,name:"城厢区",parent:3503,lon:118.95444257513,lat:25.433374872116},{id:350303,name:"涵江区",parent:3503,lon:119.07903889678,lat:25.604741724857},{id:350304,name:"荔城区",parent:3503,lon:119.07410333682,lat:25.427591842484},{id:350305,name:"秀屿区",parent:3503,lon:119.13146589277,lat:25.276364535891},{id:350322,name:"仙游县",parent:3503,lon:118.70462563885,lat:25.468258336396},{id:350402,name:"梅列区",parent:3504,lon:117.63050069122,lat:26.307448553348},{id:350403,name:"三元区",parent:3504,lon:117.51689648494,lat:26.173967139255},{id:350421,name:"明溪县",parent:3504,lon:117.21859881719,lat:26.418484134559},{id:350423,name:"清流县",parent:3504,lon:116.9211934366,lat:26.099297668335},{id:350424,name:"宁化县",parent:3504,lon:116.67811816013,lat:26.310073098848},{id:350425,name:"大田县",parent:3504,lon:117.81799668394,lat:25.797449314745},{id:350426,name:"尤溪县",parent:3504,lon:118.25386835128,lat:26.150593850717},{id:350427,name:"沙县",parent:3504,lon:117.81884600477,lat:26.446505905088},{id:350428,name:"将乐县",parent:3504,lon:117.40083967575,lat:26.732328679548},{id:350429,name:"泰宁县",parent:3504,lon:117.12565958885,lat:26.865476881883},{id:350430,name:"建宁县",parent:3504,lon:116.79307136804,lat:26.817741252365},{id:350481,name:"永安市",parent:3504,lon:117.32853545664,lat:25.919433151382},{id:350502,name:"鲤城区",parent:3505,lon:118.56845525017,lat:24.905744690408},{id:350503,name:"丰泽区",parent:3505,lon:118.6074317381,lat:24.936275095413},{id:350504,name:"洛江区",parent:3505,lon:118.64345333988,lat:25.133414113301},{id:350505,name:"泉港区",parent:3505,lon:118.81901718056,lat:25.173479375703},{id:350521,name:"惠安县",parent:3505,lon:118.80947288339,lat:24.991871443315},{id:350524,name:"安溪县",parent:3505,lon:117.91163244343,lat:25.125684138245},{id:350525,name:"永春县",parent:3505,lon:118.14097079846,lat:25.395598523493},{id:350526,name:"德化县",parent:3505,lon:118.2580388856,lat:25.674049363102},{id:350527,name:"金门县",parent:3505,lon:118.3797724059,lat:24.453685081793},{id:350581,name:"石狮市",parent:3505,lon:118.69248092208,lat:24.744894247253},{id:350582,name:"晋江市",parent:3505,lon:118.55865054225,lat:24.729638297698},{id:350583,name:"南安市",parent:3505,lon:118.38898065958,lat:25.017972545094},{id:350602,name:"芗城区",parent:3506,lon:117.63336610614,lat:24.575089413411},{id:350603,name:"龙文区",parent:3506,lon:117.70403687855,lat:24.537177249549},{id:350622,name:"云霄县",parent:3506,lon:117.3381105564,lat:23.984924590871},{id:350623,name:"漳浦县",parent:3506,lon:117.69145555574,lat:24.134610348852},{id:350624,name:"诏安县",parent:3506,lon:117.13294195697,lat:23.87404072539},{id:350625,name:"长泰县",parent:3506,lon:117.81298738987,lat:24.744593711082},{id:350626,name:"东山县",parent:3506,lon:117.42541646767,lat:23.691110309815},{id:350627,name:"南靖县",parent:3506,lon:117.29305472699,lat:24.668805586956},{id:350628,name:"平和县",parent:3506,lon:117.20072092242,lat:24.324490604831},{id:350629,name:"华安县",parent:3506,lon:117.54380454982,lat:24.918688094608},{id:350681,name:"龙海市",parent:3506,lon:117.80759027663,lat:24.398816824823},{id:350702,name:"延平区",parent:3507,lon:118.25473662436,lat:26.590155096909},{id:350703,name:"建阳区",parent:3507,lon:118.09503169529,lat:27.42298490861},{id:350721,name:"顺昌县",parent:3507,lon:117.87368081029,lat:26.908712277835},{id:350722,name:"浦城县",parent:3507,lon:118.52429759856,lat:27.945164125785},{id:350723,name:"光泽县",parent:3507,lon:117.3555359708,lat:27.655597572386},{id:350724,name:"松溪县",parent:3507,lon:118.76568912522,lat:27.610704490355},{id:350725,name:"政和县",parent:3507,lon:118.97167122766,lat:27.324781791328},{id:350781,name:"邵武市",parent:3507,lon:117.48057222854,lat:27.235197069611},{id:350782,name:"武夷山市",parent:3507,lon:118.01154264632,lat:27.748135171112},{id:350783,name:"建瓯市",parent:3507,lon:118.48514716959,lat:27.044913662799},{id:350802,name:"新罗区",parent:3508,lon:117.08632241393,lat:25.22220637939},{id:350803,name:"永定区",parent:3508,lon:116.75552020871,lat:24.733216812374},{id:350821,name:"长汀县",parent:3508,lon:116.37188399052,lat:25.696958495476},{id:350823,name:"上杭县",parent:3508,lon:116.56866906668,lat:25.126526144211},{id:350824,name:"武平县",parent:3508,lon:116.13591657582,lat:25.139021186901},{id:350825,name:"连城县",parent:3508,lon:116.82144796403,lat:25.60417681052},{id:350881,name:"漳平市",parent:3508,lon:117.45172162006,lat:25.379998346458},{id:350902,name:"蕉城区",parent:3509,lon:119.45455949068,lat:26.763865425402},{id:350921,name:"霞浦县",parent:3509,lon:119.99055111407,lat:26.868876533651},{id:350922,name:"古田县",parent:3509,lon:118.87954004139,lat:26.618899035408},{id:350923,name:"屏南县",parent:3509,lon:118.98929146416,lat:26.921561586231},{id:350924,name:"寿宁县",parent:3509,lon:119.5055198374,lat:27.426229516207},{id:350925,name:"周宁县",parent:3509,lon:119.31332559174,lat:27.094312780593},{id:350926,name:"柘荣县",parent:3509,lon:119.88752229998,lat:27.207067709716},{id:350981,name:"福安市",parent:3509,lon:119.65627713286,lat:27.055896714799},{id:350982,name:"福鼎市",parent:3509,lon:120.19830746412,lat:27.224828701234},{id:360102,name:"东湖区",parent:3601,lon:115.91014826387,lat:28.692375145425},{id:360103,name:"西湖区",parent:3601,lon:115.89894765179,lat:28.657325885604},{id:360104,name:"青云谱区",parent:3601,lon:115.9219541542,lat:28.636601455215},{id:360105,name:"湾里区",parent:3601,lon:115.75048047817,lat:28.800556903151},{id:360111,name:"青山湖区",parent:3601,lon:115.93090639742,lat:28.700848503487},{id:360112,name:"新建区",parent:3601,lon:115.97766347318,lat:28.762510375641},{id:360121,name:"南昌县",parent:3601,lon:116.07126087416,lat:28.620772037399},{id:360123,name:"安义县",parent:3601,lon:115.59520240179,lat:28.836411855907},{id:360124,name:"进贤县",parent:3601,lon:116.3174577813,lat:28.441758032984},{id:360202,name:"昌江区",parent:3602,lon:117.1861998641,lat:29.272154837188},{id:360203,name:"珠山区",parent:3602,lon:117.23411943253,lat:29.303230556708},{id:360222,name:"浮梁县",parent:3602,lon:117.30897851315,lat:29.556555537931},{id:360281,name:"乐平市",parent:3602,lon:117.27327879748,lat:28.969928213838},{id:360302,name:"安源区",parent:3603,lon:113.87886885384,lat:27.645394991779},{id:360313,name:"湘东区",parent:3603,lon:113.73981816772,lat:27.53370963141},{id:360321,name:"莲花县",parent:3603,lon:113.95977686775,lat:27.223445481289},{id:360322,name:"上栗县",parent:3603,lon:113.86780638258,lat:27.832260223294},{id:360323,name:"芦溪县",parent:3603,lon:114.07000665468,lat:27.578022564845},{id:360402,name:"濂溪区",parent:3604,lon:115.99984802155,lat:29.719639526122},{id:360403,name:"浔阳区",parent:3604,lon:116.00276787378,lat:29.717848894949},{id:360421,name:"九江县",parent:3604,lon:115.84203547109,lat:29.640229926977},{id:360423,name:"武宁县",parent:3604,lon:115.02315949078,lat:29.263844028424},{id:360424,name:"修水县",parent:3604,lon:114.4461918569,lat:29.000021311275},{id:360425,name:"永修县",parent:3604,lon:115.74247538366,lat:29.141310623242},{id:360426,name:"德安县",parent:3604,lon:115.63408426446,lat:29.401728483728},{id:360428,name:"都昌县",parent:3604,lon:116.34204769578,lat:29.356214912479},{id:360429,name:"湖口县",parent:3604,lon:116.29256118736,lat:29.66806050769},{id:360430,name:"彭泽县",parent:3604,lon:116.62933206226,lat:29.834597412665},{id:360481,name:"瑞昌市",parent:3604,lon:115.45968602847,lat:29.628544625483},{id:360482,name:"共青城市",parent:3604,lon:115.820204477,lat:29.236083846739},{id:360483,name:"庐山市",parent:3604,lon:115.98274999338,lat:29.347769476561},{id:360502,name:"渝水区",parent:3605,lon:115.00785062298,lat:27.850578117027},{id:360521,name:"分宜县",parent:3605,lon:114.67816306735,lat:27.844993335525},{id:360602,name:"月湖区",parent:3606,lon:117.05770601694,lat:28.2472053807},{id:360622,name:"余江县",parent:3606,lon:116.92157395441,lat:28.321070494465},{id:360681,name:"贵溪市",parent:3606,lon:117.19787036817,lat:28.190604458955},{id:360702,name:"章贡区",parent:3607,lon:114.93736527747,lat:25.838710922212},{id:360703,name:"南康区",parent:3607,lon:114.70979725341,lat:25.857651685208},{id:360721,name:"赣县",parent:3607,lon:115.07258602937,lat:25.90202543961},{id:360722,name:"信丰县",parent:3607,lon:114.98179982408,lat:25.286018342725},{id:360723,name:"大余县",parent:3607,lon:114.36649000169,lat:25.44847167429},{id:360724,name:"上犹县",parent:3607,lon:114.402605282,lat:25.939253373895},{id:360725,name:"崇义县",parent:3607,lon:114.19933700414,lat:25.679632268061},{id:360726,name:"安远县",parent:3607,lon:115.39661257033,lat:25.238854104103},{id:360727,name:"龙南县",parent:3607,lon:114.73182493834,lat:24.772706198589},{id:360728,name:"定南县",parent:3607,lon:115.09388033666,lat:24.824160396247},{id:360729,name:"全南县",parent:3607,lon:114.52234265684,lat:24.853232801668},{id:360730,name:"宁都县",parent:3607,lon:116.01211627388,lat:26.590232461651},{id:360731,name:"于都县",parent:3607,lon:115.50889266701,lat:25.936771660723},{id:360732,name:"兴国县",parent:3607,lon:115.44650725812,lat:26.425200601326},{id:360733,name:"会昌县",parent:3607,lon:115.76515116427,lat:25.505756516053},{id:360734,name:"寻乌县",parent:3607,lon:115.66514812504,lat:24.905101066212},{id:360735,name:"石城县",parent:3607,lon:116.37232152813,lat:26.305565307867},{id:360781,name:"瑞金市",parent:3607,lon:115.98586699622,lat:25.92183136176},{id:360802,name:"吉州区",parent:3608,lon:114.96043668241,lat:27.160925346239},{id:360803,name:"青原区",parent:3608,lon:115.2661672372,lat:26.859217102443},{id:360821,name:"吉安县",parent:3608,lon:114.75127781381,lat:27.144039043235},{id:360822,name:"吉水县",parent:3608,lon:115.2546383758,lat:27.19746539341},{id:360823,name:"峡江县",parent:3608,lon:115.2144367887,lat:27.589281248366},{id:360824,name:"新干县",parent:3608,lon:115.50683935381,lat:27.73857991921},{id:360825,name:"永丰县",parent:3608,lon:115.59283108743,lat:27.097544566001},{id:360826,name:"泰和县",parent:3608,lon:114.90935609718,lat:26.744020657469},{id:360827,name:"遂川县",parent:3608,lon:114.37058927285,lat:26.344268552348},{id:360828,name:"万安县",parent:3608,lon:114.82501601739,lat:26.444632606143},{id:360829,name:"安福县",parent:3608,lon:114.45559104078,lat:27.361338381942},{id:360830,name:"永新县",parent:3608,lon:114.18844710958,lat:26.973089209998},{id:360881,name:"井冈山市",parent:3608,lon:114.12543918071,lat:26.633149538063},{id:360902,name:"袁州区",parent:3609,lon:114.29035792969,lat:27.839383216183},{id:360921,name:"奉新县",parent:3609,lon:115.18007761153,lat:28.714689488559},{id:360922,name:"万载县",parent:3609,lon:114.33614285625,lat:28.209464188761},{id:360923,name:"上高县",parent:3609,lon:114.86095818884,lat:28.199053404375},{id:360924,name:"宜丰县",parent:3609,lon:114.77436594756,lat:28.454955048263},{id:360925,name:"靖安县",parent:3609,lon:115.23770855063,lat:28.946083546903},{id:360926,name:"铜鼓县",parent:3609,lon:114.37013409066,lat:28.615515536873},{id:360981,name:"丰城市",parent:3609,lon:115.8234035155,lat:28.11151587847},{id:360982,name:"樟树市",parent:3609,lon:115.42134592031,lat:28.002513613496},{id:360983,name:"高安市",parent:3609,lon:115.30448193078,lat:28.365231807956},{id:361002,name:"临川区",parent:3610,lon:116.36297445174,lat:27.924731514346},{id:361021,name:"南城县",parent:3610,lon:116.68173230038,lat:27.518966176458},{id:361022,name:"黎川县",parent:3610,lon:116.93171710122,lat:27.261522440114},{id:361023,name:"南丰县",parent:3610,lon:116.50036153348,lat:27.114896155721},{id:361024,name:"崇仁县",parent:3610,lon:116.0663364594,lat:27.714537232977},{id:361025,name:"乐安县",parent:3610,lon:115.8433235072,lat:27.372428601937},{id:361026,name:"宜黄县",parent:3610,lon:116.25124162127,lat:27.393066587894},{id:361027,name:"金溪县",parent:3610,lon:116.7577119166,lat:27.931491559982},{id:361028,name:"资溪县",parent:3610,lon:117.03576739532,lat:27.745228535574},{id:361029,name:"东乡县",parent:3610,lon:116.6196227029,lat:28.221297983216},{id:361030,name:"广昌县",parent:3610,lon:116.36311652024,lat:26.761885358703},{id:361102,name:"信州区",parent:3611,lon:118.05057821628,lat:28.497223477761},{id:361103,name:"广丰区",parent:3611,lon:118.2644206827,lat:28.344342110797},{id:361121,name:"上饶县",parent:3611,lon:117.94436679858,lat:28.405679688374},{id:361123,name:"玉山县",parent:3611,lon:118.16891675165,lat:28.759339988568},{id:361124,name:"铅山县",parent:3611,lon:117.71346110788,lat:28.109822141358},{id:361125,name:"横峰县",parent:3611,lon:117.64519741314,lat:28.513847494908},{id:361126,name:"弋阳县",parent:3611,lon:117.41664984164,lat:28.452236031909},{id:361127,name:"余干县",parent:3611,lon:116.62132713524,lat:28.682775556852},{id:361128,name:"鄱阳县",parent:3611,lon:116.78769263036,lat:29.243055725231},{id:361129,name:"万年县",parent:3611,lon:117.01441274225,lat:28.703236407929},{id:361130,name:"婺源县",parent:3611,lon:117.78748504184,lat:29.327231721148},{id:361181,name:"德兴市",parent:3611,lon:117.75325925179,lat:28.940751536947},{id:370102,name:"历下区",parent:3701,lon:117.10158579685,lat:36.659338577102},{id:370103,name:"市中区",parent:3701,lon:116.97943490154,lat:36.584025608593},{id:370104,name:"槐荫区",parent:3701,lon:116.89119924147,lat:36.682531368156},{id:370105,name:"天桥区",parent:3701,lon:116.98315714712,lat:36.778077694991},{id:370112,name:"历城区",parent:3701,lon:117.1908183999,lat:36.612688160201},{id:370113,name:"长清区",parent:3701,lon:116.8035523233,lat:36.428570220761},{id:370124,name:"平阴县",parent:3701,lon:116.42250204992,lat:36.203933440502},{id:370125,name:"济阳县",parent:3701,lon:117.15002119645,lat:37.032805727164},{id:370126,name:"商河县",parent:3701,lon:117.20871442383,lat:37.32594723869},{id:370181,name:"章丘市",parent:3701,lon:117.47934537885,lat:36.744883031601},{id:370202,name:"市南区",parent:3702,lon:120.37618412944,lat:36.072517005321},{id:370203,name:"市北区",parent:3702,lon:120.37849501736,lat:36.100057507009},{id:370211,name:"黄岛区",parent:3702,lon:120.16954109898,lat:36.005019406172},{id:370212,name:"崂山区",parent:3702,lon:120.58490643507,lat:36.195587169547},{id:370213,name:"李沧区",parent:3702,lon:120.43114552866,lat:36.192897252321},{id:370214,name:"城阳区",parent:3702,lon:120.34632618533,lat:36.284246909785},{id:370281,name:"胶州市",parent:3702,lon:119.95942122689,lat:36.248031458483},{id:370282,name:"即墨市",parent:3702,lon:120.52110561991,lat:36.487908601599},{id:370283,name:"平度市",parent:3702,lon:119.95106201677,lat:36.788550047135},{id:370285,name:"莱西市",parent:3702,lon:120.44283105064,lat:36.863636936232},{id:370302,name:"淄川区",parent:3703,lon:118.02018132413,lat:36.58546320707},{id:370303,name:"张店区",parent:3703,lon:118.07715128035,lat:36.816096523468},{id:370304,name:"博山区",parent:3703,lon:117.96555278725,lat:36.425426903116},{id:370305,name:"临淄区",parent:3703,lon:118.30069695082,lat:36.854244021624},{id:370306,name:"周村区",parent:3703,lon:117.87510840602,lat:36.771218733055},{id:370321,name:"桓台县",parent:3703,lon:118.0343674972,lat:36.996290174374},{id:370322,name:"高青县",parent:3703,lon:117.82824157972,lat:37.171377591723},{id:370323,name:"沂源县",parent:3703,lon:118.20397204172,lat:36.135641879756},{id:370402,name:"市中区",parent:3704,lon:117.60608168197,lat:34.870585491515},{id:370403,name:"薛城区",parent:3704,lon:117.35850706735,lat:34.796330499958},{id:370404,name:"峄城区",parent:3704,lon:117.60355623943,lat:34.716097133125},{id:370405,name:"台儿庄区",parent:3704,lon:117.63824339976,lat:34.587964202085},{id:370406,name:"山亭区",parent:3704,lon:117.48403628836,lat:35.093150446743},{id:370481,name:"滕州市",parent:3704,lon:117.1476161953,lat:35.065790871862},{id:370502,name:"东营区",parent:3705,lon:118.61264305188,lat:37.408666288041},{id:370503,name:"河口区",parent:3705,lon:118.62001162992,lat:37.969499930854},{id:370505,name:"垦利区",parent:3705,lon:118.80543474393,lat:37.708139143783},{id:370522,name:"利津县",parent:3705,lon:118.40033677253,lat:37.655326413663},{id:370523,name:"广饶县",parent:3705,lon:118.53856931196,lat:37.162071119184},{id:370602,name:"芝罘区",parent:3706,lon:121.36415635471,lat:37.520933396965},{id:370611,name:"福山区",parent:3706,lon:121.20346125307,lat:37.4810742238},{id:370612,name:"牟平区",parent:3706,lon:121.56924005155,lat:37.272445856085},{id:370613,name:"莱山区",parent:3706,lon:121.45153473051,lat:37.407476077054},{id:370634,name:"长岛县",parent:3706,lon:120.75599624581,lat:38.07745626718},{id:370681,name:"龙口市",parent:3706,lon:120.5227995064,lat:37.610401281677},{id:370682,name:"莱阳市",parent:3706,lon:120.75134338103,lat:36.905533169255},{id:370683,name:"莱州市",parent:3706,lon:120.00134352944,lat:37.190401374398},{id:370684,name:"蓬莱市",parent:3706,lon:120.86269428184,lat:37.661160410834},{id:370685,name:"招远市",parent:3706,lon:120.40051706225,lat:37.344145870524},{id:370686,name:"栖霞市",parent:3706,lon:120.9015556194,lat:37.311748207049},{id:370687,name:"海阳市",parent:3706,lon:121.11361421128,lat:36.861587988875},{id:370702,name:"潍城区",parent:3707,lon:119.03430547775,lat:36.70198215587},{id:370703,name:"寒亭区",parent:3707,lon:119.17913537725,lat:36.908365760671},{id:370704,name:"坊子区",parent:3707,lon:119.25846542234,lat:36.625674339008},{id:370705,name:"奎文区",parent:3707,lon:119.19697218249,lat:36.691227364273},{id:370724,name:"临朐县",parent:3707,lon:118.55825637254,lat:36.365388839543},{id:370725,name:"昌乐县",parent:3707,lon:118.91391393621,lat:36.535532052698},{id:370781,name:"青州市",parent:3707,lon:118.47018708791,lat:36.680584425831},{id:370782,name:"诸城市",parent:3707,lon:119.41616966208,lat:36.016657533378},{id:370783,name:"寿光市",parent:3707,lon:118.85253352124,lat:37.029891849506},{id:370784,name:"安丘市",parent:3707,lon:119.15599227984,lat:36.335046466579},{id:370785,name:"高密市",parent:3707,lon:119.70251223974,lat:36.387317992315},{id:370786,name:"昌邑市",parent:3707,lon:119.44991748822,lat:36.834234247985},{id:370811,name:"任城区",parent:3708,lon:116.57219935158,lat:35.380134737043},{id:370812,name:"兖州区",parent:3708,lon:116.75256014243,lat:35.564429514451},{id:370826,name:"微山县",parent:3708,lon:116.99240869227,lat:34.892715408071},{id:370827,name:"鱼台县",parent:3708,lon:116.57843727094,lat:35.01985835793},{id:370828,name:"金乡县",parent:3708,lon:116.31512496802,lat:35.051246098924},{id:370829,name:"嘉祥县",parent:3708,lon:116.30729105899,lat:35.434199027209},{id:370830,name:"汶上县",parent:3708,lon:116.50644367868,lat:35.715701266031},{id:370831,name:"泗水县",parent:3708,lon:117.34526415391,lat:35.640740666213},{id:370832,name:"梁山县",parent:3708,lon:116.12480570072,lat:35.801606249716},{id:370881,name:"曲阜市",parent:3708,lon:117.03178985128,lat:35.615760566258},{id:370883,name:"邹城市",parent:3708,lon:117.08958175113,lat:35.354042540878},{id:370902,name:"泰山区",parent:3709,lon:117.18390217966,lat:36.215457241311},{id:370911,name:"岱岳区",parent:3709,lon:117.19048736581,lat:36.148101133087},{id:370921,name:"宁阳县",parent:3709,lon:116.93293882598,lat:35.833600319907},{id:370923,name:"东平县",parent:3709,lon:116.34295320558,lat:35.97516090244},{id:370982,name:"新泰市",parent:3709,lon:117.61301622046,lat:35.89581023511},{id:370983,name:"肥城市",parent:3709,lon:116.74476246765,lat:36.112514344701},{id:371002,name:"环翠区",parent:3710,lon:122.15207450216,lat:37.399343698592},{id:371003,name:"文登区",parent:3710,lon:121.96829072766,lat:37.16608344728},{id:371082,name:"荣成市",parent:3710,lon:122.40692581532,lat:37.128686091876},{id:371083,name:"乳山市",parent:3710,lon:121.52978797795,lat:36.976575050291},{id:371102,name:"东港区",parent:3711,lon:119.37785169728,lat:35.469377334235},{id:371103,name:"岚山区",parent:3711,lon:119.25182522442,lat:35.292714155339},{id:371121,name:"五莲县",parent:3711,lon:119.2494328324,lat:35.744382733588},{id:371122,name:"莒县",parent:3711,lon:118.8935850849,lat:35.655874955573},{id:371202,name:"莱城区",parent:3712,lon:117.6459130158,lat:36.313394584932},{id:371203,name:"钢城区",parent:3712,lon:117.8275371813,lat:36.092835887233},{id:371302,name:"兰山区",parent:3713,lon:118.31224292902,lat:35.174844704086},{id:371311,name:"罗庄区",parent:3713,lon:118.29727935276,lat:34.964343085469},{id:371312,name:"河东区",parent:3713,lon:118.51731091285,lat:35.127030975379},{id:371321,name:"沂南县",parent:3713,lon:118.41758556843,lat:35.536723374853},{id:371322,name:"郯城县",parent:3713,lon:118.32443065841,lat:34.649855053512},{id:371323,name:"沂水县",parent:3713,lon:118.60935780958,lat:35.914368629366},{id:371324,name:"兰陵县",parent:3713,lon:118.00750944174,lat:34.862619866599},{id:371325,name:"费县",parent:3713,lon:117.98583765075,lat:35.254970793112},{id:371326,name:"平邑县",parent:3713,lon:117.68244768554,lat:35.434249996001},{id:371327,name:"莒南县",parent:3713,lon:118.89007890268,lat:35.213123220035},{id:371328,name:"蒙阴县",parent:3713,lon:118.03674237099,lat:35.747440083102},{id:371329,name:"临沭县",parent:3713,lon:118.65944529359,lat:34.885484018739},{id:371402,name:"德城区",parent:3714,lon:116.33291247583,lat:37.45743710416},{id:371403,name:"陵城区",parent:3714,lon:116.67557519942,lat:37.418030354096},{id:371422,name:"宁津县",parent:3714,lon:116.81455550432,lat:37.68562160185},{id:371423,name:"庆云县",parent:3714,lon:117.46273738393,lat:37.801823529258},{id:371424,name:"临邑县",parent:3714,lon:116.89959541702,lat:37.235892912121},{id:371425,name:"齐河县",parent:3714,lon:116.67825351242,lat:36.723454326503},{id:371426,name:"平原县",parent:3714,lon:116.43007889018,lat:37.156617614138},{id:371427,name:"夏津县",parent:3714,lon:116.03732249608,lat:37.016688548156},{id:371428,name:"武城县",parent:3714,lon:116.09122537249,lat:37.243982507441},{id:371481,name:"乐陵市",parent:3714,lon:117.14555333466,lat:37.674416911054},{id:371482,name:"禹城市",parent:3714,lon:116.58133068117,lat:36.919142889593},{id:371502,name:"东昌府区",parent:3715,lon:115.90770556753,lat:36.455829587246},{id:371521,name:"阳谷县",parent:3715,lon:115.87350298472,lat:36.146774001697},{id:371522,name:"莘县",parent:3715,lon:115.55267289485,lat:36.139121538984},{id:371523,name:"茌平县",parent:3715,lon:116.18017382824,lat:36.588519734091},{id:371524,name:"东阿县",parent:3715,lon:116.2831984139,lat:36.331642489915},{id:371525,name:"冠县",parent:3715,lon:115.54083712129,lat:36.53635700997},{id:371526,name:"高唐县",parent:3715,lon:116.25743002174,lat:36.839764457085},{id:371581,name:"临清市",parent:3715,lon:115.78260175173,lat:36.782069473113},{id:371602,name:"滨城区",parent:3716,lon:117.98121111677,lat:37.424890835984},{id:371603,name:"沾化区",parent:3716,lon:118.05636772417,lat:37.868312497909},{id:371621,name:"惠民县",parent:3716,lon:117.57898363784,lat:37.375971318454},{id:371622,name:"阳信县",parent:3716,lon:117.57342951076,lat:37.605500456412},{id:371623,name:"无棣县",parent:3716,lon:117.79778189995,lat:37.942568300077},{id:371625,name:"博兴县",parent:3716,lon:118.22571531705,lat:37.19135384581},{id:371626,name:"邹平县",parent:3716,lon:117.67080618616,lat:36.956593309429},{id:371702,name:"牡丹区",parent:3717,lon:115.47002526505,lat:35.283536562407},{id:371703,name:"定陶区",parent:3717,lon:115.57403571958,lat:35.111855206745},{id:371721,name:"曹县",parent:3717,lon:115.55360067628,lat:34.827952767182},{id:371722,name:"单县",parent:3717,lon:116.122984618,lat:34.738238141223},{id:371723,name:"成武县",parent:3717,lon:115.94498857738,lat:34.989110950657},{id:371724,name:"巨野县",parent:3717,lon:116.04113122185,lat:35.279400360462},{id:371725,name:"郓城县",parent:3717,lon:115.89463235246,lat:35.612979519727},{id:371726,name:"鄄城县",parent:3717,lon:115.55287125102,lat:35.555043149647},{id:371728,name:"东明县",parent:3717,lon:115.07411464426,lat:35.182435455789},{id:410102,name:"中原区",parent:4101,lon:113.55728142479,lat:34.779474293205},{id:410103,name:"二七区",parent:4101,lon:113.64964384986,lat:34.75661006414},{id:410104,name:"管城回族区",parent:4101,lon:113.72186105524,lat:34.70900380778},{id:410105,name:"金水区",parent:4101,lon:113.70801125038,lat:34.797406405145},{id:410106,name:"上街区",parent:4101,lon:113.29818225705,lat:34.822088918243},{id:410108,name:"惠济区",parent:4101,lon:113.62834116351,lat:34.869446814666},{id:410122,name:"中牟县",parent:4101,lon:114.01122240275,lat:34.720319012422},{id:410181,name:"巩义市",parent:4101,lon:113.03959002892,lat:34.703798883243},{id:410182,name:"荥阳市",parent:4101,lon:113.35180180957,lat:34.806179937519},{id:410183,name:"新密市",parent:4101,lon:113.43985443365,lat:34.514074899467},{id:410184,name:"新郑市",parent:4101,lon:113.73611501497,lat:34.459442752589},{id:410185,name:"登封市",parent:4101,lon:113.04174933248,lat:34.418362166819},{id:410202,name:"龙亭区",parent:4102,lon:114.34098849918,lat:34.860572766851},{id:410203,name:"顺河回族区",parent:4102,lon:114.42852744048,lat:34.81777146999},{id:410204,name:"鼓楼区",parent:4102,lon:114.34190563407,lat:34.797982546084},{id:410205,name:"禹王台区",parent:4102,lon:114.38560958232,lat:34.75102886185},{id:410211,name:"金明区",parent:4102,lon:114.34098849918,lat:34.860572766851},{id:410212,name:"祥符区",parent:4102,lon:114.43805957404,lat:34.725946945916},{id:410221,name:"杞县",parent:4102,lon:114.76878210877,lat:34.505963464038},{id:410222,name:"通许县",parent:4102,lon:114.50219933719,lat:34.441630948349},{id:410223,name:"尉氏县",parent:4102,lon:114.16103722407,lat:34.388437240132},{id:410225,name:"兰考县",parent:4102,lon:114.98029307097,lat:34.879764140336},{id:410302,name:"老城区",parent:4103,lon:112.45917255752,lat:34.704033141562},{id:410303,name:"西工区",parent:4103,lon:112.4071257244,lat:34.689693743302},{id:410304,name:"瀍河回族区",parent:4103,lon:112.50509438434,lat:34.702931706602},{id:410305,name:"涧西区",parent:4103,lon:112.39075320818,lat:34.671667591915},{id:410306,name:"吉利区",parent:4103,lon:112.58976455586,lat:34.905378745091},{id:410311,name:"洛龙区",parent:4103,lon:112.46709264771,lat:34.638792103903},{id:410322,name:"孟津县",parent:4103,lon:112.47699634585,lat:34.831148181123},{id:410323,name:"新安县",parent:4103,lon:112.12774350044,lat:34.837606946675},{id:410324,name:"栾川县",parent:4103,lon:111.61701356274,lat:33.912392483904},{id:410325,name:"嵩县",parent:4103,lon:112.04951135131,lat:34.010600110067},{id:410326,name:"汝阳县",parent:4103,lon:112.4355439591,lat:34.06296675028},{id:410327,name:"宜阳县",parent:4103,lon:112.04046789874,lat:34.486036200799},{id:410328,name:"洛宁县",parent:4103,lon:111.50679130206,lat:34.345208388992},{id:410329,name:"伊川县",parent:4103,lon:112.46887702474,lat:34.407088177948},{id:410381,name:"偃师市",parent:4103,lon:112.73482167429,lat:34.630801858346},{id:410402,name:"新华区",parent:4104,lon:113.20808222559,lat:33.771546437308},{id:410403,name:"卫东区",parent:4104,lon:113.36538845598,lat:33.769107814671},{id:410404,name:"石龙区",parent:4104,lon:112.89469073779,lat:33.892093587751},{id:410411,name:"湛河区",parent:4104,lon:113.27818922149,lat:33.71234144492},{id:410421,name:"宝丰县",parent:4104,lon:113.03577147499,lat:33.915497347446},{id:410422,name:"叶县",parent:4104,lon:113.3506762416,lat:33.551013481912},{id:410423,name:"鲁山县",parent:4104,lon:112.74030934124,lat:33.748697388191},{id:410425,name:"郏县",parent:4104,lon:113.23328182561,lat:34.005498968871},{id:410481,name:"舞钢市",parent:4104,lon:113.52599604654,lat:33.289605497055},{id:410482,name:"汝州市",parent:4104,lon:112.8127174803,lat:34.162777545453},{id:410502,name:"文峰区",parent:4105,lon:114.41852222061,lat:36.034147665845},{id:410503,name:"北关区",parent:4105,lon:114.39143588406,lat:36.141695896219},{id:410505,name:"殷都区",parent:4105,lon:114.29712997501,lat:36.135573231517},{id:410506,name:"龙安区",parent:4105,lon:114.25660364057,lat:36.056024537571},{id:410522,name:"安阳县",parent:4105,lon:114.31712430011,lat:36.125134517065},{id:410523,name:"汤阴县",parent:4105,lon:114.46206281377,lat:35.907982338855},{id:410526,name:"滑县",parent:4105,lon:114.67364721954,lat:35.471733779112},{id:410527,name:"内黄县",parent:4105,lon:114.82334356443,lat:35.906569063676},{id:410581,name:"林州市",parent:4105,lon:113.86108354948,lat:36.016561032268},{id:410602,name:"鹤山区",parent:4106,lon:114.09845417079,lat:35.973345969386},{id:410603,name:"山城区",parent:4106,lon:114.25302901346,lat:35.927453768113},{id:410611,name:"淇滨区",parent:4106,lon:114.19951434914,lat:35.812418921012},{id:410621,name:"浚县",parent:4106,lon:114.46718581475,lat:35.686206113273},{id:410622,name:"淇县",parent:4106,lon:114.16903374394,lat:35.667571747251},{id:410702,name:"红旗区",parent:4107,lon:113.91461891258,lat:35.286150085139},{id:410703,name:"卫滨区",parent:4107,lon:113.86463773299,lat:35.294831576876},{id:410704,name:"凤泉区",parent:4107,lon:113.86418902939,lat:35.399318437608},{id:410711,name:"牧野区",parent:4107,lon:113.89672215157,lat:35.338890167673},{id:410721,name:"新乡县",parent:4107,lon:113.84824573704,lat:35.220522070112},{id:410724,name:"获嘉县",parent:4107,lon:113.65196887023,lat:35.203480558843},{id:410725,name:"原阳县",parent:4107,lon:113.95316420007,lat:35.029035610429},{id:410726,name:"延津县",parent:4107,lon:114.23135664543,lat:35.279607523872},{id:410727,name:"封丘县",parent:4107,lon:114.48767812651,lat:35.040384096253},{id:410728,name:"长垣县",parent:4107,lon:114.76690326799,lat:35.218127613796},{id:410781,name:"卫辉市",parent:4107,lon:114.07811240389,lat:35.499572079266},{id:410782,name:"辉县市",parent:4107,lon:113.68789198968,lat:35.543594465927},{id:410802,name:"解放区",parent:4108,lon:113.23080396516,lat:35.241712363011},{id:410803,name:"中站区",parent:4108,lon:113.16153562728,lat:35.257023702543},{id:410804,name:"马村区",parent:4108,lon:113.36732116029,lat:35.304171016133},{id:410811,name:"山阳区",parent:4108,lon:113.27635056977,lat:35.241160124283},{id:410821,name:"修武县",parent:4108,lon:113.36352820836,lat:35.309677964198},{id:410822,name:"博爱县",parent:4108,lon:113.07507819608,lat:35.186007002113},{id:410823,name:"武陟县",parent:4108,lon:113.39993452059,lat:35.057332269363},{id:410825,name:"温县",parent:4108,lon:113.05529612566,lat:34.950259905072},{id:410882,name:"沁阳市",parent:4108,lon:112.8883049259,lat:35.133826023222},{id:410883,name:"孟州市",parent:4108,lon:112.76969911916,lat:34.925884390003},{id:410902,name:"华龙区",parent:4109,lon:115.04809659609,lat:35.77193370823},{id:410922,name:"清丰县",parent:4109,lon:115.1612013425,lat:35.924381925846},{id:410923,name:"南乐县",parent:4109,lon:115.24982310475,lat:36.097697402715},{id:410926,name:"范县",parent:4109,lon:115.53840075342,lat:35.801404731968},{id:410927,name:"台前县",parent:4109,lon:115.88573804863,lat:35.966389126572},{id:410928,name:"濮阳县",parent:4109,lon:115.15660204659,lat:35.59228702617},{id:411002,name:"魏都区",parent:4110,lon:113.82531644192,lat:34.043477065508},{id:411023,name:"许昌县",parent:4110,lon:113.83526207686,lat:34.048516339751},{id:411024,name:"鄢陵县",parent:4110,lon:114.20240879522,lat:34.01192963976},{id:411025,name:"襄城县",parent:4110,lon:113.56898289597,lat:33.86190518971},{id:411081,name:"禹州市",parent:4110,lon:113.39269360872,lat:34.200307558026},{id:411082,name:"长葛市",parent:4110,lon:113.85556820652,lat:34.236601226737},{id:411102,name:"源汇区",parent:4111,lon:113.92360106938,lat:33.53475547247},{id:411103,name:"郾城区",parent:4111,lon:113.94136182694,lat:33.670703809923},{id:411104,name:"召陵区",parent:4111,lon:114.18514173047,lat:33.57798961468},{id:411121,name:"舞阳县",parent:4111,lon:113.68005525753,lat:33.549301454759},{id:411122,name:"临颍县",parent:4111,lon:113.96389863435,lat:33.844425731931},{id:411202,name:"湖滨区",parent:4112,lon:111.28129514586,lat:34.771777672947},{id:411203,name:"陕州区",parent:4112,lon:111.38347360282,lat:34.642257128616},{id:411221,name:"渑池县",parent:4112,lon:111.80253536998,lat:34.839691429224},{id:411224,name:"卢氏县",parent:4112,lon:110.99472361928,lat:33.973393506457},{id:411281,name:"义马市",parent:4112,lon:111.90609266704,lat:34.749524796841},{id:411282,name:"灵宝市",parent:4112,lon:110.77973742779,lat:34.437104010525},{id:411302,name:"宛城区",parent:4113,lon:112.61390774771,lat:32.934703186447},{id:411303,name:"卧龙区",parent:4113,lon:112.48426735075,lat:33.009838704626},{id:411321,name:"南召县",parent:4113,lon:112.39366620514,lat:33.472841576965},{id:411322,name:"方城县",parent:4113,lon:113.01682220295,lat:33.29995432977},{id:411323,name:"西峡县",parent:4113,lon:111.43898978054,lat:33.48692481474},{id:411324,name:"镇平县",parent:4113,lon:112.19328453943,lat:33.070817074221},{id:411325,name:"内乡县",parent:4113,lon:111.8474050987,lat:33.224377176241},{id:411326,name:"淅川县",parent:4113,lon:111.44539628251,lat:32.989722669393},{id:411327,name:"社旗县",parent:4113,lon:112.99852720955,lat:32.982431382713},{id:411328,name:"唐河县",parent:4113,lon:112.85911827542,lat:32.619993292449},{id:411329,name:"新野县",parent:4113,lon:112.41599071451,lat:32.553440600793},{id:411330,name:"桐柏县",parent:4113,lon:113.43416900109,lat:32.495650299965},{id:411381,name:"邓州市",parent:4113,lon:112.0568605764,lat:32.684649552173},{id:411402,name:"梁园区",parent:4114,lon:115.63773066554,lat:34.5030395946},{id:411403,name:"睢阳区",parent:4114,lon:115.58978387844,lat:34.286754693787},{id:411421,name:"民权县",parent:4114,lon:115.17841405829,lat:34.696116524323},{id:411422,name:"睢县",parent:4114,lon:115.04300110058,lat:34.39975982873},{id:411423,name:"宁陵县",parent:4114,lon:115.29840053317,lat:34.454601801008},{id:411424,name:"柘城县",parent:4114,lon:115.30904185846,lat:34.111651823091},{id:411425,name:"虞城县",parent:4114,lon:115.9142248589,lat:34.36907192525},{id:411426,name:"夏邑县",parent:4114,lon:116.15745373108,lat:34.223680706067},{id:411481,name:"永城市",parent:4114,lon:116.33077515791,lat:33.972013062908},{id:411502,name:"浉河区",parent:4115,lon:113.96277662182,lat:32.031339669892},{id:411503,name:"平桥区",parent:4115,lon:114.1390859663,lat:32.307840062297},{id:411521,name:"罗山县",parent:4115,lon:114.44356295731,lat:32.031230299697},{id:411522,name:"光山县",parent:4115,lon:114.84316193505,lat:31.941431722351},{id:411523,name:"新县",parent:4115,lon:114.85908905243,lat:31.646279005794},{id:411524,name:"商城县",parent:4115,lon:115.37524581828,lat:31.766261672209},{id:411525,name:"固始县",parent:4115,lon:115.70974321125,lat:32.13694390485},{id:411526,name:"潢川县",parent:4115,lon:115.16440991805,lat:32.132798426222},{id:411527,name:"淮滨县",parent:4115,lon:115.32456065214,lat:32.44657354908},{id:411528,name:"息县",parent:4115,lon:114.87168181062,lat:32.410808174844},{id:411602,name:"川汇区",parent:4116,lon:114.65795015653,lat:33.630875553438},{id:411621,name:"扶沟县",parent:4116,lon:114.43732658093,lat:34.100655472765},{id:411622,name:"西华县",parent:4116,lon:114.47808721231,lat:33.793632327288},{id:411623,name:"商水县",parent:4116,lon:114.5595768694,lat:33.52093272236},{id:411624,name:"沈丘县",parent:4116,lon:115.17871821127,lat:33.295149932293},{id:411625,name:"郸城县",parent:4116,lon:115.30129735228,lat:33.641500072188},{id:411626,name:"淮阳县",parent:4116,lon:114.90201820622,lat:33.709946652498},{id:411627,name:"太康县",parent:4116,lon:114.85570075514,lat:34.097096248874},{id:411628,name:"鹿邑县",parent:4116,lon:115.38398333433,lat:33.894050509383},{id:411681,name:"项城市",parent:4116,lon:114.89338047633,lat:33.274470322798},{id:411702,name:"驿城区",parent:4117,lon:114.00828960502,lat:32.968356527361},{id:411721,name:"西平县",parent:4117,lon:113.92283839684,lat:33.37154892996},{id:411722,name:"上蔡县",parent:4117,lon:114.40923857452,lat:33.301221213377},{id:411723,name:"平舆县",parent:4117,lon:114.64744862019,lat:32.992143963522},{id:411724,name:"正阳县",parent:4117,lon:114.49796073761,lat:32.546931233463},{id:411725,name:"确山县",parent:4117,lon:113.96358973796,lat:32.711951228899},{id:411726,name:"泌阳县",parent:4117,lon:113.44717429859,lat:32.883863636522},{id:411727,name:"汝南县",parent:4117,lon:114.3257758188,lat:32.921968466052},{id:411728,name:"遂平县",parent:4117,lon:113.90248496569,lat:33.167855168478},{id:411729,name:"新蔡县",parent:4117,lon:114.94939334965,lat:32.783574270118},{id:419001,name:"济源市",parent:4190,lon:112.40383005708,lat:35.093893094508},{id:420102,name:"江岸区",parent:4201,lon:114.33286813952,lat:30.656090889378},{id:420103,name:"江汉区",parent:4201,lon:114.26638369307,lat:30.610951375707},{id:420104,name:"硚口区",parent:4201,lon:114.21975676824,lat:30.603890608484},{id:420105,name:"汉阳区",parent:4201,lon:114.21759191464,lat:30.547265210116},{id:420106,name:"武昌区",parent:4201,lon:114.35362228468,lat:30.564860292785},{id:420107,name:"青山区",parent:4201,lon:114.44449542245,lat:30.633205056354},{id:420111,name:"洪山区",parent:4201,lon:114.43389643664,lat:30.54362328175},{id:420112,name:"东西湖区",parent:4201,lon:114.08715512184,lat:30.69815326481},{id:420113,name:"汉南区",parent:4201,lon:113.96273175623,lat:30.287139798861},{id:420114,name:"蔡甸区",parent:4201,lon:113.97206459286,lat:30.456183515878},{id:420115,name:"江夏区",parent:4201,lon:114.36708160048,lat:30.252484112134},{id:420116,name:"黄陂区",parent:4201,lon:114.36464422879,lat:30.985285897674},{id:420117,name:"新洲区",parent:4201,lon:114.76208468205,lat:30.803887901859},{id:420202,name:"黄石港区",parent:4202,lon:115.0731593966,lat:30.233764966969},{id:420203,name:"西塞山区",parent:4202,lon:115.1322665517,lat:30.184485507434},{id:420204,name:"下陆区",parent:4202,lon:114.99298679763,lat:30.195818128952},{id:420205,name:"铁山区",parent:4202,lon:114.90300946351,lat:30.218698027629},{id:420222,name:"阳新县",parent:4202,lon:115.14049262648,lat:29.828087088129},{id:420281,name:"大冶市",parent:4202,lon:114.84614160381,lat:30.072895848258},{id:420302,name:"茅箭区",parent:4203,lon:110.78595269258,lat:32.605601870191},{id:420303,name:"张湾区",parent:4203,lon:110.7174012025,lat:32.663839857981},{id:420304,name:"郧阳区",parent:4203,lon:110.70709242813,lat:32.848666872},{id:420322,name:"郧西县",parent:4203,lon:110.15015123042,lat:33.04842762997},{id:420323,name:"竹山县",parent:4203,lon:110.07273955599,lat:32.240141680909},{id:420324,name:"竹溪县",parent:4203,lon:109.7912365606,lat:32.0377375614},{id:420325,name:"房县",parent:4203,lon:110.71456120963,lat:31.896989987694},{id:420381,name:"丹江口市",parent:4203,lon:111.19322791899,lat:32.567476506858},{id:420502,name:"西陵区",parent:4205,lon:111.31370556274,lat:30.740828168194},{id:420503,name:"伍家岗区",parent:4205,lon:111.380922081,lat:30.678659340635},{id:420504,name:"点军区",parent:4205,lon:111.21627903018,lat:30.625384685781},{id:420505,name:"猇亭区",parent:4205,lon:111.45521482125,lat:30.551849254685},{id:420506,name:"夷陵区",parent:4205,lon:111.31064943757,lat:30.979970536584},{id:420525,name:"远安县",parent:4205,lon:111.58511301877,lat:31.176854341724},{id:420526,name:"兴山县",parent:4205,lon:110.82440565254,lat:31.319349537746},{id:420527,name:"秭归县",parent:4205,lon:110.68599344932,lat:30.903334635073},{id:420528,name:"长阳土家族自治县",parent:4205,lon:110.85396847661,lat:30.482854820654},{id:420529,name:"五峰土家族自治县",parent:4205,lon:110.70999872376,lat:30.173164959818},{id:420581,name:"宜都市",parent:4205,lon:111.37553355505,lat:30.294919731409},{id:420582,name:"当阳市",parent:4205,lon:111.84271236769,lat:30.825538036113},{id:420583,name:"枝江市",parent:4205,lon:111.72856708021,lat:30.451766635038},{id:420602,name:"襄城区",parent:4206,lon:112.01708254994,lat:31.935360283633},{id:420606,name:"樊城区",parent:4206,lon:111.92852759276,lat:32.153953344009},{id:420607,name:"襄州区",parent:4206,lon:112.1615782359,lat:32.161267821333},{id:420624,name:"南漳县",parent:4206,lon:111.76462860893,lat:31.643279800381},{id:420625,name:"谷城县",parent:4206,lon:111.49595776173,lat:32.173451559392},{id:420626,name:"保康县",parent:4206,lon:111.20990495958,lat:31.719672647836},{id:420682,name:"老河口市",parent:4206,lon:111.76583021988,lat:32.434165591299},{id:420683,name:"枣阳市",parent:4206,lon:112.77260678733,lat:32.092510578007},{id:420684,name:"宜城市",parent:4206,lon:112.37274539501,lat:31.673335169944},{id:420702,name:"梁子湖区",parent:4207,lon:114.65002920477,lat:30.172732100474},{id:420703,name:"华容区",parent:4207,lon:114.7014718376,lat:30.473067617235},{id:420704,name:"鄂城区",parent:4207,lon:114.90101603375,lat:30.320603111112},{id:420802,name:"东宝区",parent:4208,lon:112.08731072725,lat:31.129834655672},{id:420804,name:"掇刀区",parent:4208,lon:112.19392270314,lat:30.932878257728},{id:420821,name:"京山县",parent:4208,lon:113.1122609366,lat:31.085751895572},{id:420822,name:"沙洋县",parent:4208,lon:112.39598267744,lat:30.664549510743},{id:420881,name:"钟祥市",parent:4208,lon:112.58482623119,lat:31.244981073964},{id:420902,name:"孝南区",parent:4209,lon:114.01614199013,lat:30.9446167023},{id:420921,name:"孝昌县",parent:4209,lon:114.03487209446,lat:31.239758867241},{id:420922,name:"大悟县",parent:4209,lon:114.31029950549,lat:31.57825524841},{id:420923,name:"云梦县",parent:4209,lon:113.77818589474,lat:31.004978516713},{id:420981,name:"应城市",parent:4209,lon:113.55644020385,lat:30.925709286687},{id:420982,name:"安陆市",parent:4209,lon:113.63338728419,lat:31.304354863067},{id:420984,name:"汉川市",parent:4209,lon:113.68167835943,lat:30.622039213976},{id:421002,name:"沙市区",parent:4210,lon:112.42410926804,lat:30.325722718965},{id:421003,name:"荆州区",parent:4210,lon:112.09985718065,lat:30.396103360853},{id:421022,name:"公安县",parent:4210,lon:112.15361758468,lat:29.957130184896},{id:421023,name:"监利县",parent:4210,lon:113.0019564425,lat:29.848933249111},{id:421024,name:"江陵县",parent:4210,lon:112.47370114506,lat:30.101502949806},{id:421081,name:"石首市",parent:4210,lon:112.51435972656,lat:29.742222414324},{id:421083,name:"洪湖市",parent:4210,lon:113.53891465228,lat:29.996772000415},{id:421087,name:"松滋市",parent:4210,lon:111.69620454012,lat:30.105224314496},{id:421102,name:"黄州区",parent:4211,lon:114.94956939748,lat:30.518802478736},{id:421121,name:"团风县",parent:4211,lon:115.01408720557,lat:30.723706101243},{id:421122,name:"红安县",parent:4211,lon:114.62811879353,lat:31.29012275323},{id:421123,name:"罗田县",parent:4211,lon:115.48102224121,lat:30.932372750757},{id:421124,name:"英山县",parent:4211,lon:115.77430241642,lat:30.872992046545},{id:421125,name:"浠水县",parent:4211,lon:115.27625105135,lat:30.507400278808},{id:421126,name:"蕲春县",parent:4211,lon:115.60077083531,lat:30.328717011744},{id:421127,name:"黄梅县",parent:4211,lon:115.94188335896,lat:29.998875662753},{id:421181,name:"麻城市",parent:4211,lon:115.08971464087,lat:31.217943121813},{id:421182,name:"武穴市",parent:4211,lon:115.62583375392,lat:30.01561431062},{id:421202,name:"咸安区",parent:4212,lon:114.39186727646,lat:29.854650359958},{id:421221,name:"嘉鱼县",parent:4212,lon:113.9671389967,lat:30.013807145954},{id:421222,name:"通城县",parent:4212,lon:113.85326552547,lat:29.229496067967},{id:421223,name:"崇阳县",parent:4212,lon:114.06793496135,lat:29.46178869538},{id:421224,name:"通山县",parent:4212,lon:114.61524564759,lat:29.557670344417},{id:421281,name:"赤壁市",parent:4212,lon:113.88916760653,lat:29.742560741036},{id:421303,name:"曾都区",parent:4213,lon:113.46768060015,lat:31.607981069768},{id:421321,name:"随县",parent:4213,lon:113.26226604576,lat:31.89292220952},{id:421381,name:"广水市",parent:4213,lon:113.81261910549,lat:31.68232502305},{id:422801,name:"恩施市",parent:4228,lon:109.15843052724,lat:30.463309797502},{id:422802,name:"利川市",parent:4228,lon:108.75827737341,lat:30.42403337354},{id:422822,name:"建始县",parent:4228,lon:109.93959920981,lat:30.578575985623},{id:422823,name:"巴东县",parent:4228,lon:110.30061735767,lat:30.827452858588},{id:422825,name:"宣恩县",parent:4228,lon:109.45211696118,lat:30.044021286424},{id:422826,name:"咸丰县",parent:4228,lon:109.11475831378,lat:29.64880608709},{id:422827,name:"来凤县",parent:4228,lon:109.2467141194,lat:29.425663227736},{id:422828,name:"鹤峰县",parent:4228,lon:110.2232960585,lat:29.959848783933},{id:429004,name:"仙桃市",parent:4290,lon:113.38744819358,lat:30.293966004922},{id:429005,name:"潜江市",parent:4290,lon:112.76876801686,lat:30.343115792601},{id:429006,name:"天门市",parent:4290,lon:113.12623048765,lat:30.649047356422},{id:429021,name:"神农架林区",parent:4290,lon:110.48723070015,lat:31.595767599083},{id:430102,name:"芙蓉区",parent:4301,lon:113.02096885649,lat:28.203810552355},{id:430103,name:"天心区",parent:4301,lon:112.99619520748,lat:28.144470861087},{id:430104,name:"岳麓区",parent:4301,lon:112.90869935253,lat:28.202706634928},{id:430105,name:"开福区",parent:4301,lon:113.02472997183,lat:28.260219056422},{id:430111,name:"雨花区",parent:4301,lon:113.02020071545,lat:28.146444362118},{id:430112,name:"望城区",parent:4301,lon:112.84853518023,lat:28.277901873199},{id:430121,name:"长沙县",parent:4301,lon:113.22494603976,lat:28.322758625178},{id:430124,name:"宁乡县",parent:4301,lon:112.36046547366,lat:28.131212630242},{id:430181,name:"浏阳市",parent:4301,lon:113.72198528266,lat:28.234472053802},{id:430202,name:"荷塘区",parent:4302,lon:113.2125259488,lat:27.907228809861},{id:430203,name:"芦淞区",parent:4302,lon:113.16975977942,lat:27.822072525123},{id:430204,name:"石峰区",parent:4302,lon:113.16351107646,lat:27.941584145955},{id:430211,name:"天元区",parent:4302,lon:113.06800898383,lat:27.77777212283},{id:430221,name:"株洲县",parent:4302,lon:113.15334777322,lat:27.535936240494},{id:430223,name:"攸县",parent:4302,lon:113.48783136261,lat:27.172267738735},{id:430224,name:"茶陵县",parent:4302,lon:113.6524812712,lat:26.806729309467},{id:430225,name:"炎陵县",parent:4302,lon:113.85053602814,lat:26.382712485446},{id:430281,name:"醴陵市",parent:4302,lon:113.47062497305,lat:27.662278573878},{id:430302,name:"雨湖区",parent:4303,lon:112.89447989496,lat:27.871843464684},{id:430304,name:"岳塘区",parent:4303,lon:113.02348797463,lat:27.927747363022},{id:430321,name:"湘潭县",parent:4303,lon:112.78880535021,lat:27.66922281069},{id:430381,name:"湘乡市",parent:4303,lon:112.35516854771,lat:27.77667974388},{id:430382,name:"韶山市",parent:4303,lon:112.53309503972,lat:27.927332779842},{id:430405,name:"珠晖区",parent:4304,lon:112.68848999752,lat:26.882224641246},{id:430406,name:"雁峰区",parent:4304,lon:112.60790741194,lat:26.852862113311},{id:430407,name:"石鼓区",parent:4304,lon:112.60248766531,lat:26.958880199218},{id:430408,name:"蒸湘区",parent:4304,lon:112.5550474327,lat:26.886508776556},{id:430412,name:"南岳区",parent:4304,lon:112.70876706188,lat:27.259358565856},{id:430421,name:"衡阳县",parent:4304,lon:112.35157940823,lat:27.109626113862},{id:430422,name:"衡南县",parent:4304,lon:112.64851378595,lat:26.759844895044},{id:430423,name:"衡山县",parent:4304,lon:112.71963002036,lat:27.281912376828},{id:430424,name:"衡东县",parent:4304,lon:113.02900158518,lat:27.085080215257},{id:430426,name:"祁东县",parent:4304,lon:111.96160590404,lat:26.806848291159},{id:430481,name:"耒阳市",parent:4304,lon:112.9215515181,lat:26.423992793417},{id:430482,name:"常宁市",parent:4304,lon:112.43550437188,lat:26.365629347663},{id:430502,name:"双清区",parent:4305,lon:111.54534736863,lat:27.248222019138},{id:430503,name:"大祥区",parent:4305,lon:111.48663933069,lat:27.15673687542},{id:430511,name:"北塔区",parent:4305,lon:111.42227870533,lat:27.250338344113},{id:430521,name:"邵东县",parent:4305,lon:111.85672034136,lat:27.193653689477},{id:430522,name:"新邵县",parent:4305,lon:111.47127474176,lat:27.431198790186},{id:430523,name:"邵阳县",parent:4305,lon:111.33237232124,lat:26.984976684914},{id:430524,name:"隆回县",parent:4305,lon:110.97332605607,lat:27.351830793846},{id:430525,name:"洞口县",parent:4305,lon:110.5997390171,lat:27.103195627285},{id:430527,name:"绥宁县",parent:4305,lon:110.20598518573,lat:26.714433355354},{id:430528,name:"新宁县",parent:4305,lon:110.92469767578,lat:26.548580699981},{id:430529,name:"城步苗族自治县",parent:4305,lon:110.32530265472,lat:26.325514573582},{id:430581,name:"武冈市",parent:4305,lon:110.74581533919,lat:26.786578072622},{id:430602,name:"岳阳楼区",parent:4306,lon:113.15536982346,lat:29.367743455935},{id:430603,name:"云溪区",parent:4306,lon:113.35377424951,lat:29.526210726593},{id:430611,name:"君山区",parent:4306,lon:112.82353001902,lat:29.461963175999},{id:430621,name:"岳阳县",parent:4306,lon:113.23752715256,lat:29.178498531192},{id:430623,name:"华容县",parent:4306,lon:112.65100948964,lat:29.493395834151},{id:430624,name:"湘阴县",parent:4306,lon:112.8053736108,lat:28.713089704815},{id:430626,name:"平江县",parent:4306,lon:113.72084646866,lat:28.762202955269},{id:430681,name:"汨罗市",parent:4306,lon:113.12502676793,lat:28.801958087001},{id:430682,name:"临湘市",parent:4306,lon:113.51974938156,lat:29.496146011064},{id:430702,name:"武陵区",parent:4307,lon:111.69744989482,lat:28.996871241883},{id:430703,name:"鼎城区",parent:4307,lon:111.74779560677,lat:28.99524298628},{id:430721,name:"安乡县",parent:4307,lon:112.16243681004,lat:29.448996008449},{id:430722,name:"汉寿县",parent:4307,lon:112.04431060341,lat:28.864800229907},{id:430723,name:"澧县",parent:4307,lon:111.70770306732,lat:29.750168137633},{id:430724,name:"临澧县",parent:4307,lon:111.62542246954,lat:29.486256878123},{id:430725,name:"桃源县",parent:4307,lon:111.27070654871,lat:28.917817681602},{id:430726,name:"石门县",parent:4307,lon:111.04428685665,lat:29.801742760215},{id:430781,name:"津市市",parent:4307,lon:111.90685042221,lat:29.474442427089},{id:430802,name:"永定区",parent:4308,lon:110.50100729665,lat:29.08853881247},{id:430811,name:"武陵源区",parent:4308,lon:110.48849578734,lat:29.35720050871},{id:430821,name:"慈利县",parent:4308,lon:110.9362003537,lat:29.397692771035},{id:430822,name:"桑植县",parent:4308,lon:110.18733600686,lat:29.567691591611},{id:430902,name:"资阳区",parent:4309,lon:112.34312135279,lat:28.694069428897},{id:430903,name:"赫山区",parent:4309,lon:112.46132362565,lat:28.456919373898},{id:430921,name:"南县",parent:4309,lon:112.4444992186,lat:29.242714345729},{id:430922,name:"桃江县",parent:4309,lon:111.99046415183,lat:28.464142378681},{id:430923,name:"安化县",parent:4309,lon:111.39078157302,lat:28.286580101198},{id:430981,name:"沅江市",parent:4309,lon:112.56494222194,lat:28.977186044013},{id:431002,name:"北湖区",parent:4310,lon:112.88447564616,lat:25.679158376796},{id:431003,name:"苏仙区",parent:4310,lon:113.05100154527,lat:25.773515156215},{id:431021,name:"桂阳县",parent:4310,lon:112.60810756507,lat:25.893490018268},{id:431022,name:"宜章县",parent:4310,lon:112.93344735219,lat:25.275886554538},{id:431023,name:"永兴县",parent:4310,lon:113.19839325538,lat:26.216491688814},{id:431024,name:"嘉禾县",parent:4310,lon:112.41435261569,lat:25.637287293573},{id:431025,name:"临武县",parent:4310,lon:112.56804110466,lat:25.34399717934},{id:431026,name:"汝城县",parent:4310,lon:113.67767672321,lat:25.555136753643},{id:431027,name:"桂东县",parent:4310,lon:113.90640126356,lat:25.98664473819},{id:431028,name:"安仁县",parent:4310,lon:113.3656988724,lat:26.580785897827},{id:431081,name:"资兴市",parent:4310,lon:113.4685220784,lat:25.937184405929},{id:431102,name:"零陵区",parent:4311,lon:111.56391866724,lat:26.102311299933},{id:431103,name:"冷水滩区",parent:4311,lon:111.6215855691,lat:26.560381677834},{id:431121,name:"祁阳县",parent:4311,lon:111.97259355447,lat:26.460846002508},{id:431122,name:"东安县",parent:4311,lon:111.3428094117,lat:26.495587621014},{id:431123,name:"双牌县",parent:4311,lon:111.71629417694,lat:25.914932997744},{id:431124,name:"道县",parent:4311,lon:111.60204209765,lat:25.499396959983},{id:431125,name:"江永县",parent:4311,lon:111.25388667817,lat:25.199988241379},{id:431126,name:"宁远县",parent:4311,lon:111.98806316398,lat:25.653839564231},{id:431127,name:"蓝山县",parent:4311,lon:112.1963927883,lat:25.319502616064},{id:431128,name:"新田县",parent:4311,lon:112.23480727989,lat:25.890527389354},{id:431129,name:"江华瑶族自治县",parent:4311,lon:111.75249569192,lat:24.977642122796},{id:431202,name:"鹤城区",parent:4312,lon:109.94553900894,lat:27.612024135064},{id:431221,name:"中方县",parent:4312,lon:110.16536245669,lat:27.52093513528},{id:431222,name:"沅陵县",parent:4312,lon:110.60117801132,lat:28.576604506247},{id:431223,name:"辰溪县",parent:4312,lon:110.27300890779,lat:27.895902086692},{id:431224,name:"溆浦县",parent:4312,lon:110.65858111747,lat:27.83590994386},{id:431225,name:"会同县",parent:4312,lon:109.8099454141,lat:26.914136373938},{id:431226,name:"麻阳苗族自治县",parent:4312,lon:109.72917909558,lat:27.791375726707},{id:431227,name:"新晃侗族自治县",parent:4312,lon:109.1687410593,lat:27.234509109112},{id:431228,name:"芷江侗族自治县",parent:4312,lon:109.61110485123,lat:27.402510416382},{id:431229,name:"靖州苗族侗族自治县",parent:4312,lon:109.59083349436,lat:26.550430723333},{id:431230,name:"通道侗族自治县",parent:4312,lon:109.7446605455,lat:26.215115332486},{id:431281,name:"洪江市",parent:4312,lon:110.08719342097,lat:27.239105321481},{id:431302,name:"娄星区",parent:4313,lon:112.00461910688,lat:27.766945342839},{id:431321,name:"双峰县",parent:4313,lon:112.18792282367,lat:27.465564445594},{id:431322,name:"新化县",parent:4313,lon:111.24684472009,lat:27.873272599439},{id:431381,name:"冷水江市",parent:4313,lon:111.49394197482,lat:27.684914712556},{id:431382,name:"涟源市",parent:4313,lon:111.79458146238,lat:27.743727453351},{id:433101,name:"吉首市",parent:4331,lon:109.90596604398,lat:28.297553747059},{id:433122,name:"泸溪县",parent:4331,lon:109.83368299284,lat:28.004620053587},{id:433123,name:"凤凰县",parent:4331,lon:109.627609014,lat:28.128806804716},{id:433124,name:"花垣县",parent:4331,lon:109.45712787573,lat:28.573833156579},{id:433125,name:"保靖县",parent:4331,lon:109.69701784684,lat:28.653191600514},{id:433126,name:"古丈县",parent:4331,lon:110.00814905055,lat:28.603594321825},{id:433127,name:"永顺县",parent:4331,lon:109.95878299439,lat:28.753308819921},{id:433130,name:"龙山县",parent:4331,lon:109.44489996147,lat:29.458093683151},{id:440103,name:"荔湾区",parent:4401,lon:113.23442278391,lat:23.093666203644},{id:440104,name:"越秀区",parent:4401,lon:113.28783302666,lat:23.139277859339},{id:440105,name:"海珠区",parent:4401,lon:113.33384126613,lat:23.087629228789},{id:440106,name:"天河区",parent:4401,lon:113.38564289133,lat:23.166129265425},{id:440111,name:"白云区",parent:4401,lon:113.33130628641,lat:23.294514083014},{id:440112,name:"黄埔区",parent:4401,lon:113.49288457425,lat:23.108711814239},{id:440113,name:"番禺区",parent:4401,lon:113.41679952965,lat:22.934590795798},{id:440114,name:"花都区",parent:4401,lon:113.22017551212,lat:23.446660997141},{id:440115,name:"南沙区",parent:4401,lon:113.58022392527,lat:22.729893804121},{id:440117,name:"从化区",parent:4401,lon:113.69870948609,lat:23.705203224537},{id:440118,name:"增城区",parent:4401,lon:113.77002334194,lat:23.332025887963},{id:440203,name:"武江区",parent:4402,lon:113.37960618165,lat:24.708193228698},{id:440204,name:"浈江区",parent:4402,lon:113.57745027759,lat:24.919162254549},{id:440205,name:"曲江区",parent:4402,lon:113.64217762719,lat:24.651897914445},{id:440222,name:"始兴县",parent:4402,lon:114.11540446493,lat:24.852706291962},{id:440224,name:"仁化县",parent:4402,lon:113.78547373726,lat:25.148465646013},{id:440229,name:"翁源县",parent:4402,lon:114.03042755919,lat:24.426734740638},{id:440232,name:"乳源瑶族自治县",parent:4402,lon:113.17577755468,lat:24.812051773842},{id:440233,name:"新丰县",parent:4402,lon:114.14177489194,lat:24.070091776392},{id:440281,name:"乐昌市",parent:4402,lon:113.24695611826,lat:25.244441914003},{id:440282,name:"南雄市",parent:4402,lon:114.38658277052,lat:25.189905400508},{id:440303,name:"罗湖区",parent:4403,lon:114.15639529324,lat:22.581934478848},{id:440304,name:"福田区",parent:4403,lon:114.05559275391,lat:22.551730572433},{id:440305,name:"南山区",parent:4403,lon:113.95072266574,lat:22.558887751083},{id:440306,name:"宝安区",parent:4403,lon:113.93001313569,lat:22.707432793082},{id:440307,name:"龙岗区",parent:4403,lon:114.34769572771,lat:22.657462286882},{id:440308,name:"盐田区",parent:4403,lon:114.27848287567,lat:22.606981337589},{id:440402,name:"香洲区",parent:4404,lon:113.53373098039,lat:22.26559983535},{id:440403,name:"斗门区",parent:4404,lon:113.24798167517,lat:22.216636753124},{id:440404,name:"金湾区",parent:4404,lon:113.41758987066,lat:22.04721492726},{id:440507,name:"龙湖区",parent:4405,lon:116.75934746239,lat:23.408849226222},{id:440511,name:"金平区",parent:4405,lon:116.65179359137,lat:23.399887892781},{id:440512,name:"濠江区",parent:4405,lon:116.71136293853,lat:23.282442837577},{id:440513,name:"潮阳区",parent:4405,lon:116.48544753544,lat:23.347253898106},{id:440514,name:"潮南区",parent:4405,lon:116.41405584392,lat:23.181395091106},{id:440515,name:"澄海区",parent:4405,lon:116.8148077949,lat:23.532996549632},{id:440523,name:"南澳县",parent:4405,lon:117.0704048247,lat:23.439131822072},{id:440604,name:"禅城区",parent:4406,lon:113.07042319497,lat:23.004210165991},{id:440605,name:"南海区",parent:4406,lon:113.04138132585,lat:23.07826538747},{id:440606,name:"顺德区",parent:4406,lon:113.18702987688,lat:22.848510084787},{id:440607,name:"三水区",parent:4406,lon:112.90467719327,lat:23.294580845555},{id:440608,name:"高明区",parent:4406,lon:112.68325830314,lat:22.824522683444},{id:440703,name:"蓬江区",parent:4407,lon:113.06077007598,lat:22.660132832793},{id:440704,name:"江海区",parent:4407,lon:113.13537054201,lat:22.554846678035},{id:440705,name:"新会区",parent:4407,lon:113.0347511329,lat:22.38821506964},{id:440781,name:"台山市",parent:4407,lon:112.7159079377,lat:22.034638545952},{id:440783,name:"开平市",parent:4407,lon:112.54804114164,lat:22.374200664984},{id:440784,name:"鹤山市",parent:4407,lon:112.80161841196,lat:22.675317373533},{id:440785,name:"恩平市",parent:4407,lon:112.28646122263,lat:22.240985208711},{id:440802,name:"赤坎区",parent:4408,lon:110.37972297262,lat:21.287667885107},{id:440803,name:"霞山区",parent:4408,lon:110.38519600028,lat:21.2048473973},{id:440804,name:"坡头区",parent:4408,lon:110.51272613161,lat:21.283819774873},{id:440811,name:"麻章区",parent:4408,lon:110.33802177707,lat:21.094100364979},{id:440823,name:"遂溪县",parent:4408,lon:110.0398954377,lat:21.270307383787},{id:440825,name:"徐闻县",parent:4408,lon:110.25784725094,lat:20.429967572815},{id:440881,name:"廉江市",parent:4408,lon:110.14171137206,lat:21.645265225554},{id:440882,name:"雷州市",parent:4408,lon:110.01263612715,lat:20.796584309564},{id:440883,name:"吴川市",parent:4408,lon:110.70818705195,lat:21.441681041112},{id:440902,name:"茂南区",parent:4409,lon:110.86860979348,lat:21.676115917529},{id:440904,name:"电白区",parent:4409,lon:111.15968915137,lat:21.66821689615},{id:440981,name:"高州市",parent:4409,lon:110.97560541086,lat:22.035521645119},{id:440982,name:"化州市",parent:4409,lon:110.53959146838,lat:21.845482259109},{id:440983,name:"信宜市",parent:4409,lon:111.12542886235,lat:22.431974274304},{id:441202,name:"端州区",parent:4412,lon:112.47779387429,lat:23.103323258382},{id:441203,name:"鼎湖区",parent:4412,lon:112.62524912783,lat:23.208968105809},{id:441204,name:"高要区",parent:4412,lon:112.51216619847,lat:23.110684686218},{id:441223,name:"广宁县",parent:4412,lon:112.44331648004,lat:23.677207015329},{id:441224,name:"怀集县",parent:4412,lon:112.18024001499,lat:23.974272952942},{id:441225,name:"封开县",parent:4412,lon:111.72348651223,lat:23.561267405148},{id:441226,name:"德庆县",parent:4412,lon:111.98726848872,lat:23.276366860198},{id:441284,name:"四会市",parent:4412,lon:112.68755812366,lat:23.431443755334},{id:441302,name:"惠城区",parent:4413,lon:114.7325947848,lat:23.278292790243},{id:441303,name:"惠阳区",parent:4413,lon:114.47977020249,lat:22.788789691764},{id:441322,name:"博罗县",parent:4413,lon:114.28847482844,lat:23.352582051478},{id:441323,name:"惠东县",parent:4413,lon:114.95551769006,lat:23.049117499162},{id:441324,name:"龙门县",parent:4413,lon:114.13724281901,lat:23.666408023307},{id:441402,name:"梅江区",parent:4414,lon:116.11595202018,lat:24.290750354901},{id:441403,name:"梅县区",parent:4414,lon:116.171027251,lat:24.3647824353},{id:441422,name:"大埔县",parent:4414,lon:116.66412418408,lat:24.347933570693},{id:441423,name:"丰顺县",parent:4414,lon:116.29139470791,lat:23.916084592091},{id:441424,name:"五华县",parent:4414,lon:115.64131969769,lat:23.802833236552},{id:441426,name:"平远县",parent:4414,lon:115.93265634975,lat:24.695653660804},{id:441427,name:"蕉岭县",parent:4414,lon:116.19614150108,lat:24.683283405987},{id:441481,name:"兴宁市",parent:4414,lon:115.75329965584,lat:24.267311238028},{id:441502,name:"城区",parent:4415,lon:115.42435769122,lat:22.768710049741},{id:441521,name:"海丰县",parent:4415,lon:115.2863223299,lat:22.969599520286},{id:441523,name:"陆河县",parent:4415,lon:115.62919633367,lat:23.284406924899},{id:441581,name:"陆丰市",parent:4415,lon:115.78802975191,lat:22.967876723873},{id:441602,name:"源城区",parent:4416,lon:114.65448360226,lat:23.693604112347},{id:441621,name:"紫金县",parent:4416,lon:115.06447099781,lat:23.525442374357},{id:441622,name:"龙川县",parent:4416,lon:115.36229172074,lat:24.334679775761},{id:441623,name:"连平县",parent:4416,lon:114.54297659273,lat:24.340566290031},{id:441624,name:"和平县",parent:4416,lon:115.01181507521,lat:24.45211039106},{id:441625,name:"东源县",parent:4416,lon:114.82694608538,lat:23.933052556598},{id:441702,name:"江城区",parent:4417,lon:111.93003574135,lat:21.762803637074},{id:441704,name:"阳东区",parent:4417,lon:112.04622577462,lat:21.90761038558},{id:441721,name:"阳西县",parent:4417,lon:111.60050919755,lat:21.720609599412},{id:441781,name:"阳春市",parent:4417,lon:111.69444876956,lat:22.223897927949},{id:441802,name:"清城区",parent:4418,lon:113.11458528252,lat:23.62585596526},{id:441803,name:"清新区",parent:4418,lon:112.94889933526,lat:23.932290452567},{id:441821,name:"佛冈县",parent:4418,lon:113.56668917499,lat:23.881077228129},{id:441823,name:"阳山县",parent:4418,lon:112.68133014518,lat:24.509485552315},{id:441825,name:"连山壮族瑶族自治县",parent:4418,lon:112.10080575295,lat:24.515164969495},{id:441826,name:"连南瑶族自治县",parent:4418,lon:112.26364236788,lat:24.574155992653},{id:441881,name:"英德市",parent:4418,lon:113.32316898492,lat:24.225680391225},{id:441882,name:"连州市",parent:4418,lon:112.45918890578,lat:24.937020846031},{id:441900,name:"东莞市",parent:44,lon:113.76343399076,lat:23.043023815368},{id:442e3,name:"中山市",parent:44,lon:113.4220600208,lat:22.545177514513},{id:445102,name:"湘桥区",parent:4451,lon:116.67789952964,lat:23.700043577114},{id:445103,name:"潮安区",parent:4451,lon:116.60876927831,lat:23.717386141778},{id:445122,name:"饶平县",parent:4451,lon:116.90612266997,lat:23.865029718048},{id:445202,name:"榕城区",parent:4452,lon:116.3692235802,lat:23.529452754199},{id:445203,name:"揭东区",parent:4452,lon:116.37807073325,lat:23.585024810833},{id:445222,name:"揭西县",parent:4452,lon:115.91682503049,lat:23.494712399671},{id:445224,name:"惠来县",parent:4452,lon:116.2247989034,lat:23.034046544147},{id:445281,name:"普宁市",parent:4452,lon:116.07816590835,lat:23.288953583142},{id:445302,name:"云城区",parent:4453,lon:112.17160356227,lat:22.973002378136},{id:445303,name:"云安区",parent:4453,lon:111.96143088808,lat:22.856466364893},{id:445321,name:"新兴县",parent:4453,lon:112.21754109744,lat:22.626992446128},{id:445322,name:"郁南县",parent:4453,lon:111.61993760725,lat:23.043633197681},{id:445381,name:"罗定市",parent:4453,lon:111.49324209266,lat:22.690983986437},{id:450102,name:"兴宁区",parent:4501,lon:108.41762068739,lat:22.924530825243},{id:450103,name:"青秀区",parent:4501,lon:108.54167973252,lat:22.829217973591},{id:450105,name:"江南区",parent:4501,lon:108.13559066584,lat:22.663806639444},{id:450107,name:"西乡塘区",parent:4501,lon:108.21544203073,lat:22.912937296114},{id:450108,name:"良庆区",parent:4501,lon:108.37044913796,lat:22.498910081219},{id:450109,name:"邕宁区",parent:4501,lon:108.62620569962,lat:22.595811549706},{id:450110,name:"武鸣区",parent:4501,lon:108.23369489981,lat:23.233267218289},{id:450123,name:"隆安县",parent:4501,lon:107.69066557406,lat:23.110227709531},{id:450124,name:"马山县",parent:4501,lon:108.1696043635,lat:23.664942974082},{id:450125,name:"上林县",parent:4501,lon:108.64581538209,lat:23.521730154673},{id:450126,name:"宾阳县",parent:4501,lon:108.94049469657,lat:23.168344342302},{id:450127,name:"横县",parent:4501,lon:109.16892656267,lat:22.774919317685},{id:450202,name:"城中区",parent:4502,lon:109.48318080161,lat:24.371128485733},{id:450203,name:"鱼峰区",parent:4502,lon:109.45632703637,lat:24.275815550781},{id:450204,name:"柳南区",parent:4502,lon:109.34346581857,lat:24.306183897363},{id:450205,name:"柳北区",parent:4502,lon:109.41391452987,lat:24.471742756535},{id:450206,name:"柳江区",parent:4502,lon:109.33837797157,lat:24.21578019619},{id:450222,name:"柳城县",parent:4502,lon:109.23019655363,lat:24.62988200842},{id:450223,name:"鹿寨县",parent:4502,lon:109.80281600679,lat:24.532198388889},{id:450224,name:"融安县",parent:4502,lon:109.51401020724,lat:25.139782632024},{id:450225,name:"融水苗族自治县",parent:4502,lon:109.05786347353,lat:25.343698638547},{id:450226,name:"三江侗族自治县",parent:4502,lon:109.5100810614,lat:25.74756560612},{id:450302,name:"秀峰区",parent:4503,lon:110.27454852003,lat:25.287138490985},{id:450303,name:"叠彩区",parent:4503,lon:110.336225817,lat:25.318874237568},{id:450304,name:"象山区",parent:4503,lon:110.28460774513,lat:25.215755465426},{id:450305,name:"七星区",parent:4503,lon:110.35658833681,lat:25.264669861823},{id:450311,name:"雁山区",parent:4503,lon:110.37148547606,lat:25.112805740761},{id:450312,name:"临桂区",parent:4503,lon:110.05831249425,lat:25.266798702759},{id:450321,name:"阳朔县",parent:4503,lon:110.48292929478,lat:24.857282289724},{id:450323,name:"灵川县",parent:4503,lon:110.41812911351,lat:25.381008804927},{id:450324,name:"全州县",parent:4503,lon:111.02643476452,lat:25.936464773168},{id:450325,name:"兴安县",parent:4503,lon:110.60102057414,lat:25.6070310342},{id:450326,name:"永福县",parent:4503,lon:109.91693042182,lat:24.997329894857},{id:450327,name:"灌阳县",parent:4503,lon:111.0777084233,lat:25.458880833514},{id:450328,name:"龙胜各族自治县",parent:4503,lon:110.0102504878,lat:25.868327982022},{id:450329,name:"资源县",parent:4503,lon:110.59842700994,lat:26.067857197159},{id:450330,name:"平乐县",parent:4503,lon:110.79768988938,lat:24.558919773879},{id:450331,name:"荔浦县",parent:4503,lon:110.36832789757,lat:24.525342885432},{id:450332,name:"恭城瑶族自治县",parent:4503,lon:110.90944732333,lat:24.949325584117},{id:450403,name:"万秀区",parent:4504,lon:111.42162608637,lat:23.563455294046},{id:450405,name:"长洲区",parent:4504,lon:111.1899141988,lat:23.560200006306},{id:450406,name:"龙圩区",parent:4504,lon:111.32167060016,lat:23.205423202289},{id:450421,name:"苍梧县",parent:4504,lon:111.29835212828,lat:23.626737954219},{id:450422,name:"藤县",parent:4504,lon:110.77883787789,lat:23.510902782468},{id:450423,name:"蒙山县",parent:4504,lon:110.56122298515,lat:24.133850543878},{id:450481,name:"岑溪市",parent:4504,lon:111.02872021172,lat:22.925290987321},{id:450502,name:"海城区",parent:4505,lon:109.16534360381,lat:21.518620780285},{id:450503,name:"银海区",parent:4505,lon:109.2515908141,lat:21.48972262057},{id:450512,name:"铁山港区",parent:4505,lon:109.42248930511,lat:21.574915371765},{id:450521,name:"合浦县",parent:4505,lon:109.33539345631,lat:21.740444343774},{id:450602,name:"港口区",parent:4506,lon:108.44916612265,lat:21.662035674238},{id:450603,name:"防城区",parent:4506,lon:108.02974018357,lat:21.764841822261},{id:450621,name:"上思县",parent:4506,lon:107.90234352919,lat:22.053625294887},{id:450681,name:"东兴市",parent:4506,lon:108.0610807332,lat:21.627169839712},{id:450702,name:"钦南区",parent:4507,lon:108.8165239388,lat:21.89668072285},{id:450703,name:"钦北区",parent:4507,lon:108.52867631111,lat:22.171133309191},{id:450721,name:"灵山县",parent:4507,lon:109.14774755818,lat:22.315715686267},{id:450722,name:"浦北县",parent:4507,lon:109.54236668008,lat:22.271304072712},{id:450802,name:"港北区",parent:4508,lon:109.68955750941,lat:23.244654866397},{id:450803,name:"港南区",parent:4508,lon:109.7098514885,lat:22.87475110083},{id:450804,name:"覃塘区",parent:4508,lon:109.4013360968,lat:23.147899675106},{id:450821,name:"平南县",parent:4508,lon:110.41260119285,lat:23.538682883685},{id:450881,name:"桂平市",parent:4508,lon:110.08711890997,lat:23.3332806173},{id:450902,name:"玉州区",parent:4509,lon:110.0645342655,lat:22.557212692568},{id:450903,name:"福绵区",parent:4509,lon:109.99939646175,lat:22.485121229661},{id:450921,name:"容县",parent:4509,lon:110.61027737584,lat:22.831614121088},{id:450922,name:"陆川县",parent:4509,lon:110.27211293424,lat:22.251747037814},{id:450923,name:"博白县",parent:4509,lon:109.87890451509,lat:22.066766171087},{id:450924,name:"兴业县",parent:4509,lon:109.92861094693,lat:22.798461756462},{id:450981,name:"北流市",parent:4509,lon:110.46705456426,lat:22.528890370522},{id:451002,name:"右江区",parent:4510,lon:106.50559640624,lat:23.941865593712},{id:451021,name:"田阳县",parent:4510,lon:106.81127009414,lat:23.729759302774},{id:451022,name:"田东县",parent:4510,lon:107.19163711741,lat:23.614585367817},{id:451023,name:"平果县",parent:4510,lon:107.57751209903,lat:23.540954424157},{id:451024,name:"德保县",parent:4510,lon:106.59428466728,lat:23.382214509826},{id:451026,name:"那坡县",parent:4510,lon:105.8347049622,lat:23.247545560208},{id:451027,name:"凌云县",parent:4510,lon:106.64837922239,lat:24.363726145418},{id:451028,name:"乐业县",parent:4510,lon:106.5178987429,lat:24.829664240385},{id:451029,name:"田林县",parent:4510,lon:105.99982724993,lat:24.392538479127},{id:451030,name:"西林县",parent:4510,lon:105.09732745516,lat:24.391377583083},{id:451031,name:"隆林各族自治县",parent:4510,lon:105.30321343556,lat:24.680432837057},{id:451081,name:"靖西市",parent:4510,lon:106.38310874744,lat:23.221036271428},{id:451102,name:"八步区",parent:4511,lon:111.68835191834,lat:24.309335821524},{id:451103,name:"平桂区",parent:4511,lon:111.4583206726,lat:24.272024331072},{id:451121,name:"昭平县",parent:4511,lon:110.97690768696,lat:24.108072861819},{id:451122,name:"钟山县",parent:4511,lon:111.24883282187,lat:24.513864981375},{id:451123,name:"富川瑶族自治县",parent:4511,lon:111.31324328294,lat:24.891613643714},{id:451202,name:"金城江区",parent:4512,lon:107.87344356952,lat:24.660762069433},{id:451221,name:"南丹县",parent:4512,lon:107.46800068753,lat:25.11943883054},{id:451222,name:"天峨县",parent:4512,lon:106.99659443884,lat:25.01883375149},{id:451223,name:"凤山县",parent:4512,lon:107.01971572195,lat:24.560064974996},{id:451224,name:"东兰县",parent:4512,lon:107.41353376084,lat:24.511600489222},{id:451225,name:"罗城仫佬族自治县",parent:4512,lon:108.82719124199,lat:24.904567511665},{id:451226,name:"环江毛南族自治县",parent:4512,lon:108.29198518646,lat:25.104531056442},{id:451227,name:"巴马瑶族自治县",parent:4512,lon:107.20766596976,lat:24.157595548736},{id:451228,name:"都安瑶族自治县",parent:4512,lon:108.11806068056,lat:24.169778074597},{id:451229,name:"大化瑶族自治县",parent:4512,lon:107.71195932144,lat:23.970744702117},{id:451281,name:"宜州市",parent:4512,lon:108.5465522796,lat:24.481176748089},{id:451302,name:"兴宾区",parent:4513,lon:109.19320522678,lat:23.664270771977},{id:451321,name:"忻城县",parent:4513,lon:108.75231859732,lat:24.018747261796},{id:451322,name:"象州县",parent:4513,lon:109.77196784577,lat:24.019170132851},{id:451323,name:"武宣县",parent:4513,lon:109.68768015891,lat:23.61072110732},{id:451324,name:"金秀瑶族自治县",parent:4513,lon:110.13777637174,lat:24.089876611192},{id:451381,name:"合山市",parent:4513,lon:108.94253993058,lat:23.802816135427},{id:451402,name:"江州区",parent:4514,lon:107.46135714079,lat:22.529826577387},{id:451421,name:"扶绥县",parent:4514,lon:107.82912504554,lat:22.524058231311},{id:451422,name:"宁明县",parent:4514,lon:107.29465888577,lat:22.005062342039},{id:451423,name:"龙州县",parent:4514,lon:106.85853904762,lat:22.431578425316},{id:451424,name:"大新县",parent:4514,lon:107.13710947577,lat:22.813462764842},{id:451425,name:"天等县",parent:4514,lon:107.08133912276,lat:23.117161246424},{id:451481,name:"凭祥市",parent:4514,lon:106.83705317757,lat:22.093647276973},{id:460105,name:"秀英区",parent:4601,lon:110.26320040619,lat:19.884344360797},{id:460106,name:"龙华区",parent:4601,lon:110.33522411653,lat:19.905350664019},{id:460107,name:"琼山区",parent:4601,lon:110.48011046473,lat:19.741333613805},{id:460108,name:"美兰区",parent:4601,lon:110.50726929452,lat:19.942908977934},{id:460202,name:"海棠区",parent:4602,lon:109.73605457423,lat:18.38141790489},{id:460203,name:"吉阳区",parent:4602,lon:109.57378482237,lat:18.266590591978},{id:460204,name:"天涯区",parent:4602,lon:109.38879057584,lat:18.395908258064},{id:460205,name:"崖州区",parent:4602,lon:109.18636245975,lat:18.448774794407},{id:460321,name:"西沙群岛",parent:4603,lon:111.67308686126,lat:16.497085431044},{id:460322,name:"南沙群岛",parent:4603,lon:112.66030170907,lat:4.9743661921368},{id:460323,name:"中沙群岛的岛礁及其海域",parent:4603,lon:113.75535610385,lat:12.464712920653},{id:460400,name:"儋州市",parent:46,lon:109.33458619886,lat:19.574787798597},{id:469001,name:"五指山市",parent:4690,lon:109.51775006369,lat:18.831305749013},{id:469002,name:"琼海市",parent:4690,lon:110.41435935151,lat:19.214830368617},{id:469005,name:"文昌市",parent:4690,lon:110.78090944499,lat:19.750947380145},{id:469006,name:"万宁市",parent:4690,lon:110.29250485724,lat:18.839885909177},{id:469007,name:"东方市",parent:4690,lon:108.85100963157,lat:18.998160861218},{id:469021,name:"定安县",parent:4690,lon:110.20642407813,lat:20.050057124473},{id:469022,name:"屯昌县",parent:4690,lon:110.06336404474,lat:19.347749127852},{id:469023,name:"澄迈县",parent:4690,lon:109.99673620157,lat:19.693135069577},{id:469024,name:"临高县",parent:4690,lon:109.72410152868,lat:19.805922012409},{id:469025,name:"白沙黎族自治县",parent:4690,lon:109.35858558291,lat:19.216056142062},{id:469026,name:"昌江黎族自治县",parent:4690,lon:109.01129968163,lat:19.222482900957},{id:469027,name:"乐东黎族自治县",parent:4690,lon:109.0626980127,lat:18.658613560734},{id:469028,name:"陵水黎族自治县",parent:4690,lon:109.94866071004,lat:18.575984851566},{id:469029,name:"保亭黎族苗族自治县",parent:4690,lon:109.65611337969,lat:18.597592346267},{id:469030,name:"琼中黎族苗族自治县",parent:4690,lon:109.86184857077,lat:19.039771066968},{id:500101,name:"万州区",parent:5001,lon:108.4134386367,lat:30.710054184366},{id:500102,name:"涪陵区",parent:5001,lon:107.34079973803,lat:29.66467054056},{id:500103,name:"渝中区",parent:5001,lon:106.54696678483,lat:29.555236194395},{id:500104,name:"大渡口区",parent:5001,lon:106.46532181465,lat:29.424139786946},{id:500105,name:"江北区",parent:5001,lon:106.71361473094,lat:29.619317744064},{id:500106,name:"沙坪坝区",parent:5001,lon:106.37480489265,lat:29.630548136629},{id:500107,name:"九龙坡区",parent:5001,lon:106.37059488439,lat:29.434566154958},{id:500108,name:"南岸区",parent:5001,lon:106.66717849904,lat:29.541514618903},{id:500109,name:"北碚区",parent:5001,lon:106.52034245432,lat:29.866596066865},{id:500110,name:"綦江区",parent:5001,lon:106.73584657225,lat:28.825949323551},{id:500111,name:"大足区",parent:5001,lon:105.76093297492,lat:29.622204718555},{id:500112,name:"渝北区",parent:5001,lon:106.7537985312,lat:29.816264082426},{id:500113,name:"巴南区",parent:5001,lon:106.7582741592,lat:29.378027968889},{id:500114,name:"黔江区",parent:5001,lon:108.71480796402,lat:29.440981033584},{id:500115,name:"长寿区",parent:5001,lon:107.14661537132,lat:29.96049135503},{id:500116,name:"江津区",parent:5001,lon:106.26928185639,lat:29.035351190668},{id:500117,name:"合川区",parent:5001,lon:106.31802875449,lat:30.118708260134},{id:500118,name:"永川区",parent:5001,lon:105.88035760368,lat:29.296487646991},{id:500119,name:"南川区",parent:5001,lon:107.17788827954,lat:29.141685769527},{id:500120,name:"璧山区",parent:5001,lon:106.21326949786,lat:29.588328631909},{id:500151,name:"铜梁区",parent:5001,lon:106.03488288304,lat:29.813265758673},{id:500152,name:"潼南区",parent:5001,lon:105.78466162818,lat:30.116632232545},{id:500153,name:"荣昌区",parent:5001,lon:105.52149235061,lat:29.472620663129},{id:500154,name:"开州区",parent:5001,lon:108.42256829126,lat:31.262995406524},{id:500228,name:"梁平县",parent:5002,lon:107.72542817193,lat:30.66436343529},{id:500229,name:"城口县",parent:5002,lon:108.74185516517,lat:31.888131392209},{id:500230,name:"丰都县",parent:5002,lon:107.8375173643,lat:29.890595717682},{id:500231,name:"垫江县",parent:5002,lon:107.44444454166,lat:30.259498445887},{id:500232,name:"武隆县",parent:5002,lon:107.71610570339,lat:29.379270963599},{id:500233,name:"忠县",parent:5002,lon:106.53063501341,lat:29.544606108886},{id:500235,name:"云阳县",parent:5002,lon:108.86318575675,lat:31.042409267237},{id:500236,name:"奉节县",parent:5002,lon:109.35566670168,lat:30.958552797156},{id:500237,name:"巫山县",parent:5002,lon:109.90861122268,lat:31.121151720268},{id:500238,name:"巫溪县",parent:5002,lon:109.36053147066,lat:31.509161376321},{id:500240,name:"石柱土家族自治县",parent:5002,lon:108.30489042793,lat:30.099636944155},{id:500241,name:"秀山土家族苗族自治县",parent:5002,lon:109.02532125368,lat:28.498315398405},{id:500242,name:"酉阳土家族苗族自治县",parent:5002,lon:108.80680823733,lat:28.905277662391},{id:500243,name:"彭水苗族土家族自治县",parent:5002,lon:108.27286773419,lat:29.359628264894},{id:510104,name:"锦江区",parent:5101,lon:104.12426938462,lat:30.606301824621},{id:510105,name:"青羊区",parent:5101,lon:103.98842870094,lat:30.685101946314},{id:510106,name:"金牛区",parent:5101,lon:104.06137695451,lat:30.735622100763},{id:510107,name:"武侯区",parent:5101,lon:104.04124020837,lat:30.612881788753},{id:510108,name:"成华区",parent:5101,lon:104.15003204704,lat:30.695040111899},{id:510112,name:"龙泉驿区",parent:5101,lon:104.30118080707,lat:30.603368382019},{id:510113,name:"青白江区",parent:5101,lon:104.34642982356,lat:30.796353967983},{id:510114,name:"新都区",parent:5101,lon:104.11658349961,lat:30.839503886637},{id:510115,name:"温江区",parent:5101,lon:103.81646839534,lat:30.730254927008},{id:510116,name:"双流区",parent:5101,lon:104.0328303402,lat:30.450175430612},{id:510121,name:"金堂县",parent:5101,lon:104.61537139695,lat:30.728612610912},{id:510124,name:"郫县",parent:5101,lon:103.88462503305,lat:30.839641883011},{id:510129,name:"大邑县",parent:5101,lon:103.38845160801,lat:30.614941412606},{id:510131,name:"蒲江县",parent:5101,lon:103.49773846901,lat:30.239938504594},{id:510132,name:"新津县",parent:5101,lon:103.83217681027,lat:30.42786608997},{id:510181,name:"都江堰市",parent:5101,lon:103.63734201321,lat:31.039123659728},{id:510182,name:"彭州市",parent:5101,lon:103.88986635887,lat:31.148577255886},{id:510183,name:"邛崃市",parent:5101,lon:103.37651244321,lat:30.388736018151},{id:510184,name:"崇州市",parent:5101,lon:103.52946689588,lat:30.71964092397},{id:510185,name:"简阳市",parent:5101,lon:104.55059629796,lat:30.37250750046},{id:510302,name:"自流井区",parent:5103,lon:104.70785437828,lat:29.28261396923},{id:510303,name:"贡井区",parent:5103,lon:104.6027348472,lat:29.314590727756},{id:510304,name:"大安区",parent:5103,lon:104.87756638738,lat:29.411547695333},{id:510311,name:"沿滩区",parent:5103,lon:104.854763441,lat:29.242640479342},{id:510321,name:"荣县",parent:5103,lon:104.372407917,lat:29.398978496698},{id:510322,name:"富顺县",parent:5103,lon:105.02222048778,lat:29.152297063892},{id:510402,name:"东区",parent:5104,lon:101.72242315249,lat:26.587571257109},{id:510403,name:"西区",parent:5104,lon:101.72242315249,lat:26.587571257109},{id:510411,name:"仁和区",parent:5104,lon:101.66970205128,lat:26.56790741922},{id:510421,name:"米易县",parent:5104,lon:102.00072626456,lat:26.932749356485},{id:510422,name:"盐边县",parent:5104,lon:101.58605027726,lat:26.940087094351},{id:510502,name:"江阳区",parent:5105,lon:105.37171257028,lat:28.87690067554},{id:510503,name:"纳溪区",parent:5105,lon:105.3906055521,lat:28.614041373614},{id:510504,name:"龙马潭区",parent:5105,lon:105.4378416897,lat:28.987460236388},{id:510521,name:"泸县",parent:5105,lon:105.50826734902,lat:29.124919969133},{id:510522,name:"合江县",parent:5105,lon:105.93160013109,lat:28.751865254096},{id:510524,name:"叙永县",parent:5105,lon:105.46859233328,lat:28.099206628496},{id:510525,name:"古蔺县",parent:5105,lon:105.93629331276,lat:27.983319448381},{id:510603,name:"旌阳区",parent:5106,lon:104.41525849556,lat:31.179805144786},{id:510623,name:"中江县",parent:5106,lon:104.80495180574,lat:30.887114236708},{id:510626,name:"罗江县",parent:5106,lon:104.53541026815,lat:31.320265186662},{id:510681,name:"广汉市",parent:5106,lon:104.29847583599,lat:31.006480881164},{id:510682,name:"什邡市",parent:5106,lon:104.01987074915,lat:31.29369418585},{id:510683,name:"绵竹市",parent:5106,lon:104.12929386201,lat:31.436657312108},{id:510703,name:"涪城区",parent:5107,lon:104.67051389601,lat:31.435734812547},{id:510704,name:"游仙区",parent:5107,lon:104.98157984665,lat:31.518816009605},{id:510705,name:"安州区",parent:5107,lon:104.37720699346,lat:31.589559671673},{id:510722,name:"三台县",parent:5107,lon:105.04258112078,lat:31.118872490873},{id:510723,name:"盐亭县",parent:5107,lon:105.4790711008,lat:31.247942979309},{id:510725,name:"梓潼县",parent:5107,lon:105.19383418448,lat:31.653620996937},{id:510726,name:"北川羌族自治县",parent:5107,lon:104.25834135739,lat:31.962527312739},{id:510727,name:"平武县",parent:5107,lon:104.40430826693,lat:32.446911722865},{id:510781,name:"江油市",parent:5107,lon:104.93314929993,lat:31.952426668806},{id:510802,name:"利州区",parent:5108,lon:105.7853172322,lat:32.478529639449},{id:510811,name:"昭化区",parent:5108,lon:105.82174977463,lat:32.141760307902},{id:510812,name:"朝天区",parent:5108,lon:106.02216392398,lat:32.708417209014},{id:510821,name:"旺苍县",parent:5108,lon:106.40182287359,lat:32.372139642174},{id:510822,name:"青川县",parent:5108,lon:105.19044673467,lat:32.515859827572},{id:510823,name:"剑阁县",parent:5108,lon:105.50302096949,lat:31.921947731961},{id:510824,name:"苍溪县",parent:5108,lon:106.11328295036,lat:31.918551658673},{id:510903,name:"船山区",parent:5109,lon:105.62152802077,lat:30.523499649283},{id:510904,name:"安居区",parent:5109,lon:105.41441146849,lat:30.363522338679},{id:510921,name:"蓬溪县",parent:5109,lon:105.71608763636,lat:30.657491289748},{id:510922,name:"射洪县",parent:5109,lon:105.38824463742,lat:30.908078631387},{id:510923,name:"大英县",parent:5109,lon:105.25637201729,lat:30.580190633917},{id:511002,name:"市中区",parent:5110,lon:104.95397876928,lat:29.55164493068},{id:511011,name:"东兴区",parent:5110,lon:105.20216881381,lat:29.628088552472},{id:511024,name:"威远县",parent:5110,lon:104.59397578195,lat:29.599588801619},{id:511025,name:"资中县",parent:5110,lon:104.80746566888,lat:29.813836235002},{id:511028,name:"隆昌县",parent:5110,lon:105.25295771714,lat:29.367868749158},{id:511102,name:"市中区",parent:5111,lon:103.80478219007,lat:29.61984411709},{id:511111,name:"沙湾区",parent:5111,lon:103.60454818519,lat:29.316409760812},{id:511112,name:"五通桥区",parent:5111,lon:103.84663334546,lat:29.395443506532},{id:511113,name:"金口河区",parent:5111,lon:103.07336628607,lat:29.293819974164},{id:511123,name:"犍为县",parent:5111,lon:103.98019853458,lat:29.231190495122},{id:511124,name:"井研县",parent:5111,lon:104.05532967168,lat:29.644500661501},{id:511126,name:"夹江县",parent:5111,lon:103.55926293457,lat:29.7761069203},{id:511129,name:"沐川县",parent:5111,lon:103.82650268685,lat:29.006905081763},{id:511132,name:"峨边彝族自治县",parent:5111,lon:103.2167397181,lat:29.050415556838},{id:511133,name:"马边彝族自治县",parent:5111,lon:103.48138754926,lat:28.776739333365},{id:511181,name:"峨眉山市",parent:5111,lon:103.40091230856,lat:29.50700404085},{id:511302,name:"顺庆区",parent:5113,lon:106.11579825983,lat:30.949624560849},{id:511303,name:"高坪区",parent:5113,lon:106.25975917374,lat:30.75468404314},{id:511304,name:"嘉陵区",parent:5113,lon:105.93870307769,lat:30.665451829003},{id:511321,name:"南部县",parent:5113,lon:105.92351381942,lat:31.349802866479},{id:511322,name:"营山县",parent:5113,lon:106.7185269662,lat:31.162322799073},{id:511323,name:"蓬安县",parent:5113,lon:106.42891733521,lat:31.007075500318},{id:511324,name:"仪陇县",parent:5113,lon:106.53472488695,lat:31.443593221681},{id:511325,name:"西充县",parent:5113,lon:105.85733163521,lat:31.063877074354},{id:511381,name:"阆中市",parent:5113,lon:106.07809314825,lat:31.602117348886},{id:511402,name:"东坡区",parent:5114,lon:103.74833257305,lat:30.057372008382},{id:511403,name:"彭山区",parent:5114,lon:103.84644479804,lat:30.24443648473},{id:511421,name:"仁寿县",parent:5114,lon:104.22551880085,lat:29.985868914405},{id:511423,name:"洪雅县",parent:5114,lon:103.18015949893,lat:29.694316499556},{id:511424,name:"丹棱县",parent:5114,lon:103.43451305805,lat:30.014802935586},{id:511425,name:"青神县",parent:5114,lon:103.83750799161,lat:29.82275999862},{id:511502,name:"翠屏区",parent:5115,lon:104.69325460374,lat:28.81581998264},{id:511503,name:"南溪区",parent:5115,lon:104.92244522579,lat:28.891857434171},{id:511521,name:"宜宾县",parent:5115,lon:104.38270989151,lat:28.906871431718},{id:511523,name:"江安县",parent:5115,lon:105.12877827717,lat:28.663532600917},{id:511524,name:"长宁县",parent:5115,lon:104.93114856989,lat:28.515433786755},{id:511525,name:"高县",parent:5115,lon:104.5930664103,lat:28.463200492005},{id:511526,name:"珙县",parent:5115,lon:104.8066179908,lat:28.196990137689},{id:511527,name:"筠连县",parent:5115,lon:104.58843340511,lat:28.042098884244},{id:511528,name:"兴文县",parent:5115,lon:105.14122589128,lat:28.255538437302},{id:511529,name:"屏山县",parent:5115,lon:103.99911803649,lat:28.702428662485},{id:511602,name:"广安区",parent:5116,lon:106.75891196362,lat:30.599249987199},{id:511603,name:"前锋区",parent:5116,lon:106.86565774045,lat:30.543834838815},{id:511621,name:"岳池县",parent:5116,lon:106.4208329851,lat:30.540768629653},{id:511622,name:"武胜县",parent:5116,lon:106.23136624407,lat:30.373904543993},{id:511623,name:"邻水县",parent:5116,lon:107.00333361946,lat:30.263283994028},{id:511681,name:"华蓥市",parent:5116,lon:106.75941195402,lat:30.321832376319},{id:511702,name:"通川区",parent:5117,lon:107.51920394973,lat:31.238764440346},{id:511703,name:"达川区",parent:5117,lon:107.42129730953,lat:31.187291385014},{id:511722,name:"宣汉县",parent:5117,lon:107.93603281988,lat:31.51979762495},{id:511723,name:"开江县",parent:5117,lon:107.89101188441,lat:31.05158729925},{id:511724,name:"大竹县",parent:5117,lon:107.27987739412,lat:30.690772377766},{id:511725,name:"渠县",parent:5117,lon:106.98760176612,lat:30.94881416065},{id:511781,name:"万源市",parent:5117,lon:107.99381097493,lat:31.986241088206},{id:511802,name:"雨城区",parent:5118,lon:103.03840450831,lat:29.928506655301},{id:511803,name:"名山区",parent:5118,lon:103.23102630214,lat:30.117458953474},{id:511822,name:"荥经县",parent:5118,lon:102.69194616494,lat:29.740877769322},{id:511823,name:"汉源县",parent:5118,lon:102.62513643454,lat:29.431575643201},{id:511824,name:"石棉县",parent:5118,lon:102.2939695159,lat:29.235484876512},{id:511825,name:"天全县",parent:5118,lon:102.57830462584,lat:30.078874542047},{id:511826,name:"芦山县",parent:5118,lon:103.01809878481,lat:30.440281571631},{id:511827,name:"宝兴县",parent:5118,lon:102.71689365787,lat:30.567649711279},{id:511902,name:"巴州区",parent:5119,lon:106.739266453,lat:31.785302790667},{id:511903,name:"恩阳区",parent:5119,lon:106.75791584175,lat:31.86918915916},{id:511921,name:"通江县",parent:5119,lon:107.35277526385,lat:32.13640689395},{id:511922,name:"南江县",parent:5119,lon:106.83618103409,lat:32.337239209081},{id:511923,name:"平昌县",parent:5119,lon:107.16735749976,lat:31.59771477028},{id:512002,name:"雁江区",parent:5120,lon:104.75541652784,lat:30.091647255037},{id:512021,name:"安岳县",parent:5120,lon:105.4008757725,lat:29.999677270422},{id:512022,name:"乐至县",parent:5120,lon:105.02831576248,lat:30.313944636249},{id:513201,name:"马尔康市",parent:5132,lon:101.9836278113,lat:32.007871202647},{id:513221,name:"汶川县",parent:5132,lon:103.29431691527,lat:31.168774069592},{id:513222,name:"理县",parent:5132,lon:103.42033582964,lat:31.566906370691},{id:513223,name:"茂县",parent:5132,lon:102.8991597236,lat:30.367480937958},{id:513224,name:"松潘县",parent:5132,lon:103.532712222,lat:32.625458557695},{id:513225,name:"九寨沟县",parent:5132,lon:103.9340437688,lat:33.317446497617},{id:513226,name:"金川县",parent:5132,lon:101.80476934386,lat:31.52757038818},{id:513227,name:"小金县",parent:5132,lon:102.41921664895,lat:30.969288643982},{id:513228,name:"黑水县",parent:5132,lon:103.01249848065,lat:32.052158211237},{id:513230,name:"壤塘县",parent:5132,lon:101.05971696123,lat:32.148226253207},{id:513231,name:"阿坝县",parent:5132,lon:101.70212990273,lat:32.916574446999},{id:513232,name:"若尔盖县",parent:5132,lon:102.97487609843,lat:33.584805758741},{id:513233,name:"红原县",parent:5132,lon:102.64115041582,lat:32.736132092126},{id:513301,name:"康定市",parent:5133,lon:101.75312764174,lat:29.963390007018},{id:513322,name:"泸定县",parent:5133,lon:102.12006613226,lat:29.747744290103},{id:513323,name:"丹巴县",parent:5133,lon:101.75239771652,lat:30.9670743425},{id:513324,name:"九龙县",parent:5133,lon:101.63507969271,lat:28.917804185231},{id:513325,name:"雅江县",parent:5133,lon:100.96923972469,lat:29.922924021131},{id:513326,name:"道孚县",parent:5133,lon:101.19484158408,lat:30.870125609599},{id:513327,name:"炉霍县",parent:5133,lon:100.67587127372,lat:31.492154542768},{id:513328,name:"甘孜县",parent:5133,lon:99.762676935333,lat:32.029329338001},{id:513329,name:"新龙县",parent:5133,lon:100.28751803177,lat:30.945762801068},{id:513330,name:"德格县",parent:5133,lon:98.967480948584,lat:32.059408545008},{id:513331,name:"白玉县",parent:5133,lon:99.291922023716,lat:31.052585679081},{id:513332,name:"石渠县",parent:5133,lon:98.204993247891,lat:33.187627237402},{id:513333,name:"色达县",parent:5133,lon:100.21388463777,lat:32.356620371592},{id:513334,name:"理塘县",parent:5133,lon:100.18511019101,lat:29.895282575765},{id:513335,name:"巴塘县",parent:5133,lon:99.300290950528,lat:29.916287662541},{id:513336,name:"乡城县",parent:5133,lon:99.738451912881,lat:29.11737591967},{id:513337,name:"稻城县",parent:5133,lon:100.26589077053,lat:28.766496640591},{id:513338,name:"得荣县",parent:5133,lon:99.324235091425,lat:28.736358436486},{id:513401,name:"西昌市",parent:5134,lon:102.11788786038,lat:27.86337739584},{id:513422,name:"木里藏族自治县",parent:5134,lon:100.95305714268,lat:28.360344107012},{id:513423,name:"盐源县",parent:5134,lon:101.46762448738,lat:27.603027908142},{id:513424,name:"德昌县",parent:5134,lon:102.19173440069,lat:27.331194175431},{id:513425,name:"会理县",parent:5134,lon:102.2639270515,lat:26.591300796186},{id:513426,name:"会东县",parent:5134,lon:102.74296743101,lat:26.573608339176},{id:513427,name:"宁南县",parent:5134,lon:102.71663446894,lat:27.091250349517},{id:513428,name:"普格县",parent:5134,lon:102.56809148368,lat:27.54828572105},{id:513429,name:"布拖县",parent:5134,lon:102.88192797888,lat:27.599974195145},{id:513430,name:"金阳县",parent:5134,lon:103.20105938361,lat:27.706169003934},{id:513431,name:"昭觉县",parent:5134,lon:102.83281789781,lat:28.013719135153},{id:513432,name:"喜德县",parent:5134,lon:102.44996824625,lat:28.196488558773},{id:513433,name:"冕宁县",parent:5134,lon:102.06891407501,lat:28.514858657537},{id:513434,name:"越西县",parent:5134,lon:102.6286813356,lat:28.592190495109},{id:513435,name:"甘洛县",parent:5134,lon:102.76740070722,lat:28.974853435967},{id:513436,name:"美姑县",parent:5134,lon:103.10172987962,lat:28.443545061087},{id:513437,name:"雷波县",parent:5134,lon:103.5125046952,lat:28.279340727749},{id:520102,name:"南明区",parent:5201,lon:106.72417349818,lat:26.541413272278},{id:520103,name:"云岩区",parent:5201,lon:106.71791401556,lat:26.6035246503},{id:520111,name:"花溪区",parent:5201,lon:106.66527322287,lat:26.39791693477},{id:520112,name:"乌当区",parent:5201,lon:106.73344967037,lat:26.688326312941},{id:520113,name:"白云区",parent:5201,lon:106.68674281438,lat:26.71973739529},{id:520115,name:"观山湖区",parent:5201,lon:106.59533224014,lat:26.650328732081},{id:520121,name:"开阳县",parent:5201,lon:107.04688065585,lat:27.075427307857},{id:520122,name:"息烽县",parent:5201,lon:106.68198036543,lat:27.150807565921},{id:520123,name:"修文县",parent:5201,lon:106.590592735,lat:26.931538038107},{id:520181,name:"清镇市",parent:5201,lon:106.35381440326,lat:26.688621110571},{id:520201,name:"钟山区",parent:5202,lon:104.76254690076,lat:26.731157002932},{id:520203,name:"六枝特区",parent:5202,lon:105.3830336754,lat:26.235865065306},{id:520221,name:"水城县",parent:5202,lon:104.93035685319,lat:26.430546898236},{id:520222,name:"盘县",parent:5202,lon:104.66691307994,lat:25.772838336514},{id:520302,name:"红花岗区",parent:5203,lon:106.92265113614,lat:27.670445028837},{id:520303,name:"汇川区",parent:5203,lon:107.00310975556,lat:27.887590184121},{id:520304,name:"播州区",parent:5203,lon:106.87453374646,lat:27.634108765721},{id:520322,name:"桐梓县",parent:5203,lon:106.88633093203,lat:28.414479762728},{id:520323,name:"绥阳县",parent:5203,lon:107.20354220552,lat:28.146365347962},{id:520324,name:"正安县",parent:5203,lon:107.412773457,lat:28.506639188144},{id:520325,name:"道真仡佬族苗族自治县",parent:5203,lon:107.61686480802,lat:28.934154342524},{id:520326,name:"务川仡佬族苗族自治县",parent:5203,lon:107.91993460165,lat:28.661403914202},{id:520327,name:"凤冈县",parent:5203,lon:107.77157370195,lat:27.928826877455},{id:520328,name:"湄潭县",parent:5203,lon:107.49167985383,lat:27.764873370783},{id:520329,name:"余庆县",parent:5203,lon:107.70936003115,lat:27.394794444136},{id:520330,name:"习水县",parent:5203,lon:106.35892584857,lat:28.357319781328},{id:520381,name:"赤水市",parent:5203,lon:105.92051307621,lat:28.493333651299},{id:520382,name:"仁怀市",parent:5203,lon:106.34790800681,lat:27.839203217967},{id:520402,name:"西秀区",parent:5204,lon:106.0600169739,lat:26.197376772867},{id:520403,name:"平坝区",parent:5204,lon:106.28653433135,lat:26.443751196397},{id:520422,name:"普定县",parent:5204,lon:105.74269311886,lat:26.345747551067},{id:520423,name:"镇宁布依族苗族自治县",parent:5204,lon:105.83355264869,lat:25.844353005861},{id:520424,name:"关岭布依族苗族自治县",parent:5204,lon:105.56872665252,lat:25.862190437976},{id:520425,name:"紫云苗族布依族自治县",parent:5204,lon:106.18836244554,lat:25.700614716072},{id:520502,name:"七星关区",parent:5205,lon:105.42355760084,lat:27.464053316005},{id:520521,name:"大方县",parent:5205,lon:105.73720221998,lat:27.253059626031},{id:520522,name:"黔西县",parent:5205,lon:106.14050275681,lat:27.086384569459},{id:520523,name:"金沙县",parent:5205,lon:106.22685215924,lat:27.471542677862},{id:520524,name:"织金县",parent:5205,lon:105.73204873021,lat:26.615333373403},{id:520525,name:"纳雍县",parent:5205,lon:105.26868668571,lat:26.795102083008},{id:520526,name:"威宁彝族回族苗族自治县",parent:5205,lon:104.22408619137,lat:26.921382002531},{id:520527,name:"赫章县",parent:5205,lon:104.5980318783,lat:27.15332246261},{id:520602,name:"碧江区",parent:5206,lon:109.19370501854,lat:27.716136520691},{id:520603,name:"万山区",parent:5206,lon:109.11781910744,lat:27.546566730898},{id:520621,name:"江口县",parent:5206,lon:109.16855802826,lat:27.674902690624},{id:520622,name:"玉屏侗族自治县",parent:5206,lon:109.00175995258,lat:27.337802674507},{id:520623,name:"石阡县",parent:5206,lon:108.14106368738,lat:27.496152657798},{id:520624,name:"思南县",parent:5206,lon:108.19797894198,lat:27.856658927235},{id:520625,name:"印江土家族苗族自治县",parent:5206,lon:108.52830153805,lat:27.986045252865},{id:520626,name:"德江县",parent:5206,lon:108.06756938624,lat:28.30284362728},{id:520627,name:"沿河土家族自治县",parent:5206,lon:108.33962765519,lat:28.642296722444},{id:520628,name:"松桃苗族自治县",parent:5206,lon:109.16855802826,lat:27.674902690624},{id:522301,name:"兴义市",parent:5223,lon:105.07190822677,lat:25.236664590554},{id:522322,name:"兴仁县",parent:5223,lon:105.21234670506,lat:25.436104684385},{id:522323,name:"普安县",parent:5223,lon:105.00016731249,lat:25.72781408682},{id:522324,name:"晴隆县",parent:5223,lon:105.19013699964,lat:25.697662011039},{id:522325,name:"贞丰县",parent:5223,lon:105.63574297484,lat:25.438979713387},{id:522326,name:"望谟县",parent:5223,lon:106.13757227494,lat:24.936694569809},{id:522327,name:"册亨县",parent:5223,lon:105.79746392761,lat:24.940047609962},{id:522328,name:"安龙县",parent:5223,lon:105.34855137966,lat:24.950885976914},{id:522601,name:"凯里市",parent:5226,lon:108.03104164859,lat:26.670643028177},{id:522622,name:"黄平县",parent:5226,lon:108.08892037089,lat:26.802372712542},{id:522623,name:"施秉县",parent:5226,lon:108.01532489539,lat:27.147665744201},{id:522624,name:"三穗县",parent:5226,lon:108.76221698279,lat:26.940229768581},{id:522625,name:"镇远县",parent:5226,lon:108.48422420195,lat:26.912627316255},{id:522626,name:"岑巩县",parent:5226,lon:108.95781984971,lat:27.440109779329},{id:522627,name:"天柱县",parent:5226,lon:109.47993207974,lat:27.027180472033},{id:522628,name:"锦屏县",parent:5226,lon:109.15647562165,lat:26.497609137737},{id:522629,name:"剑河县",parent:5226,lon:106.7349961033,lat:26.902825927797},{id:522630,name:"台江县",parent:5226,lon:108.17122222338,lat:26.676404735086},{id:522631,name:"黎平县",parent:5226,lon:109.33697304601,lat:25.938276335425},{id:522632,name:"榕江县",parent:5226,lon:108.43782402746,lat:26.250544367069},{id:522633,name:"从江县",parent:5226,lon:108.78396090306,lat:25.758440923722},{id:522634,name:"雷山县",parent:5226,lon:108.09819178205,lat:26.346498520621},{id:522635,name:"麻江县",parent:5226,lon:107.79954768993,lat:26.512050397344},{id:522636,name:"丹寨县",parent:5226,lon:108.11538894273,lat:26.126097716769},{id:522701,name:"都匀市",parent:5227,lon:106.7349961033,lat:26.902825927797},{id:522702,name:"福泉市",parent:5227,lon:106.7349961033,lat:26.902825927797},{id:522722,name:"荔波县",parent:5227,lon:107.79056706026,lat:25.597752027123},{id:522723,name:"贵定县",parent:5227,lon:107.16183225437,lat:26.262176502508},{id:522725,name:"瓮安县",parent:5227,lon:107.5629905221,lat:27.189412906689},{id:522726,name:"独山县",parent:5227,lon:107.56375230978,lat:25.636840589583},{id:522727,name:"平塘县",parent:5227,lon:107.37217138777,lat:25.850446129607},{id:522728,name:"罗甸县",parent:5227,lon:106.7349961033,lat:26.902825927797},{id:522729,name:"长顺县",parent:5227,lon:106.40419817264,lat:26.000476134172},{id:522730,name:"龙里县",parent:5227,lon:107.00653768938,lat:26.51764181381},{id:522731,name:"惠水县",parent:5227,lon:106.72222309186,lat:25.98299665897},{id:522732,name:"三都水族自治县",parent:5227,lon:107.95650555321,lat:25.852864250197},{id:530102,name:"五华区",parent:5301,lon:102.64937733166,lat:25.261305956605},{id:530103,name:"盘龙区",parent:5301,lon:102.76755633841,lat:25.274019484219},{id:530111,name:"官渡区",parent:5301,lon:102.82881924705,lat:25.031310976713},{id:530112,name:"西山区",parent:5301,lon:102.60347769299,lat:24.983630124462},{id:530113,name:"东川区",parent:5301,lon:103.07856150869,lat:26.139328854726},{id:530114,name:"呈贡区",parent:5301,lon:102.88428310764,lat:24.855409037478},{id:530122,name:"晋宁县",parent:5301,lon:102.5796139323,lat:24.605041073447},{id:530124,name:"富民县",parent:5301,lon:102.58410264122,lat:25.363439290284},{id:530125,name:"宜良县",parent:5301,lon:103.1928154872,lat:24.944907933143},{id:530126,name:"石林彝族自治县",parent:5301,lon:103.42733563256,lat:24.754309493364},{id:530127,name:"嵩明县",parent:5301,lon:103.00652503386,lat:25.317900180495},{id:530128,name:"禄劝彝族苗族自治县",parent:5301,lon:102.59302748518,lat:25.943771040548},{id:530129,name:"寻甸回族彝族自治县",parent:5301,lon:103.12781347645,lat:25.666609835146},{id:530181,name:"安宁市",parent:5301,lon:102.39112679952,lat:24.852355456268},{id:530302,name:"麒麟区",parent:5303,lon:103.91332638626,lat:25.360057471573},{id:530303,name:"沾益区",parent:5303,lon:103.86810959342,lat:25.79421035848},{id:530321,name:"马龙县",parent:5303,lon:103.51309543424,lat:25.368839999918},{id:530322,name:"陆良县",parent:5303,lon:103.70738599876,lat:25.037570538056},{id:530323,name:"师宗县",parent:5303,lon:104.12947917517,lat:24.680198025566},{id:530324,name:"罗平县",parent:5303,lon:104.34927875646,lat:24.983157127291},{id:530325,name:"富源县",parent:5303,lon:104.36745192446,lat:25.467214378875},{id:530326,name:"会泽县",parent:5303,lon:103.46854362948,lat:26.46221827304},{id:530381,name:"宣威市",parent:5303,lon:104.15257073219,lat:26.276828622628},{id:530402,name:"红塔区",parent:5304,lon:102.49989459797,lat:24.369853985289},{id:530403,name:"江川区",parent:5304,lon:102.75575323372,lat:24.367487731796},{id:530422,name:"澄江县",parent:5304,lon:102.94685033975,lat:24.678380080254},{id:530423,name:"通海县",parent:5304,lon:102.71141640598,lat:24.117558495247},{id:530424,name:"华宁县",parent:5304,lon:102.99906774243,lat:24.284812305871},{id:530425,name:"易门县",parent:5304,lon:102.12219715311,lat:24.6964042729},{id:530426,name:"峨山彝族自治县",parent:5304,lon:102.21924987866,lat:24.246114547538},{id:530427,name:"新平彝族傣族自治县",parent:5304,lon:101.73913066729,lat:24.029740767019},{id:530428,name:"元江哈尼族彝族傣族自治县",parent:5304,lon:102.01115013144,lat:23.605002999101},{id:530502,name:"隆阳区",parent:5305,lon:99.069046057861,lat:25.205265354944},{id:530521,name:"施甸县",parent:5305,lon:99.157489563481,lat:24.657220496518},{id:530523,name:"龙陵县",parent:5305,lon:98.842541709908,lat:24.499046233076},{id:530524,name:"昌宁县",parent:5305,lon:99.591112178323,lat:24.758162812306},{id:530581,name:"腾冲市",parent:5305,lon:98.43366397623,lat:25.248177969272},{id:530602,name:"昭阳区",parent:5306,lon:103.60727718737,lat:27.427583042152},{id:530621,name:"鲁甸县",parent:5306,lon:103.42585557677,lat:27.205702890521},{id:530622,name:"巧家县",parent:5306,lon:103.13002031079,lat:27.008327725094},{id:530623,name:"盐津县",parent:5306,lon:104.23053478313,lat:28.130706512198},{id:530624,name:"大关县",parent:5306,lon:103.91217766939,lat:27.905095827254},{id:530625,name:"永善县",parent:5306,lon:103.65282254144,lat:27.953163331681},{id:530626,name:"绥江县",parent:5306,lon:104.01558782767,lat:28.538865566801},{id:530627,name:"镇雄县",parent:5306,lon:104.83385203039,lat:27.568915967438},{id:530628,name:"彝良县",parent:5306,lon:104.24144905945,lat:27.630986376229},{id:530629,name:"威信县",parent:5306,lon:105.05028255746,lat:27.891462851573},{id:530630,name:"水富县",parent:5306,lon:104.22883253661,lat:28.510929836359},{id:530702,name:"古城区",parent:5307,lon:100.32859641682,lat:26.859300417703},{id:530721,name:"玉龙纳西族自治县",parent:5307,lon:99.951633936724,lat:27.104463367195},{id:530722,name:"永胜县",parent:5307,lon:100.70492052637,lat:26.491706080711},{id:530723,name:"华坪县",parent:5307,lon:101.25172921237,lat:26.645807144841},{id:530724,name:"宁蒗彝族自治县",parent:5307,lon:100.7783019296,lat:27.265588579997},{id:530802,name:"思茅区",parent:5308,lon:100.85525310555,lat:22.739133092283},{id:530821,name:"宁洱哈尼族彝族自治县",parent:5308,lon:101.19686023959,lat:23.097350457989},{id:530822,name:"墨江哈尼族自治县",parent:5308,lon:101.55548645512,lat:23.363251135433},{id:530823,name:"景东彝族自治县",parent:5308,lon:100.79520569746,lat:24.39672894394},{id:530824,name:"景谷傣族彝族自治县",parent:5308,lon:100.56429126294,lat:23.368117190796},{id:530825,name:"镇沅彝族哈尼族拉祜族自治县",parent:5308,lon:101.11331766944,lat:24.011540716931},{id:530826,name:"江城哈尼族彝族自治县",parent:5308,lon:101.79692922563,lat:22.625657650356},{id:530827,name:"孟连傣族拉祜族佤族自治县",parent:5308,lon:99.580342878181,lat:22.334366217371},{id:530828,name:"澜沧拉祜族自治县",parent:5308,lon:99.98453733381,lat:22.665993561569},{id:530829,name:"西盟佤族自治县",parent:5308,lon:99.522119995137,lat:22.708423462771},{id:530902,name:"临翔区",parent:5309,lon:100.13990768016,lat:23.849570452879},{id:530921,name:"凤庆县",parent:5309,lon:99.92091022745,lat:24.610505511987},{id:530922,name:"云县",parent:5309,lon:100.23368014335,lat:24.32740647676},{id:530923,name:"永德县",parent:5309,lon:99.427631734164,lat:24.089579787148},{id:530924,name:"镇康县",parent:5309,lon:99.005735747996,lat:23.901062771813},{id:530925,name:"双江拉祜族佤族布朗族傣族自治县",parent:5309,lon:99.840913908222,lat:23.476856812064},{id:530926,name:"耿马傣族佤族自治县",parent:5309,lon:99.434265495794,lat:23.641730399889},{id:530927,name:"沧源佤族自治县",parent:5309,lon:99.270497931724,lat:23.274581274109},{id:532301,name:"楚雄市",parent:5323,lon:101.32863799918,lat:24.880252472651},{id:532322,name:"双柏县",parent:5323,lon:101.64032208579,lat:24.535545259465},{id:532323,name:"牟定县",parent:5323,lon:101.59675770511,lat:25.407356738979},{id:532324,name:"南华县",parent:5323,lon:101.0380121979,lat:25.103522672439},{id:532325,name:"姚安县",parent:5323,lon:101.2112377333,lat:25.516954435787},{id:532326,name:"大姚县",parent:5323,lon:101.24291307892,lat:25.947669905565},{id:532327,name:"永仁县",parent:5323,lon:101.56019002604,lat:26.143679315458},{id:532328,name:"元谋县",parent:5323,lon:101.87051082301,lat:25.783195511954},{id:532329,name:"武定县",parent:5323,lon:102.20117587964,lat:25.731109547237},{id:532331,name:"禄丰县",parent:5323,lon:102.02612983069,lat:25.185818987516},{id:532501,name:"个旧市",parent:5325,lon:101.59295163701,lat:24.864212795483},{id:532502,name:"开远市",parent:5325,lon:101.59295163701,lat:24.864212795483},{id:532503,name:"蒙自市",parent:5325,lon:103.51669152583,lat:23.338656934664},{id:532504,name:"弥勒市",parent:5325,lon:103.445318018,lat:24.251508766722},{id:532523,name:"屏边苗族自治县",parent:5325,lon:103.89743584577,lat:23.21267768326},{id:532524,name:"建水县",parent:5325,lon:102.79065788154,lat:23.987913437671},{id:532525,name:"石屏县",parent:5325,lon:102.40773898854,lat:23.789535774797},{id:532527,name:"泸西县",parent:5325,lon:103.75100845447,lat:24.539744740964},{id:532528,name:"元阳县",parent:5325,lon:102.73114873474,lat:23.141055739179},{id:532529,name:"红河县",parent:5325,lon:102.51563446331,lat:23.211095049214},{id:532530,name:"金平苗族瑶族傣族自治县",parent:5325,lon:103.25176348949,lat:22.996373389905},{id:532531,name:"绿春县",parent:5325,lon:102.35379214946,lat:23.091544011399},{id:532532,name:"河口瑶族自治县",parent:5325,lon:103.67125958623,lat:22.862620371198},{id:532601,name:"文山市",parent:5326,lon:104.03093981246,lat:23.416009535072},{id:532622,name:"砚山县",parent:5326,lon:104.5218246496,lat:23.89947126948},{id:532623,name:"西畴县",parent:5326,lon:104.8239553349,lat:23.49211237168},{id:532624,name:"麻栗坡县",parent:5326,lon:105.06044414168,lat:23.433721461415},{id:532625,name:"马关县",parent:5326,lon:101.59295163701,lat:24.864212795483},{id:532626,name:"丘北县",parent:5326,lon:104.34003905514,lat:24.08610830304},{id:532627,name:"广南县",parent:5326,lon:104.83870730798,lat:24.222835784674},{id:532628,name:"富宁县",parent:5326,lon:105.60430973793,lat:23.396160831269},{id:532801,name:"景洪市",parent:5328,lon:101.59295163701,lat:24.864212795483},{id:532822,name:"勐海县",parent:5328,lon:100.33738150932,lat:21.960731038528},{id:532823,name:"勐腊县",parent:5328,lon:101.46195902318,lat:21.736659717735},{id:532901,name:"大理市",parent:5329,lon:100.15242712507,lat:25.57616489493},{id:532922,name:"漾濞彝族自治县",parent:5329,lon:99.898375043674,lat:25.605571782134},{id:532923,name:"祥云县",parent:5329,lon:100.57035927192,lat:25.501610700196},{id:532924,name:"宾川县",parent:5329,lon:100.62753770311,lat:25.875307433534},{id:532925,name:"弥渡县",parent:5329,lon:100.58186613328,lat:25.1911077724},{id:532926,name:"南涧彝族自治县",parent:5329,lon:100.42490043802,lat:24.903013805535},{id:532927,name:"巍山彝族回族自治县",parent:5329,lon:100.26759078972,lat:25.343492434694},{id:532928,name:"永平县",parent:5329,lon:99.600792211043,lat:25.374646522171},{id:532929,name:"云龙县",parent:5329,lon:99.310077976062,lat:25.894118475707},{id:532930,name:"洱源县",parent:5329,lon:100.03831537618,lat:26.294924841349},{id:532931,name:"剑川县",parent:5329,lon:99.750307802477,lat:26.439596125001},{id:532932,name:"鹤庆县",parent:5329,lon:100.27717450154,lat:26.3354536106},{id:533102,name:"瑞丽市",parent:5331,lon:101.59295163701,lat:24.864212795483},{id:533103,name:"芒市",parent:5331,lon:98.589434287407,lat:24.441239663008},{id:533122,name:"梁河县",parent:5331,lon:98.322123152856,lat:24.743716502863},{id:533123,name:"盈江县",parent:5331,lon:97.950762066645,lat:24.706749398739},{id:533124,name:"陇川县",parent:5331,lon:97.965384779773,lat:24.381370607265},{id:533301,name:"泸水市",parent:5333,lon:98.86274058298,lat:26.042265332796},{id:533323,name:"福贡县",parent:5333,lon:98.86865857308,lat:26.996507466856},{id:533324,name:"贡山独龙族怒族自治县",parent:5333,lon:101.59295163701,lat:24.864212795483},{id:533325,name:"兰坪白族普米族自治县",parent:5333,lon:99.117417482927,lat:26.443506114149},{id:533401,name:"香格里拉市",parent:5334,lon:99.85507644287,lat:27.866680825387},{id:533422,name:"德钦县",parent:5334,lon:99.037553971725,lat:28.351417174855},{id:533423,name:"维西傈僳族自治县",parent:5334,lon:99.152722827441,lat:27.45295793965},{id:540102,name:"城关区",parent:5401,lon:91.168729990815,lat:29.666400338845},{id:540103,name:"堆龙德庆区",parent:5401,lon:90.8294509947,lat:29.796237760398},{id:540121,name:"林周县",parent:5401,lon:91.347042959548,lat:30.116477915324},{id:540122,name:"当雄县",parent:5401,lon:90.894814857309,lat:30.424299479353},{id:540123,name:"尼木县",parent:5401,lon:90.095471065982,lat:29.603193843519},{id:540124,name:"曲水县",parent:5401,lon:90.714553495792,lat:29.445004244787},{id:540126,name:"达孜县",parent:5401,lon:91.473900848722,lat:29.747665564603},{id:540127,name:"墨竹工卡县",parent:5401,lon:92.031891526243,lat:29.916717538581},{id:540202,name:"桑珠孜区",parent:5402,lon:88.956062773518,lat:29.268160032655},{id:540221,name:"南木林县",parent:5402,lon:88.956062773518,lat:29.268160032655},{id:540222,name:"江孜县",parent:5402,lon:88.956062773518,lat:29.268160032655},{id:540223,name:"定日县",parent:5402,lon:88.956062773518,lat:29.268160032655},{id:540224,name:"萨迦县",parent:5402,lon:88.956062773518,lat:29.268160032655},{id:540225,name:"拉孜县",parent:5402,lon:88.956062773518,lat:29.268160032655},{id:540226,name:"昂仁县",parent:5402,lon:88.956062773518,lat:29.268160032655},{id:540227,name:"谢通门县",parent:5402,lon:88.956062773518,lat:29.268160032655},{id:540228,name:"白朗县",parent:5402,lon:89.113585077496,lat:28.795794414747},{id:540229,name:"仁布县",parent:5402,lon:90.003352252057,lat:29.247386928273},{id:540230,name:"康马县",parent:5402,lon:88.956062773518,lat:29.268160032655},{id:540231,name:"定结县",parent:5402,lon:88.956062773518,lat:29.268160032655},{id:540232,name:"仲巴县",parent:5402,lon:88.956062773518,lat:29.268160032655},{id:540233,name:"亚东县",parent:5402,lon:88.956062773518,lat:29.268160032655},{id:540234,name:"吉隆县",parent:5402,lon:88.956062773518,lat:29.268160032655},{id:540235,name:"聂拉木县",parent:5402,lon:88.956062773518,lat:29.268160032655},{id:540236,name:"萨嘎县",parent:5402,lon:88.956062773518,lat:29.268160032655},{id:540237,name:"岗巴县",parent:5402,lon:88.956062773518,lat:29.268160032655},{id:540302,name:"卡若区",parent:5403,lon:97.334535331605,lat:31.529862428285},{id:540321,name:"江达县",parent:5403,lon:98.118022293299,lat:31.780569180094},{id:540322,name:"贡觉县",parent:5403,lon:98.426429044036,lat:30.736504388643},{id:540323,name:"类乌齐县",parent:5403,lon:96.391967073454,lat:31.449065979774},{id:540324,name:"丁青县",parent:5403,lon:95.522471824657,lat:31.685241377535},{id:540325,name:"察雅县",parent:5403,lon:97.836858866086,lat:30.618372794064},{id:540326,name:"八宿县",parent:5403,lon:96.879160712332,lat:30.074689806895},{id:540327,name:"左贡县",parent:5403,lon:97.887595370154,lat:29.444978973304},{id:540328,name:"芒康县",parent:5403,lon:98.554769564416,lat:29.51433481024},{id:540329,name:"洛隆县",parent:5403,lon:95.916491128377,lat:30.698457783096},{id:540330,name:"边坝县",parent:5403,lon:94.483413447372,lat:30.96906728495},{id:540402,name:"巴宜区",parent:5404,lon:94.375930017941,lat:29.813114097649},{id:540421,name:"工布江达县",parent:5404,lon:93.262111473599,lat:30.032418475925},{id:540422,name:"米林县",parent:5404,lon:94.174542402829,lat:29.25246445514},{id:540423,name:"墨脱县",parent:5404,lon:94.931464872257,lat:28.754711260372},{id:540424,name:"波密县",parent:5404,lon:95.345896846749,lat:30.019416163945},{id:540425,name:"察隅县",parent:5404,lon:97.229506149139,lat:28.653566547177},{id:540426,name:"朗县",parent:5404,lon:93.126863813454,lat:29.087717194008},{id:540502,name:"乃东区",parent:5405,lon:91.797519071958,lat:29.167743326287},{id:540521,name:"扎囊县",parent:5405,lon:91.407298324182,lat:29.266820605393},{id:540522,name:"贡嘎县",parent:5405,lon:90.860869080783,lat:29.240130838536},{id:540523,name:"桑日县",parent:5405,lon:92.231280965366,lat:29.42065032555},{id:540524,name:"琼结县",parent:5405,lon:91.584038524668,lat:29.013065914396},{id:540525,name:"曲松县",parent:5405,lon:92.237345606421,lat:28.954175694618},{id:540526,name:"措美县",parent:5405,lon:91.551753322243,lat:28.585924343435},{id:540527,name:"洛扎县",parent:5405,lon:90.897039902791,lat:28.210518915815},{id:540528,name:"加查县",parent:5405,lon:92.727658842783,lat:29.275255680226},{id:540529,name:"隆子县",parent:5405,lon:93.019223010095,lat:28.486722025563},{id:540530,name:"错那县",parent:5405,lon:92.888732384978,lat:27.66585127009},{id:540531,name:"浪卡子县",parent:5405,lon:90.702914725708,lat:28.732790957089},{id:542421,name:"那曲县",parent:5424,lon:92.034626453644,lat:31.252314725152},{id:542422,name:"嘉黎县",parent:5424,lon:92.961316438644,lat:30.668911708265},{id:542423,name:"比如县",parent:5424,lon:93.493424136652,lat:31.44713553851},{id:542424,name:"聂荣县",parent:5424,lon:92.642153446415,lat:32.249649761022},{id:542425,name:"安多县",parent:5424,lon:90.569314254249,lat:33.321681895077},{id:542426,name:"申扎县",parent:5424,lon:88.735362127732,lat:31.035234259381},{id:542427,name:"索县",parent:5424,lon:94.312549818243,lat:31.592787589013},{id:542428,name:"班戈县",parent:5424,lon:90.12340113956,lat:31.2181120282},{id:542429,name:"巴青县",parent:5424,lon:94.018948797784,lat:32.198838522007},{id:542430,name:"尼玛县",parent:5424,lon:87.654846646508,lat:33.536965980784},{id:542431,name:"双湖县",parent:5424,lon:88.221417061569,lat:34.102579150651},{id:542521,name:"普兰县",parent:5425,lon:81.530582849369,lat:30.637119738777},{id:542522,name:"札达县",parent:5425,lon:79.552757074516,lat:31.553648618356},{id:542523,name:"噶尔县",parent:5425,lon:80.315974443536,lat:32.005501431945},{id:542524,name:"日土县",parent:5425,lon:80.719742169545,lat:33.984683055318},{id:542525,name:"革吉县",parent:5425,lon:82.03379760961,lat:32.057883395434},{id:542526,name:"改则县",parent:5425,lon:84.285002167349,lat:33.841204623772},{id:542527,name:"措勤县",parent:5425,lon:85.210285811396,lat:30.749850801541},{id:610102,name:"新城区",parent:6101,lon:108.99153865841,lat:34.271473780191},{id:610103,name:"碑林区",parent:6101,lon:108.96625890407,lat:34.255484557671},{id:610104,name:"莲湖区",parent:6101,lon:108.91554659362,lat:34.273192373169},{id:610111,name:"灞桥区",parent:6101,lon:109.10875495118,lat:34.303915149746},{id:610112,name:"未央区",parent:6101,lon:108.92646199371,lat:34.331331489423},{id:610113,name:"雁塔区",parent:6101,lon:108.93879042836,lat:34.221414918471},{id:610114,name:"阎良区",parent:6101,lon:109.31341715315,lat:34.686373084486},{id:610115,name:"临潼区",parent:6101,lon:109.3104528348,lat:34.456277329548},{id:610116,name:"长安区",parent:6101,lon:108.87425634018,lat:34.066898727937},{id:610117,name:"高陵区",parent:6101,lon:109.07152291236,lat:34.513346424398},{id:610122,name:"蓝田县",parent:6101,lon:109.42339003093,lat:34.100786931955},{id:610124,name:"周至县",parent:6101,lon:108.11354147874,lat:33.953602363476},{id:610125,name:"户县",parent:6101,lon:108.59248134192,lat:34.00383365133},{id:610202,name:"王益区",parent:6102,lon:109.06850448637,lat:35.070041017281},{id:610203,name:"印台区",parent:6102,lon:109.18538598068,lat:35.160933883455},{id:610204,name:"耀州区",parent:6102,lon:108.8354996676,lat:35.032000358937},{id:610222,name:"宜君县",parent:6102,lon:109.20440179145,lat:35.383901876425},{id:610302,name:"渭滨区",parent:6103,lon:107.10824439064,lat:34.311027035867},{id:610303,name:"金台区",parent:6103,lon:107.11761362728,lat:34.40317453128},{id:610304,name:"陈仓区",parent:6103,lon:106.92358089475,lat:34.482540082479},{id:610322,name:"凤翔县",parent:6103,lon:107.43678881989,lat:34.577025723794},{id:610323,name:"岐山县",parent:6103,lon:107.68898501373,lat:34.410705264779},{id:610324,name:"扶风县",parent:6103,lon:107.92510162193,lat:34.41197448025},{id:610326,name:"眉县",parent:6103,lon:107.83384402175,lat:34.150539928532},{id:610327,name:"陇县",parent:6103,lon:106.7730643229,lat:34.876941335239},{id:610328,name:"千阳县",parent:6103,lon:107.17797400373,lat:34.766951491427},{id:610329,name:"麟游县",parent:6103,lon:107.71077450759,lat:34.785692691421},{id:610330,name:"凤县",parent:6103,lon:106.76610395886,lat:33.993251781372},{id:610331,name:"太白县",parent:6103,lon:107.4168652793,lat:33.94297244023},{id:610402,name:"秦都区",parent:6104,lon:108.68341537696,lat:34.354285427987},{id:610403,name:"杨陵区",parent:6104,lon:108.05873803758,lat:34.290198720106},{id:610404,name:"渭城区",parent:6104,lon:108.81731239458,lat:34.423852572977},{id:610422,name:"三原县",parent:6104,lon:108.98069993821,lat:34.703211629709},{id:610423,name:"泾阳县",parent:6104,lon:108.78075311312,lat:34.608867001852},{id:610424,name:"乾县",parent:6104,lon:108.22948289516,lat:34.527672579796},{id:610425,name:"礼泉县",parent:6104,lon:108.48256879405,lat:34.597853791406},{id:610426,name:"永寿县",parent:6104,lon:108.13671381859,lat:34.777655607134},{id:610427,name:"彬县",parent:6104,lon:108.06798630717,lat:35.051834974906},{id:610428,name:"长武县",parent:6104,lon:107.83479969951,lat:35.170581688184},{id:610429,name:"旬邑县",parent:6104,lon:108.49412543869,lat:35.216832056498},{id:610430,name:"淳化县",parent:6104,lon:108.57021884883,lat:34.869115751197},{id:610431,name:"武功县",parent:6104,lon:108.19099325441,lat:34.316553316648},{id:610481,name:"兴平市",parent:6104,lon:108.47576040598,lat:34.307609399651},{id:610502,name:"临渭区",parent:6105,lon:109.56474625615,lat:34.553520116268},{id:610503,name:"华州区",parent:6105,lon:109.82852431434,lat:34.420454032973},{id:610522,name:"潼关县",parent:6105,lon:110.29554551613,lat:34.507137056057},{id:610523,name:"大荔县",parent:6105,lon:110.01194954265,lat:34.796840374649},{id:610524,name:"合阳县",parent:6105,lon:110.19110357566,lat:35.208388187296},{id:610525,name:"澄城县",parent:6105,lon:109.90160517601,lat:35.222564490705},{id:610526,name:"蒲城县",parent:6105,lon:109.62824611949,lat:34.967696650545},{id:610527,name:"白水县",parent:6105,lon:109.5701661435,lat:35.271645917395},{id:610528,name:"富平县",parent:6105,lon:109.23593971498,lat:34.879423511794},{id:610581,name:"韩城市",parent:6105,lon:110.39377368099,lat:35.582782138309},{id:610582,name:"华阴市",parent:6105,lon:110.05818818766,lat:34.532717876993},{id:610602,name:"宝塔区",parent:6106,lon:109.64860224516,lat:36.575992490922},{id:610603,name:"安塞区",parent:6106,lon:109.15556502968,lat:36.926615808304},{id:610621,name:"延长县",parent:6106,lon:110.13820395785,lat:36.543668537707},{id:610622,name:"延川县",parent:6106,lon:110.08409714122,lat:36.88242672637},{id:610623,name:"子长县",parent:6106,lon:109.62229012795,lat:37.231001638593},{id:610625,name:"志丹县",parent:6106,lon:108.66244666802,lat:36.753503067474},{id:610626,name:"吴起县",parent:6106,lon:108.12948505986,lat:36.985223505156},{id:610627,name:"甘泉县",parent:6106,lon:109.18223909796,lat:36.353544169394},{id:610628,name:"富县",parent:6106,lon:109.04960350294,lat:36.017427088571},{id:610629,name:"洛川县",parent:6106,lon:109.56098175038,lat:35.744158257757},{id:610630,name:"宜川县",parent:6106,lon:110.19112656349,lat:36.071139382475},{id:610631,name:"黄龙县",parent:6106,lon:109.94510069451,lat:35.702635706301},{id:610632,name:"黄陵县",parent:6106,lon:108.95305831904,lat:35.62841424749},{id:610702,name:"汉台区",parent:6107,lon:107.04616716185,lat:33.187204162513},{id:610721,name:"南郑县",parent:6107,lon:106.96974070111,lat:32.812036143125},{id:610722,name:"城固县",parent:6107,lon:107.26083703889,lat:33.223582827388},{id:610723,name:"洋县",parent:6107,lon:107.61609308741,lat:33.371586660725},{id:610724,name:"西乡县",parent:6107,lon:107.75371241439,lat:32.894902801657},{id:610725,name:"勉县",parent:6107,lon:106.66457828015,lat:33.243885511916},{id:610726,name:"宁强县",parent:6107,lon:106.14087102725,lat:32.914183257269},{id:610727,name:"略阳县",parent:6107,lon:106.16283351204,lat:33.385373533804},{id:610728,name:"镇巴县",parent:6107,lon:107.88277388136,lat:32.517415574628},{id:610729,name:"留坝县",parent:6107,lon:106.95962831346,lat:33.612960467486},{id:610730,name:"佛坪县",parent:6107,lon:107.92883622761,lat:33.549939112272},{id:610802,name:"榆阳区",parent:6108,lon:109.64269245717,lat:38.386406641165},{id:610803,name:"横山区",parent:6108,lon:109.50067321533,lat:37.80809785663},{id:610821,name:"神木县",parent:6108,lon:110.33126976909,lat:38.829035865956},{id:610822,name:"府谷县",parent:6108,lon:110.86693418362,lat:39.187272466272},{id:610824,name:"靖边县",parent:6108,lon:108.81325925462,lat:37.484215805492},{id:610825,name:"定边县",parent:6108,lon:107.7542930803,lat:37.388791134452},{id:610826,name:"绥德县",parent:6108,lon:110.39614377168,lat:37.520861333414},{id:610827,name:"米脂县",parent:6108,lon:110.18690099232,lat:37.8285293893},{id:610828,name:"佳县",parent:6108,lon:110.37373997088,lat:38.078380449363},{id:610829,name:"吴堡县",parent:6108,lon:110.69187682122,lat:37.594879166095},{id:610830,name:"清涧县",parent:6108,lon:110.28929412737,lat:37.187443767355},{id:610831,name:"子洲县",parent:6108,lon:109.8772926757,lat:37.533672486299},{id:610902,name:"汉滨区",parent:6109,lon:108.89624328129,lat:32.814464034575},{id:610921,name:"汉阴县",parent:6109,lon:108.49695491326,lat:32.902520654164},{id:610922,name:"石泉县",parent:6109,lon:108.25051841167,lat:33.065316023116},{id:610923,name:"宁陕县",parent:6109,lon:108.45179634269,lat:33.536923574813},{id:610924,name:"紫阳县",parent:6109,lon:108.44482568913,lat:32.448942187958},{id:610925,name:"岚皋县",parent:6109,lon:108.88718069832,lat:32.242470474479},{id:610926,name:"平利县",parent:6109,lon:109.2703969757,lat:32.291256567392},{id:610927,name:"镇坪县",parent:6109,lon:109.45671118087,lat:31.939261564672},{id:610928,name:"旬阳县",parent:6109,lon:109.42357994353,lat:32.902076990198},{id:610929,name:"白河县",parent:6109,lon:109.91837503137,lat:32.729864671398},{id:611002,name:"商州区",parent:6110,lon:109.87327053686,lat:33.895484903711},{id:611021,name:"洛南县",parent:6110,lon:110.27264280953,lat:34.16568436231},{id:611022,name:"丹凤县",parent:6110,lon:110.44379951579,lat:33.684553642613},{id:611023,name:"商南县",parent:6110,lon:110.76653283748,lat:33.411702755168},{id:611024,name:"山阳县",parent:6110,lon:109.98131923576,lat:33.427684397681},{id:611025,name:"镇安县",parent:6110,lon:109.07737051732,lat:33.380938764863},{id:611026,name:"柞水县",parent:6110,lon:109.28054880136,lat:33.695399655075},{id:620102,name:"城关区",parent:6201,lon:103.85157116258,lat:36.054008131567},{id:620103,name:"七里河区",parent:6201,lon:103.77199449949,lat:35.992495346876},{id:620104,name:"西固区",parent:6201,lon:103.56267979363,lat:36.106471763711},{id:620105,name:"安宁区",parent:6201,lon:103.7191558999,lat:36.11552303805},{id:620111,name:"红古区",parent:6201,lon:103.06027548801,lat:36.303488391492},{id:620121,name:"永登县",parent:6201,lon:103.25279353462,lat:36.616923609035},{id:620122,name:"皋兰县",parent:6201,lon:103.89046691011,lat:36.394687882673},{id:620123,name:"榆中县",parent:6201,lon:104.244289521,lat:35.999785042711},{id:620201,name:"嘉峪关市",parent:62,lon:98.281634585257,lat:39.802397326734},{id:620302,name:"金川区",parent:6203,lon:102.32867993808,lat:38.492171668259},{id:620321,name:"永昌县",parent:6203,lon:102.03431627622,lat:38.433409665467},{id:620402,name:"白银区",parent:6204,lon:104.2056493285,lat:36.50182182871},{id:620403,name:"平川区",parent:6204,lon:104.94560896536,lat:36.690350490926},{id:620421,name:"靖远县",parent:6204,lon:104.73232686762,lat:36.749103432427},{id:620422,name:"会宁县",parent:6204,lon:105.10186095322,lat:35.963481743844},{id:620423,name:"景泰县",parent:6204,lon:104.06166772084,lat:37.14607896393},{id:620502,name:"秦州区",parent:6205,lon:105.58117092709,lat:34.344448280622},{id:620503,name:"麦积区",parent:6205,lon:106.05204030761,lat:34.520218471455},{id:620521,name:"清水县",parent:6205,lon:106.14008000664,lat:34.74252730496},{id:620522,name:"秦安县",parent:6205,lon:105.69804091114,lat:34.953499919918},{id:620523,name:"甘谷县",parent:6205,lon:105.27453175252,lat:34.809420550799},{id:620524,name:"武山县",parent:6205,lon:104.88672977677,lat:34.680181826047},{id:620525,name:"张家川回族自治县",parent:6205,lon:106.28213682392,lat:34.995955449082},{id:620602,name:"凉州区",parent:6206,lon:102.75947740159,lat:37.916272406996},{id:620621,name:"民勤县",parent:6206,lon:103.20247261178,lat:38.827727985281},{id:620622,name:"古浪县",parent:6206,lon:103.34292346491,lat:37.531271711364},{id:620623,name:"天祝藏族自治县",parent:6206,lon:102.76116389471,lat:37.280912201076},{id:620702,name:"甘州区",parent:6207,lon:100.52207864992,lat:39.010620607403},{id:620721,name:"肃南裕固族自治县",parent:6207,lon:99.32677151937,lat:38.92057106606},{id:620722,name:"民乐县",parent:6207,lon:100.7984292987,lat:38.473163420728},{id:620723,name:"临泽县",parent:6207,lon:100.19122429388,lat:39.347031674446},{id:620724,name:"高台县",parent:6207,lon:99.607521373805,lat:39.54167477275},{id:620725,name:"山丹县",parent:6207,lon:101.23164701727,lat:38.530221367211},{id:620802,name:"崆峒区",parent:6208,lon:106.74888681637,lat:35.515774315921},{id:620821,name:"泾川县",parent:6208,lon:107.44140503868,lat:35.354114511504},{id:620822,name:"灵台县",parent:6208,lon:107.40960562376,lat:35.074478179591},{id:620823,name:"崇信县",parent:6208,lon:107.0037763949,lat:35.249102891785},{id:620824,name:"华亭县",parent:6208,lon:106.60867034279,lat:35.205549578778},{id:620825,name:"庄浪县",parent:6208,lon:106.06568568013,lat:35.255968489859},{id:620826,name:"静宁县",parent:6208,lon:105.67756247251,lat:35.434011745999},{id:620902,name:"肃州区",parent:6209,lon:98.802616462619,lat:39.598374259485},{id:620921,name:"金塔县",parent:6209,lon:99.186587021952,lat:40.382579195507},{id:620922,name:"瓜州县",parent:6209,lon:95.804712825239,lat:40.734286870761},{id:620923,name:"肃北蒙古族自治县",parent:6209,lon:96.532550627515,lat:40.67651966541},{id:620924,name:"阿克塞哈萨克族自治县",parent:6209,lon:94.452300569161,lat:39.025889605786},{id:620981,name:"玉门市",parent:6209,lon:97.461208851694,lat:40.225551802072},{id:620982,name:"敦煌市",parent:6209,lon:94.158041766451,lat:40.388771499344},{id:621002,name:"西峰区",parent:6210,lon:107.67367365978,lat:35.677201418546},{id:621021,name:"庆城县",parent:6210,lon:107.68254775923,lat:36.046137555053},{id:621022,name:"环县",parent:6210,lon:107.07217218514,lat:36.616788638949},{id:621023,name:"华池县",parent:6210,lon:108.03431226296,lat:36.444471972715},{id:621024,name:"合水县",parent:6210,lon:108.31734058051,lat:36.014259860237},{id:621025,name:"正宁县",parent:6210,lon:108.37808719083,lat:35.414731657592},{id:621026,name:"宁县",parent:6210,lon:108.11417335803,lat:35.571366266826},{id:621027,name:"镇原县",parent:6210,lon:107.17722652653,lat:35.787953892327},{id:621102,name:"安定区",parent:6211,lon:104.63762366893,lat:35.644415174266},{id:621121,name:"通渭县",parent:6211,lon:105.19397766216,lat:35.213473762851},{id:621122,name:"陇西县",parent:6211,lon:104.63291319296,lat:35.111801691091},{id:621123,name:"渭源县",parent:6211,lon:104.14632784195,lat:35.139480681839},{id:621124,name:"临洮县",parent:6211,lon:103.91201515484,lat:35.531078701642},{id:621125,name:"漳县",parent:6211,lon:104.36540253683,lat:34.726750534701},{id:621126,name:"岷县",parent:6211,lon:104.24672610097,lat:34.429644403444},{id:621202,name:"武都区",parent:6212,lon:105.13455295643,lat:33.293917195649},{id:621221,name:"成县",parent:6212,lon:105.68828896242,lat:33.747296636905},{id:621222,name:"文县",parent:6212,lon:104.78420570271,lat:32.947265418467},{id:621223,name:"宕昌县",parent:6212,lon:104.45282709018,lat:34.013488842529},{id:621224,name:"康县",parent:6212,lon:105.63797390347,lat:33.284990408681},{id:621225,name:"西和县",parent:6212,lon:105.33853139264,lat:33.919624520579},{id:621226,name:"礼县",parent:6212,lon:105.06409130212,lat:34.111636708139},{id:621227,name:"徽县",parent:6212,lon:106.03331703965,lat:33.892851204433},{id:621228,name:"两当县",parent:6212,lon:106.40388517582,lat:33.911378923592},{id:622901,name:"临夏市",parent:6229,lon:103.2005757611,lat:35.585834814564},{id:622921,name:"临夏县",parent:6229,lon:103.05079063073,lat:35.51871940176},{id:622922,name:"康乐县",parent:6229,lon:103.62902014045,lat:35.258018266344},{id:622923,name:"永靖县",parent:6229,lon:103.22504409432,lat:36.007874959311},{id:622924,name:"广河县",parent:6229,lon:103.63113999251,lat:35.478027097747},{id:622925,name:"和政县",parent:6229,lon:103.29856767173,lat:35.345732331975},{id:622926,name:"东乡族自治县",parent:6229,lon:103.45214513327,lat:35.698472340993},{id:622927,name:"积石山保安族东乡族撒拉族自治县",parent:6229,lon:102.86781858816,lat:35.710873026896},{id:623001,name:"合作市",parent:6230,lon:103.08564921659,lat:34.997259505739},{id:623021,name:"临潭县",parent:6230,lon:103.63190648409,lat:34.742615145611},{id:623022,name:"卓尼县",parent:6230,lon:103.39362024363,lat:34.614457775996},{id:623023,name:"舟曲县",parent:6230,lon:104.32632271288,lat:33.634810419739},{id:623024,name:"迭部县",parent:6230,lon:103.57044621531,lat:34.005620769228},{id:623025,name:"玛曲县",parent:6230,lon:101.66897741851,lat:33.850721989423},{id:623026,name:"碌曲县",parent:6230,lon:102.4775472855,lat:34.392608970483},{id:623027,name:"夏河县",parent:6230,lon:102.50657841215,lat:35.023030857767},{id:630102,name:"城东区",parent:6301,lon:101.8318647116,lat:36.602116754388},{id:630103,name:"城中区",parent:6301,lon:101.77736110275,lat:36.606648708407},{id:630104,name:"城西区",parent:6301,lon:101.72760342157,lat:36.631635686769},{id:630105,name:"城北区",parent:6301,lon:101.7126636128,lat:36.686367847542},{id:630121,name:"大通回族土族自治县",parent:6301,lon:101.49047766775,lat:37.120688447453},{id:630122,name:"湟中县",parent:6301,lon:101.54449443066,lat:36.579759412822},{id:630123,name:"湟源县",parent:6301,lon:101.16317752228,lat:36.636354795068},{id:630202,name:"乐都区",parent:6302,lon:102.45288779666,lat:36.535266451079},{id:630203,name:"平安区",parent:6302,lon:102.00299964296,lat:36.410605515699},{id:630222,name:"民和回族土族自治县",parent:6302,lon:102.37668874252,lat:36.312743354178},{id:630223,name:"互助土族自治县",parent:6302,lon:102.25718820705,lat:36.83096012588},{id:630224,name:"化隆回族自治县",parent:6302,lon:102.19192348838,lat:36.063668678141},{id:630225,name:"循化撒拉族自治县",parent:6302,lon:102.41213008567,lat:35.70370031381},{id:632221,name:"门源回族自治县",parent:6322,lon:101.73134392349,lat:37.45838446475},{id:632222,name:"祁连县",parent:6322,lon:99.711262922683,lat:38.327948935969},{id:632223,name:"海晏县",parent:6322,lon:100.84335509134,lat:37.114748322372},{id:632224,name:"刚察县",parent:6322,lon:99.988382638435,lat:37.556876866897},{id:632321,name:"同仁县",parent:6323,lon:102.07844901848,lat:35.426828765429},{id:632322,name:"尖扎县",parent:6323,lon:101.8497538518,lat:35.918696822502},{id:632323,name:"泽库县",parent:6323,lon:101.43544631681,lat:35.139216924404},{id:632324,name:"河南蒙古族自治县",parent:6323,lon:101.55630729533,lat:34.511389737869},{id:632521,name:"共和县",parent:6325,lon:100.06487566684,lat:36.538342364813},{id:632522,name:"同德县",parent:6325,lon:100.60173869992,lat:35.068401149266},{id:632523,name:"贵德县",parent:6325,lon:101.41576189108,lat:36.010503374887},{id:632524,name:"兴海县",parent:6325,lon:99.733309029,lat:35.54029982537},{id:632525,name:"贵南县",parent:6325,lon:100.8846104318,lat:35.698086207737},{id:632621,name:"玛沁县",parent:6326,lon:99.794261606919,lat:34.504017087053},{id:632622,name:"班玛县",parent:6326,lon:100.55042865772,lat:32.909735756429},{id:632623,name:"甘德县",parent:6326,lon:100.1478423084,lat:34.021807573602},{id:632624,name:"达日县",parent:6326,lon:99.410809497102,lat:33.482696864248},{id:632625,name:"久治县",parent:6326,lon:101.00550828784,lat:33.473902951608},{id:632626,name:"玛多县",parent:6326,lon:98.244476788626,lat:34.79757019551},{id:632701,name:"玉树市",parent:6327,lon:96.712350119487,lat:32.906574629922},{id:632722,name:"杂多县",parent:6327,lon:94.30131455019,lat:33.065763568805},{id:632723,name:"称多县",parent:6327,lon:97.001973841494,lat:33.935171842212},{id:632724,name:"治多县",parent:6327,lon:92.608641864013,lat:34.884438571607},{id:632725,name:"囊谦县",parent:6327,lon:96.137026010488,lat:32.178288570852},{id:632726,name:"曲麻莱县",parent:6327,lon:95.140845875343,lat:34.876865391833},{id:632801,name:"格尔木市",parent:6328,lon:96.202543672261,lat:35.499761004275},{id:632802,name:"德令哈市",parent:6328,lon:96.202543672261,lat:35.499761004275},{id:632821,name:"乌兰县",parent:6328,lon:98.672630599729,lat:36.902366896364},{id:632822,name:"都兰县",parent:6328,lon:97.154434686537,lat:36.160067040805},{id:632823,name:"天峻县",parent:6328,lon:98.496512304144,lat:38.051753388375},{id:640104,name:"兴庆区",parent:6401,lon:106.38212078081,lat:38.464266316255},{id:640105,name:"西夏区",parent:6401,lon:106.05555591606,lat:38.55328059311},{id:640106,name:"金凤区",parent:6401,lon:106.24264950801,lat:38.47859072607},{id:640121,name:"永宁县",parent:6401,lon:106.10904802497,lat:38.295049444356},{id:640122,name:"贺兰县",parent:6401,lon:106.26651804243,lat:38.687106885054},{id:640181,name:"灵武市",parent:6401,lon:106.53199999229,lat:37.935174812169},{id:640202,name:"大武口区",parent:6402,lon:106.38721561034,lat:38.967534270672},{id:640205,name:"惠农区",parent:6402,lon:106.61377347013,lat:39.108073765064},{id:640221,name:"平罗县",parent:6402,lon:106.54437947509,lat:38.891511355897},{id:640302,name:"利通区",parent:6403,lon:106.21901163377,lat:37.76788189318},{id:640303,name:"红寺堡区",parent:6403,lon:106.16687896986,lat:37.374136412893},{id:640323,name:"盐池县",parent:6403,lon:107.04976116152,lat:37.625336523188},{id:640324,name:"同心县",parent:6403,lon:106.24738743176,lat:37.098456634364},{id:640381,name:"青铜峡市",parent:6403,lon:105.96146159918,lat:37.942124742884},{id:640402,name:"原州区",parent:6404,lon:106.25401126905,lat:36.206829483476},{id:640422,name:"西吉县",parent:6404,lon:105.72674858688,lat:35.939934380868},{id:640423,name:"隆德县",parent:6404,lon:106.07361128455,lat:35.589137720123},{id:640424,name:"泾源县",parent:6404,lon:106.35402263843,lat:35.529746376118},{id:640425,name:"彭阳县",parent:6404,lon:106.66247325572,lat:35.972546262958},{id:640502,name:"沙坡头区",parent:6405,lon:105.11127776143,lat:37.360638517868},{id:640521,name:"中宁县",parent:6405,lon:105.69186958245,lat:37.360097375108},{id:640522,name:"海原县",parent:6405,lon:105.67964899633,lat:36.603124838712},{id:650102,name:"天山区",parent:6501,lon:87.632902512248,lat:43.783860225571},{id:650103,name:"沙依巴克区",parent:6501,lon:87.545631053987,lat:43.807885738392},{id:650104,name:"新市区",parent:6501,lon:87.549218796363,lat:43.898324290635},{id:650105,name:"水磨沟区",parent:6501,lon:87.668013771241,lat:43.843907230143},{id:650106,name:"头屯河区",parent:6501,lon:87.425048810466,lat:43.925789450498},{id:650107,name:"达坂城区",parent:6501,lon:87.895407243798,lat:42.840608943765},{id:650109,name:"米东区",parent:6501,lon:87.691186460177,lat:44.070554173621},{id:650121,name:"乌鲁木齐县",parent:6501,lon:87.360244284205,lat:43.419107804291},{id:650202,name:"独山子区",parent:6502,lon:84.899916988861,lat:44.302338209135},{id:650203,name:"克拉玛依区",parent:6502,lon:84.926989634948,lat:45.203919246039},{id:650204,name:"白碱滩区",parent:6502,lon:85.177828513011,lat:45.633602431504},{id:650205,name:"乌尔禾区",parent:6502,lon:85.511149264018,lat:46.006575616849},{id:650402,name:"高昌区",parent:6504,lon:89.227738842032,lat:42.508199556726},{id:650421,name:"鄯善县",parent:6504,lon:89.266025488642,lat:42.678924820794},{id:650422,name:"托克逊县",parent:6504,lon:89.266025488642,lat:42.678924820794},{id:650502,name:"伊州区",parent:6505,lon:93.529373012389,lat:42.344467104552},{id:650521,name:"巴里坤哈萨克自治县",parent:6505,lon:85.614899338339,lat:42.127000957642},{id:650522,name:"伊吾县",parent:6505,lon:85.614899338339,lat:42.127000957642},{id:652301,name:"昌吉市",parent:6523,lon:87.073618053225,lat:44.175083447891},{id:652302,name:"阜康市",parent:6523,lon:88.305949271281,lat:44.424103693512},{id:652323,name:"呼图壁县",parent:6523,lon:86.693166111969,lat:44.380955717336},{id:652324,name:"玛纳斯县",parent:6523,lon:86.137668859258,lat:44.503551752404},{id:652325,name:"奇台县",parent:6523,lon:90.11026866784,lat:44.527652368056},{id:652327,name:"吉木萨尔县",parent:6523,lon:89.053073195064,lat:44.352913670744},{id:652328,name:"木垒哈萨克自治县",parent:6523,lon:90.823487793346,lat:44.106618870761},{id:652701,name:"博乐市",parent:6527,lon:81.874284679178,lat:44.844209020588},{id:652702,name:"阿拉山口市",parent:6527,lon:82.895221509025,lat:45.061386641726},{id:652722,name:"精河县",parent:6527,lon:82.922361700992,lat:44.557568454509},{id:652723,name:"温泉县",parent:6527,lon:80.952155808353,lat:44.9688196179},{id:652801,name:"库尔勒市",parent:6528,lon:85.709417601735,lat:41.705499905674},{id:652822,name:"轮台县",parent:6528,lon:84.57895946698,lat:41.819287515207},{id:652823,name:"尉犁县",parent:6528,lon:86.866990811172,lat:40.858795810656},{id:652824,name:"若羌县",parent:6528,lon:89.762772308375,lat:38.973844089966},{id:652825,name:"且末县",parent:6528,lon:85.506365638195,lat:38.100709422823},{id:652826,name:"焉耆回族自治县",parent:6528,lon:86.07606847595,lat:42.096103707937},{id:652827,name:"和静县",parent:6528,lon:85.200093433149,lat:42.828681293853},{id:652828,name:"和硕县",parent:6528,lon:87.588716477325,lat:42.141076067327},{id:652829,name:"博湖县",parent:6528,lon:86.88537877372,lat:41.857897990299},{id:652901,name:"阿克苏市",parent:6529,lon:81.156013147807,lat:40.349444301113},{id:652922,name:"温宿县",parent:6529,lon:80.461878185727,lat:41.582084613402},{id:652923,name:"库车县",parent:6529,lon:83.459806782673,lat:41.781932892776},{id:652924,name:"沙雅县",parent:6529,lon:82.925515505452,lat:40.406065186743},{id:652925,name:"新和县",parent:6529,lon:81.985216276674,lat:41.365699703636},{id:652926,name:"拜城县",parent:6529,lon:81.90123535088,lat:42.04528513577},{id:652927,name:"乌什县",parent:6529,lon:79.281638850531,lat:41.26184731177},{id:652928,name:"阿瓦提县",parent:6529,lon:80.439931783004,lat:40.060787890713},{id:652929,name:"柯坪县",parent:6529,lon:78.994696137796,lat:40.456665812896},{id:653001,name:"阿图什市",parent:6530,lon:85.614899338339,lat:42.127000957642},{id:653022,name:"阿克陶县",parent:6530,lon:75.814939311182,lat:39.12880375818},{id:653023,name:"阿合奇县",parent:6530,lon:85.614899338339,lat:42.127000957642},{id:653024,name:"乌恰县",parent:6530,lon:75.146818569489,lat:39.971830894544},{id:653101,name:"喀什市",parent:6531,lon:76.014342798943,lat:39.513110585312},{id:653121,name:"疏附县",parent:6531,lon:75.754898212901,lat:39.409740997776},{id:653122,name:"疏勒县",parent:6531,lon:76.369990308095,lat:39.187644733788},{id:653123,name:"英吉沙县",parent:6531,lon:76.368708511974,lat:38.800015263145},{id:653124,name:"泽普县",parent:6531,lon:77.226408238901,lat:38.122552699106},{id:653125,name:"莎车县",parent:6531,lon:77.014833164072,lat:38.322587836687},{id:653126,name:"叶城县",parent:6531,lon:77.223630915245,lat:36.993013961904},{id:653127,name:"麦盖提县",parent:6531,lon:78.242310158759,lat:38.848362710463},{id:653128,name:"岳普湖县",parent:6531,lon:76.989631103308,lat:39.116644959661},{id:653129,name:"伽师县",parent:6531,lon:77.231563046663,lat:39.599103145624},{id:653130,name:"巴楚县",parent:6531,lon:78.907138995454,lat:39.618107499846},{id:653131,name:"塔什库尔干塔吉克自治县",parent:6531,lon:75.843222371735,lat:37.019583155993},{id:653201,name:"和田市",parent:6532,lon:79.915813731039,lat:37.153349739681},{id:653221,name:"和田县",parent:6532,lon:79.354993072983,lat:35.68343240637},{id:653222,name:"墨玉县",parent:6532,lon:80.047148111072,lat:38.384224145853},{id:653223,name:"皮山县",parent:6532,lon:78.521850388972,lat:37.228318546135},{id:653224,name:"洛浦县",parent:6532,lon:80.741311117244,lat:38.02421985339},{id:653225,name:"策勒县",parent:6532,lon:81.097995717517,lat:37.084313855547},{id:653226,name:"于田县",parent:6532,lon:81.995462903271,lat:37.169130186737},{id:653227,name:"民丰县",parent:6532,lon:83.352763187,lat:37.173146693576},{id:654002,name:"伊宁市",parent:6540,lon:81.289048071493,lat:44.020355819309},{id:654003,name:"奎屯市",parent:6540,lon:85.013934401512,lat:44.559556778997},{id:654004,name:"霍尔果斯市",parent:6540,lon:80.472151391129,lat:44.452519773233},{id:654021,name:"伊宁县",parent:6540,lon:81.756940142999,lat:44.008116880627},{id:654022,name:"察布查尔锡伯自治县",parent:6540,lon:81.098298342118,lat:43.63837704253},{id:654023,name:"霍城县",parent:6540,lon:80.781158528097,lat:44.309120433611},{id:654024,name:"巩留县",parent:6540,lon:82.445700944329,lat:43.302460015973},{id:654025,name:"新源县",parent:6540,lon:83.558150188258,lat:43.376951418093},{id:654026,name:"昭苏县",parent:6540,lon:80.984257123681,lat:42.776878220953},{id:654027,name:"特克斯县",parent:6540,lon:82.006852355503,lat:42.925563515093},{id:654028,name:"尼勒克县",parent:6540,lon:83.23110039646,lat:43.816730949065},{id:654201,name:"塔城市",parent:6542,lon:82.974880583744,lat:46.75868362968},{id:654202,name:"乌苏市",parent:6542,lon:84.277878264967,lat:44.40768749824},{id:654221,name:"额敏县",parent:6542,lon:84.20931964579,lat:46.590663664844},{id:654223,name:"沙湾县",parent:6542,lon:85.474874072005,lat:44.353744632126},{id:654224,name:"托里县",parent:6542,lon:83.895484795593,lat:45.656986383852},{id:654225,name:"裕民县",parent:6542,lon:82.814799479048,lat:46.004456478157},{id:654226,name:"和布克赛尔蒙古自治县",parent:6542,lon:86.217435804622,lat:46.256702546595},{id:654301,name:"阿勒泰市",parent:6543,lon:87.926214360189,lat:47.890135725749},{id:654321,name:"布尔津县",parent:6543,lon:87.235518096505,lat:48.31600661463},{id:654322,name:"富蕴县",parent:6543,lon:89.393483612342,lat:46.536156506123},{id:654323,name:"福海县",parent:6543,lon:88.050870553487,lat:46.391693535493},{id:654324,name:"哈巴河县",parent:6543,lon:86.409672960245,lat:48.316559027363},{id:654325,name:"青河县",parent:6543,lon:90.403028447838,lat:46.26815068272},{id:654326,name:"吉木乃县",parent:6543,lon:86.208104287811,lat:47.40631111494},{id:659001,name:"石河子市",parent:6590,lon:85.614899338339,lat:42.127000957642},{id:659002,name:"阿拉尔市",parent:6590,lon:81.291736550158,lat:40.615680005185},{id:659003,name:"图木舒克市",parent:6590,lon:79.198155107904,lat:39.889222881804},{id:659004,name:"五家渠市",parent:6590,lon:87.565448980181,lat:44.368899479018},{id:659006,name:"铁门关市",parent:6590,lon:85.726306886394,lat:41.806667022365},{id:441900003,name:"东城街道办事处",parent:441900,lon:113.78983123714,lat:23.034187558639},{id:441900004,name:"南城街道办事处",parent:441900,lon:113.76343399076,lat:23.043023815368},{id:441900005,name:"万江街道办事处",parent:441900,lon:113.74487765252,lat:23.053216729046},{id:441900006,name:"莞城街道办事处",parent:441900,lon:113.75560020347,lat:23.044807443255},{id:441900101,name:"石碣镇",parent:441900,lon:113.81981570219,lat:23.105009814264},{id:441900102,name:"石龙镇",parent:441900,lon:113.88072838846,lat:23.11161544389},{id:441900103,name:"茶山镇",parent:441900,lon:113.87562020652,lat:23.082481820485},{id:441900104,name:"石排镇",parent:441900,lon:113.94654976997,lat:23.094860319218},{id:441900105,name:"企石镇",parent:441900,lon:114.02853135589,lat:23.079042407351},{id:441900106,name:"横沥镇",parent:441900,lon:113.97299506133,lat:23.024814163604},{id:441900107,name:"桥头镇",parent:441900,lon:114.10677408198,lat:23.020458678747},{id:441900108,name:"谢岗镇",parent:441900,lon:114.15514140002,lat:22.967217838002},{id:441900109,name:"东坑镇",parent:441900,lon:113.94045100498,lat:23.001562568215},{id:441900110,name:"常平镇",parent:441900,lon:113.9995109047,lat:22.981050796988},{id:441900111,name:"寮步镇",parent:441900,lon:113.88126801675,lat:23.00371616099},{id:441900112,name:"樟木头镇",parent:441900,lon:114.08977863491,lat:22.920830687532},{id:441900113,name:"大朗镇",parent:441900,lon:113.95058428998,lat:22.945659062868},{id:441900114,name:"黄江镇",parent:441900,lon:114.00998764783,lat:22.921615129208},{id:441900115,name:"清溪镇",parent:441900,lon:114.17089092789,lat:22.85030931077},{id:441900116,name:"塘厦镇",parent:441900,lon:114.07912123626,lat:22.812790577997},{id:441900117,name:"凤岗镇",parent:441900,lon:114.14334020333,lat:22.752715714135},{id:441900118,name:"大岭山镇",parent:441900,lon:113.84869038983,lat:22.905900630606},{id:441900119,name:"长安镇",parent:441900,lon:113.80903565699,lat:22.82104526943},{id:441900121,name:"虎门镇",parent:441900,lon:113.67932364446,lat:22.820652927195},{id:441900122,name:"厚街镇",parent:441900,lon:113.67679510848,lat:22.941327853433},{id:441900123,name:"沙田镇",parent:441900,lon:113.62408243967,lat:22.925272079534},{id:441900124,name:"道滘镇",parent:441900,lon:113.6817198771,lat:23.010254161879},{id:441900125,name:"洪梅镇",parent:441900,lon:113.61544017114,lat:23.000648523575},{id:441900126,name:"麻涌镇",parent:441900,lon:113.58837988097,lat:23.057083015858},{id:441900127,name:"望牛墩镇",parent:441900,lon:113.66263830413,lat:23.061598763352},{id:441900128,name:"中堂镇",parent:441900,lon:113.66393529738,lat:23.098649541505},{id:441900129,name:"高埗镇",parent:441900,lon:113.75235767092,lat:23.097244208669},{id:441900401,name:"松山湖管委会",parent:441900,lon:113.90498400265,lat:22.929023833476},{id:441900402,name:"虎门港管委会",parent:441900,lon:113.5974063853,lat:22.87760055556},{id:441900403,name:"东莞生态园",parent:441900,lon:113.93401286467,lat:23.06893955376},{id:442000001,name:"石岐区街道办事处",parent:442e3,lon:113.39476330111,lat:22.543405990677},{id:442000002,name:"东区街道办事处",parent:442e3,lon:113.4220600208,lat:22.545177514513},{id:442000003,name:"火炬开发区街道办事处",parent:442e3,lon:113.47638423802,lat:22.54191612433},{id:442000004,name:"西区街道办事处",parent:442e3,lon:113.36301785094,lat:22.524075818178},{id:442000005,name:"南区街道办事处",parent:442e3,lon:113.37678191523,lat:22.503167561223},{id:442000006,name:"五桂山街道办事处",parent:442e3,lon:113.40930659782,lat:22.451434375841},{id:442000100,name:"小榄镇",parent:442e3,lon:113.25710031734,lat:22.668653892986},{id:442000101,name:"黄圃镇",parent:442e3,lon:113.34579765142,lat:22.716774199156},{id:442000102,name:"民众镇",parent:442e3,lon:113.50009575036,lat:22.627523677586},{id:442000103,name:"东凤镇",parent:442e3,lon:113.26390219773,lat:22.708252148345},{id:442000104,name:"东升镇",parent:442e3,lon:113.29799140513,lat:22.628979044198},{id:442000105,name:"古镇镇",parent:442e3,lon:113.19699907493,lat:22.61867275523},{id:442000106,name:"沙溪镇",parent:442e3,lon:113.32782880229,lat:22.514758626025},{id:442000107,name:"坦洲镇",parent:442e3,lon:113.47430653463,lat:22.260588179755},{id:442000108,name:"港口镇",parent:442e3,lon:113.39153101373,lat:22.591755080708},{id:442000109,name:"三角镇",parent:442e3,lon:113.42447628565,lat:22.682488953575},{id:442000110,name:"横栏镇",parent:442e3,lon:113.24834255727,lat:22.574461443704},{id:442000111,name:"南头镇",parent:442e3,lon:113.29828270584,lat:22.723520491884},{id:442000112,name:"阜沙镇",parent:442e3,lon:113.35641695563,lat:22.672921927334},{id:442000113,name:"南朗镇",parent:442e3,lon:113.53783552043,lat:22.504952068383},{id:442000114,name:"三乡镇",parent:442e3,lon:113.44797569368,lat:22.363791945407},{id:442000115,name:"板芙镇",parent:442e3,lon:113.3288721509,lat:22.422651529649},{id:442000116,name:"大涌镇",parent:442e3,lon:113.30718743409,lat:22.471242810046},{id:442000117,name:"神湾镇",parent:442e3,lon:113.3702758154,lat:22.308297939473},{id:460400100,name:"那大镇",parent:460400,lon:109.552961497,lat:19.52127763772},{id:460400101,name:"和庆镇",parent:460400,lon:109.64738779153,lat:19.531275426074},{id:460400102,name:"南丰镇",parent:460400,lon:109.56235340507,lat:19.415717747276},{id:460400103,name:"大成镇",parent:460400,lon:109.40607236409,lat:19.513907807686},{id:460400104,name:"雅星镇",parent:460400,lon:109.27567597122,lat:19.449779604127},{id:460400105,name:"兰洋镇",parent:460400,lon:109.67367138789,lat:19.466430878427},{id:460400106,name:"光村镇",parent:460400,lon:109.48786919371,lat:19.823919412162},{id:460400107,name:"木棠镇",parent:460400,lon:109.35673473687,lat:19.809926770596},{id:460400108,name:"海头镇",parent:460400,lon:108.95966166166,lat:19.509695855917},{id:460400109,name:"峨蔓镇",parent:460400,lon:109.27331128257,lat:19.860383433642},{id:460400110,name:"三都镇",parent:460400,lon:109.22582623889,lat:19.793150845121},{id:460400111,name:"王五镇",parent:460400,lon:109.30218328967,lat:19.659803263052},{id:460400112,name:"白马井镇",parent:460400,lon:109.33458619886,lat:19.574787798597},{id:460400113,name:"中和镇",parent:460400,lon:109.35613533713,lat:19.749465537088},{id:460400114,name:"排浦镇",parent:460400,lon:109.16975400269,lat:19.644673698003},{id:460400115,name:"东成镇",parent:460400,lon:109.4680333127,lat:19.709924104042},{id:460400116,name:"新州镇",parent:460400,lon:109.32260133284,lat:19.720234743232},{id:460400400,name:"国营西培农场",parent:460400,lon:109.4599938961,lat:19.483502718426},{id:460400404,name:"国营西联农场",parent:460400,lon:109.57014071402,lat:19.574664060327},{id:460400405,name:"国营蓝洋农场",parent:460400,lon:109.68307796619,lat:19.463516627749},{id:460400407,name:"国营八一农场",parent:460400,lon:109.31617355538,lat:19.460913902693},{id:460400499,name:"洋浦经济开发区",parent:460400,lon:109.19229656623,lat:19.775218244804},{id:460400500,name:"华南热作学院",parent:460400,lon:109.33458619886,lat:19.574787798597},{id:620201100,name:"新城镇",parent:620201,lon:98.458266361225,lat:39.880279868432},{id:620201101,name:"峪泉镇",parent:620201,lon:98.23795042668,lat:39.813928611238},{id:620201102,name:"文殊镇",parent:620201,lon:98.384821213543,lat:39.700128295254},{id:620201401,name:"雄关区",parent:620201,lon:98.281634585257,lat:39.802397326734},{id:620201402,name:"镜铁区",parent:620201,lon:98.281634585257,lat:39.802397326734},{id:620201403,name:"长城区",parent:620201,lon:98.404752795538,lat:39.914711003026}]},"./app/assets/json/slideSettings/chart.json":function(e,t){e.exports={name:"chart",title:"图表",params:[{name:"size",title:"图表尺寸",items:[{name:"width",title:"宽度(像素)",component:"inputnumber",default:200},{name:"height",title:"高度(像素)",component:"inputnumber",default:120}]},{name:"position",title:"图表位置",items:[{name:"positionX",title:"x轴位置(像素)",component:"inputnumber"},{name:"positionY",title:"y轴位置(像素)",component:"inputnumber"}]},{name:"background",title:"背景",items:[{name:"backgroundColor",title:"背景颜色",component:"colorPicker",default:[255,255,255,0]}]},{name:"border",title:"边框",items:[{name:"borderColor",title:"边框颜色",component:"colorPicker",default:[0,0,0]},{name:"borderWidth",title:"边框粗细",component:"inputnumber",default:0},{name:"borderStyle",title:"边框样式",component:"select",values:[{name:"实线",value:"solid"},{name:"虚线",value:"dashed"},{name:"点线",value:"dotted"},{name:"双框",value:"double"}],default:"solid"},{name:"borderRadius",title:"圆角半径",component:"inputnumber",default:0}]},{name:"dataRefresh",title:"数据刷新",items:[{name:"polling",title:"模式",component:"select",values:[{name:"手动刷新",value:"false"},{name:"定时刷新",value:"true"}],default:"false"},{name:"frequency",title:"时长",component:"inputnumber",default:"60",min:1,placeholder:"秒"}]}]}},"./app/assets/json/slideSettings/label.json":function(e,t){e.exports={name:"label",title:"标签",params:[{name:"size",title:"矩形尺寸",items:[{name:"width",title:"宽度(像素)",component:"inputnumber",default:200},{name:"height",title:"高度(像素)",component:"inputnumber",default:120}]},{name:"position",title:"标签位置",items:[{name:"positionX",title:"x轴位置(像素)",component:"inputnumber"},{name:"positionY",title:"y轴位置(像素)",component:"inputnumber"}]},{name:"content",title:"文本",items:[{name:"contentText",tip:"输入文本",title:"文本内容",component:"input",default:"",labelCol:6,wrapperCol:24}]},{name:"font",title:"文字",items:[{name:"fontFamily",title:"字体",component:"select",values:[{name:"默认",value:""},{name:"微软雅黑",value:"Microsoft Yahei"},{name:"宋体",value:"SimSun"},{name:"黑体",value:"Heiti"},{name:"华文细黑",value:"STXihei"},{name:"Verdana",value:"Verdana"},{name:"Arial",value:"Arial"},{name:"Times New Roman",value:"Times New Roman"},{name:"Times",value:"Times"},{name:"MS Sans Serif",value:"MS Sans Serif"}],default:""},{name:"fontColor",title:"字体颜色",component:"colorPicker",default:[0,0,0]},{name:"fontSize",title:"字体大小(像素)",component:"inputnumber",default:40},{name:"textAlign",title:"对齐方式",component:"select",values:[{name:"左对齐",value:"left"},{name:"右对齐",value:"right"},{name:"居中",value:"center"},{name:"两端对齐",value:"justify"}],default:"justify"},{name:"fontWeight",title:"字体粗细",component:"select",values:[{name:"normal",value:"normal"},{name:"bold",value:"bold"},{name:"bolder",value:"bolder"},{name:"lighter",value:"lighter"},{name:"100",value:"100"},{name:"200",value:"200"},{name:"300",value:"300"},{name:"400",value:"400"},{name:"500",value:"500"},{name:"600",value:"600"},{name:"700",value:"700"},{name:"800",value:"800"},{name:"900",value:"900"}],default:"normal"},{name:"textStyle",title:"样式",component:"checkboxGroup",values:[{label:"斜体",value:"italic"},{label:"下划线",value:"underline"}],default:[]},{name:"lineHeight",title:"行高(像素)",component:"inputnumber",default:40},{name:"textIndent",title:"首行缩进(像素)",component:"inputnumber",default:0}]},{name:"padding",title:"内边距(像素)",items:[{name:"paddingTop",tip:"px",title:"上",component:"inputnumber",default:0,span:12},{name:"paddingBottom",tip:"px",title:"下",component:"inputnumber",default:0,span:12},{name:"paddingLeft",tip:"px",title:"左",component:"inputnumber",default:0,span:12},{name:"paddingRight",tip:"px",title:"右",component:"inputnumber",default:0,span:12}]},{name:"background",title:"背景",items:[{name:"backgroundColor",title:"背景颜色",component:"colorPicker",default:[255,255,255,0],span:12}]},{name:"border",title:"边框",items:[{name:"borderColor",title:"边框颜色",component:"colorPicker",default:[0,0,0]},{name:"borderWidth",title:"边框粗细(像素)",component:"inputnumber",default:0},{name:"borderStyle",title:"边框样式",component:"select",values:[{name:"实线",value:"solid"},{name:"虚线",value:"dashed"},{name:"点线",value:"dotted"},{name:"双框",value:"double"}],default:"solid"},{name:"borderRadius",tip:"px",title:"圆角半径(像素)",component:"inputnumber",default:0}]}]}},"./app/assets/json/slideSettings/rectangle.json":function(e,t){e.exports={name:"rectangle",title:"矩形",params:[{name:"size",title:"矩形尺寸",items:[{name:"width",title:"宽度(像素)",component:"inputnumber",default:200},{name:"height",title:"高度(像素)",component:"inputnumber",default:120}]},{name:"position",title:"矩形位置",items:[{name:"positionX",title:"x轴位置(像素)",component:"inputnumber"},{name:"positionY",title:"y轴位置(像素)",component:"inputnumber"}]},{name:"background",title:"背景颜色",items:[{name:"backgroundColor",title:"颜色",component:"colorPicker",default:[255,255,255,0]}]},{name:"backgroundImage",title:"图片",items:[{name:"backgroundImage",title:"背景图片",component:"upload",action:"slide/widget/{id}/bgImage",accept:"image/*",autoUpdate:!0,labelCol:6,wrapperCol:24},{name:"backgroundSize",title:"大小",component:"select",values:[{name:"自动",value:"auto"},{name:"包含",value:"contain"},{name:"铺满",value:"cover"}],default:"auto"},{name:"backgroundRepeat",title:"重复",component:"select",values:[{name:"x轴y轴重复",value:"repeat"},{name:"x轴重复",value:"repeat-x"},{name:"y轴重复",value:"repeat-y"},{name:"不重复",value:"no-repeat"}],default:"repeat"}]},{name:"border",title:"边框",items:[{name:"borderColor",title:"边框颜色",component:"colorPicker",default:[0,0,0]},{name:"borderWidth",title:"边框粗细",component:"inputnumber",default:0},{name:"borderStyle",title:"边框样式",component:"select",values:[{name:"实线",value:"solid"},{name:"虚线",value:"dashed"},{name:"点线",value:"dotted"},{name:"双框",value:"double"}],default:"solid"},{name:"borderRadius",tip:"",title:"圆角半径",component:"inputnumber",default:0}]}]}},"./app/assets/json/slideSettings/slide.json":function(e,t){e.exports={name:"slide",title:"背景设置",params:[{name:"slideSize",title:"屏幕尺寸",items:[{name:"width",title:"宽度(像素)",component:"inputnumber",default:1920},{name:"height",title:"高度(像素)",component:"inputnumber",default:1080}]},{name:"background",title:"背景颜色",items:[{name:"backgroundColor",title:"背景颜色",component:"colorPicker",default:[255,255,255]}]},{name:"scale",title:"缩放",items:[{name:"scaleMode",title:"缩放方式",component:"radio",values:[{name:"等比缩放宽度",value:"scaleWidth"},{name:"等比缩放高度",value:"scaleHeight"},{name:"全屏铺满",value:"scaleFull"},{name:"实际尺寸",value:"noScale"}],default:"scaleWidth"}]},{name:"image",title:"图片",items:[{name:"backgroundImage",title:"背景图片",component:"upload",action:"slide/{id}/upload/bgImage",accept:"image/*",autoUpdate:!0,labelCol:6,wrapperCol:24}]}]}},"./app/assets/json/slideSettings/timer.json":function(e,t){e.exports={name:"timer",title:"时间器",params:[{name:"size",title:"矩形尺寸",items:[{name:"width",title:"宽度(像素)",component:"inputnumber",default:200},{name:"height",title:"高度(像素)",component:"inputnumber",default:120}]},{name:"position",title:"位置",items:[{name:"positionX",title:"x轴位置(像素)",component:"inputnumber"},{name:"positionY",title:"y轴位置(像素)",component:"inputnumber"}]},{name:"format",title:"时间设置",items:[{name:"timeFormat",tip:"时间格式",title:"时间格式",component:"input",default:"YYYY-MM-DD HH:mm:ss",labelCol:6,wrapperCol:24},{name:"timeDuration",tip:"间隔时间(ms)",title:"间隔时间(ms)",component:"inputnumber",default:1e3,min:1}]},{name:"font",title:"文字",items:[{name:"fontFamily",title:"字体",component:"select",values:[{name:"默认",value:""},{name:"微软雅黑",value:"Microsoft Yahei"},{name:"宋体",value:"SimSun"},{name:"黑体",value:"Heiti"},{name:"华文细黑",value:"STXihei"},{name:"Verdana",value:"Verdana"},{name:"Arial",value:"Arial"},{name:"Times New Roman",value:"Times New Roman"},{name:"Times",value:"Times"},{name:"MS Sans Serif",value:"MS Sans Serif"}],default:""},{name:"fontColor",title:"字体颜色",component:"colorPicker",default:[0,0,0]},{name:"fontSize",title:"字体大小(像素)",component:"inputnumber",default:40},{name:"textAlign",title:"对齐方式",component:"select",values:[{name:"左对齐",value:"left"},{name:"右对齐",value:"right"},{name:"居中",value:"center"},{name:"两端对齐",value:"justify"}],default:"justify"},{name:"fontWeight",title:"字体粗细",component:"select",values:[{name:"normal",value:"normal"},{name:"bold",value:"bold"},{name:"bolder",value:"bolder"},{name:"lighter",value:"lighter"},{name:"100",value:"100"},{name:"200",value:"200"},{name:"300",value:"300"},{name:"400",value:"400"},{name:"500",value:"500"},{name:"600",value:"600"},{name:"700",value:"700"},{name:"800",value:"800"},{name:"900",value:"900"}],default:"normal"},{name:"textStyle",title:"样式",component:"checkboxGroup",values:[{label:"斜体",value:"italic"},{label:"下划线",value:"underline"}],default:[]},{name:"lineHeight",title:"行高(像素)",component:"inputnumber",default:40},{name:"textIndent",title:"首行缩进(像素)",component:"inputnumber",default:0}]},{name:"padding",title:"内边距(像素)",items:[{name:"paddingTop",tip:"px",title:"上",component:"inputnumber",default:0,span:12},{name:"paddingBottom",tip:"px",title:"下",component:"inputnumber",default:0,span:12},{name:"paddingLeft",tip:"px",title:"左",component:"inputnumber",default:0,span:12},{name:"paddingRight",tip:"px",title:"右",component:"inputnumber",default:0,span:12}]},{name:"background",title:"背景",items:[{name:"backgroundColor",title:"背景颜色",component:"colorPicker",default:[255,255,255,0],span:12}]},{name:"border",title:"边框",items:[{name:"borderColor",title:"边框颜色",component:"colorPicker",default:[0,0,0]},{name:"borderWidth",title:"边框粗细(像素)",component:"inputnumber",default:0},{name:"borderStyle",title:"边框样式",component:"select",values:[{name:"实线",value:"solid"},{name:"虚线",value:"dashed"},{name:"点线",value:"dotted"},{name:"双框",value:"double"}],default:"solid"},{name:"borderRadius",tip:"px",title:"圆角半径(像素)",component:"inputnumber",default:0}]}]}},"./app/assets/json/slideSettings/video.json":function(e,t){e.exports={name:"video",title:"视频",params:[{name:"size",title:"尺寸",items:[{name:"width",title:"宽度(像素)",component:"inputnumber",default:320},{name:"height",title:"高度(像素)",component:"inputnumber",default:240}]},{name:"address",title:"视频地址",items:[{name:"src",title:"",component:"input",labelCol:0,wrapperCol:24}]},{name:"control",title:"播放设置",items:[{name:"controlSetting",title:"播放设置",component:"checkboxGroup",values:[{label:"自动播放",value:"autoPlay"},{label:"循环播放",value:"loop"},{label:"显示播放控制",value:"controls"}],default:["autoPlay","loop"]}]},{name:"clip",title:"片段截取",items:[{name:"start",title:"开始播放(秒)",component:"inputnumber"},{name:"end",title:"结束播放(秒)",component:"inputnumber"}]}]}},"./app/assets/less/style.less":function(e,t,n){var r=n("./node_modules/_css-loader@0.28.4@css-loader/index.js?modules&importLoaders=1!./node_modules/_postcss-loader@1.3.3@postcss-loader/index.js!./node_modules/_less-loader@3.0.0@less-loader/lib/loader.js!./app/assets/less/style.less");"string"==typeof r&&(r=[[e.i,r,""]]);var o={};o.transform=void 0;n("./node_modules/_style-loader@0.18.1@style-loader/lib/addStyles.js")(r,o);r.locals&&(e.exports=r.locals)},"./app/assets/less/util.less":function(e,t,n){var r=n("./node_modules/_css-loader@0.28.4@css-loader/index.js?modules&importLoaders=1!./node_modules/_postcss-loader@1.3.3@postcss-loader/index.js!./node_modules/_less-loader@3.0.0@less-loader/lib/loader.js!./app/assets/less/util.less");"string"==typeof r&&(r=[[e.i,r,""]]);var o={};o.transform=void 0;n("./node_modules/_style-loader@0.18.1@style-loader/lib/addStyles.js")(r,o);r.locals&&(e.exports=r.locals)},"./app/assets/override/antd.css":function(e,t,n){var r=n("./node_modules/_css-loader@0.28.4@css-loader/index.js!./node_modules/_postcss-loader@1.3.3@postcss-loader/index.js!./app/assets/override/antd.css");"string"==typeof r&&(r=[[e.i,r,""]]);var o={};o.transform=void 0;n("./node_modules/_style-loader@0.18.1@style-loader/lib/addStyles.js")(r,o);r.locals&&(e.exports=r.locals)},"./app/assets/override/codemirror_theme.css":function(e,t,n){var r=n("./node_modules/_css-loader@0.28.4@css-loader/index.js!./node_modules/_postcss-loader@1.3.3@postcss-loader/index.js!./app/assets/override/codemirror_theme.css");"string"==typeof r&&(r=[[e.i,r,""]]);var o={};o.transform=void 0;n("./node_modules/_style-loader@0.18.1@style-loader/lib/addStyles.js")(r,o);r.locals&&(e.exports=r.locals)},"./app/assets/override/datepicker.css":function(e,t,n){var r=n("./node_modules/_css-loader@0.28.4@css-loader/index.js!./node_modules/_postcss-loader@1.3.3@postcss-loader/index.js!./app/assets/override/datepicker.css");"string"==typeof r&&(r=[[e.i,r,""]]);var o={};o.transform=void 0;n("./node_modules/_style-loader@0.18.1@style-loader/lib/addStyles.js")(r,o);r.locals&&(e.exports=r.locals)},"./app/assets/override/react-color.css":function(e,t,n){var r=n("./node_modules/_css-loader@0.28.4@css-loader/index.js!./node_modules/_postcss-loader@1.3.3@postcss-loader/index.js!./app/assets/override/react-color.css");"string"==typeof r&&(r=[[e.i,r,""]]);var o={};o.transform=void 0;n("./node_modules/_style-loader@0.18.1@style-loader/lib/addStyles.js")(r,o);r.locals&&(e.exports=r.locals)},"./app/assets/override/react-grid.css":function(e,t,n){var r=n("./node_modules/_css-loader@0.28.4@css-loader/index.js!./node_modules/_postcss-loader@1.3.3@postcss-loader/index.js!./app/assets/override/react-grid.css");"string"==typeof r&&(r=[[e.i,r,""]]);var o={};o.transform=void 0;n("./node_modules/_style-loader@0.18.1@style-loader/lib/addStyles.js")(r,o);r.locals&&(e.exports=r.locals)},"./app/components/Avatar/Avatar.less":function(e,t,n){var r=n("./node_modules/_css-loader@0.28.4@css-loader/index.js?modules&importLoaders=1!./node_modules/_postcss-loader@1.3.3@postcss-loader/index.js!./node_modules/_less-loader@3.0.0@less-loader/lib/loader.js!./app/components/Avatar/Avatar.less");"string"==typeof r&&(r=[[e.i,r,""]]);var o={};o.transform=void 0;n("./node_modules/_style-loader@0.18.1@style-loader/lib/addStyles.js")(r,o);r.locals&&(e.exports=r.locals)},"./app/components/Avatar/index.tsx":function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=function(){function e(e,t){for(var n=0;n"},o.createElement(i.Item,{onClick:t(!1,-1),key:"dhall"},"返回"),n&&n.length?n.map(function(e,n){return o.createElement(i.Item,{onClick:t(e,n),key:"dh"+n},e.name,o.createElement(a,{type:"down"===e.type?"arrow-down":"arrow-up"}))}):"")}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/_react@15.6.2@react/react.js"),a=n("./node_modules/_antd@2.13.14@antd/lib/icon/index.js"),i=n("./node_modules/_antd@2.13.14@antd/lib/breadcrumb/index.js");t.DataDrillHistory=r,t.default=r},"./app/components/DataDrill/Panel.tsx":function(e,t,n){"use strict";function r(e){function t(e){var t=e.key;r&&r(t)}var n=e.categoriesCol,r=e.onDataDrill,i=e.currentData,s=[],l=[];return i&&i.length&&(s=n.filter(function(e){var t=void 0;return Object.keys(i[0]).some(function(n){if(t=e.name!==n,e.name===n)return!0}),t}).map(function(e){return Object.assign({},e,{drillType:"down"})}),l=Object.keys(i[0]).filter(function(e){var t=void 0;return n.every(function(n){if(t=e===n.name,e!==n.name)return!0}),t}).map(function(e){return{name:e,type:"category",visualType:"string",drillType:"up"}})),o.createElement(a,{onClick:t,style:{width:120},mode:"vertical"},o.createElement(a.SubMenu,{key:"sub2",disabled:l.length<2,title:o.createElement("span",{style:{fontSize:"14px"},className:"iconfont icon-iconxiazuan1"},o.createElement("span",{style:{marginLeft:"8px"}},"上卷"))},l?l.map(function(e){return o.createElement(a.Item,{key:e.name},e.name)}):""),o.createElement(a.SubMenu,{key:"sub1",disabled:s.length<1,title:o.createElement("span",{style:{fontSize:"14px"},className:"iconfont icon-iconxiazuan"},o.createElement("span",{style:{marginLeft:"8px"}},"下钻"))},s?s.map(function(e){return o.createElement(a.Item,{key:e.name},e.name)}):""))}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/_react@15.6.2@react/react.js"),a=(n("./node_modules/_antd@2.13.14@antd/lib/icon/index.js"),n("./node_modules/_antd@2.13.14@antd/lib/menu/index.js"));t.DataDrill=r,t.default=r},"./app/components/DownloadCsv/index.tsx":function(e,t,n){"use strict";function r(e){var t=e.shareInfoLoading,n=e.downloadCsvLoading,r=t||n?"loading":"download";return a.createElement(i,{type:r,onClick:o(e)})}function o(e){return function(){var t=e.id,n=e.type,r=e.itemId,o=e.shareInfo,a=e.onLoadDashboardShareLink,i=e.onLoadWidgetShareLink,s=e.onDownloadCsv;if(o)s();else switch(n){case"dashboard":a(t,"");break;case"widget":i(t,r,"",function(){s()})}}}Object.defineProperty(t,"__esModule",{value:!0});var a=n("./node_modules/_react@15.6.2@react/react.js"),i=n("./node_modules/_antd@2.13.14@antd/lib/icon/index.js");t.DownloadCsv=r,t.default=r},"./app/components/EditorHeader/EditorHeader.less":function(e,t,n){var r=n("./node_modules/_css-loader@0.28.4@css-loader/index.js?modules&importLoaders=1!./node_modules/_postcss-loader@1.3.3@postcss-loader/index.js!./node_modules/_less-loader@3.0.0@less-loader/lib/loader.js!./app/components/EditorHeader/EditorHeader.less");"string"==typeof r&&(r=[[e.i,r,""]]);var o={};o.transform=void 0;n("./node_modules/_style-loader@0.18.1@style-loader/lib/addStyles.js")(r,o);r.locals&&(e.exports=r.locals)},"./app/components/EditorHeader/index.tsx":function(e,t,n){"use strict";function r(e){var t=e.currentType,n=e.name,r=e.description,c=e.className,d=e.onNameChange,u=e.onDescriptionChange,p=e.onSave,f=e.onCancel,m=e.loading,h=e.placeholder||{name:"请输入名称",description:"请输入描述…"};return o.createElement("div",{className:s.editorHeader+" "+c},o.createElement(a,{type:"left",className:s.back,onClick:f}),o.createElement("div",{className:s.title},o.createElement("div",{className:s.name},o.createElement("input",{type:"text",placeholder:h.name,value:n,onChange:d,readOnly:"dashboard"===t}),o.createElement("span",null,n||h.name)),o.createElement("div",{className:s.desc},o.createElement("input",{type:"text",placeholder:"dashboard"===t?"":h.description,value:r,onChange:u,readOnly:"dashboard"===t}),o.createElement("span",null,r||h.description))),o.createElement("div",{className:""+("dashboard"===t?l.hide:s.actions)},o.createElement(i,{type:"primary",loading:m,disabled:m,onClick:p},"保存")))}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/_react@15.6.2@react/react.js"),a=n("./node_modules/_antd@2.13.14@antd/lib/icon/index.js"),i=n("./node_modules/_antd@2.13.14@antd/lib/button/index.js"),s=n("./app/components/EditorHeader/EditorHeader.less"),l=n("./app/assets/less/util.less");t.EditorHeader=r,t.default=r},"./app/components/Filters/FilterConfig.tsx":function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t0?t[0]:{};n.setState({localFilters:t,selectedFilter:r,showPreview:f.FilterTypesViewSetting[r.type]},function(){r.key&&n.filterForm.setFieldsValue(r)})},n.selectFilter=function(e){var t=n.state.localFilters,r=t.find(function(t){return t.key===e});n.setState({selectedFilter:r,previewFilter:{key:"",viewId:"",fromModel:""}},function(){n.filterForm.setFieldsValue(r)})},n.addFilter=function(){var e=n.state.localFilters,t={key:p.uuid(8,16),name:"新建全局筛选",type:f.FilterTypes.InputText,operator:f.FilterTypesOperatorSetting[f.FilterTypes.InputText][0],relatedViews:{}};n.setState({localFilters:[].concat(o(e),[t]),selectedFilter:t,showPreview:!1},function(){n.filterForm.setFieldsValue(t)})},n.deleteFilter=function(e){var t=n.state,r=t.localFilters,o=t.selectedFilter,a=r.filter(function(t){return t.key!==e}),i=o.key!==e?o:a.length>0?a[0]:{};n.setState({localFilters:a,selectedFilter:i,showPreview:f.FilterTypesViewSetting[i.type]},function(){i.key&&n.filterForm.setFieldsValue(i)})},n.filterTypeChange=function(e){n.setState({showPreview:f.FilterTypesViewSetting[e]})},n.filterItemNameChange=function(e,t){var r=n.state.localFilters;r.find(function(t){return t.key===e}).name=t,n.setState({localFilters:r})},n.filterItemSave=function(e){var t=n.state.localFilters,r=t.findIndex(function(t){return t.key===e.key});r<0||(t.splice(r,1,e),n.setState({localFilters:t}))},n.ok=function(){var e=n.state.localFilters,t=n.props.onOk;e.length>0?n.filterForm.saveFilterItem(function(n){n||t([].concat(o(e)))}):t([])},n.getPreviewData=function(e,t,r,o){var a=n.props.onGetPreviewData;n.setState({previewFilter:{key:e,viewId:t,fromModel:r}},function(){a(e,t,r,o)})},n.state={localFilters:[],selectedFilter:{},showPreview:!1,previewFilter:{key:"",viewId:"",fromModel:""}},n.refHandlers={filterForm:function(e){return n.filterForm=e}},n}return s(t,e),l(t,[{key:"componentWillMount",value:function(){this.initState()}},{key:"componentWillReceiveProps",value:function(e){var t=e.filters,n=e.saving;t!==this.props.filters&&this.initState(),n!==this.props.saving&&this.ok()}},{key:"render",value:function(){var e,t=this.props,n=t.views,o=t.widgets,a=t.items,i=t.previewData,s=this.state,l=s.localFilters,u=s.selectedFilter,p=s.showPreview,f=this.state.previewFilter,v=f.key,y=f.fromModel,A=i[v]?i[v][y]||[]:[],x=d((e={},r(e,b.right,!0),r(e,_.hide,!p),e));return c.createElement("div",{className:b.filterConfig},c.createElement("div",{className:b.content},c.createElement("div",{className:b.left},c.createElement(m.default,{list:l,onSelectFilter:this.selectFilter,onAddFilter:this.addFilter,onDeleteFilter:this.deleteFilter,selectedFilterKey:u.key})),c.createElement("div",{className:b.center},u.key?c.createElement(h.default,{views:n,widgets:o,items:a,filterItem:u,onFilterTypeChange:this.filterTypeChange,onFilterItemNameChange:this.filterItemNameChange,onFilterItemSave:this.filterItemSave,onGetPreviewData:this.getPreviewData,wrappedComponentRef:this.refHandlers.filterForm}):null),c.createElement("div",{className:x},u.key?c.createElement(g.default,{currentPreviewData:A}):null)))}}]),t}(c.Component);t.FilterConfig=v,t.default=v},"./app/components/Filters/FilterControl.tsx":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n=0}).forEach(function(e){var t=n[e],o=+e.substr(A.prefixView.length),a=!!n[A.prefixOther+o],l=a?void 0:i[o].model.find(function(e){return e.key===t}).sqlType;r.relatedViews[o]={key:t,name:t,isParam:a,sqlType:l,items:s[o].filter(function(e){return n[A.prefixItem+e.id]}).map(function(e){return e.id})}}),Object.keys(n).filter(function(e){return[A.prefixItem,A.prefixView,A.prefixOther].every(function(t){return e.indexOf(t)<0})}).forEach(function(e){r[e]=n[e]}),console.log("saved... ",JSON.parse(JSON.stringify(r))),o(r),e&&e()})},n.setFieldsValue=function(e){var t=n.props,r=t.views,o=t.widgets,a=t.items,i=e.key,s=e.name,l=e.type,c=e.fromView,d=e.fromModel,u=e.operator,p={key:i,name:s,type:l,fromView:c,fromModel:d,operator:u};c&&n.onFromViewChange(c,d);var f=e.relatedViews,m={};r.forEach(function(e){var t=e.id;if(f[t])p[""+A.prefixView+t]=f[t].key,p[""+A.prefixOther+t]=f[t].isParam;else{var n=JSON.parse(e.model),r=Object.keys(n)[0];p[""+A.prefixView+t]=r,p[""+A.prefixOther+t]=!1}}),a.forEach(function(e){var t=e.id,n=o.find(function(t){return t.id===e.widgetId}),r=n.viewId;f[r]?(p[""+A.prefixItem+t]=f[r].items.indexOf(t)>=0,m[r]=f[r].isParam):(p[""+A.prefixItem+t]=!1,m[r]=!1)}),n.setState({needSetView:!!x.FilterTypesViewSetting[l],availableOperatorTypes:x.FilterTypesOperatorSetting[l],modelOrParam:m},function(){var e=n.props,t=e.form;e.onGetPreviewData;t.setFieldsValue(p)})},n.filterItemNameChange=function(e){var t=n.props,r=t.onFilterItemNameChange,o=t.filterItem,a=e.target.value;r(o.key,a)},n.modelOrParamChange=function(e){return function(t){var o=n.state,a=o.modelOrParam,i=o.usedViews,s=i[e],l=s.param,c=s.model,d=t?l:c,u=d.length<=0?null:t?l[0]:c[0].key;n.setState({modelOrParam:Object.assign({},a,r({},e,t))},function(){n.props.form.setFieldsValue(r({},""+A.prefixView+e,u))})}},n.onFromViewChange=function(e,t){var r=n.props.views,o=r.find(function(t){return t.id===+e}),a=Object.entries(JSON.parse(o.model)).filter(function(e){var t=s(e,2);t[0];return"category"===t[1].modelType}).map(function(e){return s(e,1)[0]});n.setState({modelItems:a},function(){var r=n.props,o=r.form,i=r.filterItem,s=r.onGetPreviewData;!t||a.indexOf(t)<0?(o.setFieldsValue({fromModel:a[0]}),s(i.key,e,a[0],[])):s(i.key,e,t,[])})},n.onFromModelChange=function(e){var t=n.props,r=t.onGetPreviewData,o=t.form,a=t.filterItem,i=o.getFieldValue("fromView");r(a.key,i,e,[])},n.filterTypeChange=function(e){n.setState({needSetView:x.FilterTypesViewSetting[e],availableOperatorTypes:x.FilterTypesOperatorSetting[e]},function(){var e=n.props.form,t=n.state.availableOperatorTypes,r=e.getFieldValue("operator");t.indexOf(r)<0&&e.setFieldsValue({operator:t[0]})}),(0,n.props.onFilterTypeChange)(e)},n.state={usedViews:{},mappingViewItems:{},needSetView:!1,modelItems:[],modelOrParam:{},availableOperatorTypes:[]},n}return i(t,e),l(t,[{key:"componentWillMount",value:function(){var e=this.props,t=e.views,n=e.widgets,r=e.items;t&&n&&r&&this.initFormSetting(t,n,r)}},{key:"componentWillReceiveProps",value:function(e){var t=e.views,n=e.widgets,r=e.items,o=e.filterItem;t&&n&&r&&t!==this.props.views&&n!==this.props.widgets&&r!==this.props.items&&this.initFormSetting(t,n,r);var a=this.props.filterItem;o&&o!==a&&a.key&&this.saveFilterItem()}},{key:"initFormSetting",value:function(e,t,n){var r=/query@var\s+\$(\w+)\$/g,o={},a={};n.forEach(function(n){var i=n.widgetId,l=t.find(function(e){return e.id===i}),c=l.viewId;if(!o[c]){var d=e.find(function(e){return e.id===c}),u=d.id,p=d.name,f=d.description,m=d.model,h=d.sql,g=JSON.parse(m);o[c]={id:u,name:p,description:f,model:Object.entries(g).map(function(e){var t=s(e,2),n=t[0],r=t[1],o=r.sqlType;return{key:n,visualType:r.visualType,sqlType:o}}),param:(h.match(r)||[]).map(function(e){return e.substring(e.indexOf("$")+1,e.length-1)})}}a[c]||(a[c]=[]),a[c].push({id:n.id,name:l.name})}),this.setState({usedViews:o,mappingViewItems:a})}},{key:"renderConfigItem",value:function(e,t,n){var r=this.props.form,o=this.state.modelOrParam,a=r.getFieldDecorator,i=t[e],s=n[e],l=c.createElement(g,null,o[e]?i.param.map(function(e){return c.createElement(_,{key:e,value:e},e)}):i.model.map(function(e){return c.createElement(_,{key:e.key,value:e.key},e.key)}));return c.createElement(p,{key:e,className:y.configItem},c.createElement(f,{span:10,className:y.itemList},s.map(function(e){return c.createElement(u,{className:y.item,key:e.id,label:e.name,labelCol:{span:21},wrapperCol:{span:3}},a(""+A.prefixItem+e.id,{valuePropName:"checked"})(w))})),c.createElement(f,{span:14,className:y.viewSet},c.createElement(u,{className:y.item,label:"参数",labelCol:{span:8},wrapperCol:{span:16}},a(""+A.prefixOther+i.id,{valuePropName:"checked"})(c.createElement(b,{onChange:this.modelOrParamChange(e)}))),c.createElement(u,{className:y.item,label:i.name,labelCol:{span:8},wrapperCol:{span:15}},a(""+A.prefixView+i.id)(l))))}},{key:"renderConfigForm",value:function(e,t){var n=this,r=this.props,o=r.form,a=r.views,i=o.getFieldDecorator,s=this.state,l=s.needSetView,h=s.modelItems,b=s.availableOperatorTypes;return c.createElement("div",{className:y.filterForm},c.createElement("div",{className:y.title},j),c.createElement("div",{className:y.form},c.createElement(d,null,c.createElement(p,null,c.createElement(f,{span:12},c.createElement(u,{className:v.hide},i("key",{})(E)),c.createElement(u,{label:"名称",labelCol:{span:8},wrapperCol:{span:16}},i("name",{rules:[{required:!0,message:"不能为空"}]})(c.createElement(m,{onChange:this.filterItemNameChange,placeholder:"筛选项名称"})))),c.createElement(f,{span:12},c.createElement(u,{label:"类型",labelCol:{span:8},wrapperCol:{span:16}},i("type",{rules:[{required:!0,message:"不能为空"}]})(c.createElement(g,{onChange:this.filterTypeChange},x.FilterTypeList.map(function(e){return c.createElement(_,{key:e,value:e},x.FilterTypesLocale[e])})))))),l?c.createElement(p,null,c.createElement(f,{span:12},c.createElement(u,{label:"来源 View",labelCol:{span:8},wrapperCol:{span:16}},i("fromView",{rules:[{required:!0,message:"不能为空"}]})(c.createElement(g,{onChange:this.onFromViewChange},a.map(function(e){return c.createElement(_,{key:e.id,value:e.id.toString()},e.name)}))))),c.createElement(f,{span:12},c.createElement(u,{label:"来源字段",labelCol:{span:8},wrapperCol:{span:16}},i("fromModel",{rules:[{required:!0,message:"不能为空"}]})(c.createElement(g,{onChange:this.onFromModelChange},h.map(function(e){return c.createElement(_,{key:e,value:e},e)})))))):null,b.length<=0?null:c.createElement(p,null,c.createElement(f,{span:12},c.createElement(u,{label:"对应关系",labelCol:{span:8},wrapperCol:{span:16}},i("operator",{rules:[{required:!0,message:"不能为空"}]})(c.createElement(g,null,b.map(function(e){return c.createElement(_,{key:e,value:e},e)})))))),c.createElement(p,null,c.createElement(f,{span:24},Object.keys(e).map(function(r){return n.renderConfigItem(r,e,t)}))))))}},{key:"render",value:function(){var e=this.props,t=e.views,n=e.widgets,r=e.items;if(t&&n&&r){var o=this.state,a=o.usedViews,i=o.mappingViewItems;return this.renderConfigForm(a,i)}return null}}]),t}(c.Component);t.FilterForm=S,t.default=d.create()(S)},"./app/components/Filters/FilterList.tsx":function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=function(){function e(e,t){for(var n=0;n0&&s.push({name:a,value:o.map(function(t){return e.getValidValue(t,i)}).join(",")});break;case u.FilterTypes.CascadeSelect:break;case u.FilterTypes.InputDate:o&&s.push({name:a,value:"'"+d.default(o).format("YYYY-MM-DD")+"'"});break;case u.FilterTypes.MultiDate:o&&s.push({name:a,value:o.split(",").map(function(e){return"'"+e+"'"}).join(",")});break;case u.FilterTypes.DateRange:if(o.length){var l;(l=s).push.apply(l,r(o.map(function(e){return{name:a,value:"'"+d.default(e).format("YYYY-MM-DD")+"'"}})))}break;case u.FilterTypes.Datetime:o&&s.push({name:a,value:"'"+d.default(o).format("YYYY-MM-DD HH:mm:ss")+"'"});break;case u.FilterTypes.DatetimeRange:if(o.length){var c;(c=s).push.apply(c,r(o.map(function(e){return{name:a,value:"'"+d.default(e).format("YYYY-MM-DD HH:mm:ss")+"'"}})))}break;default:var p=o.target.value.trim();p&&s.push({name:a,value:e.getValidValue(p,i)})}return s},e.getModelValue=function(t,n,r,o){var a=n.key,i=n.sqlType,s=[];switch(t){case u.FilterTypes.InputText:case u.FilterTypes.InputNumber:case u.FilterTypes.Select:void 0!==o&&s.push(a+" "+r+" "+e.getValidValue(o,i));break;case u.FilterTypes.NumberRange:""===o[0]||isNaN(o[0])||s.push(a+" >= "+e.getValidValue(o[0],i)),""===o[1]||isNaN(o[1])||s.push(a+" <= "+e.getValidValue(o[1],i));break;case u.FilterTypes.MultiSelect:o.length&&o.length>0&&s.push(a+" "+r+" ("+o.map(function(t){return e.getValidValue(t,i)}).join(",")+")");break;case u.FilterTypes.CascadeSelect:break;case u.FilterTypes.InputDate:o&&s.push(a+" "+r+" "+e.getValidValue(d.default(o).format("YYYY-MM-DD"),i));break;case u.FilterTypes.MultiDate:o&&s.push(a+" "+r+" ("+o.split(",").map(function(t){return e.getValidValue(t,i)}).join(",")+")");break;case u.FilterTypes.DateRange:o.length&&(s.push(a+" >= "+e.getValidValue(d.default(o[0]).format("YYYY-MM-DD"),i)),s.push(a+" <= "+e.getValidValue(d.default(o[1]).format("YYYY-MM-DD"),i)));break;case u.FilterTypes.Datetime:o&&s.push(a+" "+r+" "+e.getValidValue(d.default(o).format("YYYY-MM-DD HH:mm:ss"),i));break;case u.FilterTypes.DatetimeRange:o.length&&(s.push(a+" >= "+e.getValidValue(d.default(o[0]).format("YYYY-MM-DD HH:mm:ss"),i)),s.push(a+" <= "+e.getValidValue(d.default(o[1]).format("YYYY-MM-DD HH:mm:ss"),i)));break;default:var l=o.target.value.trim();l&&s.push(a+" "+r+" "+e.getValidValue(l,i))}return s},e.getValidValue=function(e,t){return t?p.SQL_NUMBER_TYPES.indexOf(t)>=0?e:"'"+e+"'":e},e}return i(t,e),l(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.filters,r=t.onGetOptions,o=t.filterOptions,a=t.form;return c.createElement(g,{className:_.filterPanel},c.createElement(m,{gutter:8},n.map(function(t){return c.createElement(h,{xl:3,lg:4,md:6,sm:12,key:t.key},c.createElement(f.default,{filter:t,onGetOptions:r,currentOptions:o[t.key]||{},formToAppend:a,onChange:e.change}))})))}}]),t}(c.Component);t.FilterPanel=b,t.default=g.create()(b)},"./app/components/Filters/FilterValuePreview.tsx":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n=0?t[0][n]:"'"+t[0][n]+"'";"parameter"===a?s.push(o+" "+i+" "+d):"variable"===a&&c.push({name:o,value:d})});var d=o[a];if(d){var u=d.filters,p=d.params;d.filters=s.length>0?Object.assign({},u,r({},e,s)):u,d.params=c.length>0?Object.assign({},p,r({},e,c)):p}else o[a]={filters:s.length>0?r({},e,s):{},params:c.length>0?r({},e,s):{}}}),o}function i(e,t,n){var r=[];return t.length<=0?r:(t.forEach(function(t){var o=t.trigger,a=t.linkager,i=+o[0],s=+a[0];e===i&&n[s]&&["filters","params"].forEach(function(t){n[s][t][e]&&(delete n[s][t][e],r.indexOf(s)<0&&r.push(s))})}),r)}var s=function(){function e(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();Object.defineProperty(t,"__esModule",{value:!0});var l=n("./app/globalConstants.ts");t.getMappingLinkage=o,t.processLinkage=a,t.removeLinkage=i},"./app/components/MultiDatePicker/MultiDatePicker.less":function(e,t,n){var r=n("./node_modules/_css-loader@0.28.4@css-loader/index.js?modules&importLoaders=1!./node_modules/_postcss-loader@1.3.3@postcss-loader/index.js!./node_modules/_less-loader@3.0.0@less-loader/lib/loader.js!./app/components/MultiDatePicker/MultiDatePicker.less");"string"==typeof r&&(r=[[e.i,r,""]]);var o={};o.transform=void 0;n("./node_modules/_style-loader@0.18.1@style-loader/lib/addStyles.js")(r,o);r.locals&&(e.exports=r.locals)},"./app/components/MultiDatePicker/index.js":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"MultiDatePicker",function(){return v});var i=n("./node_modules/_react@15.6.2@react/react.js"),s=n.n(i),l=n("./node_modules/_prop-types@15.5.10@prop-types/index.js"),c=(n.n(l),n("./node_modules/_jquery@3.3.1@jquery/dist/jquery.js")),d=n.n(c),u=n("./node_modules/_moment@2.22.2@moment/src/moment.js"),p=n("./node_modules/_bootstrap-datepicker@1.8.0@bootstrap-datepicker/dist/js/bootstrap-datepicker.js"),f=(n.n(p),n("./node_modules/_antd@2.13.14@antd/lib/icon/index.js")),m=n.n(f),h=n("./app/components/MultiDatePicker/MultiDatePicker.less"),g=n.n(h),_=function(){function e(e,t){for(var n=0;n=200){var o=r.payload.avatar,a=r.header.token;t&&"function"==typeof t.callback&&t.callback(o),m.setToken(a),localStorage.setItem("TOKEN",a)}}},n.state={currentPath:""},n}return a(t,e),i(t,[{key:"componentWillReceiveProps",value:function(e){var t=e.path;t&&t.length&&this.setState({currentPath:t})}},{key:"render",value:function(){var e=this.props,t=e.type,n=e.xhrParams,r=this.state.currentPath,o={Authorization:m.getToken()},a=r?r.indexOf("data:")>=0?r:""+r:"",i="";return"profile"===t?n&&n.id&&(i=f.default.user+"/"+n.id+"/avatar"):"organization"===t?n&&n.id&&(i=f.default.organizations+"/"+n.id+"/avatar"):"team"===t&&n&&n.id&&(i=f.default.teams+"/"+n.id+"/avatar"),s.createElement("div",{className:p.avatar},s.createElement(l.default,{path:a,size:"large",enlarge:!0}),s.createElement("div",{className:p.uploadAvatar},s.createElement("div",{className:p.uploadTitle},"上传新图像"),s.createElement(c,{name:"file",showUploadList:!1,headers:o,action:i,beforeUpload:this.beforeUpload,onChange:this.handleChange},h),s.createElement("p",{className:p.uploadDesc},"图片大小不超过1MB")))}}]),t}(s.PureComponent);t.UploadAvatar=g,t.default=g},"./app/components/Video.tsx":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:i,t=arguments[1],n=t.type,r=t.payload,a=e.get("loginUser");switch(n){case o.LOGIN:return e.set("loginLoading",!0);case o.LOGGED:return e.set("loginLoading",!1).set("logged",!0).set("loginUser",r.user);case o.LOGIN_ERROR:return e.set("loginLoading",!1);case o.ACTIVE_SUCCESS:return e.set("logged",!0).set("loginUser",r.user);case o.LOGOUT:return e.set("logged",!1).set("loginUser",null);case o.SET_LOGIN_USER:return e.set("loginUser",r.user);case o.UPLOAD_AVATAR_SUCCESS:var s=Object.assign({},a,{avatar:r.path});return localStorage.setItem("loginUser",JSON.stringify(s)),e.set("loginUser",s);case o.SHOW_NAVIGATOR:return e.set("navigator",!0);case o.HIDE_NAVIGATOR:return e.set("navigator",!1);default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./app/containers/App/constants.ts"),a=n("./node_modules/_immutable@3.8.1@immutable/dist/immutable.js"),i=a.fromJS({logged:!1,loginUser:null,loginLoading:!1,navigator:!0});t.default=r},"./app/containers/App/sagas.ts":function(e,t,n){"use strict";function r(e){var t,n,r,o,a,i;return regeneratorRuntime.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return t=e.payload,n=t.username,r=t.password,o=t.resolve,s.prev=1,s.next=4,x.call(S.default,{method:"post",url:C.default.login,data:{username:n,password:r}});case 4:return a=s.sent,i=k.readListAdapter(a),s.next=8,x.put(E.logged(i));case 8:localStorage.setItem("loginUser",JSON.stringify(i)),o(),s.next=17;break;case 12:return s.prev=12,s.t0=s.catch(1),s.next=16,x.put(E.loginError());case 16:T.errorHandler(s.t0);case 17:case"end":return s.stop()}},p,this,[[1,12]])}function o(e){var t,n,r,o,a;return regeneratorRuntime.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return t=e.payload,n=t.token,r=t.resolve,i.prev=1,i.next=4,x.call(S.default,{method:"post",url:C.default.signup+"/active/"+n});case 4:o=i.sent,i.t0=o.header.code,i.next=200===i.t0?8:302===i.t0?14:17;break;case 8:return a=k.readListAdapter(o),i.next=11,x.put(E.activeSuccess(a));case 11:return localStorage.setItem("loginUser",JSON.stringify(a)),r(),i.abrupt("return",a);case 14:return w.error(o.header.msg),setTimeout(function(){return location.replace("/")},500),i.abrupt("return");case 17:return i.next=19,x.put(E.activeError());case 19:return w.error(o.header.msg),i.abrupt("return",null);case 21:i.next=28;break;case 23:return i.prev=23,i.t1=i.catch(1),i.next=27,x.put(E.activeError());case 27:T.errorHandler(i.t1);case 28:case"end":return i.stop()}},f,this,[[1,23]])}function a(e){var t,n;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,x.call(S.default,C.default.user+"/token");case 3:return t=r.sent,n=k.readObjectAdapter(t),r.next=7,x.put(E.logged(n));case 7:localStorage.setItem("loginUser",JSON.stringify(n)),e.payload.resolve(),r.next=16;break;case 11:return r.prev=11,r.t0=r.catch(0),r.next=15,x.put(E.getLoginUserError());case 15:T.errorHandler(r.t0);case 16:case"end":return r.stop()}},m,this,[[0,11]])}function i(e){var t,n,r,o,a,i,s,l,c,d;return regeneratorRuntime.wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return t=e.payload,n=t.id,r=t.name,o=t.type,a=t.params,i=t.resolve,s=t.reject,u.prev=1,u.next=4,x.call(S.default,C.default.checkName+"/"+o,{method:"get",params:Object.assign({},a,{id:n,name:r})});case 4:l=u.sent,c=l&&l.header&&l.header.msg?l.header.msg:"",d=l&&l.header&&l.header.code?l.header.code:"",i(c),u.next=13;break;case 10:u.prev=10,u.t0=u.catch(1),T.errorHandler(u.t0);case 13:case"end":return u.stop()}},h,this,[[1,10]])}function s(e){var t,n,r,o,a,i,s,l;return regeneratorRuntime.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:if(t=e.payload,n=t.pathname,r=t.data,o=t.resolve,a=t.reject,c.prev=1,r.name){c.next=4;break}return c.abrupt("return");case 4:return c.next=6,x.call(S.default,{method:"get",url:C.default.checkNameUnique+"/"+n,params:r});case 6:i=c.sent,s=i&&i.header&&i.header.msg?i.header.msg:"",l=i&&i.header&&i.header.code?i.header.code:"",o(s),c.next=15;break;case 12:c.prev=12,c.t0=c.catch(1),T.errorHandler(c.t0);case 15:case"end":return c.stop()}},g,this,[[1,12]])}function l(e){var t,n,r,o,a,i,s;return regeneratorRuntime.wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return t=e.payload,n=t.id,r=t.name,o=t.description,a=t.department,i=t.resolve,l.prev=1,l.next=4,x.call(S.default,{method:"put",url:C.default.signup+"/"+n,data:{name:r,description:o,department:a}});case 4:s=l.sent,i(s),l.next=13;break;case 8:return l.prev=8,l.t0=l.catch(1),l.next=12,x.put(E.updateProfileError());case 12:T.errorHandler(l.t0);case 13:case"end":return l.stop()}},_,this,[[1,8]])}function c(e){var t,n,r=e.payload;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.user,e.prev=1,e.next=4,x.call(S.default,{method:"put",url:C.default.user+"/"+t.id+"/changepassword",data:t});case 4:return n=e.sent,e.next=7,x.put(E.userPasswordChanged(r.info));case 7:r.resolve(),e.next=15;break;case 10:return e.prev=10,e.t0=e.catch(1),e.next=14,x.put(E.changeUserPasswordFail());case 14:T.errorHandler(e.t0);case 15:case"end":return e.stop()}},b,this,[[1,10]])}function d(e){var t,n,r,o,a,i;return regeneratorRuntime.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return t=e.payload,n=t.token,r=t.resolve,o=t.reject,s.prev=1,s.next=4,x.call(S.default,{method:"post",url:C.default.organizations+"/confirminvite/"+n});case 4:a=s.sent,s.t0=a.header.code,s.next=200===s.t0?8:13;break;case 8:return i=k.readListAdapter(a),s.next=11,x.put(E.joinOrganizationSuccess(i));case 11:return r&&r(i),s.abrupt("return",n);case 13:return s.next=15,x.put(E.joinOrganizationError());case 15:return w.error(a.header.msg),s.abrupt("return",null);case 17:s.next=34;break;case 19:if(s.prev=19,s.t1=s.catch(1),o&&o(s.t1),!s.t1.response){s.next=34;break}console.log(s.t1.response.status),s.t2=s.t1.response.status,s.next=403===s.t2?27:400===s.t2?30:33;break;case 27:return S.removeToken(),localStorage.removeItem("TOKEN"),s.abrupt("break",34);case 30:return console.log({error:s.t1}),w.error(s.t1.response.data.header.msg,3),s.abrupt("break",34);case 33:return s.abrupt("break",34);case 34:case"end":return s.stop()}},v,this,[[1,19]])}function u(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,[A.throttle(1e3,j.CHECK_NAME,s),A.takeLatest(j.GET_LOGIN_USER,a),A.takeLatest(j.ACTIVE,o),A.takeLatest(j.LOGIN,r),A.takeLatest(j.UPDATE_PROFILE,l),A.takeLatest(j.CHANGE_USER_PASSWORD,c),A.takeLatest(j.JOIN_ORGANIZATION,d)];case 2:case"end":return e.stop()}},y,this)}var p=regeneratorRuntime.mark(r),f=regeneratorRuntime.mark(o),m=regeneratorRuntime.mark(a),h=regeneratorRuntime.mark(i),g=regeneratorRuntime.mark(s),_=regeneratorRuntime.mark(l),b=regeneratorRuntime.mark(c),v=regeneratorRuntime.mark(d),y=regeneratorRuntime.mark(u);Object.defineProperty(t,"__esModule",{value:!0});var A=n("./node_modules/_redux-saga@0.15.3@redux-saga/es/index.js"),x=n("./node_modules/_redux-saga@0.15.3@redux-saga/es/effects.js"),w=n("./node_modules/_antd@2.13.14@antd/lib/message/index.js"),j=n("./app/containers/App/constants.ts"),E=n("./app/containers/App/actions.ts"),S=n("./app/utils/request.ts"),C=n("./app/utils/api.js"),k=n("./app/utils/asyncAdapter.js"),T=n("./app/utils/util.ts");t.login=r,t.activeUser=o,t.getLoginUser=a,t.checkName=i,t.checkNameUnique=s,t.updateProfile=l,t.changeUserPassword=c,t.joinOrganization=d,t.default=u},"./app/containers/App/selectors.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/_reselect@3.0.1@reselect/es/index.js"),o=function(e){return e.get("global")};t.selectGlobal=o;var a=function(){return r.createSelector(o,function(e){return e.get("logged")})};t.makeSelectLogged=a;var i=function(){return r.createSelector(o,function(e){return e.get("loginUser")})};t.makeSelectLoginUser=i;var s=function(){return r.createSelector(o,function(e){return e.get("loginLoading")})};t.makeSelectLoginLoading=s;var l=function(){return r.createSelector(o,function(e){return e.get("navigator")})};t.makeSelectNavigator=l;var c=function(){var e=void 0,t=void 0;return function(n){var r=n.get("route");return r.equals(e)||(e=r,t=r.toJS()),t}};t.makeSelectLocationState=c},"./app/containers/Background/Background.less":function(e,t,n){var r=n("./node_modules/_css-loader@0.28.4@css-loader/index.js?modules&importLoaders=1!./node_modules/_postcss-loader@1.3.3@postcss-loader/index.js!./node_modules/_less-loader@3.0.0@less-loader/lib/loader.js!./app/containers/Background/Background.less");"string"==typeof r&&(r=[[e.i,r,""]]);var o={};o.transform=void 0;n("./node_modules/_style-loader@0.18.1@style-loader/lib/addStyles.js")(r,o);r.locals&&(e.exports=r.locals)},"./app/containers/Background/Canvas.tsx":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n-1?n.getParentKey(e.key,Q.generateData(o)):null}).filter(function(e,t,n){return e&&n.indexOf(e)===t});n.setState({expandedKeys:i,searchValue:a,autoExpandParent:!0})},n.executeSql=function(){var e=n.state,t=e.sourceIdGeted,r=e.listData,o=e.isDeclarate;n.setState({isFold:!0,alertVisible:!0});var a=n.codeMirrorInstanceOfQuerySQL.getValue(),i="";if("yes"===o&&n.codeMirrorInstanceOfDeclaration){i=n.codeMirrorInstanceOfDeclaration.getValue()+"{"+a+"}",n.getTeamTreeData(i)}else{i="{"+a+"}";var s=r.map(function(e){return e.params=[],e});n.setState({teamParams:[{k:"",v:""}],listData:s},function(){n.setState({teamCheckedKeys:[]})})}n.props.onExecuteSql(t,i,function(e){if(e){var t=e.resultset,r=e.columns;r.map(function(e){var t=(te.SQL_FIELD_TYPES.date,void 0);for(var n in te.SQL_FIELD_TYPES)te.SQL_FIELD_TYPES.hasOwnProperty(n)&&te.SQL_FIELD_TYPES[n].indexOf(e.type)>=0&&(t=n);return e.visualType=t||"string",e.modelType=q.SQL_NUMBER_TYPES.indexOf(e.type)<0?"category":"value",e.sqlType=e.type,e}),n.setState({executeResultset:t,executeColumns:r})}}),n.asyncValidateResult=setTimeout(function(){n.setState({isShowSqlValidateAlert:!0})},100)},n.selectModelItem=function(e,t){return function(r){var o=n.state.executeColumns,a={name:e.name,sqlType:e.sqlType,visualType:"visualType"===t?r:e.visualType,modelType:"modelType"===t?"维度"===r.target.value?"category":"value":e.modelType};o.splice(o.findIndex(function(t){return t.name===e.name}),1,a),n.setState({executeColumns:o.slice()})}},n.onTeamParamChange=function(e,t){return function(r){var o=n.state,a=(o.configTeam,o.teamParams,o.listData);a.find(function(t){return t.id===e}).params[t].v=r.target.value,n.setState({listData:a.slice()})}},n.onModalOk=function(){n.props.form.validateFieldsAndScroll(function(e,t){if(!e){var r=n.state,o=r.executeColumns,a=(r.configTeam,r.listData),i=r.isDeclarate,s=r.name,l=r.description,c=r.isNameExited,d=r.sqlExecuteCode,u=n.props,p=u.route,f=u.params,m=t.id,h=t.source_id,g=t.source_name;if(!s.trim())return void L.error("\b\bView名称不能为空");if(c)return void L.error("\b\bView名称已存在");if(!h||!g)return void L.error("请选择一个Source");switch(d){case 200:var _=n.codeMirrorInstanceOfQuerySQL.doc.getValue(),b="";if("yes"===i&&n.codeMirrorInstanceOfDeclaration){var v=n.codeMirrorInstanceOfDeclaration.doc.getValue();b=_?v+"{"+_+"}":v}else b=_?"{"+_+"}":"";var y={};o.forEach(function(e){var t=e.name,n=e.sqlType,r=e.visualType,o=e.modelType;y[t]={sqlType:n,visualType:r,modelType:o}});var A=a.filter(function(e){return e.checked}).map(function(e){return{id:e.id,params:e.params}}),x={name:s,description:l,sql:b,model:JSON.stringify(y),config:0!==A.length?JSON.stringify({team:A}):"",projectId:f.pid};"/project/:pid/bizlogic"===p.path?n.props.onAddBizlogic(Object.assign({},x,{sourceId:Number(h)}),function(){n.hideForm()}):n.props.onEditBizlogic(Object.assign({},x,{id:m,source:{id:Number(h),name:g}}),function(){n.hideForm()});break;default:L.error("请检查SQL语句是否正确!",3)}}})},n.hideForm=function(){n.setState({executeResultset:[],executeColumns:[],isDeclarate:"no"},function(){n.codeMirrorInstanceOfDeclaration=!1,n.setState({isShowSqlValidateAlert:!1})}),n.props.form.resetFields(),n.props.router.push("/project/"+n.props.params.pid+"/bizlogics")},n.changeName=function(e){var t=n.props,r=t.onCheckUniqueName,o=t.route,a=t.params,i=t.form,s=i.getFieldsValue(),l=s.id,c={projectId:a.pid,id:"/project/:pid/bizlogic"===o.path?"":l,name:e.currentTarget.value};n.setState({name:e.currentTarget.value}),r("view",c,function(){n.setState({isNameExited:!1})},function(e){n.setState({isNameExited:!0})})},n.changeDesc=function(e){n.setState({description:e.currentTarget.value})},n.onTeamExpand=function(e){n.setState({teamExpandedKeys:e,teamAutoExpandParent:!1})},n.onCheck=function(e){n.setState({listData:n.getListData(e.checked),teamCheckedKeys:e.checked})},n.onSelect=function(e,t){n.setState({selectedKeys:e})},n.renderTreeNodes=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e.map(function(e){var r=n.state,o=r.listData,a=r.teamParams,i=o.find(function(t){return t.id===e.id}),s=c.createElement(ee.default,{depth:t,onTeamParamChange:n.onTeamParamChange,teamParams:a,currentItem:i});return e.children?c.createElement(F,{key:e.id,title:s,dataRef:e},n.renderTreeNodes(e.children,t+1)):c.createElement(F,{key:e.id,title:s,className:G.test})})},n.handleClose=function(){n.setState({alertVisible:!1})},n.foldBoard=function(){n.setState({isFold:!n.state.isFold})},n.cancel=function(){n.props.router.goBack()},n.changeTabs=function(e){var t=n.state.teamParams,r=n.props,o=r.params,a=r.bizlogics;if(!t.length){var i=o.bid?a.find(function(e){return e.id===Number(o.bid)}).sql:a[0].sql;n.getTeamTreeData(i)}},n.handleTree=function(e,t){var r=n.state.expandedKeys;if(n.setState({autoExpandParent:!1}),t.selected)r.indexOf(e[0])<0?(r.push(e[0]),n.setState({expandedKeys:r})):n.setState({expandedKeys:r.filter(function(t){return t!==e[0]})});else{var o=[];0===r.length?(r.push(t.node.props.title),o=r):o=r.filter(function(e){return e!==t.node.props.title}),n.setState({expandedKeys:o})}},n.state={expandedKeys:[],searchValue:"",autoExpandParent:!0,modelType:"",dataList:[],sourceIdGeted:0,isDeclarate:"no",isShowSqlValidateAlert:!1,executeResultset:[],executeColumns:[],schemaData:[],treeData:[],listData:[],teamExpandedKeys:[],teamAutoExpandParent:!0,teamCheckedKeys:[],selectedKeys:[],teamParams:[{k:"",v:""}],configTeam:[],alertVisible:!0,screenWidth:0,isFold:!0,name:"",description:"",isNameExited:!1,selectedSourceName:"",sqlExecuteCode:!1},n.codeMirrorInstanceOfDeclaration=!1,n.codeMirrorInstanceOfQuerySQL=!1,n}return a(t,e),l(t,[{key:"componentWillMount",value:function(){var e=this.props,t=e.params,n=e.route,r=e.bizlogics,o=e.onLoadSources,a=(e.onLoadSchema,e.onLoadBizlogics),i=e.onLoadViewTeam,s=this.state;s.selectedSourceName,s.schemaData;this.setState({screenWidth:document.documentElement.clientWidth,isFold:"/project/:pid/bizlogic"!==n.path}),r||a(t.pid),o(t.pid),i(t.pid)}},{key:"componentWillReceiveProps",value:function(e){var t=this,n=e.viewTeam,r=e.sqlValidateCode,o=this.state,a=o.listData,i=(o.teamParams,o.teamCheckedKeys),s=(o.schemaData,this.props),l=s.route,c=s.params,d=s.bizlogics;window.onresize=function(){return t.setState({screenWidth:document.documentElement.clientWidth})};var u=void 0;u=0===a.length?te.toListBF(n).map(function(e){var t=[{k:"",v:""}],n=void 0,r=void 0;if(d)if("/project/:pid/bizlogic"===l.path)n=t,r=i.indexOf(""+e.id)>=0;else{var o=d.find(function(e){return e.id===Number(c.bid)});if(o.config){var a=JSON.parse(o.config).team,s=a.find(function(t){return t.id===e.id});n=s?s.params:[],r=!!s}else n=t}else n=t;return Object.assign({},e,{checked:r,params:n})}):this.state.listData.map(function(e){return Object.assign({},e,{checked:i.indexOf(""+e.id)>=0,params:e.params})});var p=u.filter(function(e){return e.checked}).map(function(e){return""+e.id});this.setState({treeData:n,listData:u,teamCheckedKeys:p,sqlExecuteCode:r})}},{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.params,r=t.bizlogics,o=t.onLoadBizlogics,a=this.state,i=a.schemaData;a.listData,a.teamParams;this.props.onHideNavigator(),this.generateList(Q.generateData(i));var s=document.querySelector("#sql_tmpl");this.handleTmplCodeMirror(s),n.bid&&(r?this.showViewInfo(r):o(n.pid,function(t){e.showViewInfo(t)}))}},{key:"showViewInfo",value:function(e){var t=this,n=this.props,r=n.params,o=n.onLoadSchema,a=this.state,i=a.listData,s=(a.teamParams,e.find(function(e){return e.id===Number(r.bid)})),l=s.name,c=s.description,d=s.source,u=s.sourceId,p=s.sql,f=s.model,m=s.config,h=p.includes("{")&&""!==p.substring(0,p.lastIndexOf("{"));if(o(u,function(e){t.setState({schemaData:e,sourceIdGeted:u},function(){t.promptCodeMirror(Q.generateData(t.state.schemaData))})}),f){var g=JSON.parse(f),_=[];for(var b in g)g.hasOwnProperty(b)&&_.push(Object.assign({name:b},g[b]));this.setState({executeColumns:_})}else this.setState({executeColumns:[]});this.props.onExecuteSql(u,p,function(e){t.setState({executeResultset:e.resultset})});var v=m?JSON.parse(m).team:"",y=i.map(function(e){var t=v.find(function(t){return e.id===t.id});return e.params=t.params,e});this.setState({selectedSourceName:d.name,name:l,description:c,listData:y,teamParams:v?v[0].params.map(function(e){return{k:e.k,v:e.v}}):[]}),this.props.form.setFieldsValue({id:Number(r.bid),source_id:""+u,source_name:d.name,isDeclarate:h?"yes":"no"}),h?this.setState({isDeclarate:"yes"},function(){var e=document.querySelector("#declaration");t.handleDelareCodeMirror(e),t.codeMirrorInstanceOfDeclaration.doc.setValue(p.includes("{")?p.substring(0,p.lastIndexOf("{")):p)}):this.codeMirrorInstanceOfDeclaration=!1,this.codeMirrorInstanceOfQuerySQL.doc.setValue(p.includes("{")?p.substring(p.indexOf("{")+1,p.lastIndexOf("}")):"")}},{key:"componentWillUnmount",value:function(){clearTimeout(this.asyncValidateResult)}},{key:"getListData",value:function(e){var t=this.state,n=t.listData,r=t.teamParams;return n.map(function(t){var n=r.map(function(e){return{k:e.k,v:""}});return Object.assign({},t,{checked:e.indexOf(""+t.id)>=0,params:t.params.length?t.params:n})})}},{key:"getTeamTreeData",value:function(e){var t=this.state.listData,n=e.match(/team@var\s+\$\w+\$/g),r=n?n.map(function(e){return e.substring(e.indexOf("$")+1,e.lastIndexOf("$"))}):[],o=r.map(function(e){return{k:e,v:""}}),a=t.map(function(e){var t=e.params;return e.params=r.map(function(e){var n=t.find(function(t){return t.k===e});return n?Object.assign({},n):{k:e,v:""}}),e});this.setState({teamParams:o,listData:a.slice()})}},{key:"render",value:function(){var e=this,t=this.props,n=t.form,r=t.sources,o=t.sqlValidateMessage,a=t.executeLoading,i=t.modalLoading,l=(t.route,t.viewTeam),d=n.getFieldDecorator,u=this.state,p=u.searchValue,f=u.expandedKeys,m=u.autoExpandParent,h=u.isDeclarate,g=u.isShowSqlValidateAlert,_=u.executeResultset,b=u.executeColumns,v=u.schemaData,A=(u.treeData,u.alertVisible),j=u.screenWidth,L=u.isFold,Y=u.name,q=u.description,K=u.selectedSourceName,X=u.sqlExecuteCode,J={labelCol:{span:8},wrapperCol:{span:16}},Z=_?_.map(function(e){return e}):[],$=b?b.map(function(e){return e}):[],ee=void 0;ee=r?c.createElement(R,{onClick:this.selectSource},(r||[]).map(function(e){return c.createElement(N,{key:e.id},e.name)})):re;var me=[];for(var he in Z[0])Z[0].hasOwnProperty(he)&&me.push(he);var ge=[];me.forEach(function(e,t){ge.push({title:e,dataIndex:e,className:""+W.textAlignLeft,width:80})});var _e=[];for(var be in te.SQL_FIELD_TYPES)te.SQL_FIELD_TYPES.hasOwnProperty(be)&&_e.push(be);var ve=_e.map(function(e){return c.createElement(U,{key:e,value:e},e)}),ye=[{title:"字段名称",dataIndex:"name",className:""+W.textAlignLeft,key:"name",width:"25%"},{title:"数据类型",dataIndex:"modelType",key:"modelType",className:""+W.textAlignLeft,width:"25%",render:function(t,n){return c.createElement(V,{options:["维度","指标"],value:"category"===n.modelType?"维度":"指标",onChange:e.selectModelItem(n,"modelType")})}},{title:"可视化类型",dataIndex:"visualType",className:""+W.textAlignLeft,key:"visualType",width:"25%",render:function(t,n){return c.createElement(E,{size:"small",style:{width:"50%"},value:n.visualType,onChange:e.selectModelItem(n,"visualType")},ve)}},{title:"类型",dataIndex:"sqlType",className:""+W.hide,key:"sqlType",render:function(e,t){return oe}}],Ae=void 0;Ae=g&&X?A?c.createElement(M,{className:G.sqlAlertText,message:"syntax check "+(200===X?"success":"error"),description:""+(o||""),type:200===X?"success":"error",showIcon:!0,closable:!0,onClose:this.handleClose}):null:"";var xe=[];Q.generateData(v).forEach(function(e){if(e.key.search(p)>=0)xe.push(e);else if(e.children){var t=[];e.children.forEach(function(n){if(n.key.search(p)>=0){t.push(n);var r={title:e.title,key:e.key,children:t};if(t.length>1)return;xe.push(r)}})}});var we={simple:j<768||768===j,defaultPageSize:100,showSizeChanger:!0,pageSizeOptions:["100","200","300","400"]},je=c.createElement(C,{className:""+(L?G.foldIcon:G.noFoldIcon),type:L?"down-circle-o":"left-circle-o",onClick:this.foldBoard}),Ee=c.createElement("span",null,"声明变量",c.createElement(D,{title:"帮助"},c.createElement(P,{placement:"left",content:c.createElement("div",{className:G.declareMsg},c.createElement("p",{className:G.textMsg},"查询变量:query@var $变量名称$"),c.createElement("p",{className:G.exampleMsg},"query@var $age$ = '29'; "),c.createElement("p",{className:G.textMsg},"团队权限变量:team@var $变量名称$"),c.createElement("p",{className:G.exampleMsg},"team@var $city$ = '北京'; ")),title:ae,trigger:"click"},c.createElement(C,{type:"question-circle-o",className:G.questionClass}))));return c.createElement("div",{className:G.bizlogic},c.createElement(ne.default,{currentType:"view",className:G.header,name:Y,description:q,placeholder:this.placeholder,onNameChange:this.changeName,onDescriptionChange:this.changeDesc,onSave:this.onModalOk,onCancel:this.cancel,loading:i}),c.createElement(y,{className:G.formView},c.createElement(x,{className:G.formLeft+" no-item-margin"},c.createElement(w,{span:24,className:G.leftInput},c.createElement(z,{className:W.hide},d("id",{hidden:"add"===this.props.type})(ie)),c.createElement(z,{label:"",className:W.hide},d("source_id",{})(se)),c.createElement(z,{label:"",className:W.hide},d("source_name",{})(le)),c.createElement("div",{className:G.sourceSelect},c.createElement(I,{overlay:ee,trigger:["click"],placement:"bottomLeft"},c.createElement("a",null,K||"选择一个Source")))),c.createElement(w,{span:24,className:""+(0!==v.length?G.treeSearch:W.hide)},c.createElement(B,{placeholder:"Search the Schema",onChange:this.searchSchema})),c.createElement(w,{span:24,className:""+(0!==v.length?G.sourceTree:W.hide)},c.createElement(O,{onExpand:this.onExpand,expandedKeys:f,autoExpandParent:m,onSelect:this.handleTree},function e(t){return t.map(function(t){return t.children?c.createElement(F,{key:t.key,title:t.key},e(t.children)):c.createElement(F,{key:t.key,title:t.key})})}(xe||[])))),c.createElement(x,{className:G.formRight},c.createElement(w,{span:24,className:"small-item-margin "+G.declareSelect},c.createElement(z,s({label:Ee},J),d("isDeclarate",{initialValue:"no"})(c.createElement(V,{size:"default",onChange:this.changeIsDeclarate},ce,de)))),c.createElement(x,{className:G.formTop},c.createElement(w,{span:24,className:("no"===h?G.noDeclaration:"")+" "+G.declareText},c.createElement(z,{label:"",className:G.declareForm},d("declaration",{initialValue:""})(ue))),c.createElement(w,{span:24,className:"no-item-margin "+G.sqlText},c.createElement(z,{label:"",className:G.sqlForm},d("sql_tmpl",{initialValue:""})(pe)))),c.createElement(x,{className:G.fromBtn},c.createElement("span",{className:G.sqlAlert},Ae),c.createElement(S,{className:G.executeBtn,key:"forward",size:"large",type:"primary",loading:a,onClick:this.executeSql},fe,"Execute")),L?c.createElement(x,{className:""+(L?G.formBottom:G.formBottomNone)},c.createElement(w,{span:24,className:G.tabCol},c.createElement(k,{defaultActiveKey:"data",tabBarExtraContent:je,className:G.viewTab,onChange:this.changeTabs},c.createElement(H,{tab:"Data",key:"data"},c.createElement(T,{className:G.viewTabPane,dataSource:Z,columns:ge,pagination:we})),c.createElement(H,{tab:"Model",key:"model"},c.createElement(T,{className:G.viewTabPane,dataSource:$,columns:ye,pagination:we})),c.createElement(H,{tab:"Team",key:"team"},c.createElement(O,{className:G.viewTabPane,checkStrictly:!0,checkable:!0,onExpand:this.onTeamExpand,expandedKeys:this.state.teamExpandedKeys,autoExpandParent:this.state.teamAutoExpandParent,defaultExpandAll:!0,onCheck:this.onCheck,checkedKeys:this.state.teamCheckedKeys,onSelect:this.onSelect,selectedKeys:this.state.selectedKeys},this.renderTreeNodes(l||[])))))):je)))}}]),t}(c.Component);t.Bizlogic=me;var he=u.createStructuredSelector({sqlValidateCode:K.makeSelectSqlValidateCode(),sqlValidateMessage:K.makeSelectSqlValidateMsg(),executeLoading:K.makeSelectExecuteLoading(),sources:Z.makeSelectSources(),modalLoading:K.makeSelectModalLoading(),bizlogics:K.makeSelectBizlogics(),viewTeam:K.makeSelectViewTeam()}),ge=d.connect(he,i),_e=f.default({key:"bizlogic",reducer:h.default}),be=m.default({key:"bizlogic",saga:g.default}),ve=f.default({key:"source",reducer:_.default}),ye=m.default({key:"source",saga:b.default});t.default=p.compose(_e,ve,be,ye,ge)(y.create()(me))},"./app/containers/Bizlogic/TeamTreeAction.tsx":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n0?[l.createElement("span",{key:t,className:O.highlight},n[0]),e]:e}))}):null}).filter(function(e){return!!e})})},n.state={tableSource:[],tableSortedInfo:{},nameFilterValue:"",nameFilterDropdownVisible:!1,screenWidth:0},n}return a(t,e),s(t,[{key:"componentWillMount",value:function(){this.props.onLoadBizlogics(this.props.params.pid),this.setState({screenWidth:document.documentElement.clientWidth})}},{key:"componentWillReceiveProps",value:function(e){var t=this;window.onresize=function(){return t.setState({screenWidth:document.documentElement.clientWidth})},e.bizlogics&&this.setState({tableSource:e.bizlogics.map(function(e){return e.key=e.id,e})})}},{key:"render",value:function(){var e=this,t=this.state,n=t.tableSource,r=t.tableSortedInfo,o=t.nameFilterValue,a=t.nameFilterDropdownVisible,i=t.screenWidth,s=this.props,c=s.onDeleteBizlogic,d=s.tableLoading,u=s.currentProject,p=P.default(u,"view",!0)(j),f=P.default(u,"view",!1)(j),m=l.createElement(E,{title:"删除"},l.createElement(p,{icon:"delete",shape:"circle",type:"ghost"})),h=[{title:"名称",dataIndex:"name",key:"name",filterDropdown:l.createElement(y.default,{placeholder:"name",value:o,onChange:this.onSearchInputChange,onSearch:this.onSearch}),filterDropdownVisible:a,onFilterDropdownVisibleChange:function(t){return e.setState({nameFilterDropdownVisible:t})},sorter:function(e,t){return e.name>t.name?-1:1},sortOrder:"name"===r.columnKey&&r.order},{title:"描述",dataIndex:"description",key:"description"},{title:"Source",dataIndex:"sourceId",key:"sourceId",render:function(e,t){return t.source.name}},{title:"操作",key:"action",width:120,className:""+(I.initializePermission(u,"viewPermission")?O.textAlignCenter:O.hide),render:function(t,n){return l.createElement("span",{className:"ant-table-action-column"},l.createElement(E,{title:"修改"},l.createElement(f,{icon:"edit",shape:"circle",type:"ghost",onClick:e.showDetail(n.id)})),l.createElement(C,{title:"确定删除?",placement:"bottom",onConfirm:c(n.id)},m))}}],g={simple:i<768||768===i,defaultPageSize:20,showSizeChanger:!0};return l.createElement(b.default,null,R,l.createElement(b.default.Title,null,l.createElement(A,null,l.createElement(x,{span:24},l.createElement(k,{className:O.breadcrumb},N)))),l.createElement(b.default.Body,null,l.createElement(v.default,null,l.createElement(v.default.Header,null,F,l.createElement(v.default.Tools,null,l.createElement(E,{placement:"bottom",title:"新增"},l.createElement(p,{type:"primary",icon:"plus",onClick:this.showAdd})))),l.createElement(v.default.Body,null,l.createElement(A,null,l.createElement(x,{span:24},l.createElement(w,{dataSource:n||[],columns:h,pagination:g,onChange:this.handleTableChange,loading:d,bordered:!0})))))))}}]),t}(l.PureComponent);t.Bizlogics=B,t.mapDispatchToProps=i;var z=u.createStructuredSelector({bizlogics:M.makeSelectBizlogics(),loginUser:L.makeSelectLoginUser(),tableLoading:M.makeSelectTableLoading(),currentProject:D.makeSelectCurrentProject()}),U=d.connect(z,i),H=m.default({key:"bizlogic",reducer:g.default}),V=h.default({key:"bizlogic",saga:_.default});t.default=f.compose(H,V,U)(B)},"./app/containers/Bizlogic/reducer.ts":function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l,t=arguments[1],n=t.type,r=t.payload,s=e.get("bizlogics");switch(n){case o.LOAD_BIZLOGICS:return e.set("tableLoading",!0);case o.LOAD_BIZLOGICS_SUCCESS:return e.set("bizlogics",r.bizlogics).set("tableLoading",!1);case o.ADD_BIZLOGIC:return e.set("modalLoading",!0);case o.ADD_BIZLOGIC_SUCCESS:return e.set("bizlogics",[r.result]).set("modalLoading",!1);case o.ADD_BIZLOGIC_FAILURE:return e.set("modalLoading",!1);case o.DELETE_BIZLOGIC:return e;case o.DELETE_BIZLOGIC_SUCCESS:return e.set("bizlogics",s.filter(function(e){return e.id!==r.id}));case o.DELETE_BIZLOGIC_FAILURE:return e;case o.EDIT_BIZLOGIC:return e.set("modalLoading",!0);case o.EDIT_BIZLOGIC_SUCCESS:return s.splice(s.findIndex(function(e){return e.id===r.result.id}),1,r.result),e.set("bizlogics",s.slice()).set("modalLoading",!1);case o.EDIT_BIZLOGIC_FAILURE:return e.set("modalLoading",!1);case o.LOAD_SCHEMA:case o.LOAD_SCHEMA_SUCCESS:case o.LOAD_SCHEMA_FAILURE:return e;case o.EXECUTE_SQL:return e.set("executeLoading",!0);case o.EXECUTE_SQL_SUCCESS:var c=r.result;c.code,c.msg;return e.set("executeLoading",!1).set("sqlValidateMessage",void 0).set("sqlValidateCode",200);case o.EXECUTE_SQL_FAILURE:return e.set("executeLoading",!1).set("sqlValidateMessage",r.error.response.data.header.msg).set("sqlValidateCode",1);case o.LOAD_VIEW_TEAM:return e;case o.LOAD_VIEW_TEAM_SUCCESS:return e.set("viewTeam",r.result);case o.LOAD_VIEW_TEAM_FAILURE:return e;case a.LOAD_DASHBOARD_DETAIL_SUCCESS:case i.ActionTypes.LOAD_DISPLAY_DETAIL_SUCCESS:return e.set("bizlogics",r.bizlogics);default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./app/containers/Bizlogic/constants.ts"),a=n("./app/containers/Dashboard/constants.ts"),i=n("./app/containers/Display/constants.ts"),s=n("./node_modules/_immutable@3.8.1@immutable/dist/immutable.js"),l=s.fromJS({bizlogics:null,sqlValidateCode:!1,sqlValidateMessage:!1,tableLoading:!1,modalLoading:!1,schemaData:[],viewTeam:[]});t.default=r},"./app/containers/Bizlogic/sagas.ts":function(e,t,n){"use strict";function r(e){var t,n,r;return regeneratorRuntime.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return t=e.payload,o.prev=1,o.next=4,L.call(I.default,R.default.bizlogic+"?projectId="+t.projectId);case 4:return n=o.sent,r=N.readListAdapter(n),o.next=8,L.put(P.bizlogicsLoaded(r));case 8:t.resolve&&t.resolve(r),o.next=16;break;case 11:return o.prev=11,o.t0=o.catch(1),o.next=15,L.put(P.loadBizlogicsFail());case 15:B.errorHandler(o.t0);case 16:case"end":return o.stop()}},_,this,[[1,11]])}function o(e){var t,n;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.payload,r.prev=1,r.next=4,L.call(I.default,{method:"post",url:R.default.bizlogic,data:t.bizlogic});case 4:return n=r.sent,r.next=7,L.put(P.bizlogicAdded(n.payload));case 7:t.resolve(),r.next=15;break;case 10:return r.prev=10,r.t0=r.catch(1),r.next=14,L.put(P.addBizlogicFail());case 14:B.errorHandler(r.t0);case 15:case"end":return r.stop()}},b,this,[[1,10]])}function a(e){var t,n;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.payload,r.prev=1,r.next=4,L.call(I.default,{method:"delete",url:R.default.bizlogic+"/"+t.id});case 4:return n=r.sent,r.next=7,L.put(P.bizlogicDeleted(t.id));case 7:r.next=14;break;case 9:return r.prev=9,r.t0=r.catch(1),r.next=13,L.put(P.deleteBizlogicFail());case 13:B.errorHandler(r.t0);case 14:case"end":return r.stop()}},v,this,[[1,9]])}function i(e){var t,n,r,o,a,i,s,l,c;return regeneratorRuntime.wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return t=e.payload,n=t.bizlogic,r=n.config,o=n.description,a=n.id,i=n.model,s=n.name,l=n.source,c=n.sql,d.prev=2,d.next=5,L.call(I.default,{method:"put",url:R.default.bizlogic+"/"+a,data:{config:r,description:o,id:a,model:i,name:s,sourceId:l.id,sql:c}});case 5:return d.next=7,L.put(P.bizlogicEdited(t.bizlogic));case 7:t.resolve(),d.next=15;break;case 10:return d.prev=10,d.t0=d.catch(2),d.next=14,L.put(P.editBizlogicFail());case 14:B.errorHandler(d.t0);case 15:case"end":return d.stop()}},y,this,[[2,10]])}function s(e){var t,n,r,o,a,i,s;return regeneratorRuntime.wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return t=e.payload,l.prev=1,n=t.controlId,r=t.viewId,o=t.column,a=t.parents,l.next=5,L.call(I.default,{method:"post",url:R.default.bizlogic+"/"+r+"/getdistinctvalue",data:{column:o,parents:a||[]}});case 5:return i=l.sent,s=i.payload[o],l.next=9,L.put(P.cascadeSourceLoaded(n,o,s));case 9:l.next=16;break;case 11:return l.prev=11,l.t0=l.catch(1),l.next=15,L.put(P.loadCascadeSourceFail(l.t0));case 15:B.errorHandler(l.t0);case 16:case"end":return l.stop()}},A,this,[[1,11]])}function l(e){var t,n,r,o,a;return regeneratorRuntime.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return t=e.payload,i.prev=1,n=t.id,r=t.resolve,i.next=5,L.call(I.default,{method:"post",url:R.default.bizlogic+"/"+n+"/resultset?limit=1",data:{}});case 5:return o=i.sent,a=F.default(N.readListAdapter(o)),i.next=9,L.put(P.bizdataSchemaLoaded(a.keys));case 9:r(a.keys),i.next=16;break;case 12:return i.prev=12,i.t0=i.catch(1),i.next=16,L.put(P.loadBizdataSchemaFail(i.t0));case 16:case"end":return i.stop()}},x,this,[[1,12]])}function c(e){var t,n,r;return regeneratorRuntime.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return t=e.payload,o.prev=1,o.next=4,L.call(I.default,R.default.bizlogic+"/database?sourceId="+t.sourceId);case 4:return n=o.sent,r=N.readListAdapter(n),o.next=8,L.put(P.schemaLoaded(r));case 8:t.resolve(r),o.next=16;break;case 11:return o.prev=11,o.t0=o.catch(1),o.next=15,L.put(P.loadSchemaFail());case 15:B.errorHandler(o.t0);case 16:case"end":return o.stop()}},w,this,[[1,11]])}function d(e){var t,n,r;return regeneratorRuntime.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return t=e.payload,o.prev=1,o.next=4,L.call(I.default,{method:"post",url:R.default.bizlogic+"/executesql",data:{sql:t.sql,sourceId:t.sourceId}});case 4:return n=o.sent,r=n&&n.header,o.next=8,L.put(P.sqlExecuted(r));case 8:t.resolve&&t.resolve(n.payload),o.next=15;break;case 11:return o.prev=11,o.t0=o.catch(1),o.next=15,L.put(P.executeSqlFail(o.t0));case 15:case"end":return o.stop()}},j,this,[[1,11]])}function u(e){var t,n,r,o,a;return regeneratorRuntime.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return t=e.payload,i.prev=1,n=t.id,r=t.params,o=t.resolve,i.next=5,L.call(I.default,{method:"post",url:R.default.bizlogic+"/"+n+"/getdata",data:r});case 5:return a=i.sent,i.next=8,L.put(P.dataLoaded());case 8:o(a.payload.slice(0,500)),i.next=16;break;case 11:return i.prev=11,i.t0=i.catch(1),i.next=15,L.put(P.loadDataFail(i.t0));case 15:B.errorHandler(i.t0);case 16:case"end":return i.stop()}},E,this,[[1,11]])}function p(e){var t,n,r,o,a,i;return regeneratorRuntime.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return t=e.payload,s.prev=1,n=t.viewId,r=t.fieldName,o=t.filters,a=t.resolve,s.next=5,L.call(I.default,{method:"post",url:R.default.bizlogic+"/"+n+"/getdistinctvalue",data:{column:r,parents:o?Object.entries(o).map(function(e){var t=g(e,2);return{column:t[0],value:t[1]}}):[]}});case 5:return i=s.sent,s.next=8,L.put(P.distinctValueLoaded(i.payload,r));case 8:a&&a(N.readListAdapter(i)),s.next=16;break;case 11:return s.prev=11,s.t0=s.catch(1),s.next=15,L.put(P.loadDistinctValueFail(s.t0));case 15:B.errorHandler(s.t0);case 16:case"end":return s.stop()}},S,this,[[1,11]])}function f(e){var t,n,r,o,a,i,s,l,c,d,u,p,f,m;return regeneratorRuntime.wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return t=e.payload,n=t.renderType,r=t.itemId,o=t.viewId,a=t.params,i=t.vizType,s=a.filters,l=a.linkageFilters,c=a.globalFilters,d=a.params,u=a.linkageParams,p=a.globalParams,f=M(a,["filters","linkageFilters","globalFilters","params","linkageParams","globalParams"]),h.prev=2,h.next=5,L.call(I.default,{method:"post",url:R.default.bizlogic+"/"+o+"/getdata",data:Object.assign({},f,{filters:s.concat(l).concat(c),params:d.concat(u).concat(p)})});case 5:return m=h.sent,h.next=8,L.put(P.dataFromItemLoaded(n,r,m.payload.slice(0,500),i));case 8:h.next=15;break;case 10:return h.prev=10,h.t0=h.catch(2),h.next=14,L.put(P.loadDataFromItemFail(r,i));case 14:B.errorHandler(h.t0);case 15:case"end":return h.stop()}},C,this,[[2,10]])}function m(e){var t,n,r,o,a;return regeneratorRuntime.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return t=e.payload,i.prev=1,i.next=4,L.call(I.default,R.default.projects+"/"+t.projectId);case 4:return n=i.sent,r=N.readListAdapter(n),i.next=8,L.call(I.default,R.default.organizations+"/"+r.orgId+"/teams");case 8:return o=i.sent,a=N.readListAdapter(o),i.next=12,L.put(P.viewTeamLoaded(a));case 12:i.next=19;break;case 14:return i.prev=14,i.t0=i.catch(1),i.next=18,L.put(P.loadViewTeamFail(i.t0));case 18:B.errorHandler(i.t0);case 19:case"end":return i.stop()}},k,this,[[1,14]])}function h(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,[O.takeLatest(D.LOAD_BIZLOGICS,r),O.takeEvery(D.ADD_BIZLOGIC,o),O.takeEvery(D.DELETE_BIZLOGIC,a),O.takeEvery(D.EDIT_BIZLOGIC,i),O.takeEvery(D.LOAD_CASCADESOURCE,s),O.takeEvery(D.LOAD_BIZDATA_SCHEMA,l),O.takeLatest(D.LOAD_SCHEMA,c),O.takeLatest(D.EXECUTE_SQL,d),O.takeEvery(D.LOAD_DATA,u),O.takeEvery(D.LOAD_DISTINCT_VALUE,p),O.takeEvery(D.LOAD_DATA_FROM_ITEM,f),O.takeLatest(D.LOAD_VIEW_TEAM,m)];case 2:case"end":return e.stop()}},T,this)}var g=function(){function e(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),_=regeneratorRuntime.mark(r),b=regeneratorRuntime.mark(o),v=regeneratorRuntime.mark(a),y=regeneratorRuntime.mark(i),A=regeneratorRuntime.mark(s),x=regeneratorRuntime.mark(l),w=regeneratorRuntime.mark(c),j=regeneratorRuntime.mark(d),E=regeneratorRuntime.mark(u),S=regeneratorRuntime.mark(p),C=regeneratorRuntime.mark(f),k=regeneratorRuntime.mark(m),T=regeneratorRuntime.mark(h),M=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o0&&f<=6?(o=t%2==0?6:0,a=r):0===f?(o=n,a=r):f>6&&(o=n,a=u+6*Math.floor(t/2)),Object.assign({widgetId:e,x:o,y:a},h,g)});n.props.onAddDashboardItem(Number(t.portalId),_,function(e){n.hideDashboardItemForm()})}else{var b=a.find(function(e){return e.id===Number(c.id)}),v=Object.assign({},b,h,{widgetId:s[0]});n.props.onEditDashboardItem(v,function(){n.getChartData("rerender",v.id,v.widgetId),n.hideDashboardItemForm()})}},n.deleteItem=function(e){return function(){n.props.onDeleteDashboardItem(e)}},n.navDropdownClick=function(e){var t=n.props.params;n.props.router.push("/project/"+t.pid+"/dashboard/"+e.key)},n.nextNavDropdownClick=function(e){var t=n.props.widgets,r=e.item&&e.item.props&&e.item.props.id,o=e.item&&e.item.props&&e.item.props.widgetId,a=p.findDOMNode(n["dashboardItem"+r]);if(a){var i=a.parentNode,s=i.style.transform&&i.style.transform.match(/\d+/g)[1],l=i.parentNode.parentNode,c=parseInt(s,10)-K.GRID_ITEM_MARGIN;l.scrollTop=c}n.setState({nextMenuTitle:t.find(function(e){return e.id===o}).name})},n.toggleLinkageConfig=function(e){return function(){n.setState({linkageConfigVisible:e})}},n.saveLinkageConfig=function(e){var t=n.props,r=t.currentDashboard;(0,t.onEditCurrentDashboard)(Object.assign({},r,{config:JSON.stringify(Object.assign({},JSON.parse(r.config||"{}"),{linkages:e}))}),function(){n.toggleLinkageConfig(!1)(),n.clearAllInteracts()})},n.checkInteract=function(e){return n.props.currentLinkages.some(function(t){var n=t.trigger;return t.linkager,t.relation,+n[0]===e})},n.doInteract=function(e,t){var a=n.props,i=a.currentItems,s=(a.currentItemsInfo,a.currentLinkages),l=(a.widgets,O.getMappingLinkage(e,s));n.interactingLinkagers=O.processLinkage(e,t,l,n.interactingLinkagers),Object.keys(l).forEach(function(e){var t=i.find(function(t){return t.id===+e}),r=n.interactingLinkagers[e],a=r.filters,s=r.params;n.getChartData("rerender",+e,t.widgetId,{linkageFilters:Object.values(a).reduce(function(e,t){return e.concat.apply(e,o(t))},[]),linkageParams:Object.values(s).reduce(function(e,t){return e.concat.apply(e,o(t))},[])})}),n.setState({interactingStatus:Object.assign({},n.state.interactingStatus,r({},e,!0))})},n.clearAllInteracts=function(){var e=n.props.currentItems;Object.keys(n.interactingLinkagers).forEach(function(t){var r=e.find(function(e){return e.id===+t});n.getChartData("rerender",+t,r.widgetId,{linkageFilters:[],linkageParams:[]})}),n.interactingLinkagers={},n.setState({interactingStatus:{}})},n.turnOffInteract=function(e){var t=n.props,a=t.currentLinkages,i=t.currentItems;O.removeLinkage(e,a,n.interactingLinkagers).forEach(function(e){var t=i.find(function(t){return t.id===e}),r=n.interactingLinkagers[e],a=r.filters,s=r.params;n.getChartData("rerender",e,t.widgetId,{linkageFilters:Object.values(a).reduce(function(e,t){return e.concat.apply(e,o(t))},[]),linkageParams:Object.values(s).reduce(function(e,t){return e.concat.apply(e,o(t))},[])})}),n.setState({interactingStatus:Object.assign({},n.state.interactingStatus,r({},e,!1))})},n.toggleGlobalFilterConfig=function(e){return function(){n.setState({globalFilterConfigVisible:e})}},n.saveFilters=function(e){var t=n.props,r=t.currentDashboard;(0,t.onEditCurrentDashboard)(Object.assign({},r,{config:JSON.stringify(Object.assign({},JSON.parse(r.config||"{}"),{filters:e})),active:!0}),function(){n.toggleGlobalFilterConfig(!1)()})},n.getOptions=function(e,t,r,o){n.props.onLoadCascadeSource(e,t,r,o)},n.globalFilterChange=function(e){var t=n.props.currentItems;Object.entries(e).forEach(function(e){var r=c(e,2),o=r[0],a=r[1],i=t.find(function(e){return e.id===+o}),s=a.params,l=a.filters;n.getChartData("rerender",+o,i.widgetId,{globalParams:s,globalFilters:l})})},n.visibleFullScreen=function(e){var t=n.state.allowFullScreen;e&&n.setState({currentDataInFullScreen:e}),n.setState({allowFullScreen:!t})},n.currentWidgetInFullScreen=function(e){var t=n.props,r=t.currentItems,o=t.currentItemsInfo,a=t.widgets,i=t.bizlogics,s=r.find(function(t){return t.id===e}),l=a.find(function(e){return e.id===s.widgetId}),c=JSON.parse(i.find(function(e){return e.id===l.viewId}).model),d=o[e],u=o.loading;n.setState({currentDataInFullScreen:{itemId:e,widgetId:l.id,widget:l,model:c,data:d,loading:u,onGetChartData:n.getChartData}})},n.changeDashboardSharePanelAuthorizeState=function(e){return function(){n.setState({dashboardSharePanelAuthorized:e})}},n.getWidgetInfo=function(e){var t=n.props,r=t.currentItems,o=t.widgets,a=r.find(function(t){return t.id===e});return{name:o.find(function(e){return e.id===a.widgetId}).name}},n.toWorkbench=function(e,t){var r=n.props.params,o=r.pid,a=r.portalId,i=r.portalName,s=r.dashboardId,l=[o,a,i,s,e].join(K.DEFAULT_SPLITER);sessionStorage.setItem("editWidgetFromDashboard",l),n.props.router.push("/project/"+o+"/widget/"+t)},n.dataDrill=function(e){var t=n.props,r=t.widgets,o=t.currentItemsInfo,a=t.onDrillDashboardItem,i=e.itemId,s=e.groups,l=e.widgetId,c=e.sourceDataFilter,d=r.find(function(e){return e.id===l}),u=JSON.parse(d.config),p=u.cols,f=u.rows,m=u.metrics,h=(u.filters,u.color),g=u.label,_=(u.size,u.xAxis,u.tip,u.orders,u.cache,u.expired,o[i].queryParams.drillHistory),b=void 0,v=void 0,y=void 0,A=p.concat(f).filter(function(e){return"指标名称"!==e}),x=m.map(function(e){return{column:H.decodeMetricName(e.name),func:e.agg}});h&&(A=A.concat(h.items.map(function(e){return e.name}))),g&&(A=A.concat(g.items.filter(function(e){return"category"===e.type}).map(function(e){return e.name})),x=x.concat(g.items.filter(function(e){return"value"===e.type}).map(function(e){return{column:H.decodeMetricName(e.name),func:e.agg}})));var w=void 0;if(_&&0!==_.length){var j=_[_.length-1];v=j.groups[j.groups.length-1],y=c.map(function(e){return e[v]}),b=v+" in ("+y.map(function(e){return"'"+e+"'"}).join(",")+")";var E=j.filter.sqls.concat(b),S=j.groups.some(function(e){return e===s});w={filter:{filterSource:y,name:v,sql:b,sqls:E,visualType:"string"},type:S?"up":"down",groups:S?j.groups.filter(function(e){return e!==s}):j.groups.concat([s]),name:s}}else{if(u){if("col"===u.dimetionAxis){var C=u.cols;v=C[C.length-1]}else{var k=u.rows;v=k[k.length-1]}y=c.map(function(e){return e&&e[v]?e[v]:e}),b=v+" in ("+y.map(function(e){return"'"+e+"'"}).join(",")+")"}var T=u.filters.map(function(e){return e.config.sql});T.push(b);var M=A.some(function(e){return e===s});w={filter:{filterSource:y,name:v,sql:b,sqls:T,visualType:"string"},type:M?"up":"down",groups:M?A.filter(function(e){return e!==s}):A.concat([s]),name:s}}a(i,w),n.getChartData("rerender",i,l,{drillStatus:w})},n.selectDrillHistory=function(e,t,r,o){var a=n.props,i=(a.currentItemsInfo,a.onDeleteDrillHistory);e?n.getChartData("rerender",r,o,{drillStatus:e}):n.getChartData("rerender",r,o),i(r,t)},n.state={mounted:!1,layoutInitialized:!1,allowFullScreen:!1,currentDataInFullScreen:{},dashboardItemFormType:"",dashboardItemFormVisible:!1,dashboardItemFormStep:0,modalLoading:!1,selectedWidget:[],polling:!1,linkageConfigVisible:!1,interactingStatus:{},globalFilterConfigVisible:!1,dashboardSharePanelAuthorized:!1,nextMenuTitle:""},n}return s(t,e),d(t,[{key:"componentWillMount",value:function(){var e=this.props,t=e.onLoadDashboardDetail,n=e.params,r=n.pid,o=n.portalId,a=n.dashboardId;a&&-1!==Number(a)&&t(r,o,Number(a))}},{key:"componentWillReceiveProps",value:function(e){var t=this,n=(e.currentDashboard,e.currentDashboardLoading),r=e.currentItems,o=(e.currentItemsInfo,e.params),a=this.props,i=a.onLoadDashboardDetail,s=(a.onLoadCascadeSource,this.state.layoutInitialized);o.dashboardId!==this.props.params.dashboardId&&(this.setState({nextMenuTitle:""}),o.dashboardId&&-1!==Number(o.dashboardId)&&i(o.pid,o.portalId,o.dashboardId)),n||r&&!s&&this.setState({mounted:!0},function(){t.lazyLoad(),t.containerBody.removeEventListener("scroll",t.lazyLoad,!1),t.containerBody.addEventListener("scroll",t.lazyLoad,!1)})}},{key:"componentDidMount",value:function(){window.addEventListener("resize",this.onWindowResize,!1)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.onWindowResize,!1),this.containerBody.removeEventListener("scroll",this.lazyLoad,!1),this.props.onClearCurrentDashboard()}},{key:"render",value:function(){var e=this,t=this.props,n=t.dashboards,r=t.widgets,o=t.currentDashboard,a=t.currentDashboardLoading,i=t.currentDashboardShareInfo,s=t.currentDashboardSecretInfo,l=t.currentDashboardShareInfoLoading,c=t.currentItems,d=t.currentItemsInfo,m=t.currentDashboardCascadeSources,h=t.bizlogics,_=t.onLoadDashboardShareLink,b=t.onLoadWidgetShareLink,v=t.router,y=t.currentProject,A=t.currentLinkages,x=this.state,w=x.mounted,O=x.dashboardItemFormType,L=x.dashboardItemFormVisible,F=x.modalLoading,H=x.selectedWidget,V=x.polling,Y=x.dashboardItemFormStep,W=x.linkageConfigVisible,G=x.interactingStatus,Q=x.globalFilterConfigVisible,q=x.allowFullScreen,re=x.dashboardSharePanelAuthorized,oe=$,ae=void 0;if(n){var ie=n.map(function(e){return u.createElement(z.Item,{key:e.id},e.name)});oe=u.createElement(z,{onClick:this.navDropdownClick},ie)}var se=ee;if(o&&r){var le=c.map(function(e){var t=r.find(function(t){return t.id===e.widgetId});return u.createElement(z.Item,{key:e.id,widgetId:e.widgetId},e.widgetId&&t&&t.name?t.name:"")});se=u.createElement(z,{onClick:this.nextNavDropdownClick},le)}if(y&&c){var ce=[],de={lg:[]};c.forEach(function(t){var n=t.id,o=t.x,a=t.y,i=t.width,s=t.height,l=t.widgetId,c=t.polling,p=t.frequency,f=d[n],m=f.datasource,g=f.loading,_=f.shareInfo,A=f.secretInfo,x=f.shareInfoLoading,w=f.downloadCsvLoading,j=(f.interactId,f.rendered),E=f.renderType,S=r.find(function(e){return e.id===l}),k=h.find(function(e){return e.id===S.viewId}),T=G[n]||!1,M=d[n].queryParams.drillHistory?d[n].queryParams.drillHistory:void 0;ce.push(u.createElement("div",{key:n},u.createElement(C.default,{itemId:n,widget:S,data:m,loading:g,polling:c,interacting:T,frequency:p,shareInfo:_,secretInfo:A,view:k,shareInfoLoading:x,downloadCsvLoading:w,currentProject:y,drillHistory:M,onSelectDrillHistory:e.selectDrillHistory,onGetChartData:e.getChartData,onShowEdit:e.showEditDashboardItemForm,onDeleteDashboardItem:e.deleteItem,onLoadWidgetShareLink:b,onDownloadCsv:e.downloadCsv,onTurnOffInteract:e.turnOffInteract,onCheckTableInteract:e.checkInteract,onDoTableInteract:e.doInteract,onShowFullScreen:e.visibleFullScreen,onEditWidget:e.toWorkbench,onDrillData:e.dataDrill,rendered:j,renderType:E,router:v,ref:function(t){return e["dashboardItem"+n]=t}}))),de.lg.push({x:o,y:a,w:i,h:s,i:""+n})}),ae=u.createElement(Z,{className:"layout",style:{marginTop:"-14px"},rowHeight:K.GRID_ROW_HEIGHT,margin:[K.GRID_ITEM_MARGIN,K.GRID_ITEM_MARGIN],breakpoints:K.GRID_BREAKPOINTS,cols:K.GRID_COLS,layouts:de,onDragStop:this.onDragStop,onResizeStop:this.onResizeStop,measureBeforeMount:!1,draggableHandle:"."+J.title,useCSSTransforms:w},ce)}var ue=u.createElement(I,{key:"submit",size:"large",type:"primary",loading:F,disabled:F,onClick:this.saveDashboardItem},"保 存"),pe="add"===O?Y?[u.createElement(I,{key:"back",size:"large",onClick:this.changeDashboardItemFormStep(0)},"上一步"),ue]:[u.createElement(I,{key:"forward",size:"large",type:"primary",disabled:0===H.length,onClick:this.changeDashboardItemFormStep(1)},"下一步")]:ue;return u.createElement(j.default,null,u.createElement(f.default,{title:o&&o.name}),u.createElement(j.default.Title,null,u.createElement(D,null,u.createElement(P,{sm:12},u.createElement(N,{className:X.breadcrumb},o&&u.createElement(N.Item,null,u.createElement(B,{overlay:oe,trigger:["click"]},u.createElement(g.Link,{to:""},o.name+" ",te))),o&&u.createElement(N.Item,null,u.createElement(B,{overlay:se,trigger:["click"]},u.createElement(g.Link,{to:""},o.widgets&&o.widgets.length&&o.widgets.length>1?u.createElement("span",null,this.state.nextMenuTitle," ",ne):""))))),u.createElement(E.default,{currentProject:y,currentDashboard:o,currentDashboardShareInfo:i,currentDashboardSecretInfo:s,currentDashboardShareInfoLoading:l,dashboardSharePanelAuthorized:re,showAddDashboardItem:this.showAddDashboardItemForm,onChangeDashboardAuthorize:this.changeDashboardSharePanelAuthorizeState,onLoadDashboardShareLink:_,onToggleGlobalFilterVisibility:this.toggleGlobalFilterConfig,onToggleLinkageVisibility:this.toggleLinkageConfig})),u.createElement(T.default,{currentDashboard:o,currentItems:c,onGetOptions:this.getOptions,filterOptions:m,onChange:this.globalFilterChange})),u.createElement(j.default.Body,{grid:!0,ref:function(t){return e.containerBody=p.findDOMNode(t)}},ae,u.createElement("div",{className:J.gridBottom})),u.createElement(R,{title:("add"===O?"新增":"修改")+" Widget",wrapClassName:"ant-modal-large",visible:L,footer:pe,onCancel:this.hideDashboardItemForm,afterClose:this.afterDashboardItemFormClose},u.createElement(S.default,{type:O,widgets:r||[],selectedWidget:H,polling:V,step:Y,onWidgetSelect:this.widgetSelect,onPollingSelect:this.pollingSelect,wrappedComponentRef:this.refHandles.dashboardItemForm})),u.createElement(k.default,{currentDashboard:o,currentItems:c,currentItemsInfo:d,views:h,widgets:r,visible:W,loading:a,onGetWidgetInfo:this.getWidgetInfo,onSave:this.saveLinkageConfig,onCancel:this.toggleLinkageConfig(!1),linkages:A}),u.createElement(M.default,{currentDashboard:o,currentItems:c,views:h,widgets:r,visible:Q,loading:a,filterOptions:m,onCancel:this.toggleGlobalFilterConfig(!1),onSave:this.saveFilters,onGetOptions:this.getOptions}),u.createElement(U.default,{widgets:r,currentItems:c,currentDashboard:o,currentDatasources:d,visible:q,isVisible:this.visibleFullScreen,currentDataInFullScreen:this.state.currentDataInFullScreen,onCurrentWidgetInFullScreen:this.currentWidgetInFullScreen}))}}]),t}(u.Component);t.Grid=re;var oe=h.createStructuredSelector({dashboards:Y.makeSelectDashboards(),currentDashboard:Y.makeSelectCurrentDashboard(),currentDashboardLoading:Y.makeSelectCurrentDashboardLoading(),currentDashboardShareInfo:Y.makeSelectCurrentDashboardShareInfo(),currentDashboardSecretInfo:Y.makeSelectCurrentDashboardSecretInfo(),currentDashboardShareInfoLoading:Y.makeSelectCurrentDashboardShareInfoLoading(),currentItems:Y.makeSelectCurrentItems(),currentItemsInfo:Y.makeSelectCurrentItemsInfo(),currentDashboardCascadeSources:Y.makeSelectCurrentDashboardCascadeSources(),currentLinkages:Y.makeSelectCurrentLinkages(),widgets:G.makeSelectWidgets(),bizlogics:Q.makeSelectBizlogics(),currentProject:q.makeSelectCurrentProject()});t.mapDispatchToProps=l;var ae=m.connect(oe,l),ie=b.default({key:"widget",reducer:y.default}),se=v.default({key:"widget",saga:A.default}),le=b.default({key:"bizlogic",reducer:x.default}),ce=v.default({key:"bizlogic",saga:w.default});t.default=_.compose(ie,le,se,ce,ae)(re)},"./app/containers/Dashboard/actions.ts":function(e,t,n){"use strict";function r(e,t,n){return{type:X.ADD_DASHBOARD_ITEM,payload:{portalId:e,item:t,resolve:n}}}function o(e,t){return{type:X.DELETE_DASHBOARD_ITEM,payload:{id:e,resolve:t}}}function a(){return{type:X.CLEAR_CURRENT_DASHBOARD}}function i(e,t){return{type:X.LOAD_DASHBOARDS,payload:{portalId:e,resolve:t}}}function s(e){return{type:X.LOAD_DASHBOARDS_SUCCESS,payload:{dashboards:e}}}function l(){return{type:X.LOAD_DASHBOARDS_FAILURE}}function c(e,t){return{type:X.ADD_DASHBOARD,payload:{dashboard:e,resolve:t}}}function d(e){return{type:X.ADD_DASHBOARD_SUCCESS,payload:{result:e}}}function u(){return{type:X.ADD_DASHBOARD_FAILURE}}function p(e,t,n){return{type:X.EDIT_DASHBOARD,payload:{formType:e,dashboard:t,resolve:n}}}function f(e,t){return{type:X.EDIT_DASHBOARD_SUCCESS,payload:{result:e,formType:t}}}function m(){return{type:X.EDIT_DASHBOARD_FAILURE}}function h(e,t){return{type:X.EDIT_CURRENT_DASHBOARD,payload:{dashboard:e,resolve:t}}}function g(e){return{type:X.EDIT_CURRENT_DASHBOARD_SUCCESS,payload:{result:e}}}function _(){return{type:X.EDIT_CURRENT_DASHBOARD_FAILURE}}function b(e,t){return{type:X.DELETE_DASHBOARD,payload:{resolve:t,id:e}}}function v(e){return{type:X.DELETE_DASHBOARD_SUCCESS,payload:{id:e}}}function y(){return{type:X.DELETE_DASHBOARD_FAILURE}}function A(e,t,n){return{type:X.LOAD_DASHBOARD_DETAIL,payload:{projectId:e,portalId:t,dashboardId:n}}}function x(e,t,n,r){return{type:X.LOAD_DASHBOARD_DETAIL_SUCCESS,payload:{dashboardId:e,dashboardDetail:t,widgets:n,bizlogics:r}}}function w(){return{type:X.LOAD_DASHBOARD_DETAIL_FAILURE}}function j(e){return{type:X.ADD_DASHBOARD_ITEM_SUCCESS,payload:{result:e}}}function E(){return{type:X.ADD_DASHBOARD_ITEM_FAILURE}}function S(e,t){return{type:X.EDIT_DASHBOARD_ITEM,payload:{item:e,resolve:t}}}function C(e){return{type:X.EDIT_DASHBOARD_ITEM_SUCCESS,payload:{result:e}}}function k(){return{type:X.EDIT_DASHBOARD_ITEM_FAILURE}}function T(e){return{type:X.EDIT_DASHBOARD_ITEMS,payload:{items:e}}}function M(e){return{type:X.EDIT_DASHBOARD_ITEMS_SUCCESS,payload:{items:e}}}function O(){return{type:X.EDIT_DASHBOARD_ITEMS_FAILURE}}function L(e){return{type:X.DELETE_DASHBOARD_ITEM_SUCCESS,payload:{id:e}}}function D(){return{type:X.DELETE_DASHBOARD_ITEM_FAILURE}}function P(e,t){return{type:X.LOAD_DASHBOARD_SHARE_LINK,payload:{id:e,authName:t}}}function I(e){return{type:X.LOAD_DASHBOARD_SHARE_LINK_SUCCESS,payload:{shareInfo:e}}}function R(e){return{type:X.LOAD_DASHBOARD_SECRET_LINK_SUCCESS,payload:{secretInfo:e}}}function N(){return{type:X.LOAD_DASHBOARD_SHARE_LINK_FAILURE}}function F(e,t,n,r){return{type:X.LOAD_WIDGET_SHARE_LINK,payload:{id:e,itemId:t,authName:n,resolve:r}}}function B(e,t){return{type:X.LOAD_WIDGET_SHARE_LINK_SUCCESS,payload:{shareInfo:e,itemId:t}}}function z(e,t){return{type:X.LOAD_WIDGET_SECRET_LINK_SUCCESS,payload:{shareInfo:e,itemId:t}}}function U(e){return{type:X.LOAD_WIDGET_SHARE_LINK_FAILURE,payload:{itemId:e}}}function H(e,t,n,r){return{type:X.LOAD_WIDGET_CSV,payload:{itemId:e,widgetId:t,params:n,token:r}}}function V(e){return{type:X.LOAD_WIDGET_CSV_SUCCESS,payload:{itemId:e}}}function Y(e){return{type:X.LOAD_WIDGET_CSV_FAILURE,payload:{itemId:e}}}function W(e){return{type:X.RENDER_DASHBOARDITEM,payload:{itemId:e}}}function G(e){return{type:X.RESIZE_DASHBOARDITEM,payload:{itemId:e}}}function Q(){return{type:X.RESIZE_ALL_DASHBOARDITEM}}function q(e,t){return{type:X.DRILL_DASHBOARDITEM,payload:{itemId:e,drillHistory:t}}}function K(e,t){return{type:X.DELETE_DRILL_HISTORY,payload:{itemId:e,index:t}}}Object.defineProperty(t,"__esModule",{value:!0});var X=n("./app/containers/Dashboard/constants.ts");t.addDashboardItem=r,t.deleteDashboardItem=o,t.clearCurrentDashboard=a,t.loadDashboards=i,t.dashboardsLoaded=s,t.loadDashboardsFail=l,t.addDashboard=c,t.dashboardAdded=d,t.addDashboardFail=u,t.editDashboard=p,t.dashboardEdited=f,t.editDashboardFail=m,t.editCurrentDashboard=h,t.currentDashboardEdited=g,t.editCurrentDashboardFail=_,t.deleteDashboard=b,t.dashboardDeleted=v,t.deleteDashboardFail=y,t.loadDashboardDetail=A,t.dashboardDetailLoaded=x,t.loadDashboardDetailFail=w,t.dashboardItemAdded=j,t.addDashboardItemFail=E,t.editDashboardItem=S,t.dashboardItemEdited=C,t.editDashboardItemFail=k,t.editDashboardItems=T,t.dashboardItemsEdited=M,t.editDashboardItemsFail=O,t.dashboardItemDeleted=L,t.deleteDashboardItemFail=D,t.loadDashboardShareLink=P,t.dashboardShareLinkLoaded=I,t.dashboardSecretLinkLoaded=R,t.loadDashboardShareLinkFail=N,t.loadWidgetShareLink=F,t.widgetShareLinkLoaded=B,t.widgetSecretLinkLoaded=z,t.loadWidgetShareLinkFail=U,t.loadWidgetCsv=H,t.widgetCsvLoaded=V,t.loadWidgetCsvFail=Y,t.renderDashboardItem=W,t.resizeDashboardItem=G,t.resizeAllDashboardItem=Q,t.drillDashboardItem=q,t.deleteDrillHistory=K},"./app/containers/Dashboard/components/DashboardAction.tsx":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n=0})),e});n.setState({filters:a})},n.onSavingFilterConfig=function(){n.setState({savingFilterConfig:!n.state.savingFilterConfig})},n.state={filters:[],savingFilterConfig:!1},n}return a(t,e),i(t,[{key:"componentWillReceiveProps",value:function(e){var t=e.currentDashboard,n=e.currentItems;t===this.props.currentDashboard&&n===this.props.currentItems||this.adjustGlobalFilterTableSource(t,n)}},{key:"render",value:function(){var e=this.props,t=e.visible,n=e.loading,r=e.currentItems,o=e.widgets,a=e.views,i=e.onSave,p=e.onGetOptions,f=e.filterOptions,m=e.onCancel,h=this.state,g=h.filters,_=h.savingFilterConfig;if(!t)return null;var b=[s.createElement(l,{key:"cancel",size:"large",onClick:m},"取 消"),s.createElement(l,{key:"submit",size:"large",type:"primary",loading:n,disabled:n,onClick:this.onSavingFilterConfig},"保 存")];return s.createElement(c,{wrapClassName:"ant-modal-large",title:"全局筛选配置",maskClosable:!1,visible:t,footer:b,onCancel:m},s.createElement("div",{className:u.modalFilterConfig},s.createElement(d.default,{views:a,widgets:o,items:r,filters:g,saving:_,onOk:i,onGetPreviewData:p,previewData:f})))}}]),t}(s.Component);t.DashboardFilterConfig=p,t.default=p},"./app/containers/Dashboard/components/DashboardFilterPanel.tsx":function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=function(){function e(e,t){for(var n=0;n=0})),e});n.setState({filters:a})},n.state={filters:[]},n}return i(t,e),s(t,[{key:"componentWillReceiveProps",value:function(e){var t=e.currentDashboard,n=e.currentItems;t===this.props.currentDashboard&&n===this.props.currentItems||this.adjustGlobalFilterTableSource(t,n)}},{key:"render",value:function(){var e=this.props,t=e.onGetOptions,n=e.filterOptions,o=e.onChange,a=this.state.filters,i=c(r({},p.hide,!a.length));return l.createElement(d,{className:i},l.createElement(u,{span:24},l.createElement(f.default,{filters:a,onGetOptions:t,filterOptions:n,onChange:o})))}}]),t}(l.Component);t.DashboardFilterPanel=m,t.default=m},"./app/containers/Dashboard/components/DashboardForm.tsx":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"",r=arguments[2],o=e.props,a=o.onCheckUniqueName,i=o.type,s=o.form,l=o.portalId,c=s.getFieldsValue(),d=c.id,u={portal:l,id:"add"===i?"":d,name:n};"move"===i?r():a("dashboard",u,function(){r()},function(e){r(e)})},e}return a(t,e),s(t,[{key:"render",value:function(){var e=this.props.form.getFieldDecorator,t=this.props,n=t.dashboards,r=t.type,o=t.itemId,a={labelCol:{span:6},wrapperCol:{span:16}},s=n.filter(function(e){return 0===e.type}),p=s.map(function(e){return l.createElement(h,{key:""+e.id,value:""+e.id},e.name)}),f=n.find(function(e){return e.id===Number(o)}),S="",C="";return f&&(S=0===f.type?"文件夹":"Dashboard",C=f.name),l.createElement(c,null,l.createElement(g,{className:b.hide},e("id",{hidden:"add"===r&&"copy"})(v)),l.createElement(d,{gutter:8,className:"delete"===r?b.hide:""},l.createElement(u,{span:24},l.createElement(g,i({label:"所属文件夹"},a),e("folder",{rules:[{required:!0,message:"请选择所属文件夹"}],initialValue:"0"})(l.createElement(m,null,y,p))),l.createElement(g,{className:b.hide},e("config",{})(A)),l.createElement(g,{className:b.hide},e("index",{})(x)),l.createElement(g,i({label:"copy"===r?"重命名":"名称"},a,{hasFeedback:!0,className:"move"===r?b.hide:""}),e("name",{rules:[{required:!0,message:"Name 不能为空"},{validator:this.checkNameUnique}]})(w))),l.createElement(u,{span:24},l.createElement(g,i({label:"选择类型"},a,{className:"move"===r?b.hide:""}),e("selectType",{initialValue:!0})(l.createElement(_,{disabled:"edit"===r||"copy"===r||"move"===r},j,E))))),l.createElement("p",{className:"delete"===r?"":b.hide},"确定要删除 ",S,":",C," ?"))}}]),t}(l.PureComponent);t.DashboardForm=S,t.default=c.create()(S)},"./app/containers/Dashboard/components/DashboardItem.tsx":function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){return u.createElement("span",e,e.children)}var l=Object.assign||function(e){for(var t=1;t0&&(i={top:r[r.length-1][1]+120+"px",left:r[r.length-2][1]-40+"px"}),o&&o.length&&(s=o),a&&a.length&&(l=a),n.setState({dataDrillPanelPosition:i,whichDataDrillBrushed:s,sourceDataOfBrushed:l})}catch(e){throw e}},n.drillDataHistory=function(e,t,r,o){var a=n.props,i=a.onSelectDrillHistory,s=a.drillHistory,l=n.state,c=l.widgetProps,d=l.cacheWidgetProps;if(i){var u=void 0;u=e?s[t].groups:[],"col"===c.dimetionAxis?n.setState({widgetProps:Object.assign({},c,{cols:u&&u.length?u:d.cols})}):n.setState({widgetProps:Object.assign({},c,{rows:u&&u.length?u:d.rows})}),i(e,t,r,o)}},n.drillData=function(e){var t=n.props,r=t.onDrillData,o=t.widget,a=t.itemId,i=(t.drillHistory,n.state),s=i.widgetProps,l=i.cacheWidgetProps;if(r&&r({itemId:a,widgetId:o.id,groups:e,filters:n.state.whichDataDrillBrushed,sourceDataFilter:n.state.sourceDataOfBrushed}),"col"===s.dimetionAxis){var c=s.cols.some(function(t){return t===e});n.setState({widgetProps:Object.assign({},s,{cols:e&&e.length?c?s.cols.filter(function(t){return t!==e}):s.cols.concat(e):l.cols})})}else{var d=s.rows.some(function(t){return t===e});n.setState({widgetProps:Object.assign({},s,{rows:e&&e.length?d?s.rows.filter(function(t){return t!==e}):s.rows.concat(e):l.rows})})}},n.state={controlPanelVisible:!1,sharePanelAuthorized:!1,widgetProps:null,model:null,isDrilling:!1,dataDrillPanelPosition:!1,whichDataDrillBrushed:!1,sourceDataOfBrushed:!1,cacheWidgetProps:null},n}return i(t,e),d(t,[{key:"componentWillMount",value:function(){var e=this.props,t=e.itemId,n=e.widget,r=e.view,o=e.onGetChartData;"share"===e.container&&(o("clear",t,n.id),this.setFrequent(this.props));var a=JSON.parse(n.config);this.setState({widgetProps:a,model:JSON.parse(r.model),cacheWidgetProps:Object.assign({},a)})}},{key:"componentWillReceiveProps",value:function(e){e.widget!==this.props.widget&&this.setState({widgetProps:JSON.parse(e.widget.config),model:JSON.parse(e.view.model)})}},{key:"componentWillUpdate",value:function(e){var t=e.itemId,n=e.widget,r=e.polling,o=e.frequency,a=e.onGetChartData,i=e.rendered;e.container||!this.props.rendered&&i&&(a("clear",t,n.id),this.setFrequent(this.props)),r===this.props.polling&&o===this.props.frequency||this.setFrequent(e)}},{key:"componentWillUnmount",value:function(){clearInterval(this.frequent)}},{key:"render",value:function(){var e,t,n,o=this,a=this.props,i=a.itemId,d=a.widget,P=a.data,I=a.loading,R=a.interacting,N=a.shareInfo,F=a.secretInfo,B=a.drillHistory,z=a.shareInfoLoading,U=a.downloadCsvLoading,H=a.renderType,V=a.currentProject,Y=a.onShowEdit,W=(a.onSelectDrillHistory,a.onDeleteDashboardItem),G=a.onLoadWidgetShareLink,Q=a.container,q=this.state,K=q.controlPanelVisible,X=q.sharePanelAuthorized,J=q.widgetProps,Z=q.isDrilling,$=q.model,ee=void 0,te=void 0,ne=void 0,re=void 0;if(V){var oe=k.default(V,"download")(_.default);ee=u.createElement(x,{title:"下载数据"},u.createElement(oe,{id:d.id,type:"widget",itemId:i,shareInfo:N,shareInfoLoading:z,downloadCsvLoading:U,onLoadWidgetShareLink:G,onDownloadCsv:this.downloadCsv}));var ae=k.default(V,"download")(A);te=u.createElement(x,{title:"分享"},u.createElement(j,{placement:"bottomRight",trigger:"click",content:u.createElement(g.default,{id:d.id,type:"widget",itemId:i,shareInfo:N,secretInfo:F,shareInfoLoading:z,authorized:X,onLoadWidgetShareLink:G,afterAuthorization:this.changeSharePanelAuthorizeState(!0)})},u.createElement(ae,{type:"share-alt",onClick:this.changeSharePanelAuthorizeState(!1)}))),ne=u.createElement(x,{title:"编辑widget"},u.createElement("i",{className:"iconfont icon-edit-2",onClick:this.toWorkbench}))}if("share"===Q)ee=u.createElement(x,{title:"下载数据"},u.createElement(_.default,{id:d.id,type:"widget",itemId:i,shareInfo:N,downloadCsvLoading:U,onLoadWidgetShareLink:G,onDownloadCsv:this.downloadCsv}));else{var ie=C.default(V,"viz",!1)(s),se=C.default(V,"viz",!0)(s),le=u.createElement(S,null,u.createElement(S.Item,{className:T.menuItem},u.createElement(ie,{className:T.menuText,onClick:Y(i)},"基本信息")),u.createElement(S.Item,{className:T.menuItem},u.createElement(w,{title:"确定删除?",placement:"bottom",onConfirm:W(i)},u.createElement(se,{className:T.menuText},"删除"))));re=u.createElement(E,{overlay:le,placement:"bottomRight",trigger:["click"]},O)}var ce=J.queryParams.filter(function(e){return e.type}),de=ce.length?u.createElement(x,{title:"选择参数"},u.createElement(A,{className:T.control,type:K?"up-square-o":"down-square-o",onClick:this.toggleControlPanel})):"",ue=d.desc?u.createElement(j,{placement:"bottom",content:u.createElement("p",{className:T.descPanel},d.desc)},u.createElement(A,{className:T.desc,type:"question-circle-o"})):"",pe={enter:T.controlPanelEnter,enterActive:T.controlPanelEnterActive,leave:T.controlPanelLeave,leaveActive:T.controlPanelLeaveActive},fe=u.createElement(x,{title:"钻取"},u.createElement("span",{style:{marginLeft:"8px",cursor:"pointer",fontSize:"18px"},onClick:this.doDrill,className:"iconfont "+(Z?"icon-cube1":"icon-cube2")})),me=f((e={},r(e,T.gridItem,!0),r(e,T.interact,R),e)),he=!1;this.state.whichDataDrillBrushed&&this.state.whichDataDrillBrushed.forEach(function(e,t){e[t]&&e[t].length>0&&(he=!0)});var ge=[];Object.entries($).forEach(function(e){var t=c(e,2),n=t[0],r=t[1];"category"===r.modelType&&ge.push({name:n,type:"category",visualType:r.visualType})});var _e=f((t={},r(t,T.dataDrillPanel,!0),r(t,M.hide,!he),t)),be={};this.state.dataDrillPanelPosition&&(be=this.state.dataDrillPanelPosition);var ve=u.createElement("div",{className:_e,style:be},u.createElement(b.default,{categoriesCol:ge,onDataDrill:this.drillData,currentData:P})),ye=f((n={},r(n,T.dataDrillHistory,!0),r(n,M.hide,!(B&&B.length>0)),n)),Ae=u.createElement("div",{className:ye},u.createElement(v.default,{itemId:i,widgetId:d.id,drillHistory:B,onSelectDrillHistory:this.drillDataHistory}));return u.createElement("div",{className:me,ref:function(e){return o.container=e}},u.createElement("div",{className:T.header},u.createElement("div",{className:T.title},de,u.createElement("h4",null,d.name),ue),u.createElement("div",{className:T.tools},u.createElement(x,{title:"同步数据"},u.createElement(A,{type:I?"loading":"reload",onClick:this.onSyncBizdatas})),ne,u.createElement(x,{title:"全屏"},u.createElement(A,{type:"arrows-alt",onClick:this.onFullScreen,className:T.fullScreen})),te,fe,ee,re)),u.createElement("div",{className:T.offInteract,onClick:this.turnOffInteract},L,D),u.createElement(p,{showProp:"show",transitionName:pe},u.createElement(m.default,{show:K,onClose:this.toggleControlPanel},u.createElement(h.default,{controls:ce,onSearch:this.onControlSearch,onHide:this.toggleControlPanel}))),u.createElement("div",{className:T.block},u.createElement(y.default,l({},J,{renderType:I?"refresh":H,data:P,loading:I,model:$,onCheckTableInteract:this.checkTableInteract,onDoInteract:this.doInteract,getDataDrillDetail:this.getDataDrillDetail,isDrilling:this.state.isDrilling})),ve,Ae))}}]),t}(u.PureComponent);P.defaultProps={onShowEdit:function(){},onDeleteDashboardItem:function(){}},t.DashboardItem=P,t.default=P},"./app/containers/Dashboard/components/DashboardItemControlForm.tsx":function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=function(){function e(e,t){for(var n=0;n=0){var i=n.split("_");o=t.find(function(e){return e.id===i[1]}).sub.find(function(e){return e.id===i[2]})}else o=t.find(function(e){return e.id===n});if(o.type=o.variableType||o.type,"[object Array]"===Object.prototype.toString.call(r))switch(o.type){case"dateRange":r=r.map(function(e){return e.format("YYYY-MM-DD")}),e=e.concat({name:o.variables[0],value:"'"+r[0]+"'"}).concat({name:o.variables[1],value:"'"+r[1]+"'"});break;case"datetimeRange":r=r.map(function(e){return e.format("YYYY-MM-DD HH:mm:ss")}),e=e.concat({name:o.variables[0],value:"'"+r[0]+"'"}).concat({name:o.variables[1],value:"'"+r[1]+"'"});break;case"multiSelect":r.length&&(e=e.concat({name:o.variables[0],value:r.map(function(e){return""+e}).join(",")}))}else if(r)if(o.variables[0])switch(o.type){case"date":r=r.format("YYYY-MM-DD"),e=e.concat({name:o.variables[0],value:"'"+r+"'"});break;case"datetime":r=r.format("YYYY-MM-DD HH:mm:ss"),e=e.concat({name:o.variables[0],value:"'"+r+"'"});break;case"multiDate":e=e.concat({name:o.variables[0],value:r.split(",").map(function(e){return"'"+e+"'"}).join(",")});break;case"select":e=e.concat({name:o.variables[0],value:""+r});break;default:e=e.concat({name:o.variables[0],value:"'"+r+"'"})}else if("select"===o.type&&"no"===o.hasRelatedComponent){var s=o.sub.find(function(e){return e.value===r});s.variables[0]&&(e=e.concat({name:s.variables[0],value:"'"+r+"'"}))}return e},[])}),o()},n.state={parentSelValues:null},n}return i(t,e),s(t,[{key:"componentWillMount",value:function(){this.getStateValues(this.props.controls)}},{key:"componentWillReceiveProps",value:function(e){e.controls.map(function(e){return e.id}).join(",")!==this.props.controls.map(function(e){return e.id}).join(",")&&this.getStateValues(e.controls)}},{key:"render",value:function(){var e=this,t=this.props.controls,n=t.map(function(t){return e.generateFormComponent(t)});return l.createElement(d,{className:A.controlForm},l.createElement(g,{gutter:10},n),l.createElement(g,{className:A.buttonRow},l.createElement(_,{span:24},l.createElement(h,{type:"primary",onClick:this.onControlSearch},"查询"))))}}]),t}(l.PureComponent);t.DashboardItemControlForm=w,t.default=d.create()(w)},"./app/containers/Dashboard/components/DashboardItemControlPanel.tsx":function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){var t,n,o=s((t={},r(t,l.controlPanel,!0),r(t,l.show,e.show),t)),c=s((n={},r(n,l.form,!0),r(n,l.show,e.show),n));return i.createElement("div",{className:o,onClick:e.onClose},i.createElement("div",{className:c,onClick:a},e.children))}function a(e){e.stopPropagation()}Object.defineProperty(t,"__esModule",{value:!0});var i=n("./node_modules/_react@15.6.2@react/react.js"),s=n("./node_modules/_classnames@2.2.6@classnames/index.js"),l=n("./app/containers/Dashboard/Dashboard.less");t.DashboardItemControlPanel=o,t.default=o},"./app/containers/Dashboard/components/DashboardItemForm.tsx":function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=function(){function e(e,t){for(var n=0;n0?[l.createElement("span",{key:t,className:x.highlight},n[0]),e]:e}))}):null}).filter(function(e){return!!e})})},n.handleTableChange=function(e,t,r){n.setState({tableSortedInfo:r})},n.onSelectChange=function(e){n.setState({selectedRowKeys:e},function(){n.props.onWidgetSelect(n.state.selectedRowKeys)})},n.state={filteredWidgets:[],pageSize:24,currentPage:1,screenWidth:0,tableWidget:[],nameFilterValue:"",nameFilterDropdownVisible:!1,tableSortedInfo:{},selectedRowKeys:[]},n}return i(t,e),s(t,[{key:"componentWillMount",value:function(){var e=this.props.widgets;e&&this.setState({tableWidget:e.map(function(e){return e.key=e.id,e})})}},{key:"componentWillReceiveProps",value:function(e){window.addEventListener("resize",this.getScreenWidth,!1)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.getScreenWidth,!1)}},{key:"render",value:function(){var e=this,t=this.props,n=t.widgets,o=t.type,a=t.form,i=t.selectedWidget,s=t.polling,m=t.step,h=(t.onWidgetSelect,t.onPollingSelect),v=this.state,y=v.filteredWidgets,M=(v.pageSize,v.currentPage,v.screenWidth),O=v.tableWidget,L=v.nameFilterValue,D=v.nameFilterDropdownVisible,P=v.tableSortedInfo,I=(v.selectedRowKeys,[{title:"名称",dataIndex:"name",key:"name",filterDropdown:l.createElement(A.default,{placeholder:"name",value:L,onChange:this.onSearchInputChange,onSearch:this.onSearch}),filterDropdownVisible:D,onFilterDropdownVisibleChange:function(t){return e.setState({nameFilterDropdownVisible:t})},sorter:function(e,t){return e.name>t.name?-1:1},sortOrder:"name"===P.columnKey&&P.order},{title:"描述",dataIndex:"description",key:"description"}]),R={simple:M<768||768===M,defaultPageSize:20,showSizeChanger:!0},N={selectedRowKeys:i,onChange:this.onSelectChange,onShowSizeChange:this.onShowSizeChange},F="add"===o?l.createElement(_,{current:m},w,j,E):"",B=(y.length,a.getFieldDecorator),z=c(r({},x.hide,!!m)),U=c(r({},x.hide,!m)),H=c(r({},x.hide,!s));return l.createElement(d,null,l.createElement(u,{className:x.formStepArea},l.createElement(p,{span:24},F)),l.createElement(u,{gutter:20,className:z},l.createElement(f,{dataSource:O,columns:I,pagination:R,onChange:this.handleTableChange,rowSelection:N})),l.createElement("div",{className:U},l.createElement(u,{gutter:8},l.createElement(p,{sm:8},l.createElement(b,{className:x.hide},B("id",{hidden:"add"===o})(S)),l.createElement(b,{label:"数据刷新模式",labelCol:{span:10},wrapperCol:{span:14}},B("polling",{initialValue:s?"true":"false"})(l.createElement(g,{onSelect:h},C,k)))),l.createElement(p,{sm:4,className:H},l.createElement(b,{label:"时长",labelCol:{span:12},wrapperCol:{span:12}},B("frequency",{rules:[{required:!0,message:"不能为空"}],initialValue:60})(T))))))}}]),t}(l.PureComponent);t.DashboardItemForm=M,t.default=d.create()(M)},"./app/containers/Dashboard/components/DashboardLinkageConfig.tsx":function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t0){var R=w;M=R.widget.name,O=R.renderType,L=j[R.itemId];var N=JSON.parse(w.widget.config);k="echarts"!==O?c.createElement(m.default,s({},N,{renderType:"rerender",data:L&&L.datasource?L.datasource:[],model:w.model})):c.createElement("div",{style:{width:"100%",height:"100%"},id:"fsChartsWrapper"})}var F=void 0;if(w&&w.widget&&w.widget.query_params){var B=w.widget.query_params;F=!!JSON.parse(B).length}var z=w&&w.widget&&w.widget.query_params?JSON.parse(w.widget.query_params).filter(function(e){return e.type}):[],U=p((o={},r(o,h.modalPanel,!0),r(o,h.displayNone,!y),o)),H=p((a={},r(a,h.controlPanel,!0),r(a,h.displayNone,!y),r(a,h.showModalPanel,y),r(a,h.hideModalPanel,!y),a));return c.createElement("div",{className:C},c.createElement("div",{className:h.container},c.createElement("nav",{className:h.header},c.createElement("div",{className:h.logo},c.createElement(d,{type:this.state.isShowMenu?"menu-fold":"menu-unfold",onClick:this.isShowSideMenu,style:{marginRight:"32px"}}),c.createElement("span",null,M)),c.createElement("ul",{className:h.tools},F?c.createElement("li",{onClick:this.toggleControlPanel},c.createElement(d,{type:y?"up-square-o":"down-square-o"}),g):"",_,c.createElement("li",{onClick:this.hide},b,v))),c.createElement("div",{className:h.body},c.createElement("div",{className:D},T),c.createElement("div",{className:U}),c.createElement("div",{className:H},c.createElement("div",{className:h.formPanel},c.createElement(f.default,{controls:z,onSearch:this.onControlSearch,onHide:this.toggleControlPanel}))),c.createElement("div",{className:P},k))))}}]),t}(c.PureComponent);t.default=y},"./app/containers/Dashboard/components/fullScreenPanel/fullScreenPanel.less":function(e,t,n){var r=n("./node_modules/_css-loader@0.28.4@css-loader/index.js?modules&importLoaders=1!./node_modules/_postcss-loader@1.3.3@postcss-loader/index.js!./node_modules/_less-loader@3.0.0@less-loader/lib/loader.js!./app/containers/Dashboard/components/fullScreenPanel/fullScreenPanel.less");"string"==typeof r&&(r=[[e.i,r,""]]);var o={};o.transform=void 0;n("./node_modules/_style-loader@0.18.1@style-loader/lib/addStyles.js")(r,o);r.locals&&(e.exports=r.locals)},"./app/containers/Dashboard/components/localPositionUtil.ts":function(e,t,n){"use strict";function r(e){return e.map(function(e){return{x:e.x,y:e.y,w:e.width,h:e.height,i:""+e.id}})}function o(e,t){return t.forEach(function(t,n){var r=e[n];r.x=t.x,r.y=t.y,r.w===t.w&&r.h===t.h||(r.w=t.w,r.h=t.h)}),e}function a(e,t){for(var n=!1,r=0,o=t.length;r0)return s}}catch(e){n=!0,r=e}finally{try{!t&&a.return&&a.return()}finally{if(n)throw r}}return-1}Object.defineProperty(t,"__esModule",{value:!0}),t.initializePosition=r,t.changePosition=o,t.diffPosition=a,t.listToTree=i,t.findFirstLeaf=s},"./app/containers/Dashboard/constants.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LOAD_DASHBOARDS="davinci/Dashboard/LOAD_DASHBOARDS",t.LOAD_DASHBOARDS_SUCCESS="davinci/Dashboard/LOAD_DASHBOARDS_SUCCESS",t.LOAD_DASHBOARDS_FAILURE="davinci/Dashboard/LOAD_DASHBOARDS_FAILURE",t.ADD_DASHBOARD="davinci/Dashboard/ADD_DASHBOARD",t.ADD_DASHBOARD_SUCCESS="davinci/Dashboard/ADD_DASHBOARD_SUCCESS",t.ADD_DASHBOARD_FAILURE="davinci/Dashboard/ADD_DASHBOARD_FAILURE",t.EDIT_DASHBOARD="davinci/Dashboard/EDIT_DASHBOARD",t.EDIT_DASHBOARD_SUCCESS="davinci/Dashboard/EDIT_DASHBOARD_SUCCESS",t.EDIT_DASHBOARD_FAILURE="davinci/Dashboard/EDIT_DASHBOARD_FAILURE",t.EDIT_CURRENT_DASHBOARD="davinci/Dashboard/EDIT_CURRENT_DASHBOARD",t.EDIT_CURRENT_DASHBOARD_SUCCESS="davinci/Dashboard/EDIT_CURRENT_DASHBOARD_SUCCESS",t.EDIT_CURRENT_DASHBOARD_FAILURE="davinci/Dashboard/EDIT_CURRENT_DASHBOARD_FAILURE",t.DELETE_DASHBOARD="davinci/Dashboard/DELETE_DASHBOARD",t.DELETE_DASHBOARD_SUCCESS="davinci/Dashboard/DELETE_DASHBOARD_SUCCESS",t.DELETE_DASHBOARD_FAILURE="davinci/Dashboard/DELETE_DASHBOARD_FAILURE",t.LOAD_DASHBOARD_DETAIL="davinci/Dashboard/LOAD_DASHBOARD_DETAIL",t.LOAD_DASHBOARD_DETAIL_SUCCESS="davinci/Dashboard/LOAD_DASHBOARD_DETAIL_SUCCESS",t.LOAD_DASHBOARD_DETAIL_FAILURE="davinci/Dashboard/LOAD_DASHBOARD_DETAIL_FAILURE",t.ADD_DASHBOARD_ITEM="davinci/Dashboard/ADD_DASHBOARD_ITEM",t.ADD_DASHBOARD_ITEM_SUCCESS="davinci/Dashboard/ADD_DASHBOARD_ITEM_SUCCESS",t.ADD_DASHBOARD_ITEM_FAILURE="davinci/Dashboard/ADD_DASHBOARD_ITEM_FAILURE",t.EDIT_DASHBOARD_ITEM="davinci/Dashboard/EDIT_DASHBOARD_ITEM",t.EDIT_DASHBOARD_ITEM_SUCCESS="davinci/Dashboard/EDIT_DASHBOARD_ITEM_SUCCESS",t.EDIT_DASHBOARD_ITEM_FAILURE="davinci/Dashboard/EDIT_DASHBOARD_ITEM_FAILURE",t.EDIT_DASHBOARD_ITEMS="davinci/Dashboard/EDIT_DASHBOARD_ITEMS",t.EDIT_DASHBOARD_ITEMS_SUCCESS="davinci/Dashboard/EDIT_DASHBOARD_ITEMS_SUCCESS",t.EDIT_DASHBOARD_ITEMS_FAILURE="davinci/Dashboard/EDIT_DASHBOARD_ITEMS_FAILURE",t.DELETE_DASHBOARD_ITEM="davinci/Dashboard/DELETE_DASHBOARD_ITEM",t.DELETE_DASHBOARD_ITEM_SUCCESS="davinci/Dashboard/DELETE_DASHBOARD_ITEM_SUCCESS",t.DELETE_DASHBOARD_ITEM_FAILURE="davinci/Dashboard/DELETE_DASHBOARD_ITEM_FAILURE",t.CLEAR_CURRENT_DASHBOARD="davinci/Dashboard/CLEAR_CURRENT_DASHBOARD",t.LOAD_DASHBOARD_SHARE_LINK="davinci/Dashboard/LOAD_DASHBOARD_SHARE_LINK",t.LOAD_DASHBOARD_SHARE_LINK_SUCCESS="davinci/Dashboard/LOAD_DASHBOARD_SHARE_LINK_SUCCESS",t.LOAD_DASHBOARD_SHARE_LINK_FAILURE="davinci/Dashboard/LOAD_DASHBOARD_SHARE_LINK_FAILURE",t.LOAD_DASHBOARD_SECRET_LINK_SUCCESS="davinci/Dashboard/LOAD_DASHBOARD_SECRET_LINK_SUCCESS",t.LOAD_WIDGET_SHARE_LINK="davinci/Dashboard/LOAD_WIDGET_SHARE_LINK",t.LOAD_WIDGET_SHARE_LINK_SUCCESS="davinci/Dashboard/LOAD_WIDGET_SHARE_LINK_SUCCESS",t.LOAD_WIDGET_SHARE_LINK_FAILURE="davinci/Dashboard/LOAD_WIDGET_SHARE_LINK_FAILURE",t.LOAD_WIDGET_SECRET_LINK_SUCCESS="davinci/Dashboard/LOAD_WIDGET_SECRET_LINK_SUCCESS",t.LOAD_WIDGET_CSV="davinci/Dashboard/LOAD_WIDGET_CSV",t.LOAD_WIDGET_CSV_SUCCESS="davinci/Dashboard/LOAD_WIDGET_CSV_SUCCESS",t.LOAD_WIDGET_CSV_FAILURE="davinci/Dashboard/LOAD_WIDGET_CSV_FAILURE",t.RENDER_DASHBOARDITEM="davinci/Dashboard/RENDER_DASHBOARDITEM",t.RESIZE_DASHBOARDITEM="davinci/Dashboard/RESIZE_DASHBOARDITEM",t.RESIZE_ALL_DASHBOARDITEM="davinci/Dashboard/RESIZE_ALL_DASHBOARDITEM",t.DRILL_DASHBOARDITEM="davinci/Dashboard/DRILL_DASHBOARDITEM",t.DELETE_DRILL_HISTORY="davinci/Dashboard/DELETE_DRILL_HISTORY"},"./app/containers/Dashboard/index.tsx":function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);te.dropPosition?b[o]:b[o+1];var v=m?m.index:b[o].index+1;if(m||g.unshift({config:c,dashboardPortalId:d,id:u,index:v,name:p,parentId:h,type:f}),m&&(e.dropToGap||1===m.type)){b=0===Number(m.parentId)?t.filter(function(e){return 0===e.parentId}):t.find(function(e){return e.id===Number(m.parentId)}).children;g=b.filter(function(e){return e.index>=m.index}).filter(function(e){return e.id!==u}).map(function(e){return{config:e.config,dashboardPortalId:e.dashboardPortalId,id:e.id,index:e.index+1,name:e.name,parentId:e.parentId,type:e.type}}),g.unshift({config:c,dashboardPortalId:d,id:u,index:v,name:p,parentId:m.parentId,type:f})}n.props.onEditDashboard("move",g,function(e){})}}),n.setState({dashboardData:s})},n.onAddItem=function(){n.setState({formVisible:!0,formType:"add"})},n.onCollapseAll=function(){n.onExpand([]),n.setState({isExpand:!1})},n.onExpandAll=function(){var e=n.props.dashboards;e&&n.expandAll(e)},n.onOperateMore=function(e,t){n.setState({formType:t},function(){n.onShowDashboardForm(e,n.state.formType)})},n.searchDashboard=function(e){var t=n.props.dashboards,r=e.target.value;n.setState({searchValue:r?t.filter(function(e){return e.name.includes(r)}):[]})},n.backPortal=function(){var e=n.props,t=e.router,r=e.params;t.replace("/project/"+r.pid+"/vizs")},n.pickSearchDashboard=function(e){return function(t){var r=n.props.dashboards;n.setState({searchVisible:!1});var o=r.find(function(t){return t.id===e});if(1===o.type)n.changeDashboard(e)(t);else if(0===o.type){var a=r.filter(function(t){return t.parentId===e});0!==a.length&&n.changeDashboard(a[0].id)(t)}}},n.confirmDeleteDashboard=function(e){var t=n.props,r=t.params,o=t.router,a=t.onDeleteDashboard,i=t.dashboards,s=n.state.dashboardData;a(e,function(){var t=r.pid,a=r.portalId,l=r.portalName,c=i.find(function(e){return e.id===Number(r.dashboardId)}),d=s.filter(function(t){return t.id!==e});if(0!==d.length&&c){var u=d.filter(function(t){return t.parentId!==e}),p={id:-1,type:2,children:u};if(Number(r.dashboardId)===e||c.parentId===e){var f=R.findFirstLeaf(p);o.replace("/project/"+t+"/portal/"+a+"/portalName/"+l+"/dashboard/"+f)}}else o.replace("/project/"+t+"/portal/"+a+"/portalName/"+l+"/dashboard/-1"),n.setState({isGrid:!1});n.hideDashboardForm()})},n.searchVisibleChange=function(e){n.setState({searchVisible:e})},n.handleTree=function(e,t){var r=n.state.expandedKeys;if(n.setState({autoExpandParent:!1}),t.selected)r.indexOf(e[0])<0?(r.push(e[0]),n.setState({expandedKeys:r})):n.setState({expandedKeys:r.filter(function(t){return t!==e[0]})});else{var o=[];0===r.length?(r.push(t.node.props.title),o=r):o=r.filter(function(e){return e!==t.node.props.title}),n.setState({expandedKeys:o})}},n.cancel=function(){var e=n.props,t=e.router,r=e.params;t.replace("/project/"+r.pid+"/vizs")},n.state={formType:"",formVisible:!1,expandedKeys:[],autoExpandParent:!0,searchValue:[],dashboardData:[],itemId:0,dataList:[],isExpand:!0,searchVisible:!1,isGrid:!0},n}return i(t,e),l(t,[{key:"componentWillMount",value:function(){var e=this,t=this.props,n=t.params,r=t.router,o=(t.dashboards,n.pid),a=n.portalId,i=n.portalName,s=n.dashboardId;this.props.onLoadDashboards(n.portalId,function(t){var n=0,l=R.listToTree(t,0),c={id:-1,type:2,children:l};n=R.findFirstLeaf(c),n>=0&&(s||r.replace("/project/"+o+"/portal/"+a+"/portalName/"+i+"/dashboard/"+n)),e.setState({dashboardData:l,isGrid:n>=0}),e.expandAll(t)}),this.props.onLoadPortals(o),this.props.onLoadProjectDetail(o)}},{key:"initalDashboardData",value:function(e){this.setState({dashboardData:R.listToTree(e,0)}),this.expandAll(e)}},{key:"componentWillReceiveProps",value:function(e){e.dashboards!==this.props.dashboards&&this.initalDashboardData(e.dashboards)}},{key:"componentDidMount",value:function(){this.props.onHideNavigator()}},{key:"expandAll",value:function(e){var t=[];e.filter(function(e){return 0===e.type}).forEach(function(e){return t.push(""+e.id)}),this.onExpand(t),this.setState({isExpand:!0})}},{key:"onShowDashboardForm",value:function(e,t){var n=this,r=this.props.dashboards;this.setState({formVisible:!0,itemId:e},function(){var o=r.find(function(t){return t.id===e}),a=o.config,i=o.id,s=o.name,l=o.parentId,c=o.type,d=o.index;n.dashboardForm.props.form.setFieldsValue({id:i,folder:l?""+r.find(function(e){return e.id===l}).id:"0",config:a,name:"copy"===t?s+"_copy":s,selectType:1===c,index:d})})}},{key:"render",value:function(){var e=this,t=this.props,r=t.params,o=t.dashboards,a=t.modalLoading,i=t.children,s=t.currentProject,l=t.onCheckUniqueName,u=t.portals,p=this.state,f=p.formType,m=p.formVisible,h=p.searchValue,g=p.dashboardData,_=p.isGrid,b=p.searchVisible,v=h.map(function(t){return c.createElement("li",{key:t.id,onClick:e.pickSearchDashboard(t.id)},t.name)}),y="";switch(f){case"add":y="新增";break;case"edit":y="修改";break;case"copy":y="复制";break;case"move":y="移动";break;case"delete":y="提示"}var A=[c.createElement(j,{key:"back",size:"large",onClick:this.hideDashboardForm},"取 消"),c.createElement(j,{key:"submit",size:"large",type:"primary",loading:a,onClick:this.onModalOk},"delete"===f?"确 定":"保 存")],T=H.default(s,"viz",!0)(E),D="";return u&&(D=u.find(function(e){return e.id===Number(r.portalId)}).description),c.createElement("div",{className:z.portal},c.createElement(Y.default,{className:z.portalHeader,currentType:"dashboard",name:r.portalName,description:D,onCancel:this.cancel}),c.createElement(d.default,{title:r.portalName}),c.createElement("div",{className:z.portalBody},c.createElement("div",{className:z.portalTree},c.createElement("div",{className:z.portalRow},c.createElement("span",{className:z.portalAction},c.createElement(C,{placement:"bottom",content:c.createElement("div",{className:z.portalTreeSearch},c.createElement(L,{placeholder:"Search",onChange:this.searchDashboard}),c.createElement("ul",null,v)),trigger:"click",visible:b,onVisibleChange:this.searchVisibleChange},c.createElement(S,{placement:"top",title:"搜索"},c.createElement(E,{type:"search",className:z.search}))),c.createElement(S,{placement:"top",title:"新增"},c.createElement(T,{type:"plus",className:z.plus,onClick:this.onAddItem})),c.createElement(C,{placement:"bottom",content:c.createElement("ul",{className:z.menu},c.createElement("li",{onClick:this.onCollapseAll},"收起全部"),c.createElement("li",{onClick:this.onExpandAll},"展开全部")),trigger:"click"},c.createElement(S,{placement:"top",title:"更多"},c.createElement(E,{type:"ellipsis",className:z.more}))))),g.length?c.createElement("div",{className:z.portalTreeNode},c.createElement(M,{onExpand:this.onExpand,expandedKeys:this.state.expandedKeys,autoExpandParent:this.state.autoExpandParent,selectedKeys:[this.props.params.dashboardId],draggable:V.initializePermission(s,"vizPermission"),onDrop:this.onDrop,onSelect:this.handleTree},function t(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return n.map(function(n){var o=c.createElement(w.default,{currentProject:s,depth:r,item:n,onInitOperateMore:e.onOperateMore,initChangeDashboard:e.changeDashboard});return 0===n.type?c.createElement(O,{icon:W,key:n.id,title:o},t(n.children,r+1)):c.createElement(O,{icon:G,key:n.id,title:o})})}(g))):_?c.createElement("h3",{className:z.loadingTreeMsg},"Loading tree......"):""),c.createElement("div",{className:z.gridClass},_?i:c.createElement("div",{className:z.noDashboard},c.createElement("img",{src:n("./app/assets/images/noDashboard.png"),onClick:this.onAddItem}),Q))),c.createElement(k,{title:y,wrapClassName:"ant-modal-small",visible:m,footer:A,onCancel:this.hideDashboardForm},c.createElement(x.default,{type:f,itemId:this.state.itemId,dashboards:o,portalId:r.portalId,onCheckUniqueName:l,wrappedComponentRef:this.refHandlers.dashboardForm})))}}]),t}(c.Component);t.Dashboard=q;var K=p.createStructuredSelector({dashboards:P.makeSelectDashboards(),modalLoading:P.makeSelectModalLoading(),currentProject:U.makeSelectCurrentProject(),portals:F.makeSelectPortals()});t.mapDispatchToProps=s;var X=u.connect(K,s),J=m.default({key:"dashboard",reducer:g.default}),Z=h.default({key:"dashboard",saga:_.default}),$=m.default({key:"project",reducer:b.default}),ee=h.default({key:"project",saga:v.default}),te=m.default({key:"portal",reducer:A.default}),ne=h.default({key:"portal",saga:y.default});t.default=f.compose(J,$,te,Z,ee,ne,X)(q)},"./app/containers/Dashboard/reducer.ts":function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:d,t=arguments[1],n=t.type,a=t.payload,s=e.get("dashboards"),u=e.get("currentDashboardCascadeSources"),p=e.get("currentItems"),f=e.get("currentItemsInfo");switch(n){case l.LOAD_DASHBOARDS_SUCCESS:return e.set("dashboards",a.dashboards);case l.LOAD_DASHBOARDS_FAILURE:return e;case l.ADD_DASHBOARD:return e.set("modalLoading",!0);case l.ADD_DASHBOARD_SUCCESS:return s?(s.push(a.result),e.set("dashboards",s.slice()).set("modalLoading",!1)):e.set("dashboards",[a.result]).set("modalLoading",!1);case l.ADD_DASHBOARD_FAILURE:return e.set("modalLoading",!1);case l.EDIT_DASHBOARD_SUCCESS:var m=a.result,h=a.formType;return"edit"===h?m.forEach(function(e){s.splice(s.findIndex(function(t){return t.id===e.id}),1,e)}):"move"===h&&(m.forEach(function(e){s.splice(s.findIndex(function(t){return t.id===e.id}),1)}),Array.prototype.push.apply(s,m)),e.set("dashboards",s.slice());case l.EDIT_CURRENT_DASHBOARD:return e.set("currentDashboardLoading",!0);case l.EDIT_CURRENT_DASHBOARD_SUCCESS:return e.set("currentDashboard",a.result).set("currentDashboardCascadeSources",{}).set("currentDashboardLoading",!1);case l.EDIT_CURRENT_DASHBOARD_FAILURE:return e.set("currentDashboardLoading",!1);case l.DELETE_DASHBOARD_SUCCESS:return e.set("dashboards",s.filter(function(e){return e.id!==a.id}));case l.LOAD_DASHBOARD_DETAIL:return e.set("currentDashboardLoading",!0).set("currentDashboardShareInfo","").set("currentDashboardSecretInfo","");case l.LOAD_DASHBOARD_DETAIL_SUCCESS:return e.set("currentDashboardLoading",!1).set("currentDashboard",a.dashboardDetail).set("currentDashboardCascadeSources",{}).set("currentItems",a.dashboardDetail.widgets).set("currentItemsInfo",a.dashboardDetail.widgets.reduce(function(e,t){return e[t.id]={datasource:[],loading:!1,queryParams:{linkageFilters:[],globalFilters:[],params:[],linkageParams:[],globalParams:[],pagination:{}},shareInfo:"",shareInfoLoading:!1,secretInfo:"",downloadCsvLoading:!1,interactId:"",rendered:!1,renderType:"rerender"},e},{}));case l.LOAD_DASHBOARD_DETAIL_FAILURE:return e.set("currentDashboardLoading",!1);case l.ADD_DASHBOARD_ITEM_SUCCESS:p||(p=[]);var g=new Object;return a.result.forEach(function(e){g[e.id]={datasource:[],loading:!1,queryParams:{linkageFilters:[],globalFilters:[],params:[],linkageParams:[],globalParams:[],pagination:{}},shareInfo:"",shareInfoLoading:!1,secretInfo:"",downloadCsvLoading:!1,interactId:"",rendered:!1,renderType:"rerender"}}),e.set("currentItems",p.concat(a.result)).set("currentItemsInfo",Object.assign({},f,g));case l.ADD_DASHBOARD_ITEM_FAILURE:return e;case l.EDIT_DASHBOARD_ITEM_SUCCESS:return p.splice(p.indexOf(p.find(function(e){return e.id===a.result.id})),1,a.result),e.set("currentItems",p.slice());case l.EDIT_DASHBOARD_ITEM_FAILURE:return e;case l.EDIT_DASHBOARD_ITEMS_SUCCESS:return e.set("currentItems",a.items);case l.EDIT_DASHBOARD_ITEMS_FAILURE:return e;case l.DELETE_DASHBOARD_ITEM_SUCCESS:return delete f[a.id],e.set("currentItems",p.filter(function(e){return e.id!==a.id}));case l.DELETE_DASHBOARD_ITEM_FAILURE:return e;case l.CLEAR_CURRENT_DASHBOARD:return e.set("currentDashboard",null).set("currentItems",null).set("currentItemsInfo",null);case c.LOAD_DATA_FROM_ITEM:return"dashboard"!==a.vizType?e:e.set("currentItemsInfo",Object.assign({},f,o({},a.itemId,Object.assign({},f[a.itemId],{loading:!0,queryParams:Object.assign({},f[a.itemId].queryParams,{linkageFilters:a.params.linkageFilters,globalFilters:a.params.globalFilters,params:a.params.params,linkageParams:a.params.linkageParams,globalParams:a.params.globalParams})}))));case c.LOAD_DATA_FROM_ITEM_SUCCESS:return"dashboard"!==a.vizType?e:e.set("currentItemsInfo",Object.assign({},f,o({},a.itemId,Object.assign({},f[a.itemId],{loading:!1,datasource:a.data,renderType:a.renderType}))));case l.DRILL_DASHBOARDITEM:return f[a.itemId].queryParams.drillHistory||(f[a.itemId].queryParams.drillHistory=[]),e.set("currentItemsInfo",Object.assign({},f,o({},a.itemId,Object.assign({},f[a.itemId],{queryParams:Object.assign({},f[a.itemId].queryParams,{drillHistory:f[a.itemId].queryParams.drillHistory.concat(a.drillHistory)})}))));case l.DELETE_DRILL_HISTORY:var _=f[a.itemId].queryParams.drillHistory;return e.set("currentItemsInfo",Object.assign({},f,o({},a.itemId,Object.assign({},f[a.itemId],{queryParams:Object.assign({},f[a.itemId].queryParams,{drillHistory:Array.isArray(_)?_.slice(0,a.index+1):_})}))));case c.LOAD_DATA_FROM_ITEM_FAILURE:return"dashboard"!==a.vizType?e:e.set("currentItemsInfo",Object.assign({},f,o({},a.itemId,Object.assign({},f[a.itemId],{loading:!1}))));case l.LOAD_DASHBOARD_SHARE_LINK:return e.set("currentDashboardShareInfoLoading",!0);case l.LOAD_DASHBOARD_SHARE_LINK_SUCCESS:return e.set("currentDashboardShareInfo",a.shareInfo).set("currentDashboardShareInfoLoading",!1);case l.LOAD_DASHBOARD_SECRET_LINK_SUCCESS:return e.set("currentDashboardSecretInfo",a.secretInfo).set("currentDashboardShareInfoLoading",!1);case l.LOAD_DASHBOARD_SHARE_LINK_FAILURE:return e.set("currentDashboardShareInfoLoading",!1);case l.LOAD_WIDGET_SHARE_LINK:return e.set("currentItemsInfo",Object.assign({},f,o({},a.itemId,Object.assign({},f[a.itemId],{shareInfoLoading:!0}))));case l.LOAD_WIDGET_SHARE_LINK_SUCCESS:return e.set("currentItemsInfo",Object.assign({},f,o({},a.itemId,Object.assign({},f[a.itemId],{shareInfo:a.shareInfo,shareInfoLoading:!1}))));case l.LOAD_WIDGET_SECRET_LINK_SUCCESS:return e.set("currentItemsInfo",Object.assign({},f,o({},a.itemId,Object.assign({},f[a.itemId],{secretInfo:a.shareInfo,shareInfoLoading:!1}))));case l.LOAD_WIDGET_SHARE_LINK_FAILURE:return e.set("currentItemsInfo",Object.assign({},f,o({},a.itemId,Object.assign({},f[a.itemId],{shareInfoLoading:!1}))));case l.LOAD_WIDGET_CSV:return e.set("currentItemsInfo",Object.assign({},f,o({},a.itemId,Object.assign({},f[a.itemId],{downloadCsvLoading:!0}))));case l.LOAD_WIDGET_CSV_SUCCESS:case l.LOAD_WIDGET_CSV_FAILURE:return e.set("currentItemsInfo",Object.assign({},f,o({},a.itemId,Object.assign({},f[a.itemId],{downloadCsvLoading:!1}))));case c.LOAD_CASCADESOURCE_SUCCESS:return e.set("currentDashboardCascadeSources",Object.assign({},u,o({},a.controlId,Object.assign({},u[a.controlId],o({},a.column,a.values)))));case l.RENDER_DASHBOARDITEM:return e.set("currentItemsInfo",Object.assign({},f,o({},a.itemId,Object.assign({},f[a.itemId],{rendered:!0}))));case l.RESIZE_DASHBOARDITEM:return e.set("currentItemsInfo",Object.assign({},f,o({},a.itemId,Object.assign({},f[a.itemId],{renderType:"resize",datasource:[].concat(r(f[a.itemId].datasource))}))));case l.RESIZE_ALL_DASHBOARDITEM:return e.set("currentItemsInfo",Object.entries(f).reduce(function(e,t){var n=i(t,2),o=n[0],a=n[1];return e[o]=Object.assign({},a,{renderType:"resize",datasource:[].concat(r(a.datasource))}),e},{}));default:return e}}var i=function(){function e(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();Object.defineProperty(t,"__esModule",{value:!0});var s=n("./node_modules/_immutable@3.8.1@immutable/dist/immutable.js"),l=n("./app/containers/Dashboard/constants.ts"),c=n("./app/containers/Bizlogic/constants.ts"),d=s.fromJS({dashboards:null,currentDashboard:null,currentDashboardLoading:!1,currentDashboardShareInfo:"",currentDashboardSecretInfo:"",currentDashboardShareInfoLoading:!1,currentDashboardCascadeSources:null,currentItems:null,currentItemsInfo:null,modalLoading:!1});t.default=a},"./app/containers/Dashboard/sagas.ts":function(e,t,n){"use strict";function r(e){var t,n=e.payload;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,D.call(R.default,F.default.portal+"/"+n.portalId+"/dashboards");case 3:return t=e.sent,e.next=6,D.put(I.dashboardsLoaded(t.payload));case 6:n.resolve(t.payload),e.next=14;break;case 9:return e.prev=9,e.t0=e.catch(0),e.next=13,D.put(I.loadDashboardsFail());case 13:N.errorHandler(e.t0);case 14:case"end":return e.stop()}},_,this,[[0,9]])}function o(e){var t,n,r,o=e.payload;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=o.dashboard,n=o.resolve,e.prev=1,e.next=4,D.call(R.default,{method:"post",url:F.default.portal+"/"+t.dashboardPortalId+"/dashboards",data:t});case 4:return r=e.sent,e.next=7,D.put(I.dashboardAdded(r.payload));case 7:n(r.payload.id),e.next=15;break;case 10:return e.prev=10,e.t0=e.catch(1),e.next=14,D.put(I.addDashboardFail());case 14:N.errorHandler(e.t0);case 15:case"end":return e.stop()}},b,this,[[1,10]])}function a(e){var t,n,r,o=e.payload;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=o.formType,n=o.dashboard,r=o.resolve,e.prev=1,e.next=4,D.call(R.default,{method:"put",url:F.default.portal+"/"+n[0].dashboardPortalId+"/dashboards",data:n});case 4:return e.next=6,D.put(I.dashboardEdited(n,t));case 6:r(n),e.next=14;break;case 9:return e.prev=9,e.t0=e.catch(1),e.next=13,D.put(I.editDashboardFail());case 13:N.errorHandler(e.t0);case 14:case"end":return e.stop()}},v,this,[[1,9]])}function i(e){var t,n,r;return regeneratorRuntime.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return t=e.payload,n=t.dashboard,r=t.resolve,o.prev=1,o.next=4,D.call(R.default,{method:"put",url:F.default.portal+"/"+n.dashboardPortalId+"/dashboards",data:[n]});case 4:return o.next=6,D.put(I.currentDashboardEdited(n));case 6:r(),o.next=14;break;case 9:return o.prev=9,o.t0=o.catch(1),o.next=13,D.put(I.editCurrentDashboardFail());case 13:N.errorHandler(o.t0);case 14:case"end":return o.stop()}},y,this,[[1,9]])}function s(e){var t=e.payload;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,D.call(R.default,{method:"delete",url:F.default.portal+"/dashboards/"+t.id});case 3:return e.next=5,D.put(I.dashboardDeleted(t.id));case 5:t.resolve&&t.resolve(),e.next=13;break;case 8:return e.prev=8,e.t0=e.catch(0),e.next=12,D.put(I.deleteDashboardFail());case 12:N.errorHandler(e.t0);case 13:case"end":return e.stop()}},A,this,[[0,8]])}function l(e){var t,n,r,o,a=e.payload;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=a.projectId,n=a.portalId,r=a.dashboardId,e.prev=1,e.next=4,D.all({dashboardDetail:D.call(R.default,F.default.portal+"/"+n+"/dashboards/"+r),widgets:D.call(R.default,F.default.widget+"?projectId="+t),bizlogics:D.call(R.default,F.default.bizlogic+"?projectId="+t)});case 4:return o=e.sent,e.next=7,D.put(I.dashboardDetailLoaded(r,o.dashboardDetail.payload,o.widgets.payload,o.bizlogics.payload));case 7:e.next=14;break;case 9:return e.prev=9,e.t0=e.catch(1),e.next=13,D.put(I.loadDashboardDetailFail());case 13:N.errorHandler(e.t0);case 14:case"end":return e.stop()}},x,this,[[1,9]])}function c(e){var t,n,r,o,a;return regeneratorRuntime.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return t=e.payload,n=t.portalId,r=t.item,o=t.resolve,i.prev=1,i.next=4,D.call(R.default,{method:"post",url:F.default.portal+"/"+n+"/dashboards/"+r[0].dashboardId+"/widgets",data:r});case 4:return a=i.sent,i.next=7,D.put(I.dashboardItemAdded(a.payload));case 7:o(a),i.next=15;break;case 10:return i.prev=10,i.t0=i.catch(1),i.next=14,D.put(I.addDashboardItemFail());case 14:N.errorHandler(i.t0);case 15:case"end":return i.stop()}},w,this,[[1,10]])}function d(e){var t,n,r;return regeneratorRuntime.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return t=e.payload,n=t.item,r=t.resolve,o.prev=1,o.next=4,D.call(R.default,{method:"put",url:F.default.portal+"/dashboards/widgets",data:[n]});case 4:return o.next=6,D.put(I.dashboardItemEdited(n));case 6:r(),o.next=14;break;case 9:return o.prev=9,o.t0=o.catch(1),o.next=13,D.put(I.editDashboardItemFail());case 13:N.errorHandler(o.t0);case 14:case"end":return o.stop()}},j,this,[[1,9]])}function u(e){var t;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return t=e.payload.items,n.prev=1,n.next=4,D.call(R.default,{method:"put",url:F.default.portal+"/dashboards/widgets",data:t});case 4:return n.next=6,D.put(I.dashboardItemsEdited(t));case 6:n.next=13;break;case 8:return n.prev=8,n.t0=n.catch(1),n.next=12,D.put(I.editDashboardItemsFail());case 12:N.errorHandler(n.t0);case 13:case"end":return n.stop()}},E,this,[[1,8]])}function p(e){var t,n,r;return regeneratorRuntime.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return t=e.payload,n=t.id,r=t.resolve,o.prev=1,o.next=4,D.call(R.default,{method:"delete",url:F.default.portal+"/dashboards/widgets/"+n});case 4:return o.next=6,D.put(I.dashboardItemDeleted(n));case 6:r&&r(),o.next=14;break;case 9:return o.prev=9,o.t0=o.catch(1),o.next=13,D.put(I.deleteDashboardItemFail());case 13:N.errorHandler(o.t0);case 14:case"end":return o.stop()}},S,this,[[1,9]])}function f(e){var t,n,r,o;return regeneratorRuntime.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return t=e.payload,n=t.id,r=t.authName,a.prev=1,a.next=4,D.call(R.default,{method:"get",url:F.default.portal+"/dashboards/"+n+"/share",params:{username:r}});case 4:if(o=a.sent,!r){a.next=10;break}return a.next=8,D.put(I.dashboardSecretLinkLoaded(o.payload));case 8:a.next=12;break;case 10:return a.next=12,D.put(I.dashboardShareLinkLoaded(o.payload));case 12:a.next=19;break;case 14:return a.prev=14,a.t0=a.catch(1),a.next=18,D.put(I.loadDashboardShareLinkFail());case 18:N.errorHandler(a.t0);case 19:case"end":return a.stop()}},C,this,[[1,14]])}function m(e){var t,n,r,o,a,i;return regeneratorRuntime.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return t=e.payload,n=t.id,r=t.authName,o=t.itemId,a=t.resolve,s.prev=1,s.next=4,D.call(R.default,{method:"get",url:F.default.widget+"/"+n+"/share",params:{username:r}});case 4:if(i=s.sent,!r){s.next=10;break}return s.next=8,D.put(I.widgetSecretLinkLoaded(i.payload,o));case 8:s.next=12;break;case 10:return s.next=12,D.put(I.widgetShareLinkLoaded(i.payload,o));case 12:a&&a(),s.next=20;break;case 15:return s.prev=15,s.t0=s.catch(1),s.next=19,D.put(I.loadWidgetShareLinkFail(o));case 19:N.errorHandler(s.t0);case 20:case"end":return s.stop()}},k,this,[[1,15]])}function h(e){var t,n,r,o,a,i,s,l,c,d,u,p,f;return regeneratorRuntime.wrap(function(m){for(;;)switch(m.prev=m.next){case 0:return t=e.payload,n=t.itemId,r=t.widgetId,o=t.params,a=t.token,i=o.filters,s=o.linkageFilters,l=o.globalFilters,c=o.params,d=o.linkageParams,u=o.globalParams,p=O(o,["filters","linkageFilters","globalFilters","params","linkageParams","globalParams"]),m.prev=2,m.next=5,D.call(R.default,{method:"post",url:F.default.widget+"/"+r+"/csv",data:Object.assign({},p,{filters:i.concat(s).concat(l),params:c.concat(d).concat(u)})});case 5:return f=m.sent,m.next=8,D.put(I.widgetCsvLoaded(n));case 8:location.href=f.payload,m.next=16;break;case 11:return m.prev=11,m.t0=m.catch(2),m.next=15,D.put(I.loadWidgetCsvFail(n));case 15:N.errorHandler(m.t0);case 16:case"end":return m.stop()}},T,this,[[2,11]])}function g(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,[L.takeLatest(P.LOAD_DASHBOARDS,r),L.takeLatest(P.ADD_DASHBOARD,o),L.takeEvery(P.EDIT_DASHBOARD,a),L.takeEvery(P.EDIT_CURRENT_DASHBOARD,i),L.takeEvery(P.DELETE_DASHBOARD,s),L.takeLatest(P.LOAD_DASHBOARD_DETAIL,l),L.takeEvery(P.ADD_DASHBOARD_ITEM,c),L.takeEvery(P.EDIT_DASHBOARD_ITEM,d),L.takeEvery(P.EDIT_DASHBOARD_ITEMS,u),L.takeEvery(P.DELETE_DASHBOARD_ITEM,p),L.takeLatest(P.LOAD_DASHBOARD_SHARE_LINK,f),L.takeLatest(P.LOAD_WIDGET_SHARE_LINK,m),L.takeLatest(P.LOAD_WIDGET_CSV,h)];case 2:case"end":return e.stop()}},M,this)}var _=regeneratorRuntime.mark(r),b=regeneratorRuntime.mark(o),v=regeneratorRuntime.mark(a),y=regeneratorRuntime.mark(i),A=regeneratorRuntime.mark(s),x=regeneratorRuntime.mark(l),w=regeneratorRuntime.mark(c),j=regeneratorRuntime.mark(d),E=regeneratorRuntime.mark(u),S=regeneratorRuntime.mark(p),C=regeneratorRuntime.mark(f),k=regeneratorRuntime.mark(m),T=regeneratorRuntime.mark(h),M=regeneratorRuntime.mark(g),O=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);oi/s?(i-64)/t.width*e:(s-64)/t.height*e;l=+(.05*Math.floor(l/.05)).toFixed(2);var c=Math.max((o-t.width*l)/2,32),d=Math.max((a-t.height*l)/2,32);n.setState({editorWidth:Math.max(i,t.width*l+64),editorHeight:Math.max(s,t.height*l+64),editorPadding:d+"px "+c+"px",scale:l})},n.displaySizeChange=function(e,t){var r=n.state.slideParams;n.setState({slideParams:Object.assign({},r,{width:e,height:t})},function(){n.sliderChange(n.state.sliderValue)})},n.getChartData=function(e,t,r,o){var a=n.props,i=a.currentLayersInfo,s=a.widgets,l=a.onLoadDataFromItem,c=s.find(function(e){return e.id===r}),d=JSON.parse(c.config),u=d.cols,p=d.rows,f=d.metrics,m=d.filters,h=d.color,g=d.label,_=d.size,b=d.xAxis,v=d.tip,y=d.orders,A=d.cache,x=d.expired,w=i[t].queryParams,j=void 0,E=void 0,S=void 0,C=void 0,k=void 0;o?(j=void 0!==o.linkageFilters?o.linkageFilters:w.linkageFilters,E=void 0!==o.globalFilters?o.globalFilters:w.globalFilters,S=o.params||w.params,C=o.linkageParams||w.linkageParams,k=o.globalParams||w.globalParams):(j=w.linkageFilters,E=w.globalFilters,S=w.params,C=w.linkageParams,k=w.globalParams);var T=u.concat(p).filter(function(e){return"指标名称"!==e}),M=f.map(function(e){return{column:z.decodeMetricName(e.name),func:e.agg}});h&&(T=T.concat(h.items.map(function(e){return e.name}))),g&&(T=T.concat(g.items.filter(function(e){return"category"===e.type}).map(function(e){return e.name})),M=M.concat(g.items.filter(function(e){return"value"===e.type}).map(function(e){return{column:z.decodeMetricName(e.name),func:e.agg}}))),_&&(M=M.concat(_.items.map(function(e){return{column:z.decodeMetricName(e.name),func:e.agg}}))),b&&(M=M.concat(b.items.map(function(e){return{column:z.decodeMetricName(e.name),func:e.agg}}))),v&&(M=M.concat(v.items.map(function(e){return{column:z.decodeMetricName(e.name),func:e.agg}}))),l(e,t,c.viewId,{groups:T,aggregators:M,filters:m.map(function(e){return e.config.sql}),linkageFilters:j,globalFilters:E,params:S,linkageParams:C,globalParams:k,orders:y,cache:A,expired:x})},n.updateCurrentLocalLayers=function(e,t,r){var a=t.deltaX,i=t.deltaY,s=t.deltaWidth,l=t.deltaHeight,c=[],d=n.props,p=d.currentLayersOperationInfo,f=d.onShowEditorBaselines,m=n.state,h=m.currentLocalLayers,g=m.slideParams,_=m.scale,b=u.fromJS(h).toJS();c.push(b.find(function(t){return t.id===e})),p[c[0].id].selected&&c.splice.apply(c,[0,1].concat(o(b.filter(function(e){return p[e.id].selected}))));var v=b.filter(function(e){return c.map(function(e){return e.id}).indexOf(e.id)<0}),y=E.computeEditorBaselines(v,c,g,Y.GRID_ITEM_MARGIN/2,_,{deltaX:a,deltaY:i,deltaWidth:s,deltaHeight:l},r);f(y);var A=[0,0],x=[0,0];return y.forEach(function(e){switch(e.adjustType){case"position":A[0]+=e.adjust[0],A[1]+=e.adjust[1];break;case"size":x[0]+=e.adjust[0],x[1]+=e.adjust[1]}}),c.forEach(function(e){var t=JSON.parse(e.params),n=t.positionX,r=t.positionY,o=t.width,c=t.height;e.params=JSON.stringify(Object.assign({},t,{positionX:Math.round(n+a+A[0]),positionY:Math.round(r+i+A[1]),width:Math.round(o+s+x[0]),height:Math.round(c+l+x[1])}))}),n.setState({currentLocalLayers:b}),c},n.dragLayer=function(e,t){var r=n.updateCurrentLocalLayers(e,Object.assign({},t,{deltaWidth:0,deltaHeight:0}),"position");n.props.toggleLayersDraggingStatus(r.map(function(e){return e.id}),!0)},n.dragLayerStop=function(e,t){var r=n.updateCurrentLocalLayers(e,Object.assign({},t,{deltaWidth:0,deltaHeight:0}),"position");n.onEditLayers(r);var o=n.props,a=o.onClearEditorBaselines;(0,o.toggleLayersDraggingStatus)(r.map(function(e){return e.id}),!1),a()},n.resizeLayer=function(e,t){var r=n.updateCurrentLocalLayers(e,Object.assign({},t,{deltaX:0,deltaY:0}),"size");n.props.toggleLayersResizingStatus(r.map(function(e){return e.id}),!0)},n.resizeLayerStop=function(e,t){var r=n.props.onResizeLayers,o=n.updateCurrentLocalLayers(e,Object.assign({},t,{deltaX:0,deltaY:0}),"size");n.onEditLayers(o),r(o.map(function(e){return e.id})),n.props.toggleLayersResizingStatus(o.map(function(e){return e.id}),!1)},n.formItemChange=function(e,t){var o=n.state,a=o.slideParams,i=o.currentLocalLayers,s=n.props,l=s.currentDisplay,c=s.currentSlide,d=s.currentSelectedLayers,u=s.onEditCurrentSlide;if(1===d.length){var p=d[0],f=JSON.stringify(Object.assign({},JSON.parse(p.params),r({},e,t)));n.setState({currentLocalLayers:i.map(function(e){return e.id!==p.id?e:Object.assign({},e,{params:f})})},function(){n.onEditLayers([Object.assign({},p,{params:f})])})}else{var m=Object.assign({},a,r({},e,t));n.setState({slideParams:Object.assign({},m)},function(){var e=Object.assign({},JSON.parse(c.config),{slideParams:m});u(l.id,Object.assign({},c,{config:JSON.stringify(e)}))})}},n.deleteLayers=function(){var e=n.props,t=e.currentDisplay,r=e.currentSlide,o=e.currentLayersOperationInfo,a=Object.keys(o).filter(function(e){return o[e].selected});if(a.length<=0)return void F.warning("请选择图层");n.props.onDeleteDisplayLayers(t.id,r.id,a)},n.onEditLayers=function(e){var t=n.props,r=t.currentDisplay,o=t.currentSlide;(0,t.onEditDisplayLayers)(r.id,o.id,e)},n.addLayers=function(e){if(Array.isArray(e)){var t=n.props,r=t.currentDisplay,o=t.currentSlide,a=t.currentLayers,i=t.onAddDisplayLayers,s=n.state.slideParams,l=0===a.length?0:a.reduce(function(e,t){return Math.max(e,t.index)},-1/0);e.forEach(function(e){e.index=++l,e.displaySlideId=o.id,e.params=JSON.stringify(Object.assign({},JSON.parse(e.params),{width:(s.width-5*Y.GRID_ITEM_MARGIN)/4,height:(s.height-5*Y.GRID_ITEM_MARGIN)/4,positionX:Y.GRID_ITEM_MARGIN,positionY:Y.GRID_ITEM_MARGIN}))}),i(r.id,o.id,e)}},n.copyLayers=function(){var e=n.props,t=e.currentSlide,r=e.currentSelectedLayers,o=e.onCopySlideLayers;if(!r.length)return void F.warning("请选择图层");var a=(n.state.slideParams,r.map(function(e){var t=JSON.parse(e.params),n=t.positionX,r=t.positionY;return Object.assign({},e,{params:JSON.stringify(Object.assign({},t,{positionX:n+Y.GRID_ITEM_MARGIN,positionY:r+Y.GRID_ITEM_MARGIN})),id:null})}));o(t.id,a)},n.pasteLayers=function(){var e=n.props,t=e.currentDisplay,r=e.currentSlide,o=e.clipboardLayers,a=e.onPasteSlideLayers;o.length&&a(t.id,r.id,o)},n.coverCut=function(){n.editor.createCoverCut()},n.coverCutCreated=function(e){var t=n.props,r=t.currentDisplay,o=(t.currentSlide,t.onUploadCurrentSlideCover),a=t.onEditCurrentDisplay;o(e,function(e){a(Object.assign({},r,{avatar:e}))})},n.coverUploaded=function(e){var t=n.props,r=t.onEditCurrentDisplay,o=t.currentDisplay;r(Object.assign({},o,{avatar:e}))},n.collapseChange=function(){var e=n.state.sliderValue;n.doScale(e/40+.5)},n.keyDown=function(e){n.state.slideParams;switch(e){case T.Keys.Up:n.moveSelectedLayersPosition({positionXD:0,positionYD:-1});break;case T.Keys.Down:n.moveSelectedLayersPosition({positionXD:0,positionYD:1});break;case T.Keys.Left:n.moveSelectedLayersPosition({positionXD:-1,positionYD:0});break;case T.Keys.Right:n.moveSelectedLayersPosition({positionXD:1,positionYD:0});break;case T.Keys.Delete:n.deleteLayers();break;case T.Keys.Copy:n.copyLayers();break;case T.Keys.Paste:n.pasteLayers();break;case T.Keys.UnDo:n.undo();break;case T.Keys.Redo:n.redo()}},n.moveSelectedLayersPosition=function(e){var t=n.props.currentSelectedLayers;if(!(t.length<=0)){var r=e.positionXD,o=e.positionYD,a=n.props,i=a.currentDisplay,s=a.currentSlide,l=a.onEditDisplayLayers,c=n.state.slideParams,d=c.width,u=c.height,p=t.map(function(e){var t=JSON.parse(e.params),n=t.positionX,a=t.positionY,i=t.width,s=t.height,l=0===r?n:n+r,c=0===o?a:a+o;return l<0&&(l=0),l+i>d&&(l=d-i),c<0&&(c=0),c+s>u&&(c=u-s),Object.assign({},e,{params:JSON.stringify(Object.assign({},t,{positionX:l,positionY:c}))})});l(i.id,s.id,p)}},n.undo=function(){var e=n.props,t=e.onUndo,r=e.currentState;e.canUndo&&t(r)},n.redo=function(){var e=n.props,t=e.onRedo,r=e.nextState;e.canRedo&&t(r)},n.layersSelectionRemove=function(){(0,n.props.onClearLayersSelection)()},n.getEditorBaselines=function(){return n.props.editorBaselines.map(function(e,t){var n=e.top,r=e.right,o=e.bottom,a=e.left,i={position:"absolute",zIndex:999999,top:n+"px",right:r+"px",bottom:o+"px",left:a+"px",backgroundColor:Y.DEFAULT_BASELINE_COLOR};return d.createElement("div",{key:"baseline_"+t,className:B.baseline,style:i})})},n.toWorkbench=function(e,t){var r=n.props.params,o=r.pid,a=r.displayId,i=[o,a].join(Y.DEFAULT_SPLITER);sessionStorage.setItem("editWidgetFromDisplay",i),n.props.router.push("/project/"+o+"/widget/"+t)},n.state={slideParams:{},currentLocalLayers:[],editorWidth:0,editorHeight:0,editorPadding:"",scale:1,sliderValue:20,settingInfo:{key:"",id:0,setting:null,param:null}},n.refHandlers={settingForm:function(e){return n.settingForm=e},editor:function(e){return n.editor=e}},n}return s(t,e),c(t,[{key:"componentWillMount",value:function(){var e=this.props,t=e.params;(0,e.onLoadDisplayDetail)(+t.pid,+t.displayId)}},{key:"componentDidMount",value:function(){var e=this.state;e.slideParams,e.scale;this.props.onHideNavigator(),window.addEventListener("resize",this.containerResize,!1)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.containerResize,!1),this.props.onClearLayersSelection()}},{key:"componentWillReceiveProps",value:function(e){var t=this,n=e.currentSlide,r=e.currentLayers,o=this.state,a=o.slideParams,i=o.currentLocalLayers,s=!1;n!==this.props.currentSlide&&(a=JSON.parse(n.config).slideParams,s=!0),r!==this.props.currentLayers&&(i=u.fromJS(r).toJS());var l=this.getSettingInfo(e,a,i);this.setState({slideParams:a,currentLocalLayers:i,settingInfo:l},function(){s&&t.doScale(1)})}},{key:"render",value:function(){var e=this,t=this.props,n=t.params,r=t.currentLayersInfo,a=t.currentLayersOperationInfo,i=t.currentSelectedLayers,s=t.widgets,l=t.bizlogics,c=t.currentDisplay,u=t.onSelectLayer,p=t.onLoadDisplayShareLink,m=t.canUndo,h=t.canRedo,g=this.state,_=g.slideParams,b=g.currentLocalLayers,v=g.editorWidth,y=g.editorHeight,A=g.editorPadding,x=g.scale,w=g.sliderValue,j=g.settingInfo;if(!c)return null;var E=Array.isArray(s)?b.map(function(t,n){var o=s.find(function(e){return e.id===t.widgetId}),i=o&&l.find(function(e){return e.id===o.viewId}),c=t.id,p=JSON.parse(t.params),f=p.polling,m=p.frequency,h=r[c],g=h.datasource,b=h.loading,v=h.interactId,y=h.rendered,A=h.renderType,w=a[c],j=w.selected,E=w.resizing,S=w.dragging;return d.createElement(L.default,{key:t.id,pure:!1,scale:[x,x],slideParams:_,layer:t,selected:j,resizing:E,dragging:S,itemId:c,widget:o,view:i,data:g,loading:b,polling:f,frequency:m,interactId:v,rendered:y,renderType:A,onSelectLayer:u,onGetChartData:e.getChartData,onDragLayer:e.dragLayer,onResizeLayer:e.resizeLayer,onResizeLayerStop:e.resizeLayerStop,onDragLayerStop:e.dragLayerStop,onEditWidget:e.toWorkbench})}):null,R=this.getEditorBaselines(),N=null;return i.length>1?N=d.createElement(I.default,{layers:i,onEditDisplayLayers:this.onEditLayers,onCollapseChange:this.collapseChange}):j.id&&(N=d.createElement(D.default,{key:j.key,id:j.id,settingInfo:j.setting,settingParams:j.param,onDisplaySizeChange:this.displaySizeChange,onFormItemChange:this.formItemChange,wrappedComponentRef:this.refHandlers.settingForm,onCollapseChange:this.collapseChange},0===i.length?d.createElement(P.default,{key:"displaySetting",display:c,onCoverCut:this.coverCut,onCoverUploaded:this.coverUploaded}):null)),d.createElement("div",{className:B.preview+" "+B.edit},d.createElement(f.default,{title:c.name}),d.createElement(S.default,{display:c,widgets:s,params:n,onAddLayers:this.addLayers,onDeleteLayers:this.deleteLayers,onCopyLayers:this.copyLayers,onPasteLayers:this.pasteLayers,onLoadDisplayShareLink:p,onUndo:this.undo,onRedo:this.redo,canUndo:m,canRedo:h}),d.createElement(C.default,null,d.createElement(T.default,{key:"editor",width:v,height:y,padding:A,slideParams:_,scale:x,onCoverCutCreated:this.coverCutCreated,onKeyDown:this.keyDown,onLayersSelectionRemove:this.layersSelectionRemove,ref:this.refHandlers.editor},[].concat(o(R),o(E))),d.createElement(M.default,{scale:x,sliderValue:w,onZoomIn:this.zoomIn,onZoomOut:this.zoomOut,onSliderChange:this.sliderChange}),d.createElement(O.default,null,d.createElement(k.default,{layers:b,layersStatus:a,selectedLayers:i,onSelectLayer:u,onEditDisplayLayers:this.onEditLayers,onCollapseChange:this.collapseChange}),N)))}}]),t}(d.Component);t.Editor=W;var G=m.createStructuredSelector({widgets:H.makeSelectWidgets(),bizlogics:V.makeSelectBizlogics(),displays:j.makeSelectDisplays(),currentDisplay:j.makeSelectCurrentDisplay(),currentSlide:j.makeSelectCurrentSlide(),currentLayers:j.makeSelectCurrentLayers(),currentLayersInfo:j.makeSelectCurrentLayersInfo(),currentLayersOperationInfo:j.makeSelectCurrentLayersOperationInfo(),clipboardLayers:j.makeSelectClipboardLayers(),currentSelectedLayers:j.makeSelectCurrentSelectedLayers(),canUndo:j.makeSelectCanUndo(),canRedo:j.makeSelectCanRedo(),currentState:j.makeSelectCurrentState(),nextState:j.makeSelectNextState(),editorBaselines:j.makeSelectEditorBaselines()}),Q=p.connect(G,l),q=x.default({key:"display",reducer:g.default}),K=w.default({key:"display",saga:_.default}),X=x.default({key:"widget",reducer:b.default}),J=w.default({key:"widget",saga:v.default}),Z=x.default({key:"bizlogic",reducer:y.default}),$=w.default({key:"bizlogic",saga:A.default});t.default=h.compose(q,X,Z,K,J,$,Q)(W)},"./app/containers/Display/Preview.tsx":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function i(e){return{onHideNavigator:function(){return e(j.hideNavigator())},onLoadDisplayDetail:function(t,n){return e(S.loadDisplayDetail(t,n))},onLoadDataFromItem:function(t,n,r,o){return e(E.loadDataFromItem(t,n,r,o,"display"))}}}var s=function(){function e(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),l=function(){function e(e,t){for(var n=0;n0)){var n=t.key,r=t.ctrlKey,o=t.metaKey,a=t.shiftKey,i=e.props.onKeyDown;switch(n){case"ArrowUp":i(s.Up);break;case"ArrowDown":i(s.Down);break;case"ArrowLeft":i(s.Left);break;case"ArrowRight":i(s.Right);break;case"Delete":case"Backspace":i(s.Delete);break;case"c":case"C":(r||o)&&i(s.Copy);break;case"v":case"V":(r||o)&&i(s.Paste);break;case"y":case"Y":r&&!o&&i(s.Redo);break;case"z":case"Z":o?i(a?s.Redo:s.UnDo):r&&i(s.UnDo)}}},e}return a(t,e),i(t,[{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.keyDown,!1)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.keyDown,!1)}},{key:"render",value:function(){var e=this.props,t=e.slideParams,n=e.width,r=e.height,o=e.padding,a=e.scale,i=e.children,s=e.onLayersSelectionRemove,c=this.getSlideStyle(t,a);return l.createElement("div",{className:d.editor},l.createElement("div",{ref:this.refHandlers.container,className:d.editorContainer},l.createElement("div",{className:d.displayContainer,style:{width:n+"px",height:r+"px",padding:o},tabIndex:0},l.createElement("div",{className:d.displayPanelWrapper},l.createElement("div",{ref:this.refHandlers.content,className:d.displayPanel,style:c,onClick:s},i)))))}}]),t}(l.PureComponent);t.DisplayContainer=u,t.default=u},"./app/containers/Display/components/DisplayForm.tsx":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function i(e){return{onCheckName:function(t,n,r,o){return e(b.checkNameUniqueAction(t,n,r,o))}}}var s=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"",r=arguments[2],o=n.props,a=o.projectId,i=o.onCheckName;o.type;i("display",{projectId:a,id:o.form.getFieldsValue().id,name:t},function(){r()},function(e){r(e)})},n}return a(t,e),l(t,[{key:"render",value:function(){var e=this.props.form.getFieldDecorator,t={labelCol:{span:6},wrapperCol:{span:16}};return c.createElement(u,null,c.createElement(p,{gutter:8},c.createElement(f,{span:24},c.createElement(g,{className:v.hide},e("projectId",{hidden:"add"===this.props.type})(y)),c.createElement(g,{className:v.hide},e("id",{hidden:"add"===this.props.type})(A)),c.createElement(g,s({label:"名称"},t),e("name",{rules:[{required:!0,message:"Name 不能为空"},{validator:this.checkNameUnique}]})(x))),c.createElement(f,{span:24},c.createElement(g,s({label:"描述"},t),e("description",{initialValue:""})(c.createElement(m,{placeholder:"Description",type:"textarea",autosize:{minRows:2,maxRows:6}})))),c.createElement(f,{span:24},c.createElement(g,s({label:"是否发布"},t),e("publish",{initialValue:!0})(w)),c.createElement(g,{className:v.hide},e("avatar",{hidden:"add"===this.props.type})(j)))))}}]),t}(c.PureComponent);t.DisplayForm=E,t.default=u.create()(d.connect(null,i)(E))},"./app/containers/Display/components/DisplayHeader.tsx":function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=function(){function e(e,t){for(var n=0;n1?t-1:0),o=1;ot.positionX+t.width?e:t},t[0]),l=r.reduce(function(e,t){return e.positionY+e.height>t.positionY+t.height?e:t},t[0]);switch(e){case s.Top:n.spreadPositions(function(e){return{positionX:e.positionX,positionY:a}});break;case s.Left:n.spreadPositions(function(e){return{positionX:o,positionY:e.positionY}});break;case s.Bottom:var c=l.positionY,d=l.height;n.spreadPositions(function(e){return{positionX:e.positionX,positionY:c+d-e.height}});break;case s.Right:var u=i.positionX,p=i.width;n.spreadPositions(function(e){return{positionX:u+p-e.width,positionY:e.positionY}});break;case s.HorizontalCenter:var f=(o+i.positionX+i.width)/2;n.spreadPositions(function(e){return{positionX:f-e.width/2,positionY:e.positionY}});break;case s.VerticalCenter:var m=(a+l.positionY+l.height)/2;n.spreadPositions(function(e){return{positionX:e.positionX,positionY:m-e.height/2}})}}},n.spreadPositions=function(e){var t=n.props,r=t.layers;(0,t.onEditDisplayLayers)(r.map(function(t){var n=JSON.parse(t.params);return Object.assign({},t,{params:JSON.stringify(Object.assign({},n,e(n)))})}))},n.toggleCollapse=function(){var e=n.props.onCollapseChange,t=n.state.collapse;n.setState({collapse:!t},function(){e()})},n.state={collapse:!1},n}return a(t,e),i(t,[{key:"render",value:function(){return this.state.collapse?l.createElement("div",{className:u.collapse},l.createElement("h2",{className:u.formTitle},l.createElement(d,{title:"显示/隐藏设置"},l.createElement(c,{onClick:this.toggleCollapse,type:"left-square-o"}))),l.createElement("div",{className:u.title},p)):l.createElement("div",{className:u.right},l.createElement("h2",{className:u.formTitle},f,l.createElement(d,{title:"显示/隐藏设置"},l.createElement(c,{onClick:this.toggleCollapse,type:"right-square-o"}))),l.createElement("div",{className:u.alignList},l.createElement("div",{className:u.category},l.createElement(d,{placement:"bottom",title:"上对齐"},l.createElement("i",{onClick:this.setAlign(s.Top),className:"iconfont icon-align-top"}))),l.createElement("div",{className:u.category},l.createElement(d,{placement:"bottom",title:"左对齐"},l.createElement("i",{onClick:this.setAlign(s.Left),className:"iconfont icon-align-left"})),l.createElement(d,{placement:"bottom",title:"水平居中"},l.createElement("i",{onClick:this.setAlign(s.HorizontalCenter),className:"iconfont icon-horizontal-center"})),l.createElement(d,{placement:"bottom",title:"垂直居中"},l.createElement("i",{onClick:this.setAlign(s.VerticalCenter),className:"iconfont icon-vertical-center"})),l.createElement(d,{placement:"bottom",title:"右对齐"},l.createElement("i",{onClick:this.setAlign(s.Right),className:"iconfont icon-align-right"}))),l.createElement("div",{className:u.category},l.createElement(d,{placement:"bottom",title:"下对齐"},l.createElement("i",{onClick:this.setAlign(s.Bottom),className:"iconfont icon-align-bottom"})))))}}]),t}(l.Component);t.LayerAlign=m,t.default=m},"./app/containers/Display/components/LayerItem.tsx":function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=function(){function e(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),l=Object.assign||function(e){for(var t=1;t-1?"italic":"normal",k.textDecoration=b.indexOf("underline")>-1?"underline":"none"),d.createElement("div",{ref:function(e){return n.refLayer=e},className:c,style:u,onClick:n.onClickLayer},n.wrapLayerTooltip(d.createElement("p",{style:k},o.contentText)))},n.renderVideoLayer=function(e){var t,o=n.state.layerParams,a=o.src,i=o.controlSetting,s=o.start,c=o.end,u=n.props,f=u.pure,m=u.selected,h=p((t={},r(t,A.layer,!0),r(t,A.view,!f),r(t,A.selected,m),t)),_=n.getLayerStyle(e,o),b=i.reduce(function(e,t){return Object.assign({},e,r({},t,!0))},{});return d.createElement("div",{ref:function(e){return n.refLayer=e},className:h,style:_,onClick:n.onClickLayer},n.wrapLayerTooltip(d.createElement(g.default,l({key:"video_"+e.id,src:a,start:s,end:c},b))))},n.timer=null,n.renderTimerLayer=function(e){var t,o=n.state,a=o.layerParams,i=o.currentTime,s=n.props,l=s.pure,c=s.scale,u=s.selected,m=p((t={},r(t,A.layer,!0),r(t,A.view,!l),r(t,A.selected,u),t)),h=n.getLayerStyle(e,a),g=a.fontWeight,_=a.fontFamily,b=a.fontColor,v=a.fontSize,y=a.textAlign,x=a.textStyle,w=a.lineHeight,j=a.textIndent,E=a.paddingTop,S=a.paddingBottom,C=a.paddingLeft,k=a.paddingRight,T=a.timeFormat,M=a.timeDuration,O=l?c[0]:1,L=l?c[1]:1,D={wordBreak:"break-all",overflow:"hidden",fontWeight:g,fontFamily:_,color:"rgba("+b.join()+")",fontSize:v*Math.min(L,O)+"px",textAlign:y,lineHeight:w*L+"px",textIndent:j*O+"px",paddingTop:E*L+"px",paddingRight:k*O+"px",paddingBottom:S*L+"px",paddingLeft:C*O+"px"};return x&&(D.fontStyle=x.indexOf("italic")>-1?"italic":"normal",D.textDecoration=x.indexOf("underline")>-1?"underline":"none"),n.timer&&clearInterval(n.timer),n.timer=setInterval(function(){n.setState({currentTime:f.default().format(T||"YYYY-MM-dd HH:mm:ss")})},M),d.createElement("div",{ref:function(e){return n.refLayer=e},className:m,style:h,onClick:n.onClickLayer},n.wrapLayerTooltip(d.createElement("p",{style:D},i)))},n.wrapLayerTooltip=function(e){var t=n.props,r=t.resizing,o=t.dragging;if(!r&&!o)return e;var a=n.state,i=a.layerParams,l=a.layerTooltipPosition,c=i.positionX,u=i.positionY,p=i.width,f=i.height,h=r?"宽度:"+p+"px,高度:"+f+"px":o?"x:"+c+"px,y:"+u+"px":"",g=r||o,_=s(l,2),b=_[0],v=_[1],y={top:b,left:v};return d.createElement(m,{title:h,overlayStyle:y,placement:"right",visible:g},e)};var i=n.props.layer,c=JSON.parse(i.params);return n.state={layerParams:c,layerTooltipPosition:[0,0],mousePos:[-1,-1],widgetProps:null,model:null,currentTime:""},n}return i(t,e),c(t,[{key:"componentWillMount",value:function(){var e=this.props,t=e.widget,n=e.view;t&&this.setState({widgetProps:JSON.parse(t.config),model:JSON.parse(n.model)})}},{key:"componentDidMount",value:function(){var e=this.props,t=e.itemId,n=e.layer,r=e.widget,o=e.onGetChartData;n.type===_.GraphTypes.Chart&&(o("clear",t,r.id),this.setFrequent(this.props))}},{key:"componentWillReceiveProps",value:function(e){var t=this.props.layer;if(t.params!==e.layer.params){var n=JSON.parse(e.layer.params);if(t.subType===_.SecondaryGraphTypes.Timer){var r=n.timeFormat;this.setState({layerParams:n,currentTime:f.default().format(r||"YYYY-MM-dd HH:mm:ss")})}this.setState({layerParams:n})}this.props.widget!==e.widget&&this.setState({widgetProps:JSON.parse(e.widget.config),model:e.view&&JSON.parse(e.view.model)})}},{key:"componentWillUpdate",value:function(e){var t=e.polling,n=e.frequency;e.layer.type===_.GraphTypes.Chart&&(t===this.props.polling&&n===this.props.frequency||this.setFrequent(e))}},{key:"componentDidUpdate",value:function(){var e=u.findDOMNode(this.refLayer).getBoundingClientRect(),t=e.top,n=e.height,r=e.right,o=s(this.state.layerTooltipPosition,2),a=o[0],i=o[1],l=t+n/2,c=r;a===l&&i===c||this.setState({layerTooltipPosition:[l,c]})}},{key:"componentWillUnmount",value:function(){clearInterval(this.frequent),clearInterval(this.timer)}},{key:"render",value:function(){var e=this.props,t=e.pure,n=e.scale,r=e.slideParams,o=e.layer,a=this.state.layerParams,i=a.positionX,s=a.positionY,l=a.width,c=a.height,u={x:i,y:s},p=this.renderLayer(o);if(t)return p;var f=[r.width-u.x,r.height-u.y];return d.createElement(h.default,{grid:[1,1],bounds:"parent",scale:Math.min(n[0],n[1]),onStart:this.dragOnStart,onStop:this.dragOnStop,onDrag:this.onDrag,handle:"."+A.layer,position:u},d.createElement(y,{width:l,height:c,onResize:this.onResize,onResizeStop:this.onResizeStop,draggableOpts:{grid:[1,1]},minConstraints:[50,50],maxConstraints:f,handleSize:[20,20],scale:Math.min(n[0],n[1])},p))}}]),t}(d.PureComponent);t.LayerItem=x,t.default=x},"./app/containers/Display/components/LayerList.tsx":function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t=0)){var a=t[o].index;t[o].index=t[o-1].index,t[o-1].index=a;var i=t[o];t[o]=t[o-1],t[o-1]=i;[t[o],t[o-1]].forEach(function(e){var t=r.findIndex(function(t){return t.id===e.id});t<0?r.push(Object.assign({},e)):r.splice(t,1,Object.assign({},e))})}}),r.length<=0||n.props.onEditDisplayLayers(r)},n.bringToUpper=function(){var e=n.props,t=e.selectedLayers,r=e.layers,o=n.sortLayers(t,c.OrderDirection.Desc),a=n.sortLayers(r,c.OrderDirection.Desc);n.swapLayerIndex(o,a)},n.sendToNext=function(){var e=n.props,t=e.selectedLayers,r=e.layers,o=n.sortLayers(t,c.OrderDirection.Asc),a=n.sortLayers(r,c.OrderDirection.Asc);n.swapLayerIndex(o,a)},n.bringToFront=function(){var e=n.props,t=e.selectedLayers,r=e.layers,o=e.onEditDisplayLayers;if(!(t.length<=0)){var a=r.reduce(function(e,t){return Math.max(t.index,e)},-1/0);o(n.sortLayers(t,c.OrderDirection.Asc).map(function(e,t){return Object.assign({},e,{index:a+t+1})}))}},n.sendToBottom=function(){var e=n.props,t=e.selectedLayers,r=e.layers,o=e.onEditDisplayLayers;if(!(t.length<=0)){var a=r.reduce(function(e,t){return Math.min(t.index,e)},1/0);o(n.sortLayers(t,c.OrderDirection.Desc).map(function(e,t){return Object.assign({},e,{index:a-t-1})}))}},n.commands=[{title:"上移一层",icon:"icon-bring-upper",handler:n.bringToUpper},{title:"下移一层",icon:"icon-send-next",handler:n.sendToNext},{title:"置顶",icon:"icon-bring-front",handler:n.bringToFront},{title:"置底",icon:"icon-send-bottom",handler:n.sendToBottom}],n.changeLayerStatus=function(e){return function(t){t.stopPropagation();var r=t.altKey,o=t.metaKey,a=n.props,i=a.layersStatus,s=a.onSelectLayer,l=!r&&!o;s({id:e,selected:!i[e].selected,exclusive:l})}},n.getLayersByIndexDesc=function(e){return Array.isArray(e)?[].concat(r(e)).sort(function(e,t){return t.index-e.index}):[]},n.toggleCollapse=function(){var e=n.props.onCollapseChange,t=n.state.collapse;n.setState({collapse:!t},function(){e()})},n.state={collapse:!1},n}return i(t,e),s(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.layers,r=t.layersStatus;if(this.state.collapse)return l.createElement("div",{className:f.collapse},l.createElement("h2",{className:f.formTitle},l.createElement(u,{title:"显示/隐藏图层"},l.createElement(d,{onClick:this.toggleCollapse,type:"left-square-o"}))),l.createElement("div",{className:f.title},m));var o=this.commands.map(function(e,t){return l.createElement("li",{key:t,onClick:e.handler},l.createElement(u,{placement:"bottom",title:e.title},l.createElement("i",{className:"iconfont "+e.icon})))}),a=this.getLayersByIndexDesc(n).map(function(t){return l.createElement("li",{key:t.id},l.createElement("i",{onClick:e.changeLayerStatus(t.id),className:"iconfont "+(r[t.id].selected?"icon-selected":"icon-unselected")}),l.createElement("span",{title:t.name},t.name))});return l.createElement("div",{className:f.left},l.createElement("h2",{className:f.formTitle},h,l.createElement(u,{title:"显示/隐藏图层"},l.createElement(d,{onClick:this.toggleCollapse,type:"right-square-o"}))),l.createElement("div",{className:f.commands},l.createElement("ul",{className:f.commandGroup},o)),l.createElement("div",{className:f.layerList},l.createElement("ul",null,a)))}}]),t}(l.Component);t.LayerList=g,t.default=g},"./app/containers/Display/components/LayerSelector.tsx":function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);tt.adjust[0]?t:e},null),[].concat(r(v.horizontal),r(y.horizontal)).reduce(function(e,t){return!e||e.adjust[1]>t.adjust[1]?t:e},null)].filter(function(e){return!!e})}function s(e,t,n,r,o,a,i,s){var l=o.width,c=o.height,d=(e+t)/2,u=(n+r)/2,p=[],f=[];return y.some(function(e){for(var t=1;tMath.abs(w))&&m.push({top:Math.min(_,n),right:c-A-b.DEFAULT_BASELINE_THICKNESS/i,bottom:d-Math.max(_+y,r),left:A,adjust:[w,0],adjustType:s}),Math.abs(j)Math.abs(j))&&h.push({top:p,right:c-Math.max(g+v,t),bottom:d-p-b.DEFAULT_BASELINE_THICKNESS/i,left:Math.min(g,e),adjust:[0,j],adjustType:s})}),{vertical:m,horizontal:h}}var c,d=this;Object.defineProperty(t,"__esModule",{value:!0});var u,p=n("./app/assets/json/slideSettings/slide.json"),f=n("./app/assets/json/slideSettings/chart.json"),m=n("./app/assets/json/slideSettings/rectangle.json"),h=n("./app/assets/json/slideSettings/label.json"),g=n("./app/assets/json/slideSettings/video.json"),_=n("./app/assets/json/slideSettings/timer.json"),b=n("./app/globalConstants.ts");!function(e){e[e.Rectangle=20]="Rectangle",e[e.Label=21]="Label",e[e.Video=22]="Video",e[e.Timer=23]="Timer"}(u=t.SecondaryGraphTypes||(t.SecondaryGraphTypes={}));var v;!function(e){e[e.Slide=0]="Slide",e[e.Chart=1]="Chart",e[e.Secondary=2]="Secondary"}(v=t.GraphTypes||(t.GraphTypes={}));!function(e){e[e.Asc=0]="Asc",e[e.Desc=1]="Desc"}(t.OrderDirection||(t.OrderDirection={})),t.slideSettings=(c={},o(c,v.Slide,p),o(c,v.Chart,f),o(c,u.Rectangle,m),o(c,u.Label,h),o(c,u.Video,g),o(c,u.Timer,_),c),t.getDefaultSlideParams=a,t.captureVideosWithImages=function(){var e=d.canvas||document.createElement("canvas"),t=e.getContext("2d"),n=document.querySelectorAll("video");Array.prototype.forEach.call(n,function(n){if(n.src)try{var r=n.videoWidth,o=n.videoHeight;e.width=r,e.height=o,t.fillRect(0,0,r,o),t.drawImage(n,0,0,r,o),n.style.backgroundImage="url("+e.toDataURL()+")",n.style.backgroundSize="cover",console.log("v.style: ",n.style),t.clearRect(0,0,r,o)}catch(e){return void console.log("e: ",e)}})};var y=[4,3,2];t.computeEditorBaselines=i},"./app/containers/Display/constants.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});!function(e){e.LOAD_DISPLAYS="davinci/Display/LOAD_DISPLAYS",e.LOAD_DISPLAYS_SUCCESS="davinci/Display/LOAD_DISPLAYS_SUCCESS",e.LOAD_DISPLAYS_FAILURE="davinci/Display/LOAD_DISPLAYS_FAILURE",e.ADD_DISPLAY="davinci/Display/ADD_DISPLAY",e.ADD_DISPLAY_SUCCESS="davinci/Display/ADD_DISPLAY_SUCCESS",e.ADD_DISPLAY_FAILURE="davinci/Display/ADD_DISPLAY_FAILURE",e.EDIT_DISPLAY="davinci/Display/EDIT_DISPLAY",e.EDIT_DISPLAY_SUCCESS="davinci/Display/EDIT_DISPLAY_SUCCESS",e.EDIT_DISPLAY_FAILURE="davinci/Display/EDIT_DISPLAY_FAILURE",e.EDIT_CURRENT_DISPLAY="davinci/Display/EDIT_CURRENT_DISPLAY",e.EDIT_CURRENT_DISPLAY_SUCCESS="davinci/Display/EDIT_CURRENT_DISPLAY_SUCCESS",e.EDIT_CURRENT_DISPLAY_FAILURE="davinci/Display/EDIT_CURRENT_DISPLAY_FAILURE",e.EDIT_CURRENT_SLIDE="davinci/Display/EDIT_CURRENT_SLIDE",e.EDIT_CURRENT_SLIDE_SUCCESS="davinci/Display/EDIT_CURRENT_SLIDE_SUCCESS",e.EDIT_CURRENT_SLIDE_FAILURE="davinci/Display/EDIT_CURRENT_SLIDE_FAILURE",e.UPLOAD_CURRENT_SLIDE_COVER="davinci/Display/UPLOAD_CURRENT_SLIDE_COVER",e.UPLOAD_CURRENT_SLIDE_COVER_SUCCESS="davinci/Display/UPLOAD_CURRENT_SLIDE_COVER_SUCCESS",e.UPLOAD_CURRENT_SLIDE_COVER_FAILURE="davinci/Display/UPLOAD_CURRENT_SLIDE_COVER_FAILURE",e.DELETE_DISPLAY="davinci/Display/DELETE_DISPLAY",e.DELETE_DISPLAY_SUCCESS="davinci/Display/DELETE_DISPLAY_SUCCESS",e.DELETE_DISPLAY_FAILURE="davinci/Display/DELETE_DISPLAY_FAILURE",e.LOAD_DISPLAY_DETAIL="davinci/Display/LOAD_DISPLAY_DETAIL",e.LOAD_DISPLAY_DETAIL_SUCCESS="davinci/Display/LOAD_DISPLAY_DETAIL_SUCCESS",e.LOAD_DISPLAY_DETAIL_FAILURE="davinci/Display/LOAD_DISPLAY_DETAIL_FAILURE",e.ADD_DISPLAY_LAYERS="davinci/Display/ADD_DISPLAY_LAYERS",e.ADD_DISPLAY_LAYERS_SUCCESS="davinci/Display/ADD_DISPLAY_LAYERS_SUCCESS",e.ADD_DISPLAY_LAYERS_FAILURE="davinci/Display/ADD_DISPLAY_LAYERS_FAILURE",e.EDIT_DISPLAY_LAYERS="davinci/Display/EDIT_DISPLAY_LAYERS",e.EDIT_DISPLAY_LAYERS_SUCCESS="davinci/Display/EDIT_DISPLAY_LAYERS_SUCCESS",e.EDIT_DISPLAY_LAYERS_FAILURE="davinci/Display/EDIT_DISPLAY_LAYERS_FAILURE",e.DELETE_DISPLAY_LAYERS="davinci/Display/DELETE_DISPLAY_LAYERS",e.DELETE_DISPLAY_LAYERS_SUCCESS="davinci/Display/DELETE_DISPLAY_LAYERS_SUCCESS",e.DELETE_DISPLAY_LAYERS_FAILURE="davinci/Display/DELETE_DISPLAY_LAYERS_FAILURE",e.DRAG_SELECT_LAYER="davinci/Display/DRAG_SELECT_LAYER",e.RESIZE_LAYERS="davinci/Display/RESIZE_LAYERS",e.SELECT_LAYER="davinci/Display/SELECT_LAYER",e.CLEAR_LAYERS_SELECTION="davinci/Display/CLEAR_LAYERS_SELECTION",e.TOGGLE_LAYERS_RESIZING_STATUS="davinci/Display/TOGGLE_LAYERS_RESIZING_STATUS",e.TOGGLE_LAYERS_DRAGGING_STATUS="davinci/Display/TOGGLE_LAYERS_DRAGGING_STATUS",e.SHOW_EDITOR_BASELINES="davinci/Display/SHOW_EDITOR_BASELINES",e.CLEAR_EDITOR_BASELINES="davinci/Display/CLEAR_EDITOR_BASELINES",e.COPY_SLIDE_LAYERS="davinci/Display/COPY_SLIDE_LAYERS",e.PASTE_SLIDE_LAYERS="davinci/Display/PASTE_SLIDE_LAYERS",e.PASTE_SLIDE_LAYERS_SUCCESS="davinci/Display/PASTE_SLIDE_LAYERS_SUCCESS",e.PASTE_SLIDE_LAYERS_FAILURE="davinci/Display/PASTE_SLIDE_LAYERS_FAILURE",e.UNDO_OPERATION="davinci/Display/UNDO_OPERATION",e.UNDO_OPERATION_SUCCESS="davinci/Display/UNDO_OPERATION_SUCCESS",e.UNDO_OPERATION_FAILURE="davinci/Display/UNDO_OPERATION_FAILURE",e.REDO_OPERATION="davinci/Display/REDO_OPERATION",e.REDO_OPERATION_SUCCESS="davinci/Display/REDO_OPERATION_SUCCESS",e.REDO_OPERATION_FAILURE="davinci/Display/REDO_OPERATION_FAILURE",e.LOAD_DISPLAY_SHARE_LINK="davinci/Display/LOAD_DISPLAY_SHARE_LINK",e.LOAD_DISPLAY_SHARE_LINK_SUCCESS="davinci/Display/LOAD_DISPLAY_SHARE_LINK_SUCCESS",e.LOAD_DISPLAY_SECRET_LINK_SUCCESS="davinci/Display/LOAD_DISPLAY_SECRET_LINK_SUCCESS",e.LOAD_DISPLAY_SHARE_LINK_FAILURE="davinci/Display/LOAD_DISPLAY_SHARE_LINK_FAILURE"}(t.ActionTypes||(t.ActionTypes={}))},"./app/containers/Display/reducer.ts":function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:p,t=arguments[1],n=t.type,a=t.payload,l=e.get("displays"),f=(e.get("currentDisplayCascadeSources"),e.get("currentLayers")),m=e.get("currentLayersInfo"),h=e.get("currentLayersOperationInfo");switch(n){case c.ActionTypes.LOAD_DISPLAYS_SUCCESS:return e.set("displays",a.displays);case c.ActionTypes.LOAD_DISPLAYS_FAILURE:return e;case c.ActionTypes.ADD_DISPLAY:return e.set("displayLoading",!0);case c.ActionTypes.ADD_DISPLAY_SUCCESS:return e.set("displays",[a.result].concat(o(l))).set("displayLoading",!1);case c.ActionTypes.ADD_DISPLAY_FAILURE:return e.set("displayLoading",!1);case c.ActionTypes.EDIT_DISPLAY:return e.set("displayLoading",!0);case c.ActionTypes.EDIT_DISPLAY_SUCCESS:return e.set("displays",l.map(function(e){return e.id===a.result.id?a.result:e}));case c.ActionTypes.EDIT_DISPLAY_FAILURE:return e.set("displayLoading",!1);case c.ActionTypes.EDIT_CURRENT_DISPLAY:return e.set("currentDisplayLoading",!0);case c.ActionTypes.EDIT_CURRENT_DISPLAY_SUCCESS:return e.set("currentDisplay",a.result).set("currentDisplayLoading",!1);case c.ActionTypes.EDIT_CURRENT_DISPLAY_FAILURE:return e.set("currentDisplayLoading",!1);case c.ActionTypes.EDIT_CURRENT_SLIDE:return e.set("currentSlideLoading",!0);case c.ActionTypes.EDIT_CURRENT_SLIDE_SUCCESS:return e.set("lastOperationType",c.ActionTypes.EDIT_CURRENT_SLIDE_SUCCESS).set("currentSlide",a.result).set("currentSlideLoading",!1);case c.ActionTypes.EDIT_CURRENT_SLIDE_FAILURE:return e.set("currentSlideLoading",!1);case c.ActionTypes.LOAD_DISPLAY_DETAIL:return e.set("currentDisplayLoading",!0).set("currentDisplayShareInfo","").set("currentDisplaySecretInfo","");case c.ActionTypes.LOAD_DISPLAY_DETAIL_SUCCESS:return e.set("currentDisplayLoading",!1).set("currentDisplay",a.display).set("currentDisplayCascadeSources",{}).set("currentSlide",a.slide).set("currentLayers",a.layers||[]).set("currentLayersInfo",a.layers.reduce(function(e,t){return e[t.id]=t.type===d.GraphTypes.Chart?{datasource:[],loading:!1,queryParams:{linkageFilters:[],globalFilters:[],params:[],linkageParams:[],globalParams:[],pagination:{}},interactId:"",rendered:!1,renderType:"rerender"}:{loading:!1,datasource:[]},e},{})).set("currentLayersOperationInfo",a.layers.reduce(function(e,t){return e[t.id]={selected:!1,dragging:!1,resizing:!1},e},{})).set("editorBaselines",[]);case c.ActionTypes.LOAD_DISPLAY_DETAIL_FAILURE:return e.set("currentDisplayLoading",!1).set("currentDisplay",null);case c.ActionTypes.DELETE_DISPLAY_SUCCESS:return e.set("displays",l.filter(function(e){return e.id!==a.id}));case c.ActionTypes.DELETE_DISPLAY_FAILURE:return e;case c.ActionTypes.ADD_DISPLAY_LAYERS_SUCCESS:return e.set("lastOperationType",c.ActionTypes.ADD_DISPLAY_LAYERS_SUCCESS).set("lastLayers",[].concat(o(a.result))).set("currentLayers",[].concat(o(f),o(a.result))).set("currentLayersInfo",Object.assign({},m,a.result.reduce(function(e,t){return e[t.id]=t.type===d.GraphTypes.Chart?{datasource:[],loading:!1,queryParams:{linkageFilters:[],globalFilters:[],params:[],linkageParams:[],globalParams:[],pagination:{}},interactId:"",rendered:!1,renderType:"rerender"}:{datasource:[],loading:!1},e},{}))).set("currentLayersOperationInfo",Object.assign({},h,a.result.reduce(function(e,t){return e[t.id]={selected:!1,resizing:!1,dragging:!1},e},{})));case c.ActionTypes.DELETE_DISPLAY_LAYERS_SUCCESS:return e.set("lastOperationType",c.ActionTypes.DELETE_DISPLAY_LAYERS_SUCCESS).set("lastLayers",f.filter(function(e){return a.ids.indexOf(e.id.toString())>=0})).set("currentLayers",f.filter(function(e){return a.ids.indexOf(e.id.toString())<0})).set("currentLayersInfo",Object.entries(m).reduce(function(e,t){var n=i(t,2),o=n[0],s=n[1];return a.ids.indexOf(o)>=0?e:Object.assign({},e,r({},o,s))},{})).set("currentLayersOperationInfo",Object.entries(h).reduce(function(e,t){var n=i(t,2),o=n[0],s=n[1];return a.ids.indexOf(o)>=0?e:Object.assign({},e,r({},o,s))},{}));case c.ActionTypes.EDIT_DISPLAY_LAYERS_SUCCESS:var g=s.fromJS(f).toJS(),_=[];return a.result.forEach(function(e){_.push(g.find(function(t){return t.id===e.id})),g.splice(g.findIndex(function(t){return t.id===e.id}),1,e)}),e.set("lastOperationType",c.ActionTypes.EDIT_DISPLAY_LAYERS_SUCCESS).set("lastLayers",_).set("currentLayers",g);case u.LOAD_DATA_FROM_ITEM:return"display"!==a.vizType?e:e.set("currentLayersInfo",Object.assign({},m,r({},a.itemId,Object.assign({},m[a.itemId],{loading:!0,queryParams:{linkageFilters:a.params.linkageFilters,globalFilters:a.params.globalFilters,params:a.params.params,linkageParams:a.params.linkageParams,globalParams:a.params.globalParams}}))));case u.LOAD_DATA_FROM_ITEM_SUCCESS:return"display"!==a.vizType?e:e.set("currentLayersInfo",Object.assign({},m,r({},a.itemId,Object.assign({},m[a.itemId],{loading:!1,datasource:a.data,renderType:a.renderType}))));case u.LOAD_DATA_FROM_ITEM_FAILURE:return"display"!==a.vizType?e:e.set("currentLayersInfo",Object.assign({},m,r({},a.layerId,Object.assign({},m[a.layerId],{loading:!1}))));case c.ActionTypes.DRAG_SELECT_LAYER:return e.set("currentLayers",f.map(function(e){if(!h[e.id].selected||e.id===a.id)return e;var t=JSON.parse(e.params),n=t.positionX,r=t.positionY;return Object.assign({},e,{params:JSON.stringify(Object.assign({},t,{positionX:n+a.deltaX,positionY:r+a.deltaY}))})}));case c.ActionTypes.RESIZE_LAYERS:return e.set("currentLayersInfo",Object.entries(m).reduce(function(e,t){var n=i(t,2),r=n[0],s=n[1];return a.layerIds.indexOf(+r)>=0?e[r]=Object.assign({},s,{renderType:"resize",datasource:[].concat(o(s.datasource))}):e[r]=s,e},{}));case c.ActionTypes.SELECT_LAYER:return e.set("currentLayersOperationInfo",Object.entries(h).reduce(function(e,t){var n=i(t,2),o=n[0],s=n[1],l=s.selected;return a.selected&&a.exclusive&&(l=!1),o===a.id.toString()&&(l=a.selected),Object.assign({},e,r({},o,Object.assign({},s,{selected:l})))},{}));case c.ActionTypes.CLEAR_LAYERS_SELECTION:return e.set("currentLayersOperationInfo",Object.entries(h).reduce(function(e,t){var n=i(t,2),o=n[0],a=n[1];return Object.assign({},e,r({},o,Object.assign({},a,{selected:!1})))},{}));case c.ActionTypes.TOGGLE_LAYERS_RESIZING_STATUS:return e.set("currentLayersOperationInfo",a.layerIds.reduce(function(e,t){return Object.assign({},e,r({},t,Object.assign({},e[t],{resizing:a.resizing})))},h));case c.ActionTypes.TOGGLE_LAYERS_DRAGGING_STATUS:return e.set("currentLayersOperationInfo",a.layerIds.reduce(function(e,t){return Object.assign({},e,r({},t,Object.assign({},e[t],{dragging:a.dragging})))},h));case c.ActionTypes.CLEAR_EDITOR_BASELINES:return e.set("editorBaselines",[]);case c.ActionTypes.SHOW_EDITOR_BASELINES:return e.set("editorBaselines",a.baselines);case c.ActionTypes.COPY_SLIDE_LAYERS:return e.set("clipboardLayers",a.layers);case c.ActionTypes.PASTE_SLIDE_LAYERS_SUCCESS:return e.set("lastOperationType",c.ActionTypes.PASTE_SLIDE_LAYERS_SUCCESS).set("lastLayers",[].concat(o(a.result))).set("currentLayers",[].concat(o(f),o(a.result))).set("currentLayersInfo",Object.assign({},m,a.result.reduce(function(e,t){return e[t.id]=t.type===d.GraphTypes.Chart?{datasource:[],loading:!1,queryParams:{linkageFilters:[],globalFilters:[],params:[],linkageParams:[],globalParams:[],pagination:{}},interactId:"",rendered:!1,renderType:"rerender"}:{datasource:[],loading:!1},e},{}))).set("currentLayersOperationInfo",Object.assign({},h,a.result.reduce(function(e,t){return e[t.id]={selected:!1,resizing:!1,dragging:!1},e},{})));case c.ActionTypes.LOAD_DISPLAY_SHARE_LINK:return e.set("currentDisplayShareInfoLoading",!0);case c.ActionTypes.LOAD_DISPLAY_SHARE_LINK_SUCCESS:return e.set("currentDisplayShareInfo",a.shareInfo).set("currentDisplayShareInfoLoading",!1);case c.ActionTypes.LOAD_DISPLAY_SECRET_LINK_SUCCESS:return e.set("currentDisplaySecretInfo",a.secretInfo).set("currentDisplayShareInfoLoading",!1);case c.ActionTypes.LOAD_DISPLAY_SHARE_LINK_FAILURE:return e.set("currentDisplayShareInfoLoading",!1);default:return e}}var i=function(){function e(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();Object.defineProperty(t,"__esModule",{value:!0});var s=n("./node_modules/_immutable@3.8.1@immutable/dist/immutable.js"),l=n("./node_modules/_redux-undo@0.6.1@redux-undo/lib/index.js"),c=n("./app/containers/Display/constants.ts"),d=n("./app/containers/Display/components/util.ts"),u=n("./app/containers/Bizlogic/constants.ts"),p=s.fromJS({displays:[],currentDisplay:null,currentDisplayLoading:!1,currentDisplayShareInfo:"",currentDisplaySecretInfo:"",currentSlide:null,currentSlideLoading:!1,currentDisplayCascadeSources:{},currentLayers:[],currentLayersInfo:{},currentLayersOperationInfo:{},displayLoading:!1,clipboardLayers:[],lastOperationType:"",lastLayers:[],editorBaselines:[]});t.default=l.default(a,{filter:l.includeAction([c.ActionTypes.EDIT_CURRENT_SLIDE_SUCCESS,c.ActionTypes.ADD_DISPLAY_LAYERS_SUCCESS,c.ActionTypes.EDIT_DISPLAY_LAYERS_SUCCESS,c.ActionTypes.DELETE_DISPLAY_LAYERS_SUCCESS,c.ActionTypes.PASTE_SLIDE_LAYERS_SUCCESS]),undoType:c.ActionTypes.UNDO_OPERATION_SUCCESS,redoType:c.ActionTypes.REDO_OPERATION_SUCCESS})},"./app/containers/Display/sagas.ts":function(e,t,n){"use strict";function r(e){var t,n,r;return regeneratorRuntime.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return t=e.payload.projectId,o.prev=1,o.next=4,R.call(N.default,F.default.display+"?projectId="+t);case 4:return n=o.sent,r=B.readListAdapter(n),o.next=8,R.put(V.displaysLoaded(r));case 8:o.next=14;break;case 10:return o.prev=10,o.t0=o.catch(1),o.next=14,R.put(V.loadDisplaysFail(o.t0));case 14:case"end":return o.stop()}},v,this,[[1,10]])}function o(e){var t,n,r,o,a,i,s;return regeneratorRuntime.wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return t=e.payload,n=t.display,r=t.resolve,l.prev=1,l.next=4,R.call(N.default,F.default.display,{method:"post",data:n});case 4:return o=l.sent,a=B.readObjectAdapter(o),i=a.id,s={displayId:i,index:0,config:JSON.stringify({slideParams:z.getDefaultSlideParams()})},l.next=10,R.call(N.default,F.default.display+"/"+i+"/slides",{method:"post",data:s});case 10:return l.next=12,R.put(V.displayAdded(a));case 12:r(),l.next=20;break;case 15:return l.prev=15,l.t0=l.catch(1),l.next=19,R.put(V.addDisplayFail());case 19:U.errorHandler(l.t0);case 20:case"end":return l.stop()}},y,this,[[1,15]])}function a(e){var t,n,r,o,a,i,s,l,c,d;return regeneratorRuntime.wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return t=e.payload,n=t.projectId,r=t.displayId,u.prev=1,u.next=4,R.all({dashboardDetail:R.call(N.default,F.default.display+"/"+r+"/slides"),widgets:R.call(N.default,F.default.widget+"?projectId="+n),bizlogics:R.call(N.default,F.default.bizlogic+"?projectId="+n)});case 4:return o=u.sent,a=o.dashboardDetail,i=o.widgets,s=o.bizlogics,l=a.payload,c=l.slides[0],delete l.slides,u.next=11,R.call(N.default,F.default.display+"/"+r+"/slides/"+c.id+"/widgets");case 11:return d=u.sent,u.next=14,R.put(V.displayDetailLoaded(l,c,d.payload,i.payload,s.payload));case 14:u.next=20;break;case 16:return u.prev=16,u.t0=u.catch(1),u.next=20,R.put(V.loadDisplaysFail(u.t0));case 20:case"end":return u.stop()}},A,this,[[1,16]])}function i(e){var t,n,r;return regeneratorRuntime.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return t=e.payload,n=t.display,r=t.resolve,o.prev=1,o.next=4,R.call(N.default,F.default.display+"/"+n.id,{method:"put",data:n});case 4:return o.next=6,R.put(V.displayEdited(n));case 6:r&&r(),o.next=14;break;case 9:return o.prev=9,o.t0=o.catch(1),o.next=13,R.put(V.editDisplayFail(o.t0));case 13:U.errorHandler(o.t0);case 14:case"end":return o.stop()}},x,this,[[1,9]])}function s(e){var t,n,r;return regeneratorRuntime.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return t=e.payload,n=t.display,r=t.resolve,o.prev=1,o.next=4,R.call(N.default,F.default.display+"/"+n.id,{method:"put",data:n});case 4:return o.next=6,R.put(V.currentDisplayEdited(n));case 6:r&&r(),o.next=14;break;case 9:return o.prev=9,o.t0=o.catch(1),o.next=13,R.put(V.editCurrentDisplayFail(o.t0));case 13:U.errorHandler(o.t0);case 14:case"end":return o.stop()}},w,this,[[1,9]])}function l(e){var t,n,r,o;return regeneratorRuntime.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return t=e.payload,n=t.displayId,r=t.slide,o=t.resolve,a.prev=1,a.next=4,R.call(N.default,F.default.display+"/"+n+"/slides",{method:"put",data:[Object.assign({},r,{displayId:n})]});case 4:return a.next=6,R.put(V.currentSlideEdited(r));case 6:a.next=13;break;case 8:return a.prev=8,a.t0=a.catch(1),a.next=12,R.put(V.editCurrentSlideFail(a.t0));case 12:U.errorHandler(a.t0);case 13:case"end":return a.stop()}},j,this,[[1,8]])}function c(e){var t,n,r,o,a,i;return regeneratorRuntime.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return t=e.payload,n=t.cover,r=t.resolve,s.prev=1,o=new FormData,o.append("coverImage",new File([n],"coverImage.png")),s.next=6,R.call(N.default,F.default.display+"/upload/coverImage",{method:"post",data:o});case 6:return a=s.sent,i=B.readObjectAdapter(a),s.next=10,R.put(V.currentSlideCoverUploaded(i));case 10:r(i),s.next=18;break;case 13:return s.prev=13,s.t0=s.catch(1),s.next=17,R.put(V.uploadCurrentSlideCoverFail(s.t0));case 17:U.errorHandler(s.t0);case 18:case"end":return s.stop()}},E,this,[[1,13]])}function d(e){var t;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return t=e.payload.id,n.prev=1,n.next=4,R.call(N.default,F.default.display+"/"+t,{method:"delete"});case 4:return n.next=6,R.put(V.displayDeleted(t));case 6:n.next=13;break;case 8:return n.prev=8,n.t0=n.catch(1),n.next=12,R.put(V.deleteDisplayFail());case 12:U.errorHandler(n.t0);case 13:case"end":return n.stop()}},S,this,[[1,8]])}function u(e){var t,n,r,o,a,i;return regeneratorRuntime.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return t=e.payload,n=t.displayId,r=t.slideId,o=t.layers,s.prev=1,s.next=4,R.call(N.default,F.default.display+"/"+n+"/slides/"+r+"/widgets",{method:"post",data:o});case 4:return a=s.sent,i=B.readListAdapter(a),s.next=8,R.put(V.displayLayersAdded(i));case 8:return s.abrupt("return",i);case 11:return s.prev=11,s.t0=s.catch(1),s.next=15,R.put(V.addDisplayLayersFail());case 15:U.errorHandler(s.t0);case 16:case"end":return s.stop()}},C,this,[[1,11]])}function p(e){var t,n,r,o;return regeneratorRuntime.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return t=e.payload,n=t.displayId,r=t.slideId,o=t.layers,a.prev=1,a.next=4,R.call(N.default,F.default.display+"/"+n+"/slides/"+r+"/widgets",{method:"put",data:o});case 4:return a.next=6,R.put(V.displayLayersEdited(o));case 6:a.next=13;break;case 8:return a.prev=8,a.t0=a.catch(1),a.next=12,R.put(V.editDisplayLayersFail());case 12:U.errorHandler(a.t0);case 13:case"end":return a.stop()}},k,this,[[1,8]])}function f(e){var t,n,r,o;return regeneratorRuntime.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return t=e.payload,n=t.displayId,r=t.slideId,o=t.ids,a.prev=1,a.next=4,R.call(N.default,F.default.display+"/"+n+"/slides/"+r+"/widgets",{method:"delete",data:o});case 4:return a.next=6,R.put(V.displayLayersDeleted(o));case 6:a.next=13;break;case 8:return a.prev=8,a.t0=a.catch(1),a.next=12,R.put(V.deleteDisplayLayersFail());case 12:U.errorHandler(a.t0);case 13:case"end":return a.stop()}},T,this,[[1,8]])}function m(e){var t,n,r,o,a,i;return regeneratorRuntime.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return t=e.payload,n=t.displayId,r=t.slideId,o=t.layers,s.prev=1,s.next=4,R.call(N.default,F.default.display+"/"+n+"/slides/"+r+"/widgets",{method:"post",data:o});case 4:return a=s.sent,i=B.readListAdapter(a),s.next=8,R.put(V.slideLayersPasted(i));case 8:return s.abrupt("return",i);case 11:return s.prev=11,s.t0=s.catch(1),s.next=15,R.put(V.pasteSlideLayersFail());case 15:U.errorHandler(s.t0);case 16:case"end":return s.stop()}},M,this,[[1,11]])}function h(e){var t,n,r,o,a;return regeneratorRuntime.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return t=e.payload,n=t.id,r=t.authName,i.prev=1,i.next=4,R.call(N.default,{method:"get",url:F.default.display+"/"+n+"/share",params:{username:r}});case 4:if(o=i.sent,a=B.readListAdapter(o),!r){i.next=11;break}return i.next=9,R.put(V.displaySecretLinkLoaded(a));case 9:i.next=13;break;case 11:return i.next=13,R.put(V.displayShareLinkLoaded(a));case 13:i.next=20;break;case 15:return i.prev=15,i.t0=i.catch(1),i.next=19,R.put(V.loadDisplayShareLinkFail());case 19:U.errorHandler(i.t0);case 20:case"end":return i.stop()}},O,this,[[1,15]])}function g(e){var t,n,r,o,a,i,s;return regeneratorRuntime.wrap(function(l){for(;;)switch(l.prev=l.next){case 0:t=e.payload.currentState,n=t.displayId,r=t.slide,o=t.lastOperationType,a=t.lastLayers,i=r.id,l.prev=3,l.t0=o,l.next=l.t0===H.ActionTypes.EDIT_CURRENT_SLIDE_SUCCESS?7:l.t0===H.ActionTypes.ADD_DISPLAY_LAYERS_SUCCESS?10:l.t0===H.ActionTypes.PASTE_SLIDE_LAYERS_SUCCESS?10:l.t0===H.ActionTypes.DELETE_DISPLAY_LAYERS_SUCCESS?14:l.t0===H.ActionTypes.EDIT_DISPLAY_LAYERS_SUCCESS?17:20;break;case 7:return l.next=9,R.call(N.default,F.default.display+"/"+n+"/slides",{method:"put",data:[Object.assign({},r,{displayId:n})]});case 9:return l.abrupt("break",20);case 10:return s=a.map(function(e){return e.id}),l.next=13,R.call(N.default,F.default.display+"/"+n+"/slides/"+i+"/widgets",{method:"delete",data:s});case 13:return l.abrupt("break",20);case 14:return l.next=16,R.call(N.default,F.default.display+"/"+n+"/slides/"+i+"/widgets",{method:"post",data:a});case 16:return l.abrupt("break",20);case 17:return l.next=19,R.call(N.default,F.default.display+"/"+n+"/slides/"+i+"/widgets",{method:"put",data:a});case 19:return l.abrupt("break",20);case 20:return l.next=22,R.put(V.undoOperationDone());case 22:l.next=29;break;case 24:return l.prev=24,l.t1=l.catch(3),l.next=28,R.put(V.undoOperationFail());case 28:U.errorHandler(l.t1);case 29:case"end":return l.stop()}},L,this,[[3,24]])}function _(e){var t,n,r,o,a,i,s;return regeneratorRuntime.wrap(function(l){for(;;)switch(l.prev=l.next){case 0:t=e.payload.nextState,n=t.displayId,r=t.slide,o=t.lastOperationType,a=t.lastLayers,i=r.id,l.prev=3,l.t0=o,l.next=l.t0===H.ActionTypes.EDIT_CURRENT_SLIDE_SUCCESS?7:l.t0===H.ActionTypes.ADD_DISPLAY_LAYERS_SUCCESS?10:l.t0===H.ActionTypes.PASTE_SLIDE_LAYERS_SUCCESS?10:l.t0===H.ActionTypes.DELETE_DISPLAY_LAYERS_SUCCESS?13:l.t0===H.ActionTypes.EDIT_DISPLAY_LAYERS_SUCCESS?17:20;break;case 7:return l.next=9,R.call(N.default,F.default.display+"/"+n+"/slides",{method:"put",data:[Object.assign({},r,{displayId:n})]});case 9:return l.abrupt("break",20);case 10:return l.next=12,R.call(N.default,F.default.display+"/"+n+"/slides/"+i+"/widgets",{method:"post",data:a});case 12:return l.abrupt("break",20);case 13:return s=a.map(function(e){return e.id}),l.next=16,R.call(N.default,F.default.display+"/"+n+"/slides/"+i+"/widgets",{method:"delete",data:s});case 16:return l.abrupt("break",20);case 17:return l.next=19,R.call(N.default,F.default.display+"/"+n+"/slides/"+i+"/widgets",{method:"put",data:a});case 19:return l.abrupt("break",20);case 20:return l.next=22,R.put(V.redoOperationDone());case 22:l.next=29;break;case 24:return l.prev=24,l.t1=l.catch(3),l.next=28,R.put(V.redoOperationFail());case 28:U.errorHandler(l.t1);case 29:case"end":return l.stop()}},D,this,[[3,24]])}function b(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,[I.takeLatest(H.ActionTypes.LOAD_DISPLAYS,r),I.takeEvery(H.ActionTypes.ADD_DISPLAY,o),I.takeLatest(H.ActionTypes.LOAD_DISPLAY_DETAIL,a),I.takeEvery(H.ActionTypes.EDIT_DISPLAY,i),I.takeEvery(H.ActionTypes.EDIT_CURRENT_DISPLAY,s),I.takeEvery(H.ActionTypes.EDIT_CURRENT_SLIDE,l),I.takeEvery(H.ActionTypes.UPLOAD_CURRENT_SLIDE_COVER,c),I.takeEvery(H.ActionTypes.DELETE_DISPLAY,d),I.takeEvery(H.ActionTypes.ADD_DISPLAY_LAYERS,u),I.takeEvery(H.ActionTypes.EDIT_DISPLAY_LAYERS,p),I.takeEvery(H.ActionTypes.DELETE_DISPLAY_LAYERS,f),I.takeEvery(H.ActionTypes.PASTE_SLIDE_LAYERS,m),I.takeLatest(H.ActionTypes.LOAD_DISPLAY_SHARE_LINK,h),I.takeEvery(H.ActionTypes.UNDO_OPERATION,g),I.takeEvery(H.ActionTypes.REDO_OPERATION,_)];case 2:case"end":return e.stop()}},P,this)}var v=regeneratorRuntime.mark(r),y=regeneratorRuntime.mark(o),A=regeneratorRuntime.mark(a),x=regeneratorRuntime.mark(i),w=regeneratorRuntime.mark(s),j=regeneratorRuntime.mark(l),E=regeneratorRuntime.mark(c),S=regeneratorRuntime.mark(d),C=regeneratorRuntime.mark(u),k=regeneratorRuntime.mark(p),T=regeneratorRuntime.mark(f),M=regeneratorRuntime.mark(m),O=regeneratorRuntime.mark(h),L=regeneratorRuntime.mark(g),D=regeneratorRuntime.mark(_),P=regeneratorRuntime.mark(b);Object.defineProperty(t,"__esModule",{value:!0});var I=n("./node_modules/_redux-saga@0.15.3@redux-saga/es/index.js"),R=n("./node_modules/_redux-saga@0.15.3@redux-saga/es/effects.js"),N=n("./app/utils/request.ts"),F=n("./app/utils/api.js"),B=n("./app/utils/asyncAdapter.js"),z=n("./app/containers/Display/components/util.ts"),U=n("./app/utils/util.ts"),H=n("./app/containers/Display/constants.ts"),V=n("./app/containers/Display/actions.ts");t.getDisplays=r,t.addDisplay=o,t.getDisplayDetail=a,t.editDisplay=i,t.editCurrentDisplay=s,t.editCurrentSlide=l,t.uploadCurrentSlideCover=c,t.deleteDisplay=d,t.addDisplayLayers=u,t.editDisplayLayers=p,t.deleteDisplayLayers=f,t.pasteSlideLayers=m,t.getDisplayShareLink=h,t.undoOperation=g,t.redoOperation=_,t.default=b},"./app/containers/Display/selectors.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/_reselect@3.0.1@reselect/es/index.js"),o=function(e){return e.get("display")};t.selectDisplay=o;var a=function(){return r.createSelector(o,function(e){return e.present.get("displays")})};t.makeSelectDisplays=a;var i=function(){return r.createSelector(o,function(e){return e.present.get("currentDisplay")})};t.makeSelectCurrentDisplay=i;var s=function(){return r.createSelector(o,function(e){return e.present.get("currentSlide")})};t.makeSelectCurrentSlide=s;var l=function(){return r.createSelector(o,function(e){return e.present.get("currentLayers")})};t.makeSelectCurrentLayers=l;var c=function(){return r.createSelector(o,function(e){return e.present.get("currentLayersInfo")})};t.makeSelectCurrentLayersInfo=c;var d=function(){return r.createSelector(o,function(e){return e.present.get("currentLayersOperationInfo")})};t.makeSelectCurrentLayersOperationInfo=d;var u=function(){return r.createSelector(o,function(e){var t=e.present,n=t.get("currentLayersOperationInfo");return t.get("currentLayers").filter(function(e){return n[e.id].selected})})};t.makeSelectCurrentSelectedLayers=u;var p=function(){return r.createSelector(o,function(e){return e.present.get("clipboardLayers")})};t.makeSelectClipboardLayers=p;var f=function(){return r.createSelector(o,function(e){return e.present.get("currentDisplayShareInfo")})};t.makeSelectCurrentDisplayShareInfo=f;var m=function(){return r.createSelector(o,function(e){return e.present.get("currentDisplaySecretInfo")})};t.makeSelectCurrentDisplaySecretInfo=m;var h=function(){return r.createSelector(o,function(e){return e.present.get("currentDisplayShareInfoLoading")})};t.makeSelectCurrentDisplayShareInfoLoading=h;var g=function(){return r.createSelector(o,function(e){return e.past.length>0})};t.makeSelectCanUndo=g;var _=function(){return r.createSelector(o,function(e){return e.future.length>0})};t.makeSelectCanRedo=_;var b=function(){return r.createSelector(o,function(e){var t=e.present,n=t.get("currentDisplay");return{displayId:n&&n.id,slide:t.get("currentSlide"),layers:t.get("currentLayers"),lastOperationType:t.get("lastOperationType"),lastLayers:t.get("lastLayers")}})};t.makeSelectCurrentState=b;var v=function(){return r.createSelector(o,function(e){var t=e.future;if(0===t.length)return{};var n=t[0];return{displayId:n.get("currentDisplay").id,slide:n.get("currentSlide"),layers:n.get("currentLayers"),lastOperationType:n.get("lastOperationType"),lastLayers:n.get("lastLayers")}})};t.makeSelectNextState=v;var y=function(){return r.createSelector(o,function(e){return e.present.get("editorBaselines")})};t.makeSelectEditorBaselines=y},"./app/containers/LanguageProvider/constants.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CHANGE_LOCALE="app/LanguageToggle/CHANGE_LOCALE"},"./app/containers/LanguageProvider/index.tsx":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:s,t=arguments[1];switch(t.type){case a.CHANGE_LOCALE:return e.set("locale",t.locale);default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/_immutable@3.8.1@immutable/dist/immutable.js"),a=n("./app/containers/LanguageProvider/constants.ts"),i=n("./app/containers/App/constants.ts"),s=o.fromJS({locale:i.DEFAULT_LOCALE});t.default=r},"./app/containers/LanguageProvider/selectors.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/_reselect@3.0.1@reselect/es/index.js"),o=function(e){return e.get("language")};t.selectLanguage=o;var a=function(){return r.createSelector(o,function(e){return e.get("locale")})};t.makeSelectLocale=a},"./app/containers/Login/Login.less":function(e,t,n){var r=n("./node_modules/_css-loader@0.28.4@css-loader/index.js?modules&importLoaders=1!./node_modules/_postcss-loader@1.3.3@postcss-loader/index.js!./node_modules/_less-loader@3.0.0@less-loader/lib/loader.js!./app/containers/Login/Login.less");"string"==typeof r&&(r=[[e.i,r,""]]);var o={};o.transform=void 0;n("./node_modules/_style-loader@0.18.1@style-loader/lib/addStyles.js")(r,o);r.locals&&(e.exports=r.locals)},"./app/containers/Login/LoginForm.tsx":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n-1});n.setState({organizationMembers:t&&t.length?o:n.props.organizationMembers})},n.searchMember=function(){n.forceUpdate(function(){n.MemberForm.validateFieldsAndScroll(function(e,t){if(!e){var r=t.searchValue;n.props.handleSearchMember(r)}})})},n.hideChangeRoleForm=function(){n.setState({changeRoleFormVisible:!1,changeRoleModalLoading:!1},function(){n.ChangeRoleForm.resetFields()})},n.toUserProfile=function(e){return function(){var t=e.id;t&&n.props.toThatUserProfile("account/profile/"+t)}},n.state={formKey:0,category:"",changeRoleFormCategory:"",currentMember:{},formVisible:!1,modalLoading:!1,changeRoleFormVisible:!1,changeRoleModalLoading:!1,organizationMembers:[]},n}return a(t,e),i(t,[{key:"componentDidMount",value:function(){var e=this.props.organizationMembers;e&&this.setState({organizationMembers:e})}},{key:"componentWillReceiveProps",value:function(e){var t=this.props.organizationMembers,n=e.organizationMembers;n&&n!==t&&this.setState({organizationMembers:n})}},{key:"render",value:function(){function e(e,t,n){return e&&e.user&&1===e.user.role}var t=this,n=this.state,r=n.formVisible,o=n.category,a=n.modalLoading,i=n.changeRoleFormVisible,j=n.changeRoleModalLoading,E=n.changeRoleFormCategory,S=n.organizationMembers,C=void 0;S&&S.length&&(C=S.every(e));var k=this.props,T=k.inviteMemberList,M=k.currentOrganization,O=void 0;M&&(O=A.default(M,"")(u));var L=s.createElement(d,{placement:"bottom",title:"邀请"},s.createElement(O,{size:"large",type:"primary",icon:"plus",onClick:this.showMemberForm("member")})),D=[];return D=M&&1===M.role?[{title:"Name",dataIndex:"user",key:"user",render:function(e){return s.createElement("div",{className:g.avatarWrapper},s.createElement(v.default,{path:e.avatar,size:"small",enlarge:!0}),s.createElement("span",{className:g.avatarName,onClick:t.toUserProfile(e)},e.username))}},{title:"role",dataIndex:"user",key:"userKey",render:function(e){return s.createElement("span",null,1===e.role?"Owner":"Member")}},{title:"team",dataIndex:"teamNum",key:"teamNum"},{title:"settings",dataIndex:"user",className:C?_.hide:"",key:"settings",render:function(e,n){return 1===e.role?"":s.createElement("span",null,s.createElement(f,{title:"确定删除此成员吗?",placement:"bottom",onConfirm:t.removeMemberForm(e,n)},x),w,s.createElement("a",{href:"javascript:;",onClick:t.showChangeRoleForm("orgMember",n)},"改变角色"))}}]:[{title:"Name",dataIndex:"user",key:"user",render:function(e){return s.createElement("div",{className:g.avatarWrapper},s.createElement(v.default,{path:e.avatar,size:"small",enlarge:!0}),s.createElement("span",{className:g.avatarName,onClick:t.toUserProfile(e)},e.username))}},{title:"role",dataIndex:"user",key:"userKey",render:function(e){return s.createElement("span",null,1===e.role?"Owner":"Member")}},{title:"team",dataIndex:"teamNum",key:"teamNum"}],s.createElement("div",{className:g.listWrapper},s.createElement(l,null,s.createElement(c,{span:16},s.createElement(p.Search,{size:"large",placeholder:"placeholder",onChange:this.search})),s.createElement(c,{span:1,offset:7},L)),s.createElement(l,null,s.createElement("div",{className:g.tableWrap},s.createElement(h,{bordered:!0,columns:D,dataSource:S}))),s.createElement(m,{key:this.state.formKey,title:null,visible:r,footer:null,onCancel:this.hideMemberForm},s.createElement(b.default,{category:o,submitLoading:a,inviteMemberList:T,handleSearchMember:this.searchMember,organizationOrTeam:this.props.currentOrganization,ref:function(e){t.MemberForm=e},addHandler:this.add})),s.createElement(m,{title:null,visible:i,footer:null,onCancel:this.hideChangeRoleForm},s.createElement(y.default,{category:E,organizationOrTeam:this.props.currentOrganization,submitLoading:j,ref:function(e){t.ChangeRoleForm=e},changeHandler:this.changRole})))}}]),t}(s.PureComponent);t.MemberList=j,t.default=j},"./app/containers/Organizations/component/OrganizationForm.tsx":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=Object.assign||function(e){for(var t=1;t-1}),{keyword:t,pageNum:n.state.pageNum,pageSize:n.state.pageSize});n.props.getOrganizationProjectsByPagination(o)},n.hideProjectForm=function(){n.setState({formVisible:!1,modalLoading:!1},function(){n.ProjectForm.props.form.resetFields()})},n.checkUniqueName=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments[2],o=n.props;(0,o.onCheckUniqueName)("project",{name:t,orgId:o.organizationId,id:(0,n.ProjectForm.props.form.getFieldsValue)().id},function(){r()},function(e){r(e)})},n.onModalOk=function(){var e=n.props,t=e.organizationId,r=e.currentOrganization,o=e.onAddProject,a=e.onEditProject,i=e.onLoadOrganizationProjects,s=n.state.formType;n.ProjectForm.props.form.validateFieldsAndScroll(function(e,l){e||(n.setState({modalLoading:!0}),l.visibility="true"===l.visibility,"organizationProject"===s?o(Object.assign({},l,{orgId:t},{pic:""+Math.ceil(19*Math.random())}),function(){n.hideProjectForm()}):"edit"===s&&a(Object.assign({},l,{orgId:Number(l.orgId)}),function(){i({id:r.id}),n.hideProjectForm()}))})},n.onShowSizeChange=function(e,t){n.setState({pageNum:e,pageSize:t},function(){var e={pageNum:n.state.pageNum,pageSize:n.state.pageSize};n.props.getOrganizationProjectsByPagination(e)})},n.onPaginationChange=function(e){n.setState({pageNum:e},function(){var e={pageNum:n.state.pageNum,pageSize:n.state.pageSize};n.props.getOrganizationProjectsByPagination(e)})},n.state={formType:"",formVisible:!1,modalLoading:!1,pageNum:1,pageSize:10,organizationProjects:!1},n}return a(t,e),i(t,[{key:"componentWillReceiveProps",value:function(e){var t=this.props.organizationProjects,n=e.organizationProjects;n&&n!==t&&this.setState({organizationProjects:n})}},{key:"render",value:function(){var e=this,t=this.state,n=t.formVisible,r=t.formType,o=t.modalLoading,a=t.organizationProjects,i=this.props,y=i.currentOrganization,A=i.organizationProjectsDetail,x=(i.onCheckUniqueName,i.collectProjects),w=void 0;y&&(w=b.default(y,v.CREATE_ORGANIZATION_PROJECT)(u));var j=s.createElement(d,{placement:"bottom",title:"创建"},s.createElement(w,{size:"large",type:"primary",icon:"plus",onClick:this.showProjectForm("organizationProject")})),E=void 0;A&&(E=s.createElement(p,{showSizeChanger:!0,defaultCurrent:2,total:A.total,onShowSizeChange:this.onShowSizeChange,onChange:this.onPaginationChange,defaultPageSize:10,pageSizeOptions:["10","15","20"],current:this.state.pageNum}));var S=Array.isArray(a)?a.map(function(t,n){return s.createElement(g.default,{unStar:e.props.unStar,userList:e.props.userList,starUser:e.props.starUser,collectProjects:x,currentOrganization:y,key:n,loginUser:e.props.loginUser,options:t,toProject:e.props.toProject,deleteProject:e.props.deleteProject,showEditProjectForm:e.showEditProjectForm("edit",t),onClickCollectProjects:e.props.onClickCollectProjects,onLoadCollectProjects:e.props.onLoadCollectProjects})}):"";return s.createElement("div",{className:m.listWrapper},s.createElement(l,null,s.createElement(c,{span:16},s.createElement(f.Search,{size:"large",placeholder:"Project 名称",onChange:this.onSearchProject})),s.createElement(c,{span:1,offset:7},j)),s.createElement(l,null,s.createElement(c,{span:24},S)),s.createElement(l,{type:"flex",justify:"end",style:{marginTop:"16px"}},s.createElement(c,null,E)),s.createElement(h,{title:null,visible:n,footer:null,onCancel:this.hideProjectForm},s.createElement(_.default,{type:r,modalLoading:o,onModalOk:this.onModalOk,onCheckUniqueName:this.checkUniqueName,wrappedComponentRef:this.refHandlers.ProjectForm})))}}]),t}(s.PureComponent);t.ProjectList=y,t.default=y},"./app/containers/Organizations/component/Setting.tsx":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"",r=arguments[2],o=n.props;(0,o.onCheckUniqueName)("team",{name:t,orgId:o.currentOrganization.id,id:null},function(){r()},function(e){r(e)})},n.onModalOk=function(){var e=n.props.currentOrganization;n.TeamForm.validateFieldsAndScroll(function(t,r){t||n.props.onAddTeam(Object.assign({},r,{visibility:!!r.visibility},{orgId:e.id,pic:""+Math.ceil(19*Math.random()),config:"{}"}),function(){var t=e.id;n.props.loadOrganizationTeams&&(n.props.loadOrganizationTeams(Number(t)),n.props.onLoadOrganizationDetail(Number(t)),n.props.onLoadTeams()),n.hideTeamForm()})})},n.hideTeamForm=function(){n.setState({formVisible:!1},function(){n.TeamForm.resetFields()})},n.organizationTypeChange=function(){return new Promise(function(e){n.forceUpdate(function(){return e()})})},n.enterTeam=function(e,t){return function(){var e=t.id;e&&n.props.toThatTeam("account/team/"+e)}},n.isEmptyObj=function(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0},n.filter=function(e){return Array.isArray(e)?(e.forEach(function(e){n.isEmptyObj(e)||(e.key="key"+e.id),e.children&&e.children.length>0&&n.filter(e.children),e.children&&0===e.children.length&&delete e.children}),e):e},n.state={formVisible:!1},n}return a(t,e),s(t,[{key:"componentWillMount",value:function(){(0,this.props.onLoadTeams)()}},{key:"render",value:function(){var e=this,t=this.state.formVisible,n=this.props,r=n.organizationTeams,o=n.currentOrganization,a=n.currentOrganization.id,i=n.teamModalLoading;this.filter(r);var s=void 0;o&&(s=E.default(o,"")(_));var c=l.createElement(g,{placement:"bottom",title:"创建"},l.createElement(s,{size:"large",type:"primary",icon:"plus",onClick:this.showTeamForm()})),d=[{title:"Name",dataIndex:"name",key:"name",width:"40%",render:function(t,n){return l.createElement("a",{href:"javascript:;",onClick:e.enterTeam(t,n),className:y.avatarName},t)}},{title:"Member",dataIndex:"users",key:"users",width:"30%",render:function(e){return l.createElement("div",{className:y.avatarWrapper},e.map(function(e,t){return l.createElement(g,{key:"tooltip"+t,placement:"topRight",title:e.username},l.createElement("span",null,l.createElement(j.default,{key:t,path:e.avatar,size:"small",enlarge:!0})))}),l.createElement("span",{className:y.avatarName},(e?e.length:0)+"members"))}}];return l.createElement("div",{className:y.listWrapper},l.createElement(m,null,l.createElement(h,{span:1,offset:23},c)),l.createElement(m,null,l.createElement("div",{className:y.tableWrap},l.createElement(b,{bordered:!0,columns:d,dataSource:r}))),l.createElement(v,{title:null,visible:t,footer:null,onCancel:this.hideTeamForm},l.createElement(u.default,{orgId:a,teams:this.props.teams,onModalOk:this.onModalOk,modalLoading:i,onOrganizationTypeChange:this.organizationTypeChange,onCheckUniqueName:this.checkNameUnique,ref:function(t){e.TeamForm=t}})))}}]),t}(l.PureComponent);t.TeamList=C;var k=d.createStructuredSelector({teams:p.makeSelectTeams(),loginUser:c.makeSelectLoginUser(),teamModalLoading:S.makeSelectTeamModalLoading()});t.mapDispatchToProps=i,t.default=f.connect(k,i)(C)},"./app/containers/Organizations/constants.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LOAD_ORGANIZATIONS="davinci/Organization/LOAD_ORGANIZATIONS",t.LOAD_ORGANIZATIONS_SUCCESS="davinci/Organization/LOAD_ORGANIZATIONS_SUCCESS",t.LOAD_ORGANIZATIONS_FAILURE="davinci/Organization/LOAD_ORGANIZATIONS_FAILURE",t.ADD_ORGANIZATION="davinci/Organization/ADD_ORGANIZATION",t.ADD_ORGANIZATION_SUCCESS="davinci/Organization/ADD_ORGANIZATION_SUCCESS",t.ADD_ORGANIZATION_FAILURE="davinci/Organization/ADD_ORGANIZATION_FAILURE",t.EDIT_ORGANIZATION="davinci/Organization/EDIT_ORGANIZATION",t.EDIT_ORGANIZATION_SUCCESS="davinci/Organization/EDIT_ORGANIZATION_SUCCESS",t.EDIT_ORGANIZATION_FAILURE="davinci/Organization/EDIT_ORGANIZATION_FAILURE",t.DELETE_ORGANIZATION="davinci/Organization/DELETE_ORGANIZATION",t.DELETE_ORGANIZATION_SUCCESS="davinci/Organization/DELETE_ORGANIZATION_SUCCESS",t.DELETE_ORGANIZATION_FAILURE="davinci/Organization/DELETE_ORGANIZATION_FAILURE",t.LOAD_ORGANIZATION_DETAIL="davinci/Organization/LOAD_ORGANIZATION_DETAIL",t.LOAD_ORGANIZATION_DETAIL_SUCCESS="davinci/Organization/LOAD_ORGANIZATION_DETAIL_SUCCESS",t.LOAD_ORGANIZATION_DETAIL_FAILURE="davinci/Organization/LOAD_ORGANIZATION_DETAIL_FAILURE",t.LOAD_ORGANIZATIONS_PROJECTS="davinci/Organization/LOAD_ORGANIZATIONS_PROJECTS",t.LOAD_ORGANIZATIONS_PROJECTS_SUCCESS="davinci/Organization/LOAD_ORGANIZATIONS_PROJECTS_SUCCESS",t.LOAD_ORGANIZATIONS_PROJECTS_FAILURE="davinci/Organization/LOAD_ORGANIZATIONS_PROJECTS_FAILURE",t.LOAD_ORGANIZATIONS_MEMBERS="davinci/Organization/LOAD_ORGANIZATIONS_MEMBERS",t.LOAD_ORGANIZATIONS_MEMBERS_SUCCESS="davinci/Organization/LOAD_ORGANIZATIONS_MEMBERS_SUCCESS",t.LOAD_ORGANIZATIONS_MEMBERS_FAILURE="davinci/Organization/LOAD_ORGANIZATIONS_MEMBERS_FAILURE",t.LOAD_ORGANIZATIONS_TEAMS="davinci/Organization/LOAD_ORGANIZATIONS_TEAMS",t.LOAD_ORGANIZATIONS_TEAMS_SUCCESS="davinci/Organization/LOAD_ORGANIZATIONS_TEAMS_SUCCESS",t.LOAD_ORGANIZATIONS_TEAMS_FAILURE="davinci/Organization/LOAD_ORGANIZATIONS_TEAMS_FAILURE",t.ADD_TEAM="davinci/Organization/ADD_TEAM",t.ADD_TEAM_SUCCESS="davinci/Organization/ADD_TEAM_SUCCESS",t.ADD_TEAM_FAILURE="davinci/Organization/ADD_TEAM_FAILURE",t.SEARCH_MEMBER="davinci/Organization/SEARCH_MEMBER",t.SEARCH_MEMBER_SUCCESS="davinci/Organization/SEARCH_MEMBER_SUCCESS",t.SEARCH_MEMBER_FAILURE="davinci/Organization/SEARCH_MEMBER_FAILURE",t.INVITE_MEMBER="davinci/Organization/INVITE_MEMBER",t.INVITE_MEMBER_SUCCESS="davinci/Organization/INVITE_MEMBER_SUCCESS",t.INVITE_MEMBER_FAILURE="davinci/Organization/INVITE_MEMBER_FAILURE",t.DELETE_ORGANIZATION_MEMBER="davinci/Organization/DELETE_ORGANIZATION_MEMBER",t.DELETE_ORGANIZATION_MEMBER_SUCCESS="davinci/Organization/DELETE_ORGANIZATION_MEMBER_SUCCESS",t.DELETE_ORGANIZATION_MEMBER_ERROR="davinci/Organization/DELETE_ORGANIZATION_MEMBER_ERROR",t.CHANGE_MEMBER_ROLE_ORGANIZATION="davinci/Organization/CHANGE_MEMBER_ROLE_ORGANIZATION",t.CHANGE_MEMBER_ROLE_ORGANIZATION_SUCCESS="davinci/Organization/CHANGE_MEMBER_ROLE_ORGANIZATION_SUCCESS",t.CHANGE_MEMBER_ROLE_ORGANIZATION_ERROR="davinci/Organization/CHANGE_MEMBER_ROLE_ORGANIZATION_ERROR"},"./app/containers/Organizations/index.tsx":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function i(e){return{onLoadOrganizations:function(){return e(b.loadOrganizations())},onAddOrganization:function(t,n){return e(b.addOrganization(t,n))},onCheckUniqueName:function(t,n,r,o){return e(S.checkNameUniqueAction(t,n,r,o))}}}var s=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:"",r=arguments[2];(0,n.props.onCheckUniqueName)("organization",{name:t,id:(0,n.OrganizationForm.getFieldsValue)().id},function(){r()},function(e){r(e)})},n.toOrganization=function(e){return function(){n.props.router.push("/account/organization/"+e.id)}},n.showOrganizationForm=function(){return function(e){e.stopPropagation(),n.setState({formVisible:!0})}},n.onModalOk=function(){n.OrganizationForm.validateFieldsAndScroll(function(e,t){e||(n.setState({modalLoading:!0}),n.props.onAddOrganization(Object.assign({},t,{config:"{}"}),function(){n.hideOrganizationForm()}))})},n.hideOrganizationForm=function(){n.setState({formVisible:!1,modalLoading:!1},function(){n.OrganizationForm.resetFields()})},n.state={formVisible:!1,modalLoading:!1},n}return a(t,e),s(t,[{key:"componentWillMount",value:function(){(0,this.props.onLoadOrganizations)()}},{key:"render",value:function(){var e=this,t=this.state,n=t.formVisible,r=t.modalLoading,o=this.props.organizations;console.log({organizations:o});var a=o?o.map(function(t){return l.createElement("div",{className:A.groupList,key:t.id,onClick:e.toOrganization(t)},l.createElement("div",{className:A.orgHeader},l.createElement("div",{className:A.avatar},l.createElement(E.default,{path:t.avatar,enlarge:!1,size:"small"}),l.createElement("div",{className:A.name},l.createElement("div",{className:A.title},t.name,1===t.role?l.createElement("span",{className:A.nameTag},"Owner"):null),l.createElement("div",{className:A.desc},t.description)))),l.createElement("div",{className:A.setting},C))}):"";return l.createElement(h.default,null,l.createElement(h.default.Header,null,l.createElement(h.default.Title,null,l.createElement(u,null,l.createElement(p,{span:20},l.createElement(j,{className:w.breadcrumb},k)),l.createElement(p,{span:1,offset:3},l.createElement(d,{type:"plus-circle-o",className:A.create,onClick:this.showOrganizationForm()}))))),a,l.createElement(f,{title:null,visible:n,footer:null,onCancel:this.hideOrganizationForm},l.createElement(x.default,{ref:function(t){e.OrganizationForm=t},modalLoading:r,onModalOk:this.onModalOk,onCheckUniqueName:this.checkNameUnique})))}}]),t}(l.PureComponent);t.Organizations=T;var M=v.createStructuredSelector({organizations:y.makeSelectOrganizations(),loginUser:_.makeSelectLoginUser()});t.mapDispatchToProps=i;var O=c.connect(M,i);t.default=g.compose(O)(T)},"./app/containers/Organizations/reducer.ts":function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments[1],n=t.type,r=t.payload,o=e.get("organizations"),l=e.get("currentOrganizationMembers"),c=e.get("currentOrganizationProjects");switch(n){case a.DELETE_ORGANIZATION_MEMBER_SUCCESS:return l?e.set("currentTeamMembers",l.filter(function(e){return e.id!==r.id})):e;case a.LOAD_ORGANIZATIONS_PROJECTS_SUCCESS:return e.set("currentOrganizationProjects",r.projects.list).set("currentOrganizationProjectsDetail",r.projects);case a.LOAD_ORGANIZATIONS_MEMBERS_SUCCESS:return e.set("currentOrganizationMembers",r.members);case a.LOAD_ORGANIZATIONS_TEAMS_SUCCESS:return e.set("currentOrganizationTeams",r.teams);case a.LOAD_ORGANIZATIONS_SUCCESS:return e.set("organizations",r.organizations);case i.ADD_PROJECT_SUCCESS:return c?(c.unshift(r.result),e.set("currentOrganizationProjects",c.slice())):e.set("currentOrganizationProjects",[r.result]);case i.DELETE_PROJECT_SUCCESS:return c?e.set("currentOrganizationProjects",c.filter(function(e){return e.id!==r.id})):e;case a.LOAD_ORGANIZATIONS_FAILURE:return e;case a.ADD_ORGANIZATION_SUCCESS:return o?(o.unshift(r.result),e.set("organizations",o.slice())):e.set("organizations",[r.result]);case a.ADD_ORGANIZATION_FAILURE:return e;case a.EDIT_ORGANIZATION_SUCCESS:return o.splice(o.findIndex(function(e){return e.id===r.result.id}),1,r.result),e.set("organizations",o.slice());case a.DELETE_ORGANIZATION_SUCCESS:return e.set("organizations",o.filter(function(e){return e.id!==r.id}));case a.LOAD_ORGANIZATION_DETAIL:return e.set("currentOrganizationLoading",!0);case a.LOAD_ORGANIZATION_DETAIL_SUCCESS:return e.set("currentOrganizationLoading",!1).set("currentOrganization",r.organization);case a.LOAD_ORGANIZATION_DETAIL_FAILURE:return e;case a.ADD_TEAM:return e.set("teamModalLoading",!0);case a.ADD_TEAM_SUCCESS:case a.ADD_TEAM_FAILURE:return e.set("teamModalLoading",!1);case a.SEARCH_MEMBER_SUCCESS:return e.set("inviteMemberLists",r.result);default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/_immutable@3.8.1@immutable/dist/immutable.js"),a=n("./app/containers/Organizations/constants.ts"),i=n("./app/containers/Projects/constants.ts"),s=o.fromJS({organizations:[],currentOrganization:{},currentOrganizationLoading:!1,currentOrganizationProjects:[],currentOrganizationProjectsDetail:!1,currentOrganizationTeams:[],currentOrganizationMembers:[],inviteMemberLists:[],teamModalLoading:!1});t.default=r},"./app/containers/Organizations/sagas.ts":function(e,t,n){"use strict";function r(){var e,t;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,L.call(R.default,N.default.organizations);case 3:return e=n.sent,t=F.readListAdapter(e),n.next=7,L.put(P.organizationsLoaded(t));case 7:n.next=14;break;case 9:return n.prev=9,n.t0=n.catch(0),n.next=13,L.put(P.loadOrganizationsFail());case 13:B.errorHandler(n.t0);case 14:case"end":return n.stop()}},_,this,[[0,9]])}function o(e){var t,n,r,o,a;return regeneratorRuntime.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return t=e.payload,n=t.organization,r=t.resolve,i.prev=1,i.next=4,L.call(R.default,{method:"post",url:N.default.organizations,data:n});case 4:return o=i.sent,a=F.readListAdapter(o),i.next=8,L.put(P.organizationAdded(a));case 8:r(),i.next=16;break;case 11:return i.prev=11,i.t0=i.catch(1),i.next=15,L.put(P.addOrganizationFail());case 15:B.errorHandler(i.t0);case 16:case"end":return i.stop()}},b,this,[[1,11]])}function a(e){var t;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return t=e.payload.organization,n.prev=1,n.next=4,L.call(R.default,{method:"put",url:N.default.organizations+"/"+t.id,data:t});case 4:return n.next=6,L.put(P.organizationEdited(t));case 6:I.success("success"),n.next=14;break;case 9:return n.prev=9,n.t0=n.catch(1),n.next=13,L.put(P.editOrganizationFail());case 13:B.errorHandler(n.t0);case 14:case"end":return n.stop()}},v,this,[[1,9]])}function i(e){var t,n,r;return regeneratorRuntime.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return t=e.payload,n=t.id,r=t.resolve,o.prev=1,o.next=4,L.call(R.default,{method:"delete",url:N.default.organizations+"/"+n});case 4:return o.next=6,L.put(P.organizationDeleted(n));case 6:r(),o.next=14;break;case 9:return o.prev=9,o.t0=o.catch(1),o.next=13,L.put(P.deleteOrganizationFail());case 13:B.errorHandler(o.t0);case 14:case"end":return o.stop()}},y,this,[[1,9]])}function s(e){var t,n,r=e.payload;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,L.call(R.default,N.default.organizations+"/"+r.id);case 3:return t=e.sent,n=F.readListAdapter(t),e.next=7,L.put(P.organizationDetailLoaded(n));case 7:e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),B.errorHandler(e.t0);case 12:case"end":return e.stop()}},A,this,[[0,9]])}function l(e){var t,n,r,o,a,i,s,l,c=e.payload;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=c.param,n=t.id,r=t.keyword,o=t.pageNum,a=t.pageSize,i=r?N.default.organizations+"/"+n+"/projects?keyword="+r+"&pageNum=1&pageSize="+(a||10):N.default.organizations+"/"+n+"/projects/?pageNum="+(o||1)+"&pageSize="+(a||10),e.prev=2,e.next=5,L.call(R.default,{method:"get",url:i});case 5:return s=e.sent,l=F.readListAdapter(s),e.next=9,L.put(P.organizationsProjectsLoaded(l));case 9:e.next=16;break;case 11:return e.prev=11,e.t0=e.catch(2),e.next=15,L.put(P.loadOrganizationsProjectsFail());case 15:B.errorHandler(e.t0);case 16:case"end":return e.stop()}},x,this,[[2,11]])}function c(e){var t,n,r,o=e.payload;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=o.id,e.prev=1,e.next=4,L.call(R.default,N.default.organizations+"/"+t+"/members");case 4:return n=e.sent,r=F.readListAdapter(n),e.next=8,L.put(P.organizationsMembersLoaded(r));case 8:e.next=15;break;case 10:return e.prev=10,e.t0=e.catch(1),e.next=14,L.put(P.loadOrganizationsMembersFail());case 14:B.errorHandler(e.t0);case 15:case"end":return e.stop()}},w,this,[[1,10]])}function d(e){var t,n,r,o=e.payload;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=o.id,e.prev=1,e.next=4,L.call(R.default,N.default.organizations+"/"+t+"/teams");case 4:return n=e.sent,r=F.readListAdapter(n),e.next=8,L.put(P.organizationsTeamsLoaded(r));case 8:e.next=15;break;case 10:return e.prev=10,e.t0=e.catch(1),e.next=14,L.put(P.loadOrganizationsTeamsFail());case 14:B.errorHandler(e.t0);case 15:case"end":return e.stop()}},j,this,[[1,10]])}function u(e){var t,n,r,o,a;return regeneratorRuntime.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return t=e.payload,n=t.team,r=t.resolve,i.prev=1,i.next=4,L.call(R.default,{method:"post",url:N.default.teams,data:n});case 4:return o=i.sent,a=F.readListAdapter(o),i.next=8,L.put(P.teamAdded(a));case 8:r(),i.next=16;break;case 11:return i.prev=11,i.t0=i.catch(1),i.next=15,L.put(P.addTeamFail());case 15:B.errorHandler(i.t0);case 16:case"end":return i.stop()}},E,this,[[1,11]])}function p(e){var t,n,r,o,a,i=e.payload;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=i.keyword,e.prev=1,e.next=4,L.call(R.default,{method:"get",url:N.default.user+"?keyword="+t});case 4:return n=e.sent,r=n&&n.header&&n.header.msg?n.header.msg:"",o=n&&n.header&&n.header.code?n.header.code:"",a=F.readListAdapter(n),e.next=10,L.put(P.memberSearched(a));case 10:e.next=17;break;case 12:return e.prev=12,e.t0=e.catch(1),e.next=16,L.put(P.searchMemberFail());case 16:B.errorHandler(e.t0);case 17:case"end":return e.stop()}},S,this,[[1,12]])}function f(e){var t,n,r,o,a=e.payload;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=a.orgId,n=a.memId,e.prev=1,e.next=4,L.call(R.default,{method:"post",url:N.default.organizations+"/"+t+"/member/"+n,data:{orgId:t,memId:n}});case 4:return r=e.sent,o=F.readListAdapter(r),e.next=8,L.put(P.inviteMemberSuccess(o));case 8:e.next=15;break;case 10:return e.prev=10,e.t0=e.catch(1),e.next=14,L.put(P.inviteMemberFail());case 14:B.errorHandler(e.t0);case 15:case"end":return e.stop()}},C,this,[[1,10]])}function m(e){var t,n,r,o=e.payload;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=o.relationId,n=o.resolve,e.prev=1,e.next=4,L.call(R.default,{url:N.default.organizations+"/member/"+t,method:"delete"});case 4:return r=e.sent,e.next=7,L.put(P.organizationMemberDeleted(t));case 7:n(),e.next=15;break;case 10:return e.prev=10,e.t0=e.catch(1),e.next=14,L.put(P.deleteOrganizationMemberFail());case 14:B.errorHandler(e.t0);case 15:case"end":return e.stop()}},k,this,[[1,10]])}function h(e){var t,n,r,o,a,i=e.payload;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=i.relationId,n=i.newRole,r=i.resolve,e.prev=1,e.next=4,L.call(R.default,{url:N.default.organizations+"/member/"+t,method:"put",data:{role:n}});case 4:return o=e.sent,a=F.readListAdapter(o),e.next=8,L.put(P.organizationMemberRoleChanged(t,a));case 8:return e.next=10,r();case 10:e.next=17;break;case 12:return e.prev=12,e.t0=e.catch(1),e.next=16,L.put(P.changeOrganizationMemberRoleFail());case 16:B.errorHandler(e.t0);case 17:case"end":return e.stop()}},T,this,[[1,12]])}function g(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,[O.takeLatest(D.LOAD_ORGANIZATIONS,r),O.takeEvery(D.ADD_ORGANIZATION,o),O.takeEvery(D.EDIT_ORGANIZATION,a),O.takeEvery(D.DELETE_ORGANIZATION,i),O.takeLatest(D.LOAD_ORGANIZATION_DETAIL,s),O.takeLatest(D.LOAD_ORGANIZATIONS_MEMBERS,c),O.takeLatest(D.LOAD_ORGANIZATIONS_PROJECTS,l),O.takeLatest(D.LOAD_ORGANIZATIONS_TEAMS,d),O.takeEvery(D.ADD_TEAM,u),O.takeLatest(D.INVITE_MEMBER,f),O.throttle(600,D.SEARCH_MEMBER,p),O.takeLatest(D.DELETE_ORGANIZATION_MEMBER,m),O.takeLatest(D.CHANGE_MEMBER_ROLE_ORGANIZATION,h)];case 2:case"end":return e.stop()}},M,this)}var _=regeneratorRuntime.mark(r),b=regeneratorRuntime.mark(o),v=regeneratorRuntime.mark(a),y=regeneratorRuntime.mark(i),A=regeneratorRuntime.mark(s),x=regeneratorRuntime.mark(l),w=regeneratorRuntime.mark(c),j=regeneratorRuntime.mark(d),E=regeneratorRuntime.mark(u),S=regeneratorRuntime.mark(p),C=regeneratorRuntime.mark(f),k=regeneratorRuntime.mark(m),T=regeneratorRuntime.mark(h),M=regeneratorRuntime.mark(g);Object.defineProperty(t,"__esModule",{value:!0});var O=n("./node_modules/_redux-saga@0.15.3@redux-saga/es/index.js"),L=n("./node_modules/_redux-saga@0.15.3@redux-saga/es/effects.js"),D=n("./app/containers/Organizations/constants.ts"),P=n("./app/containers/Organizations/actions.ts"),I=n("./node_modules/_antd@2.13.14@antd/lib/message/index.js"),R=n("./app/utils/request.ts"),N=n("./app/utils/api.js"),F=n("./app/utils/asyncAdapter.js"),B=n("./app/utils/util.ts");t.getOrganizations=r,t.addOrganization=o,t.editOrganization=a,t.deleteOrganization=i,t.getOrganizationDetail=s,t.getOrganizationsProjects=l,t.getOrganizationsMembers=c,t.getOrganizationsTeams=d,t.addTeam=u,t.searchMember=p,t.inviteMember=f,t.deleteOrganizationMember=m,t.changeOrganizationMemberRole=h,t.default=g},"./app/containers/Organizations/selectors.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/_reselect@3.0.1@reselect/es/index.js"),o=function(e){return e.get("organization")};t.selectOrganization=o;var a=function(){return r.createSelector(o,function(e){return e.get("organizations")})};t.makeSelectOrganizations=a;var i=function(){return r.createSelector(o,function(e){return e.get("inviteMemberLists")})};t.makeSelectInviteMemberList=i;var s=function(){return r.createSelector(o,function(e){return e.get("currentOrganization")})};t.makeSelectCurrentOrganizations=s;var l=function(){return r.createSelector(o,function(e){return e.get("currentOrganizationProjects")})};t.makeSelectCurrentOrganizationProjects=l;var c=function(){return r.createSelector(o,function(e){return e.get("currentOrganizationProjectsDetail")})};t.makeSelectCurrentOrganizationProjectsDetail=c;var d=function(){return r.createSelector(o,function(e){return e.get("currentOrganizationTeams")})};t.makeSelectCurrentOrganizationTeams=d;var u=function(){return r.createSelector(o,function(e){return e.get("currentOrganizationMembers")})};t.makeSelectCurrentOrganizationMembers=u;var p=function(){return r.createSelector(o,function(e){return e.get("teamModalLoading")})};t.makeSelectTeamModalLoading=p},"./app/containers/Portal/Portal.less":function(e,t,n){var r=n("./node_modules/_css-loader@0.28.4@css-loader/index.js?modules&importLoaders=1!./node_modules/_postcss-loader@1.3.3@postcss-loader/index.js!./node_modules/_less-loader@3.0.0@less-loader/lib/loader.js!./app/containers/Portal/Portal.less");"string"==typeof r&&(r=[[e.i,r,""]]);var o={};o.transform=void 0;n("./node_modules/_style-loader@0.18.1@style-loader/lib/addStyles.js")(r,o);r.locals&&(e.exports=r.locals)},"./app/containers/Portal/actions.ts":function(e,t,n){"use strict";function r(e){return{type:h.LOAD_PORTALS,payload:{projectId:e}}}function o(e){return{type:h.LOAD_PORTALS_SUCCESS,payload:{result:e}}}function a(){return{type:h.LOAD_PORTALS_FAILURE}}function i(e,t){return{type:h.ADD_PORTAL,payload:{values:e,resolve:t}}}function s(e){return{type:h.ADD_PORTAL_SUCCESS,payload:{result:e}}}function l(){return{type:h.ADD_PORTAL_FAILURE}}function c(e,t){return{type:h.EDIT_PORTAL,payload:{values:e,resolve:t}}}function d(e){return{type:h.EDIT_PORTAL_SUCCESS,payload:{result:e}}}function u(){return{type:h.EDIT_PORTAL_FAILURE}}function p(e){return{type:h.DELETE_PORTAL,payload:{id:e}}}function f(e){return{type:h.DELETE_PORTAL_SUCCESS,payload:{id:e}}}function m(){return{type:h.DELETE_PORTAL_FAILURE}}Object.defineProperty(t,"__esModule",{value:!0});var h=n("./app/containers/Portal/constants.ts");t.loadPortals=r,t.portalsLoaded=o,t.loadPortalsFail=a,t.addPortal=i,t.portalAdded=s,t.addPortalFail=l,t.editPortal=c,t.portalEdited=d,t.editPortalFail=u,t.deletePortal=p,t.portalDeleted=f,t.deletePortalFail=m},"./app/containers/Portal/components/PortalForm.tsx":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"",r=arguments[2],o=e.props,a=o.onCheckUniqueName,i=o.type,s=o.form,l=o.projectId,c=s.getFieldsValue(),d=c.id;a("dashboardPortal",{projectId:l,id:"add"===i?"":d,name:n},function(){r()},function(e){r(e)})},e}return a(t,e),s(t,[{key:"render",value:function(){var e=this.props.form.getFieldDecorator,t={labelCol:{span:6},wrapperCol:{span:16}};return l.createElement(c,null,l.createElement(d,{gutter:8},l.createElement(u,{span:24},l.createElement(m,{className:g.hide},e("id",{hidden:"add"===this.props.type})(_)),l.createElement(m,{className:g.hide},e("avatar",{})(b)),l.createElement(m,i({label:"名称"},t,{hasFeedback:!0}),e("name",{rules:[{required:!0,message:"Name 不能为空"},{validator:this.checkNameUnique}]})(v))),l.createElement(u,{span:24},l.createElement(m,i({label:"描述"},t),e("description",{initialValue:""})(l.createElement(p,{placeholder:"Description",type:"textarea",autosize:{minRows:2,maxRows:6}})))),l.createElement(u,{span:24},l.createElement(m,i({label:"是否发布"},t),e("publish",{initialValue:!0})(y)))))}}]),t}(l.PureComponent);t.PortalForm=A,t.default=c.create()(A)},"./app/containers/Portal/components/PortalList.tsx":function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t1?t-1:0),o=1;o0&&void 0!==arguments[0]?arguments[0]:i,t=arguments[1],n=t.type,r=t.payload,a=e.get("portals");switch(n){case o.LOAD_PORTALS:return e;case o.LOAD_PORTALS_SUCCESS:return e.set("portals",r.result);case o.LOAD_PORTALS_FAILURE:case o.ADD_PORTAL:return e;case o.ADD_PORTAL_SUCCESS:return a.unshift(r.result),e.set("portals",a.slice());case o.ADD_PORTAL_FAILURE:case o.DELETE_PORTAL:return e;case o.DELETE_PORTAL_SUCCESS:return e.set("portals",a.filter(function(e){return e.id!==r.id}));case o.DELETE_PORTAL_FAILURE:case o.EDIT_PORTAL:return e;case o.EDIT_PORTAL_SUCCESS:return a.splice(a.findIndex(function(e){return e.id===r.result.id}),1,r.result),e.set("portals",a.slice());case o.EDIT_PORTAL_FAILURE:default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./app/containers/Portal/constants.ts"),a=n("./node_modules/_immutable@3.8.1@immutable/dist/immutable.js"),i=a.fromJS({portals:!1});t.default=r},"./app/containers/Portal/sagas.ts":function(e,t,n){"use strict";function r(e){var t,n,r;return regeneratorRuntime.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return t=e.payload,o.prev=1,o.next=4,m.call(_.default,b.default.portal+"?projectId="+t.projectId);case 4:return n=o.sent,r=v.readListAdapter(n),o.next=8,m.put(g.portalsLoaded(r));case 8:o.next=15;break;case 10:return o.prev=10,o.t0=o.catch(1),o.next=14,m.put(g.loadPortalsFail());case 14:y.errorHandler(o.t0);case 15:case"end":return o.stop()}},l,this,[[1,10]])}function o(e){var t,n;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.payload,r.prev=1,r.next=4,m.call(_.default,{method:"post",url:b.default.portal,data:t.values});case 4:return n=r.sent,r.next=7,m.put(g.portalAdded(n.payload));case 7:t.resolve(),r.next=15;break;case 10:return r.prev=10,r.t0=r.catch(1),r.next=14,m.put(g.addPortalFail());case 14:y.errorHandler(r.t0);case 15:case"end":return r.stop()}},c,this,[[1,10]])}function a(e){var t;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return t=e.payload,n.prev=1,n.next=4,m.call(_.default,{method:"delete",url:b.default.portal+"/"+t.id});case 4:return n.next=6,m.put(g.portalDeleted(t.id));case 6:n.next=13;break;case 8:return n.prev=8,n.t0=n.catch(1),n.next=12,m.put(g.deletePortalFail());case 12:y.errorHandler(n.t0);case 13:case"end":return n.stop()}},d,this,[[1,8]])}function i(e){var t;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return t=e.payload,n.prev=1,n.next=4,m.call(_.default,{method:"put",url:b.default.portal+"/"+t.values.id,data:t.values});case 4:return n.next=6,m.put(g.portalEdited(t.values));case 6:t.resolve(),n.next=14;break;case 9:return n.prev=9,n.t0=n.catch(1),n.next=13,m.put(g.editPortalFail());case 13:y.errorHandler(n.t0);case 14:case"end":return n.stop()}},u,this,[[1,9]])}function s(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,[f.takeLatest(h.LOAD_PORTALS,r),f.takeEvery(h.ADD_PORTAL,o),f.takeEvery(h.DELETE_PORTAL,a),f.takeEvery(h.EDIT_PORTAL,i)];case 2:case"end":return e.stop()}},p,this)}var l=regeneratorRuntime.mark(r),c=regeneratorRuntime.mark(o),d=regeneratorRuntime.mark(a),u=regeneratorRuntime.mark(i),p=regeneratorRuntime.mark(s);Object.defineProperty(t,"__esModule",{value:!0});var f=n("./node_modules/_redux-saga@0.15.3@redux-saga/es/index.js"),m=n("./node_modules/_redux-saga@0.15.3@redux-saga/es/effects.js"),h=n("./app/containers/Portal/constants.ts"),g=n("./app/containers/Portal/actions.ts"),_=n("./app/utils/request.ts"),b=n("./app/utils/api.js"),v=n("./app/utils/asyncAdapter.js"),y=n("./app/utils/util.ts");t.getPortals=r,t.addPortal=o,t.deletePortal=a,t.editPortal=i,t.default=s},"./app/containers/Portal/selectors.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/_reselect@3.0.1@reselect/es/index.js"),o=function(e){return e.get("portal")};t.selectPortal=o;var a=function(){return r.createSelector(o,function(e){return e.get("portals")})};t.makeSelectPortals=a},"./app/containers/Profile/UserProfile.tsx":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function i(e){return{onGetUserProfile:function(t){return e(S.getUserProfile(t))}}}var s=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"",r=arguments[2],o=e.props;(0,o.onCheckUniqueName)("user",{username:n,id:o.loginUser.id},function(){r()},function(e){r(e)})},e.submit=function(){var t=e.props,n=t.onUpdateProfile,r=t.loginUser.id,o=e.props.form.getFieldsValue();n(r,o.name,o.description,o.department,function(e){m.success(e.header&&e.header.msg)})},e}return a(t,e),l(t,[{key:"componentDidMount",value:function(){var e=this.props.loginUser,t=e.name,n=e.description,r=e.department;this.props.form.setFieldsValue({name:t,description:n,department:r})}},{key:"render",value:function(){var e=this.props.form.getFieldDecorator,t=this.props.loginUser,n=t.id,r=t.avatar,o={labelCol:{span:4},wrapperCol:{span:18}};return c.createElement(A.default,null,c.createElement(A.default.Header,null,c.createElement(A.default.Title,null,c.createElement(k,{className:C.breadcrumb},T))),c.createElement(A.default.Body,null,c.createElement("div",{className:v.container},c.createElement("div",{className:v.uploadWrapper},c.createElement(x.default,{type:"profile",xhrParams:{id:n,callback:this.props.onUploadAvatarSuccess},path:r})),M,c.createElement("div",{className:v.form},c.createElement(_,{className:v.formView},c.createElement(h,null,c.createElement(f,null,c.createElement(b,s({className:v.hide},o),e("id",{})(O)),c.createElement(b,s({},o,{label:"姓名"}),e("name",{initialValue:"",rules:[{required:!0},{validator:this.checkNameUnique}]})(L))),c.createElement(f,null,c.createElement(b,s({},o,{label:"描述"}),e("description",{initialValue:""})(D))),c.createElement(f,null,c.createElement(b,s({},o,{label:"部门"}),e("department",{initialValue:""})(P))),c.createElement(f,{offset:4},c.createElement(y,{size:"large",type:"primary",onClick:this.submit},"保存设置"))))))))}}]),t}(c.PureComponent);t.Profile=I,t.mapDispatchToProps=i;var R=w.createStructuredSelector({loginUser:j.makeSelectLoginUser()}),N=d.connect(R,i);t.default=E.compose(N)(_.create()(I))},"./app/containers/Profile/profile.less":function(e,t,n){var r=n("./node_modules/_css-loader@0.28.4@css-loader/index.js?modules&importLoaders=1!./node_modules/_postcss-loader@1.3.3@postcss-loader/index.js!./node_modules/_less-loader@3.0.0@less-loader/lib/loader.js!./app/containers/Profile/profile.less");"string"==typeof r&&(r=[[e.i,r,""]]);var o={};o.transform=void 0;n("./node_modules/_style-loader@0.18.1@style-loader/lib/addStyles.js")(r,o);r.locals&&(e.exports=r.locals)},"./app/containers/Profile/reducer.ts":function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,t=arguments[1],n=t.type,r=t.payload;switch(n){case o.GET_USER_PROFILE:return e.set("loading",!0);case o.GET_USER_PROFILE_SUCCESS:return e.set("loading",!1).set("userProfile",r.result);default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./app/containers/Profile/constants.ts"),a=n("./node_modules/_immutable@3.8.1@immutable/dist/immutable.js"),i=a.fromJS({userProfile:!1,loading:!1});t.default=r},"./app/containers/Profile/sagas.ts":function(e,t,n){"use strict";function r(e){var t,n,r;return regeneratorRuntime.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return t=e.payload.id,o.prev=1,o.next=4,l.call(u.default,{method:"get",url:p.default.user+"/profile/"+t});case 4:return n=o.sent,r=f.readListAdapter(n),o.next=8,l.put(d.userProfileGot(r));case 8:o.next=15;break;case 10:return o.prev=10,o.t0=o.catch(1),o.next=14,l.put(d.getUserProfileFail());case 14:m.errorHandler(o.t0);case 15:case"end":return o.stop()}},a,this,[[1,10]])}function o(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,[s.takeLatest(c.GET_USER_PROFILE,r)];case 2:case"end":return e.stop()}},i,this)}var a=regeneratorRuntime.mark(r),i=regeneratorRuntime.mark(o);Object.defineProperty(t,"__esModule",{value:!0});var s=n("./node_modules/_redux-saga@0.15.3@redux-saga/es/index.js"),l=n("./node_modules/_redux-saga@0.15.3@redux-saga/es/effects.js"),c=n("./app/containers/Profile/constants.ts"),d=n("./app/containers/Profile/actions.ts"),u=n("./app/utils/request.ts"),p=n("./app/utils/api.js"),f=n("./app/utils/asyncAdapter.js"),m=n("./app/utils/util.ts");t.getUserProfile=r,t.default=o},"./app/containers/Profile/selectors.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/_reselect@3.0.1@reselect/es/index.js"),o=function(e){return e.get("profile")},a=function(){return r.createSelector(o,function(e){return e.get("userProfile")})};t.makeSelectUserProfile=a;var i=function(){return r.createSelector(o,function(e){return e.get("loading")})};t.makeSelectLoading=i},"./app/containers/Projects/Project.less":function(e,t,n){var r=n("./node_modules/_css-loader@0.28.4@css-loader/index.js?modules&importLoaders=1!./node_modules/_postcss-loader@1.3.3@postcss-loader/index.js!./node_modules/_less-loader@3.0.0@less-loader/lib/loader.js!./app/containers/Projects/Project.less");"string"==typeof r&&(r=[[e.i,r,""]]);var o={};o.transform=void 0;n("./node_modules/_style-loader@0.18.1@style-loader/lib/addStyles.js")(r,o);r.locals&&(e.exports=r.locals)},"./app/containers/Projects/ProjectForm.tsx":function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"",r=arguments[2],o=n.props.onCheckUniqueName,a=n.ProjectForm.getFieldsValue,i=a();o("project",{name:t,orgId:i.orgId,id:i.id},function(){r()},function(e){r(e)})},n.toProject=function(e){return function(){var t=e.id;n.props.router.push("/project/"+t),n.saveHistory(e)}},n.saveHistory=function(e){V.pushNode(e)},n.hideSearchMask=function(){n.setState({searchMaskVisible:!0,searchKeywordsVisible:!0})},n.onChangeKeywords=function(e){var t={keywords:e.target.value.trim(),pageNum:n.state.currentPage,pageSize:n.state.pageSize};n.setState({keywords:e.target.value.trim()},function(){return n.props.onSearchProject(t)})},n.selectKeywords=function(e){return function(){var t={keywords:e,pageNum:n.state.currentPage,pageSize:n.state.pageSize};n.setState({keywords:e,searchKeywordsVisible:!0},function(){return n.props.onSearchProject(t)})}},n.computSearchListWrapperStyle=function(){var e=n.props.searchProject;return n.state.searchMaskVisible?n.state.searchMaskVisible:!e||!e.list||0===e.list.length||n.state.searchMaskVisible},n.onShowSizeChange=function(e,t){n.setState({currentPage:e,pageSize:t},function(){var e={keywords:n.state.keywords,pageNum:n.state.currentPage,pageSize:n.state.pageSize};n.props.onSearchProject(e)})},n.onPaginationChange=function(e){n.setState({currentPage:e},function(){var e={keywords:n.state.keywords,pageNum:n.state.currentPage,pageSize:n.state.pageSize};n.props.onSearchProject(e)})},n.starProject=function(e){return function(){(0,n.props.onStarProject)(e,function(){n.props.onLoadProjects()})}},n.getStarProjectUserList=function(e){return function(){(0,n.props.onGetProjectStarUser)(e)}},n.confirmDeleteProject=function(e,t){return function(){"collect"===e?n.props.onDeleteProject(t):n.props.onDeleteProject(t,function(){n.setState({})})}},n.state={formType:"",formVisible:!1,modalLoading:!1,mimePanel:!0,joinPanel:!0,collectPanel:!0,searchMaskVisible:!0,searchKeywordsVisible:!1,keywords:"",currentPage:1,pageSize:10,isDisableCollect:!1},n}return s(t,e),c(t,[{key:"componentWillMount",value:function(){this.props.onLoadProjects(),this.props.onLoadOrganizations(),this.props.onLoadCollectProjects()}},{key:"componentWillReceiveProps",value:function(e){var t=e.projects;e.collectProjects;t&&V.init(t)}},{key:"componentWillUnmount",value:function(){this.unbindDocumentKeypress()}},{key:"render",value:function(){var e,t,a,i,s,l,c,u,b,x,w=this,j=this.state,E=j.formType,S=j.formVisible,C=j.modalLoading,k=this.props,M=(k.onDeleteProject,k.organizations),O=k.projects,L=k.searchProject,D=k.loginUser,P=k.starUserList,I=k.collectProjects,R=Array.isArray(O)?[].concat(o(O),[{id:"add",type:"add"}]):[{id:"add",type:"add"}].concat(),H=(A((e={},r(e,y.starWrapperPosition,!0),r(e,y.starWrapper,!0),e)),R?R.map(function(e){var t=void 0,o=void 0;if(e.type&&"add"===e.type)return d.createElement(f,{key:e.id,xl:6,lg:8,md:8,sm:12,xs:24},d.createElement("div",{className:y.unit,onClick:w.showProjectForm("add")},d.createElement("div",{className:y.createNewWrapper},d.createElement("div",{className:y.createIcon},Y),d.createElement("div",{className:y.createText},"创建新项目"))));if(D&&e.createBy&&D.id!==e.createBy.id)return[];M&&(o=M.find(function(t){return t.id===e.orgId}),t=N.default(o,"")(g));var a=void 0,i=void 0,s=void 0,l=void 0,c=void 0;e&&e.id&&(c=d.createElement(z.default,{d:e,starUser:P,unStar:w.starProject,userList:w.getStarProjectUserList})),l=d.createElement(m,{title:"点赞项目"},d.createElement("div",{className:y.starWrapperPosition},c)),s=d.createElement(m,{title:"移交项目"},d.createElement(t,{className:y.transfer,type:"double-right",onClick:w.showProjectForm("transfer",e)})),a=d.createElement(m,{title:"编辑"},d.createElement(t,{className:y.edit,type:"setting",onClick:w.showProjectForm("edit",e)})),i=d.createElement(h,{title:"确定删除?",placement:"bottom",onConfirm:w.confirmDeleteProject("collect",e.id)},d.createElement(m,{title:"删除"},d.createElement(t,{className:y.delete,type:"delete",onClick:w.stopPPG})));var u=void 0,p=M.find(function(t,n){return e.orgId===t.id});e&&M&&(u=e.name+" ("+(p&&p.name?p.name:"")+")");var _=A(r({},y.unit,!0));return d.createElement(f,{key:e.id,xl:6,lg:8,md:8,sm:12,xs:24},d.createElement("div",{className:_,style:{backgroundImage:"url("+n("./app/assets/images recursive ^\\.\\/bg.*\\.png$")("./bg"+e.pic+".png")+")"},onClick:w.toProject(e)},d.createElement("header",null,d.createElement("h3",{className:y.title},u),d.createElement("p",{className:y.content},e.description)),l,d.createElement("div",{className:y.mimeActions},s,a,i)))}):""),q=R?R.map(function(e){var t=void 0,o=void 0;if(e.type&&"add"===e.type)return[];if(D&&e.createBy&&D.id===e.createBy.id)return[];M&&(o=M.find(function(t){return t.id===e.orgId}),t=N.default(o,"")(g));var a=void 0;e&&e.id&&(a=d.createElement(z.default,{d:e,starUser:P,unStar:w.starProject,userList:w.getStarProjectUserList}));var i=void 0,s=void 0,l=void 0,c=void 0,u=void 0,p=void 0,_=void 0,b=M.find(function(t,n){return e.orgId===t.id});e&&M&&(_=e.name+" ("+(b&&b.name?b.name:"")+")"),p=d.createElement(m,{title:"点赞项目"},d.createElement("div",{className:y.starWrapperPosition},a));var v=[];I&&(v=I.map(function(e){return e.id})),l=d.createElement(m,{title:"收藏"},d.createElement("i",{className:"iconfont icon-heart1 "+y.collect,onClick:w.collectProject("collect",e)})),c=d.createElement(m,{title:"取消收藏"},d.createElement("i",{className:"iconfont icon-heart "+y.unCollect,onClick:w.collectProject("unCollect",e)})),u=d.createElement(m,{title:"移交项目"},d.createElement(t,{className:y.transfer,type:"double-right",onClick:w.showProjectForm("transfer",e)})),i=d.createElement(m,{title:"编辑"},d.createElement(t,{className:y.edit,type:"setting",onClick:w.showProjectForm("edit",e)})),s=d.createElement(h,{title:"确定删除?",placement:"bottom",onConfirm:w.confirmDeleteProject("onCollect",e.id)},d.createElement(m,{title:"删除"},d.createElement(t,{className:y.delete,type:"delete",onClick:w.stopPPG})));var x=A(r({},y.unit,!0));return d.createElement(f,{key:e.id,xl:6,lg:8,md:8,sm:12,xs:24},d.createElement("div",{className:x,style:{backgroundImage:"url("+n("./app/assets/images recursive ^\\.\\/bg.*\\.png$")("./bg"+e.pic+".png")+")"},onClick:w.toProject(e)},d.createElement("header",null,d.createElement("h3",{className:y.title},_),d.createElement("p",{className:y.content},e.description)),p,d.createElement("div",{className:y.joinActions},v.indexOf(e.id)<0?l:c,u,i,s)))}):"",K=I?I.map(function(e){var t=void 0;if(e.type&&"add"===e.type)return[];if(D&&e.createBy&&D.id===e.createBy.id)return[];M&&(t=M.find(function(t){return t.id===e.orgId}),N.default(t,"")(g));var o=void 0;e&&e.id&&(o=d.createElement(z.default,{d:e,starUser:P,unStar:w.starProject,userList:w.getStarProjectUserList}));var a=void 0,i=void 0,s=void 0,l=M.find(function(t,n){return e.orgId===t.id});e&&M&&(s=e.name+" ("+(l&&l.name?l.name:"")+")"),i=d.createElement(m,{title:"点赞项目"},d.createElement("div",{className:y.starWrapperPosition},o)),a=d.createElement(m,{title:"取消收藏"},d.createElement("i",{className:"iconfont icon-heart "+y.unCollect,onClick:w.collectProject("unCollect",e)}));var c=A(r({},y.unit,!0));return d.createElement(f,{key:e.id,xl:6,lg:8,md:8,sm:12,xs:24},d.createElement("div",{className:c,style:{backgroundImage:"url("+n("./app/assets/images recursive ^\\.\\/bg.*\\.png$")("./bg"+e.pic+".png")+")"},onClick:w.toProject(e)},d.createElement("header",null,d.createElement("h3",{className:y.title},s),d.createElement("p",{className:y.content},e.description)),i,d.createElement("div",{className:y.collectActions},a)))}):"",X=V.getAll(),J=X?X.map(function(e){var t=n("./app/assets/images recursive ^\\.\\/bg.*\\.png$")("./bg"+e.pic+".png");return d.createElement("div",{className:y.groupList,key:e.id,onClick:w.toProject(e)},d.createElement("div",{className:y.orgHeader},d.createElement("div",{className:y.avatar},d.createElement(F.default,{path:t,enlarge:!1,size:"small"})),d.createElement("div",{className:y.name},d.createElement("div",{className:y.title},e.name),d.createElement("div",{className:y.desc},e.description))))}):"",Z=L&&L.list&&L.list.length?L.list.map(function(e){var t=n("./app/assets/images recursive ^\\.\\/bg.*\\.png$")("./bg"+e.pic+".png");return e&&e.id&&d.createElement(z.default,{d:e,starUser:P,unStar:w.starProject,userList:w.getStarProjectUserList}),d.createElement(f,{xl:6,lg:8,md:8,sm:12,xs:24,key:e.id},d.createElement("div",{className:y.searchList,key:e.id,onClick:w.toProject(e)},d.createElement("div",{className:y.orgHeader},d.createElement("div",{className:y.avatar},d.createElement(F.default,{path:t,enlarge:!1,size:"small"})),d.createElement("div",{className:y.name},d.createElement("div",{className:y.title},e.name),d.createElement("div",{className:y.desc},e.description)))))}):"",$=void 0;L&&($=d.createElement(v,{showSizeChanger:!0,defaultCurrent:2,total:L.total,onShowSizeChange:this.onShowSizeChange,onChange:this.onPaginationChange,defaultPageSize:10,pageSizeOptions:["10","15","18"],current:this.state.currentPage}));var ee=A((t={},r(t,U.hide,this.state.searchMaskVisible),r(t,y.mask,!0),t)),te=(d.createElement("ul",null,L&&L.list.map(function(e,t){return d.createElement("li",{key:e.name+"of"+t,onClick:w.selectKeywords(e.name)},d.createElement("p",null,e.name))})),A((a={},r(a,U.hide,this.state.searchKeywordsVisible),r(a,y.searchKeywords,L&&0!==L.list.length),a)),A((i={},r(i,y.listPadding,!0),r(i,U.hide,!this.state.mimePanel),i))),ne=A((s={},r(s,y.listPadding,!0),r(s,U.hide,!this.state.joinPanel),s)),re=A((l={},r(l,y.listPadding,!0),r(l,U.hide,!this.state.collectPanel),l)),oe=A((c={},r(c,U.hide,this.computSearchListWrapperStyle()),r(c,y.searchListWrapper,!0),c)),ae=A((u={},r(u,y.wrapper,!0),r(u,y.overflowY,this.state.searchMaskVisible),u)),ie=A((b={},r(b,y.join,!0),r(b,U.hide,!(q&&q.length>0)),b)),se=A((x={},r(x,y.mime,!0),r(x,U.hide,!(K&&K.length>0)),x));return d.createElement("div",{className:ae},d.createElement("div",{className:y.search},d.createElement("div",{className:y.searchWrapper},d.createElement("label",{htmlFor:"newtab-search-text",className:y.searchLabel}),d.createElement("input",{id:"newtab-search-text",placeholder:"Search the Davinci",title:"Search the Web",autoComplete:"off",onFocus:this.bindDocumentKeypress,onBlur:this.unbindDocumentKeypress,onChange:this.onChangeKeywords,value:this.state.keywords,type:"search"}),d.createElement("span",{className:y.searchButton,onClick:this.searchProject},W))),d.createElement("div",{className:oe},d.createElement(B.default,null,G,d.createElement("div",{className:y.listPadding,style:{overflow:"auto"}},d.createElement(p,{gutter:16},Z),d.createElement(p,{type:"flex",justify:"end"},d.createElement(f,null,$))))),d.createElement("div",{className:y.wrap},d.createElement(p,{style:{width:"100%"}},d.createElement(f,{xl:18,lg:18,md:24,sm:24,xs:24,key:"projects"},d.createElement("div",{className:y.container},d.createElement("div",{className:y.projects},d.createElement("div",{className:y.mime,id:"mime"},d.createElement(B.default,null,d.createElement(B.default.Header,null,d.createElement(B.default.Title,null,d.createElement(p,{onClick:this.foldPanel("mimePanel")},d.createElement(f,{span:20},d.createElement(g,{type:this.state.mimePanel?"down":"right"}),"我创建的项目")))),d.createElement("div",{className:te},d.createElement(p,{gutter:16},H)))),d.createElement("div",{className:ie,id:"join"},d.createElement(B.default,null,d.createElement(B.default.Header,null,d.createElement(B.default.Title,null,d.createElement(p,{onClick:this.foldPanel("joinPanel")},d.createElement(f,{span:20},d.createElement(g,{type:this.state.joinPanel?"down":"right"}),"我参与的项目")))),d.createElement("div",{className:ne},d.createElement(p,{gutter:16},q)))),d.createElement("div",{className:se,id:"collect"},d.createElement(B.default,null,d.createElement(B.default.Header,null,d.createElement(B.default.Title,null,d.createElement(p,{onClick:this.foldPanel("collectPanel")},d.createElement(f,{span:20},d.createElement(g,{type:this.state.collectPanel?"down":"right"}),"我收藏的项目")))),d.createElement("div",{className:re},d.createElement(p,{gutter:16},K))))))),d.createElement(f,{xl:6,lg:6,md:24,sm:24,xs:24,key:"history"},d.createElement("div",{className:y.sideBox},d.createElement(B.default,null,Q,J))))),d.createElement("div",{className:ee,onClick:this.hideSearchMask}),d.createElement(_,{title:null,footer:null,visible:S,onCancel:this.hideProjectForm},d.createElement(T.default,{type:E,ref:function(e){w.ProjectForm=e},modalLoading:C,organizations:M,onModalOk:this.onModalOk,onTransfer:this.onTransfer,onCheckUniqueName:this.checkNameUnique,onWidgetTypeChange:this.widgetTypeChange})))}}]),t}(d.PureComponent);t.Projects=q;var K=C.createStructuredSelector({organizations:I.makeSelectOrganizations(),projects:E.makeSelectProjects(),loginUser:j.makeSelectLoginUser(),searchProject:E.makeSelectSearchProject(),starUserList:E.makeSelectStarUserList(),collectProjects:E.makeSelectCollectProjects()});t.mapDispatchToProps=l;var X=u.connect(K,l),J=S.default({key:"project",reducer:O.default}),Z=k.default({key:"project",saga:M.default}),$=S.default({key:"organization",reducer:L.default}),ee=k.default({key:"organization",saga:D.default});t.default=w.compose(J,$,Z,ee,X)(q)},"./app/containers/Projects/reducer.ts":function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,t=arguments[1],n=t.type,r=t.payload,o=e.get("projects"),s=e.get("collectProjects");switch(n){case a.LOAD_PROJECTS_SUCCESS:return e.set("projects",r.projects);case a.LOAD_PROJECTS_FAILURE:return e;case a.ADD_PROJECT_SUCCESS:return o?(o.unshift(r.result),e.set("projects",o.slice())):e.set("projects",[r.result]);case a.ADD_PROJECT_FAILURE:return e;case a.DELETE_PROJECT_SUCCESS:return o?e.set("projects",o.filter(function(e){return e.id!==r.id})).set("collectProjects",s.filter(function(e){return e.id!==r.id})):e;case a.LOAD_PROJECT_DETAIL:return e.set("currentProjectLoading",!0);case a.LOAD_PROJECT_DETAIL_SUCCESS:return e.set("currentProjectLoading",!1).set("currentProject",r.project);case a.KILL_PROJECT_DETAIL:return e.set("currentProject",!1);case a.SEARCH_PROJECT_SUCCESS:return e.set("searchProject",r.result);case a.GET_PROJECT_STAR_USER_SUCCESS:return e.set("starUserList",r.result);case a.LOAD_COLLECT_PROJECTS:return e;case a.LOAD_COLLECT_PROJECTS_SUCCESS:return e.set("collectProjects",r.result);case a.LOAD_COLLECT_PROJECTS_FAILURE:return e;case a.CLICK_COLLECT_PROJECT_SUCCESS:return"unCollect"===r.result.formType?e.set("collectProjects",s.filter(function(e){return e.id!==r.result.project.id})):(s.push(r.result.project),e.set("collectProjects",s.slice()));default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/_immutable@3.8.1@immutable/dist/immutable.js"),a=n("./app/containers/Projects/constants.ts"),i=o.fromJS({projects:null,currentProject:null,currentProjectLoading:!1,searchProject:!1,starUserList:!1,collectProjects:null});t.default=r},"./app/containers/Projects/sagas.ts":function(e,t,n){"use strict";function r(e){var t,n,r;return regeneratorRuntime.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return t=e.payload,o.prev=1,o.next=4,k.call(O.default,L.default.projects);case 4:return n=o.sent,r=P.readListAdapter(n),o.next=8,k.put(M.projectsLoaded(r));case 8:o.next=15;break;case 10:return o.prev=10,o.t0=o.catch(1),o.next=14,k.put(M.loadProjectsFail());case 14:D.errorHandler(o.t0);case 15:case"end":return o.stop()}},h,this,[[1,10]])}function o(e){var t,n,r,o,a;return regeneratorRuntime.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return t=e.payload,n=t.project,r=t.resolve,i.prev=1,i.next=4,k.call(O.default,{method:"post",url:L.default.projects,data:n});case 4:return o=i.sent,a=P.readListAdapter(o),i.next=8,k.put(M.projectAdded(a));case 8:r(),i.next=16;break;case 11:return i.prev=11,i.t0=i.catch(1),i.next=15,k.put(M.addProjectFail());case 15:D.errorHandler(i.t0);case 16:case"end":return i.stop()}},g,this,[[1,11]])}function a(e){var t,n,r,o;return regeneratorRuntime.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return t=e.payload,n=t.project,r=t.resolve,o=n.id,a.prev=2,a.next=5,k.call(O.default,{method:"put",url:L.default.projects+"/"+o,data:n});case 5:return a.next=7,k.put(M.projectEdited(n));case 7:r(),a.next=15;break;case 10:return a.prev=10,a.t0=a.catch(2),a.next=14,k.put(M.editProjectFail());case 14:D.errorHandler(a.t0);case 15:case"end":return a.stop()}},_,this,[[2,10]])}function i(e){var t,n,r;return regeneratorRuntime.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return t=e.payload,n=t.id,r=t.resolve,o.prev=1,o.next=4,k.call(O.default,{method:"delete",url:L.default.projects+"/"+n});case 4:return o.next=6,k.put(M.projectDeleted(n));case 6:r&&r(),o.next=14;break;case 9:return o.prev=9,o.t0=o.catch(1),o.next=13,k.put(M.deleteProjectFail());case 13:D.errorHandler(o.t0);case 14:case"end":return o.stop()}},b,this,[[1,9]])}function s(e){var t,n,r=e.payload;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,k.call(O.default,L.default.projects+"/"+r.id);case 3:return t=e.sent,n=P.readListAdapter(t),e.next=7,k.put(M.projectDetailLoaded(n));case 7:e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),D.errorHandler(e.t0);case 12:case"end":return e.stop()}},v,this,[[0,9]])}function l(e){var t,n,r,o,a=e.payload;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=a.id,n=a.orgId,e.prev=1,e.next=4,k.call(O.default,{method:"put",url:L.default.projects+"/"+t+"/transfer",data:{orgId:n}});case 4:return r=e.sent,o=P.readListAdapter(r),e.next=8,k.put(M.projectTransfered(o));case 8:e.next=15;break;case 10:return e.prev=10,e.t0=e.catch(1),e.next=14,k.put(M.transferProjectFail());case 14:D.errorHandler(e.t0);case 15:case"end":return e.stop()}},y,this,[[1,10]])}function c(e){var t,n,r,o,a,i,s=e.payload;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=s.param,n=t.keywords,r=t.pageNum,o=t.pageSize,e.prev=1,e.next=4,k.call(O.default,{method:"get",url:L.default.projects+"/search/?pageNum="+(r||1)+"&pageSize="+(o||10)+"&keywords="+(n||"")});case 4:return a=e.sent,i=P.readListAdapter(a),e.next=8,k.put(M.projectSearched(i));case 8:e.next=15;break;case 10:return e.prev=10,e.t0=e.catch(1),e.next=14,k.put(M.searchProjectFail());case 14:D.errorHandler(e.t0);case 15:case"end":return e.stop()}},A,this,[[1,10]])}function d(e){var t,n,r,o,a=e.payload;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=a.id,n=a.resolve,e.prev=1,e.next=4,k.call(O.default,{method:"post",url:L.default.star+"/project/"+t,data:{id:t}});case 4:return r=e.sent,o=P.readListAdapter(r),e.next=8,k.put(M.unStarProjectSuccess(o));case 8:return e.next=10,n();case 10:e.next=17;break;case 12:return e.prev=12,e.t0=e.catch(1),e.next=16,k.put(M.unStarProjectFail());case 16:D.errorHandler(e.t0);case 17:case"end":return e.stop()}},x,this,[[1,12]])}function u(e){var t,n,r,o=e.payload;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=o.id,e.prev=1,e.next=4,k.call(O.default,{method:"get",url:L.default.star+"/project/"+t});case 4:return n=e.sent,r=P.readListAdapter(n),e.next=8,k.put(M.getProjectStarUserSuccess(r));case 8:e.next=15;break;case 10:return e.prev=10,e.t0=e.catch(1),e.next=14,k.put(M.getProjectStarUserFail());case 14:D.errorHandler(e.t0);case 15:case"end":return e.stop()}},w,this,[[1,10]])}function p(e){var t,n;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,k.call(O.default,{method:"get",url:L.default.projects+"/favorites"});case 3:return t=e.sent,n=P.readListAdapter(t),e.next=7,k.put(M.collectProjectLoaded(n));case 7:e.next=14;break;case 9:return e.prev=9,e.t0=e.catch(0),e.next=13,k.put(M.collectProjectFail());case 13:D.errorHandler(e.t0);case 14:case"end":return e.stop()}},j,this,[[0,9]])}function f(e){var t,n,r,o=e.payload;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=o.formType,n=o.project,r=o.resolve,e.prev=1,"collect"!==t){e.next=7;break}return e.next=5,k.call(O.default,{method:"post",url:L.default.projects+"/favorite/"+n.id,data:{id:n.id}});case 5:e.next=9;break;case 7:return e.next=9,k.call(O.default,{method:"delete",url:L.default.projects+"/remove/favorites",data:[n.id]});case 9:return e.next=11,k.put(M.collectProjectClicked(o));case 11:return e.next=13,r();case 13:e.next=20;break;case 15:return e.prev=15,e.t0=e.catch(1),e.next=19,k.put(M.clickCollectProjectFail());case 19:D.errorHandler(e.t0);case 20:case"end":return e.stop()}},E,this,[[1,15]])}function m(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,[C.takeLatest(T.LOAD_PROJECTS,r),C.takeEvery(T.ADD_PROJECT,o),C.takeEvery(T.EDIT_PROJECT,a),C.takeEvery(T.DELETE_PROJECT,i),C.takeLatest(T.LOAD_PROJECT_DETAIL,s),C.takeEvery(T.TRANSFER_PROJECT,l),C.takeEvery(T.PROJECT_UNSTAR,d),C.takeEvery(T.GET_PROJECT_STAR_USER,u),C.throttle(1e3,T.SEARCH_PROJECT,c),C.takeLatest(T.LOAD_COLLECT_PROJECTS,p),C.takeEvery(T.CLICK_COLLECT_PROJECT,f)];case 2:case"end":return e.stop()}},S,this)}var h=regeneratorRuntime.mark(r),g=regeneratorRuntime.mark(o),_=regeneratorRuntime.mark(a),b=regeneratorRuntime.mark(i),v=regeneratorRuntime.mark(s),y=regeneratorRuntime.mark(l),A=regeneratorRuntime.mark(c),x=regeneratorRuntime.mark(d),w=regeneratorRuntime.mark(u),j=regeneratorRuntime.mark(p),E=regeneratorRuntime.mark(f),S=regeneratorRuntime.mark(m);Object.defineProperty(t,"__esModule",{value:!0});var C=n("./node_modules/_redux-saga@0.15.3@redux-saga/es/index.js"),k=n("./node_modules/_redux-saga@0.15.3@redux-saga/es/effects.js"),T=n("./app/containers/Projects/constants.ts"),M=n("./app/containers/Projects/actions.ts"),O=n("./app/utils/request.ts"),L=n("./app/utils/api.js"),D=n("./app/utils/util.ts"),P=n("./app/utils/asyncAdapter.js");t.getProjects=r,t.addProject=o,t.editProject=a,t.deleteProject=i,t.getProjectDetail=s,t.transferProject=l,t.searchProject=c,t.unStarProject=d,t.getProjectStarUser=u,t.getCollectProjects=p,t.editCollectProject=f,t.default=m},"./app/containers/Projects/selectors.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/_reselect@3.0.1@reselect/es/index.js"),o=function(e){return e.get("project")};t.selectProject=o;var a=function(){return r.createSelector(o,function(e){return e.get("projects")})};t.makeSelectProjects=a;var i=function(){return r.createSelector(o,function(e){return e.get("currentProject")})};t.makeSelectCurrentProject=i;var s=function(){return r.createSelector(o,function(e){return e.get("searchProject")})};t.makeSelectSearchProject=s;var l=function(){return r.createSelector(o,function(e){return e.get("starUserList")})};t.makeSelectStarUserList=l;var c=function(){return r.createSelector(o,function(e){return e.get("collectProjects")})};t.makeSelectCollectProjects=c},"./app/containers/Register/Activate.tsx":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function i(e){return{onActiveUser:function(t,n){return e(h.active(t,n))}}}var s=function(){function e(e,t){for(var n=0;n0?"https://email."+n:"https://mail."+n;window.open(r)}},e}return a(t,e),i(t,[{key:"render",value:function(){var e=this.props.email;return s.createElement("div",{className:l.content},d,s.createElement("p",null,"我们向 ",s.createElement("b",null,e)," 发送了一封电子邮件,请",s.createElement("b",null,s.createElement("a",{onClick:this.goEmailNet},"前往")),"电子邮件中确认。"),s.createElement("p",null,"没收到? ",s.createElement("a",{href:"javascript:;",onClick:this.props.sendEmailOnceMore},"重新发送电子邮件")),s.createElement("div",{className:l.back,onClick:this.props.goBack},u," 返回上一步"))}}]),t}(s.PureComponent);t.SendEmailTips=p,t.default=p},"./app/containers/Register/actions.ts":function(e,t,n){"use strict";function r(e,t,n,r){return{type:c.SIGNUP,payload:{username:e,email:t,password:n,resolve:r}}}function o(){return{type:c.SIGNUP_SUCCESS}}function a(){return{type:c.SIGNUP_ERROR}}function i(e,t){return{type:c.SEND_MAIL_AGAIN,payload:{email:e,resolve:t}}}function s(){return{type:c.SEND_MAIL_AGAIN_SUCCESS}}function l(){return{type:c.SEND_MAIL_AGAIN_ERROR}}Object.defineProperty(t,"__esModule",{value:!0});var c=n("./app/containers/Register/constants.ts");t.signup=r,t.signupSuccess=o,t.signupError=a,t.sendMailAgain=i,t.sendMailAgainSuccess=s,t.sendMailAgainFail=l},"./app/containers/Register/constants.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SIGNUP="davinci/App/SIGNUP",t.SIGNUP_SUCCESS="davinci/App/SIGNUP_SUCCESS",t.SIGNUP_ERROR="davinci/App/SIGNUP_ERROR",t.SEND_MAIL_AGAIN="davinci/App/SEND_MAIL_AGAIN",t.SEND_MAIL_AGAIN_SUCCESS="davinci/App/SEND_MAIL_AGAIN_SUCCESS",t.SEND_MAIL_AGAIN_ERROR="davinci/App/SEND_MAIL_AGAIN_ERROR"},"./app/containers/Register/index.tsx":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function i(e){return{onSignup:function(t,n,r,o){return e(w.signup(t,n,r,o))},onCheckName:function(t,n,r,o,a,i){return e(x.checkNameAction(t,n,r,o,a,i))},onSendEmailOnceMore:function(t,n){return e(w.sendMailAgain(t,n))}}}var s=function(){function e(e,t){for(var n=0;n20)return void b.error("密码长度为6-20位");if(a!==i)return void b.error("两次输入的密码不一致");e(r,o,a,function(){n.setState({step:"second"})})}},n.goBack=function(){n.setState({step:"first"})},n.toLogin=function(){n.props.router.replace("/login")},n.sendEmailOnceMore=function(){(0,n.props.onSendEmailOnceMore)(n.state.email,function(e){b.success(e)})},n.state={step:"first",username:"",email:"",password:"",password2:""},n}return a(t,e),s(t,[{key:"render",value:function(){var e=this.state,t=e.step,n=e.email,r=this.props,o=r.onCheckName,a=r.signupLoading,i=l.createElement("div",{className:A.window},E,l.createElement(v.default,{username:this.state.username,email:this.state.email,password:this.state.password,password2:this.state.password2,onChangeUsername:this.changeUsername,onChangeEmail:this.onChangeEmail,onChangePassword:this.changePassword,onChangePassword2:this.changePassword2,onCheckName:o,onSignup:this.signUp}),l.createElement("button",{disabled:a,onClick:this.signUp},a?S:"","注册"),l.createElement("p",{className:A.tips},C,l.createElement("a",{href:"javascript:;",onClick:this.toLogin},"点击登录"))),s=l.createElement("div",{className:A.window},k,l.createElement(y.default,{email:n,goBack:this.goBack,sendEmailOnceMore:this.sendEmailOnceMore}));return"first"===t?i:s}}]),t}(l.PureComponent);t.Register=T;var M=u.createStructuredSelector({signupLoading:j.makeSelectSignupLoading()});t.mapDispatchToProps=i;var O=c.connect(M,i),L=f.default({key:"register",reducer:h.default}),D=m.default({key:"register",saga:g.default});t.default=p.compose(L,D,O)(T)},"./app/containers/Register/reducer.ts":function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i;switch(arguments[1].type){case o.SIGNUP:return e.set("signupLoading",!0);case o.SIGNUP_SUCCESS:case o.SIGNUP_ERROR:return e.set("signupLoading",!1);default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./app/containers/Register/constants.ts"),a=n("./node_modules/_immutable@3.8.1@immutable/dist/immutable.js"),i=a.fromJS({signupLoading:!1});t.default=r},"./app/containers/Register/register.less":function(e,t,n){var r=n("./node_modules/_css-loader@0.28.4@css-loader/index.js?modules&importLoaders=1!./node_modules/_postcss-loader@1.3.3@postcss-loader/index.js!./node_modules/_less-loader@3.0.0@less-loader/lib/loader.js!./app/containers/Register/register.less");"string"==typeof r&&(r=[[e.i,r,""]]);var o={};o.transform=void 0;n("./node_modules/_style-loader@0.18.1@style-loader/lib/addStyles.js")(r,o);r.locals&&(e.exports=r.locals)},"./app/containers/Register/sagas.ts":function(e,t,n){"use strict";function r(e){var t,n,r,o,a,s,l;return regeneratorRuntime.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return t=e.payload,n=t.username,r=t.email,o=t.password,a=t.resolve,i.prev=1,i.next=4,h.call(u.default,{method:"post",url:p.default.signup,data:{username:n,email:r,password:o}});case 4:return s=i.sent,l=f.readListAdapter(s),i.next=8,h.put(d.signupSuccess());case 8:a(l),i.next=16;break;case 11:return i.prev=11,i.t0=i.catch(1),i.next=15,h.put(d.signupError());case 15:m.errorHandler(i.t0);case 16:case"end":return i.stop()}},i,this,[[1,11]])}function o(e){var t,n,r,o,a;return regeneratorRuntime.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return t=e.payload,n=t.email,r=t.resolve,i.prev=1,i.next=4,h.call(u.default,{method:"post",url:p.default.signup+"/sendmail",data:{email:n}});case 4:return o=i.sent,a=o.header.msg,i.next=8,h.put(d.sendMailAgainSuccess());case 8:r(a),i.next=16;break;case 11:return i.prev=11,i.t0=i.catch(1),i.next=15,h.put(d.sendMailAgainFail());case 15:m.errorHandler(i.t0);case 16:case"end":return i.stop()}},s,this,[[1,11]])}function a(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,[g.takeLatest(c.SIGNUP,r),g.takeLatest(c.SEND_MAIL_AGAIN,o)];case 2:case"end":return e.stop()}},l,this)}var i=regeneratorRuntime.mark(r),s=regeneratorRuntime.mark(o),l=regeneratorRuntime.mark(a);Object.defineProperty(t,"__esModule",{value:!0});var c=n("./app/containers/Register/constants.ts"),d=n("./app/containers/Register/actions.ts"),u=n("./app/utils/request.ts"),p=n("./app/utils/api.js"),f=n("./app/utils/asyncAdapter.js"),m=n("./app/utils/util.ts"),h=n("./node_modules/_redux-saga@0.15.3@redux-saga/es/effects.js"),g=n("./node_modules/_redux-saga@0.15.3@redux-saga/es/index.js");t.signup=r,t.sendMailAgain=o,t.default=a},"./app/containers/Register/selectors.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/_reselect@3.0.1@reselect/es/index.js"),o=function(e){return e.get("register")},a=function(){return r.createSelector(o,function(e){return e.get("signupLoading")})};t.makeSelectSignupLoading=a},"./app/containers/Report/Report.less":function(e,t,n){var r=n("./node_modules/_css-loader@0.28.4@css-loader/index.js?modules&importLoaders=1!./node_modules/_postcss-loader@1.3.3@postcss-loader/index.js!./node_modules/_less-loader@3.0.0@less-loader/lib/loader.js!./app/containers/Report/Report.less");"string"==typeof r&&(r=[[e.i,r,""]]);var o={};o.transform=void 0;n("./node_modules/_style-loader@0.18.1@style-loader/lib/addStyles.js")(r,o);r.locals&&(e.exports=r.locals)},"./app/containers/Report/actions.ts":function(e,t,n){"use strict";function r(e){return{type:o.LOAD_SIDEBAR,sidebar:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./app/containers/Report/constants.ts");t.loadSidebar=r},"./app/containers/Report/constants.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LOAD_SIDEBAR="davinci/Report/LOAD_SIDEBAR"},"./app/containers/Report/index.tsx":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function i(e){return{onPageLoad:function(){var t=[{icon:"icon-dashboard",route:["vizs","dashboard"],permission:"viz"},{icon:"icon-widget-gallery",route:["widgets"],permission:"widget"},{icon:"icon-custom-business",route:["bizlogics","bizlogic"],permission:"view"},{icon:"icon-datasource24",route:["sources"],permission:"source"},{icon:"anticon anticon-clock-circle-o",route:["schedule"],permission:"schedule"}];e(m.loadSidebar(t))},onLoadProjectDetail:function(t){return e(_.loadProjectDetail(t))},onShowNavigator:function(){return e(g.showNavigator())},onKillProjectDetail:function(){return e(_.killProjectDetail())}}}var s=function(){function e(e,t){for(var n=0;n0?r=o[a]:i.indexOf("bizlogics")>0&&i.replace("bizlogics","view").indexOf(s)>0&&(r=o[a])}}0===r&&this.props.router.replace("/noAuthorization")}},{key:"componentWillUnmount",value:function(){this.props.onKillProjectDetail()}},{key:"render",value:function(){var e=this,t=this.props,n=t.sidebar,r=(t.loginUser,t.routes),o=t.currentProject,a=n&&n.map(function(t){var n=t.route.indexOf(r[3].name)>=0,a="iconfont "+t.icon,i=E.default(o,t.permission)(p.default);return l.createElement(i,{key:t.permission,route:t.route,active:n,params:e.props.params},l.createElement("i",{className:a}))}),i=o&&o.inTeam?l.createElement(u.default,null,a):"";return l.createElement("div",{className:j.report},i,l.createElement("div",{className:j.container},this.props.children))}}]),t}(l.Component);t.Report=S;var C=d.createStructuredSelector({sidebar:f.selectSidebar(),loginUser:h.makeSelectLoginUser(),currentProject:w.makeSelectCurrentProject()});t.mapDispatchToProps=i;var k=v.default({key:"project",reducer:b.default}),T=A.default({key:"project",saga:y.default}),M=c.connect(C,i);t.default=x.compose(k,T,M)(S)},"./app/containers/Report/reducer.ts":function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,t=arguments[1];t.payload;switch(t.type){case o.LOAD_SIDEBAR:return e.set("sidebar",t.sidebar);default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./app/containers/Report/constants.ts"),a=n("./node_modules/_immutable@3.8.1@immutable/dist/immutable.js"),i=a.fromJS({sidebar:!1,currentProject:!1});t.default=r},"./app/containers/Report/selectors.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/_reselect@3.0.1@reselect/es/index.js"),o=function(){return function(e){return e.get("report")}};t.selectReport=o;var a=function(){return r.createSelector(o(),function(e){return e.get("sidebar")})};t.selectSidebar=a},"./app/containers/ResetPassword/ResetPasswordForm.tsx":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"",r=arguments[2],o=e.props;(0,o.onCheckUniqueName)("cronjob",{name:n,projectId:o.projectId,id:(0,e.props.form.getFieldsValue)().id},function(){r()},function(e){r(e)})},e}return a(t,e),l(t,[{key:"render",value:function(){for(var e=this.props,t=e.onShowConfig,n=e.configValue,r=this.props.form.getFieldDecorator,o={labelCol:{span:4},wrapperCol:{span:18}},a=0,i=0,l=[],d=[];a<60;)l.push(c.createElement(y,{key:a,value:""+a},a)),a++;for(;i<32;)d.push(c.createElement(y,{key:i,value:""+i},i)),i++;return c.createElement(f,null,c.createElement(m,null,c.createElement(h,{span:24},c.createElement(x,{className:w.hide},r("id",{hidden:"add"===this.props.type})(j)),c.createElement(x,s({label:"名称"},o),r("name",{rules:[{required:!0,message:"Name 不能为空"},{validator:this.checkUniqueName}]})(E)))),c.createElement(m,null,c.createElement(h,{span:24},c.createElement(x,s({label:"描述"},o),r("description",{initialValue:""})(c.createElement(g,{placeholder:"Description",type:"textarea",autosize:{minRows:2,maxRows:6}})))),c.createElement(h,{span:24},c.createElement(x,s({label:"类型"},o),r("jobType",{initialValue:"email"})(S))),c.createElement(h,{span:24},c.createElement(x,s({label:"配置"},o),r("config",{rules:[{required:!0,message:"配置不能为空"}],initialValue:n&&n.length>2?n:""})(c.createElement(g,{placeholder:"config",readOnly:!0,onClick:t}))))),c.createElement(m,null,c.createElement(h,{span:24},c.createElement(x,s({label:"范围"},o),r("range",{initialValue:"",rules:[{required:!0,message:"范围不能为空"}]})(c.createElement(A,{style:{width:"300px"},size:"large",showTime:!0,format:"YYYY-MM-DD HH:mm:ss",placeholder:["Start Time","End Time"]}))))),c.createElement(m,null,C,c.createElement(h,{span:5},c.createElement(x,null,r("time_range",{initialValue:""})(c.createElement(_,{onChange:this.props.changeRange},["Minute","Hour","Day","Week","Month"].map(function(e){return c.createElement(y,{key:e,value:e},e)}))))),c.createElement(h,{span:5,offset:1,className:""+("Minute"===this.props.rangeTime?"":w.hide)},c.createElement(x,null,r("minute",{initialValue:""})(c.createElement(_,null,l)))),c.createElement(h,{span:5,offset:1,className:""+("Month"===this.props.rangeTime?"":w.hide)},c.createElement(x,null,r("month",{initialValue:""})(c.createElement(_,null,d)))),c.createElement(h,{span:5,offset:1,className:""+("Hour"===this.props.rangeTime?"":w.hide)},c.createElement(x,null,r("hour",{initialValue:""})(k))),c.createElement(h,{span:5,offset:1,className:""+("Week"===this.props.rangeTime?"":w.hide)},c.createElement(x,null,r("week",{initialValue:""})(c.createElement(_,null,["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"].map(function(e,t){return c.createElement(y,{key:t,value:""+(t+1)},e)}))))),c.createElement(h,{span:5,offset:1,className:""+(["Day","Week","Month"].indexOf(this.props.rangeTime)>-1?"":w.hide)},c.createElement(x,null,r("time",{initialValue:p.default("00:00","HH:mm"),hidden:["Day","Week","Month"].indexOf(this.props.rangeTime)<0})(T)))))}}]),t}(c.PureComponent);t.ScheduleForm=M,t.default=f.create()(d.connect(null,i)(M))},"./app/containers/Schedule/actions.ts":function(e,t,n){"use strict";function r(e){return{type:A.LOAD_SCHEDULES,payload:{pid:e}}}function o(e){return{type:A.LOAD_SCHEDULES_SUCCESS,payload:{schedules:e}}}function a(){return{type:A.LOAD_SCHEDULES_FAILUER}}function i(e,t){return{type:A.ADD_SCHEDULES,payload:{schedule:e,resolve:t}}}function s(e){return{type:A.ADD_SCHEDULES_SUCCESS,payload:{result:e}}}function l(){return{type:A.ADD_SCHEDULES_FAILURE}}function c(e,t){return{type:A.UPDATE_SCHEDULES,payload:{schedule:e,resolve:t}}}function d(e){return{type:A.UPDATE_SCHEDULES_SUCCESS,payload:{result:e}}}function u(){return{type:A.UPDATE_SCHEDULES_FAILURE}}function p(e){return{type:A.DELETE_SCHEDULES,payload:{id:e}}}function f(e){return{type:A.DELETE_SCHEDULES_SUCCESS,payload:{id:e}}}function m(){return{type:A.DELETE_SCHEDULES_FAILURE}}function h(e,t){return{type:A.CHANGE_SCHEDULE_STATUS,payload:{id:e,currentStatus:t}}}function g(e,t){return{type:A.CHANGE_SCHEDULE_STATUS_SUCCESS,payload:{id:e,schedules:t}}}function _(){return{type:A.CHANGE_SCHEDULE_STATUS_FAILURE}}function b(e){return{type:A.LOAD_VIZS,payload:{pid:e}}}function v(e){return{type:A.LOAD_VIZS_SUCCESS,payload:{result:e}}}function y(){return{type:A.LOAD_VIZS_FAILUER}}Object.defineProperty(t,"__esModule",{value:!0});var A=n("./app/containers/Schedule/constants.ts");t.loadSchedules=r,t.schedulesLoaded=o,t.loadSchedulesFail=a,t.addSchedule=i,t.scheduleAdded=s,t.addScheduleFail=l,t.updateSchedule=c,t.scheduleUpdated=d,t.updateScheduleFail=u,t.deleteSchedule=p,t.scheduleDeleted=f,t.deleteScheduleFail=m,t.changeSchedulesStatus=h,t.currentScheduleStatusChanged=g,t.changeSchedulesStatusFail=_,t.loadVizs=b,t.vizsLoaded=v,t.loadVizsFail=y},"./app/containers/Schedule/constants.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LOAD_SCHEDULES="app/Schedule/LOAD_SCHEDULES",t.LOAD_SCHEDULES_SUCCESS="app/Schedule/LOAD_SCHEDULES_SUCCESS",t.LOAD_SCHEDULES_FAILUER="app/Schedule/LOAD_SCHEDULES_FAILUER",t.ADD_SCHEDULES="app/Schedule/ADD_SCHEDULES",t.ADD_SCHEDULES_SUCCESS="app/Schedule/ADD_SCHEDULES_SUCCESS",t.ADD_SCHEDULES_FAILURE="app/Schedule/ADD_SCHEDULES_FAILURE",t.UPDATE_SCHEDULES="app/Schedule/UPDATE_SCHEDULES",t.UPDATE_SCHEDULES_SUCCESS="app/Schedule/UPDATE_SCHEDULES_SUCCESS",t.UPDATE_SCHEDULES_FAILURE="app/Schedule/UPDATE_SCHEDULES_FAILURE",t.DELETE_SCHEDULES="app/Schedule/DELETE_SCHEDULES",t.DELETE_SCHEDULES_SUCCESS="app/Schedule/DELETE_SCHEDULES_SUCCESS",t.DELETE_SCHEDULES_FAILURE="app/Schedule/DELETE_SCHEDULES_FAILURE",t.CHANGE_SCHEDULE_STATUS="app/Schedule/CHANGE_SCHEDULE_STATUS",t.CHANGE_SCHEDULE_STATUS_SUCCESS="app/Schedule/CHANGE_SCHEDULE_STATUS_SUCCESS",t.CHANGE_SCHEDULE_STATUS_FAILURE="app/Schedule/CHANGE_SCHEDULE_STATUS_FAILURE",t.LOAD_VIZS="app/Schedule/LOAD_VIZS",t.LOAD_VIZS_SUCCESS="app/Schedule/LOAD_VIZS_SUCCESS",t.LOAD_VIZS_FAILUER="app/Schedule/LOAD_VIZS_FAILUER"},"./app/containers/Schedule/index.tsx":function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){return{onLoadVizs:function(t){return e(T.loadVizs(t))},onLoadWidgets:function(t){return e(M.loadWidgets(t))},onLoadSchedules:function(t){return e(T.loadSchedules(t))},onLoadDashboards:function(){return E.promiseDispatcher(e,k.loadDashboards)},onAddSchedule:function(t,n){return e(T.addSchedule(t,n))},onUpdateSchedule:function(t,n){return e(T.updateSchedule(t,n))},onLoadDashboardDetail:function(t){return E.promiseDispatcher(e,k.loadDashboardDetail,t)},onDeleteSchedule:function(t){return function(){return e(T.deleteSchedule(t))}},onChangeCurrentJobStatus:function(t,n){return e(T.changeSchedulesStatus(t,n))}}}var l=function(){function e(e,t){for(var n=0;n-1){var o=parseInt(e.replace("(p)",""),10),a=t.find(function(e,t){return"portal"===e.contentType}).children,i=n.getCurrentListById(a,o);return n.getIdByArray(i)}return{id:parseInt(e.replace("(d)",""),10),contentType:"display"}})},n.getCurrentListById=function(e,t){function n(e){for(var o=0;o2){var r=e.to,o=e.cc,a=e.subject,i=e.bcc;n.configForm.setFieldsValue({to:r,cc:o,subject:a,bcc:i})}})},n.onTreeSelect=function(e){return e},n.onTreeChange=function(e){console.log(e),n.setState({dashboardTreeValue:e})},n.onLoadTreeData=function(e){var t=e.props.eventKey;return new Promise(function(e){n.props.onLoadDashboardDetail(t).then(function(){var e=n.props,r=e.currentDashboard,o=e.widgets,a=n.state.dashboardTree,i=function(e){return r.widgets.map(function(t){return Object.assign({},t,{label:e+" / "+o.find(function(e){return e.id===t.widget_id}).name,key:t.id,value:t.id+"(w)",type:"widget",isLeaf:!0})})},s=a.map(function(e){return""+e.key===t?Object.assign({},e,{children:i(e.name)}):e});n.setState({dashboardTree:s})}),e()})},n.onChangeRange=function(e){var t=["minute","month","hour","week","time"];n.setState({rangeTime:e}),t.map(function(e){if("time"===e)return e;n.scheduleForm.setFieldsValue(r({},e,void 0))})},n.formatStatusIcon=function(e){switch(e){case"new":return"caret-right";case"failed":return"reload";case"started":return"pause";case"stopped":default:return"caret-right"}},n.formatStatusText=function(e){return{new:"启动",failed:"重启",started:"暂停",stopped:"启动"}[e]},n.changeStatus=function(e){return function(){var t=e.id,r=e.jobStatus;(0,n.props.onChangeCurrentJobStatus)(t,r)}},n.state={emailConfig:{},formType:"add",tableSource:[],configType:"add",dashboardTree:[],formVisible:!1,configVisible:!1,dashboardTreeValue:[],rangeTime:"Minute",screenWidth:0},n}return i(t,e),l(t,[{key:"componentWillMount",value:function(){var e=this,t=this.props.params.pid;this.props.onLoadWidgets(t),this.props.onLoadVizs(t),this.props.onLoadDashboards().then(function(){var t=e.props.dashboards,n=t.map(function(e){return Object.assign({},e,{label:e.name,key:e.id,value:e.id+"(d)",type:"dashboard"})});e.setState({dashboardTree:n,screenWidth:document.documentElement.clientWidth})}),this.props.onLoadSchedules(t)}},{key:"componentWillReceiveProps",value:function(e){var t=this;window.onresize=function(){return t.setState({screenWidth:document.documentElement.clientWidth})},e.schedule&&this.setState({tableSource:e.schedule.map(function(e){return e.key=e.id,e})})}},{key:"render",value:function(){var e=this,t=this.state,n=t.formType,r=t.configType,o=t.tableSource,a=t.formVisible,i=t.configVisible,s=t.dashboardTree,l=t.dashboardTreeValue,d=this.props,u=d.onDeleteSchedule,p=d.currentProject,m=d.tableLoading,h=d.formLoading,g=d.vizs,_={defaultPageSize:20,showSizeChanger:!0,total:o.length},b=H.default(p,"schedule",!0)(R),v=[{title:"名称",dataIndex:"name",key:"name"},{title:"描述",dataIndex:"description",key:"desc"},{title:"类型",dataIndex:"jobType",key:"job_type"},{title:"开始时间",dataIndex:"startDate",key:"start_date"},{title:"结束时间",dataIndex:"endDate",key:"end_date"},{title:"状态",dataIndex:"jobStatus",key:"job_status"},{title:"操作",key:"action",width:135,className:""+U.textAlignCenter,render:function(t,n){return c.createElement("span",{className:"ant-table-action-column"},c.createElement(N,{title:""+e.formatStatusText(n.jobStatus)},c.createElement(R,{icon:e.formatStatusIcon(n.jobStatus),shape:"circle",type:"ghost",onClick:e.changeStatus(n)})),c.createElement(N,{title:"修改"},c.createElement(R,{icon:"edit",shape:"circle",type:"ghost",onClick:e.showDetail(n.id)})),c.createElement(B,{title:"确定删除?",placement:"bottom",onConfirm:u(n.id)},V))}}],y=[c.createElement(R,{key:"back",size:"large",onClick:this.hideForm},"取 消"),c.createElement(R,{key:"submit",size:"large",type:"primary",loading:h,disabled:h,onClick:this.onScheduleOk},"保 存")],A=[c.createElement(R,{key:"back",size:"large",onClick:this.hideConfigForm},"取 消"),c.createElement(R,{key:"submit",size:"large",type:"primary",onClick:this.onConfigModalOk},"保 存")],x=p&&p.id?p.id:void 0;return c.createElement(f.default,null,Y,c.createElement(f.default.Title,null,c.createElement(D,null,c.createElement(P,{span:24},c.createElement(z,{className:U.breadcrumb},W)))),c.createElement(f.default.Body,null,c.createElement(O.default,null,c.createElement(O.default.Header,null,G,c.createElement(O.default.Tools,null,c.createElement(N,{placement:"bottom",title:"新增"},c.createElement(b,{type:"primary",icon:"plus",onClick:this.showAdd})))),c.createElement(O.default.Body,null,c.createElement(D,null,c.createElement(P,{span:24},c.createElement(I,{dataSource:o,columns:v,pagination:_,loading:m,bordered:!0}))),c.createElement(L,{title:("add"===n?"新增":"修改")+"schedule",maskClosable:!1,visible:a,footer:y,onCancel:this.hideForm},c.createElement(S.default,{type:n,projectId:x,rangeTime:this.state.rangeTime,changeRange:this.onChangeRange,configValue:JSON.stringify(this.state.emailConfig),onShowConfig:this.showConfig,ref:function(t){e.scheduleForm=t}})),c.createElement(L,{title:("add"===r?"新增":"修改")+"config",wrapClassName:"ant-modal-large",maskClosable:!1,visible:i,footer:A,onCancel:this.hideConfigForm},c.createElement(C.default,{type:r,vizs:g,dashboardTree:s,treeSelect:this.onTreeSelect,treeChange:this.onTreeChange,loadTreeData:this.onLoadTreeData,dashboardTreeValue:l,ref:function(t){e.configForm=t}}))))))}}]),t}(c.Component);t.Schedule=Q;var q=h.createStructuredSelector({widgets:j.makeSelectWidgets(),schedule:j.makeSelectSchedule(),dashboards:j.makeSelectDashboards(),currentDashboard:j.makeSelectCurrentDashboard(),currentProject:w.makeSelectCurrentProject(),tableLoading:j.makeSelectTableLoading(),formLoading:j.makeSelectFormLoading(),vizs:j.makeSelectVizs()}),K=d.connect(q,s),X=_.default({key:"schedule",reducer:v.default}),J=b.default({key:"schedule",saga:y.default}),Z=_.default({key:"widget",reducer:A.default}),$=b.default({key:"widget",saga:x.default});t.default=g.compose(X,Z,J,$,K)(Q)},"./app/containers/Schedule/reducer.ts":function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l,t=arguments[1],n=t.type,r=t.payload,o=e.get("schedule");e.get("dashboards");switch(n){case s.LOAD_WIDGETS_SUCCESS:return e.set("widgets",r.widgets);case i.LOAD_DASHBOARDS_SUCCESS:return e.set("dashboards",r.dashboards);case i.LOAD_DASHBOARD_DETAIL_SUCCESS:return e.set("currentDashboard",r.dashboard);case a.LOAD_SCHEDULES:return e.set("tableLoading",!0);case a.LOAD_SCHEDULES_SUCCESS:return e.set("schedule",r.schedules).set("tableLoading",!1);case a.LOAD_SCHEDULES_FAILUER:return e.set("tableLoading",!1);case a.ADD_SCHEDULES:return e.set("formLoading",!0);case a.ADD_SCHEDULES_SUCCESS:return o?(o.unshift(r.result),e.set("schedule",o.slice()).set("formLoading",!1)):e.set("schedule",[r.result]).set("formLoading",!1);case a.ADD_SCHEDULES_FAILURE:return e.set("formLoading",!1);case a.DELETE_SCHEDULES:return e;case a.DELETE_SCHEDULES_SUCCESS:return e.set("schedule",o.filter(function(e){return e.id!==r.id}));case a.CHANGE_SCHEDULE_STATUS:return e;case a.CHANGE_SCHEDULE_STATUS_SUCCESS:return e.set("schedule",o.map(function(e){return e.id===r.id?r.schedules:e}));case a.CHANGE_SCHEDULE_STATUS_FAILURE:return e;case a.UPDATE_SCHEDULES:return e.set("formLoading",!0);case a.UPDATE_SCHEDULES_SUCCESS:return e.set("schedule",o.map(function(e){return e.id===r.result.id?r.result:e})).set("formLoading",!1);case a.UPDATE_SCHEDULES_FAILURE:return e.set("formLoading",!1);case a.LOAD_VIZS_SUCCESS:return e.set("vizs",r.result);case a.LOAD_VIZS_FAILUER:default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/_immutable@3.8.1@immutable/dist/immutable.js"),a=n("./app/containers/Schedule/constants.ts"),i=n("./app/containers/Dashboard/constants.ts"),s=n("./app/containers/Widget/constants.ts"),l=o.fromJS({widgets:!1,schedule:!1,dashboards:!1,currentDashboard:!1,tableLoading:!1,formLoading:!1,vizs:!1});t.default=r},"./app/containers/Schedule/sagas.ts":function(e,t,n){"use strict";function r(e){var t,n,r=e.payload;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,b.call(A.default,x.default.schedule+"?projectId="+r.pid);case 3:return t=e.sent,n=w.readListAdapter(t),e.next=7,b.put(y.schedulesLoaded(n));case 7:e.next=14;break;case 9:return e.prev=9,e.t0=e.catch(0),e.next=13,b.put(y.loadSchedulesFail());case 13:j.errorHandler(e.t0);case 14:case"end":return e.stop()}},d,this,[[0,9]])}function o(e){var t,n,r=e.payload;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,b.call(A.default,{method:"post",url:x.default.schedule,data:r.schedule});case 3:return t=e.sent,n=w.readObjectAdapter(t),e.next=7,b.put(y.scheduleAdded(n));case 7:r.resolve(),e.next=15;break;case 10:return e.prev=10,e.t0=e.catch(0),e.next=14,b.put(y.addScheduleFail());case 14:j.errorHandler(e.t0);case 15:case"end":return e.stop()}},u,this,[[0,10]])}function a(e){var t=e.payload;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,b.call(A.default,{method:"delete",url:x.default.schedule+"/"+t.id});case 3:return e.next=5,b.put(y.scheduleDeleted(t.id));case 5:e.next=12;break;case 7:return e.prev=7,e.t0=e.catch(0),e.next=11,b.put(y.deleteScheduleFail());case 11:j.errorHandler(e.t0);case 12:case"end":return e.stop()}},p,this,[[0,7]])}function i(e){var t,n,r,o=e.payload;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:e.prev=0,t="",e.t0=o.currentStatus,e.next="new"===e.t0?5:"failed"===e.t0?7:"started"===e.t0?9:"stopped"===e.t0?11:13;break;case 5:case 7:return t="start",e.abrupt("break",14);case 9:return t="stop",e.abrupt("break",14);case 11:return t="start",e.abrupt("break",14);case 13:return e.abrupt("break",14);case 14:return e.next=16,b.call(A.default,{method:"post",url:x.default.schedule+"/"+t+"/"+o.id});case 16:return n=e.sent,r=w.readObjectAdapter(n),e.next=20,b.put(y.currentScheduleStatusChanged(o.id,r));case 20:e.next=27;break;case 22:return e.prev=22,e.t1=e.catch(0),e.next=26,b.put(y.changeSchedulesStatusFail());case 26:j.errorHandler(e.t1);case 27:case"end":return e.stop()}},f,this,[[0,22]])}function s(e){var t,n,r=e.payload;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,b.call(A.default,{method:"put",url:x.default.schedule+"/"+r.schedule.id,data:r.schedule});case 3:return t=e.sent,n=w.readObjectAdapter(t),e.next=7,b.put(y.scheduleUpdated(n));case 7:r.resolve(),e.next=15;break;case 10:return e.prev=10,e.t0=e.catch(0),e.next=14,b.put(y.updateScheduleFail());case 14:j.errorHandler(e.t0);case 15:case"end":return e.stop()}},m,this,[[0,10]])}function l(e){var t,n,r,o,a,i,s,l,c,d=e.payload;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return c=function(e){function t(e,n){for(var r in e)if(e[r].children){e[r]=Object.assign({},e[r],{contentType:"portal",label:""+e[r].name,key:e[r].name,value:e[r].id+"(p)",isLeaf:!0}),n.push(e[r]);var o=e[r].children;e[r].children=[],t(o,e[r].children)}else e[r]=Object.assign({},e[r],{contentType:"portal",label:""+e[r].name,key:e[r].name,value:e[r].id+"(p)",isLeaf:!0}),n.push(e[r])}var n={},r={},o=[];e.forEach(function(t,r){return n[e[r].id]=e[r]});for(var a in n)n[a].parentId?(n[n[a].parentId].children||(n[n[a].parentId].children={}),n[n[a].parentId].children[n[a].id]=n[a]):r[n[a].id]=n[a];return t(r,o),o},t=d.pid,e.prev=2,e.next=5,b.call(A.default,x.default.display+"?projectId="+t);case 5:return n=e.sent,e.next=8,b.call(A.default,x.default.portal+"?projectId="+t);case 8:return r=e.sent,o=w.readListAdapter(r),a=w.readListAdapter(n).map(function(e){return Object.assign({},e,{contentType:"display",label:""+e.name,key:e.name,value:e.id+"(d)",isLeaf:!0})}),e.next=13,b.all(o.map(function(e,t){return b.call(A.default,x.default.portal+"/"+e.id+"/dashboards")}));case 13:return i=e.sent,s=o.map(function(e,t){return e.children=c(w.readListAdapter(i[t])),Object.assign({},e,{contentType:"portal",label:""+e.name,key:e.name,value:e.id+"(p)",isLeaf:!0})}),l=[{contentType:"display",label:"Display",key:"display",value:"display",isLeaf:!0,children:a},{contentType:"portal",label:"Dashboard",key:"portal",value:"portal",isLeaf:!0,children:s}],e.next=18,b.put(y.vizsLoaded(l));case 18:e.next=25;break;case 20:return e.prev=20,e.t0=e.catch(2),e.next=24,b.put(y.loadVizsFail());case 24:E.error("获取失败");case 25:case"end":return e.stop()}},h,this,[[2,20]])}function c(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,[_.takeEvery(v.LOAD_SCHEDULES,r),_.takeEvery(v.ADD_SCHEDULES,o),_.takeEvery(v.DELETE_SCHEDULES,a),_.takeEvery(v.CHANGE_SCHEDULE_STATUS,i),_.takeEvery(v.UPDATE_SCHEDULES,s),_.takeEvery(v.LOAD_VIZS,l)];case 2:case"end":return e.stop()}},g,this)}var d=regeneratorRuntime.mark(r),u=regeneratorRuntime.mark(o),p=regeneratorRuntime.mark(a),f=regeneratorRuntime.mark(i),m=regeneratorRuntime.mark(s),h=regeneratorRuntime.mark(l),g=regeneratorRuntime.mark(c);Object.defineProperty(t,"__esModule",{value:!0});var _=n("./node_modules/_redux-saga@0.15.3@redux-saga/es/index.js"),b=n("./node_modules/_redux-saga@0.15.3@redux-saga/es/effects.js"),v=n("./app/containers/Schedule/constants.ts"),y=n("./app/containers/Schedule/actions.ts"),A=n("./app/utils/request.ts"),x=n("./app/utils/api.js"),w=n("./app/utils/asyncAdapter.js"),j=n("./app/utils/util.ts"),E=n("./node_modules/_antd@2.13.14@antd/lib/message/index.js");t.getSchedules=r,t.addSchedules=o,t.deleteSchedule=a,t.changeScheduleStatus=i,t.updateSchedule=s,t.getVizsData=l,t.default=c},"./app/containers/Schedule/selectors.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/_reselect@3.0.1@reselect/es/index.js"),o=function(e){return e.get("schedule")};t.selectSchedule=o;var a=function(){return r.createSelector(o,function(e){return e.get("schedule")})};t.makeSelectSchedule=a;var i=function(){return r.createSelector(o,function(e){return e.get("dashboards")})};t.makeSelectDashboards=i;var s=function(){return r.createSelector(o,function(e){return e.get("currentDashboard")})};t.makeSelectCurrentDashboard=s;var l=function(){return r.createSelector(o,function(e){return e.get("widgets")})};t.makeSelectWidgets=l;var c=function(){return r.createSelector(o,function(e){return e.get("tableLoading")})};t.makeSelectTableLoading=c;var d=function(){return r.createSelector(o,function(e){return e.get("formLoading")})};t.makeSelectFormLoading=d;var u=function(){return r.createSelector(o,function(e){return e.get("vizs")})};t.makeSelectVizs=u},"./app/containers/Source/SourceForm.tsx":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"",r=arguments[2],o=e.props,a=o.onCheckUniqueName,i=o.type,s=o.projectId,l=o.form,c=l.getFieldsValue(),d=c.id;a("source",{projectId:s,id:"add"===i?"":d,name:n},function(){r()},function(e){r(e)})},e}return a(t,e),s(t,[{key:"render",value:function(){var e=this.props,t=e.testLoading,n=e.form,r=e.onTestSourceConnection,o=n.getFieldDecorator,a={labelCol:{span:6},wrapperCol:{span:16}};return l.createElement(c,null,l.createElement(d,{gutter:8},l.createElement(u,{span:24},l.createElement(h,{className:_.hide},o("id",{hidden:"add"===this.props.type})(b)),l.createElement(h,i({label:"名称"},a,{hasFeedback:!0}),o("name",{rules:[{required:!0,message:"Name 不能为空"},{validator:this.checkNameUnique}]})(v))),l.createElement(u,{span:24},l.createElement(h,i({label:"类型"},a),o("type",{initialValue:"jdbc"})(y))),l.createElement(u,{span:24},l.createElement(h,i({label:"用户名"},a),o("user",{initialValue:""})(A))),l.createElement(u,{span:24},l.createElement(h,i({label:"密码"},a),o("password",{initialValue:""})(x))),l.createElement(u,{span:24},l.createElement(h,i({label:"连接Url"},a),o("url",{rules:[{required:!0,message:"Url 不能为空"}],initialValue:""})(l.createElement(p,{placeholder:"Connection Url",addonAfter:t?w:l.createElement("span",{onClick:r,style:{cursor:"pointer"}},"点击测试")})))),l.createElement(u,{span:24},l.createElement(h,i({label:"描述"},a),o("desc",{initialValue:""})(l.createElement(p,{placeholder:"Description",type:"textarea",autosize:{minRows:2,maxRows:6}})))),l.createElement(u,{span:24},l.createElement(h,i({label:"配置信息"},a),o("config",{initialValue:""})(l.createElement(p,{placeholder:"Config",type:"textarea",autosize:{minRows:2,maxRows:6}}))))))}}]),t}(l.PureComponent);t.SourceForm=j,t.default=c.create()(j)},"./app/containers/Source/UploadCsvForm.tsx":function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=Object.assign||function(e){for(var t=1;t0?[l.createElement("span",{key:t,className:I.highlight},n[0]),e]:e}))}):null}).filter(function(e){return!!e})})},n.testSourceConnection=function(){var e=n.sourceForm.props.form.getFieldsValue(),t=e.user,r=e.password,o=e.url;o?n.props.onTestSourceConnection({username:t,password:r,url:o}):w.error("连接 Url 都不能为空")},n.uploadOnchange=function(e){if("uploading"!==e.file.status){0===e.fileList.length&&n.setState({isUploadDisabled:!1})}"done"===e.file.status?(w.success(e.file.name+" file uploaded successfully"),n.setState({formStep:2,isUploadDisabled:!0})):"error"===e.file.status&&w.error(e.file.name+" file upload failed.")},n.state={tableSource:[],tableSortedInfo:{},nameFilterValue:"",nameFilterDropdownVisible:!1,formVisible:!1,formType:"add",uploadFormVisible:!1,formStep:0,metaObj:{},isUploadDisabled:!1,newUploadModalKey:"1",screenWidth:0},n}return a(t,e),s(t,[{key:"componentWillMount",value:function(){this.props.onLoadSources(this.props.params.pid),this.setState({screenWidth:document.documentElement.clientWidth})}},{key:"componentWillReceiveProps",value:function(e){var t=this;window.onresize=function(){return t.setState({screenWidth:document.documentElement.clientWidth})},e.sources&&this.setState({tableSource:e.sources.map(function(e){return e.key=e.id,e})})}},{key:"render",value:function(){var e=this,t=this.state,n=t.tableSource,r=t.tableSortedInfo,o=t.nameFilterValue,a=t.nameFilterDropdownVisible,i=t.formVisible,s=t.uploadFormVisible,c=t.formType,d=t.formStep,u=t.metaObj,p=t.isUploadDisabled,f=t.newUploadModalKey,m=t.screenWidth,h=this.props,g=h.params,_=h.listLoading,w=h.formLoading,M=h.testLoading,D=h.onDeleteSource,P=h.currentProject,N=h.onCheckUniqueName,F=z.default(P,"source",!0)(k),B=z.default(P,"source",!1)(k),W=u.table_name,G=u.source_id,Q=u.replace_mode,q={name:"file",disabled:p,action:R.default.source+"/"+G+"/uploadcsv?tableName="+W+"&mode="+Q,onChange:this.uploadOnchange,headers:{authorization:"Bearer "+localStorage.getItem("TOKEN")}},K=l.createElement(T,{title:"删除"},l.createElement(F,{icon:"delete",shape:"circle",type:"ghost"})),X=[{title:"名称",dataIndex:"name",key:"name",filterDropdown:l.createElement(y.default,{placeholder:"name",value:o,onChange:this.onSearchInputChange,onSearch:this.onSearch}),filterDropdownVisible:a,onFilterDropdownVisibleChange:function(t){return e.setState({nameFilterDropdownVisible:t})},sorter:function(e,t){return e.name>t.name?-1:1},sortOrder:"name"===r.columnKey&&r.order},{title:"描述",dataIndex:"description",key:"description"},{title:"类型",dataIndex:"type",key:"type",filters:[{text:"JDBC",value:"jdbc"},{text:"CSV",value:"csv"}],filterMultiple:!1,onFilter:function(e,t){return t.type===e},render:function(e,t){switch(t.type){case"jdbc":return"JDBC";case"csv":return"CSV"}}},{title:"操作",key:"action",width:135,className:""+(U.initializePermission(P,"sourcePermission")?I.textAlignLeft:I.hide),render:function(t,n){return l.createElement("span",{className:"ant-table-action-column"},l.createElement(T,{title:"修改"},l.createElement(B,{icon:"edit",shape:"circle",type:"ghost",onClick:e.showDetail(n.id)})),l.createElement(O,{title:"确定删除?",placement:"bottom",onConfirm:D(n.id)},K),n&&"csv"===n.type?l.createElement(T,{title:"上传"},l.createElement(B,{icon:"upload",shape:"circle",type:"ghost",onClick:e.showUpload(n.id)})):"")}}],J={simple:m<768||768===m,defaultPageSize:20,showSizeChanger:!0},Z=[l.createElement(k,{key:"submit",size:"large",type:"primary",loading:w,disabled:w,onClick:this.onModalOk},"保 存"),l.createElement(k,{key:"back",size:"large",onClick:this.hideForm},"取 消")],$=d?[l.createElement(k,{key:"submit",size:"large",type:"primary",onClick:this.onUploadFile},"保 存")]:[l.createElement(k,{key:"forward",size:"large",type:"primary",onClick:this.changeFormStep(1)},"下一步")];return l.createElement(b.default,null,H,l.createElement(b.default.Title,null,l.createElement(E,null,l.createElement(S,{span:24},l.createElement(L,{className:I.breadcrumb},V)))),l.createElement(b.default.Body,null,l.createElement(v.default,null,l.createElement(v.default.Header,null,Y,l.createElement(v.default.Tools,null,l.createElement(T,{placement:"bottom",title:"新增"},l.createElement(F,{type:"primary",icon:"plus",onClick:this.showAdd})))),l.createElement(v.default.Body,null,l.createElement(E,null,l.createElement(S,{span:24},l.createElement(C,{dataSource:n,columns:X,pagination:J,loading:_,onChange:this.handleTableChange,bordered:!0}))),l.createElement(j,{title:("add"===c?"新增":"修改")+" Source",wrapClassName:"ant-modal-small",visible:i,footer:Z,onCancel:this.hideForm},l.createElement(A.default,{type:c,projectId:g.pid,testLoading:M,onTestSourceConnection:this.testSourceConnection,onCheckUniqueName:N,wrappedComponentRef:this.refHandlers.sourceForm})),l.createElement(j,{title:"上传CSV",key:f,visible:s,wrapClassName:"ant-modal-small",footer:$,onCancel:this.hideUploadForm},l.createElement(x.default,{step:d,uploadProps:q,wrappedComponentRef:this.refHandlers.uploadForm}))))))}}]),t}(l.PureComponent);t.Source=W,t.mapDispatchToProps=i;var G=u.createStructuredSelector({sources:P.makeSelectSources(),listLoading:P.makeSelectListLoading(),formLoading:P.makeSelectFormLoading(),testLoading:P.makeSelectTestLoading(),currentProject:B.makeSelectCurrentProject()}),Q=d.connect(G,i),q=m.default({key:"source",reducer:g.default}),K=h.default({key:"source",saga:_.default});t.default=f.compose(q,K,Q)(W)},"./app/containers/Source/reducer.ts":function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,t=arguments[1],n=t.type,r=t.payload,a=e.get("sources");switch(n){case o.LOAD_SOURCES:return e.set("listLoading",!0);case o.LOAD_SOURCES_SUCCESS:return e.set("listLoading",!1).set("sources",r.sources);case o.LOAD_SOURCES_FAILURE:return e.set("listLoading",!1);case o.ADD_SOURCE:return e.set("formLoading",!0);case o.ADD_SOURCE_SUCCESS:return a?(a.unshift(r.result),e.set("formLoading",!1).set("sources",a.slice())):e.set("formLoading",!1).set("sources",[r.result]);case o.ADD_SOURCE_FAILURE:return e.set("formLoading",!1);case o.DELETE_SOURCE:return e.set("listLoading",!0);case o.DELETE_SOURCE_SUCCESS:return e.set("listLoading",!1).set("sources",a.filter(function(e){return e.id!==r.id}));case o.DELETE_SOURCE_FAILURE:return e.set("listLoading",!1);case o.LOAD_SOURCE_DETAIL:case o.LOAD_SOURCE_DETAIL_SUCCESS:return e;case o.EDIT_SOURCE:return e.set("formLoading",!0);case o.EDIT_SOURCE_SUCCESS:return a.splice(a.findIndex(function(e){return e.id===r.result.id}),1,r.result),e.set("formLoading",!1).set("sources",a.slice());case o.EDIT_SOURCE_FAILURE:return e.set("formLoading",!1);case o.TEST_SOURCE_CONNECTION:return e.set("testLoading",!0);case o.TEST_SOURCE_CONNECTION_SUCCESS:case o.TEST_SOURCE_CONNECTION_FAILURE:return e.set("testLoading",!1);default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./app/containers/Source/constants.ts"),a=n("./node_modules/_immutable@3.8.1@immutable/dist/immutable.js"),i=a.fromJS({sources:!1,listLoading:!1,formLoading:!1,testLoading:!1});t.default=r},"./app/containers/Source/sagas.ts":function(e,t,n){"use strict";function r(e){var t,n,r;return regeneratorRuntime.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return t=e.payload,o.prev=1,o.next=4,y.call(w.default,j.default.source+"?projectId="+t.projectId);case 4:return n=o.sent,r=E.readListAdapter(n),o.next=8,y.put(x.sourcesLoaded(r));case 8:o.next=15;break;case 10:return o.prev=10,o.t0=o.catch(1),o.next=14,y.put(x.loadSourceFail());case 14:S.errorHandler(o.t0);case 15:case"end":return o.stop()}},u,this,[[1,10]])}function o(e){var t,n;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.payload,r.prev=1,r.next=4,y.call(w.default,{method:"post",url:j.default.source,data:t.source});case 4:return n=r.sent,t.resolve(),r.next=8,y.put(x.sourceAdded(n.payload));case 8:r.next=15;break;case 10:return r.prev=10,r.t0=r.catch(1),r.next=14,y.put(x.addSourceFail());case 14:S.errorHandler(r.t0);case 15:case"end":return r.stop()}},p,this,[[1,10]])}function a(e){var t,n,r;return regeneratorRuntime.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return t=e.payload,o.prev=1,o.next=4,y.call(w.default,{method:"delete",url:j.default.source+"/"+t.id});case 4:return n=o.sent,r=n.header.code,o.next=8,y.put(x.sourceDeleted(t.id));case 8:o.next=15;break;case 10:return o.prev=10,o.t0=o.catch(1),o.next=14,y.put(x.deleteSourceFail());case 14:S.errorHandler(o.t0);case 15:case"end":return o.stop()}},f,this,[[1,10]])}function i(e){var t,n;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.payload,r.prev=1,r.next=4,y.call(w.default,j.default.source+"/"+t.id);case 4:return n=r.sent,r.next=7,y.put(x.sourceDetailLoaded(n));case 7:r.next=14;break;case 9:return r.prev=9,r.t0=r.catch(1),r.next=13,y.put(x.loadSourceDetailFail());case 13:S.errorHandler(r.t0);case 14:case"end":return r.stop()}},m,this,[[1,9]])}function s(e){var t,n,r,o,a,i,s,l,c,d,u;return regeneratorRuntime.wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return t=e.payload,n=t.source,r=t.resolve,o=n.config,a=n.description,i=n.id,s=n.name,l=n.type,p.prev=2,p.next=5,y.call(w.default,{method:"put",url:j.default.source+"/"+n.id,data:{config:o,description:a,id:i,name:s,type:l}});case 5:return c=o.password,d=o.url,u=o.username,n.config=JSON.stringify(o),n.password=c,n.jdbcUrl=d,n.username=u,p.next=12,y.put(x.sourceEdited(n));case 12:r(),p.next=20;break;case 15:return p.prev=15,p.t0=p.catch(2),p.next=19,y.put(x.editSourceFail());case 19:S.errorHandler(p.t0);case 20:case"end":return p.stop()}},h,this,[[2,15]])}function l(e){var t,n;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.payload,r.prev=1,r.next=4,y.call(w.default,{method:"post",url:j.default.source+"/test",data:t.url});case 4:return n=r.sent,r.next=7,y.put(x.sourceConnected());case 7:C.success("测试成功"),r.next=15;break;case 10:return r.prev=10,r.t0=r.catch(1),r.next=14,y.put(x.testSourceConnectionFail());case 14:S.errorHandler(r.t0);case 15:case"end":return r.stop()}},g,this,[[1,10]])}function c(e){var t,n,r,o,a,i,s,l;return regeneratorRuntime.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return t=e.payload,n=t.resolve,r=t.reject,o=e.payload.csvMeta,a=o.source_id,i=o.replace_mode,s=o.table_name,c.prev=2,c.next=5,y.call(w.default,{url:j.default.source+"/"+a+"/csvmeta",method:"post",data:{mode:i,tableName:s}});case 5:return l=c.sent,c.next=8,y.put(x.csvMetaIdGeted());case 8:n(),c.next=16;break;case 11:return c.prev=11,c.t0=c.catch(2),c.next=15,y.put(x.getCsvMetaIdFail(c.t0));case 15:S.errorHandler(c.t0);case 16:case"end":return c.stop()}},_,this,[[2,11]])}function d(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,[v.takeLatest(A.LOAD_SOURCES,r),v.takeEvery(A.ADD_SOURCE,o),v.takeEvery(A.DELETE_SOURCE,a),v.takeLatest(A.LOAD_SOURCE_DETAIL,i),v.takeEvery(A.EDIT_SOURCE,s),v.takeEvery(A.TEST_SOURCE_CONNECTION,l),v.takeEvery(A.GET_CSV_META_ID,c)];case 2:case"end":return e.stop()}},b,this)}var u=regeneratorRuntime.mark(r),p=regeneratorRuntime.mark(o),f=regeneratorRuntime.mark(a),m=regeneratorRuntime.mark(i),h=regeneratorRuntime.mark(s),g=regeneratorRuntime.mark(l),_=regeneratorRuntime.mark(c),b=regeneratorRuntime.mark(d);Object.defineProperty(t,"__esModule",{value:!0});var v=n("./node_modules/_redux-saga@0.15.3@redux-saga/es/index.js"),y=n("./node_modules/_redux-saga@0.15.3@redux-saga/es/effects.js"),A=n("./app/containers/Source/constants.ts"),x=n("./app/containers/Source/actions.ts"),w=n("./app/utils/request.ts"),j=n("./app/utils/api.js"),E=n("./app/utils/asyncAdapter.js"),S=n("./app/utils/util.ts"),C=n("./node_modules/_antd@2.13.14@antd/lib/message/index.js");t.getSources=r,t.addSource=o,t.deleteSource=a,t.getSourceDetail=i,t.editSource=s,t.testSourceConnection=l,t.getCsvMetaId=c,t.default=d},"./app/containers/Source/selectors.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/_reselect@3.0.1@reselect/es/index.js"),o=function(e){return e.get("source")};t.selectSource=o;var a=function(){return r.createSelector(o,function(e){return e.get("sources")})};t.makeSelectSources=a;var i=function(){return r.createSelector(o,function(e){return e.get("listLoading")})};t.makeSelectListLoading=i;var s=function(){return r.createSelector(o,function(e){return e.get("formLoading")})};t.makeSelectFormLoading=s;var l=function(){return r.createSelector(o,function(e){return e.get("testLoading")})};t.makeSelectTestLoading=l},"./app/containers/Source/upload.less":function(e,t,n){var r=n("./node_modules/_css-loader@0.28.4@css-loader/index.js?modules&importLoaders=1!./node_modules/_postcss-loader@1.3.3@postcss-loader/index.js!./node_modules/_less-loader@3.0.0@less-loader/lib/loader.js!./app/containers/Source/upload.less");"string"==typeof r&&(r=[[e.i,r,""]]);var o={};o.transform=void 0;n("./node_modules/_style-loader@0.18.1@style-loader/lib/addStyles.js")(r,o);r.locals&&(e.exports=r.locals)},"./app/containers/Teams/Team.less":function(e,t,n){var r=n("./node_modules/_css-loader@0.28.4@css-loader/index.js?modules&importLoaders=1!./node_modules/_postcss-loader@1.3.3@postcss-loader/index.js!./node_modules/_less-loader@3.0.0@less-loader/lib/loader.js!./app/containers/Teams/Team.less");"string"==typeof r&&(r=[[e.i,r,""]]);var o={};o.transform=void 0;n("./node_modules/_style-loader@0.18.1@style-loader/lib/addStyles.js")(r,o);r.locals&&(e.exports=r.locals)},"./app/containers/Teams/Team.tsx":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function i(e){return{onEditTeam:function(t){return e(j.editTeam(t))},onLoadTeams:function(){return e(j.loadTeams())},onDeleteTeam:function(t,n){return e(j.deleteTeam(t,n))},onLoadTeamProjects:function(t){return e(j.loadTeamProjects(t))},onLoadTeamMembers:function(t){return e(j.loadTeamMembers(t))},onLoadTeamTeams:function(t){return e(j.loadTeamTeams(t))},onDeleteTeamProject:function(t){return e(j.deleteTeamProject(t))},onDeleteTeamMember:function(t){return e(j.deleteTeamMember(t))},onChangeTeamMemberRole:function(t,n){return e(j.changeTeamMemberRole(t,n))},onLoadTeamDetail:function(t,n){return e(j.loadTeamDetail(t,n))},onLoadOrganizationProjects:function(t){return e(T.loadOrganizationProjects(t))},onLoadOrganizationMembers:function(t){return e(T.loadOrganizationMembers(t))},onLoadOrganizationTeams:function(t){return e(T.loadOrganizationTeams(t))},onPullProjectInTeam:function(t,n,r){return e(j.pullProjectInTeam(t,n,r))},onPullMemberInTeam:function(t,n,r){return e(j.pullMemberInTeam(t,n,r))},onUpdateTeamProjectPermission:function(t,n,r){return e(j.updateTeamProjectPermission(t,n,r))}}}var s=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:n.props.params.teamId,t=n.props,r=t.onLoadTeamProjects,o=t.onLoadTeamMembers,a=t.onLoadTeamTeams,i=t.onLoadTeamDetail,s=t.onLoadOrganizationProjects,l=t.onLoadOrganizationMembers,c=t.onLoadOrganizationTeams;r(Number(e)),o(Number(e)),a(Number(e)),i(Number(e),function(e){var t=e.organization.id;s({id:Number(t)}),l(Number(t)),c(Number(t))})},n.toThatTeam=function(e){e&&n.props.router.push(e)},n.computeTeamNum=function(e,t){for(var r=0;r0&&n.computeTeamNum(e[r].children,t)},n.deleteProject=function(e,t){return function(){e.stopPropagation(),t&&n.props.onDeleteTeamProject(t)}},n.pullProjectInTeam=function(e){var t=n.props,r=t.onPullProjectInTeam,o=t.onLoadTeamDetail,a=t.params.teamId;e&&r(Number(a),e,function(){o(Number(a))})},n.createTeamRouter=function(e){function t(e,n){return n&&n.hasOwnProperty("id")&&n.hasOwnProperty("name")&&(e.push({id:n.id,name:n.name}),n.hasOwnProperty("child")&&""!==n.child&&t(e,n.child)),e}var n=[];return t(n,e),n},n.deleteTeam=function(e){return function(){n.props.onDeleteTeam(e,function(){n.props.router.push("/account/teams")})}},n.editTeam=function(e){return function(){var t=Object.assign({},e);delete t.parentTeamId,n.props.onEditTeam(t)}},n.teamTeams=[],n}return a(t,e),s(t,[{key:"componentWillMount",value:function(){(0,this.props.onLoadTeams)(),this.loadDatas()}},{key:"componentWillReceiveProps",value:function(e){var t=this,n=this.props.params.teamId,r=e.params.teamId,o=e.currentTeamTeams;e.currentTeamMembers;n!==r&&this.loadDatas(r),this.teamTeams=[],this.computeTeamNum(o,this.teamTeams),this.teamTeams.filter(function(e,n){return t.teamTeams.indexOf(e)===n})}},{key:"render",value:function(){var e=this.props,t=e.teamRouter,n=e.currentTeam,r=e.currentTeamProjects,o=e.currentTeamTeams,a=e.currentTeamMembers,i=e.currentOrganizationProjects,s=e.currentOrganizationMembers,c=n.avatar,d=n.name,w=r.length,j=a.length,E=this.teamTeams.length,S=this.createTeamRouter(t);return l.createElement(p.default,null,l.createElement(p.default.Header,null,l.createElement(p.default.Title,null,l.createElement(A,{className:b.breadcrumb},M,S?S.map(function(e){return l.createElement(A.Item,{key:e.name+"@@@"+e.id},l.createElement(u.Link,{to:"/account/team/"+e.id},e.name))}):""))),l.createElement(p.default.Body,null,l.createElement("div",{className:_.teamLogo},l.createElement(x.default,{path:c,enlarge:!1,size:"small"}),l.createElement("div",{className:_.title},d)),l.createElement(v,null,l.createElement(y,{tab:l.createElement("span",null,O,"项目",l.createElement("span",{className:_.badge},w)),key:"projects"},l.createElement(m.default,{deleteProject:this.deleteProject,currentTeam:n,currentTeamProjects:r,currentOrganizationProjects:i,pullProjectInTeam:this.pullProjectInTeam,onUpdateTeamProjectPermission:this.props.onUpdateTeamProjectPermission})),l.createElement(y,{tab:l.createElement("span",null,L,"成员",l.createElement("span",{className:_.badge},j)),key:"members"},l.createElement(f.default,{currentTeam:n,deleteTeamMember:this.props.onDeleteTeamMember,pullMemberInTeam:this.props.onPullMemberInTeam,onLoadTeamMembers:this.props.onLoadTeamMembers,changeTeamMemberRole:this.props.onChangeTeamMemberRole,currentTeamMembers:a,currentOrganizationMembers:s})),l.createElement(y,{tab:l.createElement("span",null,D,"团队",l.createElement("span",{className:_.badge},E)),key:"teams"},l.createElement(g.default,{toThatTeam:this.toThatTeam,currentTeam:n,currentTeamTeams:o})),n&&1===n.role?l.createElement(y,{tab:P,key:"settings"},l.createElement(h.default,{teams:this.props.teams,currentTeam:n,editTeam:this.editTeam,deleteTeam:this.deleteTeam})):"")))}}]),t}(l.Component);t.Teams=I;var R=E.createStructuredSelector({loginUser:S.makeSelectLoginUser(),teams:C.makeSelectTeams(),teamRouter:C.makeSelectTeamRouter(),currentTeam:C.makeSelectCurrentTeams(),currentTeamProjects:C.makeSelectCurrentTeamProjects(),currentTeamTeams:C.makeSelectCurrentTeamTeams(),currentTeamMembers:C.makeSelectCurrentTeamMembers(),currentOrganizationProjects:k.makeSelectCurrentOrganizationProjects(),currentOrganizationTeams:k.makeSelectCurrentOrganizationTeams(),currentOrganizationMembers:k.makeSelectCurrentOrganizationMembers()});t.mapDispatchToProps=i;var N=c.connect(R,i);t.default=w.compose(N)(I)},"./app/containers/Teams/actions.ts":function(e,t,n){"use strict";function r(){return{type:H.LOAD_TEAMS}}function o(e){return{type:H.LOAD_TEAMS_SUCCESS,payload:{teams:e}}}function a(){return{type:H.LOAD_TEAMS_FAILURE}}function i(e){return{type:H.EDIT_TEAM,payload:{team:e}}}function s(e){return{type:H.EDIT_TEAM_SUCCESS,payload:{result:e}}}function l(){return{type:H.EDIT_TEAM_FAILURE}}function c(e,t){return{type:H.DELETE_TEAM,payload:{id:e,resolve:t}}}function d(e){return{type:H.DELETE_TEAM_SUCCESS,payload:{id:e}}}function u(){return{type:H.DELETE_TEAM_FAILURE}}function p(e,t){return{type:H.LOAD_TEAM_DETAIL,payload:{id:e,resolve:t}}}function f(e){return{type:H.LOAD_TEAM_DETAIL_SUCCESS,payload:{team:e}}}function m(e,t){return{type:H.LOAD_TEAM_DETAIL_FAILURE,payload:{team:e,widgets:t}}}function h(e){return{type:H.LOAD_TEAM_PROJECTS,payload:{id:e}}}function g(e){return{type:H.LOAD_TEAM_PROJECTS_SUCCESS,payload:{projects:e}}}function _(){return{type:H.LOAD_TEAM_PROJECTS_FAILURE}}function b(e){return{type:H.LOAD_TEAM_MEMBERS,payload:{id:e}}}function v(e){return{type:H.LOAD_TEAM_MEMBERS_SUCCESS,payload:{members:e}}}function y(){return{type:H.LOAD_TEAM_MEMBERS_FAILURE}}function A(e){return{type:H.LOAD_TEAM_TEAMS,payload:{id:e}}}function x(e){return{type:H.LOAD_TEAM_TEAMS_SUCCESS,payload:{teams:e}}}function w(){return{type:H.LOAD_TEAM_TEAMS_FAILURE}}function j(e,t,n){return{type:H.PULL_PROJECT_IN_TEAM,payload:{id:e,projectId:t,resolve:n}}}function E(e){return{type:H.PULL_PROJECT_IN_TEAM_SUCCESS,payload:{result:e}}}function S(){return{type:H.PULL_PROJECT_IN_TEAM_FAILURE}}function C(e,t,n){return{type:H.UPDATE_TEAM_PROJECT_PERMISSION,payload:{relationId:e,relTeamProjectDto:t,resolve:n}}}function k(e){return{type:H.UPDATE_TEAM_PROJECT_PERMISSION_SUCCESS,payload:{result:e}}}function T(){return{type:H.UPDATE_TEAM_PROJECT_PERMISSION_FAILURE}}function M(e){return{type:H.DELETE_TEAM_PROJECT,payload:{relationId:e}}}function O(e){return{type:H.DELETE_TEAM_PROJECT_SUCCESS,payload:{id:e}}}function L(){return{type:H.DELETE_TEAM_PROJECT_FAILURE}}function D(e){return{type:H.DELETE_TEAM_MEMBER,payload:{relationId:e}}}function P(e){return{type:H.DELETE_TEAM_MEMBER_SUCCESS,payload:{id:e}}}function I(){return{type:H.DELETE_TEAM_MEMBER_ERROR}}function R(e,t,n){return{type:H.PULL_MEMBER_IN_TEAM,payload:{teamId:e,memberId:t,resolve:n}}}function N(e){return{type:H.PULL_MEMBER_IN_TEAM_SUCCESS,payload:{result:e}}}function F(){return{type:H.PULL_MEMBRE_IN_TEAM_FAILURE}}function B(e,t){return{type:H.CHANGE_MEMBER_ROLE_TEAM,payload:{relationId:e,newRole:t}}}function z(e,t){return{type:H.CHANGE_MEMBER_ROLE_TEAM_SUCCESS,payload:{relationId:e,newRole:t}}}function U(){return{type:H.CHANGE_MEMBER_ROLE_TEAM_ERROR}}Object.defineProperty(t,"__esModule",{value:!0});var H=n("./app/containers/Teams/constants.ts");t.loadTeams=r,t.teamsLoaded=o,t.loadTeamsFail=a,t.editTeam=i,t.teamEdited=s,t.editTeamFail=l,t.deleteTeam=c,t.teamDeleted=d,t.deleteTeamFail=u,t.loadTeamDetail=p,t.teamDetailLoaded=f,t.loadTeamDetailFail=m,t.loadTeamProjects=h,t.teamProjectsLoaded=g,t.loadTeamProjectsFail=_,t.loadTeamMembers=b,t.teamMembersLoaded=v,t.loadTeamMembersFail=y,t.loadTeamTeams=A,t.teamTeamsLoaded=x,t.loadTeamTeamsFail=w,t.pullProjectInTeam=j,t.projectInTeamPulled=E,t.pullProjectInTeamFail=S,t.updateTeamProjectPermission=C,t.teamProjectPermissionUpdated=k,t.updateTeamProjectPermissionFail=T,t.deleteTeamProject=M,t.teamProjectDeleted=O,t.deleteTeamProjectFail=L,t.deleteTeamMember=D,t.teamMemberDeleted=P,t.deleteTeamMemberFail=I,t.pullMemberInTeam=R,t.memberInTeamPulled=N,t.pullMemberInTeamFail=F,t.changeTeamMemberRole=B,t.teamMemberRoleChanged=z,t.changeTeamMemberRoleFail=U},"./app/containers/Teams/component/AddForm.tsx":function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=function(){function e(e,t){for(var n=0;n-1});n.setState({currentTeamMembers:t&&t.length?o:n.props.currentTeamMembers})},n.showAddForm=function(e){return function(t){t.stopPropagation(),n.setState({formType:e,formVisible:!0})}},n.hideAddForm=function(){n.setState({formVisible:!1,formKey:n.state.formKey+11})},n.add=function(){var e=n.props.currentTeam;n.AddForm.validateFieldsAndScroll(function(t,r){if(!t){var o=r.projectId,a=e.id;n.props.pullMemberInTeam(a,o,function(){n.props.onLoadTeamMembers(a),n.hideAddForm()})}})},n.removeMemberForm=function(e,t){return function(){n.props.deleteTeamMember(t.id)}},n.changRole=function(){n.ChangeRoleForm.validateFieldsAndScroll(function(e,t){if(!e){var r=t.id,o=t.role;n.props.changeTeamMemberRole(r,o),n.hideChangeRoleForm()}})},n.hideChangeRoleForm=function(){n.setState({changeRoleFormVisible:!1,changeRoleModalLoading:!1},function(){n.ChangeRoleForm.resetFields()})},n.showChangeRoleForm=function(e,t){return function(r){r.stopPropagation(),n.setState({currentMember:t,changeRoleFormVisible:!0,changeRoleFormCategory:e},function(){var e=t.user.role,r=t.id;n.ChangeRoleForm.setFieldsValue({id:r,role:e})})}},n.state={formKey:0,formType:"",category:"",modalLoading:!1,formVisible:!1,changeRoleFormCategory:"",currentMember:{},changeRoleFormVisible:!1,changeRoleModalLoading:!1,currentTeamMembers:[]},n}return a(t,e),i(t,[{key:"componentDidMount",value:function(){var e=this.props.currentTeamMembers;e&&this.setState({currentTeamMembers:e})}},{key:"componentWillReceiveProps",value:function(e){var t=this.props.currentTeamMembers,n=e.currentTeamMembers;n&&n!==t&&this.setState({currentTeamMembers:n})}},{key:"render",value:function(){var e=this,t=this.state,n=t.formVisible,r=t.formType,o=t.changeRoleFormVisible,a=t.changeRoleModalLoading,i=t.changeRoleFormCategory,w=t.currentTeamMembers,j=this.props.currentTeam,E=void 0;j&&(E=y.default(j,"")(p));var S=s.createElement(d,{placement:"bottom",title:"添加"},s.createElement(E,{size:"large",type:"primary",icon:"plus",onClick:this.showAddForm("teamMember")})),C=[];return C=j&&1===j.role?[{title:"Name",dataIndex:"user",key:"user",render:function(e){return s.createElement("div",{className:g.avatarWrapper},s.createElement(b.default,{path:e.avatar,size:"small",enlarge:!0}),s.createElement("span",{className:g.avatarName},e.username))}},{title:"role",dataIndex:"user",key:"userKey",render:function(e){return s.createElement("span",null,1===e.role?"Maintainer":"Member")}},{title:"settings",dataIndex:"user",key:"settings",render:function(t,n){return s.createElement("span",null,s.createElement(u,{title:"确定删除此成员吗?",placement:"bottom",onConfirm:e.removeMemberForm(t,n)},A),x,s.createElement("a",{href:"javascript:;",onClick:e.showChangeRoleForm("teamMember",n)},"改变角色"))}}]:[{title:"Name",dataIndex:"user",key:"user",render:function(e){return s.createElement("div",{className:g.avatarWrapper},s.createElement(b.default,{path:e.avatar,size:"small",enlarge:!0}),s.createElement("span",{className:g.avatarName},e.username))}},{title:"role",dataIndex:"user",key:"userKey",render:function(e){return s.createElement("span",null,1===e.role?"Maintainer":"Member")}}],s.createElement("div",{className:g.listWrapper},s.createElement(l,null,s.createElement(c,{span:16},s.createElement(f.Search,{size:"large",placeholder:"placeholder",onChange:this.onSearchMember})),s.createElement(c,{span:1,offset:7},S)),s.createElement(l,null,s.createElement("div",{className:g.tableWrap},s.createElement(m,{bordered:!0,columns:C,dataSource:w}))),s.createElement(h,{key:this.state.formKey,title:null,footer:null,visible:n,onCancel:this.hideAddForm},s.createElement(_.default,{category:r,organizationOrTeam:j,addHandler:this.add,ref:function(t){e.AddForm=t},currentOrganizationMembers:this.props.currentOrganizationMembers})),s.createElement(h,{title:null,visible:o,footer:null,onCancel:this.hideChangeRoleForm},s.createElement(v.default,{category:i,organizationOrTeam:this.props.currentTeam,submitLoading:a,ref:function(t){e.ChangeRoleForm=t},changeHandler:this.changRole})))}}]),t}(s.PureComponent);t.MemberList=w,t.default=w},"./app/containers/Teams/component/PermissionLevel.tsx":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=Object.assign||function(e){for(var t=1;t-1});n.setState({currentTeamProjects:t&&t.length?o:n.props.currentTeamProjects})},n.stopPPG=function(e){e.stopPropagation()},n.headerPanel=function(e){var t=n.props.currentTeam,r=void 0;return t&&(r=A.default(t,"")(u)),s.createElement("div",{className:g.headerPanel},s.createElement("div",{className:g.titleWrapper},s.createElement("div",{className:g.avatar},s.createElement(y.default,{size:"small",path:e.project.path})),s.createElement("div",{className:g.title},e.project.name)),s.createElement("div",{className:g.delete},s.createElement(c,{title:"确定删除?",placement:"bottom",onConfirm:n.props.deleteProject(event,e.id)},s.createElement(d,{title:"删除"},s.createElement(r,{shape:"circle",icon:"close",onClick:n.stopPPG})))))},n.state={formKey:0,modalLoading:!1,formType:"",formVisible:!1,currentTeamProjects:[]},n}return a(t,e),i(t,[{key:"componentWillReceiveProps",value:function(e){var t=this.props.currentTeamProjects,n=e.currentTeamProjects;n&&n!==t&&this.setState({currentTeamProjects:n})}},{key:"render",value:function(){var e=this,t=this.state,n=t.formVisible,r=t.formType,o=(t.modalLoading,t.currentTeamProjects),a=this.props,i=a.currentTeam,c=a.currentOrganizationProjects,_=void 0;i&&(_=A.default(i,"")(u));var y=s.createElement(l,{defaultActiveKey:["project0"]},o?o.map(function(t,n){return s.createElement(l.Panel,{header:e.headerPanel(t),key:"project"+n},s.createElement(b.default,{param:t,role:i.role,selectChanged:e.selectChanged(t.project.id+"permissionForm"),ref:function(n){e[t.project.id+"permissionForm"]=n}}))}):""),x=s.createElement(d,{placement:"bottom",title:"添加"},s.createElement(_,{size:"large",type:"primary",icon:"plus",onClick:this.showAddForm("project")}));return s.createElement("div",{className:g.listWrapper},s.createElement(p,null,s.createElement(f,{span:16},s.createElement(h.Search,{size:"large",placeholder:"Project 名称",onChange:this.onSearchProject})),s.createElement(f,{span:1,offset:7},x)),s.createElement("div",{style:{height:"24px"}}),y,s.createElement(m,{key:this.state.formKey,title:null,footer:null,visible:n,onCancel:this.hideAddForm},s.createElement(v.default,{category:r,organizationOrTeam:i,currentOrganizationProjects:c,ref:function(t){e.AddForm=t},addHandler:this.add})))}}]),t}(s.PureComponent);t.ProjectList=x,t.default=x},"./app/containers/Teams/component/Setting.tsx":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=Object.assign||function(e){for(var t=1;t0&&n.filter(e.children),e.children&&0===e.children.length&&delete e.children}),e):e},n.checkNameUnique=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments[2],o=n.props;(0,o.onCheckUniqueName)("team",{name:t,orgId:o.currentTeam.organization.id,id:null},function(){r()},function(e){r(e)})},n.showTeamForm=function(){return function(e){var t=n.props.currentTeam;e.stopPropagation(),n.setState({teamFormVisible:!0,listType:"teamTeamList"},function(){n.TeamForm.setFieldsValue({parentTeamId:t.name})})}},n.onTeamFormModalOk=function(){var e=n.props.currentTeam;n.TeamForm.validateFieldsAndScroll(function(t,r){if(!t){var o=r.name,a=r.description;n.props.onAddTeam(Object.assign({parentTeamId:e.id,name:o,description:a},{visibility:!!r.visibility},{orgId:e.organization.id,pic:""+Math.ceil(19*Math.random()),config:"{}"}),function(){n.props.onLoadTeamTeams(e.id),n.hideTeamForm()})}})},n.hideTeamForm=function(){n.setState({teamFormVisible:!1},function(){n.TeamForm.resetFields()})},n.state={modalLoading:!1,formType:"",formVisible:!1,teamFormVisible:!1,listType:""},n}return a(t,e),s(t,[{key:"render",value:function(){var e=this,t=this.state,n=t.formVisible,r=t.teamFormVisible,o=t.listType,a=this.props,i=a.currentTeamTeams,s=a.currentTeam,c=a.teamModalLoading;this.filter(i);var d=void 0;s&&(d=A.default(s,"")(g));var x=l.createElement(f,{placement:"bottom",title:"创建"},l.createElement(d,{size:"large",type:"primary",icon:"plus",onClick:this.showTeamForm()})),w=[{title:"Name",dataIndex:"name",key:"name",width:"40%",render:function(t,n){return l.createElement("a",{href:"javascript:;",onClick:e.toThatTeam(t,n),className:_.avatarName},t)}},{title:"Member",dataIndex:"users",key:"users",width:"30%",render:function(e){return l.createElement("div",{className:_.avatarWrapper},e.map(function(e,t){return l.createElement(f,{key:"tooltip"+t,placement:"topRight",title:e.username},l.createElement("span",null,l.createElement(y.default,{key:t,path:e.avatar,size:"small",enlarge:!0})))}),l.createElement("span",{className:_.avatarName},(e?e.length:0)+"menbers"))}}];return l.createElement("div",{className:_.listWrapper},l.createElement(u,null,l.createElement(p,{span:1,offset:23},x)),l.createElement(u,null,l.createElement("div",{className:_.tableWrap},l.createElement(m,{bordered:!0,columns:w,dataSource:i}))),l.createElement(h,{title:null,footer:null,visible:n,onCancel:this.hideAddForm},l.createElement(b.default,{ref:function(t){e.AddForm=t}})),l.createElement(h,{title:null,visible:r,footer:null,onCancel:this.hideTeamForm},l.createElement(v.default,{listType:o,onModalOk:this.onTeamFormModalOk,modalLoading:c,onCheckUniqueName:this.checkNameUnique,ref:function(t){e.TeamForm=t}})))}}]),t}(l.PureComponent);t.TeamList=S;var C=d.createStructuredSelector({teamModalLoading:E.makeSelectTeamModalLoading()});t.mapDispatchToProps=i,t.default=c.connect(C,i)(S)},"./app/containers/Teams/constants.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LOAD_TEAMS="davinci/Team/LOAD_TEAMS",t.LOAD_TEAMS_SUCCESS="davinci/Team/LOAD_TEAMS_SUCCESS",t.LOAD_TEAMS_FAILURE="davinci/Team/LOAD_TEAMS_FAILURE",t.EDIT_TEAM="davinci/Team/EDIT_TEAM",t.EDIT_TEAM_SUCCESS="davinci/Team/EDIT_TEAM_SUCCESS",t.EDIT_TEAM_FAILURE="davinci/Team/EDIT_TEAM_FAILURE",t.DELETE_TEAM="davinci/Team/DELETE_TEAM",t.DELETE_TEAM_SUCCESS="davinci/Team/DELETE_TEAM_SUCCESS",t.DELETE_TEAM_FAILURE="davinci/Team/DELETE_TEAM_FAILURE",t.LOAD_TEAM_DETAIL="davinci/Team/LOAD_TEAM_DETAIL",t.LOAD_TEAM_DETAIL_SUCCESS="davinci/Team/LOAD_TEAM_DETAIL_SUCCESS",t.LOAD_TEAM_DETAIL_FAILURE="davinci/Team/LOAD_TEAM_DETAIL_FAILURE",t.LOAD_TEAM_PROJECTS="davinci/Organization/LOAD_TEAM_PROJECTS",t.LOAD_TEAM_PROJECTS_SUCCESS="davinci/Organization/LOAD_TEAM_PROJECTS_SUCCESS",t.LOAD_TEAM_PROJECTS_FAILURE="davinci/Organization/LOAD_TEAM_PROJECTS_FAILURE",t.LOAD_TEAM_MEMBERS="davinci/Organization/LOAD_TEAM_MEMBERS",t.LOAD_TEAM_MEMBERS_SUCCESS="davinci/Organization/LOAD_TEAM_MEMBERS_SUCCESS",t.LOAD_TEAM_MEMBERS_FAILURE="davinci/Organization/LOAD_TEAM_MEMBERS_FAILURE",t.LOAD_TEAM_TEAMS="davinci/Organization/LOAD_TEAM_TEAMS",t.LOAD_TEAM_TEAMS_SUCCESS="davinci/Organization/LOAD_TEAM_TEAMS_SUCCESS",t.LOAD_TEAM_TEAMS_FAILURE="davinci/Organization/LOAD_TEAM_TEAMS_FAILURE",t.PULL_MEMBER_IN_TEAM="davinci/Organization/PULL_MEMBER_IN_TEAM",t.PULL_MEMBER_IN_TEAM_SUCCESS="davinci/Organization/PULL_MEMBER_IN_TEAM_SUCCESS",t.PULL_MEMBRE_IN_TEAM_FAILURE="davinci/Organization/PULL_MEMBRE_IN_TEAM_FAILURE",t.PULL_PROJECT_IN_TEAM="davinci/Organization/PULL_PROJECT_IN_TEAM",t.PULL_PROJECT_IN_TEAM_SUCCESS="davinci/Organization/PULL_PROJECT_IN_TEAM_SUCCESS",t.PULL_PROJECT_IN_TEAM_FAILURE="davinci/Organization/PULL_PROJECT_IN_TEAM_FAILURE",t.UPDATE_TEAM_PROJECT_PERMISSION="davinci/Organization/UPDATE_TEAM_PROJECT_PERMISSION",t.UPDATE_TEAM_PROJECT_PERMISSION_SUCCESS="davinci/Organization/UPDATE_TEAM_PROJECT_PERMISSION_SUCCESS",t.UPDATE_TEAM_PROJECT_PERMISSION_FAILURE="davinci/Organization/UPDATE_TEAM_PROJECT_PERMISSION_FAILURE",t.DELETE_TEAM_PROJECT="davinci/Project/DELETE_TEAM_PROJECT",t.DELETE_TEAM_PROJECT_SUCCESS="davinci/Project/DELETE_TEAM_PROJECT_SUCCESS",t.DELETE_TEAM_PROJECT_FAILURE="davinci/Project/DELETE_TEAM_PROJECT_FAILURE",t.DELETE_TEAM_MEMBER="davinci/Project/DELETE_TEAM_MEMBER",t.DELETE_TEAM_MEMBER_SUCCESS="davinci/Project/DELETE_TEAM_MEMBER_SUCCESS",t.DELETE_TEAM_MEMBER_ERROR="davinci/Project/DELETE_TEAM_MEMBER_ERROR",t.CHANGE_MEMBER_ROLE_TEAM="davinci/Team/CHANGE_MEMBER_ROLE_TEAM",t.CHANGE_MEMBER_ROLE_TEAM_SUCCESS="davinci/Team/CHANGE_MEMBER_ROLE_TEAM_SUCCESS",t.CHANGE_MEMBER_ROLE_TEAM_ERROR="davinci/Team/CHANGE_MEMBER_ROLE_TEAM_ERROR"},"./app/containers/Teams/index.tsx":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function i(e){return{onLoadTeams:function(){return e(h.loadTeams())}}}var s=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:s,t=arguments[1],n=t.type,r=t.payload,o=e.get("teams"),l=e.get("currentTeamProjects"),c=e.get("currentTeamMembers");switch(n){case a.LOAD_TEAMS_SUCCESS:return e.set("teams",r.teams);case a.LOAD_TEAMS_FAILURE:return e;case a.DELETE_TEAM_SUCCESS:return e.set("teams",o.filter(function(e){return e.id!==r.id}));case a.LOAD_TEAM_DETAIL:return e.set("currentTeamLoading",!0);case a.LOAD_TEAM_DETAIL_SUCCESS:return e.set("currentTeamLoading",!1).set("currentTeam",r.team).set("teamRouter",r.team.parents);case a.LOAD_TEAM_PROJECTS_SUCCESS:return e.set("currentTeamProjects",r.projects);case a.PULL_PROJECT_IN_TEAM_SUCCESS:return l?(l.unshift(r.result),e.set("currentTeamProjects",l.slice())):e.set("currentTeamProjects",[r.result]),e;case a.DELETE_TEAM_PROJECT_SUCCESS:return l?e.set("currentTeamProjects",l.filter(function(e){return e.id!==r.id})):e;case a.PULL_MEMBER_IN_TEAM_SUCCESS:return c?(c.unshift(r.result),e.set("currentTeamMembers",c.slice())):e.set("currentTeamMembers",[r.result]),e;case a.DELETE_TEAM_MEMBER_SUCCESS:return c?e.set("currentTeamMembers",c.filter(function(e){return e.id!==r.id})):e;case a.LOAD_TEAM_MEMBERS_SUCCESS:return e.set("currentTeamMembers",r.members);case a.CHANGE_MEMBER_ROLE_TEAM_SUCCESS:var d=c.findIndex(function(e){return e.id===r.relationId}),u=Object.assign({},c[d]);return u.user.role=r.newRole,c.splice(d,1,u),e.set("currentTeamMembers",c.slice());case a.LOAD_TEAM_TEAMS_SUCCESS:return e.set("currentTeamTeams",r.teams);case i.LOAD_ORGANIZATIONS_PROJECTS_SUCCESS:return e.set("currentOrganizationProjects",r.projects);case i.LOAD_ORGANIZATIONS_MEMBERS_SUCCESS:return e.set("currentOrganizationMembers",r.members);case i.LOAD_ORGANIZATIONS_TEAMS_SUCCESS:return e.set("currentOrganizationTeams",r.teams);default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/_immutable@3.8.1@immutable/dist/immutable.js"),a=n("./app/containers/Teams/constants.ts"),i=n("./app/containers/Organizations/constants.ts"),s=o.fromJS({teams:[],teamRouter:{},currentTeam:{},currentTeamLoading:!1,currentTeamProjects:[],currentTeamTeams:[],currentTeamMembers:[],currentOrganizationProjects:[],currentOrganizationTeams:[],currentOrganizationMembers:[]});t.default=r},"./app/containers/Teams/sagas.ts":function(e,t,n){"use strict";function r(){var e,t;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,L.call(R.default,N.default.teams);case 3:return e=n.sent,t=B.readListAdapter(e),n.next=7,L.put(P.teamsLoaded(t));case 7:n.next=14;break;case 9:return n.prev=9,n.t0=n.catch(0),n.next=13,L.put(P.loadTeamsFail());case 13:F.errorHandler(n.t0);case 14:case"end":return n.stop()}},_,this,[[0,9]])}function o(e){var t,n,r;return regeneratorRuntime.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return t=e.payload,n=t.team,r=t.resolve,o.prev=1,o.next=4,L.call(R.default,{method:"put",url:N.default.teams+"/"+n.id,data:n});case 4:return o.next=6,L.put(P.teamEdited(n));case 6:r&&r(),I.success("success"),o.next=15;break;case 10:return o.prev=10,o.t0=o.catch(1),o.next=14,L.put(P.editTeamFail());case 14:F.errorHandler(o.t0);case 15:case"end":return o.stop()}},b,this,[[1,10]])}function a(e){var t,n,r;return regeneratorRuntime.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return t=e.payload,n=t.id,r=t.resolve,o.prev=1,o.next=4,L.call(R.default,{method:"delete",url:N.default.teams+"/"+n});case 4:return o.next=6,L.put(P.teamDeleted(n));case 6:r(),o.next=14;break;case 9:return o.prev=9,o.t0=o.catch(1),o.next=13,L.put(P.deleteTeamFail());case 13:F.errorHandler(o.t0);case 14:case"end":return o.stop()}},v,this,[[1,9]])}function i(e){var t,n,r=e.payload;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,L.call(R.default,N.default.teams+"/"+r.id);case 3:return t=e.sent,n=B.readListAdapter(t),e.next=7,L.put(P.teamDetailLoaded(n));case 7:return e.next=9,r.resolve&&r.resolve(n);case 9:e.next=14;break;case 11:e.prev=11,e.t0=e.catch(0),F.errorHandler(e.t0);case 14:case"end":return e.stop()}},y,this,[[0,11]])}function s(e){var t,n,r,o=e.payload;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=o.id,e.prev=1,e.next=4,L.call(R.default,N.default.teams+"/"+t+"/projects");case 4:return n=e.sent,r=B.readListAdapter(n),e.next=8,L.put(P.teamProjectsLoaded(r));case 8:e.next=15;break;case 10:return e.prev=10,e.t0=e.catch(1),e.next=14,L.put(P.loadTeamProjectsFail());case 14:F.errorHandler(e.t0);case 15:case"end":return e.stop()}},A,this,[[1,10]])}function l(e){var t,n,r,o=e.payload;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=o.id,e.prev=1,e.next=4,L.call(R.default,N.default.teams+"/"+t+"/members");case 4:return n=e.sent,r=B.readListAdapter(n),e.next=8,L.put(P.teamMembersLoaded(r));case 8:e.next=15;break;case 10:return e.prev=10,e.t0=e.catch(1),e.next=14,L.put(P.loadTeamMembersFail());case 14:F.errorHandler(e.t0);case 15:case"end":return e.stop()}},x,this,[[1,10]])}function c(e){var t,n,r,o=e.payload;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=o.id,e.prev=1,e.next=4,L.call(R.default,N.default.teams+"/"+t+"/teams");case 4:return n=e.sent,r=B.readListAdapter(n),e.next=8,L.put(P.teamTeamsLoaded(r));case 8:e.next=15;break;case 10:return e.prev=10,e.t0=e.catch(1),e.next=14,L.put(P.loadTeamTeamsFail());case 14:F.errorHandler(e.t0);case 15:case"end":return e.stop()}},w,this,[[1,10]])}function d(e){var t,n,r,o,a,i=e.payload;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=i.id,n=i.projectId,r=i.resolve,e.prev=1,e.next=4,L.call(R.default,{url:N.default.teams+"/"+t+"/project",method:"post",data:{projectId:n}});case 4:return o=e.sent,a=B.readListAdapter(o),e.next=8,L.put(P.projectInTeamPulled(a));case 8:r(),e.next=16;break;case 11:return e.prev=11,e.t0=e.catch(1),e.next=15,L.put(P.pullProjectInTeamFail());case 15:F.errorHandler(e.t0);case 16:case"end":return e.stop()}},j,this,[[1,11]])}function u(e){var t,n,r,o,a,i=e.payload;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=i.relationId,n=i.relTeamProjectDto,r=i.resolve,e.prev=1,e.next=4,L.call(R.default,{url:N.default.teams+"/project/"+t,method:"put",data:n});case 4:return o=e.sent,a=B.readListAdapter(o),e.next=8,L.put(P.teamProjectPermissionUpdated(a));case 8:r&&r(a),e.next=16;break;case 11:return e.prev=11,e.t0=e.catch(1),e.next=15,L.put(P.updateTeamProjectPermissionFail());case 15:F.errorHandler(e.t0);case 16:case"end":return e.stop()}},E,this,[[1,11]])}function p(e){var t,n,r=e.payload;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.relationId,e.prev=1,e.next=4,L.call(R.default,{url:N.default.teams+"/project/"+t,method:"delete"});case 4:return n=e.sent,e.next=7,L.put(P.teamProjectDeleted(t));case 7:e.next=14;break;case 9:return e.prev=9,e.t0=e.catch(1),e.next=13,L.put(P.deleteTeamProjectFail());case 13:F.errorHandler(e.t0);case 14:case"end":return e.stop()}},S,this,[[1,9]])}function f(e){var t,n,r,o,a,i=e.payload;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=i.teamId,n=i.memberId,r=i.resolve,e.prev=1,e.next=4,L.call(R.default,{url:N.default.teams+"/"+t+"/member/"+n,method:"post"});case 4:return o=e.sent,a=B.readListAdapter(o),e.next=8,L.put(P.memberInTeamPulled(a));case 8:r(),e.next=16;break;case 11:return e.prev=11,e.t0=e.catch(1),e.next=15,L.put(P.pullMemberInTeamFail());case 15:F.errorHandler(e.t0);case 16:case"end":return e.stop()}},C,this,[[1,11]])}function m(e){var t,n,r=e.payload;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.relationId,e.prev=1,e.next=4,L.call(R.default,{url:N.default.teams+"/member/"+t,method:"delete"});case 4:return n=e.sent,e.next=7,L.put(P.teamMemberDeleted(t));case 7:e.next=14;break;case 9:return e.prev=9,e.t0=e.catch(1),e.next=13,L.put(P.deleteTeamMemberFail());case 13:F.errorHandler(e.t0);case 14:case"end":return e.stop()}},k,this,[[1,9]])}function h(e){var t,n,r,o,a,i=e.payload;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=i.relationId,n=i.newRole,e.prev=1,e.next=4,L.call(R.default,{url:N.default.teams+"/member/"+t,method:"put",data:{role:n}});case 4:return r=e.sent,o=r&&r.header&&r.header.msg?r.header.msg:"",a=r&&r.header&&r.header.code?r.header.code:"",e.next=9,L.put(P.teamMemberRoleChanged(t,n));case 9:e.next=16;break;case 11:return e.prev=11,e.t0=e.catch(1),e.next=15,L.put(P.changeTeamMemberRoleFail());case 15:F.errorHandler(e.t0);case 16:case"end":return e.stop()}},T,this,[[1,11]])}function g(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,[O.takeLatest(D.LOAD_TEAMS,r),O.takeEvery(D.EDIT_TEAM,o),O.takeEvery(D.DELETE_TEAM,a),O.takeLatest(D.LOAD_TEAM_DETAIL,i),O.takeLatest(D.LOAD_TEAM_MEMBERS,l),O.takeLatest(D.LOAD_TEAM_PROJECTS,s),O.takeLatest(D.LOAD_TEAM_TEAMS,c),O.takeLatest(D.PULL_PROJECT_IN_TEAM,d),O.takeLatest(D.UPDATE_TEAM_PROJECT_PERMISSION,u),O.takeLatest(D.DELETE_TEAM_PROJECT,p),O.takeLatest(D.DELETE_TEAM_MEMBER,m),O.takeLatest(D.CHANGE_MEMBER_ROLE_TEAM,h),O.takeLatest(D.PULL_MEMBER_IN_TEAM,f)];case 2:case"end":return e.stop()}},M,this)}var _=regeneratorRuntime.mark(r),b=regeneratorRuntime.mark(o),v=regeneratorRuntime.mark(a),y=regeneratorRuntime.mark(i),A=regeneratorRuntime.mark(s),x=regeneratorRuntime.mark(l),w=regeneratorRuntime.mark(c),j=regeneratorRuntime.mark(d),E=regeneratorRuntime.mark(u),S=regeneratorRuntime.mark(p),C=regeneratorRuntime.mark(f),k=regeneratorRuntime.mark(m),T=regeneratorRuntime.mark(h),M=regeneratorRuntime.mark(g);Object.defineProperty(t,"__esModule",{value:!0});var O=n("./node_modules/_redux-saga@0.15.3@redux-saga/es/index.js"),L=n("./node_modules/_redux-saga@0.15.3@redux-saga/es/effects.js"),D=n("./app/containers/Teams/constants.ts"),P=n("./app/containers/Teams/actions.ts"),I=n("./node_modules/_antd@2.13.14@antd/lib/message/index.js"),R=n("./app/utils/request.ts"),N=n("./app/utils/api.js"),F=n("./app/utils/util.ts"),B=n("./app/utils/asyncAdapter.js");t.getTeams=r,t.editTeam=o,t.deleteTeam=a,t.getTeamDetail=i,t.getTeamProjects=s,t.getTeamMembers=l,t.getTeamTeams=c,t.pullProjectInTeam=d,t.updateTeamProjectPermission=u,t.deleteTeamProject=p,t.pullMemberInTeam=f,t.deleteTeamMember=m,t.changeTeamMemberRole=h,t.default=g},"./app/containers/Teams/selectors.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/_reselect@3.0.1@reselect/es/index.js"),o=function(e){return e.get("team")};t.selectTeam=o;var a=function(){return r.createSelector(o,function(e){return e.get("teams")})};t.makeSelectTeams=a;var i=function(){return r.createSelector(o,function(e){return e.get("teamRouter")})};t.makeSelectTeamRouter=i;var s=function(){return r.createSelector(o,function(e){return e.get("currentTeam")})};t.makeSelectCurrentTeams=s;var l=function(){return r.createSelector(o,function(e){return e.get("currentTeamProjects")})};t.makeSelectCurrentTeamProjects=l;var c=function(){return r.createSelector(o,function(e){return e.get("currentTeamTeams")})};t.makeSelectCurrentTeamTeams=c;var d=function(){return r.createSelector(o,function(e){return e.get("currentTeamMembers")})};t.makeSelectCurrentTeamMembers=d},"./app/containers/Viz/Viz.less":function(e,t,n){var r=n("./node_modules/_css-loader@0.28.4@css-loader/index.js?modules&importLoaders=1!./node_modules/_postcss-loader@1.3.3@postcss-loader/index.js!./node_modules/_less-loader@3.0.0@less-loader/lib/loader.js!./app/containers/Viz/Viz.less");"string"==typeof r&&(r=[[e.i,r,""]]);var o={};o.transform=void 0;n("./node_modules/_style-loader@0.18.1@style-loader/lib/addStyles.js")(r,o);r.locals&&(e.exports=r.locals)},"./app/containers/Viz/index.tsx":function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){return{onLoadDisplays:function(t){return e(A.loadDisplays(t))},onAddDisplay:function(t,n){return e(A.addDisplay(t,n))},onEditDisplay:function(t,n){return e(A.editDisplay(t,n))},onDeleteDisplay:function(t){return e(A.deleteDisplay(t))},onLoadPortals:function(t){return e(x.loadPortals(t))},onAddPortal:function(t,n){return e(x.addPortal(t,n))},onEditPortal:function(t,n){return e(x.editPortal(t,n))},onDeletePortal:function(t){return e(x.deletePortal(t))},onCheckUniqueName:function(t,n,r,o){return e(E.checkNameUniqueAction(t,n,r,o))}}}var l=function(){function e(e,t){for(var n=0;n0&&p")}}})},[])}}L=j&&j.length?{axisLabel:{formatter:"{value} "+j}}:null,C={yAxis:Object.assign({type:"value",splitArea:{show:!1},splitLine:{show:_&&_.length,lineStyle:{width:v,type:b}}},L)};var F=0,B=0;if(p&&p.length){var z=void 0,U=void 0;switch(m){case"right":z={orient:"vertical"},U={right:8,top:40,bottom:16},B=108;break;case"bottom":z={orient:"horizontal"},U={bottom:16,left:8,right:8},F=72;break;default:z={orient:"horizontal"},U={top:3,left:8,right:120}}var H="unselectAll"===f?{selected:l.reduce(function(e,t){return Object.assign({},e,r({},t,!1))},{})}:null;k={legend:Object.assign({data:l,type:"scroll"},z,U,H)}}return T=h&&h.length?{toolbox:{feature:{dataZoom:{yAxisIndex:"none"},restore:{},saveAsImage:{pixelRatio:2}},right:8}}:null,M={grid:{top:y,left:x,right:Math.max(w,B),bottom:Math.max(A,F)}},O=u>0&&u")}Object.defineProperty(t,"__esModule",{value:!0});var i=n("./node_modules/_echarts@4.1.0@echarts/extension-src/dataTool/prepareBoxplotData.js");t.default=o},"./app/containers/Widget/charts/confidenceBand.ts":function(e,t,n){"use strict";function r(e,t,n,r){var o=n.xAxis,a=n.metrics,i=n.lower,s=n.upper,l=n.label,c=n.xAxisInterval,d=n.xAxisRotate,u=n.dataZoomThreshold,p=n.smooth,f=n.step,m=n.symbol,h=n.toolbox,g=n.splitLineX,_=n.splitLineY,b=n.splitLineStyle,v=n.splitLineWidth,y=n.top,A=n.bottom,x=n.left,w=n.right,j=n.suffixYAxis,E=void 0,S=void 0,C=void 0,k=void 0,T=void 0,M=void 0,O=void 0,L=void 0,D=void 0,P=void 0,I=-e.reduce(function(e,t){return Math.floor(Math.min(e,+t[i]))},1/0);P={axisLabel:{formatter:function(e){return e-I+" "+(j||"")}}},T=m&&m.length?{symbol:"emptyCircle"}:{symbol:"none"},C=p&&p.length?{smooth:!0}:null,k=f&&f.length?{step:!0}:null,L=l&&l.length?{label:{normal:{show:!0,position:"top"}}}:null;var R=[];if(a){var N=Object.assign({name:a,type:"line",sampling:"average",symbol:T,data:e.map(function(e,t){return t===r?{value:+e[a]+I,lineStyle:{normal:{opacity:1}},itemStyle:{normal:{opacity:1}}}:+e[a]+I}),lineStyle:{normal:{opacity:void 0===r?1:.25}},itemStyle:{normal:{opacity:void 0===r?1:.25}}},T,C,k,L);R.push(N)}var F={type:"line",lineStyle:{normal:{opacity:0}},stack:"confidence-band",symbol:"none"},B=[{name:"L",data:e.map(function(e){return+e[i]+I})},{name:"U",data:e.map(function(e){return+e[s]-e[i]}),areaStyle:{normal:{color:"#ccc"}}}];return B.forEach(function(e){Object.assign(e,F)}),R.push.apply(R,B),E={series:R},S=o&&{xAxis:{data:e.map(function(e){return e[o]}),axisLabel:{interval:c,rotate:d},splitLine:{show:g&&g.length,lineStyle:{width:v,type:b}}}},M=h&&h.length?{toolbox:{feature:{dataZoom:{yAxisIndex:"none"},restore:{},saveAsImage:{pixelRatio:2}},right:8}}:null,O={grid:{top:y,left:x,right:w,bottom:A}},D=u>0&&u"+e[0].value}}},E,S,M,O,D)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},"./app/containers/Widget/charts/doubleYAxis.ts":function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t0&&(J=M.map(function(t){return Object.assign({name:t,type:L,data:e.map(function(e){return e[t]})},z,B("left"))})),O&&O.length>0&&(Z=O.map(function(t){return Object.assign({name:t,type:D,yAxisIndex:1,data:e.map(function(e){return e[t]})},z,B("right"))}));R={series:[].concat(o(J),o(Z)).map(function(e){return"line"===e.type?Object.assign({},e,X,q,K):Object.assign({},e)})}}s&&(N={xAxis:[{data:e.map(function(e){return e[s]}),type:"category",axisLabel:{interval:m,rotate:h},splitLine:{show:x&&x.length,lineStyle:{width:E,type:j}}}]});var oe=0,ae=0;if(b&&b.length){var ie=void 0,se=void 0;switch(y){case"right":ie={orient:"vertical"},se={right:8,top:40,bottom:16},ae=180;break;case"bottom":ie={orient:"horizontal"},se={bottom:16,left:8,right:8},oe=72;break;default:ie={orient:"horizontal"},se={top:3,left:8,right:120}}var le="unselectAll"===v?{selected:R.series.reduce(function(e,t){return Object.assign({},e,r({},t.name,!1))},{})}:null;U={legend:Object.assign({data:R.series.map(function(e){return e.name}),type:"scroll"},ie,se,le)}}return H=A&&A.length?{toolbox:{feature:{dataZoom:{yAxisIndex:"none"},restore:{},saveAsImage:{pixelRatio:2}},right:8}}:null,V={grid:{top:S,left:k,right:Math.max(T,ae),bottom:Math.max(C,oe)}},Y=_>0&&_3&&(k.axisLine.lineStyle.color=y),v.push(k),h={series:v},g=r&&r.length?{tooltip:{formatter:"{a}
{b} : "+w+"{c}"+j}}:null,_=i&&i.length?{toolbox:{feature:{restore:{},saveAsImage:{pixelRatio:2}},right:8}}:null,Object.assign({},h,g,_)}Object.defineProperty(t,"__esModule",{value:!0});var o="#c23531",a=["#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"];t.default=r},"./app/containers/Widget/charts/graph.ts":function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t,n,o){var i=n.metrics,s=n.target,l=n.source,c=n.tooltip,d=n.legend,u=n.toolbox,p=n.top,f=n.bottom,m=n.left,h=n.right,g=n.category;g&&g.length||(g=l);var _=void 0,b=void 0,v=void 0,y=void 0,A=void 0,x=void 0,w=void 0,j=[],E=[],S=[],C=[],k=[],T=e.map(function(e){return e[g]});C=T.filter(function(e,t){return T.indexOf(e)===t}).concat(["其他"]),k=C.map(function(t){var n=e.filter(function(e){return e[g]===t});return{key:t,value:n}}),s&&s.length&&l&&l.length&&i&&i.length&&(S=e.map(function(e){return Array.prototype.push.apply(E,[e[l],e[s]]),{value:e[i],source:e[l],target:e[s]}}),k&&k.length&&(k=k.map(function(e){return r({},e.key,e.value.reduce(function(e,t){return e+Number(t[i])},0))}))),E&&E.length&&(E=E.filter(function(e,t){return E.indexOf(e)===t}).map(function(e){return{name:e,category:e}}));var M=k.reduce(function(e,t){return Object.assign({},e,t)},{}),O=Object.keys(M),L=Object.values(M),D=a(Object.values(M));C&&C.length&&E&&E.length&&(E=E.map(function(e,t){var n=void 0,r=void 0,o=void 0;return C.find(function(t){return t===e.category})?(o=O.indexOf(e.category),n=D[o],r=L[o],Object.assign({},e,{symbolSize:n,realValue:r})):Object.assign({},e,{category:"其他",symbolSize:1,realValue:0})})),b={label:{normal:{show:!0,position:"right"}}},x={grid:{top:p,left:m,right:h,bottom:f}},w={animationDurationUpdate:1e3,animationEasingUpdate:"quinticInOut"};var P=Object.assign({type:"graph",layout:"circular",symbolSize:30,roam:!0,focusNodeAdjacency:!0,edgeSymbol:["circle","arrow"],edgeSymbolSize:[4,10],edgeLabel:{normal:{}},circular:{rotateLabel:!0},data:E,links:S,categories:C.map(function(e){return{name:e}}),lineStyle:{normal:{color:"source",opacity:.9,curveness:.3}}},b);return j.push(P),_={series:j},v=c&&c.length?{tooltip:{formatter:function(e){var t=e.data;switch(e.dataType){case"edge":return t.source+" => "+t.target+" : "+t.value;case"node":return t.name+" : "+t.realValue;default:return""}}}}:null,y=d&&d.length?{legend:{data:C,orient:"vertical",left:"left",type:"scroll"}}:null,A=u&&u.length?{toolbox:{feature:{dataView:{readOnly:!1},restore:{},saveAsImage:{}}}}:null,Object.assign({},_,v,y,A,x,w)}function a(e){if(!(e&&Array.isArray(e)&&e.length))return!1;var t=e.reduce(function(e,t){return t>e?t:e},0);return e.map(function(e){var n=60*Number(e)/t;return n<1?1:n})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o},"./app/containers/Widget/charts/map.ts":function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t"+Object.keys(t.children).map(function(e){return e+":"+t.children[e]+"
"}).join("")}return n}}},b=f&&f.length?{toolbox:{feature:{dataView:{readOnly:!1},restore:{},saveAsImage:{}}}}:null,Object.assign({geo:{map:"china",label:{emphasis:{show:!1}},itemStyle:{normal:{areaColor:"#0000003F",borderColor:"#FFFFFF",borderWidth:1},emphasis:{areaColor:"#00000059"}},roam:!(!p||!p.length)}},m,g,_,b)})}Object.defineProperty(t,"__esModule",{value:!0});var a=n("./app/utils/util.ts"),i=n("./app/globalConstants.ts"),s=void 0;t.default=o},"./app/containers/Widget/charts/mapFile/china.js":function(e,t,n){var r,o,a,i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};!function(s,l){"object"===i(t)&&"string"!=typeof t.nodeName?l(t,n("./node_modules/_echarts@4.1.0@echarts/lib/echarts.js")):(o=[t,n("./node_modules/_echarts@4.1.0@echarts/lib/echarts.js")],r=l,void 0!==(a="function"==typeof r?r.apply(t,o):r)&&(e.exports=a))}(0,function(e,t){var n=function(e){"undefined"!=typeof console&&console&&console.error&&console.error(e)};return t?t.registerMap?void t.registerMap("china",{type:"FeatureCollection",features:[{id:"710000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@°Ü¯Û"],["@@ƛĴÕƊÉɼģºðʀ\\ƎsÆNŌÔĚäœnÜƤɊĂǀĆĴžĤNJŨxĚĮǂƺòƌ‚–âÔ®ĮXŦţƸZûЋƕƑGđ¨ĭMó·ęcëƝɉlÝƯֹÅŃ^Ó·śŃNjƏďíåɛGɉ™¿@ăƑŽ¥ĘWǬÏĶŁâ"],["@@\\p|WoYG¿¥I†j@¢"],["@@…¡‰@ˆV^RqˆBbAŒnTXeRz¤Lž«³I"],["@@ÆEE—„kWqë @œ"],["@@fced"]],encodeOffsets:[[[122886,24033]],[[123335,22980]],[[122375,24193]],[[122518,24117]],[[124427,22618]],[[124862,26043]]]},properties:{cp:[121.509062,25.044332],name:"台湾",childNum:6}},{id:"130000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@o~†Z]‚ªr‰ºc_ħ²G¼s`jΟnüsœłNX_“M`ǽÓnUK…Ĝēs¤­©yrý§uģŒc†JŠ›e"],["@@U`Ts¿m‚"],["@@oºƋÄd–eVŽDJj£€J|Ådz•Ft~žKŨ¸IÆv|”‡¢r}膎onb˜}`RÎÄn°ÒdÞ²„^®’lnÐèĄlðӜ×]ªÆ}LiĂ±Ö`^°Ç¶p®đDcœŋ`–ZÔ’¶êqvFƚ†N®ĆTH®¦O’¾ŠIbÐã´BĐɢŴÆíȦp–ĐÞXR€·nndOž¤’OÀĈƒ­Qg˜µFo|gȒęSWb©osx|hYh•gŃfmÖĩnº€T̒Sp›¢dYĤ¶UĈjl’ǐpäìë|³kÛfw²Xjz~ÂqbTŠÑ„ěŨ@|oM‡’zv¢ZrÃVw¬ŧĖ¸fŒ°ÐT€ªqŽs{Sž¯r æÝlNd®²Ğ džiGʂJ™¼lr}~K¨ŸƐÌWö€™ÆŠzRš¤lêmĞL΄’@¡|q]SvK€ÑcwpÏρ†ĿćènĪWlĄkT}ˆJ”¤~ƒÈT„d„™pddʾĬŠ”ŽBVt„EÀ¢ôPĎƗè@~‚k–ü\\rÊĔÖæW_§¼F˜†´©òDòj’ˆYÈrbĞāøŀG{ƀ|¦ðrb|ÀH`pʞkv‚GpuARhÞÆǶgʊTǼƹS£¨¡ù³ŘÍ]¿Ây™ôEP xX¶¹܇O¡“gÚ¡IwÃ鑦ÅB‡Ï|Ç°…N«úmH¯‹âŸDùŽyŜžŲIÄuШDž•¸dɂ‡‚FŸƒ•›Oh‡đ©OŸ›iÃ`ww^ƒÌkŸ‘ÑH«ƇǤŗĺtFu…{Z}Ö@U‡´…ʚLg®¯Oı°ÃwŸ ^˜—€VbÉs‡ˆmA…ê]]w„§›RRl£‡ȭµu¯b{ÍDěïÿȧŽuT£ġƒěŗƃĝ“Q¨fV†Ƌ•ƅn­a@‘³@šď„yýIĹÊKšŭfċŰóŒxV@tˆƯŒJ”]eƒR¾fe|rHA˜|h~Ėƍl§ÏŠlTíb ØoˆÅbbx³^zÃĶš¶Sj®A”yÂhðk`š«P€”ˈµEF†Û¬Y¨Ļrõqi¼‰Wi°§’б´°^[ˆÀ|ĠO@ÆxO\\tŽa\\tĕtû{ġŒȧXýĪÓjùÎRb›š^ΛfK[ݏděYfíÙTyŽuUSyŌŏů@Oi½’éŅ­aVcř§ax¹XŻác‡žWU£ôãºQ¨÷Ñws¥qEH‰Ù|‰›šYQoŕÇyáĂ£MðoťÊ‰P¡mšWO¡€v†{ôvîēÜISpÌhp¨ ‘j†deŔQÖj˜X³à™Ĉ[n`Yp@Už–cM`’RKhŒEbœ”pŞlNut®Etq‚nsÁŠgA‹iú‹oH‡qCX‡”hfgu“~ϋWP½¢G^}¯ÅīGCŸÑ^ãziMáļMTÃƘrMc|O_ž¯Ŏ´|‡morDkO\\mĆJfl@cĢ¬¢aĦtRıҙ¾ùƀ^juųœK­ƒUFy™—Ɲ…›īÛ÷ąV×qƥV¿aȉd³B›qPBm›aËđŻģm“Å®VŠ¹d^K‡KoŸnYg“¯Xhqa”Ldu¥•ÍpDž¡KąÅƒkĝęěhq‡}HyÓ]¹ǧ£…Í÷¿qᵧš™g‘¤o^á¾ZE‡¤i`ij{n•ƒOl»ŸWÝĔįhg›F[¿¡—ßkOüš_‰€ū‹i„DZàUtėGylƒ}ŒÓM}€jpEC~¡FtoQi‘šHkk{Ãmï‚"]],encodeOffsets:[[[119712,40641]],[[121616,39981]],[[116462,37237]]]},properties:{cp:[114.502461,38.045474],name:"河北",childNum:3}},{id:"140000",type:"Feature",geometry:{type:"Polygon",coordinates:["@@Þĩ҃S‰ra}Á€yWix±Üe´lè“ßÓǏok‘ćiµVZģ¡coœ‘TS˹ĪmnÕńe–hZg{gtwªpXaĚThȑp{¶Eh—®RćƑP¿£‘Pmc¸mQÝW•ďȥoÅîɡųAďä³aωJ‘½¥PG­ąSM­™…EÅruµé€‘Yӎ•Ō_d›ĒCo­Èµ]¯_²ÕjāŽK~©ÅØ^ԛkïçămϑk]­±ƒcݯÑÃmQÍ~_a—pm…~ç¡q“ˆu{JÅŧ·Ls}–EyÁÆcI{¤IiCfUc•ƌÃp§]웫vD@¡SÀ‘µM‚ÅwuŽYY‡¡DbÑc¡hƒ×]nkoQdaMç~eD•ÛtT‰©±@¥ù@É¡‰ZcW|WqOJmĩl«ħşvOÓ«IqăV—¥ŸD[mI~Ó¢cehiÍ]Ɠ~ĥqXŠ·eƷœn±“}v•[ěďŽŕ]_‘œ•`‰¹ƒ§ÕōI™o©b­s^}Ét±ū«³p£ÿ·Wµ|¡¥ăFÏs׌¥ŅxŸÊdÒ{ºvĴÎêÌɊ²¶€ü¨|ÞƸµȲ‘LLúÉƎ¤ϊęĔV`„_bª‹S^|ŸdŠzY|dz¥p†ZbÆ£¶ÒK}tĦÔņƠ‚PYzn€ÍvX¶Ěn ĠÔ„zý¦ª˜÷žÑĸَUȌ¸‚dòÜJð´’ìúNM¬ŒXZ´‘¤ŊǸ_tldIš{¦ƀðĠȤ¥NehXnYG‚‡R° ƬDj¬¸|CĞ„Kq‚ºfƐiĺ©ª~ĆOQª ¤@ìǦɌ²æBŒÊ”TœŸ˜ʂōĖ’šĴŞ–ȀœÆÿȄlŤĒö„t”νî¼ĨXhŒ‘˜|ªM¤Ðz"],encodeOffsets:[[116874,41716]]},properties:{cp:[112.549248,37.857014],name:"山西",childNum:1}},{id:"150000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@Č^â£Ăh–šĖMÈÄw‚\\fŦ°W ¢¾luŸD„wŠ\\̀ʉÌÛM…Ā[bӞEn}¶Vc…ê“sƒ–›¯PqƒFB…‰|S•³C|kñ•H‹d‘iÄ¥sˆʼnő…PóÑÑE^‘ÅPpy_YtS™hQ·aHwsOnʼnÚs©iqj›‰€USiº]ïWš‰«gW¡A–R붛ijʕ…Œů`çõh]y»ǃŸǛҤxÒm~zf}pf|ÜroÈzrKÈĵSƧ„ż؜Ġu¦ö"],["@@sKCš…GS|úþX”gp›{ÁX¿Ÿć{ƱȏñZáĔyoÁhA™}ŅĆfdʼn„_¹„Y°ėǩÑ¡H¯¶oMQqð¡Ë™|‘Ñ`ƭŁX½·óۓxğįÅcQ‡ˆ“ƒs«tȋDžF“Ÿù^i‘t«Č¯[›hAi©á¥ÇĚ×l|¹y¯YȵƓ‹ñǙµï‚ċ™Ļ|Dœ™üȭ¶¡˜›oŽäÕG\\ďT¿Òõr¯œŸLguÏYęRƩšɷŌO\\İТæ^Ŋ IJȶȆbÜGŽĝ¬¿ĚVĎgª^íu½jÿĕęjık@Ľƒ]ėl¥Ë‡ĭûÁ„ƒėéV©±ćn©­ȇžÍq¯½•YÃÔʼn“ÉNѝÅÝy¹NqáʅDǡËñ­ƁYÅy̱os§ȋµʽǘǏƬɱà‘ưN¢ƔÊuľýľώȪƺɂļžxœZĈ}ÌʼnŪ˜ĺœŽĭFЛĽ̅ȣͽÒŵìƩÇϋÿȮǡŏçƑůĕ~Ǎ›¼ȳÐUf†dIxÿ\\G ˆzâɏÙOº·pqy£†@ŒŠqþ@Ǟ˽IBäƣzsÂZ†ÁàĻdñ°ŕzéØűzșCìDȐĴĺf®ŽÀľưø@ɜÖÞKĊŇƄ§‚͑těï͡VAġÑÑ»d³öǍÝXĉĕÖ{þĉu¸ËʅğU̎éhɹƆ̗̮ȘNJ֥ड़ࡰţાíϲäʮW¬®ҌeרūȠkɬɻ̼ãüfƠSצɩςåȈHϚÎKdzͲOðÏȆƘ¼CϚǚ࢚˼ФԂ¤ƌžĞ̪Qʤ´¼mȠJˀŸƲÀɠmǐnǔĎȆÞǠN~€ʢĜ‚¶ƌĆĘźʆȬ˪ĚĒ¸ĞGȖƴƀj`ĢçĶāàŃºēĢƒĖćšYŒÀŎüôQÐÂŎŞdžŞêƖš˜oˆDĤÕºÑǘÛˤ³̀gńƘĔÀ^žªƂ`ªt¾äƚêĦĀ¼Ð€Ĕǎ¨Ȕ»͠^ˮÊȦƤøxRrŜH¤¸ÂxDĝŒ|ø˂˜ƮÐ¬ɚwɲFjĔ²Äw°dždÀɞ_ĸdîàŎjʜêTЪŌ‡ŜWÈ|tqĢUB~´°ÎFC•ŽU¼pĀēƄN¦¾O¶ŠłKĊOj“Ě”j´ĜYp˜{¦„ˆSĚÍ\\Tš×ªV–÷Ší¨ÅDK°ßtŇĔKš¨ǵÂcḷ̌ĚǣȄĽF‡lġUĵœŇ‹ȣFʉɁƒMğįʏƶɷØŭOǽ«ƽū¹Ʊő̝Ȩ§ȞʘĖiɜɶʦ}¨֪ࠜ̀ƇǬ¹ǨE˦ĥªÔêFŽxúQ„Er´W„rh¤Ɛ \\talĈDJ˜Ü|[Pll̚¸ƎGú´Pž¬W¦†^¦–H]prR“n|or¾wLVnÇIujkmon£cX^Bh`¥V”„¦U¤¸}€xRj–[^xN[~ªŠxQ„‚[`ªHÆÂExx^wšN¶Ê˜|¨ì†˜€MrœdYp‚oRzNy˜ÀDs~€bcfÌ`L–¾n‹|¾T‚°c¨È¢a‚r¤–`[|òDŞĔöxElÖdH„ÀI`„Ď\\Àì~ƎR¼tf•¦^¢ķ¶e”ÐÚMŒptgj–„ɡČÅyġLû™ŇV®ŠÄÈƀ†Ď°P|ªVV†ªj–¬ĚÒêp¬–E|ŬÂc|ÀtƐK fˆ{ĘFĒœƌXƲąo½Ę‘\\¥–o}›Ûu£ç­kX‘{uĩ«āíÓUŅßŢq€Ť¥lyň[€oi{¦‹L‡ń‡ðFȪȖ”ĒL„¿Ì‹ˆfŒ£K£ʺ™oqNŸƒwğc`ue—tOj×°KJ±qƒÆġm‰Ěŗos¬…qehqsuœƒH{¸kH¡Š…ÊRǪÇƌbȆ¢´ä܍¢NìÉʖ¦â©Ż؛Ç@Vu»A—ylßí¹ĵê…ÝlISò³C¹Ìâ„²i¶’Ìoú^H“²CǜңDŽ z¼g^èöŰ_‹‚–†IJĕꄜ}gÁnUI«m‰…„‹]j‡vV¼euhwqA„aW˜ƒ_µj…»çjioQR¹ēÃßt@r³[ÛlćË^ÍÉáG“›OUۗOB±•XŸkŇ¹£k|e]ol™ŸkVͼÕqtaÏõjgÁ£§U^Œ”RLˆËnX°Ç’Bz†^~wfvˆypV ¯„ƫĉ˭ȫƗŷɿÿĿƑ˃ĝÿÃǃßËőó©ǐȍŒĖM×ÍEyx‹þp]Évïè‘vƀnÂĴÖ@‚‰†V~Ĉ™Š³MEˆĸÅĖt—ējyÄDXÄxGQuv_›i¦aBçw‘˛wD™©{ŸtāmQ€{EJ§KPśƘƿ¥@‰sCT•É}ɃwˆƇy±ŸgÑ“}T[÷kÐ禫…SÒ¥¸ëBX½‰HáŵÀğtSÝÂa[ƣ°¯¦P]£ġ“–“Òk®G²„èQ°óMq}EŠóƐÇ\\ƒ‡@áügQ͋u¥Fƒ“T՛¿Jû‡]|mvāÎYua^WoÀa·­ząÒot׶CLƗi¯¤mƎHNJ¤îìɾŊìTdåwsRÖgĒųúÍġäÕ}Q¶—ˆ¿A•†‹[¡Œ{d×uQAƒ›M•xV‹vMOmăl«ct[wº_šÇʊŽŸjb£ĦS_é“QZ“_lwgOiýe`YYLq§IÁˆdz£ÙË[ÕªuƏ³ÍT—s·bÁĽäė[›b[ˆŗfãcn¥îC¿÷µ[ŏÀQ­ōšĉm¿Á^£mJVm‡—L[{Ï_£›F¥Ö{ŹA}…×Wu©ÅaųijƳhB{·TQqÙIķˑZđ©Yc|M¡…L•eVUóK_QWk’_ĥ‘¿ãZ•»X\\ĴuUƒè‡lG®ěłTĠğDєOrÍd‚ÆÍz]‹±…ŭ©ŸÅ’]ŒÅÐ}UË¥©Tċ™ïxgckfWgi\\ÏĒ¥HkµE˜ë{»ÏetcG±ahUiñiWsɁˆ·c–C‚Õk]wȑ|ća}w…VaĚ᠞ŒG°ùnM¬¯†{ȈÐÆA’¥ÄêJxÙ¢”hP¢Ûˆº€µwWOŸóFŽšÁz^ÀŗÎú´§¢T¤ǻƺSė‰ǵhÝÅQgvBHouʝl_o¿Ga{ïq{¥|ſĿHĂ÷aĝÇq‡Z‘ñiñC³ª—…»E`¨åXēÕqÉû[l•}ç@čƘóO¿¡ƒFUsA‰“ʽīccšocƒ‚ƒÇS}„“£‡IS~ălkĩXçmĈ…ŀЂoÐdxÒuL^T{r@¢‘žÍƒĝKén£kQ™‰yšÅõËXŷƏL§~}kqš»IHėDžjĝŸ»ÑÞoŸå°qTt|r©ÏS‹¯·eŨĕx«È[eMˆ¿yuˆ‘pN~¹ÏyN£{©’—g‹ħWí»Í¾s“əšDž_ÃĀɗ±ą™ijĉʍŌŷ—S›É“A‹±åǥɋ@럣R©ąP©}ĹªƏj¹erƒLDĝ·{i«ƫC£µ"]],encodeOffsets:[[[127444,52594]],[[113793,40312]]]},properties:{cp:[111.670801,40.818311],name:"内蒙古",childNum:2}},{id:"210000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@L–Ž@@s™a"],["@@MnNm"],["@@d‚c"],["@@eÀ‚C@b‚“‰"],["@@f‡…Xwkbr–Ä`qg"],["@@^jtW‘Q"],["@@~ Y]c"],["@@G`ĔN^_¿Z‚ÃM"],["@@iX¶B‹Y"],["@@„YƒZ"],["@@L_{Epf"],["@@^WqCT\\"],["@@\\[“‹§t|”¤_"],["@@m`n_"],["@@Ïxnj{q_×^Giip"],["@@@œé^B†‡ntˆaÊU—˜Ÿ]x ¯ÄPIJ­°h€ʙK³†VˆÕ@Y~†|EvĹsDŽ¦­L^p²ŸÒG ’Ël]„xxÄ_˜fT¤Ď¤cŽœP„–C¨¸TVjbgH²sdÎdHt`Bˆ—²¬GJję¶[ÐhjeXdlwhšðSȦªVÊπ‹Æ‘Z˜ÆŶ®²†^ŒÎyÅÎcPqń“ĚDMħĜŁH­ˆk„çvV[ij¼W–‚YÀäĦ’‘`XlžR`žôLUVžfK–¢†{NZdĒª’YĸÌÚJRr¸SA|ƴgŴĴÆbvªØX~†źBŽ|¦ÕœEž¤Ð`\\|Kˆ˜UnnI]¤ÀÂĊnŎ™R®Ő¿¶\\ÀøíDm¦ÎbŨab‰œaĘ\\ľã‚¸a˜tÎSƐ´©v\\ÖÚÌǴ¤Â‡¨JKr€Z_Z€fjþhPkx€`Y”’RIŒjJcVf~sCN¤ ˆE‚œhæm‰–sHy¨SðÑÌ\\\\ŸĐRZk°IS§fqŒßýáЍÙÉÖ[^¯ǤŲ„ê´\\¦¬ĆPM¯£Ÿˆ»uïpùzEx€žanµyoluqe¦W^£ÊL}ñrkqWňûP™‰UP¡ôJŠoo·ŒU}£Œ„[·¨@XŒĸŸ“‹‹DXm­Ûݏº‡›GU‹CÁª½{íĂ^cj‡k“¶Ã[q¤“LÉö³cux«zZfƒ²BWÇ®Yß½ve±ÃC•ý£W{Ú^’q^sÑ·¨‹ÍOt“¹·C¥‡GD›rí@wÕKţ݋˜Ÿ«V·i}xËÍ÷‘i©ĝ‡ɝǡ]ƒˆ{c™±OW‹³Ya±Ÿ‰_穂Hžĕoƫ€Ňqƒr³‰Lys[„ñ³¯OS–ďOMisZ†±ÅFC¥Pq{‚Ã[Pg}\\—¿ghćO…•k^ģÁFıĉĥM­oEqqZûěʼn³F‘¦oĵ—hŸÕP{¯~TÍlª‰N‰ßY“Ð{Ps{ÃVU™™eĎwk±ʼnVÓ½ŽJãÇÇ»Jm°dhcÀff‘dF~ˆ€ĀeĖ€d`sx² šƒ®EżĀdQ‹Âd^~ăÔHˆ¦\\›LKpĄVez¤NP ǹӗR™ÆąJSh­a[¦´Âghwm€BÐ¨źhI|žVVŽ—Ž|p] Â¼èNä¶ÜBÖ¼“L`‚¼bØæŒKV”ŸpoœúNZÞÒKxpw|ÊEMnzEQšŽIZ”ŽZ‡NBˆčÚFÜçmĩ‚WĪñt‘ÞĵÇñZ«uD‚±|Əlij¥ãn·±PmÍa‰–da‡ CL‡Ǒkùó¡³Ï«QaċϑOÃ¥ÕđQȥċƭy‹³ÃA"]],encodeOffsets:[[[123686,41445]],[[126019,40435]],[[124393,40128]],[[126117,39963]],[[125322,40140]],[[126686,40700]],[[126041,40374]],[[125584,40168]],[[125453,40165]],[[125362,40214]],[[125280,40291]],[[125774,39997]],[[125976,40496]],[[125822,39993]],[[125509,40217]],[[122731,40949]]]},properties:{cp:[123.429096,41.796767],name:"辽宁",childNum:16}},{id:"220000",type:"Feature",geometry:{type:"Polygon",coordinates:["@@‘p䔳PClƒFbbÍzš€wBG’ĭ€Z„Åi“»ƒlY­ċ²SgŽkÇ£—^S‰“qd¯•‹R…©éŽ£¯S†\\cZ¹iűƏCuƍÓX‡oR}“M^o•£…R}oªU­F…uuXHlEŕ‡€Ï©¤ÛmTŽþ¤D–²ÄufàÀ­XXȱAe„yYw¬dvõ´KÊ£”\\rµÄl”iˆdā]|DÂVŒœH¹ˆÞ®ÜWnŒC”Œķ W‹§@\\¸‹ƒ~¤‹Vp¸‰póIO¢ŠVOšŇürXql~òÉK]¤¥Xrfkvzpm¶bwyFoúvð‡¼¤ N°ąO¥«³[ƒéǡű_°Õ\\ÚÊĝŽþâőàerR¨­JYlďQ[ ÏYëЧTGz•tnŠß¡gFkMŸāGÁ¤ia É‰™È¹`\\xs€¬dĆkNnuNUŠ–užP@‚vRY¾•–\\¢…ŒGªóĄ~RãÖÎĢù‚đŴÕhQŽxtcæëSɽʼníëlj£ƍG£nj°KƘµDsØÑpyƸ®¿bXp‚]vbÍZuĂ{nˆ^IüœÀSք”¦EŒvRÎûh@℈[‚Əȉô~FNr¯ôçR±ƒ­HÑl•’Ģ–^¤¢‚OðŸŒævxsŒ]ÞÁTĠs¶¿âƊGW¾ìA¦·TѬ†è¥€ÏÐJ¨¼ÒÖ¼ƒƦɄxÊ~S–tD@ŠĂ¼Ŵ¡jlºWžvЉˆzƦZЎ²CH— „Axiukd‹ŒGgetqmcžÛ£Ozy¥cE}|…¾cZ…k‚‰¿uŐã[oxGikfeäT@…šSUwpiÚFM©’£è^ڟ‚`@v¶eň†f h˜eP¶žt“äOlÔUgƒÞzŸU`lœ}ÔÆUvØ_Ō¬Öi^ĉi§²ÃŠB~¡Ĉ™ÚEgc|DC_Ȧm²rBx¼MÔ¦ŮdĨÃâYx‘ƘDVÇĺĿg¿cwÅ\\¹˜¥Yĭlœ¤žOv†šLjM_a W`zļMž·\\swqÝSA‡š—q‰Śij¯Š‘°kŠRē°wx^Đkǂғ„œž“œŽ„‹\\]˜nrĂ}²ĊŲÒøãh·M{yMzysěnĒġV·°“G³¼XÀ““™¤¹i´o¤ŃšŸÈ`̃DzÄUĞd\\i֚ŒˆmÈBĤÜɲDEh LG¾ƀľ{WaŒYÍȏĢĘÔRîĐj‹}Ǟ“ccj‡oUb½š{“h§Ǿ{K‹ƖµÎ÷žGĀÖŠåưÎs­l›•yiē«‹`姝H¥Ae^§„GK}iã\\c]v©ģZ“mÃ|“[M}ģTɟĵ‘Â`À–çm‰‘FK¥ÚíÁbXš³ÌQґHof{‰]e€pt·GŋĜYünĎųVY^’˜ydõkÅZW„«WUa~U·Sb•wGçǑ‚“iW^q‹F‚“›uNĝ—·Ew„‹UtW·Ýďæ©PuqEzwAV•—XR‰ãQ`­©GŒM‡ehc›c”ďϝd‡©ÑW_ϗYƅŒ»…é\\ƒɹ~ǙG³mØ©BšuT§Ĥ½¢Ã_ý‘L¡‘ýŸqT^rme™\\Pp•ZZbƒyŸ’uybQ—efµ]UhĿDCmûvašÙNSkCwn‰cćfv~…Y‹„ÇG"],encodeOffsets:[[130196,42528]]},properties:{cp:[125.3245,43.886841],name:"吉林",childNum:1}},{id:"230000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@ƨƒĶTLÇyqpÇÛqe{~oyen}s‰`q‡iXG”ù]Ëp½“©lɇÁp]Þñ´FÔ^f‘äîºkà˜z¼BUvÈ@"],["@@UƒµNÿ¥īè灋•HÍøƕ¶LŒǽ|g¨|”™Ža¾pViˆdd”~ÈiŒíďÓQġėǐZ΋ŽXb½|ſÃH½ŸKFgɱCģÛÇA‡n™‹jÕc[VĝDZÃ˄Ç_™ £ń³pŽj£º”š¿”»WH´¯”U¸đĢmžtĜyzzNN|g¸÷äűѱĉā~mq^—Œ[ƒ”››”ƒǁÑďlw]¯xQĔ‰¯l‰’€°řĴrŠ™˜BˆÞTxr[tŽ¸ĻN_yŸX`biN™Ku…P›£k‚ZĮ—¦[ºxÆÀdhŽĹŀUÈƗCw’áZħÄŭcÓ¥»NAw±qȥnD`{ChdÙFćš}¢‰A±Äj¨]ĊÕjŋ«×`VuÓś~_kŷVÝyh„“VkÄãPs”Oµ—fŸge‚Ň…µf@u_Ù ÙcŸªNªÙEojVx™T@†ãSefjlwH\\pŏäÀvŠŽlY†½d{†F~¦dyz¤PÜndsrhf‹HcŒvlwjFœ£G˜±DύƥY‡yϊu¹XikĿ¦ÏqƗǀOŜ¨LI|FRĂn sª|Cš˜zxAè¥bœfudTrFWÁ¹Am|˜ĔĕsķÆF‡´Nš‰}ć…UŠÕ@Áijſmužç’uð^ÊýowŒFzØÎĕNőžǏȎôªÌŒDŽàĀÄ˄ĞŀƒʀĀƘŸˮȬƬĊ°ƒUŸzou‡xe]}Ž…AyȑW¯ÌmK‡“Q]‹Īºif¸ÄX|sZt|½ÚUΠlkš^p{f¤lˆºlÆW –€A²˜PVܜPH”Êâ]ÎĈÌÜk´\\@qàsĔÄQºpRij¼èi†`¶—„bXƒrBgxfv»ŽuUiˆŒ^v~”J¬mVp´£Œ´VWrnP½ì¢BX‚¬h™ŠðX¹^TjVœŠriªj™tŊÄm€tPGx¸bgRšŽsT`ZozÆO]’ÒFô҆Oƒ‡ŊŒvŞ”p’cGŒêŠsx´DR–Œ{A†„EOr°Œ•žx|íœbˆ³Wm~DVjºéNN†Ëܲɶ­GƒxŷCStŸ}]ûō•SmtuÇÃĕN•™āg»šíT«u}ç½BĵÞʣ¥ëÊ¡Mێ³ãȅ¡ƋaǩÈÉQ‰†G¢·lG|›„tvgrrf«†ptęŘnŠÅĢr„I²¯LiØsPf˜_vĠd„xM prʹšL¤‹¤‡eˌƒÀđK“žïÙVY§]I‡óáĥ]ķ†Kˆ¥Œj|pŇ\\kzţ¦šnņäÔVĂîĪ¬|vW’®l¤èØr‚˜•xm¶ă~lÄƯĄ̈́öȄEÔ¤ØQĄ–Ą»ƢjȦOǺ¨ìSŖÆƬy”Qœv`–cwƒZSÌ®ü±DŽ]ŀç¬B¬©ńzƺŷɄeeOĨS’Œfm Ċ‚ƀP̎ēz©Ċ‚ÄÕÊmgŸÇsJ¥ƔˆŊśæ’΁Ñqv¿íUOµª‰ÂnĦÁ_½ä@ê텣P}Ġ[@gġ}g“ɊדûÏWXá¢užƻÌsNͽƎÁ§č՛AēeL³àydl›¦ĘVçŁpśdžĽĺſʃQíÜçÛġԏsĕ¬—Ǹ¯YßċġHµ ¡eå`ļƒrĉŘóƢFì“ĎWøxÊk†”ƈdƬv|–I|·©NqńRŀƒ¤é”eŊœŀ›ˆàŀU²ŕƀB‚Q£Ď}L¹Îk@©ĈuǰųǨ”Ú§ƈnTËÇéƟÊcfčŤ^Xm‡—HĊĕË«W·ċëx³ǔķÐċJā‚wİ_ĸ˜Ȁ^ôWr­°oú¬Ħ…ŨK~”ȰCĐ´Ƕ£’fNÎèâw¢XnŮeÂÆĶŽ¾¾xäLĴĘlļO¤ÒĨA¢Êɚ¨®‚ØCÔ ŬGƠ”ƦYĜ‡ĘÜƬDJ—g_ͥœ@čŅĻA“¶¯@wÎqC½Ĉ»NŸăëK™ďÍQ“Ùƫ[«Ãí•gßÔÇOÝáW‘ñuZ“¯ĥ€Ÿŕā¡ÑķJu¤E Ÿå¯°WKɱ_d_}}vyŸõu¬ï¹ÓU±½@gÏ¿rýD‰†g…Cd‰µ—°MFYxw¿CG£‹Rƛ½Õ{]L§{qqąš¿BÇƻğëšܭNJË|c²}Fµ}›ÙRsÓpg±ŠQNqǫŋRwŕnéÑÉKŸ†«SeYR…ŋ‹@{¤SJ}šD Ûǖ֍Ÿ]gr¡µŷjqWÛham³~S«“„›Þ]"]],encodeOffsets:[[[127123,51780]],[[134456,44547]]]},properties:{cp:[126.642464,45.756967],name:"黑龙江",childNum:2}},{id:"320000",type:"Feature",geometry:{type:"Polygon",coordinates:["@@cþÅPiŠ`ZŸRu¥É\\]~°ŽY`µ†Óƒ^phÁbnÀşúŽòa–ĬºTÖŒb‚˜e¦¦€{¸ZâćNpŒ©žHr|^ˆmjhŠSEb\\afv`sz^lkŽlj‹Ätg‹¤D˜­¾Xš¿À’|ДiZ„ȀåB·î}GL¢õcßjaŸyBFµÏC^ĭ•cÙt¿sğH]j{s©HM¢ƒQnDÀ©DaÜތ·jgàiDbPufjDk`dPOîƒhw¡ĥ‡¥šG˜ŸP²ĐobºrY†„î¶aHŢ´ ]´‚rılw³r_{£DB_Ûdåuk|ˆŨ¯F Cºyr{XFy™e³Þċ‡¿Â™kĭB¿„MvÛpm`rÚã”@Ę¹hågËÖƿxnlč¶Åì½Ot¾dJlŠVJʜǀœŞqvnOŠ^ŸJ”Z‘ż·Q}ê͎ÅmµÒ]Žƍ¦Dq}¬R^èĂ´ŀĻĊIԒtžIJyQŐĠMNtœR®òLh‰›Ěs©»œ}OӌGZz¶A\\jĨFˆäOĤ˜HYš†JvÞHNiÜaϚɖnFQlšNM¤ˆB´ĄNöɂtp–Ŭdf先‹qm¿QûŠùއÚb¤uŃJŴu»¹Ą•lȖħŴw̌ŵ²ǹǠ͛hĭłƕrçü±Y™xci‡tğ®jű¢KOķ•Coy`å®VTa­_Ā]ŐÝɞï²ʯÊ^]afYǸÃĆēĪȣJđ͍ôƋĝÄ͎ī‰çÛɈǥ£­ÛmY`ó£Z«§°Ó³QafusNıDž_k}¢m[ÝóDµ—¡RLčiXy‡ÅNïă¡¸iĔϑNÌŕoēdōîåŤûHcs}~Ûwbù¹£¦ÓCt‹OPrƒE^ÒoŠg™ĉIµžÛÅʹK…¤½phMŠü`o怆ŀ"],encodeOffsets:[[121740,32276]]},properties:{cp:[118.767413,32.041544],name:"江苏",childNum:1}},{id:"330000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@E^dQ]K"],["@@jX^j‡"],["@@sfŠbU‡"],["@@qP\\xz[ck"],["@@‘Rƒ¢‚FX}°[s_"],["@@Cbœ\\—}"],["@@e|v\\la{u"],["@@v~u}"],["@@QxÂF¯}"],["@@¹nŒvÞs¯o"],["@@rSkUEj"],["@@bi­ZŒP"],["@@p[}INf"],["@@À¿€"],["@@¹dnbŒ…"],["@@rSŸBnR"],["@@g~h}"],["@@FlEk"],["@@OdPc"],["@@v[u\\"],["@@FjâL~wyoo~›sµL–\\"],["@@¬e¹aNˆ"],["@@\\nÔ¡q]L³ë\\ÿ®ŒQ֎"],["@@ÊA­©[¬"],["@@KxŒv­"],["@@@hlIk]"],["@@pW{o||j"],["@@Md|_mC"],["@@¢…X£ÏylD¼XˆtH"],["@@hlÜ[LykAvyfw^Ež›¤"],["@@fp¤Mus“R"],["@@®_ma~•LÁ¬šZ"],["@@iM„xZ"],["@@ZcYd"],["@@Z~dOSo|A¿qZv"],["@@@`”EN¡v"],["@@|–TY{"],["@@@n@m"],["@@XWkCT\\"],["@@ºwšZRkĕWO¢"],["@@™X®±Grƪ\\ÔáXq{‹"],["@@ůTG°ĄLHm°UC‹"],["@@¤Ž€aÜx~}dtüGæţŎíĔcŖpMËВjē¢·ðĄÆMzˆjWKĎ¢Q¶˜À_꒔_Bı€i«pZ€gf€¤Nrq]§ĂN®«H±‡yƳí¾×ŸīàLłčŴǝĂíÀBŖÕªˆŠÁŖHŗʼnåqûõi¨hÜ·ƒñt»¹ýv_[«¸m‰YL¯‰Qª…mĉÅdMˆ•gÇjcº«•ęœ¬­K­´ƒB«Âącoċ\\xKd¡gěŧ«®á’[~ıxu·Å”KsËɏc¢Ù\\ĭƛëbf¹­ģSƒĜkáƉÔ­ĈZB{ŠaM‘µ‰fzʼnfåÂŧįƋǝÊĕġć£g³ne­ą»@­¦S®‚\\ßðCšh™iqªĭiAu‡A­µ”_W¥ƣO\\lċĢttC¨£t`ˆ™PZäuXßBs‡Ļyek€OđġĵHuXBšµ]׌‡­­\\›°®¬F¢¾pµ¼kŘó¬Wät’¸|@ž•L¨¸µr“ºù³Ù~§WI‹ŸZWŽ®’±Ð¨ÒÉx€`‰²pĜ•rOògtÁZ}þÙ]„’¡ŒŸFK‚wsPlU[}¦Rvn`hq¬\\”nQ´ĘRWb”‚_ rtČFI֊kŠŠĦPJ¶ÖÀÖJĈĄTĚòžC ²@Pú…Øzœ©PœCÈڜĒ±„hŖ‡l¬â~nm¨f©–iļ«m‡nt–u†ÖZÜÄj“ŠLŽ®E̜Fª²iÊxبžIÈhhst"],["@@o\\V’zRZ}y"],["@@†@°¡mۛGĕ¨§Ianá[ýƤjfæ‡ØL–•äGr™"]],encodeOffsets:[[[125592,31553]],[[125785,31436]],[[125729,31431]],[[125513,31380]],[[125223,30438]],[[125115,30114]],[[124815,29155]],[[124419,28746]],[[124095,28635]],[[124005,28609]],[[125e3,30713]],[[125111,30698]],[[125078,30682]],[[125150,30684]],[[124014,28103]],[[125008,31331]],[[125411,31468]],[[125329,31479]],[[125626,30916]],[[125417,30956]],[[125254,30976]],[[125199,30997]],[[125095,31058]],[[125083,30915]],[[124885,31015]],[[125218,30798]],[[124867,30838]],[[124755,30788]],[[124802,30809]],[[125267,30657]],[[125218,30578]],[[125200,30562]],[[124968,30474]],[[125167,30396]],[[124955,29879]],[[124714,29781]],[[124762,29462]],[[124325,28754]],[[123990,28459]],[[125366,31477]],[[125115,30363]],[[125369,31139]],[[122495,31878]],[[125329,30690]],[[125192,30787]]]},properties:{cp:[120.153576,30.287459],name:"浙江",childNum:45}},{id:"340000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@^iuLX^"],["@@‚e©Ehl"],["@@°ZÆëϵmkǀwÌÕæhºgBĝâqÙĊz›ÖgņtÀÁÊÆá’hEz|WzqD¹€Ÿ°E‡ŧl{ævÜcA`¤C`|´qžxIJkq^³³ŸGšµbƒíZ…¹qpa±ď OH—¦™Ħˆx¢„gPícOl_iCveaOjCh߸i݋bÛªCC¿€m„RV§¢A|t^iĠGÀtÚs–d]ĮÐDE¶zAb àiödK¡~H¸íæAžǿYƒ“j{ď¿‘™À½W—®£ChŒÃsiŒkkly]_teu[bFa‰Tig‡n{]Gqªo‹ĈMYá|·¥f¥—őaSÕė™NµñĞ«ImŒ_m¿Âa]uĜp …Z_§{Cƒäg¤°r[_Yj‰ÆOdý“[ŽI[á·¥“Q_n‡ùgL¾mv™ˊBÜƶĊJhšp“c¹˜O]iŠ]œ¥ jtsggJǧw×jÉ©±›EFˍ­‰Ki”ÛÃÕYv…s•ˆm¬njĻª•§emná}k«ŕˆƒgđ²Ù›DǤ›í¡ªOy›†×Où±@DŸñSęćăÕIÕ¿IµĥO‰‰jNÕËT¡¿tNæŇàåyķrĕq§ÄĩsWÆߎF¶žX®¿‰mŒ™w…RIޓfßoG‘³¾©uyH‘į{Ɓħ¯AFnuP…ÍÔzšŒV—dàôº^Ðæd´€‡oG¤{S‰¬ćxã}›ŧ×Kǥĩ«žÕOEзÖdÖsƘѨ[’Û^Xr¢¼˜§xvěƵ`K”§ tÒ´Cvlo¸fzŨð¾NY´ı~ÉĔē…ßúLÃϖ_ÈÏ|]ÂÏFl”g`bšežž€n¾¢pU‚h~ƴĖ¶_‚r sĄ~cž”ƈ]|r c~`¼{À{ȒiJjz`îÀT¥Û³…]’u}›f…ïQl{skl“oNdŸjŸäËzDvčoQŠďHI¦rb“tHĔ~BmlRš—V_„ħTLnñH±’DžœL‘¼L˜ªl§Ťa¸ŒĚlK²€\\RòvDcÎJbt[¤€D@®hh~kt°ǾzÖ@¾ªdb„YhüóZ ň¶vHrľ\\ʗJuxAT|dmÀO„‹[ÃԋG·ĚąĐlŪÚpSJ¨ĸˆLvÞcPæķŨŽ®mАˆálŸwKhïgA¢ųƩޖ¤OȜm’°ŒK´"]],encodeOffsets:[[[121722,32278]],[[119475,30423]],[[119168,35472]]]},properties:{cp:[117.283042,31.86119],name:"安徽",childNum:3}},{id:"350000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@“zht´‡]"],["@@aj^~ĆG—©O"],["@@ed¨„C}}i"],["@@@vˆPGsQ"],["@@‰sBz‚ddW]Q"],["@@SŽ¨Q“{"],["@@NŽVucW"],["@@qptBAq"],["@@‰’¸[mu"],["@@Q\\pD]_"],["@@jSwUadpF"],["@@eXª~ƒ•"],["@@AjvFso"],["@@fT–›_Çí\\Ÿ™—v|ba¦jZÆy€°"],["@@IjJi"],["@@wJI€ˆxš«¼AoNe{M­"],["@@K‰±¡Óˆ”ČäeZ"],["@@k¡¹Eh~c®wBk‹UplÀ¡I•~Māe£bN¨gZý¡a±Öcp©PhžI”Ÿ¢Qq…ÇGj‹|¥U™ g[Ky¬ŏ–v@OpˆtÉEŸF„\\@ åA¬ˆV{Xģ‰ĐBy…cpě…¼³Ăp·¤ƒ¥o“hqqÚ¡ŅLsƒ^ᗞ§qlŸÀhH¨MCe»åÇGD¥zPO£čÙkJA¼ß–ėu›ĕeûҍiÁŧSW¥˜QŠûŗ½ùěcݧSùĩąSWó«íęACµ›eR—åǃRCÒÇZÍ¢‹ź±^dlsŒtjD¸•‚ZpužÔâÒH¾oLUêÃÔjjēò´ĄW‚ƛ…^Ñ¥‹ĦŸ@Çò–ŠmŒƒOw¡õyJ†yD}¢ďÑÈġfŠZd–a©º²z£šN–ƒjD°Ötj¶¬ZSÎ~¾c°¶Ðm˜x‚O¸¢Pl´žSL|¥žA†ȪĖM’ņIJg®áIJČĒü` ŽQF‡¬h|ÓJ@zµ |ê³È ¸UÖŬŬÀEttĸr‚]€˜ðŽM¤ĶIJHtÏ A’†žĬkvsq‡^aÎbvŒd–™fÊòSD€´Z^’xPsÞrv‹ƞŀ˜jJd×ŘÉ ®A–ΦĤd€xĆqAŒ†ZR”ÀMźŒnĊ»ŒİÐZ— YX–æJŠyĊ²ˆ·¶q§·–K@·{s‘Xãô«lŗ¶»o½E¡­«¢±¨Yˆ®Ø‹¶^A™vWĶGĒĢžPlzfˆļŽtàAvWYãšO_‡¤sD§ssČġ[kƤPX¦Ž`¶“ž®ˆBBvĪjv©šjx[L¥àï[F…¼ÍË»ğV`«•Ip™}ccÅĥZE‹ãoP…´B@ŠD—¸m±“z«Ƴ—¿å³BRضˆœWlâþäą`“]Z£Tc— ĹGµ¶H™m@_©—kŒ‰¾xĨ‡ôȉðX«½đCIbćqK³Á‹Äš¬OAwã»aLʼn‡ËĥW[“ÂGI—ÂNxij¤D¢ŽîĎÎB§°_JœGsƒ¥E@…¤uć…P‘å†cuMuw¢BI¿‡]zG¹guĮck\\_"]],encodeOffsets:[[[123250,27563]],[[122541,27268]],[[123020,27189]],[[122916,27125]],[[122887,26845]],[[122808,26762]],[[122568,25912]],[[122778,26197]],[[122515,26757]],[[122816,26587]],[[123388,27005]],[[122450,26243]],[[122578,25962]],[[121255,25103]],[[120987,24903]],[[122339,25802]],[[121042,25093]],[[122439,26024]]]},properties:{cp:[119.306239,26.075302],name:"福建",childNum:18}},{id:"360000",type:"Feature",geometry:{type:"Polygon",coordinates:["@@ĢĨƐgļˆ¼ÂMD~ņªe^\\^§„ý©j׍cZ†Ø¨zdÒa¶ˆlҍJŒìõ`oz÷@¤u޸´†ôęöY¼‰HČƶajlÞƩ¥éZ[”|h}^U Œ ¥p„ĄžƦO lt¸Æ €Q\\€ŠaÆ|CnÂOjt­ĚĤd’ÈŒF`’¶„@Ð딠¦ōҞ¨Sêv†HĢûXD®…QgėWiØPÞìºr¤dž€NĠ¢l–•ĄtZoœCƞÔºCxrpĠV®Ê{f_Y`_ƒeq’’®Aot`@o‚DXfkp¨|Šs¬\\D‘ÄSfè©Hn¬…^DhÆyøJh“ØxĢĀLʈ„ƠPżċĄwȠ̦G®ǒĤäTŠÆ~ĦwŠ«|TF¡Šn€c³Ïå¹]ĉđxe{ÎӐ†vOEm°BƂĨİ|G’vz½ª´€H’àp”eJ݆Qšxn‹ÀŠW­žEµàXÅĪt¨ÃĖrÄwÀFÎ|ňÓMå¼ibµ¯»åDT±m[“r«_gŽmQu~¥V\\OkxtL E¢‹ƒ‘Ú^~ýê‹Pó–qo슱_Êw§ÑªåƗā¼‹mĉŹ‹¿NQ“…YB‹ąrwģcÍ¥B•Ÿ­ŗÊcØiI—žƝĿuŒqtāwO]‘³YCñTeɕš‹caub͈]trlu€ī…B‘ПGsĵıN£ï—^ķqss¿FūūV՟·´Ç{éĈý‰ÿ›OEˆR_ŸđûIċâJh­ŅıN‘ȩĕB…¦K{Tk³¡OP·wn—µÏd¯}½TÍ«YiµÕsC¯„iM•¤™­•¦¯P|ÿUHv“he¥oFTu‰õ\\ŽOSs‹MòđƇiaºćXŸĊĵà·çhƃ÷ǜ{‘ígu^›đg’m[×zkKN‘¶Õ»lčÓ{XSƉv©_ÈëJbVk„ĔVÀ¤P¾ºÈMÖxlò~ªÚàGĂ¢B„±’ÌŒK˜y’áV‡¼Ã~­…`g›ŸsÙfI›Ƌlę¹e|–~udjˆuTlXµf`¿JdŠ[\\˜„L‚‘²"],encodeOffsets:[[116689,26234]]},properties:{cp:[115.892151,28.676493],name:"江西",childNum:1}},{id:"370000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@Xjd]{K"],["@@itbFHy"],["@@HlGk"],["@@T‚ŒGŸy"],["@@K¬˜•‹U"],["@@WdXc"],["@@PtOs"],["@@•LnXhc"],["@@ppVƒu]Or"],["@@cdzAUa"],["@@udRhnCI‡"],["@@ˆoIƒpR„"],["@@Ľč{fzƤî’Kš–ÎMĮ]†—ZFˆ½Y]â£ph’™š¶¨râøÀ†ÎǨ¤^ºÄ”Gzˆ~grĚĜlĞƄLĆdž¢Îo¦–cv“Kb€gr°Wh”mZp ˆL]LºcU‰Æ­n”żĤÌĒœbAnrOAœ´žȊcÀbƦUØrĆUÜøœĬƞ†š˜Ez„VL®öØBkŖÝĐĖ¹ŧ̄±ÀbÎɜnb²ĦhņBĖ›žįĦåXćì@L¯´ywƕCéõė ƿ¸‘lµ¾Z|†ZWyFYŸ¨Mf~C¿`€à_RÇzwƌfQnny´INoƬˆèôº|sT„JUš›‚L„îVj„ǎ¾Ē؍‚Dz²XPn±ŴPè¸ŔLƔÜƺ_T‘üÃĤBBċȉöA´fa„˜M¨{«M`‡¶d¡ô‰Ö°šmȰBÔjjŒ´PM|”c^d¤u•ƒ¤Û´Œä«ƢfPk¶Môlˆ]Lb„}su^ke{lC‘…M•rDŠÇ­]NÑFsmoõľH‰yGă{{çrnÓE‰‹ƕZGª¹Fj¢ïW…uøCǷ돡ąuhÛ¡^Kx•C`C\\bÅxì²ĝÝ¿_N‰īCȽĿåB¥¢·IŖÕy\\‡¹kx‡Ã£Č×GDyÕ¤ÁçFQ¡„KtŵƋ]CgÏAùSed‡cÚź—ŠuYfƒyMmhUWpSyGwMPqŀ—›Á¼zK›¶†G•­Y§Ëƒ@–´śÇµƕBmœ@Io‚g——Z¯u‹TMx}C‘‰VK‚ï{éƵP—™_K«™pÛÙqċtkkù]gŽ‹Tğwo•ɁsMõ³ă‡AN£™MRkmEʕč™ÛbMjÝGu…IZ™—GPģ‡ãħE[iµBEuŸDPԛ~ª¼ętŠœ]ŒûG§€¡QMsğNPŏįzs£Ug{đJĿļā³]ç«Qr~¥CƎÑ^n¶ÆéÎR~Ż¸Y’I“] P‰umŝrƿ›‰›Iā‹[x‰edz‹L‘¯v¯s¬ÁY…~}…ťuŁŒg›ƋpÝĄ_ņī¶ÏSR´ÁP~ž¿Cyžċßdwk´Ss•X|t‰`Ä Èð€AªìÎT°¦Dd–€a^lĎDĶÚY°Ž`ĪŴǒˆ”àŠv\\ebŒZH„ŖR¬ŢƱùęO•ÑM­³FۃWp[ƒ"]],encodeOffsets:[[[123806,39303]],[[123821,39266]],[[123742,39256]],[[123702,39203]],[[123649,39066]],[[123847,38933]],[[123580,38839]],[[123894,37288]],[[123043,36624]],[[123344,38676]],[[123522,38857]],[[123628,38858]],[[118260,36742]]]},properties:{cp:[117.000923,36.675807],name:"山东",childNum:13}},{id:"410000",type:"Feature",geometry:{type:"Polygon",coordinates:["@@•ýL™ùµP³swIÓxcŢĞð†´E®žÚPt†ĴXØx¶˜@«ŕŕQGƒ‹Yfa[şu“ßǩ™đš_X³ijÕčC]kbc•¥CS¯ëÍB©÷‹–³­Siˆ_}m˜YTtž³xlàcȂzÀD}ÂOQ³ÐTĨ¯†ƗòËŖ[hœł‹Ŧv~††}ÂZž«¤lPǕ£ªÝŴÅR§ØnhcŒtâk‡nύ­ľŹUÓÝdKuķ‡I§oTũÙďkęĆH¸ÓŒ\\ăŒ¿PcnS{wBIvɘĽ[GqµuŸŇôYgûƒZcaŽ©@½Õǽys¯}lgg@­C\\£as€IdÍuCQñ[L±ęk·‹ţb¨©kK—’»›KC²‘òGKmĨS`ƒ˜UQ™nk}AGē”sqaJ¥ĐGR‰ĎpCuÌy ã iMc”plk|tRk†ðœev~^‘´†¦ÜŽSí¿_iyjI|ȑ|¿_»d}qŸ^{“Ƈdă}Ÿtqµ`Ƴĕg}V¡om½fa™Ço³TTj¥„tĠ—Ry”K{ùÓjuµ{t}uËR‘iŸvGŠçJFjµŠÍyqΘàQÂFewixGw½Yŷpµú³XU›½ġy™łå‰kÚwZXˆ·l„¢Á¢K”zO„Λ΀jc¼htoDHr…|­J“½}JZ_¯iPq{tę½ĕ¦Zpĵø«kQ…Ťƒ]MÛfaQpě±ǽ¾]u­Fu‹÷nƒ™čįADp}AjmcEǒaª³o³ÆÍSƇĈÙDIzˑ赟^ˆKLœ—i—Þñ€[œƒaA²zz‰Ì÷Dœ|[šíijgf‚ÕÞd®|`ƒĆ~„oĠƑô³Ŋ‘D×°¯CsŠøÀ«ì‰UMhTº¨¸ǡîS–Ô„DruÂÇZ•ÖEŽ’vPZ„žW”~؋ÐtĄE¢¦Ðy¸bŠô´oŬ¬Ž²Ês~€€]®tªašpŎJ¨Öº„_ŠŔ–`’Ŗ^Ѝ\\Ĝu–”~m²Ƹ›¸fW‰ĦrƔ}Î^gjdfÔ¡J}\\n C˜¦þWxªJRÔŠu¬ĨĨmF†dM{\\d\\ŠYÊ¢ú@@¦ª²SŠÜsC–}fNècbpRmlØ^g„d¢aÒ¢CZˆZxvÆ¶N¿’¢T@€uCœ¬^ĊðÄn|žlGl’™Rjsp¢ED}€Fio~ÔNŽ‹„~zkĘHVsDzßjƒŬŒŠŢ`Pûàl¢˜\\ÀœEhŽİgÞē X¼Pk–„|m"],encodeOffsets:[[118256,37017]]},properties:{cp:[113.665412,34.757975],name:"河南",childNum:1}},{id:"420000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@AB‚"],["@@lskt"],["@@¾«}{ra®pîÃ\\™›{øCŠËyyB±„b\\›ò˜Ý˜jK›‡L ]ĎĽÌ’JyÚCƈćÎT´Å´pb©È‘dFin~BCo°BĎĚømvŒ®E^vǾ½Ĝ²Ro‚bÜeNŽ„^ĺ£R†¬lĶ÷YoĖ¥Ě¾|sOr°jY`~I”¾®I†{GqpCgyl{‡£œÍƒÍyPL“¡ƒ¡¸kW‡xYlÙ抚ŁĢzœ¾žV´W¶ùŸo¾ZHxjwfx„GNÁ•³Xéæl¶‰EièIH‰ u’jÌQ~v|sv¶Ôi|ú¢Fh˜Qsğ¦ƒSiŠBg™ÐE^ÁÐ{–čnOÂȞUÎóĔ†ÊēIJ}Z³½Mŧïeyp·uk³DsѨŸL“¶_œÅuèw»—€¡WqÜ]\\‘Ò§tƗcÕ¸ÕFÏǝĉăxŻČƟO‡ƒKÉġÿ×wg”÷IÅzCg†]m«ªGeçÃTC’«[‰t§{loWeC@ps_Bp‘­r‘„f_``Z|ei¡—oċMqow€¹DƝӛDYpûs•–‹Ykıǃ}s¥ç³[§ŸcYŠ§HK„«Qy‰]¢“wwö€¸ïx¼ņ¾Xv®ÇÀµRĠЋžHMž±cÏd„ƒǍũȅȷ±DSyúĝ£ŤĀàtÖÿï[îb\\}pĭÉI±Ñy…¿³x¯N‰o‰|¹H™ÏÛm‹júË~Tš•u˜ęjCöAwě¬R’đl¯ Ñb­‰ŇT†Ŀ_[Œ‘IčĄʿnM¦ğ\\É[T·™k¹œ©oĕ@A¾w•ya¥Y\\¥Âaz¯ãÁ¡k¥ne£Ûw†E©Êō¶˓uoj_Uƒ¡cF¹­[Wv“P©w—huÕyBF“ƒ`R‹qJUw\\i¡{jŸŸEPïÿ½fć…QÑÀQ{ž‚°‡fLԁ~wXg—ītêݾ–ĺ‘Hdˆ³fJd]‹HJ²…E€ƒoU¥†HhwQsƐ»Xmg±çve›]Dm͂PˆoCc¾‹_h”–høYrŊU¶eD°Č_N~øĹĚ·`z’]Äþp¼…äÌQŒv\\rCŒé¾TnkžŐڀÜa‡“¼ÝƆĢ¶Ûo…d…ĔňТJq’Pb ¾|JŒ¾fXŠƐîĨ_Z¯À}úƲ‹N_ĒĊ^„‘ĈaŐyp»CÇĕKŠšñL³ŠġMŒ²wrIÒŭxjb[œžn«øœ˜—æˆàƒ ^²­h¯Ú€ŐªÞ¸€Y²ĒVø}Ā^İ™´‚LŠÚm„¥ÀJÞ{JVŒųÞŃx×sxxƈē ģMř–ÚðòIf–Ċ“Œ\\Ʈ±ŒdʧĘD†vČ_Àæ~DŒċ´A®µ†¨ØLV¦êHÒ¤"]],encodeOffsets:[[[113712,34e3]],[[115612,30507]],[[113649,34054]]]},properties:{cp:[114.298572,30.584355],name:"湖北",childNum:3}},{id:"430000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@—n„FTs"],["@@ßÅÆችÔXr—†CO™“…ËR‘ïÿĩ­TooQyšÓ[‹ŅBE¬–ÎÓXa„į§Ã¸G °ITxp‰úxÚij¥Ïš–Ģ¾ŠedžÄ©ĸG…œàGh‚€M¤–Â_U}Ċ}¢pczfŠþg¤€”ÇòAV‘‹M"],["@@©K—ƒA·³CQ±Á«³BUŠƑ¹AŠtćOw™D]ŒJiØSm¯b£‘ylƒ›X…HËѱH•«–‘C^õľA–Å§¤É¥„ïyuǙuA¢^{ÌC´­¦ŷJ£^[†“ª¿‡ĕ~•Ƈ…•N… skóā‡¹¿€ï]ă~÷O§­@—Vm¡‹Qđ¦¢Ĥ{ºjԏŽŒª¥nf´•~ÕoŸž×Ûą‹MąıuZœmZcÒ IJĪ²SÊDŽŶ¨ƚƒ’CÖŎªQؼrŭŽ­«}NÏürʬŒmjr€@ĘrTW ­SsdHzƓ^ÇÂyUi¯DÅYlŹu{hTœ}mĉ–¹¥ě‰Dÿë©ıÓ[Oº£ž“¥ót€ł¹MՄžƪƒ`Pš…Di–ÛUŠ¾Å‌ìˆU’ñB“È£ýhe‰dy¡oċ€`pfmjP~‚kZa…ZsÐd°wj§ƒ@€Ĵ®w~^‚kÀÅKvNmX\\¨a“”сqvíó¿F„¤¡@ũÑVw}S@j}¾«pĂr–ªg àÀ²NJ¶¶Dô…K‚|^ª†Ž°LX¾ŴäPĪ±œ£EXd›”^¶›IJÞܓ~‘u¸ǔ˜Ž›MRhsR…e†`ÄofIÔ\\Ø  i”ćymnú¨cj ¢»–GČìƊÿШXeĈĀ¾Oð Fi ¢|[jVxrIQŒ„_E”zAN¦zLU`œcªx”OTu RLÄ¢dV„i`p˔vŎµªÉžF~ƒØ€d¢ºgİàw¸Áb[¦Zb¦–z½xBĖ@ªpº›šlS¸Ö\\Ĕ[N¥ˀmĎă’J\\‹ŀ`€…ňSڊĖÁĐiO“Ĝ«BxDõĚiv—ž–S™Ì}iùŒžÜnšÐºGŠ{Šp°M´w†ÀÒzJ²ò¨ oTçüöoÛÿñŽőФ‚ùTz²CȆȸǎŪƒƑÐc°dPÎŸğ˶[Ƚu¯½WM¡­Éž“’B·rížnZŸÒ `‡¨GA¾\\pē˜XhÆRC­üWGġu…T靧Ŏѝ©ò³I±³}_‘‹EÃħg®ęisÁPDmÅ{‰b[Rşs·€kPŸŽƥƒóRo”O‹ŸVŸ~]{g\\“êYƪ¦kÝbiċƵŠGZ»Ěõ…ó·³vŝž£ø@pyö_‹ëŽIkѵ‡bcѧy…×dY؎ªiþž¨ƒ[]f]Ņ©C}ÁN‡»hĻħƏ’ĩ"]],encodeOffsets:[[[115640,30489]],[[112543,27312]],[[116690,26230]]]},properties:{cp:[112.982279,28.19409],name:"湖南",childNum:3}},{id:"440000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@QdˆAua"],["@@ƒlxDLo"],["@@sbhNLo"],["@@Ă āŸ"],["@@WltO[["],["@@Krœ]S"],["@@e„„I]y"],["@@I|„Mym"],["@@ƒÛ³LSŒž¼Y"],["@@nvºB–ëui©`¾"],["@@zdšÛ›Jw®"],["@@†°…¯"],["@@a yAª¸ËJIx،@€ĀHAmßV¡o•fu•o"],["@@šs‰ŗÃÔėAƁ›ZšÄ ~°ČP‚‹äh"],["@@‹¶Ý’Ì‚vmĞh­ı‡Q"],["@@HœŠdSjĒ¢D}war…“u«ZqadYM"],["@@elŒ\\LqqU"],["@@~rMo\\"],["@@f„^ƒC"],["@@øPªoj÷ÍÝħXČx”°Q¨ıXNv"],["@@gÇƳˆŽˆ”oˆŠˆ[~tly"],["@@E–ÆC¿‘"],["@@OŽP"],["@@w‹†đóg‰™ĝ—[³‹¡VÙæÅöM̳¹pÁaËýý©D©Ü“JŹƕģGą¤{Ùū…ǘO²«BƱéA—Ò‰ĥ‡¡«BhlmtÃPµyU¯uc“d·w_bŝcīímGOŽ|KP’ȏ‡ŹãŝIŕŭŕ@Óoo¿ē‹±ß}Ž…ŭ‚ŸIJWÈCőâUâǙI›ğʼn©I›ijEׅÁ”³Aó›wXJþ±ÌŒÜӔĨ£L]ĈÙƺZǾĆĖMĸĤfŒÎĵl•ŨnȈ‘ĐtF”Š–FĤ–‚êk¶œ^k°f¶gŠŽœ}®Fa˜f`vXŲxl˜„¦–ÔÁ²¬ÐŸ¦pqÊ̲ˆi€XŸØRDÎ}†Ä@ZĠ’s„x®AR~®ETtĄZ†–ƈfŠŠHâÒÐA†µ\\S¸„^wĖkRzŠalŽŜ|E¨ÈNĀňZTŒ’pBh£\\ŒĎƀuXĖtKL–¶G|Ž»ĺEļĞ~ÜĢÛĊrˆO˜Ùîvd]nˆ¬VœÊĜ°R֟pM††–‚ƂªFbwžEÀˆ˜©Œž\\…¤]ŸI®¥D³|ˎ]CöAŤ¦…æ’´¥¸Lv¼€•¢ĽBaô–F~—š®²GÌҐEY„„œzk¤’°ahlV՞I^‹šCxĈPŽsB‰ƒºV‰¸@¾ªR²ĨN]´_eavSi‡vc•}p}Đ¼ƌkJœÚe thœ†_¸ ºx±ò_xN›Ë‹²‘@ƒă¡ßH©Ùñ}wkNÕ¹ÇO½¿£ĕ]ly_WìIžÇª`ŠuTÅxYĒÖ¼k֞’µ‚MžjJÚwn\\h‘œĒv]îh|’È›Ƅøègž¸Ķß ĉĈWb¹ƀdéʌNTtP[ŠöSvrCZžžaGuœbo´ŖÒÇА~¡zCI…özx¢„Pn‹•‰Èñ @ŒĥÒ¦†]ƞŠV}³ăĔñiiÄÓVépKG½Ä‘ÓávYo–C·sit‹iaÀy„ŧΡÈYDÑům}‰ý|m[węõĉZÅxUO}÷N¹³ĉo_qtă“qwµŁYلǝŕ¹tïÛUïmRCº…ˆĭ|µ›ÕÊK™½R‘ē ó]‘–GªęAx–»HO£|ām‡¡diď×YïYWªʼnOeÚtĐ«zđ¹T…ā‡úE™á²\\‹ķÍ}jYàÙÆſ¿Çdğ·ùTßÇţʄ¡XgWÀLJğ·¿ÃˆOj YÇ÷Qě‹i"]],encodeOffsets:[[[117381,22988]],[[116552,22934]],[[116790,22617]],[[116973,22545]],[[116444,22536]],[[116931,22515]],[[116496,22490]],[[116453,22449]],[[113301,21439]],[[118726,21604]],[[118709,21486]],[[113210,20816]],[[115482,22082]],[[113171,21585]],[[113199,21590]],[[115232,22102]],[[115739,22373]],[[115134,22184]],[[113056,21175]],[[119573,21271]],[[119957,24020]],[[115859,22356]],[[116561,22649]],[[116285,22746]]]},properties:{cp:[113.280637,23.125178],name:"广东",childNum:24}},{id:"450000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@H– TQ§•A"],["@@ĨʪƒLƒƊDÎĹĐCǦė¸zÚGn£¾›rªŀÜt¬@֛ڈSx~øOŒ˜ŶÐÂæȠ\\„ÈÜObĖw^oބLf¬°bI lTØB̈F£Ć¹gñĤaY“t¿¤VSñœK¸¤nM†¼‚JE±„½¸šŠño‹ÜCƆæĪ^ŠĚQÖ¦^‡ˆˆf´Q†üÜʝz¯šlzUĺš@쇀p¶n]sxtx¶@„~ÒĂJb©gk‚{°‚~c°`ԙ¬rV\\“la¼¤ôá`¯¹LC†ÆbŒxEræO‚v[H­˜„[~|aB£ÖsºdAĐzNÂðsŽÞƔ…Ĥªbƒ–ab`ho¡³F«èVloŽ¤™ÔRzpp®SŽĪº¨ÖƒºN…ij„d`’a”¦¤F³ºDÎńĀìŠCžĜº¦Ċ•~nS›|gźvZkCÆj°zVÈÁƔ]LÊFZg…čP­kini«‹qǀcz͔Y®¬Ů»qR×ō©DՄ‘§ƙǃŵTÉĩ±ŸıdÑnYY›IJvNĆƌØÜ Öp–}e³¦m‹©iÓ|¹Ÿħņ›|ª¦QF¢Â¬ʖovg¿em‡^ucà÷gՎuŒíÙćĝ}FĻ¼Ĺ{µHK•sLSđƃr‹č¤[Ag‘oS‹ŇYMÿ§Ç{Fśbky‰lQxĕƒ]T·¶[B…ÑÏGáşşƇe€…•ăYSs­FQ}­Bƒw‘tYğÃ@~…C̀Q ×W‡j˱rÉ¥oÏ ±«ÓÂ¥•ƒ€k—ŽwWűŒmcih³K›~‰µh¯e]lµ›él•Eģ‰•E“ďs‡’mǖŧē`ãògK_ÛsUʝ“ćğ¶hŒöŒO¤Ǜn³Žc‘`¡y‹¦C‘ez€YŠwa™–‘[ďĵűMę§]X˜Î_‚훘Û]é’ÛUćİÕBƣ±…dƒy¹T^džûÅÑŦ·‡PĻþÙ`K€¦˜…¢ÍeœĥR¿Œ³£[~Œäu¼dl‰t‚†W¸oRM¢ď\\zœ}Æzdvň–{ÎXF¶°Â_„ÒÂÏL©Ö•TmuŸ¼ãl‰›īkiqéfA„·Êµ\\őDc¥ÝF“y›Ôć˜c€űH_hL܋êĺШc}rn`½„Ì@¸¶ªVLŒŠhŒ‹\\•Ţĺk~ŽĠið°|gŒtTĭĸ^x‘vK˜VGréAé‘bUu›MJ‰VÃO¡…qĂXËS‰ģãlýàŸ_ju‡YÛÒB†œG^˜é֊¶§ŽƒEG”ÅzěƒƯ¤Ek‡N[kdåucé¬dnYpAyČ{`]þ¯T’bÜÈk‚¡Ġ•vŒàh„ÂƄ¢J"]],encodeOffsets:[[[111707,21520]],[[107619,25527]]]},properties:{cp:[108.320004,22.82402],name:"广西",childNum:2}},{id:"460000",type:"Feature",geometry:{type:"Polygon",coordinates:["@@š¦Ŝil¢”XƦ‘ƞò–ïè§ŞCêɕrŧůÇąĻõ™·ĉ³œ̅kÇm@ċȧƒŧĥ‰Ľʉ­ƅſ“ȓÒ˦ŝE}ºƑ[ÍĜȋ gÎfǐÏĤ¨êƺ\\Ɔ¸ĠĎvʄȀœÐ¾jNðĀÒRŒšZdž™zÐŘΰH¨Ƣb²_Ġ "],encodeOffsets:[[112750,20508]]},properties:{cp:[110.33119,20.031971],name:"海南",childNum:1}},{id:"510000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@LqKr"],["@@Š[ĻéV£ž_ţġñpG •réÏ·~ąSfy×͂·ºſƽiÍıƣıĻmHH}siaX@iÇ°ÁÃ×t«ƒ­Tƒ¤J–JJŒyJ•ÈŠ`Ohߦ¡uËhIyCjmÿw…ZG……Ti‹SˆsO‰žB²ŸfNmsPaˆ{M{ŠõE‘^Hj}gYpaeuž¯‘oáwHjÁ½M¡pM“–uå‡mni{fk”\\oƒÎqCw†EZ¼K›ĝŠƒAy{m÷L‡wO×SimRI¯rK™õBS«sFe‡]fµ¢óY_ÆPRcue°Cbo׌bd£ŌIHgtrnyPt¦foaXďx›lBowz‹_{ÊéWiêE„GhܸºuFĈIxf®Ž•Y½ĀǙ]¤EyŸF²ċ’w¸¿@g¢§RGv»–áŸW`ÃĵJwi]t¥wO­½a[׈]`Ãi­üL€¦LabbTÀå’c}Íh™Æhˆ‹®BH€î|Ék­¤S†y£„ia©taį·Ɖ`ō¥Uh“O…ƒĝLk}©Fos‰´›Jm„µlŁu—…ø–nÑJWΪ–YÀïAetTžŅ‚ӍG™Ë«bo‰{ıwodƟ½ƒžOġܑµxàNÖ¾P²§HKv¾–]|•B‡ÆåoZ`¡Ø`ÀmºĠ~ÌЧnDž¿¤]wğ@sƒ‰rğu‰~‘Io”[é±¹ ¿žſđӉ@q‹gˆ¹zƱřaí°KtǤV»Ã[ĩǭƑ^ÇÓ@ỗs›Zϕ‹œÅĭ€Ƌ•ěpwDóÖሯneQˌq·•GCœýS]xŸ·ý‹q³•O՜Œ¶Qzßti{ř‰áÍÇWŝŭñzÇW‹pç¿JŒ™‚Xœĩè½cŒF–ÂLiVjx}\\N†ŇĖ¥Ge–“JA¼ÄHfÈu~¸Æ«dE³ÉMA|b˜Ò…˜ćhG¬CM‚õŠ„ƤąAvƒüV€éŀ‰_V̳ĐwQj´·ZeÈÁ¨X´Æ¡Qu·»Ÿ“˜ÕZ³ġqDo‰y`L¬gdp°şŠp¦ėìÅĮZŽ°Iä”h‚‘ˆzŠĵœf²å ›ĚрKp‹IN|‹„Ñz]ń……·FU×é»R³™MƒÉ»GM«€ki€™ér™}Ã`¹ăÞmȝnÁîRǀ³ĜoİzŔwǶVÚ£À]ɜ»ĆlƂ²Ġ…þTº·àUȞÏʦ¶†I’«dĽĢdĬ¿–»Ĕ׊h\\c¬†ä²GêëĤł¥ÀǿżÃÆMº}BÕĢyFVvw–ˆxBèĻĒ©Ĉ“tCĢɽŠȣ¦āæ·HĽî“ôNԓ~^¤Ɗœu„œ^s¼{TA¼ø°¢İªDè¾Ň¶ÝJ‘®Z´ğ~Sn|ªWÚ©òzPOȸ‚bð¢|‹øĞŠŒœŒQìÛÐ@Ğ™ǎRS¤Á§d…i“´ezÝúØã]Hq„kIŸþËQǦÃsǤ[E¬ÉŪÍxXƒ·ÖƁİlƞ¹ª¹|XÊwn‘ÆƄmÀêErĒtD®ċæcQƒ”E®³^ĭ¥©l}äQto˜ŖÜqƎkµ–„ªÔĻĴ¡@Ċ°B²Èw^^RsºTĀ£ŚæœQP‘JvÄz„^Đ¹Æ¯fLà´GC²‘dt˜­ĀRt¼¤ĦOðğfÔðDŨŁĞƘïžPȆ®âbMüÀXZ ¸£@Ś›»»QÉ­™]d“sÖ×_͖_ÌêŮPrĔĐÕGĂeZÜîĘqBhtO ¤tE[h|Y‹Ô‚ZśÎs´xº±UŒ’ñˆt|O’ĩĠºNbgþŠJy^dÂY Į„]Řz¦gC‚³€R`ĀŠz’¢AjŒ¸CL„¤RÆ»@­Ŏk\\Ç´£YW}z@Z}‰Ã¶“oû¶]´^N‡Ò}èN‚ª–P˜Íy¹`S°´†ATe€VamdUĐwʄvĮÕ\\ƒu‹Æŗ¨Yp¹àZÂm™Wh{á„}WØǍ•Éüw™ga§áCNęÎ[ĀÕĪgÖɪX˜øx¬½Ů¦¦[€—„NΆL€ÜUÖ´òrÙŠxR^–†J˜k„ijnDX{Uƒ~ET{ļº¦PZc”jF²Ė@Žp˜g€ˆ¨“B{ƒu¨ŦyhoÚD®¯¢˜ WòàFΤ¨GDäz¦kŮPœġq˚¥À]€Ÿ˜eŽâÚ´ªKxī„Pˆ—Ö|æ[xäJÞĥ‚s’NÖ½ž€I†¬nĨY´®Ð—ƐŠ€mD™ŝuäđđEb…e’e_™v¡}ìęNJē}q”É埁T¯µRs¡M@}ůa†a­¯wvƉåZwž\\Z{åû^›"]],encodeOffsets:[[[108815,30935]],[[110617,31811]]]},properties:{cp:[104.065735,30.659462],name:"四川",childNum:2}},{id:"520000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@†G\\†lY£‘in"],["@@q‚|ˆ‚mc¯tχVSÎ"],["@@hÑ£Is‡NgßH†›HªķÃh_¹ƒ¡ĝħń¦uيùŽgS¯JHŸ|sÝÅtÁïyMDč»eÕtA¤{b\\}—ƒG®u\\åPFq‹wÅaD…žK°ºâ_£ùbµ”mÁ‹ÛœĹM[q|hlaªāI}тƒµ@swtwm^oµˆD鼊yV™ky°ÉžûÛR…³‚‡eˆ‡¥]RՋěħ[ƅåÛDpŒ”J„iV™™‰ÂF²I…»mN·£›LbÒYb—WsÀbŽ™pki™TZĄă¶HŒq`……ĥ_JŸ¯ae«ƒKpÝx]aĕÛPƒÇȟ[ÁåŵÏő—÷Pw}‡TœÙ@Õs«ĿÛq©½œm¤ÙH·yǥĘĉBµĨÕnđ]K„©„œá‹ŸG纍§Õßg‡ǗĦTèƤƺ{¶ÉHÎd¾ŚÊ·OÐjXWrãLyzÉAL¾ę¢bĶėy_qMĔąro¼hĊžw¶øV¤w”²Ĉ]ʚKx|`ź¦ÂÈdr„cȁbe¸›`I¼čTF´¼Óýȃr¹ÍJ©k_șl³´_pН`oÒhŽ¶pa‚^ÓĔ}D»^Xyœ`d˜[Kv…JPhèhCrĂĚÂ^Êƌ wˆZL­Ġ£šÁbrzOIl’MM”ĪŐžËr×ÎeŦŽtw|Œ¢mKjSǘňĂStÎŦEtqFT†¾†E쬬ôxÌO¢Ÿ KŠ³ŀºäY†„”PVgŎ¦Ŋm޼VZwVlŒ„z¤…ž£Tl®ctĽÚó{G­A‡ŒÇgeš~Αd¿æaSba¥KKûj®_ć^\\ؾbP®¦x^sxjĶI_Ä X‚⼕Hu¨Qh¡À@Ëô}Ž±žGNìĎlT¸ˆ…`V~R°tbÕĊ`¸úÛtπFDu€[ƒMfqGH·¥yA‰ztMFe|R‚_Gk†ChZeÚ°to˜v`x‹b„ŒDnÐ{E}šZ˜è€x—†NEފREn˜[Pv@{~rĆAB§‚EO¿|UZ~ì„Uf¨J²ĂÝƀ‚sª–B`„s¶œfvö¦ŠÕ~dÔq¨¸º»uù[[§´sb¤¢zþFœ¢Æ…Àhˆ™ÂˆW\\ıŽËI݊o±ĭŠ£þˆÊs}¡R]ŒěƒD‚g´VG¢‚j±®è†ºÃmpU[Á›‘Œëº°r›ÜbNu¸}Žº¼‡`ni”ºÔXĄ¤¼Ôdaµ€Á_À…†ftQQgœR—‘·Ǔ’v”}Ýלĵ]µœ“Wc¤F²›OĩųãW½¯K‚©…]€{†LóµCIµ±Mß¿hŸ•©āq¬o‚½ž~@i~TUxŪÒ¢@ƒ£ÀEîôruń‚”“‚b[§nWuMÆLl¿]x}ij­€½"]],encodeOffsets:[[[112158,27383]],[[112105,27474]],[[112095,27476]]]},properties:{cp:[106.713478,26.578343],name:"贵州",childNum:3}},{id:"530000",type:"Feature",geometry:{type:"Polygon",coordinates:["@@[„ùx½}ÑRH‘YīĺûsÍn‘iEoã½Ya²ė{c¬ĝg•ĂsA•ØÅwď‚õzFjw}—«Dx¿}UũlŸê™@•HÅ­F‰¨ÇoJ´Ónũuą¡Ã¢pÒŌ“Ø TF²‚xa²ËX€‚cʋlHîAßËŁkŻƑŷÉ©h™W­æßU‡“Ës¡¦}•teèƶStǀÇ}Fd£j‹ĈZĆÆ‹¤T‚č\\Dƒ}O÷š£Uˆ§~ŃG™‚åŃDĝ¸œTsd¶¶Bªš¤u¢ŌĎo~t¾ÍŶÒtD¦Ú„iôö‰€z›ØX²ghįh½Û±¯€ÿm·zR¦Ɵ`ªŊÃh¢rOԍ´£Ym¼èêf¯ŪĽn„†cÚbŒw\\zlvWžªâˆ ¦g–mĿBş£¢ƹřbĥkǫßeeZkÙIKueT»sVesb‘aĕ  ¶®dNœĄÄpªyŽ¼—„³BE˜®l‡ŽGœŭCœǶwêżĔÂe„pÍÀQƞpC„–¼ŲÈ­AÎô¶R„ä’Q^Øu¬°š_Èôc´¹ò¨P΢hlϦ´Ħ“Æ´sâDŽŲPnÊD^¯°’Upv†}®BP̪–jǬx–Söwlfòªv€qĸ|`H€­viļ€ndĜ­Ćhň•‚em·FyށqóžSį¯‘³X_ĞçêtryvL¤§z„¦c¦¥jnŞk˜ˆlD¤øz½ĜàžĂŧMÅ|áƆàÊcðÂF܎‚áŢ¥\\\\º™İøÒÐJĴ‡„îD¦zK²ǏÎEh~’CD­hMn^ÌöÄ©ČZÀžaü„fɭyœpį´ěFűk]Ôě¢qlÅĆÙa¶~Äqššê€ljN¬¼H„ÊšNQ´ê¼VظE††^ŃÒyŒƒM{ŒJLoÒœęæŸe±Ķ›y‰’‡gã“¯JYÆĭĘëo¥Š‰o¯hcK«z_pŠrC´ĢÖY”—¼ v¸¢RŽÅW³Â§fǸYi³xR´ďUˊ`êĿU„û€uĆBƒƣö‰N€DH«Ĉg†——Ñ‚aB{ÊNF´¬c·Åv}eÇÃGB»”If•¦HňĕM…~[iwjUÁKE•Ž‹¾dĪçW›šI‹èÀŒoÈXòyŞŮÈXâÎŚŠj|àsRy‹µÖ›–Pr´þŒ ¸^wþTDŔ–Hr¸‹žRÌmf‡żÕâCôox–ĜƌÆĮŒ›Ð–œY˜tâŦÔ@]ÈǮƒ\\Ī¼Ä£UsȯLbîƲŚºyh‡rŒŠ@ĒԝƀŸÀ²º\\êp“’JŠ}ĠvŠqt„Ġ@^xÀ£È†¨mËÏğ}n¹_¿¢×Y_æpˆÅ–A^{½•Lu¨GO±Õ½ßM¶w’ÁĢۂP‚›Ƣ¼pcIJxŠ|ap̬HšÐŒŊSfsðBZ¿©“XÏÒK•k†÷Eû¿‰S…rEFsÕūk”óVǥʼniTL‚¡n{‹uxţÏh™ôŝ¬ğōN“‘NJkyPaq™Âğ¤K®‡YŸxÉƋÁ]āęDqçgOg†ILu—\\_gz—]W¼ž~CÔē]bµogpў_oď`´³Țkl`IªºÎȄqÔþž»E³ĎSJ»œ_f·‚adÇqƒÇc¥Á_Źw{™L^ɱćx“U£µ÷xgĉp»ĆqNē`rĘzaĵĚ¡K½ÊBzyäKXqiWPÏɸ½řÍcÊG|µƕƣG˛÷Ÿk°_^ý|_zċBZocmø¯hhcæ\\lˆMFlư£Ĝ„ÆyH“„F¨‰µêÕ]—›HA…àӄ^it `þßäkŠĤÎT~Wlÿ¨„ÔPzUC–NVv [jâôDôď[}ž‰z¿–msSh‹¯{jïğl}šĹ[–őŒ‰gK‹©U·µË@¾ƒm_~q¡f¹…ÅË^»‘f³ø}Q•„¡Ö˳gͱ^ǁ…\\ëÃA_—¿bW›Ï[¶ƛ鏝£F{īZgm@|kHǭƁć¦UĔťƒ×ë}ǝƒeďºȡȘÏíBə£āĘPªij¶“ʼnÿ‡y©n‰ď£G¹¡I›Š±LÉĺÑdĉ܇W¥˜‰}g˜Á†{aqÃ¥aŠıęÏZ—ï`"],encodeOffsets:[[104636,22969]]},properties:{cp:[102.712251,25.040609],name:"云南",childNum:1}},{id:"540000",type:"Feature",geometry:{type:"Polygon",coordinates:["@@hžľxŽŖ‰xƒÒVŽ†ºÅâAĪÝȆµę¯Ňa±r_w~uSÕň‘qOj]ɄQ…£Z……UDûoY’»©M[‹L¼qãË{V͕çWViŽ]ë©Ä÷àyƛh›ÚU°ŒŒa”d„cQƒ~Mx¥™cc¡ÙaSyF—ցk­ŒuRýq¿Ôµ•QĽ³aG{¿FµëªéĜÿª@¬·–K‰·àariĕĀ«V»Ŷ™Ĵū˜gèLǴŇƶaf‹tŒèBŚ£^Šâ†ǐÝ®–šM¦ÁǞÿ¬LhŸŽJ¾óƾƺcxw‹f]Y…´ƒ¦|œQLn°aœdĊ…œ\\¨o’œǀÍŎœ´ĩĀd`tÊQŞŕ|‚¨C^©œĈ¦„¦ÎJĊ{ŽëĎjª²rЉšl`¼Ą[t|¦St辉PŒÜK¸€d˜Ƅı]s¤—î_v¹ÎVòŦj˜£Əsc—¬_Ğ´|Ł˜¦AvŽ¦w`ăaÝaa­¢e¤ı²©ªSªšÈMĄwžÉØŔì@T‘¤—Ę™\\õª@”þo´­xA s”ÂtŎKzó´ÇĊµ¢rž^nĊ­Æ¬×üGž¢‚³ {âĊ]š™G‚~bÀgVjzlhǶf€žOšfdŠ‰ªB]pj„•TO–tĊ‚n¤}®¦ƒČ¥d¢¼»ddš”Y¼Žt—¢eȤJ¤}Ǿ¡°§¤AГlc@ĝ”sªćļđAç‡wx•UuzEÖġ~AN¹ÄÅȀŻ¦¿ģŁéì±H…ãd«g[؉¼ēÀ•cīľġ¬cJ‘µ…ÐʥVȝ¸ßS¹†ý±ğkƁ¼ą^ɛ¤Ûÿ‰b[}¬ōõÃ]ËNm®g@•Bg}ÍF±ǐyL¥íCˆƒIij€Ï÷њį[¹¦[⚍EÛïÁÉdƅß{âNÆāŨߝ¾ě÷yC£‡k­´ÓH@¹†TZ¥¢įƒ·ÌAЧ®—Zc…v½ŸZ­¹|ŕWZqgW“|ieZÅYVӁqdq•bc²R@†c‡¥Rã»Ge†ŸeƃīQ•}J[ғK…¬Ə|o’ėjġĠÑN¡ð¯EBčnwôɍėªƒ²•CλŹġǝʅįĭạ̃ūȹ]ΓͧgšsgȽóϧµǛ†ęgſ¶ҍć`ĘąŌJޚä¤rÅň¥ÖÁUětęuůÞiĊÄÀ\\Æs¦ÓRb|Â^řÌkÄŷ¶½÷‡f±iMݑ›‰@ĥ°G¬ÃM¥n£Øą‚ğ¯ß”§aëbéüÑOčœk£{\\‘eµª×M‘šÉfm«Ƒ{Å׃Gŏǩãy³©WÑăû‚··‘Q—òı}¯ã‰I•éÕÂZ¨īès¶ZÈsŽæĔTŘvŽgÌsN@îá¾ó@‰˜ÙwU±ÉT廣TđŸWxq¹Zo‘b‹s[׌¯cĩv‡Œėŧ³BM|¹k‰ªħ—¥TzNYnݍßpęrñĠĉRS~½ŠěVVŠµ‚õ‡«ŒM££µB•ĉ¥áºae~³AuĐh`Ü³ç@BۘïĿa©|z²Ý¼D”£àč²‹ŸƒIƒû›I ā€óK¥}rÝ_Á´éMaň¨€~ªSĈ½Ž½KÙóĿeƃÆBŽ·¬ën×W|Uº}LJrƳ˜lŒµ`bÔ`QˆˆÐÓ@s¬ñIŒÍ@ûws¡åQÑßÁ`ŋĴ{Ī“T•ÚÅTSij‚‹Yo|Ç[ǾµMW¢ĭiÕØ¿@˜šMh…pÕ]j†éò¿OƇĆƇp€êĉâlØw–ěsˆǩ‚ĵ¸c…bU¹ř¨WavquSMzeo_^gsÏ·¥Ó@~¯¿RiīB™Š\\”qTGªÇĜçPoŠÿfñòą¦óQīÈáP•œābß{ƒZŗĸIæńhnszÁCËìñšÏ·ąĚÝUm®ó­L·ăU›Èíoù´Êj°ŁŤ_uµ^‘°Œìǖ@tĶĒ¡Æ‡M³Ģ«˜İĨÅ®ğ†RŽāð“ggheÆ¢z‚Ê©Ô\\°ÝĎz~ź¤Pn–MĪÖB£Ÿk™n鄧żćŠ˜ĆK„Ē°¼L¶è‰âz¨u¦¥LDĘz¬ýÎmĘd¾ß”Fz“hg²™Fy¦ĝ¤ċņbΛ@y‚Ąæm°NĮZRÖíŽJ²öLĸÒ¨Y®ƌÐV‰à˜tt_ڀÂyĠzž]Ţh€zĎ{†ĢX”ˆc|šÐqŽšfO¢¤ög‚ÌHNŽ„PKŖœŽ˜Uú´xx[xˆvĐCûĀŠìÖT¬¸^}Ìsòd´_Ž‡KgžLĴ…ÀBon|H@–Êx˜—¦BpŰˆŌ¿fµƌA¾zLjRxŠ¶F”œkĄźRzŀˆ~¶[”´Hnª–VƞuĒ­È¨ƎcƽÌm¸ÁÈM¦x͊ëÀxdžB’šú^´W†£–d„kɾĬpœw‚˂ØɦļĬIŚœÊ•n›Ŕa¸™~J°î”lɌxĤÊÈðhÌ®‚g˜T´øŽàCˆŽÀ^ªerrƘdž¢İP|Ė ŸWœªĦ^¶´ÂL„aT±üWƜ˜ǀRšŶUńšĖ[QhlLüA†‹Ü\\†qR›Ą©"],encodeOffsets:[[90849,37210]]},properties:{cp:[91.132212,29.660361],name:"西藏",childNum:1}},{id:"610000",type:"Feature",geometry:{type:"Polygon",coordinates:["@@˜p¢—ȮµšûG™Ħ}Ħšðǚ¶òƄ€jɂz°{ºØkÈęâ¦jª‚Bg‚\\œċ°s¬Ž’]jžú ‚E”Ȍdž¬s„t‡”RˆÆdĠݎwܔ¸ôW¾ƮłÒ_{’Ìšû¼„jº¹¢GǪÒ¯ĘƒZ`ºŊƒecņąš~BÂgzpâēòYǠȰÌTΨÂWœ|fcŸă§uF—Œ@NŸ¢XLƒŠRMº[ğȣſï|¥J™kc`sʼnǷ’Y¹‹W@µ÷K…ãï³ÛIcñ·VȋڍÒķø©—þ¥ƒy‚ÓŸğęmWµÎumZyOŅƟĥÓ~sÑL¤µaŅY¦ocyZ{‰y c]{ŒTa©ƒ`U_Ěē£ωÊƍKù’K¶ȱÝƷ§{û»ÅÁȹÍéuij|¹cÑd‘ŠìUYƒŽO‘uF–ÕÈYvÁCqӃT•Ǣí§·S¹NgŠV¬ë÷Át‡°Dد’C´ʼnƒópģ}„ċcE˅FŸŸéGU¥×K…§­¶³B‹Č}C¿åċ`wġB·¤őcƭ²ő[Å^axwQO…ÿEËߌ•ĤNĔŸwƇˆÄŠńwĪ­Šo[„_KÓª³“ÙnK‰Çƒěœÿ]ď€ă_d©·©Ýŏ°Ù®g]±„Ÿ‡ß˜å›—¬÷m\\›iaǑkěX{¢|ZKlçhLt€Ňîŵ€œè[€É@ƉĄEœ‡tƇÏ˜³­ħZ«mJ…›×¾‘MtÝĦ£IwÄå\\Õ{‡˜ƒOwĬ©LÙ³ÙgBƕŀr̛ĢŭO¥lãyC§HÍ£ßEñŸX¡—­°ÙCgpťz‘ˆb`wI„vA|§”‡—hoĕ@E±“iYd¥OĻ¹S|}F@¾oAO²{tfžÜ—¢Fǂ҈W²°BĤh^Wx{@„¬‚­F¸¡„ķn£P|ŸªĴ@^ĠĈæb–Ôc¶l˜Yi…–^Mi˜cĎ°Â[ä€vï¶gv@À“Ĭ·lJ¸sn|¼u~a]’ÆÈtŌºJp’ƒþ£KKf~Š¦UbyäIšĺãn‡Ô¿^­žŵMT–hĠܤko¼Ŏìąǜh`[tŒRd²IJ_œXPrɲ‰l‘‚XžiL§àƒ–¹ŽH˜°Ȧqº®QC—bA†„ŌJ¸ĕÚ³ĺ§ `d¨YjžiZvRĺ±öVKkjGȊĐePОZmļKÀ€‚[ŠŽ`ösìh†ïÎoĬdtKÞ{¬èÒÒBŒÔpIJÇĬJŊ¦±J«ˆY§‹@·pH€µàåVKe›pW†ftsAÅqC·¬ko«pHÆuK@oŸHĆۄķhx“e‘n›S³àǍrqƶRbzy€¸ËАl›¼EºpĤ¼Œx¼½~Ğ’”à@†ÚüdK^ˆmÌSj"],encodeOffsets:[[110234,38774]]},properties:{cp:[108.948024,34.263161],name:"陕西",childNum:1}},{id:"620000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@VuUv"],["@@ũ‹EĠtt~nkh`Q‰¦ÅÄÜdw˜Ab×ĠąJˆ¤DüègĺqBqœj°lI¡ĨÒ¤úSHbš‡ŠjΑBŠ°aZˆ¢KJŽ’O[|A£žDx}Nì•HUnrk„ kp€¼Y kMJn[aG‚áÚÏ[½rc†}aQxOgsPMnUs‡nc‹Z…ž–sKúvA›t„Þġ’£®ĀYKdnFwš¢JE°”Latf`¼h¬we|€Æ‡šbj}GA€·~WŽ”—`†¢MC¤tL©IJ°qdf”O‚“bÞĬ¹ttu`^ZúE`Œ[@„Æsîz®¡’C„ƳƜG²“R‘¢R’m”fŽwĸg܃‚ą G@pzJM½mŠhVy¸uÈÔO±¨{LfæU¶ßGĂq\\ª¬‡²I‚¥IʼnÈīoı‹ÓÑAçÑ|«LÝcspīðÍg…të_õ‰\\ĉñLYnĝg’ŸRǡÁiHLlõUĹ²uQjYi§Z_c¨Ÿ´ĹĖÙ·ŋI…ƒaBD˜­R¹ȥr—¯G•ºß„K¨jWk’ɱŠOq›Wij\\a­‹Q\\sg_ĆǛōëp»£lğۀgS•ŶN®À]ˆÓäm™ĹãJaz¥V}‰Le¤L„ýo‘¹IsŋÅÇ^‘Žbz…³tmEÁ´aŠ¹cčecÇN•ĊãÁ\\č¯—dNj•]j†—ZµkÓda•ćå]ğij@ ©O{¤ĸm¢ƒE·®ƒ«|@Xwg]Aģ±¯‡XǁÑdzªc›wQÚŝñsÕ³ÛV_ýƒ˜¥\\ů¥©¾÷w—Ž©WÕÊĩhÿÖÁRo¸V¬âDb¨šhûx–Ê×nj~Zâƒg|šXÁnßYoº§ZÅŘvŒ[„ĭÖʃuďxcVbnUSf…B¯³_Tzº—ΕO©çMÑ~Mˆ³]µ^püµ”ŠÄY~y@X~¤Z³€[Èōl@®Å¼£QKƒ·Di‹¡By‘ÿ‰Q_´D¥hŗyƒ^ŸĭÁZ]cIzý‰ah¹MĪğP‘s{ò‡‹‘²Vw¹t³Ŝˁ[ŽÑ}X\\gsFŸ£sPAgěp×ëfYHāďÖqēŭOÏë“dLü•\\iŒ”t^c®šRʺ¶—¢H°mˆ‘rYŸ£BŸ¹čIoľu¶uI]vģSQ{ƒUŻ”Å}QÂ|̋°ƅ¤ĩŪU ęĄžÌZҞ\\v˜²PĔ»ƢNHƒĂyAmƂwVmž`”]ȏb•”H`‰Ì¢²ILvĜ—H®¤Dlt_„¢JJÄämèÔDëþgºƫ™”aʎÌrêYi~ ÎݤNpÀA¾Ĕ¼b…ð÷’Žˆ‡®‚”üs”zMzÖĖQdȨý†v§Tè|ªH’þa¸|šÐ ƒwKĢx¦ivr^ÿ ¸l öæfƟĴ·PJv}n\\h¹¶v†·À|\\ƁĚN´Ĝ€çèÁz]ġ¤²¨QÒŨTIl‡ªťØ}¼˗ƦvÄùØE‹’«Fï˛Iq”ōŒTvāÜŏ‚íÛߜÛV—j³âwGăÂíNOŠˆŠPìyV³ʼnĖýZso§HіiYw[߆\\X¦¥c]ÔƩÜ·«j‡ÐqvÁ¦m^ċ±R™¦΋ƈťĚgÀ»IïĨʗƮŽ°Ɲ˜ĻþÍAƉſ±tÍEÕÞāNU͗¡\\ſčåÒʻĘm ƭÌŹöʥ’ëQ¤µ­ÇcƕªoIýˆ‰Iɐ_mkl³ă‰Ɠ¦j—¡Yz•Ňi–}Msßõ–īʋ —}ƒÁVmŸ_[n}eı­Uĥ¼‘ª•I{ΧDӜƻėoj‘qYhĹT©oūĶ£]ďxĩ‹ǑMĝ‰q`B´ƃ˺Ч—ç~™²ņj@”¥@đ´ί}ĥtPńǾV¬ufӃÉC‹tÓ̻‰…¹£G³€]ƖƾŎĪŪĘ̖¨ʈĢƂlɘ۪üºňUðǜȢƢż̌ȦǼ‚ĤŊɲĖ­Kq´ï¦—ºĒDzņɾªǀÞĈĂD†½ĄĎÌŗĞrôñnŽœN¼â¾ʄľԆ|DŽŽ֦ज़ȗlj̘̭ɺƅêgV̍ʆĠ·ÌĊv|ýĖÕWĊǎÞ´õ¼cÒÒBĢ͢UĜð͒s¨ňƃLĉÕÝ@ɛƯ÷¿Ľ­ĹeȏijëCȚDŲyê×Ŗyò¯ļcÂßY…tÁƤyAã˾J@ǝrý‹‰@¤…rz¸oP¹ɐÚyᐇHŸĀ[Jw…cVeȴϜ»ÈŽĖ}ƒŰŐèȭǢόĀƪÈŶë;Ñ̆ȤМľĮEŔ—ĹŊũ~ËUă{ŸĻƹɁύȩþĽvĽƓÉ@ē„ĽɲßǐƫʾǗĒpäWÐxnsÀ^ƆwW©¦cÅ¡Ji§vúF¶Ž¨c~c¼īŒeXǚ‹\\đ¾JŽwÀďksãA‹fÕ¦L}wa‚o”Z’‹D½†Ml«]eÒÅaɲáo½FõÛ]ĻÒ¡wYR£¢rvÓ®y®LF‹LzĈ„ôe]gx}•|KK}xklL]c¦£fRtív¦†PĤoH{tK"]],encodeOffsets:[[[108619,36299]],[[108589,36341]]]},properties:{cp:[103.823557,36.058039],name:"甘肃",childNum:2}},{id:"630000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@InJm"],["@@CƒÆ½OŃĦsΰ~Ē³¦@@“Ņiš±è}ؘƄ˹A³r_ĞŠǒNĪŒĐw¤^ŬĵªpĺSZg’rpiƼĘԛ¨C|͖J’©Ħ»®VIJ~f\\m `Un„˜~ʌŸ•ĬàöNt•~ňjy–¢Zi˜Ɣ¥ĄŠk´nl`JʇŠJþ©pdƖ®È£¶ìRʦ‘źõƮËnŸʼėæÑƀĎ[‚˜¢VÎĂMÖÝÎF²sƊƀÎBļýƞ—¯ʘƭðħ¼Jh¿ŦęΌƇš¥²Q]Č¥nuÂÏriˆ¸¬ƪÛ^Ó¦d€¥[Wà…x\\ZŽjҕ¨GtpþYŊĕ´€zUO뇉P‰îMĄÁxH´á˜iÜUà›îÜՁĂÛSuŎ‹r“œJð̬EŒ‘FÁú×uÃÎkr“Ē{V}İ«O_ÌËĬ©ŽÓŧSRѱ§Ģ£^ÂyèçěM³Ƃę{[¸¿u…ºµ[gt£¸OƤĿéYŸõ·kĀŸq]juw¥Dĩƍ€õÇPéĽG‘ž©ã‡¤G…uȧþRcÕĕNy“yût“ˆ­‡ø‘†ï»a½ē¿BMoį£ŸÍj}éZËqbʍš“Ƭh¹ìÿÓAçãnIáI`ƒks£CG­ě˜Uy×Cy•…’Ÿ@¶ʡÊBnāzG„ơMē¼±O÷õJËĚăVŸĪũƆ£Œ¯{ËL½Ìzż“„VR|ĠTbuvJvµhĻĖH”Aëáa…­OÇðñęNw‡…œľ·L›mI±íĠĩPÉ×®ÿs—’cB³±JKßĊ«`…ađ»·QAmO’‘Vţéÿ¤¹SQt]]Çx€±¯A@ĉij¢Óļ©•ƒl¶ÅÛr—ŕspãRk~¦ª]Į­´“FR„åd­ČsCqđéFn¿Åƃm’Éx{W©ºƝºįkÕƂƑ¸wWūЩÈFž£\\tÈ¥ÄRÈýÌJ ƒlGr^×äùyÞ³fj”c†€¨£ÂZ|ǓMĝšÏ@ëÜőR‹›ĝ‰Œ÷¡{aïȷPu°ËXÙ{©TmĠ}Y³’­ÞIňµç½©C¡į÷¯B»|St»›]vƒųƒs»”}MÓ ÿʪƟǭA¡fs˜»PY¼c¡»¦c„ċ­¥£~msĉP•–Siƒ^o©A‰Šec‚™PeǵŽkg‚yUi¿h}aH™šĉ^|ᴟ¡HØûÅ«ĉ®]m€¡qĉ¶³ÈyôōLÁst“BŸ®wn±ă¥HSòėš£˜S’ë@לÊăxÇN©™©T±ª£IJ¡fb®ÞbŽb_Ą¥xu¥B—ž{łĝ³«`d˜Ɛt—¤ťiñžÍUuºí`£˜^tƃIJc—·ÛLO‹½Šsç¥Ts{ă\\_»™kϊ±q©čiìĉ|ÍIƒ¥ć¥›€]ª§D{ŝŖÉR_sÿc³Īō›ƿΑ›§p›[ĉ†›c¯bKm›R¥{³„Z†e^ŽŒwx¹dƽŽôIg §Mĕ ƹĴ¿—ǣÜ̓]‹Ý–]snåA{‹eŒƭ`ǻŊĿ\\ijŬű”YÂÿ¬jĖqŽßbŠ¸•L«¸©@ěĀ©ê¶ìÀEH|´bRľž–Ó¶rÀQþ‹vl®Õ‚E˜TzÜdb ˜hw¤{LR„ƒd“c‹b¯‹ÙVgœ‚ƜßzÃô쮍^jUèXΖ|UäÌ»rKŽ\\ŒªN‘¼pZCü†VY††¤ɃRi^rPҒTÖ}|br°qňbĚ°ªiƶGQ¾²„x¦PœmlŜ‘[Ĥ¡ΞsĦŸÔÏâ\\ªÚŒU\\f…¢N²§x|¤§„xĔsZPòʛ²SÐqF`ª„VƒÞŜĶƨVZŒÌL`ˆ¢dŐIqr\\oäõ–F礻Ŷ×h¹]Clـ\\¦ďÌį¬řtTӺƙgQÇÓHţĒ”´ÃbEÄlbʔC”|CˆŮˆk„Ʈ[ʼ¬ňœ´KŮÈΰÌĪ¶ƶlð”ļA†TUvdTŠG†º̼ŠÔ€ŒsÊDԄveOg"]],encodeOffsets:[[[105308,37219]],[[95370,40081]]]},properties:{cp:[101.778916,36.623178],name:"青海",childNum:2}},{id:"640000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@KëÀęĞ«OęȿȕŸı]ʼn¡åįÕÔ«Ǵõƪ™ĚQÐZhv K°›öqÀѐS[ÃÖHƖčË‡nL]ûc…Ùß@‚“ĝ‘¾}w»»‹oģF¹œ»kÌÏ·{zPƒ§B­¢íyÅt@ƒ@áš]Yv_ssģ¼i߁”ĻL¾ġsKD£¡N_…“˜X¸}B~Haiˆ™Åf{«x»ge_bs“KF¯¡Ix™mELcÿZ¤­Ģ‘ƒÝœsuBLù•t†ŒYdˆmVtNmtOPhRw~bd…¾qÐ\\âÙH\\bImlNZŸ»loƒŸqlVm–Gā§~QCw¤™{A\\‘PKŸNY‡¯bF‡kC¥’sk‹Šs_Ã\\ă«¢ħkJi¯r›rAhĹûç£CU‡ĕĊ_ԗBixÅُĄnªÑaM~ħpOu¥sîeQ¥¤^dkKwlL~{L~–hw^‚ófćƒKyEŒ­K­zuÔ¡qQ¤xZÑ¢^ļöܾEpž±âbÊÑÆ^fk¬…NC¾‘Œ“YpxbK~¥Že֎ŒäBlt¿Đx½I[ĒǙŒWž‹f»Ĭ}d§dµùEuj¨‚IÆ¢¥dXªƅx¿]mtÏwßRĶŒX¢͎vÆzƂZò®ǢÌʆCrâºMÞzžÆMҔÊÓŊZľ–r°Î®Ȉmª²ĈUªĚøºˆĮ¦ÌĘk„^FłĬhĚiĀĖ¾iİbjÕ"],["@@mfwěwMrŢªv@G‰"]],encodeOffsets:[[[109366,40242]],[[108600,36303]]]},properties:{cp:[106.278179,38.46637],name:"宁夏",childNum:2}},{id:"650000",type:"Feature",geometry:{type:"Polygon",coordinates:["@@QØĔ²X¨”~ǘBºjʐßØvK”ƔX¨vĊOžÃƒ·¢i@~c—‡ĝe_«”Eš“}QxgɪëÏÃ@sÅyXoŖ{ô«ŸuX…ê•Îf`œC‚¹ÂÿÐGĮÕĞXŪōŸMźÈƺQèĽôe|¿ƸJR¤ĘEjcUóº¯Ĩ_ŘÁMª÷Ð¥Oéȇ¿ÖğǤǷÂF҇zÉx[]­Ĥĝ‰œ¦EP}ûƥé¿İƷTėƫœŕƅ™ƱB»Đ±’ēO…¦E–•}‘`cȺrĦáŖuҞª«IJ‡πdƺÏØZƴwʄ¤ĖGЙǂZĶƒèH¶}ÚZצʥĪï|ÇĦMŔ»İĝLj‹ì¥Βœba­¯¥ǕǚkĆŵĦɑĺƯxūД̵nơʃĽá½M»›òmqóŘĝč˾ăC…ćāƿÝɽ©DZŅ¹đ¥˜³ðLrÁ®ɱĕģʼnǻ̋ȥơŻǛȡVï¹Ň۩ûkɗġƁ§ʇė̕ĩũƽō^ƕŠUv£ƁQï“Ƶkŏ½ΉÃŭdzLқʻ«ƭ\\lƒ‡ŭD‡“{ʓDkaFÃÄa“³ŤđÔGRÈƚhSӹŚsİ«ĐË[¥ÚDkº^Øg¼ŵ¸£EÍö•€ůʼnT¡c_‡ËKY‹ƧUśĵ„݃U_©rETÏʜ±OñtYwē¨ƒ{£¨uM³x½şL©Ùá[ÓÐĥ Νtģ¢\\‚ś’nkO›w¥±ƒT»ƷFɯàĩÞáB¹Æ…ÑUw„੍žĽw[“mG½Èå~‡Æ÷QyŠěCFmĭZī—ŵVÁ™ƿQƛ—ûXS²‰b½KϽĉS›©ŷXĕŸ{ŽĕK·¥Ɨcqq©f¿]‡ßDõU³h—­gËÇïģÉɋw“k¯í}I·šœbmœÉ–ř›īJɥĻˁ×xo›ɹī‡l•c…¤³Xù]‘™DžA¿w͉ì¥wÇN·ÂËnƾƍdǧđ®Ɲv•Um©³G\\“}µĿ‡QyŹl㓛µEw‰LJQ½yƋBe¶ŋÀů‡ož¥A—˜Éw@•{Gpm¿Aij†ŽKLhˆ³`ñcËtW‚±»ÕS‰ëüÿďD‡u\\wwwù³—V›LŕƒOMËGh£õP¡™er™Ïd{“‡ġWÁ…č|yšg^ğyÁzÙs`—s|ÉåªÇ}m¢Ń¨`x¥’ù^•}ƒÌ¥H«‰Yªƅ”Aйn~ź¯šf¤áÀz„gŠÇDIԝ´AňĀ҄¶ûEYospõD[{ù°]u›Jq•U•|Soċxţ[õÔĥkŋÞŭZ˺óYËüċrw €ÞkrťË¿XGÉbřaDü·Ē÷Aê[Ää€I®BÕИÞ_¢āĠpŠÛÄȉĖġDKwbm‡ÄNô‡ŠfœƫVÉvi†dz—H‘‹QµâFšù­Âœ³¦{YGžƒd¢ĚÜO „€{Ö¦ÞÍÀPŒ^b–ƾŠlŽ[„vt×ĈÍE˨¡Đ~´î¸ùÎh€uè`¸ŸHÕŔVºwĠââWò‡@{œÙNÝ´ə²ȕn{¿¥{l—÷eé^e’ďˆXj©î\\ªÑò˜Üìc\\üqˆÕ[Č¡xoÂċªbØ­Œø|€¶ȴZdÆšońéŒGš\\”¼C°ÌƁn´nxšÊOĨ’Ūƴĸ¢¸òTxÊǪMīИÖŲÃɎOvˆʦƢ~FŽ‡Rěò—¿ġ~åŊœú‰Nšžš¸qŽ’Ę[Ĕ¶ÂćnÒPĒÜvúĀÊbÖ{Äî¸~Ŕünp¤ÂH¾œĄYÒ©ÊfºmԈĘcDoĬMŬ’˜S¤„s²‚”ʘچžȂVŦ –ŽèW°ªB|IJXŔþÈJĦÆæFĚêŠYĂªĂ]øªŖNÞüA€’fɨJ€˜¯ÎrDDšĤ€`€mz\\„§~D¬{vJÂ˜«lµĂb–¤p€ŌŰNĄ¨ĊXW|ų ¿¾ɄĦƐMT”‡òP˜÷fØĶK¢ȝ˔Sô¹òEð­”`Ɩ½ǒÂň×äı–§ĤƝ§C~¡‚hlå‚ǺŦŞkâ’~}ŽFøàIJaĞ‚fƠ¥Ž„Ŕdž˜®U¸ˆźXœv¢aƆúŪtŠųƠjd•ƺŠƺÅìnrh\\ĺ¯äɝĦ]èpĄ¦´LƞĬŠ´ƤǬ˼Ēɸ¤rºǼ²¨zÌPðŀbþ¹ļD¢¹œ\\ĜÑŚŸ¶ZƄ³àjĨoâŠȴLʉȮŒĐ­ĚăŽÀêZǚŐ¤qȂ\\L¢ŌİfÆs|zºeªÙæ§΢{Ā´ƐÚ¬¨Ĵà²łhʺKÞºÖTŠiƢ¾ªì°`öøu®Ê¾ãØ"],encodeOffsets:[[88824,50096]]},properties:{cp:[87.617733,43.792818],name:"新疆",childNum:1}},{id:"110000",type:"Feature",geometry:{type:"Polygon",coordinates:["@@ĽOÁ›ûtŷmiÍt_H»Ĩ±d`Š¹­{bw…Yr“³S]§§o¹€qGtm_Sŧ€“oa›‹FLg‘QN_•dV€@Zom_ć\\ߚc±x¯oœRcfe…£’o§ËgToÛJíĔóu…|wP¤™XnO¢ÉˆŦ¯rNÄā¤zâŖÈRpŢZŠœÚ{GŠrFt¦Òx§ø¹RóäV¤XdˆżâºWbwŚ¨Ud®bêņ¾‘jnŎGŃŶŠnzÚSeîĜZczî¾i]͜™QaúÍÔiþĩȨWĢ‹ü|Ėu[qb[swP@ÅğP¿{\\‡¥A¨Ï‘Ѩj¯ŠX\\¯œMK‘pA³[H…īu}}"],encodeOffsets:[[120023,41045]]},properties:{cp:[116.405285,39.904989],name:"北京",childNum:1}},{id:"120000",type:"Feature",geometry:{type:"Polygon",coordinates:["@@ŬgX§Ü«E…¶Ḟ“¬O_™ïlÁg“z±AXe™µÄĵ{¶]gitgšIj·›¥îakS€‰¨ÐƎk}ĕ{gB—qGf{¿a†U^fI“ư‹³õ{YƒıëNĿžk©ïËZŏ‘R§òoY×Ógc…ĥs¡bġ«@dekąI[nlPqCnp{ˆō³°`{PNdƗqSÄĻNNâyj]äžÒD ĬH°Æ]~¡HO¾ŒX}ÐxŒgp“gWˆrDGˆŒpù‚Š^L‚ˆrzWxˆZ^¨´T\\|~@I‰zƒ–bĤ‹œjeĊªz£®Ĕvě€L†mV¾Ô_ȔNW~zbĬvG†²ZmDM~”~"],encodeOffsets:[[120237,41215]]},properties:{cp:[117.190182,39.125596],name:"天津",childNum:1}},{id:"310000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@ɧư¬EpƸÁxc‡"],["@@©„ªƒ"],["@@”MA‹‘š"],["@@Qp݁E§ÉC¾"],["@@bŝՕÕEȣÚƥêImɇǦèÜĠŒÚžÃƌÃ͎ó"],["@@ǜûȬɋŠŭ™×^‰sYŒɍDŋ‘ŽąñCG²«ªč@h–_p¯A{‡oloY€¬j@IJ`•gQڛhr|ǀ^MIJvtbe´R¯Ô¬¨YŽô¤r]ì†Ƭį"]],encodeOffsets:[[[124702,32062]],[[124547,32200]],[[124808,31991]],[[124726,32110]],[[124903,32376]],[[124438,32149]]]},properties:{cp:[121.472644,31.231706],name:"上海",childNum:6}},{id:"500000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@vjG~nGŘŬĶȂƀƾ¹¸ØÎezĆT¸}êЖqHŸðqĖ䒊¥^CƒIj–²p…\\_ æüY|[YxƊæuž°xb®…Űb@~¢NQt°¶‚S栓Ê~rljĔëĚ¢~šuf`‘‚†fa‚ĔJåĊ„nÖ]„jƎćÊ@Š£¾a®£Ű{ŶĕF‹ègLk{Y|¡ĜWƔtƬJÑxq‹±ĢN´‰òK‰™–LÈüD|s`ŋ’ć]ƒÃ‰`đŒMûƱ½~Y°ħ`ƏíW‰½eI‹½{aŸ‘OIrÏ¡ĕŇa†p†µÜƅġ‘œ^ÖÛbÙŽŏml½S‹êqDu[R‹ãË»†ÿw`»y‘¸_ĺę}÷`M¯ċfCVµqʼn÷Z•gg“Œ`d½pDO‡ÎCnœ^uf²ènh¼WtƏxRGg¦…pV„†FI±ŽG^ŒIc´ec‡’G•ĹÞ½sëĬ„h˜xW‚}Kӈe­Xsbk”F¦›L‘ØgTkïƵNï¶}Gy“w\\oñ¡nmĈzjŸ•@™Óc£»Wă¹Ój“_m»ˆ¹·~MvÛaqœ»­‰êœ’\\ÂoVnŽÓØ͙²«‹bq¿efE „€‹Ĝ^Qž~ Évý‡ş¤²Į‰pEİ}zcĺƒL‹½‡š¿gņ›¡ýE¡ya£³t\\¨\\vú»¼§·Ñr_oÒý¥u‚•_n»_ƒ•At©Þűā§IVeëƒY}{VPÀFA¨ąB}q@|Ou—\\Fm‰QF݅Mw˜å}]•€|FmϋCaƒwŒu_p—¯sfÙgY…DHl`{QEfNysBŠ¦zG¸rHe‚„N\\CvEsÐùÜ_·ÖĉsaQ¯€}_U‡†xÃđŠq›NH¬•Äd^ÝŰR¬ã°wećJEž·vÝ·Hgƒ‚éFXjÉê`|yŒpxkAwœWĐpb¥eOsmzwqChóUQl¥F^laf‹anòsr›EvfQdÁUVf—ÎvÜ^efˆtET¬ôA\\œ¢sJŽnQTjP؈xøK|nBz‰„œĞ»LY‚…FDxӄvr“[ehľš•vN”¢o¾NiÂxGp⬐z›bfZo~hGi’]öF|‰|Nb‡tOMn eA±ŠtPT‡LjpYQ|†SH††YĀxinzDJ€Ìg¢và¥Pg‰_–ÇzII‹€II•„£®S¬„Øs쐣ŒN"],["@@ifjN@s"]],encodeOffsets:[[[109628,30765]],[[111725,31320]]]},properties:{cp:[106.504962,29.533155],name:"重庆",childNum:2}},{id:"810000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@AlBk"],["@@mŽn"],["@@EpFo"],["@@ea¢pl¸Eõ¹‡hj[ƒ]ÔCΖ@lj˜¡uBXŸ…•´‹AI¹…[‹yDUˆ]W`çwZkmc–…M›žp€Åv›}I‹oJlcaƒfёKŽ°ä¬XJmРđhI®æÔtSHn€Eˆ„ÒrÈc"],["@@rMUw‡AS®€e"]],encodeOffsets:[[[117111,23002]],[[117072,22876]],[[117045,22887]],[[116975,23082]],[[116882,22747]]]},properties:{cp:[114.173355,22.320048],name:"香港",childNum:5}},{id:"820000",type:"Feature",geometry:{type:"Polygon",coordinates:["@@kÊd°å§s"],encodeOffsets:[[116279,22639]]},properties:{cp:[113.54909,22.198951],name:"澳门",childNum:1}}],UTF8Encoding:!0}):void n("ECharts Map is not loaded"):void n("ECharts is not Loaded")})},"./app/containers/Widget/charts/markBoxplot.ts":function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t,n,o){var s=n.xAxis,l=n.xAxisInterval,c=n.xAxisRotate,d=n.dataZoomThreshold,u=n.hasLegend,p=n.legendSelected,f=n.legendPosition,m=n.toolbox,h=n.splitLineX,g=n.splitLineY,_=n.splitLineStyle,b=n.splitLineWidth,v=n.top,y=n.bottom,A=n.left,x=n.right,w=n.suffixYAxis,j=n.markMetrics,E=n.metrics,S=void 0,C=void 0,k=void 0,T=void 0,M=void 0,O=void 0,L=void 0,D=void 0,P=void 0,I=void 0;if(s&&E&&E.length){var R=e.map(function(e){return e[s]});I=R.filter(function(e,t){return R.indexOf(e)===t}),C={xAxis:{type:"category",data:I,boundaryGap:!0,nameGap:30,splitArea:{show:!0},axisLabel:{interval:l,rotate:c,formatter:"{value}"},splitLine:{show:h&&h.length,lineStyle:{width:b,type:_}}}}}if(P=[],E&&E.length){E=[E];var N=I.map(function(t){return e.filter(function(e){return e[s]===t})}),F=N.map(function(e){return E.map(function(t){return e.map(function(e){return e[t]})})});P=E.map(function(e,t){var n=[];return F.forEach(function(e,r){n.push(e[t])}),n}).map(function(e){return i.default(e)}),S={series:P.reduce(function(e,t,n){return e.concat({name:E[n],type:"boxplot",data:t.boxData,tooltip:{formatter:a}},{name:E[n],type:"pictorialBar",symbolPosition:"end",symbolSize:8,barGap:"30%",data:t.outliers,tooltip:{formatter:function(e){return[e.name+" ","异常值: "+e.data[1]].join("
")}}})},[])}}if(j&&j.length){var B=e.map(function(e){var t;return t={},r(t,s,e[s]),r(t,j,e[j]),t}),z=B.reduce(function(e,t){return Object.assign({},e,r({},t[s],t[j]))},{}),U=Object.values(z);S.series.push({name:j,type:"scatter",data:U,itemStyle:{normal:{color:"rgb(251, 118, 123)"}}})}D=w&&w.length?{axisLabel:{formatter:"{value} "+w}}:null,k={yAxis:Object.assign({type:"value",splitArea:{show:!1},splitLine:{show:g&&g.length,lineStyle:{width:b,type:_}}},D)};var H=0,V=0;if(u&&u.length){var Y=void 0,W=void 0;switch(f){case"right":Y={orient:"vertical"},W={right:8,top:40,bottom:16},V=108;break;case"bottom":Y={orient:"horizontal"},W={bottom:16,left:8,right:8},H=72;break;default:Y={orient:"horizontal"},W={top:3,left:8,right:120}}var G="unselectAll"===p?{selected:E.reduce(function(e,t){return Object.assign({},e,r({},t,!1))},{})}:null;T={legend:Object.assign({data:E,type:"scroll"},Y,W,G)}}return M=m&&m.length?{toolbox:{feature:{dataZoom:{yAxisIndex:"none"},restore:{},saveAsImage:{pixelRatio:2}},right:8}}:null,O={grid:{top:v,left:A,right:Math.max(x,V),bottom:Math.max(y,H)}},L=d>0&&d")}Object.defineProperty(t,"__esModule",{value:!0});var i=n("./node_modules/_echarts@4.1.0@echarts/extension-src/dataTool/prepareBoxplotData.js");t.default=o},"./app/containers/Widget/charts/parallel.ts":function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t0){var r=e-parseFloat(M[t-1]);return r>=0?(o.push(r),a.push("-"),n.push(parseFloat(M[t-1]))):(o.push("-"),a.push(Math.abs(r)),n.push(parseFloat(M[t-1])-Math.abs(r))),r}return o.push(e),a.push("-"),n.push(0),e});var i=o.reduce(function(e,t){return"number"==typeof t?e+t:e+0},0),s=a.reduce(function(e,t){return"number"==typeof t?e+t:e+0},0),l=i-s;_&&_.length&&(k.push("累计"),n.push("-"),l>0?(o.push(l),a.push("-")):(a.push(Math.abs(l)),o.push("-")));var c={name:t,type:"bar",sampling:"average",data:n,itemStyle:{normal:{barBorderColor:"rgba(0,0,0,0)",color:"rgba(0,0,0,0)",opacity:void 0===r?1:.25},emphasis:{barBorderColor:"rgba(0,0,0,0)",color:"rgba(0,0,0,0)"}},stack:"stack"},d={name:"升",type:"bar",sampling:"average",data:o,itemStyle:{normal:{opacity:void 0===r?1:.25}},stack:"stack",label:{normal:{show:!(!f||!f.length),position:"top"}}},u={name:"降",type:"bar",sampling:"average",data:a,itemStyle:{normal:{opacity:void 0===r?1:.25}},stack:"stack",label:{normal:{show:!(!f||!f.length),position:"bottom"}}};T.push(c),T.push(d),T.push(u)}),y={series:T}}C=b&&b.length?{axisLabel:{formatter:"{value} "+b}}:null,a&&a.length?(o&&(A={yAxis:{data:e.map(function(e){return e[o]}),axisLabel:{show:!1},axisLine:{show:!1},axisTick:{show:!1}}}),x={xAxis:{type:"value",position:"top",splitLine:{lineStyle:{type:"dashed"}},axisLabel:{interval:i,rotate:s}}}):(o&&(A={xAxis:{data:k,axisLabel:{interval:i,rotate:s}}}),x={yAxis:Object.assign({type:"value"},C)});var D=0,P=0;if(c&&c.length){var I=void 0,R=void 0;switch(d){case"right":I={orient:"vertical"},R={right:8,top:40,bottom:16},P=108;break;case"bottom":I={orient:"horizontal"},R={bottom:16,left:8,right:8},D=72;break;default:I={orient:"horizontal"},R={top:3,left:8,right:120}}w={legend:Object.assign({data:T.map(function(e){return e.name}),type:"scroll"},I,R)}}return j=u&&u.length?{toolbox:{feature:{dataZoom:{yAxisIndex:"none"},restore:{},saveAsImage:{pixelRatio:2}},right:8}}:null,E={grid:{top:p,left:h,right:Math.max(g,P),bottom:Math.max(m,D)}},S=l>0&&l"))}}},y,A,x,w,j,E,S)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},"./app/containers/Widget/charts/wordCloud.ts":function(e,t,n){"use strict";function r(e,t,n){var r=n.title,o=n.gridSize,a=n.sizeRangeX,i=n.sizeRangeY,s=void 0,l=void 0,c=void 0,d=void 0,u=[];l=o&&{gridSize:o},c=(a||i)&&{sizeRange:[a||0,i||0]};var p=e.reduce(function(e,t){var n=t[r];return e[n]?e[n].value+=1:e[n]={name:n,value:1},e},{}),f=Object.assign({type:"wordCloud",textStyle:{normal:{color:"#509af2"},emphasis:{shadowBlur:10,shadowColor:"#509af2"}},data:Object.keys(p).map(function(e){return p[e]}),rotationStep:45,rotationRange:[-90,90]},l,c);return u.push(f),s={series:u},d={grid:{top:0,left:0,right:0,bottom:0}},Object.assign({},s,d)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},"./app/containers/Widget/components/Chart/Chart.less":function(e,t,n){var r=n("./node_modules/_css-loader@0.28.4@css-loader/index.js?modules&importLoaders=1!./node_modules/_postcss-loader@1.3.3@postcss-loader/index.js!./node_modules/_less-loader@3.0.0@less-loader/lib/loader.js!./app/containers/Widget/components/Chart/Chart.less");"string"==typeof r&&(r=[[e.i,r,""]]);var o={};o.transform=void 0;n("./node_modules/_style-loader@0.18.1@style-loader/lib/addStyles.js")(r,o);r.locals&&(e.exports=r.locals)},"./app/containers/Widget/components/Chart/Chart.tsx":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n=0?[]:["",""],e},{}):e.reduce(function(e,t){return e[t]=["",""],e},{})},n.handleTableChange=function(e,t,r){n.setState({pagination:e,sortedInfo:r},function(){n.onLoadData()})},n.onSearchInputChange=function(e){return function(t){var o=n.state.filterValues;n.setState({filterValues:Object.assign({},o,r({},e,[t.target.value]))})}},n.onNumberInputChange=function(e){return function(t){var o=n.state.filterValues;n.setState({filterValues:Object.assign({},o,r({},e,[isNaN(t[0])?o[e][0]:t[0],isNaN(t[1])?o[e][1]:t[1]]))})}},n.onRangePickerChange=function(e){return function(t,o){n.setState({filterValues:Object.assign({},n.state.filterValues,r({},e,[o[0],o[1]]))}),n.onLoadData()}},n.onLoadData=function(){},n.rowClick=function(e,t,r){var o=r.target,a=o.tagName,i=o.classList[0],s=/select/g;if("DIV"===a&&s.test(i))return void r.stopPropagation();var l=n.props,c=l.id,d=l.onCheckInteract,p=l.onDoInteract,f=n.state.data;if(d&&p){var m=d(Number(c));Object.keys(m).length&&(f.forEach(function(t){t[u.KEY_COLUMN]===e[u.KEY_COLUMN]&&p(Number(c),m,e[u.KEY_COLUMN])}),n.setState({data:Object.assign({},f)}))}},n.rowClassFilter=function(e,t){return n.props.interactId===e[u.KEY_COLUMN]?p.selectedRow:""},n.state={data:e.data,sortedInfo:{},filterDropdownVisibles:{},filterValues:{},pagination:{}},n}return i(t,e),s(t,[{key:"componentWillMount",value:function(){this.setState({pagination:this.props.width<=768?this.pageAutoAdapted("mobile"):this.pageAutoAdapted("pc")})}},{key:"componentWillReceiveProps",value:function(e){this.props.data!==e.data&&this.setState({data:e.data,filterValues:{}}),this.setState({pagination:e.width<=768?this.pageAutoAdapted("mobile"):this.pageAutoAdapted("pc")})}},{key:"render",value:function(){var e=this.props,t=e.className,n=(e.filterable,e.sortable,e.width),r=e.height,o=this.state,a=o.data,i=(o.filterDropdownVisibles,o.filterValues,o.pagination),s=[];a.length&&(s=Object.keys(a[0]).map(function(e,t){var n={title:e.toUpperCase(),dataIndex:e,key:e,width:u.COLUMN_WIDTH};return Object.assign({},n)}));var d=(a.length?Object.keys(a[0]).length:1)*u.COLUMN_WIDTH,p=d>n?{x:d}:null,f=Object.assign({},p,{y:r-40-60});return l.createElement(c,{className:t,dataSource:a,columns:s,pagination:i,scroll:f,onChange:this.handleTableChange,onRowClick:this.rowClick,rowClassName:this.rowClassFilter,bordered:!0})}}]),t}(l.PureComponent);f.defaultProps={filterable:!0,sortable:!0},t.Table=f,t.default=f},"./app/containers/Widget/components/Chart/index.tsx":function(e,t,n){"use strict";function r(e){var t=e.width,n=e.height,r=e.data;switch(e.selectedChart){case c.default.Table:return o.createElement(a.default,{data:r,width:t,height:n});case c.default.Scorecard:return o.createElement(i.default,e);case c.default.Iframe:return o.createElement(s.default,e);default:return o.createElement(l.default,e)}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/_react@15.6.2@react/react.js"),a=n("./app/containers/Widget/components/Chart/Table.tsx"),i=n("./app/containers/Widget/components/Chart/Scorecard.tsx"),s=n("./app/containers/Widget/components/Chart/Iframe.tsx"),l=n("./app/containers/Widget/components/Chart/Chart.tsx"),c=n("./app/containers/Widget/config/chart/ChartTypes.ts");t.CombinedChart=r,t.default=r},"./app/containers/Widget/components/CopyWidgetForm.tsx":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"",r=arguments[2],o=e.props,a=o.form,i=o.onCheckUniqueName,s=o.projectId,l=a.getFieldsValue();l.id;i("widget",{projectId:s,id:"",name:n},function(){r()},function(e){r(e)})},e}return a(t,e),s(t,[{key:"render",value:function(){var e=(this.props.type,this.props.form.getFieldDecorator),t={labelCol:{span:7},wrapperCol:{span:16}};return l.createElement(c,{className:h.formView},l.createElement(d,{gutter:8},l.createElement(u,{span:24},l.createElement(f,{className:m.hide},e("type",{})(g)),l.createElement(f,{className:m.hide},e("viewId",{})(_)),l.createElement(f,{className:m.hide},e("config",{})(b)),l.createElement(f,{className:m.hide},e("projectId",{})(v)),l.createElement(f,{className:m.hide},e("publish",{})(y)),l.createElement(f,i({label:"Widget 名称"},t,{hasFeedback:!0}),e("name",{rules:[{required:!0},{validator:this.checkNameUnique}]})(A))),l.createElement(u,{span:24},l.createElement(f,i({label:"Widget 描述"},t),e("description",{initialValue:""})(x)))))}}]),t}(l.Component);t.CopyWidgetForm=w,t.default=c.create()(w)},"./app/containers/Widget/components/Pivot/Cell.tsx":function(e,t,n){"use strict";function r(e){var t=e.colKey,n=void 0===t?"":t,r=e.rowKey,d=void 0===r?"":r,u=e.width,p=e.height,f=e.data,m=e.chartStyles,h=e.color,g=e.legend,_=m.pivot,b=_.color,v=_.fontSize,y=_.fontFamily,A=_.lineColor,x=_.lineStyle,w=e.metrics;if(n.includes(s.DEFAULT_SPLITER)&&d.includes(s.DEFAULT_SPLITER)){var j=o(n);if(j===o(d)){var E=j.split(s.DEFAULT_SPLITER),S=a(E,2),C=S[0],k=S[1];w=w.filter(function(e){return e.name===""+C+s.DEFAULT_SPLITER+k})}else w=[]}else if(n.includes(s.DEFAULT_SPLITER)){var T=o(n).split(s.DEFAULT_SPLITER),M=a(T,2),O=M[0],L=M[1];w=w.filter(function(e){return e.name===""+O+s.DEFAULT_SPLITER+L})}else if(d.includes(s.DEFAULT_SPLITER)){var D=o(d).split(s.DEFAULT_SPLITER),P=a(D,2),I=P[0],R=P[1];w=w.filter(function(e){return e.name===""+I+s.DEFAULT_SPLITER+R})}var N=w.map(function(e){var t=l.decodeMetricName(e.name),n=h.items.find(function(t){return t.config.actOn===e.name})||h.items.find(function(e){return"all"===e.config.actOn});return f&&f.map(function(r,o){var a=void 0;if(n){var s=g[n.name];s&&s.includes(r[n.name])||(a={color:n.config.values[r[n.name]]})}return i.createElement("p",{key:""+e.name+o,className:c.cellContent,style:Object.assign({},a)},r[e.agg+"("+t+")"])})}),F=Object.assign({width:u},p&&{height:p},{color:b,fontSize:Number(v),fontFamily:y,borderColor:A,borderStyle:x});return i.createElement("td",{style:F},N)}function o(e){return e.split(String.fromCharCode(0)).filter(function(e){return e.includes(s.DEFAULT_SPLITER)})[0]}var a=function(){function e(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n("./node_modules/_react@15.6.2@react/react.js"),s=n("./app/globalConstants.ts"),l=n("./app/containers/Widget/components/util.ts"),c=n("./app/containers/Widget/components/Pivot/Pivot.less");t.Cell=r,t.default=r},"./app/containers/Widget/components/Pivot/Chart.tsx":function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=function(){function e(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),l=function(){function e(e,t){for(var n=0;ns){var l=[],c={key:"",height:0,data:[]};return n.forEach(function(e,t){var r="col"===a?e.height*o.length:e.height;c.height+r>s&&(c.key=""+t+c.data.map(function(e){return e.key}).join(","),l.push(c),c={key:"",height:0,data:[]}),c.height+=r,c.data.push(e),t===n.length-1&&(c.key=""+t+c.data.map(function(e){return e.key}).join(","),l.push(c))}),l}return[{key:"chunk",height:t,data:n}]},e.verticalCutting=function(t,n){var r=e.props,o=r.metrics,a=r.dimetionAxis,i=r.drawingData.multiCoordinate,s=i?p.PIVOT_CANVAS_POLAR_SIZE_LIMIT:p.PIVOT_CANVAS_SIZE_LIMIT;if(t>s){var l={};return n.forEach(function(t){var n=e.initBlockLine(t),r=e.initBlock(n);t.data.forEach(function(i,c){var d="row"===a?i.width*o.length:i.width;if(r.width+d>s){if(l[c-1]){var u=l[c-1];u.data=u.data.concat(r.data)}else l[c-1]=Object.assign({},r,{key:""+(c-1)+r.data.map(function(e){return e.key}).join(",")});n=e.initBlockLine(t),r=e.initBlock(n)}if(r.width+=d,n.data.push(i),c===t.data.length-1)if(l[c]){var p=l[c];p.data=p.data.concat(r.data)}else l[c]=Object.assign({},r,{key:""+c+r.data.map(function(e){return e.key}).join(",")})})}),Object.values(l).map(function(e){return Object.assign({},e,{pieces:f.getChartPieces(e.data.reduce(function(e,t){return e+t.data.reduce(function(e,t){return e+("col"===a?t.records.length*o.length:t.records.length)},0)},0),e.data.length)})})}return[{key:"block",width:t,data:n,pieces:f.getChartPieces(n.reduce(function(e,t){return e+t.data.reduce(function(e,t){return e+("col"===a?t.records.length*o.length:t.records.length)},0)},0),n.length)}]},e.initBlock=function(e){return{key:"",width:0,data:[e],pieces:0}},e.initBlockLine=function(e){return Object.assign({},e,{key:""+m.uuid(8,16)+e.key,data:[]})},e}return i(t,e),s(t,[{key:"render",value:function(){var e,t=this.props,n=t.rows,o=t.cols,a=t.rowKeys,i=t.colKeys,s=t.rowTree,p=t.rowWidths,g=t.colTree,_=t.tree,b=t.metrics,v=t.metricAxisConfig,y=t.chartStyles,A=t.drawingData,x=t.dimetionAxis,w=t.color,j=t.label,E=t.size,S=t.xAxis,C=t.tip,k=t.renderType,T=t.legend,M=t.onCheckTableInteract,O=t.onDoInteract,L=t.getDataDrillDetail,D=t.isDrilling,P=A.elementSize,I=A.unitMetricWidth,R=A.unitMetricHeight,N=A.tableBodyCollapsed,F=null,B=[],z=[],U=0;if(x){var H=0;if(i.length&&a.length){var V=[];a.forEach(function(e,t){var n=e.join(String.fromCharCode(0)),r=[];i.forEach(function(o,s){var l=o.join(String.fromCharCode(0)),c=_[n][l];if("col"===x){var d=i[s+1]||[],u=r[r.length-1];if(u&&!u.ended||(u={key:""+n+l,width:0,records:[],ended:!1},r.push(u)),u.records.push({key:o[o.length-1],value:c}),1===o.length&&s===i.length-1||o[o.length-2]!==d[d.length-2]){var p=u.records.length*P;u.width=p,u.ended=!0,d.length||(B.push({key:n,height:R,data:r.slice()}),H+=1,r=[])}}else{var f=a[t+1]||[];V[s]||(V[s]=[]);var m=V[s],h=m[m.length-1];if(h&&!h.ended||(h={key:""+l+n,width:0,records:[],ended:!1},m.push(h)),h.records.push({key:e[e.length-1],value:c}),1===e.length&&t===a.length-1||e[e.length-2]!==f[f.length-2]){if(h.width=I,h.ended=!0,s===i.length-1){var g=h.records.length*P;B.push({key:n,height:g,data:V.reduce(function(e,t){return e.concat(t)},[])}),V=[]}t===a.length-1&&(H+=1)}}})})}else if(i.length){var Y=[];i.forEach(function(e,t){var n=e.join(String.fromCharCode(0)),r=g[n].records;if("col"===x){var o=i[t+1]||[],a=Y[Y.length-1];if(a&&!a.ended||(a={key:n,width:0,records:[],ended:!1},Y.push(a)),a.records.push({key:e[e.length-1],value:r}),1===e.length&&t===i.length-1||e[e.length-2]!==o[o.length-2]){var s=a.records.length*P;a.width=s,a.ended=!0,o.length||(B.push({key:n,height:R,data:Y.slice()}),H+=1)}}else Y.push({key:n,width:I,records:[{key:e[e.length-1],value:r}],ended:!0}),H+=1,t===i.length-1&&B.push({key:n,height:P,data:Y.slice()})})}else if(a.length){var W=[];a.forEach(function(e,t){var n=e.join(String.fromCharCode(0)),r=s[n].records;if("row"===x){var o=a[t+1]||[],i=W[W.length-1];if(i&&!i.ended||(i={key:n,width:0,records:[],ended:!1},W.push(i)),i.records.push({key:e[e.length-1],value:r}),1===e.length&&t===a.length-1||e[e.length-2]!==o[o.length-2]){i.width=I,i.ended=!0;var l=i.records.length*P;B.push({key:n,height:l,data:W.slice()}),W=[],t===a.length-1&&(H+=1)}}else B.push({key:n,height:R,data:[{key:n,width:P,records:[{key:e[e.length-1],value:r}],ended:!1}]}),H+=1})}else{var G=_[0],Q="col"===x?P:I,q="row"===x?P:R,K={width:Q,records:[{key:"data",value:G}],ended:!0};B.push({height:q,data:[K]})}var X=i.length||1,J=a.length||1;H=H||1;var Z=0;"col"===x?(U=X*P,Z=H*R*b.length):(U=H*I*b.length,Z=J*P),F=l.createElement(u.default,{width:U,height:Z,cols:o,rows:n,dimetionAxisCount:"col"===x?X:J,metricAxisCount:H,metrics:b,data:this.gridCutting(U,Z,B),chartStyles:y,drawingData:A,dimetionAxis:x,metricAxisConfig:v,color:w,label:j,size:E,xAxis:S,tip:C,renderType:k,legend:T,onCheckTableInteract:M,onDoInteract:O,getDataDrillDetail:L,isDrilling:D})}else{if(i.length&&a.length)a.forEach(function(e){var t=e.join(String.fromCharCode(0)),n=[];U=0,i.forEach(function(e){var r=e.join(String.fromCharCode(0)),o=_[t][r],a=g[r],i=a.width,s=a.height,c=f.getPivotCellWidth(i);U+=c,n.push(l.createElement(d.default,{key:""+t+r,colKey:r,rowKey:t,width:c,height:f.getPivotCellHeight(s),metrics:b,data:o,chartStyles:y,color:w,legend:T}))}),z.push(l.createElement("tr",{key:t},n))});else if(i.length){var $=[];U=0,i.forEach(function(e){var t=e.join(String.fromCharCode(0)),n=g[t],r=n.width,o=n.height,a=n.records,i=f.getPivotCellWidth(r);U+=i,$.push(l.createElement(d.default,{key:t,colKey:t,width:i,height:f.getPivotCellHeight(o),metrics:b,data:a,chartStyles:y,color:w,legend:T}))}),z.push(l.createElement("tr",{key:m.uuid(8,16)},$))}else if(a.length)a.forEach(function(e){var t=e.join(String.fromCharCode(0)),n=s[t],r=n.height,o=n.records,a=[];U=0;var i=f.getPivotCellWidth(p[p.length-1]);U+=i,a.push(l.createElement(d.default,{key:t,rowKey:t,width:i,height:f.getPivotCellHeight(r),metrics:b,data:o,chartStyles:y,color:w,legend:T})),a.length&&z.push(l.createElement("tr",{key:t},a))});else if(b.length){var ee=_[0],te=0;b.forEach(function(e){var t=ee[e.agg+"("+e.name+")"];te=Math.max(te,f.getPivotContentTextWidth(t))});var ne=f.getPivotCellHeight();z.push(l.createElement("tr",{key:m.uuid(8,16)},l.createElement(d.default,{key:m.uuid(8,16),width:te,height:ne,metrics:b,data:ee,chartStyles:y,color:w,legend:T})))}F=l.createElement("table",{className:h.pivot,style:{width:U}},l.createElement("tbody",null,z))}var re=c((e={},r(e,h.columnBody,!0),r(e,h.bodyCollapsed,N),r(e,h.raw,!x),e));return l.createElement("div",{className:re},F)}}]),t}(l.Component);t.TableBody=g,t.default=g},"./app/containers/Widget/components/Pivot/Xaxis.tsx":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n=0?{variableFirst:t.variables[0],variableSecond:t.variables[1]}:{variable:t.variables[0]};n.props.form.setFieldsValue(Object.assign({id:t.id,type:t.type},r)),n.setState({variableNumber:n.DOUBLE_VARIABLES.indexOf(t.type)>=0?2:1,chosenType:t.type,tableVisible:n.WITH_TABLE.indexOf(t.type)>=0,hasRelatedComponent:t.hasRelatedComponent,tableSource:t.sub})}},n.formInit=function(e){n.setState({variableNumber:e.control.variables?e.control.variables.length:1})},n.addVariableConfig=function(){var e=n.state.tableSource;n.setState({tableSource:e.concat({id:y.uuid(8,16),text:"",value:"",variables:[],variableType:void 0,status:0})})},n.changeConfigValueStatus=function(e){return function(){var t=n.state.tableSource;t.find(function(t){return t.id===e}).status=0,n.setState({tableSource:t})}},n.updateConfigValue=function(e){return function(){n.variableConfigTable.validateFieldsAndScroll(function(t,r){if(!t){var o=n.state.tableSource,a=o.find(function(t){return t.id===e});a.text=r[e+"Text"],a.value=r[e+"Value"],a.variables=r[e+"Variables"],a.variableType=r[e+"VariableType"],a.status=1,n.setState({tableSource:o})}})}},n.deleteConfigValue=function(e){return function(){var t=n.state.tableSource;n.setState({tableSource:t.filter(function(t){return t.id!==e})})}},n.typeChange=function(e){n.setState({chosenType:e,variableNumber:n.DOUBLE_VARIABLES.indexOf(e)>=0?2:1,tableVisible:n.WITH_TABLE.indexOf(e)>=0})},n.hasRelatedComponentChange=function(e){n.setState({hasRelatedComponent:e.target.value})},n.saveConfig=function(){n.props.form.validateFieldsAndScroll(function(e,t){if(!e){var r=n.state,o=r.variableNumber,a=r.tableSource,i=t.id||y.uuid(8,16),s=t.type,l=1===o?[t.variable]:[t.variableFirst,t.variableSecond],c=n.WITH_TABLE.indexOf(s)>=0?"yes"===n.state.hasRelatedComponent?a:a.map(function(e){return delete e.variableType,e}):[];n.props.onSave({id:i,type:s,hasRelatedComponent:t.hasRelatedComponent,variables:l,sub:c}),n.props.onClose()}})},n.resetForm=function(){n.props.form.resetFields(),n.setState({variableNumber:1,tableVisible:!1,tableSource:[]})},n.state={variableNumber:1,chosenType:"",tableVisible:!1,hasRelatedComponent:"yes",tableSource:[]},n}return a(t,e),i(t,[{key:"componentWillMount",value:function(){this.formInit(this.props)}},{key:"componentDidMount",value:function(){this.setFormValue(this.props)}},{key:"componentWillReceiveProps",value:function(e){e.control!==this.props.control&&this.formInit(e)}},{key:"componentDidUpdate",value:function(e){e.control!==this.props.control&&this.setFormValue(this.props)}},{key:"render",value:function(){var e=this,t=this.props,n=t.form,r=t.queryInfo,o=t.onClose,a=this.state,i=a.variableNumber,d=a.chosenType,p=a.tableVisible,b=a.hasRelatedComponent,y=a.tableSource,S=n.getFieldDecorator,C=[{text:"文本输入框",value:"input"},{text:"数字输入框",value:"inputNumber"},{text:"单选下拉菜单",value:"select"},{text:"多选下拉菜单",value:"multiSelect"},{text:"日期选择",value:"date"},{text:"日期多选",value:"multiDate"},{text:"日期范围选择",value:"dateRange"},{text:"日期时间选择",value:"datetime"},{text:"日期时间范围选择",value:"datetimeRange"}].map(function(e){return s.createElement(_,{key:e.value,value:e.value},e.text)}),k=null;r&&(k=r.map(function(e){return s.createElement(_,{key:e,value:e},e)}));var T=void 0;return 1===i?(T=[s.createElement(h,{span:8,key:"variable"},s.createElement(g,null,S("variable",{})(s.createElement(u,{placeholder:"关联变量",allowClear:!0},k))))],"select"===d&&T.push(s.createElement(h,{span:8,key:"hasRelatedComponent"},s.createElement(g,null,S("hasRelatedComponent",{initialValue:b})(s.createElement(v,{onChange:this.hasRelatedComponentChange},w,j)))))):T=[s.createElement(h,{span:8,key:"first"},s.createElement(g,null,S("variableFirst",{})(s.createElement(u,{placeholder:"关联变量1",allowClear:!0},k)))),s.createElement(h,{span:8,key:"second"},s.createElement(g,null,S("variableSecond",{})(s.createElement(u,{placeholder:"关联变量2",allowClear:!0},k))))],s.createElement("div",{className:x.variableConfigForm},s.createElement(c,null,s.createElement(m,{gutter:8},s.createElement(h,{span:8},s.createElement(g,{className:A.hide},S("id",{})(E)),s.createElement(g,null,S("type",{rules:[{required:!0,message:"控件类型不能为空"}]})(s.createElement(u,{placeholder:"控件类型",onSelect:this.typeChange},C)))),T)),p?s.createElement(l.default,{dataSource:y,variableSource:r,onAddConfigValue:this.addVariableConfig,hasRelatedComponent:b,onChangeConfigValueStatus:this.changeConfigValueStatus,onUpdateConfigValue:this.updateConfigValue,onDeleteConfigValue:this.deleteConfigValue,ref:function(t){e.variableConfigTable=t}}):"",s.createElement("div",{className:x.footer},s.createElement(f,{onClick:o},"取消"),s.createElement(f,{type:"primary",onClick:this.saveConfig},"保存")))}}]),t}(s.Component);t.VariableConfigForm=S,t.default=c.create()(S)},"./app/containers/Widget/components/VariableConfigTable.tsx":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n0});e.data.length||!a?n.setState({widgetProps:Object.assign({},e)}):n.setState({widgetProps:Object.assign({},n.clearProps)})},n.state={widgetProps:Object.assign({},n.clearProps)},n}return a(t,e),i(t,[{key:"componentDidMount",value:function(){this.renderPivot(this.props)}},{key:"componentWillReceiveProps",value:function(e){this.renderPivot(e)}},{key:"render",value:function(){return s.createElement(l.default,this.state.widgetProps)}}]),t}(s.Component);t.WidgetInViz=u,t.default=u},"./app/containers/Widget/components/Widget/index.tsx":function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=function(){function e(e,t){for(var n=0;n=0),t&&o&&(t=t&&i.test(e.name)),t})}},{key:"render",value:function(){var e=this,t=this.props,n=t.className,o=t.widgetsSelected,a=this.state,i=a.screenWidth,s=a.pageSize,l=a.currentPage,p=a.showSelected,_=this.getWidgets(),A=(l-1)*s,x=Math.min(l*s,_.length),w=_.slice(A,x),j=w.map(function(t,n){var a,i=t.type,s=d((a={},r(a,v.widget,!0),r(a,v.selector,!0),r(a,v.selected,1===t.id),a)),l=o.findIndex(function(e){return e.id===t.id})>=0?c.createElement("div",{className:v.checkmark},y):"";return c.createElement(m,{md:8,sm:12,xs:24,key:t.id,onClick:e.onWidgetSelect(t)},c.createElement("div",{className:s},c.createElement("h3",{className:v.title},t.name),c.createElement("p",{className:v.content},t.desc),c.createElement("i",{className:v.pic+" iconfont "+u.iconMapping[i]}),l))});return c.createElement("div",{className:n},c.createElement(f,{gutter:20,className:""+v.searchRow},c.createElement(m,{span:17},c.createElement(h,{checked:p,onChange:this.onShowTypeChange},"已选")),c.createElement(m,{span:7},c.createElement(b,{placeholder:"Widget 名称",onSearch:this.onSearchWidgetItem}))),c.createElement(f,{gutter:20},j),c.createElement(f,null,c.createElement(g,{simple:i<768||768===i,className:v.paginationPosition,showSizeChanger:!0,onShowSizeChange:this.onShowSizeChange,onChange:this.onChange,total:_.length,defaultPageSize:24,pageSizeOptions:["24","48","72","96"],current:l})))}}]),t}(c.Component);t.WidgetSelector=A,t.default=A},"./app/containers/Widget/components/Workbench/ActOnSettingForm.tsx":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n","<",">=","<=","!="],["=",">","<",">=","<=","!="]],n=t[0].slice().map(function(e){return l.createElement(b,{key:e,value:e},e)}),r=t[1].slice().map(function(e){return l.createElement(b,{key:e,value:e},e)});return"number"===e||"date"===e?r:n},n.generateFilterValueInput=function(e){var t=n.props.type,r=l.createElement(p,{onChange:n.changeStringFilterValue(e)}),o=l.createElement(f,{className:x.inputNumber,onChange:n.changeNumberFilterValue(e)});return"number"===t?o:r},n.addParallelNode=function(e){return function(){var t=n.state.flattenTree,r=t[e],o={id:d.uuid(8,16),type:"node",parent:void 0};if(r.parent){var a=t[r.parent];o.parent=a.id,a.children.push(o),t[o.id]=o,n.setState({flattenTree:Object.assign({},t)})}else{var i={id:d.uuid(8,16),root:!0,type:"link",rel:"and",children:[]};o.parent=i.id,i.children.push(r),i.children.push(o),delete r.root,delete t[r.id],r.id=d.uuid(8,16),r.parent=i.id,t[r.id]=r,t[i.id]=i,t[o.id]=o,n.setState({flattenTree:Object.assign({},t)}),n.props.onAddTreeNode(i)}}},n.forkNode=function(e){return function(){var t=n.state.flattenTree,r=t[e],o=Object.assign({},r,{id:d.uuid(8,16),parent:r.id}),a={id:d.uuid(8,16),type:"node",parent:r.id};r.type="link",r.rel="and",r.children=[o,a],t[o.id]=o,t[a.id]=a,n.setState({flattenTree:Object.assign({},t)})}},n.deleteNode=function(e){return function(){var t=n.state.flattenTree,r=t[e];if(delete t[e],r.parent){var o=t[r.parent];if(o.children=o.children.filter(function(t){return t.id!==e}),1===o.children.length){var a=o.children[0];n.refreshTreeId(a);var i=o.id;o.id=a.id,o.type=a.type,o.rel=a.rel,o.filterKey=a.filterKey,o.filterOperator=a.filterOperator,o.filterValue=a.filterValue,o.children=a.children,delete t[i],t[a.id]=o}n.setState({flattenTree:Object.assign({},t)})}else n.setState({flattenTree:null}),n.props.onDeleteTreeNode()}},n.refreshTreeId=function(e){var t=n.state.flattenTree;delete t[e.id],e.id=d.uuid(8,16),t[e.id]=e,e.children&&e.children.forEach(function(t){t.parent=e.id,n.refreshTreeId(t)})},n.changeLinkRel=function(e){return function(t){e.rel=t.target.value}},n.changeFilterOperator=function(e){return function(t){e.filterOperator=t}},n.changeStringFilterValue=function(e){return function(t){e.filterValue=t.target.value}},n.changeNumberFilterValue=function(e){return function(t){e.filterValue=t}},n.changeDateFilterValue=function(e){return function(t){e.filterValue=t}},n.resetTree=function(){n.setState({flattenTree:null})},n.state={flattenTree:null},n}return i(t,e),s(t,[{key:"componentWillReceiveProps",value:function(e){var t=e.filterTree,n=this.state.flattenTree;Object.keys(t).length>0&&!n&&this.setState({flattenTree:this.initFlattenTree(t,{})})}},{key:"renderFilters",value:function(e){var t=this;if("link"===e.type){var n=e.children.map(function(e){return t.renderFilters(e)});return this.renderFilterList(e,n)}return"node"===e.type?this.renderFilterItem(e):l.createElement("div",{className:x.empty,onClick:this.props.onAddRoot},E)}},{key:"render",value:function(){var e=this.props.filterTree;return l.createElement("div",{className:x.conditionalFilterPanel},l.createElement(u,{className:x.conditionalFilterForm},this.renderFilters(e)))}}]),t}(l.PureComponent);t.ConditionalFilterPanel=S,t.default=u.create({widthRef:!0})(S)},"./app/containers/Widget/components/Workbench/ConfigSections/AreaSelectSection.tsx":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n=0){var u=r.findIndex(function(e){return e.name===o.name});"category"===o.type&&u>=0&&o.from!==t||a(t,o,function(e){e?i(t,c,d,l,e):n.dragLeave()})}n.setState({entering:!1,dropIndex:-1,dropType:"outside"===d?void 0:void 0===d?"unmoved":d})},n.itemDragEnd=function(){n.props.onItemDragEnd(n.state.dropType),n.setState({dropType:void 0})},n.calcPhysicalDropIndex=function(e,t){var r=e-n.x,o=t-n.y,a=n.width-n.PADDING,i=Math.max(n.BOX_MIN_HEIGHT-n.PADDING,n.state.items.length*n.ITEM_HEIGHT+n.PADDING);if(r>n.PADDING&&o>n.PADDING&&r=0&&(c-=1);var d=void 0!==e?Math.min(c,e):c;if(s<0)(l<0||l!==d)&&n.setState({items:[].concat(o(r.slice(0,d)),[{name:"category"===a.type?a.name:h.decodeMetricName(a.name),type:"add"}],o(r.slice(d))),dropIndex:d,dropType:"outside"});else if(l!==d){var u=i.filter(function(e,t){return t!==l});u.splice(d,0,a),n.setState({items:u,dropIndex:d,dropType:"inside"})}},n.state={entering:!1,items:[],dropIndex:-1,dropType:void 0},n}return s(t,e),l(t,[{key:"componentWillMount",value:function(){this.getItems(this.props)}},{key:"componentWillReceiveProps",value:function(e){e.items!==this.props.items&&this.getItems(e)}},{key:"render",value:function(){var e,t,n=this,o=this.props,a=o.name,i=o.title,s=o.type,l=o.value,h=o.panelList,_=o.mode,y=o.dragged,A=o.dimetionsCount,x=o.metricsCount,w=o.onValueChange,j=o.onItemDragStart,E=o.onItemSort,S=o.onItemChangeAgg,C=o.onItemChangeColorConfig,k=o.onItemChangeFilterConfig,T=o.onItemChangeChart,M=o.onItemRemove,O=this.state,L=O.entering,D=O.items,P=!1,I=!1,R="";y&&(R=y.type,"all"!==s&&s!==R||(P=!0,I=L));var N=d((e={},r(e,b.dropContainer,!0),r(e,b.dragOver,P),e)),F=d((t={},r(t,b.mask,!0),r(t,b.onTop,P),r(t,b.enter,I),r(t,b.category,"category"===R),r(t,b.value,"value"===R),t)),B=void 0;if(["color","size"].includes(a)){var z=void 0;switch(a){case"color":z=c.createElement(f.default,{list:h,value:l,showAll:"pivot"===_,onValueChange:w});break;case"size":z=c.createElement(m.default,{list:h,value:l,hasTabs:"pivot"===_,onValueChange:w})}B=c.createElement(g,{content:z,trigger:"click",placement:"right"},c.createElement("span",{className:b.setting},v," 设置"))}var U=D.length?D.map(function(e){return c.createElement(u.default,{key:e.name,container:a,item:e,dimetionsCount:A,metricsCount:x,onDragStart:j,onDragEnd:n.itemDragEnd,onSort:E,onChangAgg:S,onChangeColorConfig:C,onChangeFilterConfig:k,onChangeChart:T,onRemove:M(e.name)})}):c.createElement(p.default,{title:i,type:s});return c.createElement("div",{className:b.dropbox},c.createElement("p",{className:b.title},i,B),c.createElement("div",{className:N,ref:function(e){return n.container=e}},U,c.createElement("div",{className:F,onDragEnter:this.dragEnter,onDragOver:this.dragOver,onDragLeave:this.dragLeave,onDrop:this.drop})))}}]),t}(c.PureComponent);t.Dropbox=y,t.default=y},"./app/containers/Widget/components/Workbench/DropboxContent.tsx":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n=0?a(o,t):"color"===t?s(o):"filters"===t?l(o):i(o,t)},n.getSpecificDropdownList=function(e){var t=n.props.container,r=n.dropdownList[e];return"color"===t?r=[{color:"配置颜色"}].concat(r):"filters"===t&&(r=[{filters:"配置筛选"}].concat(r)),r},n.state={dragging:!1},n}return i(t,e),l(t,[{key:"render",value:function(){var e,t,n=this.props,o=n.container,a=n.item,i=n.dimetionsCount,s=n.metricsCount,l=n.onChangeChart,h=n.onRemove,g=a.name,_=a.type,A=a.sort,x=a.agg,w=this.state.dragging,j="value"===_?p.decodeMetricName(g):g,E=void 0;"metrics"===o&&"add"!==a.type&&(E=c.createElement(u.default,{chart:a.chart,dimetionsCount:i,metricsCount:s,onChangeChart:l(a)}));var S=d((e={},r(e,v.dropItemContent,!0),r(e,v.category,"category"===_),r(e,v.value,"value"===_),r(e,v.add,"add"===_),r(e,v.dragging,w),e)),C=d((t={iconfont:!0},r(t,v.sort,!0),r(t,"icon-sortascending","asc"===A),r(t,"icon-sortdescending","desc"===A),t)),k=c.createElement("p",null,y,x?" ["+p.getAggregatorLocale(x)+"] "+j+" ":" "+j+" ",A&&c.createElement("i",{className:C})),T=void 0;if("add"===_)T=k;else{var M=this.getSpecificDropdownList(_),O="";"value"===_&&(O=v.valueDropDown),T=c.createElement(b,{overlay:c.createElement(m,{className:O,onClick:this.dropdownMenuClick},this.getDropdownList(M)),trigger:["click"]},k)}return c.createElement("div",{className:v.dropItem},c.createElement("div",{className:S,onDragStart:this.dragStart,onDragEnd:this.dragEnd,draggable:!0},E,T,c.createElement(f,{type:"close-square-o",className:v.remove,onClick:h})))}}]),t}(c.PureComponent);t.DropboxItem=A,t.default=A},"./app/containers/Widget/components/Workbench/FilterSettingForm.tsx":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n= '"+a+"'":"yesterday"===r?t+" >= '"+i+"' and "+t+" <= '"+a+"'":"yesterdayFromNow"===r?t+" >= '"+i+"'":"7"===r?t+" >= '"+l.default().subtract(7,"days").format(d.DEFAULT_DATETIME_FORMAT)+"'":"30"===r?t+" >= '"+l.default().subtract(30,"days").format(d.DEFAULT_DATETIME_FORMAT)+"'":"90"===r?t+" >= '"+l.default().subtract(90,"days").format(d.DEFAULT_DATETIME_FORMAT)+"'":"365"===r?t+" >= '"+l.default().subtract(365,"days").format(d.DEFAULT_DATETIME_FORMAT)+"'":"week"===r?t+" >= '"+l.default().startOf("week").format(d.DEFAULT_DATETIME_FORMAT)+"'":"month"===r?t+" >= '"+l.default().startOf("month").format(d.DEFAULT_DATETIME_FORMAT)+"'":"quarter"===r?t+" >= '"+l.default().startOf("quarter").format(d.DEFAULT_DATETIME_FORMAT)+"'":"year"===r?t+" >= '"+l.default().startOf("year").format(d.DEFAULT_DATETIME_FORMAT)+"'":t+" >= '"+o[0].format(d.DEFAULT_DATETIME_FORMAT)+"' and "+t+" <= '"+o[1].format(d.DEFAULT_DATETIME_FORMAT)+"'"},n.save=function(){var e=n.props,t=e.onSave,r=e.onCancel,o=n.state,a=o.name,i=o.mode,s=o.target,l=o.filterTree,c=o.selectedDate,u=o.datepickerValue;if("value"===i){var p=s.map(function(e){return"'"+e+"'"}).join(",");p?t({sql:a+" in ("+p+")",filterSource:s.slice()}):r()}else"conditional"===i?Object.keys(l).length>0?n.conditionalFilterForm.props.form.validateFieldsAndScroll(function(e){e||(t({sql:n.getSqlExpresstions(l),filterSource:Object.assign({},l)}),n.conditionalFilterForm.resetTree())}):r():t({sql:n.getDateSql(),filterSource:{selectedDate:c,datepickerValue:u.map(function(e){return e.format(d.DEFAULT_DATETIME_FORMAT)})}})},n.reset=function(){n.setState({mode:"value",name:"",type:"",list:[],target:[],filterTree:{},selectedDate:"today",datepickerValue:[l.default(),l.default()]})},n.state={mode:"value",name:"",type:"",list:[],target:[],filterTree:{},selectedDate:"today",datepickerValue:[l.default(),l.default()]},n}return a(t,e),i(t,[{key:"componentWillMount",value:function(){var e=this.props,t=e.item,n=e.config;this.initNameAndType(t),this.initFilterSource(t.visualType,n)}},{key:"componentWillReceiveProps",value:function(e){var t=e.item,n=e.config,r=e.list;t&&this.initNameAndType(t),n&&this.initFilterSource(t.visualType,n),r&&this.setState({list:r.map(function(e){return{key:""===e?p.uuid(8,16):e,title:e}})})}},{key:"render",value:function(){var e=this.props.onCancel,t=this.state,n=t.mode,r=t.name,o=t.type,a=t.list,i=t.target,l=t.filterTree,u=t.selectedDate,p=t.datepickerValue,m=[];"number"===o?m.push(x):"date"===o?m.push(w):(m.push(j),m.push(E));var _=this.dateRadioSource.map(function(e){return e.map(function(e){return s.createElement(h,{key:e.value,value:e.value,className:A.radio},e.name)}).concat(S)}),v=void 0;return v="value"===n?s.createElement("div",{className:A.valueBlock},s.createElement(f,{dataSource:a,titles:["值列表","所选值"],render:this.transferRender,targetKeys:i,onChange:this.transferChange})):"conditional"===n?s.createElement("div",{className:A.conditionalBlock},s.createElement(c.default,{name:r,type:o,filterTree:l,onAddRoot:this.initFilterTree,onAddTreeNode:this.addTreeNode,onDeleteTreeNode:this.deleteTreeNode,wrappedComponentRef:this.refHandles.conditionalFilterForm})):s.createElement("div",{className:A.dateBlock},s.createElement(g,{value:u,onChange:this.selectDate,className:A.dateFilterRadios},_),"other"===u&&s.createElement(y,{value:p,format:d.DEFAULT_DATETIME_FORMAT,onChange:this.datepickerChange,showTime:!0})),s.createElement("div",{className:A.filterSettingForm},s.createElement("div",{className:A.header},s.createElement(g,{onChange:this.radioChange,value:n},m)),v,s.createElement("div",{className:A.footer},s.createElement(b,{type:"primary",onClick:this.save},"保存"),s.createElement(b,{onClick:e},"取消")))}}]),t}(s.PureComponent);t.FilterSettingForm=C,t.default=C},"./app/containers/Widget/components/Workbench/OperatingPanel.tsx":function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t=0&&(g.splice(_,1),t=t<=_?t:t-1)}"xAxis"===e&&(g.splice(0,1),t=0)}if("outside"===r){var b=f;"metrics"===e&&(b=Object.assign({},f,{chart:c.metrics.items.length?c.metrics.items[0].chart:M.getPivot()})),h.items=[].concat(o(g.slice(0,t)),[b],o(g.slice(t)))}else h.items=[].concat(o(a));m&&(m.items=m.items.filter(function(e){return e.name!==f.name})),n.setState({dragged:null,modalCachedData:null}),n.getVisualData(c,d,u)},n.toggleRowsAndCols=function(){var e=n.state,t=e.commonParams,r=e.specificParams,o=e.styleParams,a=t.cols,i=t.rows;n.state.showColsAndRows&&i.items.length&&(a.items=a.items.concat(i.items),i.items=[],n.getVisualData(t,r,o)),n.setState({showColsAndRows:!n.state.showColsAndRows})},n.switchRowsAndCols=function(){var e=n.state,t=e.commonParams,r=e.specificParams,o=e.styleParams,a=t.cols,i=t.rows,s=a.items.slice();a.items=i.items.slice(),i.items=s,s=null,n.getVisualData(t,r,o)},n.removeDropboxItem=function(e){return function(t){return function(){var r=n.state,o=r.commonParams,a=r.specificParams,i=r.styleParams,s=o[e]||a[e];s.items=s.items.filter(function(e){return e.name!==t}),n.getVisualData(o,a,i)}}},n.getDropboxItemSortDirection=function(e){return function(t,r){var a=n.state,i=a.commonParams,s=a.specificParams,l=a.styleParams,c=i[e]||s[e];t.sort=["asc","desc"].indexOf(r)>=0?r:void 0,c.items=[].concat(o(c.items)),n.getVisualData(i,s,l)}},n.getDropboxItemAggregator=function(e){return function(t,r){var a=n.state,i=a.commonParams,s=a.specificParams,l=a.styleParams,c=i[e]||s[e];t.agg=r,c.items=[].concat(o(c.items)),n.getVisualData(i,s,l)}},n.dropboxItemChangeColorConfig=function(e){var t=n.props,r=t.selectedView,a=t.onLoadDistinctValue,i=n.state,s=i.commonParams,l=i.specificParams,c=i.styleParams;a(r.id,e.name),n.setState({modalCachedData:e,modalDataFrom:"color",modalCallback:function(t){if(t){var r=l.color.items,a=r.findIndex(function(n){return n.config.actOn===t.actOn&&n.name!==e.name});a>=0&&(l.color.items=[].concat(o(r.slice(0,a)),o(r.slice(a+1)))),e.config=t,n.getVisualData(s,l,c),n.setState({modalCachedData:null})}},colorModalVisible:!0})},n.dropboxItemChangeFilterConfig=function(e){var t=n.props,r=t.selectedView,o=t.onLoadDistinctValue,a=n.state,i=a.commonParams,s=a.specificParams,l=a.styleParams;"category"===e.type&&o(r.id,e.name),n.setState({modalCachedData:e,modalDataFrom:"filters",modalCallback:function(t){t&&(e.config=t,n.getVisualData(i,s,l),n.setState({modalCachedData:null}))},filterModalVisible:!0})},n.getDropboxItemChart=function(e){return function(t){var r=n.state.commonParams;e.chart=t,r.metrics.items=[].concat(o(r.metrics.items));var a=n.getChartDataConfig(n.getPivotModeSelectedCharts(r.metrics.items)),i=a.specificParams,s=a.styleParams;n.getVisualData(r,i,s)}},n.getDiemtionsAndMetricsCount=function(){var e=n.state.commonParams,t=e.cols,r=e.rows,o=e.metrics;return[t.items.length+r.items.length,o.items.length]},n.getVisualData=function(e,t,r,o){var a=e.cols,i=e.rows,s=e.metrics,l=e.filters,c=t.color,d=t.label,u=t.size,p=t.xAxis,f=t.tip,m=t.yAxis,h=n.props,g=h.selectedView,_=h.onLoadData,b=h.onSetWidgetProps,v=n.state,y=v.mode,A=v.chartModeSelectedChart,x=a.items.map(function(e){return e.name}).concat(i.items.map(function(e){return e.name})).filter(function(e){return"指标名称"!==e}),w=s.items.map(function(e){return{column:M.decodeMetricName(e.name),func:e.agg}});c&&(x=x.concat(c.items.map(function(e){return e.name}))),d&&(x=x.concat(d.items.filter(function(e){return"category"===e.type}).map(function(e){return e.name})),w=w.concat(d.items.filter(function(e){return"value"===e.type}).map(function(e){return{column:M.decodeMetricName(e.name),func:e.agg}}))),u&&(w=w.concat(u.items.map(function(e){return{column:M.decodeMetricName(e.name),func:e.agg}}))),p&&(w=w.concat(p.items.map(function(e){return{column:M.decodeMetricName(e.name),func:e.agg}}))),f&&(w=w.concat(f.items.map(function(e){return{column:M.decodeMetricName(e.name),func:e.agg}}))),m&&(w=w.concat(m.items.map(function(e){return{column:M.decodeMetricName(e.name),func:e.agg}})));var j=[];Object.values(e).concat(Object.values(t)).reduce(function(e,t){return e.concat(t.items)},[]).forEach(function(e){e.sort&&j.push({column:"category"===e.type?e.name:e.agg+"("+M.decodeMetricName(e.name)+")",direction:e.sort})});var E={groups:x,aggregators:w,filters:l.items.map(function(e){return e.config.sql}),orders:j,cache:!1,expired:0},S=void 0,C=void 0;"pivot"===y?(S=n.getPivotModeSelectedCharts(s.items),C=x.length):(S=[A],C=a.items.length),M.checkChartEnable(C,s.items.length,S)||(S="pivot"===y?n.getPivotModeSelectedCharts([]):[M.getTable()]);var k=JSON.stringify(E);g&&k!==n.lastRequestParamString?(n.lastRequestParamString=k,_(g.id,E,function(t){b(t.length?Object.assign({cols:a.items.map(function(e){return e.name}),rows:i.items.map(function(e){return e.name}),metrics:s.items.map(function(e){return Object.assign({},e)}),filters:l.items},c&&{color:c},d&&{label:d},u&&{size:u},p&&{xAxis:p},f&&{tip:f},m&&{yAxis:m},{chartStyles:r,selectedChart:"pivot"===y?A.id:S[0].id,data:t,dimetionAxis:n.getDimetionAxis(S),renderType:o||"rerender",orders:j,mode:y,model:JSON.parse(g.model)}):{cols:[],rows:[],metrics:[],filters:[],data:[],chartStyles:r,selectedChart:"pivot"===y?A.id:S[0].id,dimetionAxis:n.getDimetionAxis([M.getPivot()]),renderType:"rerender",orders:j,mode:y,model:JSON.parse(g.model)}),n.setState(Object.assign({commonParams:e},n.getChartDataConfig(S),{chartModeSelectedChart:"pivot"===y?A:S[0]}))})):(b(Object.assign({cols:a.items.map(function(e){return e.name}),rows:i.items.map(function(e){return e.name}),metrics:s.items.map(function(e){return Object.assign({},e)}),filters:l.items},c&&{color:c},d&&{label:d},u&&{size:u},p&&{xAxis:p},f&&{tip:f},m&&{yAxis:m},{chartStyles:r,selectedChart:"pivot"===y?A.id:S[0].id,dimetionAxis:n.getDimetionAxis(S),renderType:o||"clear",orders:j,mode:y,model:g?JSON.parse(g.model):{}})),n.setState(Object.assign({commonParams:e},n.getChartDataConfig(S),{chartModeSelectedChart:"pivot"===y?A:S[0]})))},n.getDimetionAxis=function(e){var t=M.getPivot();if(e.filter(function(e){return e.id!==t.id}).length)return"col"},n.chartSelect=function(e){var t=n.state,r=t.mode,o=t.commonParams,a=o.cols,i=o.rows,s=o.metrics;if("pivot"===r){if(1!==s.items.length||s.items[0].chart.id!==e.id){s.items.forEach(function(t){t.chart=e}),e.id!==L.default.PivotTable&&(a.items=a.items.filter(function(e){return"指标名称"!==e.name}),i.items=i.items.filter(function(e){return"指标名称"!==e.name}));var l=n.getChartDataConfig(n.getPivotModeSelectedCharts(s.items)),c=l.specificParams,d=l.styleParams;n.getVisualData(o,c,d)}}else n.setState({chartModeSelectedChart:e},function(){var t=n.getChartDataConfig([e]),r=t.specificParams,a=t.styleParams;n.getVisualData(o,r,a)})},n.viewSelect=function(e){var t=e.key,r=n.state,o=r.commonParams,a=r.specificParams;Object.values(o).concat(Object.values(a)).filter(function(e){return!!e.items.length}).length?G({title:"切换 View 会清空所有配置项,是否继续?",onOk:function(){n.resetWorkbench(),n.props.onViewSelect(n.props.views.find(function(e){return e.id===Number(t)}))}}):n.props.onViewSelect(n.props.views.find(function(e){return e.id===Number(t)}))},n.changeMode=function(e){var t=e.target.value,r=n.state,o=r.commonParams,a=r.specificParams;Object.values(o).concat(Object.values(a)).filter(function(e){return!!e.items.length}).length?G({title:"切换图表模式会清空所有配置项,是否继续?",onOk:function(){n.setState({mode:t,currentWidgetlibs:p.default[t]},function(){n.resetWorkbench()})}}):n.setState({mode:t,currentWidgetlibs:p.default[t]},function(){n.resetWorkbench()})},n.resetWorkbench=function(){var e=n.state,t=e.commonParams,r=e.specificParams;e.mode;Object.values(t).forEach(function(e){e.items=[],e.value&&(e.value={})}),Object.values(r).forEach(function(e){e.items=[],e.value&&(e.value={})}),n.setState({showColsAndRows:!1,chartModeSelectedChart:M.getTable()});var o=n.getChartDataConfig(n.getPivotModeSelectedCharts([]));n.getVisualData(t,o.specificParams,o.styleParams)},n.dropboxValueChange=function(e){return function(t,r){var o=n.state,a=o.mode,i=o.commonParams,s=o.specificParams,l=o.styleParams,c=s.color,d=s.size;switch(e){case"color":"all"===t&&"pivot"===a?Object.keys(c.value).forEach(function(e){c.value[e]=r}):c.value[t]=r;break;case"size":"all"===t?Object.keys(d.value).forEach(function(e){d.value[e]=r}):d.value[t]=r}n.getVisualData(i,s,l,"refresh")}},n.styleChange=function(e){return function(t,r){var o=n.state,a=o.commonParams,i=o.specificParams,s=o.styleParams;o.chartModeSelectedChart;s[e][t]=r;var l="clear";switch(t){case"layerType":l="rerender";break;case"smooth":l="clear"}n.getVisualData(a,i,s,l);s.spec.layerType}},n.confirmColorModal=function(e){n.state.modalCallback(e),n.closeColorModal()},n.cancelColorModal=function(){n.state.modalCallback(!1),n.closeColorModal()},n.closeColorModal=function(){n.setState({colorModalVisible:!1,modalCallback:null})},n.confirmActOnModal=function(e){n.state.modalCallback(e),n.closeActOnModal()},n.cancelActOnModal=function(){n.state.modalCallback(!1),n.closeActOnModal()},n.closeActOnModal=function(){n.setState({actOnModalVisible:!1,actOnModalList:null})},n.confirmFilterModal=function(e){n.state.modalCallback(e),n.closeFilterModal()},n.cancelFilterModal=function(){n.state.modalCallback(!1),n.closeFilterModal()},n.closeFilterModal=function(){n.setState({filterModalVisible:!1})},n.afterColorModalClose=function(){n.colorSettingForm.reset()},n.afterActOnModalClose=function(){n.actOnSettingForm.reset()},n.afterFilterModalClose=function(){n.filterSettingForm.reset()},n.tabSelect=function(e){return function(){n.setState({selectedTab:e})}},n.showVariableConfigTable=function(e){return function(){n.setState({variableConfigModalVisible:!0,variableConfigControl:e?n.props.queryParams.find(function(t){return t.id===e}):{}})}},n.hideVariableConfigTable=function(){n.setState({variableConfigModalVisible:!1,variableConfigControl:{}})},n.resetVariableConfigForm=function(){n.variableConfigForm.resetForm()},n.saveControl=function(e){var t=n.props,r=t.queryParams,a=t.onSetQueryParams,i=n.state,s=(i.commonParams,i.specificParams,i.styleParams,r.findIndex(function(t){return t.id===e.id}));s>=0?(r.splice(s,1,e),a([].concat(o(r.slice(0,s)),[e],o(r.slice(s+1))))):a(r.concat(e))},n.deleteControl=function(e){return function(){var t=n.props,r=t.queryParams;(0,t.onSetQueryParams)(r.filter(function(t){return t.id!==e}))}},n.state={dragged:null,showColsAndRows:!1,selectedTab:"data",mode:"pivot",currentWidgetlibs:p.default.pivot,chartModeSelectedChart:M.getTable(),commonParams:{cols:{title:"列",type:"category",items:[]},rows:{title:"行",type:"category",items:[]},metrics:{title:"指标",type:"value",items:[]},filters:{title:"筛选",type:"all",items:[]}},specificParams:{},styleParams:{},modalCachedData:null,modalCallback:null,modalDataFrom:void 0,colorModalVisible:!1,actOnModalVisible:!1,actOnModalList:null,filterModalVisible:!1,variableConfigModalVisible:!1,variableConfigControl:{}},n}return s(t,e),c(t,[{key:"componentWillMount",value:function(){this.setState(Object.assign({},this.getChartDataConfig(this.getPivotModeSelectedCharts([]))))}},{key:"componentWillReceiveProps",value:function(e){var t=this,n=e.selectedView,r=e.currentWidgetConfig;if(r&&r!==this.props.currentWidgetConfig){var o=r.cols,a=r.rows,i=r.metrics,s=r.filters,l=r.color,c=r.label,d=r.size,u=r.xAxis,f=r.tip,m=r.chartStyles,h=r.mode,g=r.selectedChart,_=this.state.commonParams,b=p.default[h||"pivot"],v=JSON.parse(n.model);_.cols.items=o.map(function(e){return{name:e,from:"cols",type:"category",visualType:"指标名称"===e?"string":v[e].visualType}}),_.rows.items=a.map(function(e){return{name:e,from:"rows",type:"category",visualType:"指标名称"===e?"string":v[e].visualType}}),_.metrics.items=i.map(function(e){return Object.assign({},e,{type:"value",visualType:v[M.decodeMetricName(e.name)].visualType,chart:b.find(function(t){return t.id===e.chart.id})})}),_.filters.items=s.map(function(e){return Object.assign({},e,{visualType:v[e.name]})});var y=Object.assign({},l&&{color:l},c&&{label:c},d&&{size:d},u&&{xAxis:u},f&&{tip:f});this.setState(Object.assign({commonParams:_,specificParams:y,styleParams:m,showColsAndRows:!!a.length,mode:h||"pivot",currentWidgetlibs:b},g&&{chartModeSelectedChart:p.default.chart.find(function(e){return e.id===g})}),function(){t.getVisualData(_,y,m)})}}},{key:"render",value:function(){var e,t,n=this,o=this.props,a=o.views,i=o.selectedView,s=o.distinctColumnValues,c=o.columnValueLoading,p=o.queryParams,O=o.cache,L=o.expired,I=o.onCacheChange,z=o.onExpiredChange,G=(o.currentWidgetConfig,this.state),q=G.dragged,K=G.showColsAndRows,se=G.selectedTab,le=G.mode,ce=G.currentWidgetlibs,de=G.chartModeSelectedChart,ue=G.commonParams,pe=G.specificParams,fe=G.styleParams,me=G.modalCachedData,he=G.modalDataFrom,ge=G.colorModalVisible,_e=G.actOnModalVisible,be=G.actOnModalList,ve=G.filterModalVisible,ye=G.variableConfigModalVisible,Ae=G.variableConfigControl,xe=ue.metrics,we=this.getDiemtionsAndMetricsCount(),je=l(we,2),Ee=je[0],Se=je[1],Ce=fe.spec,ke=fe.xAxis,Te=fe.yAxis,Me=fe.axis,Oe=fe.splitLine,Le=fe.pivot,De=fe.label,Pe=fe.legend,Ie=fe.visualMap,Re=fe.toolbox,Ne=fe.areaSelect,Fe=fe.scorecard,Be=fe.iframe,ze=d.createElement(R,{onClick:this.viewSelect},(a||[]).map(function(e){return d.createElement(N,{key:e.id},e.name)})),Ue=[],He=[];if(i){var Ve=JSON.parse(i.model),Ye=M.getPivot();Object.entries(Ve).forEach(function(e){var t=l(e,2),n=t[0],r=t[1];"category"===r.modelType?Ue.push({name:n,type:"category",visualType:r.visualType}):He.push({name:n,type:"value",visualType:r.visualType})}),"pivot"===le&&He.length&&xe.items.every(function(e){return e.chart.id===Ye.id})&&Ue.push({name:"指标名称",type:"category",visualType:"string"})}var We=Object.entries(ue).concat(Object.entries(pe)).map(function(e){var t=l(e,2),r=t[0],o=t[1];if("rows"!==r||K){"cols"===r&&(o.title=K?"列":"维度");var a=[];return"color"===r&&(a=xe.items),"size"===r&&(a=o.items),d.createElement(f.default,{key:r,name:r,title:o.title,type:o.type,value:o.value,items:o.items,mode:le,dragged:q,panelList:a,dimetionsCount:Ee,metricsCount:Se,onValueChange:n.dropboxValueChange(r),onItemDragStart:n.insideDragStart(r),onItemDragEnd:n.insideDragEnd,onItemRemove:n.removeDropboxItem(r),onItemSort:n.getDropboxItemSortDirection(r),onItemChangeAgg:n.getDropboxItemAggregator(r),onItemChangeColorConfig:n.dropboxItemChangeColorConfig,onItemChangeFilterConfig:n.dropboxItemChangeFilterConfig,onItemChangeChart:n.getDropboxItemChart,beforeDrop:n.beforeDrop,onDrop:n.drop})}}),Ge=u((e={},r(e,Q.toggleRowsAndCols,!0),r(e,X.hide,"chart"===le),e)),Qe=u((t={},r(t,Q.switchRowsAndCols,!0),r(t,X.hide,!K),t)),qe=this.tabKeys.map(function(e){var t=e.key,o=e.title,a=u(r({},Q.selected,t===se));return d.createElement("li",{key:t,className:a,onClick:n.tabSelect(t)},o)}),Ke=[{title:"变量",dataIndex:"variables",key:"variables",render:function(e,t){return t.variables.join(",")}},{title:"操作",key:"action",width:100,className:""+X.textAlignCenter,render:function(e,t){return d.createElement("span",{className:"ant-table-action-column"},d.createElement(B,{size:"small",shape:"circle",icon:"edit",onClick:n.showVariableConfigTable(t.id)}),d.createElement(B,{size:"small",shape:"circle",icon:"delete",onClick:n.deleteControl(t.id)}))}}],Xe=[];i&&(Xe=(i.sql.match(/query@var\s+\$\w+\$/g)||[]).map(function(e){return e.substring(e.indexOf("$")+1,e.lastIndexOf("$"))}));var Je=void 0,Ze=void 0;if(Ce){var $e=Ce.layerType;Ze=!($e&&"heatmap"===$e),Je=!($e&&("heatmap"===$e||"map"===$e||"scatter"===$e))}var et=void 0;switch(se){case"data":et=d.createElement("div",{className:Q.paramsPane+" "+Q.dropPane},d.createElement("div",{className:Ge,onClick:this.toggleRowsAndCols},J,K?" 使用维度":" 使用行列"),d.createElement("div",{className:Qe,onClick:this.switchRowsAndCols},Z," 行列切换"),We);break;case"style":et=d.createElement("div",{className:Q.paramsPane},Ce&&d.createElement(x.default,{name:de.name,title:de.title,config:Ce,onChange:this.styleChange("spec"),isLegendSection:Je}),Ze?De&&d.createElement(w.default,{title:"标签",config:De,onChange:this.styleChange("label"),name:de.name}):null,Je?Pe&&d.createElement(j.default,{title:"图例",config:Pe,onChange:this.styleChange("legend")}):null,Je?null:Ie&&d.createElement(E.default,{title:"视觉映射",config:Ie,onChange:this.styleChange("visualMap")}),Re&&d.createElement(S.default,{title:"工具",config:Re,onChange:this.styleChange("toolbox")}),ke&&d.createElement(v.default,{title:"X轴",config:ke,onChange:this.styleChange("xAxis")}),Te&&d.createElement(v.default,{title:"Y轴",config:Te,onChange:this.styleChange("yAxis")}),Me&&d.createElement(v.default,{title:"轴",config:Me,onChange:this.styleChange("axis")}),Oe&&d.createElement(y.default,{title:"分隔线",config:Oe,onChange:this.styleChange("splitLine")}),Ne&&d.createElement(C.default,{title:"坐标轴框选",config:Ne,onChange:this.styleChange("areaSelect")}),Fe&&d.createElement(k.default,{title:"翻牌器",config:Fe,onChange:this.styleChange("scorecard")}),Be&&d.createElement(T.default,{title:"内嵌网页",config:Be,onChange:this.styleChange("iframe")}),Le&&d.createElement(A.default,{title:"透视表",config:Le,onChange:this.styleChange("pivot")}));break;case"variable":et=Xe.length?d.createElement("div",{className:Q.paramsPane},d.createElement(D,{gutter:8,type:"flex",align:"middle",className:Q.blockRow},d.createElement(P,{span:24,className:Q.addVariable,onClick:this.showVariableConfigTable()},$," 点击添加")),d.createElement(F,{dataSource:p,columns:Ke,rowKey:"id",pagination:!1})):d.createElement("div",{className:Q.paramsPane},d.createElement("div",{className:Q.paneBlock},d.createElement(D,{gutter:8,type:"flex",align:"middle",className:Q.blockRow},ee)));break;case"cache":et=d.createElement("div",{className:Q.paramsPane},d.createElement("div",{className:Q.paneBlock},te,d.createElement("div",{className:Q.blockBody},d.createElement(D,{gutter:8,type:"flex",align:"middle",className:Q.blockRow},d.createElement(P,{span:24},d.createElement(H,{size:"small",value:O,onChange:I},ne,re))))),d.createElement("div",{className:Q.paneBlock},oe,d.createElement("div",{className:Q.blockBody},d.createElement(D,{gutter:8,type:"flex",align:"middle",className:Q.blockRow},d.createElement(P,{span:24},d.createElement(V,{value:L,disabled:!O,onChange:z}))))))}var tt=void 0,nt=void 0,rt=void 0;if(me){var ot="filters"===he?ue[he].items.find(function(e){return e.name===me.name}):pe[he].items.find(function(e){return e.name===me.name});switch(he){case"color":tt=ot?ot.config:{};break;case"filters":rt=ot?ot.config:{};break;default:nt=ot?ot.config:{}}}var at="pivot"===le?this.getPivotModeSelectedCharts(xe.items):[de];return d.createElement("div",{className:Q.operatingPanel},d.createElement("div",{className:Q.model},d.createElement("div",{className:Q.viewSelect},d.createElement(Y,{overlay:ze,trigger:["click"],placement:"bottomLeft"},d.createElement("a",null,i?i.name:"选择一个View"))),d.createElement("div",{className:Q.columnContainer},ae,d.createElement("ul",{className:Q.columnList+" "+Q.categories},Ue.map(function(e){return d.createElement("li",{key:e.name,onDragStart:n.dragStart(e),onDragEnd:n.dragEnd,draggable:!0},d.createElement("i",{className:"iconfont "+n.getDragItemIconClass(e.visualType)}),d.createElement("p",null,e.name))}))),d.createElement("div",{className:Q.columnContainer},ie,d.createElement("ul",{className:Q.columnList+" "+Q.values},He.map(function(e){return d.createElement("li",{key:e.name,onDragStart:n.dragStart(Object.assign({},e,{name:M.encodeMetricName(e.name),agg:"sum"})),onDragEnd:n.dragEnd,draggable:!0},d.createElement("i",{className:"iconfont "+n.getDragItemIconClass(e.visualType)}),d.createElement("p",null,e.name))})))),d.createElement("div",{className:Q.config},d.createElement("div",{className:Q.mode},d.createElement(H,{size:"small",value:le,onChange:this.changeMode},d.createElement(U,{className:u(r({},Q.button,"pivot"!==le)),value:"pivot"},"透视驱动"),d.createElement(U,{className:u(r({},Q.button,"chart"!==le)),value:"chart"},"图表驱动"))),d.createElement("div",{className:Q.charts},ce.map(function(e){return d.createElement(b.default,{key:e.id,chartInfo:e,dimetionsCount:Ee,metricsCount:Se,selectedCharts:at,onSelect:n.chartSelect})})),d.createElement("div",{className:Q.params},d.createElement("ul",{className:Q.paramsTab},qe),et)),d.createElement(W,{wrapClassName:"ant-modal-small",visible:ge,onCancel:this.cancelColorModal,afterClose:this.afterColorModalClose,footer:null},d.createElement(m.default,{mode:le,list:s,loading:c,metrics:xe.items,config:tt,onSave:this.confirmColorModal,onCancel:this.cancelColorModal,ref:function(e){return n.colorSettingForm=e}})),d.createElement(W,{title:"作用于",wrapClassName:"ant-modal-small",visible:_e,onCancel:this.cancelActOnModal,afterClose:this.afterActOnModalClose,footer:null},d.createElement(h.default,{list:be,config:nt,onSave:this.confirmActOnModal,onCancel:this.cancelActOnModal,ref:function(e){return n.actOnSettingForm=e}})),d.createElement(W,{title:"筛选配置",visible:ve,onCancel:this.cancelFilterModal,afterClose:this.afterFilterModalClose,footer:null},d.createElement(g.default,{item:me,list:s,config:rt,onSave:this.confirmFilterModal,onCancel:this.cancelFilterModal,ref:function(e){return n.filterSettingForm=e}})),d.createElement(W,{title:"QUERY变量配置",wrapClassName:"ant-modal-large",visible:ye,onCancel:this.hideVariableConfigTable,afterClose:this.resetVariableConfigForm,footer:!1,maskClosable:!1},d.createElement(_.default,{queryInfo:Xe,control:Ae,onSave:this.saveControl,onClose:this.hideVariableConfigTable,wrappedComponentRef:this.refHandlers.variableConfigForm})))}}]),t}(d.Component);t.OperatingPanel=se,t.default=se},"./app/containers/Widget/components/Workbench/PivotChartSelector.tsx":function(e,t,n){"use strict";function r(e){var t=u.getPivot(),n=s.filter(function(n){return n!==t&&u.checkChartEnable(e.dimetionsCount,e.metricsCount,n)}).map(function(e){return a.createElement(d,{key:e.id,className:p.item},a.createElement("i",{className:"iconfont "+e.icon+" "+p.icon}))});return e.chart.id===t.id?null:a.createElement(l,{overlay:a.createElement(c,{className:p.chartSelectorList,onClick:o(e)},n),trigger:["click"]},a.createElement("i",{className:"iconfont "+e.chart.icon+" "+p.chart}))}function o(e){return function(t){var n=t.key,r=s.find(function(e){return""+e.id===n}),o=e.chart;r.id!==o.id&&e.onChangeChart(r)}}Object.defineProperty(t,"__esModule",{value:!0});var a=n("./node_modules/_react@15.6.2@react/react.js"),i=n("./app/containers/Widget/config/index.ts"),s=i.default.pivot,l=n("./node_modules/_antd@2.13.14@antd/lib/dropdown/index.js"),c=n("./node_modules/_antd@2.13.14@antd/lib/menu/index.js"),d=c.Item,u=n("./app/containers/Widget/components/util.ts"),p=n("./app/containers/Widget/components/Workbench/Workbench.less");t.PivotChartSelector=r,t.default=r},"./app/containers/Widget/components/Workbench/SizePanel.tsx":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;ni)return 1;if("number"==typeof e&&"number"!=typeof t)return-1;if("number"==typeof t&&"number"!=typeof e)return 1;if("number"==typeof e&&"number"==typeof t)return 0;if(isNaN(i)&&!isNaN(a))return-1;if(isNaN(a)&&!isNaN(i))return 1;var s=String(e),l=String(t);if(s===l)return 0;if(!r.test(s)||!r.test(l))return s>l?1:-1;for(var c=s.match(n),d=l.match(n);c.length&&d.length;){var u=c.shift(),p=d.shift();if(u!==p)return r.test(u)&&r.test(p)?Number(u.replace(o,".0"))-Number(p.replace(o,".0")):u>p?1:-1}return c.length-d.length}function c(e){return e+2*I.PIVOT_CELL_PADDING+2*I.PIVOT_CELL_BORDER}function d(e){return(e||I.PIVOT_LINE_HEIGHT)+2*I.PIVOT_CELL_PADDING+I.PIVOT_CELL_BORDER}function u(e,t,n,r){var o=void 0,a=void 0;"col"===e?(o=Math.max(1,n[0]),a=t[0]):(o=Math.max(1,n[1]),a=t[1]);var i=a/o,s=r?I.PIVOT_CHART_METRIC_AXIS_MIN_SIZE:I.PIVOT_CHART_ELEMENT_MIN_WIDTH;return Math.max(Math.floor(i),s)}function p(e,t,n,r){return"row"===e&&n>r*t}function f(e,t,n){return Math.max(e,t*n*I.PIVOT_CHART_METRIC_AXIS_MIN_SIZE)/t/n}function m(e,t,n){return Math.max(e,t*n*I.PIVOT_CHART_METRIC_AXIS_MIN_SIZE)/t/n}function h(e,t,n){var r=Array.isArray(n)?n:[n],o=!0,a=!1,i=void 0;try{for(var s,l=r[Symbol.iterator]();!(o=(s=l.next()).done);o=!0){var c=s.value,d=c.requireDimetions,u=c.requireMetrics;if(Array.isArray(d)){if(ed[1])return!1}else if(e!==d)return!1;if(Array.isArray(u)){if(tu[1])return!1}else if(t!==u)return!1}}catch(e){a=!0,i=e}finally{try{!o&&l.return&&l.return()}finally{if(a)throw i}}return!0}function g(e,t){var n=Math.floor(e/t),r=Math.pow(10,(""+n).length-1);return(Math.floor(n/r)+1)*r}function _(e,t){if(1===t)return t;var n=e/t;return Math.abs(n-I.PIVOT_CHART_POINT_LIMIT)/I.PIVOT_CHART_POINT_LIMIT<.2?t:n>I.PIVOT_CHART_POINT_LIMIT?t:_(e,Math.round(t/2))}function b(e){function t(e){return e>=10?Math.floor(e):e.toFixed(1)}return e>=Math.pow(10,9)&&e=Math.pow(10,6)&&e=Math.pow(10,3)&&eI.PIVOT_CANVAS_AXIS_SIZE_LIMIT){var a=[];return o.forEach(function(r){var o={key:""+U.uuid(8,16)+r.key,data:[]},i={key:"",length:0,data:[o]};r.data.forEach(function(s,l){var c="x"===e&&"row"===t||"y"===e&&"col"===t?s.width*n.length:s.width;i.length+c>I.PIVOT_CANVAS_AXIS_SIZE_LIMIT&&(i.key=""+l+i.data.map(function(e){return e.key}).join(","),a.push(i),o={key:""+U.uuid(8,16)+r.key,data:[]},i={key:"",length:0,data:[o]}),i.length+=c,o.data.push(s),l===r.data.length-1&&(i.key=""+l+i.data.map(function(e){return e.key}).join(","),a.push(i))})}),a}return[{key:"block",data:o,length:r}]}function E(e){return function(n){for(var r=n,o=e>I.PIVOT_XAXIS_ROTATE_LIMIT?e:I.PIVOT_XAXIS_SIZE-I.PIVOT_XAXIS_TICK_SIZE;t.getTextWidth(n)>o;)n=n.substring(0,n.length-1);return n===r?n:n.substring(0,n.length-1)+"…"}}function S(e,t,n,r,o){var a=D(e,2),i=a[0],s=a[1],l=o.contentSize,c=o.viewSize,d=D(l,2),u=d[0],p=d[1],f=D(c,2),m=f[0],h=f[1];return[i+u+10>m?i-10-u:i+10,Math.min(s,h-p)]}function C(e,t,n,o,a,s,l,c,d){var u=t.concat(n),p=[].concat(r(o));return a&&(u=u.concat(a.items.map(function(e){return e.name}))),s&&(u=u.concat(s.items.filter(function(e){return"category"===e.type}).map(function(e){return e.name})),p=p.concat(s.items.filter(function(e){return"value"===e.type}))),l&&(p=p.concat(l.items)),c&&(p=p.concat(c.items)),d&&(p=p.concat(d.items)),u=u.reduce(function(e,t){return e.includes(t)||e.push(t),e},[]),p=p.reduce(function(e,t){var n=i(t.name);return e.find(function(e){return e.name.includes(n)&&e.agg===t.agg})||e.push(t),e},[]),function(t){var n=M(t,e);return p.map(function(e){var t=i(e.name),r=n?Array.isArray(n)?n.reduce(function(n,r){return n+r[e.agg+"("+t+")"]},0):n[e.agg+"("+t+")"]:0;return t+": "+r}).concat(u.map(function(e){return e+": "+(n?Array.isArray(n)?n[0][e]:n[e]:"")})).join("
")}}function k(e,t,n){var o=n.cols,a=n.metrics,s=n.color,l=n.size,c=n.scatterXAxis,d=n.tip,u=o,p=[].concat(r(a));return s&&(u=u.concat(s.items.map(function(e){return e.name}))),l&&(p=p.concat(l.items)),c&&(p=p.concat(c.items)),d&&(p=p.concat(d.items)),u=u.reduce(function(e,t){return e.includes(t)||e.push(t),e},[]),p=p.reduce(function(e,t){var n=i(t.name);return e.find(function(e){return e.name.includes(n)&&e.agg===t.agg})||e.push(t),e},[]),function(n){var r=n.seriesIndex,o=n.dataIndex,a="funnel"===e||"map"===e?t[o]:t[r][o];return u.map(function(e){return e+": "+(a?Array.isArray(a)?a[0][e]:a[e]:"")}).concat(p.map(function(e){var t=i(e.name),n=a?Array.isArray(a)?a.reduce(function(n,r){return n+r[e.agg+"("+t+")"]},0):a[e.agg+"("+t+")"]:0;return t+": "+n})).join("
")}}function T(e,t){return function(n){var r=M(n,e)||{};return"category"===t.type?Array.isArray(r)?r[0][t.name]:r[t.name]||"":Array.isArray(r)?r.reduce(function(e,n){return e+n[t.agg+"("+i(t.name)+")"]},0):r[t.agg+"("+i(t.name)+")"]||0}}function M(e,t){var n=e.seriesIndex,r=e.dataIndex,o=t[n],a=o.type,i=o.grouped,s=o.records;return"cartesian"===a?i?s[r]:s[r].value:"polar"===a?s[r]:s?s[0]:{}}function O(e,t){return Math.max(e/10,t/100)}function L(e){return e>=I.PIVOT_DEFAULT_SCATTER_SIZE_TIMES?e-I.PIVOT_DEFAULT_SCATTER_SIZE_TIMES+1:1/Math.pow(2,I.PIVOT_DEFAULT_SCATTER_SIZE_TIMES-e)}var D=function(){function e(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),P=this;Object.defineProperty(t,"__esModule",{value:!0});var I=n("./app/globalConstants.ts"),R=n("./app/containers/Widget/config/index.ts"),N=n("./app/containers/Widget/config/pivot/PivotTypes.ts"),F=n("./app/containers/Widget/config/chart/ChartTypes.ts"),B=R.default.pivot,z=R.default.chart,U=n("./app/utils/util.ts");t.getAggregatorLocale=o,t.encodeMetricName=a,t.decodeMetricName=i,t.spanSize=s,t.naturalSort=l,t.getTextWidth=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:I.DEFAULT_FONT_WEIGHT,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:I.DEFAULT_FONT_SIZE,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:I.DEFAULT_FONT_FAMILY,o=P.canvas||(P.canvas=document.createElement("canvas")),a=o.getContext("2d");a.font=t+" "+n+" "+r;var i=a.measureText(e);return Math.ceil(i.width)},t.getPivotContentTextWidth=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:I.DEFAULT_FONT_WEIGHT,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:I.DEFAULT_FONT_SIZE,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:I.DEFAULT_FONT_FAMILY;return Math.min(t.getTextWidth(e,n,r,o),I.PIVOT_MAX_CONTENT_WIDTH)},t.getPivotCellWidth=c,t.getPivotCellHeight=d,t.getTableBodyWidth=function(e,t,n){var r=n.length&&I.PIVOT_TITLE_SIZE,o="row"===e?n.slice(0,n.length-1).reduce(function(e,t){return e+c(t)},0):n.reduce(function(e,t){return e+c(t)},0);return t-2*I.PIVOT_BORDER-o-I.PIVOT_YAXIS_SIZE-r},t.getTableBodyHeight=function(e,t,n){var r=n&&I.PIVOT_TITLE_SIZE,o="col"===e?Math.max(n-1,0):n;return t-2*I.PIVOT_BORDER-o*d()-I.PIVOT_XAXIS_SIZE-r},t.getChartElementSize=u,t.shouldTableBodyCollapsed=p,t.getChartUnitMetricWidth=f,t.getChartUnitMetricHeight=m,t.checkChartEnable=h,t.getAxisInterval=g,t.getChartPieces=_,t.metricAxisLabelFormatter=b,t.getPivot=v,t.getTable=y,t.getStyleConfig=A,t.getChartViewMetrics=x,t.getAxisData=w,t.axisDataCutting=j,t.getXaxisLabel=E,t.getTooltipPosition=S,t.getPivotTooltipLabel=C,t.getChartTooltipLabel=k,t.getChartLabel=T,t.getTriggeringRecord=M,t.getSizeRate=O,t.getSizeValue=L},"./app/containers/Widget/config/chart/ChartTypes.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r;!function(e){e[e.Table=1]="Table",e[e.Line=2]="Line",e[e.Bar=3]="Bar",e[e.Scatter=4]="Scatter",e[e.Pie=5]="Pie",e[e.CMap=7]="CMap",e[e.Parallel=8]="Parallel",e[e.Funnel=6]="Funnel",e[e.Sankey=9]="Sankey",e[e.Radar=10]="Radar",e[e.WordCloud=11]="WordCloud",e[e.Waterfall=12]="Waterfall",e[e.Scorecard=13]="Scorecard",e[e.Iframe=14]="Iframe"}(r=t.ChartTypes||(t.ChartTypes={})),t.default=r},"./app/containers/Widget/config/chart/bar.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./app/containers/Widget/config/chart/ChartTypes.ts"),o=n("./app/globalConstants.ts"),a={id:r.default.Bar,name:"bar",title:"柱状图",icon:"icon-chart-bar",coordinate:"cartesian",requireDimetions:[0,1],requireMetrics:[1,9999],dimetionAxis:"col",data:{color:{title:"颜色",type:"category"},tip:{title:"提示信息",type:"value"}},style:{spec:{stack:!1},label:{showLabel:!1,labelPosition:o.CHART_LABEL_POSITIONS[0].value,labelFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,labelFontSize:"12",labelColor:o.PIVOT_DEFAULT_FONT_COLOR},xAxis:{showLine:!0,lineStyle:"solid",lineSize:"1",lineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,showLabel:!0,labelFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,labelFontSize:"12",labelColor:o.PIVOT_DEFAULT_FONT_COLOR,xAxisInterval:0,xAxisRotate:0},yAxis:{showLine:!0,lineStyle:"solid",lineSize:"1",lineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,showLabel:!0,labelFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,labelFontSize:"12",labelColor:o.PIVOT_DEFAULT_FONT_COLOR,showTitleAndUnit:!0,titleFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,titleFontSize:"12",titleColor:o.PIVOT_DEFAULT_FONT_COLOR,nameLocation:"middle",nameRotate:90,nameGap:40},splitLine:{showHorizontalLine:!0,horizontalLineStyle:"dashed",horizontalLineSize:"1",horizontalLineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,showVerticalLine:!1,verticalLineStyle:"dashed",verticalLineSize:"1",verticalLineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR},legend:{showLegend:!0,legendPosition:"right",selectAll:!0,fontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,fontSize:"12",color:o.PIVOT_DEFAULT_FONT_COLOR}}};t.default=a},"./app/containers/Widget/config/chart/funnel.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./app/containers/Widget/config/chart/ChartTypes.ts"),o=n("./app/globalConstants.ts"),a={id:r.default.Funnel,name:"funnel",title:"漏斗图",icon:"icon-iconloudoutu",coordinate:"cartesian",requireDimetions:[0,9999],requireMetrics:1,dimetionAxis:"col",data:{color:{title:"颜色",type:"category"}},style:{label:{showLabel:!1,funnelLabelPosition:o.CHART_FUNNEL_LABEL_POSITIONS[0].value,labelFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,labelFontSize:"12",labelColor:o.PIVOT_DEFAULT_FONT_COLOR},legend:{showLegend:!0,legendPosition:"right",selectAll:!0,fontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,fontSize:"12",color:o.PIVOT_DEFAULT_FONT_COLOR},spec:{sortMode:o.CHART_SORT_MODES[0].value,alignmentMode:o.CHART_ALIGNMENT_MODES[0].value,gapNumber:0}}};t.default=a},"./app/containers/Widget/config/chart/iframe.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./app/containers/Widget/config/chart/ChartTypes.ts"),o={id:r.default.Iframe,name:"iframe",title:"内嵌网页",icon:"icon-iframe",coordinate:"other",requireDimetions:0,requireMetrics:0,data:{},style:{iframe:{src:""},spec:{}}};t.default=o},"./app/containers/Widget/config/chart/index.tsx":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./app/containers/Widget/config/chart/table.ts"),o=n("./app/containers/Widget/config/chart/line.ts"),a=n("./app/containers/Widget/config/chart/bar.ts"),i=n("./app/containers/Widget/config/chart/scatter.ts"),s=n("./app/containers/Widget/config/chart/pie.ts"),l=n("./app/containers/Widget/config/chart/funnel.ts"),c=n("./app/containers/Widget/config/chart/radar.ts"),d=n("./app/containers/Widget/config/chart/sankey.ts"),u=n("./app/containers/Widget/config/chart/parallel.ts"),p=n("./app/containers/Widget/config/chart/map.ts"),f=n("./app/containers/Widget/config/chart/wordCloud.ts"),m=n("./app/containers/Widget/config/chart/waterfall.ts"),h=n("./app/containers/Widget/config/chart/scorecard.ts"),g=n("./app/containers/Widget/config/chart/iframe.ts"),_=[r.default,h.default,o.default,a.default,i.default,s.default,l.default,c.default,d.default,u.default,p.default,f.default,m.default,g.default];t.default=_},"./app/containers/Widget/config/chart/line.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./app/containers/Widget/config/chart/ChartTypes.ts"),o=n("./app/globalConstants.ts"),a={id:r.default.Line,name:"line",title:"折线图",icon:"icon-chart-line",coordinate:"cartesian",requireDimetions:1,requireMetrics:[1,9999],dimetionAxis:"col",data:{color:{title:"颜色",type:"category"},tip:{title:"提示信息",type:"value"}},style:{spec:{smooth:!1,step:!1},label:{showLabel:!1,labelPosition:o.CHART_LABEL_POSITIONS[0].value,labelFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,labelFontSize:"12",labelColor:o.PIVOT_DEFAULT_FONT_COLOR},xAxis:{showLine:!0,lineStyle:"solid",lineSize:"1",lineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,showLabel:!0,labelFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,labelFontSize:"12",labelColor:o.PIVOT_DEFAULT_FONT_COLOR,showInterval:!1,xAxisInterval:0,xAxisRotate:0},yAxis:{showLine:!0,lineStyle:"solid",lineSize:"1",lineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,showLabel:!0,labelFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,labelFontSize:"12",labelColor:o.PIVOT_DEFAULT_FONT_COLOR,showTitleAndUnit:!0,titleFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,titleFontSize:"12",titleColor:o.PIVOT_DEFAULT_FONT_COLOR,nameLocation:"middle",nameRotate:90,nameGap:40},splitLine:{showHorizontalLine:!0,horizontalLineStyle:"dashed",horizontalLineSize:"1",horizontalLineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,showVerticalLine:!1,verticalLineStyle:"dashed",verticalLineSize:"1",verticalLineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR},legend:{showLegend:!0,legendPosition:"right",selectAll:!0,fontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,fontSize:"12",color:o.PIVOT_DEFAULT_FONT_COLOR}}};t.default=a},"./app/containers/Widget/config/chart/map.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./app/containers/Widget/config/chart/ChartTypes.ts"),o=n("./app/globalConstants.ts"),a=n("./app/assets/json/echartsThemes/default.project.json"),i=a.theme.color,s={id:r.default.CMap,name:"map",title:"地图",icon:"icon-china",coordinate:"cartesian",requireDimetions:[0,9999],requireMetrics:1,dimetionAxis:"col",data:{},style:{label:{showLabel:!1,labelPosition:o.CHART_LABEL_POSITIONS[0].value,labelFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,labelFontSize:"12",labelColor:o.PIVOT_DEFAULT_FONT_COLOR},visualMap:{showVisualMap:!0,visualMapPosition:o.CHART_VISUALMAP_POSITIONS[0].value,fontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,fontSize:"12",visualMapDirection:"vertical",visualMapWidth:20,visualMapHeight:150,startColor:i[0],endColor:i[2]},legend:{showLegend:!0,legendPosition:o.CHART_LEGEND_POSITIONS[0].value,selectAll:!0,fontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,fontSize:"12",color:o.PIVOT_DEFAULT_FONT_COLOR},spec:{layerType:"map",roam:!1,symbolType:o.CHART_LINES_SYMBOL_TYPE[0].value,linesSpeed:"10"}}};t.default=s},"./app/containers/Widget/config/chart/parallel.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./app/containers/Widget/config/chart/ChartTypes.ts"),o=n("./app/globalConstants.ts"),a={id:r.default.Parallel,name:"parallel",title:"平行坐标图",icon:"icon-parallel",coordinate:"cartesian",requireDimetions:[1,9999],requireMetrics:[1,9999],dimetionAxis:"col",data:{color:{title:"颜色",type:"category"}},style:{axis:{inverse:!1,showLine:!0,lineStyle:"solid",lineSize:"1",lineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,showLabel:!0,labelFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,labelFontSize:"12",labelColor:o.PIVOT_DEFAULT_FONT_COLOR,showTitleAndUnit:!0,nameLocation:"start",nameRotate:0,nameGap:20,titleFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,titleFontStyle:o.DEFAULT_FONT_STYLE,titleFontSize:"12",titleColor:o.PIVOT_DEFAULT_FONT_COLOR},legend:{showLegend:!0,legendPosition:"right",selectAll:!0,fontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,fontSize:"12",color:o.PIVOT_DEFAULT_FONT_COLOR},areaSelect:{width:o.PIVOT_CHART_ELEMENT_MIN_WIDTH,borderWidth:o.PIVOT_BORDER,borderColor:"#a0c5e8",color:"#a0c5e8",opacity:.3},spec:{layout:"horizontal",smooth:!1}}};t.default=a},"./app/containers/Widget/config/chart/pie.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./app/containers/Widget/config/chart/ChartTypes.ts"),o=n("./app/globalConstants.ts"),a={id:r.default.Pie,name:"pie",title:"饼图",icon:"icon-chartpie",coordinate:"cartesian",requireDimetions:[0,9999],requireMetrics:1,dimetionAxis:"col",data:{color:{title:"颜色",type:"category"}},style:{label:{showLabel:!1,pieLabelPosition:o.CHART_PIE_LABEL_POSITIONS[0].value,labelFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,labelFontSize:"12",labelColor:o.PIVOT_DEFAULT_FONT_COLOR},legend:{showLegend:!0,legendPosition:"right",selectAll:!0,fontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,fontSize:"12",color:o.PIVOT_DEFAULT_FONT_COLOR},spec:{roseType:!1,circle:!1}}};t.default=a},"./app/containers/Widget/config/chart/radar.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./app/containers/Widget/config/chart/ChartTypes.ts"),o=n("./app/globalConstants.ts"),a={id:r.default.Radar,name:"radar",title:"雷达图",icon:"icon-radarchart",coordinate:"cartesian",requireDimetions:1,requireMetrics:[1,9999],dimetionAxis:"col",data:{color:{title:"颜色",type:"category"}},style:{label:{showLabel:!0,labelFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,labelFontSize:"12",labelColor:o.PIVOT_DEFAULT_FONT_COLOR},legend:{showLegend:!0,legendPosition:"right",selectAll:!0,fontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,fontSize:"12",color:o.PIVOT_DEFAULT_FONT_COLOR},spec:{shape:"polygon"}}};t.default=a},"./app/containers/Widget/config/chart/sankey.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./app/containers/Widget/config/chart/ChartTypes.ts"),o=n("./app/globalConstants.ts"),a={id:r.default.Sankey,name:"sankey",title:"桑基图",icon:"icon-kongjiansangjitu",coordinate:"cartesian",requireDimetions:[2,9999],requireMetrics:1,dimetionAxis:"col",data:{},style:{label:{showLabel:!0,labelPosition:"right",labelFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,labelFontSize:"12",labelColor:o.PIVOT_DEFAULT_FONT_COLOR},spec:{nodeWidth:20,nodeGap:8,orient:"horizontal",draggable:!0}}};t.default=a},"./app/containers/Widget/config/chart/scatter.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./app/containers/Widget/config/chart/ChartTypes.ts"),o=n("./app/globalConstants.ts"),a={id:r.default.Scatter,name:"scatter",title:"散点图",icon:"icon-scatter-chart",coordinate:"cartesian",requireDimetions:[0,9999],requireMetrics:2,dimetionAxis:"col",data:{size:{title:"尺寸",type:"value"},color:{title:"颜色",type:"category"},tip:{title:"提示信息",type:"value"}},style:{spec:{},label:{showLabel:!1,labelPosition:o.CHART_LABEL_POSITIONS[0].value,labelFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,labelFontSize:"12",labelColor:o.PIVOT_DEFAULT_FONT_COLOR},xAxis:{showLine:!0,lineStyle:"solid",lineSize:"1",lineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,showLabel:!0,labelFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,labelFontSize:"12",labelColor:o.PIVOT_DEFAULT_FONT_COLOR,showTitleAndUnit:!0,titleFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,titleFontSize:"12",titleColor:o.PIVOT_DEFAULT_FONT_COLOR,nameLocation:"middle",nameRotate:90,nameGap:40},yAxis:{showLine:!0,lineStyle:"solid",lineSize:"1",lineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,showLabel:!0,labelFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,labelFontSize:"12",labelColor:o.PIVOT_DEFAULT_FONT_COLOR,showTitleAndUnit:!0,titleFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,titleFontSize:"12",titleColor:o.PIVOT_DEFAULT_FONT_COLOR,nameLocation:"middle",nameRotate:90,nameGap:40},splitLine:{showHorizontalLine:!0,horizontalLineStyle:"dashed",horizontalLineSize:"1",horizontalLineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,showVerticalLine:!1,verticalLineStyle:"dashed",verticalLineSize:"1",verticalLineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR},legend:{showLegend:!0,legendPosition:"right",selectAll:!0,fontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,fontSize:"12",color:o.PIVOT_DEFAULT_FONT_COLOR}}};t.default=a},"./app/containers/Widget/config/chart/scorecard.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./app/containers/Widget/config/chart/ChartTypes.ts"),o=n("./app/globalConstants.ts"),a={id:r.default.Scorecard,name:"scorecard",title:"翻牌器",icon:"icon-calendar1",coordinate:"other",requireDimetions:0,requireMetrics:[1,3],data:{},style:{scorecard:{headerVisible:!0,headerColor:o.PIVOT_DEFAULT_FONT_COLOR,headerFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,prefixHeader:"",suffixHeader:"",prefixHeaderColor:o.PIVOT_DEFAULT_FONT_COLOR,prefixHeaderFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,suffixHeaderColor:o.PIVOT_DEFAULT_FONT_COLOR,suffixHeaderFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,contentVisible:!0,contentColor:o.PIVOT_DEFAULT_FONT_COLOR,contentFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,prefixContent:"",suffixContent:"",prefixContentColor:o.PIVOT_DEFAULT_FONT_COLOR,prefixContentFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,suffixContentColor:o.PIVOT_DEFAULT_FONT_COLOR,suffixContentFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,footerVisible:!0,footerColor:o.PIVOT_DEFAULT_FONT_COLOR,fontFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,prefixFooter:"",suffixFooter:"",prefixFooterColor:o.PIVOT_DEFAULT_FONT_COLOR,prefixFooterFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,suffixFooterColor:o.PIVOT_DEFAULT_FONT_COLOR,suffixFooterFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,fontSizeFixed:!1,fontSizeMain:"48",fontSizeSub:"18"},spec:{}}};t.default=a},"./app/containers/Widget/config/chart/table.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./app/containers/Widget/config/chart/ChartTypes.ts"),o=n("./app/globalConstants.ts"),a={id:r.default.Table,name:"table",title:"表格",icon:"icon-table",coordinate:"other",requireDimetions:[0,9999],requireMetrics:[0,9999],data:{},style:{table:{fontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,fontSize:"12",color:o.PIVOT_DEFAULT_FONT_COLOR,lineStyle:"solid",lineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,headerBackgroundColor:o.PIVOT_DEFAULT_HEADER_BACKGROUND_COLOR}}};t.default=a},"./app/containers/Widget/config/chart/waterfall.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./app/containers/Widget/config/chart/ChartTypes.ts"),o=n("./app/globalConstants.ts"),a={id:r.default.Waterfall,name:"waterfall",title:"瀑布图",icon:"icon-waterfall",coordinate:"cartesian",requireDimetions:1,requireMetrics:1,dimetionAxis:"col",data:{},style:{spec:{},label:{showLabel:!1,labelPosition:o.CHART_LABEL_POSITIONS[0].value,labelFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,labelFontSize:"12",labelColor:o.PIVOT_DEFAULT_FONT_COLOR},xAxis:{showLine:!0,lineStyle:"solid",lineSize:"1",lineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,showLabel:!0,labelFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,labelFontSize:"12",labelColor:o.PIVOT_DEFAULT_FONT_COLOR,xAxisInterval:0,xAxisRotate:0},yAxis:{showLine:!0,lineStyle:"solid",lineSize:"1",lineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,showLabel:!0,labelFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,labelFontSize:"12",labelColor:o.PIVOT_DEFAULT_FONT_COLOR,showTitleAndUnit:!0,titleFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,titleFontSize:"12",titleColor:o.PIVOT_DEFAULT_FONT_COLOR,nameLocation:"middle",nameRotate:90,nameGap:40},splitLine:{showHorizontalLine:!0,horizontalLineStyle:"dashed",horizontalLineSize:"1",horizontalLineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,showVerticalLine:!1,verticalLineStyle:"dashed",verticalLineSize:"1",verticalLineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR}}};t.default=a},"./app/containers/Widget/config/chart/wordCloud.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./app/containers/Widget/config/chart/ChartTypes.ts"),o={id:r.default.WordCloud,name:"wordCloud",title:"词云",icon:"icon-chartwordcloud",coordinate:"other",requireDimetions:1,requireMetrics:1,dimetionAxis:"col",data:{},style:{spec:{}}};t.default=o},"./app/containers/Widget/config/index.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./app/containers/Widget/config/pivot/index.ts"),o=n("./app/containers/Widget/config/chart/index.tsx");t.default={pivot:r.default,chart:o.default}},"./app/containers/Widget/config/pivot/PivotTypes.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r;!function(e){e[e.PivotTable=1]="PivotTable",e[e.Line=2]="Line",e[e.Bar=3]="Bar",e[e.Scatter=4]="Scatter",e[e.Pie=5]="Pie"}(r=t.PivotTypes||(t.PivotTypes={})),t.default=r},"./app/containers/Widget/config/pivot/bar.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./app/containers/Widget/config/pivot/PivotTypes.ts"),o=n("./app/globalConstants.ts"),a={id:r.default.Bar,name:"bar",title:"柱状图",icon:"icon-chart-bar",coordinate:"cartesian",requireDimetions:[0,9999],requireMetrics:[1,9999],dimetionAxis:"col",data:{color:{title:"颜色",type:"category"},label:{title:"标签",type:"all"},tip:{title:"提示信息",type:"value"}},style:{xAxis:{showLine:!0,lineStyle:"solid",lineSize:"1",lineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,showLabel:!0,labelFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,labelFontSize:"12",labelColor:o.PIVOT_DEFAULT_FONT_COLOR},yAxis:{showLine:!0,lineStyle:"solid",lineSize:"1",lineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,showLabel:!0,labelFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,labelFontSize:"12",labelColor:o.PIVOT_DEFAULT_FONT_COLOR,showTitleAndUnit:!0,titleFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,titleFontSize:"12",titleColor:o.PIVOT_DEFAULT_FONT_COLOR},splitLine:{showHorizontalLine:!0,horizontalLineStyle:"dashed",horizontalLineSize:"1",horizontalLineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,showVerticalLine:!1,verticalLineStyle:"dashed",verticalLineSize:"1",verticalLineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR},pivot:{fontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,fontSize:"12",color:o.PIVOT_DEFAULT_FONT_COLOR,lineStyle:"solid",lineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,headerBackgroundColor:o.PIVOT_DEFAULT_HEADER_BACKGROUND_COLOR}}};t.default=a},"./app/containers/Widget/config/pivot/index.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./app/containers/Widget/config/pivot/pivot.ts"),o=n("./app/containers/Widget/config/pivot/line.ts"),a=n("./app/containers/Widget/config/pivot/bar.ts"),i=n("./app/containers/Widget/config/pivot/pie.ts"),s=n("./app/containers/Widget/config/pivot/scatter.ts"),l=[r.default,o.default,a.default,s.default,i.default];t.default=l},"./app/containers/Widget/config/pivot/line.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./app/containers/Widget/config/pivot/PivotTypes.ts"),o=n("./app/globalConstants.ts"),a={id:r.default.Line,name:"line",title:"折线图",icon:"icon-chart-line",coordinate:"cartesian",requireDimetions:[1,9999],requireMetrics:[1,9999],dimetionAxis:"col",data:{color:{title:"颜色",type:"category"},label:{title:"标签",type:"all"},tip:{title:"提示信息",type:"value"}},style:{spec:{smooth:!1,step:!1},xAxis:{showLine:!0,lineStyle:"solid",lineSize:"1",lineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,showLabel:!0,labelFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,labelFontSize:"12",labelColor:o.PIVOT_DEFAULT_FONT_COLOR},yAxis:{showLine:!0,lineStyle:"solid",lineSize:"1",lineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,showLabel:!0,labelFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,labelFontSize:"12",labelColor:o.PIVOT_DEFAULT_FONT_COLOR,showTitleAndUnit:!0,titleFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,titleFontSize:"12",titleColor:o.PIVOT_DEFAULT_FONT_COLOR},splitLine:{showHorizontalLine:!0,horizontalLineStyle:"dashed",horizontalLineSize:"1",horizontalLineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,showVerticalLine:!1,verticalLineStyle:"dashed",verticalLineSize:"1",verticalLineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR},pivot:{fontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,fontSize:"12",color:o.PIVOT_DEFAULT_FONT_COLOR,lineStyle:"solid",lineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,headerBackgroundColor:o.PIVOT_DEFAULT_HEADER_BACKGROUND_COLOR}}};t.default=a},"./app/containers/Widget/config/pivot/pie.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./app/containers/Widget/config/pivot/PivotTypes.ts"),o=n("./app/globalConstants.ts"),a={id:r.default.Pie,name:"pie",title:"饼图",icon:"icon-chartpie",coordinate:"polar",requireDimetions:[0,9999],requireMetrics:[1,9999],data:{color:{title:"颜色",type:"category"},label:{title:"标签",type:"all"},tip:{title:"提示信息",type:"value"}},style:{spec:{circle:!1},xAxis:{showLine:!0,lineStyle:"solid",lineSize:"1",lineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,showLabel:!0,labelFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,labelFontSize:"12",labelColor:o.PIVOT_DEFAULT_FONT_COLOR},splitLine:{showHorizontalLine:!0,horizontalLineStyle:"dashed",horizontalLineSize:"1",horizontalLineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,showVerticalLine:!1,verticalLineStyle:"dashed",verticalLineSize:"1",verticalLineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR},pivot:{fontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,fontSize:"12",color:o.PIVOT_DEFAULT_FONT_COLOR,lineStyle:"solid",lineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,headerBackgroundColor:o.PIVOT_DEFAULT_HEADER_BACKGROUND_COLOR}}};t.default=a},"./app/containers/Widget/config/pivot/pivot.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./app/containers/Widget/config/pivot/PivotTypes.ts"),o=n("./app/globalConstants.ts"),a={id:r.default.PivotTable,name:"pivot",title:"透视表",icon:"icon-table",coordinate:"cartesian",requireDimetions:[0,9999],requireMetrics:[0,9999],data:{color:{title:"颜色",type:"category"}},style:{pivot:{fontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,fontSize:"12",color:o.PIVOT_DEFAULT_FONT_COLOR,lineStyle:"solid",lineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,headerBackgroundColor:o.PIVOT_DEFAULT_HEADER_BACKGROUND_COLOR}}};t.default=a},"./app/containers/Widget/config/pivot/scatter.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./app/containers/Widget/config/pivot/PivotTypes.ts"),o=n("./app/globalConstants.ts"),a={id:r.default.Scatter,name:"scatter",title:"散点图",icon:"icon-scatter-chart",coordinate:"cartesian",requireDimetions:[0,9999],requireMetrics:[1,9999],data:{xAxis:{title:"x数据轴",type:"value"},color:{title:"颜色",type:"category"},size:{title:"尺寸",type:"value"},label:{title:"标签",type:"all"},tip:{title:"提示信息",type:"value"}},style:{xAxis:{showLine:!0,lineStyle:"solid",lineSize:"1",lineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,showLabel:!0,labelFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,labelFontSize:"12",labelColor:o.PIVOT_DEFAULT_FONT_COLOR},yAxis:{showLine:!0,lineStyle:"solid",lineSize:"1",lineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,showLabel:!0,labelFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,labelFontSize:"12",labelColor:o.PIVOT_DEFAULT_FONT_COLOR,showTitleAndUnit:!0,titleFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,titleFontSize:"12",titleColor:o.PIVOT_DEFAULT_FONT_COLOR},splitLine:{showHorizontalLine:!0,horizontalLineStyle:"dashed",horizontalLineSize:"1",horizontalLineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,showVerticalLine:!1,verticalLineStyle:"dashed",verticalLineSize:"1",verticalLineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR},pivot:{fontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,fontSize:"12",color:o.PIVOT_DEFAULT_FONT_COLOR,lineStyle:"solid",lineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,headerBackgroundColor:o.PIVOT_DEFAULT_HEADER_BACKGROUND_COLOR}}};t.default=a},"./app/containers/Widget/constants.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LOAD_WIDGETS="davinci/Widget/LOAD_WIDGETS",t.LOAD_WIDGETS_SUCCESS="davinci/Widget/LOAD_WIDGETS_SUCCESS",t.LOAD_WIDGETS_FAILURE="davinci/Widget/LOAD_WIDGETS_FAILURE",t.ADD_WIDGET="davinci/Widget/ADD_WIDGET",t.ADD_WIDGET_SUCCESS="davinci/Widget/ADD_WIDGET_SUCCESS",t.ADD_WIDGET_FAILURE="davinci/Widget/ADD_WIDGET_FAILURE",t.LOAD_WIDGET_DETAIL="davinci/Widget/LOAD_WIDGET_DETAIL",t.LOAD_WIDGET_DETAIL_SUCCESS="davinci/Widget/LOAD_WIDGET_DETAIL_SUCCESS",t.LOAD_WIDGET_DETAIL_FAILURE="davinci/Widget/LOAD_WIDGET_DETAIL_FAILURE",t.EDIT_WIDGET="davinci/Widget/EDIT_WIDGET",t.EDIT_WIDGET_SUCCESS="davinci/Widget/EDIT_WIDGET_SUCCESS",t.EDIT_WIDGET_FAILURE="davinci/Widget/EDIT_WIDGET_FAILURE",t.DELETE_WIDGET="davinci/Widget/DELETE_WIDGET",t.DELETE_WIDGET_SUCCESS="davinci/Widget/DELETE_WIDGET_SUCCESS",t.DELETE_WIDGET_FAILURE="davinci/Widget/DELETE_WIDGET_FAILURE",t.CLEAR_CURRENT_WIDGET="davinci/Widget/CLEAR_CURRENT_WIDGET"},"./app/containers/Widget/index.tsx":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function i(e){return{onLoadWidgets:function(t){return e(D.loadWidgets(t))},onLoadBizlogics:function(t,n){return e(P.loadBizlogics(t,n))},onDeleteWidget:function(t){return function(){return e(D.deleteWidget(t))}},onAddWidget:function(t,n){return e(D.addWidget(t,n))},onCheckUniqueName:function(t,n,r,o){return e(F.checkNameUniqueAction(t,n,r,o))}}}var s=function(){function e(e,t){for(var n=0;n0?[l.createElement("span",{key:t,className:H.highlight},n[0]),e]:e}))}):null}).filter(function(e){return!!e})})},n.handleTableChange=function(e,t,r){n.setState({tableSortedInfo:r})},n.state={workbenchType:"",currentWidget:null,workbenchVisible:!1,copyWidgetVisible:!1,copyQueryInfo:null,filteredWidgets:null,filteredWidgetsName:null,filteredWidgetsType:void 0,filteredWidgetsTypeId:"",pageSize:24,currentPage:1,screenWidth:0,tableWidget:[],nameFilterValue:"",nameFilterDropdownVisible:!1,tableSortedInfo:{}},n}return a(t,e),s(t,[{key:"componentWillMount",value:function(){var e=this.props,t=e.onLoadWidgets,n=e.onLoadBizlogics,r=e.params;t(r.pid),n(r.pid),this.setState({screenWidth:document.documentElement.clientWidth})}},{key:"componentWillReceiveProps",value:function(e){var t=this;window.onresize=function(){return t.setState({screenWidth:document.documentElement.clientWidth})},e.widgets&&this.setState({tableWidget:e.widgets.map(function(e){return e.key=e.id,e})})}},{key:"render",value:function(){var e=this,t=this.props,n=t.params,r=(t.widgets,t.onDeleteWidget),o=t.onCheckUniqueName,a=t.loading,i=t.currentProject,s=this.state,c=s.workbenchType,d=s.currentWidget,u=s.copyWidgetVisible,p=(s.filteredWidgets,s.currentPage,s.pageSize,s.filteredWidgetsTypeId,s.filteredWidgetsType,s.screenWidth),f=s.tableWidget,m=s.nameFilterValue,h=s.nameFilterDropdownVisible,g=s.tableSortedInfo,_=z.default(i,"widget",!1)(C),b=z.default(i,"widget",!0)(C),v=l.createElement(k,{title:"删除"},l.createElement(b,{icon:"delete",shape:"circle"})),T=[{title:"名称",dataIndex:"name",key:"name",filterDropdown:l.createElement(w.default,{placeholder:"name",value:m,onChange:this.onSearchInputChange,onSearch:this.onSearch}),filterDropdownVisible:h,onFilterDropdownVisibleChange:function(t){return e.setState({nameFilterDropdownVisible:t})},sorter:function(e,t){return e.name>t.name?-1:1},sortOrder:"name"===g.columnKey&&g.order},{title:"描述",dataIndex:"description",key:"description"},{title:"操作",key:"action",width:135,className:""+(U.initializePermission(i,"widgetPermission")?H.textAlignCenter:H.hide),render:function(t,n){return l.createElement("span",{className:"ant-table-action-column"},l.createElement(k,{title:"修改"},l.createElement(_,{icon:"edit",shape:"circle",type:"ghost",onClick:e.toWorkbench(n.id)})),l.createElement(k,{title:"复制"},l.createElement(b,{icon:"copy",shape:"circle",onClick:e.onCopy("copy",n)})),l.createElement(O,{title:"确定删除?",placement:"bottom",onConfirm:r(n.id)},v))}}],D={simple:p<768||768===p,defaultPageSize:20,showSizeChanger:!0};return l.createElement(A.default,null,V,l.createElement(A.default.Title,null,l.createElement(j,null,l.createElement(E,{xl:18,lg:18,md:16,sm:12,xs:24},l.createElement(L,{className:H.breadcrumb},Y)))),l.createElement(A.default.Body,null,l.createElement(x.default,null,l.createElement(x.default.Header,null,W,l.createElement(x.default.Tools,null,l.createElement(k,{placement:"bottom",title:"新增"},l.createElement(b,{size:"large",type:"primary",icon:"plus",onClick:this.toWorkbench("add")})))),l.createElement(x.default.Body,null,l.createElement(j,null,l.createElement(E,{span:24},l.createElement(S,{dataSource:f,columns:T,pagination:D,loading:a,onChange:this.handleTableChange,bordered:!0})))))),l.createElement(M,{title:"复制 Widget",okText:"保存",wrapClassName:"ant-modal-small",visible:u,onCancel:this.hideForm,afterClose:this.resetModal,footer:[l.createElement(C,{key:"cancel",size:"large",type:"ghost",onClick:this.hideForm},"取消"),l.createElement(C,{key:"submit",size:"large",type:"primary",onClick:this.onModalOk},"确认")]},l.createElement(y.default,{type:c,projectId:n.pid,widget:d,onCheckUniqueName:o,ref:function(t){e.copyWidgetForm=t}})))}}]),t}(l.Component);t.WidgetList=G;var Q=u.createStructuredSelector({widgets:I.makeSelectWidgets(),bizlogics:R.makeSelectBizlogics(),loginUser:N.makeSelectLoginUser(),loading:I.makeSelectLoading(),currentProject:B.makeSelectCurrentProject()});t.mapDispatchToProps=i;var q=d.connect(Q,i),K=m.default({key:"widget",reducer:g.default}),X=h.default({key:"widget",saga:_.default}),J=m.default({key:"bizlogic",reducer:b.default}),Z=h.default({key:"bizlogic",saga:v.default});t.default=f.compose(K,J,Z,X,q)(G)},"./app/containers/Widget/reducer.ts":function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=arguments[1],n=t.type,r=t.payload,l=e.get("widgets");switch(n){case o.LOAD_WIDGETS:return e.set("loading",!0).set("widgets",null);case o.LOAD_WIDGETS_SUCCESS:return e.set("loading",!1).set("widgets",r.widgets);case o.LOAD_WIDGETS_FAILURE:return e.set("loading",!1);case o.ADD_WIDGET:return e.set("loading",!0);case o.ADD_WIDGET_SUCCESS:return l?(l.push(r.result),e.set("loading",!1).set("widgets",l.slice())):e.set("loading",!1).set("widgets",[r.result]);case o.ADD_WIDGET_FAILURE:return e.set("loading",!1);case o.DELETE_WIDGET:return e.set("loading",!0);case o.DELETE_WIDGET_SUCCESS:return e.set("widgets",l.filter(function(e){return e.id!==r.id})).set("loading",!1);case o.DELETE_WIDGET_FAILURE:return e.set("loading",!1);case o.LOAD_WIDGET_DETAIL:return e.set("loading",!0).set("currentWidget",null);case o.LOAD_WIDGET_DETAIL_SUCCESS:return e.set("loading",!1).set("currentWidget",r.detail);case o.LOAD_WIDGET_DETAIL_FAILURE:return e.set("loading",!1);case o.EDIT_WIDGET:return e.set("loading",!0);case o.EDIT_WIDGET_SUCCESS:case o.EDIT_WIDGET_FAILURE:return e.set("loading",!1);case s.LOAD_DATA:return e.set("dataLoading",!0);case s.LOAD_DATA_SUCCESS:case s.LOAD_DATA_FAILURE:return e.set("dataLoading",!1);case s.CLEAR_BIZDATAS:return e.set("bizdatas",!1);case a.LOAD_DASHBOARD_DETAIL_SUCCESS:case i.ActionTypes.LOAD_DISPLAY_DETAIL_SUCCESS:return e.set("widgets",r.widgets);case s.LOAD_DISTINCT_VALUE:return e.set("columnValueLoading",!0).set("distinctColumnValues",null);case s.LOAD_DISTINCT_VALUE_SUCCESS:return e.set("columnValueLoading",!1).set("distinctColumnValues",r.data[r.fieldName].slice(0,100));case s.LOAD_DISTINCT_VALUE_FAILURE:return e.set("columnValueLoading",!1);case o.CLEAR_CURRENT_WIDGET:return e.set("currentWidget",null);default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./app/containers/Widget/constants.ts"),a=n("./app/containers/Dashboard/constants.ts"),i=n("./app/containers/Display/constants.ts"),s=n("./app/containers/Bizlogic/constants.ts"),l=n("./node_modules/_immutable@3.8.1@immutable/dist/immutable.js"),c=l.fromJS({widgets:null,currentWidget:null,loading:!1,dataLoading:!1,columnValueLoading:!1,distinctColumnValues:null});t.default=r},"./app/containers/Widget/render/chart/bar.ts":function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t1)&&(O={legend:s.getLegendOption(f,M)});var L={showLine:_,lineColor:b,lineSize:v,lineStyle:y},D={showLine:A,lineColor:x,lineSize:w,lineStyle:j};return Object.assign({xAxis:s.getDimetionAxisOption(m,L,S),yAxis:s.getMetricAxisOption(h,D,o.map(function(e){return i.decodeMetricName(e.name)}).join(" / ")),series:k,tooltip:{formatter:i.getChartTooltipLabel("bar",T,{cols:n,metrics:o,color:d,tip:u})}},O,{grid:s.getGridPositions(f,M,m,S)})}var a=function(){function e(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n("./app/containers/Widget/components/util.ts"),s=n("./app/containers/Widget/render/chart/util.ts"),l=n("./app/assets/json/echartsThemes/default.project.json"),c=l.theme.color;t.default=o},"./app/containers/Widget/render/chart/funnel.ts":function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t1)&&(P={legend:s.getLegendOption(_,D)});var I={showLine:b,lineColor:v,lineSize:y,lineStyle:A},R={showLine:x,lineColor:w,lineSize:j,lineStyle:E};return Object.assign({xAxis:s.getDimetionAxisOption(f,I,T),yAxis:s.getMetricAxisOption(m,R,o.map(function(e){return i.decodeMetricName(e.name)}).join(" / ")),series:O,tooltip:{formatter:i.getChartTooltipLabel("line",L,{cols:n,metrics:o,color:d,tip:u})}},P,{grid:s.getGridPositions(_,D,f,T)})}var a=function(){function e(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n("./app/containers/Widget/components/util.ts"),s=n("./app/containers/Widget/render/chart/util.ts"),l=n("./app/assets/json/echartsThemes/default.project.json"),c=l.theme.color;t.default=o},"./app/containers/Widget/render/chart/map.ts":function(e,t,n){"use strict";function r(e){var t=e.chartStyles,n=e.data,r=e.cols,p=e.metrics,f=e.model,m=t.label,h=t.spec,g=m.labelColor,_=m.labelFontFamily,b=m.labelFontSize,v=m.labelPosition,y=m.showLabel,A=h.layerType,x=h.roam,w=h.linesSpeed,j=h.symbolType,E={tooltip:{trigger:"item",formatter:function(e){var t=e.name,n=e.data;if(n)return t+" : "+n.value[2]}}},S={label:{normal:{formatter:"{b}",position:v,show:y,color:g,fontFamily:_,fontSize:b}}},C={label:d.getLabelOption("lines",m,!0,{formatter:function(e){return e.name+"("+e.data.value[2]+")"}})},k=void 0,T=void 0,M={},O=0,L=0,D=p[0].agg,P=c.decodeMetricName(p[0].name);n.forEach(function(e){var t=void 0,n=e[D+"("+P+")"];O=Math.min(O,n),L=Math.max(L,n),r.forEach(function(r){var l=f[r].visualType;if("geoProvince"===l){t=e[r];var c=s(t);c&&(M[t]||(M[t]={lon:c.lon,lat:c.lat,value:n,children:{}}))}else if("geoCity"===l){t=e[r];var d=i(t);if(d)if("map"===A){var u=o(d),p=a(u.name);M[p]||(M[p]={lon:d.lon,lat:d.lat,value:0,children:{}}),M[p].value+=n}else M[t]||(M[t]={lon:d.lon,lat:d.lat,value:n,children:{}})}})});var I=[],R=c.getSizeRate(O,L),N="scatter"===A?{}:{blurSize:40},F=void 0;switch(A){case"map":F=Object.assign({name:"地图",type:"map",mapType:"china",roam:x,data:Object.keys(M).map(function(e,t){var n=M[e];return{name:e,value:[n.lon,n.lat,n.value]}})},S);break;case"scatter":F=Object.assign({name:"气泡图",type:"scatter",coordinateSystem:"geo",data:Object.keys(M).map(function(e,t){var n=M[e],r=n.lon,o=n.lat,a=n.value;return{name:e,value:[r,o,a],symbolSize:d.getSymbolSize(R,a)/2}})},S,N);break;case"heatmap":F=Object.assign({name:"热力图",type:"heatmap",coordinateSystem:"geo",data:Object.keys(M).map(function(e,t){var n=M[e],r=n.lon,o=n.lat,a=n.value;return{name:e,value:[r,o,a],symbolSize:d.getSymbolSize(R,a)/2}})},S,N)}if(I.push(F),k={series:I},t.visualMap){var B=t.visualMap,z=B.showVisualMap,U=B.visualMapPosition,H=B.fontFamily,V=B.fontSize,Y=B.visualMapDirection,W=B.visualMapWidth,G=B.visualMapHeight,Q=B.startColor,q=B.endColor;T={visualMap:Object.assign({show:"lines"!==A&&z,min:O,max:L,calculable:!0,inRange:{color:[Q,q]}},l(U),{itemWidth:W,itemHeight:G,textStyle:{fontFamily:H,fontSize:V},orient:Y})}}else T={visualMap:{show:!1,min:O,max:L,calculable:!0,inRange:{color:u.DEFAULT_ECHARTS_THEME.visualMapColor},left:10,bottom:20,itemWidth:20,itemHeight:50,textStyle:{fontFamily:"PingFang SC",fontSize:12},orient:"vertical"}};var K=r.filter(function(e){return"geoCity"===f[e].visualType}),X=r.filter(function(e){return"geoProvince"===f[e].visualType}),J=[],Z=[],$=void 0,ee=void 0;n.forEach(function(e,t){var n=[],r=[],o=e[D+"("+P+")"];if(e[K[0]]&&e[K[1]]){var a=i(e[K[0]]),l=i(e[K[1]]);Z.push(e[K[0]]),n=[{fromName:e[K[0]],toName:e[K[1]],coords:[[a.lon,a.lat],[l.lon,l.lat]]}],r=[{name:e[K[1]],value:[l.lon,l.lat,o]}]}else{if(!e[X[0]]||!e[X[1]])return;var c=s(e[X[0]]),d=s(e[X[1]]);Z.push(e[X[0]]),n=[{fromName:e[X[0]],toName:e[X[1]],coords:[[c.lon,c.lat],[d.lon,d.lat]]}],r=[{name:e[X[1]],value:[d.lon,d.lat,o]}]}$=Object.assign({name:e[K[0]]||e[X[0]],type:"effectScatter",coordinateSystem:"geo",zlevel:t,rippleEffect:{brushType:"stroke"}},C,{symbolSize:function(e){return 12},data:r}),ee={name:e[K[0]]||e[X[0]],type:"lines",zlevel:t,symbol:["none","arrow"],symbolSize:10,effect:{show:!0,trailLength:0,symbol:j,symbolSize:15,constantSpeed:w},lineStyle:{normal:{width:2,opacity:.6,curveness:.2}},data:n},J.push(ee,$)});var te=void 0;if(t.legend){var ne=t.legend;ne.color,ne.fontFamily,ne.fontSize,ne.legendPosition,ne.selectAll,ne.showLegend;te={legend:d.getLegendOption(t.legend,Z)}}else te=null;var re=void 0;switch(A){case"map":re=Object.assign({},k,T,E);break;case"lines":re=Object.assign({},te,{geo:{map:"china",roam:x},series:J},T);break;case"scatter":re=Object.assign({geo:{map:"china",itemStyle:{normal:{areaColor:"#cccccc",borderColor:"#ffffff",borderWidth:1},emphasis:{areaColor:"#bbbbbb"}},roam:x}},k,T,E);break;case"heatmap":re=Object.assign({geo:{map:"china",itemStyle:{normal:{areaColor:"#cccccc",borderColor:"#ffffff",borderWidth:1},emphasis:{areaColor:"#bbbbbb"}},label:{emphasis:{show:!0}},roam:x}},k,T)}return re}function o(e){if(!e.parent)return e;var t=p.default.find(function(t){return t.id===e.parent});return t.parent?o(t):t}function a(e){return f.forEach(function(t){e.includes(t)&&(e=e.replace(t,""))}),e}function i(e){return m.some(function(t){return e.includes(t)})?p.default.find(function(t){return t.name===e}):p.default.find(function(t){return t.name.includes(e)})}function s(e){return f.some(function(t){return e.includes(t)})?p.default.find(function(t){return t.name===e&&!t.parent}):p.default.find(function(t){return t.name.includes(e)&&!t.parent})}function l(e){var t=void 0;switch(e){case"leftBottom":t={left:"left",top:"bottom"};break;case"leftTop":t={left:"left",top:"top"};break;case"rightTop":t={left:"right",top:"top"};break;case"rightBottom":t={left:"right",top:"bottom"}}return t}Object.defineProperty(t,"__esModule",{value:!0});var c=n("./app/containers/Widget/components/util.ts"),d=n("./app/containers/Widget/render/chart/util.ts"),u=n("./app/globalConstants.ts"),p=n("./app/assets/json/geo.js"),f=["省","自治区","市"],m=["自治州","市","区","县","旗","盟","镇"];t.default=r},"./app/containers/Widget/render/chart/parallel.ts":function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t{c} ({d}%)"},legend:s.getLegendOption(f,j),series:w}}var a=function(){function e(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n("./app/containers/Widget/components/util.ts"),s=n("./app/containers/Widget/render/chart/util.ts");t.default=o},"./app/containers/Widget/render/chart/radar.ts":function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){var t=(e.width,e.height,e.data),n=e.cols,o=e.metrics,l=e.chartStyles,c=e.color,d=(e.tip,l.label),u=l.legend,p=l.spec,f=(l.toolbox,u.legendPosition,u.fontSize,p.shape),m=(s.getLabelOption("radar",d),[]);n.length&&(m=m.concat(n)),c.items.length&&(m=m.concat(c.items.map(function(e){return e.name})));var h=m[0],g=o.map(function(e){return i.decodeMetricName(e.name)}),_=g,b={},v=-1/0,y=g.reduce(function(e,t){return Object.assign({},e,r({},t,{}))},{});t.forEach(function(e){b[e[h]]||(b[e[h]]=-1/0),o.forEach(function(t){var n=i.decodeMetricName(t.name),r=e[t.agg+"("+n+")"];v=Math.max(v,r),y[n][e[h]]||(y[n][e[h]]=0),y[n][e[h]]+=r})});var A=Object.keys(b).map(function(e){return{name:e,max:v+Math.round(.1*v)}}),x=Object.entries(y).map(function(e){var t=a(e,2),n=t[0],r=t[1];return{name:n,value:Object.values(r)}}),w=d.showLabel,j=d.labelColor,E=d.labelFontFamily,S=d.labelFontSize,C={show:w,color:j,fontFamily:E,fontSize:S};return{tooltip:{},legend:s.getLegendOption(u,_),radar:{shape:f,indicator:A,name:C},series:[{name:"",type:"radar",data:x}]}}var a=function(){function e(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n("./app/containers/Widget/components/util.ts"),s=n("./app/containers/Widget/render/chart/util.ts");t.default=o},"./app/containers/Widget/render/chart/sankey.ts":function(e,t,n){"use strict";function r(e){var t=(e.width,e.height,e.data),n=e.cols,r=e.metrics,i=e.chartStyles,s=(e.tip,i.label),l=i.spec,c=(i.toolbox,l.nodeWidth),d=l.nodeGap,u=l.orient,p=l.draggable,f={label:a.getLabelOption("sankey",s)},m=[];n.length&&(m=m.concat(n));var h=o.decodeMetricName(r[0].name),g=r[0].agg,_=[],b=[];return t.forEach(function(e){m.forEach(function(t,n){_.indexOf(e[t])<0&&_.push(e[t]),m[n-1]&&b.push({source:e[m[n-1]],target:e[m[n]],value:e[g+"("+h+")"]})})}),{tooltip:{trigger:"item",triggerOn:"mousemove"},series:[Object.assign({type:"sankey",layout:"none"},f,{data:_.map(function(e){return{name:e}}),links:b,orient:u,draggable:p,nodeWidth:c,nodeGap:d,focusNodeAdjacency:!0,itemStyle:{normal:{borderWidth:1,borderColor:"#aaa"}},lineStyle:{normal:{color:"source",curveness:.5}}})]}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./app/containers/Widget/components/util.ts"),a=n("./app/containers/Widget/render/chart/util.ts");t.default=r},"./app/containers/Widget/render/chart/scatter.ts":function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t3&&void 0!==arguments[3]&&arguments[3],e.inverse),o=e.showLine,a=e.lineStyle,i=e.lineSize,s=e.lineColor,l=e.showLabel,c=e.labelFontFamily,d=e.labelFontSize,u=e.labelColor,p=e.showTitleAndUnit,f=e.titleFontFamily,h=e.titleFontSize,g=e.titleColor,_=e.nameLocation,b=e.nameRotate,v=e.nameGap,y=t.showLine,A=t.lineStyle,x=t.lineSize,w=t.lineColor;return{type:"value",inverse:r,axisLabel:{show:l,color:u,fontFamily:c,fontSize:d,formatter:m.metricAxisLabelFormatter},axisLine:{show:o,lineStyle:{color:s,width:i,type:a}},axisTick:{show:l,lineStyle:{color:s}},name:p?n:"",nameLocation:_,nameGap:v,nameRotate:b,nameTextStyle:{color:g,fontFamily:f,fontSize:h},splitLine:{show:y,lineStyle:{color:w,width:x,type:A}}}}function s(e,t,n,r){var o=t.showLabel,a=t.labelPosition,i=t.labelFontFamily,s=t.labelFontSize,l=t.labelColor,c=t.pieLabelPosition,d=t.funnelLabelPosition,u=void 0;switch(e){case"pie":u=c;break;case"funnel":u=d;break;default:u=a}return Object.assign({normal:Object.assign({show:("pie"!==e||"center"!==c)&&o,position:u,color:l,fontFamily:i,fontSize:s},r)},n&&{emphasis:Object.assign({show:o,position:u,color:l,fontFamily:i,fontSize:s},r)})}function l(e,t){var n=e.showLegend,r=e.legendPosition,a=e.selectAll,i=e.fontFamily,s=e.fontSize,l=e.color,c=void 0,d=void 0;switch(r){case"top":c={orient:"horizontal"},d={top:8,left:8,right:8,height:32};break;case"bottom":c={orient:"horizontal"},d={bottom:8,left:8,right:8,height:32};break;case"left":c={orient:"vertical"},d={left:8,top:16,bottom:24,width:96};break;default:c={orient:"vertical"},d={right:8,top:16,bottom:24,width:96}}var u={selected:t.reduce(function(e,t){return Object.assign({},e,o({},t,a))},{})};return Object.assign({show:n,data:t,type:"scroll",textStyle:{fontFamily:i,fontSize:s,color:l}},c,d,u)}function c(e,t,n,o){var a=e.showLegend,i=e.legendPosition,s=e.fontSize;return h.CHART_LEGEND_POSITIONS.reduce(function(e,l){var c=l.value;return e[c]=d(c,n,o),a&&(e[c]+=i===c?["top","bottom"].includes(c)?32:32+Math.max.apply(Math,r(t.map(function(e){return m.getTextWidth(e,"",s+"px")}))):0),e},{})}function d(e,t,n){var o=t?t.labelFontSize:12,a=t?t.xAxisRotate:0,i=Math.max.apply(Math,r((n||[]).map(function(e){return m.getTextWidth(e,"",o+"px")})));switch(e){case"top":return 24;case"left":return 64;case"right":return 24;case"bottom":return a?50+Math.sin(a*Math.PI/180)*i:50}}function u(e,t,n,r,a){var i={};return e.forEach(function(e){var r=t.map(function(t){return e[t]}).join(" "),o=e[n];i[r]||(i[r]={}),i[r][o]||(i[r][o]=[]),i[r][o].push(e)}),Object.keys(i).map(function(e){var t=i[e];i[e]=a.map(function(e){return t[e]?t[e][0]:r.reduce(function(e,t){return Object.assign({},e,o({},t.agg+"("+m.decodeMetricName(t.name)+")",0))},{})})}),i}function p(e,t){return t?Object.keys(e.reduce(function(e,n){return e[n[t]]||(e[n[t]]=!0),e},{})):[]}function f(e,t){return e?Math.ceil(t/e):t}Object.defineProperty(t,"__esModule",{value:!0});var m=n("./app/containers/Widget/components/util.ts"),h=n("./app/globalConstants.ts");t.getDimetionAxisOption=a,t.getMetricAxisOption=i,t.getLabelOption=s,t.getLegendOption=l,t.getGridPositions=c,t.makeGrouped=u,t.distinctXaxis=p,t.getSymbolSize=f},"./app/containers/Widget/render/chart/waterfall.ts":function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t0){var n=e-parseFloat(x[t-1]);return n>=0?(i.push(n),s.push("-"),o.push(parseFloat(x[t-1]))):(i.push("-"),s.push(Math.abs(n)),o.push(parseFloat(x[t-1])-Math.abs(n))),n}return i.push(e),s.push("-"),o.push(0),e});var l=i.reduce(function(e,t){return"number"==typeof t?e+t:e+0},0),c=s.reduce(function(e,t){return"number"==typeof t?e+t:e+0},0),d=l-c;A.push("累计"),o.push("-"),d>0?(i.push(d),s.push("-")):(s.push(Math.abs(d)),i.push("-"));var u={name:"["+a.getAggregatorLocale(e.agg)+"] "+a.decodeMetricName(e.name),type:"bar",sampling:"average",stack:"stack",data:o,itemStyle:{normal:{barBorderColor:"rgba(0,0,0,0)",color:"rgba(0,0,0,0)"},emphasis:{barBorderColor:"rgba(0,0,0,0)",color:"rgba(0,0,0,0)"}}},p=Object.assign({name:"升",type:"bar",sampling:"average",stack:"stack",data:i,itemStyle:{}},y),f=Object.assign({name:"降",type:"bar",sampling:"average",stack:"stack",data:s,itemStyle:{}},y);w.push(u),w.push(p),w.push(f)});var j=w.map(function(e){return e.name}),E={showLine:p,lineColor:f,lineSize:m,lineStyle:h},S={showLine:g,lineColor:_,lineSize:b,lineStyle:v};return{xAxis:i.getDimetionAxisOption(c,E,A),yAxis:i.getMetricAxisOption(d,S,o.map(function(e){return a.decodeMetricName(e.name)}).join(" / ")),series:w,tooltip:{trigger:"axis",formatter:function(e){var t=e.map(function(e,t){var n=t?e.data:parseFloat(x[e.dataIndex]);return e.seriesName+": "+n}),n=e[0].axisValue;return"累计"===n?"":(t.unshift(n),t.join("
"))}},grid:i.getGridPositions({showLegend:!1},j,c,A)}}Object.defineProperty(t,"__esModule",{value:!0});var a=n("./app/containers/Widget/components/util.ts"),i=n("./app/containers/Widget/render/chart/util.ts"),s=n("./app/assets/json/echartsThemes/default.project.json");s.theme.color;t.default=o},"./app/containers/Widget/render/chart/wordCloud.ts":function(e,t,n){"use strict";function r(e){if(null==e)throw new TypeError("Cannot destructure undefined")}function o(e){var t=(e.width,e.height,e.data),n=e.cols,o=e.metrics;r(e.chartStyles.spec);var i=n[0],l=o[0].agg,c=a.decodeMetricName(o[0].name);return{tooltip:{},series:[{type:"wordCloud",sizeRange:[12,72],textStyle:{normal:{color:function(){return s[Math.floor(Math.random()*s.length)]}}},rotationStep:90,data:t.filter(function(e){return!!e[i]}).map(function(e){return{name:e[i],value:e[l+"("+c+")"]}})}]}}Object.defineProperty(t,"__esModule",{value:!0});var a=n("./app/containers/Widget/components/util.ts"),i=n("./app/assets/json/echartsThemes/default.project.json"),s=i.theme.color;t.default=o},"./app/containers/Widget/render/pivot/bar.ts":function(e,t,n){"use strict";function r(e){return{chartOption:{type:"bar",barWidth:.8*e},stackOption:!0}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},"./app/containers/Widget/render/pivot/index.ts":function(e,t,n){"use strict";function r(e,t){switch(e){case"line":return o.default();case"bar":return a.default(t.elementSize);case"scatter":return i.default(t.sizeRate);case"pie":return s.default()}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./app/containers/Widget/render/pivot/line.ts"),a=n("./app/containers/Widget/render/pivot/bar.ts"),i=n("./app/containers/Widget/render/pivot/scatter.ts"),s=n("./app/containers/Widget/render/pivot/pie.ts");t.default=r},"./app/containers/Widget/render/pivot/line.ts":function(e,t,n){"use strict";function r(){return{chartOption:{type:"line"}}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},"./app/containers/Widget/render/pivot/pie.ts":function(e,t,n){"use strict";function r(){return{chartOption:{type:"pie"},calcPieCenterAndRadius:function(e,t,n,r,o,a,i,s,l,c,d,u,p,f,m,h){var g=void 0,_=void 0;if("col"===e){var b=100/l/d,v=100/a;if(g=[v*(h+s+1)-v/2+"%",b*(m+d*p+1)-b/2+"%"],t>n){_=["0%",100/d/l*Math.min(r/o[0],1)*.75+"%"]}else{_=["0%",100/a*Math.min(o[0]/r,1)*.75+"%"]}}else{var y=100/i,A=100/c/d;if(g=[A*(m+d*f+1)-A/2+"%",y*(i-h-p*u)-y/2+"%"],t>n){_=["0%",100/i*Math.min(o[1]/r,1)*.75+"%"]}else{_=["0%",100/d/c*Math.min(r/o[1],1)*.75+"%"]}}return{center:g,radius:_}}}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},"./app/containers/Widget/render/pivot/scatter.ts":function(e,t,n){"use strict";function r(e){return{chartOption:{type:"scatter"},getSymbolSize:function(t,n){return e?Math.ceil(n/e[t]):n}}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},"./app/containers/Widget/sagas.ts":function(e,t,n){"use strict";function r(e){var t,n;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.payload.projectId,r.prev=1,r.next=4,g.call(v.default,y.default.widget+"?projectId="+t);case 4:return n=r.sent,r.next=7,g.put(b.widgetsLoaded(n.payload));case 7:r.next=14;break;case 9:return r.prev=9,r.t0=r.catch(1),r.next=13,g.put(b.widgetsLoadedFail());case 13:A.errorHandler(r.t0);case 14:case"end":return r.stop()}},c,this,[[1,9]])}function o(e){var t,n=e.payload;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,g.call(v.default,{method:"post",url:y.default.widget,data:n.widget});case 3:return t=e.sent,e.next=6,g.put(b.widgetAdded(t.payload));case 6:n.resolve(),e.next=14;break;case 9:return e.prev=9,e.t0=e.catch(0),e.next=13,g.put(b.addWidgetFail());case 13:A.errorHandler(e.t0);case 14:case"end":return e.stop()}},d,this,[[0,9]])}function a(e){var t=e.payload;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,g.call(v.default,{method:"delete",url:y.default.widget+"/"+t.id});case 3:return e.next=5,g.put(b.widgetDeleted(t.id));case 5:e.next=12;break;case 7:return e.prev=7,e.t0=e.catch(0),e.next=11,g.put(b.deleteWidgetFail());case 11:A.errorHandler(e.t0);case 12:case"end":return e.stop()}},u,this,[[0,7]])}function i(e){var t,n;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.payload,r.prev=1,r.next=4,g.call(v.default,y.default.widget+"/"+t.id);case 4:return n=r.sent,r.next=7,g.put(b.widgetDetailLoaded(n.payload));case 7:r.next=14;break;case 9:return r.prev=9,r.t0=r.catch(1),r.next=13,g.put(b.loadWidgetDetailFail(r.t0));case 13:A.errorHandler(r.t0);case 14:case"end":return r.stop()}},p,this,[[1,9]])}function s(e){var t=e.payload;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,g.call(v.default,{method:"put",url:y.default.widget+"/"+t.widget.id,data:t.widget});case 3:return e.next=5,g.put(b.widgetEdited());case 5:t.resolve(),e.next=13;break;case 8:return e.prev=8,e.t0=e.catch(0),e.next=12,g.put(b.editWidgetFail());case 12:A.errorHandler(e.t0);case 13:case"end":return e.stop()}},f,this,[[0,8]])}function l(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,[h.takeLatest(_.LOAD_WIDGETS,r),h.takeEvery(_.ADD_WIDGET,o),h.takeEvery(_.DELETE_WIDGET,a),h.takeLatest(_.LOAD_WIDGET_DETAIL,i),h.takeEvery(_.EDIT_WIDGET,s)];case 2:case"end":return e.stop()}},m,this)}var c=regeneratorRuntime.mark(r),d=regeneratorRuntime.mark(o),u=regeneratorRuntime.mark(a),p=regeneratorRuntime.mark(i),f=regeneratorRuntime.mark(s),m=regeneratorRuntime.mark(l);Object.defineProperty(t,"__esModule",{value:!0});var h=n("./node_modules/_redux-saga@0.15.3@redux-saga/es/index.js"),g=n("./node_modules/_redux-saga@0.15.3@redux-saga/es/effects.js"),_=n("./app/containers/Widget/constants.ts"),b=n("./app/containers/Widget/actions.ts"),v=n("./app/utils/request.ts"),y=n("./app/utils/api.js"),A=n("./app/utils/util.ts");t.getWidgets=r,t.addWidget=o,t.deleteWidget=a,t.getWidgetDetail=i,t.editWidget=s,t.default=l},"./app/containers/Widget/selectors.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/_reselect@3.0.1@reselect/es/index.js"),o=function(e){return e.get("widget")};t.selectWidget=o;var a=function(){return r.createSelector(o,function(e){return e.get("widgets")})};t.makeSelectWidgets=a;var i=function(){return r.createSelector(o,function(e){return e.get("currentWidget")})};t.makeSelectCurrentWidget=i;var s=function(){return r.createSelector(o,function(e){return e.get("loading")})};t.makeSelectLoading=s;var l=function(){return r.createSelector(o,function(e){return e.get("dataLoading")})};t.makeSelectDataLoading=l;var c=function(){return r.createSelector(o,function(e){return e.get("distinctColumnValues")})};t.makeSelectDistinctColumnValues=c;var d=function(){return r.createSelector(o,function(e){return e.get("columnValueLoading")})};t.makeSelectColumnValueLoading=d},"./app/globalConfig.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.envName={production:"production",dev:"dev"},t.env=t.envName.production,t.default={dev:{host:"/api/v3",shareHost:"/share.html"},production:{host:"/api/v3",shareHost:"/share.html"}}},"./app/globalConstants.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./app/assets/json/echartsThemes/default.project.json");t.DEFAULT_ECHARTS_THEME=r.theme,t.DEFAULT_PRIMARY_COLOR="#1B98E0",t.DEFAULT_SECONDARY_COLOR="#223151",t.GRID_BREAKPOINTS={lg:1200,md:996,sm:768,xs:480,xxs:0},t.GRID_COLS={lg:12,md:12,sm:12,xs:2,xxs:2},t.GRID_ITEM_MARGIN=16,t.GRID_ROW_HEIGHT=30,t.DEFAULT_BASELINE_THICKNESS=1.5,t.DEFAULT_BASELINE_COLOR="#ecc302",t.TABLE_HEADER_HEIGHT=50,t.TABLE_PAGINATION_HEIGHT=61,t.COLUMN_WIDTH=150,t.DASHBOARD_ITEM_FILTER_HEIGHT=40,t.DEFAULT_TABLE_PAGE=1,t.DEFAULT_TABLE_PAGE_SIZE=20,t.PIVOT_CELL_PADDING=4,t.PIVOT_CELL_BORDER=1,t.PIVOT_LINE_HEIGHT=18,t.PIVOT_MAX_CONTENT_WIDTH=200,t.PIVOT_BORDER=1,t.PIVOT_CHART_ELEMENT_MIN_WIDTH=24,t.PIVOT_CHART_ELEMENT_MAX_WIDTH=72,t.PIVOT_CHART_METRIC_AXIS_MIN_SIZE=80,t.PIVOT_CHART_SPLIT_SIZE=40,t.PIVOT_CHART_POINT_LIMIT=100,t.PIVOT_XAXIS_SIZE=50,t.PIVOT_YAXIS_SIZE=64,t.PIVOT_TITLE_SIZE=27,t.PIVOT_XAXIS_ROTATE_LIMIT=30,t.PIVOT_XAXIS_TICK_SIZE=12,t.PIVOT_LEGEND_ITEM_PADDING=32,t.PIVOT_LEGEND_PADDING=16,t.PIVOT_DEFAULT_SCATTER_SIZE=10,t.PIVOT_DEFAULT_SCATTER_SIZE_TIMES=4,t.PIVOT_CANVAS_SIZE_LIMIT=3e3,t.PIVOT_CANVAS_AXIS_SIZE_LIMIT=8e3,t.PIVOT_CANVAS_POLAR_SIZE_LIMIT=8e3,t.PIVOT_DEFAULT_AXIS_LINE_COLOR="#D9D9D9",t.PIVOT_DEFAULT_FONT_COLOR="#666",t.PIVOT_DEFAULT_HEADER_BACKGROUND_COLOR="#f7f7f7",t.PIVOT_CHART_FONT_FAMILIES=[{name:"苹方",value:"PingFang SC"},{name:"微软雅黑",value:"Microsoft YaHei"},{name:"宋体",value:"SimSun"},{name:"黑体",value:"SimHei"},{name:"Helvetica Neue",value:'"Helvetica Neue"'},{name:"Helvetica",value:"Helvetica"},{name:"Arial",value:"Arial"},{name:"sans-serif",value:"sans-serif"}],t.PIVOT_CHART_LINE_STYLES=[{name:"实线",value:"solid"},{name:"虚线",value:"dashed"},{name:"点",value:"dotted"}],t.PIVOT_CHART_FONT_SIZES=[10,12,13,14,15,16,18,20,24,28,32,36,40,48,56,64],t.CHART_LABEL_POSITIONS=[{name:"上",value:"top"},{name:"左",value:"left"},{name:"右",value:"right"},{name:"下",value:"bottom"},{name:"内",value:"inside"},{name:"内左",value:"insideLeft"},{name:"内右",value:"insideRight"},{name:"内上",value:"insideTop"},{name:"内下",value:"insideBottom"},{name:"内左上",value:"insideTopLeft"},{name:"内左下",value:"insideBottomLeft"},{name:"内右上",value:"insideTopRight"},{name:"内右下",value:"insideBottomRight"}],t.CHART_PIE_LABEL_POSITIONS=[{name:"外侧",value:"outside"},{name:"内部",value:"inside"},{name:"中心",value:"center"}],t.CHART_FUNNEL_LABEL_POSITIONS=[{name:"左侧",value:"left"},{name:"右侧",value:"right"},{name:"内部",value:"inside"}],t.CHART_SORT_MODES=[{name:"降序",value:"descending"},{name:"升序",value:"ascending"},{name:"无",value:"none"}],t.CHART_ALIGNMENT_MODES=[{name:"居中",value:"center"},{name:"居左",value:"left"},{name:"居右",value:"right"}],t.AXIS_NAME_LOCATIONS=[{name:"开始",value:"start"},{name:"结束",value:"end"},{name:"中间",value:"center"}],t.CHART_LEGEND_POSITIONS=[{name:"右",value:"right"},{name:"上",value:"top"},{name:"下",value:"bottom"},{name:"左",value:"left"}],t.CHART_VISUALMAP_POSITIONS=[{name:"左下",value:"leftBottom"},{name:"左上",value:"leftTop"},{name:"右上",value:"rightTop"},{name:"右下",value:"rightBottom"}],t.CHART_LAYER_TYPES=[{name:"地图",value:"map"},{name:"气泡图",value:"scatter"},{name:"热力图",value:"heatmap"},{name:"飞行图",value:"lines"}],t.CHART_LINES_SYMBOL_TYPE=[{name:"圆形",value:"circle"},{name:"矩形",value:"rect"},{name:"圆角矩形",value:"roundRect"},{name:"三角形",value:"triangle"},{name:"菱形",value:"diamond"},{name:"大头针形",value:"pin"},{name:"箭头形",value:"arrow"}],t.CHART_VISUALMAP_DIRECYTIONS=[{name:"竖直",value:"vertical"},{name:"水平",value:"horizontal"}],t.SQL_STRING_TYPES=["CHAR","VARCHAR","TINYTEXT","TEXT","MEDIUMTEXT","LONGTEXT","JSON","LINESTRING","MULTILINESTRING","TINYBLOB","MEDIUMBLOB","BLOB","LONGBLOB","BINARY","VARBINARY","ENUM","SET"],t.SQL_NUMBER_TYPES=["TINYINT","SMALLINT","MEDIUMINT","INT","INTEGER","BIGINT","FLOAT","DOUBLE","DOUBLE PRECISION","REAL","DECIMAL","BIT","SERIAL","BOOL","BOOLEAN","DEC","FIXED","NUMERIC"],t.SQL_DATE_TYPES=["DATE","DATETIME","TIMESTAMP","TIME","YEAR"],t.DEFAULT_SPLITER="@davinci@",t.KEY_COLUMN="davinciUniqueId",t.ECHARTS_RENDERER="echarts",t.DEFAULT_FONT_WEIGHT="normal",t.DEFAULT_FONT_STYLE="normal",t.DEFAULT_FONT_SIZE="12px",t.DEFAULT_FONT_FAMILY='"Helvetica Neue For Number", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif',t.DEFAULT_DATE_FORMAT="YYYY-MM-DD",t.DEFAULT_DATETIME_FORMAT="YYYY-MM-DD HH:mm:ss"},"./app/i18n.js":function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"appLocales",function(){return m}),n.d(t,"formatTranslationMessages",function(){return h}),n.d(t,"translationMessages",function(){return g});var o=n("./node_modules/_react-intl@2.3.0@react-intl/lib/index.es.js"),a=n("./node_modules/_react-intl@2.3.0@react-intl/locale-data/en.js"),i=n.n(a),s=n("./node_modules/_react-intl@2.3.0@react-intl/locale-data/de.js"),l=n.n(s),c=n("./app/containers/App/constants.ts"),d=(n.n(c),n("./app/translations/en.json")),u=n.n(d),p=n("./app/translations/de.json"),f=n.n(p);Object(o.addLocaleData)(i.a),Object(o.addLocaleData)(l.a);var m=["en","de"],h=function e(t,n){var o=t!==c.DEFAULT_LOCALE?e(c.DEFAULT_LOCALE,u.a):{};return Object.keys(n).reduce(function(e,a){var i=n[a]||t===c.DEFAULT_LOCALE?n[a]:o[a];return Object.assign(e,r({},a,i))},{})},g={en:h("en",u.a),de:h("de",f.a)}},"./app/reducers.ts":function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p,t=arguments[1];switch(t.type){case s.LOCATION_CHANGE:return e.merge({locationBeforeTransitions:t.payload});default:return e}}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return i.combineReducers(Object.assign({route:r,language:l.default,report:c.default,bizlogic:d.default,widget:u.default},e))}Object.defineProperty(t,"__esModule",{value:!0});var a=n("./node_modules/_immutable@3.8.1@immutable/dist/immutable.js"),i=n("./node_modules/_redux-immutable@4.0.0@redux-immutable/dist/index.js"),s=n("./node_modules/_react-router-redux@4.0.6@react-router-redux/lib/index.js"),l=n("./app/containers/LanguageProvider/reducer.ts"),c=n("./app/containers/Report/reducer.ts"),d=n("./app/containers/Bizlogic/reducer.ts"),u=n("./app/containers/Widget/reducer.ts"),p=a.fromJS({locationBeforeTransitions:null});t.default=o},"./app/routes.ts":function(e,t,n){"use strict";function r(e){return[{component:g.default,childRoutes:[{path:"/login",component:_.default},{path:"/register",name:"register",component:f.default},{path:"/joinOrganization",name:"joinOrganization",component:h.default}]},{path:"/activate",name:"activate",component:m.default},{component:b.default,childRoutes:[{path:"/projects",name:"projects",component:w.default},{path:"/project/:pid",name:"project",component:o.default,indexRoute:{onEnter:function(e,t){t("/project/"+e.params.pid+"/vizs")}},childRoutes:[{path:"/project/:pid/vizs",name:"vizs",components:d.default},{path:"/project/:pid/widgets",name:"widgets",component:l.default},{path:"/project/:pid/bizlogics",name:"bizlogics",component:i.default},{path:"/project/:pid/sources",name:"sources",component:a.default},{path:"/project/:pid/schedule",name:"schedule",component:v.default}]},{path:"/account",name:"account",indexRoute:{onEnter:function(e,t){t("/account/profile")}},component:x.default,childRoutes:[{path:"/account/profile",name:"profile",component:j.default},{path:"/account/profile/:uid",name:"userProfile",component:M.default},{path:"/account/resetPassword",name:"resetPassword",component:E.default},{path:"/account/organizations",name:"organizations",component:S.default},{path:"/account/organization/:organizationId",name:"organization",component:C.default},{path:"/account/teams",name:"teams",component:k.default},{path:"/account/team/:teamId",name:"team",component:T.default}]},{path:"/project/:pid/bizlogic",name:"bizlogic",component:s.default},{path:"/project/:pid/bizlogic/:bid",name:"bizlogic",component:s.default},{path:"/project/:pid/portal/:portalId/portalName/:portalName",name:"dashboard",component:u.default,childRoutes:[{path:"/project/:pid/portal/:portalId/portalName/:portalName/dashboard/:dashboardId",name:"grid",component:p.default}]},{path:"/project/:pid/display/:displayId",name:"display",component:y.default},{path:"/project/:pid/display/preview/:displayId",name:"displayPreview",component:A.default},{path:"/project/:pid/widget/:wid",name:"workbench",component:c.default}]},{path:"/noAuthorization",name:"noAuthorization",component:O.default},{path:"*",name:"notfound",getComponent:function(e,t){Promise.resolve().then(function(){return n("./app/containers/NotFoundPage/index.js")}).then(D(t)).catch(L)}}]}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./app/containers/Report/index.tsx"),a=n("./app/containers/Source/index.tsx"),i=n("./app/containers/Bizlogic/index.tsx"),s=n("./app/containers/Bizlogic/Bizlogic.tsx"),l=n("./app/containers/Widget/index.tsx"),c=n("./app/containers/Widget/components/Workbench/index.tsx"),d=n("./app/containers/Viz/index.tsx"),u=n("./app/containers/Dashboard/index.tsx"),p=n("./app/containers/Dashboard/Grid.tsx"),f=n("./app/containers/Register/index.tsx"),m=n("./app/containers/Register/Activate.tsx"),h=n("./app/containers/Register/JoinOrganization.tsx"),g=n("./app/containers/Background/index.tsx"),_=n("./app/containers/Login/index.tsx"),b=n("./app/containers/Main/index.tsx"),v=n("./app/containers/Schedule/index.tsx"),y=n("./app/containers/Display/Editor.tsx"),A=n("./app/containers/Display/Preview.tsx"),x=n("./app/containers/Account/index.tsx"),w=n("./app/containers/Projects/index.tsx"),j=n("./app/containers/Profile/index.tsx"),E=n("./app/containers/ResetPassword/index.tsx"),S=n("./app/containers/Organizations/index.tsx"),C=n("./app/containers/Organizations/Organization.tsx"),k=n("./app/containers/Teams/index.tsx"),T=n("./app/containers/Teams/Team.tsx"),M=n("./app/containers/Profile/UserProfile.tsx"),O=n("./app/containers/NoAuthorization/index.js"),L=function(e){console.error("Dynamic page loading failed",e)},D=function(e){return function(t){e(null,t.default)}};t.default=r},"./app/sagas.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=[]},"./app/store.ts":function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1],n=[d,i.routerMiddleware(t)],r=o.compose,s=o.createStore(l.default(),a.fromJS(e),r(o.applyMiddleware.apply(o,n)));return s.runSaga=d.run,c.default.map(s.runSaga),s.injectedReducers={},s.injectedSagas={},s}"function"==typeof Symbol&&Symbol.iterator;Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/_redux@3.6.0@redux/es/index.js"),a=n("./node_modules/_immutable@3.8.1@immutable/dist/immutable.js"),i=n("./node_modules/_react-router-redux@4.0.6@react-router-redux/lib/index.js"),s=n("./node_modules/_redux-saga@0.15.3@redux-saga/es/index.js"),l=n("./app/reducers.ts"),c=n("./app/sagas.ts"),d=s.default();t.default=r},"./app/translations/de.json":function(e,t){e.exports={}},"./app/translations/en.json":function(e,t){e.exports={}},"./app/utils/api.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./app/globalConfig.ts"),o=n.n(r),a=o.a[r.env].host;t.default={login:a+"/login",group:a+"/groups",user:a+"/users",changepwd:a+"/changepwd",source:a+"/sources",bizlogic:a+"/views",widget:a+"/widgets",display:a+"/displays",share:a+"/share",checkName:a+"/check",projectsCheckName:a+"/check/",uploads:a+"/uploads",schedule:a+"/cronjobs",signup:a+"/users",organizations:a+"/organizations",checkNameUnique:a+"/check",projects:a+"/projects",teams:a+"/teams",portal:a+"/dashboardPortals",star:a+"/star"}},"./app/utils/asyncAdapter.js":function(e,t,n){"use strict";function r(e){return e&&l.apiConfig[e]?l.apiConfig[e].env:s.env}function o(e,t){switch(r(t)){case"production":return e.payload||[];default:return e}}function a(e,t){switch(r(t)){case"production":return e.payload;default:return e}}function i(e,t){switch(r(t)){case"production":return{payload:[e]};default:return e}}Object.defineProperty(t,"__esModule",{value:!0}),t.readListAdapter=o,t.readObjectAdapter=a,t.writeAdapter=i;var s=n("./app/globalConfig.ts"),l=(n.n(s),n("./app/utils/api.js"))},"./app/utils/checkLogin.ts":function(e,t,n){"use strict";function r(){if(localStorage.getItem("TOKEN")){var e=localStorage.getItem("TOKEN_EXPIRE"),t=(new Date).getTime();return Number(e)>t||(localStorage.removeItem("TOKEN"),localStorage.removeItem("TOKEN_EXPIRE"),!1)}return!1}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},"./app/utils/checkStore.ts":function(e,t,n){"use strict";function r(e){s(o(e,{dispatch:a,subscribe:a,getState:a,replaceReducer:a,runSaga:a,injectedReducers:i,injectedSagas:i}),"(app/utils...) injectors: Expected a valid redux store")}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/_lodash@4.17.4@lodash/conformsTo.js"),a=n("./node_modules/_lodash@4.17.4@lodash/isFunction.js"),i=n("./node_modules/_lodash@4.17.4@lodash/isObject.js"),s=n("./node_modules/_invariant@2.2.2@invariant/browser.js");t.default=r},"./app/utils/constants.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RESTART_ON_REMOUNT="@@saga-injector/restart-on-remount",t.DAEMON="@@saga-injector/daemon",t.ONCE_TILL_UNMOUNT="@@saga-injector/once-till-unmount"},"./app/utils/injectReducer.tsx":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n2?n-2:0),o=2;o1&&void 0!==arguments[1]?arguments[1]:[];return function(n,r){for(var a=arguments.length,s=Array(a>2?a-2:0),l=2;l0?Object.keys(e[0]):[],types:[],pageSize:e.limit,pageIndex:Math.floor(e.offset/e.limit)+1,total:e.totalCount}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},"./app/utils/sagaInjectors.ts":function(e,t,n){"use strict";function r(e,t){return function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments[2];t||u.default(e);var a=Object.assign({},r,{mode:r.mode||p.RESTART_ON_REMOUNT}),i=a.saga,s=a.mode;m(n),h(a);var l=Reflect.has(e.injectedSagas,n);(!l||l&&s!==p.DAEMON&&s!==p.ONCE_TILL_UNMOUNT)&&(e.injectedSagas[n]=Object.assign({},a,{task:e.runSaga(i,o)}))}}function o(e,t){return function(n){if(t||u.default(e),m(n),Reflect.has(e.injectedSagas,n)){var r=e.injectedSagas[n];r.mode!==p.DAEMON&&(r.task.cancel(),e.injectedSagas[n]="done")}}}function a(e){return u.default(e),{injectSaga:r(e,!0),ejectSaga:o(e,!0)}}Object.defineProperty(t,"__esModule",{value:!0});var i=n("./node_modules/_lodash@4.17.4@lodash/isEmpty.js"),s=n("./node_modules/_lodash@4.17.4@lodash/isFunction.js"),l=n("./node_modules/_lodash@4.17.4@lodash/isString.js"),c=n("./node_modules/_invariant@2.2.2@invariant/browser.js"),d=n("./node_modules/_lodash@4.17.4@lodash/conformsTo.js"),u=n("./app/utils/checkStore.ts"),p=n("./app/utils/constants.ts"),f=[p.RESTART_ON_REMOUNT,p.DAEMON,p.ONCE_TILL_UNMOUNT],m=function(e){return c(l(e)&&!i(e),"(app/utils...) injectSaga: Expected `key` to be a non empty string")},h=function(e){c(d(e,{saga:s,mode:function(e){return l(e)&&f.includes(e)}}),"(app/utils...) injectSaga: Expected a valid saga descriptor")};t.injectSagaFactory=r,t.ejectSagaFactory=o,t.default=a},"./app/utils/util.ts":function(e,t,n){"use strict";function r(e,t){var n=Math.max((""+e).indexOf(".")>=0?(""+e).substr((""+e).indexOf(".")+1).length:0,(""+t).indexOf(".")>=0?(""+t).substr((""+t).indexOf(".")+1).length:0);if(n){var r=Math.pow(10,n);return(Math.round(e*r)+Math.round(t*r))/r}return e+t}function o(e){if(e.response)switch(e.response.status){case 403:l.error("未登录或会话过期,请重新登录",1),s.removeToken(),localStorage.removeItem("TOKEN");var t=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search+"#login";location.replace(t);case 401:l.error("您没有权限访问此数据",2);break;default:l.error(e.response.data.header.msg,3)}else l.error(e,3)}function a(e,t){var n=new FileReader;n.addEventListener("load",function(){return t(n.result)}),n.readAsDataURL(e)}function i(e){var t=[];return e.length&&e.forEach(function(e){var n=[];e.columns&&e.columns.length&&e.columns.forEach(function(e){n.push({title:e.name,key:e.name})}),t.push({title:e.tableName,key:e.tableName,children:n})}),t}Object.defineProperty(t,"__esModule",{value:!0});var s=n("./app/utils/request.ts"),l=n("./node_modules/_antd@2.13.14@antd/lib/message/index.js");t.uuid=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:62,n="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),r=[],o=void 0;if(e)for(o=0;o, without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.")}},{key:"componentDidMount",value:function(){void 0!==window.SVGElement&&u.findDOMNode(this)instanceof SVGElement&&this.setState({isElementSVG:!0})}},{key:"componentWillReceiveProps",value:function(e){!e.position||this.props.position&&e.position.x===this.props.position.x&&e.position.y===this.props.position.y||this.setState({x:e.position.x,y:e.position.y})}},{key:"componentWillUnmount",value:function(){this.setState({dragging:!1})}},{key:"render",value:function(){var e,t={},n=null,o=Boolean(this.props.position),a=!o,i=this.props.position||this.props.defaultPosition,l={x:m.canDragX(this)&&a?this.state.x:i.x,y:m.canDragY(this)&&a?this.state.y:i.y};this.state.isElementSVG?n=f.createSVGTransform(l):t=f.createCSSTransform(l);var c=this.props,u=c.defaultClassName,g=c.defaultClassNameDragging,_=c.defaultClassNameDragged,b=d.Children.only(this.props.children),v=p(b.props.className||"",u,(e={},r(e,g,this.state.dragging),r(e,_,this.state.dragged),e));return d.createElement(h.default,s({},this.props,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),d.cloneElement(b,{className:v,style:Object.assign({},b.props.style,t),transform:n}))}}]),t}(d.Component);_.displayName="Draggable",_.defaultProps=Object.assign({},h.default.defaultProps,{axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},position:null}),t.default=_},"./libs/react-draggable/lib/DraggableCore.tsx":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),s=function(){function e(e,t){for(var n=0;n not mounted on DragStart!");var r=n.ownerDocument;if(!(e.props.disabled||!(t.target instanceof Node)||e.props.handle&&!d.matchesSelectorAndParentsTo(t.target,e.props.handle,n)||e.props.cancel&&d.matchesSelectorAndParentsTo(t.target,e.props.cancel,n))){var o=d.getTouchIdentifier(t);e.setState({touchIdentifier:o});var a=u.getControlPosition(t,o,e);if(null!=a){var i=a.x,s=a.y,l=u.createCoreData(e,i,s);p.default("DraggableCore: handleDragStart: %j",l),p.default("calling",e.props.onStart);!1!==e.props.onStart(t,l)&&(e.props.enableUserSelectHack&&d.addUserSelectStyles(r),e.setState({dragging:!0,lastX:i,lastY:s}),d.addEvent(r,m.move,e.handleDrag),d.addEvent(r,m.stop,e.handleDragStop))}}},e.handleDrag=function(t){"touchmove"===t.type&&t.preventDefault();var n=u.getControlPosition(t,e.state.touchIdentifier,e);if(null!=n){var r=n.x,o=n.y;if(Array.isArray(e.props.grid)){var a=u.snapToGrid(e.props.grid,r-e.state.lastX,o-e.state.lastY),s=i(a,2),l=s[0],c=s[1];if(!l&&!c)return;r=e.state.lastX+l,o=e.state.lastY+c}var d=u.createCoreData(e,r,o);p.default("DraggableCore: handleDrag: %j",d);if(!1!==e.props.onDrag(t,d))e.setState({lastX:r,lastY:o});else try{e.handleDragStop(new MouseEvent("mouseup"))}catch(t){var f=document.createEvent("MouseEvents");f.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),e.handleDragStop(f)}}},e.handleDragStop=function(t){if(e.state.dragging){var n=u.getControlPosition(t,e.state.touchIdentifier,e);if(null!=n){var r=n.x,o=n.y,a=u.createCoreData(e,r,o),i=c.findDOMNode(e);i&&e.props.enableUserSelectHack&&d.removeUserSelectStyles(i.ownerDocument),p.default("DraggableCore: handleDragStop: %j",a),e.setState({dragging:!1,lastX:NaN,lastY:NaN}),e.props.onStop(t,a),i&&(p.default("DraggableCore: Removing handlers"),d.removeEvent(i.ownerDocument,m.move,e.handleDrag),d.removeEvent(i.ownerDocument,m.stop,e.handleDragStop))}}},e.onMouseDown=function(t){return m=f.mouse,e.handleDragStart(t)},e.onMouseUp=function(t){return m=f.mouse,e.handleDragStop(t)},e.onTouchStart=function(t){return m=f.touch,e.handleDragStart(t)},e.onTouchEnd=function(t){return m=f.touch,e.handleDragStop(t)},e}return a(t,e),s(t,[{key:"componentWillUnmount",value:function(){var e=c.findDOMNode(this);if(e){var t=e.ownerDocument;d.removeEvent(t,f.mouse.move,this.handleDrag),d.removeEvent(t,f.touch.move,this.handleDrag),d.removeEvent(t,f.mouse.stop,this.handleDragStop),d.removeEvent(t,f.touch.stop,this.handleDragStop),this.props.enableUserSelectHack&&d.removeUserSelectStyles(t)}}},{key:"render",value:function(){return l.cloneElement(l.Children.only(this.props.children),{style:d.styleHacks(this.props.children.props.style),onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}]),t}(l.Component);h.displayName="DraggableCore",h.defaultProps={allowAnyClick:!1,cancel:null,disabled:!1,enableUserSelectHack:!0,offsetParent:null,handle:null,grid:null,scale:1,transform:null,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){}},t.default=h},"./libs/react-draggable/lib/utils/domFns.ts":function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){return j||(j=x.findInArray(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],function(t){return x.isFunction(e[t])})),!!x.isFunction(e[j])&&e[j](t)}function a(e,t,n){var r=e;do{if(o(r,t))return!0;if(r===n)return!1;r=r.parentNode}while(r);return!1}function i(e,t,n){e&&(e.attachEvent?e.attachEvent("on"+t,n):e.addEventListener?e.addEventListener(t,n,!0):e["on"+t]=n)}function s(e,t,n){e&&(e.detachEvent?e.detachEvent("on"+t,n):e.removeEventListener?e.removeEventListener(t,n,!0):e["on"+t]=null)}function l(e){var t=e.clientHeight,n=e.ownerDocument.defaultView.getComputedStyle(e);return t+=x.int(n.borderTopWidth),t+=x.int(n.borderBottomWidth)}function c(e){var t=e.clientWidth,n=e.ownerDocument.defaultView.getComputedStyle(e);return t+=x.int(n.borderLeftWidth),t+=x.int(n.borderRightWidth)}function d(e){var t=e.clientHeight,n=e.ownerDocument.defaultView.getComputedStyle(e);return t-=x.int(n.paddingTop),t-=x.int(n.paddingBottom)}function u(e){var t=e.clientWidth,n=e.ownerDocument.defaultView.getComputedStyle(e);return t-=x.int(n.paddingLeft),t-=x.int(n.paddingRight)}function p(e,t){var n=t===t.ownerDocument.body,r=n?{left:0,top:0}:t.getBoundingClientRect();return{x:e.clientX+t.scrollLeft-r.left,y:e.clientY+t.scrollTop-r.top}}function f(e){var t=e.x,n=e.y;return r({},w.browserPrefixToKey("transform",w.default),"translate("+t+"px,"+n+"px)")}function m(e){return"translate("+e.x+","+e.y+")"}function h(e,t){return e.targetTouches&&x.findInArray(e.targetTouches,function(e){return t===e.identifier})||e.changedTouches&&x.findInArray(e.changedTouches,function(e){return t===e.identifier})}function g(e){return e.targetTouches&&e.targetTouches[0]?e.targetTouches[0].identifier:e.changedTouches&&e.changedTouches[0]?e.changedTouches[0].identifier:void 0}function _(e){if(e){var t=e.getElementById("react-draggable-style-el");t||(t=e.createElement("style"),t.setAttribute("type","text/css"),t.id="react-draggable-style-el",t.innerHTML=".react-draggable-transparent-selection *::-moz-selection {background: transparent;}\n",t.innerHTML+=".react-draggable-transparent-selection *::selection {background: transparent;}\n",e.getElementsByTagName("head")[0].appendChild(t)),e.body&&y(e.body,"react-draggable-transparent-selection")}}function b(e){try{e&&e.body&&A(e.body,"react-draggable-transparent-selection"),window.getSelection().removeAllRanges()}catch(e){}}function v(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.assign({touchAction:"none"},e)}function y(e,t){e.classList?e.classList.add(t):e.className.match(new RegExp("(?:^|\\s)"+t+"(?!\\S)"))||(e.className+=" "+t)}function A(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(?:^|\\s)"+t+"(?!\\S)","g"),"")}Object.defineProperty(t,"__esModule",{value:!0});var x=n("./libs/react-draggable/lib/utils/shims.ts"),w=n("./libs/react-draggable/lib/utils/getPrefix.ts"),j="";t.matchesSelector=o,t.matchesSelectorAndParentsTo=a,t.addEvent=i,t.removeEvent=s,t.outerHeight=l,t.outerWidth=c,t.innerHeight=d,t.innerWidth=u,t.offsetXYFromParent=p,t.createCSSTransform=f,t.createSVGTransform=m,t.getTouch=h,t.getTouchIdentifier=g,t.addUserSelectStyles=_,t.removeUserSelectStyles=b,t.styleHacks=v,t.addClassName=y,t.removeClassName=A},"./libs/react-draggable/lib/utils/getPrefix.ts":function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transform";if("undefined"==typeof window||void 0===window.document)return"";var t=window.document.documentElement.style;if(e in t)return"";for(var n=0;n: Unmounted during event!");return t}var p=function(){function e(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();Object.defineProperty(t,"__esModule",{value:!0});var f=n("./libs/react-draggable/lib/utils/shims.ts"),m=n("./node_modules/_react-dom@15.6.2@react-dom/index.js"),h=n("./libs/react-draggable/lib/utils/domFns.ts");t.getBoundPosition=r,t.snapToGrid=o,t.canDragX=a,t.canDragY=i,t.getControlPosition=s,t.createCoreData=l,t.createDraggableData=c},"./libs/react-draggable/lib/utils/shims.ts":function(e,t,n){"use strict";function r(e,t){for(var n=0,r=e.length;ne.w||n>e.maxW?new Error("minWidth larger than item width/maxWidth"):void 0},maxW:function(e,t){var n=e[t];return"number"!=typeof n?new Error("maxWidth not Number"):ne.h||n>e.maxH?new Error("minHeight larger than item height/maxHeight"):void 0},maxH:function(e,t){var n=e[t];return"number"!=typeof n?new Error("maxHeight not Number"):n0){var g=1/0,b=1/0;h.forEach(function(e){e.x>f.x&&(g=Math.min(g,e.x)),e.y>f.y&&(b=Math.min(b,e.y))}),Number.isFinite(g)&&(f.w=g-f.x),Number.isFinite(b)&&(f.h=b-f.y)}}m||(f.w=t,f.h=n);var v={w:f.w,h:f.h,x:f.x,y:f.y,static:!0,i:e};this.props.onResize(s,c,f,v,o,a),this.setState({layout:(0,_.compact)(s,this.compactType(),u),activeDrag:v})}},t.prototype.onResizeStop=function(e,t,n,r){var o=r.e,a=r.node,i=this.state,s=i.layout,l=i.oldResizeItem,c=this.props.cols,d=(0,_.getLayoutItem)(s,e);this.props.onResizeStop(s,l,d,null,o,a);var u=(0,_.compact)(s,this.compactType(),c),p=this.state.oldLayout;this.setState({activeDrag:null,layout:u,oldResizeItem:null,oldLayout:null}),this.onLayoutMaybeChanged(u,p)},t.prototype.placeholder=function(){var e=this.state.activeDrag;if(!e)return null;var t=this.props,n=t.width,r=t.cols,o=t.margin,a=t.containerPadding,i=t.rowHeight,s=t.maxRows,l=t.useCSSTransforms;return d.default.createElement(v.default,{w:e.w,h:e.h,x:e.x,y:e.y,i:e.i,className:"react-grid-placeholder",containerWidth:n,cols:r,margin:o,containerPadding:a||o,maxRows:s,rowHeight:i,isDraggable:!1,isResizable:!1,useCSSTransforms:l},d.default.createElement("div",null))},t.prototype.processGridItem=function(e){if(e&&e.key){var t=(0,_.getLayoutItem)(this.state.layout,String(e.key));if(!t)return null;var n=this.props,r=n.width,o=n.cols,a=n.margin,i=n.containerPadding,s=n.rowHeight,l=n.maxRows,c=n.isDraggable,u=n.isResizable,p=n.useCSSTransforms,f=n.draggableCancel,m=n.draggableHandle,h=this.state.mounted,g=Boolean(!t.static&&c&&(t.isDraggable||null==t.isDraggable)),b=Boolean(!t.static&&u&&(t.isResizable||null==t.isResizable));return d.default.createElement(v.default,{containerWidth:r,cols:o,margin:a,containerPadding:i||a,maxRows:l,rowHeight:s,cancel:f,handle:m,onDragStop:this.onDragStop,onDragStart:this.onDragStart,onDrag:this.onDrag,onResizeStart:this.onResizeStart,onResize:this.onResize,onResizeStop:this.onResizeStop,isDraggable:g,isResizable:b,useCSSTransforms:p&&h,usePercentages:!h,w:t.w,h:t.h,x:t.x,y:t.y,i:t.i,minH:t.minH,minW:t.minW,maxH:t.maxH,maxW:t.maxW,static:t.static},e)}},t.prototype.render=function(){var e=this,t=this.props,n=t.className,r=t.style,o=(0,g.default)("react-grid-layout",n),a=l({height:this.containerHeight()},r);return d.default.createElement("div",{className:o,style:a},d.default.Children.map(this.props.children,function(t){return e.processGridItem(t)}),this.placeholder())},t}(d.default.Component);y.displayName="ReactGridLayout",y.propTypes={className:p.default.string,style:p.default.object,width:p.default.number,autoSize:p.default.bool,cols:p.default.number,draggableCancel:p.default.string,draggableHandle:p.default.string,verticalCompact:function(e){e.verticalCompact,1},compactType:p.default.oneOf(["vertical","horizontal"]),layout:function(e){var t=e.layout;void 0!==t&&(0,_.validateLayout)(t,"layout")},margin:p.default.arrayOf(p.default.number),containerPadding:p.default.arrayOf(p.default.number),rowHeight:p.default.number,maxRows:p.default.number,isDraggable:p.default.bool,isResizable:p.default.bool,preventCollision:p.default.bool,useCSSTransforms:p.default.bool,onLayoutChange:p.default.func,onDragStart:p.default.func,onDrag:p.default.func,onDragStop:p.default.func,onResizeStart:p.default.func,onResize:p.default.func,onResizeStop:p.default.func,children:function(e,t){var n=e[t],r={};d.default.Children.forEach(n,function(e){if(r[e.key])throw new Error('Duplicate child key "'+e.key+'" found! This will cause problems in ReactGridLayout.');r[e.key]=!0})}},y.defaultProps={autoSize:!0,cols:12,className:"",style:{},draggableHandle:"",draggableCancel:"",containerPadding:null,rowHeight:150,maxRows:1/0,layout:[],margin:[10,10],isDraggable:!0,isResizable:!0,useCSSTransforms:!0,verticalCompact:!0,compactType:"vertical",preventCollision:!1,onLayoutChange:_.noop,onDragStart:_.noop,onDrag:_.noop,onDragStop:_.noop,onResizeStart:_.noop,onResize:_.noop,onResizeStop:_.noop};var A=function(){this.state={activeDrag:null,layout:(0,_.synchronizeLayoutWithChildren)(this.props.layout,this.props.children,this.props.cols,this.compactType()),mounted:!1,oldDragItem:null,oldLayout:null,oldResizeItem:null}};t.default=y},"./libs/react-grid-layout/lib/ResponsiveReactGridLayout.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":l(t))&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":l(t)));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.__esModule=!0;var c=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":c(t))&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":c(t)));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function l(e){var t,n;return n=t=function(t){function n(){var e,r,o;a(this,n);for(var s=arguments.length,l=Array(s),c=0;ce[s]&&(r=s)}return r}function o(e,t){if(!t[e])throw new Error("ResponsiveReactGridLayout: `cols` entry for breakpoint "+e+" is missing!");return t[e]}function a(e,t,n,r,o,a){if(e[n])return(0,s.cloneLayout)(e[n]);for(var l=e[r],c=i(t),d=c.slice(c.indexOf(n)),u=0,p=d.length;ut&&(t=n);return t}function a(e){for(var t=Array(e.length),n=0,r=e.length;n=t.x+t.w)&&(!(e.y+e.h<=t.y)&&!(e.y>=t.y+t.h))))}function c(e,t,n){for(var r=g(e),o=x(e,t),a=Array(e.length),s=0,l=o.length;st.y+t.h)break;l(t,s)&&d(e,s,n+t[o],r)}}t[r]=n}function u(e,t,n,r,a){var i="vertical"===n,s="horizontal"===n;if(i)for(t.y=Math.min(o(e),t.y);t.y>0&&!m(e,t);)t.y--;else if(s)for(t.y=Math.min(o(e),t.y);t.x>0&&!m(e,t);)t.x--;for(var l=void 0;l=m(e,t);)s?d(a,t,l.x+l.w,"x"):d(a,t,l.y+l.h,"y"),s&&t.x+t.w>r&&(t.x=r-t.w,t.y++);return t}function p(e,t){for(var n=g(e),r=0,o=e.length;rt.cols&&(a.x=t.cols-a.w),a.x<0&&(a.x=0,a.w=t.cols),a.static)for(;m(n,a);)a.y++;else n.push(a)}return e}function f(e,t){for(var n=0,r=e.length;n=r:"horizontal"===i&&"number"==typeof n&&l>=n)&&(d=d.reverse());var u=h(d,t);if(a&&u.length)return k("Collision prevented on "+t.i+", reverting."),t.x=l,t.y=c,t.moved=!1,e;for(var p=0,f=u.length;pt.y||e.y===t.y&&e.x>t.x?1:e.y===t.y&&e.x===t.x?0:-1})}function j(e){return[].concat(e).sort(function(e,t){return e.x>t.x||e.x===t.x&&e.y>t.y?1:-1})}function E(e,t,n,r){e=e||[];var a=[];return D.default.Children.forEach(t,function(t,n){var r=f(e,String(t.key));if(r)a[n]=i(r);else{!P&&t.props._grid&&console.warn("`_grid` properties on children have been deprecated as of React 15.2. Please use `data-grid` or add your properties directly to the `layout`.");var s=t.props["data-grid"]||t.props._grid;s?(P||S([s],"ReactGridLayout.children"),a[n]=i(T({},s,{i:t.key}))):a[n]=i({w:1,h:1,x:0,y:o(a),i:String(t.key)})}}),a=p(a,{cols:n}),a=c(a,r,n)}function S(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Layout",n=["x","y","w","h"];if(!Array.isArray(e))throw new Error(t+" must be an array!");for(var r=0,o=e.length;r0&&void 0!==arguments[0]?arguments[0]:{},t=(0,w.default)((0,a.default)({fieldNameProp:"id"},e,{fieldMetaProp:P.FIELD_META_PROP}));return function(n){return t((0,T.default)({propTypes:{form:v.default.object.isRequired},childContextTypes:{form:v.default.object.isRequired},getChildContext:function(){return{form:this.props.form}},componentWillMount:function(){this.__getFieldProps=this.props.form.getFieldProps},deprecatedGetFieldProps:function(e,t){return(0,O.default)(!1,"`getFieldProps` is not recommended, please use `getFieldDecorator` instead, see: https://u.ant.design/get-field-decorator"),this.__getFieldProps(e,t)},render:function(){this.props.form.getFieldProps=this.deprecatedGetFieldProps;var t={};return e.withRef?t.ref="formWrappedComponent":this.props.wrappedComponentRef&&(t.ref=this.props.wrappedComponentRef),_.default.createElement(n,(0,a.default)({},this.props,t))}}))}},e.exports=t.default},"./node_modules/_antd@2.13.14@antd/lib/Form/FormItem.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/defineProperty.js"),a=r(o),i=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/extends.js"),s=r(i),l=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/classCallCheck.js"),c=r(l),d=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/createClass.js"),u=r(d),p=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/possibleConstructorReturn.js"),f=r(p),m=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/inherits.js"),h=r(m),g=n("./node_modules/_react@15.6.2@react/react.js"),_=r(g),b=n("./node_modules/_react-dom@15.6.2@react-dom/index.js"),v=n("./node_modules/_prop-types@15.6.2@prop-types/index.js"),y=r(v),A=n("./node_modules/_classnames@2.2.6@classnames/index.js"),x=r(A),w=n("./node_modules/_rc-util@4.6.0@rc-util/lib/PureRenderMixin.js"),j=r(w),E=n("./node_modules/_antd@2.13.14@antd/lib/grid/row.js"),S=r(E),C=n("./node_modules/_antd@2.13.14@antd/lib/grid/col.js"),k=r(C),T=n("./node_modules/_antd@2.13.14@antd/lib/Form/constants.js"),M=n("./node_modules/_antd@2.13.14@antd/lib/_util/warning.js"),O=r(M),L=function(e){function t(){(0,c.default)(this,t);var e=(0,f.default)(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.onLabelClick=function(){var t=e.props.id||e.getId();if(t){if(1!==document.querySelectorAll('[id="'+t+'"]').length){var n=(0,b.findDOMNode)(e).querySelector('[id="'+t+'"]');n&&n.focus&&n.focus()}}},e}return(0,h.default)(t,e),(0,u.default)(t,[{key:"componentDidMount",value:function(){(0,O.default)(this.getControls(this.props.children,!0).length<=1,"`Form.Item` cannot generate `validateStatus` and `help` automatically, while there are more than one `getFieldDecorator` in it.")}},{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),n=0;n0));a++){var i=o[a];(!i.type||i.type!==t&&"FormItem"!==i.type.displayName)&&i.props&&(T.FIELD_META_PROP in i.props?r.push(i):i.props.children&&(r=r.concat(this.getControls(i.props.children,n))))}return r}},{key:"getOnlyControl",value:function(){var e=this.getControls(this.props.children,!1)[0];return void 0!==e?e:null}},{key:"getChildProp",value:function(e){var t=this.getOnlyControl();return t&&t.props&&t.props[e]}},{key:"getId",value:function(){return this.getChildProp("id")}},{key:"getMeta",value:function(){return this.getChildProp(T.FIELD_META_PROP)}},{key:"renderHelp",value:function(){var e=this.props.prefixCls,t=this.getHelpMsg();return t?_.default.createElement("div",{className:e+"-explain",key:"help"},t):null}},{key:"renderExtra",value:function(){var e=this.props,t=e.prefixCls,n=e.extra;return n?_.default.createElement("div",{className:t+"-extra"},n):null}},{key:"getValidateStatus",value:function(){var e=this.context.form,t=e.isFieldValidating,n=e.getFieldError,r=e.getFieldValue,o=this.getId();if(!o)return"";if(t(o))return"validating";if(n(o))return"error";var a=r(o);return void 0!==a&&null!==a&&""!==a?"success":""}},{key:"renderValidateWrapper",value:function(e,t,n){var r="",o=this.context.form,a=this.props,i=void 0===a.validateStatus&&o?this.getValidateStatus():a.validateStatus;return i&&(r=(0,x.default)({"has-feedback":a.hasFeedback||"validating"===i,"has-success":"success"===i,"has-warning":"warning"===i,"has-error":"error"===i,"is-validating":"validating"===i})),_.default.createElement("div",{className:this.props.prefixCls+"-item-control "+r},e,t,n)}},{key:"renderWrapper",value:function(e){var t=this.props,n=t.prefixCls,r=t.wrapperCol,o=(0,x.default)(n+"-item-control-wrapper",r&&r.className);return _.default.createElement(k.default,(0,s.default)({},r,{className:o,key:"wrapper"}),e)}},{key:"isRequired",value:function(){var e=this.props.required;if(void 0!==e)return e;if(this.context.form){return((this.getMeta()||{}).validate||[]).filter(function(e){return!!e.rules}).some(function(e){return e.rules.some(function(e){return e.required})})}return!1}},{key:"renderLabel",value:function(){var e=this.props,t=e.prefixCls,n=e.label,r=e.labelCol,o=e.colon,i=e.id,l=this.context,c=this.isRequired(),d=(0,x.default)(t+"-item-label",r&&r.className),u=(0,x.default)((0,a.default)({},t+"-item-required",c)),p=n;return o&&!l.vertical&&"string"==typeof n&&""!==n.trim()&&(p=n.replace(/[:|:]\s*$/,"")),n?_.default.createElement(k.default,(0,s.default)({},r,{className:d,key:"label"}),_.default.createElement("label",{htmlFor:i||this.getId(),className:u,title:"string"==typeof n?n:"",onClick:this.onLabelClick},p)):null}},{key:"renderChildren",value:function(){var e=this.props,t=_.default.Children.map(e.children,function(e){return e&&"function"==typeof e.type&&!e.props.size?_.default.cloneElement(e,{size:"large"}):e});return[this.renderLabel(),this.renderWrapper(this.renderValidateWrapper(t,this.renderHelp(),this.renderExtra()))]}},{key:"renderFormItem",value:function(e){var t,n=this.props,r=n.prefixCls,o=n.style,i=(t={},(0,a.default)(t,r+"-item",!0),(0,a.default)(t,r+"-item-with-help",!!this.getHelpMsg()),(0,a.default)(t,r+"-item-no-colon",!n.colon),(0,a.default)(t,""+n.className,!!n.className),t);return _.default.createElement(S.default,{className:(0,x.default)(i),style:o},e)}},{key:"render",value:function(){var e=this.renderChildren();return this.renderFormItem(e)}}]),t}(_.default.Component);t.default=L,L.defaultProps={hasFeedback:!1,prefixCls:"ant-form",colon:!0},L.propTypes={prefixCls:y.default.string,label:y.default.oneOfType([y.default.string,y.default.node]),labelCol:y.default.object,help:y.default.oneOfType([y.default.node,y.default.bool]),validateStatus:y.default.oneOf(["","success","warning","error","validating"]),hasFeedback:y.default.bool,wrapperCol:y.default.object,className:y.default.string,id:y.default.string,children:y.default.node,colon:y.default.bool},L.contextTypes={form:y.default.object,vertical:y.default.bool},e.exports=t.default},"./node_modules/_antd@2.13.14@antd/lib/Form/constants.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.FIELD_META_PROP="data-__meta"},"./node_modules/_antd@2.13.14@antd/lib/Form/index.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/_antd@2.13.14@antd/lib/Form/Form.js"),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=o.default,e.exports=t.default},"./node_modules/_antd@2.13.14@antd/lib/_util/getLocale.js":function(e,t,n){"use strict";function r(e,t,n,r){var o={};if(t&&t.antLocale&&t.antLocale[n])o=t.antLocale[n];else{var a=r();o=a.default||a}var s=(0,i.default)({},o,e.locale);return s.lang=(0,i.default)({},o.lang,e.locale.lang),s}function o(e){var t=e.antLocale&&e.antLocale.locale;return e.antLocale&&e.antLocale.exist&&!t?"zh-cn":t}Object.defineProperty(t,"__esModule",{value:!0});var a=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/extends.js"),i=function(e){return e&&e.__esModule?e:{default:e}}(a);t.getComponentLocale=r,t.getLocaleCode=o},"./node_modules/_antd@2.13.14@antd/lib/_util/getRequestAnimationFrame.js":function(e,t,n){"use strict";function r(){var e=0;return function(t){var n=(new Date).getTime(),r=Math.max(0,16-(n-e)),o=window.setTimeout(function(){t(n+r)},r);return e=n+r,o}}function o(){if("undefined"==typeof window)return function(){};if(window.requestAnimationFrame)return window.requestAnimationFrame.bind(window);var e=i.filter(function(e){return e+"RequestAnimationFrame"in window})[0];return e?window[e+"RequestAnimationFrame"]:r()}function a(e){if("undefined"==typeof window)return null;if(window.cancelAnimationFrame)return window.cancelAnimationFrame(e);var t=i.filter(function(e){return e+"CancelAnimationFrame"in window||e+"CancelRequestAnimationFrame"in window})[0];return t?(window[t+"CancelAnimationFrame"]||window[t+"CancelRequestAnimationFrame"]).call(this,e):clearTimeout(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o,t.cancelRequestAnimationFrame=a;var i=["moz","ms","webkit"]},"./node_modules/_antd@2.13.14@antd/lib/_util/isCssAnimationSupported.js":function(e,t,n){"use strict";function r(){if(void 0!==o)return o;var e="Webkit Moz O ms Khtml".split(" "),t=document.createElement("div");if(void 0!==t.style.animationName&&(o=!0),void 0!==o)for(var n=0;n0){var f=[];e=s.map(function(e){e.path=e.path||"";var t=e.path.replace(/^\//,"");return Object.keys(c).forEach(function(e){t=t.replace(":"+e,c[e])}),t&&f.push(t),h.default.createElement(A.default,{separator:n,key:e.breadcrumbName||t},p(e,c,s,f))})}else d&&(e=h.default.Children.map(d,function(e,t){return e?((0,v.default)(e.type&&e.type.__ANT_BREADCRUMB_ITEM,"Breadcrumb only accepts Breadcrumb.Item as it's children"),(0,m.cloneElement)(e,{separator:n,key:t})):e}));return h.default.createElement("div",{className:(0,w.default)(i,r),style:o},e)}}]),t}(h.default.Component);t.default=j,j.defaultProps={prefixCls:"ant-breadcrumb",separator:"/"},j.propTypes={prefixCls:_.default.string,separator:_.default.node,routes:_.default.array,params:_.default.object,linkRender:_.default.func,nameRender:_.default.func},e.exports=t.default},"./node_modules/_antd@2.13.14@antd/lib/breadcrumb/BreadcrumbItem.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/extends.js"),a=r(o),i=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/classCallCheck.js"),s=r(i),l=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/createClass.js"),c=r(l),d=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/possibleConstructorReturn.js"),u=r(d),p=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/inherits.js"),f=r(p),m=n("./node_modules/_react@15.6.2@react/react.js"),h=r(m),g=n("./node_modules/_prop-types@15.6.2@prop-types/index.js"),_=r(g),b=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o-1})}function i(e,t,n){return t.map(function(t,r){var a=t.label,i=a.indexOf(e)>-1?o(a,e,n):a;return 0===r?i:[" / ",i]})}function s(e,t,n){function r(e){return e.label.indexOf(n)>-1}return e.findIndex(r)-t.findIndex(r)}Object.defineProperty(t,"__esModule",{value:!0});var l=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/extends.js"),c=r(l),d=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/defineProperty.js"),u=r(d),p=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/classCallCheck.js"),f=r(p),m=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/createClass.js"),h=r(m),g=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/possibleConstructorReturn.js"),_=r(g),b=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/inherits.js"),v=r(b),y=n("./node_modules/_react@15.6.2@react/react.js"),A=r(y),x=n("./node_modules/_rc-cascader@0.11.6@rc-cascader/lib/index.js"),w=r(x),j=n("./node_modules/_array-tree-filter@1.0.1@array-tree-filter/index.js"),E=r(j),S=n("./node_modules/_classnames@2.2.6@classnames/index.js"),C=r(S),k=n("./node_modules/_omit.js@1.0.0@omit.js/lib/index.js"),T=r(k),M=n("./node_modules/_rc-util@4.6.0@rc-util/lib/KeyCode.js"),O=r(M),L=n("./node_modules/_antd@2.13.14@antd/lib/input/index.js"),D=r(L),P=n("./node_modules/_antd@2.13.14@antd/lib/icon/index.js"),I=r(P),R=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o1&&void 0!==arguments[1]?arguments[1]:[];"value"in n.props||n.setState({value:e});var r=n.props.onChange;r&&r(e,t)},n.clearSelection=function(e){e.preventDefault(),e.stopPropagation(),n.state.inputValue?n.setState({inputValue:""}):(n.setValue([]),n.handlePopupVisibleChange(!1))},n.state={value:e.value||e.defaultValue||[],inputValue:"",inputFocused:!1,popupVisible:e.popupVisible,flattenOptions:e.showSearch&&n.flattenTree(e.options,e.changeOnSelect)},n}return(0,v.default)(t,e),(0,h.default)(t,[{key:"componentWillReceiveProps",value:function(e){"value"in e&&this.setState({value:e.value||[]}),"popupVisible"in e&&this.setState({popupVisible:e.popupVisible}),e.showSearch&&this.props.options!==e.options&&this.setState({flattenOptions:this.flattenTree(e.options,e.changeOnSelect)})}},{key:"getLabel",value:function(){var e=this.props,t=e.options,n=e.displayRender,r=void 0===n?N:n,o=this.state.value,a=Array.isArray(o[0])?o[0]:o,i=(0,E.default)(t,function(e,t){return e.value===a[t]});return r(i.map(function(e){return e.label}),i)}},{key:"flattenTree",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=[];return e.forEach(function(e){var a=r.concat(e);!t&&e.children&&e.children.length||o.push(a),e.children&&(o=o.concat(n.flattenTree(e.children,t,a)))}),o}},{key:"generateFilteredOptions",value:function(e){var t=this,n=this.props,r=n.showSearch,o=n.notFoundContent,l=r.filter,c=void 0===l?a:l,d=r.render,u=void 0===d?i:d,p=r.sort,f=void 0===p?s:p,m=this.state,h=m.flattenOptions,g=m.inputValue,_=h.filter(function(e){return c(t.state.inputValue,e)}).sort(function(e,t){return f(e,t,g)});return _.length>0?_.map(function(t){return{__IS_FILTERED_OPTION:!0,path:t,label:u(g,t,e),value:t.map(function(e){return e.value}),disabled:t.some(function(e){return e.disabled})}}):[{label:o,value:"ANT_CASCADER_NOT_FOUND",disabled:!0}]}},{key:"render",value:function(){var e,t,n,r=this.props,o=this.state,a=r.prefixCls,i=r.inputPrefixCls,s=r.children,l=r.placeholder,d=r.size,p=r.disabled,f=r.className,m=r.style,h=r.allowClear,g=r.showSearch,_=void 0!==g&&g,b=R(r,["prefixCls","inputPrefixCls","children","placeholder","size","disabled","className","style","allowClear","showSearch"]),v=o.value,y=(0,C.default)((e={},(0,u.default)(e,i+"-lg","large"===d),(0,u.default)(e,i+"-sm","small"===d),e)),x=h&&!p&&v.length>0||o.inputValue?A.default.createElement(I.default,{type:"cross-circle",className:a+"-picker-clear",onClick:this.clearSelection}):null,j=(0,C.default)((t={},(0,u.default)(t,a+"-picker-arrow",!0),(0,u.default)(t,a+"-picker-arrow-expand",o.popupVisible),t)),E=(0,C.default)(f,(n={},(0,u.default)(n,a+"-picker",!0),(0,u.default)(n,a+"-picker-with-value",o.inputValue),(0,u.default)(n,a+"-picker-disabled",p),n)),S=(0,T.default)(b,["onChange","options","popupPlacement","transitionName","displayRender","onPopupVisibleChange","changeOnSelect","expandTrigger","popupVisible","getPopupContainer","loadData","popupClassName","filterOption","renderFilteredOption","sortFilteredOption","notFoundContent"]),k=r.options;o.inputValue&&(k=this.generateFilteredOptions(a)),o.popupVisible?this.cachedOptions=k:k=this.cachedOptions;var M={};1===(k||[]).length&&"ANT_CASCADER_NOT_FOUND"===k[0].value&&(M.height="auto"),!1!==_.matchInputWidth&&o.inputValue&&this.refs.input&&(M.width=this.refs.input.refs.input.offsetWidth);var O=s||A.default.createElement("span",{style:m,className:E},A.default.createElement("span",{className:a+"-picker-label"},this.getLabel()),A.default.createElement(D.default,(0,c.default)({},S,{ref:"input",prefixCls:i,placeholder:v&&v.length>0?void 0:l,className:a+"-input "+y,value:o.inputValue,disabled:p,readOnly:!_,autoComplete:"off",onClick:_?this.handleInputClick:void 0,onBlur:_?this.handleInputBlur:void 0,onKeyDown:this.handleKeyDown,onChange:_?this.handleInputChange:void 0})),x,A.default.createElement(I.default,{type:"down",className:j}));return A.default.createElement(w.default,(0,c.default)({},r,{options:k,value:v,popupVisible:o.popupVisible,onPopupVisibleChange:this.handlePopupVisibleChange,onChange:this.handleChange,dropdownMenuColumnStyle:M}),O)}}]),t}(A.default.Component);t.default=F,F.defaultProps={prefixCls:"ant-cascader",inputPrefixCls:"ant-input",placeholder:"Please select",transitionName:"slide-up",popupPlacement:"bottomLeft",options:[],disabled:!1,allowClear:!0,notFoundContent:"Not Found"},e.exports=t.default},"./node_modules/_antd@2.13.14@antd/lib/checkbox/Checkbox.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/defineProperty.js"),a=r(o),i=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/extends.js"),s=r(i),l=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/classCallCheck.js"),c=r(l),d=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/createClass.js"),u=r(d),p=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/possibleConstructorReturn.js"),f=r(p),m=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/inherits.js"),h=r(m),g=n("./node_modules/_react@15.6.2@react/react.js"),_=r(g),b=n("./node_modules/_prop-types@15.6.2@prop-types/index.js"),v=r(b),y=n("./node_modules/_classnames@2.2.6@classnames/index.js"),A=r(y),x=n("./node_modules/_rc-checkbox@2.0.3@rc-checkbox/lib/index.js"),w=r(x),j=n("./node_modules/_shallowequal@1.1.0@shallowequal/index.js"),E=r(j),S=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o0&&(i=this.getOptions().map(function(o){return h.default.createElement(w.default,{key:o.value,disabled:"disabled"in o?o.disabled:t.disabled,value:o.value,checked:-1!==n.value.indexOf(o.value),onChange:function(){return e.toggleOption(o)},className:r+"-item"},o.label)}));var s=(0,v.default)(r,o);return h.default.createElement("div",{className:s},i)}}]),t}(h.default.Component);t.default=j,j.defaultProps={options:[],prefixCls:"ant-checkbox-group"},j.propTypes={defaultValue:_.default.array,value:_.default.array,options:_.default.array.isRequired,onChange:_.default.func},j.childContextTypes={checkboxGroup:_.default.any},e.exports=t.default},"./node_modules/_antd@2.13.14@antd/lib/checkbox/index.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/_antd@2.13.14@antd/lib/checkbox/Checkbox.js"),a=r(o),i=n("./node_modules/_antd@2.13.14@antd/lib/checkbox/Group.js"),s=r(i);a.default.Group=s.default,t.default=a.default,e.exports=t.default},"./node_modules/_antd@2.13.14@antd/lib/col/index.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/_antd@2.13.14@antd/lib/grid/index.js");t.default=r.Col,e.exports=t.default},"./node_modules/_antd@2.13.14@antd/lib/collapse/Collapse.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CollapsePanel=void 0;var o=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/extends.js"),a=r(o),i=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/defineProperty.js"),s=r(i),l=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/createClass.js"),c=r(l),d=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/classCallCheck.js"),u=r(d),p=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/possibleConstructorReturn.js"),f=r(p),m=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/inherits.js"),h=r(m),g=n("./node_modules/_react@15.6.2@react/react.js"),_=r(g),b=n("./node_modules/_rc-collapse@1.7.7@rc-collapse/lib/index.js"),v=r(b),y=n("./node_modules/_classnames@2.2.6@classnames/index.js"),A=r(y),x=n("./node_modules/_antd@2.13.14@antd/lib/_util/openAnimation.js"),w=r(x),j=(t.CollapsePanel=function(e){function t(){return(0,u.default)(this,t),(0,f.default)(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return(0,h.default)(t,e),t}(_.default.Component),function(e){function t(){return(0,u.default)(this,t),(0,f.default)(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return(0,h.default)(t,e),(0,c.default)(t,[{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.className,r=void 0===n?"":n,o=e.bordered,i=(0,A.default)((0,s.default)({},t+"-borderless",!o),r);return _.default.createElement(v.default,(0,a.default)({},this.props,{className:i}))}}]),t}(_.default.Component));t.default=j,j.Panel=v.default.Panel,j.defaultProps={prefixCls:"ant-collapse",bordered:!0,openAnimation:(0,a.default)({},w.default,{appear:function(){}})}},"./node_modules/_antd@2.13.14@antd/lib/collapse/index.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/_antd@2.13.14@antd/lib/collapse/Collapse.js"),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=o.default,e.exports=t.default},"./node_modules/_antd@2.13.14@antd/lib/date-picker/Calendar.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/classCallCheck.js"),a=r(o),i=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/createClass.js"),s=r(i),l=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/possibleConstructorReturn.js"),c=r(l),d=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/inherits.js"),u=r(d),p=n("./node_modules/_react@15.6.2@react/react.js"),f=r(p),m=n("./node_modules/_rc-calendar@9.0.4@rc-calendar/lib/locale/zh_CN.js"),h=r(m),g=n("./node_modules/_rc-calendar@9.0.4@rc-calendar/lib/index.js"),_=r(g),b=n("./node_modules/_warning@3.0.0@warning/browser.js"),v=r(b),y=function(e){function t(){return(0,a.default)(this,t),(0,c.default)(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return(0,u.default)(t,e),(0,s.default)(t,[{key:"render",value:function(){return(0,v.default)(!1,"DatePicker.Calendar is deprecated, use Calendar instead."),f.default.createElement(_.default,this.props)}}]),t}(f.default.Component);t.default=y,y.defaultProps={locale:h.default,prefixCls:"ant-calendar"},e.exports=t.default},"./node_modules/_antd@2.13.14@antd/lib/date-picker/RangePicker.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=(0,A.default)(e,2),n=t[0],r=t[1];if(n||r){return[n,r&&r.isSame(n,"month")?r.clone().add(1,"month"):r]}}function a(e,t){return e&&e.format(t)||""}function i(e){if(e)return Array.isArray(e)?e:[e,e.clone().add(1,"month")]}function s(e){return!!Array.isArray(e)&&(0===e.length||e.every(function(e){return!e}))}Object.defineProperty(t,"__esModule",{value:!0});var l=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/extends.js"),c=r(l),d=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/defineProperty.js"),u=r(d),p=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/classCallCheck.js"),f=r(p),m=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/createClass.js"),h=r(m),g=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/possibleConstructorReturn.js"),_=r(g),b=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/inherits.js"),v=r(b),y=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/slicedToArray.js"),A=r(y),x=n("./node_modules/_react@15.6.2@react/react.js"),w=r(x),j=n("./node_modules/_moment@2.22.2@moment/src/moment.js"),E=r(j),S=n("./node_modules/_prop-types@15.6.2@prop-types/index.js"),C=r(S),k=n("./node_modules/_rc-calendar@9.0.4@rc-calendar/lib/RangeCalendar.js"),T=r(k),M=n("./node_modules/_rc-calendar@9.0.4@rc-calendar/lib/Picker.js"),O=r(M),L=n("./node_modules/_classnames@2.2.6@classnames/index.js"),D=r(L),P=n("./node_modules/_antd@2.13.14@antd/lib/icon/index.js"),I=r(P),R=n("./node_modules/_antd@2.13.14@antd/lib/_util/getLocale.js"),N=n("./node_modules/_antd@2.13.14@antd/lib/_util/warning.js"),F=r(N),B=function(e){function t(e){(0,f.default)(this,t);var n=(0,_.default)(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));n.clearSelection=function(e){e.preventDefault(),e.stopPropagation(),n.setState({value:[]}),n.handleChange([])},n.clearHoverValue=function(){return n.setState({hoverValue:[]})},n.handleChange=function(e){var t=n.props;"value"in t||n.setState(function(t){var n=t.showDate;return{value:e,showDate:o(e)||n}}),t.onChange(e,[a(e[0],t.format),a(e[1],t.format)])},n.handleOpenChange=function(e){"open"in n.props||n.setState({open:e});var t=n.props.onOpenChange;t&&t(e)},n.handleShowDateChange=function(e){return n.setState({showDate:e})},n.handleHoverChange=function(e){return n.setState({hoverValue:e})},n.renderFooter=function(){var e=n.props,t=e.prefixCls,r=e.ranges,o=e.renderExtraFooter;if(!r&&!o)return null;var a=o?w.default.createElement("div",{className:t+"-footer-extra",key:"extra"},o.apply(void 0,arguments)):null,i=Object.keys(r||{}).map(function(e){var t=r[e];return w.default.createElement("a",{key:e,onClick:function(){return n.setValue(t,!0)},onMouseEnter:function(){return n.setState({hoverValue:t})},onMouseLeave:n.clearHoverValue},e)});return[w.default.createElement("div",{className:t+"-footer-extra "+t+"-range-quick-selector",key:"range"},i),a]};var r=e.value||e.defaultValue||[];if(r[0]&&!E.default.isMoment(r[0])||r[1]&&!E.default.isMoment(r[1]))throw new Error("The value/defaultValue of RangePicker must be a moment object array after `antd@2.0`, see: https://u.ant.design/date-picker-value");var l=!r||s(r)?e.defaultPickerValue:r;return n.state={value:r,showDate:i(l||(0,E.default)()),open:e.open,hoverValue:[]},n}return(0,v.default)(t,e),(0,h.default)(t,[{key:"componentWillReceiveProps",value:function(e){if("value"in e){var t=this.state,n=e.value||[];this.setState({value:n,showDate:o(n)||t.showDate})}"open"in e&&this.setState({open:e.open})}},{key:"setValue",value:function(e,t){this.handleChange(e),!t&&this.props.showTime||"open"in this.props||this.setState({open:!1})}},{key:"render",value:function(){var e,t=this,n=this.state,r=this.props,o=this.context,a=n.value,i=n.showDate,s=n.hoverValue,l=n.open,d=(0,R.getLocaleCode)(o);a&&d&&(a[0]&&a[0].locale(d),a[1]&&a[1].locale(d));var p=r.prefixCls,f=r.popupStyle,m=r.style,h=r.disabledDate,g=r.disabledTime,_=r.showTime,b=r.showToday,v=r.ranges,y=r.onOk,A=r.locale,x=r.format;(0,F.default)(!("onOK"in r),"It should be `RangePicker[onOk]`, instead of `onOK`!");var j=(0,D.default)((e={},(0,u.default)(e,p+"-time",_),(0,u.default)(e,p+"-range-with-ranges",v),e)),E={onChange:this.handleChange},S={onOk:this.handleChange};r.timePicker?E.onChange=function(e){return t.handleChange(e)}:S={};var C="placeholder"in r?r.placeholder[0]:A.lang.rangePlaceholder[0],k="placeholder"in r?r.placeholder[1]:A.lang.rangePlaceholder[1],M=w.default.createElement(T.default,(0,c.default)({},S,{format:x,prefixCls:p,className:j,renderFooter:this.renderFooter,timePicker:r.timePicker,disabledDate:h,disabledTime:g,dateInputPlaceholder:[C,k],locale:A.lang,onOk:y,value:i,onValueChange:this.handleShowDateChange,hoverValue:s,onHoverChange:this.handleHoverChange,showToday:b})),L={};r.showTime&&(L.width=m&&m.width||300);var P=!r.disabled&&r.allowClear&&a&&(a[0]||a[1])?w.default.createElement(I.default,{type:"cross-circle",className:p+"-picker-clear",onClick:this.clearSelection}):null,N=function(e){var t=e.value,n=t[0],o=t[1];return w.default.createElement("span",{className:r.pickerInputClass},w.default.createElement("input",{disabled:r.disabled,readOnly:!0,value:n&&n.format(r.format)||"",placeholder:C,className:p+"-range-picker-input"}),w.default.createElement("span",{className:p+"-range-picker-separator"}," ~ "),w.default.createElement("input",{disabled:r.disabled,readOnly:!0,value:o&&o.format(r.format)||"",placeholder:k,className:p+"-range-picker-input"}),P,w.default.createElement("span",{className:p+"-picker-icon"}))};return w.default.createElement("span",{className:(0,D.default)(r.className,r.pickerClass),style:(0,c.default)({},m,L)},w.default.createElement(O.default,(0,c.default)({},r,E,{calendar:M,value:a,open:l,onOpenChange:this.handleOpenChange,prefixCls:p+"-picker-container",style:f}),N))}}]),t}(w.default.Component);t.default=B,B.contextTypes={antLocale:C.default.object},B.defaultProps={prefixCls:"ant-calendar",allowClear:!0,showToday:!1},e.exports=t.default},"./node_modules/_antd@2.13.14@antd/lib/date-picker/createPicker.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return t=function(t){function n(e){(0,d.default)(this,n);var t=(0,m.default)(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));t.renderFooter=function(){var e=t.props,n=e.prefixCls,r=e.renderExtraFooter;return r?b.default.createElement("div",{className:n+"-footer-extra"},r.apply(void 0,arguments)):null},t.clearSelection=function(e){e.preventDefault(),e.stopPropagation(),t.handleChange(null)},t.handleChange=function(e){var n=t.props;"value"in n||t.setState({value:e,showDate:e}),n.onChange(e,e&&e.format(n.format)||"")},t.handleCalendarChange=function(e){t.setState({showDate:e})};var r=e.value||e.defaultValue;if(r&&!x.default.isMoment(r))throw new Error("The value/defaultValue of DatePicker or MonthPicker must be a moment object after `antd@2.0`, see: https://u.ant.design/date-picker-value");return t.state={value:r,showDate:r},t}return(0,g.default)(n,t),(0,p.default)(n,[{key:"componentWillReceiveProps",value:function(e){"value"in e&&this.setState({value:e.value,showDate:e.value})}},{key:"render",value:function(){var t,n=this.state,r=n.value,o=n.showDate,a=(0,M.default)(this.props,["onChange"]),s=a.prefixCls,c=a.locale,d="placeholder"in a?a.placeholder:c.lang.placeholder,u=a.showTime?a.disabledTime:null,p=(0,k.default)((t={},(0,l.default)(t,s+"-time",a.showTime),(0,l.default)(t,s+"-month",j.default===e),t)),f={},m={};a.showTime?m={onSelect:this.handleChange}:f={onChange:this.handleChange},(0,I.default)(!("onOK"in a),"It should be `DatePicker[onOk]` or `MonthPicker[onOk]`, instead of `onOK`!");var h=b.default.createElement(e,(0,i.default)({},m,{disabledDate:a.disabledDate,disabledTime:u,locale:c.lang,timePicker:a.timePicker,defaultValue:a.defaultPickerValue||(0,x.default)(),dateInputPlaceholder:d,prefixCls:s,className:p,onOk:a.onOk,format:a.format,showToday:a.showToday,monthCellContentRender:a.monthCellContentRender,renderFooter:this.renderFooter,onChange:this.handleCalendarChange,value:o})),g={};a.showTime&&(g.width=a.style&&a.style.width||154);var _=!a.disabled&&a.allowClear&&r?b.default.createElement(L.default,{type:"cross-circle",className:s+"-picker-clear",onClick:this.clearSelection}):null,v=function(e){var t=e.value;return b.default.createElement("div",null,b.default.createElement("input",{disabled:a.disabled,readOnly:!0,value:t&&t.format(a.format)||"",placeholder:d,className:a.pickerInputClass}),_,b.default.createElement("span",{className:s+"-picker-icon"}))},y=r,A=(0,D.getLocaleCode)(this.context);y&&A&&y.locale(A);var w=(0,i.default)({},a.style,g);return b.default.createElement("span",{className:(0,k.default)(a.className,a.pickerClass),style:w},b.default.createElement(S.default,(0,i.default)({},a,f,{calendar:h,value:r,prefixCls:s+"-picker-container",style:a.popupStyle}),v))}}]),n}(b.default.Component),t.contextTypes={antLocale:y.default.object},t.defaultProps={prefixCls:"ant-calendar",allowClear:!0,showToday:!0},t;var t}Object.defineProperty(t,"__esModule",{value:!0});var a=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/extends.js"),i=r(a),s=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/defineProperty.js"),l=r(s),c=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/classCallCheck.js"),d=r(c),u=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/createClass.js"),p=r(u),f=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/possibleConstructorReturn.js"),m=r(f),h=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/inherits.js"),g=r(h);t.default=o;var _=n("./node_modules/_react@15.6.2@react/react.js"),b=r(_),v=n("./node_modules/_prop-types@15.6.2@prop-types/index.js"),y=r(v),A=n("./node_modules/_moment@2.22.2@moment/src/moment.js"),x=r(A),w=n("./node_modules/_rc-calendar@9.0.4@rc-calendar/lib/MonthCalendar.js"),j=r(w),E=n("./node_modules/_rc-calendar@9.0.4@rc-calendar/lib/Picker.js"),S=r(E),C=n("./node_modules/_classnames@2.2.6@classnames/index.js"),k=r(C),T=n("./node_modules/_omit.js@1.0.0@omit.js/lib/index.js"),M=r(T),O=n("./node_modules/_antd@2.13.14@antd/lib/icon/index.js"),L=r(O),D=n("./node_modules/_antd@2.13.14@antd/lib/_util/getLocale.js"),P=n("./node_modules/_antd@2.13.14@antd/lib/_util/warning.js"),I=r(P);e.exports=t.default},"./node_modules/_antd@2.13.14@antd/lib/date-picker/index.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/extends.js"),a=r(o),i=n("./node_modules/_rc-calendar@9.0.4@rc-calendar/lib/index.js"),s=r(i),l=n("./node_modules/_rc-calendar@9.0.4@rc-calendar/lib/MonthCalendar.js"),c=r(l),d=n("./node_modules/_antd@2.13.14@antd/lib/date-picker/createPicker.js"),u=r(d),p=n("./node_modules/_antd@2.13.14@antd/lib/date-picker/wrapPicker.js"),f=r(p),m=n("./node_modules/_antd@2.13.14@antd/lib/date-picker/RangePicker.js"),h=r(m),g=n("./node_modules/_antd@2.13.14@antd/lib/date-picker/Calendar.js"),_=r(g),b=(0,f.default)((0,u.default)(s.default)),v=(0,f.default)((0,u.default)(c.default),"YYYY-MM");(0,a.default)(b,{RangePicker:(0,f.default)(h.default),Calendar:_.default,MonthPicker:v}),t.default=b,e.exports=t.default},"./node_modules/_antd@2.13.14@antd/lib/date-picker/locale/zh_CN.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/extends.js"),a=r(o),i=n("./node_modules/_rc-calendar@9.0.4@rc-calendar/lib/locale/zh_CN.js"),s=r(i),l=n("./node_modules/_antd@2.13.14@antd/lib/time-picker/locale/zh_CN.js"),c=r(l),d=n("./node_modules/_moment@2.22.2@moment/src/moment.js"),u=r(d);n("./node_modules/_moment@2.22.2@moment/locale/zh-cn.js"),u.default.locale("zh-cn");var p={lang:(0,a.default)({placeholder:"请选择日期",rangePlaceholder:["开始日期","结束日期"]},s.default),timePickerLocale:(0,a.default)({},c.default)};p.lang.ok="确 定",t.default=p,e.exports=t.default},"./node_modules/_antd@2.13.14@antd/lib/date-picker/wrapPicker.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.showHour,n=e.showMinute,r=e.showSecond,o=e.use12Hours,a=0;return t&&(a+=1),n&&(a+=1),r&&(a+=1),o&&(a+=1),a}function a(e,t){return r=function(t){function r(){(0,u.default)(this,r);var e=(0,h.default)(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments));return e.handleOpenChange=function(t){var n=e.props,r=n.onOpenChange,o=n.toggleOpen;r(t),o&&((0,k.default)(!1,"`toggleOpen` is deprecated and will be removed in the future, please use `onOpenChange` instead, see: https://u.ant.design/date-picker-on-open-change"),o({open:t}))},e}return(0,_.default)(r,t),(0,f.default)(r,[{key:"render",value:function(){var t,r=this.props,a=r.prefixCls,i=r.inputPrefixCls,l=(0,E.default)((0,c.default)({},a+"-picker",!0)),d=(0,E.default)(a+"-picker-input",i,(t={},(0,c.default)(t,i+"-lg","large"===r.size),(0,c.default)(t,i+"-sm","small"===r.size),(0,c.default)(t,i+"-disabled",r.disabled),t)),u=(0,T.getComponentLocale)(r,this.context,"DatePicker",function(){return n("./node_modules/_antd@2.13.14@antd/lib/date-picker/locale/zh_CN.js")}),p=r.showTime&&r.showTime.format||"HH:mm:ss",f=(0,s.default)({},(0,S.generateShowHourMinuteSecond)(p),{format:p,use12Hours:r.showTime&&r.showTime.use12Hours}),m=o(f),h=a+"-time-picker-column-"+m,g=r.showTime?v.default.createElement(w.default,(0,s.default)({},f,r.showTime,{prefixCls:a+"-time-picker",className:h,placeholder:u.timePickerLocale.placeholder,transitionName:"slide-up"})):null;return v.default.createElement(e,(0,s.default)({},r,{pickerClass:l,pickerInputClass:d,locale:u,timePicker:g,onOpenChange:this.handleOpenChange}))}}]),r}(v.default.Component),r.contextTypes={antLocale:A.default.object},r.defaultProps={format:t||"YYYY-MM-DD",transitionName:"slide-up",popupStyle:{},onChange:function(){},onOk:function(){},onOpenChange:function(){},locale:{},prefixCls:"ant-calendar",inputPrefixCls:"ant-input"},r;var r}Object.defineProperty(t,"__esModule",{value:!0});var i=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/extends.js"),s=r(i),l=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/defineProperty.js"),c=r(l),d=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/classCallCheck.js"),u=r(d),p=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/createClass.js"),f=r(p),m=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/possibleConstructorReturn.js"),h=r(m),g=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/inherits.js"),_=r(g);t.default=a;var b=n("./node_modules/_react@15.6.2@react/react.js"),v=r(b),y=n("./node_modules/_prop-types@15.6.2@prop-types/index.js"),A=r(y),x=n("./node_modules/_rc-time-picker@2.4.1@rc-time-picker/lib/Panel.js"),w=r(x),j=n("./node_modules/_classnames@2.2.6@classnames/index.js"),E=r(j),S=n("./node_modules/_antd@2.13.14@antd/lib/time-picker/index.js"),C=n("./node_modules/_antd@2.13.14@antd/lib/_util/warning.js"),k=r(C),T=n("./node_modules/_antd@2.13.14@antd/lib/_util/getLocale.js");e.exports=t.default},"./node_modules/_antd@2.13.14@antd/lib/dropdown/dropdown-button.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/extends.js"),a=r(o),i=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/classCallCheck.js"),s=r(i),l=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/createClass.js"),c=r(l),d=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/possibleConstructorReturn.js"),u=r(d),p=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/inherits.js"),f=r(p),m=n("./node_modules/_react@15.6.2@react/react.js"),h=r(m),g=n("./node_modules/_antd@2.13.14@antd/lib/button/index.js"),_=r(g),b=n("./node_modules/_antd@2.13.14@antd/lib/icon/index.js"),v=r(b),y=n("./node_modules/_antd@2.13.14@antd/lib/dropdown/dropdown.js"),A=r(y),x=n("./node_modules/_classnames@2.2.6@classnames/index.js"),w=r(x),j=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o=0?"slide-down":"slide-up"}},{key:"componentDidMount",value:function(){var e=this.props.overlay,t=e.props;(0,A.default)(!t.mode||"vertical"===t.mode,'mode="'+t.mode+"\" is not supported for Dropdown's Menu.")}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.prefixCls,r=e.overlay,o=e.trigger,i=e.disabled,s=(0,m.cloneElement)(t,{className:(0,v.default)(t.props.className,n+"-trigger"),disabled:i}),l=r&&r.props,c=!!(l&&"selectable"in l)&&l.selectable,d=(0,m.cloneElement)(r,{mode:"vertical",selectable:c});return h.default.createElement(_.default,(0,a.default)({},this.props,{transitionName:this.getTransitionName(),trigger:i?[]:o,overlay:d}),s)}}]),t}(h.default.Component);t.default=x,x.defaultProps={prefixCls:"ant-dropdown",mouseEnterDelay:.15,mouseLeaveDelay:.1,placement:"bottomLeft"},e.exports=t.default},"./node_modules/_antd@2.13.14@antd/lib/dropdown/index.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/_antd@2.13.14@antd/lib/dropdown/dropdown.js"),a=r(o),i=n("./node_modules/_antd@2.13.14@antd/lib/dropdown/dropdown-button.js"),s=r(i);a.default.Button=s.default,t.default=a.default,e.exports=t.default},"./node_modules/_antd@2.13.14@antd/lib/form/Form.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/extends.js"),a=r(o),i=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/defineProperty.js"),s=r(i),l=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/classCallCheck.js"),c=r(l),d=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/createClass.js"),u=r(d),p=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/possibleConstructorReturn.js"),f=r(p),m=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/inherits.js"),h=r(m),g=n("./node_modules/_react@15.6.2@react/react.js"),_=r(g),b=n("./node_modules/_prop-types@15.6.2@prop-types/index.js"),v=r(b),y=n("./node_modules/_classnames@2.2.6@classnames/index.js"),A=r(y),x=n("./node_modules/_rc-form@1.4.8@rc-form/lib/createDOMForm.js"),w=r(x),j=n("./node_modules/_rc-util@4.6.0@rc-util/lib/PureRenderMixin.js"),E=r(j),S=n("./node_modules/_omit.js@1.0.0@omit.js/lib/index.js"),C=r(S),k=n("./node_modules/_create-react-class@15.6.3@create-react-class/index.js"),T=r(k),M=n("./node_modules/_antd@2.13.14@antd/lib/_util/warning.js"),O=r(M),L=n("./node_modules/_antd@2.13.14@antd/lib/form/FormItem.js"),D=r(L),P=n("./node_modules/_antd@2.13.14@antd/lib/form/constants.js"),I=function(e){function t(e){(0,c.default)(this,t);var n=(0,f.default)(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return(0,O.default)(!e.form,"It is unnecessary to pass `form` to `Form` after antd@1.7.0."),n}return(0,h.default)(t,e),(0,u.default)(t,[{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),n=0;n0&&void 0!==arguments[0]?arguments[0]:{},t=(0,w.default)((0,a.default)({fieldNameProp:"id"},e,{fieldMetaProp:P.FIELD_META_PROP}));return function(n){return t((0,T.default)({propTypes:{form:v.default.object.isRequired},childContextTypes:{form:v.default.object.isRequired},getChildContext:function(){return{form:this.props.form}},componentWillMount:function(){this.__getFieldProps=this.props.form.getFieldProps},deprecatedGetFieldProps:function(e,t){return(0,O.default)(!1,"`getFieldProps` is not recommended, please use `getFieldDecorator` instead, see: https://u.ant.design/get-field-decorator"),this.__getFieldProps(e,t)},render:function(){this.props.form.getFieldProps=this.deprecatedGetFieldProps;var t={};return e.withRef?t.ref="formWrappedComponent":this.props.wrappedComponentRef&&(t.ref=this.props.wrappedComponentRef),_.default.createElement(n,(0,a.default)({},this.props,t))}}))}},e.exports=t.default},"./node_modules/_antd@2.13.14@antd/lib/form/FormItem.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/defineProperty.js"),a=r(o),i=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/extends.js"),s=r(i),l=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/classCallCheck.js"),c=r(l),d=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/createClass.js"),u=r(d),p=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/possibleConstructorReturn.js"),f=r(p),m=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/inherits.js"),h=r(m),g=n("./node_modules/_react@15.6.2@react/react.js"),_=r(g),b=n("./node_modules/_react-dom@15.6.2@react-dom/index.js"),v=n("./node_modules/_prop-types@15.6.2@prop-types/index.js"),y=r(v),A=n("./node_modules/_classnames@2.2.6@classnames/index.js"),x=r(A),w=n("./node_modules/_rc-util@4.6.0@rc-util/lib/PureRenderMixin.js"),j=r(w),E=n("./node_modules/_antd@2.13.14@antd/lib/grid/row.js"),S=r(E),C=n("./node_modules/_antd@2.13.14@antd/lib/grid/col.js"),k=r(C),T=n("./node_modules/_antd@2.13.14@antd/lib/form/constants.js"),M=n("./node_modules/_antd@2.13.14@antd/lib/_util/warning.js"),O=r(M),L=function(e){function t(){(0,c.default)(this,t);var e=(0,f.default)(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.onLabelClick=function(){var t=e.props.id||e.getId();if(t){if(1!==document.querySelectorAll('[id="'+t+'"]').length){var n=(0,b.findDOMNode)(e).querySelector('[id="'+t+'"]');n&&n.focus&&n.focus()}}},e}return(0,h.default)(t,e),(0,u.default)(t,[{key:"componentDidMount",value:function(){(0,O.default)(this.getControls(this.props.children,!0).length<=1,"`Form.Item` cannot generate `validateStatus` and `help` automatically, while there are more than one `getFieldDecorator` in it.")}},{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),n=0;n0));a++){var i=o[a];(!i.type||i.type!==t&&"FormItem"!==i.type.displayName)&&i.props&&(T.FIELD_META_PROP in i.props?r.push(i):i.props.children&&(r=r.concat(this.getControls(i.props.children,n))))}return r}},{key:"getOnlyControl",value:function(){var e=this.getControls(this.props.children,!1)[0];return void 0!==e?e:null}},{key:"getChildProp",value:function(e){var t=this.getOnlyControl();return t&&t.props&&t.props[e]}},{key:"getId",value:function(){return this.getChildProp("id")}},{key:"getMeta",value:function(){return this.getChildProp(T.FIELD_META_PROP)}},{key:"renderHelp",value:function(){var e=this.props.prefixCls,t=this.getHelpMsg();return t?_.default.createElement("div",{className:e+"-explain",key:"help"},t):null}},{key:"renderExtra",value:function(){var e=this.props,t=e.prefixCls,n=e.extra;return n?_.default.createElement("div",{className:t+"-extra"},n):null}},{key:"getValidateStatus",value:function(){var e=this.context.form,t=e.isFieldValidating,n=e.getFieldError,r=e.getFieldValue,o=this.getId();if(!o)return"";if(t(o))return"validating";if(n(o))return"error";var a=r(o);return void 0!==a&&null!==a&&""!==a?"success":""}},{key:"renderValidateWrapper",value:function(e,t,n){var r="",o=this.context.form,a=this.props,i=void 0===a.validateStatus&&o?this.getValidateStatus():a.validateStatus;return i&&(r=(0,x.default)({"has-feedback":a.hasFeedback||"validating"===i,"has-success":"success"===i,"has-warning":"warning"===i,"has-error":"error"===i,"is-validating":"validating"===i})),_.default.createElement("div",{className:this.props.prefixCls+"-item-control "+r},e,t,n)}},{key:"renderWrapper",value:function(e){var t=this.props,n=t.prefixCls,r=t.wrapperCol,o=(0,x.default)(n+"-item-control-wrapper",r&&r.className);return _.default.createElement(k.default,(0,s.default)({},r,{className:o,key:"wrapper"}),e)}},{key:"isRequired",value:function(){var e=this.props.required;if(void 0!==e)return e;if(this.context.form){return((this.getMeta()||{}).validate||[]).filter(function(e){return!!e.rules}).some(function(e){return e.rules.some(function(e){return e.required})})}return!1}},{key:"renderLabel",value:function(){var e=this.props,t=e.prefixCls,n=e.label,r=e.labelCol,o=e.colon,i=e.id,l=this.context,c=this.isRequired(),d=(0,x.default)(t+"-item-label",r&&r.className),u=(0,x.default)((0,a.default)({},t+"-item-required",c)),p=n;return o&&!l.vertical&&"string"==typeof n&&""!==n.trim()&&(p=n.replace(/[:|:]\s*$/,"")),n?_.default.createElement(k.default,(0,s.default)({},r,{className:d,key:"label"}),_.default.createElement("label",{htmlFor:i||this.getId(),className:u,title:"string"==typeof n?n:"",onClick:this.onLabelClick},p)):null}},{key:"renderChildren",value:function(){var e=this.props,t=_.default.Children.map(e.children,function(e){return e&&"function"==typeof e.type&&!e.props.size?_.default.cloneElement(e,{size:"large"}):e});return[this.renderLabel(),this.renderWrapper(this.renderValidateWrapper(t,this.renderHelp(),this.renderExtra()))]}},{key:"renderFormItem",value:function(e){var t,n=this.props,r=n.prefixCls,o=n.style,i=(t={},(0,a.default)(t,r+"-item",!0),(0,a.default)(t,r+"-item-with-help",!!this.getHelpMsg()),(0,a.default)(t,r+"-item-no-colon",!n.colon),(0,a.default)(t,""+n.className,!!n.className),t);return _.default.createElement(S.default,{className:(0,x.default)(i),style:o},e)}},{key:"render",value:function(){var e=this.renderChildren();return this.renderFormItem(e)}}]),t}(_.default.Component);t.default=L,L.defaultProps={hasFeedback:!1,prefixCls:"ant-form",colon:!0},L.propTypes={prefixCls:y.default.string,label:y.default.oneOfType([y.default.string,y.default.node]),labelCol:y.default.object,help:y.default.oneOfType([y.default.node,y.default.bool]),validateStatus:y.default.oneOf(["","success","warning","error","validating"]),hasFeedback:y.default.bool,wrapperCol:y.default.object,className:y.default.string,id:y.default.string,children:y.default.node,colon:y.default.bool},L.contextTypes={form:y.default.object,vertical:y.default.bool},e.exports=t.default},"./node_modules/_antd@2.13.14@antd/lib/form/constants.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.FIELD_META_PROP="data-__meta"},"./node_modules/_antd@2.13.14@antd/lib/form/index.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/_antd@2.13.14@antd/lib/form/Form.js"),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=o.default,e.exports=t.default},"./node_modules/_antd@2.13.14@antd/lib/grid/col.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/defineProperty.js"),a=r(o),i=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/extends.js"),s=r(i),l=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/typeof.js"),c=r(l),d=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/classCallCheck.js"),u=r(d),p=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/createClass.js"),f=r(p),m=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/possibleConstructorReturn.js"),h=r(m),g=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/inherits.js"),_=r(g),b=n("./node_modules/_react@15.6.2@react/react.js"),v=r(b),y=n("./node_modules/_prop-types@15.6.2@prop-types/index.js"),A=r(y),x=n("./node_modules/_classnames@2.2.6@classnames/index.js"),w=r(x),j=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o0?(0,a.default)({marginLeft:l/-2,marginRight:l/-2},c):c,b=g.Children.map(d,function(e){return e?e.props&&l>0?(0,g.cloneElement)(e,{style:(0,a.default)({paddingLeft:l/2,paddingRight:l/2},e.props.style)}):e:null});return _.default.createElement("div",(0,a.default)({},f,{className:m,style:h}),b)}}]),t}(_.default.Component);t.default=w,w.defaultProps={gutter:0},w.propTypes={type:A.default.string,align:A.default.string,justify:A.default.string,className:A.default.string,children:A.default.node,gutter:A.default.number,prefixCls:A.default.string},e.exports=t.default},"./node_modules/_antd@2.13.14@antd/lib/icon/index.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/extends.js"),a=r(o),i=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/defineProperty.js"),s=r(i),l=n("./node_modules/_react@15.6.2@react/react.js"),c=r(l),d=n("./node_modules/_classnames@2.2.6@classnames/index.js"),u=r(d),p=n("./node_modules/_omit.js@1.0.0@omit.js/lib/index.js"),f=r(p),m=function(e){var t=e.type,n=e.className,r=void 0===n?"":n,o=e.spin,i=(0,u.default)((0,s.default)({anticon:!0,"anticon-spin":!!o||"loading"===t},"anticon-"+t,!0),r);return c.default.createElement("i",(0,a.default)({},(0,f.default)(e,["type","spin"]),{className:i}))};t.default=m,e.exports=t.default},"./node_modules/_antd@2.13.14@antd/lib/input-number/index.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/extends.js"),a=r(o),i=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/defineProperty.js"),s=r(i),l=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/classCallCheck.js"),c=r(l),d=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/createClass.js"),u=r(d),p=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/possibleConstructorReturn.js"),f=r(p),m=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/inherits.js"),h=r(m),g=n("./node_modules/_react@15.6.2@react/react.js"),_=r(g),b=n("./node_modules/_classnames@2.2.6@classnames/index.js"),v=r(b),y=n("./node_modules/_rc-input-number@3.6.10@rc-input-number/lib/index.js"),A=r(y),x=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o1&&void 0!==arguments[1]&&arguments[1],n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&s[n])return s[n];var r=window.getComputedStyle(e),o=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),a=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),l=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),c=i.map(function(e){return e+":"+r.getPropertyValue(e)}).join(";"),d={sizingStyle:c,paddingSize:a,borderSize:l,boxSizing:o};return t&&n&&(s[n]=d),d}function o(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;l||(l=document.createElement("textarea"),document.body.appendChild(l)),e.getAttribute("wrap")?l.setAttribute("wrap",e.getAttribute("wrap")):l.removeAttribute("wrap");var i=r(e,t),s=i.paddingSize,c=i.borderSize,d=i.boxSizing,u=i.sizingStyle;l.setAttribute("style",u+";"+a),l.value=e.value||e.placeholder||"";var p=-1/0,f=1/0,m=l.scrollHeight,h=void 0;if("border-box"===d?m+=c:"content-box"===d&&(m-=s),null!==n||null!==o){l.value="";var g=l.scrollHeight-s;null!==n&&(p=g*n,"border-box"===d&&(p=p+s+c),m=Math.max(p,m)),null!==o&&(f=g*o,"border-box"===d&&(f=f+s+c),h=m>f?"":"hidden",m=Math.min(f,m))}return o||(h="hidden"),{height:m,minHeight:p,maxHeight:f,overflowY:h}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var a="\n min-height:0 !important;\n max-height:none !important;\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important\n",i=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"],s={},l=void 0;e.exports=t.default},"./node_modules/_antd@2.13.14@antd/lib/input/index.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/_antd@2.13.14@antd/lib/input/Input.js"),a=r(o),i=n("./node_modules/_antd@2.13.14@antd/lib/input/Group.js"),s=r(i),l=n("./node_modules/_antd@2.13.14@antd/lib/input/Search.js"),c=r(l),d=n("./node_modules/_antd@2.13.14@antd/lib/input/TextArea.js"),u=r(d);a.default.Group=s.default,a.default.Search=c.default,a.default.TextArea=u.default,t.default=a.default,e.exports=t.default},"./node_modules/_antd@2.13.14@antd/lib/locale-provider/injectLocale.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/extends.js"),a=r(o),i=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/classCallCheck.js"),s=r(i),l=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/createClass.js"),c=r(l),d=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/possibleConstructorReturn.js"),u=r(d),p=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/inherits.js"),f=r(p),m=n("./node_modules/_prop-types@15.6.2@prop-types/index.js"),h=r(m);t.default=function(e,t){return function(n){var r=n;return o=function(n){function r(){return(0,s.default)(this,r),(0,u.default)(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return(0,f.default)(r,n),(0,c.default)(r,[{key:"getLocale",value:function(){var n=this.context.antLocale,r=n&&n[e],o=this.props.locale||{};return(0,a.default)({},t,r||{},o)}}]),r}(n),o.propTypes=r.propTypes,o.defaultProps=r.defaultProps,o.contextTypes=(0,a.default)({},r.context||{},{antLocale:h.default.object}),o;var o}},e.exports=t.default},"./node_modules/_antd@2.13.14@antd/lib/menu/MenuItem.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/classCallCheck.js"),a=r(o),i=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/createClass.js"),s=r(i),l=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/possibleConstructorReturn.js"),c=r(l),d=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/inherits.js"),u=r(d),p=n("./node_modules/_react@15.6.2@react/react.js"),f=r(p),m=n("./node_modules/_rc-menu@5.0.14@rc-menu/lib/index.js"),h=n("./node_modules/_prop-types@15.6.2@prop-types/index.js"),g=r(h),_=n("./node_modules/_antd@2.13.14@antd/lib/tooltip/index.js"),b=r(_),v=function(e){function t(){return(0,a.default)(this,t),(0,c.default)(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return(0,u.default)(t,e),(0,s.default)(t,[{key:"render",value:function(){var e=this.context.inlineCollapsed,t=this.props;return f.default.createElement(b.default,{title:e&&1===t.level?t.children:"",placement:"right",overlayClassName:t.rootPrefixCls+"-inline-collapsed-tooltip"},f.default.createElement(m.Item,t))}}]),t}(f.default.Component);v.contextTypes={inlineCollapsed:g.default.bool},v.isMenuItem=1,t.default=v,e.exports=t.default},"./node_modules/_antd@2.13.14@antd/lib/menu/index.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/defineProperty.js"),a=r(o),i=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/extends.js"),s=r(i),l=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/classCallCheck.js"),c=r(l),d=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/createClass.js"),u=r(d),p=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/possibleConstructorReturn.js"),f=r(p),m=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/inherits.js"),h=r(m),g=n("./node_modules/_react@15.6.2@react/react.js"),_=r(g),b=n("./node_modules/_rc-menu@5.0.14@rc-menu/lib/index.js"),v=r(b),y=n("./node_modules/_prop-types@15.6.2@prop-types/index.js"),A=r(y),x=n("./node_modules/_classnames@2.2.6@classnames/index.js"),w=r(x),j=n("./node_modules/_antd@2.13.14@antd/lib/_util/openAnimation.js"),E=r(j),S=n("./node_modules/_antd@2.13.14@antd/lib/_util/warning.js"),C=r(S),k=n("./node_modules/_antd@2.13.14@antd/lib/menu/MenuItem.js"),T=r(k),M=function(e){function t(e){(0,c.default)(this,t);var n=(0,f.default)(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));n.inlineOpenKeys=[],n.handleClick=function(e){n.handleOpenChange([]);var t=n.props.onClick;t&&t(e)},n.handleOpenChange=function(e){n.setOpenKeys(e);var t=n.props.onOpenChange;t&&t(e)},(0,C.default)(!("onOpen"in e||"onClose"in e),"`onOpen` and `onClose` are removed, please use `onOpenChange` instead, see: https://u.ant.design/menu-on-open-change."),(0,C.default)(!("inlineCollapsed"in e&&"inline"!==e.mode),"`inlineCollapsed` should only be used when Menu's `mode` is inline.");var r=void 0;return"defaultOpenKeys"in e?r=e.defaultOpenKeys:"openKeys"in e&&(r=e.openKeys),n.state={openKeys:r||[]},n}return(0,h.default)(t,e),(0,u.default)(t,[{key:"getChildContext",value:function(){return{inlineCollapsed:this.getInlineCollapsed()}}},{key:"componentWillReceiveProps",value:function(e,t){if("inline"===this.props.mode&&"inline"!==e.mode&&(this.switchModeFromInline=!0),"openKeys"in e)return void this.setState({openKeys:e.openKeys});(e.inlineCollapsed&&!this.props.inlineCollapsed||t.siderCollapsed&&!this.context.siderCollapsed)&&(this.switchModeFromInline=!!this.state.openKeys.length,this.inlineOpenKeys=this.state.openKeys,this.setState({openKeys:[]})),(!e.inlineCollapsed&&this.props.inlineCollapsed||!t.siderCollapsed&&this.context.siderCollapsed)&&(this.setState({openKeys:this.inlineOpenKeys}),this.inlineOpenKeys=[])}},{key:"setOpenKeys",value:function(e){"openKeys"in this.props||this.setState({openKeys:e})}},{key:"getRealMenuMode",value:function(){var e=this.getInlineCollapsed();if(this.switchModeFromInline&&e&&this.leaveAnimationExecutedWhenInlineCollapsed)return this.leaveAnimationExecutedWhenInlineCollapsed=!1,"inline";var t=this.props.mode;return e?"vertical":t}},{key:"getInlineCollapsed",value:function(){var e=this.props.inlineCollapsed;return void 0!==this.context.siderCollapsed?this.context.siderCollapsed:e}},{key:"getMenuOpenAnimation",value:function(e){var t=this,n=this.props,r=n.openAnimation,o=n.openTransitionName,a=r||o;if(void 0===r&&void 0===o)switch(e){case"horizontal":a="slide-up";break;case"vertical":this.switchModeFromInline?(a="",this.switchModeFromInline=!1):a="zoom-big";break;case"inline":a=(0,s.default)({},E.default,{leave:function(e,n){return E.default.leave(e,function(){t.switchModeFromInline=!1,t.leaveAnimationExecutedWhenInlineCollapsed=!0,t.setState({}),n()})}})}return a}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.className,r=e.theme,o=this.getRealMenuMode(),i=this.getMenuOpenAnimation(o),l=(0,w.default)(n,t+"-"+r,(0,a.default)({},t+"-inline-collapsed",this.getInlineCollapsed())),c={openKeys:this.state.openKeys,onOpenChange:this.handleOpenChange,className:l,mode:o};return"inline"!==o?(c.onClick=this.handleClick,c.openTransitionName=i):c.openAnimation=i,_.default.createElement(v.default,(0,s.default)({},this.props,c))}}]),t}(_.default.Component);t.default=M,M.Divider=b.Divider,M.Item=T.default,M.SubMenu=b.SubMenu,M.ItemGroup=b.ItemGroup,M.defaultProps={prefixCls:"ant-menu",className:"",theme:"light"},M.childContextTypes={inlineCollapsed:A.default.bool},M.contextTypes={siderCollapsed:A.default.bool},e.exports=t.default},"./node_modules/_antd@2.13.14@antd/lib/message/index.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){return m=m||c.default.newInstance({prefixCls:g,transitionName:"move-up",style:{top:f},getContainer:_})}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p,n=arguments[2],r=arguments[3],a={info:"info-circle",success:"check-circle",error:"cross-circle",warning:"exclamation-circle",loading:"loading"}[n],i=o();return i.notice({key:h,duration:t,style:{},content:s.default.createElement("div",{className:g+"-custom-content "+g+"-"+n},s.default.createElement(u.default,{type:a}),s.default.createElement("span",null,e)),onClose:r}),function(){var e=h++;return function(){i.removeNotice(e)}}()}Object.defineProperty(t,"__esModule",{value:!0});var i=n("./node_modules/_react@15.6.2@react/react.js"),s=r(i),l=n("./node_modules/_rc-notification@2.0.6@rc-notification/lib/index.js"),c=r(l),d=n("./node_modules/_antd@2.13.14@antd/lib/icon/index.js"),u=r(d),p=3,f=void 0,m=void 0,h=1,g="ant-message",_=void 0;t.default={info:function(e,t,n){return a(e,t,"info",n)},success:function(e,t,n){return a(e,t,"success",n)},error:function(e,t,n){return a(e,t,"error",n)},warn:function(e,t,n){return a(e,t,"warning",n)},warning:function(e,t,n){return a(e,t,"warning",n)},loading:function(e,t,n){return a(e,t,"loading",n)},config:function(e){void 0!==e.top&&(f=e.top,m=null),void 0!==e.duration&&(p=e.duration),void 0!==e.prefixCls&&(g=e.prefixCls),void 0!==e.getContainer&&(_=e.getContainer)},destroy:function(){m&&(m.destroy(),m=null)}},e.exports=t.default},"./node_modules/_antd@2.13.14@antd/lib/modal/ActionButton.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/classCallCheck.js"),a=r(o),i=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/createClass.js"),s=r(i),l=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/possibleConstructorReturn.js"),c=r(l),d=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/inherits.js"),u=r(d),p=n("./node_modules/_react@15.6.2@react/react.js"),f=r(p),m=n("./node_modules/_react-dom@15.6.2@react-dom/index.js"),h=r(m),g=n("./node_modules/_antd@2.13.14@antd/lib/button/index.js"),_=r(g),b=function(e){function t(e){(0,a.default)(this,t);var n=(0,c.default)(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.onClick=function(){var e=n.props,t=e.actionFn,r=e.closeModal;if(t){var o=void 0;t.length?o=t(r):(o=t())||r(),o&&o.then&&(n.setState({loading:!0}),o.then(function(){r.apply(void 0,arguments)},function(){n.setState({loading:!1})}))}else r()},n.state={loading:!1},n}return(0,u.default)(t,e),(0,s.default)(t,[{key:"componentDidMount",value:function(){if(this.props.autoFocus){var e=h.default.findDOMNode(this);this.timeoutId=setTimeout(function(){return e.focus()})}}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeoutId)}},{key:"render",value:function(){var e=this.props,t=e.type,n=e.children,r=this.state.loading;return f.default.createElement(_.default,{type:t,size:"large",onClick:this.onClick,loading:r},n)}}]),t}(f.default.Component);t.default=b,e.exports=t.default},"./node_modules/_antd@2.13.14@antd/lib/modal/Modal.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/extends.js"),a=r(o),i=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/classCallCheck.js"),s=r(i),l=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/createClass.js"),c=r(l),d=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/possibleConstructorReturn.js"),u=r(d),p=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/inherits.js"),f=r(p),m=n("./node_modules/_react@15.6.2@react/react.js"),h=r(m),g=n("./node_modules/_rc-dialog@6.5.11@rc-dialog/lib/DialogWrap.js"),_=r(g),b=n("./node_modules/_prop-types@15.6.2@prop-types/index.js"),v=r(b),y=n("./node_modules/_rc-util@4.6.0@rc-util/lib/Dom/addEventListener.js"),A=r(y),x=n("./node_modules/_antd@2.13.14@antd/lib/button/index.js"),w=r(x),j=void 0,E=void 0,S=function(e){function t(){(0,s.default)(this,t);var e=(0,u.default)(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.handleCancel=function(t){var n=e.props.onCancel;n&&n(t)},e.handleOk=function(t){var n=e.props.onOk;n&&n(t)},e}return(0,f.default)(t,e),(0,c.default)(t,[{key:"componentDidMount",value:function(){E||((0,A.default)(document.documentElement,"click",function(e){j={x:e.pageX,y:e.pageY},setTimeout(function(){return j=null},100)}),E=!0)}},{key:"render",value:function(){var e=this.props,t=e.okText,n=e.okType,r=e.cancelText,o=e.confirmLoading,i=e.footer,s=e.visible;this.context.antLocale&&this.context.antLocale.Modal&&(t=t||this.context.antLocale.Modal.okText,r=r||this.context.antLocale.Modal.cancelText);var l=[h.default.createElement(w.default,{key:"cancel",size:"large",onClick:this.handleCancel},r||"取消"),h.default.createElement(w.default,{key:"confirm",type:n,size:"large",loading:o,onClick:this.handleOk},t||"确定")];return h.default.createElement(_.default,(0,a.default)({},this.props,{footer:void 0===i?l:i,visible:s,mousePosition:j,onClose:this.handleCancel}))}}]),t}(h.default.Component);t.default=S,S.defaultProps={prefixCls:"ant-modal",width:520,transitionName:"zoom",maskTransitionName:"fade",confirmLoading:!1,visible:!1,okType:"primary"},S.propTypes={prefixCls:v.default.string,onOk:v.default.func,onCancel:v.default.func,okText:v.default.node,cancelText:v.default.node,width:v.default.oneOfType([v.default.number,v.default.string]),confirmLoading:v.default.bool,visible:v.default.bool,align:v.default.object,footer:v.default.node,title:v.default.node,closable:v.default.bool},S.contextTypes={antLocale:v.default.object},e.exports=t.default},"./node_modules/_antd@2.13.14@antd/lib/modal/confirm.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){function t(){p.default.unmountComponentAtNode(o)&&o.parentNode&&o.parentNode.removeChild(o);for(var e=arguments.length,t=Array(e),r=0;r=100&&!("status"in t)?"success":l||"normal",w=void 0,C=void 0,k=c||function(e){return e+"%"};if(m){var T=void 0,M="circle"===u||"dashboard"===u?"":"-circle";T="exception"===y?c?k(i):v.default.createElement(A.default,{type:"cross"+M}):"success"===y?c?k(i):v.default.createElement(A.default,{type:"check"+M}):k(i),w=v.default.createElement("span",{className:n+"-text"},T)}if("line"===u){var O={width:i+"%",height:p||10};C=v.default.createElement("div",null,v.default.createElement("div",{className:n+"-outer"},v.default.createElement("div",{className:n+"-inner"},v.default.createElement("div",{className:n+"-bg",style:O}))),w)}else if("circle"===u||"dashboard"===u){var L=f||132,D={width:L,height:L,fontSize:.16*L+6},P=p||6,I=_||"dashboard"===u&&"bottom"||"top",R=g||"dashboard"===u&&75;C=v.default.createElement("div",{className:n+"-inner",style:D},v.default.createElement(x.Circle,{percent:i,strokeWidth:P,trailWidth:P,strokeColor:S[y],trailColor:d,prefixCls:n,gapDegree:R,gapPosition:I}),w)}var N=(0,j.default)(n,(e={},(0,s.default)(e,n+"-"+("dashboard"===u&&"circle"||u),!0),(0,s.default)(e,n+"-status-"+y,!0),(0,s.default)(e,n+"-show-info",m),e),r);return v.default.createElement("div",(0,a.default)({},b,{className:N}),C)}}]),t}(v.default.Component);t.default=C,C.defaultProps={type:"line",percent:0,showInfo:!0,trailColor:"#f3f3f3",prefixCls:"ant-progress"},C.propTypes={status:_.default.oneOf(["normal","exception","active","success"]),type:_.default.oneOf(["line","circle","dashboard"]),showInfo:_.default.bool,percent:_.default.number,width:_.default.number,strokeWidth:_.default.number,trailColor:_.default.string,format:_.default.func,gapDegree:_.default.number},e.exports=t.default},"./node_modules/_antd@2.13.14@antd/lib/radio/group.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=null,n=!1;return g.default.Children.forEach(e,function(e){e&&e.props&&e.props.checked&&(t=e.props.value,n=!0)}),n?{value:t}:void 0}Object.defineProperty(t,"__esModule",{value:!0});var a=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/defineProperty.js"),i=r(a),s=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/classCallCheck.js"),l=r(s),c=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/createClass.js"),d=r(c),u=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/possibleConstructorReturn.js"),p=r(u),f=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/inherits.js"),m=r(f),h=n("./node_modules/_react@15.6.2@react/react.js"),g=r(h),_=n("./node_modules/_prop-types@15.6.2@prop-types/index.js"),b=r(_),v=n("./node_modules/_classnames@2.2.6@classnames/index.js"),y=r(v),A=n("./node_modules/_shallowequal@1.1.0@shallowequal/index.js"),x=r(A),w=n("./node_modules/_antd@2.13.14@antd/lib/radio/radio.js"),j=r(w),E=function(e){function t(e){(0,l.default)(this,t);var n=(0,p.default)(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));n.onRadioChange=function(e){var t=n.state.value,r=e.target.value;"value"in n.props||n.setState({value:r});var o=n.props.onChange;o&&r!==t&&o(e)};var r=void 0;if("value"in e)r=e.value;else if("defaultValue"in e)r=e.defaultValue;else{var a=o(e.children);r=a&&a.value}return n.state={value:r},n}return(0,m.default)(t,e),(0,d.default)(t,[{key:"getChildContext",value:function(){return{radioGroup:{onChange:this.onRadioChange,value:this.state.value,disabled:this.props.disabled,name:this.props.name}}}},{key:"componentWillReceiveProps",value:function(e){if("value"in e)this.setState({value:e.value});else{var t=o(e.children);t&&this.setState({value:t.value})}}},{key:"shouldComponentUpdate",value:function(e,t){return!(0,x.default)(this.props,e)||!(0,x.default)(this.state,t)}},{key:"render",value:function(){var e=this,t=this.props,n=t.prefixCls,r=void 0===n?"ant-radio-group":n,o=t.className,a=void 0===o?"":o,s=t.options,l=(0,y.default)(r,(0,i.default)({},r+"-"+t.size,t.size),a),c=t.children;return s&&s.length>0&&(c=s.map(function(t,n){return"string"==typeof t?g.default.createElement(j.default,{key:n,disabled:e.props.disabled,value:t,onChange:e.onRadioChange,checked:e.state.value===t},t):g.default.createElement(j.default,{key:n,disabled:t.disabled||e.props.disabled,value:t.value,onChange:e.onRadioChange,checked:e.state.value===t.value},t.label)})),g.default.createElement("div",{className:l,style:t.style,onMouseEnter:t.onMouseEnter,onMouseLeave:t.onMouseLeave,id:t.id},c)}}]),t}(g.default.Component);t.default=E,E.defaultProps={disabled:!1},E.childContextTypes={radioGroup:b.default.any},e.exports=t.default},"./node_modules/_antd@2.13.14@antd/lib/radio/index.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Group=t.Button=void 0;var o=n("./node_modules/_antd@2.13.14@antd/lib/radio/radio.js"),a=r(o),i=n("./node_modules/_antd@2.13.14@antd/lib/radio/group.js"),s=r(i),l=n("./node_modules/_antd@2.13.14@antd/lib/radio/radioButton.js"),c=r(l);a.default.Button=c.default,a.default.Group=s.default,t.Button=c.default,t.Group=s.default,t.default=a.default},"./node_modules/_antd@2.13.14@antd/lib/radio/radio.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/defineProperty.js"),a=r(o),i=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/extends.js"),s=r(i),l=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/classCallCheck.js"),c=r(l),d=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/createClass.js"),u=r(d),p=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/possibleConstructorReturn.js"),f=r(p),m=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/inherits.js"),h=r(m),g=n("./node_modules/_react@15.6.2@react/react.js"),_=r(g),b=n("./node_modules/_prop-types@15.6.2@prop-types/index.js"),v=r(b),y=n("./node_modules/_rc-checkbox@2.0.3@rc-checkbox/lib/index.js"),A=r(y),x=n("./node_modules/_classnames@2.2.6@classnames/index.js"),w=r(x),j=n("./node_modules/_shallowequal@1.1.0@shallowequal/index.js"),E=r(j),S=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o=0:t.getState().selectedRowKeys.indexOf(r)>=0||n.indexOf(r)>=0}},{key:"render",value:function(){var e=this.props,t=e.type,n=e.rowIndex,r=e.disabled,o=e.onChange,a=this.state.checked;return"radio"===t?f.default.createElement(_.default,{disabled:r,onChange:o,value:n,checked:a}):f.default.createElement(h.default,{checked:a,disabled:r,onChange:o})}}]),t}(f.default.Component);t.default=b,e.exports=t.default},"./node_modules/_antd@2.13.14@antd/lib/table/SelectionCheckboxAll.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/defineProperty.js"),a=r(o),i=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/classCallCheck.js"),s=r(i),l=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/createClass.js"),c=r(l),d=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/possibleConstructorReturn.js"),u=r(d),p=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/inherits.js"),f=r(p),m=n("./node_modules/_react@15.6.2@react/react.js"),h=r(m),g=n("./node_modules/_antd@2.13.14@antd/lib/checkbox/index.js"),_=r(g),b=n("./node_modules/_antd@2.13.14@antd/lib/dropdown/index.js"),v=r(b),y=n("./node_modules/_antd@2.13.14@antd/lib/menu/index.js"),A=r(y),x=n("./node_modules/_antd@2.13.14@antd/lib/icon/index.js"),w=r(x),j=n("./node_modules/_classnames@2.2.6@classnames/index.js"),E=r(j),S=function(e){function t(e){(0,s.default)(this,t);var n=(0,u.default)(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleSelectAllChagne=function(e){var t=e.target.checked;n.props.onSelect(t?"all":"removeAll",0,null)},n.defaultSelections=e.hideDefaultSelections?[]:[{key:"all",text:e.locale.selectAll,onSelect:function(){}},{key:"invert",text:e.locale.selectInvert,onSelect:function(){}}],n.state={checked:n.getCheckState(e),indeterminate:n.getIndeterminateState(e)},n}return(0,f.default)(t,e),(0,c.default)(t,[{key:"componentDidMount",value:function(){this.subscribe()}},{key:"componentWillReceiveProps",value:function(e){this.setCheckState(e)}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"subscribe",value:function(){var e=this,t=this.props.store;this.unsubscribe=t.subscribe(function(){e.setCheckState(e.props)})}},{key:"checkSelection",value:function(e,t,n){var r=this.props,o=r.store,a=r.getCheckboxPropsByItem,i=r.getRecordKey;return("every"===t||"some"===t)&&(n?e[t](function(e,t){return a(e,t).defaultChecked}):e[t](function(e,t){return o.getState().selectedRowKeys.indexOf(i(e,t))>=0}))}},{key:"setCheckState",value:function(e){var t=this.getCheckState(e),n=this.getIndeterminateState(e);t!==this.state.checked&&this.setState({checked:t}),n!==this.state.indeterminate&&this.setState({indeterminate:n})}},{key:"getCheckState",value:function(e){var t=e.store,n=e.data;return!!n.length&&(t.getState().selectionDirty?this.checkSelection(n,"every",!1):this.checkSelection(n,"every",!1)||this.checkSelection(n,"every",!0))}},{key:"getIndeterminateState",value:function(e){var t=e.store,n=e.data;return!!n.length&&(t.getState().selectionDirty?this.checkSelection(n,"some",!1)&&!this.checkSelection(n,"every",!1):this.checkSelection(n,"some",!1)&&!this.checkSelection(n,"every",!1)||this.checkSelection(n,"some",!0)&&!this.checkSelection(n,"every",!0))}},{key:"renderMenus",value:function(e){var t=this;return e.map(function(e,n){return h.default.createElement(A.default.Item,{key:e.key||n},h.default.createElement("div",{onClick:function(){t.props.onSelect(e.key,n,e.onSelect)}},e.text))})}},{key:"render",value:function(){var e=this.props,t=e.disabled,n=e.prefixCls,r=e.selections,o=e.getPopupContainer,i=this.state,s=i.checked,l=i.indeterminate,c=n+"-selection",d=null;if(r){var u=Array.isArray(r)?this.defaultSelections.concat(r):this.defaultSelections,p=h.default.createElement(A.default,{className:c+"-menu",selectedKeys:[]},this.renderMenus(u));d=u.length>0?h.default.createElement(v.default,{overlay:p,getPopupContainer:o},h.default.createElement("div",{className:c+"-down"},h.default.createElement(w.default,{type:"down"}))):null}return h.default.createElement("div",{className:c},h.default.createElement(_.default,{className:(0,E.default)((0,a.default)({},c+"-select-all-custom",d)),checked:s,indeterminate:l,disabled:t,onChange:this.handleSelectAllChagne}),d)}}]),t}(h.default.Component);t.default=S,e.exports=t.default},"./node_modules/_antd@2.13.14@antd/lib/table/Table.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){}function a(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation&&e.nativeEvent.stopImmediatePropagation()}Object.defineProperty(t,"__esModule",{value:!0});var i=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/typeof.js"),s=r(i),l=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/defineProperty.js"),c=r(l),d=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/extends.js"),u=r(d),p=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/classCallCheck.js"),f=r(p),m=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/createClass.js"),h=r(m),g=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/possibleConstructorReturn.js"),_=r(g),b=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/inherits.js"),v=r(b),y=n("./node_modules/_react@15.6.2@react/react.js"),A=r(y),x=n("./node_modules/_react-dom@15.6.2@react-dom/index.js"),w=n("./node_modules/_rc-table@5.6.13@rc-table/lib/index.js"),j=r(w),E=n("./node_modules/_prop-types@15.6.2@prop-types/index.js"),S=r(E),C=n("./node_modules/_classnames@2.2.6@classnames/index.js"),k=r(C),T=n("./node_modules/_antd@2.13.14@antd/lib/pagination/index.js"),M=r(T),O=n("./node_modules/_antd@2.13.14@antd/lib/icon/index.js"),L=r(O),D=n("./node_modules/_antd@2.13.14@antd/lib/spin/index.js"),P=r(D),I=n("./node_modules/_antd@2.13.14@antd/lib/_util/warning.js"),R=r(I),N=n("./node_modules/_antd@2.13.14@antd/lib/table/filterDropdown.js"),F=r(N),B=n("./node_modules/_antd@2.13.14@antd/lib/table/createStore.js"),z=r(B),U=n("./node_modules/_antd@2.13.14@antd/lib/table/SelectionBox.js"),H=r(U),V=n("./node_modules/_antd@2.13.14@antd/lib/table/SelectionCheckboxAll.js"),Y=r(V),W=n("./node_modules/_antd@2.13.14@antd/lib/table/Column.js"),G=r(W),Q=n("./node_modules/_antd@2.13.14@antd/lib/table/ColumnGroup.js"),q=r(Q),K=n("./node_modules/_antd@2.13.14@antd/lib/table/util.js"),X=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o0&&(l.filters=d),"object"===(0,s.default)(r.pagination)&&"current"in r.pagination&&(l.pagination=(0,u.default)({},o,{current:n.state.pagination.current})),n.setState(l,function(){n.store.setState({selectionDirty:!1});var e=n.props.onChange;e&&e.apply(null,n.prepareParamsArguments((0,u.default)({},n.state,{selectionDirty:!1,filters:a,pagination:o})))})},n.handleSelect=function(e,t,r){var o=r.target.checked,a=n.store.getState().selectionDirty?[]:n.getDefaultSelection(),i=n.store.getState().selectedRowKeys.concat(a),s=n.getRecordKey(e,t);o?i.push(n.getRecordKey(e,t)):i=i.filter(function(e){return s!==e}),n.store.setState({selectionDirty:!0}),n.setSelectedRowKeys(i,{selectWay:"onSelect",record:e,checked:o})},n.handleRadioSelect=function(e,t,r){var o=r.target.checked,a=n.store.getState().selectionDirty?[]:n.getDefaultSelection(),i=n.store.getState().selectedRowKeys.concat(a);i=[n.getRecordKey(e,t)],n.store.setState({selectionDirty:!0}),n.setSelectedRowKeys(i,{selectWay:"onSelect",record:e,checked:o})},n.handleSelectRow=function(e,t,r){var o=n.getFlatCurrentPageData(),a=n.store.getState().selectionDirty?[]:n.getDefaultSelection(),i=n.store.getState().selectedRowKeys.concat(a),s=o.filter(function(e,t){return!n.getCheckboxPropsByItem(e,t).disabled}).map(function(e,t){return n.getRecordKey(e,t)}),l=[],c="",d=void 0;switch(e){case"all":s.forEach(function(e){i.indexOf(e)<0&&(i.push(e),l.push(e))}),c="onSelectAll",d=!0;break;case"removeAll":s.forEach(function(e){i.indexOf(e)>=0&&(i.splice(i.indexOf(e),1),l.push(e))}),c="onSelectAll",d=!1;break;case"invert":s.forEach(function(e){i.indexOf(e)<0?i.push(e):i.splice(i.indexOf(e),1),l.push(e),c="onSelectInvert"})}n.store.setState({selectionDirty:!0});var u=n.props.rowSelection,p=2;if(u&&u.hideDefaultSelections&&(p=0),t>=p&&"function"==typeof r)return r(s);n.setSelectedRowKeys(i,{selectWay:c,checked:d,changeRowKeys:l})},n.handlePageChange=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),o=1;o0){var n=this.getSortStateFromColumns(this.columns);n.sortColumn===this.state.sortColumn&&n.sortOrder===this.state.sortOrder||this.setState(n)}if(this.getFilteredValueColumns(this.columns).length>0){var r=this.getFiltersFromColumns(this.columns),o=(0,u.default)({},this.state.filters);Object.keys(r).forEach(function(e){o[e]=r[e]}),this.isFiltersChanged(o)&&this.setState({filters:o})}}},{key:"setSelectedRowKeys",value:function(e,t){var n=this,r=t.selectWay,o=t.record,a=t.checked,i=t.changeRowKeys,s=this.props.rowSelection,l=void 0===s?{}:s;!l||"selectedRowKeys"in l||this.store.setState({selectedRowKeys:e});var c=this.getFlatData();if(l.onChange||l[r]){var d=c.filter(function(t,r){return e.indexOf(n.getRecordKey(t,r))>=0});if(l.onChange&&l.onChange(e,d),"onSelect"===r&&l.onSelect)l.onSelect(o,a,d);else if("onSelectAll"===r&&l.onSelectAll){var u=c.filter(function(e,t){return i.indexOf(n.getRecordKey(e,t))>=0});l.onSelectAll(a,d,u)}else"onSelectInvert"===r&&l.onSelectInvert&&l.onSelectInvert(e)}}},{key:"hasPagination",value:function(e){return!1!==(e||this.props).pagination}},{key:"isFiltersChanged",value:function(e){var t=this,n=!1;return Object.keys(e).length!==Object.keys(this.state.filters).length?n=!0:Object.keys(e).forEach(function(r){e[r]!==t.state.filters[r]&&(n=!0)}),n}},{key:"getSortOrderColumns",value:function(e){return(0,K.flatFilter)(e||this.columns||[],function(e){return"sortOrder"in e})}},{key:"getFilteredValueColumns",value:function(e){return(0,K.flatFilter)(e||this.columns||[],function(e){return void 0!==e.filteredValue})}},{key:"getFiltersFromColumns",value:function(e){var t=this,n={};return this.getFilteredValueColumns(e).forEach(function(e){n[t.getColumnKey(e)]=e.filteredValue}),n}},{key:"getSortStateFromColumns",value:function(e){var t=this.getSortOrderColumns(e).filter(function(e){return e.sortOrder})[0];return t?{sortColumn:t,sortOrder:t.sortOrder}:{sortColumn:null,sortOrder:null}}},{key:"getSorterFn",value:function(){var e=this.state,t=e.sortOrder,n=e.sortColumn;if(t&&n&&"function"==typeof n.sorter)return function(e,r){var o=n.sorter(e,r);return 0!==o?"descend"===t?-o:o:0}}},{key:"toggleSortOrder",value:function(e,t){var n=this.state,r=n.sortColumn,o=n.sortOrder;this.isSortColumn(t)?o===e?(o="",r=null):o=e:(o=e,r=t);var a={sortOrder:o,sortColumn:r};0===this.getSortOrderColumns().length&&this.setState(a);var i=this.props.onChange;i&&i.apply(null,this.prepareParamsArguments((0,u.default)({},this.state,a)))}},{key:"renderRowSelection",value:function(){var e=this,t=this.props,n=t.prefixCls,r=t.rowSelection,o=this.columns.concat();if(r){var a=this.getFlatCurrentPageData().filter(function(t,n){return!r.getCheckboxProps||!e.getCheckboxPropsByItem(t,n).disabled}),i=(0,k.default)(n+"-selection-column",(0,c.default)({},n+"-selection-column-custom",r.selections)),s={key:"selection-column",render:this.renderSelectionBox(r.type),className:i};if("radio"!==r.type){var l=a.every(function(t,n){return e.getCheckboxPropsByItem(t,n).disabled});s.title=A.default.createElement(Y.default,{store:this.store,locale:this.getLocale(),data:a,getCheckboxPropsByItem:this.getCheckboxPropsByItem,getRecordKey:this.getRecordKey,disabled:l,prefixCls:n,onSelect:this.handleSelectRow,selections:r.selections,hideDefaultSelections:r.hideDefaultSelections,getPopupContainer:this.getPopupContainer})}o.some(function(e){return"left"===e.fixed||!0===e.fixed})&&(s.fixed="left"),o[0]&&"selection-column"===o[0].key?o[0]=s:o.unshift(s)}return o}},{key:"getColumnKey",value:function(e,t){return e.key||e.dataIndex||t}},{key:"getMaxCurrent",value:function(e){var t=this.state.pagination,n=t.current,r=t.pageSize;return(n-1)*r>=e?Math.floor((e-1)/r)+1:n}},{key:"isSortColumn",value:function(e){var t=this.state.sortColumn;return!(!e||!t)&&this.getColumnKey(t)===this.getColumnKey(e)}},{key:"renderColumnsDropdown",value:function(e){var t=this,n=this.props,r=n.prefixCls,o=n.dropdownPrefixCls,a=this.state.sortOrder,i=this.getLocale();return(0,K.treeMap)(e,function(e,n){var s=(0,u.default)({},e),l=t.getColumnKey(s,n),c=void 0,d=void 0;if(s.filters&&s.filters.length>0||s.filterDropdown){var p=t.state.filters[l]||[];c=A.default.createElement(F.default,{locale:i,column:s,selectedKeys:p,confirmFilter:t.handleFilter,prefixCls:r+"-filter",dropdownPrefixCls:o||"ant-dropdown",getPopupContainer:t.getPopupContainer})}if(s.sorter){var f=t.isSortColumn(s);f&&(s.className=s.className||"",a&&(s.className+=" "+r+"-column-sort"));var m=f&&"ascend"===a,h=f&&"descend"===a;d=A.default.createElement("div",{className:r+"-column-sorter"},A.default.createElement("span",{className:r+"-column-sorter-up "+(m?"on":"off"),title:"↑",onClick:function(){return t.toggleSortOrder("ascend",s)}},A.default.createElement(L.default,{type:"caret-up"})),A.default.createElement("span",{className:r+"-column-sorter-down "+(h?"on":"off"),title:"↓",onClick:function(){return t.toggleSortOrder("descend",s)}},A.default.createElement(L.default,{type:"caret-down"})))}return s.title=A.default.createElement("span",null,s.title,d,c),s})}},{key:"renderPagination",value:function(){if(!this.hasPagination())return null;var e="default",t=this.state.pagination;t.size?e=t.size:"middle"!==this.props.size&&"small"!==this.props.size||(e="small");var n=t.total||this.getLocalData().length;return n>0?A.default.createElement(M.default,(0,u.default)({key:"pagination"},t,{className:(0,k.default)(t.className,this.props.prefixCls+"-pagination"),onChange:this.handlePageChange,total:n,size:e,current:this.getMaxCurrent(n),onShowSizeChange:this.handleShowSizeChange})):null}},{key:"prepareParamsArguments",value:function(e){var t=(0,u.default)({},e.pagination);delete t.onChange,delete t.onShowSizeChange;var n=e.filters,r={};return e.sortColumn&&e.sortOrder&&(r.column=e.sortColumn,r.order=e.sortOrder,r.field=e.sortColumn.dataIndex,r.columnKey=this.getColumnKey(e.sortColumn)),[t,n,r]}},{key:"findColumn",value:function(e){var t=this,n=void 0;return(0,K.treeMap)(this.columns,function(r){t.getColumnKey(r)===e&&(n=r)}),n}},{key:"getCurrentPageData",value:function(){var e=this.getLocalData(),t=void 0,n=void 0,r=this.state;return this.hasPagination()?(n=r.pagination.pageSize,t=this.getMaxCurrent(r.pagination.total||e.length)):(n=Number.MAX_VALUE,t=1),(e.length>n||n===Number.MAX_VALUE)&&(e=e.filter(function(e,r){return r>=(t-1)*n&&r=0?delete t[e.key]:t[e.key]=e.keyPath,n.setState({keyPathOfSelectedItem:t})}},n.renderFilterIcon=function(){var e=n.props,t=e.column,r=e.locale,o=e.prefixCls,i=t.filterIcon,s=n.props.selectedKeys.length>0?o+"-selected":"";return i?h.default.cloneElement(i,{title:r.filterTitle,className:(0,w.default)(i.className,(0,a.default)({},o+"-icon",!0))}):h.default.createElement(C.default,{title:r.filterTitle,type:"filter",className:s})};var r="filterDropdownVisible"in e.column&&e.column.filterDropdownVisible;return n.state={selectedKeys:e.selectedKeys,keyPathOfSelectedItem:{},visible:r},n}return(0,f.default)(t,e),(0,c.default)(t,[{key:"componentDidMount",value:function(){var e=this.props.column;this.setNeverShown(e)}},{key:"componentWillReceiveProps",value:function(e){var t=e.column;this.setNeverShown(t);var n={};"selectedKeys"in e&&(n.selectedKeys=e.selectedKeys),"filterDropdownVisible"in t&&(n.visible=t.filterDropdownVisible),Object.keys(n).length>0&&this.setState(n)}},{key:"setVisible",value:function(e){var t=this.props.column;"filterDropdownVisible"in t||this.setState({visible:e}),t.onFilterDropdownVisibleChange&&t.onFilterDropdownVisibleChange(e)}},{key:"confirmFilter",value:function(){this.state.selectedKeys!==this.props.selectedKeys&&this.props.confirmFilter(this.props.column,this.state.selectedKeys)}},{key:"renderMenuItem",value:function(e){var t=this.props.column,n=!("filterMultiple"in t)||t.filterMultiple,r=n?h.default.createElement(T.default,{checked:this.state.selectedKeys.indexOf(e.value.toString())>=0}):h.default.createElement(O.default,{checked:this.state.selectedKeys.indexOf(e.value.toString())>=0});return h.default.createElement(b.Item,{key:e.value},r,h.default.createElement("span",null,e.text))}},{key:"hasSubMenu",value:function(){var e=this.props.column.filters;return(void 0===e?[]:e).some(function(e){return!!(e.children&&e.children.length>0)})}},{key:"renderMenus",value:function(e){var t=this;return e.map(function(e){if(e.children&&e.children.length>0){var n=t.state.keyPathOfSelectedItem,r=Object.keys(n).some(function(t){return n[t].indexOf(e.value)>=0}),o=r?t.props.dropdownPrefixCls+"-submenu-contain-selected":"";return h.default.createElement(b.SubMenu,{title:e.text,className:o,key:e.value.toString()},t.renderMenus(e.children))}return t.renderMenuItem(e)})}},{key:"render",value:function(){var e=this.props,t=e.column,n=e.locale,r=e.prefixCls,o=e.dropdownPrefixCls,i=e.getPopupContainer,s=!("filterMultiple"in t)||t.filterMultiple,l=(0,w.default)((0,a.default)({},o+"-menu-without-submenu",!this.hasSubMenu())),c=t.filterDropdown?h.default.createElement(D.default,null,t.filterDropdown):h.default.createElement(D.default,{className:r+"-dropdown"},h.default.createElement(v.default,{multiple:s,onClick:this.handleMenuItemClick,prefixCls:o+"-menu",className:l,onSelect:this.setSelectedKeys,onDeselect:this.setSelectedKeys,selectedKeys:this.state.selectedKeys},this.renderMenus(t.filters)),h.default.createElement("div",{className:r+"-dropdown-btns"},h.default.createElement("a",{className:r+"-dropdown-link confirm",onClick:this.handleConfirm},n.filterConfirm),h.default.createElement("a",{className:r+"-dropdown-link clear",onClick:this.handleClearFilters},n.filterReset)));return h.default.createElement(E.default,{trigger:["click"],overlay:c,visible:!this.neverShown&&this.state.visible,onVisibleChange:this.onVisibleChange,getPopupContainer:i},this.renderFilterIcon())}}]),t}(h.default.Component);t.default=P,P.defaultProps={handleFilter:function(){},column:{}},e.exports=t.default},"./node_modules/_antd@2.13.14@antd/lib/table/index.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/_antd@2.13.14@antd/lib/table/Table.js"),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=o.default,e.exports=t.default},"./node_modules/_antd@2.13.14@antd/lib/table/util.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"children",n=[];return function e(r){r.forEach(function(r){if(r[t]){var o=(0,u.default)({},r);delete o[t],n.push(o),r[t].length>0&&e(r[t])}else n.push(r)})}(e),n}function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"children";return e.map(function(e,r){var o={};return e[n]&&(o[n]=a(e[n],t,n)),(0,u.default)({},t(e,r),o)})}function i(e,t){return e.reduce(function(e,n){if(t(n)&&e.push(n),n.children){var r=i(n.children,t);e.push.apply(e,(0,c.default)(r))}return e},[])}function s(e){var t=[];return f.default.Children.forEach(e,function(e){if(f.default.isValidElement(e)){var n=(0,u.default)({},e.props);e.key&&(n.key=e.key),e.type&&e.type.__ANT_TABLE_COLUMN_GROUP&&(n.children=s(n.children)),t.push(n)}}),t}Object.defineProperty(t,"__esModule",{value:!0});var l=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/toConsumableArray.js"),c=r(l),d=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/extends.js"),u=r(d);t.flatArray=o,t.treeMap=a,t.flatFilter=i,t.normalizeColumns=s;var p=n("./node_modules/_react@15.6.2@react/react.js"),f=r(p)},"./node_modules/_antd@2.13.14@antd/lib/tabs/index.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/extends.js"),a=r(o),i=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/defineProperty.js"),s=r(i),l=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/typeof.js"),c=r(l),d=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/classCallCheck.js"),u=r(d),p=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/createClass.js"),f=r(p),m=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/possibleConstructorReturn.js"),h=r(m),g=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/inherits.js"),_=r(g),b=n("./node_modules/_react@15.6.2@react/react.js"),v=r(b),y=n("./node_modules/_react-dom@15.6.2@react-dom/index.js"),A=n("./node_modules/_rc-tabs@9.1.11@rc-tabs/lib/index.js"),x=r(A),w=n("./node_modules/_rc-tabs@9.1.11@rc-tabs/lib/ScrollableInkTabBar.js"),j=r(w),E=n("./node_modules/_rc-tabs@9.1.11@rc-tabs/lib/TabContent.js"),S=r(E),C=n("./node_modules/_classnames@2.2.6@classnames/index.js"),k=r(C),T=n("./node_modules/_antd@2.13.14@antd/lib/icon/index.js"),M=r(T),O=n("./node_modules/_antd@2.13.14@antd/lib/_util/warning.js"),L=r(O),D=n("./node_modules/_antd@2.13.14@antd/lib/_util/isFlexSupported.js"),P=r(D),I=function(e){function t(){(0,u.default)(this,t);var e=(0,h.default)(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.createNewTab=function(t){var n=e.props.onEdit;n&&n(t,"add")},e.removeTab=function(t,n){if(n.stopPropagation(),t){var r=e.props.onEdit;r&&r(t,"remove")}},e.handleChange=function(t){var n=e.props.onChange;n&&n(t)},e}return(0,_.default)(t,e),(0,f.default)(t,[{key:"componentDidMount",value:function(){var e=(0,y.findDOMNode)(this);e&&!(0,P.default)()&&-1===e.className.indexOf(" no-flex")&&(e.className+=" no-flex")}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.prefixCls,o=n.className,i=void 0===o?"":o,l=n.size,d=n.type,u=void 0===d?"line":d,p=n.tabPosition,f=n.children,m=n.tabBarExtraContent,h=n.tabBarStyle,g=n.hideAdd,_=n.onTabClick,y=n.onPrevClick,A=n.onNextClick,w=n.animated,E=void 0===w||w,C="object"===(void 0===E?"undefined":(0,c.default)(E))?{inkBarAnimated:E.inkBar,tabPaneAnimated:E.tabPane}:{inkBarAnimated:E,tabPaneAnimated:E},T=C.inkBarAnimated,O=C.tabPaneAnimated;"line"!==u&&(O="animated"in this.props&&O),(0,L.default)(!(u.indexOf("card")>=0&&"small"===l),"Tabs[type=card|editable-card] doesn't have small size, it's by designed.");var D=(0,k.default)(i,(e={},(0,s.default)(e,r+"-mini","small"===l||"mini"===l),(0,s.default)(e,r+"-vertical","left"===p||"right"===p),(0,s.default)(e,r+"-card",u.indexOf("card")>=0),(0,s.default)(e,r+"-"+u,!0),(0,s.default)(e,r+"-no-animation",!O),e)),P=void 0;"editable-card"===u&&(P=[],v.default.Children.forEach(f,function(e,n){var o=e.props.closable;o=void 0===o||o;var a=o?v.default.createElement(M.default,{type:"close",onClick:function(n){return t.removeTab(e.key,n)}}):null;P.push((0,b.cloneElement)(e,{tab:v.default.createElement("div",{className:o?void 0:r+"-tab-unclosable"},e.props.tab,a),key:e.key||n}))}),g||(m=v.default.createElement("span",null,v.default.createElement(M.default,{type:"plus",className:r+"-new-tab",onClick:this.createNewTab}),m))),m=m?v.default.createElement("div",{className:r+"-extra-content"},m):null;var I=function(){return v.default.createElement(j.default,{inkBarAnimated:T,extraContent:m,onTabClick:_,onPrevClick:y,onNextClick:A,style:h})};return v.default.createElement(x.default,(0,a.default)({},this.props,{className:D,tabBarPosition:p,renderTabBar:I,renderTabContent:function(){return v.default.createElement(S.default,{animated:O,animatedWithMargin:!0})},onChange:this.handleChange}),P||f)}}]),t}(v.default.Component);t.default=I,I.TabPane=A.TabPane,I.defaultProps={prefixCls:"ant-tabs",hideAdd:!1},e.exports=t.default},"./node_modules/_antd@2.13.14@antd/lib/tag/CheckableTag.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/extends.js"),a=r(o),i=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/defineProperty.js"),s=r(i),l=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/classCallCheck.js"),c=r(l),d=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/createClass.js"),u=r(d),p=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/possibleConstructorReturn.js"),f=r(p),m=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/inherits.js"),h=r(m),g=n("./node_modules/_react@15.6.2@react/react.js"),_=r(g),b=n("./node_modules/_classnames@2.2.6@classnames/index.js"),v=r(b),y=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o-1||e.indexOf("h")>-1||e.indexOf("k")>-1,showMinute:e.indexOf("m")>-1,showSecond:e.indexOf("s")>-1}}Object.defineProperty(t,"__esModule",{value:!0});var a=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/defineProperty.js"),i=r(a),s=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/extends.js"),l=r(s),c=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/classCallCheck.js"),d=r(c),u=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/createClass.js"),p=r(u),f=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/possibleConstructorReturn.js"),m=r(f),h=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/inherits.js"),g=r(h);t.generateShowHourMinuteSecond=o;var _=n("./node_modules/_react@15.6.2@react/react.js"),b=r(_),v=n("./node_modules/_moment@2.22.2@moment/src/moment.js"),y=r(v),A=n("./node_modules/_rc-time-picker@2.4.1@rc-time-picker/lib/TimePicker.js"),x=r(A),w=n("./node_modules/_classnames@2.2.6@classnames/index.js"),j=r(w),E=n("./node_modules/_antd@2.13.14@antd/lib/locale-provider/injectLocale.js"),S=r(E),C=n("./node_modules/_antd@2.13.14@antd/lib/time-picker/locale/zh_CN.js"),k=r(C),T=function(e){function t(e){(0,d.default)(this,t);var n=(0,m.default)(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));n.handleChange=function(e){"value"in n.props||n.setState({value:e});var t=n.props,r=t.onChange,o=t.format,a=void 0===o?"HH:mm:ss":o;r&&r(e,e&&e.format(a)||"")},n.handleOpenClose=function(e){var t=e.open,r=n.props.onOpenChange;r&&r(t)},n.saveTimePicker=function(e){n.timePickerRef=e};var r=e.value||e.defaultValue;if(r&&!y.default.isMoment(r))throw new Error("The value/defaultValue of TimePicker must be a moment object after `antd@2.0`, see: https://u.ant.design/time-picker-value");return n.state={value:r},n}return(0,g.default)(t,e),(0,p.default)(t,[{key:"componentWillReceiveProps",value:function(e){"value"in e&&this.setState({value:e.value})}},{key:"focus",value:function(){this.timePickerRef.focus()}},{key:"getDefaultFormat",value:function(){var e=this.props,t=e.format,n=e.use12Hours;return t||(n?"h:mm:ss a":"HH:mm:ss")}},{key:"render",value:function(){var e=(0,l.default)({},this.props);delete e.defaultValue;var t=this.getDefaultFormat(),n=(0,j.default)(e.className,(0,i.default)({},e.prefixCls+"-"+e.size,!!e.size)),r=function(t){return e.addon?b.default.createElement("div",{className:e.prefixCls+"-panel-addon"},e.addon(t)):null};return b.default.createElement(x.default,(0,l.default)({},o(t),e,{ref:this.saveTimePicker,format:t,className:n,value:this.state.value,placeholder:void 0===e.placeholder?this.getLocale().placeholder:e.placeholder,onChange:this.handleChange,onOpen:this.handleOpenClose,onClose:this.handleOpenClose,addon:r}))}}]),t}(b.default.Component);T.defaultProps={prefixCls:"ant-time-picker",align:{offset:[0,-2]},disabled:!1,disabledHours:void 0,disabledMinutes:void 0,disabledSeconds:void 0,hideDisabledOptions:!1,placement:"bottomLeft",transitionName:"slide-up"};var M=(0,S.default)("TimePicker",k.default);t.default=M(T)},"./node_modules/_antd@2.13.14@antd/lib/time-picker/locale/zh_CN.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={placeholder:"请选择时间"};t.default=r,e.exports=t.default},"./node_modules/_antd@2.13.14@antd/lib/tooltip/index.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/defineProperty.js"),a=r(o),i=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/classCallCheck.js"),s=r(i),l=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/createClass.js"),c=r(l),d=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/possibleConstructorReturn.js"),u=r(d),p=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/inherits.js"),f=r(p),m=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/extends.js"),h=r(m),g=n("./node_modules/_react@15.6.2@react/react.js"),_=r(g),b=n("./node_modules/_rc-tooltip@3.4.9@rc-tooltip/lib/index.js"),v=r(b),y=n("./node_modules/_classnames@2.2.6@classnames/index.js"),A=r(y),x=n("./node_modules/_antd@2.13.14@antd/lib/tooltip/placements.js"),w=r(x),j=function(e,t){var n={},r=(0,h.default)({},e);return t.forEach(function(t){e&&t in e&&(n[t]=e[t],delete r[t])}),{picked:n,omited:r}},E=function(e){function t(e){(0,s.default)(this,t);var n=(0,u.default)(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.onVisibleChange=function(e){var t=n.props.onVisibleChange;"visible"in n.props||n.setState({visible:!n.isNoTitle()&&e}),t&&!n.isNoTitle()&&t(e)},n.onPopupAlign=function(e,t){var r=n.getPlacements(),o=Object.keys(r).filter(function(e){return r[e].points[0]===t.points[0]&&r[e].points[1]===t.points[1]})[0];if(o){var a=e.getBoundingClientRect(),i={top:"50%",left:"50%"};o.indexOf("top")>=0||o.indexOf("Bottom")>=0?i.top=a.height-t.offset[1]+"px":(o.indexOf("Top")>=0||o.indexOf("bottom")>=0)&&(i.top=-t.offset[1]+"px"),o.indexOf("left")>=0||o.indexOf("Right")>=0?i.left=a.width-t.offset[0]+"px":(o.indexOf("right")>=0||o.indexOf("Left")>=0)&&(i.left=-t.offset[0]+"px"),e.style.transformOrigin=i.left+" "+i.top}},n.state={visible:!!e.visible||!!e.defaultVisible},n}return(0,f.default)(t,e),(0,c.default)(t,[{key:"componentWillReceiveProps",value:function(e){"visible"in e&&this.setState({visible:e.visible})}},{key:"getPopupDomNode",value:function(){return this.refs.tooltip.getPopupDomNode()}},{key:"getPlacements",value:function(){var e=this.props,t=e.builtinPlacements,n=e.arrowPointAtCenter,r=e.autoAdjustOverflow;return t||(0,w.default)({arrowPointAtCenter:n,verticalArrowShift:8,autoAdjustOverflow:r})}},{key:"isHoverTrigger",value:function(){var e=this.props.trigger;return!e||"hover"===e||!!Array.isArray(e)&&e.indexOf("hover")>=0}},{key:"getDisabledCompatibleChildren",value:function(e){if((e.type.__ANT_BUTTON||"button"===e.type)&&e.props.disabled&&this.isHoverTrigger()){var t=j(e.props.style,["position","left","right","top","bottom","float","display","zIndex"]),n=t.picked,r=t.omited,o=(0,h.default)({display:"inline-block"},n,{cursor:"not-allowed"}),a=(0,h.default)({},r,{pointerEvents:"none"}),i=(0,g.cloneElement)(e,{style:a,className:null});return _.default.createElement("span",{style:o,className:e.props.className},i)}return e}},{key:"isNoTitle",value:function(){var e=this.props,t=e.title,n=e.overlay;return!t&&!n}},{key:"render",value:function(){var e=this.props,t=this.state,n=e.prefixCls,r=e.title,o=e.overlay,i=e.openClassName,s=e.getPopupContainer,l=e.getTooltipContainer,c=e.children,d=t.visible;"visible"in e||!this.isNoTitle()||(d=!1);var u=this.getDisabledCompatibleChildren(_.default.isValidElement(c)?c:_.default.createElement("span",null,c)),p=u.props,f=(0,A.default)(p.className,(0,a.default)({},i||n+"-open",!0));return _.default.createElement(v.default,(0,h.default)({},this.props,{getTooltipContainer:s||l,ref:"tooltip",builtinPlacements:this.getPlacements(),overlay:o||r||"",visible:d,onVisibleChange:this.onVisibleChange,onPopupAlign:this.onPopupAlign}),d?(0,g.cloneElement)(u,{className:f}):u)}}]),t}(_.default.Component);t.default=E,E.defaultProps={prefixCls:"ant-tooltip",placement:"top",transitionName:"zoom-big-fast",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0},e.exports=t.default},"./node_modules/_antd@2.13.14@antd/lib/tooltip/placements.js":function(e,t,n){"use strict";function r(e){return"boolean"==typeof e?e?l:c:(0,i.default)({},c,e)}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.arrowWidth,n=void 0===t?5:t,o=e.horizontalArrowShift,a=void 0===o?16:o,l=e.verticalArrowShift,c=void 0===l?12:l,u=e.autoAdjustOverflow,p=void 0===u||u,f={left:{points:["cr","cl"],offset:[-4,0]},right:{points:["cl","cr"],offset:[4,0]},top:{points:["bc","tc"],offset:[0,-4]},bottom:{points:["tc","bc"],offset:[0,4]},topLeft:{points:["bl","tc"],offset:[-(a+n),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(c+n)]},topRight:{points:["br","tc"],offset:[a+n,-4]},rightTop:{points:["tl","cr"],offset:[4,-(c+n)]},bottomRight:{points:["tr","bc"],offset:[a+n,4]},rightBottom:{points:["bl","cr"],offset:[4,c+n]},bottomLeft:{points:["tl","bc"],offset:[-(a+n),4]},leftBottom:{points:["br","cl"],offset:[-4,c+n]}};return Object.keys(f).forEach(function(t){f[t]=e.arrowPointAtCenter?(0,i.default)({},f[t],{overflow:r(p),targetOffset:d}):(0,i.default)({},s.placements[t],{overflow:r(p)})}),f}Object.defineProperty(t,"__esModule",{value:!0});var a=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/extends.js"),i=function(e){return e&&e.__esModule?e:{default:e}}(a);t.getOverflowOptions=r,t.default=o;var s=n("./node_modules/_rc-tooltip@3.4.9@rc-tooltip/lib/placements.js"),l={adjustX:1,adjustY:1},c={adjustX:0,adjustY:0},d=[0,0]},"./node_modules/_antd@2.13.14@antd/lib/transfer/index.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){}Object.defineProperty(t,"__esModule",{value:!0});var a=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/toConsumableArray.js"),i=r(a),s=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/defineProperty.js"),l=r(s),c=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/classCallCheck.js"),d=r(c),u=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/createClass.js"),p=r(u),f=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/possibleConstructorReturn.js"),m=r(f),h=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/inherits.js"),g=r(h),_=n("./node_modules/_react@15.6.2@react/react.js"),b=r(_),v=n("./node_modules/_prop-types@15.6.2@prop-types/index.js"),y=r(v),A=n("./node_modules/_classnames@2.2.6@classnames/index.js"),x=r(A),w=n("./node_modules/_antd@2.13.14@antd/lib/transfer/list.js"),j=r(w),E=n("./node_modules/_antd@2.13.14@antd/lib/transfer/operation.js"),S=r(E),C=n("./node_modules/_antd@2.13.14@antd/lib/transfer/search.js"),k=r(C),T=n("./node_modules/_antd@2.13.14@antd/lib/locale-provider/injectLocale.js"),M=r(T),O=function(e){function t(e){(0,d.default)(this,t);var n=(0,m.default)(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));n.moveTo=function(e){var t=n.props,r=t.targetKeys,o=void 0===r?[]:r,a=t.dataSource,i=void 0===a?[]:a,s=t.onChange,c=n.state,d=c.sourceSelectedKeys,u=c.targetSelectedKeys,p="right"===e?d:u,f=p.filter(function(e){return!i.some(function(t){return!(e!==t.key||!t.disabled)})}),m="right"===e?f.concat(o):o.filter(function(e){return-1===f.indexOf(e)}),h="right"===e?"left":"right";n.setState((0,l.default)({},n.getSelectedKeysName(h),[])),n.handleSelectChange(h,[]),s&&s(m,e,f)},n.moveToLeft=function(){return n.moveTo("left")},n.moveToRight=function(){return n.moveTo("right")},n.handleSelectAll=function(e,t,r){var o=n.state[n.getSelectedKeysName(e)]||[],a=t.map(function(e){return e.key}),s=o.filter(function(e){return-1===a.indexOf(e)}),c=[].concat((0,i.default)(o));a.forEach(function(e){-1===c.indexOf(e)&&c.push(e)});var d=r?s:c;n.handleSelectChange(e,d),n.props.selectedKeys||n.setState((0,l.default)({},n.getSelectedKeysName(e),d))},n.handleLeftSelectAll=function(e,t){return n.handleSelectAll("left",e,t)},n.handleRightSelectAll=function(e,t){return n.handleSelectAll("right",e,t)},n.handleFilter=function(e,t){n.setState((0,l.default)({},e+"Filter",t.target.value)),n.props.onSearchChange&&n.props.onSearchChange(e,t)},n.handleLeftFilter=function(e){return n.handleFilter("left",e)},n.handleRightFilter=function(e){return n.handleFilter("right",e)},n.handleClear=function(e){n.setState((0,l.default)({},e+"Filter",""))},n.handleLeftClear=function(){return n.handleClear("left")},n.handleRightClear=function(){return n.handleClear("right")},n.handleSelect=function(e,t,r){var o=n.state,a=o.sourceSelectedKeys,s=o.targetSelectedKeys,c=[].concat("left"===e?(0,i.default)(a):(0,i.default)(s)),d=c.indexOf(t.key);d>-1&&c.splice(d,1),r&&c.push(t.key),n.handleSelectChange(e,c),n.props.selectedKeys||n.setState((0,l.default)({},n.getSelectedKeysName(e),c))},n.handleLeftSelect=function(e,t){return n.handleSelect("left",e,t)},n.handleRightSelect=function(e,t){return n.handleSelect("right",e,t)},n.handleScroll=function(e,t){var r=n.props.onScroll;r&&r(e,t)},n.handleLeftScroll=function(e){return n.handleScroll("left",e)},n.handleRightScroll=function(e){return n.handleScroll("right",e)};var r=e.selectedKeys,o=void 0===r?[]:r,a=e.targetKeys,s=void 0===a?[]:a;return n.state={leftFilter:"",rightFilter:"",sourceSelectedKeys:o.filter(function(e){return-1===s.indexOf(e)}),targetSelectedKeys:o.filter(function(e){return s.indexOf(e)>-1})},n}return(0,g.default)(t,e),(0,p.default)(t,[{key:"componentWillReceiveProps",value:function(e){var t=this.state,n=t.sourceSelectedKeys,r=t.targetSelectedKeys;if((e.targetKeys!==this.props.targetKeys||e.dataSource!==this.props.dataSource)&&(this.splitedDataSource=null,!e.selectedKeys)){var o=e.dataSource,a=e.targetKeys,i=void 0===a?[]:a,s=[],l=[];o.forEach(function(e){var t=e.key;n.includes(t)&&!i.includes(t)&&s.push(t),r.includes(t)&&i.includes(t)&&l.push(t)}),this.setState({sourceSelectedKeys:s,targetSelectedKeys:l})}if(e.selectedKeys){var c=e.targetKeys||[];this.setState({sourceSelectedKeys:e.selectedKeys.filter(function(e){return!c.includes(e)}),targetSelectedKeys:e.selectedKeys.filter(function(e){return c.includes(e)})})}}},{key:"splitDataSource",value:function(e){if(this.splitedDataSource)return this.splitedDataSource;var t=e.dataSource,n=e.rowKey,r=e.targetKeys,o=void 0===r?[]:r,a=[],i=new Array(o.length);return t.forEach(function(e){n&&(e.key=n(e));var t=o.indexOf(e.key);-1!==t?i[t]=e:a.push(e)}),this.splitedDataSource={leftDataSource:a,rightDataSource:i},this.splitedDataSource}},{key:"handleSelectChange",value:function(e,t){var n=this.state,r=n.sourceSelectedKeys,o=n.targetSelectedKeys,a=this.props.onSelectChange;a&&("left"===e?a(t,o):a(r,t))}},{key:"getTitles",value:function(){var e=this.props;return e.titles?e.titles:this.getLocale().titles}},{key:"getSelectedKeysName",value:function(e){return"left"===e?"sourceSelectedKeys":"targetSelectedKeys"}},{key:"render",value:function(){var e=this.getLocale(),t=this.props,n=t.prefixCls,r=void 0===n?"ant-transfer":n,o=t.className,a=t.operations,i=void 0===a?[]:a,s=t.showSearch,l=t.notFoundContent,c=void 0===l?e.notFoundContent:l,d=t.searchPlaceholder,u=void 0===d?e.searchPlaceholder:d,p=t.body,f=t.footer,m=t.listStyle,h=t.filterOption,g=t.render,_=t.lazy,v=this.state,y=v.leftFilter,A=v.rightFilter,w=v.sourceSelectedKeys,E=v.targetSelectedKeys,C=this.splitDataSource(this.props),k=C.leftDataSource,T=C.rightDataSource,M=E.length>0,O=w.length>0,L=(0,x.default)(o,r),D=this.getTitles();return b.default.createElement("div",{className:L},b.default.createElement(j.default,{prefixCls:r+"-list",titleText:D[0],dataSource:k,filter:y,filterOption:h,style:m,checkedKeys:w,handleFilter:this.handleLeftFilter,handleClear:this.handleLeftClear,handleSelect:this.handleLeftSelect,handleSelectAll:this.handleLeftSelectAll,render:g,showSearch:s,searchPlaceholder:u,notFoundContent:c,itemUnit:e.itemUnit,itemsUnit:e.itemsUnit,body:p,footer:f,lazy:_,onScroll:this.handleLeftScroll}),b.default.createElement(S.default,{className:r+"-operation",rightActive:O,rightArrowText:i[0],moveToRight:this.moveToRight,leftActive:M,leftArrowText:i[1],moveToLeft:this.moveToLeft}),b.default.createElement(j.default,{prefixCls:r+"-list",titleText:D[1],dataSource:T,filter:A,filterOption:h,style:m,checkedKeys:E,handleFilter:this.handleRightFilter,handleClear:this.handleRightClear,handleSelect:this.handleRightSelect,handleSelectAll:this.handleRightSelectAll,render:g,showSearch:s,searchPlaceholder:u,notFoundContent:c,itemUnit:e.itemUnit,itemsUnit:e.itemsUnit,body:p,footer:f,lazy:_,onScroll:this.handleRightScroll}))}}]),t}(b.default.Component);O.List=j.default,O.Operation=S.default,O.Search=k.default,O.defaultProps={dataSource:[],render:o,showSearch:!1},O.propTypes={prefixCls:y.default.string,dataSource:y.default.array,render:y.default.func,targetKeys:y.default.array,onChange:y.default.func,height:y.default.number,listStyle:y.default.object,className:y.default.string,titles:y.default.array,operations:y.default.array,showSearch:y.default.bool,filterOption:y.default.func,searchPlaceholder:y.default.string,notFoundContent:y.default.node,body:y.default.func,footer:y.default.func,rowKey:y.default.func,lazy:y.default.oneOfType([y.default.object,y.default.bool])};var L=(0,M.default)("Transfer",{titles:["",""],searchPlaceholder:"Search",notFoundContent:"Not Found"});t.default=L(O),e.exports=t.default},"./node_modules/_antd@2.13.14@antd/lib/transfer/item.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/extends.js"),a=r(o),i=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/defineProperty.js"),s=r(i),l=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/classCallCheck.js"),c=r(l),d=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/createClass.js"),u=r(d),p=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/possibleConstructorReturn.js"),f=r(p),m=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/inherits.js"),h=r(m),g=n("./node_modules/_react@15.6.2@react/react.js"),_=r(g),b=n("./node_modules/_classnames@2.2.6@classnames/index.js"),v=r(b),y=n("./node_modules/_rc-util@4.6.0@rc-util/lib/PureRenderMixin.js"),A=r(y),x=n("./node_modules/_react-lazy-load@3.0.13@react-lazy-load/lib/LazyLoad.js"),w=r(x),j=n("./node_modules/_antd@2.13.14@antd/lib/checkbox/index.js"),E=r(j),S=function(e){function t(){return(0,c.default)(this,t),(0,f.default)(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return(0,h.default)(t,e),(0,u.default)(t,[{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),n=0;n=0},n.renderItem=function(e){var t=n.props.render,r=void 0===t?o:t,i=r(e),s=a(i);return{renderedText:s?i.value:i,renderedEl:s?i.label:i}},n.state={mounted:!1},n}return(0,_.default)(t,e),(0,f.default)(t,[{key:"componentDidMount",value:function(){var e=this;this.timer=setTimeout(function(){e.setState({mounted:!0})},0)}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timer),clearTimeout(this.triggerScrollTimer)}},{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),n=0;n=0})?"all":"part"}},{key:"render",value:function(){var e=this,t=this.props,n=t.prefixCls,r=t.dataSource,a=t.titleText,i=t.checkedKeys,l=t.lazy,d=t.body,u=void 0===d?o:d,p=t.footer,f=void 0===p?o:p,m=t.showSearch,h=t.style,g=t.filter,_=t.searchPlaceholder,b=t.notFoundContent,y=t.itemUnit,A=t.itemsUnit,w=t.onScroll,E=f((0,c.default)({},this.props)),S=u((0,c.default)({},this.props)),C=(0,x.default)(n,(0,s.default)({},n+"-with-footer",!!E)),T=[],O=[],D=r.map(function(t){var r=e.renderItem(t),o=r.renderedText,a=r.renderedEl;if(g&&g.trim()&&!e.matchFilter(o,t))return null;O.push(t),t.disabled||T.push(t);var s=i.indexOf(t.key)>=0;return v.default.createElement(L.default,{key:t.key,item:t,lazy:l,renderedText:o,renderedEl:a,checked:s,prefixCls:n,onClick:e.handleSelect})}),P=r.length>1?A:y,I=m?v.default.createElement("div",{className:n+"-body-search-wrapper"},v.default.createElement(M.default,{prefixCls:n+"-search",onChange:this.handleFilter,handleClear:this.handleClear,placeholder:_,value:g})):null,R=S||v.default.createElement("div",{className:m?n+"-body "+n+"-body-with-search":n+"-body"},I,v.default.createElement(j.default,{component:"ul",componentProps:{onScroll:w},className:n+"-content",transitionName:this.state.mounted?n+"-content-item-highlight":"",transitionLeave:!1},D),v.default.createElement("div",{className:n+"-body-not-found"},b)),N=E?v.default.createElement("div",{className:n+"-footer"},E):null,F=this.getCheckStatus(T),B="all"===F,z=v.default.createElement(k.default,{ref:"checkbox",checked:B,indeterminate:"part"===F,onChange:function(){return e.props.handleSelectAll(T,B)}});return v.default.createElement("div",{className:C,style:h},v.default.createElement("div",{className:n+"-header"},z,v.default.createElement("span",{className:n+"-header-selected"},v.default.createElement("span",null,(i.length>0?i.length+"/":"")+O.length," ",P),v.default.createElement("span",{className:n+"-header-title"},a))),R,N)}}]),t}(v.default.Component);t.default=I,I.defaultProps={dataSource:[],titleText:"",showSearch:!1,render:o,lazy:{}},e.exports=t.default},"./node_modules/_antd@2.13.14@antd/lib/transfer/operation.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){}Object.defineProperty(t,"__esModule",{value:!0});var a=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/classCallCheck.js"),i=r(a),s=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/createClass.js"),l=r(s),c=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/possibleConstructorReturn.js"),d=r(c),u=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/inherits.js"),p=r(u),f=n("./node_modules/_react@15.6.2@react/react.js"),m=r(f),h=n("./node_modules/_antd@2.13.14@antd/lib/button/index.js"),g=r(h),_=n("./node_modules/_antd@2.13.14@antd/lib/icon/index.js"),b=r(_),v=function(e){function t(){return(0,i.default)(this,t),(0,d.default)(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){var e=this.props,t=e.moveToLeft,n=e.moveToRight,r=e.leftArrowText,o=e.rightArrowText,a=e.leftActive,i=e.rightActive,s=e.className,l=m.default.createElement(g.default,{type:"primary",size:"small",disabled:!a,onClick:t},m.default.createElement("span",null,m.default.createElement(b.default,{type:"left"}),r)),c=m.default.createElement(g.default,{type:"primary",size:"small",disabled:!i,onClick:n},m.default.createElement("span",null,o,m.default.createElement(b.default,{type:"right"})));return m.default.createElement("div",{className:s},l,c)}}]),t}(m.default.Component);t.default=v,v.defaultProps={leftArrowText:"",rightArrowText:"",moveToLeft:o,moveToRight:o},e.exports=t.default},"./node_modules/_antd@2.13.14@antd/lib/transfer/search.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/classCallCheck.js"),a=r(o),i=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/createClass.js"),s=r(i),l=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/possibleConstructorReturn.js"),c=r(l),d=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/inherits.js"),u=r(d),p=n("./node_modules/_react@15.6.2@react/react.js"),f=r(p),m=n("./node_modules/_antd@2.13.14@antd/lib/icon/index.js"),h=r(m),g=n("./node_modules/_antd@2.13.14@antd/lib/input/index.js"),_=r(g),b=function(e){function t(){(0,a.default)(this,t);var e=(0,c.default)(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.handleChange=function(t){var n=e.props.onChange;n&&n(t)},e.handleClear=function(t){t.preventDefault();var n=e.props.handleClear;n&&n(t)},e}return(0,u.default)(t,e),(0,s.default)(t,[{key:"render",value:function(){var e=this.props,t=e.placeholder,n=e.value,r=e.prefixCls,o=n&&n.length>0?f.default.createElement("a",{href:"#",className:r+"-action",onClick:this.handleClear},f.default.createElement(h.default,{type:"cross-circle"})):f.default.createElement("span",{className:r+"-action"},f.default.createElement(h.default,{type:"search"}));return f.default.createElement("div",null,f.default.createElement(_.default,{placeholder:t,className:r,value:n,ref:"input",onChange:this.handleChange}),o)}}]),t}(f.default.Component);t.default=b,b.defaultProps={placeholder:""},e.exports=t.default},"./node_modules/_antd@2.13.14@antd/lib/tree-select/index.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/extends.js"),a=r(o),i=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/defineProperty.js"),s=r(i),l=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/classCallCheck.js"),c=r(l),d=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/createClass.js"),u=r(d),p=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/possibleConstructorReturn.js"),f=r(p),m=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/inherits.js"),h=r(m),g=n("./node_modules/_react@15.6.2@react/react.js"),_=r(g),b=n("./node_modules/_rc-tree-select@1.10.13@rc-tree-select/lib/index.js"),v=r(b),y=n("./node_modules/_classnames@2.2.6@classnames/index.js"),A=r(y),x=n("./node_modules/_antd@2.13.14@antd/lib/locale-provider/injectLocale.js"),w=r(x),j=n("./node_modules/_antd@2.13.14@antd/lib/_util/warning.js"),E=r(j),S=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o0?(t=e.map(function(e){var t=(0,k.fileToObject)(e);return t.status="uploading",t}),r=r.concat(t)):(t=(0,k.fileToObject)(e),t.status="uploading",r.push(t)),n.onChange({file:t,fileList:r}),window.FormData||n.autoUpdateProgress(0,t)},n.onSuccess=function(e,t){n.clearProgressTimer();try{"string"==typeof e&&(e=JSON.parse(e))}catch(e){}var r=n.state.fileList,o=(0,k.getFileItem)(t,r);o&&(o.status="done",o.response=e,n.onChange({file:(0,s.default)({},o),fileList:r}))},n.onProgress=function(e,t){var r=n.state.fileList,o=(0,k.getFileItem)(t,r);o&&(o.percent=e.percent,n.onChange({event:e,file:(0,s.default)({},o),fileList:n.state.fileList}))},n.onError=function(e,t,r){n.clearProgressTimer();var o=n.state.fileList,a=(0,k.getFileItem)(r,o);a&&(a.error=e,a.response=t,a.status="error",n.onChange({file:(0,s.default)({},a),fileList:o}))},n.handleManualRemove=function(e){n.refs.upload.abort(e),e.status="removed",n.handleRemove(e)},n.onChange=function(e){"fileList"in n.props||n.setState({fileList:e.fileList});var t=n.props.onChange;t&&t(e)},n.onFileDrop=function(e){n.setState({dragState:e.type})},n.beforeUpload=function(e,t){if(!n.props.beforeUpload)return!0;var r=n.props.beforeUpload(e,t);return!1===r?(n.onChange({file:e,fileList:(0,E.default)(t.concat(n.state.fileList),function(e){return e.uid})}),!1):!r||!r.then||r},n.state={fileList:e.fileList||e.defaultFileList||[],dragState:"drop"},n}return(0,h.default)(t,e),(0,u.default)(t,[{key:"componentWillUnmount",value:function(){this.clearProgressTimer()}},{key:"getLocale",value:function(){var e={};return this.context.antLocale&&this.context.antLocale.Upload&&(e=this.context.antLocale.Upload),(0,s.default)({},T,e,this.props.locale)}},{key:"autoUpdateProgress",value:function(e,t){var n=this,r=(0,k.genPercentAdd)(),o=0;this.clearProgressTimer(),this.progressTimer=setInterval(function(){o=r(o),n.onProgress({percent:o},t)},200)}},{key:"handleRemove",value:function(e){var t=this,n=this.props.onRemove;Promise.resolve("function"==typeof n?n(e):n).then(function(n){if(!1!==n){var r=(0,k.removeFileItem)(e,t.state.fileList);r&&t.onChange({file:e,fileList:r})}})}},{key:"componentWillReceiveProps",value:function(e){"fileList"in e&&this.setState({fileList:e.fileList||[]})}},{key:"clearProgressTimer",value:function(){clearInterval(this.progressTimer)}},{key:"render",value:function(){var e,t=this.props,n=t.prefixCls,r=void 0===n?"":n,o=t.showUploadList,i=t.listType,l=t.onPreview,c=t.type,d=t.disabled,u=t.children,p=t.className,f=(0,s.default)({onStart:this.onStart,onError:this.onError,onProgress:this.onProgress,onSuccess:this.onSuccess},this.props,{beforeUpload:this.beforeUpload});delete f.className;var m=o.showRemoveIcon,h=o.showPreviewIcon,g=o?_.default.createElement(C.default,{listType:i,items:this.state.fileList,onPreview:l,onRemove:this.handleManualRemove,showRemoveIcon:m,showPreviewIcon:h,locale:this.getLocale()}):null;if("drag"===c){var b,y=(0,w.default)(r,(b={},(0,a.default)(b,r+"-drag",!0),(0,a.default)(b,r+"-drag-uploading",this.state.fileList.some(function(e){return"uploading"===e.status})),(0,a.default)(b,r+"-drag-hover","dragover"===this.state.dragState),(0,a.default)(b,r+"-disabled",d),b));return _.default.createElement("span",{className:p},_.default.createElement("div",{className:y,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,onDragLeave:this.onFileDrop},_.default.createElement(v.default,(0,s.default)({},f,{ref:"upload",className:r+"-btn"}),_.default.createElement("div",{className:r+"-drag-container"},u))),g)}var A=(0,w.default)(r,(e={},(0,a.default)(e,r+"-select",!0),(0,a.default)(e,r+"-select-"+i,!0),(0,a.default)(e,r+"-disabled",d),e)),x=_.default.createElement("div",{className:A,style:{display:u?"":"none"}},_.default.createElement(v.default,(0,s.default)({},f,{ref:"upload"})));return"picture-card"===i?_.default.createElement("span",{className:p},g,x):_.default.createElement("span",{className:p},x,g)}}]),t}(_.default.Component);t.default=M,M.defaultProps={prefixCls:"ant-upload",type:"select",multiple:!1,action:"",data:{},accept:"",beforeUpload:k.T,showUploadList:!0,listType:"text",className:"",disabled:!1,supportServerRender:!0},M.contextTypes={antLocale:A.default.object},e.exports=t.default},"./node_modules/_antd@2.13.14@antd/lib/upload/UploadList.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/defineProperty.js"),a=r(o),i=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/extends.js"),s=r(i),l=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/classCallCheck.js"),c=r(l),d=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/createClass.js"),u=r(d),p=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/possibleConstructorReturn.js"),f=r(p),m=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/inherits.js"),h=r(m),g=n("./node_modules/_react@15.6.2@react/react.js"),_=r(g),b=n("./node_modules/_rc-animate@2.6.0@rc-animate/lib/Animate.js"),v=r(b),y=n("./node_modules/_antd@2.13.14@antd/lib/icon/index.js"),A=r(y),x=n("./node_modules/_antd@2.13.14@antd/lib/tooltip/index.js"),w=r(x),j=n("./node_modules/_antd@2.13.14@antd/lib/progress/index.js"),E=r(j),S=n("./node_modules/_classnames@2.2.6@classnames/index.js"),C=r(S),k=function(e,t){var n=new FileReader;n.onloadend=function(){return t(n.result)},n.readAsDataURL(e)},T=function(e){function t(){(0,c.default)(this,t);var e=(0,f.default)(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.handleClose=function(t){var n=e.props.onRemove;n&&n(t)},e.handlePreview=function(t,n){var r=e.props.onPreview;if(r)return n.preventDefault(),r(t)},e}return(0,h.default)(t,e),(0,u.default)(t,[{key:"componentDidUpdate",value:function(){var e=this;"picture"!==this.props.listType&&"picture-card"!==this.props.listType||(this.props.items||[]).forEach(function(t){"undefined"!=typeof document&&"undefined"!=typeof window&&window.FileReader&&window.File&&t.originFileObj instanceof File&&void 0===t.thumbUrl&&(t.thumbUrl="",k(t.originFileObj,function(n){t.thumbUrl=n,e.forceUpdate()}))})}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.prefixCls,o=n.items,i=void 0===o?[]:o,l=n.listType,c=n.showPreviewIcon,d=n.showRemoveIcon,u=n.locale,p=i.map(function(e){var n,o=void 0,i=_.default.createElement(A.default,{type:"uploading"===e.status?"loading":"paper-clip"});if("picture"!==l&&"picture-card"!==l||(i="uploading"===e.status||!e.thumbUrl&&!e.url?"picture-card"===l?_.default.createElement("div",{className:r+"-list-item-uploading-text"},u.uploading):_.default.createElement(A.default,{className:r+"-list-item-thumbnail",type:"picture"}):_.default.createElement("a",{className:r+"-list-item-thumbnail",onClick:function(n){return t.handlePreview(e,n)},href:e.url||e.thumbUrl,target:"_blank",rel:"noopener noreferrer"},_.default.createElement("img",{src:e.thumbUrl||e.url,alt:e.name}))),"uploading"===e.status){var p="percent"in e?_.default.createElement(E.default,(0,s.default)({type:"line"},t.props.progressAttr,{percent:e.percent})):null;o=_.default.createElement("div",{className:r+"-list-item-progress",key:"progress"},p)}var f=(0,C.default)((n={},(0,a.default)(n,r+"-list-item",!0),(0,a.default)(n,r+"-list-item-"+e.status,!0),n)),m=e.url?_.default.createElement("a",{href:e.url,target:"_blank",rel:"noopener noreferrer",className:r+"-list-item-name",onClick:function(n){return t.handlePreview(e,n)},title:e.name},e.name):_.default.createElement("span",{className:r+"-list-item-name",onClick:function(n){return t.handlePreview(e,n)},title:e.name},e.name),h=e.url||e.thumbUrl?void 0:{pointerEvents:"none",opacity:.5},g=c?_.default.createElement("a",{href:e.url||e.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:h,onClick:function(n){return t.handlePreview(e,n)},title:u.previewFile},_.default.createElement(A.default,{type:"eye-o"})):null,b=d?_.default.createElement(A.default,{type:"delete",title:u.removeFile,onClick:function(){return t.handleClose(e)}}):null,y=d?_.default.createElement(A.default,{type:"cross",title:u.removeFile,onClick:function(){return t.handleClose(e)}}):null,x="picture-card"===l&&"uploading"!==e.status?_.default.createElement("span",{className:r+"-list-item-actions"},g,b):y,j=void 0;j=e.response&&"string"==typeof e.response?e.response:e.error&&e.error.statusText||u.uploadError;var S="error"===e.status?_.default.createElement(w.default,{title:j},i,m):_.default.createElement("span",null,i,m);return _.default.createElement("div",{className:f,key:e.uid},_.default.createElement("div",{className:r+"-list-item-info"},S),x,_.default.createElement(v.default,{transitionName:"fade",component:""},o))}),f=(0,C.default)((e={},(0,a.default)(e,r+"-list",!0),(0,a.default)(e,r+"-list-"+l,!0),e)),m="picture-card"===l?"animate-inline":"animate";return _.default.createElement(v.default,{transitionName:r+"-"+m,component:"div",className:f},p)}}]),t}(_.default.Component);t.default=T,T.defaultProps={listType:"text",progressAttr:{strokeWidth:2,showInfo:!1},prefixCls:"ant-upload",showRemoveIcon:!0,showPreviewIcon:!0},e.exports=t.default},"./node_modules/_antd@2.13.14@antd/lib/upload/index.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/_antd@2.13.14@antd/lib/upload/Upload.js"),a=r(o),i=n("./node_modules/_antd@2.13.14@antd/lib/upload/Dragger.js"),s=r(i);a.default.Dragger=s.default,t.default=a.default,e.exports=t.default},"./node_modules/_antd@2.13.14@antd/lib/upload/utils.js":function(e,t,n){"use strict";function r(){return!0}function o(e){return{lastModified:e.lastModified,lastModifiedDate:e.lastModifiedDate,name:e.filename||e.name,size:e.size,type:e.type,uid:e.uid,response:e.response,error:e.error,percent:0,originFileObj:e,status:null}}function a(){var e=.1;return function(t){var n=t;return n>=.98?n:(n+=e,e-=.01,e<.001&&(e=.001),100*n)}}function i(e,t){var n=void 0!==e.uid?"uid":"name";return t.filter(function(t){return t[n]===e[n]})[0]}function s(e,t){var n=void 0!==e.uid?"uid":"name",r=t.filter(function(t){return t[n]!==e[n]});return r.length===t.length?null:r}Object.defineProperty(t,"__esModule",{value:!0}),t.T=r,t.fileToObject=o,t.genPercentAdd=a,t.getFileItem=i,t.removeFileItem=s},"./node_modules/_array-tree-filter@1.0.1@array-tree-filter/index.js":function(e,t){function n(e,t,n){n=n||{},n.childrenKeyName=n.childrenKeyName||"children";var r,o=e||[],a=[],i=0;do{var r=o.filter(function(e){return t(e,i)})[0];if(!r)break;a.push(r),o=r[n.childrenKeyName]||[],i+=1}while(o.length>0);return a}e.exports=n},"./node_modules/_async-validator@1.10.0@async-validator/lib/index.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){this.rules=null,this._messages=p.messages,this.define(e)}Object.defineProperty(t,"__esModule",{value:!0});var a=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/extends.js"),i=r(a),s=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/typeof.js"),l=r(s),c=n("./node_modules/_async-validator@1.10.0@async-validator/lib/util.js"),d=n("./node_modules/_async-validator@1.10.0@async-validator/lib/validator/index.js"),u=r(d),p=n("./node_modules/_async-validator@1.10.0@async-validator/lib/messages.js");o.prototype={messages:function(e){return e&&(this._messages=(0,c.deepMerge)((0,p.newMessages)(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!==(void 0===e?"undefined":(0,l.default)(e))||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var t=void 0,n=void 0;for(t in e)e.hasOwnProperty(t)&&(n=e[t],this.rules[t]=Array.isArray(n)?n:[n])},validate:function(e){function t(e){var t=void 0,n=void 0,r=[],o={};for(t=0;t1&&void 0!==arguments[1]?arguments[1]:{},a=arguments[2],s=e,d=r,u=a;if("function"==typeof d&&(u=d,d={}),!this.rules||0===Object.keys(this.rules).length)return void(u&&u());if(d.messages){var f=this.messages();f===p.messages&&(f=(0,p.newMessages)()),(0,c.deepMerge)(f,d.messages),d.messages=f}else d.messages=this.messages();var m=void 0,h=void 0,g={};(d.keys||Object.keys(this.rules)).forEach(function(t){m=n.rules[t],h=s[t],m.forEach(function(r){var o=r;"function"==typeof o.transform&&(s===e&&(s=(0,i.default)({},s)),h=s[t]=o.transform(h)),o="function"==typeof o?{validator:o}:(0,i.default)({},o),o.validator=n.getValidationMethod(o),o.field=t,o.fullField=o.fullField||t,o.type=n.getType(o),o.validator&&(g[t]=g[t]||[],g[t].push({rule:o,value:h,source:s,field:t}))})});var _={};(0,c.asyncMap)(g,d,function(e,t){function n(e,t){return(0,i.default)({},t,{fullField:a.fullField+"."+e})}function r(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],l=r;if(Array.isArray(l)||(l=[l]),l.length&&(0,c.warning)("async-validator:",l),l.length&&a.message&&(l=[].concat(a.message)),l=l.map((0,c.complementError)(a)),d.first&&l.length)return _[a.field]=1,t(l);if(s){if(a.required&&!e.value)return l=a.message?[].concat(a.message).map((0,c.complementError)(a)):d.error?[d.error(a,(0,c.format)(d.messages.required,a.field))]:[],t(l);var u={};if(a.defaultField)for(var p in e.value)e.value.hasOwnProperty(p)&&(u[p]=a.defaultField);u=(0,i.default)({},u,e.rule.fields);for(var f in u)if(u.hasOwnProperty(f)){var m=Array.isArray(u[f])?u[f]:[u[f]];u[f]=m.map(n.bind(null,f))}var h=new o(u);h.messages(d.messages),e.rule.options&&(e.rule.options.messages=d.messages,e.rule.options.error=d.error),h.validate(e.value,e.rule.options||d,function(e){t(e&&e.length?l.concat(e):e)})}else t(l)}var a=e.rule,s=!("object"!==a.type&&"array"!==a.type||"object"!==(0,l.default)(a.fields)&&"object"!==(0,l.default)(a.defaultField));s=s&&(a.required||!a.required&&e.value),a.field=e.field;var u=a.validator(a,e.value,r,e.source,d);u&&u.then&&u.then(function(){return r()},function(e){return r(e)})},function(e){t(e)})},getType:function(e){if(void 0===e.type&&e.pattern instanceof RegExp&&(e.type="pattern"),"function"!=typeof e.validator&&e.type&&!u.default.hasOwnProperty(e.type))throw new Error((0,c.format)("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if("function"==typeof e.validator)return e.validator;var t=Object.keys(e),n=t.indexOf("message");return-1!==n&&t.splice(n,1),1===t.length&&"required"===t[0]?u.default.required:u.default[this.getType(e)]||!1}},o.register=function(e,t){if("function"!=typeof t)throw new Error("Cannot register a validator by type, validator is not a function");u.default[e]=t},o.messages=p.messages,t.default=o,e.exports=t.default},"./node_modules/_async-validator@1.10.0@async-validator/lib/messages.js":function(e,t,n){"use strict";function r(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}Object.defineProperty(t,"__esModule",{value:!0}),t.newMessages=r;t.messages=r()},"./node_modules/_async-validator@1.10.0@async-validator/lib/rule/enum.js":function(e,t,n){"use strict";function r(e,t,n,r,o){e[i]=Array.isArray(e[i])?e[i]:[],-1===e[i].indexOf(t)&&r.push(a.format(o.messages[i],e.fullField,e[i].join(", ")))}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/_async-validator@1.10.0@async-validator/lib/util.js"),a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(o),i="enum";t.default=r,e.exports=t.default},"./node_modules/_async-validator@1.10.0@async-validator/lib/rule/index.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/_async-validator@1.10.0@async-validator/lib/rule/required.js"),a=r(o),i=n("./node_modules/_async-validator@1.10.0@async-validator/lib/rule/whitespace.js"),s=r(i),l=n("./node_modules/_async-validator@1.10.0@async-validator/lib/rule/type.js"),c=r(l),d=n("./node_modules/_async-validator@1.10.0@async-validator/lib/rule/range.js"),u=r(d),p=n("./node_modules/_async-validator@1.10.0@async-validator/lib/rule/enum.js"),f=r(p),m=n("./node_modules/_async-validator@1.10.0@async-validator/lib/rule/pattern.js"),h=r(m);t.default={required:a.default,whitespace:s.default,type:c.default,range:u.default,enum:f.default,pattern:h.default},e.exports=t.default},"./node_modules/_async-validator@1.10.0@async-validator/lib/rule/pattern.js":function(e,t,n){"use strict";function r(e,t,n,r,o){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||r.push(a.format(o.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"==typeof e.pattern){var i=new RegExp(e.pattern);i.test(t)||r.push(a.format(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/_async-validator@1.10.0@async-validator/lib/util.js"),a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(o);t.default=r,e.exports=t.default},"./node_modules/_async-validator@1.10.0@async-validator/lib/rule/range.js":function(e,t,n){"use strict";function r(e,t,n,r,o){var i="number"==typeof e.len,s="number"==typeof e.min,l="number"==typeof e.max,c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,d=t,u=null,p="number"==typeof t,f="string"==typeof t,m=Array.isArray(t);if(p?u="number":f?u="string":m&&(u="array"),!u)return!1;m&&(d=t.length),f&&(d=t.replace(c,"_").length),i?d!==e.len&&r.push(a.format(o.messages[u].len,e.fullField,e.len)):s&&!l&&de.max?r.push(a.format(o.messages[u].max,e.fullField,e.max)):s&&l&&(de.max)&&r.push(a.format(o.messages[u].range,e.fullField,e.min,e.max))}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/_async-validator@1.10.0@async-validator/lib/util.js"),a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(o);t.default=r,e.exports=t.default},"./node_modules/_async-validator@1.10.0@async-validator/lib/rule/required.js":function(e,t,n){"use strict";function r(e,t,n,r,o,i){!e.required||n.hasOwnProperty(e.field)&&!a.isEmptyValue(t,i||e.type)||r.push(a.format(o.messages.required,e.fullField))}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/_async-validator@1.10.0@async-validator/lib/util.js"),a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(o);t.default=r,e.exports=t.default},"./node_modules/_async-validator@1.10.0@async-validator/lib/rule/type.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n,r,o){if(e.required&&void 0===t)return void(0,d.default)(e,t,n,r,o);var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],s=e.type;a.indexOf(s)>-1?p[s](t)||r.push(l.format(o.messages.types[s],e.fullField,e.type)):s&&(void 0===t?"undefined":(0,i.default)(t))!==e.type&&r.push(l.format(o.messages.types[s],e.fullField,e.type))}Object.defineProperty(t,"__esModule",{value:!0});var a=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/typeof.js"),i=r(a),s=n("./node_modules/_async-validator@1.10.0@async-validator/lib/util.js"),l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(s),c=n("./node_modules/_async-validator@1.10.0@async-validator/lib/rule/required.js"),d=r(c),u={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},p={integer:function(e){return p.number(e)&&parseInt(e,10)===e},float:function(e){return p.number(e)&&!p.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(e){return!1}},date:function(e){return"function"==typeof e.getTime&&"function"==typeof e.getMonth&&"function"==typeof e.getYear},number:function(e){return!isNaN(e)&&"number"==typeof e},object:function(e){return"object"===(void 0===e?"undefined":(0,i.default)(e))&&!p.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&!!e.match(u.email)&&e.length<255},url:function(e){return"string"==typeof e&&!!e.match(u.url)},hex:function(e){return"string"==typeof e&&!!e.match(u.hex)}};t.default=o,e.exports=t.default},"./node_modules/_async-validator@1.10.0@async-validator/lib/rule/whitespace.js":function(e,t,n){"use strict";function r(e,t,n,r,o){(/^\s+$/.test(t)||""===t)&&r.push(a.format(o.messages.whitespace,e.fullField))}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/_async-validator@1.10.0@async-validator/lib/util.js"),a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(o);t.default=r,e.exports=t.default},"./node_modules/_async-validator@1.10.0@async-validator/lib/util.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){for(var e=arguments.length,t=Array(e),n=0;n=a)return e;switch(e){case"%s":return String(t[r++]);case"%d":return Number(t[r++]);case"%j":try{return JSON.stringify(t[r++])}catch(e){return"[Circular]"}break;default:return e}}),s=t[r];r=200&&e<300}};s.headers={common:{Accept:"application/json, text/plain, */*"}},o.forEach(["delete","get","head"],function(e){s.headers[e]={}}),o.forEach(["post","put","patch"],function(e){s.headers[e]=o.merge(i)}),e.exports=s}).call(t,n("./node_modules/_process@0.11.10@process/browser.js"))},"./node_modules/_axios@0.17.1@axios/lib/helpers/bind.js":function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r>8-s%1*8)){if((n=o.charCodeAt(s+=.75))>255)throw new r;t=t<<8|n}return i}var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.prototype=new Error,r.prototype.code=5,r.prototype.name="InvalidCharacterError",e.exports=o},"./node_modules/_axios@0.17.1@axios/lib/helpers/buildURL.js":function(e,t,n){"use strict";function r(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var o=n("./node_modules/_axios@0.17.1@axios/lib/utils.js");e.exports=function(e,t,n){if(!t)return e;var a;if(n)a=n(t);else if(o.isURLSearchParams(t))a=t.toString();else{var i=[];o.forEach(t,function(e,t){null!==e&&void 0!==e&&(o.isArray(e)&&(t+="[]"),o.isArray(e)||(e=[e]),o.forEach(e,function(e){o.isDate(e)?e=e.toISOString():o.isObject(e)&&(e=JSON.stringify(e)),i.push(r(t)+"="+r(e))}))}),a=i.join("&")}return a&&(e+=(-1===e.indexOf("?")?"?":"&")+a),e}},"./node_modules/_axios@0.17.1@axios/lib/helpers/combineURLs.js":function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},"./node_modules/_axios@0.17.1@axios/lib/helpers/cookies.js":function(e,t,n){"use strict";var r=n("./node_modules/_axios@0.17.1@axios/lib/utils.js");e.exports=r.isStandardBrowserEnv()?function(){return{write:function(e,t,n,o,a,i){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(o)&&s.push("path="+o),r.isString(a)&&s.push("domain="+a),!0===i&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},"./node_modules/_axios@0.17.1@axios/lib/helpers/isAbsoluteURL.js":function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},"./node_modules/_axios@0.17.1@axios/lib/helpers/isURLSameOrigin.js":function(e,t,n){"use strict";var r=n("./node_modules/_axios@0.17.1@axios/lib/utils.js");e.exports=r.isStandardBrowserEnv()?function(){function e(e){var t=e;return n&&(o.setAttribute("href",t),t=o.href),o.setAttribute("href",t),{href:o.href,protocol:o.protocol?o.protocol.replace(/:$/,""):"",host:o.host,search:o.search?o.search.replace(/^\?/,""):"",hash:o.hash?o.hash.replace(/^#/,""):"",hostname:o.hostname,port:o.port,pathname:"/"===o.pathname.charAt(0)?o.pathname:"/"+o.pathname}}var t,n=/(msie|trident)/i.test(navigator.userAgent),o=document.createElement("a");return t=e(window.location.href),function(n){var o=r.isString(n)?e(n):n;return o.protocol===t.protocol&&o.host===t.host}}():function(){return function(){return!0}}()},"./node_modules/_axios@0.17.1@axios/lib/helpers/normalizeHeaderName.js":function(e,t,n){"use strict";var r=n("./node_modules/_axios@0.17.1@axios/lib/utils.js");e.exports=function(e,t){r.forEach(e,function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])})}},"./node_modules/_axios@0.17.1@axios/lib/helpers/parseHeaders.js":function(e,t,n){"use strict";var r=n("./node_modules/_axios@0.17.1@axios/lib/utils.js"),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,a,i={};return e?(r.forEach(e.split("\n"),function(e){if(a=e.indexOf(":"),t=r.trim(e.substr(0,a)).toLowerCase(),n=r.trim(e.substr(a+1)),t){if(i[t]&&o.indexOf(t)>=0)return;i[t]="set-cookie"===t?(i[t]?i[t]:[]).concat([n]):i[t]?i[t]+", "+n:n}}),i):i}},"./node_modules/_axios@0.17.1@axios/lib/helpers/spread.js":function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},"./node_modules/_axios@0.17.1@axios/lib/utils.js":function(e,t,n){"use strict";function r(e){return"[object Array]"===j.call(e)}function o(e){return"[object ArrayBuffer]"===j.call(e)}function a(e){return"undefined"!=typeof FormData&&e instanceof FormData}function i(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer}function s(e){return"string"==typeof e}function l(e){return"number"==typeof e}function c(e){return void 0===e}function d(e){return null!==e&&"object"==typeof e}function u(e){return"[object Date]"===j.call(e)}function p(e){return"[object File]"===j.call(e)}function f(e){return"[object Blob]"===j.call(e)}function m(e){return"[object Function]"===j.call(e)}function h(e){return d(e)&&m(e.pipe)}function g(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams}function _(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}function b(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)}function v(e,t){if(null!==e&&void 0!==e)if("object"!=typeof e&&(e=[e]),r(e))for(var n=0,o=e.length;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},"./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/possibleConstructorReturn.js":function(e,t,n){"use strict";t.__esModule=!0;var r=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/typeof.js"),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":(0,o.default)(t))&&"function"!=typeof t?e:t}},"./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/slicedToArray.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/core-js/is-iterable.js"),a=r(o),i=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/core-js/get-iterator.js"),s=r(i);t.default=function(){function e(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,l=(0,s.default)(e);!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw a}}return n}return function(t,n){if(Array.isArray(t))return t;if((0,a.default)(Object(t)))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},"./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/toConsumableArray.js":function(e,t,n){"use strict";t.__esModule=!0;var r=n("./node_modules/_babel-runtime@6.26.0@babel-runtime/core-js/array/from.js"),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t]/g)||[]).length<=0)return!0;return e(n).length>0}catch(e){return!1}},_process_options:function(t){this._o=e.extend({},this._o,t);var o=this.o=e.extend({},this._o),a=o.language;g[a]||(a=a.split("-")[0],g[a]||(a=m.language)),o.language=a,o.startView=this._resolveViewName(o.startView),o.minViewMode=this._resolveViewName(o.minViewMode),o.maxViewMode=this._resolveViewName(o.maxViewMode),o.startView=Math.max(this.o.minViewMode,Math.min(this.o.maxViewMode,o.startView)),!0!==o.multidate&&(o.multidate=Number(o.multidate)||!1,!1!==o.multidate&&(o.multidate=Math.max(0,o.multidate))),o.multidateSeparator=String(o.multidateSeparator),o.weekStart%=7,o.weekEnd=(o.weekStart+6)%7;var i=_.parseFormat(o.format);o.startDate!==-1/0&&(o.startDate?o.startDate instanceof Date?o.startDate=this._local_to_utc(this._zero_time(o.startDate)):o.startDate=_.parseDate(o.startDate,i,o.language,o.assumeNearbyYear):o.startDate=-1/0),o.endDate!==1/0&&(o.endDate?o.endDate instanceof Date?o.endDate=this._local_to_utc(this._zero_time(o.endDate)):o.endDate=_.parseDate(o.endDate,i,o.language,o.assumeNearbyYear):o.endDate=1/0),o.daysOfWeekDisabled=this._resolveDaysOfWeek(o.daysOfWeekDisabled||[]),o.daysOfWeekHighlighted=this._resolveDaysOfWeek(o.daysOfWeekHighlighted||[]),o.datesDisabled=o.datesDisabled||[],e.isArray(o.datesDisabled)||(o.datesDisabled=o.datesDisabled.split(",")),o.datesDisabled=e.map(o.datesDisabled,function(e){return _.parseDate(e,i,o.language,o.assumeNearbyYear)});var s=String(o.orientation).toLowerCase().split(/\s+/g),l=o.orientation.toLowerCase();if(s=e.grep(s,function(e){return/^auto|left|right|top|bottom$/.test(e)}),o.orientation={x:"auto",y:"auto"},l&&"auto"!==l)if(1===s.length)switch(s[0]){case"top":case"bottom":o.orientation.y=s[0];break;case"left":case"right":o.orientation.x=s[0]}else l=e.grep(s,function(e){return/^left|right$/.test(e)}),o.orientation.x=l[0]||"auto",l=e.grep(s,function(e){return/^top|bottom$/.test(e)}),o.orientation.y=l[0]||"auto";else;if(o.defaultViewDate instanceof Date||"string"==typeof o.defaultViewDate)o.defaultViewDate=_.parseDate(o.defaultViewDate,i,o.language,o.assumeNearbyYear);else if(o.defaultViewDate){var c=o.defaultViewDate.year||(new Date).getFullYear(),d=o.defaultViewDate.month||0,u=o.defaultViewDate.day||1;o.defaultViewDate=n(c,d,u)}else o.defaultViewDate=r()},_events:[],_secondaryEvents:[],_applyEvents:function(e){for(var n,r,o,a=0;ao?(this.picker.addClass("datepicker-orient-right"),p+=u-t):this.o.rtl?this.picker.addClass("datepicker-orient-right"):this.picker.addClass("datepicker-orient-left");var m,h=this.o.orientation.y;if("auto"===h&&(m=-a+f-n,h=m<0?"bottom":"top"),this.picker.addClass("datepicker-orient-"+h),"top"===h?f-=n+parseInt(this.picker.css("padding-top")):f+=d,this.o.rtl){var g=o-(p+u);this.picker.css({top:f,right:g,zIndex:l})}else this.picker.css({top:f,left:p,zIndex:l});return this},_allow_update:!0,update:function(){if(!this._allow_update)return this;var t=this.dates.copy(),n=[],r=!1;return arguments.length?(e.each(arguments,e.proxy(function(e,t){t instanceof Date&&(t=this._local_to_utc(t)),n.push(t)},this)),r=!0):(n=this.isInput?this.element.val():this.element.data("date")||this.inputField.val(),n=n&&this.o.multidate?n.split(this.o.multidateSeparator):[n],delete this.element.data().date),n=e.map(n,e.proxy(function(e){return _.parseDate(e,this.o.format,this.o.language,this.o.assumeNearbyYear)},this)),n=e.grep(n,e.proxy(function(e){return!this.dateWithinRange(e)||!e},this),!0),this.dates.replace(n),this.o.updateViewDate&&(this.dates.length?this.viewDate=new Date(this.dates.get(-1)):this.viewDatethis.o.endDate?this.viewDate=new Date(this.o.endDate):this.viewDate=this.o.defaultViewDate),r?(this.setValue(),this.element.change()):this.dates.length&&String(t)!==String(this.dates)&&r&&(this._trigger("changeDate"),this.element.change()),!this.dates.length&&t.length&&(this._trigger("clearDate"),this.element.change()),this.fill(),this},fillDow:function(){if(this.o.showWeekDays){var t=this.o.weekStart,n="";for(this.o.calendarWeeks&&(n+=' ');t";n+="",this.picker.find(".datepicker-days thead").append(n)}},fillMonths:function(){for(var e,t=this._utc_to_local(this.viewDate),n="",r=0;r<12;r++)e=t&&t.getMonth()===r?" focused":"",n+=''+g[this.o.language].monthsShort[r]+"";this.picker.find(".datepicker-months td").html(n)},setRange:function(t){t&&t.length?this.range=e.map(t,function(e){return e.valueOf()}):delete this.range,this.fill()},getClassNames:function(t){var n=[],a=this.viewDate.getUTCFullYear(),i=this.viewDate.getUTCMonth(),s=r();return t.getUTCFullYear()a||t.getUTCFullYear()===a&&t.getUTCMonth()>i)&&n.push("new"),this.focusDate&&t.valueOf()===this.focusDate.valueOf()&&n.push("focused"),this.o.todayHighlight&&o(t,s)&&n.push("today"),-1!==this.dates.contains(t)&&n.push("active"),this.dateWithinRange(t)||n.push("disabled"),this.dateIsDisabled(t)&&n.push("disabled","disabled-date"),-1!==e.inArray(t.getUTCDay(),this.o.daysOfWeekHighlighted)&&n.push("highlighted"),this.range&&(t>this.range[0]&&ts)&&c.push("disabled"),v===_&&c.push("focused"),l!==e.noop&&(u=l(new Date(v,0,1)),u===t?u={}:"boolean"==typeof u?u={enabled:u}:"string"==typeof u&&(u={classes:u}),!1===u.enabled&&c.push("disabled"),u.classes&&(c=c.concat(u.classes.split(/\s+/))),u.tooltip&&(d=u.tooltip)),p+='"+v+"";m.find(".datepicker-switch").text(h+"-"+g),m.find("td").html(p)},fill:function(){var r,o,a=new Date(this.viewDate),i=a.getUTCFullYear(),s=a.getUTCMonth(),l=this.o.startDate!==-1/0?this.o.startDate.getUTCFullYear():-1/0,c=this.o.startDate!==-1/0?this.o.startDate.getUTCMonth():-1/0,d=this.o.endDate!==1/0?this.o.endDate.getUTCFullYear():1/0,u=this.o.endDate!==1/0?this.o.endDate.getUTCMonth():1/0,p=g[this.o.language].today||g.en.today||"",f=g[this.o.language].clear||g.en.clear||"",m=g[this.o.language].titleFormat||g.en.titleFormat;if(!isNaN(i)&&!isNaN(s)){this.picker.find(".datepicker-days .datepicker-switch").text(_.formatDate(a,m,this.o.language)),this.picker.find("tfoot .today").text(p).css("display",!0===this.o.todayBtn||"linked"===this.o.todayBtn?"table-cell":"none"),this.picker.find("tfoot .clear").text(f).css("display",!0===this.o.clearBtn?"table-cell":"none"),this.picker.find("thead .datepicker-title").text(this.o.title).css("display","string"==typeof this.o.title&&""!==this.o.title?"table-cell":"none"),this.updateNavArrows(),this.fillMonths();var h=n(i,s,0),b=h.getUTCDate();h.setUTCDate(b-(h.getUTCDay()-this.o.weekStart+7)%7);var v=new Date(h);h.getUTCFullYear()<100&&v.setUTCFullYear(h.getUTCFullYear()),v.setUTCDate(v.getUTCDate()+42),v=v.valueOf();for(var y,A,x=[];h.valueOf()"),this.o.calendarWeeks)){var w=new Date(+h+(this.o.weekStart-y-7)%7*864e5),j=new Date(Number(w)+(11-w.getUTCDay())%7*864e5),E=new Date(Number(E=n(j.getUTCFullYear(),0,1))+(11-E.getUTCDay())%7*864e5),S=(j-E)/864e5/7+1;x.push(''+S+"")}A=this.getClassNames(h),A.push("day");var C=h.getUTCDate();this.o.beforeShowDay!==e.noop&&(o=this.o.beforeShowDay(this._utc_to_local(h)),o===t?o={}:"boolean"==typeof o?o={enabled:o}:"string"==typeof o&&(o={classes:o}),!1===o.enabled&&A.push("disabled"),o.classes&&(A=A.concat(o.classes.split(/\s+/))),o.tooltip&&(r=o.tooltip),o.content&&(C=o.content)),A=e.isFunction(e.uniqueSort)?e.uniqueSort(A):e.unique(A),x.push(''+C+""),r=null,y===this.o.weekEnd&&x.push(""),h.setUTCDate(h.getUTCDate()+1)}this.picker.find(".datepicker-days tbody").html(x.join(""));var k=g[this.o.language].monthsTitle||g.en.monthsTitle||"Months",T=this.picker.find(".datepicker-months").find(".datepicker-switch").text(this.o.maxViewMode<2?k:i).end().find("tbody span").removeClass("active");if(e.each(this.dates,function(e,t){t.getUTCFullYear()===i&&T.eq(t.getUTCMonth()).addClass("active")}),(id)&&T.addClass("disabled"),i===l&&T.slice(0,c).addClass("disabled"),i===d&&T.slice(u+1).addClass("disabled"),this.o.beforeShowMonth!==e.noop){var M=this;e.each(T,function(n,r){var o=new Date(i,n,1),a=M.o.beforeShowMonth(o);a===t?a={}:"boolean"==typeof a?a={enabled:a}:"string"==typeof a&&(a={classes:a}),!1!==a.enabled||e(r).hasClass("disabled")||e(r).addClass("disabled"),a.classes&&e(r).addClass(a.classes),a.tooltip&&e(r).prop("title",a.tooltip)})}this._fill_yearsView(".datepicker-years","year",10,i,l,d,this.o.beforeShowYear),this._fill_yearsView(".datepicker-decades","decade",100,i,l,d,this.o.beforeShowDecade),this._fill_yearsView(".datepicker-centuries","century",1e3,i,l,d,this.o.beforeShowCentury)}},updateNavArrows:function(){if(this._allow_update){var e,t,n=new Date(this.viewDate),r=n.getUTCFullYear(),o=n.getUTCMonth(),a=this.o.startDate!==-1/0?this.o.startDate.getUTCFullYear():-1/0,i=this.o.startDate!==-1/0?this.o.startDate.getUTCMonth():-1/0,s=this.o.endDate!==1/0?this.o.endDate.getUTCFullYear():1/0,l=this.o.endDate!==1/0?this.o.endDate.getUTCMonth():1/0,c=1;switch(this.viewMode){case 4:c*=10;case 3:c*=10;case 2:c*=10;case 1:e=Math.floor(r/c)*cs;break;case 0:e=r<=a&&o=s&&o>l}this.picker.find(".prev").toggleClass("disabled",e),this.picker.find(".next").toggleClass("disabled",t)}},click:function(t){t.preventDefault(),t.stopPropagation();var o,a,i,s;o=e(t.target),o.hasClass("datepicker-switch")&&this.viewMode!==this.o.maxViewMode&&this.setViewMode(this.viewMode+1),o.hasClass("today")&&!o.hasClass("day")&&(this.setViewMode(0),this._setDate(r(),"linked"===this.o.todayBtn?null:"view")),o.hasClass("clear")&&this.clearDates(),o.hasClass("disabled")||(o.hasClass("month")||o.hasClass("year")||o.hasClass("decade")||o.hasClass("century"))&&(this.viewDate.setUTCDate(1),a=1,1===this.viewMode?(s=o.parent().find("span").index(o),i=this.viewDate.getUTCFullYear(),this.viewDate.setUTCMonth(s)):(s=0,i=Number(o.text()),this.viewDate.setUTCFullYear(i)),this._trigger(_.viewModes[this.viewMode-1].e,this.viewDate),this.viewMode===this.o.minViewMode?this._setDate(n(i,s,a)):(this.setViewMode(this.viewMode-1),this.fill())),this.picker.is(":visible")&&this._focused_from&&this._focused_from.focus(),delete this._focused_from},dayCellClick:function(t){var n=e(t.currentTarget),r=n.data("date"),o=new Date(r);this.o.updateViewDate&&(o.getUTCFullYear()!==this.viewDate.getUTCFullYear()&&this._trigger("changeYear",this.viewDate),o.getUTCMonth()!==this.viewDate.getUTCMonth()&&this._trigger("changeMonth",this.viewDate)),this._setDate(o)},navArrowsClick:function(t){var n=e(t.currentTarget),r=n.hasClass("prev")?-1:1;0!==this.viewMode&&(r*=12*_.viewModes[this.viewMode].navStep),this.viewDate=this.moveMonth(this.viewDate,r),this._trigger(_.viewModes[this.viewMode].e,this.viewDate),this.fill()},_toggle_multidate:function(e){var t=this.dates.contains(e);if(e||this.dates.clear(),-1!==t?(!0===this.o.multidate||this.o.multidate>1||this.o.toggleActive)&&this.dates.remove(t):!1===this.o.multidate?(this.dates.clear(),this.dates.push(e)):this.dates.push(e),"number"==typeof this.o.multidate)for(;this.dates.length>this.o.multidate;)this.dates.remove(0)},_setDate:function(e,t){t&&"date"!==t||this._toggle_multidate(e&&new Date(e)),(!t&&this.o.updateViewDate||"view"===t)&&(this.viewDate=e&&new Date(e)),this.fill(),this.setValue(),t&&"view"===t||this._trigger("changeDate"),this.inputField.trigger("change"),!this.o.autoclose||t&&"date"!==t||this.hide()},moveDay:function(e,t){var n=new Date(e);return n.setUTCDate(e.getUTCDate()+t),n},moveWeek:function(e,t){return this.moveDay(e,7*t)},moveMonth:function(e,t){if(!i(e))return this.o.defaultViewDate;if(!t)return e;var n,r,o=new Date(e.valueOf()),a=o.getUTCDate(),s=o.getUTCMonth(),l=Math.abs(t);if(t=t>0?1:-1,1===l)r=-1===t?function(){return o.getUTCMonth()===s}:function(){return o.getUTCMonth()!==n},n=s+t,o.setUTCMonth(n),n=(n+12)%12;else{for(var c=0;c0},dateWithinRange:function(e){return e>=this.o.startDate&&e<=this.o.endDate},keydown:function(e){if(!this.picker.is(":visible"))return void(40!==e.keyCode&&27!==e.keyCode||(this.show(),e.stopPropagation()));var t,n,r=!1,o=this.focusDate||this.viewDate;switch(e.keyCode){case 27:this.focusDate?(this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill()):this.hide(),e.preventDefault(),e.stopPropagation();break;case 37:case 38:case 39:case 40:if(!this.o.keyboardNavigation||7===this.o.daysOfWeekDisabled.length)break;t=37===e.keyCode||38===e.keyCode?-1:1,0===this.viewMode?e.ctrlKey?(n=this.moveAvailableDate(o,t,"moveYear"))&&this._trigger("changeYear",this.viewDate):e.shiftKey?(n=this.moveAvailableDate(o,t,"moveMonth"))&&this._trigger("changeMonth",this.viewDate):37===e.keyCode||39===e.keyCode?n=this.moveAvailableDate(o,t,"moveDay"):this.weekOfDateIsDisabled(o)||(n=this.moveAvailableDate(o,t,"moveWeek")):1===this.viewMode?(38!==e.keyCode&&40!==e.keyCode||(t*=4),n=this.moveAvailableDate(o,t,"moveMonth")):2===this.viewMode&&(38!==e.keyCode&&40!==e.keyCode||(t*=4),n=this.moveAvailableDate(o,t,"moveYear")),n&&(this.focusDate=this.viewDate=n,this.setValue(),this.fill(),e.preventDefault());break;case 13:if(!this.o.forceParse)break;o=this.focusDate||this.dates.get(-1)||this.viewDate,this.o.keyboardNavigation&&(this._toggle_multidate(o),r=!0),this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.setValue(),this.fill(),this.picker.is(":visible")&&(e.preventDefault(),e.stopPropagation(),this.o.autoclose&&this.hide());break;case 9:this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill(),this.hide()}r&&(this.dates.length?this._trigger("changeDate"):this._trigger("clearDate"),this.inputField.trigger("change"))},setViewMode:function(e){this.viewMode=e,this.picker.children("div").hide().filter(".datepicker-"+_.viewModes[this.viewMode].clsName).show(),this.updateNavArrows(),this._trigger("changeViewMode",new Date(this.viewDate))}};var u=function(t,n){e.data(t,"datepicker",this),this.element=e(t),this.inputs=e.map(n.inputs,function(e){return e.jquery?e[0]:e}),delete n.inputs,this.keepEmptyValues=n.keepEmptyValues,delete n.keepEmptyValues,f.call(e(this.inputs),n).on("changeDate",e.proxy(this.dateUpdated,this)),this.pickers=e.map(this.inputs,function(t){return e.data(t,"datepicker")}),this.updateDates()};u.prototype={updateDates:function(){this.dates=e.map(this.pickers,function(e){return e.getUTCDate()}),this.updateRanges()},updateRanges:function(){var t=e.map(this.dates,function(e){return e.valueOf()});e.each(this.pickers,function(e,n){n.setRange(t)})},clearDates:function(){e.each(this.pickers,function(e,t){t.clearDates()})},dateUpdated:function(n){if(!this.updating){this.updating=!0;var r=e.data(n.target,"datepicker");if(r!==t){var o=r.getUTCDate(),a=this.keepEmptyValues,i=e.inArray(n.target,this.inputs),s=i-1,l=i+1,c=this.inputs.length;if(-1!==i){if(e.each(this.pickers,function(e,t){t.getUTCDate()||t!==r&&a||t.setUTCDate(o)}),o=0&&othis.dates[l])for(;lthis.dates[l];)this.pickers[l++].setUTCDate(o);this.updateDates(),delete this.updating}}}},destroy:function(){e.map(this.pickers,function(e){e.destroy()}),e(this.inputs).off("changeDate",this.dateUpdated),delete this.element.data().datepicker},remove:a("destroy","Method `remove` is deprecated and will be removed in version 2.0. Use `destroy` instead")};var p=e.fn.datepicker,f=function(n){var r=Array.apply(null,arguments);r.shift();var o;if(this.each(function(){var t=e(this),a=t.data("datepicker"),i="object"==typeof n&&n;if(!a){var c=s(this,"date"),p=e.extend({},m,c,i),f=l(p.language),h=e.extend({},m,f,c,i);t.hasClass("input-daterange")||h.inputs?(e.extend(h,{inputs:h.inputs||t.find("input").toArray()}),a=new u(this,h)):a=new d(this,h),t.data("datepicker",a)}"string"==typeof n&&"function"==typeof a[n]&&(o=a[n].apply(a,r))}),o===t||o instanceof d||o instanceof u)return this;if(this.length>1)throw new Error("Using only allowed for the collection of a single element ("+n+" function)");return o};e.fn.datepicker=f;var m=e.fn.datepicker.defaults={assumeNearbyYear:!1,autoclose:!1,beforeShowDay:e.noop,beforeShowMonth:e.noop,beforeShowYear:e.noop,beforeShowDecade:e.noop,beforeShowCentury:e.noop,calendarWeeks:!1,clearBtn:!1,toggleActive:!1,daysOfWeekDisabled:[],daysOfWeekHighlighted:[],datesDisabled:[],endDate:1/0,forceParse:!0,format:"mm/dd/yyyy",keepEmptyValues:!1,keyboardNavigation:!0,language:"en",minViewMode:0,maxViewMode:4,multidate:!1,multidateSeparator:",",orientation:"auto",rtl:!1,startDate:-1/0,startView:0,todayBtn:!1,todayHighlight:!1,updateViewDate:!0,weekStart:0,disableTouchKeyboard:!1,enableOnReadonly:!0,showOnFocus:!0,zIndexOffset:10,container:"body",immediateUpdates:!1,title:"",templates:{leftArrow:"«",rightArrow:"»"},showWeekDays:!0},h=e.fn.datepicker.locale_opts=["format","rtl","weekStart"];e.fn.datepicker.Constructor=d;var g=e.fn.datepicker.dates={en:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",clear:"Clear",titleFormat:"MM yyyy"}},_={viewModes:[{names:["days","month"],clsName:"days",e:"changeMonth"},{names:["months","year"],clsName:"months",e:"changeYear",navStep:1},{names:["years","decade"],clsName:"years",e:"changeDecade",navStep:10},{names:["decades","century"],clsName:"decades",e:"changeCentury",navStep:100},{names:["centuries","millennium"],clsName:"centuries",e:"changeMillennium",navStep:1e3}],validParts:/dd?|DD?|mm?|MM?|yy(?:yy)?/g,nonpunctuation:/[^ -\/:-@\u5e74\u6708\u65e5\[-`{-~\t\n\r]+/g,parseFormat:function(e){if("function"==typeof e.toValue&&"function"==typeof e.toDisplay)return e;var t=e.replace(this.validParts,"\0").split("\0"),n=e.match(this.validParts);if(!t||!t.length||!n||0===n.length)throw new Error("Invalid date format.");return{separators:t,parts:n}},parseDate:function(n,o,a,i){function s(e,t){return!0===t&&(t=10),e<100&&(e+=2e3)>(new Date).getFullYear()+t&&(e-=100),e}function l(){var e=this.slice(0,c[f].length),t=c[f].slice(0,e.length);return e.toLowerCase()===t.toLowerCase()}if(!n)return t;if(n instanceof Date)return n;if("string"==typeof o&&(o=_.parseFormat(o)),o.toValue)return o.toValue(n,o,a);var c,u,p,f,m,h={d:"moveDay",m:"moveMonth",w:"moveWeek",y:"moveYear"},b={yesterday:"-1d",today:"+0d",tomorrow:"+1d"};if(n in b&&(n=b[n]),/^[\-+]\d+[dmwy]([\s,]+[\-+]\d+[dmwy])*$/i.test(n)){for(c=n.match(/([\-+]\d+)([dmwy])/gi),n=new Date,f=0;f'+m.templates.leftArrow+''+m.templates.rightArrow+"",contTemplate:'',footTemplate:''};_.template='
'+_.headTemplate+""+_.footTemplate+'
'+_.headTemplate+_.contTemplate+_.footTemplate+'
'+_.headTemplate+_.contTemplate+_.footTemplate+'
'+_.headTemplate+_.contTemplate+_.footTemplate+'
'+_.headTemplate+_.contTemplate+_.footTemplate+"
",e.fn.datepicker.DPGlobal=_,e.fn.datepicker.noConflict=function(){return e.fn.datepicker=p,this},e.fn.datepicker.version="1.8.0",e.fn.datepicker.deprecated=function(e){var t=window.console;t&&t.warn&&t.warn("DEPRECATED: "+e)},e(document).on("focus.datepicker.data-api click.datepicker.data-api",'[data-provide="datepicker"]',function(t){var n=e(this);n.data("datepicker")||(t.preventDefault(),f.call(n,"show"))}),e(function(){f.call(e('[data-provide="datepicker-inline"]'))})})},"./node_modules/_classnames@2.2.6@classnames/index.js":function(e,t,n){var r,o;/*! + Copyright (c) 2017 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/ +!function(){"use strict";function n(){for(var e=[],t=0;t=0&&s[o.text.charAt(a)]||s[o.text.charAt(++a)];if(!c)return null;var d=">"==c.charAt(1)?1:-1;if(r&&r.strict&&d>0!=(a==t.ch))return null;var u=e.getTokenTypeAt(i(t.line,a+1)),p=n(e,i(t.line,a+(d>0?1:0)),d,u||null,r);return null==p?null:{from:i(t.line,a),to:p&&p.pos,match:p&&p.ch==c.charAt(0),forward:d>0}}function n(e,t,n,r,o){for(var a=o&&o.maxScanLineLength||1e4,l=o&&o.maxScanLines||1e3,c=[],d=o&&o.bracketRegex?o.bracketRegex:/[(){}[\]]/,u=n>0?Math.min(t.line+l,e.lastLine()+1):Math.max(e.firstLine()-1,t.line-l),p=t.line;p!=u;p+=n){var f=e.getLine(p);if(f){var m=n>0?0:f.length-1,h=n>0?f.length:-1;if(!(f.length>a))for(p==t.line&&(m=t.ch-(n<0?1:0));m!=h;m+=n){var g=f.charAt(m);if(d.test(g)&&(void 0===r||e.getTokenTypeAt(i(p,m+1))==r)){var _=s[g];if(">"==_.charAt(1)==n>0)c.push(g);else{if(!c.length)return{pos:i(p,m),ch:g};c.pop()}}}}}return p-n!=(n>0?e.lastLine():e.firstLine())&&null}function r(e,n,r){for(var o=e.state.matchBrackets.maxHighlightLineLength||1e3,s=[],l=e.listSelections(),c=0;c",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<"};e.defineOption("matchBrackets",!1,function(t,n,r){r&&r!=e.Init&&(t.off("cursorActivity",o),t.state.matchBrackets&&t.state.matchBrackets.currentlyHighlighted&&(t.state.matchBrackets.currentlyHighlighted(),t.state.matchBrackets.currentlyHighlighted=null)),n&&(t.state.matchBrackets="object"==typeof n?n:{},t.on("cursorActivity",o))}),e.defineExtension("matchBrackets",function(){r(this,!0)}),e.defineExtension("findMatchingBracket",function(e,n,r){return(r||"boolean"==typeof n)&&(r?(r.strict=n,n=r):n=n?{strict:!0}:null),t(this,e,n)}),e.defineExtension("scanForBracket",function(e,t,r,o){return n(this,e,t,r,o)})})},"./node_modules/_codemirror@5.42.0@codemirror/addon/hint/show-hint.css":function(e,t,n){var r=n("./node_modules/_css-loader@0.28.4@css-loader/index.js!./node_modules/_codemirror@5.42.0@codemirror/addon/hint/show-hint.css");"string"==typeof r&&(r=[[e.i,r,""]]);var o={};o.transform=void 0;n("./node_modules/_style-loader@0.18.1@style-loader/lib/addStyles.js")(r,o);r.locals&&(e.exports=r.locals)},"./node_modules/_codemirror@5.42.0@codemirror/addon/hint/show-hint.js":function(e,t,n){!function(e){e(n("./node_modules/_codemirror@5.42.0@codemirror/lib/codemirror.js"))}(function(e){"use strict";function t(e,t){this.cm=e,this.options=t,this.widget=null,this.debounce=0,this.tick=0,this.startPos=this.cm.getCursor("start"),this.startLen=this.cm.getLine(this.startPos.line).length-this.cm.getSelection().length;var n=this;e.on("cursorActivity",this.activityFunc=function(){n.cursorActivity()})}function n(e,t,n){var r=e.options.hintOptions,o={};for(var a in m)o[a]=m[a];if(r)for(var a in r)void 0!==r[a]&&(o[a]=r[a]);if(n)for(var a in n)void 0!==n[a]&&(o[a]=n[a]);return o.hint.resolve&&(o.hint=o.hint.resolve(e,t)),o}function r(e){return"string"==typeof e?e:e.text}function o(e,t){function n(e,n){var o;o="string"!=typeof n?function(e){return n(e,t)}:r.hasOwnProperty(n)?r[n]:n,a[e]=o}var r={Up:function(){t.moveFocus(-1)},Down:function(){t.moveFocus(1)},PageUp:function(){t.moveFocus(1-t.menuSize(),!0)},PageDown:function(){t.moveFocus(t.menuSize()-1,!0)},Home:function(){t.setFocus(0)},End:function(){t.setFocus(t.length-1)},Enter:t.pick,Tab:t.pick,Esc:t.close},o=e.options.customKeys,a=o?{}:r;if(o)for(var i in o)o.hasOwnProperty(i)&&n(i,o[i]);var s=e.options.extraKeys;if(s)for(var i in s)s.hasOwnProperty(i)&&n(i,s[i]);return a}function a(e,t){for(;t&&t!=e;){if("LI"===t.nodeName.toUpperCase()&&t.parentNode==e)return t;t=t.parentNode}}function i(t,n){this.completion=t,this.data=n,this.picked=!1;var i=this,s=t.cm,l=s.getInputField().ownerDocument,c=l.defaultView||l.parentWindow,p=this.hints=l.createElement("ul"),f=t.cm.options.theme;p.className="CodeMirror-hints "+f,this.selectedHint=n.selectedHint||0;for(var m=n.list,h=0;hp.clientHeight+1,k=s.getScrollInfo();if(S>0){var T=E.bottom-E.top;if(v.top-(v.bottom-E.top)-T>0)p.style.top=(A=v.top-T)+"px",x=!1;else if(T>j){p.style.height=j-5+"px",p.style.top=(A=v.bottom-E.top)+"px";var M=s.getCursor();n.from.ch!=M.ch&&(v=s.cursorCoords(M),p.style.left=(y=v.left)+"px",E=p.getBoundingClientRect())}}var O=E.right-w;if(O>0&&(E.right-E.left>w&&(p.style.width=w-5+"px",O-=E.right-E.left-w),p.style.left=(y=v.left-O)+"px"),C)for(var L=p.firstChild;L;L=L.nextSibling)L.style.paddingRight=s.display.nativeBarWidth+"px";if(s.addKeyMap(this.keyMap=o(t,{moveFocus:function(e,t){i.changeActive(i.selectedHint+e,t)},setFocus:function(e){i.changeActive(e)},menuSize:function(){return i.screenAmount()},length:m.length,close:function(){t.close()},pick:function(){i.pick()},data:n})),t.options.closeOnUnfocus){var D;s.on("blur",this.onBlur=function(){D=setTimeout(function(){t.close()},100)}),s.on("focus",this.onFocus=function(){clearTimeout(D)})}return s.on("scroll",this.onScroll=function(){var e=s.getScrollInfo(),n=s.getWrapperElement().getBoundingClientRect(),r=A+k.top-e.top,o=r-(c.pageYOffset||(l.documentElement||l.body).scrollTop);if(x||(o+=p.offsetHeight),o<=n.top||o>=n.bottom)return t.close();p.style.top=r+"px",p.style.left=y+k.left-e.left+"px"}),e.on(p,"dblclick",function(e){var t=a(p,e.target||e.srcElement);t&&null!=t.hintId&&(i.changeActive(t.hintId),i.pick())}),e.on(p,"click",function(e){var n=a(p,e.target||e.srcElement);n&&null!=n.hintId&&(i.changeActive(n.hintId),t.options.completeOnSingleClick&&i.pick())}),e.on(p,"mousedown",function(){setTimeout(function(){s.focus()},20)}),e.signal(n,"select",m[this.selectedHint],p.childNodes[this.selectedHint]),!0}function s(e,t){if(!e.somethingSelected())return t;for(var n=[],r=0;r0?t(e):r(o+1)})}var a=s(e,o);r(0)};return a.async=!0,a.supportsSelection=!0,a}return(r=t.getHelper(t.getCursor(),"hintWords"))?function(t){return e.hint.fromList(t,{words:r})}:e.hint.anyword?function(t,n){return e.hint.anyword(t,n)}:function(){}}var d="CodeMirror-hint",u="CodeMirror-hint-active";e.showHint=function(e,t,n){if(!t)return e.showHint(n);n&&n.async&&(t.async=!0);var r={hint:t};if(n)for(var o in n)r[o]=n[o];return e.showHint(r)},e.defineExtension("showHint",function(r){r=n(this,this.getCursor("start"),r);var o=this.listSelections();if(!(o.length>1)){if(this.somethingSelected()){if(!r.hint.supportsSelection)return;for(var a=0;a=this.data.list.length?t=n?this.data.list.length-1:0:t<0&&(t=n?0:this.data.list.length-1),this.selectedHint!=t){var r=this.hints.childNodes[this.selectedHint];r&&(r.className=r.className.replace(" "+u,"")),r=this.hints.childNodes[this.selectedHint=t],r.className+=" "+u,r.offsetTopthis.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=r.offsetTop+r.offsetHeight-this.hints.clientHeight+3),e.signal(this.data,"select",this.data.list[this.selectedHint],r)}},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1}},e.registerHelper("hint","auto",{resolve:c}),e.registerHelper("hint","fromList",function(t,n){var r,o=t.getCursor(),a=t.getTokenAt(o),i=e.Pos(o.line,a.start),s=o;a.start,]/,closeOnUnfocus:!0,completeOnSingleClick:!0,container:null,customKeys:null,extraKeys:null};e.defineOption("hintOptions",null)})},"./node_modules/_codemirror@5.42.0@codemirror/addon/hint/sql-hint.js":function(e,t,n){!function(e){e(n("./node_modules/_codemirror@5.42.0@codemirror/lib/codemirror.js"),n("./node_modules/_codemirror@5.42.0@codemirror/mode/sql/sql.js"))}(function(e){"use strict";function t(e){return"[object Array]"==Object.prototype.toString.call(e)}function n(t){var n=t.doc.modeOption;return"sql"===n&&(n="text/x-sql"),e.resolveMode(n).keywords}function r(t){var n=t.doc.modeOption;return"sql"===n&&(n="text/x-sql"),e.resolveMode(n).identifierQuote||"`"}function o(e){return"string"==typeof e?e:e.text}function a(e,n){return t(n)&&(n={columns:n}),n.text||(n.text=e),n}function i(e){var n={};if(t(e))for(var r=e.length-1;r>=0;r--){var i=e[r];n[o(i).toUpperCase()]=a(o(i),i)}else if(e)for(var s in e)n[s.toUpperCase()]=a(s,e[s]);return n}function s(e){return g[e.toUpperCase()]}function l(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function c(e,t){var n=e.length,r=o(t).substr(0,n);return e.toUpperCase()===r.toUpperCase()}function d(e,n,r,o){if(t(r))for(var a=0;a0)&&x(p,l[f])<=0){c={start:u,end:l[f]};break}u=l[f]}if(c.start)for(var h=n.getRange(c.start,c.end,!1),f=0;fp.ch&&(y.end=p.ch,y.string=y.string.slice(0,p.ch-y.start)),y.string.match(/^[.`"\w@]\w*$/)?(u=y.string,l=y.start,c=y.end):(l=c=p.ch,u=""),"."==u.charAt(0)||u.charAt(0)==v?l=f(p,y,m,e):(d(m,u,_,function(e){return{text:e,className:"CodeMirror-hint-table CodeMirror-hint-default-table"}}),d(m,u,g,function(e){return"object"==typeof e?e.className="CodeMirror-hint-table":e={text:e,className:"CodeMirror-hint-table"},e}),a||d(m,u,b,function(e){return{text:e.toUpperCase(),className:"CodeMirror-hint-keyword"}})),{list:m,from:A(p.line,l),to:A(p.line,c)}})})},"./node_modules/_codemirror@5.42.0@codemirror/lib/codemirror.css":function(e,t,n){var r=n("./node_modules/_css-loader@0.28.4@css-loader/index.js!./node_modules/_codemirror@5.42.0@codemirror/lib/codemirror.css");"string"==typeof r&&(r=[[e.i,r,""]]);var o={};o.transform=void 0;n("./node_modules/_style-loader@0.18.1@style-loader/lib/addStyles.js")(r,o);r.locals&&(e.exports=r.locals)},"./node_modules/_codemirror@5.42.0@codemirror/lib/codemirror.js":function(e,t,n){!function(t,n){e.exports=n()}(0,function(){"use strict";function e(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}function t(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function n(e,n){return t(e).appendChild(n)}function r(e,t,n,r){var o=document.createElement(e);if(n&&(o.className=n),r&&(o.style.cssText=r),"string"==typeof t)o.appendChild(document.createTextNode(t));else if(t)for(var a=0;a=t)return i+(t-a);i+=s-a,i+=n-i%n,a=s+1}}function p(e,t){for(var n=0;n=t)return r+Math.min(i,t-o);if(o+=a-r,o+=n-o%n,r=a+1,o>=t)return r}}function m(e){for(;qi.length<=e;)qi.push(h(qi)+" ");return qi[e]}function h(e){return e[e.length-1]}function g(e,t){for(var n=[],r=0;r"€"&&(e.toUpperCase()!=e.toLowerCase()||Ki.test(e))}function A(e,t){return t?!!(t.source.indexOf("\\w")>-1&&y(e))||t.test(e):y(e)}function x(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}function w(e){return e.charCodeAt(0)>=768&&Xi.test(e)}function j(e,t,n){for(;(n<0?t>0:tn?-1:1;;){if(t==n)return t;var o=(t+n)/2,a=r<0?Math.ceil(o):Math.floor(o);if(a==t)return e(a)?t:n;e(a)?n=a:t=a+r}}function S(e,t,n){var a=this;this.input=n,a.scrollbarFiller=r("div",null,"CodeMirror-scrollbar-filler"),a.scrollbarFiller.setAttribute("cm-not-content","true"),a.gutterFiller=r("div",null,"CodeMirror-gutter-filler"),a.gutterFiller.setAttribute("cm-not-content","true"),a.lineDiv=o("div",null,"CodeMirror-code"),a.selectionDiv=r("div",null,null,"position: relative; z-index: 1"),a.cursorDiv=r("div",null,"CodeMirror-cursors"),a.measure=r("div",null,"CodeMirror-measure"),a.lineMeasure=r("div",null,"CodeMirror-measure"),a.lineSpace=o("div",[a.measure,a.lineMeasure,a.selectionDiv,a.cursorDiv,a.lineDiv],null,"position: relative; outline: none");var i=o("div",[a.lineSpace],"CodeMirror-lines");a.mover=r("div",[i],null,"position: relative"),a.sizer=r("div",[a.mover],"CodeMirror-sizer"),a.sizerWidth=null,a.heightForcer=r("div",null,null,"position: absolute; height: "+Vi+"px; width: 1px;"),a.gutters=r("div",null,"CodeMirror-gutters"),a.lineGutter=null,a.scroller=r("div",[a.sizer,a.heightForcer,a.gutters],"CodeMirror-scroll"),a.scroller.setAttribute("tabIndex","-1"),a.wrapper=r("div",[a.scrollbarFiller,a.gutterFiller,a.scroller],"CodeMirror"),vi&&yi<8&&(a.gutters.style.zIndex=-1,a.scroller.style.paddingRight=0),Ai||hi&&Mi||(a.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(a.wrapper):e(a.wrapper)),a.viewFrom=a.viewTo=t.first,a.reportedViewFrom=a.reportedViewTo=t.first,a.view=[],a.renderedView=null,a.externalMeasured=null,a.viewOffset=0,a.lastWrapHeight=a.lastWrapWidth=0,a.updateLineNumbers=null,a.nativeBarWidth=a.barHeight=a.barWidth=0,a.scrollbarsClipped=!1,a.lineNumWidth=a.lineNumInnerWidth=a.lineNumChars=null,a.alignWidgets=!1,a.cachedCharWidth=a.cachedTextHeight=a.cachedPaddingH=null,a.maxLine=null,a.maxLineLength=0,a.maxLineChanged=!1,a.wheelDX=a.wheelDY=a.wheelStartX=a.wheelStartY=null,a.shift=!1,a.selForContextMenu=null,a.activeTouch=null,n.init(a)}function C(e,t){if((t-=e.first)<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var n=e;!n.lines;)for(var r=0;;++r){var o=n.children[r],a=o.chunkSize();if(t=e.first&&tn?I(n,C(e,n).text.length):V(t,C(e,t.line).text.length)}function V(e,t){var n=e.ch;return null==n||n>t?I(e.line,t):n<0?I(e.line,0):e}function Y(e,t){for(var n=[],r=0;r=t:a.to>t);(r||(r=[])).push(new Q(i,a.from,l?null:a.to))}}return r}function Z(e,t,n){var r;if(e)for(var o=0;o=t:a.to>t);if(s||a.from==t&&"bookmark"==i.type&&(!n||a.marker.insertLeft)){var l=null==a.from||(i.inclusiveLeft?a.from<=t:a.from0&&s)for(var A=0;A0)){var d=[l,1],u=R(c.from,s.from),f=R(c.to,s.to);(u<0||!i.inclusiveLeft&&!u)&&d.push({from:c.from,to:s.from}),(f>0||!i.inclusiveRight&&!f)&&d.push({from:s.to,to:c.to}),o.splice.apply(o,d),l+=d.length-3}}return o}function ne(e){var t=e.markedSpans;if(t){for(var n=0;nt)&&(!n||ie(n,a.marker)<0)&&(n=a.marker)}return n}function ue(e,t,n,r,o){var a=C(e,t),i=Zi&&a.markedSpans;if(i)for(var s=0;s=0&&u<=0||d<=0&&u>=0)&&(d<=0&&(l.marker.inclusiveRight&&o.inclusiveLeft?R(c.to,n)>=0:R(c.to,n)>0)||d>=0&&(l.marker.inclusiveRight&&o.inclusiveLeft?R(c.from,r)<=0:R(c.from,r)<0)))return!0}}}function pe(e){for(var t;t=le(e);)e=t.find(-1,!0).line;return e}function fe(e){for(var t;t=ce(e);)e=t.find(1,!0).line;return e}function me(e){for(var t,n;t=ce(e);)e=t.find(1,!0).line,(n||(n=[])).push(e);return n}function he(e,t){var n=C(e,t),r=pe(n);return n==r?t:O(r)}function ge(e,t){if(t>e.lastLine())return t;var n,r=C(e,t);if(!_e(e,r))return t;for(;n=ce(r);)r=n.find(1,!0).line;return O(r)+1}function _e(e,t){var n=Zi&&t.markedSpans;if(n)for(var r=void 0,o=0;ot.maxLineLength&&(t.maxLineLength=n,t.maxLine=e)})}function xe(e,t,n,r){if(!e)return r(t,n,"ltr",0);for(var o=!1,a=0;at||t==n&&i.to==t)&&(r(Math.max(i.from,t),Math.min(i.to,n),1==i.level?"rtl":"ltr",a),o=!0)}o||r(t,n,"ltr")}function we(e,t,n){var r;$i=null;for(var o=0;ot)return o;a.to==t&&(a.from!=a.to&&"before"==n?r=o:$i=o),a.from==t&&(a.from!=a.to&&"before"!=n?r=o:$i=o)}return null!=r?r:$i}function je(e,t){var n=e.order;return null==n&&(n=e.order=es(e.text,t)),n}function Ee(e,t){return e._handlers&&e._handlers[t]||ts}function Se(e,t,n){if(e.removeEventListener)e.removeEventListener(t,n,!1);else if(e.detachEvent)e.detachEvent("on"+t,n);else{var r=e._handlers,o=r&&r[t];if(o){var a=p(o,n);a>-1&&(r[t]=o.slice(0,a).concat(o.slice(a+1)))}}}function Ce(e,t){var n=Ee(e,t);if(n.length)for(var r=Array.prototype.slice.call(arguments,2),o=0;o0}function Oe(e){e.prototype.on=function(e,t){ns(this,e,t)},e.prototype.off=function(e,t){Se(this,e,t)}}function Le(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function De(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function Pe(e){return null!=e.defaultPrevented?e.defaultPrevented:0==e.returnValue}function Ie(e){Le(e),De(e)}function Re(e){return e.target||e.srcElement}function Ne(e){var t=e.which;return null==t&&(1&e.button?t=1:2&e.button?t=3:4&e.button&&(t=2)),Oi&&e.ctrlKey&&1==t&&(t=3),t}function Fe(e){if(null==Ui){var t=r("span","​");n(e,r("span",[t,document.createTextNode("x")])),0!=e.firstChild.offsetHeight&&(Ui=t.offsetWidth<=1&&t.offsetHeight>2&&!(vi&&yi<8))}var o=Ui?r("span","​"):r("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return o.setAttribute("cm-text",""),o}function Be(e){if(null!=Hi)return Hi;var r=n(e,document.createTextNode("AخA")),o=Ii(r,0,1).getBoundingClientRect(),a=Ii(r,1,2).getBoundingClientRect();return t(e),!(!o||o.left==o.right)&&(Hi=a.right-o.right<3)}function ze(e){if(null!=ss)return ss;var t=n(e,r("span","x")),o=t.getBoundingClientRect(),a=Ii(t,0,1).getBoundingClientRect();return ss=Math.abs(o.left-a.left)>1}function Ue(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),ls[e]=t}function He(e,t){cs[e]=t}function Ve(e){if("string"==typeof e&&cs.hasOwnProperty(e))e=cs[e];else if(e&&"string"==typeof e.name&&cs.hasOwnProperty(e.name)){var t=cs[e.name];"string"==typeof t&&(t={name:t}),e=v(t,e),e.name=t.name}else{if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return Ve("application/xml");if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return Ve("application/json")}return"string"==typeof e?{name:e}:e||{name:"null"}}function Ye(e,t){t=Ve(t);var n=ls[t.name];if(!n)return Ye(e,"text/plain");var r=n(e,t);if(ds.hasOwnProperty(t.name)){var o=ds[t.name];for(var a in o)o.hasOwnProperty(a)&&(r.hasOwnProperty(a)&&(r["_"+a]=r[a]),r[a]=o[a])}if(r.name=t.name,t.helperType&&(r.helperType=t.helperType),t.modeProps)for(var i in t.modeProps)r[i]=t.modeProps[i];return r}function We(e,t){d(t,ds.hasOwnProperty(e)?ds[e]:ds[e]={})}function Ge(e,t){if(!0===t)return t;if(e.copyState)return e.copyState(t);var n={};for(var r in t){var o=t[r];o instanceof Array&&(o=o.concat([])),n[r]=o}return n}function Qe(e,t){for(var n;e.innerMode&&(n=e.innerMode(t))&&n.mode!=e;)t=n.state,e=n.mode;return n||{mode:e,state:t}}function qe(e,t,n){return!e.startState||e.startState(t,n)}function Ke(e,t,n,r){var o=[e.state.modeGen],a={};rt(e,t.text,e.doc.mode,n,function(e,t){return o.push(e,t)},a,r);for(var i=n.state,s=0;se&&o.splice(l,1,e,o[l+1],r),l+=2,c=Math.min(e,r)}if(t)if(s.opaque)o.splice(n,l-n,e,"overlay "+t),l=n+2;else for(;ne.options.maxHighlightLength&&Ge(e.doc.mode,r.state),a=Ke(e,t,r);o&&(r.state=o),t.stateAfter=r.save(!o),t.styles=a.styles,a.classes?t.styleClasses=a.classes:t.styleClasses&&(t.styleClasses=null),n===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function Je(e,t,n){var r=e.doc,o=e.display;if(!r.mode.startState)return new fs(r,!0,t);var a=ot(e,t,n),i=a>r.first&&C(r,a-1).stateAfter,s=i?fs.fromSaved(r,i,a):new fs(r,qe(r.mode),a);return r.iter(a,t,function(n){Ze(e,n.text,s);var r=s.line;n.stateAfter=r==t-1||r%5==0||r>=o.viewFrom&&rt.start)return a}throw new Error("Mode "+e.name+" failed to advance stream.")}function tt(e,t,n,r){var o,a=e.doc,i=a.mode;t=H(a,t);var s,l=C(a,t.line),c=Je(e,t.line,n),d=new us(l.text,e.options.tabSize,c);for(r&&(s=[]);(r||d.pose.options.maxHighlightLength?(s=!1,i&&Ze(e,t,r,u.pos),u.pos=t.length,l=null):l=nt(et(n,u,r.state,p),a),p){var f=p[0].name;f&&(l="m-"+(l?f+" "+l:f))}if(!s||d!=l){for(;ci;--s){if(s<=a.first)return a.first;var l=C(a,s-1),c=l.stateAfter;if(c&&(!n||s+(c instanceof ps?c.lookAhead:0)<=a.modeFrontier))return s;var d=u(l.text,null,e.options.tabSize);(null==o||r>d)&&(o=s-1,r=d)}return o}function at(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontiern;r--){var o=C(e,r).stateAfter;if(o&&(!(o instanceof ps)||r+o.lookAhead1&&!/ /.test(e))return e;for(var n=t,r="",o=0;oc&&u.from<=c));p++);if(u.to>=d)return e(n,r,o,a,i,s,l);e(n,r.slice(0,u.to-c),o,a,null,s,l),a=null,r=r.slice(u.to-c),c=u.to}}}function mt(e,t,n,r){var o=!r&&n.widgetNode;o&&e.map.push(e.pos,e.pos+t,o),!r&&e.cm.display.input.needsContentAttribute&&(o||(o=e.content.appendChild(document.createElement("span"))),o.setAttribute("cm-marker",n.id)),o&&(e.cm.display.input.setUneditable(o),e.content.appendChild(o)),e.pos+=t,e.trailingSpace=!1}function ht(e,t,n){var r=e.markedSpans,o=e.text,a=0;if(r)for(var i,s,l,c,d,u,p,f=o.length,m=0,h=1,g="",_=0;;){if(_==m){l=c=d=s="",p=null,u=null,_=1/0;for(var b=[],v=void 0,y=0;ym||x.collapsed&&A.to==m&&A.from==m)){if(null!=A.to&&A.to!=m&&_>A.to&&(_=A.to,c=""),x.className&&(l+=" "+x.className),x.css&&(s=(s?s+";":"")+x.css),x.startStyle&&A.from==m&&(d+=" "+x.startStyle),x.endStyle&&A.to==_&&(v||(v=[])).push(x.endStyle,A.to),x.title&&((p||(p={})).title=x.title),x.attributes)for(var w in x.attributes)(p||(p={}))[w]=x.attributes[w];x.collapsed&&(!u||ie(u.marker,x)<0)&&(u=A)}else A.from>m&&_>A.from&&(_=A.from)}if(v)for(var j=0;j=f)break;for(var S=Math.min(f,_);;){if(g){var C=m+g.length;if(!u){var k=C>S?g.slice(0,S-m):g;t.addToken(t,k,i?i+l:l,d,m+k.length==_?c:"",s,p)}if(C>=S){g=g.slice(S-m),m=S;break}m=C,d=""}g=o.slice(a,a=n[h++]),i=lt(n[h++],t.cm.options)}}else for(var T=1;T2&&a.push((l.bottom+c.top)/2-n.top)}}a.push(n.bottom-n.top)}}function Yt(e,t,n){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};for(var r=0;rn)return{map:e.measure.maps[o],cache:e.measure.caches[o],before:!0}}function Wt(e,t){t=pe(t);var r=O(t),o=e.display.externalMeasured=new gt(e.doc,t,r);o.lineN=r;var a=o.built=ct(e,o);return o.text=a.pre,n(e.display.lineMeasure,a.pre),o}function Gt(e,t,n,r){return Kt(e,qt(e,t),n,r)}function Qt(e,t){if(t>=e.display.viewFrom&&t=n.lineN&&tt)&&(a=l-s,o=a-1,t>=l&&(i="right")),null!=o){if(r=e[c+2],s==l&&n==(r.insertLeft?"left":"right")&&(i=n),"left"==n&&0==o)for(;c&&e[c-2]==e[c-3]&&e[c-1].insertLeft;)r=e[2+(c-=3)],i="left";if("right"==n&&o==l-s)for(;c=0&&(n=e[o]).left==n.right;o--);return n}function Zt(e,t,n,r){var o,a=Xt(t.map,n,r),i=a.node,s=a.start,l=a.end,c=a.collapse;if(3==i.nodeType){for(var d=0;d<4;d++){for(;s&&w(t.line.text.charAt(a.coverStart+s));)--s;for(;a.coverStart+l0&&(c=r="right");var u;o=e.options.lineWrapping&&(u=i.getClientRects()).length>1?u["right"==r?u.length-1:0]:i.getBoundingClientRect()}if(vi&&yi<9&&!s&&(!o||!o.left&&!o.right)){var p=i.parentNode.getClientRects()[0];o=p?{left:p.left,right:p.left+An(e.display),top:p.top,bottom:p.bottom}:As}for(var f=o.top-t.rect.top,m=o.bottom-t.rect.top,h=(f+m)/2,g=t.view.measure.heights,_=0;_=r.text.length?(c=r.text.length,d="before"):c<=0&&(c=0,d="after"),!l)return i("before"==d?c-1:c,"before"==d);var u=we(l,c,d),p=$i,f=s(c,u,"before"==d);return null!=p&&(f.other=s(c,p,"before"!=d)),f}function un(e,t){var n=0;t=H(e.doc,t),e.options.lineWrapping||(n=An(e.display)*t.ch);var r=C(e.doc,t.line),o=ve(r)+Nt(e.display);return{left:n,right:n,top:o,bottom:o+r.height}}function pn(e,t,n,r,o){var a=I(e,t,n);return a.xRel=o,r&&(a.outside=!0),a}function fn(e,t,n){var r=e.doc;if((n+=e.display.viewOffset)<0)return pn(r.first,0,null,!0,-1);var o=L(r,n),a=r.first+r.size-1;if(o>a)return pn(r.first+r.size-1,C(r,a).text.length,null,!0,1);t<0&&(t=0);for(var i=C(r,o);;){var s=_n(e,i,o,t,n),l=de(i,s.ch+(s.xRel>0?1:0));if(!l)return s;var c=l.find(1);if(c.line==o)return c;i=C(r,o=c.line)}}function mn(e,t,n,r){r-=an(t);var o=t.text.length,a=E(function(t){return Kt(e,n,t-1).bottom<=r},o,0);return o=E(function(t){return Kt(e,n,t).top>r},a,o),{begin:a,end:o}}function hn(e,t,n,r){return n||(n=qt(e,t)),mn(e,t,n,sn(e,t,Kt(e,n,r),"line").top)}function gn(e,t,n,r){return!(e.bottom<=n)&&(e.top>n||(r?e.left:e.right)>t)}function _n(e,t,n,r,o){o-=ve(t);var a=qt(e,t),i=an(t),s=0,l=t.text.length,c=!0,d=je(t,e.doc.direction);if(d){var u=(e.options.lineWrapping?vn:bn)(e,t,n,a,d,r,o);c=1!=u.level,s=c?u.from:u.to-1,l=c?u.to:u.from-1}var p,f,m=null,h=null,g=E(function(t){var n=Kt(e,a,t);return n.top+=i,n.bottom+=i,!!gn(n,r,o,!1)&&(n.top<=o&&n.left<=r&&(m=t,h=n),!0)},s,l),_=!1;if(h){var b=r-h.left=y.bottom}return g=j(t.text,g,1),pn(n,g,f,_,r-p)}function bn(e,t,n,r,o,a,i){var s=E(function(s){var l=o[s],c=1!=l.level;return gn(dn(e,I(n,c?l.to:l.from,c?"before":"after"),"line",t,r),a,i,!0)},0,o.length-1),l=o[s];if(s>0){var c=1!=l.level,d=dn(e,I(n,c?l.from:l.to,c?"after":"before"),"line",t,r);gn(d,a,i,!0)&&d.top>i&&(l=o[s-1])}return l}function vn(e,t,n,r,o,a,i){var s=mn(e,t,r,i),l=s.begin,c=s.end;/\s/.test(t.text.charAt(c-1))&&c--;for(var d=null,u=null,p=0;p=c||f.to<=l)){var m=1!=f.level,h=Kt(e,r,m?Math.min(c,f.to)-1:Math.max(l,f.from)).right,g=hg)&&(d=f,u=g)}}return d||(d=o[o.length-1]),d.fromc&&(d={from:d.from,to:c,level:d.level}),d}function yn(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==gs){gs=r("pre");for(var o=0;o<49;++o)gs.appendChild(document.createTextNode("x")),gs.appendChild(r("br"));gs.appendChild(document.createTextNode("x"))}n(e.measure,gs);var a=gs.offsetHeight/50;return a>3&&(e.cachedTextHeight=a),t(e.measure),a||1}function An(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=r("span","xxxxxxxxxx"),o=r("pre",[t]);n(e.measure,o);var a=t.getBoundingClientRect(),i=(a.right-a.left)/10;return i>2&&(e.cachedCharWidth=i),i||10}function xn(e){for(var t=e.display,n={},r={},o=t.gutters.clientLeft,a=t.gutters.firstChild,i=0;a;a=a.nextSibling,++i)n[e.options.gutters[i]]=a.offsetLeft+a.clientLeft+o,r[e.options.gutters[i]]=a.clientWidth;return{fixedPos:wn(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:n,gutterWidth:r,wrapperWidth:t.wrapper.clientWidth}}function wn(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function jn(e){var t=yn(e.display),n=e.options.lineWrapping,r=n&&Math.max(5,e.display.scroller.clientWidth/An(e.display)-3);return function(o){if(_e(e.doc,o))return 0;var a=0;if(o.widgets)for(var i=0;i=e.display.viewTo)return null;if((t-=e.display.viewFrom)<0)return null;for(var n=e.display.view,r=0;r=e.display.viewTo||s.to().line0?t.blinker=setInterval(function(){return t.cursorDiv.style.visibility=(n=!n)?"":"hidden"},e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function Pn(e){e.state.focused||(e.display.input.focus(),Rn(e))}function In(e){e.state.delayingBlurEvent=!0,setTimeout(function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,Nn(e))},100)}function Rn(e,t){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1),"nocursor"!=e.options.readOnly&&(e.state.focused||(Ce(e,"focus",e,t),e.state.focused=!0,s(e.display.wrapper,"CodeMirror-focused"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),Ai&&setTimeout(function(){return e.display.input.reset(!0)},20)),e.display.input.receivedFocus()),Dn(e))}function Nn(e,t){e.state.delayingBlurEvent||(e.state.focused&&(Ce(e,"blur",e,t),e.state.focused=!1,Fi(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout(function(){e.state.focused||(e.display.shift=!1)},150))}function Fn(e){for(var t=e.display,n=t.lineDiv.offsetTop,r=0;r.005||d<-.005)&&(M(o.line,i),Bn(o.line),o.rest))for(var u=0;ue.display.sizerWidth){var p=Math.ceil(s/An(e.display));p>e.display.maxLineLength&&(e.display.maxLineLength=p,e.display.maxLine=o.line,e.display.maxLineChanged=!0)}}}}function Bn(e){if(e.widgets)for(var t=0;t=i&&(a=L(t,ve(C(t,l))-e.wrapper.clientHeight),i=l)}return{from:a,to:Math.max(i,a+1)}}function Un(e){var t=e.display,n=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var r=wn(t)-t.scroller.scrollLeft+e.doc.scrollLeft,o=t.gutters.offsetWidth,a=r+"px",i=0;i(window.innerHeight||document.documentElement.clientHeight)&&(a=!1),null!=a&&!Ci){var i=r("div","​",null,"position: absolute;\n top: "+(t.top-n.viewOffset-Nt(e.display))+"px;\n height: "+(t.bottom-t.top+zt(e)+n.barHeight)+"px;\n left: "+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(i),i.scrollIntoView(a),e.display.lineSpace.removeChild(i)}}}function Yn(e,t,n,r){null==r&&(r=0);var o;e.options.lineWrapping||t!=n||(t=t.ch?I(t.line,"before"==t.sticky?t.ch-1:t.ch,"after"):t,n="before"==t.sticky?I(t.line,t.ch+1,"before"):t);for(var a=0;a<5;a++){var i=!1,s=dn(e,t),l=n&&n!=t?dn(e,n):s;o={left:Math.min(s.left,l.left),top:Math.min(s.top,l.top)-r,right:Math.max(s.left,l.left),bottom:Math.max(s.bottom,l.bottom)+r};var c=Gn(e,o),d=e.doc.scrollTop,u=e.doc.scrollLeft;if(null!=c.scrollTop&&($n(e,c.scrollTop),Math.abs(e.doc.scrollTop-d)>1&&(i=!0)),null!=c.scrollLeft&&(tr(e,c.scrollLeft),Math.abs(e.doc.scrollLeft-u)>1&&(i=!0)),!i)break}return o}function Wn(e,t){var n=Gn(e,t);null!=n.scrollTop&&$n(e,n.scrollTop),null!=n.scrollLeft&&tr(e,n.scrollLeft)}function Gn(e,t){var n=e.display,r=yn(e.display);t.top<0&&(t.top=0);var o=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:n.scroller.scrollTop,a=Ht(e),i={};t.bottom-t.top>a&&(t.bottom=t.top+a);var s=e.doc.height+Ft(n),l=t.tops-r;if(t.topo+a){var d=Math.min(t.top,(c?s:t.bottom)-a);d!=o&&(i.scrollTop=d)}var u=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:n.scroller.scrollLeft,p=Ut(e)-(e.options.fixedGutter?n.gutters.offsetWidth:0),f=t.right-t.left>p;return f&&(t.right=t.left+p),t.left<10?i.scrollLeft=0:t.leftp+u-3&&(i.scrollLeft=t.right+(f?0:10)-p),i}function Qn(e,t){null!=t&&(Jn(e),e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+t)}function qn(e){Jn(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function Kn(e,t,n){null==t&&null==n||Jn(e),null!=t&&(e.curOp.scrollLeft=t),null!=n&&(e.curOp.scrollTop=n)}function Xn(e,t){Jn(e),e.curOp.scrollToPos=t}function Jn(e){var t=e.curOp.scrollToPos;if(t){e.curOp.scrollToPos=null;Zn(e,un(e,t.from),un(e,t.to),t.margin)}}function Zn(e,t,n,r){var o=Gn(e,{left:Math.min(t.left,n.left),top:Math.min(t.top,n.top)-r,right:Math.max(t.right,n.right),bottom:Math.max(t.bottom,n.bottom)+r});Kn(e,o.scrollLeft,o.scrollTop)}function $n(e,t){Math.abs(e.doc.scrollTop-t)<2||(hi||Or(e,{top:t}),er(e,t,!0),hi&&Or(e),jr(e,100))}function er(e,t,n){t=Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t),(e.display.scroller.scrollTop!=t||n)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function tr(e,t,n,r){t=Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth),(n?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!r||(e.doc.scrollLeft=t,Un(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function nr(e){var t=e.display,n=t.gutters.offsetWidth,r=Math.round(e.doc.height+Ft(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?n:0,docHeight:r,scrollHeight:r+zt(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:n}}function rr(e,t){t||(t=nr(e));var n=e.display.barWidth,r=e.display.barHeight;or(e,t);for(var o=0;o<4&&n!=e.display.barWidth||r!=e.display.barHeight;o++)n!=e.display.barWidth&&e.options.lineWrapping&&Fn(e),or(e,nr(e)),n=e.display.barWidth,r=e.display.barHeight}function or(e,t){var n=e.display,r=n.scrollbars.update(t);n.sizer.style.paddingRight=(n.barWidth=r.right)+"px",n.sizer.style.paddingBottom=(n.barHeight=r.bottom)+"px",n.heightForcer.style.borderBottom=r.bottom+"px solid transparent",r.right&&r.bottom?(n.scrollbarFiller.style.display="block",n.scrollbarFiller.style.height=r.bottom+"px",n.scrollbarFiller.style.width=r.right+"px"):n.scrollbarFiller.style.display="",r.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(n.gutterFiller.style.display="block",n.gutterFiller.style.height=r.bottom+"px",n.gutterFiller.style.width=t.gutterWidth+"px"):n.gutterFiller.style.display=""}function ar(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&Fi(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new js[e.options.scrollbarStyle](function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),ns(t,"mousedown",function(){e.state.focused&&setTimeout(function(){return e.display.input.focus()},0)}),t.setAttribute("cm-not-content","true")},function(t,n){"horizontal"==n?tr(e,t):$n(e,t)},e),e.display.scrollbars.addClass&&s(e.display.wrapper,e.display.scrollbars.addClass)}function ir(e){e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:null,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Es},bt(e.curOp)}function sr(e){var t=e.curOp;t&&yt(t,function(e){for(var t=0;t=n.viewTo)||n.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new Ss(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function dr(e){e.updatedDisplay=e.mustUpdate&&Tr(e.cm,e.update)}function ur(e){var t=e.cm,n=t.display;e.updatedDisplay&&Fn(t),e.barMeasure=nr(t),n.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=Gt(t,n.maxLine,n.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(n.scroller.clientWidth,n.sizer.offsetLeft+e.adjustWidthTo+zt(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+e.adjustWidthTo-Ut(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=n.input.prepareSelection())}function pr(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeftt)&&(o.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=o.viewTo)Zi&&he(e.doc,t)o.viewFrom?yr(e):(o.viewFrom+=r,o.viewTo+=r);else if(t<=o.viewFrom&&n>=o.viewTo)yr(e);else if(t<=o.viewFrom){var a=Ar(e,n,n+r,1);a?(o.view=o.view.slice(a.index),o.viewFrom=a.lineN,o.viewTo+=r):yr(e)}else if(n>=o.viewTo){var i=Ar(e,t,t,-1);i?(o.view=o.view.slice(0,i.index),o.viewTo=i.lineN):yr(e)}else{var s=Ar(e,t,t,-1),l=Ar(e,n,n+r,1);s&&l?(o.view=o.view.slice(0,s.index).concat(_t(e,s.lineN,l.lineN)).concat(o.view.slice(l.index)),o.viewTo+=r):yr(e)}var c=o.externalMeasured;c&&(n=o.lineN&&t=r.viewTo)){var a=r.view[Cn(e,t)];if(null!=a.node){var i=a.changes||(a.changes=[]);-1==p(i,n)&&i.push(n)}}}function yr(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function Ar(e,t,n,r){var o,a=Cn(e,t),i=e.display.view;if(!Zi||n==e.doc.first+e.doc.size)return{index:a,lineN:n};for(var s=e.display.viewFrom,l=0;l0){if(a==i.length-1)return null;o=s+i[a].size-t,a++}else o=s-t;t+=o,n+=o}for(;he(e.doc,n)!=n;){if(a==(r<0?0:i.length-1))return null;n+=r*i[a-(r<0?1:0)].size,a+=r}return{index:a,lineN:n}}function xr(e,t,n){var r=e.display;0==r.view.length||t>=r.viewTo||n<=r.viewFrom?(r.view=_t(e,t,n),r.viewFrom=t):(r.viewFrom>t?r.view=_t(e,t,r.viewFrom).concat(r.view):r.viewFromn&&(r.view=r.view.slice(0,Cn(e,n)))),r.viewTo=n}function wr(e){for(var t=e.display.view,n=0,r=0;r=e.display.viewTo)){var n=+new Date+e.options.workTime,r=Je(e,t.highlightFrontier),o=[];t.iter(r.line,Math.min(t.first+t.size,e.display.viewTo+500),function(a){if(r.line>=e.display.viewFrom){var i=a.styles,s=a.text.length>e.options.maxHighlightLength?Ge(t.mode,r.state):null,l=Ke(e,a,r,!0);s&&(r.state=s),a.styles=l.styles;var c=a.styleClasses,d=l.classes;d?a.styleClasses=d:c&&(a.styleClasses=null);for(var u=!i||i.length!=a.styles.length||c!=d&&(!c||!d||c.bgClass!=d.bgClass||c.textClass!=d.textClass),p=0;!u&&pn)return jr(e,e.options.workDelay),!0}),t.highlightFrontier=r.line,t.modeFrontier=Math.max(t.modeFrontier,r.line),o.length&&mr(e,function(){for(var t=0;t=r.viewFrom&&n.visible.to<=r.viewTo&&(null==r.updateLineNumbers||r.updateLineNumbers>=r.viewTo)&&r.renderedView==r.view&&0==wr(e))return!1;Hn(e)&&(yr(e),n.dims=xn(e));var a=o.first+o.size,i=Math.max(n.visible.from-e.options.viewportMargin,o.first),s=Math.min(a,n.visible.to+e.options.viewportMargin);r.viewFroms&&r.viewTo-s<20&&(s=Math.min(a,r.viewTo)),Zi&&(i=he(e.doc,i),s=ge(e.doc,s));var l=i!=r.viewFrom||s!=r.viewTo||r.lastWrapHeight!=n.wrapperHeight||r.lastWrapWidth!=n.wrapperWidth;xr(e,i,s),r.viewOffset=ve(C(e.doc,r.viewFrom)),e.display.mover.style.top=r.viewOffset+"px";var c=wr(e);if(!l&&0==c&&!n.force&&r.renderedView==r.view&&(null==r.updateLineNumbers||r.updateLineNumbers>=r.viewTo))return!1;var d=Cr(e);return c>4&&(r.lineDiv.style.display="none"),Lr(e,r.updateLineNumbers,n.dims),c>4&&(r.lineDiv.style.display=""),r.renderedView=r.view,kr(d),t(r.cursorDiv),t(r.selectionDiv),r.gutters.style.height=r.sizer.style.minHeight=0,l&&(r.lastWrapHeight=n.wrapperHeight,r.lastWrapWidth=n.wrapperWidth,jr(e,400)),r.updateLineNumbers=null,!0}function Mr(e,t){for(var n=t.viewport,r=!0;(r&&e.options.lineWrapping&&t.oldDisplayWidth!=Ut(e)||(n&&null!=n.top&&(n={top:Math.min(e.doc.height+Ft(e.display)-Ht(e),n.top)}),t.visible=zn(e.display,e.doc,n),!(t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)))&&Tr(e,t);r=!1){Fn(e);var o=nr(e);kn(e),rr(e,o),Pr(e,o),t.force=!1}t.signal(e,"update",e),e.display.viewFrom==e.display.reportedViewFrom&&e.display.viewTo==e.display.reportedViewTo||(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function Or(e,t){var n=new Ss(e,t);if(Tr(e,n)){Fn(e),Mr(e,n);var r=nr(e);kn(e),rr(e,r),Pr(e,r),n.finish()}}function Lr(e,n,r){function o(t){var n=t.nextSibling;return Ai&&Oi&&e.display.currentWheelTarget==t?t.style.display="none":t.parentNode.removeChild(t),n}for(var a=e.display,i=e.options.lineNumbers,s=a.lineDiv,l=s.firstChild,c=a.view,d=a.viewFrom,u=0;u-1&&(m=!1),wt(e,f,d,r)),m&&(t(f.lineNumber),f.lineNumber.appendChild(document.createTextNode(P(e.options,d)))),l=f.node.nextSibling}else{var h=Ot(e,f,d,r);s.insertBefore(h,l)}d+=f.size}for(;l;)l=o(l)}function Dr(e){var t=e.display.gutters.offsetWidth;e.display.sizer.style.marginLeft=t+"px"}function Pr(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+zt(e)+"px"}function Ir(e){var n=e.display.gutters,o=e.options.gutters;t(n);for(var a=0;a-1&&!e.lineNumbers&&(e.gutters=e.gutters.slice(0),e.gutters.splice(t,1))}function Nr(e){var t=e.wheelDeltaX,n=e.wheelDeltaY;return null==t&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(t=e.detail),null==n&&e.detail&&e.axis==e.VERTICAL_AXIS?n=e.detail:null==n&&(n=e.wheelDelta),{x:t,y:n}}function Fr(e){var t=Nr(e);return t.x*=ks,t.y*=ks,t}function Br(e,t){var n=Nr(t),r=n.x,o=n.y,a=e.display,i=a.scroller,s=i.scrollWidth>i.clientWidth,l=i.scrollHeight>i.clientHeight;if(r&&s||o&&l){if(o&&Oi&&Ai)e:for(var c=t.target,d=a.view;c!=i;c=c.parentNode)for(var u=0;u0:l>=0){var c=z(s.from(),i.from()),d=B(s.to(),i.to()),u=s.empty()?i.from()==i.head:s.from()==s.head;a<=n&&--n,t.splice(--a,2,new Ms(u?d:c,u?c:d))}}return new Ts(t,n)}function Ur(e,t){return new Ts([new Ms(e,t||e)],0)}function Hr(e){return e.text?I(e.from.line+e.text.length-1,h(e.text).length+(1==e.text.length?e.from.ch:0)):e.to}function Vr(e,t){if(R(e,t.from)<0)return e;if(R(e,t.to)<=0)return Hr(t);var n=e.line+t.text.length-(t.to.line-t.from.line)-1,r=e.ch;return e.line==t.to.line&&(r+=Hr(t).ch-t.to.ch),I(n,r)}function Yr(e,t){for(var n=[],r=0;r1&&e.remove(s.line+1,m-1),e.insert(s.line+1,b)}At(e,"change",e,t)}function Jr(e,t,n){function r(e,o,a){if(e.linked)for(var i=0;i1&&!e.done[e.done.length-2].ranges?(e.done.pop(),h(e.done)):void 0}function ao(e,t,n,r){var o=e.history;o.undone.length=0;var a,i,s=+new Date;if((o.lastOp==r||o.lastOrigin==t.origin&&t.origin&&("+"==t.origin.charAt(0)&&o.lastModTime>s-(e.cm?e.cm.options.historyEventDelay:500)||"*"==t.origin.charAt(0)))&&(a=oo(o,o.lastOp==r)))i=h(a.changes),0==R(t.from,t.to)&&0==R(t.from,i.to)?i.to=Hr(t):a.changes.push(no(e,t));else{var l=h(o.done);for(l&&l.ranges||lo(e.sel,o.done),a={changes:[no(e,t)],generation:o.generation},o.done.push(a);o.done.length>o.undoDepth;)o.done.shift(),o.done[0].ranges||o.done.shift()}o.done.push(n),o.generation=++o.maxGeneration,o.lastModTime=o.lastSelTime=s,o.lastOp=o.lastSelOp=r,o.lastOrigin=o.lastSelOrigin=t.origin,i||Ce(e,"historyAdded")}function io(e,t,n,r){var o=t.charAt(0);return"*"==o||"+"==o&&n.ranges.length==r.ranges.length&&n.somethingSelected()==r.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}function so(e,t,n,r){var o=e.history,a=r&&r.origin;n==o.lastSelOp||a&&o.lastSelOrigin==a&&(o.lastModTime==o.lastSelTime&&o.lastOrigin==a||io(e,a,h(o.done),t))?o.done[o.done.length-1]=t:lo(t,o.done),o.lastSelTime=+new Date,o.lastSelOrigin=a,o.lastSelOp=n,r&&!1!==r.clearRedo&&ro(o.undone)}function lo(e,t){var n=h(t);n&&n.ranges&&n.equals(e)||t.push(e)}function co(e,t,n,r){var o=t["spans_"+e.id],a=0;e.iter(Math.max(e.first,n),Math.min(e.first+e.size,r),function(n){n.markedSpans&&((o||(o=t["spans_"+e.id]={}))[a]=n.markedSpans),++a})}function uo(e){if(!e)return null;for(var t,n=0;n-1&&(h(s)[u]=c[u],delete c[u])}}}return r}function ho(e,t,n,r){if(r){var o=e.anchor;if(n){var a=R(t,o)<0;a!=R(n,o)<0?(o=t,t=n):a!=R(t,n)<0&&(t=n)}return new Ms(o,t)}return new Ms(n||t,t)}function go(e,t,n,r,o){null==o&&(o=e.cm&&(e.cm.display.shift||e.extend)),xo(e,new Ts([ho(e.sel.primary(),t,n,o)],0),r)}function _o(e,t,n){for(var r=[],o=e.cm&&(e.cm.display.shift||e.extend),a=0;a=t.ch:s.to>t.ch))){if(o&&(Ce(l,"beforeCursorEnter"),l.explicitlyCleared)){if(a.markedSpans){--i;continue}break}if(!l.atomic)continue;if(n){var c=l.find(r<0?1:-1),d=void 0;if((r<0?l.inclusiveRight:l.inclusiveLeft)&&(c=To(e,c,-r,c&&c.line==t.line?a:null)),c&&c.line==t.line&&(d=R(c,n))&&(r<0?d<0:d>0))return Co(e,c,t,r,o)}var u=l.find(r<0?-1:1);return(r<0?l.inclusiveLeft:l.inclusiveRight)&&(u=To(e,u,r,u.line==t.line?a:null)),u?Co(e,u,t,r,o):null}}return t}function ko(e,t,n,r,o){var a=r||1,i=Co(e,t,n,a,o)||!o&&Co(e,t,n,a,!0)||Co(e,t,n,-a,o)||!o&&Co(e,t,n,-a,!0);return i||(e.cantEdit=!0,I(e.first,0))}function To(e,t,n,r){return n<0&&0==t.ch?t.line>e.first?H(e,I(t.line-1)):null:n>0&&t.ch==(r||C(e,t.line)).text.length?t.line=0;--o)Do(e,{from:r[o].from,to:r[o].to,text:o?[""]:t.text,origin:t.origin});else Do(e,t)}}function Do(e,t){if(1!=t.text.length||""!=t.text[0]||0!=R(t.from,t.to)){var n=Yr(e,t);ao(e,t,n,e.cm?e.cm.curOp.id:NaN),Ro(e,t,n,$(e,t));var r=[];Jr(e,function(e,n){n||-1!=p(r,e.history)||(Uo(e.history,t),r.push(e.history)),Ro(e,t,null,$(e,t))})}}function Po(e,t,n){var r=e.cm&&e.cm.state.suppressEdits;if(!r||n){for(var o,a=e.history,i=e.sel,s="undo"==t?a.done:a.undone,l="undo"==t?a.undone:a.done,c=0;c=0;--f){var m=function(n){var r=o.changes[n];if(r.origin=t,u&&!Oo(e,r,!1))return s.length=0,{};d.push(no(e,r));var a=n?Yr(e,r):h(s);Ro(e,r,a,fo(e,r)),!n&&e.cm&&e.cm.scrollIntoView({from:r.from,to:Hr(r)});var i=[];Jr(e,function(e,t){t||-1!=p(i,e.history)||(Uo(e.history,r),i.push(e.history)),Ro(e,r,null,fo(e,r))})}(f);if(m)return m.v}}}}function Io(e,t){if(0!=t&&(e.first+=t,e.sel=new Ts(g(e.sel.ranges,function(e){return new Ms(I(e.anchor.line+t,e.anchor.ch),I(e.head.line+t,e.head.ch))}),e.sel.primIndex),e.cm)){br(e.cm,e.first,e.first-t,t);for(var n=e.cm.display,r=n.viewFrom;re.lastLine())){if(t.from.linea&&(t={from:t.from,to:I(a,C(e,a).text.length),text:[t.text[0]],origin:t.origin}),t.removed=k(e,t.from,t.to),n||(n=Yr(e,t)),e.cm?No(e.cm,t,r):Xr(e,t,r),wo(e,n,Wi)}}function No(e,t,n){var r=e.doc,o=e.display,a=t.from,i=t.to,s=!1,l=a.line;e.options.lineWrapping||(l=O(pe(C(r,a.line))),r.iter(l,i.line+1,function(e){if(e==o.maxLine)return s=!0,!0})),r.sel.contains(t.from,t.to)>-1&&Te(e),Xr(r,t,n,jn(e)),e.options.lineWrapping||(r.iter(l,a.line+t.text.length,function(e){var t=ye(e);t>o.maxLineLength&&(o.maxLine=e,o.maxLineLength=t,o.maxLineChanged=!0,s=!1)}),s&&(e.curOp.updateMaxLine=!0)),at(r,a.line),jr(e,400);var c=t.text.length-(i.line-a.line)-1;t.full?br(e):a.line!=i.line||1!=t.text.length||Kr(e.doc,t)?br(e,a.line,i.line+1,c):vr(e,a.line,"text");var d=Me(e,"changes"),u=Me(e,"change");if(u||d){var p={from:a,to:i,text:t.text,removed:t.removed,origin:t.origin};u&&At(e,"change",e,p),d&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(p)}e.display.selForContextMenu=null}function Fo(e,t,n,r,o){var a;r||(r=n),R(r,n)<0&&(a=[r,n],n=a[0],r=a[1]),"string"==typeof t&&(t=e.splitLines(t)),Lo(e,{from:n,to:r,text:t,origin:o})}function Bo(e,t,n,r){n0||0==s&&!1!==i.clearWhenEmpty)return i;if(i.replacedWith&&(i.collapsed=!0,i.widgetNode=o("span",[i.replacedWith],"CodeMirror-widget"),r.handleMouseEvents||i.widgetNode.setAttribute("cm-ignore-events","true"),r.insertLeft&&(i.widgetNode.insertLeft=!0)),i.collapsed){if(ue(e,t.line,t,n,i)||t.line!=n.line&&ue(e,n.line,t,n,i))throw new Error("Inserting collapsed marker partially overlapping an existing one");G()}i.addToHistory&&ao(e,{from:t,to:n,origin:"markText"},e.sel,NaN);var l,c=t.line,u=e.cm;if(e.iter(c,n.line+1,function(e){u&&i.collapsed&&!u.options.lineWrapping&&pe(e)==u.display.maxLine&&(l=!0),i.collapsed&&c!=t.line&&M(e,0),X(e,new Q(i,c==t.line?t.ch:null,c==n.line?n.ch:null)),++c}),i.collapsed&&e.iter(t.line,n.line+1,function(t){_e(e,t)&&M(t,0)}),i.clearOnEnter&&ns(i,"beforeCursorEnter",function(){return i.clear()}),i.readOnly&&(W(),(e.history.done.length||e.history.undone.length)&&e.clearHistory()),i.collapsed&&(i.id=++Ls,i.atomic=!0),u){if(l&&(u.curOp.updateMaxLine=!0),i.collapsed)br(u,t.line,n.line+1);else if(i.className||i.startStyle||i.endStyle||i.css||i.attributes||i.title)for(var p=t.line;p<=n.line;p++)vr(u,p,"text");i.atomic&&Eo(u.doc),At(u,"markerAdded",u,i)}return i}function qo(e,t,n,r,o){r=d(r),r.shared=!1;var a=[Qo(e,t,n,r,o)],i=a[0],s=r.widgetNode;return Jr(e,function(e){s&&(r.widgetNode=s.cloneNode(!0)),a.push(Qo(e,H(e,t),H(e,n),r,o));for(var l=0;l-1)return t.state.draggingText(e),void setTimeout(function(){return t.display.input.focus()},20);try{var l=e.dataTransfer.getData("Text");if(l){var c;if(t.state.draggingText&&!t.state.draggingText.copy&&(c=t.listSelections()),wo(t.doc,Ur(n,n)),c)for(var d=0;d=0;t--)Fo(e.doc,"",r[t].from,r[t].to,"+delete");qn(e)})}function ma(e,t,n){var r=j(e.text,t+n,n);return r<0||r>e.text.length?null:r}function ha(e,t,n){var r=ma(e,t.ch,n);return null==r?null:new I(t.line,r,n<0?"after":"before")}function ga(e,t,n,r,o){if(e){var a=je(n,t.doc.direction);if(a){var i,s=o<0?h(a):a[0],l=o<0==(1==s.level),c=l?"after":"before";if(s.level>0||"rtl"==t.doc.direction){var d=qt(t,n);i=o<0?n.text.length-1:0;var u=Kt(t,d,i).top;i=E(function(e){return Kt(t,d,e).top==u},o<0==(1==s.level)?s.from:s.to-1,i),"before"==c&&(i=ma(n,i,1))}else i=o<0?s.to:s.from;return new I(r,i,c)}}return new I(r,o<0?n.text.length:0,o<0?"before":"after")}function _a(e,t,n,r){var o=je(t,e.doc.direction);if(!o)return ha(t,n,r);n.ch>=t.text.length?(n.ch=t.text.length,n.sticky="before"):n.ch<=0&&(n.ch=0,n.sticky="after");var a=we(o,n.ch,n.sticky),i=o[a];if("ltr"==e.doc.direction&&i.level%2==0&&(r>0?i.to>n.ch:i.from=i.from&&p>=d.begin)){var f=u?"before":"after";return new I(n.line,p,f)}}var m=function(e,t,r){for(var a=function(e,t){return t?new I(n.line,l(e,1),"before"):new I(n.line,e,"after")};e>=0&&e0==(1!=i.level),c=s?r.begin:l(r.end,-1);if(i.from<=c&&c0?d.end:l(d.begin,-1);return null==g||r>0&&g==t.text.length||!(h=m(r>0?0:o.length-1,r,c(g)))?null:h}function ba(e,t){var n=C(e.doc,t),r=pe(n);return r!=n&&(t=O(r)),ga(!0,e,r,t,1)}function va(e,t){var n=C(e.doc,t),r=fe(n);return r!=n&&(t=O(r)),ga(!0,e,n,t,-1)}function ya(e,t){var n=ba(e,t.line),r=C(e.doc,n.line),o=je(r,e.doc.direction);if(!o||0==o[0].level){var a=Math.max(0,r.text.search(/\S/)),i=t.line==n.line&&t.ch<=a&&t.ch;return I(n.line,i?0:a,n.sticky)}return n}function Aa(e,t,n){if("string"==typeof t&&!(t=Ys[t]))return!1;e.display.input.ensurePolled();var r=e.display.shift,o=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),n&&(e.display.shift=!1),o=t(e)!=Yi}finally{e.display.shift=r,e.state.suppressEdits=!1}return o}function xa(e,t,n){for(var r=0;r-1&&(R((o=s.ranges[o]).from(),t)<0||t.xRel>0)&&(R(o.to(),t)>0||t.xRel<0)?Ra(e,r,t,a):Fa(e,r,t,a)}function Ra(e,t,n,r){var o=e.display,a=!1,i=hr(e,function(t){Ai&&(o.scroller.draggable=!1),e.state.draggingText=!1,Se(o.wrapper.ownerDocument,"mouseup",i),Se(o.wrapper.ownerDocument,"mousemove",s),Se(o.scroller,"dragstart",l),Se(o.scroller,"drop",i),a||(Le(t),r.addNew||go(e.doc,n,null,null,r.extend),Ai||vi&&9==yi?setTimeout(function(){o.wrapper.ownerDocument.body.focus(),o.input.focus()},20):o.input.focus())}),s=function(e){a=a||Math.abs(t.clientX-e.clientX)+Math.abs(t.clientY-e.clientY)>=10},l=function(){return a=!0};Ai&&(o.scroller.draggable=!0),e.state.draggingText=i,i.copy=!r.moveOnDrag,o.scroller.dragDrop&&o.scroller.dragDrop(),ns(o.wrapper.ownerDocument,"mouseup",i),ns(o.wrapper.ownerDocument,"mousemove",s),ns(o.scroller,"dragstart",l),ns(o.scroller,"drop",i),In(e),setTimeout(function(){return o.input.focus()},20)}function Na(e,t,n){if("char"==n)return new Ms(t,t);if("word"==n)return e.findWordAt(t);if("line"==n)return new Ms(I(t.line,0),H(e.doc,I(t.line+1,0)));var r=n(e,t);return new Ms(r.from,r.to)}function Fa(e,t,n,r){function o(t){if(0!=R(_,t))if(_=t,"rectangle"==r.unit){for(var o=[],a=e.options.tabSize,i=u(C(c,n.line).text,n.ch,a),s=u(C(c,t.line).text,t.ch,a),l=Math.min(i,s),h=Math.max(i,s),g=Math.min(n.line,t.line),b=Math.min(e.lastLine(),Math.max(n.line,t.line));g<=b;g++){var v=C(c,g).text,y=f(v,l,a);l==h?o.push(new Ms(I(g,y),I(g,y))):v.length>y&&o.push(new Ms(I(g,y),I(g,f(v,h,a))))}o.length||o.push(new Ms(n,n)),xo(c,zr(e,m.ranges.slice(0,p).concat(o),p),{origin:"*mouse",scroll:!1}),e.scrollIntoView(t)}else{var A,x=d,w=Na(e,t,r.unit),j=x.anchor;R(w.anchor,j)>0?(A=w.head,j=z(x.from(),w.anchor)):(A=w.anchor,j=B(x.to(),w.head));var E=m.ranges.slice(0);E[p]=Ba(e,new Ms(H(c,j),A)),xo(c,zr(e,E,p),Gi)}}function a(t){var n=++v,s=Sn(e,t,!0,"rectangle"==r.unit);if(s)if(0!=R(s,_)){e.curOp.focus=i(),o(s);var d=zn(l,c);(s.line>=d.to||s.lineb.bottom?20:0;u&&setTimeout(hr(e,function(){v==n&&(l.scroller.scrollTop+=u,a(t))}),50)}}function s(t){e.state.selectingText=!1,v=1/0,Le(t),l.input.focus(),Se(l.wrapper.ownerDocument,"mousemove",y),Se(l.wrapper.ownerDocument,"mouseup",A),c.history.lastSelOrigin=null}var l=e.display,c=e.doc;Le(t);var d,p,m=c.sel,h=m.ranges;if(r.addNew&&!r.extend?(p=c.sel.contains(n),d=p>-1?h[p]:new Ms(n,n)):(d=c.sel.primary(),p=c.sel.primIndex),"rectangle"==r.unit)r.addNew||(d=new Ms(n,n)),n=Sn(e,t,!0,!0),p=-1;else{var g=Na(e,n,r.unit);d=r.extend?ho(d,g.anchor,g.head,r.extend):g}r.addNew?-1==p?(p=h.length,xo(c,zr(e,h.concat([d]),p),{scroll:!1,origin:"*mouse"})):h.length>1&&h[p].empty()&&"char"==r.unit&&!r.extend?(xo(c,zr(e,h.slice(0,p).concat(h.slice(p+1)),0),{scroll:!1,origin:"*mouse"}),m=c.sel):bo(c,p,d,Gi):(p=0,xo(c,new Ts([d],0),Gi),m=c.sel);var _=n,b=l.wrapper.getBoundingClientRect(),v=0,y=hr(e,function(e){0!==e.buttons&&Ne(e)?a(e):s(e)}),A=hr(e,s);e.state.selectingText=A,ns(l.wrapper.ownerDocument,"mousemove",y),ns(l.wrapper.ownerDocument,"mouseup",A)}function Ba(e,t){var n=t.anchor,r=t.head,o=C(e.doc,n.line);if(0==R(n,r)&&n.sticky==r.sticky)return t;var a=je(o);if(!a)return t;var i=we(a,n.ch,n.sticky),s=a[i];if(s.from!=n.ch&&s.to!=n.ch)return t;var l=i+(s.from==n.ch==(1!=s.level)?0:1);if(0==l||l==a.length)return t;var c;if(r.line!=n.line)c=(r.line-n.line)*("ltr"==e.doc.direction?1:-1)>0;else{var d=we(a,r.ch,r.sticky),u=d-i||(r.ch-n.ch)*(1==s.level?-1:1);c=d==l-1||d==l?u<0:u>0}var p=a[l+(c?-1:0)],f=c==(1==p.level),m=f?p.from:p.to,h=f?"after":"before";return n.ch==m&&n.sticky==h?t:new Ms(new I(n.line,m,h),r)}function za(e,t,n,r){var o,a;if(t.touches)o=t.touches[0].clientX,a=t.touches[0].clientY;else try{o=t.clientX,a=t.clientY}catch(t){return!1}if(o>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;r&&Le(t);var i=e.display,s=i.lineDiv.getBoundingClientRect();if(a>s.bottom||!Me(e,n))return Pe(t);a-=s.top-i.viewOffset;for(var l=0;l=o){return Ce(e,n,e,L(e.doc,a),e.options.gutters[l],t),Pe(t)}}}function Ua(e,t){return za(e,t,"gutterClick",!0)}function Ha(e,t){Rt(e.display,t)||Va(e,t)||ke(e,t,"contextmenu")||Ni||e.display.input.onContextMenu(t)}function Va(e,t){return!!Me(e,"gutterContextMenu")&&za(e,t,"gutterContextMenu",!1)}function Ya(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),nn(e)}function Wa(e){Ir(e),br(e),Un(e)}function Ga(e,t,n){if(!t!=!(n&&n!=Xs)){var r=e.display.dragFunctions,o=t?ns:Se;o(e.display.scroller,"dragstart",r.start),o(e.display.scroller,"dragenter",r.enter),o(e.display.scroller,"dragover",r.over),o(e.display.scroller,"dragleave",r.leave),o(e.display.scroller,"drop",r.drop)}}function Qa(e){e.options.lineWrapping?(s(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(Fi(e.display.wrapper,"CodeMirror-wrap"),Ae(e)),En(e),br(e),nn(e),setTimeout(function(){return rr(e)},100)}function qa(e,t){var n=this;if(!(this instanceof qa))return new qa(e,t);this.options=t=t?d(t):{},d(Js,t,!1),Rr(t);var r=t.value;"string"==typeof r?r=new Rs(r,t.mode,null,t.lineSeparator,t.direction):t.mode&&(r.modeOption=t.mode),this.doc=r;var o=new qa.inputStyles[t.inputStyle](this),a=this.display=new S(e,r,o);a.wrapper.CodeMirror=this,Ir(this),Ya(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),ar(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:!1,cutIncoming:!1,selectingText:!1,draggingText:!1,highlight:new zi,keySeq:null,specialChars:null},t.autofocus&&!Mi&&a.input.focus(),vi&&yi<11&&setTimeout(function(){return n.display.input.reset(!0)},20),Ka(this),ra(),ir(this),this.curOp.forceUpdate=!0,Zr(this,r),t.autofocus&&!Mi||this.hasFocus()?setTimeout(c(Rn,this),20):Nn(this);for(var i in Zs)Zs.hasOwnProperty(i)&&Zs[i](n,t[i],Xs);Hn(this),t.finishInit&&t.finishInit(this);for(var s=0;s<$s.length;++s)$s[s](n);sr(this),Ai&&t.lineWrapping&&"optimizelegibility"==getComputedStyle(a.lineDiv).textRendering&&(a.lineDiv.style.textRendering="auto")}function Ka(e){function t(){o.activeTouch&&(a=setTimeout(function(){return o.activeTouch=null},1e3),i=o.activeTouch,i.end=+new Date)}function n(e){if(1!=e.touches.length)return!1;var t=e.touches[0];return t.radiusX<=1&&t.radiusY<=1}function r(e,t){if(null==t.left)return!0;var n=t.left-e.left,r=t.top-e.top;return n*n+r*r>400}var o=e.display;ns(o.scroller,"mousedown",hr(e,La)),vi&&yi<11?ns(o.scroller,"dblclick",hr(e,function(t){if(!ke(e,t)){var n=Sn(e,t);if(n&&!Ua(e,t)&&!Rt(e.display,t)){Le(t);var r=e.findWordAt(n);go(e.doc,r.anchor,r.head)}}})):ns(o.scroller,"dblclick",function(t){return ke(e,t)||Le(t)}),ns(o.scroller,"contextmenu",function(t){return Ha(e,t)});var a,i={end:0};ns(o.scroller,"touchstart",function(t){if(!ke(e,t)&&!n(t)&&!Ua(e,t)){o.input.ensurePolled(),clearTimeout(a);var r=+new Date;o.activeTouch={start:r,moved:!1,prev:r-i.end<=300?i:null},1==t.touches.length&&(o.activeTouch.left=t.touches[0].pageX,o.activeTouch.top=t.touches[0].pageY)}}),ns(o.scroller,"touchmove",function(){o.activeTouch&&(o.activeTouch.moved=!0)}),ns(o.scroller,"touchend",function(n){var a=o.activeTouch;if(a&&!Rt(o,n)&&null!=a.left&&!a.moved&&new Date-a.start<300){var i,s=e.coordsChar(o.activeTouch,"page");i=!a.prev||r(a,a.prev)?new Ms(s,s):!a.prev.prev||r(a,a.prev.prev)?e.findWordAt(s):new Ms(I(s.line,0),H(e.doc,I(s.line+1,0))),e.setSelection(i.anchor,i.head),e.focus(),Le(n)}t()}),ns(o.scroller,"touchcancel",t),ns(o.scroller,"scroll",function(){o.scroller.clientHeight&&($n(e,o.scroller.scrollTop),tr(e,o.scroller.scrollLeft,!0),Ce(e,"scroll",e))}),ns(o.scroller,"mousewheel",function(t){return Br(e,t)}),ns(o.scroller,"DOMMouseScroll",function(t){return Br(e,t)}),ns(o.wrapper,"scroll",function(){return o.wrapper.scrollTop=o.wrapper.scrollLeft=0}),o.dragFunctions={enter:function(t){ke(e,t)||Ie(t)},over:function(t){ke(e,t)||(ea(e,t),Ie(t))},start:function(t){return $o(e,t)},drop:hr(e,Zo),leave:function(t){ke(e,t)||ta(e)}};var s=o.input.getField();ns(s,"keyup",function(t){return Ta.call(e,t)}),ns(s,"keydown",hr(e,Ca)),ns(s,"keypress",hr(e,Ma)),ns(s,"focus",function(t){return Rn(e,t)}),ns(s,"blur",function(t){return Nn(e,t)})}function Xa(e,t,n,r){var o,a=e.doc;null==n&&(n="add"),"smart"==n&&(a.mode.indent?o=Je(e,t).state:n="prev");var i=e.options.tabSize,s=C(a,t),l=u(s.text,null,i);s.stateAfter&&(s.stateAfter=null);var c,d=s.text.match(/^\s*/)[0];if(r||/\S/.test(s.text)){if("smart"==n&&((c=a.mode.indent(o,s.text.slice(d.length),s.text))==Yi||c>150)){if(!r)return;n="prev"}}else c=0,n="not";"prev"==n?c=t>a.first?u(C(a,t-1).text,null,i):0:"add"==n?c=l+e.options.indentUnit:"subtract"==n?c=l-e.options.indentUnit:"number"==typeof n&&(c=l+n),c=Math.max(0,c);var p="",f=0;if(e.options.indentWithTabs)for(var h=Math.floor(c/i);h;--h)f+=i,p+="\t";if(f1)if(el&&el.text.join("\n")==t){if(r.ranges.length%el.text.length==0){l=[];for(var c=0;c=0;u--){var p=r.ranges[u],f=p.from(),m=p.to();p.empty()&&(n&&n>0?f=I(f.line,f.ch-n):e.state.overwrite&&!i?m=I(m.line,Math.min(C(a,m.line).text.length,m.ch+h(s).length)):i&&el&&el.lineWise&&el.text.join("\n")==t&&(f=m=I(f.line,0))),d=e.curOp.updateInput;var _={from:f,to:m,text:l?l[u%l.length]:s,origin:o||(i?"paste":e.state.cutIncoming?"cut":"+input")};Lo(e.doc,_),At(e,"inputRead",e,_)}t&&!i&&ei(e,t),qn(e),e.curOp.updateInput=d,e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=!1}function $a(e,t){var n=e.clipboardData&&e.clipboardData.getData("Text");if(n)return e.preventDefault(),t.isReadOnly()||t.options.disableInput||mr(t,function(){return Za(t,n,0,null,"paste")}),!0}function ei(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var n=e.doc.sel,r=n.ranges.length-1;r>=0;r--){var o=n.ranges[r];if(!(o.head.ch>100||r&&n.ranges[r-1].head.line==o.head.line)){var a=e.getModeAt(o.head),i=!1;if(a.electricChars){for(var s=0;s-1){i=Xa(e,o.head.line,"smart");break}}else a.electricInput&&a.electricInput.test(C(e.doc,o.head.line).text.slice(0,o.head.ch))&&(i=Xa(e,o.head.line,"smart"));i&&At(e,"electricInput",e,o.head.line)}}}function ti(e){for(var t=[],n=[],r=0;r=e.first+e.size)&&(t=new I(r,t.ch,t.sticky),c=C(e,r))}function i(r){var i;if(null==(i=o?_a(e.cm,c,t,n):ha(c,t,n))){if(r||!a())return!1;t=ga(o,e.cm,c,t.line,n)}else t=i;return!0}var s=t,l=n,c=C(e,t.line);if("char"==r)i();else if("column"==r)i(!0);else if("word"==r||"group"==r)for(var d=null,u="group"==r,p=e.cm&&e.cm.getHelper(t,"wordChars"),f=!0;!(n<0)||i(!f);f=!1){var m=c.text.charAt(t.ch)||"\n",h=A(m,p)?"w":u&&"\n"==m?"n":!u||/\s/.test(m)?null:"p";if(!u||f||h||(h="s"),d&&d!=h){n<0&&(n=1,i(),t.sticky="after");break}if(h&&(d=h),n>0&&!i(!f))break}var g=ko(e,t,s,l,!0);return N(s,g)&&(g.hitSide=!0),g}function ai(e,t,n,r){var o,a=e.doc,i=t.left;if("page"==r){var s=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),l=Math.max(s-.5*yn(e.display),3);o=(n>0?t.bottom:t.top)+n*l}else"line"==r&&(o=n>0?t.bottom+3:t.top-3);for(var c;c=fn(e,i,o),c.outside;){if(n<0?o<=0:o>=a.height){c.hitSide=!0;break}o+=5*n}return c}function ii(e,t){var n=Qt(e,t.line);if(!n||n.hidden)return null;var r=C(e.doc,t.line),o=Yt(n,r,t.line),a=je(r,e.doc.direction),i="left";if(a){i=we(a,t.ch)%2?"right":"left"}var s=Xt(o.map,t.ch,i);return s.offset="right"==s.collapse?s.end:s.start,s}function si(e){for(var t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}function li(e,t){return t&&(e.bad=!0),e}function ci(e,t,n,r,o){function a(e){return function(t){return t.id==e}}function i(){d&&(c+=u,p&&(c+=u),d=p=!1)}function s(e){e&&(i(),c+=e)}function l(t){if(1==t.nodeType){var n=t.getAttribute("cm-text");if(n)return void s(n);var c,f=t.getAttribute("cm-marker");if(f){var m=e.findMarks(I(r,0),I(o+1,0),a(+f));return void(m.length&&(c=m[0].find(0))&&s(k(e.doc,c.from,c.to).join(u)))}if("false"==t.getAttribute("contenteditable"))return;var h=/^(pre|div|p|li|table|br)$/i.test(t.nodeName);if(!/^br$/i.test(t.nodeName)&&0==t.textContent.length)return;h&&i();for(var g=0;g=15&&(ji=!1,Ai=!0);var Ii,Ri=Oi&&(xi||ji&&(null==Pi||Pi<12.11)),Ni=hi||vi&&yi>=9,Fi=function(t,n){var r=t.className,o=e(n).exec(r);if(o){var a=r.slice(o.index+o[0].length);t.className=r.slice(0,o.index)+(a?o[1]+a:"")}};Ii=document.createRange?function(e,t,n,r){var o=document.createRange();return o.setEnd(r||e,n),o.setStart(e,t),o}:function(e,t,n){var r=document.body.createTextRange();try{r.moveToElementText(e.parentNode)}catch(e){return r}return r.collapse(!0),r.moveEnd("character",n),r.moveStart("character",t),r};var Bi=function(e){e.select()};ki?Bi=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:vi&&(Bi=function(e){try{e.select()}catch(e){}});var zi=function(){this.id=null};zi.prototype.set=function(e,t){clearTimeout(this.id),this.id=setTimeout(t,e)};var Ui,Hi,Vi=30,Yi={toString:function(){return"CodeMirror.Pass"}},Wi={scroll:!1},Gi={origin:"*mouse"},Qi={origin:"+move"},qi=[""],Ki=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/,Xi=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/,Ji=!1,Zi=!1,$i=null,es=function(){function e(e){return e<=247?n.charAt(e):1424<=e&&e<=1524?"R":1536<=e&&e<=1785?r.charAt(e-1536):1774<=e&&e<=2220?"r":8192<=e&&e<=8203?"w":8204==e?"b":"L"}function t(e,t,n){this.level=e,this.from=t,this.to=n}var n="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",r="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111",o=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,a=/[stwN]/,i=/[LRr]/,s=/[Lb1n]/,l=/[1n]/;return function(n,r){var c="ltr"==r?"L":"R";if(0==n.length||"ltr"==r&&!o.test(n))return!1;for(var d=n.length,u=[],p=0;p=this.string.length},us.prototype.sol=function(){return this.pos==this.lineStart},us.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},us.prototype.next=function(){if(this.post},us.prototype.eatSpace=function(){for(var e=this,t=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++e.pos;return this.pos>t},us.prototype.skipToEnd=function(){this.pos=this.string.length},us.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},us.prototype.backUp=function(e){this.pos-=e},us.prototype.column=function(){return this.lastColumnPos0?null:(r&&!1!==t&&(this.pos+=r[0].length),r)}var o=function(e){return n?e.toLowerCase():e};if(o(this.string.substr(this.pos,e.length))==o(e))return!1!==t&&(this.pos+=e.length),!0},us.prototype.current=function(){return this.string.slice(this.start,this.pos)},us.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},us.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},us.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};var ps=function(e,t){this.state=e,this.lookAhead=t},fs=function(e,t,n,r){this.state=t,this.doc=e,this.line=n,this.maxLookAhead=r||0,this.baseTokens=null,this.baseTokenPos=1};fs.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return null!=t&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},fs.prototype.baseToken=function(e){var t=this;if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)t.baseTokenPos+=2;var n=this.baseTokens[this.baseTokenPos+1];return{type:n&&n.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},fs.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},fs.fromSaved=function(e,t,n){return t instanceof ps?new fs(e,Ge(e.mode,t.state),n,t.lookAhead):new fs(e,Ge(e.mode,t),n)},fs.prototype.save=function(e){var t=!1!==e?Ge(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new ps(t,this.maxLookAhead):t};var ms=function(e,t,n){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=n},hs=function(e,t,n){this.text=e,re(this,t),this.height=n?n(this):1};hs.prototype.lineNo=function(){return O(this)},Oe(hs);var gs,_s={},bs={},vs=null,ys=null,As={left:0,right:0,top:0,bottom:0},xs=function(e,t,n){this.cm=n;var o=this.vert=r("div",[r("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),a=this.horiz=r("div",[r("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");o.tabIndex=a.tabIndex=-1,e(o),e(a),ns(o,"scroll",function(){o.clientHeight&&t(o.scrollTop,"vertical")}),ns(a,"scroll",function(){a.clientWidth&&t(a.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,vi&&yi<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};xs.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,n=e.scrollHeight>e.clientHeight+1,r=e.nativeBarWidth;if(n){this.vert.style.display="block",this.vert.style.bottom=t?r+"px":"0";var o=e.viewHeight-(t?r:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+o)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=n?r+"px":"0",this.horiz.style.left=e.barLeft+"px";var a=e.viewWidth-e.barLeft-(n?r:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+a)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(0==r&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:n?r:0,bottom:t?r:0}},xs.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},xs.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},xs.prototype.zeroWidthHack=function(){var e=Oi&&!Si?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new zi,this.disableVert=new zi},xs.prototype.enableZeroWidthBar=function(e,t,n){function r(){var o=e.getBoundingClientRect();("vert"==n?document.elementFromPoint(o.right-1,(o.top+o.bottom)/2):document.elementFromPoint((o.right+o.left)/2,o.bottom-1))!=e?e.style.pointerEvents="none":t.set(1e3,r)}e.style.pointerEvents="auto",t.set(1e3,r)},xs.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var ws=function(){};ws.prototype.update=function(){return{bottom:0,right:0}},ws.prototype.setScrollLeft=function(){},ws.prototype.setScrollTop=function(){},ws.prototype.clear=function(){};var js={native:xs,null:ws},Es=0,Ss=function(e,t,n){var r=e.display;this.viewport=t,this.visible=zn(r,e.doc,t),this.editorIsHidden=!r.wrapper.offsetWidth,this.wrapperHeight=r.wrapper.clientHeight,this.wrapperWidth=r.wrapper.clientWidth,this.oldDisplayWidth=Ut(e),this.force=n,this.dims=xn(e),this.events=[]};Ss.prototype.signal=function(e,t){Me(e,t)&&this.events.push(arguments)},Ss.prototype.finish=function(){for(var e=this,t=0;t=0&&R(e,o.to())<=0)return r}return-1};var Ms=function(e,t){this.anchor=e,this.head=t};Ms.prototype.from=function(){return z(this.anchor,this.head)},Ms.prototype.to=function(){return B(this.anchor,this.head)},Ms.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch},Vo.prototype={chunkSize:function(){return this.lines.length},removeInner:function(e,t){for(var n=this,r=e,o=e+t;r1||!(this.children[0]instanceof Vo))){var l=[];this.collapse(l),this.children=[new Vo(l)],this.children[0].parent=this}},collapse:function(e){for(var t=this,n=0;n50){for(var s=a.lines.length%25+25,l=s;l10);e.parent.maybeSpill()}},iterN:function(e,t,n){for(var r=this,o=0;ot.display.maxLineLength&&(t.display.maxLine=d,t.display.maxLineLength=u,t.display.maxLineChanged=!0)}null!=o&&t&&this.collapsed&&br(t,o,a+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,t&&Eo(t.doc)),t&&At(t,"markerCleared",t,this,o,a),n&&sr(t),this.parent&&this.parent.clear()}},Ds.prototype.find=function(e,t){var n=this;null==e&&"bookmark"==this.type&&(e=1);for(var r,o,a=0;a=0;c--)Lo(r,o[c]);l?Ao(this,l):this.cm&&qn(this.cm)}),undo:_r(function(){Po(this,"undo")}),redo:_r(function(){Po(this,"redo")}),undoSelection:_r(function(){Po(this,"undo",!0)}),redoSelection:_r(function(){Po(this,"redo",!0)}),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,n=0,r=0;r=e.ch)&&t.push(o.marker.parent||o.marker)}return t},findMarks:function(e,t,n){e=H(this,e),t=H(this,t);var r=[],o=e.line;return this.iter(e.line,t.line+1,function(a){var i=a.markedSpans;if(i)for(var s=0;s=l.to||null==l.from&&o!=e.line||null!=l.from&&o==t.line&&l.from>=t.ch||n&&!n(l.marker)||r.push(l.marker.parent||l.marker)}++o}),r},getAllMarks:function(){var e=[];return this.iter(function(t){var n=t.markedSpans;if(n)for(var r=0;re)return t=e,!0;e-=a,++n}),H(this,I(n,t))},indexFromPos:function(e){e=H(this,e);var t=e.ch;if(e.linet&&(t=e.from),null!=e.to&&e.to0)o=new I(o.line,o.ch+1),e.replaceRange(a.charAt(o.ch-1)+a.charAt(o.ch-2),I(o.line,o.ch-2),o,"+transpose");else if(o.line>e.doc.first){var i=C(e.doc,o.line-1).text;i&&(o=new I(o.line,1),e.replaceRange(a.charAt(0)+e.doc.lineSeparator()+i.charAt(i.length-1),I(o.line-1,i.length-1),o,"+transpose"))}n.push(new Ms(o,o))}e.setSelections(n)})},newlineAndIndent:function(e){return mr(e,function(){for(var t=e.listSelections(),n=t.length-1;n>=0;n--)e.replaceRange(e.doc.lineSeparator(),t[n].anchor,t[n].head,"+input");t=e.listSelections();for(var r=0;re&&0==R(t,this.pos)&&n==this.button};var qs,Ks,Xs={toString:function(){return"CodeMirror.Init"}},Js={},Zs={};qa.defaults=Js,qa.optionHandlers=Zs;var $s=[];qa.defineInitHook=function(e){return $s.push(e)};var el=null,tl=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new zi,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};tl.prototype.init=function(e){function t(e){if(!ke(o,e)){if(o.somethingSelected())Ja({lineWise:!1,text:o.getSelections()}),"cut"==e.type&&o.replaceSelection("",null,"cut");else{if(!o.options.lineWiseCopyCut)return;var t=ti(o);Ja({lineWise:!0,text:t.text}),"cut"==e.type&&o.operation(function(){o.setSelections(t.ranges,0,Wi),o.replaceSelection("",null,"cut")})}if(e.clipboardData){e.clipboardData.clearData();var n=el.text.join("\n");if(e.clipboardData.setData("Text",n),e.clipboardData.getData("Text")==n)return void e.preventDefault()}var i=ri(),s=i.firstChild;o.display.lineSpace.insertBefore(i,o.display.lineSpace.firstChild),s.value=el.text.join("\n");var l=document.activeElement;Bi(s),setTimeout(function(){o.display.lineSpace.removeChild(i),l.focus(),l==a&&r.showPrimarySelection()},50)}}var n=this,r=this,o=r.cm,a=r.div=e.lineDiv;ni(a,o.options.spellcheck),ns(a,"paste",function(e){ke(o,e)||$a(e,o)||yi<=11&&setTimeout(hr(o,function(){return n.updateFromDOM()}),20)}),ns(a,"compositionstart",function(e){n.composing={data:e.data,done:!1}}),ns(a,"compositionupdate",function(e){n.composing||(n.composing={data:e.data,done:!1})}),ns(a,"compositionend",function(e){n.composing&&(e.data!=n.composing.data&&n.readFromDOMSoon(),n.composing.done=!0)}),ns(a,"touchstart",function(){return r.forceCompositionEnd()}),ns(a,"input",function(){n.composing||n.readFromDOMSoon()}),ns(a,"copy",t),ns(a,"cut",t)},tl.prototype.prepareSelection=function(){var e=Tn(this.cm,!1);return e.focus=this.cm.state.focused,e},tl.prototype.showSelection=function(e,t){e&&this.cm.display.view.length&&((e.focus||t)&&this.showPrimarySelection(),this.showMultipleSelections(e))},tl.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},tl.prototype.showPrimarySelection=function(){var e=this.getSelection(),t=this.cm,n=t.doc.sel.primary(),r=n.from(),o=n.to();if(t.display.viewTo==t.display.viewFrom||r.line>=t.display.viewTo||o.line=t.display.viewFrom&&ii(t,r)||{node:s[0].measure.map[2],offset:0},c=o.linee.firstLine()&&(r=I(r.line-1,C(e.doc,r.line-1).length)),o.ch==C(e.doc,o.line).text.length&&o.linet.viewTo-1)return!1;var a,i,s;r.line==t.viewFrom||0==(a=Cn(e,r.line))?(i=O(t.view[0].line),s=t.view[0].node):(i=O(t.view[a].line),s=t.view[a-1].node.nextSibling);var l,c,d=Cn(e,o.line);if(d==t.view.length-1?(l=t.viewTo-1,c=t.lineDiv.lastChild):(l=O(t.view[d+1].line)-1,c=t.view[d+1].node.previousSibling),!s)return!1;for(var u=e.doc.splitLines(ci(e,s,c,i,l)),p=k(e.doc,I(i,0),I(l,C(e.doc,l).text.length));u.length>1&&p.length>1;)if(h(u)==h(p))u.pop(),p.pop(),l--;else{if(u[0]!=p[0])break;u.shift(),p.shift(),i++}for(var f=0,m=0,g=u[0],_=p[0],b=Math.min(g.length,_.length);fr.ch&&v.charCodeAt(v.length-m-1)==y.charCodeAt(y.length-m-1);)f--,m++;u[u.length-1]=v.slice(0,v.length-m).replace(/^\u200b+/,""),u[0]=u[0].slice(f).replace(/\u200b+$/,"");var x=I(i,f),w=I(l,p.length?h(p).length-m:0);return u.length>1||u[0]||R(x,w)?(Fo(e.doc,u,x,w,"+input"),!0):void 0},tl.prototype.ensurePolled=function(){this.forceCompositionEnd()},tl.prototype.reset=function(){this.forceCompositionEnd()},tl.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},tl.prototype.readFromDOMSoon=function(){var e=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout(function(){if(e.readDOMTimeout=null,e.composing){if(!e.composing.done)return;e.composing=null}e.updateFromDOM()},80))},tl.prototype.updateFromDOM=function(){var e=this;!this.cm.isReadOnly()&&this.pollContent()||mr(this.cm,function(){return br(e.cm)})},tl.prototype.setUneditable=function(e){e.contentEditable="false"},tl.prototype.onKeyPress=function(e){0==e.charCode||this.composing||(e.preventDefault(),this.cm.isReadOnly()||hr(this.cm,Za)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0))},tl.prototype.readOnlyChanged=function(e){this.div.contentEditable=String("nocursor"!=e)},tl.prototype.onContextMenu=function(){},tl.prototype.resetPosition=function(){},tl.prototype.needsContentAttribute=!0;var nl=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new zi,this.hasSelection=!1,this.composing=null};nl.prototype.init=function(e){function t(e){if(!ke(o,e)){if(o.somethingSelected())Ja({lineWise:!1,text:o.getSelections()});else{if(!o.options.lineWiseCopyCut)return;var t=ti(o);Ja({lineWise:!0,text:t.text}),"cut"==e.type?o.setSelections(t.ranges,null,Wi):(r.prevInput="",a.value=t.text.join("\n"),Bi(a))}"cut"==e.type&&(o.state.cutIncoming=!0)}}var n=this,r=this,o=this.cm;this.createField(e);var a=this.textarea;e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),ki&&(a.style.width="0px"),ns(a,"input",function(){vi&&yi>=9&&n.hasSelection&&(n.hasSelection=null),r.poll()}),ns(a,"paste",function(e){ke(o,e)||$a(e,o)||(o.state.pasteIncoming=!0,r.fastPoll())}),ns(a,"cut",t),ns(a,"copy",t),ns(e.scroller,"paste",function(t){Rt(e,t)||ke(o,t)||(o.state.pasteIncoming=!0,r.focus())}),ns(e.lineSpace,"selectstart",function(t){Rt(e,t)||Le(t)}),ns(a,"compositionstart",function(){var e=o.getCursor("from");r.composing&&r.composing.range.clear(),r.composing={start:e,range:o.markText(e,o.getCursor("to"),{className:"CodeMirror-composing"})}}),ns(a,"compositionend",function(){r.composing&&(r.poll(),r.composing.range.clear(),r.composing=null)})},nl.prototype.createField=function(e){this.wrapper=ri(),this.textarea=this.wrapper.firstChild},nl.prototype.prepareSelection=function(){var e=this.cm,t=e.display,n=e.doc,r=Tn(e);if(e.options.moveInputWithCursor){var o=dn(e,n.sel.primary().head,"div"),a=t.wrapper.getBoundingClientRect(),i=t.lineDiv.getBoundingClientRect();r.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,o.top+i.top-a.top)),r.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,o.left+i.left-a.left))}return r},nl.prototype.showSelection=function(e){var t=this.cm,r=t.display;n(r.cursorDiv,e.cursors),n(r.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},nl.prototype.reset=function(e){if(!this.contextMenuPending&&!this.composing){var t=this.cm;if(t.somethingSelected()){this.prevInput="";var n=t.getSelection();this.textarea.value=n,t.state.focused&&Bi(this.textarea),vi&&yi>=9&&(this.hasSelection=n)}else e||(this.prevInput=this.textarea.value="",vi&&yi>=9&&(this.hasSelection=null))}},nl.prototype.getField=function(){return this.textarea},nl.prototype.supportsTouch=function(){return!1},nl.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!Mi||i()!=this.textarea))try{this.textarea.focus()}catch(e){}},nl.prototype.blur=function(){this.textarea.blur()},nl.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},nl.prototype.receivedFocus=function(){this.slowPoll()},nl.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){e.poll(),e.cm.state.focused&&e.slowPoll()})},nl.prototype.fastPoll=function(){function e(){n.poll()||t?(n.pollingFast=!1,n.slowPoll()):(t=!0,n.polling.set(60,e))}var t=!1,n=this;n.pollingFast=!0,n.polling.set(20,e)},nl.prototype.poll=function(){var e=this,t=this.cm,n=this.textarea,r=this.prevInput;if(this.contextMenuPending||!t.state.focused||as(n)&&!r&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var o=n.value;if(o==r&&!t.somethingSelected())return!1;if(vi&&yi>=9&&this.hasSelection===o||Oi&&/[\uf700-\uf7ff]/.test(o))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var a=o.charCodeAt(0);if(8203!=a||r||(r="​"),8666==a)return this.reset(),this.cm.execCommand("undo")}for(var i=0,s=Math.min(r.length,o.length);i1e3||o.indexOf("\n")>-1?n.value=e.prevInput="":e.prevInput=o,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},nl.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},nl.prototype.onKeyPress=function(){vi&&yi>=9&&(this.hasSelection=null),this.fastPoll()},nl.prototype.onContextMenu=function(e){function t(){if(null!=i.selectionStart){var e=o.somethingSelected(),t="​"+(e?i.value:"");i.value="⇚",i.value=t,r.prevInput=e?"":"​",i.selectionStart=1,i.selectionEnd=t.length,a.selForContextMenu=o.doc.sel}}function n(){if(r.contextMenuPending=!1,r.wrapper.style.cssText=d,i.style.cssText=c,vi&&yi<9&&a.scrollbars.setScrollTop(a.scroller.scrollTop=l),null!=i.selectionStart){(!vi||vi&&yi<9)&&t();var e=0,n=function(){a.selForContextMenu==o.doc.sel&&0==i.selectionStart&&i.selectionEnd>0&&"​"==r.prevInput?hr(o,Mo)(o):e++<10?a.detectingSelectAll=setTimeout(n,500):(a.selForContextMenu=null,a.input.reset())};a.detectingSelectAll=setTimeout(n,200)}}var r=this,o=r.cm,a=o.display,i=r.textarea,s=Sn(o,e),l=a.scroller.scrollTop;if(s&&!ji){o.options.resetSelectionOnContextMenu&&-1==o.doc.sel.contains(s)&&hr(o,xo)(o.doc,Ur(s),Wi);var c=i.style.cssText,d=r.wrapper.style.cssText;r.wrapper.style.cssText="position: absolute";var u=r.wrapper.getBoundingClientRect();i.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(e.clientY-u.top-5)+"px; left: "+(e.clientX-u.left-5)+"px;\n z-index: 1000; background: "+(vi?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);";var p;if(Ai&&(p=window.scrollY),a.input.focus(),Ai&&window.scrollTo(null,p),a.input.reset(),o.somethingSelected()||(i.value=r.prevInput=" "),r.contextMenuPending=!0,a.selForContextMenu=o.doc.sel,clearTimeout(a.detectingSelectAll),vi&&yi>=9&&t(),Ni){Ie(e);var f=function(){Se(window,"mouseup",f),setTimeout(n,20)};ns(window,"mouseup",f)}else setTimeout(n,50)}},nl.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled="nocursor"==e},nl.prototype.setUneditable=function(){},nl.prototype.needsContentAttribute=!1,function(e){function t(t,r,o,a){e.defaults[t]=r,o&&(n[t]=a?function(e,t,n){n!=Xs&&o(e,t,n)}:o)}var n=e.optionHandlers;e.defineOption=t,e.Init=Xs,t("value","",function(e,t){return e.setValue(t)},!0),t("mode",null,function(e,t){e.doc.modeOption=t,Qr(e)},!0),t("indentUnit",2,Qr,!0),t("indentWithTabs",!1),t("smartIndent",!0),t("tabSize",4,function(e){qr(e),nn(e),br(e)},!0),t("lineSeparator",null,function(e,t){if(e.doc.lineSep=t,t){var n=[],r=e.doc.first;e.doc.iter(function(e){for(var o=0;;){var a=e.text.indexOf(t,o);if(-1==a)break;o=a+t.length,n.push(I(r,a))}r++});for(var o=n.length-1;o>=0;o--)Fo(e.doc,t,n[o],I(n[o].line,n[o].ch+t.length))}}),t("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200f\u2028\u2029\ufeff]/g,function(e,t,n){e.state.specialChars=new RegExp(t.source+(t.test("\t")?"":"|\t"),"g"),n!=Xs&&e.refresh()}),t("specialCharPlaceholder",dt,function(e){return e.refresh()},!0),t("electricChars",!0),t("inputStyle",Mi?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),t("spellcheck",!1,function(e,t){return e.getInputField().spellcheck=t},!0),t("rtlMoveVisually",!Di),t("wholeLineUpdateBefore",!0),t("theme","default",function(e){Ya(e),Wa(e)},!0),t("keyMap","default",function(e,t,n){var r=pa(t),o=n!=Xs&&pa(n);o&&o.detach&&o.detach(e,r),r.attach&&r.attach(e,o||null)}),t("extraKeys",null),t("configureMouse",null),t("lineWrapping",!1,Qa,!0),t("gutters",[],function(e){Rr(e.options),Wa(e)},!0),t("fixedGutter",!0,function(e,t){e.display.gutters.style.left=t?wn(e.display)+"px":"0",e.refresh()},!0),t("coverGutterNextToScrollbar",!1,function(e){return rr(e)},!0),t("scrollbarStyle","native",function(e){ar(e),rr(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)},!0),t("lineNumbers",!1,function(e){Rr(e.options),Wa(e)},!0),t("firstLineNumber",1,Wa,!0),t("lineNumberFormatter",function(e){return e},Wa,!0),t("showCursorWhenSelecting",!1,kn,!0),t("resetSelectionOnContextMenu",!0),t("lineWiseCopyCut",!0),t("pasteLinesPerSelection",!0),t("selectionsMayTouch",!1),t("readOnly",!1,function(e,t){"nocursor"==t&&(Nn(e),e.display.input.blur()),e.display.input.readOnlyChanged(t)}),t("disableInput",!1,function(e,t){t||e.display.input.reset()},!0),t("dragDrop",!0,Ga),t("allowDropFileTypes",null),t("cursorBlinkRate",530),t("cursorScrollMargin",0),t("cursorHeight",1,kn,!0),t("singleCursorHeightPerLine",!0,kn,!0),t("workTime",100),t("workDelay",100),t("flattenSpans",!0,qr,!0),t("addModeClass",!1,qr,!0),t("pollInterval",100),t("undoDepth",200,function(e,t){return e.doc.history.undoDepth=t}),t("historyEventDelay",1250),t("viewportMargin",10,function(e){return e.refresh()},!0),t("maxHighlightLength",1e4,qr,!0),t("moveInputWithCursor",!0,function(e,t){t||e.display.input.resetPosition()}),t("tabindex",null,function(e,t){return e.display.input.getField().tabIndex=t||""}),t("autofocus",null),t("direction","ltr",function(e,t){return e.doc.setDirection(t)},!0),t("phrases",null)}(qa),function(e){var t=e.optionHandlers,n=e.helpers={};e.prototype={constructor:e,focus:function(){window.focus(),this.display.input.focus()},setOption:function(e,n){var r=this.options,o=r[e];r[e]==n&&"mode"!=e||(r[e]=n,t.hasOwnProperty(e)&&hr(this,t[e])(this,n,o),Ce(this,"optionChange",this,e))},getOption:function(e){return this.options[e]},getDoc:function(){return this.doc},addKeyMap:function(e,t){this.state.keyMaps[t?"push":"unshift"](pa(e))},removeKeyMap:function(e){for(var t=this.state.keyMaps,n=0;nr&&(Xa(t,a.head.line,e,!0),r=a.head.line,o==t.doc.sel.primIndex&&qn(t));else{var i=a.from(),s=a.to(),l=Math.max(r,i.line);r=Math.min(t.lastLine(),s.line-(s.ch?0:1))+1;for(var c=l;c0&&bo(t.doc,o,new Ms(i,d[o].to()),Wi)}}}),getTokenAt:function(e,t){return tt(this,e,t)},getLineTokens:function(e,t){return tt(this,I(e),t,!0)},getTokenTypeAt:function(e){e=H(this.doc,e);var t,n=Xe(this,C(this.doc,e.line)),r=0,o=(n.length-1)/2,a=e.ch;if(0==a)t=n[2];else for(;;){var i=r+o>>1;if((i?n[2*i-1]:0)>=a)o=i;else{if(!(n[2*i+1]a&&(e=a,o=!0),r=C(this.doc,e)}else r=e;return sn(this,r,{top:0,left:0},t||"page",n||o).top+(o?this.doc.height-ve(r):0)},defaultTextHeight:function(){return yn(this.display)},defaultCharWidth:function(){return An(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,n,r,o){var a=this.display;e=dn(this,H(this.doc,e));var i=e.bottom,s=e.left;if(t.style.position="absolute",t.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(t),a.sizer.appendChild(t),"over"==r)i=e.top;else if("above"==r||"near"==r){var l=Math.max(a.wrapper.clientHeight,this.doc.height),c=Math.max(a.sizer.clientWidth,a.lineSpace.clientWidth);("above"==r||e.bottom+t.offsetHeight>l)&&e.top>t.offsetHeight?i=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=l&&(i=e.bottom),s+t.offsetWidth>c&&(s=c-t.offsetWidth)}t.style.top=i+"px",t.style.left=t.style.right="","right"==o?(s=a.sizer.clientWidth-t.offsetWidth,t.style.right="0px"):("left"==o?s=0:"middle"==o&&(s=(a.sizer.clientWidth-t.offsetWidth)/2),t.style.left=s+"px"),n&&Wn(this,{left:s,top:i,right:s+t.offsetWidth,bottom:i+t.offsetHeight})},triggerOnKeyDown:gr(Ca),triggerOnKeyPress:gr(Ma),triggerOnKeyUp:Ta,triggerOnMouseDown:gr(La),execCommand:function(e){if(Ys.hasOwnProperty(e))return Ys[e].call(null,this)},triggerElectric:gr(function(e){ei(this,e)}),findPosH:function(e,t,n,r){var o=this,a=1;t<0&&(a=-1,t=-t);for(var i=H(this.doc,e),s=0;s0&&s(n.charAt(r-1));)--r;for(;o.5)&&En(this),Ce(this,"refresh",this)}),swapDoc:gr(function(e){var t=this.doc;return t.cm=null,Zr(this,e),nn(this),this.display.input.reset(),Kn(this,e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,At(this,"swapDoc",this,t),t}),phrase:function(e){var t=this.options.phrases;return t&&Object.prototype.hasOwnProperty.call(t,e)?t[e]:e},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},Oe(e),e.registerHelper=function(t,r,o){n.hasOwnProperty(t)||(n[t]=e[t]={_global:[]}),n[t][r]=o},e.registerGlobalHelper=function(t,r,o,a){e.registerHelper(t,r,a),n[t]._global.push({pred:o,val:a})}}(qa);var rl="iter insert remove copy getEditor constructor".split(" ");for(var ol in Rs.prototype)Rs.prototype.hasOwnProperty(ol)&&p(rl,ol)<0&&(qa.prototype[ol]=function(e){return function(){return e.apply(this.doc,arguments)}}(Rs.prototype[ol]));return Oe(Rs),qa.inputStyles={textarea:nl,contenteditable:tl},qa.defineMode=function(e){qa.defaults.mode||"null"==e||(qa.defaults.mode=e),Ue.apply(this,arguments)},qa.defineMIME=He,qa.defineMode("null",function(){return{token:function(e){return e.skipToEnd()}}}),qa.defineMIME("text/plain","null"),qa.defineExtension=function(e,t){qa.prototype[e]=t},qa.defineDocExtension=function(e,t){Rs.prototype[e]=t},qa.fromTextArea=pi,function(e){e.off=Se,e.on=ns,e.wheelEventPixels=Fr,e.Doc=Rs,e.splitLines=os,e.countColumn=u,e.findColumn=f,e.isWordChar=y,e.Pass=Yi,e.signal=Ce,e.Line=hs,e.changeEnd=Hr,e.scrollbarModel=js,e.Pos=I,e.cmpPos=R,e.modes=ls,e.mimeModes=cs,e.resolveMode=Ve,e.getMode=Ye,e.modeExtensions=ds,e.extendMode=We,e.copyState=Ge,e.startState=qe,e.innerMode=Qe,e.commands=Ys,e.keyMap=Vs,e.keyName=ua,e.isModifierKey=ca,e.lookupKey=la,e.normalizeKeyMap=sa,e.StringStream=us,e.SharedTextMarker=Ps,e.TextMarker=Ds,e.LineWidget=Os,e.e_preventDefault=Le,e.e_stopPropagation=De,e.e_stop=Ie,e.addClass=s,e.contains=a,e.rmClass=Fi,e.keyNames=Bs}(qa),qa.version="5.42.0",qa})},"./node_modules/_codemirror@5.42.0@codemirror/mode/sql/sql.js":function(e,t,n){!function(e){e(n("./node_modules/_codemirror@5.42.0@codemirror/lib/codemirror.js"))}(function(e){"use strict";e.defineMode("sql",function(t,n){function r(e,t){var n=e.next();if(m[n]){var r=m[n](e,t);if(!1!==r)return r}if(f.hexNumber&&("0"==n&&e.match(/^[xX][0-9a-fA-F]+/)||("x"==n||"X"==n)&&e.match(/^'[0-9a-fA-F]+'/)))return"number";if(f.binaryNumber&&(("b"==n||"B"==n)&&e.match(/^'[01]+'/)||"0"==n&&e.match(/^b[01]+/)))return"number";if(n.charCodeAt(0)>47&&n.charCodeAt(0)<58)return e.match(/^[0-9]*(\.[0-9]+)?([eE][-+]?[0-9]+)?/),f.decimallessFloat&&e.match(/^\.(?!\.)/),"number";if("?"==n&&(e.eatSpace()||e.eol()||e.eat(";")))return"variable-3";if("'"==n||'"'==n&&f.doubleQuote)return t.tokenize=o(n),t.tokenize(e,t);if((f.nCharCast&&("n"==n||"N"==n)||f.charsetCast&&"_"==n&&e.match(/[a-z][a-z0-9]*/i))&&("'"==e.peek()||'"'==e.peek()))return"keyword";if(f.commentSlashSlash&&"/"==n&&e.eat("/"))return e.skipToEnd(),"comment";if(f.commentHash&&"#"==n||"-"==n&&e.eat("-")&&(!f.commentSpaceRequired||e.eat(" ")))return e.skipToEnd(),"comment";if("/"==n&&e.eat("*"))return t.tokenize=a(1),t.tokenize(e,t);if("."!=n){if(p.test(n))return e.eatWhile(p),"operator";if(_.test(n))return"bracket";if(b.test(n))return e.eatWhile(b),"punctuation";if("{"==n&&(e.match(/^( )*(d|D|t|T|ts|TS)( )*'[^']*'( )*}/)||e.match(/^( )*(d|D|t|T|ts|TS)( )*"[^"]*"( )*}/)))return"number";e.eatWhile(/^[_\w\d]/);var i=e.current().toLowerCase();return h.hasOwnProperty(i)&&(e.match(/^( )+'[^']*'/)||e.match(/^( )+"[^"]*"/))?"number":c.hasOwnProperty(i)?"atom":d.hasOwnProperty(i)?"builtin":u.hasOwnProperty(i)?"keyword":l.hasOwnProperty(i)?"string-2":null}return f.zerolessFloat&&e.match(/^(?:\d+(?:e[+-]?\d+)?)/i)?"number":e.match(/^\.+/)?null:f.ODBCdotTable&&e.match(/^[\w\d_]+/)?"variable-2":void 0}function o(e){return function(t,n){for(var o,a=!1;null!=(o=t.next());){if(o==e&&!a){n.tokenize=r;break}a=g&&!a&&"\\"==o}return"string"}}function a(e){return function(t,n){var o=t.match(/^.*?(\/\*|\*\/)/);return o?"/*"==o[1]?n.tokenize=a(e+1):n.tokenize=e>1?a(e-1):r:t.skipToEnd(),"comment"}}function i(e,t,n){t.context={prev:t.context,indent:e.indentation(),col:e.column(),type:n}}function s(e){e.indent=e.context.indent,e.context=e.context.prev}var l=n.client||{},c=n.atoms||{false:!0,true:!0,null:!0},d=n.builtin||{},u=n.keywords||{},p=n.operatorChars||/^[*+\-%<>!=&|~^]/,f=n.support||{},m=n.hooks||{},h=n.dateSQL||{date:!0,time:!0,timestamp:!0},g=!1!==n.backslashStringEscapes,_=n.brackets||/^[\{}\(\)\[\]]/,b=n.punctuation||/^[;.,:]/;return{startState:function(){return{tokenize:r,context:null}},token:function(e,t){if(e.sol()&&t.context&&null==t.context.align&&(t.context.align=!1),t.tokenize==r&&e.eatSpace())return null;var n=t.tokenize(e,t);if("comment"==n)return n;t.context&&null==t.context.align&&(t.context.align=!0);var o=e.current();return"("==o?i(e,t,")"):"["==o?i(e,t,"]"):t.context&&t.context.type==o&&s(t),n},indent:function(n,r){var o=n.context;if(!o)return e.Pass;var a=r.charAt(0)==o.type;return o.align?o.col+(a?0:1):o.indent+(a?0:t.indentUnit)},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:f.commentSlashSlash?"//":f.commentHash?"#":"--",closeBrackets:"()[]{}''\"\"``"}}),function(){function t(e){for(var t;null!=(t=e.next());)if("`"==t&&!e.eat("`"))return"variable-2";return e.backUp(e.current().length-1),e.eatWhile(/\w/)?"variable-2":null}function n(e){for(var t;null!=(t=e.next());)if('"'==t&&!e.eat('"'))return"variable-2";return e.backUp(e.current().length-1),e.eatWhile(/\w/)?"variable-2":null}function r(e){return e.eat("@")&&(e.match(/^session\./),e.match(/^local\./),e.match(/^global\./)),e.eat("'")?(e.match(/^.*'/),"variable-2"):e.eat('"')?(e.match(/^.*"/),"variable-2"):e.eat("`")?(e.match(/^.*`/),"variable-2"):e.match(/^[0-9a-zA-Z$\.\_]+/)?"variable-2":null}function o(e){return e.eat("N")?"atom":e.match(/^[a-zA-Z.#!?]/)?"variable-2":null}function a(e){for(var t={},n=e.split(" "),r=0;r!=]/,dateSQL:a("date time timestamp"),support:a("ODBCdotTable doubleQuote binaryNumber hexNumber")}),e.defineMIME("text/x-mssql",{name:"sql",client:a("$partition binary_checksum checksum connectionproperty context_info current_request_id error_line error_message error_number error_procedure error_severity error_state formatmessage get_filestream_transaction_context getansinull host_id host_name isnull isnumeric min_active_rowversion newid newsequentialid rowcount_big xact_state object_id"),keywords:a(i+"begin trigger proc view index for add constraint key primary foreign collate clustered nonclustered declare exec go if use index holdlock nolock nowait paglock readcommitted readcommittedlock readpast readuncommitted repeatableread rowlock serializable snapshot tablock tablockx updlock with"),builtin:a("bigint numeric bit smallint decimal smallmoney int tinyint money float real char varchar text nchar nvarchar ntext binary varbinary image cursor timestamp hierarchyid uniqueidentifier sql_variant xml table "),atoms:a("is not null like and or in left right between inner outer join all any some cross unpivot pivot exists"),operatorChars:/^[*+\-%<>!=^\&|\/]/,brackets:/^[\{}\(\)]/,punctuation:/^[;.,:\/]/,backslashStringEscapes:!1,dateSQL:a("date datetimeoffset datetime2 smalldatetime datetime time"),hooks:{"@":r}}),e.defineMIME("text/x-mysql",{name:"sql",client:a("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),keywords:a(i+"accessible action add after algorithm all analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance diagnostics directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general get global grant grants group group_concat handler hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show signal slave slow smallint snapshot soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views warnings when while with work write xa xor year_month zerofill begin do then else loop repeat"),builtin:a("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision date datetime year unsigned signed numeric"),atoms:a("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^]/,dateSQL:a("date time timestamp"),support:a("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired"),hooks:{"@":r,"`":t,"\\":o}}),e.defineMIME("text/x-mariadb",{name:"sql",client:a("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),keywords:a(i+"accessible action add after algorithm all always analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance diagnostics directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general generated get global grant grants group groupby_concat handler hard hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password persistent phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show shutdown signal slave slow smallint snapshot soft soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views virtual warnings when while with work write xa xor year_month zerofill begin do then else loop repeat"),builtin:a("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision date datetime year unsigned signed numeric"),atoms:a("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^]/,dateSQL:a("date time timestamp"),support:a("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired"),hooks:{"@":r,"`":t,"\\":o}}),e.defineMIME("text/x-sqlite",{name:"sql",client:a("auth backup bail binary changes check clone databases dbinfo dump echo eqp exit explain fullschema headers help import imposter indexes iotrace limit lint load log mode nullvalue once open output print prompt quit read restore save scanstats schema separator session shell show stats system tables testcase timeout timer trace vfsinfo vfslist vfsname width"),keywords:a(i+"abort action add after all analyze attach autoincrement before begin cascade case cast check collate column commit conflict constraint cross current_date current_time current_timestamp database default deferrable deferred detach each else end escape except exclusive exists explain fail for foreign full glob if ignore immediate index indexed initially inner instead intersect isnull key left limit match natural no notnull null of offset outer plan pragma primary query raise recursive references regexp reindex release rename replace restrict right rollback row savepoint temp temporary then to transaction trigger unique using vacuum view virtual when with without"),builtin:a("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text clob bigint int int2 int8 integer float double char varchar date datetime year unsigned signed numeric real"),atoms:a("null current_date current_time current_timestamp"),operatorChars:/^[*+\-%<>!=&|\/~]/,dateSQL:a("date time timestamp datetime"),support:a("decimallessFloat zerolessFloat"),identifierQuote:'"',hooks:{"@":r,":":r,"?":r,$:r,'"':n,"`":t}}),e.defineMIME("text/x-cassandra",{name:"sql",client:{},keywords:a("add all allow alter and any apply as asc authorize batch begin by clustering columnfamily compact consistency count create custom delete desc distinct drop each_quorum exists filtering from grant if in index insert into key keyspace keyspaces level limit local_one local_quorum modify nan norecursive nosuperuser not of on one order password permission permissions primary quorum rename revoke schema select set storage superuser table three to token truncate ttl two type unlogged update use user users using values where with writetime"),builtin:a("ascii bigint blob boolean counter decimal double float frozen inet int list map static text timestamp timeuuid tuple uuid varchar varint"),atoms:a("false true infinity NaN"),operatorChars:/^[<>=]/,dateSQL:{},support:a("commentSlashSlash decimallessFloat"),hooks:{}}),e.defineMIME("text/x-plsql",{name:"sql",client:a("appinfo arraysize autocommit autoprint autorecovery autotrace blockterminator break btitle cmdsep colsep compatibility compute concat copycommit copytypecheck define describe echo editfile embedded escape exec execute feedback flagger flush heading headsep instance linesize lno loboffset logsource long longchunksize markup native newpage numformat numwidth pagesize pause pno recsep recsepchar release repfooter repheader serveroutput shiftinout show showmode size spool sqlblanklines sqlcase sqlcode sqlcontinue sqlnumber sqlpluscompatibility sqlprefix sqlprompt sqlterminator suffix tab term termout time timing trimout trimspool ttitle underline verify version wrap"),keywords:a("abort accept access add all alter and any array arraylen as asc assert assign at attributes audit authorization avg base_table begin between binary_integer body boolean by case cast char char_base check close cluster clusters colauth column comment commit compress connect connected constant constraint crash create current currval cursor data_base database date dba deallocate debugoff debugon decimal declare default definition delay delete desc digits dispose distinct do drop else elseif elsif enable end entry escape exception exception_init exchange exclusive exists exit external fast fetch file for force form from function generic goto grant group having identified if immediate in increment index indexes indicator initial initrans insert interface intersect into is key level library like limited local lock log logging long loop master maxextents maxtrans member minextents minus mislabel mode modify multiset new next no noaudit nocompress nologging noparallel not nowait number_base object of off offline on online only open option or order out package parallel partition pctfree pctincrease pctused pls_integer positive positiven pragma primary prior private privileges procedure public raise range raw read rebuild record ref references refresh release rename replace resource restrict return returning returns reverse revoke rollback row rowid rowlabel rownum rows run savepoint schema segment select separate session set share snapshot some space split sql start statement storage subtype successful synonym tabauth table tables tablespace task terminate then to trigger truncate type union unique unlimited unrecoverable unusable update use using validate value values variable view views when whenever where while with work"),builtin:a("abs acos add_months ascii asin atan atan2 average bfile bfilename bigserial bit blob ceil character chartorowid chr clob concat convert cos cosh count dec decode deref dual dump dup_val_on_index empty error exp false float floor found glb greatest hextoraw initcap instr instrb int integer isopen last_day least length lengthb ln lower lpad ltrim lub make_ref max min mlslabel mod months_between natural naturaln nchar nclob new_time next_day nextval nls_charset_decl_len nls_charset_id nls_charset_name nls_initcap nls_lower nls_sort nls_upper nlssort no_data_found notfound null number numeric nvarchar2 nvl others power rawtohex real reftohex round rowcount rowidtochar rowtype rpad rtrim serial sign signtype sin sinh smallint soundex sqlcode sqlerrm sqrt stddev string substr substrb sum sysdate tan tanh to_char text to_date to_label to_multi_byte to_number to_single_byte translate true trunc uid unlogged upper user userenv varchar varchar2 variance varying vsize xml"),operatorChars:/^[*+\-%<>!=~]/,dateSQL:a("date time timestamp"),support:a("doubleQuote nCharCast zerolessFloat binaryNumber hexNumber")}),e.defineMIME("text/x-hive",{name:"sql",keywords:a("select alter $elem$ $key$ $value$ add after all analyze and archive as asc before between binary both bucket buckets by cascade case cast change cluster clustered clusterstatus collection column columns comment compute concatenate continue create cross cursor data database databases dbproperties deferred delete delimited desc describe directory disable distinct distribute drop else enable end escaped exclusive exists explain export extended external fetch fields fileformat first format formatted from full function functions grant group having hold_ddltime idxproperties if import in index indexes inpath inputdriver inputformat insert intersect into is items join keys lateral left like limit lines load local location lock locks mapjoin materialized minus msck no_drop nocompress not of offline on option or order out outer outputdriver outputformat overwrite partition partitioned partitions percent plus preserve procedure purge range rcfile read readonly reads rebuild recordreader recordwriter recover reduce regexp rename repair replace restrict revoke right rlike row schema schemas semi sequencefile serde serdeproperties set shared show show_database sort sorted ssl statistics stored streamtable table tables tablesample tblproperties temporary terminated textfile then tmp to touch transform trigger unarchive undo union uniquejoin unlock update use using utc utc_tmestamp view when where while with admin authorization char compact compactions conf cube current current_date current_timestamp day decimal defined dependency directories elem_type exchange file following for grouping hour ignore inner interval jar less logical macro minute month more none noscan over owner partialscan preceding pretty principals protection reload rewrite role roles rollup rows second server sets skewed transactions truncate unbounded unset uri user values window year"),builtin:a("bool boolean long timestamp tinyint smallint bigint int float double date datetime unsigned string array struct map uniontype key_type utctimestamp value_type varchar"),atoms:a("false true null unknown"),operatorChars:/^[*+\-%<>!=]/,dateSQL:a("date timestamp"),support:a("ODBCdotTable doubleQuote binaryNumber hexNumber")}),e.defineMIME("text/x-pgsql",{name:"sql",client:a("source"),keywords:a(i+"a abort abs absent absolute access according action ada add admin after aggregate all allocate also always analyse analyze any are array array_agg array_max_cardinality asensitive assertion assignment asymmetric at atomic attribute attributes authorization avg backward base64 before begin begin_frame begin_partition bernoulli binary bit_length blob blocked bom both breadth c cache call called cardinality cascade cascaded case cast catalog catalog_name ceil ceiling chain characteristics characters character_length character_set_catalog character_set_name character_set_schema char_length check checkpoint class class_origin clob close cluster coalesce cobol collate collation collation_catalog collation_name collation_schema collect column columns column_name command_function command_function_code comment comments commit committed concurrently condition condition_number configuration conflict connect connection connection_name constraint constraints constraint_catalog constraint_name constraint_schema constructor contains content continue control conversion convert copy corr corresponding cost covar_pop covar_samp cross csv cube cume_dist current current_catalog current_date current_default_transform_group current_path current_role current_row current_schema current_time current_timestamp current_transform_group_for_type current_user cursor cursor_name cycle data database datalink datetime_interval_code datetime_interval_precision day db deallocate dec declare default defaults deferrable deferred defined definer degree delimiter delimiters dense_rank depth deref derived describe descriptor deterministic diagnostics dictionary disable discard disconnect dispatch dlnewcopy dlpreviouscopy dlurlcomplete dlurlcompleteonly dlurlcompletewrite dlurlpath dlurlpathonly dlurlpathwrite dlurlscheme dlurlserver dlvalue do document domain dynamic dynamic_function dynamic_function_code each element else empty enable encoding encrypted end end-exec end_frame end_partition enforced enum equals escape event every except exception exclude excluding exclusive exec execute exists exp explain expression extension external extract false family fetch file filter final first first_value flag float floor following for force foreign fortran forward found frame_row free freeze fs full function functions fusion g general generated get global go goto grant granted greatest grouping groups handler header hex hierarchy hold hour id identity if ignore ilike immediate immediately immutable implementation implicit import including increment indent index indexes indicator inherit inherits initially inline inner inout input insensitive instance instantiable instead integrity intersect intersection invoker isnull isolation k key key_member key_type label lag language large last last_value lateral lc_collate lc_ctype lead leading leakproof least left length level library like_regex link listen ln load local localtime localtimestamp location locator lock locked logged lower m map mapping match matched materialized max maxvalue max_cardinality member merge message_length message_octet_length message_text method min minute minvalue mod mode modifies module month more move multiset mumps name names namespace national natural nchar nclob nesting new next nfc nfd nfkc nfkd nil no none normalize normalized nothing notify notnull nowait nth_value ntile null nullable nullif nulls number object occurrences_regex octets octet_length of off offset oids old only open operator option options ordering ordinality others out outer output over overlaps overlay overriding owned owner p pad parallel parameter parameter_mode parameter_name parameter_ordinal_position parameter_specific_catalog parameter_specific_name parameter_specific_schema parser partial partition pascal passing passthrough password percent percentile_cont percentile_disc percent_rank period permission placing plans pli policy portion position position_regex power precedes preceding prepare prepared preserve primary prior privileges procedural procedure program public quote range rank read reads reassign recheck recovery recursive ref references referencing refresh regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy regr_syy reindex relative release rename repeatable replace replica requiring reset respect restart restore restrict restricted result return returned_cardinality returned_length returned_octet_length returned_sqlstate returning returns revoke right role rollback rollup routine routine_catalog routine_name routine_schema row rows row_count row_number rule savepoint scale schema schema_name scope scope_catalog scope_name scope_schema scroll search second section security selective self sensitive sequence sequences serializable server server_name session session_user setof sets share show similar simple size skip snapshot some source space specific specifictype specific_name sql sqlcode sqlerror sqlexception sqlstate sqlwarning sqrt stable standalone start state statement static statistics stddev_pop stddev_samp stdin stdout storage strict strip structure style subclass_origin submultiset substring substring_regex succeeds sum symmetric sysid system system_time system_user t tables tablesample tablespace table_name temp template temporary then ties timezone_hour timezone_minute to token top_level_count trailing transaction transactions_committed transactions_rolled_back transaction_active transform transforms translate translate_regex translation treat trigger trigger_catalog trigger_name trigger_schema trim trim_array true truncate trusted type types uescape unbounded uncommitted under unencrypted unique unknown unlink unlisten unlogged unnamed unnest until untyped upper uri usage user user_defined_type_catalog user_defined_type_code user_defined_type_name user_defined_type_schema using vacuum valid validate validator value value_of varbinary variadic var_pop var_samp verbose version versioning view views volatile when whenever whitespace width_bucket window within work wrapper write xmlagg xmlattributes xmlbinary xmlcast xmlcomment xmlconcat xmldeclaration xmldocument xmlelement xmlexists xmlforest xmliterate xmlnamespaces xmlparse xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltext xmlvalidate year yes loop repeat attach path depends detach zone"),builtin:a("bigint int8 bigserial serial8 bit varying varbit boolean bool box bytea character char varchar cidr circle date double precision float8 inet integer int int4 interval json jsonb line lseg macaddr macaddr8 money numeric decimal path pg_lsn point polygon real float4 smallint int2 smallserial serial2 serial serial4 text time without zone with timetz timestamp timestamptz tsquery tsvector txid_snapshot uuid xml"),atoms:a("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:a("date time timestamp"),support:a("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast")}),e.defineMIME("text/x-gql",{name:"sql",keywords:a("ancestor and asc by contains desc descendant distinct from group has in is limit offset on order select superset where"),atoms:a("false true"),builtin:a("blob datetime first key __key__ string integer double boolean null"),operatorChars:/^[*+\-%<>!=]/}),e.defineMIME("text/x-gpsql",{name:"sql",client:a("source"),keywords:a("abort absolute access action active add admin after aggregate all also alter always analyse analyze and any array as asc assertion assignment asymmetric at authorization backward before begin between bigint binary bit boolean both by cache called cascade cascaded case cast chain char character characteristics check checkpoint class close cluster coalesce codegen collate column comment commit committed concurrency concurrently configuration connection constraint constraints contains content continue conversion copy cost cpu_rate_limit create createdb createexttable createrole createuser cross csv cube current current_catalog current_date current_role current_schema current_time current_timestamp current_user cursor cycle data database day deallocate dec decimal declare decode default defaults deferrable deferred definer delete delimiter delimiters deny desc dictionary disable discard distinct distributed do document domain double drop dxl each else enable encoding encrypted end enum errors escape every except exchange exclude excluding exclusive execute exists explain extension external extract false family fetch fields filespace fill filter first float following for force foreign format forward freeze from full function global grant granted greatest group group_id grouping handler hash having header hold host hour identity if ignore ilike immediate immutable implicit in including inclusive increment index indexes inherit inherits initially inline inner inout input insensitive insert instead int integer intersect interval into invoker is isnull isolation join key language large last leading least left level like limit list listen load local localtime localtimestamp location lock log login mapping master match maxvalue median merge minute minvalue missing mode modifies modify month move name names national natural nchar new newline next no nocreatedb nocreateexttable nocreaterole nocreateuser noinherit nologin none noovercommit nosuperuser not nothing notify notnull nowait null nullif nulls numeric object of off offset oids old on only operator option options or order ordered others out outer over overcommit overlaps overlay owned owner parser partial partition partitions passing password percent percentile_cont percentile_disc placing plans position preceding precision prepare prepared preserve primary prior privileges procedural procedure protocol queue quote randomly range read readable reads real reassign recheck recursive ref references reindex reject relative release rename repeatable replace replica reset resource restart restrict returning returns revoke right role rollback rollup rootpartition row rows rule savepoint scatter schema scroll search second security segment select sequence serializable session session_user set setof sets share show similar simple smallint some split sql stable standalone start statement statistics stdin stdout storage strict strip subpartition subpartitions substring superuser symmetric sysid system table tablespace temp template temporary text then threshold ties time timestamp to trailing transaction treat trigger trim true truncate trusted type unbounded uncommitted unencrypted union unique unknown unlisten until update user using vacuum valid validation validator value values varchar variadic varying verbose version view volatile web when where whitespace window with within without work writable write xml xmlattributes xmlconcat xmlelement xmlexists xmlforest xmlparse xmlpi xmlroot xmlserialize year yes zone"),builtin:a("bigint int8 bigserial serial8 bit varying varbit boolean bool box bytea character char varchar cidr circle date double precision float float8 inet integer int int4 interval json jsonb line lseg macaddr macaddr8 money numeric decimal path pg_lsn point polygon real float4 smallint int2 smallserial serial2 serial serial4 text time without zone with timetz timestamp timestamptz tsquery tsvector txid_snapshot uuid xml"),atoms:a("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:a("date time timestamp"),support:a("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast")}),e.defineMIME("text/x-sparksql",{name:"sql",keywords:a("add after all alter analyze and anti archive array as asc at between bucket buckets by cache cascade case cast change clear cluster clustered codegen collection column columns comment commit compact compactions compute concatenate cost create cross cube current current_date current_timestamp database databases datata dbproperties defined delete delimited deny desc describe dfs directories distinct distribute drop else end escaped except exchange exists explain export extended external false fields fileformat first following for format formatted from full function functions global grant group grouping having if ignore import in index indexes inner inpath inputformat insert intersect interval into is items join keys last lateral lazy left like limit lines list load local location lock locks logical macro map minus msck natural no not null nulls of on optimize option options or order out outer outputformat over overwrite partition partitioned partitions percent preceding principals purge range recordreader recordwriter recover reduce refresh regexp rename repair replace reset restrict revoke right rlike role roles rollback rollup row rows schema schemas select semi separated serde serdeproperties set sets show skewed sort sorted start statistics stored stratify struct table tables tablesample tblproperties temp temporary terminated then to touch transaction transactions transform true truncate unarchive unbounded uncache union unlock unset use using values view when where window with"),builtin:a("tinyint smallint int bigint boolean float double string binary timestamp decimal array map struct uniontype delimited serde sequencefile textfile rcfile inputformat outputformat"),atoms:a("false true null"),operatorChars:/^[*+\-%<>!=~&|^]/,dateSQL:a("date time timestamp"),support:a("ODBCdotTable doubleQuote zerolessFloat")}),e.defineMIME("text/x-esper",{name:"sql",client:a("source"),keywords:a("alter and as asc between by count create delete desc distinct drop from group having in insert into is join like not on or order select set table union update values where limit after all and as at asc avedev avg between by case cast coalesce count create current_timestamp day days delete define desc distinct else end escape events every exists false first from full group having hour hours in inner insert instanceof into irstream is istream join last lastweekday left limit like max match_recognize matches median measures metadatasql min minute minutes msec millisecond milliseconds not null offset on or order outer output partition pattern prev prior regexp retain-union retain-intersection right rstream sec second seconds select set some snapshot sql stddev sum then true unidirectional until update variable weekday when where window"),builtin:{},atoms:a("false true null"),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:a("time"),support:a("decimallessFloat zerolessFloat binaryNumber hexNumber")})}()})},"./node_modules/_component-classes@1.2.6@component-classes/index.js":function(e,t,n){function r(e){if(!e||!e.nodeType)throw new Error("A DOM element reference is required");this.el=e,this.list=e.classList}try{var o=n("./node_modules/_component-indexof@0.0.3@component-indexof/index.js")}catch(e){var o=n("./node_modules/_component-indexof@0.0.3@component-indexof/index.js")}var a=/\s+/,i=Object.prototype.toString;e.exports=function(e){return new r(e)},r.prototype.add=function(e){if(this.list)return this.list.add(e),this;var t=this.array();return~o(t,e)||t.push(e),this.el.className=t.join(" "),this},r.prototype.remove=function(e){if("[object RegExp]"==i.call(e))return this.removeMatching(e);if(this.list)return this.list.remove(e),this;var t=this.array(),n=o(t,e);return~n&&t.splice(n,1),this.el.className=t.join(" "),this},r.prototype.removeMatching=function(e){for(var t=this.array(),n=0;nd;)if((s=l[d++])!=s)return!0}else for(;c>d;d++)if((e||d in l)&&l[d]===n)return e||d||0;return!e&&-1}}},"./node_modules/_core-js@2.5.7@core-js/library/modules/_classof.js":function(e,t,n){var r=n("./node_modules/_core-js@2.5.7@core-js/library/modules/_cof.js"),o=n("./node_modules/_core-js@2.5.7@core-js/library/modules/_wks.js")("toStringTag"),a="Arguments"==r(function(){return arguments}()),i=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=i(t=Object(e),o))?n:a?r(t):"Object"==(s=r(t))&&"function"==typeof t.callee?"Arguments":s}},"./node_modules/_core-js@2.5.7@core-js/library/modules/_cof.js":function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},"./node_modules/_core-js@2.5.7@core-js/library/modules/_core.js":function(e,t){var n=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},"./node_modules/_core-js@2.5.7@core-js/library/modules/_create-property.js":function(e,t,n){"use strict";var r=n("./node_modules/_core-js@2.5.7@core-js/library/modules/_object-dp.js"),o=n("./node_modules/_core-js@2.5.7@core-js/library/modules/_property-desc.js");e.exports=function(e,t,n){t in e?r.f(e,t,o(0,n)):e[t]=n}},"./node_modules/_core-js@2.5.7@core-js/library/modules/_ctx.js":function(e,t,n){var r=n("./node_modules/_core-js@2.5.7@core-js/library/modules/_a-function.js");e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},"./node_modules/_core-js@2.5.7@core-js/library/modules/_defined.js":function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},"./node_modules/_core-js@2.5.7@core-js/library/modules/_descriptors.js":function(e,t,n){e.exports=!n("./node_modules/_core-js@2.5.7@core-js/library/modules/_fails.js")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},"./node_modules/_core-js@2.5.7@core-js/library/modules/_dom-create.js":function(e,t,n){var r=n("./node_modules/_core-js@2.5.7@core-js/library/modules/_is-object.js"),o=n("./node_modules/_core-js@2.5.7@core-js/library/modules/_global.js").document,a=r(o)&&r(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},"./node_modules/_core-js@2.5.7@core-js/library/modules/_enum-bug-keys.js":function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},"./node_modules/_core-js@2.5.7@core-js/library/modules/_enum-keys.js":function(e,t,n){var r=n("./node_modules/_core-js@2.5.7@core-js/library/modules/_object-keys.js"),o=n("./node_modules/_core-js@2.5.7@core-js/library/modules/_object-gops.js"),a=n("./node_modules/_core-js@2.5.7@core-js/library/modules/_object-pie.js");e.exports=function(e){var t=r(e),n=o.f;if(n)for(var i,s=n(e),l=a.f,c=0;s.length>c;)l.call(e,i=s[c++])&&t.push(i);return t}},"./node_modules/_core-js@2.5.7@core-js/library/modules/_export.js":function(e,t,n){var r=n("./node_modules/_core-js@2.5.7@core-js/library/modules/_global.js"),o=n("./node_modules/_core-js@2.5.7@core-js/library/modules/_core.js"),a=n("./node_modules/_core-js@2.5.7@core-js/library/modules/_ctx.js"),i=n("./node_modules/_core-js@2.5.7@core-js/library/modules/_hide.js"),s=n("./node_modules/_core-js@2.5.7@core-js/library/modules/_has.js"),l=function(e,t,n){var c,d,u,p=e&l.F,f=e&l.G,m=e&l.S,h=e&l.P,g=e&l.B,_=e&l.W,b=f?o:o[t]||(o[t]={}),v=b.prototype,y=f?r:m?r[t]:(r[t]||{}).prototype;f&&(n=t);for(c in n)(d=!p&&y&&void 0!==y[c])&&s(b,c)||(u=d?y[c]:n[c],b[c]=f&&"function"!=typeof y[c]?n[c]:g&&d?a(u,r):_&&y[c]==u?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(u):h&&"function"==typeof u?a(Function.call,u):u,h&&((b.virtual||(b.virtual={}))[c]=u,e&l.R&&v&&!v[c]&&i(v,c,u)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},"./node_modules/_core-js@2.5.7@core-js/library/modules/_fails.js":function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},"./node_modules/_core-js@2.5.7@core-js/library/modules/_global.js":function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"./node_modules/_core-js@2.5.7@core-js/library/modules/_has.js":function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},"./node_modules/_core-js@2.5.7@core-js/library/modules/_hide.js":function(e,t,n){var r=n("./node_modules/_core-js@2.5.7@core-js/library/modules/_object-dp.js"),o=n("./node_modules/_core-js@2.5.7@core-js/library/modules/_property-desc.js");e.exports=n("./node_modules/_core-js@2.5.7@core-js/library/modules/_descriptors.js")?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},"./node_modules/_core-js@2.5.7@core-js/library/modules/_html.js":function(e,t,n){var r=n("./node_modules/_core-js@2.5.7@core-js/library/modules/_global.js").document;e.exports=r&&r.documentElement},"./node_modules/_core-js@2.5.7@core-js/library/modules/_ie8-dom-define.js":function(e,t,n){e.exports=!n("./node_modules/_core-js@2.5.7@core-js/library/modules/_descriptors.js")&&!n("./node_modules/_core-js@2.5.7@core-js/library/modules/_fails.js")(function(){return 7!=Object.defineProperty(n("./node_modules/_core-js@2.5.7@core-js/library/modules/_dom-create.js")("div"),"a",{get:function(){return 7}}).a})},"./node_modules/_core-js@2.5.7@core-js/library/modules/_iobject.js":function(e,t,n){var r=n("./node_modules/_core-js@2.5.7@core-js/library/modules/_cof.js");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},"./node_modules/_core-js@2.5.7@core-js/library/modules/_is-array-iter.js":function(e,t,n){var r=n("./node_modules/_core-js@2.5.7@core-js/library/modules/_iterators.js"),o=n("./node_modules/_core-js@2.5.7@core-js/library/modules/_wks.js")("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||a[o]===e)}},"./node_modules/_core-js@2.5.7@core-js/library/modules/_is-array.js":function(e,t,n){var r=n("./node_modules/_core-js@2.5.7@core-js/library/modules/_cof.js");e.exports=Array.isArray||function(e){return"Array"==r(e)}},"./node_modules/_core-js@2.5.7@core-js/library/modules/_is-object.js":function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},"./node_modules/_core-js@2.5.7@core-js/library/modules/_iter-call.js":function(e,t,n){var r=n("./node_modules/_core-js@2.5.7@core-js/library/modules/_an-object.js");e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var a=e.return;throw void 0!==a&&r(a.call(e)),t}}},"./node_modules/_core-js@2.5.7@core-js/library/modules/_iter-create.js":function(e,t,n){"use strict";var r=n("./node_modules/_core-js@2.5.7@core-js/library/modules/_object-create.js"),o=n("./node_modules/_core-js@2.5.7@core-js/library/modules/_property-desc.js"),a=n("./node_modules/_core-js@2.5.7@core-js/library/modules/_set-to-string-tag.js"),i={};n("./node_modules/_core-js@2.5.7@core-js/library/modules/_hide.js")(i,n("./node_modules/_core-js@2.5.7@core-js/library/modules/_wks.js")("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(i,{next:o(1,n)}),a(e,t+" Iterator")}},"./node_modules/_core-js@2.5.7@core-js/library/modules/_iter-define.js":function(e,t,n){"use strict";var r=n("./node_modules/_core-js@2.5.7@core-js/library/modules/_library.js"),o=n("./node_modules/_core-js@2.5.7@core-js/library/modules/_export.js"),a=n("./node_modules/_core-js@2.5.7@core-js/library/modules/_redefine.js"),i=n("./node_modules/_core-js@2.5.7@core-js/library/modules/_hide.js"),s=n("./node_modules/_core-js@2.5.7@core-js/library/modules/_iterators.js"),l=n("./node_modules/_core-js@2.5.7@core-js/library/modules/_iter-create.js"),c=n("./node_modules/_core-js@2.5.7@core-js/library/modules/_set-to-string-tag.js"),d=n("./node_modules/_core-js@2.5.7@core-js/library/modules/_object-gpo.js"),u=n("./node_modules/_core-js@2.5.7@core-js/library/modules/_wks.js")("iterator"),p=!([].keys&&"next"in[].keys()),f=function(){return this};e.exports=function(e,t,n,m,h,g,_){l(n,t,m);var b,v,y,A=function(e){if(!p&&e in E)return E[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},x=t+" Iterator",w="values"==h,j=!1,E=e.prototype,S=E[u]||E["@@iterator"]||h&&E[h],C=S||A(h),k=h?w?A("entries"):C:void 0,T="Array"==t?E.entries||S:S;if(T&&(y=d(T.call(new e)))!==Object.prototype&&y.next&&(c(y,x,!0),r||"function"==typeof y[u]||i(y,u,f)),w&&S&&"values"!==S.name&&(j=!0,C=function(){return S.call(this)}),r&&!_||!p&&!j&&E[u]||i(E,u,C),s[t]=C,s[x]=f,h)if(b={values:w?C:A("values"),keys:g?C:A("keys"),entries:k},_)for(v in b)v in E||a(E,v,b[v]);else o(o.P+o.F*(p||j),t,b);return b}},"./node_modules/_core-js@2.5.7@core-js/library/modules/_iter-detect.js":function(e,t,n){var r=n("./node_modules/_core-js@2.5.7@core-js/library/modules/_wks.js")("iterator"),o=!1;try{var a=[7][r]();a.return=function(){o=!0},Array.from(a,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var a=[7],i=a[r]();i.next=function(){return{done:n=!0}},a[r]=function(){return i},e(a)}catch(e){}return n}},"./node_modules/_core-js@2.5.7@core-js/library/modules/_iter-step.js":function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},"./node_modules/_core-js@2.5.7@core-js/library/modules/_iterators.js":function(e,t){e.exports={}},"./node_modules/_core-js@2.5.7@core-js/library/modules/_library.js":function(e,t){e.exports=!0},"./node_modules/_core-js@2.5.7@core-js/library/modules/_meta.js":function(e,t,n){var r=n("./node_modules/_core-js@2.5.7@core-js/library/modules/_uid.js")("meta"),o=n("./node_modules/_core-js@2.5.7@core-js/library/modules/_is-object.js"),a=n("./node_modules/_core-js@2.5.7@core-js/library/modules/_has.js"),i=n("./node_modules/_core-js@2.5.7@core-js/library/modules/_object-dp.js").f,s=0,l=Object.isExtensible||function(){return!0},c=!n("./node_modules/_core-js@2.5.7@core-js/library/modules/_fails.js")(function(){return l(Object.preventExtensions({}))}),d=function(e){i(e,r,{value:{i:"O"+ ++s,w:{}}})},u=function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,r)){if(!l(e))return"F";if(!t)return"E";d(e)}return e[r].i},p=function(e,t){if(!a(e,r)){if(!l(e))return!0;if(!t)return!1;d(e)}return e[r].w},f=function(e){return c&&m.NEED&&l(e)&&!a(e,r)&&d(e),e},m=e.exports={KEY:r,NEED:!1,fastKey:u,getWeak:p,onFreeze:f}},"./node_modules/_core-js@2.5.7@core-js/library/modules/_object-assign.js":function(e,t,n){"use strict";var r=n("./node_modules/_core-js@2.5.7@core-js/library/modules/_object-keys.js"),o=n("./node_modules/_core-js@2.5.7@core-js/library/modules/_object-gops.js"),a=n("./node_modules/_core-js@2.5.7@core-js/library/modules/_object-pie.js"),i=n("./node_modules/_core-js@2.5.7@core-js/library/modules/_to-object.js"),s=n("./node_modules/_core-js@2.5.7@core-js/library/modules/_iobject.js"),l=Object.assign;e.exports=!l||n("./node_modules/_core-js@2.5.7@core-js/library/modules/_fails.js")(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=l({},e)[n]||Object.keys(l({},t)).join("")!=r})?function(e,t){for(var n=i(e),l=arguments.length,c=1,d=o.f,u=a.f;l>c;)for(var p,f=s(arguments[c++]),m=d?r(f).concat(d(f)):r(f),h=m.length,g=0;h>g;)u.call(f,p=m[g++])&&(n[p]=f[p]);return n}:l},"./node_modules/_core-js@2.5.7@core-js/library/modules/_object-create.js":function(e,t,n){var r=n("./node_modules/_core-js@2.5.7@core-js/library/modules/_an-object.js"),o=n("./node_modules/_core-js@2.5.7@core-js/library/modules/_object-dps.js"),a=n("./node_modules/_core-js@2.5.7@core-js/library/modules/_enum-bug-keys.js"),i=n("./node_modules/_core-js@2.5.7@core-js/library/modules/_shared-key.js")("IE_PROTO"),s=function(){},l=function(){var e,t=n("./node_modules/_core-js@2.5.7@core-js/library/modules/_dom-create.js")("iframe"),r=a.length;for(t.style.display="none",n("./node_modules/_core-js@2.5.7@core-js/library/modules/_html.js").appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(" \ No newline at end of file +Davinci
\ No newline at end of file diff --git a/davinci-ui/share.1393f3b71b7660b578fe.js b/davinci-ui/share.1393f3b71b7660b578fe.js deleted file mode 100644 index deaa9f6fd..000000000 --- a/davinci-ui/share.1393f3b71b7660b578fe.js +++ /dev/null @@ -1,77 +0,0 @@ -!function(e){function t(o){if(n[o])return n[o].exports;var a=n[o]={i:o,l:!1,exports:{}};return e[o].call(a.exports,a,a.exports,t),a.l=!0,a.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:o})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=3)}({"./app/assets/fonts/iconfont.css":function(e,t,n){var o=n("./node_modules/css-loader/index.js!./node_modules/postcss-loader/index.js!./app/assets/fonts/iconfont.css");"string"==typeof o&&(o=[[e.i,o,""]]);var a={};a.transform=void 0;n("./node_modules/style-loader/lib/addStyles.js")(o,a);o.locals&&(e.exports=o.locals)},"./app/assets/fonts/iconfont.eot?t=1539766600550":function(e,t,n){e.exports=n.p+"181b620b7ace9a10324d615d307fd45a.eot"},"./app/assets/fonts/iconfont.svg?t=1539766600550":function(e,t,n){e.exports=n.p+"e61045f12482c7bb3c8f05eaa53aae79.svg"},"./app/assets/fonts/iconfont.ttf?t=1539766600550":function(e,t,n){e.exports=n.p+"59b9c6561eaed6a9724ce5806238f8bd.ttf"},"./app/assets/images/grid.png":function(e,t,n){e.exports=n.p+"723c56b4425401d1ec750b9f681acca5.png"},"./app/assets/images/logo_light.svg":function(e,t,n){e.exports=n.p+"e92352b7d5694fd944eaa9e69ada160a.svg"},"./app/assets/json/echartsThemes/default.project.json":function(e,t){e.exports={version:1,themeName:"walden",theme:{seriesCnt:"8",backgroundColor:"rgba(252,252,252,0)",titleColor:"#666666",subtitleColor:"#999999",textColorShow:!1,textColor:"#333",markTextColor:"#ffffff",color:["#509af2","#3acf7a","#ffa223","#d465fb","#38caf7","#b3dd07","#ffd835","#e5b4fa"],borderColor:"#ccc",borderWidth:0,visualMapColor:["#2a99c9","#afe8ff"],legendTextColor:"#999999",kColor:"#e6a0d2",kColor0:"transparent",kBorderColor:"#e6a0d2",kBorderColor0:"#3fb1e3",kBorderWidth:"2",lineWidth:"3",symbolSize:"8",symbolBorderWidth:"2",lineSmooth:!1,graphLineWidth:"1",graphLineColor:"#cccccc",mapLabelColor:"#ffffff",mapLabelColorE:"rgb(63,177,227)",mapBorderColor:"#aaaaaa",mapBorderColorE:"#3fb1e3",mapBorderWidth:.5,mapBorderWidthE:1,mapAreaColor:"#eeeeee",mapAreaColorE:"rgba(63,177,227,0.25)",axes:[{type:"all",name:"通用坐标轴",axisLineShow:!0,axisLineColor:"#cccccc",axisTickShow:!1,axisTickColor:"#333",axisLabelShow:!0,axisLabelColor:"#999999",splitLineShow:!0,splitLineColor:["#eeeeee"],splitAreaShow:!1,splitAreaColor:["rgba(250,250,250,0.05)","rgba(200,200,200,0.02)"]},{type:"category",name:"类目坐标轴",axisLineShow:!0,axisLineColor:"#333",axisTickShow:!0,axisTickColor:"#333",axisLabelShow:!0,axisLabelColor:"#333",splitLineShow:!1,splitLineColor:["#ccc"],splitAreaShow:!1,splitAreaColor:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]},{type:"value",name:"数值坐标轴",axisLineShow:!0,axisLineColor:"#333",axisTickShow:!0,axisTickColor:"#333",axisLabelShow:!0,axisLabelColor:"#333",splitLineShow:!0,splitLineColor:["#ccc"],splitAreaShow:!1,splitAreaColor:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]},{type:"log",name:"对数坐标轴",axisLineShow:!0,axisLineColor:"#333",axisTickShow:!0,axisTickColor:"#333",axisLabelShow:!0,axisLabelColor:"#333",splitLineShow:!0,splitLineColor:["#ccc"],splitAreaShow:!1,splitAreaColor:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]},{type:"time",name:"时间坐标轴",axisLineShow:!0,axisLineColor:"#333",axisTickShow:!0,axisTickColor:"#333",axisLabelShow:!0,axisLabelColor:"#333",splitLineShow:!0,splitLineColor:["#ccc"],splitAreaShow:!1,splitAreaColor:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}],axisSeperateSetting:!1,toolboxColor:"#999999",toolboxEmpasisColor:"#666666",tooltipAxisColor:"#cccccc",tooltipAxisWidth:1,timelineLineColor:"#626c91",timelineLineWidth:1,timelineItemColor:"#626c91",timelineItemColorE:"#626c91",timelineCheckColor:"#3fb1e3",timelineCheckBorderColor:"rgba(63,177,227,0.15)",timelineItemBorderWidth:1,timelineControlColor:"#626c91",timelineControlBorderColor:"#626c91",timelineControlBorderWidth:.5,timelineLabelColor:"#626c91",datazoomBackgroundColor:"rgba(255,255,255,0)",datazoomDataColor:"rgba(222,222,222,1)",datazoomFillColor:"rgba(114,230,212,0.25)",datazoomHandleColor:"#cccccc",datazoomHandleWidth:"100",datazoomLabelColor:"#999999"}}},"./app/assets/json/geo.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=[{id:11,name:"北京市",parent:0,lon:116.39564503788,lat:39.92998577808},{id:12,name:"天津市",parent:0,lon:117.21081309155,lat:39.14392990331},{id:13,name:"河北省",parent:0,lon:115.66143362422,lat:38.613839749251},{id:14,name:"山西省",parent:0,lon:112.51549586384,lat:37.866565990509},{id:15,name:"内蒙古自治区",parent:0,lon:114.41586754817,lat:43.468238221949},{id:21,name:"辽宁省",parent:0,lon:122.75359155772,lat:41.621600105958},{id:22,name:"吉林省",parent:0,lon:126.26287593078,lat:43.678846185241},{id:23,name:"黑龙江省",parent:0,lon:128.04741371499,lat:47.356591643111},{id:31,name:"上海市",parent:0,lon:121.48789948569,lat:31.249161710015},{id:32,name:"江苏省",parent:0,lon:119.36848893836,lat:33.013797169954},{id:33,name:"浙江省",parent:0,lon:119.95720242066,lat:29.159494120761},{id:34,name:"安徽省",parent:0,lon:117.21600520757,lat:31.859252417079},{id:35,name:"福建省",parent:0,lon:117.98494311991,lat:26.050118295661},{id:36,name:"江西省",parent:0,lon:115.6760823667,lat:27.757258443441},{id:37,name:"山东省",parent:0,lon:118.52766339288,lat:36.099289929728},{id:41,name:"河南省",parent:0,lon:113.48680405753,lat:34.157183767956},{id:42,name:"湖北省",parent:0,lon:112.41056219213,lat:31.20931625014},{id:43,name:"湖南省",parent:0,lon:111.72066354648,lat:27.695864052356},{id:44,name:"广东省",parent:0,lon:113.39481755876,lat:23.408003729025},{id:45,name:"广西壮族自治区",parent:0,lon:108.92427442706,lat:23.552254688119},{id:46,name:"海南省",parent:0,lon:109.73375548794,lat:19.180500801261},{id:50,name:"重庆市",parent:0,lon:106.53063501341,lat:29.544606108886},{id:51,name:"四川省",parent:0,lon:102.8991597236,lat:30.367480937958},{id:52,name:"贵州省",parent:0,lon:106.7349961033,lat:26.902825927797},{id:53,name:"云南省",parent:0,lon:101.59295163701,lat:24.864212795483},{id:54,name:"西藏自治区",parent:0,lon:89.137981684031,lat:31.367315402715},{id:61,name:"陕西省",parent:0,lon:109.50378929073,lat:35.860026261323},{id:62,name:"甘肃省",parent:0,lon:102.45762459934,lat:38.103267343752},{id:63,name:"青海省",parent:0,lon:96.202543672261,lat:35.499761004275},{id:64,name:"宁夏回族自治区",parent:0,lon:106.15548126505,lat:37.321323112295},{id:65,name:"新疆维吾尔自治区",parent:0,lon:85.614899338339,lat:42.127000957642},{id:71,name:"台湾省",parent:0,lon:121.97387097872,lat:24.086956718805},{id:81,name:"香港特别行政区",parent:0,lon:114.18612410257,lat:22.29358599328},{id:82,name:"澳门特别行政区",parent:0,lon:113.55751910182,lat:22.204117988443},{id:1101,name:"市辖区",parent:11,lon:116.39564503788,lat:39.92998577808},{id:1201,name:"市辖区",parent:12,lon:117.21081309155,lat:39.14392990331},{id:1301,name:"石家庄市",parent:13,lon:114.52208184421,lat:38.048958314615},{id:1302,name:"唐山市",parent:13,lon:118.18345059773,lat:39.650530922537},{id:1303,name:"秦皇岛市",parent:13,lon:119.60436761612,lat:39.945461565898},{id:1304,name:"邯郸市",parent:13,lon:114.48269393234,lat:36.609307928471},{id:1305,name:"邢台市",parent:13,lon:114.52048681294,lat:37.069531196912},{id:1306,name:"保定市",parent:13,lon:115.49481016908,lat:38.886564548027},{id:1307,name:"张家口市",parent:13,lon:114.89378153033,lat:40.811188491103},{id:1308,name:"承德市",parent:13,lon:117.93382245584,lat:40.992521052457},{id:1309,name:"沧州市",parent:13,lon:116.86380647644,lat:38.297615350326},{id:1310,name:"廊坊市",parent:13,lon:116.70360222264,lat:39.518610625085},{id:1311,name:"衡水市",parent:13,lon:115.68622865291,lat:37.746929045857},{id:1390,name:"省直辖县级行政区划",parent:13,lon:115.66143362422,lat:38.613839749251},{id:1401,name:"太原市",parent:14,lon:112.55086358906,lat:37.890277053968},{id:1402,name:"大同市",parent:14,lon:113.29050867308,lat:40.113744499705},{id:1403,name:"阳泉市",parent:14,lon:113.56923760163,lat:37.869529493223},{id:1404,name:"长治市",parent:14,lon:113.12029208573,lat:36.201664385743},{id:1405,name:"晋城市",parent:14,lon:112.86733275751,lat:35.499834467226},{id:1406,name:"朔州市",parent:14,lon:112.47992772666,lat:39.337671966221},{id:1407,name:"晋中市",parent:14,lon:112.73851439992,lat:37.693361526798},{id:1408,name:"运城市",parent:14,lon:111.00685365308,lat:35.038859479812},{id:1409,name:"忻州市",parent:14,lon:112.72793882881,lat:38.461030572959},{id:1410,name:"临汾市",parent:14,lon:111.53878759641,lat:36.099745443585},{id:1411,name:"吕梁市",parent:14,lon:111.14315660235,lat:37.527316096963},{id:1501,name:"呼和浩特市",parent:15,lon:111.66035052005,lat:40.828318873082},{id:1502,name:"包头市",parent:15,lon:109.84623853249,lat:40.647119425709},{id:1503,name:"乌海市",parent:15,lon:106.83199909716,lat:39.683177006785},{id:1504,name:"赤峰市",parent:15,lon:118.93076119217,lat:42.297112320317},{id:1505,name:"通辽市",parent:15,lon:122.26036326322,lat:43.633756072996},{id:1506,name:"鄂尔多斯市",parent:15,lon:109.99370625145,lat:39.816489560602},{id:1507,name:"呼伦贝尔市",parent:15,lon:119.760821794,lat:49.201636054604},{id:1508,name:"巴彦淖尔市",parent:15,lon:107.42380671968,lat:40.769179902429},{id:1509,name:"乌兰察布市",parent:15,lon:113.11284639068,lat:41.022362946751},{id:1522,name:"兴安盟",parent:15,lon:122.04816651407,lat:46.083757065182},{id:1525,name:"锡林郭勒盟",parent:15,lon:116.02733968896,lat:43.939704842324},{id:1529,name:"阿拉善盟",parent:15,lon:105.69568287113,lat:38.843075264408},{id:2101,name:"沈阳市",parent:21,lon:123.43279092161,lat:41.808644783516},{id:2102,name:"大连市",parent:21,lon:121.59347778144,lat:38.948709938304},{id:2103,name:"鞍山市",parent:21,lon:123.00776332888,lat:41.118743682153},{id:2104,name:"抚顺市",parent:21,lon:123.92981976705,lat:41.877303829591},{id:2105,name:"本溪市",parent:21,lon:123.77806236979,lat:41.325837626649},{id:2106,name:"丹东市",parent:21,lon:124.33854311477,lat:40.129022826638},{id:2107,name:"锦州市",parent:21,lon:121.14774873824,lat:41.130878875917},{id:2108,name:"营口市",parent:21,lon:122.23339137079,lat:40.668651066474},{id:2109,name:"阜新市",parent:21,lon:121.66082212857,lat:42.01925010706},{id:2110,name:"辽阳市",parent:21,lon:123.17245120515,lat:41.273339265569},{id:2111,name:"盘锦市",parent:21,lon:122.07322781023,lat:41.141248022956},{id:2112,name:"铁岭市",parent:21,lon:123.85484961462,lat:42.299757012125},{id:2113,name:"朝阳市",parent:21,lon:120.44616270274,lat:41.571827667857},{id:2114,name:"葫芦岛市",parent:21,lon:120.86075764476,lat:40.743029881318},{id:2201,name:"长春市",parent:22,lon:125.3136424272,lat:43.898337607098},{id:2202,name:"吉林市",parent:22,lon:126.56454398883,lat:43.871988334359},{id:2203,name:"四平市",parent:22,lon:124.39138207368,lat:43.175524701126},{id:2204,name:"辽源市",parent:22,lon:125.13368605218,lat:42.923302619054},{id:2205,name:"通化市",parent:22,lon:125.94265013851,lat:41.736397129868},{id:2206,name:"白山市",parent:22,lon:126.43579767535,lat:41.945859397018},{id:2207,name:"松原市",parent:22,lon:124.83299453234,lat:45.136048970084},{id:2208,name:"白城市",parent:22,lon:122.8407766791,lat:45.621086275219},{id:2224,name:"延边朝鲜族自治州",parent:22,lon:129.48590195816,lat:42.896413603744},{id:2301,name:"哈尔滨市",parent:23,lon:126.65771685545,lat:45.773224633239},{id:2302,name:"齐齐哈尔市",parent:23,lon:123.98728894217,lat:47.347699813366},{id:2303,name:"鸡西市",parent:23,lon:130.94176727325,lat:45.321539886551},{id:2304,name:"鹤岗市",parent:23,lon:130.29247205063,lat:47.338665903727},{id:2305,name:"双鸭山市",parent:23,lon:131.17140173958,lat:46.655102062482},{id:2306,name:"大庆市",parent:23,lon:125.02183973021,lat:46.596709020008},{id:2307,name:"伊春市",parent:23,lon:128.91076597792,lat:47.734685075079},{id:2308,name:"佳木斯市",parent:23,lon:130.28473458595,lat:46.81377960474},{id:2309,name:"七台河市",parent:23,lon:131.01904804712,lat:45.77500536864},{id:2310,name:"牡丹江市",parent:23,lon:129.60803539564,lat:44.588521152783},{id:2311,name:"黑河市",parent:23,lon:127.50083029524,lat:50.250690090738},{id:2312,name:"绥化市",parent:23,lon:126.98909457163,lat:46.646063926997},{id:2327,name:"大兴安岭地区",parent:23,lon:124.19610419017,lat:51.991788968014},{id:3101,name:"市辖区",parent:31,lon:121.48789948569,lat:31.249161710015},{id:3201,name:"南京市",parent:32,lon:118.77807440803,lat:32.057235501806},{id:3202,name:"无锡市",parent:32,lon:120.30545590054,lat:31.570037451923},{id:3203,name:"徐州市",parent:32,lon:117.18810662318,lat:34.271553431092},{id:3204,name:"常州市",parent:32,lon:119.98186101346,lat:31.771396744684},{id:3205,name:"苏州市",parent:32,lon:120.61990711549,lat:31.317987367952},{id:3206,name:"南通市",parent:32,lon:120.87380095093,lat:32.014664540823},{id:3207,name:"连云港市",parent:32,lon:119.17387221742,lat:34.60154896701},{id:3208,name:"淮安市",parent:32,lon:119.03018636466,lat:33.606512739276},{id:3209,name:"盐城市",parent:32,lon:120.14887181794,lat:33.379861877121},{id:3210,name:"扬州市",parent:32,lon:119.42777755117,lat:32.408505254568},{id:3211,name:"镇江市",parent:32,lon:119.45583540513,lat:32.204409443599},{id:3212,name:"泰州市",parent:32,lon:119.91960601619,lat:32.47605327483},{id:3213,name:"宿迁市",parent:32,lon:118.29689337855,lat:33.952049733709},{id:3301,name:"杭州市",parent:33,lon:120.21937541572,lat:30.259244461536},{id:3302,name:"宁波市",parent:33,lon:121.57900597259,lat:29.885258965918},{id:3303,name:"温州市",parent:33,lon:120.69063473371,lat:28.002837594041},{id:3304,name:"嘉兴市",parent:33,lon:120.76042769896,lat:30.773992239582},{id:3305,name:"湖州市",parent:33,lon:120.13724316328,lat:30.877925155691},{id:3306,name:"绍兴市",parent:33,lon:120.59246738555,lat:30.002364580528},{id:3307,name:"金华市",parent:33,lon:119.65257570368,lat:29.102899105391},{id:3308,name:"衢州市",parent:33,lon:118.87584165151,lat:28.956910447536},{id:3309,name:"舟山市",parent:33,lon:122.16987209835,lat:30.036010302554},{id:3310,name:"台州市",parent:33,lon:121.44061293594,lat:28.668283285674},{id:3311,name:"丽水市",parent:33,lon:119.92957584319,lat:28.456299552144},{id:3401,name:"合肥市",parent:34,lon:117.28269909168,lat:31.866942260687},{id:3402,name:"芜湖市",parent:34,lon:118.38410842323,lat:31.366019787543},{id:3403,name:"蚌埠市",parent:34,lon:117.35707986588,lat:32.929498906698},{id:3404,name:"淮南市",parent:34,lon:117.01863886329,lat:32.642811823748},{id:3405,name:"马鞍山市",parent:34,lon:118.51588184662,lat:31.68852815888},{id:3406,name:"淮北市",parent:34,lon:116.79144742863,lat:33.960023305364},{id:3407,name:"铜陵市",parent:34,lon:117.81942872881,lat:30.940929694666},{id:3408,name:"安庆市",parent:34,lon:117.05873877211,lat:30.537897817381},{id:3410,name:"黄山市",parent:34,lon:118.293569632,lat:29.734434856163},{id:3411,name:"滁州市",parent:34,lon:118.32457035098,lat:32.317350595384},{id:3412,name:"阜阳市",parent:34,lon:115.82093225905,lat:32.90121133057},{id:3413,name:"宿州市",parent:34,lon:116.98869241183,lat:33.636772385781},{id:3415,name:"六安市",parent:34,lon:116.50525268298,lat:31.755558355198},{id:3416,name:"亳州市",parent:34,lon:115.78792824512,lat:33.871210565302},{id:3417,name:"池州市",parent:34,lon:117.49447677159,lat:30.660019248161},{id:3418,name:"宣城市",parent:34,lon:118.75209631098,lat:30.951642354296},{id:3501,name:"福州市",parent:35,lon:119.33022110713,lat:26.047125496573},{id:3502,name:"厦门市",parent:35,lon:118.10388604566,lat:24.489230612469},{id:3503,name:"莆田市",parent:35,lon:119.07773096396,lat:25.448450136734},{id:3504,name:"三明市",parent:35,lon:117.64219393404,lat:26.270835279362},{id:3505,name:"泉州市",parent:35,lon:118.60036234323,lat:24.901652383991},{id:3506,name:"漳州市",parent:35,lon:117.67620467895,lat:24.517064779808},{id:3507,name:"南平市",parent:35,lon:118.18188294866,lat:26.643626474198},{id:3508,name:"龙岩市",parent:35,lon:117.01799673877,lat:25.078685433515},{id:3509,name:"宁德市",parent:35,lon:119.54208214972,lat:26.656527419159},{id:3601,name:"南昌市",parent:36,lon:115.89352754584,lat:28.689578000141},{id:3602,name:"景德镇市",parent:36,lon:117.18652262527,lat:29.303562768448},{id:3603,name:"萍乡市",parent:36,lon:113.85991703301,lat:27.639544222952},{id:3604,name:"九江市",parent:36,lon:115.99984802155,lat:29.719639526122},{id:3605,name:"新余市",parent:36,lon:114.94711741679,lat:27.822321558629},{id:3606,name:"鹰潭市",parent:36,lon:117.03545018601,lat:28.241309597182},{id:3607,name:"赣州市",parent:36,lon:114.93590907928,lat:25.845295536347},{id:3608,name:"吉安市",parent:36,lon:114.99203871092,lat:27.113847650157},{id:3609,name:"宜春市",parent:36,lon:114.40003867156,lat:27.811129895843},{id:3610,name:"抚州市",parent:36,lon:116.36091886693,lat:27.95454517027},{id:3611,name:"上饶市",parent:36,lon:117.95546387715,lat:28.457622553937},{id:3701,name:"济南市",parent:37,lon:117.02496706629,lat:36.682784727161},{id:3702,name:"青岛市",parent:37,lon:120.38442818368,lat:36.105214901274},{id:3703,name:"淄博市",parent:37,lon:118.05913427787,lat:36.804684854212},{id:3704,name:"枣庄市",parent:37,lon:117.2793053833,lat:34.807883078386},{id:3705,name:"东营市",parent:37,lon:118.58392633307,lat:37.487121155276},{id:3706,name:"烟台市",parent:37,lon:121.30955503009,lat:37.53656156286},{id:3707,name:"潍坊市",parent:37,lon:119.14263382297,lat:36.716114873051},{id:3708,name:"济宁市",parent:37,lon:116.60079762482,lat:35.402121664331},{id:3709,name:"泰安市",parent:37,lon:117.08941491714,lat:36.188077758948},{id:3710,name:"威海市",parent:37,lon:122.09395836581,lat:37.528787081251},{id:3711,name:"日照市",parent:37,lon:119.50717994299,lat:35.420225193144},{id:3712,name:"莱芜市",parent:37,lon:117.68466691247,lat:36.233654133647},{id:3713,name:"临沂市",parent:37,lon:118.34076823661,lat:35.072409074391},{id:3714,name:"德州市",parent:37,lon:116.32816136356,lat:37.460825926305},{id:3715,name:"聊城市",parent:37,lon:115.98686913929,lat:36.455828514728},{id:3716,name:"滨州市",parent:37,lon:117.96829241453,lat:37.405313941826},{id:3717,name:"菏泽市",parent:37,lon:115.46335977453,lat:35.262440496075},{id:4101,name:"郑州市",parent:41,lon:113.64964384986,lat:34.75661006414},{id:4102,name:"开封市",parent:41,lon:114.35164211776,lat:34.801854175837},{id:4103,name:"洛阳市",parent:41,lon:112.44752476895,lat:34.657367817651},{id:4104,name:"平顶山市",parent:41,lon:113.30084897798,lat:33.745301456524},{id:4105,name:"安阳市",parent:41,lon:114.35180650767,lat:36.110266722181},{id:4106,name:"鹤壁市",parent:41,lon:114.29776983802,lat:35.755425874224},{id:4107,name:"新乡市",parent:41,lon:113.91269016082,lat:35.307257557661},{id:4108,name:"焦作市",parent:41,lon:113.21183588499,lat:35.234607554986},{id:4109,name:"濮阳市",parent:41,lon:115.02662744067,lat:35.753297888208},{id:4110,name:"许昌市",parent:41,lon:113.83531245979,lat:34.026739588655},{id:4111,name:"漯河市",parent:41,lon:114.04606140023,lat:33.576278688483},{id:4112,name:"三门峡市",parent:41,lon:111.18126209327,lat:34.78331994105},{id:4113,name:"南阳市",parent:41,lon:112.54284190051,lat:33.011419569116},{id:4114,name:"商丘市",parent:41,lon:115.64188568785,lat:34.438588640246},{id:4115,name:"信阳市",parent:41,lon:114.08549099347,lat:32.128582307512},{id:4116,name:"周口市",parent:41,lon:114.6541019423,lat:33.623740818141},{id:4117,name:"驻马店市",parent:41,lon:114.04915354746,lat:32.983158154093},{id:4190,name:"省直辖县级行政区划",parent:41,lon:113.48680405753,lat:34.157183767956},{id:4201,name:"武汉市",parent:42,lon:114.31620010268,lat:30.581084126921},{id:4202,name:"黄石市",parent:42,lon:115.05068316392,lat:30.216127127714},{id:4203,name:"十堰市",parent:42,lon:110.80122891676,lat:32.636994339468},{id:4205,name:"宜昌市",parent:42,lon:111.31098109196,lat:30.732757818026},{id:4206,name:"襄阳市",parent:42,lon:111.94954852739,lat:31.939712558944},{id:4207,name:"鄂州市",parent:42,lon:114.89559404136,lat:30.384439322752},{id:4208,name:"荆门市",parent:42,lon:112.21733029897,lat:31.042611202949},{id:4209,name:"孝感市",parent:42,lon:113.93573439207,lat:30.927954784201},{id:4210,name:"荆州市",parent:42,lon:112.24186580719,lat:30.332590522986},{id:4211,name:"黄冈市",parent:42,lon:114.90661804658,lat:30.446108937901},{id:4212,name:"咸宁市",parent:42,lon:114.30006059206,lat:29.880656757728},{id:4213,name:"随州市",parent:42,lon:113.37935836429,lat:31.717857608189},{id:4228,name:"恩施土家族苗族自治州",parent:42,lon:109.49192330375,lat:30.285888316556},{id:4290,name:"省直辖县级行政区划",parent:42,lon:112.41056219213,lat:31.20931625014},{id:4301,name:"长沙市",parent:43,lon:112.97935278765,lat:28.213478230853},{id:4302,name:"株洲市",parent:43,lon:113.13169534107,lat:27.827432927663},{id:4303,name:"湘潭市",parent:43,lon:112.93555563303,lat:27.835095052979},{id:4304,name:"衡阳市",parent:43,lon:112.58381881072,lat:26.898164415358},{id:4305,name:"邵阳市",parent:43,lon:111.46152540355,lat:27.236811244922},{id:4306,name:"岳阳市",parent:43,lon:113.14619551912,lat:29.378007075474},{id:4307,name:"常德市",parent:43,lon:111.65371813684,lat:29.012148855181},{id:4308,name:"张家界市",parent:43,lon:110.48162015697,lat:29.12488935322},{id:4309,name:"益阳市",parent:43,lon:112.36654664523,lat:28.588087779887},{id:4310,name:"郴州市",parent:43,lon:113.0377044678,lat:25.782263975739},{id:4311,name:"永州市",parent:43,lon:111.61464768616,lat:26.435971646759},{id:4312,name:"怀化市",parent:43,lon:109.98695879585,lat:27.557482901173},{id:4313,name:"娄底市",parent:43,lon:111.99639635657,lat:27.741073302349},{id:4331,name:"湘西土家族苗族自治州",parent:43,lon:109.74574580039,lat:28.317950793674},{id:4401,name:"广州市",parent:44,lon:113.30764967515,lat:23.120049102076},{id:4402,name:"韶关市",parent:44,lon:113.59446110744,lat:24.802960311892},{id:4403,name:"深圳市",parent:44,lon:114.02597365732,lat:22.546053546205},{id:4404,name:"珠海市",parent:44,lon:113.56244702619,lat:22.256914646126},{id:4405,name:"汕头市",parent:44,lon:116.72865028834,lat:23.383908453269},{id:4406,name:"佛山市",parent:44,lon:113.13402563539,lat:23.035094840514},{id:4407,name:"江门市",parent:44,lon:113.07812534115,lat:22.575116783451},{id:4408,name:"湛江市",parent:44,lon:110.36506726285,lat:21.257463103764},{id:4409,name:"茂名市",parent:44,lon:110.93124533068,lat:21.668225718822},{id:4412,name:"肇庆市",parent:44,lon:112.47965336992,lat:23.078663282929},{id:4413,name:"惠州市",parent:44,lon:114.41065807997,lat:23.113539852408},{id:4414,name:"梅州市",parent:44,lon:116.12640309837,lat:24.304570606031},{id:4415,name:"汕尾市",parent:44,lon:115.3729242894,lat:22.778730500164},{id:4416,name:"河源市",parent:44,lon:114.71372147587,lat:23.757250850469},{id:4417,name:"阳江市",parent:44,lon:111.97700975587,lat:21.871517304519},{id:4418,name:"清远市",parent:44,lon:113.04077334891,lat:23.698468550422},{id:4451,name:"潮州市",parent:44,lon:116.63007599086,lat:23.661811676517},{id:4452,name:"揭阳市",parent:44,lon:116.37950085538,lat:23.547999466926},{id:4453,name:"云浮市",parent:44,lon:112.05094595865,lat:22.937975685537},{id:4501,name:"南宁市",parent:45,lon:108.29723355587,lat:22.806492935603},{id:4502,name:"柳州市",parent:45,lon:109.42240181015,lat:24.329053352467},{id:4503,name:"桂林市",parent:45,lon:110.26092014748,lat:25.262901245955},{id:4504,name:"梧州市",parent:45,lon:111.30547195007,lat:23.485394636734},{id:4505,name:"北海市",parent:45,lon:109.12262791919,lat:21.47271823501},{id:4506,name:"防城港市",parent:45,lon:108.35179115286,lat:21.617398470472},{id:4507,name:"钦州市",parent:45,lon:108.63879805642,lat:21.973350465313},{id:4508,name:"贵港市",parent:45,lon:109.61370755658,lat:23.103373164409},{id:4509,name:"玉林市",parent:45,lon:110.15167631614,lat:22.643973608377},{id:4510,name:"百色市",parent:45,lon:106.63182140365,lat:23.90151236791},{id:4511,name:"贺州市",parent:45,lon:111.55259417884,lat:24.411053547113},{id:4512,name:"河池市",parent:45,lon:108.06994770937,lat:24.699520782873},{id:4513,name:"来宾市",parent:45,lon:109.23181650474,lat:23.741165926515},{id:4514,name:"崇左市",parent:45,lon:107.35732203837,lat:22.415455296546},{id:4601,name:"海口市",parent:46,lon:110.33080184834,lat:20.022071276952},{id:4602,name:"三亚市",parent:46,lon:109.52277128136,lat:18.257775914897},{id:4603,name:"三沙市",parent:46,lon:113.75535610385,lat:12.464712920653},{id:4690,name:"省直辖县级行政区划",parent:46,lon:109.73375548794,lat:19.180500801261},{id:5001,name:"市辖区",parent:50,lon:106.53063501341,lat:29.544606108886},{id:5002,name:"县",parent:50,lon:106.53063501341,lat:29.544606108886},{id:5101,name:"成都市",parent:51,lon:104.0679234633,lat:30.67994284542},{id:5103,name:"自贡市",parent:51,lon:104.77607133936,lat:29.359156889476},{id:5104,name:"攀枝花市",parent:51,lon:101.72242315249,lat:26.587571257109},{id:5105,name:"泸州市",parent:51,lon:105.44397028921,lat:28.89592980386},{id:5106,name:"德阳市",parent:51,lon:104.40239781824,lat:31.131139652701},{id:5107,name:"绵阳市",parent:51,lon:104.70551897529,lat:31.504701258061},{id:5108,name:"广元市",parent:51,lon:105.81968694,lat:32.441040158428},{id:5109,name:"遂宁市",parent:51,lon:105.56488779226,lat:30.55749135038},{id:5110,name:"内江市",parent:51,lon:105.07305599171,lat:29.599461534775},{id:5111,name:"乐山市",parent:51,lon:103.76082423877,lat:29.600957611095},{id:5113,name:"南充市",parent:51,lon:106.10555398379,lat:30.800965168237},{id:5114,name:"眉山市",parent:51,lon:103.84142956287,lat:30.061115079945},{id:5115,name:"宜宾市",parent:51,lon:104.63301906153,lat:28.769674796266},{id:5116,name:"广安市",parent:51,lon:106.63572033137,lat:30.463983887888},{id:5117,name:"达州市",parent:51,lon:107.49497344659,lat:31.214198858945},{id:5118,name:"雅安市",parent:51,lon:103.00935646635,lat:29.999716337066},{id:5119,name:"巴中市",parent:51,lon:106.75791584175,lat:31.86918915916},{id:5120,name:"资阳市",parent:51,lon:104.63593030167,lat:30.132191433952},{id:5132,name:"阿坝藏族羌族自治州",parent:51,lon:102.22856468921,lat:31.905762858339},{id:5133,name:"甘孜藏族自治州",parent:51,lon:101.96923206306,lat:30.055144114356},{id:5134,name:"凉山彝族自治州",parent:51,lon:102.2595908032,lat:27.892392903666},{id:5201,name:"贵阳市",parent:52,lon:106.70917709618,lat:26.629906741441},{id:5202,name:"六盘水市",parent:52,lon:104.85208676007,lat:26.591866060319},{id:5203,name:"遵义市",parent:52,lon:106.93126031648,lat:27.699961377076},{id:5204,name:"安顺市",parent:52,lon:105.92826996576,lat:26.228594577737},{id:5205,name:"毕节市",parent:52,lon:105.33332337117,lat:27.408562131331},{id:5206,name:"铜仁市",parent:52,lon:109.16855802826,lat:27.674902690624},{id:5223,name:"黔西南布依族苗族自治州",parent:52,lon:104.90055779825,lat:25.095148055927},{id:5226,name:"黔东南苗族侗族自治州",parent:52,lon:107.98535257274,lat:26.583991766542},{id:5227,name:"黔南布依族苗族自治州",parent:52,lon:107.52320511006,lat:26.264535997442},{id:5301,name:"昆明市",parent:53,lon:102.71460113878,lat:25.049153100453},{id:5303,name:"曲靖市",parent:53,lon:103.78253888803,lat:25.520758142871},{id:5304,name:"玉溪市",parent:53,lon:102.54506789248,lat:24.370447134438},{id:5305,name:"保山市",parent:53,lon:99.177995613278,lat:25.12048919619},{id:5306,name:"昭通市",parent:53,lon:103.72502065573,lat:27.340632963635},{id:5307,name:"丽江市",parent:53,lon:100.22962839888,lat:26.875351089481},{id:5308,name:"普洱市",parent:53,lon:100.98005773013,lat:22.788777780149},{id:5309,name:"临沧市",parent:53,lon:100.09261291373,lat:23.887806103773},{id:5323,name:"楚雄彝族自治州",parent:53,lon:101.52938223914,lat:25.066355674186},{id:5325,name:"红河哈尼族彝族自治州",parent:53,lon:103.38406475716,lat:23.367717516499},{id:5326,name:"文山壮族苗族自治州",parent:53,lon:104.24629431757,lat:23.37408685041},{id:5328,name:"西双版纳傣族自治州",parent:53,lon:100.80303827521,lat:22.009433002236},{id:5329,name:"大理白族自治州",parent:53,lon:100.22367478928,lat:25.596899639421},{id:5331,name:"德宏傣族景颇族自治州",parent:53,lon:98.589434287407,lat:24.441239663008},{id:5333,name:"怒江傈僳族自治州",parent:53,lon:98.859932042482,lat:25.860676978165},{id:5334,name:"迪庆藏族自治州",parent:53,lon:99.713681598883,lat:27.831029461167},{id:5401,name:"拉萨市",parent:54,lon:91.111890895984,lat:29.662557062057},{id:5402,name:"日喀则市",parent:54,lon:88.956062773518,lat:29.268160032655},{id:5403,name:"昌都市",parent:54,lon:96.362440472918,lat:30.510924801158},{id:5404,name:"林芝市",parent:54,lon:95.466234246683,lat:29.128080197802},{id:5405,name:"山南市",parent:54,lon:92.22087273151,lat:28.354982378107},{id:5424,name:"那曲地区",parent:54,lon:92.067018368859,lat:31.48067983012},{id:5425,name:"阿里地区",parent:54,lon:81.10766868949,lat:30.404556588325},{id:6101,name:"西安市",parent:61,lon:108.9530982792,lat:34.277799897831},{id:6102,name:"铜川市",parent:61,lon:108.9680670134,lat:34.908367696384},{id:6103,name:"宝鸡市",parent:61,lon:107.17064545238,lat:34.364080809748},{id:6104,name:"咸阳市",parent:61,lon:108.7075092782,lat:34.345372995999},{id:6105,name:"渭南市",parent:61,lon:109.48393269658,lat:34.502357975829},{id:6106,name:"延安市",parent:61,lon:109.50050975697,lat:36.60332035226},{id:6107,name:"汉中市",parent:61,lon:107.04547762873,lat:33.081568978158},{id:6108,name:"榆林市",parent:61,lon:109.74592574433,lat:38.279439240071},{id:6109,name:"安康市",parent:61,lon:109.03804456348,lat:32.704370449994},{id:6110,name:"商洛市",parent:61,lon:109.9342081538,lat:33.873907395085},{id:6201,name:"兰州市",parent:62,lon:103.82330544073,lat:36.064225525043},{id:6203,name:"金昌市",parent:62,lon:102.20812626259,lat:38.516071799532},{id:6204,name:"白银市",parent:62,lon:104.17124090374,lat:36.546681706163},{id:6205,name:"天水市",parent:62,lon:105.73693162286,lat:34.584319418869},{id:6206,name:"武威市",parent:62,lon:102.64014734337,lat:37.933172142906},{id:6207,name:"张掖市",parent:62,lon:100.45989186892,lat:38.939320296982},{id:6208,name:"平凉市",parent:62,lon:106.68891115655,lat:35.550110190017},{id:6209,name:"酒泉市",parent:62,lon:98.508414506167,lat:39.741473768159},{id:6210,name:"庆阳市",parent:62,lon:107.64422708673,lat:35.72680075453},{id:6211,name:"定西市",parent:62,lon:104.62663760066,lat:35.586056241828},{id:6212,name:"陇南市",parent:62,lon:104.93457340575,lat:33.394479972938},{id:6229,name:"临夏回族自治州",parent:62,lon:103.21524917832,lat:35.598514348802},{id:6230,name:"甘南藏族自治州",parent:62,lon:102.9174424865,lat:34.992211178379},{id:6301,name:"西宁市",parent:63,lon:101.7679209898,lat:36.640738611958},{id:6302,name:"海东市",parent:63,lon:102.37668874252,lat:36.312743354178},{id:6322,name:"海北藏族自治州",parent:63,lon:100.87980217448,lat:36.960654101084},{id:6323,name:"黄南藏族自治州",parent:63,lon:102.00760030834,lat:35.522851551728},{id:6325,name:"海南藏族自治州",parent:63,lon:100.6240660941,lat:36.284363803805},{id:6326,name:"果洛藏族自治州",parent:63,lon:100.22372276899,lat:34.48048458461},{id:6327,name:"玉树藏族自治州",parent:63,lon:97.013316137414,lat:33.006239909722},{id:6328,name:"海西蒙古族藏族自治州",parent:63,lon:97.342625415333,lat:37.37379907059},{id:6401,name:"银川市",parent:64,lon:106.20647860784,lat:38.502621011876},{id:6402,name:"石嘴山市",parent:64,lon:106.37933720153,lat:39.020223283603},{id:6403,name:"吴忠市",parent:64,lon:106.20825419851,lat:37.993561002936},{id:6404,name:"固原市",parent:64,lon:106.28526799598,lat:36.021523480709},{id:6405,name:"中卫市",parent:64,lon:105.19675419936,lat:37.521124191595},{id:6501,name:"乌鲁木齐市",parent:65,lon:87.564987741116,lat:43.840380347218},{id:6502,name:"克拉玛依市",parent:65,lon:84.881180186144,lat:45.594331066706},{id:6504,name:"吐鲁番市",parent:65,lon:89.266025488642,lat:42.678924820794},{id:6505,name:"哈密市",parent:65,lon:93.529373012389,lat:42.344467104552},{id:6523,name:"昌吉回族自治州",parent:65,lon:87.296038125667,lat:44.007057898533},{id:6527,name:"博尔塔拉蒙古自治州",parent:65,lon:82.052436267224,lat:44.913651374298},{id:6528,name:"巴音郭楞蒙古自治州",parent:65,lon:86.121688362984,lat:41.771362202569},{id:6529,name:"阿克苏地区",parent:65,lon:80.269846179329,lat:41.171730901452},{id:6530,name:"克孜勒苏柯尔克孜自治州",parent:65,lon:76.137564477462,lat:39.750345577845},{id:6531,name:"喀什地区",parent:65,lon:75.992973267492,lat:39.470627188746},{id:6532,name:"和田地区",parent:65,lon:79.930238637213,lat:37.116774492678},{id:6540,name:"伊犁哈萨克自治州",parent:65,lon:81.297853530366,lat:43.922248096341},{id:6542,name:"塔城地区",parent:65,lon:82.974880583744,lat:46.75868362968},{id:6543,name:"阿勒泰地区",parent:65,lon:88.137915487132,lat:47.839744486198},{id:6590,name:"自治区直辖县级行政区划",parent:65,lon:85.614899338339,lat:42.127000957642},{id:110101,name:"东城区",parent:1101,lon:116.42188470126,lat:39.938574012986},{id:110102,name:"西城区",parent:1101,lon:116.37319010402,lat:39.934280143709},{id:110105,name:"朝阳区",parent:1101,lon:116.52169489108,lat:39.958953166407},{id:110106,name:"丰台区",parent:1101,lon:116.25837033547,lat:39.841937852205},{id:110107,name:"石景山区",parent:1101,lon:116.18455581037,lat:39.938866544646},{id:110108,name:"海淀区",parent:1101,lon:116.23967780102,lat:40.033162045078},{id:110109,name:"门头沟区",parent:1101,lon:115.79579538125,lat:40.000893031476},{id:110111,name:"房山区",parent:1101,lon:115.8628363129,lat:39.726752620796},{id:110112,name:"通州区",parent:1101,lon:116.74007918068,lat:39.809814883851},{id:110113,name:"顺义区",parent:1101,lon:116.72822904528,lat:40.154951470441},{id:110114,name:"昌平区",parent:1101,lon:116.21645635689,lat:40.221723549832},{id:110115,name:"大兴区",parent:1101,lon:116.42519459738,lat:39.652790118364},{id:110116,name:"怀柔区",parent:1101,lon:116.59340835643,lat:40.638139340311},{id:110117,name:"平谷区",parent:1101,lon:117.15043344819,lat:40.215925453896},{id:110118,name:"密云区",parent:1101,lon:117.09666568438,lat:40.517334853846},{id:110119,name:"延庆区",parent:1101,lon:116.1618831398,lat:40.535475747111},{id:120101,name:"和平区",parent:1201,lon:117.20281365403,lat:39.124808844703},{id:120102,name:"河东区",parent:1201,lon:117.26169316527,lat:39.126625684666},{id:120103,name:"河西区",parent:1201,lon:117.23616545062,lat:39.084493739615},{id:120104,name:"南开区",parent:1201,lon:117.16272794945,lat:39.116987285522},{id:120105,name:"河北区",parent:1201,lon:117.22029676508,lat:39.173148933924},{id:120106,name:"红桥区",parent:1201,lon:117.16221680792,lat:39.170621331225},{id:120110,name:"东丽区",parent:1201,lon:117.41478234325,lat:39.139604642775},{id:120111,name:"西青区",parent:1201,lon:117.12620134665,lat:39.035064611485},{id:120112,name:"津南区",parent:1201,lon:117.39290995972,lat:38.969790532725},{id:120113,name:"北辰区",parent:1201,lon:117.18060609828,lat:39.259130625979},{id:120114,name:"武清区",parent:1201,lon:117.03457791373,lat:39.457042575494},{id:120115,name:"宝坻区",parent:1201,lon:117.41142059078,lat:39.615544004133},{id:120116,name:"滨海新区",parent:1201,lon:117.64628627057,lat:39.059176638035},{id:120117,name:"宁河区",parent:1201,lon:117.6312358292,lat:39.390421570053},{id:120118,name:"静海区",parent:1201,lon:116.98682530718,lat:38.837510804607},{id:120119,name:"蓟州区",parent:1201,lon:117.47034191571,lat:40.009456311951},{id:130102,name:"长安区",parent:1301,lon:114.59262155387,lat:38.076874795787},{id:130104,name:"桥西区",parent:1301,lon:114.43813995532,lat:38.033364550068},{id:130105,name:"新华区",parent:1301,lon:114.45350142869,lat:38.117218640478},{id:130107,name:"井陉矿区",parent:1301,lon:114.05074376291,lat:38.08109756116},{id:130108,name:"裕华区",parent:1301,lon:114.58638255261,lat:38.014621045712},{id:130109,name:"藁城区",parent:1301,lon:114.82809608578,lat:38.089490113945},{id:130110,name:"鹿泉区",parent:1301,lon:114.35731900345,lat:38.089969323509},{id:130111,name:"栾城区",parent:1301,lon:114.64775310253,lat:37.91328595181},{id:130121,name:"井陉县",parent:1301,lon:114.07795206335,lat:38.000890815811},{id:130123,name:"正定县",parent:1301,lon:114.57020132348,lat:38.227072535479},{id:130125,name:"行唐县",parent:1301,lon:114.45743612437,lat:38.546695301387},{id:130126,name:"灵寿县",parent:1301,lon:114.18781898137,lat:38.510935985414},{id:130127,name:"高邑县",parent:1301,lon:114.6073846934,lat:37.622650870757},{id:130128,name:"深泽县",parent:1301,lon:115.23310242793,lat:38.194680827355},{id:130129,name:"赞皇县",parent:1301,lon:114.28955340433,lat:37.628132452966},{id:130130,name:"无极县",parent:1301,lon:114.95113960113,lat:38.1832860202},{id:130131,name:"平山县",parent:1301,lon:113.87242852701,lat:38.408762191725},{id:130132,name:"元氏县",parent:1301,lon:114.42836015628,lat:37.807352641009},{id:130133,name:"赵县",parent:1301,lon:114.83493823756,lat:37.769612448365},{id:130183,name:"晋州市",parent:1301,lon:115.09173828064,lat:37.991145102246},{id:130184,name:"新乐市",parent:1301,lon:114.76227076683,lat:38.377578025839},{id:130202,name:"路南区",parent:1302,lon:118.20604028639,lat:39.612986996735},{id:130203,name:"路北区",parent:1302,lon:118.18506997308,lat:39.657845680029},{id:130204,name:"古冶区",parent:1302,lon:118.46223153818,lat:39.723044780378},{id:130205,name:"开平区",parent:1302,lon:118.25784790075,lat:39.692123420846},{id:130207,name:"丰南区",parent:1302,lon:118.08584709899,lat:39.384662748593},{id:130208,name:"丰润区",parent:1302,lon:118.05949036617,lat:39.789909410339},{id:130209,name:"曹妃甸区",parent:1302,lon:118.41596118319,lat:39.266037841072},{id:130223,name:"滦县",parent:1302,lon:118.5837772519,lat:39.785508848229},{id:130224,name:"滦南县",parent:1302,lon:118.54938466456,lat:39.360738899901},{id:130225,name:"乐亭县",parent:1302,lon:118.93994305703,lat:39.357228891896},{id:130227,name:"迁西县",parent:1302,lon:118.37138905434,lat:40.238507660812},{id:130229,name:"玉田县",parent:1302,lon:117.7347526449,lat:39.818843355788},{id:130281,name:"遵化市",parent:1302,lon:117.95763912762,lat:40.137901064021},{id:130283,name:"迁安市",parent:1302,lon:118.68695461732,lat:40.04044251326},{id:130302,name:"海港区",parent:1303,lon:119.57761724583,lat:39.988779577117},{id:130303,name:"山海关区",parent:1303,lon:119.7136155797,lat:40.032899628101},{id:130304,name:"北戴河区",parent:1303,lon:119.47932079421,lat:39.854292584187},{id:130306,name:"抚宁区",parent:1303,lon:119.34003537992,lat:39.910857115367},{id:130321,name:"青龙满族自治县",parent:1303,lon:119.13758245072,lat:40.353650308648},{id:130322,name:"昌黎县",parent:1303,lon:119.09462149738,lat:39.638021164728},{id:130324,name:"卢龙县",parent:1303,lon:118.98556414609,lat:39.920978455186},{id:130402,name:"邯山区",parent:1304,lon:114.46928986668,lat:36.536153078937},{id:130403,name:"丛台区",parent:1304,lon:114.51106763052,lat:36.637214815152},{id:130404,name:"复兴区",parent:1304,lon:114.44809470749,lat:36.610368592227},{id:130406,name:"峰峰矿区",parent:1304,lon:114.19042164993,lat:36.474684997423},{id:130421,name:"邯郸县",parent:1304,lon:114.49448604232,lat:36.620347221062},{id:130423,name:"临漳县",parent:1304,lon:114.58694416944,lat:36.266141946474},{id:130424,name:"成安县",parent:1304,lon:114.70477468285,lat:36.428150647186},{id:130425,name:"大名县",parent:1304,lon:115.24863464404,lat:36.309543770756},{id:130426,name:"涉县",parent:1304,lon:113.74291352234,lat:36.598104535573},{id:130427,name:"磁县",parent:1304,lon:114.25510074085,lat:36.406730602547},{id:130428,name:"肥乡县",parent:1304,lon:114.83690510574,lat:36.577260887621},{id:130429,name:"永年县",parent:1304,lon:114.64160198718,lat:36.770200181653},{id:130430,name:"邱县",parent:1304,lon:115.20670231619,lat:36.797269787143},{id:130431,name:"鸡泽县",parent:1304,lon:114.86956581384,lat:36.873677489817},{id:130432,name:"广平县",parent:1304,lon:115.02087402114,lat:36.51192631393},{id:130433,name:"馆陶县",parent:1304,lon:115.29915662582,lat:36.618537005781},{id:130434,name:"魏县",parent:1304,lon:114.93600011898,lat:36.250567761095},{id:130435,name:"曲周县",parent:1304,lon:115.03853247193,lat:36.752651265719},{id:130481,name:"武安市",parent:1304,lon:114.05833396936,lat:36.748995476597},{id:130502,name:"桥东区",parent:1305,lon:114.52129744384,lat:37.059046252073},{id:130503,name:"桥西区",parent:1305,lon:114.46840126286,lat:37.053579664221},{id:130521,name:"邢台县",parent:1305,lon:114.16774440241,lat:37.152421699275},{id:130522,name:"临城县",parent:1305,lon:114.38466503755,lat:37.463137591617},{id:130523,name:"内丘县",parent:1305,lon:114.30459575437,lat:37.314224311167},{id:130524,name:"柏乡县",parent:1305,lon:114.70742434434,lat:37.517418414338},{id:130525,name:"隆尧县",parent:1305,lon:114.79291584707,lat:37.36468808358},{id:130526,name:"任县",parent:1305,lon:114.7699671597,lat:37.174630101755},{id:130527,name:"南和县",parent:1305,lon:114.75308935883,lat:37.016963874379},{id:130528,name:"宁晋县",parent:1305,lon:115.02167843721,lat:37.612086758173},{id:130529,name:"巨鹿县",parent:1305,lon:115.05888578855,lat:37.278679297084},{id:130530,name:"新河县",parent:1305,lon:115.25720361984,lat:37.499362567334},{id:130531,name:"广宗县",parent:1305,lon:115.19817308929,lat:37.083548692406},{id:130532,name:"平乡县",parent:1305,lon:115.00481854709,lat:37.056110207564},{id:130533,name:"威县",parent:1305,lon:115.38772530687,lat:37.078394650565},{id:130534,name:"清河县",parent:1305,lon:115.69158951605,lat:37.040529913617},{id:130535,name:"临西县",parent:1305,lon:115.52844117588,lat:36.858027353556},{id:130581,name:"南宫市",parent:1305,lon:115.47940958601,lat:37.286427413275},{id:130582,name:"沙河市",parent:1305,lon:114.28309250179,lat:36.938635459346},{id:130602,name:"竞秀区",parent:1306,lon:115.4337718341,lat:38.896799171923},{id:130606,name:"莲池区",parent:1306,lon:115.52517138526,lat:38.878869183082},{id:130607,name:"满城区",parent:1306,lon:115.22854614305,lat:38.936509575446},{id:130608,name:"清苑区",parent:1306,lon:115.50474549359,lat:38.746793898598},{id:130609,name:"徐水区",parent:1306,lon:115.56341421452,lat:39.030072064834},{id:130623,name:"涞水县",parent:1306,lon:115.44462792481,lat:39.616117563205},{id:130624,name:"阜平县",parent:1306,lon:114.16421062387,lat:38.894806411217},{id:130626,name:"定兴县",parent:1306,lon:115.75504588838,lat:39.211518314259},{id:130627,name:"唐县",parent:1306,lon:114.80609127315,lat:38.904521131249},{id:130628,name:"高阳县",parent:1306,lon:115.83844188387,lat:38.673020900262},{id:130629,name:"容城县",parent:1306,lon:115.90877891487,lat:39.057813549536},{id:130630,name:"涞源县",parent:1306,lon:114.73045121001,lat:39.366936787031},{id:130631,name:"望都县",parent:1306,lon:115.17834559654,lat:38.679014979104},{id:130632,name:"安新县",parent:1306,lon:115.88673101005,lat:38.8782552166},{id:130633,name:"易县",parent:1306,lon:115.25402170203,lat:39.317566051144},{id:130634,name:"曲阳县",parent:1306,lon:114.66066397519,lat:38.706612214921},{id:130635,name:"蠡县",parent:1306,lon:115.66928195753,lat:38.528232136022},{id:130636,name:"顺平县",parent:1306,lon:115.07398905469,lat:38.927951375985},{id:130637,name:"博野县",parent:1306,lon:115.48778569396,lat:38.459123140672},{id:130638,name:"雄县",parent:1306,lon:116.18329894846,lat:39.042786858077},{id:130681,name:"涿州市",parent:1306,lon:115.99905364071,lat:39.482481810572},{id:130683,name:"安国市",parent:1306,lon:115.33482671534,lat:38.393739990352},{id:130684,name:"高碑店市",parent:1306,lon:116.04093362477,lat:39.265087764832},{id:130702,name:"桥东区",parent:1307,lon:114.91516641164,lat:40.782910350247},{id:130703,name:"桥西区",parent:1307,lon:114.8616234507,lat:40.83764647974},{id:130705,name:"宣化区",parent:1307,lon:115.25847218771,lat:40.632394360149},{id:130706,name:"下花园区",parent:1307,lon:115.35049833098,lat:40.568836928653},{id:130708,name:"万全区",parent:1307,lon:114.60159442219,lat:40.854322579125},{id:130709,name:"崇礼区",parent:1307,lon:115.18918281511,lat:41.041738952718},{id:130722,name:"张北县",parent:1307,lon:114.77289736584,lat:41.293640752346},{id:130723,name:"康保县",parent:1307,lon:114.60653573475,lat:41.784595269099},{id:130724,name:"沽源县",parent:1307,lon:115.63609164922,lat:41.580403842568},{id:130725,name:"尚义县",parent:1307,lon:114.15252831523,lat:41.132634994489},{id:130726,name:"蔚县",parent:1307,lon:114.71253718704,lat:39.879353147831},{id:130727,name:"阳原县",parent:1307,lon:114.39439590667,lat:40.138642120211},{id:130728,name:"怀安县",parent:1307,lon:114.50260736695,lat:40.559533575131},{id:130730,name:"怀来县",parent:1307,lon:115.63406061974,lat:40.34798364385},{id:130731,name:"涿鹿县",parent:1307,lon:115.22392517513,lat:40.101875913481},{id:130732,name:"赤城县",parent:1307,lon:115.89222267195,lat:40.956026259537},{id:130802,name:"双桥区",parent:1308,lon:117.94835524238,lat:40.971406352197},{id:130803,name:"双滦区",parent:1308,lon:117.80933581725,lat:41.051453160703},{id:130804,name:"鹰手营子矿区",parent:1308,lon:117.67942626427,lat:40.531760281234},{id:130821,name:"承德县",parent:1308,lon:118.12571829805,lat:40.9732421823},{id:130822,name:"兴隆县",parent:1308,lon:117.72613599005,lat:40.458141686295},{id:130823,name:"平泉县",parent:1308,lon:118.73932350858,lat:41.075303768703},{id:130824,name:"滦平县",parent:1308,lon:117.36956340989,lat:40.924820741761},{id:130825,name:"隆化县",parent:1308,lon:117.56992967905,lat:41.517994972231},{id:130826,name:"丰宁满族自治县",parent:1308,lon:116.62379481268,lat:41.425684335184},{id:130827,name:"宽城满族自治县",parent:1308,lon:118.63588822017,lat:40.578090378096},{id:130828,name:"围场满族蒙古族自治县",parent:1308,lon:117.54702150524,lat:42.108024565862},{id:130902,name:"新华区",parent:1309,lon:116.89305880724,lat:38.308375333084},{id:130903,name:"运河区",parent:1309,lon:116.84485357764,lat:38.314446124596},{id:130921,name:"沧县",parent:1309,lon:116.86271383128,lat:38.302138696207},{id:130922,name:"青县",parent:1309,lon:116.85123400252,lat:38.565778328556},{id:130923,name:"东光县",parent:1309,lon:116.67783233648,lat:37.887451603688},{id:130924,name:"海兴县",parent:1309,lon:117.56726425888,lat:38.142470216907},{id:130925,name:"盐山县",parent:1309,lon:117.26693989632,lat:37.960369724102},{id:130926,name:"肃宁县",parent:1309,lon:115.88581610558,lat:38.422207122829},{id:130927,name:"南皮县",parent:1309,lon:116.8658497774,lat:38.023185702825},{id:130928,name:"吴桥县",parent:1309,lon:116.5080334073,lat:37.661863472094},{id:130929,name:"献县",parent:1309,lon:116.17550530237,lat:38.242725840471},{id:130930,name:"孟村回族自治县",parent:1309,lon:117.15953838544,lat:38.091264713342},{id:130981,name:"泊头市",parent:1309,lon:116.38923597745,lat:38.090278710884},{id:130982,name:"任丘市",parent:1309,lon:116.16321405193,lat:38.74110464111},{id:130983,name:"黄骅市",parent:1309,lon:117.40021701974,lat:38.401521845487},{id:130984,name:"河间市",parent:1309,lon:116.27159283893,lat:38.483721432479},{id:131002,name:"安次区",parent:1310,lon:116.79612310881,lat:39.345312180639},{id:131003,name:"广阳区",parent:1310,lon:116.69423648939,lat:39.533685537455},{id:131022,name:"固安县",parent:1310,lon:116.28967015726,lat:39.351105940994},{id:131023,name:"永清县",parent:1310,lon:116.5605569701,lat:39.302836430211},{id:131024,name:"香河县",parent:1310,lon:117.05130555355,lat:39.743100032865},{id:131025,name:"大城县",parent:1310,lon:116.58863867606,lat:38.668802703656},{id:131026,name:"文安县",parent:1310,lon:116.49481687118,lat:38.911390482572},{id:131028,name:"大厂回族自治县",parent:1310,lon:116.95507644864,lat:39.89531635509},{id:131081,name:"霸州市",parent:1310,lon:116.57430598976,lat:39.109320079055},{id:131082,name:"三河市",parent:1310,lon:117.02128418409,lat:39.96742764877},{id:131102,name:"桃城区",parent:1311,lon:115.66665700012,lat:37.72421788608},{id:131103,name:"冀州区",parent:1311,lon:115.44750567041,lat:37.53643502058},{id:131121,name:"枣强县",parent:1311,lon:115.75767748261,lat:37.461024106054},{id:131122,name:"武邑县",parent:1311,lon:115.94450660708,lat:37.827678592246},{id:131123,name:"武强县",parent:1311,lon:115.920118282,lat:38.050513034027},{id:131124,name:"饶阳县",parent:1311,lon:115.74000746168,lat:38.223059241042},{id:131125,name:"安平县",parent:1311,lon:115.49041582246,lat:38.243195869487},{id:131126,name:"故城县",parent:1311,lon:115.97805666289,lat:37.356997906367},{id:131127,name:"景县",parent:1311,lon:116.20013356506,lat:37.668477471141},{id:131128,name:"阜城县",parent:1311,lon:116.32842518537,lat:37.912309213617},{id:131182,name:"深州市",parent:1311,lon:115.58669880842,lat:37.957012862702},{id:139001,name:"定州市",parent:1390,lon:115.05740695232,lat:38.465839158048},{id:139002,name:"辛集市",parent:1390,lon:115.29874950521,lat:37.924121876409},{id:140105,name:"小店区",parent:1401,lon:112.57740860671,lat:37.753527970896},{id:140106,name:"迎泽区",parent:1401,lon:112.66320298122,lat:37.865737302061},{id:140107,name:"杏花岭区",parent:1401,lon:112.62983632135,lat:37.915556056965},{id:140108,name:"尖草坪区",parent:1401,lon:112.48843997984,lat:37.972757839535},{id:140109,name:"万柏林区",parent:1401,lon:112.40285697662,lat:37.894693447581},{id:140110,name:"晋源区",parent:1401,lon:112.48158725626,lat:37.748674917003},{id:140121,name:"清徐县",parent:1401,lon:112.38708511797,lat:37.59324244737},{id:140122,name:"阳曲县",parent:1401,lon:112.67265853687,lat:38.158246373698},{id:140123,name:"娄烦县",parent:1401,lon:111.797820928,lat:38.034584043133},{id:140181,name:"古交市",parent:1401,lon:112.1077390237,lat:37.90517928255},{id:140202,name:"城区",parent:1402,lon:113.29696587275,lat:40.102542866559},{id:140203,name:"矿区",parent:1402,lon:113.0470017583,lat:40.036495634995},{id:140211,name:"南郊区",parent:1402,lon:113.22645661564,lat:40.051891387407},{id:140212,name:"新荣区",parent:1402,lon:113.23689411719,lat:40.267127127574},{id:140221,name:"阳高县",parent:1402,lon:113.82318140606,lat:40.222311526135},{id:140222,name:"天镇县",parent:1402,lon:114.16812988719,lat:40.403528534338},{id:140223,name:"广灵县",parent:1402,lon:114.16170176527,lat:39.76899447952},{id:140224,name:"灵丘县",parent:1402,lon:114.21309517425,lat:39.377267777348},{id:140225,name:"浑源县",parent:1402,lon:113.71075899599,lat:39.634162361299},{id:140226,name:"左云县",parent:1402,lon:112.77785639076,lat:40.000737963069},{id:140227,name:"大同县",parent:1402,lon:113.58386582098,lat:40.001627488893},{id:140302,name:"城区",parent:1403,lon:113.61283811719,lat:37.85786536147},{id:140303,name:"矿区",parent:1403,lon:113.54077065934,lat:37.890804244519},{id:140311,name:"郊区",parent:1403,lon:113.56808615363,lat:37.911503911114},{id:140321,name:"平定县",parent:1403,lon:113.76897794042,lat:37.8492714173},{id:140322,name:"盂县",parent:1403,lon:113.36096660369,lat:38.229385734147},{id:140402,name:"城区",parent:1404,lon:113.12316935827,lat:36.184511192113},{id:140411,name:"郊区",parent:1404,lon:113.11069620661,lat:36.270339558413},{id:140421,name:"长治县",parent:1404,lon:113.08619419794,lat:36.024679976201},{id:140423,name:"襄垣县",parent:1404,lon:112.98897348398,lat:36.580200785754},{id:140424,name:"屯留县",parent:1404,lon:112.75036278967,lat:36.342609751076},{id:140425,name:"平顺县",parent:1404,lon:113.53368897635,lat:36.221794153091},{id:140426,name:"黎城县",parent:1404,lon:113.39685159379,lat:36.619367610278},{id:140427,name:"壶关县",parent:1404,lon:113.37199790438,lat:35.99265193372},{id:140428,name:"长子县",parent:1404,lon:112.80225403294,lat:36.110999402019},{id:140429,name:"武乡县",parent:1404,lon:112.96751985958,lat:36.888322821209},{id:140430,name:"沁县",parent:1404,lon:112.65221013617,lat:36.70738347605},{id:140431,name:"沁源县",parent:1404,lon:112.29009399197,lat:36.701566639488},{id:140481,name:"潞城市",parent:1404,lon:113.25438708828,lat:36.374406273238},{id:140502,name:"城区",parent:1405,lon:112.84269710529,lat:35.513593270468},{id:140521,name:"沁水县",parent:1405,lon:112.37742990987,lat:35.751489118151},{id:140522,name:"阳城县",parent:1405,lon:112.36152699508,lat:35.426540841161},{id:140524,name:"陵川县",parent:1405,lon:113.34338659863,lat:35.690743897919},{id:140525,name:"泽州县",parent:1405,lon:112.87098535033,lat:35.475851325496},{id:140581,name:"高平市",parent:1405,lon:112.93511535362,lat:35.809742457991},{id:140602,name:"朔城区",parent:1406,lon:112.5562001526,lat:39.243272437238},{id:140603,name:"平鲁区",parent:1406,lon:112.30434987236,lat:39.640007394398},{id:140621,name:"山阴县",parent:1406,lon:112.78680490549,lat:39.521049673137},{id:140622,name:"应县",parent:1406,lon:113.26059286958,lat:39.509316043686},{id:140623,name:"右玉县",parent:1406,lon:112.42167745341,lat:40.008135706467},{id:140624,name:"怀仁县",parent:1406,lon:113.11230462343,lat:39.793570836032},{id:140702,name:"榆次区",parent:1407,lon:112.84373652716,lat:37.650824689054},{id:140721,name:"榆社县",parent:1407,lon:112.95418082333,lat:37.140049981591},{id:140722,name:"左权县",parent:1407,lon:113.47453786444,lat:37.03279458538},{id:140723,name:"和顺县",parent:1407,lon:113.47493445138,lat:37.348373699108},{id:140724,name:"昔阳县",parent:1407,lon:113.76210572071,lat:37.563418385072},{id:140725,name:"寿阳县",parent:1407,lon:113.14161086395,lat:37.825118914407},{id:140726,name:"太谷县",parent:1407,lon:112.73643253249,lat:37.407696414459},{id:140727,name:"祁县",parent:1407,lon:112.46906595172,lat:37.292198086629},{id:140728,name:"平遥县",parent:1407,lon:112.26549326017,lat:37.148089778462},{id:140729,name:"灵石县",parent:1407,lon:111.73550355035,lat:36.834487193362},{id:140781,name:"介休市",parent:1407,lon:111.99518801957,lat:37.02547627594},{id:140802,name:"盐湖区",parent:1408,lon:110.96193094165,lat:35.063676878932},{id:140821,name:"临猗县",parent:1408,lon:110.62589540589,lat:35.149379501121},{id:140822,name:"万荣县",parent:1408,lon:110.71553950499,lat:35.388134013652},{id:140823,name:"闻喜县",parent:1408,lon:111.31928675078,lat:35.373753157},{id:140824,name:"稷山县",parent:1408,lon:110.96512183757,lat:35.59826692411},{id:140825,name:"新绛县",parent:1408,lon:111.17287529232,lat:35.631582540507},{id:140826,name:"绛县",parent:1408,lon:111.64482039841,lat:35.498578532808},{id:140827,name:"垣曲县",parent:1408,lon:111.82478688142,lat:35.221584155393},{id:140828,name:"夏县",parent:1408,lon:111.35838628885,lat:35.126679510784},{id:140829,name:"平陆县",parent:1408,lon:111.25110932094,lat:34.888645774448},{id:140830,name:"芮城县",parent:1408,lon:110.61649553806,lat:34.709534760447},{id:140881,name:"永济市",parent:1408,lon:110.48894872131,lat:34.894671510755},{id:140882,name:"河津市",parent:1408,lon:110.70853926353,lat:35.631891049091},{id:140902,name:"忻府区",parent:1409,lon:112.60520013418,lat:38.437831964453},{id:140921,name:"定襄县",parent:1409,lon:113.03558876456,lat:38.516749763878},{id:140922,name:"五台县",parent:1409,lon:113.44210404535,lat:38.778174001492},{id:140923,name:"代县",parent:1409,lon:113.05058168825,lat:39.093197224067},{id:140924,name:"繁峙县",parent:1409,lon:113.596213567,lat:39.204756994709},{id:140925,name:"宁武县",parent:1409,lon:112.19389583349,lat:38.821889666345},{id:140926,name:"静乐县",parent:1409,lon:112.06499425223,lat:38.400067154102},{id:140927,name:"神池县",parent:1409,lon:112.00991986754,lat:39.173053445654},{id:140928,name:"五寨县",parent:1409,lon:111.74475714392,lat:39.008730857984},{id:140929,name:"岢岚县",parent:1409,lon:111.54356839151,lat:38.73795692606},{id:140930,name:"河曲县",parent:1409,lon:111.3598292601,lat:39.206439528631},{id:140931,name:"保德县",parent:1409,lon:111.14283481361,lat:38.887135247044},{id:140932,name:"偏关县",parent:1409,lon:111.67190327635,lat:39.464649232881},{id:140981,name:"原平市",parent:1409,lon:112.68212831914,lat:38.838876172747},{id:141002,name:"尧都区",parent:1410,lon:111.47466486211,lat:36.125936912419},{id:141021,name:"曲沃县",parent:1410,lon:111.52704105623,lat:35.704200978944},{id:141022,name:"翼城县",parent:1410,lon:111.83920947478,lat:35.695397582179},{id:141023,name:"襄汾县",parent:1410,lon:111.38595309536,lat:35.874204029953},{id:141024,name:"洪洞县",parent:1410,lon:111.65937789135,lat:36.325514180326},{id:141025,name:"古县",parent:1410,lon:112.01124254119,lat:36.303822531038},{id:141026,name:"安泽县",parent:1410,lon:112.30790366347,lat:36.164295531066},{id:141027,name:"浮山县",parent:1410,lon:111.92840887398,lat:35.945830766006},{id:141028,name:"吉县",parent:1410,lon:110.7281619704,lat:36.158677317484},{id:141029,name:"乡宁县",parent:1410,lon:110.94412841404,lat:35.925119179378},{id:141030,name:"大宁县",parent:1410,lon:110.71080544253,lat:36.432636300532},{id:141031,name:"隰县",parent:1410,lon:111.00996531617,lat:36.711950508392},{id:141032,name:"永和县",parent:1410,lon:110.61789818355,lat:36.737137367462},{id:141033,name:"蒲县",parent:1410,lon:111.16235867375,lat:36.424599698879},{id:141034,name:"汾西县",parent:1410,lon:111.48314834543,lat:36.642781389504},{id:141081,name:"侯马市",parent:1410,lon:111.37150924676,lat:35.62178548788},{id:141082,name:"霍州市",parent:1410,lon:111.8308356262,lat:36.599677829115},{id:141102,name:"离石区",parent:1411,lon:111.31314199347,lat:37.552339254903},{id:141121,name:"文水县",parent:1411,lon:111.96499464978,lat:37.459705909704},{id:141122,name:"交城县",parent:1411,lon:111.81992715422,lat:37.68704558482},{id:141123,name:"兴县",parent:1411,lon:111.0693110824,lat:38.392262583946},{id:141124,name:"临县",parent:1411,lon:110.90114744504,lat:37.962867394138},{id:141125,name:"柳林县",parent:1411,lon:110.87692675415,lat:37.403754146298},{id:141126,name:"石楼县",parent:1411,lon:110.75347868183,lat:37.035145108626},{id:141127,name:"岚县",parent:1411,lon:111.60664055968,lat:38.343813372012},{id:141128,name:"方山县",parent:1411,lon:111.33797892211,lat:37.886687741974},{id:141129,name:"中阳县",parent:1411,lon:111.18590350772,lat:37.266317510804},{id:141130,name:"交口县",parent:1411,lon:111.31592365888,lat:36.957718536996},{id:141181,name:"孝义市",parent:1411,lon:111.63764576631,lat:37.118132778217},{id:141182,name:"汾阳市",parent:1411,lon:111.74599591288,lat:37.316764309106},{id:150102,name:"新城区",parent:1501,lon:111.79132678714,lat:40.929360778776},{id:150103,name:"回民区",parent:1501,lon:111.5968855951,lat:40.838894763788},{id:150104,name:"玉泉区",parent:1501,lon:111.65855345988,lat:40.747386672042},{id:150105,name:"赛罕区",parent:1501,lon:111.87633478501,lat:40.788864152356},{id:150121,name:"土默特左旗",parent:1501,lon:111.23470409261,lat:40.689987016139},{id:150122,name:"托克托县",parent:1501,lon:111.31970020313,lat:40.361083978494},{id:150123,name:"和林格尔县",parent:1501,lon:111.90169267122,lat:40.333868442059},{id:150124,name:"清水河县",parent:1501,lon:111.70623630691,lat:39.889117744685},{id:150125,name:"武川县",parent:1501,lon:111.17957193814,lat:41.1162043874},{id:150202,name:"东河区",parent:1502,lon:110.07014136051,lat:40.589124487996},{id:150203,name:"昆都仑区",parent:1502,lon:109.80683355282,lat:40.658057498224},{id:150204,name:"青山区",parent:1502,lon:109.90367483934,lat:40.658777959476},{id:150205,name:"石拐区",parent:1502,lon:110.29921474522,lat:40.716464297272},{id:150206,name:"白云鄂博矿区",parent:1502,lon:109.98916893149,lat:41.789992502326},{id:150207,name:"九原区",parent:1502,lon:109.9491974592,lat:40.627202278275},{id:150221,name:"土默特右旗",parent:1502,lon:110.69325794788,lat:40.527995764374},{id:150222,name:"固阳县",parent:1502,lon:110.16759209358,lat:41.104725412274},{id:150223,name:"达尔罕茂明安联合旗",parent:1502,lon:110.28618869999,lat:41.943507148267},{id:150302,name:"海勃湾区",parent:1503,lon:106.86148184332,lat:39.734833651275},{id:150303,name:"海南区",parent:1503,lon:106.92539717866,lat:39.296209479392},{id:150304,name:"乌达区",parent:1503,lon:106.72585891133,lat:39.535877701433},{id:150402,name:"红山区",parent:1504,lon:118.99810293421,lat:42.286232134079},{id:150403,name:"元宝山区",parent:1504,lon:119.2681694129,lat:42.184130648802},{id:150404,name:"松山区",parent:1504,lon:118.75710571166,lat:42.268753015289},{id:150421,name:"阿鲁科尔沁旗",parent:1504,lon:120.05324069384,lat:44.195956597411},{id:150422,name:"巴林左旗",parent:1504,lon:119.28076636509,lat:44.203430813088},{id:150423,name:"巴林右旗",parent:1504,lon:118.9460897431,lat:43.684786631454},{id:150424,name:"林西县",parent:1504,lon:118.1102161479,lat:43.771462211479},{id:150425,name:"克什克腾旗",parent:1504,lon:117.35857031121,lat:43.218237176681},{id:150426,name:"翁牛特旗",parent:1504,lon:119.25464294075,lat:42.973979919258},{id:150428,name:"喀喇沁旗",parent:1504,lon:118.66705601357,lat:41.908351449935},{id:150429,name:"宁城县",parent:1504,lon:118.90549936909,lat:41.571040867139},{id:150430,name:"敖汉旗",parent:1504,lon:120.15771329609,lat:42.430592238203},{id:150502,name:"科尔沁区",parent:1505,lon:122.29129415356,lat:43.658290149837},{id:150521,name:"科尔沁左翼中旗",parent:1505,lon:122.49918004442,lat:44.0575792852},{id:150522,name:"科尔沁左翼后旗",parent:1505,lon:122.69734535162,lat:43.196082751665},{id:150523,name:"开鲁县",parent:1505,lon:121.32409399005,lat:43.734941954391},{id:150524,name:"库伦旗",parent:1505,lon:121.5730378859,lat:42.810038215314},{id:150525,name:"奈曼旗",parent:1505,lon:120.94078899637,lat:42.972383010739},{id:150526,name:"扎鲁特旗",parent:1505,lon:120.59602806799,lat:44.82245130193},{id:150581,name:"霍林郭勒市",parent:1505,lon:119.57974844022,lat:45.52810605633},{id:150602,name:"东胜区",parent:1506,lon:109.76441928582,lat:39.805585913146},{id:150603,name:"康巴什区",parent:1506,lon:109.84087569351,lat:39.640791926893},{id:150621,name:"达拉特旗",parent:1506,lon:109.86619090676,lat:40.220264473893},{id:150622,name:"准格尔旗",parent:1506,lon:110.88623942079,lat:39.79472489563},{id:150623,name:"鄂托克前旗",parent:1506,lon:107.59700999652,lat:38.275938287288},{id:150624,name:"鄂托克旗",parent:1506,lon:107.75202023325,lat:39.286296593278},{id:150625,name:"杭锦旗",parent:1506,lon:108.21282820432,lat:40.212873152738},{id:150626,name:"乌审旗",parent:1506,lon:108.88966323666,lat:38.640475147234},{id:150627,name:"伊金霍洛旗",parent:1506,lon:109.70418618841,lat:39.420695918404},{id:150702,name:"海拉尔区",parent:1507,lon:120.04288208342,lat:49.279245456202},{id:150703,name:"扎赉诺尔区",parent:1507,lon:117.72318498536,lat:49.461481568108},{id:150721,name:"阿荣旗",parent:1507,lon:123.17195423134,lat:48.639988741071},{id:150722,name:"莫力达瓦达斡尔族自治旗",parent:1507,lon:124.47443404901,lat:49.104886651718},{id:150723,name:"鄂伦春自治旗",parent:1507,lon:123.81727783782,lat:50.348754571528},{id:150724,name:"鄂温克族自治旗",parent:1507,lon:120.06748322167,lat:48.499136514599},{id:150725,name:"陈巴尔虎旗",parent:1507,lon:119.53520765754,lat:49.605281276761},{id:150726,name:"新巴尔虎左旗",parent:1507,lon:118.62152477909,lat:48.43639187877},{id:150727,name:"新巴尔虎右旗",parent:1507,lon:116.8021843422,lat:48.644978915379},{id:150781,name:"满洲里市",parent:1507,lon:117.60368677619,lat:49.500031717154},{id:150782,name:"牙克石市",parent:1507,lon:121.51266780552,lat:49.329995939597},{id:150783,name:"扎兰屯市",parent:1507,lon:121.92920216562,lat:47.7434033831},{id:150784,name:"额尔古纳市",parent:1507,lon:120.65276364824,lat:51.660818880977},{id:150785,name:"根河市",parent:1507,lon:121.79771324217,lat:51.37592516127},{id:150802,name:"临河区",parent:1508,lon:107.44183964667,lat:40.932018223224},{id:150821,name:"五原县",parent:1508,lon:108.07228406065,lat:41.045426664817},{id:150822,name:"磴口县",parent:1508,lon:106.7000000567,lat:40.55518106886},{id:150823,name:"乌拉特前旗",parent:1508,lon:109.10529705882,lat:40.905993260887},{id:150824,name:"乌拉特中旗",parent:1508,lon:108.46454180074,lat:41.831044527428},{id:150825,name:"乌拉特后旗",parent:1508,lon:106.41380804671,lat:41.53194458396},{id:150826,name:"杭锦后旗",parent:1508,lon:107.03345374933,lat:40.890870780779},{id:150902,name:"集宁区",parent:1509,lon:113.11283222874,lat:41.027765971469},{id:150921,name:"卓资县",parent:1509,lon:112.44337671416,lat:40.958869485808},{id:150922,name:"化德县",parent:1509,lon:114.16573790656,lat:41.979126377538},{id:150923,name:"商都县",parent:1509,lon:113.62215528367,lat:41.726516851564},{id:150924,name:"兴和县",parent:1509,lon:113.77372051762,lat:40.952666521778},{id:150925,name:"凉城县",parent:1509,lon:112.55043247172,lat:40.502780210604},{id:150926,name:"察哈尔右翼前旗",parent:1509,lon:113.24109639163,lat:40.981709597107},{id:150927,name:"察哈尔右翼中旗",parent:1509,lon:112.47074335399,lat:41.428255371505},{id:150928,name:"察哈尔右翼后旗",parent:1509,lon:113.06969288248,lat:41.529483090789},{id:150929,name:"四子王旗",parent:1509,lon:111.58903652853,lat:42.30714575607},{id:150981,name:"丰镇市",parent:1509,lon:113.30867650253,lat:40.558336025296},{id:152201,name:"乌兰浩特市",parent:1522,lon:122.0815338095,lat:46.116943570165},{id:152202,name:"阿尔山市",parent:1522,lon:120.35753387505,lat:47.163696335727},{id:152221,name:"科尔沁右翼前旗",parent:1522,lon:121.22152365342,lat:46.334025380898},{id:152222,name:"科尔沁右翼中旗",parent:1522,lon:121.19851019319,lat:45.242068815668},{id:152223,name:"扎赉特旗",parent:1522,lon:122.38814625782,lat:46.790807786397},{id:152224,name:"突泉县",parent:1522,lon:121.51921179351,lat:45.632866219095},{id:152501,name:"二连浩特市",parent:1525,lon:111.96617841378,lat:43.417780458226},{id:152502,name:"锡林浩特市",parent:1525,lon:116.13694826431,lat:44.078961129099},{id:152522,name:"阿巴嘎旗",parent:1525,lon:114.89347121165,lat:44.276507422523},{id:152523,name:"苏尼特左旗",parent:1525,lon:113.14030742275,lat:44.039238043252},{id:152524,name:"苏尼特右旗",parent:1525,lon:112.91159981029,lat:42.900963777858},{id:152525,name:"东乌珠穆沁旗",parent:1525,lon:117.8104504134,lat:45.826664793338},{id:152526,name:"西乌珠穆沁旗",parent:1525,lon:117.81696314273,lat:44.715902995292},{id:152527,name:"太仆寺旗",parent:1525,lon:115.30455821777,lat:41.906215635041},{id:152528,name:"镶黄旗",parent:1525,lon:114.12058911409,lat:42.368275700926},{id:152529,name:"正镶白旗",parent:1525,lon:115.02434728451,lat:42.554842970033},{id:152530,name:"正蓝旗",parent:1525,lon:115.94010983058,lat:42.674413879311},{id:152531,name:"多伦县",parent:1525,lon:116.4986386762,lat:42.196600874379},{id:152921,name:"阿拉善左旗",parent:1529,lon:105.03824684198,lat:39.547806401013},{id:152922,name:"阿拉善右旗",parent:1529,lon:102.44385599727,lat:40.186228955604},{id:152923,name:"额济纳旗",parent:1529,lon:100.09951238471,lat:41.693799843161},{id:210102,name:"和平区",parent:2101,lon:123.41433166046,lat:41.786474395792},{id:210103,name:"沈河区",parent:2101,lon:123.45355228301,lat:41.798304641933},{id:210104,name:"大东区",parent:2101,lon:123.49892677691,lat:41.835279080775},{id:210105,name:"皇姑区",parent:2101,lon:123.41537632672,lat:41.848913204573},{id:210106,name:"铁西区",parent:2101,lon:123.35862982907,lat:41.805724167622},{id:210111,name:"苏家屯区",parent:2101,lon:123.42628905169,lat:41.589345157565},{id:210112,name:"浑南区",parent:2101,lon:123.5714290915,lat:41.794157738255},{id:210113,name:"沈北新区",parent:2101,lon:123.5186904027,lat:42.043849976101},{id:210114,name:"于洪区",parent:2101,lon:123.2428469731,lat:41.843551023712},{id:210115,name:"辽中区",parent:2101,lon:122.79857550059,lat:41.500330370098},{id:210123,name:"康平县",parent:2101,lon:123.27359808776,lat:42.765540738313},{id:210124,name:"法库县",parent:2101,lon:123.24889709003,lat:42.415297839562},{id:210181,name:"新民市",parent:2101,lon:122.86641820399,lat:42.016776193846},{id:210202,name:"中山区",parent:2102,lon:121.67796628923,lat:38.900436431992},{id:210203,name:"西岗区",parent:2102,lon:121.6258229781,lat:38.913369529939},{id:210204,name:"沙河口区",parent:2102,lon:121.5826178068,lat:38.921778341674},{id:210211,name:"甘井子区",parent:2102,lon:121.52850037949,lat:38.955461760661},{id:210212,name:"旅顺口区",parent:2102,lon:121.29593564059,lat:38.908290673003},{id:210213,name:"金州区",parent:2102,lon:121.95658248044,lat:39.29861907186},{id:210214,name:"普兰店区",parent:2102,lon:122.21603953088,lat:39.651792833684},{id:210224,name:"长海县",parent:2102,lon:122.74826454271,lat:39.26010853029},{id:210281,name:"瓦房店市",parent:2102,lon:121.79069878874,lat:39.70895639619},{id:210283,name:"庄河市",parent:2102,lon:122.934145267,lat:39.858909784172},{id:210302,name:"铁东区",parent:2103,lon:123.02070584518,lat:41.118235115557},{id:210303,name:"铁西区",parent:2103,lon:122.98578619475,lat:41.127872476833},{id:210304,name:"立山区",parent:2103,lon:123.04047350708,lat:41.164172891853},{id:210311,name:"千山区",parent:2103,lon:123.01400529455,lat:41.061328521987},{id:210321,name:"台安县",parent:2103,lon:122.4436825276,lat:41.347099748004},{id:210323,name:"岫岩满族自治县",parent:2103,lon:123.34606899826,lat:40.4031809953},{id:210381,name:"海城市",parent:2103,lon:122.79120058219,lat:40.840354247523},{id:210402,name:"新抚区",parent:2104,lon:123.91136857188,lat:41.869789660664},{id:210403,name:"东洲区",parent:2104,lon:124.02924934124,lat:41.833588275171},{id:210404,name:"望花区",parent:2104,lon:123.78599647355,lat:41.860403588778},{id:210411,name:"顺城区",parent:2104,lon:123.90172355545,lat:41.916014133796},{id:210421,name:"抚顺县",parent:2104,lon:124.1365888338,lat:41.750076669591},{id:210422,name:"新宾满族自治县",parent:2104,lon:124.82786556411,lat:41.635119411},{id:210423,name:"清原满族自治县",parent:2104,lon:124.92431743309,lat:42.118882344791},{id:210502,name:"平山区",parent:2105,lon:123.69257521577,lat:41.240400691895},{id:210503,name:"溪湖区",parent:2105,lon:123.71186569778,lat:41.45615399333},{id:210504,name:"明山区",parent:2105,lon:123.90173685037,lat:41.347752110456},{id:210505,name:"南芬区",parent:2105,lon:123.82788014761,lat:41.122716220999},{id:210521,name:"本溪满族自治县",parent:2105,lon:124.15856431847,lat:41.195670233912},{id:210522,name:"桓仁满族自治县",parent:2105,lon:125.29002787,lat:41.261815877129},{id:210602,name:"元宝区",parent:2106,lon:124.35032097797,lat:40.173197015058},{id:210603,name:"振兴区",parent:2106,lon:124.35556286011,lat:40.067035318752},{id:210604,name:"振安区",parent:2106,lon:124.29219665893,lat:40.211546606919},{id:210624,name:"宽甸满族自治县",parent:2106,lon:124.93410611424,lat:40.766142006754},{id:210681,name:"东港市",parent:2106,lon:123.876870274,lat:39.981217334184},{id:210682,name:"凤城市",parent:2106,lon:124.07296025051,lat:40.579570306659},{id:210702,name:"古塔区",parent:2107,lon:121.1264337451,lat:41.14138819307},{id:210703,name:"凌河区",parent:2107,lon:121.18266452595,lat:41.13438040426},{id:210711,name:"太和区",parent:2107,lon:121.11864471768,lat:41.136830132753},{id:210726,name:"黑山县",parent:2107,lon:122.26073588726,lat:41.799697885598},{id:210727,name:"义县",parent:2107,lon:121.30187737888,lat:41.534928118312},{id:210781,name:"凌海市",parent:2107,lon:121.28557458803,lat:41.152566155094},{id:210782,name:"北镇市",parent:2107,lon:121.86454971392,lat:41.547118023827},{id:210802,name:"站前区",parent:2108,lon:122.2655920301,lat:40.703009826765},{id:210803,name:"西市区",parent:2108,lon:122.21012624622,lat:40.66694904618},{id:210804,name:"鲅鱼圈区",parent:2108,lon:122.17689658108,lat:40.25258448446},{id:210811,name:"老边区",parent:2108,lon:122.33090270339,lat:40.672565437571},{id:210881,name:"盖州市",parent:2108,lon:122.47732679351,lat:40.235441470469},{id:210882,name:"大石桥市",parent:2108,lon:122.57155106236,lat:40.646915451877},{id:210902,name:"海州区",parent:2109,lon:121.65270512981,lat:41.99090249247},{id:210903,name:"新邱区",parent:2109,lon:121.82432100766,lat:42.074627619468},{id:210904,name:"太平区",parent:2109,lon:121.73775310227,lat:42.00945236252},{id:210905,name:"清河门区",parent:2109,lon:121.44683854847,lat:41.754998439335},{id:210911,name:"细河区",parent:2109,lon:121.6275568874,lat:42.043253678758},{id:210921,name:"阜新蒙古族自治县",parent:2109,lon:121.69557778355,lat:42.157500408157},{id:210922,name:"彰武县",parent:2109,lon:122.47417316389,lat:42.523754435526},{id:211002,name:"白塔区",parent:2110,lon:123.17516309965,lat:41.279285816853},{id:211003,name:"文圣区",parent:2110,lon:123.20121638487,lat:41.271122206557},{id:211004,name:"宏伟区",parent:2110,lon:123.22051827536,lat:41.220763801748},{id:211005,name:"弓长岭区",parent:2110,lon:123.42628014056,lat:41.145969646405},{id:211011,name:"太子河区",parent:2110,lon:123.17837427236,lat:41.274593139071},{id:211021,name:"辽阳县",parent:2110,lon:123.21982126206,lat:41.077281158776},{id:211081,name:"灯塔市",parent:2110,lon:123.31257357315,lat:41.420098857086},{id:211102,name:"双台子区",parent:2111,lon:122.03203843649,lat:41.193224510116},{id:211103,name:"兴隆台区",parent:2111,lon:121.96962911034,lat:41.155830887559},{id:211104,name:"大洼区",parent:2111,lon:122.08839097548,lat:40.905899458766},{id:211122,name:"盘山县",parent:2111,lon:121.95216562366,lat:41.193475065521},{id:211202,name:"银州区",parent:2112,lon:123.85851586889,lat:42.248294823185},{id:211204,name:"清河区",parent:2112,lon:124.27578016446,lat:42.508557048192},{id:211221,name:"铁岭县",parent:2112,lon:123.91452868265,lat:42.222764650024},{id:211223,name:"西丰县",parent:2112,lon:124.73850222789,lat:42.712739429005},{id:211224,name:"昌图县",parent:2112,lon:123.94640914451,lat:43.000462116167},{id:211281,name:"调兵山市",parent:2112,lon:123.58434789559,lat:42.442929890534},{id:211282,name:"开原市",parent:2112,lon:124.28377598099,lat:42.471223289128},{id:211302,name:"双塔区",parent:2113,lon:120.48407290204,lat:41.605740189556},{id:211303,name:"龙城区",parent:2113,lon:120.40133294592,lat:41.606226996662},{id:211321,name:"朝阳县",parent:2113,lon:120.30506072918,lat:41.372795903547},{id:211322,name:"建平县",parent:2113,lon:119.63252714815,lat:41.842222586595},{id:211324,name:"喀喇沁左翼蒙古族自治县",parent:2113,lon:119.77553367022,lat:41.143623845035},{id:211381,name:"北票市",parent:2113,lon:120.81188458747,lat:41.865071031498},{id:211382,name:"凌源市",parent:2113,lon:119.27154312683,lat:40.981801128352},{id:211402,name:"连山区",parent:2114,lon:120.6883607801,lat:40.888537340117},{id:211403,name:"龙港区",parent:2114,lon:120.90458597059,lat:40.750992710489},{id:211404,name:"南票区",parent:2114,lon:120.66464506548,lat:41.137035783771},{id:211421,name:"绥中县",parent:2114,lon:120.02630174192,lat:40.305129005823},{id:211422,name:"建昌县",parent:2114,lon:119.83489152944,lat:40.716827705586},{id:211481,name:"兴城市",parent:2114,lon:120.47552727234,lat:40.596284243832},{id:220102,name:"南关区",parent:2201,lon:125.41964874071,lat:43.732190540843},{id:220103,name:"宽城区",parent:2201,lon:125.34489933527,lat:43.998252407951},{id:220104,name:"朝阳区",parent:2201,lon:125.27822648218,lat:43.689108619451},{id:220105,name:"二道区",parent:2201,lon:125.61148484631,lat:43.872222715497},{id:220106,name:"绿园区",parent:2201,lon:125.19133076327,lat:43.912164564835},{id:220112,name:"双阳区",parent:2201,lon:125.71282235937,lat:43.531747024963},{id:220113,name:"九台区",parent:2201,lon:125.96882675838,lat:44.194372106981},{id:220122,name:"农安县",parent:2201,lon:125.09432707273,lat:44.461506089801},{id:220182,name:"榆树市",parent:2201,lon:126.60250076501,lat:44.879422926679},{id:220183,name:"德惠市",parent:2201,lon:125.76904438895,lat:44.510507146916},{id:220202,name:"昌邑区",parent:2202,lon:126.3265130609,lat:44.023897560596},{id:220203,name:"龙潭区",parent:2202,lon:126.69508484724,lat:44.100874364702},{id:220204,name:"船营区",parent:2202,lon:126.38908947188,lat:43.882171941455},{id:220211,name:"丰满区",parent:2202,lon:126.69820214702,lat:43.654515333155},{id:220221,name:"永吉县",parent:2202,lon:126.22756009767,lat:43.601481147552},{id:220281,name:"蛟河市",parent:2202,lon:127.35174186542,lat:43.716756082246},{id:220282,name:"桦甸市",parent:2202,lon:127.04139243957,lat:43.056631099131},{id:220283,name:"舒兰市",parent:2202,lon:127.11677230895,lat:44.335465144158},{id:220284,name:"磐石市",parent:2202,lon:126.17462779101,lat:43.05745611333},{id:220302,name:"铁西区",parent:2203,lon:124.35539155325,lat:43.214159722508},{id:220303,name:"铁东区",parent:2203,lon:124.45989915866,lat:43.101528833564},{id:220322,name:"梨树县",parent:2203,lon:124.38049140672,lat:43.414437629602},{id:220323,name:"伊通满族自治县",parent:2203,lon:125.27114939123,lat:43.346321828789},{id:220381,name:"公主岭市",parent:2203,lon:124.6858822207,lat:43.791826067578},{id:220382,name:"双辽市",parent:2203,lon:123.70852021747,lat:43.767694883217},{id:220402,name:"龙山区",parent:2204,lon:125.2109975481,lat:42.913196595909},{id:220403,name:"西安区",parent:2204,lon:125.15014857862,lat:42.986364946378},{id:220421,name:"东丰县",parent:2204,lon:125.45480890408,lat:42.683933895982},{id:220422,name:"东辽县",parent:2204,lon:125.18493119325,lat:42.94792512736},{id:220502,name:"东昌区",parent:2205,lon:125.9601237078,lat:41.677262396551},{id:220503,name:"二道江区",parent:2205,lon:126.15628012439,lat:41.772625959427},{id:220521,name:"通化县",parent:2205,lon:125.85733217991,lat:41.729156130979},{id:220523,name:"辉南县",parent:2205,lon:126.34272419975,lat:42.557948885604},{id:220524,name:"柳河县",parent:2205,lon:125.91727588294,lat:42.185665412078},{id:220581,name:"梅河口市",parent:2205,lon:125.72351563218,lat:42.542649892656},{id:220582,name:"集安市",parent:2205,lon:125.99899197532,lat:41.251410585346},{id:220602,name:"浑江区",parent:2206,lon:126.39664287376,lat:41.791642228255},{id:220605,name:"江源区",parent:2206,lon:126.82530168684,lat:42.078958587922},{id:220621,name:"抚松县",parent:2206,lon:127.62393805705,lat:42.277909113144},{id:220622,name:"靖宇县",parent:2206,lon:126.90246851455,lat:42.449966505533},{id:220623,name:"长白朝鲜族自治县",parent:2206,lon:127.86435839919,lat:41.584709161363},{id:220681,name:"临江市",parent:2206,lon:127.19171033688,lat:41.816565968987},{id:220702,name:"宁江区",parent:2207,lon:124.86757114896,lat:45.292709616884},{id:220721,name:"前郭尔罗斯蒙古族自治县",parent:2207,lon:124.48165037618,lat:44.86912678932},{id:220722,name:"长岭县",parent:2207,lon:123.8665042888,lat:44.305644527778},{id:220723,name:"乾安县",parent:2207,lon:123.96912337789,lat:44.92691448746},{id:220781,name:"扶余市",parent:2207,lon:125.60981401543,lat:45.171384133354},{id:220802,name:"洮北区",parent:2208,lon:122.78907446427,lat:45.623300921069},{id:220821,name:"镇赉县",parent:2208,lon:123.45227210722,lat:45.956171923796},{id:220822,name:"通榆县",parent:2208,lon:122.74529133311,lat:44.785716778696},{id:220881,name:"洮南市",parent:2208,lon:122.45367732552,lat:45.475604304499},{id:220882,name:"大安市",parent:2208,lon:123.72371415195,lat:45.432438158186},{id:222401,name:"延吉市",parent:2224,lon:129.47130153101,lat:43.05966660114},{id:222402,name:"图们市",parent:2224,lon:129.83431076023,lat:43.03054892373},{id:222403,name:"敦化市",parent:2224,lon:128.23949928011,lat:43.560201838077},{id:222404,name:"珲春市",parent:2224,lon:130.70236659184,lat:43.074719340737},{id:222405,name:"龙井市",parent:2224,lon:129.38381622469,lat:42.844249320769},{id:222406,name:"和龙市",parent:2224,lon:128.91121076889,lat:42.466442285556},{id:222424,name:"汪清县",parent:2224,lon:129.95399441696,lat:43.540143921506},{id:222426,name:"安图县",parent:2224,lon:128.43765169208,lat:42.70103301919},{id:230102,name:"道里区",parent:2301,lon:126.36841846875,lat:45.686139243933},{id:230103,name:"南岗区",parent:2301,lon:126.59025453924,lat:45.66612348458},{id:230104,name:"道外区",parent:2301,lon:126.79557490271,lat:45.799105971955},{id:230108,name:"平房区",parent:2301,lon:126.65771685545,lat:45.773224633239},{id:230109,name:"松北区",parent:2301,lon:126.45227113075,lat:45.941458151669},{id:230110,name:"香坊区",parent:2301,lon:126.79204413625,lat:45.710449322359},{id:230111,name:"呼兰区",parent:2301,lon:126.78775713041,lat:46.079315096502},{id:230112,name:"阿城区",parent:2301,lon:127.12462182332,lat:45.557335189202},{id:230113,name:"双城区",parent:2301,lon:126.20893033512,lat:45.429694282772},{id:230123,name:"依兰县",parent:2301,lon:129.72150310519,lat:46.275637068421},{id:230124,name:"方正县",parent:2301,lon:128.94941872931,lat:45.819769362966},{id:230125,name:"宾县",parent:2301,lon:127.66161209688,lat:45.783825431221},{id:230126,name:"巴彦县",parent:2301,lon:127.32428735381,lat:46.340415542078},{id:230127,name:"木兰县",parent:2301,lon:127.92983800734,lat:46.248171654041},{id:230128,name:"通河县",parent:2301,lon:128.7622323166,lat:46.247857247283},{id:230129,name:"延寿县",parent:2301,lon:128.4639428653,lat:45.489520215745},{id:230183,name:"尚志市",parent:2301,lon:128.31617023054,lat:45.083893011118},{id:230184,name:"五常市",parent:2301,lon:127.49111263245,lat:44.772543560859},{id:230202,name:"龙沙区",parent:2302,lon:123.94483825767,lat:47.301073163863},{id:230203,name:"建华区",parent:2302,lon:124.02127875657,lat:47.404865706359},{id:230204,name:"铁锋区",parent:2302,lon:124.26293093367,lat:47.303488569291},{id:230205,name:"昂昂溪区",parent:2302,lon:123.97293464894,lat:47.104048383337},{id:230206,name:"富拉尔基区",parent:2302,lon:123.57199835236,lat:47.228951853753},{id:230207,name:"碾子山区",parent:2302,lon:122.93233528482,lat:47.585869259054},{id:230208,name:"梅里斯达斡尔族区",parent:2302,lon:124.00548681519,lat:47.583080065198},{id:230221,name:"龙江县",parent:2302,lon:123.08910277315,lat:47.258895031048},{id:230223,name:"依安县",parent:2302,lon:125.29463341876,lat:47.70687276451},{id:230224,name:"泰来县",parent:2302,lon:123.55804791893,lat:46.603290111422},{id:230225,name:"甘南县",parent:2302,lon:123.84689963764,lat:48.011583079958},{id:230227,name:"富裕县",parent:2302,lon:124.57174679759,lat:47.66582009392},{id:230229,name:"克山县",parent:2302,lon:125.70647087609,lat:48.16709075607},{id:230230,name:"克东县",parent:2302,lon:126.35213605416,lat:48.009015428979},{id:230231,name:"拜泉县",parent:2302,lon:126.02178604309,lat:47.59225565379},{id:230281,name:"讷河市",parent:2302,lon:125.07655310394,lat:48.481453388811},{id:230302,name:"鸡冠区",parent:2303,lon:130.95993684965,lat:45.307610212685},{id:230303,name:"恒山区",parent:2303,lon:130.91626680525,lat:45.138570833129},{id:230304,name:"滴道区",parent:2303,lon:130.73483586173,lat:45.354342346984},{id:230305,name:"梨树区",parent:2303,lon:130.76523847274,lat:45.097064304174},{id:230306,name:"城子河区",parent:2303,lon:131.02770429868,lat:45.379689760283},{id:230307,name:"麻山区",parent:2303,lon:130.56688686698,lat:45.205825834254},{id:230321,name:"鸡东县",parent:2303,lon:131.22565372007,lat:45.273228207889},{id:230381,name:"虎林市",parent:2303,lon:133.12110607261,lat:45.997276203515},{id:230382,name:"密山市",parent:2303,lon:132.17656238974,lat:45.469765426971},{id:230402,name:"向阳区",parent:2304,lon:130.30123313444,lat:47.350919505165},{id:230403,name:"工农区",parent:2304,lon:130.27719618578,lat:47.327770216306},{id:230404,name:"南山区",parent:2304,lon:130.28176460828,lat:47.298820938262},{id:230405,name:"兴安区",parent:2304,lon:130.24437533634,lat:47.23371006572},{id:230406,name:"东山区",parent:2304,lon:130.24750143952,lat:47.483737355287},{id:230407,name:"兴山区",parent:2304,lon:130.32664592783,lat:47.393964799831},{id:230421,name:"萝北县",parent:2304,lon:130.76133324012,lat:47.74693489479},{id:230422,name:"绥滨县",parent:2304,lon:131.85659492327,lat:47.483007019685},{id:230502,name:"尖山区",parent:2305,lon:131.17851398363,lat:46.658524603822},{id:230503,name:"岭东区",parent:2305,lon:131.24602424779,lat:46.459521565337},{id:230505,name:"四方台区",parent:2305,lon:131.30870692831,lat:46.669775046181},{id:230506,name:"宝山区",parent:2305,lon:131.56483592752,lat:46.5292279819},{id:230521,name:"集贤县",parent:2305,lon:131.15055588277,lat:46.818437079003},{id:230522,name:"友谊县",parent:2305,lon:131.8549989164,lat:46.788592814562},{id:230523,name:"宝清县",parent:2305,lon:132.40927864827,lat:46.409383212717},{id:230524,name:"饶河县",parent:2305,lon:133.7292586825,lat:47.072628542857},{id:230602,name:"萨尔图区",parent:2306,lon:125.0424515298,lat:46.663311354817},{id:230603,name:"龙凤区",parent:2306,lon:125.14176665986,lat:46.53556824178},{id:230604,name:"让胡路区",parent:2306,lon:124.83842676542,lat:46.729160383306},{id:230605,name:"红岗区",parent:2306,lon:124.91428498269,lat:46.420778588396},{id:230606,name:"大同区",parent:2306,lon:124.69907739268,lat:46.070051001663},{id:230621,name:"肇州县",parent:2306,lon:125.3089692416,lat:45.837071583611},{id:230622,name:"肇源县",parent:2306,lon:124.76904364094,lat:45.647200471445},{id:230623,name:"林甸县",parent:2306,lon:124.8967829092,lat:47.159692937417},{id:230624,name:"杜尔伯特蒙古族自治县",parent:2306,lon:124.24651264677,lat:46.561613536188},{id:230702,name:"伊春区",parent:2307,lon:128.90057964259,lat:47.741959238189},{id:230703,name:"南岔区",parent:2307,lon:129.5388741261,lat:46.964156236684},{id:230704,name:"友好区",parent:2307,lon:128.46596407584,lat:48.128001664241},{id:230705,name:"西林区",parent:2307,lon:129.22725517859,lat:47.500962038143},{id:230706,name:"翠峦区",parent:2307,lon:128.3654114401,lat:47.589933517239},{id:230707,name:"新青区",parent:2307,lon:129.78735692847,lat:48.216126405552},{id:230708,name:"美溪区",parent:2307,lon:129.40940395803,lat:47.768892089215},{id:230709,name:"金山屯区",parent:2307,lon:129.77190301946,lat:47.498543610736},{id:230710,name:"五营区",parent:2307,lon:129.061485473,lat:48.229327781105},{id:230711,name:"乌马河区",parent:2307,lon:128.79469008399,lat:47.549368172364},{id:230712,name:"汤旺河区",parent:2307,lon:129.53875384299,lat:48.563262601637},{id:230713,name:"带岭区",parent:2307,lon:128.86147460713,lat:47.090162166708},{id:230714,name:"乌伊岭区",parent:2307,lon:129.49893645126,lat:48.836655251992},{id:230715,name:"红星区",parent:2307,lon:129.25191896484,lat:48.298020306125},{id:230716,name:"上甘岭区",parent:2307,lon:129.02239948161,lat:48.036509272978},{id:230722,name:"嘉荫县",parent:2307,lon:130.00824972425,lat:48.769519787363},{id:230781,name:"铁力市",parent:2307,lon:128.55251746527,lat:46.866328682376},{id:230803,name:"向阳区",parent:2308,lon:130.36295545541,lat:46.826706255713},{id:230804,name:"前进区",parent:2308,lon:130.39791016311,lat:46.809721977545},{id:230805,name:"东风区",parent:2308,lon:130.51740321928,lat:46.894910414945},{id:230811,name:"郊区",parent:2308,lon:130.26396912133,lat:46.775887398703},{id:230822,name:"桦南县",parent:2308,lon:130.63701542096,lat:46.306671717134},{id:230826,name:"桦川县",parent:2308,lon:130.9630176143,lat:46.989258424239},{id:230828,name:"汤原县",parent:2308,lon:130.07240618628,lat:46.988318509463},{id:230881,name:"同江市",parent:2308,lon:133.27332836382,lat:47.833684686564},{id:230882,name:"富锦市",parent:2308,lon:132.53900135629,lat:47.170672548244},{id:230883,name:"抚远市",parent:2308,lon:134.39306261929,lat:47.955162063941},{id:230902,name:"新兴区",parent:2309,lon:130.89318834856,lat:45.8134935903},{id:230903,name:"桃山区",parent:2309,lon:130.9925031193,lat:45.770092507257},{id:230904,name:"茄子河区",parent:2309,lon:131.47522375459,lat:45.883167710316},{id:230921,name:"勃利县",parent:2309,lon:130.81816940292,lat:45.930545419106},{id:231002,name:"东安区",parent:2310,lon:129.86044675749,lat:44.408404499377},{id:231003,name:"阳明区",parent:2310,lon:129.78391508059,lat:44.58797510378},{id:231004,name:"爱民区",parent:2310,lon:129.54456588932,lat:44.685920648737},{id:231005,name:"西安区",parent:2310,lon:129.58492424063,lat:44.491714149262},{id:231025,name:"林口县",parent:2310,lon:130.02318050895,lat:45.396101732571},{id:231081,name:"绥芬河市",parent:2310,lon:131.10245653286,lat:44.408005174587},{id:231083,name:"海林市",parent:2310,lon:129.2214141346,lat:44.903617439366},{id:231084,name:"宁安市",parent:2310,lon:129.21531714201,lat:44.058017259883},{id:231085,name:"穆棱市",parent:2310,lon:130.39552588753,lat:44.576869855321},{id:231086,name:"东宁市",parent:2310,lon:130.82976155466,lat:44.085228695883},{id:231102,name:"爱辉区",parent:2311,lon:126.76426227527,lat:50.21824505447},{id:231121,name:"嫩江县",parent:2311,lon:125.77127508963,lat:49.621866015064},{id:231123,name:"逊克县",parent:2311,lon:128.37087710653,lat:48.886739946849},{id:231124,name:"孙吴县",parent:2311,lon:127.31667232079,lat:49.370655539474},{id:231181,name:"北安市",parent:2311,lon:127.11154600578,lat:48.115945723953},{id:231182,name:"五大连池市",parent:2311,lon:126.63450133401,lat:48.749166077372},{id:231202,name:"北林区",parent:2312,lon:126.95786274455,lat:46.747536778515},{id:231221,name:"望奎县",parent:2312,lon:126.59302313008,lat:46.869481261175},{id:231222,name:"兰西县",parent:2312,lon:126.21354291791,lat:46.358350137762},{id:231223,name:"青冈县",parent:2312,lon:125.96052417701,lat:46.846560509098},{id:231224,name:"庆安县",parent:2312,lon:127.84448982607,lat:47.070365971064},{id:231225,name:"明水县",parent:2312,lon:125.84126811337,lat:47.201247327838},{id:231226,name:"绥棱县",parent:2312,lon:127.71941343154,lat:47.584142706971},{id:231281,name:"安达市",parent:2312,lon:125.38455235789,lat:46.535467128182},{id:231282,name:"肇东市",parent:2312,lon:125.84973124624,lat:46.009305917541},{id:231283,name:"海伦市",parent:2312,lon:126.89712924928,lat:47.447269604837},{id:232721,name:"呼玛县",parent:2327,lon:124.91200234302,lat:51.813130087054},{id:232722,name:"塔河县",parent:2327,lon:124.64020335752,lat:52.716506252523},{id:232723,name:"漠河县",parent:2327,lon:122.71572081474,lat:52.945658619469},{id:310101,name:"黄浦区",parent:3101,lon:121.49607206403,lat:31.227203440769},{id:310104,name:"徐汇区",parent:3101,lon:121.44623500473,lat:31.169152089592},{id:310105,name:"长宁区",parent:3101,lon:121.38761610866,lat:31.213301496814},{id:310106,name:"静安区",parent:3101,lon:121.454755557,lat:31.235380803488},{id:310107,name:"普陀区",parent:3101,lon:121.39844294375,lat:31.263742929076},{id:310109,name:"虹口区",parent:3101,lon:121.49191854079,lat:31.282497228987},{id:310110,name:"杨浦区",parent:3101,lon:121.53571659963,lat:31.304510479542},{id:310112,name:"闵行区",parent:3101,lon:121.42502428093,lat:31.093537540382},{id:310113,name:"宝山区",parent:3101,lon:121.40904121845,lat:31.398622694467},{id:310114,name:"嘉定区",parent:3101,lon:121.25101353756,lat:31.364338055434},{id:310115,name:"浦东新区",parent:3101,lon:121.63848131409,lat:31.230895349134},{id:310116,name:"金山区",parent:3101,lon:121.24840817975,lat:30.835080777082},{id:310117,name:"松江区",parent:3101,lon:121.22679050142,lat:31.021244628099},{id:310118,name:"青浦区",parent:3101,lon:121.09142524282,lat:31.130862397997},{id:310120,name:"奉贤区",parent:3101,lon:121.56064167963,lat:30.915122452606},{id:310151,name:"崇明区",parent:3101,lon:121.56909950183,lat:31.52860136251},{id:320102,name:"玄武区",parent:3201,lon:118.84893734485,lat:32.07176566029},{id:320104,name:"秦淮区",parent:3201,lon:118.81722069709,lat:32.007969136143},{id:320105,name:"建邺区",parent:3201,lon:118.71334176065,lat:32.012518207527},{id:320106,name:"鼓楼区",parent:3201,lon:118.76505691316,lat:32.068604458801},{id:320111,name:"浦口区",parent:3201,lon:118.56912478518,lat:32.05906230054},{id:320113,name:"栖霞区",parent:3201,lon:118.96372475912,lat:32.16942425653},{id:320114,name:"雨花台区",parent:3201,lon:118.72197857905,lat:31.954552108797},{id:320115,name:"江宁区",parent:3201,lon:118.83541822485,lat:31.863971430281},{id:320116,name:"六合区",parent:3201,lon:118.84816604456,lat:32.400640243232},{id:320117,name:"溧水区",parent:3201,lon:119.03955092741,lat:31.59098879063},{id:320118,name:"高淳区",parent:3201,lon:118.9648579166,lat:31.363673442531},{id:320205,name:"锡山区",parent:3202,lon:120.49100821099,lat:31.615587416408},{id:320206,name:"惠山区",parent:3202,lon:120.21529447552,lat:31.656376333546},{id:320211,name:"滨湖区",parent:3202,lon:120.24850182101,lat:31.466578565031},{id:320213,name:"梁溪区",parent:3202,lon:120.30311934862,lat:31.57842412658},{id:320214,name:"新吴区",parent:3202,lon:120.43882764569,lat:31.519399416228},{id:320281,name:"江阴市",parent:3202,lon:120.31067896716,lat:31.837425422051},{id:320282,name:"宜兴市",parent:3202,lon:119.79026529658,lat:31.362244911879},{id:320302,name:"鼓楼区",parent:3203,lon:117.29612858533,lat:34.301409800357},{id:320303,name:"云龙区",parent:3203,lon:117.27617608552,lat:34.22248667954},{id:320305,name:"贾汪区",parent:3203,lon:117.49824588411,lat:34.410527773608},{id:320311,name:"泉山区",parent:3203,lon:117.1755840183,lat:34.241946575704},{id:320312,name:"铜山区",parent:3203,lon:117.22940160979,lat:34.348981539618},{id:320321,name:"丰县",parent:3203,lon:116.61573315373,lat:34.695773328628},{id:320322,name:"沛县",parent:3203,lon:116.91146840815,lat:34.700648164694},{id:320324,name:"睢宁县",parent:3203,lon:117.89036426969,lat:33.946570640866},{id:320381,name:"新沂市",parent:3203,lon:118.34412147229,lat:34.284442736534},{id:320382,name:"邳州市",parent:3203,lon:117.90306004276,lat:34.402946394877},{id:320402,name:"天宁区",parent:3204,lon:120.00176576036,lat:31.777803256373},{id:320404,name:"钟楼区",parent:3204,lon:119.91243874189,lat:31.79851137455},{id:320411,name:"新北区",parent:3204,lon:119.90315390841,lat:31.939946043961},{id:320412,name:"武进区",parent:3204,lon:119.94343167667,lat:31.672903473648},{id:320413,name:"金坛区",parent:3204,lon:119.53415121469,lat:31.728356462124},{id:320481,name:"溧阳市",parent:3204,lon:119.38283894831,lat:31.425241931012},{id:320505,name:"虎丘区",parent:3205,lon:120.47842441781,lat:31.351869327642},{id:320506,name:"吴中区",parent:3205,lon:120.36577637267,lat:31.179869740166},{id:320507,name:"相城区",parent:3205,lon:120.64685298258,lat:31.450775031111},{id:320508,name:"姑苏区",parent:3205,lon:120.61427934735,lat:31.326429631222},{id:320509,name:"吴江区",parent:3205,lon:120.65734994979,lat:31.000093080624},{id:320581,name:"常熟市",parent:3205,lon:120.83148596516,lat:31.669446047798},{id:320582,name:"张家港市",parent:3205,lon:120.62727852834,lat:31.907812337769},{id:320583,name:"昆山市",parent:3205,lon:120.96580778411,lat:31.328936795497},{id:320585,name:"太仓市",parent:3205,lon:121.15897767248,lat:31.571904296415},{id:320602,name:"崇川区",parent:3206,lon:120.88759857738,lat:31.962660695271},{id:320611,name:"港闸区",parent:3206,lon:120.82387483505,lat:32.071256422788},{id:320612,name:"通州区",parent:3206,lon:121.07249442751,lat:32.067098964254},{id:320621,name:"海安县",parent:3206,lon:120.47392692165,lat:32.553985066143},{id:320623,name:"如东县",parent:3206,lon:121.05924442185,lat:32.387662145338},{id:320681,name:"启东市",parent:3206,lon:121.67882229665,lat:31.871301838383},{id:320682,name:"如皋市",parent:3206,lon:120.580143985,lat:32.273616272606},{id:320684,name:"海门市",parent:3206,lon:121.31247014367,lat:31.956038868177},{id:320703,name:"连云区",parent:3207,lon:119.46701669742,lat:34.638921829102},{id:320706,name:"海州区",parent:3207,lon:119.16219625272,lat:34.514160144549},{id:320707,name:"赣榆区",parent:3207,lon:119.07859315245,lat:34.921103960847},{id:320722,name:"东海县",parent:3207,lon:118.79230964695,lat:34.556383225488},{id:320723,name:"灌云县",parent:3207,lon:119.39277519918,lat:34.406832167104},{id:320724,name:"灌南县",parent:3207,lon:119.44639688138,lat:34.175194871764},{id:320803,name:"淮安区",parent:3208,lon:119.31329513264,lat:33.528348966942},{id:320804,name:"淮阴区",parent:3208,lon:118.93566378046,lat:33.664059258402},{id:320812,name:"清江浦区",parent:3208,lon:119.04477992516,lat:33.494331166176},{id:320813,name:"洪泽区",parent:3208,lon:118.83000637571,lat:33.230193969134},{id:320826,name:"涟水县",parent:3208,lon:119.32495655858,lat:33.884155184174},{id:320830,name:"盱眙县",parent:3208,lon:118.53823246743,lat:32.971613125783},{id:320831,name:"金湖县",parent:3208,lon:119.14563113528,lat:33.02583443776},{id:320902,name:"亭湖区",parent:3209,lon:120.20635135183,lat:33.378948242447},{id:320903,name:"盐都区",parent:3209,lon:119.96850073907,lat:33.265898266894},{id:320904,name:"大丰区",parent:3209,lon:120.58506449027,lat:33.265908526078},{id:320921,name:"响水县",parent:3209,lon:119.79760156833,lat:34.232797426966},{id:320922,name:"滨海县",parent:3209,lon:120.02660867811,lat:34.092317176392},{id:320923,name:"阜宁县",parent:3209,lon:119.70499024879,lat:33.71197604815},{id:320924,name:"射阳县",parent:3209,lon:120.27950474858,lat:33.745462250481},{id:320925,name:"建湖县",parent:3209,lon:119.83649673997,lat:33.488907986634},{id:320981,name:"东台市",parent:3209,lon:120.56376947144,lat:32.791442548289},{id:321002,name:"广陵区",parent:3210,lon:119.48667775758,lat:32.395670095608},{id:321003,name:"邗江区",parent:3210,lon:119.45826385876,lat:32.425830218252},{id:321012,name:"江都区",parent:3210,lon:119.71731808779,lat:32.549160271061},{id:321023,name:"宝应县",parent:3210,lon:119.45565078384,lat:33.225833658364},{id:321081,name:"仪征市",parent:3210,lon:119.20095502034,lat:32.392636465119},{id:321084,name:"高邮市",parent:3210,lon:119.50340701788,lat:32.835943695939},{id:321102,name:"京口区",parent:3211,lon:119.5848217021,lat:32.201996095087},{id:321111,name:"润州区",parent:3211,lon:119.43092031591,lat:32.19664652864},{id:321112,name:"丹徒区",parent:3211,lon:119.4989723505,lat:32.114041364762},{id:321181,name:"丹阳市",parent:3211,lon:119.64430350829,lat:31.960263455083},{id:321182,name:"扬中市",parent:3211,lon:119.84513751029,lat:32.189469410323},{id:321183,name:"句容市",parent:3211,lon:119.20707980344,lat:31.932634957798},{id:321202,name:"海陵区",parent:3212,lon:119.92117442715,lat:32.488257837661},{id:321203,name:"高港区",parent:3212,lon:119.92574377278,lat:32.330075314459},{id:321204,name:"姜堰区",parent:3212,lon:120.06704535319,lat:32.532466165694},{id:321281,name:"兴化市",parent:3212,lon:119.99641814069,lat:32.961954308808},{id:321282,name:"靖江市",parent:3212,lon:120.27689862725,lat:32.039442789049},{id:321283,name:"泰兴市",parent:3212,lon:120.135346292,lat:32.213678940627},{id:321302,name:"宿城区",parent:3213,lon:118.27463983758,lat:33.862829055956},{id:321311,name:"宿豫区",parent:3213,lon:118.34369284322,lat:34.009529591744},{id:321322,name:"沭阳县",parent:3213,lon:118.85774971753,lat:34.154013659597},{id:321323,name:"泗阳县",parent:3213,lon:118.65694128685,lat:33.708800542074},{id:321324,name:"泗洪县",parent:3213,lon:118.3125512525,lat:33.425955266134},{id:330102,name:"上城区",parent:3301,lon:120.18012613889,lat:30.232357639233},{id:330103,name:"下城区",parent:3301,lon:120.18653502974,lat:30.310287874904},{id:330104,name:"江干区",parent:3301,lon:120.30382324371,lat:30.315832099954},{id:330105,name:"拱墅区",parent:3301,lon:120.15884493257,lat:30.344732010358},{id:330106,name:"西湖区",parent:3301,lon:120.08899292561,lat:30.207036169515},{id:330108,name:"滨江区",parent:3301,lon:120.19237042946,lat:30.187587607727},{id:330109,name:"萧山区",parent:3301,lon:120.38908074858,lat:30.172893839066},{id:330110,name:"余杭区",parent:3301,lon:119.99808906005,lat:30.388119980754},{id:330111,name:"富阳区",parent:3301,lon:119.81096609176,lat:29.977808419757},{id:330122,name:"桐庐县",parent:3301,lon:119.5604618667,lat:29.836582478934},{id:330127,name:"淳安县",parent:3301,lon:118.89576489835,lat:29.614714225509},{id:330182,name:"建德市",parent:3301,lon:119.37953322636,lat:29.487115319259},{id:330185,name:"临安市",parent:3301,lon:119.35029466684,lat:30.207683765784},{id:330203,name:"海曙区",parent:3302,lon:121.5353945773,lat:29.876800511994},{id:330204,name:"江东区",parent:3302,lon:121.5980008523,lat:29.87539247212},{id:330205,name:"江北区",parent:3302,lon:121.49329902932,lat:29.96639219001},{id:330206,name:"北仑区",parent:3302,lon:121.88941885595,lat:29.868332319465},{id:330211,name:"镇海区",parent:3302,lon:121.61663045279,lat:29.995449382446},{id:330212,name:"鄞州区",parent:3302,lon:121.53783481355,lat:29.78545893326},{id:330225,name:"象山县",parent:3302,lon:121.85866557564,lat:29.378771009449},{id:330226,name:"宁海县",parent:3302,lon:121.46362436946,lat:29.314474088639},{id:330281,name:"余姚市",parent:3302,lon:121.15277918829,lat:29.996456719011},{id:330282,name:"慈溪市",parent:3302,lon:121.33840825932,lat:30.189257122714},{id:330283,name:"奉化市",parent:3302,lon:121.37718563878,lat:29.617073470394},{id:330302,name:"鹿城区",parent:3303,lon:120.56579853224,lat:28.067865050513},{id:330303,name:"龙湾区",parent:3303,lon:120.81107773683,lat:27.913340713281},{id:330304,name:"瓯海区",parent:3303,lon:120.55840358596,lat:27.972177190591},{id:330305,name:"洞头区",parent:3303,lon:121.15231818926,lat:27.884883705563},{id:330324,name:"永嘉县",parent:3303,lon:120.66880872172,lat:28.336390468031},{id:330326,name:"平阳县",parent:3303,lon:120.38938725481,lat:27.637700763436},{id:330327,name:"苍南县",parent:3303,lon:120.44554278341,lat:27.434436382653},{id:330328,name:"文成县",parent:3303,lon:120.02842209847,lat:27.81271343668},{id:330329,name:"泰顺县",parent:3303,lon:119.88486761051,lat:27.536406837073},{id:330381,name:"瑞安市",parent:3303,lon:120.46834036335,lat:27.82923052833},{id:330382,name:"乐清市",parent:3303,lon:121.01617490318,lat:28.26183898877},{id:330402,name:"南湖区",parent:3304,lon:120.84453542647,lat:30.716357921235},{id:330411,name:"秀洲区",parent:3304,lon:120.69190746888,lat:30.777678969089},{id:330421,name:"嘉善县",parent:3304,lon:120.90887281597,lat:30.905748069187},{id:330424,name:"海盐县",parent:3304,lon:120.88557558868,lat:30.526042585394},{id:330481,name:"海宁市",parent:3304,lon:120.61872710778,lat:30.442176799317},{id:330482,name:"平湖市",parent:3304,lon:121.10583903762,lat:30.716528587208},{id:330483,name:"桐乡市",parent:3304,lon:120.49041120216,lat:30.612341030328},{id:330502,name:"吴兴区",parent:3305,lon:120.08891886954,lat:30.808545234564},{id:330503,name:"南浔区",parent:3305,lon:120.30914675944,lat:30.766830865515},{id:330521,name:"德清县",parent:3305,lon:120.04983138985,lat:30.567582881042},{id:330522,name:"长兴县",parent:3305,lon:119.81941984715,lat:30.983352787535},{id:330523,name:"安吉县",parent:3305,lon:119.58315792627,lat:30.626370494334},{id:330602,name:"越城区",parent:3306,lon:120.61832665179,lat:30.015792939952},{id:330603,name:"柯桥区",parent:3306,lon:120.54020524674,lat:29.999366392659},{id:330604,name:"上虞区",parent:3306,lon:120.87986642651,lat:30.00645910703},{id:330624,name:"新昌县",parent:3306,lon:120.97570154218,lat:29.414313976622},{id:330681,name:"诸暨市",parent:3306,lon:120.28143440994,lat:29.699399516981},{id:330683,name:"嵊州市",parent:3306,lon:120.76143097735,lat:29.591008031468},{id:330702,name:"婺城区",parent:3307,lon:119.51757234284,lat:28.984539673649},{id:330703,name:"金东区",parent:3307,lon:119.80922749595,lat:29.155526265081},{id:330723,name:"武义县",parent:3307,lon:119.72083317224,lat:28.774055561598},{id:330726,name:"浦江县",parent:3307,lon:119.91048752626,lat:29.526266410155},{id:330727,name:"磐安县",parent:3307,lon:120.56744721648,lat:29.04420249188},{id:330781,name:"兰溪市",parent:3307,lon:119.53333759742,lat:29.284102536325},{id:330782,name:"义乌市",parent:3307,lon:120.06729564867,lat:29.306443911839},{id:330783,name:"东阳市",parent:3307,lon:120.38081772668,lat:29.237426947341},{id:330784,name:"永康市",parent:3307,lon:120.10868352215,lat:28.940176566983},{id:330802,name:"柯城区",parent:3308,lon:118.8130029548,lat:28.998535292058},{id:330803,name:"衢江区",parent:3308,lon:118.93904421103,lat:28.941983087299},{id:330822,name:"常山县",parent:3308,lon:118.54767046745,lat:28.973666155532},{id:330824,name:"开化县",parent:3308,lon:118.33165006627,lat:29.18993794143},{id:330825,name:"龙游县",parent:3308,lon:119.19866420604,lat:28.997079389242},{id:330881,name:"江山市",parent:3308,lon:118.60708619901,lat:28.581969944141},{id:330902,name:"定海区",parent:3309,lon:122.07302446869,lat:30.06484716159},{id:330903,name:"普陀区",parent:3309,lon:122.27876474766,lat:29.871101375771},{id:330921,name:"岱山县",parent:3309,lon:122.26035914727,lat:30.319415586505},{id:330922,name:"嵊泗县",parent:3309,lon:122.48168649477,lat:30.705003931261},{id:331002,name:"椒江区",parent:3310,lon:121.46737635254,lat:28.657015656331},{id:331003,name:"黄岩区",parent:3310,lon:121.08831775253,lat:28.604655275769},{id:331004,name:"路桥区",parent:3310,lon:121.45024245576,lat:28.548659438247},{id:331021,name:"玉环县",parent:3310,lon:121.28442605522,lat:28.179738010609},{id:331022,name:"三门县",parent:3310,lon:121.48822880178,lat:29.017744246024},{id:331023,name:"天台县",parent:3310,lon:120.98556322305,lat:29.151778640761},{id:331024,name:"仙居县",parent:3310,lon:120.64060572539,lat:28.738741988629},{id:331081,name:"温岭市",parent:3310,lon:121.42104597878,lat:28.400553817107},{id:331082,name:"临海市",parent:3310,lon:121.22191927302,lat:28.857388590573},{id:331102,name:"莲都区",parent:3311,lon:119.84995169272,lat:28.447361330679},{id:331121,name:"青田县",parent:3311,lon:120.14673815822,lat:28.208428623515},{id:331122,name:"缙云县",parent:3311,lon:120.19188183536,lat:28.666326291231},{id:331123,name:"遂昌县",parent:3311,lon:119.08934238361,lat:28.525410332354},{id:331124,name:"松阳县",parent:3311,lon:119.44101320226,lat:28.41158038279},{id:331125,name:"云和县",parent:3311,lon:119.54173007925,lat:28.131320418187},{id:331126,name:"庆元县",parent:3311,lon:119.15761923529,lat:27.62804612399},{id:331127,name:"景宁畲族自治县",parent:3311,lon:119.61928969769,lat:27.896052631241},{id:331181,name:"龙泉市",parent:3311,lon:119.08229725532,lat:28.050639306133},{id:340102,name:"瑶海区",parent:3401,lon:117.33122366889,lat:31.905375399342},{id:340103,name:"庐阳区",parent:3401,lon:117.24783468704,lat:31.912901051134},{id:340104,name:"蜀山区",parent:3401,lon:117.23128044361,lat:31.838184928803},{id:340111,name:"包河区",parent:3401,lon:117.35391279997,lat:31.790724288122},{id:340121,name:"长丰县",parent:3401,lon:117.17443835982,lat:32.286111151904},{id:340122,name:"肥东县",parent:3401,lon:117.57585687571,lat:32.003189086973},{id:340123,name:"肥西县",parent:3401,lon:117.03626088173,lat:31.732638067993},{id:340124,name:"庐江县",parent:3401,lon:117.33587636592,lat:31.228413825483},{id:340181,name:"巢湖市",parent:3401,lon:117.7717833762,lat:31.676058567558},{id:340202,name:"镜湖区",parent:3402,lon:118.38724548573,lat:31.351965582559},{id:340203,name:"弋江区",parent:3402,lon:118.33596966824,lat:31.216676779902},{id:340207,name:"鸠江区",parent:3402,lon:118.49397424134,lat:31.375481957255},{id:340208,name:"三山区",parent:3402,lon:118.3117984229,lat:31.212824987426},{id:340221,name:"芜湖县",parent:3402,lon:118.53246218925,lat:31.191698969307},{id:340222,name:"繁昌县",parent:3402,lon:118.2001179722,lat:31.12832958697},{id:340223,name:"南陵县",parent:3402,lon:118.28821596372,lat:30.8959818627},{id:340225,name:"无为县",parent:3402,lon:117.82005160307,lat:31.22249365658},{id:340302,name:"龙子湖区",parent:3403,lon:117.47832568768,lat:32.926342521363},{id:340303,name:"蚌山区",parent:3403,lon:117.35635619096,lat:32.881522954878},{id:340304,name:"禹会区",parent:3403,lon:117.3055150635,lat:32.889696360476},{id:340311,name:"淮上区",parent:3403,lon:117.38818423314,lat:33.023815185908},{id:340321,name:"怀远县",parent:3403,lon:117.04208647136,lat:33.037130745984},{id:340322,name:"五河县",parent:3403,lon:117.764210401,lat:33.138465310137},{id:340323,name:"固镇县",parent:3403,lon:117.35403405942,lat:33.272840934373},{id:340402,name:"大通区",parent:3404,lon:117.11713761331,lat:32.643535866152},{id:340403,name:"田家庵区",parent:3404,lon:117.01468721736,lat:32.564363767687},{id:340404,name:"谢家集区",parent:3404,lon:116.90877214688,lat:32.544400181652},{id:340405,name:"八公山区",parent:3404,lon:116.82552132442,lat:32.652390199515},{id:340406,name:"潘集区",parent:3404,lon:116.86619300469,lat:32.800694621968},{id:340421,name:"凤台县",parent:3404,lon:116.58490534783,lat:32.791416300893},{id:340422,name:"寿县",parent:3404,lon:116.77854729708,lat:32.287816164667},{id:340503,name:"花山区",parent:3405,lon:118.57834785585,lat:31.711627118315},{id:340504,name:"雨山区",parent:3405,lon:118.55455812086,lat:31.659719310829},{id:340506,name:"博望区",parent:3405,lon:118.85133588367,lat:31.56550080289},{id:340521,name:"当涂县",parent:3405,lon:118.64667323993,lat:31.503024380618},{id:340522,name:"含山县",parent:3405,lon:118.51588184662,lat:31.68852815888},{id:340523,name:"和县",parent:3405,lon:118.29986391138,lat:31.757568623793},{id:340602,name:"杜集区",parent:3406,lon:116.95496714841,lat:34.113251414374},{id:340603,name:"相山区",parent:3406,lon:116.72896156685,lat:33.988334722309},{id:340604,name:"烈山区",parent:3406,lon:116.9081817805,lat:33.84405351094},{id:340621,name:"濉溪县",parent:3406,lon:116.73689934705,lat:33.693204649044},{id:340705,name:"铜官区",parent:3407,lon:117.83324857069,lat:30.943050294456},{id:340706,name:"义安区",parent:3407,lon:117.95780890267,lat:30.944585477816},{id:340711,name:"郊区",parent:3407,lon:117.64155067342,lat:30.754631362428},{id:340722,name:"枞阳县",parent:3407,lon:117.41703591878,lat:30.863982478208},{id:340802,name:"迎江区",parent:3408,lon:117.15254234871,lat:30.541457598958},{id:340803,name:"大观区",parent:3408,lon:116.9809683319,lat:30.532487247564},{id:340811,name:"宜秀区",parent:3408,lon:117.05612964375,lat:30.614339999814},{id:340822,name:"怀宁县",parent:3408,lon:116.80352690196,lat:30.579024527459},{id:340824,name:"潜山县",parent:3408,lon:116.55281551688,lat:30.758639275993},{id:340825,name:"太湖县",parent:3408,lon:116.18253924827,lat:30.50109966504},{id:340826,name:"宿松县",parent:3408,lon:116.25351835628,lat:30.108216635083},{id:340827,name:"望江县",parent:3408,lon:116.68809225224,lat:30.242568216534},{id:340828,name:"岳西县",parent:3408,lon:116.22007036688,lat:30.901821144678},{id:340881,name:"桐城市",parent:3408,lon:116.95355904596,lat:30.972567972107},{id:341002,name:"屯溪区",parent:3410,lon:118.30963663452,lat:29.716534699341},{id:341003,name:"黄山区",parent:3410,lon:118.07754612726,lat:30.27774589512},{id:341004,name:"徽州区",parent:3410,lon:118.27859128593,lat:29.902140398578},{id:341021,name:"歙县",parent:3410,lon:118.57515564084,lat:29.871177014075},{id:341022,name:"休宁县",parent:3410,lon:118.09308178818,lat:29.669120361013},{id:341023,name:"黟县",parent:3410,lon:117.91075047481,lat:30.014778480875},{id:341024,name:"祁门县",parent:3410,lon:117.60052812882,lat:29.873705688292},{id:341102,name:"琅琊区",parent:3411,lon:118.33756892154,lat:32.338458080903},{id:341103,name:"南谯区",parent:3411,lon:118.27082841537,lat:32.310209092866},{id:341122,name:"来安县",parent:3411,lon:118.53562960741,lat:32.473711637442},{id:341124,name:"全椒县",parent:3411,lon:118.10577829394,lat:32.069932749958},{id:341125,name:"定远县",parent:3411,lon:117.66596452497,lat:32.473258599425},{id:341126,name:"凤阳县",parent:3411,lon:117.61147230278,lat:32.792214955967},{id:341181,name:"天长市",parent:3411,lon:118.9729126449,lat:32.721213784185},{id:341182,name:"明光市",parent:3411,lon:118.14072656734,lat:32.81183581812},{id:341202,name:"颍州区",parent:3412,lon:115.72772731323,lat:32.867688563381},{id:341203,name:"颍东区",parent:3412,lon:116.03998540511,lat:32.941585109575},{id:341204,name:"颍泉区",parent:3412,lon:115.73402623147,lat:33.073509996971},{id:341221,name:"临泉县",parent:3412,lon:115.24846137013,lat:32.909769412643},{id:341222,name:"太和县",parent:3412,lon:115.64875595615,lat:33.33774827164},{id:341225,name:"阜南县",parent:3412,lon:115.65409851632,lat:32.655881179954},{id:341226,name:"颍上县",parent:3412,lon:116.26531418265,lat:32.662460220803},{id:341282,name:"界首市",parent:3412,lon:115.39864296673,lat:33.226192689105},{id:341302,name:"埇桥区",parent:3413,lon:117.15907588963,lat:33.726032251705},{id:341321,name:"砀山县",parent:3413,lon:116.42028227207,lat:34.454057242308},{id:341322,name:"萧县",parent:3413,lon:116.81242175884,lat:34.208529641052},{id:341323,name:"灵璧县",parent:3413,lon:117.54312668944,lat:33.690737031018},{id:341324,name:"泗县",parent:3413,lon:117.89035897388,lat:33.544346537362},{id:341502,name:"金安区",parent:3415,lon:116.66194105885,lat:31.631258470539},{id:341503,name:"裕安区",parent:3415,lon:116.30257286162,lat:31.753038540484},{id:341504,name:"叶集区",parent:3415,lon:116.50525268298,lat:31.755558355198},{id:341522,name:"霍邱县",parent:3415,lon:116.17352091075,lat:32.201507325967},{id:341523,name:"舒城县",parent:3415,lon:116.82855911938,lat:31.310003081421},{id:341524,name:"金寨县",parent:3415,lon:115.77931490356,lat:31.47909281966},{id:341525,name:"霍山县",parent:3415,lon:116.24667502387,lat:31.287055799576},{id:341602,name:"谯城区",parent:3416,lon:115.81281423257,lat:33.782924407833},{id:341621,name:"涡阳县",parent:3416,lon:116.22355045352,lat:33.557949046136},{id:341622,name:"蒙城县",parent:3416,lon:116.5915120873,lat:33.22304396133},{id:341623,name:"利辛县",parent:3416,lon:116.16627183049,lat:33.157375760354},{id:341702,name:"贵池区",parent:3417,lon:117.50847770852,lat:30.514085692989},{id:341721,name:"东至县",parent:3417,lon:117.00682739944,lat:30.034069906871},{id:341722,name:"石台县",parent:3417,lon:117.53828189034,lat:30.199160540051},{id:341723,name:"青阳县",parent:3417,lon:117.90815913595,lat:30.602013463857},{id:341802,name:"宣州区",parent:3418,lon:118.7978027295,lat:30.943631043255},{id:341821,name:"郎溪县",parent:3418,lon:119.16790406676,lat:31.100123797933},{id:341822,name:"广德县",parent:3418,lon:119.36471289716,lat:30.893949749016},{id:341823,name:"泾县",parent:3418,lon:118.37604020629,lat:30.599286819492},{id:341824,name:"绩溪县",parent:3418,lon:118.6637768779,lat:30.162401081144},{id:341825,name:"旌德县",parent:3418,lon:118.48289793271,lat:30.321833135921},{id:341881,name:"宁国市",parent:3418,lon:118.99702452598,lat:30.502936034943},{id:350102,name:"鼓楼区",parent:3501,lon:119.29063293961,lat:26.097871106548},{id:350103,name:"台江区",parent:3501,lon:119.32406268487,lat:26.062153767548},{id:350104,name:"仓山区",parent:3501,lon:119.33493643794,lat:26.019664381274},{id:350105,name:"马尾区",parent:3501,lon:119.51080249492,lat:26.082650321112},{id:350111,name:"晋安区",parent:3501,lon:119.31492287341,lat:26.221752079694},{id:350121,name:"闽侯县",parent:3501,lon:119.12238323588,lat:26.182432187564},{id:350122,name:"连江县",parent:3501,lon:119.5683393031,lat:26.301591411273},{id:350123,name:"罗源县",parent:3501,lon:119.46523419293,lat:26.506325719276},{id:350124,name:"闽清县",parent:3501,lon:118.77880310691,lat:26.212273389994},{id:350125,name:"永泰县",parent:3501,lon:118.79474057257,lat:25.857384057085},{id:350128,name:"平潭县",parent:3501,lon:119.76645322176,lat:25.537737674887},{id:350181,name:"福清市",parent:3501,lon:119.37754701319,lat:25.638120577122},{id:350182,name:"长乐市",parent:3501,lon:119.56271983507,lat:25.915538436925},{id:350203,name:"思明区",parent:3502,lon:118.13453488213,lat:24.468728076403},{id:350205,name:"海沧区",parent:3502,lon:117.98395590267,lat:24.53619033141},{id:350206,name:"湖里区",parent:3502,lon:118.14467575095,lat:24.521973931072},{id:350211,name:"集美区",parent:3502,lon:118.02941167016,lat:24.640972798479},{id:350212,name:"同安区",parent:3502,lon:118.11468496447,lat:24.781704734783},{id:350213,name:"翔安区",parent:3502,lon:118.28080317925,lat:24.675484915197},{id:350302,name:"城厢区",parent:3503,lon:118.95444257513,lat:25.433374872116},{id:350303,name:"涵江区",parent:3503,lon:119.07903889678,lat:25.604741724857},{id:350304,name:"荔城区",parent:3503,lon:119.07410333682,lat:25.427591842484},{id:350305,name:"秀屿区",parent:3503,lon:119.13146589277,lat:25.276364535891},{id:350322,name:"仙游县",parent:3503,lon:118.70462563885,lat:25.468258336396},{id:350402,name:"梅列区",parent:3504,lon:117.63050069122,lat:26.307448553348},{id:350403,name:"三元区",parent:3504,lon:117.51689648494,lat:26.173967139255},{id:350421,name:"明溪县",parent:3504,lon:117.21859881719,lat:26.418484134559},{id:350423,name:"清流县",parent:3504,lon:116.9211934366,lat:26.099297668335},{id:350424,name:"宁化县",parent:3504,lon:116.67811816013,lat:26.310073098848},{id:350425,name:"大田县",parent:3504,lon:117.81799668394,lat:25.797449314745},{id:350426,name:"尤溪县",parent:3504,lon:118.25386835128,lat:26.150593850717},{id:350427,name:"沙县",parent:3504,lon:117.81884600477,lat:26.446505905088},{id:350428,name:"将乐县",parent:3504,lon:117.40083967575,lat:26.732328679548},{id:350429,name:"泰宁县",parent:3504,lon:117.12565958885,lat:26.865476881883},{id:350430,name:"建宁县",parent:3504,lon:116.79307136804,lat:26.817741252365},{id:350481,name:"永安市",parent:3504,lon:117.32853545664,lat:25.919433151382},{id:350502,name:"鲤城区",parent:3505,lon:118.56845525017,lat:24.905744690408},{id:350503,name:"丰泽区",parent:3505,lon:118.6074317381,lat:24.936275095413},{id:350504,name:"洛江区",parent:3505,lon:118.64345333988,lat:25.133414113301},{id:350505,name:"泉港区",parent:3505,lon:118.81901718056,lat:25.173479375703},{id:350521,name:"惠安县",parent:3505,lon:118.80947288339,lat:24.991871443315},{id:350524,name:"安溪县",parent:3505,lon:117.91163244343,lat:25.125684138245},{id:350525,name:"永春县",parent:3505,lon:118.14097079846,lat:25.395598523493},{id:350526,name:"德化县",parent:3505,lon:118.2580388856,lat:25.674049363102},{id:350527,name:"金门县",parent:3505,lon:118.3797724059,lat:24.453685081793},{id:350581,name:"石狮市",parent:3505,lon:118.69248092208,lat:24.744894247253},{id:350582,name:"晋江市",parent:3505,lon:118.55865054225,lat:24.729638297698},{id:350583,name:"南安市",parent:3505,lon:118.38898065958,lat:25.017972545094},{id:350602,name:"芗城区",parent:3506,lon:117.63336610614,lat:24.575089413411},{id:350603,name:"龙文区",parent:3506,lon:117.70403687855,lat:24.537177249549},{id:350622,name:"云霄县",parent:3506,lon:117.3381105564,lat:23.984924590871},{id:350623,name:"漳浦县",parent:3506,lon:117.69145555574,lat:24.134610348852},{id:350624,name:"诏安县",parent:3506,lon:117.13294195697,lat:23.87404072539},{id:350625,name:"长泰县",parent:3506,lon:117.81298738987,lat:24.744593711082},{id:350626,name:"东山县",parent:3506,lon:117.42541646767,lat:23.691110309815},{id:350627,name:"南靖县",parent:3506,lon:117.29305472699,lat:24.668805586956},{id:350628,name:"平和县",parent:3506,lon:117.20072092242,lat:24.324490604831},{id:350629,name:"华安县",parent:3506,lon:117.54380454982,lat:24.918688094608},{id:350681,name:"龙海市",parent:3506,lon:117.80759027663,lat:24.398816824823},{id:350702,name:"延平区",parent:3507,lon:118.25473662436,lat:26.590155096909},{id:350703,name:"建阳区",parent:3507,lon:118.09503169529,lat:27.42298490861},{id:350721,name:"顺昌县",parent:3507,lon:117.87368081029,lat:26.908712277835},{id:350722,name:"浦城县",parent:3507,lon:118.52429759856,lat:27.945164125785},{id:350723,name:"光泽县",parent:3507,lon:117.3555359708,lat:27.655597572386},{id:350724,name:"松溪县",parent:3507,lon:118.76568912522,lat:27.610704490355},{id:350725,name:"政和县",parent:3507,lon:118.97167122766,lat:27.324781791328},{id:350781,name:"邵武市",parent:3507,lon:117.48057222854,lat:27.235197069611},{id:350782,name:"武夷山市",parent:3507,lon:118.01154264632,lat:27.748135171112},{id:350783,name:"建瓯市",parent:3507,lon:118.48514716959,lat:27.044913662799},{id:350802,name:"新罗区",parent:3508,lon:117.08632241393,lat:25.22220637939},{id:350803,name:"永定区",parent:3508,lon:116.75552020871,lat:24.733216812374},{id:350821,name:"长汀县",parent:3508,lon:116.37188399052,lat:25.696958495476},{id:350823,name:"上杭县",parent:3508,lon:116.56866906668,lat:25.126526144211},{id:350824,name:"武平县",parent:3508,lon:116.13591657582,lat:25.139021186901},{id:350825,name:"连城县",parent:3508,lon:116.82144796403,lat:25.60417681052},{id:350881,name:"漳平市",parent:3508,lon:117.45172162006,lat:25.379998346458},{id:350902,name:"蕉城区",parent:3509,lon:119.45455949068,lat:26.763865425402},{id:350921,name:"霞浦县",parent:3509,lon:119.99055111407,lat:26.868876533651},{id:350922,name:"古田县",parent:3509,lon:118.87954004139,lat:26.618899035408},{id:350923,name:"屏南县",parent:3509,lon:118.98929146416,lat:26.921561586231},{id:350924,name:"寿宁县",parent:3509,lon:119.5055198374,lat:27.426229516207},{id:350925,name:"周宁县",parent:3509,lon:119.31332559174,lat:27.094312780593},{id:350926,name:"柘荣县",parent:3509,lon:119.88752229998,lat:27.207067709716},{id:350981,name:"福安市",parent:3509,lon:119.65627713286,lat:27.055896714799},{id:350982,name:"福鼎市",parent:3509,lon:120.19830746412,lat:27.224828701234},{id:360102,name:"东湖区",parent:3601,lon:115.91014826387,lat:28.692375145425},{id:360103,name:"西湖区",parent:3601,lon:115.89894765179,lat:28.657325885604},{id:360104,name:"青云谱区",parent:3601,lon:115.9219541542,lat:28.636601455215},{id:360105,name:"湾里区",parent:3601,lon:115.75048047817,lat:28.800556903151},{id:360111,name:"青山湖区",parent:3601,lon:115.93090639742,lat:28.700848503487},{id:360112,name:"新建区",parent:3601,lon:115.97766347318,lat:28.762510375641},{id:360121,name:"南昌县",parent:3601,lon:116.07126087416,lat:28.620772037399},{id:360123,name:"安义县",parent:3601,lon:115.59520240179,lat:28.836411855907},{id:360124,name:"进贤县",parent:3601,lon:116.3174577813,lat:28.441758032984},{id:360202,name:"昌江区",parent:3602,lon:117.1861998641,lat:29.272154837188},{id:360203,name:"珠山区",parent:3602,lon:117.23411943253,lat:29.303230556708},{id:360222,name:"浮梁县",parent:3602,lon:117.30897851315,lat:29.556555537931},{id:360281,name:"乐平市",parent:3602,lon:117.27327879748,lat:28.969928213838},{id:360302,name:"安源区",parent:3603,lon:113.87886885384,lat:27.645394991779},{id:360313,name:"湘东区",parent:3603,lon:113.73981816772,lat:27.53370963141},{id:360321,name:"莲花县",parent:3603,lon:113.95977686775,lat:27.223445481289},{id:360322,name:"上栗县",parent:3603,lon:113.86780638258,lat:27.832260223294},{id:360323,name:"芦溪县",parent:3603,lon:114.07000665468,lat:27.578022564845},{id:360402,name:"濂溪区",parent:3604,lon:115.99984802155,lat:29.719639526122},{id:360403,name:"浔阳区",parent:3604,lon:116.00276787378,lat:29.717848894949},{id:360421,name:"九江县",parent:3604,lon:115.84203547109,lat:29.640229926977},{id:360423,name:"武宁县",parent:3604,lon:115.02315949078,lat:29.263844028424},{id:360424,name:"修水县",parent:3604,lon:114.4461918569,lat:29.000021311275},{id:360425,name:"永修县",parent:3604,lon:115.74247538366,lat:29.141310623242},{id:360426,name:"德安县",parent:3604,lon:115.63408426446,lat:29.401728483728},{id:360428,name:"都昌县",parent:3604,lon:116.34204769578,lat:29.356214912479},{id:360429,name:"湖口县",parent:3604,lon:116.29256118736,lat:29.66806050769},{id:360430,name:"彭泽县",parent:3604,lon:116.62933206226,lat:29.834597412665},{id:360481,name:"瑞昌市",parent:3604,lon:115.45968602847,lat:29.628544625483},{id:360482,name:"共青城市",parent:3604,lon:115.820204477,lat:29.236083846739},{id:360483,name:"庐山市",parent:3604,lon:115.98274999338,lat:29.347769476561},{id:360502,name:"渝水区",parent:3605,lon:115.00785062298,lat:27.850578117027},{id:360521,name:"分宜县",parent:3605,lon:114.67816306735,lat:27.844993335525},{id:360602,name:"月湖区",parent:3606,lon:117.05770601694,lat:28.2472053807},{id:360622,name:"余江县",parent:3606,lon:116.92157395441,lat:28.321070494465},{id:360681,name:"贵溪市",parent:3606,lon:117.19787036817,lat:28.190604458955},{id:360702,name:"章贡区",parent:3607,lon:114.93736527747,lat:25.838710922212},{id:360703,name:"南康区",parent:3607,lon:114.70979725341,lat:25.857651685208},{id:360721,name:"赣县",parent:3607,lon:115.07258602937,lat:25.90202543961},{id:360722,name:"信丰县",parent:3607,lon:114.98179982408,lat:25.286018342725},{id:360723,name:"大余县",parent:3607,lon:114.36649000169,lat:25.44847167429},{id:360724,name:"上犹县",parent:3607,lon:114.402605282,lat:25.939253373895},{id:360725,name:"崇义县",parent:3607,lon:114.19933700414,lat:25.679632268061},{id:360726,name:"安远县",parent:3607,lon:115.39661257033,lat:25.238854104103},{id:360727,name:"龙南县",parent:3607,lon:114.73182493834,lat:24.772706198589},{id:360728,name:"定南县",parent:3607,lon:115.09388033666,lat:24.824160396247},{id:360729,name:"全南县",parent:3607,lon:114.52234265684,lat:24.853232801668},{id:360730,name:"宁都县",parent:3607,lon:116.01211627388,lat:26.590232461651},{id:360731,name:"于都县",parent:3607,lon:115.50889266701,lat:25.936771660723},{id:360732,name:"兴国县",parent:3607,lon:115.44650725812,lat:26.425200601326},{id:360733,name:"会昌县",parent:3607,lon:115.76515116427,lat:25.505756516053},{id:360734,name:"寻乌县",parent:3607,lon:115.66514812504,lat:24.905101066212},{id:360735,name:"石城县",parent:3607,lon:116.37232152813,lat:26.305565307867},{id:360781,name:"瑞金市",parent:3607,lon:115.98586699622,lat:25.92183136176},{id:360802,name:"吉州区",parent:3608,lon:114.96043668241,lat:27.160925346239},{id:360803,name:"青原区",parent:3608,lon:115.2661672372,lat:26.859217102443},{id:360821,name:"吉安县",parent:3608,lon:114.75127781381,lat:27.144039043235},{id:360822,name:"吉水县",parent:3608,lon:115.2546383758,lat:27.19746539341},{id:360823,name:"峡江县",parent:3608,lon:115.2144367887,lat:27.589281248366},{id:360824,name:"新干县",parent:3608,lon:115.50683935381,lat:27.73857991921},{id:360825,name:"永丰县",parent:3608,lon:115.59283108743,lat:27.097544566001},{id:360826,name:"泰和县",parent:3608,lon:114.90935609718,lat:26.744020657469},{id:360827,name:"遂川县",parent:3608,lon:114.37058927285,lat:26.344268552348},{id:360828,name:"万安县",parent:3608,lon:114.82501601739,lat:26.444632606143},{id:360829,name:"安福县",parent:3608,lon:114.45559104078,lat:27.361338381942},{id:360830,name:"永新县",parent:3608,lon:114.18844710958,lat:26.973089209998},{id:360881,name:"井冈山市",parent:3608,lon:114.12543918071,lat:26.633149538063},{id:360902,name:"袁州区",parent:3609,lon:114.29035792969,lat:27.839383216183},{id:360921,name:"奉新县",parent:3609,lon:115.18007761153,lat:28.714689488559},{id:360922,name:"万载县",parent:3609,lon:114.33614285625,lat:28.209464188761},{id:360923,name:"上高县",parent:3609,lon:114.86095818884,lat:28.199053404375},{id:360924,name:"宜丰县",parent:3609,lon:114.77436594756,lat:28.454955048263},{id:360925,name:"靖安县",parent:3609,lon:115.23770855063,lat:28.946083546903},{id:360926,name:"铜鼓县",parent:3609,lon:114.37013409066,lat:28.615515536873},{id:360981,name:"丰城市",parent:3609,lon:115.8234035155,lat:28.11151587847},{id:360982,name:"樟树市",parent:3609,lon:115.42134592031,lat:28.002513613496},{id:360983,name:"高安市",parent:3609,lon:115.30448193078,lat:28.365231807956},{id:361002,name:"临川区",parent:3610,lon:116.36297445174,lat:27.924731514346},{id:361021,name:"南城县",parent:3610,lon:116.68173230038,lat:27.518966176458},{id:361022,name:"黎川县",parent:3610,lon:116.93171710122,lat:27.261522440114},{id:361023,name:"南丰县",parent:3610,lon:116.50036153348,lat:27.114896155721},{id:361024,name:"崇仁县",parent:3610,lon:116.0663364594,lat:27.714537232977},{id:361025,name:"乐安县",parent:3610,lon:115.8433235072,lat:27.372428601937},{id:361026,name:"宜黄县",parent:3610,lon:116.25124162127,lat:27.393066587894},{id:361027,name:"金溪县",parent:3610,lon:116.7577119166,lat:27.931491559982},{id:361028,name:"资溪县",parent:3610,lon:117.03576739532,lat:27.745228535574},{id:361029,name:"东乡县",parent:3610,lon:116.6196227029,lat:28.221297983216},{id:361030,name:"广昌县",parent:3610,lon:116.36311652024,lat:26.761885358703},{id:361102,name:"信州区",parent:3611,lon:118.05057821628,lat:28.497223477761},{id:361103,name:"广丰区",parent:3611,lon:118.2644206827,lat:28.344342110797},{id:361121,name:"上饶县",parent:3611,lon:117.94436679858,lat:28.405679688374},{id:361123,name:"玉山县",parent:3611,lon:118.16891675165,lat:28.759339988568},{id:361124,name:"铅山县",parent:3611,lon:117.71346110788,lat:28.109822141358},{id:361125,name:"横峰县",parent:3611,lon:117.64519741314,lat:28.513847494908},{id:361126,name:"弋阳县",parent:3611,lon:117.41664984164,lat:28.452236031909},{id:361127,name:"余干县",parent:3611,lon:116.62132713524,lat:28.682775556852},{id:361128,name:"鄱阳县",parent:3611,lon:116.78769263036,lat:29.243055725231},{id:361129,name:"万年县",parent:3611,lon:117.01441274225,lat:28.703236407929},{id:361130,name:"婺源县",parent:3611,lon:117.78748504184,lat:29.327231721148},{id:361181,name:"德兴市",parent:3611,lon:117.75325925179,lat:28.940751536947},{id:370102,name:"历下区",parent:3701,lon:117.10158579685,lat:36.659338577102},{id:370103,name:"市中区",parent:3701,lon:116.97943490154,lat:36.584025608593},{id:370104,name:"槐荫区",parent:3701,lon:116.89119924147,lat:36.682531368156},{id:370105,name:"天桥区",parent:3701,lon:116.98315714712,lat:36.778077694991},{id:370112,name:"历城区",parent:3701,lon:117.1908183999,lat:36.612688160201},{id:370113,name:"长清区",parent:3701,lon:116.8035523233,lat:36.428570220761},{id:370124,name:"平阴县",parent:3701,lon:116.42250204992,lat:36.203933440502},{id:370125,name:"济阳县",parent:3701,lon:117.15002119645,lat:37.032805727164},{id:370126,name:"商河县",parent:3701,lon:117.20871442383,lat:37.32594723869},{id:370181,name:"章丘市",parent:3701,lon:117.47934537885,lat:36.744883031601},{id:370202,name:"市南区",parent:3702,lon:120.37618412944,lat:36.072517005321},{id:370203,name:"市北区",parent:3702,lon:120.37849501736,lat:36.100057507009},{id:370211,name:"黄岛区",parent:3702,lon:120.16954109898,lat:36.005019406172},{id:370212,name:"崂山区",parent:3702,lon:120.58490643507,lat:36.195587169547},{id:370213,name:"李沧区",parent:3702,lon:120.43114552866,lat:36.192897252321},{id:370214,name:"城阳区",parent:3702,lon:120.34632618533,lat:36.284246909785},{id:370281,name:"胶州市",parent:3702,lon:119.95942122689,lat:36.248031458483},{id:370282,name:"即墨市",parent:3702,lon:120.52110561991,lat:36.487908601599},{id:370283,name:"平度市",parent:3702,lon:119.95106201677,lat:36.788550047135},{id:370285,name:"莱西市",parent:3702,lon:120.44283105064,lat:36.863636936232},{id:370302,name:"淄川区",parent:3703,lon:118.02018132413,lat:36.58546320707},{id:370303,name:"张店区",parent:3703,lon:118.07715128035,lat:36.816096523468},{id:370304,name:"博山区",parent:3703,lon:117.96555278725,lat:36.425426903116},{id:370305,name:"临淄区",parent:3703,lon:118.30069695082,lat:36.854244021624},{id:370306,name:"周村区",parent:3703,lon:117.87510840602,lat:36.771218733055},{id:370321,name:"桓台县",parent:3703,lon:118.0343674972,lat:36.996290174374},{id:370322,name:"高青县",parent:3703,lon:117.82824157972,lat:37.171377591723},{id:370323,name:"沂源县",parent:3703,lon:118.20397204172,lat:36.135641879756},{id:370402,name:"市中区",parent:3704,lon:117.60608168197,lat:34.870585491515},{id:370403,name:"薛城区",parent:3704,lon:117.35850706735,lat:34.796330499958},{id:370404,name:"峄城区",parent:3704,lon:117.60355623943,lat:34.716097133125},{id:370405,name:"台儿庄区",parent:3704,lon:117.63824339976,lat:34.587964202085},{id:370406,name:"山亭区",parent:3704,lon:117.48403628836,lat:35.093150446743},{id:370481,name:"滕州市",parent:3704,lon:117.1476161953,lat:35.065790871862},{id:370502,name:"东营区",parent:3705,lon:118.61264305188,lat:37.408666288041},{id:370503,name:"河口区",parent:3705,lon:118.62001162992,lat:37.969499930854},{id:370505,name:"垦利区",parent:3705,lon:118.80543474393,lat:37.708139143783},{id:370522,name:"利津县",parent:3705,lon:118.40033677253,lat:37.655326413663},{id:370523,name:"广饶县",parent:3705,lon:118.53856931196,lat:37.162071119184},{id:370602,name:"芝罘区",parent:3706,lon:121.36415635471,lat:37.520933396965},{id:370611,name:"福山区",parent:3706,lon:121.20346125307,lat:37.4810742238},{id:370612,name:"牟平区",parent:3706,lon:121.56924005155,lat:37.272445856085},{id:370613,name:"莱山区",parent:3706,lon:121.45153473051,lat:37.407476077054},{id:370634,name:"长岛县",parent:3706,lon:120.75599624581,lat:38.07745626718},{id:370681,name:"龙口市",parent:3706,lon:120.5227995064,lat:37.610401281677},{id:370682,name:"莱阳市",parent:3706,lon:120.75134338103,lat:36.905533169255},{id:370683,name:"莱州市",parent:3706,lon:120.00134352944,lat:37.190401374398},{id:370684,name:"蓬莱市",parent:3706,lon:120.86269428184,lat:37.661160410834},{id:370685,name:"招远市",parent:3706,lon:120.40051706225,lat:37.344145870524},{id:370686,name:"栖霞市",parent:3706,lon:120.9015556194,lat:37.311748207049},{id:370687,name:"海阳市",parent:3706,lon:121.11361421128,lat:36.861587988875},{id:370702,name:"潍城区",parent:3707,lon:119.03430547775,lat:36.70198215587},{id:370703,name:"寒亭区",parent:3707,lon:119.17913537725,lat:36.908365760671},{id:370704,name:"坊子区",parent:3707,lon:119.25846542234,lat:36.625674339008},{id:370705,name:"奎文区",parent:3707,lon:119.19697218249,lat:36.691227364273},{id:370724,name:"临朐县",parent:3707,lon:118.55825637254,lat:36.365388839543},{id:370725,name:"昌乐县",parent:3707,lon:118.91391393621,lat:36.535532052698},{id:370781,name:"青州市",parent:3707,lon:118.47018708791,lat:36.680584425831},{id:370782,name:"诸城市",parent:3707,lon:119.41616966208,lat:36.016657533378},{id:370783,name:"寿光市",parent:3707,lon:118.85253352124,lat:37.029891849506},{id:370784,name:"安丘市",parent:3707,lon:119.15599227984,lat:36.335046466579},{id:370785,name:"高密市",parent:3707,lon:119.70251223974,lat:36.387317992315},{id:370786,name:"昌邑市",parent:3707,lon:119.44991748822,lat:36.834234247985},{id:370811,name:"任城区",parent:3708,lon:116.57219935158,lat:35.380134737043},{id:370812,name:"兖州区",parent:3708,lon:116.75256014243,lat:35.564429514451},{id:370826,name:"微山县",parent:3708,lon:116.99240869227,lat:34.892715408071},{id:370827,name:"鱼台县",parent:3708,lon:116.57843727094,lat:35.01985835793},{id:370828,name:"金乡县",parent:3708,lon:116.31512496802,lat:35.051246098924},{id:370829,name:"嘉祥县",parent:3708,lon:116.30729105899,lat:35.434199027209},{id:370830,name:"汶上县",parent:3708,lon:116.50644367868,lat:35.715701266031},{id:370831,name:"泗水县",parent:3708,lon:117.34526415391,lat:35.640740666213},{id:370832,name:"梁山县",parent:3708,lon:116.12480570072,lat:35.801606249716},{id:370881,name:"曲阜市",parent:3708,lon:117.03178985128,lat:35.615760566258},{id:370883,name:"邹城市",parent:3708,lon:117.08958175113,lat:35.354042540878},{id:370902,name:"泰山区",parent:3709,lon:117.18390217966,lat:36.215457241311},{id:370911,name:"岱岳区",parent:3709,lon:117.19048736581,lat:36.148101133087},{id:370921,name:"宁阳县",parent:3709,lon:116.93293882598,lat:35.833600319907},{id:370923,name:"东平县",parent:3709,lon:116.34295320558,lat:35.97516090244},{id:370982,name:"新泰市",parent:3709,lon:117.61301622046,lat:35.89581023511},{id:370983,name:"肥城市",parent:3709,lon:116.74476246765,lat:36.112514344701},{id:371002,name:"环翠区",parent:3710,lon:122.15207450216,lat:37.399343698592},{id:371003,name:"文登区",parent:3710,lon:121.96829072766,lat:37.16608344728},{id:371082,name:"荣成市",parent:3710,lon:122.40692581532,lat:37.128686091876},{id:371083,name:"乳山市",parent:3710,lon:121.52978797795,lat:36.976575050291},{id:371102,name:"东港区",parent:3711,lon:119.37785169728,lat:35.469377334235},{id:371103,name:"岚山区",parent:3711,lon:119.25182522442,lat:35.292714155339},{id:371121,name:"五莲县",parent:3711,lon:119.2494328324,lat:35.744382733588},{id:371122,name:"莒县",parent:3711,lon:118.8935850849,lat:35.655874955573},{id:371202,name:"莱城区",parent:3712,lon:117.6459130158,lat:36.313394584932},{id:371203,name:"钢城区",parent:3712,lon:117.8275371813,lat:36.092835887233},{id:371302,name:"兰山区",parent:3713,lon:118.31224292902,lat:35.174844704086},{id:371311,name:"罗庄区",parent:3713,lon:118.29727935276,lat:34.964343085469},{id:371312,name:"河东区",parent:3713,lon:118.51731091285,lat:35.127030975379},{id:371321,name:"沂南县",parent:3713,lon:118.41758556843,lat:35.536723374853},{id:371322,name:"郯城县",parent:3713,lon:118.32443065841,lat:34.649855053512},{id:371323,name:"沂水县",parent:3713,lon:118.60935780958,lat:35.914368629366},{id:371324,name:"兰陵县",parent:3713,lon:118.00750944174,lat:34.862619866599},{id:371325,name:"费县",parent:3713,lon:117.98583765075,lat:35.254970793112},{id:371326,name:"平邑县",parent:3713,lon:117.68244768554,lat:35.434249996001},{id:371327,name:"莒南县",parent:3713,lon:118.89007890268,lat:35.213123220035},{id:371328,name:"蒙阴县",parent:3713,lon:118.03674237099,lat:35.747440083102},{id:371329,name:"临沭县",parent:3713,lon:118.65944529359,lat:34.885484018739},{id:371402,name:"德城区",parent:3714,lon:116.33291247583,lat:37.45743710416},{id:371403,name:"陵城区",parent:3714,lon:116.67557519942,lat:37.418030354096},{id:371422,name:"宁津县",parent:3714,lon:116.81455550432,lat:37.68562160185},{id:371423,name:"庆云县",parent:3714,lon:117.46273738393,lat:37.801823529258},{id:371424,name:"临邑县",parent:3714,lon:116.89959541702,lat:37.235892912121},{id:371425,name:"齐河县",parent:3714,lon:116.67825351242,lat:36.723454326503},{id:371426,name:"平原县",parent:3714,lon:116.43007889018,lat:37.156617614138},{id:371427,name:"夏津县",parent:3714,lon:116.03732249608,lat:37.016688548156},{id:371428,name:"武城县",parent:3714,lon:116.09122537249,lat:37.243982507441},{id:371481,name:"乐陵市",parent:3714,lon:117.14555333466,lat:37.674416911054},{id:371482,name:"禹城市",parent:3714,lon:116.58133068117,lat:36.919142889593},{id:371502,name:"东昌府区",parent:3715,lon:115.90770556753,lat:36.455829587246},{id:371521,name:"阳谷县",parent:3715,lon:115.87350298472,lat:36.146774001697},{id:371522,name:"莘县",parent:3715,lon:115.55267289485,lat:36.139121538984},{id:371523,name:"茌平县",parent:3715,lon:116.18017382824,lat:36.588519734091},{id:371524,name:"东阿县",parent:3715,lon:116.2831984139,lat:36.331642489915},{id:371525,name:"冠县",parent:3715,lon:115.54083712129,lat:36.53635700997},{id:371526,name:"高唐县",parent:3715,lon:116.25743002174,lat:36.839764457085},{id:371581,name:"临清市",parent:3715,lon:115.78260175173,lat:36.782069473113},{id:371602,name:"滨城区",parent:3716,lon:117.98121111677,lat:37.424890835984},{id:371603,name:"沾化区",parent:3716,lon:118.05636772417,lat:37.868312497909},{id:371621,name:"惠民县",parent:3716,lon:117.57898363784,lat:37.375971318454},{id:371622,name:"阳信县",parent:3716,lon:117.57342951076,lat:37.605500456412},{id:371623,name:"无棣县",parent:3716,lon:117.79778189995,lat:37.942568300077},{id:371625,name:"博兴县",parent:3716,lon:118.22571531705,lat:37.19135384581},{id:371626,name:"邹平县",parent:3716,lon:117.67080618616,lat:36.956593309429},{id:371702,name:"牡丹区",parent:3717,lon:115.47002526505,lat:35.283536562407},{id:371703,name:"定陶区",parent:3717,lon:115.57403571958,lat:35.111855206745},{id:371721,name:"曹县",parent:3717,lon:115.55360067628,lat:34.827952767182},{id:371722,name:"单县",parent:3717,lon:116.122984618,lat:34.738238141223},{id:371723,name:"成武县",parent:3717,lon:115.94498857738,lat:34.989110950657},{id:371724,name:"巨野县",parent:3717,lon:116.04113122185,lat:35.279400360462},{id:371725,name:"郓城县",parent:3717,lon:115.89463235246,lat:35.612979519727},{id:371726,name:"鄄城县",parent:3717,lon:115.55287125102,lat:35.555043149647},{id:371728,name:"东明县",parent:3717,lon:115.07411464426,lat:35.182435455789},{id:410102,name:"中原区",parent:4101,lon:113.55728142479,lat:34.779474293205},{id:410103,name:"二七区",parent:4101,lon:113.64964384986,lat:34.75661006414},{id:410104,name:"管城回族区",parent:4101,lon:113.72186105524,lat:34.70900380778},{id:410105,name:"金水区",parent:4101,lon:113.70801125038,lat:34.797406405145},{id:410106,name:"上街区",parent:4101,lon:113.29818225705,lat:34.822088918243},{id:410108,name:"惠济区",parent:4101,lon:113.62834116351,lat:34.869446814666},{id:410122,name:"中牟县",parent:4101,lon:114.01122240275,lat:34.720319012422},{id:410181,name:"巩义市",parent:4101,lon:113.03959002892,lat:34.703798883243},{id:410182,name:"荥阳市",parent:4101,lon:113.35180180957,lat:34.806179937519},{id:410183,name:"新密市",parent:4101,lon:113.43985443365,lat:34.514074899467},{id:410184,name:"新郑市",parent:4101,lon:113.73611501497,lat:34.459442752589},{id:410185,name:"登封市",parent:4101,lon:113.04174933248,lat:34.418362166819},{id:410202,name:"龙亭区",parent:4102,lon:114.34098849918,lat:34.860572766851},{id:410203,name:"顺河回族区",parent:4102,lon:114.42852744048,lat:34.81777146999},{id:410204,name:"鼓楼区",parent:4102,lon:114.34190563407,lat:34.797982546084},{id:410205,name:"禹王台区",parent:4102,lon:114.38560958232,lat:34.75102886185},{id:410211,name:"金明区",parent:4102,lon:114.34098849918,lat:34.860572766851},{id:410212,name:"祥符区",parent:4102,lon:114.43805957404,lat:34.725946945916},{id:410221,name:"杞县",parent:4102,lon:114.76878210877,lat:34.505963464038},{id:410222,name:"通许县",parent:4102,lon:114.50219933719,lat:34.441630948349},{id:410223,name:"尉氏县",parent:4102,lon:114.16103722407,lat:34.388437240132},{id:410225,name:"兰考县",parent:4102,lon:114.98029307097,lat:34.879764140336},{id:410302,name:"老城区",parent:4103,lon:112.45917255752,lat:34.704033141562},{id:410303,name:"西工区",parent:4103,lon:112.4071257244,lat:34.689693743302},{id:410304,name:"瀍河回族区",parent:4103,lon:112.50509438434,lat:34.702931706602},{id:410305,name:"涧西区",parent:4103,lon:112.39075320818,lat:34.671667591915},{id:410306,name:"吉利区",parent:4103,lon:112.58976455586,lat:34.905378745091},{id:410311,name:"洛龙区",parent:4103,lon:112.46709264771,lat:34.638792103903},{id:410322,name:"孟津县",parent:4103,lon:112.47699634585,lat:34.831148181123},{id:410323,name:"新安县",parent:4103,lon:112.12774350044,lat:34.837606946675},{id:410324,name:"栾川县",parent:4103,lon:111.61701356274,lat:33.912392483904},{id:410325,name:"嵩县",parent:4103,lon:112.04951135131,lat:34.010600110067},{id:410326,name:"汝阳县",parent:4103,lon:112.4355439591,lat:34.06296675028},{id:410327,name:"宜阳县",parent:4103,lon:112.04046789874,lat:34.486036200799},{id:410328,name:"洛宁县",parent:4103,lon:111.50679130206,lat:34.345208388992},{id:410329,name:"伊川县",parent:4103,lon:112.46887702474,lat:34.407088177948},{id:410381,name:"偃师市",parent:4103,lon:112.73482167429,lat:34.630801858346},{id:410402,name:"新华区",parent:4104,lon:113.20808222559,lat:33.771546437308},{id:410403,name:"卫东区",parent:4104,lon:113.36538845598,lat:33.769107814671},{id:410404,name:"石龙区",parent:4104,lon:112.89469073779,lat:33.892093587751},{id:410411,name:"湛河区",parent:4104,lon:113.27818922149,lat:33.71234144492},{id:410421,name:"宝丰县",parent:4104,lon:113.03577147499,lat:33.915497347446},{id:410422,name:"叶县",parent:4104,lon:113.3506762416,lat:33.551013481912},{id:410423,name:"鲁山县",parent:4104,lon:112.74030934124,lat:33.748697388191},{id:410425,name:"郏县",parent:4104,lon:113.23328182561,lat:34.005498968871},{id:410481,name:"舞钢市",parent:4104,lon:113.52599604654,lat:33.289605497055},{id:410482,name:"汝州市",parent:4104,lon:112.8127174803,lat:34.162777545453},{id:410502,name:"文峰区",parent:4105,lon:114.41852222061,lat:36.034147665845},{id:410503,name:"北关区",parent:4105,lon:114.39143588406,lat:36.141695896219},{id:410505,name:"殷都区",parent:4105,lon:114.29712997501,lat:36.135573231517},{id:410506,name:"龙安区",parent:4105,lon:114.25660364057,lat:36.056024537571},{id:410522,name:"安阳县",parent:4105,lon:114.31712430011,lat:36.125134517065},{id:410523,name:"汤阴县",parent:4105,lon:114.46206281377,lat:35.907982338855},{id:410526,name:"滑县",parent:4105,lon:114.67364721954,lat:35.471733779112},{id:410527,name:"内黄县",parent:4105,lon:114.82334356443,lat:35.906569063676},{id:410581,name:"林州市",parent:4105,lon:113.86108354948,lat:36.016561032268},{id:410602,name:"鹤山区",parent:4106,lon:114.09845417079,lat:35.973345969386},{id:410603,name:"山城区",parent:4106,lon:114.25302901346,lat:35.927453768113},{id:410611,name:"淇滨区",parent:4106,lon:114.19951434914,lat:35.812418921012},{id:410621,name:"浚县",parent:4106,lon:114.46718581475,lat:35.686206113273},{id:410622,name:"淇县",parent:4106,lon:114.16903374394,lat:35.667571747251},{id:410702,name:"红旗区",parent:4107,lon:113.91461891258,lat:35.286150085139},{id:410703,name:"卫滨区",parent:4107,lon:113.86463773299,lat:35.294831576876},{id:410704,name:"凤泉区",parent:4107,lon:113.86418902939,lat:35.399318437608},{id:410711,name:"牧野区",parent:4107,lon:113.89672215157,lat:35.338890167673},{id:410721,name:"新乡县",parent:4107,lon:113.84824573704,lat:35.220522070112},{id:410724,name:"获嘉县",parent:4107,lon:113.65196887023,lat:35.203480558843},{id:410725,name:"原阳县",parent:4107,lon:113.95316420007,lat:35.029035610429},{id:410726,name:"延津县",parent:4107,lon:114.23135664543,lat:35.279607523872},{id:410727,name:"封丘县",parent:4107,lon:114.48767812651,lat:35.040384096253},{id:410728,name:"长垣县",parent:4107,lon:114.76690326799,lat:35.218127613796},{id:410781,name:"卫辉市",parent:4107,lon:114.07811240389,lat:35.499572079266},{id:410782,name:"辉县市",parent:4107,lon:113.68789198968,lat:35.543594465927},{id:410802,name:"解放区",parent:4108,lon:113.23080396516,lat:35.241712363011},{id:410803,name:"中站区",parent:4108,lon:113.16153562728,lat:35.257023702543},{id:410804,name:"马村区",parent:4108,lon:113.36732116029,lat:35.304171016133},{id:410811,name:"山阳区",parent:4108,lon:113.27635056977,lat:35.241160124283},{id:410821,name:"修武县",parent:4108,lon:113.36352820836,lat:35.309677964198},{id:410822,name:"博爱县",parent:4108,lon:113.07507819608,lat:35.186007002113},{id:410823,name:"武陟县",parent:4108,lon:113.39993452059,lat:35.057332269363},{id:410825,name:"温县",parent:4108,lon:113.05529612566,lat:34.950259905072},{id:410882,name:"沁阳市",parent:4108,lon:112.8883049259,lat:35.133826023222},{id:410883,name:"孟州市",parent:4108,lon:112.76969911916,lat:34.925884390003},{id:410902,name:"华龙区",parent:4109,lon:115.04809659609,lat:35.77193370823},{id:410922,name:"清丰县",parent:4109,lon:115.1612013425,lat:35.924381925846},{id:410923,name:"南乐县",parent:4109,lon:115.24982310475,lat:36.097697402715},{id:410926,name:"范县",parent:4109,lon:115.53840075342,lat:35.801404731968},{id:410927,name:"台前县",parent:4109,lon:115.88573804863,lat:35.966389126572},{id:410928,name:"濮阳县",parent:4109,lon:115.15660204659,lat:35.59228702617},{id:411002,name:"魏都区",parent:4110,lon:113.82531644192,lat:34.043477065508},{id:411023,name:"许昌县",parent:4110,lon:113.83526207686,lat:34.048516339751},{id:411024,name:"鄢陵县",parent:4110,lon:114.20240879522,lat:34.01192963976},{id:411025,name:"襄城县",parent:4110,lon:113.56898289597,lat:33.86190518971},{id:411081,name:"禹州市",parent:4110,lon:113.39269360872,lat:34.200307558026},{id:411082,name:"长葛市",parent:4110,lon:113.85556820652,lat:34.236601226737},{id:411102,name:"源汇区",parent:4111,lon:113.92360106938,lat:33.53475547247},{id:411103,name:"郾城区",parent:4111,lon:113.94136182694,lat:33.670703809923},{id:411104,name:"召陵区",parent:4111,lon:114.18514173047,lat:33.57798961468},{id:411121,name:"舞阳县",parent:4111,lon:113.68005525753,lat:33.549301454759},{id:411122,name:"临颍县",parent:4111,lon:113.96389863435,lat:33.844425731931},{id:411202,name:"湖滨区",parent:4112,lon:111.28129514586,lat:34.771777672947},{id:411203,name:"陕州区",parent:4112,lon:111.38347360282,lat:34.642257128616},{id:411221,name:"渑池县",parent:4112,lon:111.80253536998,lat:34.839691429224},{id:411224,name:"卢氏县",parent:4112,lon:110.99472361928,lat:33.973393506457},{id:411281,name:"义马市",parent:4112,lon:111.90609266704,lat:34.749524796841},{id:411282,name:"灵宝市",parent:4112,lon:110.77973742779,lat:34.437104010525},{id:411302,name:"宛城区",parent:4113,lon:112.61390774771,lat:32.934703186447},{id:411303,name:"卧龙区",parent:4113,lon:112.48426735075,lat:33.009838704626},{id:411321,name:"南召县",parent:4113,lon:112.39366620514,lat:33.472841576965},{id:411322,name:"方城县",parent:4113,lon:113.01682220295,lat:33.29995432977},{id:411323,name:"西峡县",parent:4113,lon:111.43898978054,lat:33.48692481474},{id:411324,name:"镇平县",parent:4113,lon:112.19328453943,lat:33.070817074221},{id:411325,name:"内乡县",parent:4113,lon:111.8474050987,lat:33.224377176241},{id:411326,name:"淅川县",parent:4113,lon:111.44539628251,lat:32.989722669393},{id:411327,name:"社旗县",parent:4113,lon:112.99852720955,lat:32.982431382713},{id:411328,name:"唐河县",parent:4113,lon:112.85911827542,lat:32.619993292449},{id:411329,name:"新野县",parent:4113,lon:112.41599071451,lat:32.553440600793},{id:411330,name:"桐柏县",parent:4113,lon:113.43416900109,lat:32.495650299965},{id:411381,name:"邓州市",parent:4113,lon:112.0568605764,lat:32.684649552173},{id:411402,name:"梁园区",parent:4114,lon:115.63773066554,lat:34.5030395946},{id:411403,name:"睢阳区",parent:4114,lon:115.58978387844,lat:34.286754693787},{id:411421,name:"民权县",parent:4114,lon:115.17841405829,lat:34.696116524323},{id:411422,name:"睢县",parent:4114,lon:115.04300110058,lat:34.39975982873},{id:411423,name:"宁陵县",parent:4114,lon:115.29840053317,lat:34.454601801008},{id:411424,name:"柘城县",parent:4114,lon:115.30904185846,lat:34.111651823091},{id:411425,name:"虞城县",parent:4114,lon:115.9142248589,lat:34.36907192525},{id:411426,name:"夏邑县",parent:4114,lon:116.15745373108,lat:34.223680706067},{id:411481,name:"永城市",parent:4114,lon:116.33077515791,lat:33.972013062908},{id:411502,name:"浉河区",parent:4115,lon:113.96277662182,lat:32.031339669892},{id:411503,name:"平桥区",parent:4115,lon:114.1390859663,lat:32.307840062297},{id:411521,name:"罗山县",parent:4115,lon:114.44356295731,lat:32.031230299697},{id:411522,name:"光山县",parent:4115,lon:114.84316193505,lat:31.941431722351},{id:411523,name:"新县",parent:4115,lon:114.85908905243,lat:31.646279005794},{id:411524,name:"商城县",parent:4115,lon:115.37524581828,lat:31.766261672209},{id:411525,name:"固始县",parent:4115,lon:115.70974321125,lat:32.13694390485},{id:411526,name:"潢川县",parent:4115,lon:115.16440991805,lat:32.132798426222},{id:411527,name:"淮滨县",parent:4115,lon:115.32456065214,lat:32.44657354908},{id:411528,name:"息县",parent:4115,lon:114.87168181062,lat:32.410808174844},{id:411602,name:"川汇区",parent:4116,lon:114.65795015653,lat:33.630875553438},{id:411621,name:"扶沟县",parent:4116,lon:114.43732658093,lat:34.100655472765},{id:411622,name:"西华县",parent:4116,lon:114.47808721231,lat:33.793632327288},{id:411623,name:"商水县",parent:4116,lon:114.5595768694,lat:33.52093272236},{id:411624,name:"沈丘县",parent:4116,lon:115.17871821127,lat:33.295149932293},{id:411625,name:"郸城县",parent:4116,lon:115.30129735228,lat:33.641500072188},{id:411626,name:"淮阳县",parent:4116,lon:114.90201820622,lat:33.709946652498},{id:411627,name:"太康县",parent:4116,lon:114.85570075514,lat:34.097096248874},{id:411628,name:"鹿邑县",parent:4116,lon:115.38398333433,lat:33.894050509383},{id:411681,name:"项城市",parent:4116,lon:114.89338047633,lat:33.274470322798},{id:411702,name:"驿城区",parent:4117,lon:114.00828960502,lat:32.968356527361},{id:411721,name:"西平县",parent:4117,lon:113.92283839684,lat:33.37154892996},{id:411722,name:"上蔡县",parent:4117,lon:114.40923857452,lat:33.301221213377},{id:411723,name:"平舆县",parent:4117,lon:114.64744862019,lat:32.992143963522},{id:411724,name:"正阳县",parent:4117,lon:114.49796073761,lat:32.546931233463},{id:411725,name:"确山县",parent:4117,lon:113.96358973796,lat:32.711951228899},{id:411726,name:"泌阳县",parent:4117,lon:113.44717429859,lat:32.883863636522},{id:411727,name:"汝南县",parent:4117,lon:114.3257758188,lat:32.921968466052},{id:411728,name:"遂平县",parent:4117,lon:113.90248496569,lat:33.167855168478},{id:411729,name:"新蔡县",parent:4117,lon:114.94939334965,lat:32.783574270118},{id:419001,name:"济源市",parent:4190,lon:112.40383005708,lat:35.093893094508},{id:420102,name:"江岸区",parent:4201,lon:114.33286813952,lat:30.656090889378},{id:420103,name:"江汉区",parent:4201,lon:114.26638369307,lat:30.610951375707},{id:420104,name:"硚口区",parent:4201,lon:114.21975676824,lat:30.603890608484},{id:420105,name:"汉阳区",parent:4201,lon:114.21759191464,lat:30.547265210116},{id:420106,name:"武昌区",parent:4201,lon:114.35362228468,lat:30.564860292785},{id:420107,name:"青山区",parent:4201,lon:114.44449542245,lat:30.633205056354},{id:420111,name:"洪山区",parent:4201,lon:114.43389643664,lat:30.54362328175},{id:420112,name:"东西湖区",parent:4201,lon:114.08715512184,lat:30.69815326481},{id:420113,name:"汉南区",parent:4201,lon:113.96273175623,lat:30.287139798861},{id:420114,name:"蔡甸区",parent:4201,lon:113.97206459286,lat:30.456183515878},{id:420115,name:"江夏区",parent:4201,lon:114.36708160048,lat:30.252484112134},{id:420116,name:"黄陂区",parent:4201,lon:114.36464422879,lat:30.985285897674},{id:420117,name:"新洲区",parent:4201,lon:114.76208468205,lat:30.803887901859},{id:420202,name:"黄石港区",parent:4202,lon:115.0731593966,lat:30.233764966969},{id:420203,name:"西塞山区",parent:4202,lon:115.1322665517,lat:30.184485507434},{id:420204,name:"下陆区",parent:4202,lon:114.99298679763,lat:30.195818128952},{id:420205,name:"铁山区",parent:4202,lon:114.90300946351,lat:30.218698027629},{id:420222,name:"阳新县",parent:4202,lon:115.14049262648,lat:29.828087088129},{id:420281,name:"大冶市",parent:4202,lon:114.84614160381,lat:30.072895848258},{id:420302,name:"茅箭区",parent:4203,lon:110.78595269258,lat:32.605601870191},{id:420303,name:"张湾区",parent:4203,lon:110.7174012025,lat:32.663839857981},{id:420304,name:"郧阳区",parent:4203,lon:110.70709242813,lat:32.848666872},{id:420322,name:"郧西县",parent:4203,lon:110.15015123042,lat:33.04842762997},{id:420323,name:"竹山县",parent:4203,lon:110.07273955599,lat:32.240141680909},{id:420324,name:"竹溪县",parent:4203,lon:109.7912365606,lat:32.0377375614},{id:420325,name:"房县",parent:4203,lon:110.71456120963,lat:31.896989987694},{id:420381,name:"丹江口市",parent:4203,lon:111.19322791899,lat:32.567476506858},{id:420502,name:"西陵区",parent:4205,lon:111.31370556274,lat:30.740828168194},{id:420503,name:"伍家岗区",parent:4205,lon:111.380922081,lat:30.678659340635},{id:420504,name:"点军区",parent:4205,lon:111.21627903018,lat:30.625384685781},{id:420505,name:"猇亭区",parent:4205,lon:111.45521482125,lat:30.551849254685},{id:420506,name:"夷陵区",parent:4205,lon:111.31064943757,lat:30.979970536584},{id:420525,name:"远安县",parent:4205,lon:111.58511301877,lat:31.176854341724},{id:420526,name:"兴山县",parent:4205,lon:110.82440565254,lat:31.319349537746},{id:420527,name:"秭归县",parent:4205,lon:110.68599344932,lat:30.903334635073},{id:420528,name:"长阳土家族自治县",parent:4205,lon:110.85396847661,lat:30.482854820654},{id:420529,name:"五峰土家族自治县",parent:4205,lon:110.70999872376,lat:30.173164959818},{id:420581,name:"宜都市",parent:4205,lon:111.37553355505,lat:30.294919731409},{id:420582,name:"当阳市",parent:4205,lon:111.84271236769,lat:30.825538036113},{id:420583,name:"枝江市",parent:4205,lon:111.72856708021,lat:30.451766635038},{id:420602,name:"襄城区",parent:4206,lon:112.01708254994,lat:31.935360283633},{id:420606,name:"樊城区",parent:4206,lon:111.92852759276,lat:32.153953344009},{id:420607,name:"襄州区",parent:4206,lon:112.1615782359,lat:32.161267821333},{id:420624,name:"南漳县",parent:4206,lon:111.76462860893,lat:31.643279800381},{id:420625,name:"谷城县",parent:4206,lon:111.49595776173,lat:32.173451559392},{id:420626,name:"保康县",parent:4206,lon:111.20990495958,lat:31.719672647836},{id:420682,name:"老河口市",parent:4206,lon:111.76583021988,lat:32.434165591299},{id:420683,name:"枣阳市",parent:4206,lon:112.77260678733,lat:32.092510578007},{id:420684,name:"宜城市",parent:4206,lon:112.37274539501,lat:31.673335169944},{id:420702,name:"梁子湖区",parent:4207,lon:114.65002920477,lat:30.172732100474},{id:420703,name:"华容区",parent:4207,lon:114.7014718376,lat:30.473067617235},{id:420704,name:"鄂城区",parent:4207,lon:114.90101603375,lat:30.320603111112},{id:420802,name:"东宝区",parent:4208,lon:112.08731072725,lat:31.129834655672},{id:420804,name:"掇刀区",parent:4208,lon:112.19392270314,lat:30.932878257728},{id:420821,name:"京山县",parent:4208,lon:113.1122609366,lat:31.085751895572},{id:420822,name:"沙洋县",parent:4208,lon:112.39598267744,lat:30.664549510743},{id:420881,name:"钟祥市",parent:4208,lon:112.58482623119,lat:31.244981073964},{id:420902,name:"孝南区",parent:4209,lon:114.01614199013,lat:30.9446167023},{id:420921,name:"孝昌县",parent:4209,lon:114.03487209446,lat:31.239758867241},{id:420922,name:"大悟县",parent:4209,lon:114.31029950549,lat:31.57825524841},{id:420923,name:"云梦县",parent:4209,lon:113.77818589474,lat:31.004978516713},{id:420981,name:"应城市",parent:4209,lon:113.55644020385,lat:30.925709286687},{id:420982,name:"安陆市",parent:4209,lon:113.63338728419,lat:31.304354863067},{id:420984,name:"汉川市",parent:4209,lon:113.68167835943,lat:30.622039213976},{id:421002,name:"沙市区",parent:4210,lon:112.42410926804,lat:30.325722718965},{id:421003,name:"荆州区",parent:4210,lon:112.09985718065,lat:30.396103360853},{id:421022,name:"公安县",parent:4210,lon:112.15361758468,lat:29.957130184896},{id:421023,name:"监利县",parent:4210,lon:113.0019564425,lat:29.848933249111},{id:421024,name:"江陵县",parent:4210,lon:112.47370114506,lat:30.101502949806},{id:421081,name:"石首市",parent:4210,lon:112.51435972656,lat:29.742222414324},{id:421083,name:"洪湖市",parent:4210,lon:113.53891465228,lat:29.996772000415},{id:421087,name:"松滋市",parent:4210,lon:111.69620454012,lat:30.105224314496},{id:421102,name:"黄州区",parent:4211,lon:114.94956939748,lat:30.518802478736},{id:421121,name:"团风县",parent:4211,lon:115.01408720557,lat:30.723706101243},{id:421122,name:"红安县",parent:4211,lon:114.62811879353,lat:31.29012275323},{id:421123,name:"罗田县",parent:4211,lon:115.48102224121,lat:30.932372750757},{id:421124,name:"英山县",parent:4211,lon:115.77430241642,lat:30.872992046545},{id:421125,name:"浠水县",parent:4211,lon:115.27625105135,lat:30.507400278808},{id:421126,name:"蕲春县",parent:4211,lon:115.60077083531,lat:30.328717011744},{id:421127,name:"黄梅县",parent:4211,lon:115.94188335896,lat:29.998875662753},{id:421181,name:"麻城市",parent:4211,lon:115.08971464087,lat:31.217943121813},{id:421182,name:"武穴市",parent:4211,lon:115.62583375392,lat:30.01561431062},{id:421202,name:"咸安区",parent:4212,lon:114.39186727646,lat:29.854650359958},{id:421221,name:"嘉鱼县",parent:4212,lon:113.9671389967,lat:30.013807145954},{id:421222,name:"通城县",parent:4212,lon:113.85326552547,lat:29.229496067967},{id:421223,name:"崇阳县",parent:4212,lon:114.06793496135,lat:29.46178869538},{id:421224,name:"通山县",parent:4212,lon:114.61524564759,lat:29.557670344417},{id:421281,name:"赤壁市",parent:4212,lon:113.88916760653,lat:29.742560741036},{id:421303,name:"曾都区",parent:4213,lon:113.46768060015,lat:31.607981069768},{id:421321,name:"随县",parent:4213,lon:113.26226604576,lat:31.89292220952},{id:421381,name:"广水市",parent:4213,lon:113.81261910549,lat:31.68232502305},{id:422801,name:"恩施市",parent:4228,lon:109.15843052724,lat:30.463309797502},{id:422802,name:"利川市",parent:4228,lon:108.75827737341,lat:30.42403337354},{id:422822,name:"建始县",parent:4228,lon:109.93959920981,lat:30.578575985623},{id:422823,name:"巴东县",parent:4228,lon:110.30061735767,lat:30.827452858588},{id:422825,name:"宣恩县",parent:4228,lon:109.45211696118,lat:30.044021286424},{id:422826,name:"咸丰县",parent:4228,lon:109.11475831378,lat:29.64880608709},{id:422827,name:"来凤县",parent:4228,lon:109.2467141194,lat:29.425663227736},{id:422828,name:"鹤峰县",parent:4228,lon:110.2232960585,lat:29.959848783933},{id:429004,name:"仙桃市",parent:4290,lon:113.38744819358,lat:30.293966004922},{id:429005,name:"潜江市",parent:4290,lon:112.76876801686,lat:30.343115792601},{id:429006,name:"天门市",parent:4290,lon:113.12623048765,lat:30.649047356422},{id:429021,name:"神农架林区",parent:4290,lon:110.48723070015,lat:31.595767599083},{id:430102,name:"芙蓉区",parent:4301,lon:113.02096885649,lat:28.203810552355},{id:430103,name:"天心区",parent:4301,lon:112.99619520748,lat:28.144470861087},{id:430104,name:"岳麓区",parent:4301,lon:112.90869935253,lat:28.202706634928},{id:430105,name:"开福区",parent:4301,lon:113.02472997183,lat:28.260219056422},{id:430111,name:"雨花区",parent:4301,lon:113.02020071545,lat:28.146444362118},{id:430112,name:"望城区",parent:4301,lon:112.84853518023,lat:28.277901873199},{id:430121,name:"长沙县",parent:4301,lon:113.22494603976,lat:28.322758625178},{id:430124,name:"宁乡县",parent:4301,lon:112.36046547366,lat:28.131212630242},{id:430181,name:"浏阳市",parent:4301,lon:113.72198528266,lat:28.234472053802},{id:430202,name:"荷塘区",parent:4302,lon:113.2125259488,lat:27.907228809861},{id:430203,name:"芦淞区",parent:4302,lon:113.16975977942,lat:27.822072525123},{id:430204,name:"石峰区",parent:4302,lon:113.16351107646,lat:27.941584145955},{id:430211,name:"天元区",parent:4302,lon:113.06800898383,lat:27.77777212283},{id:430221,name:"株洲县",parent:4302,lon:113.15334777322,lat:27.535936240494},{id:430223,name:"攸县",parent:4302,lon:113.48783136261,lat:27.172267738735},{id:430224,name:"茶陵县",parent:4302,lon:113.6524812712,lat:26.806729309467},{id:430225,name:"炎陵县",parent:4302,lon:113.85053602814,lat:26.382712485446},{id:430281,name:"醴陵市",parent:4302,lon:113.47062497305,lat:27.662278573878},{id:430302,name:"雨湖区",parent:4303,lon:112.89447989496,lat:27.871843464684},{id:430304,name:"岳塘区",parent:4303,lon:113.02348797463,lat:27.927747363022},{id:430321,name:"湘潭县",parent:4303,lon:112.78880535021,lat:27.66922281069},{id:430381,name:"湘乡市",parent:4303,lon:112.35516854771,lat:27.77667974388},{id:430382,name:"韶山市",parent:4303,lon:112.53309503972,lat:27.927332779842},{id:430405,name:"珠晖区",parent:4304,lon:112.68848999752,lat:26.882224641246},{id:430406,name:"雁峰区",parent:4304,lon:112.60790741194,lat:26.852862113311},{id:430407,name:"石鼓区",parent:4304,lon:112.60248766531,lat:26.958880199218},{id:430408,name:"蒸湘区",parent:4304,lon:112.5550474327,lat:26.886508776556},{id:430412,name:"南岳区",parent:4304,lon:112.70876706188,lat:27.259358565856},{id:430421,name:"衡阳县",parent:4304,lon:112.35157940823,lat:27.109626113862},{id:430422,name:"衡南县",parent:4304,lon:112.64851378595,lat:26.759844895044},{id:430423,name:"衡山县",parent:4304,lon:112.71963002036,lat:27.281912376828},{id:430424,name:"衡东县",parent:4304,lon:113.02900158518,lat:27.085080215257},{id:430426,name:"祁东县",parent:4304,lon:111.96160590404,lat:26.806848291159},{id:430481,name:"耒阳市",parent:4304,lon:112.9215515181,lat:26.423992793417},{id:430482,name:"常宁市",parent:4304,lon:112.43550437188,lat:26.365629347663},{id:430502,name:"双清区",parent:4305,lon:111.54534736863,lat:27.248222019138},{id:430503,name:"大祥区",parent:4305,lon:111.48663933069,lat:27.15673687542},{id:430511,name:"北塔区",parent:4305,lon:111.42227870533,lat:27.250338344113},{id:430521,name:"邵东县",parent:4305,lon:111.85672034136,lat:27.193653689477},{id:430522,name:"新邵县",parent:4305,lon:111.47127474176,lat:27.431198790186},{id:430523,name:"邵阳县",parent:4305,lon:111.33237232124,lat:26.984976684914},{id:430524,name:"隆回县",parent:4305,lon:110.97332605607,lat:27.351830793846},{id:430525,name:"洞口县",parent:4305,lon:110.5997390171,lat:27.103195627285},{id:430527,name:"绥宁县",parent:4305,lon:110.20598518573,lat:26.714433355354},{id:430528,name:"新宁县",parent:4305,lon:110.92469767578,lat:26.548580699981},{id:430529,name:"城步苗族自治县",parent:4305,lon:110.32530265472,lat:26.325514573582},{id:430581,name:"武冈市",parent:4305,lon:110.74581533919,lat:26.786578072622},{id:430602,name:"岳阳楼区",parent:4306,lon:113.15536982346,lat:29.367743455935},{id:430603,name:"云溪区",parent:4306,lon:113.35377424951,lat:29.526210726593},{id:430611,name:"君山区",parent:4306,lon:112.82353001902,lat:29.461963175999},{id:430621,name:"岳阳县",parent:4306,lon:113.23752715256,lat:29.178498531192},{id:430623,name:"华容县",parent:4306,lon:112.65100948964,lat:29.493395834151},{id:430624,name:"湘阴县",parent:4306,lon:112.8053736108,lat:28.713089704815},{id:430626,name:"平江县",parent:4306,lon:113.72084646866,lat:28.762202955269},{id:430681,name:"汨罗市",parent:4306,lon:113.12502676793,lat:28.801958087001},{id:430682,name:"临湘市",parent:4306,lon:113.51974938156,lat:29.496146011064},{id:430702,name:"武陵区",parent:4307,lon:111.69744989482,lat:28.996871241883},{id:430703,name:"鼎城区",parent:4307,lon:111.74779560677,lat:28.99524298628},{id:430721,name:"安乡县",parent:4307,lon:112.16243681004,lat:29.448996008449},{id:430722,name:"汉寿县",parent:4307,lon:112.04431060341,lat:28.864800229907},{id:430723,name:"澧县",parent:4307,lon:111.70770306732,lat:29.750168137633},{id:430724,name:"临澧县",parent:4307,lon:111.62542246954,lat:29.486256878123},{id:430725,name:"桃源县",parent:4307,lon:111.27070654871,lat:28.917817681602},{id:430726,name:"石门县",parent:4307,lon:111.04428685665,lat:29.801742760215},{id:430781,name:"津市市",parent:4307,lon:111.90685042221,lat:29.474442427089},{id:430802,name:"永定区",parent:4308,lon:110.50100729665,lat:29.08853881247},{id:430811,name:"武陵源区",parent:4308,lon:110.48849578734,lat:29.35720050871},{id:430821,name:"慈利县",parent:4308,lon:110.9362003537,lat:29.397692771035},{id:430822,name:"桑植县",parent:4308,lon:110.18733600686,lat:29.567691591611},{id:430902,name:"资阳区",parent:4309,lon:112.34312135279,lat:28.694069428897},{id:430903,name:"赫山区",parent:4309,lon:112.46132362565,lat:28.456919373898},{id:430921,name:"南县",parent:4309,lon:112.4444992186,lat:29.242714345729},{id:430922,name:"桃江县",parent:4309,lon:111.99046415183,lat:28.464142378681},{id:430923,name:"安化县",parent:4309,lon:111.39078157302,lat:28.286580101198},{id:430981,name:"沅江市",parent:4309,lon:112.56494222194,lat:28.977186044013},{id:431002,name:"北湖区",parent:4310,lon:112.88447564616,lat:25.679158376796},{id:431003,name:"苏仙区",parent:4310,lon:113.05100154527,lat:25.773515156215},{id:431021,name:"桂阳县",parent:4310,lon:112.60810756507,lat:25.893490018268},{id:431022,name:"宜章县",parent:4310,lon:112.93344735219,lat:25.275886554538},{id:431023,name:"永兴县",parent:4310,lon:113.19839325538,lat:26.216491688814},{id:431024,name:"嘉禾县",parent:4310,lon:112.41435261569,lat:25.637287293573},{id:431025,name:"临武县",parent:4310,lon:112.56804110466,lat:25.34399717934},{id:431026,name:"汝城县",parent:4310,lon:113.67767672321,lat:25.555136753643},{id:431027,name:"桂东县",parent:4310,lon:113.90640126356,lat:25.98664473819},{id:431028,name:"安仁县",parent:4310,lon:113.3656988724,lat:26.580785897827},{id:431081,name:"资兴市",parent:4310,lon:113.4685220784,lat:25.937184405929},{id:431102,name:"零陵区",parent:4311,lon:111.56391866724,lat:26.102311299933},{id:431103,name:"冷水滩区",parent:4311,lon:111.6215855691,lat:26.560381677834},{id:431121,name:"祁阳县",parent:4311,lon:111.97259355447,lat:26.460846002508},{id:431122,name:"东安县",parent:4311,lon:111.3428094117,lat:26.495587621014},{id:431123,name:"双牌县",parent:4311,lon:111.71629417694,lat:25.914932997744},{id:431124,name:"道县",parent:4311,lon:111.60204209765,lat:25.499396959983},{id:431125,name:"江永县",parent:4311,lon:111.25388667817,lat:25.199988241379},{id:431126,name:"宁远县",parent:4311,lon:111.98806316398,lat:25.653839564231},{id:431127,name:"蓝山县",parent:4311,lon:112.1963927883,lat:25.319502616064},{id:431128,name:"新田县",parent:4311,lon:112.23480727989,lat:25.890527389354},{id:431129,name:"江华瑶族自治县",parent:4311,lon:111.75249569192,lat:24.977642122796},{id:431202,name:"鹤城区",parent:4312,lon:109.94553900894,lat:27.612024135064},{id:431221,name:"中方县",parent:4312,lon:110.16536245669,lat:27.52093513528},{id:431222,name:"沅陵县",parent:4312,lon:110.60117801132,lat:28.576604506247},{id:431223,name:"辰溪县",parent:4312,lon:110.27300890779,lat:27.895902086692},{id:431224,name:"溆浦县",parent:4312,lon:110.65858111747,lat:27.83590994386},{id:431225,name:"会同县",parent:4312,lon:109.8099454141,lat:26.914136373938},{id:431226,name:"麻阳苗族自治县",parent:4312,lon:109.72917909558,lat:27.791375726707},{id:431227,name:"新晃侗族自治县",parent:4312,lon:109.1687410593,lat:27.234509109112},{id:431228,name:"芷江侗族自治县",parent:4312,lon:109.61110485123,lat:27.402510416382},{id:431229,name:"靖州苗族侗族自治县",parent:4312,lon:109.59083349436,lat:26.550430723333},{id:431230,name:"通道侗族自治县",parent:4312,lon:109.7446605455,lat:26.215115332486},{id:431281,name:"洪江市",parent:4312,lon:110.08719342097,lat:27.239105321481},{id:431302,name:"娄星区",parent:4313,lon:112.00461910688,lat:27.766945342839},{id:431321,name:"双峰县",parent:4313,lon:112.18792282367,lat:27.465564445594},{id:431322,name:"新化县",parent:4313,lon:111.24684472009,lat:27.873272599439},{id:431381,name:"冷水江市",parent:4313,lon:111.49394197482,lat:27.684914712556},{id:431382,name:"涟源市",parent:4313,lon:111.79458146238,lat:27.743727453351},{id:433101,name:"吉首市",parent:4331,lon:109.90596604398,lat:28.297553747059},{id:433122,name:"泸溪县",parent:4331,lon:109.83368299284,lat:28.004620053587},{id:433123,name:"凤凰县",parent:4331,lon:109.627609014,lat:28.128806804716},{id:433124,name:"花垣县",parent:4331,lon:109.45712787573,lat:28.573833156579},{id:433125,name:"保靖县",parent:4331,lon:109.69701784684,lat:28.653191600514},{id:433126,name:"古丈县",parent:4331,lon:110.00814905055,lat:28.603594321825},{id:433127,name:"永顺县",parent:4331,lon:109.95878299439,lat:28.753308819921},{id:433130,name:"龙山县",parent:4331,lon:109.44489996147,lat:29.458093683151},{id:440103,name:"荔湾区",parent:4401,lon:113.23442278391,lat:23.093666203644},{id:440104,name:"越秀区",parent:4401,lon:113.28783302666,lat:23.139277859339},{id:440105,name:"海珠区",parent:4401,lon:113.33384126613,lat:23.087629228789},{id:440106,name:"天河区",parent:4401,lon:113.38564289133,lat:23.166129265425},{id:440111,name:"白云区",parent:4401,lon:113.33130628641,lat:23.294514083014},{id:440112,name:"黄埔区",parent:4401,lon:113.49288457425,lat:23.108711814239},{id:440113,name:"番禺区",parent:4401,lon:113.41679952965,lat:22.934590795798},{id:440114,name:"花都区",parent:4401,lon:113.22017551212,lat:23.446660997141},{id:440115,name:"南沙区",parent:4401,lon:113.58022392527,lat:22.729893804121},{id:440117,name:"从化区",parent:4401,lon:113.69870948609,lat:23.705203224537},{id:440118,name:"增城区",parent:4401,lon:113.77002334194,lat:23.332025887963},{id:440203,name:"武江区",parent:4402,lon:113.37960618165,lat:24.708193228698},{id:440204,name:"浈江区",parent:4402,lon:113.57745027759,lat:24.919162254549},{id:440205,name:"曲江区",parent:4402,lon:113.64217762719,lat:24.651897914445},{id:440222,name:"始兴县",parent:4402,lon:114.11540446493,lat:24.852706291962},{id:440224,name:"仁化县",parent:4402,lon:113.78547373726,lat:25.148465646013},{id:440229,name:"翁源县",parent:4402,lon:114.03042755919,lat:24.426734740638},{id:440232,name:"乳源瑶族自治县",parent:4402,lon:113.17577755468,lat:24.812051773842},{id:440233,name:"新丰县",parent:4402,lon:114.14177489194,lat:24.070091776392},{id:440281,name:"乐昌市",parent:4402,lon:113.24695611826,lat:25.244441914003},{id:440282,name:"南雄市",parent:4402,lon:114.38658277052,lat:25.189905400508},{id:440303,name:"罗湖区",parent:4403,lon:114.15639529324,lat:22.581934478848},{id:440304,name:"福田区",parent:4403,lon:114.05559275391,lat:22.551730572433},{id:440305,name:"南山区",parent:4403,lon:113.95072266574,lat:22.558887751083},{id:440306,name:"宝安区",parent:4403,lon:113.93001313569,lat:22.707432793082},{id:440307,name:"龙岗区",parent:4403,lon:114.34769572771,lat:22.657462286882},{id:440308,name:"盐田区",parent:4403,lon:114.27848287567,lat:22.606981337589},{id:440402,name:"香洲区",parent:4404,lon:113.53373098039,lat:22.26559983535},{id:440403,name:"斗门区",parent:4404,lon:113.24798167517,lat:22.216636753124},{id:440404,name:"金湾区",parent:4404,lon:113.41758987066,lat:22.04721492726},{id:440507,name:"龙湖区",parent:4405,lon:116.75934746239,lat:23.408849226222},{id:440511,name:"金平区",parent:4405,lon:116.65179359137,lat:23.399887892781},{id:440512,name:"濠江区",parent:4405,lon:116.71136293853,lat:23.282442837577},{id:440513,name:"潮阳区",parent:4405,lon:116.48544753544,lat:23.347253898106},{id:440514,name:"潮南区",parent:4405,lon:116.41405584392,lat:23.181395091106},{id:440515,name:"澄海区",parent:4405,lon:116.8148077949,lat:23.532996549632},{id:440523,name:"南澳县",parent:4405,lon:117.0704048247,lat:23.439131822072},{id:440604,name:"禅城区",parent:4406,lon:113.07042319497,lat:23.004210165991},{id:440605,name:"南海区",parent:4406,lon:113.04138132585,lat:23.07826538747},{id:440606,name:"顺德区",parent:4406,lon:113.18702987688,lat:22.848510084787},{id:440607,name:"三水区",parent:4406,lon:112.90467719327,lat:23.294580845555},{id:440608,name:"高明区",parent:4406,lon:112.68325830314,lat:22.824522683444},{id:440703,name:"蓬江区",parent:4407,lon:113.06077007598,lat:22.660132832793},{id:440704,name:"江海区",parent:4407,lon:113.13537054201,lat:22.554846678035},{id:440705,name:"新会区",parent:4407,lon:113.0347511329,lat:22.38821506964},{id:440781,name:"台山市",parent:4407,lon:112.7159079377,lat:22.034638545952},{id:440783,name:"开平市",parent:4407,lon:112.54804114164,lat:22.374200664984},{id:440784,name:"鹤山市",parent:4407,lon:112.80161841196,lat:22.675317373533},{id:440785,name:"恩平市",parent:4407,lon:112.28646122263,lat:22.240985208711},{id:440802,name:"赤坎区",parent:4408,lon:110.37972297262,lat:21.287667885107},{id:440803,name:"霞山区",parent:4408,lon:110.38519600028,lat:21.2048473973},{id:440804,name:"坡头区",parent:4408,lon:110.51272613161,lat:21.283819774873},{id:440811,name:"麻章区",parent:4408,lon:110.33802177707,lat:21.094100364979},{id:440823,name:"遂溪县",parent:4408,lon:110.0398954377,lat:21.270307383787},{id:440825,name:"徐闻县",parent:4408,lon:110.25784725094,lat:20.429967572815},{id:440881,name:"廉江市",parent:4408,lon:110.14171137206,lat:21.645265225554},{id:440882,name:"雷州市",parent:4408,lon:110.01263612715,lat:20.796584309564},{id:440883,name:"吴川市",parent:4408,lon:110.70818705195,lat:21.441681041112},{id:440902,name:"茂南区",parent:4409,lon:110.86860979348,lat:21.676115917529},{id:440904,name:"电白区",parent:4409,lon:111.15968915137,lat:21.66821689615},{id:440981,name:"高州市",parent:4409,lon:110.97560541086,lat:22.035521645119},{id:440982,name:"化州市",parent:4409,lon:110.53959146838,lat:21.845482259109},{id:440983,name:"信宜市",parent:4409,lon:111.12542886235,lat:22.431974274304},{id:441202,name:"端州区",parent:4412,lon:112.47779387429,lat:23.103323258382},{id:441203,name:"鼎湖区",parent:4412,lon:112.62524912783,lat:23.208968105809},{id:441204,name:"高要区",parent:4412,lon:112.51216619847,lat:23.110684686218},{id:441223,name:"广宁县",parent:4412,lon:112.44331648004,lat:23.677207015329},{id:441224,name:"怀集县",parent:4412,lon:112.18024001499,lat:23.974272952942},{id:441225,name:"封开县",parent:4412,lon:111.72348651223,lat:23.561267405148},{id:441226,name:"德庆县",parent:4412,lon:111.98726848872,lat:23.276366860198},{id:441284,name:"四会市",parent:4412,lon:112.68755812366,lat:23.431443755334},{id:441302,name:"惠城区",parent:4413,lon:114.7325947848,lat:23.278292790243},{id:441303,name:"惠阳区",parent:4413,lon:114.47977020249,lat:22.788789691764},{id:441322,name:"博罗县",parent:4413,lon:114.28847482844,lat:23.352582051478},{id:441323,name:"惠东县",parent:4413,lon:114.95551769006,lat:23.049117499162},{id:441324,name:"龙门县",parent:4413,lon:114.13724281901,lat:23.666408023307},{id:441402,name:"梅江区",parent:4414,lon:116.11595202018,lat:24.290750354901},{id:441403,name:"梅县区",parent:4414,lon:116.171027251,lat:24.3647824353},{id:441422,name:"大埔县",parent:4414,lon:116.66412418408,lat:24.347933570693},{id:441423,name:"丰顺县",parent:4414,lon:116.29139470791,lat:23.916084592091},{id:441424,name:"五华县",parent:4414,lon:115.64131969769,lat:23.802833236552},{id:441426,name:"平远县",parent:4414,lon:115.93265634975,lat:24.695653660804},{id:441427,name:"蕉岭县",parent:4414,lon:116.19614150108,lat:24.683283405987},{id:441481,name:"兴宁市",parent:4414,lon:115.75329965584,lat:24.267311238028},{id:441502,name:"城区",parent:4415,lon:115.42435769122,lat:22.768710049741},{id:441521,name:"海丰县",parent:4415,lon:115.2863223299,lat:22.969599520286},{id:441523,name:"陆河县",parent:4415,lon:115.62919633367,lat:23.284406924899},{id:441581,name:"陆丰市",parent:4415,lon:115.78802975191,lat:22.967876723873},{id:441602,name:"源城区",parent:4416,lon:114.65448360226,lat:23.693604112347},{id:441621,name:"紫金县",parent:4416,lon:115.06447099781,lat:23.525442374357},{id:441622,name:"龙川县",parent:4416,lon:115.36229172074,lat:24.334679775761},{id:441623,name:"连平县",parent:4416,lon:114.54297659273,lat:24.340566290031},{id:441624,name:"和平县",parent:4416,lon:115.01181507521,lat:24.45211039106},{id:441625,name:"东源县",parent:4416,lon:114.82694608538,lat:23.933052556598},{id:441702,name:"江城区",parent:4417,lon:111.93003574135,lat:21.762803637074},{id:441704,name:"阳东区",parent:4417,lon:112.04622577462,lat:21.90761038558},{id:441721,name:"阳西县",parent:4417,lon:111.60050919755,lat:21.720609599412},{id:441781,name:"阳春市",parent:4417,lon:111.69444876956,lat:22.223897927949},{id:441802,name:"清城区",parent:4418,lon:113.11458528252,lat:23.62585596526},{id:441803,name:"清新区",parent:4418,lon:112.94889933526,lat:23.932290452567},{id:441821,name:"佛冈县",parent:4418,lon:113.56668917499,lat:23.881077228129},{id:441823,name:"阳山县",parent:4418,lon:112.68133014518,lat:24.509485552315},{id:441825,name:"连山壮族瑶族自治县",parent:4418,lon:112.10080575295,lat:24.515164969495},{id:441826,name:"连南瑶族自治县",parent:4418,lon:112.26364236788,lat:24.574155992653},{id:441881,name:"英德市",parent:4418,lon:113.32316898492,lat:24.225680391225},{id:441882,name:"连州市",parent:4418,lon:112.45918890578,lat:24.937020846031},{id:441900,name:"东莞市",parent:44,lon:113.76343399076,lat:23.043023815368},{id:442e3,name:"中山市",parent:44,lon:113.4220600208,lat:22.545177514513},{id:445102,name:"湘桥区",parent:4451,lon:116.67789952964,lat:23.700043577114},{id:445103,name:"潮安区",parent:4451,lon:116.60876927831,lat:23.717386141778},{id:445122,name:"饶平县",parent:4451,lon:116.90612266997,lat:23.865029718048},{id:445202,name:"榕城区",parent:4452,lon:116.3692235802,lat:23.529452754199},{id:445203,name:"揭东区",parent:4452,lon:116.37807073325,lat:23.585024810833},{id:445222,name:"揭西县",parent:4452,lon:115.91682503049,lat:23.494712399671},{id:445224,name:"惠来县",parent:4452,lon:116.2247989034,lat:23.034046544147},{id:445281,name:"普宁市",parent:4452,lon:116.07816590835,lat:23.288953583142},{id:445302,name:"云城区",parent:4453,lon:112.17160356227,lat:22.973002378136},{id:445303,name:"云安区",parent:4453,lon:111.96143088808,lat:22.856466364893},{id:445321,name:"新兴县",parent:4453,lon:112.21754109744,lat:22.626992446128},{id:445322,name:"郁南县",parent:4453,lon:111.61993760725,lat:23.043633197681},{id:445381,name:"罗定市",parent:4453,lon:111.49324209266,lat:22.690983986437},{id:450102,name:"兴宁区",parent:4501,lon:108.41762068739,lat:22.924530825243},{id:450103,name:"青秀区",parent:4501,lon:108.54167973252,lat:22.829217973591},{id:450105,name:"江南区",parent:4501,lon:108.13559066584,lat:22.663806639444},{id:450107,name:"西乡塘区",parent:4501,lon:108.21544203073,lat:22.912937296114},{id:450108,name:"良庆区",parent:4501,lon:108.37044913796,lat:22.498910081219},{id:450109,name:"邕宁区",parent:4501,lon:108.62620569962,lat:22.595811549706},{id:450110,name:"武鸣区",parent:4501,lon:108.23369489981,lat:23.233267218289},{id:450123,name:"隆安县",parent:4501,lon:107.69066557406,lat:23.110227709531},{id:450124,name:"马山县",parent:4501,lon:108.1696043635,lat:23.664942974082},{id:450125,name:"上林县",parent:4501,lon:108.64581538209,lat:23.521730154673},{id:450126,name:"宾阳县",parent:4501,lon:108.94049469657,lat:23.168344342302},{id:450127,name:"横县",parent:4501,lon:109.16892656267,lat:22.774919317685},{id:450202,name:"城中区",parent:4502,lon:109.48318080161,lat:24.371128485733},{id:450203,name:"鱼峰区",parent:4502,lon:109.45632703637,lat:24.275815550781},{id:450204,name:"柳南区",parent:4502,lon:109.34346581857,lat:24.306183897363},{id:450205,name:"柳北区",parent:4502,lon:109.41391452987,lat:24.471742756535},{id:450206,name:"柳江区",parent:4502,lon:109.33837797157,lat:24.21578019619},{id:450222,name:"柳城县",parent:4502,lon:109.23019655363,lat:24.62988200842},{id:450223,name:"鹿寨县",parent:4502,lon:109.80281600679,lat:24.532198388889},{id:450224,name:"融安县",parent:4502,lon:109.51401020724,lat:25.139782632024},{id:450225,name:"融水苗族自治县",parent:4502,lon:109.05786347353,lat:25.343698638547},{id:450226,name:"三江侗族自治县",parent:4502,lon:109.5100810614,lat:25.74756560612},{id:450302,name:"秀峰区",parent:4503,lon:110.27454852003,lat:25.287138490985},{id:450303,name:"叠彩区",parent:4503,lon:110.336225817,lat:25.318874237568},{id:450304,name:"象山区",parent:4503,lon:110.28460774513,lat:25.215755465426},{id:450305,name:"七星区",parent:4503,lon:110.35658833681,lat:25.264669861823},{id:450311,name:"雁山区",parent:4503,lon:110.37148547606,lat:25.112805740761},{id:450312,name:"临桂区",parent:4503,lon:110.05831249425,lat:25.266798702759},{id:450321,name:"阳朔县",parent:4503,lon:110.48292929478,lat:24.857282289724},{id:450323,name:"灵川县",parent:4503,lon:110.41812911351,lat:25.381008804927},{id:450324,name:"全州县",parent:4503,lon:111.02643476452,lat:25.936464773168},{id:450325,name:"兴安县",parent:4503,lon:110.60102057414,lat:25.6070310342},{id:450326,name:"永福县",parent:4503,lon:109.91693042182,lat:24.997329894857},{id:450327,name:"灌阳县",parent:4503,lon:111.0777084233,lat:25.458880833514},{id:450328,name:"龙胜各族自治县",parent:4503,lon:110.0102504878,lat:25.868327982022},{id:450329,name:"资源县",parent:4503,lon:110.59842700994,lat:26.067857197159},{id:450330,name:"平乐县",parent:4503,lon:110.79768988938,lat:24.558919773879},{id:450331,name:"荔浦县",parent:4503,lon:110.36832789757,lat:24.525342885432},{id:450332,name:"恭城瑶族自治县",parent:4503,lon:110.90944732333,lat:24.949325584117},{id:450403,name:"万秀区",parent:4504,lon:111.42162608637,lat:23.563455294046},{id:450405,name:"长洲区",parent:4504,lon:111.1899141988,lat:23.560200006306},{id:450406,name:"龙圩区",parent:4504,lon:111.32167060016,lat:23.205423202289},{id:450421,name:"苍梧县",parent:4504,lon:111.29835212828,lat:23.626737954219},{id:450422,name:"藤县",parent:4504,lon:110.77883787789,lat:23.510902782468},{id:450423,name:"蒙山县",parent:4504,lon:110.56122298515,lat:24.133850543878},{id:450481,name:"岑溪市",parent:4504,lon:111.02872021172,lat:22.925290987321},{id:450502,name:"海城区",parent:4505,lon:109.16534360381,lat:21.518620780285},{id:450503,name:"银海区",parent:4505,lon:109.2515908141,lat:21.48972262057},{id:450512,name:"铁山港区",parent:4505,lon:109.42248930511,lat:21.574915371765},{id:450521,name:"合浦县",parent:4505,lon:109.33539345631,lat:21.740444343774},{id:450602,name:"港口区",parent:4506,lon:108.44916612265,lat:21.662035674238},{id:450603,name:"防城区",parent:4506,lon:108.02974018357,lat:21.764841822261},{id:450621,name:"上思县",parent:4506,lon:107.90234352919,lat:22.053625294887},{id:450681,name:"东兴市",parent:4506,lon:108.0610807332,lat:21.627169839712},{id:450702,name:"钦南区",parent:4507,lon:108.8165239388,lat:21.89668072285},{id:450703,name:"钦北区",parent:4507,lon:108.52867631111,lat:22.171133309191},{id:450721,name:"灵山县",parent:4507,lon:109.14774755818,lat:22.315715686267},{id:450722,name:"浦北县",parent:4507,lon:109.54236668008,lat:22.271304072712},{id:450802,name:"港北区",parent:4508,lon:109.68955750941,lat:23.244654866397},{id:450803,name:"港南区",parent:4508,lon:109.7098514885,lat:22.87475110083},{id:450804,name:"覃塘区",parent:4508,lon:109.4013360968,lat:23.147899675106},{id:450821,name:"平南县",parent:4508,lon:110.41260119285,lat:23.538682883685},{id:450881,name:"桂平市",parent:4508,lon:110.08711890997,lat:23.3332806173},{id:450902,name:"玉州区",parent:4509,lon:110.0645342655,lat:22.557212692568},{id:450903,name:"福绵区",parent:4509,lon:109.99939646175,lat:22.485121229661},{id:450921,name:"容县",parent:4509,lon:110.61027737584,lat:22.831614121088},{id:450922,name:"陆川县",parent:4509,lon:110.27211293424,lat:22.251747037814},{id:450923,name:"博白县",parent:4509,lon:109.87890451509,lat:22.066766171087},{id:450924,name:"兴业县",parent:4509,lon:109.92861094693,lat:22.798461756462},{id:450981,name:"北流市",parent:4509,lon:110.46705456426,lat:22.528890370522},{id:451002,name:"右江区",parent:4510,lon:106.50559640624,lat:23.941865593712},{id:451021,name:"田阳县",parent:4510,lon:106.81127009414,lat:23.729759302774},{id:451022,name:"田东县",parent:4510,lon:107.19163711741,lat:23.614585367817},{id:451023,name:"平果县",parent:4510,lon:107.57751209903,lat:23.540954424157},{id:451024,name:"德保县",parent:4510,lon:106.59428466728,lat:23.382214509826},{id:451026,name:"那坡县",parent:4510,lon:105.8347049622,lat:23.247545560208},{id:451027,name:"凌云县",parent:4510,lon:106.64837922239,lat:24.363726145418},{id:451028,name:"乐业县",parent:4510,lon:106.5178987429,lat:24.829664240385},{id:451029,name:"田林县",parent:4510,lon:105.99982724993,lat:24.392538479127},{id:451030,name:"西林县",parent:4510,lon:105.09732745516,lat:24.391377583083},{id:451031,name:"隆林各族自治县",parent:4510,lon:105.30321343556,lat:24.680432837057},{id:451081,name:"靖西市",parent:4510,lon:106.38310874744,lat:23.221036271428},{id:451102,name:"八步区",parent:4511,lon:111.68835191834,lat:24.309335821524},{id:451103,name:"平桂区",parent:4511,lon:111.4583206726,lat:24.272024331072},{id:451121,name:"昭平县",parent:4511,lon:110.97690768696,lat:24.108072861819},{id:451122,name:"钟山县",parent:4511,lon:111.24883282187,lat:24.513864981375},{id:451123,name:"富川瑶族自治县",parent:4511,lon:111.31324328294,lat:24.891613643714},{id:451202,name:"金城江区",parent:4512,lon:107.87344356952,lat:24.660762069433},{id:451221,name:"南丹县",parent:4512,lon:107.46800068753,lat:25.11943883054},{id:451222,name:"天峨县",parent:4512,lon:106.99659443884,lat:25.01883375149},{id:451223,name:"凤山县",parent:4512,lon:107.01971572195,lat:24.560064974996},{id:451224,name:"东兰县",parent:4512,lon:107.41353376084,lat:24.511600489222},{id:451225,name:"罗城仫佬族自治县",parent:4512,lon:108.82719124199,lat:24.904567511665},{id:451226,name:"环江毛南族自治县",parent:4512,lon:108.29198518646,lat:25.104531056442},{id:451227,name:"巴马瑶族自治县",parent:4512,lon:107.20766596976,lat:24.157595548736},{id:451228,name:"都安瑶族自治县",parent:4512,lon:108.11806068056,lat:24.169778074597},{id:451229,name:"大化瑶族自治县",parent:4512,lon:107.71195932144,lat:23.970744702117},{id:451281,name:"宜州市",parent:4512,lon:108.5465522796,lat:24.481176748089},{id:451302,name:"兴宾区",parent:4513,lon:109.19320522678,lat:23.664270771977},{id:451321,name:"忻城县",parent:4513,lon:108.75231859732,lat:24.018747261796},{id:451322,name:"象州县",parent:4513,lon:109.77196784577,lat:24.019170132851},{id:451323,name:"武宣县",parent:4513,lon:109.68768015891,lat:23.61072110732},{id:451324,name:"金秀瑶族自治县",parent:4513,lon:110.13777637174,lat:24.089876611192},{id:451381,name:"合山市",parent:4513,lon:108.94253993058,lat:23.802816135427},{id:451402,name:"江州区",parent:4514,lon:107.46135714079,lat:22.529826577387},{id:451421,name:"扶绥县",parent:4514,lon:107.82912504554,lat:22.524058231311},{id:451422,name:"宁明县",parent:4514,lon:107.29465888577,lat:22.005062342039},{id:451423,name:"龙州县",parent:4514,lon:106.85853904762,lat:22.431578425316},{id:451424,name:"大新县",parent:4514,lon:107.13710947577,lat:22.813462764842},{id:451425,name:"天等县",parent:4514,lon:107.08133912276,lat:23.117161246424},{id:451481,name:"凭祥市",parent:4514,lon:106.83705317757,lat:22.093647276973},{id:460105,name:"秀英区",parent:4601,lon:110.26320040619,lat:19.884344360797},{id:460106,name:"龙华区",parent:4601,lon:110.33522411653,lat:19.905350664019},{id:460107,name:"琼山区",parent:4601,lon:110.48011046473,lat:19.741333613805},{id:460108,name:"美兰区",parent:4601,lon:110.50726929452,lat:19.942908977934},{id:460202,name:"海棠区",parent:4602,lon:109.73605457423,lat:18.38141790489},{id:460203,name:"吉阳区",parent:4602,lon:109.57378482237,lat:18.266590591978},{id:460204,name:"天涯区",parent:4602,lon:109.38879057584,lat:18.395908258064},{id:460205,name:"崖州区",parent:4602,lon:109.18636245975,lat:18.448774794407},{id:460321,name:"西沙群岛",parent:4603,lon:111.67308686126,lat:16.497085431044},{id:460322,name:"南沙群岛",parent:4603,lon:112.66030170907,lat:4.9743661921368},{id:460323,name:"中沙群岛的岛礁及其海域",parent:4603,lon:113.75535610385,lat:12.464712920653},{id:460400,name:"儋州市",parent:46,lon:109.33458619886,lat:19.574787798597},{id:469001,name:"五指山市",parent:4690,lon:109.51775006369,lat:18.831305749013},{id:469002,name:"琼海市",parent:4690,lon:110.41435935151,lat:19.214830368617},{id:469005,name:"文昌市",parent:4690,lon:110.78090944499,lat:19.750947380145},{id:469006,name:"万宁市",parent:4690,lon:110.29250485724,lat:18.839885909177},{id:469007,name:"东方市",parent:4690,lon:108.85100963157,lat:18.998160861218},{id:469021,name:"定安县",parent:4690,lon:110.20642407813,lat:20.050057124473},{id:469022,name:"屯昌县",parent:4690,lon:110.06336404474,lat:19.347749127852},{id:469023,name:"澄迈县",parent:4690,lon:109.99673620157,lat:19.693135069577},{id:469024,name:"临高县",parent:4690,lon:109.72410152868,lat:19.805922012409},{id:469025,name:"白沙黎族自治县",parent:4690,lon:109.35858558291,lat:19.216056142062},{id:469026,name:"昌江黎族自治县",parent:4690,lon:109.01129968163,lat:19.222482900957},{id:469027,name:"乐东黎族自治县",parent:4690,lon:109.0626980127,lat:18.658613560734},{id:469028,name:"陵水黎族自治县",parent:4690,lon:109.94866071004,lat:18.575984851566},{id:469029,name:"保亭黎族苗族自治县",parent:4690,lon:109.65611337969,lat:18.597592346267},{id:469030,name:"琼中黎族苗族自治县",parent:4690,lon:109.86184857077,lat:19.039771066968},{id:500101,name:"万州区",parent:5001,lon:108.4134386367,lat:30.710054184366},{id:500102,name:"涪陵区",parent:5001,lon:107.34079973803,lat:29.66467054056},{id:500103,name:"渝中区",parent:5001,lon:106.54696678483,lat:29.555236194395},{id:500104,name:"大渡口区",parent:5001,lon:106.46532181465,lat:29.424139786946},{id:500105,name:"江北区",parent:5001,lon:106.71361473094,lat:29.619317744064},{id:500106,name:"沙坪坝区",parent:5001,lon:106.37480489265,lat:29.630548136629},{id:500107,name:"九龙坡区",parent:5001,lon:106.37059488439,lat:29.434566154958},{id:500108,name:"南岸区",parent:5001,lon:106.66717849904,lat:29.541514618903},{id:500109,name:"北碚区",parent:5001,lon:106.52034245432,lat:29.866596066865},{id:500110,name:"綦江区",parent:5001,lon:106.73584657225,lat:28.825949323551},{id:500111,name:"大足区",parent:5001,lon:105.76093297492,lat:29.622204718555},{id:500112,name:"渝北区",parent:5001,lon:106.7537985312,lat:29.816264082426},{id:500113,name:"巴南区",parent:5001,lon:106.7582741592,lat:29.378027968889},{id:500114,name:"黔江区",parent:5001,lon:108.71480796402,lat:29.440981033584},{id:500115,name:"长寿区",parent:5001,lon:107.14661537132,lat:29.96049135503},{id:500116,name:"江津区",parent:5001,lon:106.26928185639,lat:29.035351190668},{id:500117,name:"合川区",parent:5001,lon:106.31802875449,lat:30.118708260134},{id:500118,name:"永川区",parent:5001,lon:105.88035760368,lat:29.296487646991},{id:500119,name:"南川区",parent:5001,lon:107.17788827954,lat:29.141685769527},{id:500120,name:"璧山区",parent:5001,lon:106.21326949786,lat:29.588328631909},{id:500151,name:"铜梁区",parent:5001,lon:106.03488288304,lat:29.813265758673},{id:500152,name:"潼南区",parent:5001,lon:105.78466162818,lat:30.116632232545},{id:500153,name:"荣昌区",parent:5001,lon:105.52149235061,lat:29.472620663129},{id:500154,name:"开州区",parent:5001,lon:108.42256829126,lat:31.262995406524},{id:500228,name:"梁平县",parent:5002,lon:107.72542817193,lat:30.66436343529},{id:500229,name:"城口县",parent:5002,lon:108.74185516517,lat:31.888131392209},{id:500230,name:"丰都县",parent:5002,lon:107.8375173643,lat:29.890595717682},{id:500231,name:"垫江县",parent:5002,lon:107.44444454166,lat:30.259498445887},{id:500232,name:"武隆县",parent:5002,lon:107.71610570339,lat:29.379270963599},{id:500233,name:"忠县",parent:5002,lon:106.53063501341,lat:29.544606108886},{id:500235,name:"云阳县",parent:5002,lon:108.86318575675,lat:31.042409267237},{id:500236,name:"奉节县",parent:5002,lon:109.35566670168,lat:30.958552797156},{id:500237,name:"巫山县",parent:5002,lon:109.90861122268,lat:31.121151720268},{id:500238,name:"巫溪县",parent:5002,lon:109.36053147066,lat:31.509161376321},{id:500240,name:"石柱土家族自治县",parent:5002,lon:108.30489042793,lat:30.099636944155},{id:500241,name:"秀山土家族苗族自治县",parent:5002,lon:109.02532125368,lat:28.498315398405},{id:500242,name:"酉阳土家族苗族自治县",parent:5002,lon:108.80680823733,lat:28.905277662391},{id:500243,name:"彭水苗族土家族自治县",parent:5002,lon:108.27286773419,lat:29.359628264894},{id:510104,name:"锦江区",parent:5101,lon:104.12426938462,lat:30.606301824621},{id:510105,name:"青羊区",parent:5101,lon:103.98842870094,lat:30.685101946314},{id:510106,name:"金牛区",parent:5101,lon:104.06137695451,lat:30.735622100763},{id:510107,name:"武侯区",parent:5101,lon:104.04124020837,lat:30.612881788753},{id:510108,name:"成华区",parent:5101,lon:104.15003204704,lat:30.695040111899},{id:510112,name:"龙泉驿区",parent:5101,lon:104.30118080707,lat:30.603368382019},{id:510113,name:"青白江区",parent:5101,lon:104.34642982356,lat:30.796353967983},{id:510114,name:"新都区",parent:5101,lon:104.11658349961,lat:30.839503886637},{id:510115,name:"温江区",parent:5101,lon:103.81646839534,lat:30.730254927008},{id:510116,name:"双流区",parent:5101,lon:104.0328303402,lat:30.450175430612},{id:510121,name:"金堂县",parent:5101,lon:104.61537139695,lat:30.728612610912},{id:510124,name:"郫县",parent:5101,lon:103.88462503305,lat:30.839641883011},{id:510129,name:"大邑县",parent:5101,lon:103.38845160801,lat:30.614941412606},{id:510131,name:"蒲江县",parent:5101,lon:103.49773846901,lat:30.239938504594},{id:510132,name:"新津县",parent:5101,lon:103.83217681027,lat:30.42786608997},{id:510181,name:"都江堰市",parent:5101,lon:103.63734201321,lat:31.039123659728},{id:510182,name:"彭州市",parent:5101,lon:103.88986635887,lat:31.148577255886},{id:510183,name:"邛崃市",parent:5101,lon:103.37651244321,lat:30.388736018151},{id:510184,name:"崇州市",parent:5101,lon:103.52946689588,lat:30.71964092397},{id:510185,name:"简阳市",parent:5101,lon:104.55059629796,lat:30.37250750046},{id:510302,name:"自流井区",parent:5103,lon:104.70785437828,lat:29.28261396923},{id:510303,name:"贡井区",parent:5103,lon:104.6027348472,lat:29.314590727756},{id:510304,name:"大安区",parent:5103,lon:104.87756638738,lat:29.411547695333},{id:510311,name:"沿滩区",parent:5103,lon:104.854763441,lat:29.242640479342},{id:510321,name:"荣县",parent:5103,lon:104.372407917,lat:29.398978496698},{id:510322,name:"富顺县",parent:5103,lon:105.02222048778,lat:29.152297063892},{id:510402,name:"东区",parent:5104,lon:101.72242315249,lat:26.587571257109},{id:510403,name:"西区",parent:5104,lon:101.72242315249,lat:26.587571257109},{id:510411,name:"仁和区",parent:5104,lon:101.66970205128,lat:26.56790741922},{id:510421,name:"米易县",parent:5104,lon:102.00072626456,lat:26.932749356485},{id:510422,name:"盐边县",parent:5104,lon:101.58605027726,lat:26.940087094351},{id:510502,name:"江阳区",parent:5105,lon:105.37171257028,lat:28.87690067554},{id:510503,name:"纳溪区",parent:5105,lon:105.3906055521,lat:28.614041373614},{id:510504,name:"龙马潭区",parent:5105,lon:105.4378416897,lat:28.987460236388},{id:510521,name:"泸县",parent:5105,lon:105.50826734902,lat:29.124919969133},{id:510522,name:"合江县",parent:5105,lon:105.93160013109,lat:28.751865254096},{id:510524,name:"叙永县",parent:5105,lon:105.46859233328,lat:28.099206628496},{id:510525,name:"古蔺县",parent:5105,lon:105.93629331276,lat:27.983319448381},{id:510603,name:"旌阳区",parent:5106,lon:104.41525849556,lat:31.179805144786},{id:510623,name:"中江县",parent:5106,lon:104.80495180574,lat:30.887114236708},{id:510626,name:"罗江县",parent:5106,lon:104.53541026815,lat:31.320265186662},{id:510681,name:"广汉市",parent:5106,lon:104.29847583599,lat:31.006480881164},{id:510682,name:"什邡市",parent:5106,lon:104.01987074915,lat:31.29369418585},{id:510683,name:"绵竹市",parent:5106,lon:104.12929386201,lat:31.436657312108},{id:510703,name:"涪城区",parent:5107,lon:104.67051389601,lat:31.435734812547},{id:510704,name:"游仙区",parent:5107,lon:104.98157984665,lat:31.518816009605},{id:510705,name:"安州区",parent:5107,lon:104.37720699346,lat:31.589559671673},{id:510722,name:"三台县",parent:5107,lon:105.04258112078,lat:31.118872490873},{id:510723,name:"盐亭县",parent:5107,lon:105.4790711008,lat:31.247942979309},{id:510725,name:"梓潼县",parent:5107,lon:105.19383418448,lat:31.653620996937},{id:510726,name:"北川羌族自治县",parent:5107,lon:104.25834135739,lat:31.962527312739},{id:510727,name:"平武县",parent:5107,lon:104.40430826693,lat:32.446911722865},{id:510781,name:"江油市",parent:5107,lon:104.93314929993,lat:31.952426668806},{id:510802,name:"利州区",parent:5108,lon:105.7853172322,lat:32.478529639449},{id:510811,name:"昭化区",parent:5108,lon:105.82174977463,lat:32.141760307902},{id:510812,name:"朝天区",parent:5108,lon:106.02216392398,lat:32.708417209014},{id:510821,name:"旺苍县",parent:5108,lon:106.40182287359,lat:32.372139642174},{id:510822,name:"青川县",parent:5108,lon:105.19044673467,lat:32.515859827572},{id:510823,name:"剑阁县",parent:5108,lon:105.50302096949,lat:31.921947731961},{id:510824,name:"苍溪县",parent:5108,lon:106.11328295036,lat:31.918551658673},{id:510903,name:"船山区",parent:5109,lon:105.62152802077,lat:30.523499649283},{id:510904,name:"安居区",parent:5109,lon:105.41441146849,lat:30.363522338679},{id:510921,name:"蓬溪县",parent:5109,lon:105.71608763636,lat:30.657491289748},{id:510922,name:"射洪县",parent:5109,lon:105.38824463742,lat:30.908078631387},{id:510923,name:"大英县",parent:5109,lon:105.25637201729,lat:30.580190633917},{id:511002,name:"市中区",parent:5110,lon:104.95397876928,lat:29.55164493068},{id:511011,name:"东兴区",parent:5110,lon:105.20216881381,lat:29.628088552472},{id:511024,name:"威远县",parent:5110,lon:104.59397578195,lat:29.599588801619},{id:511025,name:"资中县",parent:5110,lon:104.80746566888,lat:29.813836235002},{id:511028,name:"隆昌县",parent:5110,lon:105.25295771714,lat:29.367868749158},{id:511102,name:"市中区",parent:5111,lon:103.80478219007,lat:29.61984411709},{id:511111,name:"沙湾区",parent:5111,lon:103.60454818519,lat:29.316409760812},{id:511112,name:"五通桥区",parent:5111,lon:103.84663334546,lat:29.395443506532},{id:511113,name:"金口河区",parent:5111,lon:103.07336628607,lat:29.293819974164},{id:511123,name:"犍为县",parent:5111,lon:103.98019853458,lat:29.231190495122},{id:511124,name:"井研县",parent:5111,lon:104.05532967168,lat:29.644500661501},{id:511126,name:"夹江县",parent:5111,lon:103.55926293457,lat:29.7761069203},{id:511129,name:"沐川县",parent:5111,lon:103.82650268685,lat:29.006905081763},{id:511132,name:"峨边彝族自治县",parent:5111,lon:103.2167397181,lat:29.050415556838},{id:511133,name:"马边彝族自治县",parent:5111,lon:103.48138754926,lat:28.776739333365},{id:511181,name:"峨眉山市",parent:5111,lon:103.40091230856,lat:29.50700404085},{id:511302,name:"顺庆区",parent:5113,lon:106.11579825983,lat:30.949624560849},{id:511303,name:"高坪区",parent:5113,lon:106.25975917374,lat:30.75468404314},{id:511304,name:"嘉陵区",parent:5113,lon:105.93870307769,lat:30.665451829003},{id:511321,name:"南部县",parent:5113,lon:105.92351381942,lat:31.349802866479},{id:511322,name:"营山县",parent:5113,lon:106.7185269662,lat:31.162322799073},{id:511323,name:"蓬安县",parent:5113,lon:106.42891733521,lat:31.007075500318},{id:511324,name:"仪陇县",parent:5113,lon:106.53472488695,lat:31.443593221681},{id:511325,name:"西充县",parent:5113,lon:105.85733163521,lat:31.063877074354},{id:511381,name:"阆中市",parent:5113,lon:106.07809314825,lat:31.602117348886},{id:511402,name:"东坡区",parent:5114,lon:103.74833257305,lat:30.057372008382},{id:511403,name:"彭山区",parent:5114,lon:103.84644479804,lat:30.24443648473},{id:511421,name:"仁寿县",parent:5114,lon:104.22551880085,lat:29.985868914405},{id:511423,name:"洪雅县",parent:5114,lon:103.18015949893,lat:29.694316499556},{id:511424,name:"丹棱县",parent:5114,lon:103.43451305805,lat:30.014802935586},{id:511425,name:"青神县",parent:5114,lon:103.83750799161,lat:29.82275999862},{id:511502,name:"翠屏区",parent:5115,lon:104.69325460374,lat:28.81581998264},{id:511503,name:"南溪区",parent:5115,lon:104.92244522579,lat:28.891857434171},{id:511521,name:"宜宾县",parent:5115,lon:104.38270989151,lat:28.906871431718},{id:511523,name:"江安县",parent:5115,lon:105.12877827717,lat:28.663532600917},{id:511524,name:"长宁县",parent:5115,lon:104.93114856989,lat:28.515433786755},{id:511525,name:"高县",parent:5115,lon:104.5930664103,lat:28.463200492005},{id:511526,name:"珙县",parent:5115,lon:104.8066179908,lat:28.196990137689},{id:511527,name:"筠连县",parent:5115,lon:104.58843340511,lat:28.042098884244},{id:511528,name:"兴文县",parent:5115,lon:105.14122589128,lat:28.255538437302},{id:511529,name:"屏山县",parent:5115,lon:103.99911803649,lat:28.702428662485},{id:511602,name:"广安区",parent:5116,lon:106.75891196362,lat:30.599249987199},{id:511603,name:"前锋区",parent:5116,lon:106.86565774045,lat:30.543834838815},{id:511621,name:"岳池县",parent:5116,lon:106.4208329851,lat:30.540768629653},{id:511622,name:"武胜县",parent:5116,lon:106.23136624407,lat:30.373904543993},{id:511623,name:"邻水县",parent:5116,lon:107.00333361946,lat:30.263283994028},{id:511681,name:"华蓥市",parent:5116,lon:106.75941195402,lat:30.321832376319},{id:511702,name:"通川区",parent:5117,lon:107.51920394973,lat:31.238764440346},{id:511703,name:"达川区",parent:5117,lon:107.42129730953,lat:31.187291385014},{id:511722,name:"宣汉县",parent:5117,lon:107.93603281988,lat:31.51979762495},{id:511723,name:"开江县",parent:5117,lon:107.89101188441,lat:31.05158729925},{id:511724,name:"大竹县",parent:5117,lon:107.27987739412,lat:30.690772377766},{id:511725,name:"渠县",parent:5117,lon:106.98760176612,lat:30.94881416065},{id:511781,name:"万源市",parent:5117,lon:107.99381097493,lat:31.986241088206},{id:511802,name:"雨城区",parent:5118,lon:103.03840450831,lat:29.928506655301},{id:511803,name:"名山区",parent:5118,lon:103.23102630214,lat:30.117458953474},{id:511822,name:"荥经县",parent:5118,lon:102.69194616494,lat:29.740877769322},{id:511823,name:"汉源县",parent:5118,lon:102.62513643454,lat:29.431575643201},{id:511824,name:"石棉县",parent:5118,lon:102.2939695159,lat:29.235484876512},{id:511825,name:"天全县",parent:5118,lon:102.57830462584,lat:30.078874542047},{id:511826,name:"芦山县",parent:5118,lon:103.01809878481,lat:30.440281571631},{id:511827,name:"宝兴县",parent:5118,lon:102.71689365787,lat:30.567649711279},{id:511902,name:"巴州区",parent:5119,lon:106.739266453,lat:31.785302790667},{id:511903,name:"恩阳区",parent:5119,lon:106.75791584175,lat:31.86918915916},{id:511921,name:"通江县",parent:5119,lon:107.35277526385,lat:32.13640689395},{id:511922,name:"南江县",parent:5119,lon:106.83618103409,lat:32.337239209081},{id:511923,name:"平昌县",parent:5119,lon:107.16735749976,lat:31.59771477028},{id:512002,name:"雁江区",parent:5120,lon:104.75541652784,lat:30.091647255037},{id:512021,name:"安岳县",parent:5120,lon:105.4008757725,lat:29.999677270422},{id:512022,name:"乐至县",parent:5120,lon:105.02831576248,lat:30.313944636249},{id:513201,name:"马尔康市",parent:5132,lon:101.9836278113,lat:32.007871202647},{id:513221,name:"汶川县",parent:5132,lon:103.29431691527,lat:31.168774069592},{id:513222,name:"理县",parent:5132,lon:103.42033582964,lat:31.566906370691},{id:513223,name:"茂县",parent:5132,lon:102.8991597236,lat:30.367480937958},{id:513224,name:"松潘县",parent:5132,lon:103.532712222,lat:32.625458557695},{id:513225,name:"九寨沟县",parent:5132,lon:103.9340437688,lat:33.317446497617},{id:513226,name:"金川县",parent:5132,lon:101.80476934386,lat:31.52757038818},{id:513227,name:"小金县",parent:5132,lon:102.41921664895,lat:30.969288643982},{id:513228,name:"黑水县",parent:5132,lon:103.01249848065,lat:32.052158211237},{id:513230,name:"壤塘县",parent:5132,lon:101.05971696123,lat:32.148226253207},{id:513231,name:"阿坝县",parent:5132,lon:101.70212990273,lat:32.916574446999},{id:513232,name:"若尔盖县",parent:5132,lon:102.97487609843,lat:33.584805758741},{id:513233,name:"红原县",parent:5132,lon:102.64115041582,lat:32.736132092126},{id:513301,name:"康定市",parent:5133,lon:101.75312764174,lat:29.963390007018},{id:513322,name:"泸定县",parent:5133,lon:102.12006613226,lat:29.747744290103},{id:513323,name:"丹巴县",parent:5133,lon:101.75239771652,lat:30.9670743425},{id:513324,name:"九龙县",parent:5133,lon:101.63507969271,lat:28.917804185231},{id:513325,name:"雅江县",parent:5133,lon:100.96923972469,lat:29.922924021131},{id:513326,name:"道孚县",parent:5133,lon:101.19484158408,lat:30.870125609599},{id:513327,name:"炉霍县",parent:5133,lon:100.67587127372,lat:31.492154542768},{id:513328,name:"甘孜县",parent:5133,lon:99.762676935333,lat:32.029329338001},{id:513329,name:"新龙县",parent:5133,lon:100.28751803177,lat:30.945762801068},{id:513330,name:"德格县",parent:5133,lon:98.967480948584,lat:32.059408545008},{id:513331,name:"白玉县",parent:5133,lon:99.291922023716,lat:31.052585679081},{id:513332,name:"石渠县",parent:5133,lon:98.204993247891,lat:33.187627237402},{id:513333,name:"色达县",parent:5133,lon:100.21388463777,lat:32.356620371592},{id:513334,name:"理塘县",parent:5133,lon:100.18511019101,lat:29.895282575765},{id:513335,name:"巴塘县",parent:5133,lon:99.300290950528,lat:29.916287662541},{id:513336,name:"乡城县",parent:5133,lon:99.738451912881,lat:29.11737591967},{id:513337,name:"稻城县",parent:5133,lon:100.26589077053,lat:28.766496640591},{id:513338,name:"得荣县",parent:5133,lon:99.324235091425,lat:28.736358436486},{id:513401,name:"西昌市",parent:5134,lon:102.11788786038,lat:27.86337739584},{id:513422,name:"木里藏族自治县",parent:5134,lon:100.95305714268,lat:28.360344107012},{id:513423,name:"盐源县",parent:5134,lon:101.46762448738,lat:27.603027908142},{id:513424,name:"德昌县",parent:5134,lon:102.19173440069,lat:27.331194175431},{id:513425,name:"会理县",parent:5134,lon:102.2639270515,lat:26.591300796186},{id:513426,name:"会东县",parent:5134,lon:102.74296743101,lat:26.573608339176},{id:513427,name:"宁南县",parent:5134,lon:102.71663446894,lat:27.091250349517},{id:513428,name:"普格县",parent:5134,lon:102.56809148368,lat:27.54828572105},{id:513429,name:"布拖县",parent:5134,lon:102.88192797888,lat:27.599974195145},{id:513430,name:"金阳县",parent:5134,lon:103.20105938361,lat:27.706169003934},{id:513431,name:"昭觉县",parent:5134,lon:102.83281789781,lat:28.013719135153},{id:513432,name:"喜德县",parent:5134,lon:102.44996824625,lat:28.196488558773},{id:513433,name:"冕宁县",parent:5134,lon:102.06891407501,lat:28.514858657537},{id:513434,name:"越西县",parent:5134,lon:102.6286813356,lat:28.592190495109},{id:513435,name:"甘洛县",parent:5134,lon:102.76740070722,lat:28.974853435967},{id:513436,name:"美姑县",parent:5134,lon:103.10172987962,lat:28.443545061087},{id:513437,name:"雷波县",parent:5134,lon:103.5125046952,lat:28.279340727749},{id:520102,name:"南明区",parent:5201,lon:106.72417349818,lat:26.541413272278},{id:520103,name:"云岩区",parent:5201,lon:106.71791401556,lat:26.6035246503},{id:520111,name:"花溪区",parent:5201,lon:106.66527322287,lat:26.39791693477},{id:520112,name:"乌当区",parent:5201,lon:106.73344967037,lat:26.688326312941},{id:520113,name:"白云区",parent:5201,lon:106.68674281438,lat:26.71973739529},{id:520115,name:"观山湖区",parent:5201,lon:106.59533224014,lat:26.650328732081},{id:520121,name:"开阳县",parent:5201,lon:107.04688065585,lat:27.075427307857},{id:520122,name:"息烽县",parent:5201,lon:106.68198036543,lat:27.150807565921},{id:520123,name:"修文县",parent:5201,lon:106.590592735,lat:26.931538038107},{id:520181,name:"清镇市",parent:5201,lon:106.35381440326,lat:26.688621110571},{id:520201,name:"钟山区",parent:5202,lon:104.76254690076,lat:26.731157002932},{id:520203,name:"六枝特区",parent:5202,lon:105.3830336754,lat:26.235865065306},{id:520221,name:"水城县",parent:5202,lon:104.93035685319,lat:26.430546898236},{id:520222,name:"盘县",parent:5202,lon:104.66691307994,lat:25.772838336514},{id:520302,name:"红花岗区",parent:5203,lon:106.92265113614,lat:27.670445028837},{id:520303,name:"汇川区",parent:5203,lon:107.00310975556,lat:27.887590184121},{id:520304,name:"播州区",parent:5203,lon:106.87453374646,lat:27.634108765721},{id:520322,name:"桐梓县",parent:5203,lon:106.88633093203,lat:28.414479762728},{id:520323,name:"绥阳县",parent:5203,lon:107.20354220552,lat:28.146365347962},{id:520324,name:"正安县",parent:5203,lon:107.412773457,lat:28.506639188144},{id:520325,name:"道真仡佬族苗族自治县",parent:5203,lon:107.61686480802,lat:28.934154342524},{id:520326,name:"务川仡佬族苗族自治县",parent:5203,lon:107.91993460165,lat:28.661403914202},{id:520327,name:"凤冈县",parent:5203,lon:107.77157370195,lat:27.928826877455},{id:520328,name:"湄潭县",parent:5203,lon:107.49167985383,lat:27.764873370783},{id:520329,name:"余庆县",parent:5203,lon:107.70936003115,lat:27.394794444136},{id:520330,name:"习水县",parent:5203,lon:106.35892584857,lat:28.357319781328},{id:520381,name:"赤水市",parent:5203,lon:105.92051307621,lat:28.493333651299},{id:520382,name:"仁怀市",parent:5203,lon:106.34790800681,lat:27.839203217967},{id:520402,name:"西秀区",parent:5204,lon:106.0600169739,lat:26.197376772867},{id:520403,name:"平坝区",parent:5204,lon:106.28653433135,lat:26.443751196397},{id:520422,name:"普定县",parent:5204,lon:105.74269311886,lat:26.345747551067},{id:520423,name:"镇宁布依族苗族自治县",parent:5204,lon:105.83355264869,lat:25.844353005861},{id:520424,name:"关岭布依族苗族自治县",parent:5204,lon:105.56872665252,lat:25.862190437976},{id:520425,name:"紫云苗族布依族自治县",parent:5204,lon:106.18836244554,lat:25.700614716072},{id:520502,name:"七星关区",parent:5205,lon:105.42355760084,lat:27.464053316005},{id:520521,name:"大方县",parent:5205,lon:105.73720221998,lat:27.253059626031},{id:520522,name:"黔西县",parent:5205,lon:106.14050275681,lat:27.086384569459},{id:520523,name:"金沙县",parent:5205,lon:106.22685215924,lat:27.471542677862},{id:520524,name:"织金县",parent:5205,lon:105.73204873021,lat:26.615333373403},{id:520525,name:"纳雍县",parent:5205,lon:105.26868668571,lat:26.795102083008},{id:520526,name:"威宁彝族回族苗族自治县",parent:5205,lon:104.22408619137,lat:26.921382002531},{id:520527,name:"赫章县",parent:5205,lon:104.5980318783,lat:27.15332246261},{id:520602,name:"碧江区",parent:5206,lon:109.19370501854,lat:27.716136520691},{id:520603,name:"万山区",parent:5206,lon:109.11781910744,lat:27.546566730898},{id:520621,name:"江口县",parent:5206,lon:109.16855802826,lat:27.674902690624},{id:520622,name:"玉屏侗族自治县",parent:5206,lon:109.00175995258,lat:27.337802674507},{id:520623,name:"石阡县",parent:5206,lon:108.14106368738,lat:27.496152657798},{id:520624,name:"思南县",parent:5206,lon:108.19797894198,lat:27.856658927235},{id:520625,name:"印江土家族苗族自治县",parent:5206,lon:108.52830153805,lat:27.986045252865},{id:520626,name:"德江县",parent:5206,lon:108.06756938624,lat:28.30284362728},{id:520627,name:"沿河土家族自治县",parent:5206,lon:108.33962765519,lat:28.642296722444},{id:520628,name:"松桃苗族自治县",parent:5206,lon:109.16855802826,lat:27.674902690624},{id:522301,name:"兴义市",parent:5223,lon:105.07190822677,lat:25.236664590554},{id:522322,name:"兴仁县",parent:5223,lon:105.21234670506,lat:25.436104684385},{id:522323,name:"普安县",parent:5223,lon:105.00016731249,lat:25.72781408682},{id:522324,name:"晴隆县",parent:5223,lon:105.19013699964,lat:25.697662011039},{id:522325,name:"贞丰县",parent:5223,lon:105.63574297484,lat:25.438979713387},{id:522326,name:"望谟县",parent:5223,lon:106.13757227494,lat:24.936694569809},{id:522327,name:"册亨县",parent:5223,lon:105.79746392761,lat:24.940047609962},{id:522328,name:"安龙县",parent:5223,lon:105.34855137966,lat:24.950885976914},{id:522601,name:"凯里市",parent:5226,lon:108.03104164859,lat:26.670643028177},{id:522622,name:"黄平县",parent:5226,lon:108.08892037089,lat:26.802372712542},{id:522623,name:"施秉县",parent:5226,lon:108.01532489539,lat:27.147665744201},{id:522624,name:"三穗县",parent:5226,lon:108.76221698279,lat:26.940229768581},{id:522625,name:"镇远县",parent:5226,lon:108.48422420195,lat:26.912627316255},{id:522626,name:"岑巩县",parent:5226,lon:108.95781984971,lat:27.440109779329},{id:522627,name:"天柱县",parent:5226,lon:109.47993207974,lat:27.027180472033},{id:522628,name:"锦屏县",parent:5226,lon:109.15647562165,lat:26.497609137737},{id:522629,name:"剑河县",parent:5226,lon:106.7349961033,lat:26.902825927797},{id:522630,name:"台江县",parent:5226,lon:108.17122222338,lat:26.676404735086},{id:522631,name:"黎平县",parent:5226,lon:109.33697304601,lat:25.938276335425},{id:522632,name:"榕江县",parent:5226,lon:108.43782402746,lat:26.250544367069},{id:522633,name:"从江县",parent:5226,lon:108.78396090306,lat:25.758440923722},{id:522634,name:"雷山县",parent:5226,lon:108.09819178205,lat:26.346498520621},{id:522635,name:"麻江县",parent:5226,lon:107.79954768993,lat:26.512050397344},{id:522636,name:"丹寨县",parent:5226,lon:108.11538894273,lat:26.126097716769},{id:522701,name:"都匀市",parent:5227,lon:106.7349961033,lat:26.902825927797},{id:522702,name:"福泉市",parent:5227,lon:106.7349961033,lat:26.902825927797},{id:522722,name:"荔波县",parent:5227,lon:107.79056706026,lat:25.597752027123},{id:522723,name:"贵定县",parent:5227,lon:107.16183225437,lat:26.262176502508},{id:522725,name:"瓮安县",parent:5227,lon:107.5629905221,lat:27.189412906689},{id:522726,name:"独山县",parent:5227,lon:107.56375230978,lat:25.636840589583},{id:522727,name:"平塘县",parent:5227,lon:107.37217138777,lat:25.850446129607},{id:522728,name:"罗甸县",parent:5227,lon:106.7349961033,lat:26.902825927797},{id:522729,name:"长顺县",parent:5227,lon:106.40419817264,lat:26.000476134172},{id:522730,name:"龙里县",parent:5227,lon:107.00653768938,lat:26.51764181381},{id:522731,name:"惠水县",parent:5227,lon:106.72222309186,lat:25.98299665897},{id:522732,name:"三都水族自治县",parent:5227,lon:107.95650555321,lat:25.852864250197},{id:530102,name:"五华区",parent:5301,lon:102.64937733166,lat:25.261305956605},{id:530103,name:"盘龙区",parent:5301,lon:102.76755633841,lat:25.274019484219},{id:530111,name:"官渡区",parent:5301,lon:102.82881924705,lat:25.031310976713},{id:530112,name:"西山区",parent:5301,lon:102.60347769299,lat:24.983630124462},{id:530113,name:"东川区",parent:5301,lon:103.07856150869,lat:26.139328854726},{id:530114,name:"呈贡区",parent:5301,lon:102.88428310764,lat:24.855409037478},{id:530122,name:"晋宁县",parent:5301,lon:102.5796139323,lat:24.605041073447},{id:530124,name:"富民县",parent:5301,lon:102.58410264122,lat:25.363439290284},{id:530125,name:"宜良县",parent:5301,lon:103.1928154872,lat:24.944907933143},{id:530126,name:"石林彝族自治县",parent:5301,lon:103.42733563256,lat:24.754309493364},{id:530127,name:"嵩明县",parent:5301,lon:103.00652503386,lat:25.317900180495},{id:530128,name:"禄劝彝族苗族自治县",parent:5301,lon:102.59302748518,lat:25.943771040548},{id:530129,name:"寻甸回族彝族自治县",parent:5301,lon:103.12781347645,lat:25.666609835146},{id:530181,name:"安宁市",parent:5301,lon:102.39112679952,lat:24.852355456268},{id:530302,name:"麒麟区",parent:5303,lon:103.91332638626,lat:25.360057471573},{id:530303,name:"沾益区",parent:5303,lon:103.86810959342,lat:25.79421035848},{id:530321,name:"马龙县",parent:5303,lon:103.51309543424,lat:25.368839999918},{id:530322,name:"陆良县",parent:5303,lon:103.70738599876,lat:25.037570538056},{id:530323,name:"师宗县",parent:5303,lon:104.12947917517,lat:24.680198025566},{id:530324,name:"罗平县",parent:5303,lon:104.34927875646,lat:24.983157127291},{id:530325,name:"富源县",parent:5303,lon:104.36745192446,lat:25.467214378875},{id:530326,name:"会泽县",parent:5303,lon:103.46854362948,lat:26.46221827304},{id:530381,name:"宣威市",parent:5303,lon:104.15257073219,lat:26.276828622628},{id:530402,name:"红塔区",parent:5304,lon:102.49989459797,lat:24.369853985289},{id:530403,name:"江川区",parent:5304,lon:102.75575323372,lat:24.367487731796},{id:530422,name:"澄江县",parent:5304,lon:102.94685033975,lat:24.678380080254},{id:530423,name:"通海县",parent:5304,lon:102.71141640598,lat:24.117558495247},{id:530424,name:"华宁县",parent:5304,lon:102.99906774243,lat:24.284812305871},{id:530425,name:"易门县",parent:5304,lon:102.12219715311,lat:24.6964042729},{id:530426,name:"峨山彝族自治县",parent:5304,lon:102.21924987866,lat:24.246114547538},{id:530427,name:"新平彝族傣族自治县",parent:5304,lon:101.73913066729,lat:24.029740767019},{id:530428,name:"元江哈尼族彝族傣族自治县",parent:5304,lon:102.01115013144,lat:23.605002999101},{id:530502,name:"隆阳区",parent:5305,lon:99.069046057861,lat:25.205265354944},{id:530521,name:"施甸县",parent:5305,lon:99.157489563481,lat:24.657220496518},{id:530523,name:"龙陵县",parent:5305,lon:98.842541709908,lat:24.499046233076},{id:530524,name:"昌宁县",parent:5305,lon:99.591112178323,lat:24.758162812306},{id:530581,name:"腾冲市",parent:5305,lon:98.43366397623,lat:25.248177969272},{id:530602,name:"昭阳区",parent:5306,lon:103.60727718737,lat:27.427583042152},{id:530621,name:"鲁甸县",parent:5306,lon:103.42585557677,lat:27.205702890521},{id:530622,name:"巧家县",parent:5306,lon:103.13002031079,lat:27.008327725094},{id:530623,name:"盐津县",parent:5306,lon:104.23053478313,lat:28.130706512198},{id:530624,name:"大关县",parent:5306,lon:103.91217766939,lat:27.905095827254},{id:530625,name:"永善县",parent:5306,lon:103.65282254144,lat:27.953163331681},{id:530626,name:"绥江县",parent:5306,lon:104.01558782767,lat:28.538865566801},{id:530627,name:"镇雄县",parent:5306,lon:104.83385203039,lat:27.568915967438},{id:530628,name:"彝良县",parent:5306,lon:104.24144905945,lat:27.630986376229},{id:530629,name:"威信县",parent:5306,lon:105.05028255746,lat:27.891462851573},{id:530630,name:"水富县",parent:5306,lon:104.22883253661,lat:28.510929836359},{id:530702,name:"古城区",parent:5307,lon:100.32859641682,lat:26.859300417703},{id:530721,name:"玉龙纳西族自治县",parent:5307,lon:99.951633936724,lat:27.104463367195},{id:530722,name:"永胜县",parent:5307,lon:100.70492052637,lat:26.491706080711},{id:530723,name:"华坪县",parent:5307,lon:101.25172921237,lat:26.645807144841},{id:530724,name:"宁蒗彝族自治县",parent:5307,lon:100.7783019296,lat:27.265588579997},{id:530802,name:"思茅区",parent:5308,lon:100.85525310555,lat:22.739133092283},{id:530821,name:"宁洱哈尼族彝族自治县",parent:5308,lon:101.19686023959,lat:23.097350457989},{id:530822,name:"墨江哈尼族自治县",parent:5308,lon:101.55548645512,lat:23.363251135433},{id:530823,name:"景东彝族自治县",parent:5308,lon:100.79520569746,lat:24.39672894394},{id:530824,name:"景谷傣族彝族自治县",parent:5308,lon:100.56429126294,lat:23.368117190796},{id:530825,name:"镇沅彝族哈尼族拉祜族自治县",parent:5308,lon:101.11331766944,lat:24.011540716931},{id:530826,name:"江城哈尼族彝族自治县",parent:5308,lon:101.79692922563,lat:22.625657650356},{id:530827,name:"孟连傣族拉祜族佤族自治县",parent:5308,lon:99.580342878181,lat:22.334366217371},{id:530828,name:"澜沧拉祜族自治县",parent:5308,lon:99.98453733381,lat:22.665993561569},{id:530829,name:"西盟佤族自治县",parent:5308,lon:99.522119995137,lat:22.708423462771},{id:530902,name:"临翔区",parent:5309,lon:100.13990768016,lat:23.849570452879},{id:530921,name:"凤庆县",parent:5309,lon:99.92091022745,lat:24.610505511987},{id:530922,name:"云县",parent:5309,lon:100.23368014335,lat:24.32740647676},{id:530923,name:"永德县",parent:5309,lon:99.427631734164,lat:24.089579787148},{id:530924,name:"镇康县",parent:5309,lon:99.005735747996,lat:23.901062771813},{id:530925,name:"双江拉祜族佤族布朗族傣族自治县",parent:5309,lon:99.840913908222,lat:23.476856812064},{id:530926,name:"耿马傣族佤族自治县",parent:5309,lon:99.434265495794,lat:23.641730399889},{id:530927,name:"沧源佤族自治县",parent:5309,lon:99.270497931724,lat:23.274581274109},{id:532301,name:"楚雄市",parent:5323,lon:101.32863799918,lat:24.880252472651},{id:532322,name:"双柏县",parent:5323,lon:101.64032208579,lat:24.535545259465},{id:532323,name:"牟定县",parent:5323,lon:101.59675770511,lat:25.407356738979},{id:532324,name:"南华县",parent:5323,lon:101.0380121979,lat:25.103522672439},{id:532325,name:"姚安县",parent:5323,lon:101.2112377333,lat:25.516954435787},{id:532326,name:"大姚县",parent:5323,lon:101.24291307892,lat:25.947669905565},{id:532327,name:"永仁县",parent:5323,lon:101.56019002604,lat:26.143679315458},{id:532328,name:"元谋县",parent:5323,lon:101.87051082301,lat:25.783195511954},{id:532329,name:"武定县",parent:5323,lon:102.20117587964,lat:25.731109547237},{id:532331,name:"禄丰县",parent:5323,lon:102.02612983069,lat:25.185818987516},{id:532501,name:"个旧市",parent:5325,lon:101.59295163701,lat:24.864212795483},{id:532502,name:"开远市",parent:5325,lon:101.59295163701,lat:24.864212795483},{id:532503,name:"蒙自市",parent:5325,lon:103.51669152583,lat:23.338656934664},{id:532504,name:"弥勒市",parent:5325,lon:103.445318018,lat:24.251508766722},{id:532523,name:"屏边苗族自治县",parent:5325,lon:103.89743584577,lat:23.21267768326},{id:532524,name:"建水县",parent:5325,lon:102.79065788154,lat:23.987913437671},{id:532525,name:"石屏县",parent:5325,lon:102.40773898854,lat:23.789535774797},{id:532527,name:"泸西县",parent:5325,lon:103.75100845447,lat:24.539744740964},{id:532528,name:"元阳县",parent:5325,lon:102.73114873474,lat:23.141055739179},{id:532529,name:"红河县",parent:5325,lon:102.51563446331,lat:23.211095049214},{id:532530,name:"金平苗族瑶族傣族自治县",parent:5325,lon:103.25176348949,lat:22.996373389905},{id:532531,name:"绿春县",parent:5325,lon:102.35379214946,lat:23.091544011399},{id:532532,name:"河口瑶族自治县",parent:5325,lon:103.67125958623,lat:22.862620371198},{id:532601,name:"文山市",parent:5326,lon:104.03093981246,lat:23.416009535072},{id:532622,name:"砚山县",parent:5326,lon:104.5218246496,lat:23.89947126948},{id:532623,name:"西畴县",parent:5326,lon:104.8239553349,lat:23.49211237168},{id:532624,name:"麻栗坡县",parent:5326,lon:105.06044414168,lat:23.433721461415},{id:532625,name:"马关县",parent:5326,lon:101.59295163701,lat:24.864212795483},{id:532626,name:"丘北县",parent:5326,lon:104.34003905514,lat:24.08610830304},{id:532627,name:"广南县",parent:5326,lon:104.83870730798,lat:24.222835784674},{id:532628,name:"富宁县",parent:5326,lon:105.60430973793,lat:23.396160831269},{id:532801,name:"景洪市",parent:5328,lon:101.59295163701,lat:24.864212795483},{id:532822,name:"勐海县",parent:5328,lon:100.33738150932,lat:21.960731038528},{id:532823,name:"勐腊县",parent:5328,lon:101.46195902318,lat:21.736659717735},{id:532901,name:"大理市",parent:5329,lon:100.15242712507,lat:25.57616489493},{id:532922,name:"漾濞彝族自治县",parent:5329,lon:99.898375043674,lat:25.605571782134},{id:532923,name:"祥云县",parent:5329,lon:100.57035927192,lat:25.501610700196},{id:532924,name:"宾川县",parent:5329,lon:100.62753770311,lat:25.875307433534},{id:532925,name:"弥渡县",parent:5329,lon:100.58186613328,lat:25.1911077724},{id:532926,name:"南涧彝族自治县",parent:5329,lon:100.42490043802,lat:24.903013805535},{id:532927,name:"巍山彝族回族自治县",parent:5329,lon:100.26759078972,lat:25.343492434694},{id:532928,name:"永平县",parent:5329,lon:99.600792211043,lat:25.374646522171},{id:532929,name:"云龙县",parent:5329,lon:99.310077976062,lat:25.894118475707},{id:532930,name:"洱源县",parent:5329,lon:100.03831537618,lat:26.294924841349},{id:532931,name:"剑川县",parent:5329,lon:99.750307802477,lat:26.439596125001},{id:532932,name:"鹤庆县",parent:5329,lon:100.27717450154,lat:26.3354536106},{id:533102,name:"瑞丽市",parent:5331,lon:101.59295163701,lat:24.864212795483},{id:533103,name:"芒市",parent:5331,lon:98.589434287407,lat:24.441239663008},{id:533122,name:"梁河县",parent:5331,lon:98.322123152856,lat:24.743716502863},{id:533123,name:"盈江县",parent:5331,lon:97.950762066645,lat:24.706749398739},{id:533124,name:"陇川县",parent:5331,lon:97.965384779773,lat:24.381370607265},{id:533301,name:"泸水市",parent:5333,lon:98.86274058298,lat:26.042265332796},{id:533323,name:"福贡县",parent:5333,lon:98.86865857308,lat:26.996507466856},{id:533324,name:"贡山独龙族怒族自治县",parent:5333,lon:101.59295163701,lat:24.864212795483},{id:533325,name:"兰坪白族普米族自治县",parent:5333,lon:99.117417482927,lat:26.443506114149},{id:533401,name:"香格里拉市",parent:5334,lon:99.85507644287,lat:27.866680825387},{id:533422,name:"德钦县",parent:5334,lon:99.037553971725,lat:28.351417174855},{id:533423,name:"维西傈僳族自治县",parent:5334,lon:99.152722827441,lat:27.45295793965},{id:540102,name:"城关区",parent:5401,lon:91.168729990815,lat:29.666400338845},{id:540103,name:"堆龙德庆区",parent:5401,lon:90.8294509947,lat:29.796237760398},{id:540121,name:"林周县",parent:5401,lon:91.347042959548,lat:30.116477915324},{id:540122,name:"当雄县",parent:5401,lon:90.894814857309,lat:30.424299479353},{id:540123,name:"尼木县",parent:5401,lon:90.095471065982,lat:29.603193843519},{id:540124,name:"曲水县",parent:5401,lon:90.714553495792,lat:29.445004244787},{id:540126,name:"达孜县",parent:5401,lon:91.473900848722,lat:29.747665564603},{id:540127,name:"墨竹工卡县",parent:5401,lon:92.031891526243,lat:29.916717538581},{id:540202,name:"桑珠孜区",parent:5402,lon:88.956062773518,lat:29.268160032655},{id:540221,name:"南木林县",parent:5402,lon:88.956062773518,lat:29.268160032655},{id:540222,name:"江孜县",parent:5402,lon:88.956062773518,lat:29.268160032655},{id:540223,name:"定日县",parent:5402,lon:88.956062773518,lat:29.268160032655},{id:540224,name:"萨迦县",parent:5402,lon:88.956062773518,lat:29.268160032655},{id:540225,name:"拉孜县",parent:5402,lon:88.956062773518,lat:29.268160032655},{id:540226,name:"昂仁县",parent:5402,lon:88.956062773518,lat:29.268160032655},{id:540227,name:"谢通门县",parent:5402,lon:88.956062773518,lat:29.268160032655},{id:540228,name:"白朗县",parent:5402,lon:89.113585077496,lat:28.795794414747},{id:540229,name:"仁布县",parent:5402,lon:90.003352252057,lat:29.247386928273},{id:540230,name:"康马县",parent:5402,lon:88.956062773518,lat:29.268160032655},{id:540231,name:"定结县",parent:5402,lon:88.956062773518,lat:29.268160032655},{id:540232,name:"仲巴县",parent:5402,lon:88.956062773518,lat:29.268160032655},{id:540233,name:"亚东县",parent:5402,lon:88.956062773518,lat:29.268160032655},{id:540234,name:"吉隆县",parent:5402,lon:88.956062773518,lat:29.268160032655},{id:540235,name:"聂拉木县",parent:5402,lon:88.956062773518,lat:29.268160032655},{id:540236,name:"萨嘎县",parent:5402,lon:88.956062773518,lat:29.268160032655},{id:540237,name:"岗巴县",parent:5402,lon:88.956062773518,lat:29.268160032655},{id:540302,name:"卡若区",parent:5403,lon:97.334535331605,lat:31.529862428285},{id:540321,name:"江达县",parent:5403,lon:98.118022293299,lat:31.780569180094},{id:540322,name:"贡觉县",parent:5403,lon:98.426429044036,lat:30.736504388643},{id:540323,name:"类乌齐县",parent:5403,lon:96.391967073454,lat:31.449065979774},{id:540324,name:"丁青县",parent:5403,lon:95.522471824657,lat:31.685241377535},{id:540325,name:"察雅县",parent:5403,lon:97.836858866086,lat:30.618372794064},{id:540326,name:"八宿县",parent:5403,lon:96.879160712332,lat:30.074689806895},{id:540327,name:"左贡县",parent:5403,lon:97.887595370154,lat:29.444978973304},{id:540328,name:"芒康县",parent:5403,lon:98.554769564416,lat:29.51433481024},{id:540329,name:"洛隆县",parent:5403,lon:95.916491128377,lat:30.698457783096},{id:540330,name:"边坝县",parent:5403,lon:94.483413447372,lat:30.96906728495},{id:540402,name:"巴宜区",parent:5404,lon:94.375930017941,lat:29.813114097649},{id:540421,name:"工布江达县",parent:5404,lon:93.262111473599,lat:30.032418475925},{id:540422,name:"米林县",parent:5404,lon:94.174542402829,lat:29.25246445514},{id:540423,name:"墨脱县",parent:5404,lon:94.931464872257,lat:28.754711260372},{id:540424,name:"波密县",parent:5404,lon:95.345896846749,lat:30.019416163945},{id:540425,name:"察隅县",parent:5404,lon:97.229506149139,lat:28.653566547177},{id:540426,name:"朗县",parent:5404,lon:93.126863813454,lat:29.087717194008},{id:540502,name:"乃东区",parent:5405,lon:91.797519071958,lat:29.167743326287},{id:540521,name:"扎囊县",parent:5405,lon:91.407298324182,lat:29.266820605393},{id:540522,name:"贡嘎县",parent:5405,lon:90.860869080783,lat:29.240130838536},{id:540523,name:"桑日县",parent:5405,lon:92.231280965366,lat:29.42065032555},{id:540524,name:"琼结县",parent:5405,lon:91.584038524668,lat:29.013065914396},{id:540525,name:"曲松县",parent:5405,lon:92.237345606421,lat:28.954175694618},{id:540526,name:"措美县",parent:5405,lon:91.551753322243,lat:28.585924343435},{id:540527,name:"洛扎县",parent:5405,lon:90.897039902791,lat:28.210518915815},{id:540528,name:"加查县",parent:5405,lon:92.727658842783,lat:29.275255680226},{id:540529,name:"隆子县",parent:5405,lon:93.019223010095,lat:28.486722025563},{id:540530,name:"错那县",parent:5405,lon:92.888732384978,lat:27.66585127009},{id:540531,name:"浪卡子县",parent:5405,lon:90.702914725708,lat:28.732790957089},{id:542421,name:"那曲县",parent:5424,lon:92.034626453644,lat:31.252314725152},{id:542422,name:"嘉黎县",parent:5424,lon:92.961316438644,lat:30.668911708265},{id:542423,name:"比如县",parent:5424,lon:93.493424136652,lat:31.44713553851},{id:542424,name:"聂荣县",parent:5424,lon:92.642153446415,lat:32.249649761022},{id:542425,name:"安多县",parent:5424,lon:90.569314254249,lat:33.321681895077},{id:542426,name:"申扎县",parent:5424,lon:88.735362127732,lat:31.035234259381},{id:542427,name:"索县",parent:5424,lon:94.312549818243,lat:31.592787589013},{id:542428,name:"班戈县",parent:5424,lon:90.12340113956,lat:31.2181120282},{id:542429,name:"巴青县",parent:5424,lon:94.018948797784,lat:32.198838522007},{id:542430,name:"尼玛县",parent:5424,lon:87.654846646508,lat:33.536965980784},{id:542431,name:"双湖县",parent:5424,lon:88.221417061569,lat:34.102579150651},{id:542521,name:"普兰县",parent:5425,lon:81.530582849369,lat:30.637119738777},{id:542522,name:"札达县",parent:5425,lon:79.552757074516,lat:31.553648618356},{id:542523,name:"噶尔县",parent:5425,lon:80.315974443536,lat:32.005501431945},{id:542524,name:"日土县",parent:5425,lon:80.719742169545,lat:33.984683055318},{id:542525,name:"革吉县",parent:5425,lon:82.03379760961,lat:32.057883395434},{id:542526,name:"改则县",parent:5425,lon:84.285002167349,lat:33.841204623772},{id:542527,name:"措勤县",parent:5425,lon:85.210285811396,lat:30.749850801541},{id:610102,name:"新城区",parent:6101,lon:108.99153865841,lat:34.271473780191},{id:610103,name:"碑林区",parent:6101,lon:108.96625890407,lat:34.255484557671},{id:610104,name:"莲湖区",parent:6101,lon:108.91554659362,lat:34.273192373169},{id:610111,name:"灞桥区",parent:6101,lon:109.10875495118,lat:34.303915149746},{id:610112,name:"未央区",parent:6101,lon:108.92646199371,lat:34.331331489423},{id:610113,name:"雁塔区",parent:6101,lon:108.93879042836,lat:34.221414918471},{id:610114,name:"阎良区",parent:6101,lon:109.31341715315,lat:34.686373084486},{id:610115,name:"临潼区",parent:6101,lon:109.3104528348,lat:34.456277329548},{id:610116,name:"长安区",parent:6101,lon:108.87425634018,lat:34.066898727937},{id:610117,name:"高陵区",parent:6101,lon:109.07152291236,lat:34.513346424398},{id:610122,name:"蓝田县",parent:6101,lon:109.42339003093,lat:34.100786931955},{id:610124,name:"周至县",parent:6101,lon:108.11354147874,lat:33.953602363476},{id:610125,name:"户县",parent:6101,lon:108.59248134192,lat:34.00383365133},{id:610202,name:"王益区",parent:6102,lon:109.06850448637,lat:35.070041017281},{id:610203,name:"印台区",parent:6102,lon:109.18538598068,lat:35.160933883455},{id:610204,name:"耀州区",parent:6102,lon:108.8354996676,lat:35.032000358937},{id:610222,name:"宜君县",parent:6102,lon:109.20440179145,lat:35.383901876425},{id:610302,name:"渭滨区",parent:6103,lon:107.10824439064,lat:34.311027035867},{id:610303,name:"金台区",parent:6103,lon:107.11761362728,lat:34.40317453128},{id:610304,name:"陈仓区",parent:6103,lon:106.92358089475,lat:34.482540082479},{id:610322,name:"凤翔县",parent:6103,lon:107.43678881989,lat:34.577025723794},{id:610323,name:"岐山县",parent:6103,lon:107.68898501373,lat:34.410705264779},{id:610324,name:"扶风县",parent:6103,lon:107.92510162193,lat:34.41197448025},{id:610326,name:"眉县",parent:6103,lon:107.83384402175,lat:34.150539928532},{id:610327,name:"陇县",parent:6103,lon:106.7730643229,lat:34.876941335239},{id:610328,name:"千阳县",parent:6103,lon:107.17797400373,lat:34.766951491427},{id:610329,name:"麟游县",parent:6103,lon:107.71077450759,lat:34.785692691421},{id:610330,name:"凤县",parent:6103,lon:106.76610395886,lat:33.993251781372},{id:610331,name:"太白县",parent:6103,lon:107.4168652793,lat:33.94297244023},{id:610402,name:"秦都区",parent:6104,lon:108.68341537696,lat:34.354285427987},{id:610403,name:"杨陵区",parent:6104,lon:108.05873803758,lat:34.290198720106},{id:610404,name:"渭城区",parent:6104,lon:108.81731239458,lat:34.423852572977},{id:610422,name:"三原县",parent:6104,lon:108.98069993821,lat:34.703211629709},{id:610423,name:"泾阳县",parent:6104,lon:108.78075311312,lat:34.608867001852},{id:610424,name:"乾县",parent:6104,lon:108.22948289516,lat:34.527672579796},{id:610425,name:"礼泉县",parent:6104,lon:108.48256879405,lat:34.597853791406},{id:610426,name:"永寿县",parent:6104,lon:108.13671381859,lat:34.777655607134},{id:610427,name:"彬县",parent:6104,lon:108.06798630717,lat:35.051834974906},{id:610428,name:"长武县",parent:6104,lon:107.83479969951,lat:35.170581688184},{id:610429,name:"旬邑县",parent:6104,lon:108.49412543869,lat:35.216832056498},{id:610430,name:"淳化县",parent:6104,lon:108.57021884883,lat:34.869115751197},{id:610431,name:"武功县",parent:6104,lon:108.19099325441,lat:34.316553316648},{id:610481,name:"兴平市",parent:6104,lon:108.47576040598,lat:34.307609399651},{id:610502,name:"临渭区",parent:6105,lon:109.56474625615,lat:34.553520116268},{id:610503,name:"华州区",parent:6105,lon:109.82852431434,lat:34.420454032973},{id:610522,name:"潼关县",parent:6105,lon:110.29554551613,lat:34.507137056057},{id:610523,name:"大荔县",parent:6105,lon:110.01194954265,lat:34.796840374649},{id:610524,name:"合阳县",parent:6105,lon:110.19110357566,lat:35.208388187296},{id:610525,name:"澄城县",parent:6105,lon:109.90160517601,lat:35.222564490705},{id:610526,name:"蒲城县",parent:6105,lon:109.62824611949,lat:34.967696650545},{id:610527,name:"白水县",parent:6105,lon:109.5701661435,lat:35.271645917395},{id:610528,name:"富平县",parent:6105,lon:109.23593971498,lat:34.879423511794},{id:610581,name:"韩城市",parent:6105,lon:110.39377368099,lat:35.582782138309},{id:610582,name:"华阴市",parent:6105,lon:110.05818818766,lat:34.532717876993},{id:610602,name:"宝塔区",parent:6106,lon:109.64860224516,lat:36.575992490922},{id:610603,name:"安塞区",parent:6106,lon:109.15556502968,lat:36.926615808304},{id:610621,name:"延长县",parent:6106,lon:110.13820395785,lat:36.543668537707},{id:610622,name:"延川县",parent:6106,lon:110.08409714122,lat:36.88242672637},{id:610623,name:"子长县",parent:6106,lon:109.62229012795,lat:37.231001638593},{id:610625,name:"志丹县",parent:6106,lon:108.66244666802,lat:36.753503067474},{id:610626,name:"吴起县",parent:6106,lon:108.12948505986,lat:36.985223505156},{id:610627,name:"甘泉县",parent:6106,lon:109.18223909796,lat:36.353544169394},{id:610628,name:"富县",parent:6106,lon:109.04960350294,lat:36.017427088571},{id:610629,name:"洛川县",parent:6106,lon:109.56098175038,lat:35.744158257757},{id:610630,name:"宜川县",parent:6106,lon:110.19112656349,lat:36.071139382475},{id:610631,name:"黄龙县",parent:6106,lon:109.94510069451,lat:35.702635706301},{id:610632,name:"黄陵县",parent:6106,lon:108.95305831904,lat:35.62841424749},{id:610702,name:"汉台区",parent:6107,lon:107.04616716185,lat:33.187204162513},{id:610721,name:"南郑县",parent:6107,lon:106.96974070111,lat:32.812036143125},{id:610722,name:"城固县",parent:6107,lon:107.26083703889,lat:33.223582827388},{id:610723,name:"洋县",parent:6107,lon:107.61609308741,lat:33.371586660725},{id:610724,name:"西乡县",parent:6107,lon:107.75371241439,lat:32.894902801657},{id:610725,name:"勉县",parent:6107,lon:106.66457828015,lat:33.243885511916},{id:610726,name:"宁强县",parent:6107,lon:106.14087102725,lat:32.914183257269},{id:610727,name:"略阳县",parent:6107,lon:106.16283351204,lat:33.385373533804},{id:610728,name:"镇巴县",parent:6107,lon:107.88277388136,lat:32.517415574628},{id:610729,name:"留坝县",parent:6107,lon:106.95962831346,lat:33.612960467486},{id:610730,name:"佛坪县",parent:6107,lon:107.92883622761,lat:33.549939112272},{id:610802,name:"榆阳区",parent:6108,lon:109.64269245717,lat:38.386406641165},{id:610803,name:"横山区",parent:6108,lon:109.50067321533,lat:37.80809785663},{id:610821,name:"神木县",parent:6108,lon:110.33126976909,lat:38.829035865956},{id:610822,name:"府谷县",parent:6108,lon:110.86693418362,lat:39.187272466272},{id:610824,name:"靖边县",parent:6108,lon:108.81325925462,lat:37.484215805492},{id:610825,name:"定边县",parent:6108,lon:107.7542930803,lat:37.388791134452},{id:610826,name:"绥德县",parent:6108,lon:110.39614377168,lat:37.520861333414},{id:610827,name:"米脂县",parent:6108,lon:110.18690099232,lat:37.8285293893},{id:610828,name:"佳县",parent:6108,lon:110.37373997088,lat:38.078380449363},{id:610829,name:"吴堡县",parent:6108,lon:110.69187682122,lat:37.594879166095},{id:610830,name:"清涧县",parent:6108,lon:110.28929412737,lat:37.187443767355},{id:610831,name:"子洲县",parent:6108,lon:109.8772926757,lat:37.533672486299},{id:610902,name:"汉滨区",parent:6109,lon:108.89624328129,lat:32.814464034575},{id:610921,name:"汉阴县",parent:6109,lon:108.49695491326,lat:32.902520654164},{id:610922,name:"石泉县",parent:6109,lon:108.25051841167,lat:33.065316023116},{id:610923,name:"宁陕县",parent:6109,lon:108.45179634269,lat:33.536923574813},{id:610924,name:"紫阳县",parent:6109,lon:108.44482568913,lat:32.448942187958},{id:610925,name:"岚皋县",parent:6109,lon:108.88718069832,lat:32.242470474479},{id:610926,name:"平利县",parent:6109,lon:109.2703969757,lat:32.291256567392},{id:610927,name:"镇坪县",parent:6109,lon:109.45671118087,lat:31.939261564672},{id:610928,name:"旬阳县",parent:6109,lon:109.42357994353,lat:32.902076990198},{id:610929,name:"白河县",parent:6109,lon:109.91837503137,lat:32.729864671398},{id:611002,name:"商州区",parent:6110,lon:109.87327053686,lat:33.895484903711},{id:611021,name:"洛南县",parent:6110,lon:110.27264280953,lat:34.16568436231},{id:611022,name:"丹凤县",parent:6110,lon:110.44379951579,lat:33.684553642613},{id:611023,name:"商南县",parent:6110,lon:110.76653283748,lat:33.411702755168},{id:611024,name:"山阳县",parent:6110,lon:109.98131923576,lat:33.427684397681},{id:611025,name:"镇安县",parent:6110,lon:109.07737051732,lat:33.380938764863},{id:611026,name:"柞水县",parent:6110,lon:109.28054880136,lat:33.695399655075},{id:620102,name:"城关区",parent:6201,lon:103.85157116258,lat:36.054008131567},{id:620103,name:"七里河区",parent:6201,lon:103.77199449949,lat:35.992495346876},{id:620104,name:"西固区",parent:6201,lon:103.56267979363,lat:36.106471763711},{id:620105,name:"安宁区",parent:6201,lon:103.7191558999,lat:36.11552303805},{id:620111,name:"红古区",parent:6201,lon:103.06027548801,lat:36.303488391492},{id:620121,name:"永登县",parent:6201,lon:103.25279353462,lat:36.616923609035},{id:620122,name:"皋兰县",parent:6201,lon:103.89046691011,lat:36.394687882673},{id:620123,name:"榆中县",parent:6201,lon:104.244289521,lat:35.999785042711},{id:620201,name:"嘉峪关市",parent:62,lon:98.281634585257,lat:39.802397326734},{id:620302,name:"金川区",parent:6203,lon:102.32867993808,lat:38.492171668259},{id:620321,name:"永昌县",parent:6203,lon:102.03431627622,lat:38.433409665467},{id:620402,name:"白银区",parent:6204,lon:104.2056493285,lat:36.50182182871},{id:620403,name:"平川区",parent:6204,lon:104.94560896536,lat:36.690350490926},{id:620421,name:"靖远县",parent:6204,lon:104.73232686762,lat:36.749103432427},{id:620422,name:"会宁县",parent:6204,lon:105.10186095322,lat:35.963481743844},{id:620423,name:"景泰县",parent:6204,lon:104.06166772084,lat:37.14607896393},{id:620502,name:"秦州区",parent:6205,lon:105.58117092709,lat:34.344448280622},{id:620503,name:"麦积区",parent:6205,lon:106.05204030761,lat:34.520218471455},{id:620521,name:"清水县",parent:6205,lon:106.14008000664,lat:34.74252730496},{id:620522,name:"秦安县",parent:6205,lon:105.69804091114,lat:34.953499919918},{id:620523,name:"甘谷县",parent:6205,lon:105.27453175252,lat:34.809420550799},{id:620524,name:"武山县",parent:6205,lon:104.88672977677,lat:34.680181826047},{id:620525,name:"张家川回族自治县",parent:6205,lon:106.28213682392,lat:34.995955449082},{id:620602,name:"凉州区",parent:6206,lon:102.75947740159,lat:37.916272406996},{id:620621,name:"民勤县",parent:6206,lon:103.20247261178,lat:38.827727985281},{id:620622,name:"古浪县",parent:6206,lon:103.34292346491,lat:37.531271711364},{id:620623,name:"天祝藏族自治县",parent:6206,lon:102.76116389471,lat:37.280912201076},{id:620702,name:"甘州区",parent:6207,lon:100.52207864992,lat:39.010620607403},{id:620721,name:"肃南裕固族自治县",parent:6207,lon:99.32677151937,lat:38.92057106606},{id:620722,name:"民乐县",parent:6207,lon:100.7984292987,lat:38.473163420728},{id:620723,name:"临泽县",parent:6207,lon:100.19122429388,lat:39.347031674446},{id:620724,name:"高台县",parent:6207,lon:99.607521373805,lat:39.54167477275},{id:620725,name:"山丹县",parent:6207,lon:101.23164701727,lat:38.530221367211},{id:620802,name:"崆峒区",parent:6208,lon:106.74888681637,lat:35.515774315921},{id:620821,name:"泾川县",parent:6208,lon:107.44140503868,lat:35.354114511504},{id:620822,name:"灵台县",parent:6208,lon:107.40960562376,lat:35.074478179591},{id:620823,name:"崇信县",parent:6208,lon:107.0037763949,lat:35.249102891785},{id:620824,name:"华亭县",parent:6208,lon:106.60867034279,lat:35.205549578778},{id:620825,name:"庄浪县",parent:6208,lon:106.06568568013,lat:35.255968489859},{id:620826,name:"静宁县",parent:6208,lon:105.67756247251,lat:35.434011745999},{id:620902,name:"肃州区",parent:6209,lon:98.802616462619,lat:39.598374259485},{id:620921,name:"金塔县",parent:6209,lon:99.186587021952,lat:40.382579195507},{id:620922,name:"瓜州县",parent:6209,lon:95.804712825239,lat:40.734286870761},{id:620923,name:"肃北蒙古族自治县",parent:6209,lon:96.532550627515,lat:40.67651966541},{id:620924,name:"阿克塞哈萨克族自治县",parent:6209,lon:94.452300569161,lat:39.025889605786},{id:620981,name:"玉门市",parent:6209,lon:97.461208851694,lat:40.225551802072},{id:620982,name:"敦煌市",parent:6209,lon:94.158041766451,lat:40.388771499344},{id:621002,name:"西峰区",parent:6210,lon:107.67367365978,lat:35.677201418546},{id:621021,name:"庆城县",parent:6210,lon:107.68254775923,lat:36.046137555053},{id:621022,name:"环县",parent:6210,lon:107.07217218514,lat:36.616788638949},{id:621023,name:"华池县",parent:6210,lon:108.03431226296,lat:36.444471972715},{id:621024,name:"合水县",parent:6210,lon:108.31734058051,lat:36.014259860237},{id:621025,name:"正宁县",parent:6210,lon:108.37808719083,lat:35.414731657592},{id:621026,name:"宁县",parent:6210,lon:108.11417335803,lat:35.571366266826},{id:621027,name:"镇原县",parent:6210,lon:107.17722652653,lat:35.787953892327},{id:621102,name:"安定区",parent:6211,lon:104.63762366893,lat:35.644415174266},{id:621121,name:"通渭县",parent:6211,lon:105.19397766216,lat:35.213473762851},{id:621122,name:"陇西县",parent:6211,lon:104.63291319296,lat:35.111801691091},{id:621123,name:"渭源县",parent:6211,lon:104.14632784195,lat:35.139480681839},{id:621124,name:"临洮县",parent:6211,lon:103.91201515484,lat:35.531078701642},{id:621125,name:"漳县",parent:6211,lon:104.36540253683,lat:34.726750534701},{id:621126,name:"岷县",parent:6211,lon:104.24672610097,lat:34.429644403444},{id:621202,name:"武都区",parent:6212,lon:105.13455295643,lat:33.293917195649},{id:621221,name:"成县",parent:6212,lon:105.68828896242,lat:33.747296636905},{id:621222,name:"文县",parent:6212,lon:104.78420570271,lat:32.947265418467},{id:621223,name:"宕昌县",parent:6212,lon:104.45282709018,lat:34.013488842529},{id:621224,name:"康县",parent:6212,lon:105.63797390347,lat:33.284990408681},{id:621225,name:"西和县",parent:6212,lon:105.33853139264,lat:33.919624520579},{id:621226,name:"礼县",parent:6212,lon:105.06409130212,lat:34.111636708139},{id:621227,name:"徽县",parent:6212,lon:106.03331703965,lat:33.892851204433},{id:621228,name:"两当县",parent:6212,lon:106.40388517582,lat:33.911378923592},{id:622901,name:"临夏市",parent:6229,lon:103.2005757611,lat:35.585834814564},{id:622921,name:"临夏县",parent:6229,lon:103.05079063073,lat:35.51871940176},{id:622922,name:"康乐县",parent:6229,lon:103.62902014045,lat:35.258018266344},{id:622923,name:"永靖县",parent:6229,lon:103.22504409432,lat:36.007874959311},{id:622924,name:"广河县",parent:6229,lon:103.63113999251,lat:35.478027097747},{id:622925,name:"和政县",parent:6229,lon:103.29856767173,lat:35.345732331975},{id:622926,name:"东乡族自治县",parent:6229,lon:103.45214513327,lat:35.698472340993},{id:622927,name:"积石山保安族东乡族撒拉族自治县",parent:6229,lon:102.86781858816,lat:35.710873026896},{id:623001,name:"合作市",parent:6230,lon:103.08564921659,lat:34.997259505739},{id:623021,name:"临潭县",parent:6230,lon:103.63190648409,lat:34.742615145611},{id:623022,name:"卓尼县",parent:6230,lon:103.39362024363,lat:34.614457775996},{id:623023,name:"舟曲县",parent:6230,lon:104.32632271288,lat:33.634810419739},{id:623024,name:"迭部县",parent:6230,lon:103.57044621531,lat:34.005620769228},{id:623025,name:"玛曲县",parent:6230,lon:101.66897741851,lat:33.850721989423},{id:623026,name:"碌曲县",parent:6230,lon:102.4775472855,lat:34.392608970483},{id:623027,name:"夏河县",parent:6230,lon:102.50657841215,lat:35.023030857767},{id:630102,name:"城东区",parent:6301,lon:101.8318647116,lat:36.602116754388},{id:630103,name:"城中区",parent:6301,lon:101.77736110275,lat:36.606648708407},{id:630104,name:"城西区",parent:6301,lon:101.72760342157,lat:36.631635686769},{id:630105,name:"城北区",parent:6301,lon:101.7126636128,lat:36.686367847542},{id:630121,name:"大通回族土族自治县",parent:6301,lon:101.49047766775,lat:37.120688447453},{id:630122,name:"湟中县",parent:6301,lon:101.54449443066,lat:36.579759412822},{id:630123,name:"湟源县",parent:6301,lon:101.16317752228,lat:36.636354795068},{id:630202,name:"乐都区",parent:6302,lon:102.45288779666,lat:36.535266451079},{id:630203,name:"平安区",parent:6302,lon:102.00299964296,lat:36.410605515699},{id:630222,name:"民和回族土族自治县",parent:6302,lon:102.37668874252,lat:36.312743354178},{id:630223,name:"互助土族自治县",parent:6302,lon:102.25718820705,lat:36.83096012588},{id:630224,name:"化隆回族自治县",parent:6302,lon:102.19192348838,lat:36.063668678141},{id:630225,name:"循化撒拉族自治县",parent:6302,lon:102.41213008567,lat:35.70370031381},{id:632221,name:"门源回族自治县",parent:6322,lon:101.73134392349,lat:37.45838446475},{id:632222,name:"祁连县",parent:6322,lon:99.711262922683,lat:38.327948935969},{id:632223,name:"海晏县",parent:6322,lon:100.84335509134,lat:37.114748322372},{id:632224,name:"刚察县",parent:6322,lon:99.988382638435,lat:37.556876866897},{id:632321,name:"同仁县",parent:6323,lon:102.07844901848,lat:35.426828765429},{id:632322,name:"尖扎县",parent:6323,lon:101.8497538518,lat:35.918696822502},{id:632323,name:"泽库县",parent:6323,lon:101.43544631681,lat:35.139216924404},{id:632324,name:"河南蒙古族自治县",parent:6323,lon:101.55630729533,lat:34.511389737869},{id:632521,name:"共和县",parent:6325,lon:100.06487566684,lat:36.538342364813},{id:632522,name:"同德县",parent:6325,lon:100.60173869992,lat:35.068401149266},{id:632523,name:"贵德县",parent:6325,lon:101.41576189108,lat:36.010503374887},{id:632524,name:"兴海县",parent:6325,lon:99.733309029,lat:35.54029982537},{id:632525,name:"贵南县",parent:6325,lon:100.8846104318,lat:35.698086207737},{id:632621,name:"玛沁县",parent:6326,lon:99.794261606919,lat:34.504017087053},{id:632622,name:"班玛县",parent:6326,lon:100.55042865772,lat:32.909735756429},{id:632623,name:"甘德县",parent:6326,lon:100.1478423084,lat:34.021807573602},{id:632624,name:"达日县",parent:6326,lon:99.410809497102,lat:33.482696864248},{id:632625,name:"久治县",parent:6326,lon:101.00550828784,lat:33.473902951608},{id:632626,name:"玛多县",parent:6326,lon:98.244476788626,lat:34.79757019551},{id:632701,name:"玉树市",parent:6327,lon:96.712350119487,lat:32.906574629922},{id:632722,name:"杂多县",parent:6327,lon:94.30131455019,lat:33.065763568805},{id:632723,name:"称多县",parent:6327,lon:97.001973841494,lat:33.935171842212},{id:632724,name:"治多县",parent:6327,lon:92.608641864013,lat:34.884438571607},{id:632725,name:"囊谦县",parent:6327,lon:96.137026010488,lat:32.178288570852},{id:632726,name:"曲麻莱县",parent:6327,lon:95.140845875343,lat:34.876865391833},{id:632801,name:"格尔木市",parent:6328,lon:96.202543672261,lat:35.499761004275},{id:632802,name:"德令哈市",parent:6328,lon:96.202543672261,lat:35.499761004275},{id:632821,name:"乌兰县",parent:6328,lon:98.672630599729,lat:36.902366896364},{id:632822,name:"都兰县",parent:6328,lon:97.154434686537,lat:36.160067040805},{id:632823,name:"天峻县",parent:6328,lon:98.496512304144,lat:38.051753388375},{id:640104,name:"兴庆区",parent:6401,lon:106.38212078081,lat:38.464266316255},{id:640105,name:"西夏区",parent:6401,lon:106.05555591606,lat:38.55328059311},{id:640106,name:"金凤区",parent:6401,lon:106.24264950801,lat:38.47859072607},{id:640121,name:"永宁县",parent:6401,lon:106.10904802497,lat:38.295049444356},{id:640122,name:"贺兰县",parent:6401,lon:106.26651804243,lat:38.687106885054},{id:640181,name:"灵武市",parent:6401,lon:106.53199999229,lat:37.935174812169},{id:640202,name:"大武口区",parent:6402,lon:106.38721561034,lat:38.967534270672},{id:640205,name:"惠农区",parent:6402,lon:106.61377347013,lat:39.108073765064},{id:640221,name:"平罗县",parent:6402,lon:106.54437947509,lat:38.891511355897},{id:640302,name:"利通区",parent:6403,lon:106.21901163377,lat:37.76788189318},{id:640303,name:"红寺堡区",parent:6403,lon:106.16687896986,lat:37.374136412893},{id:640323,name:"盐池县",parent:6403,lon:107.04976116152,lat:37.625336523188},{id:640324,name:"同心县",parent:6403,lon:106.24738743176,lat:37.098456634364},{id:640381,name:"青铜峡市",parent:6403,lon:105.96146159918,lat:37.942124742884},{id:640402,name:"原州区",parent:6404,lon:106.25401126905,lat:36.206829483476},{id:640422,name:"西吉县",parent:6404,lon:105.72674858688,lat:35.939934380868},{id:640423,name:"隆德县",parent:6404,lon:106.07361128455,lat:35.589137720123},{id:640424,name:"泾源县",parent:6404,lon:106.35402263843,lat:35.529746376118},{id:640425,name:"彭阳县",parent:6404,lon:106.66247325572,lat:35.972546262958},{id:640502,name:"沙坡头区",parent:6405,lon:105.11127776143,lat:37.360638517868},{id:640521,name:"中宁县",parent:6405,lon:105.69186958245,lat:37.360097375108},{id:640522,name:"海原县",parent:6405,lon:105.67964899633,lat:36.603124838712},{id:650102,name:"天山区",parent:6501,lon:87.632902512248,lat:43.783860225571},{id:650103,name:"沙依巴克区",parent:6501,lon:87.545631053987,lat:43.807885738392},{id:650104,name:"新市区",parent:6501,lon:87.549218796363,lat:43.898324290635},{id:650105,name:"水磨沟区",parent:6501,lon:87.668013771241,lat:43.843907230143},{id:650106,name:"头屯河区",parent:6501,lon:87.425048810466,lat:43.925789450498},{id:650107,name:"达坂城区",parent:6501,lon:87.895407243798,lat:42.840608943765},{id:650109,name:"米东区",parent:6501,lon:87.691186460177,lat:44.070554173621},{id:650121,name:"乌鲁木齐县",parent:6501,lon:87.360244284205,lat:43.419107804291},{id:650202,name:"独山子区",parent:6502,lon:84.899916988861,lat:44.302338209135},{id:650203,name:"克拉玛依区",parent:6502,lon:84.926989634948,lat:45.203919246039},{id:650204,name:"白碱滩区",parent:6502,lon:85.177828513011,lat:45.633602431504},{id:650205,name:"乌尔禾区",parent:6502,lon:85.511149264018,lat:46.006575616849},{id:650402,name:"高昌区",parent:6504,lon:89.227738842032,lat:42.508199556726},{id:650421,name:"鄯善县",parent:6504,lon:89.266025488642,lat:42.678924820794},{id:650422,name:"托克逊县",parent:6504,lon:89.266025488642,lat:42.678924820794},{id:650502,name:"伊州区",parent:6505,lon:93.529373012389,lat:42.344467104552},{id:650521,name:"巴里坤哈萨克自治县",parent:6505,lon:85.614899338339,lat:42.127000957642},{id:650522,name:"伊吾县",parent:6505,lon:85.614899338339,lat:42.127000957642},{id:652301,name:"昌吉市",parent:6523,lon:87.073618053225,lat:44.175083447891},{id:652302,name:"阜康市",parent:6523,lon:88.305949271281,lat:44.424103693512},{id:652323,name:"呼图壁县",parent:6523,lon:86.693166111969,lat:44.380955717336},{id:652324,name:"玛纳斯县",parent:6523,lon:86.137668859258,lat:44.503551752404},{id:652325,name:"奇台县",parent:6523,lon:90.11026866784,lat:44.527652368056},{id:652327,name:"吉木萨尔县",parent:6523,lon:89.053073195064,lat:44.352913670744},{id:652328,name:"木垒哈萨克自治县",parent:6523,lon:90.823487793346,lat:44.106618870761},{id:652701,name:"博乐市",parent:6527,lon:81.874284679178,lat:44.844209020588},{id:652702,name:"阿拉山口市",parent:6527,lon:82.895221509025,lat:45.061386641726},{id:652722,name:"精河县",parent:6527,lon:82.922361700992,lat:44.557568454509},{id:652723,name:"温泉县",parent:6527,lon:80.952155808353,lat:44.9688196179},{id:652801,name:"库尔勒市",parent:6528,lon:85.709417601735,lat:41.705499905674},{id:652822,name:"轮台县",parent:6528,lon:84.57895946698,lat:41.819287515207},{id:652823,name:"尉犁县",parent:6528,lon:86.866990811172,lat:40.858795810656},{id:652824,name:"若羌县",parent:6528,lon:89.762772308375,lat:38.973844089966},{id:652825,name:"且末县",parent:6528,lon:85.506365638195,lat:38.100709422823},{id:652826,name:"焉耆回族自治县",parent:6528,lon:86.07606847595,lat:42.096103707937},{id:652827,name:"和静县",parent:6528,lon:85.200093433149,lat:42.828681293853},{id:652828,name:"和硕县",parent:6528,lon:87.588716477325,lat:42.141076067327},{id:652829,name:"博湖县",parent:6528,lon:86.88537877372,lat:41.857897990299},{id:652901,name:"阿克苏市",parent:6529,lon:81.156013147807,lat:40.349444301113},{id:652922,name:"温宿县",parent:6529,lon:80.461878185727,lat:41.582084613402},{id:652923,name:"库车县",parent:6529,lon:83.459806782673,lat:41.781932892776},{id:652924,name:"沙雅县",parent:6529,lon:82.925515505452,lat:40.406065186743},{id:652925,name:"新和县",parent:6529,lon:81.985216276674,lat:41.365699703636},{id:652926,name:"拜城县",parent:6529,lon:81.90123535088,lat:42.04528513577},{id:652927,name:"乌什县",parent:6529,lon:79.281638850531,lat:41.26184731177},{id:652928,name:"阿瓦提县",parent:6529,lon:80.439931783004,lat:40.060787890713},{id:652929,name:"柯坪县",parent:6529,lon:78.994696137796,lat:40.456665812896},{id:653001,name:"阿图什市",parent:6530,lon:85.614899338339,lat:42.127000957642},{id:653022,name:"阿克陶县",parent:6530,lon:75.814939311182,lat:39.12880375818},{id:653023,name:"阿合奇县",parent:6530,lon:85.614899338339,lat:42.127000957642},{id:653024,name:"乌恰县",parent:6530,lon:75.146818569489,lat:39.971830894544},{id:653101,name:"喀什市",parent:6531,lon:76.014342798943,lat:39.513110585312},{id:653121,name:"疏附县",parent:6531,lon:75.754898212901,lat:39.409740997776},{id:653122,name:"疏勒县",parent:6531,lon:76.369990308095,lat:39.187644733788},{id:653123,name:"英吉沙县",parent:6531,lon:76.368708511974,lat:38.800015263145},{id:653124,name:"泽普县",parent:6531,lon:77.226408238901,lat:38.122552699106},{id:653125,name:"莎车县",parent:6531,lon:77.014833164072,lat:38.322587836687},{id:653126,name:"叶城县",parent:6531,lon:77.223630915245,lat:36.993013961904},{id:653127,name:"麦盖提县",parent:6531,lon:78.242310158759,lat:38.848362710463},{id:653128,name:"岳普湖县",parent:6531,lon:76.989631103308,lat:39.116644959661},{id:653129,name:"伽师县",parent:6531,lon:77.231563046663,lat:39.599103145624},{id:653130,name:"巴楚县",parent:6531,lon:78.907138995454,lat:39.618107499846},{id:653131,name:"塔什库尔干塔吉克自治县",parent:6531,lon:75.843222371735,lat:37.019583155993},{id:653201,name:"和田市",parent:6532,lon:79.915813731039,lat:37.153349739681},{id:653221,name:"和田县",parent:6532,lon:79.354993072983,lat:35.68343240637},{id:653222,name:"墨玉县",parent:6532,lon:80.047148111072,lat:38.384224145853},{id:653223,name:"皮山县",parent:6532,lon:78.521850388972,lat:37.228318546135},{id:653224,name:"洛浦县",parent:6532,lon:80.741311117244,lat:38.02421985339},{id:653225,name:"策勒县",parent:6532,lon:81.097995717517,lat:37.084313855547},{id:653226,name:"于田县",parent:6532,lon:81.995462903271,lat:37.169130186737},{id:653227,name:"民丰县",parent:6532,lon:83.352763187,lat:37.173146693576},{id:654002,name:"伊宁市",parent:6540,lon:81.289048071493,lat:44.020355819309},{id:654003,name:"奎屯市",parent:6540,lon:85.013934401512,lat:44.559556778997},{id:654004,name:"霍尔果斯市",parent:6540,lon:80.472151391129,lat:44.452519773233},{id:654021,name:"伊宁县",parent:6540,lon:81.756940142999,lat:44.008116880627},{id:654022,name:"察布查尔锡伯自治县",parent:6540,lon:81.098298342118,lat:43.63837704253},{id:654023,name:"霍城县",parent:6540,lon:80.781158528097,lat:44.309120433611},{id:654024,name:"巩留县",parent:6540,lon:82.445700944329,lat:43.302460015973},{id:654025,name:"新源县",parent:6540,lon:83.558150188258,lat:43.376951418093},{id:654026,name:"昭苏县",parent:6540,lon:80.984257123681,lat:42.776878220953},{id:654027,name:"特克斯县",parent:6540,lon:82.006852355503,lat:42.925563515093},{id:654028,name:"尼勒克县",parent:6540,lon:83.23110039646,lat:43.816730949065},{id:654201,name:"塔城市",parent:6542,lon:82.974880583744,lat:46.75868362968},{id:654202,name:"乌苏市",parent:6542,lon:84.277878264967,lat:44.40768749824},{id:654221,name:"额敏县",parent:6542,lon:84.20931964579,lat:46.590663664844},{id:654223,name:"沙湾县",parent:6542,lon:85.474874072005,lat:44.353744632126},{id:654224,name:"托里县",parent:6542,lon:83.895484795593,lat:45.656986383852},{id:654225,name:"裕民县",parent:6542,lon:82.814799479048,lat:46.004456478157},{id:654226,name:"和布克赛尔蒙古自治县",parent:6542,lon:86.217435804622,lat:46.256702546595},{id:654301,name:"阿勒泰市",parent:6543,lon:87.926214360189,lat:47.890135725749},{id:654321,name:"布尔津县",parent:6543,lon:87.235518096505,lat:48.31600661463},{id:654322,name:"富蕴县",parent:6543,lon:89.393483612342,lat:46.536156506123},{id:654323,name:"福海县",parent:6543,lon:88.050870553487,lat:46.391693535493},{id:654324,name:"哈巴河县",parent:6543,lon:86.409672960245,lat:48.316559027363},{id:654325,name:"青河县",parent:6543,lon:90.403028447838,lat:46.26815068272},{id:654326,name:"吉木乃县",parent:6543,lon:86.208104287811,lat:47.40631111494},{id:659001,name:"石河子市",parent:6590,lon:85.614899338339,lat:42.127000957642},{id:659002,name:"阿拉尔市",parent:6590,lon:81.291736550158,lat:40.615680005185},{id:659003,name:"图木舒克市",parent:6590,lon:79.198155107904,lat:39.889222881804},{id:659004,name:"五家渠市",parent:6590,lon:87.565448980181,lat:44.368899479018},{id:659006,name:"铁门关市",parent:6590,lon:85.726306886394,lat:41.806667022365},{id:441900003,name:"东城街道办事处",parent:441900,lon:113.78983123714,lat:23.034187558639},{id:441900004,name:"南城街道办事处",parent:441900,lon:113.76343399076,lat:23.043023815368},{id:441900005,name:"万江街道办事处",parent:441900,lon:113.74487765252,lat:23.053216729046},{id:441900006,name:"莞城街道办事处",parent:441900,lon:113.75560020347,lat:23.044807443255},{id:441900101,name:"石碣镇",parent:441900,lon:113.81981570219,lat:23.105009814264},{id:441900102,name:"石龙镇",parent:441900,lon:113.88072838846,lat:23.11161544389},{id:441900103,name:"茶山镇",parent:441900,lon:113.87562020652,lat:23.082481820485},{id:441900104,name:"石排镇",parent:441900,lon:113.94654976997,lat:23.094860319218},{id:441900105,name:"企石镇",parent:441900,lon:114.02853135589,lat:23.079042407351},{id:441900106,name:"横沥镇",parent:441900,lon:113.97299506133,lat:23.024814163604},{id:441900107,name:"桥头镇",parent:441900,lon:114.10677408198,lat:23.020458678747},{id:441900108,name:"谢岗镇",parent:441900,lon:114.15514140002,lat:22.967217838002},{id:441900109,name:"东坑镇",parent:441900,lon:113.94045100498,lat:23.001562568215},{id:441900110,name:"常平镇",parent:441900,lon:113.9995109047,lat:22.981050796988},{id:441900111,name:"寮步镇",parent:441900,lon:113.88126801675,lat:23.00371616099},{id:441900112,name:"樟木头镇",parent:441900,lon:114.08977863491,lat:22.920830687532},{id:441900113,name:"大朗镇",parent:441900,lon:113.95058428998,lat:22.945659062868},{id:441900114,name:"黄江镇",parent:441900,lon:114.00998764783,lat:22.921615129208},{id:441900115,name:"清溪镇",parent:441900,lon:114.17089092789,lat:22.85030931077},{id:441900116,name:"塘厦镇",parent:441900,lon:114.07912123626,lat:22.812790577997},{id:441900117,name:"凤岗镇",parent:441900,lon:114.14334020333,lat:22.752715714135},{id:441900118,name:"大岭山镇",parent:441900,lon:113.84869038983,lat:22.905900630606},{id:441900119,name:"长安镇",parent:441900,lon:113.80903565699,lat:22.82104526943},{id:441900121,name:"虎门镇",parent:441900,lon:113.67932364446,lat:22.820652927195},{id:441900122,name:"厚街镇",parent:441900,lon:113.67679510848,lat:22.941327853433},{id:441900123,name:"沙田镇",parent:441900,lon:113.62408243967,lat:22.925272079534},{id:441900124,name:"道滘镇",parent:441900,lon:113.6817198771,lat:23.010254161879},{id:441900125,name:"洪梅镇",parent:441900,lon:113.61544017114,lat:23.000648523575},{id:441900126,name:"麻涌镇",parent:441900,lon:113.58837988097,lat:23.057083015858},{id:441900127,name:"望牛墩镇",parent:441900,lon:113.66263830413,lat:23.061598763352},{id:441900128,name:"中堂镇",parent:441900,lon:113.66393529738,lat:23.098649541505},{id:441900129,name:"高埗镇",parent:441900,lon:113.75235767092,lat:23.097244208669},{id:441900401,name:"松山湖管委会",parent:441900,lon:113.90498400265,lat:22.929023833476},{id:441900402,name:"虎门港管委会",parent:441900,lon:113.5974063853,lat:22.87760055556},{id:441900403,name:"东莞生态园",parent:441900,lon:113.93401286467,lat:23.06893955376},{id:442000001,name:"石岐区街道办事处",parent:442e3,lon:113.39476330111,lat:22.543405990677},{id:442000002,name:"东区街道办事处",parent:442e3,lon:113.4220600208,lat:22.545177514513},{id:442000003,name:"火炬开发区街道办事处",parent:442e3,lon:113.47638423802,lat:22.54191612433},{id:442000004,name:"西区街道办事处",parent:442e3,lon:113.36301785094,lat:22.524075818178},{id:442000005,name:"南区街道办事处",parent:442e3,lon:113.37678191523,lat:22.503167561223},{id:442000006,name:"五桂山街道办事处",parent:442e3,lon:113.40930659782,lat:22.451434375841},{id:442000100,name:"小榄镇",parent:442e3,lon:113.25710031734,lat:22.668653892986},{id:442000101,name:"黄圃镇",parent:442e3,lon:113.34579765142,lat:22.716774199156},{id:442000102,name:"民众镇",parent:442e3,lon:113.50009575036,lat:22.627523677586},{id:442000103,name:"东凤镇",parent:442e3,lon:113.26390219773,lat:22.708252148345},{id:442000104,name:"东升镇",parent:442e3,lon:113.29799140513,lat:22.628979044198},{id:442000105,name:"古镇镇",parent:442e3,lon:113.19699907493,lat:22.61867275523},{id:442000106,name:"沙溪镇",parent:442e3,lon:113.32782880229,lat:22.514758626025},{id:442000107,name:"坦洲镇",parent:442e3,lon:113.47430653463,lat:22.260588179755},{id:442000108,name:"港口镇",parent:442e3,lon:113.39153101373,lat:22.591755080708},{id:442000109,name:"三角镇",parent:442e3,lon:113.42447628565,lat:22.682488953575},{id:442000110,name:"横栏镇",parent:442e3,lon:113.24834255727,lat:22.574461443704},{id:442000111,name:"南头镇",parent:442e3,lon:113.29828270584,lat:22.723520491884},{id:442000112,name:"阜沙镇",parent:442e3,lon:113.35641695563,lat:22.672921927334},{id:442000113,name:"南朗镇",parent:442e3,lon:113.53783552043,lat:22.504952068383},{id:442000114,name:"三乡镇",parent:442e3,lon:113.44797569368,lat:22.363791945407},{id:442000115,name:"板芙镇",parent:442e3,lon:113.3288721509,lat:22.422651529649},{id:442000116,name:"大涌镇",parent:442e3,lon:113.30718743409,lat:22.471242810046},{id:442000117,name:"神湾镇",parent:442e3,lon:113.3702758154,lat:22.308297939473},{id:460400100,name:"那大镇",parent:460400,lon:109.552961497,lat:19.52127763772},{id:460400101,name:"和庆镇",parent:460400,lon:109.64738779153,lat:19.531275426074},{id:460400102,name:"南丰镇",parent:460400,lon:109.56235340507,lat:19.415717747276},{id:460400103,name:"大成镇",parent:460400,lon:109.40607236409,lat:19.513907807686},{id:460400104,name:"雅星镇",parent:460400,lon:109.27567597122,lat:19.449779604127},{id:460400105,name:"兰洋镇",parent:460400,lon:109.67367138789,lat:19.466430878427},{id:460400106,name:"光村镇",parent:460400,lon:109.48786919371,lat:19.823919412162},{id:460400107,name:"木棠镇",parent:460400,lon:109.35673473687,lat:19.809926770596},{id:460400108,name:"海头镇",parent:460400,lon:108.95966166166,lat:19.509695855917},{id:460400109,name:"峨蔓镇",parent:460400,lon:109.27331128257,lat:19.860383433642},{id:460400110,name:"三都镇",parent:460400,lon:109.22582623889,lat:19.793150845121},{id:460400111,name:"王五镇",parent:460400,lon:109.30218328967,lat:19.659803263052},{id:460400112,name:"白马井镇",parent:460400,lon:109.33458619886,lat:19.574787798597},{id:460400113,name:"中和镇",parent:460400,lon:109.35613533713,lat:19.749465537088},{id:460400114,name:"排浦镇",parent:460400,lon:109.16975400269,lat:19.644673698003},{id:460400115,name:"东成镇",parent:460400,lon:109.4680333127,lat:19.709924104042},{id:460400116,name:"新州镇",parent:460400,lon:109.32260133284,lat:19.720234743232},{id:460400400,name:"国营西培农场",parent:460400,lon:109.4599938961,lat:19.483502718426},{id:460400404,name:"国营西联农场",parent:460400,lon:109.57014071402,lat:19.574664060327},{id:460400405,name:"国营蓝洋农场",parent:460400,lon:109.68307796619,lat:19.463516627749},{id:460400407,name:"国营八一农场",parent:460400,lon:109.31617355538,lat:19.460913902693},{id:460400499,name:"洋浦经济开发区",parent:460400,lon:109.19229656623,lat:19.775218244804},{id:460400500,name:"华南热作学院",parent:460400,lon:109.33458619886,lat:19.574787798597},{id:620201100,name:"新城镇",parent:620201,lon:98.458266361225,lat:39.880279868432},{id:620201101,name:"峪泉镇",parent:620201,lon:98.23795042668,lat:39.813928611238},{id:620201102,name:"文殊镇",parent:620201,lon:98.384821213543,lat:39.700128295254},{id:620201401,name:"雄关区",parent:620201,lon:98.281634585257,lat:39.802397326734},{id:620201402,name:"镜铁区",parent:620201,lon:98.281634585257,lat:39.802397326734},{id:620201403,name:"长城区",parent:620201,lon:98.404752795538,lat:39.914711003026}]},"./app/assets/json/slideSettings/chart.json":function(e,t){e.exports={name:"chart",title:"图表",params:[{name:"size",title:"图表尺寸",items:[{name:"width",title:"宽度(像素)",component:"inputnumber",default:200},{name:"height",title:"高度(像素)",component:"inputnumber",default:120}]},{name:"position",title:"图表位置",items:[{name:"positionX",title:"x轴位置(像素)",component:"inputnumber"},{name:"positionY",title:"y轴位置(像素)",component:"inputnumber"}]},{name:"background",title:"背景",items:[{name:"backgroundColor",title:"背景颜色",component:"colorPicker",default:[255,255,255]},{name:"opacity",title:"透明度",component:"inputnumber",default:100,min:0,max:100}]},{name:"border",title:"边框",items:[{name:"borderColor",title:"边框颜色",component:"colorPicker",default:[0,0,0]},{name:"borderWidth",title:"边框粗细",component:"inputnumber",default:1},{name:"borderStyle",title:"边框样式",component:"select",values:[{name:"实线",value:"solid"},{name:"虚线",value:"dashed"},{name:"点线",value:"dotted"},{name:"双框",value:"double"}],default:"solid"},{name:"borderRadius",title:"圆角半径",component:"inputnumber",default:0}]},{name:"dataRefresh",title:"数据刷新",items:[{name:"polling",title:"模式",component:"select",values:[{name:"手动刷新",value:"false"},{name:"定时刷新",value:"true"}],default:"false"},{name:"frequency",title:"时长",component:"inputnumber",default:"60",min:1,placeholder:"秒"}]}]}},"./app/assets/json/slideSettings/label.json":function(e,t){e.exports={name:"label",title:"标签",params:[{name:"size",title:"矩形尺寸",items:[{name:"width",title:"宽度(像素)",component:"inputnumber",default:200},{name:"height",title:"高度(像素)",component:"inputnumber",default:120}]},{name:"position",title:"标签位置",items:[{name:"positionX",title:"x轴位置(像素)",component:"inputnumber"},{name:"positionY",title:"y轴位置(像素)",component:"inputnumber"}]},{name:"content",title:"文本",items:[{name:"contentText",tip:"输入文本",title:"文本内容",component:"input",default:"",labelCol:6,wrapperCol:24}]},{name:"font",title:"文字",items:[{name:"fontFamily",title:"字体",component:"select",values:[{name:"默认",value:""},{name:"微软雅黑",value:"Microsoft Yahei"},{name:"宋体",value:"SimSun"},{name:"黑体",value:"Heiti"},{name:"华文细黑",value:"STXihei"},{name:"Verdana",value:"Verdana"},{name:"Arial",value:"Arial"},{name:"Times New Roman",value:"Times New Roman"},{name:"Times",value:"Times"},{name:"MS Sans Serif",value:"MS Sans Serif"}],default:""},{name:"fontColor",title:"字体颜色",component:"colorPicker",default:[0,0,0]},{name:"fontSize",title:"字体大小(像素)",component:"inputnumber",default:40},{name:"textAlign",title:"对齐方式",component:"select",values:[{name:"左对齐",value:"left"},{name:"右对齐",value:"right"},{name:"居中",value:"center"},{name:"两端对齐",value:"justify"}],default:"justify"},{name:"textStyle",title:"样式",component:"checkbox",values:[{label:"粗体",value:"bold"},{label:"斜体",value:"italic"},{label:"下划线",value:"underline"}],default:[]},{name:"lineHeight",title:"行高(像素)",component:"inputnumber",default:40},{name:"textIndent",title:"首行缩进(像素)",component:"inputnumber",default:0}]},{name:"padding",title:"内边距(像素)",items:[{name:"paddingTop",tip:"px",title:"上",component:"inputnumber",default:0,span:12},{name:"paddingBottom",tip:"px",title:"下",component:"inputnumber",default:0,span:12},{name:"paddingLeft",tip:"px",title:"左",component:"inputnumber",default:0,span:12},{name:"paddingRight",tip:"px",title:"右",component:"inputnumber",default:0,span:12}]},{name:"background",title:"背景",items:[{name:"backgroundColor",title:"背景颜色",component:"colorPicker",default:[255,255,255],span:12},{name:"opacity",tip:"0-100",title:"透明度",component:"inputnumber",default:100,min:0,max:100,span:12}]},{name:"border",title:"边框",items:[{name:"borderColor",title:"边框颜色",component:"colorPicker",default:[0,0,0]},{name:"borderWidth",title:"边框粗细(像素)",component:"inputnumber",default:1},{name:"borderStyle",title:"边框样式",component:"select",values:[{name:"实线",value:"solid"},{name:"虚线",value:"dashed"},{name:"点线",value:"dotted"},{name:"双框",value:"double"}],default:"solid"},{name:"borderRadius",tip:"px",title:"圆角半径(像素)",component:"inputnumber",default:0}]}]}},"./app/assets/json/slideSettings/rectangle.json":function(e,t){e.exports={name:"rectangle",title:"矩形",params:[{name:"size",title:"矩形尺寸",items:[{name:"width",title:"宽度(像素)",component:"inputnumber",default:200},{name:"height",title:"高度(像素)",component:"inputnumber",default:120}]},{name:"position",title:"矩形位置",items:[{name:"positionX",title:"x轴位置(像素)",component:"inputnumber"},{name:"positionY",title:"y轴位置(像素)",component:"inputnumber"}]},{name:"background",title:"背景颜色",items:[{name:"backgroundColor",title:"颜色",component:"colorPicker",default:[255,255,255]},{name:"opacity",tip:"0-100",title:"透明度",component:"inputnumber",default:100,min:0,max:100}]},{name:"backgroundImage",title:"图片",items:[{name:"backgroundImage",title:"背景图片",component:"upload",action:"slide/widget/{id}/bgImage",accept:"image/*",autoUpdate:!0,labelCol:6,wrapperCol:24},{name:"backgroundSize",title:"大小",component:"select",values:[{name:"自动",value:"auto"},{name:"包含",value:"contain"},{name:"铺满",value:"cover"}],default:"auto"},{name:"backgroundRepeat",title:"重复",component:"select",values:[{name:"x轴y轴重复",value:"repeat"},{name:"x轴重复",value:"repeat-x"},{name:"y轴重复",value:"repeat-y"},{name:"不重复",value:"no-repeat"}],default:"repeat"}]},{name:"border",title:"边框",items:[{name:"borderColor",title:"边框颜色",component:"colorPicker",default:[0,0,0]},{name:"borderWidth",title:"边框粗细",component:"inputnumber",default:1},{name:"borderStyle",title:"边框样式",component:"select",values:[{name:"实线",value:"solid"},{name:"虚线",value:"dashed"},{name:"点线",value:"dotted"},{name:"双框",value:"double"}],default:"solid"},{name:"borderRadius",tip:"",title:"圆角半径",component:"inputnumber",default:0}]}]}},"./app/assets/json/slideSettings/slide.json":function(e,t){e.exports={name:"slide",title:"背景设置",params:[{name:"slideSize",title:"屏幕尺寸",items:[{name:"width",title:"宽度(像素)",component:"inputnumber",default:1920},{name:"height",title:"高度(像素)",component:"inputnumber",default:1080}]},{name:"background",title:"背景颜色",items:[{name:"backgroundColor",title:"背景颜色",component:"colorPicker",default:[255,255,255]},{name:"opacity",title:"透明度",component:"inputnumber",default:50,min:0,max:100}]},{name:"scale",title:"缩放",items:[{name:"scaleMode",title:"缩放方式",component:"radio",values:[{name:"等比缩放宽度",value:"scaleWidth"},{name:"等比缩放高度",value:"scaleHeight"},{name:"全屏铺满",value:"scaleFull"},{name:"实际尺寸",value:"noScale"}],default:"scaleWidth"}]},{name:"image",title:"图片",items:[{name:"backgroundImage",title:"背景图片",component:"upload",action:"slide/{id}/upload/bgImage",accept:"image/*",autoUpdate:!0,labelCol:6,wrapperCol:24}]}]}},"./app/assets/less/style.less":function(e,t,n){var o=n("./node_modules/css-loader/index.js?modules&importLoaders=1!./node_modules/postcss-loader/index.js!./node_modules/less-loader/lib/loader.js!./app/assets/less/style.less");"string"==typeof o&&(o=[[e.i,o,""]]);var a={};a.transform=void 0;n("./node_modules/style-loader/lib/addStyles.js")(o,a);o.locals&&(e.exports=o.locals)},"./app/assets/less/util.less":function(e,t,n){var o=n("./node_modules/css-loader/index.js?modules&importLoaders=1!./node_modules/postcss-loader/index.js!./node_modules/less-loader/lib/loader.js!./app/assets/less/util.less");"string"==typeof o&&(o=[[e.i,o,""]]);var a={};a.transform=void 0;n("./node_modules/style-loader/lib/addStyles.js")(o,a);o.locals&&(e.exports=o.locals)},"./app/assets/override/antd.css":function(e,t,n){var o=n("./node_modules/css-loader/index.js!./node_modules/postcss-loader/index.js!./app/assets/override/antd.css");"string"==typeof o&&(o=[[e.i,o,""]]);var a={};a.transform=void 0;n("./node_modules/style-loader/lib/addStyles.js")(o,a);o.locals&&(e.exports=o.locals)},"./app/assets/override/datepicker.css":function(e,t,n){var o=n("./node_modules/css-loader/index.js!./node_modules/postcss-loader/index.js!./app/assets/override/datepicker.css");"string"==typeof o&&(o=[[e.i,o,""]]);var a={};a.transform=void 0;n("./node_modules/style-loader/lib/addStyles.js")(o,a);o.locals&&(e.exports=o.locals)},"./app/assets/override/react-grid.css":function(e,t,n){var o=n("./node_modules/css-loader/index.js!./node_modules/postcss-loader/index.js!./app/assets/override/react-grid.css");"string"==typeof o&&(o=[[e.i,o,""]]);var a={};a.transform=void 0;n("./node_modules/style-loader/lib/addStyles.js")(o,a);o.locals&&(e.exports=o.locals)},"./app/components/Container/Body.tsx":function(e,t,n){"use strict";function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=function(){function e(e,t){for(var n=0;n"},a.createElement(i.Item,{onClick:t(!1,-1),key:"dhall"},"返回"),n&&n.length?n.map(function(e,n){return a.createElement(i.Item,{onClick:t(e,n),key:"dh"+n},e.name,a.createElement(r,{type:"down"===e.type?"arrow-down":"arrow-up"}))}):"")}Object.defineProperty(t,"__esModule",{value:!0});var a=n("./node_modules/react/react.js"),r=n("./node_modules/antd/lib/icon/index.js"),i=n("./node_modules/antd/lib/breadcrumb/index.js");t.DataDrillHistory=o,t.default=o},"./app/components/DataDrill/Panel.tsx":function(e,t,n){"use strict";function o(e){function t(e){var t=e.key;o&&o(t)}var n=e.categoriesCol,o=e.onDataDrill,i=e.currentData,s=[],l=[];return i&&i.length&&(s=n.filter(function(e){var t=void 0;return Object.keys(i[0]).some(function(n){if(t=e.name!==n,e.name===n)return!0}),t}).map(function(e){return Object.assign({},e,{drillType:"down"})}),l=Object.keys(i[0]).filter(function(e){var t=void 0;return n.every(function(n){if(t=e===n.name,e!==n.name)return!0}),t}).map(function(e){return{name:e,type:"category",visualType:"string",drillType:"up"}})),a.createElement(r,{onClick:t,style:{width:120},mode:"vertical"},a.createElement(r.SubMenu,{key:"sub2",disabled:l.length<2,title:a.createElement("span",{style:{fontSize:"14px"},className:"iconfont icon-iconxiazuan1"},a.createElement("span",{style:{marginLeft:"8px"}},"上卷"))},l?l.map(function(e){return a.createElement(r.Item,{key:e.name},e.name)}):""),a.createElement(r.SubMenu,{key:"sub1",disabled:s.length<1,title:a.createElement("span",{style:{fontSize:"14px"},className:"iconfont icon-iconxiazuan"},a.createElement("span",{style:{marginLeft:"8px"}},"下钻"))},s?s.map(function(e){return a.createElement(r.Item,{key:e.name},e.name)}):""))}Object.defineProperty(t,"__esModule",{value:!0});var a=n("./node_modules/react/react.js"),r=(n("./node_modules/antd/lib/icon/index.js"),n("./node_modules/antd/lib/menu/index.js"));t.DataDrill=o,t.default=o},"./app/components/DownloadCsv/index.tsx":function(e,t,n){"use strict";function o(e){var t=e.shareInfoLoading,n=e.downloadCsvLoading,o=t||n?"loading":"download";return r.createElement(i,{type:o,onClick:a(e)})}function a(e){return function(){var t=e.id,n=e.type,o=e.itemId,a=e.shareInfo,r=e.onLoadDashboardShareLink,i=e.onLoadWidgetShareLink,s=e.onDownloadCsv;if(a)s();else switch(n){case"dashboard":r(t,"");break;case"widget":i(t,o,"",function(){s()})}}}Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/react/react.js"),i=n("./node_modules/antd/lib/icon/index.js");t.DownloadCsv=o,t.default=o},"./app/components/Filters/FilterControl.tsx":function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n0&&s.push({name:r,value:a.map(function(t){return e.getValidValue(t,i)}).join(",")});break;case c.FilterTypes.CascadeSelect:break;case c.FilterTypes.InputDate:a&&s.push({name:r,value:"'"+u.default(a).format("YYYY-MM-DD")+"'"});break;case c.FilterTypes.MultiDate:a&&s.push({name:r,value:a.split(",").map(function(e){return"'"+e+"'"}).join(",")});break;case c.FilterTypes.DateRange:if(a.length){var l;(l=s).push.apply(l,o(a.map(function(e){return{name:r,value:"'"+u.default(e).format("YYYY-MM-DD")+"'"}})))}break;case c.FilterTypes.Datetime:a&&s.push({name:r,value:"'"+u.default(a).format("YYYY-MM-DD HH:mm:ss")+"'"});break;case c.FilterTypes.DatetimeRange:if(a.length){var d;(d=s).push.apply(d,o(a.map(function(e){return{name:r,value:"'"+u.default(e).format("YYYY-MM-DD HH:mm:ss")+"'"}})))}break;default:var p=a.target.value.trim();p&&s.push({name:r,value:e.getValidValue(p,i)})}return s},e.getModelValue=function(t,n,o,a){var r=n.key,i=n.sqlType,s=[];switch(t){case c.FilterTypes.InputText:case c.FilterTypes.InputNumber:case c.FilterTypes.Select:void 0!==a&&s.push(r+" "+o+" "+e.getValidValue(a,i));break;case c.FilterTypes.NumberRange:""===a[0]||isNaN(a[0])||s.push(r+" >= "+e.getValidValue(a[0],i)),""===a[1]||isNaN(a[1])||s.push(r+" <= "+e.getValidValue(a[1],i));break;case c.FilterTypes.MultiSelect:a.length&&a.length>0&&s.push(r+" "+o+" ("+a.map(function(t){return e.getValidValue(t,i)}).join(",")+")");break;case c.FilterTypes.CascadeSelect:break;case c.FilterTypes.InputDate:a&&s.push(r+" "+o+" "+e.getValidValue(u.default(a).format("YYYY-MM-DD"),i));break;case c.FilterTypes.MultiDate:a&&s.push(r+" "+o+" ("+a.split(",").map(function(t){return e.getValidValue(t,i)}).join(",")+")");break;case c.FilterTypes.DateRange:a.length&&(s.push(r+" >= "+e.getValidValue(u.default(a[0]).format("YYYY-MM-DD"),i)),s.push(r+" <= "+e.getValidValue(u.default(a[1]).format("YYYY-MM-DD"),i)));break;case c.FilterTypes.Datetime:a&&s.push(r+" "+o+" "+e.getValidValue(u.default(a).format("YYYY-MM-DD HH:mm:ss"),i));break;case c.FilterTypes.DatetimeRange:a.length&&(s.push(r+" >= "+e.getValidValue(u.default(a[0]).format("YYYY-MM-DD HH:mm:ss"),i)),s.push(r+" <= "+e.getValidValue(u.default(a[1]).format("YYYY-MM-DD HH:mm:ss"),i)));break;default:var l=a.target.value.trim();l&&s.push(r+" "+o+" "+e.getValidValue(l,i))}return s},e.getValidValue=function(e,t){return p.SQL_NUMBER_TYPES.indexOf(t)>=0?e:"'"+e+"'"},e}return i(t,e),l(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.filters,o=t.onGetOptions,a=t.filterOptions,r=t.form;return d.createElement(g,{className:b.filterPanel},d.createElement(f,{gutter:8},n.map(function(t){return d.createElement(h,{xl:3,lg:4,md:6,sm:12,key:t.key},d.createElement(m.default,{filter:t,onGetOptions:o,currentOptions:a[t.key]||{},formToAppend:r,onChange:e.change}))})))}}]),t}(d.Component);t.FilterPanel=_,t.default=g.create()(_)},"./app/components/Filters/filter.less":function(e,t,n){var o=n("./node_modules/css-loader/index.js?modules&importLoaders=1!./node_modules/postcss-loader/index.js!./node_modules/less-loader/lib/loader.js!./app/components/Filters/filter.less");"string"==typeof o&&(o=[[e.i,o,""]]);var a={};a.transform=void 0;n("./node_modules/style-loader/lib/addStyles.js")(o,a);o.locals&&(e.exports=o.locals)},"./app/components/Filters/filterTypes.ts":function(e,t,n){"use strict";function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a,r,i;Object.defineProperty(t,"__esModule",{value:!0});var s,l=n("./app/components/Filters/operatorTypes.ts");!function(e){e.InputText="inputText",e.InputNumber="inputNumber",e.NumberRange="NumberRange",e.Select="select",e.MultiSelect="multiSelect",e.CascadeSelect="cascadeSelect",e.InputDate="inputDate",e.MultiDate="multiDate",e.DateRange="dateRange",e.Datetime="datetime",e.DatetimeRange="datetimeRange"}(s=t.FilterTypes||(t.FilterTypes={})),t.FilterTypeList=[s.InputText,s.InputNumber,s.NumberRange,s.Select,s.MultiSelect,s.InputDate,s.MultiDate,s.DateRange,s.Datetime,s.DatetimeRange],t.FilterTypesLocale=(a={},o(a,s.InputText,"文本输入框"),o(a,s.InputNumber,"数字输入框"),o(a,s.NumberRange,"数字范围输入框"),o(a,s.Select,"单选下拉菜单"),o(a,s.MultiSelect,"多选下拉菜单"),o(a,s.CascadeSelect,"级联下拉菜单"),o(a,s.InputDate,"日期选择"),o(a,s.MultiDate,"日期多选"),o(a,s.DateRange,"日期范围选择"),o(a,s.Datetime,"日期时间选择"),o(a,s.DatetimeRange,"日期时间范围选择"),a),t.FilterTypesViewSetting=(r={},o(r,s.InputText,!1),o(r,s.InputNumber,!1),o(r,s.NumberRange,!1),o(r,s.Select,!0),o(r,s.MultiSelect,!0),o(r,s.CascadeSelect,!0),o(r,s.InputDate,!1),o(r,s.MultiDate,!1),o(r,s.DateRange,!1),o(r,s.Datetime,!1),o(r,s.DatetimeRange,!1),r),t.FilterTypesOperatorSetting=(i={},o(i,s.InputText,[l.default.Equal,l.default.NotEqual]),o(i,s.InputNumber,[l.default.LessThan,l.default.LessThanOrEqual,l.default.GreaterThan,l.default.GreaterThanOrEqual]),o(i,s.NumberRange,[]),o(i,s.Select,[l.default.Equal,l.default.NotEqual]),o(i,s.MultiSelect,[l.default.In,l.default.NotIn]),o(i,s.InputDate,[l.default.LessThan,l.default.LessThanOrEqual,l.default.GreaterThan,l.default.GreaterThanOrEqual]),o(i,s.MultiDate,[l.default.In,l.default.NotIn]),o(i,s.DateRange,[]),o(i,s.Datetime,[l.default.LessThan,l.default.LessThanOrEqual,l.default.GreaterThan,l.default.GreaterThanOrEqual]),o(i,s.DatetimeRange,[]),i),t.default=s},"./app/components/Filters/operatorTypes.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o;!function(e){e.Equal="=",e.NotEqual="!=",e.Contain="like",e.NotContain="not like",e.In="in",e.NotIn="not in",e.LessThan="<",e.GreaterThan=">",e.LessThanOrEqual="<=",e.GreaterThanOrEqual=">="}(o=t.OperatorTypes||(t.OperatorTypes={})),t.default=o},"./app/components/Linkages/index.ts":function(e,t,n){"use strict";function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n={};return t.length<=0?n:(t.forEach(function(t){var o=t.trigger,a=t.linkager,r=t.relation,i=+o[0],d=a[0];if(e===i){var u=o[1].split(l.DEFAULT_SPLITER),c=s(u,3),p=c[0],m=c[1],f=c[2],h=a[1].split(l.DEFAULT_SPLITER),g=s(h,3),b=g[0],_=g[1],v=g[2];n[d]||(n[d]=[]),n[d].push({triggerKey:p,triggerSqlType:m,triggerType:f,linkagerKey:b,linkagerSqlType:_,linkagerType:v,relation:r})}}),n)}function r(e,t,n,a){return Object.keys(n).forEach(function(r){var i=n[+r],s=[],d=[];i.forEach(function(e){var n=e.triggerKey,o=e.triggerSqlType,a=(e.triggerType,e.linkagerKey),r=(e.linkagerSqlType,e.linkagerType),i=e.relation,u=l.SQL_NUMBER_TYPES.indexOf(o)>=0?t[0][n]:"'"+t[0][n]+"'";"parameter"===r?s.push(a+" "+i+" "+u):"variable"===r&&d.push({name:a,value:u})});var u=a[r];if(u){var c=u.filters,p=u.params;u.filters=s.length>0?Object.assign({},c,o({},e,s)):c,u.params=d.length>0?Object.assign({},p,o({},e,d)):p}else a[r]={filters:s.length>0?o({},e,s):{},params:d.length>0?o({},e,s):{}}}),a}function i(e,t,n){var o=[];return t.length<=0?o:(t.forEach(function(t){var a=t.trigger,r=t.linkager,i=+a[0],s=+r[0];e===i&&n[s]&&["filters","params"].forEach(function(t){n[s][t][e]&&(delete n[s][t][e],o.indexOf(s)<0&&o.push(s))})}),o)}var s=function(){function e(e,t){var n=[],o=!0,a=!1,r=void 0;try{for(var i,s=e[Symbol.iterator]();!(o=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);o=!0);}catch(e){a=!0,r=e}finally{try{!o&&s.return&&s.return()}finally{if(a)throw r}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();Object.defineProperty(t,"__esModule",{value:!0});var l=n("./app/globalConstants.ts");t.getMappingLinkage=a,t.processLinkage=r,t.removeLinkage=i},"./app/components/MultiDatePicker/MultiDatePicker.less":function(e,t,n){var o=n("./node_modules/css-loader/index.js?modules&importLoaders=1!./node_modules/postcss-loader/index.js!./node_modules/less-loader/lib/loader.js!./app/components/MultiDatePicker/MultiDatePicker.less");"string"==typeof o&&(o=[[e.i,o,""]]);var a={};a.transform=void 0;n("./node_modules/style-loader/lib/addStyles.js")(o,a);o.locals&&(e.exports=o.locals)},"./app/components/MultiDatePicker/index.js":function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"MultiDatePicker",function(){return v});var i=n("./node_modules/react/react.js"),s=n.n(i),l=n("./node_modules/prop-types/index.js"),d=(n.n(l),n("./node_modules/jquery/dist/jquery.js")),u=n.n(d),c=n("./node_modules/moment/src/moment.js"),p=n("./node_modules/bootstrap-datepicker/dist/js/bootstrap-datepicker.js"),m=(n.n(p),n("./node_modules/antd/lib/icon/index.js")),f=n.n(m),h=n("./app/components/MultiDatePicker/MultiDatePicker.less"),g=n.n(h),b=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:l,t=arguments[1],n=t.type,o=t.payload,s=e.get("bizlogics");switch(n){case a.LOAD_BIZLOGICS:return e.set("tableLoading",!0);case a.LOAD_BIZLOGICS_SUCCESS:return e.set("bizlogics",o.bizlogics).set("tableLoading",!1);case a.ADD_BIZLOGIC:return e.set("modalLoading",!0);case a.ADD_BIZLOGIC_SUCCESS:return e.set("bizlogics",[o.result]).set("modalLoading",!1);case a.ADD_BIZLOGIC_FAILURE:return e.set("modalLoading",!1);case a.DELETE_BIZLOGIC:return e;case a.DELETE_BIZLOGIC_SUCCESS:return e.set("bizlogics",s.filter(function(e){return e.id!==o.id}));case a.DELETE_BIZLOGIC_FAILURE:return e;case a.EDIT_BIZLOGIC:return e.set("modalLoading",!0);case a.EDIT_BIZLOGIC_SUCCESS:return s.splice(s.findIndex(function(e){return e.id===o.result.id}),1,o.result),e.set("bizlogics",s.slice()).set("modalLoading",!1);case a.EDIT_BIZLOGIC_FAILURE:return e.set("modalLoading",!1);case a.LOAD_SCHEMA:case a.LOAD_SCHEMA_SUCCESS:case a.LOAD_SCHEMA_FAILURE:return e;case a.EXECUTE_SQL:return e.set("executeLoading",!0);case a.EXECUTE_SQL_SUCCESS:var d=o.result;d.code,d.msg;return e.set("executeLoading",!1).set("sqlValidateMessage",void 0).set("sqlValidateCode",200);case a.EXECUTE_SQL_FAILURE:return e.set("executeLoading",!1).set("sqlValidateMessage",o.error.response.data.header.msg).set("sqlValidateCode",1);case a.LOAD_VIEW_TEAM:return e;case a.LOAD_VIEW_TEAM_SUCCESS:return e.set("viewTeam",o.result);case a.LOAD_VIEW_TEAM_FAILURE:return e;case r.LOAD_DASHBOARD_DETAIL_SUCCESS:case i.ActionTypes.LOAD_DISPLAY_DETAIL_SUCCESS:return e.set("bizlogics",o.bizlogics);default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n("./app/containers/Bizlogic/constants.ts"),r=n("./app/containers/Dashboard/constants.ts"),i=n("./app/containers/Display/constants.ts"),s=n("./node_modules/immutable/dist/immutable.js"),l=s.fromJS({bizlogics:null,sqlValidateCode:!1,sqlValidateMessage:!1,tableLoading:!1,modalLoading:!1,schemaData:[],viewTeam:[]});t.default=o},"./app/containers/Dashboard/Dashboard.less":function(e,t,n){var o=n("./node_modules/css-loader/index.js?modules&importLoaders=1!./node_modules/postcss-loader/index.js!./node_modules/less-loader/lib/loader.js!./app/containers/Dashboard/Dashboard.less");"string"==typeof o&&(o=[[e.i,o,""]]);var a={};a.transform=void 0;n("./node_modules/style-loader/lib/addStyles.js")(o,a);o.locals&&(e.exports=o.locals)},"./app/containers/Dashboard/components/DashboardFilterPanel.tsx":function(e,t,n){"use strict";function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=function(){function e(e,t){for(var n=0;n=0})),e});n.setState({filters:r})},n.state={filters:[]},n}return i(t,e),s(t,[{key:"componentWillReceiveProps",value:function(e){var t=e.currentDashboard,n=e.currentItems;t===this.props.currentDashboard&&n===this.props.currentItems||this.adjustGlobalFilterTableSource(t,n)}},{key:"render",value:function(){var e=this.props,t=e.onGetOptions,n=e.filterOptions,a=e.onChange,r=this.state.filters,i=d(o({},p.hide,!r.length));return l.createElement(u,{className:i},l.createElement(c,{span:24},l.createElement(m.default,{filters:r,onGetOptions:t,filterOptions:n,onChange:a})))}}]),t}(l.Component);t.DashboardFilterPanel=f,t.default=f},"./app/containers/Dashboard/components/DashboardItem.tsx":function(e,t,n){"use strict";function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){return c.createElement("span",e,e.children)}var l=Object.assign||function(e){for(var t=1;t0&&(i={top:o[o.length-1][1]+120+"px",left:o[o.length-2][1]-40+"px"}),a&&a.length&&(s=a),r&&r.length&&(l=r),n.setState({dataDrillPanelPosition:i,whichDataDrillBrushed:s,sourceDataOfBrushed:l})}catch(e){throw e}},n.drillDataHistory=function(e,t,o,a){var r=n.props,i=r.onSelectDrillHistory,s=r.drillHistory,l=n.state,d=l.widgetProps,u=l.cacheWidgetProps;if(i){var c=void 0;c=e?s[t].groups:[],"col"===d.dimetionAxis?n.setState({widgetProps:Object.assign({},d,{cols:c&&c.length?c:u.cols})}):n.setState({widgetProps:Object.assign({},d,{rows:c&&c.length?c:u.rows})}),i(e,t,o,a)}},n.drillData=function(e){var t=n.props,o=t.onDrillData,a=t.widget,r=t.itemId,i=(t.drillHistory,n.state),s=i.widgetProps,l=i.cacheWidgetProps;if(o&&o({itemId:r,widgetId:a.id,groups:e,filters:n.state.whichDataDrillBrushed,sourceDataFilter:n.state.sourceDataOfBrushed}),"col"===s.dimetionAxis){var d=s.cols.some(function(t){return t===e});n.setState({widgetProps:Object.assign({},s,{cols:e&&e.length?d?s.cols.filter(function(t){return t!==e}):s.cols.concat(e):l.cols})})}else{var u=s.rows.some(function(t){return t===e});n.setState({widgetProps:Object.assign({},s,{rows:e&&e.length?u?s.rows.filter(function(t){return t!==e}):s.rows.concat(e):l.rows})})}},n.state={controlPanelVisible:!1,sharePanelAuthorized:!1,widgetProps:null,model:null,isDrilling:!1,dataDrillPanelPosition:!1,whichDataDrillBrushed:!1,sourceDataOfBrushed:!1,cacheWidgetProps:null},n}return i(t,e),u(t,[{key:"componentWillMount",value:function(){var e=this.props,t=e.itemId,n=e.widget,o=e.view,a=e.onGetChartData;"share"===e.container&&(a("clear",t,n.id),this.setFrequent(this.props));var r=JSON.parse(n.config);this.setState({widgetProps:r,model:JSON.parse(o.model),cacheWidgetProps:Object.assign({},r)})}},{key:"componentWillReceiveProps",value:function(e){e.widget!==this.props.widget&&this.setState({widgetProps:JSON.parse(e.widget.config),model:JSON.parse(e.view.model)})}},{key:"componentWillUpdate",value:function(e){var t=e.itemId,n=e.widget,o=e.polling,a=e.onGetChartData,r=e.rendered;e.container||!this.props.rendered&&r&&(a("clear",t,n.id),this.setFrequent(this.props)),o!==this.props.polling&&this.setFrequent(e)}},{key:"componentWillUnmount",value:function(){clearInterval(this.frequent)}},{key:"render",value:function(){var e,t,n,a=this,r=this.props,i=r.itemId,u=r.widget,P=r.data,I=r.loading,R=r.interacting,N=r.shareInfo,z=r.secretInfo,F=r.drillHistory,Y=r.shareInfoLoading,H=r.downloadCsvLoading,V=r.renderType,W=r.currentProject,q=r.onShowEdit,B=(r.onSelectDrillHistory,r.onDeleteDashboardItem),U=r.onLoadWidgetShareLink,G=r.container,K=this.state,Z=K.controlPanelVisible,J=K.sharePanelAuthorized,X=K.widgetProps,Q=K.isDrilling,$=K.model,ee=void 0,te=void 0,ne=void 0,oe=void 0;if(W){var ae=E.default(W,"download")(b.default);ee=c.createElement(j,{title:"下载数据"},c.createElement(ae,{id:u.id,type:"widget",itemId:i,shareInfo:N,shareInfoLoading:Y,downloadCsvLoading:H,onLoadWidgetShareLink:U,onDownloadCsv:this.downloadCsv}));var re=E.default(W,"download")(x);te=c.createElement(j,{title:"分享"},c.createElement(k,{placement:"bottomRight",trigger:"click",content:c.createElement(g.default,{id:u.id,type:"widget",itemId:i,shareInfo:N,secretInfo:z,shareInfoLoading:Y,authorized:J,onLoadWidgetShareLink:U,afterAuthorization:this.changeSharePanelAuthorizeState(!0)})},c.createElement(re,{type:"share-alt",onClick:this.changeSharePanelAuthorizeState(!1)}))),ne=c.createElement(j,{title:"编辑widget"},c.createElement("i",{className:"iconfont icon-edit-2",onClick:this.toWorkbench}))}if("share"===G)ee=c.createElement(j,{title:"下载数据"},c.createElement(b.default,{id:u.id,type:"widget",itemId:i,shareInfo:N,downloadCsvLoading:H,onLoadWidgetShareLink:U,onDownloadCsv:this.downloadCsv}));else{var ie=T.default(W,"viz",!1)(s),se=T.default(W,"viz",!0)(s),le=c.createElement(S,null,c.createElement(S.Item,{className:C.menuItem},c.createElement(ie,{className:C.menuText,onClick:q(i)},"基本信息")),c.createElement(S.Item,{className:C.menuItem},c.createElement(w,{title:"确定删除?",placement:"bottom",onConfirm:B(i)},c.createElement(se,{className:C.menuText},"删除"))));oe=c.createElement(M,{overlay:le,placement:"bottomRight",trigger:["click"]},D)}var de=X.queryParams.filter(function(e){return e.type}),ue=de.length?c.createElement(j,{title:"选择参数"},c.createElement(x,{className:C.control,type:Z?"up-square-o":"down-square-o",onClick:this.toggleControlPanel})):"",ce=u.desc?c.createElement(k,{placement:"bottom",content:c.createElement("p",{className:C.descPanel},u.desc)},c.createElement(x,{className:C.desc,type:"question-circle-o"})):"",pe={enter:C.controlPanelEnter,enterActive:C.controlPanelEnterActive,leave:C.controlPanelLeave,leaveActive:C.controlPanelLeaveActive},me=c.createElement(j,{title:"钻取"},c.createElement("span",{style:{marginLeft:"8px",cursor:"pointer",color:Q?"#000":"#ccc"},onClick:this.doDrill,className:"iconfont icon-iconxiazuan"})),fe=m((e={},o(e,C.gridItem,!0),o(e,C.interact,R),e)),he=!1;this.state.whichDataDrillBrushed&&this.state.whichDataDrillBrushed.forEach(function(e,t){e[t]&&e[t].length>0&&(he=!0)});var ge=[];Object.entries($).forEach(function(e){var t=d(e,2),n=t[0],o=t[1];"category"===o.modelType&&ge.push({name:n,type:"category",visualType:o.visualType})});var be=m((t={},o(t,C.dataDrillPanel,!0),o(t,O.hide,!he),t)),_e={};this.state.dataDrillPanelPosition&&(_e=this.state.dataDrillPanelPosition);var ve=c.createElement("div",{className:be,style:_e},c.createElement(_.default,{categoriesCol:ge,onDataDrill:this.drillData,currentData:P})),ye=m((n={},o(n,C.dataDrillHistory,!0),o(n,O.hide,!(F&&F.length>0)),n)),xe=c.createElement("div",{className:ye},c.createElement(v.default,{itemId:i,widgetId:u.id,drillHistory:F,onSelectDrillHistory:this.drillDataHistory}));return c.createElement("div",{className:fe,ref:function(e){return a.container=e}},c.createElement("div",{className:C.header},c.createElement("div",{className:C.title},ue,c.createElement("h4",null,u.name),ce),c.createElement("div",{className:C.tools},c.createElement(j,{title:"同步数据"},c.createElement(x,{type:I?"loading":"reload",onClick:this.onSyncBizdatas})),ne,c.createElement(j,{title:"全屏"},c.createElement(x,{type:"arrows-alt",onClick:this.onFullScreen,className:C.fullScreen})),te,me,ee,oe)),c.createElement("div",{className:C.offInteract,onClick:this.turnOffInteract},L,A),c.createElement(p,{showProp:"show",transitionName:pe},c.createElement(f.default,{show:Z,onClose:this.toggleControlPanel},c.createElement(h.default,{controls:de,onSearch:this.onControlSearch,onHide:this.toggleControlPanel}))),c.createElement("div",{className:C.block},c.createElement(y.default,l({},X,{renderType:I?"refresh":V,data:P,loading:I,model:$,onCheckTableInteract:this.checkTableInteract,onDoInteract:this.doInteract,getDataDrillDetail:this.getDataDrillDetail,isDrilling:this.state.isDrilling})),ve,xe))}}]),t}(c.PureComponent);P.defaultProps={onShowEdit:function(){},onDeleteDashboardItem:function(){}},t.DashboardItem=P,t.default=P},"./app/containers/Dashboard/components/DashboardItemControlForm.tsx":function(e,t,n){"use strict";function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=function(){function e(e,t){for(var n=0;n=0){var i=n.split("_");a=t.find(function(e){return e.id===i[1]}).sub.find(function(e){return e.id===i[2]})}else a=t.find(function(e){return e.id===n});if(a.type=a.variableType||a.type,"[object Array]"===Object.prototype.toString.call(o))switch(a.type){case"dateRange":o=o.map(function(e){return e.format("YYYY-MM-DD")}),e=e.concat({name:a.variables[0],value:"'"+o[0]+"'"}).concat({name:a.variables[1],value:"'"+o[1]+"'"});break;case"datetimeRange":o=o.map(function(e){return e.format("YYYY-MM-DD HH:mm:ss")}),e=e.concat({name:a.variables[0],value:"'"+o[0]+"'"}).concat({name:a.variables[1],value:"'"+o[1]+"'"});break;case"multiSelect":o.length&&(e=e.concat({name:a.variables[0],value:o.map(function(e){return""+e}).join(",")}))}else if(o)if(a.variables[0])switch(a.type){case"date":o=o.format("YYYY-MM-DD"),e=e.concat({name:a.variables[0],value:"'"+o+"'"});break;case"datetime":o=o.format("YYYY-MM-DD HH:mm:ss"),e=e.concat({name:a.variables[0],value:"'"+o+"'"});break;case"multiDate":e=e.concat({name:a.variables[0],value:o.split(",").map(function(e){return"'"+e+"'"}).join(",")});break;case"select":e=e.concat({name:a.variables[0],value:""+o});break;default:e=e.concat({name:a.variables[0],value:"'"+o+"'"})}else if("select"===a.type&&"no"===a.hasRelatedComponent){var s=a.sub.find(function(e){return e.value===o});s.variables[0]&&(e=e.concat({name:s.variables[0],value:"'"+o+"'"}))}return e},[])}),a()},n.state={parentSelValues:null},n}return i(t,e),s(t,[{key:"componentWillMount",value:function(){this.getStateValues(this.props.controls)}},{key:"componentWillReceiveProps",value:function(e){e.controls.map(function(e){return e.id}).join(",")!==this.props.controls.map(function(e){return e.id}).join(",")&&this.getStateValues(e.controls)}},{key:"render",value:function(){var e=this,t=this.props.controls,n=t.map(function(t){return e.generateFormComponent(t)});return l.createElement(u,{className:x.controlForm},l.createElement(g,{gutter:10},n),l.createElement(g,{className:x.buttonRow},l.createElement(b,{span:24},l.createElement(h,{type:"primary",onClick:this.onControlSearch},"查询"))))}}]),t}(l.PureComponent);t.DashboardItemControlForm=w,t.default=u.create()(w)},"./app/containers/Dashboard/components/DashboardItemControlPanel.tsx":function(e,t,n){"use strict";function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){var t,n,a=s((t={},o(t,l.controlPanel,!0),o(t,l.show,e.show),t)),d=s((n={},o(n,l.form,!0),o(n,l.show,e.show),n));return i.createElement("div",{className:a,onClick:e.onClose},i.createElement("div",{className:d,onClick:r},e.children))}function r(e){e.stopPropagation()}Object.defineProperty(t,"__esModule",{value:!0});var i=n("./node_modules/react/react.js"),s=n("./node_modules/classnames/index.js"),l=n("./app/containers/Dashboard/Dashboard.less");t.DashboardItemControlPanel=a,t.default=a},"./app/containers/Dashboard/components/fullScreenPanel/FullScreenPanel.tsx":function(e,t,n){"use strict";function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=Object.assign||function(e){for(var t=1;t0){var R=w;O=R.widget.name,D=R.renderType,L=k[R.itemId];var N=JSON.parse(w.widget.config);E="echarts"!==D?d.createElement(f.default,s({},N,{renderType:"rerender",data:L&&L.datasource?L.datasource:[],model:w.model})):d.createElement("div",{style:{width:"100%",height:"100%"},id:"fsChartsWrapper"})}var z=void 0;if(w&&w.widget&&w.widget.query_params){var F=w.widget.query_params;z=!!JSON.parse(F).length}var Y=w&&w.widget&&w.widget.query_params?JSON.parse(w.widget.query_params).filter(function(e){return e.type}):[],H=p((a={},o(a,h.modalPanel,!0),o(a,h.displayNone,!y),a)),V=p((r={},o(r,h.controlPanel,!0),o(r,h.displayNone,!y),o(r,h.showModalPanel,y),o(r,h.hideModalPanel,!y),r));return d.createElement("div",{className:T},d.createElement("div",{className:h.container},d.createElement("nav",{className:h.header},d.createElement("div",{className:h.logo},d.createElement(u,{type:this.state.isShowMenu?"menu-fold":"menu-unfold",onClick:this.isShowSideMenu,style:{marginRight:"32px"}}),d.createElement("span",null,O)),d.createElement("ul",{className:h.tools},z?d.createElement("li",{onClick:this.toggleControlPanel},d.createElement(u,{type:y?"up-square-o":"down-square-o"}),g):"",b,d.createElement("li",{onClick:this.hide},_,v))),d.createElement("div",{className:h.body},d.createElement("div",{className:A},C),d.createElement("div",{className:H}),d.createElement("div",{className:V},d.createElement("div",{className:h.formPanel},d.createElement(m.default,{controls:Y,onSearch:this.onControlSearch,onHide:this.toggleControlPanel}))),d.createElement("div",{className:P},E))))}}]),t}(d.PureComponent);t.default=y},"./app/containers/Dashboard/components/fullScreenPanel/fullScreenPanel.less":function(e,t,n){var o=n("./node_modules/css-loader/index.js?modules&importLoaders=1!./node_modules/postcss-loader/index.js!./node_modules/less-loader/lib/loader.js!./app/containers/Dashboard/components/fullScreenPanel/fullScreenPanel.less");"string"==typeof o&&(o=[[e.i,o,""]]);var a={};a.transform=void 0;n("./node_modules/style-loader/lib/addStyles.js")(o,a);o.locals&&(e.exports=o.locals)},"./app/containers/Dashboard/constants.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LOAD_DASHBOARDS="davinci/Dashboard/LOAD_DASHBOARDS",t.LOAD_DASHBOARDS_SUCCESS="davinci/Dashboard/LOAD_DASHBOARDS_SUCCESS",t.LOAD_DASHBOARDS_FAILURE="davinci/Dashboard/LOAD_DASHBOARDS_FAILURE",t.ADD_DASHBOARD="davinci/Dashboard/ADD_DASHBOARD",t.ADD_DASHBOARD_SUCCESS="davinci/Dashboard/ADD_DASHBOARD_SUCCESS",t.ADD_DASHBOARD_FAILURE="davinci/Dashboard/ADD_DASHBOARD_FAILURE",t.EDIT_DASHBOARD="davinci/Dashboard/EDIT_DASHBOARD",t.EDIT_DASHBOARD_SUCCESS="davinci/Dashboard/EDIT_DASHBOARD_SUCCESS",t.EDIT_DASHBOARD_FAILURE="davinci/Dashboard/EDIT_DASHBOARD_FAILURE",t.EDIT_CURRENT_DASHBOARD="davinci/Dashboard/EDIT_CURRENT_DASHBOARD",t.EDIT_CURRENT_DASHBOARD_SUCCESS="davinci/Dashboard/EDIT_CURRENT_DASHBOARD_SUCCESS",t.EDIT_CURRENT_DASHBOARD_FAILURE="davinci/Dashboard/EDIT_CURRENT_DASHBOARD_FAILURE",t.DELETE_DASHBOARD="davinci/Dashboard/DELETE_DASHBOARD",t.DELETE_DASHBOARD_SUCCESS="davinci/Dashboard/DELETE_DASHBOARD_SUCCESS",t.DELETE_DASHBOARD_FAILURE="davinci/Dashboard/DELETE_DASHBOARD_FAILURE",t.LOAD_DASHBOARD_DETAIL="davinci/Dashboard/LOAD_DASHBOARD_DETAIL",t.LOAD_DASHBOARD_DETAIL_SUCCESS="davinci/Dashboard/LOAD_DASHBOARD_DETAIL_SUCCESS",t.LOAD_DASHBOARD_DETAIL_FAILURE="davinci/Dashboard/LOAD_DASHBOARD_DETAIL_FAILURE",t.ADD_DASHBOARD_ITEM="davinci/Dashboard/ADD_DASHBOARD_ITEM",t.ADD_DASHBOARD_ITEM_SUCCESS="davinci/Dashboard/ADD_DASHBOARD_ITEM_SUCCESS",t.ADD_DASHBOARD_ITEM_FAILURE="davinci/Dashboard/ADD_DASHBOARD_ITEM_FAILURE",t.EDIT_DASHBOARD_ITEM="davinci/Dashboard/EDIT_DASHBOARD_ITEM",t.EDIT_DASHBOARD_ITEM_SUCCESS="davinci/Dashboard/EDIT_DASHBOARD_ITEM_SUCCESS",t.EDIT_DASHBOARD_ITEM_FAILURE="davinci/Dashboard/EDIT_DASHBOARD_ITEM_FAILURE",t.EDIT_DASHBOARD_ITEMS="davinci/Dashboard/EDIT_DASHBOARD_ITEMS",t.EDIT_DASHBOARD_ITEMS_SUCCESS="davinci/Dashboard/EDIT_DASHBOARD_ITEMS_SUCCESS",t.EDIT_DASHBOARD_ITEMS_FAILURE="davinci/Dashboard/EDIT_DASHBOARD_ITEMS_FAILURE",t.DELETE_DASHBOARD_ITEM="davinci/Dashboard/DELETE_DASHBOARD_ITEM",t.DELETE_DASHBOARD_ITEM_SUCCESS="davinci/Dashboard/DELETE_DASHBOARD_ITEM_SUCCESS",t.DELETE_DASHBOARD_ITEM_FAILURE="davinci/Dashboard/DELETE_DASHBOARD_ITEM_FAILURE",t.CLEAR_CURRENT_DASHBOARD="davinci/Dashboard/CLEAR_CURRENT_DASHBOARD",t.LOAD_DASHBOARD_SHARE_LINK="davinci/Dashboard/LOAD_DASHBOARD_SHARE_LINK",t.LOAD_DASHBOARD_SHARE_LINK_SUCCESS="davinci/Dashboard/LOAD_DASHBOARD_SHARE_LINK_SUCCESS",t.LOAD_DASHBOARD_SHARE_LINK_FAILURE="davinci/Dashboard/LOAD_DASHBOARD_SHARE_LINK_FAILURE",t.LOAD_DASHBOARD_SECRET_LINK_SUCCESS="davinci/Dashboard/LOAD_DASHBOARD_SECRET_LINK_SUCCESS",t.LOAD_WIDGET_SHARE_LINK="davinci/Dashboard/LOAD_WIDGET_SHARE_LINK",t.LOAD_WIDGET_SHARE_LINK_SUCCESS="davinci/Dashboard/LOAD_WIDGET_SHARE_LINK_SUCCESS",t.LOAD_WIDGET_SHARE_LINK_FAILURE="davinci/Dashboard/LOAD_WIDGET_SHARE_LINK_FAILURE",t.LOAD_WIDGET_SECRET_LINK_SUCCESS="davinci/Dashboard/LOAD_WIDGET_SECRET_LINK_SUCCESS",t.LOAD_WIDGET_CSV="davinci/Dashboard/LOAD_WIDGET_CSV",t.LOAD_WIDGET_CSV_SUCCESS="davinci/Dashboard/LOAD_WIDGET_CSV_SUCCESS",t.LOAD_WIDGET_CSV_FAILURE="davinci/Dashboard/LOAD_WIDGET_CSV_FAILURE",t.RENDER_DASHBOARDITEM="davinci/Dashboard/RENDER_DASHBOARDITEM",t.RESIZE_DASHBOARDITEM="davinci/Dashboard/RESIZE_DASHBOARDITEM",t.RESIZE_ALL_DASHBOARDITEM="davinci/Dashboard/RESIZE_ALL_DASHBOARDITEM",t.DRILL_DASHBOARDITEM="davinci/Dashboard/DRILL_DASHBOARDITEM",t.DELETE_DRILL_HISTORY="davinci/Dashboard/DELETE_DRILL_HISTORY"},"./app/containers/Display/Display.less":function(e,t,n){var o=n("./node_modules/css-loader/index.js?modules&importLoaders=1!./node_modules/postcss-loader/index.js!./node_modules/less-loader/lib/loader.js!./app/containers/Display/Display.less");"string"==typeof o&&(o=[[e.i,o,""]]);var a={};a.transform=void 0;n("./node_modules/style-loader/lib/addStyles.js")(o,a);o.locals&&(e.exports=o.locals)},"./app/containers/Display/components/LayerItem.tsx":function(e,t,n){"use strict";function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=function(){function e(e,t){var n=[],o=!0,a=!1,r=void 0;try{for(var i,s=e[Symbol.iterator]();!(o=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);o=!0);}catch(e){a=!0,r=e}finally{try{!o&&s.return&&s.return()}finally{if(a)throw r}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),l=Object.assign||function(e){for(var t=1;t-1?"bold":"normal",c.fontStyle=b.indexOf("italic")>-1?"italic":"normal",c.textDecoration=b.indexOf("underline")>-1?"underline":"none"),u.createElement("div",{ref:function(e){return n.refLayer=e},className:d,style:c,onClick:n.onClickLayer},n.wrapLayerTooltip(u.createElement("p",{style:T},a.contentText)))},n.wrapLayerTooltip=function(e){var t=n.props,o=t.resizing,a=t.dragging;if(!o&&!a)return e;var r=n.state,i=r.layerParams,l=r.layerTooltipPosition,d=i.positionX,c=i.positionY,p=i.width,f=i.height,h=o?"宽度:"+p+"px,高度:"+f+"px":a?"x:"+d+"px,y:"+c+"px":"",g=o||a,b=s(l,2),_=b[0],v=b[1],y={top:_,left:v};return u.createElement(m,{title:h,overlayStyle:y,placement:"right",visible:g},e)};var i=n.props.layer,d=JSON.parse(i.params);return n.state={layerParams:d,layerTooltipPosition:[0,0],mousePos:[-1,-1],widgetProps:null,model:null},n}return i(t,e),d(t,[{key:"componentWillMount",value:function(){var e=this.props,t=e.widget,n=e.view;t&&this.setState({widgetProps:JSON.parse(t.config),model:JSON.parse(n.model)})}},{key:"componentDidMount",value:function(){var e=this.props,t=e.itemId,n=e.layer,o=e.widget,a=e.onGetChartData;n.type===h.GraphTypes.Chart&&(a("clear",t,o.id),this.setFrequent(this.props))}},{key:"componentWillReceiveProps",value:function(e){if(this.props.layer.params!==e.layer.params){var t=JSON.parse(e.layer.params);this.setState({layerParams:t})}this.props.widget!==e.widget&&this.setState({widgetProps:JSON.parse(e.widget.config),model:e.view&&JSON.parse(e.view.model)})}},{key:"componentWillUpdate",value:function(e){var t=e.polling;e.layer.type===h.GraphTypes.Chart&&t!==this.props.polling&&this.setFrequent(e)}},{key:"componentDidUpdate",value:function(){var e=c.findDOMNode(this.refLayer).getBoundingClientRect(),t=e.top,n=e.height,o=e.right,a=s(this.state.layerTooltipPosition,2),r=a[0],i=a[1],l=t+n/2,d=o;r===l&&i===d||this.setState({layerTooltipPosition:[l,d]})}},{key:"componentWillUnmount",value:function(){clearInterval(this.frequent)}},{key:"render",value:function(){var e=this.props,t=e.pure,n=e.scale,o=e.slideParams,a=e.layer,r=this.state.layerParams,i=r.positionX,s=r.positionY,l=r.width,d=r.height,c={x:i,y:s},p=this.renderLayer(a);if(t)return p;var m=[o.width-c.x,o.height-c.y];return u.createElement(f.default,{grid:[1,1],bounds:"parent",scale:Math.min(n[0],n[1]),onStart:this.dragOnStart,onStop:this.dragOnStop,onDrag:this.onDrag,handle:"."+_.layer,position:c},u.createElement(b,{width:l,height:d,onResize:this.onResize,onResizeStop:this.onResizeStop,draggableOpts:{grid:[1,1]},minConstraints:[50,50],maxConstraints:m,handleSize:[20,20],scale:Math.min(n[0],n[1])},p))}}]),t}(u.PureComponent);t.LayerItem=v,t.default=v},"./app/containers/Display/components/util.ts":function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);tt.adjust[0]?t:e},null),[].concat(o(v.horizontal),o(y.horizontal)).reduce(function(e,t){return!e||e.adjust[1]>t.adjust[1]?t:e},null)].filter(function(e){return!!e})}function s(e,t,n,o,a,r,i,s){var l=a.width,d=a.height,u=(e+t)/2,c=(n+o)/2,p=[],m=[];return b.some(function(e){for(var t=1;tMath.abs(w))&&f.push({top:Math.min(_,n),right:d-x-h.DEFAULT_BASELINE_THICKNESS/i,bottom:u-Math.max(_+y,o),left:x,adjust:[w,0],adjustType:s}),Math.abs(k)Math.abs(k))&&g.push({top:p,right:d-Math.max(b+v,t),bottom:u-p-h.DEFAULT_BASELINE_THICKNESS/i,left:Math.min(b,e),adjust:[0,k],adjustType:s})}),{vertical:f,horizontal:g}}var d;Object.defineProperty(t,"__esModule",{value:!0});var u,c=n("./app/assets/json/slideSettings/slide.json"),p=n("./app/assets/json/slideSettings/chart.json"),m=n("./app/assets/json/slideSettings/rectangle.json"),f=n("./app/assets/json/slideSettings/label.json"),h=n("./app/globalConstants.ts");!function(e){e[e.Rectangle=20]="Rectangle",e[e.Label=21]="Label"}(u=t.SecondaryGraphTypes||(t.SecondaryGraphTypes={}));var g;!function(e){e[e.Slide=0]="Slide",e[e.Chart=1]="Chart",e[e.Secondary=2]="Secondary"}(g=t.GraphTypes||(t.GraphTypes={}));!function(e){e[e.Asc=0]="Asc",e[e.Desc=1]="Desc"}(t.OrderDirection||(t.OrderDirection={})),t.slideSettings=(d={},a(d,g.Slide,c),a(d,g.Chart,p),a(d,u.Rectangle,m),a(d,u.Label,f),d),t.getDefaultSlideParams=r;var b=[4,3,2];t.computeEditorBaselines=i},"./app/containers/Display/constants.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});!function(e){e.LOAD_DISPLAYS="davinci/Display/LOAD_DISPLAYS",e.LOAD_DISPLAYS_SUCCESS="davinci/Display/LOAD_DISPLAYS_SUCCESS",e.LOAD_DISPLAYS_FAILURE="davinci/Display/LOAD_DISPLAYS_FAILURE",e.ADD_DISPLAY="davinci/Display/ADD_DISPLAY",e.ADD_DISPLAY_SUCCESS="davinci/Display/ADD_DISPLAY_SUCCESS",e.ADD_DISPLAY_FAILURE="davinci/Display/ADD_DISPLAY_FAILURE",e.EDIT_DISPLAY="davinci/Display/EDIT_DISPLAY",e.EDIT_DISPLAY_SUCCESS="davinci/Display/EDIT_DISPLAY_SUCCESS",e.EDIT_DISPLAY_FAILURE="davinci/Display/EDIT_DISPLAY_FAILURE",e.EDIT_CURRENT_DISPLAY="davinci/Display/EDIT_CURRENT_DISPLAY",e.EDIT_CURRENT_DISPLAY_SUCCESS="davinci/Display/EDIT_CURRENT_DISPLAY_SUCCESS",e.EDIT_CURRENT_DISPLAY_FAILURE="davinci/Display/EDIT_CURRENT_DISPLAY_FAILURE",e.EDIT_CURRENT_SLIDE="davinci/Display/EDIT_CURRENT_SLIDE",e.EDIT_CURRENT_SLIDE_SUCCESS="davinci/Display/EDIT_CURRENT_SLIDE_SUCCESS",e.EDIT_CURRENT_SLIDE_FAILURE="davinci/Display/EDIT_CURRENT_SLIDE_FAILURE",e.UPLOAD_CURRENT_SLIDE_COVER="davinci/Display/UPLOAD_CURRENT_SLIDE_COVER",e.UPLOAD_CURRENT_SLIDE_COVER_SUCCESS="davinci/Display/UPLOAD_CURRENT_SLIDE_COVER_SUCCESS",e.UPLOAD_CURRENT_SLIDE_COVER_FAILURE="davinci/Display/UPLOAD_CURRENT_SLIDE_COVER_FAILURE",e.DELETE_DISPLAY="davinci/Display/DELETE_DISPLAY",e.DELETE_DISPLAY_SUCCESS="davinci/Display/DELETE_DISPLAY_SUCCESS",e.DELETE_DISPLAY_FAILURE="davinci/Display/DELETE_DISPLAY_FAILURE",e.LOAD_DISPLAY_DETAIL="davinci/Display/LOAD_DISPLAY_DETAIL",e.LOAD_DISPLAY_DETAIL_SUCCESS="davinci/Display/LOAD_DISPLAY_DETAIL_SUCCESS",e.LOAD_DISPLAY_DETAIL_FAILURE="davinci/Display/LOAD_DISPLAY_DETAIL_FAILURE",e.ADD_DISPLAY_LAYERS="davinci/Display/ADD_DISPLAY_LAYERS",e.ADD_DISPLAY_LAYERS_SUCCESS="davinci/Display/ADD_DISPLAY_LAYERS_SUCCESS",e.ADD_DISPLAY_LAYERS_FAILURE="davinci/Display/ADD_DISPLAY_LAYERS_FAILURE",e.EDIT_DISPLAY_LAYERS="davinci/Display/EDIT_DISPLAY_LAYERS",e.EDIT_DISPLAY_LAYERS_SUCCESS="davinci/Display/EDIT_DISPLAY_LAYERS_SUCCESS",e.EDIT_DISPLAY_LAYERS_FAILURE="davinci/Display/EDIT_DISPLAY_LAYERS_FAILURE",e.DELETE_DISPLAY_LAYERS="davinci/Display/DELETE_DISPLAY_LAYERS",e.DELETE_DISPLAY_LAYERS_SUCCESS="davinci/Display/DELETE_DISPLAY_LAYERS_SUCCESS",e.DELETE_DISPLAY_LAYERS_FAILURE="davinci/Display/DELETE_DISPLAY_LAYERS_FAILURE",e.DRAG_SELECT_LAYER="davinci/Display/DRAG_SELECT_LAYER",e.RESIZE_LAYERS="davinci/Display/RESIZE_LAYERS",e.SELECT_LAYER="davinci/Display/SELECT_LAYER",e.CLEAR_LAYERS_SELECTION="davinci/Display/CLEAR_LAYERS_SELECTION",e.TOGGLE_LAYERS_RESIZING_STATUS="davinci/Display/TOGGLE_LAYERS_RESIZING_STATUS",e.TOGGLE_LAYERS_DRAGGING_STATUS="davinci/Display/TOGGLE_LAYERS_DRAGGING_STATUS",e.SHOW_EDITOR_BASELINES="davinci/Display/SHOW_EDITOR_BASELINES",e.CLEAR_EDITOR_BASELINES="davinci/Display/CLEAR_EDITOR_BASELINES",e.COPY_SLIDE_LAYERS="davinci/Display/COPY_SLIDE_LAYERS",e.PASTE_SLIDE_LAYERS="davinci/Display/PASTE_SLIDE_LAYERS",e.PASTE_SLIDE_LAYERS_SUCCESS="davinci/Display/PASTE_SLIDE_LAYERS_SUCCESS",e.PASTE_SLIDE_LAYERS_FAILURE="davinci/Display/PASTE_SLIDE_LAYERS_FAILURE",e.UNDO_OPERATION="davinci/Display/UNDO_OPERATION",e.UNDO_OPERATION_SUCCESS="davinci/Display/UNDO_OPERATION_SUCCESS",e.UNDO_OPERATION_FAILURE="davinci/Display/UNDO_OPERATION_FAILURE",e.REDO_OPERATION="davinci/Display/REDO_OPERATION",e.REDO_OPERATION_SUCCESS="davinci/Display/REDO_OPERATION_SUCCESS",e.REDO_OPERATION_FAILURE="davinci/Display/REDO_OPERATION_FAILURE",e.LOAD_DISPLAY_SHARE_LINK="davinci/Display/LOAD_DISPLAY_SHARE_LINK",e.LOAD_DISPLAY_SHARE_LINK_SUCCESS="davinci/Display/LOAD_DISPLAY_SHARE_LINK_SUCCESS",e.LOAD_DISPLAY_SECRET_LINK_SUCCESS="davinci/Display/LOAD_DISPLAY_SECRET_LINK_SUCCESS",e.LOAD_DISPLAY_SHARE_LINK_FAILURE="davinci/Display/LOAD_DISPLAY_SHARE_LINK_FAILURE"}(t.ActionTypes||(t.ActionTypes={}))},"./app/containers/LanguageProvider/constants.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CHANGE_LOCALE="app/LanguageToggle/CHANGE_LOCALE"},"./app/containers/LanguageProvider/index.tsx":function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:s,t=arguments[1];switch(t.type){case r.CHANGE_LOCALE:return e.set("locale",t.locale);default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n("./node_modules/immutable/dist/immutable.js"),r=n("./app/containers/LanguageProvider/constants.ts"),i=n("./app/containers/App/constants.ts"),s=a.fromJS({locale:i.DEFAULT_LOCALE});t.default=o},"./app/containers/LanguageProvider/selectors.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/reselect/es/index.js"),a=function(e){return e.get("language")};t.selectLanguage=a;var r=function(){return o.createSelector(a,function(e){return e.get("locale")})};t.makeSelectLocale=r},"./app/containers/Login/Login.less":function(e,t,n){var o=n("./node_modules/css-loader/index.js?modules&importLoaders=1!./node_modules/postcss-loader/index.js!./node_modules/less-loader/lib/loader.js!./app/containers/Login/Login.less");"string"==typeof o&&(o=[[e.i,o,""]]);var a={};a.transform=void 0;n("./node_modules/style-loader/lib/addStyles.js")(o,a);o.locals&&(e.exports=o.locals)},"./app/containers/Login/LoginForm.tsx":function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:i,t=arguments[1];t.payload;switch(t.type){case a.LOAD_SIDEBAR:return e.set("sidebar",t.sidebar);default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n("./app/containers/Report/constants.ts"),r=n("./node_modules/immutable/dist/immutable.js"),i=r.fromJS({sidebar:!1,currentProject:!1});t.default=o},"./app/containers/Widget/charts/area.ts":function(e,t,n){"use strict";function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t,n){var a=t.groups,s=n.xAxis,l=n.metrics,d=n.groups,u=n.xAxisInterval,c=n.xAxisRotate,p=n.dataZoomThreshold,m=n.smooth,f=n.step,h=n.stack,g=n.symbol,b=n.hasLegend,_=n.legendSelected,v=n.legendPosition,y=n.toolbox,x=n.splitLineX,j=n.splitLineY,w=n.splitLineStyle,k=n.splitLineWidth,M=n.top,S=n.bottom,T=n.left,E=n.right,C=n.suffixYAxis,O=void 0,D=void 0,L=void 0,A=void 0,P=void 0,I=void 0,R=void 0,N=void 0,z=void 0,F=void 0,Y=void 0,H=void 0;H=C&&C.length?{axisLabel:{formatter:"{value} "+C}}:null,R=g&&g.length?{symbol:"emptyCircle"}:{symbol:"none"},A=m&&m.length?{smooth:!0}:null,P=f&&f.length?{step:!0}:null,I=h&&h.length?{stack:"stack"}:null;var V=[];a&&d&&d.length&&(V=i(e,s),O=r(e,[].concat(d).filter(function(e){return!!e}),s,l,V));var W=[];l&&(l.forEach(function(t){if(a&&d&&d.length)Object.keys(O).forEach(function(e){var n=Object.assign({name:e+" "+t,type:"line",areaStyle:{normal:{}},sampling:"average",data:O[e].map(function(e){return e[t]})},R,A,P,I);W.push(n)});else{var n=Object.assign({name:t,type:"line",areaStyle:{normal:{}},sampling:"average",symbol:R,data:e.map(function(e){return e[t]})},R,A,P);W.push(n)}}),D={series:W}),L=s&&{xAxis:{data:a&&d&&d.length?V:e.map(function(e){return e[s]}),axisLabel:{interval:u,rotate:c},splitLine:{show:x&&x.length,lineStyle:{width:k,type:w}}}};var q=0,B=0;if(b&&b.length){var U=void 0,G=void 0;switch(v){case"right":U={orient:"vertical"},G={right:8,top:40,bottom:16},B=108;break;case"bottom":U={orient:"horizontal"},G={bottom:16,left:8,right:8},q=72;break;default:U={orient:"horizontal"},G={top:3,left:8,right:120}}var K="unselectAll"===_?{selected:W.reduce(function(e,t){return Object.assign({},e,o({},t.name,!1))},{})}:null;N={legend:Object.assign({data:W.map(function(e){return e.name}),type:"scroll"},U,G,K)}}return z=y&&y.length?{toolbox:{feature:{dataZoom:{yAxisIndex:"none"},restore:{},saveAsImage:{pixelRatio:2}},right:8}}:null,F={grid:{top:M,left:T,right:Math.max(E,B),bottom:Math.max(S,q)}},Y=p>0&&p")}}})},[])}}L=k&&k.length?{axisLabel:{formatter:"{value} "+k}}:null,T={yAxis:Object.assign({type:"value",splitArea:{show:!1},splitLine:{show:b&&b.length,lineStyle:{width:v,type:_}}},L)};var z=0,F=0;if(p&&p.length){var Y=void 0,H=void 0;switch(f){case"right":Y={orient:"vertical"},H={right:8,top:40,bottom:16},F=108;break;case"bottom":Y={orient:"horizontal"},H={bottom:16,left:8,right:8},z=72;break;default:Y={orient:"horizontal"},H={top:3,left:8,right:120}}var V="unselectAll"===m?{selected:l.reduce(function(e,t){return Object.assign({},e,o({},t,!1))},{})}:null;E={legend:Object.assign({data:l,type:"scroll"},Y,H,V)}}return C=h&&h.length?{toolbox:{feature:{dataZoom:{yAxisIndex:"none"},restore:{},saveAsImage:{pixelRatio:2}},right:8}}:null,O={grid:{top:y,left:j,right:Math.max(w,F),bottom:Math.max(x,z)}},D=c>0&&c")}Object.defineProperty(t,"__esModule",{value:!0});var i=n("./node_modules/echarts/extension-src/dataTool/prepareBoxplotData.js");t.default=a},"./app/containers/Widget/charts/confidenceBand.ts":function(e,t,n){"use strict";function o(e,t,n,o){var a=n.xAxis,r=n.metrics,i=n.lower,s=n.upper,l=n.label,d=n.xAxisInterval,u=n.xAxisRotate,c=n.dataZoomThreshold,p=n.smooth,m=n.step,f=n.symbol,h=n.toolbox,g=n.splitLineX,b=n.splitLineY,_=n.splitLineStyle,v=n.splitLineWidth,y=n.top,x=n.bottom,j=n.left,w=n.right,k=n.suffixYAxis,M=void 0,S=void 0,T=void 0,E=void 0,C=void 0,O=void 0,D=void 0,L=void 0,A=void 0,P=void 0,I=-e.reduce(function(e,t){return Math.floor(Math.min(e,+t[i]))},1/0);P={axisLabel:{formatter:function(e){return e-I+" "+(k||"")}}},C=f&&f.length?{symbol:"emptyCircle"}:{symbol:"none"},T=p&&p.length?{smooth:!0}:null,E=m&&m.length?{step:!0}:null,L=l&&l.length?{label:{normal:{show:!0,position:"top"}}}:null;var R=[];if(r){var N=Object.assign({name:r,type:"line",sampling:"average",symbol:C,data:e.map(function(e,t){return t===o?{value:+e[r]+I,lineStyle:{normal:{opacity:1}},itemStyle:{normal:{opacity:1}}}:+e[r]+I}),lineStyle:{normal:{opacity:void 0===o?1:.25}},itemStyle:{normal:{opacity:void 0===o?1:.25}}},C,T,E,L);R.push(N)}var z={type:"line",lineStyle:{normal:{opacity:0}},stack:"confidence-band",symbol:"none"},F=[{name:"L",data:e.map(function(e){return+e[i]+I})},{name:"U",data:e.map(function(e){return+e[s]-e[i]}),areaStyle:{normal:{color:"#ccc"}}}];return F.forEach(function(e){Object.assign(e,z)}),R.push.apply(R,F),M={series:R},S=a&&{xAxis:{data:e.map(function(e){return e[a]}),axisLabel:{interval:d,rotate:u},splitLine:{show:g&&g.length,lineStyle:{width:v,type:_}}}},O=h&&h.length?{toolbox:{feature:{dataZoom:{yAxisIndex:"none"},restore:{},saveAsImage:{pixelRatio:2}},right:8}}:null,D={grid:{top:y,left:j,right:w,bottom:x}},A=c>0&&c"+e[0].value}}},M,S,O,D,A)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o},"./app/containers/Widget/charts/doubleYAxis.ts":function(e,t,n){"use strict";function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t0&&(X=O.map(function(t){return Object.assign({name:t,type:L,data:e.map(function(e){return e[t]})},Y,F("left"))})),D&&D.length>0&&(Q=D.map(function(t){return Object.assign({name:t,type:A,yAxisIndex:1,data:e.map(function(e){return e[t]})},Y,F("right"))}));R={series:[].concat(a(X),a(Q)).map(function(e){return"line"===e.type?Object.assign({},e,J,K,Z):Object.assign({},e)})}}s&&(N={xAxis:[{data:e.map(function(e){return e[s]}),type:"category",axisLabel:{interval:f,rotate:h},splitLine:{show:j&&j.length,lineStyle:{width:M,type:k}}}]});var ae=0,re=0;if(_&&_.length){var ie=void 0,se=void 0;switch(y){case"right":ie={orient:"vertical"},se={right:8,top:40,bottom:16},re=180;break;case"bottom":ie={orient:"horizontal"},se={bottom:16,left:8,right:8},ae=72;break;default:ie={orient:"horizontal"},se={top:3,left:8,right:120}}var le="unselectAll"===v?{selected:R.series.reduce(function(e,t){return Object.assign({},e,o({},t.name,!1))},{})}:null;H={legend:Object.assign({data:R.series.map(function(e){return e.name}),type:"scroll"},ie,se,le)}}return V=x&&x.length?{toolbox:{feature:{dataZoom:{yAxisIndex:"none"},restore:{},saveAsImage:{pixelRatio:2}},right:8}}:null,W={grid:{top:S,left:E,right:Math.max(C,re),bottom:Math.max(T,ae)}},q=b>0&&b3&&(E.axisLine.lineStyle.color=y),v.push(E),h={series:v},g=o&&o.length?{tooltip:{formatter:"{a}
{b} : "+w+"{c}"+k}}:null,b=i&&i.length?{toolbox:{feature:{restore:{},saveAsImage:{pixelRatio:2}},right:8}}:null,Object.assign({},h,g,b)}Object.defineProperty(t,"__esModule",{value:!0});var a="#c23531",r=["#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"];t.default=o},"./app/containers/Widget/charts/graph.ts":function(e,t,n){"use strict";function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t,n,a){var i=n.metrics,s=n.target,l=n.source,d=n.tooltip,u=n.legend,c=n.toolbox,p=n.top,m=n.bottom,f=n.left,h=n.right,g=n.category;g&&g.length||(g=l);var b=void 0,_=void 0,v=void 0,y=void 0,x=void 0,j=void 0,w=void 0,k=[],M=[],S=[],T=[],E=[],C=e.map(function(e){return e[g]});T=C.filter(function(e,t){return C.indexOf(e)===t}).concat(["其他"]),E=T.map(function(t){var n=e.filter(function(e){return e[g]===t});return{key:t,value:n}}),s&&s.length&&l&&l.length&&i&&i.length&&(S=e.map(function(e){return Array.prototype.push.apply(M,[e[l],e[s]]),{value:e[i],source:e[l],target:e[s]}}),E&&E.length&&(E=E.map(function(e){return o({},e.key,e.value.reduce(function(e,t){return e+Number(t[i])},0))}))),M&&M.length&&(M=M.filter(function(e,t){return M.indexOf(e)===t}).map(function(e){return{name:e,category:e}}));var O=E.reduce(function(e,t){return Object.assign({},e,t)},{}),D=Object.keys(O),L=Object.values(O),A=r(Object.values(O));T&&T.length&&M&&M.length&&(M=M.map(function(e,t){var n=void 0,o=void 0,a=void 0;return T.find(function(t){return t===e.category})?(a=D.indexOf(e.category),n=A[a],o=L[a],Object.assign({},e,{symbolSize:n,realValue:o})):Object.assign({},e,{category:"其他",symbolSize:1,realValue:0})})),_={label:{normal:{show:!0,position:"right"}}},j={grid:{top:p,left:f,right:h,bottom:m}},w={animationDurationUpdate:1e3,animationEasingUpdate:"quinticInOut"};var P=Object.assign({type:"graph",layout:"circular",symbolSize:30,roam:!0,focusNodeAdjacency:!0,edgeSymbol:["circle","arrow"],edgeSymbolSize:[4,10],edgeLabel:{normal:{}},circular:{rotateLabel:!0},data:M,links:S,categories:T.map(function(e){return{name:e}}),lineStyle:{normal:{color:"source",opacity:.9,curveness:.3}}},_);return k.push(P),b={series:k},v=d&&d.length?{tooltip:{formatter:function(e){var t=e.data;switch(e.dataType){case"edge":return t.source+" => "+t.target+" : "+t.value;case"node":return t.name+" : "+t.realValue;default:return""}}}}:null,y=u&&u.length?{legend:{data:T,orient:"vertical",left:"left",type:"scroll"}}:null,x=c&&c.length?{toolbox:{feature:{dataView:{readOnly:!1},restore:{},saveAsImage:{}}}}:null,Object.assign({},b,v,y,x,j,w)}function r(e){if(!(e&&Array.isArray(e)&&e.length))return!1;var t=e.reduce(function(e,t){return t>e?t:e},0);return e.map(function(e){var n=60*Number(e)/t;return n<1?1:n})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=a},"./app/containers/Widget/charts/map.ts":function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t"+Object.keys(t.children).map(function(e){return e+":"+t.children[e]+"
"}).join("")}return n}}},_=m&&m.length?{toolbox:{feature:{dataView:{readOnly:!1},restore:{},saveAsImage:{}}}}:null,Object.assign({geo:{map:"china",label:{emphasis:{show:!1}},itemStyle:{normal:{areaColor:"#0000003F",borderColor:"#FFFFFF",borderWidth:1},emphasis:{areaColor:"#00000059"}},roam:!(!p||!p.length)}},f,g,b,_)})}Object.defineProperty(t,"__esModule",{value:!0});var r=n("./app/utils/util.ts"),i=n("./app/globalConstants.ts"),s=void 0;t.default=a},"./app/containers/Widget/charts/mapFile/china.js":function(e,t,n){var o,a,r,i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};!function(s,l){"object"===i(t)&&"string"!=typeof t.nodeName?l(t,n("./node_modules/echarts/lib/echarts.js")):(a=[t,n("./node_modules/echarts/lib/echarts.js")],o=l,void 0!==(r="function"==typeof o?o.apply(t,a):o)&&(e.exports=r))}(0,function(e,t){var n=function(e){"undefined"!=typeof console&&console&&console.error&&console.error(e)};return t?t.registerMap?void t.registerMap("china",{type:"FeatureCollection",features:[{id:"710000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@°Ü¯Û"],["@@ƛĴÕƊÉɼģºðʀ\\ƎsÆNŌÔĚäœnÜƤɊĂǀĆĴžĤNJŨxĚĮǂƺòƌ‚–âÔ®ĮXŦţƸZûЋƕƑGđ¨ĭMó·ęcëƝɉlÝƯֹÅŃ^Ó·śŃNjƏďíåɛGɉ™¿@ăƑŽ¥ĘWǬÏĶŁâ"],["@@\\p|WoYG¿¥I†j@¢"],["@@…¡‰@ˆV^RqˆBbAŒnTXeRz¤Lž«³I"],["@@ÆEE—„kWqë @œ"],["@@fced"]],encodeOffsets:[[[122886,24033]],[[123335,22980]],[[122375,24193]],[[122518,24117]],[[124427,22618]],[[124862,26043]]]},properties:{cp:[121.509062,25.044332],name:"台湾",childNum:6}},{id:"130000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@o~†Z]‚ªr‰ºc_ħ²G¼s`jΟnüsœłNX_“M`ǽÓnUK…Ĝēs¤­©yrý§uģŒc†JŠ›e"],["@@U`Ts¿m‚"],["@@oºƋÄd–eVŽDJj£€J|Ådz•Ft~žKŨ¸IÆv|”‡¢r}膎onb˜}`RÎÄn°ÒdÞ²„^®’lnÐèĄlðӜ×]ªÆ}LiĂ±Ö`^°Ç¶p®đDcœŋ`–ZÔ’¶êqvFƚ†N®ĆTH®¦O’¾ŠIbÐã´BĐɢŴÆíȦp–ĐÞXR€·nndOž¤’OÀĈƒ­Qg˜µFo|gȒęSWb©osx|hYh•gŃfmÖĩnº€T̒Sp›¢dYĤ¶UĈjl’ǐpäìë|³kÛfw²Xjz~ÂqbTŠÑ„ěŨ@|oM‡’zv¢ZrÃVw¬ŧĖ¸fŒ°ÐT€ªqŽs{Sž¯r æÝlNd®²Ğ džiGʂJ™¼lr}~K¨ŸƐÌWö€™ÆŠzRš¤lêmĞL΄’@¡|q]SvK€ÑcwpÏρ†ĿćènĪWlĄkT}ˆJ”¤~ƒÈT„d„™pddʾĬŠ”ŽBVt„EÀ¢ôPĎƗè@~‚k–ü\\rÊĔÖæW_§¼F˜†´©òDòj’ˆYÈrbĞāøŀG{ƀ|¦ðrb|ÀH`pʞkv‚GpuARhÞÆǶgʊTǼƹS£¨¡ù³ŘÍ]¿Ây™ôEP xX¶¹܇O¡“gÚ¡IwÃ鑦ÅB‡Ï|Ç°…N«úmH¯‹âŸDùŽyŜžŲIÄuШDž•¸dɂ‡‚FŸƒ•›Oh‡đ©OŸ›iÃ`ww^ƒÌkŸ‘ÑH«ƇǤŗĺtFu…{Z}Ö@U‡´…ʚLg®¯Oı°ÃwŸ ^˜—€VbÉs‡ˆmA…ê]]w„§›RRl£‡ȭµu¯b{ÍDěïÿȧŽuT£ġƒěŗƃĝ“Q¨fV†Ƌ•ƅn­a@‘³@šď„yýIĹÊKšŭfċŰóŒxV@tˆƯŒJ”]eƒR¾fe|rHA˜|h~Ėƍl§ÏŠlTíb ØoˆÅbbx³^zÃĶš¶Sj®A”yÂhðk`š«P€”ˈµEF†Û¬Y¨Ļrõqi¼‰Wi°§’б´°^[ˆÀ|ĠO@ÆxO\\tŽa\\tĕtû{ġŒȧXýĪÓjùÎRb›š^ΛfK[ݏděYfíÙTyŽuUSyŌŏů@Oi½’éŅ­aVcř§ax¹XŻác‡žWU£ôãºQ¨÷Ñws¥qEH‰Ù|‰›šYQoŕÇyáĂ£MðoťÊ‰P¡mšWO¡€v†{ôvîēÜISpÌhp¨ ‘j†deŔQÖj˜X³à™Ĉ[n`Yp@Už–cM`’RKhŒEbœ”pŞlNut®Etq‚nsÁŠgA‹iú‹oH‡qCX‡”hfgu“~ϋWP½¢G^}¯ÅīGCŸÑ^ãziMáļMTÃƘrMc|O_ž¯Ŏ´|‡morDkO\\mĆJfl@cĢ¬¢aĦtRıҙ¾ùƀ^juųœK­ƒUFy™—Ɲ…›īÛ÷ąV×qƥV¿aȉd³B›qPBm›aËđŻģm“Å®VŠ¹d^K‡KoŸnYg“¯Xhqa”Ldu¥•ÍpDž¡KąÅƒkĝęěhq‡}HyÓ]¹ǧ£…Í÷¿qᵧš™g‘¤o^á¾ZE‡¤i`ij{n•ƒOl»ŸWÝĔįhg›F[¿¡—ßkOüš_‰€ū‹i„DZàUtėGylƒ}ŒÓM}€jpEC~¡FtoQi‘šHkk{Ãmï‚"]],encodeOffsets:[[[119712,40641]],[[121616,39981]],[[116462,37237]]]},properties:{cp:[114.502461,38.045474],name:"河北",childNum:3}},{id:"140000",type:"Feature",geometry:{type:"Polygon",coordinates:["@@Þĩ҃S‰ra}Á€yWix±Üe´lè“ßÓǏok‘ćiµVZģ¡coœ‘TS˹ĪmnÕńe–hZg{gtwªpXaĚThȑp{¶Eh—®RćƑP¿£‘Pmc¸mQÝW•ďȥoÅîɡųAďä³aωJ‘½¥PG­ąSM­™…EÅruµé€‘Yӎ•Ō_d›ĒCo­Èµ]¯_²ÕjāŽK~©ÅØ^ԛkïçămϑk]­±ƒcݯÑÃmQÍ~_a—pm…~ç¡q“ˆu{JÅŧ·Ls}–EyÁÆcI{¤IiCfUc•ƌÃp§]웫vD@¡SÀ‘µM‚ÅwuŽYY‡¡DbÑc¡hƒ×]nkoQdaMç~eD•ÛtT‰©±@¥ù@É¡‰ZcW|WqOJmĩl«ħşvOÓ«IqăV—¥ŸD[mI~Ó¢cehiÍ]Ɠ~ĥqXŠ·eƷœn±“}v•[ěďŽŕ]_‘œ•`‰¹ƒ§ÕōI™o©b­s^}Ét±ū«³p£ÿ·Wµ|¡¥ăFÏs׌¥ŅxŸÊdÒ{ºvĴÎêÌɊ²¶€ü¨|ÞƸµȲ‘LLúÉƎ¤ϊęĔV`„_bª‹S^|ŸdŠzY|dz¥p†ZbÆ£¶ÒK}tĦÔņƠ‚PYzn€ÍvX¶Ěn ĠÔ„zý¦ª˜÷žÑĸَUȌ¸‚dòÜJð´’ìúNM¬ŒXZ´‘¤ŊǸ_tldIš{¦ƀðĠȤ¥NehXnYG‚‡R° ƬDj¬¸|CĞ„Kq‚ºfƐiĺ©ª~ĆOQª ¤@ìǦɌ²æBŒÊ”TœŸ˜ʂōĖ’šĴŞ–ȀœÆÿȄlŤĒö„t”νî¼ĨXhŒ‘˜|ªM¤Ðz"],encodeOffsets:[[116874,41716]]},properties:{cp:[112.549248,37.857014],name:"山西",childNum:1}},{id:"150000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@Č^â£Ăh–šĖMÈÄw‚\\fŦ°W ¢¾luŸD„wŠ\\̀ʉÌÛM…Ā[bӞEn}¶Vc…ê“sƒ–›¯PqƒFB…‰|S•³C|kñ•H‹d‘iÄ¥sˆʼnő…PóÑÑE^‘ÅPpy_YtS™hQ·aHwsOnʼnÚs©iqj›‰€USiº]ïWš‰«gW¡A–R붛ijʕ…Œů`çõh]y»ǃŸǛҤxÒm~zf}pf|ÜroÈzrKÈĵSƧ„ż؜Ġu¦ö"],["@@sKCš…GS|úþX”gp›{ÁX¿Ÿć{ƱȏñZáĔyoÁhA™}ŅĆfdʼn„_¹„Y°ėǩÑ¡H¯¶oMQqð¡Ë™|‘Ñ`ƭŁX½·óۓxğįÅcQ‡ˆ“ƒs«tȋDžF“Ÿù^i‘t«Č¯[›hAi©á¥ÇĚ×l|¹y¯YȵƓ‹ñǙµï‚ċ™Ļ|Dœ™üȭ¶¡˜›oŽäÕG\\ďT¿Òõr¯œŸLguÏYęRƩšɷŌO\\İТæ^Ŋ IJȶȆbÜGŽĝ¬¿ĚVĎgª^íu½jÿĕęjık@Ľƒ]ėl¥Ë‡ĭûÁ„ƒėéV©±ćn©­ȇžÍq¯½•YÃÔʼn“ÉNѝÅÝy¹NqáʅDǡËñ­ƁYÅy̱os§ȋµʽǘǏƬɱà‘ưN¢ƔÊuľýľώȪƺɂļžxœZĈ}ÌʼnŪ˜ĺœŽĭFЛĽ̅ȣͽÒŵìƩÇϋÿȮǡŏçƑůĕ~Ǎ›¼ȳÐUf†dIxÿ\\G ˆzâɏÙOº·pqy£†@ŒŠqþ@Ǟ˽IBäƣzsÂZ†ÁàĻdñ°ŕzéØűzșCìDȐĴĺf®ŽÀľưø@ɜÖÞKĊŇƄ§‚͑těï͡VAġÑÑ»d³öǍÝXĉĕÖ{þĉu¸ËʅğU̎éhɹƆ̗̮ȘNJ֥ड़ࡰţાíϲäʮW¬®ҌeרūȠkɬɻ̼ãüfƠSצɩςåȈHϚÎKdzͲOðÏȆƘ¼CϚǚ࢚˼ФԂ¤ƌžĞ̪Qʤ´¼mȠJˀŸƲÀɠmǐnǔĎȆÞǠN~€ʢĜ‚¶ƌĆĘźʆȬ˪ĚĒ¸ĞGȖƴƀj`ĢçĶāàŃºēĢƒĖćšYŒÀŎüôQÐÂŎŞdžŞêƖš˜oˆDĤÕºÑǘÛˤ³̀gńƘĔÀ^žªƂ`ªt¾äƚêĦĀ¼Ð€Ĕǎ¨Ȕ»͠^ˮÊȦƤøxRrŜH¤¸ÂxDĝŒ|ø˂˜ƮÐ¬ɚwɲFjĔ²Äw°dždÀɞ_ĸdîàŎjʜêTЪŌ‡ŜWÈ|tqĢUB~´°ÎFC•ŽU¼pĀēƄN¦¾O¶ŠłKĊOj“Ě”j´ĜYp˜{¦„ˆSĚÍ\\Tš×ªV–÷Ší¨ÅDK°ßtŇĔKš¨ǵÂcḷ̌ĚǣȄĽF‡lġUĵœŇ‹ȣFʉɁƒMğįʏƶɷØŭOǽ«ƽū¹Ʊő̝Ȩ§ȞʘĖiɜɶʦ}¨֪ࠜ̀ƇǬ¹ǨE˦ĥªÔêFŽxúQ„Er´W„rh¤Ɛ \\talĈDJ˜Ü|[Pll̚¸ƎGú´Pž¬W¦†^¦–H]prR“n|or¾wLVnÇIujkmon£cX^Bh`¥V”„¦U¤¸}€xRj–[^xN[~ªŠxQ„‚[`ªHÆÂExx^wšN¶Ê˜|¨ì†˜€MrœdYp‚oRzNy˜ÀDs~€bcfÌ`L–¾n‹|¾T‚°c¨È¢a‚r¤–`[|òDŞĔöxElÖdH„ÀI`„Ď\\Àì~ƎR¼tf•¦^¢ķ¶e”ÐÚMŒptgj–„ɡČÅyġLû™ŇV®ŠÄÈƀ†Ď°P|ªVV†ªj–¬ĚÒêp¬–E|ŬÂc|ÀtƐK fˆ{ĘFĒœƌXƲąo½Ę‘\\¥–o}›Ûu£ç­kX‘{uĩ«āíÓUŅßŢq€Ť¥lyň[€oi{¦‹L‡ń‡ðFȪȖ”ĒL„¿Ì‹ˆfŒ£K£ʺ™oqNŸƒwğc`ue—tOj×°KJ±qƒÆġm‰Ěŗos¬…qehqsuœƒH{¸kH¡Š…ÊRǪÇƌbȆ¢´ä܍¢NìÉʖ¦â©Ż؛Ç@Vu»A—ylßí¹ĵê…ÝlISò³C¹Ìâ„²i¶’Ìoú^H“²CǜңDŽ z¼g^èöŰ_‹‚–†IJĕꄜ}gÁnUI«m‰…„‹]j‡vV¼euhwqA„aW˜ƒ_µj…»çjioQR¹ēÃßt@r³[ÛlćË^ÍÉáG“›OUۗOB±•XŸkŇ¹£k|e]ol™ŸkVͼÕqtaÏõjgÁ£§U^Œ”RLˆËnX°Ç’Bz†^~wfvˆypV ¯„ƫĉ˭ȫƗŷɿÿĿƑ˃ĝÿÃǃßËőó©ǐȍŒĖM×ÍEyx‹þp]Évïè‘vƀnÂĴÖ@‚‰†V~Ĉ™Š³MEˆĸÅĖt—ējyÄDXÄxGQuv_›i¦aBçw‘˛wD™©{ŸtāmQ€{EJ§KPśƘƿ¥@‰sCT•É}ɃwˆƇy±ŸgÑ“}T[÷kÐ禫…SÒ¥¸ëBX½‰HáŵÀğtSÝÂa[ƣ°¯¦P]£ġ“–“Òk®G²„èQ°óMq}EŠóƐÇ\\ƒ‡@áügQ͋u¥Fƒ“T՛¿Jû‡]|mvāÎYua^WoÀa·­ząÒot׶CLƗi¯¤mƎHNJ¤îìɾŊìTdåwsRÖgĒųúÍġäÕ}Q¶—ˆ¿A•†‹[¡Œ{d×uQAƒ›M•xV‹vMOmăl«ct[wº_šÇʊŽŸjb£ĦS_é“QZ“_lwgOiýe`YYLq§IÁˆdz£ÙË[ÕªuƏ³ÍT—s·bÁĽäė[›b[ˆŗfãcn¥îC¿÷µ[ŏÀQ­ōšĉm¿Á^£mJVm‡—L[{Ï_£›F¥Ö{ŹA}…×Wu©ÅaųijƳhB{·TQqÙIķˑZđ©Yc|M¡…L•eVUóK_QWk’_ĥ‘¿ãZ•»X\\ĴuUƒè‡lG®ěłTĠğDєOrÍd‚ÆÍz]‹±…ŭ©ŸÅ’]ŒÅÐ}UË¥©Tċ™ïxgckfWgi\\ÏĒ¥HkµE˜ë{»ÏetcG±ahUiñiWsɁˆ·c–C‚Õk]wȑ|ća}w…VaĚ᠞ŒG°ùnM¬¯†{ȈÐÆA’¥ÄêJxÙ¢”hP¢Ûˆº€µwWOŸóFŽšÁz^ÀŗÎú´§¢T¤ǻƺSė‰ǵhÝÅQgvBHouʝl_o¿Ga{ïq{¥|ſĿHĂ÷aĝÇq‡Z‘ñiñC³ª—…»E`¨åXēÕqÉû[l•}ç@čƘóO¿¡ƒFUsA‰“ʽīccšocƒ‚ƒÇS}„“£‡IS~ălkĩXçmĈ…ŀЂoÐdxÒuL^T{r@¢‘žÍƒĝKén£kQ™‰yšÅõËXŷƏL§~}kqš»IHėDžjĝŸ»ÑÞoŸå°qTt|r©ÏS‹¯·eŨĕx«È[eMˆ¿yuˆ‘pN~¹ÏyN£{©’—g‹ħWí»Í¾s“əšDž_ÃĀɗ±ą™ijĉʍŌŷ—S›É“A‹±åǥɋ@럣R©ąP©}ĹªƏj¹erƒLDĝ·{i«ƫC£µ"]],encodeOffsets:[[[127444,52594]],[[113793,40312]]]},properties:{cp:[111.670801,40.818311],name:"内蒙古",childNum:2}},{id:"210000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@L–Ž@@s™a"],["@@MnNm"],["@@d‚c"],["@@eÀ‚C@b‚“‰"],["@@f‡…Xwkbr–Ä`qg"],["@@^jtW‘Q"],["@@~ Y]c"],["@@G`ĔN^_¿Z‚ÃM"],["@@iX¶B‹Y"],["@@„YƒZ"],["@@L_{Epf"],["@@^WqCT\\"],["@@\\[“‹§t|”¤_"],["@@m`n_"],["@@Ïxnj{q_×^Giip"],["@@@œé^B†‡ntˆaÊU—˜Ÿ]x ¯ÄPIJ­°h€ʙK³†VˆÕ@Y~†|EvĹsDŽ¦­L^p²ŸÒG ’Ël]„xxÄ_˜fT¤Ď¤cŽœP„–C¨¸TVjbgH²sdÎdHt`Bˆ—²¬GJję¶[ÐhjeXdlwhšðSȦªVÊπ‹Æ‘Z˜ÆŶ®²†^ŒÎyÅÎcPqń“ĚDMħĜŁH­ˆk„çvV[ij¼W–‚YÀäĦ’‘`XlžR`žôLUVžfK–¢†{NZdĒª’YĸÌÚJRr¸SA|ƴgŴĴÆbvªØX~†źBŽ|¦ÕœEž¤Ð`\\|Kˆ˜UnnI]¤ÀÂĊnŎ™R®Ő¿¶\\ÀøíDm¦ÎbŨab‰œaĘ\\ľã‚¸a˜tÎSƐ´©v\\ÖÚÌǴ¤Â‡¨JKr€Z_Z€fjþhPkx€`Y”’RIŒjJcVf~sCN¤ ˆE‚œhæm‰–sHy¨SðÑÌ\\\\ŸĐRZk°IS§fqŒßýáЍÙÉÖ[^¯ǤŲ„ê´\\¦¬ĆPM¯£Ÿˆ»uïpùzEx€žanµyoluqe¦W^£ÊL}ñrkqWňûP™‰UP¡ôJŠoo·ŒU}£Œ„[·¨@XŒĸŸ“‹‹DXm­Ûݏº‡›GU‹CÁª½{íĂ^cj‡k“¶Ã[q¤“LÉö³cux«zZfƒ²BWÇ®Yß½ve±ÃC•ý£W{Ú^’q^sÑ·¨‹ÍOt“¹·C¥‡GD›rí@wÕKţ݋˜Ÿ«V·i}xËÍ÷‘i©ĝ‡ɝǡ]ƒˆ{c™±OW‹³Ya±Ÿ‰_穂Hžĕoƫ€Ňqƒr³‰Lys[„ñ³¯OS–ďOMisZ†±ÅFC¥Pq{‚Ã[Pg}\\—¿ghćO…•k^ģÁFıĉĥM­oEqqZûěʼn³F‘¦oĵ—hŸÕP{¯~TÍlª‰N‰ßY“Ð{Ps{ÃVU™™eĎwk±ʼnVÓ½ŽJãÇÇ»Jm°dhcÀff‘dF~ˆ€ĀeĖ€d`sx² šƒ®EżĀdQ‹Âd^~ăÔHˆ¦\\›LKpĄVez¤NP ǹӗR™ÆąJSh­a[¦´Âghwm€BÐ¨źhI|žVVŽ—Ž|p] Â¼èNä¶ÜBÖ¼“L`‚¼bØæŒKV”ŸpoœúNZÞÒKxpw|ÊEMnzEQšŽIZ”ŽZ‡NBˆčÚFÜçmĩ‚WĪñt‘ÞĵÇñZ«uD‚±|Əlij¥ãn·±PmÍa‰–da‡ CL‡Ǒkùó¡³Ï«QaċϑOÃ¥ÕđQȥċƭy‹³ÃA"]],encodeOffsets:[[[123686,41445]],[[126019,40435]],[[124393,40128]],[[126117,39963]],[[125322,40140]],[[126686,40700]],[[126041,40374]],[[125584,40168]],[[125453,40165]],[[125362,40214]],[[125280,40291]],[[125774,39997]],[[125976,40496]],[[125822,39993]],[[125509,40217]],[[122731,40949]]]},properties:{cp:[123.429096,41.796767],name:"辽宁",childNum:16}},{id:"220000",type:"Feature",geometry:{type:"Polygon",coordinates:["@@‘p䔳PClƒFbbÍzš€wBG’ĭ€Z„Åi“»ƒlY­ċ²SgŽkÇ£—^S‰“qd¯•‹R…©éŽ£¯S†\\cZ¹iűƏCuƍÓX‡oR}“M^o•£…R}oªU­F…uuXHlEŕ‡€Ï©¤ÛmTŽþ¤D–²ÄufàÀ­XXȱAe„yYw¬dvõ´KÊ£”\\rµÄl”iˆdā]|DÂVŒœH¹ˆÞ®ÜWnŒC”Œķ W‹§@\\¸‹ƒ~¤‹Vp¸‰póIO¢ŠVOšŇürXql~òÉK]¤¥Xrfkvzpm¶bwyFoúvð‡¼¤ N°ąO¥«³[ƒéǡű_°Õ\\ÚÊĝŽþâőàerR¨­JYlďQ[ ÏYëЧTGz•tnŠß¡gFkMŸāGÁ¤ia É‰™È¹`\\xs€¬dĆkNnuNUŠ–užP@‚vRY¾•–\\¢…ŒGªóĄ~RãÖÎĢù‚đŴÕhQŽxtcæëSɽʼníëlj£ƍG£nj°KƘµDsØÑpyƸ®¿bXp‚]vbÍZuĂ{nˆ^IüœÀSք”¦EŒvRÎûh@℈[‚Əȉô~FNr¯ôçR±ƒ­HÑl•’Ģ–^¤¢‚OðŸŒævxsŒ]ÞÁTĠs¶¿âƊGW¾ìA¦·TѬ†è¥€ÏÐJ¨¼ÒÖ¼ƒƦɄxÊ~S–tD@ŠĂ¼Ŵ¡jlºWžvЉˆzƦZЎ²CH— „Axiukd‹ŒGgetqmcžÛ£Ozy¥cE}|…¾cZ…k‚‰¿uŐã[oxGikfeäT@…šSUwpiÚFM©’£è^ڟ‚`@v¶eň†f h˜eP¶žt“äOlÔUgƒÞzŸU`lœ}ÔÆUvØ_Ō¬Öi^ĉi§²ÃŠB~¡Ĉ™ÚEgc|DC_Ȧm²rBx¼MÔ¦ŮdĨÃâYx‘ƘDVÇĺĿg¿cwÅ\\¹˜¥Yĭlœ¤žOv†šLjM_a W`zļMž·\\swqÝSA‡š—q‰Śij¯Š‘°kŠRē°wx^Đkǂғ„œž“œŽ„‹\\]˜nrĂ}²ĊŲÒøãh·M{yMzysěnĒġV·°“G³¼XÀ““™¤¹i´o¤ŃšŸÈ`̃DzÄUĞd\\i֚ŒˆmÈBĤÜɲDEh LG¾ƀľ{WaŒYÍȏĢĘÔRîĐj‹}Ǟ“ccj‡oUb½š{“h§Ǿ{K‹ƖµÎ÷žGĀÖŠåưÎs­l›•yiē«‹`姝H¥Ae^§„GK}iã\\c]v©ģZ“mÃ|“[M}ģTɟĵ‘Â`À–çm‰‘FK¥ÚíÁbXš³ÌQґHof{‰]e€pt·GŋĜYünĎųVY^’˜ydõkÅZW„«WUa~U·Sb•wGçǑ‚“iW^q‹F‚“›uNĝ—·Ew„‹UtW·Ýďæ©PuqEzwAV•—XR‰ãQ`­©GŒM‡ehc›c”ďϝd‡©ÑW_ϗYƅŒ»…é\\ƒɹ~ǙG³mØ©BšuT§Ĥ½¢Ã_ý‘L¡‘ýŸqT^rme™\\Pp•ZZbƒyŸ’uybQ—efµ]UhĿDCmûvašÙNSkCwn‰cćfv~…Y‹„ÇG"],encodeOffsets:[[130196,42528]]},properties:{cp:[125.3245,43.886841],name:"吉林",childNum:1}},{id:"230000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@ƨƒĶTLÇyqpÇÛqe{~oyen}s‰`q‡iXG”ù]Ëp½“©lɇÁp]Þñ´FÔ^f‘äîºkà˜z¼BUvÈ@"],["@@UƒµNÿ¥īè灋•HÍøƕ¶LŒǽ|g¨|”™Ža¾pViˆdd”~ÈiŒíďÓQġėǐZ΋ŽXb½|ſÃH½ŸKFgɱCģÛÇA‡n™‹jÕc[VĝDZÃ˄Ç_™ £ń³pŽj£º”š¿”»WH´¯”U¸đĢmžtĜyzzNN|g¸÷äűѱĉā~mq^—Œ[ƒ”››”ƒǁÑďlw]¯xQĔ‰¯l‰’€°řĴrŠ™˜BˆÞTxr[tŽ¸ĻN_yŸX`biN™Ku…P›£k‚ZĮ—¦[ºxÆÀdhŽĹŀUÈƗCw’áZħÄŭcÓ¥»NAw±qȥnD`{ChdÙFćš}¢‰A±Äj¨]ĊÕjŋ«×`VuÓś~_kŷVÝyh„“VkÄãPs”Oµ—fŸge‚Ň…µf@u_Ù ÙcŸªNªÙEojVx™T@†ãSefjlwH\\pŏäÀvŠŽlY†½d{†F~¦dyz¤PÜndsrhf‹HcŒvlwjFœ£G˜±DύƥY‡yϊu¹XikĿ¦ÏqƗǀOŜ¨LI|FRĂn sª|Cš˜zxAè¥bœfudTrFWÁ¹Am|˜ĔĕsķÆF‡´Nš‰}ć…UŠÕ@Áijſmužç’uð^ÊýowŒFzØÎĕNőžǏȎôªÌŒDŽàĀÄ˄ĞŀƒʀĀƘŸˮȬƬĊ°ƒUŸzou‡xe]}Ž…AyȑW¯ÌmK‡“Q]‹Īºif¸ÄX|sZt|½ÚUΠlkš^p{f¤lˆºlÆW –€A²˜PVܜPH”Êâ]ÎĈÌÜk´\\@qàsĔÄQºpRij¼èi†`¶—„bXƒrBgxfv»ŽuUiˆŒ^v~”J¬mVp´£Œ´VWrnP½ì¢BX‚¬h™ŠðX¹^TjVœŠriªj™tŊÄm€tPGx¸bgRšŽsT`ZozÆO]’ÒFô҆Oƒ‡ŊŒvŞ”p’cGŒêŠsx´DR–Œ{A†„EOr°Œ•žx|íœbˆ³Wm~DVjºéNN†Ëܲɶ­GƒxŷCStŸ}]ûō•SmtuÇÃĕN•™āg»šíT«u}ç½BĵÞʣ¥ëÊ¡Mێ³ãȅ¡ƋaǩÈÉQ‰†G¢·lG|›„tvgrrf«†ptęŘnŠÅĢr„I²¯LiØsPf˜_vĠd„xM prʹšL¤‹¤‡eˌƒÀđK“žïÙVY§]I‡óáĥ]ķ†Kˆ¥Œj|pŇ\\kzţ¦šnņäÔVĂîĪ¬|vW’®l¤èØr‚˜•xm¶ă~lÄƯĄ̈́öȄEÔ¤ØQĄ–Ą»ƢjȦOǺ¨ìSŖÆƬy”Qœv`–cwƒZSÌ®ü±DŽ]ŀç¬B¬©ńzƺŷɄeeOĨS’Œfm Ċ‚ƀP̎ēz©Ċ‚ÄÕÊmgŸÇsJ¥ƔˆŊśæ’΁Ñqv¿íUOµª‰ÂnĦÁ_½ä@ê텣P}Ġ[@gġ}g“ɊדûÏWXá¢užƻÌsNͽƎÁ§č՛AēeL³àydl›¦ĘVçŁpśdžĽĺſʃQíÜçÛġԏsĕ¬—Ǹ¯YßċġHµ ¡eå`ļƒrĉŘóƢFì“ĎWøxÊk†”ƈdƬv|–I|·©NqńRŀƒ¤é”eŊœŀ›ˆàŀU²ŕƀB‚Q£Ď}L¹Îk@©ĈuǰųǨ”Ú§ƈnTËÇéƟÊcfčŤ^Xm‡—HĊĕË«W·ċëx³ǔķÐċJā‚wİ_ĸ˜Ȁ^ôWr­°oú¬Ħ…ŨK~”ȰCĐ´Ƕ£’fNÎèâw¢XnŮeÂÆĶŽ¾¾xäLĴĘlļO¤ÒĨA¢Êɚ¨®‚ØCÔ ŬGƠ”ƦYĜ‡ĘÜƬDJ—g_ͥœ@čŅĻA“¶¯@wÎqC½Ĉ»NŸăëK™ďÍQ“Ùƫ[«Ãí•gßÔÇOÝáW‘ñuZ“¯ĥ€Ÿŕā¡ÑķJu¤E Ÿå¯°WKɱ_d_}}vyŸõu¬ï¹ÓU±½@gÏ¿rýD‰†g…Cd‰µ—°MFYxw¿CG£‹Rƛ½Õ{]L§{qqąš¿BÇƻğëšܭNJË|c²}Fµ}›ÙRsÓpg±ŠQNqǫŋRwŕnéÑÉKŸ†«SeYR…ŋ‹@{¤SJ}šD Ûǖ֍Ÿ]gr¡µŷjqWÛham³~S«“„›Þ]"]],encodeOffsets:[[[127123,51780]],[[134456,44547]]]},properties:{cp:[126.642464,45.756967],name:"黑龙江",childNum:2}},{id:"320000",type:"Feature",geometry:{type:"Polygon",coordinates:["@@cþÅPiŠ`ZŸRu¥É\\]~°ŽY`µ†Óƒ^phÁbnÀşúŽòa–ĬºTÖŒb‚˜e¦¦€{¸ZâćNpŒ©žHr|^ˆmjhŠSEb\\afv`sz^lkŽlj‹Ätg‹¤D˜­¾Xš¿À’|ДiZ„ȀåB·î}GL¢õcßjaŸyBFµÏC^ĭ•cÙt¿sğH]j{s©HM¢ƒQnDÀ©DaÜތ·jgàiDbPufjDk`dPOîƒhw¡ĥ‡¥šG˜ŸP²ĐobºrY†„î¶aHŢ´ ]´‚rılw³r_{£DB_Ûdåuk|ˆŨ¯F Cºyr{XFy™e³Þċ‡¿Â™kĭB¿„MvÛpm`rÚã”@Ę¹hågËÖƿxnlč¶Åì½Ot¾dJlŠVJʜǀœŞqvnOŠ^ŸJ”Z‘ż·Q}ê͎ÅmµÒ]Žƍ¦Dq}¬R^èĂ´ŀĻĊIԒtžIJyQŐĠMNtœR®òLh‰›Ěs©»œ}OӌGZz¶A\\jĨFˆäOĤ˜HYš†JvÞHNiÜaϚɖnFQlšNM¤ˆB´ĄNöɂtp–Ŭdf先‹qm¿QûŠùއÚb¤uŃJŴu»¹Ą•lȖħŴw̌ŵ²ǹǠ͛hĭłƕrçü±Y™xci‡tğ®jű¢KOķ•Coy`å®VTa­_Ā]ŐÝɞï²ʯÊ^]afYǸÃĆēĪȣJđ͍ôƋĝÄ͎ī‰çÛɈǥ£­ÛmY`ó£Z«§°Ó³QafusNıDž_k}¢m[ÝóDµ—¡RLčiXy‡ÅNïă¡¸iĔϑNÌŕoēdōîåŤûHcs}~Ûwbù¹£¦ÓCt‹OPrƒE^ÒoŠg™ĉIµžÛÅʹK…¤½phMŠü`o怆ŀ"],encodeOffsets:[[121740,32276]]},properties:{cp:[118.767413,32.041544],name:"江苏",childNum:1}},{id:"330000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@E^dQ]K"],["@@jX^j‡"],["@@sfŠbU‡"],["@@qP\\xz[ck"],["@@‘Rƒ¢‚FX}°[s_"],["@@Cbœ\\—}"],["@@e|v\\la{u"],["@@v~u}"],["@@QxÂF¯}"],["@@¹nŒvÞs¯o"],["@@rSkUEj"],["@@bi­ZŒP"],["@@p[}INf"],["@@À¿€"],["@@¹dnbŒ…"],["@@rSŸBnR"],["@@g~h}"],["@@FlEk"],["@@OdPc"],["@@v[u\\"],["@@FjâL~wyoo~›sµL–\\"],["@@¬e¹aNˆ"],["@@\\nÔ¡q]L³ë\\ÿ®ŒQ֎"],["@@ÊA­©[¬"],["@@KxŒv­"],["@@@hlIk]"],["@@pW{o||j"],["@@Md|_mC"],["@@¢…X£ÏylD¼XˆtH"],["@@hlÜ[LykAvyfw^Ež›¤"],["@@fp¤Mus“R"],["@@®_ma~•LÁ¬šZ"],["@@iM„xZ"],["@@ZcYd"],["@@Z~dOSo|A¿qZv"],["@@@`”EN¡v"],["@@|–TY{"],["@@@n@m"],["@@XWkCT\\"],["@@ºwšZRkĕWO¢"],["@@™X®±Grƪ\\ÔáXq{‹"],["@@ůTG°ĄLHm°UC‹"],["@@¤Ž€aÜx~}dtüGæţŎíĔcŖpMËВjē¢·ðĄÆMzˆjWKĎ¢Q¶˜À_꒔_Bı€i«pZ€gf€¤Nrq]§ĂN®«H±‡yƳí¾×ŸīàLłčŴǝĂíÀBŖÕªˆŠÁŖHŗʼnåqûõi¨hÜ·ƒñt»¹ýv_[«¸m‰YL¯‰Qª…mĉÅdMˆ•gÇjcº«•ęœ¬­K­´ƒB«Âącoċ\\xKd¡gěŧ«®á’[~ıxu·Å”KsËɏc¢Ù\\ĭƛëbf¹­ģSƒĜkáƉÔ­ĈZB{ŠaM‘µ‰fzʼnfåÂŧįƋǝÊĕġć£g³ne­ą»@­¦S®‚\\ßðCšh™iqªĭiAu‡A­µ”_W¥ƣO\\lċĢttC¨£t`ˆ™PZäuXßBs‡Ļyek€OđġĵHuXBšµ]׌‡­­\\›°®¬F¢¾pµ¼kŘó¬Wät’¸|@ž•L¨¸µr“ºù³Ù~§WI‹ŸZWŽ®’±Ð¨ÒÉx€`‰²pĜ•rOògtÁZ}þÙ]„’¡ŒŸFK‚wsPlU[}¦Rvn`hq¬\\”nQ´ĘRWb”‚_ rtČFI֊kŠŠĦPJ¶ÖÀÖJĈĄTĚòžC ²@Pú…Øzœ©PœCÈڜĒ±„hŖ‡l¬â~nm¨f©–iļ«m‡nt–u†ÖZÜÄj“ŠLŽ®E̜Fª²iÊxبžIÈhhst"],["@@o\\V’zRZ}y"],["@@†@°¡mۛGĕ¨§Ianá[ýƤjfæ‡ØL–•äGr™"]],encodeOffsets:[[[125592,31553]],[[125785,31436]],[[125729,31431]],[[125513,31380]],[[125223,30438]],[[125115,30114]],[[124815,29155]],[[124419,28746]],[[124095,28635]],[[124005,28609]],[[125e3,30713]],[[125111,30698]],[[125078,30682]],[[125150,30684]],[[124014,28103]],[[125008,31331]],[[125411,31468]],[[125329,31479]],[[125626,30916]],[[125417,30956]],[[125254,30976]],[[125199,30997]],[[125095,31058]],[[125083,30915]],[[124885,31015]],[[125218,30798]],[[124867,30838]],[[124755,30788]],[[124802,30809]],[[125267,30657]],[[125218,30578]],[[125200,30562]],[[124968,30474]],[[125167,30396]],[[124955,29879]],[[124714,29781]],[[124762,29462]],[[124325,28754]],[[123990,28459]],[[125366,31477]],[[125115,30363]],[[125369,31139]],[[122495,31878]],[[125329,30690]],[[125192,30787]]]},properties:{cp:[120.153576,30.287459],name:"浙江",childNum:45}},{id:"340000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@^iuLX^"],["@@‚e©Ehl"],["@@°ZÆëϵmkǀwÌÕæhºgBĝâqÙĊz›ÖgņtÀÁÊÆá’hEz|WzqD¹€Ÿ°E‡ŧl{ævÜcA`¤C`|´qžxIJkq^³³ŸGšµbƒíZ…¹qpa±ď OH—¦™Ħˆx¢„gPícOl_iCveaOjCh߸i݋bÛªCC¿€m„RV§¢A|t^iĠGÀtÚs–d]ĮÐDE¶zAb àiödK¡~H¸íæAžǿYƒ“j{ď¿‘™À½W—®£ChŒÃsiŒkkly]_teu[bFa‰Tig‡n{]Gqªo‹ĈMYá|·¥f¥—őaSÕė™NµñĞ«ImŒ_m¿Âa]uĜp …Z_§{Cƒäg¤°r[_Yj‰ÆOdý“[ŽI[á·¥“Q_n‡ùgL¾mv™ˊBÜƶĊJhšp“c¹˜O]iŠ]œ¥ jtsggJǧw×jÉ©±›EFˍ­‰Ki”ÛÃÕYv…s•ˆm¬njĻª•§emná}k«ŕˆƒgđ²Ù›DǤ›í¡ªOy›†×Où±@DŸñSęćăÕIÕ¿IµĥO‰‰jNÕËT¡¿tNæŇàåyķrĕq§ÄĩsWÆߎF¶žX®¿‰mŒ™w…RIޓfßoG‘³¾©uyH‘į{Ɓħ¯AFnuP…ÍÔzšŒV—dàôº^Ðæd´€‡oG¤{S‰¬ćxã}›ŧ×Kǥĩ«žÕOEзÖdÖsƘѨ[’Û^Xr¢¼˜§xvěƵ`K”§ tÒ´Cvlo¸fzŨð¾NY´ı~ÉĔē…ßúLÃϖ_ÈÏ|]ÂÏFl”g`bšežž€n¾¢pU‚h~ƴĖ¶_‚r sĄ~cž”ƈ]|r c~`¼{À{ȒiJjz`îÀT¥Û³…]’u}›f…ïQl{skl“oNdŸjŸäËzDvčoQŠďHI¦rb“tHĔ~BmlRš—V_„ħTLnñH±’DžœL‘¼L˜ªl§Ťa¸ŒĚlK²€\\RòvDcÎJbt[¤€D@®hh~kt°ǾzÖ@¾ªdb„YhüóZ ň¶vHrľ\\ʗJuxAT|dmÀO„‹[ÃԋG·ĚąĐlŪÚpSJ¨ĸˆLvÞcPæķŨŽ®mАˆálŸwKhïgA¢ųƩޖ¤OȜm’°ŒK´"]],encodeOffsets:[[[121722,32278]],[[119475,30423]],[[119168,35472]]]},properties:{cp:[117.283042,31.86119],name:"安徽",childNum:3}},{id:"350000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@“zht´‡]"],["@@aj^~ĆG—©O"],["@@ed¨„C}}i"],["@@@vˆPGsQ"],["@@‰sBz‚ddW]Q"],["@@SŽ¨Q“{"],["@@NŽVucW"],["@@qptBAq"],["@@‰’¸[mu"],["@@Q\\pD]_"],["@@jSwUadpF"],["@@eXª~ƒ•"],["@@AjvFso"],["@@fT–›_Çí\\Ÿ™—v|ba¦jZÆy€°"],["@@IjJi"],["@@wJI€ˆxš«¼AoNe{M­"],["@@K‰±¡Óˆ”ČäeZ"],["@@k¡¹Eh~c®wBk‹UplÀ¡I•~Māe£bN¨gZý¡a±Öcp©PhžI”Ÿ¢Qq…ÇGj‹|¥U™ g[Ky¬ŏ–v@OpˆtÉEŸF„\\@ åA¬ˆV{Xģ‰ĐBy…cpě…¼³Ăp·¤ƒ¥o“hqqÚ¡ŅLsƒ^ᗞ§qlŸÀhH¨MCe»åÇGD¥zPO£čÙkJA¼ß–ėu›ĕeûҍiÁŧSW¥˜QŠûŗ½ùěcݧSùĩąSWó«íęACµ›eR—åǃRCÒÇZÍ¢‹ź±^dlsŒtjD¸•‚ZpužÔâÒH¾oLUêÃÔjjēò´ĄW‚ƛ…^Ñ¥‹ĦŸ@Çò–ŠmŒƒOw¡õyJ†yD}¢ďÑÈġfŠZd–a©º²z£šN–ƒjD°Ötj¶¬ZSÎ~¾c°¶Ðm˜x‚O¸¢Pl´žSL|¥žA†ȪĖM’ņIJg®áIJČĒü` ŽQF‡¬h|ÓJ@zµ |ê³È ¸UÖŬŬÀEttĸr‚]€˜ðŽM¤ĶIJHtÏ A’†žĬkvsq‡^aÎbvŒd–™fÊòSD€´Z^’xPsÞrv‹ƞŀ˜jJd×ŘÉ ®A–ΦĤd€xĆqAŒ†ZR”ÀMźŒnĊ»ŒİÐZ— YX–æJŠyĊ²ˆ·¶q§·–K@·{s‘Xãô«lŗ¶»o½E¡­«¢±¨Yˆ®Ø‹¶^A™vWĶGĒĢžPlzfˆļŽtàAvWYãšO_‡¤sD§ssČġ[kƤPX¦Ž`¶“ž®ˆBBvĪjv©šjx[L¥àï[F…¼ÍË»ğV`«•Ip™}ccÅĥZE‹ãoP…´B@ŠD—¸m±“z«Ƴ—¿å³BRضˆœWlâþäą`“]Z£Tc— ĹGµ¶H™m@_©—kŒ‰¾xĨ‡ôȉðX«½đCIbćqK³Á‹Äš¬OAwã»aLʼn‡ËĥW[“ÂGI—ÂNxij¤D¢ŽîĎÎB§°_JœGsƒ¥E@…¤uć…P‘å†cuMuw¢BI¿‡]zG¹guĮck\\_"]],encodeOffsets:[[[123250,27563]],[[122541,27268]],[[123020,27189]],[[122916,27125]],[[122887,26845]],[[122808,26762]],[[122568,25912]],[[122778,26197]],[[122515,26757]],[[122816,26587]],[[123388,27005]],[[122450,26243]],[[122578,25962]],[[121255,25103]],[[120987,24903]],[[122339,25802]],[[121042,25093]],[[122439,26024]]]},properties:{cp:[119.306239,26.075302],name:"福建",childNum:18}},{id:"360000",type:"Feature",geometry:{type:"Polygon",coordinates:["@@ĢĨƐgļˆ¼ÂMD~ņªe^\\^§„ý©j׍cZ†Ø¨zdÒa¶ˆlҍJŒìõ`oz÷@¤u޸´†ôęöY¼‰HČƶajlÞƩ¥éZ[”|h}^U Œ ¥p„ĄžƦO lt¸Æ €Q\\€ŠaÆ|CnÂOjt­ĚĤd’ÈŒF`’¶„@Ð딠¦ōҞ¨Sêv†HĢûXD®…QgėWiØPÞìºr¤dž€NĠ¢l–•ĄtZoœCƞÔºCxrpĠV®Ê{f_Y`_ƒeq’’®Aot`@o‚DXfkp¨|Šs¬\\D‘ÄSfè©Hn¬…^DhÆyøJh“ØxĢĀLʈ„ƠPżċĄwȠ̦G®ǒĤäTŠÆ~ĦwŠ«|TF¡Šn€c³Ïå¹]ĉđxe{ÎӐ†vOEm°BƂĨİ|G’vz½ª´€H’àp”eJ݆Qšxn‹ÀŠW­žEµàXÅĪt¨ÃĖrÄwÀFÎ|ňÓMå¼ibµ¯»åDT±m[“r«_gŽmQu~¥V\\OkxtL E¢‹ƒ‘Ú^~ýê‹Pó–qo슱_Êw§ÑªåƗā¼‹mĉŹ‹¿NQ“…YB‹ąrwģcÍ¥B•Ÿ­ŗÊcØiI—žƝĿuŒqtāwO]‘³YCñTeɕš‹caub͈]trlu€ī…B‘ПGsĵıN£ï—^ķqss¿FūūV՟·´Ç{éĈý‰ÿ›OEˆR_ŸđûIċâJh­ŅıN‘ȩĕB…¦K{Tk³¡OP·wn—µÏd¯}½TÍ«YiµÕsC¯„iM•¤™­•¦¯P|ÿUHv“he¥oFTu‰õ\\ŽOSs‹MòđƇiaºćXŸĊĵà·çhƃ÷ǜ{‘ígu^›đg’m[×zkKN‘¶Õ»lčÓ{XSƉv©_ÈëJbVk„ĔVÀ¤P¾ºÈMÖxlò~ªÚàGĂ¢B„±’ÌŒK˜y’áV‡¼Ã~­…`g›ŸsÙfI›Ƌlę¹e|–~udjˆuTlXµf`¿JdŠ[\\˜„L‚‘²"],encodeOffsets:[[116689,26234]]},properties:{cp:[115.892151,28.676493],name:"江西",childNum:1}},{id:"370000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@Xjd]{K"],["@@itbFHy"],["@@HlGk"],["@@T‚ŒGŸy"],["@@K¬˜•‹U"],["@@WdXc"],["@@PtOs"],["@@•LnXhc"],["@@ppVƒu]Or"],["@@cdzAUa"],["@@udRhnCI‡"],["@@ˆoIƒpR„"],["@@Ľč{fzƤî’Kš–ÎMĮ]†—ZFˆ½Y]â£ph’™š¶¨râøÀ†ÎǨ¤^ºÄ”Gzˆ~grĚĜlĞƄLĆdž¢Îo¦–cv“Kb€gr°Wh”mZp ˆL]LºcU‰Æ­n”żĤÌĒœbAnrOAœ´žȊcÀbƦUØrĆUÜøœĬƞ†š˜Ez„VL®öØBkŖÝĐĖ¹ŧ̄±ÀbÎɜnb²ĦhņBĖ›žįĦåXćì@L¯´ywƕCéõė ƿ¸‘lµ¾Z|†ZWyFYŸ¨Mf~C¿`€à_RÇzwƌfQnny´INoƬˆèôº|sT„JUš›‚L„îVj„ǎ¾Ē؍‚Dz²XPn±ŴPè¸ŔLƔÜƺ_T‘üÃĤBBċȉöA´fa„˜M¨{«M`‡¶d¡ô‰Ö°šmȰBÔjjŒ´PM|”c^d¤u•ƒ¤Û´Œä«ƢfPk¶Môlˆ]Lb„}su^ke{lC‘…M•rDŠÇ­]NÑFsmoõľH‰yGă{{çrnÓE‰‹ƕZGª¹Fj¢ïW…uøCǷ돡ąuhÛ¡^Kx•C`C\\bÅxì²ĝÝ¿_N‰īCȽĿåB¥¢·IŖÕy\\‡¹kx‡Ã£Č×GDyÕ¤ÁçFQ¡„KtŵƋ]CgÏAùSed‡cÚź—ŠuYfƒyMmhUWpSyGwMPqŀ—›Á¼zK›¶†G•­Y§Ëƒ@–´śÇµƕBmœ@Io‚g——Z¯u‹TMx}C‘‰VK‚ï{éƵP—™_K«™pÛÙqċtkkù]gŽ‹Tğwo•ɁsMõ³ă‡AN£™MRkmEʕč™ÛbMjÝGu…IZ™—GPģ‡ãħE[iµBEuŸDPԛ~ª¼ętŠœ]ŒûG§€¡QMsğNPŏįzs£Ug{đJĿļā³]ç«Qr~¥CƎÑ^n¶ÆéÎR~Ż¸Y’I“] P‰umŝrƿ›‰›Iā‹[x‰edz‹L‘¯v¯s¬ÁY…~}…ťuŁŒg›ƋpÝĄ_ņī¶ÏSR´ÁP~ž¿Cyžċßdwk´Ss•X|t‰`Ä Èð€AªìÎT°¦Dd–€a^lĎDĶÚY°Ž`ĪŴǒˆ”àŠv\\ebŒZH„ŖR¬ŢƱùęO•ÑM­³FۃWp[ƒ"]],encodeOffsets:[[[123806,39303]],[[123821,39266]],[[123742,39256]],[[123702,39203]],[[123649,39066]],[[123847,38933]],[[123580,38839]],[[123894,37288]],[[123043,36624]],[[123344,38676]],[[123522,38857]],[[123628,38858]],[[118260,36742]]]},properties:{cp:[117.000923,36.675807],name:"山东",childNum:13}},{id:"410000",type:"Feature",geometry:{type:"Polygon",coordinates:["@@•ýL™ùµP³swIÓxcŢĞð†´E®žÚPt†ĴXØx¶˜@«ŕŕQGƒ‹Yfa[şu“ßǩ™đš_X³ijÕčC]kbc•¥CS¯ëÍB©÷‹–³­Siˆ_}m˜YTtž³xlàcȂzÀD}ÂOQ³ÐTĨ¯†ƗòËŖ[hœł‹Ŧv~††}ÂZž«¤lPǕ£ªÝŴÅR§ØnhcŒtâk‡nύ­ľŹUÓÝdKuķ‡I§oTũÙďkęĆH¸ÓŒ\\ăŒ¿PcnS{wBIvɘĽ[GqµuŸŇôYgûƒZcaŽ©@½Õǽys¯}lgg@­C\\£as€IdÍuCQñ[L±ęk·‹ţb¨©kK—’»›KC²‘òGKmĨS`ƒ˜UQ™nk}AGē”sqaJ¥ĐGR‰ĎpCuÌy ã iMc”plk|tRk†ðœev~^‘´†¦ÜŽSí¿_iyjI|ȑ|¿_»d}qŸ^{“Ƈdă}Ÿtqµ`Ƴĕg}V¡om½fa™Ço³TTj¥„tĠ—Ry”K{ùÓjuµ{t}uËR‘iŸvGŠçJFjµŠÍyqΘàQÂFewixGw½Yŷpµú³XU›½ġy™łå‰kÚwZXˆ·l„¢Á¢K”zO„Λ΀jc¼htoDHr…|­J“½}JZ_¯iPq{tę½ĕ¦Zpĵø«kQ…Ťƒ]MÛfaQpě±ǽ¾]u­Fu‹÷nƒ™čįADp}AjmcEǒaª³o³ÆÍSƇĈÙDIzˑ赟^ˆKLœ—i—Þñ€[œƒaA²zz‰Ì÷Dœ|[šíijgf‚ÕÞd®|`ƒĆ~„oĠƑô³Ŋ‘D×°¯CsŠøÀ«ì‰UMhTº¨¸ǡîS–Ô„DruÂÇZ•ÖEŽ’vPZ„žW”~؋ÐtĄE¢¦Ðy¸bŠô´oŬ¬Ž²Ês~€€]®tªašpŎJ¨Öº„_ŠŔ–`’Ŗ^Ѝ\\Ĝu–”~m²Ƹ›¸fW‰ĦrƔ}Î^gjdfÔ¡J}\\n C˜¦þWxªJRÔŠu¬ĨĨmF†dM{\\d\\ŠYÊ¢ú@@¦ª²SŠÜsC–}fNècbpRmlØ^g„d¢aÒ¢CZˆZxvÆ¶N¿’¢T@€uCœ¬^ĊðÄn|žlGl’™Rjsp¢ED}€Fio~ÔNŽ‹„~zkĘHVsDzßjƒŬŒŠŢ`Pûàl¢˜\\ÀœEhŽİgÞē X¼Pk–„|m"],encodeOffsets:[[118256,37017]]},properties:{cp:[113.665412,34.757975],name:"河南",childNum:1}},{id:"420000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@AB‚"],["@@lskt"],["@@¾«}{ra®pîÃ\\™›{øCŠËyyB±„b\\›ò˜Ý˜jK›‡L ]ĎĽÌ’JyÚCƈćÎT´Å´pb©È‘dFin~BCo°BĎĚømvŒ®E^vǾ½Ĝ²Ro‚bÜeNŽ„^ĺ£R†¬lĶ÷YoĖ¥Ě¾|sOr°jY`~I”¾®I†{GqpCgyl{‡£œÍƒÍyPL“¡ƒ¡¸kW‡xYlÙ抚ŁĢzœ¾žV´W¶ùŸo¾ZHxjwfx„GNÁ•³Xéæl¶‰EièIH‰ u’jÌQ~v|sv¶Ôi|ú¢Fh˜Qsğ¦ƒSiŠBg™ÐE^ÁÐ{–čnOÂȞUÎóĔ†ÊēIJ}Z³½Mŧïeyp·uk³DsѨŸL“¶_œÅuèw»—€¡WqÜ]\\‘Ò§tƗcÕ¸ÕFÏǝĉăxŻČƟO‡ƒKÉġÿ×wg”÷IÅzCg†]m«ªGeçÃTC’«[‰t§{loWeC@ps_Bp‘­r‘„f_``Z|ei¡—oċMqow€¹DƝӛDYpûs•–‹Ykıǃ}s¥ç³[§ŸcYŠ§HK„«Qy‰]¢“wwö€¸ïx¼ņ¾Xv®ÇÀµRĠЋžHMž±cÏd„ƒǍũȅȷ±DSyúĝ£ŤĀàtÖÿï[îb\\}pĭÉI±Ñy…¿³x¯N‰o‰|¹H™ÏÛm‹júË~Tš•u˜ęjCöAwě¬R’đl¯ Ñb­‰ŇT†Ŀ_[Œ‘IčĄʿnM¦ğ\\É[T·™k¹œ©oĕ@A¾w•ya¥Y\\¥Âaz¯ãÁ¡k¥ne£Ûw†E©Êō¶˓uoj_Uƒ¡cF¹­[Wv“P©w—huÕyBF“ƒ`R‹qJUw\\i¡{jŸŸEPïÿ½fć…QÑÀQ{ž‚°‡fLԁ~wXg—ītêݾ–ĺ‘Hdˆ³fJd]‹HJ²…E€ƒoU¥†HhwQsƐ»Xmg±çve›]Dm͂PˆoCc¾‹_h”–høYrŊU¶eD°Č_N~øĹĚ·`z’]Äþp¼…äÌQŒv\\rCŒé¾TnkžŐڀÜa‡“¼ÝƆĢ¶Ûo…d…ĔňТJq’Pb ¾|JŒ¾fXŠƐîĨ_Z¯À}úƲ‹N_ĒĊ^„‘ĈaŐyp»CÇĕKŠšñL³ŠġMŒ²wrIÒŭxjb[œžn«øœ˜—æˆàƒ ^²­h¯Ú€ŐªÞ¸€Y²ĒVø}Ā^İ™´‚LŠÚm„¥ÀJÞ{JVŒųÞŃx×sxxƈē ģMř–ÚðòIf–Ċ“Œ\\Ʈ±ŒdʧĘD†vČ_Àæ~DŒċ´A®µ†¨ØLV¦êHÒ¤"]],encodeOffsets:[[[113712,34e3]],[[115612,30507]],[[113649,34054]]]},properties:{cp:[114.298572,30.584355],name:"湖北",childNum:3}},{id:"430000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@—n„FTs"],["@@ßÅÆችÔXr—†CO™“…ËR‘ïÿĩ­TooQyšÓ[‹ŅBE¬–ÎÓXa„į§Ã¸G °ITxp‰úxÚij¥Ïš–Ģ¾ŠedžÄ©ĸG…œàGh‚€M¤–Â_U}Ċ}¢pczfŠþg¤€”ÇòAV‘‹M"],["@@©K—ƒA·³CQ±Á«³BUŠƑ¹AŠtćOw™D]ŒJiØSm¯b£‘ylƒ›X…HËѱH•«–‘C^õľA–Å§¤É¥„ïyuǙuA¢^{ÌC´­¦ŷJ£^[†“ª¿‡ĕ~•Ƈ…•N… skóā‡¹¿€ï]ă~÷O§­@—Vm¡‹Qđ¦¢Ĥ{ºjԏŽŒª¥nf´•~ÕoŸž×Ûą‹MąıuZœmZcÒ IJĪ²SÊDŽŶ¨ƚƒ’CÖŎªQؼrŭŽ­«}NÏürʬŒmjr€@ĘrTW ­SsdHzƓ^ÇÂyUi¯DÅYlŹu{hTœ}mĉ–¹¥ě‰Dÿë©ıÓ[Oº£ž“¥ót€ł¹MՄžƪƒ`Pš…Di–ÛUŠ¾Å‌ìˆU’ñB“È£ýhe‰dy¡oċ€`pfmjP~‚kZa…ZsÐd°wj§ƒ@€Ĵ®w~^‚kÀÅKvNmX\\¨a“”сqvíó¿F„¤¡@ũÑVw}S@j}¾«pĂr–ªg àÀ²NJ¶¶Dô…K‚|^ª†Ž°LX¾ŴäPĪ±œ£EXd›”^¶›IJÞܓ~‘u¸ǔ˜Ž›MRhsR…e†`ÄofIÔ\\Ø  i”ćymnú¨cj ¢»–GČìƊÿШXeĈĀ¾Oð Fi ¢|[jVxrIQŒ„_E”zAN¦zLU`œcªx”OTu RLÄ¢dV„i`p˔vŎµªÉžF~ƒØ€d¢ºgİàw¸Áb[¦Zb¦–z½xBĖ@ªpº›šlS¸Ö\\Ĕ[N¥ˀmĎă’J\\‹ŀ`€…ňSڊĖÁĐiO“Ĝ«BxDõĚiv—ž–S™Ì}iùŒžÜnšÐºGŠ{Šp°M´w†ÀÒzJ²ò¨ oTçüöoÛÿñŽőФ‚ùTz²CȆȸǎŪƒƑÐc°dPÎŸğ˶[Ƚu¯½WM¡­Éž“’B·rížnZŸÒ `‡¨GA¾\\pē˜XhÆRC­üWGġu…T靧Ŏѝ©ò³I±³}_‘‹EÃħg®ęisÁPDmÅ{‰b[Rşs·€kPŸŽƥƒóRo”O‹ŸVŸ~]{g\\“êYƪ¦kÝbiċƵŠGZ»Ěõ…ó·³vŝž£ø@pyö_‹ëŽIkѵ‡bcѧy…×dY؎ªiþž¨ƒ[]f]Ņ©C}ÁN‡»hĻħƏ’ĩ"]],encodeOffsets:[[[115640,30489]],[[112543,27312]],[[116690,26230]]]},properties:{cp:[112.982279,28.19409],name:"湖南",childNum:3}},{id:"440000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@QdˆAua"],["@@ƒlxDLo"],["@@sbhNLo"],["@@Ă āŸ"],["@@WltO[["],["@@Krœ]S"],["@@e„„I]y"],["@@I|„Mym"],["@@ƒÛ³LSŒž¼Y"],["@@nvºB–ëui©`¾"],["@@zdšÛ›Jw®"],["@@†°…¯"],["@@a yAª¸ËJIx،@€ĀHAmßV¡o•fu•o"],["@@šs‰ŗÃÔėAƁ›ZšÄ ~°ČP‚‹äh"],["@@‹¶Ý’Ì‚vmĞh­ı‡Q"],["@@HœŠdSjĒ¢D}war…“u«ZqadYM"],["@@elŒ\\LqqU"],["@@~rMo\\"],["@@f„^ƒC"],["@@øPªoj÷ÍÝħXČx”°Q¨ıXNv"],["@@gÇƳˆŽˆ”oˆŠˆ[~tly"],["@@E–ÆC¿‘"],["@@OŽP"],["@@w‹†đóg‰™ĝ—[³‹¡VÙæÅöM̳¹pÁaËýý©D©Ü“JŹƕģGą¤{Ùū…ǘO²«BƱéA—Ò‰ĥ‡¡«BhlmtÃPµyU¯uc“d·w_bŝcīímGOŽ|KP’ȏ‡ŹãŝIŕŭŕ@Óoo¿ē‹±ß}Ž…ŭ‚ŸIJWÈCőâUâǙI›ğʼn©I›ijEׅÁ”³Aó›wXJþ±ÌŒÜӔĨ£L]ĈÙƺZǾĆĖMĸĤfŒÎĵl•ŨnȈ‘ĐtF”Š–FĤ–‚êk¶œ^k°f¶gŠŽœ}®Fa˜f`vXŲxl˜„¦–ÔÁ²¬ÐŸ¦pqÊ̲ˆi€XŸØRDÎ}†Ä@ZĠ’s„x®AR~®ETtĄZ†–ƈfŠŠHâÒÐA†µ\\S¸„^wĖkRzŠalŽŜ|E¨ÈNĀňZTŒ’pBh£\\ŒĎƀuXĖtKL–¶G|Ž»ĺEļĞ~ÜĢÛĊrˆO˜Ùîvd]nˆ¬VœÊĜ°R֟pM††–‚ƂªFbwžEÀˆ˜©Œž\\…¤]ŸI®¥D³|ˎ]CöAŤ¦…æ’´¥¸Lv¼€•¢ĽBaô–F~—š®²GÌҐEY„„œzk¤’°ahlV՞I^‹šCxĈPŽsB‰ƒºV‰¸@¾ªR²ĨN]´_eavSi‡vc•}p}Đ¼ƌkJœÚe thœ†_¸ ºx±ò_xN›Ë‹²‘@ƒă¡ßH©Ùñ}wkNÕ¹ÇO½¿£ĕ]ly_WìIžÇª`ŠuTÅxYĒÖ¼k֞’µ‚MžjJÚwn\\h‘œĒv]îh|’È›Ƅøègž¸Ķß ĉĈWb¹ƀdéʌNTtP[ŠöSvrCZžžaGuœbo´ŖÒÇА~¡zCI…özx¢„Pn‹•‰Èñ @ŒĥÒ¦†]ƞŠV}³ăĔñiiÄÓVépKG½Ä‘ÓávYo–C·sit‹iaÀy„ŧΡÈYDÑům}‰ý|m[węõĉZÅxUO}÷N¹³ĉo_qtă“qwµŁYلǝŕ¹tïÛUïmRCº…ˆĭ|µ›ÕÊK™½R‘ē ó]‘–GªęAx–»HO£|ām‡¡diď×YïYWªʼnOeÚtĐ«zđ¹T…ā‡úE™á²\\‹ķÍ}jYàÙÆſ¿Çdğ·ùTßÇţʄ¡XgWÀLJğ·¿ÃˆOj YÇ÷Qě‹i"]],encodeOffsets:[[[117381,22988]],[[116552,22934]],[[116790,22617]],[[116973,22545]],[[116444,22536]],[[116931,22515]],[[116496,22490]],[[116453,22449]],[[113301,21439]],[[118726,21604]],[[118709,21486]],[[113210,20816]],[[115482,22082]],[[113171,21585]],[[113199,21590]],[[115232,22102]],[[115739,22373]],[[115134,22184]],[[113056,21175]],[[119573,21271]],[[119957,24020]],[[115859,22356]],[[116561,22649]],[[116285,22746]]]},properties:{cp:[113.280637,23.125178],name:"广东",childNum:24}},{id:"450000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@H– TQ§•A"],["@@ĨʪƒLƒƊDÎĹĐCǦė¸zÚGn£¾›rªŀÜt¬@֛ڈSx~øOŒ˜ŶÐÂæȠ\\„ÈÜObĖw^oބLf¬°bI lTØB̈F£Ć¹gñĤaY“t¿¤VSñœK¸¤nM†¼‚JE±„½¸šŠño‹ÜCƆæĪ^ŠĚQÖ¦^‡ˆˆf´Q†üÜʝz¯šlzUĺš@쇀p¶n]sxtx¶@„~ÒĂJb©gk‚{°‚~c°`ԙ¬rV\\“la¼¤ôá`¯¹LC†ÆbŒxEræO‚v[H­˜„[~|aB£ÖsºdAĐzNÂðsŽÞƔ…Ĥªbƒ–ab`ho¡³F«èVloŽ¤™ÔRzpp®SŽĪº¨ÖƒºN…ij„d`’a”¦¤F³ºDÎńĀìŠCžĜº¦Ċ•~nS›|gźvZkCÆj°zVÈÁƔ]LÊFZg…čP­kini«‹qǀcz͔Y®¬Ů»qR×ō©DՄ‘§ƙǃŵTÉĩ±ŸıdÑnYY›IJvNĆƌØÜ Öp–}e³¦m‹©iÓ|¹Ÿħņ›|ª¦QF¢Â¬ʖovg¿em‡^ucà÷gՎuŒíÙćĝ}FĻ¼Ĺ{µHK•sLSđƃr‹č¤[Ag‘oS‹ŇYMÿ§Ç{Fśbky‰lQxĕƒ]T·¶[B…ÑÏGáşşƇe€…•ăYSs­FQ}­Bƒw‘tYğÃ@~…C̀Q ×W‡j˱rÉ¥oÏ ±«ÓÂ¥•ƒ€k—ŽwWűŒmcih³K›~‰µh¯e]lµ›él•Eģ‰•E“ďs‡’mǖŧē`ãògK_ÛsUʝ“ćğ¶hŒöŒO¤Ǜn³Žc‘`¡y‹¦C‘ez€YŠwa™–‘[ďĵűMę§]X˜Î_‚훘Û]é’ÛUćİÕBƣ±…dƒy¹T^džûÅÑŦ·‡PĻþÙ`K€¦˜…¢ÍeœĥR¿Œ³£[~Œäu¼dl‰t‚†W¸oRM¢ď\\zœ}Æzdvň–{ÎXF¶°Â_„ÒÂÏL©Ö•TmuŸ¼ãl‰›īkiqéfA„·Êµ\\őDc¥ÝF“y›Ôć˜c€űH_hL܋êĺШc}rn`½„Ì@¸¶ªVLŒŠhŒ‹\\•Ţĺk~ŽĠið°|gŒtTĭĸ^x‘vK˜VGréAé‘bUu›MJ‰VÃO¡…qĂXËS‰ģãlýàŸ_ju‡YÛÒB†œG^˜é֊¶§ŽƒEG”ÅzěƒƯ¤Ek‡N[kdåucé¬dnYpAyČ{`]þ¯T’bÜÈk‚¡Ġ•vŒàh„ÂƄ¢J"]],encodeOffsets:[[[111707,21520]],[[107619,25527]]]},properties:{cp:[108.320004,22.82402],name:"广西",childNum:2}},{id:"460000",type:"Feature",geometry:{type:"Polygon",coordinates:["@@š¦Ŝil¢”XƦ‘ƞò–ïè§ŞCêɕrŧůÇąĻõ™·ĉ³œ̅kÇm@ċȧƒŧĥ‰Ľʉ­ƅſ“ȓÒ˦ŝE}ºƑ[ÍĜȋ gÎfǐÏĤ¨êƺ\\Ɔ¸ĠĎvʄȀœÐ¾jNðĀÒRŒšZdž™zÐŘΰH¨Ƣb²_Ġ "],encodeOffsets:[[112750,20508]]},properties:{cp:[110.33119,20.031971],name:"海南",childNum:1}},{id:"510000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@LqKr"],["@@Š[ĻéV£ž_ţġñpG •réÏ·~ąSfy×͂·ºſƽiÍıƣıĻmHH}siaX@iÇ°ÁÃ×t«ƒ­Tƒ¤J–JJŒyJ•ÈŠ`Ohߦ¡uËhIyCjmÿw…ZG……Ti‹SˆsO‰žB²ŸfNmsPaˆ{M{ŠõE‘^Hj}gYpaeuž¯‘oáwHjÁ½M¡pM“–uå‡mni{fk”\\oƒÎqCw†EZ¼K›ĝŠƒAy{m÷L‡wO×SimRI¯rK™õBS«sFe‡]fµ¢óY_ÆPRcue°Cbo׌bd£ŌIHgtrnyPt¦foaXďx›lBowz‹_{ÊéWiêE„GhܸºuFĈIxf®Ž•Y½ĀǙ]¤EyŸF²ċ’w¸¿@g¢§RGv»–áŸW`ÃĵJwi]t¥wO­½a[׈]`Ãi­üL€¦LabbTÀå’c}Íh™Æhˆ‹®BH€î|Ék­¤S†y£„ia©taį·Ɖ`ō¥Uh“O…ƒĝLk}©Fos‰´›Jm„µlŁu—…ø–nÑJWΪ–YÀïAetTžŅ‚ӍG™Ë«bo‰{ıwodƟ½ƒžOġܑµxàNÖ¾P²§HKv¾–]|•B‡ÆåoZ`¡Ø`ÀmºĠ~ÌЧnDž¿¤]wğ@sƒ‰rğu‰~‘Io”[é±¹ ¿žſđӉ@q‹gˆ¹zƱřaí°KtǤV»Ã[ĩǭƑ^ÇÓ@ỗs›Zϕ‹œÅĭ€Ƌ•ěpwDóÖሯneQˌq·•GCœýS]xŸ·ý‹q³•O՜Œ¶Qzßti{ř‰áÍÇWŝŭñzÇW‹pç¿JŒ™‚Xœĩè½cŒF–ÂLiVjx}\\N†ŇĖ¥Ge–“JA¼ÄHfÈu~¸Æ«dE³ÉMA|b˜Ò…˜ćhG¬CM‚õŠ„ƤąAvƒüV€éŀ‰_V̳ĐwQj´·ZeÈÁ¨X´Æ¡Qu·»Ÿ“˜ÕZ³ġqDo‰y`L¬gdp°şŠp¦ėìÅĮZŽ°Iä”h‚‘ˆzŠĵœf²å ›ĚрKp‹IN|‹„Ñz]ń……·FU×é»R³™MƒÉ»GM«€ki€™ér™}Ã`¹ăÞmȝnÁîRǀ³ĜoİzŔwǶVÚ£À]ɜ»ĆlƂ²Ġ…þTº·àUȞÏʦ¶†I’«dĽĢdĬ¿–»Ĕ׊h\\c¬†ä²GêëĤł¥ÀǿżÃÆMº}BÕĢyFVvw–ˆxBèĻĒ©Ĉ“tCĢɽŠȣ¦āæ·HĽî“ôNԓ~^¤Ɗœu„œ^s¼{TA¼ø°¢İªDè¾Ň¶ÝJ‘®Z´ğ~Sn|ªWÚ©òzPOȸ‚bð¢|‹øĞŠŒœŒQìÛÐ@Ğ™ǎRS¤Á§d…i“´ezÝúØã]Hq„kIŸþËQǦÃsǤ[E¬ÉŪÍxXƒ·ÖƁİlƞ¹ª¹|XÊwn‘ÆƄmÀêErĒtD®ċæcQƒ”E®³^ĭ¥©l}äQto˜ŖÜqƎkµ–„ªÔĻĴ¡@Ċ°B²Èw^^RsºTĀ£ŚæœQP‘JvÄz„^Đ¹Æ¯fLà´GC²‘dt˜­ĀRt¼¤ĦOðğfÔðDŨŁĞƘïžPȆ®âbMüÀXZ ¸£@Ś›»»QÉ­™]d“sÖ×_͖_ÌêŮPrĔĐÕGĂeZÜîĘqBhtO ¤tE[h|Y‹Ô‚ZśÎs´xº±UŒ’ñˆt|O’ĩĠºNbgþŠJy^dÂY Į„]Řz¦gC‚³€R`ĀŠz’¢AjŒ¸CL„¤RÆ»@­Ŏk\\Ç´£YW}z@Z}‰Ã¶“oû¶]´^N‡Ò}èN‚ª–P˜Íy¹`S°´†ATe€VamdUĐwʄvĮÕ\\ƒu‹Æŗ¨Yp¹àZÂm™Wh{á„}WØǍ•Éüw™ga§áCNęÎ[ĀÕĪgÖɪX˜øx¬½Ů¦¦[€—„NΆL€ÜUÖ´òrÙŠxR^–†J˜k„ijnDX{Uƒ~ET{ļº¦PZc”jF²Ė@Žp˜g€ˆ¨“B{ƒu¨ŦyhoÚD®¯¢˜ WòàFΤ¨GDäz¦kŮPœġq˚¥À]€Ÿ˜eŽâÚ´ªKxī„Pˆ—Ö|æ[xäJÞĥ‚s’NÖ½ž€I†¬nĨY´®Ð—ƐŠ€mD™ŝuäđđEb…e’e_™v¡}ìęNJē}q”É埁T¯µRs¡M@}ůa†a­¯wvƉåZwž\\Z{åû^›"]],encodeOffsets:[[[108815,30935]],[[110617,31811]]]},properties:{cp:[104.065735,30.659462],name:"四川",childNum:2}},{id:"520000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@†G\\†lY£‘in"],["@@q‚|ˆ‚mc¯tχVSÎ"],["@@hÑ£Is‡NgßH†›HªķÃh_¹ƒ¡ĝħń¦uيùŽgS¯JHŸ|sÝÅtÁïyMDč»eÕtA¤{b\\}—ƒG®u\\åPFq‹wÅaD…žK°ºâ_£ùbµ”mÁ‹ÛœĹM[q|hlaªāI}тƒµ@swtwm^oµˆD鼊yV™ky°ÉžûÛR…³‚‡eˆ‡¥]RՋěħ[ƅåÛDpŒ”J„iV™™‰ÂF²I…»mN·£›LbÒYb—WsÀbŽ™pki™TZĄă¶HŒq`……ĥ_JŸ¯ae«ƒKpÝx]aĕÛPƒÇȟ[ÁåŵÏő—÷Pw}‡TœÙ@Õs«ĿÛq©½œm¤ÙH·yǥĘĉBµĨÕnđ]K„©„œá‹ŸG纍§Õßg‡ǗĦTèƤƺ{¶ÉHÎd¾ŚÊ·OÐjXWrãLyzÉAL¾ę¢bĶėy_qMĔąro¼hĊžw¶øV¤w”²Ĉ]ʚKx|`ź¦ÂÈdr„cȁbe¸›`I¼čTF´¼Óýȃr¹ÍJ©k_șl³´_pН`oÒhŽ¶pa‚^ÓĔ}D»^Xyœ`d˜[Kv…JPhèhCrĂĚÂ^Êƌ wˆZL­Ġ£šÁbrzOIl’MM”ĪŐžËr×ÎeŦŽtw|Œ¢mKjSǘňĂStÎŦEtqFT†¾†E쬬ôxÌO¢Ÿ KŠ³ŀºäY†„”PVgŎ¦Ŋm޼VZwVlŒ„z¤…ž£Tl®ctĽÚó{G­A‡ŒÇgeš~Αd¿æaSba¥KKûj®_ć^\\ؾbP®¦x^sxjĶI_Ä X‚⼕Hu¨Qh¡À@Ëô}Ž±žGNìĎlT¸ˆ…`V~R°tbÕĊ`¸úÛtπFDu€[ƒMfqGH·¥yA‰ztMFe|R‚_Gk†ChZeÚ°to˜v`x‹b„ŒDnÐ{E}šZ˜è€x—†NEފREn˜[Pv@{~rĆAB§‚EO¿|UZ~ì„Uf¨J²ĂÝƀ‚sª–B`„s¶œfvö¦ŠÕ~dÔq¨¸º»uù[[§´sb¤¢zþFœ¢Æ…Àhˆ™ÂˆW\\ıŽËI݊o±ĭŠ£þˆÊs}¡R]ŒěƒD‚g´VG¢‚j±®è†ºÃmpU[Á›‘Œëº°r›ÜbNu¸}Žº¼‡`ni”ºÔXĄ¤¼Ôdaµ€Á_À…†ftQQgœR—‘·Ǔ’v”}Ýלĵ]µœ“Wc¤F²›OĩųãW½¯K‚©…]€{†LóµCIµ±Mß¿hŸ•©āq¬o‚½ž~@i~TUxŪÒ¢@ƒ£ÀEîôruń‚”“‚b[§nWuMÆLl¿]x}ij­€½"]],encodeOffsets:[[[112158,27383]],[[112105,27474]],[[112095,27476]]]},properties:{cp:[106.713478,26.578343],name:"贵州",childNum:3}},{id:"530000",type:"Feature",geometry:{type:"Polygon",coordinates:["@@[„ùx½}ÑRH‘YīĺûsÍn‘iEoã½Ya²ė{c¬ĝg•ĂsA•ØÅwď‚õzFjw}—«Dx¿}UũlŸê™@•HÅ­F‰¨ÇoJ´Ónũuą¡Ã¢pÒŌ“Ø TF²‚xa²ËX€‚cʋlHîAßËŁkŻƑŷÉ©h™W­æßU‡“Ës¡¦}•teèƶStǀÇ}Fd£j‹ĈZĆÆ‹¤T‚č\\Dƒ}O÷š£Uˆ§~ŃG™‚åŃDĝ¸œTsd¶¶Bªš¤u¢ŌĎo~t¾ÍŶÒtD¦Ú„iôö‰€z›ØX²ghįh½Û±¯€ÿm·zR¦Ɵ`ªŊÃh¢rOԍ´£Ym¼èêf¯ŪĽn„†cÚbŒw\\zlvWžªâˆ ¦g–mĿBş£¢ƹřbĥkǫßeeZkÙIKueT»sVesb‘aĕ  ¶®dNœĄÄpªyŽ¼—„³BE˜®l‡ŽGœŭCœǶwêżĔÂe„pÍÀQƞpC„–¼ŲÈ­AÎô¶R„ä’Q^Øu¬°š_Èôc´¹ò¨P΢hlϦ´Ħ“Æ´sâDŽŲPnÊD^¯°’Upv†}®BP̪–jǬx–Söwlfòªv€qĸ|`H€­viļ€ndĜ­Ćhň•‚em·FyށqóžSį¯‘³X_ĞçêtryvL¤§z„¦c¦¥jnŞk˜ˆlD¤øz½ĜàžĂŧMÅ|áƆàÊcðÂF܎‚áŢ¥\\\\º™İøÒÐJĴ‡„îD¦zK²ǏÎEh~’CD­hMn^ÌöÄ©ČZÀžaü„fɭyœpį´ěFűk]Ôě¢qlÅĆÙa¶~Äqššê€ljN¬¼H„ÊšNQ´ê¼VظE††^ŃÒyŒƒM{ŒJLoÒœęæŸe±Ķ›y‰’‡gã“¯JYÆĭĘëo¥Š‰o¯hcK«z_pŠrC´ĢÖY”—¼ v¸¢RŽÅW³Â§fǸYi³xR´ďUˊ`êĿU„û€uĆBƒƣö‰N€DH«Ĉg†——Ñ‚aB{ÊNF´¬c·Åv}eÇÃGB»”If•¦HňĕM…~[iwjUÁKE•Ž‹¾dĪçW›šI‹èÀŒoÈXòyŞŮÈXâÎŚŠj|àsRy‹µÖ›–Pr´þŒ ¸^wþTDŔ–Hr¸‹žRÌmf‡żÕâCôox–ĜƌÆĮŒ›Ð–œY˜tâŦÔ@]ÈǮƒ\\Ī¼Ä£UsȯLbîƲŚºyh‡rŒŠ@ĒԝƀŸÀ²º\\êp“’JŠ}ĠvŠqt„Ġ@^xÀ£È†¨mËÏğ}n¹_¿¢×Y_æpˆÅ–A^{½•Lu¨GO±Õ½ßM¶w’ÁĢۂP‚›Ƣ¼pcIJxŠ|ap̬HšÐŒŊSfsðBZ¿©“XÏÒK•k†÷Eû¿‰S…rEFsÕūk”óVǥʼniTL‚¡n{‹uxţÏh™ôŝ¬ğōN“‘NJkyPaq™Âğ¤K®‡YŸxÉƋÁ]āęDqçgOg†ILu—\\_gz—]W¼ž~CÔē]bµogpў_oď`´³Țkl`IªºÎȄqÔþž»E³ĎSJ»œ_f·‚adÇqƒÇc¥Á_Źw{™L^ɱćx“U£µ÷xgĉp»ĆqNē`rĘzaĵĚ¡K½ÊBzyäKXqiWPÏɸ½řÍcÊG|µƕƣG˛÷Ÿk°_^ý|_zċBZocmø¯hhcæ\\lˆMFlư£Ĝ„ÆyH“„F¨‰µêÕ]—›HA…àӄ^it `þßäkŠĤÎT~Wlÿ¨„ÔPzUC–NVv [jâôDôď[}ž‰z¿–msSh‹¯{jïğl}šĹ[–őŒ‰gK‹©U·µË@¾ƒm_~q¡f¹…ÅË^»‘f³ø}Q•„¡Ö˳gͱ^ǁ…\\ëÃA_—¿bW›Ï[¶ƛ鏝£F{īZgm@|kHǭƁć¦UĔťƒ×ë}ǝƒeďºȡȘÏíBə£āĘPªij¶“ʼnÿ‡y©n‰ď£G¹¡I›Š±LÉĺÑdĉ܇W¥˜‰}g˜Á†{aqÃ¥aŠıęÏZ—ï`"],encodeOffsets:[[104636,22969]]},properties:{cp:[102.712251,25.040609],name:"云南",childNum:1}},{id:"540000",type:"Feature",geometry:{type:"Polygon",coordinates:["@@hžľxŽŖ‰xƒÒVŽ†ºÅâAĪÝȆµę¯Ňa±r_w~uSÕň‘qOj]ɄQ…£Z……UDûoY’»©M[‹L¼qãË{V͕çWViŽ]ë©Ä÷àyƛh›ÚU°ŒŒa”d„cQƒ~Mx¥™cc¡ÙaSyF—ցk­ŒuRýq¿Ôµ•QĽ³aG{¿FµëªéĜÿª@¬·–K‰·àariĕĀ«V»Ŷ™Ĵū˜gèLǴŇƶaf‹tŒèBŚ£^Šâ†ǐÝ®–šM¦ÁǞÿ¬LhŸŽJ¾óƾƺcxw‹f]Y…´ƒ¦|œQLn°aœdĊ…œ\\¨o’œǀÍŎœ´ĩĀd`tÊQŞŕ|‚¨C^©œĈ¦„¦ÎJĊ{ŽëĎjª²rЉšl`¼Ą[t|¦St辉PŒÜK¸€d˜Ƅı]s¤—î_v¹ÎVòŦj˜£Əsc—¬_Ğ´|Ł˜¦AvŽ¦w`ăaÝaa­¢e¤ı²©ªSªšÈMĄwžÉØŔì@T‘¤—Ę™\\õª@”þo´­xA s”ÂtŎKzó´ÇĊµ¢rž^nĊ­Æ¬×üGž¢‚³ {âĊ]š™G‚~bÀgVjzlhǶf€žOšfdŠ‰ªB]pj„•TO–tĊ‚n¤}®¦ƒČ¥d¢¼»ddš”Y¼Žt—¢eȤJ¤}Ǿ¡°§¤AГlc@ĝ”sªćļđAç‡wx•UuzEÖġ~AN¹ÄÅȀŻ¦¿ģŁéì±H…ãd«g[؉¼ēÀ•cīľġ¬cJ‘µ…ÐʥVȝ¸ßS¹†ý±ğkƁ¼ą^ɛ¤Ûÿ‰b[}¬ōõÃ]ËNm®g@•Bg}ÍF±ǐyL¥íCˆƒIij€Ï÷њį[¹¦[⚍EÛïÁÉdƅß{âNÆāŨߝ¾ě÷yC£‡k­´ÓH@¹†TZ¥¢įƒ·ÌAЧ®—Zc…v½ŸZ­¹|ŕWZqgW“|ieZÅYVӁqdq•bc²R@†c‡¥Rã»Ge†ŸeƃīQ•}J[ғK…¬Ə|o’ėjġĠÑN¡ð¯EBčnwôɍėªƒ²•CλŹġǝʅįĭạ̃ūȹ]ΓͧgšsgȽóϧµǛ†ęgſ¶ҍć`ĘąŌJޚä¤rÅň¥ÖÁUětęuůÞiĊÄÀ\\Æs¦ÓRb|Â^řÌkÄŷ¶½÷‡f±iMݑ›‰@ĥ°G¬ÃM¥n£Øą‚ğ¯ß”§aëbéüÑOčœk£{\\‘eµª×M‘šÉfm«Ƒ{Å׃Gŏǩãy³©WÑăû‚··‘Q—òı}¯ã‰I•éÕÂZ¨īès¶ZÈsŽæĔTŘvŽgÌsN@îá¾ó@‰˜ÙwU±ÉT廣TđŸWxq¹Zo‘b‹s[׌¯cĩv‡Œėŧ³BM|¹k‰ªħ—¥TzNYnݍßpęrñĠĉRS~½ŠěVVŠµ‚õ‡«ŒM££µB•ĉ¥áºae~³AuĐh`Ü³ç@BۘïĿa©|z²Ý¼D”£àč²‹ŸƒIƒû›I ā€óK¥}rÝ_Á´éMaň¨€~ªSĈ½Ž½KÙóĿeƃÆBŽ·¬ën×W|Uº}LJrƳ˜lŒµ`bÔ`QˆˆÐÓ@s¬ñIŒÍ@ûws¡åQÑßÁ`ŋĴ{Ī“T•ÚÅTSij‚‹Yo|Ç[ǾµMW¢ĭiÕØ¿@˜šMh…pÕ]j†éò¿OƇĆƇp€êĉâlØw–ěsˆǩ‚ĵ¸c…bU¹ř¨WavquSMzeo_^gsÏ·¥Ó@~¯¿RiīB™Š\\”qTGªÇĜçPoŠÿfñòą¦óQīÈáP•œābß{ƒZŗĸIæńhnszÁCËìñšÏ·ąĚÝUm®ó­L·ăU›Èíoù´Êj°ŁŤ_uµ^‘°Œìǖ@tĶĒ¡Æ‡M³Ģ«˜İĨÅ®ğ†RŽāð“ggheÆ¢z‚Ê©Ô\\°ÝĎz~ź¤Pn–MĪÖB£Ÿk™n鄧żćŠ˜ĆK„Ē°¼L¶è‰âz¨u¦¥LDĘz¬ýÎmĘd¾ß”Fz“hg²™Fy¦ĝ¤ċņbΛ@y‚Ąæm°NĮZRÖíŽJ²öLĸÒ¨Y®ƌÐV‰à˜tt_ڀÂyĠzž]Ţh€zĎ{†ĢX”ˆc|šÐqŽšfO¢¤ög‚ÌHNŽ„PKŖœŽ˜Uú´xx[xˆvĐCûĀŠìÖT¬¸^}Ìsòd´_Ž‡KgžLĴ…ÀBon|H@–Êx˜—¦BpŰˆŌ¿fµƌA¾zLjRxŠ¶F”œkĄźRzŀˆ~¶[”´Hnª–VƞuĒ­È¨ƎcƽÌm¸ÁÈM¦x͊ëÀxdžB’šú^´W†£–d„kɾĬpœw‚˂ØɦļĬIŚœÊ•n›Ŕa¸™~J°î”lɌxĤÊÈðhÌ®‚g˜T´øŽàCˆŽÀ^ªerrƘdž¢İP|Ė ŸWœªĦ^¶´ÂL„aT±üWƜ˜ǀRšŶUńšĖ[QhlLüA†‹Ü\\†qR›Ą©"],encodeOffsets:[[90849,37210]]},properties:{cp:[91.132212,29.660361],name:"西藏",childNum:1}},{id:"610000",type:"Feature",geometry:{type:"Polygon",coordinates:["@@˜p¢—ȮµšûG™Ħ}Ħšðǚ¶òƄ€jɂz°{ºØkÈęâ¦jª‚Bg‚\\œċ°s¬Ž’]jžú ‚E”Ȍdž¬s„t‡”RˆÆdĠݎwܔ¸ôW¾ƮłÒ_{’Ìšû¼„jº¹¢GǪÒ¯ĘƒZ`ºŊƒecņąš~BÂgzpâēòYǠȰÌTΨÂWœ|fcŸă§uF—Œ@NŸ¢XLƒŠRMº[ğȣſï|¥J™kc`sʼnǷ’Y¹‹W@µ÷K…ãï³ÛIcñ·VȋڍÒķø©—þ¥ƒy‚ÓŸğęmWµÎumZyOŅƟĥÓ~sÑL¤µaŅY¦ocyZ{‰y c]{ŒTa©ƒ`U_Ěē£ωÊƍKù’K¶ȱÝƷ§{û»ÅÁȹÍéuij|¹cÑd‘ŠìUYƒŽO‘uF–ÕÈYvÁCqӃT•Ǣí§·S¹NgŠV¬ë÷Át‡°Dد’C´ʼnƒópģ}„ċcE˅FŸŸéGU¥×K…§­¶³B‹Č}C¿åċ`wġB·¤őcƭ²ő[Å^axwQO…ÿEËߌ•ĤNĔŸwƇˆÄŠńwĪ­Šo[„_KÓª³“ÙnK‰Çƒěœÿ]ď€ă_d©·©Ýŏ°Ù®g]±„Ÿ‡ß˜å›—¬÷m\\›iaǑkěX{¢|ZKlçhLt€Ňîŵ€œè[€É@ƉĄEœ‡tƇÏ˜³­ħZ«mJ…›×¾‘MtÝĦ£IwÄå\\Õ{‡˜ƒOwĬ©LÙ³ÙgBƕŀr̛ĢŭO¥lãyC§HÍ£ßEñŸX¡—­°ÙCgpťz‘ˆb`wI„vA|§”‡—hoĕ@E±“iYd¥OĻ¹S|}F@¾oAO²{tfžÜ—¢Fǂ҈W²°BĤh^Wx{@„¬‚­F¸¡„ķn£P|ŸªĴ@^ĠĈæb–Ôc¶l˜Yi…–^Mi˜cĎ°Â[ä€vï¶gv@À“Ĭ·lJ¸sn|¼u~a]’ÆÈtŌºJp’ƒþ£KKf~Š¦UbyäIšĺãn‡Ô¿^­žŵMT–hĠܤko¼Ŏìąǜh`[tŒRd²IJ_œXPrɲ‰l‘‚XžiL§àƒ–¹ŽH˜°Ȧqº®QC—bA†„ŌJ¸ĕÚ³ĺ§ `d¨YjžiZvRĺ±öVKkjGȊĐePОZmļKÀ€‚[ŠŽ`ösìh†ïÎoĬdtKÞ{¬èÒÒBŒÔpIJÇĬJŊ¦±J«ˆY§‹@·pH€µàåVKe›pW†ftsAÅqC·¬ko«pHÆuK@oŸHĆۄķhx“e‘n›S³àǍrqƶRbzy€¸ËАl›¼EºpĤ¼Œx¼½~Ğ’”à@†ÚüdK^ˆmÌSj"],encodeOffsets:[[110234,38774]]},properties:{cp:[108.948024,34.263161],name:"陕西",childNum:1}},{id:"620000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@VuUv"],["@@ũ‹EĠtt~nkh`Q‰¦ÅÄÜdw˜Ab×ĠąJˆ¤DüègĺqBqœj°lI¡ĨÒ¤úSHbš‡ŠjΑBŠ°aZˆ¢KJŽ’O[|A£žDx}Nì•HUnrk„ kp€¼Y kMJn[aG‚áÚÏ[½rc†}aQxOgsPMnUs‡nc‹Z…ž–sKúvA›t„Þġ’£®ĀYKdnFwš¢JE°”Latf`¼h¬we|€Æ‡šbj}GA€·~WŽ”—`†¢MC¤tL©IJ°qdf”O‚“bÞĬ¹ttu`^ZúE`Œ[@„Æsîz®¡’C„ƳƜG²“R‘¢R’m”fŽwĸg܃‚ą G@pzJM½mŠhVy¸uÈÔO±¨{LfæU¶ßGĂq\\ª¬‡²I‚¥IʼnÈīoı‹ÓÑAçÑ|«LÝcspīðÍg…të_õ‰\\ĉñLYnĝg’ŸRǡÁiHLlõUĹ²uQjYi§Z_c¨Ÿ´ĹĖÙ·ŋI…ƒaBD˜­R¹ȥr—¯G•ºß„K¨jWk’ɱŠOq›Wij\\a­‹Q\\sg_ĆǛōëp»£lğۀgS•ŶN®À]ˆÓäm™ĹãJaz¥V}‰Le¤L„ýo‘¹IsŋÅÇ^‘Žbz…³tmEÁ´aŠ¹cčecÇN•ĊãÁ\\č¯—dNj•]j†—ZµkÓda•ćå]ğij@ ©O{¤ĸm¢ƒE·®ƒ«|@Xwg]Aģ±¯‡XǁÑdzªc›wQÚŝñsÕ³ÛV_ýƒ˜¥\\ů¥©¾÷w—Ž©WÕÊĩhÿÖÁRo¸V¬âDb¨šhûx–Ê×nj~Zâƒg|šXÁnßYoº§ZÅŘvŒ[„ĭÖʃuďxcVbnUSf…B¯³_Tzº—ΕO©çMÑ~Mˆ³]µ^püµ”ŠÄY~y@X~¤Z³€[Èōl@®Å¼£QKƒ·Di‹¡By‘ÿ‰Q_´D¥hŗyƒ^ŸĭÁZ]cIzý‰ah¹MĪğP‘s{ò‡‹‘²Vw¹t³Ŝˁ[ŽÑ}X\\gsFŸ£sPAgěp×ëfYHāďÖqēŭOÏë“dLü•\\iŒ”t^c®šRʺ¶—¢H°mˆ‘rYŸ£BŸ¹čIoľu¶uI]vģSQ{ƒUŻ”Å}QÂ|̋°ƅ¤ĩŪU ęĄžÌZҞ\\v˜²PĔ»ƢNHƒĂyAmƂwVmž`”]ȏb•”H`‰Ì¢²ILvĜ—H®¤Dlt_„¢JJÄämèÔDëþgºƫ™”aʎÌrêYi~ ÎݤNpÀA¾Ĕ¼b…ð÷’Žˆ‡®‚”üs”zMzÖĖQdȨý†v§Tè|ªH’þa¸|šÐ ƒwKĢx¦ivr^ÿ ¸l öæfƟĴ·PJv}n\\h¹¶v†·À|\\ƁĚN´Ĝ€çèÁz]ġ¤²¨QÒŨTIl‡ªťØ}¼˗ƦvÄùØE‹’«Fï˛Iq”ōŒTvāÜŏ‚íÛߜÛV—j³âwGăÂíNOŠˆŠPìyV³ʼnĖýZso§HіiYw[߆\\X¦¥c]ÔƩÜ·«j‡ÐqvÁ¦m^ċ±R™¦΋ƈťĚgÀ»IïĨʗƮŽ°Ɲ˜ĻþÍAƉſ±tÍEÕÞāNU͗¡\\ſčåÒʻĘm ƭÌŹöʥ’ëQ¤µ­ÇcƕªoIýˆ‰Iɐ_mkl³ă‰Ɠ¦j—¡Yz•Ňi–}Msßõ–īʋ —}ƒÁVmŸ_[n}eı­Uĥ¼‘ª•I{ΧDӜƻėoj‘qYhĹT©oūĶ£]ďxĩ‹ǑMĝ‰q`B´ƃ˺Ч—ç~™²ņj@”¥@đ´ί}ĥtPńǾV¬ufӃÉC‹tÓ̻‰…¹£G³€]ƖƾŎĪŪĘ̖¨ʈĢƂlɘ۪üºňUðǜȢƢż̌ȦǼ‚ĤŊɲĖ­Kq´ï¦—ºĒDzņɾªǀÞĈĂD†½ĄĎÌŗĞrôñnŽœN¼â¾ʄľԆ|DŽŽ֦ज़ȗlj̘̭ɺƅêgV̍ʆĠ·ÌĊv|ýĖÕWĊǎÞ´õ¼cÒÒBĢ͢UĜð͒s¨ňƃLĉÕÝ@ɛƯ÷¿Ľ­ĹeȏijëCȚDŲyê×Ŗyò¯ļcÂßY…tÁƤyAã˾J@ǝrý‹‰@¤…rz¸oP¹ɐÚyᐇHŸĀ[Jw…cVeȴϜ»ÈŽĖ}ƒŰŐèȭǢόĀƪÈŶë;Ñ̆ȤМľĮEŔ—ĹŊũ~ËUă{ŸĻƹɁύȩþĽvĽƓÉ@ē„ĽɲßǐƫʾǗĒpäWÐxnsÀ^ƆwW©¦cÅ¡Ji§vúF¶Ž¨c~c¼īŒeXǚ‹\\đ¾JŽwÀďksãA‹fÕ¦L}wa‚o”Z’‹D½†Ml«]eÒÅaɲáo½FõÛ]ĻÒ¡wYR£¢rvÓ®y®LF‹LzĈ„ôe]gx}•|KK}xklL]c¦£fRtív¦†PĤoH{tK"]],encodeOffsets:[[[108619,36299]],[[108589,36341]]]},properties:{cp:[103.823557,36.058039],name:"甘肃",childNum:2}},{id:"630000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@InJm"],["@@CƒÆ½OŃĦsΰ~Ē³¦@@“Ņiš±è}ؘƄ˹A³r_ĞŠǒNĪŒĐw¤^ŬĵªpĺSZg’rpiƼĘԛ¨C|͖J’©Ħ»®VIJ~f\\m `Un„˜~ʌŸ•ĬàöNt•~ňjy–¢Zi˜Ɣ¥ĄŠk´nl`JʇŠJþ©pdƖ®È£¶ìRʦ‘źõƮËnŸʼėæÑƀĎ[‚˜¢VÎĂMÖÝÎF²sƊƀÎBļýƞ—¯ʘƭðħ¼Jh¿ŦęΌƇš¥²Q]Č¥nuÂÏriˆ¸¬ƪÛ^Ó¦d€¥[Wà…x\\ZŽjҕ¨GtpþYŊĕ´€zUO뇉P‰îMĄÁxH´á˜iÜUà›îÜՁĂÛSuŎ‹r“œJð̬EŒ‘FÁú×uÃÎkr“Ē{V}İ«O_ÌËĬ©ŽÓŧSRѱ§Ģ£^ÂyèçěM³Ƃę{[¸¿u…ºµ[gt£¸OƤĿéYŸõ·kĀŸq]juw¥Dĩƍ€õÇPéĽG‘ž©ã‡¤G…uȧþRcÕĕNy“yût“ˆ­‡ø‘†ï»a½ē¿BMoį£ŸÍj}éZËqbʍš“Ƭh¹ìÿÓAçãnIáI`ƒks£CG­ě˜Uy×Cy•…’Ÿ@¶ʡÊBnāzG„ơMē¼±O÷õJËĚăVŸĪũƆ£Œ¯{ËL½Ìzż“„VR|ĠTbuvJvµhĻĖH”Aëáa…­OÇðñęNw‡…œľ·L›mI±íĠĩPÉ×®ÿs—’cB³±JKßĊ«`…ađ»·QAmO’‘Vţéÿ¤¹SQt]]Çx€±¯A@ĉij¢Óļ©•ƒl¶ÅÛr—ŕspãRk~¦ª]Į­´“FR„åd­ČsCqđéFn¿Åƃm’Éx{W©ºƝºįkÕƂƑ¸wWūЩÈFž£\\tÈ¥ÄRÈýÌJ ƒlGr^×äùyÞ³fj”c†€¨£ÂZ|ǓMĝšÏ@ëÜőR‹›ĝ‰Œ÷¡{aïȷPu°ËXÙ{©TmĠ}Y³’­ÞIňµç½©C¡į÷¯B»|St»›]vƒųƒs»”}MÓ ÿʪƟǭA¡fs˜»PY¼c¡»¦c„ċ­¥£~msĉP•–Siƒ^o©A‰Šec‚™PeǵŽkg‚yUi¿h}aH™šĉ^|ᴟ¡HØûÅ«ĉ®]m€¡qĉ¶³ÈyôōLÁst“BŸ®wn±ă¥HSòėš£˜S’ë@לÊăxÇN©™©T±ª£IJ¡fb®ÞbŽb_Ą¥xu¥B—ž{łĝ³«`d˜Ɛt—¤ťiñžÍUuºí`£˜^tƃIJc—·ÛLO‹½Šsç¥Ts{ă\\_»™kϊ±q©čiìĉ|ÍIƒ¥ć¥›€]ª§D{ŝŖÉR_sÿc³Īō›ƿΑ›§p›[ĉ†›c¯bKm›R¥{³„Z†e^ŽŒwx¹dƽŽôIg §Mĕ ƹĴ¿—ǣÜ̓]‹Ý–]snåA{‹eŒƭ`ǻŊĿ\\ijŬű”YÂÿ¬jĖqŽßbŠ¸•L«¸©@ěĀ©ê¶ìÀEH|´bRľž–Ó¶rÀQþ‹vl®Õ‚E˜TzÜdb ˜hw¤{LR„ƒd“c‹b¯‹ÙVgœ‚ƜßzÃô쮍^jUèXΖ|UäÌ»rKŽ\\ŒªN‘¼pZCü†VY††¤ɃRi^rPҒTÖ}|br°qňbĚ°ªiƶGQ¾²„x¦PœmlŜ‘[Ĥ¡ΞsĦŸÔÏâ\\ªÚŒU\\f…¢N²§x|¤§„xĔsZPòʛ²SÐqF`ª„VƒÞŜĶƨVZŒÌL`ˆ¢dŐIqr\\oäõ–F礻Ŷ×h¹]Clـ\\¦ďÌį¬řtTӺƙgQÇÓHţĒ”´ÃbEÄlbʔC”|CˆŮˆk„Ʈ[ʼ¬ňœ´KŮÈΰÌĪ¶ƶlð”ļA†TUvdTŠG†º̼ŠÔ€ŒsÊDԄveOg"]],encodeOffsets:[[[105308,37219]],[[95370,40081]]]},properties:{cp:[101.778916,36.623178],name:"青海",childNum:2}},{id:"640000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@KëÀęĞ«OęȿȕŸı]ʼn¡åįÕÔ«Ǵõƪ™ĚQÐZhv K°›öqÀѐS[ÃÖHƖčË‡nL]ûc…Ùß@‚“ĝ‘¾}w»»‹oģF¹œ»kÌÏ·{zPƒ§B­¢íyÅt@ƒ@áš]Yv_ssģ¼i߁”ĻL¾ġsKD£¡N_…“˜X¸}B~Haiˆ™Åf{«x»ge_bs“KF¯¡Ix™mELcÿZ¤­Ģ‘ƒÝœsuBLù•t†ŒYdˆmVtNmtOPhRw~bd…¾qÐ\\âÙH\\bImlNZŸ»loƒŸqlVm–Gā§~QCw¤™{A\\‘PKŸNY‡¯bF‡kC¥’sk‹Šs_Ã\\ă«¢ħkJi¯r›rAhĹûç£CU‡ĕĊ_ԗBixÅُĄnªÑaM~ħpOu¥sîeQ¥¤^dkKwlL~{L~–hw^‚ófćƒKyEŒ­K­zuÔ¡qQ¤xZÑ¢^ļöܾEpž±âbÊÑÆ^fk¬…NC¾‘Œ“YpxbK~¥Že֎ŒäBlt¿Đx½I[ĒǙŒWž‹f»Ĭ}d§dµùEuj¨‚IÆ¢¥dXªƅx¿]mtÏwßRĶŒX¢͎vÆzƂZò®ǢÌʆCrâºMÞzžÆMҔÊÓŊZľ–r°Î®Ȉmª²ĈUªĚøºˆĮ¦ÌĘk„^FłĬhĚiĀĖ¾iİbjÕ"],["@@mfwěwMrŢªv@G‰"]],encodeOffsets:[[[109366,40242]],[[108600,36303]]]},properties:{cp:[106.278179,38.46637],name:"宁夏",childNum:2}},{id:"650000",type:"Feature",geometry:{type:"Polygon",coordinates:["@@QØĔ²X¨”~ǘBºjʐßØvK”ƔX¨vĊOžÃƒ·¢i@~c—‡ĝe_«”Eš“}QxgɪëÏÃ@sÅyXoŖ{ô«ŸuX…ê•Îf`œC‚¹ÂÿÐGĮÕĞXŪōŸMźÈƺQèĽôe|¿ƸJR¤ĘEjcUóº¯Ĩ_ŘÁMª÷Ð¥Oéȇ¿ÖğǤǷÂF҇zÉx[]­Ĥĝ‰œ¦EP}ûƥé¿İƷTėƫœŕƅ™ƱB»Đ±’ēO…¦E–•}‘`cȺrĦáŖuҞª«IJ‡πdƺÏØZƴwʄ¤ĖGЙǂZĶƒèH¶}ÚZצʥĪï|ÇĦMŔ»İĝLj‹ì¥Βœba­¯¥ǕǚkĆŵĦɑĺƯxūД̵nơʃĽá½M»›òmqóŘĝč˾ăC…ćāƿÝɽ©DZŅ¹đ¥˜³ðLrÁ®ɱĕģʼnǻ̋ȥơŻǛȡVï¹Ň۩ûkɗġƁ§ʇė̕ĩũƽō^ƕŠUv£ƁQï“Ƶkŏ½ΉÃŭdzLқʻ«ƭ\\lƒ‡ŭD‡“{ʓDkaFÃÄa“³ŤđÔGRÈƚhSӹŚsİ«ĐË[¥ÚDkº^Øg¼ŵ¸£EÍö•€ůʼnT¡c_‡ËKY‹ƧUśĵ„݃U_©rETÏʜ±OñtYwē¨ƒ{£¨uM³x½şL©Ùá[ÓÐĥ Νtģ¢\\‚ś’nkO›w¥±ƒT»ƷFɯàĩÞáB¹Æ…ÑUw„੍žĽw[“mG½Èå~‡Æ÷QyŠěCFmĭZī—ŵVÁ™ƿQƛ—ûXS²‰b½KϽĉS›©ŷXĕŸ{ŽĕK·¥Ɨcqq©f¿]‡ßDõU³h—­gËÇïģÉɋw“k¯í}I·šœbmœÉ–ř›īJɥĻˁ×xo›ɹī‡l•c…¤³Xù]‘™DžA¿w͉ì¥wÇN·ÂËnƾƍdǧđ®Ɲv•Um©³G\\“}µĿ‡QyŹl㓛µEw‰LJQ½yƋBe¶ŋÀů‡ož¥A—˜Éw@•{Gpm¿Aij†ŽKLhˆ³`ñcËtW‚±»ÕS‰ëüÿďD‡u\\wwwù³—V›LŕƒOMËGh£õP¡™er™Ïd{“‡ġWÁ…č|yšg^ğyÁzÙs`—s|ÉåªÇ}m¢Ń¨`x¥’ù^•}ƒÌ¥H«‰Yªƅ”Aйn~ź¯šf¤áÀz„gŠÇDIԝ´AňĀ҄¶ûEYospõD[{ù°]u›Jq•U•|Soċxţ[õÔĥkŋÞŭZ˺óYËüċrw €ÞkrťË¿XGÉbřaDü·Ē÷Aê[Ää€I®BÕИÞ_¢āĠpŠÛÄȉĖġDKwbm‡ÄNô‡ŠfœƫVÉvi†dz—H‘‹QµâFšù­Âœ³¦{YGžƒd¢ĚÜO „€{Ö¦ÞÍÀPŒ^b–ƾŠlŽ[„vt×ĈÍE˨¡Đ~´î¸ùÎh€uè`¸ŸHÕŔVºwĠââWò‡@{œÙNÝ´ə²ȕn{¿¥{l—÷eé^e’ďˆXj©î\\ªÑò˜Üìc\\üqˆÕ[Č¡xoÂċªbØ­Œø|€¶ȴZdÆšońéŒGš\\”¼C°ÌƁn´nxšÊOĨ’Ūƴĸ¢¸òTxÊǪMīИÖŲÃɎOvˆʦƢ~FŽ‡Rěò—¿ġ~åŊœú‰Nšžš¸qŽ’Ę[Ĕ¶ÂćnÒPĒÜvúĀÊbÖ{Äî¸~Ŕünp¤ÂH¾œĄYÒ©ÊfºmԈĘcDoĬMŬ’˜S¤„s²‚”ʘچžȂVŦ –ŽèW°ªB|IJXŔþÈJĦÆæFĚêŠYĂªĂ]øªŖNÞüA€’fɨJ€˜¯ÎrDDšĤ€`€mz\\„§~D¬{vJÂ˜«lµĂb–¤p€ŌŰNĄ¨ĊXW|ų ¿¾ɄĦƐMT”‡òP˜÷fØĶK¢ȝ˔Sô¹òEð­”`Ɩ½ǒÂň×äı–§ĤƝ§C~¡‚hlå‚ǺŦŞkâ’~}ŽFøàIJaĞ‚fƠ¥Ž„Ŕdž˜®U¸ˆźXœv¢aƆúŪtŠųƠjd•ƺŠƺÅìnrh\\ĺ¯äɝĦ]èpĄ¦´LƞĬŠ´ƤǬ˼Ēɸ¤rºǼ²¨zÌPðŀbþ¹ļD¢¹œ\\ĜÑŚŸ¶ZƄ³àjĨoâŠȴLʉȮŒĐ­ĚăŽÀêZǚŐ¤qȂ\\L¢ŌİfÆs|zºeªÙæ§΢{Ā´ƐÚ¬¨Ĵà²łhʺKÞºÖTŠiƢ¾ªì°`öøu®Ê¾ãØ"],encodeOffsets:[[88824,50096]]},properties:{cp:[87.617733,43.792818],name:"新疆",childNum:1}},{id:"110000",type:"Feature",geometry:{type:"Polygon",coordinates:["@@ĽOÁ›ûtŷmiÍt_H»Ĩ±d`Š¹­{bw…Yr“³S]§§o¹€qGtm_Sŧ€“oa›‹FLg‘QN_•dV€@Zom_ć\\ߚc±x¯oœRcfe…£’o§ËgToÛJíĔóu…|wP¤™XnO¢ÉˆŦ¯rNÄā¤zâŖÈRpŢZŠœÚ{GŠrFt¦Òx§ø¹RóäV¤XdˆżâºWbwŚ¨Ud®bêņ¾‘jnŎGŃŶŠnzÚSeîĜZczî¾i]͜™QaúÍÔiþĩȨWĢ‹ü|Ėu[qb[swP@ÅğP¿{\\‡¥A¨Ï‘Ѩj¯ŠX\\¯œMK‘pA³[H…īu}}"],encodeOffsets:[[120023,41045]]},properties:{cp:[116.405285,39.904989],name:"北京",childNum:1}},{id:"120000",type:"Feature",geometry:{type:"Polygon",coordinates:["@@ŬgX§Ü«E…¶Ḟ“¬O_™ïlÁg“z±AXe™µÄĵ{¶]gitgšIj·›¥îakS€‰¨ÐƎk}ĕ{gB—qGf{¿a†U^fI“ư‹³õ{YƒıëNĿžk©ïËZŏ‘R§òoY×Ógc…ĥs¡bġ«@dekąI[nlPqCnp{ˆō³°`{PNdƗqSÄĻNNâyj]äžÒD ĬH°Æ]~¡HO¾ŒX}ÐxŒgp“gWˆrDGˆŒpù‚Š^L‚ˆrzWxˆZ^¨´T\\|~@I‰zƒ–bĤ‹œjeĊªz£®Ĕvě€L†mV¾Ô_ȔNW~zbĬvG†²ZmDM~”~"],encodeOffsets:[[120237,41215]]},properties:{cp:[117.190182,39.125596],name:"天津",childNum:1}},{id:"310000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@ɧư¬EpƸÁxc‡"],["@@©„ªƒ"],["@@”MA‹‘š"],["@@Qp݁E§ÉC¾"],["@@bŝՕÕEȣÚƥêImɇǦèÜĠŒÚžÃƌÃ͎ó"],["@@ǜûȬɋŠŭ™×^‰sYŒɍDŋ‘ŽąñCG²«ªč@h–_p¯A{‡oloY€¬j@IJ`•gQڛhr|ǀ^MIJvtbe´R¯Ô¬¨YŽô¤r]ì†Ƭį"]],encodeOffsets:[[[124702,32062]],[[124547,32200]],[[124808,31991]],[[124726,32110]],[[124903,32376]],[[124438,32149]]]},properties:{cp:[121.472644,31.231706],name:"上海",childNum:6}},{id:"500000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@vjG~nGŘŬĶȂƀƾ¹¸ØÎezĆT¸}êЖqHŸðqĖ䒊¥^CƒIj–²p…\\_ æüY|[YxƊæuž°xb®…Űb@~¢NQt°¶‚S栓Ê~rljĔëĚ¢~šuf`‘‚†fa‚ĔJåĊ„nÖ]„jƎćÊ@Š£¾a®£Ű{ŶĕF‹ègLk{Y|¡ĜWƔtƬJÑxq‹±ĢN´‰òK‰™–LÈüD|s`ŋ’ć]ƒÃ‰`đŒMûƱ½~Y°ħ`ƏíW‰½eI‹½{aŸ‘OIrÏ¡ĕŇa†p†µÜƅġ‘œ^ÖÛbÙŽŏml½S‹êqDu[R‹ãË»†ÿw`»y‘¸_ĺę}÷`M¯ċfCVµqʼn÷Z•gg“Œ`d½pDO‡ÎCnœ^uf²ènh¼WtƏxRGg¦…pV„†FI±ŽG^ŒIc´ec‡’G•ĹÞ½sëĬ„h˜xW‚}Kӈe­Xsbk”F¦›L‘ØgTkïƵNï¶}Gy“w\\oñ¡nmĈzjŸ•@™Óc£»Wă¹Ój“_m»ˆ¹·~MvÛaqœ»­‰êœ’\\ÂoVnŽÓØ͙²«‹bq¿efE „€‹Ĝ^Qž~ Évý‡ş¤²Į‰pEİ}zcĺƒL‹½‡š¿gņ›¡ýE¡ya£³t\\¨\\vú»¼§·Ñr_oÒý¥u‚•_n»_ƒ•At©Þűā§IVeëƒY}{VPÀFA¨ąB}q@|Ou—\\Fm‰QF݅Mw˜å}]•€|FmϋCaƒwŒu_p—¯sfÙgY…DHl`{QEfNysBŠ¦zG¸rHe‚„N\\CvEsÐùÜ_·ÖĉsaQ¯€}_U‡†xÃđŠq›NH¬•Äd^ÝŰR¬ã°wećJEž·vÝ·Hgƒ‚éFXjÉê`|yŒpxkAwœWĐpb¥eOsmzwqChóUQl¥F^laf‹anòsr›EvfQdÁUVf—ÎvÜ^efˆtET¬ôA\\œ¢sJŽnQTjP؈xøK|nBz‰„œĞ»LY‚…FDxӄvr“[ehľš•vN”¢o¾NiÂxGp⬐z›bfZo~hGi’]öF|‰|Nb‡tOMn eA±ŠtPT‡LjpYQ|†SH††YĀxinzDJ€Ìg¢và¥Pg‰_–ÇzII‹€II•„£®S¬„Øs쐣ŒN"],["@@ifjN@s"]],encodeOffsets:[[[109628,30765]],[[111725,31320]]]},properties:{cp:[106.504962,29.533155],name:"重庆",childNum:2}},{id:"810000",type:"Feature",geometry:{type:"MultiPolygon",coordinates:[["@@AlBk"],["@@mŽn"],["@@EpFo"],["@@ea¢pl¸Eõ¹‡hj[ƒ]ÔCΖ@lj˜¡uBXŸ…•´‹AI¹…[‹yDUˆ]W`çwZkmc–…M›žp€Åv›}I‹oJlcaƒfёKŽ°ä¬XJmРđhI®æÔtSHn€Eˆ„ÒrÈc"],["@@rMUw‡AS®€e"]],encodeOffsets:[[[117111,23002]],[[117072,22876]],[[117045,22887]],[[116975,23082]],[[116882,22747]]]},properties:{cp:[114.173355,22.320048],name:"香港",childNum:5}},{id:"820000",type:"Feature",geometry:{type:"Polygon",coordinates:["@@kÊd°å§s"],encodeOffsets:[[116279,22639]]},properties:{cp:[113.54909,22.198951],name:"澳门",childNum:1}}],UTF8Encoding:!0}):void n("ECharts Map is not loaded"):void n("ECharts is not Loaded")})},"./app/containers/Widget/charts/markBoxplot.ts":function(e,t,n){"use strict";function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t,n,a){var s=n.xAxis,l=n.xAxisInterval,d=n.xAxisRotate,u=n.dataZoomThreshold,c=n.hasLegend,p=n.legendSelected,m=n.legendPosition,f=n.toolbox,h=n.splitLineX,g=n.splitLineY,b=n.splitLineStyle,_=n.splitLineWidth,v=n.top,y=n.bottom,x=n.left,j=n.right,w=n.suffixYAxis,k=n.markMetrics,M=n.metrics,S=void 0,T=void 0,E=void 0,C=void 0,O=void 0,D=void 0,L=void 0,A=void 0,P=void 0,I=void 0;if(s&&M&&M.length){var R=e.map(function(e){return e[s]});I=R.filter(function(e,t){return R.indexOf(e)===t}),T={xAxis:{type:"category",data:I,boundaryGap:!0,nameGap:30,splitArea:{show:!0},axisLabel:{interval:l,rotate:d,formatter:"{value}"},splitLine:{show:h&&h.length,lineStyle:{width:_,type:b}}}}}if(P=[],M&&M.length){M=[M];var N=I.map(function(t){return e.filter(function(e){return e[s]===t})}),z=N.map(function(e){return M.map(function(t){return e.map(function(e){return e[t]})})});P=M.map(function(e,t){var n=[];return z.forEach(function(e,o){n.push(e[t])}),n}).map(function(e){return i.default(e)}),S={series:P.reduce(function(e,t,n){return e.concat({name:M[n],type:"boxplot",data:t.boxData,tooltip:{formatter:r}},{name:M[n],type:"pictorialBar",symbolPosition:"end",symbolSize:8,barGap:"30%",data:t.outliers,tooltip:{formatter:function(e){return[e.name+" ","异常值: "+e.data[1]].join("
")}}})},[])}}if(k&&k.length){var F=e.map(function(e){var t;return t={},o(t,s,e[s]),o(t,k,e[k]),t}),Y=F.reduce(function(e,t){return Object.assign({},e,o({},t[s],t[k]))},{}),H=Object.values(Y);S.series.push({name:k,type:"scatter",data:H,itemStyle:{normal:{color:"rgb(251, 118, 123)"}}})}A=w&&w.length?{axisLabel:{formatter:"{value} "+w}}:null,E={yAxis:Object.assign({type:"value",splitArea:{show:!1},splitLine:{show:g&&g.length,lineStyle:{width:_,type:b}}},A)};var V=0,W=0;if(c&&c.length){var q=void 0,B=void 0;switch(m){case"right":q={orient:"vertical"},B={right:8,top:40,bottom:16},W=108;break;case"bottom":q={orient:"horizontal"},B={bottom:16,left:8,right:8},V=72;break;default:q={orient:"horizontal"},B={top:3,left:8,right:120}}var U="unselectAll"===p?{selected:M.reduce(function(e,t){return Object.assign({},e,o({},t,!1))},{})}:null;C={legend:Object.assign({data:M,type:"scroll"},q,B,U)}}return O=f&&f.length?{toolbox:{feature:{dataZoom:{yAxisIndex:"none"},restore:{},saveAsImage:{pixelRatio:2}},right:8}}:null,D={grid:{top:v,left:x,right:Math.max(j,W),bottom:Math.max(y,V)}},L=u>0&&u")}Object.defineProperty(t,"__esModule",{value:!0});var i=n("./node_modules/echarts/extension-src/dataTool/prepareBoxplotData.js");t.default=a},"./app/containers/Widget/charts/parallel.ts":function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t0){var o=e-parseFloat(O[t-1]);return o>=0?(a.push(o),r.push("-"),n.push(parseFloat(O[t-1]))):(a.push("-"),r.push(Math.abs(o)),n.push(parseFloat(O[t-1])-Math.abs(o))),o}return a.push(e),r.push("-"),n.push(0),e});var i=a.reduce(function(e,t){return"number"==typeof t?e+t:e+0},0),s=r.reduce(function(e,t){return"number"==typeof t?e+t:e+0},0),l=i-s;b&&b.length&&(E.push("累计"),n.push("-"),l>0?(a.push(l),r.push("-")):(r.push(Math.abs(l)),a.push("-")));var d={name:t,type:"bar",sampling:"average",data:n,itemStyle:{normal:{barBorderColor:"rgba(0,0,0,0)",color:"rgba(0,0,0,0)",opacity:void 0===o?1:.25},emphasis:{barBorderColor:"rgba(0,0,0,0)",color:"rgba(0,0,0,0)"}},stack:"stack"},u={name:"升",type:"bar",sampling:"average",data:a,itemStyle:{normal:{opacity:void 0===o?1:.25}},stack:"stack",label:{normal:{show:!(!m||!m.length),position:"top"}}},c={name:"降",type:"bar",sampling:"average",data:r,itemStyle:{normal:{opacity:void 0===o?1:.25}},stack:"stack",label:{normal:{show:!(!m||!m.length),position:"bottom"}}};C.push(d),C.push(u),C.push(c)}),y={series:C}}T=_&&_.length?{axisLabel:{formatter:"{value} "+_}}:null,r&&r.length?(a&&(x={yAxis:{data:e.map(function(e){return e[a]}),axisLabel:{show:!1},axisLine:{show:!1},axisTick:{show:!1}}}),j={xAxis:{type:"value",position:"top",splitLine:{lineStyle:{type:"dashed"}},axisLabel:{interval:i,rotate:s}}}):(a&&(x={xAxis:{data:E,axisLabel:{interval:i,rotate:s}}}),j={yAxis:Object.assign({type:"value"},T)});var A=0,P=0;if(d&&d.length){var I=void 0,R=void 0;switch(u){case"right":I={orient:"vertical"},R={right:8,top:40,bottom:16},P=108;break;case"bottom":I={orient:"horizontal"},R={bottom:16,left:8,right:8},A=72;break;default:I={orient:"horizontal"},R={top:3,left:8,right:120}}w={legend:Object.assign({data:C.map(function(e){return e.name}),type:"scroll"},I,R)}}return k=c&&c.length?{toolbox:{feature:{dataZoom:{yAxisIndex:"none"},restore:{},saveAsImage:{pixelRatio:2}},right:8}}:null,M={grid:{top:p,left:h,right:Math.max(g,P),bottom:Math.max(f,A)}},S=l>0&&l"))}}},y,x,j,w,k,M,S)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o},"./app/containers/Widget/charts/wordCloud.ts":function(e,t,n){"use strict";function o(e,t,n){var o=n.title,a=n.gridSize,r=n.sizeRangeX,i=n.sizeRangeY,s=void 0,l=void 0,d=void 0,u=void 0,c=[];l=a&&{gridSize:a},d=(r||i)&&{sizeRange:[r||0,i||0]};var p=e.reduce(function(e,t){var n=t[o];return e[n]?e[n].value+=1:e[n]={name:n,value:1},e},{}),m=Object.assign({type:"wordCloud",textStyle:{normal:{color:"#509af2"},emphasis:{shadowBlur:10,shadowColor:"#509af2"}},data:Object.keys(p).map(function(e){return p[e]}),rotationStep:45,rotationRange:[-90,90]},l,d);return c.push(m),s={series:c},u={grid:{top:0,left:0,right:0,bottom:0}},Object.assign({},s,u)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o},"./app/containers/Widget/components/Chart/Chart.less":function(e,t,n){var o=n("./node_modules/css-loader/index.js?modules&importLoaders=1!./node_modules/postcss-loader/index.js!./node_modules/less-loader/lib/loader.js!./app/containers/Widget/components/Chart/Chart.less");"string"==typeof o&&(o=[[e.i,o,""]]);var a={};a.transform=void 0;n("./node_modules/style-loader/lib/addStyles.js")(o,a);o.locals&&(e.exports=o.locals)},"./app/containers/Widget/components/Chart/Chart.tsx":function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n=0?[]:["",""],e},{}):e.reduce(function(e,t){return e[t]=["",""],e},{})},n.handleTableChange=function(e,t,o){n.setState({pagination:e,sortedInfo:o},function(){n.onLoadData()})},n.onSearchInputChange=function(e){return function(t){var a=n.state.filterValues;n.setState({filterValues:Object.assign({},a,o({},e,[t.target.value]))})}},n.onNumberInputChange=function(e){return function(t){var a=n.state.filterValues;n.setState({filterValues:Object.assign({},a,o({},e,[isNaN(t[0])?a[e][0]:t[0],isNaN(t[1])?a[e][1]:t[1]]))})}},n.onRangePickerChange=function(e){return function(t,a){n.setState({filterValues:Object.assign({},n.state.filterValues,o({},e,[a[0],a[1]]))}),n.onLoadData()}},n.onLoadData=function(){},n.rowClick=function(e,t,o){var a=o.target,r=a.tagName,i=a.classList[0],s=/select/g;if("DIV"===r&&s.test(i))return void o.stopPropagation();var l=n.props,d=l.id,u=l.onCheckInteract,p=l.onDoInteract,m=n.state.data;if(u&&p){var f=u(Number(d));Object.keys(f).length&&(m.forEach(function(t){t[c.KEY_COLUMN]===e[c.KEY_COLUMN]&&p(Number(d),f,e[c.KEY_COLUMN])}),n.setState({data:Object.assign({},m)}))}},n.rowClassFilter=function(e,t){return n.props.interactId===e[c.KEY_COLUMN]?p.selectedRow:""},n.state={data:e.data,sortedInfo:{},filterDropdownVisibles:{},filterValues:{},pagination:{}},n}return i(t,e),s(t,[{key:"componentWillMount",value:function(){this.setState({pagination:this.props.width<=768?this.pageAutoAdapted("mobile"):this.pageAutoAdapted("pc")})}},{key:"componentWillReceiveProps",value:function(e){this.props.data!==e.data&&this.setState({data:e.data,filterValues:{}}),this.setState({pagination:e.width<=768?this.pageAutoAdapted("mobile"):this.pageAutoAdapted("pc")})}},{key:"render",value:function(){var e=this.props,t=e.className,n=(e.filterable,e.sortable,e.width),o=e.height,a=this.state,r=a.data,i=(a.filterDropdownVisibles,a.filterValues,a.pagination),s=[];r.length&&(s=Object.keys(r[0]).map(function(e,t){var n={title:e.toUpperCase(),dataIndex:e,key:e,width:c.COLUMN_WIDTH};return Object.assign({},n)}));var u=(r.length?Object.keys(r[0]).length:1)*c.COLUMN_WIDTH,p=u>n?{x:u}:null,m=Object.assign({},p,{y:o-40-60});return l.createElement(d,{className:t,dataSource:r,columns:s,pagination:i,scroll:m,onChange:this.handleTableChange,onRowClick:this.rowClick,rowClassName:this.rowClassFilter,bordered:!0})}}]),t}(l.PureComponent);m.defaultProps={filterable:!0,sortable:!0},t.Table=m,t.default=m},"./app/containers/Widget/components/Chart/index.tsx":function(e,t,n){"use strict";function o(e){var t=e.width,n=e.height,o=e.data;return e.selectedChart===s.getTable().id?a.createElement(r.default,{data:o,width:t,height:n}):a.createElement(i.default,e)}Object.defineProperty(t,"__esModule",{value:!0});var a=n("./node_modules/react/react.js"),r=n("./app/containers/Widget/components/Chart/Table.tsx"),i=n("./app/containers/Widget/components/Chart/Chart.tsx"),s=n("./app/containers/Widget/components/util.ts");t.CombinedChart=o,t.default=o},"./app/containers/Widget/components/Pivot/Cell.tsx":function(e,t,n){"use strict";function o(e){var t=e.colKey,n=void 0===t?"":t,o=e.rowKey,u=void 0===o?"":o,c=e.width,p=e.height,m=e.data,f=e.chartStyles,h=e.color,g=e.legend,b=f.pivot,_=b.color,v=b.fontSize,y=b.fontFamily,x=b.lineColor,j=b.lineStyle,w=e.metrics;if(n.includes(s.DEFAULT_SPLITER)&&u.includes(s.DEFAULT_SPLITER)){var k=a(n);if(k===a(u)){var M=k.split(s.DEFAULT_SPLITER),S=r(M,2),T=S[0],E=S[1];w=w.filter(function(e){return e.name===""+T+s.DEFAULT_SPLITER+E})}else w=[]}else if(n.includes(s.DEFAULT_SPLITER)){var C=a(n).split(s.DEFAULT_SPLITER),O=r(C,2),D=O[0],L=O[1];w=w.filter(function(e){return e.name===""+D+s.DEFAULT_SPLITER+L})}else if(u.includes(s.DEFAULT_SPLITER)){var A=a(u).split(s.DEFAULT_SPLITER),P=r(A,2),I=P[0],R=P[1];w=w.filter(function(e){return e.name===""+I+s.DEFAULT_SPLITER+R})}var N=w.map(function(e){var t=l.decodeMetricName(e.name),n=h.items.find(function(t){return t.config.actOn===e.name})||h.items.find(function(e){return"all"===e.config.actOn});return m&&m.map(function(o,a){var r=void 0;if(n){var s=g[n.name];s&&s.includes(o[n.name])||(r={color:n.config.values[o[n.name]]})}return i.createElement("p",{key:""+e.name+a,className:d.cellContent,style:Object.assign({},r)},o[e.agg+"("+t+")"])})}),z=Object.assign({width:c},p&&{height:p},{color:_,fontSize:Number(v),fontFamily:y,borderColor:x,borderStyle:j});return i.createElement("td",{style:z},N)}function a(e){return e.split(String.fromCharCode(0)).filter(function(e){return e.includes(s.DEFAULT_SPLITER)})[0]}var r=function(){function e(e,t){var n=[],o=!0,a=!1,r=void 0;try{for(var i,s=e[Symbol.iterator]();!(o=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);o=!0);}catch(e){a=!0,r=e}finally{try{!o&&s.return&&s.return()}finally{if(a)throw r}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n("./node_modules/react/react.js"),s=n("./app/globalConstants.ts"),l=n("./app/containers/Widget/components/util.ts"),d=n("./app/containers/Widget/components/Pivot/Pivot.less");t.Cell=o,t.default=o},"./app/containers/Widget/components/Pivot/Chart.tsx":function(e,t,n){"use strict";function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=function(){function e(e,t){var n=[],o=!0,a=!1,r=void 0;try{for(var i,s=e[Symbol.iterator]();!(o=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);o=!0);}catch(e){a=!0,r=e}finally{try{!o&&s.return&&s.return()}finally{if(a)throw r}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),l=function(){function e(e,t){for(var n=0;ns){var l=[],d={key:"",height:0,data:[]};return n.forEach(function(e,t){var o="col"===r?e.height*a.length:e.height;d.height+o>s&&(d.key=""+t+d.data.map(function(e){return e.key}).join(","),l.push(d),d={key:"",height:0,data:[]}),d.height+=o,d.data.push(e),t===n.length-1&&(d.key=""+t+d.data.map(function(e){return e.key}).join(","),l.push(d))}),l}return[{key:"chunk",height:t,data:n}]},e.verticalCutting=function(t,n){var o=e.props,a=o.metrics,r=o.dimetionAxis,i=o.drawingData.multiCoordinate,s=i?p.PIVOT_CANVAS_POLAR_SIZE_LIMIT:p.PIVOT_CANVAS_SIZE_LIMIT;if(t>s){var l={};return n.forEach(function(t){var n=e.initBlockLine(t),o=e.initBlock(n);t.data.forEach(function(i,d){var u="row"===r?i.width*a.length:i.width;if(o.width+u>s){if(l[d-1]){var c=l[d-1];c.data=c.data.concat(o.data)}else l[d-1]=Object.assign({},o,{key:""+(d-1)+o.data.map(function(e){return e.key}).join(",")});n=e.initBlockLine(t),o=e.initBlock(n)}if(o.width+=u,n.data.push(i),d===t.data.length-1)if(l[d]){var p=l[d];p.data=p.data.concat(o.data)}else l[d]=Object.assign({},o,{key:""+d+o.data.map(function(e){return e.key}).join(",")})})}),Object.values(l).map(function(e){return Object.assign({},e,{pieces:m.getChartPieces(e.data.reduce(function(e,t){return e+t.data.reduce(function(e,t){return e+("col"===r?t.records.length*a.length:t.records.length)},0)},0),e.data.length)})})}return[{key:"block",width:t,data:n,pieces:m.getChartPieces(n.reduce(function(e,t){return e+t.data.reduce(function(e,t){return e+("col"===r?t.records.length*a.length:t.records.length)},0)},0),n.length)}]},e.initBlock=function(e){return{key:"",width:0,data:[e],pieces:0}},e.initBlockLine=function(e){return Object.assign({},e,{key:""+f.uuid(8,16)+e.key,data:[]})},e}return i(t,e),s(t,[{key:"render",value:function(){var e,t=this.props,n=t.rows,a=t.cols,r=t.rowKeys,i=t.colKeys,s=t.rowTree,p=t.rowWidths,g=t.colTree,b=t.tree,_=t.metrics,v=t.metricAxisConfig,y=t.chartStyles,x=t.drawingData,j=t.dimetionAxis,w=t.color,k=t.label,M=t.size,S=t.xAxis,T=t.tip,E=t.renderType,C=t.legend,O=t.onCheckTableInteract,D=t.onDoInteract,L=t.getDataDrillDetail,A=t.isDrilling,P=x.elementSize,I=x.unitMetricWidth,R=x.unitMetricHeight,N=x.tableBodyCollapsed,z=null,F=[],Y=[],H=0;if(j){var V=0;if(i.length&&r.length){var W=[];r.forEach(function(e,t){var n=e.join(String.fromCharCode(0)),o=[];i.forEach(function(a,s){var l=a.join(String.fromCharCode(0)),d=b[n][l];if("col"===j){var u=i[s+1]||[],c=o[o.length-1];if(c&&!c.ended||(c={key:""+n+l,width:0,records:[],ended:!1},o.push(c)),c.records.push({key:a[a.length-1],value:d}),1===a.length&&s===i.length-1||a[a.length-2]!==u[u.length-2]){var p=c.records.length*P;c.width=p,c.ended=!0,u.length||(F.push({key:n,height:R,data:o.slice()}),V+=1,o=[])}}else{var m=r[t+1]||[];W[s]||(W[s]=[]);var f=W[s],h=f[f.length-1];if(h&&!h.ended||(h={key:""+l+n,width:0,records:[],ended:!1},f.push(h)),h.records.push({key:e[e.length-1],value:d}),1===e.length&&t===r.length-1||e[e.length-2]!==m[m.length-2]){if(h.width=I,h.ended=!0,s===i.length-1){var g=h.records.length*P;F.push({key:n,height:g,data:W.reduce(function(e,t){return e.concat(t)},[])}),W=[]}t===r.length-1&&(V+=1)}}})})}else if(i.length){var q=[];i.forEach(function(e,t){var n=e.join(String.fromCharCode(0)),o=g[n].records;if("col"===j){var a=i[t+1]||[],r=q[q.length-1];if(r&&!r.ended||(r={key:n,width:0,records:[],ended:!1},q.push(r)),r.records.push({key:e[e.length-1],value:o}),1===e.length&&t===i.length-1||e[e.length-2]!==a[a.length-2]){var s=r.records.length*P;r.width=s,r.ended=!0,a.length||(F.push({key:n,height:R,data:q.slice()}),V+=1)}}else q.push({key:n,width:I,records:[{key:e[e.length-1],value:o}],ended:!0}),V+=1,t===i.length-1&&F.push({key:n,height:P,data:q.slice()})})}else if(r.length){var B=[];r.forEach(function(e,t){var n=e.join(String.fromCharCode(0)),o=s[n].records;if("row"===j){var a=r[t+1]||[],i=B[B.length-1];if(i&&!i.ended||(i={key:n,width:0,records:[],ended:!1},B.push(i)),i.records.push({key:e[e.length-1],value:o}),1===e.length&&t===r.length-1||e[e.length-2]!==a[a.length-2]){i.width=I,i.ended=!0;var l=i.records.length*P;F.push({key:n,height:l,data:B.slice()}),B=[],t===r.length-1&&(V+=1)}}else F.push({key:n,height:R,data:[{key:n,width:P,records:[{key:e[e.length-1],value:o}],ended:!1}]}),V+=1})}else{var U=b[0],G="col"===j?P:I,K="row"===j?P:R,Z={width:G,records:[{key:"data",value:U}],ended:!0};F.push({height:K,data:[Z]})}var J=i.length||1,X=r.length||1;V=V||1;var Q=0;"col"===j?(H=J*P,Q=V*R*_.length):(H=V*I*_.length,Q=X*P),z=l.createElement(c.default,{width:H,height:Q,cols:a,rows:n,dimetionAxisCount:"col"===j?J:X,metricAxisCount:V,metrics:_,data:this.gridCutting(H,Q,F),chartStyles:y,drawingData:x,dimetionAxis:j,metricAxisConfig:v,color:w,label:k,size:M,xAxis:S,tip:T,renderType:E,legend:C,onCheckTableInteract:O,onDoInteract:D,getDataDrillDetail:L,isDrilling:A})}else{if(i.length&&r.length)r.forEach(function(e){var t=e.join(String.fromCharCode(0)),n=[];H=0,i.forEach(function(e){var o=e.join(String.fromCharCode(0)),a=b[t][o],r=g[o],i=r.width,s=r.height,d=m.getPivotCellWidth(i);H+=d,n.push(l.createElement(u.default,{key:""+t+o,colKey:o,rowKey:t,width:d,height:m.getPivotCellHeight(s),metrics:_,data:a,chartStyles:y,color:w,legend:C}))}),Y.push(l.createElement("tr",{key:t},n))});else if(i.length){var $=[];H=0,i.forEach(function(e){var t=e.join(String.fromCharCode(0)),n=g[t],o=n.width,a=n.height,r=n.records,i=m.getPivotCellWidth(o);H+=i,$.push(l.createElement(u.default,{key:t,colKey:t,width:i,height:m.getPivotCellHeight(a),metrics:_,data:r,chartStyles:y,color:w,legend:C}))}),Y.push(l.createElement("tr",{key:f.uuid(8,16)},$))}else if(r.length)r.forEach(function(e){var t=e.join(String.fromCharCode(0)),n=s[t],o=n.height,a=n.records,r=[];H=0;var i=m.getPivotCellWidth(p[p.length-1]);H+=i,r.push(l.createElement(u.default,{key:t,rowKey:t,width:i,height:m.getPivotCellHeight(o),metrics:_,data:a,chartStyles:y,color:w,legend:C})),r.length&&Y.push(l.createElement("tr",{key:t},r))});else if(_.length){var ee=b[0],te=0;_.forEach(function(e){var t=ee[e.agg+"("+e.name+")"];te=Math.max(te,m.getPivotContentTextWidth(t))});var ne=m.getPivotCellHeight();Y.push(l.createElement("tr",{key:f.uuid(8,16)},l.createElement(u.default,{key:f.uuid(8,16),width:te,height:ne,metrics:_,data:ee,chartStyles:y,color:w,legend:C})))}z=l.createElement("table",{className:h.pivot,style:{width:H}},l.createElement("tbody",null,Y))}var oe=d((e={},o(e,h.columnBody,!0),o(e,h.bodyCollapsed,N),o(e,h.raw,!j),e));return l.createElement("div",{className:oe},z)}}]),t}(l.Component);t.TableBody=g,t.default=g},"./app/containers/Widget/components/Pivot/Xaxis.tsx":function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;ni)return 1;if("number"==typeof e&&"number"!=typeof t)return-1;if("number"==typeof t&&"number"!=typeof e)return 1;if("number"==typeof e&&"number"==typeof t)return 0;if(isNaN(i)&&!isNaN(r))return-1;if(isNaN(r)&&!isNaN(i))return 1;var s=String(e),l=String(t);if(s===l)return 0;if(!o.test(s)||!o.test(l))return s>l?1:-1;for(var d=s.match(n),u=l.match(n);d.length&&u.length;){var c=d.shift(),p=u.shift();if(c!==p)return o.test(c)&&o.test(p)?Number(c.replace(a,".0"))-Number(p.replace(a,".0")):c>p?1:-1}return d.length-u.length}function d(e){return e+2*N.PIVOT_CELL_PADDING+2*N.PIVOT_CELL_BORDER}function u(e){return(e||N.PIVOT_LINE_HEIGHT)+2*N.PIVOT_CELL_PADDING+N.PIVOT_CELL_BORDER}function c(e,t,n,o){var a=void 0,r=void 0;"col"===e?(a=Math.max(1,n[0]),r=t[0]):(a=Math.max(1,n[1]),r=t[1]);var i=r/a,s=o?N.PIVOT_CHART_METRIC_AXIS_MIN_SIZE:N.PIVOT_CHART_ELEMENT_MIN_WIDTH;return Math.max(Math.floor(i),s)}function p(e,t,n,o){return"row"===e&&n>o*t}function m(e,t,n){return Math.max(e,t*n*N.PIVOT_CHART_METRIC_AXIS_MIN_SIZE)/t/n}function f(e,t,n){return Math.max(e,t*n*N.PIVOT_CHART_METRIC_AXIS_MIN_SIZE)/t/n}function h(e,t,n){var o=Array.isArray(n)?n:[n],a=!0,r=!1,i=void 0;try{for(var s,l=o[Symbol.iterator]();!(a=(s=l.next()).done);a=!0){var d=s.value,u=d.requireDimetions,c=d.requireMetrics;if(Array.isArray(u)){if(eu[1])return!1}else if(e!==u)return!1;if(Array.isArray(c)){if(tc[1])return!1}else if(t!==c)return!1}}catch(e){r=!0,i=e}finally{try{!a&&l.return&&l.return()}finally{if(r)throw i}}return!0}function g(e,t){var n=Math.floor(e/t),o=Math.pow(10,(""+n).length-1);return(Math.floor(n/o)+1)*o}function b(e,t){if(1===t)return t;var n=e/t;return Math.abs(n-N.PIVOT_CHART_POINT_LIMIT)/N.PIVOT_CHART_POINT_LIMIT<.2?t:n>N.PIVOT_CHART_POINT_LIMIT?t:b(e,Math.round(t/2))}function _(e){function t(e){return e>=10?Math.floor(e):e.toFixed(1)}return e>=Math.pow(10,9)&&e=Math.pow(10,6)&&e=Math.pow(10,3)&&eN.PIVOT_CANVAS_AXIS_SIZE_LIMIT){var r=[];return a.forEach(function(o){var a={key:""+H.uuid(8,16)+o.key,data:[]},i={key:"",length:0,data:[a]};o.data.forEach(function(s,l){var d="x"===e&&"row"===t||"y"===e&&"col"===t?s.width*n.length:s.width;i.length+d>N.PIVOT_CANVAS_AXIS_SIZE_LIMIT&&(i.key=""+l+i.data.map(function(e){return e.key}).join(","),r.push(i),a={key:""+H.uuid(8,16)+o.key,data:[]},i={key:"",length:0,data:[a]}),i.length+=d,a.data.push(s),l===o.data.length-1&&(i.key=""+l+i.data.map(function(e){return e.key}).join(","),r.push(i))})}),r}return[{key:"block",data:a,length:o}]}function T(e){return function(n){for(var o=n,a=e>N.PIVOT_XAXIS_ROTATE_LIMIT?e:N.PIVOT_XAXIS_SIZE-N.PIVOT_XAXIS_TICK_SIZE;t.getTextWidth(n)>a;)n=n.substring(0,n.length-1);return n===o?n:n.substring(0,n.length-1)+"…"}}function E(e,t,n,o,a){var r=I(e,2),i=r[0],s=r[1],l=a.contentSize,d=a.viewSize,u=I(l,2),c=u[0],p=u[1],m=I(d,2),f=m[0],h=m[1];return[i+c+10>f?i-10-c:i+10,Math.min(s,h-p)]}function C(e,t,n,a,r,s,l,d,u){var c=t.concat(n),p=[].concat(o(a));return r&&(c=c.concat(r.items.map(function(e){return e.name}))),s&&(c=c.concat(s.items.filter(function(e){return"category"===e.type}).map(function(e){return e.name})),p=p.concat(s.items.filter(function(e){return"value"===e.type}))),l&&(p=p.concat(l.items)),d&&(p=p.concat(d.items)),u&&(p=p.concat(u.items)),c=c.reduce(function(e,t){return e.includes(t)||e.push(t),e},[]),p=p.reduce(function(e,t){var n=i(t.name);return e.find(function(e){return e.name.includes(n)&&e.agg===t.agg})||e.push(t),e},[]),function(t){var n=L(t,e);return p.map(function(e){var t=i(e.name),o=n?Array.isArray(n)?n.reduce(function(n,o){return n+o[e.agg+"("+t+")"]},0):n[e.agg+"("+t+")"]:0;return t+": "+o}).concat(c.map(function(e){return e+": "+(n?Array.isArray(n)?n[0][e]:n[e]:"")})).join("
")}}function O(e,t,n){var a=n.cols,r=n.metrics,s=n.color,l=n.size,d=n.scatterXAxis,u=n.tip,c=a,p=[].concat(o(r));return s&&(c=c.concat(s.items.map(function(e){return e.name}))),l&&(p=p.concat(l.items)),d&&(p=p.concat(d.items)),u&&(p=p.concat(u.items)),c=c.reduce(function(e,t){return e.includes(t)||e.push(t),e},[]),p=p.reduce(function(e,t){var n=i(t.name);return e.find(function(e){return e.name.includes(n)&&e.agg===t.agg})||e.push(t),e},[]),function(n){var o=n.seriesIndex,a=n.dataIndex,r="funnel"===e||"map"===e?t[a]:t[o][a];return c.map(function(e){return e+": "+(r?Array.isArray(r)?r[0][e]:r[e]:"")}).concat(p.map(function(e){var t=i(e.name),n=r?Array.isArray(r)?r.reduce(function(n,o){return n+o[e.agg+"("+t+")"]},0):r[e.agg+"("+t+")"]:0;return t+": "+n})).join("
")}}function D(e,t){return function(n){var o=L(n,e)||{};return"category"===t.type?Array.isArray(o)?o[0][t.name]:o[t.name]||"":Array.isArray(o)?o.reduce(function(e,n){return e+n[t.agg+"("+i(t.name)+")"]},0):o[t.agg+"("+i(t.name)+")"]||0}}function L(e,t){var n=e.seriesIndex,o=e.dataIndex,a=t[n],r=a.type,i=a.grouped,s=a.records;return"cartesian"===r?i?s[o]:s[o].value:"polar"===r?s[o]:s?s[0]:{}}function A(e,t){return Math.max(e/10,t/100)}function P(e){return e>=N.PIVOT_DEFAULT_SCATTER_SIZE_TIMES?e-N.PIVOT_DEFAULT_SCATTER_SIZE_TIMES+1:1/Math.pow(2,N.PIVOT_DEFAULT_SCATTER_SIZE_TIMES-e)}var I=function(){function e(e,t){var n=[],o=!0,a=!1,r=void 0;try{for(var i,s=e[Symbol.iterator]();!(o=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);o=!0);}catch(e){a=!0,r=e}finally{try{!o&&s.return&&s.return()}finally{if(a)throw r}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),R=this;Object.defineProperty(t,"__esModule",{value:!0});var N=n("./app/globalConstants.ts"),z=n("./app/containers/Widget/config/index.ts"),F=z.default.pivot,Y=z.default.chart,H=n("./app/utils/util.ts");t.getAggregatorLocale=a,t.encodeMetricName=r,t.decodeMetricName=i,t.spanSize=s,t.naturalSort=l,t.getTextWidth=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:N.DEFAULT_FONT_WEIGHT,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:N.DEFAULT_FONT_SIZE,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:N.DEFAULT_FONT_FAMILY,a=R.canvas||(R.canvas=document.createElement("canvas")),r=a.getContext("2d");r.font=t+" "+n+" "+o;var i=r.measureText(e);return Math.ceil(i.width)},t.getPivotContentTextWidth=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:N.DEFAULT_FONT_WEIGHT,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:N.DEFAULT_FONT_SIZE,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:N.DEFAULT_FONT_FAMILY;return Math.min(t.getTextWidth(e,n,o,a),N.PIVOT_MAX_CONTENT_WIDTH)},t.getPivotCellWidth=d,t.getPivotCellHeight=u,t.getTableBodyWidth=function(e,t,n){var o=n.length&&N.PIVOT_TITLE_SIZE,a="row"===e?n.slice(0,n.length-1).reduce(function(e,t){return e+d(t)},0):n.reduce(function(e,t){return e+d(t)},0);return t-2*N.PIVOT_BORDER-a-N.PIVOT_YAXIS_SIZE-o},t.getTableBodyHeight=function(e,t,n){var o=n&&N.PIVOT_TITLE_SIZE,a="col"===e?Math.max(n-1,0):n;return t-2*N.PIVOT_BORDER-a*u()-N.PIVOT_XAXIS_SIZE-o},t.getChartElementSize=c,t.shouldTableBodyCollapsed=p,t.getChartUnitMetricWidth=m,t.getChartUnitMetricHeight=f,t.checkChartEnable=h,t.getAxisInterval=g,t.getChartPieces=b,t.metricAxisLabelFormatter=_,t.getPivot=v,t.getBar=y,t.getScatter=x,t.getTable=j,t.getStyleConfig=w,t.getChartViewMetrics=k,t.getAxisData=M,t.axisDataCutting=S,t.getXaxisLabel=T,t.getTooltipPosition=E,t.getPivotTooltipLabel=C,t.getChartTooltipLabel=O,t.getChartLabel=D,t.getTriggeringRecord=L,t.getSizeRate=A,t.getSizeValue=P},"./app/containers/Widget/config/chart/bar.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("./app/globalConstants.ts"),a={id:3,name:"bar",title:"柱状图",icon:"icon-chart-bar",coordinate:"cartesian",requireDimetions:[0,1],requireMetrics:[1,9999],dimetionAxis:"col",data:{color:{title:"颜色",type:"category"},tip:{title:"提示信息",type:"value"}},style:{spec:{stack:!1},label:{showLabel:!1,labelPosition:o.CHART_LABEL_POSITIONS[0].value,labelFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,labelFontSize:"12",labelColor:o.PIVOT_DEFAULT_FONT_COLOR},xAxis:{showLine:!0,lineStyle:"solid",lineSize:"1",lineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,showLabel:!0,labelFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,labelFontSize:"12",labelColor:o.PIVOT_DEFAULT_FONT_COLOR},yAxis:{showLine:!0,lineStyle:"solid",lineSize:"1",lineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,showLabel:!0,labelFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,labelFontSize:"12",labelColor:o.PIVOT_DEFAULT_FONT_COLOR,showTitleAndUnit:!0,titleFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,titleFontSize:"12",titleColor:o.PIVOT_DEFAULT_FONT_COLOR,nameLocation:"middle",nameRotate:90,nameGap:40},splitLine:{showHorizontalLine:!0,horizontalLineStyle:"dashed",horizontalLineSize:"1",horizontalLineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,showVerticalLine:!1,verticalLineStyle:"dashed",verticalLineSize:"1",verticalLineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR},legend:{showLegend:!0,legendPosition:"right",selectAll:!0,fontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,fontSize:"12",color:o.PIVOT_DEFAULT_FONT_COLOR}}};t.default=a},"./app/containers/Widget/config/chart/funnel.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("./app/globalConstants.ts"),a={id:6,name:"funnel",title:"漏斗图",icon:"icon-iconloudoutu",coordinate:"cartesian",requireDimetions:[0,9999],requireMetrics:1,dimetionAxis:"col",data:{color:{title:"颜色",type:"category"}},style:{label:{showLabel:!1,funnelLabelPosition:o.CHART_FUNNEL_LABEL_POSITIONS[0].value,labelFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,labelFontSize:"12",labelColor:o.PIVOT_DEFAULT_FONT_COLOR},legend:{showLegend:!0,legendPosition:"right",selectAll:!0,fontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,fontSize:"12",color:o.PIVOT_DEFAULT_FONT_COLOR},spec:{sortMode:o.CHART_SORT_MODES[0].value,alignmentMode:o.CHART_ALIGNMENT_MODES[0].value,gapNumber:0}}};t.default=a},"./app/containers/Widget/config/chart/index.tsx":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("./app/containers/Widget/config/chart/table.ts"),a=n("./app/containers/Widget/config/chart/line.ts"),r=n("./app/containers/Widget/config/chart/bar.ts"),i=n("./app/containers/Widget/config/chart/scatter.ts"),s=n("./app/containers/Widget/config/chart/pie.ts"),l=n("./app/containers/Widget/config/chart/funnel.ts"),d=n("./app/containers/Widget/config/chart/radar.ts"),u=n("./app/containers/Widget/config/chart/sankey.ts"),c=n("./app/containers/Widget/config/chart/parallel.ts"),p=n("./app/containers/Widget/config/chart/map.ts"),m=n("./app/containers/Widget/config/chart/wordCloud.ts"),f=n("./app/containers/Widget/config/chart/waterfall.ts"),h=[o.default,a.default,r.default,i.default,s.default,l.default,d.default,u.default,c.default,p.default,m.default,f.default];t.default=h},"./app/containers/Widget/config/chart/line.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("./app/globalConstants.ts"),a={id:2,name:"line",title:"折线图",icon:"icon-chart-line",coordinate:"cartesian",requireDimetions:1,requireMetrics:[1,9999],dimetionAxis:"col",data:{color:{title:"颜色",type:"category"},tip:{title:"提示信息",type:"value"}},style:{spec:{smooth:!1,step:!1},label:{showLabel:!1,labelPosition:o.CHART_LABEL_POSITIONS[0].value,labelFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,labelFontSize:"12",labelColor:o.PIVOT_DEFAULT_FONT_COLOR},xAxis:{showLine:!0,lineStyle:"solid",lineSize:"1",lineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,showLabel:!0,labelFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,labelFontSize:"12",labelColor:o.PIVOT_DEFAULT_FONT_COLOR},yAxis:{showLine:!0,lineStyle:"solid",lineSize:"1",lineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,showLabel:!0,labelFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,labelFontSize:"12",labelColor:o.PIVOT_DEFAULT_FONT_COLOR,showTitleAndUnit:!0,titleFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,titleFontSize:"12",titleColor:o.PIVOT_DEFAULT_FONT_COLOR,nameLocation:"middle",nameRotate:90,nameGap:40},splitLine:{showHorizontalLine:!0,horizontalLineStyle:"dashed",horizontalLineSize:"1",horizontalLineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,showVerticalLine:!1,verticalLineStyle:"dashed",verticalLineSize:"1",verticalLineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR},legend:{showLegend:!0,legendPosition:"right",selectAll:!0,fontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,fontSize:"12",color:o.PIVOT_DEFAULT_FONT_COLOR}}};t.default=a},"./app/containers/Widget/config/chart/map.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("./app/globalConstants.ts"),a=n("./app/assets/json/echartsThemes/default.project.json"),r=a.theme.color,i={id:7,name:"map",title:"地图",icon:"icon-china",coordinate:"cartesian",requireDimetions:[0,9999],requireMetrics:1,dimetionAxis:"col",data:{},style:{label:{showLabel:!1,labelPosition:o.CHART_LABEL_POSITIONS[0].value,labelFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,labelFontSize:"12",labelColor:o.PIVOT_DEFAULT_FONT_COLOR},visualMap:{showVisualMap:!0,visualMapPosition:o.CHART_VISUALMAP_POSITIONS[0].value,fontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,fontSize:"12",visualMapDirection:"vertical",visualMapWidth:20,visualMapHeight:150,startColor:r[0],endColor:r[2]},legend:{showLegend:!0,legendPosition:o.CHART_LEGEND_POSITIONS[0].value,selectAll:!0,fontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,fontSize:"12",color:o.PIVOT_DEFAULT_FONT_COLOR},spec:{layerType:"map",roam:!1}}};t.default=i},"./app/containers/Widget/config/chart/parallel.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("./app/globalConstants.ts"),a={id:8,name:"parallel",title:"平行坐标图",icon:"icon-parallel",coordinate:"cartesian",requireDimetions:[1,9999],requireMetrics:[1,9999],dimetionAxis:"col",data:{color:{title:"颜色",type:"category"}},style:{axis:{inverse:!1,showLine:!0,lineStyle:"solid",lineSize:"1",lineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,showLabel:!0,labelFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,labelFontSize:"12",labelColor:o.PIVOT_DEFAULT_FONT_COLOR,showTitleAndUnit:!0,nameLocation:"start",nameRotate:0,nameGap:20,titleFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,titleFontStyle:o.DEFAULT_FONT_STYLE,titleFontSize:"12",titleColor:o.PIVOT_DEFAULT_FONT_COLOR},legend:{showLegend:!0,legendPosition:"right",selectAll:!0,fontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,fontSize:"12",color:o.PIVOT_DEFAULT_FONT_COLOR},areaSelect:{width:o.PIVOT_CHART_ELEMENT_MIN_WIDTH,borderWidth:o.PIVOT_BORDER,borderColor:"#a0c5e8",color:"#a0c5e8",opacity:.3},spec:{layout:"horizontal",smooth:!1}}};t.default=a},"./app/containers/Widget/config/chart/pie.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("./app/globalConstants.ts"),a={id:5,name:"pie",title:"饼图",icon:"icon-chartpie",coordinate:"cartesian",requireDimetions:[0,9999],requireMetrics:1,dimetionAxis:"col",data:{color:{title:"颜色",type:"category"}},style:{label:{showLabel:!1,pieLabelPosition:o.CHART_PIE_LABEL_POSITIONS[0].value,labelFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,labelFontSize:"12",labelColor:o.PIVOT_DEFAULT_FONT_COLOR},legend:{showLegend:!0,legendPosition:"right",selectAll:!0,fontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,fontSize:"12",color:o.PIVOT_DEFAULT_FONT_COLOR},spec:{roseType:!1,circle:!1}}};t.default=a},"./app/containers/Widget/config/chart/radar.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("./app/globalConstants.ts"),a={id:10,name:"radar",title:"雷达图",icon:"icon-radarchart",coordinate:"cartesian",requireDimetions:1,requireMetrics:[1,9999],dimetionAxis:"col",data:{color:{title:"颜色",type:"category"}},style:{label:{showLabel:!0,labelFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,labelFontSize:"12",labelColor:o.PIVOT_DEFAULT_FONT_COLOR},legend:{showLegend:!0,legendPosition:"right",selectAll:!0,fontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,fontSize:"12",color:o.PIVOT_DEFAULT_FONT_COLOR},spec:{shape:"polygon"}}};t.default=a},"./app/containers/Widget/config/chart/sankey.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("./app/globalConstants.ts"),a={id:9,name:"sankey",title:"桑基图",icon:"icon-kongjiansangjitu",coordinate:"cartesian",requireDimetions:[2,9999],requireMetrics:1,dimetionAxis:"col",data:{},style:{label:{showLabel:!0,labelPosition:"right",labelFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,labelFontSize:"12",labelColor:o.PIVOT_DEFAULT_FONT_COLOR},spec:{nodeWidth:20,nodeGap:8,orient:"horizontal",draggable:!0}}};t.default=a},"./app/containers/Widget/config/chart/scatter.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("./app/globalConstants.ts"),a={id:4,name:"scatter",title:"散点图",icon:"icon-scatter-chart",coordinate:"cartesian",requireDimetions:[0,9999],requireMetrics:2,dimetionAxis:"col",data:{size:{title:"尺寸",type:"value"},color:{title:"颜色",type:"category"},tip:{title:"提示信息",type:"value"}},style:{spec:{},label:{showLabel:!1,labelPosition:o.CHART_LABEL_POSITIONS[0].value,labelFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,labelFontSize:"12",labelColor:o.PIVOT_DEFAULT_FONT_COLOR},xAxis:{showLine:!0,lineStyle:"solid",lineSize:"1",lineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,showLabel:!0,labelFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,labelFontSize:"12",labelColor:o.PIVOT_DEFAULT_FONT_COLOR,showTitleAndUnit:!0,titleFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,titleFontSize:"12",titleColor:o.PIVOT_DEFAULT_FONT_COLOR,nameLocation:"middle",nameRotate:90,nameGap:40},yAxis:{showLine:!0,lineStyle:"solid",lineSize:"1",lineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,showLabel:!0,labelFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,labelFontSize:"12",labelColor:o.PIVOT_DEFAULT_FONT_COLOR,showTitleAndUnit:!0,titleFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,titleFontSize:"12",titleColor:o.PIVOT_DEFAULT_FONT_COLOR,nameLocation:"middle",nameRotate:90,nameGap:40},splitLine:{showHorizontalLine:!0,horizontalLineStyle:"dashed",horizontalLineSize:"1",horizontalLineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,showVerticalLine:!1,verticalLineStyle:"dashed",verticalLineSize:"1",verticalLineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR},legend:{showLegend:!0,legendPosition:"right",selectAll:!0,fontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,fontSize:"12",color:o.PIVOT_DEFAULT_FONT_COLOR}}};t.default=a},"./app/containers/Widget/config/chart/table.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("./app/globalConstants.ts"),a={id:1,name:"table",title:"表格",icon:"icon-table",coordinate:"other",requireDimetions:[0,9999],requireMetrics:[0,9999],data:{},style:{table:{fontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,fontSize:"12",color:o.PIVOT_DEFAULT_FONT_COLOR,lineStyle:"solid",lineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,headerBackgroundColor:o.PIVOT_DEFAULT_HEADER_BACKGROUND_COLOR}}};t.default=a},"./app/containers/Widget/config/chart/waterfall.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("./app/globalConstants.ts"),a={id:12,name:"waterfall",title:"瀑布图",icon:"icon-waterfall",coordinate:"cartesian",requireDimetions:1,requireMetrics:1,dimetionAxis:"col",data:{},style:{spec:{},label:{showLabel:!1,labelPosition:o.CHART_LABEL_POSITIONS[0].value,labelFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,labelFontSize:"12",labelColor:o.PIVOT_DEFAULT_FONT_COLOR},xAxis:{showLine:!0,lineStyle:"solid",lineSize:"1",lineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,showLabel:!0,labelFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,labelFontSize:"12",labelColor:o.PIVOT_DEFAULT_FONT_COLOR},yAxis:{showLine:!0,lineStyle:"solid",lineSize:"1",lineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,showLabel:!0,labelFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,labelFontSize:"12",labelColor:o.PIVOT_DEFAULT_FONT_COLOR,showTitleAndUnit:!0,titleFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,titleFontSize:"12",titleColor:o.PIVOT_DEFAULT_FONT_COLOR,nameLocation:"middle",nameRotate:90,nameGap:40},splitLine:{showHorizontalLine:!0,horizontalLineStyle:"dashed",horizontalLineSize:"1",horizontalLineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,showVerticalLine:!1,verticalLineStyle:"dashed",verticalLineSize:"1",verticalLineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR}}};t.default=a},"./app/containers/Widget/config/chart/wordCloud.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o={id:11,name:"wordCloud",title:"词云",icon:"icon-chartwordcloud",coordinate:"other",requireDimetions:1,requireMetrics:1,dimetionAxis:"col",data:{},style:{spec:{}}};t.default=o},"./app/containers/Widget/config/index.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("./app/containers/Widget/config/pivot/index.ts"),a=n("./app/containers/Widget/config/chart/index.tsx");t.default={pivot:o.default,chart:a.default}},"./app/containers/Widget/config/pivot/bar.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("./app/globalConstants.ts"),a={id:3,name:"bar",title:"柱状图",icon:"icon-chart-bar",coordinate:"cartesian",requireDimetions:[0,9999],requireMetrics:[1,9999],dimetionAxis:"col",data:{color:{title:"颜色",type:"category"},label:{title:"标签",type:"all"},tip:{title:"提示信息",type:"value"}},style:{xAxis:{showLine:!0,lineStyle:"solid",lineSize:"1",lineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,showLabel:!0,labelFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,labelFontSize:"12",labelColor:o.PIVOT_DEFAULT_FONT_COLOR},yAxis:{showLine:!0,lineStyle:"solid",lineSize:"1",lineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,showLabel:!0,labelFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,labelFontSize:"12",labelColor:o.PIVOT_DEFAULT_FONT_COLOR,showTitleAndUnit:!0,titleFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,titleFontSize:"12",titleColor:o.PIVOT_DEFAULT_FONT_COLOR},splitLine:{showHorizontalLine:!0,horizontalLineStyle:"dashed",horizontalLineSize:"1",horizontalLineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,showVerticalLine:!1,verticalLineStyle:"dashed",verticalLineSize:"1",verticalLineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR},pivot:{fontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,fontSize:"12",color:o.PIVOT_DEFAULT_FONT_COLOR,lineStyle:"solid",lineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,headerBackgroundColor:o.PIVOT_DEFAULT_HEADER_BACKGROUND_COLOR}}};t.default=a},"./app/containers/Widget/config/pivot/index.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("./app/containers/Widget/config/pivot/pivot.ts"),a=n("./app/containers/Widget/config/pivot/line.ts"),r=n("./app/containers/Widget/config/pivot/bar.ts"),i=n("./app/containers/Widget/config/pivot/pie.ts"),s=n("./app/containers/Widget/config/pivot/scatter.ts"),l=[o.default,a.default,r.default,s.default,i.default];t.default=l},"./app/containers/Widget/config/pivot/line.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("./app/globalConstants.ts"),a={id:2,name:"line",title:"折线图",icon:"icon-chart-line",coordinate:"cartesian",requireDimetions:[1,9999],requireMetrics:[1,9999],dimetionAxis:"col",data:{color:{title:"颜色",type:"category"},label:{title:"标签",type:"all"},tip:{title:"提示信息",type:"value"}},style:{spec:{smooth:!1,step:!1},xAxis:{showLine:!0,lineStyle:"solid",lineSize:"1",lineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,showLabel:!0,labelFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,labelFontSize:"12",labelColor:o.PIVOT_DEFAULT_FONT_COLOR},yAxis:{showLine:!0,lineStyle:"solid",lineSize:"1",lineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,showLabel:!0,labelFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,labelFontSize:"12",labelColor:o.PIVOT_DEFAULT_FONT_COLOR,showTitleAndUnit:!0,titleFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,titleFontSize:"12",titleColor:o.PIVOT_DEFAULT_FONT_COLOR},splitLine:{showHorizontalLine:!0,horizontalLineStyle:"dashed",horizontalLineSize:"1",horizontalLineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,showVerticalLine:!1,verticalLineStyle:"dashed",verticalLineSize:"1",verticalLineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR},pivot:{fontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,fontSize:"12",color:o.PIVOT_DEFAULT_FONT_COLOR,lineStyle:"solid",lineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,headerBackgroundColor:o.PIVOT_DEFAULT_HEADER_BACKGROUND_COLOR}}};t.default=a},"./app/containers/Widget/config/pivot/pie.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("./app/globalConstants.ts"),a={id:5,name:"pie",title:"饼图",icon:"icon-chartpie",coordinate:"polar",requireDimetions:[0,9999],requireMetrics:[1,9999],data:{color:{title:"颜色",type:"category"},label:{title:"标签",type:"all"},tip:{title:"提示信息",type:"value"}},style:{spec:{circle:!1},xAxis:{showLine:!0,lineStyle:"solid",lineSize:"1",lineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,showLabel:!0,labelFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,labelFontSize:"12",labelColor:o.PIVOT_DEFAULT_FONT_COLOR},splitLine:{showHorizontalLine:!0,horizontalLineStyle:"dashed",horizontalLineSize:"1",horizontalLineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,showVerticalLine:!1,verticalLineStyle:"dashed",verticalLineSize:"1",verticalLineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR},pivot:{fontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,fontSize:"12",color:o.PIVOT_DEFAULT_FONT_COLOR,lineStyle:"solid",lineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,headerBackgroundColor:o.PIVOT_DEFAULT_HEADER_BACKGROUND_COLOR}}};t.default=a},"./app/containers/Widget/config/pivot/pivot.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("./app/globalConstants.ts"),a={id:1,name:"pivot",title:"透视表",icon:"icon-table",coordinate:"cartesian",requireDimetions:[0,9999],requireMetrics:[0,9999],data:{color:{title:"颜色",type:"category"}},style:{pivot:{fontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,fontSize:"12",color:o.PIVOT_DEFAULT_FONT_COLOR,lineStyle:"solid",lineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,headerBackgroundColor:o.PIVOT_DEFAULT_HEADER_BACKGROUND_COLOR}}};t.default=a},"./app/containers/Widget/config/pivot/scatter.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("./app/globalConstants.ts"),a={id:4,name:"scatter",title:"散点图",icon:"icon-scatter-chart",coordinate:"cartesian",requireDimetions:[0,9999],requireMetrics:[1,9999],data:{xAxis:{title:"x数据轴",type:"value"},color:{title:"颜色",type:"category"},size:{title:"尺寸",type:"value"},label:{title:"标签",type:"all"},tip:{title:"提示信息",type:"value"}},style:{xAxis:{showLine:!0,lineStyle:"solid",lineSize:"1",lineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,showLabel:!0,labelFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,labelFontSize:"12",labelColor:o.PIVOT_DEFAULT_FONT_COLOR},yAxis:{showLine:!0,lineStyle:"solid",lineSize:"1",lineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,showLabel:!0,labelFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,labelFontSize:"12",labelColor:o.PIVOT_DEFAULT_FONT_COLOR,showTitleAndUnit:!0,titleFontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,titleFontSize:"12",titleColor:o.PIVOT_DEFAULT_FONT_COLOR},splitLine:{showHorizontalLine:!0,horizontalLineStyle:"dashed",horizontalLineSize:"1",horizontalLineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,showVerticalLine:!1,verticalLineStyle:"dashed",verticalLineSize:"1",verticalLineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR},pivot:{fontFamily:o.PIVOT_CHART_FONT_FAMILIES[0].value,fontSize:"12",color:o.PIVOT_DEFAULT_FONT_COLOR,lineStyle:"solid",lineColor:o.PIVOT_DEFAULT_AXIS_LINE_COLOR,headerBackgroundColor:o.PIVOT_DEFAULT_HEADER_BACKGROUND_COLOR}}};t.default=a},"./app/containers/Widget/constants.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LOAD_WIDGETS="davinci/Widget/LOAD_WIDGETS",t.LOAD_WIDGETS_SUCCESS="davinci/Widget/LOAD_WIDGETS_SUCCESS",t.LOAD_WIDGETS_FAILURE="davinci/Widget/LOAD_WIDGETS_FAILURE",t.ADD_WIDGET="davinci/Widget/ADD_WIDGET",t.ADD_WIDGET_SUCCESS="davinci/Widget/ADD_WIDGET_SUCCESS",t.ADD_WIDGET_FAILURE="davinci/Widget/ADD_WIDGET_FAILURE",t.LOAD_WIDGET_DETAIL="davinci/Widget/LOAD_WIDGET_DETAIL",t.LOAD_WIDGET_DETAIL_SUCCESS="davinci/Widget/LOAD_WIDGET_DETAIL_SUCCESS",t.LOAD_WIDGET_DETAIL_FAILURE="davinci/Widget/LOAD_WIDGET_DETAIL_FAILURE",t.EDIT_WIDGET="davinci/Widget/EDIT_WIDGET",t.EDIT_WIDGET_SUCCESS="davinci/Widget/EDIT_WIDGET_SUCCESS",t.EDIT_WIDGET_FAILURE="davinci/Widget/EDIT_WIDGET_FAILURE",t.DELETE_WIDGET="davinci/Widget/DELETE_WIDGET",t.DELETE_WIDGET_SUCCESS="davinci/Widget/DELETE_WIDGET_SUCCESS",t.DELETE_WIDGET_FAILURE="davinci/Widget/DELETE_WIDGET_FAILURE",t.CLEAR_CURRENT_WIDGET="davinci/Widget/CLEAR_CURRENT_WIDGET"},"./app/containers/Widget/reducer.ts":function(e,t,n){"use strict";function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d,t=arguments[1],n=t.type,o=t.payload,l=e.get("widgets");switch(n){case a.LOAD_WIDGETS:return e.set("loading",!0).set("widgets",null);case a.LOAD_WIDGETS_SUCCESS:return e.set("loading",!1).set("widgets",o.widgets);case a.LOAD_WIDGETS_FAILURE:return e.set("loading",!1);case a.ADD_WIDGET:return e.set("loading",!0);case a.ADD_WIDGET_SUCCESS:return l?(l.push(o.result),e.set("loading",!1).set("widgets",l.slice())):e.set("loading",!1).set("widgets",[o.result]);case a.ADD_WIDGET_FAILURE:return e.set("loading",!1);case a.DELETE_WIDGET:return e.set("loading",!0);case a.DELETE_WIDGET_SUCCESS:return e.set("widgets",l.filter(function(e){return e.id!==o.id})).set("loading",!1);case a.DELETE_WIDGET_FAILURE:return e.set("loading",!1);case a.LOAD_WIDGET_DETAIL:return e.set("loading",!0).set("currentWidget",null);case a.LOAD_WIDGET_DETAIL_SUCCESS:return e.set("loading",!1).set("currentWidget",o.detail);case a.LOAD_WIDGET_DETAIL_FAILURE:return e.set("loading",!1);case a.EDIT_WIDGET:return e.set("loading",!0);case a.EDIT_WIDGET_SUCCESS:case a.EDIT_WIDGET_FAILURE:return e.set("loading",!1);case s.LOAD_DATA:return e.set("dataLoading",!0);case s.LOAD_DATA_SUCCESS:case s.LOAD_DATA_FAILURE:return e.set("dataLoading",!1);case s.CLEAR_BIZDATAS:return e.set("bizdatas",!1);case r.LOAD_DASHBOARD_DETAIL_SUCCESS:case i.ActionTypes.LOAD_DISPLAY_DETAIL_SUCCESS:return e.set("widgets",o.widgets);case s.LOAD_DISTINCT_VALUE:return e.set("columnValueLoading",!0).set("distinctColumnValues",null);case s.LOAD_DISTINCT_VALUE_SUCCESS:return e.set("columnValueLoading",!1).set("distinctColumnValues",o.data[o.fieldName].slice(0,100));case s.LOAD_DISTINCT_VALUE_FAILURE:return e.set("columnValueLoading",!1);case a.CLEAR_CURRENT_WIDGET:return e.set("currentWidget",null);default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n("./app/containers/Widget/constants.ts"),r=n("./app/containers/Dashboard/constants.ts"),i=n("./app/containers/Display/constants.ts"),s=n("./app/containers/Bizlogic/constants.ts"),l=n("./node_modules/immutable/dist/immutable.js"),d=l.fromJS({widgets:null,currentWidget:null,loading:!1,dataLoading:!1,columnValueLoading:!1,distinctColumnValues:null});t.default=o},"./app/containers/Widget/render/chart/bar.ts":function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t1)&&(D={legend:s.getLegendOption(m,O)});var L={showLine:b,lineColor:_,lineSize:v,lineStyle:y},A={showLine:x,lineColor:j,lineSize:w,lineStyle:k};return Object.assign({xAxis:s.getDimetionAxisOption(f,L,S),yAxis:s.getMetricAxisOption(h,A,a.map(function(e){return i.decodeMetricName(e.name)}).join(" / ")),series:E,tooltip:{formatter:i.getChartTooltipLabel("bar",C,{cols:n,metrics:a,color:u,tip:c})}},D,{grid:s.getGridPositions(m,O)})}var r=function(){function e(e,t){var n=[],o=!0,a=!1,r=void 0;try{for(var i,s=e[Symbol.iterator]();!(o=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);o=!0);}catch(e){a=!0,r=e}finally{try{!o&&s.return&&s.return()}finally{if(a)throw r}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n("./app/containers/Widget/components/util.ts"),s=n("./app/containers/Widget/render/chart/util.ts"),l=n("./app/assets/json/echartsThemes/default.project.json"),d=l.theme.color;t.default=a},"./app/containers/Widget/render/chart/funnel.ts":function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t1)&&(P={legend:s.getLegendOption(b,A)});var I={showLine:_,lineColor:v,lineSize:y,lineStyle:x},R={showLine:j,lineColor:w,lineSize:k,lineStyle:M};return Object.assign({xAxis:s.getDimetionAxisOption(m,I,C),yAxis:s.getMetricAxisOption(f,R,a.map(function(e){return i.decodeMetricName(e.name)}).join(" / ")),series:D,tooltip:{formatter:i.getChartTooltipLabel("line",L,{cols:n,metrics:a,color:u,tip:c})}},P,{grid:s.getGridPositions(b,A)})}var r=function(){function e(e,t){var n=[],o=!0,a=!1,r=void 0;try{for(var i,s=e[Symbol.iterator]();!(o=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);o=!0);}catch(e){a=!0,r=e}finally{try{!o&&s.return&&s.return()}finally{if(a)throw r}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n("./app/containers/Widget/components/util.ts"),s=n("./app/containers/Widget/render/chart/util.ts"),l=n("./app/assets/json/echartsThemes/default.project.json"),d=l.theme.color;t.default=a},"./app/containers/Widget/render/chart/map.ts":function(e,t,n){"use strict";function o(e){var t=e.chartStyles,n=e.data,o=e.cols,p=e.metrics,m=e.model,f=t.label,h=t.spec,g=f.labelColor,b=f.labelFontFamily,_=f.labelFontSize,v=f.labelPosition,y=f.showLabel,x=h.layerType,j=h.roam,w={label:{normal:{formatter:"{b}",position:v,show:y,color:g,fontFamily:b,fontSize:_}}},k={label:u.getLabelOption("lines",f,!0,{formatter:function(e){return e.name+"("+e.data.value[2]+")"}})},M=void 0,S=void 0,T={},E=0,C=0,O=p[0].agg,D=d.decodeMetricName(p[0].name);n.forEach(function(e){var t=void 0,n=e[O+"("+D+")"];E=Math.min(E,n),C=Math.max(C,n),o.forEach(function(o){var l=m[o].visualType;if("geoProvince"===l){t=e[o];var d=s(t);d&&(T[t]||(T[t]={lon:d.lon,lat:d.lat,value:n,children:{}}))}else if("geoCity"===l){t=e[o];var u=i(t);if(u)if("map"===x){var c=a(u),p=r(c.name);T[p]||(T[p]={lon:u.lon,lat:u.lat,value:0,children:{}}),T[p].value+=n}else T[t]||(T[t]={lon:u.lon,lat:u.lat,value:n,children:{}})}})});var L=[],A=d.getSizeRate(E,C),P="scatter"===x?{}:{blurSize:40},I=void 0;if("map"===x?I=Object.assign({name:"地图",type:"map",mapType:"china",roam:j,data:Object.keys(T).map(function(e,t){var n=T[e];return{name:e,value:[n.lon,n.lat,n.value]}})},w):"scatter"!==x&&"heatmap"!==x||(I=Object.assign({name:"scatter"===x?"气泡图":"热力图",type:x||"scatter",coordinateSystem:"geo",data:Object.keys(T).map(function(e,t){var n=T[e],o=n.lon,a=n.lat,r=n.value;return{name:e,value:[o,a,r],symbolSize:u.getSymbolSize(A,r)/2}})},w,P)),L.push(I),M={series:L},t.visualMap){var R=t.visualMap,N=R.showVisualMap,z=R.visualMapPosition,F=R.fontFamily,Y=R.fontSize,H=R.visualMapDirection,V=R.visualMapWidth,W=R.visualMapHeight,q=R.startColor,B=R.endColor;S={visualMap:Object.assign({show:"lines"!==x&&N,min:E,max:C,calculable:!0,inRange:{color:[q,B]}},l(z),{itemWidth:V,itemHeight:W,textStyle:{fontFamily:F,fontSize:Y},orient:H})}}else S={visualMap:{show:!1,min:E,max:C,calculable:!0,inRange:{color:c.DEFAULT_ECHARTS_THEME.visualMapColor},left:10,bottom:20,itemWidth:20,itemHeight:50,textStyle:{fontFamily:"PingFang SC",fontSize:12},orient:"vertical"}};var U={tooltip:{trigger:"item"}},G=o.filter(function(e){return"geoCity"===m[e].visualType}),K=o.filter(function(e){return"geoProvince"===m[e].visualType}),Z=[],J=[];n.forEach(function(e,t){var n=[],o=[],a=e[O+"("+D+")"];if(e[G[0]]&&e[G[1]]){var r=i(e[G[0]]),l=i(e[G[1]]);J.push(e[G[0]]),n=[{fromName:e[G[0]],toName:e[G[1]],coords:[[r.lon,r.lat],[l.lon,l.lat]]}],o=[{name:e[G[1]],value:[l.lon,l.lat,a]}]}else if(e[K[0]]&&e[K[1]]){var d=s(e[K[0]]),u=s(e[K[1]]);J.push(e[K[0]]),n=[{fromName:e[K[0]],toName:e[K[1]],coords:[[d.lon,d.lat],[u.lon,u.lat]]}],o=[{name:e[K[1]],value:[u.lon,u.lat,a]}]}else n=[];var c=void 0;c=Object.assign({name:e[G[0]]||e[K[0]],type:"effectScatter",coordinateSystem:"geo",zlevel:t,rippleEffect:{brushType:"stroke"}},k,{symbolSize:function(e){return e[2]/6},data:o}),Z.push({name:e[G[0]]||e[K[0]],type:"lines",zlevel:t,symbol:["none","arrow"],symbolSize:10,effect:{show:!0,period:6,trailLength:0,symbol:"arrow",symbolSize:15},lineStyle:{normal:{width:2,opacity:.6,curveness:.2}},data:n},c)});var X=void 0;if(t.legend){var Q=t.legend;Q.color,Q.fontFamily,Q.fontSize,Q.legendPosition,Q.selectAll,Q.showLegend;X={legend:u.getLegendOption(t.legend,J)}}else X=null;var $=void 0;switch(x){case"map":$=Object.assign({},M,S);break;case"lines":$=Object.assign({},X,{geo:{map:"china",roam:j},series:Z},S);break;default:$=Object.assign({geo:{map:"china",itemStyle:{normal:{areaColor:"#cccccc",borderColor:"#ffffff",borderWidth:1},emphasis:{areaColor:"#bbbbbb"}},roam:j}},M,S,U)}return $}function a(e){if(!e.parent)return e;var t=p.default.find(function(t){return t.id===e.parent});return t.parent?a(t):t}function r(e){return m.forEach(function(t){e.includes(t)&&(e=e.replace(t,""))}),e}function i(e){return f.some(function(t){return e.includes(t)})?p.default.find(function(t){return t.name===e}):p.default.find(function(t){return t.name.includes(e)})}function s(e){return m.some(function(t){return e.includes(t)})?p.default.find(function(t){return t.name===e&&!t.parent}):p.default.find(function(t){return t.name.includes(e)&&!t.parent})}function l(e){var t=void 0;switch(e){case"leftBottom":t={left:"left",top:"bottom"};break;case"leftTop":t={left:"left",top:"top"};break;case"rightTop":t={left:"right",top:"top"};break;case"rightBottom":t={left:"right",top:"bottom"}}return t}Object.defineProperty(t,"__esModule",{value:!0});var d=n("./app/containers/Widget/components/util.ts"),u=n("./app/containers/Widget/render/chart/util.ts"),c=n("./app/globalConstants.ts"),p=n("./app/assets/json/geo.js"),m=["省","自治区","市"],f=["自治州","市","区","县","旗","盟","镇"];t.default=o},"./app/containers/Widget/render/chart/parallel.ts":function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t{c} ({d}%)"},legend:s.getLegendOption(m,k),series:w}}var r=function(){function e(e,t){var n=[],o=!0,a=!1,r=void 0;try{for(var i,s=e[Symbol.iterator]();!(o=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);o=!0);}catch(e){a=!0,r=e}finally{try{!o&&s.return&&s.return()}finally{if(a)throw r}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n("./app/containers/Widget/components/util.ts"),s=n("./app/containers/Widget/render/chart/util.ts");t.default=a},"./app/containers/Widget/render/chart/radar.ts":function(e,t,n){"use strict";function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){var t=(e.width,e.height,e.data),n=e.cols,a=e.metrics,l=e.chartStyles,d=e.color,u=(e.tip,l.label),c=l.legend,p=l.spec,m=(l.toolbox,c.legendPosition,c.fontSize,p.shape),f=(s.getLabelOption("radar",u),[]);n.length&&(f=f.concat(n)),d.items.length&&(f=f.concat(d.items.map(function(e){return e.name})));var h=f[0],g=a.map(function(e){return i.decodeMetricName(e.name)}),b=g,_={},v=g.reduce(function(e,t){return Object.assign({},e,o({},t,{}))},{});t.forEach(function(e){_[e[h]]||(_[e[h]]=-1/0),a.forEach(function(t){var n=i.decodeMetricName(t.name),o=e[t.agg+"("+n+")"];_[e[h]]=Math.max(_[e[h]],o),v[n][e[h]]||(v[n][e[h]]=0),v[n][e[h]]+=o})});var y=Object.entries(_).map(function(e){var t=r(e,2),n=t[0],o=t[1];return{name:n,max:o+Math.round(.1*o)}}),x=Object.entries(v).map(function(e){var t=r(e,2),n=t[0],o=t[1];return{name:n,value:Object.values(o)}}),j=u.showLabel,w=u.labelColor,k=u.labelFontFamily,M=u.labelFontSize,S={show:j,color:w,fontFamily:k,fontSize:M};return{tooltip:{},legend:s.getLegendOption(c,b),radar:{shape:m,indicator:y,name:S},series:[{name:"",type:"radar",data:x}]}}var r=function(){function e(e,t){var n=[],o=!0,a=!1,r=void 0;try{for(var i,s=e[Symbol.iterator]();!(o=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);o=!0);}catch(e){a=!0,r=e}finally{try{!o&&s.return&&s.return()}finally{if(a)throw r}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n("./app/containers/Widget/components/util.ts"),s=n("./app/containers/Widget/render/chart/util.ts");t.default=a},"./app/containers/Widget/render/chart/sankey.ts":function(e,t,n){"use strict";function o(e){var t=(e.width,e.height,e.data),n=e.cols,o=e.metrics,i=e.chartStyles,s=(e.tip,i.label),l=i.spec,d=(i.toolbox,l.nodeWidth),u=l.nodeGap,c=l.orient,p=l.draggable,m={label:r.getLabelOption("sankey",s)},f=[];n.length&&(f=f.concat(n));var h=a.decodeMetricName(o[0].name),g=o[0].agg,b=[],_=[];return t.forEach(function(e){f.forEach(function(t,n){b.indexOf(e[t])<0&&b.push(e[t]),f[n-1]&&_.push({source:e[f[n-1]],target:e[f[n]],value:e[g+"("+h+")"]})})}),{tooltip:{trigger:"item",triggerOn:"mousemove"},series:[Object.assign({type:"sankey",layout:"none"},m,{data:b.map(function(e){return{name:e}}),links:_,orient:c,draggable:p,nodeWidth:d,nodeGap:u,focusNodeAdjacency:!0,itemStyle:{normal:{borderWidth:1,borderColor:"#aaa"}},lineStyle:{normal:{color:"source",curveness:.5}}})]}}Object.defineProperty(t,"__esModule",{value:!0});var a=n("./app/containers/Widget/components/util.ts"),r=n("./app/containers/Widget/render/chart/util.ts");t.default=o},"./app/containers/Widget/render/chart/scatter.ts":function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t3&&void 0!==arguments[3]&&arguments[3],e.inverse),a=e.showLine,r=e.lineStyle,i=e.lineSize,s=e.lineColor,l=e.showLabel,d=e.labelFontFamily,u=e.labelFontSize,c=e.labelColor,p=e.showTitleAndUnit,m=e.titleFontFamily,h=e.titleFontSize,g=e.titleColor,b=e.nameLocation,_=e.nameRotate,v=e.nameGap,y=t.showLine,x=t.lineStyle,j=t.lineSize,w=t.lineColor;return{type:"value",inverse:o,axisLabel:{show:l,color:c,fontFamily:d,fontSize:u,formatter:f.metricAxisLabelFormatter},axisLine:{show:a,lineStyle:{color:s,width:i,type:r}},axisTick:{show:l,lineStyle:{color:s}},name:p?n:"",nameLocation:b,nameGap:v,nameRotate:_,nameTextStyle:{color:g,fontFamily:m,fontSize:h},splitLine:{show:y,lineStyle:{color:w,width:j,type:x}}}}function s(e,t,n,o){var a=t.showLabel,r=t.labelPosition,i=t.labelFontFamily,s=t.labelFontSize,l=t.labelColor,d=t.pieLabelPosition,u=t.funnelLabelPosition,c=void 0;switch(e){case"pie":c=d;break;case"funnel":c=u;break;default:c=r}return Object.assign({normal:Object.assign({show:("pie"!==e||"center"!==d)&&a,position:c,color:l,fontFamily:i,fontSize:s},o)},n&&{emphasis:Object.assign({show:a,position:c,color:l,fontFamily:i,fontSize:s},o)})}function l(e,t){var n=e.showLegend,o=e.legendPosition,r=e.selectAll,i=e.fontFamily,s=e.fontSize,l=e.color,d=void 0,u=void 0;switch(o){case"top":d={orient:"horizontal"},u={top:8,left:8,right:8,height:32};break;case"bottom":d={orient:"horizontal"},u={bottom:8,left:8,right:8,height:32};break;case"left":d={orient:"vertical"},u={left:8,top:16,bottom:24,width:96};break;default:d={orient:"vertical"},u={right:8,top:16,bottom:24,width:96}}var c={selected:t.reduce(function(e,t){return Object.assign({},e,a({},t,r))},{})};return Object.assign({show:n,data:t,type:"scroll",textStyle:{fontFamily:i,fontSize:s,color:l}},d,u,c)}function d(e,t){var n=e.showLegend,a=e.legendPosition,r=e.fontSize;return h.CHART_LEGEND_POSITIONS.reduce(function(e,i){var s=i.value;return e[s]=u(s),n&&(e[s]+=a===s?["top","bottom"].includes(s)?32:32+Math.max.apply(Math,o(t.map(function(e){return f.getTextWidth(e,"",r+"px")}))):0),e},{})}function u(e){switch(e){case"top":return 24;case"left":return 64;case"right":return 24;case"bottom":return 50}}function c(e,t,n,o,r){var i={};return e.forEach(function(e){var o=t.map(function(t){return e[t]}).join(" "),a=e[n];i[o]||(i[o]={}),i[o][a]||(i[o][a]=[]),i[o][a].push(e)}),Object.keys(i).map(function(e){var t=i[e];i[e]=r.map(function(e){return t[e]?t[e][0]:o.reduce(function(e,t){return Object.assign({},e,a({},t.agg+"("+f.decodeMetricName(t.name)+")",0))},{})})}),i}function p(e,t){return t?Object.keys(e.reduce(function(e,n){return e[n[t]]||(e[n[t]]=!0),e},{})):[]}function m(e,t){return e?Math.ceil(t/e):t}Object.defineProperty(t,"__esModule",{value:!0});var f=n("./app/containers/Widget/components/util.ts"),h=n("./app/globalConstants.ts");t.getDimetionAxisOption=r,t.getMetricAxisOption=i,t.getLabelOption=s,t.getLegendOption=l,t.getGridPositions=d,t.makeGrouped=c,t.distinctXaxis=p,t.getSymbolSize=m},"./app/containers/Widget/render/chart/waterfall.ts":function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t0){var n=e-parseFloat(j[t-1]);return n>=0?(i.push(n),s.push("-"),a.push(parseFloat(j[t-1]))):(i.push("-"),s.push(Math.abs(n)),a.push(parseFloat(j[t-1])-Math.abs(n))),n}return i.push(e),s.push("-"),a.push(0),e});var l=i.reduce(function(e,t){return"number"==typeof t?e+t:e+0},0),d=s.reduce(function(e,t){return"number"==typeof t?e+t:e+0},0),u=l-d;x.push("累计"),a.push("-"),u>0?(i.push(u),s.push("-")):(s.push(Math.abs(u)),i.push("-"));var c={name:"["+r.getAggregatorLocale(e.agg)+"] "+r.decodeMetricName(e.name),type:"bar",sampling:"average",stack:"stack",data:a,itemStyle:{normal:{barBorderColor:"rgba(0,0,0,0)",color:"rgba(0,0,0,0)"},emphasis:{barBorderColor:"rgba(0,0,0,0)",color:"rgba(0,0,0,0)"}}},p=Object.assign({name:"升",type:"bar",sampling:"average",stack:"stack",data:i,itemStyle:{}},y),m=Object.assign({name:"降",type:"bar",sampling:"average",stack:"stack",data:s,itemStyle:{}},y);w.push(c),w.push(p),w.push(m)});var k=w.map(function(e){return e.name}),M={showLine:p,lineColor:m,lineSize:f,lineStyle:h},S={showLine:g,lineColor:b,lineSize:_,lineStyle:v};return{xAxis:i.getDimetionAxisOption(d,M,x),yAxis:i.getMetricAxisOption(u,S,a.map(function(e){return r.decodeMetricName(e.name)}).join(" / ")),series:w,tooltip:{trigger:"axis",formatter:function(e){var t=e.map(function(e,t){var n=t?e.data:parseFloat(j[e.dataIndex]);return e.seriesName+": "+n}),n=e[0].axisValue;return"累计"===n?"":(t.unshift(n),t.join("
"))}},grid:i.getGridPositions({showLegend:!1},k)}}Object.defineProperty(t,"__esModule",{value:!0});var r=n("./app/containers/Widget/components/util.ts"),i=n("./app/containers/Widget/render/chart/util.ts"),s=n("./app/assets/json/echartsThemes/default.project.json");s.theme.color;t.default=a},"./app/containers/Widget/render/chart/wordCloud.ts":function(e,t,n){"use strict";function o(e){if(null==e)throw new TypeError("Cannot destructure undefined")}function a(e){var t=(e.width,e.height,e.data),n=e.cols,a=e.metrics;o(e.chartStyles.spec);var i=n[0],l=a[0].agg,d=r.decodeMetricName(a[0].name);return{tooltip:{},series:[{type:"wordCloud",sizeRange:[12,72],textStyle:{normal:{color:function(){return s[Math.floor(Math.random()*s.length)]}}},rotationStep:90,data:t.filter(function(e){return!!e[i]}).map(function(e){return{name:e[i],value:e[l+"("+d+")"]}})}]}}Object.defineProperty(t,"__esModule",{value:!0});var r=n("./app/containers/Widget/components/util.ts"),i=n("./app/assets/json/echartsThemes/default.project.json"),s=i.theme.color;t.default=a},"./app/containers/Widget/render/pivot/bar.ts":function(e,t,n){"use strict";function o(e){return{chartOption:{type:"bar",barWidth:.8*e},stackOption:!0}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o},"./app/containers/Widget/render/pivot/index.ts":function(e,t,n){"use strict";function o(e,t){switch(e){case"line":return a.default();case"bar":return r.default(t.elementSize);case"scatter":return i.default(t.sizeRate);case"pie":return s.default()}}Object.defineProperty(t,"__esModule",{value:!0});var a=n("./app/containers/Widget/render/pivot/line.ts"),r=n("./app/containers/Widget/render/pivot/bar.ts"),i=n("./app/containers/Widget/render/pivot/scatter.ts"),s=n("./app/containers/Widget/render/pivot/pie.ts");t.default=o},"./app/containers/Widget/render/pivot/line.ts":function(e,t,n){"use strict";function o(){return{chartOption:{type:"line"}}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o},"./app/containers/Widget/render/pivot/pie.ts":function(e,t,n){"use strict";function o(){return{chartOption:{type:"pie"},calcPieCenterAndRadius:function(e,t,n,o,a,r,i,s,l,d,u,c,p,m,f,h){var g=void 0,b=void 0;if("col"===e){var _=100/l/u,v=100/r;if(g=[v*(h+s+1)-v/2+"%",_*(f+u*p+1)-_/2+"%"],t>n){b=["0%",100/u/l*Math.min(o/a[0],1)*.75+"%"]}else{b=["0%",100/r*Math.min(a[0]/o,1)*.75+"%"]}}else{var y=100/i,x=100/d/u;if(g=[x*(f+u*m+1)-x/2+"%",y*(i-h-p*c)-y/2+"%"],t>n){b=["0%",100/i*Math.min(a[1]/o,1)*.75+"%"]}else{b=["0%",100/u/d*Math.min(o/a[1],1)*.75+"%"]}}return{center:g,radius:b}}}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o},"./app/containers/Widget/render/pivot/scatter.ts":function(e,t,n){"use strict";function o(e){return{chartOption:{type:"scatter"},getSymbolSize:function(t,n){return e?Math.ceil(n/e[t]):n}}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o},"./app/globalConfig.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.envName={production:"production",dev:"dev"},t.env=t.envName.production,t.default={dev:{host:"/api/v3",shareHost:"/share.html"},production:{host:"/api/v3",shareHost:"/share.html"}}},"./app/globalConstants.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("./app/assets/json/echartsThemes/default.project.json");t.DEFAULT_ECHARTS_THEME=o.theme,t.DEFAULT_PRIMARY_COLOR="#1B98E0",t.DEFAULT_SECONDARY_COLOR="#223151",t.GRID_BREAKPOINTS={lg:1200,md:996,sm:768,xs:480,xxs:0},t.GRID_COLS={lg:12,md:12,sm:12,xs:2,xxs:2},t.GRID_ITEM_MARGIN=16,t.GRID_ROW_HEIGHT=30,t.DEFAULT_BASELINE_THICKNESS=1.5,t.DEFAULT_BASELINE_COLOR="#ecc302",t.TABLE_HEADER_HEIGHT=50,t.TABLE_PAGINATION_HEIGHT=61,t.COLUMN_WIDTH=150,t.DASHBOARD_ITEM_FILTER_HEIGHT=40,t.DEFAULT_TABLE_PAGE=1,t.DEFAULT_TABLE_PAGE_SIZE=20,t.PIVOT_CELL_PADDING=4,t.PIVOT_CELL_BORDER=1,t.PIVOT_LINE_HEIGHT=18,t.PIVOT_MAX_CONTENT_WIDTH=200,t.PIVOT_BORDER=1,t.PIVOT_CHART_ELEMENT_MIN_WIDTH=24,t.PIVOT_CHART_ELEMENT_MAX_WIDTH=72,t.PIVOT_CHART_METRIC_AXIS_MIN_SIZE=80,t.PIVOT_CHART_SPLIT_SIZE=40,t.PIVOT_CHART_POINT_LIMIT=100,t.PIVOT_XAXIS_SIZE=50,t.PIVOT_YAXIS_SIZE=64,t.PIVOT_TITLE_SIZE=27,t.PIVOT_XAXIS_ROTATE_LIMIT=30,t.PIVOT_XAXIS_TICK_SIZE=12,t.PIVOT_LEGEND_ITEM_PADDING=32,t.PIVOT_LEGEND_PADDING=16,t.PIVOT_DEFAULT_SCATTER_SIZE=10,t.PIVOT_DEFAULT_SCATTER_SIZE_TIMES=4,t.PIVOT_CANVAS_SIZE_LIMIT=3e3,t.PIVOT_CANVAS_AXIS_SIZE_LIMIT=8e3,t.PIVOT_CANVAS_POLAR_SIZE_LIMIT=8e3,t.PIVOT_DEFAULT_AXIS_LINE_COLOR="#D9D9D9",t.PIVOT_DEFAULT_FONT_COLOR="#666",t.PIVOT_DEFAULT_HEADER_BACKGROUND_COLOR="#f7f7f7",t.PIVOT_CHART_FONT_FAMILIES=[{name:"苹方",value:"PingFang SC"},{name:"微软雅黑",value:"Microsoft YaHei"},{name:"宋体",value:"SimSun"},{name:"黑体",value:"SimHei"},{name:"Helvetica Neue",value:'"Helvetica Neue"'},{name:"Helvetica",value:"Helvetica"},{name:"Arial",value:"Arial"},{name:"sans-serif",value:"sans-serif"}],t.PIVOT_CHART_LINE_STYLES=[{name:"实线",value:"solid"},{name:"虚线",value:"dashed"},{name:"点",value:"dotted"}],t.PIVOT_CHART_FONT_SIZES=[10,12,13,14,15,16,18,20,24,28,32,36,40,48,56,64],t.CHART_LABEL_POSITIONS=[{name:"上",value:"top"},{name:"左",value:"left"},{name:"右",value:"right"},{name:"下",value:"bottom"},{name:"内",value:"inside"},{name:"内左",value:"insideLeft"},{name:"内右",value:"insideRight"},{name:"内上",value:"insideTop"},{name:"内下",value:"insideBottom"},{name:"内左上",value:"insideTopLeft"},{name:"内左下",value:"insideBottomLeft"},{name:"内右上",value:"insideTopRight"},{name:"内右下",value:"insideBottomRight"}],t.CHART_PIE_LABEL_POSITIONS=[{name:"外侧",value:"outside"},{name:"内部",value:"inside"},{name:"中心",value:"center"}],t.CHART_FUNNEL_LABEL_POSITIONS=[{name:"左侧",value:"left"},{name:"右侧",value:"right"},{name:"内部",value:"inside"}],t.CHART_SORT_MODES=[{name:"降序",value:"descending"},{name:"升序",value:"ascending"},{name:"无",value:"none"}],t.CHART_ALIGNMENT_MODES=[{name:"居中",value:"center"},{name:"居左",value:"left"},{name:"居右",value:"right"}],t.AXIS_NAME_LOCATIONS=[{name:"开始",value:"start"},{name:"结束",value:"end"},{name:"中间",value:"center"}],t.CHART_LEGEND_POSITIONS=[{name:"右",value:"right"},{name:"上",value:"top"},{name:"下",value:"bottom"},{name:"左",value:"left"}],t.CHART_VISUALMAP_POSITIONS=[{name:"左下",value:"leftBottom"},{name:"左上",value:"leftTop"},{name:"右上",value:"rightTop"},{name:"右下",value:"rightBottom"}],t.CHART_LAYER_TYPES=[{name:"地图",value:"map"},{name:"气泡图",value:"scatter"},{name:"热力图",value:"heatmap"}],t.CHART_VISUALMAP_DIRECYTIONS=[{name:"竖直",value:"vertical"},{name:"水平",value:"horizontal"}],t.SQL_STRING_TYPES=["CHAR","VARCHAR","TINYTEXT","TEXT","MEDIUMTEXT","LONGTEXT","JSON","LINESTRING","MULTILINESTRING","TINYBLOB","MEDIUMBLOB","BLOB","LONGBLOB","BINARY","VARBINARY","ENUM","SET"],t.SQL_NUMBER_TYPES=["TINYINT","SMALLINT","MEDIUMINT","INT","INTEGER","BIGINT","FLOAT","DOUBLE","DOUBLE PRECISION","REAL","DECIMAL","BIT","SERIAL","BOOL","BOOLEAN","DEC","FIXED","NUMERIC"],t.SQL_DATE_TYPES=["DATE","DATETIME","TIMESTAMP","TIME","YEAR"],t.DEFAULT_SPLITER="@davinci@",t.KEY_COLUMN="davinciUniqueId",t.ECHARTS_RENDERER="echarts",t.DEFAULT_FONT_WEIGHT="normal",t.DEFAULT_FONT_STYLE="normal",t.DEFAULT_FONT_SIZE="12px",t.DEFAULT_FONT_FAMILY='"Helvetica Neue For Number", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif',t.DEFAULT_DATE_FORMAT="YYYY-MM-DD",t.DEFAULT_DATETIME_FORMAT="YYYY-MM-DD HH:mm:ss"},"./app/i18n.js":function(e,t,n){"use strict";function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"appLocales",function(){return f}),n.d(t,"formatTranslationMessages",function(){return h}),n.d(t,"translationMessages",function(){return g});var a=n("./node_modules/react-intl/lib/index.es.js"),r=n("./node_modules/react-intl/locale-data/en.js"),i=n.n(r),s=n("./node_modules/react-intl/locale-data/de.js"),l=n.n(s),d=n("./app/containers/App/constants.ts"),u=(n.n(d),n("./app/translations/en.json")),c=n.n(u),p=n("./app/translations/de.json"),m=n.n(p);Object(a.addLocaleData)(i.a),Object(a.addLocaleData)(l.a);var f=["en","de"],h=function e(t,n){var a=t!==d.DEFAULT_LOCALE?e(d.DEFAULT_LOCALE,c.a):{};return Object.keys(n).reduce(function(e,r){var i=n[r]||t===d.DEFAULT_LOCALE?n[r]:a[r];return Object.assign(e,o({},r,i))},{})},g={en:h("en",c.a),de:h("de",m.a)}},"./app/reducers.ts":function(e,t,n){"use strict";function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p,t=arguments[1];switch(t.type){case s.LOCATION_CHANGE:return e.merge({locationBeforeTransitions:t.payload});default:return e}}function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return i.combineReducers(Object.assign({route:o,language:l.default,report:d.default,bizlogic:u.default,widget:c.default},e))}Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/immutable/dist/immutable.js"),i=n("./node_modules/redux-immutable/dist/index.js"),s=n("./node_modules/react-router-redux/lib/index.js"),l=n("./app/containers/LanguageProvider/reducer.ts"),d=n("./app/containers/Report/reducer.ts"),u=n("./app/containers/Bizlogic/reducer.ts"),c=n("./app/containers/Widget/reducer.ts"),p=r.fromJS({locationBeforeTransitions:null});t.default=a},"./app/translations/de.json":function(e,t){e.exports={}},"./app/translations/en.json":function(e,t){e.exports={}},"./app/utils/api.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("./app/globalConfig.ts"),a=n.n(o),r=a.a[o.env].host;t.default={login:r+"/login",group:r+"/groups",user:r+"/users",changepwd:r+"/changepwd",source:r+"/sources",bizlogic:r+"/views",widget:r+"/widgets",display:r+"/displays",share:r+"/share",checkName:r+"/check",projectsCheckName:r+"/check/",uploads:r+"/uploads",schedule:r+"/cronjobs",signup:r+"/users",organizations:r+"/organizations",checkNameUnique:r+"/check",projects:r+"/projects",teams:r+"/teams",portal:r+"/dashboardPortals",star:r+"/star"}},"./app/utils/asyncAdapter.js":function(e,t,n){"use strict";function o(e){return e&&l.apiConfig[e]?l.apiConfig[e].env:s.env}function a(e,t){switch(o(t)){case"production":return e.payload||[];default:return e}}function r(e,t){switch(o(t)){case"production":return e.payload;default:return e}}function i(e,t){switch(o(t)){case"production":return{payload:[e]};default:return e}}Object.defineProperty(t,"__esModule",{value:!0}),t.readListAdapter=a,t.readObjectAdapter=r,t.writeAdapter=i;var s=n("./app/globalConfig.ts"),l=(n.n(s),n("./app/utils/api.js"))},"./app/utils/checkStore.ts":function(e,t,n){"use strict";function o(e){s(a(e,{dispatch:r,subscribe:r,getState:r,replaceReducer:r,runSaga:r,injectedReducers:i,injectedSagas:i}),"(app/utils...) injectors: Expected a valid redux store")}Object.defineProperty(t,"__esModule",{value:!0});var a=n("./node_modules/lodash/conformsTo.js"),r=n("./node_modules/lodash/isFunction.js"),i=n("./node_modules/lodash/isObject.js"),s=n("./node_modules/invariant/browser.js");t.default=o},"./app/utils/constants.ts":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RESTART_ON_REMOUNT="@@saga-injector/restart-on-remount",t.DAEMON="@@saga-injector/daemon",t.ONCE_TILL_UNMOUNT="@@saga-injector/once-till-unmount"},"./app/utils/injectReducer.tsx":function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},a=arguments[2];t||c.default(e);var r=Object.assign({},o,{mode:o.mode||p.RESTART_ON_REMOUNT}),i=r.saga,s=r.mode;f(n),h(r);var l=Reflect.has(e.injectedSagas,n);(!l||l&&s!==p.DAEMON&&s!==p.ONCE_TILL_UNMOUNT)&&(e.injectedSagas[n]=Object.assign({},r,{task:e.runSaga(i,a)}))}}function a(e,t){return function(n){if(t||c.default(e),f(n),Reflect.has(e.injectedSagas,n)){var o=e.injectedSagas[n];o.mode!==p.DAEMON&&(o.task.cancel(),e.injectedSagas[n]="done")}}}function r(e){return c.default(e),{injectSaga:o(e,!0),ejectSaga:a(e,!0)}}Object.defineProperty(t,"__esModule",{value:!0});var i=n("./node_modules/lodash/isEmpty.js"),s=n("./node_modules/lodash/isFunction.js"),l=n("./node_modules/lodash/isString.js"),d=n("./node_modules/invariant/browser.js"),u=n("./node_modules/lodash/conformsTo.js"),c=n("./app/utils/checkStore.ts"),p=n("./app/utils/constants.ts"),m=[p.RESTART_ON_REMOUNT,p.DAEMON,p.ONCE_TILL_UNMOUNT],f=function(e){return d(l(e)&&!i(e),"(app/utils...) injectSaga: Expected `key` to be a non empty string")},h=function(e){d(u(e,{saga:s,mode:function(e){return l(e)&&m.includes(e)}}),"(app/utils...) injectSaga: Expected a valid saga descriptor")};t.injectSagaFactory=o,t.ejectSagaFactory=a,t.default=r},"./app/utils/util.ts":function(e,t,n){"use strict";function o(e,t){var n=Math.max((""+e).indexOf(".")>=0?(""+e).substr((""+e).indexOf(".")+1).length:0,(""+t).indexOf(".")>=0?(""+t).substr((""+t).indexOf(".")+1).length:0);if(n){var o=Math.pow(10,n);return(Math.round(e*o)+Math.round(t*o))/o}return e+t}function a(e){if(e.response)switch(e.response.status){case 403:l.error("未登录或会话过期,请重新登录",1),s.removeToken(),localStorage.removeItem("TOKEN");var t=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search+"#login";location.replace(t);case 401:l.error("您没有权限访问此数据",2);break;default:l.error(e.response.data.header.msg,3)}else l.error(e,3)}function r(e,t){var n=new FileReader;n.addEventListener("load",function(){return t(n.result)}),n.readAsDataURL(e)}function i(e){var t=[];return e.length&&e.forEach(function(e){var n=[];e.columns&&e.columns.length&&e.columns.forEach(function(e){n.push({title:e.name,key:e.name})}),t.push({title:e.tableName,key:e.tableName,children:n})}),t}Object.defineProperty(t,"__esModule",{value:!0});var s=n("./app/utils/request.ts"),l=n("./node_modules/antd/lib/message/index.js");t.uuid=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:62,n="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),o=[],a=void 0;if(e)for(a=0;a, without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.")}},{key:"componentDidMount",value:function(){void 0!==window.SVGElement&&c.findDOMNode(this)instanceof SVGElement&&this.setState({isElementSVG:!0})}},{key:"componentWillReceiveProps",value:function(e){!e.position||this.props.position&&e.position.x===this.props.position.x&&e.position.y===this.props.position.y||this.setState({x:e.position.x,y:e.position.y})}},{key:"componentWillUnmount",value:function(){this.setState({dragging:!1})}},{key:"render",value:function(){var e,t={},n=null,a=Boolean(this.props.position),r=!a,i=this.props.position||this.props.defaultPosition,l={x:f.canDragX(this)&&r?this.state.x:i.x,y:f.canDragY(this)&&r?this.state.y:i.y};this.state.isElementSVG?n=m.createSVGTransform(l):t=m.createCSSTransform(l);var d=this.props,c=d.defaultClassName,g=d.defaultClassNameDragging,b=d.defaultClassNameDragged,_=u.Children.only(this.props.children),v=p(_.props.className||"",c,(e={},o(e,g,this.state.dragging),o(e,b,this.state.dragged),e));return u.createElement(h.default,s({},this.props,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),u.cloneElement(_,{className:v,style:Object.assign({},_.props.style,t),transform:n}))}}]),t}(u.Component);b.displayName="Draggable",b.defaultProps=Object.assign({},h.default.defaultProps,{axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},position:null}),t.default=b},"./libs/react-draggable/lib/DraggableCore.tsx":function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){var n=[],o=!0,a=!1,r=void 0;try{for(var i,s=e[Symbol.iterator]();!(o=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);o=!0);}catch(e){a=!0,r=e}finally{try{!o&&s.return&&s.return()}finally{if(a)throw r}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),s=function(){function e(e,t){for(var n=0;n not mounted on DragStart!");var o=n.ownerDocument;if(!(e.props.disabled||!(t.target instanceof Node)||e.props.handle&&!u.matchesSelectorAndParentsTo(t.target,e.props.handle,n)||e.props.cancel&&u.matchesSelectorAndParentsTo(t.target,e.props.cancel,n))){var a=u.getTouchIdentifier(t);e.setState({touchIdentifier:a});var r=c.getControlPosition(t,a,e);if(null!=r){var i=r.x,s=r.y,l=c.createCoreData(e,i,s);p.default("DraggableCore: handleDragStart: %j",l),p.default("calling",e.props.onStart);!1!==e.props.onStart(t,l)&&(e.props.enableUserSelectHack&&u.addUserSelectStyles(o),e.setState({dragging:!0,lastX:i,lastY:s}),u.addEvent(o,f.move,e.handleDrag),u.addEvent(o,f.stop,e.handleDragStop))}}},e.handleDrag=function(t){"touchmove"===t.type&&t.preventDefault();var n=c.getControlPosition(t,e.state.touchIdentifier,e);if(null!=n){var o=n.x,a=n.y;if(Array.isArray(e.props.grid)){var r=c.snapToGrid(e.props.grid,o-e.state.lastX,a-e.state.lastY),s=i(r,2),l=s[0],d=s[1];if(!l&&!d)return;o=e.state.lastX+l,a=e.state.lastY+d}var u=c.createCoreData(e,o,a);p.default("DraggableCore: handleDrag: %j",u);if(!1!==e.props.onDrag(t,u))e.setState({lastX:o,lastY:a});else try{e.handleDragStop(new MouseEvent("mouseup"))}catch(t){var m=document.createEvent("MouseEvents");m.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),e.handleDragStop(m)}}},e.handleDragStop=function(t){if(e.state.dragging){var n=c.getControlPosition(t,e.state.touchIdentifier,e);if(null!=n){var o=n.x,a=n.y,r=c.createCoreData(e,o,a),i=d.findDOMNode(e);i&&e.props.enableUserSelectHack&&u.removeUserSelectStyles(i.ownerDocument),p.default("DraggableCore: handleDragStop: %j",r),e.setState({dragging:!1,lastX:NaN,lastY:NaN}),e.props.onStop(t,r),i&&(p.default("DraggableCore: Removing handlers"),u.removeEvent(i.ownerDocument,f.move,e.handleDrag),u.removeEvent(i.ownerDocument,f.stop,e.handleDragStop))}}},e.onMouseDown=function(t){return f=m.mouse,e.handleDragStart(t)},e.onMouseUp=function(t){return f=m.mouse,e.handleDragStop(t)},e.onTouchStart=function(t){return f=m.touch,e.handleDragStart(t)},e.onTouchEnd=function(t){return f=m.touch,e.handleDragStop(t)},e}return r(t,e),s(t,[{key:"componentWillUnmount",value:function(){var e=d.findDOMNode(this);if(e){var t=e.ownerDocument;u.removeEvent(t,m.mouse.move,this.handleDrag),u.removeEvent(t,m.touch.move,this.handleDrag),u.removeEvent(t,m.mouse.stop,this.handleDragStop),u.removeEvent(t,m.touch.stop,this.handleDragStop),this.props.enableUserSelectHack&&u.removeUserSelectStyles(t)}}},{key:"render",value:function(){return l.cloneElement(l.Children.only(this.props.children),{style:u.styleHacks(this.props.children.props.style),onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}]),t}(l.Component);h.displayName="DraggableCore",h.defaultProps={allowAnyClick:!1,cancel:null,disabled:!1,enableUserSelectHack:!0,offsetParent:null,handle:null,grid:null,scale:1,transform:null,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){}},t.default=h},"./libs/react-draggable/lib/utils/domFns.ts":function(e,t,n){"use strict";function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){return k||(k=j.findInArray(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],function(t){return j.isFunction(e[t])})),!!j.isFunction(e[k])&&e[k](t)}function r(e,t,n){var o=e;do{if(a(o,t))return!0;if(o===n)return!1;o=o.parentNode}while(o);return!1}function i(e,t,n){e&&(e.attachEvent?e.attachEvent("on"+t,n):e.addEventListener?e.addEventListener(t,n,!0):e["on"+t]=n)}function s(e,t,n){e&&(e.detachEvent?e.detachEvent("on"+t,n):e.removeEventListener?e.removeEventListener(t,n,!0):e["on"+t]=null)}function l(e){var t=e.clientHeight,n=e.ownerDocument.defaultView.getComputedStyle(e);return t+=j.int(n.borderTopWidth),t+=j.int(n.borderBottomWidth)}function d(e){var t=e.clientWidth,n=e.ownerDocument.defaultView.getComputedStyle(e);return t+=j.int(n.borderLeftWidth),t+=j.int(n.borderRightWidth)}function u(e){var t=e.clientHeight,n=e.ownerDocument.defaultView.getComputedStyle(e);return t-=j.int(n.paddingTop),t-=j.int(n.paddingBottom)}function c(e){var t=e.clientWidth,n=e.ownerDocument.defaultView.getComputedStyle(e);return t-=j.int(n.paddingLeft),t-=j.int(n.paddingRight)}function p(e,t){var n=t===t.ownerDocument.body,o=n?{left:0,top:0}:t.getBoundingClientRect();return{x:e.clientX+t.scrollLeft-o.left,y:e.clientY+t.scrollTop-o.top}}function m(e){var t=e.x,n=e.y;return o({},w.browserPrefixToKey("transform",w.default),"translate("+t+"px,"+n+"px)")}function f(e){return"translate("+e.x+","+e.y+")"}function h(e,t){return e.targetTouches&&j.findInArray(e.targetTouches,function(e){return t===e.identifier})||e.changedTouches&&j.findInArray(e.changedTouches,function(e){return t===e.identifier})}function g(e){return e.targetTouches&&e.targetTouches[0]?e.targetTouches[0].identifier:e.changedTouches&&e.changedTouches[0]?e.changedTouches[0].identifier:void 0}function b(e){if(e){var t=e.getElementById("react-draggable-style-el");t||(t=e.createElement("style"),t.setAttribute("type","text/css"),t.id="react-draggable-style-el",t.innerHTML=".react-draggable-transparent-selection *::-moz-selection {background: transparent;}\n",t.innerHTML+=".react-draggable-transparent-selection *::selection {background: transparent;}\n",e.getElementsByTagName("head")[0].appendChild(t)),e.body&&y(e.body,"react-draggable-transparent-selection")}}function _(e){try{e&&e.body&&x(e.body,"react-draggable-transparent-selection"),window.getSelection().removeAllRanges()}catch(e){}}function v(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.assign({touchAction:"none"},e)}function y(e,t){e.classList?e.classList.add(t):e.className.match(new RegExp("(?:^|\\s)"+t+"(?!\\S)"))||(e.className+=" "+t)}function x(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(?:^|\\s)"+t+"(?!\\S)","g"),"")}Object.defineProperty(t,"__esModule",{value:!0});var j=n("./libs/react-draggable/lib/utils/shims.ts"),w=n("./libs/react-draggable/lib/utils/getPrefix.ts"),k="";t.matchesSelector=a,t.matchesSelectorAndParentsTo=r,t.addEvent=i,t.removeEvent=s,t.outerHeight=l,t.outerWidth=d,t.innerHeight=u,t.innerWidth=c,t.offsetXYFromParent=p,t.createCSSTransform=m,t.createSVGTransform=f,t.getTouch=h,t.getTouchIdentifier=g,t.addUserSelectStyles=b,t.removeUserSelectStyles=_,t.styleHacks=v,t.addClassName=y,t.removeClassName=x},"./libs/react-draggable/lib/utils/getPrefix.ts":function(e,t,n){"use strict";function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transform";if("undefined"==typeof window||void 0===window.document)return"";var t=window.document.documentElement.style;if(e in t)return"";for(var n=0;n: Unmounted during event!");return t}var p=function(){function e(e,t){var n=[],o=!0,a=!1,r=void 0;try{for(var i,s=e[Symbol.iterator]();!(o=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);o=!0);}catch(e){a=!0,r=e}finally{try{!o&&s.return&&s.return()}finally{if(a)throw r}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();Object.defineProperty(t,"__esModule",{value:!0});var m=n("./libs/react-draggable/lib/utils/shims.ts"),f=n("./node_modules/react-dom/index.js"),h=n("./libs/react-draggable/lib/utils/domFns.ts");t.getBoundPosition=o,t.snapToGrid=a,t.canDragX=r,t.canDragY=i,t.getControlPosition=s,t.createCoreData=l,t.createDraggableData=d},"./libs/react-draggable/lib/utils/shims.ts":function(e,t,n){"use strict";function o(e,t){for(var n=0,o=e.length;ne.w||n>e.maxW?new Error("minWidth larger than item width/maxWidth"):void 0},maxW:function(e,t){var n=e[t];return"number"!=typeof n?new Error("maxWidth not Number"):ne.h||n>e.maxH?new Error("minHeight larger than item height/maxHeight"):void 0},maxH:function(e,t){var n=e[t];return"number"!=typeof n?new Error("maxHeight not Number"):n0){var g=1/0,_=1/0;h.forEach(function(e){e.x>m.x&&(g=Math.min(g,e.x)),e.y>m.y&&(_=Math.min(_,e.y))}),Number.isFinite(g)&&(m.w=g-m.x),Number.isFinite(_)&&(m.h=_-m.y)}}f||(m.w=t,m.h=n);var v={w:m.w,h:m.h,x:m.x,y:m.y,static:!0,i:e};this.props.onResize(s,d,m,v,a,r),this.setState({layout:(0,b.compact)(s,this.compactType(),c),activeDrag:v})}},t.prototype.onResizeStop=function(e,t,n,o){var a=o.e,r=o.node,i=this.state,s=i.layout,l=i.oldResizeItem,d=this.props.cols,u=(0,b.getLayoutItem)(s,e);this.props.onResizeStop(s,l,u,null,a,r);var c=(0,b.compact)(s,this.compactType(),d),p=this.state.oldLayout;this.setState({activeDrag:null,layout:c,oldResizeItem:null,oldLayout:null}),this.onLayoutMaybeChanged(c,p)},t.prototype.placeholder=function(){var e=this.state.activeDrag;if(!e)return null;var t=this.props,n=t.width,o=t.cols,a=t.margin,r=t.containerPadding,i=t.rowHeight,s=t.maxRows,l=t.useCSSTransforms;return u.default.createElement(v.default,{w:e.w,h:e.h,x:e.x,y:e.y,i:e.i,className:"react-grid-placeholder",containerWidth:n,cols:o,margin:a,containerPadding:r||a,maxRows:s,rowHeight:i,isDraggable:!1,isResizable:!1,useCSSTransforms:l},u.default.createElement("div",null))},t.prototype.processGridItem=function(e){if(e&&e.key){var t=(0,b.getLayoutItem)(this.state.layout,String(e.key));if(!t)return null;var n=this.props,o=n.width,a=n.cols,r=n.margin,i=n.containerPadding,s=n.rowHeight,l=n.maxRows,d=n.isDraggable,c=n.isResizable,p=n.useCSSTransforms,m=n.draggableCancel,f=n.draggableHandle,h=this.state.mounted,g=Boolean(!t.static&&d&&(t.isDraggable||null==t.isDraggable)),_=Boolean(!t.static&&c&&(t.isResizable||null==t.isResizable));return u.default.createElement(v.default,{containerWidth:o,cols:a,margin:r,containerPadding:i||r,maxRows:l,rowHeight:s,cancel:m,handle:f,onDragStop:this.onDragStop,onDragStart:this.onDragStart,onDrag:this.onDrag,onResizeStart:this.onResizeStart,onResize:this.onResize,onResizeStop:this.onResizeStop,isDraggable:g,isResizable:_,useCSSTransforms:p&&h,usePercentages:!h,w:t.w,h:t.h,x:t.x,y:t.y,i:t.i,minH:t.minH,minW:t.minW,maxH:t.maxH,maxW:t.maxW,static:t.static},e)}},t.prototype.render=function(){var e=this,t=this.props,n=t.className,o=t.style,a=(0,g.default)("react-grid-layout",n),r=l({height:this.containerHeight()},o);return u.default.createElement("div",{className:a,style:r},u.default.Children.map(this.props.children,function(t){return e.processGridItem(t)}),this.placeholder())},t}(u.default.Component);y.displayName="ReactGridLayout",y.propTypes={className:p.default.string,style:p.default.object,width:p.default.number,autoSize:p.default.bool,cols:p.default.number,draggableCancel:p.default.string,draggableHandle:p.default.string,verticalCompact:function(e){e.verticalCompact,1},compactType:p.default.oneOf(["vertical","horizontal"]),layout:function(e){var t=e.layout;void 0!==t&&(0,b.validateLayout)(t,"layout")},margin:p.default.arrayOf(p.default.number),containerPadding:p.default.arrayOf(p.default.number),rowHeight:p.default.number,maxRows:p.default.number,isDraggable:p.default.bool,isResizable:p.default.bool,preventCollision:p.default.bool,useCSSTransforms:p.default.bool,onLayoutChange:p.default.func,onDragStart:p.default.func,onDrag:p.default.func,onDragStop:p.default.func,onResizeStart:p.default.func,onResize:p.default.func,onResizeStop:p.default.func,children:function(e,t){var n=e[t],o={};u.default.Children.forEach(n,function(e){if(o[e.key])throw new Error('Duplicate child key "'+e.key+'" found! This will cause problems in ReactGridLayout.');o[e.key]=!0})}},y.defaultProps={autoSize:!0,cols:12,className:"",style:{},draggableHandle:"",draggableCancel:"",containerPadding:null,rowHeight:150,maxRows:1/0,layout:[],margin:[10,10],isDraggable:!0,isResizable:!0,useCSSTransforms:!0,verticalCompact:!0,compactType:"vertical",preventCollision:!1,onLayoutChange:b.noop,onDragStart:b.noop,onDrag:b.noop,onDragStop:b.noop,onResizeStart:b.noop,onResize:b.noop,onResizeStop:b.noop};var x=function(){this.state={activeDrag:null,layout:(0,b.synchronizeLayoutWithChildren)(this.props.layout,this.props.children,this.props.cols,this.compactType()),mounted:!1,oldDragItem:null,oldLayout:null,oldResizeItem:null}};t.default=y},"./libs/react-grid-layout/lib/ResponsiveReactGridLayout.js":function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":l(t))&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":l(t)));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.__esModule=!0;var d=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":d(t))&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":d(t)));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function l(e){var t,n;return n=t=function(t){function n(){var e,o,a;r(this,n);for(var s=arguments.length,l=Array(s),d=0;de[s]&&(o=s)}return o}function a(e,t){if(!t[e])throw new Error("ResponsiveReactGridLayout: `cols` entry for breakpoint "+e+" is missing!");return t[e]}function r(e,t,n,o,a,r){if(e[n])return(0,s.cloneLayout)(e[n]);for(var l=e[o],d=i(t),u=d.slice(d.indexOf(n)),c=0,p=u.length;ct&&(t=n);return t}function r(e){for(var t=Array(e.length),n=0,o=e.length;n=t.x+t.w)&&(!(e.y+e.h<=t.y)&&!(e.y>=t.y+t.h))))}function d(e,t,n){for(var o=g(e),a=j(e,t),r=Array(e.length),s=0,l=a.length;st.y+t.h)break;l(t,s)&&u(e,s,n+t[a],o)}}t[o]=n}function c(e,t,n,o,r){var i="vertical"===n,s="horizontal"===n;if(i)for(t.y=Math.min(a(e),t.y);t.y>0&&!f(e,t);)t.y--;else if(s)for(t.y=Math.min(a(e),t.y);t.x>0&&!f(e,t);)t.x--;for(var l=void 0;l=f(e,t);)s?u(r,t,l.x+l.w,"x"):u(r,t,l.y+l.h,"y"),s&&t.x+t.w>o&&(t.x=o-t.w,t.y++);return t}function p(e,t){for(var n=g(e),o=0,a=e.length;ot.cols&&(r.x=t.cols-r.w),r.x<0&&(r.x=0,r.w=t.cols),r.static)for(;f(n,r);)r.y++;else n.push(r)}return e}function m(e,t){for(var n=0,o=e.length;n=o:"horizontal"===i&&"number"==typeof n&&l>=n)&&(u=u.reverse());var c=h(u,t);if(r&&c.length)return E("Collision prevented on "+t.i+", reverting."),t.x=l,t.y=d,t.moved=!1,e;for(var p=0,m=c.length;pt.y||e.y===t.y&&e.x>t.x?1:e.y===t.y&&e.x===t.x?0:-1})}function k(e){return[].concat(e).sort(function(e,t){return e.x>t.x||e.x===t.x&&e.y>t.y?1:-1})}function M(e,t,n,o){e=e||[];var r=[];return A.default.Children.forEach(t,function(t,n){var o=m(e,String(t.key));if(o)r[n]=i(o);else{!P&&t.props._grid&&console.warn("`_grid` properties on children have been deprecated as of React 15.2. Please use `data-grid` or add your properties directly to the `layout`.");var s=t.props["data-grid"]||t.props._grid;s?(P||S([s],"ReactGridLayout.children"),r[n]=i(C({},s,{i:t.key}))):r[n]=i({w:1,h:1,x:0,y:a(r),i:String(t.key)})}}),r=p(r,{cols:n}),r=d(r,o,n)}function S(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Layout",n=["x","y","w","h"];if(!Array.isArray(e))throw new Error(t+" must be an array!");for(var o=0,a=e.length;o0){var m=[];e=s.map(function(e){e.path=e.path||"";var t=e.path.replace(/^\//,"");return Object.keys(d).forEach(function(e){t=t.replace(":"+e,d[e])}),t&&m.push(t),h.default.createElement(x.default,{separator:n,key:e.breadcrumbName||t},p(e,d,s,m))})}else u&&(e=h.default.Children.map(u,function(e,t){return e?((0,v.default)(e.type&&e.type.__ANT_BREADCRUMB_ITEM,"Breadcrumb only accepts Breadcrumb.Item as it's children"),(0,f.cloneElement)(e,{separator:n,key:t})):e}));return h.default.createElement("div",{className:(0,w.default)(i,o),style:a},e)}}]),t}(h.default.Component);t.default=k,k.defaultProps={prefixCls:"ant-breadcrumb",separator:"/"},k.propTypes={prefixCls:b.default.string,separator:b.default.node,routes:b.default.array,params:b.default.object,linkRender:b.default.func,nameRender:b.default.func},e.exports=t.default},"./node_modules/antd/lib/breadcrumb/BreadcrumbItem.js":function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n("./node_modules/babel-runtime/helpers/extends.js"),r=o(a),i=n("./node_modules/babel-runtime/helpers/classCallCheck.js"),s=o(i),l=n("./node_modules/babel-runtime/helpers/createClass.js"),d=o(l),u=n("./node_modules/babel-runtime/helpers/possibleConstructorReturn.js"),c=o(u),p=n("./node_modules/babel-runtime/helpers/inherits.js"),m=o(p),f=n("./node_modules/react/react.js"),h=o(f),g=n("./node_modules/prop-types/index.js"),b=o(g),_=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,o=Object.getOwnPropertySymbols(e);a0&&(i=this.getOptions().map(function(a){return h.default.createElement(w.default,{key:a.value,disabled:"disabled"in a?a.disabled:t.disabled,value:a.value,checked:-1!==n.value.indexOf(a.value),onChange:function(){return e.toggleOption(a)},className:o+"-item"},a.label)}));var s=(0,v.default)(o,a);return h.default.createElement("div",{className:s},i)}}]),t}(h.default.Component);t.default=k,k.defaultProps={options:[],prefixCls:"ant-checkbox-group"},k.propTypes={defaultValue:b.default.array,value:b.default.array,options:b.default.array.isRequired,onChange:b.default.func},k.childContextTypes={checkboxGroup:b.default.any},e.exports=t.default},"./node_modules/antd/lib/checkbox/index.js":function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n("./node_modules/antd/lib/checkbox/Checkbox.js"),r=o(a),i=n("./node_modules/antd/lib/checkbox/Group.js"),s=o(i);r.default.Group=s.default,t.default=r.default,e.exports=t.default},"./node_modules/antd/lib/col/index.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/antd/lib/grid/index.js");t.default=o.Col,e.exports=t.default},"./node_modules/antd/lib/date-picker/Calendar.js":function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n("./node_modules/babel-runtime/helpers/classCallCheck.js"),r=o(a),i=n("./node_modules/babel-runtime/helpers/createClass.js"),s=o(i),l=n("./node_modules/babel-runtime/helpers/possibleConstructorReturn.js"),d=o(l),u=n("./node_modules/babel-runtime/helpers/inherits.js"),c=o(u),p=n("./node_modules/react/react.js"),m=o(p),f=n("./node_modules/rc-calendar/lib/locale/zh_CN.js"),h=o(f),g=n("./node_modules/rc-calendar/lib/index.js"),b=o(g),_=n("./node_modules/warning/browser.js"),v=o(_),y=function(e){function t(){return(0,r.default)(this,t),(0,d.default)(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return(0,c.default)(t,e),(0,s.default)(t,[{key:"render",value:function(){return(0,v.default)(!1,"DatePicker.Calendar is deprecated, use Calendar instead."),m.default.createElement(b.default,this.props)}}]),t}(m.default.Component);t.default=y,y.defaultProps={locale:h.default,prefixCls:"ant-calendar"},e.exports=t.default},"./node_modules/antd/lib/date-picker/RangePicker.js":function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function a(e){var t=(0,x.default)(e,2),n=t[0],o=t[1];if(n||o){return[n,o&&o.isSame(n,"month")?o.clone().add(1,"month"):o]}}function r(e,t){return e&&e.format(t)||""}function i(e){if(e)return Array.isArray(e)?e:[e,e.clone().add(1,"month")]}function s(e){return!!Array.isArray(e)&&(0===e.length||e.every(function(e){return!e}))}Object.defineProperty(t,"__esModule",{value:!0});var l=n("./node_modules/babel-runtime/helpers/extends.js"),d=o(l),u=n("./node_modules/babel-runtime/helpers/defineProperty.js"),c=o(u),p=n("./node_modules/babel-runtime/helpers/classCallCheck.js"),m=o(p),f=n("./node_modules/babel-runtime/helpers/createClass.js"),h=o(f),g=n("./node_modules/babel-runtime/helpers/possibleConstructorReturn.js"),b=o(g),_=n("./node_modules/babel-runtime/helpers/inherits.js"),v=o(_),y=n("./node_modules/babel-runtime/helpers/slicedToArray.js"),x=o(y),j=n("./node_modules/react/react.js"),w=o(j),k=n("./node_modules/moment/src/moment.js"),M=o(k),S=n("./node_modules/prop-types/index.js"),T=o(S),E=n("./node_modules/rc-calendar/lib/RangeCalendar.js"),C=o(E),O=n("./node_modules/rc-calendar/lib/Picker.js"),D=o(O),L=n("./node_modules/classnames/index.js"),A=o(L),P=n("./node_modules/antd/lib/icon/index.js"),I=o(P),R=n("./node_modules/antd/lib/_util/getLocale.js"),N=n("./node_modules/antd/lib/_util/warning.js"),z=o(N),F=function(e){function t(e){(0,m.default)(this,t);var n=(0,b.default)(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));n.clearSelection=function(e){e.preventDefault(),e.stopPropagation(),n.setState({value:[]}),n.handleChange([])},n.clearHoverValue=function(){return n.setState({hoverValue:[]})},n.handleChange=function(e){var t=n.props;"value"in t||n.setState(function(t){var n=t.showDate;return{value:e,showDate:a(e)||n}}),t.onChange(e,[r(e[0],t.format),r(e[1],t.format)])},n.handleOpenChange=function(e){"open"in n.props||n.setState({open:e});var t=n.props.onOpenChange;t&&t(e)},n.handleShowDateChange=function(e){return n.setState({showDate:e})},n.handleHoverChange=function(e){return n.setState({hoverValue:e})},n.renderFooter=function(){var e=n.props,t=e.prefixCls,o=e.ranges,a=e.renderExtraFooter;if(!o&&!a)return null;var r=a?w.default.createElement("div",{className:t+"-footer-extra",key:"extra"},a.apply(void 0,arguments)):null,i=Object.keys(o||{}).map(function(e){var t=o[e];return w.default.createElement("a",{key:e,onClick:function(){return n.setValue(t,!0)},onMouseEnter:function(){return n.setState({hoverValue:t})},onMouseLeave:n.clearHoverValue},e)});return[w.default.createElement("div",{className:t+"-footer-extra "+t+"-range-quick-selector",key:"range"},i),r]};var o=e.value||e.defaultValue||[];if(o[0]&&!M.default.isMoment(o[0])||o[1]&&!M.default.isMoment(o[1]))throw new Error("The value/defaultValue of RangePicker must be a moment object array after `antd@2.0`, see: https://u.ant.design/date-picker-value");var l=!o||s(o)?e.defaultPickerValue:o;return n.state={value:o,showDate:i(l||(0,M.default)()),open:e.open,hoverValue:[]},n}return(0,v.default)(t,e),(0,h.default)(t,[{key:"componentWillReceiveProps",value:function(e){if("value"in e){var t=this.state,n=e.value||[];this.setState({value:n,showDate:a(n)||t.showDate})}"open"in e&&this.setState({open:e.open})}},{key:"setValue",value:function(e,t){this.handleChange(e),!t&&this.props.showTime||"open"in this.props||this.setState({open:!1})}},{key:"render",value:function(){var e,t=this,n=this.state,o=this.props,a=this.context,r=n.value,i=n.showDate,s=n.hoverValue,l=n.open,u=(0,R.getLocaleCode)(a);r&&u&&(r[0]&&r[0].locale(u),r[1]&&r[1].locale(u));var p=o.prefixCls,m=o.popupStyle,f=o.style,h=o.disabledDate,g=o.disabledTime,b=o.showTime,_=o.showToday,v=o.ranges,y=o.onOk,x=o.locale,j=o.format;(0,z.default)(!("onOK"in o),"It should be `RangePicker[onOk]`, instead of `onOK`!");var k=(0,A.default)((e={},(0,c.default)(e,p+"-time",b),(0,c.default)(e,p+"-range-with-ranges",v),e)),M={onChange:this.handleChange},S={onOk:this.handleChange};o.timePicker?M.onChange=function(e){return t.handleChange(e)}:S={};var T="placeholder"in o?o.placeholder[0]:x.lang.rangePlaceholder[0],E="placeholder"in o?o.placeholder[1]:x.lang.rangePlaceholder[1],O=w.default.createElement(C.default,(0,d.default)({},S,{format:j,prefixCls:p,className:k,renderFooter:this.renderFooter,timePicker:o.timePicker,disabledDate:h,disabledTime:g,dateInputPlaceholder:[T,E],locale:x.lang,onOk:y,value:i,onValueChange:this.handleShowDateChange,hoverValue:s,onHoverChange:this.handleHoverChange,showToday:_})),L={};o.showTime&&(L.width=f&&f.width||300);var P=!o.disabled&&o.allowClear&&r&&(r[0]||r[1])?w.default.createElement(I.default,{type:"cross-circle",className:p+"-picker-clear",onClick:this.clearSelection}):null,N=function(e){var t=e.value,n=t[0],a=t[1];return w.default.createElement("span",{className:o.pickerInputClass},w.default.createElement("input",{disabled:o.disabled,readOnly:!0,value:n&&n.format(o.format)||"",placeholder:T,className:p+"-range-picker-input"}),w.default.createElement("span",{className:p+"-range-picker-separator"}," ~ "),w.default.createElement("input",{disabled:o.disabled,readOnly:!0,value:a&&a.format(o.format)||"",placeholder:E,className:p+"-range-picker-input"}),P,w.default.createElement("span",{className:p+"-picker-icon"}))};return w.default.createElement("span",{className:(0,A.default)(o.className,o.pickerClass),style:(0,d.default)({},f,L)},w.default.createElement(D.default,(0,d.default)({},o,M,{calendar:O,value:r,open:l,onOpenChange:this.handleOpenChange,prefixCls:p+"-picker-container",style:m}),N))}}]),t}(w.default.Component);t.default=F,F.contextTypes={antLocale:T.default.object},F.defaultProps={prefixCls:"ant-calendar",allowClear:!0,showToday:!1},e.exports=t.default},"./node_modules/antd/lib/date-picker/createPicker.js":function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function a(e){return t=function(t){function n(e){(0,u.default)(this,n);var t=(0,f.default)(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));t.renderFooter=function(){var e=t.props,n=e.prefixCls,o=e.renderExtraFooter;return o?_.default.createElement("div",{className:n+"-footer-extra"},o.apply(void 0,arguments)):null},t.clearSelection=function(e){e.preventDefault(),e.stopPropagation(),t.handleChange(null)},t.handleChange=function(e){var n=t.props;"value"in n||t.setState({value:e,showDate:e}),n.onChange(e,e&&e.format(n.format)||"")},t.handleCalendarChange=function(e){t.setState({showDate:e})};var o=e.value||e.defaultValue;if(o&&!j.default.isMoment(o))throw new Error("The value/defaultValue of DatePicker or MonthPicker must be a moment object after `antd@2.0`, see: https://u.ant.design/date-picker-value");return t.state={value:o,showDate:o},t}return(0,g.default)(n,t),(0,p.default)(n,[{key:"componentWillReceiveProps",value:function(e){"value"in e&&this.setState({value:e.value,showDate:e.value})}},{key:"render",value:function(){var t,n=this.state,o=n.value,a=n.showDate,r=(0,O.default)(this.props,["onChange"]),s=r.prefixCls,d=r.locale,u="placeholder"in r?r.placeholder:d.lang.placeholder,c=r.showTime?r.disabledTime:null,p=(0,E.default)((t={},(0,l.default)(t,s+"-time",r.showTime),(0,l.default)(t,s+"-month",k.default===e),t)),m={},f={};r.showTime?f={onSelect:this.handleChange}:m={onChange:this.handleChange},(0,I.default)(!("onOK"in r),"It should be `DatePicker[onOk]` or `MonthPicker[onOk]`, instead of `onOK`!");var h=_.default.createElement(e,(0,i.default)({},f,{disabledDate:r.disabledDate,disabledTime:c,locale:d.lang,timePicker:r.timePicker,defaultValue:r.defaultPickerValue||(0,j.default)(),dateInputPlaceholder:u,prefixCls:s,className:p,onOk:r.onOk,format:r.format,showToday:r.showToday,monthCellContentRender:r.monthCellContentRender,renderFooter:this.renderFooter,onChange:this.handleCalendarChange,value:a})),g={};r.showTime&&(g.width=r.style&&r.style.width||154);var b=!r.disabled&&r.allowClear&&o?_.default.createElement(L.default,{type:"cross-circle",className:s+"-picker-clear",onClick:this.clearSelection}):null,v=function(e){var t=e.value;return _.default.createElement("div",null,_.default.createElement("input",{disabled:r.disabled,readOnly:!0,value:t&&t.format(r.format)||"",placeholder:u,className:r.pickerInputClass}),b,_.default.createElement("span",{className:s+"-picker-icon"}))},y=o,x=(0,A.getLocaleCode)(this.context);y&&x&&y.locale(x);var w=(0,i.default)({},r.style,g);return _.default.createElement("span",{className:(0,E.default)(r.className,r.pickerClass),style:w},_.default.createElement(S.default,(0,i.default)({},r,m,{calendar:h,value:o,prefixCls:s+"-picker-container",style:r.popupStyle}),v))}}]),n}(_.default.Component),t.contextTypes={antLocale:y.default.object},t.defaultProps={prefixCls:"ant-calendar",allowClear:!0,showToday:!0},t;var t}Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/babel-runtime/helpers/extends.js"),i=o(r),s=n("./node_modules/babel-runtime/helpers/defineProperty.js"),l=o(s),d=n("./node_modules/babel-runtime/helpers/classCallCheck.js"),u=o(d),c=n("./node_modules/babel-runtime/helpers/createClass.js"),p=o(c),m=n("./node_modules/babel-runtime/helpers/possibleConstructorReturn.js"),f=o(m),h=n("./node_modules/babel-runtime/helpers/inherits.js"),g=o(h);t.default=a;var b=n("./node_modules/react/react.js"),_=o(b),v=n("./node_modules/prop-types/index.js"),y=o(v),x=n("./node_modules/moment/src/moment.js"),j=o(x),w=n("./node_modules/rc-calendar/lib/MonthCalendar.js"),k=o(w),M=n("./node_modules/rc-calendar/lib/Picker.js"),S=o(M),T=n("./node_modules/classnames/index.js"),E=o(T),C=n("./node_modules/omit.js/lib/index.js"),O=o(C),D=n("./node_modules/antd/lib/icon/index.js"),L=o(D),A=n("./node_modules/antd/lib/_util/getLocale.js"),P=n("./node_modules/antd/lib/_util/warning.js"),I=o(P);e.exports=t.default},"./node_modules/antd/lib/date-picker/index.js":function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n("./node_modules/babel-runtime/helpers/extends.js"),r=o(a),i=n("./node_modules/rc-calendar/lib/index.js"),s=o(i),l=n("./node_modules/rc-calendar/lib/MonthCalendar.js"),d=o(l),u=n("./node_modules/antd/lib/date-picker/createPicker.js"),c=o(u),p=n("./node_modules/antd/lib/date-picker/wrapPicker.js"),m=o(p),f=n("./node_modules/antd/lib/date-picker/RangePicker.js"),h=o(f),g=n("./node_modules/antd/lib/date-picker/Calendar.js"),b=o(g),_=(0,m.default)((0,c.default)(s.default)),v=(0,m.default)((0,c.default)(d.default),"YYYY-MM");(0,r.default)(_,{RangePicker:(0,m.default)(h.default),Calendar:b.default,MonthPicker:v}),t.default=_,e.exports=t.default},"./node_modules/antd/lib/date-picker/locale/zh_CN.js":function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n("./node_modules/babel-runtime/helpers/extends.js"),r=o(a),i=n("./node_modules/rc-calendar/lib/locale/zh_CN.js"),s=o(i),l=n("./node_modules/antd/lib/time-picker/locale/zh_CN.js"),d=o(l),u=n("./node_modules/moment/src/moment.js"),c=o(u);n("./node_modules/moment/locale/zh-cn.js"),c.default.locale("zh-cn");var p={lang:(0,r.default)({placeholder:"请选择日期",rangePlaceholder:["开始日期","结束日期"]},s.default),timePickerLocale:(0,r.default)({},d.default)};p.lang.ok="确 定",t.default=p,e.exports=t.default},"./node_modules/antd/lib/date-picker/wrapPicker.js":function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function a(e){var t=e.showHour,n=e.showMinute,o=e.showSecond,a=e.use12Hours,r=0;return t&&(r+=1),n&&(r+=1),o&&(r+=1),a&&(r+=1),r}function r(e,t){return o=function(t){function o(){(0,c.default)(this,o);var e=(0,h.default)(this,(o.__proto__||Object.getPrototypeOf(o)).apply(this,arguments));return e.handleOpenChange=function(t){var n=e.props,o=n.onOpenChange,a=n.toggleOpen;o(t),a&&((0,E.default)(!1,"`toggleOpen` is deprecated and will be removed in the future, please use `onOpenChange` instead, see: https://u.ant.design/date-picker-on-open-change"),a({open:t}))},e}return(0,b.default)(o,t),(0,m.default)(o,[{key:"render",value:function(){var t,o=this.props,r=o.prefixCls,i=o.inputPrefixCls,l=(0,M.default)((0,d.default)({},r+"-picker",!0)),u=(0,M.default)(r+"-picker-input",i,(t={},(0,d.default)(t,i+"-lg","large"===o.size),(0,d.default)(t,i+"-sm","small"===o.size),(0,d.default)(t,i+"-disabled",o.disabled),t)),c=(0,C.getComponentLocale)(o,this.context,"DatePicker",function(){return n("./node_modules/antd/lib/date-picker/locale/zh_CN.js")}),p=o.showTime&&o.showTime.format||"HH:mm:ss",m=(0,s.default)({},(0,S.generateShowHourMinuteSecond)(p),{format:p,use12Hours:o.showTime&&o.showTime.use12Hours}),f=a(m),h=r+"-time-picker-column-"+f,g=o.showTime?v.default.createElement(w.default,(0,s.default)({},m,o.showTime,{prefixCls:r+"-time-picker",className:h,placeholder:c.timePickerLocale.placeholder,transitionName:"slide-up"})):null;return v.default.createElement(e,(0,s.default)({},o,{pickerClass:l,pickerInputClass:u,locale:c,timePicker:g,onOpenChange:this.handleOpenChange}))}}]),o}(v.default.Component),o.contextTypes={antLocale:x.default.object},o.defaultProps={format:t||"YYYY-MM-DD",transitionName:"slide-up",popupStyle:{},onChange:function(){},onOk:function(){},onOpenChange:function(){},locale:{},prefixCls:"ant-calendar",inputPrefixCls:"ant-input"},o;var o}Object.defineProperty(t,"__esModule",{value:!0});var i=n("./node_modules/babel-runtime/helpers/extends.js"),s=o(i),l=n("./node_modules/babel-runtime/helpers/defineProperty.js"),d=o(l),u=n("./node_modules/babel-runtime/helpers/classCallCheck.js"),c=o(u),p=n("./node_modules/babel-runtime/helpers/createClass.js"),m=o(p),f=n("./node_modules/babel-runtime/helpers/possibleConstructorReturn.js"),h=o(f),g=n("./node_modules/babel-runtime/helpers/inherits.js"),b=o(g);t.default=r;var _=n("./node_modules/react/react.js"),v=o(_),y=n("./node_modules/prop-types/index.js"),x=o(y),j=n("./node_modules/rc-time-picker/lib/Panel.js"),w=o(j),k=n("./node_modules/classnames/index.js"),M=o(k),S=n("./node_modules/antd/lib/time-picker/index.js"),T=n("./node_modules/antd/lib/_util/warning.js"),E=o(T),C=n("./node_modules/antd/lib/_util/getLocale.js");e.exports=t.default},"./node_modules/antd/lib/dropdown/dropdown-button.js":function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n("./node_modules/babel-runtime/helpers/extends.js"),r=o(a),i=n("./node_modules/babel-runtime/helpers/classCallCheck.js"),s=o(i),l=n("./node_modules/babel-runtime/helpers/createClass.js"),d=o(l),u=n("./node_modules/babel-runtime/helpers/possibleConstructorReturn.js"),c=o(u),p=n("./node_modules/babel-runtime/helpers/inherits.js"),m=o(p),f=n("./node_modules/react/react.js"),h=o(f),g=n("./node_modules/antd/lib/button/index.js"),b=o(g),_=n("./node_modules/antd/lib/icon/index.js"),v=o(_),y=n("./node_modules/antd/lib/dropdown/dropdown.js"),x=o(y),j=n("./node_modules/classnames/index.js"),w=o(j),k=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,o=Object.getOwnPropertySymbols(e);a=0?"slide-down":"slide-up"}},{key:"componentDidMount",value:function(){var e=this.props.overlay,t=e.props;(0,x.default)(!t.mode||"vertical"===t.mode,'mode="'+t.mode+"\" is not supported for Dropdown's Menu.")}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.prefixCls,o=e.overlay,a=e.trigger,i=e.disabled,s=(0,f.cloneElement)(t,{className:(0,v.default)(t.props.className,n+"-trigger"),disabled:i}),l=o&&o.props,d=!!(l&&"selectable"in l)&&l.selectable,u=(0,f.cloneElement)(o,{mode:"vertical",selectable:d});return h.default.createElement(b.default,(0,r.default)({},this.props,{transitionName:this.getTransitionName(),trigger:i?[]:a,overlay:u}),s)}}]),t}(h.default.Component);t.default=j,j.defaultProps={prefixCls:"ant-dropdown",mouseEnterDelay:.15,mouseLeaveDelay:.1,placement:"bottomLeft"},e.exports=t.default},"./node_modules/antd/lib/dropdown/index.js":function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n("./node_modules/antd/lib/dropdown/dropdown.js"),r=o(a),i=n("./node_modules/antd/lib/dropdown/dropdown-button.js"),s=o(i);r.default.Button=s.default,t.default=r.default,e.exports=t.default},"./node_modules/antd/lib/form/Form.js":function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n("./node_modules/babel-runtime/helpers/extends.js"),r=o(a),i=n("./node_modules/babel-runtime/helpers/defineProperty.js"),s=o(i),l=n("./node_modules/babel-runtime/helpers/classCallCheck.js"),d=o(l),u=n("./node_modules/babel-runtime/helpers/createClass.js"),c=o(u),p=n("./node_modules/babel-runtime/helpers/possibleConstructorReturn.js"),m=o(p),f=n("./node_modules/babel-runtime/helpers/inherits.js"),h=o(f),g=n("./node_modules/react/react.js"),b=o(g),_=n("./node_modules/prop-types/index.js"),v=o(_),y=n("./node_modules/classnames/index.js"),x=o(y),j=n("./node_modules/rc-form/lib/createDOMForm.js"),w=o(j),k=n("./node_modules/rc-util/lib/PureRenderMixin.js"),M=o(k),S=n("./node_modules/omit.js/lib/index.js"),T=o(S),E=n("./node_modules/create-react-class/index.js"),C=o(E),O=n("./node_modules/antd/lib/_util/warning.js"),D=o(O),L=n("./node_modules/antd/lib/form/FormItem.js"),A=o(L),P=n("./node_modules/antd/lib/form/constants.js"),I=function(e){function t(e){(0,d.default)(this,t);var n=(0,m.default)(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return(0,D.default)(!e.form,"It is unnecessary to pass `form` to `Form` after antd@1.7.0."),n}return(0,h.default)(t,e),(0,c.default)(t,[{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),n=0;n0&&void 0!==arguments[0]?arguments[0]:{},t=(0,w.default)((0,r.default)({fieldNameProp:"id"},e,{fieldMetaProp:P.FIELD_META_PROP}));return function(n){return t((0,C.default)({propTypes:{form:v.default.object.isRequired},childContextTypes:{form:v.default.object.isRequired},getChildContext:function(){return{form:this.props.form}},componentWillMount:function(){this.__getFieldProps=this.props.form.getFieldProps},deprecatedGetFieldProps:function(e,t){return(0,D.default)(!1,"`getFieldProps` is not recommended, please use `getFieldDecorator` instead, see: https://u.ant.design/get-field-decorator"),this.__getFieldProps(e,t)},render:function(){this.props.form.getFieldProps=this.deprecatedGetFieldProps;var t={};return e.withRef?t.ref="formWrappedComponent":this.props.wrappedComponentRef&&(t.ref=this.props.wrappedComponentRef),b.default.createElement(n,(0,r.default)({},this.props,t))}}))}},e.exports=t.default},"./node_modules/antd/lib/form/FormItem.js":function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n("./node_modules/babel-runtime/helpers/defineProperty.js"),r=o(a),i=n("./node_modules/babel-runtime/helpers/extends.js"),s=o(i),l=n("./node_modules/babel-runtime/helpers/classCallCheck.js"),d=o(l),u=n("./node_modules/babel-runtime/helpers/createClass.js"),c=o(u),p=n("./node_modules/babel-runtime/helpers/possibleConstructorReturn.js"),m=o(p),f=n("./node_modules/babel-runtime/helpers/inherits.js"),h=o(f),g=n("./node_modules/react/react.js"),b=o(g),_=n("./node_modules/react-dom/index.js"),v=n("./node_modules/prop-types/index.js"),y=o(v),x=n("./node_modules/classnames/index.js"),j=o(x),w=n("./node_modules/rc-util/lib/PureRenderMixin.js"),k=o(w),M=n("./node_modules/antd/lib/grid/row.js"),S=o(M),T=n("./node_modules/antd/lib/grid/col.js"),E=o(T),C=n("./node_modules/antd/lib/form/constants.js"),O=n("./node_modules/antd/lib/_util/warning.js"),D=o(O),L=function(e){function t(){(0,d.default)(this,t);var e=(0,m.default)(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.onLabelClick=function(){var t=e.props.id||e.getId();if(t){if(1!==document.querySelectorAll('[id="'+t+'"]').length){var n=(0,_.findDOMNode)(e).querySelector('[id="'+t+'"]');n&&n.focus&&n.focus()}}},e}return(0,h.default)(t,e),(0,c.default)(t,[{key:"componentDidMount",value:function(){(0,D.default)(this.getControls(this.props.children,!0).length<=1,"`Form.Item` cannot generate `validateStatus` and `help` automatically, while there are more than one `getFieldDecorator` in it.")}},{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),n=0;n0));r++){var i=a[r];(!i.type||i.type!==t&&"FormItem"!==i.type.displayName)&&i.props&&(C.FIELD_META_PROP in i.props?o.push(i):i.props.children&&(o=o.concat(this.getControls(i.props.children,n))))}return o}},{key:"getOnlyControl",value:function(){var e=this.getControls(this.props.children,!1)[0];return void 0!==e?e:null}},{key:"getChildProp",value:function(e){var t=this.getOnlyControl();return t&&t.props&&t.props[e]}},{key:"getId",value:function(){return this.getChildProp("id")}},{key:"getMeta",value:function(){return this.getChildProp(C.FIELD_META_PROP)}},{key:"renderHelp",value:function(){var e=this.props.prefixCls,t=this.getHelpMsg();return t?b.default.createElement("div",{className:e+"-explain",key:"help"},t):null}},{key:"renderExtra",value:function(){var e=this.props,t=e.prefixCls,n=e.extra;return n?b.default.createElement("div",{className:t+"-extra"},n):null}},{key:"getValidateStatus",value:function(){var e=this.context.form,t=e.isFieldValidating,n=e.getFieldError,o=e.getFieldValue,a=this.getId();if(!a)return"";if(t(a))return"validating";if(n(a))return"error";var r=o(a);return void 0!==r&&null!==r&&""!==r?"success":""}},{key:"renderValidateWrapper",value:function(e,t,n){var o="",a=this.context.form,r=this.props,i=void 0===r.validateStatus&&a?this.getValidateStatus():r.validateStatus;return i&&(o=(0,j.default)({"has-feedback":r.hasFeedback||"validating"===i,"has-success":"success"===i,"has-warning":"warning"===i,"has-error":"error"===i,"is-validating":"validating"===i})),b.default.createElement("div",{className:this.props.prefixCls+"-item-control "+o},e,t,n)}},{key:"renderWrapper",value:function(e){var t=this.props,n=t.prefixCls,o=t.wrapperCol,a=(0,j.default)(n+"-item-control-wrapper",o&&o.className);return b.default.createElement(E.default,(0,s.default)({},o,{className:a,key:"wrapper"}),e)}},{key:"isRequired",value:function(){var e=this.props.required;if(void 0!==e)return e;if(this.context.form){return((this.getMeta()||{}).validate||[]).filter(function(e){return!!e.rules}).some(function(e){return e.rules.some(function(e){return e.required})})}return!1}},{key:"renderLabel",value:function(){var e=this.props,t=e.prefixCls,n=e.label,o=e.labelCol,a=e.colon,i=e.id,l=this.context,d=this.isRequired(),u=(0,j.default)(t+"-item-label",o&&o.className),c=(0,j.default)((0,r.default)({},t+"-item-required",d)),p=n;return a&&!l.vertical&&"string"==typeof n&&""!==n.trim()&&(p=n.replace(/[:|:]\s*$/,"")),n?b.default.createElement(E.default,(0,s.default)({},o,{className:u,key:"label"}),b.default.createElement("label",{htmlFor:i||this.getId(),className:c,title:"string"==typeof n?n:"",onClick:this.onLabelClick},p)):null}},{key:"renderChildren",value:function(){var e=this.props,t=b.default.Children.map(e.children,function(e){return e&&"function"==typeof e.type&&!e.props.size?b.default.cloneElement(e,{size:"large"}):e});return[this.renderLabel(),this.renderWrapper(this.renderValidateWrapper(t,this.renderHelp(),this.renderExtra()))]}},{key:"renderFormItem",value:function(e){var t,n=this.props,o=n.prefixCls,a=n.style,i=(t={},(0,r.default)(t,o+"-item",!0),(0,r.default)(t,o+"-item-with-help",!!this.getHelpMsg()),(0,r.default)(t,o+"-item-no-colon",!n.colon),(0,r.default)(t,""+n.className,!!n.className),t);return b.default.createElement(S.default,{className:(0,j.default)(i),style:a},e)}},{key:"render",value:function(){var e=this.renderChildren();return this.renderFormItem(e)}}]),t}(b.default.Component);t.default=L,L.defaultProps={hasFeedback:!1,prefixCls:"ant-form",colon:!0},L.propTypes={prefixCls:y.default.string,label:y.default.oneOfType([y.default.string,y.default.node]),labelCol:y.default.object,help:y.default.oneOfType([y.default.node,y.default.bool]),validateStatus:y.default.oneOf(["","success","warning","error","validating"]),hasFeedback:y.default.bool,wrapperCol:y.default.object,className:y.default.string,id:y.default.string,children:y.default.node,colon:y.default.bool},L.contextTypes={form:y.default.object,vertical:y.default.bool},e.exports=t.default},"./node_modules/antd/lib/form/constants.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.FIELD_META_PROP="data-__meta"},"./node_modules/antd/lib/form/index.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/antd/lib/form/Form.js"),a=function(e){return e&&e.__esModule?e:{default:e}}(o);t.default=a.default,e.exports=t.default},"./node_modules/antd/lib/grid/col.js":function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n("./node_modules/babel-runtime/helpers/defineProperty.js"),r=o(a),i=n("./node_modules/babel-runtime/helpers/extends.js"),s=o(i),l=n("./node_modules/babel-runtime/helpers/typeof.js"),d=o(l),u=n("./node_modules/babel-runtime/helpers/classCallCheck.js"),c=o(u),p=n("./node_modules/babel-runtime/helpers/createClass.js"),m=o(p),f=n("./node_modules/babel-runtime/helpers/possibleConstructorReturn.js"),h=o(f),g=n("./node_modules/babel-runtime/helpers/inherits.js"),b=o(g),_=n("./node_modules/react/react.js"),v=o(_),y=n("./node_modules/prop-types/index.js"),x=o(y),j=n("./node_modules/classnames/index.js"),w=o(j),k=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,o=Object.getOwnPropertySymbols(e);a0?(0,r.default)({marginLeft:l/-2,marginRight:l/-2},d):d,_=g.Children.map(u,function(e){return e?e.props&&l>0?(0,g.cloneElement)(e,{style:(0,r.default)({paddingLeft:l/2,paddingRight:l/2},e.props.style)}):e:null});return b.default.createElement("div",(0,r.default)({},m,{className:f,style:h}),_)}}]),t}(b.default.Component);t.default=w,w.defaultProps={gutter:0},w.propTypes={type:x.default.string,align:x.default.string,justify:x.default.string,className:x.default.string,children:x.default.node,gutter:x.default.number,prefixCls:x.default.string},e.exports=t.default},"./node_modules/antd/lib/icon/index.js":function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n("./node_modules/babel-runtime/helpers/extends.js"),r=o(a),i=n("./node_modules/babel-runtime/helpers/defineProperty.js"),s=o(i),l=n("./node_modules/react/react.js"),d=o(l),u=n("./node_modules/classnames/index.js"),c=o(u),p=n("./node_modules/omit.js/lib/index.js"),m=o(p),f=function(e){var t=e.type,n=e.className,o=void 0===n?"":n,a=e.spin,i=(0,c.default)((0,s.default)({anticon:!0,"anticon-spin":!!a||"loading"===t},"anticon-"+t,!0),o);return d.default.createElement("i",(0,r.default)({},(0,m.default)(e,["type","spin"]),{className:i}))};t.default=f,e.exports=t.default},"./node_modules/antd/lib/input-number/index.js":function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n("./node_modules/babel-runtime/helpers/extends.js"),r=o(a),i=n("./node_modules/babel-runtime/helpers/defineProperty.js"),s=o(i),l=n("./node_modules/babel-runtime/helpers/classCallCheck.js"),d=o(l),u=n("./node_modules/babel-runtime/helpers/createClass.js"),c=o(u),p=n("./node_modules/babel-runtime/helpers/possibleConstructorReturn.js"),m=o(p),f=n("./node_modules/babel-runtime/helpers/inherits.js"),h=o(f),g=n("./node_modules/react/react.js"),b=o(g),_=n("./node_modules/classnames/index.js"),v=o(_),y=n("./node_modules/rc-input-number/lib/index.js"),x=o(y),j=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,o=Object.getOwnPropertySymbols(e);a1&&void 0!==arguments[1]&&arguments[1],n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&s[n])return s[n];var o=window.getComputedStyle(e),a=o.getPropertyValue("box-sizing")||o.getPropertyValue("-moz-box-sizing")||o.getPropertyValue("-webkit-box-sizing"),r=parseFloat(o.getPropertyValue("padding-bottom"))+parseFloat(o.getPropertyValue("padding-top")),l=parseFloat(o.getPropertyValue("border-bottom-width"))+parseFloat(o.getPropertyValue("border-top-width")),d=i.map(function(e){return e+":"+o.getPropertyValue(e)}).join(";"),u={sizingStyle:d,paddingSize:r,borderSize:l,boxSizing:a};return t&&n&&(s[n]=u),u}function a(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;l||(l=document.createElement("textarea"),document.body.appendChild(l)),e.getAttribute("wrap")?l.setAttribute("wrap",e.getAttribute("wrap")):l.removeAttribute("wrap");var i=o(e,t),s=i.paddingSize,d=i.borderSize,u=i.boxSizing,c=i.sizingStyle;l.setAttribute("style",c+";"+r),l.value=e.value||e.placeholder||"";var p=-1/0,m=1/0,f=l.scrollHeight,h=void 0;if("border-box"===u?f+=d:"content-box"===u&&(f-=s),null!==n||null!==a){l.value="";var g=l.scrollHeight-s;null!==n&&(p=g*n,"border-box"===u&&(p=p+s+d),f=Math.max(p,f)),null!==a&&(m=g*a,"border-box"===u&&(m=m+s+d),h=f>m?"":"hidden",f=Math.min(m,f))}return a||(h="hidden"),{height:f,minHeight:p,maxHeight:m,overflowY:h}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var r="\n min-height:0 !important;\n max-height:none !important;\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important\n",i=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"],s={},l=void 0;e.exports=t.default},"./node_modules/antd/lib/input/index.js":function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n("./node_modules/antd/lib/input/Input.js"),r=o(a),i=n("./node_modules/antd/lib/input/Group.js"),s=o(i),l=n("./node_modules/antd/lib/input/Search.js"),d=o(l),u=n("./node_modules/antd/lib/input/TextArea.js"),c=o(u);r.default.Group=s.default,r.default.Search=d.default,r.default.TextArea=c.default,t.default=r.default,e.exports=t.default},"./node_modules/antd/lib/locale-provider/injectLocale.js":function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n("./node_modules/babel-runtime/helpers/extends.js"),r=o(a),i=n("./node_modules/babel-runtime/helpers/classCallCheck.js"),s=o(i),l=n("./node_modules/babel-runtime/helpers/createClass.js"),d=o(l),u=n("./node_modules/babel-runtime/helpers/possibleConstructorReturn.js"),c=o(u),p=n("./node_modules/babel-runtime/helpers/inherits.js"),m=o(p),f=n("./node_modules/prop-types/index.js"),h=o(f);t.default=function(e,t){return function(n){var o=n;return a=function(n){function o(){return(0,s.default)(this,o),(0,c.default)(this,(o.__proto__||Object.getPrototypeOf(o)).apply(this,arguments))}return(0,m.default)(o,n),(0,d.default)(o,[{key:"getLocale",value:function(){var n=this.context.antLocale,o=n&&n[e],a=this.props.locale||{};return(0,r.default)({},t,o||{},a)}}]),o}(n),a.propTypes=o.propTypes,a.defaultProps=o.defaultProps,a.contextTypes=(0,r.default)({},o.context||{},{antLocale:h.default.object}),a;var a}},e.exports=t.default},"./node_modules/antd/lib/menu/MenuItem.js":function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n("./node_modules/babel-runtime/helpers/classCallCheck.js"),r=o(a),i=n("./node_modules/babel-runtime/helpers/createClass.js"),s=o(i),l=n("./node_modules/babel-runtime/helpers/possibleConstructorReturn.js"),d=o(l),u=n("./node_modules/babel-runtime/helpers/inherits.js"),c=o(u),p=n("./node_modules/react/react.js"),m=o(p),f=n("./node_modules/rc-menu/lib/index.js"),h=n("./node_modules/prop-types/index.js"),g=o(h),b=n("./node_modules/antd/lib/tooltip/index.js"),_=o(b),v=function(e){function t(){return(0,r.default)(this,t),(0,d.default)(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return(0,c.default)(t,e),(0,s.default)(t,[{key:"render",value:function(){var e=this.context.inlineCollapsed,t=this.props;return m.default.createElement(_.default,{title:e&&1===t.level?t.children:"",placement:"right",overlayClassName:t.rootPrefixCls+"-inline-collapsed-tooltip"},m.default.createElement(f.Item,t))}}]),t}(m.default.Component);v.contextTypes={inlineCollapsed:g.default.bool},v.isMenuItem=1,t.default=v,e.exports=t.default},"./node_modules/antd/lib/menu/index.js":function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n("./node_modules/babel-runtime/helpers/defineProperty.js"),r=o(a),i=n("./node_modules/babel-runtime/helpers/extends.js"),s=o(i),l=n("./node_modules/babel-runtime/helpers/classCallCheck.js"),d=o(l),u=n("./node_modules/babel-runtime/helpers/createClass.js"),c=o(u),p=n("./node_modules/babel-runtime/helpers/possibleConstructorReturn.js"),m=o(p),f=n("./node_modules/babel-runtime/helpers/inherits.js"),h=o(f),g=n("./node_modules/react/react.js"),b=o(g),_=n("./node_modules/rc-menu/lib/index.js"),v=o(_),y=n("./node_modules/prop-types/index.js"),x=o(y),j=n("./node_modules/classnames/index.js"),w=o(j),k=n("./node_modules/antd/lib/_util/openAnimation.js"),M=o(k),S=n("./node_modules/antd/lib/_util/warning.js"),T=o(S),E=n("./node_modules/antd/lib/menu/MenuItem.js"),C=o(E),O=function(e){function t(e){(0,d.default)(this,t);var n=(0,m.default)(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));n.inlineOpenKeys=[],n.handleClick=function(e){n.handleOpenChange([]);var t=n.props.onClick;t&&t(e)},n.handleOpenChange=function(e){n.setOpenKeys(e);var t=n.props.onOpenChange;t&&t(e)},(0,T.default)(!("onOpen"in e||"onClose"in e),"`onOpen` and `onClose` are removed, please use `onOpenChange` instead, see: https://u.ant.design/menu-on-open-change."),(0,T.default)(!("inlineCollapsed"in e&&"inline"!==e.mode),"`inlineCollapsed` should only be used when Menu's `mode` is inline.");var o=void 0;return"defaultOpenKeys"in e?o=e.defaultOpenKeys:"openKeys"in e&&(o=e.openKeys),n.state={openKeys:o||[]},n}return(0,h.default)(t,e),(0,c.default)(t,[{key:"getChildContext",value:function(){return{inlineCollapsed:this.getInlineCollapsed()}}},{key:"componentWillReceiveProps",value:function(e,t){if("inline"===this.props.mode&&"inline"!==e.mode&&(this.switchModeFromInline=!0),"openKeys"in e)return void this.setState({openKeys:e.openKeys});(e.inlineCollapsed&&!this.props.inlineCollapsed||t.siderCollapsed&&!this.context.siderCollapsed)&&(this.switchModeFromInline=!!this.state.openKeys.length,this.inlineOpenKeys=this.state.openKeys,this.setState({openKeys:[]})),(!e.inlineCollapsed&&this.props.inlineCollapsed||!t.siderCollapsed&&this.context.siderCollapsed)&&(this.setState({openKeys:this.inlineOpenKeys}),this.inlineOpenKeys=[])}},{key:"setOpenKeys",value:function(e){"openKeys"in this.props||this.setState({openKeys:e})}},{key:"getRealMenuMode",value:function(){var e=this.getInlineCollapsed();if(this.switchModeFromInline&&e&&this.leaveAnimationExecutedWhenInlineCollapsed)return this.leaveAnimationExecutedWhenInlineCollapsed=!1,"inline";var t=this.props.mode;return e?"vertical":t}},{key:"getInlineCollapsed",value:function(){var e=this.props.inlineCollapsed;return void 0!==this.context.siderCollapsed?this.context.siderCollapsed:e}},{key:"getMenuOpenAnimation",value:function(e){var t=this,n=this.props,o=n.openAnimation,a=n.openTransitionName,r=o||a;if(void 0===o&&void 0===a)switch(e){case"horizontal":r="slide-up";break;case"vertical":this.switchModeFromInline?(r="",this.switchModeFromInline=!1):r="zoom-big";break;case"inline":r=(0,s.default)({},M.default,{leave:function(e,n){return M.default.leave(e,function(){t.switchModeFromInline=!1,t.leaveAnimationExecutedWhenInlineCollapsed=!0,t.setState({}),n()})}})}return r}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.className,o=e.theme,a=this.getRealMenuMode(),i=this.getMenuOpenAnimation(a),l=(0,w.default)(n,t+"-"+o,(0,r.default)({},t+"-inline-collapsed",this.getInlineCollapsed())),d={openKeys:this.state.openKeys,onOpenChange:this.handleOpenChange,className:l,mode:a};return"inline"!==a?(d.onClick=this.handleClick,d.openTransitionName=i):d.openAnimation=i,b.default.createElement(v.default,(0,s.default)({},this.props,d))}}]),t}(b.default.Component);t.default=O,O.Divider=_.Divider,O.Item=C.default,O.SubMenu=_.SubMenu,O.ItemGroup=_.ItemGroup,O.defaultProps={prefixCls:"ant-menu",className:"",theme:"light"},O.childContextTypes={inlineCollapsed:x.default.bool},O.contextTypes={siderCollapsed:x.default.bool},e.exports=t.default},"./node_modules/antd/lib/message/index.js":function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function a(){return f=f||d.default.newInstance({prefixCls:g,transitionName:"move-up",style:{top:m},getContainer:b})}function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p,n=arguments[2],o=arguments[3],r={info:"info-circle",success:"check-circle",error:"cross-circle",warning:"exclamation-circle",loading:"loading"}[n],i=a();return i.notice({key:h,duration:t,style:{},content:s.default.createElement("div",{className:g+"-custom-content "+g+"-"+n},s.default.createElement(c.default,{type:r}),s.default.createElement("span",null,e)),onClose:o}),function(){var e=h++;return function(){i.removeNotice(e)}}()}Object.defineProperty(t,"__esModule",{value:!0});var i=n("./node_modules/react/react.js"),s=o(i),l=n("./node_modules/rc-notification/lib/index.js"),d=o(l),u=n("./node_modules/antd/lib/icon/index.js"),c=o(u),p=3,m=void 0,f=void 0,h=1,g="ant-message",b=void 0;t.default={info:function(e,t,n){return r(e,t,"info",n)},success:function(e,t,n){return r(e,t,"success",n)},error:function(e,t,n){return r(e,t,"error",n)},warn:function(e,t,n){return r(e,t,"warning",n)},warning:function(e,t,n){return r(e,t,"warning",n)},loading:function(e,t,n){return r(e,t,"loading",n)},config:function(e){void 0!==e.top&&(m=e.top,f=null),void 0!==e.duration&&(p=e.duration),void 0!==e.prefixCls&&(g=e.prefixCls),void 0!==e.getContainer&&(b=e.getContainer)},destroy:function(){f&&(f.destroy(),f=null)}},e.exports=t.default},"./node_modules/antd/lib/pagination/MiniSelect.js":function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n("./node_modules/babel-runtime/helpers/extends.js"),r=o(a),i=n("./node_modules/babel-runtime/helpers/classCallCheck.js"),s=o(i),l=n("./node_modules/babel-runtime/helpers/createClass.js"),d=o(l),u=n("./node_modules/babel-runtime/helpers/possibleConstructorReturn.js"),c=o(u),p=n("./node_modules/babel-runtime/helpers/inherits.js"),m=o(p),f=n("./node_modules/react/react.js"),h=o(f),g=n("./node_modules/antd/lib/select/index.js"),b=o(g),_=function(e){function t(){return(0,s.default)(this,t),(0,c.default)(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return(0,m.default)(t,e),(0,d.default)(t,[{key:"render",value:function(){return h.default.createElement(b.default,(0,r.default)({size:"small"},this.props))}}]),t}(h.default.Component);t.default=_,_.Option=b.default.Option,e.exports=t.default},"./node_modules/antd/lib/pagination/Pagination.js":function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n("./node_modules/babel-runtime/helpers/extends.js"),r=o(a),i=n("./node_modules/babel-runtime/helpers/classCallCheck.js"),s=o(i),l=n("./node_modules/babel-runtime/helpers/createClass.js"),d=o(l),u=n("./node_modules/babel-runtime/helpers/possibleConstructorReturn.js"),c=o(u),p=n("./node_modules/babel-runtime/helpers/inherits.js"),m=o(p),f=n("./node_modules/react/react.js"),h=o(f),g=n("./node_modules/rc-pagination/lib/index.js"),b=o(g),_=n("./node_modules/rc-pagination/lib/locale/zh_CN.js"),v=o(_),y=n("./node_modules/classnames/index.js"),x=o(y),j=n("./node_modules/antd/lib/locale-provider/injectLocale.js"),w=o(j),k=n("./node_modules/antd/lib/select/index.js"),M=o(k),S=n("./node_modules/antd/lib/pagination/MiniSelect.js"),T=o(S),E=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,o=Object.getOwnPropertySymbols(e);a0&&(d=s.map(function(t,n){return"string"==typeof t?g.default.createElement(k.default,{key:n,disabled:e.props.disabled,value:t,onChange:e.onRadioChange,checked:e.state.value===t},t):g.default.createElement(k.default,{key:n,disabled:t.disabled||e.props.disabled,value:t.value,onChange:e.onRadioChange,checked:e.state.value===t.value},t.label)})),g.default.createElement("div",{className:l,style:t.style,onMouseEnter:t.onMouseEnter,onMouseLeave:t.onMouseLeave,id:t.id},d)}}]),t}(g.default.Component);t.default=M,M.defaultProps={disabled:!1},M.childContextTypes={radioGroup:_.default.any},e.exports=t.default},"./node_modules/antd/lib/radio/index.js":function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Group=t.Button=void 0;var a=n("./node_modules/antd/lib/radio/radio.js"),r=o(a),i=n("./node_modules/antd/lib/radio/group.js"),s=o(i),l=n("./node_modules/antd/lib/radio/radioButton.js"),d=o(l);r.default.Button=d.default,r.default.Group=s.default,t.Button=d.default,t.Group=s.default,t.default=r.default},"./node_modules/antd/lib/radio/radio.js":function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n("./node_modules/babel-runtime/helpers/defineProperty.js"),r=o(a),i=n("./node_modules/babel-runtime/helpers/extends.js"),s=o(i),l=n("./node_modules/babel-runtime/helpers/classCallCheck.js"),d=o(l),u=n("./node_modules/babel-runtime/helpers/createClass.js"),c=o(u),p=n("./node_modules/babel-runtime/helpers/possibleConstructorReturn.js"),m=o(p),f=n("./node_modules/babel-runtime/helpers/inherits.js"),h=o(f),g=n("./node_modules/react/react.js"),b=o(g),_=n("./node_modules/prop-types/index.js"),v=o(_),y=n("./node_modules/rc-checkbox/lib/index.js"),x=o(y),j=n("./node_modules/classnames/index.js"),w=o(j),k=n("./node_modules/shallowequal/index.js"),M=o(k),S=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,o=Object.getOwnPropertySymbols(e);a=0:t.getState().selectedRowKeys.indexOf(o)>=0||n.indexOf(o)>=0}},{key:"render",value:function(){var e=this.props,t=e.type,n=e.rowIndex,o=e.disabled,a=e.onChange,r=this.state.checked;return"radio"===t?m.default.createElement(b.default,{disabled:o,onChange:a,value:n,checked:r}):m.default.createElement(h.default,{checked:r,disabled:o,onChange:a})}}]),t}(m.default.Component);t.default=_,e.exports=t.default},"./node_modules/antd/lib/table/SelectionCheckboxAll.js":function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n("./node_modules/babel-runtime/helpers/defineProperty.js"),r=o(a),i=n("./node_modules/babel-runtime/helpers/classCallCheck.js"),s=o(i),l=n("./node_modules/babel-runtime/helpers/createClass.js"),d=o(l),u=n("./node_modules/babel-runtime/helpers/possibleConstructorReturn.js"),c=o(u),p=n("./node_modules/babel-runtime/helpers/inherits.js"),m=o(p),f=n("./node_modules/react/react.js"),h=o(f),g=n("./node_modules/antd/lib/checkbox/index.js"),b=o(g),_=n("./node_modules/antd/lib/dropdown/index.js"),v=o(_),y=n("./node_modules/antd/lib/menu/index.js"),x=o(y),j=n("./node_modules/antd/lib/icon/index.js"),w=o(j),k=n("./node_modules/classnames/index.js"),M=o(k),S=function(e){function t(e){(0,s.default)(this,t);var n=(0,c.default)(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleSelectAllChagne=function(e){var t=e.target.checked;n.props.onSelect(t?"all":"removeAll",0,null)},n.defaultSelections=e.hideDefaultSelections?[]:[{key:"all",text:e.locale.selectAll,onSelect:function(){}},{key:"invert",text:e.locale.selectInvert,onSelect:function(){}}],n.state={checked:n.getCheckState(e),indeterminate:n.getIndeterminateState(e)},n}return(0,m.default)(t,e),(0,d.default)(t,[{key:"componentDidMount",value:function(){this.subscribe()}},{key:"componentWillReceiveProps",value:function(e){this.setCheckState(e)}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"subscribe",value:function(){var e=this,t=this.props.store;this.unsubscribe=t.subscribe(function(){e.setCheckState(e.props)})}},{key:"checkSelection",value:function(e,t,n){var o=this.props,a=o.store,r=o.getCheckboxPropsByItem,i=o.getRecordKey;return("every"===t||"some"===t)&&(n?e[t](function(e,t){return r(e,t).defaultChecked}):e[t](function(e,t){return a.getState().selectedRowKeys.indexOf(i(e,t))>=0}))}},{key:"setCheckState",value:function(e){var t=this.getCheckState(e),n=this.getIndeterminateState(e);t!==this.state.checked&&this.setState({checked:t}),n!==this.state.indeterminate&&this.setState({indeterminate:n})}},{key:"getCheckState",value:function(e){var t=e.store,n=e.data;return!!n.length&&(t.getState().selectionDirty?this.checkSelection(n,"every",!1):this.checkSelection(n,"every",!1)||this.checkSelection(n,"every",!0))}},{key:"getIndeterminateState",value:function(e){var t=e.store,n=e.data;return!!n.length&&(t.getState().selectionDirty?this.checkSelection(n,"some",!1)&&!this.checkSelection(n,"every",!1):this.checkSelection(n,"some",!1)&&!this.checkSelection(n,"every",!1)||this.checkSelection(n,"some",!0)&&!this.checkSelection(n,"every",!0))}},{key:"renderMenus",value:function(e){var t=this;return e.map(function(e,n){return h.default.createElement(x.default.Item,{key:e.key||n},h.default.createElement("div",{onClick:function(){t.props.onSelect(e.key,n,e.onSelect)}},e.text))})}},{key:"render",value:function(){var e=this.props,t=e.disabled,n=e.prefixCls,o=e.selections,a=e.getPopupContainer,i=this.state,s=i.checked,l=i.indeterminate,d=n+"-selection",u=null;if(o){var c=Array.isArray(o)?this.defaultSelections.concat(o):this.defaultSelections,p=h.default.createElement(x.default,{className:d+"-menu",selectedKeys:[]},this.renderMenus(c));u=c.length>0?h.default.createElement(v.default,{overlay:p,getPopupContainer:a},h.default.createElement("div",{className:d+"-down"},h.default.createElement(w.default,{type:"down"}))):null}return h.default.createElement("div",{className:d},h.default.createElement(b.default,{className:(0,M.default)((0,r.default)({},d+"-select-all-custom",u)),checked:s,indeterminate:l,disabled:t,onChange:this.handleSelectAllChagne}),u)}}]),t}(h.default.Component);t.default=S,e.exports=t.default},"./node_modules/antd/lib/table/Table.js":function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function a(){}function r(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation&&e.nativeEvent.stopImmediatePropagation()}Object.defineProperty(t,"__esModule",{value:!0});var i=n("./node_modules/babel-runtime/helpers/typeof.js"),s=o(i),l=n("./node_modules/babel-runtime/helpers/defineProperty.js"),d=o(l),u=n("./node_modules/babel-runtime/helpers/extends.js"),c=o(u),p=n("./node_modules/babel-runtime/helpers/classCallCheck.js"),m=o(p),f=n("./node_modules/babel-runtime/helpers/createClass.js"),h=o(f),g=n("./node_modules/babel-runtime/helpers/possibleConstructorReturn.js"),b=o(g),_=n("./node_modules/babel-runtime/helpers/inherits.js"),v=o(_),y=n("./node_modules/react/react.js"),x=o(y),j=n("./node_modules/react-dom/index.js"),w=n("./node_modules/rc-table/lib/index.js"),k=o(w),M=n("./node_modules/prop-types/index.js"),S=o(M),T=n("./node_modules/classnames/index.js"),E=o(T),C=n("./node_modules/antd/lib/pagination/index.js"),O=o(C),D=n("./node_modules/antd/lib/icon/index.js"),L=o(D),A=n("./node_modules/antd/lib/spin/index.js"),P=o(A),I=n("./node_modules/antd/lib/_util/warning.js"),R=o(I),N=n("./node_modules/antd/lib/table/filterDropdown.js"),z=o(N),F=n("./node_modules/antd/lib/table/createStore.js"),Y=o(F),H=n("./node_modules/antd/lib/table/SelectionBox.js"),V=o(H),W=n("./node_modules/antd/lib/table/SelectionCheckboxAll.js"),q=o(W),B=n("./node_modules/antd/lib/table/Column.js"),U=o(B),G=n("./node_modules/antd/lib/table/ColumnGroup.js"),K=o(G),Z=n("./node_modules/antd/lib/table/util.js"),J=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,o=Object.getOwnPropertySymbols(e);a0&&(l.filters=u),"object"===(0,s.default)(o.pagination)&&"current"in o.pagination&&(l.pagination=(0,c.default)({},a,{current:n.state.pagination.current})),n.setState(l,function(){n.store.setState({selectionDirty:!1});var e=n.props.onChange;e&&e.apply(null,n.prepareParamsArguments((0,c.default)({},n.state,{selectionDirty:!1,filters:r,pagination:a})))})},n.handleSelect=function(e,t,o){var a=o.target.checked,r=n.store.getState().selectionDirty?[]:n.getDefaultSelection(),i=n.store.getState().selectedRowKeys.concat(r),s=n.getRecordKey(e,t);a?i.push(n.getRecordKey(e,t)):i=i.filter(function(e){return s!==e}),n.store.setState({selectionDirty:!0}),n.setSelectedRowKeys(i,{selectWay:"onSelect",record:e,checked:a})},n.handleRadioSelect=function(e,t,o){var a=o.target.checked,r=n.store.getState().selectionDirty?[]:n.getDefaultSelection(),i=n.store.getState().selectedRowKeys.concat(r);i=[n.getRecordKey(e,t)],n.store.setState({selectionDirty:!0}),n.setSelectedRowKeys(i,{selectWay:"onSelect",record:e,checked:a})},n.handleSelectRow=function(e,t,o){var a=n.getFlatCurrentPageData(),r=n.store.getState().selectionDirty?[]:n.getDefaultSelection(),i=n.store.getState().selectedRowKeys.concat(r),s=a.filter(function(e,t){return!n.getCheckboxPropsByItem(e,t).disabled}).map(function(e,t){return n.getRecordKey(e,t)}),l=[],d="",u=void 0;switch(e){case"all":s.forEach(function(e){i.indexOf(e)<0&&(i.push(e),l.push(e))}),d="onSelectAll",u=!0;break;case"removeAll":s.forEach(function(e){i.indexOf(e)>=0&&(i.splice(i.indexOf(e),1),l.push(e))}),d="onSelectAll",u=!1;break;case"invert":s.forEach(function(e){i.indexOf(e)<0?i.push(e):i.splice(i.indexOf(e),1),l.push(e),d="onSelectInvert"})}n.store.setState({selectionDirty:!0});var c=n.props.rowSelection,p=2;if(c&&c.hideDefaultSelections&&(p=0),t>=p&&"function"==typeof o)return o(s);n.setSelectedRowKeys(i,{selectWay:d,checked:u,changeRowKeys:l})},n.handlePageChange=function(e){for(var t=arguments.length,o=Array(t>1?t-1:0),a=1;a0){var n=this.getSortStateFromColumns(this.columns);n.sortColumn===this.state.sortColumn&&n.sortOrder===this.state.sortOrder||this.setState(n)}if(this.getFilteredValueColumns(this.columns).length>0){var o=this.getFiltersFromColumns(this.columns),a=(0,c.default)({},this.state.filters);Object.keys(o).forEach(function(e){a[e]=o[e]}),this.isFiltersChanged(a)&&this.setState({filters:a})}}},{key:"setSelectedRowKeys",value:function(e,t){var n=this,o=t.selectWay,a=t.record,r=t.checked,i=t.changeRowKeys,s=this.props.rowSelection,l=void 0===s?{}:s;!l||"selectedRowKeys"in l||this.store.setState({selectedRowKeys:e});var d=this.getFlatData();if(l.onChange||l[o]){var u=d.filter(function(t,o){return e.indexOf(n.getRecordKey(t,o))>=0});if(l.onChange&&l.onChange(e,u),"onSelect"===o&&l.onSelect)l.onSelect(a,r,u);else if("onSelectAll"===o&&l.onSelectAll){var c=d.filter(function(e,t){return i.indexOf(n.getRecordKey(e,t))>=0});l.onSelectAll(r,u,c)}else"onSelectInvert"===o&&l.onSelectInvert&&l.onSelectInvert(e)}}},{key:"hasPagination",value:function(e){return!1!==(e||this.props).pagination}},{key:"isFiltersChanged",value:function(e){var t=this,n=!1;return Object.keys(e).length!==Object.keys(this.state.filters).length?n=!0:Object.keys(e).forEach(function(o){e[o]!==t.state.filters[o]&&(n=!0)}),n}},{key:"getSortOrderColumns",value:function(e){return(0,Z.flatFilter)(e||this.columns||[],function(e){return"sortOrder"in e})}},{key:"getFilteredValueColumns",value:function(e){return(0,Z.flatFilter)(e||this.columns||[],function(e){return void 0!==e.filteredValue})}},{key:"getFiltersFromColumns",value:function(e){var t=this,n={};return this.getFilteredValueColumns(e).forEach(function(e){n[t.getColumnKey(e)]=e.filteredValue}),n}},{key:"getSortStateFromColumns",value:function(e){var t=this.getSortOrderColumns(e).filter(function(e){return e.sortOrder})[0];return t?{sortColumn:t,sortOrder:t.sortOrder}:{sortColumn:null,sortOrder:null}}},{key:"getSorterFn",value:function(){var e=this.state,t=e.sortOrder,n=e.sortColumn;if(t&&n&&"function"==typeof n.sorter)return function(e,o){var a=n.sorter(e,o);return 0!==a?"descend"===t?-a:a:0}}},{key:"toggleSortOrder",value:function(e,t){var n=this.state,o=n.sortColumn,a=n.sortOrder;this.isSortColumn(t)?a===e?(a="",o=null):a=e:(a=e,o=t);var r={sortOrder:a,sortColumn:o};0===this.getSortOrderColumns().length&&this.setState(r);var i=this.props.onChange;i&&i.apply(null,this.prepareParamsArguments((0,c.default)({},this.state,r)))}},{key:"renderRowSelection",value:function(){var e=this,t=this.props,n=t.prefixCls,o=t.rowSelection,a=this.columns.concat();if(o){var r=this.getFlatCurrentPageData().filter(function(t,n){return!o.getCheckboxProps||!e.getCheckboxPropsByItem(t,n).disabled}),i=(0,E.default)(n+"-selection-column",(0,d.default)({},n+"-selection-column-custom",o.selections)),s={key:"selection-column",render:this.renderSelectionBox(o.type),className:i};if("radio"!==o.type){var l=r.every(function(t,n){return e.getCheckboxPropsByItem(t,n).disabled});s.title=x.default.createElement(q.default,{store:this.store,locale:this.getLocale(),data:r,getCheckboxPropsByItem:this.getCheckboxPropsByItem,getRecordKey:this.getRecordKey,disabled:l,prefixCls:n,onSelect:this.handleSelectRow,selections:o.selections,hideDefaultSelections:o.hideDefaultSelections,getPopupContainer:this.getPopupContainer})}a.some(function(e){return"left"===e.fixed||!0===e.fixed})&&(s.fixed="left"),a[0]&&"selection-column"===a[0].key?a[0]=s:a.unshift(s)}return a}},{key:"getColumnKey",value:function(e,t){return e.key||e.dataIndex||t}},{key:"getMaxCurrent",value:function(e){var t=this.state.pagination,n=t.current,o=t.pageSize;return(n-1)*o>=e?Math.floor((e-1)/o)+1:n}},{key:"isSortColumn",value:function(e){var t=this.state.sortColumn;return!(!e||!t)&&this.getColumnKey(t)===this.getColumnKey(e)}},{key:"renderColumnsDropdown",value:function(e){var t=this,n=this.props,o=n.prefixCls,a=n.dropdownPrefixCls,r=this.state.sortOrder,i=this.getLocale();return(0,Z.treeMap)(e,function(e,n){var s=(0,c.default)({},e),l=t.getColumnKey(s,n),d=void 0,u=void 0;if(s.filters&&s.filters.length>0||s.filterDropdown){var p=t.state.filters[l]||[];d=x.default.createElement(z.default,{locale:i,column:s,selectedKeys:p,confirmFilter:t.handleFilter,prefixCls:o+"-filter",dropdownPrefixCls:a||"ant-dropdown",getPopupContainer:t.getPopupContainer})}if(s.sorter){var m=t.isSortColumn(s);m&&(s.className=s.className||"",r&&(s.className+=" "+o+"-column-sort"));var f=m&&"ascend"===r,h=m&&"descend"===r;u=x.default.createElement("div",{className:o+"-column-sorter"},x.default.createElement("span",{className:o+"-column-sorter-up "+(f?"on":"off"),title:"↑",onClick:function(){return t.toggleSortOrder("ascend",s)}},x.default.createElement(L.default,{type:"caret-up"})),x.default.createElement("span",{className:o+"-column-sorter-down "+(h?"on":"off"),title:"↓",onClick:function(){return t.toggleSortOrder("descend",s)}},x.default.createElement(L.default,{type:"caret-down"})))}return s.title=x.default.createElement("span",null,s.title,u,d),s})}},{key:"renderPagination",value:function(){if(!this.hasPagination())return null;var e="default",t=this.state.pagination;t.size?e=t.size:"middle"!==this.props.size&&"small"!==this.props.size||(e="small");var n=t.total||this.getLocalData().length;return n>0?x.default.createElement(O.default,(0,c.default)({key:"pagination"},t,{className:(0,E.default)(t.className,this.props.prefixCls+"-pagination"),onChange:this.handlePageChange,total:n,size:e,current:this.getMaxCurrent(n),onShowSizeChange:this.handleShowSizeChange})):null}},{key:"prepareParamsArguments",value:function(e){var t=(0,c.default)({},e.pagination);delete t.onChange,delete t.onShowSizeChange;var n=e.filters,o={};return e.sortColumn&&e.sortOrder&&(o.column=e.sortColumn,o.order=e.sortOrder,o.field=e.sortColumn.dataIndex,o.columnKey=this.getColumnKey(e.sortColumn)),[t,n,o]}},{key:"findColumn",value:function(e){var t=this,n=void 0;return(0,Z.treeMap)(this.columns,function(o){t.getColumnKey(o)===e&&(n=o)}),n}},{key:"getCurrentPageData",value:function(){var e=this.getLocalData(),t=void 0,n=void 0,o=this.state;return this.hasPagination()?(n=o.pagination.pageSize,t=this.getMaxCurrent(o.pagination.total||e.length)):(n=Number.MAX_VALUE,t=1),(e.length>n||n===Number.MAX_VALUE)&&(e=e.filter(function(e,o){return o>=(t-1)*n&&o=0?delete t[e.key]:t[e.key]=e.keyPath,n.setState({keyPathOfSelectedItem:t})}},n.renderFilterIcon=function(){var e=n.props,t=e.column,o=e.locale,a=e.prefixCls,i=t.filterIcon,s=n.props.selectedKeys.length>0?a+"-selected":"";return i?h.default.cloneElement(i,{title:o.filterTitle,className:(0,w.default)(i.className,(0,r.default)({},a+"-icon",!0))}):h.default.createElement(T.default,{title:o.filterTitle,type:"filter",className:s})};var o="filterDropdownVisible"in e.column&&e.column.filterDropdownVisible;return n.state={selectedKeys:e.selectedKeys,keyPathOfSelectedItem:{},visible:o},n}return(0,m.default)(t,e),(0,d.default)(t,[{key:"componentDidMount",value:function(){var e=this.props.column;this.setNeverShown(e)}},{key:"componentWillReceiveProps",value:function(e){var t=e.column;this.setNeverShown(t);var n={};"selectedKeys"in e&&(n.selectedKeys=e.selectedKeys),"filterDropdownVisible"in t&&(n.visible=t.filterDropdownVisible),Object.keys(n).length>0&&this.setState(n)}},{key:"setVisible",value:function(e){var t=this.props.column;"filterDropdownVisible"in t||this.setState({visible:e}),t.onFilterDropdownVisibleChange&&t.onFilterDropdownVisibleChange(e)}},{key:"confirmFilter",value:function(){this.state.selectedKeys!==this.props.selectedKeys&&this.props.confirmFilter(this.props.column,this.state.selectedKeys)}},{key:"renderMenuItem",value:function(e){var t=this.props.column,n=!("filterMultiple"in t)||t.filterMultiple,o=n?h.default.createElement(C.default,{checked:this.state.selectedKeys.indexOf(e.value.toString())>=0}):h.default.createElement(D.default,{checked:this.state.selectedKeys.indexOf(e.value.toString())>=0});return h.default.createElement(_.Item,{key:e.value},o,h.default.createElement("span",null,e.text))}},{key:"hasSubMenu",value:function(){var e=this.props.column.filters;return(void 0===e?[]:e).some(function(e){return!!(e.children&&e.children.length>0)})}},{key:"renderMenus",value:function(e){var t=this;return e.map(function(e){if(e.children&&e.children.length>0){var n=t.state.keyPathOfSelectedItem,o=Object.keys(n).some(function(t){return n[t].indexOf(e.value)>=0}),a=o?t.props.dropdownPrefixCls+"-submenu-contain-selected":"";return h.default.createElement(_.SubMenu,{title:e.text,className:a,key:e.value.toString()},t.renderMenus(e.children))}return t.renderMenuItem(e)})}},{key:"render",value:function(){var e=this.props,t=e.column,n=e.locale,o=e.prefixCls,a=e.dropdownPrefixCls,i=e.getPopupContainer,s=!("filterMultiple"in t)||t.filterMultiple,l=(0,w.default)((0,r.default)({},a+"-menu-without-submenu",!this.hasSubMenu())),d=t.filterDropdown?h.default.createElement(A.default,null,t.filterDropdown):h.default.createElement(A.default,{className:o+"-dropdown"},h.default.createElement(v.default,{multiple:s,onClick:this.handleMenuItemClick,prefixCls:a+"-menu",className:l,onSelect:this.setSelectedKeys,onDeselect:this.setSelectedKeys,selectedKeys:this.state.selectedKeys},this.renderMenus(t.filters)),h.default.createElement("div",{className:o+"-dropdown-btns"},h.default.createElement("a",{className:o+"-dropdown-link confirm",onClick:this.handleConfirm},n.filterConfirm),h.default.createElement("a",{className:o+"-dropdown-link clear",onClick:this.handleClearFilters},n.filterReset)));return h.default.createElement(M.default,{trigger:["click"],overlay:d,visible:!this.neverShown&&this.state.visible,onVisibleChange:this.onVisibleChange,getPopupContainer:i},this.renderFilterIcon())}}]),t}(h.default.Component);t.default=P,P.defaultProps={handleFilter:function(){},column:{}},e.exports=t.default},"./node_modules/antd/lib/table/index.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/antd/lib/table/Table.js"),a=function(e){return e&&e.__esModule?e:{default:e}}(o);t.default=a.default,e.exports=t.default},"./node_modules/antd/lib/table/util.js":function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"children",n=[];return function e(o){o.forEach(function(o){if(o[t]){var a=(0,c.default)({},o);delete a[t],n.push(a),o[t].length>0&&e(o[t])}else n.push(o)})}(e),n}function r(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"children";return e.map(function(e,o){var a={};return e[n]&&(a[n]=r(e[n],t,n)),(0,c.default)({},t(e,o),a)})}function i(e,t){return e.reduce(function(e,n){if(t(n)&&e.push(n),n.children){var o=i(n.children,t);e.push.apply(e,(0,d.default)(o))}return e},[])}function s(e){var t=[];return m.default.Children.forEach(e,function(e){if(m.default.isValidElement(e)){var n=(0,c.default)({},e.props);e.key&&(n.key=e.key),e.type&&e.type.__ANT_TABLE_COLUMN_GROUP&&(n.children=s(n.children)),t.push(n)}}),t}Object.defineProperty(t,"__esModule",{value:!0});var l=n("./node_modules/babel-runtime/helpers/toConsumableArray.js"),d=o(l),u=n("./node_modules/babel-runtime/helpers/extends.js"),c=o(u);t.flatArray=a,t.treeMap=r,t.flatFilter=i,t.normalizeColumns=s;var p=n("./node_modules/react/react.js"),m=o(p)},"./node_modules/antd/lib/time-picker/index.js":function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function a(e){return{showHour:e.indexOf("H")>-1||e.indexOf("h")>-1||e.indexOf("k")>-1,showMinute:e.indexOf("m")>-1,showSecond:e.indexOf("s")>-1}}Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/babel-runtime/helpers/defineProperty.js"),i=o(r),s=n("./node_modules/babel-runtime/helpers/extends.js"),l=o(s),d=n("./node_modules/babel-runtime/helpers/classCallCheck.js"),u=o(d),c=n("./node_modules/babel-runtime/helpers/createClass.js"),p=o(c),m=n("./node_modules/babel-runtime/helpers/possibleConstructorReturn.js"),f=o(m),h=n("./node_modules/babel-runtime/helpers/inherits.js"),g=o(h);t.generateShowHourMinuteSecond=a;var b=n("./node_modules/react/react.js"),_=o(b),v=n("./node_modules/moment/src/moment.js"),y=o(v),x=n("./node_modules/rc-time-picker/lib/TimePicker.js"),j=o(x),w=n("./node_modules/classnames/index.js"),k=o(w),M=n("./node_modules/antd/lib/locale-provider/injectLocale.js"),S=o(M),T=n("./node_modules/antd/lib/time-picker/locale/zh_CN.js"),E=o(T),C=function(e){function t(e){(0,u.default)(this,t);var n=(0,f.default)(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));n.handleChange=function(e){"value"in n.props||n.setState({value:e});var t=n.props,o=t.onChange,a=t.format,r=void 0===a?"HH:mm:ss":a;o&&o(e,e&&e.format(r)||"")},n.handleOpenClose=function(e){var t=e.open,o=n.props.onOpenChange;o&&o(t)},n.saveTimePicker=function(e){n.timePickerRef=e};var o=e.value||e.defaultValue;if(o&&!y.default.isMoment(o))throw new Error("The value/defaultValue of TimePicker must be a moment object after `antd@2.0`, see: https://u.ant.design/time-picker-value");return n.state={value:o},n}return(0,g.default)(t,e),(0,p.default)(t,[{key:"componentWillReceiveProps",value:function(e){"value"in e&&this.setState({value:e.value})}},{key:"focus",value:function(){this.timePickerRef.focus()}},{key:"getDefaultFormat",value:function(){var e=this.props,t=e.format,n=e.use12Hours;return t||(n?"h:mm:ss a":"HH:mm:ss")}},{key:"render",value:function(){var e=(0,l.default)({},this.props);delete e.defaultValue;var t=this.getDefaultFormat(),n=(0,k.default)(e.className,(0,i.default)({},e.prefixCls+"-"+e.size,!!e.size)),o=function(t){return e.addon?_.default.createElement("div",{className:e.prefixCls+"-panel-addon"},e.addon(t)):null};return _.default.createElement(j.default,(0,l.default)({},a(t),e,{ref:this.saveTimePicker,format:t,className:n,value:this.state.value,placeholder:void 0===e.placeholder?this.getLocale().placeholder:e.placeholder,onChange:this.handleChange,onOpen:this.handleOpenClose,onClose:this.handleOpenClose,addon:o}))}}]),t}(_.default.Component);C.defaultProps={prefixCls:"ant-time-picker",align:{offset:[0,-2]},disabled:!1,disabledHours:void 0,disabledMinutes:void 0,disabledSeconds:void 0,hideDisabledOptions:!1,placement:"bottomLeft",transitionName:"slide-up"};var O=(0,S.default)("TimePicker",E.default);t.default=O(C)},"./node_modules/antd/lib/time-picker/locale/zh_CN.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o={placeholder:"请选择时间"};t.default=o,e.exports=t.default},"./node_modules/antd/lib/tooltip/index.js":function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n("./node_modules/babel-runtime/helpers/defineProperty.js"),r=o(a),i=n("./node_modules/babel-runtime/helpers/classCallCheck.js"),s=o(i),l=n("./node_modules/babel-runtime/helpers/createClass.js"),d=o(l),u=n("./node_modules/babel-runtime/helpers/possibleConstructorReturn.js"),c=o(u),p=n("./node_modules/babel-runtime/helpers/inherits.js"),m=o(p),f=n("./node_modules/babel-runtime/helpers/extends.js"),h=o(f),g=n("./node_modules/react/react.js"),b=o(g),_=n("./node_modules/rc-tooltip/lib/index.js"),v=o(_),y=n("./node_modules/classnames/index.js"),x=o(y),j=n("./node_modules/antd/lib/tooltip/placements.js"),w=o(j),k=function(e,t){var n={},o=(0,h.default)({},e);return t.forEach(function(t){e&&t in e&&(n[t]=e[t],delete o[t])}),{picked:n,omited:o}},M=function(e){function t(e){(0,s.default)(this,t);var n=(0,c.default)(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.onVisibleChange=function(e){var t=n.props.onVisibleChange;"visible"in n.props||n.setState({visible:!n.isNoTitle()&&e}),t&&!n.isNoTitle()&&t(e)},n.onPopupAlign=function(e,t){var o=n.getPlacements(),a=Object.keys(o).filter(function(e){return o[e].points[0]===t.points[0]&&o[e].points[1]===t.points[1]})[0];if(a){var r=e.getBoundingClientRect(),i={top:"50%",left:"50%"};a.indexOf("top")>=0||a.indexOf("Bottom")>=0?i.top=r.height-t.offset[1]+"px":(a.indexOf("Top")>=0||a.indexOf("bottom")>=0)&&(i.top=-t.offset[1]+"px"),a.indexOf("left")>=0||a.indexOf("Right")>=0?i.left=r.width-t.offset[0]+"px":(a.indexOf("right")>=0||a.indexOf("Left")>=0)&&(i.left=-t.offset[0]+"px"),e.style.transformOrigin=i.left+" "+i.top}},n.state={visible:!!e.visible||!!e.defaultVisible},n}return(0,m.default)(t,e),(0,d.default)(t,[{key:"componentWillReceiveProps",value:function(e){"visible"in e&&this.setState({visible:e.visible})}},{key:"getPopupDomNode",value:function(){return this.refs.tooltip.getPopupDomNode()}},{key:"getPlacements",value:function(){var e=this.props,t=e.builtinPlacements,n=e.arrowPointAtCenter,o=e.autoAdjustOverflow;return t||(0,w.default)({arrowPointAtCenter:n,verticalArrowShift:8,autoAdjustOverflow:o})}},{key:"isHoverTrigger",value:function(){var e=this.props.trigger;return!e||"hover"===e||!!Array.isArray(e)&&e.indexOf("hover")>=0}},{key:"getDisabledCompatibleChildren",value:function(e){if((e.type.__ANT_BUTTON||"button"===e.type)&&e.props.disabled&&this.isHoverTrigger()){var t=k(e.props.style,["position","left","right","top","bottom","float","display","zIndex"]),n=t.picked,o=t.omited,a=(0,h.default)({display:"inline-block"},n,{cursor:"not-allowed"}),r=(0,h.default)({},o,{pointerEvents:"none"}),i=(0,g.cloneElement)(e,{style:r,className:null});return b.default.createElement("span",{style:a,className:e.props.className},i)}return e}},{key:"isNoTitle",value:function(){var e=this.props,t=e.title,n=e.overlay;return!t&&!n}},{key:"render",value:function(){var e=this.props,t=this.state,n=e.prefixCls,o=e.title,a=e.overlay,i=e.openClassName,s=e.getPopupContainer,l=e.getTooltipContainer,d=e.children,u=t.visible;"visible"in e||!this.isNoTitle()||(u=!1);var c=this.getDisabledCompatibleChildren(b.default.isValidElement(d)?d:b.default.createElement("span",null,d)),p=c.props,m=(0,x.default)(p.className,(0,r.default)({},i||n+"-open",!0));return b.default.createElement(v.default,(0,h.default)({},this.props,{getTooltipContainer:s||l,ref:"tooltip",builtinPlacements:this.getPlacements(),overlay:a||o||"",visible:u,onVisibleChange:this.onVisibleChange,onPopupAlign:this.onPopupAlign}),u?(0,g.cloneElement)(c,{className:m}):c)}}]),t}(b.default.Component);t.default=M,M.defaultProps={prefixCls:"ant-tooltip",placement:"top",transitionName:"zoom-big-fast",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0},e.exports=t.default},"./node_modules/antd/lib/tooltip/placements.js":function(e,t,n){"use strict";function o(e){return"boolean"==typeof e?e?l:d:(0,i.default)({},d,e)}function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.arrowWidth,n=void 0===t?5:t,a=e.horizontalArrowShift,r=void 0===a?16:a,l=e.verticalArrowShift,d=void 0===l?12:l,c=e.autoAdjustOverflow,p=void 0===c||c,m={left:{points:["cr","cl"],offset:[-4,0]},right:{points:["cl","cr"],offset:[4,0]},top:{points:["bc","tc"],offset:[0,-4]},bottom:{points:["tc","bc"],offset:[0,4]},topLeft:{points:["bl","tc"],offset:[-(r+n),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(d+n)]},topRight:{points:["br","tc"],offset:[r+n,-4]},rightTop:{points:["tl","cr"],offset:[4,-(d+n)]},bottomRight:{points:["tr","bc"],offset:[r+n,4]},rightBottom:{points:["bl","cr"],offset:[4,d+n]},bottomLeft:{points:["tl","bc"],offset:[-(r+n),4]},leftBottom:{points:["br","cl"],offset:[-4,d+n]}};return Object.keys(m).forEach(function(t){m[t]=e.arrowPointAtCenter?(0,i.default)({},m[t],{overflow:o(p),targetOffset:u}):(0,i.default)({},s.placements[t],{overflow:o(p)})}),m}Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/babel-runtime/helpers/extends.js"),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.getOverflowOptions=o,t.default=a;var s=n("./node_modules/rc-tooltip/lib/placements.js"),l={adjustX:1,adjustY:1},d={adjustX:0,adjustY:0},u=[0,0]},"./node_modules/async-validator/lib/index.js":function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function a(e){this.rules=null,this._messages=p.messages,this.define(e)}Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/babel-runtime/helpers/extends.js"),i=o(r),s=n("./node_modules/babel-runtime/helpers/typeof.js"),l=o(s),d=n("./node_modules/async-validator/lib/util.js"),u=n("./node_modules/async-validator/lib/validator/index.js"),c=o(u),p=n("./node_modules/async-validator/lib/messages.js");a.prototype={messages:function(e){return e&&(this._messages=(0,d.deepMerge)((0,p.newMessages)(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!==(void 0===e?"undefined":(0,l.default)(e))||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var t=void 0,n=void 0;for(t in e)e.hasOwnProperty(t)&&(n=e[t],this.rules[t]=Array.isArray(n)?n:[n])},validate:function(e){function t(e){var t=void 0,n=void 0,o=[],a={};for(t=0;t1&&void 0!==arguments[1]?arguments[1]:{},r=arguments[2],s=e,u=o,c=r;if("function"==typeof u&&(c=u,u={}),!this.rules||0===Object.keys(this.rules).length)return void(c&&c());if(u.messages){var m=this.messages();m===p.messages&&(m=(0,p.newMessages)()),(0,d.deepMerge)(m,u.messages),u.messages=m}else u.messages=this.messages();var f=void 0,h=void 0,g={};(u.keys||Object.keys(this.rules)).forEach(function(t){f=n.rules[t],h=s[t],f.forEach(function(o){var a=o;"function"==typeof a.transform&&(s===e&&(s=(0,i.default)({},s)),h=s[t]=a.transform(h)),a="function"==typeof a?{validator:a}:(0,i.default)({},a),a.validator=n.getValidationMethod(a),a.field=t,a.fullField=a.fullField||t,a.type=n.getType(a),a.validator&&(g[t]=g[t]||[],g[t].push({rule:a,value:h,source:s,field:t}))})});var b={};(0,d.asyncMap)(g,u,function(e,t){function n(e,t){return(0,i.default)({},t,{fullField:r.fullField+"."+e})}function o(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],l=o;if(Array.isArray(l)||(l=[l]),l.length&&(0,d.warning)("async-validator:",l),l.length&&r.message&&(l=[].concat(r.message)),l=l.map((0,d.complementError)(r)),u.first&&l.length)return b[r.field]=1,t(l);if(s){if(r.required&&!e.value)return l=r.message?[].concat(r.message).map((0,d.complementError)(r)):u.error?[u.error(r,(0,d.format)(u.messages.required,r.field))]:[],t(l);var c={};if(r.defaultField)for(var p in e.value)e.value.hasOwnProperty(p)&&(c[p]=r.defaultField);c=(0,i.default)({},c,e.rule.fields);for(var m in c)if(c.hasOwnProperty(m)){var f=Array.isArray(c[m])?c[m]:[c[m]];c[m]=f.map(n.bind(null,m))}var h=new a(c);h.messages(u.messages),e.rule.options&&(e.rule.options.messages=u.messages,e.rule.options.error=u.error),h.validate(e.value,e.rule.options||u,function(e){t(e&&e.length?l.concat(e):e)})}else t(l)}var r=e.rule,s=!("object"!==r.type&&"array"!==r.type||"object"!==(0,l.default)(r.fields)&&"object"!==(0,l.default)(r.defaultField));s=s&&(r.required||!r.required&&e.value),r.field=e.field;var c=r.validator(r,e.value,o,e.source,u);c&&c.then&&c.then(function(){return o()},function(e){return o(e)})},function(e){t(e)})},getType:function(e){if(void 0===e.type&&e.pattern instanceof RegExp&&(e.type="pattern"),"function"!=typeof e.validator&&e.type&&!c.default.hasOwnProperty(e.type))throw new Error((0,d.format)("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if("function"==typeof e.validator)return e.validator;var t=Object.keys(e),n=t.indexOf("message");return-1!==n&&t.splice(n,1),1===t.length&&"required"===t[0]?c.default.required:c.default[this.getType(e)]||!1}},a.register=function(e,t){if("function"!=typeof t)throw new Error("Cannot register a validator by type, validator is not a function");c.default[e]=t},a.messages=p.messages,t.default=a,e.exports=t.default},"./node_modules/async-validator/lib/messages.js":function(e,t,n){"use strict";function o(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}Object.defineProperty(t,"__esModule",{value:!0}),t.newMessages=o;t.messages=o()},"./node_modules/async-validator/lib/rule/enum.js":function(e,t,n){"use strict";function o(e,t,n,o,a){e[i]=Array.isArray(e[i])?e[i]:[],-1===e[i].indexOf(t)&&o.push(r.format(a.messages[i],e.fullField,e[i].join(", ")))}Object.defineProperty(t,"__esModule",{value:!0});var a=n("./node_modules/async-validator/lib/util.js"),r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(a),i="enum";t.default=o,e.exports=t.default},"./node_modules/async-validator/lib/rule/index.js":function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n("./node_modules/async-validator/lib/rule/required.js"),r=o(a),i=n("./node_modules/async-validator/lib/rule/whitespace.js"),s=o(i),l=n("./node_modules/async-validator/lib/rule/type.js"),d=o(l),u=n("./node_modules/async-validator/lib/rule/range.js"),c=o(u),p=n("./node_modules/async-validator/lib/rule/enum.js"),m=o(p),f=n("./node_modules/async-validator/lib/rule/pattern.js"),h=o(f);t.default={required:r.default,whitespace:s.default,type:d.default,range:c.default,enum:m.default,pattern:h.default},e.exports=t.default},"./node_modules/async-validator/lib/rule/pattern.js":function(e,t,n){"use strict";function o(e,t,n,o,a){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||o.push(r.format(a.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"==typeof e.pattern){var i=new RegExp(e.pattern);i.test(t)||o.push(r.format(a.messages.pattern.mismatch,e.fullField,t,e.pattern))}}Object.defineProperty(t,"__esModule",{value:!0});var a=n("./node_modules/async-validator/lib/util.js"),r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(a);t.default=o,e.exports=t.default},"./node_modules/async-validator/lib/rule/range.js":function(e,t,n){"use strict";function o(e,t,n,o,a){var i="number"==typeof e.len,s="number"==typeof e.min,l="number"==typeof e.max,d=t,u=null,c="number"==typeof t,p="string"==typeof t,m=Array.isArray(t);if(c?u="number":p?u="string":m&&(u="array"),!u)return!1;(p||m)&&(d=t.length),i?d!==e.len&&o.push(r.format(a.messages[u].len,e.fullField,e.len)):s&&!l&&de.max?o.push(r.format(a.messages[u].max,e.fullField,e.max)):s&&l&&(de.max)&&o.push(r.format(a.messages[u].range,e.fullField,e.min,e.max))}Object.defineProperty(t,"__esModule",{value:!0});var a=n("./node_modules/async-validator/lib/util.js"),r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(a);t.default=o,e.exports=t.default},"./node_modules/async-validator/lib/rule/required.js":function(e,t,n){"use strict";function o(e,t,n,o,a,i){!e.required||n.hasOwnProperty(e.field)&&!r.isEmptyValue(t,i||e.type)||o.push(r.format(a.messages.required,e.fullField))}Object.defineProperty(t,"__esModule",{value:!0});var a=n("./node_modules/async-validator/lib/util.js"),r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(a);t.default=o,e.exports=t.default},"./node_modules/async-validator/lib/rule/type.js":function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t,n,o,a){if(e.required&&void 0===t)return void(0,u.default)(e,t,n,o,a);var r=["integer","float","array","regexp","object","method","email","number","date","url","hex"],s=e.type;r.indexOf(s)>-1?p[s](t)||o.push(l.format(a.messages.types[s],e.fullField,e.type)):s&&(void 0===t?"undefined":(0,i.default)(t))!==e.type&&o.push(l.format(a.messages.types[s],e.fullField,e.type))}Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/babel-runtime/helpers/typeof.js"),i=o(r),s=n("./node_modules/async-validator/lib/util.js"),l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(s),d=n("./node_modules/async-validator/lib/rule/required.js"),u=o(d),c={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},p={integer:function(e){return p.number(e)&&parseInt(e,10)===e},float:function(e){return p.number(e)&&!p.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(e){return!1}},date:function(e){return"function"==typeof e.getTime&&"function"==typeof e.getMonth&&"function"==typeof e.getYear},number:function(e){return!isNaN(e)&&"number"==typeof e},object:function(e){return"object"===(void 0===e?"undefined":(0,i.default)(e))&&!p.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&!!e.match(c.email)&&e.length<255},url:function(e){return"string"==typeof e&&!!e.match(c.url)},hex:function(e){return"string"==typeof e&&!!e.match(c.hex)}};t.default=a,e.exports=t.default},"./node_modules/async-validator/lib/rule/whitespace.js":function(e,t,n){"use strict";function o(e,t,n,o,a){(/^\s+$/.test(t)||""===t)&&o.push(r.format(a.messages.whitespace,e.fullField))}Object.defineProperty(t,"__esModule",{value:!0});var a=n("./node_modules/async-validator/lib/util.js"),r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(a);t.default=o,e.exports=t.default},"./node_modules/async-validator/lib/util.js":function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function a(){for(var e=arguments.length,t=Array(e),n=0;n=r)return e;switch(e){case"%s":return String(t[o++]);case"%d":return Number(t[o++]);case"%j":try{return JSON.stringify(t[o++])}catch(e){return"[Circular]"}break;default:return e}}),s=t[o];o=200&&e<300}};s.headers={common:{Accept:"application/json, text/plain, */*"}},a.forEach(["delete","get","head"],function(e){s.headers[e]={}}),a.forEach(["post","put","patch"],function(e){s.headers[e]=a.merge(i)}),e.exports=s}).call(t,n("./node_modules/process/browser.js"))},"./node_modules/axios/lib/helpers/bind.js":function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),o=0;o>8-s%1*8)){if((n=a.charCodeAt(s+=.75))>255)throw new o;t=t<<8|n}return i}var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";o.prototype=new Error,o.prototype.code=5,o.prototype.name="InvalidCharacterError",e.exports=a},"./node_modules/axios/lib/helpers/buildURL.js":function(e,t,n){"use strict";function o(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var a=n("./node_modules/axios/lib/utils.js");e.exports=function(e,t,n){if(!t)return e;var r;if(n)r=n(t);else if(a.isURLSearchParams(t))r=t.toString();else{var i=[];a.forEach(t,function(e,t){null!==e&&void 0!==e&&(a.isArray(e)&&(t+="[]"),a.isArray(e)||(e=[e]),a.forEach(e,function(e){a.isDate(e)?e=e.toISOString():a.isObject(e)&&(e=JSON.stringify(e)),i.push(o(t)+"="+o(e))}))}),r=i.join("&")}return r&&(e+=(-1===e.indexOf("?")?"?":"&")+r),e}},"./node_modules/axios/lib/helpers/combineURLs.js":function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},"./node_modules/axios/lib/helpers/cookies.js":function(e,t,n){"use strict";var o=n("./node_modules/axios/lib/utils.js");e.exports=o.isStandardBrowserEnv()?function(){return{write:function(e,t,n,a,r,i){var s=[];s.push(e+"="+encodeURIComponent(t)),o.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),o.isString(a)&&s.push("path="+a),o.isString(r)&&s.push("domain="+r),!0===i&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},"./node_modules/axios/lib/helpers/isAbsoluteURL.js":function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},"./node_modules/axios/lib/helpers/isURLSameOrigin.js":function(e,t,n){"use strict";var o=n("./node_modules/axios/lib/utils.js");e.exports=o.isStandardBrowserEnv()?function(){function e(e){var t=e;return n&&(a.setAttribute("href",t),t=a.href),a.setAttribute("href",t),{href:a.href,protocol:a.protocol?a.protocol.replace(/:$/,""):"",host:a.host,search:a.search?a.search.replace(/^\?/,""):"",hash:a.hash?a.hash.replace(/^#/,""):"",hostname:a.hostname,port:a.port,pathname:"/"===a.pathname.charAt(0)?a.pathname:"/"+a.pathname}}var t,n=/(msie|trident)/i.test(navigator.userAgent),a=document.createElement("a");return t=e(window.location.href),function(n){var a=o.isString(n)?e(n):n;return a.protocol===t.protocol&&a.host===t.host}}():function(){return function(){return!0}}()},"./node_modules/axios/lib/helpers/normalizeHeaderName.js":function(e,t,n){"use strict";var o=n("./node_modules/axios/lib/utils.js");e.exports=function(e,t){o.forEach(e,function(n,o){o!==t&&o.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[o])})}},"./node_modules/axios/lib/helpers/parseHeaders.js":function(e,t,n){"use strict";var o=n("./node_modules/axios/lib/utils.js"),a=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,r,i={};return e?(o.forEach(e.split("\n"),function(e){if(r=e.indexOf(":"),t=o.trim(e.substr(0,r)).toLowerCase(),n=o.trim(e.substr(r+1)),t){if(i[t]&&a.indexOf(t)>=0)return;i[t]="set-cookie"===t?(i[t]?i[t]:[]).concat([n]):i[t]?i[t]+", "+n:n}}),i):i}},"./node_modules/axios/lib/helpers/spread.js":function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},"./node_modules/axios/lib/utils.js":function(e,t,n){"use strict";function o(e){return"[object Array]"===k.call(e)}function a(e){return"[object ArrayBuffer]"===k.call(e)}function r(e){return"undefined"!=typeof FormData&&e instanceof FormData}function i(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer}function s(e){return"string"==typeof e}function l(e){return"number"==typeof e}function d(e){return void 0===e}function u(e){return null!==e&&"object"==typeof e}function c(e){return"[object Date]"===k.call(e)}function p(e){return"[object File]"===k.call(e)}function m(e){return"[object Blob]"===k.call(e)}function f(e){return"[object Function]"===k.call(e)}function h(e){return u(e)&&f(e.pipe)}function g(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams}function b(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}function _(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)}function v(e,t){if(null!==e&&void 0!==e)if("object"!=typeof e&&(e=[e]),o(e))for(var n=0,a=e.length;n=0;--o){var a=this.tryEntries[o],r=a.completion;if("root"===a.tryLoc)return t("end");if(a.tryLoc<=this.prev){var i=_.call(a,"catchLoc"),s=_.call(a,"finallyLoc");if(i&&s){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&_.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),p(n),C}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var o=n.completion;if("throw"===o.type){var a=o.arg;p(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:f(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=g),C}}}("object"==typeof t?t:"object"==typeof window?window:"object"==typeof self?self:this)}).call(t,n("./node_modules/webpack/buildin/global.js"))},"./node_modules/babel-runtime/core-js/array/from.js":function(e,t,n){e.exports={default:n("./node_modules/core-js/library/fn/array/from.js"),__esModule:!0}},"./node_modules/babel-runtime/core-js/get-iterator.js":function(e,t,n){e.exports={default:n("./node_modules/core-js/library/fn/get-iterator.js"),__esModule:!0}},"./node_modules/babel-runtime/core-js/is-iterable.js":function(e,t,n){e.exports={default:n("./node_modules/core-js/library/fn/is-iterable.js"),__esModule:!0}},"./node_modules/babel-runtime/core-js/object/assign.js":function(e,t,n){e.exports={default:n("./node_modules/core-js/library/fn/object/assign.js"),__esModule:!0}},"./node_modules/babel-runtime/core-js/object/create.js":function(e,t,n){e.exports={default:n("./node_modules/core-js/library/fn/object/create.js"),__esModule:!0}},"./node_modules/babel-runtime/core-js/object/define-property.js":function(e,t,n){e.exports={default:n("./node_modules/core-js/library/fn/object/define-property.js"),__esModule:!0}},"./node_modules/babel-runtime/core-js/object/set-prototype-of.js":function(e,t,n){e.exports={default:n("./node_modules/core-js/library/fn/object/set-prototype-of.js"),__esModule:!0}},"./node_modules/babel-runtime/core-js/symbol.js":function(e,t,n){e.exports={default:n("./node_modules/core-js/library/fn/symbol/index.js"),__esModule:!0}},"./node_modules/babel-runtime/core-js/symbol/iterator.js":function(e,t,n){e.exports={default:n("./node_modules/core-js/library/fn/symbol/iterator.js"),__esModule:!0}},"./node_modules/babel-runtime/helpers/classCallCheck.js":function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},"./node_modules/babel-runtime/helpers/createClass.js":function(e,t,n){"use strict";t.__esModule=!0;var o=n("./node_modules/babel-runtime/core-js/object/define-property.js"),a=function(e){return e&&e.__esModule?e:{default:e}}(o);t.default=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}},"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js":function(e,t,n){"use strict";t.__esModule=!0;var o=n("./node_modules/babel-runtime/helpers/typeof.js"),a=function(e){return e&&e.__esModule?e:{default:e}}(o);t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":(0,a.default)(t))&&"function"!=typeof t?e:t}},"./node_modules/babel-runtime/helpers/slicedToArray.js":function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var a=n("./node_modules/babel-runtime/core-js/is-iterable.js"),r=o(a),i=n("./node_modules/babel-runtime/core-js/get-iterator.js"),s=o(i);t.default=function(){function e(e,t){var n=[],o=!0,a=!1,r=void 0;try{for(var i,l=(0,s.default)(e);!(o=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);o=!0);}catch(e){a=!0,r=e}finally{try{!o&&l.return&&l.return()}finally{if(a)throw r}}return n}return function(t,n){if(Array.isArray(t))return t;if((0,r.default)(Object(t)))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},"./node_modules/babel-runtime/helpers/toConsumableArray.js":function(e,t,n){"use strict";t.__esModule=!0;var o=n("./node_modules/babel-runtime/core-js/array/from.js"),a=function(e){return e&&e.__esModule?e:{default:e}}(o);t.default=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t]/g)||[]).length<=0)return!0;return e(n).length>0}catch(e){return!1}},_process_options:function(t){this._o=e.extend({},this._o,t);var a=this.o=e.extend({},this._o),r=a.language;g[r]||(r=r.split("-")[0],g[r]||(r=f.language)),a.language=r,a.startView=this._resolveViewName(a.startView),a.minViewMode=this._resolveViewName(a.minViewMode),a.maxViewMode=this._resolveViewName(a.maxViewMode),a.startView=Math.max(this.o.minViewMode,Math.min(this.o.maxViewMode,a.startView)),!0!==a.multidate&&(a.multidate=Number(a.multidate)||!1,!1!==a.multidate&&(a.multidate=Math.max(0,a.multidate))),a.multidateSeparator=String(a.multidateSeparator),a.weekStart%=7,a.weekEnd=(a.weekStart+6)%7;var i=b.parseFormat(a.format);a.startDate!==-1/0&&(a.startDate?a.startDate instanceof Date?a.startDate=this._local_to_utc(this._zero_time(a.startDate)):a.startDate=b.parseDate(a.startDate,i,a.language,a.assumeNearbyYear):a.startDate=-1/0),a.endDate!==1/0&&(a.endDate?a.endDate instanceof Date?a.endDate=this._local_to_utc(this._zero_time(a.endDate)):a.endDate=b.parseDate(a.endDate,i,a.language,a.assumeNearbyYear):a.endDate=1/0),a.daysOfWeekDisabled=this._resolveDaysOfWeek(a.daysOfWeekDisabled||[]),a.daysOfWeekHighlighted=this._resolveDaysOfWeek(a.daysOfWeekHighlighted||[]),a.datesDisabled=a.datesDisabled||[],e.isArray(a.datesDisabled)||(a.datesDisabled=a.datesDisabled.split(",")),a.datesDisabled=e.map(a.datesDisabled,function(e){return b.parseDate(e,i,a.language,a.assumeNearbyYear)});var s=String(a.orientation).toLowerCase().split(/\s+/g),l=a.orientation.toLowerCase();if(s=e.grep(s,function(e){return/^auto|left|right|top|bottom$/.test(e)}),a.orientation={x:"auto",y:"auto"},l&&"auto"!==l)if(1===s.length)switch(s[0]){case"top":case"bottom":a.orientation.y=s[0];break;case"left":case"right":a.orientation.x=s[0]}else l=e.grep(s,function(e){return/^left|right$/.test(e)}),a.orientation.x=l[0]||"auto",l=e.grep(s,function(e){return/^top|bottom$/.test(e)}),a.orientation.y=l[0]||"auto";else;if(a.defaultViewDate instanceof Date||"string"==typeof a.defaultViewDate)a.defaultViewDate=b.parseDate(a.defaultViewDate,i,a.language,a.assumeNearbyYear);else if(a.defaultViewDate){var d=a.defaultViewDate.year||(new Date).getFullYear(),u=a.defaultViewDate.month||0,c=a.defaultViewDate.day||1;a.defaultViewDate=n(d,u,c)}else a.defaultViewDate=o()},_events:[],_secondaryEvents:[],_applyEvents:function(e){for(var n,o,a,r=0;ra?(this.picker.addClass("datepicker-orient-right"),p+=c-t):this.o.rtl?this.picker.addClass("datepicker-orient-right"):this.picker.addClass("datepicker-orient-left");var f,h=this.o.orientation.y;if("auto"===h&&(f=-r+m-n,h=f<0?"bottom":"top"),this.picker.addClass("datepicker-orient-"+h),"top"===h?m-=n+parseInt(this.picker.css("padding-top")):m+=u,this.o.rtl){var g=a-(p+c);this.picker.css({top:m,right:g,zIndex:l})}else this.picker.css({top:m,left:p,zIndex:l});return this},_allow_update:!0,update:function(){if(!this._allow_update)return this;var t=this.dates.copy(),n=[],o=!1;return arguments.length?(e.each(arguments,e.proxy(function(e,t){t instanceof Date&&(t=this._local_to_utc(t)),n.push(t)},this)),o=!0):(n=this.isInput?this.element.val():this.element.data("date")||this.inputField.val(),n=n&&this.o.multidate?n.split(this.o.multidateSeparator):[n],delete this.element.data().date),n=e.map(n,e.proxy(function(e){return b.parseDate(e,this.o.format,this.o.language,this.o.assumeNearbyYear)},this)),n=e.grep(n,e.proxy(function(e){return!this.dateWithinRange(e)||!e},this),!0),this.dates.replace(n),this.o.updateViewDate&&(this.dates.length?this.viewDate=new Date(this.dates.get(-1)):this.viewDatethis.o.endDate?this.viewDate=new Date(this.o.endDate):this.viewDate=this.o.defaultViewDate),o?(this.setValue(),this.element.change()):this.dates.length&&String(t)!==String(this.dates)&&o&&(this._trigger("changeDate"),this.element.change()),!this.dates.length&&t.length&&(this._trigger("clearDate"),this.element.change()),this.fill(),this},fillDow:function(){if(this.o.showWeekDays){var t=this.o.weekStart,n="";for(this.o.calendarWeeks&&(n+=' ');t";n+="",this.picker.find(".datepicker-days thead").append(n)}},fillMonths:function(){for(var e,t=this._utc_to_local(this.viewDate),n="",o=0;o<12;o++)e=t&&t.getMonth()===o?" focused":"",n+=''+g[this.o.language].monthsShort[o]+"";this.picker.find(".datepicker-months td").html(n)},setRange:function(t){t&&t.length?this.range=e.map(t,function(e){return e.valueOf()}):delete this.range,this.fill()},getClassNames:function(t){var n=[],r=this.viewDate.getUTCFullYear(),i=this.viewDate.getUTCMonth(),s=o();return t.getUTCFullYear()r||t.getUTCFullYear()===r&&t.getUTCMonth()>i)&&n.push("new"),this.focusDate&&t.valueOf()===this.focusDate.valueOf()&&n.push("focused"),this.o.todayHighlight&&a(t,s)&&n.push("today"),-1!==this.dates.contains(t)&&n.push("active"),this.dateWithinRange(t)||n.push("disabled"),this.dateIsDisabled(t)&&n.push("disabled","disabled-date"),-1!==e.inArray(t.getUTCDay(),this.o.daysOfWeekHighlighted)&&n.push("highlighted"),this.range&&(t>this.range[0]&&ts)&&d.push("disabled"),v===b&&d.push("focused"),l!==e.noop&&(c=l(new Date(v,0,1)),c===t?c={}:"boolean"==typeof c?c={enabled:c}:"string"==typeof c&&(c={classes:c}),!1===c.enabled&&d.push("disabled"),c.classes&&(d=d.concat(c.classes.split(/\s+/))),c.tooltip&&(u=c.tooltip)),p+='"+v+"";f.find(".datepicker-switch").text(h+"-"+g),f.find("td").html(p)},fill:function(){var o,a,r=new Date(this.viewDate),i=r.getUTCFullYear(),s=r.getUTCMonth(),l=this.o.startDate!==-1/0?this.o.startDate.getUTCFullYear():-1/0,d=this.o.startDate!==-1/0?this.o.startDate.getUTCMonth():-1/0,u=this.o.endDate!==1/0?this.o.endDate.getUTCFullYear():1/0,c=this.o.endDate!==1/0?this.o.endDate.getUTCMonth():1/0,p=g[this.o.language].today||g.en.today||"",m=g[this.o.language].clear||g.en.clear||"",f=g[this.o.language].titleFormat||g.en.titleFormat;if(!isNaN(i)&&!isNaN(s)){this.picker.find(".datepicker-days .datepicker-switch").text(b.formatDate(r,f,this.o.language)),this.picker.find("tfoot .today").text(p).css("display",!0===this.o.todayBtn||"linked"===this.o.todayBtn?"table-cell":"none"),this.picker.find("tfoot .clear").text(m).css("display",!0===this.o.clearBtn?"table-cell":"none"),this.picker.find("thead .datepicker-title").text(this.o.title).css("display","string"==typeof this.o.title&&""!==this.o.title?"table-cell":"none"),this.updateNavArrows(),this.fillMonths();var h=n(i,s,0),_=h.getUTCDate();h.setUTCDate(_-(h.getUTCDay()-this.o.weekStart+7)%7);var v=new Date(h);h.getUTCFullYear()<100&&v.setUTCFullYear(h.getUTCFullYear()),v.setUTCDate(v.getUTCDate()+42),v=v.valueOf();for(var y,x,j=[];h.valueOf()"),this.o.calendarWeeks)){var w=new Date(+h+(this.o.weekStart-y-7)%7*864e5),k=new Date(Number(w)+(11-w.getUTCDay())%7*864e5),M=new Date(Number(M=n(k.getUTCFullYear(),0,1))+(11-M.getUTCDay())%7*864e5),S=(k-M)/864e5/7+1;j.push(''+S+"")}x=this.getClassNames(h),x.push("day");var T=h.getUTCDate();this.o.beforeShowDay!==e.noop&&(a=this.o.beforeShowDay(this._utc_to_local(h)),a===t?a={}:"boolean"==typeof a?a={enabled:a}:"string"==typeof a&&(a={classes:a}),!1===a.enabled&&x.push("disabled"),a.classes&&(x=x.concat(a.classes.split(/\s+/))),a.tooltip&&(o=a.tooltip),a.content&&(T=a.content)),x=e.isFunction(e.uniqueSort)?e.uniqueSort(x):e.unique(x),j.push(''+T+""),o=null,y===this.o.weekEnd&&j.push(""),h.setUTCDate(h.getUTCDate()+1)}this.picker.find(".datepicker-days tbody").html(j.join(""));var E=g[this.o.language].monthsTitle||g.en.monthsTitle||"Months",C=this.picker.find(".datepicker-months").find(".datepicker-switch").text(this.o.maxViewMode<2?E:i).end().find("tbody span").removeClass("active");if(e.each(this.dates,function(e,t){t.getUTCFullYear()===i&&C.eq(t.getUTCMonth()).addClass("active")}),(iu)&&C.addClass("disabled"),i===l&&C.slice(0,d).addClass("disabled"),i===u&&C.slice(c+1).addClass("disabled"),this.o.beforeShowMonth!==e.noop){var O=this;e.each(C,function(n,o){var a=new Date(i,n,1),r=O.o.beforeShowMonth(a);r===t?r={}:"boolean"==typeof r?r={enabled:r}:"string"==typeof r&&(r={classes:r}),!1!==r.enabled||e(o).hasClass("disabled")||e(o).addClass("disabled"),r.classes&&e(o).addClass(r.classes),r.tooltip&&e(o).prop("title",r.tooltip)})}this._fill_yearsView(".datepicker-years","year",10,i,l,u,this.o.beforeShowYear),this._fill_yearsView(".datepicker-decades","decade",100,i,l,u,this.o.beforeShowDecade),this._fill_yearsView(".datepicker-centuries","century",1e3,i,l,u,this.o.beforeShowCentury)}},updateNavArrows:function(){if(this._allow_update){var e,t,n=new Date(this.viewDate),o=n.getUTCFullYear(),a=n.getUTCMonth(),r=this.o.startDate!==-1/0?this.o.startDate.getUTCFullYear():-1/0,i=this.o.startDate!==-1/0?this.o.startDate.getUTCMonth():-1/0,s=this.o.endDate!==1/0?this.o.endDate.getUTCFullYear():1/0,l=this.o.endDate!==1/0?this.o.endDate.getUTCMonth():1/0,d=1;switch(this.viewMode){case 4:d*=10;case 3:d*=10;case 2:d*=10;case 1:e=Math.floor(o/d)*ds;break;case 0:e=o<=r&&a=s&&a>l}this.picker.find(".prev").toggleClass("disabled",e),this.picker.find(".next").toggleClass("disabled",t)}},click:function(t){t.preventDefault(),t.stopPropagation();var a,r,i,s;a=e(t.target),a.hasClass("datepicker-switch")&&this.viewMode!==this.o.maxViewMode&&this.setViewMode(this.viewMode+1),a.hasClass("today")&&!a.hasClass("day")&&(this.setViewMode(0),this._setDate(o(),"linked"===this.o.todayBtn?null:"view")),a.hasClass("clear")&&this.clearDates(),a.hasClass("disabled")||(a.hasClass("month")||a.hasClass("year")||a.hasClass("decade")||a.hasClass("century"))&&(this.viewDate.setUTCDate(1),r=1,1===this.viewMode?(s=a.parent().find("span").index(a),i=this.viewDate.getUTCFullYear(),this.viewDate.setUTCMonth(s)):(s=0,i=Number(a.text()),this.viewDate.setUTCFullYear(i)),this._trigger(b.viewModes[this.viewMode-1].e,this.viewDate),this.viewMode===this.o.minViewMode?this._setDate(n(i,s,r)):(this.setViewMode(this.viewMode-1),this.fill())),this.picker.is(":visible")&&this._focused_from&&this._focused_from.focus(),delete this._focused_from},dayCellClick:function(t){var n=e(t.currentTarget),o=n.data("date"),a=new Date(o);this.o.updateViewDate&&(a.getUTCFullYear()!==this.viewDate.getUTCFullYear()&&this._trigger("changeYear",this.viewDate),a.getUTCMonth()!==this.viewDate.getUTCMonth()&&this._trigger("changeMonth",this.viewDate)),this._setDate(a)},navArrowsClick:function(t){var n=e(t.currentTarget),o=n.hasClass("prev")?-1:1;0!==this.viewMode&&(o*=12*b.viewModes[this.viewMode].navStep),this.viewDate=this.moveMonth(this.viewDate,o),this._trigger(b.viewModes[this.viewMode].e,this.viewDate),this.fill()},_toggle_multidate:function(e){var t=this.dates.contains(e);if(e||this.dates.clear(),-1!==t?(!0===this.o.multidate||this.o.multidate>1||this.o.toggleActive)&&this.dates.remove(t):!1===this.o.multidate?(this.dates.clear(),this.dates.push(e)):this.dates.push(e),"number"==typeof this.o.multidate)for(;this.dates.length>this.o.multidate;)this.dates.remove(0)},_setDate:function(e,t){t&&"date"!==t||this._toggle_multidate(e&&new Date(e)),(!t&&this.o.updateViewDate||"view"===t)&&(this.viewDate=e&&new Date(e)),this.fill(),this.setValue(),t&&"view"===t||this._trigger("changeDate"),this.inputField.trigger("change"),!this.o.autoclose||t&&"date"!==t||this.hide()},moveDay:function(e,t){var n=new Date(e);return n.setUTCDate(e.getUTCDate()+t),n},moveWeek:function(e,t){return this.moveDay(e,7*t)},moveMonth:function(e,t){if(!i(e))return this.o.defaultViewDate;if(!t)return e;var n,o,a=new Date(e.valueOf()),r=a.getUTCDate(),s=a.getUTCMonth(),l=Math.abs(t);if(t=t>0?1:-1,1===l)o=-1===t?function(){return a.getUTCMonth()===s}:function(){return a.getUTCMonth()!==n},n=s+t,a.setUTCMonth(n),n=(n+12)%12;else{for(var d=0;d0},dateWithinRange:function(e){return e>=this.o.startDate&&e<=this.o.endDate},keydown:function(e){if(!this.picker.is(":visible"))return void(40!==e.keyCode&&27!==e.keyCode||(this.show(),e.stopPropagation()));var t,n,o=!1,a=this.focusDate||this.viewDate;switch(e.keyCode){case 27:this.focusDate?(this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill()):this.hide(),e.preventDefault(),e.stopPropagation();break;case 37:case 38:case 39:case 40:if(!this.o.keyboardNavigation||7===this.o.daysOfWeekDisabled.length)break;t=37===e.keyCode||38===e.keyCode?-1:1,0===this.viewMode?e.ctrlKey?(n=this.moveAvailableDate(a,t,"moveYear"))&&this._trigger("changeYear",this.viewDate):e.shiftKey?(n=this.moveAvailableDate(a,t,"moveMonth"))&&this._trigger("changeMonth",this.viewDate):37===e.keyCode||39===e.keyCode?n=this.moveAvailableDate(a,t,"moveDay"):this.weekOfDateIsDisabled(a)||(n=this.moveAvailableDate(a,t,"moveWeek")):1===this.viewMode?(38!==e.keyCode&&40!==e.keyCode||(t*=4),n=this.moveAvailableDate(a,t,"moveMonth")):2===this.viewMode&&(38!==e.keyCode&&40!==e.keyCode||(t*=4),n=this.moveAvailableDate(a,t,"moveYear")),n&&(this.focusDate=this.viewDate=n,this.setValue(),this.fill(),e.preventDefault());break;case 13:if(!this.o.forceParse)break;a=this.focusDate||this.dates.get(-1)||this.viewDate,this.o.keyboardNavigation&&(this._toggle_multidate(a),o=!0),this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.setValue(),this.fill(),this.picker.is(":visible")&&(e.preventDefault(),e.stopPropagation(),this.o.autoclose&&this.hide());break;case 9:this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill(),this.hide()}o&&(this.dates.length?this._trigger("changeDate"):this._trigger("clearDate"),this.inputField.trigger("change"))},setViewMode:function(e){this.viewMode=e,this.picker.children("div").hide().filter(".datepicker-"+b.viewModes[this.viewMode].clsName).show(),this.updateNavArrows(),this._trigger("changeViewMode",new Date(this.viewDate))}};var c=function(t,n){e.data(t,"datepicker",this),this.element=e(t),this.inputs=e.map(n.inputs,function(e){return e.jquery?e[0]:e}),delete n.inputs,this.keepEmptyValues=n.keepEmptyValues,delete n.keepEmptyValues,m.call(e(this.inputs),n).on("changeDate",e.proxy(this.dateUpdated,this)),this.pickers=e.map(this.inputs,function(t){return e.data(t,"datepicker")}),this.updateDates()};c.prototype={updateDates:function(){this.dates=e.map(this.pickers,function(e){return e.getUTCDate()}),this.updateRanges()},updateRanges:function(){var t=e.map(this.dates,function(e){return e.valueOf()});e.each(this.pickers,function(e,n){n.setRange(t)})},clearDates:function(){e.each(this.pickers,function(e,t){t.clearDates()})},dateUpdated:function(n){if(!this.updating){this.updating=!0;var o=e.data(n.target,"datepicker");if(o!==t){var a=o.getUTCDate(),r=this.keepEmptyValues,i=e.inArray(n.target,this.inputs),s=i-1,l=i+1,d=this.inputs.length;if(-1!==i){if(e.each(this.pickers,function(e,t){t.getUTCDate()||t!==o&&r||t.setUTCDate(a)}),a=0&&athis.dates[l])for(;lthis.dates[l];)this.pickers[l++].setUTCDate(a);this.updateDates(),delete this.updating}}}},destroy:function(){e.map(this.pickers,function(e){e.destroy()}),e(this.inputs).off("changeDate",this.dateUpdated),delete this.element.data().datepicker},remove:r("destroy","Method `remove` is deprecated and will be removed in version 2.0. Use `destroy` instead")};var p=e.fn.datepicker,m=function(n){var o=Array.apply(null,arguments);o.shift();var a;if(this.each(function(){var t=e(this),r=t.data("datepicker"),i="object"==typeof n&&n;if(!r){var d=s(this,"date"),p=e.extend({},f,d,i),m=l(p.language),h=e.extend({},f,m,d,i);t.hasClass("input-daterange")||h.inputs?(e.extend(h,{inputs:h.inputs||t.find("input").toArray()}),r=new c(this,h)):r=new u(this,h),t.data("datepicker",r)}"string"==typeof n&&"function"==typeof r[n]&&(a=r[n].apply(r,o))}),a===t||a instanceof u||a instanceof c)return this;if(this.length>1)throw new Error("Using only allowed for the collection of a single element ("+n+" function)");return a};e.fn.datepicker=m;var f=e.fn.datepicker.defaults={assumeNearbyYear:!1,autoclose:!1,beforeShowDay:e.noop,beforeShowMonth:e.noop,beforeShowYear:e.noop,beforeShowDecade:e.noop,beforeShowCentury:e.noop,calendarWeeks:!1,clearBtn:!1,toggleActive:!1,daysOfWeekDisabled:[],daysOfWeekHighlighted:[],datesDisabled:[],endDate:1/0,forceParse:!0,format:"mm/dd/yyyy",keepEmptyValues:!1,keyboardNavigation:!0,language:"en",minViewMode:0,maxViewMode:4,multidate:!1,multidateSeparator:",",orientation:"auto",rtl:!1,startDate:-1/0,startView:0,todayBtn:!1,todayHighlight:!1,updateViewDate:!0,weekStart:0,disableTouchKeyboard:!1,enableOnReadonly:!0,showOnFocus:!0,zIndexOffset:10,container:"body",immediateUpdates:!1,title:"",templates:{leftArrow:"«",rightArrow:"»"},showWeekDays:!0},h=e.fn.datepicker.locale_opts=["format","rtl","weekStart"];e.fn.datepicker.Constructor=u;var g=e.fn.datepicker.dates={en:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",clear:"Clear",titleFormat:"MM yyyy"}},b={viewModes:[{names:["days","month"],clsName:"days",e:"changeMonth"},{names:["months","year"],clsName:"months",e:"changeYear",navStep:1},{names:["years","decade"],clsName:"years",e:"changeDecade",navStep:10},{names:["decades","century"],clsName:"decades",e:"changeCentury",navStep:100},{names:["centuries","millennium"],clsName:"centuries",e:"changeMillennium",navStep:1e3}],validParts:/dd?|DD?|mm?|MM?|yy(?:yy)?/g,nonpunctuation:/[^ -\/:-@\u5e74\u6708\u65e5\[-`{-~\t\n\r]+/g,parseFormat:function(e){if("function"==typeof e.toValue&&"function"==typeof e.toDisplay)return e;var t=e.replace(this.validParts,"\0").split("\0"),n=e.match(this.validParts);if(!t||!t.length||!n||0===n.length)throw new Error("Invalid date format.");return{separators:t,parts:n}},parseDate:function(n,a,r,i){function s(e,t){return!0===t&&(t=10),e<100&&(e+=2e3)>(new Date).getFullYear()+t&&(e-=100),e}function l(){var e=this.slice(0,d[m].length),t=d[m].slice(0,e.length);return e.toLowerCase()===t.toLowerCase()}if(!n)return t;if(n instanceof Date)return n;if("string"==typeof a&&(a=b.parseFormat(a)),a.toValue)return a.toValue(n,a,r);var d,c,p,m,f,h={d:"moveDay",m:"moveMonth",w:"moveWeek",y:"moveYear"},_={yesterday:"-1d",today:"+0d",tomorrow:"+1d"};if(n in _&&(n=_[n]),/^[\-+]\d+[dmwy]([\s,]+[\-+]\d+[dmwy])*$/i.test(n)){for(d=n.match(/([\-+]\d+)([dmwy])/gi),n=new Date,m=0;m'+f.templates.leftArrow+''+f.templates.rightArrow+"",contTemplate:'',footTemplate:''};b.template='
'+b.headTemplate+""+b.footTemplate+'
'+b.headTemplate+b.contTemplate+b.footTemplate+'
'+b.headTemplate+b.contTemplate+b.footTemplate+'
'+b.headTemplate+b.contTemplate+b.footTemplate+'
'+b.headTemplate+b.contTemplate+b.footTemplate+"
",e.fn.datepicker.DPGlobal=b,e.fn.datepicker.noConflict=function(){return e.fn.datepicker=p,this},e.fn.datepicker.version="1.8.0",e.fn.datepicker.deprecated=function(e){var t=window.console;t&&t.warn&&t.warn("DEPRECATED: "+e)},e(document).on("focus.datepicker.data-api click.datepicker.data-api",'[data-provide="datepicker"]',function(t){var n=e(this);n.data("datepicker")||(t.preventDefault(),m.call(n,"show"))}),e(function(){m.call(e('[data-provide="datepicker-inline"]'))})})},"./node_modules/classnames/index.js":function(e,t,n){var o,a;/*! - Copyright (c) 2016 Jed Watson. - Licensed under the MIT License (MIT), see - http://jedwatson.github.io/classnames -*/ -!function(){"use strict";function n(){for(var e=[],t=0;tu;)if((s=l[u++])!=s)return!0}else for(;d>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}}},"./node_modules/core-js/library/modules/_classof.js":function(e,t,n){var o=n("./node_modules/core-js/library/modules/_cof.js"),a=n("./node_modules/core-js/library/modules/_wks.js")("toStringTag"),r="Arguments"==o(function(){return arguments}()),i=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=i(t=Object(e),a))?n:r?o(t):"Object"==(s=o(t))&&"function"==typeof t.callee?"Arguments":s}},"./node_modules/core-js/library/modules/_cof.js":function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},"./node_modules/core-js/library/modules/_core.js":function(e,t){var n=e.exports={version:"2.5.5"};"number"==typeof __e&&(__e=n)},"./node_modules/core-js/library/modules/_create-property.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/library/modules/_object-dp.js"),a=n("./node_modules/core-js/library/modules/_property-desc.js");e.exports=function(e,t,n){t in e?o.f(e,t,a(0,n)):e[t]=n}},"./node_modules/core-js/library/modules/_ctx.js":function(e,t,n){var o=n("./node_modules/core-js/library/modules/_a-function.js");e.exports=function(e,t,n){if(o(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,o){return e.call(t,n,o)};case 3:return function(n,o,a){return e.call(t,n,o,a)}}return function(){return e.apply(t,arguments)}}},"./node_modules/core-js/library/modules/_defined.js":function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},"./node_modules/core-js/library/modules/_descriptors.js":function(e,t,n){e.exports=!n("./node_modules/core-js/library/modules/_fails.js")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},"./node_modules/core-js/library/modules/_dom-create.js":function(e,t,n){var o=n("./node_modules/core-js/library/modules/_is-object.js"),a=n("./node_modules/core-js/library/modules/_global.js").document,r=o(a)&&o(a.createElement);e.exports=function(e){return r?a.createElement(e):{}}},"./node_modules/core-js/library/modules/_enum-bug-keys.js":function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},"./node_modules/core-js/library/modules/_enum-keys.js":function(e,t,n){var o=n("./node_modules/core-js/library/modules/_object-keys.js"),a=n("./node_modules/core-js/library/modules/_object-gops.js"),r=n("./node_modules/core-js/library/modules/_object-pie.js");e.exports=function(e){var t=o(e),n=a.f;if(n)for(var i,s=n(e),l=r.f,d=0;s.length>d;)l.call(e,i=s[d++])&&t.push(i);return t}},"./node_modules/core-js/library/modules/_export.js":function(e,t,n){var o=n("./node_modules/core-js/library/modules/_global.js"),a=n("./node_modules/core-js/library/modules/_core.js"),r=n("./node_modules/core-js/library/modules/_ctx.js"),i=n("./node_modules/core-js/library/modules/_hide.js"),s=n("./node_modules/core-js/library/modules/_has.js"),l=function(e,t,n){var d,u,c,p=e&l.F,m=e&l.G,f=e&l.S,h=e&l.P,g=e&l.B,b=e&l.W,_=m?a:a[t]||(a[t]={}),v=_.prototype,y=m?o:f?o[t]:(o[t]||{}).prototype;m&&(n=t);for(d in n)(u=!p&&y&&void 0!==y[d])&&s(_,d)||(c=u?y[d]:n[d],_[d]=m&&"function"!=typeof y[d]?n[d]:g&&u?r(c,o):b&&y[d]==c?function(e){var t=function(t,n,o){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,o)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(c):h&&"function"==typeof c?r(Function.call,c):c,h&&((_.virtual||(_.virtual={}))[d]=c,e&l.R&&v&&!v[d]&&i(v,d,c)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},"./node_modules/core-js/library/modules/_fails.js":function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},"./node_modules/core-js/library/modules/_global.js":function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"./node_modules/core-js/library/modules/_has.js":function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},"./node_modules/core-js/library/modules/_hide.js":function(e,t,n){var o=n("./node_modules/core-js/library/modules/_object-dp.js"),a=n("./node_modules/core-js/library/modules/_property-desc.js");e.exports=n("./node_modules/core-js/library/modules/_descriptors.js")?function(e,t,n){return o.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},"./node_modules/core-js/library/modules/_html.js":function(e,t,n){var o=n("./node_modules/core-js/library/modules/_global.js").document;e.exports=o&&o.documentElement},"./node_modules/core-js/library/modules/_ie8-dom-define.js":function(e,t,n){e.exports=!n("./node_modules/core-js/library/modules/_descriptors.js")&&!n("./node_modules/core-js/library/modules/_fails.js")(function(){return 7!=Object.defineProperty(n("./node_modules/core-js/library/modules/_dom-create.js")("div"),"a",{get:function(){return 7}}).a})},"./node_modules/core-js/library/modules/_iobject.js":function(e,t,n){var o=n("./node_modules/core-js/library/modules/_cof.js");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==o(e)?e.split(""):Object(e)}},"./node_modules/core-js/library/modules/_is-array-iter.js":function(e,t,n){var o=n("./node_modules/core-js/library/modules/_iterators.js"),a=n("./node_modules/core-js/library/modules/_wks.js")("iterator"),r=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||r[a]===e)}},"./node_modules/core-js/library/modules/_is-array.js":function(e,t,n){var o=n("./node_modules/core-js/library/modules/_cof.js");e.exports=Array.isArray||function(e){return"Array"==o(e)}},"./node_modules/core-js/library/modules/_is-object.js":function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},"./node_modules/core-js/library/modules/_iter-call.js":function(e,t,n){var o=n("./node_modules/core-js/library/modules/_an-object.js");e.exports=function(e,t,n,a){try{return a?t(o(n)[0],n[1]):t(n)}catch(t){var r=e.return;throw void 0!==r&&o(r.call(e)),t}}},"./node_modules/core-js/library/modules/_iter-create.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/library/modules/_object-create.js"),a=n("./node_modules/core-js/library/modules/_property-desc.js"),r=n("./node_modules/core-js/library/modules/_set-to-string-tag.js"),i={};n("./node_modules/core-js/library/modules/_hide.js")(i,n("./node_modules/core-js/library/modules/_wks.js")("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=o(i,{next:a(1,n)}),r(e,t+" Iterator")}},"./node_modules/core-js/library/modules/_iter-define.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/library/modules/_library.js"),a=n("./node_modules/core-js/library/modules/_export.js"),r=n("./node_modules/core-js/library/modules/_redefine.js"),i=n("./node_modules/core-js/library/modules/_hide.js"),s=n("./node_modules/core-js/library/modules/_iterators.js"),l=n("./node_modules/core-js/library/modules/_iter-create.js"),d=n("./node_modules/core-js/library/modules/_set-to-string-tag.js"),u=n("./node_modules/core-js/library/modules/_object-gpo.js"),c=n("./node_modules/core-js/library/modules/_wks.js")("iterator"),p=!([].keys&&"next"in[].keys()),m=function(){return this};e.exports=function(e,t,n,f,h,g,b){l(n,t,f);var _,v,y,x=function(e){if(!p&&e in M)return M[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},j=t+" Iterator",w="values"==h,k=!1,M=e.prototype,S=M[c]||M["@@iterator"]||h&&M[h],T=S||x(h),E=h?w?x("entries"):T:void 0,C="Array"==t?M.entries||S:S;if(C&&(y=u(C.call(new e)))!==Object.prototype&&y.next&&(d(y,j,!0),o||"function"==typeof y[c]||i(y,c,m)),w&&S&&"values"!==S.name&&(k=!0,T=function(){return S.call(this)}),o&&!b||!p&&!k&&M[c]||i(M,c,T),s[t]=T,s[j]=m,h)if(_={values:w?T:x("values"),keys:g?T:x("keys"),entries:E},b)for(v in _)v in M||r(M,v,_[v]);else a(a.P+a.F*(p||k),t,_);return _}},"./node_modules/core-js/library/modules/_iter-detect.js":function(e,t,n){var o=n("./node_modules/core-js/library/modules/_wks.js")("iterator"),a=!1;try{var r=[7][o]();r.return=function(){a=!0},Array.from(r,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!a)return!1;var n=!1;try{var r=[7],i=r[o]();i.next=function(){return{done:n=!0}},r[o]=function(){return i},e(r)}catch(e){}return n}},"./node_modules/core-js/library/modules/_iter-step.js":function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},"./node_modules/core-js/library/modules/_iterators.js":function(e,t){e.exports={}},"./node_modules/core-js/library/modules/_library.js":function(e,t){e.exports=!0},"./node_modules/core-js/library/modules/_meta.js":function(e,t,n){var o=n("./node_modules/core-js/library/modules/_uid.js")("meta"),a=n("./node_modules/core-js/library/modules/_is-object.js"),r=n("./node_modules/core-js/library/modules/_has.js"),i=n("./node_modules/core-js/library/modules/_object-dp.js").f,s=0,l=Object.isExtensible||function(){return!0},d=!n("./node_modules/core-js/library/modules/_fails.js")(function(){return l(Object.preventExtensions({}))}),u=function(e){i(e,o,{value:{i:"O"+ ++s,w:{}}})},c=function(e,t){if(!a(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!r(e,o)){if(!l(e))return"F";if(!t)return"E";u(e)}return e[o].i},p=function(e,t){if(!r(e,o)){if(!l(e))return!0;if(!t)return!1;u(e)}return e[o].w},m=function(e){return d&&f.NEED&&l(e)&&!r(e,o)&&u(e),e},f=e.exports={KEY:o,NEED:!1,fastKey:c,getWeak:p,onFreeze:m}},"./node_modules/core-js/library/modules/_object-assign.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/library/modules/_object-keys.js"),a=n("./node_modules/core-js/library/modules/_object-gops.js"),r=n("./node_modules/core-js/library/modules/_object-pie.js"),i=n("./node_modules/core-js/library/modules/_to-object.js"),s=n("./node_modules/core-js/library/modules/_iobject.js"),l=Object.assign;e.exports=!l||n("./node_modules/core-js/library/modules/_fails.js")(function(){var e={},t={},n=Symbol(),o="abcdefghijklmnopqrst";return e[n]=7,o.split("").forEach(function(e){t[e]=e}),7!=l({},e)[n]||Object.keys(l({},t)).join("")!=o})?function(e,t){for(var n=i(e),l=arguments.length,d=1,u=a.f,c=r.f;l>d;)for(var p,m=s(arguments[d++]),f=u?o(m).concat(u(m)):o(m),h=f.length,g=0;h>g;)c.call(m,p=f[g++])&&(n[p]=m[p]);return n}:l},"./node_modules/core-js/library/modules/_object-create.js":function(e,t,n){var o=n("./node_modules/core-js/library/modules/_an-object.js"),a=n("./node_modules/core-js/library/modules/_object-dps.js"),r=n("./node_modules/core-js/library/modules/_enum-bug-keys.js"),i=n("./node_modules/core-js/library/modules/_shared-key.js")("IE_PROTO"),s=function(){},l=function(){var e,t=n("./node_modules/core-js/library/modules/_dom-create.js")("iframe"),o=r.length;for(t.style.display="none",n("./node_modules/core-js/library/modules/_html.js").appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(" \ No newline at end of file +Davinci
\ No newline at end of file diff --git a/server/pom.xml b/server/pom.xml index 16f09c342..5b76c1dab 100644 --- a/server/pom.xml +++ b/server/pom.xml @@ -43,6 +43,10 @@ spring-boot-starter-data-redis + + org.springframework.boot + spring-boot-starter-data-ldap + org.springframework @@ -113,7 +117,7 @@ com.alibaba druid - 1.0.18 + 1.1.11 com.alibaba @@ -183,6 +187,13 @@ ${elasticsearch.version} + + org.elasticsearch.client + x-pack-transport + ${elasticsearch.version} + provided + + org.apache.commons commons-csv @@ -208,6 +219,51 @@ 2.3.0 + + net.jpountz.lz4 + lz4 + 1.3.0 + + + + commons-lang + commons-lang + 2.6 + + + + + org.apache.curator + curator-framework + 2.12.0 + + + org.jboss.netty + netty + + + org.slf4j + slf4j-log4j12 + + + + + + org.apache.curator + curator-test + 2.12.0 + + + org.jboss.netty + netty + + + org.slf4j + slf4j-log4j12 + + + + diff --git a/server/src/main/java/edp/DavinciServerApplication.java b/server/src/main/java/edp/DavinciServerApplication.java index 4c49dad85..6e6e05b15 100644 --- a/server/src/main/java/edp/DavinciServerApplication.java +++ b/server/src/main/java/edp/DavinciServerApplication.java @@ -19,9 +19,11 @@ package edp; import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication +@EnableAutoConfiguration(exclude = {org.springframework.boot.autoconfigure.gson.GsonAutoConfiguration.class}) public class DavinciServerApplication { public static void main(String[] args) { @@ -29,3 +31,4 @@ public static void main(String[] args) { } } + diff --git a/server/src/main/java/edp/core/common/cache/Caches.java b/server/src/main/java/edp/core/common/cache/Caches.java index 0d95899b2..3f23bbfca 100644 --- a/server/src/main/java/edp/core/common/cache/Caches.java +++ b/server/src/main/java/edp/core/common/cache/Caches.java @@ -20,7 +20,7 @@ public enum Caches { datasource, - query(10, 100) + query(10, 10000) ; private int maxSize = 1000; //默认最大缓存数量 diff --git a/server/src/main/java/edp/core/common/jdbc/ESDataSource.java b/server/src/main/java/edp/core/common/jdbc/ESDataSource.java index bccda51d1..492120ddf 100644 --- a/server/src/main/java/edp/core/common/jdbc/ESDataSource.java +++ b/server/src/main/java/edp/core/common/jdbc/ESDataSource.java @@ -41,19 +41,18 @@ private ESDataSource() { private static volatile Map map = new HashMap<>(); public static synchronized DataSource getDataSource(String jdbcUrl) throws SourceException { - String url = jdbcUrl.toLowerCase(); - if (!map.containsKey(url) || null == map.get(url)) { + if (!map.containsKey(jdbcUrl.trim()) || null == map.get(jdbcUrl.trim())) { Properties properties = new Properties(); - properties.setProperty(PROP_URL, url); + properties.setProperty(PROP_URL, jdbcUrl.trim()); properties.put(PROP_CONNECTIONPROPERTIES, "client.transport.ignore_cluster_name=true"); try { dataSource = ElasticSearchDruidDataSourceFactory.createDataSource(properties); - map.put(url, dataSource); + map.put(jdbcUrl.trim(), dataSource); } catch (Exception e) { log.error("Exception during pool initialization, ", e); - throw new SourceException("Exception during pool initialization: jdbcUrl=" + jdbcUrl); + throw new SourceException(e.getMessage()); } } - return map.get(url); + return map.get(jdbcUrl.trim()); } } diff --git a/server/src/main/java/edp/core/common/jdbc/JdbcDataSource.java b/server/src/main/java/edp/core/common/jdbc/JdbcDataSource.java index f67062de1..c06187a3a 100644 --- a/server/src/main/java/edp/core/common/jdbc/JdbcDataSource.java +++ b/server/src/main/java/edp/core/common/jdbc/JdbcDataSource.java @@ -76,12 +76,11 @@ public class JdbcDataSource extends DruidDataSource { private static volatile Map map = new HashMap<>(); public synchronized DruidDataSource getDataSource(String jdbcUrl, String username, String password) throws SourceException { - String url = jdbcUrl.toLowerCase(); - if (!map.containsKey(username + "@" + url) || null == map.get(username + "@" + url)) { + if (!map.containsKey(username + "@" + jdbcUrl.trim()) || null == map.get(username + "@" + jdbcUrl.trim())) { DruidDataSource instance = new JdbcDataSource(); String className = null; try { - className = DriverManager.getDriver(url).getClass().getName(); + className = DriverManager.getDriver(jdbcUrl.trim()).getClass().getName(); } catch (SQLException e) { } @@ -106,9 +105,9 @@ public synchronized DruidDataSource getDataSource(String jdbcUrl, String usernam instance.setDriverClassName(className); } - instance.setUrl(url); - instance.setUsername(url.indexOf(DataTypeEnum.ELASTICSEARCH.getFeature()) > -1 ? null : username); - instance.setPassword((url.indexOf(DataTypeEnum.PRESTO.getFeature()) > -1 || url.indexOf(DataTypeEnum.ELASTICSEARCH.getFeature()) > -1) ? + instance.setUrl(jdbcUrl.trim()); + instance.setUsername(jdbcUrl.toLowerCase().indexOf(DataTypeEnum.ELASTICSEARCH.getFeature()) > -1 ? null : username); + instance.setPassword((jdbcUrl.toLowerCase().indexOf(DataTypeEnum.PRESTO.getFeature()) > -1 || jdbcUrl.toLowerCase().indexOf(DataTypeEnum.ELASTICSEARCH.getFeature()) > -1) ? null : password); instance.setInitialSize(initialSize); instance.setMinIdle(minIdle); @@ -116,7 +115,7 @@ public synchronized DruidDataSource getDataSource(String jdbcUrl, String usernam instance.setMaxWait(maxWait); instance.setTimeBetweenEvictionRunsMillis(timeBetweenEvictionRunsMillis); instance.setMinEvictableIdleTimeMillis(minEvictableIdleTimeMillis); - instance.setTestWhileIdle(testWhileIdle); + instance.setTestWhileIdle(false); instance.setTestOnBorrow(testOnBorrow); instance.setTestOnReturn(testOnReturn); instance.setConnectionErrorRetryAttempts(connectionErrorRetryAttempts); @@ -124,13 +123,13 @@ public synchronized DruidDataSource getDataSource(String jdbcUrl, String usernam try { instance.init(); - } catch (SQLException e) { + } catch (Exception e) { log.error("Exception during pool initialization", e); - throw new SourceException("Exception during pool initialization"); + throw new SourceException(e.getMessage()); } - map.put(username + "@" + url, instance); + map.put(username + "@" + jdbcUrl.trim(), instance); } - return map.get(username + "@" + url); + return map.get(username + "@" + jdbcUrl.trim()); } } diff --git a/server/src/main/java/edp/core/config/CaffeineCacheConfig.java b/server/src/main/java/edp/core/config/CaffeineCacheConfig.java index 8b4f63e60..1b148834b 100644 --- a/server/src/main/java/edp/core/config/CaffeineCacheConfig.java +++ b/server/src/main/java/edp/core/config/CaffeineCacheConfig.java @@ -20,13 +20,16 @@ import com.github.benmanes.caffeine.cache.Caffeine; import edp.core.common.cache.Caches; +import edp.core.utils.MD5Util; import org.springframework.cache.CacheManager; import org.springframework.cache.annotation.EnableCaching; import org.springframework.cache.caffeine.CaffeineCache; +import org.springframework.cache.interceptor.KeyGenerator; import org.springframework.cache.support.SimpleCacheManager; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; +import java.lang.reflect.Method; import java.util.ArrayList; import java.util.List; import java.util.concurrent.TimeUnit; @@ -50,4 +53,21 @@ public CacheManager cacheManager() { manager.setCaches(cacheList); return manager; } + + + @Bean(name = "keyGenerator") + public KeyGenerator keyGenerator() { + return new KeyGenerator() { + @Override + public Object generate(Object o, Method method, Object... params) { + StringBuilder sb = new StringBuilder(); + sb.append(o.getClass().getName()); + sb.append(method.getName()); + for (Object obj : params) { + sb.append(obj.toString()); + } + return MD5Util.getMD5(sb.toString(), false, 32); + } + }; + } } diff --git a/server/src/main/java/edp/core/enums/DataTypeEnum.java b/server/src/main/java/edp/core/enums/DataTypeEnum.java index 8727a3a41..18c4c7f76 100644 --- a/server/src/main/java/edp/core/enums/DataTypeEnum.java +++ b/server/src/main/java/edp/core/enums/DataTypeEnum.java @@ -30,13 +30,13 @@ public enum DataTypeEnum { SQLSERVER("sqlserver", "sqlserver", "com.microsoft.sqlserver.jdbc.SQLServerDriver", "\"", "\"", "\"", "\""), - H2("h2", "h2", "org.h2.Driver", "`", "`", "'", "'"), + H2("h2", "h2", "org.h2.Driver", "`", "`", "\"", "\""), PHOENIX("phoenix", "hbase phoenix", "org.apache.phoenix.jdbc.PhoenixDriver", "", "", "\"", "\""), - MONGODB("mongodb", "mongodb", "mongodb.jdbc.MongoDriver", "", "", "'", "'"), + MONGODB("mongo", "mongodb", "mongodb.jdbc.MongoDriver", "`", "`", "\"", "\""), - ELASTICSEARCH("elasticsearch", "elasticsearch", "nl.anchormen.sql4es.jdbc.ESDriver", "", "", "'", "'"), + ELASTICSEARCH("sql4es", "elasticsearch", "nl.anchormen.sql4es.jdbc.ESDriver", "", "", "'", "'"), PRESTO("presto", "presto", "com.facebook.presto.jdbc.PrestoDriver", "", "", "'", "'"), @@ -44,9 +44,9 @@ public enum DataTypeEnum { CASSANDRA("cassandra", "cassandra", "com.github.adejanovski.cassandra.jdbc.CassandraDriver", "", "", "'", "'"), - CLICKHOUSE("clickhouse", "clickhouse", "ru.yandex.clickhouse.ClickHouseDriver", "", "", "'", "'"), + CLICKHOUSE("clickhouse", "clickhouse", "ru.yandex.clickhouse.ClickHouseDriver", "", "", "\"", "\""), - KYLIN("kylin", "kylin", "org.apache.kylin.jdbc.Driver", "", "", "'", "'"), + KYLIN("kylin", "kylin", "org.apache.kylin.jdbc.Driver", "\"", "\"", "\"", "\""), VERTICA("vertica", "vertica", "com.vertica.jdbc.Driver", "", "", "'", "'"), diff --git a/server/src/main/java/edp/core/model/Paginate.java b/server/src/main/java/edp/core/model/Paginate.java new file mode 100644 index 000000000..5c1221b54 --- /dev/null +++ b/server/src/main/java/edp/core/model/Paginate.java @@ -0,0 +1,34 @@ +/* + * << + * Davinci + * == + * Copyright (C) 2016 - 2018 EDP + * == + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * >> + * + */ + +package edp.core.model; + +import lombok.Data; + +import java.util.ArrayList; +import java.util.List; + +@Data +public class Paginate { + + private int pageNo = -1; + private int pageSize = -1; + private long totalCount = -1; + private List resultList = new ArrayList<>(); +} diff --git a/server/src/main/java/edp/core/utils/CustomDataSourceUtils.java b/server/src/main/java/edp/core/utils/CustomDataSourceUtils.java index 304700a67..22b7b63b1 100644 --- a/server/src/main/java/edp/core/utils/CustomDataSourceUtils.java +++ b/server/src/main/java/edp/core/utils/CustomDataSourceUtils.java @@ -41,7 +41,7 @@ public class CustomDataSourceUtils { public static CustomDataSource getInstance(String url) { String dataSourceName = getDataSourceName(url); - if (map.containsKey(dataSourceName) && null == map.get(dataSourceName)) { + if (map.containsKey(dataSourceName) && null != map.get(dataSourceName)) { CustomDataSource customDataSource = map.get(dataSourceName); if (null != customDataSource) { return customDataSource; @@ -122,7 +122,7 @@ public static void loadAllFromYaml(String yamlPath) throws Exception { } if (!StringUtils.isEmpty(customDataSource.getAlias_prefix()) || !StringUtils.isEmpty(customDataSource.getAlias_suffix())) { - if (StringUtils.isEmpty(customDataSource.getKeyword_prefix()) || StringUtils.isEmpty(customDataSource.getKeyword_suffix())) { + if (StringUtils.isEmpty(customDataSource.getAlias_prefix()) || StringUtils.isEmpty(customDataSource.getAlias_suffix())) { throw new Exception("Load custom datasource error: alias prefixes and suffixes must be configured in pairs."); } } diff --git a/server/src/main/java/edp/core/utils/FileUtils.java b/server/src/main/java/edp/core/utils/FileUtils.java index b4df0f1e5..9f888b4c2 100644 --- a/server/src/main/java/edp/core/utils/FileUtils.java +++ b/server/src/main/java/edp/core/utils/FileUtils.java @@ -69,7 +69,7 @@ public boolean isImage(File file) { * @return */ public boolean isCsv(MultipartFile file) { - return file.getOriginalFilename().endsWith(".csv"); + return file.getOriginalFilename().toLowerCase().endsWith(".csv"); } /** @@ -87,7 +87,7 @@ public String upload(MultipartFile file, String path, String fileName) throws IO String format = originalFilename.substring(originalFilename.lastIndexOf(".") + 1); String newFilename = fileName + "." + format; - String returnPath = (path.endsWith(File.separator) ? path : path + File.separator) + newFilename; + String returnPath = (path.endsWith("/") ? path : path + "/") + newFilename; String filePath = fileBasePath + returnPath; diff --git a/server/src/main/java/edp/core/utils/QuartzUtils.java b/server/src/main/java/edp/core/utils/QuartzUtils.java index 33eadbb73..a8ca4f139 100644 --- a/server/src/main/java/edp/core/utils/QuartzUtils.java +++ b/server/src/main/java/edp/core/utils/QuartzUtils.java @@ -34,12 +34,22 @@ public class QuartzUtils { private SchedulerFactoryBean schedulerFactoryBean; public void addJob(ScheduleJob scheduleJob) throws ServerException { + + if (null == scheduleJob) { + throw new ServerException("empty job"); + } + + if (System.currentTimeMillis() < scheduleJob.getStartDate().getTime() + || System.currentTimeMillis() > scheduleJob.getEndDate().getTime()) { + throw new ServerException("Current time is not within the planned execution time!"); + } + Scheduler scheduler = schedulerFactoryBean.getScheduler(); try { TriggerKey triggerKey = TriggerKey.triggerKey(scheduleJob.getId().toString()); CronTrigger trigger = (CronTrigger) scheduler.getTrigger(triggerKey); if (null != trigger) { - throw new ServerException("job already exists!"); + throw new ServerException("job already started!"); } JobDetail jobDetail = JobBuilder.newJob(QuartzJobFactory.class).withIdentity(scheduleJob.getId().toString()).build(); @@ -64,6 +74,7 @@ public void addJob(ScheduleJob scheduleJob) throws ServerException { } public void removeJob(ScheduleJob scheduleJob) throws ServerException { + Scheduler scheduler = schedulerFactoryBean.getScheduler(); try { TriggerKey triggerKey = TriggerKey.triggerKey(scheduleJob.getId().toString()); diff --git a/server/src/main/java/edp/core/utils/SqlUtils.java b/server/src/main/java/edp/core/utils/SqlUtils.java index 8c8b5f70e..8cde24e42 100644 --- a/server/src/main/java/edp/core/utils/SqlUtils.java +++ b/server/src/main/java/edp/core/utils/SqlUtils.java @@ -27,12 +27,15 @@ import edp.core.enums.TypeEnum; import edp.core.exception.ServerException; import edp.core.exception.SourceException; -import edp.core.model.BaseSource; -import edp.core.model.CustomDataSource; -import edp.core.model.QueryColumn; -import edp.core.model.TableInfo; +import edp.core.model.*; import edp.davinci.core.enums.SqlColumnEnum; import lombok.extern.slf4j.Slf4j; +import net.sf.jsqlparser.JSQLParserException; +import net.sf.jsqlparser.parser.CCJSqlParserManager; +import net.sf.jsqlparser.schema.Column; +import net.sf.jsqlparser.statement.select.PlainSelect; +import net.sf.jsqlparser.statement.select.Select; +import net.sf.jsqlparser.statement.select.SelectExpressionItem; import org.joda.time.DateTime; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.cache.annotation.CachePut; @@ -42,12 +45,10 @@ import org.springframework.stereotype.Component; import javax.sql.DataSource; +import java.io.StringReader; import java.math.BigDecimal; import java.sql.*; -import java.util.ArrayList; -import java.util.List; -import java.util.Map; -import java.util.Set; +import java.util.*; import java.util.regex.Matcher; import java.util.regex.Pattern; @@ -111,14 +112,99 @@ public List> query4List(String sql, int limit) throws Server return list; } + @CachePut(value = "query", keyGenerator = "keyGenerator") + public Paginate> query4Paginate(String sql, int pageNo, int pageSize, int limit) throws ServerException { - @Cacheable(value = "query", key = "#sql", sync = true) + sql = filterAnnotate(sql); + checkSensitiveSql(sql); + + final Paginate> paginate = new Paginate<>(); + try { + if (pageNo < 1 && pageSize < 1) { + if (limit < 1) { + paginate.setResultList(syncQuery4List(sql)); + } else { + List> list = syncQuery4ListByLimit(sql, limit); + paginate.setResultList(list); + paginate.setTotalCount(list.size()); + } + } else { + + JdbcTemplate jdbcTemplate = jdbcTemplate(); + + paginate.setPageNo(pageNo); + paginate.setPageSize(pageSize); + + final int startRow = (pageNo - 1) * pageSize; + String finalSql = sql; + jdbcTemplate.query(finalSql, (ResultSet resultSet) -> { + + int total = 0; + try { + resultSet.last(); + total = resultSet.getRow(); + resultSet.first(); + } catch (SQLException e) { + String countSql = getCountSql(finalSql); + total = jdbcTemplate.queryForObject(countSql, Integer.class); + } + + if (limit > 0) { + total = limit < total ? limit : total; + } + paginate.setTotalCount(total); + + final List> resultList = paginate.getResultList(); + int currentRow = 0; + ResultSetMetaData metaData = resultSet.getMetaData(); + + while (resultSet.next() && currentRow < startRow + pageSize) { + if (currentRow >= startRow && currentRow < total) { + Map map = new HashMap<>(); + for (int i = 1; i <= metaData.getColumnCount(); i++) { + String c = metaData.getColumnName(i); + Object v = resultSet.getObject(c); + map.put(c, v); + } + resultList.add(map); + } + currentRow++; + } + return paginate; + }); + } + + } catch (Exception e) { + throw new ServerException(e.getMessage()); + } + return paginate; + } + + + @Cacheable(value = "query", keyGenerator = "keyGenerator", sync = true) + public Paginate> syncQuery4Paginate(String sql, Integer pageNo, Integer pageSize, Integer limit) throws ServerException { + if (null == pageNo) { + pageNo = -1; + } + if (null == pageSize) { + pageSize = -1; + } + + if (null == limit) { + limit = -1; + } + + Paginate> paginate = query4Paginate(sql, pageNo, pageSize, limit); + return paginate; + } + + @Cacheable(value = "query", keyGenerator = "keyGenerator", sync = true) public List> syncQuery4List(String sql) throws ServerException { List> list = query4List(sql, -1); return list; } - @Cacheable(value = "query", key = "T(String).valueOf(#limit).concat('-').concat(#sql)", sync = true) + @Cacheable(value = "query", keyGenerator = "keyGenerator", sync = true) public List> syncQuery4ListByLimit(String sql, int limit) throws ServerException { List> list = query4List(sql, limit); return list; @@ -152,7 +238,8 @@ public List getTableList() throws SourceException { if (null != connection) { DatabaseMetaData metaData = connection.getMetaData(); String schemaPattern = null; - if (DataTypeEnum.ORACLE.getFeature().equals(DataTypeEnum.urlOf(this.jdbcUrl).getFeature())) { + DataTypeEnum dataTypeEnum = DataTypeEnum.urlOf(this.jdbcUrl); + if (null != dataTypeEnum && dataTypeEnum.getFeature().equals(DataTypeEnum.ORACLE.getFeature())) { schemaPattern = this.username; if (null != schemaPattern) { schemaPattern = schemaPattern.toUpperCase(); @@ -531,7 +618,7 @@ public static String getKeywordSuffix(String jdbcUrl) { } public static String getAliasPrefix(String jdbcUrl) { - String aliasPrefix = "'"; + String aliasPrefix = ""; DataTypeEnum dataTypeEnum = DataTypeEnum.urlOf(jdbcUrl); if (null != dataTypeEnum) { aliasPrefix = dataTypeEnum.getAliasPrefix(); @@ -541,11 +628,11 @@ public static String getAliasPrefix(String jdbcUrl) { aliasPrefix = customDataSource.getAlias_prefix(); } } - return StringUtils.isEmpty(aliasPrefix) ? "'" : aliasPrefix; + return StringUtils.isEmpty(aliasPrefix) ? "" : aliasPrefix; } public static String getAliasSuffix(String jdbcUrl) { - String aliasSuffix = "'"; + String aliasSuffix = ""; DataTypeEnum dataTypeEnum = DataTypeEnum.urlOf(jdbcUrl); if (null != dataTypeEnum) { aliasSuffix = dataTypeEnum.getAliasSuffix(); @@ -555,7 +642,7 @@ public static String getAliasSuffix(String jdbcUrl) { aliasSuffix = customDataSource.getAlias_suffix(); } } - return StringUtils.isEmpty(aliasSuffix) ? "'" : aliasSuffix; + return StringUtils.isEmpty(aliasSuffix) ? "" : aliasSuffix; } @@ -588,4 +675,24 @@ public static String formatSqlType(String type) throws ServerException { return null; } + private String getCountSql(String sql) { + try { + CCJSqlParserManager parserManager = new CCJSqlParserManager(); + net.sf.jsqlparser.statement.Statement parse = parserManager.parse(new StringReader(sql)); + + if (parse instanceof Select) { + Select select = (Select) parse; + PlainSelect selectBody = (PlainSelect) select.getSelectBody(); + SelectExpressionItem selectExpressionItem = new SelectExpressionItem(); + selectExpressionItem.setExpression(new Column("count(*)")); + + selectBody.setSelectItems(Arrays.asList(selectExpressionItem)); + return select.toString(); + } + } catch (JSQLParserException e) { + return null; + } + return null; + } + } diff --git a/server/src/main/java/edp/davinci/common/service/CommonService.java b/server/src/main/java/edp/davinci/common/service/CommonService.java index 08bc43d2d..defdf07ae 100644 --- a/server/src/main/java/edp/davinci/common/service/CommonService.java +++ b/server/src/main/java/edp/davinci/common/service/CommonService.java @@ -77,26 +77,22 @@ public class CommonService { private static final String PROTOCOL_SEPARATOR = "://"; public String getHost() { - protocol = protocol.trim().toLowerCase(); - accessAddress = StringUtils.isEmpty(accessAddress) ? address : accessAddress; - accessPort = StringUtils.isEmpty(accessPort) ? port : accessPort; + String pro = protocol.trim().toLowerCase(); + String accAddress = StringUtils.isEmpty(accessAddress) ? address : accessAddress; + String accPort = StringUtils.isEmpty(accessPort) ? port : accessPort; - if (protocol.equals(HTTP_PROTOCOL)) { - if ("80".equals(accessPort)) { - accessPort = null; - } + if (pro.equals(HTTP_PROTOCOL) && "80".equals(accPort)) { + accPort = null; } - if (protocol.equals(HTTPS_PROTOCOL)) { - if ("443".equals(accessPort)) { - accessPort = null; - } + if (pro.equals(HTTPS_PROTOCOL) && "443".equals(accPort)) { + accPort = null; } StringBuilder sb = new StringBuilder(); - sb.append(protocol).append(PROTOCOL_SEPARATOR).append(accessAddress); - if (!StringUtils.isEmpty(accessPort)) { - sb.append(":" + accessPort); + sb.append(pro).append(PROTOCOL_SEPARATOR).append(accAddress); + if (!StringUtils.isEmpty(accPort)) { + sb.append(":" + accPort); } return sb.toString(); } @@ -126,8 +122,11 @@ public String getContentUrl(Long userId, String contentType, Long contengId) { .append("/share.html#/share/") .append(contentType.equalsIgnoreCase("widget") || contentType.equalsIgnoreCase("portal") ? "dashboard" : contentType) .append("?shareInfo=") - .append(shareToken) - .append("&type=" + type); + .append(shareToken); + + if (!StringUtils.isEmpty(type)) { + sb.append("&type=" + type); + } return sb.toString(); } diff --git a/server/src/main/java/edp/davinci/controller/LoginController.java b/server/src/main/java/edp/davinci/controller/LoginController.java index 237cffb4d..e0797d115 100644 --- a/server/src/main/java/edp/davinci/controller/LoginController.java +++ b/server/src/main/java/edp/davinci/controller/LoginController.java @@ -22,6 +22,7 @@ import edp.davinci.core.common.Constants; import edp.davinci.core.common.ResultMap; import edp.davinci.dto.userDto.UserLogin; +import edp.davinci.service.LdapService; import edp.davinci.service.UserService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; @@ -54,6 +55,9 @@ public class LoginController { @Autowired private UserService userService; + @Autowired(required = false) + private LdapService ldapService; + /** * 登录 * @@ -69,8 +73,13 @@ public ResponseEntity login(@Valid @RequestBody UserLogin userLogin, @ApiIgnore return ResponseEntity.status(resultMap.getCode()).body(resultMap); } try { - ResultMap resultMap = userService.userLogin(userLogin); - return ResponseEntity.status(resultMap.getCode()).body(resultMap); + if (null == ldapService) { + ResultMap resultMap = userService.userLogin(userLogin); + return ResponseEntity.status(resultMap.getCode()).body(resultMap); + } else { + ResultMap resultMap = ldapService.userLogin(userLogin); + return ResponseEntity.status(resultMap.getCode()).body(resultMap); + } } catch (Exception e) { e.printStackTrace(); log.error(e.getMessage()); diff --git a/server/src/main/java/edp/davinci/core/common/Constants.java b/server/src/main/java/edp/davinci/core/common/Constants.java index a4c7876db..403dbf3f1 100644 --- a/server/src/main/java/edp/davinci/core/common/Constants.java +++ b/server/src/main/java/edp/davinci/core/common/Constants.java @@ -64,7 +64,7 @@ public class Constants extends Consts { /** - * 组织头像上传地址 + * CSV地址 */ public static final String SOURCE_CSV_PATH = "/source/csv/"; diff --git a/server/src/main/java/edp/davinci/core/common/ResultMap.java b/server/src/main/java/edp/davinci/core/common/ResultMap.java index 017775473..3a741faba 100644 --- a/server/src/main/java/edp/davinci/core/common/ResultMap.java +++ b/server/src/main/java/edp/davinci/core/common/ResultMap.java @@ -20,6 +20,7 @@ import edp.core.enums.HttpCodeEnum; import edp.core.utils.TokenUtils; +import org.springframework.util.StringUtils; import javax.servlet.http.HttpServletRequest; import java.util.ArrayList; @@ -112,7 +113,9 @@ public ResultMap failAndRefreshToken(HttpServletRequest request) { this.header = new HashMap<>(); this.header.put("code", code); this.header.put("msg", HttpCodeEnum.FAIL.getMessage()); - this.header.put("token", this.tokenUtils.refreshToken(token)); + if (!StringUtils.isEmpty(token)) { + this.header.put("token", this.tokenUtils.refreshToken(token)); + } this.put("header", header); this.put("payload", ""); return this; diff --git a/server/src/main/java/edp/davinci/core/config/RestExceptionHandler.java b/server/src/main/java/edp/davinci/core/config/RestExceptionHandler.java new file mode 100644 index 000000000..b72b6a8be --- /dev/null +++ b/server/src/main/java/edp/davinci/core/config/RestExceptionHandler.java @@ -0,0 +1,43 @@ +/* + * << + * Davinci + * == + * Copyright (C) 2016 - 2018 EDP + * == + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * >> + * + */ + +package edp.davinci.core.config; + +import edp.core.utils.TokenUtils; +import edp.davinci.core.common.ResultMap; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.http.HttpStatus; +import org.springframework.web.bind.annotation.*; + +import javax.servlet.http.HttpServletRequest; + +@ControllerAdvice(annotations = RestController.class) +public class RestExceptionHandler { + + + @Autowired + private TokenUtils tokenUtils; + + @ExceptionHandler + @ResponseBody + @ResponseStatus(HttpStatus.BAD_REQUEST) + private ResultMap runtimeExceptionHandler(HttpServletRequest request, Exception e) { + return new ResultMap(tokenUtils).failAndRefreshToken(request).message(HttpStatus.INTERNAL_SERVER_ERROR.getReasonPhrase()); + } +} diff --git a/server/src/main/java/edp/davinci/core/inteceptor/AuthenticationInterceptor.java b/server/src/main/java/edp/davinci/core/inteceptor/AuthenticationInterceptor.java index fcd4d8f99..082b54fa3 100644 --- a/server/src/main/java/edp/davinci/core/inteceptor/AuthenticationInterceptor.java +++ b/server/src/main/java/edp/davinci/core/inteceptor/AuthenticationInterceptor.java @@ -81,7 +81,6 @@ public boolean preHandle(HttpServletRequest request, HttpServletResponse respons log.info("{} : Unknown token", request.getServletPath()); response.setStatus(HttpCodeEnum.FORBIDDEN.getCode()); response.getWriter().print("The resource requires authentication, which was not supplied with the request"); - new RuntimeException("The resource requires authentication, which was not supplied with the request "); return false; } String username = tokenUtils.getUsername(token); @@ -90,7 +89,6 @@ public boolean preHandle(HttpServletRequest request, HttpServletResponse respons log.info("{} : token user not found", request.getServletPath()); response.setStatus(HttpCodeEnum.FORBIDDEN.getCode()); response.getWriter().print("ERROR Permission denied"); - new RuntimeException("token user not found "); return false; } @@ -98,7 +96,6 @@ public boolean preHandle(HttpServletRequest request, HttpServletResponse respons log.info("{} : token validation fails", request.getServletPath()); response.setStatus(HttpCodeEnum.FORBIDDEN.getCode()); response.getWriter().print("Invalid token "); - new RuntimeException("token validation fails "); return false; } @@ -111,7 +108,6 @@ public boolean preHandle(HttpServletRequest request, HttpServletResponse respons response.setStatus(HttpCodeEnum.FAIL.getCode()); ResultMap resultMap = new ResultMap(tokenUtils); response.getWriter().print(JSONObject.toJSONString(resultMap.failAndRefreshToken(request).message("Account not active yet. Please check your email to activate your account"))); - new RuntimeException("current user is not activated "); return false; } request.setAttribute(Constants.CURRENT_USER, user); diff --git a/server/src/main/java/edp/davinci/core/utils/SqlParseUtils.java b/server/src/main/java/edp/davinci/core/utils/SqlParseUtils.java index 159ee1a1a..8314859d6 100644 --- a/server/src/main/java/edp/davinci/core/utils/SqlParseUtils.java +++ b/server/src/main/java/edp/davinci/core/utils/SqlParseUtils.java @@ -49,17 +49,17 @@ public class SqlParseUtils { private static final String REG_SQL_STRUCT = "[{].*[}]"; - private static final String select = "select"; + private static final String SELECT = "select"; - private static final String with = "with"; + private static final String WITH = "with"; - private static final String queryVarKey = "query@var"; + private static final String QUERY_VAR_KEY = "query@var"; - private static final String teamVarKey = "team@var"; + private static final String TEAM_VAR_KEY = "team@var"; private static final String REG_PLACEHOLDER = "\\$.+\\$"; - private static final String REG_TEAMVAR = "\\([a-zA-Z0-9_]{1,}\\s?\\w*[<>!=]*\\s?\\(?%s\\w+%s\\)?\\s?\\)"; + private static final String REG_TEAMVAR = "\\([a-zA-Z0-9_.-]{1,}\\s?\\w*[<>!=]*\\s?\\(?%s\\w+%s\\)?\\s?\\)"; /** * 解析sql @@ -115,8 +115,8 @@ public static SqlEntity parseSql(String sqlStr, String sqlTempDelimiter) throws if (null != split && split.length > 0) { for (String param : split) { param = param.trim(); - if (param.startsWith(queryVarKey)) { - param = param.replaceAll(queryVarKey, ""); + if (param.startsWith(QUERY_VAR_KEY)) { + param = param.replaceAll(QUERY_VAR_KEY, ""); String[] paramArray = param.trim().split(String.valueOf(assignmentChar)); if (null != paramArray && paramArray.length > 0) { String k = paramArray[0]; @@ -124,8 +124,8 @@ public static SqlEntity parseSql(String sqlStr, String sqlTempDelimiter) throws log.info("query param >>>>>>: {} -> {}", k.replace(String.valueOf(getSqlTempDelimiter(sqlTempDelimiter)), ""), v); queryParamMap.put(k.trim().replace(String.valueOf(getSqlTempDelimiter(sqlTempDelimiter)), ""), v); } - } else if (param.startsWith(teamVarKey)) { - param = param.replaceAll(teamVarKey, "").trim(); + } else if (param.startsWith(TEAM_VAR_KEY)) { + param = param.replaceAll(TEAM_VAR_KEY, "").trim(); String[] paramArray = param.trim().split(String.valueOf(assignmentChar)); if (null != paramArray && paramArray.length > 0) { String k = paramArray[0]; @@ -218,7 +218,7 @@ public static List getExecuteSqlList(String sql) { list = new ArrayList<>(); for (String sqlStr : split) { sqlStr = sqlStr.trim(); - if (sqlStr.toLowerCase().startsWith(select) || sqlStr.toLowerCase().startsWith(with)) { + if (sqlStr.toLowerCase().startsWith(SELECT) || sqlStr.toLowerCase().startsWith(WITH)) { continue; } else { list.add(sqlStr); @@ -249,7 +249,7 @@ public static List getQuerySqlList(String sql) { list = new ArrayList<>(); for (String sqlStr : split) { sqlStr = sqlStr.trim(); - if (sqlStr.toLowerCase().startsWith(select) || sqlStr.toLowerCase().startsWith(with)) { + if (sqlStr.toLowerCase().startsWith(SELECT) || sqlStr.toLowerCase().startsWith(WITH)) { list.add(sqlStr); } else { continue; diff --git a/server/src/main/java/edp/davinci/dao/OrganizationMapper.java b/server/src/main/java/edp/davinci/dao/OrganizationMapper.java index 02f42182a..cf0db0f63 100644 --- a/server/src/main/java/edp/davinci/dao/OrganizationMapper.java +++ b/server/src/main/java/edp/davinci/dao/OrganizationMapper.java @@ -28,6 +28,7 @@ import org.springframework.stereotype.Component; import java.util.List; +import java.util.Set; @Component public interface OrganizationMapper { @@ -84,6 +85,8 @@ public interface OrganizationMapper { int updateMemberNum(Organization organization); + int addOneMemberNum(@Param("set") Set orgIds); + int updateTeamNum(Organization organization); diff --git a/server/src/main/java/edp/davinci/dao/RelUserOrganizationMapper.java b/server/src/main/java/edp/davinci/dao/RelUserOrganizationMapper.java index 5f71192c1..58f3fc648 100644 --- a/server/src/main/java/edp/davinci/dao/RelUserOrganizationMapper.java +++ b/server/src/main/java/edp/davinci/dao/RelUserOrganizationMapper.java @@ -26,7 +26,9 @@ import org.apache.ibatis.annotations.Update; import org.springframework.stereotype.Component; +import java.util.HashSet; import java.util.List; +import java.util.Set; @Component public interface RelUserOrganizationMapper { @@ -71,4 +73,10 @@ public interface RelUserOrganizationMapper { @Select({"SELECT r.* FROM rel_user_organization r inner join project p on p.org_id = r.org_id where r.user_id = #{userId} and p.id = #{projectId}"}) RelUserOrganization getRelByProject(@Param("userId") Long userId, @Param("projectId") Long projectId); + + int insertBatch(@Param("set") Set set); + + + int deleteBatch(@Param("set") Set set); + } \ No newline at end of file diff --git a/server/src/main/java/edp/davinci/dao/RelUserTeamMapper.java b/server/src/main/java/edp/davinci/dao/RelUserTeamMapper.java index 54896c370..4019d97f3 100644 --- a/server/src/main/java/edp/davinci/dao/RelUserTeamMapper.java +++ b/server/src/main/java/edp/davinci/dao/RelUserTeamMapper.java @@ -59,6 +59,12 @@ public interface RelUserTeamMapper { Set getUserTeamId(@Param("userId") Long userId); + @Select({ + "SELECT userTeamStruct(#{userId})" + }) + String getUserFullTeam(@Param("userId") Long userId); + + @Select({ "SELECT u.id, u.username, u.avatar, t.id as 'teamId' FROM `user` u, rel_user_team rut, team t ", "where rut.user_id = u.id and t.id = rut.team_id and FIND_IN_SET(t.id,childTeamIds(#{teamId}))" @@ -78,7 +84,6 @@ public interface RelUserTeamMapper { /** * 查询用户和project所在team结构中的最大权限 - *

* project和用户所在team交集的 完整team结构 * * @param projectId @@ -138,4 +143,7 @@ public interface RelUserTeamMapper { int deleteBatch(@Param("list") List list); + + + int insertBatch(@Param("set") Set set); } \ No newline at end of file diff --git a/server/src/main/java/edp/davinci/dao/TeamMapper.java b/server/src/main/java/edp/davinci/dao/TeamMapper.java index 141529b86..7b2908f39 100644 --- a/server/src/main/java/edp/davinci/dao/TeamMapper.java +++ b/server/src/main/java/edp/davinci/dao/TeamMapper.java @@ -27,7 +27,6 @@ import org.springframework.stereotype.Component; import java.util.List; -import java.util.Set; @Component public interface TeamMapper { @@ -43,8 +42,8 @@ public interface TeamMapper { @Select({ - "select distinct t.id, t.`name`, t.description, t.visibility, t.parent_team_id from team t, rel_user_team rut", - "where rut.team_id = t.id and t.org_id = #{orgId}" + "select distinct t.id, t.`name`, t.description, t.visibility, t.parent_team_id from team t left join rel_user_team rut on rut.team_id = t.id", + "where t.org_id = #{orgId}" }) List getTeamsByOrgId(@Param("orgId") Long orgId); @@ -91,16 +90,14 @@ public interface TeamMapper { // List getChildTeams(@Param("id") Long id, @Param("userId") Long userId); - @Select({ "select DISTINCT t.id, t.`name`, t.description, t.visibility, t.parent_team_id ", - "from team t, rel_user_team rut", - "where rut.team_id = t.id and FIND_IN_SET(t.id,childTeamIds(#{id}))", + "from team t left join rel_user_team rut on rut.team_id = t.id ", + "where FIND_IN_SET(t.id,childTeamIds(#{id}))", }) List getChildTeams(@Param("id") Long id); - @Select({ "select ", " distinct t.id, t.`name`, t.description, t.visibility, rut.role, t.avatar,", diff --git a/server/src/main/java/edp/davinci/dao/UserMapper.java b/server/src/main/java/edp/davinci/dao/UserMapper.java index 6330a0c73..09a9b5e87 100644 --- a/server/src/main/java/edp/davinci/dao/UserMapper.java +++ b/server/src/main/java/edp/davinci/dao/UserMapper.java @@ -37,7 +37,7 @@ public interface UserMapper { @Select({"select * from `user` where id = #{id}"}) User getById(@Param("id") Long id); - @Select({"select * from `user` where username = #{username}"}) + @Select({"select * from `user` where username = #{username} or email = #{username}"}) User selectByUsername(@Param("username") String username); diff --git a/server/src/main/java/edp/davinci/dto/sourceDto/SourceConfig.java b/server/src/main/java/edp/davinci/dto/sourceDto/SourceConfig.java index d7e5297a4..7c74812d9 100644 --- a/server/src/main/java/edp/davinci/dto/sourceDto/SourceConfig.java +++ b/server/src/main/java/edp/davinci/dto/sourceDto/SourceConfig.java @@ -25,7 +25,6 @@ @Data public class SourceConfig { - @NotBlank(message = "connection username cannot be empty") private String username; private String password; diff --git a/server/src/main/java/edp/davinci/dto/sourceDto/SourceTest.java b/server/src/main/java/edp/davinci/dto/sourceDto/SourceTest.java index d2722c6a3..0b229ccf5 100644 --- a/server/src/main/java/edp/davinci/dto/sourceDto/SourceTest.java +++ b/server/src/main/java/edp/davinci/dto/sourceDto/SourceTest.java @@ -26,7 +26,6 @@ @Data public class SourceTest { - @NotBlank(message = "connection username cannot be empty") private String username; private String password; diff --git a/server/src/main/java/edp/davinci/dto/userDto/SendMail.java b/server/src/main/java/edp/davinci/dto/userDto/SendMail.java index a13552861..2a940ee50 100644 --- a/server/src/main/java/edp/davinci/dto/userDto/SendMail.java +++ b/server/src/main/java/edp/davinci/dto/userDto/SendMail.java @@ -29,7 +29,7 @@ @NotNull(message = "email address cannot be null") public class SendMail { - @NotBlank(message = "email address cannote be empty") + @NotBlank(message = "email address cannot be empty") @Pattern(regexp = Constants.REG_EMAIL_FORMAT, message = "invalid email format") private String email; } diff --git a/server/src/main/java/edp/davinci/dto/viewDto/ViewExecuteParam.java b/server/src/main/java/edp/davinci/dto/viewDto/ViewExecuteParam.java index 2128cd4cf..329b09c35 100644 --- a/server/src/main/java/edp/davinci/dto/viewDto/ViewExecuteParam.java +++ b/server/src/main/java/edp/davinci/dto/viewDto/ViewExecuteParam.java @@ -38,6 +38,8 @@ public class ViewExecuteParam { private Boolean cache; private Long expired; private int limit = 0; + private int pageNo = -1; + private int pageSize = -1; public List getOrders(String jdbcUrl) { List list = null; diff --git a/server/src/main/java/edp/davinci/model/LdapPerson.java b/server/src/main/java/edp/davinci/model/LdapPerson.java new file mode 100644 index 000000000..35f7c3a03 --- /dev/null +++ b/server/src/main/java/edp/davinci/model/LdapPerson.java @@ -0,0 +1,48 @@ +/* + * << + * Davinci + * == + * Copyright (C) 2016 - 2018 EDP + * == + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * >> + */ + +package edp.davinci.model; + +import lombok.Data; + +import java.util.List; + +@Data +public class LdapPerson { + + /** + * 姓名 + */ + private String name; + + /** + * 用户名 + */ + private String sAMAccountName; + + + /** + * 机构信息 + */ + private String dept; + + /** + * 邮箱 + */ + private String email; +} diff --git a/server/src/main/java/edp/davinci/runner/CheckConfigRunner.java b/server/src/main/java/edp/davinci/runner/CheckConfigRunner.java new file mode 100644 index 000000000..8fb5cddbf --- /dev/null +++ b/server/src/main/java/edp/davinci/runner/CheckConfigRunner.java @@ -0,0 +1,81 @@ +/* + * << + * Davinci + * == + * Copyright (C) 2016 - 2018 EDP + * == + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * >> + * + */ + +package edp.davinci.runner; + +import com.alibaba.druid.util.StringUtils; +import edp.core.utils.CustomDataSourceUtils; +import edp.davinci.service.CronJobService; +import lombok.extern.slf4j.Slf4j; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.beans.factory.annotation.Value; +import org.springframework.boot.ApplicationArguments; +import org.springframework.boot.ApplicationRunner; +import org.springframework.boot.SpringApplication; +import org.springframework.context.ApplicationContext; +import org.springframework.core.annotation.Order; +import org.springframework.stereotype.Component; + + +@Order(0) +@Component +@Slf4j +public class CheckConfigRunner implements ApplicationRunner { + + @Value("${spring.mail.host:}") + private String mailHost; + + @Value("${spring.mail.port}") + private String mailPort; + + @Value("${spring.mail.username}") + private String mailUserName; + + + @Value("${spring.mail.nickname}") + private String nickName; + + + @Autowired + private ApplicationContext applicationContext; + + + @Override + public void run(ApplicationArguments args) { + if (StringUtils.isEmpty(mailHost)) { + log.error("************** Configuration error: mail host connot be empty! **************"); + SpringApplication.exit(applicationContext); + } + + if (StringUtils.isEmpty(mailPort)) { + log.error("************** Configuration error: mail port connot be empty! **************"); + SpringApplication.exit(applicationContext); + } + + if (StringUtils.isEmpty(mailUserName)) { + log.error("************** Configuration error: mail username connot be empty! **************"); + SpringApplication.exit(applicationContext); + } + + if (StringUtils.isEmpty(mailUserName)) { + log.error("************** Configuration error: mail nickname connot be empty! **************"); + SpringApplication.exit(applicationContext); + } + } +} diff --git a/server/src/main/java/edp/davinci/runner/CronJobRunner.java b/server/src/main/java/edp/davinci/runner/CronJobRunner.java index a22a05ff5..21a08fb7f 100644 --- a/server/src/main/java/edp/davinci/runner/CronJobRunner.java +++ b/server/src/main/java/edp/davinci/runner/CronJobRunner.java @@ -23,8 +23,10 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.ApplicationArguments; import org.springframework.boot.ApplicationRunner; +import org.springframework.core.annotation.Order; import org.springframework.stereotype.Component; +@Order(2) @Component @Slf4j public class CronJobRunner implements ApplicationRunner { @@ -39,8 +41,12 @@ public class CronJobRunner implements ApplicationRunner { * @throws Exception */ @Override - public void run(ApplicationArguments args) throws Exception { - log.info("======= Start cron job =======>>"); - cronJobService.startAllJobs(); + public void run(ApplicationArguments args) { + try { + cronJobService.startAllJobs(); + } catch (Exception e) { + log.error(e.getMessage()); + } + log.info("Load cron job finish"); } } diff --git a/server/src/main/java/edp/davinci/runner/CustomDataSourceRunner.java b/server/src/main/java/edp/davinci/runner/CustomDataSourceRunner.java index 95ac8aaa0..f827d070a 100644 --- a/server/src/main/java/edp/davinci/runner/CustomDataSourceRunner.java +++ b/server/src/main/java/edp/davinci/runner/CustomDataSourceRunner.java @@ -26,8 +26,10 @@ import org.springframework.boot.ApplicationRunner; import org.springframework.boot.SpringApplication; import org.springframework.context.ApplicationContext; +import org.springframework.core.annotation.Order; import org.springframework.stereotype.Component; +@Order(1) @Component @Slf4j public class CustomDataSourceRunner implements ApplicationRunner { @@ -40,7 +42,6 @@ public class CustomDataSourceRunner implements ApplicationRunner { @Override public void run(ApplicationArguments args) { - log.info("======= Load custom datasource config =======>>"); try { CustomDataSourceUtils.loadAllFromYaml(dataSourceYamlPath); } catch (Exception e) { @@ -48,5 +49,6 @@ public void run(ApplicationArguments args) { SpringApplication.exit(applicationContext); log.info("Server shutdown"); } + log.info("Load custom datasource finish"); } } diff --git a/server/src/main/java/edp/davinci/service/LdapService.java b/server/src/main/java/edp/davinci/service/LdapService.java new file mode 100644 index 000000000..5f83e6712 --- /dev/null +++ b/server/src/main/java/edp/davinci/service/LdapService.java @@ -0,0 +1,53 @@ +/* + * << + * Davinci + * == + * Copyright (C) 2016 - 2018 EDP + * == + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * >> + */ + +package edp.davinci.service; + +import edp.davinci.core.common.ResultMap; +import edp.davinci.dto.userDto.UserLogin; +import edp.davinci.model.LdapPerson; +import edp.davinci.model.User; + +public interface LdapService { + + + /** + * 查找 ldap 用户 + * @param username + * @param password + * @return + * @throws Exception + */ + LdapPerson findByUsername(String username, String password) throws Exception; + + + /** + * 用户登录 + * @param userLogin + * @return + */ + ResultMap userLogin(UserLogin userLogin); + + + /** + * 将ldap 用户注册到 davinci系统 + * @param ldapPerson + * @return + */ + User registUser(LdapPerson ldapPerson); +} diff --git a/server/src/main/java/edp/davinci/service/impl/CronJobServiceImpl.java b/server/src/main/java/edp/davinci/service/impl/CronJobServiceImpl.java index 40609ad21..249f693e7 100644 --- a/server/src/main/java/edp/davinci/service/impl/CronJobServiceImpl.java +++ b/server/src/main/java/edp/davinci/service/impl/CronJobServiceImpl.java @@ -196,22 +196,29 @@ public ResultMap updateCronJob(CronJobUpdate cronJobUpdate, User user, HttpServl return resultMap.failAndRefreshToken(request).message("the name is already taken"); } + if (CronJobStatusEnum.START.getStatus().equals(cronJobWithProject.getJobStatus())) { + return resultMap.failAndRefreshToken(request).message("Please stop the job before updating"); + } + CronJob cronJob = new CronJob(); BeanUtils.copyProperties(cronJobUpdate, cronJob); try { cronJob.setStartDate(DateUtils.toDate(cronJobUpdate.getStartDate())); cronJob.setEndDate(DateUtils.toDate(cronJobUpdate.getEndDate())); + + cronJob.setUpdateTime(new Date()); + int update = cronJobMapper.update(cronJob); + if (update > 0) { + quartzUtils.modifyJob(cronJob); + } } catch (Exception e) { + quartzUtils.removeJob(cronJob); cronJobWithProject.setJobStatus(CronJobStatusEnum.FAILED.getStatus()); cronJobMapper.update(cronJobWithProject); e.printStackTrace(); } - cronJob.setUpdateTime(new Date()); - int update = cronJobMapper.update(cronJob); - if (update > 0) { - quartzUtils.modifyJob(cronJob); - } + return resultMap.successAndRefreshToken(request); } diff --git a/server/src/main/java/edp/davinci/service/impl/EmailScheduleServiceImpl.java b/server/src/main/java/edp/davinci/service/impl/EmailScheduleServiceImpl.java index f9f0eff0b..cdde58aa7 100644 --- a/server/src/main/java/edp/davinci/service/impl/EmailScheduleServiceImpl.java +++ b/server/src/main/java/edp/davinci/service/impl/EmailScheduleServiceImpl.java @@ -353,6 +353,7 @@ private File writeExcel(Set widgets, String excelFilePath, User user) th } countDownLatch.await(); + executorService.shutdown(); File file = new File(excelFilePath); File dir = new File(file.getParent()); diff --git a/server/src/main/java/edp/davinci/service/impl/TeamServiceImpl.java b/server/src/main/java/edp/davinci/service/impl/TeamServiceImpl.java index 3fff8f898..02a3a3a67 100644 --- a/server/src/main/java/edp/davinci/service/impl/TeamServiceImpl.java +++ b/server/src/main/java/edp/davinci/service/impl/TeamServiceImpl.java @@ -405,14 +405,14 @@ public ResultMap getTeamDetail(Long id, User user, HttpServletRequest request) { RelUserOrganization relUserOrg = relUserOrganizationMapper.getRel(user.getId(), team.getOrgId()); RelUserTeam rel = relUserTeamMapper.getRel(user.getId(), id); - if ((null == relUserOrg || relUserOrg.getRole() == UserOrgRoleEnum.MEMBER.getRole()) && - (null == rel || rel.getRole() == UserTeamRoleEnum.MEMBER.getRole())) { - return resultMap.failAndRefreshToken(request, HttpCodeEnum.UNAUTHORIZED); - } +// if ((null == relUserOrg || relUserOrg.getRole() == UserOrgRoleEnum.MEMBER.getRole()) && +// (null == rel || rel.getRole() == UserTeamRoleEnum.MEMBER.getRole())) { +// return resultMap.failAndRefreshToken(request, HttpCodeEnum.UNAUTHORIZED); +// } TeamDetail teamDetail = new TeamDetail(); BeanUtils.copyProperties(team, teamDetail); - teamDetail.setRole(rel.getRole()); + teamDetail.setRole(null == rel ? (short) -1 : rel.getRole()); Organization organization = organizationMapper.getById(team.getOrgId()); TeamOrgBaseInfo teamOrgBaseInfo = new TeamOrgBaseInfo(); diff --git a/server/src/main/java/edp/davinci/service/impl/ViewServiceImpl.java b/server/src/main/java/edp/davinci/service/impl/ViewServiceImpl.java index cd2ccf286..3169570e3 100644 --- a/server/src/main/java/edp/davinci/service/impl/ViewServiceImpl.java +++ b/server/src/main/java/edp/davinci/service/impl/ViewServiceImpl.java @@ -771,7 +771,6 @@ public Map getDistinctValueData(ViewWithProjectAndSource viewWit return map; } - private Map> parseTeamParams(Map> paramMap, View view, User user, String sqlTempDelimiter) { if (null != view && !StringUtils.isEmpty(view.getConfig())) { JSONObject jsonObject = JSONObject.parseObject(view.getConfig()); @@ -780,23 +779,26 @@ private Map> parseTeamParams(Map> para if (!StringUtils.isEmpty(teamVarString)) { List varList = JSONObject.parseArray(teamVarString, TeamVar.class); if (null != varList && varList.size() > 0) { - Set tIds = relUserTeamMapper.getUserTeamId(user.getId()); - for (String key : paramMap.keySet()) { - List params = new ArrayList<>(); - for (TeamVar teamVar : varList) { - if (tIds.contains(teamVar.getId())) { - for (TeamParam teamParam : teamVar.getParams()) { - - String k = key.replace(String.valueOf(SqlParseUtils.getSqlTempDelimiter(sqlTempDelimiter)), ""); - if (teamParam.getK().equals(k)) { - params.add(teamParam.getV()); + String fullTeam = relUserTeamMapper.getUserFullTeam(user.getId()); + if (!StringUtils.isEmpty(fullTeam.trim())) { + List teamIdlist = Arrays.asList(fullTeam.trim().split(conditionSeparator)); + for (String key : paramMap.keySet()) { + List params = new ArrayList<>(); + for (TeamVar teamVar : varList) { + if (teamIdlist.contains(String.valueOf(teamVar.getId()))) { + for (TeamParam teamParam : teamVar.getParams()) { + + String k = key.replace(String.valueOf(SqlParseUtils.getSqlTempDelimiter(sqlTempDelimiter)), ""); + if (teamParam.getK().equals(k)) { + params.add(teamParam.getV()); + } } } } - } - if (params.size() > 0) { - paramMap.put(key, params); + if (params.size() > 0) { + paramMap.put(key, params); + } } } } diff --git a/server/src/main/resources/application.yml b/server/src/main/resources/application.yml index 7a2bce6ae..4b2d0e6e7 100644 --- a/server/src/main/resources/application.yml +++ b/server/src/main/resources/application.yml @@ -43,7 +43,6 @@ spring: connection-error-retry-attempts: 3 validation-query: SELECT 1 - resources: static-locations: classpath:/META-INF/resources/, classpath:/resources/, classpath:/static/, file:${file.userfiles-path}, file:${file.web_resources} @@ -68,6 +67,7 @@ spring: caffeine: type: caffeine + logging: config: file:${DAVINCI3_HOME}/config/logback.xml diff --git a/server/src/main/resources/mybatis/mapper/OrganizationMapper.xml b/server/src/main/resources/mybatis/mapper/OrganizationMapper.xml index 449b681cd..e47cb8f64 100644 --- a/server/src/main/resources/mybatis/mapper/OrganizationMapper.xml +++ b/server/src/main/resources/mybatis/mapper/OrganizationMapper.xml @@ -108,6 +108,13 @@ + + update organization set team_num=(team_num + 1) where id in + + #{item} + + + - { - availableOperatorTypes.map((operatorType) => ( - - )) - } - - ) - } - - - + { + availableOperatorTypes.length <= 0 ? null : ( + + + + { + getFieldDecorator('operator', { + rules: [{ + required: true, + message: '不能为空' + }] + })( + + ) + } + + + + ) + } {Object.keys(usedViews).map((viewId) => this.renderConfigItem(viewId, usedViews, mappingViewItems))} diff --git a/webapp/app/components/Filters/FilterPanel.tsx b/webapp/app/components/Filters/FilterPanel.tsx index 57932c42a..fb760e5a2 100644 --- a/webapp/app/components/Filters/FilterPanel.tsx +++ b/webapp/app/components/Filters/FilterPanel.tsx @@ -204,6 +204,7 @@ export class FilterPanel extends React.Component { + if (!sqlType) { return value } return SQL_NUMBER_TYPES.indexOf(sqlType) >= 0 ? value : `'${value}'` } diff --git a/webapp/app/components/Video.tsx b/webapp/app/components/Video.tsx new file mode 100644 index 000000000..c727c803e --- /dev/null +++ b/webapp/app/components/Video.tsx @@ -0,0 +1,43 @@ +import * as React from 'react' + +interface IVideoProps { + src: string + autoPlay?: boolean + loop?: boolean + controls?: boolean + start?: number + end?: number +} + +export class Video extends React.PureComponent { + + public shouldComponentUpdate (nextProps: IVideoProps) { + const hasChanged = Object.keys(this.props).some((key) => this.props[key] !== nextProps[key]) + return hasChanged + } + + public render () { + const { src, autoPlay, loop, controls, start, end } = this.props + let srcWithParams = src + if (srcWithParams && (start || end)) { + srcWithParams = `${srcWithParams}#t=${start ? start : 0}` + if (end) { + srcWithParams = `${srcWithParams},${end}` + } + } + return ( + + ) + } +} + +export default Video diff --git a/webapp/app/containers/Bizlogic/Bizlogic.less b/webapp/app/containers/Bizlogic/Bizlogic.less index cd8457a84..e36b3bb8f 100644 --- a/webapp/app/containers/Bizlogic/Bizlogic.less +++ b/webapp/app/containers/Bizlogic/Bizlogic.less @@ -97,16 +97,21 @@ flex: 3; border-top: 1px solid @border-color-base; padding-left: 16px; + display: flex; + flex-direction: column; } .formBottomNone { display: none; } .tabCol { - height: 100%; + display: flex; + flex-direction: column; + flex: 1; .viewTab { - position: relative; - height: 100%; + display: flex; + flex-direction: column; + flex: 1; margin-right: 16px; .viewTabPane { position: absolute; diff --git a/webapp/app/containers/Bizlogic/Bizlogic.tsx b/webapp/app/containers/Bizlogic/Bizlogic.tsx index 409e06505..98114f054 100644 --- a/webapp/app/containers/Bizlogic/Bizlogic.tsx +++ b/webapp/app/containers/Bizlogic/Bizlogic.tsx @@ -859,8 +859,10 @@ export class Bizlogic extends React.Component b.id === Number(params.bid)) - this.getTeamTreeData(sql) + const sqlVal = params.bid + ? (bizlogics as any[]).find((b) => b.id === Number(params.bid)).sql + : bizlogics[0].sql + this.getTeamTreeData(sqlVal) } } @@ -1025,13 +1027,13 @@ export class Bizlogic extends React.Component ) const modelColumns = [{ - title: '表名', + title: '字段名称', dataIndex: 'name', className: `${utilStyles.textAlignLeft}`, key: 'name', width: '25%' }, { - title: '类型', + title: '数据类型', dataIndex: 'modelType', key: 'modelType', className: `${utilStyles.textAlignLeft}`, @@ -1044,7 +1046,7 @@ export class Bizlogic extends React.Component)} }, { - title: '字段类型', + title: '可视化类型', dataIndex: 'visualType', className: `${utilStyles.textAlignLeft}`, key: 'visualType', diff --git a/webapp/app/containers/Dashboard/Grid.tsx b/webapp/app/containers/Dashboard/Grid.tsx index 355fdfde4..d17711818 100644 --- a/webapp/app/containers/Dashboard/Grid.tsx +++ b/webapp/app/containers/Dashboard/Grid.tsx @@ -417,13 +417,11 @@ export class Grid extends React.Component { currentItemsInfo, widgets } = this.props - const widget = widgets.find((w) => w.id === widgetId) const widgetConfig: IWidgetProps = JSON.parse(widget.config) const { cols, rows, metrics, filters, color, label, size, xAxis, tip, orders, cache, expired } = widgetConfig const cachedQueryParams = currentItemsInfo[itemId].queryParams - let linkageFilters let globalFilters let params @@ -444,10 +442,6 @@ export class Grid extends React.Component { params = cachedQueryParams.params linkageParams = cachedQueryParams.linkageParams globalParams = cachedQueryParams.globalParams - const drillHistory = cachedQueryParams.drillHistory - if (drillHistory && drillHistory.length) { - drillStatus = drillHistory[drillHistory.length - 1] - } } let groups = cols.concat(rows).filter((g) => g !== '指标名称') @@ -491,6 +485,8 @@ export class Grid extends React.Component { func: t.agg }))) } + // console.log(!!(drillStatus && drillStatus.groups), groups) + // console.log(!!(drillStatus && drillStatus.filter), filters.map((i) => i.config.sql)) callback( renderType, itemId, @@ -897,7 +893,7 @@ export class Grid extends React.Component { const { params } = this.props const { pid, portalId, portalName, dashboardId } = params const editSign = [pid, portalId, portalName, dashboardId, itemId].join(DEFAULT_SPLITER) - localStorage.setItem('editWidgetFromDashboard', editSign) + sessionStorage.setItem('editWidgetFromDashboard', editSign) this.props.router.push(`/project/${pid}/widget/${widgetId}`) } diff --git a/webapp/app/containers/Dashboard/components/DashboardItem.tsx b/webapp/app/containers/Dashboard/components/DashboardItem.tsx index 9a906191f..699639500 100644 --- a/webapp/app/containers/Dashboard/components/DashboardItem.tsx +++ b/webapp/app/containers/Dashboard/components/DashboardItem.tsx @@ -146,6 +146,7 @@ export class DashboardItem extends React.PureComponent - + ) const gridItemClass = classnames({ diff --git a/webapp/app/containers/Dashboard/components/fullScreenPanel/fullScreenPanel.less b/webapp/app/containers/Dashboard/components/fullScreenPanel/fullScreenPanel.less index 355b56f01..334fe2b51 100644 --- a/webapp/app/containers/Dashboard/components/fullScreenPanel/fullScreenPanel.less +++ b/webapp/app/containers/Dashboard/components/fullScreenPanel/fullScreenPanel.less @@ -103,6 +103,7 @@ } } .chartWrapper{ + display: flex; margin-top: 6%; margin-left: 15%; width: 70%; diff --git a/webapp/app/containers/Dashboard/index.tsx b/webapp/app/containers/Dashboard/index.tsx index 064a577a3..3c8aeccc3 100644 --- a/webapp/app/containers/Dashboard/index.tsx +++ b/webapp/app/containers/Dashboard/index.tsx @@ -674,7 +674,7 @@ export class Dashboard extends React.Component p.name === params.portalName).description + portalDec = portals.find((p) => p.id === Number(params.portalId)).description } return (

diff --git a/webapp/app/containers/Display/Display.less b/webapp/app/containers/Display/Display.less index 8ea4595ff..e0f27e5f0 100644 --- a/webapp/app/containers/Display/Display.less +++ b/webapp/app/containers/Display/Display.less @@ -320,7 +320,31 @@ height: 100%; display: block; background: rgba(0,192,222,.2); + z-index: 999990; + } + + .tools { + display: none; + position: absolute; + right: 8px; z-index: 999998; + + i { + color: #fff; + font-size: 16px; + line-height: 40px; + display: inline-block; + cursor: pointer; + transition: transform 200ms ease; + + &:hover { + transform: scale(1.1, 1.1); + } + } + } + + &:hover .tools { + display: inline-block; } } @@ -333,11 +357,7 @@ height: 100%; display: block; background: rgba(0,192,222,.3); - z-index: 999998; - border: 2px solid @border-color-base; - } - - &:hover { + z-index: 999990; border: 2px solid @border-color-base; } @@ -345,6 +365,11 @@ background-color: @light-bg; } + & video { + flex: 1; + z-index: 999991; + } + & > span:last-child { z-index: 999999; } diff --git a/webapp/app/containers/Display/Editor.tsx b/webapp/app/containers/Display/Editor.tsx index 93c5fa628..bd3b2c7eb 100644 --- a/webapp/app/containers/Display/Editor.tsx +++ b/webapp/app/containers/Display/Editor.tsx @@ -97,7 +97,7 @@ import { loadBizdataSchema } from '../Bizlogic/actions' import { makeSelectWidgets } from '../Widget/selectors' import { makeSelectBizlogics } from '../Bizlogic/selectors' -import { GRID_ITEM_MARGIN, DEFAULT_BASELINE_COLOR } from '../../globalConstants' +import { GRID_ITEM_MARGIN, DEFAULT_BASELINE_COLOR, DEFAULT_SPLITER } from '../../globalConstants' // import { LayerContextMenu } from './components/LayerContextMenu' import { ISlideParams, ISlide } from './' @@ -194,6 +194,12 @@ interface IEditorStates { editorPadding: string scale: number sliderValue: number + settingInfo: { + key: string + id: number + setting: any + param: ILayerParams | Partial + } } export class Editor extends React.Component { @@ -207,7 +213,13 @@ export class Editor extends React.Component { editorHeight: 0, editorPadding: '', scale: 1, - sliderValue: 20 + sliderValue: 20, + settingInfo: { + key: '', + id: 0, + setting: null, + param: null + } } this.refHandlers = { @@ -244,24 +256,56 @@ export class Editor extends React.Component { public componentWillUnmount () { window.removeEventListener('resize', this.containerResize, false) + this.props.onClearLayersSelection() } public componentWillReceiveProps (nextProps: IEditorProps) { const { currentSlide, currentLayers } = nextProps + + let { slideParams, currentLocalLayers } = this.state + let init = false if (currentSlide !== this.props.currentSlide) { - const { slideParams } = JSON.parse(currentSlide.config) - this.setState({ - slideParams - }, () => { - this.doScale(1) - }) + slideParams = JSON.parse(currentSlide.config).slideParams + init = true } if (currentLayers !== this.props.currentLayers) { - const currentLocalLayers = fromJS(currentLayers).toJS() - this.setState({ - currentLocalLayers - }) + currentLocalLayers = fromJS(currentLayers).toJS() + } + const settingInfo = this.getSettingInfo(nextProps, slideParams, currentLocalLayers) + this.setState({ + slideParams, + currentLocalLayers, + settingInfo + }, () => { + if (init) { + this.doScale(1) + } + }) + } + + private getSettingInfo = (nextProps: IEditorProps, slideParams, currentLocalLayers) => { + const { currentSlide, currentSelectedLayers } = nextProps + + let settingInfo = this.state.settingInfo + if (currentSelectedLayers.length === 1) { + const selectedLayer = currentLocalLayers.find((layer) => layer.id === currentSelectedLayers[0].id) + const type = selectedLayer.subType || selectedLayer.type + const param = JSON.parse(selectedLayer['params']) + settingInfo = { + key: `layer_${selectedLayer.id}`, + id: selectedLayer.id, + setting: slideSettings[type], + param + } + } else if (currentSlide) { + settingInfo = { + key: 'slide', + id: currentSlide.id, + setting: slideSettings[GraphTypes.Slide], + param: slideParams + } } + return settingInfo } private containerResize = () => { @@ -511,7 +555,7 @@ export class Editor extends React.Component { } private formItemChange = (field, val) => { - const { slideParams } = this.state + const { slideParams, currentLocalLayers } = this.state const { currentDisplay, @@ -521,52 +565,44 @@ export class Editor extends React.Component { if (currentSelectedLayers.length === 1) { const selectedLayer = currentSelectedLayers[0] - const layerParams = { + const newParams = JSON.stringify({ ...JSON.parse(selectedLayer['params']), [field]: val - } - this.onEditLayers([{ - ...selectedLayer, - params: JSON.stringify(layerParams) - }]) + }) + this.setState({ + currentLocalLayers: currentLocalLayers.map((layer) => ( + layer.id !== selectedLayer.id ? layer + : { + ...layer, + params: newParams + } + )) + }, () => { + this.onEditLayers([{ + ...selectedLayer, + params: newParams + }]) + }) } else { const newSlideParams = { ...slideParams, [field]: val } - const newConfig = { - ...JSON.parse(currentSlide.config), - slideParams: newSlideParams - } - onEditCurrentSlide(currentDisplay.id, { - ...currentSlide, - config: JSON.stringify(newConfig) + this.setState({ + slideParams: { ...newSlideParams } + }, () => { + const newConfig = { + ...JSON.parse(currentSlide.config), + slideParams: newSlideParams + } + onEditCurrentSlide(currentDisplay.id, { + ...currentSlide, + config: JSON.stringify(newConfig) + }) }) } } - private getSettingInfo = () => { - const { currentSlide, currentSelectedLayers } = this.props - const { slideParams } = this.state - - if (currentSelectedLayers.length === 1) { - const selectedLayer = currentSelectedLayers[0] - const type = selectedLayer.subType || selectedLayer.type - return { - key: `layer_${selectedLayer.id}`, - id: selectedLayer.id, - setting: slideSettings[type], - param: JSON.parse(selectedLayer['params']) - } - } - return { - key: 'slide', - id: currentSlide.id, - setting: slideSettings[GraphTypes.Slide], - param: slideParams - } - } - private deleteLayers = () => { const { currentDisplay, currentSlide, currentLayersOperationInfo } = this.props const ids = Object.keys(currentLayersOperationInfo).filter((id) => currentLayersOperationInfo[id].selected) @@ -669,16 +705,16 @@ export class Editor extends React.Component { const { slideParams } = this.state switch (key) { case Keys.Up: - this.moveSelectedLayersPosition({ positionXD: 0, positionYD: - GRID_ITEM_MARGIN }) + this.moveSelectedLayersPosition({ positionXD: 0, positionYD: -1 }) break case Keys.Down: - this.moveSelectedLayersPosition({ positionXD: 0, positionYD: GRID_ITEM_MARGIN }) + this.moveSelectedLayersPosition({ positionXD: 0, positionYD: 1 }) break case Keys.Left: - this.moveSelectedLayersPosition({ positionXD: - GRID_ITEM_MARGIN, positionYD: 0 }) + this.moveSelectedLayersPosition({ positionXD: -1, positionYD: 0 }) break case Keys.Right: - this.moveSelectedLayersPosition({ positionXD: GRID_ITEM_MARGIN, positionYD: 0 }) + this.moveSelectedLayersPosition({ positionXD: 1, positionYD: 0 }) break case Keys.Delete: this.deleteLayers() @@ -708,8 +744,8 @@ export class Editor extends React.Component { const layers = currentSelectedLayers.map((layer) => { const layerParams: ILayerParams = JSON.parse(layer.params) const { positionX, positionY, width, height } = layerParams - let newPositionX = positionXD === 0 ? positionX : (positionX - positionX % GRID_ITEM_MARGIN + positionXD) - let newPositionY = positionYD === 0 ? positionY : (positionY - positionY % GRID_ITEM_MARGIN + positionYD) + let newPositionX = positionXD === 0 ? positionX : (positionX + positionXD) + let newPositionY = positionYD === 0 ? positionY : (positionY + positionYD) if (newPositionX < 0) { newPositionX = 0 } @@ -773,6 +809,14 @@ export class Editor extends React.Component { return domBaselines } + private toWorkbench = (_, widgetId) => { + const { params } = this.props + const { pid, displayId } = params + const editSign = [pid, displayId].join(DEFAULT_SPLITER) + sessionStorage.setItem('editWidgetFromDisplay', editSign) + this.props.router.push(`/project/${pid}/widget/${widgetId}`) + } + public render () { const { params, @@ -795,7 +839,8 @@ export class Editor extends React.Component { editorHeight, editorPadding, scale, - sliderValue + sliderValue, + settingInfo } = this.state if (!currentDisplay) { return null } @@ -836,13 +881,13 @@ export class Editor extends React.Component { onResizeLayer={this.resizeLayer} onResizeLayerStop={this.resizeLayerStop} onDragLayerStop={this.dragLayerStop} + onEditWidget={this.toWorkbench} /> // ) }) const baselines = this.getEditorBaselines() - const settingInfo = this.getSettingInfo() let settingContent = null if (currentSelectedLayers.length > 1) { @@ -853,7 +898,7 @@ export class Editor extends React.Component { onCollapseChange={this.collapseChange} /> ) - } else { + } else if (settingInfo.id) { settingContent = ( { width, height, backgroundColor, - opacity, backgroundImage } = slideParams @@ -276,8 +275,8 @@ export class Preview extends React.Component { } if (backgroundColor) { - const rgb = [...backgroundColor, (opacity / 100)].join() - slideStyle.backgroundColor = `rgb(${rgb})` + const rgb = backgroundColor.join() + slideStyle.backgroundColor = `rgba(${rgb})` } if (backgroundImage) { slideStyle.backgroundImage = `url("${backgroundImage}")` @@ -302,7 +301,7 @@ export class Preview extends React.Component { const view = widget && bizlogics.find((b) => b.id === widget.viewId) const layerId = layer.id - const { polling, frequency } = layer.params + const { polling, frequency } = JSON.parse(layer.params) const { datasource, loading, interactId, rendered, renderType } = currentLayersInfo[layerId] return ( diff --git a/webapp/app/containers/Display/components/DisplayContainer.tsx b/webapp/app/containers/Display/components/DisplayContainer.tsx index 259e2ce4a..f374609b2 100644 --- a/webapp/app/containers/Display/components/DisplayContainer.tsx +++ b/webapp/app/containers/Display/components/DisplayContainer.tsx @@ -20,7 +20,7 @@ import * as React from 'react' import * as html2canvas from 'html2canvas' -import { getBase64 } from 'utils/util' +import { captureVideosWithImages } from './util' const styles = require('../Display.less') export enum Keys { @@ -76,7 +76,8 @@ export class DisplayContainer extends React.PureComponent { const { onCoverCutCreated, scale } = this.props this.content.style.transform = 'scale(1)' - html2canvas(this.content).then((canvas) => { + // captureVideosWithImages() + html2canvas(this.content, { useCORS: true }).then((canvas) => { this.content.style.transform = `scale(${scale})` canvas.toBlob((blob) => { onCoverCutCreated(blob) @@ -94,8 +95,8 @@ export class DisplayContainer extends React.PureComponent 标签 + + 视频 + + + + 时间器 + + ) diff --git a/webapp/app/containers/Display/components/DisplaySidebar.tsx b/webapp/app/containers/Display/components/DisplaySidebar.tsx index 6b635f577..847a832e6 100644 --- a/webapp/app/containers/Display/components/DisplaySidebar.tsx +++ b/webapp/app/containers/Display/components/DisplaySidebar.tsx @@ -15,6 +15,7 @@ export function DisplaySidebar (props: IDisplaySidebarProps) { let settingContent props.children.forEach(((c) => { + if (!c) { return } if (c.type === LayerList) { layerList = c } else { diff --git a/webapp/app/containers/Display/components/LayerItem.tsx b/webapp/app/containers/Display/components/LayerItem.tsx index 26be12f58..e42e955d8 100644 --- a/webapp/app/containers/Display/components/LayerItem.tsx +++ b/webapp/app/containers/Display/components/LayerItem.tsx @@ -1,9 +1,11 @@ import * as React from 'react' import { findDOMNode } from 'react-dom' import * as classnames from 'classnames' +import moment from 'moment' const Tooltip = require('antd/lib/tooltip') import Draggable from 'libs/react-draggable' +import Video from 'components/Video' // @TODO contentMenu // const Dropdown = require('antd/lib/dropdown') @@ -19,6 +21,7 @@ import { IWidgetProps, RenderType } from '../../Widget/components/Widget' import { IModel } from '../../Widget/components/Workbench/index' import Widget from '../../Widget/components/Widget/WidgetInViz' +const Icon = require('antd/lib/icon') const Resizable = require('libs/react-resizable').Resizable const styles = require('../Display.less') @@ -49,6 +52,7 @@ interface ILayerItemProps { onDragLayerStop?: (itemId: number, deltaPosition: IDeltaPosition) => void onResizeLayer?: (itemId: number, deltaSize: IDeltaSize) => void onResizeLayerStop?: (itemId: number, deltaSize: IDeltaSize) => void + onEditWidget?: (itemId: number, widgetId: number) => void } interface ILayerItemStates { @@ -57,6 +61,7 @@ interface ILayerItemStates { mousePos: number[] widgetProps: IWidgetProps model: IModel + currentTime: string } export class LayerItem extends React.PureComponent { @@ -71,7 +76,8 @@ export class LayerItem extends React.PureComponent { + private dragOnStop = (e, data: IDeltaPosition) => { e.stopPropagation() const { itemId, onDragLayerStop } = this.props + const { mousePos } = this.state + if (mousePos[0] === e.pageX && mousePos[1] === e.pageY) { + return + } console.log('drag stops') onDragLayerStop(itemId, data) } @@ -207,7 +226,7 @@ export class LayerItem extends React.PureComponent { + private onClickLayer = (e: React.MouseEvent) => { e.stopPropagation() if (this.props.pure) { return } const mousePos = [e.pageX, e.pageY] @@ -221,11 +240,16 @@ export class LayerItem extends React.PureComponent { + const { itemId, widget, onEditWidget } = this.props + onEditWidget(itemId, widget.id) + } + private renderLayer = (layer) => { switch (layer.type) { case GraphTypes.Secondary: @@ -264,6 +288,7 @@ export class LayerItem extends React.PureComponent + {pure ? null : ( +
+ + + +
+ )} {this.wrapLayerTooltip( () @@ -290,19 +322,27 @@ export class LayerItem extends React.PureComponent -1 ? 'bold' : 'normal' - layerStyle.fontStyle = textStyle.indexOf('italic') > -1 ? 'italic' : 'normal' - layerStyle.textDecoration = textStyle.indexOf('underline') > -1 ? 'underline' : 'none' + labelStyle.fontStyle = textStyle.indexOf('italic') > -1 ? 'italic' : 'normal' + labelStyle.textDecoration = textStyle.indexOf('underline') > -1 ? 'underline' : 'none' } return (
{ + const { layerParams } = this.state + const { src, controlSetting, start, end } = layerParams + const { pure, selected } = this.props + + const layerClass = classnames({ + [styles.layer]: true, + [styles.view]: !pure, + [styles.selected]: selected + }) + + const layerStyle = this.getLayerStyle(layer, layerParams) + + const setting = controlSetting.reduce((acc, key) => ({ + ...acc, + [key]: true + }), {}) + + return ( +
this.refLayer = f} + className={layerClass} + style={layerStyle} + onClick={this.onClickLayer} + > + {this.wrapLayerTooltip( +
+ ) + } + + + private timer = null + private renderTimerLayer = (layer) => { + const { layerParams, currentTime } = this.state + const { pure, scale, selected } = this.props + + const layerClass = classnames({ + [styles.layer]: true, + [styles.view]: !pure, + [styles.selected]: selected + }) + const layerStyle = this.getLayerStyle(layer, layerParams) + const { + fontWeight, + fontFamily, + fontColor, + fontSize, + textAlign, + textStyle, + lineHeight, + textIndent, + paddingTop, + paddingBottom, + paddingLeft, + paddingRight, + + timeFormat, + timeDuration + } = layerParams + + const exactScaleWidth = pure ? scale[0] : 1 + const exactScaleHeight = pure ? scale[1] : 1 + const labelStyle: React.CSSProperties = { + wordBreak: 'break-all', + overflow: 'hidden', + fontWeight, + fontFamily, + color: `rgba(${fontColor.join()})`, + fontSize: `${fontSize * Math.min(exactScaleHeight, exactScaleWidth)}px`, + textAlign, + lineHeight: `${lineHeight * exactScaleHeight}px`, + textIndent: `${textIndent * exactScaleWidth}px`, + paddingTop: `${paddingTop * exactScaleHeight}px`, + paddingRight: `${paddingRight * exactScaleWidth}px`, + paddingBottom: `${paddingBottom * exactScaleHeight}px`, + paddingLeft: `${paddingLeft * exactScaleWidth}px` + } + if (textStyle) { + labelStyle.fontStyle = textStyle.indexOf('italic') > -1 ? 'italic' : 'normal' + labelStyle.textDecoration = textStyle.indexOf('underline') > -1 ? 'underline' : 'none' + } + if (this.timer) { clearInterval(this.timer) } + this.timer = setInterval(() => { + this.setState({ + currentTime: moment().format(timeFormat || 'YYYY-MM-dd HH:mm:ss') + }) + }, timeDuration) + return ( +
this.refLayer = f} + className={layerClass} + style={layerStyle} + onClick={this.onClickLayer} + > + {this.wrapLayerTooltip( +

+ {currentTime} +

+ )} +
+ ) + } + private wrapLayerTooltip = (content) => { const { resizing, dragging } = this.props if (!resizing && !dragging) { return content } @@ -502,11 +658,11 @@ export interface ILayerParams { borderWidth: number frequency: number height: number - opacity: number polling: 'true' | 'false' positionX: number positionY: number width: number + fontWeight: React.CSSProperties['fontWeight'] fontFamily: string fontColor: [number, number, number] fontSize: number @@ -519,6 +675,14 @@ export interface ILayerParams { paddingLeft: number paddingRight: number contentText: string + + src: string + controlSetting: string[] + start?: number + end?: number + + timeFormat: string + timeDuration: number } export interface IDeltaPosition { diff --git a/webapp/app/containers/Display/components/LayerList.tsx b/webapp/app/containers/Display/components/LayerList.tsx index b512f1143..87fa543b1 100644 --- a/webapp/app/containers/Display/components/LayerList.tsx +++ b/webapp/app/containers/Display/components/LayerList.tsx @@ -151,11 +151,11 @@ export class LayerList extends React.Component (e: React.MouseEvent) => { - const { ctrlKey, metaKey } = e + e.stopPropagation() + const { altKey, metaKey } = e const { layersStatus, onSelectLayer } = this.props - const exclusive = !ctrlKey && !metaKey + const exclusive = !altKey && !metaKey onSelectLayer({ id: layerId, selected: !layersStatus[layerId].selected, exclusive}) - e.stopPropagation() } private getLayersByIndexDesc = (layers: any[]) => { diff --git a/webapp/app/containers/Display/components/SettingForm.tsx b/webapp/app/containers/Display/components/SettingForm.tsx index 1945e6e04..6924f37e7 100644 --- a/webapp/app/containers/Display/components/SettingForm.tsx +++ b/webapp/app/containers/Display/components/SettingForm.tsx @@ -21,6 +21,7 @@ import * as React from 'react' import { connect } from 'react-redux' import { FormComponentProps } from 'antd/lib/form/Form' +import * as debounce from 'lodash/debounce' import api from 'utils/api' import { getBase64 } from 'utils/util' @@ -61,32 +62,49 @@ interface ISettingFormStates { export class SettingForm extends React.PureComponent { + private debounceFormItemChange = null + constructor (props: ISettingFormProps & FormComponentProps) { super(props) this.state = { loading: {}, collapse: false } + this.debounceFormItemChange = debounce(this.props.onFormItemChange, 1000) } - public componentDidMount () { - const { - form, - settingParams - } = this.props - form.setFieldsValue({...settingParams}) + public shouldComponentUpdate (nextProps: ISettingFormProps, nextState: ISettingFormStates) { + const { settingInfo, settingParams } = nextProps + const { collapse } = nextState + const needUpdate = settingInfo !== this.props.settingInfo + || !(this.compareSettingParams(this.props.settingParams, settingParams) && this.compareSettingParams(this.props.settingParams, this.props.form.getFieldsValue())) + || collapse !== this.state.collapse + return needUpdate } public componentWillReceiveProps (nextProps: ISettingFormProps) { const { - form, + onFormItemChange, settingParams - } = this.props - if (settingParams !== nextProps.settingParams) { - form.setFieldsValue({...nextProps.settingParams}) + } = nextProps + if (onFormItemChange !== this.props.onFormItemChange) { + this.debounceFormItemChange = debounce(onFormItemChange, 1000) + } + + if (!this.compareSettingParams(this.props.settingParams, settingParams)) { + this.props.form.setFieldsValue({...settingParams}) } } + private compareSettingParams = ( + params1: ISettingFormProps['settingParams'], + params2: ISettingFormProps['settingParams'] + ) => { + const isSame = Object.keys(params1) + .every((key) => JSON.stringify(params1[key]) === JSON.stringify(params2[key])) + return isSame + } + private getFormItemLayout = (item) => { const { labelCol, wrapperCol } = item return { @@ -133,6 +151,18 @@ export class SettingForm extends React.PureComponent (val) => { this.props.onFormItemChange(field, val) } + private formDebouncedItemChange = (field) => (val) => { + this.debounceFormItemChange(field, val) + } + private formInputItemChange = (field) => (e) => { + this.props.onFormItemChange(field, e.target.value) + } + private formRadioItemChange = (field) => (e) => { + this.props.onFormItemChange(field, e.target.value) + } + private formCheckboxItemChange = (field) => (e) => { + this.props.onFormItemChange(field, e.target.checked) + } private renderItem = (param) => { const { form, settingParams } = this.props @@ -143,22 +173,25 @@ export class SettingForm extends React.PureComponent { + const { settingParams, id } = this.props return ( {getFieldDecorator(item.name, { - initialValue: item.default || '' + initialValue: settingParams[item.name] || item.default || '' })(control)} @@ -234,13 +268,10 @@ export class SettingForm extends React.PureComponent { - const onFormInputItemChange = (e) => { - formItemChange(item.name)(e.target.value) - } return ( ) } @@ -257,11 +288,8 @@ export class SettingForm extends React.PureComponent { - const onFormRadioItemChange = (e) => { - formItemChange(item.name)(e.target.value) - } return ( - + { item.values.map((val) => ( {val.name} @@ -272,6 +300,12 @@ export class SettingForm extends React.PureComponent { + return ( + {item.title} + ) + } + + private renderCheckboxGroup = (item, formItemChange) => { return ( ) @@ -279,15 +313,14 @@ export class SettingForm extends React.PureComponent { const onChangeComplete = (e) => { - const { r, g, b } = e.rgb - formItemChange(item.name)([r, g, b]) + const { r, g, b, a } = e.rgb + formItemChange(item.name)([r, g, b, a]) } - const color = rgb ? `rgb(${rgb.join()}` : `rgb(0,0,0,1)` + const color = rgb ? `rgba(${rgb.join()})` : `rgba(0,0,0,1)` const colorPicker = ( ) diff --git a/webapp/app/containers/Display/components/util.ts b/webapp/app/containers/Display/components/util.ts index fb5183688..3647b3233 100644 --- a/webapp/app/containers/Display/components/util.ts +++ b/webapp/app/containers/Display/components/util.ts @@ -22,6 +22,8 @@ import * as slide from 'assets/json/slideSettings/slide.json' import * as chart from 'assets/json/slideSettings/chart.json' import * as rectangle from 'assets/json/slideSettings/rectangle.json' import * as label from 'assets/json/slideSettings/label.json' +import * as video from 'assets/json/slideSettings/video.json' +import * as timer from 'assets/json/slideSettings/timer.json' import { ILayer, ILayerParams, IBaseline, IDeltaPosition, IDeltaSize } from './LayerItem' import { ISlideParams, ISlide } from '../' @@ -30,7 +32,9 @@ import { DEFAULT_BASELINE_THICKNESS } from '../../../../app/globalConstants' export enum SecondaryGraphTypes { Rectangle = 20, - Label = 21 + Label = 21, + Video = 22, + Timer = 23 } export enum GraphTypes { @@ -48,7 +52,9 @@ export const slideSettings = { [GraphTypes.Slide]: slide, [GraphTypes.Chart]: chart, [SecondaryGraphTypes.Rectangle]: rectangle, - [SecondaryGraphTypes.Label]: label + [SecondaryGraphTypes.Label]: label, + [SecondaryGraphTypes.Video]: video, + [SecondaryGraphTypes.Timer]: timer } export function getDefaultSlideParams () { @@ -62,6 +68,30 @@ export function getDefaultSlideParams () { return defaultSlideParams } +export const captureVideosWithImages = () => { + const canvas = this.canvas || document.createElement('canvas') + const ctx = canvas.getContext('2d') + const videos = document.querySelectorAll('video') + Array.prototype.forEach.call(videos, (v) => { + if (!v.src) { return } + + try { + const { videoWidth, videoHeight } = v + canvas.width = videoWidth + canvas.height = videoHeight + ctx.fillRect(0, 0, videoWidth, videoHeight) + ctx.drawImage(v, 0, 0, videoWidth, videoHeight) + v.style.backgroundImage = `url(${canvas.toDataURL()})` + v.style.backgroundSize = 'cover' + console.log('v.style: ', v.style) + ctx.clearRect(0, 0, videoWidth, videoHeight) + } catch (e) { + console.log('e: ', e) + return + } + }) +} + const baselineDivisions: number[] = [ 4, 3, 2 ] export function computeEditorBaselines ( diff --git a/webapp/app/containers/Display/index.tsx b/webapp/app/containers/Display/index.tsx index 3b27791ef..bec0e54b0 100644 --- a/webapp/app/containers/Display/index.tsx +++ b/webapp/app/containers/Display/index.tsx @@ -310,7 +310,6 @@ export interface ISlideParams { backgroundImage: string height: number width: number - opacity: number scaleMode: string } diff --git a/webapp/app/containers/Organizations/component/MemberList.tsx b/webapp/app/containers/Organizations/component/MemberList.tsx index a3b7754eb..a43a0b362 100644 --- a/webapp/app/containers/Organizations/component/MemberList.tsx +++ b/webapp/app/containers/Organizations/component/MemberList.tsx @@ -193,11 +193,12 @@ export class MemberList extends React.PureComponent { - isHidden = m && m.user && m.user.role === 1 ? true : false - }) + isHidden = organizationMembers.every(isAllOwner) + } + function isAllOwner (m, index, array) { + return (m && m.user && m.user.role === 1) } const { inviteMemberList, currentOrganization } = this.props let CreateButton = void 0 diff --git a/webapp/app/containers/Schedule/ScheduleForm.tsx b/webapp/app/containers/Schedule/ScheduleForm.tsx index cc1534526..d28871ce0 100644 --- a/webapp/app/containers/Schedule/ScheduleForm.tsx +++ b/webapp/app/containers/Schedule/ScheduleForm.tsx @@ -269,7 +269,7 @@ export class ScheduleForm extends React.PureComponent { })( ) } diff --git a/webapp/app/containers/Schedule/index.tsx b/webapp/app/containers/Schedule/index.tsx index c22ee25c4..9db47406a 100644 --- a/webapp/app/containers/Schedule/index.tsx +++ b/webapp/app/containers/Schedule/index.tsx @@ -429,7 +429,7 @@ export class Schedule extends React.Component { } private onChangeRange = (value) => { - const rangeArr = ['month', 'hour', 'week', 'time'] + const rangeArr = ['minute', 'month', 'hour', 'week', 'time'] this.setState({ rangeTime: value }) diff --git a/webapp/app/containers/Source/SourceForm.tsx b/webapp/app/containers/Source/SourceForm.tsx index 346679b7a..5b7eca091 100644 --- a/webapp/app/containers/Source/SourceForm.tsx +++ b/webapp/app/containers/Source/SourceForm.tsx @@ -107,10 +107,10 @@ export class SourceForm extends React.PureComponent { {getFieldDecorator('user', { - rules: [{ - required: true, - message: 'User 不能为空' - }], + // rules: [{ + // required: true, + // message: 'User 不能为空' + // }], initialValue: '' })( @@ -120,10 +120,10 @@ export class SourceForm extends React.PureComponent { {getFieldDecorator('password', { - rules: [{ - required: true, - message: 'Password 不能为空' - }], + // rules: [{ + // required: true, + // message: 'Password 不能为空' + // }], initialValue: '' })( diff --git a/webapp/app/containers/Source/actions.ts b/webapp/app/containers/Source/actions.ts index b30969a5d..bcbcd2f2a 100644 --- a/webapp/app/containers/Source/actions.ts +++ b/webapp/app/containers/Source/actions.ts @@ -37,7 +37,9 @@ import { TEST_SOURCE_CONNECTION, TEST_SOURCE_CONNECTION_SUCCESS, TEST_SOURCE_CONNECTION_FAILURE, - GET_CSV_META_ID + GET_CSV_META_ID, + GET_CSV_META_ID_FAILURE, + GET_CSV_META_ID_SUCCESS } from './constants' export function loadSources (projectId) { @@ -183,7 +185,6 @@ export function testSourceConnectionFail () { } } -// tableName, sourceId, primaryKeys, indexKeys, replaceMode export function getCsvMetaId (csvMeta, resolve, reject) { return { type: GET_CSV_META_ID, @@ -194,3 +195,18 @@ export function getCsvMetaId (csvMeta, resolve, reject) { } } } + +export function csvMetaIdGeted () { + return { + type: GET_CSV_META_ID_SUCCESS + } +} + +export function getCsvMetaIdFail (error) { + return { + type: GET_CSV_META_ID_FAILURE, + payload: { + error + } + } +} diff --git a/webapp/app/containers/Source/constants.ts b/webapp/app/containers/Source/constants.ts index 07b872241..7a45b785f 100644 --- a/webapp/app/containers/Source/constants.ts +++ b/webapp/app/containers/Source/constants.ts @@ -37,3 +37,5 @@ export const TEST_SOURCE_CONNECTION = 'davinci/Source/TEST_SOURCE_CONNECTION' export const TEST_SOURCE_CONNECTION_SUCCESS = 'davinci/Source/TEST_SOURCE_CONNECTION_SUCCESS' export const TEST_SOURCE_CONNECTION_FAILURE = 'davinci/Source/TEST_SOURCE_CONNECTION_FAILURE' export const GET_CSV_META_ID = 'davinci/Source/GET_CSV_META_ID' +export const GET_CSV_META_ID_SUCCESS = 'davinci/Source/GET_CSV_META_ID_SUCCESS' +export const GET_CSV_META_ID_FAILURE = 'davinci/Source/GET_CSV_META_ID_FAILURE' diff --git a/webapp/app/containers/Source/index.tsx b/webapp/app/containers/Source/index.tsx index 19bba7943..5a3096952 100644 --- a/webapp/app/containers/Source/index.tsx +++ b/webapp/app/containers/Source/index.tsx @@ -332,14 +332,14 @@ export class Source extends React.PureComponent { const formValues = this.sourceForm.props.form.getFieldsValue() as ISourceObject const { user, password, url } = formValues - if (user && password && url) { + if (url) { this.props.onTestSourceConnection({ username: user, password, url }) } else { - message.error('用户名,密码和连接Url都不能为空') + message.error('连接 Url 都不能为空') } } diff --git a/webapp/app/containers/Source/reducer.ts b/webapp/app/containers/Source/reducer.ts index d58ff4173..f54f2c226 100644 --- a/webapp/app/containers/Source/reducer.ts +++ b/webapp/app/containers/Source/reducer.ts @@ -35,7 +35,10 @@ import { EDIT_SOURCE_FAILURE, TEST_SOURCE_CONNECTION, TEST_SOURCE_CONNECTION_SUCCESS, - TEST_SOURCE_CONNECTION_FAILURE + TEST_SOURCE_CONNECTION_FAILURE, + GET_CSV_META_ID, + GET_CSV_META_ID_SUCCESS, + GET_CSV_META_ID_FAILURE } from './constants' import { fromJS } from 'immutable' diff --git a/webapp/app/containers/Source/sagas.ts b/webapp/app/containers/Source/sagas.ts index 57cc16716..1a0e3136e 100644 --- a/webapp/app/containers/Source/sagas.ts +++ b/webapp/app/containers/Source/sagas.ts @@ -41,7 +41,9 @@ import { sourceDeleted, deleteSourceFail, sourceConnected, - testSourceConnectionFail + testSourceConnectionFail, + csvMetaIdGeted, + getCsvMetaIdFail } from './actions' import request from '../../utils/request' @@ -161,13 +163,11 @@ export function* getCsvMetaId (action) { tableName: table_name } }) - if (res && res.header && res.header.code === 200) { - resolve() - } else { - reject(res.header.msg) - } + yield put(csvMetaIdGeted()) + resolve() } catch (err) { - reject(err) + yield put(getCsvMetaIdFail(err)) + errorHandler(err) } } diff --git a/webapp/app/containers/Widget/components/Chart/Chart.less b/webapp/app/containers/Widget/components/Chart/Chart.less index a0ce9372c..484f645a9 100644 --- a/webapp/app/containers/Widget/components/Chart/Chart.less +++ b/webapp/app/containers/Widget/components/Chart/Chart.less @@ -1,3 +1,35 @@ +@import '../../../../assets/less/variable'; + .chartContainer { flex: 1; -} \ No newline at end of file +} + +.scorecard { + flex: 1; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + + .scorecardContainer { + max-width: 100%; + + .scorecardTitle { + padding: 8px 0 0; + display: block; + + .ellipsis; + + span { + display: inline-block; + line-height: 1; + white-space: pre; + } + } + } +} + +.iframePage { + flex: 1; + border: none; +} diff --git a/webapp/app/containers/Widget/components/Chart/Iframe.tsx b/webapp/app/containers/Widget/components/Chart/Iframe.tsx new file mode 100644 index 000000000..09eeb1d61 --- /dev/null +++ b/webapp/app/containers/Widget/components/Chart/Iframe.tsx @@ -0,0 +1,38 @@ +/* + * << + * Davinci + * == + * Copyright (C) 2016 - 2017 EDP + * == + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * >> + */ + +import * as React from 'react' +import { IChartProps } from './' + +const styles = require('./Chart.less') + +export class Iframe extends React.PureComponent { + + public render () { + const { chartStyles } = this.props + const { iframe } = chartStyles + const { src } = iframe + return ( +